Releases: strapi/design-system
@strapi/[email protected]
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. - 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/[email protected]
@strapi/[email protected]
@strapi/[email protected]
@strapi/[email protected]
Major Changes
- #1695
649d0f5
Thanks @christiancp100! - chore: update to use styled-components@6
Patch Changes
- #1708
b9646de
Thanks @joshuaellis! - fix: dont use rem for width and height on SVG attributes
@strapi/[email protected]
Major Changes
-
#1693
ec2fc0c
Thanks @madhurisandbhor! - enhancement!: removed field wrapper components from inputs to streamline and inputs stories are moved understories/inputs
folder. -
#1693
ec2fc0c
Thanks @madhurisandbhor! - chore!: remove CreatableComboboxUsers should instead use
<Combobox createable />
. -
#1695
649d0f5
Thanks @christiancp100! - chore!: default color for Typography is currentColor -
#1693
ec2fc0c
Thanks @madhurisandbhor! - enhancement!: ToggleInput renamed to just Toggle -
#1710
adbe237
Thanks @joshuaellis! - chore!: CardAction is now a react component -
#1713
1613d94
Thanks @joshuaellis! - feat!: refactor Field api -
#1703
54ebfad
Thanks @madhurisandbhor! - chore!: removed CMS specific components.The following components have been removed from DS and moved to CMS where it belongs.Layout
HeaderLayout
TwoColsLayout
GridLayout
ActionLayout
ContentLayout
-
#1695
649d0f5
Thanks @christiancp100! - chore: Box/Flex/Grid & Typography are now all react components, they are no longer styled-components. -
#1695
649d0f5
Thanks @christiancp100! - chore: update to use styled-components@6 -
#1695
649d0f5
Thanks @christiancp100! - chore: disallow use of as and instead use tag prop instead
Minor Changes
- #1697
6f59131
Thanks @joshuaellis! - feat: typography now extends Box
Patch Changes
-
#1709
2f198e9
Thanks @joshuaellis! - fix(design-system): codemirror packages that aren't in package.json are declared as external -
#1699
9fdfdde
Thanks @joshuaellis! - fix: main nav icon size was set to 1rem it should be 1.6rem -
Updated dependencies []:
- @strapi/[email protected]
@strapi/[email protected]
Patch Changes
f785c2c
Thanks @joshuaellis! - fix: set dev dependencies correctly to avoid styled-components being bundled
@strapi/[email protected]
@strapi/[email protected]
@strapi/[email protected]
Patch Changes
f785c2c
Thanks @joshuaellis! - fix: set dev dependencies correctly to avoid styled-components being bundled
@strapi/[email protected]
Major Changes
-
#1696
1622c2b
Thanks @joshuaellis! - chore!: removes some icons and renames othersUsers should refer to the BREAKING_CHANGES.md for more information on how to migrate. Most of the icons have been visually changed. Snapshots will most likely need to be updated.
@strapi/[email protected]
Patch Changes
-
f785c2c
Thanks @joshuaellis! - fix: set dev dependencies correctly to avoid styled-components being bundled -
Updated dependencies [
f785c2c
]:- @strapi/[email protected]
@strapi/[email protected]
Major Changes
-
#1696
1622c2b
Thanks @joshuaellis! - chore!: remove the Icon componentUsers should instead apply
fill
andstroke
directly to the icon component as theme colors are now possible.
Minor Changes
- #1693
732330a
Thanks @madhurisandbhor! - feat: add logic spacing properties
Patch Changes
-
cb0147b
Thanks @joshuaellis! - fix: use px for media queries as font-size won't affect media queries -
Updated dependencies []:
- @strapi/[email protected]