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.44.0

Diff

Changelog

Source

0.44.0 - 2021-09-07

Features

  • add ability to override or customize DatePicker calendar options using the flatpickrProps prop
metonym
published 0.43.0 •

Changelog

Source

0.43.0 - 2021-09-06

Features

  • add ability to programmatically clear a ComboBox using the clear component accessor
metonym
published 0.42.3 •

Changelog

Source

0.42.3 - 2021-09-05

Fixes

  • RadioButton "labelText" slot should render even if labelText is falsy
  • only render FormGroup legend element if legendText is truthy
metonym
published 0.42.2 •

Changelog

Source

0.42.2 - 2021-07-29

Fixes

  • fix reactivity regression in ComboBox

Documentation

  • update example set-ups
  • document styling instructions, carbon-preprocess-svelte in README.md
metonym
published 0.42.1 •

Changelog

Source

0.42.1 - 2021-07-26

Fixes

  • disable a11y-mouse-events-have-key-events warnings
  • upgrade carbon-icons-svelte to v10.36.0 to quell a11y-mouse... warnings

Refactor

  • remove formatStyle utility in OverflowMenu

Documentation

  • add svelte:head example usage for loading CDN styles
  • add instructions for dynamic theming
  • update number of available Carbon icons
metonym
published 0.42.0 •

Changelog

Source

0.42.0 - 2021-07-22

Features

  • add helperText prop to DatePickerInput

Fixes

  • replace svelte:body with svelte:window when listening for an outside click

Documentation

  • fix typos in styling instructions
  • update expanded nodes guidance
  • add DatePicker example "With helper text"

Refactor

  • omit explicit treeview.scss import in css/*.scss files as it is included by default in carbon-components@10.40

Housekeeping

  • upgrade carbon-components to v10.40.0
metonym
published 0.41.0 •

Changelog

Source

0.41.0 - 2021-07-18

Features

  • add expandedIds to TreeView

Fixes

  • do not fall back to an empty string for a DataTable value if falsy
  • omit disabled attribute in Button if value is falsy

Documentation

  • add styling instructions to the home page
metonym
published 0.40.1 •

Changelog

Source

0.40.1 - 2021-07-14

Fixes

  • focus first, non-disabled TreeView node if active id does not match the selected id
  • set type="button" on OverflowMenu to prevent submit behavior when pressing "Enter"
  • update semantic attributes in OverflowMenuItem
  • do not render OverflowMenuItem title attribute if using a slot
  • do not dispatch NumberInput on:change event on initialization
  • dynamically load ESM flatpickr rangePlugin
  • forward input, focus events to Select
  • type DataTableRowId as any, fixes
metonym
published 0.40.0 •

Changelog

Source

0.40.0 - 2021-07-11

Breaking Changes

  • remove appendTo prop in DatePicker for server-side rendering (SSR) compatibility

Features

  • add Breakpoint component to detect the current Carbon grid size based on browser width
  • add Theme component to dynamically update the current theme client-side
  • add valueFrom, valueTo props for range DatePicker
  • export multiSelectRef, fieldRef, selectionRef in MultiSelect
  • add clearItem, clearAll instance methods to LocalStorage
  • support NumberInput readonly variant

Fixes

  • append DatePicker instance to local reference to prevent arrow key locking
  • fix on:change type signature in DatePicker
  • export id prop in ProgressBar
  • add skeleton text for every row and column in DataTableSkeleton
  • deprecate shouldShowBorder prop in Table
  • correctly type exported constant props and function declarations as accessors in SvelteComponentTyped interface

Documentation

  • document Breakpoint component
  • document Theme component
  • add ProgressBar "UX example"
  • add DatePicker example "Range"
  • add NumberInput example "Read-only variant"

Housekeeping

  • upgrade carbon-components to v10.39.0
metonym
published 0.39.0 •

Changelog

Source

0.39.0 - 2021-07-05

Breaking Changes

  • remove clipboard-copy direct dependency; use native Clipboard API instead of clipboard-copy to copy text in CopyButton, CodeSnippet

Features

  • add TreeView component
  • add RecursiveList component
  • support 3 buttons in Modal, ComposedModal via secondaryButtons
  • make DataTable title/description slottable
  • allow custom expansionBreakpoint in UI Shell Header, SideNav
  • dispatch "click:button--primary" as an alias to "submit" in Modal, ComposedModal

Fixes

  • export useStaticWidth prop in DataTable
  • do not render DataTable table header if title/description not provided

Documentation

  • add TreeView documentation
  • add RecursiveList documentation
  • add CopyButton examples "Overriding copy functionality", "Preventing copy functionality"
  • add CodeSnippet examples "Overriding copy functionality", "Preventing copy functionality"
  • add DataTable example "Static width"
  • include typedefs in Component API section
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