@stokelp/ui 1.13.4 → 1.14.0

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