Skip to content

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

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

v0.84.0

08 Mar 05:21
Compare
Choose a tag to compare

What's Changed

  • feat(ui-shell): support button tooltip in HeaderGlobalAction by @spburtsev in #1894
  • fix(exports): resolve imports with explicit *.js extension by @metonym in #1927

New Contributors

Full Changelog: v0.83.0...v0.84.0

v0.83.0

07 Mar 04:02
0071990
Compare
Choose a tag to compare

What's Changed

  • ⚠️ BREAKING CHANGE: fix(link)!: do not render p for disabled link by @metonym in #1926
  • fix: avoid using reserved $ for Svelte 5 compat by @metonym and @Sahasrara in #1926
  • fix(search): hoist ignore a11y autofocus comment by @metonym in #1926

Full Changelog: v0.82.11...v0.83.0

v0.82.11

26 Feb 16:02
Compare
Choose a tag to compare

What's Changed

  • fix(code-snippet): showMoreLess={false} should hide button by @metonym in #1917
  • fix(image-loader): updated src should update the image by @metonym in #1919
  • fix(overflow-menu): use offsetWidth, offsetHeight to compute menu dimensions by @Sahasrara in #1913
  • fix(toast-notification): clear autoclose timeout correctly by @metonym, @brunnerh in #1915

New Contributors

Full Changelog: v0.82.10...v0.82.11