@mt-gloss/ui 0.1.5 → 0.1.6
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/index.js +1004 -1001
- package/lib/primitives/dashboard/MetricCard/useEdgeHoverResize.d.ts +7 -0
- package/package.json +1 -1
|
@@ -35,6 +35,13 @@ export interface UseEdgeHoverResizeArgs {
|
|
|
35
35
|
* Used to clamp ghostWidth writes during drag so the ghost cannot grow
|
|
36
36
|
* past the maximum-allowed column width at any cursor position (debug
|
|
37
37
|
* session 260419-ghost-slides-across-page — AP-17 companion invariant).
|
|
38
|
+
*
|
|
39
|
+
* Bug fix 260420-resize-past-sections — this cap is now enforced on the
|
|
40
|
+
* COMMIT path as well (onPointerUp + onKeyboardStep + hysteresisSnap).
|
|
41
|
+
* Previously only the live ghost width was clamped; onPointerUp passed
|
|
42
|
+
* raw `dx` to hysteresisSnap whose forward walk + final clamp used a
|
|
43
|
+
* hardcoded `3`, letting fast drags commit `targetColSpan = 3` past the
|
|
44
|
+
* section boundary.
|
|
38
45
|
*/
|
|
39
46
|
maxColSpan?: 1 | 2 | 3;
|
|
40
47
|
/**
|