@jis3r/icons 1.2.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/navbar.svelte +78 -0
- package/dist/components/navbar.svelte.d.ts +6 -0
- package/dist/components/ui/badge/badge.svelte.d.ts +2 -30
- package/dist/components/ui/button/button.svelte.d.ts +2 -62
- package/dist/components/ui/card/card-description.svelte +1 -1
- package/dist/components/ui/card/card-title.svelte +1 -1
- package/dist/components/ui/card/card.svelte +1 -1
- package/dist/components/ui/input/input.svelte +2 -2
- package/dist/components/ui/tooltip/tooltip-content.svelte +1 -1
- package/dist/icons/arrow-down-0-1.svelte.d.ts +3 -3
- package/dist/icons/arrow-down-1-0.svelte.d.ts +3 -3
- package/dist/icons/arrow-up-0-1.svelte.d.ts +3 -3
- package/dist/icons/arrow-up-1-0.svelte.d.ts +3 -3
- package/dist/icons/book-up-2.svelte.d.ts +3 -3
- package/dist/icons/bookmark-check.svelte +26 -2
- package/dist/icons/bookmark-minus.svelte +108 -0
- package/dist/icons/bookmark-minus.svelte.d.ts +19 -0
- package/dist/icons/bookmark-plus.svelte +114 -0
- package/dist/icons/bookmark-plus.svelte.d.ts +19 -0
- package/dist/icons/bookmark-x.svelte +114 -0
- package/dist/icons/{file-warning.svelte.d.ts → bookmark-x.svelte.d.ts} +3 -3
- package/dist/icons/bookmark.svelte +81 -0
- package/dist/icons/{align-center.svelte.d.ts → bookmark.svelte.d.ts} +3 -3
- package/dist/icons/bot.svelte +94 -0
- package/dist/icons/{file-check-2.svelte.d.ts → bot.svelte.d.ts} +3 -3
- package/dist/icons/calendar-check-2.svelte.d.ts +3 -3
- package/dist/icons/clock-1.svelte.d.ts +3 -3
- package/dist/icons/clock-10.svelte.d.ts +3 -3
- package/dist/icons/clock-11.svelte.d.ts +3 -3
- package/dist/icons/clock-12.svelte.d.ts +3 -3
- package/dist/icons/clock-2.svelte.d.ts +3 -3
- package/dist/icons/clock-3.svelte.d.ts +3 -3
- package/dist/icons/clock-4.svelte.d.ts +3 -3
- package/dist/icons/clock-5.svelte.d.ts +3 -3
- package/dist/icons/clock-6.svelte.d.ts +3 -3
- package/dist/icons/clock-7.svelte.d.ts +3 -3
- package/dist/icons/clock-8.svelte.d.ts +3 -3
- package/dist/icons/clock-9.svelte.d.ts +3 -3
- package/dist/icons/dice-1.svelte.d.ts +3 -3
- package/dist/icons/dice-2.svelte.d.ts +3 -3
- package/dist/icons/dice-3.svelte.d.ts +3 -3
- package/dist/icons/dice-4.svelte.d.ts +3 -3
- package/dist/icons/dice-5.svelte.d.ts +3 -3
- package/dist/icons/dice-6.svelte.d.ts +3 -3
- package/dist/icons/disc-3.svelte.d.ts +3 -3
- package/dist/icons/{file-check-2.svelte → file-check-corner.svelte} +9 -7
- package/dist/icons/file-check-corner.svelte.d.ts +19 -0
- package/dist/icons/{file-warning.svelte → file-exclamation-point.svelte} +6 -1
- package/dist/icons/file-exclamation-point.svelte.d.ts +19 -0
- package/dist/icons/grid-2x2-check.svelte.d.ts +3 -3
- package/dist/icons/index.js +73 -17
- package/dist/icons/link-2-off.svelte.d.ts +3 -3
- package/dist/icons/maximize-2.svelte.d.ts +3 -3
- package/dist/icons/minimize-2.svelte.d.ts +3 -3
- package/dist/icons/mouse-pointer-2.svelte.d.ts +3 -3
- package/dist/icons/move-diagonal-2.svelte.d.ts +3 -3
- package/dist/icons/navigation-2-off.svelte.d.ts +3 -3
- package/dist/icons/paperclip.svelte +81 -0
- package/dist/icons/paperclip.svelte.d.ts +19 -0
- package/dist/icons/sliders-horizontal.svelte +185 -0
- package/dist/icons/sliders-horizontal.svelte.d.ts +19 -0
- package/dist/icons/sliders-vertical.svelte +185 -0
- package/dist/icons/sliders-vertical.svelte.d.ts +19 -0
- package/dist/icons/{align-center.svelte → text-align-center.svelte} +1 -1
- package/dist/icons/text-align-center.svelte.d.ts +19 -0
- package/dist/icons/trash-2.svelte.d.ts +3 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +11 -3
- package/dist/utils/icons.js +4 -2
- package/package.json +20 -9
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color]
|
|
5
|
+
* @property {number} [size]
|
|
6
|
+
* @property {number} [strokeWidth]
|
|
7
|
+
* @property {boolean} [isHovered]
|
|
8
|
+
* @property {string} [class]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
color = 'currentColor',
|
|
14
|
+
size = 24,
|
|
15
|
+
strokeWidth = 2,
|
|
16
|
+
isHovered = false,
|
|
17
|
+
class: className = ''
|
|
18
|
+
} = $props();
|
|
19
|
+
|
|
20
|
+
function handleMouseEnter() {
|
|
21
|
+
isHovered = true;
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
isHovered = false;
|
|
24
|
+
}, 600);
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<div class={className} aria-label="bookmark-x" role="img" onmouseenter={handleMouseEnter}>
|
|
29
|
+
<svg
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
width={size}
|
|
32
|
+
height={size}
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="none"
|
|
35
|
+
stroke={color}
|
|
36
|
+
stroke-width={strokeWidth}
|
|
37
|
+
stroke-linecap="round"
|
|
38
|
+
stroke-linejoin="round"
|
|
39
|
+
class="bookmark-x-icon"
|
|
40
|
+
class:animate={isHovered}
|
|
41
|
+
>
|
|
42
|
+
<path d="m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z" class="bookmark-path" />
|
|
43
|
+
<path d="m14.5 7.5-5 5" class="diagonal-1" />
|
|
44
|
+
<path d="m9.5 7.5 5 5" class="diagonal-2" />
|
|
45
|
+
</svg>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<style>
|
|
49
|
+
div {
|
|
50
|
+
display: inline-block;
|
|
51
|
+
}
|
|
52
|
+
.bookmark-x-icon {
|
|
53
|
+
overflow: visible;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.bookmark-path {
|
|
57
|
+
transform-origin: center;
|
|
58
|
+
transition: transform 0.3s ease-out;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.diagonal-1,
|
|
62
|
+
.diagonal-2 {
|
|
63
|
+
stroke-dasharray: 8;
|
|
64
|
+
stroke-dashoffset: 0;
|
|
65
|
+
transition: stroke-dashoffset 0.15s ease-out;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.bookmark-x-icon.animate .bookmark-path {
|
|
69
|
+
animation: bookmarkBounce 0.6s ease-out;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.bookmark-x-icon.animate .diagonal-1 {
|
|
73
|
+
opacity: 0;
|
|
74
|
+
animation: lineAnimation 0.3s ease-out forwards;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.bookmark-x-icon.animate .diagonal-2 {
|
|
78
|
+
opacity: 0;
|
|
79
|
+
animation: lineAnimation 0.3s ease-out 0.25s forwards;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@keyframes bookmarkBounce {
|
|
83
|
+
0% {
|
|
84
|
+
transform: scale(1, 1);
|
|
85
|
+
}
|
|
86
|
+
25% {
|
|
87
|
+
transform: scale(0.9, 1.3);
|
|
88
|
+
}
|
|
89
|
+
50% {
|
|
90
|
+
transform: scale(1.1, 0.9);
|
|
91
|
+
}
|
|
92
|
+
75% {
|
|
93
|
+
transform: scale(0.95, 1.05);
|
|
94
|
+
}
|
|
95
|
+
100% {
|
|
96
|
+
transform: scale(1, 1);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@keyframes lineAnimation {
|
|
101
|
+
0% {
|
|
102
|
+
opacity: 0;
|
|
103
|
+
stroke-dashoffset: 8;
|
|
104
|
+
}
|
|
105
|
+
15% {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
stroke-dashoffset: 8;
|
|
108
|
+
}
|
|
109
|
+
100% {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
stroke-dashoffset: 0;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
</style>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default BookmarkX;
|
|
2
|
+
type BookmarkX = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const BookmarkX: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color]
|
|
5
|
+
* @property {number} [size]
|
|
6
|
+
* @property {number} [strokeWidth]
|
|
7
|
+
* @property {boolean} [isHovered]
|
|
8
|
+
* @property {string} [class]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
color = 'currentColor',
|
|
14
|
+
size = 28,
|
|
15
|
+
strokeWidth = 2,
|
|
16
|
+
isHovered = false,
|
|
17
|
+
class: className = ''
|
|
18
|
+
} = $props();
|
|
19
|
+
|
|
20
|
+
function handleMouseEnter() {
|
|
21
|
+
isHovered = true;
|
|
22
|
+
|
|
23
|
+
setTimeout(() => {
|
|
24
|
+
isHovered = false;
|
|
25
|
+
}, 600);
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<div class={className} aria-label="bookmark" role="img" onmouseenter={handleMouseEnter}>
|
|
30
|
+
<svg
|
|
31
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
32
|
+
width={size}
|
|
33
|
+
height={size}
|
|
34
|
+
viewBox="0 0 24 24"
|
|
35
|
+
fill="none"
|
|
36
|
+
stroke={color}
|
|
37
|
+
stroke-width={strokeWidth}
|
|
38
|
+
stroke-linecap="round"
|
|
39
|
+
stroke-linejoin="round"
|
|
40
|
+
class="bookmark-icon"
|
|
41
|
+
class:animate={isHovered}
|
|
42
|
+
>
|
|
43
|
+
<path d="m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z" class="bookmark-path" />
|
|
44
|
+
</svg>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<style>
|
|
48
|
+
div {
|
|
49
|
+
display: inline-block;
|
|
50
|
+
}
|
|
51
|
+
.bookmark-icon {
|
|
52
|
+
overflow: visible;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bookmark-path {
|
|
56
|
+
transform-origin: center;
|
|
57
|
+
transition: transform 0.3s ease-out;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.bookmark-icon.animate .bookmark-path {
|
|
61
|
+
animation: bookmarkBounce 0.6s ease-out;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@keyframes bookmarkBounce {
|
|
65
|
+
0% {
|
|
66
|
+
transform: scale(1, 1);
|
|
67
|
+
}
|
|
68
|
+
25% {
|
|
69
|
+
transform: scale(0.9, 1.3);
|
|
70
|
+
}
|
|
71
|
+
50% {
|
|
72
|
+
transform: scale(1.1, 0.9);
|
|
73
|
+
}
|
|
74
|
+
75% {
|
|
75
|
+
transform: scale(0.95, 1.05);
|
|
76
|
+
}
|
|
77
|
+
100% {
|
|
78
|
+
transform: scale(1, 1);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
</style>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Bookmark;
|
|
2
|
+
type Bookmark = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Bookmark: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color]
|
|
5
|
+
* @property {number} [size]
|
|
6
|
+
* @property {number} [strokeWidth]
|
|
7
|
+
* @property {boolean} [isHovered]
|
|
8
|
+
* @property {string} [class]
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @type {Props} */
|
|
12
|
+
let {
|
|
13
|
+
color = 'currentColor',
|
|
14
|
+
size = 24,
|
|
15
|
+
strokeWidth = 2,
|
|
16
|
+
isHovered = false,
|
|
17
|
+
class: className = ''
|
|
18
|
+
} = $props();
|
|
19
|
+
|
|
20
|
+
let eyeY1 = $state(13);
|
|
21
|
+
let eyeY2 = $state(15);
|
|
22
|
+
|
|
23
|
+
function animateEyes(startY1, startY2, endY1, endY2, duration, delay = 0) {
|
|
24
|
+
return new Promise((resolve) => {
|
|
25
|
+
setTimeout(() => {
|
|
26
|
+
const startTime = performance.now();
|
|
27
|
+
const animate = (currentTime) => {
|
|
28
|
+
const elapsed = currentTime - startTime;
|
|
29
|
+
const progress = Math.min(elapsed / duration, 1);
|
|
30
|
+
|
|
31
|
+
const eased =
|
|
32
|
+
progress < 0.5 ? 2 * progress * progress : 1 - Math.pow(-2 * progress + 2, 2) / 2;
|
|
33
|
+
|
|
34
|
+
eyeY1 = startY1 + (endY1 - startY1) * eased;
|
|
35
|
+
eyeY2 = startY2 + (endY2 - startY2) * eased;
|
|
36
|
+
|
|
37
|
+
if (progress < 1) {
|
|
38
|
+
requestAnimationFrame(animate);
|
|
39
|
+
} else {
|
|
40
|
+
resolve();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
requestAnimationFrame(animate);
|
|
44
|
+
}, delay);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function handleMouseEnter() {
|
|
49
|
+
isHovered = true;
|
|
50
|
+
|
|
51
|
+
animateEyes(13, 15, 14, 14, 250, 200).then(() => {
|
|
52
|
+
animateEyes(14, 14, 13, 15, 250).then(() => {
|
|
53
|
+
isHovered = false;
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<div class={className} aria-label="bot" role="img" onmouseenter={handleMouseEnter}>
|
|
60
|
+
<svg
|
|
61
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
62
|
+
width={size}
|
|
63
|
+
height={size}
|
|
64
|
+
viewBox="0 0 24 24"
|
|
65
|
+
fill="none"
|
|
66
|
+
stroke={color}
|
|
67
|
+
stroke-width={strokeWidth}
|
|
68
|
+
stroke-linecap="round"
|
|
69
|
+
stroke-linejoin="round"
|
|
70
|
+
class="bot-icon"
|
|
71
|
+
class:animate={isHovered}
|
|
72
|
+
>
|
|
73
|
+
<path d="M12 8V4H8" />
|
|
74
|
+
<rect width="16" height="12" x="4" y="8" rx="2" />
|
|
75
|
+
<path d="M2 14h2" />
|
|
76
|
+
<path d="M20 14h2" />
|
|
77
|
+
<line x1="15" y1={eyeY1} x2="15" y2={eyeY2} class="eye-right" />
|
|
78
|
+
<line x1="9" y1={eyeY1} x2="9" y2={eyeY2} class="eye-left" />
|
|
79
|
+
</svg>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<style>
|
|
83
|
+
div {
|
|
84
|
+
display: inline-block;
|
|
85
|
+
}
|
|
86
|
+
.bot-icon {
|
|
87
|
+
overflow: visible;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.eye-left,
|
|
91
|
+
.eye-right {
|
|
92
|
+
transition: none;
|
|
93
|
+
}
|
|
94
|
+
</style>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Bot;
|
|
2
|
+
type Bot = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Bot: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default CalendarCheck2;
|
|
2
|
+
type CalendarCheck2 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const CalendarCheck2: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock1;
|
|
2
|
+
type Clock1 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock1: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock10;
|
|
2
|
+
type Clock10 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock10: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock11;
|
|
2
|
+
type Clock11 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock11: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock12;
|
|
2
|
+
type Clock12 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock12: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock2;
|
|
2
|
+
type Clock2 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock2: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock3;
|
|
2
|
+
type Clock3 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock3: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock4;
|
|
2
|
+
type Clock4 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock4: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock5;
|
|
2
|
+
type Clock5 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock5: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock6;
|
|
2
|
+
type Clock6 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock6: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock7;
|
|
2
|
+
type Clock7 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock7: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock8;
|
|
2
|
+
type Clock8 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock8: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Clock9;
|
|
2
|
+
type Clock9 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Clock9: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Dice1;
|
|
2
|
+
type Dice1 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Dice1: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Dice2;
|
|
2
|
+
type Dice2 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Dice2: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Dice3;
|
|
2
|
+
type Dice3 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Dice3: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Dice4;
|
|
2
|
+
type Dice4 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Dice4: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Dice5;
|
|
2
|
+
type Dice5 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Dice5: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Dice6;
|
|
2
|
+
type Dice6 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Dice6: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default
|
|
2
|
-
type
|
|
1
|
+
export default Disc3;
|
|
2
|
+
type Disc3 = {
|
|
3
3
|
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
4
|
$set?(props: Partial<Props>): void;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const Disc3: import("svelte").Component<{
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
9
|
strokeWidth?: number;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
|
-
<div class={className} aria-label="file-check-
|
|
28
|
+
<div class={className} aria-label="file-check-corner" role="img" onmouseenter={handleMouseEnter}>
|
|
29
29
|
<svg
|
|
30
30
|
xmlns="http://www.w3.org/2000/svg"
|
|
31
31
|
width={size}
|
|
@@ -36,12 +36,14 @@
|
|
|
36
36
|
stroke-width={strokeWidth}
|
|
37
37
|
stroke-linecap="round"
|
|
38
38
|
stroke-linejoin="round"
|
|
39
|
-
class="file-check-
|
|
39
|
+
class="file-check-corner-icon"
|
|
40
40
|
class:animate={isHovered}
|
|
41
41
|
>
|
|
42
|
-
<path
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
<path
|
|
43
|
+
d="M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6"
|
|
44
|
+
/>
|
|
45
|
+
<path d="M14 2v5a1 1 0 0 0 1 1h5" />
|
|
46
|
+
<path d="m14 20 2 2 4-4" class="check-path" />
|
|
45
47
|
</svg>
|
|
46
48
|
</div>
|
|
47
49
|
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
div {
|
|
50
52
|
display: inline-block;
|
|
51
53
|
}
|
|
52
|
-
.file-check-
|
|
54
|
+
.file-check-corner-icon {
|
|
53
55
|
overflow: visible;
|
|
54
56
|
}
|
|
55
57
|
.check-path {
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
stroke-dashoffset 0.125s ease-out,
|
|
60
62
|
opacity 0.125s ease-out;
|
|
61
63
|
}
|
|
62
|
-
.file-check-
|
|
64
|
+
.file-check-corner-icon.animate .check-path {
|
|
63
65
|
animation: checkAnimation 0.5s ease-out backwards;
|
|
64
66
|
}
|
|
65
67
|
@keyframes checkAnimation {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default FileCheckCorner;
|
|
2
|
+
type FileCheckCorner = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const FileCheckCorner: import("svelte").Component<{
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
isHovered?: boolean;
|
|
11
|
+
class?: string;
|
|
12
|
+
}, {}, "">;
|
|
13
|
+
type Props = {
|
|
14
|
+
color?: string;
|
|
15
|
+
size?: number;
|
|
16
|
+
strokeWidth?: number;
|
|
17
|
+
isHovered?: boolean;
|
|
18
|
+
class?: string;
|
|
19
|
+
};
|