github carbon-design-system/carbon-components-svelte v0.46.0

latest releases: v0.89.7, v0.89.6, v0.89.5...
3 years ago

Compare v0.45.1...v0.46.0

Breaking Changes

  • use .svelte.d.ts extension instead of .d.ts for Svelte component TypeScript definitions (3203e7a, #856)

This breaking change affects TypeScript users using the direct component import path.

To fix any type errors, append a ".svelte" to the import.

- import Button from "carbon-components-svelte/src/Button/Button";
+ import Button from "carbon-components-svelte/src/Button/Button.svelte";

Features

  • support Tag outline type (9f2e38f, #854)
  • add hideLabel prop to MultiSelect (b2812a1, #854)
  • allow any Svelte component to be used for icon props, not just CarbonIcon (b21600c, #806)
  • add closeIcon prop to HeaderAction to override the default Close20 icon (fc9e8a6, #840 contributed by @miedzikd)

Fixes

  • avoid opening the calendar if DatePickerInput is a disabled fieldset descendant (b616243, #860)
  • remove stopPropagation modifier from HeaderAction to allow multiple UI Shell app switchers (b85ab30, #840 contributed by @miedzikd)

Housekeeping

  • upgrade carbon-components to v10.46.0

Don't miss a new carbon-components-svelte release

NewReleases is sending notifications on new releases.