@stokelp/ui 1.31.0 → 1.33.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/components/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +20 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/use-pagination.d.ts +18 -0
- package/dist/shared/hooks/useUncontrolled.d.ts +12 -0
- package/dist/shared/utils/events.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/theme/recipes/pagination.d.ts +2 -0
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +693 -485
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as e, jsxs as d, Fragment as
|
|
3
|
-
import { Accordion as
|
|
4
|
-
import { styled as a, splitCssProps as
|
|
5
|
-
import { accordion as
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { cx as
|
|
8
|
-
import * as
|
|
9
|
-
import { defineKeyframes as
|
|
10
|
-
const
|
|
11
|
-
const o =
|
|
2
|
+
import { jsx as e, jsxs as d, Fragment as le } from "react/jsx-runtime";
|
|
3
|
+
import { Accordion as U, Checkbox as E, Dialog as P, ark as y, Portal as Q, Tooltip as H, Switch as $, Tabs as j, Select as T, DatePicker as h, RadioGroup as S, Popover as B, switchAnatomy as Je, dialogAnatomy as Qe, accordionAnatomy as Ke, checkboxAnatomy as et, tabsAnatomy as tt, selectAnatomy as rt, datePickerAnatomy as ot, radioGroupAnatomy as Be, tooltipAnatomy as at, popoverAnatomy as it } from "@ark-ui/react";
|
|
4
|
+
import { styled as a, splitCssProps as W, Circle as nt } from "@stokelp/styled-system/jsx";
|
|
5
|
+
import { accordion as lt, button as st, checkbox as me, drawer as ct, formControl as dt, tooltip as pt, formLabel as se, formHelperText as ut, heading as ht, switchRecipe as be, text as gt, textarea as mt, tabs as bt, select as yt, input as xt, inputAddon as vt, inputGroup as ft, datepicker as wt, tag as ye, radioButtonGroup as Ct, radioGroup as St, chip as Tt, actionCard as _t, iconButton as kt, alert as Pt, tableContainer as Rt, tableGroupTitle as Lt, tableEmptyRow as It, table as zt, breadcrumb as Dt, popover as At, pagination as Bt } from "@stokelp/styled-system/recipes";
|
|
6
|
+
import { createContext as Fe, forwardRef as b, useContext as Me, createElement as Ee, useMemo as K, useReducer as Ft, useEffect as Mt, useRef as Ne, useLayoutEffect as Ve, Children as Et, cloneElement as xe, useState as Nt } from "react";
|
|
7
|
+
import { cx as N, css as Y, sva as Vt } from "@stokelp/styled-system/css";
|
|
8
|
+
import * as Ht from "react-is";
|
|
9
|
+
import { defineKeyframes as jt, defineRecipe as C, defineSlotRecipe as g, defineSemanticTokens as Wt, defineTextStyles as Zt, defineTokens as x, defineUtility as $t, definePreset as Ot } from "@pandacss/dev";
|
|
10
|
+
const ve = (...t) => t.filter(Boolean).join(" "), f = (t, r) => {
|
|
11
|
+
const o = Fe(null);
|
|
12
12
|
return {
|
|
13
|
-
withContext: (
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
...
|
|
13
|
+
withContext: (c, l, s) => l ? b((p, v) => {
|
|
14
|
+
const _ = Me(o), z = (r == null ? void 0 : r.dataAttr) ?? !1;
|
|
15
|
+
return Ee(c, {
|
|
16
|
+
...z && { "data-recipe-slot": l ?? "" },
|
|
17
17
|
...p,
|
|
18
|
-
...
|
|
19
|
-
className:
|
|
20
|
-
ref:
|
|
18
|
+
...s == null ? void 0 : s.defaultProps,
|
|
19
|
+
className: ve(_ == null ? void 0 : _[l ?? ""], p.className),
|
|
20
|
+
ref: v
|
|
21
21
|
});
|
|
22
|
-
}) :
|
|
23
|
-
withProvider: (
|
|
24
|
-
const [
|
|
22
|
+
}) : c,
|
|
23
|
+
withProvider: (c, l, s) => b((p, v) => {
|
|
24
|
+
const [_, { children: z, ...M }] = t.splitVariantProps({
|
|
25
25
|
...p,
|
|
26
|
-
...
|
|
27
|
-
}),
|
|
28
|
-
return /* @__PURE__ */ e(o.Provider, { value:
|
|
29
|
-
|
|
26
|
+
...s == null ? void 0 : s.defaultProps
|
|
27
|
+
}), D = t(_), L = (r == null ? void 0 : r.dataAttr) ?? !1;
|
|
28
|
+
return /* @__PURE__ */ e(o.Provider, { value: D, children: /* @__PURE__ */ d(
|
|
29
|
+
c,
|
|
30
30
|
{
|
|
31
|
-
ref:
|
|
32
|
-
...
|
|
33
|
-
...
|
|
34
|
-
className:
|
|
31
|
+
ref: v,
|
|
32
|
+
...L && { "data-recipe-slot": l ?? "" },
|
|
33
|
+
...M,
|
|
34
|
+
className: ve(D[l ?? ""], M.className),
|
|
35
35
|
children: [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
s == null ? void 0 : s.beforeSlot,
|
|
37
|
+
z,
|
|
38
|
+
s == null ? void 0 : s.afterSlot
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
41
|
) });
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
|
-
}, { withProvider:
|
|
44
|
+
}, { withProvider: Gt, withContext: ee } = f(lt), mi = Gt(a(U.Root), "root"), bi = ee(a(U.Item), "item"), yi = ee(a(U.ItemContent), "itemContent"), xi = ee(a(U.ItemIndicator), "itemIndicator", {
|
|
45
45
|
defaultProps: {
|
|
46
46
|
children: /* @__PURE__ */ e("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z", fill: "currentColor" }) })
|
|
47
47
|
}
|
|
48
|
-
}),
|
|
49
|
-
const [o, i] =
|
|
50
|
-
return /* @__PURE__ */ d(
|
|
51
|
-
/* @__PURE__ */ d(
|
|
52
|
-
/* @__PURE__ */ e(
|
|
53
|
-
/* @__PURE__ */ e(
|
|
48
|
+
}), vi = ee(a(U.ItemTrigger), "itemTrigger"), ce = a("button", st), Ut = b((t, r) => {
|
|
49
|
+
const [o, i] = me.splitVariantProps(t), [n, c] = W(i), { children: l, className: s, ...u } = c, p = me(o);
|
|
50
|
+
return /* @__PURE__ */ d(E.Root, { ref: r, className: N(p.root, Y(n), s), ...u, children: [
|
|
51
|
+
/* @__PURE__ */ d(E.Control, { className: p.control, children: [
|
|
52
|
+
/* @__PURE__ */ e(E.Indicator, { children: /* @__PURE__ */ e(Yt, {}) }),
|
|
53
|
+
/* @__PURE__ */ e(E.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(Xt, {}) })
|
|
54
54
|
] }),
|
|
55
|
-
|
|
56
|
-
/* @__PURE__ */ e(
|
|
55
|
+
l && /* @__PURE__ */ e(E.Label, { className: p.label, children: l }),
|
|
56
|
+
/* @__PURE__ */ e(E.HiddenInput, {})
|
|
57
57
|
] });
|
|
58
58
|
});
|
|
59
|
-
|
|
60
|
-
const
|
|
59
|
+
Ut.displayName = "Checkbox";
|
|
60
|
+
const Yt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
61
61
|
/* @__PURE__ */ e("title", { children: "Check Icon" }),
|
|
62
62
|
/* @__PURE__ */ e(
|
|
63
63
|
"path",
|
|
@@ -66,18 +66,18 @@ const Rt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
66
66
|
fill: "white"
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
|
-
] }),
|
|
69
|
+
] }), Xt = () => /* @__PURE__ */ d("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
70
70
|
/* @__PURE__ */ e("title", { children: "Minus Icon" }),
|
|
71
71
|
/* @__PURE__ */ e("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
|
|
72
|
-
] }), { withProvider:
|
|
72
|
+
] }), { withProvider: qt, withContext: R } = f(ct), fi = qt(P.Root, void 0, {
|
|
73
73
|
defaultProps: {
|
|
74
74
|
unmountOnExit: !0,
|
|
75
75
|
lazyMount: !0
|
|
76
76
|
}
|
|
77
|
-
}),
|
|
78
|
-
({ children: t, showCloseTrigger: r = !0, ...o }, i) => /* @__PURE__ */ d(
|
|
77
|
+
}), wi = R(a(y.main), "body"), Jt = R(a(P.CloseTrigger), "closeTrigger"), Ci = R(a(y.footer), "footer"), He = b(
|
|
78
|
+
({ children: t, showCloseTrigger: r = !0, ...o }, i) => /* @__PURE__ */ d(y.header, { ...o, ref: i, children: [
|
|
79
79
|
t,
|
|
80
|
-
r && /* @__PURE__ */ e(
|
|
80
|
+
r && /* @__PURE__ */ e(Jt, { asChild: !0, children: /* @__PURE__ */ e(ce, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
81
81
|
"path",
|
|
82
82
|
{
|
|
83
83
|
d: "M12.6666 4.27331L11.7266 3.33331L7.99998 7.05998L4.27331 3.33331L3.33331 4.27331L7.05998 7.99998L3.33331 11.7266L4.27331 12.6666L7.99998 8.93998L11.7266 12.6666L12.6666 11.7266L8.93998 7.99998L12.6666 4.27331Z",
|
|
@@ -86,25 +86,25 @@ const Rt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
86
86
|
) }) }) })
|
|
87
87
|
] })
|
|
88
88
|
);
|
|
89
|
-
|
|
90
|
-
const
|
|
91
|
-
({ children: t, ...r }, o) => /* @__PURE__ */ d(
|
|
92
|
-
/* @__PURE__ */ e(
|
|
93
|
-
/* @__PURE__ */ e(
|
|
89
|
+
He.displayName = "DrawerHeader";
|
|
90
|
+
const Si = R(He, "header"), Ti = R(a(P.Title), "title"), _i = R(a(P.Trigger), "trigger"), Qt = R(a(P.Positioner), "positioner"), Kt = R(a(P.Backdrop), "backdrop"), je = b(
|
|
91
|
+
({ children: t, ...r }, o) => /* @__PURE__ */ d(Q, { children: [
|
|
92
|
+
/* @__PURE__ */ e(Kt, {}),
|
|
93
|
+
/* @__PURE__ */ e(Qt, { children: /* @__PURE__ */ e(P.Content, { ref: o, ...r, children: t }) })
|
|
94
94
|
] })
|
|
95
95
|
);
|
|
96
|
-
|
|
97
|
-
const
|
|
96
|
+
je.displayName = P.Content.displayName;
|
|
97
|
+
const ki = R(a(je), "content"), Pi = P.Context, er = a("div", dt, {
|
|
98
98
|
defaultProps: {
|
|
99
99
|
role: "group"
|
|
100
100
|
}
|
|
101
|
-
}),
|
|
101
|
+
}), Ri = ({ isInvalid: t, isRequired: r, ...o }) => {
|
|
102
102
|
const i = {
|
|
103
103
|
...t ? { "aria-invalid": !0 } : {},
|
|
104
104
|
...r ? { "aria-required": !0 } : {}
|
|
105
105
|
};
|
|
106
|
-
return /* @__PURE__ */ e(
|
|
107
|
-
}, { withProvider:
|
|
106
|
+
return /* @__PURE__ */ e(er, { ...i, ...o });
|
|
107
|
+
}, { withProvider: tr, withContext: X } = f(pt), rr = tr(a(H.Root), void 0, {
|
|
108
108
|
defaultProps: {
|
|
109
109
|
closeDelay: 50,
|
|
110
110
|
closeOnPointerDown: !1,
|
|
@@ -113,24 +113,24 @@ const li = P(a(Ce), "content"), si = k.Context, Bt = a("div", Ze, {
|
|
|
113
113
|
openDelay: 200,
|
|
114
114
|
unmountOnExit: !0
|
|
115
115
|
}
|
|
116
|
-
}),
|
|
117
|
-
const [n,
|
|
118
|
-
return /* @__PURE__ */ d(
|
|
119
|
-
/* @__PURE__ */ e(
|
|
120
|
-
/* @__PURE__ */ e(
|
|
121
|
-
o ? /* @__PURE__ */ e(
|
|
116
|
+
}), or = X(a(H.Arrow), "arrow"), ar = X(a(H.ArrowTip), "arrowTip"), ir = X(a(H.Content), "content"), nr = X(a(H.Positioner), "positioner"), lr = X(a(H.Trigger), "trigger"), sr = ({ label: t, children: r, withArrow: o = !0, ...i }) => {
|
|
117
|
+
const [n, c] = W(i);
|
|
118
|
+
return /* @__PURE__ */ d(rr, { ...c, children: [
|
|
119
|
+
/* @__PURE__ */ e(lr, { asChild: !0, children: r }),
|
|
120
|
+
/* @__PURE__ */ e(nr, { children: /* @__PURE__ */ d(ir, { ...n, children: [
|
|
121
|
+
o ? /* @__PURE__ */ e(or, { children: /* @__PURE__ */ e(ar, {}) }) : null,
|
|
122
122
|
t
|
|
123
123
|
] }) })
|
|
124
124
|
] });
|
|
125
|
-
},
|
|
126
|
-
const [r, o] =
|
|
127
|
-
return /* @__PURE__ */ d(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
}, cr = a("label", se), Li = (t) => {
|
|
126
|
+
const [r, o] = se.splitVariantProps(t), [i, n] = W(o), { children: c, className: l, addon: s, tooltipInformation: u, ...p } = n, v = se(r);
|
|
127
|
+
return /* @__PURE__ */ d(cr, { className: N(v.root, Y(i), l), ...p, children: [
|
|
128
|
+
c,
|
|
129
|
+
s ? /* @__PURE__ */ e(a.span, { className: v.addon, children: s }) : null,
|
|
130
|
+
u ? /* @__PURE__ */ e(sr, { label: u, children: /* @__PURE__ */ e(
|
|
131
131
|
a.svg,
|
|
132
132
|
{
|
|
133
|
-
className:
|
|
133
|
+
className: v.icon,
|
|
134
134
|
width: "16",
|
|
135
135
|
height: "16",
|
|
136
136
|
viewBox: "0 0 16 16",
|
|
@@ -146,59 +146,59 @@ const li = P(a(Ce), "content"), si = k.Context, Bt = a("div", Ze, {
|
|
|
146
146
|
}
|
|
147
147
|
) }) : null
|
|
148
148
|
] });
|
|
149
|
-
},
|
|
149
|
+
}, Ii = a("p", ut, {
|
|
150
150
|
dataAttr: !0
|
|
151
|
-
}),
|
|
152
|
-
const { as: r = "h2", ...o } = t, i = K(() => a(r,
|
|
151
|
+
}), zi = (t) => {
|
|
152
|
+
const { as: r = "h2", ...o } = t, i = K(() => a(r, ht), [r]);
|
|
153
153
|
return /* @__PURE__ */ e(i, { size: r, ...o });
|
|
154
|
-
},
|
|
155
|
-
const [o, i] =
|
|
156
|
-
return /* @__PURE__ */ d(
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
|
|
159
|
-
/* @__PURE__ */ e(
|
|
154
|
+
}, dr = b((t, r) => {
|
|
155
|
+
const [o, i] = be.splitVariantProps(t), [n, c] = W(i), { children: l, className: s, ...u } = c, p = be(o);
|
|
156
|
+
return /* @__PURE__ */ d($.Root, { ref: r, className: N(p.root, Y(n), s), ...u, children: [
|
|
157
|
+
/* @__PURE__ */ e($.Control, { className: p.control, children: /* @__PURE__ */ e($.Thumb, { className: p.thumb }) }),
|
|
158
|
+
l ? /* @__PURE__ */ e($.Label, { className: p.label, children: l }) : null,
|
|
159
|
+
/* @__PURE__ */ e($.HiddenInput, {})
|
|
160
160
|
] });
|
|
161
161
|
});
|
|
162
|
-
|
|
163
|
-
const
|
|
164
|
-
const { as: r = "p", ...o } = t, i = K(() => a(r,
|
|
162
|
+
dr.displayName = "Switch";
|
|
163
|
+
const pr = (t) => {
|
|
164
|
+
const { as: r = "p", ...o } = t, i = K(() => a(r, gt), [r]);
|
|
165
165
|
return /* @__PURE__ */ e(i, { ...o });
|
|
166
|
-
},
|
|
166
|
+
}, Di = a(y.textarea, mt), { withProvider: ur, withContext: te } = f(bt), Ai = ur(a(j.Root), "root", {
|
|
167
167
|
defaultProps: {
|
|
168
168
|
lazyMount: !0
|
|
169
169
|
}
|
|
170
|
-
}),
|
|
171
|
-
({ children: t, ...r }, o) => /* @__PURE__ */ d(
|
|
170
|
+
}), Bi = te(a(j.Content), "content"), Fi = te(a(j.Trigger), "trigger"), hr = te(a(j.Indicator), "indicator"), We = b(
|
|
171
|
+
({ children: t, ...r }, o) => /* @__PURE__ */ d(j.List, { ref: o, ...r, children: [
|
|
172
172
|
t,
|
|
173
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(hr, {})
|
|
174
174
|
] })
|
|
175
175
|
);
|
|
176
|
-
|
|
177
|
-
const
|
|
176
|
+
We.displayName = j.List.displayName;
|
|
177
|
+
const Mi = te(a(We), "list"), gr = ({ children: t, when: r, wrapper: o }) => r === !0 ? o(t) : t, { withProvider: mr, withContext: k } = f(yt), br = mr(a(T.Root), "root", {
|
|
178
178
|
defaultProps: {
|
|
179
179
|
loopFocus: !0
|
|
180
180
|
}
|
|
181
|
-
}),
|
|
181
|
+
}), yr = k(a(T.ClearTrigger), "clearTrigger"), xr = k(a(T.Content), "content"), vr = k(a(T.Control), "control"), fr = k(a(T.Indicator), "indicator"), wr = k(a(T.Item), "item"), Cr = k(a(T.ItemIndicator), "itemIndicator"), Sr = k(a(T.ItemText), "itemText"), Tr = k(a(T.Positioner), "positioner"), _r = k(a(T.Trigger), "trigger"), kr = k(a(T.ValueText), "valueText"), Ei = ({
|
|
182
182
|
items: t,
|
|
183
183
|
placeholder: r,
|
|
184
184
|
emptyLabel: o,
|
|
185
185
|
usePortal: i = !0,
|
|
186
186
|
positioning: n,
|
|
187
|
-
...
|
|
187
|
+
...c
|
|
188
188
|
}) => /* @__PURE__ */ d(
|
|
189
|
-
|
|
189
|
+
br,
|
|
190
190
|
{
|
|
191
191
|
lazyMount: !0,
|
|
192
192
|
unmountOnExit: !0,
|
|
193
193
|
items: t,
|
|
194
194
|
positioning: { sameWidth: !0, gutter: 0, ...n },
|
|
195
195
|
"data-recipe": "select",
|
|
196
|
-
...
|
|
196
|
+
...c,
|
|
197
197
|
children: [
|
|
198
|
-
/* @__PURE__ */ d(
|
|
199
|
-
/* @__PURE__ */ d(
|
|
200
|
-
/* @__PURE__ */ e(
|
|
201
|
-
/* @__PURE__ */ e(
|
|
198
|
+
/* @__PURE__ */ d(vr, { children: [
|
|
199
|
+
/* @__PURE__ */ d(_r, { children: [
|
|
200
|
+
/* @__PURE__ */ e(kr, { truncate: !0, placeholder: r }),
|
|
201
|
+
/* @__PURE__ */ e(fr, { asChild: !0, children: /* @__PURE__ */ e(a.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
202
202
|
"path",
|
|
203
203
|
{
|
|
204
204
|
d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
|
|
@@ -206,7 +206,7 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
206
206
|
}
|
|
207
207
|
) }) })
|
|
208
208
|
] }),
|
|
209
|
-
/* @__PURE__ */ e(
|
|
209
|
+
/* @__PURE__ */ e(yr, { asChild: !0, children: /* @__PURE__ */ e("button", { children: /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
210
210
|
"path",
|
|
211
211
|
{
|
|
212
212
|
d: "M9.99996 1.66669C5.39163 1.66669 1.66663 5.39169 1.66663 10C1.66663 14.6084 5.39163 18.3334 9.99996 18.3334C14.6083 18.3334 18.3333 14.6084 18.3333 10C18.3333 5.39169 14.6083 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667ZM12.9916 5.83335L9.99996 8.82502L7.00829 5.83335L5.83329 7.00835L8.82496 10L5.83329 12.9917L7.00829 14.1667L9.99996 11.175L12.9916 14.1667L14.1666 12.9917L11.175 10L14.1666 7.00835L12.9916 5.83335Z",
|
|
@@ -214,23 +214,23 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
214
214
|
}
|
|
215
215
|
) }) }) })
|
|
216
216
|
] }),
|
|
217
|
-
/* @__PURE__ */ e(
|
|
218
|
-
/* @__PURE__ */ e(
|
|
219
|
-
|
|
220
|
-
] },
|
|
221
|
-
/* @__PURE__ */ e(
|
|
217
|
+
/* @__PURE__ */ e(gr, { when: i, wrapper: (l) => /* @__PURE__ */ e(Q, { children: l }), children: /* @__PURE__ */ e(Tr, { children: /* @__PURE__ */ e(xr, { children: t.length === 0 ? /* @__PURE__ */ e(pr, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : t.map((l) => /* @__PURE__ */ d(wr, { item: l, children: [
|
|
218
|
+
/* @__PURE__ */ e(Sr, { truncate: !0, children: l.label }),
|
|
219
|
+
c.multiple ? /* @__PURE__ */ e(Cr, { children: "✓" }) : null
|
|
220
|
+
] }, l.value)) }) }) }),
|
|
221
|
+
/* @__PURE__ */ e(T.HiddenSelect, {})
|
|
222
222
|
]
|
|
223
223
|
}
|
|
224
|
-
),
|
|
224
|
+
), fe = a("input", xt, {
|
|
225
225
|
dataAttr: !0
|
|
226
|
-
}),
|
|
226
|
+
}), we = a(y.div, vt, {
|
|
227
227
|
dataAttr: !0
|
|
228
|
-
}),
|
|
228
|
+
}), Ce = a("div", ft, {
|
|
229
229
|
dataAttr: !0
|
|
230
|
-
}),
|
|
230
|
+
}), Ni = (t) => {
|
|
231
231
|
const { as: r = "div", ...o } = t, i = K(() => a(r), [r]);
|
|
232
232
|
return /* @__PURE__ */ e(i, { ...o });
|
|
233
|
-
}, { withProvider:
|
|
233
|
+
}, { withProvider: Pr, withContext: m } = f(wt), Rr = Pr(h.Root, "root", {
|
|
234
234
|
defaultProps: {
|
|
235
235
|
positioning: {
|
|
236
236
|
placement: "bottom-start"
|
|
@@ -241,61 +241,76 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
241
241
|
lazyMount: !0,
|
|
242
242
|
startOfWeek: 6
|
|
243
243
|
}
|
|
244
|
-
}),
|
|
244
|
+
}), Lr = m(h.Content, "content"), Ir = m(h.Control, "control"), Se = m(h.Input, "input"), zr = m(h.MonthSelect, "monthSelect"), Dr = m(h.NextTrigger, "nextTrigger"), Ar = m(h.Positioner, "positioner"), Br = m(h.PrevTrigger, "prevTrigger"), Fr = m(h.TableBody, "tableBody"), Mr = m(h.TableCell, "tableCell"), Er = m(h.TableCellTrigger, "tableCellTrigger"), Nr = m(h.TableHead, "tableHead"), Vr = m(h.TableHeader, "tableHeader"), Hr = m(h.Table, "table"), Te = m(h.TableRow, "tableRow"), _e = m(h.Trigger, "trigger"), jr = m(h.ViewControl, "viewControl"), Wr = m(h.View, "view"), Zr = m(h.YearSelect, "yearSelect"), ke = m(a(h.ClearTrigger), "clearTrigger"), Pe = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
245
245
|
"path",
|
|
246
246
|
{
|
|
247
247
|
d: "M18.2083 4H17.25V2H15.3333V4H7.66667V2H5.75V4H4.79167C3.72792 4 2.88458 4.9 2.88458 6L2.875 20C2.875 21.1 3.72792 22 4.79167 22H18.2083C19.2625 22 20.125 21.1 20.125 20V6C20.125 4.9 19.2625 4 18.2083 4ZM18.2083 20H4.79167V10H18.2083V20ZM18.2083 8H4.79167V6H18.2083V8ZM8.625 14H6.70833V12H8.625V14ZM12.4583 14H10.5417V12H12.4583V14ZM16.2917 14H14.375V12H16.2917V14ZM8.625 18H6.70833V16H8.625V18ZM12.4583 18H10.5417V16H12.4583V18ZM16.2917 18H14.375V16H16.2917V18Z",
|
|
248
248
|
fill: "#1E3A76"
|
|
249
249
|
}
|
|
250
|
-
) }),
|
|
251
|
-
/* @__PURE__ */
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
-
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
"
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
/* @__PURE__ */ e($, { children: /* @__PURE__ */ e(yr, { className: r, children: /* @__PURE__ */ e(ur, { children: /* @__PURE__ */ e(Pr, { view: "day", children: /* @__PURE__ */ e(u.Context, { children: (i) => /* @__PURE__ */ d(q, { children: [
|
|
265
|
-
/* @__PURE__ */ d(kr, { children: [
|
|
266
|
-
/* @__PURE__ */ e(xr, { asChild: !0, children: /* @__PURE__ */ e(Q, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(zr, {}) }) }),
|
|
267
|
-
/* @__PURE__ */ e(gr, {}),
|
|
268
|
-
/* @__PURE__ */ e(Rr, {}),
|
|
269
|
-
/* @__PURE__ */ e(br, { asChild: !0, children: /* @__PURE__ */ e(Q, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Dr, {}) }) })
|
|
250
|
+
) }), $r = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M10.4698 4.94L9.52979 4L5.52979 8L9.52979 12L10.4698 11.06L7.41645 8L10.4698 4.94Z", fill: "currentColor" }) }), Or = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M6.46979 4L5.52979 4.94L8.58312 8L5.52979 11.06L6.46979 12L10.4698 8L6.46979 4Z", fill: "currentColor" }) }), Vi = ({ placeholder: t, preflightClassName: r, selectionMode: o, ...i }) => /* @__PURE__ */ d(Rr, { ...i, selectionMode: o, children: [
|
|
251
|
+
/* @__PURE__ */ d(Ir, { children: [
|
|
252
|
+
/* @__PURE__ */ d(Ce, { children: [
|
|
253
|
+
/* @__PURE__ */ e(Se, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(fe, {}) }),
|
|
254
|
+
/* @__PURE__ */ d(we, { children: [
|
|
255
|
+
/* @__PURE__ */ e(ke, { asChild: !0, cursor: "pointer", mr: "space-4", children: /* @__PURE__ */ e("button", { children: /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
256
|
+
"path",
|
|
257
|
+
{
|
|
258
|
+
d: "M9.99996 1.66669C5.39163 1.66669 1.66663 5.39169 1.66663 10C1.66663 14.6084 5.39163 18.3334 9.99996 18.3334C14.6083 18.3334 18.3333 14.6084 18.3333 10C18.3333 5.39169 14.6083 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667ZM12.9916 5.83335L9.99996 8.82502L7.00829 5.83335L5.83329 7.00835L8.82496 10L5.83329 12.9917L7.00829 14.1667L9.99996 11.175L12.9916 14.1667L14.1666 12.9917L11.175 10L14.1666 7.00835L12.9916 5.83335Z",
|
|
259
|
+
fill: "currentColor"
|
|
260
|
+
}
|
|
261
|
+
) }) }) }),
|
|
262
|
+
/* @__PURE__ */ e(_e, { children: /* @__PURE__ */ e(Pe, {}) })
|
|
263
|
+
] })
|
|
270
264
|
] }),
|
|
271
|
-
/* @__PURE__ */ d(
|
|
272
|
-
/* @__PURE__ */ e(
|
|
273
|
-
/* @__PURE__ */
|
|
265
|
+
o === "range" ? /* @__PURE__ */ d(Ce, { children: [
|
|
266
|
+
/* @__PURE__ */ e(Se, { asChild: !0, index: 1, placeholder: t, children: /* @__PURE__ */ e(fe, {}) }),
|
|
267
|
+
/* @__PURE__ */ d(we, { children: [
|
|
268
|
+
/* @__PURE__ */ e(h.Context, { children: (c) => c.value.length === 2 ? /* @__PURE__ */ e(ke, { asChild: !0, cursor: "pointer", mr: "space-4", children: /* @__PURE__ */ e("button", { children: /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
269
|
+
"path",
|
|
270
|
+
{
|
|
271
|
+
d: "M9.99996 1.66669C5.39163 1.66669 1.66663 5.39169 1.66663 10C1.66663 14.6084 5.39163 18.3334 9.99996 18.3334C14.6083 18.3334 18.3333 14.6084 18.3333 10C18.3333 5.39169 14.6083 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667ZM12.9916 5.83335L9.99996 8.82502L7.00829 5.83335L5.83329 7.00835L8.82496 10L5.83329 12.9917L7.00829 14.1667L9.99996 11.175L12.9916 14.1667L14.1666 12.9917L11.175 10L14.1666 7.00835L12.9916 5.83335Z",
|
|
272
|
+
fill: "currentColor"
|
|
273
|
+
}
|
|
274
|
+
) }) }) }) : null }),
|
|
275
|
+
/* @__PURE__ */ e(_e, { children: /* @__PURE__ */ e(Pe, {}) })
|
|
276
|
+
] })
|
|
277
|
+
] }) : null
|
|
278
|
+
] }),
|
|
279
|
+
/* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(Ar, { className: r, children: /* @__PURE__ */ e(Lr, { children: /* @__PURE__ */ e(Wr, { view: "day", children: /* @__PURE__ */ e(h.Context, { children: (c) => /* @__PURE__ */ d(le, { children: [
|
|
280
|
+
/* @__PURE__ */ d(jr, { children: [
|
|
281
|
+
/* @__PURE__ */ e(Br, { asChild: !0, children: /* @__PURE__ */ e(ce, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e($r, {}) }) }),
|
|
282
|
+
/* @__PURE__ */ e(zr, {}),
|
|
283
|
+
/* @__PURE__ */ e(Zr, {}),
|
|
284
|
+
/* @__PURE__ */ e(Dr, { asChild: !0, children: /* @__PURE__ */ e(ce, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Or, {}) }) })
|
|
285
|
+
] }),
|
|
286
|
+
/* @__PURE__ */ d(Hr, { children: [
|
|
287
|
+
/* @__PURE__ */ e(Nr, { children: /* @__PURE__ */ e(Te, { children: c.weekDays.map((l, s) => /* @__PURE__ */ e(Vr, { children: l.short }, s)) }) }),
|
|
288
|
+
/* @__PURE__ */ e(Fr, { children: c.weeks.map((l, s) => /* @__PURE__ */ e(Te, { children: l.map((u, p) => /* @__PURE__ */ e(Mr, { value: u, children: /* @__PURE__ */ e(Er, { asChild: !0, children: /* @__PURE__ */ e("button", { children: u.day }) }) }, p)) }, s)) })
|
|
274
289
|
] })
|
|
275
290
|
] }) }) }) }) }) })
|
|
276
|
-
] }),
|
|
277
|
-
const [o, i] =
|
|
278
|
-
return /* @__PURE__ */ d(
|
|
279
|
-
|
|
280
|
-
/* @__PURE__ */ e(
|
|
291
|
+
] }), Hi = b((t, r) => {
|
|
292
|
+
const [o, i] = ye.splitVariantProps(t), [n, c] = W(i), { children: l, className: s, ...u } = c, p = ye(o);
|
|
293
|
+
return /* @__PURE__ */ d(y.div, { ref: r, className: N(p.root, Y(n), s), ...u, children: [
|
|
294
|
+
l,
|
|
295
|
+
/* @__PURE__ */ e(nt, { className: N(p.badge) })
|
|
281
296
|
] });
|
|
282
|
-
}), { withProvider:
|
|
283
|
-
/* @__PURE__ */ e(
|
|
284
|
-
/* @__PURE__ */ e(
|
|
285
|
-
/* @__PURE__ */ e(
|
|
286
|
-
] })),
|
|
297
|
+
}), { withProvider: Gr, withContext: re } = f(Ct), Ur = re(a(S.ItemControl), "itemControl"), Yr = re(a(S.ItemText), "itemText"), Xr = b(({ children: t, value: r, ...o }, i) => /* @__PURE__ */ d(S.Item, { ref: i, ...o, value: r, children: [
|
|
298
|
+
/* @__PURE__ */ e(Yr, { children: t }),
|
|
299
|
+
/* @__PURE__ */ e(Ur, {}),
|
|
300
|
+
/* @__PURE__ */ e(S.ItemHiddenInput, {})
|
|
301
|
+
] })), ji = Gr(a(S.Root), "root", {
|
|
287
302
|
defaultProps: {
|
|
288
303
|
orientation: "horizontal"
|
|
289
304
|
}
|
|
290
|
-
}),
|
|
291
|
-
/* @__PURE__ */ e(
|
|
292
|
-
/* @__PURE__ */ e(
|
|
293
|
-
/* @__PURE__ */ e(
|
|
294
|
-
] })),
|
|
305
|
+
}), Wi = re(a(Xr), "item"), Zi = re(a(S.Label), "label"), { withProvider: qr, withContext: oe } = f(St), Jr = oe(a(S.ItemControl), "itemControl"), Qr = oe(a(S.ItemText), "itemText"), Kr = b(({ children: t, value: r, ...o }, i) => /* @__PURE__ */ d(S.Item, { ref: i, ...o, value: r, children: [
|
|
306
|
+
/* @__PURE__ */ e(Jr, {}),
|
|
307
|
+
/* @__PURE__ */ e(Qr, { children: t }),
|
|
308
|
+
/* @__PURE__ */ e(S.ItemHiddenInput, {})
|
|
309
|
+
] })), $i = qr(a(S.Root), "root", {
|
|
295
310
|
defaultProps: {
|
|
296
311
|
orientation: "horizontal"
|
|
297
312
|
}
|
|
298
|
-
}),
|
|
313
|
+
}), Oi = oe(a(Kr), "item"), Gi = oe(a(S.Label), "label"), { withProvider: eo, withContext: pe } = f(Tt), Ui = eo(a(y.span), "root"), Yi = pe(a("img"), "avatar"), Xi = pe(a(y.p), "body"), qi = pe(a(y.button), "clearTrigger", {
|
|
299
314
|
defaultProps: {
|
|
300
315
|
type: "button",
|
|
301
316
|
children: /* @__PURE__ */ e("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
@@ -306,14 +321,14 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
306
321
|
}
|
|
307
322
|
) })
|
|
308
323
|
}
|
|
309
|
-
}), { withProvider:
|
|
324
|
+
}), { withProvider: to, withContext: ue } = f(_t, {
|
|
310
325
|
dataAttr: !0
|
|
311
|
-
}),
|
|
326
|
+
}), ro = ue(a(y.svg), "icon"), Ji = to(a(y.button), "root", {
|
|
312
327
|
defaultProps: {
|
|
313
328
|
role: "group"
|
|
314
329
|
},
|
|
315
|
-
afterSlot: /* @__PURE__ */ e(
|
|
316
|
-
}),
|
|
330
|
+
afterSlot: /* @__PURE__ */ e(ro, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M9.70501 6L8.29501 7.41L12.875 12L8.29501 16.59L9.70501 18L15.705 12L9.70501 6Z", fill: "currentColor" }) })
|
|
331
|
+
}), Qi = ue(a(y.h3), "title"), Ki = ue(a(y.p), "description"), de = a("button", kt), { withProvider: oo, withContext: he } = f(Pt), ao = oo(a(y.div), "root"), io = he(a(y.svg), "icon"), no = he(a(y.h3), "title"), lo = he(a(y.p), "description"), so = (t) => {
|
|
317
332
|
switch (t) {
|
|
318
333
|
default:
|
|
319
334
|
case "neutral":
|
|
@@ -357,12 +372,12 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
357
372
|
}
|
|
358
373
|
) });
|
|
359
374
|
}
|
|
360
|
-
},
|
|
361
|
-
({ title: t, description: r, showDismissTrigger: o, onDismiss: i, severity: n, showIcon:
|
|
362
|
-
/* @__PURE__ */ d(
|
|
363
|
-
|
|
375
|
+
}, en = b(
|
|
376
|
+
({ title: t, description: r, showDismissTrigger: o, onDismiss: i, severity: n, showIcon: c = !0, ...l }, s) => /* @__PURE__ */ d(ao, { ref: s, severity: n, ...l, children: [
|
|
377
|
+
/* @__PURE__ */ d(no, { children: [
|
|
378
|
+
c ? /* @__PURE__ */ e(io, { asChild: !0, children: so(n) }) : null,
|
|
364
379
|
t,
|
|
365
|
-
o ? /* @__PURE__ */ e(
|
|
380
|
+
o ? /* @__PURE__ */ e(de, { ml: "auto", onClick: i, size: "sm", variant: "tertiary", "aria-label": "dismiss", children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
366
381
|
"path",
|
|
367
382
|
{
|
|
368
383
|
d: "M12.6666 4.27334L11.7266 3.33334L7.99998 7.06L4.27331 3.33334L3.33331 4.27334L7.05998 8L3.33331 11.7267L4.27331 12.6667L7.99998 8.94L11.7266 12.6667L12.6666 11.7267L8.93998 8L12.6666 4.27334Z",
|
|
@@ -370,9 +385,9 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
370
385
|
}
|
|
371
386
|
) }) }) : null
|
|
372
387
|
] }),
|
|
373
|
-
r ? /* @__PURE__ */ e(
|
|
388
|
+
r ? /* @__PURE__ */ e(lo, { children: r }) : null
|
|
374
389
|
] })
|
|
375
|
-
),
|
|
390
|
+
), co = (t, r) => {
|
|
376
391
|
switch (r.type) {
|
|
377
392
|
case "CLEAR_SORT_DESCRIPTOR":
|
|
378
393
|
return {
|
|
@@ -387,46 +402,46 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
|
|
|
387
402
|
default:
|
|
388
403
|
return t;
|
|
389
404
|
}
|
|
390
|
-
},
|
|
391
|
-
const t =
|
|
405
|
+
}, Ze = Fe(void 0), po = () => {
|
|
406
|
+
const t = Me(Ze);
|
|
392
407
|
if (!t)
|
|
393
408
|
throw new Error("useTable must be used within a <TableProvider/>");
|
|
394
409
|
return t;
|
|
395
|
-
},
|
|
396
|
-
const [o, i] =
|
|
410
|
+
}, uo = ({ children: t, onSortChange: r }) => {
|
|
411
|
+
const [o, i] = Ft(co, {
|
|
397
412
|
sortDescriptor: null
|
|
398
413
|
});
|
|
399
|
-
|
|
414
|
+
Mt(() => {
|
|
400
415
|
r == null || r(o.sortDescriptor);
|
|
401
416
|
}, [JSON.stringify(o.sortDescriptor)]);
|
|
402
417
|
const n = {
|
|
403
418
|
...o,
|
|
404
419
|
dispatch: i
|
|
405
420
|
};
|
|
406
|
-
return /* @__PURE__ */ e(
|
|
407
|
-
}, { withProvider:
|
|
408
|
-
({ children: t, onSortChange: r, ...o }, i) => /* @__PURE__ */ e(
|
|
421
|
+
return /* @__PURE__ */ e(Ze.Provider, { value: n, children: t });
|
|
422
|
+
}, { withProvider: ho, withContext: F } = f(zt), tn = a("div", Rt), go = ho(a("table"), "root"), mo = b(
|
|
423
|
+
({ children: t, onSortChange: r, ...o }, i) => /* @__PURE__ */ e(uo, { onSortChange: r, children: /* @__PURE__ */ e(go, { ref: i, ...o, children: t }) })
|
|
409
424
|
);
|
|
410
|
-
|
|
411
|
-
const
|
|
412
|
-
({ children: t, addon: r, sortKey: o, onClick: i, ...n },
|
|
413
|
-
const { dispatch:
|
|
414
|
-
return /* @__PURE__ */ d(
|
|
415
|
-
o && (
|
|
425
|
+
mo.displayName = "Table";
|
|
426
|
+
const rn = F(a("thead"), "thead"), bo = F(a("div"), "sortIndicatorRoot"), Re = F(a("svg"), "sortIndicator"), on = F(a("tbody"), "tbody"), an = F(a("tr"), "tr"), yo = F(a("th"), "th"), xo = b(
|
|
427
|
+
({ children: t, addon: r, sortKey: o, onClick: i, ...n }, c) => {
|
|
428
|
+
const { dispatch: l, sortDescriptor: s } = po();
|
|
429
|
+
return /* @__PURE__ */ d(yo, { ref: c, ...n, ...o ? { "data-sortable": !0 } : {}, onClick: (p) => {
|
|
430
|
+
o && (s === null ? l({
|
|
416
431
|
type: "UPDATE_SORT_DESCRIPTOR",
|
|
417
432
|
payload: {
|
|
418
433
|
key: o,
|
|
419
434
|
direction: "asc"
|
|
420
435
|
}
|
|
421
|
-
}) :
|
|
436
|
+
}) : s.key === o ? s.direction === "asc" ? l({
|
|
422
437
|
type: "UPDATE_SORT_DESCRIPTOR",
|
|
423
438
|
payload: {
|
|
424
439
|
key: o,
|
|
425
440
|
direction: "desc"
|
|
426
441
|
}
|
|
427
|
-
}) :
|
|
442
|
+
}) : l({
|
|
428
443
|
type: "CLEAR_SORT_DESCRIPTOR"
|
|
429
|
-
}) :
|
|
444
|
+
}) : l({
|
|
430
445
|
type: "UPDATE_SORT_DESCRIPTOR",
|
|
431
446
|
payload: {
|
|
432
447
|
key: o,
|
|
@@ -439,11 +454,11 @@ const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L
|
|
|
439
454
|
" ",
|
|
440
455
|
r
|
|
441
456
|
] }) : null,
|
|
442
|
-
|
|
457
|
+
s && s.key === o ? /* @__PURE__ */ d(bo, { children: [
|
|
443
458
|
/* @__PURE__ */ e(
|
|
444
|
-
|
|
459
|
+
Re,
|
|
445
460
|
{
|
|
446
|
-
"data-active":
|
|
461
|
+
"data-active": s.direction === "asc" ? !0 : void 0,
|
|
447
462
|
viewBox: "0 0 8 8",
|
|
448
463
|
fill: "none",
|
|
449
464
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -451,9 +466,9 @@ const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L
|
|
|
451
466
|
}
|
|
452
467
|
),
|
|
453
468
|
/* @__PURE__ */ e(
|
|
454
|
-
|
|
469
|
+
Re,
|
|
455
470
|
{
|
|
456
|
-
"data-active":
|
|
471
|
+
"data-active": s.direction === "desc" ? !0 : void 0,
|
|
457
472
|
viewBox: "0 0 8 8",
|
|
458
473
|
fill: "none",
|
|
459
474
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -464,54 +479,173 @@ const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L
|
|
|
464
479
|
] });
|
|
465
480
|
}
|
|
466
481
|
);
|
|
467
|
-
|
|
468
|
-
const
|
|
469
|
-
const o =
|
|
470
|
-
return
|
|
482
|
+
xo.displayName = "Th";
|
|
483
|
+
const nn = F(a("td"), "td"), vo = a("td", Lt), fo = b((t, r) => {
|
|
484
|
+
const o = Ne(null);
|
|
485
|
+
return Ve(() => {
|
|
471
486
|
var i, n;
|
|
472
487
|
if (o.current) {
|
|
473
|
-
const
|
|
474
|
-
|
|
488
|
+
const c = (n = (i = o.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
|
|
489
|
+
c && o.current.setAttribute("colspan", c.children.length.toString());
|
|
475
490
|
}
|
|
476
|
-
}, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__group__title", children: /* @__PURE__ */ e(
|
|
491
|
+
}, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__group__title", children: /* @__PURE__ */ e(vo, { ref: o, ...t }) });
|
|
477
492
|
});
|
|
478
|
-
|
|
479
|
-
const
|
|
480
|
-
const o =
|
|
481
|
-
return
|
|
493
|
+
fo.displayName = "TableGroupTitle";
|
|
494
|
+
const wo = a("td", It), Co = b((t, r) => {
|
|
495
|
+
const o = Ne(null);
|
|
496
|
+
return Ve(() => {
|
|
482
497
|
var i, n;
|
|
483
498
|
if (o.current) {
|
|
484
|
-
const
|
|
485
|
-
|
|
499
|
+
const c = (n = (i = o.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
|
|
500
|
+
c && o.current.setAttribute("colspan", c.children.length.toString());
|
|
486
501
|
}
|
|
487
|
-
}, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__empty", children: /* @__PURE__ */ e(
|
|
502
|
+
}, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__empty", children: /* @__PURE__ */ e(wo, { ref: o, ...t }) });
|
|
488
503
|
});
|
|
489
|
-
|
|
490
|
-
const { withProvider:
|
|
491
|
-
({ children: t, separator: r =
|
|
492
|
-
var
|
|
493
|
-
const n =
|
|
494
|
-
|
|
504
|
+
Co.displayName = "TableEmptyRow";
|
|
505
|
+
const { withProvider: So, withContext: ge } = f(Dt), To = So(a("nav"), "root"), _o = ge(a("ol"), "list"), ln = ge(a("li"), "item"), sn = ge(a(y.a), "link"), ko = /* @__PURE__ */ e("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M6.47003 4.5L5.53003 5.44L8.58336 8.5L5.53003 11.56L6.47003 12.5L10.47 8.5L6.47003 4.5Z", fill: "#1E3A76" }) }), cn = b(
|
|
506
|
+
({ children: t, separator: r = ko, ...o }, i) => {
|
|
507
|
+
var c;
|
|
508
|
+
const n = Et.toArray(
|
|
509
|
+
Ht.isFragment(t) ? (c = t.props) == null ? void 0 : c.children : t
|
|
495
510
|
);
|
|
496
|
-
return /* @__PURE__ */ e(
|
|
497
|
-
"aria-current":
|
|
498
|
-
children:
|
|
499
|
-
|
|
500
|
-
r ? /* @__PURE__ */ e(
|
|
511
|
+
return /* @__PURE__ */ e(To, { ...o, "aria-label": o["aria-label"] ?? "breadcrumb", ref: i, children: /* @__PURE__ */ e(_o, { children: n.map((l, s) => xe(l, {
|
|
512
|
+
"aria-current": s === n.length - 1 ? "page" : void 0,
|
|
513
|
+
children: s === n.length - 1 ? l.props.children : /* @__PURE__ */ d(le, { children: [
|
|
514
|
+
l.props.children,
|
|
515
|
+
r ? /* @__PURE__ */ e(le, { children: typeof r == "object" ? xe(r, { role: "presentation" }) : /* @__PURE__ */ e("span", { role: "presentation", children: r }) }) : null
|
|
501
516
|
] })
|
|
502
517
|
})) }) });
|
|
503
518
|
}
|
|
504
|
-
), { withProvider:
|
|
519
|
+
), { withProvider: Po, withContext: ae } = f(At), dn = Po(B.Root, void 0, {
|
|
505
520
|
defaultProps: {
|
|
506
521
|
unmountOnExit: !0,
|
|
507
522
|
lazyMount: !0,
|
|
508
523
|
portalled: !0
|
|
509
524
|
}
|
|
510
|
-
}),
|
|
511
|
-
({ children: t, ...r }, o) => /* @__PURE__ */ e(
|
|
525
|
+
}), pn = ae(a(B.CloseTrigger), "closeTrigger"), un = ae(a(B.Trigger), "trigger"), Ro = ae(a(B.Positioner), "positioner"), $e = b(
|
|
526
|
+
({ children: t, ...r }, o) => /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(Ro, { children: /* @__PURE__ */ e(B.Content, { ref: o, ...r, children: t }) }) })
|
|
512
527
|
);
|
|
513
|
-
|
|
514
|
-
const
|
|
528
|
+
$e.displayName = B.Content.displayName;
|
|
529
|
+
const hn = ae(a($e), "content"), gn = B.Context;
|
|
530
|
+
function Lo({
|
|
531
|
+
value: t,
|
|
532
|
+
defaultValue: r,
|
|
533
|
+
finalValue: o,
|
|
534
|
+
onChange: i = () => {
|
|
535
|
+
}
|
|
536
|
+
}) {
|
|
537
|
+
const [n, c] = Nt(r !== void 0 ? r : o), l = (s, ...u) => {
|
|
538
|
+
c(s), i == null || i(s, ...u);
|
|
539
|
+
};
|
|
540
|
+
return t !== void 0 ? [t, i, !0] : [n, l, !1];
|
|
541
|
+
}
|
|
542
|
+
function I(t, r) {
|
|
543
|
+
const o = r - t + 1;
|
|
544
|
+
return Array.from({ length: o }, (i, n) => n + t);
|
|
545
|
+
}
|
|
546
|
+
const O = Symbol("dots"), Io = ({
|
|
547
|
+
total: t,
|
|
548
|
+
siblings: r = 1,
|
|
549
|
+
boundaries: o = 1,
|
|
550
|
+
page: i,
|
|
551
|
+
initialPage: n = 1,
|
|
552
|
+
onChange: c
|
|
553
|
+
}) => {
|
|
554
|
+
const l = Math.max(Math.trunc(t), 0), [s, u] = Lo({
|
|
555
|
+
value: i,
|
|
556
|
+
onChange: c,
|
|
557
|
+
defaultValue: n,
|
|
558
|
+
finalValue: n
|
|
559
|
+
}), p = (L) => {
|
|
560
|
+
L <= 0 ? u(1) : L > l ? u(l) : u(L);
|
|
561
|
+
}, v = () => p(s + 1), _ = () => p(s - 1), z = () => p(1), M = () => p(l);
|
|
562
|
+
return {
|
|
563
|
+
range: K(() => {
|
|
564
|
+
if (r * 2 + 3 + o * 2 >= l)
|
|
565
|
+
return I(1, l);
|
|
566
|
+
const q = Math.max(s - r, o), A = Math.min(s + r, l - o), Z = q > o + 2, ie = A < l - (o + 1);
|
|
567
|
+
if (!Z && ie) {
|
|
568
|
+
const ne = r * 2 + o + 2;
|
|
569
|
+
return [...I(1, ne), O, ...I(l - (o - 1), l)];
|
|
570
|
+
}
|
|
571
|
+
if (Z && !ie) {
|
|
572
|
+
const ne = o + 1 + 2 * r;
|
|
573
|
+
return [...I(1, o), O, ...I(l - ne, l)];
|
|
574
|
+
}
|
|
575
|
+
return [
|
|
576
|
+
...I(1, o),
|
|
577
|
+
O,
|
|
578
|
+
...I(q, A),
|
|
579
|
+
O,
|
|
580
|
+
...I(l - o + 1, l)
|
|
581
|
+
];
|
|
582
|
+
}, [l, r, o, s]),
|
|
583
|
+
active: s,
|
|
584
|
+
setPage: p,
|
|
585
|
+
next: v,
|
|
586
|
+
previous: _,
|
|
587
|
+
first: z,
|
|
588
|
+
last: M
|
|
589
|
+
};
|
|
590
|
+
}, Le = (t, r) => (o) => {
|
|
591
|
+
t == null || t(o), r == null || r(o);
|
|
592
|
+
}, { withProvider: zo, withContext: Oe } = f(Bt), Do = zo(a("div"), "root"), Ao = Oe(a("button"), "item"), Bo = Oe(a("div"), "dots"), mn = ({
|
|
593
|
+
total: t,
|
|
594
|
+
value: r,
|
|
595
|
+
defaultValue: o,
|
|
596
|
+
onChange: i,
|
|
597
|
+
disabled: n,
|
|
598
|
+
onNextPage: c,
|
|
599
|
+
onPrevPage: l,
|
|
600
|
+
siblings: s = 2,
|
|
601
|
+
boundaries: u = 1,
|
|
602
|
+
...p
|
|
603
|
+
}) => {
|
|
604
|
+
const { range: v, setPage: _, next: z, previous: M, active: D } = Io({
|
|
605
|
+
page: r,
|
|
606
|
+
initialPage: o,
|
|
607
|
+
onChange: i,
|
|
608
|
+
total: t,
|
|
609
|
+
siblings: s,
|
|
610
|
+
boundaries: u
|
|
611
|
+
}), L = Le(c, z), q = Le(l, M);
|
|
612
|
+
return /* @__PURE__ */ d(Do, { ...p, children: [
|
|
613
|
+
/* @__PURE__ */ e(
|
|
614
|
+
de,
|
|
615
|
+
{
|
|
616
|
+
size: "md",
|
|
617
|
+
variant: "tertiary",
|
|
618
|
+
"aria-label": "Previous",
|
|
619
|
+
disabled: n || D === 1,
|
|
620
|
+
onClick: q,
|
|
621
|
+
children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M10.47 11.06L7.4167 8L10.47 4.94L9.53003 4L5.53003 8L9.53003 12L10.47 11.06Z", fill: "currentColor" }) })
|
|
622
|
+
}
|
|
623
|
+
),
|
|
624
|
+
v.map((A, Z) => A === O ? /* @__PURE__ */ Ee(Bo, { ...n ? { "data-disabled": !0 } : {}, key: Z }, "...") : /* @__PURE__ */ e(
|
|
625
|
+
Ao,
|
|
626
|
+
{
|
|
627
|
+
disabled: n,
|
|
628
|
+
...A === D ? {
|
|
629
|
+
"data-selected": !0
|
|
630
|
+
} : {},
|
|
631
|
+
onClick: () => _(A),
|
|
632
|
+
children: A
|
|
633
|
+
},
|
|
634
|
+
Z
|
|
635
|
+
)),
|
|
636
|
+
/* @__PURE__ */ e(
|
|
637
|
+
de,
|
|
638
|
+
{
|
|
639
|
+
size: "md",
|
|
640
|
+
variant: "tertiary",
|
|
641
|
+
"aria-label": "Previous",
|
|
642
|
+
disabled: n || D === t,
|
|
643
|
+
onClick: L,
|
|
644
|
+
children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M6.47003 4L5.53003 4.94L8.58336 8L5.53003 11.06L6.47003 12L10.47 8L6.47003 4Z", fill: "currentColor" }) })
|
|
645
|
+
}
|
|
646
|
+
)
|
|
647
|
+
] });
|
|
648
|
+
}, Ie = Vt({
|
|
515
649
|
slots: ["root", "price", "unit"],
|
|
516
650
|
base: {
|
|
517
651
|
root: {
|
|
@@ -575,23 +709,23 @@ const Yi = U(a(_e), "content"), Ui = I.Context, he = vt({
|
|
|
575
709
|
defaultVariants: {
|
|
576
710
|
size: "md"
|
|
577
711
|
}
|
|
578
|
-
}),
|
|
579
|
-
const [o, i] =
|
|
580
|
-
return /* @__PURE__ */ d("span", { ref: r, className:
|
|
581
|
-
/* @__PURE__ */ e("span", { className:
|
|
582
|
-
|
|
712
|
+
}), Fo = b((t, r) => {
|
|
713
|
+
const [o, i] = Ie.splitVariantProps(t), [n, c] = W(i), { className: l, unit: s, price: u, ...p } = c, v = Ie(o), _ = !!s;
|
|
714
|
+
return /* @__PURE__ */ d("span", { ref: r, className: N(v.root, Y(n), l), ...p, children: [
|
|
715
|
+
/* @__PURE__ */ e("span", { className: v.price, children: u }),
|
|
716
|
+
_ ? /* @__PURE__ */ d("span", { className: v.unit, children: [
|
|
583
717
|
"/ ",
|
|
584
|
-
|
|
718
|
+
s
|
|
585
719
|
] }) : null
|
|
586
720
|
] });
|
|
587
721
|
});
|
|
588
|
-
|
|
589
|
-
const
|
|
722
|
+
Fo.displayName = "PriceTag";
|
|
723
|
+
const Mo = {
|
|
590
724
|
xl: "1536px",
|
|
591
725
|
lg: "1200px",
|
|
592
726
|
md: "900px",
|
|
593
727
|
sm: "600px"
|
|
594
|
-
},
|
|
728
|
+
}, Eo = {
|
|
595
729
|
extend: {
|
|
596
730
|
checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
597
731
|
closed: "&:where([data-state=closed])",
|
|
@@ -609,7 +743,7 @@ const xo = {
|
|
|
609
743
|
today: "&:where([data-today])",
|
|
610
744
|
underValue: '&:where([data-state="under-value"])'
|
|
611
745
|
}
|
|
612
|
-
},
|
|
746
|
+
}, No = {
|
|
613
747
|
"2xl": "672px",
|
|
614
748
|
"3xl": "768px",
|
|
615
749
|
"4xl": "896px",
|
|
@@ -622,7 +756,7 @@ const xo = {
|
|
|
622
756
|
sm: "384px",
|
|
623
757
|
xl: "576px",
|
|
624
758
|
xs: "320px"
|
|
625
|
-
},
|
|
759
|
+
}, Vo = jt({
|
|
626
760
|
blob: {
|
|
627
761
|
"0%": {
|
|
628
762
|
rotate: "0deg"
|
|
@@ -740,7 +874,7 @@ const xo = {
|
|
|
740
874
|
transform: "rotate(360deg)"
|
|
741
875
|
}
|
|
742
876
|
}
|
|
743
|
-
}),
|
|
877
|
+
}), Ge = C({
|
|
744
878
|
base: {
|
|
745
879
|
_focusVisible: {
|
|
746
880
|
ring: "2px solid {colors.primary.200}",
|
|
@@ -931,7 +1065,7 @@ const xo = {
|
|
|
931
1065
|
}
|
|
932
1066
|
}
|
|
933
1067
|
]
|
|
934
|
-
}),
|
|
1068
|
+
}), Ho = C({
|
|
935
1069
|
className: "heading",
|
|
936
1070
|
defaultVariants: {
|
|
937
1071
|
size: "h2"
|
|
@@ -961,7 +1095,7 @@ const xo = {
|
|
|
961
1095
|
h6: { textStyle: "heading.h6" }
|
|
962
1096
|
}
|
|
963
1097
|
}
|
|
964
|
-
}),
|
|
1098
|
+
}), jo = g({
|
|
965
1099
|
base: {
|
|
966
1100
|
control: {
|
|
967
1101
|
_focus: {
|
|
@@ -1021,7 +1155,7 @@ const xo = {
|
|
|
1021
1155
|
size: "md"
|
|
1022
1156
|
},
|
|
1023
1157
|
jsx: ["Switch", "SwitchField"],
|
|
1024
|
-
slots:
|
|
1158
|
+
slots: Je.keys(),
|
|
1025
1159
|
variants: {
|
|
1026
1160
|
size: {
|
|
1027
1161
|
md: {
|
|
@@ -1043,7 +1177,7 @@ const xo = {
|
|
|
1043
1177
|
}
|
|
1044
1178
|
}
|
|
1045
1179
|
}
|
|
1046
|
-
}),
|
|
1180
|
+
}), Wo = C({
|
|
1047
1181
|
className: "text",
|
|
1048
1182
|
defaultVariants: {
|
|
1049
1183
|
size: "md"
|
|
@@ -1076,7 +1210,7 @@ const xo = {
|
|
|
1076
1210
|
sm: { textStyle: "body.sm" }
|
|
1077
1211
|
}
|
|
1078
1212
|
}
|
|
1079
|
-
}),
|
|
1213
|
+
}), Ue = C({
|
|
1080
1214
|
base: {
|
|
1081
1215
|
'&[type="time"]::-webkit-calendar-picker-indicator': {
|
|
1082
1216
|
display: "none"
|
|
@@ -1130,15 +1264,15 @@ const xo = {
|
|
|
1130
1264
|
}
|
|
1131
1265
|
}
|
|
1132
1266
|
}
|
|
1133
|
-
}),
|
|
1267
|
+
}), Zo = C({
|
|
1134
1268
|
className: "textarea",
|
|
1135
1269
|
jsx: ["Textarea"],
|
|
1136
1270
|
base: {
|
|
1137
1271
|
px: "space-16",
|
|
1138
1272
|
py: "space-8",
|
|
1139
|
-
...
|
|
1273
|
+
...Ue.base
|
|
1140
1274
|
}
|
|
1141
|
-
}),
|
|
1275
|
+
}), $o = C({
|
|
1142
1276
|
base: {
|
|
1143
1277
|
_invalid: {
|
|
1144
1278
|
'& [data-recipe="formHelperText"]': {
|
|
@@ -1168,7 +1302,7 @@ const xo = {
|
|
|
1168
1302
|
className: "form-control",
|
|
1169
1303
|
description: "The styles for the FormControl component",
|
|
1170
1304
|
jsx: ["FormControl"]
|
|
1171
|
-
}),
|
|
1305
|
+
}), Oo = C({
|
|
1172
1306
|
base: {
|
|
1173
1307
|
color: "grey.400",
|
|
1174
1308
|
fontFamily: "satoshi",
|
|
@@ -1177,9 +1311,9 @@ const xo = {
|
|
|
1177
1311
|
className: "form-helper-text",
|
|
1178
1312
|
description: "The styles for the FormHelperText component",
|
|
1179
1313
|
jsx: ["FormHelperText"]
|
|
1180
|
-
}),
|
|
1314
|
+
}), Go = Qe.extendWith("header", "body", "footer"), Uo = g({
|
|
1181
1315
|
className: "drawer",
|
|
1182
|
-
slots:
|
|
1316
|
+
slots: Go.keys(),
|
|
1183
1317
|
jsx: ["Drawer"],
|
|
1184
1318
|
base: {
|
|
1185
1319
|
backdrop: {
|
|
@@ -1297,10 +1431,10 @@ const xo = {
|
|
|
1297
1431
|
}
|
|
1298
1432
|
}
|
|
1299
1433
|
}
|
|
1300
|
-
}),
|
|
1434
|
+
}), Yo = g({
|
|
1301
1435
|
className: "accordion",
|
|
1302
1436
|
jsx: ["Accordion"],
|
|
1303
|
-
slots:
|
|
1437
|
+
slots: Ke.keys(),
|
|
1304
1438
|
base: {
|
|
1305
1439
|
root: {
|
|
1306
1440
|
display: "flex",
|
|
@@ -1401,7 +1535,7 @@ const xo = {
|
|
|
1401
1535
|
}
|
|
1402
1536
|
}
|
|
1403
1537
|
}
|
|
1404
|
-
}),
|
|
1538
|
+
}), Xo = g({
|
|
1405
1539
|
base: {
|
|
1406
1540
|
root: {
|
|
1407
1541
|
color: "grey.400",
|
|
@@ -1440,9 +1574,9 @@ const xo = {
|
|
|
1440
1574
|
className: "form-label",
|
|
1441
1575
|
description: "The styles for the FormLabel component",
|
|
1442
1576
|
jsx: ["FormLabel"]
|
|
1443
|
-
}),
|
|
1577
|
+
}), qo = g({
|
|
1444
1578
|
className: "checkbox",
|
|
1445
|
-
slots:
|
|
1579
|
+
slots: et.keys(),
|
|
1446
1580
|
jsx: ["Checkbox"],
|
|
1447
1581
|
base: {
|
|
1448
1582
|
root: {
|
|
@@ -1558,9 +1692,9 @@ const xo = {
|
|
|
1558
1692
|
}
|
|
1559
1693
|
}
|
|
1560
1694
|
}
|
|
1561
|
-
}),
|
|
1695
|
+
}), Jo = g({
|
|
1562
1696
|
className: "tabs",
|
|
1563
|
-
slots:
|
|
1697
|
+
slots: tt.keys(),
|
|
1564
1698
|
base: {
|
|
1565
1699
|
root: {
|
|
1566
1700
|
isolation: "isolate",
|
|
@@ -1664,7 +1798,7 @@ const xo = {
|
|
|
1664
1798
|
}
|
|
1665
1799
|
}
|
|
1666
1800
|
}
|
|
1667
|
-
}),
|
|
1801
|
+
}), Qo = g({
|
|
1668
1802
|
base: {
|
|
1669
1803
|
control: {
|
|
1670
1804
|
fontFamily: "satoshi",
|
|
@@ -1801,7 +1935,7 @@ const xo = {
|
|
|
1801
1935
|
size: "md"
|
|
1802
1936
|
},
|
|
1803
1937
|
jsx: ["Select"],
|
|
1804
|
-
slots:
|
|
1938
|
+
slots: rt.keys(),
|
|
1805
1939
|
variants: {
|
|
1806
1940
|
size: {
|
|
1807
1941
|
md: {
|
|
@@ -1817,7 +1951,7 @@ const xo = {
|
|
|
1817
1951
|
}
|
|
1818
1952
|
}
|
|
1819
1953
|
}
|
|
1820
|
-
}),
|
|
1954
|
+
}), Ko = C({
|
|
1821
1955
|
base: {
|
|
1822
1956
|
alignItems: "center",
|
|
1823
1957
|
borderRadius: "inherit",
|
|
@@ -1830,7 +1964,7 @@ const xo = {
|
|
|
1830
1964
|
className: "input-addon",
|
|
1831
1965
|
description: "The styles for the InputAddon component",
|
|
1832
1966
|
jsx: ["InputAddon"]
|
|
1833
|
-
}),
|
|
1967
|
+
}), ea = C({
|
|
1834
1968
|
base: {
|
|
1835
1969
|
'& [data-recipe="input"]': {
|
|
1836
1970
|
border: {
|
|
@@ -1873,15 +2007,21 @@ const xo = {
|
|
|
1873
2007
|
className: "input-group",
|
|
1874
2008
|
description: "The styles for the InputGroup component",
|
|
1875
2009
|
jsx: ["InputGroup"]
|
|
1876
|
-
}),
|
|
2010
|
+
}), ze = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", ta = g({
|
|
1877
2011
|
className: "datepicker",
|
|
1878
|
-
slots:
|
|
2012
|
+
slots: ot.keys(),
|
|
1879
2013
|
jsx: ["DatePicker"],
|
|
1880
2014
|
base: {
|
|
1881
2015
|
root: {
|
|
1882
2016
|
display: "flex",
|
|
1883
2017
|
flexDirection: "column"
|
|
1884
2018
|
},
|
|
2019
|
+
control: {
|
|
2020
|
+
display: "flex",
|
|
2021
|
+
flexDirection: "row",
|
|
2022
|
+
gap: "space-8",
|
|
2023
|
+
alignItems: "center"
|
|
2024
|
+
},
|
|
1885
2025
|
viewControl: {
|
|
1886
2026
|
display: "flex",
|
|
1887
2027
|
justifyContent: "space-between",
|
|
@@ -1918,7 +2058,7 @@ const xo = {
|
|
|
1918
2058
|
px: "space-4",
|
|
1919
2059
|
appearance: "none",
|
|
1920
2060
|
paddingRight: "30px",
|
|
1921
|
-
background: `url('${
|
|
2061
|
+
background: `url('${ze}') no-repeat right 10px center`,
|
|
1922
2062
|
_focus: {
|
|
1923
2063
|
border: "1px solid {colors.primary.500}"
|
|
1924
2064
|
}
|
|
@@ -1934,7 +2074,7 @@ const xo = {
|
|
|
1934
2074
|
px: "space-4",
|
|
1935
2075
|
appearance: "none",
|
|
1936
2076
|
paddingRight: "30px",
|
|
1937
|
-
background: `url('${
|
|
2077
|
+
background: `url('${ze}') no-repeat right 10px center`,
|
|
1938
2078
|
_focus: {
|
|
1939
2079
|
border: "1px solid {colors.primary.500}"
|
|
1940
2080
|
}
|
|
@@ -2033,7 +2173,7 @@ const xo = {
|
|
|
2033
2173
|
textAlign: "center"
|
|
2034
2174
|
}
|
|
2035
2175
|
}
|
|
2036
|
-
}),
|
|
2176
|
+
}), ra = g({
|
|
2037
2177
|
base: {
|
|
2038
2178
|
root: {
|
|
2039
2179
|
fontFamily: "satoshi",
|
|
@@ -2138,10 +2278,10 @@ const xo = {
|
|
|
2138
2278
|
}
|
|
2139
2279
|
}
|
|
2140
2280
|
}
|
|
2141
|
-
}),
|
|
2281
|
+
}), oa = g({
|
|
2142
2282
|
className: "radio-button-group",
|
|
2143
2283
|
jsx: ["RadioButtonGroup"],
|
|
2144
|
-
slots:
|
|
2284
|
+
slots: Be.keys(),
|
|
2145
2285
|
base: {
|
|
2146
2286
|
root: {
|
|
2147
2287
|
display: "inline-flex",
|
|
@@ -2205,7 +2345,7 @@ const xo = {
|
|
|
2205
2345
|
}
|
|
2206
2346
|
}
|
|
2207
2347
|
}
|
|
2208
|
-
}),
|
|
2348
|
+
}), aa = g({
|
|
2209
2349
|
base: {
|
|
2210
2350
|
item: {
|
|
2211
2351
|
_disabled: {
|
|
@@ -2287,7 +2427,7 @@ const xo = {
|
|
|
2287
2427
|
defaultVariants: {
|
|
2288
2428
|
size: "md"
|
|
2289
2429
|
},
|
|
2290
|
-
slots:
|
|
2430
|
+
slots: Be.keys(),
|
|
2291
2431
|
variants: {
|
|
2292
2432
|
size: {
|
|
2293
2433
|
md: {
|
|
@@ -2314,7 +2454,7 @@ const xo = {
|
|
|
2314
2454
|
}
|
|
2315
2455
|
}
|
|
2316
2456
|
}
|
|
2317
|
-
}),
|
|
2457
|
+
}), ia = g({
|
|
2318
2458
|
base: {
|
|
2319
2459
|
root: {
|
|
2320
2460
|
borderRadius: "full",
|
|
@@ -2437,7 +2577,7 @@ const xo = {
|
|
|
2437
2577
|
}
|
|
2438
2578
|
}
|
|
2439
2579
|
}
|
|
2440
|
-
}),
|
|
2580
|
+
}), na = g({
|
|
2441
2581
|
base: {
|
|
2442
2582
|
root: {
|
|
2443
2583
|
position: "relative",
|
|
@@ -2518,82 +2658,82 @@ const xo = {
|
|
|
2518
2658
|
description: "The styles for the ActionCard component",
|
|
2519
2659
|
jsx: ["ActionCard", "ActionCardTitle", "ActionCardDescription"]
|
|
2520
2660
|
});
|
|
2521
|
-
function
|
|
2661
|
+
function la(t) {
|
|
2522
2662
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2523
2663
|
}
|
|
2524
|
-
var
|
|
2525
|
-
return
|
|
2664
|
+
var sa = function(r) {
|
|
2665
|
+
return ca(r) && !da(r);
|
|
2526
2666
|
};
|
|
2527
|
-
function
|
|
2667
|
+
function ca(t) {
|
|
2528
2668
|
return !!t && typeof t == "object";
|
|
2529
2669
|
}
|
|
2530
|
-
function
|
|
2670
|
+
function da(t) {
|
|
2531
2671
|
var r = Object.prototype.toString.call(t);
|
|
2532
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
2672
|
+
return r === "[object RegExp]" || r === "[object Date]" || ha(t);
|
|
2533
2673
|
}
|
|
2534
|
-
var
|
|
2535
|
-
function
|
|
2536
|
-
return t.$$typeof ===
|
|
2674
|
+
var pa = typeof Symbol == "function" && Symbol.for, ua = pa ? Symbol.for("react.element") : 60103;
|
|
2675
|
+
function ha(t) {
|
|
2676
|
+
return t.$$typeof === ua;
|
|
2537
2677
|
}
|
|
2538
|
-
function
|
|
2678
|
+
function ga(t) {
|
|
2539
2679
|
return Array.isArray(t) ? [] : {};
|
|
2540
2680
|
}
|
|
2541
|
-
function
|
|
2542
|
-
return r.clone !== !1 && r.isMergeableObject(t) ?
|
|
2681
|
+
function G(t, r) {
|
|
2682
|
+
return r.clone !== !1 && r.isMergeableObject(t) ? V(ga(t), t, r) : t;
|
|
2543
2683
|
}
|
|
2544
|
-
function
|
|
2684
|
+
function ma(t, r, o) {
|
|
2545
2685
|
return t.concat(r).map(function(i) {
|
|
2546
|
-
return
|
|
2686
|
+
return G(i, o);
|
|
2547
2687
|
});
|
|
2548
2688
|
}
|
|
2549
|
-
function
|
|
2689
|
+
function ba(t, r) {
|
|
2550
2690
|
if (!r.customMerge)
|
|
2551
|
-
return
|
|
2691
|
+
return V;
|
|
2552
2692
|
var o = r.customMerge(t);
|
|
2553
|
-
return typeof o == "function" ? o :
|
|
2693
|
+
return typeof o == "function" ? o : V;
|
|
2554
2694
|
}
|
|
2555
|
-
function
|
|
2695
|
+
function ya(t) {
|
|
2556
2696
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
|
|
2557
2697
|
return Object.propertyIsEnumerable.call(t, r);
|
|
2558
2698
|
}) : [];
|
|
2559
2699
|
}
|
|
2560
|
-
function
|
|
2561
|
-
return Object.keys(t).concat(
|
|
2700
|
+
function De(t) {
|
|
2701
|
+
return Object.keys(t).concat(ya(t));
|
|
2562
2702
|
}
|
|
2563
|
-
function
|
|
2703
|
+
function Ye(t, r) {
|
|
2564
2704
|
try {
|
|
2565
2705
|
return r in t;
|
|
2566
2706
|
} catch {
|
|
2567
2707
|
return !1;
|
|
2568
2708
|
}
|
|
2569
2709
|
}
|
|
2570
|
-
function
|
|
2571
|
-
return
|
|
2710
|
+
function xa(t, r) {
|
|
2711
|
+
return Ye(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
|
|
2572
2712
|
}
|
|
2573
|
-
function
|
|
2713
|
+
function va(t, r, o) {
|
|
2574
2714
|
var i = {};
|
|
2575
|
-
return o.isMergeableObject(t) &&
|
|
2576
|
-
i[n] =
|
|
2577
|
-
}),
|
|
2578
|
-
|
|
2715
|
+
return o.isMergeableObject(t) && De(t).forEach(function(n) {
|
|
2716
|
+
i[n] = G(t[n], o);
|
|
2717
|
+
}), De(r).forEach(function(n) {
|
|
2718
|
+
xa(t, n) || (Ye(t, n) && o.isMergeableObject(r[n]) ? i[n] = ba(n, o)(t[n], r[n], o) : i[n] = G(r[n], o));
|
|
2579
2719
|
}), i;
|
|
2580
2720
|
}
|
|
2581
|
-
function
|
|
2582
|
-
o = o || {}, o.arrayMerge = o.arrayMerge ||
|
|
2583
|
-
var i = Array.isArray(r), n = Array.isArray(t),
|
|
2584
|
-
return
|
|
2721
|
+
function V(t, r, o) {
|
|
2722
|
+
o = o || {}, o.arrayMerge = o.arrayMerge || ma, o.isMergeableObject = o.isMergeableObject || sa, o.cloneUnlessOtherwiseSpecified = G;
|
|
2723
|
+
var i = Array.isArray(r), n = Array.isArray(t), c = i === n;
|
|
2724
|
+
return c ? i ? o.arrayMerge(t, r, o) : va(t, r, o) : G(r, o);
|
|
2585
2725
|
}
|
|
2586
|
-
|
|
2726
|
+
V.all = function(r, o) {
|
|
2587
2727
|
if (!Array.isArray(r))
|
|
2588
2728
|
throw new Error("first argument should be an array");
|
|
2589
2729
|
return r.reduce(function(i, n) {
|
|
2590
|
-
return
|
|
2730
|
+
return V(i, n, o);
|
|
2591
2731
|
}, {});
|
|
2592
2732
|
};
|
|
2593
|
-
var
|
|
2594
|
-
const
|
|
2595
|
-
|
|
2596
|
-
|
|
2733
|
+
var fa = V, wa = fa;
|
|
2734
|
+
const Ca = /* @__PURE__ */ la(wa), Sa = Ca(
|
|
2735
|
+
Ge,
|
|
2736
|
+
C({
|
|
2597
2737
|
className: "icon-button",
|
|
2598
2738
|
defaultVariants: {
|
|
2599
2739
|
size: "md",
|
|
@@ -2650,7 +2790,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2650
2790
|
}
|
|
2651
2791
|
}
|
|
2652
2792
|
})
|
|
2653
|
-
),
|
|
2793
|
+
), Ta = g({
|
|
2654
2794
|
base: {
|
|
2655
2795
|
content: {
|
|
2656
2796
|
_closed: {
|
|
@@ -2679,8 +2819,8 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2679
2819
|
},
|
|
2680
2820
|
className: "tooltip",
|
|
2681
2821
|
jsx: ["Tooltip"],
|
|
2682
|
-
slots:
|
|
2683
|
-
}),
|
|
2822
|
+
slots: at.keys()
|
|
2823
|
+
}), _a = g({
|
|
2684
2824
|
base: {
|
|
2685
2825
|
root: {
|
|
2686
2826
|
borderRadius: "radius-8",
|
|
@@ -2741,7 +2881,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2741
2881
|
}
|
|
2742
2882
|
}
|
|
2743
2883
|
}
|
|
2744
|
-
}),
|
|
2884
|
+
}), ka = g({
|
|
2745
2885
|
className: "table",
|
|
2746
2886
|
jsx: ["Table", "Thead", "Tbody", "Tr", "Th", "Td", "SortIndicatorRoot", "SortIndicator"],
|
|
2747
2887
|
slots: ["root", "thead", "tbody", "tr", "th", "td", "sortIndicatorRoot", "sortIndicator"],
|
|
@@ -2827,7 +2967,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2827
2967
|
}
|
|
2828
2968
|
}
|
|
2829
2969
|
}
|
|
2830
|
-
}),
|
|
2970
|
+
}), Pa = C({
|
|
2831
2971
|
className: "table-group-title",
|
|
2832
2972
|
jsx: ["TableGroupTitle"],
|
|
2833
2973
|
base: {
|
|
@@ -2852,7 +2992,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2852
2992
|
defaultVariants: {
|
|
2853
2993
|
variant: "primary"
|
|
2854
2994
|
}
|
|
2855
|
-
}),
|
|
2995
|
+
}), Ra = C({
|
|
2856
2996
|
className: "table-empty-row",
|
|
2857
2997
|
jsx: ["TableEmptyRow"],
|
|
2858
2998
|
base: {
|
|
@@ -2864,7 +3004,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2864
3004
|
px: "space-16",
|
|
2865
3005
|
color: "grey.400"
|
|
2866
3006
|
}
|
|
2867
|
-
}),
|
|
3007
|
+
}), La = C({
|
|
2868
3008
|
className: "table-container",
|
|
2869
3009
|
jsx: ["TableContainer"],
|
|
2870
3010
|
base: {
|
|
@@ -2878,7 +3018,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2878
3018
|
tableLayout: "auto!"
|
|
2879
3019
|
}
|
|
2880
3020
|
}
|
|
2881
|
-
}),
|
|
3021
|
+
}), Ia = g({
|
|
2882
3022
|
className: "breadcrumb",
|
|
2883
3023
|
jsx: ["Breadcrumb", "BreadcrumbItem"],
|
|
2884
3024
|
slots: ["root", "list", "item", "link"],
|
|
@@ -2905,9 +3045,9 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2905
3045
|
}
|
|
2906
3046
|
},
|
|
2907
3047
|
variants: {}
|
|
2908
|
-
}),
|
|
3048
|
+
}), za = g({
|
|
2909
3049
|
className: "popover",
|
|
2910
|
-
slots:
|
|
3050
|
+
slots: it.keys(),
|
|
2911
3051
|
jsx: ["Popover", "PopoverTrigger", "PopoverContent", "PopoverCloseTrigger"],
|
|
2912
3052
|
base: {
|
|
2913
3053
|
positioner: {
|
|
@@ -2927,40 +3067,107 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
2927
3067
|
}
|
|
2928
3068
|
}
|
|
2929
3069
|
}
|
|
2930
|
-
}),
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
3070
|
+
}), Ae = {
|
|
3071
|
+
width: "size-32",
|
|
3072
|
+
height: "size-32",
|
|
3073
|
+
display: "flex",
|
|
3074
|
+
alignItems: "center",
|
|
3075
|
+
justifyContent: "center",
|
|
3076
|
+
outline: "none",
|
|
3077
|
+
border: "1px solid",
|
|
3078
|
+
borderRadius: "radius-8",
|
|
3079
|
+
fontWeight: "bold",
|
|
3080
|
+
textStyle: "body.md",
|
|
3081
|
+
userSelect: "none",
|
|
3082
|
+
background: {
|
|
3083
|
+
base: "white",
|
|
3084
|
+
_selected: "primary.500",
|
|
3085
|
+
_hover: "primary.100",
|
|
3086
|
+
_disabled: {
|
|
3087
|
+
base: "grey.50",
|
|
3088
|
+
_selected: "grey.300",
|
|
3089
|
+
_hover: "grey.50"
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
3092
|
+
color: {
|
|
3093
|
+
base: "primary.500",
|
|
3094
|
+
_selected: "white",
|
|
3095
|
+
_disabled: {
|
|
3096
|
+
base: "grey.300",
|
|
3097
|
+
_selected: "grey.100"
|
|
3098
|
+
}
|
|
3099
|
+
},
|
|
3100
|
+
borderColor: {
|
|
3101
|
+
base: "primary.100",
|
|
3102
|
+
_selected: "primary.500",
|
|
3103
|
+
_hover: "secondary.500",
|
|
3104
|
+
_focusVisible: "secondary.500",
|
|
3105
|
+
_disabled: {
|
|
3106
|
+
base: "grey.50",
|
|
3107
|
+
_selected: "grey.300",
|
|
3108
|
+
_hover: "grey.50"
|
|
3109
|
+
}
|
|
3110
|
+
}
|
|
3111
|
+
}, Da = g({
|
|
3112
|
+
className: "pagination",
|
|
3113
|
+
jsx: ["Pagination"],
|
|
3114
|
+
slots: ["root", "item", "dots"],
|
|
3115
|
+
description: "The styles for the pagination component",
|
|
3116
|
+
base: {
|
|
3117
|
+
root: {
|
|
3118
|
+
fontFamily: "satoshi",
|
|
3119
|
+
display: "flex",
|
|
3120
|
+
flexDirection: "row",
|
|
3121
|
+
gap: "space-4"
|
|
3122
|
+
},
|
|
3123
|
+
item: {
|
|
3124
|
+
...Ae,
|
|
3125
|
+
cursor: {
|
|
3126
|
+
base: "pointer",
|
|
3127
|
+
_disabled: "default"
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
dots: {
|
|
3131
|
+
...Ae,
|
|
3132
|
+
userSelect: "none",
|
|
3133
|
+
pointerEvents: "none"
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
}), Aa = {
|
|
3137
|
+
button: Ge,
|
|
3138
|
+
iconButton: Sa,
|
|
3139
|
+
heading: Ho,
|
|
3140
|
+
switchRecipe: jo,
|
|
3141
|
+
text: Wo,
|
|
3142
|
+
textarea: Zo,
|
|
3143
|
+
formControl: $o,
|
|
3144
|
+
formHelperText: Oo,
|
|
3145
|
+
input: Ue,
|
|
3146
|
+
inputAddon: Ko,
|
|
3147
|
+
inputGroup: ea,
|
|
3148
|
+
tableGroupTitle: Pa,
|
|
3149
|
+
tableEmptyRow: Ra,
|
|
3150
|
+
tableContainer: La
|
|
3151
|
+
}, Ba = {
|
|
3152
|
+
drawer: Uo,
|
|
3153
|
+
radioButtonGroup: oa,
|
|
3154
|
+
radioGroup: aa,
|
|
3155
|
+
accordion: Yo,
|
|
3156
|
+
formLabel: Xo,
|
|
3157
|
+
checkbox: qo,
|
|
3158
|
+
datepicker: ta,
|
|
3159
|
+
tabs: Jo,
|
|
3160
|
+
tag: ra,
|
|
3161
|
+
select: Qo,
|
|
3162
|
+
chip: ia,
|
|
3163
|
+
actionCard: na,
|
|
3164
|
+
tooltip: Ta,
|
|
3165
|
+
alert: _a,
|
|
3166
|
+
table: ka,
|
|
3167
|
+
breadcrumb: Ia,
|
|
3168
|
+
popover: za,
|
|
3169
|
+
pagination: Da
|
|
3170
|
+
}, Fa = Wt.colors({
|
|
2964
3171
|
decorative: {
|
|
2965
3172
|
red: {
|
|
2966
3173
|
light: { value: "#FFB5AD" },
|
|
@@ -3059,9 +3266,9 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3059
3266
|
value: "{colors.primary.900}"
|
|
3060
3267
|
}
|
|
3061
3268
|
}
|
|
3062
|
-
}),
|
|
3063
|
-
colors:
|
|
3064
|
-
},
|
|
3269
|
+
}), Ma = {
|
|
3270
|
+
colors: Fa
|
|
3271
|
+
}, Ea = Zt({
|
|
3065
3272
|
body: {
|
|
3066
3273
|
lg: {
|
|
3067
3274
|
value: {
|
|
@@ -3144,7 +3351,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3144
3351
|
}
|
|
3145
3352
|
}
|
|
3146
3353
|
}
|
|
3147
|
-
}),
|
|
3354
|
+
}), Na = x.animations({
|
|
3148
3355
|
"backdrop-in": {
|
|
3149
3356
|
value: "fade-in 250ms {easings.emphasized-in}"
|
|
3150
3357
|
},
|
|
@@ -3185,14 +3392,14 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3185
3392
|
"collapse-out": {
|
|
3186
3393
|
value: "collapse-out 150ms {easings.in-out}"
|
|
3187
3394
|
}
|
|
3188
|
-
}),
|
|
3395
|
+
}), Va = x.borders({
|
|
3189
3396
|
golden: { value: "1.618 / 1" },
|
|
3190
3397
|
landscape: { value: "4 / 3" },
|
|
3191
3398
|
portrait: { value: "3 / 4" },
|
|
3192
3399
|
square: { value: "1 / 1" },
|
|
3193
3400
|
ultrawide: { value: "18 / 5" },
|
|
3194
3401
|
wide: { value: "16 / 9" }
|
|
3195
|
-
}),
|
|
3402
|
+
}), Ha = x.blurs({
|
|
3196
3403
|
"2xl": { value: "40px" },
|
|
3197
3404
|
"3xl": { value: "64px" },
|
|
3198
3405
|
base: { value: "8px" },
|
|
@@ -3200,11 +3407,11 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3200
3407
|
md: { value: "12px" },
|
|
3201
3408
|
sm: { value: "4px" },
|
|
3202
3409
|
xl: { value: "24px" }
|
|
3203
|
-
}),
|
|
3410
|
+
}), ja = x.borders({
|
|
3204
3411
|
border: {
|
|
3205
3412
|
none: { value: "none" }
|
|
3206
3413
|
}
|
|
3207
|
-
}),
|
|
3414
|
+
}), Wa = x.colors({
|
|
3208
3415
|
black: { value: "#000" },
|
|
3209
3416
|
current: { value: "currentColor" },
|
|
3210
3417
|
transparent: { value: "rgb(0 0 0 / 0)" },
|
|
@@ -3276,7 +3483,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3276
3483
|
200: { value: "#FFEAAC" },
|
|
3277
3484
|
100: { value: "#FFF9E6" }
|
|
3278
3485
|
}
|
|
3279
|
-
}),
|
|
3486
|
+
}), Za = x.durations({
|
|
3280
3487
|
fast: { value: "150ms" },
|
|
3281
3488
|
faster: { value: "100ms" },
|
|
3282
3489
|
fastest: { value: "50ms" },
|
|
@@ -3284,7 +3491,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3284
3491
|
slow: { value: "300ms" },
|
|
3285
3492
|
slower: { value: "400ms" },
|
|
3286
3493
|
slowest: { value: "500ms" }
|
|
3287
|
-
}),
|
|
3494
|
+
}), $a = x.easings({
|
|
3288
3495
|
default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
|
|
3289
3496
|
"ease-bounce-1": {
|
|
3290
3497
|
value: `linear(
|
|
@@ -3372,7 +3579,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3372
3579
|
linear: { value: "linear" },
|
|
3373
3580
|
out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
|
|
3374
3581
|
pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
|
|
3375
|
-
}),
|
|
3582
|
+
}), Oa = x.radii({
|
|
3376
3583
|
"radius-0": { value: "0px" },
|
|
3377
3584
|
"radius-2": { value: "2px" },
|
|
3378
3585
|
"radius-4": { value: "4px" },
|
|
@@ -3394,7 +3601,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3394
3601
|
"radius-60": { value: "60px" },
|
|
3395
3602
|
"radius-64": { value: "64px" },
|
|
3396
3603
|
full: { value: "9999px" }
|
|
3397
|
-
}),
|
|
3604
|
+
}), Ga = x.shadows({
|
|
3398
3605
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
3399
3606
|
inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
|
|
3400
3607
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
@@ -3402,7 +3609,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3402
3609
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
3403
3610
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
3404
3611
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
|
|
3405
|
-
}),
|
|
3612
|
+
}), Ua = x.sizes({
|
|
3406
3613
|
"size-0": {
|
|
3407
3614
|
value: "0px"
|
|
3408
3615
|
},
|
|
@@ -3479,7 +3686,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3479
3686
|
"size-80": {
|
|
3480
3687
|
value: "80px"
|
|
3481
3688
|
}
|
|
3482
|
-
}),
|
|
3689
|
+
}), Ya = x.spacing({
|
|
3483
3690
|
"space-0": {
|
|
3484
3691
|
value: "0px"
|
|
3485
3692
|
},
|
|
@@ -3559,9 +3766,9 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
|
|
|
3559
3766
|
value: "80px"
|
|
3560
3767
|
}
|
|
3561
3768
|
});
|
|
3562
|
-
var
|
|
3563
|
-
`${
|
|
3564
|
-
var
|
|
3769
|
+
var Xa = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";
|
|
3770
|
+
`${Xa.split(",").join("|")}`;
|
|
3771
|
+
var qa = {
|
|
3565
3772
|
animation: [
|
|
3566
3773
|
"animationName",
|
|
3567
3774
|
"animationDuration",
|
|
@@ -3672,44 +3879,44 @@ var za = {
|
|
|
3672
3879
|
textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
|
|
3673
3880
|
transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
|
|
3674
3881
|
};
|
|
3675
|
-
Object.values(
|
|
3676
|
-
var
|
|
3677
|
-
function
|
|
3678
|
-
const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${
|
|
3882
|
+
Object.values(qa).reduce((t, r) => [...t, ...r], []);
|
|
3883
|
+
var Ja = 16, Xe = "px", qe = "em", J = "rem";
|
|
3884
|
+
function Qa(t = "") {
|
|
3885
|
+
const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${Xe}|${qe}|${J}`), i = t.match(new RegExp(`${r.source}(${o.source})`));
|
|
3679
3886
|
return i == null ? void 0 : i[1];
|
|
3680
3887
|
}
|
|
3681
|
-
function
|
|
3682
|
-
const r =
|
|
3683
|
-
if (!r || r ===
|
|
3888
|
+
function w(t = "") {
|
|
3889
|
+
const r = Qa(t);
|
|
3890
|
+
if (!r || r === J)
|
|
3684
3891
|
return t;
|
|
3685
|
-
if (r ===
|
|
3686
|
-
return `${parseFloat(t)}${
|
|
3687
|
-
if (r ===
|
|
3688
|
-
return `${parseFloat(t) /
|
|
3892
|
+
if (r === qe)
|
|
3893
|
+
return `${parseFloat(t)}${J}`;
|
|
3894
|
+
if (r === Xe)
|
|
3895
|
+
return `${parseFloat(t) / Ja}${J}`;
|
|
3689
3896
|
}
|
|
3690
|
-
const
|
|
3897
|
+
const Ka = x.fontSizes({
|
|
3691
3898
|
body: {
|
|
3692
|
-
lg: { value:
|
|
3693
|
-
md: { value:
|
|
3694
|
-
sm: { value:
|
|
3899
|
+
lg: { value: w("16px") },
|
|
3900
|
+
md: { value: w("14px") },
|
|
3901
|
+
sm: { value: w("12px") }
|
|
3695
3902
|
},
|
|
3696
3903
|
heading: {
|
|
3697
3904
|
desktop: {
|
|
3698
|
-
"2xl": { value:
|
|
3699
|
-
lg: { value:
|
|
3700
|
-
md: { value:
|
|
3701
|
-
sm: { value:
|
|
3702
|
-
xs: { value:
|
|
3905
|
+
"2xl": { value: w("44px") },
|
|
3906
|
+
lg: { value: w("32px") },
|
|
3907
|
+
md: { value: w("28px") },
|
|
3908
|
+
sm: { value: w("22px") },
|
|
3909
|
+
xs: { value: w("18px") }
|
|
3703
3910
|
},
|
|
3704
3911
|
mobile: {
|
|
3705
|
-
"2xl": { value:
|
|
3706
|
-
lg: { value:
|
|
3707
|
-
md: { value:
|
|
3708
|
-
sm: { value:
|
|
3709
|
-
xs: { value:
|
|
3912
|
+
"2xl": { value: w("38px") },
|
|
3913
|
+
lg: { value: w("30px") },
|
|
3914
|
+
md: { value: w("24px") },
|
|
3915
|
+
sm: { value: w("22px") },
|
|
3916
|
+
xs: { value: w("18px") }
|
|
3710
3917
|
}
|
|
3711
3918
|
}
|
|
3712
|
-
}),
|
|
3919
|
+
}), ei = x.fontWeights({
|
|
3713
3920
|
black: { value: "900" },
|
|
3714
3921
|
bold: { value: "700" },
|
|
3715
3922
|
extrabold: { value: "800" },
|
|
@@ -3719,14 +3926,14 @@ const Ba = y.fontSizes({
|
|
|
3719
3926
|
normal: { value: "400" },
|
|
3720
3927
|
semibold: { value: "600" },
|
|
3721
3928
|
thin: { value: "100" }
|
|
3722
|
-
}),
|
|
3929
|
+
}), ti = x.letterSpacings({
|
|
3723
3930
|
normal: { value: "0em" },
|
|
3724
3931
|
tight: { value: "-0.025em" },
|
|
3725
3932
|
tighter: { value: "-0.05em" },
|
|
3726
3933
|
wide: { value: "0.025em" },
|
|
3727
3934
|
wider: { value: "0.05em" },
|
|
3728
3935
|
widest: { value: "0.1em" }
|
|
3729
|
-
}),
|
|
3936
|
+
}), ri = x.lineHeights({}), oi = x.fonts({
|
|
3730
3937
|
satoshi: { value: "var(--font-satoshi)" },
|
|
3731
3938
|
cabinet: { value: "var(--font-cabinet)" },
|
|
3732
3939
|
mono: {
|
|
@@ -3762,7 +3969,7 @@ const Ba = y.fontSizes({
|
|
|
3762
3969
|
serif: {
|
|
3763
3970
|
value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
|
|
3764
3971
|
}
|
|
3765
|
-
}),
|
|
3972
|
+
}), ai = x.zIndex({
|
|
3766
3973
|
banner: {
|
|
3767
3974
|
value: 1200
|
|
3768
3975
|
},
|
|
@@ -3799,120 +4006,121 @@ const Ba = y.fontSizes({
|
|
|
3799
4006
|
tooltip: {
|
|
3800
4007
|
value: 1800
|
|
3801
4008
|
}
|
|
3802
|
-
}),
|
|
3803
|
-
animations:
|
|
3804
|
-
aspectRatios:
|
|
3805
|
-
blurs:
|
|
3806
|
-
borders:
|
|
3807
|
-
colors:
|
|
3808
|
-
durations:
|
|
3809
|
-
easings:
|
|
3810
|
-
fontSizes:
|
|
3811
|
-
fontWeights:
|
|
3812
|
-
fonts:
|
|
3813
|
-
letterSpacings:
|
|
3814
|
-
lineHeights:
|
|
3815
|
-
radii:
|
|
3816
|
-
shadows:
|
|
3817
|
-
sizes:
|
|
3818
|
-
spacing:
|
|
3819
|
-
zIndex:
|
|
3820
|
-
},
|
|
4009
|
+
}), ii = {
|
|
4010
|
+
animations: Na,
|
|
4011
|
+
aspectRatios: Va,
|
|
4012
|
+
blurs: Ha,
|
|
4013
|
+
borders: ja,
|
|
4014
|
+
colors: Wa,
|
|
4015
|
+
durations: Za,
|
|
4016
|
+
easings: $a,
|
|
4017
|
+
fontSizes: Ka,
|
|
4018
|
+
fontWeights: ei,
|
|
4019
|
+
fonts: oi,
|
|
4020
|
+
letterSpacings: ti,
|
|
4021
|
+
lineHeights: ri,
|
|
4022
|
+
radii: Oa,
|
|
4023
|
+
shadows: Ga,
|
|
4024
|
+
sizes: Ua,
|
|
4025
|
+
spacing: Ya,
|
|
4026
|
+
zIndex: ai
|
|
4027
|
+
}, ni = $t({
|
|
3821
4028
|
className: "size",
|
|
3822
4029
|
transform(t) {
|
|
3823
4030
|
return { height: t, width: t };
|
|
3824
4031
|
},
|
|
3825
4032
|
values: "sizes"
|
|
3826
|
-
}),
|
|
4033
|
+
}), li = {
|
|
3827
4034
|
extend: {
|
|
3828
|
-
boxSize:
|
|
4035
|
+
boxSize: ni
|
|
3829
4036
|
}
|
|
3830
|
-
},
|
|
4037
|
+
}, bn = Ot({
|
|
3831
4038
|
staticCss: {
|
|
3832
4039
|
recipes: "*"
|
|
3833
4040
|
},
|
|
3834
4041
|
theme: {
|
|
3835
|
-
breakpoints:
|
|
3836
|
-
containerSizes:
|
|
3837
|
-
keyframes:
|
|
3838
|
-
recipes:
|
|
3839
|
-
semanticTokens:
|
|
3840
|
-
slotRecipes:
|
|
3841
|
-
textStyles:
|
|
3842
|
-
tokens:
|
|
3843
|
-
},
|
|
3844
|
-
utilities:
|
|
3845
|
-
conditions:
|
|
4042
|
+
breakpoints: Mo,
|
|
4043
|
+
containerSizes: No,
|
|
4044
|
+
keyframes: Vo,
|
|
4045
|
+
recipes: Aa,
|
|
4046
|
+
semanticTokens: Ma,
|
|
4047
|
+
slotRecipes: Ba,
|
|
4048
|
+
textStyles: Ea,
|
|
4049
|
+
tokens: ii
|
|
4050
|
+
},
|
|
4051
|
+
utilities: li,
|
|
4052
|
+
conditions: Eo
|
|
3846
4053
|
});
|
|
3847
4054
|
export {
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
4055
|
+
mi as Accordion,
|
|
4056
|
+
bi as AccordionItem,
|
|
4057
|
+
yi as AccordionItemContent,
|
|
4058
|
+
xi as AccordionItemIndicator,
|
|
4059
|
+
vi as AccordionItemTrigger,
|
|
4060
|
+
Ji as ActionCard,
|
|
4061
|
+
Ki as ActionCardDescription,
|
|
4062
|
+
Qi as ActionCardTitle,
|
|
4063
|
+
en as Alert,
|
|
4064
|
+
Ni as Box,
|
|
4065
|
+
cn as Breadcrumb,
|
|
4066
|
+
ln as BreadcrumbItem,
|
|
4067
|
+
sn as BreadcrumbLink,
|
|
4068
|
+
ce as Button,
|
|
4069
|
+
Ut as Checkbox,
|
|
4070
|
+
Ui as Chip,
|
|
4071
|
+
Yi as ChipAvatar,
|
|
4072
|
+
qi as ChipClearTrigger,
|
|
4073
|
+
Xi as ChipLabel,
|
|
4074
|
+
Vi as DatePicker,
|
|
4075
|
+
fi as Drawer,
|
|
4076
|
+
wi as DrawerBody,
|
|
4077
|
+
Jt as DrawerCloseTrigger,
|
|
4078
|
+
ki as DrawerContent,
|
|
4079
|
+
Pi as DrawerContext,
|
|
4080
|
+
Ci as DrawerFooter,
|
|
4081
|
+
Si as DrawerHeader,
|
|
4082
|
+
Ti as DrawerTitle,
|
|
4083
|
+
_i as DrawerTrigger,
|
|
4084
|
+
Ri as FormControl,
|
|
4085
|
+
Ii as FormHelperText,
|
|
4086
|
+
Li as FormLabel,
|
|
4087
|
+
zi as Heading,
|
|
4088
|
+
de as IconButton,
|
|
4089
|
+
fe as Input,
|
|
4090
|
+
we as InputAddon,
|
|
4091
|
+
Ce as InputGroup,
|
|
4092
|
+
mn as Pagination,
|
|
4093
|
+
dn as Popover,
|
|
4094
|
+
pn as PopoverCloseTrigger,
|
|
4095
|
+
hn as PopoverContent,
|
|
4096
|
+
gn as PopoverContext,
|
|
4097
|
+
un as PopoverTrigger,
|
|
4098
|
+
Fo as PriceTag,
|
|
4099
|
+
ji as RadioButtonGroup,
|
|
4100
|
+
Wi as RadioButtonGroupItem,
|
|
4101
|
+
Zi as RadioButtonGroupLabel,
|
|
4102
|
+
$i as RadioGroup,
|
|
4103
|
+
Oi as RadioGroupItem,
|
|
4104
|
+
Gi as RadioGroupLabel,
|
|
4105
|
+
Ei as Select,
|
|
4106
|
+
dr as Switch,
|
|
4107
|
+
mo as Table,
|
|
4108
|
+
tn as TableContainer,
|
|
4109
|
+
Co as TableEmptyRow,
|
|
4110
|
+
fo as TableGroupTitle,
|
|
4111
|
+
Ai as Tabs,
|
|
4112
|
+
Bi as TabsContent,
|
|
4113
|
+
Mi as TabsList,
|
|
4114
|
+
Fi as TabsTrigger,
|
|
4115
|
+
Hi as Tag,
|
|
4116
|
+
on as Tbody,
|
|
4117
|
+
nn as Td,
|
|
4118
|
+
pr as Text,
|
|
4119
|
+
Di as Textarea,
|
|
4120
|
+
xo as Th,
|
|
4121
|
+
rn as Thead,
|
|
4122
|
+
sr as Tooltip,
|
|
4123
|
+
an as Tr,
|
|
4124
|
+
bn as preset
|
|
3917
4125
|
};
|
|
3918
4126
|
//# sourceMappingURL=ui.js.map
|