Skip to content

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

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

v0.81.2

27 Oct 01:28
Compare
Choose a tag to compare

What's Changed

  • fix(multi-select): render checkboxes for form data by @theetrain in #1835

Full Changelog: v0.81.1...v0.81.2

v0.81.1

23 Oct 17:28
Compare
Choose a tag to compare

What's Changed

  • fix(multi-select): reset selectedIds when clearing selection by @keehun in #1832
  • chore(deps-dev): patch carbon-components to 10.58.12 by @metonym in #1833
  • docs(button): add "Programmatic focus" example by @metonym in #1834

New Contributors

Full Changelog: v0.81.0...v0.81.1

v0.81.0

13 Oct 15:41
Compare
Choose a tag to compare

What's Changed

  • feat(data-table): pass row to display function by @Pierstoval in #1810
  • feat(deps-dev): upgrade carbon-components to 10.58 by @metonym in #1828
  • fix(file-uploader-button): clear value by setting to "" instead of null by @jperelli in #1812
  • fix(radio-button-group): add name and required props by @brunnerh in #1037
  • fix(radio-button-group): strongly type dispatched change/select events by @metonym in #1819
  • docs(radio-button): use name in examples by @metonym in #1817
  • fix(tile-group): add name and required props by @metonym in #1818
  • chore: update Git org name in README and CONTRIBUTING by @Pierstoval in #1811

New Contributors

Full Changelog: v0.80.0...v0.81.0