@fabio.caffarello/react-design-system 3.10.0 → 3.11.0
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/granular/index.js +253 -251
- package/dist/granular/index.js.map +1 -1
- package/dist/granular/ui/components/TabsAsLinks/TabsAsLinks.js +145 -0
- package/dist/granular/ui/components/TabsAsLinks/TabsAsLinks.js.map +1 -0
- package/dist/index.cjs +58 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1244 -1131
- package/dist/index.js.map +1 -1
- package/dist/react-design-system.css +1 -1
- package/dist/server/index.cjs +9 -9
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +548 -435
- package/dist/server/index.js.map +1 -1
- package/dist/ui/components/TabsAsLinks/TabsAsLinks.d.ts +80 -0
- package/dist/ui/components/TabsAsLinks/index.d.ts +2 -0
- package/dist/ui/components/index.d.ts +2 -0
- package/dist/ui/server.d.ts +2 -0
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var
|
|
1
|
+
var te = Object.defineProperty, re = Object.defineProperties;
|
|
2
2
|
var se = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var P = Object.getOwnPropertySymbols;
|
|
4
4
|
var U = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var r in
|
|
7
|
-
U.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
K.call(
|
|
5
|
+
var H = (e, t, r) => t in e ? te(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, f = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
U.call(t, r) && H(e, r, t[r]);
|
|
8
|
+
if (P)
|
|
9
|
+
for (var r of P(t))
|
|
10
|
+
K.call(t, r) && H(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, g = (e,
|
|
13
|
-
var
|
|
12
|
+
}, g = (e, t) => re(e, se(t));
|
|
13
|
+
var m = (e, t) => {
|
|
14
14
|
var r = {};
|
|
15
|
-
for (var
|
|
16
|
-
U.call(e,
|
|
17
|
-
if (e != null &&
|
|
18
|
-
for (var
|
|
19
|
-
|
|
15
|
+
for (var a in e)
|
|
16
|
+
U.call(e, a) && t.indexOf(a) < 0 && (r[a] = e[a]);
|
|
17
|
+
if (e != null && P)
|
|
18
|
+
for (var a of P(e))
|
|
19
|
+
t.indexOf(a) < 0 && K.call(e, a) && (r[a] = e[a]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
var X = (e,
|
|
22
|
+
var X = (e, t, r) => H(e, typeof t != "symbol" ? t + "" : t, r);
|
|
23
23
|
import { jsx as l, jsxs as v } from "react/jsx-runtime";
|
|
24
|
-
import * as
|
|
25
|
-
import ee, { memo as
|
|
24
|
+
import * as E from "react";
|
|
25
|
+
import ee, { memo as _, forwardRef as z } from "react";
|
|
26
26
|
import { clsx as ne } from "clsx";
|
|
27
27
|
import { twMerge as ie } from "tailwind-merge";
|
|
28
28
|
import { cva as le } from "class-variance-authority";
|
|
@@ -31,8 +31,8 @@ class F {
|
|
|
31
31
|
/**
|
|
32
32
|
* Create a radius token
|
|
33
33
|
*/
|
|
34
|
-
static create(
|
|
35
|
-
const
|
|
34
|
+
static create(t) {
|
|
35
|
+
const a = {
|
|
36
36
|
none: {
|
|
37
37
|
px: 0,
|
|
38
38
|
tailwind: "rounded-none",
|
|
@@ -73,13 +73,13 @@ class F {
|
|
|
73
73
|
tailwind: "rounded-full",
|
|
74
74
|
description: "Full radius for circular elements"
|
|
75
75
|
}
|
|
76
|
-
}[
|
|
76
|
+
}[t];
|
|
77
77
|
return {
|
|
78
|
-
value:
|
|
79
|
-
rem: `${
|
|
80
|
-
px: `${
|
|
81
|
-
tailwind:
|
|
82
|
-
description:
|
|
78
|
+
value: a.px,
|
|
79
|
+
rem: `${a.px / 16}rem`,
|
|
80
|
+
px: `${a.px}px`,
|
|
81
|
+
tailwind: a.tailwind,
|
|
82
|
+
description: a.description
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -93,7 +93,7 @@ const fe = {
|
|
|
93
93
|
"3xl": F.create("3xl"),
|
|
94
94
|
full: F.create("full")
|
|
95
95
|
};
|
|
96
|
-
function
|
|
96
|
+
function S(e) {
|
|
97
97
|
return fe[e].tailwind;
|
|
98
98
|
}
|
|
99
99
|
class N {
|
|
@@ -101,19 +101,19 @@ class N {
|
|
|
101
101
|
/**
|
|
102
102
|
* Create a spacing token from scale value
|
|
103
103
|
*/
|
|
104
|
-
static create(
|
|
105
|
-
const r =
|
|
104
|
+
static create(t) {
|
|
105
|
+
const r = t * this.BASE_UNIT, a = r / 16;
|
|
106
106
|
return {
|
|
107
107
|
value: r,
|
|
108
|
-
rem: `${
|
|
108
|
+
rem: `${a}rem`,
|
|
109
109
|
px: `${r}px`,
|
|
110
|
-
tailwind: this.getTailwindClass(
|
|
110
|
+
tailwind: this.getTailwindClass(t)
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Get Tailwind class for spacing value
|
|
115
115
|
*/
|
|
116
|
-
static getTailwindClass(
|
|
116
|
+
static getTailwindClass(t) {
|
|
117
117
|
return {
|
|
118
118
|
0: "0",
|
|
119
119
|
0.5: "0.5",
|
|
@@ -160,7 +160,7 @@ class N {
|
|
|
160
160
|
// 320px
|
|
161
161
|
96: "96"
|
|
162
162
|
// 384px
|
|
163
|
-
}[
|
|
163
|
+
}[t] || String(t);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
X(N, "BASE_UNIT", 4);
|
|
@@ -201,8 +201,8 @@ const ue = {
|
|
|
201
201
|
"6xl": N.create(24)
|
|
202
202
|
// 96px
|
|
203
203
|
};
|
|
204
|
-
function i(e,
|
|
205
|
-
const
|
|
204
|
+
function i(e, t = "p") {
|
|
205
|
+
const a = ue[e].tailwind;
|
|
206
206
|
return `${{
|
|
207
207
|
p: "p",
|
|
208
208
|
m: "m",
|
|
@@ -223,14 +223,14 @@ function i(e, a = "p") {
|
|
|
223
223
|
"gap-y": "gap-y",
|
|
224
224
|
"space-x": "space-x",
|
|
225
225
|
"space-y": "space-y"
|
|
226
|
-
}[
|
|
226
|
+
}[t]}-${a}`;
|
|
227
227
|
}
|
|
228
228
|
class $ {
|
|
229
229
|
/**
|
|
230
230
|
* Create font size token
|
|
231
231
|
*/
|
|
232
|
-
static createFontSize(
|
|
233
|
-
const
|
|
232
|
+
static createFontSize(t) {
|
|
233
|
+
const a = {
|
|
234
234
|
"2xs": { px: 10, tailwind: "text-2xs" },
|
|
235
235
|
// micro-text (badge counters, mini chips)
|
|
236
236
|
xs: { px: 12, tailwind: "text-xs" },
|
|
@@ -243,55 +243,55 @@ class $ {
|
|
|
243
243
|
"4xl": { px: 36, tailwind: "text-4xl" },
|
|
244
244
|
"5xl": { px: 48, tailwind: "text-5xl" },
|
|
245
245
|
"6xl": { px: 60, tailwind: "text-6xl" }
|
|
246
|
-
}[
|
|
246
|
+
}[t];
|
|
247
247
|
return {
|
|
248
|
-
value:
|
|
249
|
-
rem: `${
|
|
250
|
-
px: `${
|
|
251
|
-
tailwind:
|
|
248
|
+
value: a.px,
|
|
249
|
+
rem: `${a.px / 16}rem`,
|
|
250
|
+
px: `${a.px}px`,
|
|
251
|
+
tailwind: a.tailwind
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
255
255
|
* Create line height token
|
|
256
256
|
*/
|
|
257
|
-
static createLineHeight(
|
|
258
|
-
const
|
|
257
|
+
static createLineHeight(t) {
|
|
258
|
+
const a = {
|
|
259
259
|
none: { value: 1, tailwind: "leading-none" },
|
|
260
260
|
tight: { value: 1.25, tailwind: "leading-tight" },
|
|
261
261
|
snug: { value: 1.375, tailwind: "leading-snug" },
|
|
262
262
|
normal: { value: 1.5, tailwind: "leading-normal" },
|
|
263
263
|
relaxed: { value: 1.625, tailwind: "leading-relaxed" },
|
|
264
264
|
loose: { value: 2, tailwind: "leading-loose" }
|
|
265
|
-
}[
|
|
265
|
+
}[t];
|
|
266
266
|
return {
|
|
267
|
-
value:
|
|
268
|
-
tailwind:
|
|
267
|
+
value: a.value,
|
|
268
|
+
tailwind: a.tailwind
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
* Create font weight token
|
|
273
273
|
*/
|
|
274
|
-
static createFontWeight(
|
|
275
|
-
const
|
|
274
|
+
static createFontWeight(t) {
|
|
275
|
+
const a = {
|
|
276
276
|
light: { value: 300, tailwind: "font-light" },
|
|
277
277
|
normal: { value: 400, tailwind: "font-normal" },
|
|
278
278
|
medium: { value: 500, tailwind: "font-medium" },
|
|
279
279
|
semibold: { value: 600, tailwind: "font-semibold" },
|
|
280
280
|
bold: { value: 700, tailwind: "font-bold" }
|
|
281
|
-
}[
|
|
281
|
+
}[t];
|
|
282
282
|
return {
|
|
283
|
-
value:
|
|
284
|
-
tailwind:
|
|
283
|
+
value: a.value,
|
|
284
|
+
tailwind: a.tailwind
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* Create complete typography token
|
|
289
289
|
*/
|
|
290
|
-
static create(
|
|
290
|
+
static create(t, r = "normal", a = "normal") {
|
|
291
291
|
return {
|
|
292
|
-
fontSize: this.createFontSize(
|
|
292
|
+
fontSize: this.createFontSize(t),
|
|
293
293
|
lineHeight: this.createLineHeight(r),
|
|
294
|
-
fontWeight: this.createFontWeight(
|
|
294
|
+
fontWeight: this.createFontWeight(a)
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -314,32 +314,32 @@ const B = {
|
|
|
314
314
|
button: $.create("base", "normal", "medium")
|
|
315
315
|
};
|
|
316
316
|
function R(e) {
|
|
317
|
-
const
|
|
318
|
-
return `${
|
|
317
|
+
const t = B[e];
|
|
318
|
+
return `${t.fontSize.tailwind} ${t.lineHeight.tailwind} ${t.fontWeight.tailwind}`;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function k(e) {
|
|
321
321
|
return B[e].fontSize.tailwind;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function M(e) {
|
|
324
324
|
return B[e].fontWeight.tailwind;
|
|
325
325
|
}
|
|
326
326
|
function n(...e) {
|
|
327
327
|
return ie(ne(e));
|
|
328
328
|
}
|
|
329
|
-
const
|
|
330
|
-
const r = le(e,
|
|
331
|
-
return ((
|
|
332
|
-
const s = r(
|
|
329
|
+
const A = (e, t) => {
|
|
330
|
+
const r = le(e, t);
|
|
331
|
+
return ((a) => {
|
|
332
|
+
const s = r(a);
|
|
333
333
|
return n(s);
|
|
334
334
|
});
|
|
335
|
-
}, pe =
|
|
335
|
+
}, pe = A(
|
|
336
336
|
// Base classes
|
|
337
337
|
n(
|
|
338
338
|
"inline-flex",
|
|
339
339
|
"items-center",
|
|
340
340
|
"justify-center",
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
M("label"),
|
|
342
|
+
S("md"),
|
|
343
343
|
"border"
|
|
344
344
|
),
|
|
345
345
|
{
|
|
@@ -357,17 +357,17 @@ const M = (e, a) => {
|
|
|
357
357
|
sm: n(
|
|
358
358
|
i("1.5", "px"),
|
|
359
359
|
i("0.5", "py"),
|
|
360
|
-
|
|
360
|
+
k("caption")
|
|
361
361
|
),
|
|
362
362
|
md: n(
|
|
363
363
|
i("sm", "px"),
|
|
364
364
|
i("xs", "py"),
|
|
365
|
-
|
|
365
|
+
k("caption")
|
|
366
366
|
),
|
|
367
367
|
lg: n(
|
|
368
368
|
i("sm", "px"),
|
|
369
369
|
i("xs", "py"),
|
|
370
|
-
|
|
370
|
+
k("bodySmall")
|
|
371
371
|
)
|
|
372
372
|
},
|
|
373
373
|
style: {
|
|
@@ -470,16 +470,16 @@ const M = (e, a) => {
|
|
|
470
470
|
style: "solid"
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
), me =
|
|
474
|
-
|
|
473
|
+
), me = _(
|
|
474
|
+
z(function(x, p) {
|
|
475
475
|
var y = x, {
|
|
476
|
-
variant:
|
|
476
|
+
variant: t = "neutral",
|
|
477
477
|
size: r = "md",
|
|
478
|
-
style:
|
|
478
|
+
style: a = "solid",
|
|
479
479
|
className: s = "",
|
|
480
480
|
children: o,
|
|
481
481
|
"aria-label": d
|
|
482
|
-
} = y, c =
|
|
482
|
+
} = y, c = m(y, [
|
|
483
483
|
"variant",
|
|
484
484
|
"size",
|
|
485
485
|
"style",
|
|
@@ -487,22 +487,22 @@ const M = (e, a) => {
|
|
|
487
487
|
"children",
|
|
488
488
|
"aria-label"
|
|
489
489
|
]);
|
|
490
|
-
const b = n(pe({ variant:
|
|
491
|
-
let
|
|
490
|
+
const b = n(pe({ variant: t, size: r, style: a }), s);
|
|
491
|
+
let u;
|
|
492
492
|
if (d)
|
|
493
|
-
|
|
493
|
+
u = d;
|
|
494
494
|
else if (typeof o == "string")
|
|
495
|
-
|
|
495
|
+
u = o;
|
|
496
496
|
else if (typeof o == "object" && o !== null && "props" in o) {
|
|
497
497
|
const h = o.props;
|
|
498
|
-
h != null && h.children && typeof h.children == "string" && (
|
|
498
|
+
h != null && h.children && typeof h.children == "string" && (u = h.children);
|
|
499
499
|
}
|
|
500
500
|
return /* @__PURE__ */ l(
|
|
501
501
|
"span",
|
|
502
502
|
g(f({
|
|
503
|
-
ref:
|
|
503
|
+
ref: p,
|
|
504
504
|
role: "status",
|
|
505
|
-
"aria-label":
|
|
505
|
+
"aria-label": u,
|
|
506
506
|
className: b
|
|
507
507
|
}, c), {
|
|
508
508
|
children: o
|
|
@@ -511,53 +511,53 @@ const M = (e, a) => {
|
|
|
511
511
|
})
|
|
512
512
|
);
|
|
513
513
|
me.displayName = "Badge";
|
|
514
|
-
function G(e,
|
|
514
|
+
function G(e, t) {
|
|
515
515
|
if (typeof e == "function")
|
|
516
|
-
return e(
|
|
517
|
-
e != null && (e.current =
|
|
516
|
+
return e(t);
|
|
517
|
+
e != null && (e.current = t);
|
|
518
518
|
}
|
|
519
519
|
function ge(...e) {
|
|
520
|
-
return (
|
|
520
|
+
return (t) => {
|
|
521
521
|
let r = !1;
|
|
522
|
-
const
|
|
523
|
-
const o = G(s,
|
|
522
|
+
const a = e.map((s) => {
|
|
523
|
+
const o = G(s, t);
|
|
524
524
|
return !r && typeof o == "function" && (r = !0), o;
|
|
525
525
|
});
|
|
526
526
|
if (r)
|
|
527
527
|
return () => {
|
|
528
|
-
for (let s = 0; s <
|
|
529
|
-
const o =
|
|
528
|
+
for (let s = 0; s < a.length; s++) {
|
|
529
|
+
const o = a[s];
|
|
530
530
|
typeof o == "function" ? o() : G(e[s], null);
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
535
|
function xe(...e) {
|
|
536
|
-
return
|
|
536
|
+
return E.useCallback(ge(...e), e);
|
|
537
537
|
}
|
|
538
538
|
// @__NO_SIDE_EFFECTS__
|
|
539
539
|
function be(e) {
|
|
540
|
-
const
|
|
540
|
+
const t = E.forwardRef((r, a) => {
|
|
541
541
|
var h;
|
|
542
|
-
let
|
|
543
|
-
const
|
|
544
|
-
Y(s) && typeof
|
|
545
|
-
var
|
|
542
|
+
let u = r, { children: s } = u, o = m(u, ["children"]), d = null, c = !1;
|
|
543
|
+
const p = [];
|
|
544
|
+
Y(s) && typeof W == "function" && (s = W(s._payload)), E.Children.forEach(s, (w) => {
|
|
545
|
+
var C;
|
|
546
546
|
if ($e(w)) {
|
|
547
547
|
c = !0;
|
|
548
|
-
const
|
|
549
|
-
let L = "child" in
|
|
550
|
-
Y(L) && typeof
|
|
548
|
+
const V = w;
|
|
549
|
+
let L = "child" in V.props ? V.props.child : V.props.children;
|
|
550
|
+
Y(L) && typeof W == "function" && (L = W(L._payload)), d = ve(V, L), p.push((C = d == null ? void 0 : d.props) == null ? void 0 : C.children);
|
|
551
551
|
} else
|
|
552
|
-
|
|
553
|
-
}), d ? d =
|
|
552
|
+
p.push(w);
|
|
553
|
+
}), d ? d = E.cloneElement(d, void 0, p) : (
|
|
554
554
|
// A `Slottable` was found but it didn't resolve to a single element (e.g.
|
|
555
555
|
// it wrapped multiple elements, text, or a render-prop `child` that
|
|
556
556
|
// wasn't an element). Don't fall back to treating the `Slottable` wrapper
|
|
557
557
|
// itself as the slot target — throw a descriptive error below instead.
|
|
558
|
-
!c &&
|
|
558
|
+
!c && E.Children.count(s) === 1 && E.isValidElement(s) && (d = s)
|
|
559
559
|
);
|
|
560
|
-
const x = d ? Ne(d) : void 0, y = xe(
|
|
560
|
+
const x = d ? Ne(d) : void 0, y = xe(a, x);
|
|
561
561
|
if (!d) {
|
|
562
562
|
if (s || s === 0)
|
|
563
563
|
throw new Error(
|
|
@@ -566,35 +566,35 @@ function be(e) {
|
|
|
566
566
|
return s;
|
|
567
567
|
}
|
|
568
568
|
const b = we(o, (h = d.props) != null ? h : {});
|
|
569
|
-
return d.type !==
|
|
569
|
+
return d.type !== E.Fragment && (b.ref = a ? y : x), E.cloneElement(d, b);
|
|
570
570
|
});
|
|
571
|
-
return
|
|
571
|
+
return t.displayName = `${e}.Slot`, t;
|
|
572
572
|
}
|
|
573
|
-
var he = /* @__PURE__ */ be("Slot"), ye = /* @__PURE__ */ Symbol.for("radix.slottable"), ve = (e,
|
|
573
|
+
var he = /* @__PURE__ */ be("Slot"), ye = /* @__PURE__ */ Symbol.for("radix.slottable"), ve = (e, t) => {
|
|
574
574
|
if ("child" in e.props) {
|
|
575
575
|
const r = e.props.child;
|
|
576
|
-
return
|
|
576
|
+
return E.isValidElement(r) ? E.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
|
|
577
577
|
}
|
|
578
|
-
return
|
|
578
|
+
return E.isValidElement(t) ? t : null;
|
|
579
579
|
};
|
|
580
|
-
function we(e,
|
|
581
|
-
const r = f({},
|
|
582
|
-
for (const
|
|
583
|
-
const s = e[
|
|
584
|
-
/^on[A-Z]/.test(
|
|
585
|
-
const
|
|
586
|
-
return s(...c),
|
|
587
|
-
} : s && (r[
|
|
580
|
+
function we(e, t) {
|
|
581
|
+
const r = f({}, t);
|
|
582
|
+
for (const a in t) {
|
|
583
|
+
const s = e[a], o = t[a];
|
|
584
|
+
/^on[A-Z]/.test(a) ? s && o ? r[a] = (...c) => {
|
|
585
|
+
const p = o(...c);
|
|
586
|
+
return s(...c), p;
|
|
587
|
+
} : s && (r[a] = s) : a === "style" ? r[a] = f(f({}, s), o) : a === "className" && (r[a] = [s, o].filter(Boolean).join(" "));
|
|
588
588
|
}
|
|
589
589
|
return f(f({}, e), r);
|
|
590
590
|
}
|
|
591
591
|
function Ne(e) {
|
|
592
|
-
var
|
|
593
|
-
let
|
|
594
|
-
return r ? e.ref : (
|
|
592
|
+
var a, s;
|
|
593
|
+
let t = (a = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
594
|
+
return r ? e.ref : (t = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
595
595
|
}
|
|
596
596
|
function $e(e) {
|
|
597
|
-
return
|
|
597
|
+
return E.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ye;
|
|
598
598
|
}
|
|
599
599
|
var Se = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
600
600
|
function Y(e) {
|
|
@@ -603,14 +603,14 @@ function Y(e) {
|
|
|
603
603
|
function Ce(e) {
|
|
604
604
|
return typeof e == "object" && e !== null && "then" in e;
|
|
605
605
|
}
|
|
606
|
-
var ke = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Ee = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,
|
|
607
|
-
const Z =
|
|
606
|
+
var ke = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Ee = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, W = E[" use ".trim().toString()];
|
|
607
|
+
const Z = A(
|
|
608
608
|
// Base classes
|
|
609
609
|
n(
|
|
610
610
|
"inline-flex",
|
|
611
611
|
"items-center",
|
|
612
612
|
"font-medium",
|
|
613
|
-
|
|
613
|
+
S("full"),
|
|
614
614
|
i("xs", "gap")
|
|
615
615
|
),
|
|
616
616
|
{
|
|
@@ -639,17 +639,17 @@ const Z = M(
|
|
|
639
639
|
sm: n(
|
|
640
640
|
i("xs", "px"),
|
|
641
641
|
i("xs", "py"),
|
|
642
|
-
|
|
642
|
+
k("caption")
|
|
643
643
|
),
|
|
644
644
|
md: n(
|
|
645
645
|
i("sm", "px"),
|
|
646
646
|
i("xs", "py"),
|
|
647
|
-
|
|
647
|
+
k("bodySmall")
|
|
648
648
|
),
|
|
649
649
|
lg: n(
|
|
650
650
|
i("md", "px"),
|
|
651
651
|
i("sm", "py"),
|
|
652
|
-
|
|
652
|
+
k("body")
|
|
653
653
|
)
|
|
654
654
|
},
|
|
655
655
|
selected: {
|
|
@@ -693,22 +693,22 @@ const Z = M(
|
|
|
693
693
|
disabled: !1
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
), Te =
|
|
696
|
+
), Te = z(function(t, r) {
|
|
697
697
|
const {
|
|
698
|
-
children:
|
|
698
|
+
children: a,
|
|
699
699
|
variant: s = "default",
|
|
700
700
|
size: o = "md",
|
|
701
701
|
selected: d = !1,
|
|
702
702
|
disabled: c = !1,
|
|
703
|
-
className:
|
|
703
|
+
className: p = "",
|
|
704
704
|
"aria-label": x,
|
|
705
705
|
tabIndex: y,
|
|
706
706
|
asChild: b = !1
|
|
707
|
-
} =
|
|
707
|
+
} = t, h = (() => {
|
|
708
708
|
if (x) return x;
|
|
709
|
-
if (typeof
|
|
710
|
-
if (typeof
|
|
711
|
-
const T =
|
|
709
|
+
if (typeof a == "string") return a;
|
|
710
|
+
if (typeof a == "object" && a !== null && "props" in a) {
|
|
711
|
+
const T = a.props;
|
|
712
712
|
if (T != null && T.children && typeof T.children == "string")
|
|
713
713
|
return T.children;
|
|
714
714
|
}
|
|
@@ -720,16 +720,16 @@ const Z = M(
|
|
|
720
720
|
ref: r,
|
|
721
721
|
className: n(
|
|
722
722
|
Z({ variant: s, size: o, selected: d, disabled: c }),
|
|
723
|
-
|
|
723
|
+
p
|
|
724
724
|
),
|
|
725
725
|
"aria-label": x,
|
|
726
726
|
"aria-disabled": c || void 0,
|
|
727
727
|
tabIndex: y,
|
|
728
|
-
children:
|
|
728
|
+
children: a
|
|
729
729
|
}
|
|
730
730
|
);
|
|
731
|
-
const { onRemove: w, onClick:
|
|
732
|
-
c || (T.key === "Enter" || T.key === " ") && (T.preventDefault(),
|
|
731
|
+
const { onRemove: w, onClick: C } = t, V = C !== void 0, L = V && !c, D = (T) => {
|
|
732
|
+
c || (T.key === "Enter" || T.key === " ") && (T.preventDefault(), C == null || C());
|
|
733
733
|
};
|
|
734
734
|
return /* @__PURE__ */ v(
|
|
735
735
|
"div",
|
|
@@ -738,16 +738,16 @@ const Z = M(
|
|
|
738
738
|
className: n(
|
|
739
739
|
Z({ variant: s, size: o, selected: d, disabled: c }),
|
|
740
740
|
w && i("xs", "pr"),
|
|
741
|
-
|
|
741
|
+
p
|
|
742
742
|
),
|
|
743
743
|
"aria-disabled": c,
|
|
744
744
|
children: [
|
|
745
|
-
|
|
745
|
+
V ? /* @__PURE__ */ l(
|
|
746
746
|
"button",
|
|
747
747
|
{
|
|
748
748
|
type: "button",
|
|
749
|
-
onClick: c ? void 0 :
|
|
750
|
-
onKeyDown:
|
|
749
|
+
onClick: c ? void 0 : C,
|
|
750
|
+
onKeyDown: D,
|
|
751
751
|
disabled: c,
|
|
752
752
|
"aria-pressed": d ? !0 : void 0,
|
|
753
753
|
"aria-label": x || h,
|
|
@@ -764,11 +764,11 @@ const Z = M(
|
|
|
764
764
|
"focus:ring-2",
|
|
765
765
|
"focus:ring-line-focus",
|
|
766
766
|
"focus:ring-offset-2",
|
|
767
|
-
|
|
767
|
+
S("full")
|
|
768
768
|
),
|
|
769
|
-
children:
|
|
769
|
+
children: a
|
|
770
770
|
}
|
|
771
|
-
) : /* @__PURE__ */ l("span", { children:
|
|
771
|
+
) : /* @__PURE__ */ l("span", { children: a }),
|
|
772
772
|
w && !c && /* @__PURE__ */ l(
|
|
773
773
|
"button",
|
|
774
774
|
{
|
|
@@ -779,7 +779,7 @@ const Z = M(
|
|
|
779
779
|
className: n(
|
|
780
780
|
i("xs", "ml"),
|
|
781
781
|
"hover:bg-tint-hover",
|
|
782
|
-
|
|
782
|
+
S("full"),
|
|
783
783
|
i("xs", "p"),
|
|
784
784
|
"transition-colors",
|
|
785
785
|
"focus:outline-none",
|
|
@@ -796,34 +796,34 @@ const Z = M(
|
|
|
796
796
|
);
|
|
797
797
|
});
|
|
798
798
|
Te.displayName = "Chip";
|
|
799
|
-
function
|
|
799
|
+
function pa(s) {
|
|
800
800
|
var o = s, {
|
|
801
801
|
message: e,
|
|
802
|
-
id:
|
|
802
|
+
id: t,
|
|
803
803
|
className: r = ""
|
|
804
|
-
} = o,
|
|
804
|
+
} = o, a = m(o, [
|
|
805
805
|
"message",
|
|
806
806
|
"id",
|
|
807
807
|
"className"
|
|
808
808
|
]);
|
|
809
809
|
const d = [
|
|
810
810
|
i("xs", "mt"),
|
|
811
|
-
|
|
811
|
+
k("bodySmall"),
|
|
812
812
|
"text-fg-error",
|
|
813
813
|
"flex",
|
|
814
814
|
"items-center",
|
|
815
815
|
i("xs", "gap")
|
|
816
816
|
], c = n(...d, r);
|
|
817
|
-
return /* @__PURE__ */ v("div", g(f({ role: "alert", id:
|
|
817
|
+
return /* @__PURE__ */ v("div", g(f({ role: "alert", id: t, className: c, "aria-live": "polite" }, a), { children: [
|
|
818
818
|
/* @__PURE__ */ l(de, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
|
|
819
819
|
/* @__PURE__ */ l("span", { children: e })
|
|
820
820
|
] }));
|
|
821
821
|
}
|
|
822
|
-
function
|
|
823
|
-
var s =
|
|
822
|
+
function ma(a) {
|
|
823
|
+
var s = a, {
|
|
824
824
|
variant: e = "info",
|
|
825
|
-
className:
|
|
826
|
-
} = s, r =
|
|
825
|
+
className: t
|
|
826
|
+
} = s, r = m(s, [
|
|
827
827
|
"variant",
|
|
828
828
|
"className"
|
|
829
829
|
]);
|
|
@@ -840,17 +840,17 @@ function ct(t) {
|
|
|
840
840
|
"border",
|
|
841
841
|
i("base", "px"),
|
|
842
842
|
i("sm", "py"),
|
|
843
|
-
|
|
843
|
+
S("lg"),
|
|
844
844
|
o[e],
|
|
845
|
-
|
|
845
|
+
t
|
|
846
846
|
)
|
|
847
847
|
}, r)
|
|
848
848
|
);
|
|
849
849
|
}
|
|
850
850
|
const Le = n(
|
|
851
851
|
"block",
|
|
852
|
-
|
|
853
|
-
|
|
852
|
+
k("label"),
|
|
853
|
+
M("label"),
|
|
854
854
|
"text-fg-primary"
|
|
855
855
|
), Ae = {
|
|
856
856
|
default: "",
|
|
@@ -865,23 +865,23 @@ const Le = n(
|
|
|
865
865
|
"after:text-fg-tertiary",
|
|
866
866
|
"after:font-normal"
|
|
867
867
|
)
|
|
868
|
-
},
|
|
869
|
-
|
|
870
|
-
var c = d, { variant:
|
|
871
|
-
const
|
|
868
|
+
}, Ve = _(
|
|
869
|
+
z(function(d, o) {
|
|
870
|
+
var c = d, { variant: t = "default", className: r = "", children: a } = c, s = m(c, ["variant", "className", "children"]);
|
|
871
|
+
const p = n(
|
|
872
872
|
Le,
|
|
873
|
-
Ae[
|
|
873
|
+
Ae[t],
|
|
874
874
|
r
|
|
875
875
|
);
|
|
876
|
-
return /* @__PURE__ */ l("label", g(f({ ref: o, className:
|
|
876
|
+
return /* @__PURE__ */ l("label", g(f({ ref: o, className: p }, s), { children: a }));
|
|
877
877
|
})
|
|
878
878
|
);
|
|
879
|
-
|
|
880
|
-
class
|
|
879
|
+
Ve.displayName = "Label";
|
|
880
|
+
class j {
|
|
881
881
|
/**
|
|
882
882
|
* Create a shadow token
|
|
883
883
|
*/
|
|
884
|
-
static create(
|
|
884
|
+
static create(t) {
|
|
885
885
|
return {
|
|
886
886
|
none: {
|
|
887
887
|
value: "none",
|
|
@@ -918,22 +918,22 @@ class z {
|
|
|
918
918
|
tailwind: "shadow-inner",
|
|
919
919
|
description: "Inner shadow for inset elements"
|
|
920
920
|
}
|
|
921
|
-
}[
|
|
921
|
+
}[t];
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
-
const
|
|
925
|
-
none:
|
|
926
|
-
sm:
|
|
927
|
-
md:
|
|
928
|
-
lg:
|
|
929
|
-
xl:
|
|
930
|
-
"2xl":
|
|
931
|
-
inner:
|
|
924
|
+
const Fe = {
|
|
925
|
+
none: j.create("none"),
|
|
926
|
+
sm: j.create("sm"),
|
|
927
|
+
md: j.create("md"),
|
|
928
|
+
lg: j.create("lg"),
|
|
929
|
+
xl: j.create("xl"),
|
|
930
|
+
"2xl": j.create("2xl"),
|
|
931
|
+
inner: j.create("inner")
|
|
932
932
|
};
|
|
933
|
-
function
|
|
934
|
-
return
|
|
933
|
+
function O(e) {
|
|
934
|
+
return Fe[e].tailwind;
|
|
935
935
|
}
|
|
936
|
-
const
|
|
936
|
+
const Re = A("w-full", {
|
|
937
937
|
variants: {
|
|
938
938
|
size: {
|
|
939
939
|
sm: "h-1",
|
|
@@ -953,7 +953,7 @@ const ze = M("w-full", {
|
|
|
953
953
|
size: "md",
|
|
954
954
|
variant: "primary"
|
|
955
955
|
}
|
|
956
|
-
}), J =
|
|
956
|
+
}), J = A("transition-all", {
|
|
957
957
|
variants: {
|
|
958
958
|
variant: {
|
|
959
959
|
primary: "bg-surface-brand",
|
|
@@ -967,17 +967,17 @@ const ze = M("w-full", {
|
|
|
967
967
|
defaultVariants: {
|
|
968
968
|
variant: "primary"
|
|
969
969
|
}
|
|
970
|
-
}),
|
|
971
|
-
var
|
|
972
|
-
value:
|
|
970
|
+
}), je = z(function(b, y) {
|
|
971
|
+
var u = b, {
|
|
972
|
+
value: t,
|
|
973
973
|
max: r = 100,
|
|
974
|
-
variant:
|
|
974
|
+
variant: a = "primary",
|
|
975
975
|
size: s = "md",
|
|
976
976
|
showLabel: o = !1,
|
|
977
977
|
label: d,
|
|
978
978
|
"aria-label": c,
|
|
979
|
-
className:
|
|
980
|
-
} =
|
|
979
|
+
className: p = ""
|
|
980
|
+
} = u, x = m(u, [
|
|
981
981
|
"value",
|
|
982
982
|
"max",
|
|
983
983
|
"variant",
|
|
@@ -987,8 +987,8 @@ const ze = M("w-full", {
|
|
|
987
987
|
"aria-label",
|
|
988
988
|
"className"
|
|
989
989
|
]);
|
|
990
|
-
const h =
|
|
991
|
-
return /* @__PURE__ */ v("div", g(f({ ref: y, className: n("w-full",
|
|
990
|
+
const h = t === void 0, w = h ? void 0 : Math.min(Math.max(t / r * 100, 0), 100), C = c || (h ? "Loading in progress" : `Progress: ${w == null ? void 0 : w.toFixed(0)}%`);
|
|
991
|
+
return /* @__PURE__ */ v("div", g(f({ ref: y, className: n("w-full", p) }, x), { children: [
|
|
992
992
|
o && (d || !h) && /* @__PURE__ */ v(
|
|
993
993
|
"div",
|
|
994
994
|
{
|
|
@@ -1003,8 +1003,8 @@ const ze = M("w-full", {
|
|
|
1003
1003
|
"span",
|
|
1004
1004
|
{
|
|
1005
1005
|
className: n(
|
|
1006
|
-
|
|
1007
|
-
|
|
1006
|
+
k("bodySmall"),
|
|
1007
|
+
M("label"),
|
|
1008
1008
|
"text-fg-primary"
|
|
1009
1009
|
),
|
|
1010
1010
|
children: d
|
|
@@ -1014,7 +1014,7 @@ const ze = M("w-full", {
|
|
|
1014
1014
|
"span",
|
|
1015
1015
|
{
|
|
1016
1016
|
className: n(
|
|
1017
|
-
|
|
1017
|
+
k("bodySmall"),
|
|
1018
1018
|
"text-fg-secondary"
|
|
1019
1019
|
),
|
|
1020
1020
|
children: [
|
|
@@ -1032,15 +1032,15 @@ const ze = M("w-full", {
|
|
|
1032
1032
|
role: "progressbar",
|
|
1033
1033
|
"aria-valuemin": h ? void 0 : 0,
|
|
1034
1034
|
"aria-valuemax": h ? void 0 : r,
|
|
1035
|
-
"aria-valuenow": h ? void 0 :
|
|
1036
|
-
"aria-label":
|
|
1035
|
+
"aria-valuenow": h ? void 0 : t,
|
|
1036
|
+
"aria-label": C,
|
|
1037
1037
|
"aria-busy": h,
|
|
1038
1038
|
className: n(
|
|
1039
1039
|
"relative",
|
|
1040
1040
|
"w-full",
|
|
1041
1041
|
"overflow-hidden",
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
Re({ size: s, variant: a }),
|
|
1043
|
+
S("full")
|
|
1044
1044
|
),
|
|
1045
1045
|
children: h ? /* @__PURE__ */ l(
|
|
1046
1046
|
"div",
|
|
@@ -1050,8 +1050,8 @@ const ze = M("w-full", {
|
|
|
1050
1050
|
"top-0",
|
|
1051
1051
|
"left-0",
|
|
1052
1052
|
"bottom-0",
|
|
1053
|
-
J({ variant:
|
|
1054
|
-
|
|
1053
|
+
J({ variant: a }),
|
|
1054
|
+
S("full"),
|
|
1055
1055
|
"motion-reduce:animate-none"
|
|
1056
1056
|
),
|
|
1057
1057
|
style: {
|
|
@@ -1064,8 +1064,8 @@ const ze = M("w-full", {
|
|
|
1064
1064
|
{
|
|
1065
1065
|
className: n(
|
|
1066
1066
|
"h-full",
|
|
1067
|
-
J({ variant:
|
|
1068
|
-
|
|
1067
|
+
J({ variant: a }),
|
|
1068
|
+
S("full"),
|
|
1069
1069
|
"transition-all",
|
|
1070
1070
|
"duration-300",
|
|
1071
1071
|
"ease-out"
|
|
@@ -1080,20 +1080,20 @@ const ze = M("w-full", {
|
|
|
1080
1080
|
)
|
|
1081
1081
|
] }));
|
|
1082
1082
|
});
|
|
1083
|
-
|
|
1084
|
-
const
|
|
1083
|
+
je.displayName = "Progress";
|
|
1084
|
+
const ze = {
|
|
1085
1085
|
horizontal: "w-full border-t",
|
|
1086
1086
|
vertical: "h-full border-l self-stretch"
|
|
1087
|
-
},
|
|
1087
|
+
}, De = {
|
|
1088
1088
|
solid: "border-solid",
|
|
1089
1089
|
dashed: "border-dashed",
|
|
1090
1090
|
dotted: "border-dotted"
|
|
1091
|
-
},
|
|
1091
|
+
}, Me = _(function(o) {
|
|
1092
1092
|
var d = o, {
|
|
1093
|
-
orientation:
|
|
1093
|
+
orientation: t = "horizontal",
|
|
1094
1094
|
variant: r = "solid",
|
|
1095
|
-
className:
|
|
1096
|
-
} = d, s =
|
|
1095
|
+
className: a = ""
|
|
1096
|
+
} = d, s = m(d, [
|
|
1097
1097
|
"orientation",
|
|
1098
1098
|
"variant",
|
|
1099
1099
|
"className"
|
|
@@ -1101,11 +1101,11 @@ const Ve = {
|
|
|
1101
1101
|
const c = n(
|
|
1102
1102
|
"border-0",
|
|
1103
1103
|
"border-line-default",
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1104
|
+
ze[t],
|
|
1105
|
+
De[r],
|
|
1106
|
+
a
|
|
1107
1107
|
);
|
|
1108
|
-
return
|
|
1108
|
+
return t === "vertical" ? /* @__PURE__ */ l(
|
|
1109
1109
|
"div",
|
|
1110
1110
|
f({
|
|
1111
1111
|
className: c,
|
|
@@ -1121,16 +1121,16 @@ const Ve = {
|
|
|
1121
1121
|
}, s)
|
|
1122
1122
|
);
|
|
1123
1123
|
});
|
|
1124
|
-
|
|
1125
|
-
function
|
|
1126
|
-
var
|
|
1124
|
+
Me.displayName = "Separator";
|
|
1125
|
+
function ga(c) {
|
|
1126
|
+
var p = c, {
|
|
1127
1127
|
variant: e = "text",
|
|
1128
|
-
width:
|
|
1128
|
+
width: t,
|
|
1129
1129
|
height: r,
|
|
1130
|
-
lines:
|
|
1130
|
+
lines: a = 1,
|
|
1131
1131
|
className: s = "",
|
|
1132
1132
|
"aria-label": o
|
|
1133
|
-
} =
|
|
1133
|
+
} = p, d = m(p, [
|
|
1134
1134
|
"variant",
|
|
1135
1135
|
"width",
|
|
1136
1136
|
"height",
|
|
@@ -1141,16 +1141,16 @@ function ft(c) {
|
|
|
1141
1141
|
const x = [
|
|
1142
1142
|
"motion-safe:animate-pulse",
|
|
1143
1143
|
"bg-surface-muted",
|
|
1144
|
-
|
|
1144
|
+
S("sm")
|
|
1145
1145
|
], y = {
|
|
1146
1146
|
text: "h-4",
|
|
1147
1147
|
card: "h-32",
|
|
1148
1148
|
list: "h-12",
|
|
1149
|
-
circle:
|
|
1150
|
-
}, b = n(...x, y[e], s),
|
|
1151
|
-
|
|
1149
|
+
circle: S("full")
|
|
1150
|
+
}, b = n(...x, y[e], s), u = {};
|
|
1151
|
+
t && (u.width = t), r && (u.height = r);
|
|
1152
1152
|
const h = o || `Loading ${e} content`;
|
|
1153
|
-
return e === "text" &&
|
|
1153
|
+
return e === "text" && a > 1 ? /* @__PURE__ */ l(
|
|
1154
1154
|
"div",
|
|
1155
1155
|
g(f({
|
|
1156
1156
|
className: i("sm", "space-y"),
|
|
@@ -1158,28 +1158,28 @@ function ft(c) {
|
|
|
1158
1158
|
"aria-busy": "true",
|
|
1159
1159
|
"aria-label": h
|
|
1160
1160
|
}, d), {
|
|
1161
|
-
children: Array.from({ length:
|
|
1161
|
+
children: Array.from({ length: a }).map((w, C) => /* @__PURE__ */ l(
|
|
1162
1162
|
"div",
|
|
1163
1163
|
{
|
|
1164
1164
|
className: b,
|
|
1165
|
-
style:
|
|
1165
|
+
style: C === a - 1 ? { width: "75%" } : u,
|
|
1166
1166
|
"aria-hidden": "true"
|
|
1167
1167
|
},
|
|
1168
|
-
|
|
1168
|
+
C
|
|
1169
1169
|
))
|
|
1170
1170
|
})
|
|
1171
1171
|
) : /* @__PURE__ */ l(
|
|
1172
1172
|
"div",
|
|
1173
1173
|
f({
|
|
1174
1174
|
className: b,
|
|
1175
|
-
style:
|
|
1175
|
+
style: u,
|
|
1176
1176
|
role: "status",
|
|
1177
1177
|
"aria-busy": "true",
|
|
1178
1178
|
"aria-label": h
|
|
1179
1179
|
}, d)
|
|
1180
1180
|
);
|
|
1181
1181
|
}
|
|
1182
|
-
const _e =
|
|
1182
|
+
const _e = A("motion-safe:animate-spin", {
|
|
1183
1183
|
variants: {
|
|
1184
1184
|
size: {
|
|
1185
1185
|
sm: "h-4 w-4",
|
|
@@ -1196,13 +1196,13 @@ const _e = M("motion-safe:animate-spin", {
|
|
|
1196
1196
|
size: "md",
|
|
1197
1197
|
variant: "primary"
|
|
1198
1198
|
}
|
|
1199
|
-
}), Ie =
|
|
1199
|
+
}), Ie = _(function(d) {
|
|
1200
1200
|
var c = d, {
|
|
1201
|
-
size:
|
|
1201
|
+
size: t = "md",
|
|
1202
1202
|
variant: r = "primary",
|
|
1203
|
-
label:
|
|
1203
|
+
label: a,
|
|
1204
1204
|
className: s = ""
|
|
1205
|
-
} = c, o =
|
|
1205
|
+
} = c, o = m(c, [
|
|
1206
1206
|
"size",
|
|
1207
1207
|
"variant",
|
|
1208
1208
|
"label",
|
|
@@ -1213,27 +1213,27 @@ const _e = M("motion-safe:animate-spin", {
|
|
|
1213
1213
|
g(f({
|
|
1214
1214
|
className: n("inline-flex", "items-center", s),
|
|
1215
1215
|
role: "status",
|
|
1216
|
-
"aria-label":
|
|
1216
|
+
"aria-label": a || "Loading",
|
|
1217
1217
|
"aria-live": "polite"
|
|
1218
1218
|
}, o), {
|
|
1219
1219
|
children: [
|
|
1220
1220
|
/* @__PURE__ */ l(
|
|
1221
1221
|
ce,
|
|
1222
1222
|
{
|
|
1223
|
-
className: n(_e({ size:
|
|
1223
|
+
className: n(_e({ size: t, variant: r })),
|
|
1224
1224
|
"aria-hidden": "true"
|
|
1225
1225
|
}
|
|
1226
1226
|
),
|
|
1227
|
-
|
|
1227
|
+
a && /* @__PURE__ */ l(
|
|
1228
1228
|
"span",
|
|
1229
1229
|
{
|
|
1230
1230
|
className: n(
|
|
1231
1231
|
i("sm", "ml"),
|
|
1232
|
-
|
|
1232
|
+
k("bodySmall"),
|
|
1233
1233
|
"text-fg-secondary",
|
|
1234
1234
|
"sr-only"
|
|
1235
1235
|
),
|
|
1236
|
-
children:
|
|
1236
|
+
children: a
|
|
1237
1237
|
}
|
|
1238
1238
|
)
|
|
1239
1239
|
]
|
|
@@ -1241,7 +1241,7 @@ const _e = M("motion-safe:animate-spin", {
|
|
|
1241
1241
|
);
|
|
1242
1242
|
});
|
|
1243
1243
|
Ie.displayName = "Spinner";
|
|
1244
|
-
const
|
|
1244
|
+
const Pe = {
|
|
1245
1245
|
primary: {
|
|
1246
1246
|
// exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
|
|
1247
1247
|
light: "text-indigo-400",
|
|
@@ -1293,16 +1293,16 @@ const We = {
|
|
|
1293
1293
|
contrast: "text-fg-inverse"
|
|
1294
1294
|
}
|
|
1295
1295
|
};
|
|
1296
|
-
function
|
|
1296
|
+
function We(x, p) {
|
|
1297
1297
|
var y = x, {
|
|
1298
1298
|
variant: e = "paragraph",
|
|
1299
|
-
bold:
|
|
1299
|
+
bold: t,
|
|
1300
1300
|
italic: r,
|
|
1301
|
-
className:
|
|
1301
|
+
className: a,
|
|
1302
1302
|
as: s,
|
|
1303
1303
|
colorRole: o = "neutral",
|
|
1304
1304
|
colorShade: d = "dark"
|
|
1305
|
-
} = y, c =
|
|
1305
|
+
} = y, c = m(y, [
|
|
1306
1306
|
"variant",
|
|
1307
1307
|
"bold",
|
|
1308
1308
|
"italic",
|
|
@@ -1312,40 +1312,40 @@ function He(x, u) {
|
|
|
1312
1312
|
"colorShade"
|
|
1313
1313
|
]);
|
|
1314
1314
|
const b = [];
|
|
1315
|
-
let
|
|
1315
|
+
let u;
|
|
1316
1316
|
if (s)
|
|
1317
|
-
|
|
1317
|
+
u = s;
|
|
1318
1318
|
else
|
|
1319
1319
|
switch (e) {
|
|
1320
1320
|
case "heading":
|
|
1321
|
-
|
|
1321
|
+
u = "h2";
|
|
1322
1322
|
break;
|
|
1323
1323
|
case "list":
|
|
1324
|
-
|
|
1324
|
+
u = "li";
|
|
1325
1325
|
break;
|
|
1326
1326
|
default:
|
|
1327
|
-
|
|
1327
|
+
u = "p";
|
|
1328
1328
|
break;
|
|
1329
1329
|
}
|
|
1330
|
-
return e === "heading" ? b.push(R("h2")) : e === "body" || e === "paragraph" ? b.push(R("body")) : e === "bodySmall" ? b.push(R("bodySmall")) : e === "bodyLarge" ? b.push(R("bodyLarge")) : e === "caption" ? b.push(R("caption")) : e === "label" ? b.push(R("label")) : b.push(R("body")),
|
|
1330
|
+
return e === "heading" ? b.push(R("h2")) : e === "body" || e === "paragraph" ? b.push(R("body")) : e === "bodySmall" ? b.push(R("bodySmall")) : e === "bodyLarge" ? b.push(R("bodyLarge")) : e === "caption" ? b.push(R("caption")) : e === "label" ? b.push(R("label")) : b.push(R("body")), t && b.push("font-bold"), r && b.push("italic"), b.push(Pe[o][d]), /* @__PURE__ */ l(u, f({ ref: p, className: n(...b, a) }, c));
|
|
1331
1331
|
}
|
|
1332
|
-
const Q =
|
|
1332
|
+
const Q = z(We), He = {
|
|
1333
1333
|
sm: "max-w-screen-sm",
|
|
1334
1334
|
md: "max-w-screen-md",
|
|
1335
1335
|
lg: "max-w-screen-lg",
|
|
1336
1336
|
xl: "max-w-screen-xl",
|
|
1337
1337
|
"2xl": "max-w-screen-2xl",
|
|
1338
1338
|
full: "max-w-full"
|
|
1339
|
-
},
|
|
1340
|
-
(
|
|
1341
|
-
var x =
|
|
1339
|
+
}, Oe = ee.forwardRef(
|
|
1340
|
+
(p, c) => {
|
|
1341
|
+
var x = p, {
|
|
1342
1342
|
className: e,
|
|
1343
|
-
maxWidth:
|
|
1343
|
+
maxWidth: t = "lg",
|
|
1344
1344
|
paddingX: r = "base",
|
|
1345
|
-
paddingY:
|
|
1345
|
+
paddingY: a = "base",
|
|
1346
1346
|
center: s = !0,
|
|
1347
1347
|
children: o
|
|
1348
|
-
} = x, d =
|
|
1348
|
+
} = x, d = m(x, [
|
|
1349
1349
|
"className",
|
|
1350
1350
|
"maxWidth",
|
|
1351
1351
|
"paddingX",
|
|
@@ -1359,9 +1359,9 @@ const Q = _(He), Oe = {
|
|
|
1359
1359
|
ref: c,
|
|
1360
1360
|
className: n(
|
|
1361
1361
|
"w-full",
|
|
1362
|
-
|
|
1362
|
+
He[t],
|
|
1363
1363
|
i(r, "px"),
|
|
1364
|
-
i(
|
|
1364
|
+
i(a, "py"),
|
|
1365
1365
|
s && "mx-auto",
|
|
1366
1366
|
e
|
|
1367
1367
|
)
|
|
@@ -1371,17 +1371,17 @@ const Q = _(He), Oe = {
|
|
|
1371
1371
|
);
|
|
1372
1372
|
}
|
|
1373
1373
|
);
|
|
1374
|
-
|
|
1374
|
+
Oe.displayName = "Container";
|
|
1375
1375
|
const Be = ee.forwardRef(
|
|
1376
|
-
(
|
|
1377
|
-
var x =
|
|
1376
|
+
(p, c) => {
|
|
1377
|
+
var x = p, {
|
|
1378
1378
|
className: e,
|
|
1379
|
-
spacing:
|
|
1379
|
+
spacing: t = "base",
|
|
1380
1380
|
align: r = "stretch",
|
|
1381
|
-
justify:
|
|
1381
|
+
justify: a = "start",
|
|
1382
1382
|
direction: s = "column",
|
|
1383
1383
|
children: o
|
|
1384
|
-
} = x, d =
|
|
1384
|
+
} = x, d = m(x, [
|
|
1385
1385
|
"className",
|
|
1386
1386
|
"spacing",
|
|
1387
1387
|
"align",
|
|
@@ -1389,12 +1389,12 @@ const Be = ee.forwardRef(
|
|
|
1389
1389
|
"direction",
|
|
1390
1390
|
"children"
|
|
1391
1391
|
]);
|
|
1392
|
-
const y = s === "column" ? i(
|
|
1392
|
+
const y = s === "column" ? i(t, "gap-y") : i(t, "gap-x"), b = {
|
|
1393
1393
|
start: "items-start",
|
|
1394
1394
|
center: "items-center",
|
|
1395
1395
|
end: "items-end",
|
|
1396
1396
|
stretch: "items-stretch"
|
|
1397
|
-
},
|
|
1397
|
+
}, u = {
|
|
1398
1398
|
start: "justify-start",
|
|
1399
1399
|
center: "justify-center",
|
|
1400
1400
|
end: "justify-end",
|
|
@@ -1411,7 +1411,7 @@ const Be = ee.forwardRef(
|
|
|
1411
1411
|
s === "column" ? "flex-col" : "flex-row",
|
|
1412
1412
|
y,
|
|
1413
1413
|
b[r],
|
|
1414
|
-
|
|
1414
|
+
u[a],
|
|
1415
1415
|
e
|
|
1416
1416
|
)
|
|
1417
1417
|
}, d), {
|
|
@@ -1424,9 +1424,9 @@ Be.displayName = "Stack";
|
|
|
1424
1424
|
function Ue(s) {
|
|
1425
1425
|
var o = s, {
|
|
1426
1426
|
items: e,
|
|
1427
|
-
separator:
|
|
1427
|
+
separator: t = "/",
|
|
1428
1428
|
className: r = ""
|
|
1429
|
-
} = o,
|
|
1429
|
+
} = o, a = m(o, [
|
|
1430
1430
|
"items",
|
|
1431
1431
|
"separator",
|
|
1432
1432
|
"className"
|
|
@@ -1435,13 +1435,13 @@ function Ue(s) {
|
|
|
1435
1435
|
"flex",
|
|
1436
1436
|
"items-center",
|
|
1437
1437
|
i("sm", "space-x"),
|
|
1438
|
-
|
|
1438
|
+
k("bodySmall")
|
|
1439
1439
|
], c = n(...d, r);
|
|
1440
|
-
return /* @__PURE__ */ l("nav", g(f({ "aria-label": "Breadcrumb", className: c },
|
|
1440
|
+
return /* @__PURE__ */ l("nav", g(f({ "aria-label": "Breadcrumb", className: c }, a), { children: /* @__PURE__ */ l(
|
|
1441
1441
|
"ol",
|
|
1442
1442
|
{
|
|
1443
1443
|
className: n("flex", "items-center", i("sm", "space-x")),
|
|
1444
|
-
children: e.map((
|
|
1444
|
+
children: e.map((p, x) => {
|
|
1445
1445
|
const y = x === e.length - 1;
|
|
1446
1446
|
return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
|
|
1447
1447
|
x > 0 && /* @__PURE__ */ l(
|
|
@@ -1452,7 +1452,7 @@ function Ue(s) {
|
|
|
1452
1452
|
"text-fg-tertiary"
|
|
1453
1453
|
),
|
|
1454
1454
|
"aria-hidden": "true",
|
|
1455
|
-
children:
|
|
1455
|
+
children: t
|
|
1456
1456
|
}
|
|
1457
1457
|
),
|
|
1458
1458
|
y ? /* @__PURE__ */ l(
|
|
@@ -1460,15 +1460,15 @@ function Ue(s) {
|
|
|
1460
1460
|
{
|
|
1461
1461
|
className: n(
|
|
1462
1462
|
"text-fg-primary",
|
|
1463
|
-
|
|
1463
|
+
M("label")
|
|
1464
1464
|
),
|
|
1465
1465
|
"aria-current": "page",
|
|
1466
|
-
children:
|
|
1466
|
+
children: p.label
|
|
1467
1467
|
}
|
|
1468
|
-
) :
|
|
1468
|
+
) : p.href ? /* @__PURE__ */ l(
|
|
1469
1469
|
"a",
|
|
1470
1470
|
{
|
|
1471
|
-
href:
|
|
1471
|
+
href: p.href,
|
|
1472
1472
|
className: n(
|
|
1473
1473
|
"inline-flex",
|
|
1474
1474
|
"items-center",
|
|
@@ -1476,23 +1476,23 @@ function Ue(s) {
|
|
|
1476
1476
|
i("xs", "pt"),
|
|
1477
1477
|
"border-b-2",
|
|
1478
1478
|
"border-transparent",
|
|
1479
|
-
|
|
1480
|
-
|
|
1479
|
+
k("bodySmall"),
|
|
1480
|
+
M("label"),
|
|
1481
1481
|
"transition-colors",
|
|
1482
1482
|
"text-fg-secondary",
|
|
1483
1483
|
"hover:border-line-emphasis",
|
|
1484
1484
|
"hover:text-fg-primary"
|
|
1485
1485
|
),
|
|
1486
|
-
children:
|
|
1486
|
+
children: p.label
|
|
1487
1487
|
}
|
|
1488
|
-
) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children:
|
|
1488
|
+
) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: p.label })
|
|
1489
1489
|
] }, x);
|
|
1490
1490
|
})
|
|
1491
1491
|
}
|
|
1492
1492
|
) }));
|
|
1493
1493
|
}
|
|
1494
|
-
function Ke(
|
|
1495
|
-
var s =
|
|
1494
|
+
function Ke(a) {
|
|
1495
|
+
var s = a, { children: e, className: t } = s, r = m(s, ["children", "className"]);
|
|
1496
1496
|
return /* @__PURE__ */ l(
|
|
1497
1497
|
"div",
|
|
1498
1498
|
g(f({
|
|
@@ -1502,7 +1502,7 @@ function Ke(t) {
|
|
|
1502
1502
|
i("base", "mb"),
|
|
1503
1503
|
"[&:has([data-card-actions])]:grid-cols-[1fr_auto]",
|
|
1504
1504
|
"[&:has([data-card-actions])>[data-card-actions]]:row-span-full",
|
|
1505
|
-
|
|
1505
|
+
t
|
|
1506
1506
|
)
|
|
1507
1507
|
}, r), {
|
|
1508
1508
|
children: e
|
|
@@ -1512,11 +1512,11 @@ function Ke(t) {
|
|
|
1512
1512
|
function Xe(d) {
|
|
1513
1513
|
var c = d, {
|
|
1514
1514
|
children: e,
|
|
1515
|
-
icon:
|
|
1515
|
+
icon: t,
|
|
1516
1516
|
badge: r,
|
|
1517
|
-
as:
|
|
1517
|
+
as: a = "h2",
|
|
1518
1518
|
className: s
|
|
1519
|
-
} = c, o =
|
|
1519
|
+
} = c, o = m(c, [
|
|
1520
1520
|
"children",
|
|
1521
1521
|
"icon",
|
|
1522
1522
|
"badge",
|
|
@@ -1524,7 +1524,7 @@ function Xe(d) {
|
|
|
1524
1524
|
"className"
|
|
1525
1525
|
]);
|
|
1526
1526
|
return /* @__PURE__ */ v(
|
|
1527
|
-
|
|
1527
|
+
a,
|
|
1528
1528
|
g(f({
|
|
1529
1529
|
className: n(
|
|
1530
1530
|
"text-base font-semibold text-fg-primary",
|
|
@@ -1534,28 +1534,28 @@ function Xe(d) {
|
|
|
1534
1534
|
)
|
|
1535
1535
|
}, o), {
|
|
1536
1536
|
children: [
|
|
1537
|
-
|
|
1537
|
+
t ? /* @__PURE__ */ l("span", { className: "shrink-0 inline-flex", children: t }) : null,
|
|
1538
1538
|
/* @__PURE__ */ l("span", { children: e }),
|
|
1539
1539
|
r ? /* @__PURE__ */ l("span", { className: "inline-flex", children: r }) : null
|
|
1540
1540
|
]
|
|
1541
1541
|
})
|
|
1542
1542
|
);
|
|
1543
1543
|
}
|
|
1544
|
-
function qe(
|
|
1545
|
-
var s =
|
|
1544
|
+
function qe(a) {
|
|
1545
|
+
var s = a, {
|
|
1546
1546
|
children: e,
|
|
1547
|
-
className:
|
|
1548
|
-
} = s, r =
|
|
1547
|
+
className: t
|
|
1548
|
+
} = s, r = m(s, [
|
|
1549
1549
|
"children",
|
|
1550
1550
|
"className"
|
|
1551
1551
|
]);
|
|
1552
|
-
return /* @__PURE__ */ l("p", g(f({ className: n("text-sm text-fg-secondary",
|
|
1552
|
+
return /* @__PURE__ */ l("p", g(f({ className: n("text-sm text-fg-secondary", t) }, r), { children: e }));
|
|
1553
1553
|
}
|
|
1554
|
-
function Ge(
|
|
1555
|
-
var s =
|
|
1554
|
+
function Ge(a) {
|
|
1555
|
+
var s = a, {
|
|
1556
1556
|
children: e,
|
|
1557
|
-
className:
|
|
1558
|
-
} = s, r =
|
|
1557
|
+
className: t
|
|
1558
|
+
} = s, r = m(s, [
|
|
1559
1559
|
"children",
|
|
1560
1560
|
"className"
|
|
1561
1561
|
]);
|
|
@@ -1566,28 +1566,28 @@ function Ge(t) {
|
|
|
1566
1566
|
className: n(
|
|
1567
1567
|
"flex items-center self-start",
|
|
1568
1568
|
i("sm", "gap"),
|
|
1569
|
-
|
|
1569
|
+
t
|
|
1570
1570
|
)
|
|
1571
1571
|
}, r), {
|
|
1572
1572
|
children: e
|
|
1573
1573
|
})
|
|
1574
1574
|
);
|
|
1575
1575
|
}
|
|
1576
|
-
function Ye(
|
|
1577
|
-
var s =
|
|
1578
|
-
return /* @__PURE__ */ l("div", g(f({ className: n(
|
|
1576
|
+
function Ye(a) {
|
|
1577
|
+
var s = a, { children: e, className: t } = s, r = m(s, ["children", "className"]);
|
|
1578
|
+
return /* @__PURE__ */ l("div", g(f({ className: n(t) }, r), { children: e }));
|
|
1579
1579
|
}
|
|
1580
1580
|
function Ze(x) {
|
|
1581
1581
|
var y = x, {
|
|
1582
1582
|
variant: e = "default",
|
|
1583
|
-
padding:
|
|
1583
|
+
padding: t = "medium",
|
|
1584
1584
|
className: r = "",
|
|
1585
|
-
onClick:
|
|
1585
|
+
onClick: a,
|
|
1586
1586
|
"aria-label": s,
|
|
1587
1587
|
"aria-labelledby": o,
|
|
1588
1588
|
asSection: d = !1,
|
|
1589
1589
|
children: c
|
|
1590
|
-
} = y,
|
|
1590
|
+
} = y, p = m(y, [
|
|
1591
1591
|
"variant",
|
|
1592
1592
|
"padding",
|
|
1593
1593
|
"className",
|
|
@@ -1600,24 +1600,24 @@ function Ze(x) {
|
|
|
1600
1600
|
typeof process != "undefined" && process.env.NODE_ENV !== "production" && d && !s && !o && console.warn(
|
|
1601
1601
|
"[Card] `asSection={true}` requires an accessible name. Pass `aria-labelledby` pointing to your Card.Title `id`, or `aria-label`. A <section> without a name is an anonymous landmark that hurts screen-reader navigation."
|
|
1602
1602
|
);
|
|
1603
|
-
const b =
|
|
1603
|
+
const b = A(
|
|
1604
1604
|
n(
|
|
1605
1605
|
"bg-surface-base",
|
|
1606
|
-
|
|
1606
|
+
S("lg"),
|
|
1607
1607
|
"border",
|
|
1608
1608
|
"border-line-default",
|
|
1609
|
-
|
|
1609
|
+
O("sm")
|
|
1610
1610
|
),
|
|
1611
1611
|
{
|
|
1612
1612
|
variants: {
|
|
1613
1613
|
variant: {
|
|
1614
1614
|
default: "",
|
|
1615
1615
|
hover: n(
|
|
1616
|
-
`hover:${
|
|
1616
|
+
`hover:${O("md")}`,
|
|
1617
1617
|
"transition-shadow",
|
|
1618
1618
|
"cursor-pointer"
|
|
1619
1619
|
),
|
|
1620
|
-
selected: n("border-line-brand",
|
|
1620
|
+
selected: n("border-line-brand", O("md"))
|
|
1621
1621
|
},
|
|
1622
1622
|
padding: {
|
|
1623
1623
|
none: "",
|
|
@@ -1631,66 +1631,66 @@ function Ze(x) {
|
|
|
1631
1631
|
padding: "medium"
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
|
-
),
|
|
1635
|
-
className:
|
|
1634
|
+
), u = a !== void 0, h = u ? "button" : void 0, w = u ? 0 : void 0, C = n(b({ variant: e, padding: t }), r), L = f({
|
|
1635
|
+
className: C,
|
|
1636
1636
|
role: h,
|
|
1637
1637
|
tabIndex: w,
|
|
1638
|
-
onClick:
|
|
1639
|
-
onKeyDown:
|
|
1640
|
-
|
|
1638
|
+
onClick: a,
|
|
1639
|
+
onKeyDown: u ? (D) => {
|
|
1640
|
+
u && (D.key === "Enter" || D.key === " ") && (D.preventDefault(), a == null || a());
|
|
1641
1641
|
} : void 0,
|
|
1642
1642
|
"aria-label": s,
|
|
1643
1643
|
"aria-labelledby": o
|
|
1644
|
-
},
|
|
1644
|
+
}, p);
|
|
1645
1645
|
return d ? /* @__PURE__ */ l("section", g(f({}, L), { children: c })) : /* @__PURE__ */ l("div", g(f({}, L), { children: c }));
|
|
1646
1646
|
}
|
|
1647
|
-
const
|
|
1648
|
-
|
|
1649
|
-
const I =
|
|
1647
|
+
const ae = _(Ze);
|
|
1648
|
+
ae.displayName = "Card";
|
|
1649
|
+
const I = ae;
|
|
1650
1650
|
I.Header = Ke;
|
|
1651
1651
|
I.Title = Xe;
|
|
1652
1652
|
I.Subtitle = qe;
|
|
1653
1653
|
I.Actions = Ge;
|
|
1654
1654
|
I.Body = Ye;
|
|
1655
|
-
function
|
|
1656
|
-
var s =
|
|
1655
|
+
function xa(a) {
|
|
1656
|
+
var s = a, {
|
|
1657
1657
|
children: e,
|
|
1658
|
-
className:
|
|
1659
|
-
} = s, r =
|
|
1658
|
+
className: t = ""
|
|
1659
|
+
} = s, r = m(s, [
|
|
1660
1660
|
"children",
|
|
1661
1661
|
"className"
|
|
1662
1662
|
]);
|
|
1663
1663
|
return /* @__PURE__ */ l(
|
|
1664
1664
|
"div",
|
|
1665
1665
|
g(f({
|
|
1666
|
-
className: `flex flex-col ${i("1.5", "space-y")} ${i("lg", "p")} ${i("base", "pb")} ${
|
|
1666
|
+
className: `flex flex-col ${i("1.5", "space-y")} ${i("lg", "p")} ${i("base", "pb")} ${t}`
|
|
1667
1667
|
}, r), {
|
|
1668
1668
|
children: e
|
|
1669
1669
|
})
|
|
1670
1670
|
);
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1673
|
-
var s =
|
|
1672
|
+
function ba(a) {
|
|
1673
|
+
var s = a, {
|
|
1674
1674
|
children: e,
|
|
1675
|
-
className:
|
|
1676
|
-
} = s, r =
|
|
1675
|
+
className: t = ""
|
|
1676
|
+
} = s, r = m(s, [
|
|
1677
1677
|
"children",
|
|
1678
1678
|
"className"
|
|
1679
1679
|
]);
|
|
1680
1680
|
return /* @__PURE__ */ l(
|
|
1681
1681
|
"div",
|
|
1682
1682
|
g(f({
|
|
1683
|
-
className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${i("sm", "space-x")} ${i("lg", "p")} ${i("base", "pt")} ${
|
|
1683
|
+
className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${i("sm", "space-x")} ${i("lg", "p")} ${i("base", "pt")} ${t}`
|
|
1684
1684
|
}, r), {
|
|
1685
1685
|
children: e
|
|
1686
1686
|
})
|
|
1687
1687
|
);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1690
|
-
var s =
|
|
1689
|
+
function ha(a) {
|
|
1690
|
+
var s = a, {
|
|
1691
1691
|
children: e,
|
|
1692
|
-
className:
|
|
1693
|
-
} = s, r =
|
|
1692
|
+
className: t = ""
|
|
1693
|
+
} = s, r = m(s, [
|
|
1694
1694
|
"children",
|
|
1695
1695
|
"className"
|
|
1696
1696
|
]);
|
|
@@ -1701,18 +1701,18 @@ function mt(t) {
|
|
|
1701
1701
|
${i("lg", "p")}
|
|
1702
1702
|
border-b
|
|
1703
1703
|
border-line-default
|
|
1704
|
-
${
|
|
1704
|
+
${t}
|
|
1705
1705
|
`
|
|
1706
1706
|
}, r), {
|
|
1707
1707
|
children: e
|
|
1708
1708
|
})
|
|
1709
1709
|
);
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1712
|
-
var s =
|
|
1711
|
+
function ya(a) {
|
|
1712
|
+
var s = a, {
|
|
1713
1713
|
children: e,
|
|
1714
|
-
className:
|
|
1715
|
-
} = s, r =
|
|
1714
|
+
className: t = ""
|
|
1715
|
+
} = s, r = m(s, [
|
|
1716
1716
|
"children",
|
|
1717
1717
|
"className"
|
|
1718
1718
|
]);
|
|
@@ -1726,36 +1726,36 @@ function gt(t) {
|
|
|
1726
1726
|
flex
|
|
1727
1727
|
justify-end
|
|
1728
1728
|
${i("sm", "gap")}
|
|
1729
|
-
${
|
|
1729
|
+
${t}
|
|
1730
1730
|
`
|
|
1731
1731
|
}, r), {
|
|
1732
1732
|
children: e
|
|
1733
1733
|
})
|
|
1734
1734
|
);
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function va(o) {
|
|
1737
1737
|
var d = o, {
|
|
1738
1738
|
label: e,
|
|
1739
|
-
children:
|
|
1739
|
+
children: t,
|
|
1740
1740
|
wrap: r = !0,
|
|
1741
|
-
className:
|
|
1742
|
-
} = d, s =
|
|
1741
|
+
className: a
|
|
1742
|
+
} = d, s = m(d, [
|
|
1743
1743
|
"label",
|
|
1744
1744
|
"children",
|
|
1745
1745
|
"wrap",
|
|
1746
1746
|
"className"
|
|
1747
1747
|
]);
|
|
1748
|
-
const
|
|
1748
|
+
const p = !(s["aria-label"] != null || s["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
|
|
1749
1749
|
return /* @__PURE__ */ v(
|
|
1750
1750
|
"div",
|
|
1751
1751
|
g(f({
|
|
1752
1752
|
role: "group",
|
|
1753
|
-
"aria-label":
|
|
1753
|
+
"aria-label": p,
|
|
1754
1754
|
className: n(
|
|
1755
1755
|
"flex items-center",
|
|
1756
1756
|
r ? "flex-wrap" : "flex-nowrap",
|
|
1757
1757
|
i("sm", "gap"),
|
|
1758
|
-
|
|
1758
|
+
a
|
|
1759
1759
|
)
|
|
1760
1760
|
}, s), {
|
|
1761
1761
|
children: [
|
|
@@ -1765,27 +1765,27 @@ function xt(o) {
|
|
|
1765
1765
|
// chips overflow — it stays on one line and the chips wrap around it.
|
|
1766
1766
|
/* @__PURE__ */ l("span", { className: "shrink-0 text-fg-secondary text-sm", children: e })
|
|
1767
1767
|
) : null,
|
|
1768
|
-
|
|
1768
|
+
t
|
|
1769
1769
|
]
|
|
1770
1770
|
})
|
|
1771
1771
|
);
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function wa({ children: e, className: t }) {
|
|
1774
1774
|
return /* @__PURE__ */ l(
|
|
1775
1775
|
"div",
|
|
1776
1776
|
{
|
|
1777
1777
|
className: n(
|
|
1778
1778
|
"flex-shrink-0 flex items-center",
|
|
1779
1779
|
i("sm", "gap"),
|
|
1780
|
-
|
|
1780
|
+
t
|
|
1781
1781
|
),
|
|
1782
1782
|
children: e
|
|
1783
1783
|
}
|
|
1784
1784
|
);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function Na({
|
|
1787
1787
|
children: e,
|
|
1788
|
-
className:
|
|
1788
|
+
className: t
|
|
1789
1789
|
}) {
|
|
1790
1790
|
return /* @__PURE__ */ l(
|
|
1791
1791
|
"nav",
|
|
@@ -1795,17 +1795,17 @@ function ht({
|
|
|
1795
1795
|
i("base", "gap"),
|
|
1796
1796
|
"hidden md:flex",
|
|
1797
1797
|
// Hidden on mobile, visible on desktop
|
|
1798
|
-
|
|
1798
|
+
t
|
|
1799
1799
|
),
|
|
1800
1800
|
"aria-label": "Main navigation",
|
|
1801
1801
|
children: e
|
|
1802
1802
|
}
|
|
1803
1803
|
);
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1806
|
-
var
|
|
1805
|
+
function $a(r) {
|
|
1806
|
+
var a = r, {
|
|
1807
1807
|
className: e = ""
|
|
1808
|
-
} =
|
|
1808
|
+
} = a, t = m(a, [
|
|
1809
1809
|
"className"
|
|
1810
1810
|
]);
|
|
1811
1811
|
return /* @__PURE__ */ l(
|
|
@@ -1818,21 +1818,21 @@ function yt(r) {
|
|
|
1818
1818
|
${i("sm", "my")}
|
|
1819
1819
|
${e}
|
|
1820
1820
|
`
|
|
1821
|
-
},
|
|
1821
|
+
}, t)
|
|
1822
1822
|
);
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1825
|
-
var s =
|
|
1824
|
+
function Sa(a) {
|
|
1825
|
+
var s = a, {
|
|
1826
1826
|
orientation: e = "horizontal",
|
|
1827
|
-
className:
|
|
1828
|
-
} = s, r =
|
|
1827
|
+
className: t = ""
|
|
1828
|
+
} = s, r = m(s, [
|
|
1829
1829
|
"orientation",
|
|
1830
1830
|
"className"
|
|
1831
1831
|
]);
|
|
1832
1832
|
return e === "vertical" ? /* @__PURE__ */ l(
|
|
1833
1833
|
"div",
|
|
1834
1834
|
f({
|
|
1835
|
-
className: n("w-px", "h-6", "bg-line-default", "mx-auto",
|
|
1835
|
+
className: n("w-px", "h-6", "bg-line-default", "mx-auto", t),
|
|
1836
1836
|
role: "separator",
|
|
1837
1837
|
"aria-orientation": "vertical"
|
|
1838
1838
|
}, r)
|
|
@@ -1847,7 +1847,7 @@ function vt(t) {
|
|
|
1847
1847
|
// my-2 (8px) para consistência com gap-2 usado em outros lugares
|
|
1848
1848
|
"flex-shrink-0",
|
|
1849
1849
|
// Prevenir que separator encolha
|
|
1850
|
-
|
|
1850
|
+
t
|
|
1851
1851
|
),
|
|
1852
1852
|
role: "separator",
|
|
1853
1853
|
"aria-orientation": "horizontal",
|
|
@@ -1859,7 +1859,7 @@ function vt(t) {
|
|
|
1859
1859
|
}, r)
|
|
1860
1860
|
);
|
|
1861
1861
|
}
|
|
1862
|
-
const Je =
|
|
1862
|
+
const Je = A(
|
|
1863
1863
|
// Base classes
|
|
1864
1864
|
n("w-full", "flex", "flex-col", i("sm", "gap")),
|
|
1865
1865
|
{
|
|
@@ -1874,15 +1874,15 @@ const Je = M(
|
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
);
|
|
1877
|
-
function
|
|
1878
|
-
var
|
|
1877
|
+
function Ca(c) {
|
|
1878
|
+
var p = c, {
|
|
1879
1879
|
title: e,
|
|
1880
|
-
description:
|
|
1880
|
+
description: t,
|
|
1881
1881
|
breadcrumb: r,
|
|
1882
|
-
actions:
|
|
1882
|
+
actions: a,
|
|
1883
1883
|
variant: s = "default",
|
|
1884
1884
|
className: o
|
|
1885
|
-
} =
|
|
1885
|
+
} = p, d = m(p, [
|
|
1886
1886
|
"title",
|
|
1887
1887
|
"description",
|
|
1888
1888
|
"breadcrumb",
|
|
@@ -1907,13 +1907,13 @@ function wt(c) {
|
|
|
1907
1907
|
children: e
|
|
1908
1908
|
}
|
|
1909
1909
|
),
|
|
1910
|
-
|
|
1910
|
+
t && /* @__PURE__ */ l(Q, { variant: "body", className: "text-fg-secondary", children: t })
|
|
1911
1911
|
] }),
|
|
1912
|
-
|
|
1912
|
+
a && /* @__PURE__ */ l(
|
|
1913
1913
|
"div",
|
|
1914
1914
|
{
|
|
1915
1915
|
className: `flex items-center ${i("sm", "gap")} flex-shrink-0`,
|
|
1916
|
-
children:
|
|
1916
|
+
children: a
|
|
1917
1917
|
}
|
|
1918
1918
|
)
|
|
1919
1919
|
]
|
|
@@ -1924,22 +1924,22 @@ function wt(c) {
|
|
|
1924
1924
|
const Qe = {
|
|
1925
1925
|
start: "items-start text-left",
|
|
1926
1926
|
center: "items-center text-center"
|
|
1927
|
-
},
|
|
1927
|
+
}, ea = {
|
|
1928
1928
|
neutral: "text-fg-tertiary",
|
|
1929
1929
|
success: "text-fg-success",
|
|
1930
1930
|
warning: "text-fg-warning",
|
|
1931
1931
|
error: "text-fg-error"
|
|
1932
1932
|
};
|
|
1933
|
-
function
|
|
1934
|
-
var x =
|
|
1933
|
+
function ka(p) {
|
|
1934
|
+
var x = p, {
|
|
1935
1935
|
value: e,
|
|
1936
|
-
label:
|
|
1936
|
+
label: t,
|
|
1937
1937
|
hint: r,
|
|
1938
|
-
icon:
|
|
1938
|
+
icon: a,
|
|
1939
1939
|
align: s = "start",
|
|
1940
1940
|
tone: o = "neutral",
|
|
1941
1941
|
className: d
|
|
1942
|
-
} = x, c =
|
|
1942
|
+
} = x, c = m(x, [
|
|
1943
1943
|
"value",
|
|
1944
1944
|
"label",
|
|
1945
1945
|
"hint",
|
|
@@ -1961,7 +1961,7 @@ function Nt(u) {
|
|
|
1961
1961
|
)
|
|
1962
1962
|
}, c), {
|
|
1963
1963
|
children: [
|
|
1964
|
-
|
|
1964
|
+
a ? /* @__PURE__ */ l("span", { className: "text-icon-default inline-flex", children: a }) : null,
|
|
1965
1965
|
y ? /* @__PURE__ */ l(
|
|
1966
1966
|
"span",
|
|
1967
1967
|
{
|
|
@@ -1970,24 +1970,24 @@ function Nt(u) {
|
|
|
1970
1970
|
children: "—"
|
|
1971
1971
|
}
|
|
1972
1972
|
) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
|
|
1973
|
-
/* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children:
|
|
1974
|
-
r ? /* @__PURE__ */ l("span", { className: n("text-xs",
|
|
1973
|
+
/* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: t }),
|
|
1974
|
+
r ? /* @__PURE__ */ l("span", { className: n("text-xs", ea[o]), children: r }) : null
|
|
1975
1975
|
]
|
|
1976
1976
|
})
|
|
1977
1977
|
);
|
|
1978
1978
|
}
|
|
1979
|
-
const
|
|
1979
|
+
const aa = {
|
|
1980
1980
|
2: "md:grid-cols-2",
|
|
1981
1981
|
3: "md:grid-cols-3",
|
|
1982
1982
|
4: "md:grid-cols-4"
|
|
1983
1983
|
};
|
|
1984
|
-
function
|
|
1984
|
+
function Ea(o) {
|
|
1985
1985
|
var d = o, {
|
|
1986
1986
|
layout: e = "grid",
|
|
1987
|
-
cols:
|
|
1987
|
+
cols: t = 4,
|
|
1988
1988
|
className: r,
|
|
1989
|
-
children:
|
|
1990
|
-
} = d, s =
|
|
1989
|
+
children: a
|
|
1990
|
+
} = d, s = m(d, [
|
|
1991
1991
|
"layout",
|
|
1992
1992
|
"cols",
|
|
1993
1993
|
"className",
|
|
@@ -1999,34 +1999,146 @@ function $t(o) {
|
|
|
1999
1999
|
g(f({
|
|
2000
2000
|
className: n(
|
|
2001
2001
|
"bg-line-default border border-line-default overflow-hidden gap-px",
|
|
2002
|
-
|
|
2003
|
-
c ? `grid grid-cols-2 ${
|
|
2002
|
+
S("lg"),
|
|
2003
|
+
c ? `grid grid-cols-2 ${aa[t]}` : "flex",
|
|
2004
2004
|
r
|
|
2005
2005
|
)
|
|
2006
2006
|
}, s), {
|
|
2007
|
-
children:
|
|
2007
|
+
children: a
|
|
2008
2008
|
})
|
|
2009
2009
|
);
|
|
2010
2010
|
}
|
|
2011
|
-
function
|
|
2012
|
-
var o = s, { column: e, row:
|
|
2013
|
-
const d = e.key in
|
|
2011
|
+
function Ta(s) {
|
|
2012
|
+
var o = s, { column: e, row: t, className: r = "" } = o, a = m(o, ["column", "row", "className"]);
|
|
2013
|
+
const d = e.key in t ? t[e.key] : void 0;
|
|
2014
2014
|
return /* @__PURE__ */ l(
|
|
2015
2015
|
"td",
|
|
2016
2016
|
g(f({
|
|
2017
2017
|
className: `${i("lg", "px")} ${i("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
|
|
2018
|
-
},
|
|
2019
|
-
children: e.render ? e.render(d,
|
|
2018
|
+
}, a), {
|
|
2019
|
+
children: e.render ? e.render(d, t) : String(d != null ? d : "")
|
|
2020
2020
|
})
|
|
2021
2021
|
);
|
|
2022
2022
|
}
|
|
2023
|
-
|
|
2023
|
+
const ta = A(n("flex items-center", "border-b"), {
|
|
2024
|
+
variants: {
|
|
2025
|
+
variant: {
|
|
2026
|
+
default: n("border-line-default", i("base", "gap-x")),
|
|
2027
|
+
sub: n("border-line-muted", i("sm", "gap-x"))
|
|
2028
|
+
}
|
|
2029
|
+
},
|
|
2030
|
+
defaultVariants: {
|
|
2031
|
+
variant: "default"
|
|
2032
|
+
}
|
|
2033
|
+
}), ra = A(
|
|
2034
|
+
n(
|
|
2035
|
+
"relative -mb-px inline-flex items-center",
|
|
2036
|
+
i("xs", "gap-x"),
|
|
2037
|
+
"border-b-2 border-transparent",
|
|
2038
|
+
"transition-colors",
|
|
2039
|
+
"focus:outline-none",
|
|
2040
|
+
"focus-visible:ring-2",
|
|
2041
|
+
"focus-visible:ring-line-focus",
|
|
2042
|
+
"focus-visible:ring-offset-2",
|
|
2043
|
+
S("sm")
|
|
2044
|
+
),
|
|
2045
|
+
{
|
|
2046
|
+
variants: {
|
|
2047
|
+
variant: {
|
|
2048
|
+
default: n(
|
|
2049
|
+
i("sm", "px"),
|
|
2050
|
+
i("sm", "py"),
|
|
2051
|
+
k("body")
|
|
2052
|
+
),
|
|
2053
|
+
sub: n(
|
|
2054
|
+
i("sm", "px"),
|
|
2055
|
+
i("xs", "py"),
|
|
2056
|
+
k("bodySmall")
|
|
2057
|
+
)
|
|
2058
|
+
},
|
|
2059
|
+
active: {
|
|
2060
|
+
true: n("border-line-brand", "text-fg-brand-emphasis", "font-medium"),
|
|
2061
|
+
false: n(
|
|
2062
|
+
"text-fg-secondary",
|
|
2063
|
+
"hover:text-fg-primary",
|
|
2064
|
+
"hover:border-line-muted"
|
|
2065
|
+
)
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
compoundVariants: [
|
|
2069
|
+
// Sub-tabs sit lower in the hierarchy: lighter resting foreground.
|
|
2070
|
+
{
|
|
2071
|
+
variant: "sub",
|
|
2072
|
+
active: !1,
|
|
2073
|
+
class: n("text-fg-tertiary", "hover:text-fg-secondary")
|
|
2074
|
+
}
|
|
2075
|
+
],
|
|
2076
|
+
defaultVariants: {
|
|
2077
|
+
variant: "default",
|
|
2078
|
+
active: !1
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
), sa = n(
|
|
2082
|
+
"inline-flex items-center justify-center",
|
|
2083
|
+
S("full"),
|
|
2084
|
+
i("xs", "px"),
|
|
2085
|
+
"bg-surface-muted text-fg-secondary text-xs"
|
|
2086
|
+
), na = z(
|
|
2087
|
+
function(x, p) {
|
|
2088
|
+
var y = x, {
|
|
2089
|
+
items: t,
|
|
2090
|
+
variant: r = "default",
|
|
2091
|
+
linkComponent: a,
|
|
2092
|
+
className: s,
|
|
2093
|
+
"aria-label": o,
|
|
2094
|
+
"aria-labelledby": d
|
|
2095
|
+
} = y, c = m(y, [
|
|
2096
|
+
"items",
|
|
2097
|
+
"variant",
|
|
2098
|
+
"linkComponent",
|
|
2099
|
+
"className",
|
|
2100
|
+
"aria-label",
|
|
2101
|
+
"aria-labelledby"
|
|
2102
|
+
]);
|
|
2103
|
+
typeof process != "undefined" && process.env.NODE_ENV !== "production" && !o && !d && console.warn(
|
|
2104
|
+
'[TabsAsLinks] renders a <nav> landmark and should have an accessible name. Pass `aria-label` (e.g. "Painel") or `aria-labelledby` — multiple unnamed navs on a page are ambiguous to screen readers.'
|
|
2105
|
+
);
|
|
2106
|
+
const b = a != null ? a : "a";
|
|
2107
|
+
return /* @__PURE__ */ l(
|
|
2108
|
+
"nav",
|
|
2109
|
+
g(f({
|
|
2110
|
+
ref: p,
|
|
2111
|
+
className: n(ta({ variant: r }), s),
|
|
2112
|
+
"aria-label": o,
|
|
2113
|
+
"aria-labelledby": d
|
|
2114
|
+
}, c), {
|
|
2115
|
+
children: t.map((u, h) => /* @__PURE__ */ v(
|
|
2116
|
+
b,
|
|
2117
|
+
{
|
|
2118
|
+
href: u.href,
|
|
2119
|
+
"aria-current": u.active ? "page" : void 0,
|
|
2120
|
+
"data-active": u.active ? "true" : void 0,
|
|
2121
|
+
className: ra({ variant: r, active: !!u.active }),
|
|
2122
|
+
children: [
|
|
2123
|
+
u.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: u.icon }) : null,
|
|
2124
|
+
/* @__PURE__ */ l("span", { children: u.label }),
|
|
2125
|
+
u.count !== void 0 ? /* @__PURE__ */ l("span", { className: sa, children: u.count }) : null
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
u.href || h
|
|
2129
|
+
))
|
|
2130
|
+
})
|
|
2131
|
+
);
|
|
2132
|
+
}
|
|
2133
|
+
);
|
|
2134
|
+
na.displayName = "TabsAsLinks";
|
|
2135
|
+
function La({
|
|
2024
2136
|
items: e,
|
|
2025
|
-
orientation:
|
|
2137
|
+
orientation: t = "vertical",
|
|
2026
2138
|
className: r = ""
|
|
2027
2139
|
}) {
|
|
2028
|
-
return
|
|
2029
|
-
const o =
|
|
2140
|
+
return t === "horizontal" ? /* @__PURE__ */ l("div", { className: `flex items-start ${r}`, children: e.map((a, s) => {
|
|
2141
|
+
const o = a.status || (s === 0 ? "active" : s < e.findIndex((c) => c.status === "active") ? "completed" : "default"), d = s === e.length - 1;
|
|
2030
2142
|
return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
|
|
2031
2143
|
/* @__PURE__ */ l(
|
|
2032
2144
|
"div",
|
|
@@ -2037,11 +2149,11 @@ function Ct({
|
|
|
2037
2149
|
justify-center
|
|
2038
2150
|
w-10
|
|
2039
2151
|
h-10
|
|
2040
|
-
${
|
|
2152
|
+
${S("full")}
|
|
2041
2153
|
border-2
|
|
2042
2154
|
${o === "completed" ? "bg-success border-success text-fg-inverse" : o === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : o === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
|
|
2043
2155
|
`,
|
|
2044
|
-
children:
|
|
2156
|
+
children: a.icon || (o === "completed" ? /* @__PURE__ */ l(q, { className: "h-4 w-4" }) : s + 1)
|
|
2045
2157
|
})
|
|
2046
2158
|
),
|
|
2047
2159
|
!d && /* @__PURE__ */ l(
|
|
@@ -2060,28 +2172,28 @@ function Ct({
|
|
|
2060
2172
|
{
|
|
2061
2173
|
className: `${i("base", "mt")} text-center ${i("base", "px")}`,
|
|
2062
2174
|
children: [
|
|
2063
|
-
|
|
2175
|
+
a.timestamp && /* @__PURE__ */ l(
|
|
2064
2176
|
"p",
|
|
2065
2177
|
{
|
|
2066
2178
|
className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
|
|
2067
|
-
children:
|
|
2179
|
+
children: a.timestamp
|
|
2068
2180
|
}
|
|
2069
2181
|
),
|
|
2070
|
-
/* @__PURE__ */ l("h3", { className: "text-sm font-semibold text-fg-primary", children:
|
|
2071
|
-
|
|
2182
|
+
/* @__PURE__ */ l("h3", { className: "text-sm font-semibold text-fg-primary", children: a.title }),
|
|
2183
|
+
a.description && /* @__PURE__ */ l(
|
|
2072
2184
|
"p",
|
|
2073
2185
|
{
|
|
2074
2186
|
className: `text-xs text-fg-secondary ${i("xs", "mt")}`,
|
|
2075
|
-
children:
|
|
2187
|
+
children: a.description
|
|
2076
2188
|
}
|
|
2077
2189
|
),
|
|
2078
|
-
|
|
2190
|
+
a.content && /* @__PURE__ */ l("div", { className: i("sm", "mt"), children: a.content })
|
|
2079
2191
|
]
|
|
2080
2192
|
}
|
|
2081
2193
|
)
|
|
2082
|
-
] }) },
|
|
2083
|
-
}) }) : /* @__PURE__ */ l("div", { className: `${i("none", "space-y")} ${r}`, children: e.map((
|
|
2084
|
-
const o =
|
|
2194
|
+
] }) }, a.id);
|
|
2195
|
+
}) }) : /* @__PURE__ */ l("div", { className: `${i("none", "space-y")} ${r}`, children: e.map((a, s) => {
|
|
2196
|
+
const o = a.status || (s === 0 ? "active" : s < e.findIndex((c) => c.status === "active") ? "completed" : "default"), d = s === e.length - 1;
|
|
2085
2197
|
return /* @__PURE__ */ v(
|
|
2086
2198
|
"div",
|
|
2087
2199
|
{
|
|
@@ -2097,11 +2209,11 @@ function Ct({
|
|
|
2097
2209
|
justify-center
|
|
2098
2210
|
w-10
|
|
2099
2211
|
h-10
|
|
2100
|
-
${
|
|
2212
|
+
${S("full")}
|
|
2101
2213
|
border-2
|
|
2102
2214
|
${o === "completed" ? "bg-success border-success text-fg-inverse" : o === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : o === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
|
|
2103
2215
|
`,
|
|
2104
|
-
children:
|
|
2216
|
+
children: a.icon || (o === "completed" ? /* @__PURE__ */ l(q, { className: "h-4 w-4" }) : s + 1)
|
|
2105
2217
|
})
|
|
2106
2218
|
),
|
|
2107
2219
|
!d && /* @__PURE__ */ l(
|
|
@@ -2118,11 +2230,11 @@ function Ct({
|
|
|
2118
2230
|
)
|
|
2119
2231
|
] }),
|
|
2120
2232
|
/* @__PURE__ */ v("div", { className: `flex-1 ${i("xl", "pb")}`, children: [
|
|
2121
|
-
|
|
2233
|
+
a.timestamp && /* @__PURE__ */ l(
|
|
2122
2234
|
"p",
|
|
2123
2235
|
{
|
|
2124
2236
|
className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
|
|
2125
|
-
children:
|
|
2237
|
+
children: a.timestamp
|
|
2126
2238
|
}
|
|
2127
2239
|
),
|
|
2128
2240
|
/* @__PURE__ */ l(
|
|
@@ -2133,21 +2245,21 @@ function Ct({
|
|
|
2133
2245
|
font-semibold
|
|
2134
2246
|
${o === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
|
|
2135
2247
|
`,
|
|
2136
|
-
children:
|
|
2248
|
+
children: a.title
|
|
2137
2249
|
}
|
|
2138
2250
|
),
|
|
2139
|
-
|
|
2251
|
+
a.description && /* @__PURE__ */ l(
|
|
2140
2252
|
"p",
|
|
2141
2253
|
{
|
|
2142
2254
|
className: `text-sm text-fg-secondary ${i("xs", "mt")}`,
|
|
2143
|
-
children:
|
|
2255
|
+
children: a.description
|
|
2144
2256
|
}
|
|
2145
2257
|
),
|
|
2146
|
-
|
|
2258
|
+
a.content && /* @__PURE__ */ l("div", { className: i("md", "mt"), children: a.content })
|
|
2147
2259
|
] })
|
|
2148
2260
|
]
|
|
2149
2261
|
},
|
|
2150
|
-
|
|
2262
|
+
a.id
|
|
2151
2263
|
);
|
|
2152
2264
|
}) });
|
|
2153
2265
|
}
|
|
@@ -2161,29 +2273,30 @@ export {
|
|
|
2161
2273
|
qe as CardSubtitle,
|
|
2162
2274
|
Xe as CardTitle,
|
|
2163
2275
|
Te as Chip,
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2276
|
+
Oe as Container,
|
|
2277
|
+
ba as DialogFooter,
|
|
2278
|
+
xa as DialogHeader,
|
|
2279
|
+
ya as DrawerFooter,
|
|
2280
|
+
ha as DrawerHeader,
|
|
2281
|
+
pa as ErrorMessage,
|
|
2282
|
+
va as FilterChips,
|
|
2283
|
+
wa as HeaderActions,
|
|
2284
|
+
Na as HeaderNavigation,
|
|
2285
|
+
ma as Info,
|
|
2286
|
+
Ve as Label,
|
|
2287
|
+
$a as MenuSeparator,
|
|
2288
|
+
Sa as NavbarSeparator,
|
|
2289
|
+
Ca as PageHeader,
|
|
2290
|
+
je as Progress,
|
|
2291
|
+
Me as Separator,
|
|
2292
|
+
ga as Skeleton,
|
|
2181
2293
|
Ie as Spinner,
|
|
2182
2294
|
Be as Stack,
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2295
|
+
ka as Stat,
|
|
2296
|
+
Ea as StatGroup,
|
|
2297
|
+
Ta as TableCell,
|
|
2298
|
+
na as TabsAsLinks,
|
|
2186
2299
|
Q as Text,
|
|
2187
|
-
|
|
2300
|
+
La as Timeline
|
|
2188
2301
|
};
|
|
2189
2302
|
//# sourceMappingURL=index.js.map
|