eidotter 0.27.1 → 0.28.0
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.
|
@@ -23,6 +23,14 @@ export interface RetroEffectsProps {
|
|
|
23
23
|
* Whether the CRT is powered on. Animates on/off transitions.
|
|
24
24
|
*/
|
|
25
25
|
powered?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Play the CGA monitor boot sequence once on mount (~650ms): an amber
|
|
28
|
+
* ignition line stretches across the center, the black raster opens from
|
|
29
|
+
* it, and a warm phosphor glow settles. Skipped entirely under
|
|
30
|
+
* prefers-reduced-motion. Opt-in; intended as the portfolio-wide launch
|
|
31
|
+
* pattern (DMNC-1047).
|
|
32
|
+
*/
|
|
33
|
+
boot?: boolean;
|
|
26
34
|
/**
|
|
27
35
|
* Intensity of the effects (0-1)
|
|
28
36
|
*/
|
|
@@ -43,6 +51,10 @@ export interface RetroEffectsProps {
|
|
|
43
51
|
* Callback when power-off animation completes
|
|
44
52
|
*/
|
|
45
53
|
onPowerOff?: () => void;
|
|
54
|
+
/**
|
|
55
|
+
* Callback when the boot sequence completes (or is skipped)
|
|
56
|
+
*/
|
|
57
|
+
onBootComplete?: () => void;
|
|
46
58
|
}
|
|
47
59
|
/**
|
|
48
60
|
* CRT Monitor Effects component for authentic DOS terminal aesthetics
|