Skip to content

Releases: carbon-design-system/carbon-components-svelte

v0.37.0

26 Jun 23:52

Choose a tag to compare

Compare v0.36.0...v0.37.0

Features

  • add ProgressBar component

Fixes

  • omit size prop in ToolbarSearch
  • omit passing iconDescription to NotificationIcon in InlineNotification, ToastNotification

Refactor

  • use class directive in TextInput

Documentation

Housekeeping

  • upgrade carbon-components to version 10.37.0

v0.36.0

26 Jun 21:50
8ddf2de

Choose a tag to compare

Compare v0.35.0...v0.36.0

Features

  • add condensed, flush props to StructuredList
  • support SideNav rail
  • add isSelected prop to HeaderNavItem
  • make components with labelText prop slottable (e.g., ...)

Fixes

  • set min/max height for multi-line CodeSnippet
  • make ImageLoader SSR 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

Housekeeping

  • upgrade carbon-components to version 10.36.0

v0.35.0

26 Jun 14:27

Choose a tag to compare

Compare v0.34.0...v0.35.0

Features

  • support expressive styles for Button, UnorderedList, OrderedList
  • support large size for Button (size="lg")
  • support large, extra-large ButtonSkeleton sizes
  • support field, small sizes for FileUploaderItem
  • allow custom Search icon
  • allow NumberInput input steppers to be hidden (hideSteppers={true})
  • add icon prop to TooltipIcon
  • support disabled TooltipIcon

Fixes

  • make Tooltip screenreader description less verbose

Documentation

Housekeeping

  • upgrade carbon-components to version 10.35.0

v0.34.0

25 Jun 11:03

Choose a tag to compare

Compare v0.33.0...v0.34.0

Features

  • add new Gray 80 (g80) theme
  • support expandable Search variant
  • dispatch open, close, click:overlay events in SideNav
  • allow custom hamburger menu icons (iconMenu, iconClose)
  • support "xl" Button size
  • support "medium" DataTable size
  • support warning state, inline variant for PasswordInput

Fixes

  • replace <strong> with semantic paragraph element for file uploader label
  • wrap code element with pre
  • add missing restProps annotation to ToolbarSearch (#647 contributed by @gregorw)

Refactor

  • remove usage of deprecated Icon component
  • use button specific tooltip class for icon-only variant

Documentation

Housekeeping

  • upgrade carbon-components to version 10.34.0

v0.33.0

01 May 00:13

Choose a tag to compare

Compare v0.32.2...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 Link to support rendering links with icons; refactor OutboundLink to use Link.icon prop

Fixes

  • prevent DataTable sorting from crashing by defaulting undefined to an empty string (#602, contributed by @alkanna)
  • add extra DataTable cell colspan to support expandable, selectable rows (#618, contributed by @mabentley85)
  • support disabled state for ClickableTile
  • add missing "3x2" ratio to AspectRatio

Documentation

Housekeeping

  • upgrade carbon-components to version 10.33.0

v0.32.2

24 Apr 02:27

Choose a tag to compare

Compare v0.32.1...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, HamburgerMenu components (#594, contributed by @vegardlarsen)

Housekeeping

  • patch carbon-components to version 10.32.1

v0.32.1

02 Apr 22:02

Choose a tag to compare

Compare v0.32.0...v0.32.1

Fixes

  • hotfix compiled CSS to correctly render default background color for inputs

v0.32.0

02 Apr 20:37

Choose a tag to compare

Compare v0.31.1...v0.32.0

Breaking Changes

  • copy text by default in CodeSnippet and CopyButton using clipboard-copy
  • deprecate light prop in ContentSwitcher

Features

  • support disabled state for SelectableTile, RadioTile
  • add TooltipFooter component
  • support OverflowMenu in 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 DataTableSkeleton if a value is { "empty": true }
  • export inputRef prop in MultiSelect
  • add searchClass prop to Search, which is passed to the outermost element
  • add noMargin prop to FormGroup to remove default bottom margin (default value is false)

Fixes

  • render initial ContextMenu position 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 DataTable size examples, empty header column DataTableSkeleton example
  • remove the light ContentSwitcher example

Housekeeping

  • upgrade carbon-components to version 10.32.0
  • add clipboard-copy to direct dependencies

v0.31.1

29 Mar 00:41

Choose a tag to compare

Fixes

  • add missing "name" attribute to non-mobile NumberInput
  • forward missing "keydown" event to Form
  • forward click/keydown/mouse events in FluidForm to Form

v0.31.0

21 Mar 00:12

Choose a tag to compare

Breaking Changes

  • remove default title value in InlineNotification
  • remove default title, caption values in ToastNotification
  • remove iconDescription prop from HeaderNavMenu

Features

  • add Popover component
  • add ContextMenu component
  • 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 Slider markup to use CSS to hide input if hideTextInput is true
  • 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 autofocus attribute if the value is true

Documentation

  • add Slider hidden text input, invalid, disabled examples
  • add Select warning, invalid, helper text, skeleton (hidden label) examples
  • add RadioButton disabled buttons example
  • update sample copy in ToastNotification, InlineNotification
  • update Select item groups example to use the hidden default option

Housekeeping

  • upgrade carbon-components to version 10.31.0
  • upgrade carbon-icons-svelte to version 10.27.0 (icons are correctly typed using SvelteComponentTyped)