Svelte implementation of the Carbon Design System
APACHE-2.0 License
Bot releases are hidden (Show)
Fixes
Content
left margin if SideNav
is collapsed (fd42cb38, #1428)Refactor
TextInput
, DatePickerInput
(45f14f16, #1426)Fixes
NotificationButton
, NotificationIcon
(d2cc75d8, #1425)NumberInput
(7fe9b394, #1424)Fixes
ComboBox
item when pressing "Enter" (de81ef99, #1419 contributed by @patoi)Fixes
Toggle
margin-top style if hideLabel
is true (8a40191c, #1417)Fixes
Pagination
items display text (7f7bf51f, #1416)Toggle
(a3264bd6, #1415)hideLabel
prop to Toggle
(f4d12b80, #1414)Fixes
ComboBox
value if using itemToString
and shouldFilterItem
props (8bd615b2, #1411 contributed by @hffmr)Fixes
z-index
on the SideNav
overlay to avoid it being covered by other elements (638a4371, #1388)Breaking Changes
Svelte version >=3.48.0 is required.
Fixes
ToastNotification
, InlineNotification
to be cancellable (924b6d35, #1379 contributed by @tlkh40)⚠️ Deprecated due to inadvertent breaking changes. Use v0.67.0 instead.
Fixes
ToastNotification
, InlineNotification
to be cancellable (924b6d35, #1379 contributed by @tlkh40)Documentation
ToastNotification
example "Prevent default close behavior"InlineNotification
example "Prevent default close behavior"Fixes
PasswordInput
invalid state when used in a FluidForm
(6a3614bf, #1371)SideNavMenu
icon (c346b8ed, #1373)SideNavMenu
icon (83c11fd4, #1369)SideNavMenu
(388a05c2, #1368)ComposedModal
type error where the focus node is possibly null
(9fcf9855, #1364)Refactor
text
prop from CodeSnippet
to CopyButton
to prevent development warning (d5d6294b, #1372)Documentation
PasswordInput
example "Invalid state"ComboBox
example "Selected id" to "Initial selected id"DatePicker
example "DatePicker in a modal" to prevent iframe from stealing focusFeatures
fullWidth
prop to Slider
(1ccdf645, #1354)selected
prop in Select
(78d3f132, #1355)Fixes
Select
if selected
value has changed (511d7c24, #1356)SelectItem
value as default selected
value in Select
if undefined
(f8b1c8a2, #1353)Documentation
Slider
example "Full width"Select
example "Default" to demo usage without selected
propFixes
TreeView
type error when keyboard navigating an expanded node (eb381190, #1350)Fixes
DataTable
header keys should be reactive (0f060ea0, #1346 contributed by @jorgebv)TimePicker
(b21718cc, #1344)ComboBox
, MultiSelect
(8e52e13e, #1343)Fixes
DataTable
column sort direction order should be independent (e56ee83d, #1342)Breaking Changes
Features
sortKey
, sortDirection
props to DataTable
for programmatic sorting (72c24b83, #1337)paste
event to ComboBox
, DatePicker
, MultiSelect
, NumberInput
, Search
, TextArea
, TextInput
, PasswordInput
, TimePicker
, HeaderSearch
(e230db81, #1332)Dropdown
, MultiSelect
, ComboBox
(f25a10c9, #1328)Fixes
cells
property in rows
object in DataTable
(d2cdb8eb, #1336)inline
prop from Dropdown
(0063c01b, #1329)Dropdown
list box role and id (e7a9064, #1327)role="option"
and aria-selected
attributes to ListBoxMenuItem
(319eb98, #1327)Refactor
Modal
attributes in markup instead of script (e62bea38, #1333)Documentation
DataTable
example "Programmatic sorting"Modal
example "Has scrolling content"Modal
example "Custom focus"Dropdown
example "Disabled items"MultiSelect
example "Disabled items"ComboBox
example "Disabled items"Fixes
Tabs
should not steal focus if programmatically selected (0f621c25, #1320)CheckBox
, MultiSelect
, Dropdown
, ComboBox
if label is truncated (40e18fbc, #1317)Refactor
class:
directive instead of the class attribute (0801e1d0, #1318)Documentation
Tabs
example "Disabled tabs"Fixes
CopyButton
text prop as required (74ffcecc9deb18b7c9e9a11c37e036648993b4c2, #1311)Dropdown
selectedId prop as required (9d6d2e2720a15ca15fde367d686a0032bdffa22b, #1311)@see
tag in Theme
tokens prop description (003ab653, #1309)title
attribute from Modal
, ModalHeader
close button (4ecfcec17de0b0267a1625d5bfc6a1fd01ad872b, #1308)aria-label
from Modal
close button icon (a72cf85ec2799268e4cacc6655e83ce04c85275d, #1308)aria-hidden="true"
to Modal
, ModalHeader
close button icon (bf12ae861b75521c56366980f548d00462ad16d4, #1308)Documentation
Theme
docs to specify that it must be used with all.css
DataTable
docs to note that custom widths do not work with stickyHeader
Breaking Changes
flatpickrProps.static
in DatePicker
to be true by default (a958825d, #1298)DataTable
headers/rows (6239c110, #1297)Features
DataTable
(c6f21089, #1265)CodeSnippet
(1454eeae, #1291)Fixes
@see
tag for flatpickr options link in DatePicker
(37b40d64, #1299)DatePicker
should update the value (20a8a647, #1280 contributed by @patoi)null
, not any
(88d51523, #1295)HeaderAction
(5576c7ce, #1293)CodeSnippet
(e3f72e64, #1292)Documentation
DatePicker
more prominentDataTable
example "Custom column widths"CodeSnippet
examples "Expanded by default" and "Reactive example"