Skip to content

Releases: carbon-design-system/carbon-components-svelte

v0.11.0

05 Sep 22:36
Compare
Choose a tag to compare

Features

  • UI Shell: add HeaderGlobalAction component (7b3c111)

v0.10.0

05 Sep 16:13
Compare
Choose a tag to compare

Features

  • UI Shell: add Close/AppSwitcher as default icons for HeaderAction component (5f62cde)
  • ButtonSet: add stacked prop (c8e0a59)
  • Link: set rel attribute to "noopener noreferrer" if target is "_blank" (4b7d254)

Fixes

  • TextInput: add missing required prop to input (PR #237, thanks @kamil-murtaza)
  • StructuredList: change element semantics from section to div to avoid accessibility error (117dbcf)
  • MultiSelect: add light variant to text input (6a955b1)
  • NumberInput: disable label, helper text if disabled is set to true (37c7f07)
  • Pagination: use singular page range text if total is 1 (3d64fb2)

Housekeeping

  • add .prettierrc and enable svelteStrictMode (42b8159)
  • remove documentation of non-existent small Button prop (41a533d)
  • upgrade TypeScript to version >=4 (e7e67f3)
  • bump prettier, prettier-plugin-svelte (322b238)
  • bump rollup, rollup plugins (00b9068)
  • require node >=12 for development/CI (bf0f11a)

v0.9.7

23 Aug 20:41
Compare
Choose a tag to compare

This patch release addresses the InlineNotification and ToastNotification components in PR#235 (thanks @Overbryd!).

Enhancements

  • Allow InlineNotification to be closed after a timeout (consistent behavior with ToastNotification)

Bug fixes

  • Dispatch "close" event in ToastNotification if closing using timeout (e.g. timeout={2000})

Documentation

  • Fix JSDoc comment for timeout prop

v0.9.6

15 Aug 15:53
Compare
Choose a tag to compare

Documentation

As part of the Rollup build process, we leverage the Svelte compiler to parse exported components to generate TypeScript definitions and static documentation (PR #228). Previously, some components were incorrectly typed (issue #227).

Bug fixes

  • fix broken DatePicker: reverts 6d5f1e5 to use default imports (issue #232)

v0.9.5

12 Aug 21:41
Compare
Choose a tag to compare
  • fix Modal and ComposedModal to prevent modal from closing unexpectedly (Issue #229 , PR #231)

v0.9.4

08 Aug 23:37
Compare
Choose a tag to compare
  • ignore false positive a11y-label-has-associated-control warnings added in svelte version 3.24.1 (Issue #226)
  • fix DatePicker: use wildcard import to resolve flatpickr "no default" error when using ESM
  • allow CodeSnippet button to be optional by using the hideCopyButton prop
  • refactor CodeSnippet: replace afterUpdate with reactive statement
  • fix CodeSnippet: forward feedback, feedbackTimeout props to Copy component