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
1
Versions
243
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
25

0.58.1

Diff

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

Changelog

Source

0.55.0 - 2022-01-22

Features

  • forward focus, blur events to NumberInput
  • update ProgressStep icons for current, incomplete steps
  • type id as any instead of string in ComboBox, Dropdown, MultiSelect

Fixes

  • do not coerce empty value to 0 in NumberInput if allowEmpty is true
  • label Slider input if aria-label not explicitly defined
  • add missing required prop to RadioButton
  • add missing required prop to Checkbox
  • include @default undefined annotations for props that are undefined by default

Refactor

  • remove hotfix in DatePicker to prevent disabled icon from being clickable

Housekeeping

  • upgrade carbon-components to v10.51.0
metonym
published 0.54.0 •

Changelog

Source

0.54.0 - 2022-01-19

Features

  • support paginated DataTable
metonym
published 0.53.0 •

Changelog

Source

0.53.0 - 2022-01-18

Breaking Changes

  • replace selectedIndex with selectedId in Dropdown
  • replace selectedIndex with selectedId in ComboBox

Fixes

  • prevent Dropdown icon from being clickable when disabled
metonym
published 0.52.0 •

Changelog

Source

0.52.0 - 2022-01-17

Features

  • make Toggle labels slottable
  • add option to ComboBox.clear to not re-focus input (clear({ focus: false }))

Fixes

  • break out of trap focus in Tooltip when pressing "Escape"
  • pass "name" prop in ComboBox to input element
  • emit change event in Checkbox after modifying state
  • restore explicit typing of null | HTMLElement for TypeScript strict mode
  • dispatch click:button--primary in Modal if shouldSubmitOnEnter is true

Documentation

  • simplify reactive RadioButton example
  • add reactive Select example for Select
  • fix grammar in TreeView "Expand all nodes" example
  • note that Search clear event is also dispatched when pressing "Escape"
  • demo reactivity in expandable Search example
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