@fabio.caffarello/react-design-system 3.13.0 → 4.0.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/ui/components/Autocomplete/Autocomplete.js +103 -86
- package/dist/granular/ui/components/Autocomplete/Autocomplete.js.map +1 -1
- package/dist/granular/ui/components/Autocomplete/AutocompleteList.js +57 -47
- package/dist/granular/ui/components/Autocomplete/AutocompleteList.js.map +1 -1
- package/dist/granular/ui/components/Autocomplete/AutocompleteOption.js +21 -20
- package/dist/granular/ui/components/Autocomplete/AutocompleteOption.js.map +1 -1
- package/dist/granular/ui/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/granular/ui/components/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/granular/ui/components/CommandPalette/CommandPalette.js +187 -149
- package/dist/granular/ui/components/CommandPalette/CommandPalette.js.map +1 -1
- package/dist/granular/ui/components/DataGrid/DataGrid.js +92 -92
- package/dist/granular/ui/components/DataGrid/DataGrid.js.map +1 -1
- package/dist/granular/ui/components/DatePicker/DatePickerCalendar.js +154 -139
- package/dist/granular/ui/components/DatePicker/DatePickerCalendar.js.map +1 -1
- package/dist/granular/ui/components/Dialog/AlertDialog.js +73 -40
- package/dist/granular/ui/components/Dialog/AlertDialog.js.map +1 -1
- package/dist/granular/ui/components/Dialog/DialogContent.js +54 -48
- package/dist/granular/ui/components/Dialog/DialogContent.js.map +1 -1
- package/dist/granular/ui/components/Dialog/DialogDescription.js +31 -31
- package/dist/granular/ui/components/Dialog/DialogDescription.js.map +1 -1
- package/dist/granular/ui/components/Dialog/DialogTitle.js +30 -30
- package/dist/granular/ui/components/Dialog/DialogTitle.js.map +1 -1
- package/dist/granular/ui/components/Drawer/Drawer.js.map +1 -1
- package/dist/granular/ui/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/granular/ui/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/granular/ui/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/granular/ui/components/Form/Form.js +38 -37
- package/dist/granular/ui/components/Form/Form.js.map +1 -1
- package/dist/granular/ui/components/Form/FormField.js +28 -26
- package/dist/granular/ui/components/Form/FormField.js.map +1 -1
- package/dist/granular/ui/components/Header/Header.js.map +1 -1
- package/dist/granular/ui/components/Header/components/HeaderActions.js.map +1 -1
- package/dist/granular/ui/components/Header/components/HeaderHamburger.js.map +1 -1
- package/dist/granular/ui/components/Header/components/HeaderLogo.js.map +1 -1
- package/dist/granular/ui/components/Header/components/HeaderMobileMenu.js.map +1 -1
- package/dist/granular/ui/components/Header/components/HeaderNavigation.js.map +1 -1
- package/dist/granular/ui/components/Header/contexts/HeaderContext.js.map +1 -1
- package/dist/granular/ui/components/Menu/Menu.js.map +1 -1
- package/dist/granular/ui/components/Modal/Modal.js +98 -86
- package/dist/granular/ui/components/Modal/Modal.js.map +1 -1
- package/dist/granular/ui/components/MultiSelect/MultiSelect.js +122 -106
- package/dist/granular/ui/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/granular/ui/components/Navigation/Navigation.js.map +1 -1
- package/dist/granular/ui/components/PageHeader/PageHeader.js.map +1 -1
- package/dist/granular/ui/components/Pagination/Pagination.js.map +1 -1
- package/dist/granular/ui/components/Popover/Popover.js.map +1 -1
- package/dist/granular/ui/components/Rating/Rating.js.map +1 -1
- package/dist/granular/ui/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarGroup.js +82 -64
- package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarGroup.js.map +1 -1
- package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarItem.js +30 -29
- package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarItem.js.map +1 -1
- package/dist/granular/ui/components/SideNavbar/components/SideNavbarResizeHandle.js +37 -35
- package/dist/granular/ui/components/SideNavbar/components/SideNavbarResizeHandle.js.map +1 -1
- package/dist/granular/ui/components/SideNavbar/providers/SideNavbarStateProvider.js +57 -57
- package/dist/granular/ui/components/SideNavbar/providers/SideNavbarStateProvider.js.map +1 -1
- package/dist/granular/ui/components/Stepper/Stepper.js +102 -94
- package/dist/granular/ui/components/Stepper/Stepper.js.map +1 -1
- package/dist/granular/ui/components/Table/Table.js +41 -35
- package/dist/granular/ui/components/Table/Table.js.map +1 -1
- package/dist/granular/ui/components/Table/TableActions/TableActions.js.map +1 -1
- package/dist/granular/ui/components/Table/TableFilters/TableFilters.js +49 -46
- package/dist/granular/ui/components/Table/TableFilters/TableFilters.js.map +1 -1
- package/dist/granular/ui/components/Table/TablePagination/TablePagination.js.map +1 -1
- package/dist/granular/ui/components/Table/TableProvider.js +82 -80
- package/dist/granular/ui/components/Table/TableProvider.js.map +1 -1
- package/dist/granular/ui/components/Table/TableRow.js +57 -53
- package/dist/granular/ui/components/Table/TableRow.js.map +1 -1
- package/dist/granular/ui/components/Table/useColumnResizing.js +53 -53
- package/dist/granular/ui/components/Table/useColumnResizing.js.map +1 -1
- package/dist/granular/ui/components/TimePicker/TimePicker.js +149 -103
- package/dist/granular/ui/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/granular/ui/components/Timeline/Timeline.js.map +1 -1
- package/dist/granular/ui/hooks/useFocusRestore.js +14 -15
- package/dist/granular/ui/hooks/useFocusRestore.js.map +1 -1
- package/dist/granular/ui/primitives/Badge/Badge.js.map +1 -1
- package/dist/granular/ui/primitives/Checkbox/Checkbox.js.map +1 -1
- package/dist/granular/ui/primitives/Chip/Chip.js +91 -71
- package/dist/granular/ui/primitives/Chip/Chip.js.map +1 -1
- package/dist/granular/ui/primitives/ErrorMessage/ErrorMessage.js.map +1 -1
- package/dist/granular/ui/primitives/Input/Input.js.map +1 -1
- package/dist/granular/ui/primitives/Label/Label.js.map +1 -1
- package/dist/granular/ui/primitives/NavLink/NavLink.js.map +1 -1
- package/dist/granular/ui/primitives/Radio/Radio.js.map +1 -1
- package/dist/granular/ui/primitives/Select/Select.js.map +1 -1
- package/dist/granular/ui/primitives/Separator/Separator.js.map +1 -1
- package/dist/granular/ui/primitives/Skeleton/Skeleton.js.map +1 -1
- package/dist/granular/ui/primitives/Slider/Slider.js.map +1 -1
- package/dist/granular/ui/primitives/Spinner/Spinner.js.map +1 -1
- package/dist/granular/ui/primitives/Switch/Switch.js.map +1 -1
- package/dist/granular/ui/primitives/Tooltip/Tooltip.js.map +1 -1
- package/dist/granular/ui/providers/DialogContext.js.map +1 -1
- package/dist/granular/ui/providers/DialogProvider.js +24 -20
- package/dist/granular/ui/providers/DialogProvider.js.map +1 -1
- package/dist/index.cjs +144 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5780 -5486
- package/dist/index.js.map +1 -1
- package/dist/react-design-system.css +1 -1
- package/dist/server/index.cjs +7 -7
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +404 -384
- package/dist/server/index.js.map +1 -1
- package/dist/ui/components/Autocomplete/AutocompleteList.d.ts +4 -0
- package/dist/ui/components/Autocomplete/AutocompleteOption.d.ts +8 -0
- package/dist/ui/components/Breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/ui/components/ColorPicker/ColorPicker.d.ts +0 -1
- package/dist/ui/components/CommandPalette/CommandPalette.d.ts +0 -1
- package/dist/ui/components/DataGrid/DataGrid.d.ts +0 -1
- package/dist/ui/components/Dialog/DialogContent.d.ts +20 -1
- package/dist/ui/components/Drawer/Drawer.d.ts +0 -1
- package/dist/ui/components/Dropdown/Dropdown.d.ts +0 -1
- package/dist/ui/components/EmptyState/EmptyState.d.ts +0 -1
- package/dist/ui/components/FileUpload/FileUpload.d.ts +0 -1
- package/dist/ui/components/Form/FormField.d.ts +7 -0
- package/dist/ui/components/Header/Header.d.ts +1 -1
- package/dist/ui/components/Header/components/HeaderActions.d.ts +1 -1
- package/dist/ui/components/Header/components/HeaderHamburger.d.ts +1 -1
- package/dist/ui/components/Header/components/HeaderLogo.d.ts +1 -1
- package/dist/ui/components/Header/components/HeaderMobileMenu.d.ts +1 -1
- package/dist/ui/components/Header/components/HeaderNavigation.d.ts +1 -1
- package/dist/ui/components/Header/contexts/HeaderContext.d.ts +1 -1
- package/dist/ui/components/Menu/Menu.d.ts +0 -1
- package/dist/ui/components/Modal/Modal.d.ts +1 -2
- package/dist/ui/components/Navigation/Navigation.d.ts +1 -1
- package/dist/ui/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/ui/components/Pagination/Pagination.d.ts +0 -1
- package/dist/ui/components/Popover/Popover.d.ts +0 -1
- package/dist/ui/components/Rating/Rating.d.ts +0 -1
- package/dist/ui/components/SearchInput/SearchInput.d.ts +0 -1
- package/dist/ui/components/Stepper/Stepper.d.ts +0 -1
- package/dist/ui/components/Table/TableActions/TableActions.d.ts +0 -1
- package/dist/ui/components/Table/TableFilters/TableFilters.d.ts +0 -1
- package/dist/ui/components/Table/TablePagination/TablePagination.d.ts +0 -1
- package/dist/ui/components/TimePicker/TimePicker.d.ts +0 -1
- package/dist/ui/components/Timeline/Timeline.d.ts +0 -1
- package/dist/ui/primitives/Checkbox/Checkbox.d.ts +0 -1
- package/dist/ui/primitives/Chip/Chip.d.ts +21 -0
- package/dist/ui/primitives/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/ui/primitives/Input/Input.d.ts +0 -1
- package/dist/ui/primitives/Label/Label.d.ts +0 -1
- package/dist/ui/primitives/NavLink/NavLink.d.ts +1 -1
- package/dist/ui/primitives/Radio/Radio.d.ts +0 -1
- package/dist/ui/primitives/Select/Select.d.ts +0 -1
- package/dist/ui/primitives/Skeleton/Skeleton.d.ts +0 -1
- package/dist/ui/primitives/Slider/Slider.d.ts +0 -1
- package/dist/ui/primitives/Switch/Switch.d.ts +0 -1
- package/dist/ui/primitives/Tooltip/Tooltip.d.ts +0 -1
- package/dist/ui/providers/DialogContext.d.ts +8 -0
- package/package.json +7 -7
package/dist/server/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var le = Object.defineProperty, oe = Object.defineProperties;
|
|
2
|
+
var ce = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var P = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var X = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var O = (e, t, r) => t in e ? le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, u = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
X.call(t, r) && O(e, r, t[r]);
|
|
8
8
|
if (P)
|
|
9
9
|
for (var r of P(t))
|
|
10
|
-
|
|
10
|
+
q.call(t, r) && O(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, y = (e, t) =>
|
|
12
|
+
}, y = (e, t) => oe(e, ce(t));
|
|
13
13
|
var m = (e, t) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var a in e)
|
|
16
|
-
|
|
16
|
+
X.call(e, a) && t.indexOf(a) < 0 && (r[a] = e[a]);
|
|
17
17
|
if (e != null && P)
|
|
18
18
|
for (var a of P(e))
|
|
19
|
-
t.indexOf(a) < 0 &&
|
|
19
|
+
t.indexOf(a) < 0 && q.call(e, a) && (r[a] = e[a]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var G = (e, t, r) => O(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
|
|
26
|
-
import { clsx as
|
|
27
|
-
import { twMerge as
|
|
28
|
-
import { cva as
|
|
29
|
-
import { X as
|
|
24
|
+
import * as T from "react";
|
|
25
|
+
import ae, { memo as H, forwardRef as D } from "react";
|
|
26
|
+
import { clsx as de } from "clsx";
|
|
27
|
+
import { twMerge as ue } from "tailwind-merge";
|
|
28
|
+
import { cva as fe } from "class-variance-authority";
|
|
29
|
+
import { X as pe, AlertCircle as me, Loader2 as ge, CheckCircle2 as Y } from "lucide-react";
|
|
30
30
|
class F {
|
|
31
31
|
/**
|
|
32
32
|
* Create a radius token
|
|
@@ -83,7 +83,7 @@ class F {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
const
|
|
86
|
+
const xe = {
|
|
87
87
|
none: F.create("none"),
|
|
88
88
|
sm: F.create("sm"),
|
|
89
89
|
md: F.create("md"),
|
|
@@ -93,8 +93,8 @@ const fe = {
|
|
|
93
93
|
"3xl": F.create("3xl"),
|
|
94
94
|
full: F.create("full")
|
|
95
95
|
};
|
|
96
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function C(e) {
|
|
97
|
+
return xe[e].tailwind;
|
|
98
98
|
}
|
|
99
99
|
class S {
|
|
100
100
|
// 4px base
|
|
@@ -163,8 +163,8 @@ class S {
|
|
|
163
163
|
}[t] || String(t);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
|
|
167
|
-
const
|
|
166
|
+
G(S, "BASE_UNIT", 4);
|
|
167
|
+
const be = {
|
|
168
168
|
// Micro spacing (0-14px)
|
|
169
169
|
none: S.create(0),
|
|
170
170
|
"0.5": S.create(0.5),
|
|
@@ -202,7 +202,7 @@ const ue = {
|
|
|
202
202
|
// 96px
|
|
203
203
|
};
|
|
204
204
|
function i(e, t = "p") {
|
|
205
|
-
const a =
|
|
205
|
+
const a = be[e].tailwind;
|
|
206
206
|
return `${{
|
|
207
207
|
p: "p",
|
|
208
208
|
m: "m",
|
|
@@ -296,7 +296,7 @@ class $ {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
$.createFontWeight("light"), $.createFontWeight("normal"), $.createFontWeight("medium"), $.createFontWeight("semibold"), $.createFontWeight("bold");
|
|
299
|
-
const
|
|
299
|
+
const U = {
|
|
300
300
|
// Headings
|
|
301
301
|
h1: $.create("4xl", "tight", "bold"),
|
|
302
302
|
h2: $.create("3xl", "tight", "bold"),
|
|
@@ -314,32 +314,32 @@ const B = {
|
|
|
314
314
|
button: $.create("base", "normal", "medium")
|
|
315
315
|
};
|
|
316
316
|
function R(e) {
|
|
317
|
-
const t =
|
|
317
|
+
const t = U[e];
|
|
318
318
|
return `${t.fontSize.tailwind} ${t.lineHeight.tailwind} ${t.fontWeight.tailwind}`;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
321
|
-
return
|
|
320
|
+
function k(e) {
|
|
321
|
+
return U[e].fontSize.tailwind;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
324
|
-
return
|
|
323
|
+
function z(e) {
|
|
324
|
+
return U[e].fontWeight.tailwind;
|
|
325
325
|
}
|
|
326
326
|
function n(...e) {
|
|
327
|
-
return
|
|
327
|
+
return ue(de(e));
|
|
328
328
|
}
|
|
329
329
|
const V = (e, t) => {
|
|
330
|
-
const r =
|
|
330
|
+
const r = fe(e, t);
|
|
331
331
|
return ((a) => {
|
|
332
332
|
const s = r(a);
|
|
333
333
|
return n(s);
|
|
334
334
|
});
|
|
335
|
-
},
|
|
335
|
+
}, he = V(
|
|
336
336
|
// Base classes
|
|
337
337
|
n(
|
|
338
338
|
"inline-flex",
|
|
339
339
|
"items-center",
|
|
340
340
|
"justify-center",
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
z("label"),
|
|
342
|
+
C("md"),
|
|
343
343
|
"border"
|
|
344
344
|
),
|
|
345
345
|
{
|
|
@@ -357,17 +357,17 @@ const V = (e, t) => {
|
|
|
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,9 +470,9 @@ const V = (e, t) => {
|
|
|
470
470
|
style: "solid"
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
),
|
|
474
|
-
|
|
475
|
-
var g =
|
|
473
|
+
), ye = H(
|
|
474
|
+
D(function(h, p) {
|
|
475
|
+
var g = h, {
|
|
476
476
|
variant: t = "neutral",
|
|
477
477
|
size: r = "md",
|
|
478
478
|
style: a = "solid",
|
|
@@ -487,130 +487,130 @@ const V = (e, t) => {
|
|
|
487
487
|
"children",
|
|
488
488
|
"aria-label"
|
|
489
489
|
]);
|
|
490
|
-
const
|
|
491
|
-
let
|
|
490
|
+
const b = n(he({ variant: t, size: r, style: a }), s);
|
|
491
|
+
let f;
|
|
492
492
|
if (c)
|
|
493
|
-
|
|
493
|
+
f = c;
|
|
494
494
|
else if (typeof o == "string")
|
|
495
|
-
|
|
495
|
+
f = o;
|
|
496
496
|
else if (typeof o == "object" && o !== null && "props" in o) {
|
|
497
|
-
const
|
|
498
|
-
|
|
497
|
+
const x = o.props;
|
|
498
|
+
x != null && x.children && typeof x.children == "string" && (f = x.children);
|
|
499
499
|
}
|
|
500
500
|
return /* @__PURE__ */ l(
|
|
501
501
|
"span",
|
|
502
|
-
y(
|
|
502
|
+
y(u({
|
|
503
503
|
ref: p,
|
|
504
504
|
role: "status",
|
|
505
|
-
"aria-label":
|
|
506
|
-
className:
|
|
505
|
+
"aria-label": f,
|
|
506
|
+
className: b
|
|
507
507
|
}, d), {
|
|
508
508
|
children: o
|
|
509
509
|
})
|
|
510
510
|
);
|
|
511
511
|
})
|
|
512
512
|
);
|
|
513
|
-
|
|
514
|
-
function
|
|
513
|
+
ye.displayName = "Badge";
|
|
514
|
+
function Z(e, t) {
|
|
515
515
|
if (typeof e == "function")
|
|
516
516
|
return e(t);
|
|
517
517
|
e != null && (e.current = t);
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function ve(...e) {
|
|
520
520
|
return (t) => {
|
|
521
521
|
let r = !1;
|
|
522
522
|
const a = e.map((s) => {
|
|
523
|
-
const o =
|
|
523
|
+
const o = Z(s, t);
|
|
524
524
|
return !r && typeof o == "function" && (r = !0), o;
|
|
525
525
|
});
|
|
526
526
|
if (r)
|
|
527
527
|
return () => {
|
|
528
528
|
for (let s = 0; s < a.length; s++) {
|
|
529
529
|
const o = a[s];
|
|
530
|
-
typeof o == "function" ? o() :
|
|
530
|
+
typeof o == "function" ? o() : Z(e[s], null);
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
|
-
function
|
|
536
|
-
return
|
|
535
|
+
function we(...e) {
|
|
536
|
+
return T.useCallback(ve(...e), e);
|
|
537
537
|
}
|
|
538
538
|
// @__NO_SIDE_EFFECTS__
|
|
539
|
-
function
|
|
540
|
-
const t =
|
|
541
|
-
var
|
|
542
|
-
let
|
|
539
|
+
function Ne(e) {
|
|
540
|
+
const t = T.forwardRef((r, a) => {
|
|
541
|
+
var x;
|
|
542
|
+
let f = r, { children: s } = f, o = m(f, ["children"]), c = null, d = !1;
|
|
543
543
|
const p = [];
|
|
544
|
-
|
|
544
|
+
J(s) && typeof W == "function" && (s = W(s._payload)), T.Children.forEach(s, (w) => {
|
|
545
545
|
var N;
|
|
546
|
-
if (
|
|
546
|
+
if (Te(w)) {
|
|
547
547
|
d = !0;
|
|
548
|
-
const
|
|
549
|
-
let
|
|
550
|
-
|
|
548
|
+
const L = w;
|
|
549
|
+
let E = "child" in L.props ? L.props.child : L.props.children;
|
|
550
|
+
J(E) && typeof W == "function" && (E = W(E._payload)), c = Ce(L, E), p.push((N = c == null ? void 0 : c.props) == null ? void 0 : N.children);
|
|
551
551
|
} else
|
|
552
552
|
p.push(w);
|
|
553
|
-
}), c ? c =
|
|
553
|
+
}), c ? c = T.cloneElement(c, 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
|
-
!d &&
|
|
558
|
+
!d && T.Children.count(s) === 1 && T.isValidElement(s) && (c = s)
|
|
559
559
|
);
|
|
560
|
-
const
|
|
560
|
+
const h = c ? Ee(c) : void 0, g = we(a, h);
|
|
561
561
|
if (!c) {
|
|
562
562
|
if (s || s === 0)
|
|
563
563
|
throw new Error(
|
|
564
|
-
d ?
|
|
564
|
+
d ? Fe(e) : Ve(e)
|
|
565
565
|
);
|
|
566
566
|
return s;
|
|
567
567
|
}
|
|
568
|
-
const
|
|
569
|
-
return c.type !==
|
|
568
|
+
const b = ke(o, (x = c.props) != null ? x : {});
|
|
569
|
+
return c.type !== T.Fragment && (b.ref = a ? g : h), T.cloneElement(c, b);
|
|
570
570
|
});
|
|
571
571
|
return t.displayName = `${e}.Slot`, t;
|
|
572
572
|
}
|
|
573
|
-
var
|
|
573
|
+
var Se = /* @__PURE__ */ Ne("Slot"), $e = /* @__PURE__ */ Symbol.for("radix.slottable"), Ce = (e, t) => {
|
|
574
574
|
if ("child" in e.props) {
|
|
575
575
|
const r = e.props.child;
|
|
576
|
-
return
|
|
576
|
+
return T.isValidElement(r) ? T.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
|
|
577
577
|
}
|
|
578
|
-
return
|
|
578
|
+
return T.isValidElement(t) ? t : null;
|
|
579
579
|
};
|
|
580
|
-
function
|
|
581
|
-
const r =
|
|
580
|
+
function ke(e, t) {
|
|
581
|
+
const r = u({}, t);
|
|
582
582
|
for (const a in t) {
|
|
583
583
|
const s = e[a], o = t[a];
|
|
584
584
|
/^on[A-Z]/.test(a) ? s && o ? r[a] = (...d) => {
|
|
585
585
|
const p = o(...d);
|
|
586
586
|
return s(...d), p;
|
|
587
|
-
} : s && (r[a] = s) : a === "style" ? r[a] =
|
|
587
|
+
} : s && (r[a] = s) : a === "style" ? r[a] = u(u({}, s), o) : a === "className" && (r[a] = [s, o].filter(Boolean).join(" "));
|
|
588
588
|
}
|
|
589
|
-
return
|
|
589
|
+
return u(u({}, e), r);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function Ee(e) {
|
|
592
592
|
var a, s;
|
|
593
593
|
let t = (a = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
594
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
|
-
function
|
|
597
|
-
return
|
|
596
|
+
function Te(e) {
|
|
597
|
+
return T.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === $e;
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
function
|
|
601
|
-
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof ===
|
|
599
|
+
var Le = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
600
|
+
function J(e) {
|
|
601
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Le && "_payload" in e && Ae(e._payload);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Ae(e) {
|
|
604
604
|
return typeof e == "object" && e !== null && "then" in e;
|
|
605
605
|
}
|
|
606
|
-
var
|
|
607
|
-
const
|
|
606
|
+
var Ve = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Fe = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, W = T[" use ".trim().toString()];
|
|
607
|
+
const Q = V(
|
|
608
608
|
// Base classes
|
|
609
609
|
n(
|
|
610
610
|
"inline-flex",
|
|
611
611
|
"items-center",
|
|
612
612
|
"font-medium",
|
|
613
|
-
|
|
613
|
+
C("full"),
|
|
614
614
|
i("xs", "gap")
|
|
615
615
|
),
|
|
616
616
|
{
|
|
@@ -639,17 +639,17 @@ const J = V(
|
|
|
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,7 +693,7 @@ const J = V(
|
|
|
693
693
|
disabled: !1
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
),
|
|
696
|
+
), Re = D(function(t, r) {
|
|
697
697
|
const {
|
|
698
698
|
children: a,
|
|
699
699
|
variant: s = "default",
|
|
@@ -701,57 +701,76 @@ const J = V(
|
|
|
701
701
|
selected: c = !1,
|
|
702
702
|
disabled: d = !1,
|
|
703
703
|
className: p = "",
|
|
704
|
-
"aria-label":
|
|
704
|
+
"aria-label": h,
|
|
705
705
|
tabIndex: g,
|
|
706
|
-
asChild:
|
|
707
|
-
} = t,
|
|
708
|
-
if (
|
|
706
|
+
asChild: b = !1
|
|
707
|
+
} = t, x = (() => {
|
|
708
|
+
if (h) return h;
|
|
709
709
|
if (typeof a == "string") return a;
|
|
710
710
|
if (typeof a == "object" && a !== null && "props" in a) {
|
|
711
|
-
const
|
|
712
|
-
if (
|
|
713
|
-
return
|
|
711
|
+
const A = a.props;
|
|
712
|
+
if (A != null && A.children && typeof A.children == "string")
|
|
713
|
+
return A.children;
|
|
714
714
|
}
|
|
715
715
|
})();
|
|
716
|
-
if (
|
|
716
|
+
if (b)
|
|
717
717
|
return /* @__PURE__ */ l(
|
|
718
|
-
|
|
718
|
+
Se,
|
|
719
719
|
{
|
|
720
720
|
ref: r,
|
|
721
721
|
className: n(
|
|
722
|
-
|
|
722
|
+
Q({ variant: s, size: o, selected: c, disabled: d }),
|
|
723
723
|
p
|
|
724
724
|
),
|
|
725
|
-
"aria-label":
|
|
725
|
+
"aria-label": h,
|
|
726
726
|
"aria-disabled": d || void 0,
|
|
727
727
|
tabIndex: g,
|
|
728
728
|
children: a
|
|
729
729
|
}
|
|
730
730
|
);
|
|
731
|
-
const { onRemove: w, onClick: N } = t,
|
|
732
|
-
d || (
|
|
733
|
-
}
|
|
731
|
+
const { onRemove: w, onClick: N, count: L } = t, E = N !== void 0, M = E && !d, re = (A) => {
|
|
732
|
+
d || (A.key === "Enter" || A.key === " ") && (A.preventDefault(), N == null || N());
|
|
733
|
+
}, K = L !== void 0, se = c || s === "filled", ne = K ? /* @__PURE__ */ l(
|
|
734
|
+
"span",
|
|
735
|
+
{
|
|
736
|
+
"aria-hidden": E || void 0,
|
|
737
|
+
className: n(
|
|
738
|
+
"inline-flex",
|
|
739
|
+
"items-center",
|
|
740
|
+
"justify-center",
|
|
741
|
+
"tabular-nums",
|
|
742
|
+
"leading-none",
|
|
743
|
+
C("full"),
|
|
744
|
+
i("xs", "px"),
|
|
745
|
+
i("0.5", "py"),
|
|
746
|
+
k("caption"),
|
|
747
|
+
z("label"),
|
|
748
|
+
se ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
|
|
749
|
+
),
|
|
750
|
+
children: L
|
|
751
|
+
}
|
|
752
|
+
) : null, ie = K && x !== void 0 ? `${x}, ${L}` : x;
|
|
734
753
|
return /* @__PURE__ */ v(
|
|
735
754
|
"div",
|
|
736
755
|
{
|
|
737
756
|
ref: r,
|
|
738
757
|
className: n(
|
|
739
|
-
|
|
758
|
+
Q({ variant: s, size: o, selected: c, disabled: d }),
|
|
740
759
|
w && i("xs", "pr"),
|
|
741
760
|
p
|
|
742
761
|
),
|
|
743
762
|
"aria-disabled": d,
|
|
744
763
|
children: [
|
|
745
|
-
|
|
764
|
+
E ? /* @__PURE__ */ l(
|
|
746
765
|
"button",
|
|
747
766
|
{
|
|
748
767
|
type: "button",
|
|
749
768
|
onClick: d ? void 0 : N,
|
|
750
|
-
onKeyDown:
|
|
769
|
+
onKeyDown: re,
|
|
751
770
|
disabled: d,
|
|
752
771
|
"aria-pressed": c ? !0 : void 0,
|
|
753
|
-
"aria-label":
|
|
754
|
-
tabIndex: g !== void 0 ? g :
|
|
772
|
+
"aria-label": h || ie,
|
|
773
|
+
tabIndex: g !== void 0 ? g : M ? 0 : void 0,
|
|
755
774
|
className: n(
|
|
756
775
|
"flex-1",
|
|
757
776
|
"bg-transparent",
|
|
@@ -764,22 +783,23 @@ const J = V(
|
|
|
764
783
|
"focus:ring-2",
|
|
765
784
|
"focus:ring-line-focus",
|
|
766
785
|
"focus:ring-offset-2",
|
|
767
|
-
|
|
786
|
+
C("full")
|
|
768
787
|
),
|
|
769
788
|
children: a
|
|
770
789
|
}
|
|
771
790
|
) : /* @__PURE__ */ l("span", { children: a }),
|
|
791
|
+
ne,
|
|
772
792
|
w && !d && /* @__PURE__ */ l(
|
|
773
793
|
"button",
|
|
774
794
|
{
|
|
775
795
|
type: "button",
|
|
776
|
-
onClick: (
|
|
777
|
-
|
|
796
|
+
onClick: (A) => {
|
|
797
|
+
A.stopPropagation(), w();
|
|
778
798
|
},
|
|
779
799
|
className: n(
|
|
780
800
|
i("xs", "ml"),
|
|
781
801
|
"hover:bg-tint-hover",
|
|
782
|
-
|
|
802
|
+
C("full"),
|
|
783
803
|
i("xs", "p"),
|
|
784
804
|
"transition-colors",
|
|
785
805
|
"focus:outline-none",
|
|
@@ -787,16 +807,16 @@ const J = V(
|
|
|
787
807
|
"focus:ring-line-focus",
|
|
788
808
|
"focus:ring-offset-1"
|
|
789
809
|
),
|
|
790
|
-
"aria-label": `Remove ${
|
|
791
|
-
children: /* @__PURE__ */ l(
|
|
810
|
+
"aria-label": `Remove ${x || "chip"}`,
|
|
811
|
+
children: /* @__PURE__ */ l(pe, { className: "h-3 w-3", "aria-hidden": "true" })
|
|
792
812
|
}
|
|
793
813
|
)
|
|
794
814
|
]
|
|
795
815
|
}
|
|
796
816
|
);
|
|
797
817
|
});
|
|
798
|
-
|
|
799
|
-
function
|
|
818
|
+
Re.displayName = "Chip";
|
|
819
|
+
function Na(s) {
|
|
800
820
|
var o = s, {
|
|
801
821
|
message: e,
|
|
802
822
|
id: t,
|
|
@@ -808,18 +828,18 @@ function ba(s) {
|
|
|
808
828
|
]);
|
|
809
829
|
const c = [
|
|
810
830
|
i("xs", "mt"),
|
|
811
|
-
|
|
831
|
+
k("bodySmall"),
|
|
812
832
|
"text-fg-error",
|
|
813
833
|
"flex",
|
|
814
834
|
"items-center",
|
|
815
835
|
i("xs", "gap")
|
|
816
836
|
], d = n(...c, r);
|
|
817
|
-
return /* @__PURE__ */ v("div", y(
|
|
818
|
-
/* @__PURE__ */ l(
|
|
837
|
+
return /* @__PURE__ */ v("div", y(u({ role: "alert", id: t, className: d, "aria-live": "polite" }, a), { children: [
|
|
838
|
+
/* @__PURE__ */ l(me, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
|
|
819
839
|
/* @__PURE__ */ l("span", { children: e })
|
|
820
840
|
] }));
|
|
821
841
|
}
|
|
822
|
-
function
|
|
842
|
+
function Sa(a) {
|
|
823
843
|
var s = a, {
|
|
824
844
|
variant: e = "info",
|
|
825
845
|
className: t
|
|
@@ -834,25 +854,25 @@ function ha(a) {
|
|
|
834
854
|
};
|
|
835
855
|
return /* @__PURE__ */ l(
|
|
836
856
|
"div",
|
|
837
|
-
|
|
857
|
+
u({
|
|
838
858
|
role: "alert",
|
|
839
859
|
className: n(
|
|
840
860
|
"border",
|
|
841
861
|
i("base", "px"),
|
|
842
862
|
i("sm", "py"),
|
|
843
|
-
|
|
863
|
+
C("lg"),
|
|
844
864
|
o[e],
|
|
845
865
|
t
|
|
846
866
|
)
|
|
847
867
|
}, r)
|
|
848
868
|
);
|
|
849
869
|
}
|
|
850
|
-
const
|
|
870
|
+
const je = n(
|
|
851
871
|
"block",
|
|
852
|
-
|
|
853
|
-
|
|
872
|
+
k("label"),
|
|
873
|
+
z("label"),
|
|
854
874
|
"text-fg-primary"
|
|
855
|
-
),
|
|
875
|
+
), De = {
|
|
856
876
|
default: "",
|
|
857
877
|
required: n(
|
|
858
878
|
"after:content-['*']",
|
|
@@ -865,19 +885,19 @@ const Le = n(
|
|
|
865
885
|
"after:text-fg-tertiary",
|
|
866
886
|
"after:font-normal"
|
|
867
887
|
)
|
|
868
|
-
},
|
|
869
|
-
|
|
888
|
+
}, _e = H(
|
|
889
|
+
D(function(c, o) {
|
|
870
890
|
var d = c, { variant: t = "default", className: r = "", children: a } = d, s = m(d, ["variant", "className", "children"]);
|
|
871
891
|
const p = n(
|
|
872
|
-
|
|
873
|
-
|
|
892
|
+
je,
|
|
893
|
+
De[t],
|
|
874
894
|
r
|
|
875
895
|
);
|
|
876
|
-
return /* @__PURE__ */ l("label", y(
|
|
896
|
+
return /* @__PURE__ */ l("label", y(u({ ref: o, className: p }, s), { children: a }));
|
|
877
897
|
})
|
|
878
898
|
);
|
|
879
|
-
|
|
880
|
-
class
|
|
899
|
+
_e.displayName = "Label";
|
|
900
|
+
class j {
|
|
881
901
|
/**
|
|
882
902
|
* Create a shadow token
|
|
883
903
|
*/
|
|
@@ -921,19 +941,19 @@ class D {
|
|
|
921
941
|
}[t];
|
|
922
942
|
}
|
|
923
943
|
}
|
|
924
|
-
const
|
|
925
|
-
none:
|
|
926
|
-
sm:
|
|
927
|
-
md:
|
|
928
|
-
lg:
|
|
929
|
-
xl:
|
|
930
|
-
"2xl":
|
|
931
|
-
inner:
|
|
944
|
+
const ze = {
|
|
945
|
+
none: j.create("none"),
|
|
946
|
+
sm: j.create("sm"),
|
|
947
|
+
md: j.create("md"),
|
|
948
|
+
lg: j.create("lg"),
|
|
949
|
+
xl: j.create("xl"),
|
|
950
|
+
"2xl": j.create("2xl"),
|
|
951
|
+
inner: j.create("inner")
|
|
932
952
|
};
|
|
933
|
-
function
|
|
934
|
-
return
|
|
953
|
+
function B(e) {
|
|
954
|
+
return ze[e].tailwind;
|
|
935
955
|
}
|
|
936
|
-
const
|
|
956
|
+
const Me = V("w-full", {
|
|
937
957
|
variants: {
|
|
938
958
|
size: {
|
|
939
959
|
sm: "h-1",
|
|
@@ -953,7 +973,7 @@ const Re = V("w-full", {
|
|
|
953
973
|
size: "md",
|
|
954
974
|
variant: "primary"
|
|
955
975
|
}
|
|
956
|
-
}),
|
|
976
|
+
}), ee = V("transition-all", {
|
|
957
977
|
variants: {
|
|
958
978
|
variant: {
|
|
959
979
|
primary: "bg-surface-brand",
|
|
@@ -967,8 +987,8 @@ const Re = V("w-full", {
|
|
|
967
987
|
defaultVariants: {
|
|
968
988
|
variant: "primary"
|
|
969
989
|
}
|
|
970
|
-
}),
|
|
971
|
-
var
|
|
990
|
+
}), He = D(function(b, g) {
|
|
991
|
+
var f = b, {
|
|
972
992
|
value: t,
|
|
973
993
|
max: r = 100,
|
|
974
994
|
variant: a = "primary",
|
|
@@ -977,7 +997,7 @@ const Re = V("w-full", {
|
|
|
977
997
|
label: c,
|
|
978
998
|
"aria-label": d,
|
|
979
999
|
className: p = ""
|
|
980
|
-
} =
|
|
1000
|
+
} = f, h = m(f, [
|
|
981
1001
|
"value",
|
|
982
1002
|
"max",
|
|
983
1003
|
"variant",
|
|
@@ -987,9 +1007,9 @@ const Re = V("w-full", {
|
|
|
987
1007
|
"aria-label",
|
|
988
1008
|
"className"
|
|
989
1009
|
]);
|
|
990
|
-
const
|
|
991
|
-
return /* @__PURE__ */ v("div", y(
|
|
992
|
-
o && (c || !
|
|
1010
|
+
const x = t === void 0, w = x ? void 0 : Math.min(Math.max(t / r * 100, 0), 100), N = d || (x ? "Loading in progress" : `Progress: ${w == null ? void 0 : w.toFixed(0)}%`);
|
|
1011
|
+
return /* @__PURE__ */ v("div", y(u({ ref: g, className: n("w-full", p) }, h), { children: [
|
|
1012
|
+
o && (c || !x) && /* @__PURE__ */ v(
|
|
993
1013
|
"div",
|
|
994
1014
|
{
|
|
995
1015
|
className: n(
|
|
@@ -1003,18 +1023,18 @@ const Re = V("w-full", {
|
|
|
1003
1023
|
"span",
|
|
1004
1024
|
{
|
|
1005
1025
|
className: n(
|
|
1006
|
-
|
|
1007
|
-
|
|
1026
|
+
k("bodySmall"),
|
|
1027
|
+
z("label"),
|
|
1008
1028
|
"text-fg-primary"
|
|
1009
1029
|
),
|
|
1010
1030
|
children: c
|
|
1011
1031
|
}
|
|
1012
1032
|
),
|
|
1013
|
-
!
|
|
1033
|
+
!x && w !== void 0 && /* @__PURE__ */ v(
|
|
1014
1034
|
"span",
|
|
1015
1035
|
{
|
|
1016
1036
|
className: n(
|
|
1017
|
-
|
|
1037
|
+
k("bodySmall"),
|
|
1018
1038
|
"text-fg-secondary"
|
|
1019
1039
|
),
|
|
1020
1040
|
children: [
|
|
@@ -1030,19 +1050,19 @@ const Re = V("w-full", {
|
|
|
1030
1050
|
"div",
|
|
1031
1051
|
{
|
|
1032
1052
|
role: "progressbar",
|
|
1033
|
-
"aria-valuemin":
|
|
1034
|
-
"aria-valuemax":
|
|
1035
|
-
"aria-valuenow":
|
|
1053
|
+
"aria-valuemin": x ? void 0 : 0,
|
|
1054
|
+
"aria-valuemax": x ? void 0 : r,
|
|
1055
|
+
"aria-valuenow": x ? void 0 : t,
|
|
1036
1056
|
"aria-label": N,
|
|
1037
|
-
"aria-busy":
|
|
1057
|
+
"aria-busy": x,
|
|
1038
1058
|
className: n(
|
|
1039
1059
|
"relative",
|
|
1040
1060
|
"w-full",
|
|
1041
1061
|
"overflow-hidden",
|
|
1042
|
-
|
|
1043
|
-
|
|
1062
|
+
Me({ size: s, variant: a }),
|
|
1063
|
+
C("full")
|
|
1044
1064
|
),
|
|
1045
|
-
children:
|
|
1065
|
+
children: x ? /* @__PURE__ */ l(
|
|
1046
1066
|
"div",
|
|
1047
1067
|
{
|
|
1048
1068
|
className: n(
|
|
@@ -1050,8 +1070,8 @@ const Re = V("w-full", {
|
|
|
1050
1070
|
"top-0",
|
|
1051
1071
|
"left-0",
|
|
1052
1072
|
"bottom-0",
|
|
1053
|
-
|
|
1054
|
-
|
|
1073
|
+
ee({ variant: a }),
|
|
1074
|
+
C("full"),
|
|
1055
1075
|
"motion-reduce:animate-none"
|
|
1056
1076
|
),
|
|
1057
1077
|
style: {
|
|
@@ -1064,8 +1084,8 @@ const Re = V("w-full", {
|
|
|
1064
1084
|
{
|
|
1065
1085
|
className: n(
|
|
1066
1086
|
"h-full",
|
|
1067
|
-
|
|
1068
|
-
|
|
1087
|
+
ee({ variant: a }),
|
|
1088
|
+
C("full"),
|
|
1069
1089
|
"transition-all",
|
|
1070
1090
|
"duration-300",
|
|
1071
1091
|
"ease-out"
|
|
@@ -1080,15 +1100,15 @@ const Re = V("w-full", {
|
|
|
1080
1100
|
)
|
|
1081
1101
|
] }));
|
|
1082
1102
|
});
|
|
1083
|
-
|
|
1084
|
-
const
|
|
1103
|
+
He.displayName = "Progress";
|
|
1104
|
+
const Ie = {
|
|
1085
1105
|
horizontal: "w-full border-t",
|
|
1086
1106
|
vertical: "h-full border-l self-stretch"
|
|
1087
|
-
},
|
|
1107
|
+
}, Pe = {
|
|
1088
1108
|
solid: "border-solid",
|
|
1089
1109
|
dashed: "border-dashed",
|
|
1090
1110
|
dotted: "border-dotted"
|
|
1091
|
-
},
|
|
1111
|
+
}, We = H(function(o) {
|
|
1092
1112
|
var c = o, {
|
|
1093
1113
|
orientation: t = "horizontal",
|
|
1094
1114
|
variant: r = "solid",
|
|
@@ -1101,28 +1121,28 @@ const je = {
|
|
|
1101
1121
|
const d = n(
|
|
1102
1122
|
"border-0",
|
|
1103
1123
|
"border-line-default",
|
|
1104
|
-
|
|
1105
|
-
|
|
1124
|
+
Ie[t],
|
|
1125
|
+
Pe[r],
|
|
1106
1126
|
a
|
|
1107
1127
|
);
|
|
1108
1128
|
return t === "vertical" ? /* @__PURE__ */ l(
|
|
1109
1129
|
"div",
|
|
1110
|
-
|
|
1130
|
+
u({
|
|
1111
1131
|
className: d,
|
|
1112
1132
|
role: "separator",
|
|
1113
1133
|
"aria-orientation": "vertical"
|
|
1114
1134
|
}, s)
|
|
1115
1135
|
) : /* @__PURE__ */ l(
|
|
1116
1136
|
"hr",
|
|
1117
|
-
|
|
1137
|
+
u({
|
|
1118
1138
|
className: d,
|
|
1119
1139
|
role: "separator",
|
|
1120
1140
|
"aria-orientation": "horizontal"
|
|
1121
1141
|
}, s)
|
|
1122
1142
|
);
|
|
1123
1143
|
});
|
|
1124
|
-
|
|
1125
|
-
function
|
|
1144
|
+
We.displayName = "Separator";
|
|
1145
|
+
function $a(d) {
|
|
1126
1146
|
var p = d, {
|
|
1127
1147
|
variant: e = "text",
|
|
1128
1148
|
width: t,
|
|
@@ -1138,31 +1158,31 @@ function ya(d) {
|
|
|
1138
1158
|
"className",
|
|
1139
1159
|
"aria-label"
|
|
1140
1160
|
]);
|
|
1141
|
-
const
|
|
1161
|
+
const h = [
|
|
1142
1162
|
"motion-safe:animate-pulse",
|
|
1143
1163
|
"bg-surface-muted",
|
|
1144
|
-
|
|
1164
|
+
C("sm")
|
|
1145
1165
|
], g = {
|
|
1146
1166
|
text: "h-4",
|
|
1147
1167
|
card: "h-32",
|
|
1148
1168
|
list: "h-12",
|
|
1149
|
-
circle:
|
|
1150
|
-
},
|
|
1151
|
-
t && (
|
|
1152
|
-
const
|
|
1169
|
+
circle: C("full")
|
|
1170
|
+
}, b = n(...h, g[e], s), f = {};
|
|
1171
|
+
t && (f.width = t), r && (f.height = r);
|
|
1172
|
+
const x = o || `Loading ${e} content`;
|
|
1153
1173
|
return e === "text" && a > 1 ? /* @__PURE__ */ l(
|
|
1154
1174
|
"div",
|
|
1155
|
-
y(
|
|
1175
|
+
y(u({
|
|
1156
1176
|
className: i("sm", "space-y"),
|
|
1157
1177
|
role: "status",
|
|
1158
1178
|
"aria-busy": "true",
|
|
1159
|
-
"aria-label":
|
|
1179
|
+
"aria-label": x
|
|
1160
1180
|
}, c), {
|
|
1161
1181
|
children: Array.from({ length: a }).map((w, N) => /* @__PURE__ */ l(
|
|
1162
1182
|
"div",
|
|
1163
1183
|
{
|
|
1164
|
-
className:
|
|
1165
|
-
style: N === a - 1 ? { width: "75%" } :
|
|
1184
|
+
className: b,
|
|
1185
|
+
style: N === a - 1 ? { width: "75%" } : f,
|
|
1166
1186
|
"aria-hidden": "true"
|
|
1167
1187
|
},
|
|
1168
1188
|
N
|
|
@@ -1170,16 +1190,16 @@ function ya(d) {
|
|
|
1170
1190
|
})
|
|
1171
1191
|
) : /* @__PURE__ */ l(
|
|
1172
1192
|
"div",
|
|
1173
|
-
|
|
1174
|
-
className:
|
|
1175
|
-
style:
|
|
1193
|
+
u({
|
|
1194
|
+
className: b,
|
|
1195
|
+
style: f,
|
|
1176
1196
|
role: "status",
|
|
1177
1197
|
"aria-busy": "true",
|
|
1178
|
-
"aria-label":
|
|
1198
|
+
"aria-label": x
|
|
1179
1199
|
}, c)
|
|
1180
1200
|
);
|
|
1181
1201
|
}
|
|
1182
|
-
const
|
|
1202
|
+
const Oe = V("motion-safe:animate-spin", {
|
|
1183
1203
|
variants: {
|
|
1184
1204
|
size: {
|
|
1185
1205
|
sm: "h-4 w-4",
|
|
@@ -1196,7 +1216,7 @@ const Me = V("motion-safe:animate-spin", {
|
|
|
1196
1216
|
size: "md",
|
|
1197
1217
|
variant: "primary"
|
|
1198
1218
|
}
|
|
1199
|
-
}),
|
|
1219
|
+
}), Be = H(function(c) {
|
|
1200
1220
|
var d = c, {
|
|
1201
1221
|
size: t = "md",
|
|
1202
1222
|
variant: r = "primary",
|
|
@@ -1210,7 +1230,7 @@ const Me = V("motion-safe:animate-spin", {
|
|
|
1210
1230
|
]);
|
|
1211
1231
|
return /* @__PURE__ */ v(
|
|
1212
1232
|
"div",
|
|
1213
|
-
y(
|
|
1233
|
+
y(u({
|
|
1214
1234
|
className: n("inline-flex", "items-center", s),
|
|
1215
1235
|
role: "status",
|
|
1216
1236
|
"aria-label": a || "Loading",
|
|
@@ -1218,9 +1238,9 @@ const Me = V("motion-safe:animate-spin", {
|
|
|
1218
1238
|
}, o), {
|
|
1219
1239
|
children: [
|
|
1220
1240
|
/* @__PURE__ */ l(
|
|
1221
|
-
|
|
1241
|
+
ge,
|
|
1222
1242
|
{
|
|
1223
|
-
className: n(
|
|
1243
|
+
className: n(Oe({ size: t, variant: r })),
|
|
1224
1244
|
"aria-hidden": "true"
|
|
1225
1245
|
}
|
|
1226
1246
|
),
|
|
@@ -1229,7 +1249,7 @@ const Me = V("motion-safe:animate-spin", {
|
|
|
1229
1249
|
{
|
|
1230
1250
|
className: n(
|
|
1231
1251
|
i("sm", "ml"),
|
|
1232
|
-
|
|
1252
|
+
k("bodySmall"),
|
|
1233
1253
|
"text-fg-secondary",
|
|
1234
1254
|
"sr-only"
|
|
1235
1255
|
),
|
|
@@ -1240,8 +1260,8 @@ const Me = V("motion-safe:animate-spin", {
|
|
|
1240
1260
|
})
|
|
1241
1261
|
);
|
|
1242
1262
|
});
|
|
1243
|
-
|
|
1244
|
-
const
|
|
1263
|
+
Be.displayName = "Spinner";
|
|
1264
|
+
const Ue = {
|
|
1245
1265
|
primary: {
|
|
1246
1266
|
// exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
|
|
1247
1267
|
light: "text-indigo-400",
|
|
@@ -1293,8 +1313,8 @@ const Ie = {
|
|
|
1293
1313
|
contrast: "text-fg-inverse"
|
|
1294
1314
|
}
|
|
1295
1315
|
};
|
|
1296
|
-
function
|
|
1297
|
-
var g =
|
|
1316
|
+
function Ke(h, p) {
|
|
1317
|
+
var g = h, {
|
|
1298
1318
|
variant: e = "paragraph",
|
|
1299
1319
|
bold: t,
|
|
1300
1320
|
italic: r,
|
|
@@ -1311,41 +1331,41 @@ function Pe(b, p) {
|
|
|
1311
1331
|
"colorRole",
|
|
1312
1332
|
"colorShade"
|
|
1313
1333
|
]);
|
|
1314
|
-
const
|
|
1315
|
-
let
|
|
1334
|
+
const b = [];
|
|
1335
|
+
let f;
|
|
1316
1336
|
if (s)
|
|
1317
|
-
|
|
1337
|
+
f = s;
|
|
1318
1338
|
else
|
|
1319
1339
|
switch (e) {
|
|
1320
1340
|
case "heading":
|
|
1321
|
-
|
|
1341
|
+
f = "h2";
|
|
1322
1342
|
break;
|
|
1323
1343
|
case "list":
|
|
1324
|
-
|
|
1344
|
+
f = "li";
|
|
1325
1345
|
break;
|
|
1326
1346
|
default:
|
|
1327
|
-
|
|
1347
|
+
f = "p";
|
|
1328
1348
|
break;
|
|
1329
1349
|
}
|
|
1330
|
-
return e === "heading" ?
|
|
1350
|
+
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(Ue[o][c]), /* @__PURE__ */ l(f, u({ ref: p, className: n(...b, a) }, d));
|
|
1331
1351
|
}
|
|
1332
|
-
const _ =
|
|
1352
|
+
const _ = D(Ke), Xe = {
|
|
1333
1353
|
sm: "max-w-screen-sm",
|
|
1334
1354
|
md: "max-w-screen-md",
|
|
1335
1355
|
lg: "max-w-screen-lg",
|
|
1336
1356
|
xl: "max-w-screen-xl",
|
|
1337
1357
|
"2xl": "max-w-screen-2xl",
|
|
1338
1358
|
full: "max-w-full"
|
|
1339
|
-
},
|
|
1359
|
+
}, qe = ae.forwardRef(
|
|
1340
1360
|
(p, d) => {
|
|
1341
|
-
var
|
|
1361
|
+
var h = p, {
|
|
1342
1362
|
className: e,
|
|
1343
1363
|
maxWidth: t = "lg",
|
|
1344
1364
|
paddingX: r = "base",
|
|
1345
1365
|
paddingY: a = "base",
|
|
1346
1366
|
center: s = !0,
|
|
1347
1367
|
children: o
|
|
1348
|
-
} =
|
|
1368
|
+
} = h, c = m(h, [
|
|
1349
1369
|
"className",
|
|
1350
1370
|
"maxWidth",
|
|
1351
1371
|
"paddingX",
|
|
@@ -1355,11 +1375,11 @@ const _ = j(Pe), Oe = {
|
|
|
1355
1375
|
]);
|
|
1356
1376
|
return /* @__PURE__ */ l(
|
|
1357
1377
|
"div",
|
|
1358
|
-
y(
|
|
1378
|
+
y(u({
|
|
1359
1379
|
ref: d,
|
|
1360
1380
|
className: n(
|
|
1361
1381
|
"w-full",
|
|
1362
|
-
|
|
1382
|
+
Xe[t],
|
|
1363
1383
|
i(r, "px"),
|
|
1364
1384
|
i(a, "py"),
|
|
1365
1385
|
s && "mx-auto",
|
|
@@ -1371,17 +1391,17 @@ const _ = j(Pe), Oe = {
|
|
|
1371
1391
|
);
|
|
1372
1392
|
}
|
|
1373
1393
|
);
|
|
1374
|
-
|
|
1375
|
-
const
|
|
1394
|
+
qe.displayName = "Container";
|
|
1395
|
+
const Ge = ae.forwardRef(
|
|
1376
1396
|
(p, d) => {
|
|
1377
|
-
var
|
|
1397
|
+
var h = p, {
|
|
1378
1398
|
className: e,
|
|
1379
1399
|
spacing: t = "base",
|
|
1380
1400
|
align: r = "stretch",
|
|
1381
1401
|
justify: a = "start",
|
|
1382
1402
|
direction: s = "column",
|
|
1383
1403
|
children: o
|
|
1384
|
-
} =
|
|
1404
|
+
} = h, c = m(h, [
|
|
1385
1405
|
"className",
|
|
1386
1406
|
"spacing",
|
|
1387
1407
|
"align",
|
|
@@ -1389,12 +1409,12 @@ const Ue = ee.forwardRef(
|
|
|
1389
1409
|
"direction",
|
|
1390
1410
|
"children"
|
|
1391
1411
|
]);
|
|
1392
|
-
const g = s === "column" ? i(t, "gap-y") : i(t, "gap-x"),
|
|
1412
|
+
const g = s === "column" ? i(t, "gap-y") : i(t, "gap-x"), b = {
|
|
1393
1413
|
start: "items-start",
|
|
1394
1414
|
center: "items-center",
|
|
1395
1415
|
end: "items-end",
|
|
1396
1416
|
stretch: "items-stretch"
|
|
1397
|
-
},
|
|
1417
|
+
}, f = {
|
|
1398
1418
|
start: "justify-start",
|
|
1399
1419
|
center: "justify-center",
|
|
1400
1420
|
end: "justify-end",
|
|
@@ -1404,14 +1424,14 @@ const Ue = ee.forwardRef(
|
|
|
1404
1424
|
};
|
|
1405
1425
|
return /* @__PURE__ */ l(
|
|
1406
1426
|
"div",
|
|
1407
|
-
y(
|
|
1427
|
+
y(u({
|
|
1408
1428
|
ref: d,
|
|
1409
1429
|
className: n(
|
|
1410
1430
|
"flex",
|
|
1411
1431
|
s === "column" ? "flex-col" : "flex-row",
|
|
1412
1432
|
g,
|
|
1413
|
-
|
|
1414
|
-
|
|
1433
|
+
b[r],
|
|
1434
|
+
f[a],
|
|
1415
1435
|
e
|
|
1416
1436
|
)
|
|
1417
1437
|
}, c), {
|
|
@@ -1420,8 +1440,8 @@ const Ue = ee.forwardRef(
|
|
|
1420
1440
|
);
|
|
1421
1441
|
}
|
|
1422
1442
|
);
|
|
1423
|
-
|
|
1424
|
-
function
|
|
1443
|
+
Ge.displayName = "Stack";
|
|
1444
|
+
function Ye(s) {
|
|
1425
1445
|
var o = s, {
|
|
1426
1446
|
items: e,
|
|
1427
1447
|
separator: t = "/",
|
|
@@ -1435,16 +1455,16 @@ function Be(s) {
|
|
|
1435
1455
|
"flex",
|
|
1436
1456
|
"items-center",
|
|
1437
1457
|
i("sm", "space-x"),
|
|
1438
|
-
|
|
1458
|
+
k("bodySmall")
|
|
1439
1459
|
], d = n(...c, r);
|
|
1440
|
-
return /* @__PURE__ */ l("nav", y(
|
|
1460
|
+
return /* @__PURE__ */ l("nav", y(u({ "aria-label": "Breadcrumb", className: d }, a), { children: /* @__PURE__ */ l(
|
|
1441
1461
|
"ol",
|
|
1442
1462
|
{
|
|
1443
1463
|
className: n("flex", "items-center", i("sm", "space-x")),
|
|
1444
|
-
children: e.map((p,
|
|
1445
|
-
const g =
|
|
1464
|
+
children: e.map((p, h) => {
|
|
1465
|
+
const g = h === e.length - 1;
|
|
1446
1466
|
return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
|
|
1447
|
-
|
|
1467
|
+
h > 0 && /* @__PURE__ */ l(
|
|
1448
1468
|
"span",
|
|
1449
1469
|
{
|
|
1450
1470
|
className: n(
|
|
@@ -1460,7 +1480,7 @@ function Be(s) {
|
|
|
1460
1480
|
{
|
|
1461
1481
|
className: n(
|
|
1462
1482
|
"text-fg-primary",
|
|
1463
|
-
|
|
1483
|
+
z("label")
|
|
1464
1484
|
),
|
|
1465
1485
|
"aria-current": "page",
|
|
1466
1486
|
children: p.label
|
|
@@ -1476,8 +1496,8 @@ function Be(s) {
|
|
|
1476
1496
|
i("xs", "pt"),
|
|
1477
1497
|
"border-b-2",
|
|
1478
1498
|
"border-transparent",
|
|
1479
|
-
|
|
1480
|
-
|
|
1499
|
+
k("bodySmall"),
|
|
1500
|
+
z("label"),
|
|
1481
1501
|
"transition-colors",
|
|
1482
1502
|
"text-fg-secondary",
|
|
1483
1503
|
"hover:border-line-emphasis",
|
|
@@ -1486,16 +1506,16 @@ function Be(s) {
|
|
|
1486
1506
|
children: p.label
|
|
1487
1507
|
}
|
|
1488
1508
|
) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: p.label })
|
|
1489
|
-
] },
|
|
1509
|
+
] }, h);
|
|
1490
1510
|
})
|
|
1491
1511
|
}
|
|
1492
1512
|
) }));
|
|
1493
1513
|
}
|
|
1494
|
-
function
|
|
1514
|
+
function Ze(a) {
|
|
1495
1515
|
var s = a, { children: e, className: t } = s, r = m(s, ["children", "className"]);
|
|
1496
1516
|
return /* @__PURE__ */ l(
|
|
1497
1517
|
"div",
|
|
1498
|
-
y(
|
|
1518
|
+
y(u({
|
|
1499
1519
|
className: n(
|
|
1500
1520
|
"grid items-start",
|
|
1501
1521
|
i("1.5", "gap"),
|
|
@@ -1509,7 +1529,7 @@ function Ke(a) {
|
|
|
1509
1529
|
})
|
|
1510
1530
|
);
|
|
1511
1531
|
}
|
|
1512
|
-
function
|
|
1532
|
+
function Je(c) {
|
|
1513
1533
|
var d = c, {
|
|
1514
1534
|
children: e,
|
|
1515
1535
|
icon: t,
|
|
@@ -1525,7 +1545,7 @@ function Xe(c) {
|
|
|
1525
1545
|
]);
|
|
1526
1546
|
return /* @__PURE__ */ v(
|
|
1527
1547
|
a,
|
|
1528
|
-
y(
|
|
1548
|
+
y(u({
|
|
1529
1549
|
className: n(
|
|
1530
1550
|
"text-base font-semibold text-fg-primary",
|
|
1531
1551
|
"flex items-center",
|
|
@@ -1541,7 +1561,7 @@ function Xe(c) {
|
|
|
1541
1561
|
})
|
|
1542
1562
|
);
|
|
1543
1563
|
}
|
|
1544
|
-
function
|
|
1564
|
+
function Qe(a) {
|
|
1545
1565
|
var s = a, {
|
|
1546
1566
|
children: e,
|
|
1547
1567
|
className: t
|
|
@@ -1549,9 +1569,9 @@ function qe(a) {
|
|
|
1549
1569
|
"children",
|
|
1550
1570
|
"className"
|
|
1551
1571
|
]);
|
|
1552
|
-
return /* @__PURE__ */ l("p", y(
|
|
1572
|
+
return /* @__PURE__ */ l("p", y(u({ className: n("text-sm text-fg-secondary", t) }, r), { children: e }));
|
|
1553
1573
|
}
|
|
1554
|
-
function
|
|
1574
|
+
function ea(a) {
|
|
1555
1575
|
var s = a, {
|
|
1556
1576
|
children: e,
|
|
1557
1577
|
className: t
|
|
@@ -1561,7 +1581,7 @@ function Ge(a) {
|
|
|
1561
1581
|
]);
|
|
1562
1582
|
return /* @__PURE__ */ l(
|
|
1563
1583
|
"div",
|
|
1564
|
-
y(
|
|
1584
|
+
y(u({
|
|
1565
1585
|
"data-card-actions": "",
|
|
1566
1586
|
className: n(
|
|
1567
1587
|
"flex items-center self-start",
|
|
@@ -1573,12 +1593,12 @@ function Ge(a) {
|
|
|
1573
1593
|
})
|
|
1574
1594
|
);
|
|
1575
1595
|
}
|
|
1576
|
-
function
|
|
1596
|
+
function aa(a) {
|
|
1577
1597
|
var s = a, { children: e, className: t } = s, r = m(s, ["children", "className"]);
|
|
1578
|
-
return /* @__PURE__ */ l("div", y(
|
|
1598
|
+
return /* @__PURE__ */ l("div", y(u({ className: n(t) }, r), { children: e }));
|
|
1579
1599
|
}
|
|
1580
|
-
function
|
|
1581
|
-
var g =
|
|
1600
|
+
function ta(h) {
|
|
1601
|
+
var g = h, {
|
|
1582
1602
|
variant: e = "default",
|
|
1583
1603
|
padding: t = "medium",
|
|
1584
1604
|
className: r = "",
|
|
@@ -1600,24 +1620,24 @@ function Ze(b) {
|
|
|
1600
1620
|
typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !s && !o && console.warn(
|
|
1601
1621
|
"[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
1622
|
);
|
|
1603
|
-
const
|
|
1623
|
+
const b = V(
|
|
1604
1624
|
n(
|
|
1605
1625
|
"bg-surface-base",
|
|
1606
|
-
|
|
1626
|
+
C("lg"),
|
|
1607
1627
|
"border",
|
|
1608
1628
|
"border-line-default",
|
|
1609
|
-
|
|
1629
|
+
B("sm")
|
|
1610
1630
|
),
|
|
1611
1631
|
{
|
|
1612
1632
|
variants: {
|
|
1613
1633
|
variant: {
|
|
1614
1634
|
default: "",
|
|
1615
1635
|
hover: n(
|
|
1616
|
-
`hover:${
|
|
1636
|
+
`hover:${B("md")}`,
|
|
1617
1637
|
"transition-shadow",
|
|
1618
1638
|
"cursor-pointer"
|
|
1619
1639
|
),
|
|
1620
|
-
selected: n("border-line-brand",
|
|
1640
|
+
selected: n("border-line-brand", B("md"))
|
|
1621
1641
|
},
|
|
1622
1642
|
padding: {
|
|
1623
1643
|
none: "",
|
|
@@ -1631,28 +1651,28 @@ function Ze(b) {
|
|
|
1631
1651
|
padding: "medium"
|
|
1632
1652
|
}
|
|
1633
1653
|
}
|
|
1634
|
-
),
|
|
1654
|
+
), f = a !== void 0, x = f ? "button" : void 0, w = f ? 0 : void 0, N = n(b({ variant: e, padding: t }), r), E = u({
|
|
1635
1655
|
className: N,
|
|
1636
|
-
role:
|
|
1656
|
+
role: x,
|
|
1637
1657
|
tabIndex: w,
|
|
1638
1658
|
onClick: a,
|
|
1639
|
-
onKeyDown:
|
|
1640
|
-
|
|
1659
|
+
onKeyDown: f ? (M) => {
|
|
1660
|
+
f && (M.key === "Enter" || M.key === " ") && (M.preventDefault(), a == null || a());
|
|
1641
1661
|
} : void 0,
|
|
1642
1662
|
"aria-label": s,
|
|
1643
1663
|
"aria-labelledby": o
|
|
1644
1664
|
}, p);
|
|
1645
|
-
return c ? /* @__PURE__ */ l("section", y(
|
|
1665
|
+
return c ? /* @__PURE__ */ l("section", y(u({}, E), { children: d })) : /* @__PURE__ */ l("div", y(u({}, E), { children: d }));
|
|
1646
1666
|
}
|
|
1647
|
-
const
|
|
1648
|
-
|
|
1649
|
-
const I =
|
|
1650
|
-
I.Header =
|
|
1651
|
-
I.Title =
|
|
1652
|
-
I.Subtitle =
|
|
1653
|
-
I.Actions =
|
|
1654
|
-
I.Body =
|
|
1655
|
-
function
|
|
1667
|
+
const te = H(ta);
|
|
1668
|
+
te.displayName = "Card";
|
|
1669
|
+
const I = te;
|
|
1670
|
+
I.Header = Ze;
|
|
1671
|
+
I.Title = Je;
|
|
1672
|
+
I.Subtitle = Qe;
|
|
1673
|
+
I.Actions = ea;
|
|
1674
|
+
I.Body = aa;
|
|
1675
|
+
function Ca(a) {
|
|
1656
1676
|
var s = a, {
|
|
1657
1677
|
children: e,
|
|
1658
1678
|
className: t = ""
|
|
@@ -1662,14 +1682,14 @@ function va(a) {
|
|
|
1662
1682
|
]);
|
|
1663
1683
|
return /* @__PURE__ */ l(
|
|
1664
1684
|
"div",
|
|
1665
|
-
y(
|
|
1685
|
+
y(u({
|
|
1666
1686
|
className: `flex flex-col ${i("1.5", "space-y")} ${i("lg", "p")} ${i("base", "pb")} ${t}`
|
|
1667
1687
|
}, r), {
|
|
1668
1688
|
children: e
|
|
1669
1689
|
})
|
|
1670
1690
|
);
|
|
1671
1691
|
}
|
|
1672
|
-
function
|
|
1692
|
+
function ka(a) {
|
|
1673
1693
|
var s = a, {
|
|
1674
1694
|
children: e,
|
|
1675
1695
|
className: t = ""
|
|
@@ -1679,14 +1699,14 @@ function wa(a) {
|
|
|
1679
1699
|
]);
|
|
1680
1700
|
return /* @__PURE__ */ l(
|
|
1681
1701
|
"div",
|
|
1682
|
-
y(
|
|
1702
|
+
y(u({
|
|
1683
1703
|
className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${i("sm", "space-x")} ${i("lg", "p")} ${i("base", "pt")} ${t}`
|
|
1684
1704
|
}, r), {
|
|
1685
1705
|
children: e
|
|
1686
1706
|
})
|
|
1687
1707
|
);
|
|
1688
1708
|
}
|
|
1689
|
-
function
|
|
1709
|
+
function Ea(a) {
|
|
1690
1710
|
var s = a, {
|
|
1691
1711
|
children: e,
|
|
1692
1712
|
className: t = ""
|
|
@@ -1696,7 +1716,7 @@ function Na(a) {
|
|
|
1696
1716
|
]);
|
|
1697
1717
|
return /* @__PURE__ */ l(
|
|
1698
1718
|
"div",
|
|
1699
|
-
y(
|
|
1719
|
+
y(u({
|
|
1700
1720
|
className: `
|
|
1701
1721
|
${i("lg", "p")}
|
|
1702
1722
|
border-b
|
|
@@ -1708,7 +1728,7 @@ function Na(a) {
|
|
|
1708
1728
|
})
|
|
1709
1729
|
);
|
|
1710
1730
|
}
|
|
1711
|
-
function
|
|
1731
|
+
function Ta(a) {
|
|
1712
1732
|
var s = a, {
|
|
1713
1733
|
children: e,
|
|
1714
1734
|
className: t = ""
|
|
@@ -1718,7 +1738,7 @@ function Sa(a) {
|
|
|
1718
1738
|
]);
|
|
1719
1739
|
return /* @__PURE__ */ l(
|
|
1720
1740
|
"div",
|
|
1721
|
-
y(
|
|
1741
|
+
y(u({
|
|
1722
1742
|
className: `
|
|
1723
1743
|
${i("lg", "p")}
|
|
1724
1744
|
border-t
|
|
@@ -1733,7 +1753,7 @@ function Sa(a) {
|
|
|
1733
1753
|
})
|
|
1734
1754
|
);
|
|
1735
1755
|
}
|
|
1736
|
-
function
|
|
1756
|
+
function La(o) {
|
|
1737
1757
|
var c = o, {
|
|
1738
1758
|
label: e,
|
|
1739
1759
|
children: t,
|
|
@@ -1748,7 +1768,7 @@ function $a(o) {
|
|
|
1748
1768
|
const p = !(s["aria-label"] != null || s["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
|
|
1749
1769
|
return /* @__PURE__ */ v(
|
|
1750
1770
|
"div",
|
|
1751
|
-
y(
|
|
1771
|
+
y(u({
|
|
1752
1772
|
role: "group",
|
|
1753
1773
|
"aria-label": p,
|
|
1754
1774
|
className: n(
|
|
@@ -1770,7 +1790,7 @@ function $a(o) {
|
|
|
1770
1790
|
})
|
|
1771
1791
|
);
|
|
1772
1792
|
}
|
|
1773
|
-
function
|
|
1793
|
+
function Aa({ children: e, className: t }) {
|
|
1774
1794
|
return /* @__PURE__ */ l(
|
|
1775
1795
|
"div",
|
|
1776
1796
|
{
|
|
@@ -1783,7 +1803,7 @@ function ka({ children: e, className: t }) {
|
|
|
1783
1803
|
}
|
|
1784
1804
|
);
|
|
1785
1805
|
}
|
|
1786
|
-
function
|
|
1806
|
+
function Va({
|
|
1787
1807
|
children: e,
|
|
1788
1808
|
className: t
|
|
1789
1809
|
}) {
|
|
@@ -1802,7 +1822,7 @@ function Ca({
|
|
|
1802
1822
|
}
|
|
1803
1823
|
);
|
|
1804
1824
|
}
|
|
1805
|
-
const
|
|
1825
|
+
const ra = V(
|
|
1806
1826
|
n(
|
|
1807
1827
|
"w-full flex flex-col",
|
|
1808
1828
|
i("2xl", "py"),
|
|
@@ -1829,14 +1849,14 @@ const Je = V(
|
|
|
1829
1849
|
align: "start"
|
|
1830
1850
|
}
|
|
1831
1851
|
}
|
|
1832
|
-
),
|
|
1852
|
+
), sa = {
|
|
1833
1853
|
start: "items-start",
|
|
1834
1854
|
center: "items-center"
|
|
1835
|
-
},
|
|
1855
|
+
}, na = {
|
|
1836
1856
|
start: "justify-start",
|
|
1837
1857
|
center: "justify-center"
|
|
1838
|
-
},
|
|
1839
|
-
function(w,
|
|
1858
|
+
}, ia = D(
|
|
1859
|
+
function(w, x) {
|
|
1840
1860
|
var N = w, {
|
|
1841
1861
|
kicker: t,
|
|
1842
1862
|
title: r,
|
|
@@ -1846,10 +1866,10 @@ const Je = V(
|
|
|
1846
1866
|
meta: c,
|
|
1847
1867
|
variant: d = "plain",
|
|
1848
1868
|
align: p = "start",
|
|
1849
|
-
className:
|
|
1869
|
+
className: h,
|
|
1850
1870
|
"aria-label": g,
|
|
1851
|
-
"aria-labelledby":
|
|
1852
|
-
} = N,
|
|
1871
|
+
"aria-labelledby": b
|
|
1872
|
+
} = N, f = m(N, [
|
|
1853
1873
|
"kicker",
|
|
1854
1874
|
"title",
|
|
1855
1875
|
"description",
|
|
@@ -1862,17 +1882,17 @@ const Je = V(
|
|
|
1862
1882
|
"aria-label",
|
|
1863
1883
|
"aria-labelledby"
|
|
1864
1884
|
]);
|
|
1865
|
-
const
|
|
1866
|
-
return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !
|
|
1885
|
+
const L = g != null || b != null, E = g != null ? g : typeof r == "string" ? r : void 0;
|
|
1886
|
+
return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !L && typeof r != "string" && console.warn(
|
|
1867
1887
|
"[HeroSection] A non-string `title` was provided without `aria-label` or `aria-labelledby`. The hero <section> landmark will have no accessible name. Pass `aria-label`, or set `aria-labelledby` to your title's id."
|
|
1868
1888
|
), /* @__PURE__ */ v(
|
|
1869
1889
|
"section",
|
|
1870
|
-
y(
|
|
1871
|
-
ref:
|
|
1872
|
-
className: n(
|
|
1873
|
-
"aria-label":
|
|
1874
|
-
"aria-labelledby":
|
|
1875
|
-
},
|
|
1890
|
+
y(u({
|
|
1891
|
+
ref: x,
|
|
1892
|
+
className: n(ra({ variant: d, align: p }), h),
|
|
1893
|
+
"aria-label": E,
|
|
1894
|
+
"aria-labelledby": b
|
|
1895
|
+
}, f), {
|
|
1876
1896
|
children: [
|
|
1877
1897
|
/* @__PURE__ */ v(
|
|
1878
1898
|
"div",
|
|
@@ -1880,7 +1900,7 @@ const Je = V(
|
|
|
1880
1900
|
className: n(
|
|
1881
1901
|
"flex flex-col",
|
|
1882
1902
|
i("md", "gap-y"),
|
|
1883
|
-
|
|
1903
|
+
sa[p]
|
|
1884
1904
|
),
|
|
1885
1905
|
children: [
|
|
1886
1906
|
t ? /* @__PURE__ */ l(
|
|
@@ -1923,7 +1943,7 @@ const Je = V(
|
|
|
1923
1943
|
className: n(
|
|
1924
1944
|
"flex flex-wrap",
|
|
1925
1945
|
i("sm", "gap"),
|
|
1926
|
-
|
|
1946
|
+
na[p]
|
|
1927
1947
|
),
|
|
1928
1948
|
children: s
|
|
1929
1949
|
}
|
|
@@ -1945,8 +1965,8 @@ const Je = V(
|
|
|
1945
1965
|
);
|
|
1946
1966
|
}
|
|
1947
1967
|
);
|
|
1948
|
-
|
|
1949
|
-
function
|
|
1968
|
+
ia.displayName = "HeroSection";
|
|
1969
|
+
function Fa(r) {
|
|
1950
1970
|
var a = r, {
|
|
1951
1971
|
className: e = ""
|
|
1952
1972
|
} = a, t = m(a, [
|
|
@@ -1954,7 +1974,7 @@ function Ea(r) {
|
|
|
1954
1974
|
]);
|
|
1955
1975
|
return /* @__PURE__ */ l(
|
|
1956
1976
|
"div",
|
|
1957
|
-
|
|
1977
|
+
u({
|
|
1958
1978
|
role: "separator",
|
|
1959
1979
|
className: `
|
|
1960
1980
|
h-px
|
|
@@ -1965,7 +1985,7 @@ function Ea(r) {
|
|
|
1965
1985
|
}, t)
|
|
1966
1986
|
);
|
|
1967
1987
|
}
|
|
1968
|
-
function
|
|
1988
|
+
function Ra(a) {
|
|
1969
1989
|
var s = a, {
|
|
1970
1990
|
orientation: e = "horizontal",
|
|
1971
1991
|
className: t = ""
|
|
@@ -1975,14 +1995,14 @@ function Ta(a) {
|
|
|
1975
1995
|
]);
|
|
1976
1996
|
return e === "vertical" ? /* @__PURE__ */ l(
|
|
1977
1997
|
"div",
|
|
1978
|
-
|
|
1998
|
+
u({
|
|
1979
1999
|
className: n("w-px", "h-6", "bg-line-default", "mx-auto", t),
|
|
1980
2000
|
role: "separator",
|
|
1981
2001
|
"aria-orientation": "vertical"
|
|
1982
2002
|
}, r)
|
|
1983
2003
|
) : /* @__PURE__ */ l(
|
|
1984
2004
|
"div",
|
|
1985
|
-
|
|
2005
|
+
u({
|
|
1986
2006
|
className: n(
|
|
1987
2007
|
"w-full",
|
|
1988
2008
|
"h-px",
|
|
@@ -2003,7 +2023,7 @@ function Ta(a) {
|
|
|
2003
2023
|
}, r)
|
|
2004
2024
|
);
|
|
2005
2025
|
}
|
|
2006
|
-
const
|
|
2026
|
+
const la = V(
|
|
2007
2027
|
// Base classes
|
|
2008
2028
|
n("w-full", "flex", "flex-col", i("sm", "gap")),
|
|
2009
2029
|
{
|
|
@@ -2018,7 +2038,7 @@ const ta = V(
|
|
|
2018
2038
|
}
|
|
2019
2039
|
}
|
|
2020
2040
|
);
|
|
2021
|
-
function
|
|
2041
|
+
function ja(d) {
|
|
2022
2042
|
var p = d, {
|
|
2023
2043
|
title: e,
|
|
2024
2044
|
description: t,
|
|
@@ -2034,8 +2054,8 @@ function La(d) {
|
|
|
2034
2054
|
"variant",
|
|
2035
2055
|
"className"
|
|
2036
2056
|
]);
|
|
2037
|
-
return /* @__PURE__ */ v("div", y(
|
|
2038
|
-
r && r.length > 0 && /* @__PURE__ */ l(
|
|
2057
|
+
return /* @__PURE__ */ v("div", y(u({ className: n(la({ variant: s }), o) }, c), { children: [
|
|
2058
|
+
r && r.length > 0 && /* @__PURE__ */ l(Ye, { items: r }),
|
|
2039
2059
|
/* @__PURE__ */ v(
|
|
2040
2060
|
"div",
|
|
2041
2061
|
{
|
|
@@ -2065,17 +2085,17 @@ function La(d) {
|
|
|
2065
2085
|
)
|
|
2066
2086
|
] }));
|
|
2067
2087
|
}
|
|
2068
|
-
const
|
|
2088
|
+
const oa = {
|
|
2069
2089
|
start: "items-start text-left",
|
|
2070
2090
|
center: "items-center text-center"
|
|
2071
|
-
},
|
|
2091
|
+
}, ca = {
|
|
2072
2092
|
neutral: "text-fg-tertiary",
|
|
2073
2093
|
success: "text-fg-success",
|
|
2074
2094
|
warning: "text-fg-warning",
|
|
2075
2095
|
error: "text-fg-error"
|
|
2076
2096
|
};
|
|
2077
|
-
function
|
|
2078
|
-
var
|
|
2097
|
+
function Da(p) {
|
|
2098
|
+
var h = p, {
|
|
2079
2099
|
value: e,
|
|
2080
2100
|
label: t,
|
|
2081
2101
|
hint: r,
|
|
@@ -2083,7 +2103,7 @@ function Aa(p) {
|
|
|
2083
2103
|
align: s = "start",
|
|
2084
2104
|
tone: o = "neutral",
|
|
2085
2105
|
className: c
|
|
2086
|
-
} =
|
|
2106
|
+
} = h, d = m(h, [
|
|
2087
2107
|
"value",
|
|
2088
2108
|
"label",
|
|
2089
2109
|
"hint",
|
|
@@ -2095,12 +2115,12 @@ function Aa(p) {
|
|
|
2095
2115
|
const g = e == null;
|
|
2096
2116
|
return /* @__PURE__ */ v(
|
|
2097
2117
|
"div",
|
|
2098
|
-
y(
|
|
2118
|
+
y(u({
|
|
2099
2119
|
className: n(
|
|
2100
2120
|
"bg-surface-base flex-1 flex flex-col",
|
|
2101
2121
|
i("base", "p"),
|
|
2102
2122
|
i("xs", "gap-y"),
|
|
2103
|
-
|
|
2123
|
+
oa[s],
|
|
2104
2124
|
c
|
|
2105
2125
|
)
|
|
2106
2126
|
}, d), {
|
|
@@ -2115,17 +2135,17 @@ function Aa(p) {
|
|
|
2115
2135
|
}
|
|
2116
2136
|
) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
|
|
2117
2137
|
/* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: t }),
|
|
2118
|
-
r ? /* @__PURE__ */ l("span", { className: n("text-xs",
|
|
2138
|
+
r ? /* @__PURE__ */ l("span", { className: n("text-xs", ca[o]), children: r }) : null
|
|
2119
2139
|
]
|
|
2120
2140
|
})
|
|
2121
2141
|
);
|
|
2122
2142
|
}
|
|
2123
|
-
const
|
|
2143
|
+
const da = {
|
|
2124
2144
|
2: "md:grid-cols-2",
|
|
2125
2145
|
3: "md:grid-cols-3",
|
|
2126
2146
|
4: "md:grid-cols-4"
|
|
2127
2147
|
};
|
|
2128
|
-
function
|
|
2148
|
+
function _a(o) {
|
|
2129
2149
|
var c = o, {
|
|
2130
2150
|
layout: e = "grid",
|
|
2131
2151
|
cols: t = 4,
|
|
@@ -2140,11 +2160,11 @@ function Va(o) {
|
|
|
2140
2160
|
const d = e === "grid";
|
|
2141
2161
|
return /* @__PURE__ */ l(
|
|
2142
2162
|
"div",
|
|
2143
|
-
y(
|
|
2163
|
+
y(u({
|
|
2144
2164
|
className: n(
|
|
2145
2165
|
"bg-line-default border border-line-default overflow-hidden gap-px",
|
|
2146
|
-
|
|
2147
|
-
d ? `grid grid-cols-2 ${
|
|
2166
|
+
C("lg"),
|
|
2167
|
+
d ? `grid grid-cols-2 ${da[t]}` : "flex",
|
|
2148
2168
|
r
|
|
2149
2169
|
)
|
|
2150
2170
|
}, s), {
|
|
@@ -2152,19 +2172,19 @@ function Va(o) {
|
|
|
2152
2172
|
})
|
|
2153
2173
|
);
|
|
2154
2174
|
}
|
|
2155
|
-
function
|
|
2175
|
+
function za(s) {
|
|
2156
2176
|
var o = s, { column: e, row: t, className: r = "" } = o, a = m(o, ["column", "row", "className"]);
|
|
2157
2177
|
const c = e.key in t ? t[e.key] : void 0;
|
|
2158
2178
|
return /* @__PURE__ */ l(
|
|
2159
2179
|
"td",
|
|
2160
|
-
y(
|
|
2180
|
+
y(u({
|
|
2161
2181
|
className: `${i("lg", "px")} ${i("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
|
|
2162
2182
|
}, a), {
|
|
2163
2183
|
children: e.render ? e.render(c, t) : String(c != null ? c : "")
|
|
2164
2184
|
})
|
|
2165
2185
|
);
|
|
2166
2186
|
}
|
|
2167
|
-
const
|
|
2187
|
+
const ua = V(n("flex items-center", "border-b"), {
|
|
2168
2188
|
variants: {
|
|
2169
2189
|
variant: {
|
|
2170
2190
|
default: n("border-line-default", i("base", "gap-x")),
|
|
@@ -2174,7 +2194,7 @@ const ia = V(n("flex items-center", "border-b"), {
|
|
|
2174
2194
|
defaultVariants: {
|
|
2175
2195
|
variant: "default"
|
|
2176
2196
|
}
|
|
2177
|
-
}),
|
|
2197
|
+
}), fa = V(
|
|
2178
2198
|
n(
|
|
2179
2199
|
"relative -mb-px inline-flex items-center",
|
|
2180
2200
|
i("xs", "gap-x"),
|
|
@@ -2184,7 +2204,7 @@ const ia = V(n("flex items-center", "border-b"), {
|
|
|
2184
2204
|
"focus-visible:ring-2",
|
|
2185
2205
|
"focus-visible:ring-line-focus",
|
|
2186
2206
|
"focus-visible:ring-offset-2",
|
|
2187
|
-
|
|
2207
|
+
C("sm")
|
|
2188
2208
|
),
|
|
2189
2209
|
{
|
|
2190
2210
|
variants: {
|
|
@@ -2192,12 +2212,12 @@ const ia = V(n("flex items-center", "border-b"), {
|
|
|
2192
2212
|
default: n(
|
|
2193
2213
|
i("sm", "px"),
|
|
2194
2214
|
i("sm", "py"),
|
|
2195
|
-
|
|
2215
|
+
k("body")
|
|
2196
2216
|
),
|
|
2197
2217
|
sub: n(
|
|
2198
2218
|
i("sm", "px"),
|
|
2199
2219
|
i("xs", "py"),
|
|
2200
|
-
|
|
2220
|
+
k("bodySmall")
|
|
2201
2221
|
)
|
|
2202
2222
|
},
|
|
2203
2223
|
active: {
|
|
@@ -2222,14 +2242,14 @@ const ia = V(n("flex items-center", "border-b"), {
|
|
|
2222
2242
|
active: !1
|
|
2223
2243
|
}
|
|
2224
2244
|
}
|
|
2225
|
-
),
|
|
2245
|
+
), pa = n(
|
|
2226
2246
|
"inline-flex items-center justify-center",
|
|
2227
|
-
|
|
2247
|
+
C("full"),
|
|
2228
2248
|
i("xs", "px"),
|
|
2229
2249
|
"bg-surface-muted text-fg-secondary text-xs"
|
|
2230
|
-
),
|
|
2231
|
-
function(
|
|
2232
|
-
var g =
|
|
2250
|
+
), ma = D(
|
|
2251
|
+
function(h, p) {
|
|
2252
|
+
var g = h, {
|
|
2233
2253
|
items: t,
|
|
2234
2254
|
variant: r = "default",
|
|
2235
2255
|
linkComponent: a,
|
|
@@ -2247,36 +2267,36 @@ const ia = V(n("flex items-center", "border-b"), {
|
|
|
2247
2267
|
typeof process != "undefined" && process.env.NODE_ENV !== "production" && !o && !c && console.warn(
|
|
2248
2268
|
'[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.'
|
|
2249
2269
|
);
|
|
2250
|
-
const
|
|
2270
|
+
const b = a != null ? a : "a";
|
|
2251
2271
|
return /* @__PURE__ */ l(
|
|
2252
2272
|
"nav",
|
|
2253
|
-
y(
|
|
2273
|
+
y(u({
|
|
2254
2274
|
ref: p,
|
|
2255
|
-
className: n(
|
|
2275
|
+
className: n(ua({ variant: r }), s),
|
|
2256
2276
|
"aria-label": o,
|
|
2257
2277
|
"aria-labelledby": c
|
|
2258
2278
|
}, d), {
|
|
2259
|
-
children: t.map((
|
|
2260
|
-
|
|
2279
|
+
children: t.map((f, x) => /* @__PURE__ */ v(
|
|
2280
|
+
b,
|
|
2261
2281
|
{
|
|
2262
|
-
href:
|
|
2263
|
-
"aria-current":
|
|
2264
|
-
"data-active":
|
|
2265
|
-
className:
|
|
2282
|
+
href: f.href,
|
|
2283
|
+
"aria-current": f.active ? "page" : void 0,
|
|
2284
|
+
"data-active": f.active ? "true" : void 0,
|
|
2285
|
+
className: fa({ variant: r, active: !!f.active }),
|
|
2266
2286
|
children: [
|
|
2267
|
-
|
|
2268
|
-
/* @__PURE__ */ l("span", { children:
|
|
2269
|
-
|
|
2287
|
+
f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
|
|
2288
|
+
/* @__PURE__ */ l("span", { children: f.label }),
|
|
2289
|
+
f.count !== void 0 ? /* @__PURE__ */ l("span", { className: pa, children: f.count }) : null
|
|
2270
2290
|
]
|
|
2271
2291
|
},
|
|
2272
|
-
|
|
2292
|
+
f.href || x
|
|
2273
2293
|
))
|
|
2274
2294
|
})
|
|
2275
2295
|
);
|
|
2276
2296
|
}
|
|
2277
2297
|
);
|
|
2278
|
-
|
|
2279
|
-
function
|
|
2298
|
+
ma.displayName = "TabsAsLinks";
|
|
2299
|
+
function Ma({
|
|
2280
2300
|
items: e,
|
|
2281
2301
|
orientation: t = "vertical",
|
|
2282
2302
|
className: r = ""
|
|
@@ -2286,18 +2306,18 @@ function Ra({
|
|
|
2286
2306
|
return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
|
|
2287
2307
|
/* @__PURE__ */ l(
|
|
2288
2308
|
"div",
|
|
2289
|
-
y(
|
|
2309
|
+
y(u({}, o === "default" ? { "data-marker": "pending" } : {}), {
|
|
2290
2310
|
className: `
|
|
2291
2311
|
flex
|
|
2292
2312
|
items-center
|
|
2293
2313
|
justify-center
|
|
2294
2314
|
w-10
|
|
2295
2315
|
h-10
|
|
2296
|
-
${
|
|
2316
|
+
${C("full")}
|
|
2297
2317
|
border-2
|
|
2298
2318
|
${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"}
|
|
2299
2319
|
`,
|
|
2300
|
-
children: a.icon || (o === "completed" ? /* @__PURE__ */ l(
|
|
2320
|
+
children: a.icon || (o === "completed" ? /* @__PURE__ */ l(Y, { className: "h-4 w-4" }) : s + 1)
|
|
2301
2321
|
})
|
|
2302
2322
|
),
|
|
2303
2323
|
!c && /* @__PURE__ */ l(
|
|
@@ -2346,18 +2366,18 @@ function Ra({
|
|
|
2346
2366
|
/* @__PURE__ */ v("div", { className: "flex flex-col items-center", children: [
|
|
2347
2367
|
/* @__PURE__ */ l(
|
|
2348
2368
|
"div",
|
|
2349
|
-
y(
|
|
2369
|
+
y(u({}, o === "default" ? { "data-marker": "pending" } : {}), {
|
|
2350
2370
|
className: `
|
|
2351
2371
|
flex
|
|
2352
2372
|
items-center
|
|
2353
2373
|
justify-center
|
|
2354
2374
|
w-10
|
|
2355
2375
|
h-10
|
|
2356
|
-
${
|
|
2376
|
+
${C("full")}
|
|
2357
2377
|
border-2
|
|
2358
2378
|
${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"}
|
|
2359
2379
|
`,
|
|
2360
|
-
children: a.icon || (o === "completed" ? /* @__PURE__ */ l(
|
|
2380
|
+
children: a.icon || (o === "completed" ? /* @__PURE__ */ l(Y, { className: "h-4 w-4" }) : s + 1)
|
|
2361
2381
|
})
|
|
2362
2382
|
),
|
|
2363
2383
|
!c && /* @__PURE__ */ l(
|
|
@@ -2408,40 +2428,40 @@ function Ra({
|
|
|
2408
2428
|
}) });
|
|
2409
2429
|
}
|
|
2410
2430
|
export {
|
|
2411
|
-
|
|
2412
|
-
|
|
2431
|
+
ye as Badge,
|
|
2432
|
+
Ye as Breadcrumb,
|
|
2413
2433
|
I as Card,
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2434
|
+
ea as CardActions,
|
|
2435
|
+
aa as CardBody,
|
|
2436
|
+
Ze as CardHeader,
|
|
2437
|
+
Qe as CardSubtitle,
|
|
2438
|
+
Je as CardTitle,
|
|
2439
|
+
Re as Chip,
|
|
2440
|
+
qe as Container,
|
|
2441
|
+
ka as DialogFooter,
|
|
2442
|
+
Ca as DialogHeader,
|
|
2443
|
+
Ta as DrawerFooter,
|
|
2444
|
+
Ea as DrawerHeader,
|
|
2445
|
+
Na as ErrorMessage,
|
|
2446
|
+
La as FilterChips,
|
|
2447
|
+
Aa as HeaderActions,
|
|
2448
|
+
Va as HeaderNavigation,
|
|
2449
|
+
ia as HeroSection,
|
|
2450
|
+
Sa as Info,
|
|
2451
|
+
_e as Label,
|
|
2452
|
+
Fa as MenuSeparator,
|
|
2453
|
+
Ra as NavbarSeparator,
|
|
2454
|
+
ja as PageHeader,
|
|
2455
|
+
He as Progress,
|
|
2456
|
+
We as Separator,
|
|
2457
|
+
$a as Skeleton,
|
|
2458
|
+
Be as Spinner,
|
|
2459
|
+
Ge as Stack,
|
|
2460
|
+
Da as Stat,
|
|
2461
|
+
_a as StatGroup,
|
|
2462
|
+
za as TableCell,
|
|
2463
|
+
ma as TabsAsLinks,
|
|
2444
2464
|
_ as Text,
|
|
2445
|
-
|
|
2465
|
+
Ma as Timeline
|
|
2446
2466
|
};
|
|
2447
2467
|
//# sourceMappingURL=index.js.map
|