@mt-gloss/ui 0.0.47 → 0.0.49
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/{BaseAsyncButton-nFOdhiBv.js → BaseAsyncButton-usdApZUY.js} +8 -8
- package/{Expandable-BdC9RXOI.js → Expandable-CsLVYNv3.js} +4769 -4877
- package/catalog.js +39 -40
- package/index.d.ts +2 -0
- package/index.js +1639 -1326
- package/internals.js +1 -1
- package/lib/composites/dashboard/BottomToolbar/BottomToolbar.d.ts +19 -0
- package/lib/composites/dashboard/BottomToolbar/SectionDots.d.ts +14 -0
- package/lib/composites/dashboard/BottomToolbar/index.d.ts +4 -0
- package/lib/composites/dashboard/index.d.ts +1 -0
- package/lib/facade/data-display.d.ts +0 -2
- package/lib/primitives/dashboard/DropAnchorCell/DropAnchorCell.d.ts +29 -0
- package/lib/primitives/dashboard/DropAnchorCell/index.d.ts +2 -0
- package/lib/primitives/dashboard/EmptyCellPackAffordance/EmptyCellPackAffordance.d.ts +17 -0
- package/lib/primitives/dashboard/EmptyCellPackAffordance/index.d.ts +2 -0
- package/lib/primitives/dashboard/MetricCard/CardShell.d.ts +1 -1
- package/lib/primitives/dashboard/MetricCard/__tests__/_testSupport/gridHoverListeners.d.ts +29 -0
- package/lib/primitives/dashboard/MetricCard/__tests__/nyquist-10.fixture.d.ts +93 -0
- package/lib/primitives/dashboard/MetricCard/gridInteractionPhysics.d.ts +29 -0
- package/lib/primitives/dashboard/MetricCard/index.d.ts +2 -2
- package/lib/primitives/dashboard/MetricCard/types.d.ts +15 -0
- package/lib/primitives/dashboard/MetricCard/useEdgeHoverResize.d.ts +26 -11
- package/lib/primitives/dashboard/ResizeEnvelope/ResizeEnvelope.d.ts +41 -0
- package/lib/primitives/dashboard/ResizeEnvelope/index.d.ts +2 -0
- package/lib/primitives/dashboard/SectionDivider/SectionDivider.d.ts +29 -0
- package/lib/primitives/dashboard/SectionDivider/index.d.ts +2 -0
- package/lib/primitives/dashboard/SpilloverArc/SpilloverArc.d.ts +30 -0
- package/lib/primitives/dashboard/SpilloverArc/index.d.ts +2 -0
- package/lib/primitives/dashboard/index.d.ts +5 -0
- package/lib/primitives/overlays/ActionStrip/index.d.ts +0 -2
- package/lib/primitives/overlays/ActionStrip/types.d.ts +5 -1
- package/package.json +1 -1
- package/ui.css +1 -1
- package/lib/primitives/dashboard/MetricCard/useSlideOutReveal.d.ts +0 -1
- package/lib/primitives/overlays/ActionStrip/useSlideOutReveal.d.ts +0 -47
|
@@ -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
|
|
4
|
-
const
|
|
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
|
-
|
|
17
|
-
const
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
174
|
-
|
|
173
|
+
h as B,
|
|
174
|
+
N as a,
|
|
175
175
|
v as b,
|
|
176
176
|
C as c,
|
|
177
177
|
$ as d,
|