@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/ui.js CHANGED
@@ -1,57 +1,57 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as c, Fragment as te } from "react/jsx-runtime";
3
- import { Accordion as F, Checkbox as S, Dialog as k, ark as _, Portal as U, Switch as I, Tabs as T, Select as b, DatePicker as l, switchAnatomy as oe, dialogAnatomy as ae, accordionAnatomy as ie, checkboxAnatomy as ne, tabsAnatomy as le, selectAnatomy as se, datePickerAnatomy as de } from "@ark-ui/react";
4
- import { styled as t, splitCssProps as B, Circle as ce } from "@stokelp/styled-system/jsx";
5
- import { accordion as pe, button as ue, checkbox as $, drawer as me, formControl as ge, formLabel as M, formHelperText as he, heading as be, switchRecipe as Y, text as ve, textarea as xe, tabs as ye, select as fe, input as we, inputAddon as Ce, inputGroup as ke, datepicker as Se, tag as Z } from "@stokelp/styled-system/recipes";
6
- import { createContext as _e, forwardRef as C, useContext as Te, createElement as ze, useMemo as W } from "react";
7
- import { cx as P, css as L } from "@stokelp/styled-system/css";
8
- import { defineKeyframes as Ie, defineRecipe as y, defineSlotRecipe as f, defineSemanticTokens as Pe, defineTextStyles as Fe, defineTokens as u, defineUtility as Re, definePreset as De } from "@pandacss/dev";
9
- const X = (...r) => r.filter(Boolean).join(" "), R = (r, o) => {
10
- const a = _e(null);
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: (d, n, m) => n ? C((s, E) => {
13
- const z = Te(a);
14
- return ze(d, {
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: X(z == null ? void 0 : z[n ?? ""], s.className),
18
+ className: O(z == null ? void 0 : z[n ?? ""], s.className),
19
19
  ref: E
20
20
  });
21
- }) : d,
22
- withProvider: (d, n, m) => C((s, E) => {
23
- const [z, H] = r.splitVariantProps({
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
- }), j = r(z);
27
- return /* @__PURE__ */ e(a.Provider, { value: j, children: /* @__PURE__ */ e(
28
- d,
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
- ...H,
33
- className: X(j[n ?? ""], H.className)
32
+ ...M,
33
+ className: O(G[n ?? ""], M.className)
34
34
  }
35
35
  ) });
36
36
  })
37
37
  };
38
- }, { withProvider: Be, withContext: A } = R(pe), Nt = Be(t(F.Root), "root"), Et = A(t(F.Item), "item"), Ht = A(t(F.ItemContent), "itemContent"), Mt = A(t(F.ItemIndicator), "itemIndicator", {
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
- }), Vt = A(t(F.ItemTrigger), "itemTrigger"), V = t("button", ue), Le = C((r, o) => {
43
- const [a, i] = $.splitVariantProps(r), [g, d] = B(i), { children: n, className: m, ...x } = d, s = $(a);
44
- return /* @__PURE__ */ c(S.Root, { ref: o, className: P(s.root, L(g), m), ...x, children: [
45
- /* @__PURE__ */ c(S.Control, { className: s.control, children: [
46
- /* @__PURE__ */ e(S.Indicator, { children: /* @__PURE__ */ e(Ae, {}) }),
47
- /* @__PURE__ */ e(S.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(Ne, {}) })
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
- Le.displayName = "Checkbox";
54
- const Ae = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
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
- ] }), Ne = () => /* @__PURE__ */ c("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
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: Ee, withContext: w } = R(me), Wt = Ee(k.Root, void 0, {
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
- }), jt = w(t(_.main), "body"), He = w(t(k.CloseTrigger), "closeTrigger"), $t = w(t(_.footer), "footer"), q = C(
72
- ({ children: r, showCloseTrigger: o = !0, ...a }, i) => /* @__PURE__ */ c(_.header, { ...a, ref: i, children: [
73
- r,
74
- o && /* @__PURE__ */ e(He, { asChild: !0, children: /* @__PURE__ */ e(V, { 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(
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
- q.displayName = "DrawerHeader";
84
- const Yt = w(q, "header"), Zt = w(t(k.Title), "title"), Xt = w(t(k.Trigger), "trigger"), Me = w(t(k.Positioner), "positioner"), Ve = w(t(k.Backdrop), "backdrop"), Q = C(
85
- ({ children: r, ...o }, a) => /* @__PURE__ */ c(U, { children: [
86
- /* @__PURE__ */ e(Ve, {}),
87
- /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(k.Content, { ref: a, ...o, children: r }) })
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
- Q.displayName = k.Content.displayName;
91
- const Gt = w(t(Q), "content"), We = t("div", ge, {
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
- }), Ot = ({ isInvalid: r, isRequired: o, ...a }) => {
95
+ }), oo = ({ isInvalid: t, isRequired: o, ...a }) => {
96
96
  const i = {
97
- ...r ? { "aria-invalid": !0 } : {},
97
+ ...t ? { "aria-invalid": !0 } : {},
98
98
  ...o ? { "aria-required": !0 } : {}
99
99
  };
100
- return /* @__PURE__ */ e(We, { ...i, ...a });
101
- }, je = t("label", M), Ut = (r) => {
102
- const [o, a] = M.splitVariantProps(r), [i, g] = B(a), { children: d, className: n, addon: m, ...x } = g, s = M(o);
103
- return /* @__PURE__ */ c(je, { className: P(s.root, L(i), n), ...x, children: [
104
- d,
105
- m ? /* @__PURE__ */ e(t.span, { className: s.addon, children: m }) : null
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
- }, qt = t("p", he, {
107
+ }, io = r("p", xe, {
108
108
  dataAttr: !0
109
- }), Qt = (r) => {
110
- const { as: o = "h2", ...a } = r, i = W(() => t(o, be), [o]);
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
- }, $e = C((r, o) => {
113
- const [a, i] = Y.splitVariantProps(r), [g, d] = B(i), { children: n, className: m, ...x } = d, s = Y(a);
114
- return /* @__PURE__ */ c(I.Root, { ref: o, className: P(s.root, L(g), m), ...x, children: [
115
- /* @__PURE__ */ e(I.Control, { className: s.control, children: /* @__PURE__ */ e(I.Thumb, { className: s.thumb }) }),
116
- n ? /* @__PURE__ */ e(I.Label, { className: s.label, children: n }) : null,
117
- /* @__PURE__ */ e(I.HiddenInput, {})
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
- $e.displayName = "Switch";
121
- const Ye = (r) => {
122
- const { as: o = "p", ...a } = r, i = W(() => t(o, ve), [o]);
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
- }, Jt = t(_.textarea, xe), { withProvider: Ze, withContext: N } = R(ye), Kt = Ze(t(T.Root), "root", {
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
- }), eo = N(t(T.Content), "content"), ro = N(t(T.Trigger), "trigger"), Xe = N(t(T.Indicator), "indicator"), J = C(
129
- ({ children: r, ...o }, a) => /* @__PURE__ */ c(T.List, { ref: a, ...o, children: [
130
- r,
131
- /* @__PURE__ */ e(Xe, {})
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
- J.displayName = T.List.displayName;
135
- const to = N(t(J), "list"), Ge = ({ children: r, when: o, wrapper: a }) => o === !0 ? a(r) : r, { withProvider: Oe, withContext: v } = R(fe), Ue = Oe(t(b.Root), "root", {
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
- }), qe = v(t(b.ClearTrigger), "clearTrigger"), Qe = v(t(b.Content), "content"), Je = v(t(b.Control), "control"), Ke = v(t(b.Indicator), "indicator"), er = v(t(b.Item), "item"), rr = v(t(b.ItemIndicator), "itemIndicator"), tr = v(t(b.ItemText), "itemText"), or = v(t(b.Positioner), "positioner"), ar = v(t(b.Trigger), "trigger"), ir = v(t(b.ValueText), "valueText"), oo = ({
140
- items: r,
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
- ...d
146
- }) => /* @__PURE__ */ c(
147
- Ue,
145
+ ...c
146
+ }) => /* @__PURE__ */ d(
147
+ Ke,
148
148
  {
149
149
  lazyMount: !0,
150
150
  unmountOnExit: !0,
151
- items: r,
151
+ items: t,
152
152
  positioning: { sameWidth: !0, gutter: 0, ...g },
153
153
  "data-recipe": "select",
154
- ...d,
154
+ ...c,
155
155
  children: [
156
- /* @__PURE__ */ e(Je, { children: /* @__PURE__ */ c(ar, { children: [
157
- /* @__PURE__ */ e(ir, { truncate: !0, placeholder: o }),
158
- /* @__PURE__ */ e(qe, { asChild: !0, children: /* @__PURE__ */ e(t.svg, { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__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(Ke, { asChild: !0, children: /* @__PURE__ */ e(t.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__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(Ge, { when: i, wrapper: (n) => /* @__PURE__ */ e(U, { children: n }), children: /* @__PURE__ */ e(or, { children: /* @__PURE__ */ e(Qe, { children: r.length === 0 ? /* @__PURE__ */ e(Ye, { px: "space-8", textAlign: "center", children: a ?? "Aucun résultat" }) : r.map((n) => /* @__PURE__ */ c(er, { item: n, children: [
174
- /* @__PURE__ */ e(tr, { truncate: !0, children: n.label }),
175
- d.multiple ? /* @__PURE__ */ e(rr, { children: "✓" }) : null
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
- ), nr = t("input", we, {
180
+ ), ct = r("input", Se, {
181
181
  dataAttr: !0
182
- }), lr = t(_.div, Ce, {
182
+ }), pt = r(T.div, _e, {
183
183
  dataAttr: !0
184
- }), sr = t("div", ke, {
184
+ }), ut = r("div", Te, {
185
185
  dataAttr: !0
186
- }), ao = (r) => {
187
- const { as: o = "div", ...a } = r, i = W(() => t(o), [o]);
186
+ }), go = (t) => {
187
+ const { as: o = "div", ...a } = t, i = $(() => r(o), [o]);
188
188
  return /* @__PURE__ */ e(i, { ...a });
189
- }, { withProvider: dr, withContext: p } = R(Se), cr = dr(l.Root, "root", {
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
- }), pr = p(l.Content, "content"), ur = p(l.Control, "control"), mr = p(l.Input, "input"), gr = p(l.MonthSelect, "monthSelect"), hr = p(l.NextTrigger, "nextTrigger"), br = p(l.Positioner, "positioner"), vr = p(l.PrevTrigger, "prevTrigger"), xr = p(l.TableBody, "tableBody"), yr = p(l.TableCell, "tableCell"), fr = p(l.TableCellTrigger, "tableCellTrigger"), wr = p(l.TableHead, "tableHead"), Cr = p(l.TableHeader, "tableHeader"), kr = p(l.Table, "table"), G = p(l.TableRow, "tableRow"), Sr = p(l.Trigger, "trigger"), _r = p(l.ViewControl, "viewControl"), Tr = p(l.View, "view"), zr = p(l.YearSelect, "yearSelect"), Ir = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
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
- ) }), Pr = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M10.4698 4.94L9.52979 4L5.52979 8L9.52979 12L10.4698 11.06L7.41645 8L10.4698 4.94Z", fill: "currentColor" }) }), Fr = () => /* @__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" }) }), io = ({ placeholder: r, ...o }) => /* @__PURE__ */ c(cr, { ...o, children: [
207
- /* @__PURE__ */ e(ur, { asChild: !0, children: /* @__PURE__ */ c(sr, { children: [
208
- /* @__PURE__ */ e(mr, { asChild: !0, index: 0, placeholder: r, children: /* @__PURE__ */ e(nr, {}) }),
209
- /* @__PURE__ */ e(lr, { children: /* @__PURE__ */ e(Sr, { children: /* @__PURE__ */ e(Ir, {}) }) })
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(br, { children: /* @__PURE__ */ e(pr, { children: /* @__PURE__ */ e(Tr, { view: "day", children: /* @__PURE__ */ e(l.Context, { children: (a) => /* @__PURE__ */ c(te, { children: [
212
- /* @__PURE__ */ c(_r, { children: [
213
- /* @__PURE__ */ e(vr, { asChild: !0, children: /* @__PURE__ */ e(V, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Pr, {}) }) }),
214
- /* @__PURE__ */ e(gr, {}),
215
- /* @__PURE__ */ e(zr, {}),
216
- /* @__PURE__ */ e(hr, { asChild: !0, children: /* @__PURE__ */ e(V, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Fr, {}) }) })
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__ */ c(kr, { children: [
219
- /* @__PURE__ */ e(wr, { children: /* @__PURE__ */ e(G, { children: a.weekDays.map((i, g) => /* @__PURE__ */ e(Cr, { children: i.short }, g)) }) }),
220
- /* @__PURE__ */ e(xr, { children: a.weeks.map((i, g) => /* @__PURE__ */ e(G, { children: i.map((d, n) => /* @__PURE__ */ e(yr, { value: d, children: /* @__PURE__ */ e(fr, { asChild: !0, children: /* @__PURE__ */ e("button", { children: d.day }) }) }, n)) }, g)) })
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
- ] }), no = C((r, o) => {
224
- const [a, i] = Z.splitVariantProps(r), [g, d] = B(i), { children: n, className: m, ...x } = d, s = Z(a);
225
- return /* @__PURE__ */ c(_.div, { ref: o, className: P(s.root, L(g), m), ...x, children: [
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(ce, { className: P(s.badge) })
227
+ /* @__PURE__ */ e(me, { className: F(s.badge) })
228
228
  ] });
229
- }), Rr = {
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
- }, Dr = {
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
- }, Br = {
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
- }, Lr = Ie({
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
- }), Ar = y({
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
- }), Nr = y({
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
- }), Er = f({
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: oe.keys(),
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
- }), Hr = y({
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
- }), K = y({
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
- }), Mr = y({
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
- ...K.base
789
+ ...te.base
780
790
  }
781
- }), Vr = y({
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
- }), Wr = y({
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
- }), jr = ae.extendWith("header", "body", "footer"), $r = f({
830
+ }), qt = ne.extendWith("header", "body", "footer"), Qt = v({
821
831
  className: "drawer",
822
- slots: jr.keys(),
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
- }), Yr = f({
950
+ }), Jt = v({
941
951
  className: "accordion",
942
952
  jsx: ["Accordion"],
943
- slots: ie.keys(),
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
- }), Zr = f({
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
- }), Xr = f({
1084
+ }), er = v({
1075
1085
  className: "checkbox",
1076
- slots: ne.keys(),
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
- }), Gr = f({
1202
+ }), tr = v({
1193
1203
  className: "tabs",
1194
- slots: le.keys(),
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
- }), Or = f({
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: se.keys(),
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
- }), Ur = y({
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
- }), qr = y({
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
- }), O = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", Qr = f({
1511
+ }), q = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", ir = v({
1502
1512
  className: "datepicker",
1503
- slots: de.keys(),
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('${O}') no-repeat right 10px center`
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('${O}') no-repeat right 10px center`
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
- }), Jr = f({
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
- }), Kr = {
1758
- button: Ar,
1759
- heading: Nr,
1760
- switchRecipe: Er,
1761
- text: Hr,
1762
- textarea: Mr,
1763
- formControl: Vr,
1764
- formHelperText: Wr,
1765
- input: K,
1766
- inputAddon: Ur,
1767
- inputGroup: qr
1768
- }, et = {
1769
- drawer: $r,
1770
- accordion: Yr,
1771
- formLabel: Zr,
1772
- checkbox: Xr,
1773
- datepicker: Qr,
1774
- tabs: Gr,
1775
- tag: Jr,
1776
- select: Or
1777
- }, rt = Pe.colors({
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
- }), tt = {
1877
- colors: rt
1878
- }, ot = Fe({
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
- }), at = u.animations({
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
- }), it = u.borders({
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
- }), nt = u.blurs({
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
- }), lt = u.borders({
2095
+ }), br = u.borders({
2018
2096
  border: {
2019
2097
  none: { value: "none" }
2020
2098
  }
2021
- }), st = u.colors({
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
- }), dt = u.durations({
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
- }), ct = u.easings({
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
- }), pt = u.radii({
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
- }), ut = u.shadows({
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
- }), mt = u.sizes({
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
- }), gt = u.spacing({
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 ht = "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,%";
2377
- `${ht.split(",").join("|")}`;
2378
- var bt = {
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(bt).reduce((r, o) => [...r, ...o], []);
2490
- var vt = 16, ee = "px", re = "em", D = "rem";
2491
- function xt(r = "") {
2492
- const o = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${ee}|${re}|${D}`), i = r.match(new RegExp(`${o.source}(${a.source})`));
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(r = "") {
2496
- const o = xt(r);
2573
+ function h(t = "") {
2574
+ const o = Ir(t);
2497
2575
  if (!o || o === D)
2498
- return r;
2576
+ return t;
2577
+ if (o === oe)
2578
+ return `${parseFloat(t)}${D}`;
2499
2579
  if (o === re)
2500
- return `${parseFloat(r)}${D}`;
2501
- if (o === ee)
2502
- return `${parseFloat(r) / vt}${D}`;
2580
+ return `${parseFloat(t) / Tr}${D}`;
2503
2581
  }
2504
- const yt = u.fontSizes({
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
- }), ft = u.fontWeights({
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
- }), wt = u.letterSpacings({
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
- }), Ct = u.lineHeights({}), kt = u.fonts({
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
- }), St = u.zIndex({
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
- }), _t = {
2617
- animations: at,
2618
- aspectRatios: it,
2619
- blurs: nt,
2620
- borders: lt,
2621
- colors: st,
2622
- durations: dt,
2623
- easings: ct,
2624
- fontSizes: yt,
2625
- fontWeights: ft,
2626
- fonts: kt,
2627
- letterSpacings: wt,
2628
- lineHeights: Ct,
2629
- radii: pt,
2630
- shadows: ut,
2631
- sizes: mt,
2632
- spacing: gt,
2633
- zIndex: St
2634
- }, Tt = Re({
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(r) {
2637
- return { height: r, width: r };
2714
+ transform(t) {
2715
+ return { height: t, width: t };
2638
2716
  },
2639
2717
  values: "sizes"
2640
- }), zt = {
2718
+ }), Nr = {
2641
2719
  extend: {
2642
- boxSize: Tt
2720
+ boxSize: Ar
2643
2721
  }
2644
- }, lo = De({
2722
+ }, fo = Ne({
2645
2723
  staticCss: {
2646
2724
  recipes: "*"
2647
2725
  },
2648
2726
  theme: {
2649
- breakpoints: Rr,
2650
- containerSizes: Br,
2651
- keyframes: Lr,
2652
- recipes: Kr,
2653
- semanticTokens: tt,
2654
- slotRecipes: et,
2655
- textStyles: ot,
2656
- tokens: _t
2657
- },
2658
- utilities: zt,
2659
- conditions: Dr
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
- Nt as Accordion,
2663
- Et as AccordionItem,
2664
- Ht as AccordionItemContent,
2665
- Mt as AccordionItemIndicator,
2666
- Vt as AccordionItemTrigger,
2667
- ao as Box,
2668
- V as Button,
2669
- Le as Checkbox,
2670
- io as DatePicker,
2671
- Wt as Drawer,
2672
- jt as DrawerBody,
2673
- He as DrawerCloseTrigger,
2674
- Gt as DrawerContent,
2675
- $t as DrawerFooter,
2676
- Yt as DrawerHeader,
2677
- Zt as DrawerTitle,
2678
- Xt as DrawerTrigger,
2679
- Ot as FormControl,
2680
- qt as FormHelperText,
2681
- Ut as FormLabel,
2682
- Qt as Heading,
2683
- nr as Input,
2684
- lr as InputAddon,
2685
- sr as InputGroup,
2686
- oo as Select,
2687
- $e as Switch,
2688
- Kt as Tabs,
2689
- eo as TabsContent,
2690
- to as TabsList,
2691
- ro as TabsTrigger,
2692
- no as Tag,
2693
- Ye as Text,
2694
- Jt as Textarea,
2695
- lo as preset
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