@mt-gloss/ui 0.0.48 → 0.1.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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
2
  import { f as p, b as B, al as g, h as f } from "./UIContext-C3E-k7HI.js";
3
- import b, { useEffect as h } from "react";
4
- const N = function(l) {
3
+ import b, { useEffect as _ } from "react";
4
+ const h = function(l) {
5
5
  const { as: e, htmlFor: s, className: t, ...n } = l;
6
6
  return /* @__PURE__ */ o(
7
7
  p,
@@ -13,8 +13,8 @@ const N = function(l) {
13
13
  }
14
14
  );
15
15
  };
16
- N.displayName = "BaseLabel";
17
- const _ = function(l) {
16
+ h.displayName = "BaseLabel";
17
+ const N = function(l) {
18
18
  const { as: e, className: s, ...t } = l;
19
19
  return /* @__PURE__ */ o(
20
20
  p,
@@ -26,7 +26,7 @@ const _ = function(l) {
26
26
  }
27
27
  );
28
28
  };
29
- _.displayName = "BaseValue";
29
+ N.displayName = "BaseValue";
30
30
  function v({
31
31
  definition: a,
32
32
  open: l,
@@ -36,7 +36,7 @@ function v({
36
36
  children: n
37
37
  }) {
38
38
  const c = a?.position ?? "top-right", r = a?.duration ?? 0;
39
- h(() => {
39
+ _(() => {
40
40
  if (!l || r <= 0 || !e) return;
41
41
  const y = setTimeout(() => {
42
42
  e();
@@ -170,8 +170,8 @@ function T(a) {
170
170
  }
171
171
  T.displayName = "BaseAsyncButton";
172
172
  export {
173
- N as B,
174
- _ as a,
173
+ h as B,
174
+ N as a,
175
175
  v as b,
176
176
  C as c,
177
177
  $ as d,
package/catalog.js CHANGED
@@ -2,7 +2,7 @@ import { y as I, N, A as B, F as x, J as F, z as D, D as A, E as M, H as v, O as
2
2
  import { a3 as Ne, b6 as Be, az as xe, ah as Fe, Z as De, an as Ae, bR as Me, K as ve, a8 as Re, bn as He, P as We, B as _e, bi as ke, bh as ze, bw 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 Ze, m as Ue, aF as qe, ab as Je, b8 as Qe, a9 as Ke, bo 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, bI 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 Ta, bO as Sa, ao as Pa, t as Ca, bp as Ia, aS as Na, b3 as Ba, aj as xa, aK as Fa, ag as Da, al as Aa, au as Ma, bT as va, aR as Ra, bS 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 Za, bd as Ua, be as qa, i as Ja, b9 as Qa, bm as Ka, S as Ya, bk as es, av as as, bb as ss, bP as ts, ak as rs, bQ as os, s as is, bJ as ns, l as ls, f as ds, q as cs, _ as gs, a7 as ms, bj as ps, bv as us, bC as bs, aB as fs, a6 as hs, aP as ys, aE as Ts, ay as Ss, aM as Ps, aJ as Cs, a1 as Is } from "./Expandable-CsLVYNv3.js";
3
3
  import { jsx as c, jsxs as S } 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
- import { B as j, a as Z, e as U, c as q, d as J, b as Q } from "./BaseAsyncButton-nFOdhiBv.js";
5
+ import { B as j, a as Z, e as U, c as q, d as J, b as Q } from "./BaseAsyncButton-usdApZUY.js";
6
6
  import { formatDateRange as Bs, resolveEvent as xs, resolvePreset as Fs, smartDateFormat as Ds } from "@mt-gloss/utils/dateInterpretation";
7
7
  const K = {
8
8
  page: {
package/index.d.ts CHANGED
@@ -325,6 +325,8 @@ export { SortableZones, useSortableZones } from './lib/wrappers/SortableZones';
325
325
  export type { SortableZonesProps, ZoneConfig, ZoneKey, UseSortableZonesConfig, SortableZonesState } from './lib/wrappers/SortableZones';
326
326
  export { QuickConfigPanel } from './lib/composites/dashboard/QuickConfigPanel';
327
327
  export type { QuickConfigSection, QuickConfigPanelProps } from './lib/composites/dashboard/QuickConfigPanel';
328
+ export { BottomToolbar, SectionDots } from './lib/composites/dashboard/BottomToolbar';
329
+ export type { BottomToolbarProps, SectionDotsProps } from './lib/composites/dashboard/BottomToolbar';
328
330
  export { PinToMetric } from './lib/composites/data/PinToMetric';
329
331
  export type { PinToMetricProps, AggregationType } from './lib/composites/data/PinToMetric';
330
332
  /** @deprecated Use `import * as UI from '@mt-gloss/ui/catalog'` instead */