Skip to content

Commit e2041b4

Browse files
committed
chore: merge in latest from main
1 parent 0b730ea commit e2041b4

File tree

4 files changed

+68
-33
lines changed

4 files changed

+68
-33
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696

9797
- name: Lint component styles
9898
if: ${{ inputs.styles_added_files != '' || inputs.styles_modified_files != '' }}
99-
uses: reviewdog/[email protected].0
99+
uses: reviewdog/[email protected].2
100100
with:
101101
fail_level: error
102102
filter_mode: diff_context
@@ -108,7 +108,7 @@ jobs:
108108
packages: 'stylelint-header stylelint-config-standard stylelint-selector-bem-pattern stylelint-order stylelint-use-logical'
109109

110110
- name: Run eslint on packages and stories
111-
uses: reviewdog/[email protected].0
111+
uses: reviewdog/[email protected].2
112112
if: ${{ inputs.eslint_added_files != '' || inputs.eslint_modified_files != '' }}
113113
with:
114114
fail_level: error
@@ -119,7 +119,7 @@ jobs:
119119
eslint_flags: "${{ inputs.eslint_added_files }} ${{ inputs.eslint_modified_files }}"
120120

121121
- name: Run markdownlint on documentation
122-
uses: reviewdog/[email protected].0
122+
uses: reviewdog/[email protected].2
123123
with:
124124
reporter: github-pr-review
125125
filter_mode: diff_context

components/actionbutton/CHANGELOG.md

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,31 @@
44

55
### Major Changes
66

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`
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)!
8+
9+
Action button now uses Spectrum 2 tokens and design specifications. A few notable changes:
10+
11+
- Medium is now the default size and `.spectrum-ActionButton--sizeM` has been removed.
12+
- Includes the Spectrum 2 down state transform.
13+
- 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.
14+
- 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.
15+
- Background and content colors were updated.
16+
- Mod custom properties have been adjusted:
17+
- Renamed:
18+
- `--mod-line-height-100` renamed to `--mod-actionbutton-line-height`.
19+
- `--mod-sans-font-family-stack` renamed to `--mod-button-font-family`.
20+
- `--mod-animation-duration-100` renamed to `--mod-button-animation-duration`.
21+
- Removed:
22+
- `--mod-actionbutton-border-color-default`
23+
- `--mod-actionbutton-border-color-disabled`
24+
- `--mod-actionbutton-border-color-down`
25+
- `--mod-actionbutton-border-color-focus`
26+
- `--mod-actionbutton-border-color-hover`
27+
- `--mod-actionbutton-border-width`
28+
- `--mod-actionbutton-static-content-color`
29+
- New:
30+
- `--mod-actionbutton-font-weight`
31+
- `--mod-actionbutton-font-style`
3032

3133
## 8.0.0-next.0
3234

@@ -35,6 +37,14 @@
3537
- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
3638
- @spectrum-css/icon@10.0.0-next.0
3739

40+
## 7.1.3
41+
42+
### Patch Changes
43+
44+
📝 [#3644](https://github.com/adobe/spectrum-css/pull/3644) [`5adef1d`](https://github.com/adobe/spectrum-css/commit/5adef1d15d07516dc9c1aac7bbcf9ac5bdeb9e97) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
45+
46+
Fix support for `--mod-actionbutton-border-radius` to make sure it is surfaced to consumers, and properly overwrites the default border radius setting.
47+
3848
## 7.1.2
3949

4050
### Patch Changes

components/button/CHANGELOG.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Change log
22

3+
## 15.0.0-next.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
8+
- @spectrum-css/icon@10.0.0-next.0
9+
10+
## 14.1.4
11+
12+
### Patch Changes
13+
14+
📝 [#3648](https://github.com/adobe/spectrum-css/pull/3648) [`8e52975`](https://github.com/adobe/spectrum-css/commit/8e52975c9c75d1fc44089a3b112c7f1745f8cea3) Thanks [@rise-erpelding](https://github.com/rise-erpelding)!
15+
16+
S2 Foundations fixes to adjust:
17+
18+
- primary outline background color for hover, active, and focus states (gray-100)
19+
- secondary fill background color for active state (gray-200)
20+
- secondary outline background color for hover, active, and focus states (gray-100)
21+
- secondary outline border color for default (gray-300) and active states (gray-400)
22+
323
## 14.1.3
424

525
### Patch Changes
@@ -23,13 +43,6 @@ This PR includes changes to:
2343

2444
- Adjust border colors for static black and static white outline buttons, primary variant to match S2 spec.
2545

26-
## 15.0.0-next.0
27-
28-
### Patch Changes
29-
30-
- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
31-
- @spectrum-css/icon@10.0.0-next.0
32-
3346
## 14.1.1
3447

3548
### Patch Changes

components/pickerbutton/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
- @spectrum-css/menu@10.0.0-next.0
1010
- @spectrum-css/popover@9.0.0-next.0
1111

12+
## 6.1.2
13+
14+
### Patch Changes
15+
16+
📝 [#3630](https://github.com/adobe/spectrum-css/pull/3630) [`954243f`](https://github.com/adobe/spectrum-css/commit/954243fe5c9a6ff0649ee041d197fcd0d9ad5899) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
17+
18+
Updates background colors for the picker button to match S2-foundations design specifications:
19+
20+
- default state: `gray-50` to `gray-100`
21+
- hover state: `gray-100` to `gray-200`
22+
- key-focus state: `gray-100` to `gray-200`
23+
1224
## 6.1.1
1325

1426
### Patch Changes

0 commit comments

Comments
 (0)