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 to ^0.262.0 #585

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lucide (source) ^0.261.0 -> ^0.262.0 age adoption passing confidence

Release Notes

lucide-icons/lucide (lucide)

v0.262.0: Lucide React Fixes and New icons v0.262.0

Compare Source

Lucide React Updates (dynamicIconImports)

Due to startup problems with build engines like ESBuild (e.g. Remix and Vite). We move to a different way of importing the dynamicIconImports. It's now in a separate entry module so compilers won't compile all dynamic imports when loading lucide-react. See #​1437

Updated example from v0.260.0

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

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;

New icons 🎨

Modified Icons 🔨


Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - "before 2am" (UTC).

🚦 Automerge: Enabled.

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.

@renovate renovate bot added dependencies Pull requests that update a dependency file javascript Issues or pull requests related to javascript labels Jul 20, 2023
@renovate renovate bot enabled auto-merge (rebase) July 20, 2023 00:40
@renovate renovate bot merged commit 8c03266 into main Jul 20, 2023
3 checks passed
@renovate renovate bot deleted the renovate/lucide-0.x branch July 20, 2023 03:50
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 javascript Issues or pull requests related to javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants