-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed export maps, types, and packaging for lucide-svelte
#1707
Fixed export maps, types, and packaging for lucide-svelte
#1707
Conversation
I've gone ahead with adding the fix for the icon props type. This PR is all set and ready to go👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AdrianGonz97 Great work, this works great! I've tested it.
It works really well with SvelteKit.
Only Svelte with Vite is still loading all the component files from the index file. But yeah that's maybe more a Svelte/Vite problem than from us.
I've couple of questions.
With current build setup our license is bundled with the code, we use the rollup-plugin-license for this, is it possible to add custom rollup plugins in the build process?
And I noticed there is a .svelte-kit
directory, do we need to ship this when we release the package?
@ericfennis Thanks for taking a look!
Correct! Vite eagerly loads all of the dependencies of a loaded module, which leads to slowdowns if the loaded module is a very large barrel file, such as our
It looks like this rollup plugin is limited to only prepending the license comment to As a fix, I could write a simple build script that could just prepend the license to all the files in
Nope! Not necessary at all, it's just a build artifact and it shouldn't be included in the package. |
I've created the build script under |
Thanks for tackling this @AdrianGonz97, this is going to be a gamechanger for dev servers everywhere 😂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @AdrianGonz97!
Great solution, This almost ready to go!
The banner license text should be updated to latest text.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.5` -> `20.10.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.5/20.10.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.5/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.5/20.10.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.45` -> `18.2.46`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.45/18.2.46) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.46?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.46?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.45/18.2.46?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.45/18.2.46?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [clsx](https://togithub.com/lukeed/clsx) | [`2.0.0` -> `2.1.0`](https://renovatebot.com/diffs/npm/clsx/2.0.0/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/clsx/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/clsx/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/clsx/2.0.0/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/clsx/2.0.0/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lucide-react](https://lucide.dev) ([source](https://togithub.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react)) | [`^0.300.0` -> `^0.303.0`](https://renovatebot.com/diffs/npm/lucide-react/0.300.0/0.303.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.303.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.303.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.300.0/0.303.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.300.0/0.303.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>lukeed/clsx (clsx)</summary> ### [`v2.1.0`](https://togithub.com/lukeed/clsx/compare/v2.0.1...v2.1.0) [Compare Source](https://togithub.com/lukeed/clsx/compare/v2.0.1...v2.1.0) ### [`v2.0.1`](https://togithub.com/lukeed/clsx/releases/tag/v2.0.1) [Compare Source](https://togithub.com/lukeed/clsx/compare/v2.0.0...v2.0.1) #### Patches - (perf) Cache `arguments.length` & `array.length` for 6% performance gain ([#​26](https://togithub.com/lukeed/clsx/issues/26)): [`deff09b`](https://togithub.com/lukeed/clsx/commit/deff09b) *Adds 5 bytes (+2%) for ~3% avg performance gain* *Thank you [@​jalalazimi](https://togithub.com/jalalazimi)* #### Chores - Update module size: [`bf64e71`](https://togithub.com/lukeed/clsx/commit/bf64e71) - Update benchmark results: [`855eec2`](https://togithub.com/lukeed/clsx/commit/855eec2), [`6e3b2b9`](https://togithub.com/lukeed/clsx/commit/6e3b2b9), - Replace `nyc` with `c8` in CI: [`6e2468e`](https://togithub.com/lukeed/clsx/commit/6e2468e) - Update Node CI matrix: [`308a238`](https://togithub.com/lukeed/clsx/commit/308a238) - Fix readme typos ([#​76](https://togithub.com/lukeed/clsx/issues/76), [#​82](https://togithub.com/lukeed/clsx/issues/82)): [`42354d3`](https://togithub.com/lukeed/clsx/commit/42354d3), [`4c9a55d`](https://togithub.com/lukeed/clsx/commit/4c9a55d) *Thank you [@​andipaetzold](https://togithub.com/andipaetzold) and [@​acusti](https://togithub.com/acusti)* *** > **Full Changelog**: lukeed/clsx@v2.0.0...v2.0.1 </details> <details> <summary>lucide-icons/lucide (lucide-react)</summary> ### [`v0.303.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.303.0): New icons & small fixes 0.303.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.302.0...0.303.0) #### New icons 🎨 - `columns-1` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `columns-2` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `columns-3` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `columns-4` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-1` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-2` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-3` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-4` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) #### Optimized Icons 🔨 - `rabbit` ([#​1763](https://togithub.com/lucide-icons/lucide/issues/1763)) by [@​jguddas](https://togithub.com/jguddas) - `squirrel` ([#​1764](https://togithub.com/lucide-icons/lucide/issues/1764)) by [@​jguddas](https://togithub.com/jguddas) #### Other fixes - Fixes package list item 404 navigation error by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) in [https://github.com/lucide-icons/lucide/pull/1751](https://togithub.com/lucide-icons/lucide/pull/1751) - fix: Exports `Icon` type by [@​AdrianGonz97](https://togithub.com/AdrianGonz97) in [https://github.com/lucide-icons/lucide/pull/1762](https://togithub.com/lucide-icons/lucide/pull/1762) - Fix type error of preact `createLucideIcon()` by [@​nix6839](https://togithub.com/nix6839) in [https://github.com/lucide-icons/lucide/pull/1754](https://togithub.com/lucide-icons/lucide/pull/1754) - improved SvgPreview radii highlighting by [@​jguddas](https://togithub.com/jguddas) in [https://github.com/lucide-icons/lucide/pull/1747](https://togithub.com/lucide-icons/lucide/pull/1747) - Renamed alarm-minus to alarm-clock-minus by [@​jguddas](https://togithub.com/jguddas) in [https://github.com/lucide-icons/lucide/pull/1629](https://togithub.com/lucide-icons/lucide/pull/1629) ### [`v0.302.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.302.0): New icons 0.302.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.301.0...0.302.0) #### New icons 🎨 - `panels-right-bottom` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panels-top-left` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `panel-bottom-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-bottom-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-bottom` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-left-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-left-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-left` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-right-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-right-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-right` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-top-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-top-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-top` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.301.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.301.0): Fixed export maps, types, and packaging for `lucide-svelte` & new icons 0.301.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.300.0...0.301.0) #### Lucide Svelte update ⛏️ - Fixed export maps, types, and packaging for `lucide-svelte` by [@​AdrianGonz97](https://togithub.com/AdrianGonz97) in [https://github.com/lucide-icons/lucide/pull/1707](https://togithub.com/lucide-icons/lucide/pull/1707) #### New icons 🎨 - `a-arrow-down` ([#​1222](https://togithub.com/lucide-icons/lucide/issues/1222)) by [@​it-is-not](https://togithub.com/it-is-not) - `a-arrow-up` ([#​1222](https://togithub.com/lucide-icons/lucide/issues/1222)) by [@​it-is-not](https://togithub.com/it-is-not) - `a-large-small` ([#​1222](https://togithub.com/lucide-icons/lucide/issues/1222)) by [@​it-is-not](https://togithub.com/it-is-not) #### Modified Icons 🔨 - `gavel` ([#​1744](https://togithub.com/lucide-icons/lucide/issues/1744)) by [@​jguddas](https://togithub.com/jguddas) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/xkrishguptaa/study-web3). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@AdrianGonz97 I think your script to insert the license comment at the top of all of the svelte components has created some of the infamous svelte whitespace problems when rendering icons inline. Check out an example from my SvelteKit site. See how the ChevronRight jumps around between SSR and CSR? You can disable JS to get a better look. All this extra whitespace is to the left of the chevron: When I go into node_modules and remove the license comment at the top of chevron-right.svelte and Icon.svelte, the problem goes away. (If I only do one of those two, the size of the whitespace is reduced by half 🌞.) Also goes away if I downgrade to lucide-svelte 0.300.0, which is the last version before this PR landed. Would you be willing to fix this? I'd think the license has to stop being in an HTML comment 😞. Maybe it can go into a JS comment instead, but you'd have to put it inside the script tag then. If not, I will probably try to do it. |
@isker Thanks for pointing this out. This game of whackamole never seems to end 😅. Hopefully this is the last one. I have an idea for a fix that should still preserve the license comment. Will implement it when I get a chance. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lucide-react](https://lucide.dev) ([source](https://togithub.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react)) | [`^0.292.0` -> `^0.316.0`](https://renovatebot.com/diffs/npm/lucide-react/0.292.0/0.316.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.316.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.316.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.292.0/0.316.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.292.0/0.316.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>lucide-icons/lucide (lucide-react)</summary> ### [`v0.316.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.316.0): New icons 0.316.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.315.0...0.316.0) #### New icons 🎨 - `hand-coins` ([#​1328](https://togithub.com/lucide-icons/lucide/issues/1328)) by [@​danielbayley](https://togithub.com/danielbayley) - `hand-heart` ([#​1328](https://togithub.com/lucide-icons/lucide/issues/1328)) by [@​danielbayley](https://togithub.com/danielbayley) - `hand-platter` ([#​1328](https://togithub.com/lucide-icons/lucide/issues/1328)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `guitar` ([#​1436](https://togithub.com/lucide-icons/lucide/issues/1436)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) - `key-round` ([#​1436](https://togithub.com/lucide-icons/lucide/issues/1436)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) - `palette` ([#​1436](https://togithub.com/lucide-icons/lucide/issues/1436)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) - `scatter-chart` ([#​1436](https://togithub.com/lucide-icons/lucide/issues/1436)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) - `vault` ([#​1436](https://togithub.com/lucide-icons/lucide/issues/1436)) by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) ### [`v0.315.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.315.0): New icons 0.315.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.314.0...0.315.0) #### New icons 🎨 - `calendar-fold` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-minus-2` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-plus-2` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `webhook-off` ([#​1566](https://togithub.com/lucide-icons/lucide/issues/1566)) by [@​jguddas](https://togithub.com/jguddas) #### Modified Icons 🔨 - `calendar-check-2` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-check` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-clock` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-days` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-heart` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-minus` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-off` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-plus` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-range` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-search` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-x-2` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar-x` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) - `calendar` ([#​1377](https://togithub.com/lucide-icons/lucide/issues/1377)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.314.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.314.0): New icons 0.314.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.313.0...0.314.0) #### New icons 🎨 - `ticket-check` ([#​1312](https://togithub.com/lucide-icons/lucide/issues/1312)) by [@​danielbayley](https://togithub.com/danielbayley) - `ticket-minus` ([#​1312](https://togithub.com/lucide-icons/lucide/issues/1312)) by [@​danielbayley](https://togithub.com/danielbayley) - `ticket-percent` ([#​1312](https://togithub.com/lucide-icons/lucide/issues/1312)) by [@​danielbayley](https://togithub.com/danielbayley) - `ticket-plus` ([#​1312](https://togithub.com/lucide-icons/lucide/issues/1312)) by [@​danielbayley](https://togithub.com/danielbayley) - `ticket-slash` ([#​1312](https://togithub.com/lucide-icons/lucide/issues/1312)) by [@​danielbayley](https://togithub.com/danielbayley) - `ticket-x` ([#​1312](https://togithub.com/lucide-icons/lucide/issues/1312)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.313.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.313.0): New icons 0.313.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.312.0...0.313.0) #### New icons 🎨 - `text-search` ([#​1807](https://togithub.com/lucide-icons/lucide/issues/1807)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.312.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.312.0): New icons 0.312.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.311.0...0.312.0) #### New icons 🎨 - `receipt-cent` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-euro` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-indian-rupee` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-japanese-yen` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-pound-sterling` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-russian-ruble` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-swiss-franc` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) - `receipt-text` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `receipt` ([#​1401](https://togithub.com/lucide-icons/lucide/issues/1401)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.311.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.311.0): New icons 0.311.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.310.0...0.311.0) #### New icons 🎨 - `arrow-down-left-from-square` ([#​1383](https://togithub.com/lucide-icons/lucide/issues/1383)) by [@​danielbayley](https://togithub.com/danielbayley) - `arrow-down-right-from-square` ([#​1383](https://togithub.com/lucide-icons/lucide/issues/1383)) by [@​danielbayley](https://togithub.com/danielbayley) - `arrow-up-left-from-square` ([#​1383](https://togithub.com/lucide-icons/lucide/issues/1383)) by [@​danielbayley](https://togithub.com/danielbayley) - `arrow-up-right-from-square` ([#​1383](https://togithub.com/lucide-icons/lucide/issues/1383)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-sliders` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `external-link` ([#​1383](https://togithub.com/lucide-icons/lucide/issues/1383)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-archive` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-audio-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-audio` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-axis-3d` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-badge-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-badge` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-bar-chart-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-bar-chart` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-box` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-check-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-check` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-clock` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-code-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-code` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-cog` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-diff` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-digit` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-down` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-heart` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-image` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-input` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-json-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-json` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-key-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-key` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-line-chart` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-lock-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-lock` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-minus-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-minus` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-output` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-pen-line` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-pen` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-pie-chart` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-plus-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-plus` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-question` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-scan` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-search-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-search` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-spreadsheet` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-stack` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-symlink` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-terminal` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-text` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-type-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-type` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-up` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-video-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-video` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-volume-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-volume` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-warning` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-x-2` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-x` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `file` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `files` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `sticker` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) - `sticky-note` ([#​1378](https://togithub.com/lucide-icons/lucide/issues/1378)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.310.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.310.0): New icons 0.310.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.309.0...0.310.0) #### New icons 🎨 - `blend` ([#​1280](https://togithub.com/lucide-icons/lucide/issues/1280)) by [@​danielbayley](https://togithub.com/danielbayley) - `eclipse` ([#​1280](https://togithub.com/lucide-icons/lucide/issues/1280)) by [@​danielbayley](https://togithub.com/danielbayley) - `paint-roller` ([#​1280](https://togithub.com/lucide-icons/lucide/issues/1280)) by [@​danielbayley](https://togithub.com/danielbayley) - `swatch-book` ([#​1280](https://togithub.com/lucide-icons/lucide/issues/1280)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `aperture` ([#​1280](https://togithub.com/lucide-icons/lucide/issues/1280)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.309.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.309.0): New icons 0.309.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.308.0...0.309.0) #### New icons 🎨 - `list-collapse` ([#​1790](https://togithub.com/lucide-icons/lucide/issues/1790)) by [@​ocavue](https://togithub.com/ocavue) ### [`v0.308.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.308.0): New icons 0.308.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.307.0...0.308.0) ### [`v0.307.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.307.0): New icons 0.307.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.306.0...0.307.0) #### New icons 🎨 - `notebook-pen` ([#​1363](https://togithub.com/lucide-icons/lucide/issues/1363)) by [@​danielbayley](https://togithub.com/danielbayley) - `notebook-tabs` ([#​1363](https://togithub.com/lucide-icons/lucide/issues/1363)) by [@​danielbayley](https://togithub.com/danielbayley) - `notebook-text` ([#​1363](https://togithub.com/lucide-icons/lucide/issues/1363)) by [@​danielbayley](https://togithub.com/danielbayley) - `notebook` ([#​1363](https://togithub.com/lucide-icons/lucide/issues/1363)) by [@​danielbayley](https://togithub.com/danielbayley) - `notepad-text-dashed` ([#​1363](https://togithub.com/lucide-icons/lucide/issues/1363)) by [@​danielbayley](https://togithub.com/danielbayley) - `notepad-text` ([#​1363](https://togithub.com/lucide-icons/lucide/issues/1363)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `folder-sync` ([#​1745](https://togithub.com/lucide-icons/lucide/issues/1745)) by [@​jguddas](https://togithub.com/jguddas) ### [`v0.306.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.306.0): New icons 0.306.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.305.0...0.306.0) #### New icons 🎨 - `between-horizonal-end` ([#​1508](https://togithub.com/lucide-icons/lucide/issues/1508)) by [@​danielbayley](https://togithub.com/danielbayley) - `between-horizonal-start` ([#​1508](https://togithub.com/lucide-icons/lucide/issues/1508)) by [@​danielbayley](https://togithub.com/danielbayley) - `between-vertical-end` ([#​1508](https://togithub.com/lucide-icons/lucide/issues/1508)) by [@​danielbayley](https://togithub.com/danielbayley) - `between-vertical-start` ([#​1508](https://togithub.com/lucide-icons/lucide/issues/1508)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.305.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.305.0): New icons 0.305.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.304.0...0.305.0) #### New icons 🎨 - `heater` ([#​1461](https://togithub.com/lucide-icons/lucide/issues/1461)) by [@​danielbayley](https://togithub.com/danielbayley) - `vault` ([#​1461](https://togithub.com/lucide-icons/lucide/issues/1461)) by [@​danielbayley](https://togithub.com/danielbayley) - `washing-machine` ([#​1461](https://togithub.com/lucide-icons/lucide/issues/1461)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.304.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.304.0): New icons 0.304.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.303.0...0.304.0) #### New icons 🎨 - `bolt` ([#​1340](https://togithub.com/lucide-icons/lucide/issues/1340)) by [@​danielbayley](https://togithub.com/danielbayley) - `drill` ([#​1340](https://togithub.com/lucide-icons/lucide/issues/1340)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.303.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.303.0): New icons & small fixes 0.303.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.302.0...0.303.0) #### New icons 🎨 - `columns-1` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `columns-2` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `columns-3` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `columns-4` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-1` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-2` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-3` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) - `rows-4` ([#​1500](https://togithub.com/lucide-icons/lucide/issues/1500)) by [@​danielbayley](https://togithub.com/danielbayley) #### Optimized Icons 🔨 - `rabbit` ([#​1763](https://togithub.com/lucide-icons/lucide/issues/1763)) by [@​jguddas](https://togithub.com/jguddas) - `squirrel` ([#​1764](https://togithub.com/lucide-icons/lucide/issues/1764)) by [@​jguddas](https://togithub.com/jguddas) #### Other fixes - Fixes package list item 404 navigation error by [@​karsa-mistmere](https://togithub.com/karsa-mistmere) in [https://github.com/lucide-icons/lucide/pull/1751](https://togithub.com/lucide-icons/lucide/pull/1751) - fix: Exports `Icon` type by [@​AdrianGonz97](https://togithub.com/AdrianGonz97) in [https://github.com/lucide-icons/lucide/pull/1762](https://togithub.com/lucide-icons/lucide/pull/1762) - Fix type error of preact `createLucideIcon()` by [@​nix6839](https://togithub.com/nix6839) in [https://github.com/lucide-icons/lucide/pull/1754](https://togithub.com/lucide-icons/lucide/pull/1754) - improved SvgPreview radii highlighting by [@​jguddas](https://togithub.com/jguddas) in [https://github.com/lucide-icons/lucide/pull/1747](https://togithub.com/lucide-icons/lucide/pull/1747) - Renamed alarm-minus to alarm-clock-minus by [@​jguddas](https://togithub.com/jguddas) in [https://github.com/lucide-icons/lucide/pull/1629](https://togithub.com/lucide-icons/lucide/pull/1629) ### [`v0.302.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.302.0): New icons 0.302.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.301.0...0.302.0) #### New icons 🎨 - `panels-right-bottom` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panels-top-left` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `panel-bottom-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-bottom-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-bottom` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-left-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-left-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-left` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-right-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-right-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-right` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-top-close` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-top-open` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) - `panel-top` ([#​1156](https://togithub.com/lucide-icons/lucide/issues/1156)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.301.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.301.0): Fixed export maps, types, and packaging for `lucide-svelte` & new icons 0.301.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.300.0...0.301.0) #### Lucide Svelte update ⛏️ - Fixed export maps, types, and packaging for `lucide-svelte` by [@​AdrianGonz97](https://togithub.com/AdrianGonz97) in [https://github.com/lucide-icons/lucide/pull/1707](https://togithub.com/lucide-icons/lucide/pull/1707) #### New icons 🎨 - `a-arrow-down` ([#​1222](https://togithub.com/lucide-icons/lucide/issues/1222)) by [@​it-is-not](https://togithub.com/it-is-not) - `a-arrow-up` ([#​1222](https://togithub.com/lucide-icons/lucide/issues/1222)) by [@​it-is-not](https://togithub.com/it-is-not) - `a-large-small` ([#​1222](https://togithub.com/lucide-icons/lucide/issues/1222)) by [@​it-is-not](https://togithub.com/it-is-not) #### Modified Icons 🔨 - `gavel` ([#​1744](https://togithub.com/lucide-icons/lucide/issues/1744)) by [@​jguddas](https://togithub.com/jguddas) ### [`v0.300.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.300.0): New icons 0.300.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.299.0...0.300.0) #### New icons 🎨 - `cooking-pot` ([#​1737](https://togithub.com/lucide-icons/lucide/issues/1737)) by [@​ericfennis](https://togithub.com/ericfennis) ### [`v0.299.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.299.0): New icons 0.299.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.298.0...0.299.0) #### New icons 🎨 - `anvil` ([#​1407](https://togithub.com/lucide-icons/lucide/issues/1407)) by [@​danielbayley](https://togithub.com/danielbayley) - `brick-wall` ([#​1407](https://togithub.com/lucide-icons/lucide/issues/1407)) by [@​danielbayley](https://togithub.com/danielbayley) - `fence` ([#​1407](https://togithub.com/lucide-icons/lucide/issues/1407)) by [@​danielbayley](https://togithub.com/danielbayley) - `inspection-panel` ([#​1407](https://togithub.com/lucide-icons/lucide/issues/1407)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.298.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.298.0): New icons 0.298.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.297.0...0.298.0) #### New icons 🎨 - `alarm-smoke` ([#​1392](https://togithub.com/lucide-icons/lucide/issues/1392)) by [@​danielbayley](https://togithub.com/danielbayley) - `bell-electric` ([#​1392](https://togithub.com/lucide-icons/lucide/issues/1392)) by [@​danielbayley](https://togithub.com/danielbayley) - `cctv` ([#​1392](https://togithub.com/lucide-icons/lucide/issues/1392)) by [@​danielbayley](https://togithub.com/danielbayley) - `fire-extinguisher` ([#​1392](https://togithub.com/lucide-icons/lucide/issues/1392)) by [@​danielbayley](https://togithub.com/danielbayley) - `pointer-off` ([#​1567](https://togithub.com/lucide-icons/lucide/issues/1567)) by [@​jguddas](https://togithub.com/jguddas) ### [`v0.297.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.297.0): New icons 0.297.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.296.0...0.297.0) #### New icons 🎨 - `squircle` ([#​1293](https://togithub.com/lucide-icons/lucide/issues/1293)) by [@​jguddas](https://togithub.com/jguddas) ### [`v0.296.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.296.0): New icons 0.296.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.295.0...0.296.0) #### New icons 🎨 - `user-round-search` ([#​1620](https://togithub.com/lucide-icons/lucide/issues/1620)) by [@​jmsv](https://togithub.com/jmsv) - `user-search` ([#​1620](https://togithub.com/lucide-icons/lucide/issues/1620)) by [@​jmsv](https://togithub.com/jmsv) ### [`v0.295.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.295.0): New icons 0.295.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.294.0...0.295.0) #### New icons 🎨 - `message-circle-code` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-dashed` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-heart` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-more` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-off` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-plus` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-question` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-reply` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-warning` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-circle-x` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-code` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-diff` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-dot` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-heart` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-more` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-off` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-quote` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-reply` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-share` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-text` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-warning` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-x` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `message-circle` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) - `message-square-plus` ([#​1208](https://togithub.com/lucide-icons/lucide/issues/1208)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.294.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.294.0): New icons 0.294.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.293.0...0.294.0) #### New icons 🎨 - `audio-lines` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `audio-waveform` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `disc-album` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `drum` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `file-music` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `guitar` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `keyboard-music` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) - `piano` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) #### Modified Icons 🔨 - `speaker` ([#​1124](https://togithub.com/lucide-icons/lucide/issues/1124)) by [@​danielbayley](https://togithub.com/danielbayley) ### [`v0.293.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.293.0): Renamed user icons and package updates 0.293.0 [Compare Source](https://togithub.com/lucide-icons/lucide/compare/0.292.0...0.293.0) #### Packages updates 📦 - Angular 17 support for `lucide-angular` [#​1696](https://togithub.com/lucide-icons/lucide/issues/1696) - Make sure "lucide" classes are applied on elements for all packages [#​1691](https://togithub.com/lucide-icons/lucide/issues/1691) #### Renamed Icons 🔨 - `user-2` to `user-round` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-check-2` to `user-round-check` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-circle-2` to `user-round-circle` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-cog-2` to `user-round-cog` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-minus-2` to `user-round-minus` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-plus-2` to `user-round-plus` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-search-2` to `user-round-search` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-square-2` to `user-round-square` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `user-x-2` to `user-round-x` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) - `users-2` to `users-round` ([#​1638](https://togithub.com/lucide-icons/lucide/issues/1638)) by [@​jmsv](https://togithub.com/jmsv) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/GymSquad/admin-page). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuMTM1LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
@AdrianGonz97 @huntabyte @ericfennis I made a Vite preprocessor for this |
…cons#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 <[email protected]>
Fixes #1284, fixes #1572
What is the purpose of this pull request?
Description
This PR contains a number of fixes:
rollup
andsvelte-strip
for the official@sveltejs/package
CLIimport Circle from "lucide-svelte/icons/circle"
will be faster to load thanimport { Circle } from "lucide-svelte"
)moduleResolution: "NodeNext"
in theirtsconfig.json
svelte.JSX
namespace types for element types sourced fromsvelte/elements
Additional Notes
I noticed that the package included fully compiled svelte components (i.e. everything inside of the
esm
directory indist
are fully compiled vanilla JS components). Was there a particular reason for this? It's not really the recommended way of packaging Svelte components.While updating the types, I noticed that the icons were meant to extend the attributes of an SVGElement like this in the build script:
But, currently in the latest release, if you examine any of the icon's prop types on the end user's side, they only show the types for
color
,size
,strokeWidth
, etc, and none of the attributes that belong toSVGElement
.This doesn't seem intentional, so I could add a fix for this too by extending
IconProps
withSVGAttributes<SVGSVGElement>
instead intypes.ts
.While it would provide the proper types now, it would also flood the autocompletions with the
SVGElement
's attributes, makingcolor
,size
,strokeWidth
, etc, less noticeable:Just wanted to note this as something to be aware of! Please let me know if I should apply the fix!
Before Submitting