Karsa
0f8d48b266
test(packages): updates unit test snapshots with face-slightly-smiling ( #4676 )
2026-08-06 22:36:02 +02:00
4c663b9a32
fix(vue): support kebab-case icon-node prop on Icon component ( #4512 )
...
* 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 >
2026-07-09 14:11:20 +02:00
Thomas Hochstetter and Axtho
446e644e63
fix(vue): clone slots before passing to icon ( #4339 )
...
Co-authored-by: Axtho <th@ebtc.org >
2026-05-01 14:52:32 +02:00
Eric Fennis and Copilot
0c6dfeb64c
feat(context-providers): Adding Context providers ( #3315 )
...
* Add context provider for svelte package
* Add context provider for react
* Remove old vue 2 package
* Add @lucide/vue package
* Remove old vue 2 doc
* Update docs
* Adjust export template
* Add context provider to solid package
* Fix context
* Implement context providers
* Add context provider to preact
* Adjust vue package!
* Fix tests
* Format code
* Add context provider for Vue
* Improve memoization
* Update packages/lucide-react-native/tests/context.spec.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply fixes
* Cleanup
* Formatting
* Move on
* Update packages/lucide-react/tests/context.spec.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/lucide-preact/tests/context.spec.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/vue/tests/context.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove x
* update export template
* apply feedback
* fix export template
* Fixes types and tests
* fix tests
* apply feedback
* Remove class
* Formatting
* Update packages/svelte/src/context.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove fill form context providers
* formatting
* Add classname to context provider
* Apply feedback
* Format code
* Rename files
* Rename tsx to ts
* Format file
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-02 09:47:29 +01:00
Eric Fennis and Copilot
7bbb1e1fea
feat(@lucide/vue): Rename Vue package name to @lucide/vue ( #3337 )
...
* Remove old vue 2 package
* Add @lucide/vue package
* Remove old vue 2 doc
* Update docs
* Adjust export template
* Adjust vue package!
* Fix tests
* Format code
* Update packages/vue/src/Icon.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Adjust vue package in docs
* Update deadlinks
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-11 14:38:34 +02:00