Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 996 Bytes

hot-books-fail.md

File metadata and controls

13 lines (10 loc) · 996 Bytes
@spectrum-css/picker
major

Spectrum 2 migration

Picker now uses Spectrum 2 tokens and specifications. A few notable changes:

  • The mod custom property --mod-line-height-100 has been renamed to --mod-button-line-height.
  • The mod custom property --mod-sans-font-family-stack has been renamed to --mod-button-font-family.
  • The mod custom property --mod-animation-duration-100 has been renamed to --mod-button-animation-duration.
  • 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.
  • 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.