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.58.0...v0.58.1

Fixes

  • remove whitespace from pre tag in CodeSnippet (Svelte v3.46.4 preserves pre whitespace by default)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.57.1...v0.58.0

Breaking Changes

  • if TextInput is type="number", value can be a number or null to signify "no value" (173d416, #1065)
  • TextInput dispatches instead of forwards input, change events (detail type: null | number | string) (a15c1f5, #1065)

Features

  • pass rowIndex, cellIndex to DataTable "cell" slot (1d861bd, #1086)
  • add itemToInput prop to MultiSelect to customize name, title, labelText values (0f7349e, #1074)
  • add open prop to TooltipDefinition; dispatch open, close events (20e61724, #1057)

Fixes

  • DataTable headers should be reactive (a5f5550a, #1075)
  • DataTable batch selection checkbox should be reactive (0518fe6, #1085)
  • MultiSelect should correctly lose focus (8b39ccae, #1077)
  • non-filterable MultiSelect should dispatch a blur event (63f52b46, #1080)
  • resolve MultiSelect accessibility issues (30a5f2c2, #1072)
  • toggle HeaderNavMenu when pressing "Enter" or "Space" (18eb1e26, #1073)
  • close HeaderNavMenu menu when pressing "Enter" on an item (c196ec0, #1073)
  • resolve HeaderNavMenu accessibility issues (1939e432, #1079)
  • fix TextInput reactivity by using native bind:value (173d416, #1065)

Documentation

  • remove duplicate "Heading variant" example (cbecfd41, #1070 contributed by @canerakdas)

Housekeeping

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

Published by metonym over 2 years ago

Compare v0.57.0...v0.57.1

Fixes

  • Tooltip definition is missing open, close events (504cf09d, #1058)
  • TooltipDefinition button should have type="button" (5358cf66, #1056)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.56.1...v0.57.0

Breaking Changes

  • make NumberInput "input" event type consistent with "change" (null | number) (099efede, #1053 contributed @brunnerh)

Features

  • dispatch NumberInput input, change events when clicking the steppers (099efede, #1053 contributed @brunnerh)
  • add primaryButtonIcon prop to Modal, ModalFooter (a8039a4d, #1047 contributed by @gregorw)

Fixes

  • prevent NumberInput from coercing empty string to 0 (099efede, #1053 contributed @brunnerh)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.56.0...v0.56.1

Fixes

  • NumberInput with value 0 should not be converted to null (95f0b9d, #1046)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.55.0...v0.56.0

Breaking Changes

  • type NumberInput value as null | number instead of string | number (null signifies "no value") (9e915cf9, #1044)

Fixes

  • export readonly as a prop in TextArea (3018c2b2, #1043)
  • fix Checkbox two-way binding for checked, group props (048ebc7b, #1042)

Documentation

  • add Checkbox reactive example for bind:checked (63ba003, #1045)
  • update Checkbox reactive example for bind:group to demo two-way binding (3a75244, #1045)
  • simplify Tabs reactive example (1a1f4a3, #1045)
  • add NumberInput "No value" example (c82990c, #1045)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.54.0...v0.55.0

Features

  • forward focus, blur events to NumberInput (493568f0, #1033)
  • update ProgressStep icons for current, incomplete steps (e2779b9, #1021)
  • type id as any instead of string in ComboBox, Dropdown, MultiSelect (1f7b5560, #1019)

Fixes

  • do not coerce empty value to 0 in NumberInput if allowEmpty is true (222d5a90, #1032)
  • label Slider input if aria-label not explicitly defined (c375d64, #1021)
  • add missing required prop to RadioButton (25ce57fd, #1035 contributed @brunnerh)
  • add missing required prop to Checkbox (201e0375, #1030 contributed @brunnerh)
  • include @default undefined annotations for props that are undefined by default (0d78c30b, #1020)

Refactor

  • remove hotfix in DatePicker to prevent disabled icon from being clickable (77f31ea, #1021)

Housekeeping

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

Published by metonym almost 3 years ago

Compare v0.53.0...v0.54.0

Features

  • support paginated DataTable (5da83ec8, #880 contributed by @kwieszalka-maystreet)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.52.0...v0.53.0

Breaking Changes

  • replace selectedIndex with selectedId in Dropdown (e11a893b, #1004 contributed by @KoichiKiyokawa)
  • replace selectedIndex with selectedId in ComboBox (cde8a79f, #1016 contributed by @KoichiKiyokawa)

Fixes

  • prevent Dropdown icon from being clickable when disabled (cfa036d7, #1017 contributed by @patoi)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.51.3...v0.52.0

Features

  • make Toggle labels slottable (b13bb8e0, #1015)
  • add option to ComboBox.clear to not re-focus input (clear({ focus: false })) (37f19d21, #1000)

Fixes

  • break out of trap focus in Tooltip when pressing "Escape" (b13bb8e0, #1015)
  • pass "name" prop in ComboBox to input element (a60bc73f, #1014)
  • emit change event in Checkbox after modifying state (9b32fe90, #1013 contributed by @koffeinfrei)
  • restore explicit typing of null | HTMLElement for TypeScript strict mode (653a601f, #1008)
  • dispatch click:button--primary in Modal if shouldSubmitOnEnter is true (49a94b0e, #1007)

Documentation

  • simplify reactive RadioButton example (58de79d6, #1012)
  • add reactive Select example for Select (e5f77aa6, #1011)
  • fix grammar in TreeView "Expand all nodes" example (872f90c, #1001)
  • note that Search clear event is also dispatched when pressing "Escape" (e066a65, #1001)
  • demo reactivity in expandable Search example (95a327f, #1001)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.51.2...v0.51.3

Fixes

  • fix selectedIndex reactivity in ComboBox (d31e529, #995 contributed by @patoi)

Refactor

  • remove redundant null in null | HTMLElement prop types (6de73f8, #998)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.51.1...v0.51.2

Fixes

  • correctly reset values in ComboBox when manually clearing selection (f6eb958, #992)
  • fix filterable ComboBox keyboard selection (a2a5159, #926 contributed by @patoi)
  • remove redundant role attributes from Dropdown, Header to fix a11y warnings (502f937, #989)
  • fix TileGroup two-way binding on the selected prop (e8be928, #971 contributed by @brunnerh)

Documentation

  • document DatePicker usage with a Rollup set-up (01a548f, #990)
  • add multiple modals example for Modal (3ca0297, #980)
  • add reactive examples for RadioTile (d4db64e, #979)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.51.0...v0.51.1

Fixes

  • add missing required prop to Select (6458c97, #968 contributed by @brunnerh)
  • set global theme variable first in SCSS files (26db657, #969)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.50.5...v0.51.0

Features

  • enhance Checkbox to support bind:group (f0cf4e7, #947 contributed by @gregorw)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.50.4...v0.50.5

Fixes

  • filterable MultiSelect should blur when pressing "Tab" (c2a2f01, #961)
  • filterable MultiSelect menu should close when pressing "Escape" (29a12f6, #961)
  • filterable MultiSelect menu should open when pressing "Space" (6dace27, #961)
  • DatePicker input should not lose focus when pressing "Enter" (f955b09, #958)
  • ToolbarSearch should expand if value is programmatically set (9698625, #956)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.50.3...v0.50.4

Fixes

  • pressing "Escape" in a DatePicker should not propagate past the open calendar (a522a55, #955)
  • prevent menu icon in filterable MultiSelect from triggering twice (3277527, #954)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.50.2...v0.50.3

Fixes

  • do not dispatch "click", "click:row" DataTable events when selecting a checkbox or radio button (ae96fdf, #951)
  • render "labelText" slot if labelText prop or $$slots.labelText is truthy (a32bcbc, #949)
  • prevent default behavior in Tabs mobile variant when clicking a menu option (d5a6b58, #946 contributed @brunnerh)
  • coalesce nullish values to "" for TextInput, PasswordInput, TextArea (a1377f0, #936 contributed by @patoi)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.50.1...v0.50.2

Fixes

  • select correct item in filterable MultiSelect using keyboard navigation (f6c9c8c, #923)
  • do not mutate sortedItems in MultiSelect (6f9dddb, #923)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.50.0...v0.50.1

Fixes

  • do not dispatch DataTable "click", "click:row" events if target is an OverflowMenu (4f83b2d, #918)
carbon-components-svelte -

Published by metonym almost 3 years ago

Compare v0.49.2...v0.50.0

Features

  • add target prop to ContextMenu to support custom trigger element(s) (f603106, #916)
  • pass clicked element as event.detail in ContextMenu "open" event (c43da25, #916)