@doenet/doenetml-iframe 0.7.17 → 0.7.18

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.
Files changed (4) hide show
  1. package/index.js +59129 -69659
  2. package/index.js.map +1 -1
  3. package/package.json +3 -2
  4. package/style.css +10 -2
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@doenet/doenetml-iframe",
3
3
  "type": "module",
4
4
  "description": "A renderer for DoenetML contained in an iframe",
5
- "version": "0.7.17",
5
+ "version": "0.7.18",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "homepage": "https://github.com/Doenet/DoenetML#readme",
8
8
  "repository": {
@@ -23,6 +23,7 @@
23
23
  "private": false,
24
24
  "peerDependencies": {
25
25
  "react": "^19.2.3",
26
- "react-dom": "^19.2.3"
26
+ "react-dom": "^19.2.3",
27
+ "better-react-mathjax": "^3.0.0"
27
28
  }
28
29
  }
package/style.css CHANGED
@@ -386,11 +386,19 @@ Tailwind base is purposely not included because we want all styles to be prefixe
386
386
  line-height: 2rem;
387
387
  }
388
388
 
389
+ /*
390
+ * Right-edge footprint of this button (w-12 + me-4 = 4rem) is mirrored
391
+ * by `--keyboard-tab-reserve-width` in
392
+ * `packages/doenetml/src/EditorViewer/editor-viewer.css` so the editor
393
+ * footer can shift its rightmost element inward to clear it. Keep the
394
+ * two values in sync.
395
+ */
396
+
389
397
  #virtual-keyboard-tray .open-keyboard-button {
390
398
  position: absolute;
391
399
  top: -1.5rem;
392
- left: 0px;
393
- margin-inline-start: 1rem;
400
+ right: 0px;
401
+ margin-inline-end: 1rem;
394
402
  border-top-left-radius: 0.25rem;
395
403
  border-top-right-radius: 0.25rem;
396
404
  border-bottom-width: 1px;