Skip to content

Commit

Permalink
Upgrade EUI to v97.3.0 (elastic#198087)
Browse files Browse the repository at this point in the history
`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 ([elastic#8080](elastic/eui#8080))
- `EuiDataGrid`'s row height/lines per row setting has been streamlined
in both UI and UX ([elastic#8080](elastic/eui#8080))
- `EuiDataGrid` now accepts consumer-passed display setting updates even
after users have changed their display preferences via UI
([elastic#8080](elastic/eui#8080))
- Updated `EuiDataGrid` to vertically center all
`toolbarVisibility.additionalControls` nodes
([elastic#8085](elastic/eui#8085))
- Updated `EuiDataGrid` with a beta
`rowHeightsOptions.autoBelowLineCount` feature flag
([elastic#8096](elastic/eui#8096))
- Updated `EuiContextMenuPanel` to allow disabling initial focus via
`initialFocusedItemIndex={-1}`
([elastic#8101](elastic/eui#8101))

**Bug fixes**

- Fixed `EuiComment`'s typing to correctly reflect all accepted props
([elastic#8089](elastic/eui#8089))
- Fixed `EuiSelectableTemplateSitewide`s within dark-themed `EuiHeader`s
missing input borders
([elastic#8100](elastic/eui#8100))

(cherry picked from commit 4e7d43a)
  • Loading branch information
cee-chen committed Oct 31, 2024
1 parent c75d892 commit 91a9360
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 = {
'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 ODC‑By 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)
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 91a9360

Please sign in to comment.