Skip to content

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

v0.82.8

10 Jan 04:23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.82.7...v0.82.8

v0.82.7

17 Dec 17:50
Compare
Choose a tag to compare

What's Changed

  • fix(radio-button): allow value type to be a number by @metonym in #1868

Full Changelog: v0.82.6...v0.82.7

v0.82.6

17 Dec 01:45
Compare
Choose a tag to compare

What's Changed

  • fix(package): include types in exports map by @metonym in #1865

Full Changelog: v0.82.5...v0.82.6

v0.82.5

16 Dec 17:33
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.82.4...v0.82.5

v0.82.4

21 Nov 20:00
Compare
Choose a tag to compare

What's Changed

  • fix(header-search): blur input when deactivating by @metonym in #1855

Full Changelog: v0.82.3...v0.82.4

v0.82.3

21 Nov 18:21
Compare
Choose a tag to compare

What's Changed

  • fix(header-search): "Escape" should close empty search bar by @metonym in #1853
  • docs: "/" or "CMD+K" should focus search bar by @metonym in #1852

Full Changelog: v0.82.2...v0.82.3

v0.82.2

20 Nov 21:46
Compare
Choose a tag to compare

What's Changed

  • fix(header-search): vertically center button icons by @metonym in #1850
  • fix(header-search): "Escape" should clear search query by @metonym in #1851
  • docs: implement rudimentary full-text search by @metonym in #1849

Full Changelog: v0.82.1...v0.82.2

v0.82.1

18 Nov 18:23
Compare
Choose a tag to compare

What's Changed

  • fix(pagination-nav): set button type="button" to prevent form submission by @metonym in #1846

Full Changelog: v0.82.0...v0.82.1

v0.82.0

13 Nov 16:10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.81.3...v0.82.0


This release focuses on TreeView improvements.

TreeView node is slottable

Previously, the TreeView used the node.text value. Now, you can destructure let:node and override the default slot to customize the rendered content and styles on a per-node basis.

See an example.

<TreeView children="{children}" let:node>
  {node.id}
  {node.text}
  {node.expanded}
  {node.selected}
  {node.disabled}
  {node.leaf} <!-- True if the node is a leaf (node does not have children) -->
</TreeView>

Programmatically "show" a TreeView node

The TreeView component now supports a showNode accessor to show a specific node.

Given the node.id, the matching node will be expanded, selected, and focused.

See an example.

treeview?.showNode(node.id);

v0.81.3

08 Nov 03:54
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.81.2...v0.81.3