@mathscan/math-exercise-engine 1.2.11 → 1.2.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
@@ -37744,6 +37744,9 @@ export declare interface ExerciseRendererRef {
37744
37744
  revealAnswers: () => void;
37745
37745
  /** True when this exercise's widget has a tutorial (renderer/tutorial/registry.ts). */
37746
37746
  hasTutorial: () => boolean;
37747
+ /** Id of this exercise's widget tutorial (e.g. 'keypad'), or null when none — lets a
37748
+ * host remember which widgets the student has already been shown. */
37749
+ tutorialId: () => string | null;
37747
37750
  /** Play the widget tutorial over the screen. false = none for this widget (nothing shown).
37748
37751
  * Restarts it if one is already playing. The exercise itself is never touched. */
37749
37752
  startTutorial: (options?: TutorialOptions) => boolean;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-C3qDr71I.js");
3
+ const index = require("./index-CbKXPRsS.js");
4
4
  require("react/jsx-runtime");
5
5
  require("react");
6
6
  require("react-dom");
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A, bs, af, dv, dw, dx, du, bB, bA, bC, bz, aF, dy, aG, dE, aU, dR, aK, dN, aE, aH, dB, aV, aJ, dK, aI, dH, bD, aD, br, ae, cK, D, c5, aN, ci, b2, cL, a6, bd, a7, b7, cA, bu, aQ, bo, dg, dh, dl, dj, di, dk, dW, aZ, G, dr, aT, aj, bq, ad, bm, bv, ag, by, aM, bt, bn, bE, J, a9, b8, b3, c0, ai, cc, c6, c9, aR, cB, au, ar, at, as, ap, aq, aP, cj, ak, al, cf, aS, b4, cl, aX, aa, aO, ck, aW, cm, aY, cz, bb, bp, ah, ao, am, an, b$, ab, cn, b5, bk, bl, bj, bi, cO, b6, a8, cC, d9, av, bw, aB, cV, ax, d5, az, cX, aA, cU, cQ, cT, aC, cW, cS, cR, aw, d3, ay, d7, be, aL, ac, b9, dQ, c, a, dq, dp, bJ, dz, dF, dU, dO, dC, dI, dL, bI, bQ, co, cM, cE, bN, bF, dX, ds, bH, bM, bP, bR, c2, cd, c7, ca, cF, bL, cp, cg, cr, cq, cs, cD, bG, bK, c1, da, bO, d1, d6, d0, cY, c$, d2, cZ, c_, d4, d8, w, y, s, bf, k, g, j, I, dm, dA, dG, W, dV, dP, V, dD, X, dJ, dM, bX, a1, H, ct, P, cN, cH, bV, T, i, bS, dY, a5, dt, U, M, F, bW, $, b_, Q, bU, O, bY, c4, L, ce, c8, cb, bh, cI, cu, S, N, ch, bg, cw, a3, B, R, cv, a2, cx, a4, cG, bT, K, _, Y, Z, c3, C, cy, x, cJ, df, a0, bZ, dd, db, dc, de, E, cP, d, p, e, dn, ba, dS, f, h, t, b, u, bc, v, z, a_, a$, o, m, q, n, dT, bx, b0, b1 } from "./index-6z_8j1tM.mjs";
1
+ import { A, bs, af, dv, dw, dx, du, bB, bA, bC, bz, aF, dy, aG, dE, aU, dR, aK, dN, aE, aH, dB, aV, aJ, dK, aI, dH, bD, aD, br, ae, cK, D, c5, aN, ci, b2, cL, a6, bd, a7, b7, cA, bu, aQ, bo, dg, dh, dl, dj, di, dk, dW, aZ, G, dr, aT, aj, bq, ad, bm, bv, ag, by, aM, bt, bn, bE, J, a9, b8, b3, c0, ai, cc, c6, c9, aR, cB, au, ar, at, as, ap, aq, aP, cj, ak, al, cf, aS, b4, cl, aX, aa, aO, ck, aW, cm, aY, cz, bb, bp, ah, ao, am, an, b$, ab, cn, b5, bk, bl, bj, bi, cO, b6, a8, cC, d9, av, bw, aB, cV, ax, d5, az, cX, aA, cU, cQ, cT, aC, cW, cS, cR, aw, d3, ay, d7, be, aL, ac, b9, dQ, c, a, dq, dp, bJ, dz, dF, dU, dO, dC, dI, dL, bI, bQ, co, cM, cE, bN, bF, dX, ds, bH, bM, bP, bR, c2, cd, c7, ca, cF, bL, cp, cg, cr, cq, cs, cD, bG, bK, c1, da, bO, d1, d6, d0, cY, c$, d2, cZ, c_, d4, d8, w, y, s, bf, k, g, j, I, dm, dA, dG, W, dV, dP, V, dD, X, dJ, dM, bX, a1, H, ct, P, cN, cH, bV, T, i, bS, dY, a5, dt, U, M, F, bW, $, b_, Q, bU, O, bY, c4, L, ce, c8, cb, bh, cI, cu, S, N, ch, bg, cw, a3, B, R, cv, a2, cx, a4, cG, bT, K, _, Y, Z, c3, C, cy, x, cJ, df, a0, bZ, dd, db, dc, de, E, cP, d, p, e, dn, ba, dS, f, h, t, b, u, bc, v, z, a_, a$, o, m, q, n, dT, bx, b0, b1 } from "./index-CAvdtiDQ.mjs";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathscan/math-exercise-engine",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "description": "A DSL parser and validator for math exercises - transforms text-based exercise definitions into structured AST and JSON",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",