This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Commit 18532f5
authored
deps: bump the production-dependencies group with 4 updates (#3)
Bumps the production-dependencies group with 4 updates: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react), [tailwind-variants](https://github.com/heroui-inc/tailwind-variants), [viem](https://github.com/wevm/viem) and [wagmi](https://github.com/wevm/wagmi/tree/HEAD/packages/react).
Updates `lucide-react` from 0.540.0 to 0.541.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/lucide-icons/lucide/releases">lucide-react's releases</a>.</em></p>
<blockquote>
<h2>Version 0.541.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat(packages/lucide): added support for providing a custom root element by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3543">lucide-icons/lucide#3543</a></li>
<li>fix(icons): optimized <code>chrome</code> icon & renamed to <code>chromium</code> by <a href="https://github.com/jguddas"><code>@jguddas</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3572">lucide-icons/lucide#3572</a></li>
<li>fix(icons): changed <code>wallpaper</code> icon by <a href="https://github.com/jguddas"><code>@jguddas</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3566">lucide-icons/lucide#3566</a></li>
<li>fix(icons): optimized <code>cog</code> icon by <a href="https://github.com/jguddas"><code>@jguddas</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3548">lucide-icons/lucide#3548</a></li>
<li>fix(icons): changed <code>building</code> icon by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3510">lucide-icons/lucide#3510</a></li>
<li>feat(dpi-preview): add previous version for easier comparison by <a href="https://github.com/jguddas"><code>@jguddas</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3532">lucide-icons/lucide#3532</a></li>
<li>feat(icons): added 'panel-dashed' variants + update tags on existing icons by <a href="https://github.com/irvineacosta"><code>@irvineacosta</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3500">lucide-icons/lucide#3500</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/lucide-icons/lucide/compare/0.540.0...0.541.0">https://github.com/lucide-icons/lucide/compare/0.540.0...0.541.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/lucide-icons/lucide/commits/0.541.0/packages/lucide-react">compare view</a></li>
</ul>
</details>
<br />
Updates `tailwind-variants` from 2.1.0 to 3.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/heroui-inc/tailwind-variants/releases">tailwind-variants's releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<h2>What's new?</h2>
<h3> 🚀 Features</h3>
<ul>
<li>Split tv into original and lite versions - by <a href="https://github.com/tianenpang"><code>@tianenpang</code></a> in <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/264">heroui-inc/tailwind-variants#264</a> <a href="https://github.com/heroui-inc/tailwind-variants/commit/0eb65ba"><!-- raw HTML omitted -->(0eb65)<!-- raw HTML omitted --></a></li>
</ul>
<p>Resolves <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/262">heroui-inc/tailwind-variants#262</a>, resolves <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/259">heroui-inc/tailwind-variants#259</a>, resolves <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/258">heroui-inc/tailwind-variants#258</a>, resolves <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/246">heroui-inc/tailwind-variants#246</a></p>
<h3>Problem with v2</h3>
<p><strong><a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/262">#262</a>, <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/246">#246</a></strong>: slot names that match JS String prototype methods cause <code>cnBase</code> to produce corrupted class output.</p>
<p><strong><a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/259">#259</a></strong>: since <code>cnBase</code> no longer goes through <code>twMerge</code>, template strings aren’t formatted correctly.</p>
<p><strong><a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/258">#258</a></strong>: lazy-loading <code>tailwind-merge</code> prevents some classes from merging on the first render, but after HMR triggers.</p>
<h3>Solution</h3>
<p><strong><a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/258">#258</a></strong>: instead of using lazy-loading, we could split <code>tv</code> into two versions, the lite version no longer imports <code>tailwind-merge</code>, while the original version keeps a static import of <code>tailwind-merge</code>. This avoids the first-render merge issue caused by lazy-loading. An alternative would be making <code>tv</code> async to wait for lazy-loading, but that introduces a larger breaking change and worse dx.</p>
<p><strong><a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/262">#262</a>, <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/246">#246</a>, <a href="https://redirect.github.com/heroui-inc/tailwind-variants/issues/258">#258</a></strong>: <code>cnBase</code> was enhanced to support functionality similar to <code>classnames / clsx</code>, it now properly filters and handles various input types and formats the final result (e.g., removing extra spaces or newlines), which was previously handled by <code>twMerge</code>.</p>
<h3>Technical Details</h3>
<ul>
<li>Extracted <code>tailwind-merge</code> and related config logic into <code>tw-merge.js, state.js</code>, package exports (<code>., ./lite</code>) support tree-shaking during build.</li>
<li>Original and lite versions share the same core code and type declarations.</li>
<li>Moved <code>cnBase</code> to <code>utils</code> and renamed it to <code>cn</code>.</li>
<li>Lite version exports <code>cn / cnBase</code> without any <code>tw-merge</code> logic; original (<code>index</code>) exports retain the original behavior.</li>
<li>Tailwind merge's cache state is now maintained in <code>state.js</code>.</li>
</ul>
<h3>Testing</h3>
<ul>
<li>Covered <code>utils/cn</code> with comprehensive tests.</li>
<li>Used <code>describe.each</code> to run tests for both original and lite versions.</li>
</ul>
<h3>Breaking Changes 🚨</h3>
<p>1 parent f68ee62 commit 18532f5
2 files changed
Lines changed: 78 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments