Skip to content

@spectrum-css/[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Feb 18:36
· 43 commits to main since this release
f229c2c

Major Changes

  • #3557 c6836fb Thanks @cdransf! - # S2 divider migration

    This migrates the divider component to S2. Custom properties have been remapped and updated per the design spec.

    New properties

    --spectrum-divider-horizontal-minimum-width
    --spectrum-divider-vertical-minimum-height

    New mods

    --mod-divider-inline-minimum-size
    --mod-divider-block-minimum-size

    Removed mods

    --mod-divider-background-color-large-static-black
    --mod-divider-background-color-large-static-white
    --mod-divider-background-color-medium-static-black
    --mod-divider-background-color-medium-static-white
    --mod-divider-background-color-small-static-black
    --mod-divider-background-color-small-static-white

    Additions

    This adds new minimum width and height tokens for the divider and the minDimensionValues arg has been removed in favor of these tokens and the rules with which they're applied.

    The default size for the Storybook control has been changed to medium (the new default size for the component). All sizes are now displayed for the static color variants in the docs.

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.