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
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
72
73
73
-
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.
74
+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
75
+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
76
+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
77
+
78
+
The following `--mod` custom properties have been renamed:
79
+
80
+
-`--mod-line-height-100` has been renamed to `--mod-button-line-height`
81
+
-`--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
82
+
-`--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
83
+
-`--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
84
+
85
+
## 14.0.0-next.5
74
86
75
87
### Patch Changes
76
88
@@ -82,6 +94,16 @@ Output for all component CSS files is now being run through a lightweight optimi
82
94
All notable changes to this project will be documented in this file.
83
95
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
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.
0 commit comments