Breaking Changes
- use
.svelte.d.ts
extension instead of.d.ts
for Svelte component TypeScript definitions (3203e7a, #856)
This breaking change affects TypeScript users using the direct component import path.
To fix any type errors, append a ".svelte"
to the import.
- import Button from "carbon-components-svelte/src/Button/Button";
+ import Button from "carbon-components-svelte/src/Button/Button.svelte";
Features
- support
Tag
outline type (9f2e38f, #854) - add
hideLabel
prop toMultiSelect
(b2812a1, #854) - allow any Svelte component to be used for
icon
props, not justCarbonIcon
(b21600c, #806) - add
closeIcon
prop toHeaderAction
to override the defaultClose20
icon (fc9e8a6, #840 contributed by @miedzikd)
Fixes
- avoid opening the calendar if
DatePickerInput
is a disabledfieldset
descendant (b616243, #860) - remove
stopPropagation
modifier fromHeaderAction
to allow multiple UI Shell app switchers (b85ab30, #840 contributed by @miedzikd)
Housekeeping
- upgrade
carbon-components
to v10.46.0