@nice2dev/icons 1.3.16 → 1.3.18
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 +47 -0
- package/README.md +21 -1
- package/dist/cjs/animationControls.js +10 -5
- package/dist/cjs/animationSpeed.js +102 -0
- package/dist/cjs/createIcon.js +68 -24
- package/dist/cjs/iconStyles.js +1171 -1081
- package/dist/cjs/icons/actions.js +2 -2
- package/dist/cjs/icons/brand.js +4 -747
- package/dist/cjs/icons/business.js +59 -23
- package/dist/cjs/icons/files.js +54 -54
- package/dist/cjs/icons/food.js +75 -557
- package/dist/cjs/icons/fun.js +51 -33
- package/dist/cjs/icons/index.js +0 -7
- package/dist/cjs/icons/navigation.js +26 -7
- package/dist/cjs/icons/omniverk.js +17 -244
- package/dist/cjs/icons/science.js +63 -170
- package/dist/cjs/icons/sports.js +45 -137
- package/dist/cjs/index.js +0 -7
- package/dist/cjs/reducedMotion.js +30 -0
- package/dist/cjs/smilAnimations.js +16 -3
- package/dist/cjs/utilities.js +4 -25
- package/dist/esm/animationControls.js +10 -5
- package/dist/esm/animationSpeed.js +102 -0
- package/dist/esm/createIcon.js +69 -25
- package/dist/esm/iconStyles.js +1171 -1081
- package/dist/esm/icons/actions.js +2 -2
- package/dist/esm/icons/brand.js +5 -748
- package/dist/esm/icons/business.js +59 -23
- package/dist/esm/icons/files.js +54 -54
- package/dist/esm/icons/food.js +74 -556
- package/dist/esm/icons/fun.js +51 -33
- package/dist/esm/icons/index.js +3 -10
- package/dist/esm/icons/navigation.js +26 -7
- package/dist/esm/icons/omniverk.js +17 -244
- package/dist/esm/icons/science.js +63 -170
- package/dist/esm/icons/sports.js +45 -137
- package/dist/esm/index.js +3 -10
- package/dist/esm/nicetodev-icons.css +1 -1
- package/dist/esm/reducedMotion.js +30 -0
- package/dist/esm/smilAnimations.js +16 -3
- package/dist/esm/utilities.js +5 -26
- package/dist/types/animationSpeed.d.ts +28 -0
- package/dist/types/createIcon.d.ts +6 -0
- package/dist/types/iconStyles.d.ts +12 -1
- package/dist/types/icons/brand.d.ts +0 -4
- package/dist/types/icons/food.d.ts +0 -3
- package/dist/types/icons/index.d.ts +3 -3
- package/dist/types/icons/omniverk.d.ts +0 -3
- package/dist/types/icons/science.d.ts +1 -1
- package/dist/types/reducedMotion.d.ts +6 -0
- package/dist/types/smilAnimations.d.ts +10 -2
- package/dist/types/types.d.ts +26 -0
- package/dist/types/utilities.d.ts +2 -2
- package/package.json +2 -2
- package/dist/cjs/nicetodev-icons.css +0 -1
|
@@ -548,142 +548,64 @@ const NtdRadiation = /* @__PURE__ */ createIcon({
|
|
|
548
548
|
] })
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
|
-
const NUKE_CAP = "M5.
|
|
552
|
-
const
|
|
553
|
-
const
|
|
554
|
-
const
|
|
555
|
-
const
|
|
551
|
+
const NUKE_CAP = "M5.43 11.6A3.4 3.4 0 0 1 7.64 5.33A4.6 4.6 0 0 1 16.36 5.33A3.4 3.4 0 0 1 18.57 11.6Z";
|
|
552
|
+
const NUKE_STEM = "M10.7 11V16.6Q10.4 20.4 6.8 21.5H17.2Q13.6 20.4 13.3 16.6V11Z";
|
|
553
|
+
const NUKE_STEM_OPEN = "M10.7 11.6V16.6Q10.4 20.4 6.8 21.5H17.2Q13.6 20.4 13.3 16.6V11.6";
|
|
554
|
+
const NUKE_CAP_ROUND_CORE = "M5.65 10.85A2.65 2.65 0 0 1 8.19 6.24A3.85 3.85 0 0 1 15.81 6.24A2.65 2.65 0 0 1 18.35 10.85Z";
|
|
555
|
+
const NUKE_STEM_ROUND_CORE = "M11.45 11.75V16.6Q11.2 19.6 9.1 20.75H14.9Q12.8 19.6 12.55 16.6V11.75Z";
|
|
556
556
|
const NtdNuke = /* @__PURE__ */ createIcon({
|
|
557
557
|
displayName: "NtdNuke",
|
|
558
558
|
paths: {
|
|
559
559
|
solid: ({ primaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
560
560
|
/* @__PURE__ */ jsx("path", { d: NUKE_STEM, fill: primaryColor }),
|
|
561
|
-
/* @__PURE__ */ jsx("path", { d:
|
|
561
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_CAP, fill: primaryColor })
|
|
562
562
|
] }),
|
|
563
|
-
rounded: ({ primaryColor }) => /* @__PURE__ */ jsxs(
|
|
564
|
-
/* @__PURE__ */ jsx("path", { d:
|
|
565
|
-
/* @__PURE__ */
|
|
566
|
-
/* @__PURE__ */ jsx("path", { d: NUKE_CAP_ROUND_CORE }),
|
|
567
|
-
/* @__PURE__ */ jsx("circle", { cx: "6.75", cy: "18.75", r: "2" }),
|
|
568
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "17.75", r: "2.5" }),
|
|
569
|
-
/* @__PURE__ */ jsx("circle", { cx: "17.25", cy: "18.75", r: "2" }),
|
|
570
|
-
/* @__PURE__ */ jsx("rect", { x: "4.75", y: "18.75", width: "14.5", height: "2" })
|
|
571
|
-
] })
|
|
563
|
+
rounded: ({ primaryColor }) => /* @__PURE__ */ jsxs("g", { fill: primaryColor, stroke: primaryColor, strokeWidth: "1.5", strokeLinejoin: "round", children: [
|
|
564
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_STEM_ROUND_CORE }),
|
|
565
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_CAP_ROUND_CORE })
|
|
572
566
|
] }),
|
|
573
|
-
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(
|
|
574
|
-
/* @__PURE__ */ jsx(
|
|
575
|
-
|
|
576
|
-
{
|
|
577
|
-
d: `${NUKE_CAP}${NUKE_BASE}`,
|
|
578
|
-
stroke: primaryColor,
|
|
579
|
-
strokeWidth,
|
|
580
|
-
strokeLinejoin: "miter",
|
|
581
|
-
fill: "none"
|
|
582
|
-
}
|
|
583
|
-
),
|
|
584
|
-
/* @__PURE__ */ jsx("path", { d: NUKE_STEM_LINES, stroke: primaryColor, strokeWidth, fill: "none" })
|
|
567
|
+
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs("g", { stroke: primaryColor, strokeWidth, strokeLinejoin: "miter", fill: "none", children: [
|
|
568
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_CAP }),
|
|
569
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_STEM_OPEN })
|
|
585
570
|
] }),
|
|
586
571
|
duotone: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
587
|
-
/* @__PURE__ */ jsx("path", { d:
|
|
572
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_STEM, fill: secondaryColor }),
|
|
588
573
|
/* @__PURE__ */ jsx("path", { d: NUKE_CAP, fill: primaryColor })
|
|
589
574
|
] }),
|
|
590
575
|
vivid: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
591
|
-
/* @__PURE__ */ jsx("path", { d:
|
|
576
|
+
/* @__PURE__ */ jsx("path", { d: NUKE_STEM, fill: secondaryColor }),
|
|
592
577
|
/* @__PURE__ */ jsx("path", { d: NUKE_CAP, fill: primaryColor })
|
|
593
578
|
] })
|
|
594
579
|
}
|
|
595
580
|
});
|
|
581
|
+
const MOLECULE_ATOMS = [
|
|
582
|
+
[11.5, 12.6, 3.4],
|
|
583
|
+
[5, 7.4, 2.3],
|
|
584
|
+
[18.7, 5, 2.6],
|
|
585
|
+
[5.4, 18.7, 2.1],
|
|
586
|
+
[18.4, 18, 2.3]
|
|
587
|
+
];
|
|
588
|
+
const MOLECULE_BONDS = "M8.85 10.48L6.8 8.84M13.84 10.13L16.91 6.89M9.1 15L6.88 17.22M14.18 14.7L16.59 16.58";
|
|
589
|
+
const MOLECULE_RING = 1.1;
|
|
590
|
+
function molecule(ring, centre, width) {
|
|
591
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
592
|
+
/* @__PURE__ */ jsx("path", { d: MOLECULE_BONDS, stroke: ring, strokeWidth: width, fill: "none" }),
|
|
593
|
+
MOLECULE_ATOMS.map(([cx, cy, r]) => /* @__PURE__ */ jsxs("g", { children: [
|
|
594
|
+
/* @__PURE__ */ jsx("circle", { cx, cy, r, fill: ring }),
|
|
595
|
+
/* @__PURE__ */ jsx("circle", { cx, cy, r: r - MOLECULE_RING, fill: centre })
|
|
596
|
+
] }, `${cx}-${cy}`))
|
|
597
|
+
] });
|
|
598
|
+
}
|
|
596
599
|
const NtdMolecule = /* @__PURE__ */ createIcon({
|
|
597
600
|
displayName: "NtdMolecule",
|
|
598
601
|
paths: {
|
|
599
|
-
solid: ({ primaryColor }) =>
|
|
600
|
-
|
|
601
|
-
/* @__PURE__ */ jsx("
|
|
602
|
-
/* @__PURE__ */ jsx("circle", { cx
|
|
603
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "18", r: "2.5", fill: primaryColor }),
|
|
604
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "18", r: "2.5", fill: primaryColor }),
|
|
605
|
-
/* @__PURE__ */ jsx(
|
|
606
|
-
"path",
|
|
607
|
-
{
|
|
608
|
-
d: "M9 10l-2-1M15 10l2-1M9 14l-3 3M15 14l3 3",
|
|
609
|
-
stroke: primaryColor,
|
|
610
|
-
strokeWidth: "2",
|
|
611
|
-
strokeLinecap: "round"
|
|
612
|
-
}
|
|
613
|
-
)
|
|
614
|
-
] }),
|
|
615
|
-
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
616
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
617
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "8", r: "3", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
618
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "8", r: "3", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
619
|
-
/* @__PURE__ */ jsx(
|
|
620
|
-
"circle",
|
|
621
|
-
{
|
|
622
|
-
cx: "5",
|
|
623
|
-
cy: "18",
|
|
624
|
-
r: "2.5",
|
|
625
|
-
stroke: primaryColor,
|
|
626
|
-
strokeWidth,
|
|
627
|
-
fill: "none"
|
|
628
|
-
}
|
|
629
|
-
),
|
|
630
|
-
/* @__PURE__ */ jsx(
|
|
631
|
-
"circle",
|
|
632
|
-
{
|
|
633
|
-
cx: "19",
|
|
634
|
-
cy: "18",
|
|
635
|
-
r: "2.5",
|
|
636
|
-
stroke: primaryColor,
|
|
637
|
-
strokeWidth,
|
|
638
|
-
fill: "none"
|
|
639
|
-
}
|
|
640
|
-
),
|
|
641
|
-
/* @__PURE__ */ jsx(
|
|
642
|
-
"path",
|
|
643
|
-
{
|
|
644
|
-
d: "M9 10l-2-1M15 10l2-1M9 14l-3 3M15 14l3 3",
|
|
645
|
-
stroke: primaryColor,
|
|
646
|
-
strokeWidth,
|
|
647
|
-
strokeLinecap: "round"
|
|
648
|
-
}
|
|
649
|
-
)
|
|
602
|
+
solid: ({ primaryColor, accentColor, strokeWidth }) => molecule(primaryColor, accentColor, strokeWidth * 2),
|
|
603
|
+
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs("g", { stroke: primaryColor, strokeWidth, fill: "none", children: [
|
|
604
|
+
/* @__PURE__ */ jsx("path", { d: MOLECULE_BONDS }),
|
|
605
|
+
MOLECULE_ATOMS.map(([cx, cy, r]) => /* @__PURE__ */ jsx("circle", { cx, cy, r: r - strokeWidth / 2 }, `${cx}-${cy}`))
|
|
650
606
|
] }),
|
|
651
|
-
duotone: ({ primaryColor, secondaryColor,
|
|
652
|
-
|
|
653
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "8", r: "3", fill: secondaryColor, opacity: secondaryOpacity }),
|
|
654
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "8", r: "3", fill: secondaryColor, opacity: secondaryOpacity }),
|
|
655
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
656
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "8", r: "3", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
657
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "8", r: "3", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
658
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "18", r: "2.5", fill: primaryColor }),
|
|
659
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "18", r: "2.5", fill: primaryColor }),
|
|
660
|
-
/* @__PURE__ */ jsx(
|
|
661
|
-
"path",
|
|
662
|
-
{
|
|
663
|
-
d: "M9 10l-2-1M15 10l2-1M9 14l-3 3M15 14l3 3",
|
|
664
|
-
stroke: primaryColor,
|
|
665
|
-
strokeWidth,
|
|
666
|
-
strokeLinecap: "round"
|
|
667
|
-
}
|
|
668
|
-
)
|
|
669
|
-
] }),
|
|
670
|
-
vivid: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
671
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4", fill: primaryColor }),
|
|
672
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4", fill: "white", opacity: "0.08" }),
|
|
673
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "8", r: "3", fill: secondaryColor }),
|
|
674
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "8", r: "3", fill: "#8B5CF6" }),
|
|
675
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "18", r: "2.5", fill: "#06B6D4" }),
|
|
676
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "18", r: "2.5", fill: "#F59E0B" }),
|
|
677
|
-
/* @__PURE__ */ jsx(
|
|
678
|
-
"path",
|
|
679
|
-
{
|
|
680
|
-
d: "M9 10l-2-1M15 10l2-1M9 14l-3 3M15 14l3 3",
|
|
681
|
-
stroke: "white",
|
|
682
|
-
strokeWidth: "1",
|
|
683
|
-
strokeLinecap: "round"
|
|
684
|
-
}
|
|
685
|
-
)
|
|
686
|
-
] })
|
|
607
|
+
duotone: ({ primaryColor, secondaryColor, strokeWidth }) => molecule(primaryColor, secondaryColor, strokeWidth * 2),
|
|
608
|
+
vivid: ({ primaryColor, secondaryColor, strokeWidth }) => molecule(primaryColor, secondaryColor, strokeWidth * 2)
|
|
687
609
|
}
|
|
688
610
|
});
|
|
689
611
|
const NtdPeriodictable = /* @__PURE__ */ createIcon({
|
|
@@ -1094,69 +1016,40 @@ const NtdTelescope = /* @__PURE__ */ createIcon({
|
|
|
1094
1016
|
] })
|
|
1095
1017
|
}
|
|
1096
1018
|
});
|
|
1019
|
+
const PLANET_BACK = ["M1 12A11 3 0 0 1 6.5 9.4", "M17.5 9.4A11 3 0 0 1 23 12"];
|
|
1020
|
+
const PLANET_BACK_EDGE = ["M1 12A11 3 0 0 1 4.29 9.86", "M19.71 9.86A11 3 0 0 1 23 12"];
|
|
1021
|
+
const PLANET_FRONT = ["M1 12A11 3 0 0 0 23 12"];
|
|
1022
|
+
function planetRing(arcs, ring, rim, width, rimWidth) {
|
|
1023
|
+
return /* @__PURE__ */ jsxs("g", { transform: "rotate(-20 12 12)", fill: "none", children: [
|
|
1024
|
+
arcs.map((d) => /* @__PURE__ */ jsx("path", { d, stroke: rim, strokeWidth: width + 2 * rimWidth }, `rim-${d}`)),
|
|
1025
|
+
arcs.map((d) => /* @__PURE__ */ jsx("path", { d, stroke: ring, strokeWidth: width }, d))
|
|
1026
|
+
] });
|
|
1027
|
+
}
|
|
1097
1028
|
const NtdPlanet = /* @__PURE__ */ createIcon({
|
|
1098
1029
|
displayName: "NtdPlanet",
|
|
1099
1030
|
paths: {
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1031
|
+
// the wireframe re-draws this as lines: there the stubs stop at the disc too
|
|
1032
|
+
solid: ({ primaryColor, accentColor, variant }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1033
|
+
planetRing(
|
|
1034
|
+
variant === "wireframe" ? PLANET_BACK_EDGE : PLANET_BACK,
|
|
1035
|
+
primaryColor,
|
|
1036
|
+
accentColor,
|
|
1037
|
+
2,
|
|
1038
|
+
0.55
|
|
1039
|
+
),
|
|
1105
1040
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8", fill: primaryColor }),
|
|
1106
|
-
|
|
1107
|
-
"path",
|
|
1108
|
-
{
|
|
1109
|
-
d: "M1 12A11 3 0 0 0 23 12",
|
|
1110
|
-
stroke: secondaryColor,
|
|
1111
|
-
strokeWidth: "2",
|
|
1112
|
-
fill: "none",
|
|
1113
|
-
transform: "rotate(-20 12 12)"
|
|
1114
|
-
}
|
|
1115
|
-
)
|
|
1041
|
+
planetRing(PLANET_FRONT, primaryColor, accentColor, 2, 0.55)
|
|
1116
1042
|
] }),
|
|
1117
|
-
outline: ({ primaryColor,
|
|
1118
|
-
|
|
1119
|
-
"g",
|
|
1120
|
-
{
|
|
1121
|
-
transform: "rotate(-20 12 12)",
|
|
1122
|
-
stroke: secondaryColor,
|
|
1123
|
-
strokeWidth,
|
|
1124
|
-
fill: "none",
|
|
1125
|
-
children: [
|
|
1126
|
-
/* @__PURE__ */ jsx("path", { d: "M1 12A11 3 0 0 1 4.29 9.86" }),
|
|
1127
|
-
/* @__PURE__ */ jsx("path", { d: "M19.71 9.86A11 3 0 0 1 23 12" })
|
|
1128
|
-
]
|
|
1129
|
-
}
|
|
1130
|
-
),
|
|
1043
|
+
outline: ({ primaryColor, accentColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1044
|
+
planetRing(PLANET_BACK_EDGE, primaryColor, accentColor, strokeWidth, strokeWidth * 0.35),
|
|
1131
1045
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
1132
|
-
|
|
1133
|
-
"path",
|
|
1134
|
-
{
|
|
1135
|
-
d: "M1 12A11 3 0 0 0 23 12",
|
|
1136
|
-
stroke: secondaryColor,
|
|
1137
|
-
strokeWidth,
|
|
1138
|
-
fill: "none",
|
|
1139
|
-
transform: "rotate(-20 12 12)"
|
|
1140
|
-
}
|
|
1141
|
-
)
|
|
1046
|
+
planetRing(PLANET_FRONT, primaryColor, accentColor, strokeWidth, strokeWidth * 0.35)
|
|
1142
1047
|
] }),
|
|
1143
|
-
vivid: ({ primaryColor,
|
|
1144
|
-
|
|
1145
|
-
/* @__PURE__ */ jsx("path", { d: "M1 12A11 3 0 0 1 4.29 9.86" }),
|
|
1146
|
-
/* @__PURE__ */ jsx("path", { d: "M19.71 9.86A11 3 0 0 1 23 12" })
|
|
1147
|
-
] }),
|
|
1048
|
+
vivid: ({ primaryColor, accentColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1049
|
+
planetRing(PLANET_BACK, primaryColor, accentColor, 1.8, 0.55),
|
|
1148
1050
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8", fill: primaryColor }),
|
|
1149
1051
|
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8", fill: "white", opacity: "0.1" }),
|
|
1150
|
-
|
|
1151
|
-
"path",
|
|
1152
|
-
{
|
|
1153
|
-
d: "M1 12A11 3 0 0 0 23 12",
|
|
1154
|
-
stroke: secondaryColor,
|
|
1155
|
-
strokeWidth: "1.8",
|
|
1156
|
-
fill: "none",
|
|
1157
|
-
transform: "rotate(-20 12 12)"
|
|
1158
|
-
}
|
|
1159
|
-
)
|
|
1052
|
+
planetRing(PLANET_FRONT, primaryColor, accentColor, 1.8, 0.55)
|
|
1160
1053
|
] })
|
|
1161
1054
|
}
|
|
1162
1055
|
});
|
package/dist/esm/icons/sports.js
CHANGED
|
@@ -281,158 +281,66 @@ const NtdGolf = /* @__PURE__ */ createIcon({
|
|
|
281
281
|
] })
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
|
+
const DB_PLATES = [
|
|
285
|
+
[2.4, 8.5, 2.2, 7],
|
|
286
|
+
[5, 6, 2.5, 12],
|
|
287
|
+
[16.5, 6, 2.5, 12],
|
|
288
|
+
[19.4, 8.5, 2.2, 7]
|
|
289
|
+
];
|
|
290
|
+
function plates(fill, stroke) {
|
|
291
|
+
return DB_PLATES.map(([x, y, w, h]) => /* @__PURE__ */ jsx(
|
|
292
|
+
"rect",
|
|
293
|
+
{
|
|
294
|
+
x,
|
|
295
|
+
y,
|
|
296
|
+
width: w,
|
|
297
|
+
height: h,
|
|
298
|
+
rx: "0.8",
|
|
299
|
+
fill: fill ?? "none",
|
|
300
|
+
stroke: stroke?.color,
|
|
301
|
+
strokeWidth: stroke?.width
|
|
302
|
+
},
|
|
303
|
+
x
|
|
304
|
+
));
|
|
305
|
+
}
|
|
284
306
|
const NtdDumbbell = /* @__PURE__ */ createIcon({
|
|
285
307
|
displayName: "NtdDumbbell",
|
|
286
308
|
paths: {
|
|
287
309
|
solid: ({ primaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
288
|
-
/* @__PURE__ */ jsx("rect", { x: "
|
|
289
|
-
|
|
290
|
-
/* @__PURE__ */ jsx("rect", { x: "18", y: "7", width: "4", height: "10", rx: "1", fill: primaryColor }),
|
|
291
|
-
/* @__PURE__ */ jsx("rect", { x: "4", y: "10", width: "2", height: "4", fill: primaryColor }),
|
|
292
|
-
/* @__PURE__ */ jsx("rect", { x: "18", y: "10", width: "2", height: "4", fill: primaryColor })
|
|
310
|
+
/* @__PURE__ */ jsx("rect", { x: "7.5", y: "11", width: "9", height: "2", fill: primaryColor }),
|
|
311
|
+
plates(primaryColor)
|
|
293
312
|
] }),
|
|
294
313
|
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
295
|
-
/* @__PURE__ */ jsx(
|
|
296
|
-
|
|
297
|
-
{
|
|
298
|
-
x: "6",
|
|
299
|
-
y: "9",
|
|
300
|
-
width: "12",
|
|
301
|
-
height: "6",
|
|
302
|
-
rx: "1",
|
|
303
|
-
stroke: primaryColor,
|
|
304
|
-
strokeWidth,
|
|
305
|
-
fill: "none"
|
|
306
|
-
}
|
|
307
|
-
),
|
|
308
|
-
/* @__PURE__ */ jsx(
|
|
309
|
-
"rect",
|
|
310
|
-
{
|
|
311
|
-
x: "2",
|
|
312
|
-
y: "7",
|
|
313
|
-
width: "4",
|
|
314
|
-
height: "10",
|
|
315
|
-
rx: "1",
|
|
316
|
-
stroke: primaryColor,
|
|
317
|
-
strokeWidth,
|
|
318
|
-
fill: "none"
|
|
319
|
-
}
|
|
320
|
-
),
|
|
321
|
-
/* @__PURE__ */ jsx(
|
|
322
|
-
"rect",
|
|
323
|
-
{
|
|
324
|
-
x: "18",
|
|
325
|
-
y: "7",
|
|
326
|
-
width: "4",
|
|
327
|
-
height: "10",
|
|
328
|
-
rx: "1",
|
|
329
|
-
stroke: primaryColor,
|
|
330
|
-
strokeWidth,
|
|
331
|
-
fill: "none"
|
|
332
|
-
}
|
|
333
|
-
),
|
|
334
|
-
/* @__PURE__ */ jsx("path", { d: "M6 12h-4M18 12h4", stroke: primaryColor, strokeWidth })
|
|
314
|
+
/* @__PURE__ */ jsx("path", { d: "M7.5 11H16.5M7.5 13H16.5", stroke: primaryColor, strokeWidth }),
|
|
315
|
+
plates(void 0, { color: primaryColor, width: strokeWidth })
|
|
335
316
|
] }),
|
|
336
|
-
duotone: ({ primaryColor, secondaryColor
|
|
337
|
-
/* @__PURE__ */ jsx(
|
|
338
|
-
|
|
339
|
-
{
|
|
340
|
-
x: "6",
|
|
341
|
-
y: "9",
|
|
342
|
-
width: "12",
|
|
343
|
-
height: "6",
|
|
344
|
-
rx: "1",
|
|
345
|
-
fill: secondaryColor,
|
|
346
|
-
opacity: secondaryOpacity,
|
|
347
|
-
stroke: primaryColor,
|
|
348
|
-
strokeWidth
|
|
349
|
-
}
|
|
350
|
-
),
|
|
351
|
-
/* @__PURE__ */ jsx("rect", { x: "2", y: "7", width: "4", height: "10", rx: "1", fill: primaryColor }),
|
|
352
|
-
/* @__PURE__ */ jsx("rect", { x: "18", y: "7", width: "4", height: "10", rx: "1", fill: primaryColor })
|
|
317
|
+
duotone: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
318
|
+
/* @__PURE__ */ jsx("rect", { x: "7.5", y: "11", width: "9", height: "2", fill: secondaryColor }),
|
|
319
|
+
plates(primaryColor)
|
|
353
320
|
] }),
|
|
354
321
|
vivid: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
355
|
-
/* @__PURE__ */ jsx("rect", { x: "
|
|
356
|
-
|
|
357
|
-
/* @__PURE__ */ jsx("rect", { x: "2", y: "7", width: "4", height: "10", rx: "1", fill: secondaryColor }),
|
|
358
|
-
/* @__PURE__ */ jsx("rect", { x: "18", y: "7", width: "4", height: "10", rx: "1", fill: "#EF4444" }),
|
|
359
|
-
/* @__PURE__ */ jsx("rect", { x: "4", y: "10", width: "2", height: "4", fill: "#F59E0B" }),
|
|
360
|
-
/* @__PURE__ */ jsx("rect", { x: "18", y: "10", width: "2", height: "4", fill: "#10B981" })
|
|
322
|
+
/* @__PURE__ */ jsx("rect", { x: "7.5", y: "11", width: "9", height: "2", fill: secondaryColor }),
|
|
323
|
+
plates(primaryColor)
|
|
361
324
|
] })
|
|
362
325
|
}
|
|
363
326
|
});
|
|
327
|
+
const RUN_BODY = "M13.9 8.1L11.3 13.4";
|
|
328
|
+
const RUN_NEAR = "M13.6 8.7L16.5 10.7L18.7 8.6M11.3 13.4L15.3 15L14.5 19.7L16.6 20.1";
|
|
329
|
+
const RUN_FAR = "M13.6 8.7L10.2 9.5L8.3 12.3M11.3 13.4L9.7 17.4L5.6 19.3";
|
|
330
|
+
function runner(near, far, width, headFill) {
|
|
331
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
332
|
+
/* @__PURE__ */ jsx("path", { d: RUN_FAR, stroke: far, strokeWidth: width, fill: "none" }),
|
|
333
|
+
/* @__PURE__ */ jsx("path", { d: `${RUN_BODY}${RUN_NEAR}`, stroke: near, strokeWidth: width, fill: "none" }),
|
|
334
|
+
headFill ? /* @__PURE__ */ jsx("circle", { cx: "15.6", cy: "4.3", r: "2.3", fill: near }) : /* @__PURE__ */ jsx("circle", { cx: "15.6", cy: "4.3", r: "2.3", stroke: near, strokeWidth: width, fill: "none" })
|
|
335
|
+
] });
|
|
336
|
+
}
|
|
364
337
|
const NtdRunning = /* @__PURE__ */ createIcon({
|
|
365
338
|
displayName: "NtdRunning",
|
|
366
339
|
paths: {
|
|
367
|
-
solid: ({ primaryColor }) =>
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
] }),
|
|
372
|
-
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
373
|
-
/* @__PURE__ */ jsx(
|
|
374
|
-
"circle",
|
|
375
|
-
{
|
|
376
|
-
cx: "14",
|
|
377
|
-
cy: "4",
|
|
378
|
-
r: "2.5",
|
|
379
|
-
stroke: primaryColor,
|
|
380
|
-
strokeWidth,
|
|
381
|
-
fill: "none"
|
|
382
|
-
}
|
|
383
|
-
),
|
|
384
|
-
/* @__PURE__ */ jsx(
|
|
385
|
-
"path",
|
|
386
|
-
{
|
|
387
|
-
d: "M16 10l-4 1-2 5-4 2 1 2 5-2 2-4 4-1 2 6h2l-3-9h-3z",
|
|
388
|
-
stroke: primaryColor,
|
|
389
|
-
strokeWidth,
|
|
390
|
-
fill: "none",
|
|
391
|
-
strokeLinejoin: "round"
|
|
392
|
-
}
|
|
393
|
-
),
|
|
394
|
-
/* @__PURE__ */ jsx(
|
|
395
|
-
"path",
|
|
396
|
-
{
|
|
397
|
-
d: "M10 11l-4 4-2 6h2l2-5 3-3",
|
|
398
|
-
stroke: primaryColor,
|
|
399
|
-
strokeWidth,
|
|
400
|
-
fill: "none",
|
|
401
|
-
strokeLinejoin: "round"
|
|
402
|
-
}
|
|
403
|
-
)
|
|
404
|
-
] }),
|
|
405
|
-
duotone: ({ primaryColor, secondaryColor, secondaryOpacity, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
406
|
-
/* @__PURE__ */ jsx("circle", { cx: "14", cy: "4", r: "2.5", fill: primaryColor }),
|
|
407
|
-
/* @__PURE__ */ jsx(
|
|
408
|
-
"path",
|
|
409
|
-
{
|
|
410
|
-
d: "M16 10l-4 1-2 5-4 2 1 2 5-2 2-4 4-1 2 6h2l-3-9h-3z",
|
|
411
|
-
fill: secondaryColor,
|
|
412
|
-
opacity: secondaryOpacity,
|
|
413
|
-
stroke: primaryColor,
|
|
414
|
-
strokeWidth,
|
|
415
|
-
strokeLinejoin: "round"
|
|
416
|
-
}
|
|
417
|
-
),
|
|
418
|
-
/* @__PURE__ */ jsx(
|
|
419
|
-
"path",
|
|
420
|
-
{
|
|
421
|
-
d: "M10 11l-4 4-2 6h2l2-5 3-3",
|
|
422
|
-
fill: secondaryColor,
|
|
423
|
-
opacity: secondaryOpacity,
|
|
424
|
-
stroke: primaryColor,
|
|
425
|
-
strokeWidth,
|
|
426
|
-
strokeLinejoin: "round"
|
|
427
|
-
}
|
|
428
|
-
)
|
|
429
|
-
] }),
|
|
430
|
-
vivid: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
431
|
-
/* @__PURE__ */ jsx("circle", { cx: "14", cy: "4", r: "2.5", fill: primaryColor }),
|
|
432
|
-
/* @__PURE__ */ jsx("circle", { cx: "14", cy: "4", r: "2.5", fill: "white", opacity: "0.08" }),
|
|
433
|
-
/* @__PURE__ */ jsx("path", { d: "M16 10l-4 1-2 5-4 2 1 2 5-2 2-4 4-1 2 6h2l-3-9h-3z", fill: secondaryColor }),
|
|
434
|
-
/* @__PURE__ */ jsx("path", { d: "M10 11l-4 4-2 6h2l2-5 3-3", fill: "#EF4444" })
|
|
435
|
-
] })
|
|
340
|
+
solid: ({ primaryColor, strokeWidth }) => runner(primaryColor, primaryColor, strokeWidth * 2, true),
|
|
341
|
+
outline: ({ primaryColor, strokeWidth }) => runner(primaryColor, primaryColor, strokeWidth, false),
|
|
342
|
+
duotone: ({ primaryColor, secondaryColor, strokeWidth }) => runner(primaryColor, secondaryColor, strokeWidth * 2, true),
|
|
343
|
+
vivid: ({ primaryColor, secondaryColor, strokeWidth }) => runner(primaryColor, secondaryColor, strokeWidth * 2, true)
|
|
436
344
|
}
|
|
437
345
|
});
|
|
438
346
|
const NtdYoga = /* @__PURE__ */ createIcon({
|
package/dist/esm/index.js
CHANGED
|
@@ -34,7 +34,7 @@ import { NtdAccessibility, NtdAssistiveTech, NtdAudioDescription, NtdBlind, NtdB
|
|
|
34
34
|
import { NtdActivity, NtdArchive, NtdAward, NtdBarChart, NtdCart, NtdCloud, NtdCloudDownload, NtdCloudUpload, NtdCode, NtdCoffee, NtdCpu, NtdCreditCard, NtdDatabase, NtdFile, NtdFileText, NtdFolder, NtdFolderOpen, NtdGit, NtdGrid, NtdKey, NtdLayers, NtdList, NtdMonitor, NtdPackage, NtdPieChart, NtdShoppingCart, NtdSmartphone, NtdTable, NtdTarget, NtdTerminal, NtdTruck } from "./icons/files.js";
|
|
35
35
|
import { NtdAdmin, NtdBackspace, NtdBell, NtdBookmark, NtdCalendar, NtdClock, NtdCursor, NtdError, NtdEye, NtdEyeOff, NtdFlag, NtdGlobe, NtdHeart, NtdHelp, NtdHome, NtdHourglass, NtdInfo, NtdMap, NtdMapPin, NtdMoon, NtdPin, NtdShield, NtdStar, NtdSuccess, NtdSun, NtdTag, NtdThumbDown, NtdThumbUp, NtdUser, NtdUsers, NtdWarning, NtdWireframe } from "./icons/ui.js";
|
|
36
36
|
import { NtdAirdrop, NtdBitcoin, NtdBlockchain, NtdCryptoWallet, NtdDeFi, NtdEthereum, NtdExchange, NtdGasFee, NtdLedger, NtdMining, NtdNFT, NtdSmartContract, NtdStaking, NtdToken } from "./icons/fintech.js";
|
|
37
|
-
import { NtdAlert, NtdAlertBell, NtdFood,
|
|
37
|
+
import { NtdAlert, NtdAlertBell, NtdFood, NtdInsurance, NtdLab, NtdMeal, NtdProduct, NtdProject, NtdShipment, NtdTax, NtdWorkflow } from "./icons/omniverk.js";
|
|
38
38
|
import { NtdAnchor, NtdBug, NtdCompass, NtdDroplet, NtdFeather, NtdFire, NtdFlower, NtdHydropower, NtdLeaf, NtdMountain, NtdRain, NtdSnow, NtdSnowflake, NtdSunrise, NtdSunset, NtdThermometer, NtdThunderstorm, NtdTree, NtdUmbrella, NtdWave, NtdWind } from "./icons/weather.js";
|
|
39
39
|
import { NtdAngleBisector, NtdArrowDownCircle, NtdArrowLeftCircle, NtdArrowRightCircle, NtdArrowUpCircle, NtdCircle, NtdCornerDownLeft, NtdCornerDownRight, NtdCornerUpLeft, NtdCornerUpRight, NtdCross, NtdDiamond, NtdHexagon, NtdMaximize, NtdMidpoint, NtdMinimize, NtdMove, NtdOctagon, NtdParallel, NtdPentagon, NtdPerpendicular, NtdPoint, NtdRepeat, NtdSegment, NtdShuffle, NtdSquare, NtdTriangle } from "./icons/shapes.js";
|
|
40
40
|
import { NtdApartment, NtdBathroom, NtdBedroom, NtdCondo, NtdFloorPlan, NtdForRent, NtdForSale, NtdGarage, NtdHouse, NtdKey as NtdKey2, NtdMortgage, NtdOfficeBuilding, NtdPool, NtdSold, NtdSquareMeters, NtdVilla, NtdWarehouse, realestateIcons } from "./icons/realestate.js";
|
|
@@ -47,7 +47,7 @@ import { NtdBackpack, NtdBook, NtdBookBookmark, NtdCalculator, NtdCertificate, N
|
|
|
47
47
|
import { NtdBank, NtdBarcode, NtdBriefcase, NtdCalculator as NtdCalculator2, NtdClipboardCheck, NtdCoins, NtdDollar, NtdInvoice, NtdInvoiceDoc, NtdKanban, NtdMilestone, NtdPercent, NtdPiggyBank, NtdPresentation, NtdReceipt, NtdStore, NtdTrendDown, NtdTrendUp, NtdWallet } from "./icons/business.js";
|
|
48
48
|
import { NtdBasketball, NtdCycling, NtdDumbbell, NtdGolf, NtdMedal, NtdPodium, NtdRunning, NtdSoccerBall, NtdStopwatch, NtdSwimming, NtdTarget as NtdTarget2, NtdTennis, NtdWhistle, NtdYoga, sportsIcons } from "./icons/sports.js";
|
|
49
49
|
import { NtdBeach, NtdBike, NtdBus, NtdCamping, NtdCar, NtdCompassRose, NtdHotel, NtdLuggage, NtdPassport, NtdPlane, NtdPlaneTakeoff, NtdShip, NtdTaxi, NtdTicket, NtdTrain, travelIcons } from "./icons/travel.js";
|
|
50
|
-
import { NtdBeer, NtdBurger, NtdChefHat, NtdCocktail, NtdCoffee as NtdCoffee2,
|
|
50
|
+
import { NtdBeer, NtdBurger, NtdChefHat, NtdCocktail, NtdCoffee as NtdCoffee2, NtdForkKnife, NtdHotdog, NtdPlate, NtdRecipe, NtdRestaurant, NtdSoda, NtdSushi, NtdTaco, NtdWine, foodIcons } from "./icons/food.js";
|
|
51
51
|
import { NtdBiodegradable, NtdCarbonFootprint, NtdCo2, NtdCompost, NtdEcoFriendly, NtdEvCharger, NtdNetZero, NtdOrganic, NtdPlantTree, NtdRecycle, NtdSolarPanel, NtdTrashSort, NtdWildlife, NtdWindTurbine, sustainabilityIcons } from "./icons/sustainability.js";
|
|
52
52
|
import { NtdBluetooth, NtdBrush, NtdCamera, NtdChat, NtdImage, NtdInbox, NtdMail, NtdMicrophone, NtdMicrophoneOff, NtdMusic, NtdNotification, NtdPalette, NtdPause, NtdPenTool, NtdPhone, NtdPlay, NtdSend, NtdSkipBack, NtdSkipForward, NtdSpline, NtdStop, NtdVideo, NtdVolume, NtdVolumeMute, NtdWifi } from "./icons/media.js";
|
|
53
53
|
import { NtdCartAdd, NtdCartRemove, NtdCheckout, NtdCompare, NtdCoupon, NtdDiscount, NtdGiftCard, NtdPayment, NtdPromoTag, NtdRefund, NtdReturn, NtdShipping, NtdStorefront, NtdWishlist } from "./icons/ecommerce.js";
|
|
@@ -56,7 +56,7 @@ import { NtdCrown, NtdDice, NtdDumpsterFire, NtdGamepadOldschool, NtdGhost, NtdL
|
|
|
56
56
|
import { NtdDice as NtdDice2, NtdDiscord, NtdGamepad, NtdGamepadController, NtdHealthBar, NtdJoystick, NtdLeaderboard, NtdPotion, NtdShield as NtdShield2, NtdStar as NtdStar2, NtdSword, NtdTrophy as NtdTrophy2, NtdTwitch, NtdVrHeadset, NtdXpBar, NtdYoutubeLive, gamingIcons } from "./icons/gaming.js";
|
|
57
57
|
import { NtdDoorbell, NtdMotionSensor, NtdRouter, NtdSmartBulb, NtdSmartCamera, NtdSmartHub, NtdSmartLock, NtdSmartPlug, NtdSmartSpeaker, NtdSmartSwitch, NtdTemperatureSensor, NtdThermostat, NtdVoiceAssistant as NtdVoiceAssistant2 } from "./icons/smarthome.js";
|
|
58
58
|
import { NtdKeyBackspace, NtdKeyCaps, NtdKeyCommand, NtdKeyControl, NtdKeyEnter, NtdKeyOption, NtdKeyShift, NtdKeySpace, NtdKeyTab, NtdPadDpad, NtdPadDpadDown, NtdPadDpadLeft, NtdPadDpadRight, NtdPadDpadUp, NtdPadGenericEast, NtdPadGenericNorth, NtdPadGenericSouth, NtdPadGenericWest, NtdPadHome, NtdPadLb, NtdPadLt, NtdPadNintendoA, NtdPadNintendoB, NtdPadNintendoX, NtdPadNintendoY, NtdPadPlaystationCircle, NtdPadPlaystationCross, NtdPadPlaystationSquare, NtdPadPlaystationTriangle, NtdPadRb, NtdPadRt, NtdPadSelect, NtdPadStart, NtdPadStickLeft, NtdPadStickLeftPress, NtdPadStickRight, NtdPadStickRightPress, NtdPadXboxA, NtdPadXboxB, NtdPadXboxX, NtdPadXboxY, NtdRemoteBack, NtdRemoteMenu, NtdRemoteOk } from "./icons/input.js";
|
|
59
|
-
import { NtdNiceToDev, NtdOmniVerk, NtdOmniVerkAnimated
|
|
59
|
+
import { NtdNiceToDev, NtdOmniVerk, NtdOmniVerkAnimated } from "./icons/brand.js";
|
|
60
60
|
export {
|
|
61
61
|
ACTION_ICON_METADATA,
|
|
62
62
|
AnimationController,
|
|
@@ -215,7 +215,6 @@ export {
|
|
|
215
215
|
NtdDeFi,
|
|
216
216
|
NtdDeaf,
|
|
217
217
|
NtdDeepLearning,
|
|
218
|
-
NtdDelivery,
|
|
219
218
|
NtdDenoLogo,
|
|
220
219
|
NtdDeploy,
|
|
221
220
|
NtdDiamond,
|
|
@@ -287,7 +286,6 @@ export {
|
|
|
287
286
|
NtdGraduationCap,
|
|
288
287
|
NtdGrid,
|
|
289
288
|
NtdGroup,
|
|
290
|
-
NtdGym,
|
|
291
289
|
NtdHamburger,
|
|
292
290
|
NtdHash,
|
|
293
291
|
NtdHealthBar,
|
|
@@ -397,10 +395,6 @@ export {
|
|
|
397
395
|
NtdOfficeBuilding,
|
|
398
396
|
NtdOmniVerk,
|
|
399
397
|
NtdOmniVerkAnimated,
|
|
400
|
-
NtdOmniVerkBadge,
|
|
401
|
-
NtdOmniVerkLogo,
|
|
402
|
-
NtdOmniVerkSpinner,
|
|
403
|
-
NtdOmniVerkWatermark,
|
|
404
398
|
NtdOnlineCourse,
|
|
405
399
|
NtdOpenBook,
|
|
406
400
|
NtdOrganic,
|
|
@@ -462,7 +456,6 @@ export {
|
|
|
462
456
|
NtdPin,
|
|
463
457
|
NtdPipeline,
|
|
464
458
|
NtdPizza,
|
|
465
|
-
NtdPizza2 as NtdPizzaFood,
|
|
466
459
|
NtdPlane,
|
|
467
460
|
NtdPlaneTakeoff,
|
|
468
461
|
NtdPlanet,
|