@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.
Files changed (70) hide show
  1. package/dist/components/navbar.svelte +78 -0
  2. package/dist/components/navbar.svelte.d.ts +6 -0
  3. package/dist/components/ui/badge/badge.svelte.d.ts +2 -30
  4. package/dist/components/ui/button/button.svelte.d.ts +2 -62
  5. package/dist/components/ui/card/card-description.svelte +1 -1
  6. package/dist/components/ui/card/card-title.svelte +1 -1
  7. package/dist/components/ui/card/card.svelte +1 -1
  8. package/dist/components/ui/input/input.svelte +2 -2
  9. package/dist/components/ui/tooltip/tooltip-content.svelte +1 -1
  10. package/dist/icons/arrow-down-0-1.svelte.d.ts +3 -3
  11. package/dist/icons/arrow-down-1-0.svelte.d.ts +3 -3
  12. package/dist/icons/arrow-up-0-1.svelte.d.ts +3 -3
  13. package/dist/icons/arrow-up-1-0.svelte.d.ts +3 -3
  14. package/dist/icons/book-up-2.svelte.d.ts +3 -3
  15. package/dist/icons/bookmark-check.svelte +26 -2
  16. package/dist/icons/bookmark-minus.svelte +108 -0
  17. package/dist/icons/bookmark-minus.svelte.d.ts +19 -0
  18. package/dist/icons/bookmark-plus.svelte +114 -0
  19. package/dist/icons/bookmark-plus.svelte.d.ts +19 -0
  20. package/dist/icons/bookmark-x.svelte +114 -0
  21. package/dist/icons/{file-warning.svelte.d.ts → bookmark-x.svelte.d.ts} +3 -3
  22. package/dist/icons/bookmark.svelte +81 -0
  23. package/dist/icons/{align-center.svelte.d.ts → bookmark.svelte.d.ts} +3 -3
  24. package/dist/icons/bot.svelte +94 -0
  25. package/dist/icons/{file-check-2.svelte.d.ts → bot.svelte.d.ts} +3 -3
  26. package/dist/icons/calendar-check-2.svelte.d.ts +3 -3
  27. package/dist/icons/clock-1.svelte.d.ts +3 -3
  28. package/dist/icons/clock-10.svelte.d.ts +3 -3
  29. package/dist/icons/clock-11.svelte.d.ts +3 -3
  30. package/dist/icons/clock-12.svelte.d.ts +3 -3
  31. package/dist/icons/clock-2.svelte.d.ts +3 -3
  32. package/dist/icons/clock-3.svelte.d.ts +3 -3
  33. package/dist/icons/clock-4.svelte.d.ts +3 -3
  34. package/dist/icons/clock-5.svelte.d.ts +3 -3
  35. package/dist/icons/clock-6.svelte.d.ts +3 -3
  36. package/dist/icons/clock-7.svelte.d.ts +3 -3
  37. package/dist/icons/clock-8.svelte.d.ts +3 -3
  38. package/dist/icons/clock-9.svelte.d.ts +3 -3
  39. package/dist/icons/dice-1.svelte.d.ts +3 -3
  40. package/dist/icons/dice-2.svelte.d.ts +3 -3
  41. package/dist/icons/dice-3.svelte.d.ts +3 -3
  42. package/dist/icons/dice-4.svelte.d.ts +3 -3
  43. package/dist/icons/dice-5.svelte.d.ts +3 -3
  44. package/dist/icons/dice-6.svelte.d.ts +3 -3
  45. package/dist/icons/disc-3.svelte.d.ts +3 -3
  46. package/dist/icons/{file-check-2.svelte → file-check-corner.svelte} +9 -7
  47. package/dist/icons/file-check-corner.svelte.d.ts +19 -0
  48. package/dist/icons/{file-warning.svelte → file-exclamation-point.svelte} +6 -1
  49. package/dist/icons/file-exclamation-point.svelte.d.ts +19 -0
  50. package/dist/icons/grid-2x2-check.svelte.d.ts +3 -3
  51. package/dist/icons/index.js +73 -17
  52. package/dist/icons/link-2-off.svelte.d.ts +3 -3
  53. package/dist/icons/maximize-2.svelte.d.ts +3 -3
  54. package/dist/icons/minimize-2.svelte.d.ts +3 -3
  55. package/dist/icons/mouse-pointer-2.svelte.d.ts +3 -3
  56. package/dist/icons/move-diagonal-2.svelte.d.ts +3 -3
  57. package/dist/icons/navigation-2-off.svelte.d.ts +3 -3
  58. package/dist/icons/paperclip.svelte +81 -0
  59. package/dist/icons/paperclip.svelte.d.ts +19 -0
  60. package/dist/icons/sliders-horizontal.svelte +185 -0
  61. package/dist/icons/sliders-horizontal.svelte.d.ts +19 -0
  62. package/dist/icons/sliders-vertical.svelte +185 -0
  63. package/dist/icons/sliders-vertical.svelte.d.ts +19 -0
  64. package/dist/icons/{align-center.svelte → text-align-center.svelte} +1 -1
  65. package/dist/icons/text-align-center.svelte.d.ts +19 -0
  66. package/dist/icons/trash-2.svelte.d.ts +3 -3
  67. package/dist/index.d.ts +11 -3
  68. package/dist/index.js +11 -3
  69. package/dist/utils/icons.js +4 -2
  70. package/package.json +20 -9
@@ -0,0 +1,185 @@
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
+ // Group 1 coordinates
21
+ let line1a_y2 = $state(14);
22
+ let line1b_y1 = $state(10);
23
+ let line1c_y1 = $state(14);
24
+ let line1c_y2 = $state(14);
25
+
26
+ // Group 2 coordinates
27
+ let line2a_y2 = $state(12);
28
+ let line2b_y1 = $state(8);
29
+ let line2c_y1 = $state(8);
30
+ let line2c_y2 = $state(8);
31
+
32
+ // Group 3 coordinates
33
+ let line3a_y2 = $state(12);
34
+ let line3b_y1 = $state(16);
35
+ let line3c_y1 = $state(16);
36
+ let line3c_y2 = $state(16);
37
+
38
+ function animateValue(start, end, duration, callback) {
39
+ return new Promise((resolve) => {
40
+ const startTime = performance.now();
41
+ const animate = (currentTime) => {
42
+ const elapsed = currentTime - startTime;
43
+ const progress = Math.min(elapsed / duration, 1);
44
+
45
+ // Spring-like easing: cubic-bezier(0.34, 1.56, 0.64, 1)
46
+ const eased =
47
+ progress < 0.5
48
+ ? 4 * progress * progress * progress
49
+ : 1 - Math.pow(-2 * progress + 2, 3) / 2;
50
+
51
+ const current = start + (end - start) * eased;
52
+ callback(current);
53
+
54
+ if (progress < 1) {
55
+ requestAnimationFrame(animate);
56
+ } else {
57
+ resolve();
58
+ }
59
+ };
60
+ requestAnimationFrame(animate);
61
+ });
62
+ }
63
+
64
+ function handleMouseEnter() {
65
+ isHovered = true;
66
+
67
+ // Animate all values simultaneously
68
+ Promise.all([
69
+ animateValue(14, 10, 400, (val) => {
70
+ line1a_y2 = val;
71
+ }),
72
+ animateValue(10, 5, 400, (val) => {
73
+ line1b_y1 = val;
74
+ }),
75
+ animateValue(14, 9, 400, (val) => {
76
+ line1c_y1 = val;
77
+ line1c_y2 = val;
78
+ }),
79
+ animateValue(12, 18, 400, (val) => {
80
+ line2a_y2 = val;
81
+ }),
82
+ animateValue(8, 13, 400, (val) => {
83
+ line2b_y1 = val;
84
+ }),
85
+ animateValue(8, 14, 400, (val) => {
86
+ line2c_y1 = val;
87
+ line2c_y2 = val;
88
+ }),
89
+ animateValue(12, 4, 400, (val) => {
90
+ line3a_y2 = val;
91
+ }),
92
+ animateValue(16, 8, 400, (val) => {
93
+ line3b_y1 = val;
94
+ }),
95
+ animateValue(16, 8, 400, (val) => {
96
+ line3c_y1 = val;
97
+ line3c_y2 = val;
98
+ })
99
+ ]);
100
+ }
101
+
102
+ function handleMouseLeave() {
103
+ isHovered = false;
104
+
105
+ // Reset all values to normal
106
+ Promise.all([
107
+ animateValue(line1a_y2, 14, 400, (val) => {
108
+ line1a_y2 = val;
109
+ }),
110
+ animateValue(line1b_y1, 10, 400, (val) => {
111
+ line1b_y1 = val;
112
+ }),
113
+ animateValue(line1c_y1, 14, 400, (val) => {
114
+ line1c_y1 = val;
115
+ line1c_y2 = val;
116
+ }),
117
+ animateValue(line2a_y2, 12, 400, (val) => {
118
+ line2a_y2 = val;
119
+ }),
120
+ animateValue(line2b_y1, 8, 400, (val) => {
121
+ line2b_y1 = val;
122
+ }),
123
+ animateValue(line2c_y1, 8, 400, (val) => {
124
+ line2c_y1 = val;
125
+ line2c_y2 = val;
126
+ }),
127
+ animateValue(line3a_y2, 12, 400, (val) => {
128
+ line3a_y2 = val;
129
+ }),
130
+ animateValue(line3b_y1, 16, 400, (val) => {
131
+ line3b_y1 = val;
132
+ }),
133
+ animateValue(line3c_y1, 16, 400, (val) => {
134
+ line3c_y1 = val;
135
+ line3c_y2 = val;
136
+ })
137
+ ]);
138
+ }
139
+ </script>
140
+
141
+ <div
142
+ class={className}
143
+ aria-label="sliders-vertical"
144
+ role="img"
145
+ onmouseenter={handleMouseEnter}
146
+ onmouseleave={handleMouseLeave}
147
+ >
148
+ <svg
149
+ xmlns="http://www.w3.org/2000/svg"
150
+ width={size}
151
+ height={size}
152
+ viewBox="0 0 24 24"
153
+ fill="none"
154
+ stroke={color}
155
+ stroke-width={strokeWidth}
156
+ stroke-linecap="round"
157
+ stroke-linejoin="round"
158
+ class="sliders-icon"
159
+ >
160
+ <!-- Group 1 -->
161
+ <line x1="4" x2="4" y1="21" y2={line1a_y2} />
162
+ <line x1="4" x2="4" y1={line1b_y1} y2="3" />
163
+ <line x1="2" x2="6" y1={line1c_y1} y2={line1c_y2} />
164
+
165
+ <!-- Group 2 -->
166
+ <line x1="12" x2="12" y1="21" y2={line2a_y2} />
167
+ <line x1="12" x2="12" y1={line2b_y1} y2="3" />
168
+ <line x1="10" x2="14" y1={line2c_y1} y2={line2c_y2} />
169
+
170
+ <!-- Group 3 -->
171
+ <line x1="20" x2="20" y1="3" y2={line3a_y2} />
172
+ <line x1="20" x2="20" y1={line3b_y1} y2="21" />
173
+ <line x1="18" x2="22" y1={line3c_y1} y2={line3c_y2} />
174
+ </svg>
175
+ </div>
176
+
177
+ <style>
178
+ div {
179
+ display: inline-block;
180
+ }
181
+
182
+ .sliders-icon {
183
+ overflow: visible;
184
+ }
185
+ </style>
@@ -0,0 +1,19 @@
1
+ export default SlidersVertical;
2
+ type SlidersVertical = {
3
+ $on?(type: string, callback: (e: any) => void): () => void;
4
+ $set?(props: Partial<Props>): void;
5
+ };
6
+ declare const SlidersVertical: 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
+ };
@@ -26,7 +26,7 @@
26
26
  }
27
27
  </script>
28
28
 
29
- <div class={className} aria-label="align-center" role="img" onmouseenter={handleMouseEnter}>
29
+ <div class={className} aria-label="text-align-center" role="img" onmouseenter={handleMouseEnter}>
30
30
  <svg
31
31
  xmlns="http://www.w3.org/2000/svg"
32
32
  width={size}
@@ -0,0 +1,19 @@
1
+ export default TextAlignCenter;
2
+ type TextAlignCenter = {
3
+ $on?(type: string, callback: (e: any) => void): () => void;
4
+ $set?(props: Partial<Props>): void;
5
+ };
6
+ declare const TextAlignCenter: 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
+ };
@@ -1,9 +1,9 @@
1
- export default Trash_2;
2
- type Trash_2 = {
1
+ export default Trash2;
2
+ type Trash2 = {
3
3
  $on?(type: string, callback: (e: any) => void): () => void;
4
4
  $set?(props: Partial<Props>): void;
5
5
  };
6
- declare const Trash_2: import("svelte").Component<{
6
+ declare const Trash2: import("svelte").Component<{
7
7
  color?: string;
8
8
  size?: number;
9
9
  strokeWidth?: number;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@ export { default as Activity } from "./icons/activity.svelte";
2
2
  export { default as AlarmClockCheck } from "./icons/alarm-clock-check.svelte";
3
3
  export { default as AlarmClockOff } from "./icons/alarm-clock-off.svelte";
4
4
  export { default as AlarmClock } from "./icons/alarm-clock.svelte";
5
- export { default as AlignCenter } from "./icons/align-center.svelte";
6
5
  export { default as AlignHorizontalSpaceAround } from "./icons/align-horizontal-space-around.svelte";
7
6
  export { default as AlignVerticalSpaceAround } from "./icons/align-vertical-space-around.svelte";
8
7
  export { default as Anvil } from "./icons/anvil.svelte";
@@ -81,7 +80,12 @@ export { default as BookUser } from "./icons/book-user.svelte";
81
80
  export { default as BookX } from "./icons/book-x.svelte";
82
81
  export { default as Book } from "./icons/book.svelte";
83
82
  export { default as BookmarkCheck } from "./icons/bookmark-check.svelte";
83
+ export { default as BookmarkMinus } from "./icons/bookmark-minus.svelte";
84
+ export { default as BookmarkPlus } from "./icons/bookmark-plus.svelte";
85
+ export { default as BookmarkX } from "./icons/bookmark-x.svelte";
86
+ export { default as Bookmark } from "./icons/bookmark.svelte";
84
87
  export { default as BotOff } from "./icons/bot-off.svelte";
88
+ export { default as Bot } from "./icons/bot.svelte";
85
89
  export { default as Boxes } from "./icons/boxes.svelte";
86
90
  export { default as BrainCog } from "./icons/brain-cog.svelte";
87
91
  export { default as BriefcaseBusiness } from "./icons/briefcase-business.svelte";
@@ -202,10 +206,11 @@ export { default as EyeOff } from "./icons/eye-off.svelte";
202
206
  export { default as FileChartColumnIncreasing } from "./icons/file-chart-column-increasing.svelte";
203
207
  export { default as FileChartColumn } from "./icons/file-chart-column.svelte";
204
208
  export { default as FileChartLine } from "./icons/file-chart-line.svelte";
205
- export { default as FileCheck2 } from "./icons/file-check-2.svelte";
209
+ export { default as FileCheckCorner } from "./icons/file-check-corner.svelte";
206
210
  export { default as FileCheck } from "./icons/file-check.svelte";
207
211
  export { default as FileCog } from "./icons/file-cog.svelte";
208
212
  export { default as FileDown } from "./icons/file-down.svelte";
213
+ export { default as FileExclamationPoint } from "./icons/file-exclamation-point.svelte";
209
214
  export { default as FileMinus } from "./icons/file-minus.svelte";
210
215
  export { default as FilePenLine } from "./icons/file-pen-line.svelte";
211
216
  export { default as FilePen } from "./icons/file-pen.svelte";
@@ -214,7 +219,6 @@ export { default as FileQuestionMark } from "./icons/file-question-mark.svelte";
214
219
  export { default as FileStack } from "./icons/file-stack.svelte";
215
220
  export { default as FileTerminal } from "./icons/file-terminal.svelte";
216
221
  export { default as FileUp } from "./icons/file-up.svelte";
217
- export { default as FileWarning } from "./icons/file-warning.svelte";
218
222
  export { default as FishOff } from "./icons/fish-off.svelte";
219
223
  export { default as FlagOff } from "./icons/flag-off.svelte";
220
224
  export { default as FlashlightOff } from "./icons/flashlight-off.svelte";
@@ -333,6 +337,7 @@ export { default as PanelRightClose } from "./icons/panel-right-close.svelte";
333
337
  export { default as PanelRightOpen } from "./icons/panel-right-open.svelte";
334
338
  export { default as PanelTopClose } from "./icons/panel-top-close.svelte";
335
339
  export { default as PanelTopOpen } from "./icons/panel-top-open.svelte";
340
+ export { default as Paperclip } from "./icons/paperclip.svelte";
336
341
  export { default as PenLine } from "./icons/pen-line.svelte";
337
342
  export { default as PenOff } from "./icons/pen-off.svelte";
338
343
  export { default as Pen } from "./icons/pen.svelte";
@@ -394,6 +399,8 @@ export { default as SignalMedium } from "./icons/signal-medium.svelte";
394
399
  export { default as SignalZero } from "./icons/signal-zero.svelte";
395
400
  export { default as Signal } from "./icons/signal.svelte";
396
401
  export { default as Signature } from "./icons/signature.svelte";
402
+ export { default as SlidersHorizontal } from "./icons/sliders-horizontal.svelte";
403
+ export { default as SlidersVertical } from "./icons/sliders-vertical.svelte";
397
404
  export { default as SmartphoneNfc } from "./icons/smartphone-nfc.svelte";
398
405
  export { default as Snowflake } from "./icons/snowflake.svelte";
399
406
  export { default as Speech } from "./icons/speech.svelte";
@@ -432,6 +439,7 @@ export { default as Sword } from "./icons/sword.svelte";
432
439
  export { default as Tag } from "./icons/tag.svelte";
433
440
  export { default as Telescope } from "./icons/telescope.svelte";
434
441
  export { default as Terminal } from "./icons/terminal.svelte";
442
+ export { default as TextAlignCenter } from "./icons/text-align-center.svelte";
435
443
  export { default as TextCursorInput } from "./icons/text-cursor-input.svelte";
436
444
  export { default as TextCursor } from "./icons/text-cursor.svelte";
437
445
  export { default as TextSearch } from "./icons/text-search.svelte";
package/dist/index.js CHANGED
@@ -2,7 +2,6 @@ export { default as Activity } from './icons/activity.svelte';
2
2
  export { default as AlarmClockCheck } from './icons/alarm-clock-check.svelte';
3
3
  export { default as AlarmClockOff } from './icons/alarm-clock-off.svelte';
4
4
  export { default as AlarmClock } from './icons/alarm-clock.svelte';
5
- export { default as AlignCenter } from './icons/align-center.svelte';
6
5
  export { default as AlignHorizontalSpaceAround } from './icons/align-horizontal-space-around.svelte';
7
6
  export { default as AlignVerticalSpaceAround } from './icons/align-vertical-space-around.svelte';
8
7
  export { default as Anvil } from './icons/anvil.svelte';
@@ -81,7 +80,12 @@ export { default as BookUser } from './icons/book-user.svelte';
81
80
  export { default as BookX } from './icons/book-x.svelte';
82
81
  export { default as Book } from './icons/book.svelte';
83
82
  export { default as BookmarkCheck } from './icons/bookmark-check.svelte';
83
+ export { default as BookmarkMinus } from './icons/bookmark-minus.svelte';
84
+ export { default as BookmarkPlus } from './icons/bookmark-plus.svelte';
85
+ export { default as BookmarkX } from './icons/bookmark-x.svelte';
86
+ export { default as Bookmark } from './icons/bookmark.svelte';
84
87
  export { default as BotOff } from './icons/bot-off.svelte';
88
+ export { default as Bot } from './icons/bot.svelte';
85
89
  export { default as Boxes } from './icons/boxes.svelte';
86
90
  export { default as BrainCog } from './icons/brain-cog.svelte';
87
91
  export { default as BriefcaseBusiness } from './icons/briefcase-business.svelte';
@@ -202,10 +206,11 @@ export { default as EyeOff } from './icons/eye-off.svelte';
202
206
  export { default as FileChartColumnIncreasing } from './icons/file-chart-column-increasing.svelte';
203
207
  export { default as FileChartColumn } from './icons/file-chart-column.svelte';
204
208
  export { default as FileChartLine } from './icons/file-chart-line.svelte';
205
- export { default as FileCheck2 } from './icons/file-check-2.svelte';
209
+ export { default as FileCheckCorner } from './icons/file-check-corner.svelte';
206
210
  export { default as FileCheck } from './icons/file-check.svelte';
207
211
  export { default as FileCog } from './icons/file-cog.svelte';
208
212
  export { default as FileDown } from './icons/file-down.svelte';
213
+ export { default as FileExclamationPoint } from './icons/file-exclamation-point.svelte';
209
214
  export { default as FileMinus } from './icons/file-minus.svelte';
210
215
  export { default as FilePenLine } from './icons/file-pen-line.svelte';
211
216
  export { default as FilePen } from './icons/file-pen.svelte';
@@ -214,7 +219,6 @@ export { default as FileQuestionMark } from './icons/file-question-mark.svelte';
214
219
  export { default as FileStack } from './icons/file-stack.svelte';
215
220
  export { default as FileTerminal } from './icons/file-terminal.svelte';
216
221
  export { default as FileUp } from './icons/file-up.svelte';
217
- export { default as FileWarning } from './icons/file-warning.svelte';
218
222
  export { default as FishOff } from './icons/fish-off.svelte';
219
223
  export { default as FlagOff } from './icons/flag-off.svelte';
220
224
  export { default as FlashlightOff } from './icons/flashlight-off.svelte';
@@ -333,6 +337,7 @@ export { default as PanelRightClose } from './icons/panel-right-close.svelte';
333
337
  export { default as PanelRightOpen } from './icons/panel-right-open.svelte';
334
338
  export { default as PanelTopClose } from './icons/panel-top-close.svelte';
335
339
  export { default as PanelTopOpen } from './icons/panel-top-open.svelte';
340
+ export { default as Paperclip } from './icons/paperclip.svelte';
336
341
  export { default as PenLine } from './icons/pen-line.svelte';
337
342
  export { default as PenOff } from './icons/pen-off.svelte';
338
343
  export { default as Pen } from './icons/pen.svelte';
@@ -394,6 +399,8 @@ export { default as SignalMedium } from './icons/signal-medium.svelte';
394
399
  export { default as SignalZero } from './icons/signal-zero.svelte';
395
400
  export { default as Signal } from './icons/signal.svelte';
396
401
  export { default as Signature } from './icons/signature.svelte';
402
+ export { default as SlidersHorizontal } from './icons/sliders-horizontal.svelte';
403
+ export { default as SlidersVertical } from './icons/sliders-vertical.svelte';
397
404
  export { default as SmartphoneNfc } from './icons/smartphone-nfc.svelte';
398
405
  export { default as Snowflake } from './icons/snowflake.svelte';
399
406
  export { default as Speech } from './icons/speech.svelte';
@@ -432,6 +439,7 @@ export { default as Sword } from './icons/sword.svelte';
432
439
  export { default as Tag } from './icons/tag.svelte';
433
440
  export { default as Telescope } from './icons/telescope.svelte';
434
441
  export { default as Terminal } from './icons/terminal.svelte';
442
+ export { default as TextAlignCenter } from './icons/text-align-center.svelte';
435
443
  export { default as TextCursorInput } from './icons/text-cursor-input.svelte';
436
444
  export { default as TextCursor } from './icons/text-cursor.svelte';
437
445
  export { default as TextSearch } from './icons/text-search.svelte';
@@ -1,3 +1,5 @@
1
+ import iflog from 'iflog';
2
+
1
3
  export let getIconSource = async (iconName) => {
2
4
  try {
3
5
  // Create a map of all icon files at build time
@@ -42,7 +44,7 @@ export let preloadIconSources = async (icons) => {
42
44
  // Wait for all to complete and return the updated icons array
43
45
  return await Promise.all(loadPromises);
44
46
  } catch (error) {
45
- console.error('Failed to preload icon sources:', error);
47
+ iflog.error('Failed to preload icon sources:', error);
46
48
  throw error;
47
49
  }
48
50
  };
@@ -62,7 +64,7 @@ export let downloadIcon = async (icon) => {
62
64
  link.click();
63
65
  URL.revokeObjectURL(url);
64
66
  } catch (error) {
65
- console.error(`Failed to download icon ${icon.name}:`, error);
67
+ iflog.error(`Failed to download icon ${icon.name}:`, error);
66
68
  throw error;
67
69
  }
68
70
  };
package/package.json CHANGED
@@ -1,7 +1,15 @@
1
1
  {
2
2
  "name": "@jis3r/icons",
3
- "version": "1.2.0",
3
+ "version": "1.6.0",
4
4
  "description": "beautifully crafted, moving icons. for svelte.",
5
+ "keywords": [
6
+ "svelte",
7
+ "icons",
8
+ "lucide",
9
+ "animated",
10
+ "beautiful",
11
+ "moving"
12
+ ],
5
13
  "author": "jis3r",
6
14
  "license": "MIT",
7
15
  "scripts": {
@@ -37,10 +45,12 @@
37
45
  }
38
46
  },
39
47
  "devDependencies": {
48
+ "@lucide/svelte": "^0.552.0",
40
49
  "@sveltejs/adapter-auto": "^6.0.1",
41
50
  "@sveltejs/kit": "^2.26.1",
42
51
  "@sveltejs/package": "^2.0.0",
43
52
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
53
+ "@tailwindcss/vite": "^4.1.16",
44
54
  "@types/eslint": "^9.6.0",
45
55
  "autoprefixer": "^10.4.20",
46
56
  "bits-ui": "^1.8.0",
@@ -51,28 +61,29 @@
51
61
  "globals": "^16.0.0",
52
62
  "prettier": "^3.3.2",
53
63
  "prettier-plugin-svelte": "^3.2.6",
54
- "prettier-plugin-tailwindcss": "^0.6.5",
64
+ "prettier-plugin-tailwindcss": "^0.7.1",
55
65
  "publint": "^0.3.10",
56
- "tailwind-merge": "^2.6.0",
57
- "tailwind-variants": "^0.2.1",
58
- "tailwindcss": "^3.4.9",
66
+ "tailwind-merge": "^3.3.1",
67
+ "tailwind-variants": "^3.1.1",
68
+ "tailwindcss": "^4.1.16",
59
69
  "tailwindcss-animate": "^1.0.7",
70
+ "tw-animate-css": "^1.4.0",
60
71
  "typescript": "^5.3.2",
61
72
  "vite": "^6.3.5",
62
73
  "vite-plugin-raw": "^1.0.3",
63
74
  "vitest": "^3.1.1"
64
75
  },
65
76
  "dependencies": {
66
- "@lucide/svelte": "^0.535.0",
67
77
  "@number-flow/svelte": "^0.3.6",
68
78
  "iflog": "^0.3.0",
69
79
  "mode-watcher": "^0.5.1",
70
- "motion": "^12.23.6",
80
+ "motion": "^12.23.24",
71
81
  "posthog-js": "^1.246.0",
72
82
  "shadcn-svelte": "^1.0.6",
73
- "svelte": "^5.0.0"
83
+ "svelte": "^5.0.0",
84
+ "svelte-fast-marquee": "^1.0.2"
74
85
  },
75
86
  "overrides": {
76
87
  "cookie": "0.7.0"
77
88
  }
78
- }
89
+ }