@mathscan/math-exercise-engine 1.0.7 → 1.0.8

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
@@ -416,6 +416,47 @@ button.drag-option {
416
416
  font-weight: var(--exercise-font-weight);
417
417
  }
418
418
 
419
+ /* ========================================
420
+ RADIO OPTIONS
421
+ ======================================== */
422
+
423
+ .radio-options {
424
+ display: flex;
425
+ justify-content: center;
426
+ gap: calc(var(--exercise-element-margin) * 2);
427
+ flex-wrap: wrap;
428
+ }
429
+
430
+ .radio-option {
431
+ padding: 10px 16px;
432
+ border: var(--exercise-border-width) solid var(--exercise-border);
433
+ border-radius: var(--exercise-border-radius);
434
+ background: var(--exercise-bg);
435
+ color: var(--exercise-text);
436
+ cursor: pointer;
437
+ user-select: none;
438
+ font-size: var(--exercise-font-size);
439
+ font-weight: var(--exercise-font-weight);
440
+ transition: all 0.2s ease;
441
+ min-width: var(--exercise-button-width);
442
+ text-align: center;
443
+ }
444
+
445
+ .radio-option:hover {
446
+ border-color: var(--exercise-primary);
447
+ }
448
+
449
+ .radio-option:active {
450
+ transform: scale(0.98);
451
+ }
452
+
453
+ .radio-option.selected {
454
+ background: var(--exercise-primary);
455
+ color: white;
456
+ border-color: var(--exercise-primary);
457
+ box-shadow: 0 2px 4px rgba(0, 122, 204, 0.2);
458
+ }
459
+
419
460
  /* ========================================
420
461
  NUMERIC KEYPAD
421
462
  ======================================== */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathscan/math-exercise-engine",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
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",