Skip to content
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

feat: add lucide package for Astro #2665

Open
wants to merge 68 commits into
base: main
Choose a base branch
from

Conversation

MoustaphaDev
Copy link

@MoustaphaDev MoustaphaDev commented Dec 5, 2024

TODOs:

  • @lucide/astro package
  • Testing
  • Docs page
  • Framework logo
  • Homepage icon
  • Package logo (both light and dark)
  • Add "Lucide Astro" in the left sidebar
  • Add workflows for package publishing and testing
  • Update demo project to only include @lucide/astro and revise PR description after

What is the purpose of this pull request?

  • New Icon
  • Bug fix
  • New Feature
  • Documentation update
  • Other

Description

Add a new package for first-class Astro support.

(outdated) Here's the demo project using both the legacy and rewritten package: demo project

See #2665 (comment) for more details.

Before Submitting

@github-actions github-actions bot added the 📦 dependencies Pull requests that update a dependency file label Dec 5, 2024
@MoustaphaDev MoustaphaDev marked this pull request as draft December 5, 2024 21:07
@github-actions github-actions bot added 🎨 icon About new icons 🫧 metadata Improved metadata labels Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Added or changed icons

icons/picture-in-picture.svg

Preview cohesion icons/square-activity.svg
icons/picture-in-picture.svg
icons/files.svg
Preview stroke widths icons/picture-in-picture.svg
icons/picture-in-picture.svg
icons/picture-in-picture.svg
DPI Preview (24px) icons/picture-in-picture.svg
Icon X-rays icons/picture-in-picture.svg
Icon Diffs icons/picture-in-picture.svg
Icons as code

Works for: lucide-react, lucide-react-native, lucide-preact, lucide-vue-next

const PictureInPictureIcon = createLucideIcon('PictureInPicture', [
  ["path",{"d":"M2 10h6V4"}],
  ["path",{"d":"m2 4 6 6"}],
  ["path",{"d":"M21 10V7a2 2 0 0 0-2-2h-7"}],
  ["path",{"d":"M3 14v2a2 2 0 0 0 2 2h3"}],
  ["rect",{"width":"10","height":"7","x":"12","y":"14","rx":"1"}]
])

@github-actions github-actions bot added 📖 documentation Improvements or additions to documentation 🌍 site Has to do something with the Lucide website labels Dec 6, 2024
Copy link
Member

@ericfennis ericfennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @MoustaphaDev!
We are almost good to go!
If @Aviortheking also approves this PR and is ready to transfer the ownership of the NPM package we can start publishing!

@@ -0,0 +1,29 @@
import { parseHTML } from 'linkedom';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work 😎

@Aviortheking
Copy link
Contributor

Nice work @MoustaphaDev! We are almost good to go! If @Aviortheking also approves this PR and is ready to transfer the ownership of the NPM package we can start publishing!

I'll take a look later in the week :D

@MoustaphaDev
Copy link
Author

Friendly bump on this @Aviortheking

@SupianIDz
Copy link

SupianIDz commented Feb 27, 2025

Is there any update on this PR? It has been almost 1.5 months without any further progress.

@MoustaphaDev
Copy link
Author

Since @Aviortheking seems unavailable, could we maybe publish the package as lucide-astro-next, and rename it to lucide-astro when/if he give you ownership of the package?

I'm in no rush, I just want to know your thoughts about an alternative path to get this over the line.

cc @ericfennis

@ericfennis
Copy link
Member

No I'm thinking of releasing it with the lucide scope anyways.
So it will be @lucide/astro.

@MoustaphaDev
Copy link
Author

Even better 😄 So I'll work on replacing mentions of the package to @lucide/astro this weekend!

@ericfennis
Copy link
Member

@MoustaphaDev Awesome!

@MoustaphaDev MoustaphaDev requested a review from ericfennis March 10, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 dependencies Pull requests that update a dependency file 📖 documentation Improvements or additions to documentation 🎨 icon About new icons 🫧 metadata Improved metadata 🌍 site Has to do something with the Lucide website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants