Skip to content

Commit 3b11406

Browse files
github-actions[bot]pfulton
authored andcommitted
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 <360251+pfulton@users.noreply.github.com>
1 parent 586b02a commit 3b11406

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

components/button/CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,25 @@ The following `--mod` custom properties have been renamed:
103103

104104
## 13.1.0
105105

106-
### Minor Changes
106+
### Major Changes
107107

108-
- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)!
108+
- [#2600](https://github.com/adobe/spectrum-css/pull/2600) [`3559678`](https://github.com/adobe/spectrum-css/commit/35596780a1309dd145fa565461d330ddfaf50e68) Thanks [@jawinn](https://github.com/jawinn)!
109+
110+
#### Spectrum 2 migration
111+
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
109112

110-
#### Build optmizations to support minification
113+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
114+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
115+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
111116

112-
Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets.
117+
The following `--mod` custom properties have been renamed:
118+
119+
- `--mod-line-height-100` has been renamed to `--mod-button-line-height`
120+
- `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
121+
- `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
122+
- `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
123+
124+
## 14.0.0-next.5
113125

114126
<a name="13.0.0"></a>
115127

0 commit comments

Comments
 (0)