Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `9.0`: - [Upgrade EUI to v99.2.0-borealis.0 (#209690)](#209690) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tomasz Kajtoch","email":"tomasz.kajtoch@elastic.co"},"sourceCommit":{"committedDate":"2025-02-13T09:20:46Z","message":"Upgrade EUI to v99.2.0-borealis.0 (#209690)\n\n`99.1.0-borealis.0` ⏩ `99.2.0-borealis.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n---\n\n## [`v99.2.0`](https://github.com/elastic/eui/releases/v99.2.0)\n\n- Changed `EuiFieldText` styles to prioritize `disabled` styling over\n`readonly`. ([#8271](https://github.com/elastic/eui/pull/8271))\n- Added `plugs` and `web` glyphs to `EuiIcon`\n([#8285](https://github.com/elastic/eui/pull/8285))\n- Update `title` on `EuiColorPalettePickerPaletteProps` to be optional\n([#8289](https://github.com/elastic/eui/pull/8289))\n\n**Bug fixes**\n\n- Fixed an issue with EuiDataGrid with auto row height resulting in a\ntable of 0 height ([#8251](https://github.com/elastic/eui/pull/8251))\n- Fixed `disabled` behavior of `EuiFieldText` to prevent input changes.\n([#8271](https://github.com/elastic/eui/pull/8271))\n\n**Borealis changes**\n\n- [Visual Refresh] Provide hooks for color palette functions\n([#8284](https://github.com/elastic/eui/pull/8284))\n- [Visual Refresh] Make Borealis default theme in EUI\n([#8288](https://github.com/elastic/eui/pull/8288))\n\n---\n\nAs you can probably tell, there are plenty of updated tests and\nsnapshots this time around. They are the result of the following:\n\n1. We've updated the default theme in `@elastic/eui` v99.2.0 to\nBorealis, which led to kibana tests using `renderWithTheme`,\n`mountWithTheme`, and other utility functions that wrap the tested\ncomponent in `<EuiThemeProvider>` to switch to the correct, new color\nvalues. With this change, all tests should now use Borealis, regardless\nof the testing framework or its configuration.\n2. Because of the default theme change in EUI, some class name hash\nfragments (e.g., `css-`**`wprskz`**`-euiButtonIcon-xs-empty-primary`)\nregenerated.\n\nMost Borealis-related changes in this PR are test env only and have no\nimpact on what users see when using Kibana.\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e5958a47f302c69871310903caeebc69257f886a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","EUI","v9.0.0","Team:obs-ux-infra_services","Team:obs-ux-management","backport:version","v9.1.0"],"title":"Upgrade EUI to v99.2.0-borealis.0","number":209690,"url":"https://github.com/elastic/kibana/pull/209690","mergeCommit":{"message":"Upgrade EUI to v99.2.0-borealis.0 (#209690)\n\n`99.1.0-borealis.0` ⏩ `99.2.0-borealis.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n---\n\n## [`v99.2.0`](https://github.com/elastic/eui/releases/v99.2.0)\n\n- Changed `EuiFieldText` styles to prioritize `disabled` styling over\n`readonly`. ([#8271](https://github.com/elastic/eui/pull/8271))\n- Added `plugs` and `web` glyphs to `EuiIcon`\n([#8285](https://github.com/elastic/eui/pull/8285))\n- Update `title` on `EuiColorPalettePickerPaletteProps` to be optional\n([#8289](https://github.com/elastic/eui/pull/8289))\n\n**Bug fixes**\n\n- Fixed an issue with EuiDataGrid with auto row height resulting in a\ntable of 0 height ([#8251](https://github.com/elastic/eui/pull/8251))\n- Fixed `disabled` behavior of `EuiFieldText` to prevent input changes.\n([#8271](https://github.com/elastic/eui/pull/8271))\n\n**Borealis changes**\n\n- [Visual Refresh] Provide hooks for color palette functions\n([#8284](https://github.com/elastic/eui/pull/8284))\n- [Visual Refresh] Make Borealis default theme in EUI\n([#8288](https://github.com/elastic/eui/pull/8288))\n\n---\n\nAs you can probably tell, there are plenty of updated tests and\nsnapshots this time around. They are the result of the following:\n\n1. We've updated the default theme in `@elastic/eui` v99.2.0 to\nBorealis, which led to kibana tests using `renderWithTheme`,\n`mountWithTheme`, and other utility functions that wrap the tested\ncomponent in `<EuiThemeProvider>` to switch to the correct, new color\nvalues. With this change, all tests should now use Borealis, regardless\nof the testing framework or its configuration.\n2. Because of the default theme change in EUI, some class name hash\nfragments (e.g., `css-`**`wprskz`**`-euiButtonIcon-xs-empty-primary`)\nregenerated.\n\nMost Borealis-related changes in this PR are test env only and have no\nimpact on what users see when using Kibana.\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e5958a47f302c69871310903caeebc69257f886a"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209690","number":209690,"mergeCommit":{"message":"Upgrade EUI to v99.2.0-borealis.0 (#209690)\n\n`99.1.0-borealis.0` ⏩ `99.2.0-borealis.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n---\n\n## [`v99.2.0`](https://github.com/elastic/eui/releases/v99.2.0)\n\n- Changed `EuiFieldText` styles to prioritize `disabled` styling over\n`readonly`. ([#8271](https://github.com/elastic/eui/pull/8271))\n- Added `plugs` and `web` glyphs to `EuiIcon`\n([#8285](https://github.com/elastic/eui/pull/8285))\n- Update `title` on `EuiColorPalettePickerPaletteProps` to be optional\n([#8289](https://github.com/elastic/eui/pull/8289))\n\n**Bug fixes**\n\n- Fixed an issue with EuiDataGrid with auto row height resulting in a\ntable of 0 height ([#8251](https://github.com/elastic/eui/pull/8251))\n- Fixed `disabled` behavior of `EuiFieldText` to prevent input changes.\n([#8271](https://github.com/elastic/eui/pull/8271))\n\n**Borealis changes**\n\n- [Visual Refresh] Provide hooks for color palette functions\n([#8284](https://github.com/elastic/eui/pull/8284))\n- [Visual Refresh] Make Borealis default theme in EUI\n([#8288](https://github.com/elastic/eui/pull/8288))\n\n---\n\nAs you can probably tell, there are plenty of updated tests and\nsnapshots this time around. They are the result of the following:\n\n1. We've updated the default theme in `@elastic/eui` v99.2.0 to\nBorealis, which led to kibana tests using `renderWithTheme`,\n`mountWithTheme`, and other utility functions that wrap the tested\ncomponent in `<EuiThemeProvider>` to switch to the correct, new color\nvalues. With this change, all tests should now use Borealis, regardless\nof the testing framework or its configuration.\n2. Because of the default theme change in EUI, some class name hash\nfragments (e.g., `css-`**`wprskz`**`-euiButtonIcon-xs-empty-primary`)\nregenerated.\n\nMost Borealis-related changes in this PR are test env only and have no\nimpact on what users see when using Kibana.\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"e5958a47f302c69871310903caeebc69257f886a"}}]}] BACKPORT-->
- Loading branch information