Skip to content

v123.4.0

Choose a tag to compare

@tsullivan tsullivan released this 09 Nov 21:19
· 4 commits to main since this release
334c2a7

@elastic/eslint-plugin-eui v4.0.0

  • Updated @elastic/eui/no-deprecated-icon-aliases to no longer report removed icon names. @elastic/eui/no-removed-icons reports them instead (#10269)
  • Updated @elastic/eui/no-deprecated-icon-aliases and @elastic/eui/no-removed-icons to check both branches of ? :, operands of &&, || and ??, iconType keys in object literals, and *IconType props on any component (#10269)

Breaking changes

  • Added new @elastic/eui/no-removed-icons rule that reports icon names removed from EUI, which render as a broken image, and autofixes them to their replacements. It's an error in the recommended config, so removed names that no-deprecated-icon-aliases reported as warnings now fail lint (#10269)

@elastic/eui v123.4.0

  • Added the productNightshift icon. (#10256)
  • Added showMaximizeButton and onMaximizeChange to EuiFlyout's flyoutMenuProps, for a menu button that maximizes the flyout to the full width of its container (#10242)
  • Added setFlyoutMaximized to the flyout manager store returned by getFlyoutManagerStore, to maximize or restore a main flyout that sets flyoutMenuProps.showMaximizeButton (#10242)
  • Moved colorPalette and the euiPalette* functions to @elastic/eui-theme-common, making them individually importable without loading @elastic/eui. They are re-exported from @elastic/eui. @elastic/eui-theme-borealis now initializes the global vis color store on import, and EuiVisColorStore.getInstance() throws a descriptive error when accessed before any theme package initialized it. (#10247)

Bug fixes

  • Fixed EuiAvatar cutting custom initials and single-word name initials in the middle of a character. Initials are now counted and truncated by grapheme, so two emoji with skin tone modifiers, or a letter followed by an emoji, render correctly (#10272)
  • Fixed underline spacing for EuiLink and links within EuiText at small font sizes (#10248)
  • Fixed resizable main flyouts in the flyout system switching to stacked layout mode when a child flyout opens or the container narrows after the main flyout was resized wider. The main flyout now shrinks to the largest width that fits beside the child, and returns to the width the user dragged it to once there is room again. (#10250)
  • Fixed EuiFlyout with type="push" not returning focus to the trigger element when it closes (#10235)

Accessibility

  • Fixed EuiRange announcing its value twice to screen readers when showValue is set (#10271)

Dependency updates

  • Updated lodash to v4.18.1 (#10265)

@elastic/eui-theme-borealis v8.2.0

  • Initialize the global vis color store with its default vis colors on import, so the palette functions in @elastic/eui-theme-common work without loading @elastic/eui (#10247)

@elastic/eui-theme-common v10.2.0

  • Added colorPalette and the euiPalette* functions (moved from @elastic/eui), making the color palettes importable without loading @elastic/eui (#10247)
  • Updated EuiVisColorStore.getInstance() to be callable without arguments once initialized; it now throws a descriptive error when accessed before any theme package initialized it (#10247)

Dependency updates

  • Updated lodash to v4.18.1 (#10265)

@elastic/eui-test-helpers v2.3.0

  • Added EuiTabsObject with tabs, getTabs(), tab(label), select(label) and getSelected(), covering EuiTabs and EuiTabbedContent (#10249)
  • Added EuiMarkdownEditorObject with textArea, preview, setValue(text), getValue(), isPreviewing() and togglePreview() (#10260)
  • Added EuiCardObject with selectButton, getTitle(), getDescription(), click(), isSelected() and toggleSelected() (#10266)