Conversation
- addresses TS2742 inferred type error
- due to removed euiTheme.flags
- due to changes from amsterdam to borealis
- rebase cleanup
There was a problem hiding this comment.
LGTM!
Just a small note: Questions? Please see our Kibana upgrade FAQ. -> this link mentioned in the PR description doesn't work for me
@rbrtj Thanks for the catch! We moved the wiki (here) but I'm not sure all elasticians have access by default. I'll remove the link instead. |
PhilippeOberti
left a comment
There was a problem hiding this comment.
Desk tested and code LGTM for the @elastic/security-threat-hunting-investigations team. I left a small comment for unused constants, but I can tackle that in a follow up PR.
x-pack/solutions/security/plugins/security_solution/public/common/utils/risk_color_palette.tsx
Show resolved
Hide resolved
paulinashakirova
left a comment
There was a problem hiding this comment.
SharexUX code owner review - lgtm 🚀
azasypkin
left a comment
There was a problem hiding this comment.
LGTM, I haven't noticed anything suspicious after a brief check of Platform Security server- and client-side rendered apps.
mariairiartef
left a comment
There was a problem hiding this comment.
Visualizations code changes LGTM
spong
left a comment
There was a problem hiding this comment.
Security GenAI changed LGTM! 👍 Thanks for the theme updates @mgadewoll, appreciate it!
justinkambic
left a comment
There was a problem hiding this comment.
Synthetics/Uptime changes LGTM
ThomThomson
left a comment
There was a problem hiding this comment.
Presentation team Amsterdam removals LGTM
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flakyFailed CI StepsMetrics [docs]Module Count
Async chunks
Page load bundle
History
cc @mgadewoll |
- `@elastic/eui`: `v107.0.1` ⏩ `v108.0.0` - `@elastic/eui-theme-borealis`: `v3.6.0` ⏩ `v4.0.0` --- ## Changes >[!IMPORTANT] This PR removes code related to the legacy Amsterdam theme. But it purposefully keeps Amsterdam palettes in `kbn-palettes` as those are standalone. - removed code related to the legacy theme Amsterdam [[elastic#9090](elastic/eui#9090)] - updated custom types to align with changes to the event type of `onClose` on `EuiModal` [[elastic#9137](elastic/eui#9137)] ## Package updates ### [`v108.0.0`](https://github.com/elastic/eui/releases/v108.0.0) - Updated `EuiModal` to support closing on outside click, via the new `outsideClickCloses` prop ([elastic#9137](elastic/eui#9137)) **Breaking changes** - Removed all "Amsterdam" theme related code in `src/themes/amsterdam` - EUI now only supports the "Borealis" theme in `eui-theme-borealis` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.hasGlobalFocusColor` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.hasVisColorAdjustment` ([elastic#9090](elastic/eui#9090)) - Removed `hasVisColorAdjustment` argument from color palettes (used in `euiPaletteColorBlindBehindText`, `euiPaletteForTemperature`, `euiPaletteComplementary`, `euiPaletteCool`) ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.buttonVariant` and `euiTheme.flags.formVariant` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.components.keyPadMenuItemBackgroundDisabledSelect` ([elastic#9090](elastic/eui#9090)) - Removed legacy SCSS files from `src/global_styling/variables`, `src/global_styling/mixins` and `src/global_styling/functions` - if needed, use them from `eui-theme-common` instead ([elastic#9090](elastic/eui#9090)) ### [`v4.0.0`](https://github.com/elastic/eui/releases/v4.0.0) **Breaking changes** - Removed `euiTheme.flags.hasGlobalFocusColor` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.hasVisColorAdjustment` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.buttonVariant` and `euiTheme.flags.formVariant` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.components.keyPadMenuItemBackgroundDisabledSelect` ([elastic#9090](elastic/eui#9090)) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- `@elastic/eui`: `v107.0.1` ⏩ `v108.0.0` - `@elastic/eui-theme-borealis`: `v3.6.0` ⏩ `v4.0.0` --- ## Changes >[!IMPORTANT] This PR removes code related to the legacy Amsterdam theme. But it purposefully keeps Amsterdam palettes in `kbn-palettes` as those are standalone. - removed code related to the legacy theme Amsterdam [[elastic#9090](elastic/eui#9090)] - updated custom types to align with changes to the event type of `onClose` on `EuiModal` [[elastic#9137](elastic/eui#9137)] ## Package updates ### [`v108.0.0`](https://github.com/elastic/eui/releases/v108.0.0) - Updated `EuiModal` to support closing on outside click, via the new `outsideClickCloses` prop ([elastic#9137](elastic/eui#9137)) **Breaking changes** - Removed all "Amsterdam" theme related code in `src/themes/amsterdam` - EUI now only supports the "Borealis" theme in `eui-theme-borealis` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.hasGlobalFocusColor` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.hasVisColorAdjustment` ([elastic#9090](elastic/eui#9090)) - Removed `hasVisColorAdjustment` argument from color palettes (used in `euiPaletteColorBlindBehindText`, `euiPaletteForTemperature`, `euiPaletteComplementary`, `euiPaletteCool`) ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.buttonVariant` and `euiTheme.flags.formVariant` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.components.keyPadMenuItemBackgroundDisabledSelect` ([elastic#9090](elastic/eui#9090)) - Removed legacy SCSS files from `src/global_styling/variables`, `src/global_styling/mixins` and `src/global_styling/functions` - if needed, use them from `eui-theme-common` instead ([elastic#9090](elastic/eui#9090)) ### [`v4.0.0`](https://github.com/elastic/eui/releases/v4.0.0) **Breaking changes** - Removed `euiTheme.flags.hasGlobalFocusColor` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.hasVisColorAdjustment` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.flags.buttonVariant` and `euiTheme.flags.formVariant` ([elastic#9090](elastic/eui#9090)) - Removed `euiTheme.components.keyPadMenuItemBackgroundDisabledSelect` ([elastic#9090](elastic/eui#9090)) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Reviewing #240888 I realized that there was some regression in the ILM policy icons with some previous EUI update. The `checkInCircleFilled` icon now works like the `check`. This PR updates the policy phase bullets so they look like before that change. Also, as agreed with @jovana-andjelkovic, it removes the gray border from the bullets. I also took the chance of creating a shared util with the colors and unify the delete phase color that was different depending on the component. ### Before the regression <img width="854" height="1038" alt="Screenshot 2025-10-28 at 10 27 18" src="https://github.com/user-attachments/assets/a4a86c29-6d25-4474-b08b-7a767fc2be85" /> ### Before this change <img width="781" height="1118" alt="before_icons" src="https://github.com/user-attachments/assets/39490db4-037b-4f00-9b22-b9b1ed3e86d4" /> <img width="489" height="1069" alt="before_flyout" src="https://github.com/user-attachments/assets/fed31bc0-8ae9-4fd8-a5b4-af75bb4ccb5b" /> ### After <img width="953" height="1290" alt="after_flyout" src="https://github.com/user-attachments/assets/78fb1a3a-88af-4e9b-b197-c074b8790050" /> <img width="818" height="1188" alt="after_icons" src="https://github.com/user-attachments/assets/7b74333a-174f-45ed-908a-2347f4b4f056" />
Reviewing elastic#240888 I realized that there was some regression in the ILM policy icons with some previous EUI update. The `checkInCircleFilled` icon now works like the `check`. This PR updates the policy phase bullets so they look like before that change. Also, as agreed with @jovana-andjelkovic, it removes the gray border from the bullets. I also took the chance of creating a shared util with the colors and unify the delete phase color that was different depending on the component. ### Before the regression <img width="854" height="1038" alt="Screenshot 2025-10-28 at 10 27 18" src="https://github.com/user-attachments/assets/a4a86c29-6d25-4474-b08b-7a767fc2be85" /> ### Before this change <img width="781" height="1118" alt="before_icons" src="https://github.com/user-attachments/assets/39490db4-037b-4f00-9b22-b9b1ed3e86d4" /> <img width="489" height="1069" alt="before_flyout" src="https://github.com/user-attachments/assets/fed31bc0-8ae9-4fd8-a5b4-af75bb4ccb5b" /> ### After <img width="953" height="1290" alt="after_flyout" src="https://github.com/user-attachments/assets/78fb1a3a-88af-4e9b-b197-c074b8790050" /> <img width="818" height="1188" alt="after_icons" src="https://github.com/user-attachments/assets/7b74333a-174f-45ed-908a-2347f4b4f056" />
@elastic/eui:v107.0.1⏩v108.0.0@elastic/eui-theme-borealis:v3.6.0⏩v4.0.0Changes
Important
This PR removes code related to the legacy Amsterdam theme. But it purposefully keeps Amsterdam palettes in
kbn-palettesas those are standalone.onCloseonEuiModal[#9137]Package updates
v108.0.0EuiModalto support closing on outside click, via the newoutsideClickClosesprop (#9137)Breaking changes
src/themes/amsterdam- EUI now only supports the "Borealis" theme ineui-theme-borealis(#9090)euiTheme.flags.hasGlobalFocusColor(#9090)euiTheme.flags.hasVisColorAdjustment(#9090)hasVisColorAdjustmentargument from color palettes (used ineuiPaletteColorBlindBehindText,euiPaletteForTemperature,euiPaletteComplementary,euiPaletteCool) (#9090)euiTheme.flags.buttonVariantandeuiTheme.flags.formVariant(#9090)euiTheme.components.keyPadMenuItemBackgroundDisabledSelect(#9090)src/global_styling/variables,src/global_styling/mixinsandsrc/global_styling/functions- if needed, use them fromeui-theme-commoninstead (#9090)v4.0.0Breaking changes
euiTheme.flags.hasGlobalFocusColor(#9090)euiTheme.flags.hasVisColorAdjustment(#9090)euiTheme.flags.buttonVariantandeuiTheme.flags.formVariant(#9090)euiTheme.components.keyPadMenuItemBackgroundDisabledSelect(#9090)