@mt-gloss/ui 0.0.30 → 0.0.31

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.
@@ -1,7 +1,7 @@
1
- import { jsxs as d, jsx as e, Fragment as je } from "react/jsx-runtime";
1
+ import { jsxs as d, jsx as e, Fragment as Ge } from "react/jsx-runtime";
2
2
  import q, { useId as Le, useState as O, useCallback as S, createContext as Yt, useContext as Ut, useRef as se, useEffect as oe, useMemo as ee, useSyncExternalStore as as, useReducer as ss, forwardRef as os, useImperativeHandle as is } from "react";
3
3
  import { S as J, E as Xe, C as B, h as ls, R as Se, k as cs, l as ds, m as us, aj as ms, P as ps, s as fs, ac as gs, ak as ve, Q as hs, V as qn, W as Zn, X as bs, Y as ys, _ as vs, $ as _s, a0 as xs, a1 as Ns, a4 as Ss, a5 as Cs, a6 as ws, ab as ks, a7 as Ds, a8 as Is, O as Ts, N as Es, i as Ms, j as Ps, a2 as Bs, a3 as Rs, n as zs, t as As, y as $s, v as Fs, U as bt, z as Os, A as Ls, w as Hs, D as Ws, x as Gs, ah as Vs, ai as js, F as Ks, G as Ys, H as Us, I as Xs, J as qs, K as Zs, L as Js, M as Qs, c as he, ad as Ht, e as Jn, d as kt, g as qe, Z as Qn, B as eo, af as to, b as ea, T as Ae, ae as ro, ag as _n } from "./UIContext-C3E-k7HI.js";
4
- import { formatTrend as no, isStatusModeEnabled as ao, formatValue as ir, getValueFontSize as xn, getDateRangeForPreset as Ve, formatDateRangeSmart as mt, isInRange as so, isSameDay as Qt, formatMarketDates as oo, DEFAULT_MARKET_PRESETS as er, isMarketActive as xt, detectPreset as tr, getDateRangeDisplayInfo as $t, toUppercasePresetId as rr, generateMarketId as io, ROLLING_OPTIONS as Nr, PERIOD_OPTIONS as Sr } from "@mt-gloss/utils";
4
+ import { formatTrend as no, isStatusModeEnabled as ao, formatValue as ir, getValueFontSize as xn, getDateRangeForPreset as je, formatDateRangeSmart as mt, isInRange as so, isSameDay as Qt, formatMarketDates as oo, DEFAULT_MARKET_PRESETS as er, isMarketActive as xt, detectPreset as tr, getDateRangeDisplayInfo as $t, toUppercasePresetId as rr, generateMarketId as io, ROLLING_OPTIONS as Nr, PERIOD_OPTIONS as Sr } from "@mt-gloss/utils";
5
5
  import { useGridApiRef as lo, DataGridPro as co } from "@mui/x-data-grid-pro";
6
6
  import { Chip as Wt, Tooltip as ft, MenuItem as Gt, Menu as uo, Box as ae, Popper as mo, Paper as po, MenuList as fo, ListItemText as go, IconButton as Ue, Select as Nn, Typography as Ie, Divider as ho, Button as rt, Collapse as bo, Popover as yo, Dialog as vo, DialogTitle as _o, DialogContent as xo, TextField as nr, DialogActions as No, Tabs as So, Tab as Co } from "@mui/material";
7
7
  import wo from "@mui/icons-material/Person";
@@ -1573,7 +1573,7 @@ function El(r) {
1573
1573
  children: o,
1574
1574
  ...c
1575
1575
  } = r;
1576
- if ({ ...c }, i) return /* @__PURE__ */ e(je, { children: o });
1576
+ if ({ ...c }, i) return /* @__PURE__ */ e(Ge, { children: o });
1577
1577
  const l = {
1578
1578
  ...Tl,
1579
1579
  ...Dl[t],
@@ -1583,7 +1583,7 @@ function El(r) {
1583
1583
  `gloss-preset-tooltip--${t}`,
1584
1584
  `gloss-preset-tooltip--${n}`
1585
1585
  ].join(" ");
1586
- return /* @__PURE__ */ d(je, { children: [
1586
+ return /* @__PURE__ */ d(Ge, { children: [
1587
1587
  o,
1588
1588
  /* @__PURE__ */ e(Es, { definition: l, className: u, placement: s, children: a })
1589
1589
  ] });
@@ -3712,7 +3712,7 @@ const Ir = {
3712
3712
  m === "critical" ? "gloss-threshold-critical" : "",
3713
3713
  m === "critical" ? "gloss-threshold-pulse" : ""
3714
3714
  ].filter(Boolean).join(" ");
3715
- return /* @__PURE__ */ d(je, { children: [
3715
+ return /* @__PURE__ */ d(Ge, { children: [
3716
3716
  m !== "none" && /* @__PURE__ */ e("div", { className: V }),
3717
3717
  m === "warn" && /* @__PURE__ */ e("span", { className: "gloss-threshold-icon gloss-threshold-icon--warn", children: /* @__PURE__ */ e(Rc, {}) }),
3718
3718
  m === "critical" && /* @__PURE__ */ e("span", { className: "gloss-threshold-icon gloss-threshold-icon--critical", children: /* @__PURE__ */ e(zc, {}) }),
@@ -4191,7 +4191,7 @@ const ka = (r) => {
4191
4191
  me(ie);
4192
4192
  },
4193
4193
  [me]
4194
- ), [Ge, Ne] = O(null);
4194
+ ), [Ve, Ne] = O(null);
4195
4195
  return /* @__PURE__ */ e(Jo, { children: /* @__PURE__ */ e(
4196
4196
  Ct.div,
4197
4197
  {
@@ -4270,7 +4270,7 @@ const ka = (r) => {
4270
4270
  style: ce,
4271
4271
  children: [
4272
4272
  D.map((ie) => {
4273
- const xe = we[ie.id] ?? "none", Fe = Ge === ie.id, He = ie.isActive && ie.activeIcon || xe === "check";
4273
+ const xe = we[ie.id] ?? "none", Fe = Ve === ie.id, He = ie.isActive && ie.activeIcon || xe === "check";
4274
4274
  return /* @__PURE__ */ e(
4275
4275
  "button",
4276
4276
  {
@@ -4641,14 +4641,14 @@ const at = function({
4641
4641
  oe(() => {
4642
4642
  !Z && ce.current && (ce.current = !1, pe.current = setTimeout(() => K(!1), 180));
4643
4643
  }, [Z]);
4644
- const _e = $ || Z, Ge = [
4644
+ const _e = $ || Z, Ve = [
4645
4645
  u ? "gloss-card-shell--accent-ring" : ""
4646
4646
  ].filter(Boolean).join(" ") || void 0;
4647
4647
  return /* @__PURE__ */ d(
4648
4648
  "div",
4649
4649
  {
4650
4650
  ref: de,
4651
- className: Ge,
4651
+ className: Ve,
4652
4652
  style: {
4653
4653
  position: "relative",
4654
4654
  height: "100%",
@@ -4890,15 +4890,15 @@ const sd = function(t) {
4890
4890
  () => H.slice(0, Math.min(H.length, P)),
4891
4891
  [H, P]
4892
4892
  ), V = c?.[C];
4893
- return /* @__PURE__ */ d(
4894
- "div",
4895
- {
4896
- ref: z,
4897
- "data-stacked-capacity": P,
4898
- style: { position: "relative", width: "100%", height: "100%" },
4899
- children: [
4900
- V && V.length >= 2 && /* @__PURE__ */ e(fr, { data: V, color: l, isStale: p }),
4901
- /* @__PURE__ */ d(
4893
+ return /* @__PURE__ */ d(Ge, { children: [
4894
+ V && V.length >= 2 && /* @__PURE__ */ e(fr, { data: V, color: l, isStale: p }),
4895
+ /* @__PURE__ */ e(
4896
+ "div",
4897
+ {
4898
+ ref: z,
4899
+ "data-stacked-capacity": P,
4900
+ style: { position: "relative", width: "100%", height: "100%" },
4901
+ children: /* @__PURE__ */ d(
4902
4902
  he,
4903
4903
  {
4904
4904
  definition: { display: "flex", direction: "column" },
@@ -5001,9 +5001,9 @@ const sd = function(t) {
5001
5001
  ]
5002
5002
  }
5003
5003
  )
5004
- ]
5005
- }
5006
- );
5004
+ }
5005
+ )
5006
+ ] });
5007
5007
  };
5008
5008
  sd.displayName = "StackedGroupCard";
5009
5009
  function od(r) {
@@ -6028,8 +6028,8 @@ const Td = q.memo(({
6028
6028
  }), [_.dimension]);
6029
6029
  const pe = se({ id: null, name: null }), ce = se({ id: null, name: null });
6030
6030
  oe(() => {
6031
- const me = r.entity?.id ?? null, _e = r.entity?.name ?? null, Ge = r.byItem?.id ?? null, Ne = r.byItem?.name ?? null;
6032
- (me !== pe.current.id || _e !== pe.current.name) && (pe.current = { id: me, name: _e }, me && _e ? (D(_e), I(!0), L("")) : D(null)), (Ge !== ce.current.id || Ne !== ce.current.name) && (ce.current = { id: Ge, name: Ne }, Ge && Ne ? (E(Ne), w(!0), R("")) : E(null));
6031
+ const me = r.entity?.id ?? null, _e = r.entity?.name ?? null, Ve = r.byItem?.id ?? null, Ne = r.byItem?.name ?? null;
6032
+ (me !== pe.current.id || _e !== pe.current.name) && (pe.current = { id: me, name: _e }, me && _e ? (D(_e), I(!0), L("")) : D(null)), (Ve !== ce.current.id || Ne !== ce.current.name) && (ce.current = { id: Ve, name: Ne }, Ve && Ne ? (E(Ne), w(!0), R("")) : E(null));
6033
6033
  }, [r.entity?.id, r.entity?.name, r.byItem?.id, r.byItem?.name]);
6034
6034
  const be = S((me, _e) => {
6035
6035
  me === "metric" ? n(_e) : me === "entity" ? (t(_e), _e !== "items" && w(!1)) : me === "dimension" && a(_e);
@@ -6765,7 +6765,7 @@ const Wr = ({
6765
6765
  const u = se(null), m = c, p = t.find((I) => I.id === n), f = !!p, y = p || t.find((I) => I.id === i) || t.find((I) => I.id === a) || t[0], b = ee(() => {
6766
6766
  if (!y || !["7d", "30d", "60d", "90d", "mtd", "qtd", "ytd", "lytd"].includes(y.id))
6767
6767
  return "";
6768
- const { start: g, end: E } = Ve(y.id);
6768
+ const { start: g, end: E } = je(y.id);
6769
6769
  return mt(g, E, /* @__PURE__ */ new Date());
6770
6770
  }, [y]), _ = S(() => {
6771
6771
  l && l(r, !0);
@@ -7312,7 +7312,7 @@ const Od = {
7312
7312
  ...u
7313
7313
  }), [u]), C = se(null), [T, w] = O(null), [k, I] = O("calendar"), [g, E] = O(null), [x, D] = O(null), N = se(null), [R, z] = O(() => h.lastPreset || "mtd"), [L, P] = O(null), [H, Y] = O(null), [V, M] = O(null), [W, j] = O(null), [G, $] = O(null), [K, Z] = O(() => n ? _ ?? h.compareEnabled ?? !1 : !1), U = _ ?? K, X = S((A) => {
7314
7314
  Z(A), v?.(A);
7315
- }, [v]), [te, pe] = O("A"), [ce, be] = O(() => h.lastPresetB ?? null), [de, ne] = O(null), [ge, Me] = O(null), [Ce, we] = O(null), [Ye, Te] = O(null), [me, _e] = O(null), [Ge, Ne] = O(null), [ie, xe] = O(null), [Fe, He] = O(null), [ke, Be] = O(null), [yt, Re] = O(null), [lt, Ze] = O(null), [Pe, vt] = O(1), [rn, ct] = O(!1), [Wa, Ga] = O(void 0), ze = V !== null ? V : R, Tt = V !== null ? W : L, dt = V !== null ? G : H, st = Ce !== null ? Ce : ce, Et = Ce !== null ? Ye : de, Mt = Ce !== null ? me : ge, ot = ke !== null ? ke : Ge, Pt = ke !== null ? yt : ie, Bt = ke !== null ? lt : Fe, nn = V !== null && (V !== R || W !== L || G !== H), [fe, hr] = O(() => {
7315
+ }, [v]), [te, pe] = O("A"), [ce, be] = O(() => h.lastPresetB ?? null), [de, ne] = O(null), [ge, Me] = O(null), [Ce, we] = O(null), [Ye, Te] = O(null), [me, _e] = O(null), [Ve, Ne] = O(null), [ie, xe] = O(null), [Fe, He] = O(null), [ke, Be] = O(null), [yt, Re] = O(null), [lt, Ze] = O(null), [Pe, vt] = O(1), [rn, ct] = O(!1), [Wa, Ga] = O(void 0), ze = V !== null ? V : R, Tt = V !== null ? W : L, dt = V !== null ? G : H, st = Ce !== null ? Ce : ce, Et = Ce !== null ? Ye : de, Mt = Ce !== null ? me : ge, ot = ke !== null ? ke : Ve, Pt = ke !== null ? yt : ie, Bt = ke !== null ? lt : Fe, nn = V !== null && (V !== R || W !== L || G !== H), [fe, hr] = O(() => {
7316
7316
  const A = p || er, F = f || [], Q = new Set(F.map((ue) => ue.id)), re = A.filter((ue) => !Q.has(ue.id)).map((ue) => ({ ...ue, active: xt(ue) })), le = F.map((ue) => ({
7317
7317
  ...ue,
7318
7318
  active: xt(ue)
@@ -7372,7 +7372,7 @@ const Od = {
7372
7372
  Q.setHours(0, 0, 0, 0);
7373
7373
  let re = null;
7374
7374
  if (h.lastPreset) {
7375
- const le = Ve(h.lastPreset, A), ue = new Date(le.start);
7375
+ const le = je(h.lastPreset, A), ue = new Date(le.start);
7376
7376
  ue.setHours(0, 0, 0, 0);
7377
7377
  const $e = new Date(le.end);
7378
7378
  $e.setHours(0, 0, 0, 0), F.getTime() === ue.getTime() && Q.getTime() === $e.getTime() && (re = h.lastPreset);
@@ -7392,7 +7392,7 @@ const Od = {
7392
7392
  if (re)
7393
7393
  A = re.startDate, F = re.endDate;
7394
7394
  else {
7395
- const le = Ve(R);
7395
+ const le = je(R);
7396
7396
  A = le.start, F = le.end;
7397
7397
  }
7398
7398
  }
@@ -7407,7 +7407,7 @@ const Od = {
7407
7407
  if (re)
7408
7408
  A = re.startDate, F = re.endDate;
7409
7409
  else {
7410
- const le = Ve(ce);
7410
+ const le = je(ce);
7411
7411
  A = le.start, F = le.end;
7412
7412
  }
7413
7413
  }
@@ -7417,7 +7417,7 @@ const Od = {
7417
7417
  if (F)
7418
7418
  return mt(F.startDate, F.endDate, /* @__PURE__ */ new Date());
7419
7419
  if (A.includes(R)) {
7420
- const { start: Q, end: re } = Ve(R);
7420
+ const { start: Q, end: re } = je(R);
7421
7421
  return mt(Q, re, /* @__PURE__ */ new Date());
7422
7422
  }
7423
7423
  return "";
@@ -7430,7 +7430,7 @@ const Od = {
7430
7430
  if (le)
7431
7431
  A = le.startDate, F = le.endDate;
7432
7432
  else {
7433
- const ue = Ve(ze);
7433
+ const ue = je(ze);
7434
7434
  A = ue.start, F = ue.end;
7435
7435
  }
7436
7436
  }
@@ -7447,7 +7447,7 @@ const Od = {
7447
7447
  if (le)
7448
7448
  A = le.startDate, F = le.endDate;
7449
7449
  else {
7450
- const ue = Ve(st);
7450
+ const ue = je(st);
7451
7451
  A = ue.start, F = ue.end;
7452
7452
  }
7453
7453
  }
@@ -7463,7 +7463,7 @@ const Od = {
7463
7463
  if (le)
7464
7464
  A = le.startDate, F = le.endDate;
7465
7465
  else {
7466
- const ue = Ve(ot);
7466
+ const ue = je(ot);
7467
7467
  A = ue.start, F = ue.end;
7468
7468
  }
7469
7469
  }
@@ -7471,8 +7471,8 @@ const Od = {
7471
7471
  return Q.preset ? `${Q.preset.label} (${re})` : re;
7472
7472
  }, [U, Pe, ot, Pt, Bt, fe]);
7473
7473
  const Ya = S((A) => {
7474
- M(R), j(L), $(H), U && (we(ce), Te(de), _e(ge), Pe >= 3 && (Be(Ge), Re(ie), Ze(Fe))), w(A.currentTarget);
7475
- }, [R, L, H, U, Pe, ce, de, ge, Ge, ie, Fe]), dn = S((A, F, Q) => {
7474
+ M(R), j(L), $(H), U && (we(ce), Te(de), _e(ge), Pe >= 3 && (Be(Ve), Re(ie), Ze(Fe))), w(A.currentTarget);
7475
+ }, [R, L, H, U, Pe, ce, de, ge, Ve, ie, Fe]), dn = S((A, F, Q) => {
7476
7476
  const re = [A, F];
7477
7477
  Q && (re.shortcutId = rr(Q)), t(re);
7478
7478
  }, [t]), Zt = S((A, F, Q) => {
@@ -7481,7 +7481,7 @@ const Od = {
7481
7481
  const re = fe.find(($e) => $e.id === A);
7482
7482
  if (re)
7483
7483
  return [re.startDate, re.endDate];
7484
- const { start: le, end: ue } = Ve(A);
7484
+ const { start: le, end: ue } = je(A);
7485
7485
  return [le, ue];
7486
7486
  }, [fe]), tt = S((A) => {
7487
7487
  m && m({ ...h, ...A });
@@ -7551,8 +7551,8 @@ const Od = {
7551
7551
  }, [U, te]), At = S((A) => {
7552
7552
  if (!fe.find((re) => re.id === A)) return;
7553
7553
  const Q = h.pinnedPreset || "mtd";
7554
- U && te === "C" ? (Be((ke !== null ? ke : Ge) === A ? Q : A), Re(null), Ze(null)) : U && te === "B" ? (we((Ce !== null ? Ce : ce) === A ? Q : A), Te(null), _e(null)) : (M((V !== null ? V : R) === A ? Q : A), j(null), $(null));
7555
- }, [fe, U, te, h.pinnedPreset, V, R, Ce, ce, ke, Ge]), qa = S((A, F) => {
7554
+ U && te === "C" ? (Be((ke !== null ? ke : Ve) === A ? Q : A), Re(null), Ze(null)) : U && te === "B" ? (we((Ce !== null ? Ce : ce) === A ? Q : A), Te(null), _e(null)) : (M((V !== null ? V : R) === A ? Q : A), j(null), $(null));
7555
+ }, [fe, U, te, h.pinnedPreset, V, R, Ce, ce, ke, Ve]), qa = S((A, F) => {
7556
7556
  if (U && te === "C")
7557
7557
  if (Re(A), F) {
7558
7558
  Ze(F);
@@ -7587,7 +7587,7 @@ const Od = {
7587
7587
  A = dt;
7588
7588
  else {
7589
7589
  const F = fe.find((Q) => Q.id === ze);
7590
- F ? A = F.endDate : A = Ve(ze).end;
7590
+ F ? A = F.endDate : A = je(ze).end;
7591
7591
  }
7592
7592
  I("calendar"), Ga(new Date(A));
7593
7593
  }, [ze, dt, fe]);
@@ -7658,7 +7658,7 @@ const Od = {
7658
7658
  if (ue)
7659
7659
  re = ue.startDate, le = ue.endDate;
7660
7660
  else {
7661
- const $e = Ve(A || "mtd");
7661
+ const $e = je(A || "mtd");
7662
7662
  re = $e.start, le = $e.end;
7663
7663
  }
7664
7664
  }
@@ -7682,7 +7682,7 @@ const Od = {
7682
7682
  /* @__PURE__ */ e(Ie, { className: "range-card__label", children: A }),
7683
7683
  /* @__PURE__ */ e(ae, { className: `range-card__indicator ${F ? "range-card__indicator--active" : ""}` })
7684
7684
  ] }),
7685
- vn ? /* @__PURE__ */ e(Ie, { className: "range-card__preset", sx: { color: "#9ca3af", fontStyle: "italic" }, children: "Select a date range" }) : /* @__PURE__ */ d(je, { children: [
7685
+ vn ? /* @__PURE__ */ e(Ie, { className: "range-card__preset", sx: { color: "#9ca3af", fontStyle: "italic" }, children: "Select a date range" }) : /* @__PURE__ */ d(Ge, { children: [
7686
7686
  /* @__PURE__ */ e(Ie, { className: "range-card__preset", children: Q }),
7687
7687
  /* @__PURE__ */ e(Ie, { className: "range-card__dates", children: re })
7688
7688
  ] })
@@ -7762,7 +7762,7 @@ const Od = {
7762
7762
  }
7763
7763
  ) : yn,
7764
7764
  (() => {
7765
- const A = /* @__PURE__ */ d(je, { children: [
7765
+ const A = /* @__PURE__ */ d(Ge, { children: [
7766
7766
  s && /* @__PURE__ */ d(
7767
7767
  ae,
7768
7768
  {
@@ -7942,8 +7942,8 @@ const Od = {
7942
7942
  return /* @__PURE__ */ e(
7943
7943
  Ea,
7944
7944
  {
7945
- selectedStart: F === "custom" && Q ? Q : fe.find((le) => le.id === F)?.startDate ?? Ve(F || "mtd").start,
7946
- selectedEnd: F === "custom" ? re : fe.find((le) => le.id === F)?.endDate ?? Ve(F || "mtd").end,
7945
+ selectedStart: F === "custom" && Q ? Q : fe.find((le) => le.id === F)?.startDate ?? je(F || "mtd").start,
7946
+ selectedEnd: F === "custom" ? re : fe.find((le) => le.id === F)?.endDate ?? je(F || "mtd").end,
7947
7947
  onSelect: qa,
7948
7948
  marketDates: fe,
7949
7949
  size: a,
@@ -7964,7 +7964,7 @@ const Od = {
7964
7964
  },
7965
7965
  F.id
7966
7966
  )),
7967
- qt.length > 0 && /* @__PURE__ */ d(je, { children: [
7967
+ qt.length > 0 && /* @__PURE__ */ d(Ge, { children: [
7968
7968
  /* @__PURE__ */ e(
7969
7969
  rt,
7970
7970
  {
@@ -8107,7 +8107,7 @@ const Od = {
8107
8107
  ]
8108
8108
  }
8109
8109
  ),
8110
- Pe === 3 && /* @__PURE__ */ d(je, { children: [
8110
+ Pe === 3 && /* @__PURE__ */ d(Ge, { children: [
8111
8111
  " vs ",
8112
8112
  /* @__PURE__ */ d(
8113
8113
  ae,
@@ -8277,7 +8277,7 @@ const Od = {
8277
8277
  title: "Click to view in calendar",
8278
8278
  children: (() => {
8279
8279
  const F = cn.match(/^(.+?)(\s*\(.+\))$/);
8280
- return F && F[1] && F[1].length > 14 ? /* @__PURE__ */ d(je, { children: [
8280
+ return F && F[1] && F[1].length > 14 ? /* @__PURE__ */ d(Ge, { children: [
8281
8281
  F[1],
8282
8282
  /* @__PURE__ */ e("br", {}),
8283
8283
  F[2]
@@ -8357,7 +8357,7 @@ const Od = {
8357
8357
  onClose: () => E(null),
8358
8358
  maxWidth: "xs",
8359
8359
  fullWidth: !0,
8360
- children: g && /* @__PURE__ */ d(je, { children: [
8360
+ children: g && /* @__PURE__ */ d(Ge, { children: [
8361
8361
  /* @__PURE__ */ d(_o, { sx: { py: 1.5, px: 2, display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
8362
8362
  /* @__PURE__ */ e(Ie, { variant: "subtitle1", fontWeight: 600, children: g.isNew ? "Add Market Event" : "Edit Market Event" }),
8363
8363
  /* @__PURE__ */ e(Ue, { size: "small", onClick: () => E(null), children: /* @__PURE__ */ e(wt, { fontSize: "small" }) })
@@ -10668,7 +10668,7 @@ function Aa(r) {
10668
10668
  Z.preventDefault(), K || z(W.value);
10669
10669
  },
10670
10670
  onMouseEnter: () => I(j),
10671
- children: i ? i(W, G) : /* @__PURE__ */ d(je, { children: [
10671
+ children: i ? i(W, G) : /* @__PURE__ */ d(Ge, { children: [
10672
10672
  /* @__PURE__ */ e(
10673
10673
  "span",
10674
10674
  {
@@ -11019,7 +11019,7 @@ function ku({
11019
11019
  }, b = () => {
11020
11020
  i((_) => !_);
11021
11021
  };
11022
- return /* @__PURE__ */ d(je, { children: [
11022
+ return /* @__PURE__ */ d(Ge, { children: [
11023
11023
  /* @__PURE__ */ e(
11024
11024
  "button",
11025
11025
  {
@@ -11078,7 +11078,7 @@ const Du = {
11078
11078
  };
11079
11079
  function Zr({ open: r, onDismiss: t, size: n = "md", children: a }) {
11080
11080
  const s = Du[n];
11081
- return /* @__PURE__ */ d(je, { children: [
11081
+ return /* @__PURE__ */ d(Ge, { children: [
11082
11082
  r && /* @__PURE__ */ e("div", { className: "gloss-container-dialog__backdrop", "data-density": "default" }),
11083
11083
  /* @__PURE__ */ e(
11084
11084
  ea,
@@ -11380,7 +11380,7 @@ function $a(r) {
11380
11380
  ] }, v.key);
11381
11381
  }) }),
11382
11382
  /* @__PURE__ */ e("div", { className: "gloss-stepper__content", children: o(n) }),
11383
- /* @__PURE__ */ e("div", { className: "gloss-stepper__actions", children: c ? c(n, { goNext: f, goBack: y, isFirst: m, isLast: p }) : /* @__PURE__ */ d(je, { children: [
11383
+ /* @__PURE__ */ e("div", { className: "gloss-stepper__actions", children: c ? c(n, { goNext: f, goBack: y, isFirst: m, isLast: p }) : /* @__PURE__ */ d(Ge, { children: [
11384
11384
  /* @__PURE__ */ e(
11385
11385
  De,
11386
11386
  {
package/catalog.js CHANGED
@@ -1,5 +1,5 @@
1
- import { y as I, N, A as B, F as x, J as D, z as F, D as A, E as M, H as v, O as R, Q as H, T as W, a$ as _, U as k, b0 as z, b1 as E, b2 as L, V as $, W as G, X as O } from "./Expandable-DlgWemwK.js";
2
- import { a3 as Ne, b6 as Be, az as xe, ah as De, Z as Fe, an as Ae, bS as Me, K as ve, a8 as Re, bo as He, P as We, B as _e, bi as ke, bh as ze, bx as Ee, b as Le, C as $e, L as Ge, o as Oe, ad as we, aN as Ve, aC as Xe, aq as je, k as Ue, m as Ze, aF as qe, ab as Je, b8 as Ke, a9 as Qe, bp as Ye, Y as ea, ap as aa, aQ as sa, ba as ta, n as ra, am as oa, a0 as ia, ar as na, a2 as la, aa as da, bJ as ca, aT as ga, r as ma, I as pa, g as ua, aw as ba, M as fa, w as ha, as as ya, bg as Sa, bP as Ta, ao as Pa, t as Ca, bq as Ia, aS as Na, b3 as Ba, aj as xa, aK as Da, ag as Fa, al as Aa, au as Ma, bU as va, aR as Ra, bT as Ha, ac as Wa, c as _a, R as ka, j as za, p as Ea, aH as La, ai as $a, ae as Ga, h as Oa, x as wa, b7 as Va, af as Xa, bc as ja, bf as Ua, bd as Za, be as qa, i as Ja, b9 as Ka, bn as Qa, S as Ya, bk as es, av as as, bb as ss, bQ as ts, ak as rs, bR as os, s as is, bK as ns, l as ls, f as ds, q as cs, _ as gs, a7 as ms, bj as ps, bw as us, bD as bs, aB as fs, a6 as hs, aP as ys, aE as Ss, ay as Ts, aM as Ps, aJ as Cs, a1 as Is, bm as Ns } from "./Expandable-DlgWemwK.js";
1
+ import { y as I, N, A as B, F as x, J as D, z as F, D as A, E as M, H as v, O as R, Q as H, T as W, a$ as _, U as k, b0 as z, b1 as E, b2 as L, V as $, W as G, X as O } from "./Expandable-CeO_XZ-S.js";
2
+ import { a3 as Ne, b6 as Be, az as xe, ah as De, Z as Fe, an as Ae, bS as Me, K as ve, a8 as Re, bo as He, P as We, B as _e, bi as ke, bh as ze, bx as Ee, b as Le, C as $e, L as Ge, o as Oe, ad as we, aN as Ve, aC as Xe, aq as je, k as Ue, m as Ze, aF as qe, ab as Je, b8 as Ke, a9 as Qe, bp as Ye, Y as ea, ap as aa, aQ as sa, ba as ta, n as ra, am as oa, a0 as ia, ar as na, a2 as la, aa as da, bJ as ca, aT as ga, r as ma, I as pa, g as ua, aw as ba, M as fa, w as ha, as as ya, bg as Sa, bP as Ta, ao as Pa, t as Ca, bq as Ia, aS as Na, b3 as Ba, aj as xa, aK as Da, ag as Fa, al as Aa, au as Ma, bU as va, aR as Ra, bT as Ha, ac as Wa, c as _a, R as ka, j as za, p as Ea, aH as La, ai as $a, ae as Ga, h as Oa, x as wa, b7 as Va, af as Xa, bc as ja, bf as Ua, bd as Za, be as qa, i as Ja, b9 as Ka, bn as Qa, S as Ya, bk as es, av as as, bb as ss, bQ as ts, ak as rs, bR as os, s as is, bK as ns, l as ls, f as ds, q as cs, _ as gs, a7 as ms, bj as ps, bw as us, bD as bs, aB as fs, a6 as hs, aP as ys, aE as Ss, ay as Ts, aM as Ps, aJ as Cs, a1 as Is, bm as Ns } from "./Expandable-CeO_XZ-S.js";
3
3
  import { jsx as c, jsxs as T } from "react/jsx-runtime";
4
4
  import { C as e, T as a, ae as w, S as s, E as u, R as m, e as V, Z as X } from "./UIContext-C3E-k7HI.js";
5
5
  import { B as j, a as U, e as Z, c as q, d as J, b as K } from "./BaseAsyncButton-nFOdhiBv.js";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { N as Na, T as Sa, O as ka, Q as xa, a3 as Ta, b6 as Ia, az as Ra, ah as _a, Z as Ma, an as Pa, K as Fa, a8 as Ea, bo as Oa, P as Aa, B as La, a as $a, y as Ba, H as Ka, bi as Ga, F as Ha, J as za, A as Va, z as Wa, bh as Za, E as Ua, D as Ya, bx as qa, b as ja, C as Qa, L as Xa, o as Ja, ad as en, aN as tn, y as an, H as nn, F as rn, J as on, A as sn, z as ln, E as dn, D as cn, a$ as un, b2 as mn, b1 as pn, b0 as gn, b3 as bn, aC as fn, a5 as hn, a4 as vn, aq as yn, k as wn, m as Cn, aF as Dn, ab as Nn, b8 as Sn, a9 as kn, bp as xn, Y as Tn, bH as In, bG as Rn, bI as _n, ap as Mn, aQ as Pn, ba as Fn, bM as En, bv as On, n as An, am as Ln, bB as $n, bs as Bn, a0 as Kn, ar as Gn, a2 as Hn, bA as zn, G as Vn, d as Wn, aa as Zn, bJ as Un, aT as Yn, r as qn, v as jn, I as Qn, g as Xn, aw as Jn, bN as er, M as tr, w as ar, U as nr, X as rr, V as or, W as sr, as as ir, bg as lr, bP as dr, bL as cr, ao as ur, t as mr, bq as pr, aS as gr, aj as br, aK as fr, ag as hr, al as vr, au as yr, aR as wr, ac as Cr, at as Dr, c as Nr, R as Sr, j as kr, p as xr, aH as Tr, by as Ir, bz as Rr, ai as _r, ae as Mr, h as Pr, x as Fr, b7 as Er, af as Or, bO as Ar, bc as Lr, bf as $r, bd as Br, be as Kr, i as Gr, b9 as Hr, bn as zr, S as Vr, bk as Wr, bl as Zr, av as Ur, bb as Yr, bQ as qr, ak as jr, s as Qr, bK as Xr, l as Jr, f as eo, q as to, _ as ao, $ as no, a7 as ro, bj as oo, bw as so, bD as io, aA as lo, aB as co, a6 as uo, aO as mo, aP as po, aD as go, aE as bo, aG as fo, aV as ho, aW as vo, bF as yo, bE as wo, aY as Co, aZ as Do, ax as No, ay as So, b5 as ko, b4 as xo, a_ as To, aL as Io, aM as Ro, aX as _o, aI as Mo, aJ as Po, u as Fo, bC as Eo, br as Oo, bt as Ao, bu as Lo, aU as $o, a1 as Bo, e as Ko, bm as Go } from "./Expandable-DlgWemwK.js";
1
+ import { N as Na, T as Sa, O as ka, Q as xa, a3 as Ta, b6 as Ia, az as Ra, ah as _a, Z as Ma, an as Pa, K as Fa, a8 as Ea, bo as Oa, P as Aa, B as La, a as $a, y as Ba, H as Ka, bi as Ga, F as Ha, J as za, A as Va, z as Wa, bh as Za, E as Ua, D as Ya, bx as qa, b as ja, C as Qa, L as Xa, o as Ja, ad as en, aN as tn, y as an, H as nn, F as rn, J as on, A as sn, z as ln, E as dn, D as cn, a$ as un, b2 as mn, b1 as pn, b0 as gn, b3 as bn, aC as fn, a5 as hn, a4 as vn, aq as yn, k as wn, m as Cn, aF as Dn, ab as Nn, b8 as Sn, a9 as kn, bp as xn, Y as Tn, bH as In, bG as Rn, bI as _n, ap as Mn, aQ as Pn, ba as Fn, bM as En, bv as On, n as An, am as Ln, bB as $n, bs as Bn, a0 as Kn, ar as Gn, a2 as Hn, bA as zn, G as Vn, d as Wn, aa as Zn, bJ as Un, aT as Yn, r as qn, v as jn, I as Qn, g as Xn, aw as Jn, bN as er, M as tr, w as ar, U as nr, X as rr, V as or, W as sr, as as ir, bg as lr, bP as dr, bL as cr, ao as ur, t as mr, bq as pr, aS as gr, aj as br, aK as fr, ag as hr, al as vr, au as yr, aR as wr, ac as Cr, at as Dr, c as Nr, R as Sr, j as kr, p as xr, aH as Tr, by as Ir, bz as Rr, ai as _r, ae as Mr, h as Pr, x as Fr, b7 as Er, af as Or, bO as Ar, bc as Lr, bf as $r, bd as Br, be as Kr, i as Gr, b9 as Hr, bn as zr, S as Vr, bk as Wr, bl as Zr, av as Ur, bb as Yr, bQ as qr, ak as jr, s as Qr, bK as Xr, l as Jr, f as eo, q as to, _ as ao, $ as no, a7 as ro, bj as oo, bw as so, bD as io, aA as lo, aB as co, a6 as uo, aO as mo, aP as po, aD as go, aE as bo, aG as fo, aV as ho, aW as vo, bF as yo, bE as wo, aY as Co, aZ as Do, ax as No, ay as So, b5 as ko, b4 as xo, a_ as To, aL as Io, aM as Ro, aX as _o, aI as Mo, aJ as Po, u as Fo, bC as Eo, br as Oo, bt as Ao, bu as Lo, aU as $o, a1 as Bo, e as Ko, bm as Go } from "./Expandable-CeO_XZ-S.js";
2
2
  import { jsxs as O, jsx as g } from "react/jsx-runtime";
3
3
  import F, { useRef as M, useEffect as P, useState as E, useCallback as y, forwardRef as ve, useMemo as ee, createContext as ye, useContext as we } from "react";
4
4
  import { B as Ce, U as te } from "./UIContext-C3E-k7HI.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/ui",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"