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: update dependency lucide-preact to ^0.471.0 #78

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lucide-preact (source) ^0.344.0 -> ^0.471.0 age adoption passing confidence

Release Notes

lucide-icons/lucide (lucide-preact)

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 🔨

v0.469.0: New icons 0.469.0

Compare Source

Modified Icons 🔨

v0.468.0: New icons 0.468.0

Compare Source

New icons 🎨

v0.467.0: New icons 0.467.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.466.0: New icons 0.466.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.465.0: New icons 0.465.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.464.0: New icons 0.464.0

Compare Source

Modified Icons 🔨

v0.463.0: New icons 0.463.0

Compare Source

Modified Icons 🔨

v0.462.0: New icons 0.462.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.461.0: New icons 0.461.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.460.0: New icons 0.460.0

Compare Source

New icons 🎨

v0.459.0: New icons 0.459.0

Compare Source

New icons 🎨

v0.458.0: New icons 0.458.0

Compare Source

New icons 🎨

Modified Icons 🔨

Other Changes

Full Changelog: lucide-icons/lucide@0.457.0...0.458.0

v0.457.0: New icons 0.457.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.456.0: Choosing import name style 0.456.0

Compare Source

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";
}

v0.455.0: New icons 0.455.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.454.0: New icons 0.454.0

Compare Source

Modified Icons 🔨

v0.453.0: New icons 0.453.0

Compare Source

New icons 🎨

v0.452.0: New icons 0.452.0

Compare Source

Modified Icons 🔨

v0.451.0: New icons 0.451.0

Compare Source

Modified Icons 🔨

v0.449.0: New icons 0.449.0

Compare Source

New icons 🎨

v0.448.0: New icons 0.448.0

Compare Source

New icons 🎨

v0.447.0: New icons 0.447.0

Compare Source

v0.446.0: New icons 0.446.0

Compare Source

New icons 🎨

v0.445.0: New icons 0.445.0

Compare Source

New icons 🎨

v0.444.0: New icons 0.444.0

Compare Source

Modified Icons 🔨

v0.443.0: New icons 0.443.0

Compare Source

Modified Icons 🔨

v0.442.0: New icons 0.442.0

Compare Source

Modified Icons 🔨

v0.441.0: New icons 0.441.0

Compare Source

New icons 🎨

v0.440.0: New icons 0.440.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.439.0: New icons 0.439.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.438.0: New icons 0.438.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.437.0: New icons 0.437.0

Compare Source

Modified Icons 🔨

v0.436.0: New icons 0.436.0

Compare Source

Modified Icons 🔨

v0.435.0: New icons 0.435.0

Compare Source

Modified Icons 🔨

v0.434.0: New icons 0.434.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.433.0: New icons 0.433.0

Compare Source

New icons 🎨

Fixes Lucide Solid

v0.432.0: New icons 0.432.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.429.0: New icons 0.429.0

Compare Source

Modified Icons 🔨

v0.428.0: New icons 0.428.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.427.0: New icons 0.427.0

Compare Source

New icons 🎨

v0.426.0: New icons 0.426.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.425.0: New icons 0.425.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.424.0: New icons 0.424.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.423.0: New icons 0.423.0

Compare Source

New icons 🎨

v0.422.0: New icons 0.422.0

Compare Source

Modified Icons 🔨

v0.421.0: New icons 0.421.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.420.0: New icons 0.420.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.419.0: New icons 0.419.0

Compare Source

New icons 🎨

v0.418.0: New icons 0.418.0

Compare Source

New icons 🎨

v0.417.0: New icons 0.417.0

Compare Source

Modified Icons 🔨

v0.416.0: New icons 0.416.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.415.0: New icons 0.415.0

Compare Source

New icons 🎨

v0.414.0: New icons 0.414.0

Compare Source

New icons 🎨

v0.413.0: New icons 0.413.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.412.0: New icons 0.412.0

Compare Source

New icons 🎨

v0.411.0: New icons 0.411.0

Compare Source

v0.410.0: New icons 0.410.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.409.0: New icons 0.409.0

Compare Source

Modified Icons 🔨

v0.408.0: New icons 0.408.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.407.0: New icons 0.407.0

Compare Source

New icons 🎨

v0.406.0: New icons 0.406.0

Compare Source

New icons 🎨

v0.405.0: New icons 0.405.0

Compare Source

New icons 🎨

v0.404.0: New icons 0.404.0

Compare Source

New icons 🎨

v0.403.0: New icons 0.403.0

Compare Source

New icons 🎨

v0.402.0: New icons 0.402.0

Compare Source

New icons 🎨

v0.401.0: New icons 0.401.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.400.0: New icons 0.400.0

Compare Source

New icons 🎨

v0.399.0: New icons 0.399.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.398.0: New icons 0.398.0

Compare Source

New icons 🎨

v0.397.0: New icons & React 19 support 0.397.0

Compare Source

Support for React 19

New icons 🎨

Modified Icons 🔨

v0.396.0: New icons 0.396.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.395.0: New icons 0.395.0

Compare Source

Modified Icons 🔨

v0.394.0: New icons 0.394.0

Compare Source

Modified Icons 🔨

v0.391.0: New icons 0.391.0

Compare Source

Modified Icons 🔨


Configuration

📅 Schedule: Branch creation - "after 10am on monday,before 5pm on monday" in timezone Asia/Tokyo, 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

changeset-bot bot commented Sep 1, 2024

⚠️ No Changeset found

Latest commit: f1b5cee

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

coderabbitai bot commented Sep 1, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The change involves an update to the lucide-preact dependency version in the package.json file for the packages/plugin-figma module. The version has been changed from ^0.344.0 to ^0.438.0, indicating an upgrade to a newer version of the library.

Changes

File Path Change Summary
packages/plugin-figma/package.json Updated lucide-preact version from ^0.344.0 to ^0.438.0

Sequence Diagram(s)

No sequence diagrams are generated as the changes are too simple to warrant a visual representation.

Poem

🐰 In the garden where I hop and play,
A shiny update brightens my day!
With lucide-preact now fresh and new,
I’ll dance and twirl, oh what a view!
Bugs be gone, and features bloom,
Hooray for changes, let joy consume! 🌼✨


Note

Free review on us!

CodeRabbit is offering free reviews until Wed Jan 15 2025 to showcase some of the refinements we've made.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 841a149 to 2ccfc09 Compare September 1, 2024 22:19
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.437.0 fix: update dependency lucide-preact to ^0.438.0 Sep 1, 2024
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c18ccca and 2ccfc09.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/plugin-figma/package.json (1 hunks)
Additional comments not posted (1)
packages/plugin-figma/package.json (1)

28-28: Dependency version update looks good! Verify the changelog and test the integration.

The lucide-preact dependency version has been updated from ^0.344.0 to ^0.438.0, following semantic versioning.

To ensure a smooth integration, consider the following:

  1. Review the changelog of the lucide-preact package for version 0.438.0 to understand the specific changes, new features, and bug fixes introduced.

  2. Test the integration of the updated lucide-preact package in the @tuktuk/plugin-figma package to verify that it works as expected and doesn't introduce any breaking changes or regressions.

You can use the following script to find the usage of the lucide-preact package in the codebase:

If any issues are found during testing, consider addressing them or reverting the dependency update if necessary.

Verification successful

No direct usage of lucide-preact found in the codebase.

The search did not reveal any direct import statements for lucide-preact in JavaScript or TypeScript files. This suggests that the package might not be used directly, or it could be imported dynamically or indirectly. If there are concerns about indirect usage, consider manual verification.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Find the usage of the `lucide-preact` package in the codebase.

# Test: Search for import statements of `lucide-preact`. Expect: Files importing the package.
rg --type typescript --type javascript 'from "lucide-preact"'

Length of output: 98


Script:

#!/bin/bash
# Description: Find the usage of the `lucide-preact` package in the codebase.

# Test: Search for import statements of `lucide-preact`. Expect: Files importing the package.
rg --type js --type ts 'from "lucide-preact"'

Length of output: 47

@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 2ccfc09 to 410caf1 Compare September 8, 2024 16:30
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.438.0 fix: update dependency lucide-preact to ^0.439.0 Sep 8, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 410caf1 to 43377b9 Compare September 15, 2024 16:35
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.439.0 fix: update dependency lucide-preact to ^0.441.0 Sep 15, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 43377b9 to 4f6b85e Compare September 22, 2024 16:53
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.441.0 fix: update dependency lucide-preact to ^0.445.0 Sep 22, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 4f6b85e to 1508f02 Compare September 29, 2024 15:06
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.445.0 fix: update dependency lucide-preact to ^0.446.0 Sep 29, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 1508f02 to a902ec7 Compare October 6, 2024 16:57
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.446.0 fix: update dependency lucide-preact to ^0.447.0 Oct 6, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from a902ec7 to 27bac51 Compare October 13, 2024 15:27
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.447.0 fix: update dependency lucide-preact to ^0.452.0 Oct 13, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 27bac51 to b6d7dcf Compare October 20, 2024 15:03
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.452.0 fix: update dependency lucide-preact to ^0.453.0 Oct 20, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from b6d7dcf to d171cc3 Compare November 3, 2024 16:25
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.453.0 fix: update dependency lucide-preact to ^0.454.0 Nov 3, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from d171cc3 to 99201d5 Compare November 10, 2024 16:48
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.454.0 fix: update dependency lucide-preact to ^0.456.0 Nov 10, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from 99201d5 to e043073 Compare November 17, 2024 17:00
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.456.0 fix: update dependency lucide-preact to ^0.460.0 Nov 17, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from e043073 to a05f4c3 Compare December 1, 2024 16:17
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.460.0 fix: update dependency lucide-preact to ^0.462.0 Dec 1, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from a05f4c3 to de4316b Compare December 8, 2024 15:11
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.462.0 fix: update dependency lucide-preact to ^0.468.0 Dec 8, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from de4316b to d6e89e0 Compare December 22, 2024 16:42
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.468.0 fix: update dependency lucide-preact to ^0.469.0 Dec 22, 2024
@renovate renovate bot force-pushed the renovate/lucide-monorepo branch from d6e89e0 to f1b5cee Compare January 12, 2025 17:12
@renovate renovate bot changed the title fix: update dependency lucide-preact to ^0.469.0 fix: update dependency lucide-preact to ^0.471.0 Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants