Skip to content

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

v0.87.0

10 Dec 07:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.86.2...v0.87.0

v0.86.2

30 Nov 18:50
Compare
Choose a tag to compare

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

22 Nov 22:49
Compare
Choose a tag to compare

What's Changed

  • fix(tree-view): do not traverse original nodes by @metonym in #2056

Full Changelog: v0.86.0...v0.86.1

v0.86.0

20 Nov 03:00
Compare
Choose a tag to compare

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" in package.json and remove bundled ESM/UMD support by @metonym in #1995
  • feat(tree-view)!: (Svelte 5 compatibility) rename children prop to nodes by @metonym in #2014
  • feat(recursive-list)!: (Svelte 5 compatibility) rename children prop to nodes by @metonym in #2015
  • fix(types)!: use type alias instead of interface for exported component props by @metonym in #2030

Features

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 to DataTable 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

09 Nov 22:38
Compare
Choose a tag to compare

What's Changed

  • fix(theme): Theme correctly imports toggle, 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 in DataTable 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

25 Oct 17:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.85.2...v0.85.3

v0.85.2

14 Aug 16:28
Compare
Choose a tag to compare

What's Changed

  • fix(header-action): allow vertical scroll when expanded by @metonym in #1992

Full Changelog: v0.85.1...v0.85.2

v0.85.1

09 Aug 13:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.85.0...v0.85.1

v0.85.0

23 Mar 22:11
Compare
Choose a tag to compare

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

  • refactor!: use :global() for custom UI Shell styles by @metonym in #1940

Full Changelog: v0.84.1...v0.85.0

v0.84.1

16 Mar 16:44
Compare
Choose a tag to compare

What's Changed

  • fix(data-table): loosen sort return type to be a number by @berndfuhrmann in #1935
  • fix(checkbox): forward focus, blur events to Checkbox and InlineCheckbox by @wickning1 in #1937

New Contributors

Full Changelog: v0.84.0...v0.84.1