-
-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and general improvements in packages (#1773)
* update deps and vitest * dedupe packages * update package.json files * Update to latest vite and vites * Fix build * Update lockfile
- Loading branch information
1 parent
3fe74be
commit faff6a8
Showing
43 changed files
with
3,589 additions
and
5,036 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 89 additions & 3 deletions
92
packages/lucide-preact/tests/__snapshots__/lucide-preact.spec.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,93 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Using lucide icon components > should adjust the size, stroke color and stroke width 1`] = `"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"48\\" height=\\"48\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke=\\"red\\" stroke-width=\\"4\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" class=\\"lucide lucide-grid3x3 \\" data-testid=\\"grid-icon\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"></rect><path d=\\"M3 9h18\\"></path><path d=\\"M3 15h18\\"></path><path d=\\"M9 3v18\\"></path><path d=\\"M15 3v18\\"></path></svg>"`; | ||
exports[`Using lucide icon components > should adjust the size, stroke color and stroke width 1`] = ` | ||
<svg xmlns="http://www.w3.org/2000/svg" | ||
width="48" | ||
height="48" | ||
viewbox="0 0 24 24" | ||
fill="none" | ||
stroke="red" | ||
stroke-width="4" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
class="lucide lucide-grid3x3 " | ||
data-testid="grid-icon" | ||
> | ||
<rect width="18" | ||
height="18" | ||
x="3" | ||
y="3" | ||
rx="2" | ||
> | ||
</rect> | ||
<path d="M3 9h18"> | ||
</path> | ||
<path d="M3 15h18"> | ||
</path> | ||
<path d="M9 3v18"> | ||
</path> | ||
<path d="M15 3v18"> | ||
</path> | ||
</svg> | ||
`; | ||
|
||
exports[`Using lucide icon components > should not scale the strokeWidth when absoluteStrokeWidth is set 1`] = `"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"48\\" height=\\"48\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke=\\"red\\" stroke-width=\\"1\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" class=\\"lucide lucide-grid3x3 \\" data-testid=\\"grid-icon\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"></rect><path d=\\"M3 9h18\\"></path><path d=\\"M3 15h18\\"></path><path d=\\"M9 3v18\\"></path><path d=\\"M15 3v18\\"></path></svg>"`; | ||
exports[`Using lucide icon components > should not scale the strokeWidth when absoluteStrokeWidth is set 1`] = ` | ||
<svg xmlns="http://www.w3.org/2000/svg" | ||
width="48" | ||
height="48" | ||
viewbox="0 0 24 24" | ||
fill="none" | ||
stroke="red" | ||
stroke-width="1" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
class="lucide lucide-grid3x3 " | ||
data-testid="grid-icon" | ||
> | ||
<rect width="18" | ||
height="18" | ||
x="3" | ||
y="3" | ||
rx="2" | ||
> | ||
</rect> | ||
<path d="M3 9h18"> | ||
</path> | ||
<path d="M3 15h18"> | ||
</path> | ||
<path d="M9 3v18"> | ||
</path> | ||
<path d="M15 3v18"> | ||
</path> | ||
</svg> | ||
`; | ||
|
||
exports[`Using lucide icon components > should render an component 1`] = `"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"24\\" height=\\"24\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-width=\\"2\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" class=\\"lucide lucide-grid3x3 \\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"></rect><path d=\\"M3 9h18\\"></path><path d=\\"M3 15h18\\"></path><path d=\\"M9 3v18\\"></path><path d=\\"M15 3v18\\"></path></svg>"`; | ||
exports[`Using lucide icon components > should render an component 1`] = ` | ||
<svg xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewbox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-width="2" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
class="lucide lucide-grid3x3 " | ||
> | ||
<rect width="18" | ||
height="18" | ||
x="3" | ||
y="3" | ||
rx="2" | ||
> | ||
</rect> | ||
<path d="M3 9h18"> | ||
</path> | ||
<path d="M3 15h18"> | ||
</path> | ||
<path d="M9 3v18"> | ||
</path> | ||
<path d="M15 3v18"> | ||
</path> | ||
</svg> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
import { expect } from 'vitest' | ||
import '@testing-library/jest-dom'; | ||
import htmlSerializer from 'jest-serializer-html' | ||
|
||
expect.addSnapshotSerializer(htmlSerializer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.