@stokelp/ui 1.16.0 → 1.18.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/app/index.d.ts +1 -0
- package/dist/components/app/price-tag/PriceTag.d.ts +56 -0
- package/dist/components/app/price-tag/index.d.ts +1 -0
- package/dist/components/icon-button/IconButton.d.ts +11 -0
- package/dist/components/icon-button/index.d.ts +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/theme/recipes/icon-button.d.ts +3 -0
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +542 -332
- package/dist/ui.js.map +1 -1
- package/package.json +12 -11
package/dist/ui.js
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { Accordion as
|
|
4
|
-
import { styled as
|
|
5
|
-
import { accordion as
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { cx as
|
|
8
|
-
import { defineKeyframes as
|
|
9
|
-
const
|
|
10
|
-
const
|
|
2
|
+
import { jsx as t, jsxs as c, Fragment as be } from "react/jsx-runtime";
|
|
3
|
+
import { Accordion as A, Checkbox as R, Dialog as T, ark as b, Portal as Z, Switch as B, Tabs as F, Select as x, DatePicker as u, RadioGroup as v, switchAnatomy as ye, dialogAnatomy as ve, accordionAnatomy as xe, checkboxAnatomy as fe, tabsAnatomy as we, selectAnatomy as Ce, datePickerAnatomy as Se, radioGroupAnatomy as ne } from "@ark-ui/react";
|
|
4
|
+
import { styled as a, splitCssProps as M, Circle as ke } from "@stokelp/styled-system/jsx";
|
|
5
|
+
import { accordion as _e, button as Te, checkbox as Q, drawer as ze, formControl as Ie, formLabel as G, formHelperText as Re, heading as Pe, switchRecipe as J, text as Le, textarea as Fe, tabs as Be, select as De, input as Ae, inputAddon as Me, inputGroup as Ne, datepicker as Ee, tag as ee, radioButtonGroup as We, radioGroup as je, chip as Ve, actionCard as He, iconButton as $e } from "@stokelp/styled-system/recipes";
|
|
6
|
+
import { createContext as Ge, forwardRef as w, useContext as Oe, createElement as Ze, useMemo as Y } from "react";
|
|
7
|
+
import { cx as P, css as N, sva as Ye } from "@stokelp/styled-system/css";
|
|
8
|
+
import { defineKeyframes as Xe, defineRecipe as C, defineSlotRecipe as y, defineSemanticTokens as Ue, defineTextStyles as qe, defineTokens as m, defineUtility as Ke, definePreset as Qe } from "@pandacss/dev";
|
|
9
|
+
const te = (...e) => e.filter(Boolean).join(" "), k = (e, r) => {
|
|
10
|
+
const o = Ge(null);
|
|
11
11
|
return {
|
|
12
|
-
withContext: (
|
|
13
|
-
const I =
|
|
14
|
-
return
|
|
15
|
-
|
|
12
|
+
withContext: (d, l, s) => l ? w((p, z) => {
|
|
13
|
+
const I = Oe(o), $ = (r == null ? void 0 : r.dataAttr) ?? !1;
|
|
14
|
+
return Ze(d, {
|
|
15
|
+
...$ && { "data-recipe-slot": l ?? "" },
|
|
16
16
|
...p,
|
|
17
|
-
...
|
|
18
|
-
className:
|
|
19
|
-
ref:
|
|
17
|
+
...s == null ? void 0 : s.defaultProps,
|
|
18
|
+
className: te(I == null ? void 0 : I[l ?? ""], p.className),
|
|
19
|
+
ref: z
|
|
20
20
|
});
|
|
21
|
-
}) :
|
|
22
|
-
withProvider: (
|
|
23
|
-
const [I, { children:
|
|
21
|
+
}) : d,
|
|
22
|
+
withProvider: (d, l, s) => w((p, z) => {
|
|
23
|
+
const [I, { children: $, ...q }] = e.splitVariantProps({
|
|
24
24
|
...p,
|
|
25
|
-
...
|
|
26
|
-
}),
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
|
|
25
|
+
...s == null ? void 0 : s.defaultProps
|
|
26
|
+
}), K = e(I), ge = (r == null ? void 0 : r.dataAttr) ?? !1;
|
|
27
|
+
return /* @__PURE__ */ t(o.Provider, { value: K, children: /* @__PURE__ */ c(
|
|
28
|
+
d,
|
|
29
29
|
{
|
|
30
|
-
ref:
|
|
31
|
-
...
|
|
32
|
-
...
|
|
33
|
-
className: K
|
|
30
|
+
ref: z,
|
|
31
|
+
...ge && { "data-recipe-slot": l ?? "" },
|
|
32
|
+
...q,
|
|
33
|
+
className: te(K[l ?? ""], q.className),
|
|
34
34
|
children: [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
s == null ? void 0 : s.beforeSlot,
|
|
36
|
+
$,
|
|
37
|
+
s == null ? void 0 : s.afterSlot
|
|
38
38
|
]
|
|
39
39
|
}
|
|
40
40
|
) });
|
|
41
41
|
})
|
|
42
42
|
};
|
|
43
|
-
}, { withProvider:
|
|
43
|
+
}, { withProvider: Je, withContext: W } = k(_e), Ao = Je(a(A.Root), "root"), Mo = W(a(A.Item), "item"), No = W(a(A.ItemContent), "itemContent"), Eo = W(a(A.ItemIndicator), "itemIndicator", {
|
|
44
44
|
defaultProps: {
|
|
45
|
-
children: /* @__PURE__ */
|
|
45
|
+
children: /* @__PURE__ */ t("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("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 [
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
47
|
+
}), Wo = W(a(A.ItemTrigger), "itemTrigger"), O = a("button", Te), et = w((e, r) => {
|
|
48
|
+
const [o, i] = Q.splitVariantProps(e), [n, d] = M(i), { children: l, className: s, ...f } = d, p = Q(o);
|
|
49
|
+
return /* @__PURE__ */ c(R.Root, { ref: r, className: P(p.root, N(n), s), ...f, children: [
|
|
50
|
+
/* @__PURE__ */ c(R.Control, { className: p.control, children: [
|
|
51
|
+
/* @__PURE__ */ t(R.Indicator, { children: /* @__PURE__ */ t(tt, {}) }),
|
|
52
|
+
/* @__PURE__ */ t(R.Indicator, { indeterminate: !0, children: /* @__PURE__ */ t(rt, {}) })
|
|
53
53
|
] }),
|
|
54
|
-
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
l && /* @__PURE__ */ t(R.Label, { className: p.label, children: l }),
|
|
55
|
+
/* @__PURE__ */ t(R.HiddenInput, {})
|
|
56
56
|
] });
|
|
57
57
|
});
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
58
|
+
et.displayName = "Checkbox";
|
|
59
|
+
const tt = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
60
|
+
/* @__PURE__ */ t("title", { children: "Check Icon" }),
|
|
61
|
+
/* @__PURE__ */ t(
|
|
62
62
|
"path",
|
|
63
63
|
{
|
|
64
64
|
d: "M4.39754 8.43751L2.31254 6.35251L1.60254 7.05751L4.39754 9.85251L10.3975 3.85251L9.69254 3.14751L4.39754 8.43751Z",
|
|
65
65
|
fill: "white"
|
|
66
66
|
}
|
|
67
67
|
)
|
|
68
|
-
] }),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
] }), { withProvider:
|
|
68
|
+
] }), rt = () => /* @__PURE__ */ c("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
69
|
+
/* @__PURE__ */ t("title", { children: "Minus Icon" }),
|
|
70
|
+
/* @__PURE__ */ t("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
|
|
71
|
+
] }), { withProvider: ot, withContext: _ } = k(ze), jo = ot(T.Root, void 0, {
|
|
72
72
|
defaultProps: {
|
|
73
73
|
unmountOnExit: !0,
|
|
74
74
|
lazyMount: !0
|
|
75
75
|
}
|
|
76
|
-
}),
|
|
77
|
-
({ children:
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
}), Vo = _(a(b.main), "body"), at = _(a(T.CloseTrigger), "closeTrigger"), Ho = _(a(b.footer), "footer"), le = w(
|
|
77
|
+
({ children: e, showCloseTrigger: r = !0, ...o }, i) => /* @__PURE__ */ c(b.header, { ...o, ref: i, children: [
|
|
78
|
+
e,
|
|
79
|
+
r && /* @__PURE__ */ t(at, { asChild: !0, children: /* @__PURE__ */ t(O, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t(
|
|
80
80
|
"path",
|
|
81
81
|
{
|
|
82
82
|
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",
|
|
@@ -85,83 +85,83 @@ const Xe = () => /* @__PURE__ */ s("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
85
85
|
) }) }) })
|
|
86
86
|
] })
|
|
87
87
|
);
|
|
88
|
-
|
|
89
|
-
const
|
|
90
|
-
({ children:
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
/* @__PURE__ */
|
|
88
|
+
le.displayName = "DrawerHeader";
|
|
89
|
+
const $o = _(le, "header"), Go = _(a(T.Title), "title"), Oo = _(a(T.Trigger), "trigger"), it = _(a(T.Positioner), "positioner"), nt = _(a(T.Backdrop), "backdrop"), se = w(
|
|
90
|
+
({ children: e, ...r }, o) => /* @__PURE__ */ c(Z, { children: [
|
|
91
|
+
/* @__PURE__ */ t(nt, {}),
|
|
92
|
+
/* @__PURE__ */ t(it, { children: /* @__PURE__ */ t(T.Content, { ref: o, ...r, children: e }) })
|
|
93
93
|
] })
|
|
94
94
|
);
|
|
95
|
-
|
|
96
|
-
const
|
|
95
|
+
se.displayName = T.Content.displayName;
|
|
96
|
+
const Zo = _(a(se), "content"), lt = a("div", Ie, {
|
|
97
97
|
defaultProps: {
|
|
98
98
|
role: "group"
|
|
99
99
|
}
|
|
100
|
-
}),
|
|
100
|
+
}), Yo = ({ isInvalid: e, isRequired: r, ...o }) => {
|
|
101
101
|
const i = {
|
|
102
|
-
...
|
|
103
|
-
...
|
|
102
|
+
...e ? { "aria-invalid": !0 } : {},
|
|
103
|
+
...r ? { "aria-required": !0 } : {}
|
|
104
104
|
};
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
},
|
|
107
|
-
const [
|
|
108
|
-
return /* @__PURE__ */
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
return /* @__PURE__ */ t(lt, { ...i, ...o });
|
|
106
|
+
}, st = a("label", G), Xo = (e) => {
|
|
107
|
+
const [r, o] = G.splitVariantProps(e), [i, n] = M(o), { children: d, className: l, addon: s, ...f } = n, p = G(r);
|
|
108
|
+
return /* @__PURE__ */ c(st, { className: P(p.root, N(i), l), ...f, children: [
|
|
109
|
+
d,
|
|
110
|
+
s ? /* @__PURE__ */ t(a.span, { className: p.addon, children: s }) : null
|
|
111
111
|
] });
|
|
112
|
-
},
|
|
112
|
+
}, Uo = a("p", Re, {
|
|
113
113
|
dataAttr: !0
|
|
114
|
-
}),
|
|
115
|
-
const { as:
|
|
116
|
-
return /* @__PURE__ */
|
|
117
|
-
},
|
|
118
|
-
const [
|
|
119
|
-
return /* @__PURE__ */
|
|
120
|
-
/* @__PURE__ */
|
|
121
|
-
|
|
122
|
-
/* @__PURE__ */
|
|
114
|
+
}), qo = (e) => {
|
|
115
|
+
const { as: r = "h2", ...o } = e, i = Y(() => a(r, Pe), [r]);
|
|
116
|
+
return /* @__PURE__ */ t(i, { size: r, ...o });
|
|
117
|
+
}, ct = w((e, r) => {
|
|
118
|
+
const [o, i] = J.splitVariantProps(e), [n, d] = M(i), { children: l, className: s, ...f } = d, p = J(o);
|
|
119
|
+
return /* @__PURE__ */ c(B.Root, { ref: r, className: P(p.root, N(n), s), ...f, children: [
|
|
120
|
+
/* @__PURE__ */ t(B.Control, { className: p.control, children: /* @__PURE__ */ t(B.Thumb, { className: p.thumb }) }),
|
|
121
|
+
l ? /* @__PURE__ */ t(B.Label, { className: p.label, children: l }) : null,
|
|
122
|
+
/* @__PURE__ */ t(B.HiddenInput, {})
|
|
123
123
|
] });
|
|
124
124
|
});
|
|
125
|
-
|
|
126
|
-
const
|
|
127
|
-
const { as:
|
|
128
|
-
return /* @__PURE__ */
|
|
129
|
-
},
|
|
125
|
+
ct.displayName = "Switch";
|
|
126
|
+
const dt = (e) => {
|
|
127
|
+
const { as: r = "p", ...o } = e, i = Y(() => a(r, Le), [r]);
|
|
128
|
+
return /* @__PURE__ */ t(i, { ...o });
|
|
129
|
+
}, Ko = a(b.textarea, Fe), { withProvider: pt, withContext: j } = k(Be), Qo = pt(a(F.Root), "root", {
|
|
130
130
|
defaultProps: {
|
|
131
131
|
lazyMount: !0
|
|
132
132
|
}
|
|
133
|
-
}),
|
|
134
|
-
({ children:
|
|
135
|
-
|
|
136
|
-
/* @__PURE__ */
|
|
133
|
+
}), Jo = j(a(F.Content), "content"), ea = j(a(F.Trigger), "trigger"), ut = j(a(F.Indicator), "indicator"), ce = w(
|
|
134
|
+
({ children: e, ...r }, o) => /* @__PURE__ */ c(F.List, { ref: o, ...r, children: [
|
|
135
|
+
e,
|
|
136
|
+
/* @__PURE__ */ t(ut, {})
|
|
137
137
|
] })
|
|
138
138
|
);
|
|
139
|
-
|
|
140
|
-
const
|
|
139
|
+
ce.displayName = F.List.displayName;
|
|
140
|
+
const ta = j(a(ce), "list"), ht = ({ children: e, when: r, wrapper: o }) => r === !0 ? o(e) : e, { withProvider: mt, withContext: S } = k(De), gt = mt(a(x.Root), "root", {
|
|
141
141
|
defaultProps: {
|
|
142
142
|
loopFocus: !0
|
|
143
143
|
}
|
|
144
|
-
}),
|
|
145
|
-
items:
|
|
146
|
-
placeholder:
|
|
147
|
-
emptyLabel:
|
|
144
|
+
}), bt = S(a(x.ClearTrigger), "clearTrigger"), yt = S(a(x.Content), "content"), vt = S(a(x.Control), "control"), xt = S(a(x.Indicator), "indicator"), ft = S(a(x.Item), "item"), wt = S(a(x.ItemIndicator), "itemIndicator"), Ct = S(a(x.ItemText), "itemText"), St = S(a(x.Positioner), "positioner"), kt = S(a(x.Trigger), "trigger"), _t = S(a(x.ValueText), "valueText"), ra = ({
|
|
145
|
+
items: e,
|
|
146
|
+
placeholder: r,
|
|
147
|
+
emptyLabel: o,
|
|
148
148
|
usePortal: i = !0,
|
|
149
|
-
positioning:
|
|
150
|
-
...
|
|
151
|
-
}) => /* @__PURE__ */
|
|
152
|
-
|
|
149
|
+
positioning: n,
|
|
150
|
+
...d
|
|
151
|
+
}) => /* @__PURE__ */ c(
|
|
152
|
+
gt,
|
|
153
153
|
{
|
|
154
154
|
lazyMount: !0,
|
|
155
155
|
unmountOnExit: !0,
|
|
156
|
-
items:
|
|
157
|
-
positioning: { sameWidth: !0, gutter: 0, ...
|
|
156
|
+
items: e,
|
|
157
|
+
positioning: { sameWidth: !0, gutter: 0, ...n },
|
|
158
158
|
"data-recipe": "select",
|
|
159
|
-
...
|
|
159
|
+
...d,
|
|
160
160
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ c(vt, { children: [
|
|
162
|
+
/* @__PURE__ */ c(kt, { children: [
|
|
163
|
+
/* @__PURE__ */ t(_t, { truncate: !0, placeholder: r }),
|
|
164
|
+
/* @__PURE__ */ t(xt, { asChild: !0, children: /* @__PURE__ */ t(a.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t(
|
|
165
165
|
"path",
|
|
166
166
|
{
|
|
167
167
|
d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
|
|
@@ -169,7 +169,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
169
169
|
}
|
|
170
170
|
) }) })
|
|
171
171
|
] }),
|
|
172
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ t(bt, { asChild: !0, children: /* @__PURE__ */ t("button", { children: /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t(
|
|
173
173
|
"path",
|
|
174
174
|
{
|
|
175
175
|
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 +177,23 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
177
177
|
}
|
|
178
178
|
) }) }) })
|
|
179
179
|
] }),
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
|
|
183
|
-
] },
|
|
184
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ t(ht, { when: i, wrapper: (l) => /* @__PURE__ */ t(Z, { children: l }), children: /* @__PURE__ */ t(St, { children: /* @__PURE__ */ t(yt, { children: e.length === 0 ? /* @__PURE__ */ t(dt, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : e.map((l) => /* @__PURE__ */ c(ft, { item: l, children: [
|
|
181
|
+
/* @__PURE__ */ t(Ct, { truncate: !0, children: l.label }),
|
|
182
|
+
d.multiple ? /* @__PURE__ */ t(wt, { children: "✓" }) : null
|
|
183
|
+
] }, l.value)) }) }) }),
|
|
184
|
+
/* @__PURE__ */ t(x.HiddenSelect, {})
|
|
185
185
|
]
|
|
186
186
|
}
|
|
187
|
-
),
|
|
187
|
+
), Tt = a("input", Ae, {
|
|
188
188
|
dataAttr: !0
|
|
189
|
-
}),
|
|
189
|
+
}), zt = a(b.div, Me, {
|
|
190
190
|
dataAttr: !0
|
|
191
|
-
}),
|
|
191
|
+
}), It = a("div", Ne, {
|
|
192
192
|
dataAttr: !0
|
|
193
|
-
}),
|
|
194
|
-
const { as:
|
|
195
|
-
return /* @__PURE__ */
|
|
196
|
-
}, { withProvider:
|
|
193
|
+
}), oa = (e) => {
|
|
194
|
+
const { as: r = "div", ...o } = e, i = Y(() => a(r), [r]);
|
|
195
|
+
return /* @__PURE__ */ t(i, { ...o });
|
|
196
|
+
}, { withProvider: Rt, withContext: h } = k(Ee), Pt = Rt(u.Root, "root", {
|
|
197
197
|
defaultProps: {
|
|
198
198
|
positioning: {
|
|
199
199
|
placement: "bottom-start"
|
|
@@ -204,64 +204,64 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
204
204
|
lazyMount: !0,
|
|
205
205
|
startOfWeek: 6
|
|
206
206
|
}
|
|
207
|
-
}),
|
|
207
|
+
}), Lt = h(u.Content, "content"), Ft = h(u.Control, "control"), Bt = h(u.Input, "input"), Dt = h(u.MonthSelect, "monthSelect"), At = h(u.NextTrigger, "nextTrigger"), Mt = h(u.Positioner, "positioner"), Nt = h(u.PrevTrigger, "prevTrigger"), Et = h(u.TableBody, "tableBody"), Wt = h(u.TableCell, "tableCell"), jt = h(u.TableCellTrigger, "tableCellTrigger"), Vt = h(u.TableHead, "tableHead"), Ht = h(u.TableHeader, "tableHeader"), $t = h(u.Table, "table"), re = h(u.TableRow, "tableRow"), Gt = h(u.Trigger, "trigger"), Ot = h(u.ViewControl, "viewControl"), Zt = h(u.View, "view"), Yt = h(u.YearSelect, "yearSelect"), Xt = h(a(u.ClearTrigger), "clearTrigger"), Ut = () => /* @__PURE__ */ t("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t(
|
|
208
208
|
"path",
|
|
209
209
|
{
|
|
210
210
|
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
211
|
fill: "#1E3A76"
|
|
212
212
|
}
|
|
213
|
-
) }),
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
/* @__PURE__ */
|
|
217
|
-
/* @__PURE__ */
|
|
213
|
+
) }), qt = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { d: "M10.4698 4.94L9.52979 4L5.52979 8L9.52979 12L10.4698 11.06L7.41645 8L10.4698 4.94Z", fill: "currentColor" }) }), Kt = () => /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { d: "M6.46979 4L5.52979 4.94L8.58312 8L5.52979 11.06L6.46979 12L10.4698 8L6.46979 4Z", fill: "currentColor" }) }), aa = ({ placeholder: e, preflightClassName: r, ...o }) => /* @__PURE__ */ c(Pt, { ...o, children: [
|
|
214
|
+
/* @__PURE__ */ t(Ft, { asChild: !0, children: /* @__PURE__ */ c(It, { children: [
|
|
215
|
+
/* @__PURE__ */ t(Bt, { asChild: !0, index: 0, placeholder: e, children: /* @__PURE__ */ t(Tt, {}) }),
|
|
216
|
+
/* @__PURE__ */ c(zt, { children: [
|
|
217
|
+
/* @__PURE__ */ t(Xt, { asChild: !0, cursor: "pointer", mr: "space-4", children: /* @__PURE__ */ t("button", { children: /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t(
|
|
218
218
|
"path",
|
|
219
219
|
{
|
|
220
220
|
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
221
|
fill: "currentColor"
|
|
222
222
|
}
|
|
223
223
|
) }) }) }),
|
|
224
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ t(Gt, { children: /* @__PURE__ */ t(Ut, {}) })
|
|
225
225
|
] })
|
|
226
226
|
] }) }),
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
227
|
+
/* @__PURE__ */ t(Z, { children: /* @__PURE__ */ t(Mt, { className: r, children: /* @__PURE__ */ t(Lt, { children: /* @__PURE__ */ t(Zt, { view: "day", children: /* @__PURE__ */ t(u.Context, { children: (i) => /* @__PURE__ */ c(be, { children: [
|
|
228
|
+
/* @__PURE__ */ c(Ot, { children: [
|
|
229
|
+
/* @__PURE__ */ t(Nt, { asChild: !0, children: /* @__PURE__ */ t(O, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ t(qt, {}) }) }),
|
|
230
|
+
/* @__PURE__ */ t(Dt, {}),
|
|
231
|
+
/* @__PURE__ */ t(Yt, {}),
|
|
232
|
+
/* @__PURE__ */ t(At, { asChild: !0, children: /* @__PURE__ */ t(O, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ t(Kt, {}) }) })
|
|
233
233
|
] }),
|
|
234
|
-
/* @__PURE__ */
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ c($t, { children: [
|
|
235
|
+
/* @__PURE__ */ t(Vt, { children: /* @__PURE__ */ t(re, { children: i.weekDays.map((n, d) => /* @__PURE__ */ t(Ht, { children: n.short }, d)) }) }),
|
|
236
|
+
/* @__PURE__ */ t(Et, { children: i.weeks.map((n, d) => /* @__PURE__ */ t(re, { children: n.map((l, s) => /* @__PURE__ */ t(Wt, { value: l, children: /* @__PURE__ */ t(jt, { asChild: !0, children: /* @__PURE__ */ t("button", { children: l.day }) }) }, s)) }, d)) })
|
|
237
237
|
] })
|
|
238
238
|
] }) }) }) }) }) })
|
|
239
|
-
] }),
|
|
240
|
-
const [
|
|
241
|
-
return /* @__PURE__ */
|
|
242
|
-
|
|
243
|
-
/* @__PURE__ */
|
|
239
|
+
] }), ia = w((e, r) => {
|
|
240
|
+
const [o, i] = ee.splitVariantProps(e), [n, d] = M(i), { children: l, className: s, ...f } = d, p = ee(o);
|
|
241
|
+
return /* @__PURE__ */ c(b.div, { ref: r, className: P(p.root, N(n), s), ...f, children: [
|
|
242
|
+
l,
|
|
243
|
+
/* @__PURE__ */ t(ke, { className: P(p.badge) })
|
|
244
244
|
] });
|
|
245
|
-
}), { withProvider:
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
] })),
|
|
245
|
+
}), { withProvider: Qt, withContext: V } = k(We), Jt = V(a(v.ItemControl), "itemControl"), er = V(a(v.ItemText), "itemText"), tr = w(({ children: e, value: r, ...o }, i) => /* @__PURE__ */ c(v.Item, { ref: i, ...o, value: r, children: [
|
|
246
|
+
/* @__PURE__ */ t(er, { children: e }),
|
|
247
|
+
/* @__PURE__ */ t(Jt, {}),
|
|
248
|
+
/* @__PURE__ */ t(v.ItemHiddenInput, {})
|
|
249
|
+
] })), na = Qt(a(v.Root), "root", {
|
|
250
250
|
defaultProps: {
|
|
251
251
|
orientation: "horizontal"
|
|
252
252
|
}
|
|
253
|
-
}),
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
] })),
|
|
253
|
+
}), la = V(a(tr), "item"), sa = V(a(v.Label), "label"), { withProvider: rr, withContext: H } = k(je), or = H(a(v.ItemControl), "itemControl"), ar = H(a(v.ItemText), "itemText"), ir = w(({ children: e, value: r, ...o }, i) => /* @__PURE__ */ c(v.Item, { ref: i, ...o, value: r, children: [
|
|
254
|
+
/* @__PURE__ */ t(or, {}),
|
|
255
|
+
/* @__PURE__ */ t(ar, { children: e }),
|
|
256
|
+
/* @__PURE__ */ t(v.ItemHiddenInput, {})
|
|
257
|
+
] })), ca = rr(a(v.Root), "root", {
|
|
258
258
|
defaultProps: {
|
|
259
259
|
orientation: "horizontal"
|
|
260
260
|
}
|
|
261
|
-
}),
|
|
261
|
+
}), da = H(a(ir), "item"), pa = H(a(v.Label), "label"), { withProvider: nr, withContext: X } = k(Ve), ua = nr(a(b.span), "root"), ha = X(a("img"), "avatar"), ma = X(a(b.p), "body"), ga = X(a(b.button), "clearTrigger", {
|
|
262
262
|
defaultProps: {
|
|
263
263
|
type: "button",
|
|
264
|
-
children: /* @__PURE__ */
|
|
264
|
+
children: /* @__PURE__ */ t("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t(
|
|
265
265
|
"path",
|
|
266
266
|
{
|
|
267
267
|
d: "M11.0832 4.23949L10.2607 3.41699L6.99984 6.67783L3.739 3.41699L2.9165 4.23949L6.17734 7.50033L2.9165 10.7612L3.739 11.5837L6.99984 8.32283L10.2607 11.5837L11.0832 10.7612L7.82234 7.50033L11.0832 4.23949Z",
|
|
@@ -269,19 +269,93 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
269
269
|
}
|
|
270
270
|
) })
|
|
271
271
|
}
|
|
272
|
-
}), { withProvider:
|
|
272
|
+
}), { withProvider: lr, withContext: U } = k(He, {
|
|
273
273
|
dataAttr: !0
|
|
274
|
-
}),
|
|
274
|
+
}), sr = U(a(b.svg), "icon"), ba = lr(a(b.button), "root", {
|
|
275
275
|
defaultProps: {
|
|
276
276
|
role: "group"
|
|
277
277
|
},
|
|
278
|
-
afterSlot: /* @__PURE__ */
|
|
279
|
-
}),
|
|
278
|
+
afterSlot: /* @__PURE__ */ t(sr, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { d: "M9.70501 6L8.29501 7.41L12.875 12L8.29501 16.59L9.70501 18L15.705 12L9.70501 6Z", fill: "currentColor" }) })
|
|
279
|
+
}), ya = U(a(b.h3), "title"), va = U(a(b.p), "description"), xa = a("button", $e), oe = Ye({
|
|
280
|
+
slots: ["root", "price", "unit"],
|
|
281
|
+
base: {
|
|
282
|
+
root: {
|
|
283
|
+
borderRadius: "radius-4",
|
|
284
|
+
display: "inline-flex",
|
|
285
|
+
flexDirection: "row",
|
|
286
|
+
alignItems: "center",
|
|
287
|
+
gap: "space-4",
|
|
288
|
+
bg: "primary.700"
|
|
289
|
+
},
|
|
290
|
+
price: {
|
|
291
|
+
fontFamily: "cabinet",
|
|
292
|
+
color: "white"
|
|
293
|
+
},
|
|
294
|
+
unit: {
|
|
295
|
+
fontFamily: "satoshi",
|
|
296
|
+
color: "grey.100"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
variants: {
|
|
300
|
+
size: {
|
|
301
|
+
lg: {
|
|
302
|
+
root: {
|
|
303
|
+
py: "space-8",
|
|
304
|
+
px: "space-16"
|
|
305
|
+
},
|
|
306
|
+
price: {
|
|
307
|
+
textStyle: "heading.h2"
|
|
308
|
+
},
|
|
309
|
+
unit: {
|
|
310
|
+
textStyle: "body.lg"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
md: {
|
|
314
|
+
root: {
|
|
315
|
+
py: "space-4",
|
|
316
|
+
px: "space-8"
|
|
317
|
+
},
|
|
318
|
+
price: {
|
|
319
|
+
textStyle: "heading.h4"
|
|
320
|
+
},
|
|
321
|
+
unit: {
|
|
322
|
+
textStyle: "body.md"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
sm: {
|
|
326
|
+
root: {
|
|
327
|
+
py: "space-4",
|
|
328
|
+
px: "space-8"
|
|
329
|
+
},
|
|
330
|
+
price: {
|
|
331
|
+
textStyle: "heading.h6"
|
|
332
|
+
},
|
|
333
|
+
unit: {
|
|
334
|
+
textStyle: "body.sm"
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
defaultVariants: {
|
|
340
|
+
size: "md"
|
|
341
|
+
}
|
|
342
|
+
}), cr = w((e, r) => {
|
|
343
|
+
const [o, i] = oe.splitVariantProps(e), [n, d] = M(i), { className: l, unit: s, price: f, ...p } = d, z = oe(o), I = !!s;
|
|
344
|
+
return /* @__PURE__ */ c("span", { ref: r, className: P(z.root, N(n), l), ...p, children: [
|
|
345
|
+
/* @__PURE__ */ t("span", { className: z.price, children: f }),
|
|
346
|
+
I ? /* @__PURE__ */ c("span", { className: z.unit, children: [
|
|
347
|
+
"/ ",
|
|
348
|
+
s
|
|
349
|
+
] }) : null
|
|
350
|
+
] });
|
|
351
|
+
});
|
|
352
|
+
cr.displayName = "PriceTag";
|
|
353
|
+
const dr = {
|
|
280
354
|
xl: "1536px",
|
|
281
355
|
lg: "1200px",
|
|
282
356
|
md: "900px",
|
|
283
357
|
sm: "600px"
|
|
284
|
-
},
|
|
358
|
+
}, pr = {
|
|
285
359
|
extend: {
|
|
286
360
|
checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
287
361
|
closed: "&:where([data-state=closed])",
|
|
@@ -299,7 +373,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
299
373
|
today: "&:where([data-today])",
|
|
300
374
|
underValue: '&:where([data-state="under-value"])'
|
|
301
375
|
}
|
|
302
|
-
},
|
|
376
|
+
}, ur = {
|
|
303
377
|
"2xl": "672px",
|
|
304
378
|
"3xl": "768px",
|
|
305
379
|
"4xl": "896px",
|
|
@@ -312,7 +386,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
312
386
|
sm: "384px",
|
|
313
387
|
xl: "576px",
|
|
314
388
|
xs: "320px"
|
|
315
|
-
},
|
|
389
|
+
}, hr = Xe({
|
|
316
390
|
blob: {
|
|
317
391
|
"0%": {
|
|
318
392
|
rotate: "0deg"
|
|
@@ -430,7 +504,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
430
504
|
transform: "rotate(360deg)"
|
|
431
505
|
}
|
|
432
506
|
}
|
|
433
|
-
}),
|
|
507
|
+
}), de = C({
|
|
434
508
|
base: {
|
|
435
509
|
_focusVisible: {
|
|
436
510
|
ring: "2px solid {colors.primary.200}",
|
|
@@ -621,7 +695,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
621
695
|
}
|
|
622
696
|
}
|
|
623
697
|
]
|
|
624
|
-
}),
|
|
698
|
+
}), mr = C({
|
|
625
699
|
className: "heading",
|
|
626
700
|
defaultVariants: {
|
|
627
701
|
size: "h2"
|
|
@@ -651,7 +725,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
651
725
|
h6: { textStyle: "heading.h6" }
|
|
652
726
|
}
|
|
653
727
|
}
|
|
654
|
-
}),
|
|
728
|
+
}), gr = y({
|
|
655
729
|
base: {
|
|
656
730
|
control: {
|
|
657
731
|
_focus: {
|
|
@@ -711,7 +785,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
711
785
|
size: "md"
|
|
712
786
|
},
|
|
713
787
|
jsx: ["Switch", "SwitchField"],
|
|
714
|
-
slots:
|
|
788
|
+
slots: ye.keys(),
|
|
715
789
|
variants: {
|
|
716
790
|
size: {
|
|
717
791
|
md: {
|
|
@@ -733,7 +807,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
733
807
|
}
|
|
734
808
|
}
|
|
735
809
|
}
|
|
736
|
-
}),
|
|
810
|
+
}), br = C({
|
|
737
811
|
className: "text",
|
|
738
812
|
defaultVariants: {
|
|
739
813
|
size: "md"
|
|
@@ -766,7 +840,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
766
840
|
sm: { textStyle: "body.sm" }
|
|
767
841
|
}
|
|
768
842
|
}
|
|
769
|
-
}),
|
|
843
|
+
}), pe = C({
|
|
770
844
|
base: {
|
|
771
845
|
'&[type="time"]::-webkit-calendar-picker-indicator': {
|
|
772
846
|
display: "none"
|
|
@@ -820,15 +894,15 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
820
894
|
}
|
|
821
895
|
}
|
|
822
896
|
}
|
|
823
|
-
}),
|
|
897
|
+
}), yr = C({
|
|
824
898
|
className: "textarea",
|
|
825
899
|
jsx: ["Textarea"],
|
|
826
900
|
base: {
|
|
827
901
|
px: "space-16",
|
|
828
902
|
py: "space-8",
|
|
829
|
-
...
|
|
903
|
+
...pe.base
|
|
830
904
|
}
|
|
831
|
-
}),
|
|
905
|
+
}), vr = C({
|
|
832
906
|
base: {
|
|
833
907
|
_invalid: {
|
|
834
908
|
'& [data-recipe="formHelperText"]': {
|
|
@@ -858,7 +932,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
858
932
|
className: "form-control",
|
|
859
933
|
description: "The styles for the FormControl component",
|
|
860
934
|
jsx: ["FormControl"]
|
|
861
|
-
}),
|
|
935
|
+
}), xr = C({
|
|
862
936
|
base: {
|
|
863
937
|
color: "grey.400",
|
|
864
938
|
fontFamily: "satoshi",
|
|
@@ -867,9 +941,9 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
867
941
|
className: "form-helper-text",
|
|
868
942
|
description: "The styles for the FormHelperText component",
|
|
869
943
|
jsx: ["FormHelperText"]
|
|
870
|
-
}),
|
|
944
|
+
}), fr = ve.extendWith("header", "body", "footer"), wr = y({
|
|
871
945
|
className: "drawer",
|
|
872
|
-
slots:
|
|
946
|
+
slots: fr.keys(),
|
|
873
947
|
jsx: ["Drawer"],
|
|
874
948
|
base: {
|
|
875
949
|
backdrop: {
|
|
@@ -987,10 +1061,10 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
987
1061
|
}
|
|
988
1062
|
}
|
|
989
1063
|
}
|
|
990
|
-
}),
|
|
1064
|
+
}), Cr = y({
|
|
991
1065
|
className: "accordion",
|
|
992
1066
|
jsx: ["Accordion"],
|
|
993
|
-
slots:
|
|
1067
|
+
slots: xe.keys(),
|
|
994
1068
|
base: {
|
|
995
1069
|
root: {
|
|
996
1070
|
display: "flex",
|
|
@@ -1091,7 +1165,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1091
1165
|
}
|
|
1092
1166
|
}
|
|
1093
1167
|
}
|
|
1094
|
-
}),
|
|
1168
|
+
}), Sr = y({
|
|
1095
1169
|
base: {
|
|
1096
1170
|
root: { color: "grey.400", fontFamily: "satoshi", textStyle: "body.sm" },
|
|
1097
1171
|
addon: {
|
|
@@ -1121,9 +1195,9 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1121
1195
|
className: "form-label",
|
|
1122
1196
|
description: "The styles for the FormLabel component",
|
|
1123
1197
|
jsx: ["FormLabel"]
|
|
1124
|
-
}),
|
|
1198
|
+
}), kr = y({
|
|
1125
1199
|
className: "checkbox",
|
|
1126
|
-
slots:
|
|
1200
|
+
slots: fe.keys(),
|
|
1127
1201
|
jsx: ["Checkbox"],
|
|
1128
1202
|
base: {
|
|
1129
1203
|
root: {
|
|
@@ -1239,9 +1313,9 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1239
1313
|
}
|
|
1240
1314
|
}
|
|
1241
1315
|
}
|
|
1242
|
-
}),
|
|
1316
|
+
}), _r = y({
|
|
1243
1317
|
className: "tabs",
|
|
1244
|
-
slots:
|
|
1318
|
+
slots: we.keys(),
|
|
1245
1319
|
base: {
|
|
1246
1320
|
root: {
|
|
1247
1321
|
isolation: "isolate",
|
|
@@ -1345,7 +1419,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1345
1419
|
}
|
|
1346
1420
|
}
|
|
1347
1421
|
}
|
|
1348
|
-
}),
|
|
1422
|
+
}), Tr = y({
|
|
1349
1423
|
base: {
|
|
1350
1424
|
control: {
|
|
1351
1425
|
fontFamily: "satoshi",
|
|
@@ -1482,7 +1556,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1482
1556
|
size: "md"
|
|
1483
1557
|
},
|
|
1484
1558
|
jsx: ["Select"],
|
|
1485
|
-
slots:
|
|
1559
|
+
slots: Ce.keys(),
|
|
1486
1560
|
variants: {
|
|
1487
1561
|
size: {
|
|
1488
1562
|
md: {
|
|
@@ -1498,7 +1572,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1498
1572
|
}
|
|
1499
1573
|
}
|
|
1500
1574
|
}
|
|
1501
|
-
}),
|
|
1575
|
+
}), zr = C({
|
|
1502
1576
|
base: {
|
|
1503
1577
|
alignItems: "center",
|
|
1504
1578
|
borderRadius: "inherit",
|
|
@@ -1511,7 +1585,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1511
1585
|
className: "input-addon",
|
|
1512
1586
|
description: "The styles for the InputAddon component",
|
|
1513
1587
|
jsx: ["InputAddon"]
|
|
1514
|
-
}),
|
|
1588
|
+
}), Ir = C({
|
|
1515
1589
|
base: {
|
|
1516
1590
|
'& [data-recipe="input"]': {
|
|
1517
1591
|
border: {
|
|
@@ -1554,9 +1628,9 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1554
1628
|
className: "input-group",
|
|
1555
1629
|
description: "The styles for the InputGroup component",
|
|
1556
1630
|
jsx: ["InputGroup"]
|
|
1557
|
-
}),
|
|
1631
|
+
}), ae = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", Rr = y({
|
|
1558
1632
|
className: "datepicker",
|
|
1559
|
-
slots:
|
|
1633
|
+
slots: Se.keys(),
|
|
1560
1634
|
jsx: ["DatePicker"],
|
|
1561
1635
|
base: {
|
|
1562
1636
|
root: {
|
|
@@ -1599,7 +1673,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1599
1673
|
px: "space-4",
|
|
1600
1674
|
appearance: "none",
|
|
1601
1675
|
paddingRight: "30px",
|
|
1602
|
-
background: `url('${
|
|
1676
|
+
background: `url('${ae}') no-repeat right 10px center`,
|
|
1603
1677
|
_focus: {
|
|
1604
1678
|
border: "1px solid {colors.primary.500}"
|
|
1605
1679
|
}
|
|
@@ -1615,7 +1689,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1615
1689
|
px: "space-4",
|
|
1616
1690
|
appearance: "none",
|
|
1617
1691
|
paddingRight: "30px",
|
|
1618
|
-
background: `url('${
|
|
1692
|
+
background: `url('${ae}') no-repeat right 10px center`,
|
|
1619
1693
|
_focus: {
|
|
1620
1694
|
border: "1px solid {colors.primary.500}"
|
|
1621
1695
|
}
|
|
@@ -1714,7 +1788,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1714
1788
|
textAlign: "center"
|
|
1715
1789
|
}
|
|
1716
1790
|
}
|
|
1717
|
-
}),
|
|
1791
|
+
}), Pr = y({
|
|
1718
1792
|
base: {
|
|
1719
1793
|
root: {
|
|
1720
1794
|
fontFamily: "satoshi",
|
|
@@ -1819,10 +1893,10 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1819
1893
|
}
|
|
1820
1894
|
}
|
|
1821
1895
|
}
|
|
1822
|
-
}),
|
|
1896
|
+
}), Lr = y({
|
|
1823
1897
|
className: "radio-button-group",
|
|
1824
1898
|
jsx: ["RadioButtonGroup"],
|
|
1825
|
-
slots:
|
|
1899
|
+
slots: ne.keys(),
|
|
1826
1900
|
base: {
|
|
1827
1901
|
root: {
|
|
1828
1902
|
display: "inline-flex",
|
|
@@ -1886,7 +1960,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1886
1960
|
}
|
|
1887
1961
|
}
|
|
1888
1962
|
}
|
|
1889
|
-
}),
|
|
1963
|
+
}), Fr = y({
|
|
1890
1964
|
base: {
|
|
1891
1965
|
item: {
|
|
1892
1966
|
_disabled: {
|
|
@@ -1968,7 +2042,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1968
2042
|
defaultVariants: {
|
|
1969
2043
|
size: "md"
|
|
1970
2044
|
},
|
|
1971
|
-
slots:
|
|
2045
|
+
slots: ne.keys(),
|
|
1972
2046
|
variants: {
|
|
1973
2047
|
size: {
|
|
1974
2048
|
md: {
|
|
@@ -1995,7 +2069,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1995
2069
|
}
|
|
1996
2070
|
}
|
|
1997
2071
|
}
|
|
1998
|
-
}),
|
|
2072
|
+
}), Br = y({
|
|
1999
2073
|
base: {
|
|
2000
2074
|
root: {
|
|
2001
2075
|
borderRadius: "full",
|
|
@@ -2118,7 +2192,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2118
2192
|
}
|
|
2119
2193
|
}
|
|
2120
2194
|
}
|
|
2121
|
-
}),
|
|
2195
|
+
}), Dr = y({
|
|
2122
2196
|
base: {
|
|
2123
2197
|
root: {
|
|
2124
2198
|
position: "relative",
|
|
@@ -2198,31 +2272,165 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2198
2272
|
className: "action-card",
|
|
2199
2273
|
description: "The styles for the ActionCard component",
|
|
2200
2274
|
jsx: ["ActionCard", "ActionCardTitle", "ActionCardDescription"]
|
|
2201
|
-
})
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2275
|
+
});
|
|
2276
|
+
function Ar(e) {
|
|
2277
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2278
|
+
}
|
|
2279
|
+
var Mr = function(r) {
|
|
2280
|
+
return Nr(r) && !Er(r);
|
|
2281
|
+
};
|
|
2282
|
+
function Nr(e) {
|
|
2283
|
+
return !!e && typeof e == "object";
|
|
2284
|
+
}
|
|
2285
|
+
function Er(e) {
|
|
2286
|
+
var r = Object.prototype.toString.call(e);
|
|
2287
|
+
return r === "[object RegExp]" || r === "[object Date]" || Vr(e);
|
|
2288
|
+
}
|
|
2289
|
+
var Wr = typeof Symbol == "function" && Symbol.for, jr = Wr ? Symbol.for("react.element") : 60103;
|
|
2290
|
+
function Vr(e) {
|
|
2291
|
+
return e.$$typeof === jr;
|
|
2292
|
+
}
|
|
2293
|
+
function Hr(e) {
|
|
2294
|
+
return Array.isArray(e) ? [] : {};
|
|
2295
|
+
}
|
|
2296
|
+
function D(e, r) {
|
|
2297
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? L(Hr(e), e, r) : e;
|
|
2298
|
+
}
|
|
2299
|
+
function $r(e, r, o) {
|
|
2300
|
+
return e.concat(r).map(function(i) {
|
|
2301
|
+
return D(i, o);
|
|
2302
|
+
});
|
|
2303
|
+
}
|
|
2304
|
+
function Gr(e, r) {
|
|
2305
|
+
if (!r.customMerge)
|
|
2306
|
+
return L;
|
|
2307
|
+
var o = r.customMerge(e);
|
|
2308
|
+
return typeof o == "function" ? o : L;
|
|
2309
|
+
}
|
|
2310
|
+
function Or(e) {
|
|
2311
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
2312
|
+
return Object.propertyIsEnumerable.call(e, r);
|
|
2313
|
+
}) : [];
|
|
2314
|
+
}
|
|
2315
|
+
function ie(e) {
|
|
2316
|
+
return Object.keys(e).concat(Or(e));
|
|
2317
|
+
}
|
|
2318
|
+
function ue(e, r) {
|
|
2319
|
+
try {
|
|
2320
|
+
return r in e;
|
|
2321
|
+
} catch {
|
|
2322
|
+
return !1;
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
function Zr(e, r) {
|
|
2326
|
+
return ue(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
2327
|
+
}
|
|
2328
|
+
function Yr(e, r, o) {
|
|
2329
|
+
var i = {};
|
|
2330
|
+
return o.isMergeableObject(e) && ie(e).forEach(function(n) {
|
|
2331
|
+
i[n] = D(e[n], o);
|
|
2332
|
+
}), ie(r).forEach(function(n) {
|
|
2333
|
+
Zr(e, n) || (ue(e, n) && o.isMergeableObject(r[n]) ? i[n] = Gr(n, o)(e[n], r[n], o) : i[n] = D(r[n], o));
|
|
2334
|
+
}), i;
|
|
2335
|
+
}
|
|
2336
|
+
function L(e, r, o) {
|
|
2337
|
+
o = o || {}, o.arrayMerge = o.arrayMerge || $r, o.isMergeableObject = o.isMergeableObject || Mr, o.cloneUnlessOtherwiseSpecified = D;
|
|
2338
|
+
var i = Array.isArray(r), n = Array.isArray(e), d = i === n;
|
|
2339
|
+
return d ? i ? o.arrayMerge(e, r, o) : Yr(e, r, o) : D(r, o);
|
|
2340
|
+
}
|
|
2341
|
+
L.all = function(r, o) {
|
|
2342
|
+
if (!Array.isArray(r))
|
|
2343
|
+
throw new Error("first argument should be an array");
|
|
2344
|
+
return r.reduce(function(i, n) {
|
|
2345
|
+
return L(i, n, o);
|
|
2346
|
+
}, {});
|
|
2347
|
+
};
|
|
2348
|
+
var Xr = L, Ur = Xr;
|
|
2349
|
+
const qr = /* @__PURE__ */ Ar(Ur), Kr = qr(
|
|
2350
|
+
de,
|
|
2351
|
+
C({
|
|
2352
|
+
className: "icon-button",
|
|
2353
|
+
defaultVariants: {
|
|
2354
|
+
size: "md",
|
|
2355
|
+
variant: "primary",
|
|
2356
|
+
severity: "none"
|
|
2357
|
+
},
|
|
2358
|
+
jsx: ["IconButton"],
|
|
2359
|
+
base: {
|
|
2360
|
+
flexShrink: 0,
|
|
2361
|
+
flexGrow: 0
|
|
2362
|
+
},
|
|
2363
|
+
description: "The styles for the IconButton component",
|
|
2364
|
+
variants: {
|
|
2365
|
+
variant: {
|
|
2366
|
+
primary: {},
|
|
2367
|
+
secondary: {},
|
|
2368
|
+
tertiary: {}
|
|
2369
|
+
},
|
|
2370
|
+
severity: {
|
|
2371
|
+
none: {},
|
|
2372
|
+
danger: {}
|
|
2373
|
+
},
|
|
2374
|
+
size: {
|
|
2375
|
+
lg: {
|
|
2376
|
+
px: "space-8",
|
|
2377
|
+
py: "space-8",
|
|
2378
|
+
width: "size-40",
|
|
2379
|
+
height: "size-40",
|
|
2380
|
+
"& svg": {
|
|
2381
|
+
width: "size-24!",
|
|
2382
|
+
height: "size-24!"
|
|
2383
|
+
}
|
|
2384
|
+
},
|
|
2385
|
+
md: {
|
|
2386
|
+
px: "space-8",
|
|
2387
|
+
py: "space-8",
|
|
2388
|
+
width: "size-32",
|
|
2389
|
+
height: "size-32",
|
|
2390
|
+
"& svg": {
|
|
2391
|
+
width: "size-16!",
|
|
2392
|
+
height: "size-16!"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
sm: {
|
|
2396
|
+
px: "space-4",
|
|
2397
|
+
py: "space-4",
|
|
2398
|
+
width: "size-24",
|
|
2399
|
+
height: "size-24",
|
|
2400
|
+
"& svg": {
|
|
2401
|
+
width: "size-16!",
|
|
2402
|
+
height: "size-16!"
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
})
|
|
2408
|
+
), Qr = {
|
|
2409
|
+
button: de,
|
|
2410
|
+
iconButton: Kr,
|
|
2411
|
+
heading: mr,
|
|
2412
|
+
switchRecipe: gr,
|
|
2413
|
+
text: br,
|
|
2414
|
+
textarea: yr,
|
|
2415
|
+
formControl: vr,
|
|
2416
|
+
formHelperText: xr,
|
|
2417
|
+
input: pe,
|
|
2418
|
+
inputAddon: zr,
|
|
2419
|
+
inputGroup: Ir
|
|
2420
|
+
}, Jr = {
|
|
2421
|
+
drawer: wr,
|
|
2422
|
+
radioButtonGroup: Lr,
|
|
2423
|
+
radioGroup: Fr,
|
|
2424
|
+
accordion: Cr,
|
|
2425
|
+
formLabel: Sr,
|
|
2426
|
+
checkbox: kr,
|
|
2427
|
+
datepicker: Rr,
|
|
2428
|
+
tabs: _r,
|
|
2429
|
+
tag: Pr,
|
|
2430
|
+
select: Tr,
|
|
2431
|
+
chip: Br,
|
|
2432
|
+
actionCard: Dr
|
|
2433
|
+
}, eo = Ue.colors({
|
|
2226
2434
|
decorative: {
|
|
2227
2435
|
red: {
|
|
2228
2436
|
light: { value: "#FFB5AD" },
|
|
@@ -2321,9 +2529,9 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2321
2529
|
value: "{colors.primary.900}"
|
|
2322
2530
|
}
|
|
2323
2531
|
}
|
|
2324
|
-
}),
|
|
2325
|
-
colors:
|
|
2326
|
-
},
|
|
2532
|
+
}), to = {
|
|
2533
|
+
colors: eo
|
|
2534
|
+
}, ro = qe({
|
|
2327
2535
|
body: {
|
|
2328
2536
|
lg: {
|
|
2329
2537
|
value: {
|
|
@@ -2406,7 +2614,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2406
2614
|
}
|
|
2407
2615
|
}
|
|
2408
2616
|
}
|
|
2409
|
-
}),
|
|
2617
|
+
}), oo = m.animations({
|
|
2410
2618
|
"backdrop-in": {
|
|
2411
2619
|
value: "fade-in 250ms {easings.emphasized-in}"
|
|
2412
2620
|
},
|
|
@@ -2447,14 +2655,14 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2447
2655
|
"collapse-out": {
|
|
2448
2656
|
value: "collapse-out 150ms {easings.in-out}"
|
|
2449
2657
|
}
|
|
2450
|
-
}),
|
|
2658
|
+
}), ao = m.borders({
|
|
2451
2659
|
golden: { value: "1.618 / 1" },
|
|
2452
2660
|
landscape: { value: "4 / 3" },
|
|
2453
2661
|
portrait: { value: "3 / 4" },
|
|
2454
2662
|
square: { value: "1 / 1" },
|
|
2455
2663
|
ultrawide: { value: "18 / 5" },
|
|
2456
2664
|
wide: { value: "16 / 9" }
|
|
2457
|
-
}),
|
|
2665
|
+
}), io = m.blurs({
|
|
2458
2666
|
"2xl": { value: "40px" },
|
|
2459
2667
|
"3xl": { value: "64px" },
|
|
2460
2668
|
base: { value: "8px" },
|
|
@@ -2462,11 +2670,11 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2462
2670
|
md: { value: "12px" },
|
|
2463
2671
|
sm: { value: "4px" },
|
|
2464
2672
|
xl: { value: "24px" }
|
|
2465
|
-
}),
|
|
2673
|
+
}), no = m.borders({
|
|
2466
2674
|
border: {
|
|
2467
2675
|
none: { value: "none" }
|
|
2468
2676
|
}
|
|
2469
|
-
}),
|
|
2677
|
+
}), lo = m.colors({
|
|
2470
2678
|
black: { value: "#000" },
|
|
2471
2679
|
current: { value: "currentColor" },
|
|
2472
2680
|
transparent: { value: "rgb(0 0 0 / 0)" },
|
|
@@ -2538,7 +2746,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2538
2746
|
200: { value: "#FFEAAC" },
|
|
2539
2747
|
100: { value: "#FFF9E6" }
|
|
2540
2748
|
}
|
|
2541
|
-
}),
|
|
2749
|
+
}), so = m.durations({
|
|
2542
2750
|
fast: { value: "150ms" },
|
|
2543
2751
|
faster: { value: "100ms" },
|
|
2544
2752
|
fastest: { value: "50ms" },
|
|
@@ -2546,7 +2754,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2546
2754
|
slow: { value: "300ms" },
|
|
2547
2755
|
slower: { value: "400ms" },
|
|
2548
2756
|
slowest: { value: "500ms" }
|
|
2549
|
-
}),
|
|
2757
|
+
}), co = m.easings({
|
|
2550
2758
|
default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
|
|
2551
2759
|
"ease-bounce-1": {
|
|
2552
2760
|
value: `linear(
|
|
@@ -2634,7 +2842,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2634
2842
|
linear: { value: "linear" },
|
|
2635
2843
|
out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
|
|
2636
2844
|
pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
|
|
2637
|
-
}),
|
|
2845
|
+
}), po = m.radii({
|
|
2638
2846
|
"radius-0": { value: "0px" },
|
|
2639
2847
|
"radius-2": { value: "2px" },
|
|
2640
2848
|
"radius-4": { value: "4px" },
|
|
@@ -2656,7 +2864,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2656
2864
|
"radius-60": { value: "60px" },
|
|
2657
2865
|
"radius-64": { value: "64px" },
|
|
2658
2866
|
full: { value: "9999px" }
|
|
2659
|
-
}),
|
|
2867
|
+
}), uo = m.shadows({
|
|
2660
2868
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
2661
2869
|
inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
|
|
2662
2870
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
@@ -2664,7 +2872,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2664
2872
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
2665
2873
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
2666
2874
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
|
|
2667
|
-
}),
|
|
2875
|
+
}), ho = m.sizes({
|
|
2668
2876
|
"size-0": {
|
|
2669
2877
|
value: "0px"
|
|
2670
2878
|
},
|
|
@@ -2741,7 +2949,7 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2741
2949
|
"size-80": {
|
|
2742
2950
|
value: "80px"
|
|
2743
2951
|
}
|
|
2744
|
-
}),
|
|
2952
|
+
}), mo = m.spacing({
|
|
2745
2953
|
"space-0": {
|
|
2746
2954
|
value: "0px"
|
|
2747
2955
|
},
|
|
@@ -2821,9 +3029,9 @@ const Po = W(t(ie), "list"), it = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2821
3029
|
value: "80px"
|
|
2822
3030
|
}
|
|
2823
3031
|
});
|
|
2824
|
-
var
|
|
2825
|
-
`${
|
|
2826
|
-
var
|
|
3032
|
+
var go = "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,%";
|
|
3033
|
+
`${go.split(",").join("|")}`;
|
|
3034
|
+
var bo = {
|
|
2827
3035
|
animation: [
|
|
2828
3036
|
"animationName",
|
|
2829
3037
|
"animationDuration",
|
|
@@ -2934,22 +3142,22 @@ var Gr = {
|
|
|
2934
3142
|
textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
|
|
2935
3143
|
transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
|
|
2936
3144
|
};
|
|
2937
|
-
Object.values(
|
|
2938
|
-
var
|
|
2939
|
-
function
|
|
2940
|
-
const
|
|
3145
|
+
Object.values(bo).reduce((e, r) => [...e, ...r], []);
|
|
3146
|
+
var yo = 16, he = "px", me = "em", E = "rem";
|
|
3147
|
+
function vo(e = "") {
|
|
3148
|
+
const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${he}|${me}|${E}`), i = e.match(new RegExp(`${r.source}(${o.source})`));
|
|
2941
3149
|
return i == null ? void 0 : i[1];
|
|
2942
3150
|
}
|
|
2943
|
-
function g(
|
|
2944
|
-
const
|
|
2945
|
-
if (!
|
|
2946
|
-
return
|
|
2947
|
-
if (
|
|
2948
|
-
return `${parseFloat(
|
|
2949
|
-
if (
|
|
2950
|
-
return `${parseFloat(
|
|
3151
|
+
function g(e = "") {
|
|
3152
|
+
const r = vo(e);
|
|
3153
|
+
if (!r || r === E)
|
|
3154
|
+
return e;
|
|
3155
|
+
if (r === me)
|
|
3156
|
+
return `${parseFloat(e)}${E}`;
|
|
3157
|
+
if (r === he)
|
|
3158
|
+
return `${parseFloat(e) / yo}${E}`;
|
|
2951
3159
|
}
|
|
2952
|
-
const
|
|
3160
|
+
const xo = m.fontSizes({
|
|
2953
3161
|
body: {
|
|
2954
3162
|
lg: { value: g("16px") },
|
|
2955
3163
|
md: { value: g("14px") },
|
|
@@ -2971,7 +3179,7 @@ const Xr = h.fontSizes({
|
|
|
2971
3179
|
xs: { value: g("18px") }
|
|
2972
3180
|
}
|
|
2973
3181
|
}
|
|
2974
|
-
}),
|
|
3182
|
+
}), fo = m.fontWeights({
|
|
2975
3183
|
black: { value: "900" },
|
|
2976
3184
|
bold: { value: "700" },
|
|
2977
3185
|
extrabold: { value: "800" },
|
|
@@ -2981,14 +3189,14 @@ const Xr = h.fontSizes({
|
|
|
2981
3189
|
normal: { value: "400" },
|
|
2982
3190
|
semibold: { value: "600" },
|
|
2983
3191
|
thin: { value: "100" }
|
|
2984
|
-
}),
|
|
3192
|
+
}), wo = m.letterSpacings({
|
|
2985
3193
|
normal: { value: "0em" },
|
|
2986
3194
|
tight: { value: "-0.025em" },
|
|
2987
3195
|
tighter: { value: "-0.05em" },
|
|
2988
3196
|
wide: { value: "0.025em" },
|
|
2989
3197
|
wider: { value: "0.05em" },
|
|
2990
3198
|
widest: { value: "0.1em" }
|
|
2991
|
-
}),
|
|
3199
|
+
}), Co = m.lineHeights({}), So = m.fonts({
|
|
2992
3200
|
satoshi: { value: "var(--font-satoshi)" },
|
|
2993
3201
|
cabinet: { value: "var(--font-cabinet)" },
|
|
2994
3202
|
mono: {
|
|
@@ -3024,7 +3232,7 @@ const Xr = h.fontSizes({
|
|
|
3024
3232
|
serif: {
|
|
3025
3233
|
value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
|
|
3026
3234
|
}
|
|
3027
|
-
}),
|
|
3235
|
+
}), ko = m.zIndex({
|
|
3028
3236
|
banner: {
|
|
3029
3237
|
value: 1200
|
|
3030
3238
|
},
|
|
@@ -3061,98 +3269,100 @@ const Xr = h.fontSizes({
|
|
|
3061
3269
|
tooltip: {
|
|
3062
3270
|
value: 1800
|
|
3063
3271
|
}
|
|
3064
|
-
}),
|
|
3065
|
-
animations:
|
|
3066
|
-
aspectRatios:
|
|
3067
|
-
blurs:
|
|
3068
|
-
borders:
|
|
3069
|
-
colors:
|
|
3070
|
-
durations:
|
|
3071
|
-
easings:
|
|
3072
|
-
fontSizes:
|
|
3073
|
-
fontWeights:
|
|
3074
|
-
fonts:
|
|
3075
|
-
letterSpacings:
|
|
3076
|
-
lineHeights:
|
|
3077
|
-
radii:
|
|
3078
|
-
shadows:
|
|
3079
|
-
sizes:
|
|
3080
|
-
spacing:
|
|
3081
|
-
zIndex:
|
|
3082
|
-
},
|
|
3272
|
+
}), _o = {
|
|
3273
|
+
animations: oo,
|
|
3274
|
+
aspectRatios: ao,
|
|
3275
|
+
blurs: io,
|
|
3276
|
+
borders: no,
|
|
3277
|
+
colors: lo,
|
|
3278
|
+
durations: so,
|
|
3279
|
+
easings: co,
|
|
3280
|
+
fontSizes: xo,
|
|
3281
|
+
fontWeights: fo,
|
|
3282
|
+
fonts: So,
|
|
3283
|
+
letterSpacings: wo,
|
|
3284
|
+
lineHeights: Co,
|
|
3285
|
+
radii: po,
|
|
3286
|
+
shadows: uo,
|
|
3287
|
+
sizes: ho,
|
|
3288
|
+
spacing: mo,
|
|
3289
|
+
zIndex: ko
|
|
3290
|
+
}, To = Ke({
|
|
3083
3291
|
className: "size",
|
|
3084
|
-
transform(
|
|
3085
|
-
return { height:
|
|
3292
|
+
transform(e) {
|
|
3293
|
+
return { height: e, width: e };
|
|
3086
3294
|
},
|
|
3087
3295
|
values: "sizes"
|
|
3088
|
-
}),
|
|
3296
|
+
}), zo = {
|
|
3089
3297
|
extend: {
|
|
3090
|
-
boxSize:
|
|
3298
|
+
boxSize: To
|
|
3091
3299
|
}
|
|
3092
|
-
},
|
|
3300
|
+
}, fa = Qe({
|
|
3093
3301
|
staticCss: {
|
|
3094
3302
|
recipes: "*"
|
|
3095
3303
|
},
|
|
3096
3304
|
theme: {
|
|
3097
|
-
breakpoints:
|
|
3098
|
-
containerSizes:
|
|
3099
|
-
keyframes:
|
|
3100
|
-
recipes:
|
|
3101
|
-
semanticTokens:
|
|
3102
|
-
slotRecipes:
|
|
3103
|
-
textStyles:
|
|
3104
|
-
tokens:
|
|
3105
|
-
},
|
|
3106
|
-
utilities:
|
|
3107
|
-
conditions:
|
|
3305
|
+
breakpoints: dr,
|
|
3306
|
+
containerSizes: ur,
|
|
3307
|
+
keyframes: hr,
|
|
3308
|
+
recipes: Qr,
|
|
3309
|
+
semanticTokens: to,
|
|
3310
|
+
slotRecipes: Jr,
|
|
3311
|
+
textStyles: ro,
|
|
3312
|
+
tokens: _o
|
|
3313
|
+
},
|
|
3314
|
+
utilities: zo,
|
|
3315
|
+
conditions: pr
|
|
3108
3316
|
});
|
|
3109
3317
|
export {
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3318
|
+
Ao as Accordion,
|
|
3319
|
+
Mo as AccordionItem,
|
|
3320
|
+
No as AccordionItemContent,
|
|
3321
|
+
Eo as AccordionItemIndicator,
|
|
3322
|
+
Wo as AccordionItemTrigger,
|
|
3323
|
+
ba as ActionCard,
|
|
3324
|
+
va as ActionCardDescription,
|
|
3325
|
+
ya as ActionCardTitle,
|
|
3326
|
+
oa as Box,
|
|
3327
|
+
O as Button,
|
|
3328
|
+
et as Checkbox,
|
|
3329
|
+
ua as Chip,
|
|
3330
|
+
ha as ChipAvatar,
|
|
3331
|
+
ga as ChipClearTrigger,
|
|
3332
|
+
ma as ChipLabel,
|
|
3333
|
+
aa as DatePicker,
|
|
3334
|
+
jo as Drawer,
|
|
3335
|
+
Vo as DrawerBody,
|
|
3336
|
+
at as DrawerCloseTrigger,
|
|
3337
|
+
Zo as DrawerContent,
|
|
3338
|
+
Ho as DrawerFooter,
|
|
3339
|
+
$o as DrawerHeader,
|
|
3340
|
+
Go as DrawerTitle,
|
|
3341
|
+
Oo as DrawerTrigger,
|
|
3342
|
+
Yo as FormControl,
|
|
3343
|
+
Uo as FormHelperText,
|
|
3344
|
+
Xo as FormLabel,
|
|
3345
|
+
qo as Heading,
|
|
3346
|
+
xa as IconButton,
|
|
3347
|
+
Tt as Input,
|
|
3348
|
+
zt as InputAddon,
|
|
3349
|
+
It as InputGroup,
|
|
3350
|
+
cr as PriceTag,
|
|
3351
|
+
na as RadioButtonGroup,
|
|
3352
|
+
la as RadioButtonGroupItem,
|
|
3353
|
+
sa as RadioButtonGroupLabel,
|
|
3354
|
+
ca as RadioGroup,
|
|
3355
|
+
da as RadioGroupItem,
|
|
3356
|
+
pa as RadioGroupLabel,
|
|
3357
|
+
ra as Select,
|
|
3358
|
+
ct as Switch,
|
|
3359
|
+
Qo as Tabs,
|
|
3360
|
+
Jo as TabsContent,
|
|
3361
|
+
ta as TabsList,
|
|
3362
|
+
ea as TabsTrigger,
|
|
3363
|
+
ia as Tag,
|
|
3364
|
+
dt as Text,
|
|
3365
|
+
Ko as Textarea,
|
|
3366
|
+
fa as preset
|
|
3157
3367
|
};
|
|
3158
3368
|
//# sourceMappingURL=ui.js.map
|