@stokelp/ui 2.3.0 → 2.3.2

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,14 +1,15 @@
1
1
  "use client";
2
2
  import { Accordion as a3, ark as X, Checkbox as l5, Dialog as S5, useDialogContext as xi, Portal as o2, Tooltip as T2, Switch as h5, Tabs as P2, Select as i1, createListCollection as K6, DatePicker as t1, RadioGroup as m1, Popover as i2, Combobox as I5, switchAnatomy as wi, dialogAnatomy as _i, accordionAnatomy as Hi, checkboxAnatomy as Vi, tabsAnatomy as Si, selectAnatomy as v0, datePickerAnatomy as Ii, radioGroupAnatomy as g0, tooltipAnatomy as Ti, popoverAnatomy as Pi, comboboxAnatomy as Ai } from "@ark-ui/react";
3
3
  import { createListCollection as yp, createToaster as xp, parseColor as wp, parseDate as _p } from "@ark-ui/react";
4
+ import Fi from "react-phone-number-input";
5
+ import { formatPhoneNumber as Vp, formatPhoneNumberIntl as Sp, getCountries as Ip, getCountryCallingCode as Tp, isPossiblePhoneNumber as Pp, isSupportedCountry as Ap, isValidPhoneNumber as Fp, parsePhoneNumber as Ep } from "react-phone-number-input";
4
6
  import { jsx as r, jsxs as _, Fragment as i4 } from "react/jsx-runtime";
5
- import { styled as h, splitCssProps as U5, Circle as Fi } from "@stokelp/styled-system/jsx";
6
- import { accordion as Ei, button as Bi, checkbox as F7, drawer as Di, formControl as zi, tooltip as ki, formLabel as O6, formHelperText as Wi, heading as Oi, switchRecipe as E7, text as Ni, textarea as $i, tabs as Gi, select as Ui, input as Yi, inputAddon as qi, inputGroup as Xi, phoneNumberInput as Ki, datepicker as Ji, tag as B7, radioButtonGroup as Qi, radioGroup as ji, chip as Ca, actionCard as ea, iconButton as ra, alert as ta, tableContainer as la, tableGroupTitle as na, tableEmptyRow as oa, table as ia, breadcrumb as aa, popover as da, pagination as ua, illustration as ca, buttonFilter as La, statusTagSelect as sa, switchCard as N6, radioCardGroup as pa, checkboxCard as $6, combobox as fa, productCardCatalog as ha } from "@stokelp/styled-system/recipes";
7
- import { createContext as m0, forwardRef as e1, useContext as b0, createElement as R0, useLayoutEffect as d4, useMemo as S2, useState as n2, useReducer as Ma, useEffect as Za, useRef as J6, Children as va, cloneElement as G6, useCallback as ga } from "react";
8
- import { cx as G5, css as a2, sva as ma } from "@stokelp/styled-system/css";
9
- import { useMediaQuery as ba } from "usehooks-ts";
10
- import { token as Ra } from "@stokelp/styled-system/tokens";
11
- import ya from "react-phone-number-input";
7
+ import { styled as h, splitCssProps as U5, Circle as Ei } from "@stokelp/styled-system/jsx";
8
+ import { accordion as Bi, button as Di, checkbox as F7, drawer as zi, formControl as ki, tooltip as Wi, formLabel as O6, formHelperText as Oi, heading as Ni, switchRecipe as E7, text as $i, textarea as Gi, tabs as Ui, select as Yi, input as qi, inputAddon as Xi, inputGroup as Ki, phoneNumberInput as Ji, datepicker as Qi, tag as B7, radioButtonGroup as ji, radioGroup as Ca, chip as ea, actionCard as ra, iconButton as ta, alert as la, tableContainer as na, tableGroupTitle as oa, tableEmptyRow as ia, table as aa, breadcrumb as da, popover as ua, pagination as ca, illustration as La, buttonFilter as sa, statusTagSelect as pa, switchCard as N6, radioCardGroup as fa, checkboxCard as $6, combobox as ha, productCardCatalog as Ma } from "@stokelp/styled-system/recipes";
9
+ import { createContext as m0, forwardRef as e1, useContext as b0, createElement as R0, useLayoutEffect as d4, useMemo as S2, useState as n2, useReducer as Za, useEffect as va, useRef as J6, Children as ga, cloneElement as G6, useCallback as ma } from "react";
10
+ import { cx as G5, css as a2, sva as ba } from "@stokelp/styled-system/css";
11
+ import { useMediaQuery as Ra } from "usehooks-ts";
12
+ import { token as ya } from "@stokelp/styled-system/tokens";
12
13
  import * as xa from "react-is";
13
14
  import { defineGlobalStyles as wa, defineKeyframes as _a, defineRecipe as _1, defineSlotRecipe as Q, defineSemanticTokens as Ha, defineTextStyles as Va, defineTokens as b1, defineUtility as Sa, definePreset as Ia } from "@pandacss/dev";
14
15
  const D7 = (...c) => c.filter(Boolean).join(" "), a1 = (c, p) => {
@@ -45,11 +46,11 @@ const D7 = (...c) => c.filter(Boolean).join(" "), a1 = (c, p) => {
45
46
  ) });
46
47
  })
47
48
  };
48
- }, { withProvider: Ta, withContext: u4 } = a1(Ei), Ls = Ta(h(a3.Root), "root"), ss = u4(h(a3.Item), "item"), ps = u4(h(a3.ItemContent), "itemContent"), fs = u4(h(a3.ItemIndicator), "itemIndicator", {
49
+ }, { withProvider: Ta, withContext: u4 } = a1(Bi), Ls = Ta(h(a3.Root), "root"), ss = u4(h(a3.Item), "item"), ps = u4(h(a3.ItemContent), "itemContent"), fs = u4(h(a3.ItemIndicator), "itemIndicator", {
49
50
  defaultProps: {
50
51
  children: /* @__PURE__ */ r("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r("path", { d: "M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z", fill: "currentColor" }) })
51
52
  }
52
- }), hs = u4(h(a3.ItemTrigger), "itemTrigger"), U6 = h(X.button, Bi), y0 = () => /* @__PURE__ */ _("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
53
+ }), hs = u4(h(a3.ItemTrigger), "itemTrigger"), U6 = h(X.button, Di), y0 = () => /* @__PURE__ */ _("svg", { viewBox: "0 0 12 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
53
54
  /* @__PURE__ */ r("title", { children: "Check Icon" }),
54
55
  /* @__PURE__ */ r(
55
56
  "path",
@@ -73,7 +74,7 @@ const D7 = (...c) => c.filter(Boolean).join(" "), a1 = (c, p) => {
73
74
  ] });
74
75
  });
75
76
  Pa.displayName = "Checkbox";
76
- const { withProvider: Aa, withContext: T5 } = a1(Di), Ms = Aa(S5.Root, void 0, {
77
+ const { withProvider: Aa, withContext: T5 } = a1(zi), Ms = Aa(S5.Root, void 0, {
77
78
  defaultProps: {
78
79
  unmountOnExit: !0,
79
80
  lazyMount: !0
@@ -93,7 +94,7 @@ const { withProvider: Aa, withContext: T5 } = a1(Di), Ms = Aa(S5.Root, void 0, {
93
94
  w0.displayName = "DrawerHeader";
94
95
  const gs = T5(w0, "header"), ms = T5(h(S5.Title), "title"), bs = T5(h(S5.Trigger), "trigger"), Ea = T5(h(S5.Positioner), "positioner"), Ba = T5(h(S5.Backdrop), "backdrop"), _0 = e1(
95
96
  ({ children: c, ...p }, o) => {
96
- const m = ba(`(max-width: ${Ra("breakpoints.md")})`, {
97
+ const m = Ra(`(max-width: ${ya("breakpoints.md")})`, {
97
98
  defaultValue: !1
98
99
  }), { open: R, getContentProps: V } = xi();
99
100
  return d4(() => {
@@ -113,7 +114,7 @@ const gs = T5(w0, "header"), ms = T5(h(S5.Title), "title"), bs = T5(h(S5.Trigger
113
114
  }
114
115
  );
115
116
  _0.displayName = S5.Content.displayName;
116
- const Rs = T5(h(_0), "content"), ys = S5.Context, Da = h("div", zi, {
117
+ const Rs = T5(h(_0), "content"), ys = S5.Context, Da = h("div", ki, {
117
118
  defaultProps: {
118
119
  role: "group"
119
120
  }
@@ -123,7 +124,7 @@ const Rs = T5(h(_0), "content"), ys = S5.Context, Da = h("div", zi, {
123
124
  ...p ? { "aria-required": !0 } : {}
124
125
  };
125
126
  return /* @__PURE__ */ r(Da, { ...m, ...o });
126
- }, { withProvider: za, withContext: d3 } = a1(ki), ka = za(h(T2.Root), void 0, {
127
+ }, { withProvider: za, withContext: d3 } = a1(Wi), ka = za(h(T2.Root), void 0, {
127
128
  defaultProps: {
128
129
  closeDelay: 50,
129
130
  closeOnPointerDown: !1,
@@ -165,10 +166,10 @@ const Rs = T5(h(_0), "content"), ys = S5.Context, Da = h("div", zi, {
165
166
  }
166
167
  ) }) : null
167
168
  ] });
168
- }, _s = h("p", Wi, {
169
+ }, _s = h("p", Oi, {
169
170
  dataAttr: !0
170
171
  }), Hs = (c) => {
171
- const { as: p = "h2", ...o } = c, m = S2(() => h(p, Oi), [p]);
172
+ const { as: p = "h2", ...o } = c, m = S2(() => h(p, Ni), [p]);
172
173
  return /* @__PURE__ */ r(m, { size: p, ...o });
173
174
  }, qa = e1((c, p) => {
174
175
  const [o, m] = E7.splitVariantProps(c), [R, V] = U5(m), { children: b, className: y, ...P } = V, A = E7(o);
@@ -180,9 +181,9 @@ const Rs = T5(h(_0), "content"), ys = S5.Context, Da = h("div", zi, {
180
181
  });
181
182
  qa.displayName = "Switch";
182
183
  const Y6 = (c) => {
183
- const { as: p = "p", ...o } = c, m = S2(() => h(p, Ni), [p]);
184
+ const { as: p = "p", ...o } = c, m = S2(() => h(p, $i), [p]);
184
185
  return /* @__PURE__ */ r(m, { ...o });
185
- }, Vs = h(X.textarea, $i), { withProvider: Xa, withContext: c4 } = a1(Gi), Ss = Xa(h(P2.Root), "root", {
186
+ }, Vs = h(X.textarea, Gi), { withProvider: Xa, withContext: c4 } = a1(Ui), Ss = Xa(h(P2.Root), "root", {
186
187
  defaultProps: {
187
188
  lazyMount: !0
188
189
  }
@@ -193,7 +194,7 @@ const Y6 = (c) => {
193
194
  ] })
194
195
  );
195
196
  H0.displayName = P2.List.displayName;
196
- const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p === !0 ? o(c) : c, { withProvider: Ja, withContext: M5 } = a1(Ui), Qa = Ja(h(i1.Root), "root", {
197
+ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p === !0 ? o(c) : c, { withProvider: Ja, withContext: M5 } = a1(Yi), Qa = Ja(h(i1.Root), "root", {
197
198
  defaultProps: {
198
199
  loopFocus: !0
199
200
  }
@@ -245,13 +246,13 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
245
246
  ]
246
247
  }
247
248
  );
248
- }, q6 = h("input", Yi, {
249
+ }, q6 = h("input", qi, {
249
250
  dataAttr: !0
250
- }), z7 = h(X.div, qi, {
251
+ }), z7 = h(X.div, Xi, {
251
252
  dataAttr: !0
252
- }), k7 = h("div", Xi, {
253
+ }), k7 = h("div", Ki, {
253
254
  dataAttr: !0
254
- }), dd = h(ya, Ki, { dataAttr: !0 }), Fs = e1((c, p) => {
255
+ }), dd = h(Fi, Ji, { dataAttr: !0 }), Fs = e1((c, p) => {
255
256
  const [o, m] = n2(), [R, V] = n2();
256
257
  return /* @__PURE__ */ r(
257
258
  dd,
@@ -269,7 +270,7 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
269
270
  }), Es = (c) => {
270
271
  const { as: p = "div", ...o } = c, m = S2(() => h(p), [p]);
271
272
  return /* @__PURE__ */ r(m, { ...o });
272
- }, { withProvider: ud, withContext: s1 } = a1(Ji), cd = ud(t1.Root, "root", {
273
+ }, { withProvider: ud, withContext: s1 } = a1(Qi), cd = ud(t1.Root, "root", {
273
274
  defaultProps: {
274
275
  positioning: {
275
276
  placement: "bottom-start"
@@ -356,9 +357,9 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
356
357
  const [o, m] = B7.splitVariantProps(c), [R, V] = U5(m), { children: b, className: y, ...P } = V, A = B7(o);
357
358
  return /* @__PURE__ */ _(X.div, { ref: p, className: G5(A.root, a2(R), y), ...P, children: [
358
359
  b,
359
- /* @__PURE__ */ r(Fi, { className: G5(A.badge) })
360
+ /* @__PURE__ */ r(Ei, { className: G5(A.badge) })
360
361
  ] });
361
- }), { withProvider: Vd, withContext: L4 } = a1(Qi), Sd = L4(h(m1.ItemControl), "itemControl"), Id = L4(h(m1.ItemText), "itemText"), Td = e1(({ children: c, value: p, ...o }, m) => /* @__PURE__ */ _(m1.Item, { ref: m, ...o, value: p, children: [
362
+ }), { withProvider: Vd, withContext: L4 } = a1(ji), Sd = L4(h(m1.ItemControl), "itemControl"), Id = L4(h(m1.ItemText), "itemText"), Td = e1(({ children: c, value: p, ...o }, m) => /* @__PURE__ */ _(m1.Item, { ref: m, ...o, value: p, children: [
362
363
  /* @__PURE__ */ r(Id, { children: c }),
363
364
  /* @__PURE__ */ r(Sd, {}),
364
365
  /* @__PURE__ */ r(m1.ItemHiddenInput, {})
@@ -366,7 +367,7 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
366
367
  defaultProps: {
367
368
  orientation: "horizontal"
368
369
  }
369
- }), ks = L4(h(Td), "item"), Ws = L4(h(m1.Label), "label"), { withProvider: Pd, withContext: s4 } = a1(ji), Ad = s4(h(m1.ItemControl), "itemControl"), Fd = s4(h(m1.ItemText), "itemText"), Ed = e1(({ children: c, value: p, ...o }, m) => /* @__PURE__ */ _(m1.Item, { ref: m, ...o, value: p, children: [
370
+ }), ks = L4(h(Td), "item"), Ws = L4(h(m1.Label), "label"), { withProvider: Pd, withContext: s4 } = a1(Ca), Ad = s4(h(m1.ItemControl), "itemControl"), Fd = s4(h(m1.ItemText), "itemText"), Ed = e1(({ children: c, value: p, ...o }, m) => /* @__PURE__ */ _(m1.Item, { ref: m, ...o, value: p, children: [
370
371
  /* @__PURE__ */ r(Ad, {}),
371
372
  /* @__PURE__ */ r(Fd, { children: c }),
372
373
  /* @__PURE__ */ r(m1.ItemHiddenInput, {})
@@ -374,7 +375,7 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
374
375
  defaultProps: {
375
376
  orientation: "horizontal"
376
377
  }
377
- }), Ns = s4(h(Ed), "item"), $s = s4(h(m1.Label), "label"), { withProvider: Bd, withContext: j6 } = a1(Ca), Gs = Bd(h(X.span), "root"), Us = j6(h("img"), "avatar"), Ys = j6(h(X.p), "body"), qs = j6(h(X.button), "clearTrigger", {
378
+ }), Ns = s4(h(Ed), "item"), $s = s4(h(m1.Label), "label"), { withProvider: Bd, withContext: j6 } = a1(ea), Gs = Bd(h(X.span), "root"), Us = j6(h("img"), "avatar"), Ys = j6(h(X.p), "body"), qs = j6(h(X.button), "clearTrigger", {
378
379
  defaultProps: {
379
380
  type: "button",
380
381
  children: /* @__PURE__ */ r("svg", { width: "14", height: "15", viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r(
@@ -385,14 +386,14 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
385
386
  }
386
387
  ) })
387
388
  }
388
- }), { withProvider: Dd, withContext: C9 } = a1(ea, {
389
+ }), { withProvider: Dd, withContext: C9 } = a1(ra, {
389
390
  dataAttr: !0
390
391
  }), zd = C9(h(X.svg), "icon"), Xs = Dd(h(X.button), "root", {
391
392
  defaultProps: {
392
393
  role: "group"
393
394
  },
394
395
  afterSlot: /* @__PURE__ */ r(zd, { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r("path", { d: "M9.70501 6L8.29501 7.41L12.875 12L8.29501 16.59L9.70501 18L15.705 12L9.70501 6Z", fill: "currentColor" }) })
395
- }), Ks = C9(h(X.h3), "title"), Js = C9(h(X.p), "description"), X6 = h("button", ra), { withProvider: kd, withContext: e9 } = a1(ta), Wd = kd(h(X.div), "root"), Od = e9(h(X.svg), "icon"), Nd = e9(h(X.h3), "title"), $d = e9(h(X.p), "description"), Gd = (c) => {
396
+ }), Ks = C9(h(X.h3), "title"), Js = C9(h(X.p), "description"), X6 = h("button", ta), { withProvider: kd, withContext: e9 } = a1(la), Wd = kd(h(X.div), "root"), Od = e9(h(X.svg), "icon"), Nd = e9(h(X.h3), "title"), $d = e9(h(X.p), "description"), Gd = (c) => {
396
397
  switch (c) {
397
398
  default:
398
399
  case "neutral":
@@ -472,10 +473,10 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
472
473
  throw new Error("useTable must be used within a <TableProvider/>");
473
474
  return c;
474
475
  }, qd = ({ children: c, onSortChange: p }) => {
475
- const [o, m] = Ma(Ud, {
476
+ const [o, m] = Za(Ud, {
476
477
  sortDescriptor: null
477
478
  });
478
- Za(() => {
479
+ va(() => {
479
480
  p == null || p(o.sortDescriptor);
480
481
  }, [JSON.stringify(o.sortDescriptor)]);
481
482
  const R = {
@@ -483,7 +484,7 @@ const Ps = c4(h(H0), "list"), Q6 = ({ children: c, when: p, wrapper: o }) => p =
483
484
  dispatch: m
484
485
  };
485
486
  return /* @__PURE__ */ r(V0.Provider, { value: R, children: c });
486
- }, { withProvider: Xd, withContext: d2 } = a1(ia), js = h("div", la), Kd = Xd(h("table"), "root"), Jd = e1(
487
+ }, { withProvider: Xd, withContext: d2 } = a1(aa), js = h("div", na), Kd = Xd(h("table"), "root"), Jd = e1(
487
488
  ({ children: c, onSortChange: p, ...o }, m) => /* @__PURE__ */ r(qd, { onSortChange: p, children: /* @__PURE__ */ r(Kd, { ref: m, ...o, children: c }) })
488
489
  );
489
490
  Jd.displayName = "Table";
@@ -567,7 +568,7 @@ const Cp = d2(h("thead"), "thead"), U7 = d2(h("div"), "sortIndicatorRoot"), t4 =
567
568
  }
568
569
  );
569
570
  jd.displayName = "Th";
570
- const tp = d2(h("td"), "td"), Cu = h("td", na), eu = e1((c, p) => {
571
+ const tp = d2(h("td"), "td"), Cu = h("td", oa), eu = e1((c, p) => {
571
572
  const o = J6(null);
572
573
  return d4(() => {
573
574
  var m, R;
@@ -578,7 +579,7 @@ const tp = d2(h("td"), "td"), Cu = h("td", na), eu = e1((c, p) => {
578
579
  }, []), /* @__PURE__ */ r("tr", { ref: p, className: "table_tr__group__title", children: /* @__PURE__ */ r(Cu, { ref: o, ...c }) });
579
580
  });
580
581
  eu.displayName = "TableGroupTitle";
581
- const ru = h("td", oa), tu = e1((c, p) => {
582
+ const ru = h("td", ia), tu = e1((c, p) => {
582
583
  const o = J6(null);
583
584
  return d4(() => {
584
585
  var m, R;
@@ -589,10 +590,10 @@ const ru = h("td", oa), tu = e1((c, p) => {
589
590
  }, []), /* @__PURE__ */ r("tr", { ref: p, className: "table_tr__empty", children: /* @__PURE__ */ r(ru, { ref: o, ...c }) });
590
591
  });
591
592
  tu.displayName = "TableEmptyRow";
592
- const { withProvider: lu, withContext: r9 } = a1(aa), nu = lu(h("nav"), "root"), ou = r9(h("ol"), "list"), lp = r9(h("li"), "item"), np = r9(h(X.a), "link"), iu = /* @__PURE__ */ r("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r("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" }) }), op = e1(
593
+ const { withProvider: lu, withContext: r9 } = a1(da), nu = lu(h("nav"), "root"), ou = r9(h("ol"), "list"), lp = r9(h("li"), "item"), np = r9(h(X.a), "link"), iu = /* @__PURE__ */ r("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r("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" }) }), op = e1(
593
594
  ({ children: c, separator: p = iu, ...o }, m) => {
594
595
  var V;
595
- const R = va.toArray(
596
+ const R = ga.toArray(
596
597
  xa.isFragment(c) ? (V = c.props) == null ? void 0 : V.children : c
597
598
  );
598
599
  return /* @__PURE__ */ r(nu, { ...o, "aria-label": o["aria-label"] ?? "breadcrumb", ref: m, children: /* @__PURE__ */ r(ou, { children: R.map((b, y) => G6(b, {
@@ -603,7 +604,7 @@ const { withProvider: lu, withContext: r9 } = a1(aa), nu = lu(h("nav"), "root"),
603
604
  ] })
604
605
  })) }) });
605
606
  }
606
- ), { withProvider: au, withContext: p4 } = a1(da), ip = au(i2.Root, void 0, {
607
+ ), { withProvider: au, withContext: p4 } = a1(ua), ip = au(i2.Root, void 0, {
607
608
  defaultProps: {
608
609
  unmountOnExit: !0,
609
610
  lazyMount: !0,
@@ -676,7 +677,7 @@ const n3 = Symbol("dots"), cu = ({
676
677
  };
677
678
  }, Y7 = (c, p) => (o) => {
678
679
  c == null || c(o), p == null || p(o);
679
- }, { withProvider: Lu, withContext: I0 } = a1(ua), su = Lu(h("div"), "root"), pu = I0(h("button"), "item"), fu = I0(h("div"), "dots"), Lp = ({
680
+ }, { withProvider: Lu, withContext: I0 } = a1(ca), su = Lu(h("div"), "root"), pu = I0(h("button"), "item"), fu = I0(h("div"), "dots"), Lp = ({
680
681
  total: c,
681
682
  value: p,
682
683
  defaultValue: o,
@@ -9615,7 +9616,7 @@ const n3 = Symbol("dots"), cu = ({
9615
9616
  /* @__PURE__ */ r("clipPath", { id: "clip1_1422_1919", children: /* @__PURE__ */ r("rect", { width: "924", height: "658", rx: "24", fill: "currentColor" }) })
9616
9617
  ] })
9617
9618
  ] })
9618
- ), yu = h(X.div, ca), xu = (c) => {
9619
+ ), yu = h(X.div, La), xu = (c) => {
9619
9620
  switch (c) {
9620
9621
  case "neutral":
9621
9622
  return /* @__PURE__ */ r(Ru, {});
@@ -9644,7 +9645,7 @@ const n3 = Symbol("dots"), cu = ({
9644
9645
  o && getComputedStyle(o).position === "static" && (o.style.position = "relative");
9645
9646
  }
9646
9647
  }, []), /* @__PURE__ */ r(yu, { ref: p, ...c, children: xu(c.pattern) });
9647
- }, pp = h(X.button, La), { withProvider: wu, withContext: u2 } = a1(sa), _u = wu(h(i1.Root), "root", {
9648
+ }, pp = h(X.button, sa), { withProvider: wu, withContext: u2 } = a1(pa), _u = wu(h(i1.Root), "root", {
9648
9649
  defaultProps: {
9649
9650
  loopFocus: !0
9650
9651
  }
@@ -9764,7 +9765,7 @@ const hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9764
9765
  Image: ku,
9765
9766
  Root: T0,
9766
9767
  Title: Bu
9767
- }, Symbol.toStringTag, { value: "Module" })), { withProvider: Wu, withContext: A2 } = a1(pa, {
9768
+ }, Symbol.toStringTag, { value: "Module" })), { withProvider: Wu, withContext: A2 } = a1(fa, {
9768
9769
  dataAttr: !0
9769
9770
  }), Ou = A2(h(m1.ItemControl), "itemControl"), Nu = A2(h(m1.ItemText), "itemTitle"), $u = A2(h("div"), "itemContent"), Gu = A2(h("p"), "itemDescription"), Uu = A2(h(X.img), "itemImage"), Yu = e1(({ children: c, value: p, ...o }, m) => /* @__PURE__ */ _(m1.Item, { ref: m, ...o, value: p, children: [
9770
9771
  /* @__PURE__ */ r(Ou, {}),
@@ -13476,7 +13477,7 @@ function print() { __p += __j.call(arguments, '') }
13476
13477
  }).call(l3);
13477
13478
  })(a4, a4.exports);
13478
13479
  var tc = a4.exports;
13479
- const { withProvider: lc, withContext: q5 } = a1(fa), nc = lc(h(I5.Root), "root", {
13480
+ const { withProvider: lc, withContext: q5 } = a1(ha), nc = lc(h(I5.Root), "root", {
13480
13481
  defaultProps: {
13481
13482
  loopFocus: !0
13482
13483
  }
@@ -13509,7 +13510,7 @@ const { withProvider: lc, withContext: q5 } = a1(fa), nc = lc(h(I5.Root), "root"
13509
13510
  }
13510
13511
  }, o) : null,
13511
13512
  [P, o]
13512
- ), D1 = [...p1, ...p ?? []], z1 = ga(
13513
+ ), D1 = [...p1, ...p ?? []], z1 = ma(
13513
13514
  async (V1) => {
13514
13515
  p && p.length > 0 && !p.find((P5) => P5.label === V1.inputValue) && (G == null || G());
13515
13516
  const { inputValue: L5 } = V1;
@@ -13552,7 +13553,7 @@ const { withProvider: lc, withContext: q5 } = a1(fa), nc = lc(h(I5.Root), "root"
13552
13553
  ]
13553
13554
  }
13554
13555
  );
13555
- }, q7 = ma({
13556
+ }, q7 = ba({
13556
13557
  slots: ["root", "price", "unit"],
13557
13558
  base: {
13558
13559
  root: {
@@ -13627,7 +13628,7 @@ const { withProvider: lc, withContext: q5 } = a1(fa), nc = lc(h(I5.Root), "root"
13627
13628
  ] });
13628
13629
  });
13629
13630
  pc.displayName = "PriceTag";
13630
- const { withProvider: fc, withContext: u3 } = a1(ha), hc = fc(h("div"), "root"), Mc = u3(h(X.h3), "title"), Zc = u3(h(X.img), "image"), vc = u3(h("div"), "content"), gc = u3(h("p"), "description"), mc = u3(h("span"), "highlight"), gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13631
+ const { withProvider: fc, withContext: u3 } = a1(Ma), hc = fc(h("div"), "root"), Mc = u3(h(X.h3), "title"), Zc = u3(h(X.img), "image"), vc = u3(h("div"), "content"), gc = u3(h("p"), "description"), mc = u3(h("span"), "highlight"), gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13631
13632
  __proto__: null,
13632
13633
  Content: vc,
13633
13634
  Description: gc,
@@ -17951,8 +17952,16 @@ export {
17951
17952
  rp as Tr,
17952
17953
  yp as createListCollection,
17953
17954
  xp as createToaster,
17955
+ Vp as formatPhoneNumber,
17956
+ Sp as formatPhoneNumberIntl,
17957
+ Ip as getCountries,
17958
+ Tp as getCountryCallingCode,
17959
+ Pp as isPossiblePhoneNumber,
17960
+ Ap as isSupportedCountry,
17961
+ Fp as isValidPhoneNumber,
17954
17962
  wp as parseColor,
17955
17963
  _p as parseDate,
17964
+ Ep as parsePhoneNumber,
17956
17965
  mp as preset
17957
17966
  };
17958
17967
  //# sourceMappingURL=ui.js.map