-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade EUI to 83.0.0 #160813
Upgrade EUI to 83.0.0 #160813
Conversation
9d2134c
to
fe30181
Compare
@elasticmachine merge upstream |
- comment is likely no longer accurate (4 years old), and `EuiButtonIcon` supports a loading spinner just fine
- Remove references to removed modifier classes - Prefer checks for `disabled` prop over className checks
- these classNames no longer have any CSS attached due to the Emotion conversion - AFAICT, the overrides are primarily around text size and weight, so set those intead - use components where possible and Emotion CSS instead of inline style
- these classNames no longer have any CSS attached due to the Emotion conversion - AFAICT, the overrides are primarily around text size and weight, as well as an incidental hover, so set those instead
- remove `__content` selector - padding is now set on the parent button - use EUI theme var instead of static px width - clean up minimizePadding ternary - removing padding class on `EuiButtonIcon` which does not set any padding
- EuiButtonEmpty now has its padding set on the top-most button, and not on `euiButtonEmpty__content` + use new logical `-inline` property while here, which sets both horizontal sides at once
`.euiButtonEmpty__text` no longer uses `margin-left` to set a distance between any icon(s) and text, instead `.euiButtonEmpty__content` now sets a flex `gap` property
`.euiButtonContent__icon` is no longer in use (removed/deprecated) - asert on the data type instead
- there aren't any being used in Sass in any case
x-pack/plugins/lens/public/embeddable/embeddable_info_badges.tsx
Outdated
Show resolved
Hide resolved
...n-elastic-assistant/impl/data_anonymization_editor/context_editor/get_columns/index.test.tsx
Show resolved
Hide resolved
...n-elastic-assistant/impl/data_anonymization_editor/context_editor/get_columns/index.test.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presentation team snapshot changes LGTM! I also tested locally to ensure that the maps layers expand button properly shows the loading state, and I noticed something small - the drop shadow is removed while the button is loading. Are custom classes not properly applied to the icon button when it's loading?
Either way, this doesn't block the EUI upgrade
return ( | ||
<EuiButtonIcon | ||
className="mapLayerControl__openLayerTOCButton" | ||
color="text" | ||
isLoading={isLoading} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice simplification!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed and tested our Detection Rules Management codeowner changes; everything looks fine.
Not approving yet, but delegating to @spong so he can take a look at the changes @banderror tagged him in.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Security Assistant changes LGTM, so that rounds out the Security Solution review. 👍 Thank you @banderror & @jpdjere for the ping here, and thank you @breehall for the upgrade! 🙌
…rom the default 8px
## Summary Skips flaky cypress tests to unblock PRs. These tests are determined to be flaky as they are failing in two unrelated PRs. #160912 #160813 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Kibana Machine <[email protected]>
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Licence checker changes 👌
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
[email protected]
⏩83.0.0
EuiButtonEmpty
Emotion conversion, which changes the DOM structure of the button slightly as well as several CSS classes around it.EUI has attempted to convert any custom EuiButtonEmpty CSS overrides where possible, but would super appreciate it if CODEOWNERS checked their touched files. If anything other than a snapshot or test was touched, please double check the display of your button(s) and confirm everything still looks shipshape. Feel free to ping us for advice if not.
83.0.0
Bug fixes
EuiPaginationButton
styling affected byEuiButtonEmpty
's Emotion conversion (#6893)Breaking changes
isPlaceholder
prop fromEuiPaginationButton
(#6893)82.2.1
82.2.0
EuiNotificationBadge
(#6864)badgeColor
prop toEuiFilterButton
(#6864)EuiBadge
to use CSS-in-JS for named colors instead of inline styles. Custom colors will still use inline styles. (#6864)CSS-in-JS conversions
EuiButtonGroup
andEuiButtonGroupButton
to Emotion (#6841)EuiButtonIcon
to Emotion (#6844)EuiButtonEmpty
to Emotion (#6863)EuiCollapsibleNav
andEuiCollapsibleNavGroup
to Emotion (#6865)$euiCollapsibleNavGroupLightBackgroundColor
,$euiCollapsibleNavGroupDarkBackgroundColor
, and$euiCollapsibleNavGroupDarkHighContrastColor
(#6865)