Skip to content

Commit 31d6a43

Browse files
committed
chore(picker): add changeset
1 parent 19810ce commit 31d6a43

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.changeset/hot-books-fail.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@spectrum-css/picker": major
3+
---
4+
5+
#### Spectrum 2 migration
6+
7+
Picker now uses Spectrum 2 tokens and specifications. A few notable changes:
8+
9+
- The mod custom property `--mod-line-height-100` has been renamed to `--mod-button-line-height`.
10+
- The mod custom property `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`.
11+
- The mod custom property `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`.
12+
- The mod custom property `--mod-picker-spacing-text-to-alert-icon-inline-start` has been renamed to `--mod-picker-spacing-text-to-icon-inline-end`. This removed the fallback that was marked as deprecated in a previous version.
13+
- The mod custom property `--mod-picker-spacing-text-to-icon` has been removed. Use `--mod-picker-spacing-text-to-icon-inline-end` for the spacing between text and visual (indicator or disclosure), or `--mod-picker-spacing-starting-icon-to-text` for the space between the optional workflow icon and the text.

0 commit comments

Comments
 (0)