@mt-gloss/ui 0.1.81 → 0.1.82
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-Cq_l7clO.js → BaseAsyncButton-BE4m1Eff.js} +25 -25
- package/COMMITS-BcbOliuF.js +223 -0
- package/{Expandable-Deyl6mWK.js → Expandable-8IsJX0iR.js} +174 -174
- package/{UIContext-DP6JGCto.js → UIContext-C7m-9sGv.js} +69 -69
- package/catalog.js +53 -53
- package/composites-panels.d.ts +12 -0
- package/composites-panels.js +13 -0
- package/index.d.ts +2 -0
- package/index.js +35 -24
- package/internals.js +3 -3
- package/lib/composites/panels/PanelChrome.d.ts +7 -0
- package/lib/composites/panels/PanelHost.d.ts +19 -0
- package/lib/composites/panels/PanelProvider.d.ts +6 -0
- package/lib/composites/panels/coordinator/COMMITS.d.ts +2 -0
- package/lib/composites/panels/coordinator/coordinator.d.ts +3 -0
- package/lib/composites/panels/coordinator/deriveSurfaceState.d.ts +2 -0
- package/lib/composites/panels/coordinator/types.d.ts +84 -0
- package/lib/composites/panels/hooks/usePanelContext.d.ts +4 -0
- package/lib/composites/panels/hooks/usePanelCoordinator.d.ts +8 -0
- package/lib/composites/panels/index.d.ts +21 -0
- package/package.json +12 -1
- package/ui.css +1 -1
- package/lib/primitives/dashboard/MetricCard/__tests__/_testSupport/gridHoverListeners.d.ts +0 -29
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test-only duplicate of
|
|
3
|
-
* reptime-cloud/react-dashboard/app/components/MetricCards/gridHoverListeners.ts
|
|
4
|
-
*
|
|
5
|
-
* Phase 19.2 Plan 19.2-03 Task 3 — the production helper lives in the reptime
|
|
6
|
-
* consumer repo because the grid-level pointerover listener wiring is reptime-
|
|
7
|
-
* scoped (MetricCardGrid is not part of @mt-gloss/ui). For the NYQUIST-10
|
|
8
|
-
* invariant runner to mount + exercise the listener inside gloss-ui's jsdom
|
|
9
|
-
* test environment, we mirror the helper here.
|
|
10
|
-
*
|
|
11
|
-
* RULE: This file MUST stay byte-for-byte equivalent in behavior to the reptime
|
|
12
|
-
* source. When the reptime helper changes (debounce semantics, drag freeze,
|
|
13
|
-
* disabled filter), update this copy as well. The file exists ONLY to support
|
|
14
|
-
* the `hoveredCardId.invariant.test.tsx` harness — do NOT import it from any
|
|
15
|
-
* production gloss file.
|
|
16
|
-
*
|
|
17
|
-
* If gloss-ui ever ships a MetricCardGrid primitive of its own, promote the
|
|
18
|
-
* helper to a shared location and retire both copies.
|
|
19
|
-
*/
|
|
20
|
-
export declare const HOVER_IDLE_DEBOUNCE_MS = 100;
|
|
21
|
-
export interface InstallGridHoverListenersOptions {
|
|
22
|
-
onHoveredCardIdChange: (nextId: string | null) => void;
|
|
23
|
-
draggedCardIdRef: {
|
|
24
|
-
current: string | null;
|
|
25
|
-
};
|
|
26
|
-
debounceMs?: number;
|
|
27
|
-
isDisabledCard?: (el: Element) => boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare function installGridHoverListeners(root: HTMLElement, options: InstallGridHoverListenersOptions): () => void;
|