orange-core-ui 0.1.0 → 0.1.2
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/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/radio/radio.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +904 -799
- 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
|
|
1
|
+
import { jsx as i, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { appendErrors as Le, useForm as
|
|
4
|
-
import { validateFieldsNatively as
|
|
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 $e } 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
|
-
import * as
|
|
10
|
+
import * as $ 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
|
|
@@ -102,7 +102,7 @@ const u = {
|
|
|
102
102
|
500: "#b98f11",
|
|
103
103
|
600: "#9d6e06"
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, U = {
|
|
106
106
|
green: u.forest[200],
|
|
107
107
|
// #228722
|
|
108
108
|
blue: u.water[200],
|
|
@@ -111,7 +111,7 @@ const u = {
|
|
|
111
111
|
// #fc0
|
|
112
112
|
red: u.fire[200]
|
|
113
113
|
// #cd3c14
|
|
114
|
-
},
|
|
114
|
+
}, Ue = {
|
|
115
115
|
blue: u.blue[300],
|
|
116
116
|
// #4bb4e6
|
|
117
117
|
yellow: u.yellow[300],
|
|
@@ -124,24 +124,24 @@ 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],
|
|
131
131
|
// #000
|
|
132
|
-
success:
|
|
132
|
+
success: U.green,
|
|
133
133
|
// #228722
|
|
134
|
-
info:
|
|
134
|
+
info: U.blue,
|
|
135
135
|
// #4170d8
|
|
136
|
-
warning:
|
|
136
|
+
warning: U.yellow,
|
|
137
137
|
// #fc0
|
|
138
|
-
danger:
|
|
138
|
+
danger: U.red,
|
|
139
139
|
// #cd3c14
|
|
140
140
|
light: u.gray[500],
|
|
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
|
-
functional:
|
|
188
|
-
supporting:
|
|
189
|
-
theme:
|
|
190
|
-
gray:
|
|
191
|
-
semantic:
|
|
192
|
-
},
|
|
187
|
+
functional: U,
|
|
188
|
+
supporting: Ue,
|
|
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, Ye = Se, Je = {
|
|
205
205
|
...qe,
|
|
206
|
-
targetSize:
|
|
207
|
-
gridGutter:
|
|
208
|
-
containerPadding:
|
|
209
|
-
},
|
|
206
|
+
targetSize: Xe,
|
|
207
|
+
gridGutter: Se,
|
|
208
|
+
containerPadding: Ye
|
|
209
|
+
}, he = {
|
|
210
210
|
sansSerif: [
|
|
211
211
|
"HelvNeueOrange",
|
|
212
212
|
"Helvetica Neue",
|
|
@@ -229,7 +229,7 @@ const u = {
|
|
|
229
229
|
"Courier New",
|
|
230
230
|
"monospace"
|
|
231
231
|
].join(", ")
|
|
232
|
-
},
|
|
232
|
+
}, J = {
|
|
233
233
|
root: null,
|
|
234
234
|
// Browser default
|
|
235
235
|
base: "1rem",
|
|
@@ -240,30 +240,30 @@ 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",
|
|
247
247
|
// 30px (base * 1.875)
|
|
248
248
|
h3: "1.5rem",
|
|
249
249
|
// 24px (base * 1.5)
|
|
250
|
-
h4:
|
|
250
|
+
h4: J.xlg,
|
|
251
251
|
// 20px
|
|
252
|
-
h5:
|
|
252
|
+
h5: J.lg,
|
|
253
253
|
// 18px
|
|
254
|
-
h6:
|
|
254
|
+
h6: J.base
|
|
255
255
|
// 16px
|
|
256
|
-
},
|
|
256
|
+
}, Ze = {
|
|
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", Ke = {
|
|
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", Qe = {
|
|
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
|
-
fontSize:
|
|
317
|
-
heading:
|
|
318
|
-
display:
|
|
319
|
-
lineHeight:
|
|
320
|
-
letterSpacing:
|
|
321
|
-
fontWeight:
|
|
322
|
-
},
|
|
316
|
+
fontSize: J,
|
|
317
|
+
heading: ze,
|
|
318
|
+
display: Ze,
|
|
319
|
+
lineHeight: Ke,
|
|
320
|
+
letterSpacing: Qe,
|
|
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: Je,
|
|
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 mr() {
|
|
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 = "-", gr = (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, m = 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(m, w)), m = 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(m), y = f.startsWith(Te), R = y ? f.substring(1) : f, k = h && h > m ? h - m : 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
|
+
...gr(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: m,
|
|
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(m).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((m, h) => h(m), 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 m = Cr(b, t);
|
|
626
|
+
return a(b, m), m;
|
|
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)), g = (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, Ur), Wr = (e) => F(e, "", $r), 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, $r = (e) => Pr.test(e), Ur = (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"), m = 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"), Q = () => ["auto", "contain", "none"], ee = () => ["auto", "hidden", "clip", "visible", "scroll"], re = () => ["auto", g, r], v = () => [g, r], me = () => ["", M, T], X = () => ["auto", L, g], ge = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Y = () => ["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", g], fe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [L, g];
|
|
645
645
|
return {
|
|
646
646
|
cacheSize: 500,
|
|
647
647
|
separator: ":",
|
|
648
648
|
theme: {
|
|
649
649
|
colors: [V],
|
|
650
|
-
spacing: [
|
|
651
|
-
blur: ["none", "", P,
|
|
652
|
-
brightness:
|
|
650
|
+
spacing: [M, T],
|
|
651
|
+
blur: ["none", "", P, g],
|
|
652
|
+
brightness: I(),
|
|
653
653
|
borderColor: [e],
|
|
654
|
-
borderRadius: ["none", "", "full", P,
|
|
655
|
-
borderSpacing:
|
|
656
|
-
borderWidth:
|
|
657
|
-
contrast:
|
|
658
|
-
grayscale:
|
|
659
|
-
hueRotate:
|
|
660
|
-
invert:
|
|
661
|
-
gap:
|
|
654
|
+
borderRadius: ["none", "", "full", P, g],
|
|
655
|
+
borderSpacing: v(),
|
|
656
|
+
borderWidth: me(),
|
|
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
|
|
@@ -679,7 +679,7 @@ const v = (e) => {
|
|
|
679
679
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
680
680
|
*/
|
|
681
681
|
aspect: [{
|
|
682
|
-
aspect: ["auto", "square", "video",
|
|
682
|
+
aspect: ["auto", "square", "video", g]
|
|
683
683
|
}],
|
|
684
684
|
/**
|
|
685
685
|
* Container
|
|
@@ -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
|
|
@@ -764,28 +764,28 @@ const v = (e) => {
|
|
|
764
764
|
* @see https://tailwindcss.com/docs/object-position
|
|
765
765
|
*/
|
|
766
766
|
"object-position": [{
|
|
767
|
-
object: [...
|
|
767
|
+
object: [...ge(), g]
|
|
768
768
|
}],
|
|
769
769
|
/**
|
|
770
770
|
* Overflow
|
|
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
|
|
@@ -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, g]
|
|
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
|
|
@@ -915,28 +915,28 @@ const v = (e) => {
|
|
|
915
915
|
* @see https://tailwindcss.com/docs/flex
|
|
916
916
|
*/
|
|
917
917
|
flex: [{
|
|
918
|
-
flex: ["1", "auto", "initial", "none",
|
|
918
|
+
flex: ["1", "auto", "initial", "none", g]
|
|
919
919
|
}],
|
|
920
920
|
/**
|
|
921
921
|
* Flex Grow
|
|
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, g]
|
|
940
940
|
}],
|
|
941
941
|
/**
|
|
942
942
|
* Grid Template Columns
|
|
@@ -951,8 +951,8 @@ const v = (e) => {
|
|
|
951
951
|
*/
|
|
952
952
|
"col-start-end": [{
|
|
953
953
|
col: ["auto", {
|
|
954
|
-
span: ["full",
|
|
955
|
-
},
|
|
954
|
+
span: ["full", W, g]
|
|
955
|
+
}, g]
|
|
956
956
|
}],
|
|
957
957
|
/**
|
|
958
958
|
* Grid Column Start
|
|
@@ -981,8 +981,8 @@ const v = (e) => {
|
|
|
981
981
|
*/
|
|
982
982
|
"row-start-end": [{
|
|
983
983
|
row: ["auto", {
|
|
984
|
-
span: [
|
|
985
|
-
},
|
|
984
|
+
span: [W, g]
|
|
985
|
+
}, g]
|
|
986
986
|
}],
|
|
987
987
|
/**
|
|
988
988
|
* Grid Row Start
|
|
@@ -1010,42 +1010,42 @@ const v = (e) => {
|
|
|
1010
1010
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1011
1011
|
*/
|
|
1012
1012
|
"auto-cols": [{
|
|
1013
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
1013
|
+
"auto-cols": ["auto", "min", "max", "fr", g]
|
|
1014
1014
|
}],
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Grid Auto Rows
|
|
1017
1017
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1018
1018
|
*/
|
|
1019
1019
|
"auto-rows": [{
|
|
1020
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
1020
|
+
"auto-rows": ["auto", "min", "max", "fr", g]
|
|
1021
1021
|
}],
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Gap
|
|
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
|
|
@@ -1260,21 +1260,21 @@ const v = (e) => {
|
|
|
1260
1260
|
* @see https://tailwindcss.com/docs/width
|
|
1261
1261
|
*/
|
|
1262
1262
|
w: [{
|
|
1263
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
1263
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", g, r]
|
|
1264
1264
|
}],
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Min-Width
|
|
1267
1267
|
* @see https://tailwindcss.com/docs/min-width
|
|
1268
1268
|
*/
|
|
1269
1269
|
"min-w": [{
|
|
1270
|
-
"min-w": [
|
|
1270
|
+
"min-w": [g, r, "min", "max", "fit"]
|
|
1271
1271
|
}],
|
|
1272
1272
|
/**
|
|
1273
1273
|
* Max-Width
|
|
1274
1274
|
* @see https://tailwindcss.com/docs/max-width
|
|
1275
1275
|
*/
|
|
1276
1276
|
"max-w": [{
|
|
1277
|
-
"max-w": [
|
|
1277
|
+
"max-w": [g, r, "none", "full", "min", "max", "fit", "prose", {
|
|
1278
1278
|
screen: [P]
|
|
1279
1279
|
}, P]
|
|
1280
1280
|
}],
|
|
@@ -1283,28 +1283,28 @@ const v = (e) => {
|
|
|
1283
1283
|
* @see https://tailwindcss.com/docs/height
|
|
1284
1284
|
*/
|
|
1285
1285
|
h: [{
|
|
1286
|
-
h: [
|
|
1286
|
+
h: [g, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1287
1287
|
}],
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Min-Height
|
|
1290
1290
|
* @see https://tailwindcss.com/docs/min-height
|
|
1291
1291
|
*/
|
|
1292
1292
|
"min-h": [{
|
|
1293
|
-
"min-h": [
|
|
1293
|
+
"min-h": [g, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1294
1294
|
}],
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Max-Height
|
|
1297
1297
|
* @see https://tailwindcss.com/docs/max-height
|
|
1298
1298
|
*/
|
|
1299
1299
|
"max-h": [{
|
|
1300
|
-
"max-h": [
|
|
1300
|
+
"max-h": [g, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1301
1301
|
}],
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Size
|
|
1304
1304
|
* @see https://tailwindcss.com/docs/size
|
|
1305
1305
|
*/
|
|
1306
1306
|
size: [{
|
|
1307
|
-
size: [
|
|
1307
|
+
size: [g, r, "auto", "min", "max", "fit"]
|
|
1308
1308
|
}],
|
|
1309
1309
|
// Typography
|
|
1310
1310
|
/**
|
|
@@ -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
|
|
@@ -1373,35 +1373,35 @@ const v = (e) => {
|
|
|
1373
1373
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1374
1374
|
*/
|
|
1375
1375
|
tracking: [{
|
|
1376
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
1376
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", g]
|
|
1377
1377
|
}],
|
|
1378
1378
|
/**
|
|
1379
1379
|
* Line Clamp
|
|
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, g]
|
|
1391
1391
|
}],
|
|
1392
1392
|
/**
|
|
1393
1393
|
* List Style Image
|
|
1394
1394
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1395
1395
|
*/
|
|
1396
1396
|
"list-image": [{
|
|
1397
|
-
"list-image": ["none",
|
|
1397
|
+
"list-image": ["none", g]
|
|
1398
1398
|
}],
|
|
1399
1399
|
/**
|
|
1400
1400
|
* List Style Type
|
|
1401
1401
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1402
1402
|
*/
|
|
1403
1403
|
"list-style-type": [{
|
|
1404
|
-
list: ["none", "disc", "decimal",
|
|
1404
|
+
list: ["none", "disc", "decimal", g]
|
|
1405
1405
|
}],
|
|
1406
1406
|
/**
|
|
1407
1407
|
* List Style Position
|
|
@@ -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
|
|
@@ -1456,21 +1456,21 @@ const v = (e) => {
|
|
|
1456
1456
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1457
1457
|
*/
|
|
1458
1458
|
"text-decoration-style": [{
|
|
1459
|
-
decoration: [...
|
|
1459
|
+
decoration: [...Y(), "wavy"]
|
|
1460
1460
|
}],
|
|
1461
1461
|
/**
|
|
1462
1462
|
* Text Decoration Thickness
|
|
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, g]
|
|
1474
1474
|
}],
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Text Decoration Color
|
|
@@ -1501,14 +1501,14 @@ 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
|
|
1508
1508
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1509
1509
|
*/
|
|
1510
1510
|
"vertical-align": [{
|
|
1511
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1511
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", g]
|
|
1512
1512
|
}],
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Whitespace
|
|
@@ -1536,7 +1536,7 @@ const v = (e) => {
|
|
|
1536
1536
|
* @see https://tailwindcss.com/docs/content
|
|
1537
1537
|
*/
|
|
1538
1538
|
content: [{
|
|
1539
|
-
content: ["none",
|
|
1539
|
+
content: ["none", g]
|
|
1540
1540
|
}],
|
|
1541
1541
|
// Backgrounds
|
|
1542
1542
|
/**
|
|
@@ -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: [...
|
|
1576
|
+
bg: [...ge(), 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,14 +1823,14 @@ 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
|
|
1830
1830
|
* @see https://tailwindcss.com/docs/border-style
|
|
1831
1831
|
*/
|
|
1832
1832
|
"border-style": [{
|
|
1833
|
-
border: [...
|
|
1833
|
+
border: [...Y(), "hidden"]
|
|
1834
1834
|
}],
|
|
1835
1835
|
/**
|
|
1836
1836
|
* Divide Width X
|
|
@@ -1861,14 +1861,14 @@ 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
|
|
1868
1868
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1869
1869
|
*/
|
|
1870
1870
|
"divide-style": [{
|
|
1871
|
-
divide:
|
|
1871
|
+
divide: Y()
|
|
1872
1872
|
}],
|
|
1873
1873
|
/**
|
|
1874
1874
|
* Border Color
|
|
@@ -1945,21 +1945,21 @@ const v = (e) => {
|
|
|
1945
1945
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1946
1946
|
*/
|
|
1947
1947
|
"outline-style": [{
|
|
1948
|
-
outline: ["", ...
|
|
1948
|
+
outline: ["", ...Y()]
|
|
1949
1949
|
}],
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Outline Offset
|
|
1952
1952
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1953
1953
|
*/
|
|
1954
1954
|
"outline-offset": [{
|
|
1955
|
-
"outline-offset": [
|
|
1955
|
+
"outline-offset": [M, g]
|
|
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: me()
|
|
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
|
/**
|
|
@@ -2079,42 +2079,42 @@ const v = (e) => {
|
|
|
2079
2079
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2080
2080
|
*/
|
|
2081
2081
|
"drop-shadow": [{
|
|
2082
|
-
"drop-shadow": ["", "none", P,
|
|
2082
|
+
"drop-shadow": ["", "none", P, g]
|
|
2083
2083
|
}],
|
|
2084
2084
|
/**
|
|
2085
2085
|
* Grayscale
|
|
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": [m]
|
|
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": [m]
|
|
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
|
|
@@ -2236,35 +2236,35 @@ const v = (e) => {
|
|
|
2236
2236
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2237
2237
|
*/
|
|
2238
2238
|
transition: [{
|
|
2239
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
2239
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", g]
|
|
2240
2240
|
}],
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Transition Duration
|
|
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
|
|
2250
2250
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2251
2251
|
*/
|
|
2252
2252
|
ease: [{
|
|
2253
|
-
ease: ["linear", "in", "out", "in-out",
|
|
2253
|
+
ease: ["linear", "in", "out", "in-out", g]
|
|
2254
2254
|
}],
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Transition Delay
|
|
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
|
|
2264
2264
|
* @see https://tailwindcss.com/docs/animation
|
|
2265
2265
|
*/
|
|
2266
2266
|
animate: [{
|
|
2267
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
2267
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", g]
|
|
2268
2268
|
}],
|
|
2269
2269
|
// Transforms
|
|
2270
2270
|
/**
|
|
@@ -2300,42 +2300,42 @@ const v = (e) => {
|
|
|
2300
2300
|
* @see https://tailwindcss.com/docs/rotate
|
|
2301
2301
|
*/
|
|
2302
2302
|
rotate: [{
|
|
2303
|
-
rotate: [
|
|
2303
|
+
rotate: [W, g]
|
|
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
|
|
2335
2335
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2336
2336
|
*/
|
|
2337
2337
|
"transform-origin": [{
|
|
2338
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
2338
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", g]
|
|
2339
2339
|
}],
|
|
2340
2340
|
// Interactivity
|
|
2341
2341
|
/**
|
|
@@ -2357,7 +2357,7 @@ const v = (e) => {
|
|
|
2357
2357
|
* @see https://tailwindcss.com/docs/cursor
|
|
2358
2358
|
*/
|
|
2359
2359
|
cursor: [{
|
|
2360
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2360
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", g]
|
|
2361
2361
|
}],
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Caret Color
|
|
@@ -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
|
|
@@ -2579,7 +2579,7 @@ const v = (e) => {
|
|
|
2579
2579
|
* @see https://tailwindcss.com/docs/will-change
|
|
2580
2580
|
*/
|
|
2581
2581
|
"will-change": [{
|
|
2582
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2582
|
+
"will-change": ["auto", "scroll", "contents", "transform", g]
|
|
2583
2583
|
}],
|
|
2584
2584
|
// SVG
|
|
2585
2585
|
/**
|
|
@@ -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
|
-
},
|
|
2672
|
+
}, _r = /* @__PURE__ */ Sr(Dr);
|
|
2673
2673
|
function d(...e) {
|
|
2674
|
-
return
|
|
2674
|
+
return _r(mr(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 = c.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", m = {
|
|
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 = c.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
2717
|
className: d(
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2718
|
+
p,
|
|
2719
|
+
m[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
|
-
|
|
2733
|
+
Or.displayName = "Button";
|
|
2734
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: d(
|
|
2745
|
+
className: d(n, l[t], b, e),
|
|
2746
2746
|
ref: s,
|
|
2747
2747
|
...a
|
|
2748
2748
|
}
|
|
@@ -2750,8 +2750,8 @@ const qr = c.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,
|
|
@@ -2764,8 +2764,8 @@ const Dr = c.forwardRef(
|
|
|
2764
2764
|
}
|
|
2765
2765
|
)
|
|
2766
2766
|
);
|
|
2767
|
-
|
|
2768
|
-
const
|
|
2767
|
+
Xr.displayName = "Card";
|
|
2768
|
+
const Yr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2769
2769
|
"div",
|
|
2770
2770
|
{
|
|
2771
2771
|
ref: t,
|
|
@@ -2773,8 +2773,8 @@ const Or = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
|
|
|
2773
2773
|
...r
|
|
2774
2774
|
}
|
|
2775
2775
|
));
|
|
2776
|
-
|
|
2777
|
-
const
|
|
2776
|
+
Yr.displayName = "CardHeader";
|
|
2777
|
+
const Jr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2778
2778
|
"h3",
|
|
2779
2779
|
{
|
|
2780
2780
|
ref: t,
|
|
@@ -2782,16 +2782,16 @@ const Xr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
|
|
|
2782
2782
|
...r
|
|
2783
2783
|
}
|
|
2784
2784
|
));
|
|
2785
|
-
|
|
2786
|
-
const
|
|
2787
|
-
|
|
2788
|
-
const
|
|
2789
|
-
|
|
2790
|
-
const
|
|
2791
|
-
|
|
2792
|
-
const
|
|
2785
|
+
Jr.displayName = "CardTitle";
|
|
2786
|
+
const Zr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("p", { ref: t, className: d("text-sm text-body-secondary-color", e), ...r }));
|
|
2787
|
+
Zr.displayName = "CardDescription";
|
|
2788
|
+
const Kr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("p-5 pt-0", e), ...r }));
|
|
2789
|
+
Kr.displayName = "CardContent";
|
|
2790
|
+
const Qr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("flex items-center p-5 pt-0", e), ...r }));
|
|
2791
|
+
Qr.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",
|
|
@@ -2810,17 +2810,17 @@ const Qr = c.forwardRef(
|
|
|
2810
2810
|
b,
|
|
2811
2811
|
{
|
|
2812
2812
|
ref: s,
|
|
2813
|
-
className: d(
|
|
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 = c.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: d(
|
|
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 = c.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: d(
|
|
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 = c.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(m) {
|
|
2906
|
+
return m.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: $e(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,35 +2944,35 @@ 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,
|
|
@@ -2983,14 +2983,14 @@ const st = c.forwardRef(
|
|
|
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,
|
|
@@ -3005,9 +3005,9 @@ const nt = c.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,
|
|
@@ -3016,22 +3016,22 @@ const it = c.forwardRef(
|
|
|
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(), mo = z.date().refine((e) => e > /* @__PURE__ */ new Date(), {
|
|
3023
3023
|
message: "Date must be in the future"
|
|
3024
|
-
}),
|
|
3024
|
+
}), go = 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] = c.useState(!0),
|
|
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
3036
|
className: d(
|
|
3037
3037
|
"relative px-5 py-4 mb-4 border rounded",
|
|
@@ -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,27 +3061,27 @@ 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 },
|
|
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
3067
|
const [l, b] = c.useState(r);
|
|
3068
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:
|
|
3084
|
+
ref: n,
|
|
3085
3085
|
className: d(
|
|
3086
3086
|
"relative bg-white rounded p-5 w-full mx-4",
|
|
3087
3087
|
{
|
|
@@ -3092,7 +3092,7 @@ const ct = c.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 = c.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] = c.useState(!1),
|
|
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 mt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("h2", { ref: t, className: d("text-2xl font-semibold", e), ...r }));
|
|
3108
|
+
mt.displayName = "ModalTitle";
|
|
3109
|
+
const gt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i("div", { ref: t, className: d("mb-4", e), ...r }));
|
|
3110
|
+
gt.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), m = t ?? l, h = () => {
|
|
3116
|
+
const f = !m;
|
|
3117
|
+
b(f), o == null || o(f);
|
|
3118
3118
|
};
|
|
3119
3119
|
return c.useEffect(() => {
|
|
3120
|
-
const
|
|
3121
|
-
|
|
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 m && document.addEventListener("mousedown", f), () => {
|
|
3124
|
+
document.removeEventListener("mousedown", f);
|
|
3125
3125
|
};
|
|
3126
|
-
}, [
|
|
3127
|
-
/* @__PURE__ */
|
|
3128
|
-
|
|
3126
|
+
}, [m, 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
|
+
m && /* @__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,8 +3137,8 @@ const gt = c.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,
|
|
@@ -3150,9 +3150,9 @@ const ut = c.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,
|
|
@@ -3162,18 +3162,18 @@ const ft = c.forwardRef(
|
|
|
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,
|
|
@@ -3184,19 +3184,23 @@ const xt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
|
|
|
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
|
-
sm: "h-
|
|
3191
|
-
base: "h-
|
|
3192
|
-
lg: "h-
|
|
3190
|
+
sm: "h-3.5 w-3.5",
|
|
3191
|
+
base: "h-4 w-4",
|
|
3192
|
+
lg: "h-5 w-5"
|
|
3193
|
+
}, s = {
|
|
3194
|
+
sm: "h-2.5 w-2.5",
|
|
3195
|
+
base: "h-3 w-3",
|
|
3196
|
+
lg: "h-4 w-4"
|
|
3193
3197
|
};
|
|
3194
|
-
return /* @__PURE__ */
|
|
3195
|
-
|
|
3198
|
+
return /* @__PURE__ */ i(
|
|
3199
|
+
se.Root,
|
|
3196
3200
|
{
|
|
3197
3201
|
ref: o,
|
|
3198
3202
|
className: d(
|
|
3199
|
-
"peer
|
|
3203
|
+
"peer shrink-0 rounded border-2 border-black bg-white transition-colors",
|
|
3200
3204
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
|
|
3201
3205
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
3202
3206
|
"data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-white",
|
|
@@ -3204,18 +3208,18 @@ const yt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3204
3208
|
e
|
|
3205
3209
|
),
|
|
3206
3210
|
...t,
|
|
3207
|
-
children: /* @__PURE__ */
|
|
3208
|
-
|
|
3211
|
+
children: /* @__PURE__ */ i(
|
|
3212
|
+
se.Indicator,
|
|
3209
3213
|
{
|
|
3210
3214
|
className: d("flex items-center justify-center text-current"),
|
|
3211
|
-
children: /* @__PURE__ */
|
|
3215
|
+
children: /* @__PURE__ */ i(
|
|
3212
3216
|
"svg",
|
|
3213
3217
|
{
|
|
3214
|
-
className:
|
|
3218
|
+
className: s[r],
|
|
3215
3219
|
viewBox: "0 0 12 12",
|
|
3216
3220
|
fill: "none",
|
|
3217
3221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3218
|
-
children: /* @__PURE__ */
|
|
3222
|
+
children: /* @__PURE__ */ i(
|
|
3219
3223
|
"path",
|
|
3220
3224
|
{
|
|
3221
3225
|
d: "M10 3L4.5 8.5L2 6",
|
|
@@ -3232,24 +3236,28 @@ const yt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3232
3236
|
}
|
|
3233
3237
|
);
|
|
3234
3238
|
});
|
|
3235
|
-
|
|
3236
|
-
const
|
|
3237
|
-
|
|
3239
|
+
kt.displayName = se.Root.displayName;
|
|
3240
|
+
const Nt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => /* @__PURE__ */ i(
|
|
3241
|
+
D.Root,
|
|
3238
3242
|
{
|
|
3239
3243
|
className: d("grid gap-2", e),
|
|
3240
3244
|
...t,
|
|
3241
3245
|
ref: o
|
|
3242
3246
|
}
|
|
3243
3247
|
));
|
|
3244
|
-
|
|
3245
|
-
const
|
|
3248
|
+
Nt.displayName = D.Root.displayName;
|
|
3249
|
+
const Ct = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3246
3250
|
const a = {
|
|
3247
|
-
sm: "h-
|
|
3248
|
-
base: "h-
|
|
3249
|
-
lg: "h-
|
|
3251
|
+
sm: "h-3.5 w-3.5",
|
|
3252
|
+
base: "h-4 w-4",
|
|
3253
|
+
lg: "h-5 w-5"
|
|
3254
|
+
}, s = {
|
|
3255
|
+
sm: "h-1.5 w-1.5",
|
|
3256
|
+
base: "h-2 w-2",
|
|
3257
|
+
lg: "h-2.5 w-2.5"
|
|
3250
3258
|
};
|
|
3251
|
-
return /* @__PURE__ */
|
|
3252
|
-
|
|
3259
|
+
return /* @__PURE__ */ i(
|
|
3260
|
+
D.Item,
|
|
3253
3261
|
{
|
|
3254
3262
|
ref: o,
|
|
3255
3263
|
className: d(
|
|
@@ -3261,12 +3269,12 @@ const Nt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3261
3269
|
e
|
|
3262
3270
|
),
|
|
3263
3271
|
...t,
|
|
3264
|
-
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]) }) })
|
|
3265
3273
|
}
|
|
3266
3274
|
);
|
|
3267
3275
|
});
|
|
3268
|
-
|
|
3269
|
-
const
|
|
3276
|
+
Ct.displayName = D.Item.displayName;
|
|
3277
|
+
const Rt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3270
3278
|
const a = {
|
|
3271
3279
|
sm: "h-4 w-7",
|
|
3272
3280
|
base: "h-5 w-9",
|
|
@@ -3276,8 +3284,8 @@ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3276
3284
|
base: "h-4 w-4",
|
|
3277
3285
|
lg: "h-5 w-5"
|
|
3278
3286
|
};
|
|
3279
|
-
return /* @__PURE__ */
|
|
3280
|
-
|
|
3287
|
+
return /* @__PURE__ */ i(
|
|
3288
|
+
ne.Root,
|
|
3281
3289
|
{
|
|
3282
3290
|
className: d(
|
|
3283
3291
|
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-black bg-white transition-colors",
|
|
@@ -3289,8 +3297,8 @@ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3289
3297
|
),
|
|
3290
3298
|
...t,
|
|
3291
3299
|
ref: o,
|
|
3292
|
-
children: /* @__PURE__ */
|
|
3293
|
-
|
|
3300
|
+
children: /* @__PURE__ */ i(
|
|
3301
|
+
ne.Thumb,
|
|
3294
3302
|
{
|
|
3295
3303
|
className: d(
|
|
3296
3304
|
"pointer-events-none block rounded-full bg-black transition-transform",
|
|
@@ -3303,14 +3311,14 @@ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3303
3311
|
}
|
|
3304
3312
|
);
|
|
3305
3313
|
});
|
|
3306
|
-
|
|
3307
|
-
const
|
|
3308
|
-
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 = {
|
|
3309
3317
|
sm: "h-8 px-2 text-sm",
|
|
3310
3318
|
base: "h-10 px-3 text-base",
|
|
3311
3319
|
lg: "h-12 px-4 text-lg"
|
|
3312
3320
|
};
|
|
3313
|
-
return /* @__PURE__ */
|
|
3321
|
+
return /* @__PURE__ */ A(
|
|
3314
3322
|
C.Trigger,
|
|
3315
3323
|
{
|
|
3316
3324
|
ref: s,
|
|
@@ -3320,20 +3328,20 @@ const po = C.Root, mo = C.Group, go = C.Value, Ct = c.forwardRef(({ className: e
|
|
|
3320
3328
|
"focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",
|
|
3321
3329
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
3322
3330
|
o && "border-danger focus:ring-danger",
|
|
3323
|
-
|
|
3331
|
+
n[t],
|
|
3324
3332
|
e
|
|
3325
3333
|
),
|
|
3326
3334
|
...a,
|
|
3327
3335
|
children: [
|
|
3328
3336
|
r,
|
|
3329
|
-
/* @__PURE__ */
|
|
3337
|
+
/* @__PURE__ */ i(C.Icon, { asChild: !0, children: /* @__PURE__ */ i(
|
|
3330
3338
|
"svg",
|
|
3331
3339
|
{
|
|
3332
3340
|
className: "h-4 w-4 opacity-50",
|
|
3333
3341
|
viewBox: "0 0 12 12",
|
|
3334
3342
|
fill: "none",
|
|
3335
3343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3336
|
-
children: /* @__PURE__ */
|
|
3344
|
+
children: /* @__PURE__ */ i(
|
|
3337
3345
|
"path",
|
|
3338
3346
|
{
|
|
3339
3347
|
d: "M3 4.5L6 7.5L9 4.5",
|
|
@@ -3349,8 +3357,8 @@ const po = C.Root, mo = C.Group, go = C.Value, Ct = c.forwardRef(({ className: e
|
|
|
3349
3357
|
}
|
|
3350
3358
|
);
|
|
3351
3359
|
});
|
|
3352
|
-
|
|
3353
|
-
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(
|
|
3354
3362
|
C.Content,
|
|
3355
3363
|
{
|
|
3356
3364
|
ref: a,
|
|
@@ -3361,7 +3369,7 @@ const Rt = c.forwardRef(({ className: e, children: r, position: t = "popper", ..
|
|
|
3361
3369
|
),
|
|
3362
3370
|
position: t,
|
|
3363
3371
|
...o,
|
|
3364
|
-
children: /* @__PURE__ */
|
|
3372
|
+
children: /* @__PURE__ */ i(
|
|
3365
3373
|
C.Viewport,
|
|
3366
3374
|
{
|
|
3367
3375
|
className: d(
|
|
@@ -3373,23 +3381,23 @@ const Rt = c.forwardRef(({ className: e, children: r, position: t = "popper", ..
|
|
|
3373
3381
|
)
|
|
3374
3382
|
}
|
|
3375
3383
|
) }));
|
|
3376
|
-
|
|
3377
|
-
const
|
|
3384
|
+
zt.displayName = C.Content.displayName;
|
|
3385
|
+
const It = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ i(
|
|
3378
3386
|
C.Item,
|
|
3379
3387
|
{
|
|
3380
3388
|
ref: o,
|
|
3381
3389
|
className: d(
|
|
3382
|
-
"relative flex w-full cursor-pointer select-none items-center rounded px-
|
|
3390
|
+
"relative flex w-full cursor-pointer select-none items-center rounded px-2.5 py-1.5 text-sm outline-none",
|
|
3383
3391
|
"focus:bg-primary focus:text-white",
|
|
3384
3392
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
3385
3393
|
e
|
|
3386
3394
|
),
|
|
3387
3395
|
...t,
|
|
3388
|
-
children: /* @__PURE__ */
|
|
3396
|
+
children: /* @__PURE__ */ i(C.ItemText, { children: r })
|
|
3389
3397
|
}
|
|
3390
3398
|
));
|
|
3391
|
-
|
|
3392
|
-
const
|
|
3399
|
+
It.displayName = C.Item.displayName;
|
|
3400
|
+
const Mt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3393
3401
|
C.Separator,
|
|
3394
3402
|
{
|
|
3395
3403
|
ref: t,
|
|
@@ -3397,9 +3405,9 @@ const zt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
|
|
|
3397
3405
|
...r
|
|
3398
3406
|
}
|
|
3399
3407
|
));
|
|
3400
|
-
|
|
3401
|
-
const
|
|
3402
|
-
({ 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(
|
|
3403
3411
|
"textarea",
|
|
3404
3412
|
{
|
|
3405
3413
|
className: d(
|
|
@@ -3420,8 +3428,8 @@ const Mt = c.forwardRef(
|
|
|
3420
3428
|
}
|
|
3421
3429
|
)
|
|
3422
3430
|
);
|
|
3423
|
-
|
|
3424
|
-
const
|
|
3431
|
+
At.displayName = "Textarea";
|
|
3432
|
+
const Tt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
3425
3433
|
const a = {
|
|
3426
3434
|
sm: "h-1",
|
|
3427
3435
|
base: "h-2",
|
|
@@ -3431,8 +3439,8 @@ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3431
3439
|
base: "h-5 w-5",
|
|
3432
3440
|
lg: "h-6 w-6"
|
|
3433
3441
|
};
|
|
3434
|
-
return /* @__PURE__ */
|
|
3435
|
-
|
|
3442
|
+
return /* @__PURE__ */ A(
|
|
3443
|
+
$.Root,
|
|
3436
3444
|
{
|
|
3437
3445
|
ref: o,
|
|
3438
3446
|
className: d(
|
|
@@ -3442,9 +3450,9 @@ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3442
3450
|
),
|
|
3443
3451
|
...t,
|
|
3444
3452
|
children: [
|
|
3445
|
-
/* @__PURE__ */
|
|
3446
|
-
/* @__PURE__ */
|
|
3447
|
-
|
|
3453
|
+
/* @__PURE__ */ i($.Track, { className: "relative h-full w-full grow rounded-full bg-gray-300", children: /* @__PURE__ */ i($.Range, { className: "absolute h-full rounded-full bg-primary" }) }),
|
|
3454
|
+
/* @__PURE__ */ i(
|
|
3455
|
+
$.Thumb,
|
|
3448
3456
|
{
|
|
3449
3457
|
className: d(
|
|
3450
3458
|
"block rounded-full border-2 border-black bg-white transition-colors",
|
|
@@ -3458,31 +3466,31 @@ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
|
|
|
3458
3466
|
}
|
|
3459
3467
|
);
|
|
3460
3468
|
});
|
|
3461
|
-
|
|
3462
|
-
const
|
|
3469
|
+
Tt.displayName = $.Root.displayName;
|
|
3470
|
+
const Pt = c.forwardRef(
|
|
3463
3471
|
({ className: e, separator: r = "/", children: t, ...o }, a) => {
|
|
3464
3472
|
const s = c.Children.toArray(t);
|
|
3465
|
-
return /* @__PURE__ */
|
|
3473
|
+
return /* @__PURE__ */ i(
|
|
3466
3474
|
"nav",
|
|
3467
3475
|
{
|
|
3468
3476
|
ref: a,
|
|
3469
3477
|
"aria-label": "Breadcrumb",
|
|
3470
3478
|
className: d("flex items-center space-x-2", e),
|
|
3471
3479
|
...o,
|
|
3472
|
-
children: /* @__PURE__ */
|
|
3480
|
+
children: /* @__PURE__ */ i("ol", { className: "flex items-center space-x-2", children: c.Children.map(t, (n, l) => {
|
|
3473
3481
|
const b = l === s.length - 1;
|
|
3474
|
-
return /* @__PURE__ */
|
|
3475
|
-
|
|
3476
|
-
!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 })
|
|
3477
3485
|
] }, l);
|
|
3478
3486
|
}) })
|
|
3479
3487
|
}
|
|
3480
3488
|
);
|
|
3481
3489
|
}
|
|
3482
3490
|
);
|
|
3483
|
-
|
|
3484
|
-
const
|
|
3485
|
-
({ 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(
|
|
3486
3494
|
"span",
|
|
3487
3495
|
{
|
|
3488
3496
|
ref: o,
|
|
@@ -3491,7 +3499,7 @@ const At = c.forwardRef(
|
|
|
3491
3499
|
...t,
|
|
3492
3500
|
children: t.children
|
|
3493
3501
|
}
|
|
3494
|
-
) : /* @__PURE__ */
|
|
3502
|
+
) : /* @__PURE__ */ i(
|
|
3495
3503
|
"a",
|
|
3496
3504
|
{
|
|
3497
3505
|
ref: o,
|
|
@@ -3503,8 +3511,8 @@ const At = c.forwardRef(
|
|
|
3503
3511
|
}
|
|
3504
3512
|
)
|
|
3505
3513
|
);
|
|
3506
|
-
|
|
3507
|
-
const
|
|
3514
|
+
jt.displayName = "BreadcrumbItem";
|
|
3515
|
+
const Et = c.forwardRef(
|
|
3508
3516
|
({
|
|
3509
3517
|
className: e,
|
|
3510
3518
|
currentPage: r,
|
|
@@ -3512,26 +3520,26 @@ const Pt = c.forwardRef(
|
|
|
3512
3520
|
onPageChange: o,
|
|
3513
3521
|
showFirstLast: a = !0,
|
|
3514
3522
|
maxVisible: s = 5,
|
|
3515
|
-
...
|
|
3523
|
+
...n
|
|
3516
3524
|
}, l) => {
|
|
3517
|
-
const
|
|
3518
|
-
const
|
|
3519
|
-
let
|
|
3520
|
-
|
|
3521
|
-
for (let R =
|
|
3522
|
-
|
|
3523
|
-
return
|
|
3525
|
+
const p = (() => {
|
|
3526
|
+
const m = [], 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 && (m.push(1), f > 2 && m.push("ellipsis-start"));
|
|
3529
|
+
for (let R = f; R <= y; R++)
|
|
3530
|
+
m.push(R);
|
|
3531
|
+
return y < t && a && (y < t - 1 && m.push("ellipsis-end"), m.push(t)), m;
|
|
3524
3532
|
})();
|
|
3525
|
-
return /* @__PURE__ */
|
|
3533
|
+
return /* @__PURE__ */ A(
|
|
3526
3534
|
"nav",
|
|
3527
3535
|
{
|
|
3528
3536
|
ref: l,
|
|
3529
3537
|
"aria-label": "Pagination",
|
|
3530
3538
|
className: d("flex items-center justify-center gap-1", e),
|
|
3531
|
-
...
|
|
3539
|
+
...n,
|
|
3532
3540
|
children: [
|
|
3533
|
-
/* @__PURE__ */
|
|
3534
|
-
|
|
3541
|
+
/* @__PURE__ */ i(
|
|
3542
|
+
Z,
|
|
3535
3543
|
{
|
|
3536
3544
|
onClick: () => o(r - 1),
|
|
3537
3545
|
disabled: r === 1,
|
|
@@ -3539,19 +3547,19 @@ const Pt = c.forwardRef(
|
|
|
3539
3547
|
children: "‹"
|
|
3540
3548
|
}
|
|
3541
3549
|
),
|
|
3542
|
-
|
|
3543
|
-
|
|
3550
|
+
p.map((m, h) => typeof m == "string" ? /* @__PURE__ */ i("span", { className: "px-2 text-gray-500", children: "..." }, h) : /* @__PURE__ */ i(
|
|
3551
|
+
Z,
|
|
3544
3552
|
{
|
|
3545
|
-
onClick: () => o(
|
|
3546
|
-
active:
|
|
3547
|
-
"aria-label": `Page ${
|
|
3548
|
-
"aria-current":
|
|
3549
|
-
children:
|
|
3553
|
+
onClick: () => o(m),
|
|
3554
|
+
active: m === r,
|
|
3555
|
+
"aria-label": `Page ${m}`,
|
|
3556
|
+
"aria-current": m === r ? "page" : void 0,
|
|
3557
|
+
children: m
|
|
3550
3558
|
},
|
|
3551
|
-
|
|
3559
|
+
m
|
|
3552
3560
|
)),
|
|
3553
|
-
/* @__PURE__ */
|
|
3554
|
-
|
|
3561
|
+
/* @__PURE__ */ i(
|
|
3562
|
+
Z,
|
|
3555
3563
|
{
|
|
3556
3564
|
onClick: () => o(r + 1),
|
|
3557
3565
|
disabled: r === t,
|
|
@@ -3564,8 +3572,8 @@ const Pt = c.forwardRef(
|
|
|
3564
3572
|
);
|
|
3565
3573
|
}
|
|
3566
3574
|
);
|
|
3567
|
-
|
|
3568
|
-
const
|
|
3575
|
+
Et.displayName = "Pagination";
|
|
3576
|
+
const Z = c.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE__ */ i(
|
|
3569
3577
|
"button",
|
|
3570
3578
|
{
|
|
3571
3579
|
ref: o,
|
|
@@ -3579,22 +3587,22 @@ const K = c.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE
|
|
|
3579
3587
|
...t
|
|
3580
3588
|
}
|
|
3581
3589
|
));
|
|
3582
|
-
|
|
3583
|
-
const
|
|
3590
|
+
Z.displayName = "PaginationButton";
|
|
3591
|
+
const xo = G.Root, Gt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ i(
|
|
3584
3592
|
G.List,
|
|
3585
3593
|
{
|
|
3586
3594
|
ref: o,
|
|
3587
3595
|
className: d(
|
|
3588
|
-
"inline-flex items-center justify-center
|
|
3589
|
-
r === "default" && "border-2 border-black",
|
|
3590
|
-
r === "pills" && "bg-gray-200 p-1",
|
|
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",
|
|
3591
3599
|
e
|
|
3592
3600
|
),
|
|
3593
3601
|
...t
|
|
3594
3602
|
}
|
|
3595
3603
|
));
|
|
3596
|
-
|
|
3597
|
-
const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */
|
|
3604
|
+
Gt.displayName = G.List.displayName;
|
|
3605
|
+
const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ i(
|
|
3598
3606
|
G.Trigger,
|
|
3599
3607
|
{
|
|
3600
3608
|
ref: o,
|
|
@@ -3610,7 +3618,7 @@ const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /
|
|
|
3610
3618
|
}
|
|
3611
3619
|
));
|
|
3612
3620
|
Lt.displayName = G.Trigger.displayName;
|
|
3613
|
-
const
|
|
3621
|
+
const Ft = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
3614
3622
|
G.Content,
|
|
3615
3623
|
{
|
|
3616
3624
|
ref: t,
|
|
@@ -3621,64 +3629,161 @@ const Gt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
|
|
|
3621
3629
|
...r
|
|
3622
3630
|
}
|
|
3623
3631
|
));
|
|
3624
|
-
|
|
3625
|
-
const
|
|
3626
|
-
|
|
3632
|
+
Ft.displayName = G.Content.displayName;
|
|
3633
|
+
const Ge = c.createContext("base"), K = 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(K.Provider, { value: t, children: /* @__PURE__ */ i(
|
|
3634
|
+
E.Root,
|
|
3627
3635
|
{
|
|
3628
|
-
ref:
|
|
3629
|
-
className: d("
|
|
3630
|
-
...
|
|
3636
|
+
ref: a,
|
|
3637
|
+
className: d("bg-transparent", e),
|
|
3638
|
+
...o
|
|
3631
3639
|
}
|
|
3632
|
-
));
|
|
3633
|
-
|
|
3634
|
-
const
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3640
|
+
) }) }));
|
|
3641
|
+
Bt.displayName = "Accordion";
|
|
3642
|
+
const Ht = c.forwardRef(({ className: e, ...r }, t) => {
|
|
3643
|
+
const a = c.useContext(K) === "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(K), 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",
|
|
3741
|
+
"translate-y-[calc(0.125rem*0.5)]"
|
|
3742
|
+
// translateY(calc(border-width * 0.5))
|
|
3743
|
+
),
|
|
3744
|
+
style: {
|
|
3745
|
+
transform: `translateY(calc(0.125rem * 0.5)) ${l ? "scaleY(-1)" : ""}`
|
|
3746
|
+
},
|
|
3747
|
+
"aria-hidden": "true"
|
|
3748
|
+
}
|
|
3749
|
+
)
|
|
3750
|
+
]
|
|
3751
|
+
}
|
|
3752
|
+
) });
|
|
3753
|
+
});
|
|
3754
|
+
Wt.displayName = E.Trigger.displayName;
|
|
3755
|
+
const Vt = c.forwardRef(({ className: e, children: r, ...t }, o) => {
|
|
3756
|
+
const s = c.useContext(K) === "dark";
|
|
3757
|
+
return /* @__PURE__ */ i(
|
|
3758
|
+
E.Content,
|
|
3759
|
+
{
|
|
3760
|
+
ref: o,
|
|
3761
|
+
className: d(
|
|
3762
|
+
"overflow-hidden transition-all",
|
|
3763
|
+
"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
3764
|
+
"last:rounded-b-[0.375rem]",
|
|
3765
|
+
// border radius for last item content
|
|
3766
|
+
e
|
|
3767
|
+
),
|
|
3768
|
+
...t,
|
|
3769
|
+
children: /* @__PURE__ */ i(
|
|
3770
|
+
"div",
|
|
3649
3771
|
{
|
|
3650
|
-
className:
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
d: "M3 4.5L6 7.5L9 4.5",
|
|
3658
|
-
stroke: "currentColor",
|
|
3659
|
-
strokeWidth: "2",
|
|
3660
|
-
strokeLinecap: "round",
|
|
3661
|
-
strokeLinejoin: "round"
|
|
3662
|
-
}
|
|
3663
|
-
)
|
|
3772
|
+
className: d(
|
|
3773
|
+
"pt-5 pb-7.5 px-0",
|
|
3774
|
+
// pt: spacer (20px), pb: spacer * 1.5 (30px), px: 0
|
|
3775
|
+
s ? "text-white [&_*]:text-white" : "text-black",
|
|
3776
|
+
e
|
|
3777
|
+
),
|
|
3778
|
+
children: r
|
|
3664
3779
|
}
|
|
3665
3780
|
)
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
const
|
|
3671
|
-
|
|
3672
|
-
{
|
|
3673
|
-
ref: o,
|
|
3674
|
-
className: "overflow-hidden text-base transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
3675
|
-
...t,
|
|
3676
|
-
children: /* @__PURE__ */ n("div", { className: d("pb-4 pt-0", e), children: r })
|
|
3677
|
-
}
|
|
3678
|
-
));
|
|
3679
|
-
Ft.displayName = L.Content.displayName;
|
|
3680
|
-
const ho = q.Root, vo = q.Trigger, Wt = c.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ n(q.Portal, { children: /* @__PURE__ */ n(
|
|
3681
|
-
q.Content,
|
|
3781
|
+
}
|
|
3782
|
+
);
|
|
3783
|
+
});
|
|
3784
|
+
Vt.displayName = E.Content.displayName;
|
|
3785
|
+
const vo = _.Root, yo = _.Trigger, $t = c.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ i(_.Portal, { children: /* @__PURE__ */ i(
|
|
3786
|
+
_.Content,
|
|
3682
3787
|
{
|
|
3683
3788
|
ref: a,
|
|
3684
3789
|
align: r,
|
|
@@ -3691,9 +3796,9 @@ const ho = q.Root, vo = q.Trigger, Wt = c.forwardRef(({ className: e, align: r =
|
|
|
3691
3796
|
...o
|
|
3692
3797
|
}
|
|
3693
3798
|
) }));
|
|
3694
|
-
|
|
3695
|
-
const
|
|
3696
|
-
|
|
3799
|
+
$t.displayName = _.Content.displayName;
|
|
3800
|
+
const wo = O.Provider, ko = O.Root, No = O.Trigger, Ut = c.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ i(
|
|
3801
|
+
O.Content,
|
|
3697
3802
|
{
|
|
3698
3803
|
ref: o,
|
|
3699
3804
|
sideOffset: r,
|
|
@@ -3705,8 +3810,8 @@ const xo = D.Provider, yo = D.Root, wo = D.Trigger, Ht = c.forwardRef(({ classNa
|
|
|
3705
3810
|
...t
|
|
3706
3811
|
}
|
|
3707
3812
|
));
|
|
3708
|
-
|
|
3709
|
-
const
|
|
3813
|
+
Ut.displayName = O.Content.displayName;
|
|
3814
|
+
const Dt = c.forwardRef(
|
|
3710
3815
|
({ className: e, variant: r = "primary", size: t = "base", ...o }, a) => {
|
|
3711
3816
|
const s = {
|
|
3712
3817
|
primary: "bg-primary text-white",
|
|
@@ -3717,19 +3822,19 @@ const Vt = c.forwardRef(
|
|
|
3717
3822
|
info: "bg-info text-white",
|
|
3718
3823
|
light: "bg-light text-black",
|
|
3719
3824
|
dark: "bg-dark text-white"
|
|
3720
|
-
},
|
|
3825
|
+
}, n = {
|
|
3721
3826
|
sm: "px-2 py-0.5 text-xs",
|
|
3722
3827
|
base: "px-2.5 py-1 text-sm",
|
|
3723
3828
|
lg: "px-3 py-1.5 text-base"
|
|
3724
3829
|
};
|
|
3725
|
-
return /* @__PURE__ */
|
|
3830
|
+
return /* @__PURE__ */ i(
|
|
3726
3831
|
"span",
|
|
3727
3832
|
{
|
|
3728
3833
|
ref: a,
|
|
3729
3834
|
className: d(
|
|
3730
3835
|
"inline-flex items-center rounded font-medium",
|
|
3731
3836
|
s[r],
|
|
3732
|
-
|
|
3837
|
+
n[t],
|
|
3733
3838
|
e
|
|
3734
3839
|
),
|
|
3735
3840
|
...o
|
|
@@ -3737,40 +3842,40 @@ const Vt = c.forwardRef(
|
|
|
3737
3842
|
);
|
|
3738
3843
|
}
|
|
3739
3844
|
);
|
|
3740
|
-
|
|
3741
|
-
const
|
|
3742
|
-
({ className: e, src: r, alt: t, fallback: o, size: a = "base", ...s },
|
|
3845
|
+
Dt.displayName = "Badge";
|
|
3846
|
+
const _t = c.forwardRef(
|
|
3847
|
+
({ className: e, src: r, alt: t, fallback: o, size: a = "base", ...s }, n) => {
|
|
3743
3848
|
const l = {
|
|
3744
3849
|
sm: "h-8 w-8 text-xs",
|
|
3745
3850
|
base: "h-10 w-10 text-sm",
|
|
3746
3851
|
lg: "h-12 w-12 text-base"
|
|
3747
|
-
}, [b,
|
|
3748
|
-
return /* @__PURE__ */
|
|
3852
|
+
}, [b, p] = c.useState(!1);
|
|
3853
|
+
return /* @__PURE__ */ i(
|
|
3749
3854
|
"div",
|
|
3750
3855
|
{
|
|
3751
|
-
ref:
|
|
3856
|
+
ref: n,
|
|
3752
3857
|
className: d(
|
|
3753
3858
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-gray-300",
|
|
3754
3859
|
l[a],
|
|
3755
3860
|
e
|
|
3756
3861
|
),
|
|
3757
3862
|
...s,
|
|
3758
|
-
children: r && !b ? /* @__PURE__ */
|
|
3863
|
+
children: r && !b ? /* @__PURE__ */ i(
|
|
3759
3864
|
"img",
|
|
3760
3865
|
{
|
|
3761
3866
|
src: r,
|
|
3762
3867
|
alt: t,
|
|
3763
3868
|
className: "h-full w-full object-cover",
|
|
3764
|
-
onError: () =>
|
|
3869
|
+
onError: () => p(!0)
|
|
3765
3870
|
}
|
|
3766
|
-
) : /* @__PURE__ */
|
|
3871
|
+
) : /* @__PURE__ */ i("span", { className: "font-medium text-gray-700", children: o || "?" })
|
|
3767
3872
|
}
|
|
3768
3873
|
);
|
|
3769
3874
|
}
|
|
3770
3875
|
);
|
|
3771
|
-
|
|
3772
|
-
const
|
|
3773
|
-
({ className: e, orientation: r = "horizontal", variant: t = "solid", ...o }, a) => r === "vertical" ? /* @__PURE__ */
|
|
3876
|
+
_t.displayName = "Avatar";
|
|
3877
|
+
const Ot = c.forwardRef(
|
|
3878
|
+
({ className: e, orientation: r = "horizontal", variant: t = "solid", ...o }, a) => r === "vertical" ? /* @__PURE__ */ i(
|
|
3774
3879
|
"div",
|
|
3775
3880
|
{
|
|
3776
3881
|
ref: a,
|
|
@@ -3783,7 +3888,7 @@ const $t = c.forwardRef(
|
|
|
3783
3888
|
"aria-orientation": "vertical",
|
|
3784
3889
|
...o
|
|
3785
3890
|
}
|
|
3786
|
-
) : /* @__PURE__ */
|
|
3891
|
+
) : /* @__PURE__ */ i(
|
|
3787
3892
|
"hr",
|
|
3788
3893
|
{
|
|
3789
3894
|
ref: a,
|
|
@@ -3798,8 +3903,8 @@ const $t = c.forwardRef(
|
|
|
3798
3903
|
}
|
|
3799
3904
|
)
|
|
3800
3905
|
);
|
|
3801
|
-
|
|
3802
|
-
const
|
|
3906
|
+
Ot.displayName = "Divider";
|
|
3907
|
+
const qt = c.forwardRef(
|
|
3803
3908
|
({
|
|
3804
3909
|
className: e,
|
|
3805
3910
|
variant: r = "rectangular",
|
|
@@ -3807,10 +3912,10 @@ const _t = c.forwardRef(
|
|
|
3807
3912
|
height: o,
|
|
3808
3913
|
style: a,
|
|
3809
3914
|
...s
|
|
3810
|
-
},
|
|
3915
|
+
}, n) => /* @__PURE__ */ i(
|
|
3811
3916
|
"div",
|
|
3812
3917
|
{
|
|
3813
|
-
ref:
|
|
3918
|
+
ref: n,
|
|
3814
3919
|
className: d(
|
|
3815
3920
|
"animate-pulse bg-gray-300",
|
|
3816
3921
|
{
|
|
@@ -3829,9 +3934,9 @@ const _t = c.forwardRef(
|
|
|
3829
3934
|
}
|
|
3830
3935
|
)
|
|
3831
3936
|
);
|
|
3832
|
-
|
|
3833
|
-
const
|
|
3834
|
-
const
|
|
3937
|
+
qt.displayName = "Skeleton";
|
|
3938
|
+
const Xt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base", value: o, ...a }, s) => {
|
|
3939
|
+
const n = {
|
|
3835
3940
|
primary: "bg-primary",
|
|
3836
3941
|
success: "bg-success",
|
|
3837
3942
|
danger: "bg-danger",
|
|
@@ -3842,8 +3947,8 @@ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base
|
|
|
3842
3947
|
base: "h-2",
|
|
3843
3948
|
lg: "h-3"
|
|
3844
3949
|
};
|
|
3845
|
-
return /* @__PURE__ */
|
|
3846
|
-
|
|
3950
|
+
return /* @__PURE__ */ i(
|
|
3951
|
+
ie.Root,
|
|
3847
3952
|
{
|
|
3848
3953
|
ref: s,
|
|
3849
3954
|
className: d(
|
|
@@ -3852,12 +3957,12 @@ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base
|
|
|
3852
3957
|
e
|
|
3853
3958
|
),
|
|
3854
3959
|
...a,
|
|
3855
|
-
children: /* @__PURE__ */
|
|
3856
|
-
|
|
3960
|
+
children: /* @__PURE__ */ i(
|
|
3961
|
+
ie.Indicator,
|
|
3857
3962
|
{
|
|
3858
3963
|
className: d(
|
|
3859
3964
|
"h-full w-full flex-1 transition-all",
|
|
3860
|
-
|
|
3965
|
+
n[r]
|
|
3861
3966
|
),
|
|
3862
3967
|
style: { transform: `translateX(-${100 - (o || 0)}%)` }
|
|
3863
3968
|
}
|
|
@@ -3865,39 +3970,39 @@ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base
|
|
|
3865
3970
|
}
|
|
3866
3971
|
);
|
|
3867
3972
|
});
|
|
3868
|
-
|
|
3869
|
-
const
|
|
3973
|
+
Xt.displayName = ie.Root.displayName;
|
|
3974
|
+
const Yt = c.forwardRef(
|
|
3870
3975
|
({ className: e, size: r = "base", variant: t = "primary", ...o }, a) => {
|
|
3871
3976
|
const s = {
|
|
3872
3977
|
sm: "h-4 w-4 border-2",
|
|
3873
3978
|
base: "h-6 w-6 border-2",
|
|
3874
3979
|
lg: "h-8 w-8 border-[3px]"
|
|
3875
|
-
},
|
|
3980
|
+
}, n = {
|
|
3876
3981
|
primary: "border-primary border-t-transparent",
|
|
3877
3982
|
secondary: "border-secondary border-t-transparent",
|
|
3878
3983
|
white: "border-white border-t-transparent"
|
|
3879
3984
|
};
|
|
3880
|
-
return /* @__PURE__ */
|
|
3985
|
+
return /* @__PURE__ */ i(
|
|
3881
3986
|
"div",
|
|
3882
3987
|
{
|
|
3883
3988
|
ref: a,
|
|
3884
3989
|
className: d(
|
|
3885
3990
|
"animate-spin rounded-full",
|
|
3886
3991
|
s[r],
|
|
3887
|
-
|
|
3992
|
+
n[t],
|
|
3888
3993
|
e
|
|
3889
3994
|
),
|
|
3890
3995
|
role: "status",
|
|
3891
3996
|
"aria-label": "Loading",
|
|
3892
3997
|
...o,
|
|
3893
|
-
children: /* @__PURE__ */
|
|
3998
|
+
children: /* @__PURE__ */ i("span", { className: "sr-only", children: "Loading..." })
|
|
3894
3999
|
}
|
|
3895
4000
|
);
|
|
3896
4001
|
}
|
|
3897
4002
|
);
|
|
3898
|
-
|
|
3899
|
-
const
|
|
3900
|
-
({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, a) => /* @__PURE__ */
|
|
4003
|
+
Yt.displayName = "Spinner";
|
|
4004
|
+
const Jt = c.forwardRef(
|
|
4005
|
+
({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, a) => /* @__PURE__ */ i(
|
|
3901
4006
|
Ne.Root,
|
|
3902
4007
|
{
|
|
3903
4008
|
ref: a,
|
|
@@ -3912,120 +4017,120 @@ const Ot = c.forwardRef(
|
|
|
3912
4017
|
}
|
|
3913
4018
|
)
|
|
3914
4019
|
);
|
|
3915
|
-
|
|
4020
|
+
Jt.displayName = Ne.Root.displayName;
|
|
3916
4021
|
export {
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
4022
|
+
Bt as Accordion,
|
|
4023
|
+
Vt as AccordionContent,
|
|
4024
|
+
Ht as AccordionItem,
|
|
4025
|
+
Wt as AccordionTrigger,
|
|
4026
|
+
dt as Alert,
|
|
4027
|
+
_t as Avatar,
|
|
4028
|
+
Dt as Badge,
|
|
4029
|
+
jt as BreadcrumbItem,
|
|
4030
|
+
Pt as Breadcrumbs,
|
|
4031
|
+
Or as Button,
|
|
4032
|
+
Xr as Card,
|
|
4033
|
+
Kr as CardContent,
|
|
4034
|
+
Zr as CardDescription,
|
|
4035
|
+
Qr as CardFooter,
|
|
4036
|
+
Yr as CardHeader,
|
|
4037
|
+
Jr as CardTitle,
|
|
4038
|
+
kt as Checkbox,
|
|
4039
|
+
rt as Container,
|
|
4040
|
+
Ot as Divider,
|
|
4041
|
+
ft as Dropdown,
|
|
4042
|
+
ht as DropdownItem,
|
|
4043
|
+
to as Form,
|
|
4044
|
+
ct as FormDescription,
|
|
4045
|
+
oo as FormField,
|
|
4046
|
+
nt as FormItem,
|
|
4047
|
+
it as FormLabel,
|
|
4048
|
+
lt as FormMessage,
|
|
4049
|
+
tt as Grid,
|
|
4050
|
+
ot as GridItem,
|
|
3946
4051
|
qr as Input,
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
4052
|
+
bt as Modal,
|
|
4053
|
+
gt as ModalBody,
|
|
4054
|
+
ut as ModalFooter,
|
|
4055
|
+
pt as ModalHeader,
|
|
4056
|
+
mt as ModalTitle,
|
|
4057
|
+
xt as Navbar,
|
|
4058
|
+
yt as NavbarItem,
|
|
4059
|
+
wt as NavbarLink,
|
|
4060
|
+
vt as NavbarNav,
|
|
4061
|
+
Et as Pagination,
|
|
4062
|
+
Z as PaginationButton,
|
|
4063
|
+
vo as Popover,
|
|
4064
|
+
$t as PopoverContent,
|
|
4065
|
+
yo as PopoverTrigger,
|
|
4066
|
+
Xt as Progress,
|
|
4067
|
+
Nt as RadioGroup,
|
|
4068
|
+
Ct as RadioItem,
|
|
4069
|
+
uo as Select,
|
|
4070
|
+
zt as SelectContent,
|
|
4071
|
+
fo as SelectGroup,
|
|
4072
|
+
It as SelectItem,
|
|
4073
|
+
Mt as SelectSeparator,
|
|
4074
|
+
St as SelectTrigger,
|
|
4075
|
+
ho as SelectValue,
|
|
4076
|
+
Jt as Separator,
|
|
4077
|
+
qt as Skeleton,
|
|
4078
|
+
Tt as Slider,
|
|
4079
|
+
Yt as Spinner,
|
|
4080
|
+
Rt as Switch,
|
|
4081
|
+
xo as Tabs,
|
|
4082
|
+
Ft as TabsContent,
|
|
4083
|
+
Gt as TabsList,
|
|
3979
4084
|
Lt as TabsTrigger,
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4085
|
+
At as Textarea,
|
|
4086
|
+
ko as Tooltip,
|
|
4087
|
+
Ut as TooltipContent,
|
|
4088
|
+
wo as TooltipProvider,
|
|
4089
|
+
No as TooltipTrigger,
|
|
4090
|
+
et as Typography,
|
|
4091
|
+
sr as borderColors,
|
|
4092
|
+
ar as borderRadius,
|
|
4093
|
+
or as borderStyle,
|
|
4094
|
+
Ie as borderWidth,
|
|
4095
|
+
tr as borderWidths,
|
|
4096
|
+
nr as borders,
|
|
4097
|
+
ir as boxShadows,
|
|
4098
|
+
cr as breakpoints,
|
|
4099
|
+
_e as colors,
|
|
4100
|
+
br as containerFluidMargins,
|
|
4101
|
+
dr as containerMaxWidths,
|
|
4102
|
+
Ye as containerPaddingX,
|
|
4103
|
+
po as dateSchema,
|
|
4104
|
+
Ze as displaySizes,
|
|
4105
|
+
ao as emailSchema,
|
|
4106
|
+
he as fontFamilies,
|
|
4107
|
+
J as fontSizes,
|
|
4108
|
+
er as fontWeights,
|
|
4109
|
+
U as functionalColors,
|
|
4110
|
+
mo as futureDateSchema,
|
|
4111
|
+
Re as grays,
|
|
4112
|
+
Se as gridGutterWidth,
|
|
4113
|
+
ze as headingSizes,
|
|
4114
|
+
Qe as letterSpacing,
|
|
4115
|
+
Ke as lineHeights,
|
|
4116
|
+
bo as nonNegativeNumber,
|
|
4012
4117
|
u as odsColors,
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4118
|
+
no as optionalString,
|
|
4119
|
+
go as pastDateSchema,
|
|
4120
|
+
io as phoneSchema,
|
|
4121
|
+
co as positiveNumber,
|
|
4122
|
+
so as requiredString,
|
|
4123
|
+
pr as responsive,
|
|
4124
|
+
De as semanticColors,
|
|
4125
|
+
lr as shadows,
|
|
4126
|
+
Oe as spacer,
|
|
4022
4127
|
qe as spacers,
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4128
|
+
Je as spacing,
|
|
4129
|
+
Ue as supportingColors,
|
|
4130
|
+
Xe as targetSize,
|
|
4131
|
+
Ce as themeColors,
|
|
4132
|
+
ro as tokens,
|
|
4133
|
+
rr as typography,
|
|
4134
|
+
lo as urlSchema
|
|
4030
4135
|
};
|
|
4031
4136
|
//# sourceMappingURL=index.js.map
|