@stokelp/ui 1.41.2 → 1.41.4

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,9 +1,9 @@
1
1
  "use client";
2
- import { jsx as C, jsxs as a, Fragment as b1 } from "react/jsx-runtime";
3
- import { Accordion as i1, ark as p, Checkbox as V, Dialog as D, useDialogContext as L2, Portal as Q, Tooltip as J, Switch as T, Tabs as K, Select as h, DatePicker as s, RadioGroup as m, Popover as $, switchAnatomy as c2, dialogAnatomy as u2, accordionAnatomy as p2, checkboxAnatomy as M2, tabsAnatomy as s2, selectAnatomy as m5, datePickerAnatomy as Z2, radioGroupAnatomy as R5, tooltipAnatomy as h2, popoverAnatomy as f2 } from "@ark-ui/react";
4
- import { styled as o, splitCssProps as N, Circle as v2 } from "@stokelp/styled-system/jsx";
5
- import { accordion as g2, button as m2, checkbox as D1, drawer as R2, formControl as b2, tooltip as y2, formLabel as y1, formHelperText as x2, heading as H2, switchRecipe as F1, text as w2, textarea as V2, tabs as _2, select as S2, input as T2, inputAddon as P2, inputGroup as k2, datepicker as I2, tag as B1, radioButtonGroup as z2, radioGroup as D2, chip as F2, actionCard as B2, iconButton as A2, alert as E2, tableContainer as N2, tableGroupTitle as j2, tableEmptyRow as W2, table as $2, breadcrumb as O2, popover as G2, pagination as U2, illustration as Y2, buttonFilter as X2, statusTagSelect as q2, switchCard as x1, radioCardGroup as Q2, checkboxCard as H1, productCardCatalog as J2 } from "@stokelp/styled-system/recipes";
6
- import { createContext as b5, forwardRef as Z, useContext as y5, createElement as x5, useEffect as H5, useMemo as M1, useReducer as K2, useRef as S1, useLayoutEffect as T1, Children as C4, cloneElement as w1, useState as w5 } from "react";
2
+ import { jsx as C, jsxs as a, Fragment as y1 } from "react/jsx-runtime";
3
+ import { Accordion as i1, ark as p, Checkbox as V, Dialog as D, useDialogContext as a2, Portal as Q, Tooltip as J, Switch as T, Tabs as K, Select as h, DatePicker as s, RadioGroup as m, Popover as $, switchAnatomy as L2, dialogAnatomy as c2, accordionAnatomy as u2, checkboxAnatomy as p2, tabsAnatomy as M2, selectAnatomy as m5, datePickerAnatomy as s2, radioGroupAnatomy as R5, tooltipAnatomy as Z2, popoverAnatomy as h2 } from "@ark-ui/react";
4
+ import { styled as o, splitCssProps as N, Circle as f2 } from "@stokelp/styled-system/jsx";
5
+ import { accordion as v2, button as g2, checkbox as D1, drawer as m2, formControl as R2, tooltip as b2, formLabel as x1, formHelperText as y2, heading as x2, switchRecipe as F1, text as H2, textarea as w2, tabs as V2, select as _2, input as S2, inputAddon as T2, inputGroup as P2, datepicker as k2, tag as B1, radioButtonGroup as I2, radioGroup as z2, chip as D2, actionCard as F2, iconButton as B2, alert as A2, tableContainer as E2, tableGroupTitle as N2, tableEmptyRow as j2, table as W2, breadcrumb as $2, popover as O2, pagination as G2, illustration as U2, buttonFilter as Y2, statusTagSelect as X2, switchCard as H1, radioCardGroup as q2, checkboxCard as w1, productCardCatalog as Q2 } from "@stokelp/styled-system/recipes";
6
+ import { createContext as b5, forwardRef as Z, useContext as y5, createElement as x5, useLayoutEffect as M1, useMemo as s1, useReducer as J2, useEffect as K2, useRef as T1, Children as C4, cloneElement as V1, useState as H5 } from "react";
7
7
  import { cx as E, css as O, sva as e4 } from "@stokelp/styled-system/css";
8
8
  import { useMediaQuery as l4 } from "usehooks-ts";
9
9
  import { token as r4 } from "@stokelp/styled-system/tokens";
@@ -43,11 +43,11 @@ const A1 = (...e) => e.filter(Boolean).join(" "), f = (e, l) => {
43
43
  ) });
44
44
  })
45
45
  };
46
- }, { withProvider: L4, withContext: s1 } = f(g2), _8 = L4(o(i1.Root), "root"), S8 = s1(o(i1.Item), "item"), T8 = s1(o(i1.ItemContent), "itemContent"), P8 = s1(o(i1.ItemIndicator), "itemIndicator", {
46
+ }, { withProvider: L4, withContext: Z1 } = f(v2), _8 = L4(o(i1.Root), "root"), S8 = Z1(o(i1.Item), "item"), T8 = Z1(o(i1.ItemContent), "itemContent"), P8 = Z1(o(i1.ItemIndicator), "itemIndicator", {
47
47
  defaultProps: {
48
48
  children: /* @__PURE__ */ C("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C("path", { d: "M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z", fill: "currentColor" }) })
49
49
  }
50
- }), k8 = s1(o(i1.ItemTrigger), "itemTrigger"), V1 = o(p.button, m2), V5 = () => /* @__PURE__ */ a("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
50
+ }), k8 = Z1(o(i1.ItemTrigger), "itemTrigger"), _1 = o(p.button, g2), w5 = () => /* @__PURE__ */ a("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
51
51
  /* @__PURE__ */ C("title", { children: "Check Icon" }),
52
52
  /* @__PURE__ */ C(
53
53
  "path",
@@ -56,30 +56,30 @@ const A1 = (...e) => e.filter(Boolean).join(" "), f = (e, l) => {
56
56
  fill: "white"
57
57
  }
58
58
  )
59
- ] }), _5 = () => /* @__PURE__ */ a("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
59
+ ] }), V5 = () => /* @__PURE__ */ a("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
60
60
  /* @__PURE__ */ C("title", { children: "Minus Icon" }),
61
61
  /* @__PURE__ */ C("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
62
62
  ] }), c4 = Z((e, l) => {
63
63
  const [r, t] = D1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = D1(r);
64
64
  return /* @__PURE__ */ a(V.Root, { ref: l, className: E(c.root, O(i), d), ...u, children: [
65
65
  /* @__PURE__ */ a(V.Control, { className: c.control, children: [
66
- /* @__PURE__ */ C(V.Indicator, { children: /* @__PURE__ */ C(V5, {}) }),
67
- /* @__PURE__ */ C(V.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(_5, {}) })
66
+ /* @__PURE__ */ C(V.Indicator, { children: /* @__PURE__ */ C(w5, {}) }),
67
+ /* @__PURE__ */ C(V.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(V5, {}) })
68
68
  ] }),
69
69
  n && /* @__PURE__ */ C(V.Label, { className: c.label, children: n }),
70
70
  /* @__PURE__ */ C(V.HiddenInput, {})
71
71
  ] });
72
72
  });
73
73
  c4.displayName = "Checkbox";
74
- const { withProvider: u4, withContext: F } = f(R2), I8 = u4(D.Root, void 0, {
74
+ const { withProvider: u4, withContext: F } = f(m2), I8 = u4(D.Root, void 0, {
75
75
  defaultProps: {
76
76
  unmountOnExit: !0,
77
77
  lazyMount: !0
78
78
  }
79
- }), z8 = F(o(p.main), "body"), p4 = F(o(D.CloseTrigger), "closeTrigger"), D8 = F(o(p.footer), "footer"), S5 = Z(
79
+ }), z8 = F(o(p.main), "body"), p4 = F(o(D.CloseTrigger), "closeTrigger"), D8 = F(o(p.footer), "footer"), _5 = Z(
80
80
  ({ children: e, showCloseTrigger: l = !0, ...r }, t) => /* @__PURE__ */ a(p.header, { ...r, ref: t, children: [
81
81
  e,
82
- l && /* @__PURE__ */ C(p4, { asChild: !0, children: /* @__PURE__ */ C(V1, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
82
+ l && /* @__PURE__ */ C(p4, { asChild: !0, children: /* @__PURE__ */ C(_1, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
83
83
  "path",
84
84
  {
85
85
  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",
@@ -88,30 +88,30 @@ const { withProvider: u4, withContext: F } = f(R2), I8 = u4(D.Root, void 0, {
88
88
  ) }) }) })
89
89
  ] })
90
90
  );
91
- S5.displayName = "DrawerHeader";
92
- const F8 = F(S5, "header"), B8 = F(o(D.Title), "title"), A8 = F(o(D.Trigger), "trigger"), M4 = F(o(D.Positioner), "positioner"), s4 = F(o(D.Backdrop), "backdrop"), T5 = Z(
91
+ _5.displayName = "DrawerHeader";
92
+ const F8 = F(_5, "header"), B8 = F(o(D.Title), "title"), A8 = F(o(D.Trigger), "trigger"), M4 = F(o(D.Positioner), "positioner"), s4 = F(o(D.Backdrop), "backdrop"), S5 = Z(
93
93
  ({ children: e, ...l }, r) => {
94
94
  const t = l4(`(max-width: ${r4("breakpoints.md")})`, {
95
95
  defaultValue: !1
96
- }), { open: i, getContentProps: L } = L2();
97
- return H5(() => {
96
+ }), { open: i, getContentProps: L } = a2();
97
+ return M1(() => {
98
98
  i && setTimeout(() => {
99
99
  const { id: n } = L();
100
100
  if (!n) return;
101
101
  const d = document.getElementById(n);
102
102
  if (d) {
103
103
  const u = d.querySelector("footer");
104
- u && (t ? d.style.setProperty("--footer-height", `${Math.ceil(u.clientHeight)}px`) : d.style.setProperty("--footer-height", `${Math.ceil(u.clientHeight)}px`));
104
+ u && (t ? d.style.setProperty("--footer-height", `${Math.ceil(u.clientHeight)}px`) : d.style.setProperty("--footer-height", "70px"));
105
105
  }
106
- }, 0);
106
+ }, 100);
107
107
  }, [i, t]), /* @__PURE__ */ a(Q, { children: [
108
108
  /* @__PURE__ */ C(s4, {}),
109
109
  /* @__PURE__ */ C(M4, { children: /* @__PURE__ */ C(D.Content, { ref: r, ...l, children: e }) })
110
110
  ] });
111
111
  }
112
112
  );
113
- T5.displayName = D.Content.displayName;
114
- const E8 = F(o(T5), "content"), N8 = D.Context, Z4 = o("div", b2, {
113
+ S5.displayName = D.Content.displayName;
114
+ const E8 = F(o(S5), "content"), N8 = D.Context, Z4 = o("div", R2, {
115
115
  defaultProps: {
116
116
  role: "group"
117
117
  }
@@ -121,7 +121,7 @@ const E8 = F(o(T5), "content"), N8 = D.Context, Z4 = o("div", b2, {
121
121
  ...l ? { "aria-required": !0 } : {}
122
122
  };
123
123
  return /* @__PURE__ */ C(Z4, { ...t, ...r });
124
- }, { withProvider: h4, withContext: n1 } = f(y2), f4 = h4(o(J.Root), void 0, {
124
+ }, { withProvider: h4, withContext: n1 } = f(b2), f4 = h4(o(J.Root), void 0, {
125
125
  defaultProps: {
126
126
  closeDelay: 50,
127
127
  closeOnPointerDown: !1,
@@ -139,8 +139,8 @@ const E8 = F(o(T5), "content"), N8 = D.Context, Z4 = o("div", b2, {
139
139
  e
140
140
  ] }) }) })
141
141
  ] });
142
- }, x4 = o("label", y1), W8 = (e) => {
143
- const [l, r] = y1.splitVariantProps(e), [t, i] = N(r), { children: L, className: n, addon: d, tooltipInformation: u, ...c } = i, v = y1(l);
142
+ }, x4 = o("label", x1), W8 = (e) => {
143
+ const [l, r] = x1.splitVariantProps(e), [t, i] = N(r), { children: L, className: n, addon: d, tooltipInformation: u, ...c } = i, v = x1(l);
144
144
  return /* @__PURE__ */ a(x4, { className: E(v.root, O(t), n), ...c, children: [
145
145
  L,
146
146
  d ? /* @__PURE__ */ C(o.span, { className: v.addon, children: d }) : null,
@@ -163,10 +163,10 @@ const E8 = F(o(T5), "content"), N8 = D.Context, Z4 = o("div", b2, {
163
163
  }
164
164
  ) }) : null
165
165
  ] });
166
- }, $8 = o("p", x2, {
166
+ }, $8 = o("p", y2, {
167
167
  dataAttr: !0
168
168
  }), O8 = (e) => {
169
- const { as: l = "h2", ...r } = e, t = M1(() => o(l, H2), [l]);
169
+ const { as: l = "h2", ...r } = e, t = s1(() => o(l, x2), [l]);
170
170
  return /* @__PURE__ */ C(t, { size: l, ...r });
171
171
  }, H4 = Z((e, l) => {
172
172
  const [r, t] = F1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = F1(r);
@@ -178,20 +178,20 @@ const E8 = F(o(T5), "content"), N8 = D.Context, Z4 = o("div", b2, {
178
178
  });
179
179
  H4.displayName = "Switch";
180
180
  const w4 = (e) => {
181
- const { as: l = "p", ...r } = e, t = M1(() => o(l, w2), [l]);
181
+ const { as: l = "p", ...r } = e, t = s1(() => o(l, H2), [l]);
182
182
  return /* @__PURE__ */ C(t, { ...r });
183
- }, G8 = o(p.textarea, V2), { withProvider: V4, withContext: Z1 } = f(_2), U8 = V4(o(K.Root), "root", {
183
+ }, G8 = o(p.textarea, w2), { withProvider: V4, withContext: h1 } = f(V2), U8 = V4(o(K.Root), "root", {
184
184
  defaultProps: {
185
185
  lazyMount: !0
186
186
  }
187
- }), Y8 = Z1(o(K.Content), "content"), X8 = Z1(o(K.Trigger), "trigger"), _4 = Z1(o(K.Indicator), "indicator"), P5 = Z(
187
+ }), Y8 = h1(o(K.Content), "content"), X8 = h1(o(K.Trigger), "trigger"), _4 = h1(o(K.Indicator), "indicator"), T5 = Z(
188
188
  ({ children: e, ...l }, r) => /* @__PURE__ */ a(K.List, { ref: r, ...l, children: [
189
189
  e,
190
190
  /* @__PURE__ */ C(_4, {})
191
191
  ] })
192
192
  );
193
- P5.displayName = K.List.displayName;
194
- const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l === !0 ? r(e) : e, { withProvider: S4, withContext: P } = f(S2), T4 = S4(o(h.Root), "root", {
193
+ T5.displayName = K.List.displayName;
194
+ const q8 = h1(o(T5), "list"), P5 = ({ children: e, when: l, wrapper: r }) => l === !0 ? r(e) : e, { withProvider: S4, withContext: P } = f(_2), T4 = S4(o(h.Root), "root", {
195
195
  defaultProps: {
196
196
  loopFocus: !0
197
197
  }
@@ -231,23 +231,23 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
231
231
  }
232
232
  ) }) }) })
233
233
  ] }),
234
- /* @__PURE__ */ C(k5, { when: t, wrapper: (n) => /* @__PURE__ */ C(Q, { children: n }), children: /* @__PURE__ */ C(A4, { children: /* @__PURE__ */ C(k4, { children: e.length === 0 ? /* @__PURE__ */ C(w4, { px: "space-8", textAlign: "center", children: r ?? "Aucun résultat" }) : e.map((n) => /* @__PURE__ */ a(D4, { item: n, children: [
234
+ /* @__PURE__ */ C(P5, { when: t, wrapper: (n) => /* @__PURE__ */ C(Q, { children: n }), children: /* @__PURE__ */ C(A4, { children: /* @__PURE__ */ C(k4, { children: e.length === 0 ? /* @__PURE__ */ C(w4, { px: "space-8", textAlign: "center", children: r ?? "Aucun résultat" }) : e.map((n) => /* @__PURE__ */ a(D4, { item: n, children: [
235
235
  /* @__PURE__ */ C(B4, { truncate: !0, children: n.label }),
236
236
  L.multiple ? /* @__PURE__ */ C(F4, { children: "✓" }) : null
237
237
  ] }, n.value)) }) }) }),
238
238
  /* @__PURE__ */ C(h.HiddenSelect, {})
239
239
  ]
240
240
  }
241
- ), E1 = o("input", T2, {
241
+ ), E1 = o("input", S2, {
242
242
  dataAttr: !0
243
- }), N1 = o(p.div, P2, {
243
+ }), N1 = o(p.div, T2, {
244
244
  dataAttr: !0
245
- }), j1 = o("div", k2, {
245
+ }), j1 = o("div", P2, {
246
246
  dataAttr: !0
247
247
  }), J8 = (e) => {
248
- const { as: l = "div", ...r } = e, t = M1(() => o(l), [l]);
248
+ const { as: l = "div", ...r } = e, t = s1(() => o(l), [l]);
249
249
  return /* @__PURE__ */ C(t, { ...r });
250
- }, { withProvider: j4, withContext: g } = f(I2), W4 = j4(s.Root, "root", {
250
+ }, { withProvider: j4, withContext: g } = f(k2), W4 = j4(s.Root, "root", {
251
251
  defaultProps: {
252
252
  positioning: {
253
253
  placement: "bottom-start"
@@ -317,12 +317,12 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
317
317
  ] })
318
318
  ] }) : null
319
319
  ] }) }),
320
- /* @__PURE__ */ C(Q, { children: /* @__PURE__ */ C(Y4, { className: l, children: /* @__PURE__ */ C($4, { children: /* @__PURE__ */ C(r3, { view: "day", children: /* @__PURE__ */ C(s.Context, { children: (n) => /* @__PURE__ */ a(b1, { children: [
320
+ /* @__PURE__ */ C(Q, { children: /* @__PURE__ */ C(Y4, { className: l, children: /* @__PURE__ */ C($4, { children: /* @__PURE__ */ C(r3, { view: "day", children: /* @__PURE__ */ C(s.Context, { children: (n) => /* @__PURE__ */ a(y1, { children: [
321
321
  /* @__PURE__ */ a(l3, { children: [
322
- /* @__PURE__ */ C(X4, { asChild: !0, children: /* @__PURE__ */ C(V1, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ C(t3, {}) }) }),
322
+ /* @__PURE__ */ C(X4, { asChild: !0, children: /* @__PURE__ */ C(_1, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ C(t3, {}) }) }),
323
323
  /* @__PURE__ */ C(G4, {}),
324
324
  /* @__PURE__ */ C(o3, {}),
325
- /* @__PURE__ */ C(U4, { asChild: !0, children: /* @__PURE__ */ C(V1, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ C(i3, {}) }) })
325
+ /* @__PURE__ */ C(U4, { asChild: !0, children: /* @__PURE__ */ C(_1, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ C(i3, {}) }) })
326
326
  ] }),
327
327
  /* @__PURE__ */ a(e3, { children: [
328
328
  /* @__PURE__ */ C(K4, { children: /* @__PURE__ */ C($1, { children: n.weekDays.map((d, u) => /* @__PURE__ */ C(C3, { children: d.short }, u)) }) }),
@@ -334,9 +334,9 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
334
334
  const [r, t] = B1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = B1(r);
335
335
  return /* @__PURE__ */ a(p.div, { ref: l, className: E(c.root, O(i), d), ...u, children: [
336
336
  n,
337
- /* @__PURE__ */ C(v2, { className: E(c.badge) })
337
+ /* @__PURE__ */ C(f2, { className: E(c.badge) })
338
338
  ] });
339
- }), { withProvider: n3, withContext: h1 } = f(z2), d3 = h1(o(m.ItemControl), "itemControl"), a3 = h1(o(m.ItemText), "itemText"), L3 = Z(({ children: e, value: l, ...r }, t) => /* @__PURE__ */ a(m.Item, { ref: t, ...r, value: l, children: [
339
+ }), { withProvider: n3, withContext: f1 } = f(I2), d3 = f1(o(m.ItemControl), "itemControl"), a3 = f1(o(m.ItemText), "itemText"), L3 = Z(({ children: e, value: l, ...r }, t) => /* @__PURE__ */ a(m.Item, { ref: t, ...r, value: l, children: [
340
340
  /* @__PURE__ */ C(a3, { children: e }),
341
341
  /* @__PURE__ */ C(d3, {}),
342
342
  /* @__PURE__ */ C(m.ItemHiddenInput, {})
@@ -344,7 +344,7 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
344
344
  defaultProps: {
345
345
  orientation: "horizontal"
346
346
  }
347
- }), l7 = h1(o(L3), "item"), r7 = h1(o(m.Label), "label"), { withProvider: c3, withContext: f1 } = f(D2), u3 = f1(o(m.ItemControl), "itemControl"), p3 = f1(o(m.ItemText), "itemText"), M3 = Z(({ children: e, value: l, ...r }, t) => /* @__PURE__ */ a(m.Item, { ref: t, ...r, value: l, children: [
347
+ }), l7 = f1(o(L3), "item"), r7 = f1(o(m.Label), "label"), { withProvider: c3, withContext: v1 } = f(z2), u3 = v1(o(m.ItemControl), "itemControl"), p3 = v1(o(m.ItemText), "itemText"), M3 = Z(({ children: e, value: l, ...r }, t) => /* @__PURE__ */ a(m.Item, { ref: t, ...r, value: l, children: [
348
348
  /* @__PURE__ */ C(u3, {}),
349
349
  /* @__PURE__ */ C(p3, { children: e }),
350
350
  /* @__PURE__ */ C(m.ItemHiddenInput, {})
@@ -352,7 +352,7 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
352
352
  defaultProps: {
353
353
  orientation: "horizontal"
354
354
  }
355
- }), t7 = f1(o(M3), "item"), i7 = f1(o(m.Label), "label"), { withProvider: s3, withContext: P1 } = f(F2), n7 = s3(o(p.span), "root"), d7 = P1(o("img"), "avatar"), a7 = P1(o(p.p), "body"), L7 = P1(o(p.button), "clearTrigger", {
355
+ }), t7 = v1(o(M3), "item"), i7 = v1(o(m.Label), "label"), { withProvider: s3, withContext: P1 } = f(D2), n7 = s3(o(p.span), "root"), d7 = P1(o("img"), "avatar"), a7 = P1(o(p.p), "body"), L7 = P1(o(p.button), "clearTrigger", {
356
356
  defaultProps: {
357
357
  type: "button",
358
358
  children: /* @__PURE__ */ C("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
@@ -363,14 +363,14 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
363
363
  }
364
364
  ) })
365
365
  }
366
- }), { withProvider: Z3, withContext: k1 } = f(B2, {
366
+ }), { withProvider: Z3, withContext: k1 } = f(F2, {
367
367
  dataAttr: !0
368
368
  }), h3 = k1(o(p.svg), "icon"), c7 = Z3(o(p.button), "root", {
369
369
  defaultProps: {
370
370
  role: "group"
371
371
  },
372
372
  afterSlot: /* @__PURE__ */ C(h3, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C("path", { d: "M9.70501 6L8.29501 7.41L12.875 12L8.29501 16.59L9.70501 18L15.705 12L9.70501 6Z", fill: "currentColor" }) })
373
- }), u7 = k1(o(p.h3), "title"), p7 = k1(o(p.p), "description"), _1 = o("button", A2), { withProvider: f3, withContext: I1 } = f(E2), v3 = f3(o(p.div), "root"), g3 = I1(o(p.svg), "icon"), m3 = I1(o(p.h3), "title"), R3 = I1(o(p.p), "description"), b3 = (e) => {
373
+ }), u7 = k1(o(p.h3), "title"), p7 = k1(o(p.p), "description"), S1 = o("button", B2), { withProvider: f3, withContext: I1 } = f(A2), v3 = f3(o(p.div), "root"), g3 = I1(o(p.svg), "icon"), m3 = I1(o(p.h3), "title"), R3 = I1(o(p.p), "description"), b3 = (e) => {
374
374
  switch (e) {
375
375
  default:
376
376
  case "neutral":
@@ -419,7 +419,7 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
419
419
  /* @__PURE__ */ a(m3, { children: [
420
420
  L ? /* @__PURE__ */ C(g3, { asChild: !0, children: b3(i) }) : null,
421
421
  e,
422
- r ? /* @__PURE__ */ C(_1, { ml: "auto", onClick: t, size: "sm", variant: "tertiary", "aria-label": "dismiss", children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
422
+ r ? /* @__PURE__ */ C(S1, { ml: "auto", onClick: t, size: "sm", variant: "tertiary", "aria-label": "dismiss", children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
423
423
  "path",
424
424
  {
425
425
  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",
@@ -444,24 +444,24 @@ const q8 = Z1(o(P5), "list"), k5 = ({ children: e, when: l, wrapper: r }) => l =
444
444
  default:
445
445
  return e;
446
446
  }
447
- }, I5 = b5(void 0), x3 = () => {
448
- const e = y5(I5);
447
+ }, k5 = b5(void 0), x3 = () => {
448
+ const e = y5(k5);
449
449
  if (!e)
450
450
  throw new Error("useTable must be used within a <TableProvider/>");
451
451
  return e;
452
452
  }, H3 = ({ children: e, onSortChange: l }) => {
453
- const [r, t] = K2(y3, {
453
+ const [r, t] = J2(y3, {
454
454
  sortDescriptor: null
455
455
  });
456
- H5(() => {
456
+ K2(() => {
457
457
  l == null || l(r.sortDescriptor);
458
458
  }, [JSON.stringify(r.sortDescriptor)]);
459
459
  const i = {
460
460
  ...r,
461
461
  dispatch: t
462
462
  };
463
- return /* @__PURE__ */ C(I5.Provider, { value: i, children: e });
464
- }, { withProvider: w3, withContext: G } = f($2), s7 = o("div", N2), V3 = w3(o("table"), "root"), _3 = Z(
463
+ return /* @__PURE__ */ C(k5.Provider, { value: i, children: e });
464
+ }, { withProvider: w3, withContext: G } = f(W2), s7 = o("div", E2), V3 = w3(o("table"), "root"), _3 = Z(
465
465
  ({ children: e, onSortChange: l, ...r }, t) => /* @__PURE__ */ C(H3, { onSortChange: l, children: /* @__PURE__ */ C(V3, { ref: t, ...r, children: e }) })
466
466
  );
467
467
  _3.displayName = "Table";
@@ -545,9 +545,9 @@ const Z7 = G(o("thead"), "thead"), Y1 = G(o("div"), "sortIndicatorRoot"), L1 = G
545
545
  }
546
546
  );
547
547
  T3.displayName = "Th";
548
- const v7 = G(o("td"), "td"), P3 = o("td", j2), k3 = Z((e, l) => {
549
- const r = S1(null);
550
- return T1(() => {
548
+ const v7 = G(o("td"), "td"), P3 = o("td", N2), k3 = Z((e, l) => {
549
+ const r = T1(null);
550
+ return M1(() => {
551
551
  var t, i;
552
552
  if (r.current) {
553
553
  const L = (i = (t = r.current) == null ? void 0 : t.closest("table")) == null ? void 0 : i.querySelector("thead > tr");
@@ -556,9 +556,9 @@ const v7 = G(o("td"), "td"), P3 = o("td", j2), k3 = Z((e, l) => {
556
556
  }, []), /* @__PURE__ */ C("tr", { ref: l, className: "table_tr__group__title", children: /* @__PURE__ */ C(P3, { ref: r, ...e }) });
557
557
  });
558
558
  k3.displayName = "TableGroupTitle";
559
- const I3 = o("td", W2), z3 = Z((e, l) => {
560
- const r = S1(null);
561
- return T1(() => {
559
+ const I3 = o("td", j2), z3 = Z((e, l) => {
560
+ const r = T1(null);
561
+ return M1(() => {
562
562
  var t, i;
563
563
  if (r.current) {
564
564
  const L = (i = (t = r.current) == null ? void 0 : t.closest("table")) == null ? void 0 : i.querySelector("thead > tr");
@@ -567,31 +567,31 @@ const I3 = o("td", W2), z3 = Z((e, l) => {
567
567
  }, []), /* @__PURE__ */ C("tr", { ref: l, className: "table_tr__empty", children: /* @__PURE__ */ C(I3, { ref: r, ...e }) });
568
568
  });
569
569
  z3.displayName = "TableEmptyRow";
570
- const { withProvider: D3, withContext: z1 } = f(O2), F3 = D3(o("nav"), "root"), B3 = z1(o("ol"), "list"), g7 = z1(o("li"), "item"), m7 = z1(o(p.a), "link"), A3 = /* @__PURE__ */ C("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C("path", { d: "M6.47003 4.5L5.53003 5.44L8.58336 8.5L5.53003 11.56L6.47003 12.5L10.47 8.5L6.47003 4.5Z", fill: "#1E3A76" }) }), R7 = Z(
570
+ const { withProvider: D3, withContext: z1 } = f($2), F3 = D3(o("nav"), "root"), B3 = z1(o("ol"), "list"), g7 = z1(o("li"), "item"), m7 = z1(o(p.a), "link"), A3 = /* @__PURE__ */ C("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C("path", { d: "M6.47003 4.5L5.53003 5.44L8.58336 8.5L5.53003 11.56L6.47003 12.5L10.47 8.5L6.47003 4.5Z", fill: "#1E3A76" }) }), R7 = Z(
571
571
  ({ children: e, separator: l = A3, ...r }, t) => {
572
572
  var L;
573
573
  const i = C4.toArray(
574
574
  o4.isFragment(e) ? (L = e.props) == null ? void 0 : L.children : e
575
575
  );
576
- return /* @__PURE__ */ C(F3, { ...r, "aria-label": r["aria-label"] ?? "breadcrumb", ref: t, children: /* @__PURE__ */ C(B3, { children: i.map((n, d) => w1(n, {
576
+ return /* @__PURE__ */ C(F3, { ...r, "aria-label": r["aria-label"] ?? "breadcrumb", ref: t, children: /* @__PURE__ */ C(B3, { children: i.map((n, d) => V1(n, {
577
577
  "aria-current": d === i.length - 1 ? "page" : void 0,
578
- children: d === i.length - 1 ? n.props.children : /* @__PURE__ */ a(b1, { children: [
578
+ children: d === i.length - 1 ? n.props.children : /* @__PURE__ */ a(y1, { children: [
579
579
  n.props.children,
580
- l ? /* @__PURE__ */ C(b1, { children: typeof l == "object" ? w1(l, { role: "presentation" }) : /* @__PURE__ */ C("span", { role: "presentation", children: l }) }) : null
580
+ l ? /* @__PURE__ */ C(y1, { children: typeof l == "object" ? V1(l, { role: "presentation" }) : /* @__PURE__ */ C("span", { role: "presentation", children: l }) }) : null
581
581
  ] })
582
582
  })) }) });
583
583
  }
584
- ), { withProvider: E3, withContext: v1 } = f(G2), b7 = E3($.Root, void 0, {
584
+ ), { withProvider: E3, withContext: g1 } = f(O2), b7 = E3($.Root, void 0, {
585
585
  defaultProps: {
586
586
  unmountOnExit: !0,
587
587
  lazyMount: !0,
588
588
  portalled: !0
589
589
  }
590
- }), y7 = v1(o($.CloseTrigger), "closeTrigger"), x7 = v1(o($.Trigger), "trigger"), N3 = v1(o($.Positioner), "positioner"), z5 = Z(
590
+ }), y7 = g1(o($.CloseTrigger), "closeTrigger"), x7 = g1(o($.Trigger), "trigger"), N3 = g1(o($.Positioner), "positioner"), I5 = Z(
591
591
  ({ children: e, ...l }, r) => /* @__PURE__ */ C(Q, { children: /* @__PURE__ */ C(N3, { children: /* @__PURE__ */ C($.Content, { ref: r, ...l, children: e }) }) })
592
592
  );
593
- z5.displayName = $.Content.displayName;
594
- const H7 = v1(o(z5), "content"), w7 = $.Context;
593
+ I5.displayName = $.Content.displayName;
594
+ const H7 = g1(o(I5), "content"), w7 = $.Context;
595
595
  function j3({
596
596
  value: e,
597
597
  defaultValue: l,
@@ -599,7 +599,7 @@ function j3({
599
599
  onChange: t = () => {
600
600
  }
601
601
  }) {
602
- const [i, L] = w5(l !== void 0 ? l : r), n = (d, ...u) => {
602
+ const [i, L] = H5(l !== void 0 ? l : r), n = (d, ...u) => {
603
603
  L(d), t == null || t(d, ...u);
604
604
  };
605
605
  return e !== void 0 ? [e, t, !0] : [i, n, !1];
@@ -625,7 +625,7 @@ const r1 = Symbol("dots"), W3 = ({
625
625
  S <= 0 ? u(1) : S > n ? u(n) : u(S);
626
626
  }, v = () => c(d + 1), H = () => c(d - 1), k = () => c(1), B = () => c(n);
627
627
  return {
628
- range: M1(() => {
628
+ range: s1(() => {
629
629
  if (l * 2 + 3 + r * 2 >= n)
630
630
  return A(1, n);
631
631
  const Y = Math.max(d - l, r), z = Math.min(d + l, n - r), W = Y > r + 2, e1 = z < n - (r + 1);
@@ -654,7 +654,7 @@ const r1 = Symbol("dots"), W3 = ({
654
654
  };
655
655
  }, X1 = (e, l) => (r) => {
656
656
  e == null || e(r), l == null || l(r);
657
- }, { withProvider: $3, withContext: D5 } = f(U2), O3 = $3(o("div"), "root"), G3 = D5(o("button"), "item"), U3 = D5(o("div"), "dots"), V7 = ({
657
+ }, { withProvider: $3, withContext: z5 } = f(G2), O3 = $3(o("div"), "root"), G3 = z5(o("button"), "item"), U3 = z5(o("div"), "dots"), V7 = ({
658
658
  total: e,
659
659
  value: l,
660
660
  defaultValue: r,
@@ -676,7 +676,7 @@ const r1 = Symbol("dots"), W3 = ({
676
676
  }), S = X1(L, k), Y = X1(n, B);
677
677
  return /* @__PURE__ */ a(O3, { ...c, children: [
678
678
  /* @__PURE__ */ C(
679
- _1,
679
+ S1,
680
680
  {
681
681
  size: "md",
682
682
  variant: "tertiary",
@@ -699,7 +699,7 @@ const r1 = Symbol("dots"), W3 = ({
699
699
  W
700
700
  )),
701
701
  /* @__PURE__ */ C(
702
- _1,
702
+ S1,
703
703
  {
704
704
  size: "md",
705
705
  variant: "tertiary",
@@ -710,7 +710,7 @@ const r1 = Symbol("dots"), W3 = ({
710
710
  }
711
711
  )
712
712
  ] });
713
- }, j = (e) => Z((l, r) => w1(e, {
713
+ }, j = (e) => Z((l, r) => V1(e, {
714
714
  fill: "currentColor",
715
715
  ref: r,
716
716
  stroke: "currentColor",
@@ -9593,7 +9593,7 @@ const r1 = Symbol("dots"), W3 = ({
9593
9593
  /* @__PURE__ */ C("clipPath", { id: "clip1_1422_1919", children: /* @__PURE__ */ C("rect", { width: "924", height: "658", rx: "24", fill: "currentColor" }) })
9594
9594
  ] })
9595
9595
  ] })
9596
- ), l6 = o(p.div, Y2), r6 = (e) => {
9596
+ ), l6 = o(p.div, U2), r6 = (e) => {
9597
9597
  switch (e) {
9598
9598
  case "neutral":
9599
9599
  return /* @__PURE__ */ C(e6, {});
@@ -9615,14 +9615,14 @@ const r1 = Symbol("dots"), W3 = ({
9615
9615
  throw new Error(`Invalid pattern given: "${e}"`);
9616
9616
  }
9617
9617
  }, _7 = (e) => {
9618
- const l = S1(null);
9619
- return T1(() => {
9618
+ const l = T1(null);
9619
+ return M1(() => {
9620
9620
  if (l.current) {
9621
9621
  const r = l.current.parentElement;
9622
9622
  r && getComputedStyle(r).position === "static" && (r.style.position = "relative");
9623
9623
  }
9624
9624
  }, []), /* @__PURE__ */ C(l6, { ref: l, ...e, children: r6(e.pattern) });
9625
- }, S7 = o(p.button, X2), { withProvider: o6, withContext: U } = f(q2), t6 = o6(o(h.Root), "root", {
9625
+ }, S7 = o(p.button, Y2), { withProvider: o6, withContext: U } = f(X2), t6 = o6(o(h.Root), "root", {
9626
9626
  defaultProps: {
9627
9627
  loopFocus: !0
9628
9628
  }
@@ -9648,31 +9648,31 @@ const r1 = Symbol("dots"), W3 = ({
9648
9648
  invalid: W,
9649
9649
  isItemDisabled: e1,
9650
9650
  itemToString: l1,
9651
- itemToValue: $5,
9652
- loopFocus: O5,
9653
- name: G5,
9654
- onExitComplete: U5,
9655
- onFocusOutside: Y5,
9656
- onHighlightChange: X5,
9657
- onInteractOutside: q5,
9658
- onOpenChange: Q5,
9659
- onPointerDownOutside: J5,
9660
- open: K5,
9661
- present: C2,
9662
- readOnly: e2,
9663
- required: l2,
9664
- scrollToIndexFn: r2,
9665
- value: o2,
9666
- ...t2
9651
+ itemToValue: W5,
9652
+ loopFocus: $5,
9653
+ name: O5,
9654
+ onExitComplete: G5,
9655
+ onFocusOutside: U5,
9656
+ onHighlightChange: Y5,
9657
+ onInteractOutside: X5,
9658
+ onOpenChange: q5,
9659
+ onPointerDownOutside: Q5,
9660
+ open: J5,
9661
+ present: K5,
9662
+ readOnly: C2,
9663
+ required: e2,
9664
+ scrollToIndexFn: l2,
9665
+ value: r2,
9666
+ ...o2
9667
9667
  }) => {
9668
- const a1 = e.every((b) => "severity" in b && !!b.severity), R1 = H || (e.length > 0 ? [e[0].value.toString()] : void 0), [i2, n2] = w5(() => {
9669
- if (R1) {
9670
- const b = e.find((a2) => a2.value.toString() === R1[0]);
9668
+ const a1 = e.every((b) => "severity" in b && !!b.severity), b1 = H || (e.length > 0 ? [e[0].value.toString()] : void 0), [t2, i2] = H5(() => {
9669
+ if (b1) {
9670
+ const b = e.find((d2) => d2.value.toString() === b1[0]);
9671
9671
  return b && a1 ? b.severity : "neutral";
9672
9672
  }
9673
9673
  return e.length > 0 && a1 ? e[0].severity : "neutral";
9674
- }), d2 = (b) => {
9675
- b.items.length > 0 && typeof b.items[0] == "object" && n2(b.items[0].severity ?? "neutral"), L == null || L(b);
9674
+ }), n2 = (b) => {
9675
+ b.items.length > 0 && typeof b.items[0] == "object" && i2(b.items[0].severity ?? "neutral"), L == null || L(b);
9676
9676
  };
9677
9677
  return /* @__PURE__ */ a(
9678
9678
  t6,
@@ -9683,10 +9683,10 @@ const r1 = Symbol("dots"), W3 = ({
9683
9683
  lazyMount: l,
9684
9684
  unmountOnExit: t,
9685
9685
  items: e,
9686
- defaultValue: R1,
9686
+ defaultValue: b1,
9687
9687
  positioning: { sameWidth: !0, gutter: 0, ...i },
9688
- onValueChange: a1 ? d2 : L,
9689
- severity: a1 ? i2 : n,
9688
+ onValueChange: a1 ? n2 : L,
9689
+ severity: a1 ? t2 : n,
9690
9690
  size: d,
9691
9691
  disabled: k,
9692
9692
  form: B,
@@ -9697,23 +9697,23 @@ const r1 = Symbol("dots"), W3 = ({
9697
9697
  invalid: W,
9698
9698
  isItemDisabled: e1,
9699
9699
  itemToString: l1,
9700
- itemToValue: $5,
9701
- loopFocus: O5,
9702
- name: G5,
9703
- onExitComplete: U5,
9704
- onFocusOutside: Y5,
9705
- onHighlightChange: X5,
9706
- onInteractOutside: q5,
9707
- onOpenChange: Q5,
9708
- onPointerDownOutside: J5,
9709
- open: K5,
9710
- present: C2,
9711
- readOnly: e2,
9712
- required: l2,
9713
- scrollToIndexFn: r2,
9714
- value: o2,
9700
+ itemToValue: W5,
9701
+ loopFocus: $5,
9702
+ name: O5,
9703
+ onExitComplete: G5,
9704
+ onFocusOutside: U5,
9705
+ onHighlightChange: Y5,
9706
+ onInteractOutside: X5,
9707
+ onOpenChange: q5,
9708
+ onPointerDownOutside: Q5,
9709
+ open: J5,
9710
+ present: K5,
9711
+ readOnly: C2,
9712
+ required: e2,
9713
+ scrollToIndexFn: l2,
9714
+ value: r2,
9715
9715
  children: [
9716
- /* @__PURE__ */ a(c6, { ...t2, children: [
9716
+ /* @__PURE__ */ a(c6, { ...o2, children: [
9717
9717
  /* @__PURE__ */ C(u6, {}),
9718
9718
  /* @__PURE__ */ C(n6, { asChild: !0, children: /* @__PURE__ */ C("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
9719
9719
  "path",
@@ -9723,30 +9723,30 @@ const r1 = Symbol("dots"), W3 = ({
9723
9723
  }
9724
9724
  ) }) })
9725
9725
  ] }),
9726
- /* @__PURE__ */ C(k5, { when: r, wrapper: (b) => /* @__PURE__ */ C(Q, { children: b }), children: /* @__PURE__ */ C(L6, { children: /* @__PURE__ */ C(i6, { children: e.map((b) => /* @__PURE__ */ C(d6, { item: b, children: /* @__PURE__ */ C(a6, { truncate: !0, children: b.label }) }, b.value)) }) }) }),
9726
+ /* @__PURE__ */ C(P5, { when: r, wrapper: (b) => /* @__PURE__ */ C(Q, { children: b }), children: /* @__PURE__ */ C(L6, { children: /* @__PURE__ */ C(i6, { children: e.map((b) => /* @__PURE__ */ C(d6, { item: b, children: /* @__PURE__ */ C(a6, { truncate: !0, children: b.label }) }, b.value)) }) }) }),
9727
9727
  /* @__PURE__ */ C(h.HiddenSelect, {})
9728
9728
  ]
9729
9729
  }
9730
9730
  );
9731
- }, { withProvider: p6, withContext: g1 } = f(x1, {
9731
+ }, { withProvider: p6, withContext: m1 } = f(H1, {
9732
9732
  dataAttr: !0
9733
- }), M6 = p6(o(T.Root)), s6 = g1(o(T.Label), "title"), Z6 = g1(o("div"), "content"), h6 = g1(o("p"), "description"), f6 = g1(o(p.img), "image"), F5 = Z((e, l) => {
9734
- const [r, t] = x1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = x1(r);
9733
+ }), M6 = p6(o(T.Root)), s6 = m1(o(T.Label), "title"), Z6 = m1(o("div"), "content"), h6 = m1(o("p"), "description"), f6 = m1(o(p.img), "image"), D5 = Z((e, l) => {
9734
+ const [r, t] = H1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = H1(r);
9735
9735
  return /* @__PURE__ */ a(M6, { ref: l, className: E(c.root, O(i), d), ...u, children: [
9736
9736
  n,
9737
9737
  /* @__PURE__ */ C(T.Control, { className: c.control, children: /* @__PURE__ */ C(T.Thumb, { className: c.thumb }) }),
9738
9738
  /* @__PURE__ */ C(T.HiddenInput, {})
9739
9739
  ] });
9740
9740
  });
9741
- F5.displayName = "SwitchCard";
9741
+ D5.displayName = "SwitchCard";
9742
9742
  const P7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9743
9743
  __proto__: null,
9744
9744
  Content: Z6,
9745
9745
  Description: h6,
9746
9746
  Image: f6,
9747
- Root: F5,
9747
+ Root: D5,
9748
9748
  Title: s6
9749
- }, Symbol.toStringTag, { value: "Module" })), { withProvider: v6, withContext: C1 } = f(Q2, {
9749
+ }, Symbol.toStringTag, { value: "Module" })), { withProvider: v6, withContext: C1 } = f(q2, {
9750
9750
  dataAttr: !0
9751
9751
  }), g6 = C1(o(m.ItemControl), "itemControl"), m6 = C1(o(m.ItemText), "itemTitle"), R6 = C1(o("div"), "itemContent"), b6 = C1(o("p"), "itemDescription"), y6 = C1(o(p.img), "itemImage"), x6 = Z(({ children: e, value: l, ...r }, t) => /* @__PURE__ */ a(m.Item, { ref: t, ...r, value: l, children: [
9752
9752
  /* @__PURE__ */ C(g6, {}),
@@ -9760,26 +9760,26 @@ const P7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9760
9760
  ItemImage: y6,
9761
9761
  ItemTitle: m6,
9762
9762
  Root: H6
9763
- }, Symbol.toStringTag, { value: "Module" })), { withProvider: V6, withContext: m1 } = f(H1, {
9763
+ }, Symbol.toStringTag, { value: "Module" })), { withProvider: V6, withContext: R1 } = f(w1, {
9764
9764
  dataAttr: !0
9765
- }), _6 = V6(o(V.Root)), S6 = m1(o(V.Label), "title"), T6 = m1(o("div"), "content"), P6 = m1(o("p"), "description"), k6 = m1(o(p.img), "image"), B5 = Z((e, l) => {
9766
- const [r, t] = H1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = H1(r);
9765
+ }), _6 = V6(o(V.Root)), S6 = R1(o(V.Label), "title"), T6 = R1(o("div"), "content"), P6 = R1(o("p"), "description"), k6 = R1(o(p.img), "image"), F5 = Z((e, l) => {
9766
+ const [r, t] = w1.splitVariantProps(e), [i, L] = N(t), { children: n, className: d, ...u } = L, c = w1(r);
9767
9767
  return /* @__PURE__ */ a(_6, { ref: l, className: E(c.root, O(i), d), ...u, children: [
9768
9768
  /* @__PURE__ */ a(V.Control, { className: c.control, children: [
9769
- /* @__PURE__ */ C(V.Indicator, { children: /* @__PURE__ */ C(V5, {}) }),
9770
- /* @__PURE__ */ C(V.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(_5, {}) })
9769
+ /* @__PURE__ */ C(V.Indicator, { children: /* @__PURE__ */ C(w5, {}) }),
9770
+ /* @__PURE__ */ C(V.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(V5, {}) })
9771
9771
  ] }),
9772
9772
  n,
9773
9773
  /* @__PURE__ */ C(V.HiddenInput, {})
9774
9774
  ] });
9775
9775
  });
9776
- B5.displayName = "CheckboxCard";
9776
+ F5.displayName = "CheckboxCard";
9777
9777
  const I7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9778
9778
  __proto__: null,
9779
9779
  Content: T6,
9780
9780
  Description: P6,
9781
9781
  Image: k6,
9782
- Root: B5,
9782
+ Root: F5,
9783
9783
  Title: S6
9784
9784
  }, Symbol.toStringTag, { value: "Module" })), q1 = e4({
9785
9785
  slots: ["root", "price", "unit"],
@@ -9856,7 +9856,7 @@ const I7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9856
9856
  ] });
9857
9857
  });
9858
9858
  I6.displayName = "PriceTag";
9859
- const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"), F6 = d1(o(p.h3), "title"), B6 = d1(o(p.img), "image"), A6 = d1(o("div"), "content"), E6 = d1(o("p"), "description"), N6 = d1(o("span"), "highlight"), z7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9859
+ const { withProvider: z6, withContext: d1 } = f(Q2), D6 = z6(o("div"), "root"), F6 = d1(o(p.h3), "title"), B6 = d1(o(p.img), "image"), A6 = d1(o("div"), "content"), E6 = d1(o("p"), "description"), N6 = d1(o("span"), "highlight"), z7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9860
9860
  __proto__: null,
9861
9861
  Content: A6,
9862
9862
  Description: E6,
@@ -10018,7 +10018,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10018
10018
  transform: "rotate(360deg)"
10019
10019
  }
10020
10020
  }
10021
- }), A5 = x({
10021
+ }), B5 = x({
10022
10022
  base: {
10023
10023
  _focusVisible: {
10024
10024
  ring: "2px solid {colors.primary.200}",
@@ -10299,7 +10299,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10299
10299
  size: "md"
10300
10300
  },
10301
10301
  jsx: ["Switch", "SwitchField"],
10302
- slots: c2.keys(),
10302
+ slots: L2.keys(),
10303
10303
  variants: {
10304
10304
  size: {
10305
10305
  md: {
@@ -10354,7 +10354,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10354
10354
  sm: { textStyle: "body.sm" }
10355
10355
  }
10356
10356
  }
10357
- }), E5 = x({
10357
+ }), A5 = x({
10358
10358
  base: {
10359
10359
  '&[type="time"]::-webkit-calendar-picker-indicator': {
10360
10360
  display: "none"
@@ -10414,7 +10414,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10414
10414
  base: {
10415
10415
  px: "space-16",
10416
10416
  py: "space-8",
10417
- ...E5.base
10417
+ ...A5.base
10418
10418
  }
10419
10419
  }), X6 = x({
10420
10420
  base: {
@@ -10455,7 +10455,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10455
10455
  className: "form-helper-text",
10456
10456
  description: "The styles for the FormHelperText component",
10457
10457
  jsx: ["FormHelperText"]
10458
- }), Q6 = u2.extendWith("header", "body", "footer"), J6 = M({
10458
+ }), Q6 = c2.extendWith("header", "body", "footer"), J6 = M({
10459
10459
  className: "drawer",
10460
10460
  slots: Q6.keys(),
10461
10461
  jsx: ["Drawer"],
@@ -10520,7 +10520,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10520
10520
  footer: {
10521
10521
  display: "flex",
10522
10522
  flexDirection: {
10523
- base: "column",
10523
+ base: "column-reverse",
10524
10524
  md: "row"
10525
10525
  },
10526
10526
  position: "absolute",
@@ -10578,7 +10578,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10578
10578
  }), K6 = M({
10579
10579
  className: "accordion",
10580
10580
  jsx: ["Accordion"],
10581
- slots: p2.keys(),
10581
+ slots: u2.keys(),
10582
10582
  base: {
10583
10583
  root: {
10584
10584
  display: "flex",
@@ -10720,7 +10720,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10720
10720
  jsx: ["FormLabel"]
10721
10721
  }), c1 = M({
10722
10722
  className: "checkbox",
10723
- slots: M2.keys(),
10723
+ slots: p2.keys(),
10724
10724
  jsx: ["Checkbox"],
10725
10725
  base: {
10726
10726
  root: {
@@ -10842,7 +10842,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
10842
10842
  }
10843
10843
  }), e9 = M({
10844
10844
  className: "tabs",
10845
- slots: s2.keys(),
10845
+ slots: M2.keys(),
10846
10846
  base: {
10847
10847
  root: {
10848
10848
  isolation: "isolate",
@@ -11186,7 +11186,7 @@ const { withProvider: z6, withContext: d1 } = f(J2), D6 = z6(o("div"), "root"),
11186
11186
  jsx: ["InputGroup"]
11187
11187
  }), Q1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", o9 = M({
11188
11188
  className: "datepicker",
11189
- slots: Z2.keys(),
11189
+ slots: s2.keys(),
11190
11190
  jsx: ["DatePicker"],
11191
11191
  base: {
11192
11192
  root: {
@@ -11880,7 +11880,7 @@ function v9(e) {
11880
11880
  function J1(e) {
11881
11881
  return Object.keys(e).concat(v9(e));
11882
11882
  }
11883
- function N5(e, l) {
11883
+ function E5(e, l) {
11884
11884
  try {
11885
11885
  return l in e;
11886
11886
  } catch {
@@ -11888,14 +11888,14 @@ function N5(e, l) {
11888
11888
  }
11889
11889
  }
11890
11890
  function g9(e, l) {
11891
- return N5(e, l) && !(Object.hasOwnProperty.call(e, l) && Object.propertyIsEnumerable.call(e, l));
11891
+ return E5(e, l) && !(Object.hasOwnProperty.call(e, l) && Object.propertyIsEnumerable.call(e, l));
11892
11892
  }
11893
11893
  function m9(e, l, r) {
11894
11894
  var t = {};
11895
11895
  return r.isMergeableObject(e) && J1(e).forEach(function(i) {
11896
11896
  t[i] = t1(e[i], r);
11897
11897
  }), J1(l).forEach(function(i) {
11898
- g9(e, i) || (N5(e, i) && r.isMergeableObject(l[i]) ? t[i] = f9(i, r)(e[i], l[i], r) : t[i] = t1(l[i], r));
11898
+ g9(e, i) || (E5(e, i) && r.isMergeableObject(l[i]) ? t[i] = f9(i, r)(e[i], l[i], r) : t[i] = t1(l[i], r));
11899
11899
  }), t;
11900
11900
  }
11901
11901
  function q(e, l, r) {
@@ -11912,7 +11912,7 @@ q.all = function(l, r) {
11912
11912
  };
11913
11913
  var R9 = q, b9 = R9;
11914
11914
  const y9 = /* @__PURE__ */ a9(b9), x9 = y9(
11915
- A5,
11915
+ B5,
11916
11916
  x({
11917
11917
  className: "icon-button",
11918
11918
  defaultVariants: {
@@ -11999,7 +11999,7 @@ const y9 = /* @__PURE__ */ a9(b9), x9 = y9(
11999
11999
  },
12000
12000
  className: "tooltip",
12001
12001
  jsx: ["Tooltip"],
12002
- slots: h2.keys()
12002
+ slots: Z2.keys()
12003
12003
  }), w9 = M({
12004
12004
  base: {
12005
12005
  root: {
@@ -12230,7 +12230,7 @@ const y9 = /* @__PURE__ */ a9(b9), x9 = y9(
12230
12230
  variants: {}
12231
12231
  }), k9 = M({
12232
12232
  className: "popover",
12233
- slots: f2.keys(),
12233
+ slots: h2.keys(),
12234
12234
  jsx: ["Popover", "PopoverTrigger", "PopoverContent", "PopoverCloseTrigger"],
12235
12235
  base: {
12236
12236
  positioner: {
@@ -12846,7 +12846,7 @@ const N9 = M({
12846
12846
  }
12847
12847
  }
12848
12848
  }), j9 = {
12849
- button: A5,
12849
+ button: B5,
12850
12850
  iconButton: x9,
12851
12851
  heading: G6,
12852
12852
  switchRecipe: X,
@@ -12854,7 +12854,7 @@ const N9 = M({
12854
12854
  textarea: Y6,
12855
12855
  formControl: X6,
12856
12856
  formHelperText: q6,
12857
- input: E5,
12857
+ input: A5,
12858
12858
  inputAddon: l9,
12859
12859
  inputGroup: r9,
12860
12860
  tableGroupTitle: _9,
@@ -13639,7 +13639,7 @@ var t8 = {
13639
13639
  transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
13640
13640
  };
13641
13641
  Object.values(t8).reduce((e, l) => (l.forEach((r) => e.add(r)), e), /* @__PURE__ */ new Set([]));
13642
- var i8 = 16, j5 = "px", W5 = "em", p1 = "rem", n8 = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), d8 = new RegExp(`${j5}|${W5}|${p1}`), a8 = new RegExp(`${n8.source}(${d8.source})`);
13642
+ var i8 = 16, N5 = "px", j5 = "em", p1 = "rem", n8 = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), d8 = new RegExp(`${N5}|${j5}|${p1}`), a8 = new RegExp(`${n8.source}(${d8.source})`);
13643
13643
  function L8(e = "") {
13644
13644
  const l = e.match(a8);
13645
13645
  return l == null ? void 0 : l[1];
@@ -13648,9 +13648,9 @@ function w(e = "") {
13648
13648
  const l = L8(e);
13649
13649
  if (!l || l === p1)
13650
13650
  return e;
13651
- if (l === W5)
13652
- return `${parseFloat(e)}${p1}`;
13653
13651
  if (l === j5)
13652
+ return `${parseFloat(e)}${p1}`;
13653
+ if (l === N5)
13654
13654
  return `${parseFloat(e) / i8}${p1}`;
13655
13655
  }
13656
13656
  const c8 = R.fontSizes({
@@ -13825,7 +13825,7 @@ export {
13825
13825
  R7 as Breadcrumb,
13826
13826
  g7 as BreadcrumbItem,
13827
13827
  m7 as BreadcrumbLink,
13828
- V1 as Button,
13828
+ _1 as Button,
13829
13829
  S7 as ButtonFilter,
13830
13830
  c4 as Checkbox,
13831
13831
  I7 as CheckboxCard,
@@ -13847,7 +13847,7 @@ export {
13847
13847
  $8 as FormHelperText,
13848
13848
  W8 as FormLabel,
13849
13849
  O8 as Heading,
13850
- _1 as IconButton,
13850
+ S1 as IconButton,
13851
13851
  _7 as Illustration,
13852
13852
  E1 as Input,
13853
13853
  N1 as InputAddon,