|
4 | 4 |
|
5 | 5 | ### Major Changes
|
6 | 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` |
| 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` |
30 | 32 |
|
31 | 33 | ## 8.0.0-next.0
|
32 | 34 |
|
|
35 | 37 | - Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
|
36 | 38 | - @spectrum-css/icon@10.0.0-next.0
|
37 | 39 |
|
| 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 | + |
38 | 48 | ## 7.1.2
|
39 | 49 |
|
40 | 50 | ### Patch Changes
|
|
0 commit comments