@mathscan/math-exercise-engine 1.0.6 → 1.0.7
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 +2860 -999
- package/dist/index.js +361 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +361 -28
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +34 -0
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -470,6 +470,40 @@ button.drag-option {
|
|
|
470
470
|
color: white;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
+
/* ========================================
|
|
474
|
+
TABLE LAYOUT
|
|
475
|
+
======================================== */
|
|
476
|
+
|
|
477
|
+
.exercise-table {
|
|
478
|
+
border-spacing: 0;
|
|
479
|
+
border: 2px solid var(--exercise-table-border, #8b7ec8);
|
|
480
|
+
border-radius: 12px;
|
|
481
|
+
overflow: hidden;
|
|
482
|
+
font-size: small;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.exercise-table-cell {
|
|
486
|
+
padding: 4px;
|
|
487
|
+
text-align: center;
|
|
488
|
+
vertical-align: middle;
|
|
489
|
+
min-height: 36px;
|
|
490
|
+
color: var(--exercise-text);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.exercise-table-container {
|
|
494
|
+
border: 2px solid #7c6cf2;
|
|
495
|
+
border-radius: 8px;
|
|
496
|
+
overflow: hidden;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
table.exercise-table {
|
|
500
|
+
border-collapse: collapse;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
td.exercise-table-cell, th.exercise-table-cell {
|
|
504
|
+
border: 2px solid #7c6cf2;
|
|
505
|
+
}
|
|
506
|
+
|
|
473
507
|
/**
|
|
474
508
|
* Button & Action Styles
|
|
475
509
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mathscan/math-exercise-engine",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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",
|