Skip to content

@strapi/design-system@2.0.0-beta.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 13 May 12:53
· 3 commits to develop since this release

Major 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.

  • #1718 981d6d0 Thanks @joshuaellis! - chore!: remove size from inputs

    size 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 singular

    This is consistent across the codebase.

  • #1720 7c81e86 Thanks @github-actions! - chore!: remove ThemeProvider

    ThemeProvider has been removed and replaced with DesignSystemProvider.

  • #1720 8b7afb1 Thanks @github-actions! - chore!: change z-indexes on theme from array to dictionary

    z-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 the Elevation 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 primitive

    The 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-ui

    The 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