Skip to content

Commit f919a94

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 d6a75d5 commit f919a94

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed

.changeset/pre.json

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
},
103103
"changesets": [
104104
"big-chairs-care",
105+
"nine-kings-repair",
105106
"perfect-dogs-smash",
106107
"pretty-parents-drum",
107108
"sixty-vans-thank",

components/button/CHANGELOG.md

+27-5
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,27 @@ Dependency alignment across the project.
174174
- @spectrum-css/progresscircle@3.1.1
175175
- @spectrum-css/icon@7.1.1
176176

177-
## 13.1.0
177+
## 14.0.0-next.6
178178

179-
### Minor Changes
179+
### Major Changes
180180

181-
- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)!
181+
- [#2600](https://github.com/adobe/spectrum-css/pull/2600) [`3559678`](https://github.com/adobe/spectrum-css/commit/35596780a1309dd145fa565461d330ddfaf50e68) Thanks [@jawinn](https://github.com/jawinn)!
182182

183-
#### Build optmizations to support minification
183+
#### Spectrum 2 migration
184+
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
184185

185-
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.
186+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
187+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
188+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
189+
190+
The following `--mod` custom properties have been renamed:
191+
192+
- `--mod-line-height-100` has been renamed to `--mod-button-line-height`
193+
- `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
194+
- `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
195+
- `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
196+
197+
## 14.0.0-next.5
186198

187199
### Patch Changes
188200

@@ -194,6 +206,16 @@ Output for all component CSS files is now being run through a lightweight optimi
194206
All notable changes to this project will be documented in this file.
195207
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
196208

209+
## 13.1.0
210+
211+
### Minor Changes
212+
213+
- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)!
214+
215+
#### Build optmizations to support minification
216+
217+
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.
218+
197219
<a name="13.0.0"></a>
198220

199221
## 13.0.0

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)