New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

carbon-components-svelte

Package Overview
Dependencies
Maintainers
2
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbon-components-svelte - npm Package Versions

1
1012
25

0.63.2

Diff
metonym
published 0.63.2 •

Changelog

Source

0.63.2 - 2022-04-23

Fixes

  • set type="button" on Dropdown to fix usage in a form
  • re-focus search bar when clearing ToolbarSearch value
metonym
published 0.63.1 •

Changelog

Source

0.63.1 - 2022-04-18

Fixes

  • HeaderGlobalAction icon size should be 20 by default
  • fix rows reactivity in DataTable
metonym
published 0.63.0 •

Changelog

Source

0.63.0 - 2022-04-17

Breaking Changes

  • remove deprecated components: Icon, IconSkeleton, NotificationTextDetails, ToggleSmall, ToggleSmallSkeleton, HeaderActionSearch
  • remove deprecated component props
  • remove optimizeCarbonImports preprocessor
  • remove GlobalHeader and SideNav subfolders
  • move truncate action from actions to src/Truncate

Features

  • add breakpointObserver, breakpoints to base exports
  • add ProgressBar kind prop to support inline, indented variants

Fixes

  • add explicit type="button" attribute to interactive, filterable tag variants
  • add TypeScript support for sveltekit: attributes for anchor elements
  • Link types should extend a or p attributes
  • prevent selectable DataTable with sticky header from jumping

Refactor

  • use icons from carbon-icons-svelte v11

Documentation

  • add DataTable "Sticky header" example
  • refactor Grid examples
  • add note to UIShell that theming is not supported
  • add ProgressBar examples "Inline variant" and "Indented variant"

Housekeeping

  • upgrade carbon-components to v10.56.0
metonym
published 0.62.3 •

Changelog

Source

0.62.3 - 2022-03-26

Fixes

  • fix TreeView filter logic in expandNodes/collapseNodes
  • correctly render slotted label in NumberInput
  • only render expandable DataTable row content when expanded
metonym
published 0.62.2 •

Changelog

Source

0.62.2 - 2022-03-23

Fixes

  • DataTable expandable variant should work with zebra styles
  • DatePicker flatpickrProps should override default flatpickr options

Documentation

  • add DataTable "Expandable (zebra styles)" example
metonym
published 0.62.1 •

Changelog

Source

0.62.1 - 2022-03-20

Fixes

  • fix ToolbarSearch standalone usage where "DataTable" context can be undefined
metonym
published 0.62.0 •

Changelog

Source

0.62.0 - 2022-03-19

Breaking Changes

  • remove Copy component
  • do not prevent default submit behavior in Form

Features

  • add shouldFilterRows prop to ToolbarSearch to support auto-filterable DataTable rows
  • make SideNavLink text slottable
  • make icon prop slottable in ContextMenuOption, Link, Tag, HeaderAction, HeaderActionLink, SideNavLink, SideNavMenu
  • make MultiSelect slottable
  • make Dropdown slottable
  • make ComboBox slottable

Fixes

  • stop click propagation on HeaderAction button

Refactor

  • inline Copy component in CopyButton, CodeSnippet
  • use native bind:value in Search
  • use native bind:value in TextArea

Documentation

  • add DataTable "Filterable" and "Filterable (custom)" examples
  • add MultiSelect "Custom slot" example
  • add Dropdown "Custom slot" example
  • add ComboBox "Custom slot" example
  • add note that items object in ComboBox, Dropdown, MultiSelect requires a unique id
  • add ClickableTile "Prevent default behavior" example
  • add Form "Prevent default behavior" example
  • fix broken link in Checkbox docs
metonym
published 0.61.1 •

Changelog

Source

0.61.1 - 2022-03-13

Fixes

  • do not generate CSS file from css/_popover.scss
metonym
published 0.61.0 •

Changelog

Source

0.61.0 - 2022-03-13

Breaking Changes

  • remove HeaderActionSlideTransition interface from HeaderAction; type transition prop as SlideParams
  • rename Breakpoint "on:match" event to "on:change"
  • move Breakpoint breakpoints to carbon-components-svelte/src/Breakpoint/breakpoints

Features

  • support DataTable non-selectable rows
  • expose MultiSelect highlightedId as a prop
  • add breakpointObserver store as an alternative to Breakpoint

Fixes

  • audit HeaderAction text styles
  • visually align HeaderActionLink icon with HeaderAction icon
  • fix MultiSelect filterable selection error
  • correctly type FileUploaderDropContainer validateFiles prop
  • inline Popover SCSS from carbon-components@10.47

Refactor

  • remove usage of deprecated Icon component
  • use direct component imports where possible

Documentation

  • add DataTable "Non-selectable rows" example
  • add OverflowMenu "Disabled items" example
  • add Breakpoint "Store and Breakpoint Values" example
metonym
published 0.60.0 •

Changelog

Source

0.60.0 - 2022-02-26

Features

  • add RadioButtonGroup hiddenLegend prop to visually hide the legend
  • add ProgressBar size prop to support small size variant

Fixes

  • update DatePicker calendar instance if options change

Refactor

  • remove StructuredList overflow-y style monkey patch

Documentation

  • add RadioButton "Hidden legend" example
  • add ProgressBar "Small size" example

Housekeeping

  • upgrade carbon-components to v10.54.0