@stokelp/ui 1.10.1 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +1 -0
- package/dist/components/radio-button-group/RadioButtonGroup.d.ts +15 -0
- package/dist/components/radio-button-group/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/theme/recipes/index.d.ts +1 -0
- package/dist/theme/recipes/radio-button-group.d.ts +2 -0
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +343 -262
- 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
|
-
import { jsx as e, jsxs 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 a =
|
|
2
|
+
import { jsx as e, jsxs as d, Fragment as ae } from "react/jsx-runtime";
|
|
3
|
+
import { Accordion as B, Checkbox as S, Dialog as k, ark as T, Portal as Q, Switch as P, Tabs as I, Select as b, DatePicker as l, RadioGroup as _, switchAnatomy as ie, dialogAnatomy as ne, accordionAnatomy as le, checkboxAnatomy as se, tabsAnatomy as de, selectAnatomy as ce, datePickerAnatomy as pe, radioGroupAnatomy as ue } from "@ark-ui/react";
|
|
4
|
+
import { styled as r, splitCssProps as L, Circle as me } from "@stokelp/styled-system/jsx";
|
|
5
|
+
import { accordion as ge, button as he, checkbox as Y, drawer as be, formControl as ve, formLabel as V, formHelperText as xe, heading as ye, switchRecipe as Z, text as fe, textarea as we, tabs as Ce, select as ke, input as Se, inputAddon as _e, inputGroup as Te, datepicker as Ie, tag as X, radioButtonGroup as Re } from "@stokelp/styled-system/recipes";
|
|
6
|
+
import { createContext as ze, forwardRef as f, useContext as Pe, createElement as Fe, useMemo as $ } from "react";
|
|
7
|
+
import { cx as F, css as A } from "@stokelp/styled-system/css";
|
|
8
|
+
import { defineKeyframes as Be, defineRecipe as w, defineSlotRecipe as v, defineSemanticTokens as De, defineTextStyles as Le, defineTokens as u, defineUtility as Ae, definePreset as Ne } from "@pandacss/dev";
|
|
9
|
+
const O = (...t) => t.filter(Boolean).join(" "), R = (t, o) => {
|
|
10
|
+
const a = ze(null);
|
|
11
11
|
return {
|
|
12
|
-
withContext: (
|
|
13
|
-
const z =
|
|
14
|
-
return
|
|
12
|
+
withContext: (c, n, m) => n ? f((s, E) => {
|
|
13
|
+
const z = Pe(a);
|
|
14
|
+
return Fe(c, {
|
|
15
15
|
...!1,
|
|
16
16
|
...s,
|
|
17
17
|
...m == null ? void 0 : m.defaultProps,
|
|
18
|
-
className:
|
|
18
|
+
className: O(z == null ? void 0 : z[n ?? ""], s.className),
|
|
19
19
|
ref: E
|
|
20
20
|
});
|
|
21
|
-
}) :
|
|
22
|
-
withProvider: (
|
|
23
|
-
const [z,
|
|
21
|
+
}) : c,
|
|
22
|
+
withProvider: (c, n, m) => f((s, E) => {
|
|
23
|
+
const [z, M] = t.splitVariantProps({
|
|
24
24
|
...s,
|
|
25
25
|
...m == null ? void 0 : m.defaultProps
|
|
26
|
-
}),
|
|
27
|
-
return /* @__PURE__ */ e(a.Provider, { value:
|
|
28
|
-
|
|
26
|
+
}), G = t(z);
|
|
27
|
+
return /* @__PURE__ */ e(a.Provider, { value: G, children: /* @__PURE__ */ e(
|
|
28
|
+
c,
|
|
29
29
|
{
|
|
30
30
|
ref: E,
|
|
31
31
|
...!1,
|
|
32
|
-
...
|
|
33
|
-
className:
|
|
32
|
+
...M,
|
|
33
|
+
className: O(G[n ?? ""], M.className)
|
|
34
34
|
}
|
|
35
35
|
) });
|
|
36
36
|
})
|
|
37
37
|
};
|
|
38
|
-
}, { withProvider:
|
|
38
|
+
}, { withProvider: We, withContext: N } = R(ge), Yr = We(r(B.Root), "root"), Zr = N(r(B.Item), "item"), Xr = N(r(B.ItemContent), "itemContent"), Or = N(r(B.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] =
|
|
44
|
-
return /* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */ e(S.Indicator, { children: /* @__PURE__ */ e(
|
|
47
|
-
/* @__PURE__ */ e(S.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(
|
|
42
|
+
}), Ur = N(r(B.ItemTrigger), "itemTrigger"), j = r("button", he), He = f((t, o) => {
|
|
43
|
+
const [a, i] = Y.splitVariantProps(t), [g, c] = L(i), { children: n, className: m, ...y } = c, s = Y(a);
|
|
44
|
+
return /* @__PURE__ */ d(S.Root, { ref: o, className: F(s.root, A(g), m), ...y, children: [
|
|
45
|
+
/* @__PURE__ */ d(S.Control, { className: s.control, children: [
|
|
46
|
+
/* @__PURE__ */ e(S.Indicator, { children: /* @__PURE__ */ e(Ee, {}) }),
|
|
47
|
+
/* @__PURE__ */ e(S.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(Me, {}) })
|
|
48
48
|
] }),
|
|
49
49
|
n && /* @__PURE__ */ e(S.Label, { className: s.label, children: n }),
|
|
50
50
|
/* @__PURE__ */ e(S.HiddenInput, {})
|
|
51
51
|
] });
|
|
52
52
|
});
|
|
53
|
-
|
|
54
|
-
const
|
|
53
|
+
He.displayName = "Checkbox";
|
|
54
|
+
const Ee = () => /* @__PURE__ */ d("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",
|
|
@@ -60,18 +60,18 @@ const Ae = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
60
60
|
fill: "white"
|
|
61
61
|
}
|
|
62
62
|
)
|
|
63
|
-
] }),
|
|
63
|
+
] }), Me = () => /* @__PURE__ */ d("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:
|
|
66
|
+
] }), { withProvider: Ve, withContext: C } = R(be), qr = Ve(k.Root, void 0, {
|
|
67
67
|
defaultProps: {
|
|
68
68
|
unmountOnExit: !0,
|
|
69
69
|
lazyMount: !0
|
|
70
70
|
}
|
|
71
|
-
}),
|
|
72
|
-
({ children:
|
|
73
|
-
|
|
74
|
-
o && /* @__PURE__ */ e(
|
|
71
|
+
}), Qr = C(r(T.main), "body"), je = C(r(k.CloseTrigger), "closeTrigger"), Jr = C(r(T.footer), "footer"), J = f(
|
|
72
|
+
({ children: t, showCloseTrigger: o = !0, ...a }, i) => /* @__PURE__ */ d(T.header, { ...a, ref: i, children: [
|
|
73
|
+
t,
|
|
74
|
+
o && /* @__PURE__ */ e(je, { asChild: !0, children: /* @__PURE__ */ e(j, { 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(
|
|
75
75
|
"path",
|
|
76
76
|
{
|
|
77
77
|
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",
|
|
@@ -80,89 +80,89 @@ const Ae = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none",
|
|
|
80
80
|
) }) }) })
|
|
81
81
|
] })
|
|
82
82
|
);
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
({ children:
|
|
86
|
-
/* @__PURE__ */ e(
|
|
87
|
-
/* @__PURE__ */ e(
|
|
83
|
+
J.displayName = "DrawerHeader";
|
|
84
|
+
const Kr = C(J, "header"), eo = C(r(k.Title), "title"), to = C(r(k.Trigger), "trigger"), $e = C(r(k.Positioner), "positioner"), Ge = C(r(k.Backdrop), "backdrop"), K = f(
|
|
85
|
+
({ children: t, ...o }, a) => /* @__PURE__ */ d(Q, { children: [
|
|
86
|
+
/* @__PURE__ */ e(Ge, {}),
|
|
87
|
+
/* @__PURE__ */ e($e, { children: /* @__PURE__ */ e(k.Content, { ref: a, ...o, children: t }) })
|
|
88
88
|
] })
|
|
89
89
|
);
|
|
90
|
-
|
|
91
|
-
const
|
|
90
|
+
K.displayName = k.Content.displayName;
|
|
91
|
+
const ro = C(r(K), "content"), Ye = r("div", ve, {
|
|
92
92
|
defaultProps: {
|
|
93
93
|
role: "group"
|
|
94
94
|
}
|
|
95
|
-
}),
|
|
95
|
+
}), oo = ({ isInvalid: t, isRequired: o, ...a }) => {
|
|
96
96
|
const i = {
|
|
97
|
-
...
|
|
97
|
+
...t ? { "aria-invalid": !0 } : {},
|
|
98
98
|
...o ? { "aria-required": !0 } : {}
|
|
99
99
|
};
|
|
100
|
-
return /* @__PURE__ */ e(
|
|
101
|
-
},
|
|
102
|
-
const [o, a] =
|
|
103
|
-
return /* @__PURE__ */
|
|
104
|
-
|
|
105
|
-
m ? /* @__PURE__ */ e(
|
|
100
|
+
return /* @__PURE__ */ e(Ye, { ...i, ...a });
|
|
101
|
+
}, Ze = r("label", V), ao = (t) => {
|
|
102
|
+
const [o, a] = V.splitVariantProps(t), [i, g] = L(a), { children: c, className: n, addon: m, ...y } = g, s = V(o);
|
|
103
|
+
return /* @__PURE__ */ d(Ze, { className: F(s.root, A(i), n), ...y, children: [
|
|
104
|
+
c,
|
|
105
|
+
m ? /* @__PURE__ */ e(r.span, { className: s.addon, children: m }) : null
|
|
106
106
|
] });
|
|
107
|
-
},
|
|
107
|
+
}, io = r("p", xe, {
|
|
108
108
|
dataAttr: !0
|
|
109
|
-
}),
|
|
110
|
-
const { as: o = "h2", ...a } =
|
|
109
|
+
}), no = (t) => {
|
|
110
|
+
const { as: o = "h2", ...a } = t, i = $(() => r(o, ye), [o]);
|
|
111
111
|
return /* @__PURE__ */ e(i, { size: o, ...a });
|
|
112
|
-
},
|
|
113
|
-
const [a, i] =
|
|
114
|
-
return /* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */ e(
|
|
116
|
-
n ? /* @__PURE__ */ e(
|
|
117
|
-
/* @__PURE__ */ e(
|
|
112
|
+
}, Xe = f((t, o) => {
|
|
113
|
+
const [a, i] = Z.splitVariantProps(t), [g, c] = L(i), { children: n, className: m, ...y } = c, s = Z(a);
|
|
114
|
+
return /* @__PURE__ */ d(P.Root, { ref: o, className: F(s.root, A(g), m), ...y, children: [
|
|
115
|
+
/* @__PURE__ */ e(P.Control, { className: s.control, children: /* @__PURE__ */ e(P.Thumb, { className: s.thumb }) }),
|
|
116
|
+
n ? /* @__PURE__ */ e(P.Label, { className: s.label, children: n }) : null,
|
|
117
|
+
/* @__PURE__ */ e(P.HiddenInput, {})
|
|
118
118
|
] });
|
|
119
119
|
});
|
|
120
|
-
|
|
121
|
-
const
|
|
122
|
-
const { as: o = "p", ...a } =
|
|
120
|
+
Xe.displayName = "Switch";
|
|
121
|
+
const Oe = (t) => {
|
|
122
|
+
const { as: o = "p", ...a } = t, i = $(() => r(o, fe), [o]);
|
|
123
123
|
return /* @__PURE__ */ e(i, { ...a });
|
|
124
|
-
},
|
|
124
|
+
}, lo = r(T.textarea, we), { withProvider: Ue, withContext: W } = R(Ce), so = Ue(r(I.Root), "root", {
|
|
125
125
|
defaultProps: {
|
|
126
126
|
lazyMount: !0
|
|
127
127
|
}
|
|
128
|
-
}),
|
|
129
|
-
({ children:
|
|
130
|
-
|
|
131
|
-
/* @__PURE__ */ e(
|
|
128
|
+
}), co = W(r(I.Content), "content"), po = W(r(I.Trigger), "trigger"), qe = W(r(I.Indicator), "indicator"), ee = f(
|
|
129
|
+
({ children: t, ...o }, a) => /* @__PURE__ */ d(I.List, { ref: a, ...o, children: [
|
|
130
|
+
t,
|
|
131
|
+
/* @__PURE__ */ e(qe, {})
|
|
132
132
|
] })
|
|
133
133
|
);
|
|
134
|
-
|
|
135
|
-
const
|
|
134
|
+
ee.displayName = I.List.displayName;
|
|
135
|
+
const uo = W(r(ee), "list"), Qe = ({ children: t, when: o, wrapper: a }) => o === !0 ? a(t) : t, { withProvider: Je, withContext: x } = R(ke), Ke = Je(r(b.Root), "root", {
|
|
136
136
|
defaultProps: {
|
|
137
137
|
loopFocus: !0
|
|
138
138
|
}
|
|
139
|
-
}),
|
|
140
|
-
items:
|
|
139
|
+
}), et = x(r(b.ClearTrigger), "clearTrigger"), tt = x(r(b.Content), "content"), rt = x(r(b.Control), "control"), ot = x(r(b.Indicator), "indicator"), at = x(r(b.Item), "item"), it = x(r(b.ItemIndicator), "itemIndicator"), nt = x(r(b.ItemText), "itemText"), lt = x(r(b.Positioner), "positioner"), st = x(r(b.Trigger), "trigger"), dt = x(r(b.ValueText), "valueText"), mo = ({
|
|
140
|
+
items: t,
|
|
141
141
|
placeholder: o,
|
|
142
142
|
emptyLabel: a,
|
|
143
143
|
usePortal: i = !0,
|
|
144
144
|
positioning: g,
|
|
145
|
-
...
|
|
146
|
-
}) => /* @__PURE__ */
|
|
147
|
-
|
|
145
|
+
...c
|
|
146
|
+
}) => /* @__PURE__ */ d(
|
|
147
|
+
Ke,
|
|
148
148
|
{
|
|
149
149
|
lazyMount: !0,
|
|
150
150
|
unmountOnExit: !0,
|
|
151
|
-
items:
|
|
151
|
+
items: t,
|
|
152
152
|
positioning: { sameWidth: !0, gutter: 0, ...g },
|
|
153
153
|
"data-recipe": "select",
|
|
154
|
-
...
|
|
154
|
+
...c,
|
|
155
155
|
children: [
|
|
156
|
-
/* @__PURE__ */ e(
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
/* @__PURE__ */ e(
|
|
156
|
+
/* @__PURE__ */ e(rt, { children: /* @__PURE__ */ d(st, { children: [
|
|
157
|
+
/* @__PURE__ */ e(dt, { truncate: !0, placeholder: o }),
|
|
158
|
+
/* @__PURE__ */ e(et, { asChild: !0, children: /* @__PURE__ */ e(r.svg, { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
159
159
|
"path",
|
|
160
160
|
{
|
|
161
161
|
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",
|
|
162
162
|
fill: "currentColor"
|
|
163
163
|
}
|
|
164
164
|
) }) }),
|
|
165
|
-
/* @__PURE__ */ e(
|
|
165
|
+
/* @__PURE__ */ e(ot, { asChild: !0, children: /* @__PURE__ */ e(r.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
166
166
|
"path",
|
|
167
167
|
{
|
|
168
168
|
d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
|
|
@@ -170,23 +170,23 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
170
170
|
}
|
|
171
171
|
) }) })
|
|
172
172
|
] }) }),
|
|
173
|
-
/* @__PURE__ */ e(
|
|
174
|
-
/* @__PURE__ */ e(
|
|
175
|
-
|
|
173
|
+
/* @__PURE__ */ e(Qe, { when: i, wrapper: (n) => /* @__PURE__ */ e(Q, { children: n }), children: /* @__PURE__ */ e(lt, { children: /* @__PURE__ */ e(tt, { children: t.length === 0 ? /* @__PURE__ */ e(Oe, { px: "space-8", textAlign: "center", children: a ?? "Aucun résultat" }) : t.map((n) => /* @__PURE__ */ d(at, { item: n, children: [
|
|
174
|
+
/* @__PURE__ */ e(nt, { truncate: !0, children: n.label }),
|
|
175
|
+
c.multiple ? /* @__PURE__ */ e(it, { children: "✓" }) : null
|
|
176
176
|
] }, n.value)) }) }) }),
|
|
177
177
|
/* @__PURE__ */ e(b.HiddenSelect, {})
|
|
178
178
|
]
|
|
179
179
|
}
|
|
180
|
-
),
|
|
180
|
+
), ct = r("input", Se, {
|
|
181
181
|
dataAttr: !0
|
|
182
|
-
}),
|
|
182
|
+
}), pt = r(T.div, _e, {
|
|
183
183
|
dataAttr: !0
|
|
184
|
-
}),
|
|
184
|
+
}), ut = r("div", Te, {
|
|
185
185
|
dataAttr: !0
|
|
186
|
-
}),
|
|
187
|
-
const { as: o = "div", ...a } =
|
|
186
|
+
}), go = (t) => {
|
|
187
|
+
const { as: o = "div", ...a } = t, i = $(() => r(o), [o]);
|
|
188
188
|
return /* @__PURE__ */ e(i, { ...a });
|
|
189
|
-
}, { withProvider:
|
|
189
|
+
}, { withProvider: mt, withContext: p } = R(Ie), gt = mt(l.Root, "root", {
|
|
190
190
|
defaultProps: {
|
|
191
191
|
positioning: {
|
|
192
192
|
placement: "bottom-start"
|
|
@@ -197,41 +197,51 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
197
197
|
lazyMount: !0,
|
|
198
198
|
startOfWeek: 6
|
|
199
199
|
}
|
|
200
|
-
}),
|
|
200
|
+
}), ht = p(l.Content, "content"), bt = p(l.Control, "control"), vt = p(l.Input, "input"), xt = p(l.MonthSelect, "monthSelect"), yt = p(l.NextTrigger, "nextTrigger"), ft = p(l.Positioner, "positioner"), wt = p(l.PrevTrigger, "prevTrigger"), Ct = p(l.TableBody, "tableBody"), kt = p(l.TableCell, "tableCell"), St = p(l.TableCellTrigger, "tableCellTrigger"), _t = p(l.TableHead, "tableHead"), Tt = p(l.TableHeader, "tableHeader"), It = p(l.Table, "table"), U = p(l.TableRow, "tableRow"), Rt = p(l.Trigger, "trigger"), zt = p(l.ViewControl, "viewControl"), Pt = p(l.View, "view"), Ft = p(l.YearSelect, "yearSelect"), Bt = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
201
201
|
"path",
|
|
202
202
|
{
|
|
203
203
|
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",
|
|
204
204
|
fill: "#1E3A76"
|
|
205
205
|
}
|
|
206
|
-
) }),
|
|
207
|
-
/* @__PURE__ */ e(
|
|
208
|
-
/* @__PURE__ */ e(
|
|
209
|
-
/* @__PURE__ */ e(
|
|
206
|
+
) }), Dt = () => /* @__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" }) }), Lt = () => /* @__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" }) }), ho = ({ placeholder: t, ...o }) => /* @__PURE__ */ d(gt, { ...o, children: [
|
|
207
|
+
/* @__PURE__ */ e(bt, { asChild: !0, children: /* @__PURE__ */ d(ut, { children: [
|
|
208
|
+
/* @__PURE__ */ e(vt, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(ct, {}) }),
|
|
209
|
+
/* @__PURE__ */ e(pt, { children: /* @__PURE__ */ e(Rt, { children: /* @__PURE__ */ e(Bt, {}) }) })
|
|
210
210
|
] }) }),
|
|
211
|
-
/* @__PURE__ */ e(
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */ e(
|
|
214
|
-
/* @__PURE__ */ e(
|
|
215
|
-
/* @__PURE__ */ e(
|
|
216
|
-
/* @__PURE__ */ e(
|
|
211
|
+
/* @__PURE__ */ e(ft, { children: /* @__PURE__ */ e(ht, { children: /* @__PURE__ */ e(Pt, { view: "day", children: /* @__PURE__ */ e(l.Context, { children: (a) => /* @__PURE__ */ d(ae, { children: [
|
|
212
|
+
/* @__PURE__ */ d(zt, { children: [
|
|
213
|
+
/* @__PURE__ */ e(wt, { asChild: !0, children: /* @__PURE__ */ e(j, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Dt, {}) }) }),
|
|
214
|
+
/* @__PURE__ */ e(xt, {}),
|
|
215
|
+
/* @__PURE__ */ e(Ft, {}),
|
|
216
|
+
/* @__PURE__ */ e(yt, { asChild: !0, children: /* @__PURE__ */ e(j, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Lt, {}) }) })
|
|
217
217
|
] }),
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
/* @__PURE__ */ e(
|
|
220
|
-
/* @__PURE__ */ e(
|
|
218
|
+
/* @__PURE__ */ d(It, { children: [
|
|
219
|
+
/* @__PURE__ */ e(_t, { children: /* @__PURE__ */ e(U, { children: a.weekDays.map((i, g) => /* @__PURE__ */ e(Tt, { children: i.short }, g)) }) }),
|
|
220
|
+
/* @__PURE__ */ e(Ct, { children: a.weeks.map((i, g) => /* @__PURE__ */ e(U, { children: i.map((c, n) => /* @__PURE__ */ e(kt, { value: c, children: /* @__PURE__ */ e(St, { asChild: !0, children: /* @__PURE__ */ e("button", { children: c.day }) }) }, n)) }, g)) })
|
|
221
221
|
] })
|
|
222
222
|
] }) }) }) }) })
|
|
223
|
-
] }),
|
|
224
|
-
const [a, i] =
|
|
225
|
-
return /* @__PURE__ */
|
|
223
|
+
] }), bo = f((t, o) => {
|
|
224
|
+
const [a, i] = X.splitVariantProps(t), [g, c] = L(i), { children: n, className: m, ...y } = c, s = X(a);
|
|
225
|
+
return /* @__PURE__ */ d(T.div, { ref: o, className: F(s.root, A(g), m), ...y, children: [
|
|
226
226
|
n,
|
|
227
|
-
/* @__PURE__ */ e(
|
|
227
|
+
/* @__PURE__ */ e(me, { className: F(s.badge) })
|
|
228
228
|
] });
|
|
229
|
-
}),
|
|
229
|
+
}), { withProvider: At, withContext: H } = R(Re), Nt = H(r(_.ItemControl), "itemControl"), Wt = H(r(_.ItemText), "itemText"), Ht = f(
|
|
230
|
+
({ children: t, ...o }, a) => /* @__PURE__ */ d(_.Item, { ref: a, ...o, children: [
|
|
231
|
+
/* @__PURE__ */ e(Wt, { children: t }),
|
|
232
|
+
/* @__PURE__ */ e(Nt, {}),
|
|
233
|
+
/* @__PURE__ */ e(_.ItemHiddenInput, {})
|
|
234
|
+
] })
|
|
235
|
+
), vo = At(r(_.Root), "root", {
|
|
236
|
+
defaultProps: {
|
|
237
|
+
orientation: "horizontal"
|
|
238
|
+
}
|
|
239
|
+
}), xo = H(r(Ht), "item"), yo = H(r(_.Label), "label"), Et = {
|
|
230
240
|
xl: "1536px",
|
|
231
241
|
lg: "1200px",
|
|
232
242
|
md: "900px",
|
|
233
243
|
sm: "600px"
|
|
234
|
-
},
|
|
244
|
+
}, Mt = {
|
|
235
245
|
extend: {
|
|
236
246
|
checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
237
247
|
closed: "&:where([data-state=closed])",
|
|
@@ -249,7 +259,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
249
259
|
today: "&:where([data-today])",
|
|
250
260
|
underValue: '&:where([data-state="under-value"])'
|
|
251
261
|
}
|
|
252
|
-
},
|
|
262
|
+
}, Vt = {
|
|
253
263
|
"2xl": "672px",
|
|
254
264
|
"3xl": "768px",
|
|
255
265
|
"4xl": "896px",
|
|
@@ -262,7 +272,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
262
272
|
sm: "384px",
|
|
263
273
|
xl: "576px",
|
|
264
274
|
xs: "320px"
|
|
265
|
-
},
|
|
275
|
+
}, jt = Be({
|
|
266
276
|
blob: {
|
|
267
277
|
"0%": {
|
|
268
278
|
rotate: "0deg"
|
|
@@ -380,7 +390,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
380
390
|
transform: "rotate(360deg)"
|
|
381
391
|
}
|
|
382
392
|
}
|
|
383
|
-
}),
|
|
393
|
+
}), $t = w({
|
|
384
394
|
base: {
|
|
385
395
|
_focusVisible: {
|
|
386
396
|
ring: "2px solid {colors.primary.200}",
|
|
@@ -571,7 +581,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
571
581
|
}
|
|
572
582
|
}
|
|
573
583
|
]
|
|
574
|
-
}),
|
|
584
|
+
}), Gt = w({
|
|
575
585
|
className: "heading",
|
|
576
586
|
defaultVariants: {
|
|
577
587
|
size: "h2"
|
|
@@ -601,7 +611,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
601
611
|
h6: { textStyle: "heading.h6" }
|
|
602
612
|
}
|
|
603
613
|
}
|
|
604
|
-
}),
|
|
614
|
+
}), Yt = v({
|
|
605
615
|
base: {
|
|
606
616
|
control: {
|
|
607
617
|
_focus: {
|
|
@@ -661,7 +671,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
661
671
|
size: "md"
|
|
662
672
|
},
|
|
663
673
|
jsx: ["Switch", "SwitchField"],
|
|
664
|
-
slots:
|
|
674
|
+
slots: ie.keys(),
|
|
665
675
|
variants: {
|
|
666
676
|
size: {
|
|
667
677
|
md: {
|
|
@@ -683,7 +693,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
683
693
|
}
|
|
684
694
|
}
|
|
685
695
|
}
|
|
686
|
-
}),
|
|
696
|
+
}), Zt = w({
|
|
687
697
|
className: "text",
|
|
688
698
|
defaultVariants: {
|
|
689
699
|
size: "md"
|
|
@@ -716,7 +726,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
716
726
|
sm: { textStyle: "body.sm" }
|
|
717
727
|
}
|
|
718
728
|
}
|
|
719
|
-
}),
|
|
729
|
+
}), te = w({
|
|
720
730
|
base: {
|
|
721
731
|
'&[type="time"]::-webkit-calendar-picker-indicator': {
|
|
722
732
|
display: "none"
|
|
@@ -770,15 +780,15 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
770
780
|
}
|
|
771
781
|
}
|
|
772
782
|
}
|
|
773
|
-
}),
|
|
783
|
+
}), Xt = w({
|
|
774
784
|
className: "textarea",
|
|
775
785
|
jsx: ["Textarea"],
|
|
776
786
|
base: {
|
|
777
787
|
px: "space-16",
|
|
778
788
|
py: "space-8",
|
|
779
|
-
...
|
|
789
|
+
...te.base
|
|
780
790
|
}
|
|
781
|
-
}),
|
|
791
|
+
}), Ot = w({
|
|
782
792
|
base: {
|
|
783
793
|
_invalid: {
|
|
784
794
|
'& [data-recipe="formHelperText"]': {
|
|
@@ -808,7 +818,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
808
818
|
className: "form-control",
|
|
809
819
|
description: "The styles for the FormControl component",
|
|
810
820
|
jsx: ["FormControl"]
|
|
811
|
-
}),
|
|
821
|
+
}), Ut = w({
|
|
812
822
|
base: {
|
|
813
823
|
color: "grey.400",
|
|
814
824
|
fontFamily: "satoshi",
|
|
@@ -817,9 +827,9 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
817
827
|
className: "form-helper-text",
|
|
818
828
|
description: "The styles for the FormHelperText component",
|
|
819
829
|
jsx: ["FormHelperText"]
|
|
820
|
-
}),
|
|
830
|
+
}), qt = ne.extendWith("header", "body", "footer"), Qt = v({
|
|
821
831
|
className: "drawer",
|
|
822
|
-
slots:
|
|
832
|
+
slots: qt.keys(),
|
|
823
833
|
jsx: ["Drawer"],
|
|
824
834
|
base: {
|
|
825
835
|
backdrop: {
|
|
@@ -937,10 +947,10 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
937
947
|
}
|
|
938
948
|
}
|
|
939
949
|
}
|
|
940
|
-
}),
|
|
950
|
+
}), Jt = v({
|
|
941
951
|
className: "accordion",
|
|
942
952
|
jsx: ["Accordion"],
|
|
943
|
-
slots:
|
|
953
|
+
slots: le.keys(),
|
|
944
954
|
base: {
|
|
945
955
|
root: {
|
|
946
956
|
display: "flex",
|
|
@@ -1041,7 +1051,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1041
1051
|
}
|
|
1042
1052
|
}
|
|
1043
1053
|
}
|
|
1044
|
-
}),
|
|
1054
|
+
}), Kt = v({
|
|
1045
1055
|
base: {
|
|
1046
1056
|
root: { color: "grey.400", fontFamily: "satoshi", textStyle: "body.sm" },
|
|
1047
1057
|
addon: {
|
|
@@ -1071,9 +1081,9 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1071
1081
|
className: "form-label",
|
|
1072
1082
|
description: "The styles for the FormLabel component",
|
|
1073
1083
|
jsx: ["FormLabel"]
|
|
1074
|
-
}),
|
|
1084
|
+
}), er = v({
|
|
1075
1085
|
className: "checkbox",
|
|
1076
|
-
slots:
|
|
1086
|
+
slots: se.keys(),
|
|
1077
1087
|
jsx: ["Checkbox"],
|
|
1078
1088
|
base: {
|
|
1079
1089
|
root: {
|
|
@@ -1189,9 +1199,9 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1189
1199
|
}
|
|
1190
1200
|
}
|
|
1191
1201
|
}
|
|
1192
|
-
}),
|
|
1202
|
+
}), tr = v({
|
|
1193
1203
|
className: "tabs",
|
|
1194
|
-
slots:
|
|
1204
|
+
slots: de.keys(),
|
|
1195
1205
|
base: {
|
|
1196
1206
|
root: {
|
|
1197
1207
|
isolation: "isolate",
|
|
@@ -1295,7 +1305,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1295
1305
|
}
|
|
1296
1306
|
}
|
|
1297
1307
|
}
|
|
1298
|
-
}),
|
|
1308
|
+
}), rr = v({
|
|
1299
1309
|
base: {
|
|
1300
1310
|
control: {
|
|
1301
1311
|
fontFamily: "satoshi"
|
|
@@ -1426,7 +1436,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1426
1436
|
size: "md"
|
|
1427
1437
|
},
|
|
1428
1438
|
jsx: ["Select"],
|
|
1429
|
-
slots:
|
|
1439
|
+
slots: ce.keys(),
|
|
1430
1440
|
variants: {
|
|
1431
1441
|
size: {
|
|
1432
1442
|
md: {
|
|
@@ -1442,7 +1452,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1442
1452
|
}
|
|
1443
1453
|
}
|
|
1444
1454
|
}
|
|
1445
|
-
}),
|
|
1455
|
+
}), or = w({
|
|
1446
1456
|
base: {
|
|
1447
1457
|
alignItems: "center",
|
|
1448
1458
|
borderRadius: "inherit",
|
|
@@ -1455,7 +1465,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1455
1465
|
className: "input-addon",
|
|
1456
1466
|
description: "The styles for the InputAddon component",
|
|
1457
1467
|
jsx: ["InputAddon"]
|
|
1458
|
-
}),
|
|
1468
|
+
}), ar = w({
|
|
1459
1469
|
base: {
|
|
1460
1470
|
'& [data-recipe="input"]': {
|
|
1461
1471
|
border: {
|
|
@@ -1498,9 +1508,9 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1498
1508
|
className: "input-group",
|
|
1499
1509
|
description: "The styles for the InputGroup component",
|
|
1500
1510
|
jsx: ["InputGroup"]
|
|
1501
|
-
}),
|
|
1511
|
+
}), q = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", ir = v({
|
|
1502
1512
|
className: "datepicker",
|
|
1503
|
-
slots:
|
|
1513
|
+
slots: pe.keys(),
|
|
1504
1514
|
jsx: ["DatePicker"],
|
|
1505
1515
|
base: {
|
|
1506
1516
|
root: {
|
|
@@ -1541,7 +1551,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1541
1551
|
px: "space-4",
|
|
1542
1552
|
appearance: "none",
|
|
1543
1553
|
paddingRight: "30px",
|
|
1544
|
-
background: `url('${
|
|
1554
|
+
background: `url('${q}') no-repeat right 10px center`
|
|
1545
1555
|
},
|
|
1546
1556
|
yearSelect: {
|
|
1547
1557
|
textTransform: "capitalize",
|
|
@@ -1553,7 +1563,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1553
1563
|
px: "space-4",
|
|
1554
1564
|
appearance: "none",
|
|
1555
1565
|
paddingRight: "30px",
|
|
1556
|
-
background: `url('${
|
|
1566
|
+
background: `url('${q}') no-repeat right 10px center`
|
|
1557
1567
|
},
|
|
1558
1568
|
prevTrigger: {
|
|
1559
1569
|
cursor: "pointer",
|
|
@@ -1649,7 +1659,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1649
1659
|
textAlign: "center"
|
|
1650
1660
|
}
|
|
1651
1661
|
}
|
|
1652
|
-
}),
|
|
1662
|
+
}), nr = v({
|
|
1653
1663
|
base: {
|
|
1654
1664
|
root: {
|
|
1655
1665
|
fontFamily: "satoshi",
|
|
@@ -1754,27 +1764,95 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1754
1764
|
}
|
|
1755
1765
|
}
|
|
1756
1766
|
}
|
|
1757
|
-
}),
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1767
|
+
}), lr = v({
|
|
1768
|
+
className: "radio-button-group",
|
|
1769
|
+
jsx: ["RadioButtonGroup"],
|
|
1770
|
+
slots: ue.keys(),
|
|
1771
|
+
base: {
|
|
1772
|
+
root: {
|
|
1773
|
+
display: "inline-flex",
|
|
1774
|
+
height: "size-40"
|
|
1775
|
+
},
|
|
1776
|
+
item: {
|
|
1777
|
+
width: "size-64",
|
|
1778
|
+
minWidth: "size-64",
|
|
1779
|
+
appearance: "none",
|
|
1780
|
+
cursor: "pointer",
|
|
1781
|
+
display: "inline-flex",
|
|
1782
|
+
outline: "none",
|
|
1783
|
+
transitionDuration: "normal",
|
|
1784
|
+
transitionProperty: "background, border-color, color, box-shadow",
|
|
1785
|
+
transitionTimingFunction: "default",
|
|
1786
|
+
userSelect: "none",
|
|
1787
|
+
verticalAlign: "middle",
|
|
1788
|
+
px: "14px",
|
|
1789
|
+
py: "space-10",
|
|
1790
|
+
whiteSpace: "nowrap",
|
|
1791
|
+
borderColor: "grey.100",
|
|
1792
|
+
borderTopWidth: 1,
|
|
1793
|
+
borderBottomWidth: 1,
|
|
1794
|
+
borderRightWidth: 1,
|
|
1795
|
+
borderLeftWidth: 1,
|
|
1796
|
+
"& + &": {
|
|
1797
|
+
borderLeftWidth: 0
|
|
1798
|
+
},
|
|
1799
|
+
_firstOfType: {
|
|
1800
|
+
borderTopLeftRadius: "radius-8",
|
|
1801
|
+
borderBottomLeftRadius: "radius-8"
|
|
1802
|
+
},
|
|
1803
|
+
_lastOfType: {
|
|
1804
|
+
borderTopRightRadius: "radius-8",
|
|
1805
|
+
borderBottomRightRadius: "radius-8"
|
|
1806
|
+
},
|
|
1807
|
+
background: {
|
|
1808
|
+
base: "white",
|
|
1809
|
+
_checked: "primary.500",
|
|
1810
|
+
_hover: {
|
|
1811
|
+
base: "primary.200",
|
|
1812
|
+
_checked: "primary.500"
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
itemText: {
|
|
1817
|
+
flex: 1,
|
|
1818
|
+
fontFamily: "satoshi",
|
|
1819
|
+
textStyle: "body.md",
|
|
1820
|
+
fontWeight: "bold",
|
|
1821
|
+
display: "inline-flex",
|
|
1822
|
+
alignItems: "center",
|
|
1823
|
+
justifyContent: "center",
|
|
1824
|
+
color: {
|
|
1825
|
+
base: "primary.500",
|
|
1826
|
+
_checked: "white",
|
|
1827
|
+
_hover: {
|
|
1828
|
+
base: "primary.500",
|
|
1829
|
+
_checked: "white"
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
}), sr = {
|
|
1835
|
+
button: $t,
|
|
1836
|
+
heading: Gt,
|
|
1837
|
+
switchRecipe: Yt,
|
|
1838
|
+
text: Zt,
|
|
1839
|
+
textarea: Xt,
|
|
1840
|
+
formControl: Ot,
|
|
1841
|
+
formHelperText: Ut,
|
|
1842
|
+
input: te,
|
|
1843
|
+
inputAddon: or,
|
|
1844
|
+
inputGroup: ar
|
|
1845
|
+
}, dr = {
|
|
1846
|
+
drawer: Qt,
|
|
1847
|
+
radioButtonGroup: lr,
|
|
1848
|
+
accordion: Jt,
|
|
1849
|
+
formLabel: Kt,
|
|
1850
|
+
checkbox: er,
|
|
1851
|
+
datepicker: ir,
|
|
1852
|
+
tabs: tr,
|
|
1853
|
+
tag: nr,
|
|
1854
|
+
select: rr
|
|
1855
|
+
}, cr = De.colors({
|
|
1778
1856
|
decorative: {
|
|
1779
1857
|
red: {
|
|
1780
1858
|
light: { value: "#FFB5AD" },
|
|
@@ -1873,9 +1951,9 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1873
1951
|
value: "{colors.primary.900}"
|
|
1874
1952
|
}
|
|
1875
1953
|
}
|
|
1876
|
-
}),
|
|
1877
|
-
colors:
|
|
1878
|
-
},
|
|
1954
|
+
}), pr = {
|
|
1955
|
+
colors: cr
|
|
1956
|
+
}, ur = Le({
|
|
1879
1957
|
body: {
|
|
1880
1958
|
lg: {
|
|
1881
1959
|
value: {
|
|
@@ -1958,7 +2036,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1958
2036
|
}
|
|
1959
2037
|
}
|
|
1960
2038
|
}
|
|
1961
|
-
}),
|
|
2039
|
+
}), mr = u.animations({
|
|
1962
2040
|
"backdrop-in": {
|
|
1963
2041
|
value: "fade-in 250ms {easings.emphasized-in}"
|
|
1964
2042
|
},
|
|
@@ -1999,14 +2077,14 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
1999
2077
|
"collapse-out": {
|
|
2000
2078
|
value: "collapse-out 150ms {easings.in-out}"
|
|
2001
2079
|
}
|
|
2002
|
-
}),
|
|
2080
|
+
}), gr = u.borders({
|
|
2003
2081
|
golden: { value: "1.618 / 1" },
|
|
2004
2082
|
landscape: { value: "4 / 3" },
|
|
2005
2083
|
portrait: { value: "3 / 4" },
|
|
2006
2084
|
square: { value: "1 / 1" },
|
|
2007
2085
|
ultrawide: { value: "18 / 5" },
|
|
2008
2086
|
wide: { value: "16 / 9" }
|
|
2009
|
-
}),
|
|
2087
|
+
}), hr = u.blurs({
|
|
2010
2088
|
"2xl": { value: "40px" },
|
|
2011
2089
|
"3xl": { value: "64px" },
|
|
2012
2090
|
base: { value: "8px" },
|
|
@@ -2014,11 +2092,11 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2014
2092
|
md: { value: "12px" },
|
|
2015
2093
|
sm: { value: "4px" },
|
|
2016
2094
|
xl: { value: "24px" }
|
|
2017
|
-
}),
|
|
2095
|
+
}), br = u.borders({
|
|
2018
2096
|
border: {
|
|
2019
2097
|
none: { value: "none" }
|
|
2020
2098
|
}
|
|
2021
|
-
}),
|
|
2099
|
+
}), vr = u.colors({
|
|
2022
2100
|
black: { value: "#000" },
|
|
2023
2101
|
current: { value: "currentColor" },
|
|
2024
2102
|
transparent: { value: "rgb(0 0 0 / 0)" },
|
|
@@ -2090,7 +2168,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2090
2168
|
200: { value: "#FFEAAC" },
|
|
2091
2169
|
100: { value: "#FFF9E6" }
|
|
2092
2170
|
}
|
|
2093
|
-
}),
|
|
2171
|
+
}), xr = u.durations({
|
|
2094
2172
|
fast: { value: "150ms" },
|
|
2095
2173
|
faster: { value: "100ms" },
|
|
2096
2174
|
fastest: { value: "50ms" },
|
|
@@ -2098,7 +2176,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2098
2176
|
slow: { value: "300ms" },
|
|
2099
2177
|
slower: { value: "400ms" },
|
|
2100
2178
|
slowest: { value: "500ms" }
|
|
2101
|
-
}),
|
|
2179
|
+
}), yr = u.easings({
|
|
2102
2180
|
default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
|
|
2103
2181
|
"ease-bounce-1": {
|
|
2104
2182
|
value: `linear(
|
|
@@ -2186,7 +2264,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2186
2264
|
linear: { value: "linear" },
|
|
2187
2265
|
out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
|
|
2188
2266
|
pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
|
|
2189
|
-
}),
|
|
2267
|
+
}), fr = u.radii({
|
|
2190
2268
|
"radius-0": { value: "0px" },
|
|
2191
2269
|
"radius-2": { value: "2px" },
|
|
2192
2270
|
"radius-4": { value: "4px" },
|
|
@@ -2208,7 +2286,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2208
2286
|
"radius-60": { value: "60px" },
|
|
2209
2287
|
"radius-64": { value: "64px" },
|
|
2210
2288
|
full: { value: "9999px" }
|
|
2211
|
-
}),
|
|
2289
|
+
}), wr = u.shadows({
|
|
2212
2290
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
2213
2291
|
inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
|
|
2214
2292
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
@@ -2216,7 +2294,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2216
2294
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
2217
2295
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
2218
2296
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
|
|
2219
|
-
}),
|
|
2297
|
+
}), Cr = u.sizes({
|
|
2220
2298
|
"size-0": {
|
|
2221
2299
|
value: "0px"
|
|
2222
2300
|
},
|
|
@@ -2293,7 +2371,7 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2293
2371
|
"size-80": {
|
|
2294
2372
|
value: "80px"
|
|
2295
2373
|
}
|
|
2296
|
-
}),
|
|
2374
|
+
}), kr = u.spacing({
|
|
2297
2375
|
"space-0": {
|
|
2298
2376
|
value: "0px"
|
|
2299
2377
|
},
|
|
@@ -2373,9 +2451,9 @@ const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o ===
|
|
|
2373
2451
|
value: "80px"
|
|
2374
2452
|
}
|
|
2375
2453
|
});
|
|
2376
|
-
var
|
|
2377
|
-
`${
|
|
2378
|
-
var
|
|
2454
|
+
var Sr = "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,%";
|
|
2455
|
+
`${Sr.split(",").join("|")}`;
|
|
2456
|
+
var _r = {
|
|
2379
2457
|
animation: [
|
|
2380
2458
|
"animationName",
|
|
2381
2459
|
"animationDuration",
|
|
@@ -2486,22 +2564,22 @@ var bt = {
|
|
|
2486
2564
|
textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
|
|
2487
2565
|
transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
|
|
2488
2566
|
};
|
|
2489
|
-
Object.values(
|
|
2490
|
-
var
|
|
2491
|
-
function
|
|
2492
|
-
const o = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${
|
|
2567
|
+
Object.values(_r).reduce((t, o) => [...t, ...o], []);
|
|
2568
|
+
var Tr = 16, re = "px", oe = "em", D = "rem";
|
|
2569
|
+
function Ir(t = "") {
|
|
2570
|
+
const o = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${re}|${oe}|${D}`), i = t.match(new RegExp(`${o.source}(${a.source})`));
|
|
2493
2571
|
return i == null ? void 0 : i[1];
|
|
2494
2572
|
}
|
|
2495
|
-
function h(
|
|
2496
|
-
const o =
|
|
2573
|
+
function h(t = "") {
|
|
2574
|
+
const o = Ir(t);
|
|
2497
2575
|
if (!o || o === D)
|
|
2498
|
-
return
|
|
2576
|
+
return t;
|
|
2577
|
+
if (o === oe)
|
|
2578
|
+
return `${parseFloat(t)}${D}`;
|
|
2499
2579
|
if (o === re)
|
|
2500
|
-
return `${parseFloat(
|
|
2501
|
-
if (o === ee)
|
|
2502
|
-
return `${parseFloat(r) / vt}${D}`;
|
|
2580
|
+
return `${parseFloat(t) / Tr}${D}`;
|
|
2503
2581
|
}
|
|
2504
|
-
const
|
|
2582
|
+
const Rr = u.fontSizes({
|
|
2505
2583
|
body: {
|
|
2506
2584
|
lg: { value: h("16px") },
|
|
2507
2585
|
md: { value: h("14px") },
|
|
@@ -2523,7 +2601,7 @@ const yt = u.fontSizes({
|
|
|
2523
2601
|
xs: { value: h("18px") }
|
|
2524
2602
|
}
|
|
2525
2603
|
}
|
|
2526
|
-
}),
|
|
2604
|
+
}), zr = u.fontWeights({
|
|
2527
2605
|
black: { value: "900" },
|
|
2528
2606
|
bold: { value: "700" },
|
|
2529
2607
|
extrabold: { value: "800" },
|
|
@@ -2533,14 +2611,14 @@ const yt = u.fontSizes({
|
|
|
2533
2611
|
normal: { value: "400" },
|
|
2534
2612
|
semibold: { value: "600" },
|
|
2535
2613
|
thin: { value: "100" }
|
|
2536
|
-
}),
|
|
2614
|
+
}), Pr = u.letterSpacings({
|
|
2537
2615
|
normal: { value: "0em" },
|
|
2538
2616
|
tight: { value: "-0.025em" },
|
|
2539
2617
|
tighter: { value: "-0.05em" },
|
|
2540
2618
|
wide: { value: "0.025em" },
|
|
2541
2619
|
wider: { value: "0.05em" },
|
|
2542
2620
|
widest: { value: "0.1em" }
|
|
2543
|
-
}),
|
|
2621
|
+
}), Fr = u.lineHeights({}), Br = u.fonts({
|
|
2544
2622
|
satoshi: { value: "var(--font-satoshi)" },
|
|
2545
2623
|
cabinet: { value: "var(--font-cabinet)" },
|
|
2546
2624
|
mono: {
|
|
@@ -2576,7 +2654,7 @@ const yt = u.fontSizes({
|
|
|
2576
2654
|
serif: {
|
|
2577
2655
|
value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
|
|
2578
2656
|
}
|
|
2579
|
-
}),
|
|
2657
|
+
}), Dr = u.zIndex({
|
|
2580
2658
|
banner: {
|
|
2581
2659
|
value: 1200
|
|
2582
2660
|
},
|
|
@@ -2613,85 +2691,88 @@ const yt = u.fontSizes({
|
|
|
2613
2691
|
tooltip: {
|
|
2614
2692
|
value: 1800
|
|
2615
2693
|
}
|
|
2616
|
-
}),
|
|
2617
|
-
animations:
|
|
2618
|
-
aspectRatios:
|
|
2619
|
-
blurs:
|
|
2620
|
-
borders:
|
|
2621
|
-
colors:
|
|
2622
|
-
durations:
|
|
2623
|
-
easings:
|
|
2624
|
-
fontSizes:
|
|
2625
|
-
fontWeights:
|
|
2626
|
-
fonts:
|
|
2627
|
-
letterSpacings:
|
|
2628
|
-
lineHeights:
|
|
2629
|
-
radii:
|
|
2630
|
-
shadows:
|
|
2631
|
-
sizes:
|
|
2632
|
-
spacing:
|
|
2633
|
-
zIndex:
|
|
2634
|
-
},
|
|
2694
|
+
}), Lr = {
|
|
2695
|
+
animations: mr,
|
|
2696
|
+
aspectRatios: gr,
|
|
2697
|
+
blurs: hr,
|
|
2698
|
+
borders: br,
|
|
2699
|
+
colors: vr,
|
|
2700
|
+
durations: xr,
|
|
2701
|
+
easings: yr,
|
|
2702
|
+
fontSizes: Rr,
|
|
2703
|
+
fontWeights: zr,
|
|
2704
|
+
fonts: Br,
|
|
2705
|
+
letterSpacings: Pr,
|
|
2706
|
+
lineHeights: Fr,
|
|
2707
|
+
radii: fr,
|
|
2708
|
+
shadows: wr,
|
|
2709
|
+
sizes: Cr,
|
|
2710
|
+
spacing: kr,
|
|
2711
|
+
zIndex: Dr
|
|
2712
|
+
}, Ar = Ae({
|
|
2635
2713
|
className: "size",
|
|
2636
|
-
transform(
|
|
2637
|
-
return { height:
|
|
2714
|
+
transform(t) {
|
|
2715
|
+
return { height: t, width: t };
|
|
2638
2716
|
},
|
|
2639
2717
|
values: "sizes"
|
|
2640
|
-
}),
|
|
2718
|
+
}), Nr = {
|
|
2641
2719
|
extend: {
|
|
2642
|
-
boxSize:
|
|
2720
|
+
boxSize: Ar
|
|
2643
2721
|
}
|
|
2644
|
-
},
|
|
2722
|
+
}, fo = Ne({
|
|
2645
2723
|
staticCss: {
|
|
2646
2724
|
recipes: "*"
|
|
2647
2725
|
},
|
|
2648
2726
|
theme: {
|
|
2649
|
-
breakpoints:
|
|
2650
|
-
containerSizes:
|
|
2651
|
-
keyframes:
|
|
2652
|
-
recipes:
|
|
2653
|
-
semanticTokens:
|
|
2654
|
-
slotRecipes:
|
|
2655
|
-
textStyles:
|
|
2656
|
-
tokens:
|
|
2657
|
-
},
|
|
2658
|
-
utilities:
|
|
2659
|
-
conditions:
|
|
2727
|
+
breakpoints: Et,
|
|
2728
|
+
containerSizes: Vt,
|
|
2729
|
+
keyframes: jt,
|
|
2730
|
+
recipes: sr,
|
|
2731
|
+
semanticTokens: pr,
|
|
2732
|
+
slotRecipes: dr,
|
|
2733
|
+
textStyles: ur,
|
|
2734
|
+
tokens: Lr
|
|
2735
|
+
},
|
|
2736
|
+
utilities: Nr,
|
|
2737
|
+
conditions: Mt
|
|
2660
2738
|
});
|
|
2661
2739
|
export {
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2740
|
+
Yr as Accordion,
|
|
2741
|
+
Zr as AccordionItem,
|
|
2742
|
+
Xr as AccordionItemContent,
|
|
2743
|
+
Or as AccordionItemIndicator,
|
|
2744
|
+
Ur as AccordionItemTrigger,
|
|
2745
|
+
go as Box,
|
|
2746
|
+
j as Button,
|
|
2747
|
+
He as Checkbox,
|
|
2748
|
+
ho as DatePicker,
|
|
2749
|
+
qr as Drawer,
|
|
2750
|
+
Qr as DrawerBody,
|
|
2751
|
+
je as DrawerCloseTrigger,
|
|
2752
|
+
ro as DrawerContent,
|
|
2753
|
+
Jr as DrawerFooter,
|
|
2754
|
+
Kr as DrawerHeader,
|
|
2755
|
+
eo as DrawerTitle,
|
|
2756
|
+
to as DrawerTrigger,
|
|
2757
|
+
oo as FormControl,
|
|
2758
|
+
io as FormHelperText,
|
|
2759
|
+
ao as FormLabel,
|
|
2760
|
+
no as Heading,
|
|
2761
|
+
ct as Input,
|
|
2762
|
+
pt as InputAddon,
|
|
2763
|
+
ut as InputGroup,
|
|
2764
|
+
vo as RadioButtonGroup,
|
|
2765
|
+
xo as RadioButtonGroupItem,
|
|
2766
|
+
yo as RadioButtonGroupLabel,
|
|
2767
|
+
mo as Select,
|
|
2768
|
+
Xe as Switch,
|
|
2769
|
+
so as Tabs,
|
|
2770
|
+
co as TabsContent,
|
|
2771
|
+
uo as TabsList,
|
|
2772
|
+
po as TabsTrigger,
|
|
2773
|
+
bo as Tag,
|
|
2774
|
+
Oe as Text,
|
|
2775
|
+
lo as Textarea,
|
|
2776
|
+
fo as preset
|
|
2696
2777
|
};
|
|
2697
2778
|
//# sourceMappingURL=ui.js.map
|