* fix(vue): support kebab-case icon-node prop on Icon component The Icon component destructured `iconNode` camelCase-only while `stroke-width`/`absolute-stroke-width` accept both cases, so the idiomatic Vue usage `<Icon :icon-node="..." />` left iconNode undefined and crashed with 'Cannot read properties of undefined (reading map)' (#3485). Accept the kebab-case alias and guard the render path. Closes #3485 * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * chore(vue): apply prettier formatting to Icon.ts --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Eric Fennis <eric.fennis@gmail.com> |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| context.spec.ts | ||
| ContextWrapper.vue | ||
| Icon.spec.ts | ||
| lucide-vue.spec.ts | ||
| setupVitest.js | ||
| testIconNodes.ts | ||