@stokelp/ui 1.20.0 → 1.21.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/form/FormLabel.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +341 -314
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e, jsxs as c, Fragment as ve } from "react/jsx-runtime";
|
|
3
|
-
import { Accordion as
|
|
3
|
+
import { Accordion as H, Checkbox as I, Dialog as P, ark as g, Portal as X, Tooltip as F, Switch as D, Tabs as A, Select as w, DatePicker as p, RadioGroup as v, switchAnatomy as fe, dialogAnatomy as we, accordionAnatomy as Ce, checkboxAnatomy as Se, tabsAnatomy as ke, selectAnatomy as _e, datePickerAnatomy as Te, radioGroupAnatomy as ce, tooltipAnatomy as Pe } from "@ark-ui/react";
|
|
4
4
|
import { styled as o, splitCssProps as B, Circle as ze } from "@stokelp/styled-system/jsx";
|
|
5
|
-
import { accordion as Ie, button as Le, checkbox as te, drawer as Re, formControl as Fe, formLabel as O, formHelperText as
|
|
6
|
-
import { createContext as qe, forwardRef as
|
|
7
|
-
import { cx as L, css as
|
|
8
|
-
import { defineKeyframes as et, defineRecipe as
|
|
9
|
-
const ae = (...t) => t.filter(Boolean).join(" "),
|
|
5
|
+
import { accordion as Ie, button as Le, checkbox as te, drawer as Re, formControl as Fe, tooltip as Ae, formLabel as O, formHelperText as Be, heading as De, switchRecipe as re, text as Me, textarea as He, tabs as Ve, select as Ne, input as Ee, inputAddon as je, inputGroup as We, datepicker as Ze, tag as oe, radioButtonGroup as $e, radioGroup as Ge, chip as Oe, actionCard as Ye, iconButton as Xe, alert as Ue } from "@stokelp/styled-system/recipes";
|
|
6
|
+
import { createContext as qe, forwardRef as f, useContext as Ke, createElement as Qe, useMemo as U } from "react";
|
|
7
|
+
import { cx as L, css as V, sva as Je } from "@stokelp/styled-system/css";
|
|
8
|
+
import { defineKeyframes as et, defineRecipe as k, defineSlotRecipe as b, defineSemanticTokens as tt, defineTextStyles as rt, defineTokens as m, defineUtility as ot, definePreset as at } from "@pandacss/dev";
|
|
9
|
+
const ae = (...t) => t.filter(Boolean).join(" "), S = (t, r) => {
|
|
10
10
|
const a = qe(null);
|
|
11
11
|
return {
|
|
12
|
-
withContext: (d, l, s) => l ?
|
|
12
|
+
withContext: (d, l, s) => l ? f((u, C) => {
|
|
13
13
|
const z = Ke(a), G = (r == null ? void 0 : r.dataAttr) ?? !1;
|
|
14
14
|
return Qe(d, {
|
|
15
15
|
...G && { "data-recipe-slot": l ?? "" },
|
|
16
|
-
...
|
|
16
|
+
...u,
|
|
17
17
|
...s == null ? void 0 : s.defaultProps,
|
|
18
|
-
className: ae(z == null ? void 0 : z[l ?? ""],
|
|
19
|
-
ref:
|
|
18
|
+
className: ae(z == null ? void 0 : z[l ?? ""], u.className),
|
|
19
|
+
ref: C
|
|
20
20
|
});
|
|
21
21
|
}) : d,
|
|
22
|
-
withProvider: (d, l, s) =>
|
|
22
|
+
withProvider: (d, l, s) => f((u, C) => {
|
|
23
23
|
const [z, { children: G, ...J }] = t.splitVariantProps({
|
|
24
|
-
...
|
|
24
|
+
...u,
|
|
25
25
|
...s == null ? void 0 : s.defaultProps
|
|
26
26
|
}), ee = t(z), ye = (r == null ? void 0 : r.dataAttr) ?? !1;
|
|
27
27
|
return /* @__PURE__ */ e(a.Provider, { value: ee, children: /* @__PURE__ */ c(
|
|
28
28
|
d,
|
|
29
29
|
{
|
|
30
|
-
ref:
|
|
30
|
+
ref: C,
|
|
31
31
|
...ye && { "data-recipe-slot": l ?? "" },
|
|
32
32
|
...J,
|
|
33
33
|
className: ae(ee[l ?? ""], J.className),
|
|
@@ -40,18 +40,18 @@ const ae = (...t) => t.filter(Boolean).join(" "), C = (t, r) => {
|
|
|
40
40
|
) });
|
|
41
41
|
})
|
|
42
42
|
};
|
|
43
|
-
}, { withProvider: it, withContext: j } =
|
|
43
|
+
}, { withProvider: it, withContext: j } = S(Ie), aa = it(o(H.Root), "root"), ia = j(o(H.Item), "item"), na = j(o(H.ItemContent), "itemContent"), la = j(o(H.ItemIndicator), "itemIndicator", {
|
|
44
44
|
defaultProps: {
|
|
45
45
|
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" }) })
|
|
46
46
|
}
|
|
47
|
-
}),
|
|
48
|
-
const [a, i] = te.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...
|
|
49
|
-
return /* @__PURE__ */ c(I.Root, { ref: r, className: L(
|
|
50
|
-
/* @__PURE__ */ c(I.Control, { className:
|
|
47
|
+
}), sa = j(o(H.ItemTrigger), "itemTrigger"), Y = o("button", Le), nt = f((t, r) => {
|
|
48
|
+
const [a, i] = te.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...y } = d, u = te(a);
|
|
49
|
+
return /* @__PURE__ */ c(I.Root, { ref: r, className: L(u.root, V(n), s), ...y, children: [
|
|
50
|
+
/* @__PURE__ */ c(I.Control, { className: u.control, children: [
|
|
51
51
|
/* @__PURE__ */ e(I.Indicator, { children: /* @__PURE__ */ e(lt, {}) }),
|
|
52
52
|
/* @__PURE__ */ e(I.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(st, {}) })
|
|
53
53
|
] }),
|
|
54
|
-
l && /* @__PURE__ */ e(I.Label, { className:
|
|
54
|
+
l && /* @__PURE__ */ e(I.Label, { className: u.label, children: l }),
|
|
55
55
|
/* @__PURE__ */ e(I.HiddenInput, {})
|
|
56
56
|
] });
|
|
57
57
|
});
|
|
@@ -68,12 +68,12 @@ const lt = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
68
68
|
] }), st = () => /* @__PURE__ */ c("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
69
69
|
/* @__PURE__ */ e("title", { children: "Minus Icon" }),
|
|
70
70
|
/* @__PURE__ */ e("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
|
|
71
|
-
] }), { withProvider: ct, withContext:
|
|
71
|
+
] }), { withProvider: ct, withContext: T } = S(Re), ca = ct(P.Root, void 0, {
|
|
72
72
|
defaultProps: {
|
|
73
73
|
unmountOnExit: !0,
|
|
74
74
|
lazyMount: !0
|
|
75
75
|
}
|
|
76
|
-
}),
|
|
76
|
+
}), da = T(o(g.main), "body"), dt = T(o(P.CloseTrigger), "closeTrigger"), pa = T(o(g.footer), "footer"), de = f(
|
|
77
77
|
({ children: t, showCloseTrigger: r = !0, ...a }, i) => /* @__PURE__ */ c(g.header, { ...a, ref: i, children: [
|
|
78
78
|
t,
|
|
79
79
|
r && /* @__PURE__ */ e(dt, { asChild: !0, children: /* @__PURE__ */ e(Y, { 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(
|
|
@@ -86,62 +86,98 @@ const lt = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
86
86
|
] })
|
|
87
87
|
);
|
|
88
88
|
de.displayName = "DrawerHeader";
|
|
89
|
-
const
|
|
89
|
+
const ua = T(de, "header"), ha = T(o(P.Title), "title"), ga = T(o(P.Trigger), "trigger"), pt = T(o(P.Positioner), "positioner"), ut = T(o(P.Backdrop), "backdrop"), pe = f(
|
|
90
90
|
({ children: t, ...r }, a) => /* @__PURE__ */ c(X, { children: [
|
|
91
91
|
/* @__PURE__ */ e(ut, {}),
|
|
92
|
-
/* @__PURE__ */ e(pt, { children: /* @__PURE__ */ e(
|
|
92
|
+
/* @__PURE__ */ e(pt, { children: /* @__PURE__ */ e(P.Content, { ref: a, ...r, children: t }) })
|
|
93
93
|
] })
|
|
94
94
|
);
|
|
95
|
-
pe.displayName =
|
|
96
|
-
const
|
|
95
|
+
pe.displayName = P.Content.displayName;
|
|
96
|
+
const ma = T(o(pe), "content"), ht = o("div", Fe, {
|
|
97
97
|
defaultProps: {
|
|
98
98
|
role: "group"
|
|
99
99
|
}
|
|
100
|
-
}),
|
|
100
|
+
}), ba = ({ isInvalid: t, isRequired: r, ...a }) => {
|
|
101
101
|
const i = {
|
|
102
102
|
...t ? { "aria-invalid": !0 } : {},
|
|
103
103
|
...r ? { "aria-required": !0 } : {}
|
|
104
104
|
};
|
|
105
105
|
return /* @__PURE__ */ e(ht, { ...i, ...a });
|
|
106
|
-
}, gt =
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
}, { withProvider: gt, withContext: N } = S(Ae), mt = gt(o(F.Root), void 0, {
|
|
107
|
+
defaultProps: {
|
|
108
|
+
closeDelay: 50,
|
|
109
|
+
closeOnPointerDown: !1,
|
|
110
|
+
interactive: !1,
|
|
111
|
+
lazyMount: !0,
|
|
112
|
+
openDelay: 200,
|
|
113
|
+
unmountOnExit: !0
|
|
114
|
+
}
|
|
115
|
+
}), bt = N(o(F.Arrow), "arrow"), xt = N(o(F.ArrowTip), "arrowTip"), yt = N(o(F.Content), "content"), vt = N(o(F.Positioner), "positioner"), ft = N(o(F.Trigger), "trigger"), wt = ({ label: t, children: r, withArrow: a = !0, ...i }) => {
|
|
116
|
+
const [n, d] = B(i);
|
|
117
|
+
return /* @__PURE__ */ c(mt, { ...d, children: [
|
|
118
|
+
/* @__PURE__ */ e(ft, { asChild: !0, children: r }),
|
|
119
|
+
/* @__PURE__ */ e(vt, { children: /* @__PURE__ */ c(yt, { ...n, children: [
|
|
120
|
+
a ? /* @__PURE__ */ e(bt, { children: /* @__PURE__ */ e(xt, {}) }) : null,
|
|
121
|
+
t
|
|
122
|
+
] }) })
|
|
123
|
+
] });
|
|
124
|
+
}, Ct = o("label", O), xa = (t) => {
|
|
125
|
+
const [r, a] = O.splitVariantProps(t), [i, n] = B(a), { children: d, className: l, addon: s, tooltipInformation: y, ...u } = n, C = O(r);
|
|
126
|
+
return /* @__PURE__ */ c(Ct, { className: L(C.root, V(i), l), ...u, children: [
|
|
109
127
|
d,
|
|
110
|
-
s ? /* @__PURE__ */ e(o.span, { className:
|
|
128
|
+
s ? /* @__PURE__ */ e(o.span, { className: C.addon, children: s }) : null,
|
|
129
|
+
y ? /* @__PURE__ */ e(wt, { label: y, children: /* @__PURE__ */ e(
|
|
130
|
+
o.svg,
|
|
131
|
+
{
|
|
132
|
+
className: C.icon,
|
|
133
|
+
width: "16",
|
|
134
|
+
height: "16",
|
|
135
|
+
viewBox: "0 0 16 16",
|
|
136
|
+
fill: "none",
|
|
137
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
138
|
+
children: /* @__PURE__ */ e(
|
|
139
|
+
"path",
|
|
140
|
+
{
|
|
141
|
+
d: "M7.33337 4.66659H8.66671V5.99992H7.33337V4.66659ZM7.33337 7.33325H8.66671V11.3333H7.33337V7.33325ZM8.00004 1.33325C4.32004 1.33325 1.33337 4.31992 1.33337 7.99992C1.33337 11.6799 4.32004 14.6666 8.00004 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 8.00004 1.33325ZM8.00004 13.3333C5.06004 13.3333 2.66671 10.9399 2.66671 7.99992C2.66671 5.05992 5.06004 2.66659 8.00004 2.66659C10.94 2.66659 13.3334 5.05992 13.3334 7.99992C13.3334 10.9399 10.94 13.3333 8.00004 13.3333Z",
|
|
142
|
+
fill: "currentColor"
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
}
|
|
146
|
+
) }) : null
|
|
111
147
|
] });
|
|
112
|
-
},
|
|
148
|
+
}, ya = o("p", Be, {
|
|
113
149
|
dataAttr: !0
|
|
114
|
-
}),
|
|
115
|
-
const { as: r = "h2", ...a } = t, i = U(() => o(r,
|
|
150
|
+
}), va = (t) => {
|
|
151
|
+
const { as: r = "h2", ...a } = t, i = U(() => o(r, De), [r]);
|
|
116
152
|
return /* @__PURE__ */ e(i, { size: r, ...a });
|
|
117
|
-
},
|
|
118
|
-
const [a, i] = re.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...
|
|
119
|
-
return /* @__PURE__ */ c(D.Root, { ref: r, className: L(
|
|
120
|
-
/* @__PURE__ */ e(D.Control, { className:
|
|
121
|
-
l ? /* @__PURE__ */ e(D.Label, { className:
|
|
153
|
+
}, St = f((t, r) => {
|
|
154
|
+
const [a, i] = re.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...y } = d, u = re(a);
|
|
155
|
+
return /* @__PURE__ */ c(D.Root, { ref: r, className: L(u.root, V(n), s), ...y, children: [
|
|
156
|
+
/* @__PURE__ */ e(D.Control, { className: u.control, children: /* @__PURE__ */ e(D.Thumb, { className: u.thumb }) }),
|
|
157
|
+
l ? /* @__PURE__ */ e(D.Label, { className: u.label, children: l }) : null,
|
|
122
158
|
/* @__PURE__ */ e(D.HiddenInput, {})
|
|
123
159
|
] });
|
|
124
160
|
});
|
|
125
|
-
|
|
126
|
-
const
|
|
127
|
-
const { as: r = "p", ...a } = t, i = U(() => o(r,
|
|
161
|
+
St.displayName = "Switch";
|
|
162
|
+
const kt = (t) => {
|
|
163
|
+
const { as: r = "p", ...a } = t, i = U(() => o(r, Me), [r]);
|
|
128
164
|
return /* @__PURE__ */ e(i, { ...a });
|
|
129
|
-
},
|
|
165
|
+
}, fa = o(g.textarea, He), { withProvider: _t, withContext: W } = S(Ve), wa = _t(o(A.Root), "root", {
|
|
130
166
|
defaultProps: {
|
|
131
167
|
lazyMount: !0
|
|
132
168
|
}
|
|
133
|
-
}),
|
|
134
|
-
({ children: t, ...r }, a) => /* @__PURE__ */ c(
|
|
169
|
+
}), Ca = W(o(A.Content), "content"), Sa = W(o(A.Trigger), "trigger"), Tt = W(o(A.Indicator), "indicator"), ue = f(
|
|
170
|
+
({ children: t, ...r }, a) => /* @__PURE__ */ c(A.List, { ref: a, ...r, children: [
|
|
135
171
|
t,
|
|
136
|
-
/* @__PURE__ */ e(
|
|
172
|
+
/* @__PURE__ */ e(Tt, {})
|
|
137
173
|
] })
|
|
138
174
|
);
|
|
139
|
-
ue.displayName =
|
|
140
|
-
const
|
|
175
|
+
ue.displayName = A.List.displayName;
|
|
176
|
+
const ka = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r === !0 ? a(t) : t, { withProvider: zt, withContext: _ } = S(Ne), It = zt(o(w.Root), "root", {
|
|
141
177
|
defaultProps: {
|
|
142
178
|
loopFocus: !0
|
|
143
179
|
}
|
|
144
|
-
}),
|
|
180
|
+
}), Lt = _(o(w.ClearTrigger), "clearTrigger"), Rt = _(o(w.Content), "content"), Ft = _(o(w.Control), "control"), At = _(o(w.Indicator), "indicator"), Bt = _(o(w.Item), "item"), Dt = _(o(w.ItemIndicator), "itemIndicator"), Mt = _(o(w.ItemText), "itemText"), Ht = _(o(w.Positioner), "positioner"), Vt = _(o(w.Trigger), "trigger"), Nt = _(o(w.ValueText), "valueText"), _a = ({
|
|
145
181
|
items: t,
|
|
146
182
|
placeholder: r,
|
|
147
183
|
emptyLabel: a,
|
|
@@ -149,7 +185,7 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
149
185
|
positioning: n,
|
|
150
186
|
...d
|
|
151
187
|
}) => /* @__PURE__ */ c(
|
|
152
|
-
|
|
188
|
+
It,
|
|
153
189
|
{
|
|
154
190
|
lazyMount: !0,
|
|
155
191
|
unmountOnExit: !0,
|
|
@@ -158,10 +194,10 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
158
194
|
"data-recipe": "select",
|
|
159
195
|
...d,
|
|
160
196
|
children: [
|
|
161
|
-
/* @__PURE__ */ c(
|
|
162
|
-
/* @__PURE__ */ c(
|
|
163
|
-
/* @__PURE__ */ e(
|
|
164
|
-
/* @__PURE__ */ e(
|
|
197
|
+
/* @__PURE__ */ c(Ft, { children: [
|
|
198
|
+
/* @__PURE__ */ c(Vt, { children: [
|
|
199
|
+
/* @__PURE__ */ e(Nt, { truncate: !0, placeholder: r }),
|
|
200
|
+
/* @__PURE__ */ e(At, { asChild: !0, children: /* @__PURE__ */ e(o.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
165
201
|
"path",
|
|
166
202
|
{
|
|
167
203
|
d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
|
|
@@ -169,7 +205,7 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
169
205
|
}
|
|
170
206
|
) }) })
|
|
171
207
|
] }),
|
|
172
|
-
/* @__PURE__ */ e(
|
|
208
|
+
/* @__PURE__ */ e(Lt, { 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(
|
|
173
209
|
"path",
|
|
174
210
|
{
|
|
175
211
|
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",
|
|
@@ -177,23 +213,23 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
177
213
|
}
|
|
178
214
|
) }) }) })
|
|
179
215
|
] }),
|
|
180
|
-
/* @__PURE__ */ e(
|
|
181
|
-
/* @__PURE__ */ e(
|
|
182
|
-
d.multiple ? /* @__PURE__ */ e(
|
|
216
|
+
/* @__PURE__ */ e(Pt, { when: i, wrapper: (l) => /* @__PURE__ */ e(X, { children: l }), children: /* @__PURE__ */ e(Ht, { children: /* @__PURE__ */ e(Rt, { children: t.length === 0 ? /* @__PURE__ */ e(kt, { px: "space-8", textAlign: "center", children: a ?? "Aucun résultat" }) : t.map((l) => /* @__PURE__ */ c(Bt, { item: l, children: [
|
|
217
|
+
/* @__PURE__ */ e(Mt, { truncate: !0, children: l.label }),
|
|
218
|
+
d.multiple ? /* @__PURE__ */ e(Dt, { children: "✓" }) : null
|
|
183
219
|
] }, l.value)) }) }) }),
|
|
184
|
-
/* @__PURE__ */ e(
|
|
220
|
+
/* @__PURE__ */ e(w.HiddenSelect, {})
|
|
185
221
|
]
|
|
186
222
|
}
|
|
187
|
-
),
|
|
223
|
+
), Et = o("input", Ee, {
|
|
188
224
|
dataAttr: !0
|
|
189
|
-
}),
|
|
225
|
+
}), jt = o(g.div, je, {
|
|
190
226
|
dataAttr: !0
|
|
191
|
-
}),
|
|
227
|
+
}), Wt = o("div", We, {
|
|
192
228
|
dataAttr: !0
|
|
193
|
-
}),
|
|
229
|
+
}), Ta = (t) => {
|
|
194
230
|
const { as: r = "div", ...a } = t, i = U(() => o(r), [r]);
|
|
195
231
|
return /* @__PURE__ */ e(i, { ...a });
|
|
196
|
-
}, { withProvider:
|
|
232
|
+
}, { withProvider: Zt, withContext: h } = S(Ze), $t = Zt(p.Root, "root", {
|
|
197
233
|
defaultProps: {
|
|
198
234
|
positioning: {
|
|
199
235
|
placement: "bottom-start"
|
|
@@ -204,61 +240,61 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
204
240
|
lazyMount: !0,
|
|
205
241
|
startOfWeek: 6
|
|
206
242
|
}
|
|
207
|
-
}),
|
|
243
|
+
}), Gt = h(p.Content, "content"), Ot = h(p.Control, "control"), Yt = h(p.Input, "input"), Xt = h(p.MonthSelect, "monthSelect"), Ut = h(p.NextTrigger, "nextTrigger"), qt = h(p.Positioner, "positioner"), Kt = h(p.PrevTrigger, "prevTrigger"), Qt = h(p.TableBody, "tableBody"), Jt = h(p.TableCell, "tableCell"), er = h(p.TableCellTrigger, "tableCellTrigger"), tr = h(p.TableHead, "tableHead"), rr = h(p.TableHeader, "tableHeader"), or = h(p.Table, "table"), ie = h(p.TableRow, "tableRow"), ar = h(p.Trigger, "trigger"), ir = h(p.ViewControl, "viewControl"), nr = h(p.View, "view"), lr = h(p.YearSelect, "yearSelect"), sr = h(o(p.ClearTrigger), "clearTrigger"), cr = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
208
244
|
"path",
|
|
209
245
|
{
|
|
210
246
|
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",
|
|
211
247
|
fill: "#1E3A76"
|
|
212
248
|
}
|
|
213
|
-
) }),
|
|
214
|
-
/* @__PURE__ */ e(
|
|
215
|
-
/* @__PURE__ */ e(
|
|
216
|
-
/* @__PURE__ */ c(
|
|
217
|
-
/* @__PURE__ */ e(
|
|
249
|
+
) }), dr = () => /* @__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" }) }), pr = () => /* @__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" }) }), Pa = ({ placeholder: t, preflightClassName: r, ...a }) => /* @__PURE__ */ c($t, { ...a, children: [
|
|
250
|
+
/* @__PURE__ */ e(Ot, { asChild: !0, children: /* @__PURE__ */ c(Wt, { children: [
|
|
251
|
+
/* @__PURE__ */ e(Yt, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(Et, {}) }),
|
|
252
|
+
/* @__PURE__ */ c(jt, { children: [
|
|
253
|
+
/* @__PURE__ */ e(sr, { 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(
|
|
218
254
|
"path",
|
|
219
255
|
{
|
|
220
256
|
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",
|
|
221
257
|
fill: "currentColor"
|
|
222
258
|
}
|
|
223
259
|
) }) }) }),
|
|
224
|
-
/* @__PURE__ */ e(
|
|
260
|
+
/* @__PURE__ */ e(ar, { children: /* @__PURE__ */ e(cr, {}) })
|
|
225
261
|
] })
|
|
226
262
|
] }) }),
|
|
227
|
-
/* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
|
|
228
|
-
/* @__PURE__ */ c(
|
|
229
|
-
/* @__PURE__ */ e(
|
|
230
|
-
/* @__PURE__ */ e(
|
|
231
|
-
/* @__PURE__ */ e(
|
|
232
|
-
/* @__PURE__ */ e(
|
|
263
|
+
/* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(qt, { className: r, children: /* @__PURE__ */ e(Gt, { children: /* @__PURE__ */ e(nr, { view: "day", children: /* @__PURE__ */ e(p.Context, { children: (i) => /* @__PURE__ */ c(ve, { children: [
|
|
264
|
+
/* @__PURE__ */ c(ir, { children: [
|
|
265
|
+
/* @__PURE__ */ e(Kt, { asChild: !0, children: /* @__PURE__ */ e(Y, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(dr, {}) }) }),
|
|
266
|
+
/* @__PURE__ */ e(Xt, {}),
|
|
267
|
+
/* @__PURE__ */ e(lr, {}),
|
|
268
|
+
/* @__PURE__ */ e(Ut, { asChild: !0, children: /* @__PURE__ */ e(Y, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(pr, {}) }) })
|
|
233
269
|
] }),
|
|
234
|
-
/* @__PURE__ */ c(
|
|
235
|
-
/* @__PURE__ */ e(
|
|
236
|
-
/* @__PURE__ */ e(
|
|
270
|
+
/* @__PURE__ */ c(or, { children: [
|
|
271
|
+
/* @__PURE__ */ e(tr, { children: /* @__PURE__ */ e(ie, { children: i.weekDays.map((n, d) => /* @__PURE__ */ e(rr, { children: n.short }, d)) }) }),
|
|
272
|
+
/* @__PURE__ */ e(Qt, { children: i.weeks.map((n, d) => /* @__PURE__ */ e(ie, { children: n.map((l, s) => /* @__PURE__ */ e(Jt, { value: l, children: /* @__PURE__ */ e(er, { asChild: !0, children: /* @__PURE__ */ e("button", { children: l.day }) }) }, s)) }, d)) })
|
|
237
273
|
] })
|
|
238
274
|
] }) }) }) }) }) })
|
|
239
|
-
] }),
|
|
240
|
-
const [a, i] = oe.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...
|
|
241
|
-
return /* @__PURE__ */ c(g.div, { ref: r, className: L(
|
|
275
|
+
] }), za = f((t, r) => {
|
|
276
|
+
const [a, i] = oe.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...y } = d, u = oe(a);
|
|
277
|
+
return /* @__PURE__ */ c(g.div, { ref: r, className: L(u.root, V(n), s), ...y, children: [
|
|
242
278
|
l,
|
|
243
|
-
/* @__PURE__ */ e(ze, { className: L(
|
|
279
|
+
/* @__PURE__ */ e(ze, { className: L(u.badge) })
|
|
244
280
|
] });
|
|
245
|
-
}), { withProvider:
|
|
246
|
-
/* @__PURE__ */ e(
|
|
247
|
-
/* @__PURE__ */ e(
|
|
248
|
-
/* @__PURE__ */ e(
|
|
249
|
-
] })),
|
|
281
|
+
}), { withProvider: ur, withContext: Z } = S($e), hr = Z(o(v.ItemControl), "itemControl"), gr = Z(o(v.ItemText), "itemText"), mr = f(({ children: t, value: r, ...a }, i) => /* @__PURE__ */ c(v.Item, { ref: i, ...a, value: r, children: [
|
|
282
|
+
/* @__PURE__ */ e(gr, { children: t }),
|
|
283
|
+
/* @__PURE__ */ e(hr, {}),
|
|
284
|
+
/* @__PURE__ */ e(v.ItemHiddenInput, {})
|
|
285
|
+
] })), Ia = ur(o(v.Root), "root", {
|
|
250
286
|
defaultProps: {
|
|
251
287
|
orientation: "horizontal"
|
|
252
288
|
}
|
|
253
|
-
}),
|
|
254
|
-
/* @__PURE__ */ e(
|
|
255
|
-
/* @__PURE__ */ e(
|
|
256
|
-
/* @__PURE__ */ e(
|
|
257
|
-
] })),
|
|
289
|
+
}), La = Z(o(mr), "item"), Ra = Z(o(v.Label), "label"), { withProvider: br, withContext: $ } = S(Ge), xr = $(o(v.ItemControl), "itemControl"), yr = $(o(v.ItemText), "itemText"), vr = f(({ children: t, value: r, ...a }, i) => /* @__PURE__ */ c(v.Item, { ref: i, ...a, value: r, children: [
|
|
290
|
+
/* @__PURE__ */ e(xr, {}),
|
|
291
|
+
/* @__PURE__ */ e(yr, { children: t }),
|
|
292
|
+
/* @__PURE__ */ e(v.ItemHiddenInput, {})
|
|
293
|
+
] })), Fa = br(o(v.Root), "root", {
|
|
258
294
|
defaultProps: {
|
|
259
295
|
orientation: "horizontal"
|
|
260
296
|
}
|
|
261
|
-
}),
|
|
297
|
+
}), Aa = $(o(vr), "item"), Ba = $(o(v.Label), "label"), { withProvider: fr, withContext: q } = S(Oe), Da = fr(o(g.span), "root"), Ma = q(o("img"), "avatar"), Ha = q(o(g.p), "body"), Va = q(o(g.button), "clearTrigger", {
|
|
262
298
|
defaultProps: {
|
|
263
299
|
type: "button",
|
|
264
300
|
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(
|
|
@@ -269,32 +305,14 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
269
305
|
}
|
|
270
306
|
) })
|
|
271
307
|
}
|
|
272
|
-
}), { withProvider:
|
|
308
|
+
}), { withProvider: wr, withContext: K } = S(Ye, {
|
|
273
309
|
dataAttr: !0
|
|
274
|
-
}),
|
|
310
|
+
}), Cr = K(o(g.svg), "icon"), Na = wr(o(g.button), "root", {
|
|
275
311
|
defaultProps: {
|
|
276
312
|
role: "group"
|
|
277
313
|
},
|
|
278
|
-
afterSlot: /* @__PURE__ */ e(
|
|
279
|
-
}),
|
|
280
|
-
defaultProps: {
|
|
281
|
-
closeDelay: 50,
|
|
282
|
-
closeOnPointerDown: !1,
|
|
283
|
-
interactive: !1,
|
|
284
|
-
lazyMount: !0,
|
|
285
|
-
openDelay: 200,
|
|
286
|
-
unmountOnExit: !0
|
|
287
|
-
}
|
|
288
|
-
}), yr = V(o(A.Arrow), "arrow"), vr = V(o(A.ArrowTip), "arrowTip"), fr = V(o(A.Content), "content"), wr = V(o(A.Positioner), "positioner"), Cr = V(o(A.Trigger), "trigger"), ja = ({ label: t, children: r, withArrow: a = !0, ...i }) => {
|
|
289
|
-
const [n, d] = B(i);
|
|
290
|
-
return /* @__PURE__ */ c(xr, { ...d, children: [
|
|
291
|
-
/* @__PURE__ */ e(Cr, { asChild: !0, children: r }),
|
|
292
|
-
/* @__PURE__ */ e(wr, { children: /* @__PURE__ */ c(fr, { ...n, children: [
|
|
293
|
-
a ? /* @__PURE__ */ e(yr, { children: /* @__PURE__ */ e(vr, {}) }) : null,
|
|
294
|
-
t
|
|
295
|
-
] }) })
|
|
296
|
-
] });
|
|
297
|
-
}, { withProvider: Sr, withContext: Q } = C(Ue), kr = Sr(o(g.div), "root"), _r = Q(o(g.svg), "icon"), Tr = Q(o(g.h3), "title"), Pr = Q(o(g.p), "description"), zr = (t) => {
|
|
314
|
+
afterSlot: /* @__PURE__ */ e(Cr, { 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" }) })
|
|
315
|
+
}), Ea = K(o(g.h3), "title"), ja = K(o(g.p), "description"), Sr = o("button", Xe), { withProvider: kr, withContext: Q } = S(Ue), _r = kr(o(g.div), "root"), Tr = Q(o(g.svg), "icon"), Pr = Q(o(g.h3), "title"), zr = Q(o(g.p), "description"), Ir = (t) => {
|
|
298
316
|
switch (t) {
|
|
299
317
|
default:
|
|
300
318
|
case "neutral":
|
|
@@ -338,12 +356,12 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
338
356
|
}
|
|
339
357
|
) });
|
|
340
358
|
}
|
|
341
|
-
}, Wa =
|
|
342
|
-
({ title: t, description: r, showDismissTrigger: a, onDismiss: i, severity: n, showIcon: d = !0, ...l }, s) => /* @__PURE__ */ c(
|
|
343
|
-
/* @__PURE__ */ c(
|
|
344
|
-
d ? /* @__PURE__ */ e(
|
|
359
|
+
}, Wa = f(
|
|
360
|
+
({ title: t, description: r, showDismissTrigger: a, onDismiss: i, severity: n, showIcon: d = !0, ...l }, s) => /* @__PURE__ */ c(_r, { ref: s, severity: n, ...l, children: [
|
|
361
|
+
/* @__PURE__ */ c(Pr, { children: [
|
|
362
|
+
d ? /* @__PURE__ */ e(Tr, { asChild: !0, children: Ir(n) }) : null,
|
|
345
363
|
t,
|
|
346
|
-
a ? /* @__PURE__ */ e(
|
|
364
|
+
a ? /* @__PURE__ */ e(Sr, { 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(
|
|
347
365
|
"path",
|
|
348
366
|
{
|
|
349
367
|
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",
|
|
@@ -351,7 +369,7 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
351
369
|
}
|
|
352
370
|
) }) }) : null
|
|
353
371
|
] }),
|
|
354
|
-
r ? /* @__PURE__ */ e(
|
|
372
|
+
r ? /* @__PURE__ */ e(zr, { children: r }) : null
|
|
355
373
|
] })
|
|
356
374
|
), ne = Je({
|
|
357
375
|
slots: ["root", "price", "unit"],
|
|
@@ -417,23 +435,23 @@ const Sa = W(o(ue), "list"), vt = ({ children: t, when: r, wrapper: a }) => r ==
|
|
|
417
435
|
defaultVariants: {
|
|
418
436
|
size: "md"
|
|
419
437
|
}
|
|
420
|
-
}),
|
|
421
|
-
const [a, i] = ne.splitVariantProps(t), [n, d] = B(i), { className: l, unit: s, price:
|
|
422
|
-
return /* @__PURE__ */ c("span", { ref: r, className: L(
|
|
423
|
-
/* @__PURE__ */ e("span", { className:
|
|
424
|
-
z ? /* @__PURE__ */ c("span", { className:
|
|
438
|
+
}), Lr = f((t, r) => {
|
|
439
|
+
const [a, i] = ne.splitVariantProps(t), [n, d] = B(i), { className: l, unit: s, price: y, ...u } = d, C = ne(a), z = !!s;
|
|
440
|
+
return /* @__PURE__ */ c("span", { ref: r, className: L(C.root, V(n), l), ...u, children: [
|
|
441
|
+
/* @__PURE__ */ e("span", { className: C.price, children: y }),
|
|
442
|
+
z ? /* @__PURE__ */ c("span", { className: C.unit, children: [
|
|
425
443
|
"/ ",
|
|
426
444
|
s
|
|
427
445
|
] }) : null
|
|
428
446
|
] });
|
|
429
447
|
});
|
|
430
|
-
|
|
431
|
-
const
|
|
448
|
+
Lr.displayName = "PriceTag";
|
|
449
|
+
const Rr = {
|
|
432
450
|
xl: "1536px",
|
|
433
451
|
lg: "1200px",
|
|
434
452
|
md: "900px",
|
|
435
453
|
sm: "600px"
|
|
436
|
-
},
|
|
454
|
+
}, Fr = {
|
|
437
455
|
extend: {
|
|
438
456
|
checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
439
457
|
closed: "&:where([data-state=closed])",
|
|
@@ -451,7 +469,7 @@ const Lr = {
|
|
|
451
469
|
today: "&:where([data-today])",
|
|
452
470
|
underValue: '&:where([data-state="under-value"])'
|
|
453
471
|
}
|
|
454
|
-
},
|
|
472
|
+
}, Ar = {
|
|
455
473
|
"2xl": "672px",
|
|
456
474
|
"3xl": "768px",
|
|
457
475
|
"4xl": "896px",
|
|
@@ -464,7 +482,7 @@ const Lr = {
|
|
|
464
482
|
sm: "384px",
|
|
465
483
|
xl: "576px",
|
|
466
484
|
xs: "320px"
|
|
467
|
-
},
|
|
485
|
+
}, Br = et({
|
|
468
486
|
blob: {
|
|
469
487
|
"0%": {
|
|
470
488
|
rotate: "0deg"
|
|
@@ -582,7 +600,7 @@ const Lr = {
|
|
|
582
600
|
transform: "rotate(360deg)"
|
|
583
601
|
}
|
|
584
602
|
}
|
|
585
|
-
}), he =
|
|
603
|
+
}), he = k({
|
|
586
604
|
base: {
|
|
587
605
|
_focusVisible: {
|
|
588
606
|
ring: "2px solid {colors.primary.200}",
|
|
@@ -773,7 +791,7 @@ const Lr = {
|
|
|
773
791
|
}
|
|
774
792
|
}
|
|
775
793
|
]
|
|
776
|
-
}),
|
|
794
|
+
}), Dr = k({
|
|
777
795
|
className: "heading",
|
|
778
796
|
defaultVariants: {
|
|
779
797
|
size: "h2"
|
|
@@ -803,7 +821,7 @@ const Lr = {
|
|
|
803
821
|
h6: { textStyle: "heading.h6" }
|
|
804
822
|
}
|
|
805
823
|
}
|
|
806
|
-
}),
|
|
824
|
+
}), Mr = b({
|
|
807
825
|
base: {
|
|
808
826
|
control: {
|
|
809
827
|
_focus: {
|
|
@@ -885,7 +903,7 @@ const Lr = {
|
|
|
885
903
|
}
|
|
886
904
|
}
|
|
887
905
|
}
|
|
888
|
-
}),
|
|
906
|
+
}), Hr = k({
|
|
889
907
|
className: "text",
|
|
890
908
|
defaultVariants: {
|
|
891
909
|
size: "md"
|
|
@@ -918,7 +936,7 @@ const Lr = {
|
|
|
918
936
|
sm: { textStyle: "body.sm" }
|
|
919
937
|
}
|
|
920
938
|
}
|
|
921
|
-
}), ge =
|
|
939
|
+
}), ge = k({
|
|
922
940
|
base: {
|
|
923
941
|
'&[type="time"]::-webkit-calendar-picker-indicator': {
|
|
924
942
|
display: "none"
|
|
@@ -972,7 +990,7 @@ const Lr = {
|
|
|
972
990
|
}
|
|
973
991
|
}
|
|
974
992
|
}
|
|
975
|
-
}),
|
|
993
|
+
}), Vr = k({
|
|
976
994
|
className: "textarea",
|
|
977
995
|
jsx: ["Textarea"],
|
|
978
996
|
base: {
|
|
@@ -980,7 +998,7 @@ const Lr = {
|
|
|
980
998
|
py: "space-8",
|
|
981
999
|
...ge.base
|
|
982
1000
|
}
|
|
983
|
-
}),
|
|
1001
|
+
}), Nr = k({
|
|
984
1002
|
base: {
|
|
985
1003
|
_invalid: {
|
|
986
1004
|
'& [data-recipe="formHelperText"]': {
|
|
@@ -1010,7 +1028,7 @@ const Lr = {
|
|
|
1010
1028
|
className: "form-control",
|
|
1011
1029
|
description: "The styles for the FormControl component",
|
|
1012
1030
|
jsx: ["FormControl"]
|
|
1013
|
-
}),
|
|
1031
|
+
}), Er = k({
|
|
1014
1032
|
base: {
|
|
1015
1033
|
color: "grey.400",
|
|
1016
1034
|
fontFamily: "satoshi",
|
|
@@ -1019,9 +1037,9 @@ const Lr = {
|
|
|
1019
1037
|
className: "form-helper-text",
|
|
1020
1038
|
description: "The styles for the FormHelperText component",
|
|
1021
1039
|
jsx: ["FormHelperText"]
|
|
1022
|
-
}),
|
|
1040
|
+
}), jr = we.extendWith("header", "body", "footer"), Wr = b({
|
|
1023
1041
|
className: "drawer",
|
|
1024
|
-
slots:
|
|
1042
|
+
slots: jr.keys(),
|
|
1025
1043
|
jsx: ["Drawer"],
|
|
1026
1044
|
base: {
|
|
1027
1045
|
backdrop: {
|
|
@@ -1139,7 +1157,7 @@ const Lr = {
|
|
|
1139
1157
|
}
|
|
1140
1158
|
}
|
|
1141
1159
|
}
|
|
1142
|
-
}),
|
|
1160
|
+
}), Zr = b({
|
|
1143
1161
|
className: "accordion",
|
|
1144
1162
|
jsx: ["Accordion"],
|
|
1145
1163
|
slots: Ce.keys(),
|
|
@@ -1243,15 +1261,24 @@ const Lr = {
|
|
|
1243
1261
|
}
|
|
1244
1262
|
}
|
|
1245
1263
|
}
|
|
1246
|
-
}),
|
|
1264
|
+
}), $r = b({
|
|
1247
1265
|
base: {
|
|
1248
|
-
root: {
|
|
1266
|
+
root: {
|
|
1267
|
+
color: "grey.400",
|
|
1268
|
+
fontFamily: "satoshi",
|
|
1269
|
+
textStyle: "body.sm",
|
|
1270
|
+
display: "flex",
|
|
1271
|
+
alignItems: "center",
|
|
1272
|
+
gap: "space-4"
|
|
1273
|
+
},
|
|
1249
1274
|
addon: {
|
|
1250
|
-
ml: "space-4",
|
|
1251
1275
|
bg: "primary.100",
|
|
1252
1276
|
color: "secondary.800",
|
|
1253
1277
|
borderRadius: "radius-2",
|
|
1254
1278
|
px: "space-2"
|
|
1279
|
+
},
|
|
1280
|
+
icon: {
|
|
1281
|
+
display: "inline"
|
|
1255
1282
|
}
|
|
1256
1283
|
},
|
|
1257
1284
|
variants: {
|
|
@@ -1269,11 +1296,11 @@ const Lr = {
|
|
|
1269
1296
|
}
|
|
1270
1297
|
},
|
|
1271
1298
|
defaultVariants: { variant: "absolute" },
|
|
1272
|
-
slots: ["root", "addon"],
|
|
1299
|
+
slots: ["root", "addon", "icon"],
|
|
1273
1300
|
className: "form-label",
|
|
1274
1301
|
description: "The styles for the FormLabel component",
|
|
1275
1302
|
jsx: ["FormLabel"]
|
|
1276
|
-
}),
|
|
1303
|
+
}), Gr = b({
|
|
1277
1304
|
className: "checkbox",
|
|
1278
1305
|
slots: Se.keys(),
|
|
1279
1306
|
jsx: ["Checkbox"],
|
|
@@ -1391,7 +1418,7 @@ const Lr = {
|
|
|
1391
1418
|
}
|
|
1392
1419
|
}
|
|
1393
1420
|
}
|
|
1394
|
-
}),
|
|
1421
|
+
}), Or = b({
|
|
1395
1422
|
className: "tabs",
|
|
1396
1423
|
slots: ke.keys(),
|
|
1397
1424
|
base: {
|
|
@@ -1497,7 +1524,7 @@ const Lr = {
|
|
|
1497
1524
|
}
|
|
1498
1525
|
}
|
|
1499
1526
|
}
|
|
1500
|
-
}),
|
|
1527
|
+
}), Yr = b({
|
|
1501
1528
|
base: {
|
|
1502
1529
|
control: {
|
|
1503
1530
|
fontFamily: "satoshi",
|
|
@@ -1650,7 +1677,7 @@ const Lr = {
|
|
|
1650
1677
|
}
|
|
1651
1678
|
}
|
|
1652
1679
|
}
|
|
1653
|
-
}),
|
|
1680
|
+
}), Xr = k({
|
|
1654
1681
|
base: {
|
|
1655
1682
|
alignItems: "center",
|
|
1656
1683
|
borderRadius: "inherit",
|
|
@@ -1663,7 +1690,7 @@ const Lr = {
|
|
|
1663
1690
|
className: "input-addon",
|
|
1664
1691
|
description: "The styles for the InputAddon component",
|
|
1665
1692
|
jsx: ["InputAddon"]
|
|
1666
|
-
}),
|
|
1693
|
+
}), Ur = k({
|
|
1667
1694
|
base: {
|
|
1668
1695
|
'& [data-recipe="input"]': {
|
|
1669
1696
|
border: {
|
|
@@ -1706,7 +1733,7 @@ const Lr = {
|
|
|
1706
1733
|
className: "input-group",
|
|
1707
1734
|
description: "The styles for the InputGroup component",
|
|
1708
1735
|
jsx: ["InputGroup"]
|
|
1709
|
-
}), le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K",
|
|
1736
|
+
}), le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", qr = b({
|
|
1710
1737
|
className: "datepicker",
|
|
1711
1738
|
slots: Te.keys(),
|
|
1712
1739
|
jsx: ["DatePicker"],
|
|
@@ -1866,7 +1893,7 @@ const Lr = {
|
|
|
1866
1893
|
textAlign: "center"
|
|
1867
1894
|
}
|
|
1868
1895
|
}
|
|
1869
|
-
}),
|
|
1896
|
+
}), Kr = b({
|
|
1870
1897
|
base: {
|
|
1871
1898
|
root: {
|
|
1872
1899
|
fontFamily: "satoshi",
|
|
@@ -1971,7 +1998,7 @@ const Lr = {
|
|
|
1971
1998
|
}
|
|
1972
1999
|
}
|
|
1973
2000
|
}
|
|
1974
|
-
}),
|
|
2001
|
+
}), Qr = b({
|
|
1975
2002
|
className: "radio-button-group",
|
|
1976
2003
|
jsx: ["RadioButtonGroup"],
|
|
1977
2004
|
slots: ce.keys(),
|
|
@@ -2038,7 +2065,7 @@ const Lr = {
|
|
|
2038
2065
|
}
|
|
2039
2066
|
}
|
|
2040
2067
|
}
|
|
2041
|
-
}),
|
|
2068
|
+
}), Jr = b({
|
|
2042
2069
|
base: {
|
|
2043
2070
|
item: {
|
|
2044
2071
|
_disabled: {
|
|
@@ -2147,7 +2174,7 @@ const Lr = {
|
|
|
2147
2174
|
}
|
|
2148
2175
|
}
|
|
2149
2176
|
}
|
|
2150
|
-
}),
|
|
2177
|
+
}), eo = b({
|
|
2151
2178
|
base: {
|
|
2152
2179
|
root: {
|
|
2153
2180
|
borderRadius: "full",
|
|
@@ -2270,7 +2297,7 @@ const Lr = {
|
|
|
2270
2297
|
}
|
|
2271
2298
|
}
|
|
2272
2299
|
}
|
|
2273
|
-
}),
|
|
2300
|
+
}), to = b({
|
|
2274
2301
|
base: {
|
|
2275
2302
|
root: {
|
|
2276
2303
|
position: "relative",
|
|
@@ -2351,47 +2378,47 @@ const Lr = {
|
|
|
2351
2378
|
description: "The styles for the ActionCard component",
|
|
2352
2379
|
jsx: ["ActionCard", "ActionCardTitle", "ActionCardDescription"]
|
|
2353
2380
|
});
|
|
2354
|
-
function
|
|
2381
|
+
function ro(t) {
|
|
2355
2382
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2356
2383
|
}
|
|
2357
|
-
var
|
|
2358
|
-
return
|
|
2384
|
+
var oo = function(r) {
|
|
2385
|
+
return ao(r) && !io(r);
|
|
2359
2386
|
};
|
|
2360
|
-
function
|
|
2387
|
+
function ao(t) {
|
|
2361
2388
|
return !!t && typeof t == "object";
|
|
2362
2389
|
}
|
|
2363
|
-
function
|
|
2390
|
+
function io(t) {
|
|
2364
2391
|
var r = Object.prototype.toString.call(t);
|
|
2365
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
2366
|
-
}
|
|
2367
|
-
var io = typeof Symbol == "function" && Symbol.for, no = io ? Symbol.for("react.element") : 60103;
|
|
2368
|
-
function lo(t) {
|
|
2369
|
-
return t.$$typeof === no;
|
|
2392
|
+
return r === "[object RegExp]" || r === "[object Date]" || so(t);
|
|
2370
2393
|
}
|
|
2394
|
+
var no = typeof Symbol == "function" && Symbol.for, lo = no ? Symbol.for("react.element") : 60103;
|
|
2371
2395
|
function so(t) {
|
|
2396
|
+
return t.$$typeof === lo;
|
|
2397
|
+
}
|
|
2398
|
+
function co(t) {
|
|
2372
2399
|
return Array.isArray(t) ? [] : {};
|
|
2373
2400
|
}
|
|
2374
2401
|
function M(t, r) {
|
|
2375
|
-
return r.clone !== !1 && r.isMergeableObject(t) ? R(
|
|
2402
|
+
return r.clone !== !1 && r.isMergeableObject(t) ? R(co(t), t, r) : t;
|
|
2376
2403
|
}
|
|
2377
|
-
function
|
|
2404
|
+
function po(t, r, a) {
|
|
2378
2405
|
return t.concat(r).map(function(i) {
|
|
2379
2406
|
return M(i, a);
|
|
2380
2407
|
});
|
|
2381
2408
|
}
|
|
2382
|
-
function
|
|
2409
|
+
function uo(t, r) {
|
|
2383
2410
|
if (!r.customMerge)
|
|
2384
2411
|
return R;
|
|
2385
2412
|
var a = r.customMerge(t);
|
|
2386
2413
|
return typeof a == "function" ? a : R;
|
|
2387
2414
|
}
|
|
2388
|
-
function
|
|
2415
|
+
function ho(t) {
|
|
2389
2416
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
|
|
2390
2417
|
return Object.propertyIsEnumerable.call(t, r);
|
|
2391
2418
|
}) : [];
|
|
2392
2419
|
}
|
|
2393
2420
|
function se(t) {
|
|
2394
|
-
return Object.keys(t).concat(
|
|
2421
|
+
return Object.keys(t).concat(ho(t));
|
|
2395
2422
|
}
|
|
2396
2423
|
function me(t, r) {
|
|
2397
2424
|
try {
|
|
@@ -2400,21 +2427,21 @@ function me(t, r) {
|
|
|
2400
2427
|
return !1;
|
|
2401
2428
|
}
|
|
2402
2429
|
}
|
|
2403
|
-
function
|
|
2430
|
+
function go(t, r) {
|
|
2404
2431
|
return me(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
|
|
2405
2432
|
}
|
|
2406
|
-
function
|
|
2433
|
+
function mo(t, r, a) {
|
|
2407
2434
|
var i = {};
|
|
2408
2435
|
return a.isMergeableObject(t) && se(t).forEach(function(n) {
|
|
2409
2436
|
i[n] = M(t[n], a);
|
|
2410
2437
|
}), se(r).forEach(function(n) {
|
|
2411
|
-
|
|
2438
|
+
go(t, n) || (me(t, n) && a.isMergeableObject(r[n]) ? i[n] = uo(n, a)(t[n], r[n], a) : i[n] = M(r[n], a));
|
|
2412
2439
|
}), i;
|
|
2413
2440
|
}
|
|
2414
2441
|
function R(t, r, a) {
|
|
2415
|
-
a = a || {}, a.arrayMerge = a.arrayMerge ||
|
|
2442
|
+
a = a || {}, a.arrayMerge = a.arrayMerge || po, a.isMergeableObject = a.isMergeableObject || oo, a.cloneUnlessOtherwiseSpecified = M;
|
|
2416
2443
|
var i = Array.isArray(r), n = Array.isArray(t), d = i === n;
|
|
2417
|
-
return d ? i ? a.arrayMerge(t, r, a) :
|
|
2444
|
+
return d ? i ? a.arrayMerge(t, r, a) : mo(t, r, a) : M(r, a);
|
|
2418
2445
|
}
|
|
2419
2446
|
R.all = function(r, a) {
|
|
2420
2447
|
if (!Array.isArray(r))
|
|
@@ -2423,10 +2450,10 @@ R.all = function(r, a) {
|
|
|
2423
2450
|
return R(i, n, a);
|
|
2424
2451
|
}, {});
|
|
2425
2452
|
};
|
|
2426
|
-
var
|
|
2427
|
-
const
|
|
2453
|
+
var bo = R, xo = bo;
|
|
2454
|
+
const yo = /* @__PURE__ */ ro(xo), vo = yo(
|
|
2428
2455
|
he,
|
|
2429
|
-
|
|
2456
|
+
k({
|
|
2430
2457
|
className: "icon-button",
|
|
2431
2458
|
defaultVariants: {
|
|
2432
2459
|
size: "md",
|
|
@@ -2483,7 +2510,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2483
2510
|
}
|
|
2484
2511
|
}
|
|
2485
2512
|
})
|
|
2486
|
-
),
|
|
2513
|
+
), fo = b({
|
|
2487
2514
|
base: {
|
|
2488
2515
|
content: {
|
|
2489
2516
|
_closed: {
|
|
@@ -2513,7 +2540,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2513
2540
|
className: "tooltip",
|
|
2514
2541
|
jsx: ["Tooltip"],
|
|
2515
2542
|
slots: Pe.keys()
|
|
2516
|
-
}),
|
|
2543
|
+
}), wo = b({
|
|
2517
2544
|
base: {
|
|
2518
2545
|
root: {
|
|
2519
2546
|
borderRadius: "radius-8",
|
|
@@ -2574,34 +2601,34 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2574
2601
|
}
|
|
2575
2602
|
}
|
|
2576
2603
|
}
|
|
2577
|
-
}),
|
|
2604
|
+
}), Co = {
|
|
2578
2605
|
button: he,
|
|
2579
|
-
iconButton:
|
|
2580
|
-
heading:
|
|
2581
|
-
switchRecipe:
|
|
2582
|
-
text:
|
|
2583
|
-
textarea:
|
|
2584
|
-
formControl:
|
|
2585
|
-
formHelperText:
|
|
2606
|
+
iconButton: vo,
|
|
2607
|
+
heading: Dr,
|
|
2608
|
+
switchRecipe: Mr,
|
|
2609
|
+
text: Hr,
|
|
2610
|
+
textarea: Vr,
|
|
2611
|
+
formControl: Nr,
|
|
2612
|
+
formHelperText: Er,
|
|
2586
2613
|
input: ge,
|
|
2587
|
-
inputAddon:
|
|
2588
|
-
inputGroup:
|
|
2589
|
-
},
|
|
2590
|
-
drawer:
|
|
2591
|
-
radioButtonGroup:
|
|
2592
|
-
radioGroup:
|
|
2593
|
-
accordion:
|
|
2594
|
-
formLabel:
|
|
2595
|
-
checkbox:
|
|
2596
|
-
datepicker:
|
|
2597
|
-
tabs:
|
|
2598
|
-
tag:
|
|
2599
|
-
select:
|
|
2600
|
-
chip:
|
|
2601
|
-
actionCard:
|
|
2602
|
-
tooltip:
|
|
2603
|
-
alert:
|
|
2604
|
-
},
|
|
2614
|
+
inputAddon: Xr,
|
|
2615
|
+
inputGroup: Ur
|
|
2616
|
+
}, So = {
|
|
2617
|
+
drawer: Wr,
|
|
2618
|
+
radioButtonGroup: Qr,
|
|
2619
|
+
radioGroup: Jr,
|
|
2620
|
+
accordion: Zr,
|
|
2621
|
+
formLabel: $r,
|
|
2622
|
+
checkbox: Gr,
|
|
2623
|
+
datepicker: qr,
|
|
2624
|
+
tabs: Or,
|
|
2625
|
+
tag: Kr,
|
|
2626
|
+
select: Yr,
|
|
2627
|
+
chip: eo,
|
|
2628
|
+
actionCard: to,
|
|
2629
|
+
tooltip: fo,
|
|
2630
|
+
alert: wo
|
|
2631
|
+
}, ko = tt.colors({
|
|
2605
2632
|
decorative: {
|
|
2606
2633
|
red: {
|
|
2607
2634
|
light: { value: "#FFB5AD" },
|
|
@@ -2700,9 +2727,9 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2700
2727
|
value: "{colors.primary.900}"
|
|
2701
2728
|
}
|
|
2702
2729
|
}
|
|
2703
|
-
}),
|
|
2704
|
-
colors:
|
|
2705
|
-
},
|
|
2730
|
+
}), _o = {
|
|
2731
|
+
colors: ko
|
|
2732
|
+
}, To = rt({
|
|
2706
2733
|
body: {
|
|
2707
2734
|
lg: {
|
|
2708
2735
|
value: {
|
|
@@ -2785,7 +2812,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2785
2812
|
}
|
|
2786
2813
|
}
|
|
2787
2814
|
}
|
|
2788
|
-
}),
|
|
2815
|
+
}), Po = m.animations({
|
|
2789
2816
|
"backdrop-in": {
|
|
2790
2817
|
value: "fade-in 250ms {easings.emphasized-in}"
|
|
2791
2818
|
},
|
|
@@ -2826,14 +2853,14 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2826
2853
|
"collapse-out": {
|
|
2827
2854
|
value: "collapse-out 150ms {easings.in-out}"
|
|
2828
2855
|
}
|
|
2829
|
-
}),
|
|
2856
|
+
}), zo = m.borders({
|
|
2830
2857
|
golden: { value: "1.618 / 1" },
|
|
2831
2858
|
landscape: { value: "4 / 3" },
|
|
2832
2859
|
portrait: { value: "3 / 4" },
|
|
2833
2860
|
square: { value: "1 / 1" },
|
|
2834
2861
|
ultrawide: { value: "18 / 5" },
|
|
2835
2862
|
wide: { value: "16 / 9" }
|
|
2836
|
-
}),
|
|
2863
|
+
}), Io = m.blurs({
|
|
2837
2864
|
"2xl": { value: "40px" },
|
|
2838
2865
|
"3xl": { value: "64px" },
|
|
2839
2866
|
base: { value: "8px" },
|
|
@@ -2841,11 +2868,11 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2841
2868
|
md: { value: "12px" },
|
|
2842
2869
|
sm: { value: "4px" },
|
|
2843
2870
|
xl: { value: "24px" }
|
|
2844
|
-
}),
|
|
2871
|
+
}), Lo = m.borders({
|
|
2845
2872
|
border: {
|
|
2846
2873
|
none: { value: "none" }
|
|
2847
2874
|
}
|
|
2848
|
-
}),
|
|
2875
|
+
}), Ro = m.colors({
|
|
2849
2876
|
black: { value: "#000" },
|
|
2850
2877
|
current: { value: "currentColor" },
|
|
2851
2878
|
transparent: { value: "rgb(0 0 0 / 0)" },
|
|
@@ -2917,7 +2944,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2917
2944
|
200: { value: "#FFEAAC" },
|
|
2918
2945
|
100: { value: "#FFF9E6" }
|
|
2919
2946
|
}
|
|
2920
|
-
}),
|
|
2947
|
+
}), Fo = m.durations({
|
|
2921
2948
|
fast: { value: "150ms" },
|
|
2922
2949
|
faster: { value: "100ms" },
|
|
2923
2950
|
fastest: { value: "50ms" },
|
|
@@ -2925,7 +2952,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
2925
2952
|
slow: { value: "300ms" },
|
|
2926
2953
|
slower: { value: "400ms" },
|
|
2927
2954
|
slowest: { value: "500ms" }
|
|
2928
|
-
}),
|
|
2955
|
+
}), Ao = m.easings({
|
|
2929
2956
|
default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
|
|
2930
2957
|
"ease-bounce-1": {
|
|
2931
2958
|
value: `linear(
|
|
@@ -3013,7 +3040,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
3013
3040
|
linear: { value: "linear" },
|
|
3014
3041
|
out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
|
|
3015
3042
|
pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
|
|
3016
|
-
}),
|
|
3043
|
+
}), Bo = m.radii({
|
|
3017
3044
|
"radius-0": { value: "0px" },
|
|
3018
3045
|
"radius-2": { value: "2px" },
|
|
3019
3046
|
"radius-4": { value: "4px" },
|
|
@@ -3035,7 +3062,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
3035
3062
|
"radius-60": { value: "60px" },
|
|
3036
3063
|
"radius-64": { value: "64px" },
|
|
3037
3064
|
full: { value: "9999px" }
|
|
3038
|
-
}),
|
|
3065
|
+
}), Do = m.shadows({
|
|
3039
3066
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
3040
3067
|
inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
|
|
3041
3068
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
@@ -3043,7 +3070,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
3043
3070
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
3044
3071
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
3045
3072
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
|
|
3046
|
-
}),
|
|
3073
|
+
}), Mo = m.sizes({
|
|
3047
3074
|
"size-0": {
|
|
3048
3075
|
value: "0px"
|
|
3049
3076
|
},
|
|
@@ -3120,7 +3147,7 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
3120
3147
|
"size-80": {
|
|
3121
3148
|
value: "80px"
|
|
3122
3149
|
}
|
|
3123
|
-
}),
|
|
3150
|
+
}), Ho = m.spacing({
|
|
3124
3151
|
"space-0": {
|
|
3125
3152
|
value: "0px"
|
|
3126
3153
|
},
|
|
@@ -3200,9 +3227,9 @@ const xo = /* @__PURE__ */ to(bo), yo = xo(
|
|
|
3200
3227
|
value: "80px"
|
|
3201
3228
|
}
|
|
3202
3229
|
});
|
|
3203
|
-
var
|
|
3204
|
-
`${
|
|
3205
|
-
var
|
|
3230
|
+
var Vo = "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,%";
|
|
3231
|
+
`${Vo.split(",").join("|")}`;
|
|
3232
|
+
var No = {
|
|
3206
3233
|
animation: [
|
|
3207
3234
|
"animationName",
|
|
3208
3235
|
"animationDuration",
|
|
@@ -3313,22 +3340,22 @@ var Ho = {
|
|
|
3313
3340
|
textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
|
|
3314
3341
|
transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
|
|
3315
3342
|
};
|
|
3316
|
-
Object.values(
|
|
3317
|
-
var
|
|
3318
|
-
function
|
|
3343
|
+
Object.values(No).reduce((t, r) => [...t, ...r], []);
|
|
3344
|
+
var Eo = 16, be = "px", xe = "em", E = "rem";
|
|
3345
|
+
function jo(t = "") {
|
|
3319
3346
|
const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${be}|${xe}|${E}`), i = t.match(new RegExp(`${r.source}(${a.source})`));
|
|
3320
3347
|
return i == null ? void 0 : i[1];
|
|
3321
3348
|
}
|
|
3322
3349
|
function x(t = "") {
|
|
3323
|
-
const r =
|
|
3350
|
+
const r = jo(t);
|
|
3324
3351
|
if (!r || r === E)
|
|
3325
3352
|
return t;
|
|
3326
3353
|
if (r === xe)
|
|
3327
3354
|
return `${parseFloat(t)}${E}`;
|
|
3328
3355
|
if (r === be)
|
|
3329
|
-
return `${parseFloat(t) /
|
|
3356
|
+
return `${parseFloat(t) / Eo}${E}`;
|
|
3330
3357
|
}
|
|
3331
|
-
const
|
|
3358
|
+
const Wo = m.fontSizes({
|
|
3332
3359
|
body: {
|
|
3333
3360
|
lg: { value: x("16px") },
|
|
3334
3361
|
md: { value: x("14px") },
|
|
@@ -3350,7 +3377,7 @@ const jo = m.fontSizes({
|
|
|
3350
3377
|
xs: { value: x("18px") }
|
|
3351
3378
|
}
|
|
3352
3379
|
}
|
|
3353
|
-
}),
|
|
3380
|
+
}), Zo = m.fontWeights({
|
|
3354
3381
|
black: { value: "900" },
|
|
3355
3382
|
bold: { value: "700" },
|
|
3356
3383
|
extrabold: { value: "800" },
|
|
@@ -3360,14 +3387,14 @@ const jo = m.fontSizes({
|
|
|
3360
3387
|
normal: { value: "400" },
|
|
3361
3388
|
semibold: { value: "600" },
|
|
3362
3389
|
thin: { value: "100" }
|
|
3363
|
-
}),
|
|
3390
|
+
}), $o = m.letterSpacings({
|
|
3364
3391
|
normal: { value: "0em" },
|
|
3365
3392
|
tight: { value: "-0.025em" },
|
|
3366
3393
|
tighter: { value: "-0.05em" },
|
|
3367
3394
|
wide: { value: "0.025em" },
|
|
3368
3395
|
wider: { value: "0.05em" },
|
|
3369
3396
|
widest: { value: "0.1em" }
|
|
3370
|
-
}),
|
|
3397
|
+
}), Go = m.lineHeights({}), Oo = m.fonts({
|
|
3371
3398
|
satoshi: { value: "var(--font-satoshi)" },
|
|
3372
3399
|
cabinet: { value: "var(--font-cabinet)" },
|
|
3373
3400
|
mono: {
|
|
@@ -3403,7 +3430,7 @@ const jo = m.fontSizes({
|
|
|
3403
3430
|
serif: {
|
|
3404
3431
|
value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
|
|
3405
3432
|
}
|
|
3406
|
-
}),
|
|
3433
|
+
}), Yo = m.zIndex({
|
|
3407
3434
|
banner: {
|
|
3408
3435
|
value: 1200
|
|
3409
3436
|
},
|
|
@@ -3440,102 +3467,102 @@ const jo = m.fontSizes({
|
|
|
3440
3467
|
tooltip: {
|
|
3441
3468
|
value: 1800
|
|
3442
3469
|
}
|
|
3443
|
-
}),
|
|
3444
|
-
animations:
|
|
3445
|
-
aspectRatios:
|
|
3446
|
-
blurs:
|
|
3447
|
-
borders:
|
|
3448
|
-
colors:
|
|
3449
|
-
durations:
|
|
3450
|
-
easings:
|
|
3451
|
-
fontSizes:
|
|
3452
|
-
fontWeights:
|
|
3453
|
-
fonts:
|
|
3454
|
-
letterSpacings:
|
|
3455
|
-
lineHeights:
|
|
3456
|
-
radii:
|
|
3457
|
-
shadows:
|
|
3458
|
-
sizes:
|
|
3459
|
-
spacing:
|
|
3460
|
-
zIndex:
|
|
3461
|
-
},
|
|
3470
|
+
}), Xo = {
|
|
3471
|
+
animations: Po,
|
|
3472
|
+
aspectRatios: zo,
|
|
3473
|
+
blurs: Io,
|
|
3474
|
+
borders: Lo,
|
|
3475
|
+
colors: Ro,
|
|
3476
|
+
durations: Fo,
|
|
3477
|
+
easings: Ao,
|
|
3478
|
+
fontSizes: Wo,
|
|
3479
|
+
fontWeights: Zo,
|
|
3480
|
+
fonts: Oo,
|
|
3481
|
+
letterSpacings: $o,
|
|
3482
|
+
lineHeights: Go,
|
|
3483
|
+
radii: Bo,
|
|
3484
|
+
shadows: Do,
|
|
3485
|
+
sizes: Mo,
|
|
3486
|
+
spacing: Ho,
|
|
3487
|
+
zIndex: Yo
|
|
3488
|
+
}, Uo = ot({
|
|
3462
3489
|
className: "size",
|
|
3463
3490
|
transform(t) {
|
|
3464
3491
|
return { height: t, width: t };
|
|
3465
3492
|
},
|
|
3466
3493
|
values: "sizes"
|
|
3467
|
-
}),
|
|
3494
|
+
}), qo = {
|
|
3468
3495
|
extend: {
|
|
3469
|
-
boxSize:
|
|
3496
|
+
boxSize: Uo
|
|
3470
3497
|
}
|
|
3471
3498
|
}, Za = at({
|
|
3472
3499
|
staticCss: {
|
|
3473
3500
|
recipes: "*"
|
|
3474
3501
|
},
|
|
3475
3502
|
theme: {
|
|
3476
|
-
breakpoints:
|
|
3477
|
-
containerSizes:
|
|
3478
|
-
keyframes:
|
|
3479
|
-
recipes:
|
|
3480
|
-
semanticTokens:
|
|
3481
|
-
slotRecipes:
|
|
3482
|
-
textStyles:
|
|
3483
|
-
tokens:
|
|
3484
|
-
},
|
|
3485
|
-
utilities:
|
|
3486
|
-
conditions:
|
|
3503
|
+
breakpoints: Rr,
|
|
3504
|
+
containerSizes: Ar,
|
|
3505
|
+
keyframes: Br,
|
|
3506
|
+
recipes: Co,
|
|
3507
|
+
semanticTokens: _o,
|
|
3508
|
+
slotRecipes: So,
|
|
3509
|
+
textStyles: To,
|
|
3510
|
+
tokens: Xo
|
|
3511
|
+
},
|
|
3512
|
+
utilities: qo,
|
|
3513
|
+
conditions: Fr
|
|
3487
3514
|
});
|
|
3488
3515
|
export {
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3516
|
+
aa as Accordion,
|
|
3517
|
+
ia as AccordionItem,
|
|
3518
|
+
na as AccordionItemContent,
|
|
3519
|
+
la as AccordionItemIndicator,
|
|
3520
|
+
sa as AccordionItemTrigger,
|
|
3521
|
+
Na as ActionCard,
|
|
3522
|
+
ja as ActionCardDescription,
|
|
3523
|
+
Ea as ActionCardTitle,
|
|
3497
3524
|
Wa as Alert,
|
|
3498
|
-
|
|
3525
|
+
Ta as Box,
|
|
3499
3526
|
Y as Button,
|
|
3500
3527
|
nt as Checkbox,
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3528
|
+
Da as Chip,
|
|
3529
|
+
Ma as ChipAvatar,
|
|
3530
|
+
Va as ChipClearTrigger,
|
|
3531
|
+
Ha as ChipLabel,
|
|
3532
|
+
Pa as DatePicker,
|
|
3533
|
+
ca as Drawer,
|
|
3534
|
+
da as DrawerBody,
|
|
3508
3535
|
dt as DrawerCloseTrigger,
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3536
|
+
ma as DrawerContent,
|
|
3537
|
+
pa as DrawerFooter,
|
|
3538
|
+
ua as DrawerHeader,
|
|
3539
|
+
ha as DrawerTitle,
|
|
3540
|
+
ga as DrawerTrigger,
|
|
3541
|
+
ba as FormControl,
|
|
3542
|
+
ya as FormHelperText,
|
|
3543
|
+
xa as FormLabel,
|
|
3544
|
+
va as Heading,
|
|
3545
|
+
Sr as IconButton,
|
|
3546
|
+
Et as Input,
|
|
3547
|
+
jt as InputAddon,
|
|
3548
|
+
Wt as InputGroup,
|
|
3549
|
+
Lr as PriceTag,
|
|
3550
|
+
Ia as RadioButtonGroup,
|
|
3551
|
+
La as RadioButtonGroupItem,
|
|
3552
|
+
Ra as RadioButtonGroupLabel,
|
|
3553
|
+
Fa as RadioGroup,
|
|
3554
|
+
Aa as RadioGroupItem,
|
|
3555
|
+
Ba as RadioGroupLabel,
|
|
3556
|
+
_a as Select,
|
|
3557
|
+
St as Switch,
|
|
3558
|
+
wa as Tabs,
|
|
3559
|
+
Ca as TabsContent,
|
|
3560
|
+
ka as TabsList,
|
|
3561
|
+
Sa as TabsTrigger,
|
|
3562
|
+
za as Tag,
|
|
3563
|
+
kt as Text,
|
|
3564
|
+
fa as Textarea,
|
|
3565
|
+
wt as Tooltip,
|
|
3539
3566
|
Za as preset
|
|
3540
3567
|
};
|
|
3541
3568
|
//# sourceMappingURL=ui.js.map
|