Skip to content

Releases: utilitywarehouse/design-systems

@utilitywarehouse/[email protected]

24 Feb 11:45
1db2694
Compare
Choose a tag to compare

Patch Changes

  • #20 f5b87a4 Thanks @robphoenix! - Export custom styled utility, supporting typed custom theme

  • 46c06dc Thanks @robphoenix! - This change removes the Background component, moving the same functionality into the Box component. The Background component felt superfluous to our needs, and it feels more intuitive to have the functionality on the underlying Box component anyway. See also Braid

  • #28 8dee2ed Thanks @robphoenix! - This change clarifies the typography components API.

    The Text and Heading components are intended to meet the majority of typography needs. These components are responsive and aware of any background context from containing Box components, meaning the foreground colour will change depending on whether they are rendered within a neutral background or an inverse background. They do not include the MUI system props for styling, however the sx prop is available to use as an escape hatch for any custom styling needs.

    The Typography component is available for more custom typography needs, it has no predefined styling but full access to the system props. The variant prop will be deprecated, and removed in a major release, but is currently available for backwards compatability.

  • #28 8dee2ed Thanks @robphoenix! - This change removes the surplus height on the Icon component, closing https://linear.app/utilitywarehouse/issue/UWDS-270/fix-icon-component

  • #18 cfc802a Thanks @robphoenix! - This change enables support for MUI system props on Box and layout components. This is a good reason why we will follow MUIs precedent for this supporting system props.

@utilitywarehouse/[email protected]

16 Dec 14:36
d9f4884
Compare
Choose a tag to compare

Patch Changes