@nice2dev/icons-life 1.2.0 → 1.2.2

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.
@@ -0,0 +1,510 @@
1
+ "use strict";
2
+ const jsxRuntime = require("react/jsx-runtime");
3
+ const createLifeIcon = require("./createLifeIcon-BAJdO67Z.cjs");
4
+ const CalendarIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
5
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6
+ /* @__PURE__ */ jsxRuntime.jsx(
7
+ "rect",
8
+ {
9
+ x: "3",
10
+ y: "4",
11
+ width: "18",
12
+ height: "18",
13
+ rx: "2",
14
+ fill: variant === "outlined" ? "none" : color,
15
+ stroke: color,
16
+ strokeWidth: "2"
17
+ }
18
+ ),
19
+ /* @__PURE__ */ jsxRuntime.jsx(
20
+ "path",
21
+ {
22
+ d: "M16 2v4M8 2v4M3 10h18",
23
+ stroke: accentColor || (variant === "filled" ? "#fff" : color),
24
+ strokeWidth: "2",
25
+ strokeLinecap: "round"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ jsxRuntime.jsx(
29
+ "rect",
30
+ {
31
+ x: "7",
32
+ y: "14",
33
+ width: "3",
34
+ height: "3",
35
+ fill: variant === "filled" ? "#fff" : "none",
36
+ stroke: variant === "filled" ? "#fff" : color,
37
+ strokeWidth: "1"
38
+ }
39
+ )
40
+ ] }),
41
+ { displayName: "CalendarIcon" }
42
+ );
43
+ const ClockIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
44
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
45
+ /* @__PURE__ */ jsxRuntime.jsx(
46
+ "circle",
47
+ {
48
+ cx: "12",
49
+ cy: "12",
50
+ r: "10",
51
+ fill: variant === "outlined" ? "none" : color,
52
+ stroke: color,
53
+ strokeWidth: "2"
54
+ }
55
+ ),
56
+ /* @__PURE__ */ jsxRuntime.jsx(
57
+ "path",
58
+ {
59
+ d: "M12 6v6l4 2",
60
+ stroke: accentColor || (variant === "filled" ? "#fff" : color),
61
+ strokeWidth: "2",
62
+ strokeLinecap: "round",
63
+ strokeLinejoin: "round"
64
+ }
65
+ )
66
+ ] }),
67
+ { displayName: "ClockIcon" }
68
+ );
69
+ const AlarmIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
70
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
71
+ /* @__PURE__ */ jsxRuntime.jsx(
72
+ "circle",
73
+ {
74
+ cx: "12",
75
+ cy: "13",
76
+ r: "8",
77
+ fill: variant === "outlined" ? "none" : color,
78
+ stroke: color,
79
+ strokeWidth: "2"
80
+ }
81
+ ),
82
+ /* @__PURE__ */ jsxRuntime.jsx(
83
+ "path",
84
+ {
85
+ d: "M12 9v4l2 2",
86
+ stroke: accentColor || (variant === "filled" ? "#fff" : color),
87
+ strokeWidth: "2",
88
+ strokeLinecap: "round",
89
+ strokeLinejoin: "round"
90
+ }
91
+ ),
92
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 3L2 6M22 6l-3-3", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
93
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 19l-2 2M18 19l2 2", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
94
+ ] }),
95
+ { displayName: "AlarmIcon" }
96
+ );
97
+ const TimerIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
98
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
99
+ /* @__PURE__ */ jsxRuntime.jsx(
100
+ "circle",
101
+ {
102
+ cx: "12",
103
+ cy: "13",
104
+ r: "9",
105
+ fill: variant === "outlined" ? "none" : color,
106
+ stroke: color,
107
+ strokeWidth: "2"
108
+ }
109
+ ),
110
+ /* @__PURE__ */ jsxRuntime.jsx(
111
+ "path",
112
+ {
113
+ d: "M12 9v4l2.5 2.5",
114
+ stroke: accentColor || (variant === "filled" ? "#fff" : color),
115
+ strokeWidth: "2",
116
+ strokeLinecap: "round",
117
+ strokeLinejoin: "round"
118
+ }
119
+ ),
120
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 2h4", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
121
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2v2", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
122
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 8l1.5-1.5", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
123
+ ] }),
124
+ { displayName: "TimerIcon" }
125
+ );
126
+ const ChecklistIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
127
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
128
+ /* @__PURE__ */ jsxRuntime.jsx(
129
+ "rect",
130
+ {
131
+ x: "3",
132
+ y: "3",
133
+ width: "18",
134
+ height: "18",
135
+ rx: "2",
136
+ fill: variant === "outlined" ? "none" : color,
137
+ stroke: color,
138
+ strokeWidth: "2"
139
+ }
140
+ ),
141
+ /* @__PURE__ */ jsxRuntime.jsx(
142
+ "path",
143
+ {
144
+ d: "M9 7l2 2 4-4",
145
+ stroke: accentColor || (variant === "filled" ? "#22c55e" : "#22c55e"),
146
+ strokeWidth: "2",
147
+ strokeLinecap: "round",
148
+ strokeLinejoin: "round"
149
+ }
150
+ ),
151
+ /* @__PURE__ */ jsxRuntime.jsx(
152
+ "path",
153
+ {
154
+ d: "M9 13l2 2 4-4",
155
+ stroke: accentColor || (variant === "filled" ? "#22c55e" : "#22c55e"),
156
+ strokeWidth: "2",
157
+ strokeLinecap: "round",
158
+ strokeLinejoin: "round"
159
+ }
160
+ )
161
+ ] }),
162
+ { displayName: "ChecklistIcon" }
163
+ );
164
+ const TargetIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
165
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
166
+ /* @__PURE__ */ jsxRuntime.jsx(
167
+ "circle",
168
+ {
169
+ cx: "12",
170
+ cy: "12",
171
+ r: "10",
172
+ fill: variant === "outlined" ? "none" : color,
173
+ stroke: color,
174
+ strokeWidth: "2"
175
+ }
176
+ ),
177
+ /* @__PURE__ */ jsxRuntime.jsx(
178
+ "circle",
179
+ {
180
+ cx: "12",
181
+ cy: "12",
182
+ r: "6",
183
+ fill: variant === "outlined" ? "none" : accentColor || "#fff",
184
+ stroke: variant === "filled" ? "#fff" : color,
185
+ strokeWidth: "2"
186
+ }
187
+ ),
188
+ /* @__PURE__ */ jsxRuntime.jsx(
189
+ "circle",
190
+ {
191
+ cx: "12",
192
+ cy: "12",
193
+ r: "2",
194
+ fill: accentColor || (variant === "filled" ? color : "none"),
195
+ stroke: variant === "filled" ? color : color,
196
+ strokeWidth: "2"
197
+ }
198
+ )
199
+ ] }),
200
+ { displayName: "TargetIcon" }
201
+ );
202
+ const TrophyIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
203
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
204
+ /* @__PURE__ */ jsxRuntime.jsx(
205
+ "path",
206
+ {
207
+ d: "M6 9H3a1 1 0 01-1-1V5h4M18 9h3a1 1 0 001-1V5h-4",
208
+ fill: "none",
209
+ stroke: color,
210
+ strokeWidth: "2",
211
+ strokeLinecap: "round",
212
+ strokeLinejoin: "round"
213
+ }
214
+ ),
215
+ /* @__PURE__ */ jsxRuntime.jsx(
216
+ "path",
217
+ {
218
+ d: "M6 2h12v7a6 6 0 01-12 0V2z",
219
+ fill: variant === "outlined" ? "none" : accentColor || "#fcd34d",
220
+ stroke: color,
221
+ strokeWidth: "2"
222
+ }
223
+ ),
224
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 15v3M8 21h8M8 18h8", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
225
+ ] }),
226
+ { displayName: "TrophyIcon" }
227
+ );
228
+ const FlagIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
229
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
230
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 22V4", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
231
+ /* @__PURE__ */ jsxRuntime.jsx(
232
+ "path",
233
+ {
234
+ d: "M4 15s1-1 4-1 5 2 8 2 4-1 4-1V4s-1 1-4 1-5-2-8-2-4 1-4 1v11z",
235
+ fill: variant === "outlined" ? "none" : accentColor || "#ef4444",
236
+ stroke: color,
237
+ strokeWidth: "2",
238
+ strokeLinejoin: "round"
239
+ }
240
+ )
241
+ ] }),
242
+ { displayName: "FlagIcon" }
243
+ );
244
+ const RocketIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
245
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
246
+ /* @__PURE__ */ jsxRuntime.jsx(
247
+ "path",
248
+ {
249
+ d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 00-2.91-.09z",
250
+ fill: variant === "outlined" ? "none" : accentColor || color,
251
+ stroke: color,
252
+ strokeWidth: "2"
253
+ }
254
+ ),
255
+ /* @__PURE__ */ jsxRuntime.jsx(
256
+ "path",
257
+ {
258
+ d: "M12 15V9M9 12h6",
259
+ stroke: variant === "filled" ? "#fff" : color,
260
+ strokeWidth: "2",
261
+ strokeLinecap: "round"
262
+ }
263
+ ),
264
+ /* @__PURE__ */ jsxRuntime.jsx(
265
+ "path",
266
+ {
267
+ d: "M21.17 3.25a18 18 0 00-4.92 5.3l-3.02 5.09a1 1 0 01-.7.49L7.7 15a1 1 0 01-.97-.35l-2.28-2.74a1 1 0 01.1-1.4l3.75-3.13a1 1 0 01.56-.21l5.35-.59a18 18 0 005.62-3.68",
268
+ fill: variant === "outlined" ? "none" : accentColor || "#f97316",
269
+ stroke: color,
270
+ strokeWidth: "2",
271
+ strokeLinecap: "round",
272
+ strokeLinejoin: "round"
273
+ }
274
+ )
275
+ ] }),
276
+ { displayName: "RocketIcon" }
277
+ );
278
+ const LightbulbIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
279
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
280
+ /* @__PURE__ */ jsxRuntime.jsx(
281
+ "path",
282
+ {
283
+ d: "M12 2a7 7 0 00-4 12.7V17a1 1 0 001 1h6a1 1 0 001-1v-2.3A7 7 0 0012 2z",
284
+ fill: variant === "outlined" ? "none" : accentColor || "#fcd34d",
285
+ stroke: color,
286
+ strokeWidth: "2"
287
+ }
288
+ ),
289
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 21h6M10 17v1M14 17v1", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
290
+ /* @__PURE__ */ jsxRuntime.jsx(
291
+ "path",
292
+ {
293
+ d: "M12 6v2M9 8l1 1M15 8l-1 1",
294
+ stroke: variant === "filled" ? "#000" : color,
295
+ strokeWidth: "1.5",
296
+ strokeLinecap: "round"
297
+ }
298
+ )
299
+ ] }),
300
+ { displayName: "LightbulbIcon" }
301
+ );
302
+ const BookmarkIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
303
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsx(
304
+ "path",
305
+ {
306
+ d: "M19 21l-7-5-7 5V5a2 2 0 012-2h10a2 2 0 012 2v16z",
307
+ fill: variant === "outlined" ? "none" : accentColor || color,
308
+ stroke: color,
309
+ strokeWidth: "2",
310
+ strokeLinecap: "round",
311
+ strokeLinejoin: "round"
312
+ }
313
+ ),
314
+ { displayName: "BookmarkIcon" }
315
+ );
316
+ const ClipboardIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
317
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
318
+ /* @__PURE__ */ jsxRuntime.jsx(
319
+ "path",
320
+ {
321
+ d: "M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2",
322
+ fill: variant === "outlined" ? "none" : color,
323
+ stroke: color,
324
+ strokeWidth: "2"
325
+ }
326
+ ),
327
+ /* @__PURE__ */ jsxRuntime.jsx(
328
+ "rect",
329
+ {
330
+ x: "8",
331
+ y: "2",
332
+ width: "8",
333
+ height: "4",
334
+ rx: "1",
335
+ fill: accentColor || (variant === "filled" ? "#fff" : "none"),
336
+ stroke: variant === "filled" ? "#fff" : color,
337
+ strokeWidth: "2"
338
+ }
339
+ ),
340
+ /* @__PURE__ */ jsxRuntime.jsx(
341
+ "path",
342
+ {
343
+ d: "M8 10h8M8 14h8M8 18h4",
344
+ stroke: variant === "filled" ? "#fff" : color,
345
+ strokeWidth: "1.5",
346
+ strokeLinecap: "round"
347
+ }
348
+ )
349
+ ] }),
350
+ { displayName: "ClipboardIcon" }
351
+ );
352
+ const KanbanIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
353
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
354
+ /* @__PURE__ */ jsxRuntime.jsx(
355
+ "rect",
356
+ {
357
+ x: "2",
358
+ y: "3",
359
+ width: "6",
360
+ height: "18",
361
+ rx: "1",
362
+ fill: variant === "outlined" ? "none" : color,
363
+ stroke: color,
364
+ strokeWidth: "2"
365
+ }
366
+ ),
367
+ /* @__PURE__ */ jsxRuntime.jsx(
368
+ "rect",
369
+ {
370
+ x: "9",
371
+ y: "3",
372
+ width: "6",
373
+ height: "12",
374
+ rx: "1",
375
+ fill: variant === "outlined" ? "none" : accentColor || color,
376
+ stroke: color,
377
+ strokeWidth: "2"
378
+ }
379
+ ),
380
+ /* @__PURE__ */ jsxRuntime.jsx(
381
+ "rect",
382
+ {
383
+ x: "16",
384
+ y: "3",
385
+ width: "6",
386
+ height: "8",
387
+ rx: "1",
388
+ fill: variant === "outlined" ? "none" : color,
389
+ stroke: color,
390
+ strokeWidth: "2"
391
+ }
392
+ )
393
+ ] }),
394
+ { displayName: "KanbanIcon" }
395
+ );
396
+ const GanttIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
397
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
398
+ /* @__PURE__ */ jsxRuntime.jsx(
399
+ "rect",
400
+ {
401
+ x: "3",
402
+ y: "3",
403
+ width: "18",
404
+ height: "3",
405
+ rx: "1",
406
+ fill: variant === "outlined" ? "none" : color,
407
+ stroke: color,
408
+ strokeWidth: "2"
409
+ }
410
+ ),
411
+ /* @__PURE__ */ jsxRuntime.jsx(
412
+ "rect",
413
+ {
414
+ x: "5",
415
+ y: "9",
416
+ width: "12",
417
+ height: "3",
418
+ rx: "1",
419
+ fill: variant === "outlined" ? "none" : accentColor || "#3b82f6",
420
+ stroke: color,
421
+ strokeWidth: "2"
422
+ }
423
+ ),
424
+ /* @__PURE__ */ jsxRuntime.jsx(
425
+ "rect",
426
+ {
427
+ x: "8",
428
+ y: "15",
429
+ width: "8",
430
+ height: "3",
431
+ rx: "1",
432
+ fill: variant === "outlined" ? "none" : accentColor || "#22c55e",
433
+ stroke: color,
434
+ strokeWidth: "2"
435
+ }
436
+ ),
437
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 21h18", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
438
+ ] }),
439
+ { displayName: "GanttIcon" }
440
+ );
441
+ const PomodoroIcon = /* @__PURE__ */ createLifeIcon.createLifeIcon(
442
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
443
+ /* @__PURE__ */ jsxRuntime.jsx(
444
+ "circle",
445
+ {
446
+ cx: "12",
447
+ cy: "13",
448
+ r: "8",
449
+ fill: variant === "outlined" ? "none" : accentColor || "#ef4444",
450
+ stroke: color,
451
+ strokeWidth: "2"
452
+ }
453
+ ),
454
+ /* @__PURE__ */ jsxRuntime.jsx(
455
+ "path",
456
+ {
457
+ d: "M12 9v4l2 1",
458
+ stroke: variant === "filled" ? "#fff" : color,
459
+ strokeWidth: "2",
460
+ strokeLinecap: "round",
461
+ strokeLinejoin: "round"
462
+ }
463
+ ),
464
+ /* @__PURE__ */ jsxRuntime.jsx(
465
+ "path",
466
+ {
467
+ d: "M10 2c0 1 1 2 2 3s2 2 2 3M12 5V2",
468
+ stroke: color || "#22c55e",
469
+ strokeWidth: "2",
470
+ strokeLinecap: "round"
471
+ }
472
+ ),
473
+ /* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "12", cy: "3", rx: "2", ry: "1", fill: color || "#22c55e" })
474
+ ] }),
475
+ { displayName: "PomodoroIcon" }
476
+ );
477
+ const productivity = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
478
+ __proto__: null,
479
+ AlarmIcon,
480
+ BookmarkIcon,
481
+ CalendarIcon,
482
+ ChecklistIcon,
483
+ ClipboardIcon,
484
+ ClockIcon,
485
+ FlagIcon,
486
+ GanttIcon,
487
+ KanbanIcon,
488
+ LightbulbIcon,
489
+ PomodoroIcon,
490
+ RocketIcon,
491
+ TargetIcon,
492
+ TimerIcon,
493
+ TrophyIcon
494
+ }, Symbol.toStringTag, { value: "Module" }));
495
+ exports.AlarmIcon = AlarmIcon;
496
+ exports.BookmarkIcon = BookmarkIcon;
497
+ exports.CalendarIcon = CalendarIcon;
498
+ exports.ChecklistIcon = ChecklistIcon;
499
+ exports.ClipboardIcon = ClipboardIcon;
500
+ exports.ClockIcon = ClockIcon;
501
+ exports.FlagIcon = FlagIcon;
502
+ exports.GanttIcon = GanttIcon;
503
+ exports.KanbanIcon = KanbanIcon;
504
+ exports.LightbulbIcon = LightbulbIcon;
505
+ exports.PomodoroIcon = PomodoroIcon;
506
+ exports.RocketIcon = RocketIcon;
507
+ exports.TargetIcon = TargetIcon;
508
+ exports.TimerIcon = TimerIcon;
509
+ exports.TrophyIcon = TrophyIcon;
510
+ exports.productivity = productivity;