@stokelp/ui 1.6.4 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.js CHANGED
@@ -1,57 +1,57 @@
1
1
  "use client";
2
- import { jsx as a, jsxs as v } from "react/jsx-runtime";
3
- import { Accordion as $, Checkbox as _, Dialog as C, ark as P, Portal as Q, Switch as F, Tabs as R, Select as b } from "@ark-ui/react";
4
- import { styled as i, splitCssProps as j } from "@stokelp/styled-system/jsx";
5
- import { accordion as we, button as Ie, checkbox as q, drawer as Ce, formControl as Se, formLabel as O, formHelperText as ke, heading as Te, switchRecipe as Z, text as _e, textarea as Ee, tabs as Re, select as Be, input as Fe, inputAddon as $e, inputGroup as De } from "@stokelp/styled-system/recipes";
6
- import { createContext as ze, forwardRef as k, useContext as Ae, createElement as Ne, useMemo as J } from "react";
7
- import { cx as G, css as Y } from "@stokelp/styled-system/css";
8
- import { defineKeyframes as Pe, defineRecipe as w, defineSlotRecipe as T, defineSemanticTokens as Le, defineTextStyles as We, defineTokens as d, defineUtility as Ve, definePreset as Me } from "@pandacss/dev";
9
- const K = (...e) => e.filter(Boolean).join(" "), L = (e, t) => {
10
- const o = ze(null);
2
+ import { jsx as a, jsxs as b } from "react/jsx-runtime";
3
+ import { Accordion as $, Checkbox as _, Dialog as T, ark as z, Portal as ee, Switch as F, Tabs as R, Select as v } from "@ark-ui/react";
4
+ import { styled as i, splitCssProps as W, Circle as Ie } from "@stokelp/styled-system/jsx";
5
+ import { accordion as Ce, button as Se, checkbox as Z, drawer as Te, formControl as ke, formLabel as Y, formHelperText as _e, heading as Ee, switchRecipe as K, text as Re, textarea as Be, tabs as Fe, select as De, input as $e, inputAddon as ze, inputGroup as Ae, tag as Q } from "@stokelp/styled-system/recipes";
6
+ import { createContext as Ne, forwardRef as S, useContext as Pe, createElement as Le, useMemo as X } from "react";
7
+ import { cx as D, css as V } from "@stokelp/styled-system/css";
8
+ import { defineKeyframes as We, defineRecipe as I, defineSlotRecipe as k, defineSemanticTokens as Ve, defineTextStyles as Me, defineTokens as c, defineUtility as He, definePreset as Oe } from "@pandacss/dev";
9
+ const J = (...e) => e.filter(Boolean).join(" "), M = (e, t) => {
10
+ const o = Ne(null);
11
11
  return {
12
- withContext: (m, s, u) => s ? k((c, H) => {
13
- const B = Ae(o), D = (t == null ? void 0 : t.dataAttr) ?? !1;
14
- return Ne(m, {
15
- ...D && { "data-recipe-slot": s ?? "" },
16
- ...c,
12
+ withContext: (p, l, u) => l ? S((d, G) => {
13
+ const B = Pe(o), A = (t == null ? void 0 : t.dataAttr) ?? !1;
14
+ return Le(p, {
15
+ ...A && { "data-recipe-slot": l ?? "" },
16
+ ...d,
17
17
  ...u == null ? void 0 : u.defaultProps,
18
- className: K(B == null ? void 0 : B[s ?? ""], c.className),
19
- ref: H
18
+ className: J(B == null ? void 0 : B[l ?? ""], d.className),
19
+ ref: G
20
20
  });
21
- }) : m,
22
- withProvider: (m, s, u) => k((c, H) => {
23
- const [B, D] = e.splitVariantProps({
24
- ...c,
21
+ }) : p,
22
+ withProvider: (p, l, u) => S((d, G) => {
23
+ const [B, A] = e.splitVariantProps({
24
+ ...d,
25
25
  ...u == null ? void 0 : u.defaultProps
26
- }), U = e(B), xe = (t == null ? void 0 : t.dataAttr) ?? !1;
27
- return /* @__PURE__ */ a(o.Provider, { value: U, children: /* @__PURE__ */ a(
28
- m,
26
+ }), q = e(B), we = (t == null ? void 0 : t.dataAttr) ?? !1;
27
+ return /* @__PURE__ */ a(o.Provider, { value: q, children: /* @__PURE__ */ a(
28
+ p,
29
29
  {
30
- ref: H,
31
- ...xe && { "data-recipe-slot": s ?? "" },
32
- ...D,
33
- className: K(U[s ?? ""], D.className)
30
+ ref: G,
31
+ ...we && { "data-recipe-slot": l ?? "" },
32
+ ...A,
33
+ className: J(q[l ?? ""], A.className)
34
34
  }
35
35
  ) });
36
36
  })
37
37
  };
38
- }, { withProvider: He, withContext: W } = L(we), tr = He(i($.Root), "root"), or = W(i($.Item), "item"), rr = W(i($.ItemContent), "itemContent"), ar = W(i($.ItemIndicator), "itemIndicator", {
38
+ }, { withProvider: je, withContext: H } = M(Ce), ar = je(i($.Root), "root"), ir = H(i($.Item), "item"), nr = H(i($.ItemContent), "itemContent"), lr = H(i($.ItemIndicator), "itemIndicator", {
39
39
  defaultProps: {
40
40
  children: /* @__PURE__ */ a("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a("path", { d: "M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z", fill: "currentColor" }) })
41
41
  }
42
- }), ir = W(i($.ItemTrigger), "itemTrigger"), Oe = i("button", Ie), je = k((e, t) => {
43
- const [o, r] = q.splitVariantProps(e), [l, m] = j(r), { children: s, className: u, ...S } = m, c = q(o);
44
- return /* @__PURE__ */ v(_.Root, { ref: t, className: G(c.root, Y(l), u), ...S, children: [
45
- /* @__PURE__ */ v(_.Control, { className: c.control, children: [
46
- /* @__PURE__ */ a(_.Indicator, { children: /* @__PURE__ */ a(Ge, {}) }),
47
- /* @__PURE__ */ a(_.Indicator, { indeterminate: !0, children: /* @__PURE__ */ a(Ye, {}) })
42
+ }), sr = H(i($.ItemTrigger), "itemTrigger"), Ge = i("button", Se), Ye = S((e, t) => {
43
+ const [o, r] = Z.splitVariantProps(e), [n, p] = W(r), { children: l, className: u, ...x } = p, d = Z(o);
44
+ return /* @__PURE__ */ b(_.Root, { ref: t, className: D(d.root, V(n), u), ...x, children: [
45
+ /* @__PURE__ */ b(_.Control, { className: d.control, children: [
46
+ /* @__PURE__ */ a(_.Indicator, { children: /* @__PURE__ */ a(Xe, {}) }),
47
+ /* @__PURE__ */ a(_.Indicator, { indeterminate: !0, children: /* @__PURE__ */ a(Ue, {}) })
48
48
  ] }),
49
- s && /* @__PURE__ */ a(_.Label, { className: c.label, children: s }),
49
+ l && /* @__PURE__ */ a(_.Label, { className: d.label, children: l }),
50
50
  /* @__PURE__ */ a(_.HiddenInput, {})
51
51
  ] });
52
52
  });
53
- je.displayName = "Checkbox";
54
- const Ge = () => /* @__PURE__ */ v("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
53
+ Ye.displayName = "Checkbox";
54
+ const Xe = () => /* @__PURE__ */ b("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
55
55
  /* @__PURE__ */ a("title", { children: "Check Icon" }),
56
56
  /* @__PURE__ */ a(
57
57
  "path",
@@ -60,18 +60,18 @@ const Ge = () => /* @__PURE__ */ v("svg", { viewBox: "0 0 12 13", fill: "none",
60
60
  fill: "white"
61
61
  }
62
62
  )
63
- ] }), Ye = () => /* @__PURE__ */ v("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
63
+ ] }), Ue = () => /* @__PURE__ */ b("svg", { width: "12", height: "13", viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
64
64
  /* @__PURE__ */ a("title", { children: "Minus Icon" }),
65
65
  /* @__PURE__ */ a("path", { d: "M3 6H9V7H3V6Z", fill: "white" })
66
- ] }), { withProvider: Xe, withContext: I } = L(Ce), nr = Xe(C.Root, void 0, {
66
+ ] }), { withProvider: qe, withContext: C } = M(Te), dr = qe(T.Root, void 0, {
67
67
  defaultProps: {
68
68
  unmountOnExit: !0,
69
69
  lazyMount: !0
70
70
  }
71
- }), lr = I(i(P.main), "body"), Ue = I(i(C.CloseTrigger), "closeTrigger"), sr = I(i(P.footer), "footer"), ee = k(
72
- ({ children: e, showCloseTrigger: t = !0, ...o }, r) => /* @__PURE__ */ v(P.header, { ...o, ref: r, children: [
71
+ }), cr = C(i(z.main), "body"), Ze = C(i(T.CloseTrigger), "closeTrigger"), ur = C(i(z.footer), "footer"), te = S(
72
+ ({ children: e, showCloseTrigger: t = !0, ...o }, r) => /* @__PURE__ */ b(z.header, { ...o, ref: r, children: [
73
73
  e,
74
- t && /* @__PURE__ */ a(Ue, { asChild: !0, children: /* @__PURE__ */ a(Oe, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ a("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a(
74
+ t && /* @__PURE__ */ a(Ze, { asChild: !0, children: /* @__PURE__ */ a(Ge, { ml: "auto", p: "space-8", variant: "tertiary", children: /* @__PURE__ */ a("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a(
75
75
  "path",
76
76
  {
77
77
  d: "M12.6666 4.27331L11.7266 3.33331L7.99998 7.05998L4.27331 3.33331L3.33331 4.27331L7.05998 7.99998L3.33331 11.7266L4.27331 12.6666L7.99998 8.93998L11.7266 12.6666L12.6666 11.7266L8.93998 7.99998L12.6666 4.27331Z",
@@ -80,89 +80,89 @@ const Ge = () => /* @__PURE__ */ v("svg", { viewBox: "0 0 12 13", fill: "none",
80
80
  ) }) }) })
81
81
  ] })
82
82
  );
83
- ee.displayName = "DrawerHeader";
84
- const dr = I(ee, "header"), cr = I(i(C.Title), "title"), ur = I(i(C.Trigger), "trigger"), qe = I(i(C.Positioner), "positioner"), Ze = I(i(C.Backdrop), "backdrop"), te = k(
85
- ({ children: e, ...t }, o) => /* @__PURE__ */ v(Q, { children: [
86
- /* @__PURE__ */ a(Ze, {}),
87
- /* @__PURE__ */ a(qe, { children: /* @__PURE__ */ a(C.Content, { ref: o, ...t, children: e }) })
83
+ te.displayName = "DrawerHeader";
84
+ const pr = C(te, "header"), gr = C(i(T.Title), "title"), mr = C(i(T.Trigger), "trigger"), Ke = C(i(T.Positioner), "positioner"), Qe = C(i(T.Backdrop), "backdrop"), oe = S(
85
+ ({ children: e, ...t }, o) => /* @__PURE__ */ b(ee, { children: [
86
+ /* @__PURE__ */ a(Qe, {}),
87
+ /* @__PURE__ */ a(Ke, { children: /* @__PURE__ */ a(T.Content, { ref: o, ...t, children: e }) })
88
88
  ] })
89
89
  );
90
- te.displayName = C.Content.displayName;
91
- const pr = I(i(te), "content"), Ke = i("div", Se, {
90
+ oe.displayName = T.Content.displayName;
91
+ const hr = C(i(oe), "content"), Je = i("div", ke, {
92
92
  defaultProps: {
93
93
  role: "group"
94
94
  }
95
- }), gr = ({ isInvalid: e, isRequired: t, ...o }) => {
95
+ }), br = ({ isInvalid: e, isRequired: t, ...o }) => {
96
96
  const r = {
97
97
  ...e ? { "aria-invalid": !0 } : {},
98
98
  ...t ? { "aria-required": !0 } : {}
99
99
  };
100
- return /* @__PURE__ */ a(Ke, { ...r, ...o });
101
- }, Qe = i("label", O), mr = (e) => {
102
- const [t, o] = O.splitVariantProps(e), [r, l] = j(o), { children: m, className: s, addon: u, ...S } = l, c = O(t);
103
- return /* @__PURE__ */ v(Qe, { className: G(c.root, Y(r), s), ...S, children: [
104
- m,
105
- u ? /* @__PURE__ */ a(i.span, { className: c.addon, children: u }) : null
100
+ return /* @__PURE__ */ a(Je, { ...r, ...o });
101
+ }, et = i("label", Y), vr = (e) => {
102
+ const [t, o] = Y.splitVariantProps(e), [r, n] = W(o), { children: p, className: l, addon: u, ...x } = n, d = Y(t);
103
+ return /* @__PURE__ */ b(et, { className: D(d.root, V(r), l), ...x, children: [
104
+ p,
105
+ u ? /* @__PURE__ */ a(i.span, { className: d.addon, children: u }) : null
106
106
  ] });
107
- }, hr = i("p", ke, {
107
+ }, fr = i("p", _e, {
108
108
  dataAttr: !0
109
- }), vr = (e) => {
110
- const { as: t = "h2", ...o } = e, r = J(() => i(t, Te), [t]);
109
+ }), yr = (e) => {
110
+ const { as: t = "h2", ...o } = e, r = X(() => i(t, Ee), [t]);
111
111
  return /* @__PURE__ */ a(r, { size: t, ...o });
112
- }, Je = k((e, t) => {
113
- const [o, r] = Z.splitVariantProps(e), [l, m] = j(r), { children: s, className: u, ...S } = m, c = Z(o);
114
- return /* @__PURE__ */ v(F.Root, { ref: t, className: G(c.root, Y(l), u), ...S, children: [
115
- /* @__PURE__ */ a(F.Control, { className: c.control, children: /* @__PURE__ */ a(F.Thumb, { className: c.thumb }) }),
116
- s ? /* @__PURE__ */ a(F.Label, { className: c.label, children: s }) : null,
112
+ }, tt = S((e, t) => {
113
+ const [o, r] = K.splitVariantProps(e), [n, p] = W(r), { children: l, className: u, ...x } = p, d = K(o);
114
+ return /* @__PURE__ */ b(F.Root, { ref: t, className: D(d.root, V(n), u), ...x, children: [
115
+ /* @__PURE__ */ a(F.Control, { className: d.control, children: /* @__PURE__ */ a(F.Thumb, { className: d.thumb }) }),
116
+ l ? /* @__PURE__ */ a(F.Label, { className: d.label, children: l }) : null,
117
117
  /* @__PURE__ */ a(F.HiddenInput, {})
118
118
  ] });
119
119
  });
120
- Je.displayName = "Switch";
121
- const et = (e) => {
122
- const { as: t = "p", ...o } = e, r = J(() => i(t, _e), [t]);
120
+ tt.displayName = "Switch";
121
+ const ot = (e) => {
122
+ const { as: t = "p", ...o } = e, r = X(() => i(t, Re), [t]);
123
123
  return /* @__PURE__ */ a(r, { ...o });
124
- }, br = i(P.textarea, Ee), { withProvider: tt, withContext: V } = L(Re), fr = tt(i(R.Root), "root", {
124
+ }, xr = i(z.textarea, Be), { withProvider: rt, withContext: O } = M(Fe), wr = rt(i(R.Root), "root", {
125
125
  defaultProps: {
126
126
  lazyMount: !0
127
127
  }
128
- }), yr = V(i(R.Content), "content"), xr = V(i(R.Trigger), "trigger"), ot = V(i(R.Indicator), "indicator"), oe = k(
129
- ({ children: e, ...t }, o) => /* @__PURE__ */ v(R.List, { ref: o, ...t, children: [
128
+ }), Ir = O(i(R.Content), "content"), Cr = O(i(R.Trigger), "trigger"), at = O(i(R.Indicator), "indicator"), re = S(
129
+ ({ children: e, ...t }, o) => /* @__PURE__ */ b(R.List, { ref: o, ...t, children: [
130
130
  e,
131
- /* @__PURE__ */ a(ot, {})
131
+ /* @__PURE__ */ a(at, {})
132
132
  ] })
133
133
  );
134
- oe.displayName = R.List.displayName;
135
- const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t === !0 ? o(e) : e, { withProvider: at, withContext: y } = L(Be), it = at(i(b.Root), "root", {
134
+ re.displayName = R.List.displayName;
135
+ const Sr = O(i(re), "list"), it = ({ children: e, when: t, wrapper: o }) => t === !0 ? o(e) : e, { withProvider: nt, withContext: y } = M(De), lt = nt(i(v.Root), "root", {
136
136
  defaultProps: {
137
137
  loopFocus: !0
138
138
  }
139
- }), nt = y(i(b.ClearTrigger), "clearTrigger"), lt = y(i(b.Content), "content"), st = y(i(b.Control), "control"), dt = y(i(b.Indicator), "indicator"), ct = y(i(b.Item), "item"), ut = y(i(b.ItemIndicator), "itemIndicator"), pt = y(i(b.ItemText), "itemText"), gt = y(i(b.Positioner), "positioner"), mt = y(i(b.Trigger), "trigger"), ht = y(i(b.ValueText), "valueText"), Ir = ({
139
+ }), st = y(i(v.ClearTrigger), "clearTrigger"), dt = y(i(v.Content), "content"), ct = y(i(v.Control), "control"), ut = y(i(v.Indicator), "indicator"), pt = y(i(v.Item), "item"), gt = y(i(v.ItemIndicator), "itemIndicator"), mt = y(i(v.ItemText), "itemText"), ht = y(i(v.Positioner), "positioner"), bt = y(i(v.Trigger), "trigger"), vt = y(i(v.ValueText), "valueText"), Tr = ({
140
140
  items: e,
141
141
  placeholder: t,
142
142
  emptyLabel: o,
143
143
  usePortal: r = !0,
144
- positioning: l,
145
- ...m
146
- }) => /* @__PURE__ */ v(
147
- it,
144
+ positioning: n,
145
+ ...p
146
+ }) => /* @__PURE__ */ b(
147
+ lt,
148
148
  {
149
149
  lazyMount: !0,
150
150
  unmountOnExit: !0,
151
151
  items: e,
152
- positioning: { sameWidth: !0, gutter: 0, ...l },
152
+ positioning: { sameWidth: !0, gutter: 0, ...n },
153
153
  "data-recipe": "select",
154
- ...m,
154
+ ...p,
155
155
  children: [
156
- /* @__PURE__ */ a(st, { children: /* @__PURE__ */ v(mt, { children: [
157
- /* @__PURE__ */ a(ht, { truncate: !0, placeholder: t }),
158
- /* @__PURE__ */ a(nt, { asChild: !0, children: /* @__PURE__ */ a(i.svg, { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a(
156
+ /* @__PURE__ */ a(ct, { children: /* @__PURE__ */ b(bt, { children: [
157
+ /* @__PURE__ */ a(vt, { truncate: !0, placeholder: t }),
158
+ /* @__PURE__ */ a(st, { asChild: !0, children: /* @__PURE__ */ a(i.svg, { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a(
159
159
  "path",
160
160
  {
161
161
  d: "M9.99996 1.66669C5.39163 1.66669 1.66663 5.39169 1.66663 10C1.66663 14.6084 5.39163 18.3334 9.99996 18.3334C14.6083 18.3334 18.3333 14.6084 18.3333 10C18.3333 5.39169 14.6083 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667ZM12.9916 5.83335L9.99996 8.82502L7.00829 5.83335L5.83329 7.00835L8.82496 10L5.83329 12.9917L7.00829 14.1667L9.99996 11.175L12.9916 14.1667L14.1666 12.9917L11.175 10L14.1666 7.00835L12.9916 5.83335Z",
162
162
  fill: "currentColor"
163
163
  }
164
164
  ) }) }),
165
- /* @__PURE__ */ a(dt, { asChild: !0, children: /* @__PURE__ */ a(i.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a(
165
+ /* @__PURE__ */ a(ut, { asChild: !0, children: /* @__PURE__ */ a(i.svg, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a(
166
166
  "path",
167
167
  {
168
168
  d: "M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",
@@ -170,23 +170,32 @@ const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t ==
170
170
  }
171
171
  ) }) })
172
172
  ] }) }),
173
- /* @__PURE__ */ a(rt, { when: r, wrapper: (s) => /* @__PURE__ */ a(Q, { children: s }), children: /* @__PURE__ */ a(gt, { children: /* @__PURE__ */ a(lt, { children: e.length === 0 ? /* @__PURE__ */ a(et, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : e.map((s) => /* @__PURE__ */ v(ct, { item: s, children: [
174
- /* @__PURE__ */ a(pt, { truncate: !0, children: s.label }),
175
- m.multiple ? /* @__PURE__ */ a(ut, { children: "✓" }) : null
176
- ] }, s.value)) }) }) }),
177
- /* @__PURE__ */ a(b.HiddenSelect, {})
173
+ /* @__PURE__ */ a(it, { when: r, wrapper: (l) => /* @__PURE__ */ a(ee, { children: l }), children: /* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(dt, { children: e.length === 0 ? /* @__PURE__ */ a(ot, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : e.map((l) => /* @__PURE__ */ b(pt, { item: l, children: [
174
+ /* @__PURE__ */ a(mt, { truncate: !0, children: l.label }),
175
+ p.multiple ? /* @__PURE__ */ a(gt, { children: "✓" }) : null
176
+ ] }, l.value)) }) }) }),
177
+ /* @__PURE__ */ a(v.HiddenSelect, {})
178
178
  ]
179
179
  }
180
- ), Cr = i("input", Fe, {
180
+ ), kr = i("input", $e, {
181
181
  dataAttr: !0
182
- }), Sr = i("div", $e, {
182
+ }), _r = i("div", ze, {
183
183
  dataAttr: !0
184
- }), kr = i("div", De), vt = {
184
+ }), Er = i("div", Ae), Rr = (e) => {
185
+ const { as: t = "div", ...o } = e, r = X(() => i(t), [t]);
186
+ return /* @__PURE__ */ a(r, { ...o });
187
+ }, Br = S((e, t) => {
188
+ const [o, r] = Q.splitVariantProps(e), [n, p] = W(r), { children: l, className: u, ...x } = p, d = Q(o);
189
+ return /* @__PURE__ */ b(z.div, { ref: t, className: D(d.root, V(n), u), ...x, children: [
190
+ l,
191
+ /* @__PURE__ */ a(Ie, { className: D(d.badge) })
192
+ ] });
193
+ }), ft = {
185
194
  xl: "1536px",
186
195
  lg: "1200px",
187
196
  md: "900px",
188
197
  sm: "600px"
189
- }, bt = {
198
+ }, yt = {
190
199
  extend: {
191
200
  checked: "&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
192
201
  closed: "&:where([data-state=closed])",
@@ -204,7 +213,7 @@ const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t ==
204
213
  today: "&:where([data-today])",
205
214
  underValue: '&:where([data-state="under-value"])'
206
215
  }
207
- }, ft = {
216
+ }, xt = {
208
217
  "2xl": "672px",
209
218
  "3xl": "768px",
210
219
  "4xl": "896px",
@@ -217,7 +226,7 @@ const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t ==
217
226
  sm: "384px",
218
227
  xl: "576px",
219
228
  xs: "320px"
220
- }, yt = Pe({
229
+ }, wt = We({
221
230
  blob: {
222
231
  "0%": {
223
232
  rotate: "0deg"
@@ -335,7 +344,7 @@ const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t ==
335
344
  transform: "rotate(360deg)"
336
345
  }
337
346
  }
338
- }), xt = w({
347
+ }), It = I({
339
348
  base: {
340
349
  _focusVisible: {
341
350
  ring: "2px solid {colors.primary.200}",
@@ -526,7 +535,7 @@ const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t ==
526
535
  }
527
536
  }
528
537
  ]
529
- }), wt = w({
538
+ }), Ct = I({
530
539
  className: "heading",
531
540
  defaultVariants: {
532
541
  size: "h2"
@@ -557,14 +566,14 @@ const wr = V(i(oe), "list"), rt = ({ children: e, when: t, wrapper: o }) => t ==
557
566
  }
558
567
  }
559
568
  });
560
- var x = (e, t = []) => ({
569
+ var w = (e, t = []) => ({
561
570
  parts: (...o) => {
562
- if (It(t))
563
- return x(e, o);
571
+ if (St(t))
572
+ return w(e, o);
564
573
  throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
565
574
  },
566
- extendWith: (...o) => x(e, [...t, ...o]),
567
- rename: (o) => x(o, t),
575
+ extendWith: (...o) => w(e, [...t, ...o]),
576
+ rename: (o) => w(o, t),
568
577
  keys: () => t,
569
578
  build: () => [...new Set(t)].reduce(
570
579
  (o, r) => Object.assign(o, {
@@ -578,36 +587,36 @@ var x = (e, t = []) => ({
578
587
  }),
579
588
  {}
580
589
  )
581
- }), E = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), It = (e) => e.length === 0, Ct = (e) => e.nodeType === Node.DOCUMENT_NODE, St = (e) => e != null && e === e.window;
582
- function kt(e) {
583
- return Ct(e) ? e : St(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
590
+ }), E = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), St = (e) => e.length === 0, Tt = (e) => e.nodeType === Node.DOCUMENT_NODE, kt = (e) => e != null && e === e.window;
591
+ function _t(e) {
592
+ return Tt(e) ? e : kt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
584
593
  }
585
- var re = (e) => e.id;
586
- function Tt(e, t, o = re) {
594
+ var ae = (e) => e.id;
595
+ function Et(e, t, o = ae) {
587
596
  return e.find((r) => o(r) === t);
588
597
  }
589
- function ae(e, t, o = re) {
590
- const r = Tt(e, t, o);
598
+ function ie(e, t, o = ae) {
599
+ const r = Et(e, t, o);
591
600
  return r ? e.indexOf(r) : -1;
592
601
  }
593
- function _t(e, t, o = !0) {
594
- let r = ae(e, t);
602
+ function Rt(e, t, o = !0) {
603
+ let r = ie(e, t);
595
604
  return r = o ? (r + 1) % e.length : Math.min(r + 1, e.length - 1), e[r];
596
605
  }
597
- function Et(e, t, o = !0) {
598
- let r = ae(e, t);
606
+ function Bt(e, t, o = !0) {
607
+ let r = ie(e, t);
599
608
  return r === -1 ? o ? e[e.length - 1] : null : (r = o ? (r - 1 + e.length) % e.length : Math.max(0, r - 1), e[r]);
600
609
  }
601
- function Rt(e, t) {
610
+ function Ft(e, t) {
602
611
  return Array.from((e == null ? void 0 : e.querySelectorAll(t)) ?? []);
603
612
  }
604
- function Bt(e) {
613
+ function Dt(e) {
605
614
  const t = {
606
615
  getRootNode: (o) => {
607
616
  var r;
608
617
  return ((r = o.getRootNode) == null ? void 0 : r.call(o)) ?? document;
609
618
  },
610
- getDoc: (o) => kt(t.getRootNode(o)),
619
+ getDoc: (o) => _t(t.getRootNode(o)),
611
620
  getWin: (o) => t.getDoc(o).defaultView ?? window,
612
621
  getActiveElement: (o) => t.getDoc(o).activeElement,
613
622
  isActiveElement: (o, r) => r === t.getActiveElement(o),
@@ -615,15 +624,15 @@ function Bt(e) {
615
624
  setValue: (o, r) => {
616
625
  if (o == null || r == null)
617
626
  return;
618
- const l = r.toString();
619
- o.value !== l && (o.value = r.toString());
627
+ const n = r.toString();
628
+ o.value !== n && (o.value = r.toString());
620
629
  }
621
630
  };
622
631
  return { ...t, ...e };
623
632
  }
624
- var ie = (e) => e[0], ne = (e) => e[e.length - 1], le = () => (e) => Array.from(new Set(e)), se = x("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator");
625
- se.build();
626
- var f = Bt({
633
+ var ne = (e) => e[0], le = (e) => e[e.length - 1], se = () => (e) => Array.from(new Set(e)), de = w("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator");
634
+ de.build();
635
+ var f = Dt({
627
636
  getRootId: (e) => {
628
637
  var t;
629
638
  return ((t = e.ids) == null ? void 0 : t.root) ?? `accordion:${e.id}`;
@@ -643,14 +652,14 @@ var f = Bt({
643
652
  getRootEl: (e) => f.getById(e, f.getRootId(e)),
644
653
  getTriggers: (e) => {
645
654
  const o = `[aria-controls][data-ownedby='${CSS.escape(f.getRootId(e))}']:not([disabled])`;
646
- return Rt(f.getRootEl(e), o);
655
+ return Ft(f.getRootEl(e), o);
647
656
  },
648
- getFirstTriggerEl: (e) => ie(f.getTriggers(e)),
649
- getLastTriggerEl: (e) => ne(f.getTriggers(e)),
650
- getNextTriggerEl: (e, t) => _t(f.getTriggers(e), f.getItemTriggerId(e, t)),
651
- getPrevTriggerEl: (e, t) => Et(f.getTriggers(e), f.getItemTriggerId(e, t))
657
+ getFirstTriggerEl: (e) => ne(f.getTriggers(e)),
658
+ getLastTriggerEl: (e) => le(f.getTriggers(e)),
659
+ getNextTriggerEl: (e, t) => Rt(f.getTriggers(e), f.getItemTriggerId(e, t)),
660
+ getPrevTriggerEl: (e, t) => Bt(f.getTriggers(e), f.getItemTriggerId(e, t))
652
661
  });
653
- le()([
662
+ se()([
654
663
  "collapsible",
655
664
  "dir",
656
665
  "disabled",
@@ -663,18 +672,18 @@ le()([
663
672
  "orientation",
664
673
  "value"
665
674
  ]);
666
- le()(["value", "disabled"]);
667
- var Ft = (e) => e.nodeType === Node.DOCUMENT_NODE, $t = (e) => e != null && e === e.window;
668
- function Dt(e) {
669
- return Ft(e) ? e : $t(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
675
+ se()(["value", "disabled"]);
676
+ var $t = (e) => e.nodeType === Node.DOCUMENT_NODE, zt = (e) => e != null && e === e.window;
677
+ function At(e) {
678
+ return $t(e) ? e : zt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
670
679
  }
671
- function zt(e) {
680
+ function Nt(e) {
672
681
  const t = {
673
682
  getRootNode: (o) => {
674
683
  var r;
675
684
  return ((r = o.getRootNode) == null ? void 0 : r.call(o)) ?? document;
676
685
  },
677
- getDoc: (o) => Dt(t.getRootNode(o)),
686
+ getDoc: (o) => At(t.getRootNode(o)),
678
687
  getWin: (o) => t.getDoc(o).defaultView ?? window,
679
688
  getActiveElement: (o) => t.getDoc(o).activeElement,
680
689
  isActiveElement: (o, r) => r === t.getActiveElement(o),
@@ -682,15 +691,15 @@ function zt(e) {
682
691
  setValue: (o, r) => {
683
692
  if (o == null || r == null)
684
693
  return;
685
- const l = r.toString();
686
- o.value !== l && (o.value = r.toString());
694
+ const n = r.toString();
695
+ o.value !== n && (o.value = r.toString());
687
696
  }
688
697
  };
689
698
  return { ...t, ...e };
690
699
  }
691
- var At = () => (e) => Array.from(new Set(e)), de = x("checkbox").parts("root", "label", "control", "indicator");
692
- de.build();
693
- var z = zt({
700
+ var Pt = () => (e) => Array.from(new Set(e)), ce = w("checkbox").parts("root", "label", "control", "indicator");
701
+ ce.build();
702
+ var N = Nt({
694
703
  getRootId: (e) => {
695
704
  var t;
696
705
  return ((t = e.ids) == null ? void 0 : t.root) ?? `checkbox:${e.id}`;
@@ -707,10 +716,10 @@ var z = zt({
707
716
  var t;
708
717
  return ((t = e.ids) == null ? void 0 : t.hiddenInput) ?? `checkbox:${e.id}:hidden`;
709
718
  },
710
- getRootEl: (e) => z.getById(e, z.getRootId(e)),
711
- getHiddenInputEl: (e) => z.getById(e, z.getHiddenInputId(e))
719
+ getRootEl: (e) => N.getById(e, N.getRootId(e)),
720
+ getHiddenInputEl: (e) => N.getById(e, N.getHiddenInputId(e))
712
721
  });
713
- At()([
722
+ Pt()([
714
723
  "checked",
715
724
  "dir",
716
725
  "disabled",
@@ -725,17 +734,17 @@ At()([
725
734
  "required",
726
735
  "value"
727
736
  ]);
728
- var Nt = (e) => e.nodeType === Node.DOCUMENT_NODE, Pt = (e) => e != null && e === e.window;
729
- function Lt(e) {
730
- return Nt(e) ? e : Pt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
737
+ var Lt = (e) => e.nodeType === Node.DOCUMENT_NODE, Wt = (e) => e != null && e === e.window;
738
+ function Vt(e) {
739
+ return Lt(e) ? e : Wt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
731
740
  }
732
- function Wt(e) {
741
+ function Mt(e) {
733
742
  const t = {
734
743
  getRootNode: (o) => {
735
744
  var r;
736
745
  return ((r = o.getRootNode) == null ? void 0 : r.call(o)) ?? document;
737
746
  },
738
- getDoc: (o) => Lt(t.getRootNode(o)),
747
+ getDoc: (o) => Vt(t.getRootNode(o)),
739
748
  getWin: (o) => t.getDoc(o).defaultView ?? window,
740
749
  getActiveElement: (o) => t.getDoc(o).activeElement,
741
750
  isActiveElement: (o, r) => r === t.getActiveElement(o),
@@ -743,13 +752,13 @@ function Wt(e) {
743
752
  setValue: (o, r) => {
744
753
  if (o == null || r == null)
745
754
  return;
746
- const l = r.toString();
747
- o.value !== l && (o.value = r.toString());
755
+ const n = r.toString();
756
+ o.value !== n && (o.value = r.toString());
748
757
  }
749
758
  };
750
759
  return { ...t, ...e };
751
760
  }
752
- var Vt = () => (e) => Array.from(new Set(e)), ce = x("dialog").parts(
761
+ var Ht = () => (e) => Array.from(new Set(e)), ue = w("dialog").parts(
753
762
  "trigger",
754
763
  "backdrop",
755
764
  "positioner",
@@ -758,8 +767,8 @@ var Vt = () => (e) => Array.from(new Set(e)), ce = x("dialog").parts(
758
767
  "description",
759
768
  "closeTrigger"
760
769
  );
761
- ce.build();
762
- var p = Wt({
770
+ ue.build();
771
+ var g = Mt({
763
772
  getPositionerId: (e) => {
764
773
  var t;
765
774
  return ((t = e.ids) == null ? void 0 : t.positioner) ?? `dialog:${e.id}:positioner`;
@@ -788,15 +797,15 @@ var p = Wt({
788
797
  var t;
789
798
  return ((t = e.ids) == null ? void 0 : t.closeTrigger) ?? `dialog:${e.id}:close`;
790
799
  },
791
- getContentEl: (e) => p.getById(e, p.getContentId(e)),
792
- getPositionerEl: (e) => p.getById(e, p.getPositionerId(e)),
793
- getBackdropEl: (e) => p.getById(e, p.getBackdropId(e)),
794
- getTriggerEl: (e) => p.getById(e, p.getTriggerId(e)),
795
- getTitleEl: (e) => p.getById(e, p.getTitleId(e)),
796
- getDescriptionEl: (e) => p.getById(e, p.getDescriptionId(e)),
797
- getCloseTriggerEl: (e) => p.getById(e, p.getCloseTriggerId(e))
800
+ getContentEl: (e) => g.getById(e, g.getContentId(e)),
801
+ getPositionerEl: (e) => g.getById(e, g.getPositionerId(e)),
802
+ getBackdropEl: (e) => g.getById(e, g.getBackdropId(e)),
803
+ getTriggerEl: (e) => g.getById(e, g.getTriggerId(e)),
804
+ getTitleEl: (e) => g.getById(e, g.getTitleId(e)),
805
+ getDescriptionEl: (e) => g.getById(e, g.getDescriptionId(e)),
806
+ getCloseTriggerEl: (e) => g.getById(e, g.getCloseTriggerId(e))
798
807
  });
799
- Vt()([
808
+ Ht()([
800
809
  "aria-label",
801
810
  "closeOnEscape",
802
811
  "closeOnInteractOutside",
@@ -822,17 +831,17 @@ Vt()([
822
831
  "role",
823
832
  "trapFocus"
824
833
  ]);
825
- var Mt = (e) => e.nodeType === Node.DOCUMENT_NODE, Ht = (e) => e != null && e === e.window;
826
- function Ot(e) {
827
- return Mt(e) ? e : Ht(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
834
+ var Ot = (e) => e.nodeType === Node.DOCUMENT_NODE, jt = (e) => e != null && e === e.window;
835
+ function Gt(e) {
836
+ return Ot(e) ? e : jt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
828
837
  }
829
- function jt(e) {
838
+ function Yt(e) {
830
839
  const t = {
831
840
  getRootNode: (o) => {
832
841
  var r;
833
842
  return ((r = o.getRootNode) == null ? void 0 : r.call(o)) ?? document;
834
843
  },
835
- getDoc: (o) => Ot(t.getRootNode(o)),
844
+ getDoc: (o) => Gt(t.getRootNode(o)),
836
845
  getWin: (o) => t.getDoc(o).defaultView ?? window,
837
846
  getActiveElement: (o) => t.getDoc(o).activeElement,
838
847
  isActiveElement: (o, r) => r === t.getActiveElement(o),
@@ -840,13 +849,13 @@ function jt(e) {
840
849
  setValue: (o, r) => {
841
850
  if (o == null || r == null)
842
851
  return;
843
- const l = r.toString();
844
- o.value !== l && (o.value = r.toString());
852
+ const n = r.toString();
853
+ o.value !== n && (o.value = r.toString());
845
854
  }
846
855
  };
847
856
  return { ...t, ...e };
848
857
  }
849
- var M = () => (e) => Array.from(new Set(e)), ue = x("select").parts(
858
+ var j = () => (e) => Array.from(new Set(e)), pe = w("select").parts(
850
859
  "label",
851
860
  "positioner",
852
861
  "trigger",
@@ -861,8 +870,8 @@ var M = () => (e) => Array.from(new Set(e)), ue = x("select").parts(
861
870
  "root",
862
871
  "control"
863
872
  );
864
- ue.build();
865
- var g = jt({
873
+ pe.build();
874
+ var m = Yt({
866
875
  getRootId: (e) => {
867
876
  var t;
868
877
  return ((t = e.ids) == null ? void 0 : t.root) ?? `select:${e.id}`;
@@ -907,17 +916,17 @@ var g = jt({
907
916
  var o, r;
908
917
  return ((r = (o = e.ids) == null ? void 0 : o.itemGroupLabel) == null ? void 0 : r.call(o, t)) ?? `select:${e.id}:optgroup-label:${t}`;
909
918
  },
910
- getHiddenSelectEl: (e) => g.getById(e, g.getHiddenSelectId(e)),
911
- getContentEl: (e) => g.getById(e, g.getContentId(e)),
912
- getControlEl: (e) => g.getById(e, g.getControlId(e)),
913
- getTriggerEl: (e) => g.getById(e, g.getTriggerId(e)),
914
- getClearTriggerEl: (e) => g.getById(e, g.getClearTriggerId(e)),
915
- getPositionerEl: (e) => g.getById(e, g.getPositionerId(e)),
919
+ getHiddenSelectEl: (e) => m.getById(e, m.getHiddenSelectId(e)),
920
+ getContentEl: (e) => m.getById(e, m.getContentId(e)),
921
+ getControlEl: (e) => m.getById(e, m.getControlId(e)),
922
+ getTriggerEl: (e) => m.getById(e, m.getTriggerId(e)),
923
+ getClearTriggerEl: (e) => m.getById(e, m.getClearTriggerId(e)),
924
+ getPositionerEl: (e) => m.getById(e, m.getPositionerId(e)),
916
925
  getHighlightedOptionEl(e) {
917
- return e.highlightedValue ? g.getById(e, g.getItemId(e, e.highlightedValue)) : null;
926
+ return e.highlightedValue ? m.getById(e, m.getItemId(e, e.highlightedValue)) : null;
918
927
  }
919
928
  });
920
- M()([
929
+ j()([
921
930
  "closeOnSelect",
922
931
  "collection",
923
932
  "dir",
@@ -945,21 +954,21 @@ M()([
945
954
  "scrollToIndexFn",
946
955
  "value"
947
956
  ]);
948
- M()(["item", "persistFocus"]);
949
- M()(["id"]);
950
- M()(["htmlFor"]);
951
- const Gt = ue.extendWith("valueText");
952
- var Yt = (e) => e.nodeType === Node.DOCUMENT_NODE, Xt = (e) => e != null && e === e.window;
953
- function Ut(e) {
954
- return Yt(e) ? e : Xt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
957
+ j()(["item", "persistFocus"]);
958
+ j()(["id"]);
959
+ j()(["htmlFor"]);
960
+ const Xt = pe.extendWith("valueText");
961
+ var Ut = (e) => e.nodeType === Node.DOCUMENT_NODE, qt = (e) => e != null && e === e.window;
962
+ function Zt(e) {
963
+ return Ut(e) ? e : qt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
955
964
  }
956
- function qt(e) {
965
+ function Kt(e) {
957
966
  const t = {
958
967
  getRootNode: (o) => {
959
968
  var r;
960
969
  return ((r = o.getRootNode) == null ? void 0 : r.call(o)) ?? document;
961
970
  },
962
- getDoc: (o) => Ut(t.getRootNode(o)),
971
+ getDoc: (o) => Zt(t.getRootNode(o)),
963
972
  getWin: (o) => t.getDoc(o).defaultView ?? window,
964
973
  getActiveElement: (o) => t.getDoc(o).activeElement,
965
974
  isActiveElement: (o, r) => r === t.getActiveElement(o),
@@ -967,15 +976,15 @@ function qt(e) {
967
976
  setValue: (o, r) => {
968
977
  if (o == null || r == null)
969
978
  return;
970
- const l = r.toString();
971
- o.value !== l && (o.value = r.toString());
979
+ const n = r.toString();
980
+ o.value !== n && (o.value = r.toString());
972
981
  }
973
982
  };
974
983
  return { ...t, ...e };
975
984
  }
976
- var Zt = () => (e) => Array.from(new Set(e)), pe = x("switch").parts("root", "label", "control", "thumb");
977
- pe.build();
978
- var A = qt({
985
+ var Qt = () => (e) => Array.from(new Set(e)), ge = w("switch").parts("root", "label", "control", "thumb");
986
+ ge.build();
987
+ var P = Kt({
979
988
  getRootId: (e) => {
980
989
  var t;
981
990
  return ((t = e.ids) == null ? void 0 : t.root) ?? `switch:${e.id}`;
@@ -992,14 +1001,14 @@ var A = qt({
992
1001
  var t;
993
1002
  return ((t = e.ids) == null ? void 0 : t.control) ?? `switch:${e.id}:control`;
994
1003
  },
995
- getRootEl: (e) => A.getById(e, A.getRootId(e)),
1004
+ getRootEl: (e) => P.getById(e, P.getRootId(e)),
996
1005
  getHiddenInputId: (e) => {
997
1006
  var t;
998
1007
  return ((t = e.ids) == null ? void 0 : t.input) ?? `switch:${e.id}:input`;
999
1008
  },
1000
- getHiddenInputEl: (e) => A.getById(e, A.getHiddenInputId(e))
1009
+ getHiddenInputEl: (e) => P.getById(e, P.getHiddenInputId(e))
1001
1010
  });
1002
- Zt()([
1011
+ Qt()([
1003
1012
  "checked",
1004
1013
  "dir",
1005
1014
  "disabled",
@@ -1015,36 +1024,36 @@ Zt()([
1015
1024
  "required",
1016
1025
  "value"
1017
1026
  ]);
1018
- var Kt = (e) => e.nodeType === Node.DOCUMENT_NODE, Qt = (e) => e != null && e === e.window;
1019
- function Jt(e) {
1020
- return Kt(e) ? e : Qt(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
1027
+ var Jt = (e) => e.nodeType === Node.DOCUMENT_NODE, eo = (e) => e != null && e === e.window;
1028
+ function to(e) {
1029
+ return Jt(e) ? e : eo(e) ? e.document : (e == null ? void 0 : e.ownerDocument) ?? document;
1021
1030
  }
1022
- var ge = (e) => e.id;
1023
- function me(e, t, o = ge) {
1031
+ var me = (e) => e.id;
1032
+ function he(e, t, o = me) {
1024
1033
  return e.find((r) => o(r) === t);
1025
1034
  }
1026
- function he(e, t, o = ge) {
1027
- const r = me(e, t, o);
1035
+ function be(e, t, o = me) {
1036
+ const r = he(e, t, o);
1028
1037
  return r ? e.indexOf(r) : -1;
1029
1038
  }
1030
- function eo(e, t, o = !0) {
1031
- let r = he(e, t);
1039
+ function oo(e, t, o = !0) {
1040
+ let r = be(e, t);
1032
1041
  return r = o ? (r + 1) % e.length : Math.min(r + 1, e.length - 1), e[r];
1033
1042
  }
1034
- function to(e, t, o = !0) {
1035
- let r = he(e, t);
1043
+ function ro(e, t, o = !0) {
1044
+ let r = be(e, t);
1036
1045
  return r === -1 ? o ? e[e.length - 1] : null : (r = o ? (r - 1 + e.length) % e.length : Math.max(0, r - 1), e[r]);
1037
1046
  }
1038
- function oo(e, t) {
1047
+ function ao(e, t) {
1039
1048
  return Array.from((e == null ? void 0 : e.querySelectorAll(t)) ?? []);
1040
1049
  }
1041
- function ro(e) {
1050
+ function io(e) {
1042
1051
  const t = {
1043
1052
  getRootNode: (o) => {
1044
1053
  var r;
1045
1054
  return ((r = o.getRootNode) == null ? void 0 : r.call(o)) ?? document;
1046
1055
  },
1047
- getDoc: (o) => Jt(t.getRootNode(o)),
1056
+ getDoc: (o) => to(t.getRootNode(o)),
1048
1057
  getWin: (o) => t.getDoc(o).defaultView ?? window,
1049
1058
  getActiveElement: (o) => t.getDoc(o).activeElement,
1050
1059
  isActiveElement: (o, r) => r === t.getActiveElement(o),
@@ -1052,15 +1061,15 @@ function ro(e) {
1052
1061
  setValue: (o, r) => {
1053
1062
  if (o == null || r == null)
1054
1063
  return;
1055
- const l = r.toString();
1056
- o.value !== l && (o.value = r.toString());
1064
+ const n = r.toString();
1065
+ o.value !== n && (o.value = r.toString());
1057
1066
  }
1058
1067
  };
1059
1068
  return { ...t, ...e };
1060
1069
  }
1061
- var X = () => (e) => Array.from(new Set(e)), ve = x("tabs").parts("root", "list", "trigger", "content", "indicator");
1070
+ var U = () => (e) => Array.from(new Set(e)), ve = w("tabs").parts("root", "list", "trigger", "content", "indicator");
1062
1071
  ve.build();
1063
- var n = ro({
1072
+ var s = io({
1064
1073
  getRootId: (e) => {
1065
1074
  var t;
1066
1075
  return ((t = e.ids) == null ? void 0 : t.root) ?? `tabs:${e.id}`;
@@ -1081,25 +1090,25 @@ var n = ro({
1081
1090
  var t;
1082
1091
  return ((t = e.ids) == null ? void 0 : t.indicator) ?? `tabs:${e.id}:indicator`;
1083
1092
  },
1084
- getListEl: (e) => n.getById(e, n.getListId(e)),
1085
- getContentEl: (e, t) => n.getById(e, n.getContentId(e, t)),
1086
- getTriggerEl: (e, t) => n.getById(e, n.getTriggerId(e, t)),
1087
- getIndicatorEl: (e) => n.getById(e, n.getIndicatorId(e)),
1093
+ getListEl: (e) => s.getById(e, s.getListId(e)),
1094
+ getContentEl: (e, t) => s.getById(e, s.getContentId(e, t)),
1095
+ getTriggerEl: (e, t) => s.getById(e, s.getTriggerId(e, t)),
1096
+ getIndicatorEl: (e) => s.getById(e, s.getIndicatorId(e)),
1088
1097
  getElements: (e) => {
1089
- const o = `[role=tab][data-ownedby='${CSS.escape(n.getListId(e))}']:not([disabled])`;
1090
- return oo(n.getListEl(e), o);
1098
+ const o = `[role=tab][data-ownedby='${CSS.escape(s.getListId(e))}']:not([disabled])`;
1099
+ return ao(s.getListEl(e), o);
1091
1100
  },
1092
- getFirstTriggerEl: (e) => ie(n.getElements(e)),
1093
- getLastTriggerEl: (e) => ne(n.getElements(e)),
1094
- getNextTriggerEl: (e, t) => eo(n.getElements(e), n.getTriggerId(e, t), e.loopFocus),
1095
- getPrevTriggerEl: (e, t) => to(n.getElements(e), n.getTriggerId(e, t), e.loopFocus),
1101
+ getFirstTriggerEl: (e) => ne(s.getElements(e)),
1102
+ getLastTriggerEl: (e) => le(s.getElements(e)),
1103
+ getNextTriggerEl: (e, t) => oo(s.getElements(e), s.getTriggerId(e, t), e.loopFocus),
1104
+ getPrevTriggerEl: (e, t) => ro(s.getElements(e), s.getTriggerId(e, t), e.loopFocus),
1096
1105
  getSelectedContentEl: (e) => {
1097
1106
  if (e.value)
1098
- return n.getContentEl(e, e.value);
1107
+ return s.getContentEl(e, e.value);
1099
1108
  },
1100
1109
  getSelectedTriggerEl: (e) => {
1101
1110
  if (e.value)
1102
- return n.getTriggerEl(e, e.value);
1111
+ return s.getTriggerEl(e, e.value);
1103
1112
  },
1104
1113
  getOffsetRect: (e) => ({
1105
1114
  left: (e == null ? void 0 : e.offsetLeft) ?? 0,
@@ -1108,8 +1117,8 @@ var n = ro({
1108
1117
  height: (e == null ? void 0 : e.offsetHeight) ?? 0
1109
1118
  }),
1110
1119
  getRectById: (e, t) => {
1111
- const o = me(n.getElements(e), n.getTriggerId(e, t));
1112
- return n.resolveRect(n.getOffsetRect(o));
1120
+ const o = he(s.getElements(e), s.getTriggerId(e, t));
1121
+ return s.resolveRect(s.getOffsetRect(o));
1113
1122
  },
1114
1123
  resolveRect: (e) => ({
1115
1124
  width: `${e.width}px`,
@@ -1118,7 +1127,7 @@ var n = ro({
1118
1127
  top: `${e.top}px`
1119
1128
  })
1120
1129
  });
1121
- X()([
1130
+ U()([
1122
1131
  "activationMode",
1123
1132
  "composite",
1124
1133
  "dir",
@@ -1132,9 +1141,9 @@ X()([
1132
1141
  "translations",
1133
1142
  "value"
1134
1143
  ]);
1135
- X()(["disabled", "value"]);
1136
- X()(["value"]);
1137
- const ao = T({
1144
+ U()(["disabled", "value"]);
1145
+ U()(["value"]);
1146
+ const no = k({
1138
1147
  base: {
1139
1148
  control: {
1140
1149
  _focus: {
@@ -1194,7 +1203,7 @@ const ao = T({
1194
1203
  size: "md"
1195
1204
  },
1196
1205
  jsx: ["Switch", "SwitchField"],
1197
- slots: pe.keys(),
1206
+ slots: ge.keys(),
1198
1207
  variants: {
1199
1208
  size: {
1200
1209
  md: {
@@ -1216,7 +1225,7 @@ const ao = T({
1216
1225
  }
1217
1226
  }
1218
1227
  }
1219
- }), io = w({
1228
+ }), lo = I({
1220
1229
  className: "text",
1221
1230
  defaultVariants: {
1222
1231
  size: "md"
@@ -1249,7 +1258,7 @@ const ao = T({
1249
1258
  sm: { textStyle: "body.sm" }
1250
1259
  }
1251
1260
  }
1252
- }), be = w({
1261
+ }), fe = I({
1253
1262
  base: {
1254
1263
  '&[type="time"]::-webkit-calendar-picker-indicator': {
1255
1264
  display: "none"
@@ -1303,15 +1312,15 @@ const ao = T({
1303
1312
  }
1304
1313
  }
1305
1314
  }
1306
- }), no = w({
1315
+ }), so = I({
1307
1316
  className: "textarea",
1308
1317
  jsx: ["Textarea"],
1309
1318
  base: {
1310
1319
  px: "space-16",
1311
1320
  py: "space-8",
1312
- ...be.base
1321
+ ...fe.base
1313
1322
  }
1314
- }), lo = w({
1323
+ }), co = I({
1315
1324
  base: {
1316
1325
  _invalid: {
1317
1326
  '& [data-recipe="formHelperText"]': {
@@ -1341,7 +1350,7 @@ const ao = T({
1341
1350
  className: "form-control",
1342
1351
  description: "The styles for the FormControl component",
1343
1352
  jsx: ["FormControl"]
1344
- }), so = w({
1353
+ }), uo = I({
1345
1354
  base: {
1346
1355
  color: "grey.400",
1347
1356
  fontFamily: "satoshi",
@@ -1350,9 +1359,9 @@ const ao = T({
1350
1359
  className: "form-helper-text",
1351
1360
  description: "The styles for the FormHelperText component",
1352
1361
  jsx: ["FormHelperText"]
1353
- }), co = ce.extendWith("header", "body", "footer"), uo = T({
1362
+ }), po = ue.extendWith("header", "body", "footer"), go = k({
1354
1363
  className: "drawer",
1355
- slots: co.keys(),
1364
+ slots: po.keys(),
1356
1365
  jsx: ["Drawer"],
1357
1366
  base: {
1358
1367
  backdrop: {
@@ -1470,10 +1479,10 @@ const ao = T({
1470
1479
  }
1471
1480
  }
1472
1481
  }
1473
- }), po = T({
1482
+ }), mo = k({
1474
1483
  className: "accordion",
1475
1484
  jsx: ["Accordion"],
1476
- slots: se.keys(),
1485
+ slots: de.keys(),
1477
1486
  base: {
1478
1487
  root: {
1479
1488
  display: "flex",
@@ -1574,7 +1583,7 @@ const ao = T({
1574
1583
  }
1575
1584
  }
1576
1585
  }
1577
- }), go = T({
1586
+ }), ho = k({
1578
1587
  base: {
1579
1588
  root: { color: "grey.400", fontFamily: "satoshi", textStyle: "body.sm" },
1580
1589
  addon: {
@@ -1604,9 +1613,9 @@ const ao = T({
1604
1613
  className: "form-label",
1605
1614
  description: "The styles for the FormLabel component",
1606
1615
  jsx: ["FormLabel"]
1607
- }), mo = T({
1616
+ }), bo = k({
1608
1617
  className: "checkbox",
1609
- slots: de.keys(),
1618
+ slots: ce.keys(),
1610
1619
  jsx: ["Checkbox"],
1611
1620
  base: {
1612
1621
  root: {
@@ -1722,7 +1731,7 @@ const ao = T({
1722
1731
  }
1723
1732
  }
1724
1733
  }
1725
- }), ho = T({
1734
+ }), vo = k({
1726
1735
  className: "tabs",
1727
1736
  slots: ve.keys(),
1728
1737
  base: {
@@ -1828,7 +1837,7 @@ const ao = T({
1828
1837
  }
1829
1838
  }
1830
1839
  }
1831
- }), vo = T({
1840
+ }), fo = k({
1832
1841
  base: {
1833
1842
  control: {
1834
1843
  fontFamily: "satoshi"
@@ -1959,7 +1968,7 @@ const ao = T({
1959
1968
  size: "md"
1960
1969
  },
1961
1970
  jsx: ["Select"],
1962
- slots: Gt.keys(),
1971
+ slots: Xt.keys(),
1963
1972
  variants: {
1964
1973
  size: {
1965
1974
  md: {
@@ -1975,7 +1984,7 @@ const ao = T({
1975
1984
  }
1976
1985
  }
1977
1986
  }
1978
- }), bo = w({
1987
+ }), yo = I({
1979
1988
  base: {
1980
1989
  alignItems: "center",
1981
1990
  borderRadius: "inherit",
@@ -1988,7 +1997,7 @@ const ao = T({
1988
1997
  className: "input-addon",
1989
1998
  description: "The styles for the InputAddon component",
1990
1999
  jsx: ["InputAddon"]
1991
- }), fo = w({
2000
+ }), xo = I({
1992
2001
  base: {
1993
2002
  '& [data-recipe="input"]': {
1994
2003
  border: {
@@ -2028,25 +2037,131 @@ const ao = T({
2028
2037
  className: "input-group",
2029
2038
  description: "The styles for the InputGroup component",
2030
2039
  jsx: ["InputGroup"]
2031
- }), yo = {
2032
- button: xt,
2033
- heading: wt,
2034
- switchRecipe: ao,
2035
- text: io,
2036
- textarea: no,
2037
- formControl: lo,
2038
- formHelperText: so,
2039
- input: be,
2040
- inputAddon: bo,
2041
- inputGroup: fo
2042
- }, xo = {
2043
- drawer: uo,
2044
- accordion: po,
2045
- formLabel: go,
2046
- checkbox: mo,
2047
- tabs: ho,
2048
- select: vo
2049
- }, wo = Le.colors({
2040
+ }), wo = k({
2041
+ base: {
2042
+ root: {
2043
+ fontFamily: "satoshi",
2044
+ borderRadius: "radius-28",
2045
+ borderStyle: "solid",
2046
+ display: "inline-flex",
2047
+ flexDirection: "row",
2048
+ alignItems: "center",
2049
+ gap: "space-8"
2050
+ }
2051
+ },
2052
+ slots: ["root", "badge"],
2053
+ className: "tag",
2054
+ defaultVariants: {
2055
+ size: "md",
2056
+ severity: "neutral"
2057
+ },
2058
+ description: "The styles for the Tag component",
2059
+ jsx: ["Tag"],
2060
+ variants: {
2061
+ size: {
2062
+ lg: {
2063
+ root: {
2064
+ borderWidth: 2,
2065
+ textStyle: "body.lg",
2066
+ fontWeight: "bold",
2067
+ py: "space-8",
2068
+ px: "space-16"
2069
+ },
2070
+ badge: {
2071
+ width: "size-8",
2072
+ height: "size-8"
2073
+ }
2074
+ },
2075
+ md: {
2076
+ root: {
2077
+ borderWidth: 1,
2078
+ textStyle: "body.md",
2079
+ fontWeight: "bold",
2080
+ py: "space-4",
2081
+ px: "space-12"
2082
+ },
2083
+ badge: {
2084
+ width: "size-6",
2085
+ height: "size-6"
2086
+ }
2087
+ },
2088
+ sm: {
2089
+ root: {
2090
+ borderWidth: 1,
2091
+ textStyle: "body.sm",
2092
+ fontWeight: "bold",
2093
+ py: "space-4",
2094
+ px: "space-8"
2095
+ },
2096
+ badge: {
2097
+ width: "size-4",
2098
+ height: "size-4"
2099
+ }
2100
+ }
2101
+ },
2102
+ severity: {
2103
+ success: {
2104
+ root: {
2105
+ bg: "success.100",
2106
+ borderColor: "success.500",
2107
+ color: "success.500"
2108
+ },
2109
+ badge: {
2110
+ bg: "success.500"
2111
+ }
2112
+ },
2113
+ warning: {
2114
+ root: {
2115
+ bg: "warning.100",
2116
+ borderColor: "warning.500",
2117
+ color: "warning.500"
2118
+ },
2119
+ badge: {
2120
+ bg: "warning.500"
2121
+ }
2122
+ },
2123
+ error: {
2124
+ root: {
2125
+ bg: "error.100",
2126
+ borderColor: "error.500",
2127
+ color: "error.500"
2128
+ },
2129
+ badge: {
2130
+ bg: "error.500"
2131
+ }
2132
+ },
2133
+ neutral: {
2134
+ root: {
2135
+ bg: "grey.50",
2136
+ borderColor: "grey.400",
2137
+ color: "grey.400"
2138
+ },
2139
+ badge: {
2140
+ bg: "grey.400"
2141
+ }
2142
+ }
2143
+ }
2144
+ }
2145
+ }), Io = {
2146
+ button: It,
2147
+ heading: Ct,
2148
+ switchRecipe: no,
2149
+ text: lo,
2150
+ textarea: so,
2151
+ formControl: co,
2152
+ formHelperText: uo,
2153
+ input: fe,
2154
+ inputAddon: yo,
2155
+ inputGroup: xo
2156
+ }, Co = {
2157
+ drawer: go,
2158
+ accordion: mo,
2159
+ formLabel: ho,
2160
+ checkbox: bo,
2161
+ tabs: vo,
2162
+ tag: wo,
2163
+ select: fo
2164
+ }, So = Ve.colors({
2050
2165
  decorative: {
2051
2166
  red: {
2052
2167
  light: { value: "#FFB5AD" },
@@ -2145,9 +2260,9 @@ const ao = T({
2145
2260
  value: "{colors.primary.900}"
2146
2261
  }
2147
2262
  }
2148
- }), Io = {
2149
- colors: wo
2150
- }, Co = We({
2263
+ }), To = {
2264
+ colors: So
2265
+ }, ko = Me({
2151
2266
  body: {
2152
2267
  lg: {
2153
2268
  value: {
@@ -2230,7 +2345,7 @@ const ao = T({
2230
2345
  }
2231
2346
  }
2232
2347
  }
2233
- }), So = d.animations({
2348
+ }), _o = c.animations({
2234
2349
  "backdrop-in": {
2235
2350
  value: "fade-in 250ms {easings.emphasized-in}"
2236
2351
  },
@@ -2271,14 +2386,14 @@ const ao = T({
2271
2386
  "collapse-out": {
2272
2387
  value: "collapse-out 150ms {easings.in-out}"
2273
2388
  }
2274
- }), ko = d.borders({
2389
+ }), Eo = c.borders({
2275
2390
  golden: { value: "1.618 / 1" },
2276
2391
  landscape: { value: "4 / 3" },
2277
2392
  portrait: { value: "3 / 4" },
2278
2393
  square: { value: "1 / 1" },
2279
2394
  ultrawide: { value: "18 / 5" },
2280
2395
  wide: { value: "16 / 9" }
2281
- }), To = d.blurs({
2396
+ }), Ro = c.blurs({
2282
2397
  "2xl": { value: "40px" },
2283
2398
  "3xl": { value: "64px" },
2284
2399
  base: { value: "8px" },
@@ -2286,11 +2401,11 @@ const ao = T({
2286
2401
  md: { value: "12px" },
2287
2402
  sm: { value: "4px" },
2288
2403
  xl: { value: "24px" }
2289
- }), _o = d.borders({
2404
+ }), Bo = c.borders({
2290
2405
  border: {
2291
2406
  none: { value: "none" }
2292
2407
  }
2293
- }), Eo = d.colors({
2408
+ }), Fo = c.colors({
2294
2409
  black: { value: "#000" },
2295
2410
  current: { value: "currentColor" },
2296
2411
  transparent: { value: "rgb(0 0 0 / 0)" },
@@ -2362,7 +2477,7 @@ const ao = T({
2362
2477
  200: { value: "#FFEAAC" },
2363
2478
  100: { value: "#FFF9E6" }
2364
2479
  }
2365
- }), Ro = d.durations({
2480
+ }), Do = c.durations({
2366
2481
  fast: { value: "150ms" },
2367
2482
  faster: { value: "100ms" },
2368
2483
  fastest: { value: "50ms" },
@@ -2370,7 +2485,7 @@ const ao = T({
2370
2485
  slow: { value: "300ms" },
2371
2486
  slower: { value: "400ms" },
2372
2487
  slowest: { value: "500ms" }
2373
- }), Bo = d.easings({
2488
+ }), $o = c.easings({
2374
2489
  default: { value: "cubic-bezier(0.2, 0.0, 0, 1.0)" },
2375
2490
  "ease-bounce-1": {
2376
2491
  value: `linear(
@@ -2458,7 +2573,7 @@ const ao = T({
2458
2573
  linear: { value: "linear" },
2459
2574
  out: { value: "cubic-bezier(0, 0, 0.2, 1)" },
2460
2575
  pulse: { value: "cubic-bezier(0.4, 0.0, 0.6, 1.0)" }
2461
- }), Fo = d.radii({
2576
+ }), zo = c.radii({
2462
2577
  "radius-0": { value: "0px" },
2463
2578
  "radius-2": { value: "2px" },
2464
2579
  "radius-4": { value: "4px" },
@@ -2480,7 +2595,7 @@ const ao = T({
2480
2595
  "radius-60": { value: "60px" },
2481
2596
  "radius-64": { value: "64px" },
2482
2597
  full: { value: "9999px" }
2483
- }), $o = d.shadows({
2598
+ }), Ao = c.shadows({
2484
2599
  "2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
2485
2600
  inner: { value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)" },
2486
2601
  lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
@@ -2488,7 +2603,7 @@ const ao = T({
2488
2603
  sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
2489
2604
  xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
2490
2605
  xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" }
2491
- }), Do = d.sizes({
2606
+ }), No = c.sizes({
2492
2607
  "size-0": {
2493
2608
  value: "0px"
2494
2609
  },
@@ -2565,7 +2680,7 @@ const ao = T({
2565
2680
  "size-80": {
2566
2681
  value: "80px"
2567
2682
  }
2568
- }), zo = d.spacing({
2683
+ }), Po = c.spacing({
2569
2684
  "space-0": {
2570
2685
  value: "0px"
2571
2686
  },
@@ -2645,9 +2760,9 @@ const ao = T({
2645
2760
  value: "80px"
2646
2761
  }
2647
2762
  });
2648
- var Ao = "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,%";
2649
- `${Ao.split(",").join("|")}`;
2650
- var No = {
2763
+ var Lo = "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,%";
2764
+ `${Lo.split(",").join("|")}`;
2765
+ var Wo = {
2651
2766
  animation: [
2652
2767
  "animationName",
2653
2768
  "animationDuration",
@@ -2758,22 +2873,22 @@ var No = {
2758
2873
  textEmphasis: ["textEmphasisStyle", "textEmphasisColor"],
2759
2874
  transition: ["transitionProperty", "transitionDuration", "transitionTimingFunction", "transitionDelay"]
2760
2875
  };
2761
- Object.values(No).reduce((e, t) => [...e, ...t], []);
2762
- var Po = 16, fe = "px", ye = "em", N = "rem";
2763
- function Lo(e = "") {
2764
- const t = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${fe}|${ye}|${N}`), r = e.match(new RegExp(`${t.source}(${o.source})`));
2876
+ Object.values(Wo).reduce((e, t) => [...e, ...t], []);
2877
+ var Vo = 16, ye = "px", xe = "em", L = "rem";
2878
+ function Mo(e = "") {
2879
+ const t = new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`), o = new RegExp(`${ye}|${xe}|${L}`), r = e.match(new RegExp(`${t.source}(${o.source})`));
2765
2880
  return r == null ? void 0 : r[1];
2766
2881
  }
2767
2882
  function h(e = "") {
2768
- const t = Lo(e);
2769
- if (!t || t === N)
2883
+ const t = Mo(e);
2884
+ if (!t || t === L)
2770
2885
  return e;
2886
+ if (t === xe)
2887
+ return `${parseFloat(e)}${L}`;
2771
2888
  if (t === ye)
2772
- return `${parseFloat(e)}${N}`;
2773
- if (t === fe)
2774
- return `${parseFloat(e) / Po}${N}`;
2889
+ return `${parseFloat(e) / Vo}${L}`;
2775
2890
  }
2776
- const Wo = d.fontSizes({
2891
+ const Ho = c.fontSizes({
2777
2892
  body: {
2778
2893
  lg: { value: h("16px") },
2779
2894
  md: { value: h("14px") },
@@ -2795,7 +2910,7 @@ const Wo = d.fontSizes({
2795
2910
  xs: { value: h("18px") }
2796
2911
  }
2797
2912
  }
2798
- }), Vo = d.fontWeights({
2913
+ }), Oo = c.fontWeights({
2799
2914
  black: { value: "900" },
2800
2915
  bold: { value: "700" },
2801
2916
  extrabold: { value: "800" },
@@ -2805,14 +2920,14 @@ const Wo = d.fontSizes({
2805
2920
  normal: { value: "400" },
2806
2921
  semibold: { value: "600" },
2807
2922
  thin: { value: "100" }
2808
- }), Mo = d.letterSpacings({
2923
+ }), jo = c.letterSpacings({
2809
2924
  normal: { value: "0em" },
2810
2925
  tight: { value: "-0.025em" },
2811
2926
  tighter: { value: "-0.05em" },
2812
2927
  wide: { value: "0.025em" },
2813
2928
  wider: { value: "0.05em" },
2814
2929
  widest: { value: "0.1em" }
2815
- }), Ho = d.lineHeights({}), Oo = d.fonts({
2930
+ }), Go = c.lineHeights({}), Yo = c.fonts({
2816
2931
  satoshi: { value: "var(--font-satoshi)" },
2817
2932
  cabinet: { value: "var(--font-cabinet)" },
2818
2933
  mono: {
@@ -2848,7 +2963,7 @@ const Wo = d.fontSizes({
2848
2963
  serif: {
2849
2964
  value: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"]
2850
2965
  }
2851
- }), jo = d.zIndex({
2966
+ }), Xo = c.zIndex({
2852
2967
  banner: {
2853
2968
  value: 1200
2854
2969
  },
@@ -2885,82 +3000,84 @@ const Wo = d.fontSizes({
2885
3000
  tooltip: {
2886
3001
  value: 1800
2887
3002
  }
2888
- }), Go = {
2889
- animations: So,
2890
- aspectRatios: ko,
2891
- blurs: To,
2892
- borders: _o,
2893
- colors: Eo,
2894
- durations: Ro,
2895
- easings: Bo,
2896
- fontSizes: Wo,
2897
- fontWeights: Vo,
2898
- fonts: Oo,
2899
- letterSpacings: Mo,
2900
- lineHeights: Ho,
2901
- radii: Fo,
2902
- shadows: $o,
2903
- sizes: Do,
2904
- spacing: zo,
2905
- zIndex: jo
2906
- }, Yo = Ve({
3003
+ }), Uo = {
3004
+ animations: _o,
3005
+ aspectRatios: Eo,
3006
+ blurs: Ro,
3007
+ borders: Bo,
3008
+ colors: Fo,
3009
+ durations: Do,
3010
+ easings: $o,
3011
+ fontSizes: Ho,
3012
+ fontWeights: Oo,
3013
+ fonts: Yo,
3014
+ letterSpacings: jo,
3015
+ lineHeights: Go,
3016
+ radii: zo,
3017
+ shadows: Ao,
3018
+ sizes: No,
3019
+ spacing: Po,
3020
+ zIndex: Xo
3021
+ }, qo = He({
2907
3022
  className: "size",
2908
3023
  transform(e) {
2909
3024
  return { height: e, width: e };
2910
3025
  },
2911
3026
  values: "sizes"
2912
- }), Xo = {
3027
+ }), Zo = {
2913
3028
  extend: {
2914
- boxSize: Yo
3029
+ boxSize: qo
2915
3030
  }
2916
- }, Tr = Me({
3031
+ }, Fr = Oe({
2917
3032
  staticCss: {
2918
3033
  recipes: "*"
2919
3034
  },
2920
3035
  theme: {
2921
- breakpoints: vt,
2922
- containerSizes: ft,
2923
- keyframes: yt,
2924
- recipes: yo,
2925
- semanticTokens: Io,
2926
- slotRecipes: xo,
2927
- textStyles: Co,
2928
- tokens: Go
2929
- },
2930
- utilities: Xo,
2931
- conditions: bt
3036
+ breakpoints: ft,
3037
+ containerSizes: xt,
3038
+ keyframes: wt,
3039
+ recipes: Io,
3040
+ semanticTokens: To,
3041
+ slotRecipes: Co,
3042
+ textStyles: ko,
3043
+ tokens: Uo
3044
+ },
3045
+ utilities: Zo,
3046
+ conditions: yt
2932
3047
  });
2933
3048
  export {
2934
- tr as Accordion,
2935
- or as AccordionItem,
2936
- rr as AccordionItemContent,
2937
- ar as AccordionItemIndicator,
2938
- ir as AccordionItemTrigger,
2939
- Oe as Button,
2940
- je as Checkbox,
2941
- nr as Drawer,
2942
- lr as DrawerBody,
2943
- Ue as DrawerCloseTrigger,
2944
- pr as DrawerContent,
2945
- sr as DrawerFooter,
2946
- dr as DrawerHeader,
2947
- cr as DrawerTitle,
2948
- ur as DrawerTrigger,
2949
- gr as FormControl,
2950
- hr as FormHelperText,
2951
- mr as FormLabel,
2952
- vr as Heading,
2953
- Cr as Input,
2954
- Sr as InputAddon,
2955
- kr as InputGroup,
2956
- Ir as Select,
2957
- Je as Switch,
2958
- fr as Tabs,
2959
- yr as TabsContent,
2960
- wr as TabsList,
2961
- xr as TabsTrigger,
2962
- et as Text,
2963
- br as Textarea,
2964
- Tr as preset
3049
+ ar as Accordion,
3050
+ ir as AccordionItem,
3051
+ nr as AccordionItemContent,
3052
+ lr as AccordionItemIndicator,
3053
+ sr as AccordionItemTrigger,
3054
+ Rr as Box,
3055
+ Ge as Button,
3056
+ Ye as Checkbox,
3057
+ dr as Drawer,
3058
+ cr as DrawerBody,
3059
+ Ze as DrawerCloseTrigger,
3060
+ hr as DrawerContent,
3061
+ ur as DrawerFooter,
3062
+ pr as DrawerHeader,
3063
+ gr as DrawerTitle,
3064
+ mr as DrawerTrigger,
3065
+ br as FormControl,
3066
+ fr as FormHelperText,
3067
+ vr as FormLabel,
3068
+ yr as Heading,
3069
+ kr as Input,
3070
+ _r as InputAddon,
3071
+ Er as InputGroup,
3072
+ Tr as Select,
3073
+ tt as Switch,
3074
+ wr as Tabs,
3075
+ Ir as TabsContent,
3076
+ Sr as TabsList,
3077
+ Cr as TabsTrigger,
3078
+ Br as Tag,
3079
+ ot as Text,
3080
+ xr as Textarea,
3081
+ Fr as preset
2965
3082
  };
2966
3083
  //# sourceMappingURL=ui.js.map