@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.
Files changed (35) hide show
  1. package/{BaseAsyncButton-nFOdhiBv.js → BaseAsyncButton-usdApZUY.js} +8 -8
  2. package/{Expandable-BdC9RXOI.js → Expandable-CsLVYNv3.js} +4769 -4877
  3. package/catalog.js +39 -40
  4. package/index.d.ts +2 -0
  5. package/index.js +1639 -1326
  6. package/internals.js +1 -1
  7. package/lib/composites/dashboard/BottomToolbar/BottomToolbar.d.ts +19 -0
  8. package/lib/composites/dashboard/BottomToolbar/SectionDots.d.ts +14 -0
  9. package/lib/composites/dashboard/BottomToolbar/index.d.ts +4 -0
  10. package/lib/composites/dashboard/index.d.ts +1 -0
  11. package/lib/facade/data-display.d.ts +0 -2
  12. package/lib/primitives/dashboard/DropAnchorCell/DropAnchorCell.d.ts +29 -0
  13. package/lib/primitives/dashboard/DropAnchorCell/index.d.ts +2 -0
  14. package/lib/primitives/dashboard/EmptyCellPackAffordance/EmptyCellPackAffordance.d.ts +17 -0
  15. package/lib/primitives/dashboard/EmptyCellPackAffordance/index.d.ts +2 -0
  16. package/lib/primitives/dashboard/MetricCard/CardShell.d.ts +1 -1
  17. package/lib/primitives/dashboard/MetricCard/__tests__/_testSupport/gridHoverListeners.d.ts +29 -0
  18. package/lib/primitives/dashboard/MetricCard/__tests__/nyquist-10.fixture.d.ts +93 -0
  19. package/lib/primitives/dashboard/MetricCard/gridInteractionPhysics.d.ts +29 -0
  20. package/lib/primitives/dashboard/MetricCard/index.d.ts +2 -2
  21. package/lib/primitives/dashboard/MetricCard/types.d.ts +15 -0
  22. package/lib/primitives/dashboard/MetricCard/useEdgeHoverResize.d.ts +26 -11
  23. package/lib/primitives/dashboard/ResizeEnvelope/ResizeEnvelope.d.ts +41 -0
  24. package/lib/primitives/dashboard/ResizeEnvelope/index.d.ts +2 -0
  25. package/lib/primitives/dashboard/SectionDivider/SectionDivider.d.ts +29 -0
  26. package/lib/primitives/dashboard/SectionDivider/index.d.ts +2 -0
  27. package/lib/primitives/dashboard/SpilloverArc/SpilloverArc.d.ts +30 -0
  28. package/lib/primitives/dashboard/SpilloverArc/index.d.ts +2 -0
  29. package/lib/primitives/dashboard/index.d.ts +5 -0
  30. package/lib/primitives/overlays/ActionStrip/index.d.ts +0 -2
  31. package/lib/primitives/overlays/ActionStrip/types.d.ts +5 -1
  32. package/package.json +1 -1
  33. package/ui.css +1 -1
  34. package/lib/primitives/dashboard/MetricCard/useSlideOutReveal.d.ts +0 -1
  35. package/lib/primitives/overlays/ActionStrip/useSlideOutReveal.d.ts +0 -47
@@ -1,47 +0,0 @@
1
- type SlideDirection = 'down' | 'left';
2
- type AnimationPhase = 'hidden' | 'entering-behind' | 'entering-front' | 'visible' | 'exiting-front' | 'exiting-behind';
3
- export interface SlideOutRevealConfig {
4
- slideDirection?: SlideDirection;
5
- behindDuration?: number;
6
- frontDuration?: number;
7
- easing?: string;
8
- behindEasing?: string;
9
- zBehind?: number;
10
- zFront?: number;
11
- }
12
- export interface SlideOutRevealStyle {
13
- transform: string;
14
- zIndex: number;
15
- transition: string;
16
- pointerEvents: 'auto' | 'none';
17
- }
18
- export interface SlideOutRevealReturn {
19
- phase: AnimationPhase;
20
- handleTransitionEnd: () => void;
21
- style: SlideOutRevealStyle;
22
- }
23
- /**
24
- * useSlideOutReveal -- 6-state slide-out animation hook.
25
- *
26
- * MOVED from `primitives/dashboard/MetricCard/useSlideOutReveal.ts` in Phase 16
27
- * plan 16-01 alongside the GutterActions → ActionStrip rewrite. The legacy path
28
- * re-exports from this module so existing consumers continue to compile during
29
- * the multi-plan transition.
30
- *
31
- * Two-phase reveal: element slides from behind a parent surface (z-index behind),
32
- * then once it emerges, z-index switches to front and it settles at resting position.
33
- * Exit is the reverse sequence.
34
- *
35
- * @example
36
- * ```ts
37
- * import { useSlideOutReveal } from '@mt-gloss/ui';
38
- *
39
- * const { phase, handleTransitionEnd, style } = useSlideOutReveal(isVisible, {
40
- * slideDirection: 'down',
41
- * zBehind: 1,
42
- * zFront: 16,
43
- * });
44
- * ```
45
- */
46
- export declare function useSlideOutReveal(visible: boolean, config?: SlideOutRevealConfig): SlideOutRevealReturn;
47
- export {};