From ed1f0ea113f1f81a3e8ee6f0fb77f9e5ceafee2c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 19 Dec 2024 20:29:15 +0000 Subject: [PATCH] chore: release (next) --- .changeset/pre.json | 1 + components/alertbanner/CHANGELOG.md | 20 ++++++++++++++++++++ components/alertbanner/package.json | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 084e5511ef8..f4ba9a3c16d 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -121,6 +121,7 @@ "proud-jokes-rule", "spotty-onions-study", "strange-glasses-allow", + "tame-bobcats-beam", "twenty-tables-know" ] } diff --git a/components/alertbanner/CHANGELOG.md b/components/alertbanner/CHANGELOG.md index 3eb28a16468..8ed489c4fae 100644 --- a/components/alertbanner/CHANGELOG.md +++ b/components/alertbanner/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 3.0.0-next.0 + +### Major Changes + +- [#2652](https://github.com/adobe/spectrum-css/pull/2652) [`aa2a196`](https://github.com/adobe/spectrum-css/commit/aa2a196bce37c12ef560e9f6c6888ac82f0a514a) Thanks [@jawinn](https://github.com/jawinn)! - #### Spectrum 2 migration + + Alert 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. + ## 2.1.0 ### Minor Changes diff --git a/components/alertbanner/package.json b/components/alertbanner/package.json index 0d5219d9e81..d7d5178d6f0 100644 --- a/components/alertbanner/package.json +++ b/components/alertbanner/package.json @@ -1,6 +1,6 @@ { "name": "@spectrum-css/alertbanner", - "version": "2.1.0", + "version": "3.0.0-next.0", "description": "The Spectrum CSS alertbanner component", "license": "Apache-2.0", "author": "Adobe",