carbon-components-svelte
Advanced tools
Changelog
0.59.0 - 2022-02-21
Features
maxCount
prop to TextArea
disabled
prop to FileUploader
files
prop to FileUploaderDropContainer
files
prop to FileUploaderButton
Fixes
add
, change
events in FileUploaderDropContainer
to dispatch File[]
instead of FileList
files
prop description in FileUploader
Documentation
TextArea
"Maximum character count" exampleFileUploader
disabled state exampleFileUploader
"Clear files" examplevalidateFiles
prop for FileUploaderDropContainer
FileUploaderButton
, FileUploader
examplesHousekeeping
carbon-components
to v10.53.0Changelog
0.58.4 - 2022-02-21
Fixes
detail
type should be null
instead of any
FileUploader
clearFiles
description should reflect that it's an accessor, not a propFileUploader
should correctly fire add
and remove
eventsFileUploader
files should not be keyed by file nameFileUploader
change event detail signature should be File[]
DataTable
regression where sort icon indicators don't updateRefactor
Changelog
0.58.3 - 2022-02-20
Fixes
TextInput
and PasswordInput
should render label if "labelText" slot is usedPasswordInput
should not render label
if no labelText
is providedStructuredList
overflow-y should not be "hidden"MultiSelect
should not prevent default key behavior when openSwitch
should have type="button"
Changelog
0.58.2 - 2022-02-12
Fixes
Tooltip
aria-label
should use iconDescription
if triggerText
is falsyOverflowMenu
keyboard navigation should skip disabled itemsHeaderPanelDivider
should use hr
element to represent dividerButton
should not set aria-pressed
on icon-only, link buttonsChangelog
0.58.0 - 2022-02-11
Breaking Changes
TextInput
is type="number"
, value can be a number
or null
to signify "no value"TextInput
dispatches instead of forwards input
, change
events (detail: null | number | string
)Features
rowIndex
, cellIndex
to DataTable
"cell" slotitemToInput
prop to MultiSelect
to customize name, title, labelText valuesopen
prop to TooltipDefinition
; dispatch open
, close
eventsFixes
DataTable
headers should be reactiveDataTable
batch selection checkbox should be reactiveMultiSelect
should correctly lose focusMultiSelect
should dispatch a blur
eventMultiSelect
accessibility issuesHeaderNavMenu
when pressing "Enter" or "Space"HeaderNavMenu
menu when pressing "Enter" on an itemHeaderNavMenu
accessibility issuesTextInput
reactivity by using native bind:value
Documentation
Housekeeping
carbon-components
to v10.52.0Changelog
0.57.0 - 2022-01-30
Breaking Changes
NumberInput
"input" event type consistent with "change" (null | number
)Features
NumberInput
input, change events when clicking the steppersprimaryButtonIcon
prop to Modal
, ModalFooter
Fixes
NumberInput
from coercing empty string to 0
Changelog
0.56.0 - 2022-01-27
Breaking Changes
NumberInput
value as null | number
instead of string | number
(null
signifies "no value")Fixes
readonly
as a prop in TextArea
Checkbox
two-way binding for checked
, group
propsDocumentation
Checkbox
reactive example for bind:checked
Checkbox
reactive example for bind:group
to demo two-way bindingTabs
reactive exampleNumberInput
"No value" example