Conversation
…-ref HEAD~1..HEAD --fix'
jloleysens
left a comment
There was a problem hiding this comment.
LGTM, great work @thompsongl
stephmilovic
left a comment
There was a problem hiding this comment.
Threat hunting explore changes lgtm
justinkambic
left a comment
There was a problem hiding this comment.
Uptime changes LGTM
| const [activeStep, setActiveStep] = useState<RuleStep>(RuleStep.defineRule); | ||
| const getNextStep = (step: RuleStep): RuleStep | undefined => | ||
| ruleStepsOrder[ruleStepsOrder.indexOf(step) + 1]; | ||
| // @ts-expect-error forwardRef |
There was a problem hiding this comment.
Is there anything we can do here to resolve this? I see other usages of useRef with different Eui* components that don't have this error, but seems EuiAccordion surfaces this? the other components (without error) are either a class or interface it looks like, so this is a result of EuiAccordion being exported as a const and so messes with type inference in useRef then?
There was a problem hiding this comment.
Yeah thanks, I meant to take another pass at this. I think we'll need to export the underlying class so that it's accessible here. That'll need to happen in a subsequent release, so I'll update the comment with an link to an EUI issue. We'll then resolve the @ts-expect-error in a future upgrade.
spong
left a comment
There was a problem hiding this comment.
One question around a new // @ts-expect-error forwardRef added, but other than Security Solution Rule changes LGTM 👍
fkanout
left a comment
There was a problem hiding this comment.
Actionable Observability changes LGTM.
yctercero
left a comment
There was a problem hiding this comment.
LGTM for security-solution-platform codeowner files.
💛 Build succeeded, but was flakyFailed CI StepsMetrics [docs]Async chunks
Canvas Sharable Runtime
Page load bundle
History
To update your PR or re-run it, just comment with: |

Summary
eui@58.0.0⏩eui@59.0.1Added
.render()calls to snapshot tests are intended to reduce the output of EUI components that use Emotion for styling. If you prefer the more verbose snapshot output in your plugin, we can remove the call.59.0.1Bug fixes
EuiTextandEuiTextColor(#5960)EuiCallOutfrom consuming all available vertical height withflex-grow(#5963)59.0.0cloneElementprop toEuiTextAlignandEuiTextColor(#5895)borderlogical properties to thelogicalCSSutility (#5895)euiTheme.font.familySerif(#5895)isInvalidanddisabledas top level props onEuiDatePickerRange(#5918)EuiDatePickerRangedelimiter to asortRighticon which is swapped foralertwhenisInvalid(#5918)isInvalidanddisabledvisual statesEuiSuperDatePicker(#5918)EuiSelectable/EuiSelectableTemplateSitewide'sonChangeprop (#5926)euiTheme.colors.lightestShadeto be slightly less blue andeuiTheme.colors.bodyto be slightly darker (#5939)euiBackgroundColor()to accept an optionalmethodproperty (#5939)Bug fixes
EuiDatePickerRangeandEuiSuperDatePicker(#5918)Fixed
EuiCollapsibleNavGroupTypeScript error wheretitledefinition was being overridden by an extendeddivelement (#5935)EuiGlobalToastList/EuiToasts disappearing immediately when given an Infinity timeout (#5954)Breaking changes
euiTheme.colors.subduedtoeuiTheme.colors.subduedText(#5895)CSS-in-JS conversions
EuiText,EuiTextAlign, andEuiTextColor, and removed their corresponding CSS modifier classes (#5895)EuiMarkdownFormat's text size scaling styles (#5895)$euiTextColors,euiScaleText(), and$euiTextConstrainedMaxWidthSass utilities (#5895)EuiExpressionto Emotion (#5941)58.1.1Bug fixes
EuiPopoverpadding by reverting removal ofEuiPanelpadding classes (#5927)EuiAccordionto show loading spinner instead of extra actions whenisLoading(#5896)58.1.0useEuiPaddingCSS()anduseEuiBackgroundColorCSS()to rendercssblocks so consuming components render the key name in the class (#5891)xsandxltoEuiPanel(#5891)Bug fixes
EuiSplitPanelcontained border radius by settingoverflow: hidden(#5891)EuiCallOutdescription top margin when only child (#5891)EuiEmptyPromptby settinggrow=falseon the nested panel (#5907)EuiInMemoryTable's loading state from shifting layout (#5914)EuiDataGrid's column sorting drag & drop handles (#5916)EuiMark's screen reader helpers causing scroll issues in Chrome (#5921)CSS-in-JS conversions
EuiAccordionto Emotion; Removed$paddingSizes(#5826)EuiPanelto Emotion (#5891)euiScreenReaderOnlyStyles()mixin toeuiScreenReaderOnly()(#5921)