@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,496 @@
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
+ import { c as createLifeIcon } from "./createLifeIcon-BjwgNM6z.js";
3
+ const WalletIcon = /* @__PURE__ */ createLifeIcon(
4
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
5
+ /* @__PURE__ */ jsx(
6
+ "rect",
7
+ {
8
+ x: "2",
9
+ y: "4",
10
+ width: "20",
11
+ height: "16",
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: "M22 10H18a2 2 0 000 4h4",
22
+ fill: variant === "outlined" ? "none" : accentColor || "#fff",
23
+ stroke: color,
24
+ strokeWidth: "2"
25
+ }
26
+ ),
27
+ /* @__PURE__ */ jsx("circle", { cx: "18", cy: "12", r: "1", fill: variant === "filled" ? color : "currentColor" })
28
+ ] }),
29
+ { displayName: "WalletIcon" }
30
+ );
31
+ const CreditCardIcon = /* @__PURE__ */ createLifeIcon(
32
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
33
+ /* @__PURE__ */ jsx(
34
+ "rect",
35
+ {
36
+ x: "1",
37
+ y: "4",
38
+ width: "22",
39
+ height: "16",
40
+ rx: "2",
41
+ fill: variant === "outlined" ? "none" : color,
42
+ stroke: color,
43
+ strokeWidth: "2"
44
+ }
45
+ ),
46
+ /* @__PURE__ */ jsx(
47
+ "path",
48
+ {
49
+ d: "M1 10h22",
50
+ stroke: accentColor || (variant === "filled" ? "#fff" : color),
51
+ strokeWidth: "2"
52
+ }
53
+ ),
54
+ /* @__PURE__ */ jsx(
55
+ "path",
56
+ {
57
+ d: "M5 14h4M5 17h2",
58
+ stroke: variant === "filled" ? "#fff" : color,
59
+ strokeWidth: "1.5",
60
+ strokeLinecap: "round"
61
+ }
62
+ )
63
+ ] }),
64
+ { displayName: "CreditCardIcon" }
65
+ );
66
+ const BankNoteIcon = /* @__PURE__ */ createLifeIcon(
67
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
68
+ /* @__PURE__ */ jsx(
69
+ "rect",
70
+ {
71
+ x: "2",
72
+ y: "5",
73
+ width: "20",
74
+ height: "14",
75
+ rx: "2",
76
+ fill: variant === "outlined" ? "none" : accentColor || "#86efac",
77
+ stroke: color,
78
+ strokeWidth: "2"
79
+ }
80
+ ),
81
+ /* @__PURE__ */ jsx(
82
+ "circle",
83
+ {
84
+ cx: "12",
85
+ cy: "12",
86
+ r: "3",
87
+ fill: variant === "outlined" ? "none" : color,
88
+ stroke: color,
89
+ strokeWidth: "2"
90
+ }
91
+ ),
92
+ /* @__PURE__ */ jsx(
93
+ "path",
94
+ {
95
+ d: "M2 9h2M20 9h2M2 15h2M20 15h2",
96
+ stroke: color,
97
+ strokeWidth: "1.5",
98
+ strokeLinecap: "round"
99
+ }
100
+ )
101
+ ] }),
102
+ { displayName: "BankNoteIcon" }
103
+ );
104
+ const CoinsIcon = /* @__PURE__ */ createLifeIcon(
105
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
106
+ /* @__PURE__ */ jsx(
107
+ "circle",
108
+ {
109
+ cx: "9",
110
+ cy: "9",
111
+ r: "7",
112
+ fill: variant === "outlined" ? "none" : accentColor || "#fcd34d",
113
+ stroke: color,
114
+ strokeWidth: "2"
115
+ }
116
+ ),
117
+ /* @__PURE__ */ jsx(
118
+ "path",
119
+ {
120
+ d: "M15 15a7 7 0 107-7",
121
+ fill: variant === "outlined" ? "none" : accentColor || "#fbbf24",
122
+ stroke: color,
123
+ strokeWidth: "2"
124
+ }
125
+ ),
126
+ /* @__PURE__ */ jsx("path", { d: "M9 6v6l3 1.5", stroke: color, strokeWidth: "1.5", strokeLinecap: "round" })
127
+ ] }),
128
+ { displayName: "CoinsIcon" }
129
+ );
130
+ const PiggyBankIcon = /* @__PURE__ */ createLifeIcon(
131
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
132
+ /* @__PURE__ */ jsx(
133
+ "path",
134
+ {
135
+ d: "M19 10c.667 0 2-1 2-2s-.667-2-2-2",
136
+ fill: "none",
137
+ stroke: color,
138
+ strokeWidth: "2",
139
+ strokeLinecap: "round"
140
+ }
141
+ ),
142
+ /* @__PURE__ */ jsx(
143
+ "path",
144
+ {
145
+ d: "M4 10c-1 0-2 .5-2 2s1.5 4 3 5v3h3l1-2h4l1 2h3v-3c2-1 3-3 3-5 0-3.5-4-6-8-6H9c-1.5 0-3 .5-4 1.5",
146
+ fill: variant === "outlined" ? "none" : accentColor || "#fda4af",
147
+ stroke: color,
148
+ strokeWidth: "2",
149
+ strokeLinecap: "round",
150
+ strokeLinejoin: "round"
151
+ }
152
+ ),
153
+ /* @__PURE__ */ jsx("circle", { cx: "14", cy: "10", r: "1", fill: color }),
154
+ /* @__PURE__ */ jsx("path", { d: "M7 4l2 3", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
155
+ ] }),
156
+ { displayName: "PiggyBankIcon" }
157
+ );
158
+ const BankIcon = /* @__PURE__ */ createLifeIcon(
159
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
160
+ /* @__PURE__ */ jsx(
161
+ "path",
162
+ {
163
+ d: "M3 21h18M3 10h18M5 6l7-3 7 3",
164
+ fill: "none",
165
+ stroke: color,
166
+ strokeWidth: "2",
167
+ strokeLinecap: "round",
168
+ strokeLinejoin: "round"
169
+ }
170
+ ),
171
+ /* @__PURE__ */ jsx(
172
+ "rect",
173
+ {
174
+ x: "3",
175
+ y: "17",
176
+ width: "18",
177
+ height: "4",
178
+ fill: variant === "outlined" ? "none" : color,
179
+ stroke: color,
180
+ strokeWidth: "2"
181
+ }
182
+ ),
183
+ /* @__PURE__ */ jsx(
184
+ "path",
185
+ {
186
+ d: "M5 10v7M9 10v7M15 10v7M19 10v7",
187
+ stroke: accentColor || color,
188
+ strokeWidth: "2",
189
+ strokeLinecap: "round"
190
+ }
191
+ ),
192
+ /* @__PURE__ */ jsx(
193
+ "path",
194
+ {
195
+ d: "M5 6h14v4H5z",
196
+ fill: variant === "outlined" ? "none" : accentColor || color,
197
+ stroke: color,
198
+ strokeWidth: "2"
199
+ }
200
+ )
201
+ ] }),
202
+ { displayName: "BankIcon" }
203
+ );
204
+ const ChartIcon = /* @__PURE__ */ createLifeIcon(
205
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
206
+ /* @__PURE__ */ jsx(
207
+ "rect",
208
+ {
209
+ x: "3",
210
+ y: "3",
211
+ width: "18",
212
+ height: "18",
213
+ rx: "2",
214
+ fill: variant === "outlined" ? "none" : accentColor || "#e5e7eb",
215
+ stroke: color,
216
+ strokeWidth: "2"
217
+ }
218
+ ),
219
+ /* @__PURE__ */ jsx(
220
+ "path",
221
+ {
222
+ d: "M7 16v-4M11 16V8M15 16v-6M19 16v-2",
223
+ stroke: color,
224
+ strokeWidth: "2",
225
+ strokeLinecap: "round"
226
+ }
227
+ )
228
+ ] }),
229
+ { displayName: "ChartIcon" }
230
+ );
231
+ const TrendingUpIcon = /* @__PURE__ */ createLifeIcon(
232
+ ({ color: _color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
233
+ /* @__PURE__ */ jsx(
234
+ "polyline",
235
+ {
236
+ points: "23,6 13.5,15.5 8.5,10.5 1,18",
237
+ fill: "none",
238
+ stroke: accentColor || "#22c55e",
239
+ strokeWidth: "2",
240
+ strokeLinecap: "round",
241
+ strokeLinejoin: "round"
242
+ }
243
+ ),
244
+ /* @__PURE__ */ jsx(
245
+ "polyline",
246
+ {
247
+ points: "17,6 23,6 23,12",
248
+ fill: variant === "filled" ? accentColor || "#22c55e" : "none",
249
+ stroke: accentColor || "#22c55e",
250
+ strokeWidth: "2",
251
+ strokeLinecap: "round",
252
+ strokeLinejoin: "round"
253
+ }
254
+ )
255
+ ] }),
256
+ { displayName: "TrendingUpIcon" }
257
+ );
258
+ const TrendingDownIcon = /* @__PURE__ */ createLifeIcon(
259
+ ({ color: _color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
260
+ /* @__PURE__ */ jsx(
261
+ "polyline",
262
+ {
263
+ points: "23,18 13.5,8.5 8.5,13.5 1,6",
264
+ fill: "none",
265
+ stroke: accentColor || "#ef4444",
266
+ strokeWidth: "2",
267
+ strokeLinecap: "round",
268
+ strokeLinejoin: "round"
269
+ }
270
+ ),
271
+ /* @__PURE__ */ jsx(
272
+ "polyline",
273
+ {
274
+ points: "17,18 23,18 23,12",
275
+ fill: variant === "filled" ? accentColor || "#ef4444" : "none",
276
+ stroke: accentColor || "#ef4444",
277
+ strokeWidth: "2",
278
+ strokeLinecap: "round",
279
+ strokeLinejoin: "round"
280
+ }
281
+ )
282
+ ] }),
283
+ { displayName: "TrendingDownIcon" }
284
+ );
285
+ const CalculatorIcon = /* @__PURE__ */ createLifeIcon(
286
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
287
+ /* @__PURE__ */ jsx(
288
+ "rect",
289
+ {
290
+ x: "4",
291
+ y: "2",
292
+ width: "16",
293
+ height: "20",
294
+ rx: "2",
295
+ fill: variant === "outlined" ? "none" : color,
296
+ stroke: color,
297
+ strokeWidth: "2"
298
+ }
299
+ ),
300
+ /* @__PURE__ */ jsx(
301
+ "rect",
302
+ {
303
+ x: "6",
304
+ y: "4",
305
+ width: "12",
306
+ height: "4",
307
+ fill: accentColor || (variant === "filled" ? "#fff" : "none"),
308
+ stroke: variant === "filled" ? "#fff" : color,
309
+ strokeWidth: "1"
310
+ }
311
+ ),
312
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "11", r: "1", fill: variant === "filled" ? "#fff" : color }),
313
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "11", r: "1", fill: variant === "filled" ? "#fff" : color }),
314
+ /* @__PURE__ */ jsx("circle", { cx: "16", cy: "11", r: "1", fill: variant === "filled" ? "#fff" : color }),
315
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "15", r: "1", fill: variant === "filled" ? "#fff" : color }),
316
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "15", r: "1", fill: variant === "filled" ? "#fff" : color }),
317
+ /* @__PURE__ */ jsx("circle", { cx: "16", cy: "15", r: "1", fill: variant === "filled" ? "#fff" : color }),
318
+ /* @__PURE__ */ jsx("circle", { cx: "8", cy: "19", r: "1", fill: variant === "filled" ? "#fff" : color }),
319
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "19", r: "1", fill: variant === "filled" ? "#fff" : color }),
320
+ /* @__PURE__ */ jsx("circle", { cx: "16", cy: "19", r: "1", fill: variant === "filled" ? "#fff" : color })
321
+ ] }),
322
+ { displayName: "CalculatorIcon" }
323
+ );
324
+ const ReceiptIcon = /* @__PURE__ */ createLifeIcon(
325
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
326
+ /* @__PURE__ */ jsx(
327
+ "path",
328
+ {
329
+ d: "M4 2v20l3-2 3 2 3-2 3 2 3-2 3 2V2l-3 2-3-2-3 2-3-2-3 2-3-2z",
330
+ fill: variant === "outlined" ? "none" : accentColor || "#fff",
331
+ stroke: color,
332
+ strokeWidth: "2",
333
+ strokeLinejoin: "round"
334
+ }
335
+ ),
336
+ /* @__PURE__ */ jsx("path", { d: "M8 7h8M8 11h6M8 15h4", stroke: color, strokeWidth: "1.5", strokeLinecap: "round" })
337
+ ] }),
338
+ { displayName: "ReceiptIcon" }
339
+ );
340
+ const InvoiceIcon = /* @__PURE__ */ createLifeIcon(
341
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
342
+ /* @__PURE__ */ jsx(
343
+ "path",
344
+ {
345
+ d: "M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z",
346
+ fill: variant === "outlined" ? "none" : accentColor || "#fff",
347
+ stroke: color,
348
+ strokeWidth: "2",
349
+ strokeLinejoin: "round"
350
+ }
351
+ ),
352
+ /* @__PURE__ */ jsx("path", { d: "M14 2v6h6", fill: "none", stroke: color, strokeWidth: "2", strokeLinejoin: "round" }),
353
+ /* @__PURE__ */ jsx("path", { d: "M8 13h8M8 17h5", stroke: color, strokeWidth: "1.5", strokeLinecap: "round" }),
354
+ /* @__PURE__ */ jsx("path", { d: "M16 17h0", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
355
+ ] }),
356
+ { displayName: "InvoiceIcon" }
357
+ );
358
+ const SafeIcon = /* @__PURE__ */ createLifeIcon(
359
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
360
+ /* @__PURE__ */ jsx(
361
+ "rect",
362
+ {
363
+ x: "3",
364
+ y: "3",
365
+ width: "18",
366
+ height: "18",
367
+ rx: "2",
368
+ fill: variant === "outlined" ? "none" : color,
369
+ stroke: color,
370
+ strokeWidth: "2"
371
+ }
372
+ ),
373
+ /* @__PURE__ */ jsx(
374
+ "circle",
375
+ {
376
+ cx: "12",
377
+ cy: "12",
378
+ r: "4",
379
+ fill: accentColor || (variant === "filled" ? "#fff" : "none"),
380
+ stroke: variant === "filled" ? "#fff" : color,
381
+ strokeWidth: "2"
382
+ }
383
+ ),
384
+ /* @__PURE__ */ jsx(
385
+ "path",
386
+ {
387
+ d: "M12 8v2M12 14v2M16 12h-2M10 12H8",
388
+ stroke: variant === "filled" ? "#fff" : color,
389
+ strokeWidth: "1.5",
390
+ strokeLinecap: "round"
391
+ }
392
+ ),
393
+ /* @__PURE__ */ jsx("circle", { cx: "18", cy: "12", r: "1", fill: variant === "filled" ? "#fff" : color })
394
+ ] }),
395
+ { displayName: "SafeIcon" }
396
+ );
397
+ const BitcoinIcon = /* @__PURE__ */ createLifeIcon(
398
+ ({ color, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
399
+ /* @__PURE__ */ jsx(
400
+ "circle",
401
+ {
402
+ cx: "12",
403
+ cy: "12",
404
+ r: "10",
405
+ fill: variant === "outlined" ? "none" : accentColor || "#f7931a",
406
+ stroke: color || "#f7931a",
407
+ strokeWidth: "2"
408
+ }
409
+ ),
410
+ /* @__PURE__ */ jsx(
411
+ "path",
412
+ {
413
+ d: "M9 7h4c1.5 0 2.5 1 2.5 2.5S14.5 12 13 12h-4M9 12h4.5c1.5 0 2.5 1 2.5 2.5s-1 2.5-2.5 2.5H9M10 5v2M14 5v2M10 17v2M14 17v2",
414
+ fill: "none",
415
+ stroke: variant === "filled" ? "#fff" : color,
416
+ strokeWidth: "1.5",
417
+ strokeLinecap: "round"
418
+ }
419
+ )
420
+ ] }),
421
+ { displayName: "BitcoinIcon" }
422
+ );
423
+ const ExchangeIcon = /* @__PURE__ */ createLifeIcon(
424
+ ({ color, accentColor, variant: _variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
425
+ /* @__PURE__ */ jsx(
426
+ "path",
427
+ {
428
+ d: "M16 3l4 4-4 4",
429
+ fill: "none",
430
+ stroke: accentColor || color,
431
+ strokeWidth: "2",
432
+ strokeLinecap: "round",
433
+ strokeLinejoin: "round"
434
+ }
435
+ ),
436
+ /* @__PURE__ */ jsx(
437
+ "path",
438
+ {
439
+ d: "M20 7H4",
440
+ fill: "none",
441
+ stroke: accentColor || color,
442
+ strokeWidth: "2",
443
+ strokeLinecap: "round"
444
+ }
445
+ ),
446
+ /* @__PURE__ */ jsx(
447
+ "path",
448
+ {
449
+ d: "M8 21l-4-4 4-4",
450
+ fill: "none",
451
+ stroke: color,
452
+ strokeWidth: "2",
453
+ strokeLinecap: "round",
454
+ strokeLinejoin: "round"
455
+ }
456
+ ),
457
+ /* @__PURE__ */ jsx("path", { d: "M4 17h16", fill: "none", stroke: color, strokeWidth: "2", strokeLinecap: "round" })
458
+ ] }),
459
+ { displayName: "ExchangeIcon" }
460
+ );
461
+ const finance = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
462
+ __proto__: null,
463
+ BankIcon,
464
+ BankNoteIcon,
465
+ BitcoinIcon,
466
+ CalculatorIcon,
467
+ ChartIcon,
468
+ CoinsIcon,
469
+ CreditCardIcon,
470
+ ExchangeIcon,
471
+ InvoiceIcon,
472
+ PiggyBankIcon,
473
+ ReceiptIcon,
474
+ SafeIcon,
475
+ TrendingDownIcon,
476
+ TrendingUpIcon,
477
+ WalletIcon
478
+ }, Symbol.toStringTag, { value: "Module" }));
479
+ export {
480
+ BankIcon as B,
481
+ CalculatorIcon as C,
482
+ ExchangeIcon as E,
483
+ InvoiceIcon as I,
484
+ PiggyBankIcon as P,
485
+ ReceiptIcon as R,
486
+ SafeIcon as S,
487
+ TrendingDownIcon as T,
488
+ WalletIcon as W,
489
+ BankNoteIcon as a,
490
+ BitcoinIcon as b,
491
+ ChartIcon as c,
492
+ CoinsIcon as d,
493
+ CreditCardIcon as e,
494
+ finance as f,
495
+ TrendingUpIcon as g
496
+ };