@youversion/design-system-components 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Box/Box.d.ts.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/Breadcrumb/Breadcrumbs.d.ts.map +1 -1
- package/dist/Button/Button.d.ts.map +1 -1
- package/dist/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/Dialog/Dialog.d.ts.map +1 -1
- package/dist/Divider/Divider.d.ts.map +1 -1
- package/dist/HorizontalLoader/HorizontalLoader.d.ts.map +1 -1
- package/dist/IconButton/IconButton.d.ts.map +1 -1
- package/dist/IconLinkButton/IconLinkButton.d.ts.map +1 -1
- package/dist/ImageUpload/ImageUpload.d.ts.map +1 -1
- package/dist/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/List/List.d.ts.map +1 -1
- package/dist/ListItem/ListItem.d.ts.map +1 -1
- package/dist/ListItemText/ListItemText.d.ts.map +1 -1
- package/dist/Popover/Popover.d.ts.map +1 -1
- package/dist/Select/Select.d.ts.map +1 -1
- package/dist/Tab/Tab.d.ts.map +1 -1
- package/dist/Tag/Tag.d.ts.map +1 -1
- package/dist/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/Typography/Variants.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +3271 -828
- package/dist/index.umd.js +1 -1
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/package.json +3 -2
package/dist/index.es.js
CHANGED
|
@@ -1,55 +1,2497 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import je from "clsx";
|
|
2
|
+
import { jsxs as y, jsx as l, Fragment as Ie } from "react/jsx-runtime";
|
|
3
|
+
import ht, { forwardRef as $, createElement as V, useEffect as oe, useLayoutEffect as Qt, useRef as F, useState as q, useCallback as xe, useMemo as re, Children as Yt, isValidElement as er, useId as tr, cloneElement as rr } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
var
|
|
5
|
+
var nr = Object.defineProperty, or = Object.defineProperties, ar = Object.getOwnPropertyDescriptors, ye = Object.getOwnPropertySymbols, vt = Object.prototype.hasOwnProperty, xt = Object.prototype.propertyIsEnumerable, Ve = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ir = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
vt.call(t, r) && Ve(e, r, t[r]);
|
|
8
|
+
if (ye)
|
|
9
|
+
for (var r of ye(t))
|
|
10
|
+
xt.call(t, r) && Ve(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, sr = (e, t) => or(e, ar(t)), lr = (e, t) => {
|
|
13
13
|
var r = {};
|
|
14
14
|
for (var n in e)
|
|
15
|
-
|
|
16
|
-
if (e != null &&
|
|
17
|
-
for (var n of
|
|
18
|
-
t.indexOf(n) < 0 &&
|
|
15
|
+
vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
16
|
+
if (e != null && ye)
|
|
17
|
+
for (var n of ye(e))
|
|
18
|
+
t.indexOf(n) < 0 && xt.call(e, n) && (r[n] = e[n]);
|
|
19
19
|
return r;
|
|
20
|
-
},
|
|
21
|
-
var r = e, { title: n, titleId:
|
|
22
|
-
return
|
|
23
|
-
},
|
|
24
|
-
|
|
20
|
+
}, dr = (e, t) => {
|
|
21
|
+
var r = e, { title: n, titleId: o } = r, a = lr(r, ["title", "titleId"]);
|
|
22
|
+
return y("svg", sr(ir({ width: a.size || "24", height: a.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": o }, a), { children: [n ? l("title", { id: o, children: n }) : null, l("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.207 10a.5.5 0 0 0-.354.854l3.793 3.792a.5.5 0 0 0 .707 0l3.793-3.792a.5.5 0 0 0-.353-.854H8.207Z", fill: "currentColor" })] }));
|
|
23
|
+
}, cr = $(dr), yt = cr, wt = {
|
|
24
|
+
0: "0px",
|
|
25
|
+
px: "1px",
|
|
26
|
+
"0.25": "2px",
|
|
27
|
+
"0.5": "4px",
|
|
28
|
+
1: "8px",
|
|
29
|
+
"1.5": "12px",
|
|
30
|
+
2: "16px",
|
|
31
|
+
3: "24px",
|
|
32
|
+
4: "32px",
|
|
33
|
+
5: "40px",
|
|
34
|
+
6: "48px",
|
|
35
|
+
8: "64px",
|
|
36
|
+
10: "80px",
|
|
37
|
+
12: "96px",
|
|
38
|
+
16: "128px",
|
|
39
|
+
20: "144px",
|
|
40
|
+
22: "160px",
|
|
41
|
+
full: "100%"
|
|
42
|
+
}, kt = {
|
|
43
|
+
borderRadius: wt,
|
|
44
|
+
borderWidth: {
|
|
45
|
+
none: "0px",
|
|
46
|
+
small: "1px",
|
|
47
|
+
standard: "2px",
|
|
48
|
+
// eslint-disable-next-line sort-keys
|
|
49
|
+
large: "3px"
|
|
50
|
+
}
|
|
51
|
+
}, Ae = {
|
|
52
|
+
fontSize: {
|
|
53
|
+
11: "0.6875rem",
|
|
54
|
+
// 11px - xs
|
|
55
|
+
13: "0.8125rem",
|
|
56
|
+
// 13px - sm
|
|
57
|
+
16: "1rem",
|
|
58
|
+
// 16px - md
|
|
59
|
+
19: "1.1875rem",
|
|
60
|
+
// 19px - lg
|
|
61
|
+
23: "1.4375rem",
|
|
62
|
+
// 23px - xl
|
|
63
|
+
28: "1.75rem",
|
|
64
|
+
// 28px - 2xl
|
|
65
|
+
33: "2.0625rem",
|
|
66
|
+
// 33px - 3xl
|
|
67
|
+
40: "2.5rem",
|
|
68
|
+
// 40px - 4xl
|
|
69
|
+
48: "3rem",
|
|
70
|
+
// 48px - 5xl
|
|
71
|
+
57: "3.5625rem",
|
|
72
|
+
// 57px - 6xl
|
|
73
|
+
69: "4.3125rem",
|
|
74
|
+
// 69px - 7xl
|
|
75
|
+
83: "5.1875rem",
|
|
76
|
+
// 83px
|
|
77
|
+
99: "6.1875rem",
|
|
78
|
+
// 99px
|
|
79
|
+
119: "7.4375rem",
|
|
80
|
+
// 119px
|
|
81
|
+
143: "8.9375rem"
|
|
82
|
+
// 143px
|
|
83
|
+
},
|
|
84
|
+
fontWeight: {
|
|
85
|
+
thin: 100,
|
|
86
|
+
regular: 400,
|
|
87
|
+
medium: 500,
|
|
88
|
+
bold: 700
|
|
89
|
+
},
|
|
90
|
+
fontFamily: {
|
|
91
|
+
"aktiv-grotesk": 'Aktiv Grotesk, "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif',
|
|
92
|
+
"aktiv-grotesk-exanded": 'Aktiv Grotesk Expanded, Aktiv Grotesk, "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif',
|
|
93
|
+
"untitled-serif": "Untitled Serif, Baskerville, Georgia, Times New Roman, serif"
|
|
94
|
+
},
|
|
95
|
+
lineHeight: {
|
|
96
|
+
0: 0,
|
|
97
|
+
tight: 1,
|
|
98
|
+
comfy: 1.1,
|
|
99
|
+
default: 1.25,
|
|
100
|
+
loose: 1.5
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
function ur() {
|
|
104
|
+
for (var e = 0, t, r, n = ""; e < arguments.length; )
|
|
105
|
+
(t = arguments[e++]) && (r = $t(t)) && (n && (n += " "), n += r);
|
|
106
|
+
return n;
|
|
107
|
+
}
|
|
108
|
+
function $t(e) {
|
|
109
|
+
if (typeof e == "string")
|
|
110
|
+
return e;
|
|
111
|
+
for (var t, r = "", n = 0; n < e.length; n++)
|
|
112
|
+
e[n] && (t = $t(e[n])) && (r && (r += " "), r += t);
|
|
113
|
+
return r;
|
|
114
|
+
}
|
|
115
|
+
var We = "-";
|
|
116
|
+
function fr(e) {
|
|
117
|
+
var t = br(e), r = e.conflictingClassGroups, n = e.conflictingClassGroupModifiers, o = n === void 0 ? {} : n;
|
|
118
|
+
function a(s) {
|
|
119
|
+
var d = s.split(We);
|
|
120
|
+
return d[0] === "" && d.length !== 1 && d.shift(), St(d, t) || pr(s);
|
|
121
|
+
}
|
|
122
|
+
function i(s, d) {
|
|
123
|
+
var c = r[s] || [];
|
|
124
|
+
return d && o[s] ? [].concat(c, o[s]) : c;
|
|
125
|
+
}
|
|
126
|
+
return {
|
|
127
|
+
getClassGroupId: a,
|
|
128
|
+
getConflictingClassGroupIds: i
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function St(e, t) {
|
|
132
|
+
var i;
|
|
133
|
+
if (e.length === 0)
|
|
134
|
+
return t.classGroupId;
|
|
135
|
+
var r = e[0], n = t.nextPart.get(r), o = n ? St(e.slice(1), n) : void 0;
|
|
136
|
+
if (o)
|
|
137
|
+
return o;
|
|
138
|
+
if (t.validators.length !== 0) {
|
|
139
|
+
var a = e.join(We);
|
|
140
|
+
return (i = t.validators.find(function(s) {
|
|
141
|
+
var d = s.validator;
|
|
142
|
+
return d(a);
|
|
143
|
+
})) == null ? void 0 : i.classGroupId;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
var Ue = /^\[(.+)\]$/;
|
|
147
|
+
function pr(e) {
|
|
148
|
+
if (Ue.test(e)) {
|
|
149
|
+
var t = Ue.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
150
|
+
if (r)
|
|
151
|
+
return "arbitrary.." + r;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
function br(e) {
|
|
155
|
+
var t = e.theme, r = e.prefix, n = {
|
|
156
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
157
|
+
validators: []
|
|
158
|
+
}, o = mr(Object.entries(e.classGroups), r);
|
|
159
|
+
return o.forEach(function(a) {
|
|
160
|
+
var i = a[0], s = a[1];
|
|
161
|
+
Me(s, n, i, t);
|
|
162
|
+
}), n;
|
|
163
|
+
}
|
|
164
|
+
function Me(e, t, r, n) {
|
|
165
|
+
e.forEach(function(o) {
|
|
166
|
+
if (typeof o == "string") {
|
|
167
|
+
var a = o === "" ? t : _e(t, o);
|
|
168
|
+
a.classGroupId = r;
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
if (typeof o == "function") {
|
|
172
|
+
if (gr(o)) {
|
|
173
|
+
Me(o(n), t, r, n);
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
t.validators.push({
|
|
177
|
+
validator: o,
|
|
178
|
+
classGroupId: r
|
|
179
|
+
});
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
Object.entries(o).forEach(function(i) {
|
|
183
|
+
var s = i[0], d = i[1];
|
|
184
|
+
Me(d, _e(t, s), r, n);
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
function _e(e, t) {
|
|
189
|
+
var r = e;
|
|
190
|
+
return t.split(We).forEach(function(n) {
|
|
191
|
+
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
192
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
193
|
+
validators: []
|
|
194
|
+
}), r = r.nextPart.get(n);
|
|
195
|
+
}), r;
|
|
196
|
+
}
|
|
197
|
+
function gr(e) {
|
|
198
|
+
return e.isThemeGetter;
|
|
199
|
+
}
|
|
200
|
+
function mr(e, t) {
|
|
201
|
+
return t ? e.map(function(r) {
|
|
202
|
+
var n = r[0], o = r[1], a = o.map(function(i) {
|
|
203
|
+
return typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(function(s) {
|
|
204
|
+
var d = s[0], c = s[1];
|
|
205
|
+
return [t + d, c];
|
|
206
|
+
})) : i;
|
|
207
|
+
});
|
|
208
|
+
return [n, a];
|
|
209
|
+
}) : e;
|
|
210
|
+
}
|
|
211
|
+
function hr(e) {
|
|
212
|
+
if (e < 1)
|
|
213
|
+
return {
|
|
214
|
+
get: function() {
|
|
215
|
+
},
|
|
216
|
+
set: function() {
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
var t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
220
|
+
function o(a, i) {
|
|
221
|
+
r.set(a, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
222
|
+
}
|
|
223
|
+
return {
|
|
224
|
+
get: function(i) {
|
|
225
|
+
var s = r.get(i);
|
|
226
|
+
if (s !== void 0)
|
|
227
|
+
return s;
|
|
228
|
+
if ((s = n.get(i)) !== void 0)
|
|
229
|
+
return o(i, s), s;
|
|
230
|
+
},
|
|
231
|
+
set: function(i, s) {
|
|
232
|
+
r.has(i) ? r.set(i, s) : o(i, s);
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
var Nt = "!";
|
|
237
|
+
function vr(e) {
|
|
238
|
+
var t = e.separator || ":", r = t.length === 1, n = t[0], o = t.length;
|
|
239
|
+
return function(i) {
|
|
240
|
+
for (var s = [], d = 0, c = 0, f, g = 0; g < i.length; g++) {
|
|
241
|
+
var v = i[g];
|
|
242
|
+
if (d === 0) {
|
|
243
|
+
if (v === n && (r || i.slice(g, g + o) === t)) {
|
|
244
|
+
s.push(i.slice(c, g)), c = g + o;
|
|
245
|
+
continue;
|
|
246
|
+
}
|
|
247
|
+
if (v === "/") {
|
|
248
|
+
f = g;
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
v === "[" ? d++ : v === "]" && d--;
|
|
253
|
+
}
|
|
254
|
+
var m = s.length === 0 ? i : i.substring(c), p = m.startsWith(Nt), w = p ? m.substring(1) : m, x = f && f > c ? f - c : void 0;
|
|
255
|
+
return {
|
|
256
|
+
modifiers: s,
|
|
257
|
+
hasImportantModifier: p,
|
|
258
|
+
baseClassName: w,
|
|
259
|
+
maybePostfixModifierPosition: x
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
function xr(e) {
|
|
264
|
+
if (e.length <= 1)
|
|
265
|
+
return e;
|
|
266
|
+
var t = [], r = [];
|
|
267
|
+
return e.forEach(function(n) {
|
|
268
|
+
var o = n[0] === "[";
|
|
269
|
+
o ? (t.push.apply(t, r.sort().concat([n])), r = []) : r.push(n);
|
|
270
|
+
}), t.push.apply(t, r.sort()), t;
|
|
271
|
+
}
|
|
272
|
+
function yr(e) {
|
|
273
|
+
return {
|
|
274
|
+
cache: hr(e.cacheSize),
|
|
275
|
+
splitModifiers: vr(e),
|
|
276
|
+
...fr(e)
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
var wr = /\s+/;
|
|
280
|
+
function kr(e, t) {
|
|
281
|
+
var r = t.splitModifiers, n = t.getClassGroupId, o = t.getConflictingClassGroupIds, a = /* @__PURE__ */ new Set();
|
|
282
|
+
return e.trim().split(wr).map(function(i) {
|
|
283
|
+
var s = r(i), d = s.modifiers, c = s.hasImportantModifier, f = s.baseClassName, g = s.maybePostfixModifierPosition, v = n(g ? f.substring(0, g) : f), m = Boolean(g);
|
|
284
|
+
if (!v) {
|
|
285
|
+
if (!g)
|
|
286
|
+
return {
|
|
287
|
+
isTailwindClass: !1,
|
|
288
|
+
originalClassName: i
|
|
289
|
+
};
|
|
290
|
+
if (v = n(f), !v)
|
|
291
|
+
return {
|
|
292
|
+
isTailwindClass: !1,
|
|
293
|
+
originalClassName: i
|
|
294
|
+
};
|
|
295
|
+
m = !1;
|
|
296
|
+
}
|
|
297
|
+
var p = xr(d).join(":"), w = c ? p + Nt : p;
|
|
298
|
+
return {
|
|
299
|
+
isTailwindClass: !0,
|
|
300
|
+
modifierId: w,
|
|
301
|
+
classGroupId: v,
|
|
302
|
+
originalClassName: i,
|
|
303
|
+
hasPostfixModifier: m
|
|
304
|
+
};
|
|
305
|
+
}).reverse().filter(function(i) {
|
|
306
|
+
if (!i.isTailwindClass)
|
|
307
|
+
return !0;
|
|
308
|
+
var s = i.modifierId, d = i.classGroupId, c = i.hasPostfixModifier, f = s + d;
|
|
309
|
+
return a.has(f) ? !1 : (a.add(f), o(d, c).forEach(function(g) {
|
|
310
|
+
return a.add(s + g);
|
|
311
|
+
}), !0);
|
|
312
|
+
}).reverse().map(function(i) {
|
|
313
|
+
return i.originalClassName;
|
|
314
|
+
}).join(" ");
|
|
315
|
+
}
|
|
316
|
+
function qe() {
|
|
317
|
+
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
318
|
+
t[r] = arguments[r];
|
|
319
|
+
var n, o, a, i = s;
|
|
320
|
+
function s(c) {
|
|
321
|
+
var f = t[0], g = t.slice(1), v = g.reduce(function(m, p) {
|
|
322
|
+
return p(m);
|
|
323
|
+
}, f());
|
|
324
|
+
return n = yr(v), o = n.cache.get, a = n.cache.set, i = d, d(c);
|
|
325
|
+
}
|
|
326
|
+
function d(c) {
|
|
327
|
+
var f = o(c);
|
|
328
|
+
if (f)
|
|
329
|
+
return f;
|
|
330
|
+
var g = kr(c, n);
|
|
331
|
+
return a(c, g), g;
|
|
332
|
+
}
|
|
333
|
+
return function() {
|
|
334
|
+
return i(ur.apply(null, arguments));
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
function k(e) {
|
|
338
|
+
var t = function(n) {
|
|
339
|
+
return n[e] || [];
|
|
340
|
+
};
|
|
341
|
+
return t.isThemeGetter = !0, t;
|
|
342
|
+
}
|
|
343
|
+
var Ct = /^\[(?:([a-z-]+):)?(.+)\]$/i, $r = /^\d+\/\d+$/, Sr = /* @__PURE__ */ new Set(["px", "full", "screen"]), Nr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Cr = /\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))|^0$/, Or = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
344
|
+
function j(e) {
|
|
345
|
+
return te(e) || Sr.has(e) || $r.test(e) || _(e);
|
|
346
|
+
}
|
|
347
|
+
function _(e) {
|
|
348
|
+
return ae(e, "length", Tr);
|
|
349
|
+
}
|
|
350
|
+
function Ir(e) {
|
|
351
|
+
return ae(e, "size", Ot);
|
|
352
|
+
}
|
|
353
|
+
function Er(e) {
|
|
354
|
+
return ae(e, "position", Ot);
|
|
355
|
+
}
|
|
356
|
+
function Pr(e) {
|
|
357
|
+
return ae(e, "url", zr);
|
|
358
|
+
}
|
|
359
|
+
function me(e) {
|
|
360
|
+
return ae(e, "number", te);
|
|
361
|
+
}
|
|
362
|
+
function te(e) {
|
|
363
|
+
return !Number.isNaN(Number(e));
|
|
364
|
+
}
|
|
365
|
+
function Lr(e) {
|
|
366
|
+
return e.endsWith("%") && te(e.slice(0, -1));
|
|
367
|
+
}
|
|
368
|
+
function ue(e) {
|
|
369
|
+
return Ze(e) || ae(e, "number", Ze);
|
|
370
|
+
}
|
|
371
|
+
function C(e) {
|
|
372
|
+
return Ct.test(e);
|
|
373
|
+
}
|
|
374
|
+
function fe() {
|
|
375
|
+
return !0;
|
|
376
|
+
}
|
|
377
|
+
function U(e) {
|
|
378
|
+
return Nr.test(e);
|
|
379
|
+
}
|
|
380
|
+
function Mr(e) {
|
|
381
|
+
return ae(e, "", Rr);
|
|
382
|
+
}
|
|
383
|
+
function ae(e, t, r) {
|
|
384
|
+
var n = Ct.exec(e);
|
|
385
|
+
return n ? n[1] ? n[1] === t : r(n[2]) : !1;
|
|
386
|
+
}
|
|
387
|
+
function Tr(e) {
|
|
388
|
+
return Cr.test(e);
|
|
389
|
+
}
|
|
390
|
+
function Ot() {
|
|
391
|
+
return !1;
|
|
392
|
+
}
|
|
393
|
+
function zr(e) {
|
|
394
|
+
return e.startsWith("url(");
|
|
395
|
+
}
|
|
396
|
+
function Ze(e) {
|
|
397
|
+
return Number.isInteger(Number(e));
|
|
398
|
+
}
|
|
399
|
+
function Rr(e) {
|
|
400
|
+
return Or.test(e);
|
|
401
|
+
}
|
|
402
|
+
function Ke() {
|
|
403
|
+
var e = k("colors"), t = k("spacing"), r = k("blur"), n = k("brightness"), o = k("borderColor"), a = k("borderRadius"), i = k("borderSpacing"), s = k("borderWidth"), d = k("contrast"), c = k("grayscale"), f = k("hueRotate"), g = k("invert"), v = k("gap"), m = k("gradientColorStops"), p = k("gradientColorStopPositions"), w = k("inset"), x = k("margin"), I = k("opacity"), N = k("padding"), P = k("saturate"), S = k("scale"), h = k("sepia"), u = k("skew"), Z = k("space"), E = k("translate"), K = function() {
|
|
404
|
+
return ["auto", "contain", "none"];
|
|
405
|
+
}, O = function() {
|
|
406
|
+
return ["auto", "hidden", "clip", "visible", "scroll"];
|
|
407
|
+
}, A = function() {
|
|
408
|
+
return ["auto", t];
|
|
409
|
+
}, z = function() {
|
|
410
|
+
return ["", j];
|
|
411
|
+
}, L = function() {
|
|
412
|
+
return ["auto", te, C];
|
|
413
|
+
}, ie = function() {
|
|
414
|
+
return ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
415
|
+
}, W = function() {
|
|
416
|
+
return ["solid", "dashed", "dotted", "double", "none"];
|
|
417
|
+
}, be = function() {
|
|
418
|
+
return ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"];
|
|
419
|
+
}, se = function() {
|
|
420
|
+
return ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
421
|
+
}, X = function() {
|
|
422
|
+
return ["", "0", C];
|
|
423
|
+
}, ge = function() {
|
|
424
|
+
return ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
425
|
+
}, J = function() {
|
|
426
|
+
return [te, me];
|
|
427
|
+
}, le = function() {
|
|
428
|
+
return [te, C];
|
|
429
|
+
};
|
|
430
|
+
return {
|
|
431
|
+
cacheSize: 500,
|
|
432
|
+
theme: {
|
|
433
|
+
colors: [fe],
|
|
434
|
+
spacing: [j],
|
|
435
|
+
blur: ["none", "", U, _],
|
|
436
|
+
brightness: J(),
|
|
437
|
+
borderColor: [e],
|
|
438
|
+
borderRadius: ["none", "", "full", U, _],
|
|
439
|
+
borderSpacing: [t],
|
|
440
|
+
borderWidth: z(),
|
|
441
|
+
contrast: J(),
|
|
442
|
+
grayscale: X(),
|
|
443
|
+
hueRotate: le(),
|
|
444
|
+
invert: X(),
|
|
445
|
+
gap: [t],
|
|
446
|
+
gradientColorStops: [e],
|
|
447
|
+
gradientColorStopPositions: [Lr, _],
|
|
448
|
+
inset: A(),
|
|
449
|
+
margin: A(),
|
|
450
|
+
opacity: J(),
|
|
451
|
+
padding: [t],
|
|
452
|
+
saturate: J(),
|
|
453
|
+
scale: J(),
|
|
454
|
+
sepia: X(),
|
|
455
|
+
skew: le(),
|
|
456
|
+
space: [t],
|
|
457
|
+
translate: [t]
|
|
458
|
+
},
|
|
459
|
+
classGroups: {
|
|
460
|
+
// Layout
|
|
461
|
+
/**
|
|
462
|
+
* Aspect Ratio
|
|
463
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
464
|
+
*/
|
|
465
|
+
aspect: [{
|
|
466
|
+
aspect: ["auto", "square", "video", C]
|
|
467
|
+
}],
|
|
468
|
+
/**
|
|
469
|
+
* Container
|
|
470
|
+
* @see https://tailwindcss.com/docs/container
|
|
471
|
+
*/
|
|
472
|
+
container: ["container"],
|
|
473
|
+
/**
|
|
474
|
+
* Columns
|
|
475
|
+
* @see https://tailwindcss.com/docs/columns
|
|
476
|
+
*/
|
|
477
|
+
columns: [{
|
|
478
|
+
columns: [U]
|
|
479
|
+
}],
|
|
480
|
+
/**
|
|
481
|
+
* Break After
|
|
482
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
483
|
+
*/
|
|
484
|
+
"break-after": [{
|
|
485
|
+
"break-after": ge()
|
|
486
|
+
}],
|
|
487
|
+
/**
|
|
488
|
+
* Break Before
|
|
489
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
490
|
+
*/
|
|
491
|
+
"break-before": [{
|
|
492
|
+
"break-before": ge()
|
|
493
|
+
}],
|
|
494
|
+
/**
|
|
495
|
+
* Break Inside
|
|
496
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
497
|
+
*/
|
|
498
|
+
"break-inside": [{
|
|
499
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
500
|
+
}],
|
|
501
|
+
/**
|
|
502
|
+
* Box Decoration Break
|
|
503
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
504
|
+
*/
|
|
505
|
+
"box-decoration": [{
|
|
506
|
+
"box-decoration": ["slice", "clone"]
|
|
507
|
+
}],
|
|
508
|
+
/**
|
|
509
|
+
* Box Sizing
|
|
510
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
511
|
+
*/
|
|
512
|
+
box: [{
|
|
513
|
+
box: ["border", "content"]
|
|
514
|
+
}],
|
|
515
|
+
/**
|
|
516
|
+
* Display
|
|
517
|
+
* @see https://tailwindcss.com/docs/display
|
|
518
|
+
*/
|
|
519
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
520
|
+
/**
|
|
521
|
+
* Floats
|
|
522
|
+
* @see https://tailwindcss.com/docs/float
|
|
523
|
+
*/
|
|
524
|
+
float: [{
|
|
525
|
+
float: ["right", "left", "none"]
|
|
526
|
+
}],
|
|
527
|
+
/**
|
|
528
|
+
* Clear
|
|
529
|
+
* @see https://tailwindcss.com/docs/clear
|
|
530
|
+
*/
|
|
531
|
+
clear: [{
|
|
532
|
+
clear: ["left", "right", "both", "none"]
|
|
533
|
+
}],
|
|
534
|
+
/**
|
|
535
|
+
* Isolation
|
|
536
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
537
|
+
*/
|
|
538
|
+
isolation: ["isolate", "isolation-auto"],
|
|
539
|
+
/**
|
|
540
|
+
* Object Fit
|
|
541
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
542
|
+
*/
|
|
543
|
+
"object-fit": [{
|
|
544
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
545
|
+
}],
|
|
546
|
+
/**
|
|
547
|
+
* Object Position
|
|
548
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
549
|
+
*/
|
|
550
|
+
"object-position": [{
|
|
551
|
+
object: [].concat(ie(), [C])
|
|
552
|
+
}],
|
|
553
|
+
/**
|
|
554
|
+
* Overflow
|
|
555
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
556
|
+
*/
|
|
557
|
+
overflow: [{
|
|
558
|
+
overflow: O()
|
|
559
|
+
}],
|
|
560
|
+
/**
|
|
561
|
+
* Overflow X
|
|
562
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
563
|
+
*/
|
|
564
|
+
"overflow-x": [{
|
|
565
|
+
"overflow-x": O()
|
|
566
|
+
}],
|
|
567
|
+
/**
|
|
568
|
+
* Overflow Y
|
|
569
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
570
|
+
*/
|
|
571
|
+
"overflow-y": [{
|
|
572
|
+
"overflow-y": O()
|
|
573
|
+
}],
|
|
574
|
+
/**
|
|
575
|
+
* Overscroll Behavior
|
|
576
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
577
|
+
*/
|
|
578
|
+
overscroll: [{
|
|
579
|
+
overscroll: K()
|
|
580
|
+
}],
|
|
581
|
+
/**
|
|
582
|
+
* Overscroll Behavior X
|
|
583
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
584
|
+
*/
|
|
585
|
+
"overscroll-x": [{
|
|
586
|
+
"overscroll-x": K()
|
|
587
|
+
}],
|
|
588
|
+
/**
|
|
589
|
+
* Overscroll Behavior Y
|
|
590
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
591
|
+
*/
|
|
592
|
+
"overscroll-y": [{
|
|
593
|
+
"overscroll-y": K()
|
|
594
|
+
}],
|
|
595
|
+
/**
|
|
596
|
+
* Position
|
|
597
|
+
* @see https://tailwindcss.com/docs/position
|
|
598
|
+
*/
|
|
599
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
600
|
+
/**
|
|
601
|
+
* Top / Right / Bottom / Left
|
|
602
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
603
|
+
*/
|
|
604
|
+
inset: [{
|
|
605
|
+
inset: [w]
|
|
606
|
+
}],
|
|
607
|
+
/**
|
|
608
|
+
* Right / Left
|
|
609
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
610
|
+
*/
|
|
611
|
+
"inset-x": [{
|
|
612
|
+
"inset-x": [w]
|
|
613
|
+
}],
|
|
614
|
+
/**
|
|
615
|
+
* Top / Bottom
|
|
616
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
617
|
+
*/
|
|
618
|
+
"inset-y": [{
|
|
619
|
+
"inset-y": [w]
|
|
620
|
+
}],
|
|
621
|
+
/**
|
|
622
|
+
* Start
|
|
623
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
624
|
+
*/
|
|
625
|
+
start: [{
|
|
626
|
+
start: [w]
|
|
627
|
+
}],
|
|
628
|
+
/**
|
|
629
|
+
* End
|
|
630
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
631
|
+
*/
|
|
632
|
+
end: [{
|
|
633
|
+
end: [w]
|
|
634
|
+
}],
|
|
635
|
+
/**
|
|
636
|
+
* Top
|
|
637
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
638
|
+
*/
|
|
639
|
+
top: [{
|
|
640
|
+
top: [w]
|
|
641
|
+
}],
|
|
642
|
+
/**
|
|
643
|
+
* Right
|
|
644
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
645
|
+
*/
|
|
646
|
+
right: [{
|
|
647
|
+
right: [w]
|
|
648
|
+
}],
|
|
649
|
+
/**
|
|
650
|
+
* Bottom
|
|
651
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
652
|
+
*/
|
|
653
|
+
bottom: [{
|
|
654
|
+
bottom: [w]
|
|
655
|
+
}],
|
|
656
|
+
/**
|
|
657
|
+
* Left
|
|
658
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
659
|
+
*/
|
|
660
|
+
left: [{
|
|
661
|
+
left: [w]
|
|
662
|
+
}],
|
|
663
|
+
/**
|
|
664
|
+
* Visibility
|
|
665
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
666
|
+
*/
|
|
667
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
668
|
+
/**
|
|
669
|
+
* Z-Index
|
|
670
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
671
|
+
*/
|
|
672
|
+
z: [{
|
|
673
|
+
z: ["auto", ue]
|
|
674
|
+
}],
|
|
675
|
+
// Flexbox and Grid
|
|
676
|
+
/**
|
|
677
|
+
* Flex Basis
|
|
678
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
679
|
+
*/
|
|
680
|
+
basis: [{
|
|
681
|
+
basis: A()
|
|
682
|
+
}],
|
|
683
|
+
/**
|
|
684
|
+
* Flex Direction
|
|
685
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
686
|
+
*/
|
|
687
|
+
"flex-direction": [{
|
|
688
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
689
|
+
}],
|
|
690
|
+
/**
|
|
691
|
+
* Flex Wrap
|
|
692
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
693
|
+
*/
|
|
694
|
+
"flex-wrap": [{
|
|
695
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
696
|
+
}],
|
|
697
|
+
/**
|
|
698
|
+
* Flex
|
|
699
|
+
* @see https://tailwindcss.com/docs/flex
|
|
700
|
+
*/
|
|
701
|
+
flex: [{
|
|
702
|
+
flex: ["1", "auto", "initial", "none", C]
|
|
703
|
+
}],
|
|
704
|
+
/**
|
|
705
|
+
* Flex Grow
|
|
706
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
707
|
+
*/
|
|
708
|
+
grow: [{
|
|
709
|
+
grow: X()
|
|
710
|
+
}],
|
|
711
|
+
/**
|
|
712
|
+
* Flex Shrink
|
|
713
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
714
|
+
*/
|
|
715
|
+
shrink: [{
|
|
716
|
+
shrink: X()
|
|
717
|
+
}],
|
|
718
|
+
/**
|
|
719
|
+
* Order
|
|
720
|
+
* @see https://tailwindcss.com/docs/order
|
|
721
|
+
*/
|
|
722
|
+
order: [{
|
|
723
|
+
order: ["first", "last", "none", ue]
|
|
724
|
+
}],
|
|
725
|
+
/**
|
|
726
|
+
* Grid Template Columns
|
|
727
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
728
|
+
*/
|
|
729
|
+
"grid-cols": [{
|
|
730
|
+
"grid-cols": [fe]
|
|
731
|
+
}],
|
|
732
|
+
/**
|
|
733
|
+
* Grid Column Start / End
|
|
734
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
735
|
+
*/
|
|
736
|
+
"col-start-end": [{
|
|
737
|
+
col: ["auto", {
|
|
738
|
+
span: [ue]
|
|
739
|
+
}, C]
|
|
740
|
+
}],
|
|
741
|
+
/**
|
|
742
|
+
* Grid Column Start
|
|
743
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
744
|
+
*/
|
|
745
|
+
"col-start": [{
|
|
746
|
+
"col-start": L()
|
|
747
|
+
}],
|
|
748
|
+
/**
|
|
749
|
+
* Grid Column End
|
|
750
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
751
|
+
*/
|
|
752
|
+
"col-end": [{
|
|
753
|
+
"col-end": L()
|
|
754
|
+
}],
|
|
755
|
+
/**
|
|
756
|
+
* Grid Template Rows
|
|
757
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
758
|
+
*/
|
|
759
|
+
"grid-rows": [{
|
|
760
|
+
"grid-rows": [fe]
|
|
761
|
+
}],
|
|
762
|
+
/**
|
|
763
|
+
* Grid Row Start / End
|
|
764
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
765
|
+
*/
|
|
766
|
+
"row-start-end": [{
|
|
767
|
+
row: ["auto", {
|
|
768
|
+
span: [ue]
|
|
769
|
+
}, C]
|
|
770
|
+
}],
|
|
771
|
+
/**
|
|
772
|
+
* Grid Row Start
|
|
773
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
774
|
+
*/
|
|
775
|
+
"row-start": [{
|
|
776
|
+
"row-start": L()
|
|
777
|
+
}],
|
|
778
|
+
/**
|
|
779
|
+
* Grid Row End
|
|
780
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
781
|
+
*/
|
|
782
|
+
"row-end": [{
|
|
783
|
+
"row-end": L()
|
|
784
|
+
}],
|
|
785
|
+
/**
|
|
786
|
+
* Grid Auto Flow
|
|
787
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
788
|
+
*/
|
|
789
|
+
"grid-flow": [{
|
|
790
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
791
|
+
}],
|
|
792
|
+
/**
|
|
793
|
+
* Grid Auto Columns
|
|
794
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
795
|
+
*/
|
|
796
|
+
"auto-cols": [{
|
|
797
|
+
"auto-cols": ["auto", "min", "max", "fr", C]
|
|
798
|
+
}],
|
|
799
|
+
/**
|
|
800
|
+
* Grid Auto Rows
|
|
801
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
802
|
+
*/
|
|
803
|
+
"auto-rows": [{
|
|
804
|
+
"auto-rows": ["auto", "min", "max", "fr", C]
|
|
805
|
+
}],
|
|
806
|
+
/**
|
|
807
|
+
* Gap
|
|
808
|
+
* @see https://tailwindcss.com/docs/gap
|
|
809
|
+
*/
|
|
810
|
+
gap: [{
|
|
811
|
+
gap: [v]
|
|
812
|
+
}],
|
|
813
|
+
/**
|
|
814
|
+
* Gap X
|
|
815
|
+
* @see https://tailwindcss.com/docs/gap
|
|
816
|
+
*/
|
|
817
|
+
"gap-x": [{
|
|
818
|
+
"gap-x": [v]
|
|
819
|
+
}],
|
|
820
|
+
/**
|
|
821
|
+
* Gap Y
|
|
822
|
+
* @see https://tailwindcss.com/docs/gap
|
|
823
|
+
*/
|
|
824
|
+
"gap-y": [{
|
|
825
|
+
"gap-y": [v]
|
|
826
|
+
}],
|
|
827
|
+
/**
|
|
828
|
+
* Justify Content
|
|
829
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
830
|
+
*/
|
|
831
|
+
"justify-content": [{
|
|
832
|
+
justify: ["normal"].concat(se())
|
|
833
|
+
}],
|
|
834
|
+
/**
|
|
835
|
+
* Justify Items
|
|
836
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
837
|
+
*/
|
|
838
|
+
"justify-items": [{
|
|
839
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
840
|
+
}],
|
|
841
|
+
/**
|
|
842
|
+
* Justify Self
|
|
843
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
844
|
+
*/
|
|
845
|
+
"justify-self": [{
|
|
846
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
847
|
+
}],
|
|
848
|
+
/**
|
|
849
|
+
* Align Content
|
|
850
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
851
|
+
*/
|
|
852
|
+
"align-content": [{
|
|
853
|
+
content: ["normal"].concat(se(), ["baseline"])
|
|
854
|
+
}],
|
|
855
|
+
/**
|
|
856
|
+
* Align Items
|
|
857
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
858
|
+
*/
|
|
859
|
+
"align-items": [{
|
|
860
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
861
|
+
}],
|
|
862
|
+
/**
|
|
863
|
+
* Align Self
|
|
864
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
865
|
+
*/
|
|
866
|
+
"align-self": [{
|
|
867
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
868
|
+
}],
|
|
869
|
+
/**
|
|
870
|
+
* Place Content
|
|
871
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
872
|
+
*/
|
|
873
|
+
"place-content": [{
|
|
874
|
+
"place-content": [].concat(se(), ["baseline"])
|
|
875
|
+
}],
|
|
876
|
+
/**
|
|
877
|
+
* Place Items
|
|
878
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
879
|
+
*/
|
|
880
|
+
"place-items": [{
|
|
881
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
882
|
+
}],
|
|
883
|
+
/**
|
|
884
|
+
* Place Self
|
|
885
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
886
|
+
*/
|
|
887
|
+
"place-self": [{
|
|
888
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
889
|
+
}],
|
|
890
|
+
// Spacing
|
|
891
|
+
/**
|
|
892
|
+
* Padding
|
|
893
|
+
* @see https://tailwindcss.com/docs/padding
|
|
894
|
+
*/
|
|
895
|
+
p: [{
|
|
896
|
+
p: [N]
|
|
897
|
+
}],
|
|
898
|
+
/**
|
|
899
|
+
* Padding X
|
|
900
|
+
* @see https://tailwindcss.com/docs/padding
|
|
901
|
+
*/
|
|
902
|
+
px: [{
|
|
903
|
+
px: [N]
|
|
904
|
+
}],
|
|
905
|
+
/**
|
|
906
|
+
* Padding Y
|
|
907
|
+
* @see https://tailwindcss.com/docs/padding
|
|
908
|
+
*/
|
|
909
|
+
py: [{
|
|
910
|
+
py: [N]
|
|
911
|
+
}],
|
|
912
|
+
/**
|
|
913
|
+
* Padding Start
|
|
914
|
+
* @see https://tailwindcss.com/docs/padding
|
|
915
|
+
*/
|
|
916
|
+
ps: [{
|
|
917
|
+
ps: [N]
|
|
918
|
+
}],
|
|
919
|
+
/**
|
|
920
|
+
* Padding End
|
|
921
|
+
* @see https://tailwindcss.com/docs/padding
|
|
922
|
+
*/
|
|
923
|
+
pe: [{
|
|
924
|
+
pe: [N]
|
|
925
|
+
}],
|
|
926
|
+
/**
|
|
927
|
+
* Padding Top
|
|
928
|
+
* @see https://tailwindcss.com/docs/padding
|
|
929
|
+
*/
|
|
930
|
+
pt: [{
|
|
931
|
+
pt: [N]
|
|
932
|
+
}],
|
|
933
|
+
/**
|
|
934
|
+
* Padding Right
|
|
935
|
+
* @see https://tailwindcss.com/docs/padding
|
|
936
|
+
*/
|
|
937
|
+
pr: [{
|
|
938
|
+
pr: [N]
|
|
939
|
+
}],
|
|
940
|
+
/**
|
|
941
|
+
* Padding Bottom
|
|
942
|
+
* @see https://tailwindcss.com/docs/padding
|
|
943
|
+
*/
|
|
944
|
+
pb: [{
|
|
945
|
+
pb: [N]
|
|
946
|
+
}],
|
|
947
|
+
/**
|
|
948
|
+
* Padding Left
|
|
949
|
+
* @see https://tailwindcss.com/docs/padding
|
|
950
|
+
*/
|
|
951
|
+
pl: [{
|
|
952
|
+
pl: [N]
|
|
953
|
+
}],
|
|
954
|
+
/**
|
|
955
|
+
* Margin
|
|
956
|
+
* @see https://tailwindcss.com/docs/margin
|
|
957
|
+
*/
|
|
958
|
+
m: [{
|
|
959
|
+
m: [x]
|
|
960
|
+
}],
|
|
961
|
+
/**
|
|
962
|
+
* Margin X
|
|
963
|
+
* @see https://tailwindcss.com/docs/margin
|
|
964
|
+
*/
|
|
965
|
+
mx: [{
|
|
966
|
+
mx: [x]
|
|
967
|
+
}],
|
|
968
|
+
/**
|
|
969
|
+
* Margin Y
|
|
970
|
+
* @see https://tailwindcss.com/docs/margin
|
|
971
|
+
*/
|
|
972
|
+
my: [{
|
|
973
|
+
my: [x]
|
|
974
|
+
}],
|
|
975
|
+
/**
|
|
976
|
+
* Margin Start
|
|
977
|
+
* @see https://tailwindcss.com/docs/margin
|
|
978
|
+
*/
|
|
979
|
+
ms: [{
|
|
980
|
+
ms: [x]
|
|
981
|
+
}],
|
|
982
|
+
/**
|
|
983
|
+
* Margin End
|
|
984
|
+
* @see https://tailwindcss.com/docs/margin
|
|
985
|
+
*/
|
|
986
|
+
me: [{
|
|
987
|
+
me: [x]
|
|
988
|
+
}],
|
|
989
|
+
/**
|
|
990
|
+
* Margin Top
|
|
991
|
+
* @see https://tailwindcss.com/docs/margin
|
|
992
|
+
*/
|
|
993
|
+
mt: [{
|
|
994
|
+
mt: [x]
|
|
995
|
+
}],
|
|
996
|
+
/**
|
|
997
|
+
* Margin Right
|
|
998
|
+
* @see https://tailwindcss.com/docs/margin
|
|
999
|
+
*/
|
|
1000
|
+
mr: [{
|
|
1001
|
+
mr: [x]
|
|
1002
|
+
}],
|
|
1003
|
+
/**
|
|
1004
|
+
* Margin Bottom
|
|
1005
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1006
|
+
*/
|
|
1007
|
+
mb: [{
|
|
1008
|
+
mb: [x]
|
|
1009
|
+
}],
|
|
1010
|
+
/**
|
|
1011
|
+
* Margin Left
|
|
1012
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1013
|
+
*/
|
|
1014
|
+
ml: [{
|
|
1015
|
+
ml: [x]
|
|
1016
|
+
}],
|
|
1017
|
+
/**
|
|
1018
|
+
* Space Between X
|
|
1019
|
+
* @see https://tailwindcss.com/docs/space
|
|
1020
|
+
*/
|
|
1021
|
+
"space-x": [{
|
|
1022
|
+
"space-x": [Z]
|
|
1023
|
+
}],
|
|
1024
|
+
/**
|
|
1025
|
+
* Space Between X Reverse
|
|
1026
|
+
* @see https://tailwindcss.com/docs/space
|
|
1027
|
+
*/
|
|
1028
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
1029
|
+
/**
|
|
1030
|
+
* Space Between Y
|
|
1031
|
+
* @see https://tailwindcss.com/docs/space
|
|
1032
|
+
*/
|
|
1033
|
+
"space-y": [{
|
|
1034
|
+
"space-y": [Z]
|
|
1035
|
+
}],
|
|
1036
|
+
/**
|
|
1037
|
+
* Space Between Y Reverse
|
|
1038
|
+
* @see https://tailwindcss.com/docs/space
|
|
1039
|
+
*/
|
|
1040
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
1041
|
+
// Sizing
|
|
1042
|
+
/**
|
|
1043
|
+
* Width
|
|
1044
|
+
* @see https://tailwindcss.com/docs/width
|
|
1045
|
+
*/
|
|
1046
|
+
w: [{
|
|
1047
|
+
w: ["auto", "min", "max", "fit", t]
|
|
1048
|
+
}],
|
|
1049
|
+
/**
|
|
1050
|
+
* Min-Width
|
|
1051
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1052
|
+
*/
|
|
1053
|
+
"min-w": [{
|
|
1054
|
+
"min-w": ["min", "max", "fit", j]
|
|
1055
|
+
}],
|
|
1056
|
+
/**
|
|
1057
|
+
* Max-Width
|
|
1058
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1059
|
+
*/
|
|
1060
|
+
"max-w": [{
|
|
1061
|
+
"max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
|
|
1062
|
+
screen: [U]
|
|
1063
|
+
}, U, _]
|
|
1064
|
+
}],
|
|
1065
|
+
/**
|
|
1066
|
+
* Height
|
|
1067
|
+
* @see https://tailwindcss.com/docs/height
|
|
1068
|
+
*/
|
|
1069
|
+
h: [{
|
|
1070
|
+
h: [t, "auto", "min", "max", "fit"]
|
|
1071
|
+
}],
|
|
1072
|
+
/**
|
|
1073
|
+
* Min-Height
|
|
1074
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1075
|
+
*/
|
|
1076
|
+
"min-h": [{
|
|
1077
|
+
"min-h": ["min", "max", "fit", j]
|
|
1078
|
+
}],
|
|
1079
|
+
/**
|
|
1080
|
+
* Max-Height
|
|
1081
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1082
|
+
*/
|
|
1083
|
+
"max-h": [{
|
|
1084
|
+
"max-h": [t, "min", "max", "fit"]
|
|
1085
|
+
}],
|
|
1086
|
+
// Typography
|
|
1087
|
+
/**
|
|
1088
|
+
* Font Size
|
|
1089
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1090
|
+
*/
|
|
1091
|
+
"font-size": [{
|
|
1092
|
+
text: ["base", U, _]
|
|
1093
|
+
}],
|
|
1094
|
+
/**
|
|
1095
|
+
* Font Smoothing
|
|
1096
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1097
|
+
*/
|
|
1098
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1099
|
+
/**
|
|
1100
|
+
* Font Style
|
|
1101
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1102
|
+
*/
|
|
1103
|
+
"font-style": ["italic", "not-italic"],
|
|
1104
|
+
/**
|
|
1105
|
+
* Font Weight
|
|
1106
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1107
|
+
*/
|
|
1108
|
+
"font-weight": [{
|
|
1109
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", me]
|
|
1110
|
+
}],
|
|
1111
|
+
/**
|
|
1112
|
+
* Font Family
|
|
1113
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1114
|
+
*/
|
|
1115
|
+
"font-family": [{
|
|
1116
|
+
font: [fe]
|
|
1117
|
+
}],
|
|
1118
|
+
/**
|
|
1119
|
+
* Font Variant Numeric
|
|
1120
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1121
|
+
*/
|
|
1122
|
+
"fvn-normal": ["normal-nums"],
|
|
1123
|
+
/**
|
|
1124
|
+
* Font Variant Numeric
|
|
1125
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1126
|
+
*/
|
|
1127
|
+
"fvn-ordinal": ["ordinal"],
|
|
1128
|
+
/**
|
|
1129
|
+
* Font Variant Numeric
|
|
1130
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1131
|
+
*/
|
|
1132
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
1133
|
+
/**
|
|
1134
|
+
* Font Variant Numeric
|
|
1135
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1136
|
+
*/
|
|
1137
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1138
|
+
/**
|
|
1139
|
+
* Font Variant Numeric
|
|
1140
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1141
|
+
*/
|
|
1142
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1143
|
+
/**
|
|
1144
|
+
* Font Variant Numeric
|
|
1145
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1146
|
+
*/
|
|
1147
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
1148
|
+
/**
|
|
1149
|
+
* Letter Spacing
|
|
1150
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1151
|
+
*/
|
|
1152
|
+
tracking: [{
|
|
1153
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", _]
|
|
1154
|
+
}],
|
|
1155
|
+
/**
|
|
1156
|
+
* Line Clamp
|
|
1157
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1158
|
+
*/
|
|
1159
|
+
"line-clamp": [{
|
|
1160
|
+
"line-clamp": ["none", te, me]
|
|
1161
|
+
}],
|
|
1162
|
+
/**
|
|
1163
|
+
* Line Height
|
|
1164
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1165
|
+
*/
|
|
1166
|
+
leading: [{
|
|
1167
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", j]
|
|
1168
|
+
}],
|
|
1169
|
+
/**
|
|
1170
|
+
* List Style Image
|
|
1171
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1172
|
+
*/
|
|
1173
|
+
"list-image": [{
|
|
1174
|
+
"list-image": ["none", C]
|
|
1175
|
+
}],
|
|
1176
|
+
/**
|
|
1177
|
+
* List Style Type
|
|
1178
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1179
|
+
*/
|
|
1180
|
+
"list-style-type": [{
|
|
1181
|
+
list: ["none", "disc", "decimal", C]
|
|
1182
|
+
}],
|
|
1183
|
+
/**
|
|
1184
|
+
* List Style Position
|
|
1185
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1186
|
+
*/
|
|
1187
|
+
"list-style-position": [{
|
|
1188
|
+
list: ["inside", "outside"]
|
|
1189
|
+
}],
|
|
1190
|
+
/**
|
|
1191
|
+
* Placeholder Color
|
|
1192
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1193
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
1194
|
+
*/
|
|
1195
|
+
"placeholder-color": [{
|
|
1196
|
+
placeholder: [e]
|
|
1197
|
+
}],
|
|
1198
|
+
/**
|
|
1199
|
+
* Placeholder Opacity
|
|
1200
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1201
|
+
*/
|
|
1202
|
+
"placeholder-opacity": [{
|
|
1203
|
+
"placeholder-opacity": [I]
|
|
1204
|
+
}],
|
|
1205
|
+
/**
|
|
1206
|
+
* Text Alignment
|
|
1207
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1208
|
+
*/
|
|
1209
|
+
"text-alignment": [{
|
|
1210
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
1211
|
+
}],
|
|
1212
|
+
/**
|
|
1213
|
+
* Text Color
|
|
1214
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1215
|
+
*/
|
|
1216
|
+
"text-color": [{
|
|
1217
|
+
text: [e]
|
|
1218
|
+
}],
|
|
1219
|
+
/**
|
|
1220
|
+
* Text Opacity
|
|
1221
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
1222
|
+
*/
|
|
1223
|
+
"text-opacity": [{
|
|
1224
|
+
"text-opacity": [I]
|
|
1225
|
+
}],
|
|
1226
|
+
/**
|
|
1227
|
+
* Text Decoration
|
|
1228
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1229
|
+
*/
|
|
1230
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
1231
|
+
/**
|
|
1232
|
+
* Text Decoration Style
|
|
1233
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1234
|
+
*/
|
|
1235
|
+
"text-decoration-style": [{
|
|
1236
|
+
decoration: [].concat(W(), ["wavy"])
|
|
1237
|
+
}],
|
|
1238
|
+
/**
|
|
1239
|
+
* Text Decoration Thickness
|
|
1240
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1241
|
+
*/
|
|
1242
|
+
"text-decoration-thickness": [{
|
|
1243
|
+
decoration: ["auto", "from-font", j]
|
|
1244
|
+
}],
|
|
1245
|
+
/**
|
|
1246
|
+
* Text Underline Offset
|
|
1247
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1248
|
+
*/
|
|
1249
|
+
"underline-offset": [{
|
|
1250
|
+
"underline-offset": ["auto", j]
|
|
1251
|
+
}],
|
|
1252
|
+
/**
|
|
1253
|
+
* Text Decoration Color
|
|
1254
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1255
|
+
*/
|
|
1256
|
+
"text-decoration-color": [{
|
|
1257
|
+
decoration: [e]
|
|
1258
|
+
}],
|
|
1259
|
+
/**
|
|
1260
|
+
* Text Transform
|
|
1261
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1262
|
+
*/
|
|
1263
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
1264
|
+
/**
|
|
1265
|
+
* Text Overflow
|
|
1266
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1267
|
+
*/
|
|
1268
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
1269
|
+
/**
|
|
1270
|
+
* Text Indent
|
|
1271
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1272
|
+
*/
|
|
1273
|
+
indent: [{
|
|
1274
|
+
indent: [t]
|
|
1275
|
+
}],
|
|
1276
|
+
/**
|
|
1277
|
+
* Vertical Alignment
|
|
1278
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1279
|
+
*/
|
|
1280
|
+
"vertical-align": [{
|
|
1281
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", _]
|
|
1282
|
+
}],
|
|
1283
|
+
/**
|
|
1284
|
+
* Whitespace
|
|
1285
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1286
|
+
*/
|
|
1287
|
+
whitespace: [{
|
|
1288
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
1289
|
+
}],
|
|
1290
|
+
/**
|
|
1291
|
+
* Word Break
|
|
1292
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1293
|
+
*/
|
|
1294
|
+
break: [{
|
|
1295
|
+
break: ["normal", "words", "all", "keep"]
|
|
1296
|
+
}],
|
|
1297
|
+
/**
|
|
1298
|
+
* Hyphens
|
|
1299
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1300
|
+
*/
|
|
1301
|
+
hyphens: [{
|
|
1302
|
+
hyphens: ["none", "manual", "auto"]
|
|
1303
|
+
}],
|
|
1304
|
+
/**
|
|
1305
|
+
* Content
|
|
1306
|
+
* @see https://tailwindcss.com/docs/content
|
|
1307
|
+
*/
|
|
1308
|
+
content: [{
|
|
1309
|
+
content: ["none", C]
|
|
1310
|
+
}],
|
|
1311
|
+
// Backgrounds
|
|
1312
|
+
/**
|
|
1313
|
+
* Background Attachment
|
|
1314
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1315
|
+
*/
|
|
1316
|
+
"bg-attachment": [{
|
|
1317
|
+
bg: ["fixed", "local", "scroll"]
|
|
1318
|
+
}],
|
|
1319
|
+
/**
|
|
1320
|
+
* Background Clip
|
|
1321
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1322
|
+
*/
|
|
1323
|
+
"bg-clip": [{
|
|
1324
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
1325
|
+
}],
|
|
1326
|
+
/**
|
|
1327
|
+
* Background Opacity
|
|
1328
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1329
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
1330
|
+
*/
|
|
1331
|
+
"bg-opacity": [{
|
|
1332
|
+
"bg-opacity": [I]
|
|
1333
|
+
}],
|
|
1334
|
+
/**
|
|
1335
|
+
* Background Origin
|
|
1336
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1337
|
+
*/
|
|
1338
|
+
"bg-origin": [{
|
|
1339
|
+
"bg-origin": ["border", "padding", "content"]
|
|
1340
|
+
}],
|
|
1341
|
+
/**
|
|
1342
|
+
* Background Position
|
|
1343
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1344
|
+
*/
|
|
1345
|
+
"bg-position": [{
|
|
1346
|
+
bg: [].concat(ie(), [Er])
|
|
1347
|
+
}],
|
|
1348
|
+
/**
|
|
1349
|
+
* Background Repeat
|
|
1350
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1351
|
+
*/
|
|
1352
|
+
"bg-repeat": [{
|
|
1353
|
+
bg: ["no-repeat", {
|
|
1354
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
1355
|
+
}]
|
|
1356
|
+
}],
|
|
1357
|
+
/**
|
|
1358
|
+
* Background Size
|
|
1359
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1360
|
+
*/
|
|
1361
|
+
"bg-size": [{
|
|
1362
|
+
bg: ["auto", "cover", "contain", Ir]
|
|
1363
|
+
}],
|
|
1364
|
+
/**
|
|
1365
|
+
* Background Image
|
|
1366
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1367
|
+
*/
|
|
1368
|
+
"bg-image": [{
|
|
1369
|
+
bg: ["none", {
|
|
1370
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1371
|
+
}, Pr]
|
|
1372
|
+
}],
|
|
1373
|
+
/**
|
|
1374
|
+
* Background Color
|
|
1375
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1376
|
+
*/
|
|
1377
|
+
"bg-color": [{
|
|
1378
|
+
bg: [e]
|
|
1379
|
+
}],
|
|
1380
|
+
/**
|
|
1381
|
+
* Gradient Color Stops From Position
|
|
1382
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1383
|
+
*/
|
|
1384
|
+
"gradient-from-pos": [{
|
|
1385
|
+
from: [p]
|
|
1386
|
+
}],
|
|
1387
|
+
/**
|
|
1388
|
+
* Gradient Color Stops Via Position
|
|
1389
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1390
|
+
*/
|
|
1391
|
+
"gradient-via-pos": [{
|
|
1392
|
+
via: [p]
|
|
1393
|
+
}],
|
|
1394
|
+
/**
|
|
1395
|
+
* Gradient Color Stops To Position
|
|
1396
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1397
|
+
*/
|
|
1398
|
+
"gradient-to-pos": [{
|
|
1399
|
+
to: [p]
|
|
1400
|
+
}],
|
|
1401
|
+
/**
|
|
1402
|
+
* Gradient Color Stops From
|
|
1403
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1404
|
+
*/
|
|
1405
|
+
"gradient-from": [{
|
|
1406
|
+
from: [m]
|
|
1407
|
+
}],
|
|
1408
|
+
/**
|
|
1409
|
+
* Gradient Color Stops Via
|
|
1410
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1411
|
+
*/
|
|
1412
|
+
"gradient-via": [{
|
|
1413
|
+
via: [m]
|
|
1414
|
+
}],
|
|
1415
|
+
/**
|
|
1416
|
+
* Gradient Color Stops To
|
|
1417
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1418
|
+
*/
|
|
1419
|
+
"gradient-to": [{
|
|
1420
|
+
to: [m]
|
|
1421
|
+
}],
|
|
1422
|
+
// Borders
|
|
1423
|
+
/**
|
|
1424
|
+
* Border Radius
|
|
1425
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1426
|
+
*/
|
|
1427
|
+
rounded: [{
|
|
1428
|
+
rounded: [a]
|
|
1429
|
+
}],
|
|
1430
|
+
/**
|
|
1431
|
+
* Border Radius Start
|
|
1432
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1433
|
+
*/
|
|
1434
|
+
"rounded-s": [{
|
|
1435
|
+
"rounded-s": [a]
|
|
1436
|
+
}],
|
|
1437
|
+
/**
|
|
1438
|
+
* Border Radius End
|
|
1439
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1440
|
+
*/
|
|
1441
|
+
"rounded-e": [{
|
|
1442
|
+
"rounded-e": [a]
|
|
1443
|
+
}],
|
|
1444
|
+
/**
|
|
1445
|
+
* Border Radius Top
|
|
1446
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1447
|
+
*/
|
|
1448
|
+
"rounded-t": [{
|
|
1449
|
+
"rounded-t": [a]
|
|
1450
|
+
}],
|
|
1451
|
+
/**
|
|
1452
|
+
* Border Radius Right
|
|
1453
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1454
|
+
*/
|
|
1455
|
+
"rounded-r": [{
|
|
1456
|
+
"rounded-r": [a]
|
|
1457
|
+
}],
|
|
1458
|
+
/**
|
|
1459
|
+
* Border Radius Bottom
|
|
1460
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1461
|
+
*/
|
|
1462
|
+
"rounded-b": [{
|
|
1463
|
+
"rounded-b": [a]
|
|
1464
|
+
}],
|
|
1465
|
+
/**
|
|
1466
|
+
* Border Radius Left
|
|
1467
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1468
|
+
*/
|
|
1469
|
+
"rounded-l": [{
|
|
1470
|
+
"rounded-l": [a]
|
|
1471
|
+
}],
|
|
1472
|
+
/**
|
|
1473
|
+
* Border Radius Start Start
|
|
1474
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1475
|
+
*/
|
|
1476
|
+
"rounded-ss": [{
|
|
1477
|
+
"rounded-ss": [a]
|
|
1478
|
+
}],
|
|
1479
|
+
/**
|
|
1480
|
+
* Border Radius Start End
|
|
1481
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1482
|
+
*/
|
|
1483
|
+
"rounded-se": [{
|
|
1484
|
+
"rounded-se": [a]
|
|
1485
|
+
}],
|
|
1486
|
+
/**
|
|
1487
|
+
* Border Radius End End
|
|
1488
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1489
|
+
*/
|
|
1490
|
+
"rounded-ee": [{
|
|
1491
|
+
"rounded-ee": [a]
|
|
1492
|
+
}],
|
|
1493
|
+
/**
|
|
1494
|
+
* Border Radius End Start
|
|
1495
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1496
|
+
*/
|
|
1497
|
+
"rounded-es": [{
|
|
1498
|
+
"rounded-es": [a]
|
|
1499
|
+
}],
|
|
1500
|
+
/**
|
|
1501
|
+
* Border Radius Top Left
|
|
1502
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1503
|
+
*/
|
|
1504
|
+
"rounded-tl": [{
|
|
1505
|
+
"rounded-tl": [a]
|
|
1506
|
+
}],
|
|
1507
|
+
/**
|
|
1508
|
+
* Border Radius Top Right
|
|
1509
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1510
|
+
*/
|
|
1511
|
+
"rounded-tr": [{
|
|
1512
|
+
"rounded-tr": [a]
|
|
1513
|
+
}],
|
|
1514
|
+
/**
|
|
1515
|
+
* Border Radius Bottom Right
|
|
1516
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1517
|
+
*/
|
|
1518
|
+
"rounded-br": [{
|
|
1519
|
+
"rounded-br": [a]
|
|
1520
|
+
}],
|
|
1521
|
+
/**
|
|
1522
|
+
* Border Radius Bottom Left
|
|
1523
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1524
|
+
*/
|
|
1525
|
+
"rounded-bl": [{
|
|
1526
|
+
"rounded-bl": [a]
|
|
1527
|
+
}],
|
|
1528
|
+
/**
|
|
1529
|
+
* Border Width
|
|
1530
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1531
|
+
*/
|
|
1532
|
+
"border-w": [{
|
|
1533
|
+
border: [s]
|
|
1534
|
+
}],
|
|
1535
|
+
/**
|
|
1536
|
+
* Border Width X
|
|
1537
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1538
|
+
*/
|
|
1539
|
+
"border-w-x": [{
|
|
1540
|
+
"border-x": [s]
|
|
1541
|
+
}],
|
|
1542
|
+
/**
|
|
1543
|
+
* Border Width Y
|
|
1544
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1545
|
+
*/
|
|
1546
|
+
"border-w-y": [{
|
|
1547
|
+
"border-y": [s]
|
|
1548
|
+
}],
|
|
1549
|
+
/**
|
|
1550
|
+
* Border Width Start
|
|
1551
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1552
|
+
*/
|
|
1553
|
+
"border-w-s": [{
|
|
1554
|
+
"border-s": [s]
|
|
1555
|
+
}],
|
|
1556
|
+
/**
|
|
1557
|
+
* Border Width End
|
|
1558
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1559
|
+
*/
|
|
1560
|
+
"border-w-e": [{
|
|
1561
|
+
"border-e": [s]
|
|
1562
|
+
}],
|
|
1563
|
+
/**
|
|
1564
|
+
* Border Width Top
|
|
1565
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1566
|
+
*/
|
|
1567
|
+
"border-w-t": [{
|
|
1568
|
+
"border-t": [s]
|
|
1569
|
+
}],
|
|
1570
|
+
/**
|
|
1571
|
+
* Border Width Right
|
|
1572
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1573
|
+
*/
|
|
1574
|
+
"border-w-r": [{
|
|
1575
|
+
"border-r": [s]
|
|
1576
|
+
}],
|
|
1577
|
+
/**
|
|
1578
|
+
* Border Width Bottom
|
|
1579
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1580
|
+
*/
|
|
1581
|
+
"border-w-b": [{
|
|
1582
|
+
"border-b": [s]
|
|
1583
|
+
}],
|
|
1584
|
+
/**
|
|
1585
|
+
* Border Width Left
|
|
1586
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1587
|
+
*/
|
|
1588
|
+
"border-w-l": [{
|
|
1589
|
+
"border-l": [s]
|
|
1590
|
+
}],
|
|
1591
|
+
/**
|
|
1592
|
+
* Border Opacity
|
|
1593
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
1594
|
+
*/
|
|
1595
|
+
"border-opacity": [{
|
|
1596
|
+
"border-opacity": [I]
|
|
1597
|
+
}],
|
|
1598
|
+
/**
|
|
1599
|
+
* Border Style
|
|
1600
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
1601
|
+
*/
|
|
1602
|
+
"border-style": [{
|
|
1603
|
+
border: [].concat(W(), ["hidden"])
|
|
1604
|
+
}],
|
|
1605
|
+
/**
|
|
1606
|
+
* Divide Width X
|
|
1607
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1608
|
+
*/
|
|
1609
|
+
"divide-x": [{
|
|
1610
|
+
"divide-x": [s]
|
|
1611
|
+
}],
|
|
1612
|
+
/**
|
|
1613
|
+
* Divide Width X Reverse
|
|
1614
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1615
|
+
*/
|
|
1616
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1617
|
+
/**
|
|
1618
|
+
* Divide Width Y
|
|
1619
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1620
|
+
*/
|
|
1621
|
+
"divide-y": [{
|
|
1622
|
+
"divide-y": [s]
|
|
1623
|
+
}],
|
|
1624
|
+
/**
|
|
1625
|
+
* Divide Width Y Reverse
|
|
1626
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1627
|
+
*/
|
|
1628
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1629
|
+
/**
|
|
1630
|
+
* Divide Opacity
|
|
1631
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1632
|
+
*/
|
|
1633
|
+
"divide-opacity": [{
|
|
1634
|
+
"divide-opacity": [I]
|
|
1635
|
+
}],
|
|
1636
|
+
/**
|
|
1637
|
+
* Divide Style
|
|
1638
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
1639
|
+
*/
|
|
1640
|
+
"divide-style": [{
|
|
1641
|
+
divide: W()
|
|
1642
|
+
}],
|
|
1643
|
+
/**
|
|
1644
|
+
* Border Color
|
|
1645
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1646
|
+
*/
|
|
1647
|
+
"border-color": [{
|
|
1648
|
+
border: [o]
|
|
1649
|
+
}],
|
|
1650
|
+
/**
|
|
1651
|
+
* Border Color X
|
|
1652
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1653
|
+
*/
|
|
1654
|
+
"border-color-x": [{
|
|
1655
|
+
"border-x": [o]
|
|
1656
|
+
}],
|
|
1657
|
+
/**
|
|
1658
|
+
* Border Color Y
|
|
1659
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1660
|
+
*/
|
|
1661
|
+
"border-color-y": [{
|
|
1662
|
+
"border-y": [o]
|
|
1663
|
+
}],
|
|
1664
|
+
/**
|
|
1665
|
+
* Border Color Top
|
|
1666
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1667
|
+
*/
|
|
1668
|
+
"border-color-t": [{
|
|
1669
|
+
"border-t": [o]
|
|
1670
|
+
}],
|
|
1671
|
+
/**
|
|
1672
|
+
* Border Color Right
|
|
1673
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1674
|
+
*/
|
|
1675
|
+
"border-color-r": [{
|
|
1676
|
+
"border-r": [o]
|
|
1677
|
+
}],
|
|
1678
|
+
/**
|
|
1679
|
+
* Border Color Bottom
|
|
1680
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1681
|
+
*/
|
|
1682
|
+
"border-color-b": [{
|
|
1683
|
+
"border-b": [o]
|
|
1684
|
+
}],
|
|
1685
|
+
/**
|
|
1686
|
+
* Border Color Left
|
|
1687
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1688
|
+
*/
|
|
1689
|
+
"border-color-l": [{
|
|
1690
|
+
"border-l": [o]
|
|
1691
|
+
}],
|
|
1692
|
+
/**
|
|
1693
|
+
* Divide Color
|
|
1694
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
1695
|
+
*/
|
|
1696
|
+
"divide-color": [{
|
|
1697
|
+
divide: [o]
|
|
1698
|
+
}],
|
|
1699
|
+
/**
|
|
1700
|
+
* Outline Style
|
|
1701
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
1702
|
+
*/
|
|
1703
|
+
"outline-style": [{
|
|
1704
|
+
outline: [""].concat(W())
|
|
1705
|
+
}],
|
|
1706
|
+
/**
|
|
1707
|
+
* Outline Offset
|
|
1708
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
1709
|
+
*/
|
|
1710
|
+
"outline-offset": [{
|
|
1711
|
+
"outline-offset": [j]
|
|
1712
|
+
}],
|
|
1713
|
+
/**
|
|
1714
|
+
* Outline Width
|
|
1715
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
1716
|
+
*/
|
|
1717
|
+
"outline-w": [{
|
|
1718
|
+
outline: [j]
|
|
1719
|
+
}],
|
|
1720
|
+
/**
|
|
1721
|
+
* Outline Color
|
|
1722
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
1723
|
+
*/
|
|
1724
|
+
"outline-color": [{
|
|
1725
|
+
outline: [e]
|
|
1726
|
+
}],
|
|
1727
|
+
/**
|
|
1728
|
+
* Ring Width
|
|
1729
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
1730
|
+
*/
|
|
1731
|
+
"ring-w": [{
|
|
1732
|
+
ring: z()
|
|
1733
|
+
}],
|
|
1734
|
+
/**
|
|
1735
|
+
* Ring Width Inset
|
|
1736
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
1737
|
+
*/
|
|
1738
|
+
"ring-w-inset": ["ring-inset"],
|
|
1739
|
+
/**
|
|
1740
|
+
* Ring Color
|
|
1741
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
1742
|
+
*/
|
|
1743
|
+
"ring-color": [{
|
|
1744
|
+
ring: [e]
|
|
1745
|
+
}],
|
|
1746
|
+
/**
|
|
1747
|
+
* Ring Opacity
|
|
1748
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1749
|
+
*/
|
|
1750
|
+
"ring-opacity": [{
|
|
1751
|
+
"ring-opacity": [I]
|
|
1752
|
+
}],
|
|
1753
|
+
/**
|
|
1754
|
+
* Ring Offset Width
|
|
1755
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1756
|
+
*/
|
|
1757
|
+
"ring-offset-w": [{
|
|
1758
|
+
"ring-offset": [j]
|
|
1759
|
+
}],
|
|
1760
|
+
/**
|
|
1761
|
+
* Ring Offset Color
|
|
1762
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
1763
|
+
*/
|
|
1764
|
+
"ring-offset-color": [{
|
|
1765
|
+
"ring-offset": [e]
|
|
1766
|
+
}],
|
|
1767
|
+
// Effects
|
|
1768
|
+
/**
|
|
1769
|
+
* Box Shadow
|
|
1770
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
1771
|
+
*/
|
|
1772
|
+
shadow: [{
|
|
1773
|
+
shadow: ["", "inner", "none", U, Mr]
|
|
1774
|
+
}],
|
|
1775
|
+
/**
|
|
1776
|
+
* Box Shadow Color
|
|
1777
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1778
|
+
*/
|
|
1779
|
+
"shadow-color": [{
|
|
1780
|
+
shadow: [fe]
|
|
1781
|
+
}],
|
|
1782
|
+
/**
|
|
1783
|
+
* Opacity
|
|
1784
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
1785
|
+
*/
|
|
1786
|
+
opacity: [{
|
|
1787
|
+
opacity: [I]
|
|
1788
|
+
}],
|
|
1789
|
+
/**
|
|
1790
|
+
* Mix Blend Mode
|
|
1791
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1792
|
+
*/
|
|
1793
|
+
"mix-blend": [{
|
|
1794
|
+
"mix-blend": be()
|
|
1795
|
+
}],
|
|
1796
|
+
/**
|
|
1797
|
+
* Background Blend Mode
|
|
1798
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1799
|
+
*/
|
|
1800
|
+
"bg-blend": [{
|
|
1801
|
+
"bg-blend": be()
|
|
1802
|
+
}],
|
|
1803
|
+
// Filters
|
|
1804
|
+
/**
|
|
1805
|
+
* Filter
|
|
1806
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1807
|
+
* @see https://tailwindcss.com/docs/filter
|
|
1808
|
+
*/
|
|
1809
|
+
filter: [{
|
|
1810
|
+
filter: ["", "none"]
|
|
1811
|
+
}],
|
|
1812
|
+
/**
|
|
1813
|
+
* Blur
|
|
1814
|
+
* @see https://tailwindcss.com/docs/blur
|
|
1815
|
+
*/
|
|
1816
|
+
blur: [{
|
|
1817
|
+
blur: [r]
|
|
1818
|
+
}],
|
|
1819
|
+
/**
|
|
1820
|
+
* Brightness
|
|
1821
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
1822
|
+
*/
|
|
1823
|
+
brightness: [{
|
|
1824
|
+
brightness: [n]
|
|
1825
|
+
}],
|
|
1826
|
+
/**
|
|
1827
|
+
* Contrast
|
|
1828
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
1829
|
+
*/
|
|
1830
|
+
contrast: [{
|
|
1831
|
+
contrast: [d]
|
|
1832
|
+
}],
|
|
1833
|
+
/**
|
|
1834
|
+
* Drop Shadow
|
|
1835
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1836
|
+
*/
|
|
1837
|
+
"drop-shadow": [{
|
|
1838
|
+
"drop-shadow": ["", "none", U, C]
|
|
1839
|
+
}],
|
|
1840
|
+
/**
|
|
1841
|
+
* Grayscale
|
|
1842
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
1843
|
+
*/
|
|
1844
|
+
grayscale: [{
|
|
1845
|
+
grayscale: [c]
|
|
1846
|
+
}],
|
|
1847
|
+
/**
|
|
1848
|
+
* Hue Rotate
|
|
1849
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1850
|
+
*/
|
|
1851
|
+
"hue-rotate": [{
|
|
1852
|
+
"hue-rotate": [f]
|
|
1853
|
+
}],
|
|
1854
|
+
/**
|
|
1855
|
+
* Invert
|
|
1856
|
+
* @see https://tailwindcss.com/docs/invert
|
|
1857
|
+
*/
|
|
1858
|
+
invert: [{
|
|
1859
|
+
invert: [g]
|
|
1860
|
+
}],
|
|
1861
|
+
/**
|
|
1862
|
+
* Saturate
|
|
1863
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
1864
|
+
*/
|
|
1865
|
+
saturate: [{
|
|
1866
|
+
saturate: [P]
|
|
1867
|
+
}],
|
|
1868
|
+
/**
|
|
1869
|
+
* Sepia
|
|
1870
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
1871
|
+
*/
|
|
1872
|
+
sepia: [{
|
|
1873
|
+
sepia: [h]
|
|
1874
|
+
}],
|
|
1875
|
+
/**
|
|
1876
|
+
* Backdrop Filter
|
|
1877
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1878
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
1879
|
+
*/
|
|
1880
|
+
"backdrop-filter": [{
|
|
1881
|
+
"backdrop-filter": ["", "none"]
|
|
1882
|
+
}],
|
|
1883
|
+
/**
|
|
1884
|
+
* Backdrop Blur
|
|
1885
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
1886
|
+
*/
|
|
1887
|
+
"backdrop-blur": [{
|
|
1888
|
+
"backdrop-blur": [r]
|
|
1889
|
+
}],
|
|
1890
|
+
/**
|
|
1891
|
+
* Backdrop Brightness
|
|
1892
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
1893
|
+
*/
|
|
1894
|
+
"backdrop-brightness": [{
|
|
1895
|
+
"backdrop-brightness": [n]
|
|
1896
|
+
}],
|
|
1897
|
+
/**
|
|
1898
|
+
* Backdrop Contrast
|
|
1899
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1900
|
+
*/
|
|
1901
|
+
"backdrop-contrast": [{
|
|
1902
|
+
"backdrop-contrast": [d]
|
|
1903
|
+
}],
|
|
1904
|
+
/**
|
|
1905
|
+
* Backdrop Grayscale
|
|
1906
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1907
|
+
*/
|
|
1908
|
+
"backdrop-grayscale": [{
|
|
1909
|
+
"backdrop-grayscale": [c]
|
|
1910
|
+
}],
|
|
1911
|
+
/**
|
|
1912
|
+
* Backdrop Hue Rotate
|
|
1913
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1914
|
+
*/
|
|
1915
|
+
"backdrop-hue-rotate": [{
|
|
1916
|
+
"backdrop-hue-rotate": [f]
|
|
1917
|
+
}],
|
|
1918
|
+
/**
|
|
1919
|
+
* Backdrop Invert
|
|
1920
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1921
|
+
*/
|
|
1922
|
+
"backdrop-invert": [{
|
|
1923
|
+
"backdrop-invert": [g]
|
|
1924
|
+
}],
|
|
1925
|
+
/**
|
|
1926
|
+
* Backdrop Opacity
|
|
1927
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1928
|
+
*/
|
|
1929
|
+
"backdrop-opacity": [{
|
|
1930
|
+
"backdrop-opacity": [I]
|
|
1931
|
+
}],
|
|
1932
|
+
/**
|
|
1933
|
+
* Backdrop Saturate
|
|
1934
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1935
|
+
*/
|
|
1936
|
+
"backdrop-saturate": [{
|
|
1937
|
+
"backdrop-saturate": [P]
|
|
1938
|
+
}],
|
|
1939
|
+
/**
|
|
1940
|
+
* Backdrop Sepia
|
|
1941
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1942
|
+
*/
|
|
1943
|
+
"backdrop-sepia": [{
|
|
1944
|
+
"backdrop-sepia": [h]
|
|
1945
|
+
}],
|
|
1946
|
+
// Tables
|
|
1947
|
+
/**
|
|
1948
|
+
* Border Collapse
|
|
1949
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
1950
|
+
*/
|
|
1951
|
+
"border-collapse": [{
|
|
1952
|
+
border: ["collapse", "separate"]
|
|
1953
|
+
}],
|
|
1954
|
+
/**
|
|
1955
|
+
* Border Spacing
|
|
1956
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
1957
|
+
*/
|
|
1958
|
+
"border-spacing": [{
|
|
1959
|
+
"border-spacing": [i]
|
|
1960
|
+
}],
|
|
1961
|
+
/**
|
|
1962
|
+
* Border Spacing X
|
|
1963
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
1964
|
+
*/
|
|
1965
|
+
"border-spacing-x": [{
|
|
1966
|
+
"border-spacing-x": [i]
|
|
1967
|
+
}],
|
|
1968
|
+
/**
|
|
1969
|
+
* Border Spacing Y
|
|
1970
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
1971
|
+
*/
|
|
1972
|
+
"border-spacing-y": [{
|
|
1973
|
+
"border-spacing-y": [i]
|
|
1974
|
+
}],
|
|
1975
|
+
/**
|
|
1976
|
+
* Table Layout
|
|
1977
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
1978
|
+
*/
|
|
1979
|
+
"table-layout": [{
|
|
1980
|
+
table: ["auto", "fixed"]
|
|
1981
|
+
}],
|
|
1982
|
+
/**
|
|
1983
|
+
* Caption Side
|
|
1984
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
1985
|
+
*/
|
|
1986
|
+
caption: [{
|
|
1987
|
+
caption: ["top", "bottom"]
|
|
1988
|
+
}],
|
|
1989
|
+
// Transitions and Animation
|
|
1990
|
+
/**
|
|
1991
|
+
* Tranisition Property
|
|
1992
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
1993
|
+
*/
|
|
1994
|
+
transition: [{
|
|
1995
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", C]
|
|
1996
|
+
}],
|
|
1997
|
+
/**
|
|
1998
|
+
* Transition Duration
|
|
1999
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2000
|
+
*/
|
|
2001
|
+
duration: [{
|
|
2002
|
+
duration: le()
|
|
2003
|
+
}],
|
|
2004
|
+
/**
|
|
2005
|
+
* Transition Timing Function
|
|
2006
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2007
|
+
*/
|
|
2008
|
+
ease: [{
|
|
2009
|
+
ease: ["linear", "in", "out", "in-out", C]
|
|
2010
|
+
}],
|
|
2011
|
+
/**
|
|
2012
|
+
* Transition Delay
|
|
2013
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2014
|
+
*/
|
|
2015
|
+
delay: [{
|
|
2016
|
+
delay: le()
|
|
2017
|
+
}],
|
|
2018
|
+
/**
|
|
2019
|
+
* Animation
|
|
2020
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2021
|
+
*/
|
|
2022
|
+
animate: [{
|
|
2023
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", C]
|
|
2024
|
+
}],
|
|
2025
|
+
// Transforms
|
|
2026
|
+
/**
|
|
2027
|
+
* Transform
|
|
2028
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2029
|
+
*/
|
|
2030
|
+
transform: [{
|
|
2031
|
+
transform: ["", "gpu", "none"]
|
|
2032
|
+
}],
|
|
2033
|
+
/**
|
|
2034
|
+
* Scale
|
|
2035
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2036
|
+
*/
|
|
2037
|
+
scale: [{
|
|
2038
|
+
scale: [S]
|
|
2039
|
+
}],
|
|
2040
|
+
/**
|
|
2041
|
+
* Scale X
|
|
2042
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2043
|
+
*/
|
|
2044
|
+
"scale-x": [{
|
|
2045
|
+
"scale-x": [S]
|
|
2046
|
+
}],
|
|
2047
|
+
/**
|
|
2048
|
+
* Scale Y
|
|
2049
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2050
|
+
*/
|
|
2051
|
+
"scale-y": [{
|
|
2052
|
+
"scale-y": [S]
|
|
2053
|
+
}],
|
|
2054
|
+
/**
|
|
2055
|
+
* Rotate
|
|
2056
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2057
|
+
*/
|
|
2058
|
+
rotate: [{
|
|
2059
|
+
rotate: [ue, C]
|
|
2060
|
+
}],
|
|
2061
|
+
/**
|
|
2062
|
+
* Translate X
|
|
2063
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2064
|
+
*/
|
|
2065
|
+
"translate-x": [{
|
|
2066
|
+
"translate-x": [E]
|
|
2067
|
+
}],
|
|
2068
|
+
/**
|
|
2069
|
+
* Translate Y
|
|
2070
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2071
|
+
*/
|
|
2072
|
+
"translate-y": [{
|
|
2073
|
+
"translate-y": [E]
|
|
2074
|
+
}],
|
|
2075
|
+
/**
|
|
2076
|
+
* Skew X
|
|
2077
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2078
|
+
*/
|
|
2079
|
+
"skew-x": [{
|
|
2080
|
+
"skew-x": [u]
|
|
2081
|
+
}],
|
|
2082
|
+
/**
|
|
2083
|
+
* Skew Y
|
|
2084
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2085
|
+
*/
|
|
2086
|
+
"skew-y": [{
|
|
2087
|
+
"skew-y": [u]
|
|
2088
|
+
}],
|
|
2089
|
+
/**
|
|
2090
|
+
* Transform Origin
|
|
2091
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2092
|
+
*/
|
|
2093
|
+
"transform-origin": [{
|
|
2094
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", C]
|
|
2095
|
+
}],
|
|
2096
|
+
// Interactivity
|
|
2097
|
+
/**
|
|
2098
|
+
* Accent Color
|
|
2099
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2100
|
+
*/
|
|
2101
|
+
accent: [{
|
|
2102
|
+
accent: ["auto", e]
|
|
2103
|
+
}],
|
|
2104
|
+
/**
|
|
2105
|
+
* Appearance
|
|
2106
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2107
|
+
*/
|
|
2108
|
+
appearance: ["appearance-none"],
|
|
2109
|
+
/**
|
|
2110
|
+
* Cursor
|
|
2111
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2112
|
+
*/
|
|
2113
|
+
cursor: [{
|
|
2114
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", C]
|
|
2115
|
+
}],
|
|
2116
|
+
/**
|
|
2117
|
+
* Caret Color
|
|
2118
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2119
|
+
*/
|
|
2120
|
+
"caret-color": [{
|
|
2121
|
+
caret: [e]
|
|
2122
|
+
}],
|
|
2123
|
+
/**
|
|
2124
|
+
* Pointer Events
|
|
2125
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2126
|
+
*/
|
|
2127
|
+
"pointer-events": [{
|
|
2128
|
+
"pointer-events": ["none", "auto"]
|
|
2129
|
+
}],
|
|
2130
|
+
/**
|
|
2131
|
+
* Resize
|
|
2132
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2133
|
+
*/
|
|
2134
|
+
resize: [{
|
|
2135
|
+
resize: ["none", "y", "x", ""]
|
|
2136
|
+
}],
|
|
2137
|
+
/**
|
|
2138
|
+
* Scroll Behavior
|
|
2139
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2140
|
+
*/
|
|
2141
|
+
"scroll-behavior": [{
|
|
2142
|
+
scroll: ["auto", "smooth"]
|
|
2143
|
+
}],
|
|
2144
|
+
/**
|
|
2145
|
+
* Scroll Margin
|
|
2146
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2147
|
+
*/
|
|
2148
|
+
"scroll-m": [{
|
|
2149
|
+
"scroll-m": [t]
|
|
2150
|
+
}],
|
|
2151
|
+
/**
|
|
2152
|
+
* Scroll Margin X
|
|
2153
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2154
|
+
*/
|
|
2155
|
+
"scroll-mx": [{
|
|
2156
|
+
"scroll-mx": [t]
|
|
2157
|
+
}],
|
|
2158
|
+
/**
|
|
2159
|
+
* Scroll Margin Y
|
|
2160
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2161
|
+
*/
|
|
2162
|
+
"scroll-my": [{
|
|
2163
|
+
"scroll-my": [t]
|
|
2164
|
+
}],
|
|
2165
|
+
/**
|
|
2166
|
+
* Scroll Margin Start
|
|
2167
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2168
|
+
*/
|
|
2169
|
+
"scroll-ms": [{
|
|
2170
|
+
"scroll-ms": [t]
|
|
2171
|
+
}],
|
|
2172
|
+
/**
|
|
2173
|
+
* Scroll Margin End
|
|
2174
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2175
|
+
*/
|
|
2176
|
+
"scroll-me": [{
|
|
2177
|
+
"scroll-me": [t]
|
|
2178
|
+
}],
|
|
2179
|
+
/**
|
|
2180
|
+
* Scroll Margin Top
|
|
2181
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2182
|
+
*/
|
|
2183
|
+
"scroll-mt": [{
|
|
2184
|
+
"scroll-mt": [t]
|
|
2185
|
+
}],
|
|
2186
|
+
/**
|
|
2187
|
+
* Scroll Margin Right
|
|
2188
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2189
|
+
*/
|
|
2190
|
+
"scroll-mr": [{
|
|
2191
|
+
"scroll-mr": [t]
|
|
2192
|
+
}],
|
|
2193
|
+
/**
|
|
2194
|
+
* Scroll Margin Bottom
|
|
2195
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2196
|
+
*/
|
|
2197
|
+
"scroll-mb": [{
|
|
2198
|
+
"scroll-mb": [t]
|
|
2199
|
+
}],
|
|
2200
|
+
/**
|
|
2201
|
+
* Scroll Margin Left
|
|
2202
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2203
|
+
*/
|
|
2204
|
+
"scroll-ml": [{
|
|
2205
|
+
"scroll-ml": [t]
|
|
2206
|
+
}],
|
|
2207
|
+
/**
|
|
2208
|
+
* Scroll Padding
|
|
2209
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2210
|
+
*/
|
|
2211
|
+
"scroll-p": [{
|
|
2212
|
+
"scroll-p": [t]
|
|
2213
|
+
}],
|
|
2214
|
+
/**
|
|
2215
|
+
* Scroll Padding X
|
|
2216
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2217
|
+
*/
|
|
2218
|
+
"scroll-px": [{
|
|
2219
|
+
"scroll-px": [t]
|
|
2220
|
+
}],
|
|
2221
|
+
/**
|
|
2222
|
+
* Scroll Padding Y
|
|
2223
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2224
|
+
*/
|
|
2225
|
+
"scroll-py": [{
|
|
2226
|
+
"scroll-py": [t]
|
|
2227
|
+
}],
|
|
2228
|
+
/**
|
|
2229
|
+
* Scroll Padding Start
|
|
2230
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2231
|
+
*/
|
|
2232
|
+
"scroll-ps": [{
|
|
2233
|
+
"scroll-ps": [t]
|
|
2234
|
+
}],
|
|
2235
|
+
/**
|
|
2236
|
+
* Scroll Padding End
|
|
2237
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2238
|
+
*/
|
|
2239
|
+
"scroll-pe": [{
|
|
2240
|
+
"scroll-pe": [t]
|
|
2241
|
+
}],
|
|
2242
|
+
/**
|
|
2243
|
+
* Scroll Padding Top
|
|
2244
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2245
|
+
*/
|
|
2246
|
+
"scroll-pt": [{
|
|
2247
|
+
"scroll-pt": [t]
|
|
2248
|
+
}],
|
|
2249
|
+
/**
|
|
2250
|
+
* Scroll Padding Right
|
|
2251
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2252
|
+
*/
|
|
2253
|
+
"scroll-pr": [{
|
|
2254
|
+
"scroll-pr": [t]
|
|
2255
|
+
}],
|
|
2256
|
+
/**
|
|
2257
|
+
* Scroll Padding Bottom
|
|
2258
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2259
|
+
*/
|
|
2260
|
+
"scroll-pb": [{
|
|
2261
|
+
"scroll-pb": [t]
|
|
2262
|
+
}],
|
|
2263
|
+
/**
|
|
2264
|
+
* Scroll Padding Left
|
|
2265
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2266
|
+
*/
|
|
2267
|
+
"scroll-pl": [{
|
|
2268
|
+
"scroll-pl": [t]
|
|
2269
|
+
}],
|
|
2270
|
+
/**
|
|
2271
|
+
* Scroll Snap Align
|
|
2272
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2273
|
+
*/
|
|
2274
|
+
"snap-align": [{
|
|
2275
|
+
snap: ["start", "end", "center", "align-none"]
|
|
2276
|
+
}],
|
|
2277
|
+
/**
|
|
2278
|
+
* Scroll Snap Stop
|
|
2279
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2280
|
+
*/
|
|
2281
|
+
"snap-stop": [{
|
|
2282
|
+
snap: ["normal", "always"]
|
|
2283
|
+
}],
|
|
2284
|
+
/**
|
|
2285
|
+
* Scroll Snap Type
|
|
2286
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2287
|
+
*/
|
|
2288
|
+
"snap-type": [{
|
|
2289
|
+
snap: ["none", "x", "y", "both"]
|
|
2290
|
+
}],
|
|
2291
|
+
/**
|
|
2292
|
+
* Scroll Snap Type Strictness
|
|
2293
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2294
|
+
*/
|
|
2295
|
+
"snap-strictness": [{
|
|
2296
|
+
snap: ["mandatory", "proximity"]
|
|
2297
|
+
}],
|
|
2298
|
+
/**
|
|
2299
|
+
* Touch Action
|
|
2300
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2301
|
+
*/
|
|
2302
|
+
touch: [{
|
|
2303
|
+
touch: ["auto", "none", "pinch-zoom", "manipulation", {
|
|
2304
|
+
pan: ["x", "left", "right", "y", "up", "down"]
|
|
2305
|
+
}]
|
|
2306
|
+
}],
|
|
2307
|
+
/**
|
|
2308
|
+
* User Select
|
|
2309
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
2310
|
+
*/
|
|
2311
|
+
select: [{
|
|
2312
|
+
select: ["none", "text", "all", "auto"]
|
|
2313
|
+
}],
|
|
2314
|
+
/**
|
|
2315
|
+
* Will Change
|
|
2316
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
2317
|
+
*/
|
|
2318
|
+
"will-change": [{
|
|
2319
|
+
"will-change": ["auto", "scroll", "contents", "transform", C]
|
|
2320
|
+
}],
|
|
2321
|
+
// SVG
|
|
2322
|
+
/**
|
|
2323
|
+
* Fill
|
|
2324
|
+
* @see https://tailwindcss.com/docs/fill
|
|
2325
|
+
*/
|
|
2326
|
+
fill: [{
|
|
2327
|
+
fill: [e, "none"]
|
|
2328
|
+
}],
|
|
2329
|
+
/**
|
|
2330
|
+
* Stroke Width
|
|
2331
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
2332
|
+
*/
|
|
2333
|
+
"stroke-w": [{
|
|
2334
|
+
stroke: [j, me]
|
|
2335
|
+
}],
|
|
2336
|
+
/**
|
|
2337
|
+
* Stroke
|
|
2338
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
2339
|
+
*/
|
|
2340
|
+
stroke: [{
|
|
2341
|
+
stroke: [e, "none"]
|
|
2342
|
+
}],
|
|
2343
|
+
// Accessibility
|
|
2344
|
+
/**
|
|
2345
|
+
* Screen Readers
|
|
2346
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
2347
|
+
*/
|
|
2348
|
+
sr: ["sr-only", "not-sr-only"]
|
|
2349
|
+
},
|
|
2350
|
+
conflictingClassGroups: {
|
|
2351
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
2352
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2353
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2354
|
+
"inset-x": ["right", "left"],
|
|
2355
|
+
"inset-y": ["top", "bottom"],
|
|
2356
|
+
flex: ["basis", "grow", "shrink"],
|
|
2357
|
+
gap: ["gap-x", "gap-y"],
|
|
2358
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2359
|
+
px: ["pr", "pl"],
|
|
2360
|
+
py: ["pt", "pb"],
|
|
2361
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2362
|
+
mx: ["mr", "ml"],
|
|
2363
|
+
my: ["mt", "mb"],
|
|
2364
|
+
"font-size": ["leading"],
|
|
2365
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
2366
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
2367
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
2368
|
+
"fvn-figure": ["fvn-normal"],
|
|
2369
|
+
"fvn-spacing": ["fvn-normal"],
|
|
2370
|
+
"fvn-fraction": ["fvn-normal"],
|
|
2371
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
2372
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
2373
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
2374
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
2375
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
2376
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2377
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2378
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2379
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2380
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2381
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2382
|
+
"border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2383
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2384
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2385
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2386
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2387
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2388
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2389
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2390
|
+
"scroll-py": ["scroll-pt", "scroll-pb"]
|
|
2391
|
+
},
|
|
2392
|
+
conflictingClassGroupModifiers: {
|
|
2393
|
+
"font-size": ["leading"]
|
|
2394
|
+
}
|
|
2395
|
+
};
|
|
2396
|
+
}
|
|
2397
|
+
function Br(e, t) {
|
|
2398
|
+
for (var r in t)
|
|
2399
|
+
It(e, r, t[r]);
|
|
2400
|
+
return e;
|
|
2401
|
+
}
|
|
2402
|
+
var jr = Object.prototype.hasOwnProperty, Ar = /* @__PURE__ */ new Set(["string", "number", "boolean"]);
|
|
2403
|
+
function It(e, t, r) {
|
|
2404
|
+
if (!jr.call(e, t) || Ar.has(typeof r) || r === null) {
|
|
2405
|
+
e[t] = r;
|
|
2406
|
+
return;
|
|
2407
|
+
}
|
|
2408
|
+
if (Array.isArray(r) && Array.isArray(e[t])) {
|
|
2409
|
+
e[t] = e[t].concat(r);
|
|
2410
|
+
return;
|
|
2411
|
+
}
|
|
2412
|
+
if (typeof r == "object" && typeof e[t] == "object") {
|
|
2413
|
+
if (e[t] === null) {
|
|
2414
|
+
e[t] = r;
|
|
2415
|
+
return;
|
|
2416
|
+
}
|
|
2417
|
+
for (var n in r)
|
|
2418
|
+
It(e[t], n, r[n]);
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
function Wr(e) {
|
|
2422
|
+
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2423
|
+
r[n - 1] = arguments[n];
|
|
2424
|
+
return typeof e == "function" ? qe.apply(void 0, [Ke, e].concat(r)) : qe.apply(void 0, [function() {
|
|
2425
|
+
return Br(Ke(), e);
|
|
2426
|
+
}].concat(r));
|
|
2427
|
+
}
|
|
2428
|
+
const Gr = Object.keys(Ae.fontSize), Dr = Object.keys(Ae.fontWeight), Fr = Object.keys(Ae.lineHeight), R = Object.keys(wt), Hr = Object.keys(kt.borderWidth), Vr = Object.keys(kt.borderRadius), Ur = Wr({
|
|
2429
|
+
classGroups: {
|
|
2430
|
+
"font-size": [{ text: Gr }],
|
|
2431
|
+
"font-weight": [{ font: Dr }],
|
|
2432
|
+
leading: [{ leading: Fr }],
|
|
2433
|
+
mbe: [{ mbe: R }],
|
|
2434
|
+
mbs: [{ mbs: R }],
|
|
2435
|
+
mie: [{ mie: R }],
|
|
2436
|
+
mis: [{ mis: R }],
|
|
2437
|
+
mlb: [{ mlb: R }],
|
|
2438
|
+
mli: [{ mli: R }],
|
|
2439
|
+
pbe: [{ pbe: R }],
|
|
2440
|
+
pbs: [{ pbs: R }],
|
|
2441
|
+
pie: [{ pie: R }],
|
|
2442
|
+
pis: [{ pis: R }],
|
|
2443
|
+
plb: [{ plb: R }],
|
|
2444
|
+
pli: [{ pli: R }]
|
|
2445
|
+
},
|
|
2446
|
+
conflictingClassGroups: {
|
|
2447
|
+
m: ["mie", "mis", "mbe", "mbs", "mlb", "mli"],
|
|
2448
|
+
mlb: ["mbe", "mbs"],
|
|
2449
|
+
mli: ["mie", "mis"],
|
|
2450
|
+
mx: ["mie", "mis", "mli"],
|
|
2451
|
+
my: ["mbe", "mbs", "mlb"],
|
|
2452
|
+
p: ["pie", "pis", "pbe", "pbs", "plb", "pli"],
|
|
2453
|
+
plb: ["pbe", "pbs"],
|
|
2454
|
+
pli: ["pie", "pis"],
|
|
2455
|
+
px: ["pie", "pis", "pli"],
|
|
2456
|
+
py: ["pbe", "pbs", "plb"]
|
|
2457
|
+
},
|
|
2458
|
+
theme: {
|
|
2459
|
+
borderRadius: Vr,
|
|
2460
|
+
borderWidth: Hr
|
|
2461
|
+
}
|
|
2462
|
+
});
|
|
2463
|
+
function b(...e) {
|
|
2464
|
+
return Ur(je(e));
|
|
2465
|
+
}
|
|
2466
|
+
const Pe = (e) => {
|
|
25
2467
|
if (e) {
|
|
26
2468
|
if (typeof e != "string" && e)
|
|
27
|
-
return
|
|
2469
|
+
return je(e.lightMode, e.darkMode);
|
|
28
2470
|
if (typeof e == "string")
|
|
29
2471
|
return e;
|
|
30
2472
|
}
|
|
31
|
-
},
|
|
2473
|
+
}, Xe = (e) => {
|
|
32
2474
|
if (e) {
|
|
33
2475
|
if (typeof e != "string" && e)
|
|
34
|
-
return
|
|
2476
|
+
return je(e.block, e.blockEnd, e.blockStart, e.inline, e.inlineEnd, e.inlineStart);
|
|
35
2477
|
if (typeof e == "string")
|
|
36
2478
|
return e;
|
|
37
2479
|
}
|
|
38
|
-
},
|
|
2480
|
+
}, _r = ({
|
|
39
2481
|
background: e,
|
|
40
2482
|
borderColor: t,
|
|
41
2483
|
borderRadius: r,
|
|
42
2484
|
borderWidth: n,
|
|
43
|
-
className:
|
|
44
|
-
component:
|
|
45
|
-
color:
|
|
46
|
-
elevation:
|
|
47
|
-
height:
|
|
48
|
-
margin:
|
|
49
|
-
padding:
|
|
50
|
-
width:
|
|
2485
|
+
className: o,
|
|
2486
|
+
component: a = "div",
|
|
2487
|
+
color: i,
|
|
2488
|
+
elevation: s = 0,
|
|
2489
|
+
height: d,
|
|
2490
|
+
margin: c,
|
|
2491
|
+
padding: f,
|
|
2492
|
+
width: g,
|
|
51
2493
|
...v
|
|
52
|
-
},
|
|
2494
|
+
}, m) => {
|
|
53
2495
|
const p = {
|
|
54
2496
|
0: "",
|
|
55
2497
|
1: "shadow-light-1 dark:shadow-dark-1",
|
|
@@ -57,213 +2499,213 @@ const fe = (e) => {
|
|
|
57
2499
|
4: "shadow-light-4 dark:shadow-dark-4",
|
|
58
2500
|
8: "shadow-light-8 dark:shadow-dark-8",
|
|
59
2501
|
12: "shadow-light-12 dark:shadow-dark-12"
|
|
60
|
-
},
|
|
2502
|
+
}, w = Pe(i), x = Pe(e), I = Pe(t), N = Xe(f), P = Xe(c), S = b(
|
|
61
2503
|
r,
|
|
62
2504
|
n,
|
|
63
|
-
p[
|
|
64
|
-
|
|
65
|
-
E,
|
|
2505
|
+
p[s],
|
|
2506
|
+
P,
|
|
66
2507
|
N,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
2508
|
+
w,
|
|
2509
|
+
x,
|
|
2510
|
+
I,
|
|
2511
|
+
g,
|
|
2512
|
+
d,
|
|
2513
|
+
o
|
|
72
2514
|
);
|
|
73
|
-
return
|
|
74
|
-
className:
|
|
2515
|
+
return V(a, {
|
|
2516
|
+
className: S,
|
|
75
2517
|
...v,
|
|
76
|
-
ref:
|
|
2518
|
+
ref: m
|
|
77
2519
|
});
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
const
|
|
2520
|
+
}, B = $(_r);
|
|
2521
|
+
B.displayName = "Box";
|
|
2522
|
+
const Ge = ({ innerRef: e, forwardedRef: t }) => (oe(() => {
|
|
81
2523
|
[e, t].forEach((r) => {
|
|
82
2524
|
r && (typeof r == "function" ? r(e.current || null) : r.current = e.current || null);
|
|
83
2525
|
});
|
|
84
2526
|
}, [e, t]), e);
|
|
85
|
-
function
|
|
86
|
-
|
|
2527
|
+
function qr() {
|
|
2528
|
+
Qt(() => {
|
|
87
2529
|
const e = window.getComputedStyle(document.body).overflow;
|
|
88
2530
|
return document.body.style.overflow = "hidden", () => document.body.style.overflow = e;
|
|
89
2531
|
}, []);
|
|
90
2532
|
}
|
|
91
|
-
const
|
|
2533
|
+
const Zr = ({
|
|
92
2534
|
className: e,
|
|
93
2535
|
disabled: t,
|
|
94
2536
|
endIcon: r,
|
|
95
2537
|
error: n,
|
|
96
|
-
hint:
|
|
97
|
-
label:
|
|
98
|
-
name:
|
|
99
|
-
onChange:
|
|
100
|
-
placeholder:
|
|
101
|
-
startIcon:
|
|
102
|
-
value:
|
|
103
|
-
...
|
|
2538
|
+
hint: o,
|
|
2539
|
+
label: a,
|
|
2540
|
+
name: i,
|
|
2541
|
+
onChange: s,
|
|
2542
|
+
placeholder: d,
|
|
2543
|
+
startIcon: c,
|
|
2544
|
+
value: f,
|
|
2545
|
+
...g
|
|
104
2546
|
}, v) => {
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
var
|
|
108
|
-
|
|
109
|
-
}, [
|
|
110
|
-
const
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
},
|
|
114
|
-
t || !p.current || (p.current.focus(),
|
|
115
|
-
},
|
|
116
|
-
|
|
2547
|
+
const m = F(null), p = Ge({ forwardedRef: v, innerRef: m }), [w, x] = q(Boolean(f)), [I, N] = q(!1);
|
|
2548
|
+
oe(() => {
|
|
2549
|
+
var u;
|
|
2550
|
+
x(Boolean((u = p == null ? void 0 : p.current) == null ? void 0 : u.value) || Boolean(f || d));
|
|
2551
|
+
}, [f, d, p]);
|
|
2552
|
+
const P = (u) => {
|
|
2553
|
+
var Z;
|
|
2554
|
+
x(Boolean((Z = p == null ? void 0 : p.current) == null ? void 0 : Z.value) || Boolean(f || d)), s && s(u);
|
|
2555
|
+
}, S = () => {
|
|
2556
|
+
t || !p.current || (p.current.focus(), N(!0));
|
|
2557
|
+
}, h = () => {
|
|
2558
|
+
N(!1);
|
|
117
2559
|
};
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
2560
|
+
return /* @__PURE__ */ y("div", { className: b(["flex items-start flex-col gap-0.5", e]), children: [
|
|
2561
|
+
/* @__PURE__ */ y(
|
|
120
2562
|
"div",
|
|
121
2563
|
{
|
|
122
|
-
className:
|
|
2564
|
+
className: b([
|
|
123
2565
|
"items-center self-stretch rounded-1 border-small border-solid cursor-text flex flex-row relative focus-within:border-transparent focus-within:outline-2 focus-within:outline-info focus-within:outline focus-within:dark:border-transparent focus-within:dark:outline-info-dark",
|
|
124
2566
|
t ? "bg-gray-10 dark:bg-gray-40" : null,
|
|
125
2567
|
n ? "border-alert dark:border-alert-dark" : "border-tertiary-light dark:border-tertiary-dark"
|
|
126
2568
|
]),
|
|
127
|
-
onClick:
|
|
128
|
-
onFocus:
|
|
2569
|
+
onClick: S,
|
|
2570
|
+
onFocus: S,
|
|
129
2571
|
children: [
|
|
130
|
-
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
/* @__PURE__ */
|
|
2572
|
+
c ? /* @__PURE__ */ l("div", { className: "text-text-muted-light dark:text-text-muted-dark pis-1.5", children: c }) : null,
|
|
2573
|
+
/* @__PURE__ */ y("span", { className: "relative flex flex-1 overflow-hidden", children: [
|
|
2574
|
+
/* @__PURE__ */ l(
|
|
133
2575
|
"input",
|
|
134
2576
|
{
|
|
135
|
-
className:
|
|
2577
|
+
className: b([
|
|
136
2578
|
"self-stretch bg-transparent flex-auto outline-none overflow-hidden h-[56px]",
|
|
137
|
-
|
|
2579
|
+
c ? "pis-1" : "pis-2",
|
|
138
2580
|
r ? "pie-1" : "pie-2",
|
|
139
|
-
|
|
2581
|
+
a ? "pbs-3 pbe-1" : "pbs-2 pbe-2"
|
|
140
2582
|
]),
|
|
141
2583
|
disabled: t,
|
|
142
|
-
id:
|
|
143
|
-
onBlur:
|
|
144
|
-
onChange:
|
|
145
|
-
placeholder:
|
|
2584
|
+
id: i,
|
|
2585
|
+
onBlur: h,
|
|
2586
|
+
onChange: P,
|
|
2587
|
+
placeholder: d,
|
|
146
2588
|
ref: p,
|
|
147
|
-
value:
|
|
148
|
-
...
|
|
2589
|
+
value: f,
|
|
2590
|
+
...g
|
|
149
2591
|
}
|
|
150
2592
|
),
|
|
151
|
-
|
|
2593
|
+
a ? /* @__PURE__ */ l(
|
|
152
2594
|
"label",
|
|
153
2595
|
{
|
|
154
|
-
className:
|
|
2596
|
+
className: b(
|
|
155
2597
|
"items-center text-text-muted-light dark:text-text-muted-dark flex font-regular leading-loose pointer-events-none absolute block-start-2 select-none",
|
|
156
|
-
|
|
157
|
-
|
|
2598
|
+
c ? "inline-start-1" : "inline-start-2",
|
|
2599
|
+
I || w ? "text-13 -translate-y-1.5" : "text-16"
|
|
158
2600
|
),
|
|
159
|
-
htmlFor:
|
|
160
|
-
children:
|
|
2601
|
+
htmlFor: i,
|
|
2602
|
+
children: a
|
|
161
2603
|
}
|
|
162
2604
|
) : null
|
|
163
2605
|
] }),
|
|
164
|
-
r ? /* @__PURE__ */
|
|
2606
|
+
r ? /* @__PURE__ */ l("div", { className: "text-text-muted-light dark:text-text-muted-dark pie-1.5", children: r }) : null
|
|
165
2607
|
]
|
|
166
2608
|
}
|
|
167
2609
|
),
|
|
168
|
-
n ||
|
|
169
|
-
n ? /* @__PURE__ */
|
|
170
|
-
|
|
2610
|
+
n || o ? /* @__PURE__ */ y("div", { className: "flex flex-col", children: [
|
|
2611
|
+
n ? /* @__PURE__ */ l("span", { className: "text-alert dark:text-alert-dark", children: n }) : null,
|
|
2612
|
+
o ? /* @__PURE__ */ l("span", { className: "text-text-muted-light dark:text-text-muted-dark text-13 leading-default", children: o }) : null
|
|
171
2613
|
] }) : null
|
|
172
2614
|
] });
|
|
173
|
-
},
|
|
174
|
-
|
|
175
|
-
const
|
|
2615
|
+
}, Et = $(Zr);
|
|
2616
|
+
Et.displayName = "Input";
|
|
2617
|
+
const Kr = ({ children: e, className: t, ...r }, n) => /* @__PURE__ */ l(
|
|
176
2618
|
"ul",
|
|
177
2619
|
{
|
|
178
|
-
className:
|
|
2620
|
+
className: b(["bg-canvas-light dark:bg-canvas-secondary-dark rounded-1 py-0.5", t]),
|
|
179
2621
|
ref: n,
|
|
180
2622
|
...r,
|
|
181
2623
|
children: e
|
|
182
2624
|
}
|
|
183
|
-
),
|
|
184
|
-
|
|
185
|
-
const
|
|
186
|
-
const
|
|
187
|
-
|
|
2625
|
+
), Pt = $(Kr);
|
|
2626
|
+
Pt.displayName = "List";
|
|
2627
|
+
const Xr = ({ children: e, className: t, disabled: r, divider: n, onClick: o, ...a }, i) => {
|
|
2628
|
+
const s = (d) => {
|
|
2629
|
+
o && (d.code === "Enter" || d.key === " ") && o();
|
|
188
2630
|
};
|
|
189
|
-
return /* @__PURE__ */
|
|
2631
|
+
return /* @__PURE__ */ l(
|
|
190
2632
|
"li",
|
|
191
2633
|
{
|
|
192
|
-
className:
|
|
2634
|
+
className: b([
|
|
193
2635
|
"flex items-center box-border relative",
|
|
194
2636
|
n ? "after:last:content-none after:absolute after:inset-x-0 after:bottom-0 after:mx-2 after:bg-gray-10 after:dark:bg-gray-40 after:h-px" : null,
|
|
195
2637
|
t
|
|
196
2638
|
]),
|
|
197
|
-
ref:
|
|
198
|
-
...
|
|
199
|
-
children: /* @__PURE__ */
|
|
2639
|
+
ref: i,
|
|
2640
|
+
...a,
|
|
2641
|
+
children: /* @__PURE__ */ l(
|
|
200
2642
|
"div",
|
|
201
2643
|
{
|
|
202
|
-
className:
|
|
2644
|
+
className: b([
|
|
203
2645
|
"flex flex-1 py-2 gap-x-2 items-center pie-2 pis-2",
|
|
204
|
-
|
|
2646
|
+
o ? "cursor-pointer hover:bg-gray-10 hover:dark:bg-gray-50" : void 0,
|
|
205
2647
|
r ? "pointer-events-none" : ""
|
|
206
2648
|
]),
|
|
207
|
-
onClick:
|
|
208
|
-
onKeyUp:
|
|
209
|
-
onTouchEnd:
|
|
210
|
-
tabIndex:
|
|
2649
|
+
onClick: o,
|
|
2650
|
+
onKeyUp: s,
|
|
2651
|
+
onTouchEnd: o,
|
|
2652
|
+
tabIndex: o ? 0 : void 0,
|
|
211
2653
|
children: e
|
|
212
2654
|
}
|
|
213
2655
|
)
|
|
214
2656
|
}
|
|
215
2657
|
);
|
|
216
|
-
},
|
|
217
|
-
|
|
218
|
-
const
|
|
2658
|
+
}, Te = $(Xr);
|
|
2659
|
+
Te.displayName = "ListItem";
|
|
2660
|
+
const Jr = ({
|
|
219
2661
|
label: e,
|
|
220
2662
|
name: t,
|
|
221
2663
|
options: r,
|
|
222
2664
|
disabled: n = !1,
|
|
223
|
-
error:
|
|
224
|
-
hint:
|
|
225
|
-
noOptionsText:
|
|
226
|
-
onChange:
|
|
227
|
-
onSelect:
|
|
228
|
-
value:
|
|
229
|
-
...
|
|
230
|
-
},
|
|
231
|
-
const v =
|
|
232
|
-
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
},
|
|
236
|
-
(
|
|
237
|
-
v.current && !v.current.contains(
|
|
2665
|
+
error: o,
|
|
2666
|
+
hint: a,
|
|
2667
|
+
noOptionsText: i,
|
|
2668
|
+
onChange: s,
|
|
2669
|
+
onSelect: d,
|
|
2670
|
+
value: c,
|
|
2671
|
+
...f
|
|
2672
|
+
}, g) => {
|
|
2673
|
+
const v = F(null), [m, p] = q(c), [w, x] = q(!1), I = (h) => {
|
|
2674
|
+
w || x(!0), !h.length && m && p(null), s(h);
|
|
2675
|
+
}, N = (h) => {
|
|
2676
|
+
d(h), s(h.label), p(h.label), x(!1);
|
|
2677
|
+
}, P = xe(
|
|
2678
|
+
(h) => {
|
|
2679
|
+
v.current && !v.current.contains(h.target) && (!m && c && s(""), m && c && s(m), x(!1));
|
|
238
2680
|
},
|
|
239
|
-
[
|
|
240
|
-
),
|
|
241
|
-
return
|
|
242
|
-
document.removeEventListener("click",
|
|
243
|
-
}), [
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
-
|
|
2681
|
+
[s, m, c]
|
|
2682
|
+
), S = re(() => r.filter((h) => h.label.toLowerCase().includes(c.toLowerCase())) ?? [], [r, c]);
|
|
2683
|
+
return oe(() => (document.addEventListener("click", P, !0), () => {
|
|
2684
|
+
document.removeEventListener("click", P, !0);
|
|
2685
|
+
}), [P]), /* @__PURE__ */ y(B, { className: "relative", ref: v, children: [
|
|
2686
|
+
/* @__PURE__ */ l(
|
|
2687
|
+
Et,
|
|
246
2688
|
{
|
|
247
2689
|
disabled: n,
|
|
248
|
-
endIcon: /* @__PURE__ */
|
|
249
|
-
error:
|
|
250
|
-
hint:
|
|
2690
|
+
endIcon: /* @__PURE__ */ l(yt, { size: "24" }),
|
|
2691
|
+
error: o,
|
|
2692
|
+
hint: a,
|
|
251
2693
|
label: e,
|
|
252
2694
|
name: t ?? e,
|
|
253
|
-
onChange: (
|
|
254
|
-
|
|
2695
|
+
onChange: (h) => {
|
|
2696
|
+
I(h.target.value);
|
|
255
2697
|
},
|
|
256
|
-
onFocus: () =>
|
|
257
|
-
ref:
|
|
258
|
-
value:
|
|
259
|
-
...
|
|
2698
|
+
onFocus: () => x(!0),
|
|
2699
|
+
ref: g,
|
|
2700
|
+
value: c ?? "",
|
|
2701
|
+
...f
|
|
260
2702
|
}
|
|
261
2703
|
),
|
|
262
|
-
|
|
2704
|
+
w ? /* @__PURE__ */ l(B, { className: "absolute top-[calc(100%+1px)] w-full z-50", children: /* @__PURE__ */ l(Pt, { className: "max-h-[300px] overflow-y-auto", children: S.length ? S.map((h, u) => /* @__PURE__ */ l(Te, { onClick: () => N(h), children: h.label }, `${h.value}-${u}`)) : /* @__PURE__ */ l(Te, { children: i }) }) }) : null
|
|
263
2705
|
] });
|
|
264
|
-
},
|
|
265
|
-
|
|
266
|
-
const
|
|
2706
|
+
}, Qr = $(Jr);
|
|
2707
|
+
Qr.displayName = "AutocompleteSelect";
|
|
2708
|
+
const Je = {
|
|
267
2709
|
base: "font-bold",
|
|
268
2710
|
xs: "text-16 md:text-19 leading-default",
|
|
269
2711
|
sm: "text-19 md:text-23 leading-default md:leading-comfy",
|
|
@@ -271,7 +2713,7 @@ const Se = {
|
|
|
271
2713
|
lg: "text-28 md:text-33 leading-comfy",
|
|
272
2714
|
xl: "text-33 md:text-40 leading-comfy",
|
|
273
2715
|
xxl: "text-33 md:text-57 leading-comfy"
|
|
274
|
-
},
|
|
2716
|
+
}, ve = {
|
|
275
2717
|
base: "font-medium leading-default",
|
|
276
2718
|
default: "text-16 md:text-19",
|
|
277
2719
|
xs: "text-11",
|
|
@@ -279,152 +2721,152 @@ const Se = {
|
|
|
279
2721
|
md: "text-16",
|
|
280
2722
|
lg: "text-19",
|
|
281
2723
|
xl: "text-23 md:text-28 tracking-tight"
|
|
282
|
-
},
|
|
283
|
-
...
|
|
2724
|
+
}, Le = {
|
|
2725
|
+
...ve,
|
|
284
2726
|
base: "font-regular leading-loose",
|
|
285
2727
|
xl: "text-23 md:text-28"
|
|
286
|
-
},
|
|
2728
|
+
}, Qe = {
|
|
287
2729
|
base: "font-medium leading-default tracking-wider uppercase text-text-muted-light dark:text-text-muted-dark",
|
|
288
2730
|
xs: "text-11",
|
|
289
2731
|
sm: "text-13",
|
|
290
2732
|
md: "text-16",
|
|
291
2733
|
lg: "text-19",
|
|
292
2734
|
xl: "text-23"
|
|
293
|
-
},
|
|
2735
|
+
}, Ye = {
|
|
294
2736
|
base: "font-regular leading-default text-text-muted-light dark:text-text-muted-dark",
|
|
295
2737
|
sm: "text-11",
|
|
296
2738
|
md: "text-13",
|
|
297
2739
|
lg: "text-16"
|
|
298
|
-
},
|
|
2740
|
+
}, et = {
|
|
299
2741
|
base: "font-bold leading-default",
|
|
300
2742
|
xs: "text-11",
|
|
301
2743
|
sm: "text-13",
|
|
302
2744
|
md: "text-16",
|
|
303
2745
|
lg: "text-19"
|
|
304
|
-
},
|
|
2746
|
+
}, tt = {
|
|
305
2747
|
base: "font-medium leading-default text-text-muted-light dark:text-text-muted-dark",
|
|
306
2748
|
sm: "text-11",
|
|
307
2749
|
md: "text-13",
|
|
308
2750
|
lg: "text-16"
|
|
309
|
-
},
|
|
2751
|
+
}, rt = {
|
|
310
2752
|
base: "font-regular leading-loose",
|
|
311
2753
|
md: "text-16",
|
|
312
2754
|
lg: "text-19"
|
|
313
|
-
},
|
|
2755
|
+
}, Lt = ({ size: e, variant: t }) => {
|
|
314
2756
|
switch (t) {
|
|
315
2757
|
case "headline":
|
|
316
|
-
return
|
|
2758
|
+
return b(Je.base, Je[e]);
|
|
317
2759
|
case "label":
|
|
318
|
-
return
|
|
2760
|
+
return b(ve.base, e ? ve[e] : ve.default);
|
|
319
2761
|
case "paragraph":
|
|
320
|
-
return
|
|
2762
|
+
return b(Le.base, e ? Le[e] : Le.default);
|
|
321
2763
|
case "eyebrow":
|
|
322
|
-
return
|
|
2764
|
+
return b(Qe.base, Qe[e]);
|
|
323
2765
|
case "caption":
|
|
324
|
-
return
|
|
2766
|
+
return b(Ye.base, Ye[e]);
|
|
325
2767
|
case "buttonLabel":
|
|
326
|
-
return
|
|
2768
|
+
return b(et.base, et[e]);
|
|
327
2769
|
case "fieldLabel":
|
|
328
|
-
return
|
|
2770
|
+
return b(tt.base, tt[e]);
|
|
329
2771
|
case "fieldTextInput":
|
|
330
|
-
return
|
|
2772
|
+
return b(rt.base, rt[e]);
|
|
331
2773
|
default:
|
|
332
2774
|
return e;
|
|
333
2775
|
}
|
|
334
|
-
},
|
|
2776
|
+
}, Mt = {
|
|
335
2777
|
primary: "font-aktiv-grotesk",
|
|
336
2778
|
secondary: "font-untitled-serif"
|
|
337
|
-
},
|
|
338
|
-
const
|
|
339
|
-
return /* @__PURE__ */
|
|
340
|
-
|
|
2779
|
+
}, Yr = ({ className: e, component: t = "p", children: r, font: n = "primary", size: o, variant: a, ...i }, s) => {
|
|
2780
|
+
const d = "text-text-light dark:text-text-dark", c = Mt[n], f = Lt({ size: o, variant: a });
|
|
2781
|
+
return /* @__PURE__ */ l(
|
|
2782
|
+
B,
|
|
341
2783
|
{
|
|
342
|
-
className: d
|
|
2784
|
+
className: b(d, f, c, e),
|
|
343
2785
|
component: t,
|
|
344
|
-
ref:
|
|
345
|
-
...
|
|
2786
|
+
ref: s,
|
|
2787
|
+
...i,
|
|
346
2788
|
children: r
|
|
347
2789
|
}
|
|
348
2790
|
);
|
|
349
|
-
},
|
|
350
|
-
|
|
351
|
-
const
|
|
2791
|
+
}, D = $(Yr);
|
|
2792
|
+
D.displayName = "Text";
|
|
2793
|
+
const en = ({
|
|
352
2794
|
children: e,
|
|
353
2795
|
component: t = "a",
|
|
354
2796
|
className: r,
|
|
355
2797
|
disabled: n,
|
|
356
|
-
active:
|
|
357
|
-
...
|
|
358
|
-
}) => /* @__PURE__ */
|
|
359
|
-
|
|
2798
|
+
active: o,
|
|
2799
|
+
...a
|
|
2800
|
+
}) => /* @__PURE__ */ l(
|
|
2801
|
+
D,
|
|
360
2802
|
{
|
|
361
|
-
className:
|
|
2803
|
+
className: b([
|
|
362
2804
|
"font-bold text-gray-50 leading-default whitespace-nowrap",
|
|
363
|
-
|
|
2805
|
+
o ? "underline decoration-yv-red decoration-2 underline-offset-8 text-16 leading-loose" : "text-13",
|
|
364
2806
|
n ? "cursor-none pointer-events-none text-text-muted-light dark:text-text-muted-dark" : "",
|
|
365
2807
|
r
|
|
366
2808
|
]),
|
|
367
2809
|
component: t,
|
|
368
|
-
...
|
|
2810
|
+
...a,
|
|
369
2811
|
children: e
|
|
370
2812
|
}
|
|
371
2813
|
);
|
|
372
|
-
|
|
373
|
-
var
|
|
2814
|
+
en.displayName = "Breadcrumb";
|
|
2815
|
+
var tn = Object.defineProperty, rn = Object.defineProperties, nn = Object.getOwnPropertyDescriptors, we = Object.getOwnPropertySymbols, Tt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, on = (e, t) => {
|
|
374
2816
|
for (var r in t || (t = {}))
|
|
375
|
-
|
|
376
|
-
if (
|
|
377
|
-
for (var r of
|
|
378
|
-
|
|
2817
|
+
Tt.call(t, r) && nt(e, r, t[r]);
|
|
2818
|
+
if (we)
|
|
2819
|
+
for (var r of we(t))
|
|
2820
|
+
zt.call(t, r) && nt(e, r, t[r]);
|
|
379
2821
|
return e;
|
|
380
|
-
},
|
|
2822
|
+
}, an = (e, t) => rn(e, nn(t)), sn = (e, t) => {
|
|
381
2823
|
var r = {};
|
|
382
2824
|
for (var n in e)
|
|
383
|
-
|
|
384
|
-
if (e != null &&
|
|
385
|
-
for (var n of
|
|
386
|
-
t.indexOf(n) < 0 &&
|
|
2825
|
+
Tt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
2826
|
+
if (e != null && we)
|
|
2827
|
+
for (var n of we(e))
|
|
2828
|
+
t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
|
|
387
2829
|
return r;
|
|
388
|
-
},
|
|
389
|
-
var r = e, { title: n, titleId:
|
|
390
|
-
return
|
|
391
|
-
},
|
|
392
|
-
const
|
|
393
|
-
const
|
|
394
|
-
var
|
|
395
|
-
return
|
|
2830
|
+
}, ln = (e, t) => {
|
|
2831
|
+
var r = e, { title: n, titleId: o } = r, a = sn(r, ["title", "titleId"]);
|
|
2832
|
+
return y("svg", an(on({ width: a.size || "24", height: a.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": o }, a), { children: [n ? l("title", { id: o, children: n }) : null, l("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.293 18.707a1 1 0 0 1 0-1.414l4.94-4.94a.5.5 0 0 0 0-.707l-4.94-4.939a1 1 0 0 1 1.414-1.414l5.647 5.646a1.5 1.5 0 0 1 0 2.122l-5.647 5.646a1 1 0 0 1-1.414 0Z", fill: "currentColor" })] }));
|
|
2833
|
+
}, dn = $(ln), cn = dn;
|
|
2834
|
+
const un = ({ children: e, className: t, ...r }, n) => {
|
|
2835
|
+
const o = Yt.toArray(e), a = o.findIndex((i) => {
|
|
2836
|
+
var s;
|
|
2837
|
+
return er(i) ? (s = i == null ? void 0 : i.props) == null ? void 0 : s.active : !1;
|
|
396
2838
|
});
|
|
397
|
-
return /* @__PURE__ */
|
|
398
|
-
|
|
399
|
-
|
|
2839
|
+
return /* @__PURE__ */ l("div", { className: b(["flex py-0.5 flex-row min-h-[48px] rtl:rotate-180", t]), ref: n, ...r, children: o.map((i, s) => /* @__PURE__ */ y("div", { className: "flex items-center", children: [
|
|
2840
|
+
s ? /* @__PURE__ */ l(
|
|
2841
|
+
cn,
|
|
400
2842
|
{
|
|
401
|
-
className:
|
|
2843
|
+
className: b([
|
|
402
2844
|
"mx-1",
|
|
403
|
-
|
|
404
|
-
|
|
2845
|
+
s > a && "text-gray-15",
|
|
2846
|
+
s <= a && "text-gray-25"
|
|
405
2847
|
]),
|
|
406
2848
|
size: "15"
|
|
407
2849
|
}
|
|
408
2850
|
) : null,
|
|
409
|
-
typeof
|
|
410
|
-
...
|
|
411
|
-
className:
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
2851
|
+
typeof i == "object" && "type" in i ? V(i.type, {
|
|
2852
|
+
...i.props,
|
|
2853
|
+
className: b([
|
|
2854
|
+
i.props.className ?? "",
|
|
2855
|
+
s < a ? "bg-gray-10 dark:bg-gray-40 py-1 px-2 rounded-3 cursor-pointer" : "px-0.5",
|
|
2856
|
+
s > a && "[&>*]:text-gray-15 [&>*]:text-16 [&>*]:leading-loose [&>*]:font-medium",
|
|
415
2857
|
"rtl:rotate-180"
|
|
416
2858
|
])
|
|
417
|
-
}) :
|
|
418
|
-
] }, `${
|
|
419
|
-
},
|
|
420
|
-
|
|
421
|
-
const
|
|
2859
|
+
}) : i
|
|
2860
|
+
] }, `${s}-${i.toString()}`)) });
|
|
2861
|
+
}, fn = $(un);
|
|
2862
|
+
fn.displayName = "Breadcrumbs";
|
|
2863
|
+
const na = {
|
|
422
2864
|
lg: "lg",
|
|
423
2865
|
md: "md",
|
|
424
2866
|
sm: "sm",
|
|
425
2867
|
xl: "xl",
|
|
426
2868
|
xs: "xs"
|
|
427
|
-
},
|
|
2869
|
+
}, Rt = (e) => {
|
|
428
2870
|
switch (e) {
|
|
429
2871
|
case "start":
|
|
430
2872
|
return {
|
|
@@ -451,13 +2893,13 @@ const qn = {
|
|
|
451
2893
|
xs: "rounded-3 text-11 px-2 py-1"
|
|
452
2894
|
};
|
|
453
2895
|
}
|
|
454
|
-
},
|
|
2896
|
+
}, ke = {
|
|
455
2897
|
lg: 30,
|
|
456
2898
|
md: 24,
|
|
457
2899
|
sm: 18,
|
|
458
2900
|
xl: 36,
|
|
459
2901
|
xs: 12
|
|
460
|
-
},
|
|
2902
|
+
}, Bt = "items-center leading-default font-bold ease-in-out duration-100 focus:ring-2 focus:ring-info-light dark:focus:ring-info-dark flex w-full max-w-fit h-fit", Ee = {
|
|
461
2903
|
// bgColor, outlineColor, disabled, fontColor, hover, pressed, disabled, textTransform
|
|
462
2904
|
all_caps: "bg-transparent text-gray-50 dark:text-white hover:text-info-light dark:hover:text-info-dark active:text-blue-40 dark:active:text-blue-20 disabled:opacity-50 disabled:text-gray-50 dark:disabled:text-white uppercase",
|
|
463
2905
|
borderless: "bg-transparent text-gray-50 dark:text-white hover:bg-gray-10 dark:hover:bg-gray-40 disabled:opacity-50 dark:disabled:bg-transparent",
|
|
@@ -469,109 +2911,109 @@ const qn = {
|
|
|
469
2911
|
"risk:stroked": "bg-transparent ring ring-2 ring-alert dark:ring-alert-dark text-alert dark:text-alert-dark hover:bg-alert dark:hover:bg-alert-dark hover:text-white dark:hover:text-white active:bg-alert dark:active:bg-alert-dark disabled:opacity-50 disabled:bg-transparent dark:disabled:bg-transparent disabled:text-gray-50 dark:disabled:text-white hover:shadow-risk-light-2 dark:hover:shadow-risk-dark-2",
|
|
470
2912
|
secondary: "bg-gray-10 dark:bg-gray-40 text-gray-50 dark:text-white hover:bg-gray-40 dark:hover:bg-gray-10 hover:text-white dark:hover:text-gray-50 active:bg-gray-50 disabled:opacity-50 disabled:bg-gray-10 disabled:text-gray-50",
|
|
471
2913
|
stroked: "bg-transparent ring ring-2 ring-gray-50 dark:ring-white text-gray-50 dark:text-white hover:bg-gray-40 dark:hover:bg-gray-10 hover:text-white dark:hover:text-gray-50 active:bg-gray-50 disabled:opacity-50 disabled:bg-transparent dark:disabled:bg-transparent disabled:text-gray-50 dark:disabled:text-white"
|
|
472
|
-
},
|
|
2914
|
+
}, pn = ({
|
|
473
2915
|
className: e,
|
|
474
2916
|
children: t,
|
|
475
2917
|
disabled: r,
|
|
476
2918
|
icon: n,
|
|
477
|
-
iconAction:
|
|
478
|
-
iconPosition:
|
|
479
|
-
size:
|
|
480
|
-
type:
|
|
481
|
-
variant:
|
|
482
|
-
...
|
|
483
|
-
},
|
|
484
|
-
const
|
|
485
|
-
return /* @__PURE__ */
|
|
486
|
-
|
|
487
|
-
className: "
|
|
488
|
-
onClick:
|
|
489
|
-
size:
|
|
2919
|
+
iconAction: o,
|
|
2920
|
+
iconPosition: a,
|
|
2921
|
+
size: i = "md",
|
|
2922
|
+
type: s = "button",
|
|
2923
|
+
variant: d = "primary",
|
|
2924
|
+
...c
|
|
2925
|
+
}, f) => {
|
|
2926
|
+
const g = Rt(n !== void 0 ? a : void 0), v = b(Bt, Ee[d], g[i], e);
|
|
2927
|
+
return /* @__PURE__ */ y("button", { className: v, disabled: r, ref: f, type: s, ...c, children: [
|
|
2928
|
+
a === "start" && n !== void 0 ? V(n, {
|
|
2929
|
+
className: "mie-0.5",
|
|
2930
|
+
onClick: o ?? void 0,
|
|
2931
|
+
size: ke[i]
|
|
490
2932
|
}) : null,
|
|
491
|
-
/* @__PURE__ */
|
|
492
|
-
|
|
493
|
-
className: "
|
|
494
|
-
onClick:
|
|
495
|
-
size:
|
|
2933
|
+
/* @__PURE__ */ l("span", { className: "truncate", children: t }),
|
|
2934
|
+
a === "end" && n !== void 0 ? V(n, {
|
|
2935
|
+
className: "mis-0.5",
|
|
2936
|
+
onClick: o ?? void 0,
|
|
2937
|
+
size: ke[i]
|
|
496
2938
|
}) : null
|
|
497
2939
|
] });
|
|
498
|
-
},
|
|
499
|
-
|
|
500
|
-
const
|
|
501
|
-
const
|
|
502
|
-
return /* @__PURE__ */
|
|
2940
|
+
}, $e = $(pn);
|
|
2941
|
+
$e.displayName = "Button";
|
|
2942
|
+
const bn = ({ error: e, className: t, label: r, disabled: n, name: o, ...a }, i) => {
|
|
2943
|
+
const s = tr(), d = re(() => `checkbox-label-${s}`, [s]);
|
|
2944
|
+
return /* @__PURE__ */ y(
|
|
503
2945
|
"div",
|
|
504
2946
|
{
|
|
505
|
-
className:
|
|
2947
|
+
className: b([
|
|
506
2948
|
"flex items-baseline rounded-0.5 w-fit focus-within:border-transparent focus-within:outline-2 focus-within:outline-info focus-within:outline focus-within:dark:border-transparent focus-within:dark:outline-info-dark",
|
|
507
2949
|
t
|
|
508
2950
|
]),
|
|
509
2951
|
children: [
|
|
510
|
-
/* @__PURE__ */
|
|
2952
|
+
/* @__PURE__ */ l(
|
|
511
2953
|
"input",
|
|
512
2954
|
{
|
|
513
|
-
"aria-labelledby":
|
|
514
|
-
className: "w-1.5 h-1.5
|
|
2955
|
+
"aria-labelledby": d,
|
|
2956
|
+
className: "w-1.5 h-1.5 mie-0.5 flex-none rounded-0.25 focus-within:outline-none peer",
|
|
515
2957
|
disabled: n,
|
|
516
|
-
id:
|
|
517
|
-
name:
|
|
518
|
-
ref:
|
|
2958
|
+
id: o,
|
|
2959
|
+
name: o,
|
|
2960
|
+
ref: i,
|
|
519
2961
|
type: "checkbox",
|
|
520
|
-
...
|
|
2962
|
+
...a
|
|
521
2963
|
}
|
|
522
2964
|
),
|
|
523
|
-
r ? /* @__PURE__ */
|
|
524
|
-
e ? /* @__PURE__ */
|
|
2965
|
+
r ? /* @__PURE__ */ l("div", { className: "peer-disabled:text-text-muted-light peer-disabled:dark:text-text-muted-dark text-text-light dark:text-text-dark", children: /* @__PURE__ */ l("label", { htmlFor: o, id: d, children: r }) }) : null,
|
|
2966
|
+
e ? /* @__PURE__ */ l("div", { className: "text-alert-light dark:text-alert-dark text-13", children: e }) : null
|
|
525
2967
|
]
|
|
526
2968
|
}
|
|
527
2969
|
);
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
var
|
|
2970
|
+
}, gn = $(bn);
|
|
2971
|
+
gn.displayName = "Checkbox";
|
|
2972
|
+
var mn = Object.defineProperty, hn = Object.defineProperties, vn = Object.getOwnPropertyDescriptors, Se = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, At = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xn = (e, t) => {
|
|
531
2973
|
for (var r in t || (t = {}))
|
|
532
|
-
|
|
533
|
-
if (
|
|
534
|
-
for (var r of
|
|
535
|
-
|
|
2974
|
+
jt.call(t, r) && ot(e, r, t[r]);
|
|
2975
|
+
if (Se)
|
|
2976
|
+
for (var r of Se(t))
|
|
2977
|
+
At.call(t, r) && ot(e, r, t[r]);
|
|
536
2978
|
return e;
|
|
537
|
-
},
|
|
2979
|
+
}, yn = (e, t) => hn(e, vn(t)), wn = (e, t) => {
|
|
538
2980
|
var r = {};
|
|
539
2981
|
for (var n in e)
|
|
540
|
-
|
|
541
|
-
if (e != null &&
|
|
542
|
-
for (var n of
|
|
543
|
-
t.indexOf(n) < 0 &&
|
|
2982
|
+
jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
2983
|
+
if (e != null && Se)
|
|
2984
|
+
for (var n of Se(e))
|
|
2985
|
+
t.indexOf(n) < 0 && At.call(e, n) && (r[n] = e[n]);
|
|
544
2986
|
return r;
|
|
545
|
-
},
|
|
546
|
-
var r = e, { title: n, titleId:
|
|
547
|
-
return
|
|
548
|
-
},
|
|
549
|
-
const
|
|
550
|
-
const r =
|
|
551
|
-
return
|
|
2987
|
+
}, kn = (e, t) => {
|
|
2988
|
+
var r = e, { title: n, titleId: o } = r, a = wn(r, ["title", "titleId"]);
|
|
2989
|
+
return y("svg", yn(xn({ width: a.size || "24", height: a.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": o }, a), { children: [n ? l("title", { id: o, children: n }) : null, l("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.768 11.646a.5.5 0 0 0 0 .708l3.182 3.182a1 1 0 0 1-1.414 1.414l-3.182-3.182a.5.5 0 0 0-.708 0L8.464 16.95a1 1 0 1 1-1.414-1.414l3.182-3.182a.5.5 0 0 0 0-.708L7.05 8.464A1 1 0 1 1 8.464 7.05l3.182 3.182a.5.5 0 0 0 .707 0l3.183-3.182a1 1 0 1 1 1.414 1.414l-3.182 3.182Z", fill: "currentColor" })] }));
|
|
2990
|
+
}, $n = $(kn), Sn = $n;
|
|
2991
|
+
const Wt = ({ children: e, autoFocus: t = !0 }) => {
|
|
2992
|
+
const r = F(null);
|
|
2993
|
+
return oe(() => {
|
|
552
2994
|
if (r.current) {
|
|
553
2995
|
const n = r.current.querySelectorAll(
|
|
554
2996
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
555
2997
|
);
|
|
556
|
-
let
|
|
557
|
-
const
|
|
558
|
-
if (
|
|
559
|
-
if (
|
|
560
|
-
if (document.activeElement ===
|
|
561
|
-
|
|
2998
|
+
let o = document.activeElement;
|
|
2999
|
+
const a = n[0], i = n[n.length - 1], s = (f) => {
|
|
3000
|
+
if (f.key === "Tab") {
|
|
3001
|
+
if (f.shiftKey) {
|
|
3002
|
+
if (document.activeElement === a)
|
|
3003
|
+
f.preventDefault(), i.focus(), o = i;
|
|
562
3004
|
else
|
|
563
|
-
for (let
|
|
564
|
-
if (n[
|
|
565
|
-
|
|
3005
|
+
for (let g = 0; g < n.length; g++)
|
|
3006
|
+
if (n[g] === document.activeElement) {
|
|
3007
|
+
o = n[g - 1];
|
|
566
3008
|
break;
|
|
567
3009
|
}
|
|
568
|
-
} else if (!
|
|
569
|
-
if (document.activeElement ===
|
|
570
|
-
|
|
3010
|
+
} else if (!f.shiftKey) {
|
|
3011
|
+
if (document.activeElement === i)
|
|
3012
|
+
f.preventDefault(), a.focus(), o = a;
|
|
571
3013
|
else
|
|
572
|
-
for (let
|
|
573
|
-
if (n[
|
|
574
|
-
|
|
3014
|
+
for (let g = 0; g < n.length; g++)
|
|
3015
|
+
if (n[g] === document.activeElement) {
|
|
3016
|
+
o = n[g + 1];
|
|
575
3017
|
break;
|
|
576
3018
|
}
|
|
577
3019
|
}
|
|
@@ -579,109 +3021,109 @@ const ot = ({ children: e, autoFocus: t = !0 }) => {
|
|
|
579
3021
|
};
|
|
580
3022
|
t && (() => {
|
|
581
3023
|
if (r.current) {
|
|
582
|
-
const
|
|
3024
|
+
const f = r.current.querySelector(
|
|
583
3025
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
584
3026
|
);
|
|
585
|
-
|
|
3027
|
+
f && f.focus();
|
|
586
3028
|
}
|
|
587
3029
|
})();
|
|
588
|
-
const
|
|
589
|
-
r.current && !r.current.contains(
|
|
3030
|
+
const c = (f) => {
|
|
3031
|
+
r.current && !r.current.contains(f.target) && o.focus();
|
|
590
3032
|
};
|
|
591
|
-
return document.addEventListener("keydown",
|
|
592
|
-
document.removeEventListener("keydown",
|
|
3033
|
+
return document.addEventListener("keydown", s), document.addEventListener("click", c), () => {
|
|
3034
|
+
document.removeEventListener("keydown", s), document.removeEventListener("click", c);
|
|
593
3035
|
};
|
|
594
3036
|
}
|
|
595
|
-
}, [t]), /* @__PURE__ */
|
|
596
|
-
},
|
|
3037
|
+
}, [t]), /* @__PURE__ */ l("div", { ref: r, children: e });
|
|
3038
|
+
}, Nn = ({ children: e, className: t, disabled: r, type: n = "button", variant: o = "borderless", ...a }, i) => /* @__PURE__ */ l(
|
|
597
3039
|
"button",
|
|
598
3040
|
{
|
|
599
|
-
className:
|
|
3041
|
+
className: b([
|
|
600
3042
|
"rounded-full inline-flex justify-center items-center p-1",
|
|
601
3043
|
t,
|
|
602
|
-
|
|
3044
|
+
Ee[o],
|
|
603
3045
|
r ? "pointer-events-none" : ""
|
|
604
3046
|
]),
|
|
605
3047
|
disabled: r,
|
|
606
|
-
ref:
|
|
3048
|
+
ref: i,
|
|
607
3049
|
type: n,
|
|
608
|
-
...
|
|
3050
|
+
...a,
|
|
609
3051
|
children: e
|
|
610
3052
|
}
|
|
611
|
-
),
|
|
612
|
-
|
|
613
|
-
const
|
|
3053
|
+
), Gt = $(Nn);
|
|
3054
|
+
Gt.displayName = "IconButton";
|
|
3055
|
+
const Cn = {
|
|
614
3056
|
1: "h1",
|
|
615
3057
|
2: "h2",
|
|
616
3058
|
3: "h3",
|
|
617
3059
|
4: "h4"
|
|
618
|
-
},
|
|
619
|
-
const
|
|
620
|
-
return /* @__PURE__ */
|
|
621
|
-
|
|
3060
|
+
}, On = ({ className: e, children: t, font: r = "primary", level: n = 1, size: o, variant: a, ...i }, s) => {
|
|
3061
|
+
const d = "text-text-light dark:text-text-dark", c = Mt[r], f = Lt({ size: o, variant: a });
|
|
3062
|
+
return /* @__PURE__ */ l(
|
|
3063
|
+
B,
|
|
622
3064
|
{
|
|
623
|
-
className: d
|
|
624
|
-
component:
|
|
625
|
-
ref:
|
|
626
|
-
...
|
|
3065
|
+
className: b(d, f, c, e),
|
|
3066
|
+
component: Cn[n],
|
|
3067
|
+
ref: s,
|
|
3068
|
+
...i,
|
|
627
3069
|
children: t
|
|
628
3070
|
}
|
|
629
3071
|
);
|
|
630
|
-
},
|
|
631
|
-
|
|
632
|
-
const
|
|
3072
|
+
}, Dt = $(On);
|
|
3073
|
+
Dt.displayName = "Heading";
|
|
3074
|
+
const In = ({
|
|
633
3075
|
autoFocus: e = !0,
|
|
634
3076
|
children: t,
|
|
635
3077
|
className: r,
|
|
636
3078
|
confirmationButtons: n,
|
|
637
|
-
dialogType:
|
|
638
|
-
heading:
|
|
639
|
-
isDismissableOnOutsideClick:
|
|
640
|
-
onClose:
|
|
641
|
-
...
|
|
642
|
-
},
|
|
643
|
-
/* @__PURE__ */
|
|
3079
|
+
dialogType: o = "confirmation",
|
|
3080
|
+
heading: a,
|
|
3081
|
+
isDismissableOnOutsideClick: i = !0,
|
|
3082
|
+
onClose: s,
|
|
3083
|
+
...d
|
|
3084
|
+
}, c) => (qr(), /* @__PURE__ */ y("div", { className: "flex items-center justify-center w-full h-full z-20 absolute inset-0", children: [
|
|
3085
|
+
/* @__PURE__ */ l(
|
|
644
3086
|
"div",
|
|
645
3087
|
{
|
|
646
3088
|
className: "absolute inset-0 bg-overlay-light dark:bg-overlay-dark",
|
|
647
3089
|
"data-testid": "dialog-overlay",
|
|
648
3090
|
id: "overlay",
|
|
649
|
-
onClick:
|
|
3091
|
+
onClick: i ? s : void 0
|
|
650
3092
|
}
|
|
651
3093
|
),
|
|
652
|
-
/* @__PURE__ */
|
|
3094
|
+
/* @__PURE__ */ l(Wt, { autoFocus: e, children: /* @__PURE__ */ y(
|
|
653
3095
|
"dialog",
|
|
654
3096
|
{
|
|
655
|
-
className:
|
|
3097
|
+
className: b(
|
|
656
3098
|
" z-20 relative rounded-2 p-3 mlb-4 mli-2 bg-canvas-light dark:bg-canvas-dark",
|
|
657
|
-
|
|
3099
|
+
o === "confirmation" ? "max-w-[400px]" : "max-w-[700px]",
|
|
658
3100
|
r
|
|
659
3101
|
),
|
|
660
3102
|
open: !0,
|
|
661
|
-
ref:
|
|
662
|
-
...
|
|
3103
|
+
ref: c,
|
|
3104
|
+
...d,
|
|
663
3105
|
children: [
|
|
664
|
-
|
|
665
|
-
|
|
3106
|
+
o === "modal" ? /* @__PURE__ */ l(
|
|
3107
|
+
Gt,
|
|
666
3108
|
{
|
|
667
3109
|
className: "absolute inline-end-2 block-start-2",
|
|
668
3110
|
"data-testid": "close-modal-button",
|
|
669
|
-
onClick:
|
|
670
|
-
children: /* @__PURE__ */
|
|
3111
|
+
onClick: s,
|
|
3112
|
+
children: /* @__PURE__ */ l(Sn, {})
|
|
671
3113
|
}
|
|
672
3114
|
) : null,
|
|
673
|
-
/* @__PURE__ */
|
|
674
|
-
/* @__PURE__ */
|
|
675
|
-
/* @__PURE__ */
|
|
3115
|
+
/* @__PURE__ */ l("div", { children: a ? /* @__PURE__ */ l(Dt, { className: "pbe-1", size: "md", variant: "headline", children: a }) : null }),
|
|
3116
|
+
/* @__PURE__ */ l("div", { children: t }),
|
|
3117
|
+
/* @__PURE__ */ l("div", { className: "w-full flex justify-end items-center pbs-2", children: n == null ? void 0 : n.map(({ label: g, ...v }, m) => (
|
|
676
3118
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
677
|
-
/* @__PURE__ */
|
|
3119
|
+
/* @__PURE__ */ l($e, { "aria-label": g, size: "sm", variant: "all_caps", ...v, children: g }, `${g}${m}`)
|
|
678
3120
|
)) })
|
|
679
3121
|
]
|
|
680
3122
|
}
|
|
681
3123
|
) })
|
|
682
|
-
] })),
|
|
683
|
-
|
|
684
|
-
const
|
|
3124
|
+
] })), En = $(In);
|
|
3125
|
+
En.displayName = "Dialog";
|
|
3126
|
+
const oa = ({ className: e, ...t }) => /* @__PURE__ */ l("hr", { ...t, className: b("w-full border-gray-15 dark:border-gray-30 border-standard", e) }), aa = ({ className: e, progress: t }) => /* @__PURE__ */ l("div", { className: b(["w-full bg-gray-15 h-2 rounded-3 overflow-hidden", e]), children: /* @__PURE__ */ l(
|
|
685
3127
|
"div",
|
|
686
3128
|
{
|
|
687
3129
|
className: "bg-blue-30 h-2 ease-in-out duration-300",
|
|
@@ -690,244 +3132,244 @@ const Zn = ({ className: e, ...t }) => /* @__PURE__ */ s("hr", { ...t, className
|
|
|
690
3132
|
width: `${t}%`
|
|
691
3133
|
}
|
|
692
3134
|
}
|
|
693
|
-
) }),
|
|
3135
|
+
) }), Pn = ({ className: e, children: t, component: r = "a", variant: n = "borderless", ...o }, a) => V(
|
|
694
3136
|
r,
|
|
695
3137
|
{
|
|
696
|
-
...
|
|
697
|
-
className:
|
|
3138
|
+
...o,
|
|
3139
|
+
className: b([
|
|
698
3140
|
"rounded-full inline-flex justify-center items-center p-1 no-underline cursor-pointer",
|
|
699
|
-
|
|
3141
|
+
Ee[n],
|
|
700
3142
|
e
|
|
701
3143
|
]),
|
|
702
|
-
ref:
|
|
3144
|
+
ref: a
|
|
703
3145
|
},
|
|
704
3146
|
t
|
|
705
|
-
),
|
|
706
|
-
|
|
707
|
-
var
|
|
3147
|
+
), Ln = $(Pn);
|
|
3148
|
+
Ln.displayName = "IconLinkButton";
|
|
3149
|
+
var Mn = Object.defineProperty, Tn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, Ne = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, Ht = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rn = (e, t) => {
|
|
708
3150
|
for (var r in t || (t = {}))
|
|
709
|
-
|
|
710
|
-
if (
|
|
711
|
-
for (var r of
|
|
712
|
-
|
|
3151
|
+
Ft.call(t, r) && at(e, r, t[r]);
|
|
3152
|
+
if (Ne)
|
|
3153
|
+
for (var r of Ne(t))
|
|
3154
|
+
Ht.call(t, r) && at(e, r, t[r]);
|
|
713
3155
|
return e;
|
|
714
|
-
},
|
|
3156
|
+
}, Bn = (e, t) => Tn(e, zn(t)), jn = (e, t) => {
|
|
715
3157
|
var r = {};
|
|
716
3158
|
for (var n in e)
|
|
717
|
-
|
|
718
|
-
if (e != null &&
|
|
719
|
-
for (var n of
|
|
720
|
-
t.indexOf(n) < 0 &&
|
|
3159
|
+
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3160
|
+
if (e != null && Ne)
|
|
3161
|
+
for (var n of Ne(e))
|
|
3162
|
+
t.indexOf(n) < 0 && Ht.call(e, n) && (r[n] = e[n]);
|
|
721
3163
|
return r;
|
|
722
|
-
},
|
|
723
|
-
var r = e, { title: n, titleId:
|
|
724
|
-
return
|
|
725
|
-
},
|
|
3164
|
+
}, An = (e, t) => {
|
|
3165
|
+
var r = e, { title: n, titleId: o } = r, a = jn(r, ["title", "titleId"]);
|
|
3166
|
+
return y("svg", Bn(Rn({ width: a.size || "24", height: a.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": o }, a), { children: [n ? l("title", { id: o, children: n }) : null, l("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.768 11.646a.5.5 0 0 0 0 .708l3.182 3.182a1 1 0 0 1-1.414 1.414l-3.182-3.182a.5.5 0 0 0-.708 0L8.464 16.95a1 1 0 1 1-1.414-1.414l3.182-3.182a.5.5 0 0 0 0-.708L7.05 8.464A1 1 0 0 1 8.464 7.05l3.182 3.182a.5.5 0 0 0 .707 0l3.183-3.182a1 1 0 1 1 1.414 1.414l-3.182 3.182Z", fill: "currentColor" })] }));
|
|
3167
|
+
}, Wn = $(An), Gn = Wn, Dn = Object.defineProperty, Fn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ce = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
|
|
726
3168
|
for (var r in t || (t = {}))
|
|
727
|
-
|
|
728
|
-
if (
|
|
729
|
-
for (var r of
|
|
730
|
-
|
|
3169
|
+
Vt.call(t, r) && it(e, r, t[r]);
|
|
3170
|
+
if (Ce)
|
|
3171
|
+
for (var r of Ce(t))
|
|
3172
|
+
Ut.call(t, r) && it(e, r, t[r]);
|
|
731
3173
|
return e;
|
|
732
|
-
},
|
|
3174
|
+
}, Un = (e, t) => Fn(e, Hn(t)), _n = (e, t) => {
|
|
733
3175
|
var r = {};
|
|
734
3176
|
for (var n in e)
|
|
735
|
-
|
|
736
|
-
if (e != null &&
|
|
737
|
-
for (var n of
|
|
738
|
-
t.indexOf(n) < 0 &&
|
|
3177
|
+
Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3178
|
+
if (e != null && Ce)
|
|
3179
|
+
for (var n of Ce(e))
|
|
3180
|
+
t.indexOf(n) < 0 && Ut.call(e, n) && (r[n] = e[n]);
|
|
739
3181
|
return r;
|
|
740
|
-
},
|
|
741
|
-
var r = e, { title: n, titleId:
|
|
742
|
-
return
|
|
743
|
-
},
|
|
3182
|
+
}, qn = (e, t) => {
|
|
3183
|
+
var r = e, { title: n, titleId: o } = r, a = _n(r, ["title", "titleId"]);
|
|
3184
|
+
return y("svg", Un(Vn({ width: a.size || "24", height: a.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": o }, a), { children: [n ? l("title", { id: o, children: n }) : null, l("path", { d: "M9.346 14.272c.15.228.499.228 1.194.228h5.628c.81 0 1.215 0 1.36-.262.145-.261-.07-.605-.5-1.292l-.667-1.068c-.386-.618-.58-.928-.861-.928s-.475.31-.861.928l-.453.724-1.252-2.924c-.4-.931-.6-1.397-.934-1.397-.335 0-.534.466-.934 1.397l-1.46 3.406c-.273.64-.41.96-.26 1.188ZM18 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z", fill: "currentColor" }), l("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.879 3.379C6 4.257 6 5.672 6 8.5v3c0 2.828 0 4.243.879 5.121.878.879 2.293.879 5.121.879h3c2.828 0 4.243 0 5.121-.879C21 15.743 21 14.328 21 11.5v-3c0-2.828 0-4.243-.879-5.121C19.243 2.5 17.828 2.5 15 2.5h-3c-2.828 0-4.243 0-5.121.879ZM18.02 4.623c-.65-.087-1.55-.092-3.021-.092h-3c-1.472 0-2.371.005-3.021.092-.301.04-.466.09-.554.126a.292.292 0 0 0-.11.066.292.292 0 0 0-.066.11 2.313 2.313 0 0 0-.126.554c-.087.65-.092 1.55-.092 3.021v3c0 1.472.005 2.371.092 3.021.04.301.09.466.126.554.03.072.05.095.066.11a.292.292 0 0 0 .11.066c.088.036.253.085.554.126.65.087 1.55.092 3.021.092h3c1.472 0 2.371-.005 3.021-.092.301-.04.466-.09.554-.126a.292.292 0 0 0 .11-.066.292.292 0 0 0 .066-.11c.036-.088.085-.253.126-.554.087-.65.092-1.55.092-3.021v-3c0-1.472-.005-2.371-.092-3.021a2.313 2.313 0 0 0-.126-.554.292.292 0 0 0-.066-.11.292.292 0 0 0-.11-.066 2.313 2.313 0 0 0-.554-.126Z", fill: "currentColor" }), l("path", { d: "M2 8.5c0-1 1-2 2-2v9a4 4 0 0 0 4 4h9c0 1-.887 2-2 2H8a6 6 0 0 1-6-6v-7Z", fill: "currentColor" })] }));
|
|
3185
|
+
}, Zn = $(qn), Kn = Zn, Xn = Object.defineProperty, Jn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, Oe = Object.getOwnPropertySymbols, _t = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
|
|
744
3186
|
for (var r in t || (t = {}))
|
|
745
|
-
|
|
746
|
-
if (
|
|
747
|
-
for (var r of
|
|
748
|
-
|
|
3187
|
+
_t.call(t, r) && st(e, r, t[r]);
|
|
3188
|
+
if (Oe)
|
|
3189
|
+
for (var r of Oe(t))
|
|
3190
|
+
qt.call(t, r) && st(e, r, t[r]);
|
|
749
3191
|
return e;
|
|
750
|
-
},
|
|
3192
|
+
}, eo = (e, t) => Jn(e, Qn(t)), to = (e, t) => {
|
|
751
3193
|
var r = {};
|
|
752
3194
|
for (var n in e)
|
|
753
|
-
|
|
754
|
-
if (e != null &&
|
|
755
|
-
for (var n of
|
|
756
|
-
t.indexOf(n) < 0 &&
|
|
3195
|
+
_t.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3196
|
+
if (e != null && Oe)
|
|
3197
|
+
for (var n of Oe(e))
|
|
3198
|
+
t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
|
|
757
3199
|
return r;
|
|
758
|
-
},
|
|
759
|
-
var r = e, { title: n, titleId:
|
|
760
|
-
return
|
|
761
|
-
},
|
|
762
|
-
const
|
|
3200
|
+
}, ro = (e, t) => {
|
|
3201
|
+
var r = e, { title: n, titleId: o } = r, a = to(r, ["title", "titleId"]);
|
|
3202
|
+
return y("svg", eo(Yn({ width: a.size || "24", height: a.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": o }, a), { children: [n ? l("title", { id: o, children: n }) : null, l("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11 4a1 1 0 0 1 1-1 9 9 0 0 1 9 9 1 1 0 1 1-2 0 7.001 7.001 0 0 0-7-7 1 1 0 0 1-1-1Z", fill: "currentColor", children: l("animateTransform", { attributeName: "transform", attributeType: "XML", type: "rotate", from: "0 12 12", to: "360 12 12", dur: a.dur, repeatCount: "indefinite" }) })] }));
|
|
3203
|
+
}, no = $(ro), oo = no;
|
|
3204
|
+
const ao = ({
|
|
763
3205
|
acceptedFileTypes: e = ["image/*"],
|
|
764
3206
|
changeImageButtonLabel: t = "Change",
|
|
765
3207
|
chooseImageButtonLabel: r = "Choose Image",
|
|
766
3208
|
className: n,
|
|
767
|
-
disabled:
|
|
768
|
-
dismissCallback:
|
|
769
|
-
dismissImageAriaLabel:
|
|
770
|
-
error:
|
|
771
|
-
fileMaxKbSizeError:
|
|
772
|
-
fileMaxSizeError:
|
|
773
|
-
fileMinSizeError:
|
|
774
|
-
fileRatioError:
|
|
3209
|
+
disabled: o = !1,
|
|
3210
|
+
dismissCallback: a,
|
|
3211
|
+
dismissImageAriaLabel: i = "Remove Image",
|
|
3212
|
+
error: s = "",
|
|
3213
|
+
fileMaxKbSizeError: d = (E, K) => `${E} is too big to upload, the maximum size is ${K}kb. Please try again.`,
|
|
3214
|
+
fileMaxSizeError: c = (E) => `${E} is too large to upload. The maximum dimensions are ${u == null ? void 0 : u.maxWidth}x${u == null ? void 0 : u.maxHeight}. Please try again.`,
|
|
3215
|
+
fileMinSizeError: f = (E) => `${E} is too small to upload. The minimum dimensions are ${u == null ? void 0 : u.minWidth}x${u == null ? void 0 : u.minHeight}. Please try again.`,
|
|
3216
|
+
fileRatioError: g = (E) => `${E} must have a ratio of, ${u == null ? void 0 : u.imageRatio}. Please try again.`,
|
|
775
3217
|
fileCallback: v,
|
|
776
|
-
hero:
|
|
3218
|
+
hero: m = !1,
|
|
777
3219
|
hint: p,
|
|
778
|
-
imageWidth:
|
|
779
|
-
imageSrc:
|
|
780
|
-
label:
|
|
781
|
-
name:
|
|
782
|
-
onBlur:
|
|
783
|
-
preProcessing:
|
|
784
|
-
shape:
|
|
785
|
-
validation:
|
|
786
|
-
},
|
|
787
|
-
const
|
|
788
|
-
const
|
|
789
|
-
|
|
3220
|
+
imageWidth: w = 160,
|
|
3221
|
+
imageSrc: x,
|
|
3222
|
+
label: I = "Upload Image",
|
|
3223
|
+
name: N = "imageUpload",
|
|
3224
|
+
onBlur: P,
|
|
3225
|
+
preProcessing: S,
|
|
3226
|
+
shape: h = "circle",
|
|
3227
|
+
validation: u
|
|
3228
|
+
}, Z) => {
|
|
3229
|
+
const E = F(null), K = Ge({ forwardedRef: Z, innerRef: E }), [O, A] = q(void 0), [z, L] = q(x ? "resolved" : "idle"), [ie, W] = q(s), be = () => E != null && E.current ? E.current.click() : void 0, se = re(() => O && z !== "rejected" ? (L("resolved"), O.imageSrc) : x && z === "resolved" ? (L("resolved"), x) : null, [O, x, z]), X = re(() => {
|
|
3230
|
+
const G = () => {
|
|
3231
|
+
a && a(x), A(void 0), L("idle");
|
|
790
3232
|
};
|
|
791
|
-
switch (
|
|
3233
|
+
switch (z) {
|
|
792
3234
|
case "pending":
|
|
793
|
-
return /* @__PURE__ */
|
|
3235
|
+
return /* @__PURE__ */ l(B, { className: "animate-spin", children: /* @__PURE__ */ l(oo, { className: "text-info-light dark:text-info-dark", "data-testid": "loading spinner", size: "32" }) });
|
|
794
3236
|
case "resolved":
|
|
795
|
-
return /* @__PURE__ */
|
|
796
|
-
/* @__PURE__ */
|
|
3237
|
+
return /* @__PURE__ */ y(Ie, { children: [
|
|
3238
|
+
/* @__PURE__ */ l(
|
|
797
3239
|
"img",
|
|
798
3240
|
{
|
|
799
|
-
alt: `${
|
|
800
|
-
className:
|
|
3241
|
+
alt: `${O == null ? void 0 : O.id} preview`,
|
|
3242
|
+
className: b([
|
|
801
3243
|
"object-fit w-full h-full",
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
3244
|
+
h === "circle" ? "rounded-full" : "rounded-0.5",
|
|
3245
|
+
h !== "unset" || !m ? "aspect-square" : "",
|
|
3246
|
+
h === "unset" && m ? "aspect-video" : "",
|
|
3247
|
+
h === "unset" && !m ? "!aspect-auto" : ""
|
|
806
3248
|
]),
|
|
807
|
-
onLoad: () =>
|
|
808
|
-
src:
|
|
809
|
-
width:
|
|
3249
|
+
onLoad: () => O != null && O.imageSrc ? URL.revokeObjectURL(O.imageSrc) : void 0,
|
|
3250
|
+
src: se || void 0,
|
|
3251
|
+
width: w
|
|
810
3252
|
}
|
|
811
3253
|
),
|
|
812
|
-
|
|
813
|
-
|
|
3254
|
+
o ? null : /* @__PURE__ */ l(
|
|
3255
|
+
$e,
|
|
814
3256
|
{
|
|
815
|
-
"aria-label":
|
|
3257
|
+
"aria-label": i,
|
|
816
3258
|
className: "absolute -top-0.5 -right-0.5 rounded-3 !p-0 !text-text-muted-light dark:text-text-muted-dark bg-white dark:bg-gray-40 dark:hover:bg-white dark:hover:!text-gray-45 hover:!text-white shadow-light-1 dark:shadow-dark-1",
|
|
817
3259
|
"data-testid": "remove image",
|
|
818
|
-
onClick:
|
|
819
|
-
children: /* @__PURE__ */
|
|
3260
|
+
onClick: G,
|
|
3261
|
+
children: /* @__PURE__ */ l(Gn, {})
|
|
820
3262
|
}
|
|
821
3263
|
)
|
|
822
3264
|
] });
|
|
823
3265
|
default:
|
|
824
|
-
return /* @__PURE__ */
|
|
3266
|
+
return /* @__PURE__ */ l(B, { className: "gray-10 dark:gray-30", children: /* @__PURE__ */ l(Kn, { "data-testid": "placeholder image", size: "32" }) });
|
|
825
3267
|
}
|
|
826
3268
|
}, [
|
|
827
|
-
a,
|
|
828
3269
|
o,
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
3270
|
+
a,
|
|
3271
|
+
i,
|
|
3272
|
+
m,
|
|
3273
|
+
O == null ? void 0 : O.id,
|
|
3274
|
+
O == null ? void 0 : O.imageSrc,
|
|
3275
|
+
x,
|
|
3276
|
+
z,
|
|
3277
|
+
w,
|
|
3278
|
+
se,
|
|
3279
|
+
h
|
|
3280
|
+
]), ge = ({ file: G, imageUrl: Q }) => new Promise((Y, ee) => {
|
|
3281
|
+
var He;
|
|
3282
|
+
const T = new Image(), ce = (He = u == null ? void 0 : u.imageRatio) == null ? void 0 : He.split("/");
|
|
3283
|
+
T.onload = async () => {
|
|
3284
|
+
if (u)
|
|
3285
|
+
if (u != null && u.maxByteSize && G.size > u.maxByteSize) {
|
|
3286
|
+
A(void 0), L("rejected");
|
|
3287
|
+
const Jt = d(G.name, Math.round(u.maxByteSize / 1e3));
|
|
3288
|
+
return W(Jt), ee(!1);
|
|
847
3289
|
} else {
|
|
848
|
-
if (
|
|
849
|
-
return
|
|
850
|
-
if (
|
|
851
|
-
return
|
|
852
|
-
if (
|
|
853
|
-
return
|
|
3290
|
+
if (u != null && u.minWidth && T.width < (u == null ? void 0 : u.minWidth) || u != null && u.minHeight && T.height < (u == null ? void 0 : u.minHeight))
|
|
3291
|
+
return A(void 0), L("rejected"), W(f(G.name)), ee(!1);
|
|
3292
|
+
if (u != null && u.maxHeight && T.height > (u == null ? void 0 : u.maxHeight) || u != null && u.maxWidth && T.width > (u == null ? void 0 : u.maxWidth))
|
|
3293
|
+
return A(void 0), L("rejected"), W(c(G.name)), ee(!1);
|
|
3294
|
+
if (u != null && u.imageRatio && (ce == null ? void 0 : ce.length) === 2 && parseInt(ce[0]) / parseInt(ce[1]) !== T.width / T.height)
|
|
3295
|
+
return A(void 0), L("rejected"), W(g(G.name)), ee(!1);
|
|
854
3296
|
}
|
|
855
|
-
return
|
|
856
|
-
},
|
|
857
|
-
}),
|
|
3297
|
+
return w = T.width, typeof v == "function" && (console.log("Callback"), await v(G, T)), W(""), Y(!0);
|
|
3298
|
+
}, T.src = Q;
|
|
3299
|
+
}), J = async (G) => {
|
|
858
3300
|
try {
|
|
859
|
-
const { files:
|
|
860
|
-
if (
|
|
861
|
-
const
|
|
862
|
-
let
|
|
863
|
-
|
|
864
|
-
file:
|
|
865
|
-
imageUrl:
|
|
866
|
-
}),
|
|
3301
|
+
const { files: Q } = G.target;
|
|
3302
|
+
if (Q) {
|
|
3303
|
+
const Y = Q[0], ee = URL.createObjectURL(Y);
|
|
3304
|
+
let T = !0;
|
|
3305
|
+
L("pending"), S && await S(Y), T = await ge({
|
|
3306
|
+
file: Y,
|
|
3307
|
+
imageUrl: ee
|
|
3308
|
+
}), T && (A({ file: Y, id: Y.name, imageSrc: ee }), L("resolved"));
|
|
867
3309
|
}
|
|
868
|
-
} catch (
|
|
869
|
-
if (
|
|
870
|
-
throw
|
|
3310
|
+
} catch (Q) {
|
|
3311
|
+
if (Q instanceof Error)
|
|
3312
|
+
throw Q;
|
|
871
3313
|
}
|
|
872
|
-
},
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
]),
|
|
877
|
-
return /* @__PURE__ */
|
|
878
|
-
/* @__PURE__ */
|
|
879
|
-
|
|
3314
|
+
}, le = b([h === "circle" && !m ? "rounded-full aspect-square" : ""]), M = b([h === "square" && !m ? "aspect-square rounded-1" : ""]), Kt = b([
|
|
3315
|
+
h === "unset" && !m ? "rounded-1" : "",
|
|
3316
|
+
h === "unset" && z !== "idle" && !m ? "aspect-auto" : "",
|
|
3317
|
+
h === "unset" && z !== "resolved" && !m ? "aspect-square" : ""
|
|
3318
|
+
]), Xt = b([m ? "rounded-1 aspect-video" : ""]);
|
|
3319
|
+
return /* @__PURE__ */ y(B, { className: b([n]), children: [
|
|
3320
|
+
/* @__PURE__ */ y(
|
|
3321
|
+
B,
|
|
880
3322
|
{
|
|
881
|
-
className:
|
|
882
|
-
"relative border-small border-solid rounded-1
|
|
3323
|
+
className: b([
|
|
3324
|
+
"relative border-small border-solid rounded-1 mbe-0.5 pbs-1 pbe-2 px-2 text-text-muted-light dark:text-text-muted-dark",
|
|
883
3325
|
,
|
|
884
|
-
|
|
885
|
-
|
|
3326
|
+
ie ? "border-alert-light dark:border-alert-dark" : "border-tertiary-light dark:border-tertiary-dark",
|
|
3327
|
+
o ? "select-none bg-gray-10 dark:bg-gray-40 pointer-events-none" : ""
|
|
886
3328
|
]),
|
|
887
3329
|
children: [
|
|
888
|
-
/* @__PURE__ */
|
|
889
|
-
/* @__PURE__ */
|
|
890
|
-
/* @__PURE__ */
|
|
891
|
-
|
|
3330
|
+
/* @__PURE__ */ l(D, { className: "pbe-1.5 text-text-muted-light dark:text-text-muted-dark", children: /* @__PURE__ */ l("label", { htmlFor: N, children: I }) }),
|
|
3331
|
+
/* @__PURE__ */ y(B, { className: "flex relative flex-wrap justify-center md:justify-start", children: [
|
|
3332
|
+
/* @__PURE__ */ l(
|
|
3333
|
+
B,
|
|
892
3334
|
{
|
|
893
|
-
className:
|
|
3335
|
+
className: b([
|
|
894
3336
|
"flex justify-center items-center relative mbe-2 md:mbe-0 md:mie-2",
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
3337
|
+
m ? "w-full" : "md:w-1/2 w-4/5",
|
|
3338
|
+
o ? "border-small border-solid border-tertiary-light" : "",
|
|
3339
|
+
z !== "resolved" ? "bg-gray-10 dark:bg-gray-3" : "",
|
|
3340
|
+
le,
|
|
3341
|
+
M,
|
|
3342
|
+
Kt,
|
|
3343
|
+
Xt
|
|
902
3344
|
]),
|
|
903
|
-
children:
|
|
3345
|
+
children: X
|
|
904
3346
|
}
|
|
905
3347
|
),
|
|
906
|
-
/* @__PURE__ */
|
|
907
|
-
|
|
3348
|
+
/* @__PURE__ */ l(
|
|
3349
|
+
$e,
|
|
908
3350
|
{
|
|
909
|
-
className:
|
|
3351
|
+
className: b([
|
|
910
3352
|
"my-auto !ring-gray-15 dark:!ring-gray-30 !ring-1 disabled:!bg-gray-15 disabled:!ring-none",
|
|
911
|
-
|
|
3353
|
+
m ? "!mbs-2" : ""
|
|
912
3354
|
]),
|
|
913
|
-
disabled:
|
|
914
|
-
onClick:
|
|
3355
|
+
disabled: o,
|
|
3356
|
+
onClick: be,
|
|
915
3357
|
size: "sm",
|
|
916
3358
|
variant: "stroked",
|
|
917
|
-
children:
|
|
3359
|
+
children: z === "resolved" ? t : r
|
|
918
3360
|
}
|
|
919
3361
|
),
|
|
920
|
-
/* @__PURE__ */
|
|
3362
|
+
/* @__PURE__ */ l(
|
|
921
3363
|
"input",
|
|
922
3364
|
{
|
|
923
3365
|
accept: e.toString(),
|
|
924
3366
|
className: "hidden",
|
|
925
|
-
disabled:
|
|
926
|
-
id:
|
|
927
|
-
name:
|
|
928
|
-
onBlur:
|
|
929
|
-
onChange:
|
|
930
|
-
ref:
|
|
3367
|
+
disabled: o,
|
|
3368
|
+
id: N,
|
|
3369
|
+
name: N,
|
|
3370
|
+
onBlur: P,
|
|
3371
|
+
onChange: J,
|
|
3372
|
+
ref: K,
|
|
931
3373
|
title: "",
|
|
932
3374
|
type: "file",
|
|
933
3375
|
value: ""
|
|
@@ -937,111 +3379,111 @@ const Gr = ({
|
|
|
937
3379
|
]
|
|
938
3380
|
}
|
|
939
3381
|
),
|
|
940
|
-
|
|
941
|
-
p ? /* @__PURE__ */
|
|
3382
|
+
ie ? /* @__PURE__ */ l(D, { className: "dark:!text-alert-dark !text-alert-light text-13", children: ie }) : null,
|
|
3383
|
+
p ? /* @__PURE__ */ l(D, { className: "text-text-muted-light dark:text-text-muted-dark text-13", children: p }) : null
|
|
942
3384
|
] });
|
|
943
|
-
},
|
|
944
|
-
|
|
945
|
-
const
|
|
3385
|
+
}, io = $(ao);
|
|
3386
|
+
io.displayName = "ImageUpload";
|
|
3387
|
+
const so = ({
|
|
946
3388
|
className: e,
|
|
947
3389
|
children: t,
|
|
948
3390
|
component: r = "a",
|
|
949
3391
|
icon: n,
|
|
950
|
-
iconPosition:
|
|
951
|
-
variant:
|
|
952
|
-
size:
|
|
953
|
-
...
|
|
954
|
-
},
|
|
955
|
-
const
|
|
956
|
-
return /* @__PURE__ */
|
|
3392
|
+
iconPosition: o,
|
|
3393
|
+
variant: a = "primary",
|
|
3394
|
+
size: i = "md",
|
|
3395
|
+
...s
|
|
3396
|
+
}, d) => {
|
|
3397
|
+
const c = Rt(n !== void 0 ? o : void 0);
|
|
3398
|
+
return /* @__PURE__ */ y(({ children: g }) => V(
|
|
957
3399
|
r,
|
|
958
3400
|
{
|
|
959
|
-
...
|
|
960
|
-
className:
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
3401
|
+
...s,
|
|
3402
|
+
className: b([
|
|
3403
|
+
Bt,
|
|
3404
|
+
Ee[a],
|
|
3405
|
+
c[i],
|
|
964
3406
|
"no-underline cursor-pointer",
|
|
965
3407
|
e
|
|
966
3408
|
]),
|
|
967
|
-
ref:
|
|
3409
|
+
ref: d
|
|
968
3410
|
},
|
|
969
|
-
|
|
3411
|
+
g
|
|
970
3412
|
), { children: [
|
|
971
|
-
|
|
3413
|
+
o === "start" && n !== void 0 ? V(n, {
|
|
972
3414
|
className: "mie-0.5 flex-shrink-0",
|
|
973
|
-
size:
|
|
3415
|
+
size: ke[i]
|
|
974
3416
|
}) : null,
|
|
975
|
-
|
|
976
|
-
|
|
3417
|
+
V("span", { className: "truncate" }, t),
|
|
3418
|
+
o === "end" && n !== void 0 ? V(n, {
|
|
977
3419
|
className: "mis-0.5 flex-shrink-0",
|
|
978
|
-
size:
|
|
3420
|
+
size: ke[i]
|
|
979
3421
|
}) : null
|
|
980
3422
|
] });
|
|
981
|
-
},
|
|
982
|
-
|
|
983
|
-
function
|
|
3423
|
+
}, lo = $(so);
|
|
3424
|
+
lo.displayName = "LinkButton";
|
|
3425
|
+
function ia({ children: e, className: t, position: r }) {
|
|
984
3426
|
let n = "";
|
|
985
|
-
return r && (r === "start" ? n = "order-first" : n = "order-last"), /* @__PURE__ */
|
|
3427
|
+
return r && (r === "start" ? n = "order-first" : n = "order-last"), /* @__PURE__ */ l("div", { className: b("flex gap-1", n, t), children: e });
|
|
986
3428
|
}
|
|
987
|
-
function
|
|
988
|
-
return /* @__PURE__ */
|
|
3429
|
+
function sa({ children: e, className: t }) {
|
|
3430
|
+
return /* @__PURE__ */ l("div", { className: b("flex-grow", t), children: e });
|
|
989
3431
|
}
|
|
990
|
-
const
|
|
3432
|
+
const la = ({
|
|
991
3433
|
children: e,
|
|
992
3434
|
className: t,
|
|
993
3435
|
endText: r,
|
|
994
3436
|
endTextProps: n,
|
|
995
|
-
size:
|
|
996
|
-
subHeadline:
|
|
997
|
-
subHeadlineProps:
|
|
998
|
-
}) => /* @__PURE__ */
|
|
999
|
-
/* @__PURE__ */
|
|
1000
|
-
/* @__PURE__ */
|
|
1001
|
-
|
|
3437
|
+
size: o = "sm",
|
|
3438
|
+
subHeadline: a,
|
|
3439
|
+
subHeadlineProps: i
|
|
3440
|
+
}) => /* @__PURE__ */ y("div", { className: b(["flex items-center justify-between break-words", t]), children: [
|
|
3441
|
+
/* @__PURE__ */ y("div", { className: "flex flex-col", children: [
|
|
3442
|
+
/* @__PURE__ */ l(D, { size: o, variant: "label", children: e }),
|
|
3443
|
+
a ? (
|
|
1002
3444
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
1003
|
-
/* @__PURE__ */
|
|
3445
|
+
/* @__PURE__ */ l(D, { ...i, children: a })
|
|
1004
3446
|
) : null
|
|
1005
3447
|
] }),
|
|
1006
|
-
r ? /* @__PURE__ */
|
|
1007
|
-
] }),
|
|
3448
|
+
r ? /* @__PURE__ */ l(D, { ...n, children: r }) : null
|
|
3449
|
+
] }), da = ({ children: e, className: t, ...r }) => /* @__PURE__ */ l("div", { className: b(["relative", t]), ...r, children: e }), co = typeof window < "u" ? ht.useLayoutEffect : () => {
|
|
1008
3450
|
};
|
|
1009
|
-
let
|
|
1010
|
-
function
|
|
3451
|
+
let pe = /* @__PURE__ */ new Map(), lt = /* @__PURE__ */ new Set();
|
|
3452
|
+
function dt() {
|
|
1011
3453
|
if (typeof window > "u")
|
|
1012
3454
|
return;
|
|
1013
3455
|
let e = (r) => {
|
|
1014
|
-
let n =
|
|
1015
|
-
n || (n = /* @__PURE__ */ new Set(),
|
|
3456
|
+
let n = pe.get(r.target);
|
|
3457
|
+
n || (n = /* @__PURE__ */ new Set(), pe.set(r.target, n), r.target.addEventListener("transitioncancel", t)), n.add(r.propertyName);
|
|
1016
3458
|
}, t = (r) => {
|
|
1017
|
-
let n =
|
|
1018
|
-
if (n && (n.delete(r.propertyName), n.size === 0 && (r.target.removeEventListener("transitioncancel", t),
|
|
1019
|
-
for (let
|
|
1020
|
-
|
|
1021
|
-
|
|
3459
|
+
let n = pe.get(r.target);
|
|
3460
|
+
if (n && (n.delete(r.propertyName), n.size === 0 && (r.target.removeEventListener("transitioncancel", t), pe.delete(r.target)), pe.size === 0)) {
|
|
3461
|
+
for (let o of lt)
|
|
3462
|
+
o();
|
|
3463
|
+
lt.clear();
|
|
1022
3464
|
}
|
|
1023
3465
|
};
|
|
1024
3466
|
document.body.addEventListener("transitionrun", e), document.body.addEventListener("transitionend", t);
|
|
1025
3467
|
}
|
|
1026
|
-
typeof document < "u" && (document.readyState !== "loading" ?
|
|
1027
|
-
function
|
|
3468
|
+
typeof document < "u" && (document.readyState !== "loading" ? dt() : document.addEventListener("DOMContentLoaded", dt));
|
|
3469
|
+
function uo(e) {
|
|
1028
3470
|
var t;
|
|
1029
3471
|
return typeof window > "u" || window.navigator == null ? !1 : ((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands.some((r) => e.test(r.brand))) || e.test(window.navigator.userAgent);
|
|
1030
3472
|
}
|
|
1031
|
-
function
|
|
3473
|
+
function fo(e) {
|
|
1032
3474
|
var t;
|
|
1033
3475
|
return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
|
|
1034
3476
|
}
|
|
1035
|
-
function
|
|
1036
|
-
return
|
|
3477
|
+
function po() {
|
|
3478
|
+
return fo(/^Mac/i);
|
|
1037
3479
|
}
|
|
1038
|
-
function
|
|
1039
|
-
return
|
|
3480
|
+
function bo() {
|
|
3481
|
+
return uo(/Android/i);
|
|
1040
3482
|
}
|
|
1041
|
-
function
|
|
1042
|
-
return e.mozInputSource === 0 && e.isTrusted ? !0 :
|
|
3483
|
+
function go(e) {
|
|
3484
|
+
return e.mozInputSource === 0 && e.isTrusted ? !0 : bo() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
|
|
1043
3485
|
}
|
|
1044
|
-
function
|
|
3486
|
+
function ze(e, t, r) {
|
|
1045
3487
|
return t in e ? Object.defineProperty(e, t, {
|
|
1046
3488
|
value: r,
|
|
1047
3489
|
enumerable: !0,
|
|
@@ -1049,9 +3491,9 @@ function be(e, t, r) {
|
|
|
1049
3491
|
writable: !0
|
|
1050
3492
|
}) : e[t] = r, e;
|
|
1051
3493
|
}
|
|
1052
|
-
const
|
|
1053
|
-
|
|
1054
|
-
class
|
|
3494
|
+
const mo = ht.createContext(null);
|
|
3495
|
+
mo.displayName = "PressResponderContext";
|
|
3496
|
+
class ho {
|
|
1055
3497
|
isDefaultPrevented() {
|
|
1056
3498
|
return this.nativeEvent.defaultPrevented;
|
|
1057
3499
|
}
|
|
@@ -1070,25 +3512,25 @@ class sn {
|
|
|
1070
3512
|
this.nativeEvent = r, this.target = r.target, this.currentTarget = r.currentTarget, this.relatedTarget = r.relatedTarget, this.bubbles = r.bubbles, this.cancelable = r.cancelable, this.defaultPrevented = r.defaultPrevented, this.eventPhase = r.eventPhase, this.isTrusted = r.isTrusted, this.timeStamp = r.timeStamp, this.type = t;
|
|
1071
3513
|
}
|
|
1072
3514
|
}
|
|
1073
|
-
function
|
|
1074
|
-
let t =
|
|
3515
|
+
function vo(e) {
|
|
3516
|
+
let t = F({
|
|
1075
3517
|
isFocused: !1,
|
|
1076
3518
|
onBlur: e,
|
|
1077
3519
|
observer: null
|
|
1078
3520
|
});
|
|
1079
|
-
return t.current.onBlur = e,
|
|
3521
|
+
return t.current.onBlur = e, co(() => {
|
|
1080
3522
|
const r = t.current;
|
|
1081
3523
|
return () => {
|
|
1082
3524
|
r.observer && (r.observer.disconnect(), r.observer = null);
|
|
1083
3525
|
};
|
|
1084
|
-
}, []),
|
|
3526
|
+
}, []), xe((r) => {
|
|
1085
3527
|
if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
|
|
1086
3528
|
t.current.isFocused = !0;
|
|
1087
|
-
let n = r.target,
|
|
1088
|
-
var
|
|
1089
|
-
t.current.isFocused = !1, n.disabled && ((
|
|
3529
|
+
let n = r.target, o = (a) => {
|
|
3530
|
+
var i, s;
|
|
3531
|
+
t.current.isFocused = !1, n.disabled && ((s = (i = t.current).onBlur) === null || s === void 0 || s.call(i, new ho("blur", a))), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
|
|
1090
3532
|
};
|
|
1091
|
-
n.addEventListener("focusout",
|
|
3533
|
+
n.addEventListener("focusout", o, {
|
|
1092
3534
|
once: !0
|
|
1093
3535
|
}), t.current.observer = new MutationObserver(() => {
|
|
1094
3536
|
t.current.isFocused && n.disabled && (t.current.observer.disconnect(), n.dispatchEvent(new FocusEvent("blur")), n.dispatchEvent(new FocusEvent("focusout", {
|
|
@@ -1103,53 +3545,53 @@ function ln(e) {
|
|
|
1103
3545
|
}
|
|
1104
3546
|
}, []);
|
|
1105
3547
|
}
|
|
1106
|
-
let
|
|
1107
|
-
function
|
|
1108
|
-
for (let r of
|
|
3548
|
+
let xo = /* @__PURE__ */ new Set(), ct = !1, ne = !1, Re = !1;
|
|
3549
|
+
function De(e, t) {
|
|
3550
|
+
for (let r of xo)
|
|
1109
3551
|
r(e, t);
|
|
1110
3552
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return !(e.metaKey || !
|
|
3553
|
+
function yo(e) {
|
|
3554
|
+
return !(e.metaKey || !po() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
1113
3555
|
}
|
|
1114
|
-
function
|
|
1115
|
-
|
|
3556
|
+
function ut(e) {
|
|
3557
|
+
ne = !0, yo(e) && De("keyboard", e);
|
|
1116
3558
|
}
|
|
1117
|
-
function
|
|
1118
|
-
(e.type === "mousedown" || e.type === "pointerdown") && (
|
|
3559
|
+
function de(e) {
|
|
3560
|
+
(e.type === "mousedown" || e.type === "pointerdown") && (ne = !0, De("pointer", e));
|
|
1119
3561
|
}
|
|
1120
|
-
function
|
|
1121
|
-
|
|
3562
|
+
function wo(e) {
|
|
3563
|
+
go(e) && (ne = !0);
|
|
1122
3564
|
}
|
|
1123
|
-
function
|
|
1124
|
-
e.target === window || e.target === document || (!
|
|
3565
|
+
function ko(e) {
|
|
3566
|
+
e.target === window || e.target === document || (!ne && !Re && De("virtual", e), ne = !1, Re = !1);
|
|
1125
3567
|
}
|
|
1126
|
-
function
|
|
1127
|
-
|
|
3568
|
+
function $o() {
|
|
3569
|
+
ne = !1, Re = !0;
|
|
1128
3570
|
}
|
|
1129
|
-
function
|
|
1130
|
-
if (typeof window > "u" ||
|
|
3571
|
+
function ft() {
|
|
3572
|
+
if (typeof window > "u" || ct)
|
|
1131
3573
|
return;
|
|
1132
3574
|
let e = HTMLElement.prototype.focus;
|
|
1133
3575
|
HTMLElement.prototype.focus = function() {
|
|
1134
|
-
|
|
1135
|
-
}, document.addEventListener("keydown",
|
|
3576
|
+
ne = !0, e.apply(this, arguments);
|
|
3577
|
+
}, document.addEventListener("keydown", ut, !0), document.addEventListener("keyup", ut, !0), document.addEventListener("click", wo, !0), window.addEventListener("focus", ko, !0), window.addEventListener("blur", $o, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", de, !0), document.addEventListener("pointermove", de, !0), document.addEventListener("pointerup", de, !0)) : (document.addEventListener("mousedown", de, !0), document.addEventListener("mousemove", de, !0), document.addEventListener("mouseup", de, !0)), ct = !0;
|
|
1136
3578
|
}
|
|
1137
|
-
typeof document < "u" && (document.readyState !== "loading" ?
|
|
1138
|
-
function
|
|
1139
|
-
let { isDisabled: t, onBlurWithin: r, onFocusWithin: n, onFocusWithinChange:
|
|
3579
|
+
typeof document < "u" && (document.readyState !== "loading" ? ft() : document.addEventListener("DOMContentLoaded", ft));
|
|
3580
|
+
function So(e) {
|
|
3581
|
+
let { isDisabled: t, onBlurWithin: r, onFocusWithin: n, onFocusWithinChange: o } = e, a = F({
|
|
1140
3582
|
isFocusWithin: !1
|
|
1141
|
-
}),
|
|
1142
|
-
|
|
3583
|
+
}), i = xe((c) => {
|
|
3584
|
+
a.current.isFocusWithin && !c.currentTarget.contains(c.relatedTarget) && (a.current.isFocusWithin = !1, r && r(c), o && o(!1));
|
|
1143
3585
|
}, [
|
|
1144
3586
|
r,
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
]),
|
|
1148
|
-
!
|
|
3587
|
+
o,
|
|
3588
|
+
a
|
|
3589
|
+
]), s = vo(i), d = xe((c) => {
|
|
3590
|
+
!a.current.isFocusWithin && document.activeElement === c.target && (n && n(c), o && o(!0), a.current.isFocusWithin = !0, s(c));
|
|
1149
3591
|
}, [
|
|
1150
3592
|
n,
|
|
1151
|
-
|
|
1152
|
-
|
|
3593
|
+
o,
|
|
3594
|
+
s
|
|
1153
3595
|
]);
|
|
1154
3596
|
return t ? {
|
|
1155
3597
|
focusWithinProps: {
|
|
@@ -1158,48 +3600,48 @@ function mn(e) {
|
|
|
1158
3600
|
}
|
|
1159
3601
|
} : {
|
|
1160
3602
|
focusWithinProps: {
|
|
1161
|
-
onFocus:
|
|
1162
|
-
onBlur:
|
|
3603
|
+
onFocus: d,
|
|
3604
|
+
onBlur: i
|
|
1163
3605
|
}
|
|
1164
3606
|
};
|
|
1165
3607
|
}
|
|
1166
|
-
function
|
|
1167
|
-
let { ref: t, onInteractOutside: r, isDisabled: n, onInteractOutsideStart:
|
|
3608
|
+
function No(e) {
|
|
3609
|
+
let { ref: t, onInteractOutside: r, isDisabled: n, onInteractOutsideStart: o } = e, i = F({
|
|
1168
3610
|
isPointerDown: !1,
|
|
1169
3611
|
ignoreEmulatedMouseEvents: !1,
|
|
1170
3612
|
onInteractOutside: r,
|
|
1171
|
-
onInteractOutsideStart:
|
|
3613
|
+
onInteractOutsideStart: o
|
|
1172
3614
|
}).current;
|
|
1173
|
-
|
|
3615
|
+
i.onInteractOutside = r, i.onInteractOutsideStart = o, oe(() => {
|
|
1174
3616
|
if (n)
|
|
1175
3617
|
return;
|
|
1176
|
-
let
|
|
1177
|
-
|
|
3618
|
+
let s = (d) => {
|
|
3619
|
+
he(d, t) && i.onInteractOutside && (i.onInteractOutsideStart && i.onInteractOutsideStart(d), i.isPointerDown = !0);
|
|
1178
3620
|
};
|
|
1179
3621
|
if (typeof PointerEvent < "u") {
|
|
1180
|
-
let
|
|
1181
|
-
|
|
3622
|
+
let d = (c) => {
|
|
3623
|
+
i.isPointerDown && i.onInteractOutside && he(c, t) && i.onInteractOutside(c), i.isPointerDown = !1;
|
|
1182
3624
|
};
|
|
1183
|
-
return document.addEventListener("pointerdown",
|
|
1184
|
-
document.removeEventListener("pointerdown",
|
|
3625
|
+
return document.addEventListener("pointerdown", s, !0), document.addEventListener("pointerup", d, !0), () => {
|
|
3626
|
+
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("pointerup", d, !0);
|
|
1185
3627
|
};
|
|
1186
3628
|
} else {
|
|
1187
|
-
let
|
|
1188
|
-
|
|
1189
|
-
},
|
|
1190
|
-
|
|
3629
|
+
let d = (f) => {
|
|
3630
|
+
i.ignoreEmulatedMouseEvents ? i.ignoreEmulatedMouseEvents = !1 : i.isPointerDown && i.onInteractOutside && he(f, t) && i.onInteractOutside(f), i.isPointerDown = !1;
|
|
3631
|
+
}, c = (f) => {
|
|
3632
|
+
i.ignoreEmulatedMouseEvents = !0, i.onInteractOutside && i.isPointerDown && he(f, t) && i.onInteractOutside(f), i.isPointerDown = !1;
|
|
1191
3633
|
};
|
|
1192
|
-
return document.addEventListener("mousedown",
|
|
1193
|
-
document.removeEventListener("mousedown",
|
|
3634
|
+
return document.addEventListener("mousedown", s, !0), document.addEventListener("mouseup", d, !0), document.addEventListener("touchstart", s, !0), document.addEventListener("touchend", c, !0), () => {
|
|
3635
|
+
document.removeEventListener("mousedown", s, !0), document.removeEventListener("mouseup", d, !0), document.removeEventListener("touchstart", s, !0), document.removeEventListener("touchend", c, !0);
|
|
1194
3636
|
};
|
|
1195
3637
|
}
|
|
1196
3638
|
}, [
|
|
1197
3639
|
t,
|
|
1198
|
-
|
|
3640
|
+
i,
|
|
1199
3641
|
n
|
|
1200
3642
|
]);
|
|
1201
3643
|
}
|
|
1202
|
-
function
|
|
3644
|
+
function he(e, t) {
|
|
1203
3645
|
if (e.button > 0)
|
|
1204
3646
|
return !1;
|
|
1205
3647
|
if (e.target) {
|
|
@@ -1209,22 +3651,22 @@ function X(e, t) {
|
|
|
1209
3651
|
}
|
|
1210
3652
|
return t.current && !t.current.contains(e.target);
|
|
1211
3653
|
}
|
|
1212
|
-
let
|
|
1213
|
-
function
|
|
3654
|
+
let Co = null;
|
|
3655
|
+
function Zt(e, t) {
|
|
1214
3656
|
return t.some((r) => r.contains(e));
|
|
1215
3657
|
}
|
|
1216
|
-
function
|
|
3658
|
+
function Oo(e, t = null) {
|
|
1217
3659
|
if (e instanceof Element && e.closest("[data-react-aria-top-layer]"))
|
|
1218
3660
|
return !0;
|
|
1219
|
-
for (let { scopeRef: r } of
|
|
1220
|
-
if (
|
|
3661
|
+
for (let { scopeRef: r } of bt.traverse(bt.getTreeNode(t)))
|
|
3662
|
+
if (Zt(e, r.current))
|
|
1221
3663
|
return !0;
|
|
1222
3664
|
return !1;
|
|
1223
3665
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return
|
|
3666
|
+
function Io(e) {
|
|
3667
|
+
return Oo(e, Co);
|
|
1226
3668
|
}
|
|
1227
|
-
class
|
|
3669
|
+
class Fe {
|
|
1228
3670
|
get size() {
|
|
1229
3671
|
return this.fastMap.size;
|
|
1230
3672
|
}
|
|
@@ -1232,10 +3674,10 @@ class ve {
|
|
|
1232
3674
|
return this.fastMap.get(t);
|
|
1233
3675
|
}
|
|
1234
3676
|
addTreeNode(t, r, n) {
|
|
1235
|
-
let
|
|
3677
|
+
let o = this.fastMap.get(r ?? null), a = new pt({
|
|
1236
3678
|
scopeRef: t
|
|
1237
3679
|
});
|
|
1238
|
-
|
|
3680
|
+
o.addChild(a), a.parent = o, this.fastMap.set(t, a), n && (a.nodeToRestore = n);
|
|
1239
3681
|
}
|
|
1240
3682
|
addNode(t) {
|
|
1241
3683
|
this.fastMap.set(t.scopeRef, t);
|
|
@@ -1244,10 +3686,10 @@ class ve {
|
|
|
1244
3686
|
if (t === null)
|
|
1245
3687
|
return;
|
|
1246
3688
|
let r = this.fastMap.get(t), n = r.parent;
|
|
1247
|
-
for (let
|
|
1248
|
-
|
|
1249
|
-
let
|
|
1250
|
-
n.removeChild(r),
|
|
3689
|
+
for (let a of this.traverse())
|
|
3690
|
+
a !== r && r.nodeToRestore && a.nodeToRestore && r.scopeRef.current && Zt(a.nodeToRestore, r.scopeRef.current) && (a.nodeToRestore = r.nodeToRestore);
|
|
3691
|
+
let o = r.children;
|
|
3692
|
+
n.removeChild(r), o.size > 0 && o.forEach((a) => n.addChild(a)), this.fastMap.delete(r.scopeRef);
|
|
1251
3693
|
}
|
|
1252
3694
|
// Pre Order Depth First
|
|
1253
3695
|
*traverse(t = this.root) {
|
|
@@ -1256,18 +3698,18 @@ class ve {
|
|
|
1256
3698
|
yield* this.traverse(r);
|
|
1257
3699
|
}
|
|
1258
3700
|
clone() {
|
|
1259
|
-
let t = new
|
|
3701
|
+
let t = new Fe();
|
|
1260
3702
|
for (let r of this.traverse())
|
|
1261
3703
|
t.addTreeNode(r.scopeRef, r.parent.scopeRef, r.nodeToRestore);
|
|
1262
3704
|
return t;
|
|
1263
3705
|
}
|
|
1264
3706
|
constructor() {
|
|
1265
|
-
|
|
3707
|
+
ze(this, "fastMap", /* @__PURE__ */ new Map()), this.root = new pt({
|
|
1266
3708
|
scopeRef: null
|
|
1267
3709
|
}), this.fastMap.set(null, this.root);
|
|
1268
3710
|
}
|
|
1269
3711
|
}
|
|
1270
|
-
class
|
|
3712
|
+
class pt {
|
|
1271
3713
|
addChild(t) {
|
|
1272
3714
|
this.children.add(t), t.parent = this;
|
|
1273
3715
|
}
|
|
@@ -1275,140 +3717,140 @@ class _e {
|
|
|
1275
3717
|
this.children.delete(t), t.parent = void 0;
|
|
1276
3718
|
}
|
|
1277
3719
|
constructor(t) {
|
|
1278
|
-
|
|
3720
|
+
ze(this, "children", /* @__PURE__ */ new Set()), ze(this, "contain", !1), this.scopeRef = t.scopeRef;
|
|
1279
3721
|
}
|
|
1280
3722
|
}
|
|
1281
|
-
let
|
|
1282
|
-
const
|
|
1283
|
-
function
|
|
1284
|
-
let { onClose: r, shouldCloseOnBlur: n, isOpen:
|
|
1285
|
-
|
|
1286
|
-
let p =
|
|
1287
|
-
p >= 0 &&
|
|
3723
|
+
let bt = new Fe();
|
|
3724
|
+
const H = [];
|
|
3725
|
+
function Eo(e, t) {
|
|
3726
|
+
let { onClose: r, shouldCloseOnBlur: n, isOpen: o, isDismissable: a = !1, isKeyboardDismissDisabled: i = !1, shouldCloseOnInteractOutside: s } = e;
|
|
3727
|
+
oe(() => (o && H.push(t), () => {
|
|
3728
|
+
let p = H.indexOf(t);
|
|
3729
|
+
p >= 0 && H.splice(p, 1);
|
|
1288
3730
|
}), [
|
|
1289
|
-
|
|
3731
|
+
o,
|
|
1290
3732
|
t
|
|
1291
3733
|
]);
|
|
1292
|
-
let
|
|
1293
|
-
|
|
3734
|
+
let d = () => {
|
|
3735
|
+
H[H.length - 1] === t && r && r();
|
|
3736
|
+
}, c = (p) => {
|
|
3737
|
+
(!s || s(p.target)) && H[H.length - 1] === t && (p.stopPropagation(), p.preventDefault());
|
|
1294
3738
|
}, f = (p) => {
|
|
1295
|
-
(!
|
|
1296
|
-
},
|
|
1297
|
-
|
|
1298
|
-
}, h = (p) => {
|
|
1299
|
-
p.key === "Escape" && !l && (p.stopPropagation(), p.preventDefault(), u());
|
|
3739
|
+
(!s || s(p.target)) && (H[H.length - 1] === t && (p.stopPropagation(), p.preventDefault()), d());
|
|
3740
|
+
}, g = (p) => {
|
|
3741
|
+
p.key === "Escape" && !i && (p.stopPropagation(), p.preventDefault(), d());
|
|
1300
3742
|
};
|
|
1301
|
-
|
|
3743
|
+
No({
|
|
1302
3744
|
ref: t,
|
|
1303
|
-
onInteractOutside:
|
|
1304
|
-
onInteractOutsideStart:
|
|
3745
|
+
onInteractOutside: a ? f : null,
|
|
3746
|
+
onInteractOutsideStart: c
|
|
1305
3747
|
});
|
|
1306
|
-
let { focusWithinProps: v } =
|
|
3748
|
+
let { focusWithinProps: v } = So({
|
|
1307
3749
|
isDisabled: !n,
|
|
1308
3750
|
onBlurWithin: (p) => {
|
|
1309
|
-
p.relatedTarget &&
|
|
3751
|
+
p.relatedTarget && Io(p.relatedTarget) || (!s || s(p.relatedTarget)) && r();
|
|
1310
3752
|
}
|
|
1311
|
-
}),
|
|
3753
|
+
}), m = (p) => {
|
|
1312
3754
|
p.target === p.currentTarget && p.preventDefault();
|
|
1313
3755
|
};
|
|
1314
3756
|
return {
|
|
1315
3757
|
overlayProps: {
|
|
1316
|
-
onKeyDown:
|
|
3758
|
+
onKeyDown: g,
|
|
1317
3759
|
...v
|
|
1318
3760
|
},
|
|
1319
3761
|
underlayProps: {
|
|
1320
|
-
onPointerDown:
|
|
3762
|
+
onPointerDown: m
|
|
1321
3763
|
}
|
|
1322
3764
|
};
|
|
1323
3765
|
}
|
|
1324
|
-
const
|
|
1325
|
-
const
|
|
1326
|
-
const { horizontal:
|
|
3766
|
+
const Po = ({ align: e, children: t, className: r, ...n }) => {
|
|
3767
|
+
const o = re(() => {
|
|
3768
|
+
const { horizontal: a, vertical: i } = e, s = {
|
|
1327
3769
|
center: "left-1/2",
|
|
1328
3770
|
end: "inline-end-0",
|
|
1329
3771
|
start: "inline-start-0"
|
|
1330
|
-
},
|
|
3772
|
+
}, d = {
|
|
1331
3773
|
bottom: "",
|
|
1332
3774
|
top: "bottom-full"
|
|
1333
3775
|
};
|
|
1334
|
-
return `${
|
|
3776
|
+
return `${s[a]} ${d[i]}`;
|
|
1335
3777
|
}, [e]);
|
|
1336
|
-
return /* @__PURE__ */
|
|
3778
|
+
return /* @__PURE__ */ l(
|
|
1337
3779
|
"div",
|
|
1338
3780
|
{
|
|
1339
|
-
className:
|
|
1340
|
-
"absolute shadow-light-2 dark:shadow-dark-2 rounded-1 bg-canvas-light dark:bg-overlay-body-dark
|
|
1341
|
-
|
|
3781
|
+
className: b([
|
|
3782
|
+
"absolute shadow-light-2 dark:shadow-dark-2 rounded-1 bg-canvas-light dark:bg-overlay-body-dark mbe-0.5 w-max overflow-y-scroll min-h-[200px] max-h-[400px] scrollbar-hide z-10",
|
|
3783
|
+
o,
|
|
1342
3784
|
r
|
|
1343
3785
|
]),
|
|
1344
3786
|
...n,
|
|
1345
3787
|
children: t
|
|
1346
3788
|
}
|
|
1347
3789
|
);
|
|
1348
|
-
},
|
|
3790
|
+
}, Lo = ({ open: e, children: t }) => /* @__PURE__ */ l(Ie, { children: e ? t : null }), ca = ({
|
|
1349
3791
|
align: e = { horizontal: "start", vertical: "bottom" },
|
|
1350
3792
|
autoFocus: t = !0,
|
|
1351
3793
|
children: r,
|
|
1352
3794
|
className: n,
|
|
1353
|
-
isDismissible:
|
|
1354
|
-
isOpen:
|
|
1355
|
-
onClose:
|
|
1356
|
-
...
|
|
3795
|
+
isDismissible: o,
|
|
3796
|
+
isOpen: a,
|
|
3797
|
+
onClose: i,
|
|
3798
|
+
...s
|
|
1357
3799
|
}) => {
|
|
1358
|
-
const
|
|
3800
|
+
const d = F(null), { overlayProps: c } = Eo(
|
|
1359
3801
|
{
|
|
1360
|
-
isDismissable:
|
|
1361
|
-
isKeyboardDismissDisabled: !
|
|
1362
|
-
isOpen:
|
|
1363
|
-
onClose:
|
|
3802
|
+
isDismissable: o,
|
|
3803
|
+
isKeyboardDismissDisabled: !o,
|
|
3804
|
+
isOpen: a,
|
|
3805
|
+
onClose: i
|
|
1364
3806
|
},
|
|
1365
|
-
|
|
3807
|
+
d
|
|
1366
3808
|
);
|
|
1367
|
-
return /* @__PURE__ */
|
|
1368
|
-
|
|
3809
|
+
return /* @__PURE__ */ l(Lo, { open: a, children: /* @__PURE__ */ l(Wt, { autoFocus: t, children: /* @__PURE__ */ l(
|
|
3810
|
+
Po,
|
|
1369
3811
|
{
|
|
1370
3812
|
align: e,
|
|
1371
3813
|
className: n,
|
|
1372
|
-
onClose:
|
|
1373
|
-
...
|
|
1374
|
-
children: /* @__PURE__ */
|
|
3814
|
+
onClose: i,
|
|
3815
|
+
...s,
|
|
3816
|
+
children: /* @__PURE__ */ l("div", { ref: d, ...c, onClick: i, children: r })
|
|
1375
3817
|
}
|
|
1376
3818
|
) }) });
|
|
1377
|
-
},
|
|
1378
|
-
const
|
|
1379
|
-
|
|
1380
|
-
},
|
|
3819
|
+
}, ua = ({ onToggle: e, children: t, className: r, disabled: n }) => {
|
|
3820
|
+
const o = (s) => {
|
|
3821
|
+
s.preventDefault(), s.stopPropagation(), e();
|
|
3822
|
+
}, a = F(null), i = rr(t, {
|
|
1381
3823
|
className: r,
|
|
1382
3824
|
disabled: n,
|
|
1383
|
-
onClick:
|
|
1384
|
-
ref:
|
|
3825
|
+
onClick: o,
|
|
3826
|
+
ref: a
|
|
1385
3827
|
});
|
|
1386
|
-
return /* @__PURE__ */
|
|
1387
|
-
},
|
|
1388
|
-
const { children: r, error: n, hint:
|
|
1389
|
-
return /* @__PURE__ */
|
|
1390
|
-
/* @__PURE__ */
|
|
1391
|
-
n ? /* @__PURE__ */
|
|
1392
|
-
|
|
3828
|
+
return /* @__PURE__ */ l(Ie, { children: i });
|
|
3829
|
+
}, Mo = (e, t) => {
|
|
3830
|
+
const { children: r, error: n, hint: o, label: a } = e;
|
|
3831
|
+
return /* @__PURE__ */ y("div", { ...e, className: "flex-col rounded-0.5 w-fit", ref: t, children: [
|
|
3832
|
+
/* @__PURE__ */ l("label", { children: a }),
|
|
3833
|
+
n ? /* @__PURE__ */ l("p", { className: "text-alert-light dark:text-alert-dark text-13", children: n }) : null,
|
|
3834
|
+
o ? /* @__PURE__ */ l("p", { className: "text-13 text-gray-25 dark:text-gray-20", children: o }) : null,
|
|
1393
3835
|
r
|
|
1394
3836
|
] });
|
|
1395
|
-
},
|
|
1396
|
-
|
|
1397
|
-
const
|
|
1398
|
-
/* @__PURE__ */
|
|
3837
|
+
}, To = $(Mo);
|
|
3838
|
+
To.displayName = "Radio Set";
|
|
3839
|
+
const zo = ({ children: e, disabled: t, name: r, value: n, ...o }, a) => /* @__PURE__ */ y("div", { className: "flex items-baseline rounded-0.5 w-fit focus-within:border-transparent focus-within:outline-2 focus-within:outline-info focus-within:outline focus-within:dark:border-transparent focus-within:dark:outline-info-dark", children: [
|
|
3840
|
+
/* @__PURE__ */ l(
|
|
1399
3841
|
"input",
|
|
1400
3842
|
{
|
|
1401
|
-
className: "w-1.5 h-1.5
|
|
3843
|
+
className: "w-1.5 h-1.5 mie-0.5 flex-none rounded-0.25 focus-within:outline-none peer display: inline",
|
|
1402
3844
|
disabled: t,
|
|
1403
3845
|
id: r,
|
|
1404
3846
|
name: r,
|
|
1405
|
-
ref:
|
|
1406
|
-
...
|
|
3847
|
+
ref: a,
|
|
3848
|
+
...o,
|
|
1407
3849
|
type: "radio",
|
|
1408
3850
|
value: n
|
|
1409
3851
|
}
|
|
1410
3852
|
),
|
|
1411
|
-
/* @__PURE__ */
|
|
3853
|
+
/* @__PURE__ */ l(
|
|
1412
3854
|
"label",
|
|
1413
3855
|
{
|
|
1414
3856
|
className: "peer-disabled:text-text-muted-light peer-disabled:dark:text-text-muted-dark text-text-light dark:text-text-dark",
|
|
@@ -1416,149 +3858,150 @@ const Nn = ({ children: e, disabled: t, name: r, value: n, ...a }, o) => /* @__P
|
|
|
1416
3858
|
children: e
|
|
1417
3859
|
}
|
|
1418
3860
|
)
|
|
1419
|
-
] }),
|
|
1420
|
-
|
|
1421
|
-
const
|
|
1422
|
-
const
|
|
1423
|
-
|
|
3861
|
+
] }), Ro = $(zo);
|
|
3862
|
+
Ro.displayName = "RadioSetItem";
|
|
3863
|
+
const fa = ({ ...e }) => /* @__PURE__ */ l("option", { ...e }), Bo = "_select_1dwiy_1";
|
|
3864
|
+
const jo = "appearance-none outline-none bg-transparent disabled:bg-gray-10 dark:disabled:bg-gray-40 rounded-1 border-solid border-small font-aktiv-grotesk text-16 leading-loose p-2 w-full mlb-0", Ao = "border-alert-light dark:border-alert-dark", Wo = "border-tertiary-light dark:border-tertiary-dark", Be = "text-text-muted-light dark:text-text-muted-dark", gt = b(
|
|
3865
|
+
Be,
|
|
1424
3866
|
"font-aktiv-grotesk font-medium text-13 absolute inline-start-2 block-start-2 pointer-events-none opacity-0 h-1.5"
|
|
1425
|
-
),
|
|
1426
|
-
var
|
|
1427
|
-
const
|
|
1428
|
-
|
|
1429
|
-
var
|
|
1430
|
-
|
|
1431
|
-
}, [
|
|
1432
|
-
const
|
|
1433
|
-
const
|
|
1434
|
-
return p ?
|
|
1435
|
-
}, [
|
|
1436
|
-
const
|
|
1437
|
-
return p ?
|
|
1438
|
-
}, [p]),
|
|
1439
|
-
var
|
|
1440
|
-
|
|
3867
|
+
), Go = "-translate-y-1 opacity-100", Do = "text-overlay-text dark:text-text-dark", Fo = "!pbs-3 !pbe-1", Ho = "absolute block-end-2 inline-end-1.5 leading-0 pointer-events-none text-text-muted-light dark:text-text-muted-dark", Vo = ({ children: e, className: t, disabled: r = !1, error: n, hint: o, label: a, name: i, onChange: s, value: d, ...c }, f) => {
|
|
3868
|
+
var P;
|
|
3869
|
+
const g = b(Bo, jo), v = F(null), m = Ge({ forwardedRef: f, innerRef: v }), [p, w] = q(Boolean(d || ((P = m == null ? void 0 : m.current) == null ? void 0 : P.value)));
|
|
3870
|
+
oe(() => {
|
|
3871
|
+
var S;
|
|
3872
|
+
w(Boolean(((S = m == null ? void 0 : m.current) == null ? void 0 : S.value) || d));
|
|
3873
|
+
}, [d, m]);
|
|
3874
|
+
const x = re(() => {
|
|
3875
|
+
const S = b(g, Do, a ? Fo : null), h = b(g, Be);
|
|
3876
|
+
return p ? S : h;
|
|
3877
|
+
}, [g, p, a]), I = re(() => {
|
|
3878
|
+
const S = b(gt, Go), h = b(gt);
|
|
3879
|
+
return p ? S : h;
|
|
3880
|
+
}, [p]), N = (S) => {
|
|
3881
|
+
var h;
|
|
3882
|
+
w(Boolean(((h = m == null ? void 0 : m.current) == null ? void 0 : h.value) || d)), s && s(S);
|
|
1441
3883
|
};
|
|
1442
|
-
return /* @__PURE__ */
|
|
1443
|
-
/* @__PURE__ */
|
|
1444
|
-
/* @__PURE__ */
|
|
3884
|
+
return /* @__PURE__ */ y("div", { className: b(t), children: [
|
|
3885
|
+
/* @__PURE__ */ y("div", { className: "relative w-full border-none", children: [
|
|
3886
|
+
/* @__PURE__ */ l(
|
|
1445
3887
|
"select",
|
|
1446
3888
|
{
|
|
1447
|
-
...
|
|
1448
|
-
className:
|
|
3889
|
+
...c,
|
|
3890
|
+
className: b([x, n ? Ao : Wo]),
|
|
1449
3891
|
disabled: r,
|
|
1450
|
-
id:
|
|
1451
|
-
name:
|
|
1452
|
-
onChange:
|
|
1453
|
-
ref:
|
|
1454
|
-
value:
|
|
3892
|
+
id: i,
|
|
3893
|
+
name: i,
|
|
3894
|
+
onChange: N,
|
|
3895
|
+
ref: m,
|
|
3896
|
+
value: d,
|
|
1455
3897
|
children: e
|
|
1456
3898
|
}
|
|
1457
3899
|
),
|
|
1458
|
-
/* @__PURE__ */
|
|
1459
|
-
/* @__PURE__ */
|
|
3900
|
+
/* @__PURE__ */ l("label", { className: I, htmlFor: i, children: a }),
|
|
3901
|
+
/* @__PURE__ */ l("div", { className: Ho, children: /* @__PURE__ */ l(yt, { size: "24" }) })
|
|
1460
3902
|
] }),
|
|
1461
|
-
n ||
|
|
1462
|
-
n ? /* @__PURE__ */
|
|
1463
|
-
|
|
3903
|
+
n || o ? /* @__PURE__ */ y("div", { className: "mbs-0.5", children: [
|
|
3904
|
+
n ? /* @__PURE__ */ l("p", { className: "text-alert-light dark:text-alert-dark text-13 m-0", children: n }) : null,
|
|
3905
|
+
o ? /* @__PURE__ */ l("p", { className: b(Be, "text-13 m-0"), children: o }) : null
|
|
1464
3906
|
] }) : null
|
|
1465
3907
|
] });
|
|
1466
|
-
},
|
|
1467
|
-
function
|
|
1468
|
-
return /* @__PURE__ */
|
|
1469
|
-
|
|
3908
|
+
}, pa = $(Vo);
|
|
3909
|
+
function ba({ active: e, children: t, component: r = "a", className: n, href: o }) {
|
|
3910
|
+
return /* @__PURE__ */ l(
|
|
3911
|
+
D,
|
|
1470
3912
|
{
|
|
1471
|
-
className:
|
|
3913
|
+
className: b(
|
|
1472
3914
|
"text-gray-50 whitespace-nowrap text-16 leading-loose mie-2",
|
|
1473
3915
|
e ? "font-bold underline decoration-yv-red decoration-2 underline-offset-8" : "text-text-muted-light dark:text-text-muted-dark",
|
|
1474
3916
|
n
|
|
1475
3917
|
),
|
|
1476
3918
|
component: r,
|
|
1477
|
-
href:
|
|
3919
|
+
href: o,
|
|
1478
3920
|
children: t
|
|
1479
3921
|
}
|
|
1480
3922
|
);
|
|
1481
3923
|
}
|
|
1482
|
-
const
|
|
3924
|
+
const Uo = {
|
|
3925
|
+
caution: "bg-yellow-10 dark:bg-yellow-50 text-yellow-40 dark:text-yellow-20",
|
|
1483
3926
|
default: "bg-gray-10 dark:bg-gray-40 text-light dark:text-dark",
|
|
1484
|
-
secondary: "bg-gray-10 dark:bg-gray-35 text-light dark:text-dark",
|
|
1485
3927
|
error: "bg-orange-10 dark:bg-orange-50 text-orange-40 dark:text-orange-20",
|
|
1486
3928
|
info: "bg-blue-10 dark:bg-blue-50 text-blue-40, dark:text-blue-20",
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
},
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
},
|
|
1493
|
-
const
|
|
1494
|
-
return /* @__PURE__ */
|
|
1495
|
-
},
|
|
1496
|
-
inputIcon:
|
|
1497
|
-
},
|
|
1498
|
-
/* @__PURE__ */
|
|
3929
|
+
secondary: "bg-gray-10 dark:bg-gray-35 text-light dark:text-dark",
|
|
3930
|
+
success: "bg-green-10, dark:bg-green-50 text-green-40 dark:text-green-20"
|
|
3931
|
+
}, _o = {
|
|
3932
|
+
lg: "text-16 w-fit rounded-0.5 plb-0.5 pli-1",
|
|
3933
|
+
sm: "text-11 w-fit rounded-0.5 plb-0.25 pli-0.5"
|
|
3934
|
+
}, ga = ({ message: e, variant: t = "default", size: r = "sm", className: n }) => {
|
|
3935
|
+
const o = Uo[t], a = _o[r];
|
|
3936
|
+
return /* @__PURE__ */ l(B, { className: b(o, a, n), children: /* @__PURE__ */ l(D, { children: e }) });
|
|
3937
|
+
}, qo = "_inputIcon_1pzdd_1", Zo = {
|
|
3938
|
+
inputIcon: qo
|
|
3939
|
+
}, Ko = ({ className: e, error: t, name: r, ...n }, o) => /* @__PURE__ */ y(Ie, { children: [
|
|
3940
|
+
/* @__PURE__ */ l(
|
|
1499
3941
|
"input",
|
|
1500
3942
|
{
|
|
1501
|
-
className:
|
|
3943
|
+
className: b([
|
|
1502
3944
|
"rounded-1 text-black dark:text-white p-2 border-small border-tertiary-light dark:border-tertiary-dark hover:cursor-pointer bg-transparent disabled:bg-gray-10 disabled:dark:bg-gray-40 disabled:cursor-auto h-[58px]",
|
|
1503
|
-
|
|
3945
|
+
Zo.inputIcon,
|
|
1504
3946
|
e
|
|
1505
3947
|
]),
|
|
1506
3948
|
id: r,
|
|
1507
3949
|
name: r,
|
|
1508
|
-
ref:
|
|
3950
|
+
ref: o,
|
|
1509
3951
|
role: "textbox",
|
|
1510
3952
|
type: "time",
|
|
1511
3953
|
...n
|
|
1512
3954
|
}
|
|
1513
3955
|
),
|
|
1514
|
-
t ? /* @__PURE__ */
|
|
1515
|
-
] }),
|
|
1516
|
-
|
|
1517
|
-
const
|
|
1518
|
-
tooltipWrapper:
|
|
1519
|
-
tooltipContent:
|
|
1520
|
-
},
|
|
3956
|
+
t ? /* @__PURE__ */ l("div", { className: "text-alert-light dark:text-alert-dark text-13", children: t }) : null
|
|
3957
|
+
] }), Xo = $(Ko);
|
|
3958
|
+
Xo.displayName = "TimePicker";
|
|
3959
|
+
const Jo = "_tooltipWrapper_qu88w_1", Qo = "_tooltipContent_qu88w_18", mt = {
|
|
3960
|
+
tooltipWrapper: Jo,
|
|
3961
|
+
tooltipContent: Qo
|
|
3962
|
+
}, ma = ({ content: e, className: t, ...r }) => /* @__PURE__ */ l("div", { className: b(mt.tooltipWrapper, t), ...r, children: /* @__PURE__ */ l("span", { className: mt.tooltipContent, children: e }) });
|
|
1521
3963
|
export {
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
3964
|
+
Qr as AutocompleteSelect,
|
|
3965
|
+
B as Box,
|
|
3966
|
+
en as Breadcrumb,
|
|
3967
|
+
fn as Breadcrumbs,
|
|
3968
|
+
$e as Button,
|
|
3969
|
+
pn as ButtonComponent,
|
|
3970
|
+
gn as Checkbox,
|
|
3971
|
+
En as Dialog,
|
|
3972
|
+
oa as Divider,
|
|
3973
|
+
Wt as FocusTrap,
|
|
3974
|
+
Dt as Heading,
|
|
3975
|
+
aa as HorizontalLoader,
|
|
3976
|
+
Gt as IconButton,
|
|
3977
|
+
Ln as IconLinkButton,
|
|
3978
|
+
io as ImageUpload,
|
|
3979
|
+
Et as Input,
|
|
3980
|
+
lo as LinkButton,
|
|
3981
|
+
so as LinkButtonComponent,
|
|
3982
|
+
Pt as List,
|
|
3983
|
+
Te as ListItem,
|
|
3984
|
+
ia as ListItemActions,
|
|
3985
|
+
sa as ListItemContent,
|
|
3986
|
+
la as ListItemText,
|
|
3987
|
+
fa as Option,
|
|
3988
|
+
da as Popover,
|
|
3989
|
+
ca as PopoverBody,
|
|
3990
|
+
ua as PopoverTrigger,
|
|
3991
|
+
To as RadioSet,
|
|
3992
|
+
Ro as RadioSetItem,
|
|
3993
|
+
pa as Select,
|
|
3994
|
+
ba as Tab,
|
|
3995
|
+
ga as Tag,
|
|
3996
|
+
D as Text,
|
|
3997
|
+
Xo as TimePicker,
|
|
3998
|
+
ma as Tooltip,
|
|
3999
|
+
na as buttonSizeOptions,
|
|
4000
|
+
b as cn,
|
|
4001
|
+
Bt as defaultButtonClasses,
|
|
4002
|
+
Rt as determineSizeClasses,
|
|
4003
|
+
ke as iconSizes,
|
|
4004
|
+
Ge as useCombinedRefs,
|
|
4005
|
+
qr as useLockBodyScroll,
|
|
4006
|
+
Ee as variantClasses
|
|
1564
4007
|
};
|