Skip to content

Commit 2381f1a

Browse files
chore: release (next) (#2801)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 81edcde commit 2381f1a

File tree

3 files changed

+24
-11
lines changed

3 files changed

+24
-11
lines changed

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
},
102102
"changesets": [
103103
"eleven-cooks-destroy",
104+
"fresh-seahorses-join",
104105
"nine-kings-repair",
105106
"perfect-dogs-smash",
106107
"pretty-parents-drum",

components/button/CHANGELOG.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
11
# Change Log
22

3+
## 14.0.0-next.7
4+
5+
### Patch Changes
6+
7+
- [#2725](https://github.com/adobe/spectrum-css/pull/2725) [`81edcde`](https://github.com/adobe/spectrum-css/commit/81edcde7fc606acd86b2bdb4379e0d2f96a5e211) Thanks [@jawinn](https://github.com/jawinn)! - #### refactor: remove spectrum-ButtonWithFocusRing placeholder class extend
8+
9+
Removes the need for the extend from this placeholder class, as the styles it provides have diverged slightly from what is in button and it was causing some unnecessary CSS to override.
10+
This should not result in any changed visuals or behavior, as the same CSS has been integrated.
11+
312
## 14.0.0-next.6
413

514
### Major Changes
615

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)!
16+
- [#2600](https://github.com/adobe/spectrum-css/pull/2600) [`3559678`](https://github.com/adobe/spectrum-css/commit/35596780a1309dd145fa565461d330ddfaf50e68) Thanks [@jawinn](https://github.com/jawinn)!
817

918
#### 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:
1119

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.
20+
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
21+
22+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
23+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
24+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
1525

16-
The following `--mod` custom properties have been renamed:
26+
The following `--mod` custom properties have been renamed:
1727

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`
28+
- `--mod-line-height-100` has been renamed to `--mod-button-line-height`
29+
- `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
30+
- `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
31+
- `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
2232

2333
## 14.0.0-next.5
2434

@@ -43,7 +53,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
4353
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.
4454

4555
<a name="13.0.0"></a>
56+
4657
# 13.0.0
58+
4759
🗓
4860
2024-04-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/[email protected]...@spectrum-css/[email protected])
4961

components/button/package.json

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

0 commit comments

Comments
 (0)