Releases: strapi/design-system
Releases · strapi/design-system
v1.2.3
🔥 Bug fix
- Pass the required prop to the combobox FieldLabel (#690) @HichamELBSI
- NumberInput: Fix value assignment during focus (#698) @gu-stav
💅 Enhancement
- [Fix] TextButton loading state (#691) @ronronscelestes
📖 Documentation
- [Fix] Document button color tokens to sroy (#700) @ronronscelestes
v1.2.2
💅 Enhancement
- [Fix] Link font (#675) @ronronscelestes
- Combobox filtering behavior (#676) @udimberto
- Add command icon (#681) @alexandrebodin
- Relax hint prop-types from string to node (#684) @gu-stav
🔥 Bug fix
- Update many children prop-types from string to node (#677) @gu-stav
- ToggleInput: Remove clear button, if the field is disabled (#682) @gu-stav
- NumberInput: Keep scientific numbers after blur/ focus as value (#683) @gu-stav
- Popover: Fix onReachEnd callback (#685) @gu-stav
📖 Documentation
- Update Grid, Link, and Theme documentation of the Design System (#680) @maevalienard
v1.2.1
💅 Enhancement
- Add indentation styling to SubNavLinkSection child elements (#635) @richorrichard
- [Breadcrumbs] PropTypes & Crumb padding (#662) @ronronscelestes
- DatePicker: remove default placeholder value (#664) @gu-stav
- [Fix] Avatar img resizing (#666) @ronronscelestes
📖 Documentation
🔥 Bug fix
v1.2.1-beta.0
v1.2.0
⚙️ Chore
- Improve the CI (#604) @HichamELBSI
🔥 Bug fix
- Fixes radio button not being checked when mounting radio group with a value passed in (#608) @PritamSangani
- Fix simple menu click and fix some stories props (#611) @HichamELBSI
- Fixing @strapi/icons peer dependency in design system (#620) @kibblerz
- Fix Element is not defined on SSR (#622) @HichamELBSI
- ModalBody: Decrease horizontal paddings (#623) @gu-stav
- Fix global apple system font-family (#630) @gu-stav
- Fix text input font to be inherited (#606) @Zoha
📖 Documentation
v1.1.1
🔥 Bug fix
- Fix click for React 18 (#612) @HichamELBSI
v1.1.0
💅 Enhancement
- [Dark mode] Toggle (#567) @ronronscelestes
- [Dark mode] Color enhancements (#597) @ronronscelestes
- [Dark mode] Memorize mode (#586) @ronronscelestes
- [FieldInput] Make input element cover the whole box (#579) @gu-stav
- [Flex] Add
gap
prop (#583) @MattieBelt - [Logo customization] Logo dimensions contained (#598) @ronronscelestes
- [Stack] Move vertical stack from Box to Flex with direction set to column (#599) @ronronscelestes
- [ToggleCheckbox] Improve disabled state styles and show default value (#585) @gu-stav
⚙️ Chore
- Add v2 components to the build (#578) @HichamELBSI
🔥 Bug fix
- Fix e2e test & CI (#600) @HichamELBSI
📖 Documentation
- Fix/wording fixes (#587) @philippkhon
- Update CONTRIBUTING.md (#589) @HichamELBSI
v1.0.0
🔥 Bug fix
- Fix popover repositioning (#528) @HichamELBSI
- Fix - Select clear button type (#532) @ronronscelestes
- Move labelAction into the FieldLabel component (#536) @gu-stav
- CardAsset: avoid stretching images (#537) @gu-stav
⚙️ Chore
- 💥 Remove react-router-dom peer dependency + Update documentation (#529) @HichamELBSI
- Move e2e test from Jest-Playwright to official Playwright runner (#544) @HichamELBSI
📖 Documentation
- Add docs to the first set of components (#533) @HichamELBSI
💅 Enhancement
- feat(combobox-oninputchange): Add onInputChange prop for Combobox (#535) @artkondakov
- ToggleCheckbox: Improve styles to clarify the components state (#538) @gu-stav
- style(design-tokens): Update design tokens (#543) @Specifyapp
- SimpleMenu: expose onOpen and onClose callbacks (#545) @gu-stav
- SimpleMenu: Add size prop and define small size (#552) @gu-stav
- Rename Stack size prop to spacing (#553) @HichamELBSI
- Datepicker: make min/ max date configurable and extend default range (#554) @gu-stav
- Loader: add small usage to docs, use theme spaces (#556) @gu-stav
- SimpleMenu: remove invalid HTML attribute label (#558) @gu-stav
- DatePicker: allow passing in a placeholder, to fix a flaky test (#559) @gu-stav
💥 Breaking changes
New link usage
import { Link } from '@strapi/design-system/Link';
<Link isExternal href="https://strapi.io">Strapi</Link>
Usage with routing libraries (e.g. react-router-dom)
import { Link } from '@strapi/design-system/Link';
import { NavLink } from 'react-router-dom';
<Link as={NavLink} to="/somewhere">Somewhere</Link>
Usage with NextJS
import { Link } from '@strapi/design-system/Link';
import NextLink from 'next/link';
<NextLink href="/home" passHref>
<Link>Home</Link>
</NextLink>
- LinkButton
- MainNav
- NavLink
- NavBrand
- SubNav
- SubNavLink
- Pagination
- PageLink
- PreviousLink
- NextLink
- SimpleMenu
- MenuItem