Skip to content

Commit

Permalink
chore: release s2 button (next) (#2722)
Browse files Browse the repository at this point in the history
* chore: release s2 button (next)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Patrick Fulton <360251+pfulton@users.noreply.github.com>
  • Loading branch information
3 people committed May 1, 2024
1 parent 3559678 commit e0e0fd2
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
Expand Up @@ -100,6 +100,7 @@
"@spectrum-css/ui-icons": "1.1.2"
},
"changesets": [
"nine-kings-repair",
"perfect-dogs-smash",
"pretty-parents-drum"
]
Expand Down
20 changes: 20 additions & 0 deletions components/button/CHANGELOG.md
@@ -1,5 +1,25 @@
# Change Log

## 14.0.0-next.6

### Major Changes

- [#2600](https://github.com/adobe/spectrum-css/pull/2600) [`3559678`](https://github.com/adobe/spectrum-css/commit/35596780a1309dd145fa565461d330ddfaf50e68) Thanks [@jawinn](https://github.com/jawinn)!

#### Spectrum 2 migration
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:

- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
- The `.spectrum-Button--fill` class is no longer needed and has been removed.

The following `--mod` custom properties have been renamed:

- `--mod-line-height-100` has been renamed to `--mod-button-line-height`
- `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
- `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
- `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`

## 14.0.0-next.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion components/button/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/button",
"version": "14.0.0-next.5",
"version": "14.0.0-next.6",
"description": "The Spectrum CSS button component",
"license": "Apache-2.0",
"author": "Adobe",
Expand Down

0 comments on commit e0e0fd2

Please sign in to comment.