You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: components/actionbutton/CHANGELOG.md
+28
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,33 @@
1
1
# Change log
2
2
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`.
0 commit comments