orange-core-ui 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion.d.ts +5 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +889 -793
- package/dist/index.js.map +1 -1
- package/dist/styles/globals.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { appendErrors as Le, useForm as
|
|
4
|
-
import { validateFieldsNatively as
|
|
1
|
+
import { jsx as i, jsxs as A } from "react/jsx-runtime";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { appendErrors as Le, useForm as Fe, FormProvider as Be, useFormContext as He, Controller as We } from "react-hook-form";
|
|
4
|
+
import { validateFieldsNatively as Ve, toNestErrors as Ue } from "@hookform/resolvers";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
6
|
+
import * as se from "@radix-ui/react-checkbox";
|
|
7
|
+
import * as D from "@radix-ui/react-radio-group";
|
|
8
|
+
import * as ne from "@radix-ui/react-switch";
|
|
9
9
|
import * as C from "@radix-ui/react-select";
|
|
10
10
|
import * as U from "@radix-ui/react-slider";
|
|
11
11
|
import * as G from "@radix-ui/react-tabs";
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
12
|
+
import * as E from "@radix-ui/react-accordion";
|
|
13
|
+
import * as _ from "@radix-ui/react-popover";
|
|
14
|
+
import * as O from "@radix-ui/react-tooltip";
|
|
15
|
+
import * as ie from "@radix-ui/react-progress";
|
|
16
16
|
import * as Ne from "@radix-ui/react-separator";
|
|
17
17
|
const u = {
|
|
18
18
|
// Orange
|
|
@@ -111,7 +111,7 @@ const u = {
|
|
|
111
111
|
// #fc0
|
|
112
112
|
red: u.fire[200]
|
|
113
113
|
// #cd3c14
|
|
114
|
-
},
|
|
114
|
+
}, $e = {
|
|
115
115
|
blue: u.blue[300],
|
|
116
116
|
// #4bb4e6
|
|
117
117
|
yellow: u.yellow[300],
|
|
@@ -124,7 +124,7 @@ const u = {
|
|
|
124
124
|
// #ffb4e6
|
|
125
125
|
orange: u.orange[100]
|
|
126
126
|
// #ff7900
|
|
127
|
-
},
|
|
127
|
+
}, Ce = {
|
|
128
128
|
primary: u.orange[200],
|
|
129
129
|
// #f16e00
|
|
130
130
|
secondary: u.black[900],
|
|
@@ -141,7 +141,7 @@ const u = {
|
|
|
141
141
|
// #999
|
|
142
142
|
dark: u.black[900]
|
|
143
143
|
// #000
|
|
144
|
-
},
|
|
144
|
+
}, Re = {
|
|
145
145
|
100: "#fafafa",
|
|
146
146
|
200: u.gray[200],
|
|
147
147
|
// #eee
|
|
@@ -161,7 +161,7 @@ const u = {
|
|
|
161
161
|
// #141414
|
|
162
162
|
950: u.gray[900]
|
|
163
163
|
// #141414
|
|
164
|
-
},
|
|
164
|
+
}, De = {
|
|
165
165
|
white: u.white[100],
|
|
166
166
|
black: u.black[900],
|
|
167
167
|
body: {
|
|
@@ -170,26 +170,26 @@ const u = {
|
|
|
170
170
|
secondaryColor: u.gray[700],
|
|
171
171
|
secondaryBg: u.gray[300],
|
|
172
172
|
tertiaryColor: u.gray[500],
|
|
173
|
-
tertiaryBg:
|
|
173
|
+
tertiaryBg: Re[100],
|
|
174
174
|
emphasisColor: u.black[900]
|
|
175
175
|
},
|
|
176
176
|
link: {
|
|
177
177
|
color: u.black[900],
|
|
178
|
-
hoverColor:
|
|
178
|
+
hoverColor: Ce.primary
|
|
179
179
|
},
|
|
180
180
|
border: {
|
|
181
181
|
color: u.black[900],
|
|
182
182
|
colorSubtle: u.gray[500],
|
|
183
183
|
colorTranslucent: "rgba(0, 0, 0, 0.175)"
|
|
184
184
|
}
|
|
185
|
-
},
|
|
185
|
+
}, _e = {
|
|
186
186
|
...u,
|
|
187
187
|
functional: $,
|
|
188
|
-
supporting:
|
|
189
|
-
theme:
|
|
190
|
-
gray:
|
|
191
|
-
semantic:
|
|
192
|
-
},
|
|
188
|
+
supporting: $e,
|
|
189
|
+
theme: Ce,
|
|
190
|
+
gray: Re,
|
|
191
|
+
semantic: De
|
|
192
|
+
}, Oe = "1.25rem", qe = {
|
|
193
193
|
0: "0",
|
|
194
194
|
1: "0.3125rem",
|
|
195
195
|
// spacer * 0.25 = 5px
|
|
@@ -201,12 +201,12 @@ const u = {
|
|
|
201
201
|
// spacer * 1.5 = 30px
|
|
202
202
|
5: "3.75rem"
|
|
203
203
|
// spacer * 3 = 60px
|
|
204
|
-
},
|
|
204
|
+
}, Xe = "2.75rem", Se = Oe, Je = Se, Ze = {
|
|
205
205
|
...qe,
|
|
206
|
-
targetSize:
|
|
207
|
-
gridGutter:
|
|
208
|
-
containerPadding:
|
|
209
|
-
},
|
|
206
|
+
targetSize: Xe,
|
|
207
|
+
gridGutter: Se,
|
|
208
|
+
containerPadding: Je
|
|
209
|
+
}, he = {
|
|
210
210
|
sansSerif: [
|
|
211
211
|
"HelvNeueOrange",
|
|
212
212
|
"Helvetica Neue",
|
|
@@ -240,7 +240,7 @@ const u = {
|
|
|
240
240
|
// 18px (base * 1.125)
|
|
241
241
|
xlg: "1.25rem"
|
|
242
242
|
// 20px (base * 1.25)
|
|
243
|
-
},
|
|
243
|
+
}, ze = {
|
|
244
244
|
h1: "2.125rem",
|
|
245
245
|
// 34px (base * 2.125)
|
|
246
246
|
h2: "1.875rem",
|
|
@@ -253,17 +253,17 @@ const u = {
|
|
|
253
253
|
// 18px
|
|
254
254
|
h6: Z.base
|
|
255
255
|
// 16px
|
|
256
|
-
},
|
|
256
|
+
}, Ke = {
|
|
257
257
|
display1: "3.75rem",
|
|
258
258
|
// 60px (xlg * 3)
|
|
259
259
|
display2: "3.125rem",
|
|
260
260
|
// 50px (xlg * 2.5)
|
|
261
261
|
display3: "2.5rem",
|
|
262
262
|
// 40px (xlg * 2)
|
|
263
|
-
display4:
|
|
263
|
+
display4: ze.h1
|
|
264
264
|
// 34px
|
|
265
|
-
},
|
|
266
|
-
base:
|
|
265
|
+
}, xe = "calc(18 / 16)", ve = "1", Qe = {
|
|
266
|
+
base: xe,
|
|
267
267
|
sm: "calc(16 / 14)",
|
|
268
268
|
// ~1.143
|
|
269
269
|
lg: "calc(30 / 16)",
|
|
@@ -277,12 +277,12 @@ const u = {
|
|
|
277
277
|
// 1.1
|
|
278
278
|
h5: "calc(20 / 18)",
|
|
279
279
|
// ~1.111
|
|
280
|
-
h6:
|
|
280
|
+
h6: xe,
|
|
281
281
|
display: ve,
|
|
282
282
|
lead: "1.5"
|
|
283
|
-
},
|
|
284
|
-
base:
|
|
285
|
-
h1:
|
|
283
|
+
}, ye = "-0.00625rem", oe = "-0.0625rem", Ye = {
|
|
284
|
+
base: ye,
|
|
285
|
+
h1: oe,
|
|
286
286
|
h2: "-0.05rem",
|
|
287
287
|
// -0.8px (base * 8)
|
|
288
288
|
mid: "-0.0375rem",
|
|
@@ -293,36 +293,36 @@ const u = {
|
|
|
293
293
|
// -0.4px (base * 4)
|
|
294
294
|
h5: "-0.0125rem",
|
|
295
295
|
// -0.2px (base * 2)
|
|
296
|
-
h6:
|
|
296
|
+
h6: ye,
|
|
297
297
|
display1: "-0.125rem",
|
|
298
298
|
// -2px (base * 20)
|
|
299
299
|
display2: "-0.1rem",
|
|
300
300
|
// -1.6px (base * 16)
|
|
301
|
-
display3:
|
|
302
|
-
display4:
|
|
301
|
+
display3: oe,
|
|
302
|
+
display4: oe,
|
|
303
303
|
lead: "-0.025rem"
|
|
304
304
|
// -0.4px (base * 4)
|
|
305
|
-
},
|
|
305
|
+
}, er = {
|
|
306
306
|
light: "300",
|
|
307
307
|
normal: "400",
|
|
308
308
|
medium: "500",
|
|
309
309
|
semibold: "600",
|
|
310
310
|
bold: "700"
|
|
311
|
-
},
|
|
311
|
+
}, rr = {
|
|
312
312
|
fontFamily: {
|
|
313
|
-
sans:
|
|
314
|
-
mono:
|
|
313
|
+
sans: he.sansSerif,
|
|
314
|
+
mono: he.monospace
|
|
315
315
|
},
|
|
316
316
|
fontSize: Z,
|
|
317
|
-
heading:
|
|
318
|
-
display:
|
|
319
|
-
lineHeight:
|
|
320
|
-
letterSpacing:
|
|
321
|
-
fontWeight:
|
|
322
|
-
},
|
|
317
|
+
heading: ze,
|
|
318
|
+
display: Ke,
|
|
319
|
+
lineHeight: Qe,
|
|
320
|
+
letterSpacing: Ye,
|
|
321
|
+
fontWeight: er
|
|
322
|
+
}, Ie = "0.125rem", tr = {
|
|
323
323
|
1: "0.0625rem",
|
|
324
324
|
// 1px (width * 0.5)
|
|
325
|
-
2:
|
|
325
|
+
2: Ie,
|
|
326
326
|
// 2px
|
|
327
327
|
3: "0.1875rem",
|
|
328
328
|
// 3px (width * 1.5)
|
|
@@ -330,7 +330,7 @@ const u = {
|
|
|
330
330
|
// 4px (width * 2)
|
|
331
331
|
5: "0.3125rem"
|
|
332
332
|
// 5px (width * 2.5)
|
|
333
|
-
},
|
|
333
|
+
}, or = "solid", ar = {
|
|
334
334
|
none: "0",
|
|
335
335
|
sm: "0.25rem",
|
|
336
336
|
// 4px
|
|
@@ -344,19 +344,19 @@ const u = {
|
|
|
344
344
|
// 32px
|
|
345
345
|
pill: "50rem"
|
|
346
346
|
// Very large for pill shape
|
|
347
|
-
},
|
|
347
|
+
}, sr = {
|
|
348
348
|
default: "#000",
|
|
349
349
|
// black
|
|
350
350
|
subtle: "#999",
|
|
351
351
|
// gray-500
|
|
352
352
|
translucent: "rgba(0, 0, 0, 0.175)"
|
|
353
|
-
},
|
|
354
|
-
width:
|
|
355
|
-
widths:
|
|
356
|
-
style:
|
|
357
|
-
radius:
|
|
358
|
-
color:
|
|
359
|
-
},
|
|
353
|
+
}, nr = {
|
|
354
|
+
width: Ie,
|
|
355
|
+
widths: tr,
|
|
356
|
+
style: or,
|
|
357
|
+
radius: ar,
|
|
358
|
+
color: sr
|
|
359
|
+
}, ir = {
|
|
360
360
|
none: "none",
|
|
361
361
|
sm: null,
|
|
362
362
|
// No small shadow in Boosted
|
|
@@ -366,38 +366,38 @@ const u = {
|
|
|
366
366
|
// No large shadow in Boosted
|
|
367
367
|
inset: null
|
|
368
368
|
// No inset shadow in Boosted
|
|
369
|
-
},
|
|
369
|
+
}, lr = ir, cr = {
|
|
370
370
|
xs: "0",
|
|
371
371
|
sm: "480px",
|
|
372
372
|
md: "768px",
|
|
373
373
|
lg: "1024px",
|
|
374
374
|
xl: "1280px",
|
|
375
375
|
xxl: "1440px"
|
|
376
|
-
},
|
|
376
|
+
}, dr = {
|
|
377
377
|
xs: "312px",
|
|
378
378
|
sm: "468px",
|
|
379
379
|
md: "744px",
|
|
380
380
|
lg: "960px",
|
|
381
381
|
xl: "1200px",
|
|
382
382
|
xxl: "1320px"
|
|
383
|
-
},
|
|
383
|
+
}, br = {
|
|
384
384
|
xs: "4px",
|
|
385
385
|
sm: "6px",
|
|
386
386
|
md: "12px",
|
|
387
387
|
lg: "32px",
|
|
388
388
|
xl: "40px",
|
|
389
389
|
xxl: "60px"
|
|
390
|
-
},
|
|
391
|
-
breakpoints:
|
|
392
|
-
containerMaxWidths:
|
|
393
|
-
containerFluidMargins:
|
|
394
|
-
},
|
|
395
|
-
colors:
|
|
396
|
-
spacing:
|
|
397
|
-
typography:
|
|
398
|
-
borders:
|
|
399
|
-
shadows:
|
|
400
|
-
responsive:
|
|
390
|
+
}, pr = {
|
|
391
|
+
breakpoints: cr,
|
|
392
|
+
containerMaxWidths: dr,
|
|
393
|
+
containerFluidMargins: br
|
|
394
|
+
}, ro = {
|
|
395
|
+
colors: _e,
|
|
396
|
+
spacing: Ze,
|
|
397
|
+
typography: rr,
|
|
398
|
+
borders: nr,
|
|
399
|
+
shadows: lr,
|
|
400
|
+
responsive: pr
|
|
401
401
|
};
|
|
402
402
|
function Me(e) {
|
|
403
403
|
var r, t, o = "";
|
|
@@ -408,45 +408,45 @@ function Me(e) {
|
|
|
408
408
|
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
409
409
|
return o;
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function gr() {
|
|
412
412
|
for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = Me(e)) && (o && (o += " "), o += r);
|
|
413
413
|
return o;
|
|
414
414
|
}
|
|
415
|
-
const
|
|
416
|
-
const r =
|
|
415
|
+
const ce = "-", mr = (e) => {
|
|
416
|
+
const r = fr(e), {
|
|
417
417
|
conflictingClassGroups: t,
|
|
418
418
|
conflictingClassGroupModifiers: o
|
|
419
419
|
} = e;
|
|
420
420
|
return {
|
|
421
|
-
getClassGroupId: (
|
|
422
|
-
const l =
|
|
423
|
-
return l[0] === "" && l.length !== 1 && l.shift(),
|
|
421
|
+
getClassGroupId: (n) => {
|
|
422
|
+
const l = n.split(ce);
|
|
423
|
+
return l[0] === "" && l.length !== 1 && l.shift(), Ae(l, r) || ur(n);
|
|
424
424
|
},
|
|
425
|
-
getConflictingClassGroupIds: (
|
|
426
|
-
const b = t[
|
|
427
|
-
return l && o[
|
|
425
|
+
getConflictingClassGroupIds: (n, l) => {
|
|
426
|
+
const b = t[n] || [];
|
|
427
|
+
return l && o[n] ? [...b, ...o[n]] : b;
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
|
-
},
|
|
431
|
-
var
|
|
430
|
+
}, Ae = (e, r) => {
|
|
431
|
+
var n;
|
|
432
432
|
if (e.length === 0)
|
|
433
433
|
return r.classGroupId;
|
|
434
|
-
const t = e[0], o = r.nextPart.get(t), a = o ?
|
|
434
|
+
const t = e[0], o = r.nextPart.get(t), a = o ? Ae(e.slice(1), o) : void 0;
|
|
435
435
|
if (a)
|
|
436
436
|
return a;
|
|
437
437
|
if (r.validators.length === 0)
|
|
438
438
|
return;
|
|
439
|
-
const s = e.join(
|
|
440
|
-
return (
|
|
439
|
+
const s = e.join(ce);
|
|
440
|
+
return (n = r.validators.find(({
|
|
441
441
|
validator: l
|
|
442
|
-
}) => l(s))) == null ? void 0 :
|
|
443
|
-
},
|
|
444
|
-
if (
|
|
445
|
-
const r =
|
|
442
|
+
}) => l(s))) == null ? void 0 : n.classGroupId;
|
|
443
|
+
}, we = /^\[(.+)\]$/, ur = (e) => {
|
|
444
|
+
if (we.test(e)) {
|
|
445
|
+
const r = we.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
446
446
|
if (t)
|
|
447
447
|
return "arbitrary.." + t;
|
|
448
448
|
}
|
|
449
|
-
},
|
|
449
|
+
}, fr = (e) => {
|
|
450
450
|
const {
|
|
451
451
|
theme: r,
|
|
452
452
|
prefix: t
|
|
@@ -454,19 +454,19 @@ const le = "-", pr = (e) => {
|
|
|
454
454
|
nextPart: /* @__PURE__ */ new Map(),
|
|
455
455
|
validators: []
|
|
456
456
|
};
|
|
457
|
-
return
|
|
458
|
-
|
|
457
|
+
return xr(Object.entries(e.classGroups), t).forEach(([s, n]) => {
|
|
458
|
+
le(n, o, s, r);
|
|
459
459
|
}), o;
|
|
460
|
-
},
|
|
460
|
+
}, le = (e, r, t, o) => {
|
|
461
461
|
e.forEach((a) => {
|
|
462
462
|
if (typeof a == "string") {
|
|
463
|
-
const s = a === "" ? r :
|
|
463
|
+
const s = a === "" ? r : ke(r, a);
|
|
464
464
|
s.classGroupId = t;
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
467
|
if (typeof a == "function") {
|
|
468
|
-
if (
|
|
469
|
-
|
|
468
|
+
if (hr(a)) {
|
|
469
|
+
le(a(o), r, t, o);
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
472
|
r.validators.push({
|
|
@@ -475,22 +475,22 @@ const le = "-", pr = (e) => {
|
|
|
475
475
|
});
|
|
476
476
|
return;
|
|
477
477
|
}
|
|
478
|
-
Object.entries(a).forEach(([s,
|
|
479
|
-
|
|
478
|
+
Object.entries(a).forEach(([s, n]) => {
|
|
479
|
+
le(n, ke(r, s), t, o);
|
|
480
480
|
});
|
|
481
481
|
});
|
|
482
|
-
},
|
|
482
|
+
}, ke = (e, r) => {
|
|
483
483
|
let t = e;
|
|
484
|
-
return r.split(
|
|
484
|
+
return r.split(ce).forEach((o) => {
|
|
485
485
|
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
486
486
|
nextPart: /* @__PURE__ */ new Map(),
|
|
487
487
|
validators: []
|
|
488
488
|
}), t = t.nextPart.get(o);
|
|
489
489
|
}), t;
|
|
490
|
-
},
|
|
491
|
-
const a = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([
|
|
490
|
+
}, hr = (e) => e.isThemeGetter, xr = (e, r) => r ? e.map(([t, o]) => {
|
|
491
|
+
const a = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([n, l]) => [r + n, l])) : s);
|
|
492
492
|
return [t, a];
|
|
493
|
-
}) : e,
|
|
493
|
+
}) : e, vr = (e) => {
|
|
494
494
|
if (e < 1)
|
|
495
495
|
return {
|
|
496
496
|
get: () => {
|
|
@@ -499,55 +499,55 @@ const le = "-", pr = (e) => {
|
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
502
|
-
const a = (s,
|
|
503
|
-
t.set(s,
|
|
502
|
+
const a = (s, n) => {
|
|
503
|
+
t.set(s, n), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
504
504
|
};
|
|
505
505
|
return {
|
|
506
506
|
get(s) {
|
|
507
|
-
let
|
|
508
|
-
if (
|
|
509
|
-
return
|
|
510
|
-
if ((
|
|
511
|
-
return a(s,
|
|
507
|
+
let n = t.get(s);
|
|
508
|
+
if (n !== void 0)
|
|
509
|
+
return n;
|
|
510
|
+
if ((n = o.get(s)) !== void 0)
|
|
511
|
+
return a(s, n), n;
|
|
512
512
|
},
|
|
513
|
-
set(s,
|
|
514
|
-
t.has(s) ? t.set(s,
|
|
513
|
+
set(s, n) {
|
|
514
|
+
t.has(s) ? t.set(s, n) : a(s, n);
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
}, Te = "!",
|
|
517
|
+
}, Te = "!", yr = (e) => {
|
|
518
518
|
const {
|
|
519
519
|
separator: r,
|
|
520
520
|
experimentalParseClassName: t
|
|
521
|
-
} = e, o = r.length === 1, a = r[0], s = r.length,
|
|
521
|
+
} = e, o = r.length === 1, a = r[0], s = r.length, n = (l) => {
|
|
522
522
|
const b = [];
|
|
523
|
-
let
|
|
524
|
-
for (let
|
|
525
|
-
let
|
|
526
|
-
if (
|
|
527
|
-
if (
|
|
528
|
-
b.push(l.slice(
|
|
523
|
+
let p = 0, g = 0, h;
|
|
524
|
+
for (let w = 0; w < l.length; w++) {
|
|
525
|
+
let N = l[w];
|
|
526
|
+
if (p === 0) {
|
|
527
|
+
if (N === a && (o || l.slice(w, w + s) === r)) {
|
|
528
|
+
b.push(l.slice(g, w)), g = w + s;
|
|
529
529
|
continue;
|
|
530
530
|
}
|
|
531
|
-
if (
|
|
532
|
-
|
|
531
|
+
if (N === "/") {
|
|
532
|
+
h = w;
|
|
533
533
|
continue;
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
|
|
536
|
+
N === "[" ? p++ : N === "]" && p--;
|
|
537
537
|
}
|
|
538
|
-
const
|
|
538
|
+
const f = b.length === 0 ? l : l.substring(g), y = f.startsWith(Te), R = y ? f.substring(1) : f, k = h && h > g ? h - g : void 0;
|
|
539
539
|
return {
|
|
540
540
|
modifiers: b,
|
|
541
|
-
hasImportantModifier:
|
|
541
|
+
hasImportantModifier: y,
|
|
542
542
|
baseClassName: R,
|
|
543
|
-
maybePostfixModifierPosition:
|
|
543
|
+
maybePostfixModifierPosition: k
|
|
544
544
|
};
|
|
545
545
|
};
|
|
546
546
|
return t ? (l) => t({
|
|
547
547
|
className: l,
|
|
548
|
-
parseClassName:
|
|
549
|
-
}) :
|
|
550
|
-
},
|
|
548
|
+
parseClassName: n
|
|
549
|
+
}) : n;
|
|
550
|
+
}, wr = (e) => {
|
|
551
551
|
if (e.length <= 1)
|
|
552
552
|
return e;
|
|
553
553
|
const r = [];
|
|
@@ -555,122 +555,122 @@ const le = "-", pr = (e) => {
|
|
|
555
555
|
return e.forEach((o) => {
|
|
556
556
|
o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
|
|
557
557
|
}), r.push(...t.sort()), r;
|
|
558
|
-
},
|
|
559
|
-
cache:
|
|
560
|
-
parseClassName:
|
|
561
|
-
...
|
|
562
|
-
}),
|
|
558
|
+
}, kr = (e) => ({
|
|
559
|
+
cache: vr(e.cacheSize),
|
|
560
|
+
parseClassName: yr(e),
|
|
561
|
+
...mr(e)
|
|
562
|
+
}), Nr = /\s+/, Cr = (e, r) => {
|
|
563
563
|
const {
|
|
564
564
|
parseClassName: t,
|
|
565
565
|
getClassGroupId: o,
|
|
566
566
|
getConflictingClassGroupIds: a
|
|
567
|
-
} = r, s = [],
|
|
567
|
+
} = r, s = [], n = e.trim().split(Nr);
|
|
568
568
|
let l = "";
|
|
569
|
-
for (let b =
|
|
570
|
-
const
|
|
571
|
-
modifiers:
|
|
572
|
-
hasImportantModifier:
|
|
573
|
-
baseClassName:
|
|
574
|
-
maybePostfixModifierPosition:
|
|
575
|
-
} = t(
|
|
576
|
-
let R = !!
|
|
577
|
-
if (!
|
|
569
|
+
for (let b = n.length - 1; b >= 0; b -= 1) {
|
|
570
|
+
const p = n[b], {
|
|
571
|
+
modifiers: g,
|
|
572
|
+
hasImportantModifier: h,
|
|
573
|
+
baseClassName: f,
|
|
574
|
+
maybePostfixModifierPosition: y
|
|
575
|
+
} = t(p);
|
|
576
|
+
let R = !!y, k = o(R ? f.substring(0, y) : f);
|
|
577
|
+
if (!k) {
|
|
578
578
|
if (!R) {
|
|
579
|
-
l =
|
|
579
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
580
580
|
continue;
|
|
581
581
|
}
|
|
582
|
-
if (
|
|
583
|
-
l =
|
|
582
|
+
if (k = o(f), !k) {
|
|
583
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
584
584
|
continue;
|
|
585
585
|
}
|
|
586
586
|
R = !1;
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const w = wr(g).join(":"), N = h ? w + Te : w, S = N + k;
|
|
589
589
|
if (s.includes(S))
|
|
590
590
|
continue;
|
|
591
591
|
s.push(S);
|
|
592
|
-
const
|
|
593
|
-
for (let j = 0; j <
|
|
594
|
-
const
|
|
595
|
-
s.push(
|
|
592
|
+
const B = a(k, R);
|
|
593
|
+
for (let j = 0; j < B.length; ++j) {
|
|
594
|
+
const q = B[j];
|
|
595
|
+
s.push(N + q);
|
|
596
596
|
}
|
|
597
|
-
l =
|
|
597
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
598
598
|
}
|
|
599
599
|
return l;
|
|
600
600
|
};
|
|
601
|
-
function
|
|
601
|
+
function Rr() {
|
|
602
602
|
let e = 0, r, t, o = "";
|
|
603
603
|
for (; e < arguments.length; )
|
|
604
|
-
(r = arguments[e++]) && (t =
|
|
604
|
+
(r = arguments[e++]) && (t = Pe(r)) && (o && (o += " "), o += t);
|
|
605
605
|
return o;
|
|
606
606
|
}
|
|
607
|
-
const
|
|
607
|
+
const Pe = (e) => {
|
|
608
608
|
if (typeof e == "string")
|
|
609
609
|
return e;
|
|
610
610
|
let r, t = "";
|
|
611
611
|
for (let o = 0; o < e.length; o++)
|
|
612
|
-
e[o] && (r =
|
|
612
|
+
e[o] && (r = Pe(e[o])) && (t && (t += " "), t += r);
|
|
613
613
|
return t;
|
|
614
614
|
};
|
|
615
|
-
function
|
|
616
|
-
let t, o, a, s =
|
|
617
|
-
function
|
|
618
|
-
const
|
|
619
|
-
return t =
|
|
615
|
+
function Sr(e, ...r) {
|
|
616
|
+
let t, o, a, s = n;
|
|
617
|
+
function n(b) {
|
|
618
|
+
const p = r.reduce((g, h) => h(g), e());
|
|
619
|
+
return t = kr(p), o = t.cache.get, a = t.cache.set, s = l, l(b);
|
|
620
620
|
}
|
|
621
621
|
function l(b) {
|
|
622
|
-
const
|
|
623
|
-
if (
|
|
624
|
-
return
|
|
625
|
-
const
|
|
626
|
-
return a(b,
|
|
622
|
+
const p = o(b);
|
|
623
|
+
if (p)
|
|
624
|
+
return p;
|
|
625
|
+
const g = Cr(b, t);
|
|
626
|
+
return a(b, g), g;
|
|
627
627
|
}
|
|
628
628
|
return function() {
|
|
629
|
-
return s(
|
|
629
|
+
return s(Rr.apply(null, arguments));
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
const
|
|
632
|
+
const x = (e) => {
|
|
633
633
|
const r = (t) => t[e] || [];
|
|
634
634
|
return r.isThemeGetter = !0, r;
|
|
635
|
-
},
|
|
636
|
-
const o =
|
|
635
|
+
}, je = /^\[(?:([a-z-]+):)?(.+)\]$/i, zr = /^\d+\/\d+$/, Ir = /* @__PURE__ */ new Set(["px", "full", "screen"]), Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ar = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Tr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Pr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, jr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, M = (e) => L(e) || Ir.has(e) || zr.test(e), T = (e) => F(e, "length", Vr), L = (e) => !!e && !Number.isNaN(Number(e)), ae = (e) => F(e, "number", L), W = (e) => !!e && Number.isInteger(Number(e)), Er = (e) => e.endsWith("%") && L(e.slice(0, -1)), m = (e) => je.test(e), P = (e) => Mr.test(e), Gr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Lr = (e) => F(e, Gr, Ee), Fr = (e) => F(e, "position", Ee), Br = /* @__PURE__ */ new Set(["image", "url"]), Hr = (e) => F(e, Br, $r), Wr = (e) => F(e, "", Ur), V = () => !0, F = (e, r, t) => {
|
|
636
|
+
const o = je.exec(e);
|
|
637
637
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
638
|
-
},
|
|
638
|
+
}, Vr = (e) => (
|
|
639
639
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
640
640
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
641
641
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
642
|
-
|
|
643
|
-
),
|
|
644
|
-
const e =
|
|
642
|
+
Ar.test(e) && !Tr.test(e)
|
|
643
|
+
), Ee = () => !1, Ur = (e) => Pr.test(e), $r = (e) => jr.test(e), Dr = () => {
|
|
644
|
+
const e = x("colors"), r = x("spacing"), t = x("blur"), o = x("brightness"), a = x("borderColor"), s = x("borderRadius"), n = x("borderSpacing"), l = x("borderWidth"), b = x("contrast"), p = x("grayscale"), g = x("hueRotate"), h = x("invert"), f = x("gap"), y = x("gradientColorStops"), R = x("gradientColorStopPositions"), k = x("inset"), w = x("margin"), N = x("opacity"), S = x("padding"), B = x("saturate"), j = x("scale"), q = x("sepia"), de = x("skew"), be = x("space"), pe = x("translate"), Y = () => ["auto", "contain", "none"], ee = () => ["auto", "hidden", "clip", "visible", "scroll"], re = () => ["auto", m, r], v = () => [m, r], ge = () => ["", M, T], X = () => ["auto", L, m], me = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], J = () => ["solid", "dashed", "dotted", "double", "none"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], H = () => ["", "0", m], fe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [L, m];
|
|
645
645
|
return {
|
|
646
646
|
cacheSize: 500,
|
|
647
647
|
separator: ":",
|
|
648
648
|
theme: {
|
|
649
649
|
colors: [V],
|
|
650
|
-
spacing: [
|
|
650
|
+
spacing: [M, T],
|
|
651
651
|
blur: ["none", "", P, m],
|
|
652
|
-
brightness:
|
|
652
|
+
brightness: I(),
|
|
653
653
|
borderColor: [e],
|
|
654
654
|
borderRadius: ["none", "", "full", P, m],
|
|
655
|
-
borderSpacing:
|
|
656
|
-
borderWidth:
|
|
657
|
-
contrast:
|
|
658
|
-
grayscale:
|
|
659
|
-
hueRotate:
|
|
660
|
-
invert:
|
|
661
|
-
gap:
|
|
655
|
+
borderSpacing: v(),
|
|
656
|
+
borderWidth: ge(),
|
|
657
|
+
contrast: I(),
|
|
658
|
+
grayscale: H(),
|
|
659
|
+
hueRotate: I(),
|
|
660
|
+
invert: H(),
|
|
661
|
+
gap: v(),
|
|
662
662
|
gradientColorStops: [e],
|
|
663
|
-
gradientColorStopPositions: [
|
|
664
|
-
inset:
|
|
665
|
-
margin:
|
|
666
|
-
opacity:
|
|
667
|
-
padding:
|
|
668
|
-
saturate:
|
|
669
|
-
scale:
|
|
670
|
-
sepia:
|
|
671
|
-
skew:
|
|
672
|
-
space:
|
|
673
|
-
translate:
|
|
663
|
+
gradientColorStopPositions: [Er, T],
|
|
664
|
+
inset: re(),
|
|
665
|
+
margin: re(),
|
|
666
|
+
opacity: I(),
|
|
667
|
+
padding: v(),
|
|
668
|
+
saturate: I(),
|
|
669
|
+
scale: I(),
|
|
670
|
+
sepia: H(),
|
|
671
|
+
skew: I(),
|
|
672
|
+
space: v(),
|
|
673
|
+
translate: v()
|
|
674
674
|
},
|
|
675
675
|
classGroups: {
|
|
676
676
|
// Layout
|
|
@@ -698,14 +698,14 @@ const v = (e) => {
|
|
|
698
698
|
* @see https://tailwindcss.com/docs/break-after
|
|
699
699
|
*/
|
|
700
700
|
"break-after": [{
|
|
701
|
-
"break-after":
|
|
701
|
+
"break-after": fe()
|
|
702
702
|
}],
|
|
703
703
|
/**
|
|
704
704
|
* Break Before
|
|
705
705
|
* @see https://tailwindcss.com/docs/break-before
|
|
706
706
|
*/
|
|
707
707
|
"break-before": [{
|
|
708
|
-
"break-before":
|
|
708
|
+
"break-before": fe()
|
|
709
709
|
}],
|
|
710
710
|
/**
|
|
711
711
|
* Break Inside
|
|
@@ -771,42 +771,42 @@ const v = (e) => {
|
|
|
771
771
|
* @see https://tailwindcss.com/docs/overflow
|
|
772
772
|
*/
|
|
773
773
|
overflow: [{
|
|
774
|
-
overflow:
|
|
774
|
+
overflow: ee()
|
|
775
775
|
}],
|
|
776
776
|
/**
|
|
777
777
|
* Overflow X
|
|
778
778
|
* @see https://tailwindcss.com/docs/overflow
|
|
779
779
|
*/
|
|
780
780
|
"overflow-x": [{
|
|
781
|
-
"overflow-x":
|
|
781
|
+
"overflow-x": ee()
|
|
782
782
|
}],
|
|
783
783
|
/**
|
|
784
784
|
* Overflow Y
|
|
785
785
|
* @see https://tailwindcss.com/docs/overflow
|
|
786
786
|
*/
|
|
787
787
|
"overflow-y": [{
|
|
788
|
-
"overflow-y":
|
|
788
|
+
"overflow-y": ee()
|
|
789
789
|
}],
|
|
790
790
|
/**
|
|
791
791
|
* Overscroll Behavior
|
|
792
792
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
793
793
|
*/
|
|
794
794
|
overscroll: [{
|
|
795
|
-
overscroll:
|
|
795
|
+
overscroll: Y()
|
|
796
796
|
}],
|
|
797
797
|
/**
|
|
798
798
|
* Overscroll Behavior X
|
|
799
799
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
800
800
|
*/
|
|
801
801
|
"overscroll-x": [{
|
|
802
|
-
"overscroll-x":
|
|
802
|
+
"overscroll-x": Y()
|
|
803
803
|
}],
|
|
804
804
|
/**
|
|
805
805
|
* Overscroll Behavior Y
|
|
806
806
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
807
807
|
*/
|
|
808
808
|
"overscroll-y": [{
|
|
809
|
-
"overscroll-y":
|
|
809
|
+
"overscroll-y": Y()
|
|
810
810
|
}],
|
|
811
811
|
/**
|
|
812
812
|
* Position
|
|
@@ -818,63 +818,63 @@ const v = (e) => {
|
|
|
818
818
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
819
819
|
*/
|
|
820
820
|
inset: [{
|
|
821
|
-
inset: [
|
|
821
|
+
inset: [k]
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Right / Left
|
|
825
825
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
826
826
|
*/
|
|
827
827
|
"inset-x": [{
|
|
828
|
-
"inset-x": [
|
|
828
|
+
"inset-x": [k]
|
|
829
829
|
}],
|
|
830
830
|
/**
|
|
831
831
|
* Top / Bottom
|
|
832
832
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
833
833
|
*/
|
|
834
834
|
"inset-y": [{
|
|
835
|
-
"inset-y": [
|
|
835
|
+
"inset-y": [k]
|
|
836
836
|
}],
|
|
837
837
|
/**
|
|
838
838
|
* Start
|
|
839
839
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
840
840
|
*/
|
|
841
841
|
start: [{
|
|
842
|
-
start: [
|
|
842
|
+
start: [k]
|
|
843
843
|
}],
|
|
844
844
|
/**
|
|
845
845
|
* End
|
|
846
846
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
847
847
|
*/
|
|
848
848
|
end: [{
|
|
849
|
-
end: [
|
|
849
|
+
end: [k]
|
|
850
850
|
}],
|
|
851
851
|
/**
|
|
852
852
|
* Top
|
|
853
853
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
854
854
|
*/
|
|
855
855
|
top: [{
|
|
856
|
-
top: [
|
|
856
|
+
top: [k]
|
|
857
857
|
}],
|
|
858
858
|
/**
|
|
859
859
|
* Right
|
|
860
860
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
861
861
|
*/
|
|
862
862
|
right: [{
|
|
863
|
-
right: [
|
|
863
|
+
right: [k]
|
|
864
864
|
}],
|
|
865
865
|
/**
|
|
866
866
|
* Bottom
|
|
867
867
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
868
868
|
*/
|
|
869
869
|
bottom: [{
|
|
870
|
-
bottom: [
|
|
870
|
+
bottom: [k]
|
|
871
871
|
}],
|
|
872
872
|
/**
|
|
873
873
|
* Left
|
|
874
874
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
875
875
|
*/
|
|
876
876
|
left: [{
|
|
877
|
-
left: [
|
|
877
|
+
left: [k]
|
|
878
878
|
}],
|
|
879
879
|
/**
|
|
880
880
|
* Visibility
|
|
@@ -886,7 +886,7 @@ const v = (e) => {
|
|
|
886
886
|
* @see https://tailwindcss.com/docs/z-index
|
|
887
887
|
*/
|
|
888
888
|
z: [{
|
|
889
|
-
z: ["auto",
|
|
889
|
+
z: ["auto", W, m]
|
|
890
890
|
}],
|
|
891
891
|
// Flexbox and Grid
|
|
892
892
|
/**
|
|
@@ -894,7 +894,7 @@ const v = (e) => {
|
|
|
894
894
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
895
895
|
*/
|
|
896
896
|
basis: [{
|
|
897
|
-
basis:
|
|
897
|
+
basis: re()
|
|
898
898
|
}],
|
|
899
899
|
/**
|
|
900
900
|
* Flex Direction
|
|
@@ -922,21 +922,21 @@ const v = (e) => {
|
|
|
922
922
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
923
923
|
*/
|
|
924
924
|
grow: [{
|
|
925
|
-
grow:
|
|
925
|
+
grow: H()
|
|
926
926
|
}],
|
|
927
927
|
/**
|
|
928
928
|
* Flex Shrink
|
|
929
929
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
930
930
|
*/
|
|
931
931
|
shrink: [{
|
|
932
|
-
shrink:
|
|
932
|
+
shrink: H()
|
|
933
933
|
}],
|
|
934
934
|
/**
|
|
935
935
|
* Order
|
|
936
936
|
* @see https://tailwindcss.com/docs/order
|
|
937
937
|
*/
|
|
938
938
|
order: [{
|
|
939
|
-
order: ["first", "last", "none",
|
|
939
|
+
order: ["first", "last", "none", W, m]
|
|
940
940
|
}],
|
|
941
941
|
/**
|
|
942
942
|
* Grid Template Columns
|
|
@@ -951,7 +951,7 @@ const v = (e) => {
|
|
|
951
951
|
*/
|
|
952
952
|
"col-start-end": [{
|
|
953
953
|
col: ["auto", {
|
|
954
|
-
span: ["full",
|
|
954
|
+
span: ["full", W, m]
|
|
955
955
|
}, m]
|
|
956
956
|
}],
|
|
957
957
|
/**
|
|
@@ -981,7 +981,7 @@ const v = (e) => {
|
|
|
981
981
|
*/
|
|
982
982
|
"row-start-end": [{
|
|
983
983
|
row: ["auto", {
|
|
984
|
-
span: [
|
|
984
|
+
span: [W, m]
|
|
985
985
|
}, m]
|
|
986
986
|
}],
|
|
987
987
|
/**
|
|
@@ -1024,28 +1024,28 @@ const v = (e) => {
|
|
|
1024
1024
|
* @see https://tailwindcss.com/docs/gap
|
|
1025
1025
|
*/
|
|
1026
1026
|
gap: [{
|
|
1027
|
-
gap: [
|
|
1027
|
+
gap: [f]
|
|
1028
1028
|
}],
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Gap X
|
|
1031
1031
|
* @see https://tailwindcss.com/docs/gap
|
|
1032
1032
|
*/
|
|
1033
1033
|
"gap-x": [{
|
|
1034
|
-
"gap-x": [
|
|
1034
|
+
"gap-x": [f]
|
|
1035
1035
|
}],
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Gap Y
|
|
1038
1038
|
* @see https://tailwindcss.com/docs/gap
|
|
1039
1039
|
*/
|
|
1040
1040
|
"gap-y": [{
|
|
1041
|
-
"gap-y": [
|
|
1041
|
+
"gap-y": [f]
|
|
1042
1042
|
}],
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Justify Content
|
|
1045
1045
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1046
1046
|
*/
|
|
1047
1047
|
"justify-content": [{
|
|
1048
|
-
justify: ["normal", ...
|
|
1048
|
+
justify: ["normal", ...te()]
|
|
1049
1049
|
}],
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Justify Items
|
|
@@ -1066,7 +1066,7 @@ const v = (e) => {
|
|
|
1066
1066
|
* @see https://tailwindcss.com/docs/align-content
|
|
1067
1067
|
*/
|
|
1068
1068
|
"align-content": [{
|
|
1069
|
-
content: ["normal", ...
|
|
1069
|
+
content: ["normal", ...te(), "baseline"]
|
|
1070
1070
|
}],
|
|
1071
1071
|
/**
|
|
1072
1072
|
* Align Items
|
|
@@ -1087,7 +1087,7 @@ const v = (e) => {
|
|
|
1087
1087
|
* @see https://tailwindcss.com/docs/place-content
|
|
1088
1088
|
*/
|
|
1089
1089
|
"place-content": [{
|
|
1090
|
-
"place-content": [...
|
|
1090
|
+
"place-content": [...te(), "baseline"]
|
|
1091
1091
|
}],
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Place Items
|
|
@@ -1172,70 +1172,70 @@ const v = (e) => {
|
|
|
1172
1172
|
* @see https://tailwindcss.com/docs/margin
|
|
1173
1173
|
*/
|
|
1174
1174
|
m: [{
|
|
1175
|
-
m: [
|
|
1175
|
+
m: [w]
|
|
1176
1176
|
}],
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Margin X
|
|
1179
1179
|
* @see https://tailwindcss.com/docs/margin
|
|
1180
1180
|
*/
|
|
1181
1181
|
mx: [{
|
|
1182
|
-
mx: [
|
|
1182
|
+
mx: [w]
|
|
1183
1183
|
}],
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Margin Y
|
|
1186
1186
|
* @see https://tailwindcss.com/docs/margin
|
|
1187
1187
|
*/
|
|
1188
1188
|
my: [{
|
|
1189
|
-
my: [
|
|
1189
|
+
my: [w]
|
|
1190
1190
|
}],
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Margin Start
|
|
1193
1193
|
* @see https://tailwindcss.com/docs/margin
|
|
1194
1194
|
*/
|
|
1195
1195
|
ms: [{
|
|
1196
|
-
ms: [
|
|
1196
|
+
ms: [w]
|
|
1197
1197
|
}],
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Margin End
|
|
1200
1200
|
* @see https://tailwindcss.com/docs/margin
|
|
1201
1201
|
*/
|
|
1202
1202
|
me: [{
|
|
1203
|
-
me: [
|
|
1203
|
+
me: [w]
|
|
1204
1204
|
}],
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Margin Top
|
|
1207
1207
|
* @see https://tailwindcss.com/docs/margin
|
|
1208
1208
|
*/
|
|
1209
1209
|
mt: [{
|
|
1210
|
-
mt: [
|
|
1210
|
+
mt: [w]
|
|
1211
1211
|
}],
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Margin Right
|
|
1214
1214
|
* @see https://tailwindcss.com/docs/margin
|
|
1215
1215
|
*/
|
|
1216
1216
|
mr: [{
|
|
1217
|
-
mr: [
|
|
1217
|
+
mr: [w]
|
|
1218
1218
|
}],
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Margin Bottom
|
|
1221
1221
|
* @see https://tailwindcss.com/docs/margin
|
|
1222
1222
|
*/
|
|
1223
1223
|
mb: [{
|
|
1224
|
-
mb: [
|
|
1224
|
+
mb: [w]
|
|
1225
1225
|
}],
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Margin Left
|
|
1228
1228
|
* @see https://tailwindcss.com/docs/margin
|
|
1229
1229
|
*/
|
|
1230
1230
|
ml: [{
|
|
1231
|
-
ml: [
|
|
1231
|
+
ml: [w]
|
|
1232
1232
|
}],
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Space Between X
|
|
1235
1235
|
* @see https://tailwindcss.com/docs/space
|
|
1236
1236
|
*/
|
|
1237
1237
|
"space-x": [{
|
|
1238
|
-
"space-x": [
|
|
1238
|
+
"space-x": [be]
|
|
1239
1239
|
}],
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Space Between X Reverse
|
|
@@ -1247,7 +1247,7 @@ const v = (e) => {
|
|
|
1247
1247
|
* @see https://tailwindcss.com/docs/space
|
|
1248
1248
|
*/
|
|
1249
1249
|
"space-y": [{
|
|
1250
|
-
"space-y": [
|
|
1250
|
+
"space-y": [be]
|
|
1251
1251
|
}],
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Space Between Y Reverse
|
|
@@ -1312,7 +1312,7 @@ const v = (e) => {
|
|
|
1312
1312
|
* @see https://tailwindcss.com/docs/font-size
|
|
1313
1313
|
*/
|
|
1314
1314
|
"font-size": [{
|
|
1315
|
-
text: ["base", P,
|
|
1315
|
+
text: ["base", P, T]
|
|
1316
1316
|
}],
|
|
1317
1317
|
/**
|
|
1318
1318
|
* Font Smoothing
|
|
@@ -1329,7 +1329,7 @@ const v = (e) => {
|
|
|
1329
1329
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1330
1330
|
*/
|
|
1331
1331
|
"font-weight": [{
|
|
1332
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1332
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", ae]
|
|
1333
1333
|
}],
|
|
1334
1334
|
/**
|
|
1335
1335
|
* Font Family
|
|
@@ -1380,14 +1380,14 @@ const v = (e) => {
|
|
|
1380
1380
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1381
1381
|
*/
|
|
1382
1382
|
"line-clamp": [{
|
|
1383
|
-
"line-clamp": ["none",
|
|
1383
|
+
"line-clamp": ["none", L, ae]
|
|
1384
1384
|
}],
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Line Height
|
|
1387
1387
|
* @see https://tailwindcss.com/docs/line-height
|
|
1388
1388
|
*/
|
|
1389
1389
|
leading: [{
|
|
1390
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1390
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", M, m]
|
|
1391
1391
|
}],
|
|
1392
1392
|
/**
|
|
1393
1393
|
* List Style Image
|
|
@@ -1423,7 +1423,7 @@ const v = (e) => {
|
|
|
1423
1423
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1424
1424
|
*/
|
|
1425
1425
|
"placeholder-opacity": [{
|
|
1426
|
-
"placeholder-opacity": [
|
|
1426
|
+
"placeholder-opacity": [N]
|
|
1427
1427
|
}],
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Text Alignment
|
|
@@ -1444,7 +1444,7 @@ const v = (e) => {
|
|
|
1444
1444
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1445
1445
|
*/
|
|
1446
1446
|
"text-opacity": [{
|
|
1447
|
-
"text-opacity": [
|
|
1447
|
+
"text-opacity": [N]
|
|
1448
1448
|
}],
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Text Decoration
|
|
@@ -1463,14 +1463,14 @@ const v = (e) => {
|
|
|
1463
1463
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1464
1464
|
*/
|
|
1465
1465
|
"text-decoration-thickness": [{
|
|
1466
|
-
decoration: ["auto", "from-font",
|
|
1466
|
+
decoration: ["auto", "from-font", M, T]
|
|
1467
1467
|
}],
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Text Underline Offset
|
|
1470
1470
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1471
1471
|
*/
|
|
1472
1472
|
"underline-offset": [{
|
|
1473
|
-
"underline-offset": ["auto",
|
|
1473
|
+
"underline-offset": ["auto", M, m]
|
|
1474
1474
|
}],
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Text Decoration Color
|
|
@@ -1501,7 +1501,7 @@ const v = (e) => {
|
|
|
1501
1501
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1502
1502
|
*/
|
|
1503
1503
|
indent: [{
|
|
1504
|
-
indent:
|
|
1504
|
+
indent: v()
|
|
1505
1505
|
}],
|
|
1506
1506
|
/**
|
|
1507
1507
|
* Vertical Alignment
|
|
@@ -1559,7 +1559,7 @@ const v = (e) => {
|
|
|
1559
1559
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1560
1560
|
*/
|
|
1561
1561
|
"bg-opacity": [{
|
|
1562
|
-
"bg-opacity": [
|
|
1562
|
+
"bg-opacity": [N]
|
|
1563
1563
|
}],
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Background Origin
|
|
@@ -1573,7 +1573,7 @@ const v = (e) => {
|
|
|
1573
1573
|
* @see https://tailwindcss.com/docs/background-position
|
|
1574
1574
|
*/
|
|
1575
1575
|
"bg-position": [{
|
|
1576
|
-
bg: [...me(),
|
|
1576
|
+
bg: [...me(), Fr]
|
|
1577
1577
|
}],
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Background Repeat
|
|
@@ -1598,7 +1598,7 @@ const v = (e) => {
|
|
|
1598
1598
|
"bg-image": [{
|
|
1599
1599
|
bg: ["none", {
|
|
1600
1600
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1601
|
-
},
|
|
1601
|
+
}, Hr]
|
|
1602
1602
|
}],
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Background Color
|
|
@@ -1633,21 +1633,21 @@ const v = (e) => {
|
|
|
1633
1633
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1634
1634
|
*/
|
|
1635
1635
|
"gradient-from": [{
|
|
1636
|
-
from: [
|
|
1636
|
+
from: [y]
|
|
1637
1637
|
}],
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Gradient Color Stops Via
|
|
1640
1640
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1641
1641
|
*/
|
|
1642
1642
|
"gradient-via": [{
|
|
1643
|
-
via: [
|
|
1643
|
+
via: [y]
|
|
1644
1644
|
}],
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Gradient Color Stops To
|
|
1647
1647
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1648
1648
|
*/
|
|
1649
1649
|
"gradient-to": [{
|
|
1650
|
-
to: [
|
|
1650
|
+
to: [y]
|
|
1651
1651
|
}],
|
|
1652
1652
|
// Borders
|
|
1653
1653
|
/**
|
|
@@ -1823,7 +1823,7 @@ const v = (e) => {
|
|
|
1823
1823
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
1824
1824
|
*/
|
|
1825
1825
|
"border-opacity": [{
|
|
1826
|
-
"border-opacity": [
|
|
1826
|
+
"border-opacity": [N]
|
|
1827
1827
|
}],
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Border Style
|
|
@@ -1861,7 +1861,7 @@ const v = (e) => {
|
|
|
1861
1861
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1862
1862
|
*/
|
|
1863
1863
|
"divide-opacity": [{
|
|
1864
|
-
"divide-opacity": [
|
|
1864
|
+
"divide-opacity": [N]
|
|
1865
1865
|
}],
|
|
1866
1866
|
/**
|
|
1867
1867
|
* Divide Style
|
|
@@ -1952,14 +1952,14 @@ const v = (e) => {
|
|
|
1952
1952
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1953
1953
|
*/
|
|
1954
1954
|
"outline-offset": [{
|
|
1955
|
-
"outline-offset": [
|
|
1955
|
+
"outline-offset": [M, m]
|
|
1956
1956
|
}],
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Outline Width
|
|
1959
1959
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1960
1960
|
*/
|
|
1961
1961
|
"outline-w": [{
|
|
1962
|
-
outline: [
|
|
1962
|
+
outline: [M, T]
|
|
1963
1963
|
}],
|
|
1964
1964
|
/**
|
|
1965
1965
|
* Outline Color
|
|
@@ -1973,7 +1973,7 @@ const v = (e) => {
|
|
|
1973
1973
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1974
1974
|
*/
|
|
1975
1975
|
"ring-w": [{
|
|
1976
|
-
ring:
|
|
1976
|
+
ring: ge()
|
|
1977
1977
|
}],
|
|
1978
1978
|
/**
|
|
1979
1979
|
* Ring Width Inset
|
|
@@ -1992,14 +1992,14 @@ const v = (e) => {
|
|
|
1992
1992
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1993
1993
|
*/
|
|
1994
1994
|
"ring-opacity": [{
|
|
1995
|
-
"ring-opacity": [
|
|
1995
|
+
"ring-opacity": [N]
|
|
1996
1996
|
}],
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Ring Offset Width
|
|
1999
1999
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2000
2000
|
*/
|
|
2001
2001
|
"ring-offset-w": [{
|
|
2002
|
-
"ring-offset": [
|
|
2002
|
+
"ring-offset": [M, T]
|
|
2003
2003
|
}],
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Ring Offset Color
|
|
@@ -2014,7 +2014,7 @@ const v = (e) => {
|
|
|
2014
2014
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2015
2015
|
*/
|
|
2016
2016
|
shadow: [{
|
|
2017
|
-
shadow: ["", "inner", "none", P,
|
|
2017
|
+
shadow: ["", "inner", "none", P, Wr]
|
|
2018
2018
|
}],
|
|
2019
2019
|
/**
|
|
2020
2020
|
* Box Shadow Color
|
|
@@ -2028,21 +2028,21 @@ const v = (e) => {
|
|
|
2028
2028
|
* @see https://tailwindcss.com/docs/opacity
|
|
2029
2029
|
*/
|
|
2030
2030
|
opacity: [{
|
|
2031
|
-
opacity: [
|
|
2031
|
+
opacity: [N]
|
|
2032
2032
|
}],
|
|
2033
2033
|
/**
|
|
2034
2034
|
* Mix Blend Mode
|
|
2035
2035
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2036
2036
|
*/
|
|
2037
2037
|
"mix-blend": [{
|
|
2038
|
-
"mix-blend": [...
|
|
2038
|
+
"mix-blend": [...ue(), "plus-lighter", "plus-darker"]
|
|
2039
2039
|
}],
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Background Blend Mode
|
|
2042
2042
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2043
2043
|
*/
|
|
2044
2044
|
"bg-blend": [{
|
|
2045
|
-
"bg-blend":
|
|
2045
|
+
"bg-blend": ue()
|
|
2046
2046
|
}],
|
|
2047
2047
|
// Filters
|
|
2048
2048
|
/**
|
|
@@ -2086,35 +2086,35 @@ const v = (e) => {
|
|
|
2086
2086
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2087
2087
|
*/
|
|
2088
2088
|
grayscale: [{
|
|
2089
|
-
grayscale: [
|
|
2089
|
+
grayscale: [p]
|
|
2090
2090
|
}],
|
|
2091
2091
|
/**
|
|
2092
2092
|
* Hue Rotate
|
|
2093
2093
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2094
2094
|
*/
|
|
2095
2095
|
"hue-rotate": [{
|
|
2096
|
-
"hue-rotate": [
|
|
2096
|
+
"hue-rotate": [g]
|
|
2097
2097
|
}],
|
|
2098
2098
|
/**
|
|
2099
2099
|
* Invert
|
|
2100
2100
|
* @see https://tailwindcss.com/docs/invert
|
|
2101
2101
|
*/
|
|
2102
2102
|
invert: [{
|
|
2103
|
-
invert: [
|
|
2103
|
+
invert: [h]
|
|
2104
2104
|
}],
|
|
2105
2105
|
/**
|
|
2106
2106
|
* Saturate
|
|
2107
2107
|
* @see https://tailwindcss.com/docs/saturate
|
|
2108
2108
|
*/
|
|
2109
2109
|
saturate: [{
|
|
2110
|
-
saturate: [
|
|
2110
|
+
saturate: [B]
|
|
2111
2111
|
}],
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Sepia
|
|
2114
2114
|
* @see https://tailwindcss.com/docs/sepia
|
|
2115
2115
|
*/
|
|
2116
2116
|
sepia: [{
|
|
2117
|
-
sepia: [
|
|
2117
|
+
sepia: [q]
|
|
2118
2118
|
}],
|
|
2119
2119
|
/**
|
|
2120
2120
|
* Backdrop Filter
|
|
@@ -2150,42 +2150,42 @@ const v = (e) => {
|
|
|
2150
2150
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2151
2151
|
*/
|
|
2152
2152
|
"backdrop-grayscale": [{
|
|
2153
|
-
"backdrop-grayscale": [
|
|
2153
|
+
"backdrop-grayscale": [p]
|
|
2154
2154
|
}],
|
|
2155
2155
|
/**
|
|
2156
2156
|
* Backdrop Hue Rotate
|
|
2157
2157
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2158
2158
|
*/
|
|
2159
2159
|
"backdrop-hue-rotate": [{
|
|
2160
|
-
"backdrop-hue-rotate": [
|
|
2160
|
+
"backdrop-hue-rotate": [g]
|
|
2161
2161
|
}],
|
|
2162
2162
|
/**
|
|
2163
2163
|
* Backdrop Invert
|
|
2164
2164
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2165
2165
|
*/
|
|
2166
2166
|
"backdrop-invert": [{
|
|
2167
|
-
"backdrop-invert": [
|
|
2167
|
+
"backdrop-invert": [h]
|
|
2168
2168
|
}],
|
|
2169
2169
|
/**
|
|
2170
2170
|
* Backdrop Opacity
|
|
2171
2171
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2172
2172
|
*/
|
|
2173
2173
|
"backdrop-opacity": [{
|
|
2174
|
-
"backdrop-opacity": [
|
|
2174
|
+
"backdrop-opacity": [N]
|
|
2175
2175
|
}],
|
|
2176
2176
|
/**
|
|
2177
2177
|
* Backdrop Saturate
|
|
2178
2178
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2179
2179
|
*/
|
|
2180
2180
|
"backdrop-saturate": [{
|
|
2181
|
-
"backdrop-saturate": [
|
|
2181
|
+
"backdrop-saturate": [B]
|
|
2182
2182
|
}],
|
|
2183
2183
|
/**
|
|
2184
2184
|
* Backdrop Sepia
|
|
2185
2185
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2186
2186
|
*/
|
|
2187
2187
|
"backdrop-sepia": [{
|
|
2188
|
-
"backdrop-sepia": [
|
|
2188
|
+
"backdrop-sepia": [q]
|
|
2189
2189
|
}],
|
|
2190
2190
|
// Tables
|
|
2191
2191
|
/**
|
|
@@ -2200,21 +2200,21 @@ const v = (e) => {
|
|
|
2200
2200
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2201
2201
|
*/
|
|
2202
2202
|
"border-spacing": [{
|
|
2203
|
-
"border-spacing": [
|
|
2203
|
+
"border-spacing": [n]
|
|
2204
2204
|
}],
|
|
2205
2205
|
/**
|
|
2206
2206
|
* Border Spacing X
|
|
2207
2207
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2208
2208
|
*/
|
|
2209
2209
|
"border-spacing-x": [{
|
|
2210
|
-
"border-spacing-x": [
|
|
2210
|
+
"border-spacing-x": [n]
|
|
2211
2211
|
}],
|
|
2212
2212
|
/**
|
|
2213
2213
|
* Border Spacing Y
|
|
2214
2214
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2215
2215
|
*/
|
|
2216
2216
|
"border-spacing-y": [{
|
|
2217
|
-
"border-spacing-y": [
|
|
2217
|
+
"border-spacing-y": [n]
|
|
2218
2218
|
}],
|
|
2219
2219
|
/**
|
|
2220
2220
|
* Table Layout
|
|
@@ -2243,7 +2243,7 @@ const v = (e) => {
|
|
|
2243
2243
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2244
2244
|
*/
|
|
2245
2245
|
duration: [{
|
|
2246
|
-
duration:
|
|
2246
|
+
duration: I()
|
|
2247
2247
|
}],
|
|
2248
2248
|
/**
|
|
2249
2249
|
* Transition Timing Function
|
|
@@ -2257,7 +2257,7 @@ const v = (e) => {
|
|
|
2257
2257
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2258
2258
|
*/
|
|
2259
2259
|
delay: [{
|
|
2260
|
-
delay:
|
|
2260
|
+
delay: I()
|
|
2261
2261
|
}],
|
|
2262
2262
|
/**
|
|
2263
2263
|
* Animation
|
|
@@ -2300,35 +2300,35 @@ const v = (e) => {
|
|
|
2300
2300
|
* @see https://tailwindcss.com/docs/rotate
|
|
2301
2301
|
*/
|
|
2302
2302
|
rotate: [{
|
|
2303
|
-
rotate: [
|
|
2303
|
+
rotate: [W, m]
|
|
2304
2304
|
}],
|
|
2305
2305
|
/**
|
|
2306
2306
|
* Translate X
|
|
2307
2307
|
* @see https://tailwindcss.com/docs/translate
|
|
2308
2308
|
*/
|
|
2309
2309
|
"translate-x": [{
|
|
2310
|
-
"translate-x": [
|
|
2310
|
+
"translate-x": [pe]
|
|
2311
2311
|
}],
|
|
2312
2312
|
/**
|
|
2313
2313
|
* Translate Y
|
|
2314
2314
|
* @see https://tailwindcss.com/docs/translate
|
|
2315
2315
|
*/
|
|
2316
2316
|
"translate-y": [{
|
|
2317
|
-
"translate-y": [
|
|
2317
|
+
"translate-y": [pe]
|
|
2318
2318
|
}],
|
|
2319
2319
|
/**
|
|
2320
2320
|
* Skew X
|
|
2321
2321
|
* @see https://tailwindcss.com/docs/skew
|
|
2322
2322
|
*/
|
|
2323
2323
|
"skew-x": [{
|
|
2324
|
-
"skew-x": [
|
|
2324
|
+
"skew-x": [de]
|
|
2325
2325
|
}],
|
|
2326
2326
|
/**
|
|
2327
2327
|
* Skew Y
|
|
2328
2328
|
* @see https://tailwindcss.com/docs/skew
|
|
2329
2329
|
*/
|
|
2330
2330
|
"skew-y": [{
|
|
2331
|
-
"skew-y": [
|
|
2331
|
+
"skew-y": [de]
|
|
2332
2332
|
}],
|
|
2333
2333
|
/**
|
|
2334
2334
|
* Transform Origin
|
|
@@ -2392,126 +2392,126 @@ const v = (e) => {
|
|
|
2392
2392
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2393
2393
|
*/
|
|
2394
2394
|
"scroll-m": [{
|
|
2395
|
-
"scroll-m":
|
|
2395
|
+
"scroll-m": v()
|
|
2396
2396
|
}],
|
|
2397
2397
|
/**
|
|
2398
2398
|
* Scroll Margin X
|
|
2399
2399
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2400
2400
|
*/
|
|
2401
2401
|
"scroll-mx": [{
|
|
2402
|
-
"scroll-mx":
|
|
2402
|
+
"scroll-mx": v()
|
|
2403
2403
|
}],
|
|
2404
2404
|
/**
|
|
2405
2405
|
* Scroll Margin Y
|
|
2406
2406
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2407
2407
|
*/
|
|
2408
2408
|
"scroll-my": [{
|
|
2409
|
-
"scroll-my":
|
|
2409
|
+
"scroll-my": v()
|
|
2410
2410
|
}],
|
|
2411
2411
|
/**
|
|
2412
2412
|
* Scroll Margin Start
|
|
2413
2413
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2414
2414
|
*/
|
|
2415
2415
|
"scroll-ms": [{
|
|
2416
|
-
"scroll-ms":
|
|
2416
|
+
"scroll-ms": v()
|
|
2417
2417
|
}],
|
|
2418
2418
|
/**
|
|
2419
2419
|
* Scroll Margin End
|
|
2420
2420
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2421
2421
|
*/
|
|
2422
2422
|
"scroll-me": [{
|
|
2423
|
-
"scroll-me":
|
|
2423
|
+
"scroll-me": v()
|
|
2424
2424
|
}],
|
|
2425
2425
|
/**
|
|
2426
2426
|
* Scroll Margin Top
|
|
2427
2427
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2428
2428
|
*/
|
|
2429
2429
|
"scroll-mt": [{
|
|
2430
|
-
"scroll-mt":
|
|
2430
|
+
"scroll-mt": v()
|
|
2431
2431
|
}],
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Scroll Margin Right
|
|
2434
2434
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2435
2435
|
*/
|
|
2436
2436
|
"scroll-mr": [{
|
|
2437
|
-
"scroll-mr":
|
|
2437
|
+
"scroll-mr": v()
|
|
2438
2438
|
}],
|
|
2439
2439
|
/**
|
|
2440
2440
|
* Scroll Margin Bottom
|
|
2441
2441
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2442
2442
|
*/
|
|
2443
2443
|
"scroll-mb": [{
|
|
2444
|
-
"scroll-mb":
|
|
2444
|
+
"scroll-mb": v()
|
|
2445
2445
|
}],
|
|
2446
2446
|
/**
|
|
2447
2447
|
* Scroll Margin Left
|
|
2448
2448
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2449
2449
|
*/
|
|
2450
2450
|
"scroll-ml": [{
|
|
2451
|
-
"scroll-ml":
|
|
2451
|
+
"scroll-ml": v()
|
|
2452
2452
|
}],
|
|
2453
2453
|
/**
|
|
2454
2454
|
* Scroll Padding
|
|
2455
2455
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2456
2456
|
*/
|
|
2457
2457
|
"scroll-p": [{
|
|
2458
|
-
"scroll-p":
|
|
2458
|
+
"scroll-p": v()
|
|
2459
2459
|
}],
|
|
2460
2460
|
/**
|
|
2461
2461
|
* Scroll Padding X
|
|
2462
2462
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2463
2463
|
*/
|
|
2464
2464
|
"scroll-px": [{
|
|
2465
|
-
"scroll-px":
|
|
2465
|
+
"scroll-px": v()
|
|
2466
2466
|
}],
|
|
2467
2467
|
/**
|
|
2468
2468
|
* Scroll Padding Y
|
|
2469
2469
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2470
2470
|
*/
|
|
2471
2471
|
"scroll-py": [{
|
|
2472
|
-
"scroll-py":
|
|
2472
|
+
"scroll-py": v()
|
|
2473
2473
|
}],
|
|
2474
2474
|
/**
|
|
2475
2475
|
* Scroll Padding Start
|
|
2476
2476
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2477
2477
|
*/
|
|
2478
2478
|
"scroll-ps": [{
|
|
2479
|
-
"scroll-ps":
|
|
2479
|
+
"scroll-ps": v()
|
|
2480
2480
|
}],
|
|
2481
2481
|
/**
|
|
2482
2482
|
* Scroll Padding End
|
|
2483
2483
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2484
2484
|
*/
|
|
2485
2485
|
"scroll-pe": [{
|
|
2486
|
-
"scroll-pe":
|
|
2486
|
+
"scroll-pe": v()
|
|
2487
2487
|
}],
|
|
2488
2488
|
/**
|
|
2489
2489
|
* Scroll Padding Top
|
|
2490
2490
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2491
2491
|
*/
|
|
2492
2492
|
"scroll-pt": [{
|
|
2493
|
-
"scroll-pt":
|
|
2493
|
+
"scroll-pt": v()
|
|
2494
2494
|
}],
|
|
2495
2495
|
/**
|
|
2496
2496
|
* Scroll Padding Right
|
|
2497
2497
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2498
2498
|
*/
|
|
2499
2499
|
"scroll-pr": [{
|
|
2500
|
-
"scroll-pr":
|
|
2500
|
+
"scroll-pr": v()
|
|
2501
2501
|
}],
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Scroll Padding Bottom
|
|
2504
2504
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2505
2505
|
*/
|
|
2506
2506
|
"scroll-pb": [{
|
|
2507
|
-
"scroll-pb":
|
|
2507
|
+
"scroll-pb": v()
|
|
2508
2508
|
}],
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Scroll Padding Left
|
|
2511
2511
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2512
2512
|
*/
|
|
2513
2513
|
"scroll-pl": [{
|
|
2514
|
-
"scroll-pl":
|
|
2514
|
+
"scroll-pl": v()
|
|
2515
2515
|
}],
|
|
2516
2516
|
/**
|
|
2517
2517
|
* Scroll Snap Align
|
|
@@ -2594,7 +2594,7 @@ const v = (e) => {
|
|
|
2594
2594
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2595
2595
|
*/
|
|
2596
2596
|
"stroke-w": [{
|
|
2597
|
-
stroke: [
|
|
2597
|
+
stroke: [M, T, ae]
|
|
2598
2598
|
}],
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Stroke
|
|
@@ -2669,11 +2669,11 @@ const v = (e) => {
|
|
|
2669
2669
|
"font-size": ["leading"]
|
|
2670
2670
|
}
|
|
2671
2671
|
};
|
|
2672
|
-
},
|
|
2673
|
-
function
|
|
2674
|
-
return
|
|
2672
|
+
}, _r = /* @__PURE__ */ Sr(Dr);
|
|
2673
|
+
function d(...e) {
|
|
2674
|
+
return _r(gr(e));
|
|
2675
2675
|
}
|
|
2676
|
-
const
|
|
2676
|
+
const Or = c.forwardRef(
|
|
2677
2677
|
({
|
|
2678
2678
|
className: e,
|
|
2679
2679
|
variant: r = "primary",
|
|
@@ -2681,10 +2681,10 @@ const _r = d.forwardRef(
|
|
|
2681
2681
|
icon: o = !1,
|
|
2682
2682
|
active: a = !1,
|
|
2683
2683
|
disabled: s = !1,
|
|
2684
|
-
children:
|
|
2684
|
+
children: n,
|
|
2685
2685
|
...l
|
|
2686
2686
|
}, b) => {
|
|
2687
|
-
const
|
|
2687
|
+
const p = "inline-flex items-center justify-center font-sans font-normal leading-[1.25] text-base border border-transparent cursor-pointer select-none transition-all duration-200 ease-in-out target-size", g = {
|
|
2688
2688
|
primary: "bg-supporting-orange text-black hover:bg-supporting-orange hover:text-black active:bg-[var(--highlight-color)] active:border-[var(--border-color)] active:text-[var(--body-color)] focus-visible:z-[5]",
|
|
2689
2689
|
secondary: "bg-black text-[var(--highlight-color)] hover:bg-[var(--highlight-color)] hover:border-[var(--border-color)] hover:text-[var(--body-color)] active:bg-[var(--highlight-color)] active:border-[var(--border-color)] active:text-[var(--body-color)]",
|
|
2690
2690
|
success: "bg-success text-[var(--highlight-color)] hover:bg-success hover:text-[var(--highlight-color)] active:bg-success active:text-[var(--highlight-color)]",
|
|
@@ -2705,44 +2705,44 @@ const _r = d.forwardRef(
|
|
|
2705
2705
|
toggle: "bg-transparent border-[var(--border-color-subtle)] text-[var(--body-color)] hover:border-[var(--border-color-subtle)] hover:text-primary active:bg-supporting-orange active:border-supporting-orange active:text-black",
|
|
2706
2706
|
dropdown: "bg-[var(--body-bg)] border-[var(--border-color-subtle)] text-[var(--body-color)] hover:bg-[var(--body-bg)] hover:border-[var(--border-color-subtle)] hover:text-[var(--body-color)] active:bg-[var(--body-bg)] active:border-[var(--body-color)] active:text-[var(--body-color)] disabled:bg-[var(--body-bg)] disabled:border-[var(--disabled-color)] disabled:text-[var(--disabled-color)]",
|
|
2707
2707
|
link: "bg-transparent border-transparent text-black underline-offset-4 hover:text-primary hover:underline active:text-primary"
|
|
2708
|
-
},
|
|
2708
|
+
}, h = {
|
|
2709
2709
|
sm: "px-2 py-1 text-sm leading-[calc(16/14)] tracking-[-0.00625rem]",
|
|
2710
2710
|
base: "px-3 py-[calc(1.25rem-1px)] text-base leading-[1.25] tracking-[-0.00625rem]",
|
|
2711
2711
|
lg: "px-5 py-[calc(1.25rem-1px)] text-lg leading-[calc(20/18)] tracking-[-0.0125rem]"
|
|
2712
|
-
},
|
|
2713
|
-
return /* @__PURE__ */
|
|
2712
|
+
}, f = o ? "btn-icon" : "";
|
|
2713
|
+
return /* @__PURE__ */ i(
|
|
2714
2714
|
"button",
|
|
2715
2715
|
{
|
|
2716
2716
|
ref: b,
|
|
2717
|
-
className:
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2717
|
+
className: d(
|
|
2718
|
+
p,
|
|
2719
|
+
g[r],
|
|
2720
|
+
h[t],
|
|
2721
|
+
f,
|
|
2722
2722
|
a && "active",
|
|
2723
2723
|
s && "pointer-events-none opacity-65",
|
|
2724
2724
|
e
|
|
2725
2725
|
),
|
|
2726
2726
|
disabled: s,
|
|
2727
2727
|
...l,
|
|
2728
|
-
children:
|
|
2728
|
+
children: n
|
|
2729
2729
|
}
|
|
2730
2730
|
);
|
|
2731
2731
|
}
|
|
2732
2732
|
);
|
|
2733
|
-
|
|
2734
|
-
const qr =
|
|
2733
|
+
Or.displayName = "Button";
|
|
2734
|
+
const qr = c.forwardRef(
|
|
2735
2735
|
({ className: e, type: r = "text", size: t = "base", error: o = !1, ...a }, s) => {
|
|
2736
|
-
const
|
|
2736
|
+
const n = "block w-full font-sans border border-black bg-white text-[var(--body-color)] transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2", l = {
|
|
2737
2737
|
sm: "px-2 py-1 text-sm leading-[1.25]",
|
|
2738
2738
|
base: "px-3 py-[calc(1.25rem-1px)] text-base leading-[1.25]",
|
|
2739
2739
|
lg: "px-5 py-[calc(1.25rem-1px)] text-lg leading-[calc(20/18)]"
|
|
2740
2740
|
}, b = o ? "border-danger focus:border-danger focus:ring-danger" : "focus:border-primary focus:ring-primary";
|
|
2741
|
-
return /* @__PURE__ */
|
|
2741
|
+
return /* @__PURE__ */ i(
|
|
2742
2742
|
"input",
|
|
2743
2743
|
{
|
|
2744
2744
|
type: r,
|
|
2745
|
-
className:
|
|
2745
|
+
className: d(n, l[t], b, e),
|
|
2746
2746
|
ref: s,
|
|
2747
2747
|
...a
|
|
2748
2748
|
}
|
|
@@ -2750,12 +2750,12 @@ const qr = d.forwardRef(
|
|
|
2750
2750
|
}
|
|
2751
2751
|
);
|
|
2752
2752
|
qr.displayName = "Input";
|
|
2753
|
-
const
|
|
2754
|
-
({ className: e, variant: r = "default", children: t, ...o }, a) => /* @__PURE__ */
|
|
2753
|
+
const Xr = c.forwardRef(
|
|
2754
|
+
({ className: e, variant: r = "default", children: t, ...o }, a) => /* @__PURE__ */ i(
|
|
2755
2755
|
"div",
|
|
2756
2756
|
{
|
|
2757
2757
|
ref: a,
|
|
2758
|
-
className:
|
|
2758
|
+
className: d("flex flex-col", {
|
|
2759
2759
|
default: "bg-white",
|
|
2760
2760
|
outline: "border border-black bg-white"
|
|
2761
2761
|
}[r], e),
|
|
@@ -2764,34 +2764,34 @@ const Dr = d.forwardRef(
|
|
|
2764
2764
|
}
|
|
2765
2765
|
)
|
|
2766
2766
|
);
|
|
2767
|
-
|
|
2768
|
-
const
|
|
2767
|
+
Xr.displayName = "Card";
|
|
2768
|
+
const Jr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2769
2769
|
"div",
|
|
2770
2770
|
{
|
|
2771
2771
|
ref: t,
|
|
2772
|
-
className:
|
|
2772
|
+
className: d("flex flex-col space-y-1.5 p-5", e),
|
|
2773
2773
|
...r
|
|
2774
2774
|
}
|
|
2775
2775
|
));
|
|
2776
|
-
|
|
2777
|
-
const
|
|
2776
|
+
Jr.displayName = "CardHeader";
|
|
2777
|
+
const Zr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2778
2778
|
"h3",
|
|
2779
2779
|
{
|
|
2780
2780
|
ref: t,
|
|
2781
|
-
className:
|
|
2781
|
+
className: d("text-2xl font-semibold leading-none tracking-tight", e),
|
|
2782
2782
|
...r
|
|
2783
2783
|
}
|
|
2784
2784
|
));
|
|
2785
|
-
|
|
2786
|
-
const
|
|
2787
|
-
|
|
2788
|
-
const
|
|
2789
|
-
|
|
2790
|
-
const
|
|
2791
|
-
|
|
2792
|
-
const
|
|
2785
|
+
Zr.displayName = "CardTitle";
|
|
2786
|
+
const Kr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("p", { ref: t, className: d("text-sm text-body-secondary-color", e), ...r }));
|
|
2787
|
+
Kr.displayName = "CardDescription";
|
|
2788
|
+
const Qr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("p-5 pt-0", e), ...r }));
|
|
2789
|
+
Qr.displayName = "CardContent";
|
|
2790
|
+
const Yr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("flex items-center p-5 pt-0", e), ...r }));
|
|
2791
|
+
Yr.displayName = "CardFooter";
|
|
2792
|
+
const et = c.forwardRef(
|
|
2793
2793
|
({ as: e, variant: r = "body", className: t, children: o, ...a }, s) => {
|
|
2794
|
-
const
|
|
2794
|
+
const n = {
|
|
2795
2795
|
h1: "text-h1 leading-h1 tracking-h1 font-normal",
|
|
2796
2796
|
h2: "text-h2 leading-h2 tracking-h2 font-normal",
|
|
2797
2797
|
h3: "text-h3 leading-h3 tracking-h3 font-normal",
|
|
@@ -2806,21 +2806,21 @@ const Qr = d.forwardRef(
|
|
|
2806
2806
|
display3: "text-display-3 leading-display tracking-display-3 font-normal",
|
|
2807
2807
|
display4: "text-display-4 leading-display tracking-display-4 font-normal"
|
|
2808
2808
|
}, l = r.startsWith("h") ? r : r === "lead" || r === "small" ? "p" : "div", b = e || l;
|
|
2809
|
-
return
|
|
2809
|
+
return c.createElement(
|
|
2810
2810
|
b,
|
|
2811
2811
|
{
|
|
2812
2812
|
ref: s,
|
|
2813
|
-
className:
|
|
2813
|
+
className: d(n[r], t),
|
|
2814
2814
|
...a
|
|
2815
2815
|
},
|
|
2816
2816
|
o
|
|
2817
2817
|
);
|
|
2818
2818
|
}
|
|
2819
2819
|
);
|
|
2820
|
-
|
|
2821
|
-
const
|
|
2820
|
+
et.displayName = "Typography";
|
|
2821
|
+
const rt = c.forwardRef(
|
|
2822
2822
|
({ className: e, fluid: r = !1, size: t, children: o, ...a }, s) => {
|
|
2823
|
-
const
|
|
2823
|
+
const n = "w-full mx-auto px-5", l = {
|
|
2824
2824
|
xs: "max-w-[312px]",
|
|
2825
2825
|
sm: "max-w-[468px]",
|
|
2826
2826
|
md: "max-w-[744px]",
|
|
@@ -2828,21 +2828,21 @@ const Yr = d.forwardRef(
|
|
|
2828
2828
|
xl: "max-w-[1200px]",
|
|
2829
2829
|
xxl: "max-w-[1320px]"
|
|
2830
2830
|
};
|
|
2831
|
-
return r ? /* @__PURE__ */
|
|
2831
|
+
return r ? /* @__PURE__ */ i("div", { ref: s, className: d(n, e), ...a, children: o }) : /* @__PURE__ */ i(
|
|
2832
2832
|
"div",
|
|
2833
2833
|
{
|
|
2834
2834
|
ref: s,
|
|
2835
|
-
className:
|
|
2835
|
+
className: d(n, l[t || "xxl"], e),
|
|
2836
2836
|
...a,
|
|
2837
2837
|
children: o
|
|
2838
2838
|
}
|
|
2839
2839
|
);
|
|
2840
2840
|
}
|
|
2841
2841
|
);
|
|
2842
|
-
|
|
2843
|
-
const
|
|
2842
|
+
rt.displayName = "Container";
|
|
2843
|
+
const tt = c.forwardRef(
|
|
2844
2844
|
({ className: e, cols: r = 12, gap: t = 3, children: o, ...a }, s) => {
|
|
2845
|
-
const
|
|
2845
|
+
const n = "grid", l = {
|
|
2846
2846
|
1: "grid-cols-1",
|
|
2847
2847
|
2: "grid-cols-2",
|
|
2848
2848
|
3: "grid-cols-3",
|
|
@@ -2863,19 +2863,19 @@ const et = d.forwardRef(
|
|
|
2863
2863
|
4: "gap-4",
|
|
2864
2864
|
5: "gap-5"
|
|
2865
2865
|
};
|
|
2866
|
-
return /* @__PURE__ */
|
|
2866
|
+
return /* @__PURE__ */ i(
|
|
2867
2867
|
"div",
|
|
2868
2868
|
{
|
|
2869
2869
|
ref: s,
|
|
2870
|
-
className:
|
|
2870
|
+
className: d(n, l[r], b[t], e),
|
|
2871
2871
|
...a,
|
|
2872
2872
|
children: o
|
|
2873
2873
|
}
|
|
2874
2874
|
);
|
|
2875
2875
|
}
|
|
2876
2876
|
);
|
|
2877
|
-
|
|
2878
|
-
const
|
|
2877
|
+
tt.displayName = "Grid";
|
|
2878
|
+
const ot = c.forwardRef(
|
|
2879
2879
|
({ className: e, span: r, children: t, ...o }, a) => {
|
|
2880
2880
|
const s = r ? {
|
|
2881
2881
|
1: "col-span-1",
|
|
@@ -2891,52 +2891,52 @@ const rt = d.forwardRef(
|
|
|
2891
2891
|
11: "col-span-11",
|
|
2892
2892
|
12: "col-span-12"
|
|
2893
2893
|
}[r] : "";
|
|
2894
|
-
return /* @__PURE__ */
|
|
2894
|
+
return /* @__PURE__ */ i("div", { ref: a, className: d(s, e), ...o, children: t });
|
|
2895
2895
|
}
|
|
2896
2896
|
);
|
|
2897
|
-
|
|
2898
|
-
var
|
|
2897
|
+
ot.displayName = "GridItem";
|
|
2898
|
+
var at = function(e, r) {
|
|
2899
2899
|
for (var t = {}; e.length; ) {
|
|
2900
|
-
var o = e[0], a = o.code, s = o.message,
|
|
2901
|
-
if (!t[
|
|
2900
|
+
var o = e[0], a = o.code, s = o.message, n = o.path.join(".");
|
|
2901
|
+
if (!t[n]) if ("unionErrors" in o) {
|
|
2902
2902
|
var l = o.unionErrors[0].errors[0];
|
|
2903
|
-
t[
|
|
2904
|
-
} else t[
|
|
2905
|
-
if ("unionErrors" in o && o.unionErrors.forEach(function(
|
|
2906
|
-
return
|
|
2907
|
-
return e.push(
|
|
2903
|
+
t[n] = { message: l.message, type: l.code };
|
|
2904
|
+
} else t[n] = { message: s, type: a };
|
|
2905
|
+
if ("unionErrors" in o && o.unionErrors.forEach(function(g) {
|
|
2906
|
+
return g.errors.forEach(function(h) {
|
|
2907
|
+
return e.push(h);
|
|
2908
2908
|
});
|
|
2909
2909
|
}), r) {
|
|
2910
|
-
var b = t[
|
|
2911
|
-
t[
|
|
2910
|
+
var b = t[n].types, p = b && b[o.code];
|
|
2911
|
+
t[n] = Le(n, r, t, a, p ? [].concat(p, o.message) : o.message);
|
|
2912
2912
|
}
|
|
2913
2913
|
e.shift();
|
|
2914
2914
|
}
|
|
2915
2915
|
return t;
|
|
2916
|
-
},
|
|
2916
|
+
}, st = function(e, r, t) {
|
|
2917
2917
|
return t === void 0 && (t = {}), function(o, a, s) {
|
|
2918
2918
|
try {
|
|
2919
|
-
return Promise.resolve((function(
|
|
2919
|
+
return Promise.resolve((function(n, l) {
|
|
2920
2920
|
try {
|
|
2921
|
-
var b = Promise.resolve(e[t.mode === "sync" ? "parse" : "parseAsync"](o, r)).then(function(
|
|
2922
|
-
return s.shouldUseNativeValidation &&
|
|
2921
|
+
var b = Promise.resolve(e[t.mode === "sync" ? "parse" : "parseAsync"](o, r)).then(function(p) {
|
|
2922
|
+
return s.shouldUseNativeValidation && Ve({}, s), { errors: {}, values: t.raw ? o : p };
|
|
2923
2923
|
});
|
|
2924
|
-
} catch (
|
|
2925
|
-
return l(
|
|
2924
|
+
} catch (p) {
|
|
2925
|
+
return l(p);
|
|
2926
2926
|
}
|
|
2927
2927
|
return b && b.then ? b.then(void 0, l) : b;
|
|
2928
|
-
})(0, function(
|
|
2928
|
+
})(0, function(n) {
|
|
2929
2929
|
if ((function(l) {
|
|
2930
2930
|
return Array.isArray(l == null ? void 0 : l.errors);
|
|
2931
|
-
})(
|
|
2932
|
-
throw
|
|
2931
|
+
})(n)) return { values: {}, errors: Ue(at(n.errors, !s.shouldUseNativeValidation && s.criteriaMode === "all"), s) };
|
|
2932
|
+
throw n;
|
|
2933
2933
|
}));
|
|
2934
|
-
} catch (
|
|
2935
|
-
return Promise.reject(
|
|
2934
|
+
} catch (n) {
|
|
2935
|
+
return Promise.reject(n);
|
|
2936
2936
|
}
|
|
2937
2937
|
};
|
|
2938
2938
|
};
|
|
2939
|
-
function
|
|
2939
|
+
function to({
|
|
2940
2940
|
schema: e,
|
|
2941
2941
|
defaultValues: r,
|
|
2942
2942
|
onSubmit: t,
|
|
@@ -2944,57 +2944,57 @@ function Yt({
|
|
|
2944
2944
|
className: a,
|
|
2945
2945
|
...s
|
|
2946
2946
|
}) {
|
|
2947
|
-
const
|
|
2948
|
-
resolver:
|
|
2947
|
+
const n = Fe({
|
|
2948
|
+
resolver: st(e),
|
|
2949
2949
|
defaultValues: r
|
|
2950
|
-
}), l =
|
|
2950
|
+
}), l = n.handleSubmit(async (b) => {
|
|
2951
2951
|
await t(b);
|
|
2952
2952
|
});
|
|
2953
|
-
return /* @__PURE__ */
|
|
2953
|
+
return /* @__PURE__ */ i(Be, { ...n, children: /* @__PURE__ */ i("form", { onSubmit: l, className: d("space-y-4", a), ...s, children: o(n) }) });
|
|
2954
2954
|
}
|
|
2955
|
-
function
|
|
2956
|
-
const
|
|
2957
|
-
return /* @__PURE__ */
|
|
2958
|
-
|
|
2955
|
+
function oo({ name: e, control: r, render: t, children: o, className: a, ...s }) {
|
|
2956
|
+
const n = He();
|
|
2957
|
+
return /* @__PURE__ */ i(
|
|
2958
|
+
We,
|
|
2959
2959
|
{
|
|
2960
2960
|
name: e,
|
|
2961
|
-
control: r ||
|
|
2961
|
+
control: r || n.control,
|
|
2962
2962
|
...s,
|
|
2963
2963
|
render: (l) => {
|
|
2964
2964
|
const b = t ? t(l) : o ? o(l) : null;
|
|
2965
|
-
return /* @__PURE__ */
|
|
2965
|
+
return /* @__PURE__ */ i("div", { className: d("space-y-1", a), children: b });
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
2968
|
);
|
|
2969
2969
|
}
|
|
2970
|
-
const
|
|
2971
|
-
({ className: e, ...r }, t) => /* @__PURE__ */
|
|
2970
|
+
const nt = c.forwardRef(
|
|
2971
|
+
({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("space-y-1", e), ...r })
|
|
2972
2972
|
);
|
|
2973
|
-
|
|
2974
|
-
const
|
|
2975
|
-
({ className: e, required: r, children: t, ...o }, a) => /* @__PURE__ */
|
|
2973
|
+
nt.displayName = "FormItem";
|
|
2974
|
+
const it = c.forwardRef(
|
|
2975
|
+
({ className: e, required: r, children: t, ...o }, a) => /* @__PURE__ */ A(
|
|
2976
2976
|
"label",
|
|
2977
2977
|
{
|
|
2978
2978
|
ref: a,
|
|
2979
|
-
className:
|
|
2979
|
+
className: d(
|
|
2980
2980
|
"block text-base font-normal leading-[1.25] text-[var(--body-color)]",
|
|
2981
2981
|
e
|
|
2982
2982
|
),
|
|
2983
2983
|
...o,
|
|
2984
2984
|
children: [
|
|
2985
2985
|
t,
|
|
2986
|
-
r && /* @__PURE__ */
|
|
2986
|
+
r && /* @__PURE__ */ i("span", { className: "text-danger ml-1", "aria-label": "required", children: "*" })
|
|
2987
2987
|
]
|
|
2988
2988
|
}
|
|
2989
2989
|
)
|
|
2990
2990
|
);
|
|
2991
|
-
|
|
2992
|
-
const
|
|
2993
|
-
({ className: e, error: r, children: t, ...o }, a) => !r && !t ? null : /* @__PURE__ */
|
|
2991
|
+
it.displayName = "FormLabel";
|
|
2992
|
+
const lt = c.forwardRef(
|
|
2993
|
+
({ className: e, error: r, children: t, ...o }, a) => !r && !t ? null : /* @__PURE__ */ i(
|
|
2994
2994
|
"p",
|
|
2995
2995
|
{
|
|
2996
2996
|
ref: a,
|
|
2997
|
-
className:
|
|
2997
|
+
className: d(
|
|
2998
2998
|
"text-sm leading-sm text-danger",
|
|
2999
2999
|
e
|
|
3000
3000
|
),
|
|
@@ -3005,35 +3005,35 @@ const nt = d.forwardRef(
|
|
|
3005
3005
|
}
|
|
3006
3006
|
)
|
|
3007
3007
|
);
|
|
3008
|
-
|
|
3009
|
-
const
|
|
3010
|
-
({ className: e, ...r }, t) => /* @__PURE__ */
|
|
3008
|
+
lt.displayName = "FormMessage";
|
|
3009
|
+
const ct = c.forwardRef(
|
|
3010
|
+
({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3011
3011
|
"p",
|
|
3012
3012
|
{
|
|
3013
3013
|
ref: t,
|
|
3014
|
-
className:
|
|
3014
|
+
className: d("text-sm leading-sm text-body-secondary-color", e),
|
|
3015
3015
|
...r
|
|
3016
3016
|
}
|
|
3017
3017
|
)
|
|
3018
3018
|
);
|
|
3019
|
-
|
|
3020
|
-
const
|
|
3019
|
+
ct.displayName = "FormDescription";
|
|
3020
|
+
const ao = z.string().email("Invalid email address"), so = z.string().min(1, "This field is required"), no = z.string().optional(), io = z.string().regex(/^[+]?[(]?[0-9]{1,4}[)]?[-\s.]?[(]?[0-9]{1,4}[)]?[-\s.]?[0-9]{1,9}$/, {
|
|
3021
3021
|
message: "Invalid phone number"
|
|
3022
|
-
}),
|
|
3022
|
+
}), lo = z.string().url("Invalid URL"), co = z.number().positive("Must be a positive number"), bo = z.number().nonnegative("Must be a non-negative number"), po = z.date(), go = z.date().refine((e) => e > /* @__PURE__ */ new Date(), {
|
|
3023
3023
|
message: "Date must be in the future"
|
|
3024
|
-
}),
|
|
3024
|
+
}), mo = z.date().refine((e) => e < /* @__PURE__ */ new Date(), {
|
|
3025
3025
|
message: "Date must be in the past"
|
|
3026
|
-
}),
|
|
3027
|
-
({ className: e, variant: r = "info", dismissible: t = !1, onDismiss: o, children: a, ...s },
|
|
3028
|
-
const [l, b] =
|
|
3026
|
+
}), dt = c.forwardRef(
|
|
3027
|
+
({ className: e, variant: r = "info", dismissible: t = !1, onDismiss: o, children: a, ...s }, n) => {
|
|
3028
|
+
const [l, b] = c.useState(!0), p = () => {
|
|
3029
3029
|
b(!1), o == null || o();
|
|
3030
3030
|
};
|
|
3031
|
-
return l ? /* @__PURE__ */
|
|
3031
|
+
return l ? /* @__PURE__ */ A(
|
|
3032
3032
|
"div",
|
|
3033
3033
|
{
|
|
3034
|
-
ref:
|
|
3034
|
+
ref: n,
|
|
3035
3035
|
role: "alert",
|
|
3036
|
-
className:
|
|
3036
|
+
className: d(
|
|
3037
3037
|
"relative px-5 py-4 mb-4 border rounded",
|
|
3038
3038
|
{
|
|
3039
3039
|
success: "bg-success text-[var(--highlight-color)] border-success",
|
|
@@ -3046,14 +3046,14 @@ const ro = z.string().email("Invalid email address"), to = z.string().min(1, "Th
|
|
|
3046
3046
|
...s,
|
|
3047
3047
|
children: [
|
|
3048
3048
|
a,
|
|
3049
|
-
t && /* @__PURE__ */
|
|
3049
|
+
t && /* @__PURE__ */ i(
|
|
3050
3050
|
"button",
|
|
3051
3051
|
{
|
|
3052
3052
|
type: "button",
|
|
3053
3053
|
className: "absolute top-0 right-0 p-4 text-current opacity-50 hover:opacity-75 focus:outline-none",
|
|
3054
|
-
onClick:
|
|
3054
|
+
onClick: p,
|
|
3055
3055
|
"aria-label": "Close alert",
|
|
3056
|
-
children: /* @__PURE__ */
|
|
3056
|
+
children: /* @__PURE__ */ i("span", { "aria-hidden": "true", children: "×" })
|
|
3057
3057
|
}
|
|
3058
3058
|
)
|
|
3059
3059
|
]
|
|
@@ -3061,28 +3061,28 @@ const ro = z.string().email("Invalid email address"), to = z.string().min(1, "Th
|
|
|
3061
3061
|
) : null;
|
|
3062
3062
|
}
|
|
3063
3063
|
);
|
|
3064
|
-
|
|
3065
|
-
const
|
|
3066
|
-
({ className: e, open: r = !1, onClose: t, size: o = "md", children: a, ...s },
|
|
3067
|
-
const [l, b] =
|
|
3068
|
-
|
|
3064
|
+
dt.displayName = "Alert";
|
|
3065
|
+
const bt = c.forwardRef(
|
|
3066
|
+
({ className: e, open: r = !1, onClose: t, size: o = "md", children: a, ...s }, n) => {
|
|
3067
|
+
const [l, b] = c.useState(r);
|
|
3068
|
+
c.useEffect(() => {
|
|
3069
3069
|
b(r);
|
|
3070
3070
|
}, [r]);
|
|
3071
|
-
const
|
|
3072
|
-
|
|
3071
|
+
const p = (h) => {
|
|
3072
|
+
h.target === h.currentTarget && (b(!1), t == null || t());
|
|
3073
3073
|
};
|
|
3074
|
-
return l ? /* @__PURE__ */
|
|
3074
|
+
return l ? /* @__PURE__ */ i(
|
|
3075
3075
|
"div",
|
|
3076
3076
|
{
|
|
3077
3077
|
className: "fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",
|
|
3078
|
-
onClick:
|
|
3078
|
+
onClick: p,
|
|
3079
3079
|
role: "dialog",
|
|
3080
3080
|
"aria-modal": "true",
|
|
3081
|
-
children: /* @__PURE__ */
|
|
3081
|
+
children: /* @__PURE__ */ i(
|
|
3082
3082
|
"div",
|
|
3083
3083
|
{
|
|
3084
|
-
ref:
|
|
3085
|
-
className:
|
|
3084
|
+
ref: n,
|
|
3085
|
+
className: d(
|
|
3086
3086
|
"relative bg-white rounded p-5 w-full mx-4",
|
|
3087
3087
|
{
|
|
3088
3088
|
sm: "max-w-sm",
|
|
@@ -3092,7 +3092,7 @@ const ct = d.forwardRef(
|
|
|
3092
3092
|
}[o],
|
|
3093
3093
|
e
|
|
3094
3094
|
),
|
|
3095
|
-
onClick: (
|
|
3095
|
+
onClick: (h) => h.stopPropagation(),
|
|
3096
3096
|
...s,
|
|
3097
3097
|
children: a
|
|
3098
3098
|
}
|
|
@@ -3101,34 +3101,34 @@ const ct = d.forwardRef(
|
|
|
3101
3101
|
) : null;
|
|
3102
3102
|
}
|
|
3103
3103
|
);
|
|
3104
|
-
|
|
3105
|
-
const
|
|
3106
|
-
|
|
3107
|
-
const
|
|
3108
|
-
|
|
3109
|
-
const
|
|
3110
|
-
|
|
3111
|
-
const
|
|
3112
|
-
|
|
3113
|
-
const
|
|
3114
|
-
({ className: e, trigger: r, open: t, onOpenChange: o, children: a, ...s },
|
|
3115
|
-
const [l, b] =
|
|
3116
|
-
const
|
|
3117
|
-
b(
|
|
3104
|
+
bt.displayName = "Modal";
|
|
3105
|
+
const pt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("mb-4", e), ...r }));
|
|
3106
|
+
pt.displayName = "ModalHeader";
|
|
3107
|
+
const gt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("h2", { ref: t, className: d("text-2xl font-semibold", e), ...r }));
|
|
3108
|
+
gt.displayName = "ModalTitle";
|
|
3109
|
+
const mt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("mb-4", e), ...r }));
|
|
3110
|
+
mt.displayName = "ModalBody";
|
|
3111
|
+
const ut = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("flex justify-end gap-2", e), ...r }));
|
|
3112
|
+
ut.displayName = "ModalFooter";
|
|
3113
|
+
const ft = c.forwardRef(
|
|
3114
|
+
({ className: e, trigger: r, open: t, onOpenChange: o, children: a, ...s }, n) => {
|
|
3115
|
+
const [l, b] = c.useState(!1), p = c.useRef(null), g = t ?? l, h = () => {
|
|
3116
|
+
const f = !g;
|
|
3117
|
+
b(f), o == null || o(f);
|
|
3118
3118
|
};
|
|
3119
|
-
return
|
|
3120
|
-
const
|
|
3121
|
-
|
|
3119
|
+
return c.useEffect(() => {
|
|
3120
|
+
const f = (y) => {
|
|
3121
|
+
p.current && !p.current.contains(y.target) && (b(!1), o == null || o(!1));
|
|
3122
3122
|
};
|
|
3123
|
-
return
|
|
3124
|
-
document.removeEventListener("mousedown",
|
|
3123
|
+
return g && document.addEventListener("mousedown", f), () => {
|
|
3124
|
+
document.removeEventListener("mousedown", f);
|
|
3125
3125
|
};
|
|
3126
|
-
}, [
|
|
3127
|
-
/* @__PURE__ */
|
|
3128
|
-
|
|
3126
|
+
}, [g, o]), /* @__PURE__ */ A("div", { ref: p, className: d("relative inline-block", e), ...s, children: [
|
|
3127
|
+
/* @__PURE__ */ i("div", { onClick: h, role: "button", tabIndex: 0, children: r }),
|
|
3128
|
+
g && /* @__PURE__ */ i(
|
|
3129
3129
|
"div",
|
|
3130
3130
|
{
|
|
3131
|
-
ref:
|
|
3131
|
+
ref: n,
|
|
3132
3132
|
className: "absolute z-50 mt-1 bg-white border border-black rounded shadow-lg min-w-[8rem]",
|
|
3133
3133
|
role: "menu",
|
|
3134
3134
|
children: a
|
|
@@ -3137,12 +3137,12 @@ const gt = d.forwardRef(
|
|
|
3137
3137
|
] });
|
|
3138
3138
|
}
|
|
3139
3139
|
);
|
|
3140
|
-
|
|
3141
|
-
const
|
|
3140
|
+
ft.displayName = "Dropdown";
|
|
3141
|
+
const ht = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3142
3142
|
"button",
|
|
3143
3143
|
{
|
|
3144
3144
|
ref: t,
|
|
3145
|
-
className:
|
|
3145
|
+
className: d(
|
|
3146
3146
|
"block w-full text-left px-4 py-2 text-base hover:bg-gray-200 focus:bg-gray-200 focus:outline-none",
|
|
3147
3147
|
e
|
|
3148
3148
|
),
|
|
@@ -3150,42 +3150,42 @@ const ut = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
|
|
|
3150
3150
|
...r
|
|
3151
3151
|
}
|
|
3152
3152
|
));
|
|
3153
|
-
|
|
3154
|
-
const
|
|
3155
|
-
({ className: e, brand: r, children: t, ...o }, a) => /* @__PURE__ */
|
|
3153
|
+
ht.displayName = "DropdownItem";
|
|
3154
|
+
const xt = c.forwardRef(
|
|
3155
|
+
({ className: e, brand: r, children: t, ...o }, a) => /* @__PURE__ */ A(
|
|
3156
3156
|
"nav",
|
|
3157
3157
|
{
|
|
3158
3158
|
ref: a,
|
|
3159
|
-
className:
|
|
3159
|
+
className: d(
|
|
3160
3160
|
"relative flex flex-wrap items-center justify-between px-5 py-4 bg-white border-b border-black",
|
|
3161
3161
|
e
|
|
3162
3162
|
),
|
|
3163
3163
|
...o,
|
|
3164
3164
|
children: [
|
|
3165
|
-
r && /* @__PURE__ */
|
|
3166
|
-
/* @__PURE__ */
|
|
3165
|
+
r && /* @__PURE__ */ i("div", { className: "flex items-center", children: r }),
|
|
3166
|
+
/* @__PURE__ */ i("div", { className: "flex items-center", children: t })
|
|
3167
3167
|
]
|
|
3168
3168
|
}
|
|
3169
3169
|
)
|
|
3170
3170
|
);
|
|
3171
|
-
|
|
3172
|
-
const
|
|
3173
|
-
|
|
3174
|
-
const
|
|
3175
|
-
|
|
3176
|
-
const
|
|
3171
|
+
xt.displayName = "Navbar";
|
|
3172
|
+
const vt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("ul", { ref: t, className: d("flex flex-row space-x-4 list-none", e), ...r }));
|
|
3173
|
+
vt.displayName = "NavbarNav";
|
|
3174
|
+
const yt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("li", { ref: t, className: d("", e), ...r }));
|
|
3175
|
+
yt.displayName = "NavbarItem";
|
|
3176
|
+
const wt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3177
3177
|
"a",
|
|
3178
3178
|
{
|
|
3179
3179
|
ref: t,
|
|
3180
|
-
className:
|
|
3180
|
+
className: d(
|
|
3181
3181
|
"block px-2 py-2 text-base text-black no-underline hover:text-primary focus:outline-none",
|
|
3182
3182
|
e
|
|
3183
3183
|
),
|
|
3184
3184
|
...r
|
|
3185
3185
|
}
|
|
3186
3186
|
));
|
|
3187
|
-
|
|
3188
|
-
const
|
|
3187
|
+
wt.displayName = "NavbarLink";
|
|
3188
|
+
const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3189
3189
|
const a = {
|
|
3190
3190
|
sm: "h-3.5 w-3.5",
|
|
3191
3191
|
base: "h-4 w-4",
|
|
@@ -3195,11 +3195,11 @@ const yt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3195
3195
|
base: "h-3 w-3",
|
|
3196
3196
|
lg: "h-4 w-4"
|
|
3197
3197
|
};
|
|
3198
|
-
return /* @__PURE__ */
|
|
3199
|
-
|
|
3198
|
+
return /* @__PURE__ */ i(
|
|
3199
|
+
se.Root,
|
|
3200
3200
|
{
|
|
3201
3201
|
ref: o,
|
|
3202
|
-
className:
|
|
3202
|
+
className: d(
|
|
3203
3203
|
"peer shrink-0 rounded border-2 border-black bg-white transition-colors",
|
|
3204
3204
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3205
3205
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -3208,18 +3208,18 @@ const yt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3208
3208
|
e
|
|
3209
3209
|
),
|
|
3210
3210
|
...t,
|
|
3211
|
-
children: /* @__PURE__ */
|
|
3212
|
-
|
|
3211
|
+
children: /* @__PURE__ */ i(
|
|
3212
|
+
se.Indicator,
|
|
3213
3213
|
{
|
|
3214
|
-
className:
|
|
3215
|
-
children: /* @__PURE__ */
|
|
3214
|
+
className: d("flex items-center justify-center text-current"),
|
|
3215
|
+
children: /* @__PURE__ */ i(
|
|
3216
3216
|
"svg",
|
|
3217
3217
|
{
|
|
3218
3218
|
className: s[r],
|
|
3219
3219
|
viewBox: "0 0 12 12",
|
|
3220
3220
|
fill: "none",
|
|
3221
3221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3222
|
-
children: /* @__PURE__ */
|
|
3222
|
+
children: /* @__PURE__ */ i(
|
|
3223
3223
|
"path",
|
|
3224
3224
|
{
|
|
3225
3225
|
d: "M10 3L4.5 8.5L2 6",
|
|
@@ -3236,17 +3236,17 @@ const yt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3236
3236
|
}
|
|
3237
3237
|
);
|
|
3238
3238
|
});
|
|
3239
|
-
|
|
3240
|
-
const
|
|
3241
|
-
|
|
3239
|
+
kt.displayName = se.Root.displayName;
|
|
3240
|
+
const Nt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => /* @__PURE__ */ i(
|
|
3241
|
+
D.Root,
|
|
3242
3242
|
{
|
|
3243
|
-
className:
|
|
3243
|
+
className: d("grid gap-2", e),
|
|
3244
3244
|
...t,
|
|
3245
3245
|
ref: o
|
|
3246
3246
|
}
|
|
3247
3247
|
));
|
|
3248
|
-
|
|
3249
|
-
const
|
|
3248
|
+
Nt.displayName = D.Root.displayName;
|
|
3249
|
+
const Ct = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3250
3250
|
const a = {
|
|
3251
3251
|
sm: "h-3.5 w-3.5",
|
|
3252
3252
|
base: "h-4 w-4",
|
|
@@ -3256,11 +3256,11 @@ const Nt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3256
3256
|
base: "h-2 w-2",
|
|
3257
3257
|
lg: "h-2.5 w-2.5"
|
|
3258
3258
|
};
|
|
3259
|
-
return /* @__PURE__ */
|
|
3260
|
-
|
|
3259
|
+
return /* @__PURE__ */ i(
|
|
3260
|
+
D.Item,
|
|
3261
3261
|
{
|
|
3262
3262
|
ref: o,
|
|
3263
|
-
className:
|
|
3263
|
+
className: d(
|
|
3264
3264
|
"aspect-square rounded-full border-2 border-black bg-white transition-colors",
|
|
3265
3265
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3266
3266
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -3269,12 +3269,12 @@ const Nt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3269
3269
|
e
|
|
3270
3270
|
),
|
|
3271
3271
|
...t,
|
|
3272
|
-
children: /* @__PURE__ */
|
|
3272
|
+
children: /* @__PURE__ */ i(D.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ i("div", { className: d("rounded-full bg-primary", s[r]) }) })
|
|
3273
3273
|
}
|
|
3274
3274
|
);
|
|
3275
3275
|
});
|
|
3276
|
-
|
|
3277
|
-
const
|
|
3276
|
+
Ct.displayName = D.Item.displayName;
|
|
3277
|
+
const Rt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3278
3278
|
const a = {
|
|
3279
3279
|
sm: "h-4 w-7",
|
|
3280
3280
|
base: "h-5 w-9",
|
|
@@ -3284,10 +3284,10 @@ const kt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3284
3284
|
base: "h-4 w-4",
|
|
3285
3285
|
lg: "h-5 w-5"
|
|
3286
3286
|
};
|
|
3287
|
-
return /* @__PURE__ */
|
|
3288
|
-
|
|
3287
|
+
return /* @__PURE__ */ i(
|
|
3288
|
+
ne.Root,
|
|
3289
3289
|
{
|
|
3290
|
-
className:
|
|
3290
|
+
className: d(
|
|
3291
3291
|
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-black bg-white transition-colors",
|
|
3292
3292
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3293
3293
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -3297,10 +3297,10 @@ const kt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3297
3297
|
),
|
|
3298
3298
|
...t,
|
|
3299
3299
|
ref: o,
|
|
3300
|
-
children: /* @__PURE__ */
|
|
3301
|
-
|
|
3300
|
+
children: /* @__PURE__ */ i(
|
|
3301
|
+
ne.Thumb,
|
|
3302
3302
|
{
|
|
3303
|
-
className:
|
|
3303
|
+
className: d(
|
|
3304
3304
|
"pointer-events-none block rounded-full bg-black transition-transform",
|
|
3305
3305
|
"translate-x-0.5 will-change-transform",
|
|
3306
3306
|
"data-[state=checked]:translate-x-[calc(100%-0.125rem)] data-[state=checked]:bg-white",
|
|
@@ -3311,37 +3311,37 @@ const kt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
);
|
|
3313
3313
|
});
|
|
3314
|
-
|
|
3315
|
-
const
|
|
3316
|
-
const
|
|
3314
|
+
Rt.displayName = ne.Root.displayName;
|
|
3315
|
+
const uo = C.Root, fo = C.Group, ho = C.Value, St = c.forwardRef(({ className: e, children: r, size: t = "base", error: o = !1, ...a }, s) => {
|
|
3316
|
+
const n = {
|
|
3317
3317
|
sm: "h-8 px-2 text-sm",
|
|
3318
3318
|
base: "h-10 px-3 text-base",
|
|
3319
3319
|
lg: "h-12 px-4 text-lg"
|
|
3320
3320
|
};
|
|
3321
|
-
return /* @__PURE__ */
|
|
3321
|
+
return /* @__PURE__ */ A(
|
|
3322
3322
|
C.Trigger,
|
|
3323
3323
|
{
|
|
3324
3324
|
ref: s,
|
|
3325
|
-
className:
|
|
3325
|
+
className: d(
|
|
3326
3326
|
"flex w-full items-center justify-between rounded border-2 border-black bg-white",
|
|
3327
3327
|
"placeholder:text-gray-500",
|
|
3328
3328
|
"focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",
|
|
3329
3329
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
3330
3330
|
o && "border-danger focus:ring-danger",
|
|
3331
|
-
|
|
3331
|
+
n[t],
|
|
3332
3332
|
e
|
|
3333
3333
|
),
|
|
3334
3334
|
...a,
|
|
3335
3335
|
children: [
|
|
3336
3336
|
r,
|
|
3337
|
-
/* @__PURE__ */
|
|
3337
|
+
/* @__PURE__ */ i(C.Icon, { asChild: !0, children: /* @__PURE__ */ i(
|
|
3338
3338
|
"svg",
|
|
3339
3339
|
{
|
|
3340
3340
|
className: "h-4 w-4 opacity-50",
|
|
3341
3341
|
viewBox: "0 0 12 12",
|
|
3342
3342
|
fill: "none",
|
|
3343
3343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3344
|
-
children: /* @__PURE__ */
|
|
3344
|
+
children: /* @__PURE__ */ i(
|
|
3345
3345
|
"path",
|
|
3346
3346
|
{
|
|
3347
3347
|
d: "M3 4.5L6 7.5L9 4.5",
|
|
@@ -3357,22 +3357,22 @@ const po = C.Root, mo = C.Group, go = C.Value, Ct = d.forwardRef(({ className: e
|
|
|
3357
3357
|
}
|
|
3358
3358
|
);
|
|
3359
3359
|
});
|
|
3360
|
-
|
|
3361
|
-
const
|
|
3360
|
+
St.displayName = C.Trigger.displayName;
|
|
3361
|
+
const zt = c.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, a) => /* @__PURE__ */ i(C.Portal, { children: /* @__PURE__ */ i(
|
|
3362
3362
|
C.Content,
|
|
3363
3363
|
{
|
|
3364
3364
|
ref: a,
|
|
3365
|
-
className:
|
|
3365
|
+
className: d(
|
|
3366
3366
|
"relative z-50 min-w-[8rem] overflow-hidden rounded border-2 border-black bg-white shadow-lg",
|
|
3367
3367
|
t === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
3368
3368
|
e
|
|
3369
3369
|
),
|
|
3370
3370
|
position: t,
|
|
3371
3371
|
...o,
|
|
3372
|
-
children: /* @__PURE__ */
|
|
3372
|
+
children: /* @__PURE__ */ i(
|
|
3373
3373
|
C.Viewport,
|
|
3374
3374
|
{
|
|
3375
|
-
className:
|
|
3375
|
+
className: d(
|
|
3376
3376
|
"p-1",
|
|
3377
3377
|
t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
3378
3378
|
),
|
|
@@ -3381,36 +3381,36 @@ const Rt = d.forwardRef(({ className: e, children: r, position: t = "popper", ..
|
|
|
3381
3381
|
)
|
|
3382
3382
|
}
|
|
3383
3383
|
) }));
|
|
3384
|
-
|
|
3385
|
-
const
|
|
3384
|
+
zt.displayName = C.Content.displayName;
|
|
3385
|
+
const It = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ i(
|
|
3386
3386
|
C.Item,
|
|
3387
3387
|
{
|
|
3388
3388
|
ref: o,
|
|
3389
|
-
className:
|
|
3389
|
+
className: d(
|
|
3390
3390
|
"relative flex w-full cursor-pointer select-none items-center rounded px-2.5 py-1.5 text-sm outline-none",
|
|
3391
3391
|
"focus:bg-primary focus:text-white",
|
|
3392
3392
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
3393
3393
|
e
|
|
3394
3394
|
),
|
|
3395
3395
|
...t,
|
|
3396
|
-
children: /* @__PURE__ */
|
|
3396
|
+
children: /* @__PURE__ */ i(C.ItemText, { children: r })
|
|
3397
3397
|
}
|
|
3398
3398
|
));
|
|
3399
|
-
|
|
3400
|
-
const
|
|
3399
|
+
It.displayName = C.Item.displayName;
|
|
3400
|
+
const Mt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3401
3401
|
C.Separator,
|
|
3402
3402
|
{
|
|
3403
3403
|
ref: t,
|
|
3404
|
-
className:
|
|
3404
|
+
className: d("-mx-1 my-1 h-px bg-gray-300", e),
|
|
3405
3405
|
...r
|
|
3406
3406
|
}
|
|
3407
3407
|
));
|
|
3408
|
-
|
|
3409
|
-
const
|
|
3410
|
-
({ className: e, error: r = !1, size: t = "base", ...o }, a) => /* @__PURE__ */
|
|
3408
|
+
Mt.displayName = C.Separator.displayName;
|
|
3409
|
+
const At = c.forwardRef(
|
|
3410
|
+
({ className: e, error: r = !1, size: t = "base", ...o }, a) => /* @__PURE__ */ i(
|
|
3411
3411
|
"textarea",
|
|
3412
3412
|
{
|
|
3413
|
-
className:
|
|
3413
|
+
className: d(
|
|
3414
3414
|
"flex min-h-[80px] w-full rounded border-2 border-black bg-white px-3 py-2 text-base",
|
|
3415
3415
|
"placeholder:text-gray-500",
|
|
3416
3416
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
@@ -3428,8 +3428,8 @@ const Mt = d.forwardRef(
|
|
|
3428
3428
|
}
|
|
3429
3429
|
)
|
|
3430
3430
|
);
|
|
3431
|
-
|
|
3432
|
-
const
|
|
3431
|
+
At.displayName = "Textarea";
|
|
3432
|
+
const Tt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3433
3433
|
const a = {
|
|
3434
3434
|
sm: "h-1",
|
|
3435
3435
|
base: "h-2",
|
|
@@ -3439,22 +3439,22 @@ const It = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3439
3439
|
base: "h-5 w-5",
|
|
3440
3440
|
lg: "h-6 w-6"
|
|
3441
3441
|
};
|
|
3442
|
-
return /* @__PURE__ */
|
|
3442
|
+
return /* @__PURE__ */ A(
|
|
3443
3443
|
U.Root,
|
|
3444
3444
|
{
|
|
3445
3445
|
ref: o,
|
|
3446
|
-
className:
|
|
3446
|
+
className: d(
|
|
3447
3447
|
"relative flex w-full touch-none select-none items-center",
|
|
3448
3448
|
a[r],
|
|
3449
3449
|
e
|
|
3450
3450
|
),
|
|
3451
3451
|
...t,
|
|
3452
3452
|
children: [
|
|
3453
|
-
/* @__PURE__ */
|
|
3454
|
-
/* @__PURE__ */
|
|
3453
|
+
/* @__PURE__ */ i(U.Track, { className: "relative h-full w-full grow rounded-full bg-gray-300", children: /* @__PURE__ */ i(U.Range, { className: "absolute h-full rounded-full bg-primary" }) }),
|
|
3454
|
+
/* @__PURE__ */ i(
|
|
3455
3455
|
U.Thumb,
|
|
3456
3456
|
{
|
|
3457
|
-
className:
|
|
3457
|
+
className: d(
|
|
3458
3458
|
"block rounded-full border-2 border-black bg-white transition-colors",
|
|
3459
3459
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3460
3460
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -3466,44 +3466,44 @@ const It = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3466
3466
|
}
|
|
3467
3467
|
);
|
|
3468
3468
|
});
|
|
3469
|
-
|
|
3470
|
-
const
|
|
3469
|
+
Tt.displayName = U.Root.displayName;
|
|
3470
|
+
const Pt = c.forwardRef(
|
|
3471
3471
|
({ className: e, separator: r = "/", children: t, ...o }, a) => {
|
|
3472
|
-
const s =
|
|
3473
|
-
return /* @__PURE__ */
|
|
3472
|
+
const s = c.Children.toArray(t);
|
|
3473
|
+
return /* @__PURE__ */ i(
|
|
3474
3474
|
"nav",
|
|
3475
3475
|
{
|
|
3476
3476
|
ref: a,
|
|
3477
3477
|
"aria-label": "Breadcrumb",
|
|
3478
|
-
className:
|
|
3478
|
+
className: d("flex items-center space-x-2", e),
|
|
3479
3479
|
...o,
|
|
3480
|
-
children: /* @__PURE__ */
|
|
3480
|
+
children: /* @__PURE__ */ i("ol", { className: "flex items-center space-x-2", children: c.Children.map(t, (n, l) => {
|
|
3481
3481
|
const b = l === s.length - 1;
|
|
3482
|
-
return /* @__PURE__ */
|
|
3483
|
-
|
|
3484
|
-
!b && /* @__PURE__ */
|
|
3482
|
+
return /* @__PURE__ */ A("li", { className: "flex items-center", children: [
|
|
3483
|
+
n,
|
|
3484
|
+
!b && /* @__PURE__ */ i("span", { className: "mx-2 text-gray-500", "aria-hidden": "true", children: r })
|
|
3485
3485
|
] }, l);
|
|
3486
3486
|
}) })
|
|
3487
3487
|
}
|
|
3488
3488
|
);
|
|
3489
3489
|
}
|
|
3490
3490
|
);
|
|
3491
|
-
|
|
3492
|
-
const
|
|
3493
|
-
({ className: e, active: r = !1, ...t }, o) => r ? /* @__PURE__ */
|
|
3491
|
+
Pt.displayName = "Breadcrumbs";
|
|
3492
|
+
const jt = c.forwardRef(
|
|
3493
|
+
({ className: e, active: r = !1, ...t }, o) => r ? /* @__PURE__ */ i(
|
|
3494
3494
|
"span",
|
|
3495
3495
|
{
|
|
3496
3496
|
ref: o,
|
|
3497
|
-
className:
|
|
3497
|
+
className: d("text-gray-500", e),
|
|
3498
3498
|
"aria-current": "page",
|
|
3499
3499
|
...t,
|
|
3500
3500
|
children: t.children
|
|
3501
3501
|
}
|
|
3502
|
-
) : /* @__PURE__ */
|
|
3502
|
+
) : /* @__PURE__ */ i(
|
|
3503
3503
|
"a",
|
|
3504
3504
|
{
|
|
3505
3505
|
ref: o,
|
|
3506
|
-
className:
|
|
3506
|
+
className: d(
|
|
3507
3507
|
"text-black hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3508
3508
|
e
|
|
3509
3509
|
),
|
|
@@ -3511,8 +3511,8 @@ const At = d.forwardRef(
|
|
|
3511
3511
|
}
|
|
3512
3512
|
)
|
|
3513
3513
|
);
|
|
3514
|
-
|
|
3515
|
-
const
|
|
3514
|
+
jt.displayName = "BreadcrumbItem";
|
|
3515
|
+
const Et = c.forwardRef(
|
|
3516
3516
|
({
|
|
3517
3517
|
className: e,
|
|
3518
3518
|
currentPage: r,
|
|
@@ -3520,25 +3520,25 @@ const Pt = d.forwardRef(
|
|
|
3520
3520
|
onPageChange: o,
|
|
3521
3521
|
showFirstLast: a = !0,
|
|
3522
3522
|
maxVisible: s = 5,
|
|
3523
|
-
...
|
|
3523
|
+
...n
|
|
3524
3524
|
}, l) => {
|
|
3525
|
-
const
|
|
3526
|
-
const
|
|
3527
|
-
let
|
|
3528
|
-
|
|
3529
|
-
for (let R =
|
|
3530
|
-
|
|
3531
|
-
return
|
|
3525
|
+
const p = (() => {
|
|
3526
|
+
const g = [], h = Math.floor(s / 2);
|
|
3527
|
+
let f = Math.max(1, r - h), y = Math.min(t, r + h);
|
|
3528
|
+
y - f < s - 1 && (f === 1 ? y = Math.min(t, f + s - 1) : f = Math.max(1, y - s + 1)), f > 1 && a && (g.push(1), f > 2 && g.push("ellipsis-start"));
|
|
3529
|
+
for (let R = f; R <= y; R++)
|
|
3530
|
+
g.push(R);
|
|
3531
|
+
return y < t && a && (y < t - 1 && g.push("ellipsis-end"), g.push(t)), g;
|
|
3532
3532
|
})();
|
|
3533
|
-
return /* @__PURE__ */
|
|
3533
|
+
return /* @__PURE__ */ A(
|
|
3534
3534
|
"nav",
|
|
3535
3535
|
{
|
|
3536
3536
|
ref: l,
|
|
3537
3537
|
"aria-label": "Pagination",
|
|
3538
|
-
className:
|
|
3539
|
-
...
|
|
3538
|
+
className: d("flex items-center justify-center gap-1", e),
|
|
3539
|
+
...n,
|
|
3540
3540
|
children: [
|
|
3541
|
-
/* @__PURE__ */
|
|
3541
|
+
/* @__PURE__ */ i(
|
|
3542
3542
|
K,
|
|
3543
3543
|
{
|
|
3544
3544
|
onClick: () => o(r - 1),
|
|
@@ -3547,18 +3547,18 @@ const Pt = d.forwardRef(
|
|
|
3547
3547
|
children: "‹"
|
|
3548
3548
|
}
|
|
3549
3549
|
),
|
|
3550
|
-
|
|
3550
|
+
p.map((g, h) => typeof g == "string" ? /* @__PURE__ */ i("span", { className: "px-2 text-gray-500", children: "..." }, h) : /* @__PURE__ */ i(
|
|
3551
3551
|
K,
|
|
3552
3552
|
{
|
|
3553
|
-
onClick: () => o(
|
|
3554
|
-
active:
|
|
3555
|
-
"aria-label": `Page ${
|
|
3556
|
-
"aria-current":
|
|
3557
|
-
children:
|
|
3553
|
+
onClick: () => o(g),
|
|
3554
|
+
active: g === r,
|
|
3555
|
+
"aria-label": `Page ${g}`,
|
|
3556
|
+
"aria-current": g === r ? "page" : void 0,
|
|
3557
|
+
children: g
|
|
3558
3558
|
},
|
|
3559
|
-
|
|
3559
|
+
g
|
|
3560
3560
|
)),
|
|
3561
|
-
/* @__PURE__ */
|
|
3561
|
+
/* @__PURE__ */ i(
|
|
3562
3562
|
K,
|
|
3563
3563
|
{
|
|
3564
3564
|
onClick: () => o(r + 1),
|
|
@@ -3572,12 +3572,12 @@ const Pt = d.forwardRef(
|
|
|
3572
3572
|
);
|
|
3573
3573
|
}
|
|
3574
3574
|
);
|
|
3575
|
-
|
|
3576
|
-
const K =
|
|
3575
|
+
Et.displayName = "Pagination";
|
|
3576
|
+
const K = c.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE__ */ i(
|
|
3577
3577
|
"button",
|
|
3578
3578
|
{
|
|
3579
3579
|
ref: o,
|
|
3580
|
-
className:
|
|
3580
|
+
className: d(
|
|
3581
3581
|
"min-h-[2.75rem] min-w-[2.75rem] rounded border-2 border-black px-3 py-2 text-base font-medium transition-colors",
|
|
3582
3582
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3583
3583
|
r ? "bg-primary text-white border-primary" : "bg-white text-black hover:bg-gray-200",
|
|
@@ -3588,25 +3588,25 @@ const K = d.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE
|
|
|
3588
3588
|
}
|
|
3589
3589
|
));
|
|
3590
3590
|
K.displayName = "PaginationButton";
|
|
3591
|
-
const
|
|
3591
|
+
const xo = G.Root, Gt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ i(
|
|
3592
3592
|
G.List,
|
|
3593
3593
|
{
|
|
3594
3594
|
ref: o,
|
|
3595
|
-
className:
|
|
3596
|
-
"inline-flex items-center justify-center
|
|
3597
|
-
r === "default" && "border-2 border-black",
|
|
3598
|
-
r === "pills" && "bg-gray-200 p-1",
|
|
3595
|
+
className: d(
|
|
3596
|
+
"inline-flex items-center justify-center",
|
|
3597
|
+
r === "default" && "border-2 border-black rounded-t",
|
|
3598
|
+
r === "pills" && "bg-gray-200 p-1 rounded",
|
|
3599
3599
|
e
|
|
3600
3600
|
),
|
|
3601
3601
|
...t
|
|
3602
3602
|
}
|
|
3603
3603
|
));
|
|
3604
|
-
|
|
3605
|
-
const Lt =
|
|
3604
|
+
Gt.displayName = G.List.displayName;
|
|
3605
|
+
const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ i(
|
|
3606
3606
|
G.Trigger,
|
|
3607
3607
|
{
|
|
3608
3608
|
ref: o,
|
|
3609
|
-
className:
|
|
3609
|
+
className: d(
|
|
3610
3610
|
"inline-flex items-center justify-center whitespace-nowrap rounded px-4 py-2 text-base font-medium transition-colors",
|
|
3611
3611
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3612
3612
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
@@ -3618,80 +3618,176 @@ const Lt = d.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /
|
|
|
3618
3618
|
}
|
|
3619
3619
|
));
|
|
3620
3620
|
Lt.displayName = G.Trigger.displayName;
|
|
3621
|
-
const
|
|
3621
|
+
const Ft = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3622
3622
|
G.Content,
|
|
3623
3623
|
{
|
|
3624
3624
|
ref: t,
|
|
3625
|
-
className:
|
|
3625
|
+
className: d(
|
|
3626
3626
|
"mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3627
3627
|
e
|
|
3628
3628
|
),
|
|
3629
3629
|
...r
|
|
3630
3630
|
}
|
|
3631
3631
|
));
|
|
3632
|
-
|
|
3633
|
-
const
|
|
3634
|
-
|
|
3632
|
+
Ft.displayName = G.Content.displayName;
|
|
3633
|
+
const Ge = c.createContext("base"), Q = c.createContext(void 0), Bt = c.forwardRef(({ className: e, size: r = "base", theme: t, ...o }, a) => /* @__PURE__ */ i(Ge.Provider, { value: r, children: /* @__PURE__ */ i(Q.Provider, { value: t, children: /* @__PURE__ */ i(
|
|
3634
|
+
E.Root,
|
|
3635
3635
|
{
|
|
3636
|
-
ref:
|
|
3637
|
-
className:
|
|
3638
|
-
...
|
|
3636
|
+
ref: a,
|
|
3637
|
+
className: d("bg-transparent", e),
|
|
3638
|
+
...o
|
|
3639
3639
|
}
|
|
3640
|
-
));
|
|
3641
|
-
|
|
3642
|
-
const
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3640
|
+
) }) }));
|
|
3641
|
+
Bt.displayName = "Accordion";
|
|
3642
|
+
const Ht = c.forwardRef(({ className: e, ...r }, t) => {
|
|
3643
|
+
const a = c.useContext(Q) === "dark";
|
|
3644
|
+
return /* @__PURE__ */ i(
|
|
3645
|
+
E.Item,
|
|
3646
|
+
{
|
|
3647
|
+
ref: t,
|
|
3648
|
+
className: d(
|
|
3649
|
+
"bg-transparent",
|
|
3650
|
+
a ? "text-white" : "text-black",
|
|
3651
|
+
"first:rounded-t-[0.375rem]",
|
|
3652
|
+
// border-radius from variables (0.375rem = base)
|
|
3653
|
+
"last:rounded-b-[0.375rem] last:border-b-2 last:mb-0",
|
|
3654
|
+
a ? "last:border-white" : "last:border-black",
|
|
3655
|
+
e
|
|
3656
|
+
),
|
|
3657
|
+
...r
|
|
3658
|
+
}
|
|
3659
|
+
);
|
|
3660
|
+
});
|
|
3661
|
+
Ht.displayName = "AccordionItem";
|
|
3662
|
+
const Wt = c.forwardRef(({ className: e, children: r, ...t }, o) => {
|
|
3663
|
+
const a = c.useContext(Ge), s = c.useContext(Q), n = c.useRef(null), [l, b] = c.useState(!1), p = s === "dark";
|
|
3664
|
+
c.useImperativeHandle(o, () => n.current), c.useEffect(() => {
|
|
3665
|
+
const f = n.current;
|
|
3666
|
+
if (!f) return;
|
|
3667
|
+
const y = new MutationObserver(() => {
|
|
3668
|
+
b(f.getAttribute("data-state") === "open");
|
|
3669
|
+
});
|
|
3670
|
+
return y.observe(f, {
|
|
3671
|
+
attributes: !0,
|
|
3672
|
+
attributeFilter: ["data-state"]
|
|
3673
|
+
}), b(f.getAttribute("data-state") === "open"), () => y.disconnect();
|
|
3674
|
+
}, []);
|
|
3675
|
+
const h = {
|
|
3676
|
+
sm: {
|
|
3677
|
+
fontSize: "text-[1.125rem]",
|
|
3678
|
+
// h5: 18px
|
|
3679
|
+
lineHeight: "leading-[calc(20/18)]",
|
|
3680
|
+
// h5-line-height
|
|
3681
|
+
letterSpacing: "tracking-[-0.0125rem]"
|
|
3682
|
+
// h5-spacing
|
|
3683
|
+
},
|
|
3684
|
+
base: {
|
|
3685
|
+
fontSize: "text-[1.5rem]",
|
|
3686
|
+
// h3: 24px
|
|
3687
|
+
lineHeight: "",
|
|
3688
|
+
// null/inherit
|
|
3689
|
+
letterSpacing: "tracking-[-0.03125rem]"
|
|
3690
|
+
// h3-spacing
|
|
3691
|
+
},
|
|
3692
|
+
lg: {
|
|
3693
|
+
fontSize: "text-[1.875rem]",
|
|
3694
|
+
// h2: 30px
|
|
3695
|
+
lineHeight: "leading-[calc(40/30)]",
|
|
3696
|
+
// calc(40/30)
|
|
3697
|
+
letterSpacing: "tracking-[-0.05rem]"
|
|
3698
|
+
// h2-spacing
|
|
3699
|
+
}
|
|
3700
|
+
}[a];
|
|
3701
|
+
return /* @__PURE__ */ i(E.Header, { className: d("flex m-0 border-t-2", p ? "border-white" : "border-black"), children: /* @__PURE__ */ A(
|
|
3702
|
+
E.Trigger,
|
|
3703
|
+
{
|
|
3704
|
+
ref: n,
|
|
3705
|
+
className: d(
|
|
3706
|
+
"relative flex flex-1 items-center w-full text-left",
|
|
3707
|
+
"py-2.5 px-0",
|
|
3708
|
+
// spacer * 0.5 = 10px vertical, 0 horizontal
|
|
3709
|
+
"bg-transparent border-0 rounded-none",
|
|
3710
|
+
"font-bold transition-all overflow-anchor-none",
|
|
3711
|
+
h.fontSize,
|
|
3712
|
+
h.lineHeight,
|
|
3713
|
+
h.letterSpacing,
|
|
3714
|
+
p ? "text-white" : "text-black",
|
|
3715
|
+
"hover:z-[2]",
|
|
3716
|
+
p ? "hover:bg-gray-900 hover:text-white" : "hover:bg-gray-300 hover:text-black",
|
|
3717
|
+
"focus-visible:z-[5] focus-visible:outline-none",
|
|
3718
|
+
"focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
3719
|
+
p ? "focus-visible:ring-supporting-orange" : "focus-visible:ring-primary",
|
|
3720
|
+
"data-[state=open]:bg-transparent",
|
|
3721
|
+
p ? "data-[state=open]:text-white" : "data-[state=open]:text-black",
|
|
3722
|
+
"first:rounded-t-[0.375rem]",
|
|
3723
|
+
// inner border radius for first item
|
|
3724
|
+
"last:data-[state=closed]:rounded-b-[0.375rem]",
|
|
3725
|
+
// inner border radius for last item when collapsed
|
|
3726
|
+
e
|
|
3727
|
+
),
|
|
3728
|
+
...t,
|
|
3729
|
+
children: [
|
|
3730
|
+
r,
|
|
3731
|
+
/* @__PURE__ */ i(
|
|
3732
|
+
"span",
|
|
3733
|
+
{
|
|
3734
|
+
className: d(
|
|
3735
|
+
"ml-auto mr-0 w-0 h-0 inline-block self-center",
|
|
3736
|
+
"border-t-[0.25rem] border-t-transparent",
|
|
3737
|
+
"border-b-[0.25rem] border-b-transparent",
|
|
3738
|
+
"border-l-[0.25rem]",
|
|
3739
|
+
p ? "border-l-white" : "border-l-black",
|
|
3740
|
+
"transition-transform duration-200 origin-center",
|
|
3741
|
+
"translate-y-[calc(0.125rem*0.5)]",
|
|
3742
|
+
// translateY(calc(border-width * 0.5))
|
|
3743
|
+
l && "rotate-90"
|
|
3744
|
+
// Rotate 90 degrees when open (right arrow becomes down arrow)
|
|
3745
|
+
),
|
|
3746
|
+
"aria-hidden": "true"
|
|
3747
|
+
}
|
|
3748
|
+
)
|
|
3749
|
+
]
|
|
3750
|
+
}
|
|
3751
|
+
) });
|
|
3752
|
+
});
|
|
3753
|
+
Wt.displayName = E.Trigger.displayName;
|
|
3754
|
+
const Vt = c.forwardRef(({ className: e, children: r, ...t }, o) => {
|
|
3755
|
+
const s = c.useContext(Q) === "dark";
|
|
3756
|
+
return /* @__PURE__ */ i(
|
|
3757
|
+
E.Content,
|
|
3758
|
+
{
|
|
3759
|
+
ref: o,
|
|
3760
|
+
className: d(
|
|
3761
|
+
"overflow-hidden transition-all",
|
|
3762
|
+
"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
3763
|
+
"last:rounded-b-[0.375rem]",
|
|
3764
|
+
// border radius for last item content
|
|
3765
|
+
e
|
|
3766
|
+
),
|
|
3767
|
+
...t,
|
|
3768
|
+
children: /* @__PURE__ */ i(
|
|
3769
|
+
"div",
|
|
3657
3770
|
{
|
|
3658
|
-
className:
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
d: "M3 4.5L6 7.5L9 4.5",
|
|
3666
|
-
stroke: "currentColor",
|
|
3667
|
-
strokeWidth: "2",
|
|
3668
|
-
strokeLinecap: "round",
|
|
3669
|
-
strokeLinejoin: "round"
|
|
3670
|
-
}
|
|
3671
|
-
)
|
|
3771
|
+
className: d(
|
|
3772
|
+
"pt-5 pb-7.5 px-0",
|
|
3773
|
+
// pt: spacer (20px), pb: spacer * 1.5 (30px), px: 0
|
|
3774
|
+
s ? "!text-white [&_*]:!text-white" : "text-black",
|
|
3775
|
+
e
|
|
3776
|
+
),
|
|
3777
|
+
children: r
|
|
3672
3778
|
}
|
|
3673
3779
|
)
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
const
|
|
3679
|
-
|
|
3680
|
-
{
|
|
3681
|
-
ref: o,
|
|
3682
|
-
className: "overflow-hidden text-base transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
3683
|
-
...t,
|
|
3684
|
-
children: /* @__PURE__ */ n("div", { className: c("pb-4 pt-0", e), children: r })
|
|
3685
|
-
}
|
|
3686
|
-
));
|
|
3687
|
-
Ft.displayName = L.Content.displayName;
|
|
3688
|
-
const ho = q.Root, vo = q.Trigger, Wt = d.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ n(q.Portal, { children: /* @__PURE__ */ n(
|
|
3689
|
-
q.Content,
|
|
3780
|
+
}
|
|
3781
|
+
);
|
|
3782
|
+
});
|
|
3783
|
+
Vt.displayName = E.Content.displayName;
|
|
3784
|
+
const vo = _.Root, yo = _.Trigger, Ut = c.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ i(_.Portal, { children: /* @__PURE__ */ i(
|
|
3785
|
+
_.Content,
|
|
3690
3786
|
{
|
|
3691
3787
|
ref: a,
|
|
3692
3788
|
align: r,
|
|
3693
3789
|
sideOffset: t,
|
|
3694
|
-
className:
|
|
3790
|
+
className: d(
|
|
3695
3791
|
"z-50 w-72 rounded border-2 border-black bg-white p-4 shadow-lg",
|
|
3696
3792
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
3697
3793
|
e
|
|
@@ -3699,13 +3795,13 @@ const ho = q.Root, vo = q.Trigger, Wt = d.forwardRef(({ className: e, align: r =
|
|
|
3699
3795
|
...o
|
|
3700
3796
|
}
|
|
3701
3797
|
) }));
|
|
3702
|
-
|
|
3703
|
-
const
|
|
3704
|
-
|
|
3798
|
+
Ut.displayName = _.Content.displayName;
|
|
3799
|
+
const wo = O.Provider, ko = O.Root, No = O.Trigger, $t = c.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ i(
|
|
3800
|
+
O.Content,
|
|
3705
3801
|
{
|
|
3706
3802
|
ref: o,
|
|
3707
3803
|
sideOffset: r,
|
|
3708
|
-
className:
|
|
3804
|
+
className: d(
|
|
3709
3805
|
"z-50 overflow-hidden rounded border-2 border-black bg-black px-3 py-1.5 text-sm text-white shadow-md",
|
|
3710
3806
|
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
3711
3807
|
e
|
|
@@ -3713,8 +3809,8 @@ const xo = D.Provider, yo = D.Root, wo = D.Trigger, Ht = d.forwardRef(({ classNa
|
|
|
3713
3809
|
...t
|
|
3714
3810
|
}
|
|
3715
3811
|
));
|
|
3716
|
-
|
|
3717
|
-
const
|
|
3812
|
+
$t.displayName = O.Content.displayName;
|
|
3813
|
+
const Dt = c.forwardRef(
|
|
3718
3814
|
({ className: e, variant: r = "primary", size: t = "base", ...o }, a) => {
|
|
3719
3815
|
const s = {
|
|
3720
3816
|
primary: "bg-primary text-white",
|
|
@@ -3725,19 +3821,19 @@ const Vt = d.forwardRef(
|
|
|
3725
3821
|
info: "bg-info text-white",
|
|
3726
3822
|
light: "bg-light text-black",
|
|
3727
3823
|
dark: "bg-dark text-white"
|
|
3728
|
-
},
|
|
3824
|
+
}, n = {
|
|
3729
3825
|
sm: "px-2 py-0.5 text-xs",
|
|
3730
3826
|
base: "px-2.5 py-1 text-sm",
|
|
3731
3827
|
lg: "px-3 py-1.5 text-base"
|
|
3732
3828
|
};
|
|
3733
|
-
return /* @__PURE__ */
|
|
3829
|
+
return /* @__PURE__ */ i(
|
|
3734
3830
|
"span",
|
|
3735
3831
|
{
|
|
3736
3832
|
ref: a,
|
|
3737
|
-
className:
|
|
3833
|
+
className: d(
|
|
3738
3834
|
"inline-flex items-center rounded font-medium",
|
|
3739
3835
|
s[r],
|
|
3740
|
-
|
|
3836
|
+
n[t],
|
|
3741
3837
|
e
|
|
3742
3838
|
),
|
|
3743
3839
|
...o
|
|
@@ -3745,44 +3841,44 @@ const Vt = d.forwardRef(
|
|
|
3745
3841
|
);
|
|
3746
3842
|
}
|
|
3747
3843
|
);
|
|
3748
|
-
|
|
3749
|
-
const
|
|
3750
|
-
({ className: e, src: r, alt: t, fallback: o, size: a = "base", ...s },
|
|
3844
|
+
Dt.displayName = "Badge";
|
|
3845
|
+
const _t = c.forwardRef(
|
|
3846
|
+
({ className: e, src: r, alt: t, fallback: o, size: a = "base", ...s }, n) => {
|
|
3751
3847
|
const l = {
|
|
3752
3848
|
sm: "h-8 w-8 text-xs",
|
|
3753
3849
|
base: "h-10 w-10 text-sm",
|
|
3754
3850
|
lg: "h-12 w-12 text-base"
|
|
3755
|
-
}, [b,
|
|
3756
|
-
return /* @__PURE__ */
|
|
3851
|
+
}, [b, p] = c.useState(!1);
|
|
3852
|
+
return /* @__PURE__ */ i(
|
|
3757
3853
|
"div",
|
|
3758
3854
|
{
|
|
3759
|
-
ref:
|
|
3760
|
-
className:
|
|
3855
|
+
ref: n,
|
|
3856
|
+
className: d(
|
|
3761
3857
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-gray-300",
|
|
3762
3858
|
l[a],
|
|
3763
3859
|
e
|
|
3764
3860
|
),
|
|
3765
3861
|
...s,
|
|
3766
|
-
children: r && !b ? /* @__PURE__ */
|
|
3862
|
+
children: r && !b ? /* @__PURE__ */ i(
|
|
3767
3863
|
"img",
|
|
3768
3864
|
{
|
|
3769
3865
|
src: r,
|
|
3770
3866
|
alt: t,
|
|
3771
3867
|
className: "h-full w-full object-cover",
|
|
3772
|
-
onError: () =>
|
|
3868
|
+
onError: () => p(!0)
|
|
3773
3869
|
}
|
|
3774
|
-
) : /* @__PURE__ */
|
|
3870
|
+
) : /* @__PURE__ */ i("span", { className: "font-medium text-gray-700", children: o || "?" })
|
|
3775
3871
|
}
|
|
3776
3872
|
);
|
|
3777
3873
|
}
|
|
3778
3874
|
);
|
|
3779
|
-
|
|
3780
|
-
const
|
|
3781
|
-
({ className: e, orientation: r = "horizontal", variant: t = "solid", ...o }, a) => r === "vertical" ? /* @__PURE__ */
|
|
3875
|
+
_t.displayName = "Avatar";
|
|
3876
|
+
const Ot = c.forwardRef(
|
|
3877
|
+
({ className: e, orientation: r = "horizontal", variant: t = "solid", ...o }, a) => r === "vertical" ? /* @__PURE__ */ i(
|
|
3782
3878
|
"div",
|
|
3783
3879
|
{
|
|
3784
3880
|
ref: a,
|
|
3785
|
-
className:
|
|
3881
|
+
className: d(
|
|
3786
3882
|
"w-px bg-black",
|
|
3787
3883
|
t === "dashed" && "border-dashed",
|
|
3788
3884
|
e
|
|
@@ -3791,11 +3887,11 @@ const $t = d.forwardRef(
|
|
|
3791
3887
|
"aria-orientation": "vertical",
|
|
3792
3888
|
...o
|
|
3793
3889
|
}
|
|
3794
|
-
) : /* @__PURE__ */
|
|
3890
|
+
) : /* @__PURE__ */ i(
|
|
3795
3891
|
"hr",
|
|
3796
3892
|
{
|
|
3797
3893
|
ref: a,
|
|
3798
|
-
className:
|
|
3894
|
+
className: d(
|
|
3799
3895
|
"border-0 border-t-2 border-black",
|
|
3800
3896
|
t === "dashed" && "border-dashed",
|
|
3801
3897
|
e
|
|
@@ -3806,8 +3902,8 @@ const $t = d.forwardRef(
|
|
|
3806
3902
|
}
|
|
3807
3903
|
)
|
|
3808
3904
|
);
|
|
3809
|
-
|
|
3810
|
-
const
|
|
3905
|
+
Ot.displayName = "Divider";
|
|
3906
|
+
const qt = c.forwardRef(
|
|
3811
3907
|
({
|
|
3812
3908
|
className: e,
|
|
3813
3909
|
variant: r = "rectangular",
|
|
@@ -3815,11 +3911,11 @@ const _t = d.forwardRef(
|
|
|
3815
3911
|
height: o,
|
|
3816
3912
|
style: a,
|
|
3817
3913
|
...s
|
|
3818
|
-
},
|
|
3914
|
+
}, n) => /* @__PURE__ */ i(
|
|
3819
3915
|
"div",
|
|
3820
3916
|
{
|
|
3821
|
-
ref:
|
|
3822
|
-
className:
|
|
3917
|
+
ref: n,
|
|
3918
|
+
className: d(
|
|
3823
3919
|
"animate-pulse bg-gray-300",
|
|
3824
3920
|
{
|
|
3825
3921
|
text: "rounded",
|
|
@@ -3837,9 +3933,9 @@ const _t = d.forwardRef(
|
|
|
3837
3933
|
}
|
|
3838
3934
|
)
|
|
3839
3935
|
);
|
|
3840
|
-
|
|
3841
|
-
const
|
|
3842
|
-
const
|
|
3936
|
+
qt.displayName = "Skeleton";
|
|
3937
|
+
const Xt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base", value: o, ...a }, s) => {
|
|
3938
|
+
const n = {
|
|
3843
3939
|
primary: "bg-primary",
|
|
3844
3940
|
success: "bg-success",
|
|
3845
3941
|
danger: "bg-danger",
|
|
@@ -3850,22 +3946,22 @@ const qt = d.forwardRef(({ className: e, variant: r = "primary", size: t = "base
|
|
|
3850
3946
|
base: "h-2",
|
|
3851
3947
|
lg: "h-3"
|
|
3852
3948
|
};
|
|
3853
|
-
return /* @__PURE__ */
|
|
3854
|
-
|
|
3949
|
+
return /* @__PURE__ */ i(
|
|
3950
|
+
ie.Root,
|
|
3855
3951
|
{
|
|
3856
3952
|
ref: s,
|
|
3857
|
-
className:
|
|
3953
|
+
className: d(
|
|
3858
3954
|
"relative h-2 w-full overflow-hidden rounded-full bg-gray-300",
|
|
3859
3955
|
l[t],
|
|
3860
3956
|
e
|
|
3861
3957
|
),
|
|
3862
3958
|
...a,
|
|
3863
|
-
children: /* @__PURE__ */
|
|
3864
|
-
|
|
3959
|
+
children: /* @__PURE__ */ i(
|
|
3960
|
+
ie.Indicator,
|
|
3865
3961
|
{
|
|
3866
|
-
className:
|
|
3962
|
+
className: d(
|
|
3867
3963
|
"h-full w-full flex-1 transition-all",
|
|
3868
|
-
|
|
3964
|
+
n[r]
|
|
3869
3965
|
),
|
|
3870
3966
|
style: { transform: `translateX(-${100 - (o || 0)}%)` }
|
|
3871
3967
|
}
|
|
@@ -3873,45 +3969,45 @@ const qt = d.forwardRef(({ className: e, variant: r = "primary", size: t = "base
|
|
|
3873
3969
|
}
|
|
3874
3970
|
);
|
|
3875
3971
|
});
|
|
3876
|
-
|
|
3877
|
-
const
|
|
3972
|
+
Xt.displayName = ie.Root.displayName;
|
|
3973
|
+
const Jt = c.forwardRef(
|
|
3878
3974
|
({ className: e, size: r = "base", variant: t = "primary", ...o }, a) => {
|
|
3879
3975
|
const s = {
|
|
3880
3976
|
sm: "h-4 w-4 border-2",
|
|
3881
3977
|
base: "h-6 w-6 border-2",
|
|
3882
3978
|
lg: "h-8 w-8 border-[3px]"
|
|
3883
|
-
},
|
|
3979
|
+
}, n = {
|
|
3884
3980
|
primary: "border-primary border-t-transparent",
|
|
3885
3981
|
secondary: "border-secondary border-t-transparent",
|
|
3886
3982
|
white: "border-white border-t-transparent"
|
|
3887
3983
|
};
|
|
3888
|
-
return /* @__PURE__ */
|
|
3984
|
+
return /* @__PURE__ */ i(
|
|
3889
3985
|
"div",
|
|
3890
3986
|
{
|
|
3891
3987
|
ref: a,
|
|
3892
|
-
className:
|
|
3988
|
+
className: d(
|
|
3893
3989
|
"animate-spin rounded-full",
|
|
3894
3990
|
s[r],
|
|
3895
|
-
|
|
3991
|
+
n[t],
|
|
3896
3992
|
e
|
|
3897
3993
|
),
|
|
3898
3994
|
role: "status",
|
|
3899
3995
|
"aria-label": "Loading",
|
|
3900
3996
|
...o,
|
|
3901
|
-
children: /* @__PURE__ */
|
|
3997
|
+
children: /* @__PURE__ */ i("span", { className: "sr-only", children: "Loading..." })
|
|
3902
3998
|
}
|
|
3903
3999
|
);
|
|
3904
4000
|
}
|
|
3905
4001
|
);
|
|
3906
|
-
|
|
3907
|
-
const
|
|
3908
|
-
({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, a) => /* @__PURE__ */
|
|
4002
|
+
Jt.displayName = "Spinner";
|
|
4003
|
+
const Zt = c.forwardRef(
|
|
4004
|
+
({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, a) => /* @__PURE__ */ i(
|
|
3909
4005
|
Ne.Root,
|
|
3910
4006
|
{
|
|
3911
4007
|
ref: a,
|
|
3912
4008
|
decorative: t,
|
|
3913
4009
|
orientation: r,
|
|
3914
|
-
className:
|
|
4010
|
+
className: d(
|
|
3915
4011
|
"shrink-0 bg-black",
|
|
3916
4012
|
r === "horizontal" ? "h-px w-full" : "h-full w-px",
|
|
3917
4013
|
e
|
|
@@ -3920,120 +4016,120 @@ const Ot = d.forwardRef(
|
|
|
3920
4016
|
}
|
|
3921
4017
|
)
|
|
3922
4018
|
);
|
|
3923
|
-
|
|
4019
|
+
Zt.displayName = Ne.Root.displayName;
|
|
3924
4020
|
export {
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
4021
|
+
Bt as Accordion,
|
|
4022
|
+
Vt as AccordionContent,
|
|
4023
|
+
Ht as AccordionItem,
|
|
4024
|
+
Wt as AccordionTrigger,
|
|
4025
|
+
dt as Alert,
|
|
4026
|
+
_t as Avatar,
|
|
4027
|
+
Dt as Badge,
|
|
4028
|
+
jt as BreadcrumbItem,
|
|
4029
|
+
Pt as Breadcrumbs,
|
|
4030
|
+
Or as Button,
|
|
4031
|
+
Xr as Card,
|
|
4032
|
+
Qr as CardContent,
|
|
4033
|
+
Kr as CardDescription,
|
|
4034
|
+
Yr as CardFooter,
|
|
4035
|
+
Jr as CardHeader,
|
|
4036
|
+
Zr as CardTitle,
|
|
4037
|
+
kt as Checkbox,
|
|
4038
|
+
rt as Container,
|
|
4039
|
+
Ot as Divider,
|
|
4040
|
+
ft as Dropdown,
|
|
4041
|
+
ht as DropdownItem,
|
|
4042
|
+
to as Form,
|
|
4043
|
+
ct as FormDescription,
|
|
4044
|
+
oo as FormField,
|
|
4045
|
+
nt as FormItem,
|
|
4046
|
+
it as FormLabel,
|
|
4047
|
+
lt as FormMessage,
|
|
4048
|
+
tt as Grid,
|
|
4049
|
+
ot as GridItem,
|
|
3954
4050
|
qr as Input,
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4051
|
+
bt as Modal,
|
|
4052
|
+
mt as ModalBody,
|
|
4053
|
+
ut as ModalFooter,
|
|
4054
|
+
pt as ModalHeader,
|
|
4055
|
+
gt as ModalTitle,
|
|
4056
|
+
xt as Navbar,
|
|
4057
|
+
yt as NavbarItem,
|
|
4058
|
+
wt as NavbarLink,
|
|
4059
|
+
vt as NavbarNav,
|
|
4060
|
+
Et as Pagination,
|
|
3965
4061
|
K as PaginationButton,
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
4062
|
+
vo as Popover,
|
|
4063
|
+
Ut as PopoverContent,
|
|
4064
|
+
yo as PopoverTrigger,
|
|
4065
|
+
Xt as Progress,
|
|
4066
|
+
Nt as RadioGroup,
|
|
4067
|
+
Ct as RadioItem,
|
|
4068
|
+
uo as Select,
|
|
4069
|
+
zt as SelectContent,
|
|
4070
|
+
fo as SelectGroup,
|
|
4071
|
+
It as SelectItem,
|
|
4072
|
+
Mt as SelectSeparator,
|
|
4073
|
+
St as SelectTrigger,
|
|
4074
|
+
ho as SelectValue,
|
|
4075
|
+
Zt as Separator,
|
|
4076
|
+
qt as Skeleton,
|
|
4077
|
+
Tt as Slider,
|
|
4078
|
+
Jt as Spinner,
|
|
4079
|
+
Rt as Switch,
|
|
4080
|
+
xo as Tabs,
|
|
4081
|
+
Ft as TabsContent,
|
|
4082
|
+
Gt as TabsList,
|
|
3987
4083
|
Lt as TabsTrigger,
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4084
|
+
At as Textarea,
|
|
4085
|
+
ko as Tooltip,
|
|
4086
|
+
$t as TooltipContent,
|
|
4087
|
+
wo as TooltipProvider,
|
|
4088
|
+
No as TooltipTrigger,
|
|
4089
|
+
et as Typography,
|
|
4090
|
+
sr as borderColors,
|
|
4091
|
+
ar as borderRadius,
|
|
4092
|
+
or as borderStyle,
|
|
4093
|
+
Ie as borderWidth,
|
|
4094
|
+
tr as borderWidths,
|
|
4095
|
+
nr as borders,
|
|
4096
|
+
ir as boxShadows,
|
|
4097
|
+
cr as breakpoints,
|
|
4098
|
+
_e as colors,
|
|
4099
|
+
br as containerFluidMargins,
|
|
4100
|
+
dr as containerMaxWidths,
|
|
4101
|
+
Je as containerPaddingX,
|
|
4102
|
+
po as dateSchema,
|
|
4103
|
+
Ke as displaySizes,
|
|
4104
|
+
ao as emailSchema,
|
|
4105
|
+
he as fontFamilies,
|
|
4010
4106
|
Z as fontSizes,
|
|
4011
|
-
|
|
4107
|
+
er as fontWeights,
|
|
4012
4108
|
$ as functionalColors,
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4109
|
+
go as futureDateSchema,
|
|
4110
|
+
Re as grays,
|
|
4111
|
+
Se as gridGutterWidth,
|
|
4112
|
+
ze as headingSizes,
|
|
4113
|
+
Ye as letterSpacing,
|
|
4114
|
+
Qe as lineHeights,
|
|
4115
|
+
bo as nonNegativeNumber,
|
|
4020
4116
|
u as odsColors,
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4117
|
+
no as optionalString,
|
|
4118
|
+
mo as pastDateSchema,
|
|
4119
|
+
io as phoneSchema,
|
|
4120
|
+
co as positiveNumber,
|
|
4121
|
+
so as requiredString,
|
|
4122
|
+
pr as responsive,
|
|
4123
|
+
De as semanticColors,
|
|
4124
|
+
lr as shadows,
|
|
4125
|
+
Oe as spacer,
|
|
4030
4126
|
qe as spacers,
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4127
|
+
Ze as spacing,
|
|
4128
|
+
$e as supportingColors,
|
|
4129
|
+
Xe as targetSize,
|
|
4130
|
+
Ce as themeColors,
|
|
4131
|
+
ro as tokens,
|
|
4132
|
+
rr as typography,
|
|
4133
|
+
lo as urlSchema
|
|
4038
4134
|
};
|
|
4039
4135
|
//# sourceMappingURL=index.js.map
|