Deprecations
EuiPageSideBarProps
to EuiPageSideBarProps_Deprecated
, to reduce usage/confusion with EuiPageSidebar
(#6468)Published by cee-chen almost 2 years ago
EuiRange
and EuiDualRange
designs where the levels
are now on top of the tracks (#6092)discuss
and dotInCircle
glyphs to EuiIcon
(#6434)article
glyph to EuiIcon
(#6437)EuiProvider
usage warnings to not rely on development mode. (#6451)Breaking changes
EuiDualRange
now explicitly requires both min
and max
via props types, to match EuiRange
(#6092)EuiRange
and EuiDualRange
's compressed
size no longer impacts track or level sizes, but continues to compress tick and input sizes. (#6092)euiCollapsibleNav*
euiColorPicker*
euiContextMenu*
euiControlBar*
euiDataGrid*
(except for z-indices and cell padding sizes)euiDatePicker*
euiSuperDatePicker*
euiDragAndDrop*
euiEuiEmptyPrompt*
euiFilePicker*
euiRange*
euiHeaderLinks*
euiKeyPad*
euiMarkdownEditor*
euiResizable*
euiSelectable*
euiSideNav*
euiStep*
euiSuggest*
euiTable*
(except for color variables)euiTooltip*
euiButtonFontWeight
, euiButtonDefaultTransparency
, and euiButtonMinWidth
useEuiTheme()
instead. (#6443)CSS-in-JS conversions
EuiRange
and EuiDualRange
to Emotion; Removed $euiRangeThumbRadius
(#6092)logicalStyles
utility that automatically converts all non-logical properties in a style
object to their corresponding logical properties (#6426)logicalShorthandCSS
utility that automatically converts margin
, padding
, and other 4-sided shorthands to their corresponding logical properties (#6429)logicalBorderRadiusCSS
utility that automatically converts border-radius
to corresponding logical properties (#6429)Published by cee-chen almost 2 years ago
EuiTourStep.footerAction
type to accept ReactNode[]
(#6384)euiTourStepIndicator
is always centered (#6384)filterInCircle
glyph to EuiIcon
(#6385)color
prop to EuiBeacon
(#6420)euiMaxBreakpoint
and euiMinBreakpoint
CSS-in-JS utilities for creating min/max-width media queries (#6431)Bug fixes
EuiCollapsibleNav
s and left-side EuiFlyout
s (#6422)EuiCard
where footer were not aligned to the bottom of the card (#6424)Published by chandlerprall almost 2 years ago
EuiSearchBar
now automatically wraps special characters not used by query syntax in quotes (#6356)alignment
prop to EuiBetaBadge
(#6361)EuiButton
now accepts minWidth={false}
(#6373)Bug fixes
EuiPageTemplate
not correctly passing the component
prop to the inner main content wrapper. (#6352)EuiSkipLink
now correctly calls onClick
even when fallbackDestination
is invalid (#6355)EuiModal
to not cause scroll-jumping issues on modal open (#6360)EuiPageSection
not correctly merging contentProps.css
(#6365)EuiTab
not defaulting to size m
(#6366).eui-yScrollWithShadows
and .eui-xScrollWithShadows
(#6374)EuiCard
where the inner content in vertical cards was not growing 100% in width (#6377)EuiSuperDatePicker
caused by EuiFlex
CSS gap change (#6380)EuiFlexGroup
s, where the parent EuiFlexGroup
is responsive but a child EuiFlexGroup
is not (#6381)CSS-in-JS conversions
EuiModal
to Emotion (#6321)Fixes
Published by chandlerprall almost 2 years ago
EuiDataGrid
's toolbar. This can be visually hidden via toolbarVisibility.showKeyboardShortcuts
, but will always remain accessible to keyboard and screen reader users. (#6036)EuiScreenReaderOnly
's showOnFocus
prop now also shows on focus within its children (#6036)onFocus
prop callback to EuiSuperDatePicker
(#6320)Bug fixes
EuiSelectable
to ensure the full options list is re-displayed when the search bar is controlled and cleared using searchProps.value
(#6317)xl
-sized EuiTabs
(#6336)EuiCard
not correctly merging css
on its child icon
s (#6341)EuiCheckableCard
not setting css
on the correct DOM node (#6341)EuiModal
s containing EuiBasicTable
s tall enough to scroll (#6343)to_initials
that truncates custom initials (#6346)EuiCard
where layout breaks when horizontal
and selectable
are both passed (#6348)Published by chandlerprall almost 2 years ago
hint
prop to the <EuiSearchBar />
. This prop lets the consumer render a hint below the search bar that will be displayed on focus. (#6319)hasDragDrop
prop to EuiPopover
. Use this prop if your popover contains EuiDragDropContext
. (#6329)Bug fixes
EuiButton
's cursor style when the button is disabled (#6323)EuiPageTemplate
not recognizing child EuiPageSidebar
s/EuiPageTemplate.Sidebar
s with css
props (#6324)EuiBetaBadge
to always respect its anchorProps
values, including when there is no tooltip content (#6326)EuiModal
to not cause scroll-jumping issues on modal open (#6327)EuiDataGrid
's columns & sorting toolbar popovers (#6329)EuiButton
not correctly passing textProps
for children inside fragments or i18n components (#6332)EuiButton
not correctly respecting minWidth={0}
(#6332)CSS-in-JS conversions
EuiTabs
to Emotion (#6311)Published by chandlerprall about 2 years ago
enabled
option to the <EuiInMemoryTable />
executeQueryOptions
prop. This option prevents the Query from being executed when controlled by the consumer. (#6284)Bug fixes
EuiOverlayMask
to set a [data-relative-to-header=above|below]
attribute to replace the --aboveHeader
and --belowHeader
classNames removed in its Emotion conversion (#6289)EuiHeader
CSS using removed EuiOverlayMask
class modifiers (#6293)EuiToolTip
not respecting reduced motion preferences (#6295)EuiTour
where passing any panelProps
would cause the beacon to disappear (#6298)Breaking changes
@emotion/css
is now a required peer dependency, alongside @emotion/react
(#6288)@emotion/cache
is no longer required peer dependency, although your project must still use it if setting custom cache/injection locations (#6288)CSS-in-JS conversions
Published by chandlerprall about 2 years ago
fullWidth
prop on EuiForm, which will be the default for all rows/controls within (#6229)onResizeStart
and onResizeEnd
callbacks to EuiResizableContainer
(#6236)EuiComboBox
with the isCaseSensitive
prop (#6268)EuiFlexItem
now supports grow={0}
(#6270)alignItems
prop to EuiFlexGrid
(#6281)filter
, filterExclude
, filterIgnore
, filterInclude
, indexTemporary
, infinity
, sortAscending
, and sortDescending
glyphs to EuiIcon
(#6282)Bug fixes
EuiTextProps
to show the color
type option inherit
as default (#6267)EuiFlexGroup
now correctly respects gutterSize
when responsive (#6270)EuiBreadcrumbs
's breadcrumbs
array not respecting truncate
overrides (#6280)Breaking changes
EuiFlexGrid
no longer supports columns={0}
. Use EuiFlexGroup
instead for normal flex display (#6270)EuiFlexGrid
now uses modern display: grid
CSS (#6270)EuiFlexGroup
, EuiFlexGrid
, and EuiFlexItem
now use modern gap
CSS instead of margins and negative margins (#6270)EuiFlexGroup
no longer applies responsive styles to column
or columnReverse
directions (#6270)CSS-in-JS conversions
EuiFlexGroup
, EuiFlexGrid
, and EuiFlexItem
to Emotion (#6270)Published by chandlerprall about 2 years ago
Note: this release is a backport containing changes originally made in 67.1.0
, 67.1.1
, and 67.1.2
Bug fixes
Published by chandlerprall about 2 years ago
Bug fixes
EuiDataGrid
's broken fullscreen mode when nested within an EuiAccordion
(#6235)EuiPageSection
not correctly merging contentProps.css
(#6239)EuiPageHeaderContent
not correctly merging passed className
s (#6239)EuiAccordion
not correctly merging buttonProps.css
and arrowProps.css
(#6239)EuiProgress
not correctly merging labelProps.css
(#6239)EuiImage
not correctly merging wrapperProps.css
(#6239)CSS-in-JS conversions
EuiFlyout
to Emotion; Removed $euiFlyoutBorder
and $euiFlyoutPaddingModifiers
(#6213)Published by chandlerprall about 2 years ago
EuiProvider
(#6216)EuiBadge
's disabled styling to match EuiButton
(#6224)custom_component
search filter type for the EuiSearchBar. This new type gives the consumer control to render the search filter dropdown. (#6226)Bug fixes
Query.toESQuery()
to generate bool queries instead of relying on match query logic, to work with non-text fields (#6220)EuiInMemoryTable
's internal state tracking to include changes of sorting.sort
values (#6228)EuiButton
where iconSize
was not being applied (#6230)CSS-in-JS conversions
EuiBadge
to Emotion (#6224)Published by chandlerprall about 2 years ago
EuiSuggest
to accept the isPreFiltered
prop (#5930)EuiOverlayMask
to use EuiPortal
(#6090)EuiToolTipPopover
to be a function component (#6104)EuiToolTipAnchor
and EuiToolTipArrow
components (#6104)component
prop to EuiPageSection
, allowing overriding of the default section
tag (#6192)Bug fixes
EuiProvider
cache is not configured. (#6202)className
and rest
props were not being passed to the EuiNotificationEvent
(#6208)componentProps
throwing type errors on the css
prop (#6211)Deprecations
@deprecated
flags to EuiPageContent_Deprecated
, EuiPageContentBody_Deprecated
, EuiPageContentHeader_Deprecated
, EuiPageContentHeaderSection_Deprecated
, EuiPageSideBar_Deprecated
and EuiPageTemplate_Deprecated
, which will provide helpful hints to IDEs that support jsdoc flags. Consumers will have until August 2023 to migrate from these deprecated components. (#6194)Breaking changes
onClick
prop from EuiOverlayMask
. Use a nested EuiFocusTrap
instead. (#6090)euiCallOutColor
Sass mixin (#6201)CSS-in-JS conversions
Published by chandlerprall about 2 years ago
gutterSize
prop to EuiDescriptionList
(#6175)tooltipText
as an optional prop on EuiListGroupItem
(#6186)Bug fixes
EuiHeaderSectionItem
to not render if empty (#6158)useEuiTheme
's return value, supporting React's shallow prop comparison optimizations (#6165)EuiPageSidebar
bug where inline styles were not correctly updating (#6191)Breaking changes
Published by chandlerprall about 2 years ago
Published by thompsongl about 2 years ago
65.0.0
anchorProps
to allow passing more props to the anchoring wrapper in EuiToolTip
and EuiBetaBadge
(#6110)hollow
style EuiBetaBadge
(#6110)selectable
EuiCard
s (#6110)ghost
colors to be colorMode = 'dark'
themed text
buttons (#6150)ButtonColor
and ButtonSize
types to prefixed versions EuiButtonColor
and EuiButtonSize
(#6150)Deprecations
ghost
color for EuiButton
, EuiButtonIcon
, EuiButtonEmpty
(#6150)Breaking changes
EuiButtonIconColor
and EuiButtonEmptyColor
types, use EuiButtonIconProps['color']
and EuiButtonEmptyProps['color']
instead (#6150)ghost
color from EuiButtonGroup
(#6150)CSS-in-JS conversions
euiHasBetaBadge()
Sass mixin (#6110)EuiCard
, EuiCheckableCard
to Emotion, removed $euiCheckableCardPadding
, $euiCardSpacing
, $euiCardBottomNodeHeight
, $euiCardSelectButtonBorders
, $euiCardSelectButtonBackgrounds
, and $euiCardPaddingModifiers
(#6110)EuiButton
to Emotion (#6150)EuiButtonIcon
, EuiButtonEmpty
, EuiButtonGroup
(#6150)Published by chandlerprall about 2 years ago
onPositionChange
callback prop to EuiPopover
for when the popover positon changes (#6087)isDisabled
prop to EuiAccordion
(#6095)css
prop to CommonProps
interface (#6118)useIsWithinMaxBreakpoint
and useIsWithinMinBreakpoint
service hooks (#6119)Bug fixes
steps
prop type for useEuiTour
to not require onFinish
(#6087)useCurrentEuiBreakpoint
, useIsWithinBreakpoints
, and euiBreakpoint
) to correctly handle custom theme breakpoint keys (#6111):first-child/:nth-child
console warnings for consumers not passing in a cache
to EuiProvider
(#6126)EuiScreenReaderLive
double announcements on VO when focusRegionOnTextChange
is not set (#6133)onBlur
and onFocus
handlers from EuiDatePickerRange
being incorrectly applied to wrapping element rather than the start/end control datepickers. (#6136)data-fixed-headers
property in some layout configurations using EuiPageTemplate
. (#6140)EuiAspectRatio
sometimes incorrectly inheriting its height from parent containers as opposed to from its aspect ratio (#6141)EuiAspectRatio
to allow custom style
s to be passed by consumers (#6141)eui.d.ts
containing @testing-library
type definitions (#6142)Breaking changes
getBreakpoint
. Use useCurrentEuiBreakpoint
instead (#6119)BREAKPOINTS
and BREAKPOINT_KEYS
. Use euiTheme.breakpoint
instead (#6119)isWithinBreakpoints
. Use useIsWithinBreakpoints
instead (#6119)isWithinMaxBreakpoint
. Use useIsWithinMaxBreakpoint
instead (#6119)isWithinMinBreakpoint
. Use useIsWithinMinBreakpoint
instead (#6119)EuiFlyout
now only accepts a named breakpoint size for its pushMinBreakpoint
prop (#6119)EuiCollapsibleNav
now only accepts a named breakpoint size for its dockedBreakpoint
prop (#6119)@emotion/cache
is now a required peer dependency, alongside @emotion/react
(#6126)CSS-in-JS conversions
EuiTour
to Emotion (#6087)