@theroutingcompany/components 0.0.71-alpha.3 → 0.0.71-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -289,14 +289,14 @@ function fS() {
289
289
  } catch (Ht) {
290
290
  if (Ht && ge && typeof Ht.stack == "string") {
291
291
  for (var we = Ht.stack.split(`
292
- `), Qe = ge.stack.split(`
293
- `), Me = we.length - 1, Ke = Qe.length - 1; Me >= 1 && Ke >= 0 && we[Me] !== Qe[Ke]; )
292
+ `), et = ge.stack.split(`
293
+ `), Me = we.length - 1, Ke = et.length - 1; Me >= 1 && Ke >= 0 && we[Me] !== et[Ke]; )
294
294
  Ke--;
295
295
  for (; Me >= 1 && Ke >= 0; Me--, Ke--)
296
- if (we[Me] !== Qe[Ke]) {
296
+ if (we[Me] !== et[Ke]) {
297
297
  if (Me !== 1 || Ke !== 1)
298
298
  do
299
- if (Me--, Ke--, Ke < 0 || we[Me] !== Qe[Ke]) {
299
+ if (Me--, Ke--, Ke < 0 || we[Me] !== et[Ke]) {
300
300
  var bt = `
301
301
  ` + we[Me].replace(" at new ", " at ");
302
302
  return T.displayName && bt.includes("<anonymous>") && (bt = bt.replace("<anonymous>", T.displayName)), typeof T == "function" && le.set(T, bt), bt;
@@ -363,8 +363,8 @@ function fS() {
363
363
  var we = void 0;
364
364
  try {
365
365
  if (typeof T[De] != "function") {
366
- var Qe = Error((ge || "React class") + ": " + ce + " type `" + De + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[De] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
367
- throw Qe.name = "Invariant Violation", Qe;
366
+ var et = Error((ge || "React class") + ": " + ce + " type `" + De + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[De] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
367
+ throw et.name = "Invariant Violation", et;
368
368
  }
369
369
  we = T[De](te, De, ge, ce, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
370
370
  } catch (Me) {
@@ -480,8 +480,8 @@ function fS() {
480
480
  };
481
481
  function LD(T, te, ce, ge, Pe) {
482
482
  {
483
- var Te, De = {}, we = null, Qe = null;
484
- ce !== void 0 && (ct(ce), we = "" + ce), OD(te) && (ct(te.key), we = "" + te.key), AD(te) && (Qe = te.ref, MD(te, Pe));
483
+ var Te, De = {}, we = null, et = null;
484
+ ce !== void 0 && (ct(ce), we = "" + ce), OD(te) && (ct(te.key), we = "" + te.key), AD(te) && (et = te.ref, MD(te, Pe));
485
485
  for (Te in te)
486
486
  ht.call(te, Te) && !ID.hasOwnProperty(Te) && (De[Te] = te[Te]);
487
487
  if (T && T.defaultProps) {
@@ -489,11 +489,11 @@ function fS() {
489
489
  for (Te in Me)
490
490
  De[Te] === void 0 && (De[Te] = Me[Te]);
491
491
  }
492
- if (we || Qe) {
492
+ if (we || et) {
493
493
  var Ke = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
494
- we && FD(De, Ke), Qe && ND(De, Ke);
494
+ we && FD(De, Ke), et && ND(De, Ke);
495
495
  }
496
- return zD(T, we, Qe, Pe, ge, vo.current, De);
496
+ return zD(T, we, et, Pe, ge, vo.current, De);
497
497
  }
498
498
  }
499
499
  var tl = $.ReactCurrentOwner, Kf = $.ReactDebugCurrentFrame;
@@ -620,8 +620,8 @@ Check the top-level render call using <` + ce + ">.");
620
620
  if (!De) {
621
621
  var we = "";
622
622
  (T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (we += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
623
- var Qe = KD(Pe);
624
- Qe ? we += Qe : we += Vf();
623
+ var et = KD(Pe);
624
+ et ? we += et : we += Vf();
625
625
  var Me;
626
626
  T === null ? Me = "null" : xn(T) ? Me = "array" : T !== void 0 && T.$$typeof === t ? (Me = "<" + (I(T.type) || "Unknown") + " />", we = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof T, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, we);
627
627
  }
@@ -1081,7 +1081,7 @@ function Ea(e) {
1081
1081
  const DS = Z["useId".toString()] || (() => {
1082
1082
  });
1083
1083
  let SS = 0;
1084
- function et(e) {
1084
+ function tt(e) {
1085
1085
  const [t, r] = Z.useState(DS());
1086
1086
  return _t(() => {
1087
1087
  e || r(
@@ -1100,7 +1100,7 @@ const eb = "Collapsible", [PS, tb] = je(eb), [TS, jd] = PS(eb), kS = /* @__PURE_
1100
1100
  return /* @__PURE__ */ S(TS, {
1101
1101
  scope: r,
1102
1102
  disabled: a,
1103
- contentId: et(),
1103
+ contentId: tt(),
1104
1104
  open: l,
1105
1105
  onOpenToggle: ne(
1106
1106
  () => c(
@@ -1333,7 +1333,7 @@ const [ob, KS] = Ji(Ar), [ab, VS] = Ji(Ar, {
1333
1333
  onKeyDown: n ? void 0 : p
1334
1334
  }))));
1335
1335
  }), _c = "AccordionItem", [WS, Gd] = Ji(_c), HS = /* @__PURE__ */ N.forwardRef((e, t) => {
1336
- const { __scopeAccordion: r, value: n, ...o } = e, a = Qi(_c, r), i = KS(_c, r), s = Hd(r), l = et(), c = n && i.value.includes(n) || !1, d = a.disabled || e.disabled;
1336
+ const { __scopeAccordion: r, value: n, ...o } = e, a = Qi(_c, r), i = KS(_c, r), s = Hd(r), l = tt(), c = n && i.value.includes(n) || !1, d = a.disabled || e.disabled;
1337
1337
  return /* @__PURE__ */ N.createElement(WS, {
1338
1338
  scope: r,
1339
1339
  open: c,
@@ -2880,12 +2880,12 @@ if (hb.length === 0)
2880
2880
  throw new Error(
2881
2881
  "Prop names are required for the Box component. Make sure you have included the necessary styled-system props."
2882
2882
  );
2883
- const jP = [...hb, "truncate"], Xe = O.div.withConfig(oP(jP))`
2883
+ const jP = [...hb, "truncate"], Je = O.div.withConfig(oP(jP))`
2884
2884
  ${Or}
2885
2885
  ${({ truncate: e }) => e && mb()}
2886
2886
  `;
2887
- Xe.displayName = "Box";
2888
- const Re = Xe, UP = O(Xe)`
2887
+ Je.displayName = "Box";
2888
+ const Re = Je, UP = O(Je)`
2889
2889
  display: flex;
2890
2890
  ${({ $cursor: e }) => e && `cursor: ${e};`};
2891
2891
  `, Nt = B((e, t) => {
@@ -3919,9 +3919,9 @@ const Ib = "Dialog", [Ab, Ob] = je(Ib), [q7, Et] = Ab(Ib), Z7 = (e) => {
3919
3919
  scope: t,
3920
3920
  triggerRef: s,
3921
3921
  contentRef: l,
3922
- contentId: et(),
3923
- titleId: et(),
3924
- descriptionId: et(),
3922
+ contentId: tt(),
3923
+ titleId: tt(),
3924
+ descriptionId: tt(),
3925
3925
  open: c,
3926
3926
  onOpenChange: d,
3927
3927
  onOpenToggle: ne(
@@ -6240,7 +6240,6 @@ const qk = Ig, bu = {
6240
6240
  className: o,
6241
6241
  role: "dialog",
6242
6242
  "aria-modal": "true",
6243
- title: p,
6244
6243
  "aria-label": p,
6245
6244
  "aria-labelledby": p,
6246
6245
  children: /* @__PURE__ */ x(Re, { size: "100%", ref: h, "data-id": "modal-overlay", children: /* @__PURE__ */ x(Xk, { children: /* @__PURE__ */ x(Jk, { disabled: !l || cb(), returnFocus: !0, children: /* @__PURE__ */ x(
@@ -7766,7 +7765,7 @@ function gs(e) {
7766
7765
  let { children: t, elementType: r = "div", isFocusable: n, style: o, ...a } = e, { visuallyHiddenProps: i } = Jg(e);
7767
7766
  return /* @__PURE__ */ N.createElement(r, $e(a, i), t);
7768
7767
  }
7769
- const J6 = O(Xe)`
7768
+ const J6 = O(Je)`
7770
7769
  display: flex;
7771
7770
  flex-direction: column;
7772
7771
 
@@ -7795,7 +7794,7 @@ function wu(e) {
7795
7794
  const s = {
7796
7795
  ...i
7797
7796
  };
7798
- return /* @__PURE__ */ x(Xe, { "data-id": e["data-id"], ...s, children: a.map((l, c) => /* @__PURE__ */ x(
7797
+ return /* @__PURE__ */ x(Je, { "data-id": e["data-id"], ...s, children: a.map((l, c) => /* @__PURE__ */ x(
7799
7798
  J6,
7800
7799
  {
7801
7800
  "data-id": "stack-item",
@@ -8102,7 +8101,7 @@ const Qg = `
8102
8101
  case "large":
8103
8102
  return fE;
8104
8103
  }
8105
- }, Du = ts(qd, FP, NP, Zd), Lp = O(Xe)`
8104
+ }, Du = ts(qd, FP, NP, Zd), Lp = O(Je)`
8106
8105
  ${e0} // order here matters! ... sets css precedence
8107
8106
  ${Q6}
8108
8107
  ${tE}
@@ -8212,7 +8211,7 @@ function vE(e) {
8212
8211
  `;
8213
8212
  }
8214
8213
  }
8215
- const $E = "default", Kp = "info", yE = "success", _E = "warning", xE = "danger", wE = O(Xe)`
8214
+ const $E = "default", Kp = "info", yE = "success", _E = "warning", xE = "danger", wE = O(Je)`
8216
8215
  position: relative;
8217
8216
  padding: 16px;
8218
8217
  border-radius: ${u.border_radius_400};
@@ -8224,7 +8223,7 @@ const $E = "default", Kp = "info", yE = "success", _E = "warning", xE = "danger"
8224
8223
  ${({ variant: e }) => e === yE && `background-color: ${u.color_green_opacity_48};`};
8225
8224
  ${({ variant: e }) => e === _E && `background-color: ${u.color_brand_solidago_opacity_48}`};
8226
8225
  ${({ variant: e }) => e === xE && `background-color: ${u.color_brand_red_opacity_48}`};
8227
- `, DE = O(Xe)`
8226
+ `, DE = O(Je)`
8228
8227
  ${Qg}
8229
8228
  ${gE}
8230
8229
  ${vE}
@@ -8241,7 +8240,7 @@ const $E = "default", Kp = "info", yE = "success", _E = "warning", xE = "danger"
8241
8240
  // layout default is stacked all the time while inline is stacked on mobile and inline on desktop
8242
8241
  title: s,
8243
8242
  ...l
8244
- } = t, c = Ft(l, qd.propNames ?? []), d = s ? /* @__PURE__ */ x(Xe, { mb: u.spacing_200, children: /* @__PURE__ */ x(eo, { as: "h2", looksLike: "h6", normal: !0, children: s }) }) : null, f = o ? /* @__PURE__ */ oe(
8243
+ } = t, c = Ft(l, qd.propNames ?? []), d = s ? /* @__PURE__ */ x(Je, { mb: u.spacing_200, children: /* @__PURE__ */ x(eo, { as: "h2", looksLike: "h6", normal: !0, children: s }) }) : null, f = o ? /* @__PURE__ */ oe(
8245
8244
  DE,
8246
8245
  {
8247
8246
  as: "button",
@@ -9201,7 +9200,7 @@ const pa = HE, xs = YE, ws = XE, ku = e4, x0 = "Popover", [w0, ZB] = je(x0, [
9201
9200
  });
9202
9201
  return /* @__PURE__ */ S(pa, s, /* @__PURE__ */ S(n4, {
9203
9202
  scope: t,
9204
- contentId: et(),
9203
+ contentId: tt(),
9205
9204
  triggerRef: l,
9206
9205
  open: f,
9207
9206
  onOpenChange: p,
@@ -10055,7 +10054,7 @@ const z4 = {
10055
10054
  31
10056
10055
  ]
10057
10056
  };
10058
- class tt {
10057
+ class rt {
10059
10058
  fromJulianDay(t) {
10060
10059
  let r = t, n = r - O0, o = Math.floor(n / 146097), a = nr(n, 146097), i = Math.floor(a / 36524), s = nr(a, 36524), l = Math.floor(s / 1461), c = nr(s, 1461), d = Math.floor(c / 365), f = o * 400 + i * 100 + l * 4 + d + (i !== 4 && d !== 4 ? 1 : 0), [p, m] = Ps(f), h = r - Yr(p, m, 1, 1), b = 2;
10061
10060
  r < Yr(p, m, 3, 1) ? b = 0 : yr(m) && (b = 1);
@@ -10283,7 +10282,7 @@ function Mu(e, t) {
10283
10282
  return e && t ? e.compare(t) >= 0 ? e : t : e || t;
10284
10283
  }
10285
10284
  function no(e) {
10286
- e = Ae(e, new tt());
10285
+ e = Ae(e, new rt());
10287
10286
  let t = ma(e.era, e.year);
10288
10287
  return z0(t, e.month, e.day, e.hour, e.minute, e.second, e.millisecond);
10289
10288
  }
@@ -10344,7 +10343,7 @@ function Zt(e, t, r = "compatible") {
10344
10343
  if (t === "UTC")
10345
10344
  return no(n);
10346
10345
  if (t === Au() && r === "compatible") {
10347
- n = Ae(n, new tt());
10346
+ n = Ae(n, new rt());
10348
10347
  let l = /* @__PURE__ */ new Date(), c = ma(n.era, n.year);
10349
10348
  return l.setFullYear(c, n.month - 1, n.day), l.setHours(n.hour, n.minute, n.second, n.millisecond), l.getTime();
10350
10349
  }
@@ -10576,12 +10575,12 @@ function aC(e, t, r, n) {
10576
10575
  }
10577
10576
  let i = Er(e), s = Ae(Xo(i, {
10578
10577
  hour: o
10579
- }), new tt()), l = [
10578
+ }), new rt()), l = [
10580
10579
  Zt(s, e.timeZone, "earlier"),
10581
10580
  Zt(s, e.timeZone, "later")
10582
10581
  ].filter((h) => Jt(h, e.timeZone).day === s.day)[0], c = Ae(Xo(i, {
10583
10582
  hour: a
10584
- }), new tt()), d = [
10583
+ }), new rt()), d = [
10585
10584
  Zt(c, e.timeZone, "earlier"),
10586
10585
  Zt(c, e.timeZone, "later")
10587
10586
  ].filter((h) => Jt(h, e.timeZone).day === c.day).pop(), f = no(e) - e.offset, p = Math.floor(f / wo), m = f % wo;
@@ -10613,7 +10612,7 @@ function G0(e) {
10613
10612
  return `${String(e.hour).padStart(2, "0")}:${String(e.minute).padStart(2, "0")}:${String(e.second).padStart(2, "0")}${e.millisecond ? String(e.millisecond / 1e3).slice(1) : ""}`;
10614
10613
  }
10615
10614
  function Y0(e) {
10616
- let t = Ae(e, new tt());
10615
+ let t = Ae(e, new rt());
10617
10616
  return `${String(t.year).padStart(4, "0")}-${String(t.month).padStart(2, "0")}-${String(t.day).padStart(2, "0")}`;
10618
10617
  }
10619
10618
  function q0(e) {
@@ -10629,7 +10628,7 @@ function lC(e) {
10629
10628
  return `${q0(e)}${sC(e.offset)}[${e.timeZone}]`;
10630
10629
  }
10631
10630
  function Ku(e) {
10632
- let t = typeof e[0] == "object" ? e.shift() : new tt(), r;
10631
+ let t = typeof e[0] == "object" ? e.shift() : new rt(), r;
10633
10632
  if (typeof e[0] == "string")
10634
10633
  r = e.shift();
10635
10634
  else {
@@ -10906,7 +10905,7 @@ function El(e) {
10906
10905
  throw new Error("Unknown era: " + e.era);
10907
10906
  return new Le(e.year + t, e.month, e.day);
10908
10907
  }
10909
- class mC extends tt {
10908
+ class mC extends rt {
10910
10909
  fromJulianDay(t) {
10911
10910
  let r = super.fromJulianDay(t), n = om(r);
10912
10911
  return new Le(this, vr[n], r.year - si[n], r.month, r.day);
@@ -10961,7 +10960,7 @@ function am(e) {
10961
10960
  }
10962
10961
  }
10963
10962
  const Z0 = -543;
10964
- class hC extends tt {
10963
+ class hC extends rt {
10965
10964
  fromJulianDay(t) {
10966
10965
  let r = super.fromJulianDay(t), n = ma(r.era, r.year);
10967
10966
  return new Le(this, n - Z0, r.month, r.day);
@@ -11001,7 +11000,7 @@ function sm(e) {
11001
11000
  1 - t
11002
11001
  ];
11003
11002
  }
11004
- class bC extends tt {
11003
+ class bC extends rt {
11005
11004
  fromJulianDay(t) {
11006
11005
  let r = super.fromJulianDay(t), n = ma(r.era, r.year), [o, a] = sm(n);
11007
11006
  return new Le(this, o, a, r.month, r.day);
@@ -11074,7 +11073,7 @@ class $C {
11074
11073
  }
11075
11074
  }
11076
11075
  const Cl = 78, cm = 80;
11077
- class yC extends tt {
11076
+ class yC extends rt {
11078
11077
  fromJulianDay(t) {
11079
11078
  let r = super.fromJulianDay(t), n = r.year - Cl, o = t - Yr(r.era, r.year, 1, 1), a;
11080
11079
  o < cm ? (n--, a = yr(r.year - 1) ? 31 : 30, o += a + 155 + 90 + 10) : (a = yr(r.year) ? 31 : 30, o -= cm);
@@ -11424,7 +11423,7 @@ function Uu(e) {
11424
11423
  return new bC();
11425
11424
  case "gregory":
11426
11425
  default:
11427
- return new tt();
11426
+ return new rt();
11428
11427
  }
11429
11428
  }
11430
11429
  let Rl = /* @__PURE__ */ new Map();
@@ -12812,7 +12811,7 @@ const Nl = "rovingFocusGroup.onEntryFocus", P9 = {
12812
12811
  )
12813
12812
  })));
12814
12813
  }), A9 = "RovingFocusGroupItem", O9 = /* @__PURE__ */ B((e, t) => {
12815
- const { __scopeRovingFocusGroup: r, focusable: n = !0, active: o = !1, tabStopId: a, ...i } = e, s = et(), l = a || s, c = C9(A9, r), d = c.currentTabStopId === l, f = Yv(r), { onFocusableItemAdd: p, onFocusableItemRemove: m } = c;
12814
+ const { __scopeRovingFocusGroup: r, focusable: n = !0, active: o = !1, tabStopId: a, ...i } = e, s = tt(), l = a || s, c = C9(A9, r), d = c.currentTabStopId === l, f = Yv(r), { onFocusableItemAdd: p, onFocusableItemRemove: m } = c;
12816
12815
  return J(() => {
12817
12816
  if (n)
12818
12817
  return p(), () => m();
@@ -14581,7 +14580,7 @@ function L$(e) {
14581
14580
  if (!e.isDisabled && !e.isReadOnly) {
14582
14581
  if (F = br(F, i, s), F = z$(F, w, c), !F)
14583
14582
  return;
14584
- F = Ae(F, (p == null ? void 0 : p.calendar) || new tt()), p && "hour" in p ? m(p.set(F)) : m(F);
14583
+ F = Ae(F, (p == null ? void 0 : p.calendar) || new rt()), p && "hour" in p ? m(p.set(F)) : m(F);
14585
14584
  }
14586
14585
  }
14587
14586
  let I = re(() => h ? c && c(h) ? !0 : Xn(h, i, s) : !1, [
@@ -14820,7 +14819,7 @@ function Ll(e, t) {
14820
14819
  });
14821
14820
  }
14822
14821
  function Pm(e, t) {
14823
- return e = Ae(e, (t == null ? void 0 : t.calendar) || new tt()), t && "hour" in t ? t.set(e) : e;
14822
+ return e = Ae(e, (t == null ? void 0 : t.calendar) || new rt()), t && "hour" in t ? t.set(e) : e;
14824
14823
  }
14825
14824
  function Tm(e, t, r) {
14826
14825
  let n = e.add({
@@ -14834,7 +14833,7 @@ function Tm(e, t, r) {
14834
14833
  days: -r
14835
14834
  }) : null;
14836
14835
  }
14837
- const v8 = O(Xe)`
14836
+ const v8 = O(Je)`
14838
14837
  font-family: ${u.font_family_pingo} !important;
14839
14838
  color: ${u.color_black} !important;
14840
14839
  font-weight: ${u.font_weight_100};
@@ -15130,7 +15129,7 @@ const S8 = [
15130
15129
  onValueNodeChange: v,
15131
15130
  valueNodeHasChildren: _,
15132
15131
  onValueNodeHasChildrenChange: w,
15133
- contentId: et(),
15132
+ contentId: tt(),
15134
15133
  value: y,
15135
15134
  onValueChange: R,
15136
15135
  open: M,
@@ -15588,7 +15587,7 @@ const dd = "SelectItem", [B8, B$] = mo(dd), j8 = /* @__PURE__ */ B((e, t) => {
15588
15587
  const { __scopeSelect: r, value: n, disabled: o = !1, textValue: a, ...i } = e, s = ho(dd, r), l = zs(dd, r), c = s.value === n, [d, f] = X(a ?? ""), [p, m] = X(!1), h = _e(t, ($) => {
15589
15588
  var v;
15590
15589
  return (v = l.itemRefCallback) === null || v === void 0 ? void 0 : v.call(l, $, n, o);
15591
- }), b = et(), g = () => {
15590
+ }), b = tt(), g = () => {
15592
15591
  o || (s.onValueChange(n), s.onOpenChange(!1));
15593
15592
  };
15594
15593
  return /* @__PURE__ */ S(B8, {
@@ -17666,7 +17665,7 @@ function p_(e) {
17666
17665
  ...R
17667
17666
  }, D(z)), m == null && Object.keys(z).length === Object.keys(R).length && (z = {}, D(z), $(Wa(e.placeholderValue, l, p, c)));
17668
17667
  let I = b && Object.keys(z).length >= Object.keys(R).length ? b : g, C = (A) => {
17669
- e.isDisabled || e.isReadOnly || (Object.keys(z).length >= Object.keys(R).length ? (A = Ae(A, (s == null ? void 0 : s.calendar) || new tt()), h(A)) : $(A));
17668
+ e.isDisabled || e.isReadOnly || (Object.keys(z).length >= Object.keys(R).length ? (A = Ae(A, (s == null ? void 0 : s.calendar) || new rt()), h(A)) : $(A));
17670
17669
  }, Y = re(() => I.toDate(d), [
17671
17670
  I,
17672
17671
  d
@@ -17914,7 +17913,7 @@ function _R(e) {
17914
17913
  maxGranularity: "hour",
17915
17914
  placeholderValue: c,
17916
17915
  // Calendar should not matter for time fields.
17917
- createCalendar: () => new tt()
17916
+ createCalendar: () => new rt()
17918
17917
  });
17919
17918
  }
17920
17919
  function Ga(e, t = gn(Au())) {
@@ -18172,7 +18171,7 @@ const DR = xe`
18172
18171
  large: kR,
18173
18172
  xlarge: ER
18174
18173
  };
18175
- function rt({
18174
+ function Xe({
18176
18175
  children: e,
18177
18176
  bold: t,
18178
18177
  size: r = "medium",
@@ -18228,7 +18227,7 @@ function IR({ ...e }) {
18228
18227
  r.validationState === "invalid" && /* @__PURE__ */ x("span", { "aria-hidden": "true", children: "🚫" })
18229
18228
  ] });
18230
18229
  return /* @__PURE__ */ oe(g_, { children: [
18231
- e.label ? /* @__PURE__ */ x(rt, { ...o, htmlFor: a.id, mb: u.spacing_100, children: e.label }) : /* @__PURE__ */ x(rt, { srOnly: !0, ...o, children: "Select Time" }),
18230
+ e.label ? /* @__PURE__ */ x(Xe, { ...o, htmlFor: a.id, mb: u.spacing_100, children: e.label }) : /* @__PURE__ */ x(Xe, { srOnly: !0, ...o, children: "Select Time" }),
18232
18231
  s ? /* @__PURE__ */ x(s, { children: l }) : l,
18233
18232
  e.errorMessage ? /* @__PURE__ */ oe(Nr, { ...i, children: [
18234
18233
  /* @__PURE__ */ x(Ir, {}),
@@ -19319,7 +19318,7 @@ const o1 = B(
19319
19318
  w
19320
19319
  );
19321
19320
  let I = null;
19322
- typeof s == "string" ? I = /* @__PURE__ */ x(rt, { ...M, mb: u.spacing_100, children: s }) : or(s) && (I = sn(s, { ...M, mb: u.spacing_100 }));
19321
+ typeof s == "string" ? I = /* @__PURE__ */ x(Xe, { ...M, mb: u.spacing_100, children: s }) : or(s) && (I = sn(s, { ...M, mb: u.spacing_100 }));
19323
19322
  const C = (Y) => {
19324
19323
  const { formatOptions: F } = e;
19325
19324
  if ((F == null ? void 0 : F.style) === "unit") {
@@ -19406,7 +19405,7 @@ const a1 = B((e, t) => {
19406
19405
  m
19407
19406
  );
19408
19407
  let w = null;
19409
- return typeof l == "string" ? w = /* @__PURE__ */ x(rt, { ...g, mb: u.spacing_100, children: l }) : or(l) && (w = sn(l, { ...g, mb: u.spacing_100 })), /* @__PURE__ */ oe(vn, { children: [
19408
+ return typeof l == "string" ? w = /* @__PURE__ */ x(Xe, { ...g, mb: u.spacing_100, children: l }) : or(l) && (w = sn(l, { ...g, mb: u.spacing_100 })), /* @__PURE__ */ oe(vn, { children: [
19410
19409
  w,
19411
19410
  /* @__PURE__ */ x(
19412
19411
  va,
@@ -19478,7 +19477,7 @@ const Qu = i1, s1 = B(
19478
19477
  w
19479
19478
  );
19480
19479
  let D = null;
19481
- return typeof m == "string" ? D = /* @__PURE__ */ x(rt, { ...k, mb: u.spacing_100, children: m }) : or(m) && (D = sn(m, { ...k, mb: u.spacing_100 })), J(() => {
19480
+ return typeof m == "string" ? D = /* @__PURE__ */ x(Xe, { ...k, mb: u.spacing_100, children: m }) : or(m) && (D = sn(m, { ...k, mb: u.spacing_100 })), J(() => {
19482
19481
  r && w.current.focus();
19483
19482
  }, [r, w]), /* @__PURE__ */ oe(vn, { "data-id": "input-wrapper", children: [
19484
19483
  D,
@@ -19538,7 +19537,7 @@ const [Vs, oj] = je("Tooltip", [
19538
19537
  disableHoverableContent: o
19539
19538
  }, a);
19540
19539
  }, tf = "Tooltip", [dI, _a] = Vs(tf), uI = (e) => {
19541
- const { __scopeTooltip: t, children: r, open: n, defaultOpen: o = !1, onOpenChange: a, disableHoverableContent: i, delayDuration: s } = e, l = ef(tf, e.__scopeTooltip), c = Bs(t), [d, f] = X(null), p = et(), m = L(0), h = i ?? l.disableHoverableContent, b = s ?? l.delayDuration, g = L(!1), [$ = !1, v] = Ve({
19540
+ const { __scopeTooltip: t, children: r, open: n, defaultOpen: o = !1, onOpenChange: a, disableHoverableContent: i, delayDuration: s } = e, l = ef(tf, e.__scopeTooltip), c = Bs(t), [d, f] = X(null), p = tt(), m = L(0), h = i ?? l.disableHoverableContent, b = s ?? l.delayDuration, g = L(!1), [$ = !1, v] = Ve({
19542
19541
  prop: n,
19543
19542
  defaultProp: o,
19544
19543
  onChange: (k) => {
@@ -20020,7 +20019,7 @@ function aj({
20020
20019
  ...l
20021
20020
  });
20022
20021
  return /* @__PURE__ */ x(rf.Provider, { value: f, children: /* @__PURE__ */ oe(vn, { children: [
20023
- /* @__PURE__ */ oe(rt, { ...p, display: "flex", children: [
20022
+ /* @__PURE__ */ oe(Xe, { ...p, display: "flex", children: [
20024
20023
  t,
20025
20024
  o ? /* @__PURE__ */ x($n, { icon: a, children: o }) : null
20026
20025
  ] }),
@@ -20039,7 +20038,7 @@ const HI = B((e, t) => {
20039
20038
  {
20040
20039
  paddingSize: "small",
20041
20040
  ref: t,
20042
- label: /* @__PURE__ */ oe(rt, { children: [
20041
+ label: /* @__PURE__ */ oe(Xe, { children: [
20043
20042
  r,
20044
20043
  n ? /* @__PURE__ */ x($n, { icon: o, children: n }) : null
20045
20044
  ] }),
@@ -20054,7 +20053,7 @@ const GI = B((e, t) => {
20054
20053
  a1,
20055
20054
  {
20056
20055
  ref: t,
20057
- label: /* @__PURE__ */ oe(rt, { children: [
20056
+ label: /* @__PURE__ */ oe(Xe, { children: [
20058
20057
  r,
20059
20058
  n ? /* @__PURE__ */ x($n, { icon: o, children: n }) : null
20060
20059
  ] }),
@@ -20069,7 +20068,7 @@ const YI = B((e, t) => {
20069
20068
  o1,
20070
20069
  {
20071
20070
  ref: t,
20072
- label: /* @__PURE__ */ oe(rt, { children: [
20071
+ label: /* @__PURE__ */ oe(Xe, { children: [
20073
20072
  r,
20074
20073
  n ? /* @__PURE__ */ x($n, { icon: o, children: n }) : null
20075
20074
  ] }),
@@ -23675,7 +23674,7 @@ function S2(e) {
23675
23674
  n
23676
23675
  ), { buttonProps: m } = po(l, o);
23677
23676
  return /* @__PURE__ */ oe(UA, { children: [
23678
- e.label ? /* @__PURE__ */ oe(rt, { ...f, mb: u.spacing_100, children: [
23677
+ e.label ? /* @__PURE__ */ oe(Xe, { ...f, mb: u.spacing_100, children: [
23679
23678
  e.label,
23680
23679
  t ? /* @__PURE__ */ x($n, { children: t }) : null
23681
23680
  ] }) : null,
@@ -23710,7 +23709,7 @@ const ij = N.forwardRef(
23710
23709
  function(t, r) {
23711
23710
  const { "data-id": n, color: o, children: a, ...i } = t;
23712
23711
  return /* @__PURE__ */ x(
23713
- Xe,
23712
+ Je,
23714
23713
  {
23715
23714
  ...i,
23716
23715
  ref: r,
@@ -23733,7 +23732,7 @@ var YA = ts(Xd, lr, Yd, nt, ot, Kt, ca, cn, lt, pb, AP, OP, MP), qA = new RegExp
23733
23732
  const XA = Ue`
23734
23733
  from { opacity: 0.5 }
23735
23734
  to { opacity: 1; }
23736
- `, mf = O(Xe)`
23735
+ `, mf = O(Je)`
23737
23736
  border-radius: ${u.border_radius_400};
23738
23737
  position: relative;
23739
23738
  overflow: hidden;
@@ -23759,7 +23758,7 @@ const XA = Ue`
23759
23758
  return "200";
23760
23759
  }
23761
23760
  }, [o]);
23762
- return /* @__PURE__ */ x(Xe, { ref: r, tabIndex: -1, "aria-hidden": "true", "data-id": n, children: /* @__PURE__ */ x(
23761
+ return /* @__PURE__ */ x(Je, { ref: r, tabIndex: -1, "aria-hidden": "true", "data-id": n, children: /* @__PURE__ */ x(
23763
23762
  mf,
23764
23763
  {
23765
23764
  borderRadius: "200",
@@ -23794,7 +23793,7 @@ const T2 = N.forwardRef(
23794
23793
  return s;
23795
23794
  }, [a, o]);
23796
23795
  return /* @__PURE__ */ x(
23797
- Xe,
23796
+ Je,
23798
23797
  {
23799
23798
  ref: r,
23800
23799
  mt: u.spacing_100,
@@ -23810,7 +23809,7 @@ T2.displayName = "Skeleton.Body";
23810
23809
  const k2 = N.forwardRef(
23811
23810
  function(t, r) {
23812
23811
  const { "data-id": n, children: o, ...a } = t, i = N.useMemo(() => `${Math.random() / 2}s`, []);
23813
- return /* @__PURE__ */ x(Xe, { ref: r, tabIndex: -1, "aria-hidden": "true", "data-id": n, children: /* @__PURE__ */ x(
23812
+ return /* @__PURE__ */ x(Je, { ref: r, tabIndex: -1, "aria-hidden": "true", "data-id": n, children: /* @__PURE__ */ x(
23814
23813
  mf,
23815
23814
  {
23816
23815
  ...a,
@@ -24509,8 +24508,8 @@ const bd = [
24509
24508
  onContentChange: d
24510
24509
  }, /* @__PURE__ */ S(RO, {
24511
24510
  scope: t,
24512
- contentId: et(),
24513
- triggerId: et(),
24511
+ contentId: tt(),
24512
+ triggerId: tt(),
24514
24513
  trigger: s,
24515
24514
  onTriggerChange: l
24516
24515
  }, r)));
@@ -24696,17 +24695,17 @@ function aa(e) {
24696
24695
  }
24697
24696
  const VO = fO, BO = O2, jO = mO, UO = bO, WO = N2, HO = $O, GO = gf, YO = yO, qO = DO, ZO = PO, XO = kO, JO = EO, QO = CO, eM = IO, tM = AO, rM = MO, U2 = "DropdownMenu", [nM, lj] = je(U2, [
24698
24697
  R2
24699
- ]), Je = R2(), [oM, W2] = nM(U2), aM = (e) => {
24700
- const { __scopeDropdownMenu: t, children: r, dir: n, open: o, defaultOpen: a, onOpenChange: i, modal: s = !0 } = e, l = Je(t), c = L(null), [d = !1, f] = Ve({
24698
+ ]), Qe = R2(), [oM, W2] = nM(U2), aM = (e) => {
24699
+ const { __scopeDropdownMenu: t, children: r, dir: n, open: o, defaultOpen: a, onOpenChange: i, modal: s = !0 } = e, l = Qe(t), c = L(null), [d = !1, f] = Ve({
24701
24700
  prop: o,
24702
24701
  defaultProp: a,
24703
24702
  onChange: i
24704
24703
  });
24705
24704
  return /* @__PURE__ */ S(oM, {
24706
24705
  scope: t,
24707
- triggerId: et(),
24706
+ triggerId: tt(),
24708
24707
  triggerRef: c,
24709
- contentId: et(),
24708
+ contentId: tt(),
24710
24709
  open: d,
24711
24710
  onOpenChange: f,
24712
24711
  onOpenToggle: ne(
@@ -24725,7 +24724,7 @@ const VO = fO, BO = O2, jO = mO, UO = bO, WO = N2, HO = $O, GO = gf, YO = yO, qO
24725
24724
  modal: s
24726
24725
  }), r));
24727
24726
  }, iM = "DropdownMenuTrigger", sM = /* @__PURE__ */ B((e, t) => {
24728
- const { __scopeDropdownMenu: r, disabled: n = !1, ...o } = e, a = W2(iM, r), i = Je(r);
24727
+ const { __scopeDropdownMenu: r, disabled: n = !1, ...o } = e, a = W2(iM, r), i = Qe(r);
24729
24728
  return /* @__PURE__ */ S(BO, E({
24730
24729
  asChild: !0
24731
24730
  }, i), /* @__PURE__ */ S(me.button, E({
@@ -24754,10 +24753,10 @@ const VO = fO, BO = O2, jO = mO, UO = bO, WO = N2, HO = $O, GO = gf, YO = yO, qO
24754
24753
  })
24755
24754
  })));
24756
24755
  }), lM = (e) => {
24757
- const { __scopeDropdownMenu: t, ...r } = e, n = Je(t);
24756
+ const { __scopeDropdownMenu: t, ...r } = e, n = Qe(t);
24758
24757
  return /* @__PURE__ */ S(jO, E({}, n, r));
24759
24758
  }, cM = "DropdownMenuContent", dM = /* @__PURE__ */ B((e, t) => {
24760
- const { __scopeDropdownMenu: r, ...n } = e, o = W2(cM, r), a = Je(r), i = L(!1);
24759
+ const { __scopeDropdownMenu: r, ...n } = e, o = W2(cM, r), a = Qe(r), i = L(!1);
24761
24760
  return /* @__PURE__ */ S(UO, E({
24762
24761
  id: o.contentId,
24763
24762
  "aria-labelledby": o.triggerId
@@ -24781,52 +24780,52 @@ const VO = fO, BO = O2, jO = mO, UO = bO, WO = N2, HO = $O, GO = gf, YO = yO, qO
24781
24780
  }
24782
24781
  }));
24783
24782
  }), uM = /* @__PURE__ */ B((e, t) => {
24784
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24783
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24785
24784
  return /* @__PURE__ */ S(WO, E({}, o, n, {
24786
24785
  ref: t
24787
24786
  }));
24788
24787
  }), fM = /* @__PURE__ */ B((e, t) => {
24789
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24788
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24790
24789
  return /* @__PURE__ */ S(HO, E({}, o, n, {
24791
24790
  ref: t
24792
24791
  }));
24793
24792
  }), pM = /* @__PURE__ */ B((e, t) => {
24794
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24793
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24795
24794
  return /* @__PURE__ */ S(GO, E({}, o, n, {
24796
24795
  ref: t
24797
24796
  }));
24798
24797
  }), mM = /* @__PURE__ */ B((e, t) => {
24799
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24798
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24800
24799
  return /* @__PURE__ */ S(YO, E({}, o, n, {
24801
24800
  ref: t
24802
24801
  }));
24803
24802
  }), hM = /* @__PURE__ */ B((e, t) => {
24804
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24803
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24805
24804
  return /* @__PURE__ */ S(qO, E({}, o, n, {
24806
24805
  ref: t
24807
24806
  }));
24808
24807
  }), bM = /* @__PURE__ */ B((e, t) => {
24809
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24808
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24810
24809
  return /* @__PURE__ */ S(ZO, E({}, o, n, {
24811
24810
  ref: t
24812
24811
  }));
24813
24812
  }), gM = /* @__PURE__ */ B((e, t) => {
24814
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24813
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24815
24814
  return /* @__PURE__ */ S(XO, E({}, o, n, {
24816
24815
  ref: t
24817
24816
  }));
24818
24817
  }), vM = /* @__PURE__ */ B((e, t) => {
24819
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24818
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24820
24819
  return /* @__PURE__ */ S(JO, E({}, o, n, {
24821
24820
  ref: t
24822
24821
  }));
24823
24822
  }), $M = /* @__PURE__ */ B((e, t) => {
24824
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24823
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24825
24824
  return /* @__PURE__ */ S(QO, E({}, o, n, {
24826
24825
  ref: t
24827
24826
  }));
24828
24827
  }), yM = (e) => {
24829
- const { __scopeDropdownMenu: t, children: r, open: n, onOpenChange: o, defaultOpen: a } = e, i = Je(t), [s = !1, l] = Ve({
24828
+ const { __scopeDropdownMenu: t, children: r, open: n, onOpenChange: o, defaultOpen: a } = e, i = Qe(t), [s = !1, l] = Ve({
24830
24829
  prop: n,
24831
24830
  defaultProp: a,
24832
24831
  onChange: o
@@ -24836,12 +24835,12 @@ const VO = fO, BO = O2, jO = mO, UO = bO, WO = N2, HO = $O, GO = gf, YO = yO, qO
24836
24835
  onOpenChange: l
24837
24836
  }), r);
24838
24837
  }, _M = /* @__PURE__ */ B((e, t) => {
24839
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24838
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24840
24839
  return /* @__PURE__ */ S(tM, E({}, o, n, {
24841
24840
  ref: t
24842
24841
  }));
24843
24842
  }), xM = /* @__PURE__ */ B((e, t) => {
24844
- const { __scopeDropdownMenu: r, ...n } = e, o = Je(r);
24843
+ const { __scopeDropdownMenu: r, ...n } = e, o = Qe(r);
24845
24844
  return /* @__PURE__ */ S(rM, E({}, o, n, {
24846
24845
  ref: t,
24847
24846
  style: {
@@ -27054,7 +27053,7 @@ const ch = (e, t, r, n = []) => {
27054
27053
  );
27055
27054
  }, [m, l, M]), J(() => M, []);
27056
27055
  const R = ne(() => f && typeof f == "string" ? /* @__PURE__ */ x(
27057
- rt,
27056
+ Xe,
27058
27057
  {
27059
27058
  bold: !0,
27060
27059
  size: "medium",
@@ -27125,11 +27124,12 @@ const _F = O.div`
27125
27124
  background-color: ${u.color_deprecated_fill_inverse_enabled};
27126
27125
  border-radius: ${u.border_radius_400};
27127
27126
 
27128
- &:focus-visible {
27129
- --input-border-color: ${u.color_black};
27130
- background-color: ${u.color_deprecated_overlay_secondary_enabled};
27131
- outline: 1px solid ${u.color_black};
27132
- }
27127
+ // TODO: Get focus border working
27128
+ // &:focus {
27129
+ // --input-border-color: ${u.color_black};
27130
+ // background-color: ${u.color_deprecated_overlay_secondary_enabled};
27131
+ // outline: 1px solid ${u.color_black};
27132
+ // }
27133
27133
 
27134
27134
  width: 100%;
27135
27135
  `;
@@ -27158,7 +27158,7 @@ function Dj({
27158
27158
  (p) => !(p.type === "literal" && p.text === " ")
27159
27159
  ).map((p, m) => /* @__PURE__ */ x(b_, { segment: p, state: i }, m)) });
27160
27160
  return /* @__PURE__ */ oe(g_, { children: [
27161
- /* @__PURE__ */ x("span", { ...l, children: n.label }),
27161
+ /* @__PURE__ */ x(Xe, { ...l, mb: u.spacing_100, children: n.label }),
27162
27162
  d
27163
27163
  ] });
27164
27164
  }
@@ -27172,7 +27172,7 @@ const xF = O(Zr)`
27172
27172
 
27173
27173
  margin-top: ${u.spacing_100};
27174
27174
  `, wF = ({ label: e, value: t, truncate: r = !1 }) => /* @__PURE__ */ oe(Re, { role: "group", title: e, children: [
27175
- /* @__PURE__ */ x(rt, { htmlFor: `labeled-text-${e}`, color: u.color_gray_52, size: "medium", bold: !0, title: e, "aria-label": e, children: e }),
27175
+ /* @__PURE__ */ x(Xe, { htmlFor: `labeled-text-${e}`, color: u.color_gray_52, size: "medium", bold: !0, title: e, "aria-label": e, children: e }),
27176
27176
  /* @__PURE__ */ x(xF, { id: `labeled-text-${e}`, title: typeof t == "string" ? t : e, "aria-label": typeof t == "string" ? t : e, truncate: r, children: t })
27177
27177
  ] }), Sj = wF;
27178
27178
  function DF(e, t, r) {
@@ -27424,7 +27424,7 @@ const TF = O.span`
27424
27424
  n
27425
27425
  ),
27426
27426
  children: [
27427
- c ? /* @__PURE__ */ oe(rt, { ...$, mb: u.spacing_100, children: [
27427
+ c ? /* @__PURE__ */ oe(Xe, { ...$, mb: u.spacing_100, children: [
27428
27428
  c,
27429
27429
  f ? /* @__PURE__ */ x($n, { icon: p, children: f }) : null
27430
27430
  ] }) : null,
@@ -27729,7 +27729,7 @@ const Pj = Object.assign(bo, {
27729
27729
  case "secondary":
27730
27730
  return UF;
27731
27731
  }
27732
- }, HF = O(Xe)`
27732
+ }, HF = O(Je)`
27733
27733
  border-radius: ${u.border_radius_800};
27734
27734
  ${({ size: e }) => BF(e)}
27735
27735
  ${({ variant: e }) => WF(e)}
@@ -31431,7 +31431,7 @@ const QK = O.div`
31431
31431
  g
31432
31432
  );
31433
31433
  return /* @__PURE__ */ oe(vn, { children: [
31434
- /* @__PURE__ */ x(rt, { ...$, srOnly: c, mb: c ? u.spacing_100 : void 0, children: r }),
31434
+ /* @__PURE__ */ x(Xe, { ...$, srOnly: c, mb: c ? u.spacing_100 : void 0, children: r }),
31435
31435
  /* @__PURE__ */ oe(QK, { children: [
31436
31436
  /* @__PURE__ */ x(w5, {}),
31437
31437
  /* @__PURE__ */ x(
@@ -31671,7 +31671,7 @@ ${({ lineHeight: e, fontSize: t }) => h_({
31671
31671
  function Fj(e) {
31672
31672
  const t = iV(e), { placeholder: r = "Select...", hideLabel: n, showCaret: o = !0 } = e, a = Z.useRef(null), { labelProps: i, triggerProps: s, valueProps: l, menuProps: c, errorMessageProps: d } = nV(e, t, a), { buttonProps: f } = po(s, a), { focusProps: p, isFocusVisible: m } = bn();
31673
31673
  return /* @__PURE__ */ oe(vn, { children: [
31674
- e.label ? /* @__PURE__ */ oe(rt, { ...i, srOnly: n, mb: u.spacing_100, children: [
31674
+ e.label ? /* @__PURE__ */ oe(Xe, { ...i, srOnly: n, mb: u.spacing_100, onClick: () => t.open(), children: [
31675
31675
  e.label,
31676
31676
  e.tooltipContent ? /* @__PURE__ */ x($n, { icon: e.tooltipIcon, children: e.tooltipContent }) : null
31677
31677
  ] }) : null,
@@ -31863,7 +31863,7 @@ const sD = "Tabs", [DV, zj] = je(sD, [
31863
31863
  });
31864
31864
  return /* @__PURE__ */ S(SV, {
31865
31865
  scope: r,
31866
- baseId: et(),
31866
+ baseId: tt(),
31867
31867
  value: f,
31868
31868
  onValueChange: p,
31869
31869
  orientation: i,
@@ -32844,7 +32844,7 @@ export {
32844
32844
  $n as IconTooltip,
32845
32845
  yF as InlineEdit,
32846
32846
  Fw as Item,
32847
- rt as Label,
32847
+ Xe as Label,
32848
32848
  Sj as LabeledText,
32849
32849
  AB as Modal,
32850
32850
  EF as MultiSelect,