Releases: carbon-design-system/carbon-components-svelte
Releases · carbon-design-system/carbon-components-svelte
v0.37.0
Features
- add ProgressBar component
Fixes
- omit size prop in
ToolbarSearch - omit passing iconDescription to
NotificationIconinInlineNotification,ToastNotification
Refactor
- use class directive in
TextInput
Documentation
- add ProgressBar component documentation
Housekeeping
- upgrade
carbon-componentsto version 10.37.0
v0.36.0
Features
- add condensed, flush props to
StructuredList - support
SideNavrail - add isSelected prop to
HeaderNavItem - make components with
labelTextprop slottable (e.g., ...)
Fixes
- set min/max height for multi-line
CodeSnippet - make
ImageLoaderSSR compatible by using a window type check guard - default isSelected to false in
SideNavMenuItem - forward keydown event to
TextArea - deprecate border prop in
StructuredList
Documentation
- add separate disabled example for filterable/interactive tags
- update number of supported chart types from 17 to 20
- add StructuredList examples "Condensed variant", "Flush"
- add UI Shell example "Header with side navigation (rail)"
Housekeeping
- upgrade
carbon-componentsto version 10.36.0
v0.35.0
Features
- support expressive styles for
Button,UnorderedList,OrderedList - support large size for
Button(size="lg") - support large, extra-large
ButtonSkeletonsizes - support field, small sizes for
FileUploaderItem - allow custom
Searchicon - allow
NumberInputinput steppers to be hidden (hideSteppers={true}) - add
iconprop toTooltipIcon - support disabled
TooltipIcon
Fixes
- make
Tooltipscreenreader description less verbose
Documentation
- add Button examples "Large size", "Expressive styles"
- add OrderedList example "Expressive styles"
- add UnorderedList example "Expressive styles"
- add Search example "Custom search icon"
- add NumberInput example "Hidden steppers"
- add TooltipIcon example "Disabled"
Housekeeping
- upgrade
carbon-componentsto version 10.35.0
v0.34.0
Features
- add new Gray 80 (g80) theme
- support expandable
Searchvariant - dispatch open, close, click:overlay events in
SideNav - allow custom hamburger menu icons (
iconMenu,iconClose) - support "xl"
Buttonsize - support "medium"
DataTablesize - support warning state, inline variant for
PasswordInput
Fixes
- replace
<strong>with semantic paragraph element for file uploader label - wrap
codeelement withpre - add missing restProps annotation to
ToolbarSearch(#647 contributed by @gregorw)
Refactor
- remove usage of deprecated
Iconcomponent - use button specific tooltip class for icon-only variant
Documentation
- update available site theming options to include Gray 80 (g80)
- add Search example "Expandable variant"
- add Button example "Extra-large size"
- add DataTable example "Medium rows"
- add PasswordInput examples "Inline" and "Warning state"
Housekeeping
- upgrade
carbon-componentsto version 10.34.0
v0.33.0
Features
- support nested object values for DataTable sorting (#602, contributed by @alkanna)
- pass DataTable header display function to slotted cell (#615, contributed by @rafadess)
- add icon prop to
Linkto support rendering links with icons; refactorOutboundLinkto useLink.iconprop
Fixes
- prevent DataTable sorting from crashing by defaulting
undefinedto an empty string (#602, contributed by @alkanna) - add extra DataTable cell
colspanto support expandable, selectable rows (#618, contributed by @mabentley85) - support disabled state for
ClickableTile - add missing "3x2" ratio to
AspectRatio
Documentation
- add DataTable example "Sortable with nested object values"
- add ClickableTile example "Disabled state"
- add Link example "Link with icon"
Housekeeping
- upgrade
carbon-componentsto version 10.33.0
v0.32.2
Fixes
- prevent multiple Dropdown items from being selected by updating the
selectedId(#611, contributed by @DavidEspinosa42) - prevent the default keydown behavior so that pressing "Enter" should open the Dropdown menu (#610, contributed by @jasonlyu123)
- resolve Carbon icon imports to Svelte files in
DataTable,HamburgerMenucomponents (#594, contributed by @vegardlarsen)
Housekeeping
- patch
carbon-componentsto version 10.32.1
v0.32.1
Fixes
- hotfix compiled CSS to correctly render default background color for inputs
v0.32.0
Breaking Changes
- copy text by default in
CodeSnippetandCopyButtonusingclipboard-copy - deprecate
lightprop inContentSwitcher
Features
- support disabled state for
SelectableTile,RadioTile - add
TooltipFootercomponent - support
OverflowMenuin Breadcrumbs - support danger kind for
ContextMenuOption - allow sorting to be disabled for a specific header in
DataTable
<DataTable
sortable
headers={[
{ key: 'name', value: 'Name' },
{ key: 'protocol', value: 'Protocol', sort: false }
]}
/>- render an empty header column in
DataTableSkeletonif a value is{ "empty": true } - export
inputRefprop inMultiSelect - add
searchClassprop toSearch, which is passed to the outermost element - add
noMarginprop toFormGroupto remove default bottom margin (default value isfalse)
Fixes
- render initial
ContextMenuposition based on viewport constraints - correctly display invalid text in
TimePicker - remove outer div in
ToolbarSearch - set hasScrollingContent class on
ModalBody
Documentation
- add disabled state examples for
SelectableTile,RadioTile - add expandable
DataTablesize examples, empty header columnDataTableSkeletonexample - remove the light
ContentSwitcherexample
Housekeeping
- upgrade
carbon-componentsto version 10.32.0 - add
clipboard-copyto direct dependencies
v0.31.1
v0.31.0
Breaking Changes
- remove default
titlevalue inInlineNotification - remove default
title,captionvalues inToastNotification - remove
iconDescriptionprop fromHeaderNavMenu
Features
- add
Popovercomponent - add
ContextMenucomponent - add "container" type for
TabsSkeleton - add warning state to
Select - dispatch "on:click:button--next" and "on:click:button--previous" in
Pagination
Fixes
- replace chevron icons with "Add" and "Subtract" icons in
NumberInput - fix
Slidermarkup to use CSS to hide input ifhideTextInputistrue - remove hotfix inline style to center dropdown chevron
- add "rowgroup" role to
StructuredListBody - fix type definition for
MultiSelect: "clear" should be typed as a custom event - remove line breaks in anchor element in
Link - only set
autofocusattribute if the value istrue
Documentation
- add
Sliderhidden text input, invalid, disabled examples - add
Selectwarning, invalid, helper text, skeleton (hidden label) examples - add
RadioButtondisabled buttons example - update sample copy in
ToastNotification,InlineNotification - update
Selectitem groups example to use the hidden default option
Housekeeping
- upgrade
carbon-componentsto version 10.31.0 - upgrade
carbon-icons-svelteto version 10.27.0 (icons are correctly typed usingSvelteComponentTyped)