Releases: carbon-design-system/carbon-components-svelte
Releases · carbon-design-system/carbon-components-svelte
v0.11.0
v0.10.0
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" iftarget
is "_blank" (4b7d254)
Fixes
- TextInput: add missing
required
prop to input (PR #237, thanks @kamil-murtaza) - StructuredList: change element semantics from
section
todiv
to avoid accessibility error (117dbcf) - MultiSelect: add
light
variant to text input (6a955b1) - NumberInput: disable label, helper text if
disabled
is set totrue
(37c7f07) - Pagination: use singular page range text if
total
is 1 (3d64fb2)
Housekeeping
v0.9.7
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 withToastNotification
)
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
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).
- TypeScript definitions: types/index.d.ts
- Static documentation in markdown format: Component Index (props/slots/events)
Bug fixes
v0.9.5
v0.9.4
- 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 thehideCopyButton
prop - refactor
CodeSnippet
: replace afterUpdate with reactive statement - fix
CodeSnippet
: forwardfeedback
,feedbackTimeout
props toCopy
component