@mt-gloss/ui 0.1.80 → 0.1.81
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 +410 -408
- package/lib/composites/dashboard/BottomToolbar/SectionDots.d.ts +14 -1
- package/package.json +1 -1
- package/ui.css +1 -1
|
@@ -34,5 +34,18 @@ export interface SectionDotsProps {
|
|
|
34
34
|
currentSection?: number;
|
|
35
35
|
/** Phase 12 D-09 — how many sections fit in viewport at once. Default 1 (preserves v2.0 model). */
|
|
36
36
|
sectionsPerView?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Quick task 260510-nav T4 (D5 = fade_only). Additive opt-in: when `true`,
|
|
39
|
+
* the primitive skips its auto-hide early-return at lines 67-69 and renders
|
|
40
|
+
* with `data-hiding="true"` on the tablist root. SCSS animates opacity to
|
|
41
|
+
* 0 over 200ms. The CONSUMER drives mount/unmount lifecycle via the
|
|
42
|
+
* `useDelayedUnmount(shouldHide, 200)` hook in reptime — when shouldHide
|
|
43
|
+
* flips true → consumer sets isHiding=true immediately; 200ms later the
|
|
44
|
+
* consumer unmounts SectionDots entirely (this prop becomes irrelevant).
|
|
45
|
+
* Omitting this prop preserves the Phase 12 NAV-02/03 instant-hide
|
|
46
|
+
* behavior exactly (back-compat parity contract).
|
|
47
|
+
*/
|
|
48
|
+
isHiding?: boolean;
|
|
37
49
|
}
|
|
38
|
-
export declare function SectionDots({ count, currentIndex, onSelect, 'aria-label': ariaLabel, provisionalIndex, pulseIndex, pulseNonce, currentSection, sectionsPerView,
|
|
50
|
+
export declare function SectionDots({ count, currentIndex, onSelect, 'aria-label': ariaLabel, provisionalIndex, pulseIndex, pulseNonce, currentSection, sectionsPerView, // D-09 default
|
|
51
|
+
isHiding, }: SectionDotsProps): import("react/jsx-runtime").JSX.Element | null;
|