easter-egg-quest 1.0.3 → 1.0.4
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/dist/easter-egg-quest.es.js +110 -6
- package/dist/easter-egg-quest.umd.js +1 -1
- package/dist/types/rendering/NarrativeRenderer.d.ts +5 -0
- package/dist/types/stages/MotionStage.d.ts +1 -0
- package/dist/types/stages/RhythmStage.d.ts +1 -0
- package/dist/types/stages/StillnessStage.d.ts +1 -0
- package/package.json +1 -1
|
@@ -17,6 +17,11 @@ export declare class NarrativeRenderer {
|
|
|
17
17
|
mount(): void;
|
|
18
18
|
/** Show a single narrative line. Fades in, replaces any previous line. */
|
|
19
19
|
showLine(text: string, className?: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* Show a narrative line with a confirmation button.
|
|
22
|
+
* Resolves when user clicks OK (no auto-advance).
|
|
23
|
+
*/
|
|
24
|
+
showLineWithConfirm(text: string): Promise<void>;
|
|
20
25
|
/** Show a sequence of lines with pauses. */
|
|
21
26
|
showSequence(lines: string[], pauseMs?: number): Promise<void>;
|
|
22
27
|
/** Show a celebratory line with golden styling. */
|
package/package.json
CHANGED