sterling-svelte  1.0.4
A modern, accessible, lightweight UI component library for Svelte.

Changelog

1.0.4

  • Fix: Checkbox top-level div missing checked class. Prevented styling above the input.
  • Fix: Label MutationObserver creation was not in onMount. Caused an error if used before parent component mounted.
  • Fix: Callout referenced document rather than globalThis.document. Caused an error if used before parent component mounted.
  • Fix: Popover referenced document rather than globalThis.document. Caused an error if used before parent component mounted.
  • Fix: prefersColorSchemeDark mediaQuery subscriptions not within onMount. Caused an error if used before parent component was mounted.
  • Fix: prefereReducedMotion mediaQuery subscriptions not within onMount. Caused an error if used before parent component was mounted.
  • Fix: usingKeyboard keyborg subscriptions not within onMount. Caused an error if used before parent component was mounted.

1.0.3

  • Fix: Dropdown and Select missing an icon slot to allow customization within the button.
  • Fix: Dropdown rendering value div was not conditional on the value slot.
  • Fix: Popover and Callout created ResizeObserver before mount causing a ResizeObserver undefined error.
  • Feature: Added menuVariant to MenuButton to provide style customization.
  • Feature: Added listVariant to Select to provide style customization.
  • Fix: sterling.css Input styles used .label instead of .sterling-input.label .

1.0.2

(Not published)

1.0.1

  • Fix: Dialog.svelte inadvertly imported sterling.css.