@marigold/types

Have a look on the latest changes regarding @marigold/types

1.3.1

Patch Changes

  • 0bca5d8: Update React aria components

1.3.0

Minor Changes

  • c387b43: feat: allow React >=17.0.0

Patch Changes

  • c387b43: feat: allow React >=17.0.0

1.2.1

Patch Changes

  • 8b7be8e: fix(types): Update deps and fix peer dependency for @types/react.

1.2.0 (Released on Jul 8, 2025)

Minor Changes

  • 2babc0b: feat(components): Mark layout components as regions for accessibility.

    Added the ability to mark layout components as regions (ARIA role). This improves accessibility by allowing assistive technologies to identify significant sections of the page, making navigation easier for users with disabilities.

  • 956982a: feat(components): Make <Text> and <Headline> accessible by allowing ARIA labelling props

    <Text> and <Headline> will no longer cause type errors when ARIA labelling is used (aria-label, id, ...).

1.1.1

Patch Changes

1.1.0

Minor Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • #2764 1ff29cc0c Thanks @sebald! - refa: fix polymorph types + remove style props from <Box>

    BREAKING CHANGE:

    We deprecated the available short hands for styling on the <Box> component (also known as style props), for example <Box p="small">. This way it is more clear what to use when -> always the css prop.

    How to update your code: Basically move all style props to the css prop. E.g. <Box p="small" bg="primary"> becomes <Box css={{ p: "small, bg; "primary" }}>.

Patch Changes

0.5.7

Patch Changes

0.5.6

Patch Changes

0.5.5

Patch Changes

0.5.4

Patch Changes

0.5.3

Patch Changes

0.5.2

Patch Changes

0.5.1

Patch Changes

0.5.0

Minor Changes

0.5.0-beta.0

Minor Changes

0.4.1

Patch Changes

0.4.0

Minor Changes

0.3.0

Patch Changes

  • #1131 0ccc10de Thanks @sebald! - feat(types): Clarify and improve polymorphic types by calling it by its actual name ... polymorphic! We also added types when no ref should be passed.
  • #1132 b6614f1f Thanks @sebald! - feat(compoents): Make <Text> and <Link> polymorphic

    <Text>

    • the as prop supports arbitrary inputs
    • supporst ref
    • supports style props (text-align, color, cursor, user-select)

    <Link>

    • the as prop supports arbitrary inputs
    • does not support ref!
    • improved accessibility (react-aria)
Last update: November 27, 2024