Svelte implementation of the Carbon Design System
APACHE-2.0 License
Bot releases are hidden (Show)
Published by theetrain almost 2 years ago
.husky
by @metonym in https://github.com/carbon-design-system/carbon-components-svelte/pull/1632
expanded
property from TreeNode
interface by @metonym in https://github.com/carbon-design-system/carbon-components-svelte/pull/1631
Dropdown
click outside by @jqlio18 in https://github.com/carbon-design-system/carbon-components-svelte/pull/1596
Full Changelog: https://github.com/carbon-design-system/carbon-components-svelte/compare/v0.71.0...v0.72.0
Breaking Changes
Select
: rename dispatched change
event to update
(9198ed5474db8aed2b01c6c0ec0f756baceb19af, #1497)Select
: forward change
event (9198ed5474db8aed2b01c6c0ec0f756baceb19af, #1497)PaginationNav
: use 1-indexing to be consistent with Pagination
(8d55752a18de7d35cbb9f55ec984d0f57d9309dd, #1518)InlineNotification
: remove iconDescription
prop (replaced with closeButtonDescription
and statusIconDescription
) (50066966dae8528142d3c6968f421fee5e1fb512, #1591)Features
Pagination
: dispatch change
event when user interacts with previous/next buttons, or page/page size dropdowns (9198ed5474db8aed2b01c6c0ec0f756baceb19af, #1497)InlineNotification
: add iconDescription
and closeButtonDescription
props (50066966dae8528142d3c6968f421fee5e1fb512, #1591)Documentation
PaginationNav
: add description for change
event (e258db0cae214dc8b07bdb72fb957a0aaa80e4e8, #1592 contributed by @gregorw)Fixes
NumberInput
incrementing/decrementing floating point values (e6f5766e, #1555 contributed by @jqlio18)Dropdown
menu (fa5515de, #1569 contributed by @theetrain)Dropdown
"select" event on interaction (fa5515de, #1569 contributed by @theetrain)Dropdown
items is an empty array (fce92fb6, #1578)MultiSelect
items is an empty array (4b503c8c, #1577)ComboBox
items is an empty array (09b3eed5, #1545 contributed by @ibilux)OverflowMenu
"close" event when clicking outside menu (837716ff, #1541)Popover
"click:outside" event when clicking sibling elements (0f8a57b9, #1570 contributed by @vizath)Toggle
"change" and "keyup" events after toggled
updates (e7fe8ca8, #1559 contributed by @jqlio18)ProgressStep
label text if vertical
(75a69bbf, #1533 contributed by @brunnerh)ProgressStep
inherit unclickable styles if preventChangeOnClick
(7a98ec26, #1535 contributed by @brunnerh)type="button"
to TableHeader
button (ba62f45d, #1573 contributed by @devidw)type="button"
to ProgressStep
button (bf337c48, #1551 contributed by @tmarsik42)TreeView
text prop type from string
to any
(198e0da4, #1576)TreeView
children prop type work recursively (21d841fe, #1566 contributed by @DetachHead)derived
import from DataTable
(ae344515, #1529 contributed by @ibilux)Fixes
NumberInput
with allowInput
should not be invalid if value
is null
(5723ffef, #1511 contributed by @malinowskip)Fixes
ListBoxMenuItem
(affeb2e2, #1507)DatePickerInput
with calendar (a657b6e3, #1508)HeaderSearch
(139e23fd, #1506)HeaderAction
, ImageLoader
transitions (e900b47f, #1502 contributed by @s3812497)Fixes
Pagination
, PaginationNav
(1a658829, #1495)Fixes
ToolbarSearch
to Search
(bd8741e4, #1490 contributed by @benperiton)Fixes
submit
event on Modal
if primary button is disabled (ec039ba1, #1486 contributed by @tmarsik42)Fixes
Toggle
, HeaderSearch
accessibility warnings in Svelte >=v3.50 (73385bf5, #1480)Fixes
Dropdown
, ComboBox
, MultiSelect
(edf33ca2, #1474)Fixes
Dropdown
, MultiSelect
when pressing "Escape" (855ee067, #1473)ComboBox
when pressing "Enter," "ArrowUp," or "ArrowDown" (1a7f7500, #1472)Dropdown
, ComboBox
, MultiSelect
(70303001, #1471)Fixes
$$restProps.style
to be correctly set on Content
(7bfa92d5, #1468)Fixes
Content
left margin for rail SideNav
(5bafda10, #1462)role
, aria-label
attributes on DatePicker
calendar container (1e9a3480, #1461)Features
filteredRowIds
prop to ToolbarSearch
to support pagination (dbe33d5c, #1454)Features
on:click:header--select
event in DataTable
(f794cb53, #1453)on:click:row--select
event in DataTable
(30487128, #1450 contributed by @naegelin)Features
fullWidth
prop to ToastNotification
(8fea168f, #1444)on:cancel
event in ToolbarBatchActions
(06777ba8, #1441 contributed by @naegelin)active
prop to ToolbarBatchActions
(bc58c7b0, #1440 contributed by @naegelin)Documentation
ToastNotification
example "Full width"DataTable
example "Batch selection with controlled toolbar"Fixes
NotificationActionButton
types should extend Button
props (b6e4d133, #1442 contributed by @piperswe)Fixes
aria-checked="mixed"
if InlineCheckbox
is indeterminate (4fd08cd2, #1436)aria-labelledby
to Slider
thumb (b4ffed90, #1435)role="switch"
to Toggle
input (c95e2bcc, #1434 contributed by @bertybot)