@mt-gloss/ui 0.0.45 → 0.0.46
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 +846 -834
- package/lib/primitives/dashboard/DevTuningPanel/useResizeTuning.d.ts +1 -1
- package/lib/primitives/dashboard/MetricCard/__tests__/fixtures/nyquist-09-parity-matrix.d.ts +5 -2
- package/lib/primitives/dashboard/MetricCard/resizePhysics.d.ts +1 -1
- package/lib/primitives/dashboard/MetricCard/useEdgeHoverResize.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ declare const _TUNING_DEFAULTS_LITERAL: {
|
|
|
18
18
|
readonly snapInPx: 60;
|
|
19
19
|
readonly snapOutPx: 90;
|
|
20
20
|
readonly stiffness: 500;
|
|
21
|
-
readonly damping:
|
|
21
|
+
readonly damping: 22;
|
|
22
22
|
readonly mass: 1;
|
|
23
23
|
readonly snapInFraction: number;
|
|
24
24
|
readonly snapOutFraction: number;
|
package/lib/primitives/dashboard/MetricCard/__tests__/fixtures/nyquist-09-parity-matrix.d.ts
CHANGED
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Typed array of 144 rows enumerating the 7-axis resize parity space:
|
|
5
5
|
*
|
|
6
|
-
* spring — 3 presets: default (
|
|
6
|
+
* spring — 3 presets: default (S500D22M1, retuned 260419 for
|
|
7
|
+
* visible overshoot — was S500D35M1; see Fix E /
|
|
8
|
+
* 260419-resize-integration-broken), gentle (S300D30M1),
|
|
9
|
+
* stiff (S700D40M1)
|
|
7
10
|
* viewport — round-robin across [1280, 1920, 2560] (all 3 appear in asserted set)
|
|
8
11
|
* reducedMotion — {false, true}
|
|
9
12
|
* pointerType — {'mouse', 'touch'}
|
|
@@ -47,7 +50,7 @@
|
|
|
47
50
|
*/
|
|
48
51
|
export interface Nyquist09Row {
|
|
49
52
|
/**
|
|
50
|
-
* Stable row id, e.g. '
|
|
53
|
+
* Stable row id, e.g. 'S500D22M1-vw1280-rm_off-mouse-stack-commit-dndk_on'.
|
|
51
54
|
* Shape: `S{stiffness}D{damping}M{mass}-vw{viewport}-rm_{on|off}-{pointer}-{stack|spark}-{cancelPath}-dndk_{on|off}`.
|
|
52
55
|
*/
|
|
53
56
|
id: string;
|
|
@@ -85,7 +85,7 @@ export interface UseEdgeHoverResizeReturn {
|
|
|
85
85
|
* - MotionValue ghost tracking (D-07) — zero React re-renders per pointermove
|
|
86
86
|
* - Hysteresis snap (D-06) replaces Math.round(dx/step)
|
|
87
87
|
* - Velocity ring buffer (D-09) feeds spring commit
|
|
88
|
-
* - Spring commit via framer-motion animate() (D-08: stiffness 500, damping
|
|
88
|
+
* - Spring commit via framer-motion animate() (D-08: stiffness 500, damping 22, mass 1 — retuned 260419 for visible overshoot, was damping 35)
|
|
89
89
|
* - 'settling' state (D-12) hard-blocks re-engagement during spring
|
|
90
90
|
* - committed state removed (D-05) — rolls into settling → idle
|
|
91
91
|
* - Keyboard step (D-16): onKeyboardStep('grow'|'shrink')
|