Carbon Icons Svelte Versions Save

Carbon Design System SVG icons as Svelte components

v11.4.0

1 year ago

Features

  • upgrade @carbon/icons to v11.10.0 (net +4 icons)

v11.3.0

1 year ago

Features

  • upgrade @carbon/icons to v11.8.0 (net +59 icons)

v11.2.0

1 year ago

Features

  • upgrade @carbon/icons to v11.6.0 (net +1 icon)

v11.1.0

1 year ago

Features

  • upgrade @carbon/icons to v11.3.0 (net +16 icons)

v11.0.1

2 years ago

Fixes

  • avoid duplicate exports from lib/index.js

v11.0.0

2 years ago

Breaking Changes

  • move icons to the top-level lib folder (e.g., carbon-icons-svelte/lib/Add.svelte)
  • specify icon size using the size prop (16 | 20 | 24 | 32); the default size is 16
  • default slot has been removed
  • forwarded events have been removed

Import icons from the lib folder.

- import Add16 from "carbon-icons-svelte/lib/Add16";
+ import Add from "carbon-icons-svelte/lib/Add.svelte";

Specify the icon size using the size prop.

- <Add20 />
+ <Add size={20} />

v10.45.1

2 years ago

Fixes

  • fix: CarbonIcon interface should not extend svg attributes or include fill, stroke, width, height props
  • fix: add missing prop descriptions to CarbonIconProps

v10.45.0

2 years ago

Features

  • upgrade @carbon/icons to v10.48.0 (net +144 icons)

v10.44.4

2 years ago

Fixes

  • generate typedef for source Svelte components (i.e., Add16.svelte.d.ts)

v10.44.3

2 years ago

Fixes

  • set type="module" in package.json