@mt-gloss/ui 0.1.143 → 0.1.145

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.
@@ -5,7 +5,7 @@ import * as Y from "react";
5
5
  import I, { useState as x, useRef as Q, createContext as be, useContext as ve, useMemo as ce, useEffect as z, useCallback as O, useLayoutEffect as Ie } from "react";
6
6
  import { SPIN_COMMIT_REDUCED as Re, SPIN_COMMIT_FULL as $e } from "@mt-gloss/motion";
7
7
  import { useMotionValue as de, animate as K, motion as Fe } from "framer-motion";
8
- import { b as ze, M as ue } from "./TimeframeQuickBar-BhKzqcZC.js";
8
+ import { b as ze, M as ue } from "./TimeframeQuickBar-BexFJUgk.js";
9
9
  import { useSensors as He, useSensor as pe, PointerSensor as Ue, KeyboardSensor as Be, DndContext as Ve, closestCenter as Ye } from "@dnd-kit/core";
10
10
  import { sortableKeyboardCoordinates as Ke, SortableContext as qe, horizontalListSortingStrategy as Ge, arrayMove as Qe, useSortable as We } from "@dnd-kit/sortable";
11
11
  import { CSS as je } from "@dnd-kit/utilities";
@@ -15,7 +15,7 @@ function Ft() {
15
15
  const t = e.state.activeTrigger;
16
16
  return t?.kind === "card-overflow" ? t.cardId : null;
17
17
  }
18
- function _e({ span: e, rotating: t = !0, children: s }) {
18
+ function Ce({ span: e, rotating: t = !0, children: s }) {
19
19
  const r = ["clone-card", `span-${e}`, t ? "rotating" : ""].filter(Boolean).join(" "), n = s != null ? "full" : "fallback";
20
20
  return /* @__PURE__ */ a("div", { className: r, "data-clone-fidelity": n, children: s });
21
21
  }
@@ -52,7 +52,7 @@ function et({
52
52
  b.forEach((w) => w.stop());
53
53
  };
54
54
  }
55
- const C = { ...$e, duration: h }, N = K(u, [0, 360 * g], C), y = K(o, [1, 1.03, 1], C), P = [N, y];
55
+ const C = { ...$e, duration: h }, S = K(u, [0, 360 * g], C), y = K(o, [1, 1.03, 1], C), P = [S, y];
56
56
  if (m) {
57
57
  const b = K(
58
58
  m,
@@ -61,7 +61,7 @@ function et({
61
61
  );
62
62
  P.push(b);
63
63
  }
64
- return N.then(() => {
64
+ return S.then(() => {
65
65
  s?.();
66
66
  }), () => {
67
67
  P.forEach((b) => b.stop());
@@ -166,7 +166,7 @@ function at({
166
166
  ), n = (p) => {
167
167
  const { active: h, over: g } = p;
168
168
  if (!g || h.id === g.id) return;
169
- const m = e.findIndex((N) => N === h.id), C = e.findIndex((N) => N === g.id);
169
+ const m = e.findIndex((S) => S === h.id), C = e.findIndex((S) => S === g.id);
170
170
  m === -1 || C === -1 || t(Qe([...e], m, C));
171
171
  }, c = e.length === 1, u = (p) => {
172
172
  c || t(e.filter((h) => h !== p));
@@ -213,10 +213,10 @@ function Ht({
213
213
  pinnedTimeframe: l,
214
214
  naturalSlots: i
215
215
  }) {
216
- const d = L(), p = d?.state.activeTrigger, h = p?.kind === "card-overflow" ? p.cardId : null, g = se(), m = p?.span, C = t ?? m ?? 1, N = c[0] ?? "timeframe", [y, P] = I.useState(u ?? N);
216
+ const d = L(), p = d?.state.activeTrigger, h = p?.kind === "card-overflow" ? p.cardId : null, g = se(), m = p?.span, C = t ?? m ?? 1, S = c[0] ?? "timeframe", [y, P] = I.useState(u ?? S);
217
217
  I.useEffect(() => {
218
- c.includes(y) || P(N);
219
- }, [c, y, N]);
218
+ c.includes(y) || P(S);
219
+ }, [c, y, S]);
220
220
  const w = h != null ? d?.state?.bufferByCard?.[h]?.changes ?? {} : {}, $ = typeof w.timeframe == "string" ? w.timeframe : typeof o?.timeframe == "string" ? o.timeframe : "30d", F = Array.isArray(w.slots) ? w.slots : Array.isArray(o?.slots) ? o.slots : st, [T, k] = I.useState(null), W = (D) => {
221
221
  h == null || d == null || d.dispatch({ type: "SET_BUFFER_VALUE", cardId: h, key: "timeframe", value: D });
222
222
  }, j = (D) => {
@@ -225,7 +225,7 @@ function Ht({
225
225
  h == null || d == null || d.dispatch({ type: "SET_BUFFER_VALUE", cardId: h, key: "slots", value: D });
226
226
  }, U = d?.state.isDirty ?? !1, B = h, f = () => {
227
227
  B != null && d?.dispatch({ type: "CLEAR_BUFFER", cardId: B });
228
- }, [S, E] = I.useState(0), A = () => {
228
+ }, [N, E] = I.useState(0), A = () => {
229
229
  E((D) => D + 1), d?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" });
230
230
  }, M = I.useCallback(() => {
231
231
  }, []);
@@ -239,7 +239,7 @@ function Ht({
239
239
  // gesture has a transform host that does NOT disturb the inner
240
240
  // CloneCard's existing sway / span-N geometry. Counter is owned here
241
241
  // (Option 3); reptime sees no spinTrigger plumbing.
242
- /* @__PURE__ */ a(et, { spinTrigger: S, onSpinComplete: M, children: /* @__PURE__ */ a(_e, { span: C, rotating: !g, children: n ?? /* @__PURE__ */ _(ye, { children: [
242
+ /* @__PURE__ */ a(et, { spinTrigger: N, onSpinComplete: M, children: /* @__PURE__ */ a(Ce, { span: C, rotating: !g, children: n ?? /* @__PURE__ */ _(ye, { children: [
243
243
  /* @__PURE__ */ a("div", { style: { fontSize: 9, textTransform: "uppercase", letterSpacing: "0.06em", color: "#9ca3af", marginBottom: 6 }, children: s }),
244
244
  /* @__PURE__ */ a("div", { style: { fontSize: 22, fontWeight: 700, color: "#111827", lineHeight: 1 }, children: r })
245
245
  ] }) }) })
@@ -286,22 +286,19 @@ function Ht({
286
286
  tabIndex: 0,
287
287
  className: "settings-shell__tabpanel",
288
288
  children: [
289
- y === "timeframe" && /* @__PURE__ */ _("div", { className: "settings-shell__field settings-shell__field--timeframe", children: [
290
- /* @__PURE__ */ a("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Timeframe" }),
291
- /* @__PURE__ */ a(
292
- ze,
293
- {
294
- selectedPreset: $,
295
- onSelect: W,
296
- pinnedPreset: l ?? "30d",
297
- onPin: j,
298
- openGroup: T,
299
- onOpenChange: (D, Ae) => k(Ae ? D : null),
300
- disableHover: !0,
301
- showCalendarEntry: !1
302
- }
303
- )
304
- ] }),
289
+ y === "timeframe" && /* @__PURE__ */ a("div", { className: "settings-shell__field settings-shell__field--timeframe", children: /* @__PURE__ */ a(
290
+ ze,
291
+ {
292
+ selectedPreset: $,
293
+ onSelect: W,
294
+ pinnedPreset: l ?? "30d",
295
+ onPin: j,
296
+ openGroup: T,
297
+ onOpenChange: (D, Ae) => k(Ae ? D : null),
298
+ disableHover: !0,
299
+ showCalendarEntry: !1
300
+ }
301
+ ) }),
305
302
  y === "slots" && /* @__PURE__ */ a(at, { value: F, onChange: ie, naturalSlots: i })
306
303
  ]
307
304
  }
@@ -321,7 +318,7 @@ function rt({
321
318
  {
322
319
  variant: "with-stage",
323
320
  onClose: () => n?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }),
324
- stage: /* @__PURE__ */ a(_e, { span: t ?? o ?? 1, rotating: !u, children: s }),
321
+ stage: /* @__PURE__ */ a(Ce, { span: t ?? o ?? 1, rotating: !u, children: s }),
325
322
  children: /* @__PURE__ */ _(
326
323
  "div",
327
324
  {
@@ -338,14 +335,14 @@ function rt({
338
335
  );
339
336
  }
340
337
  rt.displayName = "MetricInfoShell";
341
- const Ce = [
338
+ const _e = [
342
339
  "Revenue",
343
340
  "Order flow",
344
341
  "Rep performance",
345
342
  "Brand portfolio",
346
343
  "Account coverage",
347
344
  "Commission"
348
- ], Ne = "Revenue", Se = {
345
+ ], Se = "Revenue", Ne = {
349
346
  Revenue: {
350
347
  headline: "Are we hitting our number?",
351
348
  helper: "Top-line sales, growth, average order value, and pace-to-plan signals."
@@ -660,7 +657,7 @@ function Te({
660
657
  activeLens: t,
661
658
  onLensChange: s,
662
659
  variant: r = "pills",
663
- lensMeta: n = Se
660
+ lensMeta: n = Ne
664
661
  }) {
665
662
  return r === "pills" ? /* @__PURE__ */ a("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ a("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((c) => {
666
663
  const u = c === t, o = n[c], l = ["cat-pill"];
@@ -873,19 +870,19 @@ function it() {
873
870
  }
874
871
  function Bt({
875
872
  isOpen: e,
876
- lenses: t = Ce,
877
- defaultLens: s = Ne,
873
+ lenses: t = _e,
874
+ defaultLens: s = Se,
878
875
  tilesByLens: r = Pe,
879
- lensMeta: n = Se,
876
+ lensMeta: n = Ne,
880
877
  renderTile: c,
881
878
  onAdd: u
882
879
  }) {
883
- const o = L(), [l, i] = x(s), [d, p] = x(null), [h, g] = x(null), [m, C] = x(""), N = r[l] ?? { primary: [] }, y = n[l], P = ce(
884
- () => N.primary.filter((T) => me(T, m)),
885
- [N.primary, m]
880
+ const o = L(), [l, i] = x(s), [d, p] = x(null), [h, g] = x(null), [m, C] = x(""), S = r[l] ?? { primary: [] }, y = n[l], P = ce(
881
+ () => S.primary.filter((T) => me(T, m)),
882
+ [S.primary, m]
886
883
  ), b = ce(
887
- () => (N.secondary ?? []).filter((T) => me(T, m)),
888
- [N.secondary, m]
884
+ () => (S.secondary ?? []).filter((T) => me(T, m)),
885
+ [S.secondary, m]
889
886
  ), w = () => {
890
887
  d != null && u?.(d), o?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" });
891
888
  }, $ = () => o?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), F = d == null;
@@ -984,12 +981,12 @@ function ct() {
984
981
  function Vt({
985
982
  isOpen: e,
986
983
  replacingLabel: t,
987
- lenses: s = Ce,
988
- defaultLens: r = Ne,
984
+ lenses: s = _e,
985
+ defaultLens: r = Se,
989
986
  tilesByLens: n = Pe,
990
987
  renderTile: c
991
988
  }) {
992
- const u = L(), [o, l] = x(r), [i, d] = x(null), [p, h] = x(null), g = n[o] ?? { primary: [] }, m = [...g.primary, ...g.secondary ?? []], C = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), N = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), y = i == null;
989
+ const u = L(), [o, l] = x(r), [i, d] = x(null), [p, h] = x(null), g = n[o] ?? { primary: [] }, m = [...g.primary, ...g.secondary ?? []], C = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), S = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), y = i == null;
993
990
  return /* @__PURE__ */ a(
994
991
  oe.Provider,
995
992
  {
@@ -999,7 +996,7 @@ function Vt({
999
996
  {
1000
997
  variant: "no-stage",
1001
998
  title: "Replace metric",
1002
- onClose: N,
999
+ onClose: S,
1003
1000
  footer: {
1004
1001
  left: /* @__PURE__ */ a(ct, {}),
1005
1002
  right: /* @__PURE__ */ a(
@@ -1188,35 +1185,35 @@ function Yt({
1188
1185
  onCreatePage: l,
1189
1186
  onSwitchPage: i
1190
1187
  }) {
1191
- const d = L(), [p, h] = x(() => [...t]), g = O((f, S) => {
1192
- h((E) => E.map((A) => A.id === f ? { ...A, name: S } : A));
1188
+ const d = L(), [p, h] = x(() => [...t]), g = O((f, N) => {
1189
+ h((E) => E.map((A) => A.id === f ? { ...A, name: N } : A));
1193
1190
  }, []), m = O((f) => {
1194
- h((S) => {
1195
- const E = S.find((V) => V.id === f);
1196
- if (!E) return S;
1191
+ h((N) => {
1192
+ const E = N.find((V) => V.id === f);
1193
+ if (!E) return N;
1197
1194
  const A = {
1198
1195
  id: `${E.id}-copy-${Date.now()}`,
1199
1196
  name: `${E.name} copy`,
1200
1197
  active: !1
1201
- }, M = S.findIndex((V) => V.id === f);
1202
- return [...S.slice(0, M + 1), A, ...S.slice(M + 1)];
1198
+ }, M = N.findIndex((V) => V.id === f);
1199
+ return [...N.slice(0, M + 1), A, ...N.slice(M + 1)];
1203
1200
  });
1204
1201
  }, []), C = O((f) => {
1205
- h((S) => S.filter((E) => E.id !== f));
1206
- }, []), N = O((f) => {
1207
- h((S) => {
1208
- const E = new Map(S.map((M) => [M.id, M])), A = f.map((M) => E.get(M)).filter(Boolean);
1209
- return A.length === S.length ? A : S;
1202
+ h((N) => N.filter((E) => E.id !== f));
1203
+ }, []), S = O((f) => {
1204
+ h((N) => {
1205
+ const E = new Map(N.map((M) => [M.id, M])), A = f.map((M) => E.get(M)).filter(Boolean);
1206
+ return A.length === N.length ? A : N;
1210
1207
  });
1211
- }, []), y = s != null, P = y ? s : p, b = r != null ? P.map((f) => ({ ...f, active: f.id === r })) : [...P], w = n ?? (y ? void 0 : g), $ = c ?? (y ? void 0 : m), F = u ?? (y ? void 0 : C), T = o ?? (y ? void 0 : N), k = O(
1208
+ }, []), y = s != null, P = y ? s : p, b = r != null ? P.map((f) => ({ ...f, active: f.id === r })) : [...P], w = n ?? (y ? void 0 : g), $ = c ?? (y ? void 0 : m), F = u ?? (y ? void 0 : C), T = o ?? (y ? void 0 : S), k = O(
1212
1209
  (f) => {
1213
1210
  y || h(f);
1214
1211
  },
1215
1212
  [y]
1216
1213
  ), W = O(
1217
1214
  (f) => {
1218
- const S = f[0]?.items.map((E) => E.id) ?? [];
1219
- S.length > 0 && T && T(S);
1215
+ const N = f[0]?.items.map((E) => E.id) ?? [];
1216
+ N.length > 0 && T && T(N);
1220
1217
  },
1221
1218
  [T]
1222
1219
  ), j = b.map((f) => `${f.id}:${f.name}`).join("|"), U = T != null && b.length > 1 ? /* @__PURE__ */ a(
@@ -1229,7 +1226,7 @@ function Yt({
1229
1226
  }
1230
1227
  ],
1231
1228
  onZoneChange: W,
1232
- renderZone: (f, S, E) => /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children: E }),
1229
+ renderZone: (f, N, E) => /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children: E }),
1233
1230
  renderItem: (f) => /* @__PURE__ */ a(
1234
1231
  he,
1235
1232
  {
@@ -1370,7 +1367,7 @@ function vt(e, t) {
1370
1367
  function q(e) {
1371
1368
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger });
1372
1369
  }
1373
- function _t(e) {
1370
+ function Ct(e) {
1374
1371
  const { mountEl: t, chromeEl: s, reducedMotion: r, onAssert: n } = e;
1375
1372
  if (t == null || s == null) {
1376
1373
  q(e), n?.({ branch: "slide-fallback-no-dom", timestamp: Date.now() });
@@ -1398,7 +1395,7 @@ function _t(e) {
1398
1395
  { once: !0 }
1399
1396
  );
1400
1397
  }
1401
- function Ct(e) {
1398
+ function _t(e) {
1402
1399
  const { mountEl: t, onAssert: s } = e;
1403
1400
  if (t == null) {
1404
1401
  e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), setTimeout(() => q(e), ge), s?.({ branch: "handoff-fallback-no-mount", timestamp: Date.now() });
@@ -1413,7 +1410,7 @@ function Ct(e) {
1413
1410
  };
1414
1411
  t.addEventListener("transitionend", u), e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), c = setTimeout(o, r + bt);
1415
1412
  }
1416
- function Nt(e) {
1413
+ function St(e) {
1417
1414
  const { state: t, onAssert: s } = e;
1418
1415
  if (t.activePanelId && t.isDirty) {
1419
1416
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), s?.({ branch: "blocked-dirty", timestamp: Date.now() });
@@ -1421,16 +1418,16 @@ function Nt(e) {
1421
1418
  }
1422
1419
  const r = fe(t.activeTrigger), n = fe(e.trigger);
1423
1420
  if (!!t.activePanelId && r != null && r === n) {
1424
- _t(e);
1421
+ Ct(e);
1425
1422
  return;
1426
1423
  }
1427
1424
  if (t.activePanelId) {
1428
- Ct(e);
1425
+ _t(e);
1429
1426
  return;
1430
1427
  }
1431
1428
  q(e), s?.({ branch: "fresh-open", timestamp: Date.now() });
1432
1429
  }
1433
- function St() {
1430
+ function Nt() {
1434
1431
  if (!(typeof window > "u"))
1435
1432
  return window.__panelsAsserter;
1436
1433
  }
@@ -1449,10 +1446,10 @@ function Qt() {
1449
1446
  chromeEl: c,
1450
1447
  reducedMotion: t,
1451
1448
  onAssert: (o) => {
1452
- St()?.recordTransition?.(o);
1449
+ Nt()?.recordTransition?.(o);
1453
1450
  }
1454
1451
  };
1455
- Nt(u);
1452
+ St(u);
1456
1453
  },
1457
1454
  [e, t]
1458
1455
  );
@@ -1569,8 +1566,8 @@ function le() {
1569
1566
  }
1570
1567
  for (const p of d)
1571
1568
  if (p.name === "stage-spin") {
1572
- const g = Array.from(p.cssRules), m = g.find((b) => b.keyText === "0%" || b.keyText === "from"), C = g.find((b) => b.keyText === "100%" || b.keyText === "to"), N = m?.style.transform ?? "", y = C?.style.transform ?? "", P = /rotateY\(\s*0(?:deg)?\s*\)/;
1573
- o = P.test(N) && P.test(y), l = `0%=${N || "n/a"} 100%=${y || "n/a"}`;
1569
+ const g = Array.from(p.cssRules), m = g.find((b) => b.keyText === "0%" || b.keyText === "from"), C = g.find((b) => b.keyText === "100%" || b.keyText === "to"), S = m?.style.transform ?? "", y = C?.style.transform ?? "", P = /rotateY\(\s*0(?:deg)?\s*\)/;
1570
+ o = P.test(S) && P.test(y), l = `0%=${S || "n/a"} 100%=${y || "n/a"}`;
1574
1571
  break;
1575
1572
  }
1576
1573
  if (l !== "absent") break;
@@ -1706,11 +1703,11 @@ export {
1706
1703
  Ut as CatalogFooter,
1707
1704
  Vt as CatalogReplaceShell,
1708
1705
  oe as CatalogStateContext,
1709
- _e as CloneCard,
1706
+ Ce as CloneCard,
1710
1707
  et as CloneStage,
1711
- Ne as MOCK_DEFAULT_LENS,
1712
- Ce as MOCK_LENSES,
1713
- Se as MOCK_LENS_META,
1708
+ Se as MOCK_DEFAULT_LENS,
1709
+ _e as MOCK_LENSES,
1710
+ Ne as MOCK_LENS_META,
1714
1711
  ut as MOCK_PAGES,
1715
1712
  Pe as MOCK_TILES_BY_LENS,
1716
1713
  rt as MetricInfoShell,
@@ -1742,7 +1739,7 @@ export {
1742
1739
  ln as initialState,
1743
1740
  fe as positionKey,
1744
1741
  cn as reducer,
1745
- Nt as transitionToPanel,
1742
+ St as transitionToPanel,
1746
1743
  re as useCatalogState,
1747
1744
  Ft as useEditingCardId,
1748
1745
  we as usePageMgmtState,
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s as U, c as j, g as Ne, u as Be } from "./COMMITS-PC2MRjv_.js";
2
2
  import { H as ir, N as lr, C as or, f as cr, P as dr, l as ur, S as mr, b as pr, k as gr, j as hr, i as fr, p as br, a as vr, r as yr, e as wr, h as _r, d as Cr } from "./COMMITS-PC2MRjv_.js";
3
- import { u as ze, C as Ge } from "./Expandable-BcXSzdgU.js";
4
- import { Q as kr, V as Sr, T as Dr, U as xr, a5 as Tr, b8 as Rr, aB as Mr, aj as Pr, $ as Ar, ap as Er, N as Fr, aa as Ir, P as Lr, B as Or, a as $r, A as Br, K as zr, bi as Gr, J as Hr, L as Wr, E as Kr, D as Vr, H as jr, F as Ur, bq as Yr, b as qr, c as Qr, O as Jr, q as Xr, af as Zr, aP as es, A as ts, K as as, J as ns, L as rs, E as ss, D as is, H as ls, F as os, b1 as cs, b4 as ds, b3 as us, b2 as ms, b5 as ps, aE as gs, a7 as hs, a6 as fs, as as bs, m as vs, o as ys, aH as ws, ad as _s, ba as Cs, ab as Ns, _ as ks, bA as Ss, bz as Ds, bB as xs, ar as Ts, aS as Rs, bc as Ms, bo as Ps, p as As, ao as Es, bu as Fs, bl as Is, a2 as Ls, at as Os, a4 as $s, bt as Bs, bJ as zs, G as Gs, f as Hs, ac as Ws, bC as Ks, aV as Vs, t as js, x as Us, I as Ys, i as qs, ay as Qs, bF as Js, M as Xs, y as Zs, W as ei, Z as ti, X as ai, Y as ni, au as ri, bH as si, bE as ii, aq as li, w as oi, aU as ci, al as di, aM as ui, ai as mi, an as pi, aw as gi, aT as hi, ae as fi, av as bi, e as vi, R as yi, l as wi, r as _i, aJ as Ci, br as Ni, bs as ki, ak as Si, ag as Di, j as xi, z as Ti, b9 as Ri, ah as Mi, bG as Pi, be as Ai, bh as Ei, bf as Fi, bg as Ii, k as Li, bb as Oi, S as $i, bj as Bi, ax as zi, bd as Gi, bI as Hi, am as Wi, v as Ki, bD as Vi, n as ji, h as Ui, s as Yi, a0 as qi, a1 as Qi, a9 as Ji, bp as Xi, bw as Zi, aC as el, aD as tl, a8 as al, aQ as nl, aR as rl, aF as sl, aG as il, aI as ll, aX as ol, aY as cl, by as dl, bx as ul, a_ as ml, a$ as pl, az as gl, aA as hl, b7 as fl, b6 as bl, b0 as vl, aN as yl, aO as wl, aZ as _l, aK as Cl, aL as Nl, d as kl, bv as Sl, bk as Dl, bm as xl, bn as Tl, aW as Rl, a3 as Ml, bK as Pl, g as Al } from "./Expandable-BcXSzdgU.js";
3
+ import { u as ze, C as Ge } from "./Expandable-D-GbTjIp.js";
4
+ import { Q as kr, V as Sr, T as Dr, U as xr, a5 as Tr, b8 as Rr, aB as Mr, aj as Pr, $ as Ar, ap as Er, N as Fr, aa as Ir, P as Lr, B as Or, a as $r, A as Br, K as zr, bi as Gr, J as Hr, L as Wr, E as Kr, D as Vr, H as jr, F as Ur, bq as Yr, b as qr, c as Qr, O as Jr, q as Xr, af as Zr, aP as es, A as ts, K as as, J as ns, L as rs, E as ss, D as is, H as ls, F as os, b1 as cs, b4 as ds, b3 as us, b2 as ms, b5 as ps, aE as gs, a7 as hs, a6 as fs, as as bs, m as vs, o as ys, aH as ws, ad as _s, ba as Cs, ab as Ns, _ as ks, bA as Ss, bz as Ds, bB as xs, ar as Ts, aS as Rs, bc as Ms, bo as Ps, p as As, ao as Es, bu as Fs, bl as Is, a2 as Ls, at as Os, a4 as $s, bt as Bs, bJ as zs, G as Gs, f as Hs, ac as Ws, bC as Ks, aV as Vs, t as js, x as Us, I as Ys, i as qs, ay as Qs, bF as Js, M as Xs, y as Zs, W as ei, Z as ti, X as ai, Y as ni, au as ri, bH as si, bE as ii, aq as li, w as oi, aU as ci, al as di, aM as ui, ai as mi, an as pi, aw as gi, aT as hi, ae as fi, av as bi, e as vi, R as yi, l as wi, r as _i, aJ as Ci, br as Ni, bs as ki, ak as Si, ag as Di, j as xi, z as Ti, b9 as Ri, ah as Mi, bG as Pi, be as Ai, bh as Ei, bf as Fi, bg as Ii, k as Li, bb as Oi, S as $i, bj as Bi, ax as zi, bd as Gi, bI as Hi, am as Wi, v as Ki, bD as Vi, n as ji, h as Ui, s as Yi, a0 as qi, a1 as Qi, a9 as Ji, bp as Xi, bw as Zi, aC as el, aD as tl, a8 as al, aQ as nl, aR as rl, aF as sl, aG as il, aI as ll, aX as ol, aY as cl, by as dl, bx as ul, a_ as ml, a$ as pl, az as gl, aA as hl, b7 as fl, b6 as bl, b0 as vl, aN as yl, aO as wl, aZ as _l, aK as Cl, aL as Nl, d as kl, bv as Sl, bk as Dl, bm as xl, bn as Tl, aW as Rl, a3 as Ml, bK as Pl, g as Al } from "./Expandable-D-GbTjIp.js";
5
5
  import { jsxs as f, jsx as n, Fragment as I } from "react/jsx-runtime";
6
6
  import * as O from "react";
7
7
  import K, { useRef as M, useEffect as E, useState as A, useCallback as C, useId as ke, useMemo as ce, useLayoutEffect as Se, createContext as He, useContext as We } from "react";
@@ -9,7 +9,7 @@ import { motion as B, useMotionValue as Ke, AnimatePresence as Ve, useDragContro
9
9
  import { createPortal as De } from "react-dom";
10
10
  import { B as Ue, U as de } from "./UIContext-CGQI_KJk.js";
11
11
  import { a as Fl, u as Il } from "./UIContext-CGQI_KJk.js";
12
- import { B as Ol, D as $l, E as Bl, M as zl, O as Gl, a as Hl, S as Wl, b as Kl, T as Vl, e as jl } from "./TimeframeQuickBar-BhKzqcZC.js";
12
+ import { B as Ol, D as $l, E as Bl, M as zl, O as Gl, a as Hl, S as Wl, b as Kl, T as Vl, e as jl } from "./TimeframeQuickBar-BexFJUgk.js";
13
13
  import { DEFAULT_MARKET_PRESETS as Yl, DEFAULT_PINNED as ql, PERIOD_OPTIONS as Ql, ROLLING_OPTIONS as Jl, TODAY_PRESET as Xl, findPreset as Zl, formatDateRange as eo, formatMarketDates as to, formatTrend as ao, formatValue as no, generateMarketId as ro, getAllPresets as so, getDateRangeForPreset as io, getPresetLabel as lo, isInRange as oo, isMarketActive as co, isSameDay as uo, normalizePresetId as mo, toUppercasePresetId as po } from "@mt-gloss/utils";
14
14
  import Ye from "@mui/icons-material/AccessTime";
15
15
  import qe from "@mui/icons-material/Tune";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/ui",
3
- "version": "0.1.143",
3
+ "version": "0.1.145",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"