Upgrade EUI to v97.3.0 (#198087)

`v97.2.0``v97.3.0`

_[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)_

---

## [`v97.3.0`](https://github.com/elastic/eui/releases/v97.3.0)

- `EuiDataGrid` now supports a new
`toolbarVisibility.showDisplaySelector.customRender` function that
allows completely customizing the rendering of the display selector
popover ([#8080](https://github.com/elastic/eui/pull/8080))
- `EuiDataGrid`'s row height/lines per row setting has been streamlined
in both UI and UX ([#8080](https://github.com/elastic/eui/pull/8080))
- `EuiDataGrid` now accepts consumer-passed display setting updates even
after users have changed their display preferences via UI
([#8080](https://github.com/elastic/eui/pull/8080))
- Updated `EuiDataGrid` to vertically center all
`toolbarVisibility.additionalControls` nodes
([#8085](https://github.com/elastic/eui/pull/8085))
- Updated `EuiDataGrid` with a beta
`rowHeightsOptions.autoBelowLineCount` feature flag
([#8096](https://github.com/elastic/eui/pull/8096))
- Updated `EuiContextMenuPanel` to allow disabling initial focus via
`initialFocusedItemIndex={-1}`
([#8101](https://github.com/elastic/eui/pull/8101))

**Bug fixes**

- Fixed `EuiComment`'s typing to correctly reflect all accepted props
([#8089](https://github.com/elastic/eui/pull/8089))
- Fixed `EuiSelectableTemplateSitewide`s within dark-themed `EuiHeader`s
missing input borders
([#8100](https://github.com/elastic/eui/pull/8100))
This commit is contained in:
Cee Chen 2024-10-30 19:41:45 -07:00 committed by GitHub
parent 88225fff07
commit 4e7d43a031
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 19 additions and 35 deletions

View file

@ -118,7 +118,7 @@
"@elastic/ecs": "^8.11.1",
"@elastic/elasticsearch": "^8.15.0",
"@elastic/ems-client": "8.5.3",
"@elastic/eui": "97.2.0",
"@elastic/eui": "97.3.0",
"@elastic/filesaver": "1.1.2",
"@elastic/node-crypto": "^1.2.3",
"@elastic/numeral": "^2.5.1",

View file

@ -129,15 +129,14 @@ exports[`#start() returns \`Context\` component 1`] = `
"euiDatePopoverContent.startDateLabel": "Start date",
"euiDisplaySelector.buttonText": "Display options",
"euiDisplaySelector.densityLabel": "Density",
"euiDisplaySelector.labelAuto": "Auto fit",
"euiDisplaySelector.labelAuto": "Auto",
"euiDisplaySelector.labelCompact": "Compact",
"euiDisplaySelector.labelCustom": "Custom",
"euiDisplaySelector.labelExpanded": "Expanded",
"euiDisplaySelector.labelMax": "Max",
"euiDisplaySelector.labelNormal": "Normal",
"euiDisplaySelector.labelSingle": "Single",
"euiDisplaySelector.lineCountLabel": "Lines per row",
"euiDisplaySelector.labelStatic": "Static",
"euiDisplaySelector.resetButtonText": "Reset to default",
"euiDisplaySelector.rowHeightLabel": "Row height",
"euiDisplaySelector.rowHeightLabel": "Lines per row",
"euiDualRange.sliderScreenReaderInstructions": "You are in a custom range slider. Use the Up and Down arrow keys to change the minimum value. Press Tab to interact with the maximum value.",
"euiErrorBoundary.error": "Error",
"euiExternalLinkIcon.externalTarget.screenReaderOnlyText": "(external)",

View file

@ -724,19 +724,16 @@ export const getEuiContextMapping = (): EuiTokensObject => {
'euiDisplaySelector.labelExpanded': i18n.translate('core.euiDisplaySelector.labelExpanded', {
defaultMessage: 'Expanded',
}),
'euiDisplaySelector.labelSingle': i18n.translate('core.euiDisplaySelector.labelSingle', {
defaultMessage: 'Single',
}),
'euiDisplaySelector.labelAuto': i18n.translate('core.euiDisplaySelector.labelAuto', {
defaultMessage: 'Auto fit',
defaultMessage: 'Auto',
}),
'euiDisplaySelector.labelCustom': i18n.translate('core.euiDisplaySelector.labelCustom', {
defaultMessage: 'Custom',
'euiDisplaySelector.labelStatic': i18n.translate('core.euiDisplaySelector.labelStatic', {
defaultMessage: 'Static',
}),
'euiDisplaySelector.labelMax': i18n.translate('core.euiDisplaySelector.labelMax', {
defaultMessage: 'Max',
}),
'euiDisplaySelector.rowHeightLabel': i18n.translate('core.euiDisplaySelector.rowHeightLabel', {
defaultMessage: 'Row height',
}),
'euiDisplaySelector.lineCountLabel': i18n.translate('core.euiDisplaySelector.lineCountLabel', {
defaultMessage: 'Lines per row',
}),
'euiFieldPassword.showPassword': i18n.translate('core.euiFieldPassword.showPassword', {

View file

@ -87,7 +87,7 @@ export const LICENSE_OVERRIDES = {
'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'@elastic/ems-client@8.5.3': ['Elastic License 2.0'],
'@elastic/eui@97.2.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'@elastic/eui@97.3.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODCBy license https://github.com/mattcg/language-subtag-registry
'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
'@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)

View file

@ -709,15 +709,11 @@
"core.euiDatePopoverContent.startDateLabel": "Date de début",
"core.euiDisplaySelector.buttonText": "Options d'affichage",
"core.euiDisplaySelector.densityLabel": "Densité",
"core.euiDisplaySelector.labelAuto": "Ajustement automatique",
"core.euiDisplaySelector.labelCompact": "Compact",
"core.euiDisplaySelector.labelCustom": "Personnalisé",
"core.euiDisplaySelector.labelExpanded": "Étendu",
"core.euiDisplaySelector.labelNormal": "Normal",
"core.euiDisplaySelector.labelSingle": "Unique",
"core.euiDisplaySelector.lineCountLabel": "Sous-lignes par ligne",
"core.euiDisplaySelector.resetButtonText": "Réinitialiser à la valeur par défaut",
"core.euiDisplaySelector.rowHeightLabel": "Hauteur de la ligne",
"core.euiDisplaySelector.rowHeightLabel": "Sous-lignes par ligne",
"core.euiDualRange.sliderScreenReaderInstructions": "Vous êtes dans un curseur de plage personnalisé. Utilisez les flèches vers le haut et vers le bas pour modifier la valeur minimale. Appuyez sur Tabulation pour interagir avec la valeur maximale.",
"core.euiErrorBoundary.error": "Erreur",
"core.euiExternalLinkIcon.newTarget.screenReaderOnlyText": "(souvre dans un nouvel onglet ou une nouvelle fenêtre)",

View file

@ -710,15 +710,11 @@
"core.euiDatePopoverContent.startDateLabel": "開始日",
"core.euiDisplaySelector.buttonText": "表示オプション",
"core.euiDisplaySelector.densityLabel": "密度",
"core.euiDisplaySelector.labelAuto": "自動的に合わせる",
"core.euiDisplaySelector.labelCompact": "簡易",
"core.euiDisplaySelector.labelCustom": "カスタム",
"core.euiDisplaySelector.labelExpanded": "詳細",
"core.euiDisplaySelector.labelNormal": "標準",
"core.euiDisplaySelector.labelSingle": "単一",
"core.euiDisplaySelector.lineCountLabel": "行ごとの線数",
"core.euiDisplaySelector.resetButtonText": "デフォルトにリセット",
"core.euiDisplaySelector.rowHeightLabel": "行高さ",
"core.euiDisplaySelector.rowHeightLabel": "行ごとの線数",
"core.euiDualRange.sliderScreenReaderInstructions": "カスタム範囲スライダーを操作しています。上下矢印キーを使用すると、最小値を変更できます。Tabを押すと、最大値を操作できます。",
"core.euiErrorBoundary.error": "エラー",
"core.euiExternalLinkIcon.newTarget.screenReaderOnlyText": "(新しいタブまたはウィンドウで開く)",

View file

@ -709,15 +709,11 @@
"core.euiDatePopoverContent.startDateLabel": "开始日期",
"core.euiDisplaySelector.buttonText": "显示选项",
"core.euiDisplaySelector.densityLabel": "密度",
"core.euiDisplaySelector.labelAuto": "自动适应",
"core.euiDisplaySelector.labelCompact": "紧凑",
"core.euiDisplaySelector.labelCustom": "定制",
"core.euiDisplaySelector.labelExpanded": "扩展",
"core.euiDisplaySelector.labelNormal": "正常",
"core.euiDisplaySelector.labelSingle": "单个",
"core.euiDisplaySelector.lineCountLabel": "每行文本行数",
"core.euiDisplaySelector.resetButtonText": "重置为默认值",
"core.euiDisplaySelector.rowHeightLabel": "行高",
"core.euiDisplaySelector.rowHeightLabel": "每行文本行数",
"core.euiDualRange.sliderScreenReaderInstructions": "您正使用定制范围滑块。使用向上和向下箭头键可更改最小值。按 Tab 键与最大值进行交互。",
"core.euiErrorBoundary.error": "错误",
"core.euiExternalLinkIcon.newTarget.screenReaderOnlyText": "(在新选项卡或窗口中打开)",

View file

@ -1748,10 +1748,10 @@
resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314"
integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ==
"@elastic/eui@97.2.0":
version "97.2.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-97.2.0.tgz#ea752ce3febda67ce58493a463ea3197e21f9502"
integrity sha512-n0puvtip72YtQMYtkrC9G5SeNqew61N8DNMP3DsYDJWn/eqOTARP0MbU7P7/P66ZmOVIeUaa+vSsHvqgU3GmLQ==
"@elastic/eui@97.3.0":
version "97.3.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-97.3.0.tgz#3961e39a6a8ac38e1af999baf0e96de8e1671943"
integrity sha512-Ic9DXHlh9yVumYypoLSM+plM0xBjSPc8PPRT4z5bHXLXZrLuSEVoqfix3co5yl4+ibLwfxNPCZFflbFiMl2apA==
dependencies:
"@hello-pangea/dnd" "^16.6.0"
"@types/lodash" "^4.14.202"