@stokelp/ui 1.31.0 → 1.33.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,63 +1,63 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as d, Fragment as q } from "react/jsx-runtime";
3
- import { Accordion as H, Checkbox as z, Dialog as k, ark as g, Portal as $, Tooltip as B, Switch as E, Tabs as F, Select as S, DatePicker as u, RadioGroup as C, Popover as I, switchAnatomy as De, dialogAnatomy as Ae, accordionAnatomy as Be, checkboxAnatomy as Fe, tabsAnatomy as Me, selectAnatomy as Ee, datePickerAnatomy as Ne, radioGroupAnatomy as be, tooltipAnatomy as He, popoverAnatomy as Ve } from "@ark-ui/react";
4
- import { styled as a, splitCssProps as M, Circle as je } from "@stokelp/styled-system/jsx";
5
- import { accordion as We, button as $e, checkbox as ne, drawer as Oe, formControl as Ze, tooltip as Ge, formLabel as J, formHelperText as Ye, heading as Ue, switchRecipe as le, text as Xe, textarea as qe, tabs as Je, select as Qe, input as Ke, inputAddon as et, inputGroup as tt, datepicker as rt, tag as se, radioButtonGroup as ot, radioGroup as at, chip as it, actionCard as nt, iconButton as lt, alert as st, tableContainer as ct, tableGroupTitle as dt, tableEmptyRow as pt, table as ut, breadcrumb as ht, popover as mt } from "@stokelp/styled-system/recipes";
6
- import { createContext as ye, forwardRef as m, useContext as xe, createElement as gt, useMemo as K, useReducer as bt, useEffect as yt, useRef as ve, useLayoutEffect as fe, Children as xt, cloneElement as ce } from "react";
7
- import { cx as D, css as V, sva as vt } from "@stokelp/styled-system/css";
8
- import * as ft from "react-is";
9
- import { defineKeyframes as wt, defineRecipe as w, defineSlotRecipe as b, defineSemanticTokens as Ct, defineTextStyles as St, defineTokens as y, defineUtility as Tt, definePreset as _t } from "@pandacss/dev";
10
- const de = (...t) => t.filter(Boolean).join(" "), x = (t, r) => {
11
- const o = ye(null);
2
+ import { jsx as e, jsxs as d, Fragment as le } from "react/jsx-runtime";
3
+ import { Accordion as U, Checkbox as E, Dialog as P, ark as y, Portal as Q, Tooltip as H, Switch as $, Tabs as j, Select as T, DatePicker as h, RadioGroup as S, Popover as B, switchAnatomy as Je, dialogAnatomy as Qe, accordionAnatomy as Ke, checkboxAnatomy as et, tabsAnatomy as tt, selectAnatomy as rt, datePickerAnatomy as ot, radioGroupAnatomy as Be, tooltipAnatomy as at, popoverAnatomy as it } from "@ark-ui/react";
4
+ import { styled as a, splitCssProps as W, Circle as nt } from "@stokelp/styled-system/jsx";
5
+ import { accordion as lt, button as st, checkbox as me, drawer as ct, formControl as dt, tooltip as pt, formLabel as se, formHelperText as ut, heading as ht, switchRecipe as be, text as gt, textarea as mt, tabs as bt, select as yt, input as xt, inputAddon as vt, inputGroup as ft, datepicker as wt, tag as ye, radioButtonGroup as Ct, radioGroup as St, chip as Tt, actionCard as _t, iconButton as kt, alert as Pt, tableContainer as Rt, tableGroupTitle as Lt, tableEmptyRow as It, table as zt, breadcrumb as Dt, popover as At, pagination as Bt } from "@stokelp/styled-system/recipes";
6
+ import { createContext as Fe, forwardRef as b, useContext as Me, createElement as Ee, useMemo as K, useReducer as Ft, useEffect as Mt, useRef as Ne, useLayoutEffect as Ve, Children as Et, cloneElement as xe, useState as Nt } from "react";
7
+ import { cx as N, css as Y, sva as Vt } from "@stokelp/styled-system/css";
8
+ import * as Ht from "react-is";
9
+ import { defineKeyframes as jt, defineRecipe as C, defineSlotRecipe as g, defineSemanticTokens as Wt, defineTextStyles as Zt, defineTokens as x, defineUtility as $t, definePreset as Ot } from "@pandacss/dev";
10
+ const ve = (...t) => t.filter(Boolean).join(" "), f = (t, r) => {
11
+ const o = Fe(null);
12
12
  return {
13
- withContext: (s, c, l) => c ? m((p, T) => {
14
- const R = xe(o), X = (r == null ? void 0 : r.dataAttr) ?? !1;
15
- return gt(s, {
16
- ...X && { "data-recipe-slot": c ?? "" },
13
+ withContext: (c, l, s) => l ? b((p, v) => {
14
+ const _ = Me(o), z = (r == null ? void 0 : r.dataAttr) ?? !1;
15
+ return Ee(c, {
16
+ ...z && { "data-recipe-slot": l ?? "" },
17
17
  ...p,
18
- ...l == null ? void 0 : l.defaultProps,
19
- className: de(R == null ? void 0 : R[c ?? ""], p.className),
20
- ref: T
18
+ ...s == null ? void 0 : s.defaultProps,
19
+ className: ve(_ == null ? void 0 : _[l ?? ""], p.className),
20
+ ref: v
21
21
  });
22
- }) : s,
23
- withProvider: (s, c, l) => m((p, T) => {
24
- const [R, { children: X, ...ae }] = t.splitVariantProps({
22
+ }) : c,
23
+ withProvider: (c, l, s) => b((p, v) => {
24
+ const [_, { children: z, ...M }] = t.splitVariantProps({
25
25
  ...p,
26
- ...l == null ? void 0 : l.defaultProps
27
- }), ie = t(R), ze = (r == null ? void 0 : r.dataAttr) ?? !1;
28
- return /* @__PURE__ */ e(o.Provider, { value: ie, children: /* @__PURE__ */ d(
29
- s,
26
+ ...s == null ? void 0 : s.defaultProps
27
+ }), D = t(_), L = (r == null ? void 0 : r.dataAttr) ?? !1;
28
+ return /* @__PURE__ */ e(o.Provider, { value: D, children: /* @__PURE__ */ d(
29
+ c,
30
30
  {
31
- ref: T,
32
- ...ze && { "data-recipe-slot": c ?? "" },
33
- ...ae,
34
- className: de(ie[c ?? ""], ae.className),
31
+ ref: v,
32
+ ...L && { "data-recipe-slot": l ?? "" },
33
+ ...M,
34
+ className: ve(D[l ?? ""], M.className),
35
35
  children: [
36
- l == null ? void 0 : l.beforeSlot,
37
- X,
38
- l == null ? void 0 : l.afterSlot
36
+ s == null ? void 0 : s.beforeSlot,
37
+ z,
38
+ s == null ? void 0 : s.afterSlot
39
39
  ]
40
40
  }
41
41
  ) });
42
42
  })
43
43
  };
44
- }, { withProvider: kt, withContext: O } = x(We), qa = kt(a(H.Root), "root"), Ja = O(a(H.Item), "item"), Qa = O(a(H.ItemContent), "itemContent"), Ka = O(a(H.ItemIndicator), "itemIndicator", {
44
+ }, { withProvider: Gt, withContext: ee } = f(lt), mi = Gt(a(U.Root), "root"), bi = ee(a(U.Item), "item"), yi = ee(a(U.ItemContent), "itemContent"), xi = ee(a(U.ItemIndicator), "itemIndicator", {
45
45
  defaultProps: {
46
46
  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" }) })
47
47
  }
48
- }), ei = O(a(H.ItemTrigger), "itemTrigger"), Q = a("button", $e), Pt = m((t, r) => {
49
- const [o, i] = ne.splitVariantProps(t), [n, s] = M(i), { children: c, className: l, ...v } = s, p = ne(o);
50
- return /* @__PURE__ */ d(z.Root, { ref: r, className: D(p.root, V(n), l), ...v, children: [
51
- /* @__PURE__ */ d(z.Control, { className: p.control, children: [
52
- /* @__PURE__ */ e(z.Indicator, { children: /* @__PURE__ */ e(Rt, {}) }),
53
- /* @__PURE__ */ e(z.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(It, {}) })
48
+ }), vi = ee(a(U.ItemTrigger), "itemTrigger"), ce = a("button", st), Ut = b((t, r) => {
49
+ const [o, i] = me.splitVariantProps(t), [n, c] = W(i), { children: l, className: s, ...u } = c, p = me(o);
50
+ return /* @__PURE__ */ d(E.Root, { ref: r, className: N(p.root, Y(n), s), ...u, children: [
51
+ /* @__PURE__ */ d(E.Control, { className: p.control, children: [
52
+ /* @__PURE__ */ e(E.Indicator, { children: /* @__PURE__ */ e(Yt, {}) }),
53
+ /* @__PURE__ */ e(E.Indicator, { indeterminate: !0, children: /* @__PURE__ */ e(Xt, {}) })
54
54
  ] }),
55
- c && /* @__PURE__ */ e(z.Label, { className: p.label, children: c }),
56
- /* @__PURE__ */ e(z.HiddenInput, {})
55
+ l && /* @__PURE__ */ e(E.Label, { className: p.label, children: l }),
56
+ /* @__PURE__ */ e(E.HiddenInput, {})
57
57
  ] });
58
58
  });
59
- Pt.displayName = "Checkbox";
60
- const Rt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
59
+ Ut.displayName = "Checkbox";
60
+ const Yt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
61
61
  /* @__PURE__ */ e("title", { children: "Check Icon" }),
62
62
  /* @__PURE__ */ e(
63
63
  "path",
@@ -66,18 +66,18 @@ const Rt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none",
66
66
  fill: "white"
67
67
  }
68
68
  )
69
- ] }), It = () => /* @__PURE__ */ d("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
69
+ ] }), Xt = () => /* @__PURE__ */ d("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
70
70
  /* @__PURE__ */ e("title", { children: "Minus Icon" }),
71
71
  /* @__PURE__ */ e("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
72
- ] }), { withProvider: Lt, withContext: P } = x(Oe), ti = Lt(k.Root, void 0, {
72
+ ] }), { withProvider: qt, withContext: R } = f(ct), fi = qt(P.Root, void 0, {
73
73
  defaultProps: {
74
74
  unmountOnExit: !0,
75
75
  lazyMount: !0
76
76
  }
77
- }), ri = P(a(g.main), "body"), zt = P(a(k.CloseTrigger), "closeTrigger"), oi = P(a(g.footer), "footer"), we = m(
78
- ({ children: t, showCloseTrigger: r = !0, ...o }, i) => /* @__PURE__ */ d(g.header, { ...o, ref: i, children: [
77
+ }), wi = R(a(y.main), "body"), Jt = R(a(P.CloseTrigger), "closeTrigger"), Ci = R(a(y.footer), "footer"), He = b(
78
+ ({ children: t, showCloseTrigger: r = !0, ...o }, i) => /* @__PURE__ */ d(y.header, { ...o, ref: i, children: [
79
79
  t,
80
- r && /* @__PURE__ */ e(zt, { asChild: !0, children: /* @__PURE__ */ e(Q, { 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
+ r && /* @__PURE__ */ e(Jt, { asChild: !0, children: /* @__PURE__ */ e(ce, { 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(
81
81
  "path",
82
82
  {
83
83
  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",
@@ -86,25 +86,25 @@ const Rt = () => /* @__PURE__ */ d("svg", { viewBox: "0 0 12 13", fill: "none",
86
86
  ) }) }) })
87
87
  ] })
88
88
  );
89
- we.displayName = "DrawerHeader";
90
- const ai = P(we, "header"), ii = P(a(k.Title), "title"), ni = P(a(k.Trigger), "trigger"), Dt = P(a(k.Positioner), "positioner"), At = P(a(k.Backdrop), "backdrop"), Ce = m(
91
- ({ children: t, ...r }, o) => /* @__PURE__ */ d($, { children: [
92
- /* @__PURE__ */ e(At, {}),
93
- /* @__PURE__ */ e(Dt, { children: /* @__PURE__ */ e(k.Content, { ref: o, ...r, children: t }) })
89
+ He.displayName = "DrawerHeader";
90
+ const Si = R(He, "header"), Ti = R(a(P.Title), "title"), _i = R(a(P.Trigger), "trigger"), Qt = R(a(P.Positioner), "positioner"), Kt = R(a(P.Backdrop), "backdrop"), je = b(
91
+ ({ children: t, ...r }, o) => /* @__PURE__ */ d(Q, { children: [
92
+ /* @__PURE__ */ e(Kt, {}),
93
+ /* @__PURE__ */ e(Qt, { children: /* @__PURE__ */ e(P.Content, { ref: o, ...r, children: t }) })
94
94
  ] })
95
95
  );
96
- Ce.displayName = k.Content.displayName;
97
- const li = P(a(Ce), "content"), si = k.Context, Bt = a("div", Ze, {
96
+ je.displayName = P.Content.displayName;
97
+ const ki = R(a(je), "content"), Pi = P.Context, er = a("div", dt, {
98
98
  defaultProps: {
99
99
  role: "group"
100
100
  }
101
- }), ci = ({ isInvalid: t, isRequired: r, ...o }) => {
101
+ }), Ri = ({ isInvalid: t, isRequired: r, ...o }) => {
102
102
  const i = {
103
103
  ...t ? { "aria-invalid": !0 } : {},
104
104
  ...r ? { "aria-required": !0 } : {}
105
105
  };
106
- return /* @__PURE__ */ e(Bt, { ...i, ...o });
107
- }, { withProvider: Ft, withContext: j } = x(Ge), Mt = Ft(a(B.Root), void 0, {
106
+ return /* @__PURE__ */ e(er, { ...i, ...o });
107
+ }, { withProvider: tr, withContext: X } = f(pt), rr = tr(a(H.Root), void 0, {
108
108
  defaultProps: {
109
109
  closeDelay: 50,
110
110
  closeOnPointerDown: !1,
@@ -113,24 +113,24 @@ const li = P(a(Ce), "content"), si = k.Context, Bt = a("div", Ze, {
113
113
  openDelay: 200,
114
114
  unmountOnExit: !0
115
115
  }
116
- }), Et = j(a(B.Arrow), "arrow"), Nt = j(a(B.ArrowTip), "arrowTip"), Ht = j(a(B.Content), "content"), Vt = j(a(B.Positioner), "positioner"), jt = j(a(B.Trigger), "trigger"), Wt = ({ label: t, children: r, withArrow: o = !0, ...i }) => {
117
- const [n, s] = M(i);
118
- return /* @__PURE__ */ d(Mt, { ...s, children: [
119
- /* @__PURE__ */ e(jt, { asChild: !0, children: r }),
120
- /* @__PURE__ */ e(Vt, { children: /* @__PURE__ */ d(Ht, { ...n, children: [
121
- o ? /* @__PURE__ */ e(Et, { children: /* @__PURE__ */ e(Nt, {}) }) : null,
116
+ }), or = X(a(H.Arrow), "arrow"), ar = X(a(H.ArrowTip), "arrowTip"), ir = X(a(H.Content), "content"), nr = X(a(H.Positioner), "positioner"), lr = X(a(H.Trigger), "trigger"), sr = ({ label: t, children: r, withArrow: o = !0, ...i }) => {
117
+ const [n, c] = W(i);
118
+ return /* @__PURE__ */ d(rr, { ...c, children: [
119
+ /* @__PURE__ */ e(lr, { asChild: !0, children: r }),
120
+ /* @__PURE__ */ e(nr, { children: /* @__PURE__ */ d(ir, { ...n, children: [
121
+ o ? /* @__PURE__ */ e(or, { children: /* @__PURE__ */ e(ar, {}) }) : null,
122
122
  t
123
123
  ] }) })
124
124
  ] });
125
- }, $t = a("label", J), di = (t) => {
126
- const [r, o] = J.splitVariantProps(t), [i, n] = M(o), { children: s, className: c, addon: l, tooltipInformation: v, ...p } = n, T = J(r);
127
- return /* @__PURE__ */ d($t, { className: D(T.root, V(i), c), ...p, children: [
128
- s,
129
- l ? /* @__PURE__ */ e(a.span, { className: T.addon, children: l }) : null,
130
- v ? /* @__PURE__ */ e(Wt, { label: v, children: /* @__PURE__ */ e(
125
+ }, cr = a("label", se), Li = (t) => {
126
+ const [r, o] = se.splitVariantProps(t), [i, n] = W(o), { children: c, className: l, addon: s, tooltipInformation: u, ...p } = n, v = se(r);
127
+ return /* @__PURE__ */ d(cr, { className: N(v.root, Y(i), l), ...p, children: [
128
+ c,
129
+ s ? /* @__PURE__ */ e(a.span, { className: v.addon, children: s }) : null,
130
+ u ? /* @__PURE__ */ e(sr, { label: u, children: /* @__PURE__ */ e(
131
131
  a.svg,
132
132
  {
133
- className: T.icon,
133
+ className: v.icon,
134
134
  width: "16",
135
135
  height: "16",
136
136
  viewBox: "0 0 16 16",
@@ -146,59 +146,59 @@ const li = P(a(Ce), "content"), si = k.Context, Bt = a("div", Ze, {
146
146
  }
147
147
  ) }) : null
148
148
  ] });
149
- }, pi = a("p", Ye, {
149
+ }, Ii = a("p", ut, {
150
150
  dataAttr: !0
151
- }), ui = (t) => {
152
- const { as: r = "h2", ...o } = t, i = K(() => a(r, Ue), [r]);
151
+ }), zi = (t) => {
152
+ const { as: r = "h2", ...o } = t, i = K(() => a(r, ht), [r]);
153
153
  return /* @__PURE__ */ e(i, { size: r, ...o });
154
- }, Ot = m((t, r) => {
155
- const [o, i] = le.splitVariantProps(t), [n, s] = M(i), { children: c, className: l, ...v } = s, p = le(o);
156
- return /* @__PURE__ */ d(E.Root, { ref: r, className: D(p.root, V(n), l), ...v, children: [
157
- /* @__PURE__ */ e(E.Control, { className: p.control, children: /* @__PURE__ */ e(E.Thumb, { className: p.thumb }) }),
158
- c ? /* @__PURE__ */ e(E.Label, { className: p.label, children: c }) : null,
159
- /* @__PURE__ */ e(E.HiddenInput, {})
154
+ }, dr = b((t, r) => {
155
+ const [o, i] = be.splitVariantProps(t), [n, c] = W(i), { children: l, className: s, ...u } = c, p = be(o);
156
+ return /* @__PURE__ */ d($.Root, { ref: r, className: N(p.root, Y(n), s), ...u, children: [
157
+ /* @__PURE__ */ e($.Control, { className: p.control, children: /* @__PURE__ */ e($.Thumb, { className: p.thumb }) }),
158
+ l ? /* @__PURE__ */ e($.Label, { className: p.label, children: l }) : null,
159
+ /* @__PURE__ */ e($.HiddenInput, {})
160
160
  ] });
161
161
  });
162
- Ot.displayName = "Switch";
163
- const Zt = (t) => {
164
- const { as: r = "p", ...o } = t, i = K(() => a(r, Xe), [r]);
162
+ dr.displayName = "Switch";
163
+ const pr = (t) => {
164
+ const { as: r = "p", ...o } = t, i = K(() => a(r, gt), [r]);
165
165
  return /* @__PURE__ */ e(i, { ...o });
166
- }, hi = a(g.textarea, qe), { withProvider: Gt, withContext: Z } = x(Je), mi = Gt(a(F.Root), "root", {
166
+ }, Di = a(y.textarea, mt), { withProvider: ur, withContext: te } = f(bt), Ai = ur(a(j.Root), "root", {
167
167
  defaultProps: {
168
168
  lazyMount: !0
169
169
  }
170
- }), gi = Z(a(F.Content), "content"), bi = Z(a(F.Trigger), "trigger"), Yt = Z(a(F.Indicator), "indicator"), Se = m(
171
- ({ children: t, ...r }, o) => /* @__PURE__ */ d(F.List, { ref: o, ...r, children: [
170
+ }), Bi = te(a(j.Content), "content"), Fi = te(a(j.Trigger), "trigger"), hr = te(a(j.Indicator), "indicator"), We = b(
171
+ ({ children: t, ...r }, o) => /* @__PURE__ */ d(j.List, { ref: o, ...r, children: [
172
172
  t,
173
- /* @__PURE__ */ e(Yt, {})
173
+ /* @__PURE__ */ e(hr, {})
174
174
  ] })
175
175
  );
176
- Se.displayName = F.List.displayName;
177
- const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r === !0 ? o(t) : t, { withProvider: Xt, withContext: _ } = x(Qe), qt = Xt(a(S.Root), "root", {
176
+ We.displayName = j.List.displayName;
177
+ const Mi = te(a(We), "list"), gr = ({ children: t, when: r, wrapper: o }) => r === !0 ? o(t) : t, { withProvider: mr, withContext: k } = f(yt), br = mr(a(T.Root), "root", {
178
178
  defaultProps: {
179
179
  loopFocus: !0
180
180
  }
181
- }), Jt = _(a(S.ClearTrigger), "clearTrigger"), Qt = _(a(S.Content), "content"), Kt = _(a(S.Control), "control"), er = _(a(S.Indicator), "indicator"), tr = _(a(S.Item), "item"), rr = _(a(S.ItemIndicator), "itemIndicator"), or = _(a(S.ItemText), "itemText"), ar = _(a(S.Positioner), "positioner"), ir = _(a(S.Trigger), "trigger"), nr = _(a(S.ValueText), "valueText"), xi = ({
181
+ }), yr = k(a(T.ClearTrigger), "clearTrigger"), xr = k(a(T.Content), "content"), vr = k(a(T.Control), "control"), fr = k(a(T.Indicator), "indicator"), wr = k(a(T.Item), "item"), Cr = k(a(T.ItemIndicator), "itemIndicator"), Sr = k(a(T.ItemText), "itemText"), Tr = k(a(T.Positioner), "positioner"), _r = k(a(T.Trigger), "trigger"), kr = k(a(T.ValueText), "valueText"), Ei = ({
182
182
  items: t,
183
183
  placeholder: r,
184
184
  emptyLabel: o,
185
185
  usePortal: i = !0,
186
186
  positioning: n,
187
- ...s
187
+ ...c
188
188
  }) => /* @__PURE__ */ d(
189
- qt,
189
+ br,
190
190
  {
191
191
  lazyMount: !0,
192
192
  unmountOnExit: !0,
193
193
  items: t,
194
194
  positioning: { sameWidth: !0, gutter: 0, ...n },
195
195
  "data-recipe": "select",
196
- ...s,
196
+ ...c,
197
197
  children: [
198
- /* @__PURE__ */ d(Kt, { children: [
199
- /* @__PURE__ */ d(ir, { children: [
200
- /* @__PURE__ */ e(nr, { truncate: !0, placeholder: r }),
201
- /* @__PURE__ */ e(er, { asChild: !0, children: /* @__PURE__ */ e(a.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
198
+ /* @__PURE__ */ d(vr, { children: [
199
+ /* @__PURE__ */ d(_r, { children: [
200
+ /* @__PURE__ */ e(kr, { truncate: !0, placeholder: r }),
201
+ /* @__PURE__ */ e(fr, { asChild: !0, children: /* @__PURE__ */ e(a.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
202
202
  "path",
203
203
  {
204
204
  d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
@@ -206,7 +206,7 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
206
206
  }
207
207
  ) }) })
208
208
  ] }),
209
- /* @__PURE__ */ e(Jt, { 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
+ /* @__PURE__ */ e(yr, { 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(
210
210
  "path",
211
211
  {
212
212
  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",
@@ -214,23 +214,23 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
214
214
  }
215
215
  ) }) }) })
216
216
  ] }),
217
- /* @__PURE__ */ e(Ut, { when: i, wrapper: (c) => /* @__PURE__ */ e($, { children: c }), children: /* @__PURE__ */ e(ar, { children: /* @__PURE__ */ e(Qt, { children: t.length === 0 ? /* @__PURE__ */ e(Zt, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : t.map((c) => /* @__PURE__ */ d(tr, { item: c, children: [
218
- /* @__PURE__ */ e(or, { truncate: !0, children: c.label }),
219
- s.multiple ? /* @__PURE__ */ e(rr, { children: "✓" }) : null
220
- ] }, c.value)) }) }) }),
221
- /* @__PURE__ */ e(S.HiddenSelect, {})
217
+ /* @__PURE__ */ e(gr, { when: i, wrapper: (l) => /* @__PURE__ */ e(Q, { children: l }), children: /* @__PURE__ */ e(Tr, { children: /* @__PURE__ */ e(xr, { children: t.length === 0 ? /* @__PURE__ */ e(pr, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : t.map((l) => /* @__PURE__ */ d(wr, { item: l, children: [
218
+ /* @__PURE__ */ e(Sr, { truncate: !0, children: l.label }),
219
+ c.multiple ? /* @__PURE__ */ e(Cr, { children: "✓" }) : null
220
+ ] }, l.value)) }) }) }),
221
+ /* @__PURE__ */ e(T.HiddenSelect, {})
222
222
  ]
223
223
  }
224
- ), lr = a("input", Ke, {
224
+ ), fe = a("input", xt, {
225
225
  dataAttr: !0
226
- }), sr = a(g.div, et, {
226
+ }), we = a(y.div, vt, {
227
227
  dataAttr: !0
228
- }), cr = a("div", tt, {
228
+ }), Ce = a("div", ft, {
229
229
  dataAttr: !0
230
- }), vi = (t) => {
230
+ }), Ni = (t) => {
231
231
  const { as: r = "div", ...o } = t, i = K(() => a(r), [r]);
232
232
  return /* @__PURE__ */ e(i, { ...o });
233
- }, { withProvider: dr, withContext: h } = x(rt), pr = dr(u.Root, "root", {
233
+ }, { withProvider: Pr, withContext: m } = f(wt), Rr = Pr(h.Root, "root", {
234
234
  defaultProps: {
235
235
  positioning: {
236
236
  placement: "bottom-start"
@@ -241,61 +241,76 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
241
241
  lazyMount: !0,
242
242
  startOfWeek: 6
243
243
  }
244
- }), ur = h(u.Content, "content"), hr = h(u.Control, "control"), mr = h(u.Input, "input"), gr = h(u.MonthSelect, "monthSelect"), br = h(u.NextTrigger, "nextTrigger"), yr = h(u.Positioner, "positioner"), xr = h(u.PrevTrigger, "prevTrigger"), vr = h(u.TableBody, "tableBody"), fr = h(u.TableCell, "tableCell"), wr = h(u.TableCellTrigger, "tableCellTrigger"), Cr = h(u.TableHead, "tableHead"), Sr = h(u.TableHeader, "tableHeader"), Tr = h(u.Table, "table"), pe = h(u.TableRow, "tableRow"), _r = h(u.Trigger, "trigger"), kr = h(u.ViewControl, "viewControl"), Pr = h(u.View, "view"), Rr = h(u.YearSelect, "yearSelect"), Ir = h(a(u.ClearTrigger), "clearTrigger"), Lr = () => /* @__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
+ }), Lr = m(h.Content, "content"), Ir = m(h.Control, "control"), Se = m(h.Input, "input"), zr = m(h.MonthSelect, "monthSelect"), Dr = m(h.NextTrigger, "nextTrigger"), Ar = m(h.Positioner, "positioner"), Br = m(h.PrevTrigger, "prevTrigger"), Fr = m(h.TableBody, "tableBody"), Mr = m(h.TableCell, "tableCell"), Er = m(h.TableCellTrigger, "tableCellTrigger"), Nr = m(h.TableHead, "tableHead"), Vr = m(h.TableHeader, "tableHeader"), Hr = m(h.Table, "table"), Te = m(h.TableRow, "tableRow"), _e = m(h.Trigger, "trigger"), jr = m(h.ViewControl, "viewControl"), Wr = m(h.View, "view"), Zr = m(h.YearSelect, "yearSelect"), ke = m(a(h.ClearTrigger), "clearTrigger"), Pe = () => /* @__PURE__ */ e("svg", { width: "23", height: "24", viewBox: "0 0 23 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
245
245
  "path",
246
246
  {
247
247
  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",
248
248
  fill: "#1E3A76"
249
249
  }
250
- ) }), zr = () => /* @__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" }) }), 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: "M6.46979 4L5.52979 4.94L8.58312 8L5.52979 11.06L6.46979 12L10.4698 8L6.46979 4Z", fill: "currentColor" }) }), fi = ({ placeholder: t, preflightClassName: r, ...o }) => /* @__PURE__ */ d(pr, { ...o, children: [
251
- /* @__PURE__ */ e(hr, { asChild: !0, children: /* @__PURE__ */ d(cr, { children: [
252
- /* @__PURE__ */ e(mr, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(lr, {}) }),
253
- /* @__PURE__ */ d(sr, { children: [
254
- /* @__PURE__ */ e(Ir, { 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(
255
- "path",
256
- {
257
- 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",
258
- fill: "currentColor"
259
- }
260
- ) }) }) }),
261
- /* @__PURE__ */ e(_r, { children: /* @__PURE__ */ e(Lr, {}) })
262
- ] })
263
- ] }) }),
264
- /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(yr, { className: r, children: /* @__PURE__ */ e(ur, { children: /* @__PURE__ */ e(Pr, { view: "day", children: /* @__PURE__ */ e(u.Context, { children: (i) => /* @__PURE__ */ d(q, { children: [
265
- /* @__PURE__ */ d(kr, { children: [
266
- /* @__PURE__ */ e(xr, { asChild: !0, children: /* @__PURE__ */ e(Q, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(zr, {}) }) }),
267
- /* @__PURE__ */ e(gr, {}),
268
- /* @__PURE__ */ e(Rr, {}),
269
- /* @__PURE__ */ e(br, { asChild: !0, children: /* @__PURE__ */ e(Q, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Dr, {}) }) })
250
+ ) }), $r = () => /* @__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" }) }), Or = () => /* @__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" }) }), Vi = ({ placeholder: t, preflightClassName: r, selectionMode: o, ...i }) => /* @__PURE__ */ d(Rr, { ...i, selectionMode: o, children: [
251
+ /* @__PURE__ */ d(Ir, { children: [
252
+ /* @__PURE__ */ d(Ce, { children: [
253
+ /* @__PURE__ */ e(Se, { asChild: !0, index: 0, placeholder: t, children: /* @__PURE__ */ e(fe, {}) }),
254
+ /* @__PURE__ */ d(we, { children: [
255
+ /* @__PURE__ */ e(ke, { 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(
256
+ "path",
257
+ {
258
+ 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",
259
+ fill: "currentColor"
260
+ }
261
+ ) }) }) }),
262
+ /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ e(Pe, {}) })
263
+ ] })
270
264
  ] }),
271
- /* @__PURE__ */ d(Tr, { children: [
272
- /* @__PURE__ */ e(Cr, { children: /* @__PURE__ */ e(pe, { children: i.weekDays.map((n, s) => /* @__PURE__ */ e(Sr, { children: n.short }, s)) }) }),
273
- /* @__PURE__ */ e(vr, { children: i.weeks.map((n, s) => /* @__PURE__ */ e(pe, { children: n.map((c, l) => /* @__PURE__ */ e(fr, { value: c, children: /* @__PURE__ */ e(wr, { asChild: !0, children: /* @__PURE__ */ e("button", { children: c.day }) }) }, l)) }, s)) })
265
+ o === "range" ? /* @__PURE__ */ d(Ce, { children: [
266
+ /* @__PURE__ */ e(Se, { asChild: !0, index: 1, placeholder: t, children: /* @__PURE__ */ e(fe, {}) }),
267
+ /* @__PURE__ */ d(we, { children: [
268
+ /* @__PURE__ */ e(h.Context, { children: (c) => c.value.length === 2 ? /* @__PURE__ */ e(ke, { 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(
269
+ "path",
270
+ {
271
+ 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",
272
+ fill: "currentColor"
273
+ }
274
+ ) }) }) }) : null }),
275
+ /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ e(Pe, {}) })
276
+ ] })
277
+ ] }) : null
278
+ ] }),
279
+ /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(Ar, { className: r, children: /* @__PURE__ */ e(Lr, { children: /* @__PURE__ */ e(Wr, { view: "day", children: /* @__PURE__ */ e(h.Context, { children: (c) => /* @__PURE__ */ d(le, { children: [
280
+ /* @__PURE__ */ d(jr, { children: [
281
+ /* @__PURE__ */ e(Br, { asChild: !0, children: /* @__PURE__ */ e(ce, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e($r, {}) }) }),
282
+ /* @__PURE__ */ e(zr, {}),
283
+ /* @__PURE__ */ e(Zr, {}),
284
+ /* @__PURE__ */ e(Dr, { asChild: !0, children: /* @__PURE__ */ e(ce, { p: "space-8", variant: "secondary", size: "sm", children: /* @__PURE__ */ e(Or, {}) }) })
285
+ ] }),
286
+ /* @__PURE__ */ d(Hr, { children: [
287
+ /* @__PURE__ */ e(Nr, { children: /* @__PURE__ */ e(Te, { children: c.weekDays.map((l, s) => /* @__PURE__ */ e(Vr, { children: l.short }, s)) }) }),
288
+ /* @__PURE__ */ e(Fr, { children: c.weeks.map((l, s) => /* @__PURE__ */ e(Te, { children: l.map((u, p) => /* @__PURE__ */ e(Mr, { value: u, children: /* @__PURE__ */ e(Er, { asChild: !0, children: /* @__PURE__ */ e("button", { children: u.day }) }) }, p)) }, s)) })
274
289
  ] })
275
290
  ] }) }) }) }) }) })
276
- ] }), wi = m((t, r) => {
277
- const [o, i] = se.splitVariantProps(t), [n, s] = M(i), { children: c, className: l, ...v } = s, p = se(o);
278
- return /* @__PURE__ */ d(g.div, { ref: r, className: D(p.root, V(n), l), ...v, children: [
279
- c,
280
- /* @__PURE__ */ e(je, { className: D(p.badge) })
291
+ ] }), Hi = b((t, r) => {
292
+ const [o, i] = ye.splitVariantProps(t), [n, c] = W(i), { children: l, className: s, ...u } = c, p = ye(o);
293
+ return /* @__PURE__ */ d(y.div, { ref: r, className: N(p.root, Y(n), s), ...u, children: [
294
+ l,
295
+ /* @__PURE__ */ e(nt, { className: N(p.badge) })
281
296
  ] });
282
- }), { withProvider: Ar, withContext: G } = x(ot), Br = G(a(C.ItemControl), "itemControl"), Fr = G(a(C.ItemText), "itemText"), Mr = m(({ children: t, value: r, ...o }, i) => /* @__PURE__ */ d(C.Item, { ref: i, ...o, value: r, children: [
283
- /* @__PURE__ */ e(Fr, { children: t }),
284
- /* @__PURE__ */ e(Br, {}),
285
- /* @__PURE__ */ e(C.ItemHiddenInput, {})
286
- ] })), Ci = Ar(a(C.Root), "root", {
297
+ }), { withProvider: Gr, withContext: re } = f(Ct), Ur = re(a(S.ItemControl), "itemControl"), Yr = re(a(S.ItemText), "itemText"), Xr = b(({ children: t, value: r, ...o }, i) => /* @__PURE__ */ d(S.Item, { ref: i, ...o, value: r, children: [
298
+ /* @__PURE__ */ e(Yr, { children: t }),
299
+ /* @__PURE__ */ e(Ur, {}),
300
+ /* @__PURE__ */ e(S.ItemHiddenInput, {})
301
+ ] })), ji = Gr(a(S.Root), "root", {
287
302
  defaultProps: {
288
303
  orientation: "horizontal"
289
304
  }
290
- }), Si = G(a(Mr), "item"), Ti = G(a(C.Label), "label"), { withProvider: Er, withContext: Y } = x(at), Nr = Y(a(C.ItemControl), "itemControl"), Hr = Y(a(C.ItemText), "itemText"), Vr = m(({ children: t, value: r, ...o }, i) => /* @__PURE__ */ d(C.Item, { ref: i, ...o, value: r, children: [
291
- /* @__PURE__ */ e(Nr, {}),
292
- /* @__PURE__ */ e(Hr, { children: t }),
293
- /* @__PURE__ */ e(C.ItemHiddenInput, {})
294
- ] })), _i = Er(a(C.Root), "root", {
305
+ }), Wi = re(a(Xr), "item"), Zi = re(a(S.Label), "label"), { withProvider: qr, withContext: oe } = f(St), Jr = oe(a(S.ItemControl), "itemControl"), Qr = oe(a(S.ItemText), "itemText"), Kr = b(({ children: t, value: r, ...o }, i) => /* @__PURE__ */ d(S.Item, { ref: i, ...o, value: r, children: [
306
+ /* @__PURE__ */ e(Jr, {}),
307
+ /* @__PURE__ */ e(Qr, { children: t }),
308
+ /* @__PURE__ */ e(S.ItemHiddenInput, {})
309
+ ] })), $i = qr(a(S.Root), "root", {
295
310
  defaultProps: {
296
311
  orientation: "horizontal"
297
312
  }
298
- }), ki = Y(a(Vr), "item"), Pi = Y(a(C.Label), "label"), { withProvider: jr, withContext: ee } = x(it), Ri = jr(a(g.span), "root"), Ii = ee(a("img"), "avatar"), Li = ee(a(g.p), "body"), zi = ee(a(g.button), "clearTrigger", {
313
+ }), Oi = oe(a(Kr), "item"), Gi = oe(a(S.Label), "label"), { withProvider: eo, withContext: pe } = f(Tt), Ui = eo(a(y.span), "root"), Yi = pe(a("img"), "avatar"), Xi = pe(a(y.p), "body"), qi = pe(a(y.button), "clearTrigger", {
299
314
  defaultProps: {
300
315
  type: "button",
301
316
  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(
@@ -306,14 +321,14 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
306
321
  }
307
322
  ) })
308
323
  }
309
- }), { withProvider: Wr, withContext: te } = x(nt, {
324
+ }), { withProvider: to, withContext: ue } = f(_t, {
310
325
  dataAttr: !0
311
- }), $r = te(a(g.svg), "icon"), Di = Wr(a(g.button), "root", {
326
+ }), ro = ue(a(y.svg), "icon"), Ji = to(a(y.button), "root", {
312
327
  defaultProps: {
313
328
  role: "group"
314
329
  },
315
- afterSlot: /* @__PURE__ */ e($r, { 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" }) })
316
- }), Ai = te(a(g.h3), "title"), Bi = te(a(g.p), "description"), Or = a("button", lt), { withProvider: Zr, withContext: re } = x(st), Gr = Zr(a(g.div), "root"), Yr = re(a(g.svg), "icon"), Ur = re(a(g.h3), "title"), Xr = re(a(g.p), "description"), qr = (t) => {
330
+ afterSlot: /* @__PURE__ */ e(ro, { 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" }) })
331
+ }), Qi = ue(a(y.h3), "title"), Ki = ue(a(y.p), "description"), de = a("button", kt), { withProvider: oo, withContext: he } = f(Pt), ao = oo(a(y.div), "root"), io = he(a(y.svg), "icon"), no = he(a(y.h3), "title"), lo = he(a(y.p), "description"), so = (t) => {
317
332
  switch (t) {
318
333
  default:
319
334
  case "neutral":
@@ -357,12 +372,12 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
357
372
  }
358
373
  ) });
359
374
  }
360
- }, Fi = m(
361
- ({ title: t, description: r, showDismissTrigger: o, onDismiss: i, severity: n, showIcon: s = !0, ...c }, l) => /* @__PURE__ */ d(Gr, { ref: l, severity: n, ...c, children: [
362
- /* @__PURE__ */ d(Ur, { children: [
363
- s ? /* @__PURE__ */ e(Yr, { asChild: !0, children: qr(n) }) : null,
375
+ }, en = b(
376
+ ({ title: t, description: r, showDismissTrigger: o, onDismiss: i, severity: n, showIcon: c = !0, ...l }, s) => /* @__PURE__ */ d(ao, { ref: s, severity: n, ...l, children: [
377
+ /* @__PURE__ */ d(no, { children: [
378
+ c ? /* @__PURE__ */ e(io, { asChild: !0, children: so(n) }) : null,
364
379
  t,
365
- o ? /* @__PURE__ */ e(Or, { 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(
380
+ o ? /* @__PURE__ */ e(de, { 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(
366
381
  "path",
367
382
  {
368
383
  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",
@@ -370,9 +385,9 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
370
385
  }
371
386
  ) }) }) : null
372
387
  ] }),
373
- r ? /* @__PURE__ */ e(Xr, { children: r }) : null
388
+ r ? /* @__PURE__ */ e(lo, { children: r }) : null
374
389
  ] })
375
- ), Jr = (t, r) => {
390
+ ), co = (t, r) => {
376
391
  switch (r.type) {
377
392
  case "CLEAR_SORT_DESCRIPTOR":
378
393
  return {
@@ -387,46 +402,46 @@ const yi = Z(a(Se), "list"), Ut = ({ children: t, when: r, wrapper: o }) => r ==
387
402
  default:
388
403
  return t;
389
404
  }
390
- }, Te = ye(void 0), Qr = () => {
391
- const t = xe(Te);
405
+ }, Ze = Fe(void 0), po = () => {
406
+ const t = Me(Ze);
392
407
  if (!t)
393
408
  throw new Error("useTable must be used within a <TableProvider/>");
394
409
  return t;
395
- }, Kr = ({ children: t, onSortChange: r }) => {
396
- const [o, i] = bt(Jr, {
410
+ }, uo = ({ children: t, onSortChange: r }) => {
411
+ const [o, i] = Ft(co, {
397
412
  sortDescriptor: null
398
413
  });
399
- yt(() => {
414
+ Mt(() => {
400
415
  r == null || r(o.sortDescriptor);
401
416
  }, [JSON.stringify(o.sortDescriptor)]);
402
417
  const n = {
403
418
  ...o,
404
419
  dispatch: i
405
420
  };
406
- return /* @__PURE__ */ e(Te.Provider, { value: n, children: t });
407
- }, { withProvider: eo, withContext: L } = x(ut), Mi = a("div", ct), to = eo(a("table"), "root"), ro = m(
408
- ({ children: t, onSortChange: r, ...o }, i) => /* @__PURE__ */ e(Kr, { onSortChange: r, children: /* @__PURE__ */ e(to, { ref: i, ...o, children: t }) })
421
+ return /* @__PURE__ */ e(Ze.Provider, { value: n, children: t });
422
+ }, { withProvider: ho, withContext: F } = f(zt), tn = a("div", Rt), go = ho(a("table"), "root"), mo = b(
423
+ ({ children: t, onSortChange: r, ...o }, i) => /* @__PURE__ */ e(uo, { onSortChange: r, children: /* @__PURE__ */ e(go, { ref: i, ...o, children: t }) })
409
424
  );
410
- ro.displayName = "Table";
411
- const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L(a("svg"), "sortIndicator"), Ni = L(a("tbody"), "tbody"), Hi = L(a("tr"), "tr"), ao = L(a("th"), "th"), io = m(
412
- ({ children: t, addon: r, sortKey: o, onClick: i, ...n }, s) => {
413
- const { dispatch: c, sortDescriptor: l } = Qr();
414
- return /* @__PURE__ */ d(ao, { ref: s, ...n, ...o ? { "data-sortable": !0 } : {}, onClick: (p) => {
415
- o && (l === null ? c({
425
+ mo.displayName = "Table";
426
+ const rn = F(a("thead"), "thead"), bo = F(a("div"), "sortIndicatorRoot"), Re = F(a("svg"), "sortIndicator"), on = F(a("tbody"), "tbody"), an = F(a("tr"), "tr"), yo = F(a("th"), "th"), xo = b(
427
+ ({ children: t, addon: r, sortKey: o, onClick: i, ...n }, c) => {
428
+ const { dispatch: l, sortDescriptor: s } = po();
429
+ return /* @__PURE__ */ d(yo, { ref: c, ...n, ...o ? { "data-sortable": !0 } : {}, onClick: (p) => {
430
+ o && (s === null ? l({
416
431
  type: "UPDATE_SORT_DESCRIPTOR",
417
432
  payload: {
418
433
  key: o,
419
434
  direction: "asc"
420
435
  }
421
- }) : l.key === o ? l.direction === "asc" ? c({
436
+ }) : s.key === o ? s.direction === "asc" ? l({
422
437
  type: "UPDATE_SORT_DESCRIPTOR",
423
438
  payload: {
424
439
  key: o,
425
440
  direction: "desc"
426
441
  }
427
- }) : c({
442
+ }) : l({
428
443
  type: "CLEAR_SORT_DESCRIPTOR"
429
- }) : c({
444
+ }) : l({
430
445
  type: "UPDATE_SORT_DESCRIPTOR",
431
446
  payload: {
432
447
  key: o,
@@ -439,11 +454,11 @@ const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L
439
454
  " ",
440
455
  r
441
456
  ] }) : null,
442
- l && l.key === o ? /* @__PURE__ */ d(oo, { children: [
457
+ s && s.key === o ? /* @__PURE__ */ d(bo, { children: [
443
458
  /* @__PURE__ */ e(
444
- ue,
459
+ Re,
445
460
  {
446
- "data-active": l.direction === "asc" ? !0 : void 0,
461
+ "data-active": s.direction === "asc" ? !0 : void 0,
447
462
  viewBox: "0 0 8 8",
448
463
  fill: "none",
449
464
  xmlns: "http://www.w3.org/2000/svg",
@@ -451,9 +466,9 @@ const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L
451
466
  }
452
467
  ),
453
468
  /* @__PURE__ */ e(
454
- ue,
469
+ Re,
455
470
  {
456
- "data-active": l.direction === "desc" ? !0 : void 0,
471
+ "data-active": s.direction === "desc" ? !0 : void 0,
457
472
  viewBox: "0 0 8 8",
458
473
  fill: "none",
459
474
  xmlns: "http://www.w3.org/2000/svg",
@@ -464,54 +479,173 @@ const Ei = L(a("thead"), "thead"), oo = L(a("div"), "sortIndicatorRoot"), ue = L
464
479
  ] });
465
480
  }
466
481
  );
467
- io.displayName = "Th";
468
- const Vi = L(a("td"), "td"), no = a("td", dt), lo = m((t, r) => {
469
- const o = ve(null);
470
- return fe(() => {
482
+ xo.displayName = "Th";
483
+ const nn = F(a("td"), "td"), vo = a("td", Lt), fo = b((t, r) => {
484
+ const o = Ne(null);
485
+ return Ve(() => {
471
486
  var i, n;
472
487
  if (o.current) {
473
- const s = (n = (i = o.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
474
- s && o.current.setAttribute("colspan", s.children.length.toString());
488
+ const c = (n = (i = o.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
489
+ c && o.current.setAttribute("colspan", c.children.length.toString());
475
490
  }
476
- }, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__group__title", children: /* @__PURE__ */ e(no, { ref: o, ...t }) });
491
+ }, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__group__title", children: /* @__PURE__ */ e(vo, { ref: o, ...t }) });
477
492
  });
478
- lo.displayName = "TableGroupTitle";
479
- const so = a("td", pt), co = m((t, r) => {
480
- const o = ve(null);
481
- return fe(() => {
493
+ fo.displayName = "TableGroupTitle";
494
+ const wo = a("td", It), Co = b((t, r) => {
495
+ const o = Ne(null);
496
+ return Ve(() => {
482
497
  var i, n;
483
498
  if (o.current) {
484
- const s = (n = (i = o.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
485
- s && o.current.setAttribute("colspan", s.children.length.toString());
499
+ const c = (n = (i = o.current) == null ? void 0 : i.closest("table")) == null ? void 0 : n.querySelector("thead > tr");
500
+ c && o.current.setAttribute("colspan", c.children.length.toString());
486
501
  }
487
- }, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__empty", children: /* @__PURE__ */ e(so, { ref: o, ...t }) });
502
+ }, []), /* @__PURE__ */ e("tr", { ref: r, className: "table_tr__empty", children: /* @__PURE__ */ e(wo, { ref: o, ...t }) });
488
503
  });
489
- co.displayName = "TableEmptyRow";
490
- const { withProvider: po, withContext: oe } = x(ht), uo = po(a("nav"), "root"), ho = oe(a("ol"), "list"), ji = oe(a("li"), "item"), Wi = oe(a(g.a), "link"), mo = /* @__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: "M6.47003 4.5L5.53003 5.44L8.58336 8.5L5.53003 11.56L6.47003 12.5L10.47 8.5L6.47003 4.5Z", fill: "#1E3A76" }) }), $i = m(
491
- ({ children: t, separator: r = mo, ...o }, i) => {
492
- var s;
493
- const n = xt.toArray(
494
- ft.isFragment(t) ? (s = t.props) == null ? void 0 : s.children : t
504
+ Co.displayName = "TableEmptyRow";
505
+ const { withProvider: So, withContext: ge } = f(Dt), To = So(a("nav"), "root"), _o = ge(a("ol"), "list"), ln = ge(a("li"), "item"), sn = ge(a(y.a), "link"), ko = /* @__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: "M6.47003 4.5L5.53003 5.44L8.58336 8.5L5.53003 11.56L6.47003 12.5L10.47 8.5L6.47003 4.5Z", fill: "#1E3A76" }) }), cn = b(
506
+ ({ children: t, separator: r = ko, ...o }, i) => {
507
+ var c;
508
+ const n = Et.toArray(
509
+ Ht.isFragment(t) ? (c = t.props) == null ? void 0 : c.children : t
495
510
  );
496
- return /* @__PURE__ */ e(uo, { ...o, "aria-label": o["aria-label"] ?? "breadcrumb", ref: i, children: /* @__PURE__ */ e(ho, { children: n.map((c, l) => ce(c, {
497
- "aria-current": l === n.length - 1 ? "page" : void 0,
498
- children: l === n.length - 1 ? c.props.children : /* @__PURE__ */ d(q, { children: [
499
- c.props.children,
500
- r ? /* @__PURE__ */ e(q, { children: typeof r == "object" ? ce(r, { role: "presentation" }) : /* @__PURE__ */ e("span", { role: "presentation", children: r }) }) : null
511
+ return /* @__PURE__ */ e(To, { ...o, "aria-label": o["aria-label"] ?? "breadcrumb", ref: i, children: /* @__PURE__ */ e(_o, { children: n.map((l, s) => xe(l, {
512
+ "aria-current": s === n.length - 1 ? "page" : void 0,
513
+ children: s === n.length - 1 ? l.props.children : /* @__PURE__ */ d(le, { children: [
514
+ l.props.children,
515
+ r ? /* @__PURE__ */ e(le, { children: typeof r == "object" ? xe(r, { role: "presentation" }) : /* @__PURE__ */ e("span", { role: "presentation", children: r }) }) : null
501
516
  ] })
502
517
  })) }) });
503
518
  }
504
- ), { withProvider: go, withContext: U } = x(mt), Oi = go(I.Root, void 0, {
519
+ ), { withProvider: Po, withContext: ae } = f(At), dn = Po(B.Root, void 0, {
505
520
  defaultProps: {
506
521
  unmountOnExit: !0,
507
522
  lazyMount: !0,
508
523
  portalled: !0
509
524
  }
510
- }), Zi = U(a(I.CloseTrigger), "closeTrigger"), Gi = U(a(I.Trigger), "trigger"), bo = U(a(I.Positioner), "positioner"), _e = m(
511
- ({ children: t, ...r }, o) => /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(bo, { children: /* @__PURE__ */ e(I.Content, { ref: o, ...r, children: t }) }) })
525
+ }), pn = ae(a(B.CloseTrigger), "closeTrigger"), un = ae(a(B.Trigger), "trigger"), Ro = ae(a(B.Positioner), "positioner"), $e = b(
526
+ ({ children: t, ...r }, o) => /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(Ro, { children: /* @__PURE__ */ e(B.Content, { ref: o, ...r, children: t }) }) })
512
527
  );
513
- _e.displayName = I.Content.displayName;
514
- const Yi = U(a(_e), "content"), Ui = I.Context, he = vt({
528
+ $e.displayName = B.Content.displayName;
529
+ const hn = ae(a($e), "content"), gn = B.Context;
530
+ function Lo({
531
+ value: t,
532
+ defaultValue: r,
533
+ finalValue: o,
534
+ onChange: i = () => {
535
+ }
536
+ }) {
537
+ const [n, c] = Nt(r !== void 0 ? r : o), l = (s, ...u) => {
538
+ c(s), i == null || i(s, ...u);
539
+ };
540
+ return t !== void 0 ? [t, i, !0] : [n, l, !1];
541
+ }
542
+ function I(t, r) {
543
+ const o = r - t + 1;
544
+ return Array.from({ length: o }, (i, n) => n + t);
545
+ }
546
+ const O = Symbol("dots"), Io = ({
547
+ total: t,
548
+ siblings: r = 1,
549
+ boundaries: o = 1,
550
+ page: i,
551
+ initialPage: n = 1,
552
+ onChange: c
553
+ }) => {
554
+ const l = Math.max(Math.trunc(t), 0), [s, u] = Lo({
555
+ value: i,
556
+ onChange: c,
557
+ defaultValue: n,
558
+ finalValue: n
559
+ }), p = (L) => {
560
+ L <= 0 ? u(1) : L > l ? u(l) : u(L);
561
+ }, v = () => p(s + 1), _ = () => p(s - 1), z = () => p(1), M = () => p(l);
562
+ return {
563
+ range: K(() => {
564
+ if (r * 2 + 3 + o * 2 >= l)
565
+ return I(1, l);
566
+ const q = Math.max(s - r, o), A = Math.min(s + r, l - o), Z = q > o + 2, ie = A < l - (o + 1);
567
+ if (!Z && ie) {
568
+ const ne = r * 2 + o + 2;
569
+ return [...I(1, ne), O, ...I(l - (o - 1), l)];
570
+ }
571
+ if (Z && !ie) {
572
+ const ne = o + 1 + 2 * r;
573
+ return [...I(1, o), O, ...I(l - ne, l)];
574
+ }
575
+ return [
576
+ ...I(1, o),
577
+ O,
578
+ ...I(q, A),
579
+ O,
580
+ ...I(l - o + 1, l)
581
+ ];
582
+ }, [l, r, o, s]),
583
+ active: s,
584
+ setPage: p,
585
+ next: v,
586
+ previous: _,
587
+ first: z,
588
+ last: M
589
+ };
590
+ }, Le = (t, r) => (o) => {
591
+ t == null || t(o), r == null || r(o);
592
+ }, { withProvider: zo, withContext: Oe } = f(Bt), Do = zo(a("div"), "root"), Ao = Oe(a("button"), "item"), Bo = Oe(a("div"), "dots"), mn = ({
593
+ total: t,
594
+ value: r,
595
+ defaultValue: o,
596
+ onChange: i,
597
+ disabled: n,
598
+ onNextPage: c,
599
+ onPrevPage: l,
600
+ siblings: s = 2,
601
+ boundaries: u = 1,
602
+ ...p
603
+ }) => {
604
+ const { range: v, setPage: _, next: z, previous: M, active: D } = Io({
605
+ page: r,
606
+ initialPage: o,
607
+ onChange: i,
608
+ total: t,
609
+ siblings: s,
610
+ boundaries: u
611
+ }), L = Le(c, z), q = Le(l, M);
612
+ return /* @__PURE__ */ d(Do, { ...p, children: [
613
+ /* @__PURE__ */ e(
614
+ de,
615
+ {
616
+ size: "md",
617
+ variant: "tertiary",
618
+ "aria-label": "Previous",
619
+ disabled: n || D === 1,
620
+ onClick: q,
621
+ 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("path", { d: "M10.47 11.06L7.4167 8L10.47 4.94L9.53003 4L5.53003 8L9.53003 12L10.47 11.06Z", fill: "currentColor" }) })
622
+ }
623
+ ),
624
+ v.map((A, Z) => A === O ? /* @__PURE__ */ Ee(Bo, { ...n ? { "data-disabled": !0 } : {}, key: Z }, "...") : /* @__PURE__ */ e(
625
+ Ao,
626
+ {
627
+ disabled: n,
628
+ ...A === D ? {
629
+ "data-selected": !0
630
+ } : {},
631
+ onClick: () => _(A),
632
+ children: A
633
+ },
634
+ Z
635
+ )),
636
+ /* @__PURE__ */ e(
637
+ de,
638
+ {
639
+ size: "md",
640
+ variant: "tertiary",
641
+ "aria-label": "Previous",
642
+ disabled: n || D === t,
643
+ onClick: L,
644
+ 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("path", { d: "M6.47003 4L5.53003 4.94L8.58336 8L5.53003 11.06L6.47003 12L10.47 8L6.47003 4Z", fill: "currentColor" }) })
645
+ }
646
+ )
647
+ ] });
648
+ }, Ie = Vt({
515
649
  slots: ["root", "price", "unit"],
516
650
  base: {
517
651
  root: {
@@ -575,23 +709,23 @@ const Yi = U(a(_e), "content"), Ui = I.Context, he = vt({
575
709
  defaultVariants: {
576
710
  size: "md"
577
711
  }
578
- }), yo = m((t, r) => {
579
- const [o, i] = he.splitVariantProps(t), [n, s] = M(i), { className: c, unit: l, price: v, ...p } = s, T = he(o), R = !!l;
580
- return /* @__PURE__ */ d("span", { ref: r, className: D(T.root, V(n), c), ...p, children: [
581
- /* @__PURE__ */ e("span", { className: T.price, children: v }),
582
- R ? /* @__PURE__ */ d("span", { className: T.unit, children: [
712
+ }), Fo = b((t, r) => {
713
+ const [o, i] = Ie.splitVariantProps(t), [n, c] = W(i), { className: l, unit: s, price: u, ...p } = c, v = Ie(o), _ = !!s;
714
+ return /* @__PURE__ */ d("span", { ref: r, className: N(v.root, Y(n), l), ...p, children: [
715
+ /* @__PURE__ */ e("span", { className: v.price, children: u }),
716
+ _ ? /* @__PURE__ */ d("span", { className: v.unit, children: [
583
717
  "/ ",
584
- l
718
+ s
585
719
  ] }) : null
586
720
  ] });
587
721
  });
588
- yo.displayName = "PriceTag";
589
- const xo = {
722
+ Fo.displayName = "PriceTag";
723
+ const Mo = {
590
724
  xl: "1536px",
591
725
  lg: "1200px",
592
726
  md: "900px",
593
727
  sm: "600px"
594
- }, vo = {
728
+ }, Eo = {
595
729
  extend: {
596
730
  checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
597
731
  closed: "&:where([data-state=closed])",
@@ -609,7 +743,7 @@ const xo = {
609
743
  today: "&:where([data-today])",
610
744
  underValue: '&:where([data-state="under-value"])'
611
745
  }
612
- }, fo = {
746
+ }, No = {
613
747
  "2xl": "672px",
614
748
  "3xl": "768px",
615
749
  "4xl": "896px",
@@ -622,7 +756,7 @@ const xo = {
622
756
  sm: "384px",
623
757
  xl: "576px",
624
758
  xs: "320px"
625
- }, wo = wt({
759
+ }, Vo = jt({
626
760
  blob: {
627
761
  "0%": {
628
762
  rotate: "0deg"
@@ -740,7 +874,7 @@ const xo = {
740
874
  transform: "rotate(360deg)"
741
875
  }
742
876
  }
743
- }), ke = w({
877
+ }), Ge = C({
744
878
  base: {
745
879
  _focusVisible: {
746
880
  ring: "2px solid {colors.primary.200}",
@@ -931,7 +1065,7 @@ const xo = {
931
1065
  }
932
1066
  }
933
1067
  ]
934
- }), Co = w({
1068
+ }), Ho = C({
935
1069
  className: "heading",
936
1070
  defaultVariants: {
937
1071
  size: "h2"
@@ -961,7 +1095,7 @@ const xo = {
961
1095
  h6: { textStyle: "heading.h6" }
962
1096
  }
963
1097
  }
964
- }), So = b({
1098
+ }), jo = g({
965
1099
  base: {
966
1100
  control: {
967
1101
  _focus: {
@@ -1021,7 +1155,7 @@ const xo = {
1021
1155
  size: "md"
1022
1156
  },
1023
1157
  jsx: ["Switch", "SwitchField"],
1024
- slots: De.keys(),
1158
+ slots: Je.keys(),
1025
1159
  variants: {
1026
1160
  size: {
1027
1161
  md: {
@@ -1043,7 +1177,7 @@ const xo = {
1043
1177
  }
1044
1178
  }
1045
1179
  }
1046
- }), To = w({
1180
+ }), Wo = C({
1047
1181
  className: "text",
1048
1182
  defaultVariants: {
1049
1183
  size: "md"
@@ -1076,7 +1210,7 @@ const xo = {
1076
1210
  sm: { textStyle: "body.sm" }
1077
1211
  }
1078
1212
  }
1079
- }), Pe = w({
1213
+ }), Ue = C({
1080
1214
  base: {
1081
1215
  '&[type="time"]::-webkit-calendar-picker-indicator': {
1082
1216
  display: "none"
@@ -1130,15 +1264,15 @@ const xo = {
1130
1264
  }
1131
1265
  }
1132
1266
  }
1133
- }), _o = w({
1267
+ }), Zo = C({
1134
1268
  className: "textarea",
1135
1269
  jsx: ["Textarea"],
1136
1270
  base: {
1137
1271
  px: "space-16",
1138
1272
  py: "space-8",
1139
- ...Pe.base
1273
+ ...Ue.base
1140
1274
  }
1141
- }), ko = w({
1275
+ }), $o = C({
1142
1276
  base: {
1143
1277
  _invalid: {
1144
1278
  '& [data-recipe="formHelperText"]': {
@@ -1168,7 +1302,7 @@ const xo = {
1168
1302
  className: "form-control",
1169
1303
  description: "The styles for the FormControl component",
1170
1304
  jsx: ["FormControl"]
1171
- }), Po = w({
1305
+ }), Oo = C({
1172
1306
  base: {
1173
1307
  color: "grey.400",
1174
1308
  fontFamily: "satoshi",
@@ -1177,9 +1311,9 @@ const xo = {
1177
1311
  className: "form-helper-text",
1178
1312
  description: "The styles for the FormHelperText component",
1179
1313
  jsx: ["FormHelperText"]
1180
- }), Ro = Ae.extendWith("header", "body", "footer"), Io = b({
1314
+ }), Go = Qe.extendWith("header", "body", "footer"), Uo = g({
1181
1315
  className: "drawer",
1182
- slots: Ro.keys(),
1316
+ slots: Go.keys(),
1183
1317
  jsx: ["Drawer"],
1184
1318
  base: {
1185
1319
  backdrop: {
@@ -1297,10 +1431,10 @@ const xo = {
1297
1431
  }
1298
1432
  }
1299
1433
  }
1300
- }), Lo = b({
1434
+ }), Yo = g({
1301
1435
  className: "accordion",
1302
1436
  jsx: ["Accordion"],
1303
- slots: Be.keys(),
1437
+ slots: Ke.keys(),
1304
1438
  base: {
1305
1439
  root: {
1306
1440
  display: "flex",
@@ -1401,7 +1535,7 @@ const xo = {
1401
1535
  }
1402
1536
  }
1403
1537
  }
1404
- }), zo = b({
1538
+ }), Xo = g({
1405
1539
  base: {
1406
1540
  root: {
1407
1541
  color: "grey.400",
@@ -1440,9 +1574,9 @@ const xo = {
1440
1574
  className: "form-label",
1441
1575
  description: "The styles for the FormLabel component",
1442
1576
  jsx: ["FormLabel"]
1443
- }), Do = b({
1577
+ }), qo = g({
1444
1578
  className: "checkbox",
1445
- slots: Fe.keys(),
1579
+ slots: et.keys(),
1446
1580
  jsx: ["Checkbox"],
1447
1581
  base: {
1448
1582
  root: {
@@ -1558,9 +1692,9 @@ const xo = {
1558
1692
  }
1559
1693
  }
1560
1694
  }
1561
- }), Ao = b({
1695
+ }), Jo = g({
1562
1696
  className: "tabs",
1563
- slots: Me.keys(),
1697
+ slots: tt.keys(),
1564
1698
  base: {
1565
1699
  root: {
1566
1700
  isolation: "isolate",
@@ -1664,7 +1798,7 @@ const xo = {
1664
1798
  }
1665
1799
  }
1666
1800
  }
1667
- }), Bo = b({
1801
+ }), Qo = g({
1668
1802
  base: {
1669
1803
  control: {
1670
1804
  fontFamily: "satoshi",
@@ -1801,7 +1935,7 @@ const xo = {
1801
1935
  size: "md"
1802
1936
  },
1803
1937
  jsx: ["Select"],
1804
- slots: Ee.keys(),
1938
+ slots: rt.keys(),
1805
1939
  variants: {
1806
1940
  size: {
1807
1941
  md: {
@@ -1817,7 +1951,7 @@ const xo = {
1817
1951
  }
1818
1952
  }
1819
1953
  }
1820
- }), Fo = w({
1954
+ }), Ko = C({
1821
1955
  base: {
1822
1956
  alignItems: "center",
1823
1957
  borderRadius: "inherit",
@@ -1830,7 +1964,7 @@ const xo = {
1830
1964
  className: "input-addon",
1831
1965
  description: "The styles for the InputAddon component",
1832
1966
  jsx: ["InputAddon"]
1833
- }), Mo = w({
1967
+ }), ea = C({
1834
1968
  base: {
1835
1969
  '& [data-recipe="input"]': {
1836
1970
  border: {
@@ -1873,15 +2007,21 @@ const xo = {
1873
2007
  className: "input-group",
1874
2008
  description: "The styles for the InputGroup component",
1875
2009
  jsx: ["InputGroup"]
1876
- }), me = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", Eo = b({
2010
+ }), ze = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC45NCAwLjUyOTk5OUw0IDMuNTgzMzNMNy4wNiAwLjUyOTk5OUw4IDEuNDdMNCA1LjQ3TDAgMS40N0wwLjk0IDAuNTI5OTk5WiIgZmlsbD0iIzFFM0E3NiIvPgo8L3N2Zz4K", ta = g({
1877
2011
  className: "datepicker",
1878
- slots: Ne.keys(),
2012
+ slots: ot.keys(),
1879
2013
  jsx: ["DatePicker"],
1880
2014
  base: {
1881
2015
  root: {
1882
2016
  display: "flex",
1883
2017
  flexDirection: "column"
1884
2018
  },
2019
+ control: {
2020
+ display: "flex",
2021
+ flexDirection: "row",
2022
+ gap: "space-8",
2023
+ alignItems: "center"
2024
+ },
1885
2025
  viewControl: {
1886
2026
  display: "flex",
1887
2027
  justifyContent: "space-between",
@@ -1918,7 +2058,7 @@ const xo = {
1918
2058
  px: "space-4",
1919
2059
  appearance: "none",
1920
2060
  paddingRight: "30px",
1921
- background: `url('${me}') no-repeat right 10px center`,
2061
+ background: `url('${ze}') no-repeat right 10px center`,
1922
2062
  _focus: {
1923
2063
  border: "1px solid {colors.primary.500}"
1924
2064
  }
@@ -1934,7 +2074,7 @@ const xo = {
1934
2074
  px: "space-4",
1935
2075
  appearance: "none",
1936
2076
  paddingRight: "30px",
1937
- background: `url('${me}') no-repeat right 10px center`,
2077
+ background: `url('${ze}') no-repeat right 10px center`,
1938
2078
  _focus: {
1939
2079
  border: "1px solid {colors.primary.500}"
1940
2080
  }
@@ -2033,7 +2173,7 @@ const xo = {
2033
2173
  textAlign: "center"
2034
2174
  }
2035
2175
  }
2036
- }), No = b({
2176
+ }), ra = g({
2037
2177
  base: {
2038
2178
  root: {
2039
2179
  fontFamily: "satoshi",
@@ -2138,10 +2278,10 @@ const xo = {
2138
2278
  }
2139
2279
  }
2140
2280
  }
2141
- }), Ho = b({
2281
+ }), oa = g({
2142
2282
  className: "radio-button-group",
2143
2283
  jsx: ["RadioButtonGroup"],
2144
- slots: be.keys(),
2284
+ slots: Be.keys(),
2145
2285
  base: {
2146
2286
  root: {
2147
2287
  display: "inline-flex",
@@ -2205,7 +2345,7 @@ const xo = {
2205
2345
  }
2206
2346
  }
2207
2347
  }
2208
- }), Vo = b({
2348
+ }), aa = g({
2209
2349
  base: {
2210
2350
  item: {
2211
2351
  _disabled: {
@@ -2287,7 +2427,7 @@ const xo = {
2287
2427
  defaultVariants: {
2288
2428
  size: "md"
2289
2429
  },
2290
- slots: be.keys(),
2430
+ slots: Be.keys(),
2291
2431
  variants: {
2292
2432
  size: {
2293
2433
  md: {
@@ -2314,7 +2454,7 @@ const xo = {
2314
2454
  }
2315
2455
  }
2316
2456
  }
2317
- }), jo = b({
2457
+ }), ia = g({
2318
2458
  base: {
2319
2459
  root: {
2320
2460
  borderRadius: "full",
@@ -2437,7 +2577,7 @@ const xo = {
2437
2577
  }
2438
2578
  }
2439
2579
  }
2440
- }), Wo = b({
2580
+ }), na = g({
2441
2581
  base: {
2442
2582
  root: {
2443
2583
  position: "relative",
@@ -2518,82 +2658,82 @@ const xo = {
2518
2658
  description: "The styles for the ActionCard component",
2519
2659
  jsx: ["ActionCard", "ActionCardTitle", "ActionCardDescription"]
2520
2660
  });
2521
- function $o(t) {
2661
+ function la(t) {
2522
2662
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2523
2663
  }
2524
- var Oo = function(r) {
2525
- return Zo(r) && !Go(r);
2664
+ var sa = function(r) {
2665
+ return ca(r) && !da(r);
2526
2666
  };
2527
- function Zo(t) {
2667
+ function ca(t) {
2528
2668
  return !!t && typeof t == "object";
2529
2669
  }
2530
- function Go(t) {
2670
+ function da(t) {
2531
2671
  var r = Object.prototype.toString.call(t);
2532
- return r === "[object RegExp]" || r === "[object Date]" || Xo(t);
2672
+ return r === "[object RegExp]" || r === "[object Date]" || ha(t);
2533
2673
  }
2534
- var Yo = typeof Symbol == "function" && Symbol.for, Uo = Yo ? Symbol.for("react.element") : 60103;
2535
- function Xo(t) {
2536
- return t.$$typeof === Uo;
2674
+ var pa = typeof Symbol == "function" && Symbol.for, ua = pa ? Symbol.for("react.element") : 60103;
2675
+ function ha(t) {
2676
+ return t.$$typeof === ua;
2537
2677
  }
2538
- function qo(t) {
2678
+ function ga(t) {
2539
2679
  return Array.isArray(t) ? [] : {};
2540
2680
  }
2541
- function N(t, r) {
2542
- return r.clone !== !1 && r.isMergeableObject(t) ? A(qo(t), t, r) : t;
2681
+ function G(t, r) {
2682
+ return r.clone !== !1 && r.isMergeableObject(t) ? V(ga(t), t, r) : t;
2543
2683
  }
2544
- function Jo(t, r, o) {
2684
+ function ma(t, r, o) {
2545
2685
  return t.concat(r).map(function(i) {
2546
- return N(i, o);
2686
+ return G(i, o);
2547
2687
  });
2548
2688
  }
2549
- function Qo(t, r) {
2689
+ function ba(t, r) {
2550
2690
  if (!r.customMerge)
2551
- return A;
2691
+ return V;
2552
2692
  var o = r.customMerge(t);
2553
- return typeof o == "function" ? o : A;
2693
+ return typeof o == "function" ? o : V;
2554
2694
  }
2555
- function Ko(t) {
2695
+ function ya(t) {
2556
2696
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
2557
2697
  return Object.propertyIsEnumerable.call(t, r);
2558
2698
  }) : [];
2559
2699
  }
2560
- function ge(t) {
2561
- return Object.keys(t).concat(Ko(t));
2700
+ function De(t) {
2701
+ return Object.keys(t).concat(ya(t));
2562
2702
  }
2563
- function Re(t, r) {
2703
+ function Ye(t, r) {
2564
2704
  try {
2565
2705
  return r in t;
2566
2706
  } catch {
2567
2707
  return !1;
2568
2708
  }
2569
2709
  }
2570
- function ea(t, r) {
2571
- return Re(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
2710
+ function xa(t, r) {
2711
+ return Ye(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
2572
2712
  }
2573
- function ta(t, r, o) {
2713
+ function va(t, r, o) {
2574
2714
  var i = {};
2575
- return o.isMergeableObject(t) && ge(t).forEach(function(n) {
2576
- i[n] = N(t[n], o);
2577
- }), ge(r).forEach(function(n) {
2578
- ea(t, n) || (Re(t, n) && o.isMergeableObject(r[n]) ? i[n] = Qo(n, o)(t[n], r[n], o) : i[n] = N(r[n], o));
2715
+ return o.isMergeableObject(t) && De(t).forEach(function(n) {
2716
+ i[n] = G(t[n], o);
2717
+ }), De(r).forEach(function(n) {
2718
+ xa(t, n) || (Ye(t, n) && o.isMergeableObject(r[n]) ? i[n] = ba(n, o)(t[n], r[n], o) : i[n] = G(r[n], o));
2579
2719
  }), i;
2580
2720
  }
2581
- function A(t, r, o) {
2582
- o = o || {}, o.arrayMerge = o.arrayMerge || Jo, o.isMergeableObject = o.isMergeableObject || Oo, o.cloneUnlessOtherwiseSpecified = N;
2583
- var i = Array.isArray(r), n = Array.isArray(t), s = i === n;
2584
- return s ? i ? o.arrayMerge(t, r, o) : ta(t, r, o) : N(r, o);
2721
+ function V(t, r, o) {
2722
+ o = o || {}, o.arrayMerge = o.arrayMerge || ma, o.isMergeableObject = o.isMergeableObject || sa, o.cloneUnlessOtherwiseSpecified = G;
2723
+ var i = Array.isArray(r), n = Array.isArray(t), c = i === n;
2724
+ return c ? i ? o.arrayMerge(t, r, o) : va(t, r, o) : G(r, o);
2585
2725
  }
2586
- A.all = function(r, o) {
2726
+ V.all = function(r, o) {
2587
2727
  if (!Array.isArray(r))
2588
2728
  throw new Error("first argument should be an array");
2589
2729
  return r.reduce(function(i, n) {
2590
- return A(i, n, o);
2730
+ return V(i, n, o);
2591
2731
  }, {});
2592
2732
  };
2593
- var ra = A, oa = ra;
2594
- const aa = /* @__PURE__ */ $o(oa), ia = aa(
2595
- ke,
2596
- w({
2733
+ var fa = V, wa = fa;
2734
+ const Ca = /* @__PURE__ */ la(wa), Sa = Ca(
2735
+ Ge,
2736
+ C({
2597
2737
  className: "icon-button",
2598
2738
  defaultVariants: {
2599
2739
  size: "md",
@@ -2650,7 +2790,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2650
2790
  }
2651
2791
  }
2652
2792
  })
2653
- ), na = b({
2793
+ ), Ta = g({
2654
2794
  base: {
2655
2795
  content: {
2656
2796
  _closed: {
@@ -2679,8 +2819,8 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2679
2819
  },
2680
2820
  className: "tooltip",
2681
2821
  jsx: ["Tooltip"],
2682
- slots: He.keys()
2683
- }), la = b({
2822
+ slots: at.keys()
2823
+ }), _a = g({
2684
2824
  base: {
2685
2825
  root: {
2686
2826
  borderRadius: "radius-8",
@@ -2741,7 +2881,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2741
2881
  }
2742
2882
  }
2743
2883
  }
2744
- }), sa = b({
2884
+ }), ka = g({
2745
2885
  className: "table",
2746
2886
  jsx: ["Table", "Thead", "Tbody", "Tr", "Th", "Td", "SortIndicatorRoot", "SortIndicator"],
2747
2887
  slots: ["root", "thead", "tbody", "tr", "th", "td", "sortIndicatorRoot", "sortIndicator"],
@@ -2827,7 +2967,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2827
2967
  }
2828
2968
  }
2829
2969
  }
2830
- }), ca = w({
2970
+ }), Pa = C({
2831
2971
  className: "table-group-title",
2832
2972
  jsx: ["TableGroupTitle"],
2833
2973
  base: {
@@ -2852,7 +2992,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2852
2992
  defaultVariants: {
2853
2993
  variant: "primary"
2854
2994
  }
2855
- }), da = w({
2995
+ }), Ra = C({
2856
2996
  className: "table-empty-row",
2857
2997
  jsx: ["TableEmptyRow"],
2858
2998
  base: {
@@ -2864,7 +3004,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2864
3004
  px: "space-16",
2865
3005
  color: "grey.400"
2866
3006
  }
2867
- }), pa = w({
3007
+ }), La = C({
2868
3008
  className: "table-container",
2869
3009
  jsx: ["TableContainer"],
2870
3010
  base: {
@@ -2878,7 +3018,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2878
3018
  tableLayout: "auto!"
2879
3019
  }
2880
3020
  }
2881
- }), ua = b({
3021
+ }), Ia = g({
2882
3022
  className: "breadcrumb",
2883
3023
  jsx: ["Breadcrumb", "BreadcrumbItem"],
2884
3024
  slots: ["root", "list", "item", "link"],
@@ -2905,9 +3045,9 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2905
3045
  }
2906
3046
  },
2907
3047
  variants: {}
2908
- }), ha = b({
3048
+ }), za = g({
2909
3049
  className: "popover",
2910
- slots: Ve.keys(),
3050
+ slots: it.keys(),
2911
3051
  jsx: ["Popover", "PopoverTrigger", "PopoverContent", "PopoverCloseTrigger"],
2912
3052
  base: {
2913
3053
  positioner: {
@@ -2927,40 +3067,107 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
2927
3067
  }
2928
3068
  }
2929
3069
  }
2930
- }), ma = {
2931
- button: ke,
2932
- iconButton: ia,
2933
- heading: Co,
2934
- switchRecipe: So,
2935
- text: To,
2936
- textarea: _o,
2937
- formControl: ko,
2938
- formHelperText: Po,
2939
- input: Pe,
2940
- inputAddon: Fo,
2941
- inputGroup: Mo,
2942
- tableGroupTitle: ca,
2943
- tableEmptyRow: da,
2944
- tableContainer: pa
2945
- }, ga = {
2946
- drawer: Io,
2947
- radioButtonGroup: Ho,
2948
- radioGroup: Vo,
2949
- accordion: Lo,
2950
- formLabel: zo,
2951
- checkbox: Do,
2952
- datepicker: Eo,
2953
- tabs: Ao,
2954
- tag: No,
2955
- select: Bo,
2956
- chip: jo,
2957
- actionCard: Wo,
2958
- tooltip: na,
2959
- alert: la,
2960
- table: sa,
2961
- breadcrumb: ua,
2962
- popover: ha
2963
- }, ba = Ct.colors({
3070
+ }), Ae = {
3071
+ width: "size-32",
3072
+ height: "size-32",
3073
+ display: "flex",
3074
+ alignItems: "center",
3075
+ justifyContent: "center",
3076
+ outline: "none",
3077
+ border: "1px solid",
3078
+ borderRadius: "radius-8",
3079
+ fontWeight: "bold",
3080
+ textStyle: "body.md",
3081
+ userSelect: "none",
3082
+ background: {
3083
+ base: "white",
3084
+ _selected: "primary.500",
3085
+ _hover: "primary.100",
3086
+ _disabled: {
3087
+ base: "grey.50",
3088
+ _selected: "grey.300",
3089
+ _hover: "grey.50"
3090
+ }
3091
+ },
3092
+ color: {
3093
+ base: "primary.500",
3094
+ _selected: "white",
3095
+ _disabled: {
3096
+ base: "grey.300",
3097
+ _selected: "grey.100"
3098
+ }
3099
+ },
3100
+ borderColor: {
3101
+ base: "primary.100",
3102
+ _selected: "primary.500",
3103
+ _hover: "secondary.500",
3104
+ _focusVisible: "secondary.500",
3105
+ _disabled: {
3106
+ base: "grey.50",
3107
+ _selected: "grey.300",
3108
+ _hover: "grey.50"
3109
+ }
3110
+ }
3111
+ }, Da = g({
3112
+ className: "pagination",
3113
+ jsx: ["Pagination"],
3114
+ slots: ["root", "item", "dots"],
3115
+ description: "The styles for the pagination component",
3116
+ base: {
3117
+ root: {
3118
+ fontFamily: "satoshi",
3119
+ display: "flex",
3120
+ flexDirection: "row",
3121
+ gap: "space-4"
3122
+ },
3123
+ item: {
3124
+ ...Ae,
3125
+ cursor: {
3126
+ base: "pointer",
3127
+ _disabled: "default"
3128
+ }
3129
+ },
3130
+ dots: {
3131
+ ...Ae,
3132
+ userSelect: "none",
3133
+ pointerEvents: "none"
3134
+ }
3135
+ }
3136
+ }), Aa = {
3137
+ button: Ge,
3138
+ iconButton: Sa,
3139
+ heading: Ho,
3140
+ switchRecipe: jo,
3141
+ text: Wo,
3142
+ textarea: Zo,
3143
+ formControl: $o,
3144
+ formHelperText: Oo,
3145
+ input: Ue,
3146
+ inputAddon: Ko,
3147
+ inputGroup: ea,
3148
+ tableGroupTitle: Pa,
3149
+ tableEmptyRow: Ra,
3150
+ tableContainer: La
3151
+ }, Ba = {
3152
+ drawer: Uo,
3153
+ radioButtonGroup: oa,
3154
+ radioGroup: aa,
3155
+ accordion: Yo,
3156
+ formLabel: Xo,
3157
+ checkbox: qo,
3158
+ datepicker: ta,
3159
+ tabs: Jo,
3160
+ tag: ra,
3161
+ select: Qo,
3162
+ chip: ia,
3163
+ actionCard: na,
3164
+ tooltip: Ta,
3165
+ alert: _a,
3166
+ table: ka,
3167
+ breadcrumb: Ia,
3168
+ popover: za,
3169
+ pagination: Da
3170
+ }, Fa = Wt.colors({
2964
3171
  decorative: {
2965
3172
  red: {
2966
3173
  light: { value: "#FFB5AD" },
@@ -3059,9 +3266,9 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3059
3266
  value: "{colors.primary.900}"
3060
3267
  }
3061
3268
  }
3062
- }), ya = {
3063
- colors: ba
3064
- }, xa = St({
3269
+ }), Ma = {
3270
+ colors: Fa
3271
+ }, Ea = Zt({
3065
3272
  body: {
3066
3273
  lg: {
3067
3274
  value: {
@@ -3144,7 +3351,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3144
3351
  }
3145
3352
  }
3146
3353
  }
3147
- }), va = y.animations({
3354
+ }), Na = x.animations({
3148
3355
  "backdrop-in": {
3149
3356
  value: "fade-in 250ms {easings.emphasized-in}"
3150
3357
  },
@@ -3185,14 +3392,14 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3185
3392
  "collapse-out": {
3186
3393
  value: "collapse-out 150ms {easings.in-out}"
3187
3394
  }
3188
- }), fa = y.borders({
3395
+ }), Va = x.borders({
3189
3396
  golden: { value: "1.618 / 1" },
3190
3397
  landscape: { value: "4 / 3" },
3191
3398
  portrait: { value: "3 / 4" },
3192
3399
  square: { value: "1 / 1" },
3193
3400
  ultrawide: { value: "18 / 5" },
3194
3401
  wide: { value: "16 / 9" }
3195
- }), wa = y.blurs({
3402
+ }), Ha = x.blurs({
3196
3403
  "2xl": { value: "40px" },
3197
3404
  "3xl": { value: "64px" },
3198
3405
  base: { value: "8px" },
@@ -3200,11 +3407,11 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3200
3407
  md: { value: "12px" },
3201
3408
  sm: { value: "4px" },
3202
3409
  xl: { value: "24px" }
3203
- }), Ca = y.borders({
3410
+ }), ja = x.borders({
3204
3411
  border: {
3205
3412
  none: { value: "none" }
3206
3413
  }
3207
- }), Sa = y.colors({
3414
+ }), Wa = x.colors({
3208
3415
  black: { value: "#000" },
3209
3416
  current: { value: "currentColor" },
3210
3417
  transparent: { value: "rgb(0 0 0 / 0)" },
@@ -3276,7 +3483,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3276
3483
  200: { value: "#FFEAAC" },
3277
3484
  100: { value: "#FFF9E6" }
3278
3485
  }
3279
- }), Ta = y.durations({
3486
+ }), Za = x.durations({
3280
3487
  fast: { value: "150ms" },
3281
3488
  faster: { value: "100ms" },
3282
3489
  fastest: { value: "50ms" },
@@ -3284,7 +3491,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3284
3491
  slow: { value: "300ms" },
3285
3492
  slower: { value: "400ms" },
3286
3493
  slowest: { value: "500ms" }
3287
- }), _a = y.easings({
3494
+ }), $a = x.easings({
3288
3495
  default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
3289
3496
  "ease-bounce-1": {
3290
3497
  value: `linear(
@@ -3372,7 +3579,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3372
3579
  linear: { value: "linear" },
3373
3580
  out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
3374
3581
  pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
3375
- }), ka = y.radii({
3582
+ }), Oa = x.radii({
3376
3583
  "radius-0": { value: "0px" },
3377
3584
  "radius-2": { value: "2px" },
3378
3585
  "radius-4": { value: "4px" },
@@ -3394,7 +3601,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3394
3601
  "radius-60": { value: "60px" },
3395
3602
  "radius-64": { value: "64px" },
3396
3603
  full: { value: "9999px" }
3397
- }), Pa = y.shadows({
3604
+ }), Ga = x.shadows({
3398
3605
  "2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
3399
3606
  inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
3400
3607
  lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
@@ -3402,7 +3609,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3402
3609
  sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
3403
3610
  xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
3404
3611
  xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
3405
- }), Ra = y.sizes({
3612
+ }), Ua = x.sizes({
3406
3613
  "size-0": {
3407
3614
  value: "0px"
3408
3615
  },
@@ -3479,7 +3686,7 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3479
3686
  "size-80": {
3480
3687
  value: "80px"
3481
3688
  }
3482
- }), Ia = y.spacing({
3689
+ }), Ya = x.spacing({
3483
3690
  "space-0": {
3484
3691
  value: "0px"
3485
3692
  },
@@ -3559,9 +3766,9 @@ const aa = /* @__PURE__ */ $o(oa), ia = aa(
3559
3766
  value: "80px"
3560
3767
  }
3561
3768
  });
3562
- var La = "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,%";
3563
- `${La.split(",").join("|")}`;
3564
- var za = {
3769
+ var Xa = "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,%";
3770
+ `${Xa.split(",").join("|")}`;
3771
+ var qa = {
3565
3772
  animation: [
3566
3773
  "animationName",
3567
3774
  "animationDuration",
@@ -3672,44 +3879,44 @@ var za = {
3672
3879
  textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
3673
3880
  transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
3674
3881
  };
3675
- Object.values(za).reduce((t, r) => [...t, ...r], []);
3676
- var Da = 16, Ie = "px", Le = "em", W = "rem";
3677
- function Aa(t = "") {
3678
- const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${Ie}|${Le}|${W}`), i = t.match(new RegExp(`${r.source}(${o.source})`));
3882
+ Object.values(qa).reduce((t, r) => [...t, ...r], []);
3883
+ var Ja = 16, Xe = "px", qe = "em", J = "rem";
3884
+ function Qa(t = "") {
3885
+ const r = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${Xe}|${qe}|${J}`), i = t.match(new RegExp(`${r.source}(${o.source})`));
3679
3886
  return i == null ? void 0 : i[1];
3680
3887
  }
3681
- function f(t = "") {
3682
- const r = Aa(t);
3683
- if (!r || r === W)
3888
+ function w(t = "") {
3889
+ const r = Qa(t);
3890
+ if (!r || r === J)
3684
3891
  return t;
3685
- if (r === Le)
3686
- return `${parseFloat(t)}${W}`;
3687
- if (r === Ie)
3688
- return `${parseFloat(t) / Da}${W}`;
3892
+ if (r === qe)
3893
+ return `${parseFloat(t)}${J}`;
3894
+ if (r === Xe)
3895
+ return `${parseFloat(t) / Ja}${J}`;
3689
3896
  }
3690
- const Ba = y.fontSizes({
3897
+ const Ka = x.fontSizes({
3691
3898
  body: {
3692
- lg: { value: f("16px") },
3693
- md: { value: f("14px") },
3694
- sm: { value: f("12px") }
3899
+ lg: { value: w("16px") },
3900
+ md: { value: w("14px") },
3901
+ sm: { value: w("12px") }
3695
3902
  },
3696
3903
  heading: {
3697
3904
  desktop: {
3698
- "2xl": { value: f("44px") },
3699
- lg: { value: f("32px") },
3700
- md: { value: f("28px") },
3701
- sm: { value: f("22px") },
3702
- xs: { value: f("18px") }
3905
+ "2xl": { value: w("44px") },
3906
+ lg: { value: w("32px") },
3907
+ md: { value: w("28px") },
3908
+ sm: { value: w("22px") },
3909
+ xs: { value: w("18px") }
3703
3910
  },
3704
3911
  mobile: {
3705
- "2xl": { value: f("38px") },
3706
- lg: { value: f("30px") },
3707
- md: { value: f("24px") },
3708
- sm: { value: f("22px") },
3709
- xs: { value: f("18px") }
3912
+ "2xl": { value: w("38px") },
3913
+ lg: { value: w("30px") },
3914
+ md: { value: w("24px") },
3915
+ sm: { value: w("22px") },
3916
+ xs: { value: w("18px") }
3710
3917
  }
3711
3918
  }
3712
- }), Fa = y.fontWeights({
3919
+ }), ei = x.fontWeights({
3713
3920
  black: { value: "900" },
3714
3921
  bold: { value: "700" },
3715
3922
  extrabold: { value: "800" },
@@ -3719,14 +3926,14 @@ const Ba = y.fontSizes({
3719
3926
  normal: { value: "400" },
3720
3927
  semibold: { value: "600" },
3721
3928
  thin: { value: "100" }
3722
- }), Ma = y.letterSpacings({
3929
+ }), ti = x.letterSpacings({
3723
3930
  normal: { value: "0em" },
3724
3931
  tight: { value: "-0.025em" },
3725
3932
  tighter: { value: "-0.05em" },
3726
3933
  wide: { value: "0.025em" },
3727
3934
  wider: { value: "0.05em" },
3728
3935
  widest: { value: "0.1em" }
3729
- }), Ea = y.lineHeights({}), Na = y.fonts({
3936
+ }), ri = x.lineHeights({}), oi = x.fonts({
3730
3937
  satoshi: { value: "var(--font-satoshi)" },
3731
3938
  cabinet: { value: "var(--font-cabinet)" },
3732
3939
  mono: {
@@ -3762,7 +3969,7 @@ const Ba = y.fontSizes({
3762
3969
  serif: {
3763
3970
  value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
3764
3971
  }
3765
- }), Ha = y.zIndex({
3972
+ }), ai = x.zIndex({
3766
3973
  banner: {
3767
3974
  value: 1200
3768
3975
  },
@@ -3799,120 +4006,121 @@ const Ba = y.fontSizes({
3799
4006
  tooltip: {
3800
4007
  value: 1800
3801
4008
  }
3802
- }), Va = {
3803
- animations: va,
3804
- aspectRatios: fa,
3805
- blurs: wa,
3806
- borders: Ca,
3807
- colors: Sa,
3808
- durations: Ta,
3809
- easings: _a,
3810
- fontSizes: Ba,
3811
- fontWeights: Fa,
3812
- fonts: Na,
3813
- letterSpacings: Ma,
3814
- lineHeights: Ea,
3815
- radii: ka,
3816
- shadows: Pa,
3817
- sizes: Ra,
3818
- spacing: Ia,
3819
- zIndex: Ha
3820
- }, ja = Tt({
4009
+ }), ii = {
4010
+ animations: Na,
4011
+ aspectRatios: Va,
4012
+ blurs: Ha,
4013
+ borders: ja,
4014
+ colors: Wa,
4015
+ durations: Za,
4016
+ easings: $a,
4017
+ fontSizes: Ka,
4018
+ fontWeights: ei,
4019
+ fonts: oi,
4020
+ letterSpacings: ti,
4021
+ lineHeights: ri,
4022
+ radii: Oa,
4023
+ shadows: Ga,
4024
+ sizes: Ua,
4025
+ spacing: Ya,
4026
+ zIndex: ai
4027
+ }, ni = $t({
3821
4028
  className: "size",
3822
4029
  transform(t) {
3823
4030
  return { height: t, width: t };
3824
4031
  },
3825
4032
  values: "sizes"
3826
- }), Wa = {
4033
+ }), li = {
3827
4034
  extend: {
3828
- boxSize: ja
4035
+ boxSize: ni
3829
4036
  }
3830
- }, Xi = _t({
4037
+ }, bn = Ot({
3831
4038
  staticCss: {
3832
4039
  recipes: "*"
3833
4040
  },
3834
4041
  theme: {
3835
- breakpoints: xo,
3836
- containerSizes: fo,
3837
- keyframes: wo,
3838
- recipes: ma,
3839
- semanticTokens: ya,
3840
- slotRecipes: ga,
3841
- textStyles: xa,
3842
- tokens: Va
3843
- },
3844
- utilities: Wa,
3845
- conditions: vo
4042
+ breakpoints: Mo,
4043
+ containerSizes: No,
4044
+ keyframes: Vo,
4045
+ recipes: Aa,
4046
+ semanticTokens: Ma,
4047
+ slotRecipes: Ba,
4048
+ textStyles: Ea,
4049
+ tokens: ii
4050
+ },
4051
+ utilities: li,
4052
+ conditions: Eo
3846
4053
  });
3847
4054
  export {
3848
- qa as Accordion,
3849
- Ja as AccordionItem,
3850
- Qa as AccordionItemContent,
3851
- Ka as AccordionItemIndicator,
3852
- ei as AccordionItemTrigger,
3853
- Di as ActionCard,
3854
- Bi as ActionCardDescription,
3855
- Ai as ActionCardTitle,
3856
- Fi as Alert,
3857
- vi as Box,
3858
- $i as Breadcrumb,
3859
- ji as BreadcrumbItem,
3860
- Wi as BreadcrumbLink,
3861
- Q as Button,
3862
- Pt as Checkbox,
3863
- Ri as Chip,
3864
- Ii as ChipAvatar,
3865
- zi as ChipClearTrigger,
3866
- Li as ChipLabel,
3867
- fi as DatePicker,
3868
- ti as Drawer,
3869
- ri as DrawerBody,
3870
- zt as DrawerCloseTrigger,
3871
- li as DrawerContent,
3872
- si as DrawerContext,
3873
- oi as DrawerFooter,
3874
- ai as DrawerHeader,
3875
- ii as DrawerTitle,
3876
- ni as DrawerTrigger,
3877
- ci as FormControl,
3878
- pi as FormHelperText,
3879
- di as FormLabel,
3880
- ui as Heading,
3881
- Or as IconButton,
3882
- lr as Input,
3883
- sr as InputAddon,
3884
- cr as InputGroup,
3885
- Oi as Popover,
3886
- Zi as PopoverCloseTrigger,
3887
- Yi as PopoverContent,
3888
- Ui as PopoverContext,
3889
- Gi as PopoverTrigger,
3890
- yo as PriceTag,
3891
- Ci as RadioButtonGroup,
3892
- Si as RadioButtonGroupItem,
3893
- Ti as RadioButtonGroupLabel,
3894
- _i as RadioGroup,
3895
- ki as RadioGroupItem,
3896
- Pi as RadioGroupLabel,
3897
- xi as Select,
3898
- Ot as Switch,
3899
- ro as Table,
3900
- Mi as TableContainer,
3901
- co as TableEmptyRow,
3902
- lo as TableGroupTitle,
3903
- mi as Tabs,
3904
- gi as TabsContent,
3905
- yi as TabsList,
3906
- bi as TabsTrigger,
3907
- wi as Tag,
3908
- Ni as Tbody,
3909
- Vi as Td,
3910
- Zt as Text,
3911
- hi as Textarea,
3912
- io as Th,
3913
- Ei as Thead,
3914
- Wt as Tooltip,
3915
- Hi as Tr,
3916
- Xi as preset
4055
+ mi as Accordion,
4056
+ bi as AccordionItem,
4057
+ yi as AccordionItemContent,
4058
+ xi as AccordionItemIndicator,
4059
+ vi as AccordionItemTrigger,
4060
+ Ji as ActionCard,
4061
+ Ki as ActionCardDescription,
4062
+ Qi as ActionCardTitle,
4063
+ en as Alert,
4064
+ Ni as Box,
4065
+ cn as Breadcrumb,
4066
+ ln as BreadcrumbItem,
4067
+ sn as BreadcrumbLink,
4068
+ ce as Button,
4069
+ Ut as Checkbox,
4070
+ Ui as Chip,
4071
+ Yi as ChipAvatar,
4072
+ qi as ChipClearTrigger,
4073
+ Xi as ChipLabel,
4074
+ Vi as DatePicker,
4075
+ fi as Drawer,
4076
+ wi as DrawerBody,
4077
+ Jt as DrawerCloseTrigger,
4078
+ ki as DrawerContent,
4079
+ Pi as DrawerContext,
4080
+ Ci as DrawerFooter,
4081
+ Si as DrawerHeader,
4082
+ Ti as DrawerTitle,
4083
+ _i as DrawerTrigger,
4084
+ Ri as FormControl,
4085
+ Ii as FormHelperText,
4086
+ Li as FormLabel,
4087
+ zi as Heading,
4088
+ de as IconButton,
4089
+ fe as Input,
4090
+ we as InputAddon,
4091
+ Ce as InputGroup,
4092
+ mn as Pagination,
4093
+ dn as Popover,
4094
+ pn as PopoverCloseTrigger,
4095
+ hn as PopoverContent,
4096
+ gn as PopoverContext,
4097
+ un as PopoverTrigger,
4098
+ Fo as PriceTag,
4099
+ ji as RadioButtonGroup,
4100
+ Wi as RadioButtonGroupItem,
4101
+ Zi as RadioButtonGroupLabel,
4102
+ $i as RadioGroup,
4103
+ Oi as RadioGroupItem,
4104
+ Gi as RadioGroupLabel,
4105
+ Ei as Select,
4106
+ dr as Switch,
4107
+ mo as Table,
4108
+ tn as TableContainer,
4109
+ Co as TableEmptyRow,
4110
+ fo as TableGroupTitle,
4111
+ Ai as Tabs,
4112
+ Bi as TabsContent,
4113
+ Mi as TabsList,
4114
+ Fi as TabsTrigger,
4115
+ Hi as Tag,
4116
+ on as Tbody,
4117
+ nn as Td,
4118
+ pr as Text,
4119
+ Di as Textarea,
4120
+ xo as Th,
4121
+ rn as Thead,
4122
+ sr as Tooltip,
4123
+ an as Tr,
4124
+ bn as preset
3917
4125
  };
3918
4126
  //# sourceMappingURL=ui.js.map