carbon-components-svelte

Svelte implementation of the Carbon Design System

APACHE-2.0 License

Downloads
103.3K
Stars
2.6K
Committers
101

Bot releases are hidden (Show)

carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.7...v0.63.8

Fixes

  • elevate Toolbar z-index so overflow menu is not clipped by the table (a2715f3d, #1289)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.6...v0.63.7

Fixes

  • strongly type translateWithId prop in Dropdown (d2428497, #1286)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.5...v0.63.6

Fixes

  • add translateWithIdsSelection prop to ComboBox, MultiSelect to customize clear selection description (f7146b61, #1285)
  • use default values in ListBoxMenuIcon if translateWithIds is undefined (8ddb88a, #1282)
  • use default values in ListBoxSelection if translateWithIds is undefined (1353c31, #1282)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.4...v0.63.5

Fixes

  • dispatch "change" event in Tabs only if selected index has changed (9911764d, #1279)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.3...v0.63.4

Fixes

  • add missing "2x3" ratio value to AspectRatio (410ac0c3, #1276)
  • fix typo in ToolbarSearch shouldFilterRows type annotation (30b81f98, #1275)

Documentation

  • correctly generate icon, action imports in examples
  • remove unnecessary tooltipBodyId in Tooltip examples
  • add DataTable "Expandable and selectable" example
  • add DataTable "Batch selection" example
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.2...v0.63.3

Fixes

  • fix FileUploaderItem regression where delete event should be dispatched if status is "edit" (564f25d0, #1268)

Documentation

  • add FileUploader "Item (edit)" example
  • revise FileUploader "Item (edit status, invalid state)" example to include on:delete usage
  • add FileUploader "Item (edit status, invalid state with subject, body)" example
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.1...v0.63.2

Fixes

  • set type="button" on Dropdown to fix usage in a form (1f18c86f, #1264)
  • re-focus search bar when clearing ToolbarSearch value (49a852b1, #1263)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.0...v0.63.1

Fixes

  • HeaderGlobalAction icon size should be 20 by default (1041c6e9, #1257)
  • fix rows reactivity in DataTable (43e29864, #1255 contributed by @n-peugnet)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.62.3...v0.63.0

⚠️ If using optimizeImports from carbon-preprocess-svelte, you must upgrade to version 0.9.0.

Breaking Changes

  • remove deprecated components: Icon, IconSkeleton, NotificationTextDetails, ToggleSmall, ToggleSmallSkeleton, HeaderActionSearch (ba0ed0b, #1191)
  • remove deprecated component props (ba7eeda, #1191)
  • remove optimizeCarbonImports preprocessor (6986aac1, #1217)
  • remove GlobalHeader and SideNav subfolders (62735d62, #1223)
  • move truncate action from actions to src/Truncate (9143e502, #1224)

Features

  • add breakpointObserver, breakpoints to base exports (4d955900, #1216)
  • add ProgressBar kind prop to support inline, indented variants (c998dbd, #1213)

Fixes

  • add explicit type="button" attribute to interactive, filterable tag variants (7f9f45e5, #1246)
  • add TypeScript support for sveltekit: attributes for anchor elements (ea38cd25, #1234)
  • Link types should extend a or p attributes (45c27264, #1233)
  • prevent selectable DataTable with sticky header from jumping (e8da9d7e, #1230)

Refactor

  • use icons from carbon-icons-svelte v11

Documentation

  • add DataTable "Sticky header" example
  • refactor Grid examples
  • add note to UIShell that theming is not supported
  • add ProgressBar examples "Inline variant" and "Indented variant"

Housekeeping

  • upgrade carbon-components to v10.56.0
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.62.2...v0.62.3

Fixes

  • fix TreeView filter logic in expandNodes/collapseNodes (0e370dd5, #1215)
  • correctly render slotted label in NumberInput (5e67c707, #1212)
  • only render expandable DataTable row content when expanded (051a8702, #1211)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.62.1...v0.62.2

Fixes

  • DataTable expandable variant should work with zebra styles (53fdbdf9, #1200)
  • DatePicker flatpickrProps should override default flatpickr options (9c45c74d, #1198 contributed by @flut1)

Documentation

  • add DataTable "Expandable (zebra styles)" example
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.62.0...v0.62.1

Fixes

  • fix ToolbarSearch standalone usage where "DataTable" context can be undefined (254bd848, #1190)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.61.1...v0.62.0

Breaking Changes

  • remove Copy component (e4800d96, #1174)
  • do not prevent default submit behavior in Form (ef46f350, #1170)

Features

  • add shouldFilterRows prop to ToolbarSearch to support auto-filterable DataTable rows (2df7b922, #1179)
  • make SideNavLink text slottable (1462b2ee, #1187)
  • make icon prop slottable in ContextMenuOption, Link, Tag, HeaderAction, HeaderActionLink, SideNavLink, SideNavMenu (e23b1211, #1186)
  • make MultiSelect slottable (1017e801, #1183)
  • make Dropdown slottable (f5594dab, #1182)
  • make ComboBox slottable (28587763, #1181)

Fixes

  • stop click propagation on HeaderAction button (d9ee8cb2, #1185)

Refactor

  • inline Copy component in CopyButton, CodeSnippet (f8aecdbe, #1175)
  • use native bind:value in Search (ba0abe8e, #1173)
  • use native bind:value in TextArea (59ecc53a, #1169)

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
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.61.0...v0.61.1

Fixes

  • do not generate CSS file from css/_popover.scss (a9e26445, #1168)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.60.0...v0.61.0

Breaking Changes

  • remove HeaderActionSlideTransition interface from HeaderAction; type transition prop as SlideParams (47866b1d, #1163)
  • rename Breakpoint "on:match" event to "on:change" (2cd2872, #1092 contributed by @brunnerh)
  • move Breakpoint breakpoints to carbon-components-svelte/src/Breakpoint/breakpoints (5de0d9a3, #1092 contributed by @brunnerh)

Features

  • support DataTable non-selectable rows (95a1dfa1, #1166)
  • expose MultiSelect highlightedId as a prop (9215e3b1, #1153 contributed by @dominikg)
  • add breakpointObserver store as an alternative to Breakpoint (5de0d9a3, #1092 contributed by @brunnerh)

Fixes

  • audit HeaderAction text styles (53853cf6, #1162)
  • visually align HeaderActionLink icon with HeaderAction icon (5d153601, #1161)
  • fix MultiSelect filterable selection error (9215e3b1, #1153 contributed by @dominikg)
  • correctly type FileUploaderDropContainer validateFiles prop (853942f9, #1149 contributed by @DanielPower)
  • inline Popover SCSS from [email protected] (cc7b30a6, #1139)

Refactor

  • remove usage of deprecated Icon component (e2c980e2, #1160)
  • use direct component imports where possible (48348df4, #1158)

Documentation

  • add DataTable "Non-selectable rows" example
  • add OverflowMenu "Disabled items" example
  • add Breakpoint "Store and Breakpoint Values" example
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.59.0...v0.60.0

Features

  • add RadioButtonGroup hiddenLegend prop to visually hide the legend (52cd7af, #1133)
  • add ProgressBar size prop to support small size variant (93983f9, #1133)

Fixes

  • update DatePicker calendar instance if options change (faeee2b1, #1128)

Refactor

  • remove StructuredList overflow-y style monkey patch (38048d1, #1133)

Documentation

  • add RadioButton "Hidden legend" example
  • add ProgressBar "Small size" example

Housekeeping

  • upgrade carbon-components to v10.54.0
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.58.4...v0.59.0

Features

  • add maxCount prop to TextArea (5cede07, #1109)
  • add disabled prop to FileUploader (85696ed, #1109)
  • add files prop to FileUploaderDropContainer (8bfdb7f, #1125)
  • add files prop to FileUploaderButton (bf85af2, #1120)

Fixes

  • change add, change events in FileUploaderDropContainer to dispatch File[] instead of FileList (45c0e79, #1125)
  • update files prop description in FileUploader (c13ade3, #1120)

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
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.58.3...v0.58.4

Fixes

  • dispatched events without a detail type should be null instead of any (714f47a6, #1124)
  • FileUploader clearFiles description should reflect that it's an accessor, not a prop (2f3cff29, #1122)
  • FileUploader should correctly fire add and remove events (6a13ca1c, #1121)
  • FileUploader files should not be keyed by file name (25d28a9c, #1118)
  • FileUploader change event detail signature should be File[] (7602731b, #1117)
  • fix DataTable regression where sort icon indicators don't update (dce0309b, #1114)

Refactor

  • remove unnecessary JSDoc default type notation (cd687f0e, #1123)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.58.2...v0.58.3

Fixes

  • correctly set deprecation comments for deprecated components (df4ed9d7, #1111)
  • TextInput and PasswordInput should render label if "labelText" slot is used (7c0086d0, #1110)
  • PasswordInput should not render label if no labelText is provided (33c1543b, #1108 contributed by @hnzlmnn)
  • StructuredList overflow-y should not be "hidden" (6dc17dd8, #1107)
  • MultiSelect should not prevent default key behavior when open (73b10566, #1101)
  • Switch should have type="button" (1ad2ca40, #1104)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.58.1...v0.58.2

Fixes

  • Tooltip aria-label should use iconDescription if triggerText is falsy (c32df506, #1095)
  • OverflowMenu keyboard navigation should skip disabled items (c7de897b, #1096)
  • UI Shell HeaderPanelDivider should use hr element to represent divider (16790daa, #1093)
  • Button should not set aria-pressed on icon-only, link buttons (05e4c282, #1091 contributed by @brunnerh)