Releases: carbon-design-system/carbon-components-svelte
v0.87.0
v0.86.2
What's Changed
- fix(multi-select): fix sorting behavior for
top-after-reopen
by @malinowskip in #2068
Full Changelog: v0.86.1...v0.86.2
v0.86.1
v0.86.0
What's Changed
This release's primary goal is Svelte 5 compatibility in non-runes mode. This library is still compatible with Svelte 3 and 4.
This minor release contains several breaking changes. Please read carefully and upgrade with caution.
Breaking Changes
- build(package): set
type="module"
inpackage.json
and remove bundled ESM/UMD support by @metonym in #1995 - feat(tree-view)!: (Svelte 5 compatibility) rename
children
prop tonodes
by @metonym in #2014 - feat(recursive-list)!: (Svelte 5 compatibility) rename
children
prop tonodes
by @metonym in #2015 - fix(types)!: use type alias instead of interface for exported component props by @metonym in #2030
Features
- feat(data-table): support generics by @KoichiKiyokawa, @brunnerh, @metonym in #1954
Fixes
- fix(multi-select): (Svelte 5 compatibility) avoid cyclic dependency for Svelte 5 compatibility by @malinowskip in #2034
- fix(data-table): (Svelte 5 compatibility) move
ToolbarSearch
filtering toDataTable
for Svelte 5 compatibility by @metonym in #2037 - fix(checkbox): (Svelte 5 compatibility) bind indeterminate for Svelte 5 compatibility by @metonym in #2044
- fix(toolbar-menu): (Svelte 5 compatibility) remove redundant menu offset for Svelte 5 compatibility by @metonym in #2047
Full Changelog: v0.85.4...v0.86.0
v0.85.4
What's Changed
- fix(theme):
Theme
correctly importstoggle
,select
props by @metonym in #2019 - fix(combo-box): fix types for
on:clear
by @metonym in #2020 - fix(toolbar-search): fix types for
on:clear
by @metonym in #2022 - fix(types): fix types for
on:paste
event by @metonym in #2021 - fix(data-table): fix
DataTableValue
types inDataTable
by @metonym in #2023 - fix(types): delete extraneous
icons/Search.svelte.d.ts
by @metonym in #2025
Full Changelog: v0.85.3...v0.85.4
v0.85.3
What's Changed
- fix: address Svelte 5 warnings by @metonym, @brunnerh in #2011
- chore(telemetry): update metrics endpoint by @IgnacioBecerra in #2008
New Contributors
- @IgnacioBecerra made their first contribution in #2007
Full Changelog: v0.85.2...v0.85.3
v0.85.2
v0.85.1
What's Changed
- fix(multi-select): fix
filterItem
return type by @eytanProxi in #1972 - fix(search): collapse expandable search if value is falsy by @jmeurice in #1987
- fix(text-area): type
value
prop as nullable by @CordlessWool in #1933
New Contributors
- @eytanProxi made their first contribution in #1972
- @jmeurice made their first contribution in #1987
- @CordlessWool made their first contribution in #1933
Full Changelog: v0.85.0...v0.85.1
v0.85.0
This release includes changes needed for the latest version of carbon-preprocess-svelte
, which is a from-scratch rewrite of the optimizeImports
preprocessor and optimizeCss
plugin.
If using pre-compiled CSS from carbon-components-svelte
, the optimizeCss
plugin can greatly reduce the outputted CSS bundle by remove unused Carbon CSS selectors.
See examples for usage.
export default defineConfig({
plugins: [sveltekit(), optimizeCss()],
});
Optimized index-CU4gbKFa.css
- Before: 606.26 kB
+ After: 53.22 kB (-91.22%)
What's Changed
Full Changelog: v0.84.1...v0.85.0
v0.84.1
What's Changed
- fix(data-table): loosen
sort
return type to be anumber
by @berndfuhrmann in #1935 - fix(checkbox): forward
focus
,blur
events toCheckbox
andInlineCheckbox
by @wickning1 in #1937
New Contributors
- @berndfuhrmann made their first contribution in #1935
- @wickning1 made their first contribution in #1937
Full Changelog: v0.84.0...v0.84.1