Releases: carbon-design-system/carbon-components-svelte
Releases Β· carbon-design-system/carbon-components-svelte
v0.82.5
What's Changed
- fix(header-search): blur input when
active
is false by @metonym in #1857 - chore: add
exports
field to package.json by @hslee2008 in #1864
Full Changelog: v0.82.4...v0.82.5
v0.82.4
v0.82.3
v0.82.2
v0.82.1
v0.82.0
What's Changed
- feat(tree-view): make
node
slottable by @metonym in #1843 - feat(tree-view): add
showNode
accessor by @metonym in #1844
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
v0.81.2
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
v0.81.0
What's Changed
- feat(data-table): pass
row
todisplay
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 ofnull
by @jperelli in #1812 - fix(radio-button-group): add
name
andrequired
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
andrequired
props by @metonym in #1818 - chore: update Git org name in
README
andCONTRIBUTING
by @Pierstoval in #1811
New Contributors
- @Pierstoval made their first contribution in #1811
- @jperelli made their first contribution in #1812
Full Changelog: v0.80.0...v0.81.0