Skip to content

Releases: strapi/design-system

v1.2.1

01 Aug 12:20
37b263d
Compare
Choose a tag to compare

💅 Enhancement

📖 Documentation

🔥 Bug fix

v1.2.1-beta.0

18 Jul 14:14
4cbed35
Compare
Choose a tag to compare
v1.2.1-beta.0 Pre-release
Pre-release

⚙️ Chore

🔥 Bug fix

  • NumberInput: Fix maximum significant digits which are displayed (#641) @gu-stav
  • Fix e2e:watch command using chokidar-cli (#649) @gu-stav
  • Accordion: Make height of AccordionToggle flexbile and add title ellipsis (#652) @gu-stav

💅 Enhancement

v1.2.0

22 Jun 13:24
7c6abe0
Compare
Choose a tag to compare

⚙️ Chore

🔥 Bug fix

📖 Documentation

  • Typography: Add documentation about the ellipsis prop (#610) @gu-stav
  • Use Typography to avoid color issue while switching theme (#613) @imklau

v1.1.1

14 Jun 16:46
792cdfa
Compare
Choose a tag to compare

🔥 Bug fix

v1.1.0

14 Apr 14:06
efa8130
Compare
Choose a tag to compare

💅 Enhancement

⚙️ Chore

🔥 Bug fix

📖 Documentation

v1.0.0

02 Mar 17:03
7a11c6a
Compare
Choose a tag to compare

🔥 Bug fix

⚙️ Chore

  • 💥 Remove react-router-dom peer dependency + Update documentation (#529) @HichamELBSI
  • Move e2e test from Jest-Playwright to official Playwright runner (#544) @HichamELBSI

📖 Documentation

💅 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>

⚠️ ⚠️ ⚠️ The same applies to the following components

  • LinkButton
  • MainNav
    • NavLink
    • NavBrand
  • SubNav
    • SubNavLink
  • Pagination
    • PageLink
    • PreviousLink
    • NextLink
  • SimpleMenu
    • MenuItem