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
244
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.42.0

Diff

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

Changelog

Source

0.38.2 - 2021-07-03

Fixes

  • prevent <TextArea readonly={false} /> from being read-only
  • only focus OveflowMenuItem if not disabled
  • trap tab focus within Modal, ComposedModal
metonym
published 0.38.1 •

Changelog

Source

0.38.1 - 2021-06-29

Fixes

  • add Gray 80 (g80) theme to all.scss and the pre-compiled all.css
metonym
published 0.38.0 •

Changelog

Source

0.38.0 - 2021-06-27

Features

  • support read-only TextInput
  • render a checkmark icon for the selected ComboBox item

Fixes

  • adjust FileUploaderDropContainer markup to avoid accessibility error for nested interactive controls
  • use ErrorFilled16 icon in InlineLoading for the error status
  • render iconDescription as title in error/warning icons in InlineLoading
  • update accessibility attributes for StructuredList
  • use span instead of div in TooltipDefinition to avoid potential invalid HTML
  • close MultiSelect menu when blurring the last filterable option
  • open/focus field when tab focusing a filterable MultiSelect
  • unblock tab navigation when blurring MultiSelect
  • select correct item using keyboard navigation in a filterable ComboBox
  • unblock input after clearing a ComboBox selection
  • update ComboBox input text if item is selected
  • toggle SideNav rail when clicking the hamburger menu
  • update ContextMenu class names
  • close ContextMenu when left clicking anywhere

Documentation

  • add TextInput example "Read-only variant"
  • add Popover example "Popover alignment"

Housekeeping

  • upgrade carbon-components to v10.38.0
metonym
published 0.37.0 •

Changelog

Source

0.37.0 - 2021-06-26

Features

  • add ProgressBar component

Fixes

  • omit size prop in ToolbarSearch
  • omit passing iconDescription to NotificationIcon in InlineNotification, ToastNotification

Refactor

  • use class directive in TextInput

Documentation

  • add ProgressBar component documentation

Housekeeping

  • upgrade carbon-components to version 10.37.0
metonym
published 0.36.0 •

Changelog

Source

0.36.0 - 2021-06-26

Features

  • add condensed, flush props to StructuredList
  • support SideNav rail
  • add isSelected prop to HeaderNavItem
  • make components with labelText prop slottable (e.g., <span slot="labelText">...</span>)

Fixes

  • set min/max height for multi-line CodeSnippet
  • make ImageLoader SSR compatible by using a window type check guard
  • default isSelected to false in SideNavMenuItem
  • forward keydown event to TextArea
  • deprecate border prop in StructuredList

Documentation

  • add separate disabled example for filterable/interactive tags
  • update number of supported chart types from 17 to 20

Housekeeping

  • upgrade carbon-components to version 10.36.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