Skip to content

Commit a0ebb1d

Browse files
Upgrade EUI to v98.2.1 (#204482)
`v98.1.0-borealis.0`⏩`v98.2.1-borealis.2` _[Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_ --- # `@elastic/eui` ## [`v98.2.1`](https://github.com/elastic/eui/releases/v98.2.1) - Updated the EUI theme color values to use a full 6 char hex code format ([#8244](elastic/eui#8244)) ## [`v98.2.0`](https://github.com/elastic/eui/releases/v98.2.0) - Added two new icons: `contrast` and `contrastHigh` ([#8216](elastic/eui#8216)) - Updated `EuiDataGrid` content to have a transparent background. ([#8220](elastic/eui#8220)) **Accessibility** - When the tooltips components (`EuiTooltip`, `EuiIconTip`) are used inside components that handle the Escape key (like `EuiFlyout` or `EuiModal`), pressing the Escape key will now only close the tooltip and not the entire wrapping component. ([#8140](elastic/eui#8140)) - Improved the accessibility of `EuiCodeBlock`s by ([#8195](elastic/eui#8195)) - adding screen reader only labels - adding `role="dialog"` on in fullscreen mode - ensuring focus is returned on closing fullscreen mode # Borealis updates - [Visual Refresh] Update color token mappings ([#8211](elastic/eui#8211)) - [Visual Refresh] Introduce shared popover arrow styles to Borealis ([#8212](elastic/eui#8212)) - [Visual Refresh] Add forms.maxWidth token ([#8221](elastic/eui#8221)) - [Visual Refresh] Set darker shade for subdued text ([#8224](elastic/eui#8224)) - [Visual Refresh] Remove support for accentSecondary badges ([#8224](elastic/eui#8227)) - [Visual Refresh] Add severity vis colors ([#8247](elastic/eui#8247)) - [Visual Refresh] Fix transparent color variable definitions ([8249](elastic/eui#8249)) - [Visual Refresh] Update EuiToken colors ([8250](elastic/eui#8250)) --------- Co-authored-by: kibanamachine <[email protected]>
1 parent 37df206 commit a0ebb1d

File tree

17 files changed

+92
-58
lines changed

17 files changed

+92
-58
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117
"@elastic/ecs": "^8.11.1",
118118
"@elastic/elasticsearch": "^8.16.0",
119119
"@elastic/ems-client": "8.5.3",
120-
"@elastic/eui": "98.1.0-borealis.0",
121-
"@elastic/eui-theme-borealis": "0.0.4",
120+
"@elastic/eui": "98.2.1-borealis.2",
121+
"@elastic/eui-theme-borealis": "0.0.7",
122122
"@elastic/filesaver": "1.1.2",
123123
"@elastic/node-crypto": "^1.2.3",
124124
"@elastic/numeral": "^2.5.1",

packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,5 +1828,13 @@ export const getEuiContextMapping = (): EuiTokensObject => {
18281828
defaultMessage: 'Selection',
18291829
}
18301830
),
1831+
'euiCodeBlockFullScreen.ariaLabel': i18n.translate('core.euiCodeBlockFullScreen.ariaLabel', {
1832+
defaultMessage: 'Expanded code block',
1833+
}),
1834+
'euiCodeBlock.label': ({ language }: EuiValues) =>
1835+
i18n.translate('core.euiCodeBlock.label', {
1836+
defaultMessage: '{language} code block:',
1837+
values: { language },
1838+
}),
18311839
};
18321840
};

packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/kbn-unsaved-changes-badge/src/utils/__snapshots__/get_top_nav_unsaved_changes_badge.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/shared-ux/button_toolbar/src/popover/popover.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('<ToolbarPopover />', () => {
3737
const button = component.find('EuiButton');
3838
expect(button.prop('color')).toBe('text');
3939
expect(button.prop('css')).toMatchObject({
40-
backgroundColor: '#FFF',
40+
backgroundColor: '#FFFFFF',
4141
border: '1px solid #D3DAE6',
4242
color: '#343741',
4343
});

src/dev/license_checker/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export const LICENSE_OVERRIDES = {
8787
'[email protected]': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
8888
'@mapbox/[email protected]': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
8989
'@elastic/[email protected]': ['Elastic License 2.0'],
90-
'@elastic/eui@98.1.0-borealis.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
91-
'@elastic/[email protected].4': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
90+
'@elastic/eui@98.2.1-borealis.2': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
91+
'@elastic/[email protected].7': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
9292
'[email protected]': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
9393
'[email protected]': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
9494
'@bufbuild/[email protected]': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)

x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap

Lines changed: 45 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)