carbon-components-svelte
Advanced tools
Changelog
0.32.0 - 2021-04-02
Breaking Changes
CodeSnippet
and CopyButton
using clipboard-copy
light
prop in ContentSwitcher
Features
SelectableTile
, RadioTile
TooltipFooter
componentOverflowMenu
in BreadcrumbsContextMenuOption
DataTable
DataTableSkeleton
if a value is { "empty": true }
inputRef
prop in MultiSelect
searchClass
prop to Search
, which is passed to the outermost elementnoMargin
prop to FormGroup
to remove default bottom margin (default value is false
)Fixes
ContextMenu
position based on viewport constraintsTimePicker
ToolbarSearch
ModalBody
Documentation
SelectableTile
, RadioTile
DataTable
size examples, empty header column DataTableSkeleton
exampleContentSwitcher
exampleHousekeeping
carbon-components
to version 10.32.0clipboard-copy
to direct dependenciesChangelog
0.31.0 - 2021-03-20
Breaking Changes
title
value in InlineNotification
title
, caption
values in ToastNotification
iconDescription
prop from HeaderNavMenu
Features
Popover
componentContextMenu
componentTabsSkeleton
Select
Pagination
Fixes
NumberInput
Slider
markup to use CSS to hide input if hideTextInput
is true
StructuredListBody
MultiSelect
: "clear" should be typed as a custom eventLink
autofocus
attribute if the value is true
Documentation
Slider
hidden text input, invalid, disabled examplesSelect
warning, invalid, helper text, skeleton (hidden label) examplesRadioButton
disabled buttons exampleToastNotification
, InlineNotification
Select
item groups example to use the hidden default optionHousekeeping
carbon-components
to version 10.31.0carbon-icons-svelte
to version 10.27.0 (icons are correctly typed using SvelteComponentTyped
)Changelog
0.30.0 - 2021-03-13
Breaking Changes
$$restProps
to the input element in Search
, MultiSelect
, ComboBox
, TimePicker
, DatePickerInput
, NumberInput
Features
ImageLoader
componentLocalStorage
componentToolbarSearch
RadioButtonGroup
Tag
SideNavMenuItem
text slottableIcon
, IconSkeleton
Fixes
SideNav
SideNav
TextInputSkeleton
RadioButton
label if labelText
is truthyNumberInput
mobile variantMultiSelect
select eventButton
ListBoxSelection
to fix filterable MultiSelect
ListBoxMenuIcon
to correctly render Dropdown
chevron iconz-index: 1
on tooltip when open; style can be overridden through $$restProps.style
Documentation
Search
PasswordInput
RadioButtonGroup
Tag
NumberInput
Housekeeping
carbon-components
to v10.30.0Changelog
0.29.0 - 2021-02-19
Breaking Changes
TimePicker
is changed from "hh=mm" to "hh:mm"Features
SideNavDivider
componentComboBox
, Dropdown
, MultiSelect
to render the dropdown menu above or below the inputComboBox
warning stateTruncate
) and action (use:truncate
)css/*.scss
filesSvelteComponentTyped
interface in the component TypeScript definitionsFixes
description
as warning icon title in ProgressStep
DataTable
type definition to include $$restProps
Documentation
Tag
exampleComboBox
invalid state exampleComboBox
, Dropdown
, MultiSelect
ProgressIndicator
invalid/disabled stepsRadioTile
light variant exampleHousekeeping
carbon-components
to version 10.29.0Changelog
0.28.0 - 2021-02-05
Breaking Changes
transitionend
event in ComposedModal is dispatched, not forwarded; it will only trigger when the modal has finished animatingFeatures
size="sm"
)close
event in a filterable Tag (an alias for click
)toggle
event in ToggletooltipText
slottable in TooltipIcon (slot name="tooltipText")hideLabel
prop to Dropdowntransitionend
event in Modal, ComposedModal to fire after the modal has finished animatingFixes
click
event to TabDocumentation
Housekeeping
carbon-components
to version 10.28.0@carbon/themes
development dependency; themes are pulled from carbon-components
Changelog
0.27.0 - 2021-01-28
Features
optimizeCarbonImports
preprocessor to rewrite base imports from Carbon components/icons/pictograms to the source Svelte filetooltipAlignment
("center") and tooltipPosition
("bottom") in Buttontimeout
to dispatched on:close
event detail in InlineNotification and ToastNotificationflatpickr
to version 4.6.9 for ES module (ESM) importsFixes
submit
event to FluidFormfocusout
eventBreaking Changes
src/DataTable
notificationType
is removed from InlineNotification and ToastNotificationrenderIcon
prop renamed to icon
in NotificationButtonicon
prop type changed to "typeof import("carbon-icons-svelte").CarbonIcon" in HeaderAction, HeaderActionLink, SideNavLink, SideNavMenusass.outputStyle
instead of "compact"Documentation
Housekeeping
node-sass
with sass
carbon-components
to version 10.27.0@carbon/themes
to version 10.26.0autoprefixer
, postcss
, prettier-plugin-svelte
Changelog
0.26.0 - 2020-12-11
Features
SideNav
component is present (PR #457, issue #434)Search
input value if the "Escape" key is pressed (PR #448)Tooltip
alignment using the align
prop (PR #446, issue #398)Fixes
files
prop type FileUploader
to be a list of Files instead of file names (PR #437)NumberInput
(PR #444)$$restProps
in DataTableSkeleton
to the top-level element to be consistent with DataTable
(PR #441, issue #423)Tooltip
on the mousedown event; re-focus the tooltip icon after closing and forward click
, mousedown
eventsDropdown
button correctly for multiple dropdowns (PR #447)ComboBox
input correctly for multiple combo boxes (PR #447)ComboBox
when clicking a search input (PR #447, issue #436)HeaderSearch
when using the up/down arrow keys to navigate results (PR #432, issue #431)small
prop in ButtonSkeleton
CodeSnippetSkeleton
type to only be "single" or "multi"Breaking Changes
files
in FileUploader
components is a list of Files, not just file names$$restProps
is spread to the top-level element in DataTableSkeleton
Documentation
Search
, ContentSwitcher
, Toggle
componentsSideNav
) UI Shell exampleHousekeeping
carbon-components
to version 10.25 for the pre-compiled CSS StyleSheets