feat(lucide-lit): added lucide-lit package and appropriate documents#4307
Open
GyeongHoKim wants to merge 3 commits intolucide-icons:mainfrom
Open
feat(lucide-lit): added lucide-lit package and appropriate documents#4307GyeongHoKim wants to merge 3 commits intolucide-icons:mainfrom
GyeongHoKim wants to merge 3 commits intolucide-icons:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
lucide-lit, a Lit (LitElement) package that registers each icon as a custom element (e.g.<lucide-camera>).Although built with Lit, it is usable regardless of framework since it exposes each icon as a standard custom element.
Also includes documentation on lucide.dev (Lit guide, package reference, sidebar, installation hints), CI (
.github/workflows/lucide-lit.yml), release matrix updates, root README package table row, and framework logo (docs/public/framework-logos/lit.svg— emblem from the official Lit logo).What changed
packages/lucide-lit/(build, tests,createLucideIcon,Icon).docs/guide/lit/,docs/guide/packages/lucide-lit.md, VitePress wiring,packageData, etc.How to test
pnpm install pnpm --filter lucide-lit build pnpm --filter lucide-lit test pnpm lintI validated this with a Vite v7 + Lit v3.2 + TypeScript app via yalc and confirmed the package works end-to-end.
I also tested the CI workflow with act using the
act-latestimage.Notes for reviewers
Before submitting