@charisol/plexo-sdk 2.0.23 → 2.0.25
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/dist/{InlineColorPicker-DjYPy1XG.js → InlineColorPicker-x6ODuEQD.js} +369 -223
- package/dist/{client-B1Crj0DN.js → client-DUSU8g5z.js} +98 -98
- package/dist/index.js +12625 -12683
- package/dist/plexo-sdk.css +1 -1
- package/dist/{v1--XVVNQh9.js → v1-DzPIZH4r.js} +34 -5
- package/dist/v2/data/insertableComponents.d.ts +1 -1
- package/dist/v2/render/dynamicBlocks.d.ts +6 -2
- package/dist/v2/render/elementProps.d.ts +1 -1
- package/dist/v2/types/editor.d.ts +1 -1
- package/dist/v2-compile.js +1 -1
- package/dist/v2-strata.js +1 -1
- package/dist/v2.js +1961 -1872
- package/package.json +1 -1
|
@@ -625,11 +625,11 @@ var b = () => ({
|
|
|
625
625
|
strokeWidth: 2,
|
|
626
626
|
strokeLinecap: "round",
|
|
627
627
|
strokeLinejoin: "round"
|
|
628
|
-
},
|
|
628
|
+
}, ae = (e) => {
|
|
629
629
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
630
630
|
return !1;
|
|
631
|
-
},
|
|
632
|
-
function
|
|
631
|
+
}, E = s({});
|
|
632
|
+
function D({ children: e, size: t, color: n, strokeWidth: r, absoluteStrokeWidth: i, className: a }) {
|
|
633
633
|
let o = m(() => ({
|
|
634
634
|
size: t,
|
|
635
635
|
color: n,
|
|
@@ -643,10 +643,10 @@ function O({ children: e, size: t, color: n, strokeWidth: r, absoluteStrokeWidth
|
|
|
643
643
|
i,
|
|
644
644
|
a
|
|
645
645
|
]);
|
|
646
|
-
return c(
|
|
646
|
+
return c(E.Provider, { value: o }, e);
|
|
647
647
|
}
|
|
648
|
-
var
|
|
649
|
-
let { size: u = 24, strokeWidth: d = 2, absoluteStrokeWidth: f = !1, color: p = "currentColor", className: m = "" } =
|
|
648
|
+
var O = () => d(E), k = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: o, ...s }, l) => {
|
|
649
|
+
let { size: u = 24, strokeWidth: d = 2, absoluteStrokeWidth: f = !1, color: p = "currentColor", className: m = "" } = O() ?? {}, h = r ?? f ? Number(n ?? d) * 24 / Number(t ?? u) : n ?? d;
|
|
650
650
|
return c("svg", {
|
|
651
651
|
ref: l,
|
|
652
652
|
...T,
|
|
@@ -655,18 +655,18 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
655
655
|
stroke: e ?? p,
|
|
656
656
|
strokeWidth: h,
|
|
657
657
|
className: S("lucide", m, i),
|
|
658
|
-
...!a && !
|
|
658
|
+
...!a && !ae(s) && { "aria-hidden": "true" },
|
|
659
659
|
...s
|
|
660
660
|
}, [...o.map(([e, t]) => c(e, t)), ...Array.isArray(a) ? a : [a]]);
|
|
661
661
|
}), A = (e, t) => {
|
|
662
|
-
let n = l(({ className: n, ...r }, i) => c(
|
|
662
|
+
let n = l(({ className: n, ...r }, i) => c(k, {
|
|
663
663
|
ref: i,
|
|
664
664
|
iconNode: t,
|
|
665
665
|
className: S(`lucide-${C(ie(e))}`, `lucide-${e}`, n),
|
|
666
666
|
...r
|
|
667
667
|
}));
|
|
668
668
|
return n.displayName = ie(e), n;
|
|
669
|
-
},
|
|
669
|
+
}, oe = A("align-center-vertical", [
|
|
670
670
|
["path", {
|
|
671
671
|
d: "M12 2v20",
|
|
672
672
|
key: "t6zp3m"
|
|
@@ -687,7 +687,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
687
687
|
d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",
|
|
688
688
|
key: "1euafb"
|
|
689
689
|
}]
|
|
690
|
-
]),
|
|
690
|
+
]), se = A("align-end-vertical", [
|
|
691
691
|
["rect", {
|
|
692
692
|
width: "16",
|
|
693
693
|
height: "6",
|
|
@@ -708,7 +708,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
708
708
|
d: "M22 22V2",
|
|
709
709
|
key: "12ipfv"
|
|
710
710
|
}]
|
|
711
|
-
]),
|
|
711
|
+
]), j = A("align-horizontal-distribute-center", [
|
|
712
712
|
["rect", {
|
|
713
713
|
width: "6",
|
|
714
714
|
height: "14",
|
|
@@ -741,7 +741,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
741
741
|
d: "M7 5V2",
|
|
742
742
|
key: "liy1u9"
|
|
743
743
|
}]
|
|
744
|
-
]),
|
|
744
|
+
]), M = A("align-start-vertical", [
|
|
745
745
|
["rect", {
|
|
746
746
|
width: "9",
|
|
747
747
|
height: "6",
|
|
@@ -762,7 +762,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
762
762
|
d: "M2 2v20",
|
|
763
763
|
key: "1ivd8o"
|
|
764
764
|
}]
|
|
765
|
-
]),
|
|
765
|
+
]), N = A("align-vertical-distribute-center", [
|
|
766
766
|
["path", {
|
|
767
767
|
d: "M22 17h-3",
|
|
768
768
|
key: "1lwga1"
|
|
@@ -795,7 +795,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
795
795
|
rx: "2",
|
|
796
796
|
key: "we8e9z"
|
|
797
797
|
}]
|
|
798
|
-
]),
|
|
798
|
+
]), ce = A("anchor", [
|
|
799
799
|
["path", {
|
|
800
800
|
d: "M12 6v16",
|
|
801
801
|
key: "nqf5sj"
|
|
@@ -814,7 +814,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
814
814
|
r: "2",
|
|
815
815
|
key: "muu5ef"
|
|
816
816
|
}]
|
|
817
|
-
]),
|
|
817
|
+
]), P = A("arrow-down-to-line", [
|
|
818
818
|
["path", {
|
|
819
819
|
d: "M12 17V3",
|
|
820
820
|
key: "1cwfxf"
|
|
@@ -827,34 +827,34 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
827
827
|
d: "M19 21H5",
|
|
828
828
|
key: "150jfl"
|
|
829
829
|
}]
|
|
830
|
-
]),
|
|
830
|
+
]), F = A("arrow-down", [["path", {
|
|
831
831
|
d: "M12 5v14",
|
|
832
832
|
key: "s699le"
|
|
833
833
|
}], ["path", {
|
|
834
834
|
d: "m19 12-7 7-7-7",
|
|
835
835
|
key: "1idqje"
|
|
836
|
-
}]]),
|
|
836
|
+
}]]), le = A("arrow-left", [["path", {
|
|
837
837
|
d: "m12 19-7-7 7-7",
|
|
838
838
|
key: "1l729n"
|
|
839
839
|
}], ["path", {
|
|
840
840
|
d: "M19 12H5",
|
|
841
841
|
key: "x3x0zl"
|
|
842
|
-
}]]),
|
|
842
|
+
}]]), I = A("arrow-right", [["path", {
|
|
843
843
|
d: "M5 12h14",
|
|
844
844
|
key: "1ays0h"
|
|
845
845
|
}], ["path", {
|
|
846
846
|
d: "m12 5 7 7-7 7",
|
|
847
847
|
key: "xquz4c"
|
|
848
|
-
}]]),
|
|
848
|
+
}]]), L = A("arrow-up", [["path", {
|
|
849
849
|
d: "m5 12 7-7 7 7",
|
|
850
850
|
key: "hav0vg"
|
|
851
851
|
}], ["path", {
|
|
852
852
|
d: "M12 19V5",
|
|
853
853
|
key: "x0mq9r"
|
|
854
|
-
}]]),
|
|
854
|
+
}]]), ue = A("bold", [["path", {
|
|
855
855
|
d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
|
|
856
856
|
key: "mg9rjx"
|
|
857
|
-
}]]),
|
|
857
|
+
}]]), R = A("box", [
|
|
858
858
|
["path", {
|
|
859
859
|
d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
|
|
860
860
|
key: "hh9hay"
|
|
@@ -867,7 +867,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
867
867
|
d: "M12 22V12",
|
|
868
868
|
key: "d0xqtd"
|
|
869
869
|
}]
|
|
870
|
-
]),
|
|
870
|
+
]), z = A("boxes", [
|
|
871
871
|
["path", {
|
|
872
872
|
d: "M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",
|
|
873
873
|
key: "lc1i9w"
|
|
@@ -916,7 +916,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
916
916
|
d: "M12 13.5V8",
|
|
917
917
|
key: "1io7kd"
|
|
918
918
|
}]
|
|
919
|
-
]),
|
|
919
|
+
]), B = A("calendar-check", [
|
|
920
920
|
["path", {
|
|
921
921
|
d: "M8 2v4",
|
|
922
922
|
key: "1cmpym"
|
|
@@ -941,7 +941,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
941
941
|
d: "m9 16 2 2 4-4",
|
|
942
942
|
key: "19s6y9"
|
|
943
943
|
}]
|
|
944
|
-
]),
|
|
944
|
+
]), V = A("calendar", [
|
|
945
945
|
["path", {
|
|
946
946
|
d: "M8 2v4",
|
|
947
947
|
key: "1cmpym"
|
|
@@ -962,31 +962,31 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
962
962
|
d: "M3 10h18",
|
|
963
963
|
key: "8toen8"
|
|
964
964
|
}]
|
|
965
|
-
]),
|
|
965
|
+
]), H = A("check", [["path", {
|
|
966
966
|
d: "M20 6 9 17l-5-5",
|
|
967
967
|
key: "1gmf2c"
|
|
968
|
-
}]]),
|
|
968
|
+
}]]), U = A("chevron-down", [["path", {
|
|
969
969
|
d: "m6 9 6 6 6-6",
|
|
970
970
|
key: "qrunsl"
|
|
971
|
-
}]]),
|
|
971
|
+
}]]), W = A("chevron-right", [["path", {
|
|
972
972
|
d: "m9 18 6-6-6-6",
|
|
973
973
|
key: "mthhwq"
|
|
974
|
-
}]]),
|
|
974
|
+
}]]), G = A("chevron-up", [["path", {
|
|
975
975
|
d: "m18 15-6-6-6 6",
|
|
976
976
|
key: "153udz"
|
|
977
|
-
}]]),
|
|
977
|
+
}]]), de = A("chevrons-down", [["path", {
|
|
978
978
|
d: "m7 6 5 5 5-5",
|
|
979
979
|
key: "1lc07p"
|
|
980
980
|
}], ["path", {
|
|
981
981
|
d: "m7 13 5 5 5-5",
|
|
982
982
|
key: "1d48rs"
|
|
983
|
-
}]]),
|
|
983
|
+
}]]), K = A("chevrons-up", [["path", {
|
|
984
984
|
d: "m17 11-5-5-5 5",
|
|
985
985
|
key: "e8nh98"
|
|
986
986
|
}], ["path", {
|
|
987
987
|
d: "m17 18-5-5-5 5",
|
|
988
988
|
key: "2avn1x"
|
|
989
|
-
}]]),
|
|
989
|
+
}]]), fe = A("circle-question-mark", [
|
|
990
990
|
["circle", {
|
|
991
991
|
cx: "12",
|
|
992
992
|
cy: "12",
|
|
@@ -1001,7 +1001,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1001
1001
|
d: "M12 17h.01",
|
|
1002
1002
|
key: "p32p05"
|
|
1003
1003
|
}]
|
|
1004
|
-
]),
|
|
1004
|
+
]), q = A("clock", [["circle", {
|
|
1005
1005
|
cx: "12",
|
|
1006
1006
|
cy: "12",
|
|
1007
1007
|
r: "10",
|
|
@@ -1009,7 +1009,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1009
1009
|
}], ["path", {
|
|
1010
1010
|
d: "M12 6v6l4 2",
|
|
1011
1011
|
key: "mmk7yg"
|
|
1012
|
-
}]]),
|
|
1012
|
+
}]]), J = A("code-xml", [
|
|
1013
1013
|
["path", {
|
|
1014
1014
|
d: "m18 16 4-4-4-4",
|
|
1015
1015
|
key: "1inbqp"
|
|
@@ -1022,7 +1022,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1022
1022
|
d: "m14.5 4-5 16",
|
|
1023
1023
|
key: "e7oirm"
|
|
1024
1024
|
}]
|
|
1025
|
-
]),
|
|
1025
|
+
]), pe = A("columns-2", [["rect", {
|
|
1026
1026
|
width: "18",
|
|
1027
1027
|
height: "18",
|
|
1028
1028
|
x: "3",
|
|
@@ -1032,7 +1032,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1032
1032
|
}], ["path", {
|
|
1033
1033
|
d: "M12 3v18",
|
|
1034
1034
|
key: "108xh3"
|
|
1035
|
-
}]]),
|
|
1035
|
+
}]]), me = A("columns-3", [
|
|
1036
1036
|
["rect", {
|
|
1037
1037
|
width: "18",
|
|
1038
1038
|
height: "18",
|
|
@@ -1049,10 +1049,10 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1049
1049
|
d: "M15 3v18",
|
|
1050
1050
|
key: "14nvp0"
|
|
1051
1051
|
}]
|
|
1052
|
-
]),
|
|
1052
|
+
]), he = A("command", [["path", {
|
|
1053
1053
|
d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",
|
|
1054
1054
|
key: "11bfej"
|
|
1055
|
-
}]]),
|
|
1055
|
+
}]]), Y = A("copy", [["rect", {
|
|
1056
1056
|
width: "14",
|
|
1057
1057
|
height: "14",
|
|
1058
1058
|
x: "8",
|
|
@@ -1063,7 +1063,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1063
1063
|
}], ["path", {
|
|
1064
1064
|
d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
|
|
1065
1065
|
key: "zix9uf"
|
|
1066
|
-
}]]),
|
|
1066
|
+
}]]), ge = A("credit-card", [["rect", {
|
|
1067
1067
|
width: "20",
|
|
1068
1068
|
height: "14",
|
|
1069
1069
|
x: "2",
|
|
@@ -1076,7 +1076,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1076
1076
|
y1: "10",
|
|
1077
1077
|
y2: "10",
|
|
1078
1078
|
key: "1b3vmo"
|
|
1079
|
-
}]]),
|
|
1079
|
+
}]]), _e = A("ellipsis-vertical", [
|
|
1080
1080
|
["circle", {
|
|
1081
1081
|
cx: "12",
|
|
1082
1082
|
cy: "12",
|
|
@@ -1095,7 +1095,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1095
1095
|
r: "1",
|
|
1096
1096
|
key: "lyex9k"
|
|
1097
1097
|
}]
|
|
1098
|
-
]),
|
|
1098
|
+
]), X = A("ellipsis", [
|
|
1099
1099
|
["circle", {
|
|
1100
1100
|
cx: "12",
|
|
1101
1101
|
cy: "12",
|
|
@@ -1114,7 +1114,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1114
1114
|
r: "1",
|
|
1115
1115
|
key: "1pcz8c"
|
|
1116
1116
|
}]
|
|
1117
|
-
]),
|
|
1117
|
+
]), ve = A("external-link", [
|
|
1118
1118
|
["path", {
|
|
1119
1119
|
d: "M15 3h6v6",
|
|
1120
1120
|
key: "1q9fwt"
|
|
@@ -1127,7 +1127,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1127
1127
|
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
|
|
1128
1128
|
key: "a6xqqp"
|
|
1129
1129
|
}]
|
|
1130
|
-
]),
|
|
1130
|
+
]), ye = A("eye-off", [
|
|
1131
1131
|
["path", {
|
|
1132
1132
|
d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
|
|
1133
1133
|
key: "ct8e1f"
|
|
@@ -1144,7 +1144,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1144
1144
|
d: "m2 2 20 20",
|
|
1145
1145
|
key: "1ooewy"
|
|
1146
1146
|
}]
|
|
1147
|
-
]),
|
|
1147
|
+
]), be = A("eye", [["path", {
|
|
1148
1148
|
d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
|
|
1149
1149
|
key: "1nclc0"
|
|
1150
1150
|
}], ["circle", {
|
|
@@ -1152,7 +1152,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1152
1152
|
cy: "12",
|
|
1153
1153
|
r: "3",
|
|
1154
1154
|
key: "1v7zrd"
|
|
1155
|
-
}]]),
|
|
1155
|
+
}]]), xe = A("file-code-corner", [
|
|
1156
1156
|
["path", {
|
|
1157
1157
|
d: "M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",
|
|
1158
1158
|
key: "1wthlu"
|
|
@@ -1169,7 +1169,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1169
1169
|
d: "m9 22 3-3-3-3",
|
|
1170
1170
|
key: "lsp7cz"
|
|
1171
1171
|
}]
|
|
1172
|
-
]),
|
|
1172
|
+
]), Se = A("file-text", [
|
|
1173
1173
|
["path", {
|
|
1174
1174
|
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
1175
1175
|
key: "1oefj6"
|
|
@@ -1190,7 +1190,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1190
1190
|
d: "M16 17H8",
|
|
1191
1191
|
key: "z1uh3a"
|
|
1192
1192
|
}]
|
|
1193
|
-
]),
|
|
1193
|
+
]), Ce = A("globe", [
|
|
1194
1194
|
["circle", {
|
|
1195
1195
|
cx: "12",
|
|
1196
1196
|
cy: "12",
|
|
@@ -1205,7 +1205,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1205
1205
|
d: "M2 12h20",
|
|
1206
1206
|
key: "9i4pu4"
|
|
1207
1207
|
}]
|
|
1208
|
-
]),
|
|
1208
|
+
]), we = A("grid-3x3", [
|
|
1209
1209
|
["rect", {
|
|
1210
1210
|
width: "18",
|
|
1211
1211
|
height: "18",
|
|
@@ -1230,7 +1230,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1230
1230
|
d: "M15 3v18",
|
|
1231
1231
|
key: "14nvp0"
|
|
1232
1232
|
}]
|
|
1233
|
-
]),
|
|
1233
|
+
]), Te = A("grip-vertical", [
|
|
1234
1234
|
["circle", {
|
|
1235
1235
|
cx: "9",
|
|
1236
1236
|
cy: "12",
|
|
@@ -1267,7 +1267,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1267
1267
|
r: "1",
|
|
1268
1268
|
key: "f4zoj3"
|
|
1269
1269
|
}]
|
|
1270
|
-
]),
|
|
1270
|
+
]), Ee = A("group", [
|
|
1271
1271
|
["path", {
|
|
1272
1272
|
d: "M3 7V5c0-1.1.9-2 2-2h2",
|
|
1273
1273
|
key: "adw53z"
|
|
@@ -1300,7 +1300,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1300
1300
|
rx: "1",
|
|
1301
1301
|
key: "1qlmkx"
|
|
1302
1302
|
}]
|
|
1303
|
-
]),
|
|
1303
|
+
]), De = A("hand", [
|
|
1304
1304
|
["path", {
|
|
1305
1305
|
d: "M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",
|
|
1306
1306
|
key: "1fvzgz"
|
|
@@ -1317,7 +1317,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1317
1317
|
d: "M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",
|
|
1318
1318
|
key: "1s1gnw"
|
|
1319
1319
|
}]
|
|
1320
|
-
]),
|
|
1320
|
+
]), Z = A("heading", [
|
|
1321
1321
|
["path", {
|
|
1322
1322
|
d: "M6 12h12",
|
|
1323
1323
|
key: "8npq4p"
|
|
@@ -1330,13 +1330,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1330
1330
|
d: "M18 20V4",
|
|
1331
1331
|
key: "o2hl4u"
|
|
1332
1332
|
}]
|
|
1333
|
-
]),
|
|
1333
|
+
]), Oe = A("house", [["path", {
|
|
1334
1334
|
d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",
|
|
1335
1335
|
key: "5wwlr5"
|
|
1336
1336
|
}], ["path", {
|
|
1337
1337
|
d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
|
|
1338
1338
|
key: "r6nss1"
|
|
1339
|
-
}]]),
|
|
1339
|
+
}]]), ke = A("image", [
|
|
1340
1340
|
["rect", {
|
|
1341
1341
|
width: "18",
|
|
1342
1342
|
height: "18",
|
|
@@ -1356,7 +1356,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1356
1356
|
d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
|
|
1357
1357
|
key: "1xmnt7"
|
|
1358
1358
|
}]
|
|
1359
|
-
]),
|
|
1359
|
+
]), Ae = A("info", [
|
|
1360
1360
|
["circle", {
|
|
1361
1361
|
cx: "12",
|
|
1362
1362
|
cy: "12",
|
|
@@ -1371,7 +1371,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1371
1371
|
d: "M12 8h.01",
|
|
1372
1372
|
key: "e9boi3"
|
|
1373
1373
|
}]
|
|
1374
|
-
]),
|
|
1374
|
+
]), je = A("italic", [
|
|
1375
1375
|
["line", {
|
|
1376
1376
|
x1: "19",
|
|
1377
1377
|
x2: "10",
|
|
@@ -1393,7 +1393,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1393
1393
|
y2: "20",
|
|
1394
1394
|
key: "uljnxc"
|
|
1395
1395
|
}]
|
|
1396
|
-
]),
|
|
1396
|
+
]), Me = A("keyboard", [
|
|
1397
1397
|
["path", {
|
|
1398
1398
|
d: "M10 8h.01",
|
|
1399
1399
|
key: "1r9ogq"
|
|
@@ -1434,7 +1434,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1434
1434
|
rx: "2",
|
|
1435
1435
|
key: "18n3k1"
|
|
1436
1436
|
}]
|
|
1437
|
-
]),
|
|
1437
|
+
]), Ne = A("layers", [
|
|
1438
1438
|
["path", {
|
|
1439
1439
|
d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
|
|
1440
1440
|
key: "zw3jo"
|
|
@@ -1447,7 +1447,40 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1447
1447
|
d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
|
|
1448
1448
|
key: "kqbvx6"
|
|
1449
1449
|
}]
|
|
1450
|
-
]),
|
|
1450
|
+
]), Pe = A("layout-grid", [
|
|
1451
|
+
["rect", {
|
|
1452
|
+
width: "7",
|
|
1453
|
+
height: "7",
|
|
1454
|
+
x: "3",
|
|
1455
|
+
y: "3",
|
|
1456
|
+
rx: "1",
|
|
1457
|
+
key: "1g98yp"
|
|
1458
|
+
}],
|
|
1459
|
+
["rect", {
|
|
1460
|
+
width: "7",
|
|
1461
|
+
height: "7",
|
|
1462
|
+
x: "14",
|
|
1463
|
+
y: "3",
|
|
1464
|
+
rx: "1",
|
|
1465
|
+
key: "6d4xhi"
|
|
1466
|
+
}],
|
|
1467
|
+
["rect", {
|
|
1468
|
+
width: "7",
|
|
1469
|
+
height: "7",
|
|
1470
|
+
x: "14",
|
|
1471
|
+
y: "14",
|
|
1472
|
+
rx: "1",
|
|
1473
|
+
key: "nxv5o0"
|
|
1474
|
+
}],
|
|
1475
|
+
["rect", {
|
|
1476
|
+
width: "7",
|
|
1477
|
+
height: "7",
|
|
1478
|
+
x: "3",
|
|
1479
|
+
y: "14",
|
|
1480
|
+
rx: "1",
|
|
1481
|
+
key: "1bb6yr"
|
|
1482
|
+
}]
|
|
1483
|
+
]), Fe = A("layout-template", [
|
|
1451
1484
|
["rect", {
|
|
1452
1485
|
width: "18",
|
|
1453
1486
|
height: "7",
|
|
@@ -1472,7 +1505,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1472
1505
|
rx: "1",
|
|
1473
1506
|
key: "q5h2i8"
|
|
1474
1507
|
}]
|
|
1475
|
-
]),
|
|
1508
|
+
]), Ie = A("link-2-off", [
|
|
1476
1509
|
["path", {
|
|
1477
1510
|
d: "M9 17H7A5 5 0 0 1 7 7",
|
|
1478
1511
|
key: "10o201"
|
|
@@ -1495,7 +1528,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1495
1528
|
y2: "22",
|
|
1496
1529
|
key: "a6p6uj"
|
|
1497
1530
|
}]
|
|
1498
|
-
]),
|
|
1531
|
+
]), Le = A("link-2", [
|
|
1499
1532
|
["path", {
|
|
1500
1533
|
d: "M9 17H7A5 5 0 0 1 7 7h2",
|
|
1501
1534
|
key: "8i5ue5"
|
|
@@ -1511,10 +1544,35 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1511
1544
|
y2: "12",
|
|
1512
1545
|
key: "1jonct"
|
|
1513
1546
|
}]
|
|
1514
|
-
]),
|
|
1547
|
+
]), Re = A("list", [
|
|
1548
|
+
["path", {
|
|
1549
|
+
d: "M3 5h.01",
|
|
1550
|
+
key: "18ugdj"
|
|
1551
|
+
}],
|
|
1552
|
+
["path", {
|
|
1553
|
+
d: "M3 12h.01",
|
|
1554
|
+
key: "nlz23k"
|
|
1555
|
+
}],
|
|
1556
|
+
["path", {
|
|
1557
|
+
d: "M3 19h.01",
|
|
1558
|
+
key: "noohij"
|
|
1559
|
+
}],
|
|
1560
|
+
["path", {
|
|
1561
|
+
d: "M8 5h13",
|
|
1562
|
+
key: "1pao27"
|
|
1563
|
+
}],
|
|
1564
|
+
["path", {
|
|
1565
|
+
d: "M8 12h13",
|
|
1566
|
+
key: "1za7za"
|
|
1567
|
+
}],
|
|
1568
|
+
["path", {
|
|
1569
|
+
d: "M8 19h13",
|
|
1570
|
+
key: "m83p4d"
|
|
1571
|
+
}]
|
|
1572
|
+
]), ze = A("loader-circle", [["path", {
|
|
1515
1573
|
d: "M21 12a9 9 0 1 1-6.219-8.56",
|
|
1516
1574
|
key: "13zald"
|
|
1517
|
-
}]]),
|
|
1575
|
+
}]]), Be = A("lock-open", [["rect", {
|
|
1518
1576
|
width: "18",
|
|
1519
1577
|
height: "11",
|
|
1520
1578
|
x: "3",
|
|
@@ -1525,7 +1583,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1525
1583
|
}], ["path", {
|
|
1526
1584
|
d: "M7 11V7a5 5 0 0 1 9.9-1",
|
|
1527
1585
|
key: "1mm8w8"
|
|
1528
|
-
}]]),
|
|
1586
|
+
}]]), Ve = A("lock", [["rect", {
|
|
1529
1587
|
width: "18",
|
|
1530
1588
|
height: "11",
|
|
1531
1589
|
x: "3",
|
|
@@ -1536,7 +1594,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1536
1594
|
}], ["path", {
|
|
1537
1595
|
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
1538
1596
|
key: "fwvmzm"
|
|
1539
|
-
}]]),
|
|
1597
|
+
}]]), He = A("magnet", [
|
|
1540
1598
|
["path", {
|
|
1541
1599
|
d: "m12 15 4 4",
|
|
1542
1600
|
key: "lnac28"
|
|
@@ -1549,7 +1607,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1549
1607
|
d: "m5 8 4 4",
|
|
1550
1608
|
key: "j6kj7e"
|
|
1551
1609
|
}]
|
|
1552
|
-
]),
|
|
1610
|
+
]), Ue = A("maximize-2", [
|
|
1553
1611
|
["path", {
|
|
1554
1612
|
d: "M15 3h6v6",
|
|
1555
1613
|
key: "1q9fwt"
|
|
@@ -1566,7 +1624,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1566
1624
|
d: "M9 21H3v-6",
|
|
1567
1625
|
key: "wtvkvv"
|
|
1568
1626
|
}]
|
|
1569
|
-
]),
|
|
1627
|
+
]), We = A("maximize", [
|
|
1570
1628
|
["path", {
|
|
1571
1629
|
d: "M8 3H5a2 2 0 0 0-2 2v3",
|
|
1572
1630
|
key: "1dcmit"
|
|
@@ -1583,7 +1641,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1583
1641
|
d: "M16 21h3a2 2 0 0 0 2-2v-3",
|
|
1584
1642
|
key: "18trek"
|
|
1585
1643
|
}]
|
|
1586
|
-
]),
|
|
1644
|
+
]), Ge = A("menu", [
|
|
1587
1645
|
["path", {
|
|
1588
1646
|
d: "M4 5h16",
|
|
1589
1647
|
key: "1tepv9"
|
|
@@ -1596,13 +1654,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1596
1654
|
d: "M4 19h16",
|
|
1597
1655
|
key: "1djgab"
|
|
1598
1656
|
}]
|
|
1599
|
-
]),
|
|
1657
|
+
]), Ke = A("message-square", [["path", {
|
|
1600
1658
|
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
1601
1659
|
key: "18887p"
|
|
1602
|
-
}]]),
|
|
1660
|
+
}]]), qe = A("minus", [["path", {
|
|
1603
1661
|
d: "M5 12h14",
|
|
1604
1662
|
key: "1ays0h"
|
|
1605
|
-
}]]),
|
|
1663
|
+
}]]), Je = A("monitor", [
|
|
1606
1664
|
["rect", {
|
|
1607
1665
|
width: "20",
|
|
1608
1666
|
height: "14",
|
|
@@ -1625,13 +1683,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1625
1683
|
y2: "21",
|
|
1626
1684
|
key: "vw1qmm"
|
|
1627
1685
|
}]
|
|
1628
|
-
]),
|
|
1686
|
+
]), Ye = A("mouse-pointer", [["path", {
|
|
1629
1687
|
d: "M12.586 12.586 19 19",
|
|
1630
1688
|
key: "ea5xo7"
|
|
1631
1689
|
}], ["path", {
|
|
1632
1690
|
d: "M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",
|
|
1633
1691
|
key: "277e5u"
|
|
1634
|
-
}]]),
|
|
1692
|
+
}]]), Xe = A("move-vertical", [
|
|
1635
1693
|
["path", {
|
|
1636
1694
|
d: "M12 2v20",
|
|
1637
1695
|
key: "t6zp3m"
|
|
@@ -1644,7 +1702,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1644
1702
|
d: "m8 6 4-4 4 4",
|
|
1645
1703
|
key: "ybng9g"
|
|
1646
1704
|
}]
|
|
1647
|
-
]),
|
|
1705
|
+
]), Ze = A("move", [
|
|
1648
1706
|
["path", {
|
|
1649
1707
|
d: "M12 2v20",
|
|
1650
1708
|
key: "t6zp3m"
|
|
@@ -1669,7 +1727,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1669
1727
|
d: "m9 5 3-3 3 3",
|
|
1670
1728
|
key: "l8vdw6"
|
|
1671
1729
|
}]
|
|
1672
|
-
]),
|
|
1730
|
+
]), Qe = A("newspaper", [
|
|
1673
1731
|
["path", {
|
|
1674
1732
|
d: "M15 18h-5",
|
|
1675
1733
|
key: "95g1m2"
|
|
@@ -1690,7 +1748,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1690
1748
|
rx: "1",
|
|
1691
1749
|
key: "aywv1n"
|
|
1692
1750
|
}]
|
|
1693
|
-
]),
|
|
1751
|
+
]), $e = A("package-check", [
|
|
1694
1752
|
["path", {
|
|
1695
1753
|
d: "M12 22V12",
|
|
1696
1754
|
key: "d0xqtd"
|
|
@@ -1711,7 +1769,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1711
1769
|
d: "m7.5 4.27 8.997 5.148",
|
|
1712
1770
|
key: "9yrvtv"
|
|
1713
1771
|
}]
|
|
1714
|
-
]),
|
|
1772
|
+
]), et = A("palette", [
|
|
1715
1773
|
["path", {
|
|
1716
1774
|
d: "M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",
|
|
1717
1775
|
key: "e79jfc"
|
|
@@ -1744,7 +1802,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1744
1802
|
fill: "currentColor",
|
|
1745
1803
|
key: "fotxhn"
|
|
1746
1804
|
}]
|
|
1747
|
-
]),
|
|
1805
|
+
]), tt = A("panel-left-close", [
|
|
1748
1806
|
["rect", {
|
|
1749
1807
|
width: "18",
|
|
1750
1808
|
height: "18",
|
|
@@ -1761,7 +1819,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1761
1819
|
d: "m16 15-3-3 3-3",
|
|
1762
1820
|
key: "14y99z"
|
|
1763
1821
|
}]
|
|
1764
|
-
]),
|
|
1822
|
+
]), nt = A("panel-left-open", [
|
|
1765
1823
|
["rect", {
|
|
1766
1824
|
width: "18",
|
|
1767
1825
|
height: "18",
|
|
@@ -1778,25 +1836,25 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1778
1836
|
d: "m14 9 3 3-3 3",
|
|
1779
1837
|
key: "8010ee"
|
|
1780
1838
|
}]
|
|
1781
|
-
]),
|
|
1839
|
+
]), rt = A("pen-line", [["path", {
|
|
1782
1840
|
d: "M13 21h8",
|
|
1783
1841
|
key: "1jsn5i"
|
|
1784
1842
|
}], ["path", {
|
|
1785
1843
|
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
1786
1844
|
key: "1a8usu"
|
|
1787
|
-
}]]),
|
|
1845
|
+
}]]), it = A("plus", [["path", {
|
|
1788
1846
|
d: "M5 12h14",
|
|
1789
1847
|
key: "1ays0h"
|
|
1790
1848
|
}], ["path", {
|
|
1791
1849
|
d: "M12 5v14",
|
|
1792
1850
|
key: "s699le"
|
|
1793
|
-
}]]),
|
|
1851
|
+
}]]), at = A("redo-2", [["path", {
|
|
1794
1852
|
d: "m15 14 5-5-5-5",
|
|
1795
1853
|
key: "12vg1m"
|
|
1796
1854
|
}], ["path", {
|
|
1797
1855
|
d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",
|
|
1798
1856
|
key: "6uklza"
|
|
1799
|
-
}]]),
|
|
1857
|
+
}]]), ot = A("refresh-cw", [
|
|
1800
1858
|
["path", {
|
|
1801
1859
|
d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
|
|
1802
1860
|
key: "v9h5vc"
|
|
@@ -1813,7 +1871,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1813
1871
|
d: "M8 16H3v5",
|
|
1814
1872
|
key: "1cv678"
|
|
1815
1873
|
}]
|
|
1816
|
-
]),
|
|
1874
|
+
]), st = A("repeat", [
|
|
1817
1875
|
["path", {
|
|
1818
1876
|
d: "m17 2 4 4-4 4",
|
|
1819
1877
|
key: "nntrym"
|
|
@@ -1830,13 +1888,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1830
1888
|
d: "M21 13v1a4 4 0 0 1-4 4H3",
|
|
1831
1889
|
key: "1rx37r"
|
|
1832
1890
|
}]
|
|
1833
|
-
]),
|
|
1891
|
+
]), ct = A("rotate-ccw", [["path", {
|
|
1834
1892
|
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
|
|
1835
1893
|
key: "1357e3"
|
|
1836
1894
|
}], ["path", {
|
|
1837
1895
|
d: "M3 3v5h5",
|
|
1838
1896
|
key: "1xhq8a"
|
|
1839
|
-
}]]),
|
|
1897
|
+
}]]), lt = A("search", [["path", {
|
|
1840
1898
|
d: "m21 21-4.34-4.34",
|
|
1841
1899
|
key: "14j7rj"
|
|
1842
1900
|
}], ["circle", {
|
|
@@ -1844,13 +1902,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1844
1902
|
cy: "11",
|
|
1845
1903
|
r: "8",
|
|
1846
1904
|
key: "4ej97u"
|
|
1847
|
-
}]]),
|
|
1905
|
+
}]]), ut = A("send", [["path", {
|
|
1848
1906
|
d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
|
|
1849
1907
|
key: "1ffxy3"
|
|
1850
1908
|
}], ["path", {
|
|
1851
1909
|
d: "m21.854 2.147-10.94 10.939",
|
|
1852
1910
|
key: "12cjpa"
|
|
1853
|
-
}]]),
|
|
1911
|
+
}]]), dt = A("settings", [["path", {
|
|
1854
1912
|
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
|
|
1855
1913
|
key: "1i5ecw"
|
|
1856
1914
|
}], ["circle", {
|
|
@@ -1858,7 +1916,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1858
1916
|
cy: "12",
|
|
1859
1917
|
r: "3",
|
|
1860
1918
|
key: "1v7zrd"
|
|
1861
|
-
}]]),
|
|
1919
|
+
}]]), ft = A("share-2", [
|
|
1862
1920
|
["circle", {
|
|
1863
1921
|
cx: "18",
|
|
1864
1922
|
cy: "5",
|
|
@@ -1891,7 +1949,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1891
1949
|
y2: "10.49",
|
|
1892
1950
|
key: "1n3mei"
|
|
1893
1951
|
}]
|
|
1894
|
-
]),
|
|
1952
|
+
]), pt = A("shopping-bag", [
|
|
1895
1953
|
["path", {
|
|
1896
1954
|
d: "M16 10a4 4 0 0 1-8 0",
|
|
1897
1955
|
key: "1ltviw"
|
|
@@ -1904,7 +1962,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1904
1962
|
d: "M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",
|
|
1905
1963
|
key: "o988cm"
|
|
1906
1964
|
}]
|
|
1907
|
-
]),
|
|
1965
|
+
]), mt = A("shopping-cart", [
|
|
1908
1966
|
["circle", {
|
|
1909
1967
|
cx: "8",
|
|
1910
1968
|
cy: "21",
|
|
@@ -1921,7 +1979,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1921
1979
|
d: "M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",
|
|
1922
1980
|
key: "9zh506"
|
|
1923
1981
|
}]
|
|
1924
|
-
]),
|
|
1982
|
+
]), ht = A("sliders-horizontal", [
|
|
1925
1983
|
["path", {
|
|
1926
1984
|
d: "M10 5H3",
|
|
1927
1985
|
key: "1qgfaw"
|
|
@@ -1958,7 +2016,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1958
2016
|
d: "M8 12H3",
|
|
1959
2017
|
key: "a7s4jb"
|
|
1960
2018
|
}]
|
|
1961
|
-
]),
|
|
2019
|
+
]), gt = A("sliders-vertical", [
|
|
1962
2020
|
["path", {
|
|
1963
2021
|
d: "M10 8h4",
|
|
1964
2022
|
key: "1sr2af"
|
|
@@ -1995,7 +2053,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1995
2053
|
d: "M5 21v-7",
|
|
1996
2054
|
key: "1w1uti"
|
|
1997
2055
|
}]
|
|
1998
|
-
]),
|
|
2056
|
+
]), _t = A("smartphone", [["rect", {
|
|
1999
2057
|
width: "14",
|
|
2000
2058
|
height: "20",
|
|
2001
2059
|
x: "5",
|
|
@@ -2006,7 +2064,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2006
2064
|
}], ["path", {
|
|
2007
2065
|
d: "M12 18h.01",
|
|
2008
2066
|
key: "mhygvu"
|
|
2009
|
-
}]]),
|
|
2067
|
+
}]]), vt = A("smile", [
|
|
2010
2068
|
["circle", {
|
|
2011
2069
|
cx: "12",
|
|
2012
2070
|
cy: "12",
|
|
@@ -2031,13 +2089,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2031
2089
|
y2: "9",
|
|
2032
2090
|
key: "1p4y9e"
|
|
2033
2091
|
}]
|
|
2034
|
-
]),
|
|
2092
|
+
]), yt = A("square-check-big", [["path", {
|
|
2035
2093
|
d: "M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",
|
|
2036
2094
|
key: "2acyp4"
|
|
2037
2095
|
}], ["path", {
|
|
2038
2096
|
d: "m9 11 3 3L22 4",
|
|
2039
2097
|
key: "1pflzl"
|
|
2040
|
-
}]]),
|
|
2098
|
+
}]]), bt = A("square-chevron-down", [["rect", {
|
|
2041
2099
|
width: "18",
|
|
2042
2100
|
height: "18",
|
|
2043
2101
|
x: "3",
|
|
@@ -2047,17 +2105,17 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2047
2105
|
}], ["path", {
|
|
2048
2106
|
d: "m16 10-4 4-4-4",
|
|
2049
2107
|
key: "894hmk"
|
|
2050
|
-
}]]),
|
|
2108
|
+
}]]), xt = A("square", [["rect", {
|
|
2051
2109
|
width: "18",
|
|
2052
2110
|
height: "18",
|
|
2053
2111
|
x: "3",
|
|
2054
2112
|
y: "3",
|
|
2055
2113
|
rx: "2",
|
|
2056
2114
|
key: "afitv7"
|
|
2057
|
-
}]]),
|
|
2115
|
+
}]]), St = A("star", [["path", {
|
|
2058
2116
|
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
2059
2117
|
key: "r04s7s"
|
|
2060
|
-
}]]),
|
|
2118
|
+
}]]), Ct = A("store", [
|
|
2061
2119
|
["path", {
|
|
2062
2120
|
d: "M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",
|
|
2063
2121
|
key: "slp6dd"
|
|
@@ -2070,7 +2128,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2070
2128
|
d: "M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",
|
|
2071
2129
|
key: "wn3emo"
|
|
2072
2130
|
}]
|
|
2073
|
-
]),
|
|
2131
|
+
]), wt = A("table", [
|
|
2074
2132
|
["path", {
|
|
2075
2133
|
d: "M12 3v18",
|
|
2076
2134
|
key: "108xh3"
|
|
@@ -2091,7 +2149,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2091
2149
|
d: "M3 15h18",
|
|
2092
2150
|
key: "5xshup"
|
|
2093
2151
|
}]
|
|
2094
|
-
]),
|
|
2152
|
+
]), Tt = A("tablet", [["rect", {
|
|
2095
2153
|
width: "16",
|
|
2096
2154
|
height: "20",
|
|
2097
2155
|
x: "4",
|
|
@@ -2105,7 +2163,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2105
2163
|
y1: "18",
|
|
2106
2164
|
y2: "18",
|
|
2107
2165
|
key: "1dp563"
|
|
2108
|
-
}]]),
|
|
2166
|
+
}]]), Et = A("tag", [["path", {
|
|
2109
2167
|
d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
|
|
2110
2168
|
key: "vktsd0"
|
|
2111
2169
|
}], ["circle", {
|
|
@@ -2114,7 +2172,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2114
2172
|
r: ".5",
|
|
2115
2173
|
fill: "currentColor",
|
|
2116
2174
|
key: "kqv944"
|
|
2117
|
-
}]]),
|
|
2175
|
+
}]]), Dt = A("tags", [
|
|
2118
2176
|
["path", {
|
|
2119
2177
|
d: "M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",
|
|
2120
2178
|
key: "16rjxf"
|
|
@@ -2130,7 +2188,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2130
2188
|
fill: "currentColor",
|
|
2131
2189
|
key: "12ikhr"
|
|
2132
2190
|
}]
|
|
2133
|
-
]),
|
|
2191
|
+
]), Ot = A("text-align-center", [
|
|
2134
2192
|
["path", {
|
|
2135
2193
|
d: "M21 5H3",
|
|
2136
2194
|
key: "1fi0y6"
|
|
@@ -2143,7 +2201,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2143
2201
|
d: "M19 19H5",
|
|
2144
2202
|
key: "vjpgq2"
|
|
2145
2203
|
}]
|
|
2146
|
-
]),
|
|
2204
|
+
]), kt = A("text-align-end", [
|
|
2147
2205
|
["path", {
|
|
2148
2206
|
d: "M21 5H3",
|
|
2149
2207
|
key: "1fi0y6"
|
|
@@ -2156,7 +2214,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2156
2214
|
d: "M21 19H7",
|
|
2157
2215
|
key: "4cu937"
|
|
2158
2216
|
}]
|
|
2159
|
-
]),
|
|
2217
|
+
]), At = A("text-align-start", [
|
|
2160
2218
|
["path", {
|
|
2161
2219
|
d: "M21 5H3",
|
|
2162
2220
|
key: "1fi0y6"
|
|
@@ -2169,7 +2227,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2169
2227
|
d: "M17 19H3",
|
|
2170
2228
|
key: "z6ezky"
|
|
2171
2229
|
}]
|
|
2172
|
-
]),
|
|
2230
|
+
]), jt = A("trash-2", [
|
|
2173
2231
|
["path", {
|
|
2174
2232
|
d: "M10 11v6",
|
|
2175
2233
|
key: "nco0om"
|
|
@@ -2190,7 +2248,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2190
2248
|
d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
|
|
2191
2249
|
key: "e791ji"
|
|
2192
2250
|
}]
|
|
2193
|
-
]),
|
|
2251
|
+
]), Mt = A("triangle-alert", [
|
|
2194
2252
|
["path", {
|
|
2195
2253
|
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
2196
2254
|
key: "wmoenq"
|
|
@@ -2203,7 +2261,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2203
2261
|
d: "M12 17h.01",
|
|
2204
2262
|
key: "p32p05"
|
|
2205
2263
|
}]
|
|
2206
|
-
]),
|
|
2264
|
+
]), Nt = A("truck", [
|
|
2207
2265
|
["path", {
|
|
2208
2266
|
d: "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",
|
|
2209
2267
|
key: "wrbu53"
|
|
@@ -2228,7 +2286,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2228
2286
|
r: "2",
|
|
2229
2287
|
key: "19iecd"
|
|
2230
2288
|
}]
|
|
2231
|
-
]),
|
|
2289
|
+
]), Pt = A("underline", [["path", {
|
|
2232
2290
|
d: "M6 4v6a6 6 0 0 0 12 0V4",
|
|
2233
2291
|
key: "9kb039"
|
|
2234
2292
|
}], ["line", {
|
|
@@ -2237,13 +2295,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2237
2295
|
y1: "20",
|
|
2238
2296
|
y2: "20",
|
|
2239
2297
|
key: "nun2al"
|
|
2240
|
-
}]]),
|
|
2298
|
+
}]]), Ft = A("undo-2", [["path", {
|
|
2241
2299
|
d: "M9 14 4 9l5-5",
|
|
2242
2300
|
key: "102s5s"
|
|
2243
2301
|
}], ["path", {
|
|
2244
2302
|
d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
|
|
2245
2303
|
key: "f3b9sd"
|
|
2246
|
-
}]]),
|
|
2304
|
+
}]]), It = A("ungroup", [["rect", {
|
|
2247
2305
|
x: "11",
|
|
2248
2306
|
y: "14",
|
|
2249
2307
|
width: "10",
|
|
@@ -2257,10 +2315,10 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2257
2315
|
height: "7",
|
|
2258
2316
|
rx: "2",
|
|
2259
2317
|
key: "1ljebb"
|
|
2260
|
-
}]]),
|
|
2318
|
+
}]]), Lt = A("unlink-2", [["path", {
|
|
2261
2319
|
d: "M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2",
|
|
2262
2320
|
key: "1re2ne"
|
|
2263
|
-
}]]),
|
|
2321
|
+
}]]), Rt = A("upload", [
|
|
2264
2322
|
["path", {
|
|
2265
2323
|
d: "M12 3v12",
|
|
2266
2324
|
key: "1x0j5s"
|
|
@@ -2273,7 +2331,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2273
2331
|
d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
|
|
2274
2332
|
key: "ih7n3h"
|
|
2275
2333
|
}]
|
|
2276
|
-
]),
|
|
2334
|
+
]), zt = A("user-plus", [
|
|
2277
2335
|
["path", {
|
|
2278
2336
|
d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
|
|
2279
2337
|
key: "1yyitq"
|
|
@@ -2298,7 +2356,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2298
2356
|
y2: "11",
|
|
2299
2357
|
key: "1shjgl"
|
|
2300
2358
|
}]
|
|
2301
|
-
]),
|
|
2359
|
+
]), Bt = A("user", [["path", {
|
|
2302
2360
|
d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",
|
|
2303
2361
|
key: "975kel"
|
|
2304
2362
|
}], ["circle", {
|
|
@@ -2306,7 +2364,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2306
2364
|
cy: "7",
|
|
2307
2365
|
r: "4",
|
|
2308
2366
|
key: "17ys0d"
|
|
2309
|
-
}]]),
|
|
2367
|
+
}]]), Vt = A("video", [["path", {
|
|
2310
2368
|
d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
|
|
2311
2369
|
key: "ftymec"
|
|
2312
2370
|
}], ["rect", {
|
|
@@ -2316,7 +2374,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2316
2374
|
height: "12",
|
|
2317
2375
|
rx: "2",
|
|
2318
2376
|
key: "158x01"
|
|
2319
|
-
}]]),
|
|
2377
|
+
}]]), Ht = A("wand-sparkles", [
|
|
2320
2378
|
["path", {
|
|
2321
2379
|
d: "m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",
|
|
2322
2380
|
key: "ul74o6"
|
|
@@ -2349,13 +2407,13 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2349
2407
|
d: "M11 3H9",
|
|
2350
2408
|
key: "1obp7u"
|
|
2351
2409
|
}]
|
|
2352
|
-
]),
|
|
2410
|
+
]), Ut = A("x", [["path", {
|
|
2353
2411
|
d: "M18 6 6 18",
|
|
2354
2412
|
key: "1bl5f8"
|
|
2355
2413
|
}], ["path", {
|
|
2356
2414
|
d: "m6 6 12 12",
|
|
2357
2415
|
key: "d8bk6v"
|
|
2358
|
-
}]]),
|
|
2416
|
+
}]]), Wt = A("zoom-in", [
|
|
2359
2417
|
["circle", {
|
|
2360
2418
|
cx: "11",
|
|
2361
2419
|
cy: "11",
|
|
@@ -2383,7 +2441,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2383
2441
|
y2: "11",
|
|
2384
2442
|
key: "durymu"
|
|
2385
2443
|
}]
|
|
2386
|
-
]),
|
|
2444
|
+
]), Gt = A("zoom-out", [
|
|
2387
2445
|
["circle", {
|
|
2388
2446
|
cx: "11",
|
|
2389
2447
|
cy: "11",
|
|
@@ -2404,7 +2462,7 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2404
2462
|
y2: "11",
|
|
2405
2463
|
key: "durymu"
|
|
2406
2464
|
}]
|
|
2407
|
-
]),
|
|
2465
|
+
]), Kt = ({ filter: e, onSelect: t, currentValue: n }) => {
|
|
2408
2466
|
let [r, i] = g(!1), a = h(null), o = h(null), [s, c] = g({
|
|
2409
2467
|
top: 0,
|
|
2410
2468
|
left: 0
|
|
@@ -2498,15 +2556,15 @@ var k = () => d(D), ae = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2498
2556
|
}, e.key);
|
|
2499
2557
|
})
|
|
2500
2558
|
}), document.body)] });
|
|
2501
|
-
},
|
|
2559
|
+
}, Q = {
|
|
2502
2560
|
backgroundImage: "linear-gradient(45deg, #8884 25%, transparent 25%), linear-gradient(-45deg, #8884 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #8884 75%), linear-gradient(-45deg, transparent 75%, #8884 75%)",
|
|
2503
2561
|
backgroundSize: "8px 8px",
|
|
2504
2562
|
backgroundPosition: "0 0, 0 4px, 4px -4px, -4px 0",
|
|
2505
2563
|
backgroundColor: "#fff"
|
|
2506
|
-
},
|
|
2507
|
-
|
|
2508
|
-
},
|
|
2509
|
-
function
|
|
2564
|
+
}, qt = 232, $ = (e, t, n) => Math.min(n, Math.max(t, e)), Jt = [], Yt = (e) => {
|
|
2565
|
+
Jt = [e, ...Jt.filter((t) => t !== e)].slice(0, 8);
|
|
2566
|
+
}, Xt = (e) => (e || "").trim().toLowerCase().startsWith("rgb") ? "rgba" : "hex";
|
|
2567
|
+
function Zt(e, t, n) {
|
|
2510
2568
|
let r = h(null), i = h(!1), a = (t) => {
|
|
2511
2569
|
let n = r.current?.getBoundingClientRect();
|
|
2512
2570
|
!n || !n.width || !n.height || e($((t.clientX - n.left) / n.width, 0, 1), $((t.clientY - n.top) / n.height, 0, 1));
|
|
@@ -2541,26 +2599,26 @@ function Yt(e, t, n) {
|
|
|
2541
2599
|
}
|
|
2542
2600
|
};
|
|
2543
2601
|
}
|
|
2544
|
-
var
|
|
2545
|
-
let x = c || "var(--builder-text-color, #e2e8f0)", re = l || "var(--builder-background-color, #0e1526)", S = _ || "var(--theme-accent, #6366f1)", C = "rgba(128,128,128,0.35)", [w, ie] = g(!1), [T, E] = g(null), [
|
|
2602
|
+
var Qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, compact: d, accentColor: _, swatches: ee, tokens: b, resolve: ne }) => {
|
|
2603
|
+
let x = c || "var(--builder-text-color, #e2e8f0)", re = l || "var(--builder-background-color, #0e1526)", S = _ || "var(--theme-accent, #6366f1)", C = "rgba(128,128,128,0.35)", [w, ie] = g(!1), [T, ae] = g("grid"), [E, D] = g(null), [O, k] = g(() => Xt(t)), [A, oe] = g(null), se = h(null), j = h(null), M = h(null), N = b?.find((e) => e.value === t), ce = m(() => /^\s*var\(/.test(t) ? ne?.(t) ?? N?.color ?? t : t, [
|
|
2546
2604
|
t,
|
|
2547
2605
|
ne,
|
|
2548
2606
|
N
|
|
2549
|
-
]), P = m(() => n(
|
|
2607
|
+
]), P = m(() => n(ce), [ce]), F = !t || t.trim().toLowerCase() === "transparent", le = !F && !P, I = h(P ?? {
|
|
2550
2608
|
r: 255,
|
|
2551
2609
|
g: 255,
|
|
2552
2610
|
b: 255
|
|
2553
2611
|
});
|
|
2554
2612
|
P && !F && (I.current = P);
|
|
2555
|
-
let [L,
|
|
2613
|
+
let [L, ue] = g(() => a(I.current)), [R, z] = g(() => F ? 0 : P?.a ?? 1), B = h(L);
|
|
2556
2614
|
B.current = L;
|
|
2557
2615
|
let V = h(R);
|
|
2558
2616
|
V.current = R;
|
|
2559
|
-
let H = h(
|
|
2560
|
-
H.current =
|
|
2617
|
+
let H = h(O);
|
|
2618
|
+
H.current = O;
|
|
2561
2619
|
let U = h(null);
|
|
2562
2620
|
f(() => {
|
|
2563
|
-
t === U.current && !N || (P && !F ? (
|
|
2621
|
+
t === U.current && !N || (P && !F ? (ue((e) => a(P, e)), z(P.a), N || k(Xt(t))) : F && z(0));
|
|
2564
2622
|
}, [
|
|
2565
2623
|
t,
|
|
2566
2624
|
P,
|
|
@@ -2574,23 +2632,23 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2574
2632
|
...a,
|
|
2575
2633
|
a: t
|
|
2576
2634
|
}, l = n === "rgba" ? o(c) : i(c);
|
|
2577
|
-
U.current = l,
|
|
2635
|
+
U.current = l, ue(e), z(t), s(l);
|
|
2578
2636
|
}, [s]), G = u((e, t) => {
|
|
2579
2637
|
if (t.trim().toLowerCase() === "transparent") {
|
|
2580
2638
|
U.current = "transparent", z(0), s("transparent");
|
|
2581
2639
|
return;
|
|
2582
2640
|
}
|
|
2583
2641
|
let n = /^\s*rgb/i.test(t) ? "rgba" : H.current;
|
|
2584
|
-
n !== H.current &&
|
|
2585
|
-
}, [W, s]),
|
|
2586
|
-
if (
|
|
2587
|
-
let e = n(
|
|
2588
|
-
e &&
|
|
2589
|
-
}, K =
|
|
2642
|
+
n !== H.current && k(n), W(a(e, B.current), e.a, n);
|
|
2643
|
+
}, [W, s]), de = () => {
|
|
2644
|
+
if (E === null) return;
|
|
2645
|
+
let e = n(E);
|
|
2646
|
+
e && E.trim() && G(e, E), D(null);
|
|
2647
|
+
}, K = E !== null && E.trim() !== "" && !n(E), fe = E ?? N?.label ?? t, q = u(() => {
|
|
2590
2648
|
let e = j.current?.getBoundingClientRect();
|
|
2591
2649
|
if (!e) return;
|
|
2592
|
-
let t = M.current?.offsetHeight ?? 340, n = $(e.right -
|
|
2593
|
-
|
|
2650
|
+
let t = M.current?.offsetHeight ?? 340, n = $(e.right - qt, 8, Math.max(8, window.innerWidth - qt - 8)), r = e.bottom + 6, i = r + t > window.innerHeight - 8 ? Math.max(8, e.top - t - 6) : r;
|
|
2651
|
+
oe({
|
|
2594
2652
|
top: i,
|
|
2595
2653
|
left: n
|
|
2596
2654
|
});
|
|
@@ -2599,7 +2657,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2599
2657
|
w && q();
|
|
2600
2658
|
}, [w, q]);
|
|
2601
2659
|
let J = u((e = !1) => {
|
|
2602
|
-
ie(!1), !F && P &&
|
|
2660
|
+
ie(!1), !F && P && Yt(i({
|
|
2603
2661
|
...I.current,
|
|
2604
2662
|
a: 1
|
|
2605
2663
|
})), e && j.current?.focus();
|
|
@@ -2622,7 +2680,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2622
2680
|
J,
|
|
2623
2681
|
q
|
|
2624
2682
|
]);
|
|
2625
|
-
let
|
|
2683
|
+
let pe = Zt((e, t) => W({
|
|
2626
2684
|
...B.current,
|
|
2627
2685
|
s: e * 100,
|
|
2628
2686
|
v: (1 - t) * 100
|
|
@@ -2630,13 +2688,13 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2630
2688
|
...B.current,
|
|
2631
2689
|
s: $(B.current.s + e, 0, 100),
|
|
2632
2690
|
v: $(B.current.v + t, 0, 100)
|
|
2633
|
-
}, V.current === 0 ? 1 : V.current), () => void 0),
|
|
2691
|
+
}, V.current === 0 ? 1 : V.current), () => void 0), me = Zt((e) => W({
|
|
2634
2692
|
...B.current,
|
|
2635
2693
|
h: e * 360
|
|
2636
2694
|
}, V.current === 0 ? 1 : V.current), (e) => W({
|
|
2637
2695
|
...B.current,
|
|
2638
2696
|
h: $(B.current.h + e * 2, 0, 360)
|
|
2639
|
-
}, V.current === 0 ? 1 : V.current), () => void 0),
|
|
2697
|
+
}, V.current === 0 ? 1 : V.current), () => void 0), he = Zt((e) => W(B.current, Math.round(e * 100) / 100), (e) => W(B.current, $(Math.round((V.current + e / 100) * 100) / 100, 0, 1)), () => void 0), Y = r(L.h, L.s, L.v), ge = `rgb(${Y.r}, ${Y.g}, ${Y.b})`, _e = F ? "transparent" : le ? t : P ? o(P) : "transparent", X = F, ve = typeof window < "u" && "EyeDropper" in window, ye = async () => {
|
|
2640
2698
|
try {
|
|
2641
2699
|
let e = window.EyeDropper, t = await new e().open(), r = n(t.sRGBHex);
|
|
2642
2700
|
r && G({
|
|
@@ -2644,14 +2702,14 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2644
2702
|
a: V.current === 0 ? 1 : V.current
|
|
2645
2703
|
}, t.sRGBHex);
|
|
2646
2704
|
} catch {}
|
|
2647
|
-
},
|
|
2648
|
-
let e =
|
|
2649
|
-
|
|
2650
|
-
},
|
|
2705
|
+
}, be = () => {
|
|
2706
|
+
let e = O === "hex" ? "rgba" : "hex";
|
|
2707
|
+
k(e), !F && P && W(B.current, V.current === 0 ? 1 : V.current, e);
|
|
2708
|
+
}, xe = (e) => {
|
|
2651
2709
|
e ? (U.current = "transparent", z(0), s("transparent")) : W(B.current, 1);
|
|
2652
|
-
},
|
|
2710
|
+
}, Se = [...ee ?? [], ...Jt.filter((e) => !(ee ?? []).includes(e))].slice(0, 14), Ce = /* @__PURE__ */ v("input", {
|
|
2653
2711
|
type: "text",
|
|
2654
|
-
value:
|
|
2712
|
+
value: fe,
|
|
2655
2713
|
spellCheck: !1,
|
|
2656
2714
|
autoComplete: "off",
|
|
2657
2715
|
"aria-label": e ? `${e} colour code` : "Colour code",
|
|
@@ -2660,7 +2718,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2660
2718
|
onFocus: (e) => e.currentTarget.select(),
|
|
2661
2719
|
onChange: (e) => {
|
|
2662
2720
|
let t = e.target.value;
|
|
2663
|
-
|
|
2721
|
+
D(t);
|
|
2664
2722
|
let c = n(t);
|
|
2665
2723
|
if (c && t.trim()) {
|
|
2666
2724
|
let e = /^\s*rgb/i.test(t) ? "rgba" : H.current;
|
|
@@ -2673,7 +2731,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2673
2731
|
...n,
|
|
2674
2732
|
a: c.a
|
|
2675
2733
|
});
|
|
2676
|
-
U.current = l,
|
|
2734
|
+
U.current = l, ue(t), z(c.a), s(l);
|
|
2677
2735
|
}
|
|
2678
2736
|
}
|
|
2679
2737
|
},
|
|
@@ -2682,15 +2740,15 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2682
2740
|
if (!t) return;
|
|
2683
2741
|
e.preventDefault();
|
|
2684
2742
|
let r = n(t);
|
|
2685
|
-
r ? (G(r, t),
|
|
2743
|
+
r ? (G(r, t), D(null)) : D(t);
|
|
2686
2744
|
},
|
|
2687
|
-
onBlur:
|
|
2745
|
+
onBlur: de,
|
|
2688
2746
|
onKeyDown: (e) => {
|
|
2689
|
-
e.key === "Enter" ? (e.preventDefault(),
|
|
2747
|
+
e.key === "Enter" ? (e.preventDefault(), de(), e.target.blur()) : e.key === "Escape" && (D(null), e.target.blur());
|
|
2690
2748
|
},
|
|
2691
2749
|
className: `${d ? "flex-1 min-w-0" : "w-24"} bg-transparent font-mono text-xs outline-none rounded px-1.5 py-1 border`,
|
|
2692
2750
|
style: {
|
|
2693
|
-
color: N &&
|
|
2751
|
+
color: N && E === null ? S : x,
|
|
2694
2752
|
borderColor: K ? "#f43f5e" : "transparent"
|
|
2695
2753
|
},
|
|
2696
2754
|
title: N ? `${N.hint ? `${N.hint} · ` : ""}${N.label} in Strata` : void 0,
|
|
@@ -2700,7 +2758,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2700
2758
|
onMouseLeave: (e) => {
|
|
2701
2759
|
!K && document.activeElement !== e.currentTarget && (e.currentTarget.style.borderColor = "transparent");
|
|
2702
2760
|
}
|
|
2703
|
-
}),
|
|
2761
|
+
}), we = /* @__PURE__ */ y("button", {
|
|
2704
2762
|
ref: j,
|
|
2705
2763
|
type: "button",
|
|
2706
2764
|
onClick: () => ie((e) => !e),
|
|
@@ -2709,26 +2767,26 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2709
2767
|
"aria-label": `${e ?? "Colour"}: ${t || "none"}. Open colour picker`,
|
|
2710
2768
|
className: "relative w-6 h-6 rounded-md overflow-hidden shrink-0 focus:outline-none",
|
|
2711
2769
|
style: {
|
|
2712
|
-
...
|
|
2770
|
+
...Q,
|
|
2713
2771
|
border: `1px solid ${C}`,
|
|
2714
2772
|
boxShadow: w ? `0 0 0 2px ${S}` : void 0
|
|
2715
2773
|
},
|
|
2716
2774
|
children: [/* @__PURE__ */ v("span", {
|
|
2717
2775
|
className: "absolute inset-0",
|
|
2718
|
-
style: { backgroundColor:
|
|
2776
|
+
style: { backgroundColor: _e }
|
|
2719
2777
|
}), F && /* @__PURE__ */ v("span", { className: "absolute left-0 right-0 top-1/2 h-0.5 bg-rose-500 rotate-45 scale-110" })]
|
|
2720
|
-
}),
|
|
2778
|
+
}), Te = se.current?.closest(".plexo-editor") ?? (typeof document < "u" ? document.body : null), Ee = w && Te ? te.createPortal(/* @__PURE__ */ y("div", {
|
|
2721
2779
|
ref: M,
|
|
2722
2780
|
role: "dialog",
|
|
2723
2781
|
"aria-label": "Colour picker",
|
|
2724
2782
|
tabIndex: -1,
|
|
2725
2783
|
style: {
|
|
2726
2784
|
position: "fixed",
|
|
2727
|
-
top:
|
|
2728
|
-
left:
|
|
2729
|
-
visibility:
|
|
2785
|
+
top: A?.top ?? 0,
|
|
2786
|
+
left: A?.left ?? 0,
|
|
2787
|
+
visibility: A ? "visible" : "hidden",
|
|
2730
2788
|
zIndex: 2147483e3,
|
|
2731
|
-
width:
|
|
2789
|
+
width: qt,
|
|
2732
2790
|
boxSizing: "border-box",
|
|
2733
2791
|
padding: 12,
|
|
2734
2792
|
display: "flex",
|
|
@@ -2743,21 +2801,21 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2743
2801
|
},
|
|
2744
2802
|
children: [
|
|
2745
2803
|
/* @__PURE__ */ y("div", {
|
|
2746
|
-
ref:
|
|
2747
|
-
...
|
|
2804
|
+
ref: pe.ref,
|
|
2805
|
+
...pe.props,
|
|
2748
2806
|
role: "slider",
|
|
2749
2807
|
"aria-label": "Saturation and brightness",
|
|
2750
2808
|
"aria-valuetext": `Saturation ${Math.round(L.s)}%, brightness ${Math.round(L.v)}%`,
|
|
2751
2809
|
"aria-valuenow": Math.round(L.s),
|
|
2752
2810
|
style: {
|
|
2753
|
-
...
|
|
2811
|
+
...pe.props.style,
|
|
2754
2812
|
position: "relative",
|
|
2755
2813
|
height: 120,
|
|
2756
2814
|
borderRadius: 8,
|
|
2757
2815
|
cursor: "crosshair",
|
|
2758
2816
|
overflow: "hidden",
|
|
2759
|
-
opacity:
|
|
2760
|
-
pointerEvents:
|
|
2817
|
+
opacity: X ? .35 : 1,
|
|
2818
|
+
pointerEvents: X ? "none" : "auto",
|
|
2761
2819
|
backgroundColor: `hsl(${L.h}, 100%, 50%)`
|
|
2762
2820
|
},
|
|
2763
2821
|
children: [
|
|
@@ -2782,7 +2840,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2782
2840
|
borderRadius: 999,
|
|
2783
2841
|
border: "2px solid #fff",
|
|
2784
2842
|
boxShadow: "0 0 0 1px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.4)",
|
|
2785
|
-
backgroundColor:
|
|
2843
|
+
backgroundColor: ge,
|
|
2786
2844
|
pointerEvents: "none"
|
|
2787
2845
|
} })
|
|
2788
2846
|
]
|
|
@@ -2793,9 +2851,9 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2793
2851
|
alignItems: "center",
|
|
2794
2852
|
gap: 8
|
|
2795
2853
|
},
|
|
2796
|
-
children: [
|
|
2854
|
+
children: [ve && /* @__PURE__ */ v("button", {
|
|
2797
2855
|
type: "button",
|
|
2798
|
-
onClick:
|
|
2856
|
+
onClick: ye,
|
|
2799
2857
|
title: "Pick a colour from the screen",
|
|
2800
2858
|
"aria-label": "Pick a colour from the screen",
|
|
2801
2859
|
style: {
|
|
@@ -2828,22 +2886,22 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2828
2886
|
]
|
|
2829
2887
|
})
|
|
2830
2888
|
}), /* @__PURE__ */ v("div", {
|
|
2831
|
-
ref:
|
|
2832
|
-
...
|
|
2889
|
+
ref: me.ref,
|
|
2890
|
+
...me.props,
|
|
2833
2891
|
role: "slider",
|
|
2834
2892
|
"aria-label": "Hue",
|
|
2835
2893
|
"aria-valuemin": 0,
|
|
2836
2894
|
"aria-valuemax": 360,
|
|
2837
2895
|
"aria-valuenow": Math.round(L.h),
|
|
2838
2896
|
style: {
|
|
2839
|
-
...
|
|
2897
|
+
...me.props.style,
|
|
2840
2898
|
position: "relative",
|
|
2841
2899
|
flex: 1,
|
|
2842
2900
|
height: 10,
|
|
2843
2901
|
borderRadius: 999,
|
|
2844
2902
|
cursor: "pointer",
|
|
2845
|
-
opacity:
|
|
2846
|
-
pointerEvents:
|
|
2903
|
+
opacity: X ? .35 : 1,
|
|
2904
|
+
pointerEvents: X ? "none" : "auto",
|
|
2847
2905
|
background: "linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"
|
|
2848
2906
|
},
|
|
2849
2907
|
children: /* @__PURE__ */ v("div", { style: {
|
|
@@ -2883,28 +2941,28 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2883
2941
|
children: [Math.round(R * 100), "%"]
|
|
2884
2942
|
})]
|
|
2885
2943
|
}), /* @__PURE__ */ y("div", {
|
|
2886
|
-
ref:
|
|
2887
|
-
...
|
|
2944
|
+
ref: he.ref,
|
|
2945
|
+
...he.props,
|
|
2888
2946
|
role: "slider",
|
|
2889
2947
|
"aria-label": "Opacity",
|
|
2890
2948
|
"aria-valuemin": 0,
|
|
2891
2949
|
"aria-valuemax": 100,
|
|
2892
2950
|
"aria-valuenow": Math.round(R * 100),
|
|
2893
2951
|
style: {
|
|
2894
|
-
...
|
|
2895
|
-
...
|
|
2952
|
+
...he.props.style,
|
|
2953
|
+
...Q,
|
|
2896
2954
|
position: "relative",
|
|
2897
2955
|
height: 10,
|
|
2898
2956
|
borderRadius: 999,
|
|
2899
2957
|
cursor: "pointer",
|
|
2900
|
-
opacity:
|
|
2901
|
-
pointerEvents:
|
|
2958
|
+
opacity: X ? .35 : 1,
|
|
2959
|
+
pointerEvents: X ? "none" : "auto"
|
|
2902
2960
|
},
|
|
2903
2961
|
children: [/* @__PURE__ */ v("div", { style: {
|
|
2904
2962
|
position: "absolute",
|
|
2905
2963
|
inset: 0,
|
|
2906
2964
|
borderRadius: 999,
|
|
2907
|
-
background: `linear-gradient(to right, rgba(${
|
|
2965
|
+
background: `linear-gradient(to right, rgba(${Y.r},${Y.g},${Y.b},0), ${ge})`
|
|
2908
2966
|
} }), /* @__PURE__ */ v("div", { style: {
|
|
2909
2967
|
position: "absolute",
|
|
2910
2968
|
top: "50%",
|
|
@@ -2916,7 +2974,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2916
2974
|
borderRadius: 999,
|
|
2917
2975
|
border: "2px solid #fff",
|
|
2918
2976
|
boxShadow: "0 0 0 1px rgba(0,0,0,0.4)",
|
|
2919
|
-
backgroundColor:
|
|
2977
|
+
backgroundColor: ge,
|
|
2920
2978
|
pointerEvents: "none"
|
|
2921
2979
|
} })]
|
|
2922
2980
|
})]
|
|
@@ -2928,11 +2986,99 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2928
2986
|
gap: 6
|
|
2929
2987
|
},
|
|
2930
2988
|
children: [
|
|
2931
|
-
/* @__PURE__ */
|
|
2932
|
-
style: {
|
|
2933
|
-
|
|
2989
|
+
/* @__PURE__ */ y("div", {
|
|
2990
|
+
style: {
|
|
2991
|
+
display: "flex",
|
|
2992
|
+
alignItems: "center",
|
|
2993
|
+
justifyContent: "space-between"
|
|
2994
|
+
},
|
|
2995
|
+
children: [/* @__PURE__ */ v("div", {
|
|
2996
|
+
style: {
|
|
2997
|
+
fontWeight: 600,
|
|
2998
|
+
fontSize: 12
|
|
2999
|
+
},
|
|
3000
|
+
children: "Brand colours"
|
|
3001
|
+
}), /* @__PURE__ */ y("div", {
|
|
3002
|
+
style: {
|
|
3003
|
+
display: "flex",
|
|
3004
|
+
gap: 2
|
|
3005
|
+
},
|
|
3006
|
+
children: [/* @__PURE__ */ v("button", {
|
|
3007
|
+
type: "button",
|
|
3008
|
+
title: "Grid view",
|
|
3009
|
+
"aria-label": "Grid view",
|
|
3010
|
+
onClick: () => ae("grid"),
|
|
3011
|
+
style: {
|
|
3012
|
+
padding: "2px 4px",
|
|
3013
|
+
border: "none",
|
|
3014
|
+
background: T === "grid" ? "rgba(128,128,128,0.25)" : "transparent",
|
|
3015
|
+
borderRadius: 4,
|
|
3016
|
+
color: x,
|
|
3017
|
+
cursor: "pointer",
|
|
3018
|
+
display: "flex",
|
|
3019
|
+
alignItems: "center"
|
|
3020
|
+
},
|
|
3021
|
+
children: /* @__PURE__ */ v(Pe, { size: 13 })
|
|
3022
|
+
}), /* @__PURE__ */ v("button", {
|
|
3023
|
+
type: "button",
|
|
3024
|
+
title: "List view",
|
|
3025
|
+
"aria-label": "List view",
|
|
3026
|
+
onClick: () => ae("list"),
|
|
3027
|
+
style: {
|
|
3028
|
+
padding: "2px 4px",
|
|
3029
|
+
border: "none",
|
|
3030
|
+
background: T === "list" ? "rgba(128,128,128,0.25)" : "transparent",
|
|
3031
|
+
borderRadius: 4,
|
|
3032
|
+
color: x,
|
|
3033
|
+
cursor: "pointer",
|
|
3034
|
+
display: "flex",
|
|
3035
|
+
alignItems: "center"
|
|
3036
|
+
},
|
|
3037
|
+
children: /* @__PURE__ */ v(Re, { size: 13 })
|
|
3038
|
+
})]
|
|
3039
|
+
})]
|
|
2934
3040
|
}),
|
|
2935
|
-
/* @__PURE__ */ v("div", {
|
|
3041
|
+
T === "grid" ? /* @__PURE__ */ v("div", {
|
|
3042
|
+
role: "listbox",
|
|
3043
|
+
"aria-label": "Brand colours",
|
|
3044
|
+
style: {
|
|
3045
|
+
display: "flex",
|
|
3046
|
+
flexWrap: "wrap",
|
|
3047
|
+
gap: 6,
|
|
3048
|
+
maxHeight: 110,
|
|
3049
|
+
overflowY: "auto"
|
|
3050
|
+
},
|
|
3051
|
+
children: b.map((e) => {
|
|
3052
|
+
let n = e.value === t;
|
|
3053
|
+
return /* @__PURE__ */ v("button", {
|
|
3054
|
+
type: "button",
|
|
3055
|
+
role: "option",
|
|
3056
|
+
"aria-selected": n,
|
|
3057
|
+
title: e.hint ? `${e.hint} — ${e.label}` : e.label,
|
|
3058
|
+
"aria-label": `Use ${e.label}`,
|
|
3059
|
+
onClick: () => {
|
|
3060
|
+
U.current = e.value, s(e.value);
|
|
3061
|
+
},
|
|
3062
|
+
style: {
|
|
3063
|
+
...Q,
|
|
3064
|
+
position: "relative",
|
|
3065
|
+
width: 22,
|
|
3066
|
+
height: 22,
|
|
3067
|
+
borderRadius: 6,
|
|
3068
|
+
border: n ? "2px solid #3b82f6" : `1px solid ${C}`,
|
|
3069
|
+
padding: 0,
|
|
3070
|
+
cursor: "pointer",
|
|
3071
|
+
overflow: "hidden",
|
|
3072
|
+
boxShadow: n ? "0 0 0 1px #3b82f6" : "none"
|
|
3073
|
+
},
|
|
3074
|
+
children: /* @__PURE__ */ v("span", { style: {
|
|
3075
|
+
position: "absolute",
|
|
3076
|
+
inset: 0,
|
|
3077
|
+
backgroundColor: e.color
|
|
3078
|
+
} })
|
|
3079
|
+
}, e.value);
|
|
3080
|
+
})
|
|
3081
|
+
}) : /* @__PURE__ */ v("div", {
|
|
2936
3082
|
role: "listbox",
|
|
2937
3083
|
"aria-label": "Brand colours",
|
|
2938
3084
|
style: {
|
|
@@ -2967,7 +3113,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2967
3113
|
},
|
|
2968
3114
|
children: [/* @__PURE__ */ v("span", {
|
|
2969
3115
|
style: {
|
|
2970
|
-
...
|
|
3116
|
+
...Q,
|
|
2971
3117
|
position: "relative",
|
|
2972
3118
|
width: 18,
|
|
2973
3119
|
height: 18,
|
|
@@ -3007,13 +3153,13 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3007
3153
|
})
|
|
3008
3154
|
]
|
|
3009
3155
|
}),
|
|
3010
|
-
|
|
3156
|
+
Se.length > 0 && /* @__PURE__ */ v("div", {
|
|
3011
3157
|
style: {
|
|
3012
3158
|
display: "flex",
|
|
3013
3159
|
flexWrap: "wrap",
|
|
3014
3160
|
gap: 6
|
|
3015
3161
|
},
|
|
3016
|
-
children:
|
|
3162
|
+
children: Se.map((e) => /* @__PURE__ */ v("button", {
|
|
3017
3163
|
type: "button",
|
|
3018
3164
|
title: e,
|
|
3019
3165
|
"aria-label": `Use ${e}`,
|
|
@@ -3022,7 +3168,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3022
3168
|
t && G(t, e);
|
|
3023
3169
|
},
|
|
3024
3170
|
style: {
|
|
3025
|
-
...
|
|
3171
|
+
...Q,
|
|
3026
3172
|
position: "relative",
|
|
3027
3173
|
width: 20,
|
|
3028
3174
|
height: 20,
|
|
@@ -3049,8 +3195,8 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3049
3195
|
},
|
|
3050
3196
|
children: [/* @__PURE__ */ v("button", {
|
|
3051
3197
|
type: "button",
|
|
3052
|
-
onClick:
|
|
3053
|
-
title: `Write colours as ${
|
|
3198
|
+
onClick: be,
|
|
3199
|
+
title: `Write colours as ${O === "hex" ? "RGBA" : "HEX"}`,
|
|
3054
3200
|
style: {
|
|
3055
3201
|
padding: "3px 8px",
|
|
3056
3202
|
borderRadius: 6,
|
|
@@ -3062,7 +3208,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3062
3208
|
fontWeight: 700,
|
|
3063
3209
|
letterSpacing: "0.05em"
|
|
3064
3210
|
},
|
|
3065
|
-
children:
|
|
3211
|
+
children: O === "hex" ? "HEX" : "RGBA"
|
|
3066
3212
|
}), /* @__PURE__ */ y("label", {
|
|
3067
3213
|
style: {
|
|
3068
3214
|
display: "flex",
|
|
@@ -3076,7 +3222,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3076
3222
|
role: "switch",
|
|
3077
3223
|
"aria-checked": F,
|
|
3078
3224
|
"aria-label": "Transparent",
|
|
3079
|
-
onClick: () =>
|
|
3225
|
+
onClick: () => xe(!F),
|
|
3080
3226
|
style: {
|
|
3081
3227
|
position: "relative",
|
|
3082
3228
|
width: 30,
|
|
@@ -3102,7 +3248,7 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3102
3248
|
})]
|
|
3103
3249
|
})]
|
|
3104
3250
|
}),
|
|
3105
|
-
|
|
3251
|
+
le && !N && /* @__PURE__ */ v("p", {
|
|
3106
3252
|
style: {
|
|
3107
3253
|
margin: 0,
|
|
3108
3254
|
fontSize: 11,
|
|
@@ -3111,10 +3257,10 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3111
3257
|
children: "This colour comes from a setting the picker can't show. Picking a colour replaces it."
|
|
3112
3258
|
})
|
|
3113
3259
|
]
|
|
3114
|
-
}),
|
|
3260
|
+
}), Te) : null, De = (e) => {
|
|
3115
3261
|
let t = n(e);
|
|
3116
3262
|
return !!t && !!P && i(t) === i(P);
|
|
3117
|
-
},
|
|
3263
|
+
}, Z = !N && !F && P ? b?.find((e) => De(e.color)) : void 0, Oe = N ? /* @__PURE__ */ v("button", {
|
|
3118
3264
|
type: "button",
|
|
3119
3265
|
onClick: () => {
|
|
3120
3266
|
let e = P ? i(P) : N.color;
|
|
@@ -3128,17 +3274,17 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3128
3274
|
border: `1px solid ${C}`,
|
|
3129
3275
|
background: "transparent"
|
|
3130
3276
|
},
|
|
3131
|
-
children: /* @__PURE__ */ v(
|
|
3277
|
+
children: /* @__PURE__ */ v(Lt, {
|
|
3132
3278
|
width: 13,
|
|
3133
3279
|
height: 13
|
|
3134
3280
|
})
|
|
3135
|
-
}) :
|
|
3281
|
+
}) : Z ? /* @__PURE__ */ v("button", {
|
|
3136
3282
|
type: "button",
|
|
3137
3283
|
onClick: () => {
|
|
3138
|
-
U.current =
|
|
3284
|
+
U.current = Z.value, s(Z.value);
|
|
3139
3285
|
},
|
|
3140
|
-
title: `This is ${
|
|
3141
|
-
"aria-label": `Link to ${
|
|
3286
|
+
title: `This is ${Z.label}. Link it so it follows the brand.`,
|
|
3287
|
+
"aria-label": `Link to ${Z.label}`,
|
|
3142
3288
|
className: "shrink-0 w-6 h-6 rounded-md flex items-center justify-center cursor-pointer",
|
|
3143
3289
|
style: {
|
|
3144
3290
|
color: x,
|
|
@@ -3146,32 +3292,32 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3146
3292
|
border: `1px solid ${C}`,
|
|
3147
3293
|
background: "transparent"
|
|
3148
3294
|
},
|
|
3149
|
-
children: /* @__PURE__ */ v(
|
|
3295
|
+
children: /* @__PURE__ */ v(Le, {
|
|
3150
3296
|
width: 13,
|
|
3151
3297
|
height: 13
|
|
3152
3298
|
})
|
|
3153
|
-
}) : null,
|
|
3299
|
+
}) : null, ke = /* @__PURE__ */ v(Kt, {
|
|
3154
3300
|
filter: (e) => e.type === "color" || /^#[0-9a-fA-F]{3,8}$|^rgba?\(|^hsla?\(/.test(e.value),
|
|
3155
3301
|
onSelect: s,
|
|
3156
3302
|
currentValue: t
|
|
3157
3303
|
});
|
|
3158
3304
|
return d ? /* @__PURE__ */ y("div", {
|
|
3159
|
-
ref:
|
|
3305
|
+
ref: se,
|
|
3160
3306
|
className: "relative flex items-center gap-1.5 w-full min-w-0",
|
|
3161
3307
|
children: [
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3308
|
+
we,
|
|
3309
|
+
Ce,
|
|
3310
|
+
Oe,
|
|
3311
|
+
ke,
|
|
3166
3312
|
K && /* @__PURE__ */ v("span", {
|
|
3167
3313
|
className: "sr-only",
|
|
3168
3314
|
role: "alert",
|
|
3169
3315
|
children: "That isn't a colour. Try something like #3b82f6."
|
|
3170
3316
|
}),
|
|
3171
|
-
|
|
3317
|
+
Ee
|
|
3172
3318
|
]
|
|
3173
3319
|
}) : /* @__PURE__ */ y("div", {
|
|
3174
|
-
ref:
|
|
3320
|
+
ref: se,
|
|
3175
3321
|
className: "relative flex flex-col border-b border-slate-800/10 last:border-b-0 py-3",
|
|
3176
3322
|
children: [
|
|
3177
3323
|
/* @__PURE__ */ y("div", {
|
|
@@ -3183,10 +3329,10 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3183
3329
|
}), /* @__PURE__ */ y("div", {
|
|
3184
3330
|
className: "flex items-center gap-2 min-w-0",
|
|
3185
3331
|
children: [
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3332
|
+
Ce,
|
|
3333
|
+
Oe,
|
|
3334
|
+
ke,
|
|
3335
|
+
we
|
|
3190
3336
|
]
|
|
3191
3337
|
})]
|
|
3192
3338
|
}),
|
|
@@ -3196,9 +3342,9 @@ var Xt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3196
3342
|
style: { color: "#fb7185" },
|
|
3197
3343
|
children: "That isn't a colour. Try something like #3b82f6."
|
|
3198
3344
|
}),
|
|
3199
|
-
|
|
3345
|
+
Ee
|
|
3200
3346
|
]
|
|
3201
3347
|
});
|
|
3202
3348
|
};
|
|
3203
3349
|
//#endregion
|
|
3204
|
-
export {
|
|
3350
|
+
export { Ye as $, L as $t, vt as A, ye as At, ct as B, q as Bt, Tt as C, Ee as Ct, xt as D, Se as Dt, St as E, Ce as Et, pt as F, Y as Ft, rt as G, W as Gt, ot as H, K as Ht, ft as I, he as It, et as J, V as Jt, nt as K, U as Kt, dt as L, me as Lt, gt as M, X as Mt, ht as N, _e as Nt, bt as O, xe as Ot, mt as P, ge as Pt, Xe as Q, ue as Qt, ut as R, pe as Rt, Et as S, De as St, Ct as T, we as Tt, at as U, de as Ut, st as V, fe as Vt, it as W, G as Wt, Qe as X, z as Xt, $e as Y, B as Yt, Ze as Z, R as Zt, jt as _, je as _t, Ut as a, N as an, Ue as at, Ot as b, Oe as bt, Bt as c, se as cn, Be as ct, Lt as d, k as dn, Le as dt, I as en, Je as et, It as f, D as fn, Ie as ft, Mt as g, Me as gt, Nt as h, Ne as ht, Wt as i, ce as in, We as it, _t as j, ve as jt, yt as k, be as kt, zt as l, oe as ln, ze as lt, Pt as m, re as mn, Pe as mt, Kt as n, F as nn, Ke as nt, Ht as o, M as on, He as ot, Ft as p, O as pn, Fe as pt, tt as q, H as qt, Gt as r, P as rn, Ge as rt, Vt as s, j as sn, Ve as st, Qt as t, le as tn, qe as tt, Rt as u, A as un, Re as ut, At as v, Ae as vt, wt as w, Te as wt, Dt as x, Z as xt, kt as y, ke as yt, lt as z, J as zt };
|