Releases: metonym/svelte-bootstrap-icons
Releases · metonym/svelte-bootstrap-icons
v3.1.1
v3.1.0
v3.0.0
Breaking Changes
- Update generated types to support Svelte version 4. Svelte 3 is supported, however, version 3.55 is the minimum supported version.
The generated SvgComponent
type now resembles the following:
declare class SvgComponent extends SvelteComponentTyped<
SVGAttributes<SVGSVGElement> & {
// Support data-* attributes in Svelte 3
[key: `data-${string}`]: any;
},
Record<string, any>,
{ default: {} }
> {}
v2.3.1
v2.3.0
v2.2.1
v2.2.0
v2.1.0
v2.0.1
v2.0.0
Version 2 replaces svg-to-svelte
with svelvg
to generate the icon components. The build process is faster, and the emitted library size is greatly reduced:
Unpacked Size
- 2.47 MB
+ 1.73 MB
Total files
- 8351
+ 3344
Breaking Changes
- Remove forwarded click/mouseover/mousenter/mouseleave/keydown events
- Remove default
slot
- Flatten
lib
folder; direct import path is nowsvelte-bootstrap-icons/lib/<IconName>.svelte
instead ofsvelte-bootstrap-icons/lib/<IconName>