@nice2dev/icons 1.4.2 → 1.4.3
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.
- package/CHANGELOG.md +53 -0
- package/dist/cjs/NiceIconStacker.js +36 -2
- package/dist/cjs/createIcon.js +25 -6
- package/dist/cjs/iconParts.js +33 -12
- package/dist/cjs/iconValue.js +6 -1
- package/dist/cjs/icons/actions.js +86 -122
- package/dist/cjs/icons/ai.js +0 -178
- package/dist/cjs/icons/business.js +172 -120
- package/dist/cjs/icons/ecommerce.js +18 -74
- package/dist/cjs/icons/education.js +235 -487
- package/dist/cjs/icons/files.js +193 -461
- package/dist/cjs/icons/fintech.js +38 -74
- package/dist/cjs/icons/food.js +117 -194
- package/dist/cjs/icons/fun.js +176 -57
- package/dist/cjs/icons/gaming.js +2 -2
- package/dist/cjs/icons/health.js +1 -1
- package/dist/cjs/icons/index.js +32 -10
- package/dist/cjs/icons/legal.js +1 -109
- package/dist/cjs/icons/media.js +67 -8
- package/dist/cjs/icons/navigation.js +4 -4
- package/dist/cjs/icons/omniverk.js +14 -6
- package/dist/cjs/icons/realestate.js +99 -98
- package/dist/cjs/icons/roman.js +111 -0
- package/dist/cjs/icons/science.js +74 -165
- package/dist/cjs/icons/shapes.js +58 -39
- package/dist/cjs/icons/smarthome.js +18 -16
- package/dist/cjs/icons/social.js +22 -20
- package/dist/cjs/icons/sports.js +89 -159
- package/dist/cjs/icons/sustainability.js +26 -48
- package/dist/cjs/icons/travel.js +209 -477
- package/dist/cjs/icons/ui.js +140 -240
- package/dist/cjs/icons/weather.js +30 -56
- package/dist/cjs/index.js +67 -43
- package/dist/cjs/stackedIcon.js +19 -0
- package/dist/cjs/stacking.js +104 -2
- package/dist/esm/NiceIconStacker.js +37 -3
- package/dist/esm/createIcon.js +27 -8
- package/dist/esm/iconParts.js +33 -12
- package/dist/esm/iconValue.js +6 -1
- package/dist/esm/icons/actions.js +86 -122
- package/dist/esm/icons/ai.js +0 -178
- package/dist/esm/icons/business.js +172 -120
- package/dist/esm/icons/ecommerce.js +18 -74
- package/dist/esm/icons/education.js +236 -488
- package/dist/esm/icons/files.js +193 -461
- package/dist/esm/icons/fintech.js +38 -74
- package/dist/esm/icons/food.js +118 -195
- package/dist/esm/icons/fun.js +179 -60
- package/dist/esm/icons/gaming.js +2 -2
- package/dist/esm/icons/health.js +1 -1
- package/dist/esm/icons/index.js +43 -21
- package/dist/esm/icons/legal.js +1 -109
- package/dist/esm/icons/media.js +67 -8
- package/dist/esm/icons/navigation.js +4 -4
- package/dist/esm/icons/omniverk.js +15 -7
- package/dist/esm/icons/realestate.js +100 -99
- package/dist/esm/icons/roman.js +111 -0
- package/dist/esm/icons/science.js +74 -165
- package/dist/esm/icons/shapes.js +58 -39
- package/dist/esm/icons/smarthome.js +18 -16
- package/dist/esm/icons/social.js +22 -20
- package/dist/esm/icons/sports.js +89 -159
- package/dist/esm/icons/sustainability.js +26 -48
- package/dist/esm/icons/travel.js +209 -477
- package/dist/esm/icons/ui.js +140 -240
- package/dist/esm/icons/weather.js +30 -56
- package/dist/esm/index.js +45 -21
- package/dist/esm/nicetodev-icons.css +1 -1
- package/dist/esm/stackedIcon.js +19 -0
- package/dist/esm/stacking.js +105 -3
- package/dist/types/createIcon.d.ts +14 -1
- package/dist/types/iconParts.d.ts +9 -6
- package/dist/types/icons/ai.d.ts +0 -4
- package/dist/types/icons/business.d.ts +1 -0
- package/dist/types/icons/education.d.ts +2 -4
- package/dist/types/icons/files.d.ts +3 -1
- package/dist/types/icons/fintech.d.ts +1 -1
- package/dist/types/icons/fun.d.ts +23 -0
- package/dist/types/icons/index.d.ts +14 -12
- package/dist/types/icons/legal.d.ts +0 -2
- package/dist/types/icons/media.d.ts +1 -0
- package/dist/types/icons/realestate.d.ts +17 -1
- package/dist/types/icons/roman.d.ts +76 -0
- package/dist/types/icons/science.d.ts +0 -2
- package/dist/types/icons/ui.d.ts +6 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/stackedIcon.d.ts +11 -0
- package/dist/types/stacking.d.ts +48 -1
- package/dist/types/types.d.ts +17 -2
- package/package.json +2 -2
|
@@ -99,8 +99,8 @@ const NtdDollar = /* @__PURE__ */ createIcon({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
const WALLET_BODY = { x: 2, y: 6.5, width: 20, height: 14.5, rx: 2.5 };
|
|
102
|
-
const WALLET_BACK = "M4.5 8V5.
|
|
103
|
-
const WALLET_BACK_LINE = "M4.5 6.5V5.
|
|
102
|
+
const WALLET_BACK = "M4.5 8V5.7L19 5a1 1 0 011.1 1V8z";
|
|
103
|
+
const WALLET_BACK_LINE = "M4.5 6.5V5.7L19 5a1 1 0 011.1 1V6.5";
|
|
104
104
|
const WALLET_POCKET = "M22 10.5h-4.5a2.5 2.5 0 000 5H22z";
|
|
105
105
|
const WALLET_POCKET_LINE = "M22 10.5h-4.5a2.5 2.5 0 000 5H22";
|
|
106
106
|
const NtdWallet = /* @__PURE__ */ createIcon({
|
|
@@ -108,13 +108,21 @@ const NtdWallet = /* @__PURE__ */ createIcon({
|
|
|
108
108
|
paths: {
|
|
109
109
|
// the back pocket is primary like the body: an accent gap (the body's edge, clipped to the pocket)
|
|
110
110
|
// parts the two
|
|
111
|
-
solid: ({ primaryColor, accentColor, accentOpacity, uid }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
111
|
+
solid: ({ primaryColor, accentColor, accentOpacity, strokeWidth, uid }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
112
112
|
/* @__PURE__ */ jsx("path", { d: WALLET_BACK, fill: primaryColor }),
|
|
113
113
|
within(
|
|
114
114
|
uid,
|
|
115
115
|
"back",
|
|
116
116
|
/* @__PURE__ */ jsx("path", { d: WALLET_BACK }),
|
|
117
|
-
/* @__PURE__ */ jsx(
|
|
117
|
+
/* @__PURE__ */ jsx(
|
|
118
|
+
"rect",
|
|
119
|
+
{
|
|
120
|
+
...WALLET_BODY,
|
|
121
|
+
stroke: accentColor,
|
|
122
|
+
strokeWidth: strokeWidth * 0.9,
|
|
123
|
+
fill: "none"
|
|
124
|
+
}
|
|
125
|
+
)
|
|
118
126
|
),
|
|
119
127
|
/* @__PURE__ */ jsx("rect", { ...WALLET_BODY, fill: primaryColor }),
|
|
120
128
|
within(
|
|
@@ -367,106 +375,54 @@ const NtdInvoice = /* @__PURE__ */ paperIcon(
|
|
|
367
375
|
"M7 7h3M7 12.5h4.5M14.3 12.5h2.7M7 15.5h4.5M14.3 15.5h2.7M13 19h4"
|
|
368
376
|
);
|
|
369
377
|
const NtdInvoiceDoc = NtdInvoice;
|
|
378
|
+
const STORE_BODY = "M2.5 5H21.5V21H2.5Z";
|
|
379
|
+
const STORE_CORNICE = { x: 1.5, y: 3, width: 21, height: 2.4, rx: 0.6 };
|
|
380
|
+
const STORE_SIGN = { x: 6.5, y: 6.4, width: 11, height: 2.5, rx: 0.5 };
|
|
381
|
+
const STORE_GLASS = "M4.2 10.6h4.8v6.8H4.2zM15 10.6h4.8v6.8H15zM10.2 10.6h3.6V21h-3.6z";
|
|
382
|
+
const STORE_GLARE = "M5.4 15.6l2.6-2.6M5.4 13l1.2-1.2M16.2 15.6l2.6-2.6M16.2 13l1.2-1.2";
|
|
383
|
+
const STORE_HANDLE = { cx: 13, cy: 16.2, r: 0.45 };
|
|
384
|
+
function storeFilled({ primaryColor, accentColor, accentOpacity, strokeWidth }, glass, sign) {
|
|
385
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
386
|
+
/* @__PURE__ */ jsx("rect", { ...STORE_CORNICE, fill: primaryColor }),
|
|
387
|
+
/* @__PURE__ */ jsx(
|
|
388
|
+
"path",
|
|
389
|
+
{
|
|
390
|
+
d: glass ? STORE_BODY : `${STORE_BODY}${STORE_GLASS}`,
|
|
391
|
+
fillRule: "evenodd",
|
|
392
|
+
fill: primaryColor
|
|
393
|
+
}
|
|
394
|
+
),
|
|
395
|
+
glass && /* @__PURE__ */ jsx("path", { d: STORE_GLASS, fill: glass }),
|
|
396
|
+
sign && /* @__PURE__ */ jsx(
|
|
397
|
+
"rect",
|
|
398
|
+
{
|
|
399
|
+
...STORE_SIGN,
|
|
400
|
+
stroke: accentColor,
|
|
401
|
+
strokeWidth: strokeWidth * 0.6,
|
|
402
|
+
opacity: accentOpacity,
|
|
403
|
+
fill: "none"
|
|
404
|
+
}
|
|
405
|
+
),
|
|
406
|
+
(sign || !glass) && /* @__PURE__ */ jsx("path", { d: STORE_GLARE, stroke: primaryColor, strokeWidth: strokeWidth * 0.6 }),
|
|
407
|
+
/* @__PURE__ */ jsx("circle", { ...STORE_HANDLE, fill: primaryColor })
|
|
408
|
+
] });
|
|
409
|
+
}
|
|
370
410
|
const NtdStore = /* @__PURE__ */ createIcon({
|
|
371
411
|
displayName: "NtdStore",
|
|
372
412
|
paths: {
|
|
373
|
-
solid: (
|
|
374
|
-
/* @__PURE__ */ jsx("path", { d: "M3 9l1-5h16l1 5", fill: secondaryColor }),
|
|
375
|
-
/* @__PURE__ */ jsx("path", { d: "M3 9h18", stroke: primaryColor, strokeWidth }),
|
|
376
|
-
/* @__PURE__ */ jsx(
|
|
377
|
-
"path",
|
|
378
|
-
{
|
|
379
|
-
d: "M3 9c0 1.66 1.34 3 3 3s3-1.34 3-3",
|
|
380
|
-
stroke: primaryColor,
|
|
381
|
-
strokeWidth,
|
|
382
|
-
fill: "none"
|
|
383
|
-
}
|
|
384
|
-
),
|
|
385
|
-
/* @__PURE__ */ jsx(
|
|
386
|
-
"path",
|
|
387
|
-
{
|
|
388
|
-
d: "M9 9c0 1.66 1.34 3 3 3s3-1.34 3-3",
|
|
389
|
-
stroke: primaryColor,
|
|
390
|
-
strokeWidth,
|
|
391
|
-
fill: "none"
|
|
392
|
-
}
|
|
393
|
-
),
|
|
394
|
-
/* @__PURE__ */ jsx(
|
|
395
|
-
"path",
|
|
396
|
-
{
|
|
397
|
-
d: "M15 9c0 1.66 1.34 3 3 3s3-1.34 3-3",
|
|
398
|
-
stroke: primaryColor,
|
|
399
|
-
strokeWidth,
|
|
400
|
-
fill: "none"
|
|
401
|
-
}
|
|
402
|
-
),
|
|
403
|
-
/* @__PURE__ */ jsx("rect", { x: "5", y: "14", width: "14", height: "8", fill: primaryColor }),
|
|
404
|
-
/* @__PURE__ */ jsx("rect", { x: "9", y: "17", width: "6", height: "5", fill: secondaryColor, opacity: 0.5 })
|
|
405
|
-
] }),
|
|
413
|
+
solid: (p) => storeFilled(p, null, true),
|
|
406
414
|
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
407
|
-
/* @__PURE__ */
|
|
408
|
-
|
|
409
|
-
"
|
|
410
|
-
{
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
-
),
|
|
417
|
-
/* @__PURE__ */ jsx(
|
|
418
|
-
"path",
|
|
419
|
-
{
|
|
420
|
-
d: "M9 9c0 1.66 1.34 3 3 3s3-1.34 3-3",
|
|
421
|
-
stroke: primaryColor,
|
|
422
|
-
strokeWidth,
|
|
423
|
-
fill: "none"
|
|
424
|
-
}
|
|
425
|
-
),
|
|
426
|
-
/* @__PURE__ */ jsx(
|
|
427
|
-
"path",
|
|
428
|
-
{
|
|
429
|
-
d: "M15 9c0 1.66 1.34 3 3 3s3-1.34 3-3",
|
|
430
|
-
stroke: primaryColor,
|
|
431
|
-
strokeWidth,
|
|
432
|
-
fill: "none"
|
|
433
|
-
}
|
|
434
|
-
),
|
|
435
|
-
/* @__PURE__ */ jsx(
|
|
436
|
-
"rect",
|
|
437
|
-
{
|
|
438
|
-
x: "5",
|
|
439
|
-
y: "14",
|
|
440
|
-
width: "14",
|
|
441
|
-
height: "8",
|
|
442
|
-
stroke: primaryColor,
|
|
443
|
-
strokeWidth,
|
|
444
|
-
fill: "none"
|
|
445
|
-
}
|
|
446
|
-
),
|
|
447
|
-
/* @__PURE__ */ jsx(
|
|
448
|
-
"rect",
|
|
449
|
-
{
|
|
450
|
-
x: "9",
|
|
451
|
-
y: "17",
|
|
452
|
-
width: "6",
|
|
453
|
-
height: "5",
|
|
454
|
-
stroke: primaryColor,
|
|
455
|
-
strokeWidth: "1.5",
|
|
456
|
-
fill: "none"
|
|
457
|
-
}
|
|
458
|
-
)
|
|
415
|
+
/* @__PURE__ */ jsxs("g", { stroke: primaryColor, strokeWidth, strokeLinejoin: "miter", fill: "none", children: [
|
|
416
|
+
/* @__PURE__ */ jsx("path", { d: "M3 5.4V21H21V5.4" }),
|
|
417
|
+
/* @__PURE__ */ jsx("rect", { ...STORE_CORNICE }),
|
|
418
|
+
/* @__PURE__ */ jsx("rect", { ...STORE_SIGN }),
|
|
419
|
+
/* @__PURE__ */ jsx("path", { d: "M4.2 10.6h4.8v6.8H4.2zM15 10.6h4.8v6.8H15zM10.2 21V10.6h3.6V21" }),
|
|
420
|
+
/* @__PURE__ */ jsx("path", { d: STORE_GLARE, strokeWidth: strokeWidth * 0.6 })
|
|
421
|
+
] }),
|
|
422
|
+
/* @__PURE__ */ jsx("circle", { ...STORE_HANDLE, fill: primaryColor })
|
|
459
423
|
] }),
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
/* @__PURE__ */ jsx("path", { d: "M3 9l1-5h16l1 5", fill: "white", opacity: "0.08" }),
|
|
463
|
-
/* @__PURE__ */ jsx("rect", { x: "5", y: "14", width: "14", height: "8", fill: secondaryColor }),
|
|
464
|
-
/* @__PURE__ */ jsx("rect", { x: "9", y: "17", width: "6", height: "5", fill: "#3B82F6" }),
|
|
465
|
-
/* @__PURE__ */ jsx("path", { d: "M3 9h18", stroke: "white", strokeWidth: "1" }),
|
|
466
|
-
/* @__PURE__ */ jsx("path", { d: "M3 9c0 1.66 1.34 3 3 3s3-1.34 3-3", stroke: "white", strokeWidth: "1", fill: "none" }),
|
|
467
|
-
/* @__PURE__ */ jsx("path", { d: "M9 9c0 1.66 1.34 3 3 3s3-1.34 3-3", stroke: "white", strokeWidth: "1", fill: "none" }),
|
|
468
|
-
/* @__PURE__ */ jsx("path", { d: "M15 9c0 1.66 1.34 3 3 3s3-1.34 3-3", stroke: "white", strokeWidth: "1", fill: "none" })
|
|
469
|
-
] })
|
|
424
|
+
duotone: (p) => storeFilled(p, p.secondaryColor, false),
|
|
425
|
+
vivid: (p) => storeFilled(p, p.secondaryColor, true)
|
|
470
426
|
}
|
|
471
427
|
});
|
|
472
428
|
const BARCODE_BARS = [
|
|
@@ -746,29 +702,39 @@ const NtdClipboardCheck = /* @__PURE__ */ createIcon({
|
|
|
746
702
|
});
|
|
747
703
|
const PIG_BODY = { cx: 11.5, cy: 13, rx: 7.5, ry: 6 };
|
|
748
704
|
const PIG_EAR = "M13.6 8.3C13.9 6.4 15 5.2 16.6 5.1C17.3 6.3 17.6 8.1 17.3 10.1Z";
|
|
749
|
-
const PIG_SNOUT = { x:
|
|
705
|
+
const PIG_SNOUT = { x: 18.2, y: 10.6, width: 3.2, height: 5, rx: 1.6 };
|
|
750
706
|
const PIG_LEGS = "M6.2 16h2.6v4.2a.8.8 0 01-.8.8h-1a.8.8 0 01-.8-.8zM14.4 16h2.6v4.2a.8.8 0 01-.8.8h-1a.8.8 0 01-.8-.8z";
|
|
751
|
-
const PIG_TAIL = "M4.
|
|
707
|
+
const PIG_TAIL = "M4.8 10.6C3.4 10.4 2.4 9.6 2.6 8.4C2.8 7.3 4.2 7.3 4.3 8.3C4.4 9.2 3.2 9.6 2.2 9.2";
|
|
752
708
|
const PIG_SLOT = "M9.3 8.9h3.4";
|
|
753
709
|
const PIG_COIN = { cx: 11, cy: 4.1, r: 2.2 };
|
|
754
710
|
const PIG_OUTSIDE = "M-1-1H25V25H-1ZM4 13a7.5 6 0 1 0 15 0a7.5 6 0 1 0-15 0Z";
|
|
755
|
-
const PIG_OUTSIDE_SNOUT = "M-1-1H25V25H-1ZM19.
|
|
756
|
-
function piggyFace(eye, width) {
|
|
711
|
+
const PIG_OUTSIDE_SNOUT = "M-1-1H25V25H-1ZM19.8 10.6a1.6 1.6 0 011.6 1.6v1.8a1.6 1.6 0 01-1.6 1.6a1.6 1.6 0 01-1.6-1.6v-1.8a1.6 1.6 0 011.6-1.6Z";
|
|
712
|
+
function piggyFace(eye, width, blush) {
|
|
757
713
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
758
|
-
/* @__PURE__ */ jsx("circle", { cx: "
|
|
759
|
-
/* @__PURE__ */ jsx("
|
|
760
|
-
/* @__PURE__ */ jsx("
|
|
714
|
+
/* @__PURE__ */ jsx("circle", { cx: "15.9", cy: "11", r: "1", fill: eye }),
|
|
715
|
+
blush !== void 0 && /* @__PURE__ */ jsx("ellipse", { cx: "15.5", cy: "13.5", rx: "1.2", ry: "0.6", fill: eye, opacity: blush }),
|
|
716
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "19.2", cy: "13.1", rx: "0.4", ry: "0.8", fill: eye }),
|
|
717
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "20.4", cy: "13.1", rx: "0.4", ry: "0.8", fill: eye }),
|
|
761
718
|
/* @__PURE__ */ jsx("path", { d: PIG_SLOT, stroke: eye, strokeWidth: width })
|
|
762
719
|
] });
|
|
763
720
|
}
|
|
764
|
-
function piggyFilled({ primaryColor, accentColor, strokeWidth }, parts) {
|
|
721
|
+
function piggyFilled({ primaryColor, accentColor, accentOpacity, strokeWidth }, parts) {
|
|
765
722
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
766
723
|
/* @__PURE__ */ jsx("path", { d: PIG_LEGS, fill: parts }),
|
|
767
724
|
/* @__PURE__ */ jsx("path", { d: PIG_EAR, fill: parts }),
|
|
768
|
-
/* @__PURE__ */ jsx(
|
|
725
|
+
/* @__PURE__ */ jsx(
|
|
726
|
+
"path",
|
|
727
|
+
{
|
|
728
|
+
d: PIG_TAIL,
|
|
729
|
+
stroke: primaryColor,
|
|
730
|
+
strokeWidth,
|
|
731
|
+
strokeLinecap: "round",
|
|
732
|
+
fill: "none"
|
|
733
|
+
}
|
|
734
|
+
),
|
|
769
735
|
/* @__PURE__ */ jsx("ellipse", { ...PIG_BODY, fill: primaryColor }),
|
|
770
736
|
/* @__PURE__ */ jsx("rect", { ...PIG_SNOUT, fill: parts }),
|
|
771
|
-
piggyFace(accentColor, strokeWidth * 1.2),
|
|
737
|
+
piggyFace(accentColor, strokeWidth * 1.2, accentOpacity * 0.45),
|
|
772
738
|
/* @__PURE__ */ jsx("circle", { ...PIG_COIN, fill: parts }),
|
|
773
739
|
/* @__PURE__ */ jsx(
|
|
774
740
|
"circle",
|
|
@@ -887,8 +853,31 @@ const NOTE_GAP = 0.8;
|
|
|
887
853
|
function noteRect([x, y, w, h], grow = 0) {
|
|
888
854
|
return `M${x - grow} ${y - grow}h${w + 2 * grow}v${h + 2 * grow}h${-w - 2 * grow}Z`;
|
|
889
855
|
}
|
|
890
|
-
function noteDetails([x, y, w, h], color, width, discFilled) {
|
|
856
|
+
function noteDetails([x, y, w, h], color, width, discFilled, ring = false) {
|
|
891
857
|
const r = h * 0.24;
|
|
858
|
+
if (ring) {
|
|
859
|
+
const cx = x + w / 2;
|
|
860
|
+
const cy = y + h / 2;
|
|
861
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
862
|
+
/* @__PURE__ */ jsx(
|
|
863
|
+
"rect",
|
|
864
|
+
{
|
|
865
|
+
x: x + 1.3,
|
|
866
|
+
y: y + 1.3,
|
|
867
|
+
width: w - 2.6,
|
|
868
|
+
height: h - 2.6,
|
|
869
|
+
rx: "0.5",
|
|
870
|
+
stroke: color,
|
|
871
|
+
strokeWidth: width * 0.5,
|
|
872
|
+
fill: "none"
|
|
873
|
+
}
|
|
874
|
+
),
|
|
875
|
+
/* @__PURE__ */ jsxs("g", { stroke: color, strokeWidth: discFilled ? width * 0.6 : width, fill: "none", children: [
|
|
876
|
+
/* @__PURE__ */ jsx("circle", { cx, cy, r: h * 0.3 }),
|
|
877
|
+
/* @__PURE__ */ jsx("circle", { cx, cy, r: h * 0.11 })
|
|
878
|
+
] })
|
|
879
|
+
] });
|
|
880
|
+
}
|
|
892
881
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
893
882
|
/* @__PURE__ */ jsx(
|
|
894
883
|
"rect",
|
|
@@ -916,7 +905,7 @@ function noteDetails([x, y, w, h], color, width, discFilled) {
|
|
|
916
905
|
)
|
|
917
906
|
] });
|
|
918
907
|
}
|
|
919
|
-
function notesFilled(notes, fills, rim, details, width) {
|
|
908
|
+
function notesFilled(notes, fills, rim, details, width, ring = false) {
|
|
920
909
|
const front = notes[notes.length - 1];
|
|
921
910
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
922
911
|
notes.map((n, i) => {
|
|
@@ -938,10 +927,10 @@ function notesFilled(notes, fills, rim, details, width) {
|
|
|
938
927
|
/* @__PURE__ */ jsx("rect", { x, y, width: w, height: h, rx: NOTE_RX, fill: fills[i] })
|
|
939
928
|
] }, i);
|
|
940
929
|
}),
|
|
941
|
-
noteDetails(front, details, width, true)
|
|
930
|
+
noteDetails(front, details, width, true, ring)
|
|
942
931
|
] });
|
|
943
932
|
}
|
|
944
|
-
function notesLines(notes, color, width, uid) {
|
|
933
|
+
function notesLines(notes, color, width, uid, ring = false) {
|
|
945
934
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
946
935
|
/* @__PURE__ */ jsx("g", { stroke: color, strokeWidth: width, fill: "none", children: notes.map((n, i) => {
|
|
947
936
|
const [x, y, w, h] = n;
|
|
@@ -963,7 +952,7 @@ function notesLines(notes, color, width, uid) {
|
|
|
963
952
|
line
|
|
964
953
|
) }, i) : /* @__PURE__ */ jsx("g", { children: line }, i);
|
|
965
954
|
}) }),
|
|
966
|
-
noteDetails(notes[notes.length - 1], color, width, false)
|
|
955
|
+
noteDetails(notes[notes.length - 1], color, width, false, ring)
|
|
967
956
|
] });
|
|
968
957
|
}
|
|
969
958
|
const CASH_NOTE = [3, 6.75, 18, 10.5];
|
|
@@ -971,16 +960,16 @@ const CASH_TURN = "rotate(-20 12 12)";
|
|
|
971
960
|
const NtdCash = /* @__PURE__ */ createIcon({
|
|
972
961
|
displayName: "NtdCash",
|
|
973
962
|
paths: {
|
|
974
|
-
solid: ({ primaryColor, accentColor, strokeWidth }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesFilled([CASH_NOTE], [primaryColor], void 0, accentColor, strokeWidth) }),
|
|
975
|
-
outline: ({ primaryColor, strokeWidth, uid }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesLines([CASH_NOTE], primaryColor, strokeWidth, uid) }),
|
|
976
|
-
duotone: ({ primaryColor, secondaryColor, strokeWidth }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesFilled([CASH_NOTE], [primaryColor], void 0, secondaryColor, strokeWidth) }),
|
|
977
|
-
vivid: ({ primaryColor, secondaryColor, strokeWidth }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesFilled([CASH_NOTE], [primaryColor], void 0, secondaryColor, strokeWidth) })
|
|
963
|
+
solid: ({ primaryColor, accentColor, strokeWidth }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesFilled([CASH_NOTE], [primaryColor], void 0, accentColor, strokeWidth, true) }),
|
|
964
|
+
outline: ({ primaryColor, strokeWidth, uid }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesLines([CASH_NOTE], primaryColor, strokeWidth, uid, true) }),
|
|
965
|
+
duotone: ({ primaryColor, secondaryColor, strokeWidth }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesFilled([CASH_NOTE], [primaryColor], void 0, secondaryColor, strokeWidth, true) }),
|
|
966
|
+
vivid: ({ primaryColor, secondaryColor, strokeWidth }) => /* @__PURE__ */ jsx("g", { transform: CASH_TURN, children: notesFilled([CASH_NOTE], [primaryColor], void 0, secondaryColor, strokeWidth, true) })
|
|
978
967
|
}
|
|
979
968
|
});
|
|
980
969
|
const CASH_STACK = [
|
|
981
|
-
[
|
|
970
|
+
[5.7, 4.8, 16, 9],
|
|
982
971
|
[4, 7.5, 16, 9],
|
|
983
|
-
[2, 10.
|
|
972
|
+
[2.3, 10.2, 16, 9]
|
|
984
973
|
];
|
|
985
974
|
const NtdCashStack = /* @__PURE__ */ createIcon({
|
|
986
975
|
displayName: "NtdCashStack",
|
|
@@ -1129,6 +1118,68 @@ const NtdMilestone = /* @__PURE__ */ createIcon({
|
|
|
1129
1118
|
] })
|
|
1130
1119
|
}
|
|
1131
1120
|
});
|
|
1121
|
+
const MARKET_AWNING = "M2 3.5h20v4.5a2.5 2.5 0 01-5 0a2.5 2.5 0 01-5 0a2.5 2.5 0 01-5 0a2.5 2.5 0 01-5 0z";
|
|
1122
|
+
const MARKET_STRIPES = "M7 3.5h5v8H7zM17 3.5h5v8h-5z";
|
|
1123
|
+
const MARKET_POSTS = "M4 9.5h1.5v6H4zM18.5 9.5H20v6h-1.5z";
|
|
1124
|
+
const MARKET_COUNTER = { x: 3, y: 14.5, width: 18, height: 6.5, rx: 1 };
|
|
1125
|
+
function marketFilled(body, awning, stripes, accent, accentOpacity, width, uid) {
|
|
1126
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1127
|
+
/* @__PURE__ */ jsx("path", { d: MARKET_AWNING, fill: awning }),
|
|
1128
|
+
stripes && within(
|
|
1129
|
+
uid,
|
|
1130
|
+
"awning",
|
|
1131
|
+
/* @__PURE__ */ jsx("path", { d: MARKET_AWNING }),
|
|
1132
|
+
/* @__PURE__ */ jsx("path", { d: MARKET_STRIPES, fill: stripes, opacity: accentOpacity })
|
|
1133
|
+
),
|
|
1134
|
+
/* @__PURE__ */ jsx("path", { d: MARKET_POSTS, fill: body }),
|
|
1135
|
+
/* @__PURE__ */ jsx("rect", { ...MARKET_COUNTER, fill: body }),
|
|
1136
|
+
within(
|
|
1137
|
+
uid,
|
|
1138
|
+
"counter",
|
|
1139
|
+
/* @__PURE__ */ jsx("rect", { ...MARKET_COUNTER }),
|
|
1140
|
+
/* @__PURE__ */ jsx("path", { d: "M3 16.75h18", stroke: accent, strokeWidth: width, opacity: accentOpacity })
|
|
1141
|
+
)
|
|
1142
|
+
] });
|
|
1143
|
+
}
|
|
1144
|
+
const NtdMarket = /* @__PURE__ */ createIcon({
|
|
1145
|
+
displayName: "NtdMarket",
|
|
1146
|
+
paths: {
|
|
1147
|
+
solid: ({ primaryColor, accentColor, accentOpacity, strokeWidth, uid }) => marketFilled(
|
|
1148
|
+
primaryColor,
|
|
1149
|
+
primaryColor,
|
|
1150
|
+
accentColor,
|
|
1151
|
+
accentColor,
|
|
1152
|
+
accentOpacity,
|
|
1153
|
+
strokeWidth,
|
|
1154
|
+
uid
|
|
1155
|
+
),
|
|
1156
|
+
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs("g", { stroke: primaryColor, strokeWidth, fill: "none", strokeLinejoin: "miter", children: [
|
|
1157
|
+
/* @__PURE__ */ jsx("path", { d: MARKET_AWNING }),
|
|
1158
|
+
/* @__PURE__ */ jsx("path", { d: "M7 3.5v5.4M12 3.5v5.4M17 3.5v5.4" }),
|
|
1159
|
+
/* @__PURE__ */ jsx("path", { d: "M4.75 10.5v4M19.25 10.5v4" }),
|
|
1160
|
+
/* @__PURE__ */ jsx("rect", { ...MARKET_COUNTER }),
|
|
1161
|
+
/* @__PURE__ */ jsx("path", { d: "M3 16.75h18" })
|
|
1162
|
+
] }),
|
|
1163
|
+
duotone: ({ primaryColor, secondaryColor, accentColor, accentOpacity, strokeWidth, uid }) => marketFilled(
|
|
1164
|
+
primaryColor,
|
|
1165
|
+
secondaryColor,
|
|
1166
|
+
null,
|
|
1167
|
+
accentColor,
|
|
1168
|
+
accentOpacity,
|
|
1169
|
+
strokeWidth,
|
|
1170
|
+
uid
|
|
1171
|
+
),
|
|
1172
|
+
vivid: ({ primaryColor, secondaryColor, accentColor, accentOpacity, strokeWidth, uid }) => marketFilled(
|
|
1173
|
+
primaryColor,
|
|
1174
|
+
secondaryColor,
|
|
1175
|
+
accentColor,
|
|
1176
|
+
accentColor,
|
|
1177
|
+
accentOpacity,
|
|
1178
|
+
strokeWidth,
|
|
1179
|
+
uid
|
|
1180
|
+
)
|
|
1181
|
+
}
|
|
1182
|
+
});
|
|
1132
1183
|
export {
|
|
1133
1184
|
NtdBank,
|
|
1134
1185
|
NtdBarcode,
|
|
@@ -1142,6 +1193,7 @@ export {
|
|
|
1142
1193
|
NtdInvoice,
|
|
1143
1194
|
NtdInvoiceDoc,
|
|
1144
1195
|
NtdKanban,
|
|
1196
|
+
NtdMarket,
|
|
1145
1197
|
NtdMilestone,
|
|
1146
1198
|
NtdPercent,
|
|
1147
1199
|
NtdPiggyBank,
|
|
@@ -492,83 +492,27 @@ const NtdGiftCard = /* @__PURE__ */ createIcon({
|
|
|
492
492
|
] })
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
|
+
const COUPON = "M2 6a2 2 0 012-2h16a2 2 0 012 2v3.4a2.6 2.6 0 100 5.2V18a2 2 0 01-2 2H4a2 2 0 01-2-2v-3.4a2.6 2.6 0 100-5.2V6z";
|
|
496
|
+
const COUPON_SHARP = "M2 4h20v5.4a2.6 2.6 0 100 5.2V20H2v-5.4a2.6 2.6 0 100-5.2V4z";
|
|
495
497
|
const NtdCoupon = /* @__PURE__ */ createIcon({
|
|
496
498
|
displayName: "NtdCoupon",
|
|
499
|
+
perfectStackX: 12,
|
|
500
|
+
perfectStackY: 12,
|
|
501
|
+
perfectStackSize: 0.5,
|
|
497
502
|
paths: {
|
|
498
|
-
solid: ({ primaryColor
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
"
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
strokeWidth: "1.5",
|
|
512
|
-
opacity: accentOpacity
|
|
513
|
-
}
|
|
514
|
-
),
|
|
515
|
-
/* @__PURE__ */ jsx("circle", { cx: "16", cy: "10", r: "1", fill: accentColor, opacity: accentOpacity }),
|
|
516
|
-
/* @__PURE__ */ jsx("circle", { cx: "16", cy: "14", r: "1", fill: accentColor, opacity: accentOpacity })
|
|
517
|
-
] }),
|
|
518
|
-
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
519
|
-
/* @__PURE__ */ jsx(
|
|
520
|
-
"path",
|
|
521
|
-
{
|
|
522
|
-
d: "M2 6a2 2 0 012-2h16a2 2 0 012 2v4a2 2 0 100 4v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4a2 2 0 100-4V6z",
|
|
523
|
-
stroke: primaryColor,
|
|
524
|
-
strokeWidth,
|
|
525
|
-
fill: "none"
|
|
526
|
-
}
|
|
527
|
-
),
|
|
528
|
-
/* @__PURE__ */ jsx("path", { d: "M10 8v8M10 8l-3 3M10 8l3 3", stroke: primaryColor, strokeWidth }),
|
|
529
|
-
/* @__PURE__ */ jsx(
|
|
530
|
-
"circle",
|
|
531
|
-
{
|
|
532
|
-
cx: "16",
|
|
533
|
-
cy: "10",
|
|
534
|
-
r: "1",
|
|
535
|
-
stroke: primaryColor,
|
|
536
|
-
strokeWidth: strokeWidth * 0.5,
|
|
537
|
-
fill: "none"
|
|
538
|
-
}
|
|
539
|
-
),
|
|
540
|
-
/* @__PURE__ */ jsx(
|
|
541
|
-
"circle",
|
|
542
|
-
{
|
|
543
|
-
cx: "16",
|
|
544
|
-
cy: "14",
|
|
545
|
-
r: "1",
|
|
546
|
-
stroke: primaryColor,
|
|
547
|
-
strokeWidth: strokeWidth * 0.5,
|
|
548
|
-
fill: "none"
|
|
549
|
-
}
|
|
550
|
-
)
|
|
551
|
-
] }),
|
|
552
|
-
vivid: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
553
|
-
/* @__PURE__ */ jsx(
|
|
554
|
-
"path",
|
|
555
|
-
{
|
|
556
|
-
d: "M2 6a2 2 0 012-2h16a2 2 0 012 2v4a2 2 0 100 4v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4a2 2 0 100-4V6z",
|
|
557
|
-
fill: primaryColor
|
|
558
|
-
}
|
|
559
|
-
),
|
|
560
|
-
/* @__PURE__ */ jsx(
|
|
561
|
-
"path",
|
|
562
|
-
{
|
|
563
|
-
d: "M2 6a2 2 0 012-2h16a2 2 0 012 2v4a2 2 0 100 4v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4a2 2 0 100-4V6z",
|
|
564
|
-
fill: "white",
|
|
565
|
-
opacity: "0.08"
|
|
566
|
-
}
|
|
567
|
-
),
|
|
568
|
-
/* @__PURE__ */ jsx("circle", { cx: "16", cy: "10", r: "1", fill: secondaryColor }),
|
|
569
|
-
/* @__PURE__ */ jsx("circle", { cx: "16", cy: "14", r: "1", fill: "#F59E0B" }),
|
|
570
|
-
/* @__PURE__ */ jsx("path", { d: "M10 8v8M10 8l-3 3M10 8l3 3", stroke: "white", strokeWidth: "1", opacity: "0.35" })
|
|
571
|
-
] })
|
|
503
|
+
solid: ({ primaryColor }) => /* @__PURE__ */ jsx("path", { d: COUPON, fill: primaryColor }),
|
|
504
|
+
sharp: ({ primaryColor }) => /* @__PURE__ */ jsx("path", { d: COUPON_SHARP, fill: primaryColor }),
|
|
505
|
+
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsx(
|
|
506
|
+
"path",
|
|
507
|
+
{
|
|
508
|
+
d: COUPON,
|
|
509
|
+
stroke: primaryColor,
|
|
510
|
+
strokeWidth,
|
|
511
|
+
strokeLinejoin: "round",
|
|
512
|
+
fill: "none"
|
|
513
|
+
}
|
|
514
|
+
),
|
|
515
|
+
vivid: ({ primaryColor }) => /* @__PURE__ */ jsx("path", { d: COUPON, fill: primaryColor })
|
|
572
516
|
}
|
|
573
517
|
});
|
|
574
518
|
const NtdStorefront = /* @__PURE__ */ createIcon({
|