Skip to content

Commit

Permalink
chore: release (next)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 19, 2024
1 parent aa2a196 commit ed1f0ea
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"proud-jokes-rule",
"spotty-onions-study",
"strange-glasses-allow",
"tame-bobcats-beam",
"twenty-tables-know"
]
}
20 changes: 20 additions & 0 deletions components/alertbanner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion components/alertbanner/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ed1f0ea

Please sign in to comment.