@usevyre/react 0.1.2 → 0.2.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/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { jsxs as N, jsx as n, Fragment as de } from "react/jsx-runtime";
2
- import p, { useRef as A, useCallback as M, useEffect as V, createContext as ee, useReducer as Se, useContext as U, useState as D, useId as oe, useMemo as ae } from "react";
2
+ import p, { useRef as A, useCallback as M, useEffect as V, createContext as ee, useReducer as Te, useContext as U, useState as D, useId as oe, useMemo as ae } from "react";
3
3
  import P from "react-dom";
4
- function m(...e) {
4
+ function u(...e) {
5
5
  const r = [];
6
6
  for (const t of e)
7
7
  if (t) {
8
8
  if (typeof t == "string")
9
9
  r.push(t);
10
10
  else if (Array.isArray(t)) {
11
- const a = m(...t);
11
+ const a = u(...t);
12
12
  a && r.push(a);
13
13
  } else if (typeof t == "object")
14
14
  for (const [a, o] of Object.entries(t))
@@ -46,7 +46,7 @@ const Ee = {
46
46
  l,
47
47
  {
48
48
  ref: h,
49
- className: m(
49
+ className: u(
50
50
  "vyre-btn",
51
51
  Ee[e],
52
52
  De[r],
@@ -101,7 +101,7 @@ const Ve = p.forwardRef(
101
101
  "span",
102
102
  {
103
103
  ref: i,
104
- className: m("vyre-badge", `vyre-badge--${e}`, t),
104
+ className: u("vyre-badge", `vyre-badge--${e}`, t),
105
105
  "data-variant": e,
106
106
  ...o,
107
107
  children: [
@@ -124,7 +124,7 @@ const $e = p.forwardRef(
124
124
  "div",
125
125
  {
126
126
  ref: d,
127
- className: m(
127
+ className: u(
128
128
  "vyre-card",
129
129
  `vyre-card--${e}`,
130
130
  r && "vyre-card--hoverable",
@@ -141,15 +141,15 @@ const $e = p.forwardRef(
141
141
  );
142
142
  $e.displayName = "VyreCard";
143
143
  const We = p.forwardRef(
144
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-card__header", e), ...t, children: r })
144
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-card__header", e), ...t, children: r })
145
145
  );
146
146
  We.displayName = "VyreCardHeader";
147
147
  const je = p.forwardRef(
148
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-card__body", e), ...t, children: r })
148
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-card__body", e), ...t, children: r })
149
149
  );
150
150
  je.displayName = "VyreCardBody";
151
151
  const He = p.forwardRef(
152
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-card__footer", e), ...t, children: r })
152
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-card__footer", e), ...t, children: r })
153
153
  );
154
154
  He.displayName = "VyreCardFooter";
155
155
  const Fe = p.forwardRef(
@@ -166,7 +166,7 @@ const Fe = p.forwardRef(
166
166
  "div",
167
167
  {
168
168
  ref: l,
169
- className: m("vyre-field", t !== "idle" && `vyre-field--${t}`, i),
169
+ className: u("vyre-field", t !== "idle" && `vyre-field--${t}`, i),
170
170
  "data-state": t,
171
171
  ...s,
172
172
  children: [
@@ -188,13 +188,13 @@ const Oe = p.forwardRef(
188
188
  rightElement: t,
189
189
  className: a,
190
190
  ...o
191
- }, i) => r || t ? /* @__PURE__ */ N("div", { className: m("vyre-input-wrapper", `vyre-input-wrapper--${e}`), children: [
191
+ }, i) => r || t ? /* @__PURE__ */ N("div", { className: u("vyre-input-wrapper", `vyre-input-wrapper--${e}`), children: [
192
192
  r && /* @__PURE__ */ n("span", { className: "vyre-input__element vyre-input__element--left", "aria-hidden": "true", children: r }),
193
193
  /* @__PURE__ */ n(
194
194
  "input",
195
195
  {
196
196
  ref: i,
197
- className: m(
197
+ className: u(
198
198
  "vyre-input",
199
199
  `vyre-input--${e}`,
200
200
  !!r && "vyre-input--has-left",
@@ -209,7 +209,7 @@ const Oe = p.forwardRef(
209
209
  "input",
210
210
  {
211
211
  ref: i,
212
- className: m("vyre-input", `vyre-input--${e}`, a),
212
+ className: u("vyre-input", `vyre-input--${e}`, a),
213
213
  ...o
214
214
  }
215
215
  )
@@ -220,7 +220,7 @@ const Ke = p.forwardRef(
220
220
  "textarea",
221
221
  {
222
222
  ref: i,
223
- className: m("vyre-textarea", `vyre-textarea--${e}`, t),
223
+ className: u("vyre-textarea", `vyre-textarea--${e}`, t),
224
224
  style: { resize: r, ...a },
225
225
  ...o
226
226
  }
@@ -253,7 +253,7 @@ const qe = [
253
253
  y.current = f, typeof v == "function" ? v(f) : v && (v.current = f);
254
254
  },
255
255
  [v]
256
- ), u = M((f) => {
256
+ ), m = M((f) => {
257
257
  if (f.key !== "Tab") return;
258
258
  const x = y.current;
259
259
  if (!x) return;
@@ -269,7 +269,7 @@ const qe = [
269
269
  );
270
270
  return V(() => {
271
271
  if (!e) return;
272
- document.addEventListener("keydown", w), document.addEventListener("keydown", u);
272
+ document.addEventListener("keydown", w), document.addEventListener("keydown", m);
273
273
  const f = document.body.style.overflow;
274
274
  document.body.style.overflow = "hidden";
275
275
  const x = setTimeout(() => {
@@ -277,9 +277,9 @@ const qe = [
277
277
  i != null && i.current ? i.current.focus() : (L = y.current) == null || L.focus();
278
278
  }, 0);
279
279
  return () => {
280
- document.removeEventListener("keydown", w), document.removeEventListener("keydown", u), document.body.style.overflow = f, clearTimeout(x);
280
+ document.removeEventListener("keydown", w), document.removeEventListener("keydown", m), document.body.style.overflow = f, clearTimeout(x);
281
281
  };
282
- }, [e, w, u, i]), e ? P.createPortal(
282
+ }, [e, w, m, i]), e ? P.createPortal(
283
283
  /* @__PURE__ */ n(
284
284
  "div",
285
285
  {
@@ -293,7 +293,7 @@ const qe = [
293
293
  "div",
294
294
  {
295
295
  ref: c,
296
- className: m("vyre-modal", `vyre-modal--${t}`, d),
296
+ className: u("vyre-modal", `vyre-modal--${t}`, d),
297
297
  role: "dialog",
298
298
  "aria-modal": "true",
299
299
  "aria-label": l,
@@ -311,15 +311,15 @@ const qe = [
311
311
  );
312
312
  Pe.displayName = "VyreModal";
313
313
  const Ye = p.forwardRef(
314
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-modal__header", e), ...t, children: r })
314
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-modal__header", e), ...t, children: r })
315
315
  );
316
316
  Ye.displayName = "VyreModalHeader";
317
317
  const Ue = p.forwardRef(
318
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-modal__body", e), ...t, children: r })
318
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-modal__body", e), ...t, children: r })
319
319
  );
320
320
  Ue.displayName = "VyreModalBody";
321
321
  const Ge = p.forwardRef(
322
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-modal__footer", e), ...t, children: r })
322
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-modal__footer", e), ...t, children: r })
323
323
  );
324
324
  Ge.displayName = "VyreModalFooter";
325
325
  const _e = ee(null);
@@ -335,8 +335,8 @@ function Xe(e, r) {
335
335
  }
336
336
  let ze = 0;
337
337
  const Ze = () => `vyre-t-${++ze}`;
338
- function Kr({ children: e }) {
339
- const [r, t] = Se(Xe, []), a = M((i) => {
338
+ function Pr({ children: e }) {
339
+ const [r, t] = Te(Xe, []), a = M((i) => {
340
340
  const d = Ze();
341
341
  return t({ type: "ADD", payload: { ...i, id: d } }), d;
342
342
  }, []), o = M((i) => {
@@ -359,7 +359,7 @@ function Kr({ children: e }) {
359
359
  )
360
360
  ] });
361
361
  }
362
- function qr() {
362
+ function Yr() {
363
363
  const e = U(_e);
364
364
  if (!e) throw new Error("useToast must be used inside <ToastProvider>");
365
365
  return e;
@@ -378,7 +378,7 @@ function Je({
378
378
  }, [a, o]), /* @__PURE__ */ N(
379
379
  "div",
380
380
  {
381
- className: m("vyre-toast", `vyre-toast--${t}`),
381
+ className: u("vyre-toast", `vyre-toast--${t}`),
382
382
  role: "alert",
383
383
  "data-variant": t,
384
384
  children: [
@@ -433,9 +433,9 @@ const et = p.forwardRef(
433
433
  className: s,
434
434
  ...l
435
435
  }, b) => {
436
- const h = r !== void 0, [v, y] = D(t ?? ""), _ = h ? r : v, [c, u] = D(!1), [w, f] = D(-1), x = A(null), L = A(null), $ = `${oe()}-listbox`, q = e.find((k) => k.value === _), O = e.filter((k) => !k.disabled), F = M(() => {
437
- u(!1), f(-1);
438
- }, []), S = M(
436
+ const h = r !== void 0, [v, y] = D(t ?? ""), _ = h ? r : v, [c, m] = D(!1), [w, f] = D(-1), x = A(null), L = A(null), $ = `${oe()}-listbox`, q = e.find((k) => k.value === _), O = e.filter((k) => !k.disabled), F = M(() => {
437
+ m(!1), f(-1);
438
+ }, []), T = M(
439
439
  (k) => {
440
440
  var I;
441
441
  k.disabled || (h || y(k.value), a == null || a(k.value), F(), (I = x.current) == null || I.focus());
@@ -445,8 +445,8 @@ const et = p.forwardRef(
445
445
  V(() => {
446
446
  if (!c) return;
447
447
  const k = (I) => {
448
- const T = b == null ? void 0 : b.current;
449
- T && !T.contains(I.target) && F();
448
+ const S = b == null ? void 0 : b.current;
449
+ S && !S.contains(I.target) && F();
450
450
  };
451
451
  return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
452
452
  }, [c, b, F]), V(() => {
@@ -461,14 +461,14 @@ const et = p.forwardRef(
461
461
  case " ":
462
462
  case "ArrowDown": {
463
463
  if (k.preventDefault(), !c) {
464
- u(!0);
465
- const I = e.findIndex((T) => T.value === _);
464
+ m(!0);
465
+ const I = e.findIndex((S) => S.value === _);
466
466
  f(I >= 0 ? I : 0);
467
467
  }
468
468
  break;
469
469
  }
470
470
  case "ArrowUp": {
471
- k.preventDefault(), c || (u(!0), f(e.length - 1));
471
+ k.preventDefault(), c || (m(!0), f(e.length - 1));
472
472
  break;
473
473
  }
474
474
  case "Escape": {
@@ -480,24 +480,24 @@ const et = p.forwardRef(
480
480
  var I;
481
481
  switch (k.key) {
482
482
  case "ArrowDown": {
483
- k.preventDefault(), f((T) => {
484
- let E = T + 1;
483
+ k.preventDefault(), f((S) => {
484
+ let E = S + 1;
485
485
  for (; E < e.length && e[E].disabled; ) E++;
486
- return E < e.length ? E : T;
486
+ return E < e.length ? E : S;
487
487
  });
488
488
  break;
489
489
  }
490
490
  case "ArrowUp": {
491
- k.preventDefault(), f((T) => {
492
- let E = T - 1;
491
+ k.preventDefault(), f((S) => {
492
+ let E = S - 1;
493
493
  for (; E >= 0 && e[E].disabled; ) E--;
494
- return E >= 0 ? E : T;
494
+ return E >= 0 ? E : S;
495
495
  });
496
496
  break;
497
497
  }
498
498
  case "Enter":
499
499
  case " ": {
500
- k.preventDefault(), w >= 0 && S(e[w]);
500
+ k.preventDefault(), w >= 0 && T(e[w]);
501
501
  break;
502
502
  }
503
503
  case "Escape":
@@ -507,14 +507,14 @@ const et = p.forwardRef(
507
507
  }
508
508
  case "Home": {
509
509
  k.preventDefault();
510
- const T = e.findIndex((E) => !E.disabled);
511
- T >= 0 && f(T);
510
+ const S = e.findIndex((E) => !E.disabled);
511
+ S >= 0 && f(S);
512
512
  break;
513
513
  }
514
514
  case "End": {
515
515
  k.preventDefault();
516
- const T = [...e].reverse().findIndex((E) => !E.disabled);
517
- T >= 0 && f(e.length - 1 - T);
516
+ const S = [...e].reverse().findIndex((E) => !E.disabled);
517
+ S >= 0 && f(e.length - 1 - S);
518
518
  break;
519
519
  }
520
520
  }
@@ -523,7 +523,7 @@ const et = p.forwardRef(
523
523
  "div",
524
524
  {
525
525
  ref: b,
526
- className: m("vyre-select", `vyre-select--${d}`, s),
526
+ className: u("vyre-select", `vyre-select--${d}`, s),
527
527
  "data-open": c,
528
528
  ...l,
529
529
  children: [
@@ -539,9 +539,9 @@ const et = p.forwardRef(
539
539
  "aria-disabled": i,
540
540
  disabled: i,
541
541
  onClick: () => {
542
- i || u((k) => {
542
+ i || m((k) => {
543
543
  if (!k) {
544
- const I = e.findIndex((T) => T.value === _);
544
+ const I = e.findIndex((S) => S.value === _);
545
545
  f(I >= 0 ? I : 0);
546
546
  }
547
547
  return !k;
@@ -574,8 +574,8 @@ const et = p.forwardRef(
574
574
  "data-highlighted": I === w,
575
575
  className: "vyre-select__option",
576
576
  onMouseEnter: () => !k.disabled && f(I),
577
- onMouseDown: (T) => {
578
- T.preventDefault(), S(k);
577
+ onMouseDown: (S) => {
578
+ S.preventDefault(), T(k);
579
579
  },
580
580
  children: [
581
581
  k.label,
@@ -661,7 +661,7 @@ const nt = p.forwardRef(
661
661
  },
662
662
  [s, t]
663
663
  );
664
- return /* @__PURE__ */ n(we.Provider, { value: { value: h, onChange: y, baseId: v }, children: /* @__PURE__ */ n("div", { ref: d, className: m("vyre-tabs", a), ...i, children: o }) });
664
+ return /* @__PURE__ */ n(we.Provider, { value: { value: h, onChange: y, baseId: v }, children: /* @__PURE__ */ n("div", { ref: d, className: u("vyre-tabs", a), ...i, children: o }) });
665
665
  }
666
666
  );
667
667
  nt.displayName = "VyreTabs";
@@ -690,7 +690,7 @@ const at = p.forwardRef(
690
690
  i.current = s, typeof o == "function" ? o(s) : o && (o.current = s);
691
691
  },
692
692
  role: "tablist",
693
- className: m("vyre-tabs__list", e),
693
+ className: u("vyre-tabs__list", e),
694
694
  "aria-label": t,
695
695
  onKeyDown: d,
696
696
  ...a,
@@ -714,7 +714,7 @@ const ot = p.forwardRef(
714
714
  "aria-selected": b,
715
715
  disabled: r,
716
716
  tabIndex: b ? 0 : -1,
717
- className: m(
717
+ className: u(
718
718
  "vyre-tabs__tab",
719
719
  b && "vyre-tabs__tab--active",
720
720
  t
@@ -729,7 +729,7 @@ const ot = p.forwardRef(
729
729
  );
730
730
  ot.displayName = "VyreTab";
731
731
  const it = p.forwardRef(
732
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-tabs__panels", e), ...t, children: r })
732
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-tabs__panels", e), ...t, children: r })
733
733
  );
734
734
  it.displayName = "VyreTabPanels";
735
735
  const st = p.forwardRef(
@@ -743,7 +743,7 @@ const st = p.forwardRef(
743
743
  id: `${d}-panel-${e}`,
744
744
  "aria-labelledby": `${d}-tab-${e}`,
745
745
  tabIndex: 0,
746
- className: m("vyre-tabs__panel", r),
746
+ className: u("vyre-tabs__panel", r),
747
747
  ...a,
748
748
  children: t
749
749
  }
@@ -764,31 +764,31 @@ const lt = 120, dt = ({
764
764
  s.current && (clearTimeout(s.current), s.current = null), d("leaving"), l.current = setTimeout(() => d("hidden"), lt);
765
765
  }, []), y = p.Children.only(a), _ = p.cloneElement(y, {
766
766
  onMouseEnter: (c) => {
767
- var u, w;
768
- h(), (w = (u = y.props).onMouseEnter) == null || w.call(u, c);
767
+ var m, w;
768
+ h(), (w = (m = y.props).onMouseEnter) == null || w.call(m, c);
769
769
  },
770
770
  onMouseLeave: (c) => {
771
- var u, w;
772
- v(), (w = (u = y.props).onMouseLeave) == null || w.call(u, c);
771
+ var m, w;
772
+ v(), (w = (m = y.props).onMouseLeave) == null || w.call(m, c);
773
773
  },
774
774
  onFocus: (c) => {
775
- var u, w;
776
- d("visible"), (w = (u = y.props).onFocus) == null || w.call(u, c);
775
+ var m, w;
776
+ d("visible"), (w = (m = y.props).onFocus) == null || w.call(m, c);
777
777
  },
778
778
  onBlur: (c) => {
779
- var u, w;
780
- v(), (w = (u = y.props).onBlur) == null || w.call(u, c);
779
+ var m, w;
780
+ v(), (w = (m = y.props).onBlur) == null || w.call(m, c);
781
781
  },
782
782
  "aria-describedby": i !== "hidden" ? b : void 0
783
783
  });
784
- return /* @__PURE__ */ N("span", { className: m("vyre-tooltip-wrapper", o), children: [
784
+ return /* @__PURE__ */ N("span", { className: u("vyre-tooltip-wrapper", o), children: [
785
785
  _,
786
786
  i !== "hidden" && /* @__PURE__ */ N(
787
787
  "span",
788
788
  {
789
789
  id: b,
790
790
  role: "tooltip",
791
- className: m(
791
+ className: u(
792
792
  "vyre-tooltip",
793
793
  `vyre-tooltip--${r}`,
794
794
  i === "leaving" && "vyre-tooltip--leaving"
@@ -824,7 +824,7 @@ const ct = p.forwardRef(
824
824
  ), v = t !== void 0 ? l(t) : b, y = p.useCallback(
825
825
  (_) => {
826
826
  let c;
827
- e === "single" ? c = v.includes(_) ? [] : [_] : c = v.includes(_) ? v.filter((u) => u !== _) : [...v, _], t === void 0 && h(c), a == null || a(e === "single" ? c[0] ?? "" : c);
827
+ e === "single" ? c = v.includes(_) ? [] : [_] : c = v.includes(_) ? v.filter((m) => m !== _) : [...v, _], t === void 0 && h(c), a == null || a(e === "single" ? c[0] ?? "" : c);
828
828
  },
829
829
  [e, v, t, a]
830
830
  );
@@ -1036,13 +1036,13 @@ const bt = p.forwardRef(
1036
1036
  style: b,
1037
1037
  ...h
1038
1038
  }, v) => {
1039
- const [y, _] = p.useState(r), c = e !== void 0 ? e : y, u = (c - t) / (a - t) * 100;
1039
+ const [y, _] = p.useState(r), c = e !== void 0 ? e : y, m = (c - t) / (a - t) * 100;
1040
1040
  return /* @__PURE__ */ N(
1041
1041
  "div",
1042
1042
  {
1043
1043
  className: ["vyre-slider", `vyre-slider--${s}`, l].filter(Boolean).join(" "),
1044
1044
  "data-disabled": d || void 0,
1045
- style: { "--vyre-slider-pct": `${u}%`, ...b },
1045
+ style: { "--vyre-slider-pct": `${m}%`, ...b },
1046
1046
  children: [
1047
1047
  /* @__PURE__ */ n(
1048
1048
  "input",
@@ -1063,8 +1063,8 @@ const bt = p.forwardRef(
1063
1063
  }
1064
1064
  ),
1065
1065
  /* @__PURE__ */ N("div", { className: "vyre-slider__track", children: [
1066
- /* @__PURE__ */ n("div", { className: "vyre-slider__fill", style: { width: `${u}%` } }),
1067
- /* @__PURE__ */ n("div", { className: "vyre-slider__thumb", style: { left: `${u}%` } })
1066
+ /* @__PURE__ */ n("div", { className: "vyre-slider__fill", style: { width: `${m}%` } }),
1067
+ /* @__PURE__ */ n("div", { className: "vyre-slider__thumb", style: { left: `${m}%` } })
1068
1068
  ] })
1069
1069
  ]
1070
1070
  }
@@ -1214,32 +1214,32 @@ const Ct = ({
1214
1214
  closeOnOutside: i = !0,
1215
1215
  className: d
1216
1216
  }) => {
1217
- const s = t !== void 0, [l, b] = D(!1), [h, v] = D(!1), [y, _] = D(!1), [c, u] = D({ top: 0, left: 0 }), w = s ? t : l, f = A(null), x = A(null), L = A(null), B = oe(), { side: $, align: q } = kt(o), O = M((R) => {
1217
+ const s = t !== void 0, [l, b] = D(!1), [h, v] = D(!1), [y, _] = D(!1), [c, m] = D({ top: 0, left: 0 }), w = s ? t : l, f = A(null), x = A(null), L = A(null), B = oe(), { side: $, align: q } = kt(o), O = M((R) => {
1218
1218
  s || b(R), a == null || a(R);
1219
- }, [s, a]), F = M(() => O(!w), [w, O]), S = M(() => {
1219
+ }, [s, a]), F = M(() => O(!w), [w, O]), T = M(() => {
1220
1220
  v(!0), L.current = setTimeout(() => {
1221
1221
  v(!1), _(!1), O(!1);
1222
1222
  }, Nt);
1223
1223
  }, [O]);
1224
1224
  V(() => {
1225
- w ? (L.current && (clearTimeout(L.current), L.current = null), v(!1), _(!0)) : y && !h && S();
1225
+ w ? (L.current && (clearTimeout(L.current), L.current = null), v(!1), _(!0)) : y && !h && T();
1226
1226
  }, [w]), V(() => {
1227
1227
  if (!y || !f.current || !x.current) return;
1228
1228
  const R = f.current.getBoundingClientRect(), k = x.current.getBoundingClientRect(), I = xt(R, k, $, q, window.scrollX, window.scrollY);
1229
- u(I);
1229
+ m(I);
1230
1230
  }, [y, $, q]), V(() => {
1231
1231
  if (!y || !i) return;
1232
1232
  const R = (k) => {
1233
- x.current && !x.current.contains(k.target) && f.current && !f.current.contains(k.target) && S();
1233
+ x.current && !x.current.contains(k.target) && f.current && !f.current.contains(k.target) && T();
1234
1234
  };
1235
1235
  return document.addEventListener("mousedown", R), () => document.removeEventListener("mousedown", R);
1236
- }, [y, i, S]), V(() => {
1236
+ }, [y, i, T]), V(() => {
1237
1237
  if (!y) return;
1238
1238
  const R = (k) => {
1239
- k.key === "Escape" && S();
1239
+ k.key === "Escape" && T();
1240
1240
  };
1241
1241
  return document.addEventListener("keydown", R), () => document.removeEventListener("keydown", R);
1242
- }, [y, S]);
1242
+ }, [y, T]);
1243
1243
  const W = p.cloneElement(e, {
1244
1244
  ref: f,
1245
1245
  onClick: (R) => {
@@ -1260,7 +1260,7 @@ const Ct = ({
1260
1260
  id: B,
1261
1261
  role: "dialog",
1262
1262
  "aria-modal": "false",
1263
- className: m(
1263
+ className: u(
1264
1264
  "vyre-popover",
1265
1265
  `vyre-popover--${$}`,
1266
1266
  h && "vyre-popover--leaving",
@@ -1281,11 +1281,11 @@ const ce = ee(null), xe = ee(null), Lt = 120, Mt = ({
1281
1281
  placement: t = "bottom-start",
1282
1282
  className: a
1283
1283
  }) => {
1284
- const [o, i] = D(!1), [d, s] = D(!1), [l, b] = D(!1), [h, v] = D({ top: 0, left: 0 }), [y, _] = D(-1), c = A(null), u = A(null), w = A(null), f = oe(), x = M(
1284
+ const [o, i] = D(!1), [d, s] = D(!1), [l, b] = D(!1), [h, v] = D({ top: 0, left: 0 }), [y, _] = D(-1), c = A(null), m = A(null), w = A(null), f = oe(), x = M(
1285
1285
  () => {
1286
- var S;
1286
+ var T;
1287
1287
  return Array.from(
1288
- ((S = u.current) == null ? void 0 : S.querySelectorAll(
1288
+ ((T = m.current) == null ? void 0 : T.querySelectorAll(
1289
1289
  "[role=menuitem]:not([aria-disabled=true]):not([disabled]),[role=menuitemcheckbox]:not([aria-disabled=true]):not([disabled]),[role=menuitemradio]:not([aria-disabled=true]):not([disabled])"
1290
1290
  )) ?? []
1291
1291
  );
@@ -1293,8 +1293,8 @@ const ce = ee(null), xe = ee(null), Lt = 120, Mt = ({
1293
1293
  []
1294
1294
  ), L = M(() => {
1295
1295
  s(!0), w.current = setTimeout(() => {
1296
- var S;
1297
- s(!1), b(!1), i(!1), _(-1), (S = c.current) == null || S.focus({ preventScroll: !0 });
1296
+ var T;
1297
+ s(!1), b(!1), i(!1), _(-1), (T = c.current) == null || T.focus({ preventScroll: !0 });
1298
1298
  }, Lt);
1299
1299
  }, []), B = M(() => {
1300
1300
  w.current && (clearTimeout(w.current), w.current = null), s(!1), i(!0), b(!0);
@@ -1303,18 +1303,18 @@ const ce = ee(null), xe = ee(null), Lt = 120, Mt = ({
1303
1303
  }, [o, B, L]);
1304
1304
  V(() => {
1305
1305
  if (!l || !c.current) return;
1306
- const S = c.current.getBoundingClientRect(), W = 4, R = window.scrollX, k = window.scrollY;
1307
- let I = 0, T = 0;
1308
- t.startsWith("bottom") ? (I = S.bottom + k + W, T = t === "bottom-start" ? S.left + R : S.right + R) : (I = S.top + k - W, T = t === "top-start" ? S.left + R : S.right + R), v({ top: I, left: T }), requestAnimationFrame(() => {
1306
+ const T = c.current.getBoundingClientRect(), W = 4, R = window.scrollX, k = window.scrollY;
1307
+ let I = 0, S = 0;
1308
+ t.startsWith("bottom") ? (I = T.bottom + k + W, S = t === "bottom-start" ? T.left + R : T.right + R) : (I = T.top + k - W, S = t === "top-start" ? T.left + R : T.right + R), v({ top: I, left: S }), requestAnimationFrame(() => {
1309
1309
  var G;
1310
1310
  (G = x()[0]) == null || G.focus({ preventScroll: !0 }), _(0);
1311
1311
  });
1312
1312
  }, [l, t, x]), V(() => {
1313
1313
  if (!l) return;
1314
- const S = (R) => {
1315
- u.current && !u.current.contains(R.target) && c.current && !c.current.contains(R.target) && L();
1314
+ const T = (R) => {
1315
+ m.current && !m.current.contains(R.target) && c.current && !c.current.contains(R.target) && L();
1316
1316
  }, W = (R) => {
1317
- var k, I, T;
1317
+ var k, I, S;
1318
1318
  if (R.key === "Escape") {
1319
1319
  L();
1320
1320
  return;
@@ -1328,18 +1328,18 @@ const ce = ee(null), xe = ee(null), Lt = 120, Mt = ({
1328
1328
  }
1329
1329
  if (R.key === "Home" && ((I = x()[0]) == null || I.focus({ preventScroll: !0 }), _(0)), R.key === "End") {
1330
1330
  const E = x();
1331
- (T = E[E.length - 1]) == null || T.focus({ preventScroll: !0 }), _(E.length - 1);
1331
+ (S = E[E.length - 1]) == null || S.focus({ preventScroll: !0 }), _(E.length - 1);
1332
1332
  }
1333
1333
  };
1334
- return document.addEventListener("mousedown", S), document.addEventListener("keydown", W), () => {
1335
- document.removeEventListener("mousedown", S), document.removeEventListener("keydown", W);
1334
+ return document.addEventListener("mousedown", T), document.addEventListener("keydown", W), () => {
1335
+ document.removeEventListener("mousedown", T), document.removeEventListener("keydown", W);
1336
1336
  };
1337
1337
  }, [l, y, L, x]);
1338
1338
  const q = p.cloneElement(e, {
1339
1339
  ref: c,
1340
- onClick: (S) => {
1340
+ onClick: (T) => {
1341
1341
  var W, R;
1342
- $(), (R = (W = e.props).onClick) == null || R.call(W, S);
1342
+ $(), (R = (W = e.props).onClick) == null || R.call(W, T);
1343
1343
  },
1344
1344
  "aria-expanded": o,
1345
1345
  "aria-haspopup": "menu",
@@ -1351,11 +1351,11 @@ const ce = ee(null), xe = ee(null), Lt = 120, Mt = ({
1351
1351
  /* @__PURE__ */ n(
1352
1352
  "div",
1353
1353
  {
1354
- ref: u,
1354
+ ref: m,
1355
1355
  id: f,
1356
1356
  role: "menu",
1357
1357
  "aria-orientation": "vertical",
1358
- className: m(
1358
+ className: u(
1359
1359
  "vyre-dropdown",
1360
1360
  O && "vyre-dropdown--end",
1361
1361
  F && "vyre-dropdown--top",
@@ -1378,7 +1378,7 @@ Mt.displayName = "VyreDropdownMenu";
1378
1378
  const Rt = ({
1379
1379
  children: e,
1380
1380
  className: r
1381
- }) => /* @__PURE__ */ n("div", { className: m("vyre-dropdown__label", r), children: e });
1381
+ }) => /* @__PURE__ */ n("div", { className: u("vyre-dropdown__label", r), children: e });
1382
1382
  Rt.displayName = "VyreDropdownLabel";
1383
1383
  const It = ({
1384
1384
  children: e,
@@ -1394,7 +1394,7 @@ const It = ({
1394
1394
  "button",
1395
1395
  {
1396
1396
  role: "menuitem",
1397
- className: m(
1397
+ className: u(
1398
1398
  "vyre-dropdown__item",
1399
1399
  a === "danger" && "vyre-dropdown__item--danger",
1400
1400
  d
@@ -1414,7 +1414,7 @@ const It = ({
1414
1414
  );
1415
1415
  };
1416
1416
  It.displayName = "VyreDropdownItem";
1417
- const Tt = ({
1417
+ const St = ({
1418
1418
  children: e,
1419
1419
  checked: r,
1420
1420
  onCheckedChange: t,
@@ -1431,7 +1431,7 @@ const Tt = ({
1431
1431
  "aria-disabled": a || void 0,
1432
1432
  disabled: a,
1433
1433
  tabIndex: -1,
1434
- className: m("vyre-dropdown__item vyre-dropdown__item--checkbox", i),
1434
+ className: u("vyre-dropdown__item vyre-dropdown__item--checkbox", i),
1435
1435
  onClick: () => {
1436
1436
  a || (t(!r), d == null || d.close());
1437
1437
  },
@@ -1443,13 +1443,13 @@ const Tt = ({
1443
1443
  }
1444
1444
  );
1445
1445
  };
1446
- Tt.displayName = "VyreDropdownCheckboxItem";
1447
- const St = ({
1446
+ St.displayName = "VyreDropdownCheckboxItem";
1447
+ const Tt = ({
1448
1448
  value: e,
1449
1449
  onValueChange: r,
1450
1450
  children: t
1451
1451
  }) => /* @__PURE__ */ n(xe.Provider, { value: { value: e, onValueChange: r }, children: /* @__PURE__ */ n("div", { role: "group", children: t }) });
1452
- St.displayName = "VyreDropdownRadioGroup";
1452
+ Tt.displayName = "VyreDropdownRadioGroup";
1453
1453
  const Et = ({
1454
1454
  children: e,
1455
1455
  value: r,
@@ -1465,7 +1465,7 @@ const Et = ({
1465
1465
  "aria-disabled": t || void 0,
1466
1466
  disabled: t,
1467
1467
  tabIndex: -1,
1468
- className: m("vyre-dropdown__item vyre-dropdown__item--radio", a),
1468
+ className: u("vyre-dropdown__item vyre-dropdown__item--radio", a),
1469
1469
  onClick: () => {
1470
1470
  t || (i == null || i.onValueChange(r), o == null || o.close());
1471
1471
  },
@@ -1487,14 +1487,14 @@ const Dt = ({
1487
1487
  }) => {
1488
1488
  const [d, s] = D(!1), [l, b] = D({ top: 0, left: 0 }), h = A(null), v = A(null), y = M(() => {
1489
1489
  if (!h.current) return;
1490
- const u = h.current.getBoundingClientRect(), w = window.scrollX, f = window.scrollY, x = 2;
1490
+ const m = h.current.getBoundingClientRect(), w = window.scrollX, f = window.scrollY, x = 2;
1491
1491
  b({
1492
- top: u.top + f,
1493
- left: a === "right" ? u.right + w + x : u.left + w - x
1492
+ top: m.top + f,
1493
+ left: a === "right" ? m.right + w + x : m.left + w - x
1494
1494
  }), s(!0);
1495
- }, [a]), _ = M(() => s(!1), []), c = (u) => {
1495
+ }, [a]), _ = M(() => s(!1), []), c = (m) => {
1496
1496
  var f;
1497
- const w = u.relatedTarget;
1497
+ const w = m.relatedTarget;
1498
1498
  (f = v.current) != null && f.contains(w) || _();
1499
1499
  };
1500
1500
  return /* @__PURE__ */ N(de, { children: [
@@ -1508,7 +1508,7 @@ const Dt = ({
1508
1508
  "aria-disabled": o || void 0,
1509
1509
  disabled: o,
1510
1510
  tabIndex: -1,
1511
- className: m("vyre-dropdown__item vyre-dropdown__item--sub", i),
1511
+ className: u("vyre-dropdown__item vyre-dropdown__item--sub", i),
1512
1512
  onMouseEnter: y,
1513
1513
  onMouseLeave: c,
1514
1514
  onFocus: y,
@@ -1525,7 +1525,7 @@ const Dt = ({
1525
1525
  {
1526
1526
  ref: v,
1527
1527
  role: "menu",
1528
- className: m(
1528
+ className: u(
1529
1529
  "vyre-dropdown vyre-dropdown--sub",
1530
1530
  a === "left" && "vyre-dropdown--sub-left"
1531
1531
  ),
@@ -1536,9 +1536,9 @@ const Dt = ({
1536
1536
  right: a === "left" ? `calc(100vw - ${l.left}px)` : void 0,
1537
1537
  transform: a === "left" ? "translateX(-100%)" : void 0
1538
1538
  },
1539
- onMouseLeave: (u) => {
1539
+ onMouseLeave: (m) => {
1540
1540
  var f;
1541
- const w = u.relatedTarget;
1541
+ const w = m.relatedTarget;
1542
1542
  (f = h.current) != null && f.contains(w) || _();
1543
1543
  },
1544
1544
  children: r
@@ -1549,7 +1549,7 @@ const Dt = ({
1549
1549
  ] });
1550
1550
  };
1551
1551
  Dt.displayName = "VyreDropdownSub";
1552
- const At = ({ className: e }) => /* @__PURE__ */ n("div", { role: "separator", className: m("vyre-dropdown__separator", e) });
1552
+ const At = ({ className: e }) => /* @__PURE__ */ n("div", { role: "separator", className: u("vyre-dropdown__separator", e) });
1553
1553
  At.displayName = "VyreDropdownSeparator";
1554
1554
  const Bt = () => /* @__PURE__ */ N("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
1555
1555
  /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "7", stroke: "currentColor", strokeWidth: "1.4" }),
@@ -1576,7 +1576,7 @@ const Bt = () => /* @__PURE__ */ N("svg", { width: "16", height: "16", viewBox:
1576
1576
  "div",
1577
1577
  {
1578
1578
  role: "alert",
1579
- className: m("vyre-alert", `vyre-alert--${e}`, i),
1579
+ className: u("vyre-alert", `vyre-alert--${e}`, i),
1580
1580
  children: [
1581
1581
  /* @__PURE__ */ n("span", { className: "vyre-alert__icon", "aria-hidden": "true", children: t ?? /* @__PURE__ */ n(d, {}) }),
1582
1582
  /* @__PURE__ */ N("div", { className: "vyre-alert__body", children: [
@@ -1617,7 +1617,7 @@ const Ht = [
1617
1617
  l == null || l(), r(!1);
1618
1618
  }, [l, r]), c = M(() => {
1619
1619
  s == null || s(), r(!1);
1620
- }, [s, r]), u = M((f) => {
1620
+ }, [s, r]), m = M((f) => {
1621
1621
  if (f.key !== "Tab") return;
1622
1622
  const x = h.current;
1623
1623
  if (!x) return;
@@ -1628,7 +1628,7 @@ const Ht = [
1628
1628
  }, []);
1629
1629
  if (V(() => {
1630
1630
  if (!e) return;
1631
- document.addEventListener("keydown", u);
1631
+ document.addEventListener("keydown", m);
1632
1632
  const f = document.body.style.overflow;
1633
1633
  document.body.style.overflow = "hidden";
1634
1634
  const x = (L) => {
@@ -1638,9 +1638,9 @@ const Ht = [
1638
1638
  var L;
1639
1639
  return (L = y.current) == null ? void 0 : L.focus();
1640
1640
  }, 0), () => {
1641
- document.removeEventListener("keydown", u), document.removeEventListener("keydown", x), document.body.style.overflow = f;
1641
+ document.removeEventListener("keydown", m), document.removeEventListener("keydown", x), document.body.style.overflow = f;
1642
1642
  };
1643
- }, [e, u, _]), !e) return null;
1643
+ }, [e, m, _]), !e) return null;
1644
1644
  const w = Ce[o];
1645
1645
  return P.createPortal(
1646
1646
  /* @__PURE__ */ n(
@@ -1660,10 +1660,10 @@ const Ht = [
1660
1660
  "aria-modal": "true",
1661
1661
  "aria-labelledby": "vyre-ad-title",
1662
1662
  "aria-describedby": a ? "vyre-ad-desc" : void 0,
1663
- className: m("vyre-alert-dialog", `vyre-alert-dialog--${o}`, b),
1663
+ className: u("vyre-alert-dialog", `vyre-alert-dialog--${o}`, b),
1664
1664
  tabIndex: -1,
1665
1665
  children: [
1666
- /* @__PURE__ */ n("div", { className: "vyre-alert-dialog__icon-wrap", children: /* @__PURE__ */ n("span", { className: m("vyre-alert-dialog__icon", `vyre-alert-dialog__icon--${o}`), children: /* @__PURE__ */ n(w, {}) }) }),
1666
+ /* @__PURE__ */ n("div", { className: "vyre-alert-dialog__icon-wrap", children: /* @__PURE__ */ n("span", { className: u("vyre-alert-dialog__icon", `vyre-alert-dialog__icon--${o}`), children: /* @__PURE__ */ n(w, {}) }) }),
1667
1667
  /* @__PURE__ */ N("div", { className: "vyre-alert-dialog__body", children: [
1668
1668
  /* @__PURE__ */ n("h2", { id: "vyre-ad-title", className: "vyre-alert-dialog__title", children: t }),
1669
1669
  a && /* @__PURE__ */ n("p", { id: "vyre-ad-desc", className: "vyre-alert-dialog__description", children: a })
@@ -1683,7 +1683,7 @@ const Ht = [
1683
1683
  "button",
1684
1684
  {
1685
1685
  type: "button",
1686
- className: m(
1686
+ className: u(
1687
1687
  "vyre-btn vyre-btn--sm",
1688
1688
  o === "danger" && "vyre-btn--danger",
1689
1689
  o === "warning" && "vyre-btn--primary",
@@ -1724,14 +1724,14 @@ const Ot = [
1724
1724
  "aria-labelledby": b,
1725
1725
  ...h
1726
1726
  }, v) => {
1727
- const y = A(null), _ = A(null), c = M((u) => {
1728
- if (u.key !== "Tab") return;
1727
+ const y = A(null), _ = A(null), c = M((m) => {
1728
+ if (m.key !== "Tab") return;
1729
1729
  const w = y.current;
1730
1730
  if (!w) return;
1731
1731
  const f = Array.from(w.querySelectorAll(Ot));
1732
1732
  if (!f.length) return;
1733
1733
  const x = f[0], L = f[f.length - 1];
1734
- u.shiftKey && document.activeElement === x ? (u.preventDefault(), L.focus()) : !u.shiftKey && document.activeElement === L && (u.preventDefault(), x.focus());
1734
+ m.shiftKey && document.activeElement === x ? (m.preventDefault(), L.focus()) : !m.shiftKey && document.activeElement === L && (m.preventDefault(), x.focus());
1735
1735
  }, []);
1736
1736
  return V(() => {
1737
1737
  if (!e) return;
@@ -1748,12 +1748,12 @@ const Ot = [
1748
1748
  document.removeEventListener("keydown", c), document.removeEventListener("keydown", w), document.body.style.overflow = f;
1749
1749
  };
1750
1750
  }
1751
- const u = document.body.style.overflow;
1751
+ const m = document.body.style.overflow;
1752
1752
  return document.body.style.overflow = "hidden", setTimeout(() => {
1753
1753
  var w;
1754
1754
  return (w = y.current) == null ? void 0 : w.focus();
1755
1755
  }, 0), () => {
1756
- document.removeEventListener("keydown", c), document.body.style.overflow = u;
1756
+ document.removeEventListener("keydown", c), document.body.style.overflow = m;
1757
1757
  };
1758
1758
  }, [e, c, i, r]), e ? P.createPortal(
1759
1759
  /* @__PURE__ */ n(
@@ -1761,22 +1761,22 @@ const Ot = [
1761
1761
  {
1762
1762
  ref: _,
1763
1763
  className: "vyre-sheet-backdrop",
1764
- onClick: (u) => {
1765
- o && u.target === _.current && r();
1764
+ onClick: (m) => {
1765
+ o && m.target === _.current && r();
1766
1766
  },
1767
1767
  role: "presentation",
1768
1768
  children: /* @__PURE__ */ n(
1769
1769
  "div",
1770
1770
  {
1771
- ref: (u) => {
1772
- y.current = u, typeof v == "function" ? v(u) : v && (v.current = u);
1771
+ ref: (m) => {
1772
+ y.current = m, typeof v == "function" ? v(m) : v && (v.current = m);
1773
1773
  },
1774
1774
  role: "dialog",
1775
1775
  "aria-modal": "true",
1776
1776
  "aria-label": l,
1777
1777
  "aria-labelledby": b,
1778
1778
  tabIndex: -1,
1779
- className: m(
1779
+ className: u(
1780
1780
  "vyre-sheet",
1781
1781
  `vyre-sheet--${t}`,
1782
1782
  `vyre-sheet--${a}`,
@@ -1794,15 +1794,15 @@ const Ot = [
1794
1794
  );
1795
1795
  Kt.displayName = "VyreSheet";
1796
1796
  const qt = p.forwardRef(
1797
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-sheet__header", e), ...t, children: r })
1797
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-sheet__header", e), ...t, children: r })
1798
1798
  );
1799
1799
  qt.displayName = "VyreSheetHeader";
1800
1800
  const Pt = p.forwardRef(
1801
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-sheet__body", e), ...t, children: r })
1801
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-sheet__body", e), ...t, children: r })
1802
1802
  );
1803
1803
  Pt.displayName = "VyreSheetBody";
1804
1804
  const Yt = p.forwardRef(
1805
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: m("vyre-sheet__footer", e), ...t, children: r })
1805
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("div", { ref: a, className: u("vyre-sheet__footer", e), ...t, children: r })
1806
1806
  );
1807
1807
  Yt.displayName = "VyreSheetFooter";
1808
1808
  const Ut = ({
@@ -1811,7 +1811,7 @@ const Ut = ({
1811
1811
  className: t
1812
1812
  }) => {
1813
1813
  const a = p.Children.toArray(e).filter(Boolean);
1814
- return /* @__PURE__ */ n("nav", { "aria-label": "Breadcrumb", className: m("vyre-breadcrumb", t), children: /* @__PURE__ */ n("ol", { className: "vyre-breadcrumb__list", children: a.map((o, i) => /* @__PURE__ */ N("li", { className: "vyre-breadcrumb__item", children: [
1814
+ return /* @__PURE__ */ n("nav", { "aria-label": "Breadcrumb", className: u("vyre-breadcrumb", t), children: /* @__PURE__ */ n("ol", { className: "vyre-breadcrumb__list", children: a.map((o, i) => /* @__PURE__ */ N("li", { className: "vyre-breadcrumb__item", children: [
1815
1815
  o,
1816
1816
  i < a.length - 1 && /* @__PURE__ */ n("span", { className: "vyre-breadcrumb__separator", "aria-hidden": "true", children: r })
1817
1817
  ] }, i)) }) });
@@ -1825,22 +1825,29 @@ const Gt = ({
1825
1825
  }) => t || !r ? /* @__PURE__ */ n(
1826
1826
  "span",
1827
1827
  {
1828
- className: m("vyre-breadcrumb__link vyre-breadcrumb__link--current", a),
1828
+ className: u("vyre-breadcrumb__link vyre-breadcrumb__link--current", a),
1829
1829
  "aria-current": t ? "page" : void 0,
1830
1830
  children: e
1831
1831
  }
1832
- ) : /* @__PURE__ */ n("a", { href: r, className: m("vyre-breadcrumb__link", a), children: e });
1832
+ ) : /* @__PURE__ */ n("a", { href: r, className: u("vyre-breadcrumb__link", a), children: e });
1833
1833
  Gt.displayName = "VyreBreadcrumbItem";
1834
+ const Xt = ({ children: e, href: r, className: t }) => /* @__PURE__ */ n("a", { href: r, className: u("vyre-breadcrumb__link", t), children: e });
1835
+ Xt.displayName = "VyreBreadcrumbLink";
1836
+ const zt = ({
1837
+ children: e = "/",
1838
+ className: r
1839
+ }) => /* @__PURE__ */ n("span", { className: u("vyre-breadcrumb__separator", r), "aria-hidden": "true", children: e });
1840
+ zt.displayName = "VyreBreadcrumbSeparator";
1834
1841
  function he(e, r) {
1835
1842
  return Array.from({ length: r - e + 1 }, (t, a) => e + a);
1836
1843
  }
1837
- function Xt(e, r, t) {
1844
+ function Zt(e, r, t) {
1838
1845
  const a = t * 2 + 5;
1839
1846
  if (r <= a) return he(1, r);
1840
1847
  const o = Math.max(e - t, 2), i = Math.min(e + t, r - 1), d = o > 2, s = i < r - 1, l = [1];
1841
1848
  return d && l.push("..."), l.push(...he(o, i)), s && l.push("..."), l.push(r), l;
1842
1849
  }
1843
- const zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M9 2L4 7l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M5 2l5 5-5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Jt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M7 2L2 7l5 5M12 2L7 7l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Qt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M2 2l5 5-5 5M7 2l5 5-5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), er = ({
1850
+ const Jt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M9 2L4 7l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Qt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M5 2l5 5-5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), er = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M7 2L2 7l5 5M12 2L7 7l5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), tr = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M2 2l5 5-5 5M7 2l5 5-5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), rr = ({
1844
1851
  page: e,
1845
1852
  totalPages: r,
1846
1853
  onPageChange: t,
@@ -1851,11 +1858,11 @@ const zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox:
1851
1858
  pageSize: s,
1852
1859
  className: l
1853
1860
  }) => {
1854
- const b = Xt(e, r, a), h = e > 1, v = e < r, y = p.useMemo(() => {
1861
+ const b = Zt(e, r, a), h = e > 1, v = e < r, y = p.useMemo(() => {
1855
1862
  if (!i) return null;
1856
1863
  if (d != null && s != null) {
1857
- const c = (e - 1) * s + 1, u = Math.min(e * s, d);
1858
- return `Showing ${c}–${u} of ${d}`;
1864
+ const c = (e - 1) * s + 1, m = Math.min(e * s, d);
1865
+ return `Showing ${c}–${m} of ${d}`;
1859
1866
  }
1860
1867
  return `Page ${e} of ${r}`;
1861
1868
  }, [i, e, r, d, s]), _ = /* @__PURE__ */ N(de, { children: [
@@ -1866,7 +1873,7 @@ const zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox:
1866
1873
  onClick: () => t(1),
1867
1874
  disabled: !h,
1868
1875
  "aria-label": "First page",
1869
- children: /* @__PURE__ */ n(Jt, {})
1876
+ children: /* @__PURE__ */ n(er, {})
1870
1877
  }
1871
1878
  ),
1872
1879
  /* @__PURE__ */ n(
@@ -1876,14 +1883,14 @@ const zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox:
1876
1883
  onClick: () => t(e - 1),
1877
1884
  disabled: !h,
1878
1885
  "aria-label": "Previous page",
1879
- children: /* @__PURE__ */ n(zt, {})
1886
+ children: /* @__PURE__ */ n(Jt, {})
1880
1887
  }
1881
1888
  ),
1882
1889
  /* @__PURE__ */ n("ol", { className: "vyre-pagination__list", children: b.map(
1883
- (c, u) => c === "..." ? /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n("span", { className: "vyre-pagination__dots", "aria-hidden": "true", children: "···" }) }, `dots-${u}`) : /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(
1890
+ (c, m) => c === "..." ? /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n("span", { className: "vyre-pagination__dots", "aria-hidden": "true", children: "···" }) }, `dots-${m}`) : /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(
1884
1891
  "button",
1885
1892
  {
1886
- className: m(
1893
+ className: u(
1887
1894
  "vyre-pagination__btn",
1888
1895
  c === e && "vyre-pagination__btn--active"
1889
1896
  ),
@@ -1901,7 +1908,7 @@ const zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox:
1901
1908
  onClick: () => t(e + 1),
1902
1909
  disabled: !v,
1903
1910
  "aria-label": "Next page",
1904
- children: /* @__PURE__ */ n(Zt, {})
1911
+ children: /* @__PURE__ */ n(Qt, {})
1905
1912
  }
1906
1913
  ),
1907
1914
  o && /* @__PURE__ */ n(
@@ -1911,17 +1918,17 @@ const zt = () => /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox:
1911
1918
  onClick: () => t(r),
1912
1919
  disabled: !v,
1913
1920
  "aria-label": "Last page",
1914
- children: /* @__PURE__ */ n(Qt, {})
1921
+ children: /* @__PURE__ */ n(tr, {})
1915
1922
  }
1916
1923
  )
1917
1924
  ] });
1918
- return i ? /* @__PURE__ */ N("div", { className: m("vyre-pagination-row", l), children: [
1925
+ return i ? /* @__PURE__ */ N("div", { className: u("vyre-pagination-row", l), children: [
1919
1926
  /* @__PURE__ */ n("span", { className: "vyre-pagination__info", children: y }),
1920
1927
  /* @__PURE__ */ n("nav", { "aria-label": "Pagination", className: "vyre-pagination", children: _ })
1921
- ] }) : /* @__PURE__ */ n("nav", { "aria-label": "Pagination", className: m("vyre-pagination", l), children: _ });
1928
+ ] }) : /* @__PURE__ */ n("nav", { "aria-label": "Pagination", className: u("vyre-pagination", l), children: _ });
1922
1929
  };
1923
- er.displayName = "VyrePagination";
1924
- const tr = ({
1930
+ rr.displayName = "VyrePagination";
1931
+ const nr = ({
1925
1932
  children: e,
1926
1933
  striped: r = !1,
1927
1934
  bordered: t = !1,
@@ -1931,7 +1938,7 @@ const tr = ({
1931
1938
  }) => /* @__PURE__ */ n("div", { className: "vyre-table-wrapper", children: /* @__PURE__ */ n(
1932
1939
  "table",
1933
1940
  {
1934
- className: m(
1941
+ className: u(
1935
1942
  "vyre-table",
1936
1943
  r && "vyre-table--striped",
1937
1944
  t && "vyre-table--bordered",
@@ -1942,24 +1949,24 @@ const tr = ({
1942
1949
  children: e
1943
1950
  }
1944
1951
  ) });
1945
- tr.displayName = "VyreTable";
1946
- const rr = p.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("thead", { ref: t, className: m("vyre-table__head", e), ...r }));
1947
- rr.displayName = "VyreTableHead";
1948
- const nr = p.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("tbody", { ref: t, className: m("vyre-table__body", e), ...r }));
1949
- nr.displayName = "VyreTableBody";
1950
- const ar = p.forwardRef(
1952
+ nr.displayName = "VyreTable";
1953
+ const ar = p.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("thead", { ref: t, className: u("vyre-table__head", e), ...r }));
1954
+ ar.displayName = "VyreTableHead";
1955
+ const or = p.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("tbody", { ref: t, className: u("vyre-table__body", e), ...r }));
1956
+ or.displayName = "VyreTableBody";
1957
+ const ir = p.forwardRef(
1951
1958
  ({ className: e, selected: r, ...t }, a) => /* @__PURE__ */ n(
1952
1959
  "tr",
1953
1960
  {
1954
1961
  ref: a,
1955
- className: m("vyre-table__row", r && "vyre-table__row--selected", e),
1962
+ className: u("vyre-table__row", r && "vyre-table__row--selected", e),
1956
1963
  "aria-selected": r,
1957
1964
  ...t
1958
1965
  }
1959
1966
  )
1960
1967
  );
1961
- ar.displayName = "VyreTableRow";
1962
- const or = ({ dir: e }) => /* @__PURE__ */ n("span", { className: "vyre-table__sort-icon", "aria-hidden": "true", children: /* @__PURE__ */ N("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: [
1968
+ ir.displayName = "VyreTableRow";
1969
+ const sr = ({ dir: e }) => /* @__PURE__ */ n("span", { className: "vyre-table__sort-icon", "aria-hidden": "true", children: /* @__PURE__ */ N("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: [
1963
1970
  /* @__PURE__ */ n(
1964
1971
  "path",
1965
1972
  {
@@ -1982,12 +1989,12 @@ const or = ({ dir: e }) => /* @__PURE__ */ n("span", { className: "vyre-table__s
1982
1989
  opacity: e === "asc" ? 0.3 : 1
1983
1990
  }
1984
1991
  )
1985
- ] }) }), ir = p.forwardRef(
1992
+ ] }) }), lr = p.forwardRef(
1986
1993
  ({ className: e, sortable: r, sortDir: t = null, onSort: a, align: o = "left", children: i, ...d }, s) => r ? /* @__PURE__ */ n(
1987
1994
  "th",
1988
1995
  {
1989
1996
  ref: s,
1990
- className: m(
1997
+ className: u(
1991
1998
  "vyre-table__th vyre-table__th--sortable",
1992
1999
  `vyre-table__th--${o}`,
1993
2000
  t && `vyre-table__th--sort-${t}`,
@@ -1997,33 +2004,33 @@ const or = ({ dir: e }) => /* @__PURE__ */ n("span", { className: "vyre-table__s
1997
2004
  ...d,
1998
2005
  children: /* @__PURE__ */ N("button", { className: "vyre-table__sort-btn", onClick: a, type: "button", children: [
1999
2006
  i,
2000
- /* @__PURE__ */ n(or, { dir: t })
2007
+ /* @__PURE__ */ n(sr, { dir: t })
2001
2008
  ] })
2002
2009
  }
2003
2010
  ) : /* @__PURE__ */ n(
2004
2011
  "th",
2005
2012
  {
2006
2013
  ref: s,
2007
- className: m("vyre-table__th", `vyre-table__th--${o}`, e),
2014
+ className: u("vyre-table__th", `vyre-table__th--${o}`, e),
2008
2015
  ...d,
2009
2016
  children: i
2010
2017
  }
2011
2018
  )
2012
2019
  );
2013
- ir.displayName = "VyreTableHeader";
2014
- const sr = p.forwardRef(
2020
+ lr.displayName = "VyreTableHeader";
2021
+ const dr = p.forwardRef(
2015
2022
  ({ className: e, align: r = "left", ...t }, a) => /* @__PURE__ */ n(
2016
2023
  "td",
2017
2024
  {
2018
2025
  ref: a,
2019
- className: m("vyre-table__td", `vyre-table__td--${r}`, e),
2026
+ className: u("vyre-table__td", `vyre-table__td--${r}`, e),
2020
2027
  ...t
2021
2028
  }
2022
2029
  )
2023
2030
  );
2024
- sr.displayName = "VyreTableCell";
2025
- const lr = p.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("caption", { ref: t, className: m("vyre-table__caption", e), ...r }));
2026
- lr.displayName = "VyreTableCaption";
2031
+ dr.displayName = "VyreTableCell";
2032
+ const cr = p.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("caption", { ref: t, className: u("vyre-table__caption", e), ...r }));
2033
+ cr.displayName = "VyreTableCaption";
2027
2034
  const Le = ee(null), ue = () => {
2028
2035
  const e = U(Le);
2029
2036
  if (!e) throw new Error("Command components must be used inside <Command>");
@@ -2032,20 +2039,20 @@ const Le = ee(null), ue = () => {
2032
2039
  function me(e) {
2033
2040
  return e.toLowerCase().replace(/\s+/g, " ").trim();
2034
2041
  }
2035
- function dr(e, r, t = []) {
2042
+ function ur(e, r, t = []) {
2036
2043
  if (!e) return !0;
2037
2044
  const a = me(e);
2038
2045
  return me(r).includes(a) || t.some((o) => me(o).includes(a));
2039
2046
  }
2040
- let cr = 0;
2041
- function ur() {
2042
- return `cmd-${++cr}`;
2047
+ let mr = 0;
2048
+ function vr() {
2049
+ return `cmd-${++mr}`;
2043
2050
  }
2044
2051
  const Me = p.forwardRef(
2045
2052
  ({ value: e, onValueChange: r, className: t, children: a }, o) => {
2046
2053
  const [i, d] = D(""), [s, l] = D(0), [b, h] = D(0), v = e !== void 0 ? e : i, y = M((L) => {
2047
2054
  d(L), r == null || r(L), l(0);
2048
- }, [r]), _ = A(/* @__PURE__ */ new Map()), c = A(/* @__PURE__ */ new Map()), u = M((L, B, $) => {
2055
+ }, [r]), _ = A(/* @__PURE__ */ new Map()), c = A(/* @__PURE__ */ new Map()), m = M((L, B, $) => {
2049
2056
  _.current.set(L, { el: B, disabled: $ });
2050
2057
  }, []), w = M((L) => {
2051
2058
  _.current.delete(L), c.current.delete(L);
@@ -2058,18 +2065,18 @@ const Me = p.forwardRef(
2058
2065
  activeIndex: s,
2059
2066
  setActiveIndex: l,
2060
2067
  items: _,
2061
- registerItem: u,
2068
+ registerItem: m,
2062
2069
  unregisterItem: w,
2063
2070
  selectItem: f,
2064
2071
  onSelectRef: c,
2065
2072
  visibleCount: b,
2066
2073
  setVisibleCount: h
2067
- }), [v, y, s, u, w, f, b]);
2074
+ }), [v, y, s, m, w, f, b]);
2068
2075
  return /* @__PURE__ */ n(Le.Provider, { value: x, children: /* @__PURE__ */ n(
2069
2076
  "div",
2070
2077
  {
2071
2078
  ref: o,
2072
- className: m("vyre-command", t),
2079
+ className: u("vyre-command", t),
2073
2080
  role: "combobox",
2074
2081
  "aria-expanded": "true",
2075
2082
  "aria-haspopup": "listbox",
@@ -2079,7 +2086,7 @@ const Me = p.forwardRef(
2079
2086
  }
2080
2087
  );
2081
2088
  Me.displayName = "VyreCommand";
2082
- const mr = p.forwardRef(
2089
+ const yr = p.forwardRef(
2083
2090
  ({ placeholder: e = "Search...", className: r }, t) => {
2084
2091
  const { search: a, setSearch: o } = ue();
2085
2092
  return /* @__PURE__ */ N("div", { className: "vyre-command__input-wrapper", children: [
@@ -2088,7 +2095,7 @@ const mr = p.forwardRef(
2088
2095
  "input",
2089
2096
  {
2090
2097
  ref: t,
2091
- className: m("vyre-command__input", r),
2098
+ className: u("vyre-command__input", r),
2092
2099
  type: "text",
2093
2100
  placeholder: e,
2094
2101
  value: a,
@@ -2113,8 +2120,8 @@ const mr = p.forwardRef(
2113
2120
  ] });
2114
2121
  }
2115
2122
  );
2116
- mr.displayName = "VyreCommandInput";
2117
- const vr = p.forwardRef(
2123
+ yr.displayName = "VyreCommandInput";
2124
+ const fr = p.forwardRef(
2118
2125
  ({ className: e, children: r }, t) => {
2119
2126
  const { activeIndex: a, setActiveIndex: o, items: i, selectItem: d } = ue(), s = M((l) => {
2120
2127
  var h, v;
@@ -2135,25 +2142,25 @@ const vr = p.forwardRef(
2135
2142
  ref: t,
2136
2143
  id: "vyre-command-list",
2137
2144
  role: "listbox",
2138
- className: m("vyre-command__list", e),
2145
+ className: u("vyre-command__list", e),
2139
2146
  onKeyDown: s,
2140
2147
  children: r
2141
2148
  }
2142
2149
  );
2143
2150
  }
2144
2151
  );
2145
- vr.displayName = "VyreCommandList";
2146
- const yr = ({ className: e, children: r }) => {
2152
+ fr.displayName = "VyreCommandList";
2153
+ const hr = ({ className: e, children: r }) => {
2147
2154
  const { search: t, visibleCount: a } = ue();
2148
- return !t || a > 0 ? null : /* @__PURE__ */ n("div", { className: m("vyre-command__empty", e), role: "presentation", children: r ?? "No results found." });
2155
+ return !t || a > 0 ? null : /* @__PURE__ */ n("div", { className: u("vyre-command__empty", e), role: "presentation", children: r ?? "No results found." });
2149
2156
  };
2150
- yr.displayName = "VyreCommandEmpty";
2151
- const fr = ({ heading: e, className: r, children: t }) => /* @__PURE__ */ N("div", { className: m("vyre-command__group", r), role: "presentation", children: [
2157
+ hr.displayName = "VyreCommandEmpty";
2158
+ const br = ({ heading: e, className: r, children: t }) => /* @__PURE__ */ N("div", { className: u("vyre-command__group", r), role: "presentation", children: [
2152
2159
  e && /* @__PURE__ */ n("div", { className: "vyre-command__group-heading", "aria-hidden": "true", children: e }),
2153
2160
  /* @__PURE__ */ n("div", { role: "group", "aria-label": e, children: t })
2154
2161
  ] });
2155
- fr.displayName = "VyreCommandGroup";
2156
- const hr = ({
2162
+ br.displayName = "VyreCommandGroup";
2163
+ const pr = ({
2157
2164
  onSelect: e,
2158
2165
  disabled: r = !1,
2159
2166
  keywords: t,
@@ -2162,7 +2169,7 @@ const hr = ({
2162
2169
  icon: i,
2163
2170
  shortcut: d
2164
2171
  }) => {
2165
- const { search: s, setActiveIndex: l, registerItem: b, unregisterItem: h, onSelectRef: v, setVisibleCount: y } = ue(), _ = ae(() => ur(), []), c = A(null), w = dr(s, typeof o == "string" ? o : "", t);
2172
+ const { search: s, setActiveIndex: l, registerItem: b, unregisterItem: h, onSelectRef: v, setVisibleCount: y } = ue(), _ = ae(() => vr(), []), c = A(null), w = ur(s, typeof o == "string" ? o : "", t);
2166
2173
  return V(() => (y((f) => f + (w ? 1 : 0)), () => {
2167
2174
  y((f) => f - (w ? 1 : 0));
2168
2175
  }), [w, y]), V(() => {
@@ -2182,7 +2189,7 @@ const hr = ({
2182
2189
  "data-cmd-item": !0,
2183
2190
  role: "option",
2184
2191
  "aria-disabled": r || void 0,
2185
- className: m(
2192
+ className: u(
2186
2193
  "vyre-command__item",
2187
2194
  r && "vyre-command__item--disabled",
2188
2195
  a
@@ -2201,10 +2208,10 @@ const hr = ({
2201
2208
  }
2202
2209
  ) : null;
2203
2210
  };
2204
- hr.displayName = "VyreCommandItem";
2205
- const br = ({ className: e }) => /* @__PURE__ */ n("div", { className: m("vyre-command__separator", e), role: "separator", "aria-hidden": "true" });
2206
- br.displayName = "VyreCommandSeparator";
2207
- const pr = ({
2211
+ pr.displayName = "VyreCommandItem";
2212
+ const _r = ({ className: e }) => /* @__PURE__ */ n("div", { className: u("vyre-command__separator", e), role: "separator", "aria-hidden": "true" });
2213
+ _r.displayName = "VyreCommandSeparator";
2214
+ const wr = ({
2208
2215
  open: e,
2209
2216
  onOpenChange: r,
2210
2217
  value: t,
@@ -2243,7 +2250,7 @@ const pr = ({
2243
2250
  {
2244
2251
  value: t,
2245
2252
  onValueChange: a,
2246
- className: m("vyre-command--dialog", o),
2253
+ className: u("vyre-command--dialog", o),
2247
2254
  children: i
2248
2255
  }
2249
2256
  )
@@ -2252,7 +2259,7 @@ const pr = ({
2252
2259
  document.body
2253
2260
  ) : null;
2254
2261
  };
2255
- pr.displayName = "VyreCommandDialog";
2262
+ wr.displayName = "VyreCommandDialog";
2256
2263
  function Q(e) {
2257
2264
  return new Date(e.getFullYear(), e.getMonth(), e.getDate());
2258
2265
  }
@@ -2265,16 +2272,16 @@ function re(e, r) {
2265
2272
  function be(e, r) {
2266
2273
  return Q(e) > Q(r);
2267
2274
  }
2268
- function _r(e, r) {
2275
+ function gr(e, r) {
2269
2276
  return new Date(e, r + 1, 0).getDate();
2270
2277
  }
2271
- function wr(e, r, t) {
2278
+ function Nr(e, r, t) {
2272
2279
  return (new Date(e, r, 1).getDay() - t + 7) % 7;
2273
2280
  }
2274
2281
  function X(e, r) {
2275
2282
  return e ? new Intl.DateTimeFormat("default", { year: "numeric", month: "short", day: "numeric" }).format(e) : "";
2276
2283
  }
2277
- function gr(e) {
2284
+ function kr(e) {
2278
2285
  return `${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}`;
2279
2286
  }
2280
2287
  const pe = Array.from(
@@ -2292,14 +2299,14 @@ const pe = Array.from(
2292
2299
  } = e, l = Q(/* @__PURE__ */ new Date()), b = () => {
2293
2300
  var g, C;
2294
2301
  return e.mode === "range" ? ((g = e.value) == null ? void 0 : g[0]) ?? l : e.mode === "multiple" ? ((C = e.value) == null ? void 0 : C[0]) ?? l : e.value ?? l;
2295
- }, [h, v] = D(() => (b() ?? l).getFullYear()), [y, _] = D(() => (b() ?? l).getMonth()), [c, u] = D("days"), [w, f] = D(null), [x, L] = D(() => {
2302
+ }, [h, v] = D(() => (b() ?? l).getFullYear()), [y, _] = D(() => (b() ?? l).getMonth()), [c, m] = D("days"), [w, f] = D(null), [x, L] = D(() => {
2296
2303
  const g = e.mode === "single" ? e.value : null;
2297
2304
  return g ? g.getHours() : 0;
2298
2305
  }), [B, $] = D(() => {
2299
2306
  const g = e.mode === "single" ? e.value : null;
2300
2307
  return g ? g.getMinutes() : 0;
2301
2308
  }), q = ae(() => {
2302
- const g = _r(h, y), C = wr(h, y, s);
2309
+ const g = gr(h, y), C = Nr(h, y, s);
2303
2310
  return { count: g, offset: C };
2304
2311
  }, [h, y, s]), O = ae(() => s === 1 ? ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"] : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], [s]), F = M((g) => {
2305
2312
  if (e.mode === "single")
@@ -2309,7 +2316,7 @@ const pe = Array.from(
2309
2316
  return !!C && Y(g, C) || !!j && Y(g, j);
2310
2317
  }
2311
2318
  return e.mode === "multiple" ? (e.value ?? []).some((C) => Y(g, C)) : !1;
2312
- }, [e]), S = M((g) => {
2319
+ }, [e]), T = M((g) => {
2313
2320
  if (e.mode !== "range") return !1;
2314
2321
  const [C, j] = e.value ?? [null, null], H = j ?? w;
2315
2322
  if (!C || !H) return !1;
@@ -2334,10 +2341,10 @@ const pe = Array.from(
2334
2341
  !K || K && J ? (H = e.onChange) == null || H.call(e, [C, null]) : re(C, K) ? (z = e.onChange) == null || z.call(e, [C, K]) : (Z = e.onChange) == null || Z.call(e, [K, C]);
2335
2342
  } else if (e.mode === "multiple") {
2336
2343
  const K = e.value ?? [], J = K.findIndex((fe) => Y(fe, C));
2337
- J >= 0 ? (te = e.onChange) == null || te.call(e, K.filter((fe, Te) => Te !== J)) : (se = e.onChange) == null || se.call(e, [...K, C]);
2344
+ J >= 0 ? (te = e.onChange) == null || te.call(e, K.filter((fe, Se) => Se !== J)) : (se = e.onChange) == null || se.call(e, [...K, C]);
2338
2345
  }
2339
2346
  }
2340
- }, [h, y, x, B, e, k]), T = () => {
2347
+ }, [h, y, x, B, e, k]), S = () => {
2341
2348
  y === 0 ? (_(11), v((g) => g - 1)) : _((g) => g - 1);
2342
2349
  }, E = () => {
2343
2350
  y === 11 ? (_(0), v((g) => g + 1)) : _((g) => g + 1);
@@ -2348,16 +2355,16 @@ const pe = Array.from(
2348
2355
  H.setHours(g, C), (j = e.onChange) == null || j.call(e, H);
2349
2356
  }
2350
2357
  }, ie = Math.floor(h / ne) * ne;
2351
- return /* @__PURE__ */ N("div", { ref: r, className: m("vyre-calendar", d), children: [
2358
+ return /* @__PURE__ */ N("div", { ref: r, className: u("vyre-calendar", d), children: [
2352
2359
  /* @__PURE__ */ N("div", { className: "vyre-calendar__header", children: [
2353
- c === "days" && /* @__PURE__ */ n("button", { className: "vyre-calendar__nav", onClick: T, "aria-label": "Previous month", children: /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ n("path", { d: "M9 11L5 7l4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
2360
+ c === "days" && /* @__PURE__ */ n("button", { className: "vyre-calendar__nav", onClick: S, "aria-label": "Previous month", children: /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ n("path", { d: "M9 11L5 7l4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
2354
2361
  c === "years" && /* @__PURE__ */ n("button", { className: "vyre-calendar__nav", onClick: () => v((g) => g - ne), "aria-label": "Previous years", children: /* @__PURE__ */ n("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ n("path", { d: "M9 11L5 7l4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
2355
2362
  /* @__PURE__ */ N("div", { className: "vyre-calendar__header-center", children: [
2356
2363
  /* @__PURE__ */ n(
2357
2364
  "button",
2358
2365
  {
2359
2366
  className: "vyre-calendar__header-btn",
2360
- onClick: () => u(c === "months" ? "days" : "months"),
2367
+ onClick: () => m(c === "months" ? "days" : "months"),
2361
2368
  children: pe[y]
2362
2369
  }
2363
2370
  ),
@@ -2365,7 +2372,7 @@ const pe = Array.from(
2365
2372
  "button",
2366
2373
  {
2367
2374
  className: "vyre-calendar__header-btn",
2368
- onClick: () => u(c === "years" ? "days" : "years"),
2375
+ onClick: () => m(c === "years" ? "days" : "years"),
2369
2376
  children: h
2370
2377
  }
2371
2378
  )
@@ -2376,9 +2383,9 @@ const pe = Array.from(
2376
2383
  c === "months" && /* @__PURE__ */ n("div", { className: "vyre-calendar__month-grid", children: pe.map((g, C) => /* @__PURE__ */ n(
2377
2384
  "button",
2378
2385
  {
2379
- className: m("vyre-calendar__month-cell", C === y && "vyre-calendar__month-cell--active"),
2386
+ className: u("vyre-calendar__month-cell", C === y && "vyre-calendar__month-cell--active"),
2380
2387
  onClick: () => {
2381
- _(C), u("days");
2388
+ _(C), m("days");
2382
2389
  },
2383
2390
  children: g.slice(0, 3)
2384
2391
  },
@@ -2387,9 +2394,9 @@ const pe = Array.from(
2387
2394
  c === "years" && /* @__PURE__ */ n("div", { className: "vyre-calendar__year-grid", children: Array.from({ length: ne }, (g, C) => ie + C).map((g) => /* @__PURE__ */ n(
2388
2395
  "button",
2389
2396
  {
2390
- className: m("vyre-calendar__year-cell", g === h && "vyre-calendar__year-cell--active"),
2397
+ className: u("vyre-calendar__year-cell", g === h && "vyre-calendar__year-cell--active"),
2391
2398
  onClick: () => {
2392
- v(g), u("days");
2399
+ v(g), m("days");
2393
2400
  },
2394
2401
  children: g
2395
2402
  },
@@ -2399,11 +2406,11 @@ const pe = Array.from(
2399
2406
  O.map((g) => /* @__PURE__ */ n("div", { className: "vyre-calendar__weekday", children: g }, g)),
2400
2407
  Array.from({ length: q.offset }).map((g, C) => /* @__PURE__ */ n("div", {}, `empty-${C}`)),
2401
2408
  Array.from({ length: q.count }, (g, C) => C + 1).map((g) => {
2402
- const C = new Date(h, y, g), j = F(C), H = S(C), z = W(C), Z = R(C), te = k(C), se = Y(C, l);
2409
+ const C = new Date(h, y, g), j = F(C), H = T(C), z = W(C), Z = R(C), te = k(C), se = Y(C, l);
2403
2410
  return /* @__PURE__ */ n(
2404
2411
  "button",
2405
2412
  {
2406
- className: m(
2413
+ className: u(
2407
2414
  "vyre-calendar__day",
2408
2415
  se && "vyre-calendar__day--today",
2409
2416
  j && "vyre-calendar__day--selected",
@@ -2464,7 +2471,7 @@ const pe = Array.from(
2464
2471
  }
2465
2472
  );
2466
2473
  Re.displayName = "VyreCalendar";
2467
- function Nr(e) {
2474
+ function xr(e) {
2468
2475
  if (e.mode === "range") {
2469
2476
  const [a, o] = e.value ?? [null, null];
2470
2477
  return a ? o ? `${X(a)} – ${X(o)}` : X(a) : "";
@@ -2474,11 +2481,11 @@ function Nr(e) {
2474
2481
  return a.length === 0 ? "" : a.length === 1 ? X(a[0]) : `${a.length} dates selected`;
2475
2482
  }
2476
2483
  const r = e.value, t = e.showTime;
2477
- return r ? t ? `${X(r)} ${gr(r)}` : X(r) : "";
2484
+ return r ? t ? `${X(r)} ${kr(r)}` : X(r) : "";
2478
2485
  }
2479
- const kr = p.forwardRef(
2486
+ const Cr = p.forwardRef(
2480
2487
  ({ placeholder: e = "Pick a date", inputClassName: r, ...t }, a) => {
2481
- const [o, i] = D(!1), d = A(null), s = A(null), [l, b] = D({ top: 0, left: 0, width: 0 }), h = Nr(t), v = M(() => {
2488
+ const [o, i] = D(!1), d = A(null), s = A(null), [l, b] = D({ top: 0, left: 0, width: 0 }), h = xr(t), v = M(() => {
2482
2489
  if (!d.current) return;
2483
2490
  const c = d.current.getBoundingClientRect();
2484
2491
  b({
@@ -2490,33 +2497,33 @@ const kr = p.forwardRef(
2490
2497
  V(() => {
2491
2498
  if (!o) return;
2492
2499
  v();
2493
- const c = () => v(), u = () => v();
2494
- return window.addEventListener("scroll", c, !0), window.addEventListener("resize", u), () => {
2495
- window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", u);
2500
+ const c = () => v(), m = () => v();
2501
+ return window.addEventListener("scroll", c, !0), window.addEventListener("resize", m), () => {
2502
+ window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", m);
2496
2503
  };
2497
2504
  }, [o, v]), V(() => {
2498
2505
  if (!o) return;
2499
2506
  const c = (w) => {
2500
2507
  var f, x;
2501
2508
  !((f = s.current) != null && f.contains(w.target)) && !((x = d.current) != null && x.contains(w.target)) && i(!1);
2502
- }, u = (w) => {
2509
+ }, m = (w) => {
2503
2510
  w.key === "Escape" && i(!1);
2504
2511
  };
2505
- return document.addEventListener("pointerdown", c), document.addEventListener("keydown", u), () => {
2506
- document.removeEventListener("pointerdown", c), document.removeEventListener("keydown", u);
2512
+ return document.addEventListener("pointerdown", c), document.addEventListener("keydown", m), () => {
2513
+ document.removeEventListener("pointerdown", c), document.removeEventListener("keydown", m);
2507
2514
  };
2508
2515
  }, [o]);
2509
2516
  const y = t.mode !== "range" && t.mode !== "multiple" && !t.showTime, _ = ae(() => t.mode === "range" ? {
2510
2517
  ...t,
2511
2518
  onChange: (c) => {
2512
- var u;
2513
- (u = t.onChange) == null || u.call(t, c), c[0] && c[1] && i(!1);
2519
+ var m;
2520
+ (m = t.onChange) == null || m.call(t, c), c[0] && c[1] && i(!1);
2514
2521
  }
2515
2522
  } : t.mode === "multiple" ? t : {
2516
2523
  ...t,
2517
2524
  onChange: (c) => {
2518
- var u;
2519
- (u = t.onChange) == null || u.call(t, c), y && i(!1);
2525
+ var m;
2526
+ (m = t.onChange) == null || m.call(t, c), y && i(!1);
2520
2527
  }
2521
2528
  }, [t, y]);
2522
2529
  return /* @__PURE__ */ N("div", { ref: a, className: "vyre-datepicker", children: [
@@ -2525,7 +2532,7 @@ const kr = p.forwardRef(
2525
2532
  {
2526
2533
  ref: d,
2527
2534
  type: "button",
2528
- className: m("vyre-datepicker__trigger", !h && "vyre-datepicker__trigger--placeholder", r),
2535
+ className: u("vyre-datepicker__trigger", !h && "vyre-datepicker__trigger--placeholder", r),
2529
2536
  onClick: () => {
2530
2537
  v(), i((c) => !c);
2531
2538
  },
@@ -2544,8 +2551,8 @@ const kr = p.forwardRef(
2544
2551
  type: "button",
2545
2552
  "aria-label": "Clear",
2546
2553
  onClick: (c) => {
2547
- var u, w, f;
2548
- c.stopPropagation(), t.mode === "range" ? (u = t.onChange) == null || u.call(t, [null, null]) : t.mode === "multiple" ? (w = t.onChange) == null || w.call(t, []) : (f = t.onChange) == null || f.call(t, null);
2554
+ var m, w, f;
2555
+ c.stopPropagation(), t.mode === "range" ? (m = t.onChange) == null || m.call(t, [null, null]) : t.mode === "multiple" ? (w = t.onChange) == null || w.call(t, []) : (f = t.onChange) == null || f.call(t, null);
2549
2556
  },
2550
2557
  children: /* @__PURE__ */ n("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M2 2l8 8M10 2l-8 8", stroke: "currentColor", strokeWidth: "1.4", strokeLinecap: "round" }) })
2551
2558
  }
@@ -2570,8 +2577,8 @@ const kr = p.forwardRef(
2570
2577
  ] });
2571
2578
  }
2572
2579
  );
2573
- kr.displayName = "VyreDatePicker";
2574
- const xr = p.forwardRef(
2580
+ Cr.displayName = "VyreDatePicker";
2581
+ const Lr = p.forwardRef(
2575
2582
  ({
2576
2583
  as: e = "p",
2577
2584
  size: r = "md",
@@ -2586,7 +2593,7 @@ const xr = p.forwardRef(
2586
2593
  e,
2587
2594
  {
2588
2595
  ref: b,
2589
- className: m(
2596
+ className: u(
2590
2597
  "vyre-text",
2591
2598
  r !== "md" && `vyre-text--${r}`,
2592
2599
  t && `vyre-text--${t}`,
@@ -2600,8 +2607,8 @@ const xr = p.forwardRef(
2600
2607
  }
2601
2608
  )
2602
2609
  );
2603
- xr.displayName = "VyreText";
2604
- const Cr = p.forwardRef(
2610
+ Lr.displayName = "VyreText";
2611
+ const Mr = p.forwardRef(
2605
2612
  ({
2606
2613
  as: e = "h2",
2607
2614
  size: r = "md",
@@ -2615,7 +2622,7 @@ const Cr = p.forwardRef(
2615
2622
  e,
2616
2623
  {
2617
2624
  ref: l,
2618
- className: m(
2625
+ className: u(
2619
2626
  "vyre-heading",
2620
2627
  `vyre-heading--${r}`,
2621
2628
  t !== "bold" && `vyre-heading--${t}`,
@@ -2628,49 +2635,49 @@ const Cr = p.forwardRef(
2628
2635
  }
2629
2636
  )
2630
2637
  );
2631
- Cr.displayName = "VyreHeading";
2632
- const Lr = p.forwardRef(
2633
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("p", { ref: a, className: m("vyre-lead", e), ...t, children: r })
2638
+ Mr.displayName = "VyreHeading";
2639
+ const Rr = p.forwardRef(
2640
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("p", { ref: a, className: u("vyre-lead", e), ...t, children: r })
2634
2641
  );
2635
- Lr.displayName = "VyreLead";
2636
- const Mr = p.forwardRef(
2637
- ({ block: e, className: r, children: t, ...a }, o) => e ? /* @__PURE__ */ n("pre", { className: m("vyre-code-block", r), ...a, children: /* @__PURE__ */ n("code", { ref: o, children: t }) }) : /* @__PURE__ */ n(
2642
+ Rr.displayName = "VyreLead";
2643
+ const Ir = p.forwardRef(
2644
+ ({ block: e, className: r, children: t, ...a }, o) => e ? /* @__PURE__ */ n("pre", { className: u("vyre-code-block", r), ...a, children: /* @__PURE__ */ n("code", { ref: o, children: t }) }) : /* @__PURE__ */ n(
2638
2645
  "code",
2639
2646
  {
2640
2647
  ref: o,
2641
- className: m("vyre-code", r),
2648
+ className: u("vyre-code", r),
2642
2649
  ...a,
2643
2650
  children: t
2644
2651
  }
2645
2652
  )
2646
2653
  );
2647
- Mr.displayName = "VyreCode";
2648
- const Rr = p.forwardRef(
2649
- ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("blockquote", { ref: a, className: m("vyre-blockquote", e), ...t, children: r })
2654
+ Ir.displayName = "VyreCode";
2655
+ const Sr = p.forwardRef(
2656
+ ({ className: e, children: r, ...t }, a) => /* @__PURE__ */ n("blockquote", { ref: a, className: u("vyre-blockquote", e), ...t, children: r })
2650
2657
  );
2651
- Rr.displayName = "VyreBlockquote";
2658
+ Sr.displayName = "VyreBlockquote";
2652
2659
  const Ie = ee({
2653
2660
  collapsed: !1,
2654
2661
  toggleCollapsed: () => {
2655
2662
  }
2656
- }), ye = () => U(Ie), Ir = p.forwardRef(
2663
+ }), ye = () => U(Ie), Tr = p.forwardRef(
2657
2664
  ({ defaultCollapsed: e = !1, collapsed: r, onCollapsedChange: t, className: a, children: o }, i) => {
2658
2665
  const [d, s] = D(e), l = r !== void 0 ? r : d, b = M(() => {
2659
2666
  const h = !l;
2660
2667
  s(h), t == null || t(h);
2661
2668
  }, [l, t]);
2662
- return /* @__PURE__ */ n(Ie.Provider, { value: { collapsed: l, toggleCollapsed: b }, children: /* @__PURE__ */ n("div", { ref: i, className: m("vyre-app-layout", a), children: o }) });
2669
+ return /* @__PURE__ */ n(Ie.Provider, { value: { collapsed: l, toggleCollapsed: b }, children: /* @__PURE__ */ n("div", { ref: i, className: u("vyre-app-layout", a), children: o }) });
2663
2670
  }
2664
2671
  );
2665
- Ir.displayName = "VyreAppLayout";
2666
- const Tr = p.forwardRef(
2672
+ Tr.displayName = "VyreAppLayout";
2673
+ const Er = p.forwardRef(
2667
2674
  ({ variant: e = "default", className: r, children: t }, a) => {
2668
2675
  const { collapsed: o } = ye();
2669
2676
  return /* @__PURE__ */ n(
2670
2677
  "aside",
2671
2678
  {
2672
2679
  ref: a,
2673
- className: m(
2680
+ className: u(
2674
2681
  "vyre-sidebar",
2675
2682
  o && "vyre-sidebar--collapsed",
2676
2683
  e === "floating" && "vyre-sidebar--floating",
@@ -2682,27 +2689,27 @@ const Tr = p.forwardRef(
2682
2689
  );
2683
2690
  }
2684
2691
  );
2685
- Tr.displayName = "VyreSidebar";
2686
- const Sr = p.forwardRef(
2687
- ({ logo: e, title: r, className: t, children: a }, o) => /* @__PURE__ */ N("div", { ref: o, className: m("vyre-sidebar__header", t), children: [
2692
+ Er.displayName = "VyreSidebar";
2693
+ const Dr = p.forwardRef(
2694
+ ({ logo: e, title: r, className: t, children: a }, o) => /* @__PURE__ */ N("div", { ref: o, className: u("vyre-sidebar__header", t), children: [
2688
2695
  e && /* @__PURE__ */ n("span", { className: "vyre-sidebar__logo", children: e }),
2689
2696
  r && /* @__PURE__ */ n("span", { className: "vyre-sidebar__title", children: r }),
2690
2697
  a
2691
2698
  ] })
2692
2699
  );
2693
- Sr.displayName = "VyreSidebarHeader";
2694
- const Er = p.forwardRef(
2695
- ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: m("vyre-sidebar__content", e), children: r })
2700
+ Dr.displayName = "VyreSidebarHeader";
2701
+ const Ar = p.forwardRef(
2702
+ ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: u("vyre-sidebar__content", e), children: r })
2696
2703
  );
2697
- Er.displayName = "VyreSidebarContent";
2698
- const Dr = p.forwardRef(
2699
- ({ label: e, className: r, children: t }, a) => /* @__PURE__ */ N("div", { ref: a, className: m("vyre-sidebar__section", r), children: [
2704
+ Ar.displayName = "VyreSidebarContent";
2705
+ const Br = p.forwardRef(
2706
+ ({ label: e, className: r, children: t }, a) => /* @__PURE__ */ N("div", { ref: a, className: u("vyre-sidebar__section", r), children: [
2700
2707
  e && /* @__PURE__ */ n("div", { className: "vyre-sidebar__section-label", children: e }),
2701
2708
  t
2702
2709
  ] })
2703
2710
  );
2704
- Dr.displayName = "VyreSidebarSection";
2705
- const Ar = ({
2711
+ Br.displayName = "VyreSidebarSection";
2712
+ const Vr = ({
2706
2713
  active: e,
2707
2714
  icon: r,
2708
2715
  badge: t,
@@ -2711,7 +2718,7 @@ const Ar = ({
2711
2718
  className: i,
2712
2719
  children: d
2713
2720
  }) => {
2714
- const { collapsed: s } = ye(), l = m("vyre-sidebar__item", e && "vyre-sidebar__item--active", i), b = /* @__PURE__ */ N(de, { children: [
2721
+ const { collapsed: s } = ye(), l = u("vyre-sidebar__item", e && "vyre-sidebar__item--active", i), b = /* @__PURE__ */ N(de, { children: [
2715
2722
  r && /* @__PURE__ */ n("span", { className: "vyre-sidebar__item-icon", children: r }),
2716
2723
  /* @__PURE__ */ n("span", { className: "vyre-sidebar__item-label", children: d }),
2717
2724
  t !== void 0 && /* @__PURE__ */ n("span", { className: "vyre-sidebar__item-badge", children: t })
@@ -2737,26 +2744,26 @@ const Ar = ({
2737
2744
  }
2738
2745
  );
2739
2746
  };
2740
- Ar.displayName = "VyreSidebarItem";
2741
- const Br = p.forwardRef(
2742
- ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: m("vyre-sidebar__footer", e), children: r })
2747
+ Vr.displayName = "VyreSidebarItem";
2748
+ const $r = p.forwardRef(
2749
+ ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: u("vyre-sidebar__footer", e), children: r })
2743
2750
  );
2744
- Br.displayName = "VyreSidebarFooter";
2745
- const Vr = p.forwardRef(
2746
- ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: m("vyre-app-shell", e), children: r })
2751
+ $r.displayName = "VyreSidebarFooter";
2752
+ const Wr = p.forwardRef(
2753
+ ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: u("vyre-app-shell", e), children: r })
2747
2754
  );
2748
- Vr.displayName = "VyreAppShell";
2749
- const $r = p.forwardRef(
2750
- ({ className: e, children: r }, t) => /* @__PURE__ */ n("header", { ref: t, className: m("vyre-app-bar", e), children: r })
2755
+ Wr.displayName = "VyreAppShell";
2756
+ const jr = p.forwardRef(
2757
+ ({ className: e, children: r }, t) => /* @__PURE__ */ n("header", { ref: t, className: u("vyre-app-bar", e), children: r })
2751
2758
  );
2752
- $r.displayName = "VyreAppBar";
2753
- const Wr = ({ className: e }) => {
2759
+ jr.displayName = "VyreAppBar";
2760
+ const Hr = ({ className: e }) => {
2754
2761
  const { collapsed: r, toggleCollapsed: t } = ye();
2755
2762
  return /* @__PURE__ */ n(
2756
2763
  "button",
2757
2764
  {
2758
2765
  type: "button",
2759
- className: m("vyre-sidebar-trigger", e),
2766
+ className: u("vyre-sidebar-trigger", e),
2760
2767
  onClick: t,
2761
2768
  "aria-label": r ? "Expand sidebar" : "Collapse sidebar",
2762
2769
  "aria-expanded": !r,
@@ -2768,11 +2775,11 @@ const Wr = ({ className: e }) => {
2768
2775
  }
2769
2776
  );
2770
2777
  };
2771
- Wr.displayName = "VyreSidebarTrigger";
2772
- const jr = p.forwardRef(
2773
- ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: m("vyre-page-content", e), children: r })
2778
+ Hr.displayName = "VyreSidebarTrigger";
2779
+ const Fr = p.forwardRef(
2780
+ ({ className: e, children: r }, t) => /* @__PURE__ */ n("div", { ref: t, className: u("vyre-page-content", e), children: r })
2774
2781
  );
2775
- jr.displayName = "VyrePageContent";
2782
+ Fr.displayName = "VyrePageContent";
2776
2783
  export {
2777
2784
  ct as Accordion,
2778
2785
  vt as AccordionContent,
@@ -2780,14 +2787,16 @@ export {
2780
2787
  mt as AccordionTrigger,
2781
2788
  jt as Alert,
2782
2789
  Ft as AlertDialog,
2783
- $r as AppBar,
2784
- Ir as AppLayout,
2785
- Vr as AppShell,
2790
+ jr as AppBar,
2791
+ Tr as AppLayout,
2792
+ Wr as AppShell,
2786
2793
  yt as Avatar,
2787
2794
  Ve as Badge,
2788
- Rr as Blockquote,
2795
+ Sr as Blockquote,
2789
2796
  Ut as Breadcrumb,
2790
2797
  Gt as BreadcrumbItem,
2798
+ Xt as BreadcrumbLink,
2799
+ zt as BreadcrumbSeparator,
2791
2800
  Ae as Button,
2792
2801
  Re as Calendar,
2793
2802
  $e as Card,
@@ -2795,35 +2804,35 @@ export {
2795
2804
  He as CardFooter,
2796
2805
  We as CardHeader,
2797
2806
  ft as Checkbox,
2798
- Mr as Code,
2807
+ Ir as Code,
2799
2808
  Me as Command,
2800
- pr as CommandDialog,
2801
- yr as CommandEmpty,
2802
- fr as CommandGroup,
2803
- mr as CommandInput,
2804
- hr as CommandItem,
2805
- vr as CommandList,
2806
- br as CommandSeparator,
2807
- kr as DatePicker,
2808
- Tt as DropdownCheckboxItem,
2809
+ wr as CommandDialog,
2810
+ hr as CommandEmpty,
2811
+ br as CommandGroup,
2812
+ yr as CommandInput,
2813
+ pr as CommandItem,
2814
+ fr as CommandList,
2815
+ _r as CommandSeparator,
2816
+ Cr as DatePicker,
2817
+ St as DropdownCheckboxItem,
2809
2818
  It as DropdownItem,
2810
2819
  Rt as DropdownLabel,
2811
2820
  Mt as DropdownMenu,
2812
- St as DropdownRadioGroup,
2821
+ Tt as DropdownRadioGroup,
2813
2822
  Et as DropdownRadioItem,
2814
2823
  At as DropdownSeparator,
2815
2824
  Dt as DropdownSub,
2816
2825
  Fe as Field,
2817
- Cr as Heading,
2826
+ Mr as Heading,
2818
2827
  Oe as Input,
2819
2828
  wt as Label,
2820
- Lr as Lead,
2829
+ Rr as Lead,
2821
2830
  Pe as Modal,
2822
2831
  Ue as ModalBody,
2823
2832
  Ge as ModalFooter,
2824
2833
  Ye as ModalHeader,
2825
- jr as PageContent,
2826
- er as Pagination,
2834
+ Fr as PageContent,
2835
+ rr as Pagination,
2827
2836
  Ct as Popover,
2828
2837
  pt as Progress,
2829
2838
  et as Select,
@@ -2832,13 +2841,13 @@ export {
2832
2841
  Pt as SheetBody,
2833
2842
  Yt as SheetFooter,
2834
2843
  qt as SheetHeader,
2835
- Tr as Sidebar,
2836
- Er as SidebarContent,
2837
- Br as SidebarFooter,
2838
- Sr as SidebarHeader,
2839
- Ar as SidebarItem,
2840
- Dr as SidebarSection,
2841
- Wr as SidebarTrigger,
2844
+ Er as Sidebar,
2845
+ Ar as SidebarContent,
2846
+ $r as SidebarFooter,
2847
+ Dr as SidebarHeader,
2848
+ Vr as SidebarItem,
2849
+ Br as SidebarSection,
2850
+ Hr as SidebarTrigger,
2842
2851
  gt as Skeleton,
2843
2852
  bt as Slider,
2844
2853
  ht as Switch,
@@ -2846,19 +2855,19 @@ export {
2846
2855
  at as TabList,
2847
2856
  st as TabPanel,
2848
2857
  it as TabPanels,
2849
- tr as Table,
2850
- nr as TableBody,
2851
- lr as TableCaption,
2852
- sr as TableCell,
2853
- rr as TableHead,
2854
- ir as TableHeader,
2855
- ar as TableRow,
2858
+ nr as Table,
2859
+ or as TableBody,
2860
+ cr as TableCaption,
2861
+ dr as TableCell,
2862
+ ar as TableHead,
2863
+ lr as TableHeader,
2864
+ ir as TableRow,
2856
2865
  nt as Tabs,
2857
- xr as Text,
2866
+ Lr as Text,
2858
2867
  Ke as Textarea,
2859
- Kr as ToastProvider,
2868
+ Pr as ToastProvider,
2860
2869
  dt as Tooltip,
2861
- m as cn,
2870
+ u as cn,
2862
2871
  ye as useAppLayout,
2863
- qr as useToast
2872
+ Yr as useToast
2864
2873
  };