@mathscan/math-exercise-engine 1.2.13 → 1.2.14
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/README.md +4 -3
- package/dist/{GeometryWidget-h2yNZsas.mjs → GeometryWidget-B-EQ53jz.mjs} +2 -2
- package/dist/{GeometryWidget-h2yNZsas.mjs.map → GeometryWidget-B-EQ53jz.mjs.map} +1 -1
- package/dist/{GeometryWidget-CMJTNSAG.js → GeometryWidget-D6_DlxhZ.js} +2 -2
- package/dist/{GeometryWidget-CMJTNSAG.js.map → GeometryWidget-D6_DlxhZ.js.map} +1 -1
- package/dist/{index-CAvdtiDQ.mjs → index-Daj5xH0X.mjs} +252 -113
- package/dist/{index-CAvdtiDQ.mjs.map → index-Daj5xH0X.mjs.map} +1 -1
- package/dist/{index-CbKXPRsS.js → index-gCvC2wRR.js} +252 -113
- package/dist/{index-CbKXPRsS.js.map → index-gCvC2wRR.js.map} +1 -1
- package/dist/index.d.ts +777 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/style.css +23 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
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-
|
|
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-Daj5xH0X.mjs";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
package/dist/style.css
CHANGED
|
@@ -3799,12 +3799,24 @@ button.drag-option {
|
|
|
3799
3799
|
animation: met-tutorial-hop 550ms ease-in-out both;
|
|
3800
3800
|
}
|
|
3801
3801
|
|
|
3802
|
+
.met-tutorial-hop--digit {
|
|
3803
|
+
display: flex;
|
|
3804
|
+
align-items: center;
|
|
3805
|
+
justify-content: center;
|
|
3806
|
+
width: 24px;
|
|
3807
|
+
height: 24px;
|
|
3808
|
+
margin: -12px 0 0 -12px;
|
|
3809
|
+
color: white;
|
|
3810
|
+
font-size: 18px;
|
|
3811
|
+
font-weight: 700;
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3802
3814
|
@keyframes met-tutorial-hop {
|
|
3803
3815
|
from { offset-distance: 0%; }
|
|
3804
3816
|
to { offset-distance: 100%; opacity: 0.2; }
|
|
3805
3817
|
}
|
|
3806
3818
|
|
|
3807
|
-
/*
|
|
3819
|
+
/* Guided digits (or generic dots) over the real answer box. */
|
|
3808
3820
|
|
|
3809
3821
|
.met-tutorial-fill {
|
|
3810
3822
|
display: flex;
|
|
@@ -4079,12 +4091,6 @@ button.drag-option {
|
|
|
4079
4091
|
user-select: none;
|
|
4080
4092
|
}
|
|
4081
4093
|
|
|
4082
|
-
.draggable.dragging {
|
|
4083
|
-
/* Hide original while drag overlay follows cursor to avoid duplicate render.
|
|
4084
|
-
visibility:hidden preserves layout space so neighbors don't shift. */
|
|
4085
|
-
visibility: hidden;
|
|
4086
|
-
}
|
|
4087
|
-
|
|
4088
4094
|
/* Droppable base */
|
|
4089
4095
|
.droppable {
|
|
4090
4096
|
display: inline-block;
|
|
@@ -4134,13 +4140,18 @@ button.drag-option {
|
|
|
4134
4140
|
min-height: 44px;
|
|
4135
4141
|
}
|
|
4136
4142
|
|
|
4137
|
-
/* Empty slot - shows where item came from
|
|
4143
|
+
/* Empty slot - shows where item came from, from pick-up on. It is sized by an
|
|
4144
|
+
invisible copy of the chip; the outline draws inside so the size stays exact.
|
|
4145
|
+
Solid, not dashed: dashed is the look of the inputs it must not be mistaken for. */
|
|
4138
4146
|
.drag-option-empty {
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
border: 2px dashed #d4c5a9;
|
|
4147
|
+
outline: 1px solid color-mix(in srgb, var(--exercise-accent) 30%, transparent);
|
|
4148
|
+
outline-offset: -1px;
|
|
4142
4149
|
border-radius: 8px;
|
|
4143
|
-
background:
|
|
4150
|
+
background: #FFEECA;
|
|
4151
|
+
}
|
|
4152
|
+
|
|
4153
|
+
.drag-option-empty .drag-option {
|
|
4154
|
+
visibility: hidden;
|
|
4144
4155
|
}
|
|
4145
4156
|
|
|
4146
4157
|
/* Inline input droppable */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mathscan/math-exercise-engine",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
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",
|