@charisol/plexo-sdk 2.0.10 → 2.0.12
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-D_e4wVL8.js → InlineColorPicker-BaWBhgH4.js} +76 -59
- package/dist/{client-fhZP1U3m.js → client-C4x8S8h9.js} +1 -1
- package/dist/index.js +10322 -10339
- package/dist/{lint-R02q3_M0.js → lint-BWdiaRwp.js} +94 -78
- package/dist/plexo-sdk.css +1 -1
- package/dist/{v1-D3FlzDvV.js → v1-CvwbXOzF.js} +504 -426
- package/dist/v2/components/design/TidyView.d.ts +1 -1
- package/dist/v2/components/design/useStrataSync.d.ts +3 -1
- package/dist/v2/design/audit.d.ts +14 -0
- package/dist/v2/design/index.d.ts +1 -1
- package/dist/v2/design/lint.d.ts +0 -6
- package/dist/v2/strata/types.d.ts +7 -2
- package/dist/v2-compile.js +6 -6
- package/dist/v2-strata.js +1 -1
- package/dist/v2.js +2578 -2445
- package/package.json +1 -1
|
@@ -1797,13 +1797,30 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1797
1797
|
d: "M8 16H3v5",
|
|
1798
1798
|
key: "1cv678"
|
|
1799
1799
|
}]
|
|
1800
|
-
]), rt = M("
|
|
1800
|
+
]), rt = M("repeat", [
|
|
1801
|
+
["path", {
|
|
1802
|
+
d: "m17 2 4 4-4 4",
|
|
1803
|
+
key: "nntrym"
|
|
1804
|
+
}],
|
|
1805
|
+
["path", {
|
|
1806
|
+
d: "M3 11v-1a4 4 0 0 1 4-4h14",
|
|
1807
|
+
key: "84bu3i"
|
|
1808
|
+
}],
|
|
1809
|
+
["path", {
|
|
1810
|
+
d: "m7 22-4-4 4-4",
|
|
1811
|
+
key: "1wqhfi"
|
|
1812
|
+
}],
|
|
1813
|
+
["path", {
|
|
1814
|
+
d: "M21 13v1a4 4 0 0 1-4 4H3",
|
|
1815
|
+
key: "1rx37r"
|
|
1816
|
+
}]
|
|
1817
|
+
]), it = M("rotate-ccw", [["path", {
|
|
1801
1818
|
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
|
|
1802
1819
|
key: "1357e3"
|
|
1803
1820
|
}], ["path", {
|
|
1804
1821
|
d: "M3 3v5h5",
|
|
1805
1822
|
key: "1xhq8a"
|
|
1806
|
-
}]]),
|
|
1823
|
+
}]]), at = M("search", [["path", {
|
|
1807
1824
|
d: "m21 21-4.34-4.34",
|
|
1808
1825
|
key: "14j7rj"
|
|
1809
1826
|
}], ["circle", {
|
|
@@ -1811,13 +1828,13 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1811
1828
|
cy: "11",
|
|
1812
1829
|
r: "8",
|
|
1813
1830
|
key: "4ej97u"
|
|
1814
|
-
}]]),
|
|
1831
|
+
}]]), ot = M("send", [["path", {
|
|
1815
1832
|
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",
|
|
1816
1833
|
key: "1ffxy3"
|
|
1817
1834
|
}], ["path", {
|
|
1818
1835
|
d: "m21.854 2.147-10.94 10.939",
|
|
1819
1836
|
key: "12cjpa"
|
|
1820
|
-
}]]),
|
|
1837
|
+
}]]), st = M("settings", [["path", {
|
|
1821
1838
|
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",
|
|
1822
1839
|
key: "1i5ecw"
|
|
1823
1840
|
}], ["circle", {
|
|
@@ -1825,7 +1842,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1825
1842
|
cy: "12",
|
|
1826
1843
|
r: "3",
|
|
1827
1844
|
key: "1v7zrd"
|
|
1828
|
-
}]]),
|
|
1845
|
+
}]]), ct = M("share-2", [
|
|
1829
1846
|
["circle", {
|
|
1830
1847
|
cx: "18",
|
|
1831
1848
|
cy: "5",
|
|
@@ -1858,7 +1875,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1858
1875
|
y2: "10.49",
|
|
1859
1876
|
key: "1n3mei"
|
|
1860
1877
|
}]
|
|
1861
|
-
]),
|
|
1878
|
+
]), lt = M("shopping-bag", [
|
|
1862
1879
|
["path", {
|
|
1863
1880
|
d: "M16 10a4 4 0 0 1-8 0",
|
|
1864
1881
|
key: "1ltviw"
|
|
@@ -1871,7 +1888,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1871
1888
|
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",
|
|
1872
1889
|
key: "o988cm"
|
|
1873
1890
|
}]
|
|
1874
|
-
]),
|
|
1891
|
+
]), ut = M("shopping-cart", [
|
|
1875
1892
|
["circle", {
|
|
1876
1893
|
cx: "8",
|
|
1877
1894
|
cy: "21",
|
|
@@ -1888,7 +1905,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1888
1905
|
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",
|
|
1889
1906
|
key: "9zh506"
|
|
1890
1907
|
}]
|
|
1891
|
-
]),
|
|
1908
|
+
]), dt = M("sliders-horizontal", [
|
|
1892
1909
|
["path", {
|
|
1893
1910
|
d: "M10 5H3",
|
|
1894
1911
|
key: "1qgfaw"
|
|
@@ -1925,7 +1942,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1925
1942
|
d: "M8 12H3",
|
|
1926
1943
|
key: "a7s4jb"
|
|
1927
1944
|
}]
|
|
1928
|
-
]),
|
|
1945
|
+
]), ft = M("sliders-vertical", [
|
|
1929
1946
|
["path", {
|
|
1930
1947
|
d: "M10 8h4",
|
|
1931
1948
|
key: "1sr2af"
|
|
@@ -1962,7 +1979,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1962
1979
|
d: "M5 21v-7",
|
|
1963
1980
|
key: "1w1uti"
|
|
1964
1981
|
}]
|
|
1965
|
-
]),
|
|
1982
|
+
]), pt = M("smartphone", [["rect", {
|
|
1966
1983
|
width: "14",
|
|
1967
1984
|
height: "20",
|
|
1968
1985
|
x: "5",
|
|
@@ -1973,7 +1990,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1973
1990
|
}], ["path", {
|
|
1974
1991
|
d: "M12 18h.01",
|
|
1975
1992
|
key: "mhygvu"
|
|
1976
|
-
}]]),
|
|
1993
|
+
}]]), mt = M("smile", [
|
|
1977
1994
|
["circle", {
|
|
1978
1995
|
cx: "12",
|
|
1979
1996
|
cy: "12",
|
|
@@ -1998,13 +2015,13 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
1998
2015
|
y2: "9",
|
|
1999
2016
|
key: "1p4y9e"
|
|
2000
2017
|
}]
|
|
2001
|
-
]),
|
|
2018
|
+
]), ht = M("square-check-big", [["path", {
|
|
2002
2019
|
d: "M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",
|
|
2003
2020
|
key: "2acyp4"
|
|
2004
2021
|
}], ["path", {
|
|
2005
2022
|
d: "m9 11 3 3L22 4",
|
|
2006
2023
|
key: "1pflzl"
|
|
2007
|
-
}]]),
|
|
2024
|
+
}]]), gt = M("square-chevron-down", [["rect", {
|
|
2008
2025
|
width: "18",
|
|
2009
2026
|
height: "18",
|
|
2010
2027
|
x: "3",
|
|
@@ -2014,17 +2031,17 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2014
2031
|
}], ["path", {
|
|
2015
2032
|
d: "m16 10-4 4-4-4",
|
|
2016
2033
|
key: "894hmk"
|
|
2017
|
-
}]]),
|
|
2034
|
+
}]]), _t = M("square", [["rect", {
|
|
2018
2035
|
width: "18",
|
|
2019
2036
|
height: "18",
|
|
2020
2037
|
x: "3",
|
|
2021
2038
|
y: "3",
|
|
2022
2039
|
rx: "2",
|
|
2023
2040
|
key: "afitv7"
|
|
2024
|
-
}]]),
|
|
2041
|
+
}]]), vt = M("star", [["path", {
|
|
2025
2042
|
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",
|
|
2026
2043
|
key: "r04s7s"
|
|
2027
|
-
}]]),
|
|
2044
|
+
}]]), yt = M("store", [
|
|
2028
2045
|
["path", {
|
|
2029
2046
|
d: "M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",
|
|
2030
2047
|
key: "slp6dd"
|
|
@@ -2037,7 +2054,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2037
2054
|
d: "M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",
|
|
2038
2055
|
key: "wn3emo"
|
|
2039
2056
|
}]
|
|
2040
|
-
]),
|
|
2057
|
+
]), bt = M("table", [
|
|
2041
2058
|
["path", {
|
|
2042
2059
|
d: "M12 3v18",
|
|
2043
2060
|
key: "108xh3"
|
|
@@ -2058,7 +2075,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2058
2075
|
d: "M3 15h18",
|
|
2059
2076
|
key: "5xshup"
|
|
2060
2077
|
}]
|
|
2061
|
-
]),
|
|
2078
|
+
]), xt = M("tablet", [["rect", {
|
|
2062
2079
|
width: "16",
|
|
2063
2080
|
height: "20",
|
|
2064
2081
|
x: "4",
|
|
@@ -2072,7 +2089,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2072
2089
|
y1: "18",
|
|
2073
2090
|
y2: "18",
|
|
2074
2091
|
key: "1dp563"
|
|
2075
|
-
}]]),
|
|
2092
|
+
}]]), St = M("tag", [["path", {
|
|
2076
2093
|
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",
|
|
2077
2094
|
key: "vktsd0"
|
|
2078
2095
|
}], ["circle", {
|
|
@@ -2081,7 +2098,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2081
2098
|
r: ".5",
|
|
2082
2099
|
fill: "currentColor",
|
|
2083
2100
|
key: "kqv944"
|
|
2084
|
-
}]]),
|
|
2101
|
+
}]]), Ct = M("tags", [
|
|
2085
2102
|
["path", {
|
|
2086
2103
|
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",
|
|
2087
2104
|
key: "16rjxf"
|
|
@@ -2097,7 +2114,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2097
2114
|
fill: "currentColor",
|
|
2098
2115
|
key: "12ikhr"
|
|
2099
2116
|
}]
|
|
2100
|
-
]),
|
|
2117
|
+
]), wt = M("text-align-center", [
|
|
2101
2118
|
["path", {
|
|
2102
2119
|
d: "M21 5H3",
|
|
2103
2120
|
key: "1fi0y6"
|
|
@@ -2110,7 +2127,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2110
2127
|
d: "M19 19H5",
|
|
2111
2128
|
key: "vjpgq2"
|
|
2112
2129
|
}]
|
|
2113
|
-
]),
|
|
2130
|
+
]), Tt = M("text-align-end", [
|
|
2114
2131
|
["path", {
|
|
2115
2132
|
d: "M21 5H3",
|
|
2116
2133
|
key: "1fi0y6"
|
|
@@ -2123,7 +2140,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2123
2140
|
d: "M21 19H7",
|
|
2124
2141
|
key: "4cu937"
|
|
2125
2142
|
}]
|
|
2126
|
-
]),
|
|
2143
|
+
]), Et = M("text-align-start", [
|
|
2127
2144
|
["path", {
|
|
2128
2145
|
d: "M21 5H3",
|
|
2129
2146
|
key: "1fi0y6"
|
|
@@ -2136,7 +2153,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2136
2153
|
d: "M17 19H3",
|
|
2137
2154
|
key: "z6ezky"
|
|
2138
2155
|
}]
|
|
2139
|
-
]),
|
|
2156
|
+
]), Dt = M("trash-2", [
|
|
2140
2157
|
["path", {
|
|
2141
2158
|
d: "M10 11v6",
|
|
2142
2159
|
key: "nco0om"
|
|
@@ -2157,7 +2174,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2157
2174
|
d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
|
|
2158
2175
|
key: "e791ji"
|
|
2159
2176
|
}]
|
|
2160
|
-
]),
|
|
2177
|
+
]), Ot = M("triangle-alert", [
|
|
2161
2178
|
["path", {
|
|
2162
2179
|
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",
|
|
2163
2180
|
key: "wmoenq"
|
|
@@ -2170,7 +2187,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2170
2187
|
d: "M12 17h.01",
|
|
2171
2188
|
key: "p32p05"
|
|
2172
2189
|
}]
|
|
2173
|
-
]),
|
|
2190
|
+
]), kt = M("truck", [
|
|
2174
2191
|
["path", {
|
|
2175
2192
|
d: "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",
|
|
2176
2193
|
key: "wrbu53"
|
|
@@ -2195,7 +2212,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2195
2212
|
r: "2",
|
|
2196
2213
|
key: "19iecd"
|
|
2197
2214
|
}]
|
|
2198
|
-
]),
|
|
2215
|
+
]), At = M("underline", [["path", {
|
|
2199
2216
|
d: "M6 4v6a6 6 0 0 0 12 0V4",
|
|
2200
2217
|
key: "9kb039"
|
|
2201
2218
|
}], ["line", {
|
|
@@ -2204,13 +2221,13 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2204
2221
|
y1: "20",
|
|
2205
2222
|
y2: "20",
|
|
2206
2223
|
key: "nun2al"
|
|
2207
|
-
}]]),
|
|
2224
|
+
}]]), jt = M("undo-2", [["path", {
|
|
2208
2225
|
d: "M9 14 4 9l5-5",
|
|
2209
2226
|
key: "102s5s"
|
|
2210
2227
|
}], ["path", {
|
|
2211
2228
|
d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
|
|
2212
2229
|
key: "f3b9sd"
|
|
2213
|
-
}]]),
|
|
2230
|
+
}]]), Mt = M("ungroup", [["rect", {
|
|
2214
2231
|
x: "11",
|
|
2215
2232
|
y: "14",
|
|
2216
2233
|
width: "10",
|
|
@@ -2224,7 +2241,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2224
2241
|
height: "7",
|
|
2225
2242
|
rx: "2",
|
|
2226
2243
|
key: "1ljebb"
|
|
2227
|
-
}]]),
|
|
2244
|
+
}]]), Nt = M("upload", [
|
|
2228
2245
|
["path", {
|
|
2229
2246
|
d: "M12 3v12",
|
|
2230
2247
|
key: "1x0j5s"
|
|
@@ -2237,7 +2254,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2237
2254
|
d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
|
|
2238
2255
|
key: "ih7n3h"
|
|
2239
2256
|
}]
|
|
2240
|
-
]),
|
|
2257
|
+
]), Pt = M("user-plus", [
|
|
2241
2258
|
["path", {
|
|
2242
2259
|
d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
|
|
2243
2260
|
key: "1yyitq"
|
|
@@ -2262,7 +2279,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2262
2279
|
y2: "11",
|
|
2263
2280
|
key: "1shjgl"
|
|
2264
2281
|
}]
|
|
2265
|
-
]),
|
|
2282
|
+
]), Ft = M("user", [["path", {
|
|
2266
2283
|
d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",
|
|
2267
2284
|
key: "975kel"
|
|
2268
2285
|
}], ["circle", {
|
|
@@ -2270,7 +2287,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2270
2287
|
cy: "7",
|
|
2271
2288
|
r: "4",
|
|
2272
2289
|
key: "17ys0d"
|
|
2273
|
-
}]]),
|
|
2290
|
+
}]]), It = M("video", [["path", {
|
|
2274
2291
|
d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
|
|
2275
2292
|
key: "ftymec"
|
|
2276
2293
|
}], ["rect", {
|
|
@@ -2280,7 +2297,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2280
2297
|
height: "12",
|
|
2281
2298
|
rx: "2",
|
|
2282
2299
|
key: "158x01"
|
|
2283
|
-
}]]),
|
|
2300
|
+
}]]), Lt = M("wand-sparkles", [
|
|
2284
2301
|
["path", {
|
|
2285
2302
|
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",
|
|
2286
2303
|
key: "ul74o6"
|
|
@@ -2313,13 +2330,13 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2313
2330
|
d: "M11 3H9",
|
|
2314
2331
|
key: "1obp7u"
|
|
2315
2332
|
}]
|
|
2316
|
-
]),
|
|
2333
|
+
]), Rt = M("x", [["path", {
|
|
2317
2334
|
d: "M18 6 6 18",
|
|
2318
2335
|
key: "1bl5f8"
|
|
2319
2336
|
}], ["path", {
|
|
2320
2337
|
d: "m6 6 12 12",
|
|
2321
2338
|
key: "d8bk6v"
|
|
2322
|
-
}]]),
|
|
2339
|
+
}]]), zt = M("zoom-in", [
|
|
2323
2340
|
["circle", {
|
|
2324
2341
|
cx: "11",
|
|
2325
2342
|
cy: "11",
|
|
@@ -2347,7 +2364,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2347
2364
|
y2: "11",
|
|
2348
2365
|
key: "durymu"
|
|
2349
2366
|
}]
|
|
2350
|
-
]),
|
|
2367
|
+
]), Bt = M("zoom-out", [
|
|
2351
2368
|
["circle", {
|
|
2352
2369
|
cx: "11",
|
|
2353
2370
|
cy: "11",
|
|
@@ -2368,7 +2385,7 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2368
2385
|
y2: "11",
|
|
2369
2386
|
key: "durymu"
|
|
2370
2387
|
}]
|
|
2371
|
-
]),
|
|
2388
|
+
]), Vt = ({ filter: e, onSelect: t, currentValue: n }) => {
|
|
2372
2389
|
let [r, i] = g(!1), a = h(null), o = h(null), [s, c] = g({
|
|
2373
2390
|
top: 0,
|
|
2374
2391
|
left: 0
|
|
@@ -2462,15 +2479,15 @@ var j = () => d(A), re = l(({ color: e, size: t, strokeWidth: n, absoluteStrokeW
|
|
|
2462
2479
|
}, e.key);
|
|
2463
2480
|
})
|
|
2464
2481
|
}), document.body)] });
|
|
2465
|
-
},
|
|
2482
|
+
}, Ht = {
|
|
2466
2483
|
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%)",
|
|
2467
2484
|
backgroundSize: "8px 8px",
|
|
2468
2485
|
backgroundPosition: "0 0, 0 4px, 4px -4px, -4px 0",
|
|
2469
2486
|
backgroundColor: "#fff"
|
|
2470
|
-
},
|
|
2471
|
-
|
|
2472
|
-
},
|
|
2473
|
-
function
|
|
2487
|
+
}, Ut = 232, $ = (e, t, n) => Math.min(n, Math.max(t, e)), Wt = [], Gt = (e) => {
|
|
2488
|
+
Wt = [e, ...Wt.filter((t) => t !== e)].slice(0, 8);
|
|
2489
|
+
}, Kt = (e) => (e || "").trim().toLowerCase().startsWith("rgb") ? "rgba" : "hex";
|
|
2490
|
+
function qt(e, t, n) {
|
|
2474
2491
|
let r = h(null), i = h(!1), a = (t) => {
|
|
2475
2492
|
let n = r.current?.getBoundingClientRect();
|
|
2476
2493
|
!n || !n.width || !n.height || e($((t.clientX - n.left) / n.width, 0, 1), $((t.clientY - n.top) / n.height, 0, 1));
|
|
@@ -2505,8 +2522,8 @@ function Kt(e, t, n) {
|
|
|
2505
2522
|
}
|
|
2506
2523
|
};
|
|
2507
2524
|
}
|
|
2508
|
-
var
|
|
2509
|
-
let S = c || "var(--builder-text-color, #e2e8f0)", C = l || "var(--builder-background-color, #0e1526)", w = _ || "var(--theme-accent, #6366f1)", T = "rgba(128,128,128,0.35)", [E, D] = g(!1), [O, k] = g(null), [A, ne] = g(() =>
|
|
2525
|
+
var Jt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, compact: d, accentColor: _, swatches: ee, tokens: b, resolve: x }) => {
|
|
2526
|
+
let S = c || "var(--builder-text-color, #e2e8f0)", C = l || "var(--builder-background-color, #0e1526)", w = _ || "var(--theme-accent, #6366f1)", T = "rgba(128,128,128,0.35)", [E, D] = g(!1), [O, k] = g(null), [A, ne] = g(() => Kt(t)), [j, re] = g(null), M = h(null), N = h(null), P = h(null), F = b?.find((e) => e.value === t), ie = m(() => /^\s*var\(/.test(t) ? x?.(t) ?? F?.color ?? t : t, [
|
|
2510
2527
|
t,
|
|
2511
2528
|
x,
|
|
2512
2529
|
F
|
|
@@ -2524,7 +2541,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2524
2541
|
W.current = A;
|
|
2525
2542
|
let G = h(null);
|
|
2526
2543
|
f(() => {
|
|
2527
|
-
t === G.current && !F || (I && !L ? (oe((e) => a(I, e)), V(I.a), F || ne(
|
|
2544
|
+
t === G.current && !F || (I && !L ? (oe((e) => a(I, e)), V(I.a), F || ne(Kt(t))) : L && V(0));
|
|
2528
2545
|
}, [
|
|
2529
2546
|
t,
|
|
2530
2547
|
I,
|
|
@@ -2553,7 +2570,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2553
2570
|
}, J = O !== null && O.trim() !== "" && !n(O), ce = O ?? F?.label ?? t, Y = u(() => {
|
|
2554
2571
|
let e = N.current?.getBoundingClientRect();
|
|
2555
2572
|
if (!e) return;
|
|
2556
|
-
let t = P.current?.offsetHeight ?? 340, n = $(e.right -
|
|
2573
|
+
let t = P.current?.offsetHeight ?? 340, n = $(e.right - Ut, 8, Math.max(8, window.innerWidth - Ut - 8)), r = e.bottom + 6, i = r + t > window.innerHeight - 8 ? Math.max(8, e.top - t - 6) : r;
|
|
2557
2574
|
re({
|
|
2558
2575
|
top: i,
|
|
2559
2576
|
left: n
|
|
@@ -2563,7 +2580,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2563
2580
|
E && Y();
|
|
2564
2581
|
}, [E, Y]);
|
|
2565
2582
|
let X = u((e = !1) => {
|
|
2566
|
-
D(!1), !L && I &&
|
|
2583
|
+
D(!1), !L && I && Gt(i({
|
|
2567
2584
|
...R.current,
|
|
2568
2585
|
a: 1
|
|
2569
2586
|
})), e && N.current?.focus();
|
|
@@ -2586,7 +2603,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2586
2603
|
X,
|
|
2587
2604
|
Y
|
|
2588
2605
|
]);
|
|
2589
|
-
let le =
|
|
2606
|
+
let le = qt((e, t) => K({
|
|
2590
2607
|
...H.current,
|
|
2591
2608
|
s: e * 100,
|
|
2592
2609
|
v: (1 - t) * 100
|
|
@@ -2594,13 +2611,13 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2594
2611
|
...H.current,
|
|
2595
2612
|
s: $(H.current.s + e, 0, 100),
|
|
2596
2613
|
v: $(H.current.v + t, 0, 100)
|
|
2597
|
-
}, U.current === 0 ? 1 : U.current), () => void 0), ue =
|
|
2614
|
+
}, U.current === 0 ? 1 : U.current), () => void 0), ue = qt((e) => K({
|
|
2598
2615
|
...H.current,
|
|
2599
2616
|
h: e * 360
|
|
2600
2617
|
}, U.current === 0 ? 1 : U.current), (e) => K({
|
|
2601
2618
|
...H.current,
|
|
2602
2619
|
h: $(H.current.h + e * 2, 0, 360)
|
|
2603
|
-
}, U.current === 0 ? 1 : U.current), () => void 0), de =
|
|
2620
|
+
}, U.current === 0 ? 1 : U.current), () => void 0), de = qt((e) => K(H.current, Math.round(e * 100) / 100), (e) => K(H.current, $(Math.round((U.current + e / 100) * 100) / 100, 0, 1)), () => void 0), Z = r(z.h, z.s, z.v), fe = `rgb(${Z.r}, ${Z.g}, ${Z.b})`, pe = L ? "transparent" : ae ? t : I ? o(I) : "transparent", Q = L, me = typeof window < "u" && "EyeDropper" in window, he = async () => {
|
|
2604
2621
|
try {
|
|
2605
2622
|
let e = window.EyeDropper, t = await new e().open(), r = n(t.sRGBHex);
|
|
2606
2623
|
r && q({
|
|
@@ -2613,7 +2630,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2613
2630
|
ne(e), !L && I && K(H.current, U.current === 0 ? 1 : U.current, e);
|
|
2614
2631
|
}, _e = (e) => {
|
|
2615
2632
|
e ? (G.current = "transparent", V(0), s("transparent")) : K(H.current, 1);
|
|
2616
|
-
}, ve = [...ee ?? [], ...
|
|
2633
|
+
}, ve = [...ee ?? [], ...Wt.filter((e) => !(ee ?? []).includes(e))].slice(0, 14), ye = /* @__PURE__ */ v("input", {
|
|
2617
2634
|
type: "text",
|
|
2618
2635
|
value: ce,
|
|
2619
2636
|
spellCheck: !1,
|
|
@@ -2672,7 +2689,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2672
2689
|
"aria-label": `${e ?? "Colour"}: ${t || "none"}. Open colour picker`,
|
|
2673
2690
|
className: "relative w-6 h-6 rounded-md overflow-hidden shrink-0 focus:outline-none",
|
|
2674
2691
|
style: {
|
|
2675
|
-
...
|
|
2692
|
+
...Ht,
|
|
2676
2693
|
border: `1px solid ${T}`,
|
|
2677
2694
|
boxShadow: E ? `0 0 0 2px ${w}` : void 0
|
|
2678
2695
|
},
|
|
@@ -2691,7 +2708,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2691
2708
|
left: j?.left ?? 0,
|
|
2692
2709
|
visibility: j ? "visible" : "hidden",
|
|
2693
2710
|
zIndex: 2147483e3,
|
|
2694
|
-
width:
|
|
2711
|
+
width: Ut,
|
|
2695
2712
|
boxSizing: "border-box",
|
|
2696
2713
|
padding: 12,
|
|
2697
2714
|
display: "flex",
|
|
@@ -2855,7 +2872,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2855
2872
|
"aria-valuenow": Math.round(B * 100),
|
|
2856
2873
|
style: {
|
|
2857
2874
|
...de.props.style,
|
|
2858
|
-
...
|
|
2875
|
+
...Ht,
|
|
2859
2876
|
position: "relative",
|
|
2860
2877
|
height: 10,
|
|
2861
2878
|
borderRadius: 999,
|
|
@@ -2912,7 +2929,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2912
2929
|
G.current = e.value, s(e.value);
|
|
2913
2930
|
},
|
|
2914
2931
|
style: {
|
|
2915
|
-
...
|
|
2932
|
+
...Ht,
|
|
2916
2933
|
position: "relative",
|
|
2917
2934
|
width: 22,
|
|
2918
2935
|
height: 22,
|
|
@@ -2959,7 +2976,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
2959
2976
|
t && q(t, e);
|
|
2960
2977
|
},
|
|
2961
2978
|
style: {
|
|
2962
|
-
...
|
|
2979
|
+
...Ht,
|
|
2963
2980
|
position: "relative",
|
|
2964
2981
|
width: 20,
|
|
2965
2982
|
height: 20,
|
|
@@ -3048,7 +3065,7 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3048
3065
|
children: "This colour comes from a setting the picker can't show. Picking a colour replaces it."
|
|
3049
3066
|
})
|
|
3050
3067
|
]
|
|
3051
|
-
}), xe) : null, Ce = /* @__PURE__ */ v(
|
|
3068
|
+
}), xe) : null, Ce = /* @__PURE__ */ v(Vt, {
|
|
3052
3069
|
filter: (e) => e.type === "color" || /^#[0-9a-fA-F]{3,8}$|^rgba?\(|^hsla?\(/.test(e.value),
|
|
3053
3070
|
onSelect: s,
|
|
3054
3071
|
currentValue: t
|
|
@@ -3097,4 +3114,4 @@ var qt = ({ label: e, value: t, onChange: s, textColor: c, backgroundColor: l, c
|
|
|
3097
3114
|
});
|
|
3098
3115
|
};
|
|
3099
3116
|
//#endregion
|
|
3100
|
-
export {
|
|
3117
|
+
export { We as $, ae as $t, pt as A, Q as At, rt as B, J as Bt, bt as C, be as Ct, gt as D, ge as Dt, _t as E, _e as Et, ct as F, ue as Ft, Qe as G, W as Gt, tt as H, q as Ht, st as I, le as It, Ye as J, V as Jt, Ze as K, U as Kt, ot as L, X as Lt, dt as M, fe as Mt, ut as N, Z as Nt, ht as O, he as Ot, lt as P, de as Pt, Ge as Q, R as Qt, at as R, Y as Rt, xt as S, xe as St, vt as T, ve as Tt, et as U, K as Ut, nt as V, se as Vt, $e as W, G as Wt, qe as X, oe as Xt, Je as Y, B as Yt, Ke as Z, z as Zt, Et as _, Ee as _t, Rt as a, N as an, Re as at, Ct as b, Ce as bt, Ft as c, ne as cn, Fe as ct, Mt as d, Me as dt, L as en, Ue as et, jt as f, je as ft, Dt as g, De as gt, Ot as h, Oe as ht, zt as i, P as in, ze as it, ft as j, pe as jt, mt as k, me as kt, Pt as l, j as ln, Pe as lt, kt as m, ke as mt, Vt as n, ie as nn, Ve as nt, Lt as o, M as on, Le as ot, At as p, Ae as pt, Xe as q, H as qt, Bt as r, F as rn, Be as rt, It as s, re as sn, Ie as st, Jt as t, I as tn, He as tt, Nt as u, C as un, Ne as ut, Tt as v, Te as vt, yt as w, ye as wt, St as x, Se as xt, wt as y, we as yt, it as z, ce as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./lint-
|
|
1
|
+
import { n as e } from "./lint-BWdiaRwp.js";
|
|
2
2
|
//#region src/v2/strata/merge.ts
|
|
3
3
|
function t(e) {
|
|
4
4
|
return Array.isArray(e) ? `[${e.map(t).join(",")}]` : e && typeof e == "object" ? `{${Object.keys(e).sort().map((n) => `${JSON.stringify(n)}:${t(e[n])}`).join(",")}}` : JSON.stringify(e);
|