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 v0.456.0 #995

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lucide-react (source) 0.455.0 -> 0.456.0 age adoption passing confidence

Release Notes

lucide-icons/lucide (lucide-react)

v0.456.0: Choosing import name style 0.456.0

What's Changed

Adjustable icon naming imports

Customize import name styles for lucide-react, lucide-vue, lucide-react-native, lucide-preact, to manage autocompletion in your IDE.

  1. Turn off autocomplete in your IDE:
    Add the following to your settings.json
{
  "typescript.preferences.autoImportFileExcludePatterns": [
    "lucide-react",
    "lucide-preact",
    "lucide-react-native",
    "lucide-vue-next"
  ]
}
  1. Create a custom module declaration file:

It allows you to choose the import name style.

For React:

declare module "lucide-react" {
  // Prefixed import names
  export * from "lucide-react/dist/lucide-react.prefixed";
  // or
  // Suffixed import names
  export * from "lucide-react/dist/lucide-react.suffixed";
}

For Vue:

declare module "lucide-vue-next" {
  // Prefixed import names
  export * from "lucide-vue-next/dist/lucide-vue-next.prefixed";
  // or
  // Suffixed import names
  export * from "lucide-vue-next/dist/lucide-vue-next.suffixed";
}

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 8, 2024
@renovate renovate bot requested a review from IgorKowalczyk November 8, 2024 16:45
@IgorKowalczyk IgorKowalczyk merged commit 8fe00ae into master Nov 8, 2024
7 of 8 checks passed
@IgorKowalczyk IgorKowalczyk deleted the renovate/lucide-monorepo branch November 8, 2024 16:45
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