mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 07:37:42 +01:00
* Lucide svelte (#1) * Update peerDependencies to support Svelte 5 * Bump svelte version * Bump @testing-library/svelte version * Remove alias in vitest.config.ts that causes tests to fail due to deprecated svelte/internal API * Convert to svelte 5 syntax * Bump vite & @sveltejs/vite-plugin-svelte version * Fix error during render when children prop is missing & fix components being mounted on the server during tests * Update test snapshots to reflect the differences in the html generated by svelte 5 * Convert class attribute to new array syntax with built-in clsx * Convert export template to svelte 5 syntax * Move svelte 5 to separate directory * Update snapshots * Update docs * fix(icon): change variable declaration from let to const in Icon.svelte * Lucide svelte (#1) (#2727) * Update peerDependencies to support Svelte 5 * Bump svelte version * Bump @testing-library/svelte version * Remove alias in vitest.config.ts that causes tests to fail due to deprecated svelte/internal API * Convert to svelte 5 syntax * Bump vite & @sveltejs/vite-plugin-svelte version * Fix error during render when children prop is missing & fix components being mounted on the server during tests * Update test snapshots to reflect the differences in the html generated by svelte 5 * Convert class attribute to new array syntax with built-in clsx * Convert export template to svelte 5 syntax * Revert changes in lucide-svelte library * Update package lock * Update test files * Formatting * Update clean command * Fix build * Update packages * update deps * Fix export script * Format code * Revert version number change in package json * Update workflows --------- Co-authored-by: Aurélien Richard <56389380+aurelienrichard@users.noreply.github.com>
48 lines
756 B
Plaintext
48 lines
756 B
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`Using Icon Component > should render icon and match snapshot 1`] = `
|
|
<svg
|
|
class="lucide-icon lucide"
|
|
fill="none"
|
|
height="48"
|
|
stroke="red"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
stroke-width="1"
|
|
viewBox="0 0 24 24"
|
|
width="48"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<!---->
|
|
<path
|
|
d="M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"
|
|
>
|
|
|
|
</path>
|
|
|
|
<!---->
|
|
<path
|
|
d="M6 8h12"
|
|
>
|
|
|
|
</path>
|
|
|
|
<!---->
|
|
<path
|
|
d="M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12"
|
|
>
|
|
|
|
</path>
|
|
|
|
<!---->
|
|
<path
|
|
d="M6.6 15.6A2 2 0 1 0 10 17v-5"
|
|
>
|
|
|
|
</path>
|
|
|
|
<!---->
|
|
<!---->
|
|
</svg>
|
|
`;
|