Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

carbon-components-svelte

Package Overview
Dependencies
Maintainers
1
Versions
239
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
24

0.62.0

Diff

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
metonym
published 0.59.0 •

Changelog

Source

0.59.0 - 2022-02-21

Features

  • add maxCount prop to TextArea
  • add disabled prop to FileUploader
  • add files prop to FileUploaderDropContainer
  • add files prop to FileUploaderButton

Fixes

  • change add, change events in FileUploaderDropContainer to dispatch File[] instead of FileList
  • update files prop description in FileUploader

Documentation

  • add TextArea "Maximum character count" example
  • add FileUploader disabled state example
  • add FileUploader "Clear files" example
  • document validateFiles prop for FileUploaderDropContainer
  • add descriptions for FileUploaderButton, FileUploader examples

Housekeeping

  • upgrade carbon-components to v10.53.0
metonym
published 0.58.4 •

Changelog

Source

0.58.4 - 2022-02-21

Fixes

  • dispatched events without a detail type should be null instead of any
  • FileUploader clearFiles description should reflect that it's an accessor, not a prop
  • FileUploader should correctly fire add and remove events
  • FileUploader files should not be keyed by file name
  • FileUploader change event detail signature should be File[]
  • fix DataTable regression where sort icon indicators don't update

Refactor

  • remove unnecessary JSDoc default type notation
metonym
published 0.58.3 •

Changelog

Source

0.58.3 - 2022-02-20

Fixes

  • correctly set deprecation comments for deprecated components
  • TextInput and PasswordInput should render label if "labelText" slot is used
  • PasswordInput should not render label if no labelText is provided
  • StructuredList overflow-y should not be "hidden"
  • MultiSelect should not prevent default key behavior when open
  • Switch should have type="button"
metonym
published 0.58.2 •

Changelog

Source

0.58.2 - 2022-02-12

Fixes

  • Tooltip aria-label should use iconDescription if triggerText is falsy
  • OverflowMenu keyboard navigation should skip disabled items
  • UI Shell HeaderPanelDivider should use hr element to represent divider
  • Button should not set aria-pressed on icon-only, link buttons
metonym
published 0.58.1 •

Changelog

Source

0.58.1 - 2022-02-11

Fixes

  • remove whitespace from pre tag in CodeSnippet (Svelte v3.46.4 preserves pre whitespace by default)
metonym
published 0.58.0 •

Changelog

Source

0.58.0 - 2022-02-11

Breaking Changes

  • if 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

  • pass rowIndex, cellIndex to DataTable "cell" slot
  • add itemToInput prop to MultiSelect to customize name, title, labelText values
  • add open prop to TooltipDefinition; dispatch open, close events

Fixes

  • DataTable headers should be reactive
  • DataTable batch selection checkbox should be reactive
  • MultiSelect should correctly lose focus
  • non-filterable MultiSelect should dispatch a blur event
  • resolve MultiSelect accessibility issues
  • toggle HeaderNavMenu when pressing "Enter" or "Space"
  • close HeaderNavMenu menu when pressing "Enter" on an item
  • resolve HeaderNavMenu accessibility issues
  • fix TextInput reactivity by using native bind:value

Documentation

  • remove duplicate "Heading variant" example

Housekeeping

  • upgrade carbon-components to v10.52.0
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc