-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 v90.0.1 #172261
Upgrade EUI to v90.0.1 #172261
Conversation
- save me Sebastian! - component was updated to use an ExclusiveUnion and not accept both `href/linkProps` or `items/accordionProps` etc - going to leave as-is for now as I'm not confident in my ability to not break code, and the component should handle excess props gracefully
💚 Build Succeeded
Metrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
@@ -290,6 +290,7 @@ const nodeToEuiCollapsibleNavProps = ( | |||
} | |||
|
|||
const items: Array<EuiCollapsibleNavItemProps | EuiCollapsibleNavSubItemPropsEnhanced> = [ | |||
// @ts-ignore - TODO |
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.
@sebelga Apologies for these TODOs for you/your team - I briefly (5-15 minutes) spiked out resolving the Typescript errors, but it involved removing several props and I was not confident that I was doing it correctly.
Unfortunately the EUI team doesn't have bandwidth right now to correctly address this before 8.12FF, so I thought I'd just get in the component changes sooner and have you take a look at the type reconciliation later.
FWIW, the type was updated in elastic/eui#7337 to use an ExclusiveUnion and not accept either href/linkProps
or items/accordionProps/isCollapsed
, but not both.
The type errors do not affect actual production behavior, the component handles excess props gracefully and does not pass href
down to accordions or groups with items
.
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.
Ok no worries, I'll fix the type in a separate PR 👍
Pinging @elastic/eui-team (EUI) |
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.
Thanks for bringing the change to Kibana! 👍 I'll look into the type issue as a follow up work
@@ -290,6 +290,7 @@ const nodeToEuiCollapsibleNavProps = ( | |||
} | |||
|
|||
const items: Array<EuiCollapsibleNavItemProps | EuiCollapsibleNavSubItemPropsEnhanced> = [ | |||
// @ts-ignore - TODO |
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.
Ok no worries, I'll fix the type in a separate PR 👍
`v90.0.1`⏩`v90.0.1-backport.0` Backport/bugfix for #172261 --- ## [`v90.0.1-backport.0`](https://github.com/elastic/eui/releases/v90.0.1-backport.0) **This is a backport release only intended for use by Kibana.** **Bug fixes** - Fixed a bug with `EuiSelectable`s with custom `truncationProps`, where scrollbar widths were not being accounted for ([#7392](elastic/eui#7392))
v90.0.0
⏩v90.0.1
This release also contains updates to EuiCollapsibleNavBeta, to support serverless UX (elastic/eui#7337).
90.0.1
This release is a backport intended for Kibana 8.12.
EuiSelectable
now allows configurable text truncation vialistProps.truncationProps
(#7388)EuiTextTruncate
now supports a newcalculationDelayMs
prop for working around font loading or layout shifting scenarios (#7388)