@stokelp/ui 1.13.3 → 1.14.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/style.css +1 -1
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +212 -204
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e, jsxs as l, Fragment as ne } from "react/jsx-runtime";
|
|
3
|
-
import { Accordion as
|
|
3
|
+
import { Accordion as L, Checkbox as T, Dialog as S, ark as I, Portal as $, Switch as P, Tabs as R, Select as v, DatePicker as s, RadioGroup as b, switchAnatomy as le, dialogAnatomy as se, accordionAnatomy as de, checkboxAnatomy as ce, tabsAnatomy as pe, selectAnatomy as ue, datePickerAnatomy as me, radioGroupAnatomy as K } from "@ark-ui/react";
|
|
4
4
|
import { styled as t, splitCssProps as D, Circle as he } from "@stokelp/styled-system/jsx";
|
|
5
5
|
import { accordion as ge, button as be, checkbox as X, drawer as ve, formControl as xe, formLabel as j, formHelperText as ye, heading as fe, switchRecipe as O, text as we, textarea as Ce, tabs as ke, select as Se, input as _e, inputAddon as Te, inputGroup as Ie, datepicker as Re, tag as U, radioButtonGroup as ze, radioGroup as Pe } from "@stokelp/styled-system/recipes";
|
|
6
|
-
import { createContext as Fe, forwardRef as y, useContext as
|
|
6
|
+
import { createContext as Fe, forwardRef as y, useContext as Le, createElement as Be, useMemo as Z } from "react";
|
|
7
7
|
import { cx as F, css as A } from "@stokelp/styled-system/css";
|
|
8
8
|
import { defineKeyframes as De, defineRecipe as C, defineSlotRecipe as x, defineSemanticTokens as Ae, defineTextStyles as Ne, defineTokens as m, defineUtility as We, definePreset as He } from "@pandacss/dev";
|
|
9
9
|
const q = (...r) => r.filter(Boolean).join(" "), _ = (r, o) => {
|
|
10
10
|
const a = Fe(null);
|
|
11
11
|
return {
|
|
12
|
-
withContext: (d, n,
|
|
13
|
-
const z =
|
|
14
|
-
return
|
|
12
|
+
withContext: (d, n, u) => n ? y((c, M) => {
|
|
13
|
+
const z = Le(a);
|
|
14
|
+
return Be(d, {
|
|
15
15
|
...!1,
|
|
16
16
|
...c,
|
|
17
|
-
...
|
|
17
|
+
...u == null ? void 0 : u.defaultProps,
|
|
18
18
|
className: q(z == null ? void 0 : z[n ?? ""], c.className),
|
|
19
|
-
ref:
|
|
19
|
+
ref: M
|
|
20
20
|
});
|
|
21
21
|
}) : d,
|
|
22
|
-
withProvider: (d, n,
|
|
23
|
-
const [z,
|
|
22
|
+
withProvider: (d, n, u) => y((c, M) => {
|
|
23
|
+
const [z, V] = r.splitVariantProps({
|
|
24
24
|
...c,
|
|
25
|
-
...
|
|
26
|
-
}),
|
|
27
|
-
return /* @__PURE__ */ e(a.Provider, { value:
|
|
25
|
+
...u == null ? void 0 : u.defaultProps
|
|
26
|
+
}), Y = r(z);
|
|
27
|
+
return /* @__PURE__ */ e(a.Provider, { value: Y, children: /* @__PURE__ */ e(
|
|
28
28
|
d,
|
|
29
29
|
{
|
|
30
|
-
ref:
|
|
30
|
+
ref: M,
|
|
31
31
|
...!1,
|
|
32
|
-
...
|
|
33
|
-
className: q(
|
|
32
|
+
...V,
|
|
33
|
+
className: q(Y[n ?? ""], V.className)
|
|
34
34
|
}
|
|
35
35
|
) });
|
|
36
36
|
})
|
|
37
37
|
};
|
|
38
|
-
}, { withProvider: Ee, withContext: N } = _(ge),
|
|
38
|
+
}, { withProvider: Ee, withContext: N } = _(ge), Kr = Ee(t(L.Root), "root"), eo = N(t(L.Item), "item"), to = N(t(L.ItemContent), "itemContent"), ro = N(t(L.ItemIndicator), "itemIndicator", {
|
|
39
39
|
defaultProps: {
|
|
40
40
|
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" }) })
|
|
41
41
|
}
|
|
42
|
-
}),
|
|
43
|
-
const [a, i] = X.splitVariantProps(r), [h, d] = D(i), { children: n, className:
|
|
44
|
-
return /* @__PURE__ */ l(T.Root, { ref: o, className: F(c.root, A(h),
|
|
42
|
+
}), oo = N(t(L.ItemTrigger), "itemTrigger"), G = t("button", be), Me = y((r, o) => {
|
|
43
|
+
const [a, i] = X.splitVariantProps(r), [h, d] = D(i), { children: n, className: u, ...w } = d, c = X(a);
|
|
44
|
+
return /* @__PURE__ */ l(T.Root, { ref: o, className: F(c.root, A(h), u), ...w, children: [
|
|
45
45
|
/* @__PURE__ */ l(T.Control, { className: c.control, children: [
|
|
46
|
-
/* @__PURE__ */ e(T.Indicator, { children: /* @__PURE__ */ e(
|
|
46
|
+
/* @__PURE__ */ e(T.Indicator, { children: /* @__PURE__ */ e(Ve, {}) }),
|
|
47
47
|
/* @__PURE__ */ e(T.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(je, {}) })
|
|
48
48
|
] }),
|
|
49
49
|
n && /* @__PURE__ */ e(T.Label, { className: c.label, children: n }),
|
|
50
50
|
/* @__PURE__ */ e(T.HiddenInput, {})
|
|
51
51
|
] });
|
|
52
52
|
});
|
|
53
|
-
|
|
54
|
-
const
|
|
53
|
+
Me.displayName = "Checkbox";
|
|
54
|
+
const Ve = () => /* @__PURE__ */ l("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
55
55
|
/* @__PURE__ */ e("title", { children: "Check Icon" }),
|
|
56
56
|
/* @__PURE__ */ e(
|
|
57
57
|
"path",
|
|
@@ -63,12 +63,12 @@ const Me = () => /* @__PURE__ */ l("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
63
63
|
] }), je = () => /* @__PURE__ */ l("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
64
64
|
/* @__PURE__ */ e("title", { children: "Minus Icon" }),
|
|
65
65
|
/* @__PURE__ */ e("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
|
|
66
|
-
] }), { withProvider: Ge, withContext: k } = _(ve),
|
|
66
|
+
] }), { withProvider: Ge, withContext: k } = _(ve), ao = Ge(S.Root, void 0, {
|
|
67
67
|
defaultProps: {
|
|
68
68
|
unmountOnExit: !0,
|
|
69
69
|
lazyMount: !0
|
|
70
70
|
}
|
|
71
|
-
}),
|
|
71
|
+
}), io = k(t(I.main), "body"), $e = k(t(S.CloseTrigger), "closeTrigger"), no = k(t(I.footer), "footer"), ee = y(
|
|
72
72
|
({ children: r, showCloseTrigger: o = !0, ...a }, i) => /* @__PURE__ */ l(I.header, { ...a, ref: i, children: [
|
|
73
73
|
r,
|
|
74
74
|
o && /* @__PURE__ */ e($e, { asChild: !0, children: /* @__PURE__ */ e(G, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
@@ -81,37 +81,37 @@ const Me = () => /* @__PURE__ */ l("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
81
81
|
] })
|
|
82
82
|
);
|
|
83
83
|
ee.displayName = "DrawerHeader";
|
|
84
|
-
const
|
|
84
|
+
const lo = k(ee, "header"), so = k(t(S.Title), "title"), co = k(t(S.Trigger), "trigger"), Ze = k(t(S.Positioner), "positioner"), Ye = k(t(S.Backdrop), "backdrop"), te = y(
|
|
85
85
|
({ children: r, ...o }, a) => /* @__PURE__ */ l($, { children: [
|
|
86
|
-
/* @__PURE__ */ e(
|
|
87
|
-
/* @__PURE__ */ e(
|
|
86
|
+
/* @__PURE__ */ e(Ye, {}),
|
|
87
|
+
/* @__PURE__ */ e(Ze, { children: /* @__PURE__ */ e(S.Content, { ref: a, ...o, children: r }) })
|
|
88
88
|
] })
|
|
89
89
|
);
|
|
90
90
|
te.displayName = S.Content.displayName;
|
|
91
|
-
const
|
|
91
|
+
const po = k(t(te), "content"), Xe = t("div", xe, {
|
|
92
92
|
defaultProps: {
|
|
93
93
|
role: "group"
|
|
94
94
|
}
|
|
95
|
-
}),
|
|
95
|
+
}), uo = ({ isInvalid: r, isRequired: o, ...a }) => {
|
|
96
96
|
const i = {
|
|
97
97
|
...r ? { "aria-invalid": !0 } : {},
|
|
98
98
|
...o ? { "aria-required": !0 } : {}
|
|
99
99
|
};
|
|
100
100
|
return /* @__PURE__ */ e(Xe, { ...i, ...a });
|
|
101
|
-
}, Oe = t("label", j),
|
|
102
|
-
const [o, a] = j.splitVariantProps(r), [i, h] = D(a), { children: d, className: n, addon:
|
|
101
|
+
}, Oe = t("label", j), mo = (r) => {
|
|
102
|
+
const [o, a] = j.splitVariantProps(r), [i, h] = D(a), { children: d, className: n, addon: u, ...w } = h, c = j(o);
|
|
103
103
|
return /* @__PURE__ */ l(Oe, { className: F(c.root, A(i), n), ...w, children: [
|
|
104
104
|
d,
|
|
105
|
-
|
|
105
|
+
u ? /* @__PURE__ */ e(t.span, { className: c.addon, children: u }) : null
|
|
106
106
|
] });
|
|
107
|
-
},
|
|
107
|
+
}, ho = t("p", ye, {
|
|
108
108
|
dataAttr: !0
|
|
109
|
-
}),
|
|
110
|
-
const { as: o = "h2", ...a } = r, i =
|
|
109
|
+
}), go = (r) => {
|
|
110
|
+
const { as: o = "h2", ...a } = r, i = Z(() => t(o, fe), [o]);
|
|
111
111
|
return /* @__PURE__ */ e(i, { size: o, ...a });
|
|
112
112
|
}, Ue = y((r, o) => {
|
|
113
|
-
const [a, i] = O.splitVariantProps(r), [h, d] = D(i), { children: n, className:
|
|
114
|
-
return /* @__PURE__ */ l(P.Root, { ref: o, className: F(c.root, A(h),
|
|
113
|
+
const [a, i] = O.splitVariantProps(r), [h, d] = D(i), { children: n, className: u, ...w } = d, c = O(a);
|
|
114
|
+
return /* @__PURE__ */ l(P.Root, { ref: o, className: F(c.root, A(h), u), ...w, children: [
|
|
115
115
|
/* @__PURE__ */ e(P.Control, { className: c.control, children: /* @__PURE__ */ e(P.Thumb, { className: c.thumb }) }),
|
|
116
116
|
n ? /* @__PURE__ */ e(P.Label, { className: c.label, children: n }) : null,
|
|
117
117
|
/* @__PURE__ */ e(P.HiddenInput, {})
|
|
@@ -119,24 +119,24 @@ const co = k(t(te), "content"), Xe = t("div", xe, {
|
|
|
119
119
|
});
|
|
120
120
|
Ue.displayName = "Switch";
|
|
121
121
|
const qe = (r) => {
|
|
122
|
-
const { as: o = "p", ...a } = r, i =
|
|
122
|
+
const { as: o = "p", ...a } = r, i = Z(() => t(o, we), [o]);
|
|
123
123
|
return /* @__PURE__ */ e(i, { ...a });
|
|
124
|
-
},
|
|
124
|
+
}, bo = t(I.textarea, Ce), { withProvider: Qe, withContext: W } = _(ke), vo = Qe(t(R.Root), "root", {
|
|
125
125
|
defaultProps: {
|
|
126
126
|
lazyMount: !0
|
|
127
127
|
}
|
|
128
|
-
}),
|
|
128
|
+
}), xo = W(t(R.Content), "content"), yo = W(t(R.Trigger), "trigger"), Je = W(t(R.Indicator), "indicator"), re = y(
|
|
129
129
|
({ children: r, ...o }, a) => /* @__PURE__ */ l(R.List, { ref: a, ...o, children: [
|
|
130
130
|
r,
|
|
131
131
|
/* @__PURE__ */ e(Je, {})
|
|
132
132
|
] })
|
|
133
133
|
);
|
|
134
134
|
re.displayName = R.List.displayName;
|
|
135
|
-
const
|
|
135
|
+
const fo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o === !0 ? a(r) : r, { withProvider: et, withContext: f } = _(Se), tt = et(t(v.Root), "root", {
|
|
136
136
|
defaultProps: {
|
|
137
137
|
loopFocus: !0
|
|
138
138
|
}
|
|
139
|
-
}), rt = f(t(v.ClearTrigger), "clearTrigger"), ot = f(t(v.Content), "content"), at = f(t(v.Control), "control"), it = f(t(v.Indicator), "indicator"), nt = f(t(v.Item), "item"), lt = f(t(v.ItemIndicator), "itemIndicator"), st = f(t(v.ItemText), "itemText"), dt = f(t(v.Positioner), "positioner"), ct = f(t(v.Trigger), "trigger"), pt = f(t(v.ValueText), "valueText"),
|
|
139
|
+
}), rt = f(t(v.ClearTrigger), "clearTrigger"), ot = f(t(v.Content), "content"), at = f(t(v.Control), "control"), it = f(t(v.Indicator), "indicator"), nt = f(t(v.Item), "item"), lt = f(t(v.ItemIndicator), "itemIndicator"), st = f(t(v.ItemText), "itemText"), dt = f(t(v.Positioner), "positioner"), ct = f(t(v.Trigger), "trigger"), pt = f(t(v.ValueText), "valueText"), wo = ({
|
|
140
140
|
items: r,
|
|
141
141
|
placeholder: o,
|
|
142
142
|
emptyLabel: a,
|
|
@@ -164,13 +164,13 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
164
164
|
}
|
|
165
165
|
) }) })
|
|
166
166
|
] }),
|
|
167
|
-
/* @__PURE__ */ e(rt, { asChild: !0, children: /* @__PURE__ */ e(
|
|
167
|
+
/* @__PURE__ */ e(rt, { 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(
|
|
168
168
|
"path",
|
|
169
169
|
{
|
|
170
170
|
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",
|
|
171
171
|
fill: "currentColor"
|
|
172
172
|
}
|
|
173
|
-
) }) })
|
|
173
|
+
) }) }) })
|
|
174
174
|
] }),
|
|
175
175
|
/* @__PURE__ */ e(Ke, { when: i, wrapper: (n) => /* @__PURE__ */ e($, { children: n }), children: /* @__PURE__ */ e(dt, { children: /* @__PURE__ */ e(ot, { children: r.length === 0 ? /* @__PURE__ */ e(qe, { px: "space-8", textAlign: "center", children: a ?? "Aucun résultat" }) : r.map((n) => /* @__PURE__ */ l(nt, { item: n, children: [
|
|
176
176
|
/* @__PURE__ */ e(st, { truncate: !0, children: n.label }),
|
|
@@ -185,10 +185,10 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
185
185
|
dataAttr: !0
|
|
186
186
|
}), ht = t("div", Ie, {
|
|
187
187
|
dataAttr: !0
|
|
188
|
-
}),
|
|
189
|
-
const { as: o = "div", ...a } = r, i =
|
|
188
|
+
}), Co = (r) => {
|
|
189
|
+
const { as: o = "div", ...a } = r, i = Z(() => t(o), [o]);
|
|
190
190
|
return /* @__PURE__ */ e(i, { ...a });
|
|
191
|
-
}, { withProvider: gt, withContext:
|
|
191
|
+
}, { withProvider: gt, withContext: p } = _(Re), bt = gt(s.Root, "root", {
|
|
192
192
|
defaultProps: {
|
|
193
193
|
positioning: {
|
|
194
194
|
placement: "bottom-start"
|
|
@@ -199,57 +199,66 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
199
199
|
lazyMount: !0,
|
|
200
200
|
startOfWeek: 6
|
|
201
201
|
}
|
|
202
|
-
}), vt =
|
|
202
|
+
}), vt = p(s.Content, "content"), xt = p(s.Control, "control"), yt = p(s.Input, "input"), ft = p(s.MonthSelect, "monthSelect"), wt = p(s.NextTrigger, "nextTrigger"), Ct = p(s.Positioner, "positioner"), kt = p(s.PrevTrigger, "prevTrigger"), St = p(s.TableBody, "tableBody"), _t = p(s.TableCell, "tableCell"), Tt = p(s.TableCellTrigger, "tableCellTrigger"), It = p(s.TableHead, "tableHead"), Rt = p(s.TableHeader, "tableHeader"), zt = p(s.Table, "table"), Q = p(s.TableRow, "tableRow"), Pt = p(s.Trigger, "trigger"), Ft = p(s.ViewControl, "viewControl"), Lt = p(s.View, "view"), Bt = p(s.YearSelect, "yearSelect"), Dt = p(t(s.ClearTrigger), "clearTrigger"), At = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
203
203
|
"path",
|
|
204
204
|
{
|
|
205
205
|
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",
|
|
206
206
|
fill: "#1E3A76"
|
|
207
207
|
}
|
|
208
|
-
) }),
|
|
208
|
+
) }), Nt = () => /* @__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" }) }), Wt = () => /* @__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" }) }), ko = ({ placeholder: r, preflightClassName: o, ...a }) => /* @__PURE__ */ l(bt, { ...a, children: [
|
|
209
209
|
/* @__PURE__ */ e(xt, { asChild: !0, children: /* @__PURE__ */ l(ht, { children: [
|
|
210
210
|
/* @__PURE__ */ e(yt, { asChild: !0, index: 0, placeholder: r, children: /* @__PURE__ */ e(ut, {}) }),
|
|
211
|
-
/* @__PURE__ */
|
|
211
|
+
/* @__PURE__ */ l(mt, { children: [
|
|
212
|
+
/* @__PURE__ */ e(Dt, { 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(
|
|
213
|
+
"path",
|
|
214
|
+
{
|
|
215
|
+
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",
|
|
216
|
+
fill: "currentColor"
|
|
217
|
+
}
|
|
218
|
+
) }) }) }),
|
|
219
|
+
/* @__PURE__ */ e(Pt, { children: /* @__PURE__ */ e(At, {}) })
|
|
220
|
+
] })
|
|
212
221
|
] }) }),
|
|
213
|
-
/* @__PURE__ */ e($, { children: /* @__PURE__ */ e(Ct, { className: o, children: /* @__PURE__ */ e(vt, { children: /* @__PURE__ */ e(
|
|
222
|
+
/* @__PURE__ */ e($, { children: /* @__PURE__ */ e(Ct, { className: o, children: /* @__PURE__ */ e(vt, { children: /* @__PURE__ */ e(Lt, { view: "day", children: /* @__PURE__ */ e(s.Context, { children: (i) => /* @__PURE__ */ l(ne, { children: [
|
|
214
223
|
/* @__PURE__ */ l(Ft, { children: [
|
|
215
|
-
/* @__PURE__ */ e(kt, { asChild: !0, children: /* @__PURE__ */ e(G, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(
|
|
224
|
+
/* @__PURE__ */ e(kt, { asChild: !0, children: /* @__PURE__ */ e(G, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Nt, {}) }) }),
|
|
216
225
|
/* @__PURE__ */ e(ft, {}),
|
|
217
|
-
/* @__PURE__ */ e(
|
|
218
|
-
/* @__PURE__ */ e(wt, { asChild: !0, children: /* @__PURE__ */ e(G, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(
|
|
226
|
+
/* @__PURE__ */ e(Bt, {}),
|
|
227
|
+
/* @__PURE__ */ e(wt, { asChild: !0, children: /* @__PURE__ */ e(G, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Wt, {}) }) })
|
|
219
228
|
] }),
|
|
220
229
|
/* @__PURE__ */ l(zt, { children: [
|
|
221
230
|
/* @__PURE__ */ e(It, { children: /* @__PURE__ */ e(Q, { children: i.weekDays.map((h, d) => /* @__PURE__ */ e(Rt, { children: h.short }, d)) }) }),
|
|
222
|
-
/* @__PURE__ */ e(St, { children: i.weeks.map((h, d) => /* @__PURE__ */ e(Q, { children: h.map((n,
|
|
231
|
+
/* @__PURE__ */ e(St, { children: i.weeks.map((h, d) => /* @__PURE__ */ e(Q, { children: h.map((n, u) => /* @__PURE__ */ e(_t, { value: n, children: /* @__PURE__ */ e(Tt, { asChild: !0, children: /* @__PURE__ */ e("button", { children: n.day }) }) }, u)) }, d)) })
|
|
223
232
|
] })
|
|
224
233
|
] }) }) }) }) }) })
|
|
225
|
-
] }),
|
|
226
|
-
const [a, i] = U.splitVariantProps(r), [h, d] = D(i), { children: n, className:
|
|
227
|
-
return /* @__PURE__ */ l(I.div, { ref: o, className: F(c.root, A(h),
|
|
234
|
+
] }), So = y((r, o) => {
|
|
235
|
+
const [a, i] = U.splitVariantProps(r), [h, d] = D(i), { children: n, className: u, ...w } = d, c = U(a);
|
|
236
|
+
return /* @__PURE__ */ l(I.div, { ref: o, className: F(c.root, A(h), u), ...w, children: [
|
|
228
237
|
n,
|
|
229
238
|
/* @__PURE__ */ e(he, { className: F(c.badge) })
|
|
230
239
|
] });
|
|
231
|
-
}), { withProvider:
|
|
232
|
-
/* @__PURE__ */ e(
|
|
233
|
-
/* @__PURE__ */ e(
|
|
240
|
+
}), { withProvider: Ht, withContext: H } = _(ze), Et = H(t(b.ItemControl), "itemControl"), Mt = H(t(b.ItemText), "itemText"), Vt = y(({ children: r, value: o, ...a }, i) => /* @__PURE__ */ l(b.Item, { ref: i, ...a, value: o, children: [
|
|
241
|
+
/* @__PURE__ */ e(Mt, { children: r }),
|
|
242
|
+
/* @__PURE__ */ e(Et, {}),
|
|
234
243
|
/* @__PURE__ */ e(b.ItemHiddenInput, {})
|
|
235
|
-
] })),
|
|
244
|
+
] })), _o = Ht(t(b.Root), "root", {
|
|
236
245
|
defaultProps: {
|
|
237
246
|
orientation: "horizontal"
|
|
238
247
|
}
|
|
239
|
-
}),
|
|
240
|
-
/* @__PURE__ */ e(
|
|
241
|
-
/* @__PURE__ */ e(
|
|
248
|
+
}), To = H(t(Vt), "item"), Io = H(t(b.Label), "label"), { withProvider: jt, withContext: E } = _(Pe), Gt = E(t(b.ItemControl), "itemControl"), $t = E(t(b.ItemText), "itemText"), Zt = y(({ children: r, value: o, ...a }, i) => /* @__PURE__ */ l(b.Item, { ref: i, ...a, value: o, children: [
|
|
249
|
+
/* @__PURE__ */ e(Gt, {}),
|
|
250
|
+
/* @__PURE__ */ e($t, { children: r }),
|
|
242
251
|
/* @__PURE__ */ e(b.ItemHiddenInput, {})
|
|
243
|
-
] })),
|
|
252
|
+
] })), Ro = jt(t(b.Root), "root", {
|
|
244
253
|
defaultProps: {
|
|
245
254
|
orientation: "horizontal"
|
|
246
255
|
}
|
|
247
|
-
}),
|
|
256
|
+
}), zo = E(t(Zt), "item"), Po = E(t(b.Label), "label"), Yt = {
|
|
248
257
|
xl: "1536px",
|
|
249
258
|
lg: "1200px",
|
|
250
259
|
md: "900px",
|
|
251
260
|
sm: "600px"
|
|
252
|
-
},
|
|
261
|
+
}, Xt = {
|
|
253
262
|
extend: {
|
|
254
263
|
checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
255
264
|
closed: "&:where([data-state=closed])",
|
|
@@ -267,7 +276,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
267
276
|
today: "&:where([data-today])",
|
|
268
277
|
underValue: '&:where([data-state="under-value"])'
|
|
269
278
|
}
|
|
270
|
-
},
|
|
279
|
+
}, Ot = {
|
|
271
280
|
"2xl": "672px",
|
|
272
281
|
"3xl": "768px",
|
|
273
282
|
"4xl": "896px",
|
|
@@ -280,7 +289,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
280
289
|
sm: "384px",
|
|
281
290
|
xl: "576px",
|
|
282
291
|
xs: "320px"
|
|
283
|
-
},
|
|
292
|
+
}, Ut = De({
|
|
284
293
|
blob: {
|
|
285
294
|
"0%": {
|
|
286
295
|
rotate: "0deg"
|
|
@@ -398,7 +407,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
398
407
|
transform: "rotate(360deg)"
|
|
399
408
|
}
|
|
400
409
|
}
|
|
401
|
-
}),
|
|
410
|
+
}), qt = C({
|
|
402
411
|
base: {
|
|
403
412
|
_focusVisible: {
|
|
404
413
|
ring: "2px solid {colors.primary.200}",
|
|
@@ -589,7 +598,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
589
598
|
}
|
|
590
599
|
}
|
|
591
600
|
]
|
|
592
|
-
}),
|
|
601
|
+
}), Qt = C({
|
|
593
602
|
className: "heading",
|
|
594
603
|
defaultVariants: {
|
|
595
604
|
size: "h2"
|
|
@@ -619,7 +628,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
619
628
|
h6: { textStyle: "heading.h6" }
|
|
620
629
|
}
|
|
621
630
|
}
|
|
622
|
-
}),
|
|
631
|
+
}), Jt = x({
|
|
623
632
|
base: {
|
|
624
633
|
control: {
|
|
625
634
|
_focus: {
|
|
@@ -701,7 +710,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
701
710
|
}
|
|
702
711
|
}
|
|
703
712
|
}
|
|
704
|
-
}),
|
|
713
|
+
}), Kt = C({
|
|
705
714
|
className: "text",
|
|
706
715
|
defaultVariants: {
|
|
707
716
|
size: "md"
|
|
@@ -788,7 +797,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
788
797
|
}
|
|
789
798
|
}
|
|
790
799
|
}
|
|
791
|
-
}),
|
|
800
|
+
}), er = C({
|
|
792
801
|
className: "textarea",
|
|
793
802
|
jsx: ["Textarea"],
|
|
794
803
|
base: {
|
|
@@ -796,7 +805,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
796
805
|
py: "space-8",
|
|
797
806
|
...oe.base
|
|
798
807
|
}
|
|
799
|
-
}),
|
|
808
|
+
}), tr = C({
|
|
800
809
|
base: {
|
|
801
810
|
_invalid: {
|
|
802
811
|
'& [data-recipe="formHelperText"]': {
|
|
@@ -826,7 +835,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
826
835
|
className: "form-control",
|
|
827
836
|
description: "The styles for the FormControl component",
|
|
828
837
|
jsx: ["FormControl"]
|
|
829
|
-
}),
|
|
838
|
+
}), rr = C({
|
|
830
839
|
base: {
|
|
831
840
|
color: "grey.400",
|
|
832
841
|
fontFamily: "satoshi",
|
|
@@ -835,9 +844,9 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
835
844
|
className: "form-helper-text",
|
|
836
845
|
description: "The styles for the FormHelperText component",
|
|
837
846
|
jsx: ["FormHelperText"]
|
|
838
|
-
}),
|
|
847
|
+
}), or = se.extendWith("header", "body", "footer"), ar = x({
|
|
839
848
|
className: "drawer",
|
|
840
|
-
slots:
|
|
849
|
+
slots: or.keys(),
|
|
841
850
|
jsx: ["Drawer"],
|
|
842
851
|
base: {
|
|
843
852
|
backdrop: {
|
|
@@ -955,7 +964,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
955
964
|
}
|
|
956
965
|
}
|
|
957
966
|
}
|
|
958
|
-
}),
|
|
967
|
+
}), ir = x({
|
|
959
968
|
className: "accordion",
|
|
960
969
|
jsx: ["Accordion"],
|
|
961
970
|
slots: de.keys(),
|
|
@@ -1059,7 +1068,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1059
1068
|
}
|
|
1060
1069
|
}
|
|
1061
1070
|
}
|
|
1062
|
-
}),
|
|
1071
|
+
}), nr = x({
|
|
1063
1072
|
base: {
|
|
1064
1073
|
root: { color: "grey.400", fontFamily: "satoshi", textStyle: "body.sm" },
|
|
1065
1074
|
addon: {
|
|
@@ -1089,7 +1098,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1089
1098
|
className: "form-label",
|
|
1090
1099
|
description: "The styles for the FormLabel component",
|
|
1091
1100
|
jsx: ["FormLabel"]
|
|
1092
|
-
}),
|
|
1101
|
+
}), lr = x({
|
|
1093
1102
|
className: "checkbox",
|
|
1094
1103
|
slots: ce.keys(),
|
|
1095
1104
|
jsx: ["Checkbox"],
|
|
@@ -1207,7 +1216,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1207
1216
|
}
|
|
1208
1217
|
}
|
|
1209
1218
|
}
|
|
1210
|
-
}),
|
|
1219
|
+
}), sr = x({
|
|
1211
1220
|
className: "tabs",
|
|
1212
1221
|
slots: pe.keys(),
|
|
1213
1222
|
base: {
|
|
@@ -1313,7 +1322,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1313
1322
|
}
|
|
1314
1323
|
}
|
|
1315
1324
|
}
|
|
1316
|
-
}),
|
|
1325
|
+
}), dr = x({
|
|
1317
1326
|
base: {
|
|
1318
1327
|
control: {
|
|
1319
1328
|
fontFamily: "satoshi",
|
|
@@ -1353,7 +1362,6 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1353
1362
|
position: "absolute",
|
|
1354
1363
|
cursor: "pointer",
|
|
1355
1364
|
right: "space-48",
|
|
1356
|
-
bg: "white",
|
|
1357
1365
|
top: "11px",
|
|
1358
1366
|
color: {
|
|
1359
1367
|
base: "secondary.900",
|
|
@@ -1467,7 +1475,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1467
1475
|
}
|
|
1468
1476
|
}
|
|
1469
1477
|
}
|
|
1470
|
-
}),
|
|
1478
|
+
}), cr = C({
|
|
1471
1479
|
base: {
|
|
1472
1480
|
alignItems: "center",
|
|
1473
1481
|
borderRadius: "inherit",
|
|
@@ -1480,7 +1488,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1480
1488
|
className: "input-addon",
|
|
1481
1489
|
description: "The styles for the InputAddon component",
|
|
1482
1490
|
jsx: ["InputAddon"]
|
|
1483
|
-
}),
|
|
1491
|
+
}), pr = C({
|
|
1484
1492
|
base: {
|
|
1485
1493
|
'& [data-recipe="input"]': {
|
|
1486
1494
|
border: {
|
|
@@ -1523,7 +1531,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1523
1531
|
className: "input-group",
|
|
1524
1532
|
description: "The styles for the InputGroup component",
|
|
1525
1533
|
jsx: ["InputGroup"]
|
|
1526
|
-
}), J = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K",
|
|
1534
|
+
}), J = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", ur = x({
|
|
1527
1535
|
className: "datepicker",
|
|
1528
1536
|
slots: me.keys(),
|
|
1529
1537
|
jsx: ["DatePicker"],
|
|
@@ -1675,7 +1683,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1675
1683
|
textAlign: "center"
|
|
1676
1684
|
}
|
|
1677
1685
|
}
|
|
1678
|
-
}),
|
|
1686
|
+
}), mr = x({
|
|
1679
1687
|
base: {
|
|
1680
1688
|
root: {
|
|
1681
1689
|
fontFamily: "satoshi",
|
|
@@ -1780,7 +1788,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1780
1788
|
}
|
|
1781
1789
|
}
|
|
1782
1790
|
}
|
|
1783
|
-
}),
|
|
1791
|
+
}), hr = x({
|
|
1784
1792
|
className: "radio-button-group",
|
|
1785
1793
|
jsx: ["RadioButtonGroup"],
|
|
1786
1794
|
slots: K.keys(),
|
|
@@ -1847,7 +1855,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1847
1855
|
}
|
|
1848
1856
|
}
|
|
1849
1857
|
}
|
|
1850
|
-
}),
|
|
1858
|
+
}), gr = x({
|
|
1851
1859
|
base: {
|
|
1852
1860
|
item: {
|
|
1853
1861
|
_disabled: {
|
|
@@ -1956,29 +1964,29 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
1956
1964
|
}
|
|
1957
1965
|
}
|
|
1958
1966
|
}
|
|
1959
|
-
}),
|
|
1960
|
-
button:
|
|
1961
|
-
heading:
|
|
1962
|
-
switchRecipe:
|
|
1963
|
-
text:
|
|
1964
|
-
textarea:
|
|
1965
|
-
formControl:
|
|
1966
|
-
formHelperText:
|
|
1967
|
+
}), br = {
|
|
1968
|
+
button: qt,
|
|
1969
|
+
heading: Qt,
|
|
1970
|
+
switchRecipe: Jt,
|
|
1971
|
+
text: Kt,
|
|
1972
|
+
textarea: er,
|
|
1973
|
+
formControl: tr,
|
|
1974
|
+
formHelperText: rr,
|
|
1967
1975
|
input: oe,
|
|
1968
|
-
inputAddon:
|
|
1969
|
-
inputGroup:
|
|
1970
|
-
},
|
|
1971
|
-
drawer:
|
|
1972
|
-
radioButtonGroup:
|
|
1973
|
-
radioGroup:
|
|
1974
|
-
accordion:
|
|
1975
|
-
formLabel:
|
|
1976
|
-
checkbox:
|
|
1977
|
-
datepicker:
|
|
1978
|
-
tabs:
|
|
1979
|
-
tag:
|
|
1980
|
-
select:
|
|
1981
|
-
},
|
|
1976
|
+
inputAddon: cr,
|
|
1977
|
+
inputGroup: pr
|
|
1978
|
+
}, vr = {
|
|
1979
|
+
drawer: ar,
|
|
1980
|
+
radioButtonGroup: hr,
|
|
1981
|
+
radioGroup: gr,
|
|
1982
|
+
accordion: ir,
|
|
1983
|
+
formLabel: nr,
|
|
1984
|
+
checkbox: lr,
|
|
1985
|
+
datepicker: ur,
|
|
1986
|
+
tabs: sr,
|
|
1987
|
+
tag: mr,
|
|
1988
|
+
select: dr
|
|
1989
|
+
}, xr = Ae.colors({
|
|
1982
1990
|
decorative: {
|
|
1983
1991
|
red: {
|
|
1984
1992
|
light: { value: "#FFB5AD" },
|
|
@@ -2077,9 +2085,9 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2077
2085
|
value: "{colors.primary.900}"
|
|
2078
2086
|
}
|
|
2079
2087
|
}
|
|
2080
|
-
}),
|
|
2081
|
-
colors:
|
|
2082
|
-
},
|
|
2088
|
+
}), yr = {
|
|
2089
|
+
colors: xr
|
|
2090
|
+
}, fr = Ne({
|
|
2083
2091
|
body: {
|
|
2084
2092
|
lg: {
|
|
2085
2093
|
value: {
|
|
@@ -2162,7 +2170,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2162
2170
|
}
|
|
2163
2171
|
}
|
|
2164
2172
|
}
|
|
2165
|
-
}),
|
|
2173
|
+
}), wr = m.animations({
|
|
2166
2174
|
"backdrop-in": {
|
|
2167
2175
|
value: "fade-in 250ms {easings.emphasized-in}"
|
|
2168
2176
|
},
|
|
@@ -2203,14 +2211,14 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2203
2211
|
"collapse-out": {
|
|
2204
2212
|
value: "collapse-out 150ms {easings.in-out}"
|
|
2205
2213
|
}
|
|
2206
|
-
}),
|
|
2214
|
+
}), Cr = m.borders({
|
|
2207
2215
|
golden: { value: "1.618 / 1" },
|
|
2208
2216
|
landscape: { value: "4 / 3" },
|
|
2209
2217
|
portrait: { value: "3 / 4" },
|
|
2210
2218
|
square: { value: "1 / 1" },
|
|
2211
2219
|
ultrawide: { value: "18 / 5" },
|
|
2212
2220
|
wide: { value: "16 / 9" }
|
|
2213
|
-
}),
|
|
2221
|
+
}), kr = m.blurs({
|
|
2214
2222
|
"2xl": { value: "40px" },
|
|
2215
2223
|
"3xl": { value: "64px" },
|
|
2216
2224
|
base: { value: "8px" },
|
|
@@ -2218,11 +2226,11 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2218
2226
|
md: { value: "12px" },
|
|
2219
2227
|
sm: { value: "4px" },
|
|
2220
2228
|
xl: { value: "24px" }
|
|
2221
|
-
}),
|
|
2229
|
+
}), Sr = m.borders({
|
|
2222
2230
|
border: {
|
|
2223
2231
|
none: { value: "none" }
|
|
2224
2232
|
}
|
|
2225
|
-
}),
|
|
2233
|
+
}), _r = m.colors({
|
|
2226
2234
|
black: { value: "#000" },
|
|
2227
2235
|
current: { value: "currentColor" },
|
|
2228
2236
|
transparent: { value: "rgb(0 0 0 / 0)" },
|
|
@@ -2294,7 +2302,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2294
2302
|
200: { value: "#FFEAAC" },
|
|
2295
2303
|
100: { value: "#FFF9E6" }
|
|
2296
2304
|
}
|
|
2297
|
-
}),
|
|
2305
|
+
}), Tr = m.durations({
|
|
2298
2306
|
fast: { value: "150ms" },
|
|
2299
2307
|
faster: { value: "100ms" },
|
|
2300
2308
|
fastest: { value: "50ms" },
|
|
@@ -2302,7 +2310,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2302
2310
|
slow: { value: "300ms" },
|
|
2303
2311
|
slower: { value: "400ms" },
|
|
2304
2312
|
slowest: { value: "500ms" }
|
|
2305
|
-
}),
|
|
2313
|
+
}), Ir = m.easings({
|
|
2306
2314
|
default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
|
|
2307
2315
|
"ease-bounce-1": {
|
|
2308
2316
|
value: `linear(
|
|
@@ -2390,7 +2398,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2390
2398
|
linear: { value: "linear" },
|
|
2391
2399
|
out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
|
|
2392
2400
|
pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
|
|
2393
|
-
}),
|
|
2401
|
+
}), Rr = m.radii({
|
|
2394
2402
|
"radius-0": { value: "0px" },
|
|
2395
2403
|
"radius-2": { value: "2px" },
|
|
2396
2404
|
"radius-4": { value: "4px" },
|
|
@@ -2412,7 +2420,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2412
2420
|
"radius-60": { value: "60px" },
|
|
2413
2421
|
"radius-64": { value: "64px" },
|
|
2414
2422
|
full: { value: "9999px" }
|
|
2415
|
-
}),
|
|
2423
|
+
}), zr = m.shadows({
|
|
2416
2424
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
2417
2425
|
inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
|
|
2418
2426
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
@@ -2420,7 +2428,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2420
2428
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
2421
2429
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
2422
2430
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
|
|
2423
|
-
}),
|
|
2431
|
+
}), Pr = m.sizes({
|
|
2424
2432
|
"size-0": {
|
|
2425
2433
|
value: "0px"
|
|
2426
2434
|
},
|
|
@@ -2497,7 +2505,7 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2497
2505
|
"size-80": {
|
|
2498
2506
|
value: "80px"
|
|
2499
2507
|
}
|
|
2500
|
-
}),
|
|
2508
|
+
}), Fr = m.spacing({
|
|
2501
2509
|
"space-0": {
|
|
2502
2510
|
value: "0px"
|
|
2503
2511
|
},
|
|
@@ -2577,8 +2585,8 @@ const yo = W(t(re), "list"), Ke = ({ children: r, when: o, wrapper: a }) => o ==
|
|
|
2577
2585
|
value: "80px"
|
|
2578
2586
|
}
|
|
2579
2587
|
});
|
|
2580
|
-
var
|
|
2581
|
-
`${
|
|
2588
|
+
var Lr = "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,%";
|
|
2589
|
+
`${Lr.split(",").join("|")}`;
|
|
2582
2590
|
var Br = {
|
|
2583
2591
|
animation: [
|
|
2584
2592
|
"animationName",
|
|
@@ -2691,21 +2699,21 @@ var Br = {
|
|
|
2691
2699
|
transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
|
|
2692
2700
|
};
|
|
2693
2701
|
Object.values(Br).reduce((r, o) => [...r, ...o], []);
|
|
2694
|
-
var
|
|
2695
|
-
function
|
|
2696
|
-
const o = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${ae}|${ie}|${
|
|
2702
|
+
var Dr = 16, ae = "px", ie = "em", B = "rem";
|
|
2703
|
+
function Ar(r = "") {
|
|
2704
|
+
const o = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${ae}|${ie}|${B}`), i = r.match(new RegExp(`${o.source}(${a.source})`));
|
|
2697
2705
|
return i == null ? void 0 : i[1];
|
|
2698
2706
|
}
|
|
2699
2707
|
function g(r = "") {
|
|
2700
|
-
const o =
|
|
2701
|
-
if (!o || o ===
|
|
2708
|
+
const o = Ar(r);
|
|
2709
|
+
if (!o || o === B)
|
|
2702
2710
|
return r;
|
|
2703
2711
|
if (o === ie)
|
|
2704
|
-
return `${parseFloat(r)}${
|
|
2712
|
+
return `${parseFloat(r)}${B}`;
|
|
2705
2713
|
if (o === ae)
|
|
2706
|
-
return `${parseFloat(r) /
|
|
2714
|
+
return `${parseFloat(r) / Dr}${B}`;
|
|
2707
2715
|
}
|
|
2708
|
-
const
|
|
2716
|
+
const Nr = m.fontSizes({
|
|
2709
2717
|
body: {
|
|
2710
2718
|
lg: { value: g("16px") },
|
|
2711
2719
|
md: { value: g("14px") },
|
|
@@ -2727,7 +2735,7 @@ const Ar = m.fontSizes({
|
|
|
2727
2735
|
xs: { value: g("18px") }
|
|
2728
2736
|
}
|
|
2729
2737
|
}
|
|
2730
|
-
}),
|
|
2738
|
+
}), Wr = m.fontWeights({
|
|
2731
2739
|
black: { value: "900" },
|
|
2732
2740
|
bold: { value: "700" },
|
|
2733
2741
|
extrabold: { value: "800" },
|
|
@@ -2737,14 +2745,14 @@ const Ar = m.fontSizes({
|
|
|
2737
2745
|
normal: { value: "400" },
|
|
2738
2746
|
semibold: { value: "600" },
|
|
2739
2747
|
thin: { value: "100" }
|
|
2740
|
-
}),
|
|
2748
|
+
}), Hr = m.letterSpacings({
|
|
2741
2749
|
normal: { value: "0em" },
|
|
2742
2750
|
tight: { value: "-0.025em" },
|
|
2743
2751
|
tighter: { value: "-0.05em" },
|
|
2744
2752
|
wide: { value: "0.025em" },
|
|
2745
2753
|
wider: { value: "0.05em" },
|
|
2746
2754
|
widest: { value: "0.1em" }
|
|
2747
|
-
}),
|
|
2755
|
+
}), Er = m.lineHeights({}), Mr = m.fonts({
|
|
2748
2756
|
satoshi: { value: "var(--font-satoshi)" },
|
|
2749
2757
|
cabinet: { value: "var(--font-cabinet)" },
|
|
2750
2758
|
mono: {
|
|
@@ -2817,91 +2825,91 @@ const Ar = m.fontSizes({
|
|
|
2817
2825
|
tooltip: {
|
|
2818
2826
|
value: 1800
|
|
2819
2827
|
}
|
|
2820
|
-
}),
|
|
2821
|
-
animations:
|
|
2822
|
-
aspectRatios:
|
|
2823
|
-
blurs:
|
|
2824
|
-
borders:
|
|
2825
|
-
colors:
|
|
2826
|
-
durations:
|
|
2827
|
-
easings:
|
|
2828
|
-
fontSizes:
|
|
2829
|
-
fontWeights:
|
|
2830
|
-
fonts:
|
|
2831
|
-
letterSpacings:
|
|
2832
|
-
lineHeights:
|
|
2833
|
-
radii:
|
|
2834
|
-
shadows:
|
|
2835
|
-
sizes:
|
|
2836
|
-
spacing:
|
|
2828
|
+
}), jr = {
|
|
2829
|
+
animations: wr,
|
|
2830
|
+
aspectRatios: Cr,
|
|
2831
|
+
blurs: kr,
|
|
2832
|
+
borders: Sr,
|
|
2833
|
+
colors: _r,
|
|
2834
|
+
durations: Tr,
|
|
2835
|
+
easings: Ir,
|
|
2836
|
+
fontSizes: Nr,
|
|
2837
|
+
fontWeights: Wr,
|
|
2838
|
+
fonts: Mr,
|
|
2839
|
+
letterSpacings: Hr,
|
|
2840
|
+
lineHeights: Er,
|
|
2841
|
+
radii: Rr,
|
|
2842
|
+
shadows: zr,
|
|
2843
|
+
sizes: Pr,
|
|
2844
|
+
spacing: Fr,
|
|
2837
2845
|
zIndex: Vr
|
|
2838
|
-
},
|
|
2846
|
+
}, Gr = We({
|
|
2839
2847
|
className: "size",
|
|
2840
2848
|
transform(r) {
|
|
2841
2849
|
return { height: r, width: r };
|
|
2842
2850
|
},
|
|
2843
2851
|
values: "sizes"
|
|
2844
|
-
}),
|
|
2852
|
+
}), $r = {
|
|
2845
2853
|
extend: {
|
|
2846
|
-
boxSize:
|
|
2854
|
+
boxSize: Gr
|
|
2847
2855
|
}
|
|
2848
|
-
},
|
|
2856
|
+
}, Fo = He({
|
|
2849
2857
|
staticCss: {
|
|
2850
2858
|
recipes: "*"
|
|
2851
2859
|
},
|
|
2852
2860
|
theme: {
|
|
2853
2861
|
breakpoints: Yt,
|
|
2854
|
-
containerSizes:
|
|
2855
|
-
keyframes:
|
|
2856
|
-
recipes:
|
|
2857
|
-
semanticTokens:
|
|
2858
|
-
slotRecipes:
|
|
2859
|
-
textStyles:
|
|
2860
|
-
tokens:
|
|
2861
|
-
},
|
|
2862
|
-
utilities:
|
|
2863
|
-
conditions:
|
|
2862
|
+
containerSizes: Ot,
|
|
2863
|
+
keyframes: Ut,
|
|
2864
|
+
recipes: br,
|
|
2865
|
+
semanticTokens: yr,
|
|
2866
|
+
slotRecipes: vr,
|
|
2867
|
+
textStyles: fr,
|
|
2868
|
+
tokens: jr
|
|
2869
|
+
},
|
|
2870
|
+
utilities: $r,
|
|
2871
|
+
conditions: Xt
|
|
2864
2872
|
});
|
|
2865
2873
|
export {
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2874
|
+
Kr as Accordion,
|
|
2875
|
+
eo as AccordionItem,
|
|
2876
|
+
to as AccordionItemContent,
|
|
2877
|
+
ro as AccordionItemIndicator,
|
|
2878
|
+
oo as AccordionItemTrigger,
|
|
2879
|
+
Co as Box,
|
|
2872
2880
|
G as Button,
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2881
|
+
Me as Checkbox,
|
|
2882
|
+
ko as DatePicker,
|
|
2883
|
+
ao as Drawer,
|
|
2884
|
+
io as DrawerBody,
|
|
2877
2885
|
$e as DrawerCloseTrigger,
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2886
|
+
po as DrawerContent,
|
|
2887
|
+
no as DrawerFooter,
|
|
2888
|
+
lo as DrawerHeader,
|
|
2889
|
+
so as DrawerTitle,
|
|
2890
|
+
co as DrawerTrigger,
|
|
2891
|
+
uo as FormControl,
|
|
2892
|
+
ho as FormHelperText,
|
|
2893
|
+
mo as FormLabel,
|
|
2894
|
+
go as Heading,
|
|
2887
2895
|
ut as Input,
|
|
2888
2896
|
mt as InputAddon,
|
|
2889
2897
|
ht as InputGroup,
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2898
|
+
_o as RadioButtonGroup,
|
|
2899
|
+
To as RadioButtonGroupItem,
|
|
2900
|
+
Io as RadioButtonGroupLabel,
|
|
2901
|
+
Ro as RadioGroup,
|
|
2902
|
+
zo as RadioGroupItem,
|
|
2903
|
+
Po as RadioGroupLabel,
|
|
2904
|
+
wo as Select,
|
|
2897
2905
|
Ue as Switch,
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2906
|
+
vo as Tabs,
|
|
2907
|
+
xo as TabsContent,
|
|
2908
|
+
fo as TabsList,
|
|
2909
|
+
yo as TabsTrigger,
|
|
2910
|
+
So as Tag,
|
|
2903
2911
|
qe as Text,
|
|
2904
|
-
|
|
2905
|
-
|
|
2912
|
+
bo as Textarea,
|
|
2913
|
+
Fo as preset
|
|
2906
2914
|
};
|
|
2907
2915
|
//# sourceMappingURL=ui.js.map
|