@stokelp/ui 1.21.1 → 1.22.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,62 +1,62 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as c, Fragment as ve } from "react/jsx-runtime";
3
- import { Accordion as H, Checkbox as I, Dialog as T, ark as g, Portal as X, Tooltip as F, Switch as D, Tabs as A, Select as w, DatePicker as p, RadioGroup as v, switchAnatomy as fe, dialogAnatomy as we, accordionAnatomy as Ce, checkboxAnatomy as Se, tabsAnatomy as ke, selectAnatomy as _e, datePickerAnatomy as Te, radioGroupAnatomy as ce, tooltipAnatomy as Pe } from "@ark-ui/react";
4
- import { styled as o, splitCssProps as B, Circle as ze } from "@stokelp/styled-system/jsx";
5
- import { accordion as Ie, button as Le, checkbox as te, drawer as Re, formControl as Fe, tooltip as Ae, formLabel as O, formHelperText as Be, heading as De, switchRecipe as re, text as Me, textarea as He, tabs as Ve, select as Ne, input as Ee, inputAddon as je, inputGroup as We, datepicker as Ze, tag as oe, radioButtonGroup as $e, radioGroup as Ge, chip as Oe, actionCard as Ye, iconButton as Xe, alert as Ue } from "@stokelp/styled-system/recipes";
6
- import { createContext as qe, forwardRef as f, useContext as Ke, createElement as Qe, useMemo as U } from "react";
7
- import { cx as L, css as V, sva as Je } from "@stokelp/styled-system/css";
8
- import { defineKeyframes as et, defineRecipe as k, defineSlotRecipe as b, defineSemanticTokens as tt, defineTextStyles as rt, defineTokens as m, defineUtility as ot, definePreset as at } from "@pandacss/dev";
9
- const ae = (...t) => t.filter(Boolean).join(" "), S = (t, r) => {
10
- const a = qe(null);
2
+ import { jsx as e, jsxs as s, Fragment as Ce } from "react/jsx-runtime";
3
+ import { Accordion as N, Checkbox as z, Dialog as k, ark as m, Portal as U, Tooltip as F, Switch as D, Tabs as A, Select as C, DatePicker as p, RadioGroup as w, switchAnatomy as Se, dialogAnatomy as Te, accordionAnatomy as _e, checkboxAnatomy as ke, tabsAnatomy as Pe, selectAnatomy as Re, datePickerAnatomy as ze, radioGroupAnatomy as de, tooltipAnatomy as Ie } from "@ark-ui/react";
4
+ import { styled as o, splitCssProps as B, Circle as Le } from "@stokelp/styled-system/jsx";
5
+ import { accordion as Fe, button as Ae, checkbox as re, drawer as Be, formControl as De, tooltip as Me, formLabel as Y, formHelperText as Ne, heading as He, switchRecipe as oe, text as Ve, textarea as Ee, tabs as We, select as je, input as Ze, inputAddon as $e, inputGroup as Ge, datepicker as Oe, tag as ae, radioButtonGroup as Ye, radioGroup as Xe, chip as Ue, actionCard as qe, iconButton as Ke, alert as Qe, tableContainer as Je, tableGroupTitle as et, tableEmptyRow as tt, table as rt } from "@stokelp/styled-system/recipes";
6
+ import { createContext as ot, forwardRef as y, useContext as at, createElement as it, useMemo as q, useRef as pe, useLayoutEffect as ue } from "react";
7
+ import { cx as I, css as H, sva as nt } from "@stokelp/styled-system/css";
8
+ import { defineKeyframes as lt, defineRecipe as v, defineSlotRecipe as b, defineSemanticTokens as st, defineTextStyles as ct, defineTokens as g, defineUtility as dt, definePreset as pt } from "@pandacss/dev";
9
+ const ie = (...t) => t.filter(Boolean).join(" "), S = (t, r) => {
10
+ const a = ot(null);
11
11
  return {
12
- withContext: (d, l, s) => l ? f((u, C) => {
13
- const z = Ke(a), G = (r == null ? void 0 : r.dataAttr) ?? !1;
14
- return Qe(d, {
15
- ...G && { "data-recipe-slot": l ?? "" },
12
+ withContext: (l, c, d) => c ? y((u, T) => {
13
+ const R = at(a), O = (r == null ? void 0 : r.dataAttr) ?? !1;
14
+ return it(l, {
15
+ ...O && { "data-recipe-slot": c ?? "" },
16
16
  ...u,
17
- ...s == null ? void 0 : s.defaultProps,
18
- className: ae(z == null ? void 0 : z[l ?? ""], u.className),
19
- ref: C
17
+ ...d == null ? void 0 : d.defaultProps,
18
+ className: ie(R == null ? void 0 : R[c ?? ""], u.className),
19
+ ref: T
20
20
  });
21
- }) : d,
22
- withProvider: (d, l, s) => f((u, C) => {
23
- const [z, { children: G, ...J }] = t.splitVariantProps({
21
+ }) : l,
22
+ withProvider: (l, c, d) => y((u, T) => {
23
+ const [R, { children: O, ...ee }] = t.splitVariantProps({
24
24
  ...u,
25
- ...s == null ? void 0 : s.defaultProps
26
- }), ee = t(z), ye = (r == null ? void 0 : r.dataAttr) ?? !1;
27
- return /* @__PURE__ */ e(a.Provider, { value: ee, children: /* @__PURE__ */ c(
28
- d,
25
+ ...d == null ? void 0 : d.defaultProps
26
+ }), te = t(R), we = (r == null ? void 0 : r.dataAttr) ?? !1;
27
+ return /* @__PURE__ */ e(a.Provider, { value: te, children: /* @__PURE__ */ s(
28
+ l,
29
29
  {
30
- ref: C,
31
- ...ye && { "data-recipe-slot": l ?? "" },
32
- ...J,
33
- className: ae(ee[l ?? ""], J.className),
30
+ ref: T,
31
+ ...we && { "data-recipe-slot": c ?? "" },
32
+ ...ee,
33
+ className: ie(te[c ?? ""], ee.className),
34
34
  children: [
35
- s == null ? void 0 : s.beforeSlot,
36
- G,
37
- s == null ? void 0 : s.afterSlot
35
+ d == null ? void 0 : d.beforeSlot,
36
+ O,
37
+ d == null ? void 0 : d.afterSlot
38
38
  ]
39
39
  }
40
40
  ) });
41
41
  })
42
42
  };
43
- }, { withProvider: it, withContext: j } = S(Ie), aa = it(o(H.Root), "root"), ia = j(o(H.Item), "item"), na = j(o(H.ItemContent), "itemContent"), la = j(o(H.ItemIndicator), "itemIndicator", {
43
+ }, { withProvider: ut, withContext: j } = S(Fe), Ca = ut(o(N.Root), "root"), Sa = j(o(N.Item), "item"), Ta = j(o(N.ItemContent), "itemContent"), _a = j(o(N.ItemIndicator), "itemIndicator", {
44
44
  defaultProps: {
45
45
  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" }) })
46
46
  }
47
- }), sa = j(o(H.ItemTrigger), "itemTrigger"), Y = o("button", Le), nt = f((t, r) => {
48
- const [a, i] = te.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...y } = d, u = te(a);
49
- return /* @__PURE__ */ c(I.Root, { ref: r, className: L(u.root, V(n), s), ...y, children: [
50
- /* @__PURE__ */ c(I.Control, { className: u.control, children: [
51
- /* @__PURE__ */ e(I.Indicator, { children: /* @__PURE__ */ e(lt, {}) }),
52
- /* @__PURE__ */ e(I.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(st, {}) })
47
+ }), ka = j(o(N.ItemTrigger), "itemTrigger"), X = o("button", Ae), ht = y((t, r) => {
48
+ const [a, i] = re.splitVariantProps(t), [n, l] = B(i), { children: c, className: d, ...f } = l, u = re(a);
49
+ return /* @__PURE__ */ s(z.Root, { ref: r, className: I(u.root, H(n), d), ...f, children: [
50
+ /* @__PURE__ */ s(z.Control, { className: u.control, children: [
51
+ /* @__PURE__ */ e(z.Indicator, { children: /* @__PURE__ */ e(mt, {}) }),
52
+ /* @__PURE__ */ e(z.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(gt, {}) })
53
53
  ] }),
54
- l && /* @__PURE__ */ e(I.Label, { className: u.label, children: l }),
55
- /* @__PURE__ */ e(I.HiddenInput, {})
54
+ c && /* @__PURE__ */ e(z.Label, { className: u.label, children: c }),
55
+ /* @__PURE__ */ e(z.HiddenInput, {})
56
56
  ] });
57
57
  });
58
- nt.displayName = "Checkbox";
59
- const lt = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
58
+ ht.displayName = "Checkbox";
59
+ const mt = () => /* @__PURE__ */ s("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
60
60
  /* @__PURE__ */ e("title", { children: "Check Icon" }),
61
61
  /* @__PURE__ */ e(
62
62
  "path",
@@ -65,18 +65,18 @@ const lt = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none",
65
65
  fill: "white"
66
66
  }
67
67
  )
68
- ] }), st = () => /* @__PURE__ */ c("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
68
+ ] }), gt = () => /* @__PURE__ */ s("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
69
69
  /* @__PURE__ */ e("title", { children: "Minus Icon" }),
70
70
  /* @__PURE__ */ e("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
71
- ] }), { withProvider: ct, withContext: P } = S(Re), ca = ct(T.Root, void 0, {
71
+ ] }), { withProvider: bt, withContext: P } = S(Be), Pa = bt(k.Root, void 0, {
72
72
  defaultProps: {
73
73
  unmountOnExit: !0,
74
74
  lazyMount: !0
75
75
  }
76
- }), da = P(o(g.main), "body"), dt = P(o(T.CloseTrigger), "closeTrigger"), pa = P(o(g.footer), "footer"), de = f(
77
- ({ children: t, showCloseTrigger: r = !0, ...a }, i) => /* @__PURE__ */ c(g.header, { ...a, ref: i, children: [
76
+ }), Ra = P(o(m.main), "body"), yt = P(o(k.CloseTrigger), "closeTrigger"), za = P(o(m.footer), "footer"), he = y(
77
+ ({ children: t, showCloseTrigger: r = !0, ...a }, i) => /* @__PURE__ */ s(m.header, { ...a, ref: i, children: [
78
78
  t,
79
- r && /* @__PURE__ */ e(dt, { asChild: !0, children: /* @__PURE__ */ e(Y, { 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(
79
+ r && /* @__PURE__ */ e(yt, { asChild: !0, children: /* @__PURE__ */ e(X, { 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(
80
80
  "path",
81
81
  {
82
82
  d: "M12.6666 4.27331L11.7266 3.33331L7.99998 7.05998L4.27331 3.33331L3.33331 4.27331L7.05998 7.99998L3.33331 11.7266L4.27331 12.6666L7.99998 8.93998L11.7266 12.6666L12.6666 11.7266L8.93998 7.99998L12.6666 4.27331Z",
@@ -85,25 +85,25 @@ const lt = () => /* @__PURE__ */ c("svg", { viewBox: "0 0 12 13", fill: "none",
85
85
  ) }) }) })
86
86
  ] })
87
87
  );
88
- de.displayName = "DrawerHeader";
89
- const ua = P(de, "header"), ha = P(o(T.Title), "title"), ga = P(o(T.Trigger), "trigger"), pt = P(o(T.Positioner), "positioner"), ut = P(o(T.Backdrop), "backdrop"), pe = f(
90
- ({ children: t, ...r }, a) => /* @__PURE__ */ c(X, { children: [
91
- /* @__PURE__ */ e(ut, {}),
92
- /* @__PURE__ */ e(pt, { children: /* @__PURE__ */ e(T.Content, { ref: a, ...r, children: t }) })
88
+ he.displayName = "DrawerHeader";
89
+ const Ia = P(he, "header"), La = P(o(k.Title), "title"), Fa = P(o(k.Trigger), "trigger"), xt = P(o(k.Positioner), "positioner"), vt = P(o(k.Backdrop), "backdrop"), me = y(
90
+ ({ children: t, ...r }, a) => /* @__PURE__ */ s(U, { children: [
91
+ /* @__PURE__ */ e(vt, {}),
92
+ /* @__PURE__ */ e(xt, { children: /* @__PURE__ */ e(k.Content, { ref: a, ...r, children: t }) })
93
93
  ] })
94
94
  );
95
- pe.displayName = T.Content.displayName;
96
- const ma = P(o(pe), "content"), ba = T.Context, ht = o("div", Fe, {
95
+ me.displayName = k.Content.displayName;
96
+ const Aa = P(o(me), "content"), Ba = k.Context, ft = o("div", De, {
97
97
  defaultProps: {
98
98
  role: "group"
99
99
  }
100
- }), xa = ({ isInvalid: t, isRequired: r, ...a }) => {
100
+ }), Da = ({ isInvalid: t, isRequired: r, ...a }) => {
101
101
  const i = {
102
102
  ...t ? { "aria-invalid": !0 } : {},
103
103
  ...r ? { "aria-required": !0 } : {}
104
104
  };
105
- return /* @__PURE__ */ e(ht, { ...i, ...a });
106
- }, { withProvider: gt, withContext: N } = S(Ae), mt = gt(o(F.Root), void 0, {
105
+ return /* @__PURE__ */ e(ft, { ...i, ...a });
106
+ }, { withProvider: wt, withContext: V } = S(Me), Ct = wt(o(F.Root), void 0, {
107
107
  defaultProps: {
108
108
  closeDelay: 50,
109
109
  closeOnPointerDown: !1,
@@ -112,24 +112,24 @@ const ma = P(o(pe), "content"), ba = T.Context, ht = o("div", Fe, {
112
112
  openDelay: 200,
113
113
  unmountOnExit: !0
114
114
  }
115
- }), bt = N(o(F.Arrow), "arrow"), xt = N(o(F.ArrowTip), "arrowTip"), yt = N(o(F.Content), "content"), vt = N(o(F.Positioner), "positioner"), ft = N(o(F.Trigger), "trigger"), wt = ({ label: t, children: r, withArrow: a = !0, ...i }) => {
116
- const [n, d] = B(i);
117
- return /* @__PURE__ */ c(mt, { ...d, children: [
118
- /* @__PURE__ */ e(ft, { asChild: !0, children: r }),
119
- /* @__PURE__ */ e(vt, { children: /* @__PURE__ */ c(yt, { ...n, children: [
120
- a ? /* @__PURE__ */ e(bt, { children: /* @__PURE__ */ e(xt, {}) }) : null,
115
+ }), St = V(o(F.Arrow), "arrow"), Tt = V(o(F.ArrowTip), "arrowTip"), _t = V(o(F.Content), "content"), kt = V(o(F.Positioner), "positioner"), Pt = V(o(F.Trigger), "trigger"), Rt = ({ label: t, children: r, withArrow: a = !0, ...i }) => {
116
+ const [n, l] = B(i);
117
+ return /* @__PURE__ */ s(Ct, { ...l, children: [
118
+ /* @__PURE__ */ e(Pt, { asChild: !0, children: r }),
119
+ /* @__PURE__ */ e(kt, { children: /* @__PURE__ */ s(_t, { ...n, children: [
120
+ a ? /* @__PURE__ */ e(St, { children: /* @__PURE__ */ e(Tt, {}) }) : null,
121
121
  t
122
122
  ] }) })
123
123
  ] });
124
- }, Ct = o("label", O), ya = (t) => {
125
- const [r, a] = O.splitVariantProps(t), [i, n] = B(a), { children: d, className: l, addon: s, tooltipInformation: y, ...u } = n, C = O(r);
126
- return /* @__PURE__ */ c(Ct, { className: L(C.root, V(i), l), ...u, children: [
127
- d,
128
- s ? /* @__PURE__ */ e(o.span, { className: C.addon, children: s }) : null,
129
- y ? /* @__PURE__ */ e(wt, { label: y, children: /* @__PURE__ */ e(
124
+ }, zt = o("label", Y), Ma = (t) => {
125
+ const [r, a] = Y.splitVariantProps(t), [i, n] = B(a), { children: l, className: c, addon: d, tooltipInformation: f, ...u } = n, T = Y(r);
126
+ return /* @__PURE__ */ s(zt, { className: I(T.root, H(i), c), ...u, children: [
127
+ l,
128
+ d ? /* @__PURE__ */ e(o.span, { className: T.addon, children: d }) : null,
129
+ f ? /* @__PURE__ */ e(Rt, { label: f, children: /* @__PURE__ */ e(
130
130
  o.svg,
131
131
  {
132
- className: C.icon,
132
+ className: T.icon,
133
133
  width: "16",
134
134
  height: "16",
135
135
  viewBox: "0 0 16 16",
@@ -145,59 +145,59 @@ const ma = P(o(pe), "content"), ba = T.Context, ht = o("div", Fe, {
145
145
  }
146
146
  ) }) : null
147
147
  ] });
148
- }, va = o("p", Be, {
148
+ }, Na = o("p", Ne, {
149
149
  dataAttr: !0
150
- }), fa = (t) => {
151
- const { as: r = "h2", ...a } = t, i = U(() => o(r, De), [r]);
150
+ }), Ha = (t) => {
151
+ const { as: r = "h2", ...a } = t, i = q(() => o(r, He), [r]);
152
152
  return /* @__PURE__ */ e(i, { size: r, ...a });
153
- }, St = f((t, r) => {
154
- const [a, i] = re.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...y } = d, u = re(a);
155
- return /* @__PURE__ */ c(D.Root, { ref: r, className: L(u.root, V(n), s), ...y, children: [
153
+ }, It = y((t, r) => {
154
+ const [a, i] = oe.splitVariantProps(t), [n, l] = B(i), { children: c, className: d, ...f } = l, u = oe(a);
155
+ return /* @__PURE__ */ s(D.Root, { ref: r, className: I(u.root, H(n), d), ...f, children: [
156
156
  /* @__PURE__ */ e(D.Control, { className: u.control, children: /* @__PURE__ */ e(D.Thumb, { className: u.thumb }) }),
157
- l ? /* @__PURE__ */ e(D.Label, { className: u.label, children: l }) : null,
157
+ c ? /* @__PURE__ */ e(D.Label, { className: u.label, children: c }) : null,
158
158
  /* @__PURE__ */ e(D.HiddenInput, {})
159
159
  ] });
160
160
  });
161
- St.displayName = "Switch";
162
- const kt = (t) => {
163
- const { as: r = "p", ...a } = t, i = U(() => o(r, Me), [r]);
161
+ It.displayName = "Switch";
162
+ const Lt = (t) => {
163
+ const { as: r = "p", ...a } = t, i = q(() => o(r, Ve), [r]);
164
164
  return /* @__PURE__ */ e(i, { ...a });
165
- }, wa = o(g.textarea, He), { withProvider: _t, withContext: W } = S(Ve), Ca = _t(o(A.Root), "root", {
165
+ }, Va = o(m.textarea, Ee), { withProvider: Ft, withContext: Z } = S(We), Ea = Ft(o(A.Root), "root", {
166
166
  defaultProps: {
167
167
  lazyMount: !0
168
168
  }
169
- }), Sa = W(o(A.Content), "content"), ka = W(o(A.Trigger), "trigger"), Tt = W(o(A.Indicator), "indicator"), ue = f(
170
- ({ children: t, ...r }, a) => /* @__PURE__ */ c(A.List, { ref: a, ...r, children: [
169
+ }), Wa = Z(o(A.Content), "content"), ja = Z(o(A.Trigger), "trigger"), At = Z(o(A.Indicator), "indicator"), ge = y(
170
+ ({ children: t, ...r }, a) => /* @__PURE__ */ s(A.List, { ref: a, ...r, children: [
171
171
  t,
172
- /* @__PURE__ */ e(Tt, {})
172
+ /* @__PURE__ */ e(At, {})
173
173
  ] })
174
174
  );
175
- ue.displayName = A.List.displayName;
176
- const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r === !0 ? a(t) : t, { withProvider: zt, withContext: _ } = S(Ne), It = zt(o(w.Root), "root", {
175
+ ge.displayName = A.List.displayName;
176
+ const Za = Z(o(ge), "list"), Bt = ({ children: t, when: r, wrapper: a }) => r === !0 ? a(t) : t, { withProvider: Dt, withContext: _ } = S(je), Mt = Dt(o(C.Root), "root", {
177
177
  defaultProps: {
178
178
  loopFocus: !0
179
179
  }
180
- }), Lt = _(o(w.ClearTrigger), "clearTrigger"), Rt = _(o(w.Content), "content"), Ft = _(o(w.Control), "control"), At = _(o(w.Indicator), "indicator"), Bt = _(o(w.Item), "item"), Dt = _(o(w.ItemIndicator), "itemIndicator"), Mt = _(o(w.ItemText), "itemText"), Ht = _(o(w.Positioner), "positioner"), Vt = _(o(w.Trigger), "trigger"), Nt = _(o(w.ValueText), "valueText"), Ta = ({
180
+ }), Nt = _(o(C.ClearTrigger), "clearTrigger"), Ht = _(o(C.Content), "content"), Vt = _(o(C.Control), "control"), Et = _(o(C.Indicator), "indicator"), Wt = _(o(C.Item), "item"), jt = _(o(C.ItemIndicator), "itemIndicator"), Zt = _(o(C.ItemText), "itemText"), $t = _(o(C.Positioner), "positioner"), Gt = _(o(C.Trigger), "trigger"), Ot = _(o(C.ValueText), "valueText"), $a = ({
181
181
  items: t,
182
182
  placeholder: r,
183
183
  emptyLabel: a,
184
184
  usePortal: i = !0,
185
185
  positioning: n,
186
- ...d
187
- }) => /* @__PURE__ */ c(
188
- It,
186
+ ...l
187
+ }) => /* @__PURE__ */ s(
188
+ Mt,
189
189
  {
190
190
  lazyMount: !0,
191
191
  unmountOnExit: !0,
192
192
  items: t,
193
193
  positioning: { sameWidth: !0, gutter: 0, ...n },
194
194
  "data-recipe": "select",
195
- ...d,
195
+ ...l,
196
196
  children: [
197
- /* @__PURE__ */ c(Ft, { children: [
198
- /* @__PURE__ */ c(Vt, { children: [
199
- /* @__PURE__ */ e(Nt, { truncate: !0, placeholder: r }),
200
- /* @__PURE__ */ e(At, { asChild: !0, children: /* @__PURE__ */ e(o.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
197
+ /* @__PURE__ */ s(Vt, { children: [
198
+ /* @__PURE__ */ s(Gt, { children: [
199
+ /* @__PURE__ */ e(Ot, { truncate: !0, placeholder: r }),
200
+ /* @__PURE__ */ e(Et, { asChild: !0, children: /* @__PURE__ */ e(o.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
201
201
  "path",
202
202
  {
203
203
  d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
@@ -205,7 +205,7 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
205
205
  }
206
206
  ) }) })
207
207
  ] }),
208
- /* @__PURE__ */ e(Lt, { asChild: !0, children: /* @__PURE__ */ e("button", { children: /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
208
+ /* @__PURE__ */ e(Nt, { asChild: !0, children: /* @__PURE__ */ e("button", { children: /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
209
209
  "path",
210
210
  {
211
211
  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",
@@ -213,23 +213,23 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
213
213
  }
214
214
  ) }) }) })
215
215
  ] }),
216
- /* @__PURE__ */ e(Pt, { when: i, wrapper: (l) => /* @__PURE__ */ e(X, { children: l }), children: /* @__PURE__ */ e(Ht, { children: /* @__PURE__ */ e(Rt, { children: t.length === 0 ? /* @__PURE__ */ e(kt, { px: "space-8", textAlign: "center", children: a ?? "Aucun résultat" }) : t.map((l) => /* @__PURE__ */ c(Bt, { item: l, children: [
217
- /* @__PURE__ */ e(Mt, { truncate: !0, children: l.label }),
218
- d.multiple ? /* @__PURE__ */ e(Dt, { children: "✓" }) : null
219
- ] }, l.value)) }) }) }),
220
- /* @__PURE__ */ e(w.HiddenSelect, {})
216
+ /* @__PURE__ */ e(Bt, { when: i, wrapper: (c) => /* @__PURE__ */ e(U, { children: c }), children: /* @__PURE__ */ e($t, { children: /* @__PURE__ */ e(Ht, { children: t.length === 0 ? /* @__PURE__ */ e(Lt, { px: "space-8", textAlign: "center", children: a ?? "Aucun résultat" }) : t.map((c) => /* @__PURE__ */ s(Wt, { item: c, children: [
217
+ /* @__PURE__ */ e(Zt, { truncate: !0, children: c.label }),
218
+ l.multiple ? /* @__PURE__ */ e(jt, { children: "✓" }) : null
219
+ ] }, c.value)) }) }) }),
220
+ /* @__PURE__ */ e(C.HiddenSelect, {})
221
221
  ]
222
222
  }
223
- ), Et = o("input", Ee, {
223
+ ), Yt = o("input", Ze, {
224
224
  dataAttr: !0
225
- }), jt = o(g.div, je, {
225
+ }), Xt = o(m.div, $e, {
226
226
  dataAttr: !0
227
- }), Wt = o("div", We, {
227
+ }), Ut = o("div", Ge, {
228
228
  dataAttr: !0
229
- }), Pa = (t) => {
230
- const { as: r = "div", ...a } = t, i = U(() => o(r), [r]);
229
+ }), Ga = (t) => {
230
+ const { as: r = "div", ...a } = t, i = q(() => o(r), [r]);
231
231
  return /* @__PURE__ */ e(i, { ...a });
232
- }, { withProvider: Zt, withContext: h } = S(Ze), $t = Zt(p.Root, "root", {
232
+ }, { withProvider: qt, withContext: h } = S(Oe), Kt = qt(p.Root, "root", {
233
233
  defaultProps: {
234
234
  positioning: {
235
235
  placement: "bottom-start"
@@ -240,61 +240,61 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
240
240
  lazyMount: !0,
241
241
  startOfWeek: 6
242
242
  }
243
- }), Gt = h(p.Content, "content"), Ot = h(p.Control, "control"), Yt = h(p.Input, "input"), Xt = h(p.MonthSelect, "monthSelect"), Ut = h(p.NextTrigger, "nextTrigger"), qt = h(p.Positioner, "positioner"), Kt = h(p.PrevTrigger, "prevTrigger"), Qt = h(p.TableBody, "tableBody"), Jt = h(p.TableCell, "tableCell"), er = h(p.TableCellTrigger, "tableCellTrigger"), tr = h(p.TableHead, "tableHead"), rr = h(p.TableHeader, "tableHeader"), or = h(p.Table, "table"), ie = h(p.TableRow, "tableRow"), ar = h(p.Trigger, "trigger"), ir = h(p.ViewControl, "viewControl"), nr = h(p.View, "view"), lr = h(p.YearSelect, "yearSelect"), sr = h(o(p.ClearTrigger), "clearTrigger"), cr = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
243
+ }), Qt = h(p.Content, "content"), Jt = h(p.Control, "control"), er = h(p.Input, "input"), tr = h(p.MonthSelect, "monthSelect"), rr = h(p.NextTrigger, "nextTrigger"), or = h(p.Positioner, "positioner"), ar = h(p.PrevTrigger, "prevTrigger"), ir = h(p.TableBody, "tableBody"), nr = h(p.TableCell, "tableCell"), lr = h(p.TableCellTrigger, "tableCellTrigger"), sr = h(p.TableHead, "tableHead"), cr = h(p.TableHeader, "tableHeader"), dr = h(p.Table, "table"), ne = h(p.TableRow, "tableRow"), pr = h(p.Trigger, "trigger"), ur = h(p.ViewControl, "viewControl"), hr = h(p.View, "view"), mr = h(p.YearSelect, "yearSelect"), gr = h(o(p.ClearTrigger), "clearTrigger"), br = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
244
244
  "path",
245
245
  {
246
246
  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",
247
247
  fill: "#1E3A76"
248
248
  }
249
- ) }), dr = () => /* @__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" }) }), 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: "M6.46979 4L5.52979 4.94L8.58312 8L5.52979 11.06L6.46979 12L10.4698 8L6.46979 4Z", fill: "currentColor" }) }), za = ({ placeholder: t, preflightClassName: r, ...a }) => /* @__PURE__ */ c($t, { ...a, children: [
250
- /* @__PURE__ */ e(Ot, { asChild: !0, children: /* @__PURE__ */ c(Wt, { children: [
251
- /* @__PURE__ */ e(Yt, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(Et, {}) }),
252
- /* @__PURE__ */ c(jt, { children: [
253
- /* @__PURE__ */ e(sr, { 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(
249
+ ) }), yr = () => /* @__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" }) }), xr = () => /* @__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" }) }), Oa = ({ placeholder: t, preflightClassName: r, ...a }) => /* @__PURE__ */ s(Kt, { ...a, children: [
250
+ /* @__PURE__ */ e(Jt, { asChild: !0, children: /* @__PURE__ */ s(Ut, { children: [
251
+ /* @__PURE__ */ e(er, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(Yt, {}) }),
252
+ /* @__PURE__ */ s(Xt, { children: [
253
+ /* @__PURE__ */ e(gr, { 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(
254
254
  "path",
255
255
  {
256
256
  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",
257
257
  fill: "currentColor"
258
258
  }
259
259
  ) }) }) }),
260
- /* @__PURE__ */ e(ar, { children: /* @__PURE__ */ e(cr, {}) })
260
+ /* @__PURE__ */ e(pr, { children: /* @__PURE__ */ e(br, {}) })
261
261
  ] })
262
262
  ] }) }),
263
- /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(qt, { className: r, children: /* @__PURE__ */ e(Gt, { children: /* @__PURE__ */ e(nr, { view: "day", children: /* @__PURE__ */ e(p.Context, { children: (i) => /* @__PURE__ */ c(ve, { children: [
264
- /* @__PURE__ */ c(ir, { children: [
265
- /* @__PURE__ */ e(Kt, { asChild: !0, children: /* @__PURE__ */ e(Y, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(dr, {}) }) }),
266
- /* @__PURE__ */ e(Xt, {}),
267
- /* @__PURE__ */ e(lr, {}),
268
- /* @__PURE__ */ e(Ut, { asChild: !0, children: /* @__PURE__ */ e(Y, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(pr, {}) }) })
263
+ /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(or, { className: r, children: /* @__PURE__ */ e(Qt, { children: /* @__PURE__ */ e(hr, { view: "day", children: /* @__PURE__ */ e(p.Context, { children: (i) => /* @__PURE__ */ s(Ce, { children: [
264
+ /* @__PURE__ */ s(ur, { children: [
265
+ /* @__PURE__ */ e(ar, { asChild: !0, children: /* @__PURE__ */ e(X, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(yr, {}) }) }),
266
+ /* @__PURE__ */ e(tr, {}),
267
+ /* @__PURE__ */ e(mr, {}),
268
+ /* @__PURE__ */ e(rr, { asChild: !0, children: /* @__PURE__ */ e(X, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(xr, {}) }) })
269
269
  ] }),
270
- /* @__PURE__ */ c(or, { children: [
271
- /* @__PURE__ */ e(tr, { children: /* @__PURE__ */ e(ie, { children: i.weekDays.map((n, d) => /* @__PURE__ */ e(rr, { children: n.short }, d)) }) }),
272
- /* @__PURE__ */ e(Qt, { children: i.weeks.map((n, d) => /* @__PURE__ */ e(ie, { children: n.map((l, s) => /* @__PURE__ */ e(Jt, { value: l, children: /* @__PURE__ */ e(er, { asChild: !0, children: /* @__PURE__ */ e("button", { children: l.day }) }) }, s)) }, d)) })
270
+ /* @__PURE__ */ s(dr, { children: [
271
+ /* @__PURE__ */ e(sr, { children: /* @__PURE__ */ e(ne, { children: i.weekDays.map((n, l) => /* @__PURE__ */ e(cr, { children: n.short }, l)) }) }),
272
+ /* @__PURE__ */ e(ir, { children: i.weeks.map((n, l) => /* @__PURE__ */ e(ne, { children: n.map((c, d) => /* @__PURE__ */ e(nr, { value: c, children: /* @__PURE__ */ e(lr, { asChild: !0, children: /* @__PURE__ */ e("button", { children: c.day }) }) }, d)) }, l)) })
273
273
  ] })
274
274
  ] }) }) }) }) }) })
275
- ] }), Ia = f((t, r) => {
276
- const [a, i] = oe.splitVariantProps(t), [n, d] = B(i), { children: l, className: s, ...y } = d, u = oe(a);
277
- return /* @__PURE__ */ c(g.div, { ref: r, className: L(u.root, V(n), s), ...y, children: [
278
- l,
279
- /* @__PURE__ */ e(ze, { className: L(u.badge) })
275
+ ] }), Ya = y((t, r) => {
276
+ const [a, i] = ae.splitVariantProps(t), [n, l] = B(i), { children: c, className: d, ...f } = l, u = ae(a);
277
+ return /* @__PURE__ */ s(m.div, { ref: r, className: I(u.root, H(n), d), ...f, children: [
278
+ c,
279
+ /* @__PURE__ */ e(Le, { className: I(u.badge) })
280
280
  ] });
281
- }), { withProvider: ur, withContext: Z } = S($e), hr = Z(o(v.ItemControl), "itemControl"), gr = Z(o(v.ItemText), "itemText"), mr = f(({ children: t, value: r, ...a }, i) => /* @__PURE__ */ c(v.Item, { ref: i, ...a, value: r, children: [
282
- /* @__PURE__ */ e(gr, { children: t }),
283
- /* @__PURE__ */ e(hr, {}),
284
- /* @__PURE__ */ e(v.ItemHiddenInput, {})
285
- ] })), La = ur(o(v.Root), "root", {
281
+ }), { withProvider: vr, withContext: $ } = S(Ye), fr = $(o(w.ItemControl), "itemControl"), wr = $(o(w.ItemText), "itemText"), Cr = y(({ children: t, value: r, ...a }, i) => /* @__PURE__ */ s(w.Item, { ref: i, ...a, value: r, children: [
282
+ /* @__PURE__ */ e(wr, { children: t }),
283
+ /* @__PURE__ */ e(fr, {}),
284
+ /* @__PURE__ */ e(w.ItemHiddenInput, {})
285
+ ] })), Xa = vr(o(w.Root), "root", {
286
286
  defaultProps: {
287
287
  orientation: "horizontal"
288
288
  }
289
- }), Ra = Z(o(mr), "item"), Fa = Z(o(v.Label), "label"), { withProvider: br, withContext: $ } = S(Ge), xr = $(o(v.ItemControl), "itemControl"), yr = $(o(v.ItemText), "itemText"), vr = f(({ children: t, value: r, ...a }, i) => /* @__PURE__ */ c(v.Item, { ref: i, ...a, value: r, children: [
290
- /* @__PURE__ */ e(xr, {}),
291
- /* @__PURE__ */ e(yr, { children: t }),
292
- /* @__PURE__ */ e(v.ItemHiddenInput, {})
293
- ] })), Aa = br(o(v.Root), "root", {
289
+ }), Ua = $(o(Cr), "item"), qa = $(o(w.Label), "label"), { withProvider: Sr, withContext: G } = S(Xe), Tr = G(o(w.ItemControl), "itemControl"), _r = G(o(w.ItemText), "itemText"), kr = y(({ children: t, value: r, ...a }, i) => /* @__PURE__ */ s(w.Item, { ref: i, ...a, value: r, children: [
290
+ /* @__PURE__ */ e(Tr, {}),
291
+ /* @__PURE__ */ e(_r, { children: t }),
292
+ /* @__PURE__ */ e(w.ItemHiddenInput, {})
293
+ ] })), Ka = Sr(o(w.Root), "root", {
294
294
  defaultProps: {
295
295
  orientation: "horizontal"
296
296
  }
297
- }), Ba = $(o(vr), "item"), Da = $(o(v.Label), "label"), { withProvider: fr, withContext: q } = S(Oe), Ma = fr(o(g.span), "root"), Ha = q(o("img"), "avatar"), Va = q(o(g.p), "body"), Na = q(o(g.button), "clearTrigger", {
297
+ }), Qa = G(o(kr), "item"), Ja = G(o(w.Label), "label"), { withProvider: Pr, withContext: K } = S(Ue), ei = Pr(o(m.span), "root"), ti = K(o("img"), "avatar"), ri = K(o(m.p), "body"), oi = K(o(m.button), "clearTrigger", {
298
298
  defaultProps: {
299
299
  type: "button",
300
300
  children: /* @__PURE__ */ e("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
@@ -305,14 +305,14 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
305
305
  }
306
306
  ) })
307
307
  }
308
- }), { withProvider: wr, withContext: K } = S(Ye, {
308
+ }), { withProvider: Rr, withContext: Q } = S(qe, {
309
309
  dataAttr: !0
310
- }), Cr = K(o(g.svg), "icon"), Ea = wr(o(g.button), "root", {
310
+ }), zr = Q(o(m.svg), "icon"), ai = Rr(o(m.button), "root", {
311
311
  defaultProps: {
312
312
  role: "group"
313
313
  },
314
- afterSlot: /* @__PURE__ */ e(Cr, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M9.70501 6L8.29501 7.41L12.875 12L8.29501 16.59L9.70501 18L15.705 12L9.70501 6Z", fill: "currentColor" }) })
315
- }), ja = K(o(g.h3), "title"), Wa = K(o(g.p), "description"), Sr = o("button", Xe), { withProvider: kr, withContext: Q } = S(Ue), _r = kr(o(g.div), "root"), Tr = Q(o(g.svg), "icon"), Pr = Q(o(g.h3), "title"), zr = Q(o(g.p), "description"), Ir = (t) => {
314
+ afterSlot: /* @__PURE__ */ e(zr, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M9.70501 6L8.29501 7.41L12.875 12L8.29501 16.59L9.70501 18L15.705 12L9.70501 6Z", fill: "currentColor" }) })
315
+ }), ii = Q(o(m.h3), "title"), ni = Q(o(m.p), "description"), Ir = o("button", Ke), { withProvider: Lr, withContext: J } = S(Qe), Fr = Lr(o(m.div), "root"), Ar = J(o(m.svg), "icon"), Br = J(o(m.h3), "title"), Dr = J(o(m.p), "description"), Mr = (t) => {
316
316
  switch (t) {
317
317
  default:
318
318
  case "neutral":
@@ -356,12 +356,12 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
356
356
  }
357
357
  ) });
358
358
  }
359
- }, Za = f(
360
- ({ title: t, description: r, showDismissTrigger: a, onDismiss: i, severity: n, showIcon: d = !0, ...l }, s) => /* @__PURE__ */ c(_r, { ref: s, severity: n, ...l, children: [
361
- /* @__PURE__ */ c(Pr, { children: [
362
- d ? /* @__PURE__ */ e(Tr, { asChild: !0, children: Ir(n) }) : null,
359
+ }, li = y(
360
+ ({ title: t, description: r, showDismissTrigger: a, onDismiss: i, severity: n, showIcon: l = !0, ...c }, d) => /* @__PURE__ */ s(Fr, { ref: d, severity: n, ...c, children: [
361
+ /* @__PURE__ */ s(Br, { children: [
362
+ l ? /* @__PURE__ */ e(Ar, { asChild: !0, children: Mr(n) }) : null,
363
363
  t,
364
- a ? /* @__PURE__ */ e(Sr, { ml: "auto", onClick: i, size: "sm", variant: "tertiary", "aria-label": "dismiss", 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(
364
+ a ? /* @__PURE__ */ e(Ir, { ml: "auto", onClick: i, size: "sm", variant: "tertiary", "aria-label": "dismiss", 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(
365
365
  "path",
366
366
  {
367
367
  d: "M12.6666 4.27334L11.7266 3.33334L7.99998 7.06L4.27331 3.33334L3.33331 4.27334L7.05998 8L3.33331 11.7267L4.27331 12.6667L7.99998 8.94L11.7266 12.6667L12.6666 11.7267L8.93998 8L12.6666 4.27334Z",
@@ -369,9 +369,39 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
369
369
  }
370
370
  ) }) }) : null
371
371
  ] }),
372
- r ? /* @__PURE__ */ e(zr, { children: r }) : null
372
+ r ? /* @__PURE__ */ e(Dr, { children: r }) : null
373
373
  ] })
374
- ), ne = Je({
374
+ ), { withProvider: Nr, withContext: E } = S(rt), si = o("div", Je), ci = Nr(o("table"), "root"), di = E(o("thead"), "thead"), pi = E(o("tbody"), "tbody"), ui = E(o("tr"), "tr"), Hr = E(o("th"), "th"), Vr = y(({ children: t, addon: r, ...a }, i) => /* @__PURE__ */ s(Hr, { ref: i, ...a, children: [
375
+ t,
376
+ r ? /* @__PURE__ */ s("span", { className: "th__addon", children: [
377
+ " ",
378
+ r
379
+ ] }) : null
380
+ ] }));
381
+ Vr.displayName = "Th";
382
+ const hi = E(o("td"), "td"), Er = o("td", et), Wr = y((t, r) => {
383
+ const a = pe(null);
384
+ return ue(() => {
385
+ var i, n;
386
+ if (a.current) {
387
+ const l = (n = (i = a.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
388
+ l && a.current.setAttribute("colspan", l.children.length.toString());
389
+ }
390
+ }, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__group__title", children: /* @__PURE__ */ e(Er, { ref: a, ...t }) });
391
+ });
392
+ Wr.displayName = "TableGroupTitle";
393
+ const jr = o("td", tt), Zr = y((t, r) => {
394
+ const a = pe(null);
395
+ return ue(() => {
396
+ var i, n;
397
+ if (a.current) {
398
+ const l = (n = (i = a.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
399
+ l && a.current.setAttribute("colspan", l.children.length.toString());
400
+ }
401
+ }, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__empty", children: /* @__PURE__ */ e(jr, { ref: a, ...t }) });
402
+ });
403
+ Zr.displayName = "TableEmptyRow";
404
+ const le = nt({
375
405
  slots: ["root", "price", "unit"],
376
406
  base: {
377
407
  root: {
@@ -435,23 +465,23 @@ const _a = W(o(ue), "list"), Pt = ({ children: t, when: r, wrapper: a }) => r ==
435
465
  defaultVariants: {
436
466
  size: "md"
437
467
  }
438
- }), Lr = f((t, r) => {
439
- const [a, i] = ne.splitVariantProps(t), [n, d] = B(i), { className: l, unit: s, price: y, ...u } = d, C = ne(a), z = !!s;
440
- return /* @__PURE__ */ c("span", { ref: r, className: L(C.root, V(n), l), ...u, children: [
441
- /* @__PURE__ */ e("span", { className: C.price, children: y }),
442
- z ? /* @__PURE__ */ c("span", { className: C.unit, children: [
468
+ }), $r = y((t, r) => {
469
+ const [a, i] = le.splitVariantProps(t), [n, l] = B(i), { className: c, unit: d, price: f, ...u } = l, T = le(a), R = !!d;
470
+ return /* @__PURE__ */ s("span", { ref: r, className: I(T.root, H(n), c), ...u, children: [
471
+ /* @__PURE__ */ e("span", { className: T.price, children: f }),
472
+ R ? /* @__PURE__ */ s("span", { className: T.unit, children: [
443
473
  "/ ",
444
- s
474
+ d
445
475
  ] }) : null
446
476
  ] });
447
477
  });
448
- Lr.displayName = "PriceTag";
449
- const Rr = {
478
+ $r.displayName = "PriceTag";
479
+ const Gr = {
450
480
  xl: "1536px",
451
481
  lg: "1200px",
452
482
  md: "900px",
453
483
  sm: "600px"
454
- }, Fr = {
484
+ }, Or = {
455
485
  extend: {
456
486
  checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
457
487
  closed: "&:where([data-state=closed])",
@@ -469,7 +499,7 @@ const Rr = {
469
499
  today: "&:where([data-today])",
470
500
  underValue: '&:where([data-state="under-value"])'
471
501
  }
472
- }, Ar = {
502
+ }, Yr = {
473
503
  "2xl": "672px",
474
504
  "3xl": "768px",
475
505
  "4xl": "896px",
@@ -482,7 +512,7 @@ const Rr = {
482
512
  sm: "384px",
483
513
  xl: "576px",
484
514
  xs: "320px"
485
- }, Br = et({
515
+ }, Xr = lt({
486
516
  blob: {
487
517
  "0%": {
488
518
  rotate: "0deg"
@@ -600,7 +630,7 @@ const Rr = {
600
630
  transform: "rotate(360deg)"
601
631
  }
602
632
  }
603
- }), he = k({
633
+ }), be = v({
604
634
  base: {
605
635
  _focusVisible: {
606
636
  ring: "2px solid {colors.primary.200}",
@@ -791,7 +821,7 @@ const Rr = {
791
821
  }
792
822
  }
793
823
  ]
794
- }), Dr = k({
824
+ }), Ur = v({
795
825
  className: "heading",
796
826
  defaultVariants: {
797
827
  size: "h2"
@@ -821,7 +851,7 @@ const Rr = {
821
851
  h6: { textStyle: "heading.h6" }
822
852
  }
823
853
  }
824
- }), Mr = b({
854
+ }), qr = b({
825
855
  base: {
826
856
  control: {
827
857
  _focus: {
@@ -881,7 +911,7 @@ const Rr = {
881
911
  size: "md"
882
912
  },
883
913
  jsx: ["Switch", "SwitchField"],
884
- slots: fe.keys(),
914
+ slots: Se.keys(),
885
915
  variants: {
886
916
  size: {
887
917
  md: {
@@ -903,7 +933,7 @@ const Rr = {
903
933
  }
904
934
  }
905
935
  }
906
- }), Hr = k({
936
+ }), Kr = v({
907
937
  className: "text",
908
938
  defaultVariants: {
909
939
  size: "md"
@@ -936,7 +966,7 @@ const Rr = {
936
966
  sm: { textStyle: "body.sm" }
937
967
  }
938
968
  }
939
- }), ge = k({
969
+ }), ye = v({
940
970
  base: {
941
971
  '&[type="time"]::-webkit-calendar-picker-indicator': {
942
972
  display: "none"
@@ -990,15 +1020,15 @@ const Rr = {
990
1020
  }
991
1021
  }
992
1022
  }
993
- }), Vr = k({
1023
+ }), Qr = v({
994
1024
  className: "textarea",
995
1025
  jsx: ["Textarea"],
996
1026
  base: {
997
1027
  px: "space-16",
998
1028
  py: "space-8",
999
- ...ge.base
1029
+ ...ye.base
1000
1030
  }
1001
- }), Nr = k({
1031
+ }), Jr = v({
1002
1032
  base: {
1003
1033
  _invalid: {
1004
1034
  '& [data-recipe="formHelperText"]': {
@@ -1028,7 +1058,7 @@ const Rr = {
1028
1058
  className: "form-control",
1029
1059
  description: "The styles for the FormControl component",
1030
1060
  jsx: ["FormControl"]
1031
- }), Er = k({
1061
+ }), eo = v({
1032
1062
  base: {
1033
1063
  color: "grey.400",
1034
1064
  fontFamily: "satoshi",
@@ -1037,9 +1067,9 @@ const Rr = {
1037
1067
  className: "form-helper-text",
1038
1068
  description: "The styles for the FormHelperText component",
1039
1069
  jsx: ["FormHelperText"]
1040
- }), jr = we.extendWith("header", "body", "footer"), Wr = b({
1070
+ }), to = Te.extendWith("header", "body", "footer"), ro = b({
1041
1071
  className: "drawer",
1042
- slots: jr.keys(),
1072
+ slots: to.keys(),
1043
1073
  jsx: ["Drawer"],
1044
1074
  base: {
1045
1075
  backdrop: {
@@ -1157,10 +1187,10 @@ const Rr = {
1157
1187
  }
1158
1188
  }
1159
1189
  }
1160
- }), Zr = b({
1190
+ }), oo = b({
1161
1191
  className: "accordion",
1162
1192
  jsx: ["Accordion"],
1163
- slots: Ce.keys(),
1193
+ slots: _e.keys(),
1164
1194
  base: {
1165
1195
  root: {
1166
1196
  display: "flex",
@@ -1261,7 +1291,7 @@ const Rr = {
1261
1291
  }
1262
1292
  }
1263
1293
  }
1264
- }), $r = b({
1294
+ }), ao = b({
1265
1295
  base: {
1266
1296
  root: {
1267
1297
  color: "grey.400",
@@ -1300,9 +1330,9 @@ const Rr = {
1300
1330
  className: "form-label",
1301
1331
  description: "The styles for the FormLabel component",
1302
1332
  jsx: ["FormLabel"]
1303
- }), Gr = b({
1333
+ }), io = b({
1304
1334
  className: "checkbox",
1305
- slots: Se.keys(),
1335
+ slots: ke.keys(),
1306
1336
  jsx: ["Checkbox"],
1307
1337
  base: {
1308
1338
  root: {
@@ -1418,9 +1448,9 @@ const Rr = {
1418
1448
  }
1419
1449
  }
1420
1450
  }
1421
- }), Or = b({
1451
+ }), no = b({
1422
1452
  className: "tabs",
1423
- slots: ke.keys(),
1453
+ slots: Pe.keys(),
1424
1454
  base: {
1425
1455
  root: {
1426
1456
  isolation: "isolate",
@@ -1524,7 +1554,7 @@ const Rr = {
1524
1554
  }
1525
1555
  }
1526
1556
  }
1527
- }), Yr = b({
1557
+ }), lo = b({
1528
1558
  base: {
1529
1559
  control: {
1530
1560
  fontFamily: "satoshi",
@@ -1661,7 +1691,7 @@ const Rr = {
1661
1691
  size: "md"
1662
1692
  },
1663
1693
  jsx: ["Select"],
1664
- slots: _e.keys(),
1694
+ slots: Re.keys(),
1665
1695
  variants: {
1666
1696
  size: {
1667
1697
  md: {
@@ -1677,7 +1707,7 @@ const Rr = {
1677
1707
  }
1678
1708
  }
1679
1709
  }
1680
- }), Xr = k({
1710
+ }), so = v({
1681
1711
  base: {
1682
1712
  alignItems: "center",
1683
1713
  borderRadius: "inherit",
@@ -1690,7 +1720,7 @@ const Rr = {
1690
1720
  className: "input-addon",
1691
1721
  description: "The styles for the InputAddon component",
1692
1722
  jsx: ["InputAddon"]
1693
- }), Ur = k({
1723
+ }), co = v({
1694
1724
  base: {
1695
1725
  '& [data-recipe="input"]': {
1696
1726
  border: {
@@ -1733,9 +1763,9 @@ const Rr = {
1733
1763
  className: "input-group",
1734
1764
  description: "The styles for the InputGroup component",
1735
1765
  jsx: ["InputGroup"]
1736
- }), le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", qr = b({
1766
+ }), se = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", po = b({
1737
1767
  className: "datepicker",
1738
- slots: Te.keys(),
1768
+ slots: ze.keys(),
1739
1769
  jsx: ["DatePicker"],
1740
1770
  base: {
1741
1771
  root: {
@@ -1778,7 +1808,7 @@ const Rr = {
1778
1808
  px: "space-4",
1779
1809
  appearance: "none",
1780
1810
  paddingRight: "30px",
1781
- background: `url('${le}') no-repeat right 10px center`,
1811
+ background: `url('${se}') no-repeat right 10px center`,
1782
1812
  _focus: {
1783
1813
  border: "1px solid {colors.primary.500}"
1784
1814
  }
@@ -1794,7 +1824,7 @@ const Rr = {
1794
1824
  px: "space-4",
1795
1825
  appearance: "none",
1796
1826
  paddingRight: "30px",
1797
- background: `url('${le}') no-repeat right 10px center`,
1827
+ background: `url('${se}') no-repeat right 10px center`,
1798
1828
  _focus: {
1799
1829
  border: "1px solid {colors.primary.500}"
1800
1830
  }
@@ -1893,7 +1923,7 @@ const Rr = {
1893
1923
  textAlign: "center"
1894
1924
  }
1895
1925
  }
1896
- }), Kr = b({
1926
+ }), uo = b({
1897
1927
  base: {
1898
1928
  root: {
1899
1929
  fontFamily: "satoshi",
@@ -1998,10 +2028,10 @@ const Rr = {
1998
2028
  }
1999
2029
  }
2000
2030
  }
2001
- }), Qr = b({
2031
+ }), ho = b({
2002
2032
  className: "radio-button-group",
2003
2033
  jsx: ["RadioButtonGroup"],
2004
- slots: ce.keys(),
2034
+ slots: de.keys(),
2005
2035
  base: {
2006
2036
  root: {
2007
2037
  display: "inline-flex",
@@ -2065,7 +2095,7 @@ const Rr = {
2065
2095
  }
2066
2096
  }
2067
2097
  }
2068
- }), Jr = b({
2098
+ }), mo = b({
2069
2099
  base: {
2070
2100
  item: {
2071
2101
  _disabled: {
@@ -2147,7 +2177,7 @@ const Rr = {
2147
2177
  defaultVariants: {
2148
2178
  size: "md"
2149
2179
  },
2150
- slots: ce.keys(),
2180
+ slots: de.keys(),
2151
2181
  variants: {
2152
2182
  size: {
2153
2183
  md: {
@@ -2174,7 +2204,7 @@ const Rr = {
2174
2204
  }
2175
2205
  }
2176
2206
  }
2177
- }), eo = b({
2207
+ }), go = b({
2178
2208
  base: {
2179
2209
  root: {
2180
2210
  borderRadius: "full",
@@ -2297,7 +2327,7 @@ const Rr = {
2297
2327
  }
2298
2328
  }
2299
2329
  }
2300
- }), to = b({
2330
+ }), bo = b({
2301
2331
  base: {
2302
2332
  root: {
2303
2333
  position: "relative",
@@ -2378,82 +2408,82 @@ const Rr = {
2378
2408
  description: "The styles for the ActionCard component",
2379
2409
  jsx: ["ActionCard", "ActionCardTitle", "ActionCardDescription"]
2380
2410
  });
2381
- function ro(t) {
2411
+ function yo(t) {
2382
2412
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2383
2413
  }
2384
- var oo = function(r) {
2385
- return ao(r) && !io(r);
2414
+ var xo = function(r) {
2415
+ return vo(r) && !fo(r);
2386
2416
  };
2387
- function ao(t) {
2417
+ function vo(t) {
2388
2418
  return !!t && typeof t == "object";
2389
2419
  }
2390
- function io(t) {
2420
+ function fo(t) {
2391
2421
  var r = Object.prototype.toString.call(t);
2392
- return r === "[object RegExp]" || r === "[object Date]" || so(t);
2422
+ return r === "[object RegExp]" || r === "[object Date]" || So(t);
2393
2423
  }
2394
- var no = typeof Symbol == "function" && Symbol.for, lo = no ? Symbol.for("react.element") : 60103;
2395
- function so(t) {
2396
- return t.$$typeof === lo;
2424
+ var wo = typeof Symbol == "function" && Symbol.for, Co = wo ? Symbol.for("react.element") : 60103;
2425
+ function So(t) {
2426
+ return t.$$typeof === Co;
2397
2427
  }
2398
- function co(t) {
2428
+ function To(t) {
2399
2429
  return Array.isArray(t) ? [] : {};
2400
2430
  }
2401
2431
  function M(t, r) {
2402
- return r.clone !== !1 && r.isMergeableObject(t) ? R(co(t), t, r) : t;
2432
+ return r.clone !== !1 && r.isMergeableObject(t) ? L(To(t), t, r) : t;
2403
2433
  }
2404
- function po(t, r, a) {
2434
+ function _o(t, r, a) {
2405
2435
  return t.concat(r).map(function(i) {
2406
2436
  return M(i, a);
2407
2437
  });
2408
2438
  }
2409
- function uo(t, r) {
2439
+ function ko(t, r) {
2410
2440
  if (!r.customMerge)
2411
- return R;
2441
+ return L;
2412
2442
  var a = r.customMerge(t);
2413
- return typeof a == "function" ? a : R;
2443
+ return typeof a == "function" ? a : L;
2414
2444
  }
2415
- function ho(t) {
2445
+ function Po(t) {
2416
2446
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
2417
2447
  return Object.propertyIsEnumerable.call(t, r);
2418
2448
  }) : [];
2419
2449
  }
2420
- function se(t) {
2421
- return Object.keys(t).concat(ho(t));
2450
+ function ce(t) {
2451
+ return Object.keys(t).concat(Po(t));
2422
2452
  }
2423
- function me(t, r) {
2453
+ function xe(t, r) {
2424
2454
  try {
2425
2455
  return r in t;
2426
2456
  } catch {
2427
2457
  return !1;
2428
2458
  }
2429
2459
  }
2430
- function go(t, r) {
2431
- return me(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
2460
+ function Ro(t, r) {
2461
+ return xe(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
2432
2462
  }
2433
- function mo(t, r, a) {
2463
+ function zo(t, r, a) {
2434
2464
  var i = {};
2435
- return a.isMergeableObject(t) && se(t).forEach(function(n) {
2465
+ return a.isMergeableObject(t) && ce(t).forEach(function(n) {
2436
2466
  i[n] = M(t[n], a);
2437
- }), se(r).forEach(function(n) {
2438
- go(t, n) || (me(t, n) && a.isMergeableObject(r[n]) ? i[n] = uo(n, a)(t[n], r[n], a) : i[n] = M(r[n], a));
2467
+ }), ce(r).forEach(function(n) {
2468
+ Ro(t, n) || (xe(t, n) && a.isMergeableObject(r[n]) ? i[n] = ko(n, a)(t[n], r[n], a) : i[n] = M(r[n], a));
2439
2469
  }), i;
2440
2470
  }
2441
- function R(t, r, a) {
2442
- a = a || {}, a.arrayMerge = a.arrayMerge || po, a.isMergeableObject = a.isMergeableObject || oo, a.cloneUnlessOtherwiseSpecified = M;
2443
- var i = Array.isArray(r), n = Array.isArray(t), d = i === n;
2444
- return d ? i ? a.arrayMerge(t, r, a) : mo(t, r, a) : M(r, a);
2471
+ function L(t, r, a) {
2472
+ a = a || {}, a.arrayMerge = a.arrayMerge || _o, a.isMergeableObject = a.isMergeableObject || xo, a.cloneUnlessOtherwiseSpecified = M;
2473
+ var i = Array.isArray(r), n = Array.isArray(t), l = i === n;
2474
+ return l ? i ? a.arrayMerge(t, r, a) : zo(t, r, a) : M(r, a);
2445
2475
  }
2446
- R.all = function(r, a) {
2476
+ L.all = function(r, a) {
2447
2477
  if (!Array.isArray(r))
2448
2478
  throw new Error("first argument should be an array");
2449
2479
  return r.reduce(function(i, n) {
2450
- return R(i, n, a);
2480
+ return L(i, n, a);
2451
2481
  }, {});
2452
2482
  };
2453
- var bo = R, xo = bo;
2454
- const yo = /* @__PURE__ */ ro(xo), vo = yo(
2455
- he,
2456
- k({
2483
+ var Io = L, Lo = Io;
2484
+ const Fo = /* @__PURE__ */ yo(Lo), Ao = Fo(
2485
+ be,
2486
+ v({
2457
2487
  className: "icon-button",
2458
2488
  defaultVariants: {
2459
2489
  size: "md",
@@ -2510,7 +2540,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2510
2540
  }
2511
2541
  }
2512
2542
  })
2513
- ), fo = b({
2543
+ ), Bo = b({
2514
2544
  base: {
2515
2545
  content: {
2516
2546
  _closed: {
@@ -2539,8 +2569,8 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2539
2569
  },
2540
2570
  className: "tooltip",
2541
2571
  jsx: ["Tooltip"],
2542
- slots: Pe.keys()
2543
- }), wo = b({
2572
+ slots: Ie.keys()
2573
+ }), Do = b({
2544
2574
  base: {
2545
2575
  root: {
2546
2576
  borderRadius: "radius-8",
@@ -2601,34 +2631,151 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2601
2631
  }
2602
2632
  }
2603
2633
  }
2604
- }), Co = {
2605
- button: he,
2606
- iconButton: vo,
2607
- heading: Dr,
2608
- switchRecipe: Mr,
2609
- text: Hr,
2610
- textarea: Vr,
2611
- formControl: Nr,
2612
- formHelperText: Er,
2613
- input: ge,
2614
- inputAddon: Xr,
2615
- inputGroup: Ur
2616
- }, So = {
2617
- drawer: Wr,
2618
- radioButtonGroup: Qr,
2619
- radioGroup: Jr,
2620
- accordion: Zr,
2621
- formLabel: $r,
2622
- checkbox: Gr,
2623
- datepicker: qr,
2624
- tabs: Or,
2625
- tag: Kr,
2626
- select: Yr,
2627
- chip: eo,
2628
- actionCard: to,
2629
- tooltip: fo,
2630
- alert: wo
2631
- }, ko = tt.colors({
2634
+ }), Mo = b({
2635
+ className: "table",
2636
+ jsx: ["Table", "Thead", "Tbody", "Tr", "Th", "Td"],
2637
+ slots: ["root", "thead", "tbody", "tr", "th", "td"],
2638
+ base: {
2639
+ root: {
2640
+ fontFamily: "satoshi",
2641
+ tableLayout: "fixed",
2642
+ borderCollapse: "collapse",
2643
+ width: "100%",
2644
+ borderSpacing: 0,
2645
+ borderRadius: "radius-8",
2646
+ boxShadow: "0 0 0 1px {colors.primary.100}"
2647
+ },
2648
+ thead: {
2649
+ textStyle: "body.sm",
2650
+ fontWeight: "bold",
2651
+ color: "grey.300",
2652
+ textAlign: "left",
2653
+ "& th": {
2654
+ "&:first-of-type": {
2655
+ pl: "space-16"
2656
+ },
2657
+ "&:last-of-type": {
2658
+ pr: "space-16"
2659
+ },
2660
+ pr: "space-16",
2661
+ py: "space-16"
2662
+ }
2663
+ },
2664
+ tbody: {
2665
+ textStyle: "body.sm",
2666
+ fontWeight: "normal",
2667
+ color: "primary.900",
2668
+ "& > tr.table__tr:first-child": {
2669
+ borderTop: "1px solid",
2670
+ borderColor: "primary.100"
2671
+ },
2672
+ "& tr.table__tr": {
2673
+ "& td": {
2674
+ "&:first-of-type": {
2675
+ pl: "space-16"
2676
+ },
2677
+ "&:last-of-type": {
2678
+ pr: "space-16"
2679
+ },
2680
+ pr: "space-16",
2681
+ py: "space-18"
2682
+ },
2683
+ "&:last-of-type": {
2684
+ borderBottom: "none"
2685
+ },
2686
+ borderBottom: "1px solid",
2687
+ borderColor: "primary.100"
2688
+ }
2689
+ },
2690
+ th: {
2691
+ "& .th__addon": {
2692
+ fontWeight: "normal"
2693
+ }
2694
+ }
2695
+ }
2696
+ }), No = v({
2697
+ className: "table-group-title",
2698
+ jsx: ["TableGroupTitle"],
2699
+ base: {
2700
+ fontFamily: "satoshi",
2701
+ textStyle: "body.sm",
2702
+ fontWeight: "bold",
2703
+ py: "space-8",
2704
+ px: "space-16",
2705
+ bg: "colorPalette.100",
2706
+ color: "colorPalette.500"
2707
+ },
2708
+ variants: {
2709
+ variant: {
2710
+ primary: {
2711
+ colorPalette: "primary"
2712
+ },
2713
+ secondary: {
2714
+ colorPalette: "secondary"
2715
+ }
2716
+ }
2717
+ },
2718
+ defaultVariants: {
2719
+ variant: "primary"
2720
+ }
2721
+ }), Ho = v({
2722
+ className: "table-empty-row",
2723
+ jsx: ["TableEmptyRow"],
2724
+ base: {
2725
+ fontFamily: "satoshi",
2726
+ textAlign: "center",
2727
+ textStyle: "body.sm",
2728
+ fontWeight: "normal",
2729
+ py: "space-24",
2730
+ px: "space-16",
2731
+ color: "grey.400"
2732
+ }
2733
+ }), Vo = v({
2734
+ className: "table-container",
2735
+ jsx: ["TableContainer"],
2736
+ base: {
2737
+ whiteSpace: "nowrap",
2738
+ overflowX: "auto",
2739
+ borderRadius: "radius-8",
2740
+ boxShadow: "0 0 0 1px {colors.primary.100}",
2741
+ "& > .table__root": {
2742
+ borderRadius: "radius-0!",
2743
+ boxShadow: "none!",
2744
+ tableLayout: "auto!"
2745
+ }
2746
+ }
2747
+ }), Eo = {
2748
+ button: be,
2749
+ iconButton: Ao,
2750
+ heading: Ur,
2751
+ switchRecipe: qr,
2752
+ text: Kr,
2753
+ textarea: Qr,
2754
+ formControl: Jr,
2755
+ formHelperText: eo,
2756
+ input: ye,
2757
+ inputAddon: so,
2758
+ inputGroup: co,
2759
+ tableGroupTitle: No,
2760
+ tableEmptyRow: Ho,
2761
+ tableContainer: Vo
2762
+ }, Wo = {
2763
+ drawer: ro,
2764
+ radioButtonGroup: ho,
2765
+ radioGroup: mo,
2766
+ accordion: oo,
2767
+ formLabel: ao,
2768
+ checkbox: io,
2769
+ datepicker: po,
2770
+ tabs: no,
2771
+ tag: uo,
2772
+ select: lo,
2773
+ chip: go,
2774
+ actionCard: bo,
2775
+ tooltip: Bo,
2776
+ alert: Do,
2777
+ table: Mo
2778
+ }, jo = st.colors({
2632
2779
  decorative: {
2633
2780
  red: {
2634
2781
  light: { value: "#FFB5AD" },
@@ -2727,9 +2874,9 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2727
2874
  value: "{colors.primary.900}"
2728
2875
  }
2729
2876
  }
2730
- }), _o = {
2731
- colors: ko
2732
- }, To = rt({
2877
+ }), Zo = {
2878
+ colors: jo
2879
+ }, $o = ct({
2733
2880
  body: {
2734
2881
  lg: {
2735
2882
  value: {
@@ -2812,7 +2959,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2812
2959
  }
2813
2960
  }
2814
2961
  }
2815
- }), Po = m.animations({
2962
+ }), Go = g.animations({
2816
2963
  "backdrop-in": {
2817
2964
  value: "fade-in 250ms {easings.emphasized-in}"
2818
2965
  },
@@ -2853,14 +3000,14 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2853
3000
  "collapse-out": {
2854
3001
  value: "collapse-out 150ms {easings.in-out}"
2855
3002
  }
2856
- }), zo = m.borders({
3003
+ }), Oo = g.borders({
2857
3004
  golden: { value: "1.618 / 1" },
2858
3005
  landscape: { value: "4 / 3" },
2859
3006
  portrait: { value: "3 / 4" },
2860
3007
  square: { value: "1 / 1" },
2861
3008
  ultrawide: { value: "18 / 5" },
2862
3009
  wide: { value: "16 / 9" }
2863
- }), Io = m.blurs({
3010
+ }), Yo = g.blurs({
2864
3011
  "2xl": { value: "40px" },
2865
3012
  "3xl": { value: "64px" },
2866
3013
  base: { value: "8px" },
@@ -2868,11 +3015,11 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2868
3015
  md: { value: "12px" },
2869
3016
  sm: { value: "4px" },
2870
3017
  xl: { value: "24px" }
2871
- }), Lo = m.borders({
3018
+ }), Xo = g.borders({
2872
3019
  border: {
2873
3020
  none: { value: "none" }
2874
3021
  }
2875
- }), Ro = m.colors({
3022
+ }), Uo = g.colors({
2876
3023
  black: { value: "#000" },
2877
3024
  current: { value: "currentColor" },
2878
3025
  transparent: { value: "rgb(0 0 0 / 0)" },
@@ -2944,7 +3091,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2944
3091
  200: { value: "#FFEAAC" },
2945
3092
  100: { value: "#FFF9E6" }
2946
3093
  }
2947
- }), Fo = m.durations({
3094
+ }), qo = g.durations({
2948
3095
  fast: { value: "150ms" },
2949
3096
  faster: { value: "100ms" },
2950
3097
  fastest: { value: "50ms" },
@@ -2952,7 +3099,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
2952
3099
  slow: { value: "300ms" },
2953
3100
  slower: { value: "400ms" },
2954
3101
  slowest: { value: "500ms" }
2955
- }), Ao = m.easings({
3102
+ }), Ko = g.easings({
2956
3103
  default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
2957
3104
  "ease-bounce-1": {
2958
3105
  value: `linear(
@@ -3040,7 +3187,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
3040
3187
  linear: { value: "linear" },
3041
3188
  out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
3042
3189
  pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
3043
- }), Bo = m.radii({
3190
+ }), Qo = g.radii({
3044
3191
  "radius-0": { value: "0px" },
3045
3192
  "radius-2": { value: "2px" },
3046
3193
  "radius-4": { value: "4px" },
@@ -3062,7 +3209,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
3062
3209
  "radius-60": { value: "60px" },
3063
3210
  "radius-64": { value: "64px" },
3064
3211
  full: { value: "9999px" }
3065
- }), Do = m.shadows({
3212
+ }), Jo = g.shadows({
3066
3213
  "2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
3067
3214
  inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
3068
3215
  lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
@@ -3070,7 +3217,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
3070
3217
  sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
3071
3218
  xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
3072
3219
  xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
3073
- }), Mo = m.sizes({
3220
+ }), ea = g.sizes({
3074
3221
  "size-0": {
3075
3222
  value: "0px"
3076
3223
  },
@@ -3147,7 +3294,7 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
3147
3294
  "size-80": {
3148
3295
  value: "80px"
3149
3296
  }
3150
- }), Ho = m.spacing({
3297
+ }), ta = g.spacing({
3151
3298
  "space-0": {
3152
3299
  value: "0px"
3153
3300
  },
@@ -3227,9 +3374,9 @@ const yo = /* @__PURE__ */ ro(xo), vo = yo(
3227
3374
  value: "80px"
3228
3375
  }
3229
3376
  });
3230
- var Vo = "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,%";
3231
- `${Vo.split(",").join("|")}`;
3232
- var No = {
3377
+ var ra = "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,%";
3378
+ `${ra.split(",").join("|")}`;
3379
+ var oa = {
3233
3380
  animation: [
3234
3381
  "animationName",
3235
3382
  "animationDuration",
@@ -3340,22 +3487,22 @@ var No = {
3340
3487
  textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
3341
3488
  transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
3342
3489
  };
3343
- Object.values(No).reduce((t, r) => [...t, ...r], []);
3344
- var Eo = 16, be = "px", xe = "em", E = "rem";
3345
- function jo(t = "") {
3346
- const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${be}|${xe}|${E}`), i = t.match(new RegExp(`${r.source}(${a.source})`));
3490
+ Object.values(oa).reduce((t, r) => [...t, ...r], []);
3491
+ var aa = 16, ve = "px", fe = "em", W = "rem";
3492
+ function ia(t = "") {
3493
+ const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), a = new RegExp(`${ve}|${fe}|${W}`), i = t.match(new RegExp(`${r.source}(${a.source})`));
3347
3494
  return i == null ? void 0 : i[1];
3348
3495
  }
3349
3496
  function x(t = "") {
3350
- const r = jo(t);
3351
- if (!r || r === E)
3497
+ const r = ia(t);
3498
+ if (!r || r === W)
3352
3499
  return t;
3353
- if (r === xe)
3354
- return `${parseFloat(t)}${E}`;
3355
- if (r === be)
3356
- return `${parseFloat(t) / Eo}${E}`;
3500
+ if (r === fe)
3501
+ return `${parseFloat(t)}${W}`;
3502
+ if (r === ve)
3503
+ return `${parseFloat(t) / aa}${W}`;
3357
3504
  }
3358
- const Wo = m.fontSizes({
3505
+ const na = g.fontSizes({
3359
3506
  body: {
3360
3507
  lg: { value: x("16px") },
3361
3508
  md: { value: x("14px") },
@@ -3377,7 +3524,7 @@ const Wo = m.fontSizes({
3377
3524
  xs: { value: x("18px") }
3378
3525
  }
3379
3526
  }
3380
- }), Zo = m.fontWeights({
3527
+ }), la = g.fontWeights({
3381
3528
  black: { value: "900" },
3382
3529
  bold: { value: "700" },
3383
3530
  extrabold: { value: "800" },
@@ -3387,14 +3534,14 @@ const Wo = m.fontSizes({
3387
3534
  normal: { value: "400" },
3388
3535
  semibold: { value: "600" },
3389
3536
  thin: { value: "100" }
3390
- }), $o = m.letterSpacings({
3537
+ }), sa = g.letterSpacings({
3391
3538
  normal: { value: "0em" },
3392
3539
  tight: { value: "-0.025em" },
3393
3540
  tighter: { value: "-0.05em" },
3394
3541
  wide: { value: "0.025em" },
3395
3542
  wider: { value: "0.05em" },
3396
3543
  widest: { value: "0.1em" }
3397
- }), Go = m.lineHeights({}), Oo = m.fonts({
3544
+ }), ca = g.lineHeights({}), da = g.fonts({
3398
3545
  satoshi: { value: "var(--font-satoshi)" },
3399
3546
  cabinet: { value: "var(--font-cabinet)" },
3400
3547
  mono: {
@@ -3430,7 +3577,7 @@ const Wo = m.fontSizes({
3430
3577
  serif: {
3431
3578
  value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
3432
3579
  }
3433
- }), Yo = m.zIndex({
3580
+ }), pa = g.zIndex({
3434
3581
  banner: {
3435
3582
  value: 1200
3436
3583
  },
@@ -3467,103 +3614,112 @@ const Wo = m.fontSizes({
3467
3614
  tooltip: {
3468
3615
  value: 1800
3469
3616
  }
3470
- }), Xo = {
3471
- animations: Po,
3472
- aspectRatios: zo,
3473
- blurs: Io,
3474
- borders: Lo,
3475
- colors: Ro,
3476
- durations: Fo,
3477
- easings: Ao,
3478
- fontSizes: Wo,
3479
- fontWeights: Zo,
3480
- fonts: Oo,
3481
- letterSpacings: $o,
3482
- lineHeights: Go,
3483
- radii: Bo,
3484
- shadows: Do,
3485
- sizes: Mo,
3486
- spacing: Ho,
3487
- zIndex: Yo
3488
- }, Uo = ot({
3617
+ }), ua = {
3618
+ animations: Go,
3619
+ aspectRatios: Oo,
3620
+ blurs: Yo,
3621
+ borders: Xo,
3622
+ colors: Uo,
3623
+ durations: qo,
3624
+ easings: Ko,
3625
+ fontSizes: na,
3626
+ fontWeights: la,
3627
+ fonts: da,
3628
+ letterSpacings: sa,
3629
+ lineHeights: ca,
3630
+ radii: Qo,
3631
+ shadows: Jo,
3632
+ sizes: ea,
3633
+ spacing: ta,
3634
+ zIndex: pa
3635
+ }, ha = dt({
3489
3636
  className: "size",
3490
3637
  transform(t) {
3491
3638
  return { height: t, width: t };
3492
3639
  },
3493
3640
  values: "sizes"
3494
- }), qo = {
3641
+ }), ma = {
3495
3642
  extend: {
3496
- boxSize: Uo
3643
+ boxSize: ha
3497
3644
  }
3498
- }, $a = at({
3645
+ }, mi = pt({
3499
3646
  staticCss: {
3500
3647
  recipes: "*"
3501
3648
  },
3502
3649
  theme: {
3503
- breakpoints: Rr,
3504
- containerSizes: Ar,
3505
- keyframes: Br,
3506
- recipes: Co,
3507
- semanticTokens: _o,
3508
- slotRecipes: So,
3509
- textStyles: To,
3510
- tokens: Xo
3511
- },
3512
- utilities: qo,
3513
- conditions: Fr
3650
+ breakpoints: Gr,
3651
+ containerSizes: Yr,
3652
+ keyframes: Xr,
3653
+ recipes: Eo,
3654
+ semanticTokens: Zo,
3655
+ slotRecipes: Wo,
3656
+ textStyles: $o,
3657
+ tokens: ua
3658
+ },
3659
+ utilities: ma,
3660
+ conditions: Or
3514
3661
  });
3515
3662
  export {
3516
- aa as Accordion,
3517
- ia as AccordionItem,
3518
- na as AccordionItemContent,
3519
- la as AccordionItemIndicator,
3520
- sa as AccordionItemTrigger,
3521
- Ea as ActionCard,
3522
- Wa as ActionCardDescription,
3523
- ja as ActionCardTitle,
3524
- Za as Alert,
3525
- Pa as Box,
3526
- Y as Button,
3527
- nt as Checkbox,
3528
- Ma as Chip,
3529
- Ha as ChipAvatar,
3530
- Na as ChipClearTrigger,
3531
- Va as ChipLabel,
3532
- za as DatePicker,
3533
- ca as Drawer,
3534
- da as DrawerBody,
3535
- dt as DrawerCloseTrigger,
3536
- ma as DrawerContent,
3537
- ba as DrawerContext,
3538
- pa as DrawerFooter,
3539
- ua as DrawerHeader,
3540
- ha as DrawerTitle,
3541
- ga as DrawerTrigger,
3542
- xa as FormControl,
3543
- va as FormHelperText,
3544
- ya as FormLabel,
3545
- fa as Heading,
3546
- Sr as IconButton,
3547
- Et as Input,
3548
- jt as InputAddon,
3549
- Wt as InputGroup,
3550
- Lr as PriceTag,
3551
- La as RadioButtonGroup,
3552
- Ra as RadioButtonGroupItem,
3553
- Fa as RadioButtonGroupLabel,
3554
- Aa as RadioGroup,
3555
- Ba as RadioGroupItem,
3556
- Da as RadioGroupLabel,
3557
- Ta as Select,
3558
- St as Switch,
3559
- Ca as Tabs,
3560
- Sa as TabsContent,
3561
- _a as TabsList,
3562
- ka as TabsTrigger,
3563
- Ia as Tag,
3564
- kt as Text,
3565
- wa as Textarea,
3566
- wt as Tooltip,
3567
- $a as preset
3663
+ Ca as Accordion,
3664
+ Sa as AccordionItem,
3665
+ Ta as AccordionItemContent,
3666
+ _a as AccordionItemIndicator,
3667
+ ka as AccordionItemTrigger,
3668
+ ai as ActionCard,
3669
+ ni as ActionCardDescription,
3670
+ ii as ActionCardTitle,
3671
+ li as Alert,
3672
+ Ga as Box,
3673
+ X as Button,
3674
+ ht as Checkbox,
3675
+ ei as Chip,
3676
+ ti as ChipAvatar,
3677
+ oi as ChipClearTrigger,
3678
+ ri as ChipLabel,
3679
+ Oa as DatePicker,
3680
+ Pa as Drawer,
3681
+ Ra as DrawerBody,
3682
+ yt as DrawerCloseTrigger,
3683
+ Aa as DrawerContent,
3684
+ Ba as DrawerContext,
3685
+ za as DrawerFooter,
3686
+ Ia as DrawerHeader,
3687
+ La as DrawerTitle,
3688
+ Fa as DrawerTrigger,
3689
+ Da as FormControl,
3690
+ Na as FormHelperText,
3691
+ Ma as FormLabel,
3692
+ Ha as Heading,
3693
+ Ir as IconButton,
3694
+ Yt as Input,
3695
+ Xt as InputAddon,
3696
+ Ut as InputGroup,
3697
+ $r as PriceTag,
3698
+ Xa as RadioButtonGroup,
3699
+ Ua as RadioButtonGroupItem,
3700
+ qa as RadioButtonGroupLabel,
3701
+ Ka as RadioGroup,
3702
+ Qa as RadioGroupItem,
3703
+ Ja as RadioGroupLabel,
3704
+ $a as Select,
3705
+ It as Switch,
3706
+ ci as Table,
3707
+ si as TableContainer,
3708
+ Zr as TableEmptyRow,
3709
+ Wr as TableGroupTitle,
3710
+ Ea as Tabs,
3711
+ Wa as TabsContent,
3712
+ Za as TabsList,
3713
+ ja as TabsTrigger,
3714
+ Ya as Tag,
3715
+ pi as Tbody,
3716
+ hi as Td,
3717
+ Lt as Text,
3718
+ Va as Textarea,
3719
+ Vr as Th,
3720
+ di as Thead,
3721
+ Rt as Tooltip,
3722
+ ui as Tr,
3723
+ mi as preset
3568
3724
  };
3569
3725
  //# sourceMappingURL=ui.js.map