Skip to content

Commit

Permalink
[8.x] Upgrade EUI to v97.3.0 (elastic#198087) (elastic#198460)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [Upgrade EUI to v97.3.0
(elastic#198087)](elastic#198087)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Cee
Chen","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-31T02:41:45Z","message":"Upgrade
EUI to v97.3.0 (elastic#198087)\n\n`v97.2.0`⏩`v97.3.0`\r\n\r\n_[Questions?
Please see our Kibana
upgrade\r\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_\r\n\r\n---\r\n\r\n##
[`v97.3.0`](https://github.com/elastic/eui/releases/v97.3.0)\r\n\r\n-
`EuiDataGrid` now supports a
new\r\n`toolbarVisibility.showDisplaySelector.customRender` function
that\r\nallows completely customizing the rendering of the display
selector\r\npopover
([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n- `EuiDataGrid`'s
row height/lines per row setting has been streamlined\r\nin both UI and
UX ([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n-
`EuiDataGrid` now accepts consumer-passed display setting updates
even\r\nafter users have changed their display preferences via
UI\r\n([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n- Updated
`EuiDataGrid` to vertically center
all\r\n`toolbarVisibility.additionalControls`
nodes\r\n([elastic#8085](https://github.com/elastic/eui/pull/8085))\r\n-
Updated `EuiDataGrid` with a
beta\r\n`rowHeightsOptions.autoBelowLineCount` feature
flag\r\n([elastic#8096](https://github.com/elastic/eui/pull/8096))\r\n- Updated
`EuiContextMenuPanel` to allow disabling initial focus
via\r\n`initialFocusedItemIndex={-1}`\r\n([elastic#8101](https://github.com/elastic/eui/pull/8101))\r\n\r\n**Bug
fixes**\r\n\r\n- Fixed `EuiComment`'s typing to correctly reflect all
accepted
props\r\n([elastic#8089](https://github.com/elastic/eui/pull/8089))\r\n- Fixed
`EuiSelectableTemplateSitewide`s within dark-themed
`EuiHeader`s\r\nmissing input
borders\r\n([elastic#8100](https://github.com/elastic/eui/pull/8100))","sha":"4e7d43a03181ab95719733cc0a44d4896481841f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","EUI","v9.0.0","backport:version","v8.17.0"],"title":"Upgrade
EUI to
v97.3.0","number":198087,"url":"https://github.com/elastic/kibana/pull/198087","mergeCommit":{"message":"Upgrade
EUI to v97.3.0 (elastic#198087)\n\n`v97.2.0`⏩`v97.3.0`\r\n\r\n_[Questions?
Please see our Kibana
upgrade\r\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_\r\n\r\n---\r\n\r\n##
[`v97.3.0`](https://github.com/elastic/eui/releases/v97.3.0)\r\n\r\n-
`EuiDataGrid` now supports a
new\r\n`toolbarVisibility.showDisplaySelector.customRender` function
that\r\nallows completely customizing the rendering of the display
selector\r\npopover
([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n- `EuiDataGrid`'s
row height/lines per row setting has been streamlined\r\nin both UI and
UX ([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n-
`EuiDataGrid` now accepts consumer-passed display setting updates
even\r\nafter users have changed their display preferences via
UI\r\n([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n- Updated
`EuiDataGrid` to vertically center
all\r\n`toolbarVisibility.additionalControls`
nodes\r\n([elastic#8085](https://github.com/elastic/eui/pull/8085))\r\n-
Updated `EuiDataGrid` with a
beta\r\n`rowHeightsOptions.autoBelowLineCount` feature
flag\r\n([elastic#8096](https://github.com/elastic/eui/pull/8096))\r\n- Updated
`EuiContextMenuPanel` to allow disabling initial focus
via\r\n`initialFocusedItemIndex={-1}`\r\n([elastic#8101](https://github.com/elastic/eui/pull/8101))\r\n\r\n**Bug
fixes**\r\n\r\n- Fixed `EuiComment`'s typing to correctly reflect all
accepted
props\r\n([elastic#8089](https://github.com/elastic/eui/pull/8089))\r\n- Fixed
`EuiSelectableTemplateSitewide`s within dark-themed
`EuiHeader`s\r\nmissing input
borders\r\n([elastic#8100](https://github.com/elastic/eui/pull/8100))","sha":"4e7d43a03181ab95719733cc0a44d4896481841f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198087","number":198087,"mergeCommit":{"message":"Upgrade
EUI to v97.3.0 (elastic#198087)\n\n`v97.2.0`⏩`v97.3.0`\r\n\r\n_[Questions?
Please see our Kibana
upgrade\r\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_\r\n\r\n---\r\n\r\n##
[`v97.3.0`](https://github.com/elastic/eui/releases/v97.3.0)\r\n\r\n-
`EuiDataGrid` now supports a
new\r\n`toolbarVisibility.showDisplaySelector.customRender` function
that\r\nallows completely customizing the rendering of the display
selector\r\npopover
([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n- `EuiDataGrid`'s
row height/lines per row setting has been streamlined\r\nin both UI and
UX ([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n-
`EuiDataGrid` now accepts consumer-passed display setting updates
even\r\nafter users have changed their display preferences via
UI\r\n([elastic#8080](https://github.com/elastic/eui/pull/8080))\r\n- Updated
`EuiDataGrid` to vertically center
all\r\n`toolbarVisibility.additionalControls`
nodes\r\n([elastic#8085](https://github.com/elastic/eui/pull/8085))\r\n-
Updated `EuiDataGrid` with a
beta\r\n`rowHeightsOptions.autoBelowLineCount` feature
flag\r\n([elastic#8096](https://github.com/elastic/eui/pull/8096))\r\n- Updated
`EuiContextMenuPanel` to allow disabling initial focus
via\r\n`initialFocusedItemIndex={-1}`\r\n([elastic#8101](https://github.com/elastic/eui/pull/8101))\r\n\r\n**Bug
fixes**\r\n\r\n- Fixed `EuiComment`'s typing to correctly reflect all
accepted
props\r\n([elastic#8089](https://github.com/elastic/eui/pull/8089))\r\n- Fixed
`EuiSelectableTemplateSitewide`s within dark-themed
`EuiHeader`s\r\nmissing input
borders\r\n([elastic#8100](https://github.com/elastic/eui/pull/8100))","sha":"4e7d43a03181ab95719733cc0a44d4896481841f"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Cee Chen <[email protected]>
  • Loading branch information
kibanamachine and cee-chen authored Oct 31, 2024
1 parent 69f6d6e commit 32517dc
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 35 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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.rowHeightLabel': i18n.translate('core.euiDisplaySelector.rowHeightLabel', {
defaultMessage: 'Row height',
'euiDisplaySelector.labelMax': i18n.translate('core.euiDisplaySelector.labelMax', {
defaultMessage: 'Max',
}),
'euiDisplaySelector.lineCountLabel': i18n.translate('core.euiDisplaySelector.lineCountLabel', {
'euiDisplaySelector.rowHeightLabel': i18n.translate('core.euiDisplaySelector.rowHeightLabel', {
defaultMessage: 'Lines per row',
}),
'euiFieldPassword.showPassword': i18n.translate('core.euiFieldPassword.showPassword', {
Expand Down
2 changes: 1 addition & 1 deletion src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const LICENSE_OVERRIDES = {
'[email protected]': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/[email protected]': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'@elastic/[email protected]': ['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'],
'[email protected]': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
'[email protected]': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
'@bufbuild/[email protected]': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)
Expand Down
6 changes: 1 addition & 5 deletions x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "(s’ouvre dans un nouvel onglet ou une nouvelle fenêtre)",
Expand Down
6 changes: 1 addition & 5 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "(新しいタブまたはウィンドウで開く)",
Expand Down
6 changes: 1 addition & 5 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "(在新选项卡或窗口中打开)",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 32517dc

Please sign in to comment.