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 about 2 years ago

Compare v0.67.6..v0.67.7

Fixes

  • remove UI Shell Content left margin if SideNav is collapsed (fd42cb38, #1428)
carbon-components-svelte -

Published by metonym about 2 years ago

Compare v0.67.5..v0.67.6

Refactor

  • use class directive in TextInput, DatePickerInput (45f14f16, #1426)

Fixes

  • avoid dynamic class names in NotificationButton, NotificationIcon (d2cc75d8, #1425)
  • forward keydown, keyup events to NumberInput (7fe9b394, #1424)
carbon-components-svelte -

Published by metonym about 2 years ago

Compare v0.67.4..v0.67.5

Fixes

  • correctly select a ComboBox item when pressing "Enter" (de81ef99, #1419 contributed by @patoi)
carbon-components-svelte -

Published by metonym about 2 years ago

Compare v0.67.3..v0.67.4

Fixes

  • override Toggle margin-top style if hideLabel is true (8a40191c, #1417)
carbon-components-svelte -

Published by metonym about 2 years ago

Compare v0.67.2..v0.67.3

Fixes

  • correctly pluralize Pagination items display text (7f7bf51f, #1416)
  • prevent label text selection in Toggle (a3264bd6, #1415)
  • add missing hideLabel prop to Toggle (f4d12b80, #1414)
carbon-components-svelte -

Published by metonym about 2 years ago

Compare v0.67.1..v0.67.2

Fixes

  • display correct ComboBox value if using itemToString and shouldFilterItem props (8bd615b2, #1411 contributed by @hffmr)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.67.0..v0.67.1

Fixes

  • set a high z-index on the SideNav overlay to avoid it being covered by other elements (638a4371, #1388)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.66.3..v0.67.0

Breaking Changes

Svelte version >=3.48.0 is required.

Fixes

  • allow close event in ToastNotification, InlineNotification to be cancellable (924b6d35, #1379 contributed by @tlkh40)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.66.2..v0.66.3

v0.66.2 is deprecated on NPM and will be republished as v0.67.0.

Fixes

  • revert 924b6d35 and re-publish since v0.66.2 contains breaking changes (052acfc2, #1381)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.66.1..v0.66.2

⚠️ Deprecated due to inadvertent breaking changes. Use v0.67.0 instead.

Fixes

  • allow close event in ToastNotification, InlineNotification to be cancellable (924b6d35, #1379 contributed by @tlkh40)

Documentation

  • add ToastNotification example "Prevent default close behavior"
  • add InlineNotification example "Prevent default close behavior"
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.66.0..v0.66.1

Fixes

  • support PasswordInput invalid state when used in a FluidForm (6a3614bf, #1371)
  • remove title attribute from SideNavMenu icon (c346b8ed, #1373)
  • remove tabindex attribute from SideNavMenu icon (83c11fd4, #1369)
  • override max-height in an expanded SideNavMenu (388a05c2, #1368)
  • fix ComposedModal type error where the focus node is possibly null (9fcf9855, #1364)

Refactor

  • pass required text prop from CodeSnippet to CopyButton to prevent development warning (d5d6294b, #1372)

Documentation

  • add PasswordInput example "Invalid state"
  • rename ComboBox example "Selected id" to "Initial selected id"
  • revise DatePicker example "DatePicker in a modal" to prevent iframe from stealing focus
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.65.3..v0.66.0

Features

  • add fullWidth prop to Slider (1ccdf645, #1354)
  • support number type for selected prop in Select (78d3f132, #1355)

Fixes

  • only dispatch "change" in Select if selected value has changed (511d7c24, #1356)
  • use first SelectItem value as default selected value in Select if undefined (f8b1c8a2, #1353)

Documentation

  • add Slider example "Full width"
  • revise Select example "Default" to demo usage without selected prop
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.65.2..v0.65.3

Fixes

  • fix TreeView type error when keyboard navigating an expanded node (eb381190, #1350)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.65.1..v0.65.2

Fixes

  • DataTable header keys should be reactive (0f060ea0, #1346 contributed by @jorgebv)
  • use native binding for value prop in TimePicker (b21718cc, #1344)
  • use native binding for value prop in ComboBox, MultiSelect (8e52e13e, #1343)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.65.0..v0.65.1

Fixes

  • DataTable column sort direction order should be independent (e56ee83d, #1342)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.64.3..v0.65.0

Breaking Changes

  • mark array-type props as read-only (260bf4e0, #1335)

Features

  • add sortKey, sortDirection props to DataTable for programmatic sorting (72c24b83, #1337)
  • forward paste event to ComboBox, DatePicker, MultiSelect, NumberInput, Search, TextArea, TextInput, PasswordInput, TimePicker, HeaderSearch (e230db81, #1332)
  • support disabled items in Dropdown, MultiSelect, ComboBox (f25a10c9, #1328)

Fixes

  • do not overwrite cells property in rows object in DataTable (d2cdb8eb, #1336)
  • correctly toggle the body class if using nested modals (22f93ee6, #1331; 37aa207c, #1339 contributed by @brunnerh)
  • remove useless inline prop from Dropdown (0063c01b, #1329)
  • remove redundant Dropdown list box role and id (e7a9064, #1327)
  • add missing role="option" and aria-selected attributes to ListBoxMenuItem (319eb98, #1327)

Refactor

  • set alert Modal attributes in markup instead of script (e62bea38, #1333)

Documentation

  • add DataTable example "Programmatic sorting"
  • add Modal example "Has scrolling content"
  • add Modal example "Custom focus"
  • add Dropdown example "Disabled items"
  • add MultiSelect example "Disabled items"
  • add ComboBox example "Disabled items"
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.64.2..v0.64.3

Fixes

  • active tab in Tabs should not steal focus if programmatically selected (0f621c25, #1320)
  • set title attribute in CheckBox, MultiSelect, Dropdown, ComboBox if label is truncated (40e18fbc, #1317)

Refactor

  • refactor components to use class: directive instead of the class attribute (0801e1d0, #1318)

Documentation

  • add Tabs example "Disabled tabs"
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.64.1..v0.64.2

Fixes

  • apply custom DataTable widths to empty columns (31dacd53, #1314)
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.64.0..v0.64.1

Fixes

  • mark CopyButton text prop as required (74ffcecc9deb18b7c9e9a11c37e036648993b4c2, #1311)
  • mark Dropdown selectedId prop as required (9d6d2e2720a15ca15fde367d686a0032bdffa22b, #1311)
  • use @see tag in Theme tokens prop description (003ab653, #1309)
  • remove title attribute from Modal, ModalHeader close button (4ecfcec17de0b0267a1625d5bfc6a1fd01ad872b, #1308)
  • remove redundant aria-label from Modal close button icon (a72cf85ec2799268e4cacc6655e83ce04c85275d, #1308)
  • add aria-hidden="true" to Modal, ModalHeader close button icon (bf12ae861b75521c56366980f548d00462ad16d4, #1308)

Documentation

  • update Theme docs to specify that it must be used with all.css
  • update DataTable docs to note that custom widths do not work with stickyHeader
carbon-components-svelte -

Published by metonym over 2 years ago

Compare v0.63.8..v0.64.0

Breaking Changes

  • set flatpickrProps.static in DatePicker to be true by default (a958825d, #1298)
  • use data attribute instead of id for DataTable headers/rows (6239c110, #1297)

Features

  • support custom column widths in DataTable (c6f21089, #1265)
  • dispatch "expand" and "collapse" events in CodeSnippet (1454eeae, #1291)

Fixes

  • use @see tag for flatpickr options link in DatePicker (37b40d64, #1299)
  • pressing "Enter" in DatePicker should update the value (20a8a647, #1280 contributed by @patoi)
  • dispatched event type without detail should be null, not any (88d51523, #1295)
  • type missing "open" event in HeaderAction (5576c7ce, #1293)
  • use small button in multi-line CodeSnippet (e3f72e64, #1292)

Documentation

  • make calendar variants of DatePicker more prominent
  • add DataTable example "Custom column widths"
  • add CodeSnippet examples "Expanded by default" and "Reactive example"