Mantas Kantautas
e8f86fc2d2
fix(lucide-react): ignore stale DynamicIcon loads after the name changes ( #5060 )
...
When the name prop changes while the previous icon is still loading, the earlier import could resolve last and overwrite the newer icon, leaving DynamicIcon showing the wrong icon. The effect now ignores results from a superseded name.
2026-10-27 07:45:01 +01:00
6657faa96a
chore(deps-dev): bump vite from 8.3.2 to 8.3.3 ( #5052 )
...
* chore(deps-dev): bump vite from 8.3.2 to 8.3.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.3.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.3.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore(deps): bump vite override to ^8.3.3 to dedupe vitest
The vite bump left the root vitest resolved against vite 8.3.2 while
workspace test helpers (jest-dom, testing-library, vitest-browser-*)
linked to a second vitest copy built against vite 8.3.3, breaking
snapshots and jest-dom matcher types.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* chore(deps-dev): bump vite from 8.3.2 to 8.3.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.3.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.3.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix lockfile
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric <eric.fennis@gmail.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 17:18:25 +01:00
1802f33f6c
feat(lucide-react): add package exports for per-icon imports without changing how Node resolves the package ( #4822 )
...
* feat(lucide-react): add package exports for per-icon imports without changing how Node resolves the package
Makes `lucide-react/icons/<name>` and `lucide-react/types` public so a
single icon can be imported with a small shared declaration instead of
the 2.2 MB `dist/lucide-react.d.ts`, and without loading the CJS barrel
on the server.
The root entry only lists `module` and `default`, so bundlers keep the
ESM barrel and Node keeps resolving to `dist/cjs/lucide-react.js` as it
does today through `main`. The map reverted in #2814 sent Node to the
ESM barrel, which is what #2743 hit. `./dist/*` keeps existing deep
imports working.
* Modify getting started guide for icon imports
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* fix(lucide-react): add node, import and require conditions after module and keep the extension-specific and src subpaths exported
Resolvers that are called with a custom condition list drop `module` and fell through to `default`, the CJS bundle; esbuild with `conditions: ['workerd', 'worker']` bundled 1.3 MB instead of the 58 KB tree-shaken output it gets on main. The root and `./icons` entries now list `node`, `import` and `require` after `module`, with `node` ahead of `import` so Node keeps resolving to `dist/cjs/lucide-react.js` for both `import` and `require`.
`lucide-react/dynamic.mjs`, `lucide-react/dynamic.js` and `lucide-react/dynamicIconImports.mjs` are imported by consumers and threw ERR_PACKAGE_PATH_NOT_EXPORTED; they have explicit entries again. The docs API routes import `lucide-react/src/createLucideIcon` and `lucide-react/src/Icon`, which Nitro left as external imports without a `./src/*` entry, so the entry from the 0.470.0 map is back.
* test(lucide-react): resolve the package entry points with Node itself in the React Router fixture
The browser suite resolves lucide-react through Vite, so nothing checked the `exports` map the way a server runtime does. `tests/exports.node.test.ts` runs under `node --test` from the fixture's `check` script and asserts where `import.meta.resolve` and `require.resolve` land for the root, `./icons`, a single icon, the dynamic entries with and without an extension, the `dist/*` passthrough and `package.json`, that `./types` is declaration-only, and that the resolved modules load. Vitest is told to leave that file to Node.
* docs(lucide-react): note that per-icon imports are ESM only
`require()` of `lucide-react/icons/<name>` needs Node.js 20.19 or 22.12; 20.18 throws ERR_REQUIRE_ESM.
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-10-26 11:05:25 +01:00
20aef31db9
chore(packages): Update sponsors ( #5034 )
...
* feat(scripts): generate README sponsor tiers from Open Collective
updateSponsors.mts now fetches active recurring contributions from the
Open Collective GraphQL API, groups them by tier and rewrites the tier
sections in README.md between new markers, then propagates the block to
the package READMEs as before. Use --skip-fetch to only propagate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01VRsauu8mwJpB9y88vMMQ7n
* Add sponsors
* Remove digital ocean
* Fix capitalization and emoji in TIER_TITLES
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-10-21 11:20:37 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fa238cf278
chore(deps): bump the react-deps group across 1 directory with 2 updates ( #5026 )
...
Bumps the react-deps group with 2 updates in the / directory: [react](https://github.com/react/react/tree/HEAD/packages/react ) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom ).
Updates `react` from 19.3.0 to 19.3.1
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react )
Updates `react-dom` from 19.3.0 to 19.3.1
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react-dom )
---
updated-dependencies:
- dependency-name: react
dependency-version: 19.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: react-deps
- dependency-name: react-dom
dependency-version: 19.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: react-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-19 12:08:22 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3f1255ecfa
chore(deps-dev): bump @vitejs/plugin-react ( #4995 )
...
Bumps the react-deps group with 1 update: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ).
Updates `@vitejs/plugin-react` from 6.1.1 to 6.1.2
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.1.2/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-version: 6.1.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: react-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-13 09:40:00 +02:00
949bc6d61f
test(lucide-react): add tests for DynamicIcon fallback and ref forwarding ( #4966 )
...
* test(lucide-react): add tests for DynamicIcon fallback and ref forwarding
* style(lucide-react): format DynamicIcon test with Prettier
---------
Co-authored-by: grzdev <grzdev@users.noreply.github.com >
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-10-09 15:06:46 +02:00
98331e2870
chore(deps): bump the react-deps group across 1 directory with 3 updates ( #4951 )
...
* chore(deps): bump the react-deps group across 1 directory with 3 updates
Bumps the react-deps group with 3 updates in the / directory: [react](https://github.com/react/react/tree/HEAD/packages/react ), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom ).
Updates `react` from 18.3.1 to 19.3.0
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react )
Updates `@types/react` from 18.3.31 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `react-dom` from 18.3.1 to 19.3.0
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react-dom )
---
updated-dependencies:
- dependency-name: react
dependency-version: 19.3.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: react-deps
- dependency-name: "@types/react"
dependency-version: 19.3.0
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: react-deps
- dependency-name: react-dom
dependency-version: 19.3.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: react-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix types
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric <eric.fennis@gmail.com >
2026-10-02 15:18:28 +02:00
Eric Fennis
09aa9c5c62
chore(deps): Upgrade to vite 8 ( #4950 )
...
* Upgrade to vite 8
* Fix types
2026-10-02 13:54:37 +02:00
e042fec3b5
fix(packages): declare @types/react as an optional peer dependency ( #4892 )
...
`lucide-react` and `lucide-react-native` both ship `.d.ts` files that
import React types (`ForwardRefExoticComponent`, `SVGProps`,
`RefAttributes`, `ReactNode`), but neither package declares
`@types/react`. Under a hoisted `node_modules` this resolves by
accident, so the gap is invisible in normal testing.
It does not resolve under a strict layout — most notably pnpm's global
virtual store (`enableGlobalVirtualStore`), where each package is linked
from a store path outside the consuming repo. TypeScript resolves a
package's imports relative to where that package physically lives and
ignores `NODE_PATH`, so `react` resolves to the untyped
`react/index.js`. Every icon's props silently degrade to `any`, and
consumers hit implicit-any errors on their own callbacks under
`noImplicitAny`. `skipLibCheck: true` hides the errors inside the
`.d.ts` itself, which is why this survives most typechecks.
Declaring the typings package as a peer dependency (rather than a hard
dependency) lets it dedupe against whatever `@types/react` the consumer
already has. `peerDependenciesMeta` marks it optional so JS-only
consumers get no unmet-peer warning.
Verified by packing each package and installing the tarball into a
scratch consumer with `pnpm --virtual-store-dir` pointing outside the
consumer, then typechecking with `skipLibCheck: false` and a
`@ts-expect-error` probe on a nonexistent icon prop — a positive type
assertion keeps passing when types widen to `any`, so it would not
catch a regression. Before the change the probe reports
`TS2578: Unused '@ts-expect-error' directive` plus `TS7016` inside the
shipped `.d.ts`; after it, `tsc` is clean and `--traceResolution`
shows `react` resolving to `@types/react/index.d.ts` instead of
`react/index.js`. Existing peer ranges are unchanged and the lockfile
is unaffected.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com >
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-09-24 15:11:17 +02:00
Eric Fennis and copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
f06ac67e33
chore(typchecking): More typecheck jobs for all packages ( #4885 )
...
* Add typecheck jobs
* update lockfile
* Fix types
* Fix lucide solid types
* Fix type lucide-react-native
* fix: align react-native svg mock children typing
* fix: format build font spec
* fix: restore shared workflow and RN class context
* fix: restore lucide-react build typecheck
* fix: keep react build generating icons
* fix: preserve builder color prop types
* test: cover RN provider class merge
* Revert 711255b
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-09-22 13:49:09 +02:00
94e4cb9d9d
chore(dependencies): Update dependencies ( #4806 )
...
* chore(deps): upgrade dependencies across workspace and unify shared versions
Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com >
* chore(deps): finish workspace dependency upgrade and align versions
* fix: keep vitest on 4.1.10, drop deprecated baseUrl, reformat with prettier
* fix(lucide-react): drop inert outDir so TS 6 rootDir check passes
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com >
2026-09-04 17:34:58 +02:00
Karsa and Eric Fennis
99d25bdee2
feat(packages): extract icon build logic into @lucide/shared ( #4409 )
...
* feat(packages): extract build logic to @lucide/shared, still wip
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* feat(packages): extract build logic to @lucide/shared, still wip
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* chore(icons): revert git hook changes made to icons
* fix(packages/astro,react-native,vue): fix iconNode type
fix(packages/vue): fix hasA11yProp
* fix(packages/solid): make component reactive & add unit tests for checking prop changes
* test(packages/vue): add reactivity tests to @lucide/vue
* fix(packages): replace cpy-cli, accidentally removed during main merge
* docs(packages): upgrade react documentation with nonScalingStroke
* fix(tests): update snapshots for lucide-react
* feat(docs): upgraded package guides with nonScalingStroke, dropping absoluteStrokeWidth
* fix(vue,react-native): fix linting issues
* fix(icons): add proper fallback for icon width in calculatedStrokeWidth
* fix(packages/svelte): add globalProps.class to icons
* fix(packages/shared): wrap width, height & size in isDefined
* Update types.ts
* fix(packages/svelte): do not pass propsClass to mergeClasses
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-09-04 16:38:01 +02:00
75b55160aa
chore(dev): upgrade ESLint to latest compatible stack (v10) ( #4378 )
...
* chore: upgrade eslint to v9 latest with compatible lint deps
Agent-Logs-Url: https://github.com/lucide-icons/lucide/sessions/f7c1f1b5-d213-4afa-91a8-b799a16397ec
* Fix eslint config
* Fix a lot of eslint errors
* Fix eslint
* Fix eslint errors
* Fix eslint errors
* Fix types
* Fix eslint warning
* Format code
* Add eslint 10
* Remove unused vars
* Update pnpm
* Update deps
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-08-18 13:09:22 +02:00
Karsa
0f8d48b266
test(packages): updates unit test snapshots with face-slightly-smiling ( #4676 )
2026-08-06 22:36:02 +02:00
Eric Fennis
f229f83f0c
chore(depedencies): Update dependencies ( #4553 )
...
* update deps
* Update even more
* Fix lint errors
* Apply feedback
* Update lockfile
2026-07-16 14:38:12 +02:00
Eric Fennis
5ff536e139
ci(release.yml): Fix workflow and remove version scripts in package scripts ( #4479 )
...
* ci(release.yml): Remove new-version in release flow
* Remove version in scripts
* Update workflow
2026-06-16 16:24:07 +02:00
Karsa
07c885e6c1
fix(docs): fix zephyr-cloud URL in readmes
2026-05-07 15:35:49 +02:00
50d8af5a10
docs(readme): Update readme files ( #4320 )
...
* Update readme
* Update vue readme file
* Update readme files
Co-authored-by: Copilot <copilot@github.com >
* Update badge paths
* Update docs paths
* Update docs/.vitepress/data/packageData.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/svelte/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-26 10:43:49 +02:00
Karsa
653e44b832
feat(packages): use .mjs for ESM bundles ( #4285 )
2026-04-23 17:00:02 +02:00
Karsa
7623e23f78
feat(docs): add Zephyr Cloud to Hero Backers tier & rework updateSponsors script to also handle, well, sponsors ( #4226 )
2026-03-28 07:48:26 +01:00
Eric Fennis
dada0a8297
fix(lucide-react): Fix dynamic imports ( #4210 )
...
* fix(lucide-react): Fix dynamic imports
* Adjust imports
* Format code
* Ignore eslint error
2026-03-25 18:44:25 +01:00
songkeys and Eric Fennis
a6e648a66f
fix(lucide-react): correct client directives in RSC files ( #4189 )
...
* fix(lucide-react): correct client directives in RSC files
* format code
* Add TS ignore
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-03-23 14:57:14 +01:00
Eric Fennis
1f010a357a
fix(lucide-react): Fixes provider export and RSC render issues ( #4175 )
...
* Fix ssr context
* Format code
2026-03-21 14:51:20 +01:00
484f2c9cd3
docs(version-1): Version 1 website ( #4142 )
...
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144 )
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org >
---------
Co-authored-by: Karsa <contact@karsa.org >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-20 17:04:28 +01:00
a0e202d759
feat(packages/angular): add new @lucide/angular package ( #3897 )
...
* Add new lucide angular package
* feat(packages/angular): added initial @lucide/angular package
* feat(packages/angular): update readme
* feat(packages/angular): update angular.json
* docs(packages/angular): added (for now) full documentation for @lucide/angular
* docs(packages/angular): added migration guide from lucide-angular
* fix(github): fix package label syntax 😅
* fix(lint): fix linting issues
* fix(github/angular): add prebuild stage
* fix(github/angular): add prebuild stage & fix tests
* fix(github/angular): fix LucideIconComponentType, update with _real_ public members
* fix(github/angular): add prebuild to build step manually
* fix(github/angular): downgrade vitest
* fix(packages/angular): fix migration guide code example
* fix(packages): add vitest + @vitest/* to pnpm overrides
* fix(packages): update pnpm-lock with merged version
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix(packages): fix aria-hidden logic
* fix(packages): update pnpm-lock
* fix(packages): extract vitest and jsdom to root devDependencies
* Fix copy utils script
* Format code
* feat(packages/angular): switched to self-describing IconData object from separate node+name – no more toKebabCase hackery
feat(packages/angular): renamed LucideIconComponentType => LucideIcon, and LucideIcon => LucideDynamicIcon
feat(packages/angular): added backwards compatible CSS class support
feat(packages/angular): switched to vector-effect: non-scaling-stroke implementation from computed stroke width
feat(packages/angular): rewrote icon provider to only accept a list of self-described icons – no more toKebabCase hackery & as an added bonus automatic backwards compatible alias support 🚀
feat(packages/angular): added legacy icon node helper function for passing legacy icons to providers
test(packages/angular): added unit tests on LUCIDE_CONFIG provider usage
* fix(packages/angular): fix linting issues
* feat(packages/angular): extract createLucideIcon logic into helper function, refactor export template to use the iconData object as defined in ExportTemplate
* Replace author
* Remove private field
* fix(packages/angular): remove createLucideIcon, it breaks the package :'(
* fix(packages/angular): fix rendering order of child elements (_before_ projected content)
* Format package.json
* Update docs/guide/packages/angular.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/angular/MIGRATION.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-20 15:31:34 +01:00
Eric Fennis
c5b155ec37
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-03-05 18:47:02 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f6c0d0603a
chore(deps): bump rollup from 4.53.3 to 4.59.0 ( #4106 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.53.3 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.53.3...v4.59.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-version: 4.59.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 07:22:10 +01:00
Eric Fennis
628d4f903a
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-01-23 08:00:19 +01:00
Karsa
67c0485457
feat(scripts): added helper script to automatically update OpenCollective backers in all readmes ( #4014 )
...
feat(docs): upgraded backers as per the recurring contributions in the last 3 months
2026-01-22 11:27:39 +01:00
b6ed43d48c
feat(packages): Added aria-hidden fallback for decorative icons to all packages ( #3604 )
...
* Add aria hidden to lucide package
* Add aria-hidden to astro package
* Add tests for shared package
* Fix test for props
* add aria prop to lucide-solid
* Add aria-hidden to lucide-vue-next
* Add aria-hidden prop to angular package
* Fix builds
* Add notice about aria-label in docs
* Format code
* Update packages/svelte/tests/Icon.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/lucide-svelte/tests/Icon.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/shared/src/utils/hasA11yProp.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Adjusted docs
* Fix import
* update tests
* test(shared): fix hasA11yProp unit test
* fix(packages/lucide-angular): fix hasA11yProp import path (non-relative import path will not get properly resolved by ng-packagr)
* Format code
* Adjust aria props to root element
* Format code
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Karsa <contact@karsa.org >
2026-01-20 15:55:02 +01: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
7327637532
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2025-11-27 10:56:13 +01:00
Eric Fennis
076e0bbcd9
chore(dependencies): Update dependencies ( #3809 )
...
* update deps
* Remove ignoredBuiltDependencies
* Fix build errors
* try this
* update config
* add coma
* Try this
* Revert import change
* try this
* add wasm import
* Load wasm
* try this
* Revert nitro version change
* Revert nitro config change
2025-11-27 10:50:19 +01:00
Eric Fennis
08bd4b33a0
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2025-11-21 14:58:50 +01:00
Eric Fennis
80d6f737e0
fix(icons): Rename fingerprint icon to fingerprint-pattern ( #3767 )
...
* Rename fingerprint icon
* Fix as well for lucide-react
* Fix lint error
2025-11-17 09:32:09 +01:00
Eric Fennis
b1675c4c33
chore(packages): Remove umd exports ( #3641 )
...
* Remove UMD export
* Revert package file change
2025-10-16 13:49:19 +02:00
Eric Fennis
758fa4b75f
Merge branch 'main' into next
2025-09-19 13:59:13 +02:00
1cfb3ff70e
chore(deps-dev): bump vite from 6.3.5 to 6.3.6 ( #3611 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.3.5 to 6.3.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.3.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-09-19 10:08:00 +02: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
Jakob Guddas and Eric Fennis
e71198d9b3
chore: icon alias improvements ( #2861 )
...
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-07-30 16:52:50 +02:00
Eric Fennis
3e644fda2d
chore(scripts): Refactor scripts to typescript ( #3316 )
...
* Adjust typescript types
* adjust types
* fix types in all helper files
* Fix types
* Migrate js files to ts files
* Refactor to TS files
* Rename extentions
* Adjust imports
* Fix builds
* Update lockfile
* Fix last typescript migration
* Fix entry path @lucide/outline-svg
* Fix types
* add checkout step
* format files
* Format files
2025-06-18 15:47:24 +02:00
19fa01b5fc
build(deps-dev): bump vite from 6.3.2 to 6.3.4 ( #3181 )
...
* build(deps-dev): bump vite from 6.3.2 to 6.3.4
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.3.2 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.3.4
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update vitest as well
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-05-16 14:25:07 +02:00
Viktor Andersson and Eric Fennis
03eb86287a
use implicit return in react package ( #2325 )
...
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-05-02 09:49:43 +02:00
Eric Fennis
0fccc276c3
Bump dependencies ( #3096 )
2025-04-21 12:37:02 +02:00
Brizen Britt
7b954807da
Added periods ( #3065 )
2025-04-21 10:45:14 +02:00
e4988bc1df
build(deps-dev): bump vite from 5.4.15 to 5.4.17 ( #2993 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.15 to 5.4.17.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.17/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.17/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 5.4.17
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-04-19 08:42:07 +02:00
Jakob Guddas
a11ba9e1cd
fix(react): added aria-hidden fallback for decorative icons ( #2158 )
2025-04-17 21:02:05 +02:00
ed733916f3
build(deps-dev): bump vite from 5.4.14 to 5.4.15 ( #2946 )
...
* build(deps-dev): bump vite from 5.4.14 to 5.4.15
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.14 to 5.4.15.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.15/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.15/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Revert icon change
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-04-04 14:26:19 +02:00
Dante Issaias and Eric Fennis
4835ae67a9
fix(packages): consistent icon name class ( #2878 )
...
* fix: consistent icon name class
* merge classes
* fix vue-next
* update test snapshots
* fix vue-next
* fix test
* fix solid
* proper deduplication
* update snapshots
* preact
* refactor
* deprecated
* refactor tests
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-03-21 11:35:54 +01:00