componenteszw-package 1.0.21 → 1.0.24
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/index.js +1209 -761
- package/dist/table.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import t, { createElement as n, forwardRef as r, useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
|
|
3
3
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
4
|
-
//#region node_modules/clsx/dist/clsx.mjs
|
|
4
|
+
//#region ../node_modules/clsx/dist/clsx.mjs
|
|
5
5
|
function d(e) {
|
|
6
6
|
var t, n, r = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -16,233 +16,407 @@ function f() {
|
|
|
16
16
|
return r;
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
20
|
-
var p =
|
|
21
|
-
let
|
|
19
|
+
//#region ../node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
20
|
+
var p = (e, t) => {
|
|
21
|
+
let n = Array(e.length + t.length);
|
|
22
|
+
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
23
|
+
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
24
|
+
return n;
|
|
25
|
+
}, m = (e, t) => ({
|
|
26
|
+
classGroupId: e,
|
|
27
|
+
validator: t
|
|
28
|
+
}), h = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
29
|
+
nextPart: e,
|
|
30
|
+
validators: t,
|
|
31
|
+
classGroupId: n
|
|
32
|
+
}), g = "-", _ = [], v = "arbitrary..", y = (e) => {
|
|
33
|
+
let t = S(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
22
34
|
return {
|
|
23
35
|
getClassGroupId: (e) => {
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
if (e.startsWith("[") && e.endsWith("]")) return x(e);
|
|
37
|
+
let n = e.split(g);
|
|
38
|
+
return b(n, +(n[0] === "" && n.length > 1), t);
|
|
26
39
|
},
|
|
27
40
|
getConflictingClassGroupIds: (e, t) => {
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
if (t) {
|
|
42
|
+
let t = r[e], i = n[e];
|
|
43
|
+
return t ? i ? p(i, t) : t : i || _;
|
|
44
|
+
}
|
|
45
|
+
return n[e] || _;
|
|
30
46
|
}
|
|
31
47
|
};
|
|
32
|
-
},
|
|
33
|
-
if (e.length === 0) return
|
|
34
|
-
let
|
|
35
|
-
if (i)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
|
|
39
|
-
}, g = /^\[(.+)\]$/, _ = (e) => {
|
|
40
|
-
if (g.test(e)) {
|
|
41
|
-
let t = g.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
|
|
42
|
-
if (n) return "arbitrary.." + n;
|
|
48
|
+
}, b = (e, t, n) => {
|
|
49
|
+
if (e.length - t === 0) return n.classGroupId;
|
|
50
|
+
let r = e[t], i = n.nextPart.get(r);
|
|
51
|
+
if (i) {
|
|
52
|
+
let n = b(e, t + 1, i);
|
|
53
|
+
if (n) return n;
|
|
43
54
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
55
|
+
let a = n.validators;
|
|
56
|
+
if (a === null) return;
|
|
57
|
+
let o = t === 0 ? e.join(g) : e.slice(t).join(g), s = a.length;
|
|
58
|
+
for (let e = 0; e < s; e++) {
|
|
59
|
+
let t = a[e];
|
|
60
|
+
if (t.validator(o)) return t.classGroupId;
|
|
61
|
+
}
|
|
62
|
+
}, x = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
63
|
+
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
64
|
+
return r ? v + r : void 0;
|
|
65
|
+
})(), S = (e) => {
|
|
66
|
+
let { theme: t, classGroups: n } = e;
|
|
67
|
+
return C(n, t);
|
|
68
|
+
}, C = (e, t) => {
|
|
69
|
+
let n = h();
|
|
70
|
+
for (let r in e) {
|
|
71
|
+
let i = e[r];
|
|
72
|
+
w(i, n, r, t);
|
|
73
|
+
}
|
|
74
|
+
return n;
|
|
75
|
+
}, w = (e, t, n, r) => {
|
|
76
|
+
let i = e.length;
|
|
77
|
+
for (let a = 0; a < i; a++) {
|
|
78
|
+
let i = e[a];
|
|
79
|
+
T(i, t, n, r);
|
|
80
|
+
}
|
|
81
|
+
}, T = (e, t, n, r) => {
|
|
82
|
+
if (typeof e == "string") {
|
|
83
|
+
ee(e, t, n);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (typeof e == "function") {
|
|
87
|
+
te(e, t, n, r);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
E(e, t, n, r);
|
|
91
|
+
}, ee = (e, t, n) => {
|
|
92
|
+
let r = e === "" ? t : ne(t, e);
|
|
93
|
+
r.classGroupId = n;
|
|
94
|
+
}, te = (e, t, n, r) => {
|
|
95
|
+
if (re(e)) {
|
|
96
|
+
w(e(r), t, n, r);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
t.validators === null && (t.validators = []), t.validators.push(m(n, e));
|
|
100
|
+
}, E = (e, t, n, r) => {
|
|
101
|
+
let i = Object.entries(e), a = i.length;
|
|
102
|
+
for (let e = 0; e < a; e++) {
|
|
103
|
+
let [a, o] = i[e];
|
|
104
|
+
w(o, ne(t, a), n, r);
|
|
105
|
+
}
|
|
106
|
+
}, ne = (e, t) => {
|
|
107
|
+
let n = e, r = t.split(g), i = r.length;
|
|
108
|
+
for (let e = 0; e < i; e++) {
|
|
109
|
+
let t = r[e], i = n.nextPart.get(t);
|
|
110
|
+
i || (i = h(), n.nextPart.set(t, i)), n = i;
|
|
111
|
+
}
|
|
112
|
+
return n;
|
|
113
|
+
}, re = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, D = (e) => {
|
|
83
114
|
if (e < 1) return {
|
|
84
115
|
get: () => void 0,
|
|
85
116
|
set: () => {}
|
|
86
117
|
};
|
|
87
|
-
let t = 0, n =
|
|
88
|
-
n
|
|
118
|
+
let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
|
|
119
|
+
n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
|
|
89
120
|
};
|
|
90
121
|
return {
|
|
91
122
|
get(e) {
|
|
92
|
-
let t = n
|
|
123
|
+
let t = n[e];
|
|
93
124
|
if (t !== void 0) return t;
|
|
94
|
-
if ((t = r
|
|
125
|
+
if ((t = r[e]) !== void 0) return i(e, t), t;
|
|
95
126
|
},
|
|
96
127
|
set(e, t) {
|
|
97
|
-
|
|
128
|
+
e in n ? n[e] = t : i(e, t);
|
|
98
129
|
}
|
|
99
130
|
};
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
131
|
+
}, O = "!", k = ":", ie = [], A = (e, t, n, r, i) => ({
|
|
132
|
+
modifiers: e,
|
|
133
|
+
hasImportantModifier: t,
|
|
134
|
+
baseClassName: n,
|
|
135
|
+
maybePostfixModifierPosition: r,
|
|
136
|
+
isExternal: i
|
|
137
|
+
}), j = (e) => {
|
|
138
|
+
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
139
|
+
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
140
|
+
for (let s = 0; s < o; s++) {
|
|
141
|
+
let o = e[s];
|
|
142
|
+
if (n === 0 && r === 0) {
|
|
143
|
+
if (o === k) {
|
|
144
|
+
t.push(e.slice(i, s)), i = s + 1;
|
|
108
145
|
continue;
|
|
109
146
|
}
|
|
110
|
-
if (
|
|
111
|
-
|
|
147
|
+
if (o === "/") {
|
|
148
|
+
a = s;
|
|
112
149
|
continue;
|
|
113
150
|
}
|
|
114
151
|
}
|
|
115
|
-
|
|
152
|
+
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
116
153
|
}
|
|
117
|
-
let
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
baseClassName: u ? l.substring(1) : l,
|
|
122
|
-
maybePostfixModifierPosition: c && c > s ? c - s : void 0
|
|
123
|
-
};
|
|
154
|
+
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
155
|
+
s.endsWith(O) ? (c = s.slice(0, -1), l = !0) : s.startsWith(O) && (c = s.slice(1), l = !0);
|
|
156
|
+
let u = a && a > i ? a - i : void 0;
|
|
157
|
+
return A(t, l, c, u);
|
|
124
158
|
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
let
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
159
|
+
if (t) {
|
|
160
|
+
let e = t + k, n = r;
|
|
161
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : A(ie, !1, t, void 0, !0);
|
|
162
|
+
}
|
|
163
|
+
if (n) {
|
|
164
|
+
let e = r;
|
|
165
|
+
r = (t) => n({
|
|
166
|
+
className: t,
|
|
167
|
+
parseClassName: e
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
return r;
|
|
171
|
+
}, ae = (e) => {
|
|
172
|
+
let t = /* @__PURE__ */ new Map();
|
|
173
|
+
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
174
|
+
t.set(e, 1e6 + n);
|
|
175
|
+
}), (e) => {
|
|
176
|
+
let n = [], r = [];
|
|
177
|
+
for (let i = 0; i < e.length; i++) {
|
|
178
|
+
let a = e[i], o = a[0] === "[", s = t.has(a);
|
|
179
|
+
o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
|
|
180
|
+
}
|
|
181
|
+
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
182
|
+
};
|
|
183
|
+
}, oe = (e) => ({
|
|
184
|
+
cache: D(e.cacheSize),
|
|
185
|
+
parseClassName: j(e),
|
|
186
|
+
sortModifiers: ae(e),
|
|
187
|
+
...y(e)
|
|
188
|
+
}), se = /\s+/, M = (e, t) => {
|
|
189
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(se), c = "";
|
|
190
|
+
for (let e = s.length - 1; e >= 0; --e) {
|
|
191
|
+
let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
192
|
+
if (l) {
|
|
193
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
194
|
+
continue;
|
|
195
|
+
}
|
|
196
|
+
let m = !!p, h = r(m ? f.substring(0, p) : f);
|
|
197
|
+
if (!h) {
|
|
198
|
+
if (!m) {
|
|
199
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
146
200
|
continue;
|
|
147
201
|
}
|
|
148
|
-
if (
|
|
149
|
-
|
|
202
|
+
if (h = r(f), !h) {
|
|
203
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
150
204
|
continue;
|
|
151
205
|
}
|
|
152
|
-
|
|
206
|
+
m = !1;
|
|
153
207
|
}
|
|
154
|
-
let
|
|
155
|
-
if (
|
|
156
|
-
|
|
157
|
-
let
|
|
158
|
-
for (let e = 0; e <
|
|
159
|
-
let t =
|
|
160
|
-
|
|
208
|
+
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g + O : g, v = _ + h;
|
|
209
|
+
if (o.indexOf(v) > -1) continue;
|
|
210
|
+
o.push(v);
|
|
211
|
+
let y = i(h, m);
|
|
212
|
+
for (let e = 0; e < y.length; ++e) {
|
|
213
|
+
let t = y[e];
|
|
214
|
+
o.push(_ + t);
|
|
161
215
|
}
|
|
162
|
-
|
|
216
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
163
217
|
}
|
|
164
|
-
return
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
var j = (e) => {
|
|
218
|
+
return c;
|
|
219
|
+
}, N = (...e) => {
|
|
220
|
+
let t = 0, n, r, i = "";
|
|
221
|
+
for (; t < e.length;) (n = e[t++]) && (r = P(n)) && (i && (i += " "), i += r);
|
|
222
|
+
return i;
|
|
223
|
+
}, P = (e) => {
|
|
172
224
|
if (typeof e == "string") return e;
|
|
173
225
|
let t, n = "";
|
|
174
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
226
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = P(e[r])) && (n && (n += " "), n += t);
|
|
175
227
|
return n;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
let n, r, i, a = o;
|
|
179
|
-
function o(o) {
|
|
180
|
-
return n = D(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
|
|
181
|
-
}
|
|
182
|
-
function s(e) {
|
|
228
|
+
}, F = (e, ...t) => {
|
|
229
|
+
let n, r, i, a, o = (o) => (n = oe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
183
230
|
let t = r(e);
|
|
184
231
|
if (t) return t;
|
|
185
|
-
let a =
|
|
232
|
+
let a = M(e, n);
|
|
186
233
|
return i(e, a), a;
|
|
187
|
-
}
|
|
188
|
-
return function() {
|
|
189
|
-
return a(A.apply(null, arguments));
|
|
190
234
|
};
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
let t = (t) => t[e] ||
|
|
235
|
+
return a = o, (...e) => a(N(...e));
|
|
236
|
+
}, ce = [], I = (e) => {
|
|
237
|
+
let t = (t) => t[e] || ce;
|
|
194
238
|
return t.isThemeGetter = !0, t;
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
]), ae = (e) => q(e, ie, J), oe = (e) => q(e, "position", J), se = /* @__PURE__ */ new Set(["image", "url"]), ce = (e) => q(e, se, fe), le = (e) => q(e, "", de), K = () => !0, q = (e, t, n) => {
|
|
204
|
-
let r = P.exec(e);
|
|
205
|
-
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
206
|
-
}, ue = (e) => R.test(e) && !ee.test(e), J = () => !1, de = (e) => te.test(e), fe = (e) => ne.test(e), pe = /* @__PURE__ */ M(() => {
|
|
207
|
-
let e = N("colors"), t = N("spacing"), n = N("blur"), r = N("brightness"), i = N("borderColor"), a = N("borderRadius"), o = N("borderSpacing"), s = N("borderWidth"), c = N("contrast"), l = N("grayscale"), u = N("hueRotate"), d = N("invert"), f = N("gap"), p = N("gradientColorStops"), m = N("gradientColorStopPositions"), h = N("inset"), g = N("margin"), _ = N("opacity"), v = N("padding"), y = N("saturate"), b = N("scale"), x = N("sepia"), S = N("skew"), C = N("space"), w = N("translate"), T = () => [
|
|
239
|
+
}, L = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, R = /^\((?:(\w[\w-]*):)?(.+)\)$/i, z = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, B = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, le = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, V = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ue = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, de = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => z.test(e), U = (e) => !!e && !Number.isNaN(Number(e)), W = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && U(e.slice(0, -1)), G = (e) => B.test(e), pe = () => !0, me = (e) => le.test(e) && !V.test(e), he = () => !1, ge = (e) => ue.test(e), _e = (e) => de.test(e), ve = (e) => !K(e) && !J(e), ye = (e) => X(e, Pe, he), K = (e) => L.test(e), q = (e) => X(e, Fe, me), be = (e) => X(e, Ie, U), xe = (e) => X(e, Re, pe), Se = (e) => X(e, Le, he), Ce = (e) => X(e, Me, he), we = (e) => X(e, Ne, _e), Te = (e) => X(e, ze, ge), J = (e) => R.test(e), Y = (e) => Z(e, Fe), Ee = (e) => Z(e, Le), De = (e) => Z(e, Me), Oe = (e) => Z(e, Pe), ke = (e) => Z(e, Ne), Ae = (e) => Z(e, ze, !0), je = (e) => Z(e, Re, !0), X = (e, t, n) => {
|
|
240
|
+
let r = L.exec(e);
|
|
241
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
242
|
+
}, Z = (e, t, n = !1) => {
|
|
243
|
+
let r = R.exec(e);
|
|
244
|
+
return r ? r[1] ? t(r[1]) : n : !1;
|
|
245
|
+
}, Me = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Fe = (e) => e === "length", Ie = (e) => e === "number", Le = (e) => e === "family-name", Re = (e) => e === "number" || e === "weight", ze = (e) => e === "shadow", Be = /* @__PURE__ */ F(() => {
|
|
246
|
+
let e = I("color"), t = I("font"), n = I("text"), r = I("font-weight"), i = I("tracking"), a = I("leading"), o = I("breakpoint"), s = I("container"), c = I("spacing"), l = I("radius"), u = I("shadow"), d = I("inset-shadow"), f = I("text-shadow"), p = I("drop-shadow"), m = I("blur"), h = I("perspective"), g = I("aspect"), _ = I("ease"), v = I("animate"), y = () => [
|
|
208
247
|
"auto",
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
|
|
248
|
+
"avoid",
|
|
249
|
+
"all",
|
|
250
|
+
"avoid-page",
|
|
251
|
+
"page",
|
|
252
|
+
"left",
|
|
253
|
+
"right",
|
|
254
|
+
"column"
|
|
255
|
+
], b = () => [
|
|
256
|
+
"center",
|
|
257
|
+
"top",
|
|
258
|
+
"bottom",
|
|
259
|
+
"left",
|
|
260
|
+
"right",
|
|
261
|
+
"top-left",
|
|
262
|
+
"left-top",
|
|
263
|
+
"top-right",
|
|
264
|
+
"right-top",
|
|
265
|
+
"bottom-right",
|
|
266
|
+
"right-bottom",
|
|
267
|
+
"bottom-left",
|
|
268
|
+
"left-bottom"
|
|
269
|
+
], x = () => [
|
|
270
|
+
...b(),
|
|
271
|
+
J,
|
|
272
|
+
K
|
|
273
|
+
], S = () => [
|
|
212
274
|
"auto",
|
|
213
275
|
"hidden",
|
|
214
276
|
"clip",
|
|
215
277
|
"visible",
|
|
216
278
|
"scroll"
|
|
217
|
-
],
|
|
279
|
+
], C = () => [
|
|
218
280
|
"auto",
|
|
281
|
+
"contain",
|
|
282
|
+
"none"
|
|
283
|
+
], w = () => [
|
|
284
|
+
J,
|
|
285
|
+
K,
|
|
286
|
+
c
|
|
287
|
+
], T = () => [
|
|
288
|
+
H,
|
|
289
|
+
"full",
|
|
290
|
+
"auto",
|
|
291
|
+
...w()
|
|
292
|
+
], ee = () => [
|
|
219
293
|
W,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
], A = () => [
|
|
294
|
+
"none",
|
|
295
|
+
"subgrid",
|
|
296
|
+
J,
|
|
297
|
+
K
|
|
298
|
+
], te = () => [
|
|
226
299
|
"auto",
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
300
|
+
{ span: [
|
|
301
|
+
"full",
|
|
302
|
+
W,
|
|
303
|
+
J,
|
|
304
|
+
K
|
|
305
|
+
] },
|
|
306
|
+
W,
|
|
307
|
+
J,
|
|
308
|
+
K
|
|
309
|
+
], E = () => [
|
|
310
|
+
W,
|
|
311
|
+
"auto",
|
|
312
|
+
J,
|
|
313
|
+
K
|
|
314
|
+
], ne = () => [
|
|
315
|
+
"auto",
|
|
316
|
+
"min",
|
|
317
|
+
"max",
|
|
318
|
+
"fr",
|
|
319
|
+
J,
|
|
320
|
+
K
|
|
321
|
+
], re = () => [
|
|
322
|
+
"start",
|
|
323
|
+
"end",
|
|
231
324
|
"center",
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
325
|
+
"between",
|
|
326
|
+
"around",
|
|
327
|
+
"evenly",
|
|
328
|
+
"stretch",
|
|
329
|
+
"baseline",
|
|
330
|
+
"center-safe",
|
|
331
|
+
"end-safe"
|
|
332
|
+
], D = () => [
|
|
333
|
+
"start",
|
|
334
|
+
"end",
|
|
335
|
+
"center",
|
|
336
|
+
"stretch",
|
|
337
|
+
"center-safe",
|
|
338
|
+
"end-safe"
|
|
339
|
+
], O = () => ["auto", ...w()], k = () => [
|
|
340
|
+
H,
|
|
341
|
+
"auto",
|
|
342
|
+
"full",
|
|
343
|
+
"dvw",
|
|
344
|
+
"dvh",
|
|
345
|
+
"lvw",
|
|
346
|
+
"lvh",
|
|
347
|
+
"svw",
|
|
348
|
+
"svh",
|
|
349
|
+
"min",
|
|
350
|
+
"max",
|
|
351
|
+
"fit",
|
|
352
|
+
...w()
|
|
353
|
+
], ie = () => [
|
|
354
|
+
H,
|
|
355
|
+
"screen",
|
|
356
|
+
"full",
|
|
357
|
+
"dvw",
|
|
358
|
+
"lvw",
|
|
359
|
+
"svw",
|
|
360
|
+
"min",
|
|
361
|
+
"max",
|
|
362
|
+
"fit",
|
|
363
|
+
...w()
|
|
364
|
+
], A = () => [
|
|
365
|
+
H,
|
|
366
|
+
"screen",
|
|
367
|
+
"full",
|
|
368
|
+
"lh",
|
|
369
|
+
"dvh",
|
|
370
|
+
"lvh",
|
|
371
|
+
"svh",
|
|
372
|
+
"min",
|
|
373
|
+
"max",
|
|
374
|
+
"fit",
|
|
375
|
+
...w()
|
|
376
|
+
], j = () => [
|
|
377
|
+
e,
|
|
378
|
+
J,
|
|
379
|
+
K
|
|
380
|
+
], ae = () => [
|
|
381
|
+
...b(),
|
|
382
|
+
De,
|
|
383
|
+
Ce,
|
|
384
|
+
{ position: [J, K] }
|
|
385
|
+
], oe = () => ["no-repeat", { repeat: [
|
|
386
|
+
"",
|
|
387
|
+
"x",
|
|
388
|
+
"y",
|
|
389
|
+
"space",
|
|
390
|
+
"round"
|
|
391
|
+
] }], se = () => [
|
|
392
|
+
"auto",
|
|
393
|
+
"cover",
|
|
394
|
+
"contain",
|
|
395
|
+
Oe,
|
|
396
|
+
ye,
|
|
397
|
+
{ size: [J, K] }
|
|
239
398
|
], M = () => [
|
|
399
|
+
fe,
|
|
400
|
+
Y,
|
|
401
|
+
q
|
|
402
|
+
], N = () => [
|
|
403
|
+
"",
|
|
404
|
+
"none",
|
|
405
|
+
"full",
|
|
406
|
+
l,
|
|
407
|
+
J,
|
|
408
|
+
K
|
|
409
|
+
], P = () => [
|
|
410
|
+
"",
|
|
411
|
+
U,
|
|
412
|
+
Y,
|
|
413
|
+
q
|
|
414
|
+
], F = () => [
|
|
240
415
|
"solid",
|
|
241
416
|
"dashed",
|
|
242
417
|
"dotted",
|
|
243
|
-
"double"
|
|
244
|
-
|
|
245
|
-
], P = () => [
|
|
418
|
+
"double"
|
|
419
|
+
], ce = () => [
|
|
246
420
|
"normal",
|
|
247
421
|
"multiply",
|
|
248
422
|
"screen",
|
|
@@ -259,80 +433,117 @@ var N = (e) => {
|
|
|
259
433
|
"saturation",
|
|
260
434
|
"color",
|
|
261
435
|
"luminosity"
|
|
262
|
-
], F = () => [
|
|
263
|
-
"start",
|
|
264
|
-
"end",
|
|
265
|
-
"center",
|
|
266
|
-
"between",
|
|
267
|
-
"around",
|
|
268
|
-
"evenly",
|
|
269
|
-
"stretch"
|
|
270
|
-
], I = () => [
|
|
271
|
-
"",
|
|
272
|
-
"0",
|
|
273
|
-
W
|
|
274
436
|
], L = () => [
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
|
|
283
|
-
|
|
437
|
+
U,
|
|
438
|
+
fe,
|
|
439
|
+
De,
|
|
440
|
+
Ce
|
|
441
|
+
], R = () => [
|
|
442
|
+
"",
|
|
443
|
+
"none",
|
|
444
|
+
m,
|
|
445
|
+
J,
|
|
446
|
+
K
|
|
447
|
+
], z = () => [
|
|
448
|
+
"none",
|
|
449
|
+
U,
|
|
450
|
+
J,
|
|
451
|
+
K
|
|
452
|
+
], B = () => [
|
|
453
|
+
"none",
|
|
454
|
+
U,
|
|
455
|
+
J,
|
|
456
|
+
K
|
|
457
|
+
], le = () => [
|
|
458
|
+
U,
|
|
459
|
+
J,
|
|
460
|
+
K
|
|
461
|
+
], V = () => [
|
|
462
|
+
H,
|
|
463
|
+
"full",
|
|
464
|
+
...w()
|
|
465
|
+
];
|
|
284
466
|
return {
|
|
285
467
|
cacheSize: 500,
|
|
286
|
-
separator: ":",
|
|
287
468
|
theme: {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
"
|
|
292
|
-
""
|
|
293
|
-
|
|
294
|
-
|
|
469
|
+
animate: [
|
|
470
|
+
"spin",
|
|
471
|
+
"ping",
|
|
472
|
+
"pulse",
|
|
473
|
+
"bounce"
|
|
474
|
+
],
|
|
475
|
+
aspect: ["video"],
|
|
476
|
+
blur: [G],
|
|
477
|
+
breakpoint: [G],
|
|
478
|
+
color: [pe],
|
|
479
|
+
container: [G],
|
|
480
|
+
"drop-shadow": [G],
|
|
481
|
+
ease: [
|
|
482
|
+
"in",
|
|
483
|
+
"out",
|
|
484
|
+
"in-out"
|
|
485
|
+
],
|
|
486
|
+
font: [ve],
|
|
487
|
+
"font-weight": [
|
|
488
|
+
"thin",
|
|
489
|
+
"extralight",
|
|
490
|
+
"light",
|
|
491
|
+
"normal",
|
|
492
|
+
"medium",
|
|
493
|
+
"semibold",
|
|
494
|
+
"bold",
|
|
495
|
+
"extrabold",
|
|
496
|
+
"black"
|
|
295
497
|
],
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
borderRadius: [
|
|
498
|
+
"inset-shadow": [G],
|
|
499
|
+
leading: [
|
|
299
500
|
"none",
|
|
300
|
-
"",
|
|
301
|
-
"
|
|
302
|
-
|
|
303
|
-
|
|
501
|
+
"tight",
|
|
502
|
+
"snug",
|
|
503
|
+
"normal",
|
|
504
|
+
"relaxed",
|
|
505
|
+
"loose"
|
|
506
|
+
],
|
|
507
|
+
perspective: [
|
|
508
|
+
"dramatic",
|
|
509
|
+
"near",
|
|
510
|
+
"normal",
|
|
511
|
+
"midrange",
|
|
512
|
+
"distant",
|
|
513
|
+
"none"
|
|
304
514
|
],
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
saturate: R(),
|
|
319
|
-
scale: R(),
|
|
320
|
-
sepia: I(),
|
|
321
|
-
skew: R(),
|
|
322
|
-
space: O(),
|
|
323
|
-
translate: O()
|
|
515
|
+
radius: [G],
|
|
516
|
+
shadow: [G],
|
|
517
|
+
spacing: ["px", U],
|
|
518
|
+
text: [G],
|
|
519
|
+
"text-shadow": [G],
|
|
520
|
+
tracking: [
|
|
521
|
+
"tighter",
|
|
522
|
+
"tight",
|
|
523
|
+
"normal",
|
|
524
|
+
"wide",
|
|
525
|
+
"wider",
|
|
526
|
+
"widest"
|
|
527
|
+
]
|
|
324
528
|
},
|
|
325
529
|
classGroups: {
|
|
326
530
|
aspect: [{ aspect: [
|
|
327
531
|
"auto",
|
|
328
532
|
"square",
|
|
329
|
-
|
|
330
|
-
|
|
533
|
+
H,
|
|
534
|
+
K,
|
|
535
|
+
J,
|
|
536
|
+
g
|
|
331
537
|
] }],
|
|
332
538
|
container: ["container"],
|
|
333
|
-
columns: [{ columns: [
|
|
334
|
-
|
|
335
|
-
|
|
539
|
+
columns: [{ columns: [
|
|
540
|
+
U,
|
|
541
|
+
K,
|
|
542
|
+
J,
|
|
543
|
+
s
|
|
544
|
+
] }],
|
|
545
|
+
"break-after": [{ "break-after": y() }],
|
|
546
|
+
"break-before": [{ "break-before": y() }],
|
|
336
547
|
"break-inside": [{ "break-inside": [
|
|
337
548
|
"auto",
|
|
338
549
|
"avoid",
|
|
@@ -364,6 +575,7 @@ var N = (e) => {
|
|
|
364
575
|
"list-item",
|
|
365
576
|
"hidden"
|
|
366
577
|
],
|
|
578
|
+
sr: ["sr-only", "not-sr-only"],
|
|
367
579
|
float: [{ float: [
|
|
368
580
|
"right",
|
|
369
581
|
"left",
|
|
@@ -387,13 +599,13 @@ var N = (e) => {
|
|
|
387
599
|
"none",
|
|
388
600
|
"scale-down"
|
|
389
601
|
] }],
|
|
390
|
-
"object-position": [{ object:
|
|
391
|
-
overflow: [{ overflow:
|
|
392
|
-
"overflow-x": [{ "overflow-x":
|
|
393
|
-
"overflow-y": [{ "overflow-y":
|
|
394
|
-
overscroll: [{ overscroll:
|
|
395
|
-
"overscroll-x": [{ "overscroll-x":
|
|
396
|
-
"overscroll-y": [{ "overscroll-y":
|
|
602
|
+
"object-position": [{ object: x() }],
|
|
603
|
+
overflow: [{ overflow: S() }],
|
|
604
|
+
"overflow-x": [{ "overflow-x": S() }],
|
|
605
|
+
"overflow-y": [{ "overflow-y": S() }],
|
|
606
|
+
overscroll: [{ overscroll: C() }],
|
|
607
|
+
"overscroll-x": [{ "overscroll-x": C() }],
|
|
608
|
+
"overscroll-y": [{ "overscroll-y": C() }],
|
|
397
609
|
position: [
|
|
398
610
|
"static",
|
|
399
611
|
"fixed",
|
|
@@ -401,26 +613,41 @@ var N = (e) => {
|
|
|
401
613
|
"relative",
|
|
402
614
|
"sticky"
|
|
403
615
|
],
|
|
404
|
-
inset: [{ inset:
|
|
405
|
-
"inset-x": [{ "inset-x":
|
|
406
|
-
"inset-y": [{ "inset-y":
|
|
407
|
-
start: [{
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
616
|
+
inset: [{ inset: T() }],
|
|
617
|
+
"inset-x": [{ "inset-x": T() }],
|
|
618
|
+
"inset-y": [{ "inset-y": T() }],
|
|
619
|
+
start: [{
|
|
620
|
+
"inset-s": T(),
|
|
621
|
+
start: T()
|
|
622
|
+
}],
|
|
623
|
+
end: [{
|
|
624
|
+
"inset-e": T(),
|
|
625
|
+
end: T()
|
|
626
|
+
}],
|
|
627
|
+
"inset-bs": [{ "inset-bs": T() }],
|
|
628
|
+
"inset-be": [{ "inset-be": T() }],
|
|
629
|
+
top: [{ top: T() }],
|
|
630
|
+
right: [{ right: T() }],
|
|
631
|
+
bottom: [{ bottom: T() }],
|
|
632
|
+
left: [{ left: T() }],
|
|
413
633
|
visibility: [
|
|
414
634
|
"visible",
|
|
415
635
|
"invisible",
|
|
416
636
|
"collapse"
|
|
417
637
|
],
|
|
418
638
|
z: [{ z: [
|
|
639
|
+
W,
|
|
419
640
|
"auto",
|
|
420
|
-
|
|
421
|
-
|
|
641
|
+
J,
|
|
642
|
+
K
|
|
643
|
+
] }],
|
|
644
|
+
basis: [{ basis: [
|
|
645
|
+
H,
|
|
646
|
+
"full",
|
|
647
|
+
"auto",
|
|
648
|
+
s,
|
|
649
|
+
...w()
|
|
422
650
|
] }],
|
|
423
|
-
basis: [{ basis: D() }],
|
|
424
651
|
"flex-direction": [{ flex: [
|
|
425
652
|
"row",
|
|
426
653
|
"row-reverse",
|
|
@@ -428,46 +655,46 @@ var N = (e) => {
|
|
|
428
655
|
"col-reverse"
|
|
429
656
|
] }],
|
|
430
657
|
"flex-wrap": [{ flex: [
|
|
658
|
+
"nowrap",
|
|
431
659
|
"wrap",
|
|
432
|
-
"wrap-reverse"
|
|
433
|
-
"nowrap"
|
|
660
|
+
"wrap-reverse"
|
|
434
661
|
] }],
|
|
435
662
|
flex: [{ flex: [
|
|
436
|
-
|
|
663
|
+
U,
|
|
664
|
+
H,
|
|
437
665
|
"auto",
|
|
438
666
|
"initial",
|
|
439
667
|
"none",
|
|
440
|
-
|
|
668
|
+
K
|
|
669
|
+
] }],
|
|
670
|
+
grow: [{ grow: [
|
|
671
|
+
"",
|
|
672
|
+
U,
|
|
673
|
+
J,
|
|
674
|
+
K
|
|
675
|
+
] }],
|
|
676
|
+
shrink: [{ shrink: [
|
|
677
|
+
"",
|
|
678
|
+
U,
|
|
679
|
+
J,
|
|
680
|
+
K
|
|
441
681
|
] }],
|
|
442
|
-
grow: [{ grow: I() }],
|
|
443
|
-
shrink: [{ shrink: I() }],
|
|
444
682
|
order: [{ order: [
|
|
683
|
+
W,
|
|
445
684
|
"first",
|
|
446
685
|
"last",
|
|
447
686
|
"none",
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
] }],
|
|
451
|
-
"grid-cols": [{ "grid-cols":
|
|
452
|
-
"col-start-end": [{ col:
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
W
|
|
460
|
-
] }],
|
|
461
|
-
"col-start": [{ "col-start": A() }],
|
|
462
|
-
"col-end": [{ "col-end": A() }],
|
|
463
|
-
"grid-rows": [{ "grid-rows": [K] }],
|
|
464
|
-
"row-start-end": [{ row: [
|
|
465
|
-
"auto",
|
|
466
|
-
{ span: [U, W] },
|
|
467
|
-
W
|
|
468
|
-
] }],
|
|
469
|
-
"row-start": [{ "row-start": A() }],
|
|
470
|
-
"row-end": [{ "row-end": A() }],
|
|
687
|
+
J,
|
|
688
|
+
K
|
|
689
|
+
] }],
|
|
690
|
+
"grid-cols": [{ "grid-cols": ee() }],
|
|
691
|
+
"col-start-end": [{ col: te() }],
|
|
692
|
+
"col-start": [{ "col-start": E() }],
|
|
693
|
+
"col-end": [{ "col-end": E() }],
|
|
694
|
+
"grid-rows": [{ "grid-rows": ee() }],
|
|
695
|
+
"row-start-end": [{ row: te() }],
|
|
696
|
+
"row-start": [{ "row-start": E() }],
|
|
697
|
+
"row-end": [{ "row-end": E() }],
|
|
471
698
|
"grid-flow": [{ "grid-flow": [
|
|
472
699
|
"row",
|
|
473
700
|
"col",
|
|
@@ -475,183 +702,124 @@ var N = (e) => {
|
|
|
475
702
|
"row-dense",
|
|
476
703
|
"col-dense"
|
|
477
704
|
] }],
|
|
478
|
-
"auto-cols": [{ "auto-cols":
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
] }],
|
|
485
|
-
"
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"max",
|
|
489
|
-
"fr",
|
|
490
|
-
W
|
|
491
|
-
] }],
|
|
492
|
-
gap: [{ gap: [f] }],
|
|
493
|
-
"gap-x": [{ "gap-x": [f] }],
|
|
494
|
-
"gap-y": [{ "gap-y": [f] }],
|
|
495
|
-
"justify-content": [{ justify: ["normal", ...F()] }],
|
|
496
|
-
"justify-items": [{ "justify-items": [
|
|
497
|
-
"start",
|
|
498
|
-
"end",
|
|
499
|
-
"center",
|
|
500
|
-
"stretch"
|
|
501
|
-
] }],
|
|
502
|
-
"justify-self": [{ "justify-self": [
|
|
503
|
-
"auto",
|
|
504
|
-
"start",
|
|
505
|
-
"end",
|
|
506
|
-
"center",
|
|
507
|
-
"stretch"
|
|
508
|
-
] }],
|
|
509
|
-
"align-content": [{ content: [
|
|
510
|
-
"normal",
|
|
511
|
-
...F(),
|
|
512
|
-
"baseline"
|
|
513
|
-
] }],
|
|
514
|
-
"align-items": [{ items: [
|
|
515
|
-
"start",
|
|
516
|
-
"end",
|
|
517
|
-
"center",
|
|
518
|
-
"baseline",
|
|
519
|
-
"stretch"
|
|
520
|
-
] }],
|
|
705
|
+
"auto-cols": [{ "auto-cols": ne() }],
|
|
706
|
+
"auto-rows": [{ "auto-rows": ne() }],
|
|
707
|
+
gap: [{ gap: w() }],
|
|
708
|
+
"gap-x": [{ "gap-x": w() }],
|
|
709
|
+
"gap-y": [{ "gap-y": w() }],
|
|
710
|
+
"justify-content": [{ justify: [...re(), "normal"] }],
|
|
711
|
+
"justify-items": [{ "justify-items": [...D(), "normal"] }],
|
|
712
|
+
"justify-self": [{ "justify-self": ["auto", ...D()] }],
|
|
713
|
+
"align-content": [{ content: ["normal", ...re()] }],
|
|
714
|
+
"align-items": [{ items: [...D(), { baseline: ["", "last"] }] }],
|
|
521
715
|
"align-self": [{ self: [
|
|
522
716
|
"auto",
|
|
523
|
-
|
|
524
|
-
"
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
] }],
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
pl: [{ pl: [v] }],
|
|
553
|
-
m: [{ m: [g] }],
|
|
554
|
-
mx: [{ mx: [g] }],
|
|
555
|
-
my: [{ my: [g] }],
|
|
556
|
-
ms: [{ ms: [g] }],
|
|
557
|
-
me: [{ me: [g] }],
|
|
558
|
-
mt: [{ mt: [g] }],
|
|
559
|
-
mr: [{ mr: [g] }],
|
|
560
|
-
mb: [{ mb: [g] }],
|
|
561
|
-
ml: [{ ml: [g] }],
|
|
562
|
-
"space-x": [{ "space-x": [C] }],
|
|
717
|
+
...D(),
|
|
718
|
+
{ baseline: ["", "last"] }
|
|
719
|
+
] }],
|
|
720
|
+
"place-content": [{ "place-content": re() }],
|
|
721
|
+
"place-items": [{ "place-items": [...D(), "baseline"] }],
|
|
722
|
+
"place-self": [{ "place-self": ["auto", ...D()] }],
|
|
723
|
+
p: [{ p: w() }],
|
|
724
|
+
px: [{ px: w() }],
|
|
725
|
+
py: [{ py: w() }],
|
|
726
|
+
ps: [{ ps: w() }],
|
|
727
|
+
pe: [{ pe: w() }],
|
|
728
|
+
pbs: [{ pbs: w() }],
|
|
729
|
+
pbe: [{ pbe: w() }],
|
|
730
|
+
pt: [{ pt: w() }],
|
|
731
|
+
pr: [{ pr: w() }],
|
|
732
|
+
pb: [{ pb: w() }],
|
|
733
|
+
pl: [{ pl: w() }],
|
|
734
|
+
m: [{ m: O() }],
|
|
735
|
+
mx: [{ mx: O() }],
|
|
736
|
+
my: [{ my: O() }],
|
|
737
|
+
ms: [{ ms: O() }],
|
|
738
|
+
me: [{ me: O() }],
|
|
739
|
+
mbs: [{ mbs: O() }],
|
|
740
|
+
mbe: [{ mbe: O() }],
|
|
741
|
+
mt: [{ mt: O() }],
|
|
742
|
+
mr: [{ mr: O() }],
|
|
743
|
+
mb: [{ mb: O() }],
|
|
744
|
+
ml: [{ ml: O() }],
|
|
745
|
+
"space-x": [{ "space-x": w() }],
|
|
563
746
|
"space-x-reverse": ["space-x-reverse"],
|
|
564
|
-
"space-y": [{ "space-y":
|
|
747
|
+
"space-y": [{ "space-y": w() }],
|
|
565
748
|
"space-y-reverse": ["space-y-reverse"],
|
|
749
|
+
size: [{ size: k() }],
|
|
750
|
+
"inline-size": [{ inline: ["auto", ...ie()] }],
|
|
751
|
+
"min-inline-size": [{ "min-inline": ["auto", ...ie()] }],
|
|
752
|
+
"max-inline-size": [{ "max-inline": ["none", ...ie()] }],
|
|
753
|
+
"block-size": [{ block: ["auto", ...A()] }],
|
|
754
|
+
"min-block-size": [{ "min-block": ["auto", ...A()] }],
|
|
755
|
+
"max-block-size": [{ "max-block": ["none", ...A()] }],
|
|
566
756
|
w: [{ w: [
|
|
567
|
-
|
|
568
|
-
"
|
|
569
|
-
|
|
570
|
-
"fit",
|
|
571
|
-
"svw",
|
|
572
|
-
"lvw",
|
|
573
|
-
"dvw",
|
|
574
|
-
W,
|
|
575
|
-
t
|
|
757
|
+
s,
|
|
758
|
+
"screen",
|
|
759
|
+
...k()
|
|
576
760
|
] }],
|
|
577
761
|
"min-w": [{ "min-w": [
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
"
|
|
581
|
-
|
|
582
|
-
"fit"
|
|
762
|
+
s,
|
|
763
|
+
"screen",
|
|
764
|
+
"none",
|
|
765
|
+
...k()
|
|
583
766
|
] }],
|
|
584
767
|
"max-w": [{ "max-w": [
|
|
585
|
-
|
|
586
|
-
|
|
768
|
+
s,
|
|
769
|
+
"screen",
|
|
587
770
|
"none",
|
|
588
|
-
"full",
|
|
589
|
-
"min",
|
|
590
|
-
"max",
|
|
591
|
-
"fit",
|
|
592
771
|
"prose",
|
|
593
|
-
{ screen: [
|
|
594
|
-
|
|
772
|
+
{ screen: [o] },
|
|
773
|
+
...k()
|
|
595
774
|
] }],
|
|
596
775
|
h: [{ h: [
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
"min",
|
|
601
|
-
"max",
|
|
602
|
-
"fit",
|
|
603
|
-
"svh",
|
|
604
|
-
"lvh",
|
|
605
|
-
"dvh"
|
|
776
|
+
"screen",
|
|
777
|
+
"lh",
|
|
778
|
+
...k()
|
|
606
779
|
] }],
|
|
607
780
|
"min-h": [{ "min-h": [
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
"
|
|
611
|
-
|
|
612
|
-
"fit",
|
|
613
|
-
"svh",
|
|
614
|
-
"lvh",
|
|
615
|
-
"dvh"
|
|
781
|
+
"screen",
|
|
782
|
+
"lh",
|
|
783
|
+
"none",
|
|
784
|
+
...k()
|
|
616
785
|
] }],
|
|
617
786
|
"max-h": [{ "max-h": [
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
"max",
|
|
622
|
-
"fit",
|
|
623
|
-
"svh",
|
|
624
|
-
"lvh",
|
|
625
|
-
"dvh"
|
|
626
|
-
] }],
|
|
627
|
-
size: [{ size: [
|
|
628
|
-
W,
|
|
629
|
-
t,
|
|
630
|
-
"auto",
|
|
631
|
-
"min",
|
|
632
|
-
"max",
|
|
633
|
-
"fit"
|
|
787
|
+
"screen",
|
|
788
|
+
"lh",
|
|
789
|
+
...k()
|
|
634
790
|
] }],
|
|
635
791
|
"font-size": [{ text: [
|
|
636
792
|
"base",
|
|
637
|
-
|
|
638
|
-
|
|
793
|
+
n,
|
|
794
|
+
Y,
|
|
795
|
+
q
|
|
639
796
|
] }],
|
|
640
797
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
641
798
|
"font-style": ["italic", "not-italic"],
|
|
642
799
|
"font-weight": [{ font: [
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
800
|
+
r,
|
|
801
|
+
je,
|
|
802
|
+
xe
|
|
803
|
+
] }],
|
|
804
|
+
"font-stretch": [{ "font-stretch": [
|
|
805
|
+
"ultra-condensed",
|
|
806
|
+
"extra-condensed",
|
|
807
|
+
"condensed",
|
|
808
|
+
"semi-condensed",
|
|
646
809
|
"normal",
|
|
647
|
-
"
|
|
648
|
-
"
|
|
649
|
-
"
|
|
650
|
-
"
|
|
651
|
-
|
|
652
|
-
|
|
810
|
+
"semi-expanded",
|
|
811
|
+
"expanded",
|
|
812
|
+
"extra-expanded",
|
|
813
|
+
"ultra-expanded",
|
|
814
|
+
fe,
|
|
815
|
+
K
|
|
816
|
+
] }],
|
|
817
|
+
"font-family": [{ font: [
|
|
818
|
+
Ee,
|
|
819
|
+
Se,
|
|
820
|
+
t
|
|
653
821
|
] }],
|
|
654
|
-
"font-
|
|
822
|
+
"font-features": [{ "font-features": [K] }],
|
|
655
823
|
"fvn-normal": ["normal-nums"],
|
|
656
824
|
"fvn-ordinal": ["ordinal"],
|
|
657
825
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -659,39 +827,30 @@ var N = (e) => {
|
|
|
659
827
|
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
660
828
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
661
829
|
tracking: [{ tracking: [
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
"wide",
|
|
666
|
-
"wider",
|
|
667
|
-
"widest",
|
|
668
|
-
W
|
|
830
|
+
i,
|
|
831
|
+
J,
|
|
832
|
+
K
|
|
669
833
|
] }],
|
|
670
834
|
"line-clamp": [{ "line-clamp": [
|
|
835
|
+
U,
|
|
671
836
|
"none",
|
|
672
|
-
|
|
673
|
-
|
|
837
|
+
J,
|
|
838
|
+
be
|
|
674
839
|
] }],
|
|
675
|
-
leading: [{ leading: [
|
|
840
|
+
leading: [{ leading: [a, ...w()] }],
|
|
841
|
+
"list-image": [{ "list-image": [
|
|
676
842
|
"none",
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
"normal",
|
|
680
|
-
"relaxed",
|
|
681
|
-
"loose",
|
|
682
|
-
z,
|
|
683
|
-
W
|
|
843
|
+
J,
|
|
844
|
+
K
|
|
684
845
|
] }],
|
|
685
|
-
"list-
|
|
846
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
686
847
|
"list-style-type": [{ list: [
|
|
687
|
-
"none",
|
|
688
848
|
"disc",
|
|
689
849
|
"decimal",
|
|
690
|
-
|
|
850
|
+
"none",
|
|
851
|
+
J,
|
|
852
|
+
K
|
|
691
853
|
] }],
|
|
692
|
-
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
693
|
-
"placeholder-color": [{ placeholder: [e] }],
|
|
694
|
-
"placeholder-opacity": [{ "placeholder-opacity": [_] }],
|
|
695
854
|
"text-alignment": [{ text: [
|
|
696
855
|
"left",
|
|
697
856
|
"center",
|
|
@@ -700,27 +859,29 @@ var N = (e) => {
|
|
|
700
859
|
"start",
|
|
701
860
|
"end"
|
|
702
861
|
] }],
|
|
703
|
-
"
|
|
704
|
-
"text-
|
|
862
|
+
"placeholder-color": [{ placeholder: j() }],
|
|
863
|
+
"text-color": [{ text: j() }],
|
|
705
864
|
"text-decoration": [
|
|
706
865
|
"underline",
|
|
707
866
|
"overline",
|
|
708
867
|
"line-through",
|
|
709
868
|
"no-underline"
|
|
710
869
|
],
|
|
711
|
-
"text-decoration-style": [{ decoration: [...
|
|
870
|
+
"text-decoration-style": [{ decoration: [...F(), "wavy"] }],
|
|
712
871
|
"text-decoration-thickness": [{ decoration: [
|
|
713
|
-
|
|
872
|
+
U,
|
|
714
873
|
"from-font",
|
|
715
|
-
|
|
716
|
-
|
|
874
|
+
"auto",
|
|
875
|
+
J,
|
|
876
|
+
q
|
|
717
877
|
] }],
|
|
878
|
+
"text-decoration-color": [{ decoration: j() }],
|
|
718
879
|
"underline-offset": [{ "underline-offset": [
|
|
880
|
+
U,
|
|
719
881
|
"auto",
|
|
720
|
-
|
|
721
|
-
|
|
882
|
+
J,
|
|
883
|
+
K
|
|
722
884
|
] }],
|
|
723
|
-
"text-decoration-color": [{ decoration: [e] }],
|
|
724
885
|
"text-transform": [
|
|
725
886
|
"uppercase",
|
|
726
887
|
"lowercase",
|
|
@@ -738,7 +899,7 @@ var N = (e) => {
|
|
|
738
899
|
"balance",
|
|
739
900
|
"pretty"
|
|
740
901
|
] }],
|
|
741
|
-
indent: [{ indent:
|
|
902
|
+
indent: [{ indent: w() }],
|
|
742
903
|
"vertical-align": [{ align: [
|
|
743
904
|
"baseline",
|
|
744
905
|
"top",
|
|
@@ -748,7 +909,8 @@ var N = (e) => {
|
|
|
748
909
|
"text-bottom",
|
|
749
910
|
"sub",
|
|
750
911
|
"super",
|
|
751
|
-
|
|
912
|
+
J,
|
|
913
|
+
K
|
|
752
914
|
] }],
|
|
753
915
|
whitespace: [{ whitespace: [
|
|
754
916
|
"normal",
|
|
@@ -764,12 +926,21 @@ var N = (e) => {
|
|
|
764
926
|
"all",
|
|
765
927
|
"keep"
|
|
766
928
|
] }],
|
|
929
|
+
wrap: [{ wrap: [
|
|
930
|
+
"break-word",
|
|
931
|
+
"anywhere",
|
|
932
|
+
"normal"
|
|
933
|
+
] }],
|
|
767
934
|
hyphens: [{ hyphens: [
|
|
768
935
|
"none",
|
|
769
936
|
"manual",
|
|
770
937
|
"auto"
|
|
771
938
|
] }],
|
|
772
|
-
content: [{ content: [
|
|
939
|
+
content: [{ content: [
|
|
940
|
+
"none",
|
|
941
|
+
J,
|
|
942
|
+
K
|
|
943
|
+
] }],
|
|
773
944
|
"bg-attachment": [{ bg: [
|
|
774
945
|
"fixed",
|
|
775
946
|
"local",
|
|
@@ -781,199 +952,433 @@ var N = (e) => {
|
|
|
781
952
|
"content",
|
|
782
953
|
"text"
|
|
783
954
|
] }],
|
|
784
|
-
"bg-opacity": [{ "bg-opacity": [_] }],
|
|
785
955
|
"bg-origin": [{ "bg-origin": [
|
|
786
956
|
"border",
|
|
787
957
|
"padding",
|
|
788
958
|
"content"
|
|
789
959
|
] }],
|
|
790
|
-
"bg-position": [{ bg:
|
|
791
|
-
"bg-repeat": [{ bg:
|
|
792
|
-
|
|
793
|
-
"x",
|
|
794
|
-
"y",
|
|
795
|
-
"round",
|
|
796
|
-
"space"
|
|
797
|
-
] }] }],
|
|
798
|
-
"bg-size": [{ bg: [
|
|
799
|
-
"auto",
|
|
800
|
-
"cover",
|
|
801
|
-
"contain",
|
|
802
|
-
ae
|
|
803
|
-
] }],
|
|
960
|
+
"bg-position": [{ bg: ae() }],
|
|
961
|
+
"bg-repeat": [{ bg: oe() }],
|
|
962
|
+
"bg-size": [{ bg: se() }],
|
|
804
963
|
"bg-image": [{ bg: [
|
|
805
964
|
"none",
|
|
806
|
-
{
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
"
|
|
837
|
-
"
|
|
838
|
-
"
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
"
|
|
842
|
-
"
|
|
843
|
-
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
"
|
|
849
|
-
"
|
|
850
|
-
"
|
|
851
|
-
"
|
|
965
|
+
{
|
|
966
|
+
linear: [
|
|
967
|
+
{ to: [
|
|
968
|
+
"t",
|
|
969
|
+
"tr",
|
|
970
|
+
"r",
|
|
971
|
+
"br",
|
|
972
|
+
"b",
|
|
973
|
+
"bl",
|
|
974
|
+
"l",
|
|
975
|
+
"tl"
|
|
976
|
+
] },
|
|
977
|
+
W,
|
|
978
|
+
J,
|
|
979
|
+
K
|
|
980
|
+
],
|
|
981
|
+
radial: [
|
|
982
|
+
"",
|
|
983
|
+
J,
|
|
984
|
+
K
|
|
985
|
+
],
|
|
986
|
+
conic: [
|
|
987
|
+
W,
|
|
988
|
+
J,
|
|
989
|
+
K
|
|
990
|
+
]
|
|
991
|
+
},
|
|
992
|
+
ke,
|
|
993
|
+
we
|
|
994
|
+
] }],
|
|
995
|
+
"bg-color": [{ bg: j() }],
|
|
996
|
+
"gradient-from-pos": [{ from: M() }],
|
|
997
|
+
"gradient-via-pos": [{ via: M() }],
|
|
998
|
+
"gradient-to-pos": [{ to: M() }],
|
|
999
|
+
"gradient-from": [{ from: j() }],
|
|
1000
|
+
"gradient-via": [{ via: j() }],
|
|
1001
|
+
"gradient-to": [{ to: j() }],
|
|
1002
|
+
rounded: [{ rounded: N() }],
|
|
1003
|
+
"rounded-s": [{ "rounded-s": N() }],
|
|
1004
|
+
"rounded-e": [{ "rounded-e": N() }],
|
|
1005
|
+
"rounded-t": [{ "rounded-t": N() }],
|
|
1006
|
+
"rounded-r": [{ "rounded-r": N() }],
|
|
1007
|
+
"rounded-b": [{ "rounded-b": N() }],
|
|
1008
|
+
"rounded-l": [{ "rounded-l": N() }],
|
|
1009
|
+
"rounded-ss": [{ "rounded-ss": N() }],
|
|
1010
|
+
"rounded-se": [{ "rounded-se": N() }],
|
|
1011
|
+
"rounded-ee": [{ "rounded-ee": N() }],
|
|
1012
|
+
"rounded-es": [{ "rounded-es": N() }],
|
|
1013
|
+
"rounded-tl": [{ "rounded-tl": N() }],
|
|
1014
|
+
"rounded-tr": [{ "rounded-tr": N() }],
|
|
1015
|
+
"rounded-br": [{ "rounded-br": N() }],
|
|
1016
|
+
"rounded-bl": [{ "rounded-bl": N() }],
|
|
1017
|
+
"border-w": [{ border: P() }],
|
|
1018
|
+
"border-w-x": [{ "border-x": P() }],
|
|
1019
|
+
"border-w-y": [{ "border-y": P() }],
|
|
1020
|
+
"border-w-s": [{ "border-s": P() }],
|
|
1021
|
+
"border-w-e": [{ "border-e": P() }],
|
|
1022
|
+
"border-w-bs": [{ "border-bs": P() }],
|
|
1023
|
+
"border-w-be": [{ "border-be": P() }],
|
|
1024
|
+
"border-w-t": [{ "border-t": P() }],
|
|
1025
|
+
"border-w-r": [{ "border-r": P() }],
|
|
1026
|
+
"border-w-b": [{ "border-b": P() }],
|
|
1027
|
+
"border-w-l": [{ "border-l": P() }],
|
|
1028
|
+
"divide-x": [{ "divide-x": P() }],
|
|
852
1029
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
853
|
-
"divide-y": [{ "divide-y":
|
|
1030
|
+
"divide-y": [{ "divide-y": P() }],
|
|
854
1031
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
855
|
-
"
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
"
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
"border-color
|
|
866
|
-
"
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"
|
|
870
|
-
"
|
|
871
|
-
"
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"
|
|
876
|
-
"
|
|
1032
|
+
"border-style": [{ border: [
|
|
1033
|
+
...F(),
|
|
1034
|
+
"hidden",
|
|
1035
|
+
"none"
|
|
1036
|
+
] }],
|
|
1037
|
+
"divide-style": [{ divide: [
|
|
1038
|
+
...F(),
|
|
1039
|
+
"hidden",
|
|
1040
|
+
"none"
|
|
1041
|
+
] }],
|
|
1042
|
+
"border-color": [{ border: j() }],
|
|
1043
|
+
"border-color-x": [{ "border-x": j() }],
|
|
1044
|
+
"border-color-y": [{ "border-y": j() }],
|
|
1045
|
+
"border-color-s": [{ "border-s": j() }],
|
|
1046
|
+
"border-color-e": [{ "border-e": j() }],
|
|
1047
|
+
"border-color-bs": [{ "border-bs": j() }],
|
|
1048
|
+
"border-color-be": [{ "border-be": j() }],
|
|
1049
|
+
"border-color-t": [{ "border-t": j() }],
|
|
1050
|
+
"border-color-r": [{ "border-r": j() }],
|
|
1051
|
+
"border-color-b": [{ "border-b": j() }],
|
|
1052
|
+
"border-color-l": [{ "border-l": j() }],
|
|
1053
|
+
"divide-color": [{ divide: j() }],
|
|
1054
|
+
"outline-style": [{ outline: [
|
|
1055
|
+
...F(),
|
|
1056
|
+
"none",
|
|
1057
|
+
"hidden"
|
|
1058
|
+
] }],
|
|
1059
|
+
"outline-offset": [{ "outline-offset": [
|
|
1060
|
+
U,
|
|
1061
|
+
J,
|
|
1062
|
+
K
|
|
1063
|
+
] }],
|
|
1064
|
+
"outline-w": [{ outline: [
|
|
1065
|
+
"",
|
|
1066
|
+
U,
|
|
1067
|
+
Y,
|
|
1068
|
+
q
|
|
1069
|
+
] }],
|
|
1070
|
+
"outline-color": [{ outline: j() }],
|
|
877
1071
|
shadow: [{ shadow: [
|
|
878
1072
|
"",
|
|
879
|
-
"inner",
|
|
880
1073
|
"none",
|
|
881
|
-
|
|
882
|
-
|
|
1074
|
+
u,
|
|
1075
|
+
Ae,
|
|
1076
|
+
Te
|
|
1077
|
+
] }],
|
|
1078
|
+
"shadow-color": [{ shadow: j() }],
|
|
1079
|
+
"inset-shadow": [{ "inset-shadow": [
|
|
1080
|
+
"none",
|
|
1081
|
+
d,
|
|
1082
|
+
Ae,
|
|
1083
|
+
Te
|
|
1084
|
+
] }],
|
|
1085
|
+
"inset-shadow-color": [{ "inset-shadow": j() }],
|
|
1086
|
+
"ring-w": [{ ring: P() }],
|
|
1087
|
+
"ring-w-inset": ["ring-inset"],
|
|
1088
|
+
"ring-color": [{ ring: j() }],
|
|
1089
|
+
"ring-offset-w": [{ "ring-offset": [U, q] }],
|
|
1090
|
+
"ring-offset-color": [{ "ring-offset": j() }],
|
|
1091
|
+
"inset-ring-w": [{ "inset-ring": P() }],
|
|
1092
|
+
"inset-ring-color": [{ "inset-ring": j() }],
|
|
1093
|
+
"text-shadow": [{ "text-shadow": [
|
|
1094
|
+
"none",
|
|
1095
|
+
f,
|
|
1096
|
+
Ae,
|
|
1097
|
+
Te
|
|
1098
|
+
] }],
|
|
1099
|
+
"text-shadow-color": [{ "text-shadow": j() }],
|
|
1100
|
+
opacity: [{ opacity: [
|
|
1101
|
+
U,
|
|
1102
|
+
J,
|
|
1103
|
+
K
|
|
883
1104
|
] }],
|
|
884
|
-
"shadow-color": [{ shadow: [K] }],
|
|
885
|
-
opacity: [{ opacity: [_] }],
|
|
886
1105
|
"mix-blend": [{ "mix-blend": [
|
|
887
|
-
...
|
|
888
|
-
"plus-
|
|
889
|
-
"plus-
|
|
890
|
-
] }],
|
|
891
|
-
"bg-blend": [{ "bg-blend":
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
1106
|
+
...ce(),
|
|
1107
|
+
"plus-darker",
|
|
1108
|
+
"plus-lighter"
|
|
1109
|
+
] }],
|
|
1110
|
+
"bg-blend": [{ "bg-blend": ce() }],
|
|
1111
|
+
"mask-clip": [{ "mask-clip": [
|
|
1112
|
+
"border",
|
|
1113
|
+
"padding",
|
|
1114
|
+
"content",
|
|
1115
|
+
"fill",
|
|
1116
|
+
"stroke",
|
|
1117
|
+
"view"
|
|
1118
|
+
] }, "mask-no-clip"],
|
|
1119
|
+
"mask-composite": [{ mask: [
|
|
1120
|
+
"add",
|
|
1121
|
+
"subtract",
|
|
1122
|
+
"intersect",
|
|
1123
|
+
"exclude"
|
|
1124
|
+
] }],
|
|
1125
|
+
"mask-image-linear-pos": [{ "mask-linear": [U] }],
|
|
1126
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": L() }],
|
|
1127
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": L() }],
|
|
1128
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": j() }],
|
|
1129
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": j() }],
|
|
1130
|
+
"mask-image-t-from-pos": [{ "mask-t-from": L() }],
|
|
1131
|
+
"mask-image-t-to-pos": [{ "mask-t-to": L() }],
|
|
1132
|
+
"mask-image-t-from-color": [{ "mask-t-from": j() }],
|
|
1133
|
+
"mask-image-t-to-color": [{ "mask-t-to": j() }],
|
|
1134
|
+
"mask-image-r-from-pos": [{ "mask-r-from": L() }],
|
|
1135
|
+
"mask-image-r-to-pos": [{ "mask-r-to": L() }],
|
|
1136
|
+
"mask-image-r-from-color": [{ "mask-r-from": j() }],
|
|
1137
|
+
"mask-image-r-to-color": [{ "mask-r-to": j() }],
|
|
1138
|
+
"mask-image-b-from-pos": [{ "mask-b-from": L() }],
|
|
1139
|
+
"mask-image-b-to-pos": [{ "mask-b-to": L() }],
|
|
1140
|
+
"mask-image-b-from-color": [{ "mask-b-from": j() }],
|
|
1141
|
+
"mask-image-b-to-color": [{ "mask-b-to": j() }],
|
|
1142
|
+
"mask-image-l-from-pos": [{ "mask-l-from": L() }],
|
|
1143
|
+
"mask-image-l-to-pos": [{ "mask-l-to": L() }],
|
|
1144
|
+
"mask-image-l-from-color": [{ "mask-l-from": j() }],
|
|
1145
|
+
"mask-image-l-to-color": [{ "mask-l-to": j() }],
|
|
1146
|
+
"mask-image-x-from-pos": [{ "mask-x-from": L() }],
|
|
1147
|
+
"mask-image-x-to-pos": [{ "mask-x-to": L() }],
|
|
1148
|
+
"mask-image-x-from-color": [{ "mask-x-from": j() }],
|
|
1149
|
+
"mask-image-x-to-color": [{ "mask-x-to": j() }],
|
|
1150
|
+
"mask-image-y-from-pos": [{ "mask-y-from": L() }],
|
|
1151
|
+
"mask-image-y-to-pos": [{ "mask-y-to": L() }],
|
|
1152
|
+
"mask-image-y-from-color": [{ "mask-y-from": j() }],
|
|
1153
|
+
"mask-image-y-to-color": [{ "mask-y-to": j() }],
|
|
1154
|
+
"mask-image-radial": [{ "mask-radial": [J, K] }],
|
|
1155
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": L() }],
|
|
1156
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": L() }],
|
|
1157
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": j() }],
|
|
1158
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": j() }],
|
|
1159
|
+
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1160
|
+
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1161
|
+
closest: ["side", "corner"],
|
|
1162
|
+
farthest: ["side", "corner"]
|
|
1163
|
+
}] }],
|
|
1164
|
+
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1165
|
+
"mask-image-conic-pos": [{ "mask-conic": [U] }],
|
|
1166
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": L() }],
|
|
1167
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": L() }],
|
|
1168
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": j() }],
|
|
1169
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": j() }],
|
|
1170
|
+
"mask-mode": [{ mask: [
|
|
1171
|
+
"alpha",
|
|
1172
|
+
"luminance",
|
|
1173
|
+
"match"
|
|
1174
|
+
] }],
|
|
1175
|
+
"mask-origin": [{ "mask-origin": [
|
|
1176
|
+
"border",
|
|
1177
|
+
"padding",
|
|
1178
|
+
"content",
|
|
1179
|
+
"fill",
|
|
1180
|
+
"stroke",
|
|
1181
|
+
"view"
|
|
1182
|
+
] }],
|
|
1183
|
+
"mask-position": [{ mask: ae() }],
|
|
1184
|
+
"mask-repeat": [{ mask: oe() }],
|
|
1185
|
+
"mask-size": [{ mask: se() }],
|
|
1186
|
+
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1187
|
+
"mask-image": [{ mask: [
|
|
1188
|
+
"none",
|
|
1189
|
+
J,
|
|
1190
|
+
K
|
|
1191
|
+
] }],
|
|
1192
|
+
filter: [{ filter: [
|
|
1193
|
+
"",
|
|
1194
|
+
"none",
|
|
1195
|
+
J,
|
|
1196
|
+
K
|
|
1197
|
+
] }],
|
|
1198
|
+
blur: [{ blur: R() }],
|
|
1199
|
+
brightness: [{ brightness: [
|
|
1200
|
+
U,
|
|
1201
|
+
J,
|
|
1202
|
+
K
|
|
1203
|
+
] }],
|
|
1204
|
+
contrast: [{ contrast: [
|
|
1205
|
+
U,
|
|
1206
|
+
J,
|
|
1207
|
+
K
|
|
1208
|
+
] }],
|
|
896
1209
|
"drop-shadow": [{ "drop-shadow": [
|
|
897
1210
|
"",
|
|
898
1211
|
"none",
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
"
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
"
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
1212
|
+
p,
|
|
1213
|
+
Ae,
|
|
1214
|
+
Te
|
|
1215
|
+
] }],
|
|
1216
|
+
"drop-shadow-color": [{ "drop-shadow": j() }],
|
|
1217
|
+
grayscale: [{ grayscale: [
|
|
1218
|
+
"",
|
|
1219
|
+
U,
|
|
1220
|
+
J,
|
|
1221
|
+
K
|
|
1222
|
+
] }],
|
|
1223
|
+
"hue-rotate": [{ "hue-rotate": [
|
|
1224
|
+
U,
|
|
1225
|
+
J,
|
|
1226
|
+
K
|
|
1227
|
+
] }],
|
|
1228
|
+
invert: [{ invert: [
|
|
1229
|
+
"",
|
|
1230
|
+
U,
|
|
1231
|
+
J,
|
|
1232
|
+
K
|
|
1233
|
+
] }],
|
|
1234
|
+
saturate: [{ saturate: [
|
|
1235
|
+
U,
|
|
1236
|
+
J,
|
|
1237
|
+
K
|
|
1238
|
+
] }],
|
|
1239
|
+
sepia: [{ sepia: [
|
|
1240
|
+
"",
|
|
1241
|
+
U,
|
|
1242
|
+
J,
|
|
1243
|
+
K
|
|
1244
|
+
] }],
|
|
1245
|
+
"backdrop-filter": [{ "backdrop-filter": [
|
|
1246
|
+
"",
|
|
1247
|
+
"none",
|
|
1248
|
+
J,
|
|
1249
|
+
K
|
|
1250
|
+
] }],
|
|
1251
|
+
"backdrop-blur": [{ "backdrop-blur": R() }],
|
|
1252
|
+
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1253
|
+
U,
|
|
1254
|
+
J,
|
|
1255
|
+
K
|
|
1256
|
+
] }],
|
|
1257
|
+
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1258
|
+
U,
|
|
1259
|
+
J,
|
|
1260
|
+
K
|
|
1261
|
+
] }],
|
|
1262
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1263
|
+
"",
|
|
1264
|
+
U,
|
|
1265
|
+
J,
|
|
1266
|
+
K
|
|
1267
|
+
] }],
|
|
1268
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1269
|
+
U,
|
|
1270
|
+
J,
|
|
1271
|
+
K
|
|
1272
|
+
] }],
|
|
1273
|
+
"backdrop-invert": [{ "backdrop-invert": [
|
|
1274
|
+
"",
|
|
1275
|
+
U,
|
|
1276
|
+
J,
|
|
1277
|
+
K
|
|
1278
|
+
] }],
|
|
1279
|
+
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1280
|
+
U,
|
|
1281
|
+
J,
|
|
1282
|
+
K
|
|
1283
|
+
] }],
|
|
1284
|
+
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1285
|
+
U,
|
|
1286
|
+
J,
|
|
1287
|
+
K
|
|
1288
|
+
] }],
|
|
1289
|
+
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1290
|
+
"",
|
|
1291
|
+
U,
|
|
1292
|
+
J,
|
|
1293
|
+
K
|
|
1294
|
+
] }],
|
|
917
1295
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
918
|
-
"border-spacing": [{ "border-spacing":
|
|
919
|
-
"border-spacing-x": [{ "border-spacing-x":
|
|
920
|
-
"border-spacing-y": [{ "border-spacing-y":
|
|
1296
|
+
"border-spacing": [{ "border-spacing": w() }],
|
|
1297
|
+
"border-spacing-x": [{ "border-spacing-x": w() }],
|
|
1298
|
+
"border-spacing-y": [{ "border-spacing-y": w() }],
|
|
921
1299
|
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
922
1300
|
caption: [{ caption: ["top", "bottom"] }],
|
|
923
1301
|
transition: [{ transition: [
|
|
924
|
-
"none",
|
|
925
|
-
"all",
|
|
926
1302
|
"",
|
|
1303
|
+
"all",
|
|
927
1304
|
"colors",
|
|
928
1305
|
"opacity",
|
|
929
1306
|
"shadow",
|
|
930
1307
|
"transform",
|
|
931
|
-
|
|
1308
|
+
"none",
|
|
1309
|
+
J,
|
|
1310
|
+
K
|
|
1311
|
+
] }],
|
|
1312
|
+
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1313
|
+
duration: [{ duration: [
|
|
1314
|
+
U,
|
|
1315
|
+
"initial",
|
|
1316
|
+
J,
|
|
1317
|
+
K
|
|
932
1318
|
] }],
|
|
933
|
-
duration: [{ duration: R() }],
|
|
934
1319
|
ease: [{ ease: [
|
|
935
1320
|
"linear",
|
|
936
|
-
"
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
1321
|
+
"initial",
|
|
1322
|
+
_,
|
|
1323
|
+
J,
|
|
1324
|
+
K
|
|
1325
|
+
] }],
|
|
1326
|
+
delay: [{ delay: [
|
|
1327
|
+
U,
|
|
1328
|
+
J,
|
|
1329
|
+
K
|
|
940
1330
|
] }],
|
|
941
|
-
delay: [{ delay: R() }],
|
|
942
1331
|
animate: [{ animate: [
|
|
943
1332
|
"none",
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
1333
|
+
v,
|
|
1334
|
+
J,
|
|
1335
|
+
K
|
|
1336
|
+
] }],
|
|
1337
|
+
backface: [{ backface: ["hidden", "visible"] }],
|
|
1338
|
+
perspective: [{ perspective: [
|
|
1339
|
+
h,
|
|
1340
|
+
J,
|
|
1341
|
+
K
|
|
1342
|
+
] }],
|
|
1343
|
+
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1344
|
+
rotate: [{ rotate: z() }],
|
|
1345
|
+
"rotate-x": [{ "rotate-x": z() }],
|
|
1346
|
+
"rotate-y": [{ "rotate-y": z() }],
|
|
1347
|
+
"rotate-z": [{ "rotate-z": z() }],
|
|
1348
|
+
scale: [{ scale: B() }],
|
|
1349
|
+
"scale-x": [{ "scale-x": B() }],
|
|
1350
|
+
"scale-y": [{ "scale-y": B() }],
|
|
1351
|
+
"scale-z": [{ "scale-z": B() }],
|
|
1352
|
+
"scale-3d": ["scale-3d"],
|
|
1353
|
+
skew: [{ skew: le() }],
|
|
1354
|
+
"skew-x": [{ "skew-x": le() }],
|
|
1355
|
+
"skew-y": [{ "skew-y": le() }],
|
|
950
1356
|
transform: [{ transform: [
|
|
1357
|
+
J,
|
|
1358
|
+
K,
|
|
951
1359
|
"",
|
|
1360
|
+
"none",
|
|
952
1361
|
"gpu",
|
|
953
|
-
"
|
|
954
|
-
] }],
|
|
955
|
-
|
|
956
|
-
"
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
"translate-
|
|
960
|
-
"translate-
|
|
961
|
-
"
|
|
962
|
-
|
|
963
|
-
"transform-origin": [{ origin: [
|
|
964
|
-
"center",
|
|
965
|
-
"top",
|
|
966
|
-
"top-right",
|
|
967
|
-
"right",
|
|
968
|
-
"bottom-right",
|
|
969
|
-
"bottom",
|
|
970
|
-
"bottom-left",
|
|
971
|
-
"left",
|
|
972
|
-
"top-left",
|
|
973
|
-
W
|
|
974
|
-
] }],
|
|
975
|
-
accent: [{ accent: ["auto", e] }],
|
|
1362
|
+
"cpu"
|
|
1363
|
+
] }],
|
|
1364
|
+
"transform-origin": [{ origin: x() }],
|
|
1365
|
+
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1366
|
+
translate: [{ translate: V() }],
|
|
1367
|
+
"translate-x": [{ "translate-x": V() }],
|
|
1368
|
+
"translate-y": [{ "translate-y": V() }],
|
|
1369
|
+
"translate-z": [{ "translate-z": V() }],
|
|
1370
|
+
"translate-none": ["translate-none"],
|
|
1371
|
+
accent: [{ accent: j() }],
|
|
976
1372
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
1373
|
+
"caret-color": [{ caret: j() }],
|
|
1374
|
+
"color-scheme": [{ scheme: [
|
|
1375
|
+
"normal",
|
|
1376
|
+
"dark",
|
|
1377
|
+
"light",
|
|
1378
|
+
"light-dark",
|
|
1379
|
+
"only-dark",
|
|
1380
|
+
"only-light"
|
|
1381
|
+
] }],
|
|
977
1382
|
cursor: [{ cursor: [
|
|
978
1383
|
"auto",
|
|
979
1384
|
"default",
|
|
@@ -1011,35 +1416,40 @@ var N = (e) => {
|
|
|
1011
1416
|
"nwse-resize",
|
|
1012
1417
|
"zoom-in",
|
|
1013
1418
|
"zoom-out",
|
|
1014
|
-
|
|
1419
|
+
J,
|
|
1420
|
+
K
|
|
1015
1421
|
] }],
|
|
1016
|
-
"
|
|
1017
|
-
"pointer-events": [{ "pointer-events": ["
|
|
1422
|
+
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1423
|
+
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
1018
1424
|
resize: [{ resize: [
|
|
1019
1425
|
"none",
|
|
1426
|
+
"",
|
|
1020
1427
|
"y",
|
|
1021
|
-
"x"
|
|
1022
|
-
""
|
|
1428
|
+
"x"
|
|
1023
1429
|
] }],
|
|
1024
1430
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1025
|
-
"scroll-m": [{ "scroll-m":
|
|
1026
|
-
"scroll-mx": [{ "scroll-mx":
|
|
1027
|
-
"scroll-my": [{ "scroll-my":
|
|
1028
|
-
"scroll-ms": [{ "scroll-ms":
|
|
1029
|
-
"scroll-me": [{ "scroll-me":
|
|
1030
|
-
"scroll-
|
|
1031
|
-
"scroll-
|
|
1032
|
-
"scroll-
|
|
1033
|
-
"scroll-
|
|
1034
|
-
"scroll-
|
|
1035
|
-
"scroll-
|
|
1036
|
-
"scroll-
|
|
1037
|
-
"scroll-
|
|
1038
|
-
"scroll-
|
|
1039
|
-
"scroll-
|
|
1040
|
-
"scroll-
|
|
1041
|
-
"scroll-
|
|
1042
|
-
"scroll-
|
|
1431
|
+
"scroll-m": [{ "scroll-m": w() }],
|
|
1432
|
+
"scroll-mx": [{ "scroll-mx": w() }],
|
|
1433
|
+
"scroll-my": [{ "scroll-my": w() }],
|
|
1434
|
+
"scroll-ms": [{ "scroll-ms": w() }],
|
|
1435
|
+
"scroll-me": [{ "scroll-me": w() }],
|
|
1436
|
+
"scroll-mbs": [{ "scroll-mbs": w() }],
|
|
1437
|
+
"scroll-mbe": [{ "scroll-mbe": w() }],
|
|
1438
|
+
"scroll-mt": [{ "scroll-mt": w() }],
|
|
1439
|
+
"scroll-mr": [{ "scroll-mr": w() }],
|
|
1440
|
+
"scroll-mb": [{ "scroll-mb": w() }],
|
|
1441
|
+
"scroll-ml": [{ "scroll-ml": w() }],
|
|
1442
|
+
"scroll-p": [{ "scroll-p": w() }],
|
|
1443
|
+
"scroll-px": [{ "scroll-px": w() }],
|
|
1444
|
+
"scroll-py": [{ "scroll-py": w() }],
|
|
1445
|
+
"scroll-ps": [{ "scroll-ps": w() }],
|
|
1446
|
+
"scroll-pe": [{ "scroll-pe": w() }],
|
|
1447
|
+
"scroll-pbs": [{ "scroll-pbs": w() }],
|
|
1448
|
+
"scroll-pbe": [{ "scroll-pbe": w() }],
|
|
1449
|
+
"scroll-pt": [{ "scroll-pt": w() }],
|
|
1450
|
+
"scroll-pr": [{ "scroll-pr": w() }],
|
|
1451
|
+
"scroll-pb": [{ "scroll-pb": w() }],
|
|
1452
|
+
"scroll-pl": [{ "scroll-pl": w() }],
|
|
1043
1453
|
"snap-align": [{ snap: [
|
|
1044
1454
|
"start",
|
|
1045
1455
|
"end",
|
|
@@ -1081,16 +1491,17 @@ var N = (e) => {
|
|
|
1081
1491
|
"scroll",
|
|
1082
1492
|
"contents",
|
|
1083
1493
|
"transform",
|
|
1084
|
-
|
|
1494
|
+
J,
|
|
1495
|
+
K
|
|
1085
1496
|
] }],
|
|
1086
|
-
fill: [{ fill: [
|
|
1497
|
+
fill: [{ fill: ["none", ...j()] }],
|
|
1087
1498
|
"stroke-w": [{ stroke: [
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1499
|
+
U,
|
|
1500
|
+
Y,
|
|
1501
|
+
q,
|
|
1502
|
+
be
|
|
1091
1503
|
] }],
|
|
1092
|
-
stroke: [{ stroke: [
|
|
1093
|
-
sr: ["sr-only", "not-sr-only"],
|
|
1504
|
+
stroke: [{ stroke: ["none", ...j()] }],
|
|
1094
1505
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1095
1506
|
},
|
|
1096
1507
|
conflictingClassGroups: {
|
|
@@ -1099,6 +1510,8 @@ var N = (e) => {
|
|
|
1099
1510
|
inset: [
|
|
1100
1511
|
"inset-x",
|
|
1101
1512
|
"inset-y",
|
|
1513
|
+
"inset-bs",
|
|
1514
|
+
"inset-be",
|
|
1102
1515
|
"start",
|
|
1103
1516
|
"end",
|
|
1104
1517
|
"top",
|
|
@@ -1119,6 +1532,8 @@ var N = (e) => {
|
|
|
1119
1532
|
"py",
|
|
1120
1533
|
"ps",
|
|
1121
1534
|
"pe",
|
|
1535
|
+
"pbs",
|
|
1536
|
+
"pbe",
|
|
1122
1537
|
"pt",
|
|
1123
1538
|
"pr",
|
|
1124
1539
|
"pb",
|
|
@@ -1131,6 +1546,8 @@ var N = (e) => {
|
|
|
1131
1546
|
"my",
|
|
1132
1547
|
"ms",
|
|
1133
1548
|
"me",
|
|
1549
|
+
"mbs",
|
|
1550
|
+
"mbe",
|
|
1134
1551
|
"mt",
|
|
1135
1552
|
"mr",
|
|
1136
1553
|
"mb",
|
|
@@ -1177,8 +1594,12 @@ var N = (e) => {
|
|
|
1177
1594
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
1178
1595
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
1179
1596
|
"border-w": [
|
|
1597
|
+
"border-w-x",
|
|
1598
|
+
"border-w-y",
|
|
1180
1599
|
"border-w-s",
|
|
1181
1600
|
"border-w-e",
|
|
1601
|
+
"border-w-bs",
|
|
1602
|
+
"border-w-be",
|
|
1182
1603
|
"border-w-t",
|
|
1183
1604
|
"border-w-r",
|
|
1184
1605
|
"border-w-b",
|
|
@@ -1187,8 +1608,12 @@ var N = (e) => {
|
|
|
1187
1608
|
"border-w-x": ["border-w-r", "border-w-l"],
|
|
1188
1609
|
"border-w-y": ["border-w-t", "border-w-b"],
|
|
1189
1610
|
"border-color": [
|
|
1611
|
+
"border-color-x",
|
|
1612
|
+
"border-color-y",
|
|
1190
1613
|
"border-color-s",
|
|
1191
1614
|
"border-color-e",
|
|
1615
|
+
"border-color-bs",
|
|
1616
|
+
"border-color-be",
|
|
1192
1617
|
"border-color-t",
|
|
1193
1618
|
"border-color-r",
|
|
1194
1619
|
"border-color-b",
|
|
@@ -1196,11 +1621,24 @@ var N = (e) => {
|
|
|
1196
1621
|
],
|
|
1197
1622
|
"border-color-x": ["border-color-r", "border-color-l"],
|
|
1198
1623
|
"border-color-y": ["border-color-t", "border-color-b"],
|
|
1624
|
+
translate: [
|
|
1625
|
+
"translate-x",
|
|
1626
|
+
"translate-y",
|
|
1627
|
+
"translate-none"
|
|
1628
|
+
],
|
|
1629
|
+
"translate-none": [
|
|
1630
|
+
"translate",
|
|
1631
|
+
"translate-x",
|
|
1632
|
+
"translate-y",
|
|
1633
|
+
"translate-z"
|
|
1634
|
+
],
|
|
1199
1635
|
"scroll-m": [
|
|
1200
1636
|
"scroll-mx",
|
|
1201
1637
|
"scroll-my",
|
|
1202
1638
|
"scroll-ms",
|
|
1203
1639
|
"scroll-me",
|
|
1640
|
+
"scroll-mbs",
|
|
1641
|
+
"scroll-mbe",
|
|
1204
1642
|
"scroll-mt",
|
|
1205
1643
|
"scroll-mr",
|
|
1206
1644
|
"scroll-mb",
|
|
@@ -1213,6 +1651,8 @@ var N = (e) => {
|
|
|
1213
1651
|
"scroll-py",
|
|
1214
1652
|
"scroll-ps",
|
|
1215
1653
|
"scroll-pe",
|
|
1654
|
+
"scroll-pbs",
|
|
1655
|
+
"scroll-pbe",
|
|
1216
1656
|
"scroll-pt",
|
|
1217
1657
|
"scroll-pr",
|
|
1218
1658
|
"scroll-pb",
|
|
@@ -1229,17 +1669,31 @@ var N = (e) => {
|
|
|
1229
1669
|
"touch-y": ["touch"],
|
|
1230
1670
|
"touch-pz": ["touch"]
|
|
1231
1671
|
},
|
|
1232
|
-
conflictingClassGroupModifiers: { "font-size": ["leading"] }
|
|
1672
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
1673
|
+
orderSensitiveModifiers: [
|
|
1674
|
+
"*",
|
|
1675
|
+
"**",
|
|
1676
|
+
"after",
|
|
1677
|
+
"backdrop",
|
|
1678
|
+
"before",
|
|
1679
|
+
"details-content",
|
|
1680
|
+
"file",
|
|
1681
|
+
"first-letter",
|
|
1682
|
+
"first-line",
|
|
1683
|
+
"marker",
|
|
1684
|
+
"placeholder",
|
|
1685
|
+
"selection"
|
|
1686
|
+
]
|
|
1233
1687
|
};
|
|
1234
1688
|
});
|
|
1235
1689
|
//#endregion
|
|
1236
1690
|
//#region src/lib/utils.ts
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1691
|
+
function Q(...e) {
|
|
1692
|
+
return Be(f(e));
|
|
1239
1693
|
}
|
|
1240
1694
|
//#endregion
|
|
1241
1695
|
//#region src/button.tsx
|
|
1242
|
-
var
|
|
1696
|
+
var Ve = ({ text: e, iconLeft: t, iconRight: n, variant: r = "primary", size: i = "medium", disabled: a = !1, loading: o = !1, onClick: s, type: c = "button", className: d, textClassName: f, iconClassName: p }) => {
|
|
1243
1697
|
let m = {
|
|
1244
1698
|
small: "px-3 py-1.5 text-sm",
|
|
1245
1699
|
medium: "px-4 py-2 text-sm"
|
|
@@ -1255,30 +1709,30 @@ var X = ({ text: e, iconLeft: t, iconRight: n, variant: r = "primary", size: i =
|
|
|
1255
1709
|
type: c,
|
|
1256
1710
|
onClick: s,
|
|
1257
1711
|
disabled: g,
|
|
1258
|
-
className:
|
|
1712
|
+
className: Q("flex items-center justify-center gap-2 rounded-md font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 active:scale-95", m[i], h[r], g && "opacity-50 cursor-not-allowed", d),
|
|
1259
1713
|
children: [
|
|
1260
1714
|
o ? /* @__PURE__ */ l("span", {
|
|
1261
1715
|
className: "animate-spin",
|
|
1262
1716
|
children: "⏳"
|
|
1263
1717
|
}) : t && /* @__PURE__ */ l("span", {
|
|
1264
|
-
className:
|
|
1718
|
+
className: Q("flex items-center", p),
|
|
1265
1719
|
children: t
|
|
1266
1720
|
}),
|
|
1267
1721
|
e && /* @__PURE__ */ l("span", {
|
|
1268
|
-
className:
|
|
1722
|
+
className: Q(f),
|
|
1269
1723
|
children: o ? "Cargando..." : e
|
|
1270
1724
|
}),
|
|
1271
1725
|
!o && n && /* @__PURE__ */ l("span", {
|
|
1272
|
-
className:
|
|
1726
|
+
className: Q("flex items-center", p),
|
|
1273
1727
|
children: n
|
|
1274
1728
|
})
|
|
1275
1729
|
]
|
|
1276
1730
|
});
|
|
1277
|
-
},
|
|
1278
|
-
className:
|
|
1731
|
+
}, He = ({ label: e, placeholder: t, value: n, hintText: r, required: i, state: a = "default", size: o = "medium", type: s = "text", iconRight: c, disabled: d, onChange: f, className: p, inputClassName: m, labelClassName: h, hintClassName: g, iconClassName: _ }) => /* @__PURE__ */ u("div", {
|
|
1732
|
+
className: Q("flex flex-col gap-1 w-full", p),
|
|
1279
1733
|
children: [
|
|
1280
1734
|
e && /* @__PURE__ */ u("label", {
|
|
1281
|
-
className:
|
|
1735
|
+
className: Q("text-sm font-medium", h),
|
|
1282
1736
|
children: [
|
|
1283
1737
|
e,
|
|
1284
1738
|
" ",
|
|
@@ -1296,7 +1750,7 @@ var X = ({ text: e, iconLeft: t, iconRight: n, variant: r = "primary", size: i =
|
|
|
1296
1750
|
placeholder: t,
|
|
1297
1751
|
disabled: d || a === "disabled",
|
|
1298
1752
|
onChange: (e) => f?.(e.target.value),
|
|
1299
|
-
className:
|
|
1753
|
+
className: Q("w-full rounded-md border outline-none", {
|
|
1300
1754
|
small: "px-2 py-1 text-sm",
|
|
1301
1755
|
medium: "px-3 py-2 text-sm",
|
|
1302
1756
|
large: "px-4 py-3 text-base"
|
|
@@ -1306,25 +1760,25 @@ var X = ({ text: e, iconLeft: t, iconRight: n, variant: r = "primary", size: i =
|
|
|
1306
1760
|
disabled: "bg-gray-100 cursor-not-allowed"
|
|
1307
1761
|
}[a], c && "pr-10", m)
|
|
1308
1762
|
}), c && /* @__PURE__ */ l("div", {
|
|
1309
|
-
className:
|
|
1763
|
+
className: Q("absolute right-3 top-1/2 -translate-y-1/2", _),
|
|
1310
1764
|
children: c
|
|
1311
1765
|
})]
|
|
1312
1766
|
}),
|
|
1313
1767
|
r && /* @__PURE__ */ l("span", {
|
|
1314
|
-
className:
|
|
1768
|
+
className: Q("text-xs", a === "error" ? "text-red-500" : "text-gray-500", g),
|
|
1315
1769
|
children: r
|
|
1316
1770
|
})
|
|
1317
1771
|
]
|
|
1318
1772
|
});
|
|
1319
1773
|
//#endregion
|
|
1320
1774
|
//#region src/textarea.tsx
|
|
1321
|
-
function
|
|
1775
|
+
function Ue({ label: t, placeholder: n, value: r = "", hintText: i, required: a, state: o = "default", maxLength: s, showCounter: c, disabled: d, onChange: f, className: p, textareaClassName: m, labelClassName: h, hintClassName: g }) {
|
|
1322
1776
|
let [_, v] = e.useState(r), y = r ?? _;
|
|
1323
1777
|
return /* @__PURE__ */ u("div", {
|
|
1324
|
-
className:
|
|
1778
|
+
className: Q("flex flex-col gap-1", p),
|
|
1325
1779
|
children: [
|
|
1326
1780
|
t && /* @__PURE__ */ u("label", {
|
|
1327
|
-
className:
|
|
1781
|
+
className: Q("text-sm font-medium", h),
|
|
1328
1782
|
children: [
|
|
1329
1783
|
t,
|
|
1330
1784
|
" ",
|
|
@@ -1342,15 +1796,15 @@ function he({ label: t, placeholder: n, value: r = "", hintText: i, required: a,
|
|
|
1342
1796
|
s && t.length > s || (v(t), f?.(t));
|
|
1343
1797
|
},
|
|
1344
1798
|
disabled: d || o === "disabled",
|
|
1345
|
-
className:
|
|
1799
|
+
className: Q("w-full min-h-[100px] rounded-md border px-3 py-2 text-sm outline-none resize-none transition", "focus:ring-2 focus:ring-primary", o === "error" && "border-red-500 focus:ring-red-500", o === "default" && "border-gray-300", (d || o === "disabled") && "bg-gray-100 cursor-not-allowed opacity-70", m)
|
|
1346
1800
|
}),
|
|
1347
1801
|
/* @__PURE__ */ u("div", {
|
|
1348
1802
|
className: "flex justify-between items-center text-xs",
|
|
1349
1803
|
children: [i && /* @__PURE__ */ l("span", {
|
|
1350
|
-
className:
|
|
1804
|
+
className: Q(o === "error" ? "text-red-500" : "text-gray-500", g),
|
|
1351
1805
|
children: i
|
|
1352
1806
|
}), c && s && /* @__PURE__ */ u("span", {
|
|
1353
|
-
className:
|
|
1807
|
+
className: Q("text-gray-400", g),
|
|
1354
1808
|
children: [
|
|
1355
1809
|
y.length,
|
|
1356
1810
|
"/",
|
|
@@ -1362,13 +1816,8 @@ function he({ label: t, placeholder: n, value: r = "", hintText: i, required: a,
|
|
|
1362
1816
|
});
|
|
1363
1817
|
}
|
|
1364
1818
|
//#endregion
|
|
1365
|
-
//#region node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
1366
|
-
var
|
|
1367
|
-
let t = _e(e);
|
|
1368
|
-
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
1369
|
-
}, Q = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), ve = (e) => {
|
|
1370
|
-
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
1371
|
-
}, ye = {
|
|
1819
|
+
//#region ../node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
1820
|
+
var We = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ge = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Ke = {
|
|
1372
1821
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1373
1822
|
width: 24,
|
|
1374
1823
|
height: 24,
|
|
@@ -1378,28 +1827,27 @@ var ge = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), _e = (e)
|
|
|
1378
1827
|
strokeWidth: 2,
|
|
1379
1828
|
strokeLinecap: "round",
|
|
1380
1829
|
strokeLinejoin: "round"
|
|
1381
|
-
},
|
|
1830
|
+
}, qe = r(({ color: e = "currentColor", size: t = 24, strokeWidth: r = 2, absoluteStrokeWidth: i, className: a = "", children: o, iconNode: s, ...c }, l) => n("svg", {
|
|
1382
1831
|
ref: l,
|
|
1383
|
-
...
|
|
1832
|
+
...Ke,
|
|
1384
1833
|
width: t,
|
|
1385
1834
|
height: t,
|
|
1386
1835
|
stroke: e,
|
|
1387
1836
|
strokeWidth: i ? Number(r) * 24 / Number(t) : r,
|
|
1388
|
-
className:
|
|
1389
|
-
...!o && !ve(c) && { "aria-hidden": "true" },
|
|
1837
|
+
className: Ge("lucide", a),
|
|
1390
1838
|
...c
|
|
1391
1839
|
}, [...s.map(([e, t]) => n(e, t)), ...Array.isArray(o) ? o : [o]])), $ = (e, t) => {
|
|
1392
|
-
let i = r(({ className: r, ...i }, a) => n(
|
|
1840
|
+
let i = r(({ className: r, ...i }, a) => n(qe, {
|
|
1393
1841
|
ref: a,
|
|
1394
1842
|
iconNode: t,
|
|
1395
|
-
className:
|
|
1843
|
+
className: Ge(`lucide-${We(e)}`, r),
|
|
1396
1844
|
...i
|
|
1397
1845
|
}));
|
|
1398
|
-
return i.displayName =
|
|
1399
|
-
},
|
|
1846
|
+
return i.displayName = `${e}`, i;
|
|
1847
|
+
}, Je = $("Check", [["path", {
|
|
1400
1848
|
d: "M20 6 9 17l-5-5",
|
|
1401
1849
|
key: "1gmf2c"
|
|
1402
|
-
}]]),
|
|
1850
|
+
}]]), Ye = $("FileText", [
|
|
1403
1851
|
["path", {
|
|
1404
1852
|
d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",
|
|
1405
1853
|
key: "1rqfz7"
|
|
@@ -1420,10 +1868,10 @@ var ge = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), _e = (e)
|
|
|
1420
1868
|
d: "M16 17H8",
|
|
1421
1869
|
key: "z1uh3a"
|
|
1422
1870
|
}]
|
|
1423
|
-
]),
|
|
1871
|
+
]), Xe = $("Minus", [["path", {
|
|
1424
1872
|
d: "M5 12h14",
|
|
1425
1873
|
key: "1ays0h"
|
|
1426
|
-
}]]),
|
|
1874
|
+
}]]), Ze = $("Upload", [
|
|
1427
1875
|
["path", {
|
|
1428
1876
|
d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
|
|
1429
1877
|
key: "ih7n3h"
|
|
@@ -1439,7 +1887,7 @@ var ge = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), _e = (e)
|
|
|
1439
1887
|
y2: "15",
|
|
1440
1888
|
key: "widbto"
|
|
1441
1889
|
}]
|
|
1442
|
-
]),
|
|
1890
|
+
]), Qe = $("X", [["path", {
|
|
1443
1891
|
d: "M18 6 6 18",
|
|
1444
1892
|
key: "1bl5f8"
|
|
1445
1893
|
}], ["path", {
|
|
@@ -1448,13 +1896,13 @@ var ge = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), _e = (e)
|
|
|
1448
1896
|
}]]);
|
|
1449
1897
|
//#endregion
|
|
1450
1898
|
//#region src/checkbox.tsx
|
|
1451
|
-
function
|
|
1899
|
+
function $e({ label: t, checked: n = !1, indeterminate: r = !1, disabled: i, hintText: a, onChange: o, className: s, checkboxClassName: c, labelClassName: d, hintClassName: f, iconClassName: p }) {
|
|
1452
1900
|
let m = e.useId();
|
|
1453
1901
|
return /* @__PURE__ */ u("div", {
|
|
1454
|
-
className:
|
|
1902
|
+
className: Q("flex flex-col gap-1", s),
|
|
1455
1903
|
children: [/* @__PURE__ */ u("label", {
|
|
1456
1904
|
htmlFor: m,
|
|
1457
|
-
className:
|
|
1905
|
+
className: Q("flex items-center gap-2 cursor-pointer", i && "opacity-50 cursor-not-allowed", d),
|
|
1458
1906
|
children: [
|
|
1459
1907
|
/* @__PURE__ */ l("input", {
|
|
1460
1908
|
id: m,
|
|
@@ -1465,11 +1913,11 @@ function Ee({ label: t, checked: n = !1, indeterminate: r = !1, disabled: i, hin
|
|
|
1465
1913
|
className: "hidden"
|
|
1466
1914
|
}),
|
|
1467
1915
|
/* @__PURE__ */ l("div", {
|
|
1468
|
-
className:
|
|
1469
|
-
children: r ? /* @__PURE__ */ l(
|
|
1916
|
+
className: Q("w-4 h-4 flex items-center justify-center rounded border transition", n || r ? "bg-primary text-white border-primary" : "bg-white border-gray-300", c),
|
|
1917
|
+
children: r ? /* @__PURE__ */ l(Xe, {
|
|
1470
1918
|
size: 12,
|
|
1471
1919
|
className: p
|
|
1472
|
-
}) : n ? /* @__PURE__ */ l(
|
|
1920
|
+
}) : n ? /* @__PURE__ */ l(Je, {
|
|
1473
1921
|
size: 12,
|
|
1474
1922
|
className: p
|
|
1475
1923
|
}) : null
|
|
@@ -1480,14 +1928,14 @@ function Ee({ label: t, checked: n = !1, indeterminate: r = !1, disabled: i, hin
|
|
|
1480
1928
|
})
|
|
1481
1929
|
]
|
|
1482
1930
|
}), a && /* @__PURE__ */ l("span", {
|
|
1483
|
-
className:
|
|
1931
|
+
className: Q("text-xs text-gray-500", f),
|
|
1484
1932
|
children: a
|
|
1485
1933
|
})]
|
|
1486
1934
|
});
|
|
1487
1935
|
}
|
|
1488
1936
|
//#endregion
|
|
1489
1937
|
//#region src/file.tsx
|
|
1490
|
-
function
|
|
1938
|
+
function et({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i, className: a, dropzoneClassName: o, draggingClassName: s, labelClassName: c, buttonClassName: d, fileItemClassName: f, fileNameClassName: p, removeIconClassName: m }) {
|
|
1491
1939
|
let [h, g] = e.useState([]), [_, v] = e.useState(!1), y = (e) => {
|
|
1492
1940
|
if (!e) return;
|
|
1493
1941
|
let a = Array.from(e).filter((e) => {
|
|
@@ -1497,7 +1945,7 @@ function De({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i, clas
|
|
|
1497
1945
|
g(o), i?.(o);
|
|
1498
1946
|
};
|
|
1499
1947
|
return /* @__PURE__ */ u("div", {
|
|
1500
|
-
className:
|
|
1948
|
+
className: Q("space-y-3", a),
|
|
1501
1949
|
children: [/* @__PURE__ */ u("div", {
|
|
1502
1950
|
onDragOver: (e) => {
|
|
1503
1951
|
e.preventDefault(), v(!0);
|
|
@@ -1506,11 +1954,11 @@ function De({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i, clas
|
|
|
1506
1954
|
onDrop: (e) => {
|
|
1507
1955
|
e.preventDefault(), v(!1), y(e.dataTransfer.files);
|
|
1508
1956
|
},
|
|
1509
|
-
className:
|
|
1957
|
+
className: Q("border-2 border-dashed rounded-lg p-6 text-center transition", _ ? "border-primary bg-primary/5" : "border-gray-300", _ && s, o),
|
|
1510
1958
|
children: [
|
|
1511
|
-
/* @__PURE__ */ l(
|
|
1959
|
+
/* @__PURE__ */ l(Ze, { className: "mx-auto mb-2" }),
|
|
1512
1960
|
/* @__PURE__ */ l("p", {
|
|
1513
|
-
className:
|
|
1961
|
+
className: Q("text-sm font-medium", c),
|
|
1514
1962
|
children: "Arrastra o selecciona un archivo"
|
|
1515
1963
|
}),
|
|
1516
1964
|
/* @__PURE__ */ u("p", {
|
|
@@ -1530,23 +1978,23 @@ function De({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i, clas
|
|
|
1530
1978
|
}),
|
|
1531
1979
|
/* @__PURE__ */ l("label", {
|
|
1532
1980
|
htmlFor: "file-upload",
|
|
1533
|
-
className:
|
|
1981
|
+
className: Q("inline-block mt-3 px-4 py-2 border rounded cursor-pointer", d),
|
|
1534
1982
|
children: "Seleccionar"
|
|
1535
1983
|
})
|
|
1536
1984
|
]
|
|
1537
1985
|
}), /* @__PURE__ */ l("div", {
|
|
1538
1986
|
className: "space-y-2",
|
|
1539
1987
|
children: h.map((e, t) => /* @__PURE__ */ u("div", {
|
|
1540
|
-
className:
|
|
1988
|
+
className: Q("flex items-center justify-between border p-2 rounded", f),
|
|
1541
1989
|
children: [/* @__PURE__ */ u("div", {
|
|
1542
1990
|
className: "flex items-center gap-2",
|
|
1543
|
-
children: [/* @__PURE__ */ l(
|
|
1544
|
-
className:
|
|
1991
|
+
children: [/* @__PURE__ */ l(Ye, { size: 16 }), /* @__PURE__ */ l("span", {
|
|
1992
|
+
className: Q("text-sm", p),
|
|
1545
1993
|
children: e.name
|
|
1546
1994
|
})]
|
|
1547
|
-
}), /* @__PURE__ */ l(
|
|
1995
|
+
}), /* @__PURE__ */ l(Qe, {
|
|
1548
1996
|
size: 16,
|
|
1549
|
-
className:
|
|
1997
|
+
className: Q("cursor-pointer", m),
|
|
1550
1998
|
onClick: () => {
|
|
1551
1999
|
let e = h.filter((e, n) => n !== t);
|
|
1552
2000
|
g(e), i?.(e);
|
|
@@ -1558,7 +2006,7 @@ function De({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i, clas
|
|
|
1558
2006
|
}
|
|
1559
2007
|
//#endregion
|
|
1560
2008
|
//#region src/fileItem.tsx
|
|
1561
|
-
var
|
|
2009
|
+
var tt = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "default", dropdownOptions: o = [], onMenuClick: s, className: d, leftSectionClassName: f, titleClassName: p, subtitleClassName: m, iconClassName: h, menuButtonClassName: g, dropdownClassName: _, optionClassName: v }) => {
|
|
1562
2010
|
let [y, b] = t.useState(!1), x = t.useRef(null), S = i || a === "loading";
|
|
1563
2011
|
return t.useEffect(() => {
|
|
1564
2012
|
function e(e) {
|
|
@@ -1568,19 +2016,19 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1568
2016
|
document.removeEventListener("mousedown", e);
|
|
1569
2017
|
};
|
|
1570
2018
|
}, []), /* @__PURE__ */ u("div", {
|
|
1571
|
-
className:
|
|
2019
|
+
className: Q("relative w-[380px] rounded-xl border border-orange-500 bg-white px-4 py-4 flex items-start justify-between shadow-sm hover:shadow-md transition-all duration-200", d),
|
|
1572
2020
|
children: [/* @__PURE__ */ u("div", {
|
|
1573
|
-
className:
|
|
2021
|
+
className: Q("flex items-start gap-3", f),
|
|
1574
2022
|
children: [/* @__PURE__ */ l("div", {
|
|
1575
|
-
className:
|
|
2023
|
+
className: Q("shrink-0", h),
|
|
1576
2024
|
children: r
|
|
1577
2025
|
}), /* @__PURE__ */ u("div", {
|
|
1578
2026
|
className: "flex flex-col",
|
|
1579
2027
|
children: [/* @__PURE__ */ l("span", {
|
|
1580
|
-
className:
|
|
2028
|
+
className: Q("text-sm font-semibold text-gray-900", p),
|
|
1581
2029
|
children: e
|
|
1582
2030
|
}), /* @__PURE__ */ u("div", {
|
|
1583
|
-
className:
|
|
2031
|
+
className: Q("flex items-center gap-2 text-sm text-gray-500 mt-1", m),
|
|
1584
2032
|
children: [/* @__PURE__ */ l("span", { children: n }), S && /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("span", {
|
|
1585
2033
|
className: "animate-spin text-orange-500",
|
|
1586
2034
|
children: "✴"
|
|
@@ -1597,20 +2045,20 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1597
2045
|
onClick: () => {
|
|
1598
2046
|
b(!y), s?.();
|
|
1599
2047
|
},
|
|
1600
|
-
className:
|
|
2048
|
+
className: Q("flex items-center justify-center w-9 h-9 rounded-lg hover:bg-orange-50 text-orange-500 transition-colors duration-200", g),
|
|
1601
2049
|
children: /* @__PURE__ */ l("span", {
|
|
1602
2050
|
className: "text-xl leading-none",
|
|
1603
2051
|
children: "⋯"
|
|
1604
2052
|
})
|
|
1605
2053
|
}), y && o.length > 0 && /* @__PURE__ */ l("div", {
|
|
1606
|
-
className:
|
|
2054
|
+
className: Q("absolute right-0 mt-2 w-44 rounded-2xl border border-gray-200 bg-white shadow-xl z-20 overflow-hidden animate-in fade-in zoom-in-95 duration-150", _),
|
|
1607
2055
|
children: /* @__PURE__ */ l("div", {
|
|
1608
2056
|
className: "py-2",
|
|
1609
2057
|
children: o.map((e, t) => /* @__PURE__ */ u("button", {
|
|
1610
2058
|
onClick: () => {
|
|
1611
2059
|
e.onClick?.(), b(!1);
|
|
1612
2060
|
},
|
|
1613
|
-
className:
|
|
2061
|
+
className: Q("w-full flex items-center gap-3 px-4 py-3 text-sm transition-colors duration-150", e.danger ? "text-red-500 hover:bg-red-50" : "text-gray-700 hover:bg-orange-50 hover:text-orange-600", v),
|
|
1614
2062
|
children: [/* @__PURE__ */ l("span", {
|
|
1615
2063
|
className: "shrink-0",
|
|
1616
2064
|
children: e.icon
|
|
@@ -1623,20 +2071,20 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1623
2071
|
})]
|
|
1624
2072
|
})]
|
|
1625
2073
|
});
|
|
1626
|
-
},
|
|
2074
|
+
}, nt = ({ children: e, onClick: t, className: n, contentClassName: r, hoverClassName: i, skeletonClassName: a, clickable: o = !0 }) => /* @__PURE__ */ l("div", {
|
|
1627
2075
|
onClick: t,
|
|
1628
|
-
className:
|
|
2076
|
+
className: Q("w-full bg-white rounded-2xl border border-gray-200 shadow-sm overflow-hidden transition-all duration-200", o && "cursor-pointer", o && "hover:shadow-md", i, n),
|
|
1629
2077
|
children: /* @__PURE__ */ l("div", {
|
|
1630
|
-
className:
|
|
2078
|
+
className: Q("min-h-[72px] px-6 py-4 flex items-center justify-between", r),
|
|
1631
2079
|
children: e || /* @__PURE__ */ u(c, { children: [
|
|
1632
|
-
/* @__PURE__ */ l("div", { className:
|
|
1633
|
-
/* @__PURE__ */ l("div", { className:
|
|
1634
|
-
/* @__PURE__ */ l("div", { className:
|
|
1635
|
-
/* @__PURE__ */ l("div", { className:
|
|
1636
|
-
/* @__PURE__ */ l("div", { className:
|
|
2080
|
+
/* @__PURE__ */ l("div", { className: Q("flex-1 h-5 rounded-md bg-gray-100", a) }),
|
|
2081
|
+
/* @__PURE__ */ l("div", { className: Q("w-24 h-5 rounded-md bg-gray-100 ml-6", a) }),
|
|
2082
|
+
/* @__PURE__ */ l("div", { className: Q("w-24 h-5 rounded-md bg-gray-100 ml-6", a) }),
|
|
2083
|
+
/* @__PURE__ */ l("div", { className: Q("w-32 h-5 rounded-md bg-gray-100 ml-6", a) }),
|
|
2084
|
+
/* @__PURE__ */ l("div", { className: Q("w-6 h-6 rounded-md bg-gray-100 ml-6", a) })
|
|
1637
2085
|
] })
|
|
1638
2086
|
})
|
|
1639
|
-
}),
|
|
2087
|
+
}), rt = ({ open: e, onClose: n, variant: r = "content", title: i, description: a, children: o, primaryAction: s, secondaryAction: c, size: d = "medium", closeOnOverlayClick: f = !0, closeOnEsc: p = !0, hideIcon: m = !1, className: h, overlayClassName: g, contentClassName: _, headerClassName: v, bodyClassName: y, footerClassName: b, iconClassName: x, titleClassName: S, descriptionClassName: C }) => {
|
|
1640
2088
|
if (t.useEffect(() => {
|
|
1641
2089
|
if (!e) return;
|
|
1642
2090
|
document.body.style.overflow = "hidden";
|
|
@@ -1678,43 +2126,43 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1678
2126
|
}
|
|
1679
2127
|
}[r];
|
|
1680
2128
|
return /* @__PURE__ */ u("div", {
|
|
1681
|
-
className:
|
|
2129
|
+
className: Q("fixed inset-0 z-50 flex items-center justify-center", h),
|
|
1682
2130
|
children: [/* @__PURE__ */ l("div", {
|
|
1683
|
-
className:
|
|
2131
|
+
className: Q("absolute inset-0 backdrop-blur-sm bg-black/20", g),
|
|
1684
2132
|
onClick: () => {
|
|
1685
2133
|
f && n();
|
|
1686
2134
|
}
|
|
1687
2135
|
}), /* @__PURE__ */ u("div", {
|
|
1688
|
-
className:
|
|
2136
|
+
className: Q("relative z-10 bg-white rounded-2xl shadow-2xl border border-gray-200 overflow-hidden animate-in fade-in zoom-in-95 duration-200", w[d], _),
|
|
1689
2137
|
children: [
|
|
1690
2138
|
/* @__PURE__ */ u("div", {
|
|
1691
|
-
className:
|
|
2139
|
+
className: Q("px-6 pt-6 pb-4 text-center", v),
|
|
1692
2140
|
children: [
|
|
1693
2141
|
!m && /* @__PURE__ */ l("div", {
|
|
1694
|
-
className:
|
|
2142
|
+
className: Q("w-14 h-14 mx-auto mb-4 rounded-full flex items-center justify-center text-2xl font-bold", T.bg, T.text, x),
|
|
1695
2143
|
children: T.icon
|
|
1696
2144
|
}),
|
|
1697
2145
|
/* @__PURE__ */ l("h2", {
|
|
1698
|
-
className:
|
|
2146
|
+
className: Q("text-lg font-semibold text-gray-900", S),
|
|
1699
2147
|
children: i
|
|
1700
2148
|
}),
|
|
1701
2149
|
a && /* @__PURE__ */ l("p", {
|
|
1702
|
-
className:
|
|
2150
|
+
className: Q("mt-2 text-sm text-gray-500", C),
|
|
1703
2151
|
children: a
|
|
1704
2152
|
})
|
|
1705
2153
|
]
|
|
1706
2154
|
}),
|
|
1707
2155
|
o && /* @__PURE__ */ l("div", {
|
|
1708
|
-
className:
|
|
2156
|
+
className: Q("px-6 pb-6", y),
|
|
1709
2157
|
children: o
|
|
1710
2158
|
}),
|
|
1711
2159
|
(s || c) && /* @__PURE__ */ u("div", {
|
|
1712
|
-
className:
|
|
1713
|
-
children: [c && /* @__PURE__ */ l(
|
|
2160
|
+
className: Q("flex justify-end gap-3 px-6 py-4 bg-gray-50 border-t border-gray-100", b),
|
|
2161
|
+
children: [c && /* @__PURE__ */ l(Ve, {
|
|
1714
2162
|
text: c.text,
|
|
1715
2163
|
variant: "secondary",
|
|
1716
2164
|
onClick: c.onClick
|
|
1717
|
-
}), s && /* @__PURE__ */ l(
|
|
2165
|
+
}), s && /* @__PURE__ */ l(Ve, {
|
|
1718
2166
|
text: s.text,
|
|
1719
2167
|
variant: "primary",
|
|
1720
2168
|
onClick: s.onClick
|
|
@@ -1723,10 +2171,10 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1723
2171
|
]
|
|
1724
2172
|
})]
|
|
1725
2173
|
});
|
|
1726
|
-
},
|
|
1727
|
-
className:
|
|
2174
|
+
}, it = ({ active: e, blur: t = 8, overlayOpacity: n = .35, children: r, onClick: i, closeOnClick: a = !1, disablePointerEvents: o = !1, className: s, overlayClassName: c, contentClassName: d }) => e ? /* @__PURE__ */ u("div", {
|
|
2175
|
+
className: Q("fixed inset-0 z-40", o && "pointer-events-none", s),
|
|
1728
2176
|
children: [/* @__PURE__ */ l("div", {
|
|
1729
|
-
className:
|
|
2177
|
+
className: Q("absolute inset-0 backdrop-blur-sm", c),
|
|
1730
2178
|
style: {
|
|
1731
2179
|
backdropFilter: `blur(${t}px)`,
|
|
1732
2180
|
backgroundColor: `rgba(255,255,255,${n})`
|
|
@@ -1735,13 +2183,13 @@ var Oe = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
1735
2183
|
a && i?.();
|
|
1736
2184
|
}
|
|
1737
2185
|
}), /* @__PURE__ */ l("div", {
|
|
1738
|
-
className:
|
|
2186
|
+
className: Q("relative z-50 flex items-center justify-center w-full h-full", !o && "pointer-events-auto", d),
|
|
1739
2187
|
children: r
|
|
1740
2188
|
})]
|
|
1741
2189
|
}) : null;
|
|
1742
2190
|
//#endregion
|
|
1743
2191
|
//#region src/table.tsx
|
|
1744
|
-
function
|
|
2192
|
+
function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i = "" }) {
|
|
1745
2193
|
let [o, c] = s(1), [d, f] = s({}), p = (e, t) => {
|
|
1746
2194
|
f((n) => ({
|
|
1747
2195
|
...n,
|
|
@@ -1794,7 +2242,7 @@ function Me({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i =
|
|
|
1794
2242
|
className: "border-t hover:bg-gray-50 transition",
|
|
1795
2243
|
children: [e.map((e) => /* @__PURE__ */ l("td", {
|
|
1796
2244
|
className: "p-3 text-sm",
|
|
1797
|
-
children: t[e.key]
|
|
2245
|
+
children: e.render ? e.render(t[e.key]) : t[e.key]
|
|
1798
2246
|
}, e.key)), /* @__PURE__ */ l("td", {
|
|
1799
2247
|
className: "p-3 text-right",
|
|
1800
2248
|
children: "•••"
|
|
@@ -1836,26 +2284,26 @@ function Me({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i =
|
|
|
1836
2284
|
}
|
|
1837
2285
|
//#endregion
|
|
1838
2286
|
//#region src/Select.tsx
|
|
1839
|
-
var
|
|
1840
|
-
let [b, x] = s(!1), [S, C] = s(""), w = o(null), T = (e) => t && Array.isArray(d) ? d.includes(e) : d === e,
|
|
2287
|
+
var ot = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r, required: a, hint: c, value: d, onChange: f, className: p, triggerClassName: m, dropdownClassName: h, optionClassName: g, labelClassName: _, hintClassName: v, searchClassName: y }) => {
|
|
2288
|
+
let [b, x] = s(!1), [S, C] = s(""), w = o(null), T = (e) => t && Array.isArray(d) ? d.includes(e) : d === e, ee = (e) => {
|
|
1841
2289
|
if (t) {
|
|
1842
2290
|
let t = Array.isArray(d) ? [...d] : [];
|
|
1843
2291
|
t.includes(e) ? t = t.filter((t) => t !== e) : t.push(e), f?.(t);
|
|
1844
2292
|
} else f?.(e), x(!1);
|
|
1845
|
-
},
|
|
2293
|
+
}, te = (e) => {
|
|
1846
2294
|
!t || !Array.isArray(d) || f?.(d.filter((t) => t !== e));
|
|
1847
|
-
},
|
|
2295
|
+
}, E = e.filter((e) => e.label.toLowerCase().includes(S.toLowerCase()));
|
|
1848
2296
|
return i(() => {
|
|
1849
2297
|
let e = (e) => {
|
|
1850
2298
|
w.current?.contains(e.target) || x(!1);
|
|
1851
2299
|
};
|
|
1852
2300
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
1853
2301
|
}, []), /* @__PURE__ */ u("div", {
|
|
1854
|
-
className:
|
|
2302
|
+
className: Q("w-[300px] text-sm", p),
|
|
1855
2303
|
ref: w,
|
|
1856
2304
|
children: [
|
|
1857
2305
|
r && /* @__PURE__ */ u("label", {
|
|
1858
|
-
className:
|
|
2306
|
+
className: Q("block mb-1 font-medium", _),
|
|
1859
2307
|
children: [
|
|
1860
2308
|
r,
|
|
1861
2309
|
" ",
|
|
@@ -1866,13 +2314,13 @@ var Ne = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r
|
|
|
1866
2314
|
]
|
|
1867
2315
|
}),
|
|
1868
2316
|
/* @__PURE__ */ l("div", {
|
|
1869
|
-
className:
|
|
2317
|
+
className: Q("border rounded-lg px-3 py-2 flex flex-wrap gap-2 items-center cursor-pointer", m),
|
|
1870
2318
|
onClick: () => x(!b),
|
|
1871
2319
|
children: t && Array.isArray(d) ? d.length > 0 ? d.map((t) => /* @__PURE__ */ u("span", {
|
|
1872
2320
|
className: "bg-gray-200 px-2 py-1 rounded flex items-center gap-1",
|
|
1873
2321
|
children: [e.find((e) => e.value === t)?.label, /* @__PURE__ */ l("button", {
|
|
1874
2322
|
onClick: (e) => {
|
|
1875
|
-
e.stopPropagation(),
|
|
2323
|
+
e.stopPropagation(), te(t);
|
|
1876
2324
|
},
|
|
1877
2325
|
children: "×"
|
|
1878
2326
|
})]
|
|
@@ -1885,18 +2333,18 @@ var Ne = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r
|
|
|
1885
2333
|
}) })
|
|
1886
2334
|
}),
|
|
1887
2335
|
b && /* @__PURE__ */ u("div", {
|
|
1888
|
-
className:
|
|
2336
|
+
className: Q("border rounded-lg mt-2 p-2 bg-white shadow", h),
|
|
1889
2337
|
children: [/* @__PURE__ */ l("input", {
|
|
1890
2338
|
type: "text",
|
|
1891
2339
|
placeholder: "Buscar...",
|
|
1892
|
-
className:
|
|
2340
|
+
className: Q("w-full border px-2 py-1 mb-2 rounded", y),
|
|
1893
2341
|
value: S,
|
|
1894
2342
|
onChange: (e) => C(e.target.value)
|
|
1895
2343
|
}), /* @__PURE__ */ l("div", {
|
|
1896
2344
|
className: "max-h-40 overflow-auto",
|
|
1897
|
-
children:
|
|
1898
|
-
className:
|
|
1899
|
-
onClick: () =>
|
|
2345
|
+
children: E.map((e) => /* @__PURE__ */ u("div", {
|
|
2346
|
+
className: Q("flex items-center gap-2 px-2 py-1 hover:bg-gray-100 cursor-pointer", g),
|
|
2347
|
+
onClick: () => ee(e.value),
|
|
1900
2348
|
children: [
|
|
1901
2349
|
t && /* @__PURE__ */ l("input", {
|
|
1902
2350
|
type: "checkbox",
|
|
@@ -1913,11 +2361,11 @@ var Ne = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r
|
|
|
1913
2361
|
})]
|
|
1914
2362
|
}),
|
|
1915
2363
|
c && /* @__PURE__ */ l("p", {
|
|
1916
|
-
className:
|
|
2364
|
+
className: Q("text-gray-400 mt-1 text-xs", v),
|
|
1917
2365
|
children: c
|
|
1918
2366
|
})
|
|
1919
2367
|
]
|
|
1920
2368
|
});
|
|
1921
2369
|
};
|
|
1922
2370
|
//#endregion
|
|
1923
|
-
export {
|
|
2371
|
+
export { it as BackgroundBlur, Ve as Button, nt as CardRow, $e as Checkbox, tt as FileItem, et as FileUpload, He as Input, rt as Modal, ot as Select, at as Table, Ue as TextArea };
|