@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,540 @@
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
+ import { c as createLifeIcon } from "./createLifeIcon-BjwgNM6z.js";
3
+ const HouseIcon = /* @__PURE__ */ createLifeIcon(
4
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
5
+ /* @__PURE__ */ jsx(
6
+ "path",
7
+ {
8
+ d: "M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2V9z",
9
+ fill: variant === "outlined" ? "none" : color,
10
+ stroke: color,
11
+ strokeWidth: "2",
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round"
14
+ }
15
+ ),
16
+ /* @__PURE__ */ jsx(
17
+ "polyline",
18
+ {
19
+ points: "9,22 9,12 15,12 15,22",
20
+ fill: accentColor || (variant === "filled" ? "#fff" : "none"),
21
+ stroke: variant === "filled" ? "#fff" : color,
22
+ strokeWidth: "2",
23
+ strokeLinecap: "round",
24
+ strokeLinejoin: "round"
25
+ }
26
+ )
27
+ ] }),
28
+ { displayName: "HouseIcon" }
29
+ );
30
+ const BuildingIcon = /* @__PURE__ */ createLifeIcon(
31
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
32
+ /* @__PURE__ */ jsx(
33
+ "rect",
34
+ {
35
+ x: "4",
36
+ y: "2",
37
+ width: "16",
38
+ height: "20",
39
+ fill: variant === "outlined" ? "none" : color,
40
+ stroke: color,
41
+ strokeWidth: "2"
42
+ }
43
+ ),
44
+ /* @__PURE__ */ jsx(
45
+ "path",
46
+ {
47
+ d: "M9 22v-4h6v4",
48
+ fill: accentColor || (variant === "filled" ? "#fff" : "none"),
49
+ stroke: variant === "filled" ? "#fff" : color,
50
+ strokeWidth: "2"
51
+ }
52
+ ),
53
+ /* @__PURE__ */ jsx(
54
+ "rect",
55
+ {
56
+ x: "7",
57
+ y: "5",
58
+ width: "3",
59
+ height: "3",
60
+ fill: variant === "filled" ? "#fff" : "none",
61
+ stroke: variant === "filled" ? "#fff" : color
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(
65
+ "rect",
66
+ {
67
+ x: "14",
68
+ y: "5",
69
+ width: "3",
70
+ height: "3",
71
+ fill: variant === "filled" ? "#fff" : "none",
72
+ stroke: variant === "filled" ? "#fff" : color
73
+ }
74
+ ),
75
+ /* @__PURE__ */ jsx(
76
+ "rect",
77
+ {
78
+ x: "7",
79
+ y: "11",
80
+ width: "3",
81
+ height: "3",
82
+ fill: variant === "filled" ? "#fff" : "none",
83
+ stroke: variant === "filled" ? "#fff" : color
84
+ }
85
+ ),
86
+ /* @__PURE__ */ jsx(
87
+ "rect",
88
+ {
89
+ x: "14",
90
+ y: "11",
91
+ width: "3",
92
+ height: "3",
93
+ fill: variant === "filled" ? "#fff" : "none",
94
+ stroke: variant === "filled" ? "#fff" : color
95
+ }
96
+ )
97
+ ] }),
98
+ { displayName: "BuildingIcon" }
99
+ );
100
+ const DoorIcon = /* @__PURE__ */ createLifeIcon(
101
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
102
+ /* @__PURE__ */ jsx(
103
+ "rect",
104
+ {
105
+ x: "5",
106
+ y: "2",
107
+ width: "14",
108
+ height: "20",
109
+ rx: "1",
110
+ fill: variant === "outlined" ? "none" : accentColor || "#a78bfa",
111
+ stroke: color,
112
+ strokeWidth: "2"
113
+ }
114
+ ),
115
+ /* @__PURE__ */ jsx("circle", { cx: "15", cy: "12", r: "1", fill: color }),
116
+ /* @__PURE__ */ jsx("path", { d: "M5 22h14", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
117
+ ] }),
118
+ { displayName: "DoorIcon" }
119
+ );
120
+ const KeyIcon = /* @__PURE__ */ createLifeIcon(
121
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
122
+ /* @__PURE__ */ jsx(
123
+ "circle",
124
+ {
125
+ cx: "7.5",
126
+ cy: "7.5",
127
+ r: "5",
128
+ fill: variant === "outlined" ? "none" : accentColor || "#fcd34d",
129
+ stroke: color,
130
+ strokeWidth: "2"
131
+ }
132
+ ),
133
+ /* @__PURE__ */ jsx(
134
+ "path",
135
+ {
136
+ d: "M11.5 11.5L22 22M19 19l3-3-3-3M16 16l-3 3",
137
+ fill: "none",
138
+ stroke: color,
139
+ strokeWidth: "2",
140
+ strokeLinecap: "round",
141
+ strokeLinejoin: "round"
142
+ }
143
+ )
144
+ ] }),
145
+ { displayName: "KeyIcon" }
146
+ );
147
+ const BedIcon = /* @__PURE__ */ createLifeIcon(
148
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
149
+ /* @__PURE__ */ jsx("path", { d: "M2 4v16M22 4v16", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
150
+ /* @__PURE__ */ jsx(
151
+ "path",
152
+ {
153
+ d: "M2 16h20V10a2 2 0 00-2-2H4a2 2 0 00-2 2v6z",
154
+ fill: variant === "outlined" ? "none" : color,
155
+ stroke: color,
156
+ strokeWidth: "2"
157
+ }
158
+ ),
159
+ /* @__PURE__ */ jsx("path", { d: "M2 10V8a2 2 0 012-2h16a2 2 0 012 2v2", fill: "none", stroke: color, strokeWidth: "2" }),
160
+ /* @__PURE__ */ jsx(
161
+ "ellipse",
162
+ {
163
+ cx: "7",
164
+ cy: "10",
165
+ rx: "2",
166
+ ry: "1.5",
167
+ fill: accentColor || (variant === "filled" ? "#fff" : "none"),
168
+ stroke: variant === "filled" ? "#fff" : color
169
+ }
170
+ )
171
+ ] }),
172
+ { displayName: "BedIcon" }
173
+ );
174
+ const SofaIcon = /* @__PURE__ */ createLifeIcon(
175
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
176
+ /* @__PURE__ */ jsx(
177
+ "path",
178
+ {
179
+ d: "M4 11V7a3 3 0 013-3h10a3 3 0 013 3v4",
180
+ fill: variant === "outlined" ? "none" : accentColor || color,
181
+ stroke: color,
182
+ strokeWidth: "2"
183
+ }
184
+ ),
185
+ /* @__PURE__ */ jsx(
186
+ "path",
187
+ {
188
+ d: "M2 11v6a2 2 0 002 2h16a2 2 0 002-2v-6a2 2 0 00-2-2H4a2 2 0 00-2 2z",
189
+ fill: variant === "outlined" ? "none" : color,
190
+ stroke: color,
191
+ strokeWidth: "2"
192
+ }
193
+ ),
194
+ /* @__PURE__ */ jsx("path", { d: "M4 19v2M20 19v2M8 15h8", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
195
+ ] }),
196
+ { displayName: "SofaIcon" }
197
+ );
198
+ const LampIcon = /* @__PURE__ */ createLifeIcon(
199
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
200
+ /* @__PURE__ */ jsx(
201
+ "path",
202
+ {
203
+ d: "M9 2h6l-1 8H10L9 2z",
204
+ fill: variant === "outlined" ? "none" : accentColor || "#fcd34d",
205
+ stroke: color,
206
+ strokeWidth: "2",
207
+ strokeLinejoin: "round"
208
+ }
209
+ ),
210
+ /* @__PURE__ */ jsx("path", { d: "M12 10v8M8 22h8", stroke: color, strokeWidth: "2", strokeLinecap: "round" }),
211
+ /* @__PURE__ */ jsx(
212
+ "ellipse",
213
+ {
214
+ cx: "12",
215
+ cy: "18",
216
+ rx: "3",
217
+ ry: "1",
218
+ fill: variant === "outlined" ? "none" : color,
219
+ stroke: color,
220
+ strokeWidth: "2"
221
+ }
222
+ )
223
+ ] }),
224
+ { displayName: "LampIcon" }
225
+ );
226
+ const KitchenIcon = /* @__PURE__ */ createLifeIcon(
227
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
228
+ /* @__PURE__ */ jsx(
229
+ "rect",
230
+ {
231
+ x: "3",
232
+ y: "10",
233
+ width: "18",
234
+ height: "12",
235
+ rx: "1",
236
+ fill: variant === "outlined" ? "none" : color,
237
+ stroke: color,
238
+ strokeWidth: "2"
239
+ }
240
+ ),
241
+ /* @__PURE__ */ jsx("path", { d: "M3 14h18", stroke: variant === "filled" ? "#fff" : color, strokeWidth: "2" }),
242
+ /* @__PURE__ */ jsx(
243
+ "path",
244
+ {
245
+ d: "M7 2h2v2a2 2 0 01-2 2 2 2 0 01-2-2V4h2zM12 2h2v2a2 2 0 01-2 2 2 2 0 01-2-2V4h2zM17 2h2v2a2 2 0 01-2 2 2 2 0 01-2-2V4h2z",
246
+ fill: "none",
247
+ stroke: accentColor || color,
248
+ strokeWidth: "1.5",
249
+ strokeLinecap: "round"
250
+ }
251
+ ),
252
+ /* @__PURE__ */ jsx(
253
+ "rect",
254
+ {
255
+ x: "6",
256
+ y: "17",
257
+ width: "5",
258
+ height: "4",
259
+ fill: variant === "filled" ? "#fff" : "none",
260
+ stroke: variant === "filled" ? "#fff" : color,
261
+ strokeWidth: "1.5"
262
+ }
263
+ )
264
+ ] }),
265
+ { displayName: "KitchenIcon" }
266
+ );
267
+ const BathtubIcon = /* @__PURE__ */ createLifeIcon(
268
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
269
+ /* @__PURE__ */ jsx(
270
+ "path",
271
+ {
272
+ d: "M2 13h20v4a4 4 0 01-4 4H6a4 4 0 01-4-4v-4z",
273
+ fill: variant === "outlined" ? "none" : accentColor || "#93c5fd",
274
+ stroke: color,
275
+ strokeWidth: "2"
276
+ }
277
+ ),
278
+ /* @__PURE__ */ jsx(
279
+ "path",
280
+ {
281
+ d: "M6 13V5a2 2 0 012-2 2 2 0 012 2v1",
282
+ fill: "none",
283
+ stroke: color,
284
+ strokeWidth: "2",
285
+ strokeLinecap: "round"
286
+ }
287
+ ),
288
+ /* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "1", fill: color }),
289
+ /* @__PURE__ */ jsx("path", { d: "M6 21v1M18 21v1", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
290
+ ] }),
291
+ { displayName: "BathtubIcon" }
292
+ );
293
+ const GarageIcon = /* @__PURE__ */ createLifeIcon(
294
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
295
+ /* @__PURE__ */ jsx(
296
+ "path",
297
+ {
298
+ d: "M3 10l9-7 9 7",
299
+ fill: "none",
300
+ stroke: color,
301
+ strokeWidth: "2",
302
+ strokeLinecap: "round",
303
+ strokeLinejoin: "round"
304
+ }
305
+ ),
306
+ /* @__PURE__ */ jsx(
307
+ "rect",
308
+ {
309
+ x: "4",
310
+ y: "10",
311
+ width: "16",
312
+ height: "12",
313
+ fill: variant === "outlined" ? "none" : color,
314
+ stroke: color,
315
+ strokeWidth: "2"
316
+ }
317
+ ),
318
+ /* @__PURE__ */ jsx(
319
+ "path",
320
+ {
321
+ d: "M6 14h12M6 17h12M6 20h12",
322
+ stroke: accentColor || (variant === "filled" ? "#fff" : color),
323
+ strokeWidth: "2",
324
+ strokeLinecap: "round"
325
+ }
326
+ )
327
+ ] }),
328
+ { displayName: "GarageIcon" }
329
+ );
330
+ const GardenIcon = /* @__PURE__ */ createLifeIcon(
331
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
332
+ /* @__PURE__ */ jsx("path", { d: "M12 22V8", stroke: accentColor || "#22c55e", strokeWidth: "2", strokeLinecap: "round" }),
333
+ /* @__PURE__ */ jsx(
334
+ "path",
335
+ {
336
+ d: "M4 11c0-3 3-5 8-5s8 2 8 5c0 4-4 2-8 2s-8 2-8-2z",
337
+ fill: variant === "outlined" ? "none" : accentColor || "#86efac",
338
+ stroke: color,
339
+ strokeWidth: "2"
340
+ }
341
+ ),
342
+ /* @__PURE__ */ jsx(
343
+ "path",
344
+ {
345
+ d: "M8 2c0 3 2 5 4 6M16 2c0 3-2 5-4 6",
346
+ fill: "none",
347
+ stroke: accentColor || "#22c55e",
348
+ strokeWidth: "2",
349
+ strokeLinecap: "round"
350
+ }
351
+ ),
352
+ /* @__PURE__ */ jsx(
353
+ "ellipse",
354
+ {
355
+ cx: "12",
356
+ cy: "21",
357
+ rx: "4",
358
+ ry: "1",
359
+ fill: variant === "outlined" ? "none" : "#92400e",
360
+ stroke: color,
361
+ strokeWidth: "1"
362
+ }
363
+ )
364
+ ] }),
365
+ { displayName: "GardenIcon" }
366
+ );
367
+ const FenceIcon = /* @__PURE__ */ createLifeIcon(
368
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
369
+ /* @__PURE__ */ jsx(
370
+ "path",
371
+ {
372
+ d: "M4 6l2-4 2 4M10 6l2-4 2 4M16 6l2-4 2 4",
373
+ fill: variant === "outlined" ? "none" : accentColor || color,
374
+ stroke: color,
375
+ strokeWidth: "2",
376
+ strokeLinejoin: "round"
377
+ }
378
+ ),
379
+ /* @__PURE__ */ jsx("path", { d: "M4 6v14M10 6v14M16 6v14M22 6v14", stroke: color, strokeWidth: "2" }),
380
+ /* @__PURE__ */ jsx("path", { d: "M4 10h18M4 16h18", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
381
+ ] }),
382
+ { displayName: "FenceIcon" }
383
+ );
384
+ const AirConditionerIcon = /* @__PURE__ */ createLifeIcon(
385
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
386
+ /* @__PURE__ */ jsx(
387
+ "rect",
388
+ {
389
+ x: "2",
390
+ y: "4",
391
+ width: "20",
392
+ height: "10",
393
+ rx: "2",
394
+ fill: variant === "outlined" ? "none" : color,
395
+ stroke: color,
396
+ strokeWidth: "2"
397
+ }
398
+ ),
399
+ /* @__PURE__ */ jsx(
400
+ "path",
401
+ {
402
+ d: "M5 8h14M5 11h14",
403
+ stroke: variant === "filled" ? "#fff" : accentColor || color,
404
+ strokeWidth: "1.5",
405
+ strokeLinecap: "round"
406
+ }
407
+ ),
408
+ /* @__PURE__ */ jsx(
409
+ "path",
410
+ {
411
+ d: "M6 17c0 1 1 3 1 3M12 17c0 1.5 0 3 0 3M18 17c0 1-1 3-1 3",
412
+ stroke: accentColor || "#93c5fd",
413
+ strokeWidth: "2",
414
+ strokeLinecap: "round"
415
+ }
416
+ )
417
+ ] }),
418
+ { displayName: "AirConditionerIcon" }
419
+ );
420
+ const HeaterIcon = /* @__PURE__ */ createLifeIcon(
421
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
422
+ /* @__PURE__ */ jsx(
423
+ "rect",
424
+ {
425
+ x: "4",
426
+ y: "6",
427
+ width: "16",
428
+ height: "16",
429
+ rx: "2",
430
+ fill: variant === "outlined" ? "none" : color,
431
+ stroke: color,
432
+ strokeWidth: "2"
433
+ }
434
+ ),
435
+ /* @__PURE__ */ jsx(
436
+ "path",
437
+ {
438
+ d: "M8 10v8M12 10v8M16 10v8",
439
+ stroke: variant === "filled" ? "#fff" : accentColor || color,
440
+ strokeWidth: "2",
441
+ strokeLinecap: "round"
442
+ }
443
+ ),
444
+ /* @__PURE__ */ jsx(
445
+ "path",
446
+ {
447
+ d: "M7 2c.5 1 1 2 .5 3M12 2c.5 1 1 2 .5 3M17 2c.5 1 1 2 .5 3",
448
+ stroke: accentColor || "#f97316",
449
+ strokeWidth: "1.5",
450
+ strokeLinecap: "round"
451
+ }
452
+ )
453
+ ] }),
454
+ { displayName: "HeaterIcon" }
455
+ );
456
+ const WifiIcon = /* @__PURE__ */ createLifeIcon(
457
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
458
+ /* @__PURE__ */ jsx(
459
+ "path",
460
+ {
461
+ d: "M5 12.55a11 11 0 0114 0",
462
+ fill: "none",
463
+ stroke: color,
464
+ strokeWidth: "2",
465
+ strokeLinecap: "round",
466
+ strokeLinejoin: "round"
467
+ }
468
+ ),
469
+ /* @__PURE__ */ jsx(
470
+ "path",
471
+ {
472
+ d: "M8.53 16.11a6 6 0 016.95 0",
473
+ fill: "none",
474
+ stroke: accentColor || color,
475
+ strokeWidth: "2",
476
+ strokeLinecap: "round",
477
+ strokeLinejoin: "round"
478
+ }
479
+ ),
480
+ /* @__PURE__ */ jsx(
481
+ "path",
482
+ {
483
+ d: "M2 8.82a15 15 0 0120 0",
484
+ fill: "none",
485
+ stroke: color,
486
+ strokeWidth: "2",
487
+ strokeLinecap: "round",
488
+ strokeLinejoin: "round"
489
+ }
490
+ ),
491
+ /* @__PURE__ */ jsx(
492
+ "circle",
493
+ {
494
+ cx: "12",
495
+ cy: "20",
496
+ r: "1",
497
+ fill: variant === "filled" ? color : "none",
498
+ stroke: color,
499
+ strokeWidth: "2"
500
+ }
501
+ )
502
+ ] }),
503
+ { displayName: "WifiIcon" }
504
+ );
505
+ const home = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
506
+ __proto__: null,
507
+ AirConditionerIcon,
508
+ BathtubIcon,
509
+ BedIcon,
510
+ BuildingIcon,
511
+ DoorIcon,
512
+ FenceIcon,
513
+ GarageIcon,
514
+ GardenIcon,
515
+ HeaterIcon,
516
+ HouseIcon,
517
+ KeyIcon,
518
+ KitchenIcon,
519
+ LampIcon,
520
+ SofaIcon,
521
+ WifiIcon
522
+ }, Symbol.toStringTag, { value: "Module" }));
523
+ export {
524
+ AirConditionerIcon as A,
525
+ BathtubIcon as B,
526
+ DoorIcon as D,
527
+ FenceIcon as F,
528
+ GarageIcon as G,
529
+ HeaterIcon as H,
530
+ KeyIcon as K,
531
+ LampIcon as L,
532
+ SofaIcon as S,
533
+ WifiIcon as W,
534
+ BedIcon as a,
535
+ BuildingIcon as b,
536
+ GardenIcon as c,
537
+ HouseIcon as d,
538
+ KitchenIcon as e,
539
+ home as h
540
+ };