@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
package/dist/esm/icons/sports.js
CHANGED
|
@@ -324,9 +324,9 @@ const NtdDumbbell = /* @__PURE__ */ createIcon({
|
|
|
324
324
|
] })
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
|
-
const RUN_BODY = "
|
|
327
|
+
const RUN_BODY = "M14.78 6.3L11.3 13.4";
|
|
328
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.
|
|
329
|
+
const RUN_FAR = "M13.6 8.7L10.2 9.5L8.3 12.3M11.3 13.4L9.7 17.4L5.6 19.3L6.5 21.2";
|
|
330
330
|
function runner(near, far, width, headFill) {
|
|
331
331
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
332
332
|
/* @__PURE__ */ jsx("path", { d: RUN_FAR, stroke: far, strokeWidth: width, fill: "none" }),
|
|
@@ -624,87 +624,49 @@ const NtdCycling = /* @__PURE__ */ createIcon({
|
|
|
624
624
|
] })
|
|
625
625
|
}
|
|
626
626
|
});
|
|
627
|
+
const WATCH_CENTRE = { cx: 12, cy: 13.5 };
|
|
628
|
+
const WATCH_CROWN = { x: 9.8, y: 2, width: 4.4, height: 1.8, rx: 0.6 };
|
|
629
|
+
const WATCH_STEM = { x: 11.1, y: 3.4, width: 1.8, height: 2.4 };
|
|
630
|
+
const WATCH_BUTTON = {
|
|
631
|
+
x: 17.02,
|
|
632
|
+
y: 6.48,
|
|
633
|
+
width: 2.4,
|
|
634
|
+
height: 1.6,
|
|
635
|
+
rx: 0.4,
|
|
636
|
+
transform: "rotate(45 18.22 7.28)"
|
|
637
|
+
};
|
|
638
|
+
const WATCH_TICKS = "M17.6 13.5h-1.2M12 19.1v-1.2M6.4 13.5h1.2";
|
|
639
|
+
const WATCH_HANDS = "M12 13.5V8.6M12 13.5L14.6 15";
|
|
640
|
+
function watchFilled({ primaryColor, strokeWidth }, parts, face, faceOpacity, ticks) {
|
|
641
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
642
|
+
/* @__PURE__ */ jsx("rect", { ...WATCH_BUTTON, fill: parts }),
|
|
643
|
+
/* @__PURE__ */ jsx("rect", { ...WATCH_STEM, fill: parts }),
|
|
644
|
+
/* @__PURE__ */ jsx("rect", { ...WATCH_CROWN, fill: parts }),
|
|
645
|
+
/* @__PURE__ */ jsx("circle", { ...WATCH_CENTRE, r: "8.2", fill: primaryColor }),
|
|
646
|
+
/* @__PURE__ */ jsxs("g", { stroke: face, opacity: faceOpacity, strokeLinecap: "round", fill: "none", children: [
|
|
647
|
+
ticks && /* @__PURE__ */ jsx("path", { d: WATCH_TICKS, strokeWidth: strokeWidth * 0.8 }),
|
|
648
|
+
/* @__PURE__ */ jsx("path", { d: WATCH_HANDS, strokeWidth: strokeWidth * 1.4 })
|
|
649
|
+
] }),
|
|
650
|
+
/* @__PURE__ */ jsx("circle", { ...WATCH_CENTRE, r: "1.1", fill: face, opacity: faceOpacity })
|
|
651
|
+
] });
|
|
652
|
+
}
|
|
627
653
|
const NtdStopwatch = /* @__PURE__ */ createIcon({
|
|
628
654
|
displayName: "NtdStopwatch",
|
|
629
655
|
paths: {
|
|
630
|
-
solid: (
|
|
631
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "13", r: "9", fill: primaryColor }),
|
|
632
|
-
/* @__PURE__ */ jsx("path", { d: "M10 2h4M12 2v4", stroke: primaryColor, strokeWidth: "2", strokeLinecap: "round" }),
|
|
633
|
-
/* @__PURE__ */ jsx("path", { d: "M19 6l2 2", stroke: primaryColor, strokeWidth: "2", strokeLinecap: "round" }),
|
|
634
|
-
/* @__PURE__ */ jsx(
|
|
635
|
-
"path",
|
|
636
|
-
{
|
|
637
|
-
d: "M12 9v4l3 3",
|
|
638
|
-
stroke: "white",
|
|
639
|
-
strokeWidth: "2",
|
|
640
|
-
strokeLinecap: "round",
|
|
641
|
-
strokeLinejoin: "round"
|
|
642
|
-
}
|
|
643
|
-
)
|
|
644
|
-
] }),
|
|
656
|
+
solid: (p) => watchFilled(p, p.primaryColor, p.accentColor, p.accentOpacity, true),
|
|
645
657
|
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
646
|
-
/* @__PURE__ */
|
|
647
|
-
|
|
648
|
-
"
|
|
649
|
-
{
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
),
|
|
656
|
-
/* @__PURE__ */ jsx("path", { d: "M19 6l2 2", stroke: primaryColor, strokeWidth, strokeLinecap: "round" }),
|
|
657
|
-
/* @__PURE__ */ jsx(
|
|
658
|
-
"path",
|
|
659
|
-
{
|
|
660
|
-
d: "M12 9v4l3 3",
|
|
661
|
-
stroke: primaryColor,
|
|
662
|
-
strokeWidth,
|
|
663
|
-
strokeLinecap: "round",
|
|
664
|
-
strokeLinejoin: "round"
|
|
665
|
-
}
|
|
666
|
-
)
|
|
658
|
+
/* @__PURE__ */ jsxs("g", { stroke: primaryColor, strokeWidth, strokeLinejoin: "round", fill: "none", children: [
|
|
659
|
+
/* @__PURE__ */ jsx("circle", { ...WATCH_CENTRE, r: 8.2 - strokeWidth / 2 }),
|
|
660
|
+
/* @__PURE__ */ jsx("rect", { ...WATCH_CROWN }),
|
|
661
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3.8v1.5" }),
|
|
662
|
+
/* @__PURE__ */ jsx("rect", { ...WATCH_BUTTON }),
|
|
663
|
+
/* @__PURE__ */ jsx("path", { d: WATCH_TICKS, strokeLinecap: "round" }),
|
|
664
|
+
/* @__PURE__ */ jsx("path", { d: WATCH_HANDS, strokeLinecap: "round" })
|
|
665
|
+
] }),
|
|
666
|
+
/* @__PURE__ */ jsx("circle", { ...WATCH_CENTRE, r: "0.9", fill: primaryColor })
|
|
667
667
|
] }),
|
|
668
|
-
duotone:
|
|
669
|
-
|
|
670
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "13", r: "9", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
671
|
-
/* @__PURE__ */ jsx(
|
|
672
|
-
"path",
|
|
673
|
-
{
|
|
674
|
-
d: "M10 2h4M12 2v4",
|
|
675
|
-
stroke: primaryColor,
|
|
676
|
-
strokeWidth,
|
|
677
|
-
strokeLinecap: "round"
|
|
678
|
-
}
|
|
679
|
-
),
|
|
680
|
-
/* @__PURE__ */ jsx("path", { d: "M19 6l2 2", stroke: primaryColor, strokeWidth, strokeLinecap: "round" }),
|
|
681
|
-
/* @__PURE__ */ jsx(
|
|
682
|
-
"path",
|
|
683
|
-
{
|
|
684
|
-
d: "M12 9v4l3 3",
|
|
685
|
-
stroke: primaryColor,
|
|
686
|
-
strokeWidth,
|
|
687
|
-
strokeLinecap: "round",
|
|
688
|
-
strokeLinejoin: "round"
|
|
689
|
-
}
|
|
690
|
-
)
|
|
691
|
-
] })),
|
|
692
|
-
vivid: ({ primaryColor, secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
693
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "13", r: "9", fill: primaryColor }),
|
|
694
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "13", r: "9", fill: "white", opacity: "0.1" }),
|
|
695
|
-
/* @__PURE__ */ jsx("path", { d: "M10 2h4M12 2v4", stroke: secondaryColor, strokeWidth: "1.8", strokeLinecap: "round" }),
|
|
696
|
-
/* @__PURE__ */ jsx("path", { d: "M19 6l2 2", stroke: "#EF4444", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
697
|
-
/* @__PURE__ */ jsx(
|
|
698
|
-
"path",
|
|
699
|
-
{
|
|
700
|
-
d: "M12 9v4l3 3",
|
|
701
|
-
stroke: "white",
|
|
702
|
-
strokeWidth: "1.5",
|
|
703
|
-
strokeLinecap: "round",
|
|
704
|
-
strokeLinejoin: "round"
|
|
705
|
-
}
|
|
706
|
-
)
|
|
707
|
-
] })
|
|
668
|
+
duotone: (p) => watchFilled(p, p.secondaryColor, p.secondaryColor, 1, false),
|
|
669
|
+
vivid: (p) => watchFilled(p, p.secondaryColor, p.accentColor, p.accentOpacity, true)
|
|
708
670
|
}
|
|
709
671
|
});
|
|
710
672
|
const NtdWhistle = /* @__PURE__ */ createIcon({
|
|
@@ -789,96 +751,64 @@ const NtdWhistle = /* @__PURE__ */ createIcon({
|
|
|
789
751
|
] })
|
|
790
752
|
}
|
|
791
753
|
});
|
|
754
|
+
const MEDAL_RIBBON = "M5.2 2H9.6L12 8L14.4 2H18.8L15.2 11H8.8Z";
|
|
755
|
+
const MEDAL_STRIPES = "M7.4 2L11 11M16.6 2L13 11";
|
|
756
|
+
const MEDAL_DISC = { cx: 12, cy: 15.2, r: 6.2 };
|
|
757
|
+
const MEDAL_OUTSIDE = "M-1-1H25V25H-1ZM5.8 15.2a6.2 6.2 0 1 0 12.4 0a6.2 6.2 0 1 0-12.4 0Z";
|
|
758
|
+
function medalFilled({ primaryColor, accentColor, accentOpacity, strokeWidth }, ribbon, lines) {
|
|
759
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
760
|
+
/* @__PURE__ */ jsx("path", { d: MEDAL_RIBBON, fill: ribbon }),
|
|
761
|
+
lines && /* @__PURE__ */ jsx(
|
|
762
|
+
"path",
|
|
763
|
+
{
|
|
764
|
+
d: MEDAL_STRIPES,
|
|
765
|
+
stroke: accentColor,
|
|
766
|
+
strokeWidth: strokeWidth * 0.6,
|
|
767
|
+
opacity: accentOpacity
|
|
768
|
+
}
|
|
769
|
+
),
|
|
770
|
+
/* @__PURE__ */ jsx("circle", { ...MEDAL_DISC, fill: primaryColor }),
|
|
771
|
+
lines && /* @__PURE__ */ jsx(
|
|
772
|
+
"circle",
|
|
773
|
+
{
|
|
774
|
+
cx: MEDAL_DISC.cx,
|
|
775
|
+
cy: MEDAL_DISC.cy,
|
|
776
|
+
r: MEDAL_DISC.r - 1.2,
|
|
777
|
+
stroke: accentColor,
|
|
778
|
+
strokeWidth: strokeWidth * 0.6,
|
|
779
|
+
opacity: accentOpacity,
|
|
780
|
+
fill: "none"
|
|
781
|
+
}
|
|
782
|
+
)
|
|
783
|
+
] });
|
|
784
|
+
}
|
|
792
785
|
const NtdMedal = /* @__PURE__ */ createIcon({
|
|
793
786
|
displayName: "NtdMedal",
|
|
787
|
+
perfectStackX: 12,
|
|
788
|
+
perfectStackY: 15.2,
|
|
789
|
+
perfectStackSize: 0.32,
|
|
794
790
|
paths: {
|
|
795
|
-
solid: (
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
"
|
|
800
|
-
{
|
|
801
|
-
|
|
802
|
-
y: "18",
|
|
803
|
-
textAnchor: "middle",
|
|
804
|
-
fill: "white",
|
|
805
|
-
fontSize: "8",
|
|
806
|
-
fontWeight: "bold",
|
|
807
|
-
fontFamily: "system-ui",
|
|
808
|
-
children: "1"
|
|
809
|
-
}
|
|
810
|
-
)
|
|
811
|
-
] }),
|
|
812
|
-
outline: ({ primaryColor, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
813
|
-
/* @__PURE__ */ jsx(
|
|
814
|
-
"path",
|
|
815
|
-
{
|
|
816
|
-
d: "M8 2l4 6 4-6",
|
|
817
|
-
stroke: primaryColor,
|
|
818
|
-
strokeWidth,
|
|
819
|
-
fill: "none",
|
|
820
|
-
strokeLinejoin: "round"
|
|
821
|
-
}
|
|
822
|
-
),
|
|
823
|
-
/* @__PURE__ */ jsx("path", { d: "M8 2h8M8 2v6M16 2v6", stroke: primaryColor, strokeWidth }),
|
|
824
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "15", r: "7", stroke: primaryColor, strokeWidth, fill: "none" }),
|
|
825
|
-
/* @__PURE__ */ jsx(
|
|
826
|
-
"text",
|
|
827
|
-
{
|
|
828
|
-
x: "12",
|
|
829
|
-
y: "18",
|
|
830
|
-
textAnchor: "middle",
|
|
831
|
-
fill: primaryColor,
|
|
832
|
-
fontSize: "8",
|
|
833
|
-
fontWeight: "bold",
|
|
834
|
-
fontFamily: "system-ui",
|
|
835
|
-
children: "1"
|
|
836
|
-
}
|
|
837
|
-
)
|
|
838
|
-
] }),
|
|
839
|
-
duotone: swapDuotone(({ primaryColor, secondaryColor, secondaryOpacity, strokeWidth }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
840
|
-
/* @__PURE__ */ jsx(
|
|
841
|
-
"path",
|
|
842
|
-
{
|
|
843
|
-
d: "M8 2l4 6 4-6M8 2h8M8 2v6M16 2v6",
|
|
844
|
-
stroke: primaryColor,
|
|
845
|
-
strokeWidth,
|
|
846
|
-
fill: primaryColor,
|
|
847
|
-
opacity: "0.5",
|
|
848
|
-
strokeLinejoin: "round"
|
|
849
|
-
}
|
|
791
|
+
solid: (p) => medalFilled(p, p.primaryColor, true),
|
|
792
|
+
outline: ({ primaryColor, strokeWidth, uid }) => /* @__PURE__ */ jsxs("g", { stroke: primaryColor, strokeWidth, strokeLinejoin: "round", fill: "none", children: [
|
|
793
|
+
within(
|
|
794
|
+
uid,
|
|
795
|
+
"ribbon",
|
|
796
|
+
/* @__PURE__ */ jsx("path", { d: MEDAL_OUTSIDE, clipRule: "evenodd" }),
|
|
797
|
+
/* @__PURE__ */ jsx("path", { d: MEDAL_RIBBON })
|
|
850
798
|
),
|
|
799
|
+
/* @__PURE__ */ jsx("circle", { cx: MEDAL_DISC.cx, cy: MEDAL_DISC.cy, r: MEDAL_DISC.r - strokeWidth / 2 }),
|
|
851
800
|
/* @__PURE__ */ jsx(
|
|
852
801
|
"circle",
|
|
853
802
|
{
|
|
854
|
-
cx:
|
|
855
|
-
cy:
|
|
856
|
-
r:
|
|
857
|
-
|
|
858
|
-
opacity: secondaryOpacity,
|
|
859
|
-
stroke: primaryColor,
|
|
860
|
-
strokeWidth
|
|
861
|
-
}
|
|
862
|
-
),
|
|
863
|
-
/* @__PURE__ */ jsx(
|
|
864
|
-
"text",
|
|
865
|
-
{
|
|
866
|
-
x: "12",
|
|
867
|
-
y: "18",
|
|
868
|
-
textAnchor: "middle",
|
|
869
|
-
fill: primaryColor,
|
|
870
|
-
fontSize: "8",
|
|
871
|
-
fontWeight: "bold",
|
|
872
|
-
fontFamily: "system-ui",
|
|
873
|
-
children: "1"
|
|
803
|
+
cx: MEDAL_DISC.cx,
|
|
804
|
+
cy: MEDAL_DISC.cy,
|
|
805
|
+
r: MEDAL_DISC.r - 1.6,
|
|
806
|
+
strokeWidth: strokeWidth * 0.6
|
|
874
807
|
}
|
|
875
808
|
)
|
|
876
|
-
] })
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
/* @__PURE__ */ jsx("path", { d: "M8 2l4 6 4-6M8 2h8M8 2v6M16 2v6", fill: "white", opacity: "0.08" }),
|
|
880
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "15", r: "7", fill: secondaryColor })
|
|
881
|
-
] })
|
|
809
|
+
] }),
|
|
810
|
+
duotone: (p) => medalFilled(p, p.secondaryColor, false),
|
|
811
|
+
vivid: (p) => medalFilled(p, p.secondaryColor, true)
|
|
882
812
|
}
|
|
883
813
|
});
|
|
884
814
|
const NtdPodium = /* @__PURE__ */ createIcon({
|
|
@@ -2,62 +2,40 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { createIcon } from "../createIcon.js";
|
|
3
3
|
import { swapDuotone } from "../iconParts.js";
|
|
4
4
|
import { NtdHydropower } from "./weather.js";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
const RECYCLE_TURNS = [0, 120, 240];
|
|
6
|
+
const RECYCLE_BAND = "M8.02 12.5L5.42 17H9.9";
|
|
7
|
+
const RECYCLE_HEAD = "M9.62 14.7L12.22 17L9.62 19.3Z";
|
|
8
|
+
function recycleArrows(colors, width, filled) {
|
|
9
|
+
return /* @__PURE__ */ jsx(Fragment, { children: RECYCLE_TURNS.map((turn, i) => /* @__PURE__ */ jsxs("g", { transform: `rotate(${turn} 12 13.2)`, children: [
|
|
10
|
+
/* @__PURE__ */ jsx(
|
|
9
11
|
"path",
|
|
10
12
|
{
|
|
11
|
-
d:
|
|
12
|
-
|
|
13
|
+
d: RECYCLE_BAND,
|
|
14
|
+
stroke: colors[i],
|
|
15
|
+
strokeWidth: width,
|
|
16
|
+
strokeLinejoin: "round",
|
|
17
|
+
fill: "none"
|
|
13
18
|
}
|
|
14
19
|
),
|
|
15
|
-
|
|
20
|
+
/* @__PURE__ */ jsx(
|
|
16
21
|
"path",
|
|
17
22
|
{
|
|
18
|
-
d:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
d: RECYCLE_HEAD,
|
|
24
|
+
fill: filled ? colors[i] : "none",
|
|
25
|
+
stroke: filled ? "none" : colors[i],
|
|
26
|
+
strokeWidth: width,
|
|
22
27
|
strokeLinejoin: "round"
|
|
23
28
|
}
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/* @__PURE__ */ jsx(
|
|
35
|
-
"path",
|
|
36
|
-
{
|
|
37
|
-
d: "M12 2L8 6l2 1-3 5h6l-3-5 2-1-4-4zM4 14l4-1-3-5 2-3-5 4 2 4v1zM20 14l-2-4-5 4 2 3-3 5h6l-3-5 2 1 4-4z",
|
|
38
|
-
stroke: primaryColor,
|
|
39
|
-
strokeWidth: "2",
|
|
40
|
-
fill: "none"
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
] }),
|
|
44
|
-
vivid: ({ primaryColor, secondaryColor: _secondaryColor }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
|
-
/* @__PURE__ */ jsx(
|
|
46
|
-
"path",
|
|
47
|
-
{
|
|
48
|
-
d: "M12 2L8 6l2 1-3 5h6l-3-5 2-1-4-4zM4 14l4-1-3-5 2-3-5 4 2 4v1zM20 14l-2-4-5 4 2 3-3 5h6l-3-5 2 1 4-4z",
|
|
49
|
-
fill: primaryColor
|
|
50
|
-
}
|
|
51
|
-
),
|
|
52
|
-
/* @__PURE__ */ jsx(
|
|
53
|
-
"path",
|
|
54
|
-
{
|
|
55
|
-
d: "M12 2L8 6l2 1-3 5h6l-3-5 2-1-4-4zM4 14l4-1-3-5 2-3-5 4 2 4v1zM20 14l-2-4-5 4 2 3-3 5h6l-3-5 2 1 4-4z",
|
|
56
|
-
fill: "white",
|
|
57
|
-
opacity: "0.1"
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
] })
|
|
29
|
+
)
|
|
30
|
+
] }, turn)) });
|
|
31
|
+
}
|
|
32
|
+
const NtdRecycle = /* @__PURE__ */ createIcon({
|
|
33
|
+
displayName: "NtdRecycle",
|
|
34
|
+
paths: {
|
|
35
|
+
solid: ({ primaryColor: c, strokeWidth }) => recycleArrows([c, c, c], strokeWidth * 2.4, true),
|
|
36
|
+
outline: ({ primaryColor: c, strokeWidth }) => recycleArrows([c, c, c], strokeWidth, false),
|
|
37
|
+
duotone: ({ primaryColor: c, secondaryColor: s, strokeWidth }) => recycleArrows([c, c, s], strokeWidth * 2.4, true),
|
|
38
|
+
vivid: ({ primaryColor: c, secondaryColor: s, strokeWidth }) => recycleArrows([c, c, s], strokeWidth * 2.4, true)
|
|
61
39
|
}
|
|
62
40
|
});
|
|
63
41
|
const NtdCompost = /* @__PURE__ */ createIcon({
|