carbon-components-svelte
Advanced tools
Changelog
0.62.0 - 2022-03-19
Breaking Changes
Copy
componentForm
Features
shouldFilterRows
prop to ToolbarSearch
to support auto-filterable DataTable
rowsSideNavLink
text slottableicon
prop slottable in ContextMenuOption
, Link
, Tag
, HeaderAction
, HeaderActionLink
, SideNavLink
, SideNavMenu
MultiSelect
slottableDropdown
slottableComboBox
slottableFixes
HeaderAction
buttonRefactor
Copy
component in CopyButton
, CodeSnippet
bind:value
in Search
bind:value
in TextArea
Documentation
DataTable
"Filterable" and "Filterable (custom)" examplesMultiSelect
"Custom slot" exampleDropdown
"Custom slot" exampleComboBox
"Custom slot" exampleitems
object in ComboBox
, Dropdown
, MultiSelect
requires a unique id
ClickableTile
"Prevent default behavior" exampleForm
"Prevent default behavior" exampleCheckbox
docsChangelog
0.61.0 - 2022-03-13
Breaking Changes
HeaderActionSlideTransition
interface from HeaderAction
; type transition prop as SlideParams
Breakpoint
"on:match" event to "on:change"Breakpoint
breakpoints to carbon-components-svelte/src/Breakpoint/breakpoints
Features
DataTable
non-selectable rowsMultiSelect
highlightedId as a propbreakpointObserver
store as an alternative to Breakpoint
Fixes
HeaderAction
text stylesHeaderActionLink
icon with HeaderAction
iconMultiSelect
filterable selection errorFileUploaderDropContainer
validateFiles propPopover
SCSS from carbon-components@10.47
Refactor
Icon
componentDocumentation
DataTable
"Non-selectable rows" exampleOverflowMenu
"Disabled items" exampleBreakpoint
"Store and Breakpoint Values" exampleChangelog
0.60.0 - 2022-02-26
Features
RadioButtonGroup
hiddenLegend
prop to visually hide the legendProgressBar
size
prop to support small size variantFixes
DatePicker
calendar instance if options changeRefactor
StructuredList
overflow-y
style monkey patchDocumentation
RadioButton
"Hidden legend" exampleProgressBar
"Small size" exampleHousekeeping
carbon-components
to v10.54.0Changelog
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.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.0