Eric Fennis and Rohan
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
Wojciech Maj
28ec03ebc8
Add support for react-native-svg ^15.0.0 ( #1929 )
2024-02-27 10:13:42 +01:00
Chaoying
ca4a38ba85
Fix import statements ( #1922 )
2024-02-25 19:04:23 +01:00
CokaKoala and Eric Fennis
9182c51962
feat: Adds Svelte 5 support ( #1748 )
...
* adds svelte 5 support
* Update package.json
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2024-02-01 16:36:27 +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
54c8d4078d
fix: Add the license banner inside of the script tag instead of an HTML comment ( #1811 )
...
* add banner inside of the script tag instead
* renamed script
* Update packages/lucide-svelte/scripts/license.mjs
Co-authored-by: Jakob Guddas <github@jguddas.de >
* Update packages/lucide-svelte/scripts/appendLicense.mjs
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
* renamed file
---------
Co-authored-by: Jakob Guddas <github@jguddas.de >
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2024-01-29 19:48:14 +01:00
Eric Fennis
8cc143915c
Update JSdoc lucide svelte ( #1826 )
2024-01-25 08:23:34 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Han Yeong-woo and Eric Fennis
675158df16
Cleanup tools ( #1756 )
...
* Use prettier own instead of eslint plugin
* Extend prettier config angular eslint
* Upgrade root prettier to 3
* Fix css syntax errors
* Change eslint ignore to prettier ignore
* Ignore formatting for outputs
* Fix lint-staged error when edited multiple files
* Bump pnpm version
* Remove unnecessary pnpm config
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2024-01-18 12:36:48 +01:00
Eric Fennis
5c7119f6d1
Export all types lucide-react-native ( #1809 )
2024-01-17 14:28:14 +01:00
Karsa and Rigó József 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
4473df5ad5
Export all types from lucide-svelte ( #1779 )
...
* Export all types from lucide-svelte
* Export all types
2024-01-07 17:26:15 +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
Han Yeong-woo and Eric Fennis
e3166c65df
Fix type error of preact createLucideIcon() ( #1754 )
...
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2023-12-28 14:28:15 +01:00
CokaKoala
d9d7e245a3
fix: Exports Icon type ( #1762 )
...
* fixed import path
* export Icon type
2023-12-28 14:26:15 +01:00
CokaKoala and Eric Fennis
e71a776acc
Fixed export maps, types, and packaging for lucide-svelte ( #1707 )
...
* add extensions for `NodeNext` support
* fixed exports map and replaced the packaging system for `@sveltejs/pacakge`
* lockfile
* ignore generated `.svelte-kit` dir
* no longer needed
* fixed main export
* fixed IconNode and IconProps types
* have icon props extend svg attributes
* build script for prepending the license to each `dist` file
* Update packages/lucide-svelte/scripts/addLicense.mjs
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2023-12-24 12:45:57 +01:00
Wojciech Maj
1123214b13
Add support for react-native-svg ^14.0.0 ( #1732 )
...
Closes #1722
2023-12-19 22:59:59 +01:00
Eric Fennis
4140ba5612
bumping up packages ( #1728 )
2023-12-18 12:04:42 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Gionata Mettifogo
e5ee997566
Update README.md ( #1704 )
...
The readme lists the url below with uppercase L
@import ('~lucide-static/font/Lucide.css');
but the file in node_modules/lucide-static/font has a lowercase L making it fail on certain loaders like the one used by Storybook on MacOS.
The fix is simply to use lowercase
2023-11-28 21:00:46 +01:00
Sukomal Dutta and Jakob Guddas
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
Otto Coster
5c8c8f4362
Support Angular 17 ( #1696 )
2023-11-24 11:07:49 +01:00
Eric Fennis
e77959e1a6
lucide-vue Deprecation warning (#1663 )
...
* Add Vue deprecation warning
* Add deprecation warning docs page
* Fix typo
* Update warning text
2023-11-24 08:14:47 +01:00
Eric Fennis
149ee36e61
Improve license notice in packages ( #1657 )
...
* Improve license message
* Implement license notice in lucide-static
* Tighten package PR workflows
* Update lockfile
2023-11-17 11:12:31 +01:00
Eric Fennis and Jakob Guddas
288edde1ea
Linting SVG files ( #1642 )
...
* eslint rules for SVGS
* apply options
* Add typescript eslinter
* Make eslint work with the codebase
* Format icons
* Test svg
* Add workflow
* Fix lint command
* Revert duplicated aliases
* Update .eslintrc.js
Co-authored-by: Jakob Guddas <github@jguddas.de >
* Update .eslintrc.js
Co-authored-by: Jakob Guddas <github@jguddas.de >
* Move linter to separate workflow
* Add pnpm install
* Revert icon changes
* Test eslint workflow
* turn of fail lint-contributors
* Revert theater
* process feedback
---------
Co-authored-by: Jakob Guddas <github@jguddas.de >
2023-11-06 11:00:04 +01:00
Sukomal Dutta
a1a9a4d839
fix export IconNode type ( #1656 )
...
* fix export IconNode type
* add Types exports
2023-11-01 15:53:17 +01:00
Karsa
c5804ad9a5
Refactored icon exports to use the new proposed icon node format. ( #1641 )
2023-10-31 21:03:39 +01:00
Sun Xiaoran
3d0c8691c9
fix: jsx type for icons in vue 3 ( #1617 )
2023-10-23 21:24:05 +02: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
Eric Fennis
dbfce919fc
Alias support for lucide package ( #1592 )
...
* Setup aliases for lucide
* Make aliases work for lucide package
2023-10-17 21:27:46 +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
Eric Fennis
b6f5898aee
Remove lucide flutter form the main repo ( #1593 )
2023-10-13 14:33:45 +02:00
Binyamin Aron Green and Eric Fennis
a70b713572
Fix solid package.json ( #1558 ) ( #1569 )
...
- allow access to types file in "exports" field
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2023-09-20 15:24:23 +02:00
Eric Fennis
376568239f
adjust export order ( #1548 )
2023-09-02 21:49:11 +02:00
Eric Fennis
1bdeae5364
Add conditional exports property Lucide Svelte package.json ( #1499 )
...
* add exports property
* adjust wild card import
* Fix exports
* revert bundleSize plugin change
* Fix exports build warning
2023-08-28 19:41:24 +02:00
Jan and Jan Richter
0e307087f6
replaced SvelteComponentTyped with SvelteComponent ( #1517 )
...
Co-authored-by: Jan Richter <j.richter@vanlanschotkempen>
2023-08-28 19:21:04 +02:00
Karsa
30a69ee670
[lucide-angular] Added factory to LUCIDE_ICONS injection token so that standalone components will be able to import LucideAngularModule. ( #1529 )
2023-08-25 08:43:16 +02:00
Alwyn Tan
d95b14a70b
Fix: Copy SVG properties into the child in react-native-svg ( #1485 )
2023-08-16 23:01:41 +02:00
Jakob Guddas and Eric Fennis
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
Zara
70cffa8dd2
Fix lucide-vue-next stroke-width must be number bug ( #1492 )
2023-08-11 15:29:23 +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 and Eric Fennis
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