@mathscan/math-exercise-engine 1.1.9 → 1.1.10

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/style.css CHANGED
@@ -1232,7 +1232,39 @@ th.exercise-table-cell {
1232
1232
  }
1233
1233
 
1234
1234
  /* ========================================
1235
- ROW 1 — POSITION CONTENT (inputs / labels above axis)
1235
+ ROW 1 — OVERLAYS ATTACHED TO AXIS
1236
+ ======================================== */
1237
+
1238
+ .number-line-overlays-row {
1239
+ position: relative;
1240
+ width: 100%;
1241
+ min-height: max(
1242
+ var(--nl-position-content-min-height),
1243
+ var(--nl-position-content-height),
1244
+ var(--nl-arrow-arcs-row-height, 0px)
1245
+ );
1246
+ margin-top: 0.1rem;
1247
+ }
1248
+
1249
+ .number-line-overlays-row .number-line-content-row,
1250
+ .number-line-overlays-row .number-line-arrow-arcs-row {
1251
+ position: absolute;
1252
+ left: 0;
1253
+ right: 0;
1254
+ bottom: 0;
1255
+ margin-top: 0;
1256
+ }
1257
+
1258
+ /* The two overlays share the same axis-anchored box. Position content holds the
1259
+ interactive inputs, so it takes pointer/paint priority over arc annotations —
1260
+ made explicit here rather than relying on DOM sibling order. */
1261
+
1262
+ .number-line-overlays-row .number-line-arrow-arcs-row { z-index: 0; }
1263
+
1264
+ .number-line-overlays-row .number-line-content-row { z-index: 1; }
1265
+
1266
+ /* ========================================
1267
+ POSITION CONTENT (inputs / labels above axis)
1236
1268
  ======================================== */
1237
1269
 
1238
1270
  .number-line-content-row {
@@ -1257,7 +1289,7 @@ th.exercise-table-cell {
1257
1289
  }
1258
1290
 
1259
1291
  /* ========================================
1260
- ROW 2 — ARROW ANNOTATION ARCS
1292
+ ARROW ANNOTATION ARCS
1261
1293
  ======================================== */
1262
1294
 
1263
1295
  .number-line-arrow-arcs-row {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathscan/math-exercise-engine",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
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",