Upgrading lucide 0.291 to 0.292
Breaking0.291.0 → 0.292.0Breaking1New2Changed4
BreakingUpgrade verdict
1 breaking change.
In plain terms
- If you made your own icons for the Angular package, they now need a simpler format without the outer svg wrapper.
Must act 1 item needs code or config changes
What you must change
Breaking1
Updates the
LucideIconData interface in lucide-angular to match other packages, dropping the svg root element name and attributes.LucideIconDataAPI changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- added:
const CheckSquare2: IconNode - added:
const Ribbon: IconNode - added:
type IconNode = readonly [tag: string, attrs: SVGProps, children?: IconNodeChild[]] - added:
type IconNodeChild = readonly [tag: string, attrs: SVGProps] - added:
type Icons = { [key: string]: IconNode } - added:
type SVGProps = Record<string, string | number>