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

fix(deps): update dependency lucide-react to ^0.263.0 #6

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 3, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

lucide-icons/lucide (lucide-react)

v0.263.1: Lucide React Hotfix

Compare Source

What's Changed

v0.263.0: New icons v0.263.0

Compare Source

Modified Icons

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 🔨

v0.261.0: New icons v0.261.0

Compare Source

New icons 🎨

Modified Icons 🔨

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 🔨

v0.259.0: New icons!

Compare Source

New icons 🎨

Optimized Icons 🔨

v0.258.0: New icons v0.258.0

Compare Source

New icons 🎨

v0.257.0: New icons v0.257.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.256.1"

New icons 🎨
Modified Icons 🔨

v0.256.0: New icons v0.256.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.255.0"

New icons 🎨

v0.255.0: New icons v0.255.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.254.0"

New icons 🎨

v0.254.0: New icons v0.254.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.253.0"

New icons 🎨

v0.253.0: New icons v0.253.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.252.0"

New icons 🎨

Modified Icons 🔨

v0.252.0: New icons v0.252.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.251.0"

New icons 🎨

Modified Icons 🔨

v0.251.0: New icons v0.251.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.250.0"

New icons 🎨

v0.250.0: New icons v0.250.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.249.0"

New icons 🎨

v0.249.0: New icons v0.249.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.248.0"

New icons 🎨

Modified Icons 🔨

v0.248.0: New icons v0.248.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.247.0"

New icons 🎨

v0.247.0: New icons v0.247.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.246.0"

New icons 🎨

v0.246.0: New icons v0.246.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.245.0"

New icons 🎨

v0.245.0: New icons v0.245.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.244.0"

New icons 🎨
Modified Icons 🔨

v0.244.0: New icons v0.244.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.243.0"

New icons 🎨

Modified Icons 🔨

v0.243.0: New icons v0.243.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.242.0"

New icons 🎨

Modified Icons 🔨

v0.242.0: New icons v0.242.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.241.0"

New icons 🎨

v0.241.0: New icons v0.241.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.240.0"

New icons 🎨

v0.240.0: New icons v0.240.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.239.0"

New icons 🎨

Modified Icons 🔨

v0.239.0: New icons v0.239.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.238.0"

New icons 🎨

v0.236.0: New icons v0.236.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.235.0"

New icons 🎨

Modified Icons 🔨

v0.235.0: New icons v0.235.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.234.0"

New icons 🎨

v0.234.0: New icons v0.234.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.233.0"

v0.233.0: New icons v0.233.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.232.0"

New icons 🎨

Modified Icons 🔨

v0.232.0: New icons v0.232.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.231.0"

New icons 🎨

v0.231.0: New icons v0.231.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.230.0"

New icons 🎨

v0.230.0: New icons v0.230.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.229.0"

Modified Icons 🔨

v0.229.0: New icons v0.229.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.228.0"

New icons 🎨

v0.228.0: New icons v0.228.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.227.0"

New icons 🎨

Modified Icons 🔨

v0.227.0: New icons v0.227.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.226.0"

New icons 🎨

Modified Icons 🔨

v0.226.0: New icons v0.226.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.225.0"

New icons 🎨

v0.225.0: New icons v0.225.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.224.0"

New icons 🎨

v0.224.0: New icons v0.224.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.223.0"

New icons 🎨

Modified Icons 🔨

v0.223.0: New icons v0.223.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.222.0"

New icons 🎨

Modified Icons 🔨

v0.222.0: New icons v0.222.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.221.0"

New icons 🎨

Modified Icons 🔨

v0.221.0: New icons v0.221.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.220.0"

New icons 🎨

v0.220.0: New icons v0.220.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.219.0"

Modified Icons 🔨

v0.219.0: New icons v0.219.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.218.0"

New icons 🎨

v0.218.0: New icons v0.218.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.217.0"

Modified Icons 🔨

v0.217.0: New icons v0.217.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.216.0"

New icons 🎨

v0.216.0: New icons v0.216.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.215.0"

Modified Icons 🔨

v0.215.0: New icons v0.215.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.214.0"

New icons 🎨

v0.214.0: New icons v0.214.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.213.0"

Modified Icons 🔨

v0.213.0: New icons v0.213.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.212.0"

v0.212.0: New icons v0.212.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.211.0"

New icons 🎨

Modified Icons 🔨

v0.211.0: New icons v0.211.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.210.0"

Modified Icons 🔨

v0.210.0: New icons v0.210.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.209.0"

New icons 🎨

v0.209.0: New icons v0.209.0

Compare Source

@​ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.208.0"

New 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.

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (14d2134) 42.80% compared to head (329899e) 42.80%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   42.80%   42.80%           
=======================================
  Files          42       42           
  Lines         542      542           
  Branches      141      141           
=======================================
  Hits          232      232           
  Misses        310      310           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@itsjavi itsjavi merged commit acbeb7f into main Aug 3, 2023
@itsjavi itsjavi deleted the renovate/lucide-react-0.x branch August 3, 2023 19:06
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