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

chore(deps): update dependency lucide-solid to ^0.260.0 #9

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lucide-solid (source) ^0.259.0 -> ^0.260.0 age adoption passing confidence

Release Notes

lucide-icons/lucide (lucide-solid)

v0.260.0: Lucide React Update and Icons

Compare Source

Lucide React Update

Improves Typescript types

Improves Typescript types export by switching to rollup-plugin-dts for types generation.

Closes #​1420 and #​1373

Added JS Docs

When hovering (in an IDE that supports it) over a Lucide component you get a JSDoc comment with useful information about the Lucide Icons component. It also shows a small preview of the icons you imported with the link to the lucide website. image

Dynamic Imports Map (experimental)

Addition to #​1373 (closed).

Lucide react now exposes a dynamic import map dynamicIconImports. Useful for applications that want to show icons dynamically by icon name. For example when using a content management system with where icon names are stored in a database.

More info in docs

Example component with NextJS:

import dynamic from 'next/dynamic'
import { dynamicIconImports, LucideProps } from 'lucide-react';

interface IconProps extends LucideProps {
  name: keyof typeof dynamicIconImports;
}

const Icon = ({ name, color, size }: IconProps) => {
  const LucideIcon = dynamic(dynamicIconImports[name])

  return <LucideIcon color={color} size={size} />;
};

export default Icon;
Using the Icon Component

These features will be added later to other packages.

import Icon from './Icon';

const App = () => {
  return <Icon name="home" />;
};

export default App;

New icons 🎨

Modified Icons 🔨


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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jul 13, 2023

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

Name Status Preview Comments Updated (UTC)
hati ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 13, 2023 5:23pm

@gothammm gothammm merged commit c73a242 into main Jul 17, 2023
@renovate renovate bot deleted the renovate/lucide-solid-0.x branch July 17, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant