@strapi/design-system@2.0.0-beta.4
Pre-releaseMajor Changes
-
#1722
f28dda1
Thanks @joshuaellis! - chore!: streamline IconButton API- remove
icon
prop - remove
ariaLabel
prop - add
withTooltip
prop (default false)
children
&label
are now required props. - remove
-
#1718
981d6d0
Thanks @joshuaellis! - chore!: remove size from inputssize
was used to give our inputs a fixed size, this would not have worked with different writing directions or be very responsive. Instead, we use logical padding values. -
#1718
981d6d0
Thanks @joshuaellis! - chore!: all XXSize & XXVariant types are now singularThis is consistent across the codebase.
-
#1720
7c81e86
Thanks @github-actions! - chore!: remove ThemeProviderThemeProvider
has been removed and replaced withDesignSystemProvider
. -
#1720
8b7afb1
Thanks @github-actions! - chore!: change z-indexes on theme from array to dictionaryz-indices
on the theme object were an array of length 4. We've since changed this to a dictionary to help engineers understand how to correctly apply these values. See theElevation
documentation for more information. -
#1719
dd79369
Thanks @joshuaellis! - chore!: remove deprecated options & change selectedDate prop to be value on DatePicker -
#1721
940110c
Thanks @joshuaellis! - feat!: refactor Accordion to use radix primitiveThe Accordion API has changed significently whilst retaining it's functionality, we recommend your review the documentation to understand the changes and how to migrate your code.
-
#1722
f28dda1
Thanks @joshuaellis! - feat!: refactor Tooltip to use radix-uiThe Tooltip API has changed significently whilst retaining it's functionality, we recommend your review the documentation to understand the changes and how to migrate your code.
Patch Changes
-
#1720
063e574
Thanks @github-actions! - fix(accordion): variant should apply to header not all accordions -
Updated dependencies []:
- @strapi/ui-primitives@2.0.0-beta.4