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

Update dependency lucide-react to ^0.475.0 #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lucide-react (source) ^0.469.0 -> ^0.475.0 age adoption passing confidence

Release Notes

lucide-icons/lucide (lucide-react)

v0.475.0: New icons 0.475.0

Compare Source

New icons 🎨

v0.474.0: New icons 0.474.0

Compare Source

Modified Icons 🔨

v0.473.0: New icons 0.473.0

Compare Source

Modified Icons 🔨

v0.472.0: New icons 0.472.0

New icons 🎨

What's Changed

Full Changelog: lucide-icons/lucide@0.471.1...0.472.0

v0.471.1: Hotfix Lucide React exports

Compare Source

What's Changed

v0.471.0: Dynamic Icon component Lucide React and new icons 0.471.0

Compare Source

New Dynamic Icon Component (lucide-react)

This is an easier approach than the previous dynamicIconImports we exported in the library. This one supports all environments.
We removed the examples in the docs of how you can make a dynamic icon yourself with a dedicated DynamicIcon component.
This one fetches the icon data itself and renders it instead of fetching the Icon component from the library.
This makes it more flexible with all the frontend frameworks and libraries that exist for React.

🚨
Not recommended for regular applications that work fine with the regular static icon components.
Using the dynamic icon component increases build time, separate bundles, and separate network requests for each icon.

How to use

DynamicIcon is useful for applications that want to show icons dynamically by icon name, for example when using a content management system where icon names are stored in a database.

const App = () => (
  <DynamicIcon name="camera" color="red" size={48} />
);
Possible Breaking changes

We have switched to the "exports" property in package.json. This can cause issues if you have directly imported scripts from the package. Please open an issue if we need to refine this export map.

New icons 🎨

v0.470.0: New icons 0.470.0

Compare Source

New icons 🎨
Modified Icons 🔨

Configuration

📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jan 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lobe-ui ✅ Ready (Inspect) Visit Preview Feb 7, 2025 5:49pm

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 12, 2025
@lobehubbot
Copy link
Member

👍 @renovate[bot]


Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

pkg-pr-new bot commented Jan 12, 2025

Open in Stackblitz

npm i https://pkg.pr.new/lobehub/lobe-ui/@lobehub/ui@244

commit: 09d74cc

@renovate renovate bot force-pushed the renovate/lucide-react-0.x branch from 20293ff to 5428fa9 Compare January 19, 2025 09:33
@renovate renovate bot changed the title Update dependency lucide-react to ^0.471.0 Update dependency lucide-react to ^0.473.0 Jan 19, 2025
@renovate renovate bot changed the title Update dependency lucide-react to ^0.473.0 Update dependency lucide-react to ^0.474.0 Jan 23, 2025
@renovate renovate bot force-pushed the renovate/lucide-react-0.x branch from 5428fa9 to 30b3a59 Compare January 23, 2025 17:05
@renovate renovate bot changed the title Update dependency lucide-react to ^0.474.0 Update dependency lucide-react to ^0.475.0 Feb 7, 2025
@renovate renovate bot force-pushed the renovate/lucide-react-0.x branch from 30b3a59 to 09d74cc Compare February 7, 2025 17:32
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant