Skip to content

Commit f8c6e9d

Browse files
chore: release (next) (#3638)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b2c6357 commit f8c6e9d

File tree

15 files changed

+53
-24
lines changed

15 files changed

+53
-24
lines changed

.changeset/pre.json

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"angry-needles-behave",
103103
"beige-dragons-tickle",
104104
"big-beds-care",
105+
"chilled-peaches-enjoy",
105106
"chilly-peaches-sniff",
106107
"clean-oranges-smell",
107108
"few-doors-smile",

components/actionbutton/CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Change log
22

3+
## 8.0.0-next.1
4+
5+
### Major Changes
6+
7+
- [#2669](https://github.com/adobe/spectrum-css/pull/2669) [`b2c6357`](https://github.com/adobe/spectrum-css/commit/b2c6357c542737fb996cf8378354f525adde1fc2) Thanks [@mdt2](https://github.com/mdt2)! - Action button now uses Spectrum 2 tokens and design specifications. A few notable changes:
8+
9+
- Medium is now the default size and `.spectrum-ActionButton--sizeM` has been removed.
10+
- Includes the Spectrum 2 down state transform.
11+
- The component border was not removed and its color was changed to `transparent` in order to continue support for Windows High Contrast / forced colors, which still shows a border. The mod custom properties for border were removed to avoid interference with Windows High Contrast / forced colors accessibility.
12+
- Some selectors to target the icon + text button and the icon-only button have been simplified using `:has`. This removes some overly complex `calc()` functions used for inline spacing, uses the design tokens more directly, and removes the previously documented need for the component's child elements to use a specific source order.
13+
- Background and content colors were updated.
14+
- Mod custom properties have been adjusted:
15+
- Renamed:
16+
- `--mod-line-height-100` renamed to `--mod-actionbutton-line-height`.
17+
- `--mod-sans-font-family-stack` renamed to `--mod-button-font-family`.
18+
- `--mod-animation-duration-100` renamed to `--mod-button-animation-duration`.
19+
- Removed:
20+
- `--mod-actionbutton-border-color-default`
21+
- `--mod-actionbutton-border-color-disabled`
22+
- `--mod-actionbutton-border-color-down`
23+
- `--mod-actionbutton-border-color-focus`
24+
- `--mod-actionbutton-border-color-hover`
25+
- `--mod-actionbutton-border-width`
26+
- `--mod-actionbutton-static-content-color`
27+
- New:
28+
- `--mod-actionbutton-font-weight`
29+
- `--mod-actionbutton-font-style`
30+
331
## 8.0.0-next.0
432

533
### Patch Changes

components/actionbutton/package.json

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

components/actiongroup/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"devDependencies": {
40-
"@spectrum-css/actionbutton": "8.0.0-next.0",
40+
"@spectrum-css/actionbutton": "8.0.0-next.1",
4141
"@spectrum-css/tokens": "16.0.1"
4242
},
4343
"keywords": [

components/actionmenu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
3333
},
3434
"devDependencies": {
35-
"@spectrum-css/actionbutton": "8.0.0-next.0",
35+
"@spectrum-css/actionbutton": "8.0.0-next.1",
3636
"@spectrum-css/icon": "10.0.0-next.0",
3737
"@spectrum-css/menu": "10.0.0-next.1",
3838
"@spectrum-css/popover": "9.0.0-next.1",

components/breadcrumb/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
},
4343
"devDependencies": {
44-
"@spectrum-css/actionbutton": "8.0.0-next.0",
44+
"@spectrum-css/actionbutton": "8.0.0-next.1",
4545
"@spectrum-css/icon": "10.0.0-next.0",
4646
"@spectrum-css/tokens": "16.0.1"
4747
},

components/calendar/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"devDependencies": {
40-
"@spectrum-css/actionbutton": "8.0.0-next.0",
40+
"@spectrum-css/actionbutton": "8.0.0-next.1",
4141
"@spectrum-css/tokens": "16.0.1"
4242
},
4343
"keywords": [

components/card/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
}
5858
},
5959
"devDependencies": {
60-
"@spectrum-css/actionbutton": "8.0.0-next.0",
60+
"@spectrum-css/actionbutton": "8.0.0-next.1",
6161
"@spectrum-css/asset": "7.1.0",
6262
"@spectrum-css/checkbox": "11.0.0-next.0",
6363
"@spectrum-css/icon": "10.0.0-next.0",

components/coachmark/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
}
5858
},
5959
"devDependencies": {
60-
"@spectrum-css/actionbutton": "8.0.0-next.0",
60+
"@spectrum-css/actionbutton": "8.0.0-next.1",
6161
"@spectrum-css/actionmenu": "8.0.0-next.0",
6262
"@spectrum-css/button": "15.0.0-next.0",
6363
"@spectrum-css/buttongroup": "10.0.0-next.0",

components/contextualhelp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646
},
4747
"devDependencies": {
48-
"@spectrum-css/actionbutton": "8.0.0-next.0",
48+
"@spectrum-css/actionbutton": "8.0.0-next.1",
4949
"@spectrum-css/link": "8.0.0-next.0",
5050
"@spectrum-css/popover": "9.0.0-next.1",
5151
"@spectrum-css/tokens": "16.0.1"

components/dropzone/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646
},
4747
"devDependencies": {
48-
"@spectrum-css/actionbutton": "8.0.0-next.0",
48+
"@spectrum-css/actionbutton": "8.0.0-next.1",
4949
"@spectrum-css/illustratedmessage": "9.1.0",
5050
"@spectrum-css/link": "8.0.0-next.0",
5151
"@spectrum-css/tokens": "16.0.1"

components/pagination/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
},
5151
"devDependencies": {
52-
"@spectrum-css/actionbutton": "8.0.0-next.0",
52+
"@spectrum-css/actionbutton": "8.0.0-next.1",
5353
"@spectrum-css/button": "15.0.0-next.0",
5454
"@spectrum-css/icon": "10.0.0-next.0",
5555
"@spectrum-css/textfield": "9.0.0-next.0",

components/stepper/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
},
5151
"devDependencies": {
52-
"@spectrum-css/actionbutton": "8.0.0-next.0",
52+
"@spectrum-css/actionbutton": "8.0.0-next.1",
5353
"@spectrum-css/icon": "10.0.0-next.0",
5454
"@spectrum-css/infieldbutton": "7.0.0-next.0",
5555
"@spectrum-css/textfield": "9.0.0-next.0",

tools/bundle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"devDependencies": {
3333
"@spectrum-css/accordion": "8.0.0-next.0",
3434
"@spectrum-css/actionbar": "11.0.0-next.0",
35-
"@spectrum-css/actionbutton": "8.0.0-next.0",
35+
"@spectrum-css/actionbutton": "8.0.0-next.1",
3636
"@spectrum-css/actiongroup": "7.0.0-next.0",
3737
"@spectrum-css/actionmenu": "8.0.0-next.0",
3838
"@spectrum-css/alertbanner": "4.0.0-next.1",

yarn.lock

+12-12
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,7 @@ __metadata:
38243824
languageName: unknown
38253825
linkType: soft
38263826

3827-
"@spectrum-css/actionbutton@npm:8.0.0-next.0, @spectrum-css/actionbutton@workspace:components/actionbutton":
3827+
"@spectrum-css/actionbutton@npm:8.0.0-next.1, @spectrum-css/actionbutton@workspace:components/actionbutton":
38283828
version: 0.0.0-use.local
38293829
resolution: "@spectrum-css/actionbutton@workspace:components/actionbutton"
38303830
dependencies:
@@ -3846,7 +3846,7 @@ __metadata:
38463846
version: 0.0.0-use.local
38473847
resolution: "@spectrum-css/actiongroup@workspace:components/actiongroup"
38483848
dependencies:
3849-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
3849+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
38503850
"@spectrum-css/tokens": "npm:16.0.1"
38513851
peerDependencies:
38523852
"@spectrum-css/actionbutton": ">=8.0.0-next.0"
@@ -3863,7 +3863,7 @@ __metadata:
38633863
version: 0.0.0-use.local
38643864
resolution: "@spectrum-css/actionmenu@workspace:components/actionmenu"
38653865
dependencies:
3866-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
3866+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
38673867
"@spectrum-css/icon": "npm:10.0.0-next.0"
38683868
"@spectrum-css/menu": "npm:10.0.0-next.1"
38693869
"@spectrum-css/popover": "npm:9.0.0-next.1"
@@ -4035,7 +4035,7 @@ __metadata:
40354035
version: 0.0.0-use.local
40364036
resolution: "@spectrum-css/breadcrumb@workspace:components/breadcrumb"
40374037
dependencies:
4038-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4038+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
40394039
"@spectrum-css/icon": "npm:10.0.0-next.0"
40404040
"@spectrum-css/tokens": "npm:16.0.1"
40414041
peerDependencies:
@@ -4058,7 +4058,7 @@ __metadata:
40584058
dependencies:
40594059
"@spectrum-css/accordion": "npm:8.0.0-next.0"
40604060
"@spectrum-css/actionbar": "npm:11.0.0-next.0"
4061-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4061+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
40624062
"@spectrum-css/actiongroup": "npm:7.0.0-next.0"
40634063
"@spectrum-css/actionmenu": "npm:8.0.0-next.0"
40644064
"@spectrum-css/alertbanner": "npm:4.0.0-next.1"
@@ -4190,7 +4190,7 @@ __metadata:
41904190
version: 0.0.0-use.local
41914191
resolution: "@spectrum-css/calendar@workspace:components/calendar"
41924192
dependencies:
4193-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4193+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
41944194
"@spectrum-css/tokens": "npm:16.0.1"
41954195
peerDependencies:
41964196
"@spectrum-css/actionbutton": ">=8.0.0-next.0"
@@ -4207,7 +4207,7 @@ __metadata:
42074207
version: 0.0.0-use.local
42084208
resolution: "@spectrum-css/card@workspace:components/card"
42094209
dependencies:
4210-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4210+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
42114211
"@spectrum-css/asset": "npm:7.1.0"
42124212
"@spectrum-css/checkbox": "npm:11.0.0-next.0"
42134213
"@spectrum-css/icon": "npm:10.0.0-next.0"
@@ -4308,7 +4308,7 @@ __metadata:
43084308
version: 0.0.0-use.local
43094309
resolution: "@spectrum-css/coachmark@workspace:components/coachmark"
43104310
dependencies:
4311-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4311+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
43124312
"@spectrum-css/actionmenu": "npm:8.0.0-next.0"
43134313
"@spectrum-css/button": "npm:15.0.0-next.0"
43144314
"@spectrum-css/buttongroup": "npm:10.0.0-next.0"
@@ -4485,7 +4485,7 @@ __metadata:
44854485
version: 0.0.0-use.local
44864486
resolution: "@spectrum-css/contextualhelp@workspace:components/contextualhelp"
44874487
dependencies:
4488-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4488+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
44894489
"@spectrum-css/link": "npm:8.0.0-next.0"
44904490
"@spectrum-css/popover": "npm:9.0.0-next.1"
44914491
"@spectrum-css/tokens": "npm:16.0.1"
@@ -4620,7 +4620,7 @@ __metadata:
46204620
version: 0.0.0-use.local
46214621
resolution: "@spectrum-css/dropzone@workspace:components/dropzone"
46224622
dependencies:
4623-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4623+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
46244624
"@spectrum-css/illustratedmessage": "npm:9.1.0"
46254625
"@spectrum-css/link": "npm:8.0.0-next.0"
46264626
"@spectrum-css/tokens": "npm:16.0.1"
@@ -4963,7 +4963,7 @@ __metadata:
49634963
version: 0.0.0-use.local
49644964
resolution: "@spectrum-css/pagination@workspace:components/pagination"
49654965
dependencies:
4966-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
4966+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
49674967
"@spectrum-css/button": "npm:15.0.0-next.0"
49684968
"@spectrum-css/icon": "npm:10.0.0-next.0"
49694969
"@spectrum-css/textfield": "npm:9.0.0-next.0"
@@ -5294,7 +5294,7 @@ __metadata:
52945294
version: 0.0.0-use.local
52955295
resolution: "@spectrum-css/stepper@workspace:components/stepper"
52965296
dependencies:
5297-
"@spectrum-css/actionbutton": "npm:8.0.0-next.0"
5297+
"@spectrum-css/actionbutton": "npm:8.0.0-next.1"
52985298
"@spectrum-css/icon": "npm:10.0.0-next.0"
52995299
"@spectrum-css/infieldbutton": "npm:7.0.0-next.0"
53005300
"@spectrum-css/textfield": "npm:9.0.0-next.0"

0 commit comments

Comments
 (0)