@nice2dev/icons-life 1.2.0 → 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,531 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { c as createLifeIcon } from "./createLifeIcon-BjwgNM6z.js";
3
+ const HeartIcon = /* @__PURE__ */ createLifeIcon(
4
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ d: "M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z",
8
+ fill: variant === "outlined" ? "none" : accentColor || "#ef4444",
9
+ stroke: color || "#ef4444",
10
+ strokeWidth: "2",
11
+ strokeLinecap: "round",
12
+ strokeLinejoin: "round"
13
+ }
14
+ ),
15
+ { displayName: "HeartIcon" }
16
+ );
17
+ const HeartbeatIcon = /* @__PURE__ */ createLifeIcon(
18
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
19
+ /* @__PURE__ */ jsx(
20
+ "path",
21
+ {
22
+ d: "M19.5 12.572l-7.5 7.428-7.5-7.428A5 5 0 1112 6.006a5 5 0 117.5 6.566z",
23
+ fill: variant === "outlined" ? "none" : accentColor || "#ef4444",
24
+ stroke: color || "#ef4444",
25
+ strokeWidth: "2"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ jsx(
29
+ "path",
30
+ {
31
+ d: "M3 12h4l2-4 4 8 2-4h6",
32
+ fill: "none",
33
+ stroke: variant === "filled" ? "#fff" : color,
34
+ strokeWidth: "2",
35
+ strokeLinecap: "round",
36
+ strokeLinejoin: "round"
37
+ }
38
+ )
39
+ ] }),
40
+ { displayName: "HeartbeatIcon" }
41
+ );
42
+ const StethoscopeIcon = /* @__PURE__ */ createLifeIcon(
43
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
44
+ /* @__PURE__ */ jsx(
45
+ "path",
46
+ {
47
+ d: "M4.8 2.3A.3.3 0 105 2H4a2 2 0 00-2 2v5a6 6 0 006 6v0a6 6 0 006-6V4a2 2 0 00-2-2h-1a.2.2 0 10.3.3",
48
+ fill: "none",
49
+ stroke: color,
50
+ strokeWidth: "2",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round"
53
+ }
54
+ ),
55
+ /* @__PURE__ */ jsx(
56
+ "path",
57
+ {
58
+ d: "M8 15v1a6 6 0 006 6v0a6 6 0 006-6v-4",
59
+ fill: "none",
60
+ stroke: color,
61
+ strokeWidth: "2",
62
+ strokeLinecap: "round"
63
+ }
64
+ ),
65
+ /* @__PURE__ */ jsx(
66
+ "circle",
67
+ {
68
+ cx: "20",
69
+ cy: "10",
70
+ r: "2",
71
+ fill: variant === "outlined" ? "none" : accentColor || color,
72
+ stroke: color,
73
+ strokeWidth: "2"
74
+ }
75
+ )
76
+ ] }),
77
+ { displayName: "StethoscopeIcon" }
78
+ );
79
+ const PillsIcon = /* @__PURE__ */ createLifeIcon(
80
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
81
+ /* @__PURE__ */ jsx(
82
+ "path",
83
+ {
84
+ d: "M10.5 20.5a4.5 4.5 0 01-6.364-6.364l6.364-6.364a4.5 4.5 0 016.364 6.364l-6.364 6.364z",
85
+ fill: variant === "outlined" ? "none" : color,
86
+ stroke: color,
87
+ strokeWidth: "2"
88
+ }
89
+ ),
90
+ /* @__PURE__ */ jsx(
91
+ "path",
92
+ {
93
+ d: "M7.172 14.172l6.364-6.364",
94
+ stroke: variant === "filled" ? "#fff" : accentColor || color,
95
+ strokeWidth: "2"
96
+ }
97
+ ),
98
+ /* @__PURE__ */ jsx(
99
+ "ellipse",
100
+ {
101
+ cx: "18",
102
+ cy: "9",
103
+ rx: "3",
104
+ ry: "5",
105
+ fill: variant === "outlined" ? "none" : accentColor || "#22c55e",
106
+ stroke: color,
107
+ strokeWidth: "2",
108
+ transform: "rotate(30 18 9)"
109
+ }
110
+ )
111
+ ] }),
112
+ { displayName: "PillsIcon" }
113
+ );
114
+ const SyringeIcon = /* @__PURE__ */ createLifeIcon(
115
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
116
+ /* @__PURE__ */ jsx(
117
+ "path",
118
+ {
119
+ d: "M18 2l4 4-4 4",
120
+ fill: "none",
121
+ stroke: color,
122
+ strokeWidth: "2",
123
+ strokeLinecap: "round",
124
+ strokeLinejoin: "round"
125
+ }
126
+ ),
127
+ /* @__PURE__ */ jsx(
128
+ "path",
129
+ {
130
+ d: "M20 4l-7.5 7.5M11.5 11.5l-5 5a2 2 0 00 0 2.83l.17.17a2 2 0 002.83 0l5-5",
131
+ fill: variant === "outlined" ? "none" : color,
132
+ stroke: color,
133
+ strokeWidth: "2",
134
+ strokeLinecap: "round",
135
+ strokeLinejoin: "round"
136
+ }
137
+ ),
138
+ /* @__PURE__ */ jsx("path", { d: "M2 22l4-4", stroke: accentColor || color, strokeWidth: "2", strokeLinecap: "round" }),
139
+ /* @__PURE__ */ jsx(
140
+ "path",
141
+ {
142
+ d: "M9 13l2 2M7 15l2 2",
143
+ stroke: variant === "filled" ? "#fff" : color,
144
+ strokeWidth: "1.5",
145
+ strokeLinecap: "round"
146
+ }
147
+ )
148
+ ] }),
149
+ { displayName: "SyringeIcon" }
150
+ );
151
+ const BandageIcon = /* @__PURE__ */ createLifeIcon(
152
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
153
+ /* @__PURE__ */ jsx(
154
+ "path",
155
+ {
156
+ d: "M18 2a4 4 0 014 4v12a4 4 0 01-4 4H6a4 4 0 01-4-4V6a4 4 0 014-4h12z",
157
+ fill: variant === "outlined" ? "none" : accentColor || "#f5d0c5",
158
+ stroke: color,
159
+ strokeWidth: "2"
160
+ }
161
+ ),
162
+ /* @__PURE__ */ jsx(
163
+ "rect",
164
+ {
165
+ x: "8",
166
+ y: "8",
167
+ width: "8",
168
+ height: "8",
169
+ rx: "1",
170
+ fill: variant === "outlined" ? "none" : color,
171
+ stroke: color,
172
+ strokeWidth: "2"
173
+ }
174
+ ),
175
+ /* @__PURE__ */ jsx("circle", { cx: "10", cy: "10", r: "0.5", fill: variant === "filled" ? "#fff" : color }),
176
+ /* @__PURE__ */ jsx("circle", { cx: "14", cy: "10", r: "0.5", fill: variant === "filled" ? "#fff" : color }),
177
+ /* @__PURE__ */ jsx("circle", { cx: "10", cy: "14", r: "0.5", fill: variant === "filled" ? "#fff" : color }),
178
+ /* @__PURE__ */ jsx("circle", { cx: "14", cy: "14", r: "0.5", fill: variant === "filled" ? "#fff" : color })
179
+ ] }),
180
+ { displayName: "BandageIcon" }
181
+ );
182
+ const HospitalIcon = /* @__PURE__ */ createLifeIcon(
183
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
184
+ /* @__PURE__ */ jsx(
185
+ "rect",
186
+ {
187
+ x: "3",
188
+ y: "3",
189
+ width: "18",
190
+ height: "18",
191
+ rx: "2",
192
+ fill: variant === "outlined" ? "none" : color,
193
+ stroke: color,
194
+ strokeWidth: "2"
195
+ }
196
+ ),
197
+ /* @__PURE__ */ jsx(
198
+ "path",
199
+ {
200
+ d: "M9 12h6M12 9v6",
201
+ stroke: accentColor || (variant === "filled" ? "#fff" : "#ef4444"),
202
+ strokeWidth: "2",
203
+ strokeLinecap: "round"
204
+ }
205
+ )
206
+ ] }),
207
+ { displayName: "HospitalIcon" }
208
+ );
209
+ const AmbulanceIcon = /* @__PURE__ */ createLifeIcon(
210
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
211
+ /* @__PURE__ */ jsx(
212
+ "path",
213
+ {
214
+ d: "M3 13V7a2 2 0 012-2h6v12H3a2 2 0 01-2-2v-2",
215
+ fill: variant === "outlined" ? "none" : color,
216
+ stroke: color,
217
+ strokeWidth: "2"
218
+ }
219
+ ),
220
+ /* @__PURE__ */ jsx(
221
+ "path",
222
+ {
223
+ d: "M11 5h4l4 5v7a1 1 0 01-1 1h-7V5z",
224
+ fill: variant === "outlined" ? "none" : accentColor || color,
225
+ stroke: color,
226
+ strokeWidth: "2"
227
+ }
228
+ ),
229
+ /* @__PURE__ */ jsx(
230
+ "circle",
231
+ {
232
+ cx: "7",
233
+ cy: "18",
234
+ r: "2",
235
+ fill: variant === "outlined" ? "none" : color,
236
+ stroke: color,
237
+ strokeWidth: "2"
238
+ }
239
+ ),
240
+ /* @__PURE__ */ jsx(
241
+ "circle",
242
+ {
243
+ cx: "17",
244
+ cy: "18",
245
+ r: "2",
246
+ fill: variant === "outlined" ? "none" : color,
247
+ stroke: color,
248
+ strokeWidth: "2"
249
+ }
250
+ ),
251
+ /* @__PURE__ */ jsx(
252
+ "path",
253
+ {
254
+ d: "M5 9h4M7 7v4",
255
+ stroke: variant === "filled" ? "#fff" : "#ef4444",
256
+ strokeWidth: "1.5",
257
+ strokeLinecap: "round"
258
+ }
259
+ )
260
+ ] }),
261
+ { displayName: "AmbulanceIcon" }
262
+ );
263
+ const DoctorIcon = /* @__PURE__ */ createLifeIcon(
264
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
265
+ /* @__PURE__ */ jsx(
266
+ "circle",
267
+ {
268
+ cx: "12",
269
+ cy: "7",
270
+ r: "4",
271
+ fill: variant === "outlined" ? "none" : accentColor || "#fde68a",
272
+ stroke: color,
273
+ strokeWidth: "2"
274
+ }
275
+ ),
276
+ /* @__PURE__ */ jsx(
277
+ "path",
278
+ {
279
+ d: "M5 21v-2a7 7 0 0114 0v2",
280
+ fill: variant === "outlined" ? "none" : color,
281
+ stroke: color,
282
+ strokeWidth: "2",
283
+ strokeLinecap: "round"
284
+ }
285
+ ),
286
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "14", r: "1", fill: color }),
287
+ /* @__PURE__ */ jsx("path", { d: "M12 15v3", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
288
+ ] }),
289
+ { displayName: "DoctorIcon" }
290
+ );
291
+ const DnaIcon = /* @__PURE__ */ createLifeIcon(
292
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
293
+ /* @__PURE__ */ jsx(
294
+ "path",
295
+ {
296
+ d: "M2 15c6.667-6 13.333 0 20-6M2 9c6.667 6 13.333 0 20 6",
297
+ fill: "none",
298
+ stroke: color,
299
+ strokeWidth: "2",
300
+ strokeLinecap: "round"
301
+ }
302
+ ),
303
+ /* @__PURE__ */ jsx(
304
+ "path",
305
+ {
306
+ d: "M8 3v18M16 3v18",
307
+ fill: "none",
308
+ stroke: accentColor || color,
309
+ strokeWidth: "2",
310
+ strokeLinecap: "round"
311
+ }
312
+ ),
313
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "5", r: "1", fill: variant === "filled" ? color : "none", stroke: color }),
314
+ /* @__PURE__ */ jsx("circle", { cx: "16", cy: "5", r: "1", fill: variant === "filled" ? color : "none", stroke: color }),
315
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "19", r: "1", fill: variant === "filled" ? color : "none", stroke: color }),
316
+ /* @__PURE__ */ jsx("circle", { cx: "16", cy: "19", r: "1", fill: variant === "filled" ? color : "none", stroke: color })
317
+ ] }),
318
+ { displayName: "DnaIcon" }
319
+ );
320
+ const BrainIcon = /* @__PURE__ */ createLifeIcon(
321
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
322
+ /* @__PURE__ */ jsx(
323
+ "path",
324
+ {
325
+ d: "M9.5 2A4.5 4.5 0 005 6.5c0 .86.24 1.66.66 2.34A5 5 0 003 13.5a5 5 0 003.5 4.77V19a3 3 0 003 3h5a3 3 0 003-3v-.73A5 5 0 0021 13.5a5 5 0 00-2.66-4.66c.42-.68.66-1.48.66-2.34A4.5 4.5 0 0014.5 2a4.5 4.5 0 00-2.5.75A4.5 4.5 0 009.5 2z",
326
+ fill: variant === "outlined" ? "none" : accentColor || "#f9a8d4",
327
+ stroke: color,
328
+ strokeWidth: "2"
329
+ }
330
+ ),
331
+ /* @__PURE__ */ jsx(
332
+ "path",
333
+ {
334
+ d: "M12 2v20M15 6c-1.5 1-3.5 1-5 0M15 10c-1.5 1-3.5 1-5 0M15 14c-1.5 1-3.5 1-5 0",
335
+ fill: "none",
336
+ stroke: color,
337
+ strokeWidth: "1.5",
338
+ strokeLinecap: "round"
339
+ }
340
+ )
341
+ ] }),
342
+ { displayName: "BrainIcon" }
343
+ );
344
+ const LungsIcon = /* @__PURE__ */ createLifeIcon(
345
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
346
+ /* @__PURE__ */ jsx(
347
+ "path",
348
+ {
349
+ d: "M12 3v8M12 11c-4 0-7 3-7 7 0 2 1 3 3 3s3-1 3-3",
350
+ fill: variant === "outlined" ? "none" : accentColor || "#fca5a5",
351
+ stroke: color,
352
+ strokeWidth: "2",
353
+ strokeLinecap: "round",
354
+ strokeLinejoin: "round"
355
+ }
356
+ ),
357
+ /* @__PURE__ */ jsx(
358
+ "path",
359
+ {
360
+ d: "M12 11c4 0 7 3 7 7 0 2-1 3-3 3s-3-1-3-3",
361
+ fill: variant === "outlined" ? "none" : accentColor || "#fca5a5",
362
+ stroke: color,
363
+ strokeWidth: "2",
364
+ strokeLinecap: "round",
365
+ strokeLinejoin: "round"
366
+ }
367
+ ),
368
+ /* @__PURE__ */ jsx("path", { d: "M9 6h6", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
369
+ ] }),
370
+ { displayName: "LungsIcon" }
371
+ );
372
+ const DumbbellIcon = /* @__PURE__ */ createLifeIcon(
373
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
374
+ /* @__PURE__ */ jsx(
375
+ "rect",
376
+ {
377
+ x: "1",
378
+ y: "9",
379
+ width: "4",
380
+ height: "6",
381
+ rx: "1",
382
+ fill: variant === "outlined" ? "none" : accentColor || color,
383
+ stroke: color,
384
+ strokeWidth: "2"
385
+ }
386
+ ),
387
+ /* @__PURE__ */ jsx(
388
+ "rect",
389
+ {
390
+ x: "19",
391
+ y: "9",
392
+ width: "4",
393
+ height: "6",
394
+ rx: "1",
395
+ fill: variant === "outlined" ? "none" : accentColor || color,
396
+ stroke: color,
397
+ strokeWidth: "2"
398
+ }
399
+ ),
400
+ /* @__PURE__ */ jsx(
401
+ "rect",
402
+ {
403
+ x: "5",
404
+ y: "7",
405
+ width: "3",
406
+ height: "10",
407
+ rx: "1",
408
+ fill: variant === "outlined" ? "none" : color,
409
+ stroke: color,
410
+ strokeWidth: "2"
411
+ }
412
+ ),
413
+ /* @__PURE__ */ jsx(
414
+ "rect",
415
+ {
416
+ x: "16",
417
+ y: "7",
418
+ width: "3",
419
+ height: "10",
420
+ rx: "1",
421
+ fill: variant === "outlined" ? "none" : color,
422
+ stroke: color,
423
+ strokeWidth: "2"
424
+ }
425
+ ),
426
+ /* @__PURE__ */ jsx("path", { d: "M8 12h8", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
427
+ ] }),
428
+ { displayName: "DumbbellIcon" }
429
+ );
430
+ const YogaIcon = /* @__PURE__ */ createLifeIcon(
431
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
432
+ /* @__PURE__ */ jsx(
433
+ "circle",
434
+ {
435
+ cx: "12",
436
+ cy: "4",
437
+ r: "2",
438
+ fill: variant === "outlined" ? "none" : accentColor || color,
439
+ stroke: color,
440
+ strokeWidth: "2"
441
+ }
442
+ ),
443
+ /* @__PURE__ */ jsx(
444
+ "path",
445
+ {
446
+ d: "M4 17l4-2 4 3 4-3 4 2",
447
+ fill: "none",
448
+ stroke: color,
449
+ strokeWidth: "2",
450
+ strokeLinecap: "round",
451
+ strokeLinejoin: "round"
452
+ }
453
+ ),
454
+ /* @__PURE__ */ jsx(
455
+ "path",
456
+ {
457
+ d: "M12 7v5M8 15l4-3 4 3M6 12l6-3 6 3",
458
+ fill: "none",
459
+ stroke: color,
460
+ strokeWidth: "2",
461
+ strokeLinecap: "round",
462
+ strokeLinejoin: "round"
463
+ }
464
+ )
465
+ ] }),
466
+ { displayName: "YogaIcon" }
467
+ );
468
+ const RunningIcon = /* @__PURE__ */ createLifeIcon(
469
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
470
+ /* @__PURE__ */ jsx(
471
+ "circle",
472
+ {
473
+ cx: "14",
474
+ cy: "4",
475
+ r: "2",
476
+ fill: variant === "outlined" ? "none" : accentColor || color,
477
+ stroke: color,
478
+ strokeWidth: "2"
479
+ }
480
+ ),
481
+ /* @__PURE__ */ jsx(
482
+ "path",
483
+ {
484
+ d: "M4 17l5-1.5L12 13l3-3 2 2M11 22l3-8 4-1v6",
485
+ fill: "none",
486
+ stroke: color,
487
+ strokeWidth: "2",
488
+ strokeLinecap: "round",
489
+ strokeLinejoin: "round"
490
+ }
491
+ ),
492
+ /* @__PURE__ */ jsx("path", { d: "M6 22l4-5", fill: "none", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
493
+ ] }),
494
+ { displayName: "RunningIcon" }
495
+ );
496
+ const health = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
497
+ __proto__: null,
498
+ AmbulanceIcon,
499
+ BandageIcon,
500
+ BrainIcon,
501
+ DnaIcon,
502
+ DoctorIcon,
503
+ DumbbellIcon,
504
+ HeartIcon,
505
+ HeartbeatIcon,
506
+ HospitalIcon,
507
+ LungsIcon,
508
+ PillsIcon,
509
+ RunningIcon,
510
+ StethoscopeIcon,
511
+ SyringeIcon,
512
+ YogaIcon
513
+ }, Symbol.toStringTag, { value: "Module" }));
514
+ export {
515
+ AmbulanceIcon as A,
516
+ BandageIcon as B,
517
+ DnaIcon as D,
518
+ HeartIcon as H,
519
+ LungsIcon as L,
520
+ PillsIcon as P,
521
+ RunningIcon as R,
522
+ StethoscopeIcon as S,
523
+ YogaIcon as Y,
524
+ BrainIcon as a,
525
+ DoctorIcon as b,
526
+ DumbbellIcon as c,
527
+ HeartbeatIcon as d,
528
+ HospitalIcon as e,
529
+ SyringeIcon as f,
530
+ health as h
531
+ };
package/dist/health.cjs CHANGED
@@ -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 health = require("./health-C45FWWY6.cjs");
5
+ const health = require("./health-DEIAOBcd.cjs");
6
6
  exports.AmbulanceIcon = health.AmbulanceIcon;
7
7
  exports.BandageIcon = health.BandageIcon;
8
8
  exports.BrainIcon = health.BrainIcon;
package/dist/health.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "./createLifeIcon-BjwgNM6z.js";
3
- import { A, B, a, D, b, c, H, d, e, L, P, R, S, f, Y } from "./health-DslCiA58.js";
3
+ import { A, B, a, D, b, c, H, d, e, L, P, R, S, f, Y } from "./health-sU6rbaiQ.js";
4
4
  export {
5
5
  A as AmbulanceIcon,
6
6
  B as BandageIcon,