mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
🧹 Delete unused code
This commit is contained in:
parent
091bf2b543
commit
0a55e4d920
@ -57,7 +57,6 @@
|
|||||||
"eslint-config-prettier": "9.1.0",
|
"eslint-config-prettier": "9.1.0",
|
||||||
"eslint-plugin-svelte": "2.35.1",
|
"eslint-plugin-svelte": "2.35.1",
|
||||||
"mdsvex": "0.11.0",
|
"mdsvex": "0.11.0",
|
||||||
"phosphor-svelte": "1.4.2",
|
|
||||||
"postcss": "8.4.33",
|
"postcss": "8.4.33",
|
||||||
"prettier": "3.2.4",
|
"prettier": "3.2.4",
|
||||||
"prettier-plugin-svelte": "3.1.2",
|
"prettier-plugin-svelte": "3.1.2",
|
||||||
|
@ -82,9 +82,6 @@ devDependencies:
|
|||||||
mdsvex:
|
mdsvex:
|
||||||
specifier: 0.11.0
|
specifier: 0.11.0
|
||||||
version: 0.11.0(svelte@4.2.9)
|
version: 0.11.0(svelte@4.2.9)
|
||||||
phosphor-svelte:
|
|
||||||
specifier: 1.4.2
|
|
||||||
version: 1.4.2(svelte@4.2.9)
|
|
||||||
postcss:
|
postcss:
|
||||||
specifier: 8.4.33
|
specifier: 8.4.33
|
||||||
version: 8.4.33
|
version: 8.4.33
|
||||||
@ -2220,14 +2217,6 @@ packages:
|
|||||||
estree-walker: 3.0.3
|
estree-walker: 3.0.3
|
||||||
is-reference: 3.0.2
|
is-reference: 3.0.2
|
||||||
|
|
||||||
/phosphor-svelte@1.4.2(svelte@4.2.9):
|
|
||||||
resolution: {integrity: sha512-wdHKlZbE5D3ad1dd4K9bqWxpOb6gIwe+/ZeXGI9YpdKqECxqd+g3/NsLYE1+/hjlXixTWhQ7VMVIxTtBRXegCg==}
|
|
||||||
peerDependencies:
|
|
||||||
svelte: '>=3'
|
|
||||||
dependencies:
|
|
||||||
svelte: 4.2.9
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/picocolors@1.0.0:
|
/picocolors@1.0.0:
|
||||||
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
export let searchTerm: string;
|
export let searchTerm: string;
|
||||||
export let placeholder: string = 'Search...';
|
export let placeholder: string = 'Search...';
|
||||||
export let clearSearch: () => void;
|
export let clearSearch: () => void;
|
||||||
import X from 'phosphor-svelte/lib/X';
|
import { X } from 'lucide-svelte';
|
||||||
|
|
||||||
let inputElement;
|
let inputElement;
|
||||||
|
|
||||||
|
@ -11,10 +11,6 @@
|
|||||||
.map((svg) => svg.category)
|
.map((svg) => svg.category)
|
||||||
.filter((category, index, array) => array.indexOf(category) === index);
|
.filter((category, index, array) => array.indexOf(category) === index);
|
||||||
|
|
||||||
// Icons:
|
|
||||||
import Heart from 'phosphor-svelte/lib/Heart';
|
|
||||||
import { ArrowUpRight } from 'lucide-svelte';
|
|
||||||
|
|
||||||
// Toaster:
|
// Toaster:
|
||||||
import { Toaster } from 'svelte-sonner';
|
import { Toaster } from 'svelte-sonner';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user