Releases: adobe/spectrum-css
@spectrum-css/[email protected]
@spectrum-css/[email protected]
Major Changes
- #2786
7fa37a7
Thanks @pfulton! - Removes empty theme assets from the component; no longer publishing a themes folder or index-theme.css map.
Patch Changes
- Updated dependencies [
7fa37a7
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Major Changes
- #2786
7fa37a7
Thanks @pfulton! - Removes empty theme assets from the component; no longer publishing a themes folder or index-theme.css map.
Patch Changes
- Updated dependencies [
7fa37a7
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Major Changes
- #2786
7fa37a7
Thanks @pfulton! - Removes empty theme assets from the component; no longer publishing a themes folder or index-theme.css map.
Patch Changes
- Updated dependencies [
7fa37a7
]:- @spectrum-css/[email protected]
- @spectrum-css/[email protected]
- @spectrum-css/[email protected]
@spectrum-css/[email protected]
@spectrum-css/[email protected]
Patch Changes
- Updated dependencies [
b9aeb20
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Major Changes
-
#2652
aa2a196
Thanks @jawinn! - #### Spectrum 2 migrationAlert banner now uses Spectrum 2 tokens and specifications. In this new design, the divider has been removed.
The following changes have been made to the mod custom properties:
--mod-alert-banner-size
was renamed to--mod-alert-banner-inline-size
--mod-alert-banner-neutral-background
was previously misspelled. The mod--mod-alert-banner-background
was also added, which will take precendence over the variant background mods.--mod-alert-banner-top-text
was renamed to--mod-alert-banner-top-to-text
--mod-alert-banner-top-icon
was renamed to--mod-alert-banner-top-to-icon
--mod-alert-banner-bottom-text
was renamed to--mod-alert-banner-bottom-to-text
--mod-alert-banner-start-edge
was renamed to--mod-alert-banner-inline-start-to-content
--mod-alert-banner-edge-to-button
was renamed to--mod-alert-banner-block-edge-to-button
- The spacing on either side of the close button is now controlled by two separate mods;
--mod-alert-banner-close-button-to-inline-end
and--mod-alert-banner-close-button-to-content
. The previous--mod-alert-banner-close-button-spacing
has been removed. - A new mod
--mod-alert-banner-inline-end-to-content
was added, which handles the inline end spacing when the alert banner does not have a close button. Or when there is neither a close button or an action button.
Patch Changes
- Updated dependencies [
b9aeb20
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Patch Changes
- #3441
dc1f06e
Thanks @castastrophe! - Allow --spectrum-picked-color to pass in gradient values to swatch [CSS-204]
@spectrum-css/[email protected]
Patch Changes
-
#2860
bd934cc
Thanks @marissahuysentruyt! - Spectrum 2 Standard Dialog MigrationThis is the migration for standard dialog. The Divider component is no longer supported in S2 dialogs. In addition, some new and updated tokens are in place to update dialog corner rounding, font treatments, spacing/padding, and maximum/minimum widths. There were several new elements implemented as well, including optional header and footer content, hero/cover images, checkbox and text-only options in the footer content area.
The
.spectrum-Dialog--small
,.spectrum-Dialog--medium
, and.spectrum-Dialog--large
sizing classes were deprecated and removed from the CSS in favor of the t-shirt sizes. Additionally, the spelling of the.spectrum-Dialog--dismissable
class was corrected to.spectrum-Dialog--dismissible
.Mod properties are either "new," have been renamed to reflect the respective dialog language, or were removed:
New Mods
--mod-standard-dialog-spacing-title-to-header-content
--mod-standard-dialog-spacing-title-to-description
--mod-standard-dialog-header-content-font-size
Renamed Mods
--mod-dialog-confirm-small-width
>--mod-standard-dialog-max-width-small
--mod-dialog-confirm-medium-width
>--mod-standard-dialog-max-width
--mod-dialog-confirm-large-width
>--mod-standard-dialog-max-width-large
--mod-dialog-confirm-border-radius
>--mod-standard-dialog-border-radius
--mod-dialog-confirm-description-text-size
>--mod-standard-dialog-description-font-size
--mod-dialog-confirm-description-text-line-height
>--mod-standard-dialog-description-line-height
--mod-dialog-confirm-description-text-color
>--mod-standard-dialog-description-text-color
--mod-dialog-confirm-description-font-weight
>--mod-standard-dialog-description-font-weight
--mod-dialog-heading-font-weight
>--mod-standard-dialog-heading-font-weight
--mod-dialog-confirm-title-text-line-height
>--mod-standard-dialog-heading-line-height
--mod-dialog-confirm-title-text-color
>--mod-standard-dialog-heading-text-color
--mod-dialog-confirm-title-text-size
>--mod-standard-dialog-heading-font-size
--mod-dialog-confirm-hero-height
>--mod-standard-dialog-hero-block-size
--mod-dialog-min-inline-size
>--mod-standard-dialog-min-inline-size
--mod-dialog-confirm-padding-grid
>--mod-standard-dialog-spacing-grid-padding
--mod-dialog-confirm-footer-padding-top
>--mod-standard-dialog-spacing-description-to-footer
--mod-dialog-confirm-close-button-padding
>--mod-standard-dialog-spacing-edge-to-close-button
--mod-dialog-confirm-gap-size
>--mod-standard-dialog-spacing-footer-to-button-group
Removed Mods
--mod-dialog-confirm-buttongroup-padding-top
--mod-dialog-confirm-close-button-size
--mod-dialog-confirm-description-margin
--mod-dialog-confirm-description-padding
--mod-dialog-confirm-divider-block-spacing-end
--mod-dialog-confirm-divider-block-spacing-start
--mod-dialog-confirm-divider-height
Modal and underlay updates
- Modal component now uses the updated corner rounding.
- Underlay has an updated comment that addresses the overlay-color/overlay-opacity tokens.
-
Updated dependencies [
bd934cc
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Patch Changes
- Updated dependencies [
bd934cc
,2c62239
,eda9897
]:- @spectrum-css/[email protected]
- @spectrum-css/[email protected]