Skip to content

Commit e0e0fd2

Browse files
chore: release s2 button (next) (#2722)
* chore: release s2 button (next) --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Patrick Fulton <[email protected]>
1 parent 3559678 commit e0e0fd2

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.changeset/pre.json

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"@spectrum-css/ui-icons": "1.1.2"
101101
},
102102
"changesets": [
103+
"nine-kings-repair",
103104
"perfect-dogs-smash",
104105
"pretty-parents-drum"
105106
]

components/button/CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Change Log
22

3+
## 14.0.0-next.6
4+
5+
### Major Changes
6+
7+
- [#2600](https://github.com/adobe/spectrum-css/pull/2600) [`3559678`](https://github.com/adobe/spectrum-css/commit/35596780a1309dd145fa565461d330ddfaf50e68) Thanks [@jawinn](https://github.com/jawinn)!
8+
9+
#### Spectrum 2 migration
10+
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
11+
12+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
13+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
14+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
15+
16+
The following `--mod` custom properties have been renamed:
17+
18+
- `--mod-line-height-100` has been renamed to `--mod-button-line-height`
19+
- `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
20+
- `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
21+
- `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
22+
323
## 14.0.0-next.5
424

525
### Patch Changes

components/button/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@spectrum-css/button",
3-
"version": "14.0.0-next.5",
3+
"version": "14.0.0-next.6",
44
"description": "The Spectrum CSS button component",
55
"license": "Apache-2.0",
66
"author": "Adobe",

0 commit comments

Comments
 (0)