@mathscan/math-exercise-engine 1.1.11 → 1.1.13

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/index.d.ts CHANGED
@@ -15765,6 +15765,8 @@ export declare interface ExerciseRendererRef {
15765
15765
  getCompletion: () => InputCompletion;
15766
15766
  reset: () => void;
15767
15767
  focusFirstInput: () => void;
15768
+ /** Fill every widget with its correct answer. No-op for display-only exercises. */
15769
+ revealAnswers: () => void;
15768
15770
  }
15769
15771
 
15770
15772
  export declare type ExpressionValidation = z.infer<typeof ExpressionValidationSchema>;
@@ -23886,7 +23888,7 @@ export declare const SimpleValidationSchema: z.ZodObject<{
23886
23888
  export declare type SoundConfig = Partial<Record<SoundEvent, string | (() => void)>>;
23887
23889
 
23888
23890
  /** All sound events the renderer can emit. */
23889
- export declare type SoundEvent = 'drag-start' | 'drag-drop' | 'drag-cancel' | 'radio-select' | 'pair-select' | 'pair-link' | 'pair-unlink' | 'keypad-press' | 'matcher-select' | 'fraction-shade' | 'clock-hour-tick' | 'clock-minute-tick' | 'counter-step' | 'cursor-step' | 'cursor-release' | 'input-select' | 'answer-correct' | 'answer-wrong';
23891
+ export declare type SoundEvent = 'drag-start' | 'drag-drop' | 'drag-cancel' | 'radio-select' | 'pair-select' | 'pair-link' | 'pair-unlink' | 'keypad-press' | 'matcher-select' | 'fraction-shade' | 'clock-hour-tick' | 'clock-minute-tick' | 'counter-step' | 'cursor-step' | 'cursor-release' | 'input-select' | 'answer-correct' | 'answer-wrong' | 'answer-reveal';
23890
23892
 
23891
23893
  export declare const SoundProvider: default_2.FC<SoundProviderProps>;
23892
23894