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
248
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
1113
25

0.59.0

Diff
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
metonym
published 0.57.1 •

Changelog

Source

0.57.1 - 2022-02-01

Fixes

  • Tooltip definition is missing open, close events
  • TooltipDefinition button should have type="button"
metonym
published 0.57.0 •

Changelog

Source

0.57.0 - 2022-01-30

Breaking Changes

  • make NumberInput "input" event type consistent with "change" (null | number)

Features

  • dispatch NumberInput input, change events when clicking the steppers
  • add primaryButtonIcon prop to Modal, ModalFooter

Fixes

  • prevent NumberInput from coercing empty string to 0
metonym
published 0.56.1 •

Changelog

Source

0.56.1 - 2022-01-27

Fixes

  • NumberInput with value 0 should not be converted to null
metonym
published 0.56.0 •

Changelog

Source

0.56.0 - 2022-01-27

Breaking Changes

  • type NumberInput value as null | number instead of string | number (null signifies "no value")

Fixes

  • export readonly as a prop in TextArea
  • fix Checkbox two-way binding for checked, group props

Documentation

  • add Checkbox reactive example for bind:checked
  • update Checkbox reactive example for bind:group to demo two-way binding
  • simplify Tabs reactive example
  • add NumberInput "No value" example