@nice2dev/icons-life 1.1.10 → 1.2.1

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