Eric Fennis
b46927e510
fix(lucide-react): Revert exports property package.json, fixing edge worker environments. ( #2814 )
...
* Revert exports prop
* Adjust export
* Adjust export path
* Add to gitignore
* Adjust build process
* Update .gitignore and add dynamicIconImports module
* Formatting
2025-02-19 11:33:08 +01:00
dependabot[bot]
3ab6c373a0
build(deps-dev): bump vite from 5.4.12 to 5.4.13 ( #2798 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.12 to 5.4.13.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.13/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.13/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-14 08:53:09 +01:00
dependabot[bot]
ba2c4b526f
build(deps-dev): bump vite from 5.1.8 to 5.4.12 ( #2786 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.1.8 to 5.4.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 09:41:52 +01:00
Eric Fennis
50630b3aaf
ci: Improve build speeds ( #2778 )
...
* Revert sync to async functions
* Replace more sync fs functions
* Format files
* Fix build svelte package
2025-02-10 14:13:52 +01:00
ケイラ
961404d5cc
replace keyof ReactSVG with SVGElementType ( #2668 )
...
* replace `keyof ReactSVG` with `SVGElementType`
* define `SVGElementType` locally
* 🧹
* update comments
* Format types.ts
* Update types.ts
* Update types.ts
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-01-18 16:35:52 +01:00
Eric Fennis
31c3fefc17
fix(lucide-react) Adds type module in package.json ( #2731 )
...
* Adds type module in package.json
* fix typo
2025-01-13 10:58:15 +01:00
Eric Fennis
58c2e108c3
feat(lucide-react): Add DynamicIcon component ( #2686 )
...
* Adding the DynamicIcon component
* Fix imports
* Add docs
* Formatting
* Fix use client in output rollup
* revert changes
* Fix formatting
* Revert changes in icons directory
* Revert time command
* update exports
2025-01-10 14:35:28 +01:00
Rik Smale
970fc3d4be
fix(lucide-react): support React 19 ( #2666 )
2024-12-11 09:54:28 +01:00
Sunshio
4f038d5fe8
feat(docs): add Bun.sh support to documentation ( #2642 )
2024-11-29 09:11:30 +01:00
Eric Fennis
1d5c725b58
Fix path image backer
2024-11-25 12:03:56 +01:00
Karsa
d9a011994a
feat(readme): add pdfme as an awesome backer ( #2639 )
2024-11-25 12:01:29 +01:00
Eric Fennis
c6c645ca7f
docs(readme): Update readme files ( #2634 )
...
* Update readme files
* Update readme files
* Fix typos react native readme
* Add back headings
2024-11-25 12:01:13 +01:00
Eric Fennis
b1777430b9
feat(lucide-react, lucide-preact, lucide-react-native, lucide-solid, lucide-vue-next): Adjustable icon naming imports ( #2328 )
...
* Add override alias import entry files lucide-react
* Make it work
* Setup files for packages
* Revert icon changes
* Remove solid support and add docs
* Adjust docs
* format files
* Fix lucide-vue-next build
* Fix builds
* Fix lucide-svelte
* Add vscode settings option
2024-11-08 16:47:53 +01:00
Eric Fennis
b8cd54f1b2
chore: Update dependencies ( #2570 )
...
* Update dependencies
* Revert dep change site
* Update lockfile
* Fix indentation
2024-10-30 13:31:28 +01:00
dependabot[bot]
5dfcfc8d1a
build(deps): bump rollup from 4.21.0 to 4.22.4 ( #2521 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.21.0 to 4.22.4.
- [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.21.0...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 10:29:31 +02:00
Pedro Antoninho
6052c88831
fix(lucide-react): support recommended react 19 prerelease ( #2336 )
2024-08-02 11:15:17 +02:00
Eric Fennis
acd4a879f2
Add support for react 19 ( #2254 )
2024-06-26 09:19:41 +02:00
Sayakie
4f2a6b70d8
fix license typos ( #2161 )
2024-05-24 12:06:03 +02:00
Karsa
e2b46eac8e
feat(icons): add deprecationReason and alias deprecation feature ( #1960 )
...
* feat(icons): add deprecationReason and alias deprecation feature
* chore(tools): run prettier. again.
* fix(scripts): overall alias as object support
* fix(icon.schema.json): add dependentRequired on deprecated properties
* fix(icon.schema.json): remove unicode for now
* fix(icon.schema.json): use const true for deprecated
* fix(build): convert deprecation reason to enum
* fix(build): fix linting of icon.schema.json
* fix(build): renamed gracePeriod => toBeRemovedInVersion
* fix(build): fix aliases map in related icons generation
* fix(build): deprecate aliases using numbers
* feat(icon-schema): separate deprecation reason enumerations, extract removal notice
* fix(icon-schema): fix linting
* Update tools/build-icons/utils/deprecationReasonTemplate.mjs
* fix(icons): add deprecation reason to some more icons
* fix(docs): fix linting issue
---------
Co-authored-by: Karsa <karsa@sztaki.hu >
Co-authored-by: Jakob Guddas <github@jguddas.de >
2024-05-22 13:08:34 +02:00
Eric Fennis
e50582e93e
feat(icon-component): Creating icons with iconNodes ( #1997 )
...
* Add useIconComponent, lucide-react
* Add concept useIconComponent
* add useIconComponents to packages
* Add icon component
* Add icon component
* Add tests for react packages
* Reset changes in icons
* Add types
* Add support for Icon components in Lucide Vue Next
* update tests
* Update tests
* Enable Svelte component
* Fix lucide-react-native tests
* Update Solid package
* update snapshots
* Add docs
* add docs
* Update tests
* Formatting
* Formatting
* Update package lock
* Remove `useIconComponent`
* Update guides
* Update exports preact and solid package
* Formatting
* Format createIcons.ts
* Add lucide lab repo link in docs
2024-04-26 17:59:04 +02:00
Eric Fennis
09420cbca5
docs: Fix dark logo paths
2024-04-25 09:45:07 +02:00
Eric Fennis
45e82a51b8
docs: Update readme files ( #2102 )
...
* Update lucide readme
* Add Readme and update package.jsons
* Update readme
* Update package logos
* Update darkmode logos
* Update title build font readme
2024-04-24 17:43:51 +02:00
Eric Fennis
ad7ae84987
Split up workflows ( #2093 )
2024-04-24 09:08:01 +02:00
dependabot[bot]
0ee6b84a06
chore(deps-dev): bump vite from 5.0.12 to 5.0.13 ( #2043 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 08:45:48 +02:00
Eric Fennis
ad1accb2e3
refactor: Adds repo shared package @lucide/shared ( #1904 )
...
* Fixed import of toKebabCase helper function
* Added utils package
* utils
* Make utils package work in build
* Add lucide-shared
* Transpile solid with esbuild
* Fix resolve modules
* Cleanup
* Format files
* Fix properties plugins function
* Fix properties plugins in lucide package
* Revert remove resolve plugin and cleanup
* Update snapshots
* Revert icon changes
---------
Co-authored-by: Rohan <rohancrrm@gmail.com >
2024-03-06 21:03:12 +01:00
Chaoying
ca4a38ba85
Fix import statements ( #1922 )
2024-02-25 19:04:23 +01:00
Han Yeong-woo
eb035fe370
Improve formatting ( #1814 )
...
* Ignore linting for examples in docs
* Formatting JSX single attribute per line
* Separte `format` and `lint:format` in package.json
* Bump prettier version
* Run format
2024-02-01 14:38:21 +01:00
dependabot[bot]
55f264bea6
Bump vite from 5.0.10 to 5.0.12 ( #1817 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.10 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-21 16:46:12 +01:00
Karsa
d4cbe899fb
Remove aliasesSupport flag from rollup.config.mjs ( #1794 )
...
* Remove aliasesSupport flag from rollup.config.mjs and add always add aliases
* Update rollup.config.mjs
* Update rollup.config.mjs
* Update rollup.config.mjs
* Update rollup.config.mjs
---------
Co-authored-by: Rigó József Karsa <karsa@sztaki.hu >
2024-01-16 16:21:57 +01:00
Eric Fennis
ef89510a47
Implement deprecated block comment ( #1765 )
...
* Implement deprecate comment lucide-react
* Add export template with comment
* Add block comment to Lucide Svelte
* Add blockcomment to lucide-angular
* Add block comment to lucide-static
* revert runtime change build:tags
* Fix failed tests
* Remove optional property in icon schema
2024-01-07 15:59:19 +01:00
Eric Fennis
faff6a8269
Update dependencies and general improvements in packages ( #1773 )
...
* update deps and vitest
* dedupe packages
* update package.json files
* Update to latest vite and vites
* Fix build
* Update lockfile
2024-01-03 11:38:06 +01:00
dependabot[bot]
bb1e470f3a
Bump vite from 4.4.7 to 4.4.12 ( #1714 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.4.7 to 4.4.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.4.12/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.4.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 10:55:14 +01:00
Sukomal Dutta
84b3c46b65
remove extra space in svg class attribute ( #1703 )
...
* remove extra space in svg class attribute
* Update packages/lucide-react/src/createLucideIcon.ts
Co-authored-by: Jakob Guddas <github@jguddas.de >
---------
Co-authored-by: Jakob Guddas <github@jguddas.de >
2023-11-28 20:59:37 +01:00
Eric Fennis
75e9724072
Make sure we apply all classes to the lucide icons ( #1691 )
...
* Make sure all classes are applied for all packages
* Add class test to angular component
* Adjust lucide-static tests
* update snapshot
* Fix types
2023-11-24 13:59:12 +01:00
Eric Fennis
f6fd369bfe
Github Actions cleanup - Use setup node for pnpm cache ( #1616 )
...
* Switch setup node for pnpm cache
* Test workflows
* Add pnpm setup back again
2023-10-18 09:50:18 +02:00
Jan
c5cfbed28c
add info about dynamic imports to nextjs docs ( #1564 )
...
* add info about dynamic imports to nextjs docs
* remove warning
2023-10-17 21:25:49 +02:00
Jakob Guddas
6e8895d075
fix: generate alias files for nextjs import mapping ( #1486 )
...
* fix: generate alias files for nextjs import mapping
* Add entry files in rollup build
* improve build flow other packages
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2023-08-13 22:07:54 +02:00
Eric Fennis
b684a0083b
update snapshots
2023-08-07 22:20:14 +02:00
Eric Fennis
9463b2e445
Revert .mjs modules in build for Lucide React ( #1471 )
...
* switch to different build strategy for dynamicIconImports
* add remove for dynamicIconImports files
2023-08-06 15:47:07 +02:00
Alexandru Bacanu
0a38dccdae
Update package.json ( #1452 )
2023-07-24 21:48:14 +02:00
Ishan
1e99499dc8
Update createLucideIcon.ts ( #1439 )
...
* Update createLucideIcon.ts
Added Missing ref prop
* Update createLucideIcon.ts
* Update createLucideIcon.ts
ForwardRef need RefAttributes
* Update packages/lucide-react/src/createLucideIcon.ts
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
* Update createLucideIcon.ts
In needs RefAttributes for Forward Ref
* Update createLucideIcon.ts
* Update createLucideIcon.ts
cleanup
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2023-07-19 21:16:33 +02:00
Eric Fennis
724a43e3f0
fix site build
2023-07-19 19:37:07 +02:00
Eric Fennis
fb79059fca
Move dynamicImportFile to dedicated file ( #1440 )
...
* test this
* Fixes dynamicImportsMap and types
2023-07-19 19:32:34 +02:00
Eric Fennis
c97c6ed9e4
Improve types export for lucide-react ( #1424 )
...
* Add types plugin
* Add js doc comment
* Only enable dynamic imports for CJS and ESM builds
* Add documentation
* Adjust docs
* Add test for dynamic import
* Adjust note
* Adjustment in docs
2023-07-13 16:39:02 +02:00
Eric Fennis
7c8f898893
Improve release workflow ( #1397 )
...
* first fixes release workflow
* improve workflow
* remove legacy ::set-outputs
2023-07-02 14:46:53 +02:00
Eric Fennis
3619dfa7f2
Bump Vitest and his dependencies ( #1414 )
...
* migration to Svelte 4
* feat: update peer dep
* feat: update lockfile
* Bump vitest and deps
---------
Co-authored-by: joseph <josephrios56@gmail.com >
2023-06-29 21:42:47 +02:00
Eric Fennis
a87ae2a92b
Introducing absoluteStrokeWidth option on Lucide Components ( #939 )
...
* Add more music icons and another mic icon (#746 )
* Revert "Add more music icons and another mic icon (#746 )" (#750 )
This reverts commit 57cba6ae0e .
* add scale Stroke width
* Added scaleStrokeWidth prop to all packages
* Add scaleStrokeWidth to types
* Rename scaleStrokeWidth to absoluteStrokeWidth
* Adds common API elements to the Angular package (#949 )
* Almost complete rewrite of the Angular package
* Update tsconfig.spec.json
* fixes icon build export file name
* Updates Angular documentation with the new properties + provider injection
* Update lucide-angular.md
* refactored scaleStrokeWidth to be absoluteStrokeWidth to match other packages
* removed codelyzer from devDeps + added flexible angular core dependencies
* Deprecates createElement helper in favour of Renderer2 to support SSR
---------
Co-authored-by: Karsa <karsa@karsa.org >
* Add absoluteStrokeWidth in docs
* update snapshots
* Manual merge of main
* Fixed incorrectly merged pnpm-lock.yaml
* Fixes lucide-angular build
* [lucide-angular] Global configuration for properties + bugfix for legacy icon provider (#1012 )
* Almost complete rewrite of the Angular package
* Update tsconfig.spec.json
* fixes icon build export file name
* Updates Angular documentation with the new properties + provider injection
* Update lucide-angular.md
* refactored scaleStrokeWidth to be absoluteStrokeWidth to match other packages
* removed codelyzer from devDeps + added flexible angular core dependencies
* Deprecates createElement helper in favour of Renderer2 to support SSR
* Added global configuration and fixed undefined bug in legacy icon provider. Also updated README.md
* Replaces removed line in README.md
* Fixes merge error
* Updates export template to use the non-deprecated type
* downgrade building to ng-cli@13
* downgrade to es2020
---------
Co-authored-by: Karsa <karsa@karsa.org >
* rename scaleStrokeWidth to absoluteStrokeWidth in readme
---------
Co-authored-by: it-is-not <72697755+it-is-not@users.noreply.github.com >
Co-authored-by: Karsa <contact@karsa.org >
Co-authored-by: Eric Fennis <eric@dreamteam.nl >
Co-authored-by: Karsa <karsa@karsa.org >
Co-authored-by: Eric Fennis <eric.fennis@nac41112.nedap.local >
2023-04-20 16:08:34 +02:00
Lucide Bot
d6ee5d963c
📦 Bump lucide package versions to 0.160.0
2023-04-16 17:20:01 +00:00
Lucide Bot
f5be205fc9
📦 Bump lucide package versions to 0.159.0
2023-04-16 16:50:55 +00:00
Lucide Bot
13b9c1fadb
📦 Bump lucide package versions to 0.155.0
2023-04-16 16:18:47 +00:00