@doenet/doenetml 0.7.0-alpha53 → 0.7.0-alpha55
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/EditorViewer/EditorViewer.d.ts +2 -2
- package/EditorViewer/EditorViewer.d.ts.map +1 -1
- package/Viewer/DocViewer.d.ts +3 -3
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/Viewer/renderers/answer.d.ts.map +1 -1
- package/Viewer/renderers/utils/{AnswerResponseMenu.d.ts → AnswerResponseButton.d.ts} +2 -2
- package/Viewer/renderers/utils/AnswerResponseButton.d.ts.map +1 -0
- package/{_error-GwDTi6rY.js → _error-DacdROUl.js} +2 -2
- package/{alert-BtkPDkoA.js → alert-C8fzteWj.js} +3 -3
- package/{angle-D8QNz00R.js → angle-BUfNJ5pr.js} +3 -3
- package/{answer-ciKskgNk.js → answer-VaRBTsuJ.js} +10 -10
- package/{asList-Cb0lLe-w.js → asList-CI4c1C0S.js} +2 -2
- package/{blockQuote-DiHpuXuU.js → blockQuote-C4OPDdr3.js} +3 -3
- package/{boolean-CAhgqlsZ.js → boolean-Cx8Ap9YX.js} +2 -2
- package/{booleanInput-Dtul5aLp.js → booleanInput-BHSeOXKe.js} +4 -4
- package/{br-CU6brznZ.js → br-zQwnfkFP.js} +2 -2
- package/{button-BlF6I46m.js → button-CJQY5U79.js} +3 -3
- package/{c-CmlalQXF.js → c-VEX0flHS.js} +3 -3
- package/{cell-DKuooRe3.js → cell-B9PlIPCR.js} +3 -3
- package/checkwork-n17Hhm9K.js +841 -0
- package/{choiceInput-DcDJOcx_.js → choiceInput-BRqkeCFl.js} +3 -3
- package/{circle-D-vdk68E.js → circle-CXVHt7c3.js} +3 -3
- package/{cobwebPolyline-H7MNGud_.js → cobwebPolyline-ClgouZGU.js} +3 -3
- package/{codeEditor-BdcQ4cRu.js → codeEditor-Do2mH-YQ.js} +2 -2
- package/{composites-ByHZA6ga.js → composites-TjAu4fHD.js} +1 -1
- package/{containerBlock-Zt0J_8qp.js → containerBlock-BXHNKAeC.js} +3 -3
- package/{containerInline-J0ZA-hAw.js → containerInline-DI_a6AhM.js} +3 -3
- package/{curve-CnVnG-gR.js → curve-B8HrdaaR.js} +3 -3
- package/doenetml-inline-worker.js +2 -2
- package/{doenetml-BxYCfP3q.js → doenetml-sRNYlCqd.js} +21 -53
- package/doenetml.d.ts +4 -4
- package/doenetml.d.ts.map +1 -1
- package/{ellipsis-BbY_75B9.js → ellipsis-D81Tiiuc.js} +2 -2
- package/{em-Bo1_u07q.js → em-DDw9Si3H.js} +3 -3
- package/{embed-BYY0B6YL.js → embed-BEW6CoWr.js} +2 -2
- package/{feedback-BEcqQSUv.js → feedback-DVB2ksCT.js} +4 -4
- package/{figure-9bZNx4iM.js → figure-DjVSSN6M.js} +3 -3
- package/{footnote-CbSZPnS_.js → footnote-CUU3PpfT.js} +2 -2
- package/{graph-BcgGZcap.js → graph-BJc72uU7.js} +2 -2
- package/{hint-DNBGmAUx.js → hint-_mytVHpK.js} +4 -4
- package/{hr-QPW8MOW9.js → hr-CWLmUpy0.js} +2 -2
- package/{image-RdgTJkyJ.js → image-ClTE4iuH.js} +3 -3
- package/{index-BAm6ZYJS.js → index-DP21-YKk.js} +1 -1
- package/{index.es-D22JmNgX.js → index.es-DOHR9mG3.js} +1 -1
- package/index.js +1 -1
- package/{label-Ch4ABCmv.js → label-ttulCvy_.js} +3 -3
- package/{legend-CxBwSOao.js → legend-CGnJ45xO.js} +3 -3
- package/{line-CST9KGTg.js → line-CK-q5MoI.js} +3 -3
- package/{lineSegment-DvuWsavN.js → lineSegment-BURohQkt.js} +3 -3
- package/{list-FfXRWagF.js → list-DFCits_p.js} +3 -3
- package/{lq-CMzJMKYu.js → lq-CnCh2Cek.js} +2 -2
- package/{lsq-CJFVdiGq.js → lsq-Z8YTkngq.js} +2 -2
- package/{math-DLZM_qu3.js → math-DmS2HVnB.js} +3 -3
- package/{mathInput-BRWecq0J.js → mathInput-BK9jtmCy.js} +3 -3
- package/{matrixInput-D9OSOupB.js → matrixInput-B2r-RRoq.js} +3 -3
- package/{mdash-NGpH8PbV.js → mdash-BSnirjtX.js} +2 -2
- package/{nbsp-BkDcEEMd.js → nbsp-DxIPs3C-.js} +2 -2
- package/{ndash-7uwZ0Vtv.js → ndash-BOPV84e3.js} +2 -2
- package/{number-BjW9vouS.js → number-BYuSXu-v.js} +3 -3
- package/{orbitalDiagram-DVfWFW5p.js → orbitalDiagram-eFMJxKTZ.js} +2 -2
- package/{orbitalDiagramInput-TI_kpwe2.js → orbitalDiagramInput-CicG-INc.js} +2 -2
- package/{p-DIRk568L.js → p-DXe2zMsQ.js} +3 -3
- package/package.json +1 -1
- package/{paginatorControls-DtNpYi-3.js → paginatorControls-DBYh7Yws.js} +2 -2
- package/{pegboard-Bd1SmP6c.js → pegboard-DLrRWpOH.js} +3 -3
- package/{point-ajtgi6lk.js → point-BapGaqMw.js} +3 -3
- package/{polygon-DcXyS9Ph.js → polygon-sDXvM8jd.js} +3 -3
- package/{polyline-CRwTNWf5.js → polyline-Cif5rrfX.js} +3 -3
- package/{pre-ISpysPrB.js → pre-zeO-zSVj.js} +3 -3
- package/{pretzel-C-W3KUtT.js → pretzel-BstN2DXP.js} +10 -10
- package/{q-9YAZWbJW.js → q-BUN6d3Fd.js} +3 -3
- package/{ray-DTvHO_-L.js → ray-BS6bApZ0.js} +3 -3
- package/{ref-D633sFJy.js → ref-B15YsZxi.js} +2 -2
- package/{regionBetweenCurveXAxis-DNfFew93.js → regionBetweenCurveXAxis-BFdzcUTg.js} +3 -3
- package/{regionBetweenCurves-CLA-Zsiq.js → regionBetweenCurves-5M_ZSELl.js} +3 -3
- package/{row-CV1QCTA0.js → row-CAjl4Ibp.js} +2 -2
- package/{rq-BRPvlvjn.js → rq-DLZgaomf.js} +2 -2
- package/{rsq-BQMfhXNb.js → rsq-BOdq6ZBb.js} +2 -2
- package/{section-DT_Z-23R.js → section-CqM5HBbU.js} +4 -4
- package/{sideBySide-Dtp5c9BG.js → sideBySide-Dhds4V3W.js} +2 -2
- package/{slider-BFyzacAf.js → slider-CMIx3Y1_.js} +2 -2
- package/{solution-1VBLNvz4.js → solution-DJEdQYGt.js} +4 -4
- package/{spreadsheet-MfSFcH3t.js → spreadsheet-F_qMPeut.js} +2 -2
- package/{sq-n0NGxzEy.js → sq-MhOLnvCm.js} +3 -3
- package/style.css +6 -16
- package/{subsetOfRealsInput-CkL6dCxk.js → subsetOfRealsInput-BIHaW2VJ.js} +2 -2
- package/{summaryStatistics-CWXqxbd3.js → summaryStatistics-DxOXNQ_g.js} +2 -2
- package/{table-CPAT4aYa.js → table-DUxrWqxG.js} +2 -2
- package/{tabular-smi1xfCS.js → tabular-p1MDkcGW.js} +2 -2
- package/{tag-DOduYdqv.js → tag--bKUwRVR.js} +2 -2
- package/{text-Da5gA47C.js → text-D33ED9K_.js} +3 -3
- package/{textInput-Ct1xd6qU.js → textInput-ksnzYkPE.js} +4 -4
- package/useDoenetRenderer-DaxiEBL2.js +109 -0
- package/{vector-D_QrHdix.js → vector-DnhsbMGp.js} +3 -3
- package/{video-eWJTnq9V.js → video-gio1LNIF.js} +2 -2
- package/Viewer/renderers/utils/AnswerResponseMenu.d.ts.map +0 -1
- package/checkwork-Bq0PLxIc.js +0 -1320
- package/useDoenetRenderer-CA8ny0Vp.js +0 -109
|
@@ -38233,7 +38233,7 @@ function DocViewer({
|
|
|
38233
38233
|
doenetViewerUrl,
|
|
38234
38234
|
scrollableContainer,
|
|
38235
38235
|
darkMode,
|
|
38236
|
-
|
|
38236
|
+
showAnswerResponseButton = false,
|
|
38237
38237
|
answerResponseCounts = {},
|
|
38238
38238
|
initializeCounters: prescribedInitializeCounters = {},
|
|
38239
38239
|
fetchExternalDoenetML
|
|
@@ -38282,7 +38282,7 @@ function DocViewer({
|
|
|
38282
38282
|
doenetViewerUrl,
|
|
38283
38283
|
scrollableContainer,
|
|
38284
38284
|
darkMode,
|
|
38285
|
-
|
|
38285
|
+
showAnswerResponseButton,
|
|
38286
38286
|
answerResponseCounts
|
|
38287
38287
|
};
|
|
38288
38288
|
useEffect(() => {
|
|
@@ -38576,7 +38576,7 @@ function DocViewer({
|
|
|
38576
38576
|
let rendererClassNames = [];
|
|
38577
38577
|
for (let rendererClassName of coreInfo.current.rendererTypesInDocument) {
|
|
38578
38578
|
rendererClassNames.push(rendererClassName);
|
|
38579
|
-
renderPromises.push(__variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.tsx": () => import("./_error-
|
|
38579
|
+
renderPromises.push(__variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.tsx": () => import("./_error-DacdROUl.js"), "./renderers/alert.tsx": () => import("./alert-C8fzteWj.js"), "./renderers/angle.tsx": () => import("./angle-BUfNJ5pr.js"), "./renderers/answer.tsx": () => import("./answer-VaRBTsuJ.js"), "./renderers/asList.tsx": () => import("./asList-CI4c1C0S.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-C4OPDdr3.js"), "./renderers/boolean.tsx": () => import("./boolean-Cx8Ap9YX.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-BHSeOXKe.js"), "./renderers/br.tsx": () => import("./br-zQwnfkFP.js"), "./renderers/button.tsx": () => import("./button-CJQY5U79.js"), "./renderers/c.tsx": () => import("./c-VEX0flHS.js"), "./renderers/cell.tsx": () => import("./cell-B9PlIPCR.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BRqkeCFl.js"), "./renderers/circle.tsx": () => import("./circle-CXVHt7c3.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-ClgouZGU.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Do2mH-YQ.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BXHNKAeC.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DI_a6AhM.js"), "./renderers/curve.tsx": () => import("./curve-B8HrdaaR.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-D81Tiiuc.js"), "./renderers/em.tsx": () => import("./em-DDw9Si3H.js"), "./renderers/embed.tsx": () => import("./embed-BEW6CoWr.js"), "./renderers/feedback.tsx": () => import("./feedback-DVB2ksCT.js"), "./renderers/figure.tsx": () => import("./figure-DjVSSN6M.js"), "./renderers/footnote.tsx": () => import("./footnote-CUU3PpfT.js"), "./renderers/graph.tsx": () => import("./graph-BJc72uU7.js"), "./renderers/hint.tsx": () => import("./hint-_mytVHpK.js"), "./renderers/hr.tsx": () => import("./hr-CWLmUpy0.js"), "./renderers/image.tsx": () => import("./image-ClTE4iuH.js"), "./renderers/label.tsx": () => import("./label-ttulCvy_.js"), "./renderers/legend.tsx": () => import("./legend-CGnJ45xO.js"), "./renderers/line.tsx": () => import("./line-CK-q5MoI.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BURohQkt.js"), "./renderers/list.tsx": () => import("./list-DFCits_p.js"), "./renderers/lq.tsx": () => import("./lq-CnCh2Cek.js"), "./renderers/lsq.tsx": () => import("./lsq-Z8YTkngq.js"), "./renderers/math.tsx": () => import("./math-DmS2HVnB.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BK9jtmCy.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-B2r-RRoq.js"), "./renderers/mdash.tsx": () => import("./mdash-BSnirjtX.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DxIPs3C-.js"), "./renderers/ndash.tsx": () => import("./ndash-BOPV84e3.js"), "./renderers/number.tsx": () => import("./number-BYuSXu-v.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-eFMJxKTZ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-CicG-INc.js"), "./renderers/p.tsx": () => import("./p-DXe2zMsQ.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DBYh7Yws.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DLrRWpOH.js"), "./renderers/point.tsx": () => import("./point-BapGaqMw.js"), "./renderers/polygon.tsx": () => import("./polygon-sDXvM8jd.js"), "./renderers/polyline.tsx": () => import("./polyline-Cif5rrfX.js"), "./renderers/pre.tsx": () => import("./pre-zeO-zSVj.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BstN2DXP.js"), "./renderers/q.tsx": () => import("./q-BUN6d3Fd.js"), "./renderers/ray.tsx": () => import("./ray-BS6bApZ0.js"), "./renderers/ref.tsx": () => import("./ref-B15YsZxi.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BFdzcUTg.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-5M_ZSELl.js"), "./renderers/row.tsx": () => import("./row-CAjl4Ibp.js"), "./renderers/rq.tsx": () => import("./rq-DLZgaomf.js"), "./renderers/rsq.tsx": () => import("./rsq-BOdq6ZBb.js"), "./renderers/section.tsx": () => import("./section-CqM5HBbU.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-Dhds4V3W.js"), "./renderers/slider.tsx": () => import("./slider-CMIx3Y1_.js"), "./renderers/solution.tsx": () => import("./solution-DJEdQYGt.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-F_qMPeut.js"), "./renderers/sq.tsx": () => import("./sq-MhOLnvCm.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BIHaW2VJ.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DxOXNQ_g.js"), "./renderers/table.tsx": () => import("./table-DUxrWqxG.js"), "./renderers/tabular.tsx": () => import("./tabular-p1MDkcGW.js"), "./renderers/tag.tsx": () => import("./tag--bKUwRVR.js"), "./renderers/text.tsx": () => import("./text-D33ED9K_.js"), "./renderers/textInput.tsx": () => import("./textInput-ksnzYkPE.js"), "./renderers/vector.tsx": () => import("./vector-DnhsbMGp.js"), "./renderers/video.tsx": () => import("./video-gio1LNIF.js") }), `./renderers/${rendererClassName}.tsx`, 3));
|
|
38580
38580
|
}
|
|
38581
38581
|
let documentComponentInstructions = coreInfo.current.documentToRender;
|
|
38582
38582
|
renderersLoadComponent(renderPromises, rendererClassNames).then((newRendererClasses) => {
|
|
@@ -79189,10 +79189,6 @@ function isDownloading(event) {
|
|
|
79189
79189
|
if (tagName === "input" && element2.type === "submit") return true;
|
|
79190
79190
|
return false;
|
|
79191
79191
|
}
|
|
79192
|
-
function fireEvent(element2, type, eventInit) {
|
|
79193
|
-
const event = new Event(type, eventInit);
|
|
79194
|
-
return element2.dispatchEvent(event);
|
|
79195
|
-
}
|
|
79196
79192
|
function fireBlurEvent(element2, eventInit) {
|
|
79197
79193
|
const event = new FocusEvent("blur", eventInit);
|
|
79198
79194
|
const defaultAllowed = element2.dispatchEvent(event);
|
|
@@ -131043,7 +131039,7 @@ function EditorViewer({
|
|
|
131043
131039
|
prefixForIds = "",
|
|
131044
131040
|
doenetViewerUrl,
|
|
131045
131041
|
darkMode = "light",
|
|
131046
|
-
|
|
131042
|
+
showAnswerResponseButton = false,
|
|
131047
131043
|
answerResponseCounts = {},
|
|
131048
131044
|
width = "100%",
|
|
131049
131045
|
height = "500px",
|
|
@@ -131328,7 +131324,7 @@ function EditorViewer({
|
|
|
131328
131324
|
] }) : null,
|
|
131329
131325
|
/* @__PURE__ */ jsxRuntimeExports$3.jsxs("div", { className: "doenetml-version", title: "DoenetML version", children: [
|
|
131330
131326
|
"Version: ",
|
|
131331
|
-
"0.7.0-
|
|
131327
|
+
"0.7.0-alpha55"
|
|
131332
131328
|
] })
|
|
131333
131329
|
] })
|
|
131334
131330
|
] });
|
|
@@ -131446,7 +131442,7 @@ function EditorViewer({
|
|
|
131446
131442
|
doenetViewerUrl,
|
|
131447
131443
|
scrollableContainer: scrollableContainer.current ?? void 0,
|
|
131448
131444
|
darkMode,
|
|
131449
|
-
|
|
131445
|
+
showAnswerResponseButton,
|
|
131450
131446
|
answerResponseCounts,
|
|
131451
131447
|
fetchExternalDoenetML
|
|
131452
131448
|
}
|
|
@@ -131547,7 +131543,7 @@ function DoenetViewer({
|
|
|
131547
131543
|
doenetViewerUrl,
|
|
131548
131544
|
scrollableContainer,
|
|
131549
131545
|
darkMode = "light",
|
|
131550
|
-
|
|
131546
|
+
showAnswerResponseButton = false,
|
|
131551
131547
|
answerResponseCounts = {},
|
|
131552
131548
|
includeVariantSelector = false,
|
|
131553
131549
|
initializeCounters = {},
|
|
@@ -131649,7 +131645,7 @@ function DoenetViewer({
|
|
|
131649
131645
|
doenetViewerUrl,
|
|
131650
131646
|
scrollableContainer,
|
|
131651
131647
|
darkMode,
|
|
131652
|
-
|
|
131648
|
+
showAnswerResponseButton,
|
|
131653
131649
|
answerResponseCounts,
|
|
131654
131650
|
initializeCounters,
|
|
131655
131651
|
fetchExternalDoenetML
|
|
@@ -131694,7 +131690,7 @@ function DoenetEditor({
|
|
|
131694
131690
|
externalVirtualKeyboardProvided = false,
|
|
131695
131691
|
doenetViewerUrl,
|
|
131696
131692
|
darkMode = "light",
|
|
131697
|
-
|
|
131693
|
+
showAnswerResponseButton = false,
|
|
131698
131694
|
answerResponseCounts = {},
|
|
131699
131695
|
width,
|
|
131700
131696
|
height,
|
|
@@ -131731,7 +131727,7 @@ function DoenetEditor({
|
|
|
131731
131727
|
prefixForIds,
|
|
131732
131728
|
doenetViewerUrl,
|
|
131733
131729
|
darkMode,
|
|
131734
|
-
|
|
131730
|
+
showAnswerResponseButton,
|
|
131735
131731
|
answerResponseCounts,
|
|
131736
131732
|
width,
|
|
131737
131733
|
height,
|
|
@@ -131798,10 +131794,10 @@ export {
|
|
|
131798
131794
|
DoenetViewer as D,
|
|
131799
131795
|
EditorViewer as E,
|
|
131800
131796
|
FocusedMathInputContext as F,
|
|
131801
|
-
|
|
131802
|
-
|
|
131803
|
-
|
|
131804
|
-
|
|
131797
|
+
createStore as G,
|
|
131798
|
+
useStoreProps as H,
|
|
131799
|
+
usePopoverStoreProps as I,
|
|
131800
|
+
useStore as J,
|
|
131805
131801
|
createStoreContext as K,
|
|
131806
131802
|
PopoverContextProvider as L,
|
|
131807
131803
|
MathJax as M,
|
|
@@ -131830,40 +131826,12 @@ export {
|
|
|
131830
131826
|
hasFocusWithin as a7,
|
|
131831
131827
|
createDialogComponent as a8,
|
|
131832
131828
|
forwardRef2 as a9,
|
|
131833
|
-
usePopoverDisclosure as aA,
|
|
131834
|
-
memo2 as aB,
|
|
131835
|
-
isDownloading as aC,
|
|
131836
|
-
isOpeningInNewTab as aD,
|
|
131837
|
-
useCompositeItem as aE,
|
|
131838
|
-
useCompositeHover as aF,
|
|
131839
|
-
getDocument as aG,
|
|
131840
|
-
getAugmentedNamespace$2 as aH,
|
|
131841
131829
|
createElement as aa,
|
|
131842
131830
|
disabledFromProps as ab,
|
|
131843
131831
|
useFocusable as ac,
|
|
131844
|
-
|
|
131845
|
-
|
|
131846
|
-
|
|
131847
|
-
mergeStore as ag,
|
|
131848
|
-
omit2 as ah,
|
|
131849
|
-
pick2 as ai,
|
|
131850
|
-
throwOnConflictingProps as aj,
|
|
131851
|
-
createCompositeStore as ak,
|
|
131852
|
-
setup as al,
|
|
131853
|
-
applyState as am,
|
|
131854
|
-
useComboboxProviderContext as an,
|
|
131855
|
-
useStore as ao,
|
|
131856
|
-
useUpdateEffect as ap,
|
|
131857
|
-
useCompositeStoreProps as aq,
|
|
131858
|
-
useId as ar,
|
|
131859
|
-
useStoreState as as,
|
|
131860
|
-
isHidden as at,
|
|
131861
|
-
useComposite as au,
|
|
131862
|
-
useCompositeTypeahead as av,
|
|
131863
|
-
fireEvent as aw,
|
|
131864
|
-
Role as ax,
|
|
131865
|
-
getPopupItemRole as ay,
|
|
131866
|
-
getPopupRole as az,
|
|
131832
|
+
Button as ad,
|
|
131833
|
+
getDefaultExportFromCjs$6 as ae,
|
|
131834
|
+
getAugmentedNamespace$2 as af,
|
|
131867
131835
|
serializedComponentsReviver as b,
|
|
131868
131836
|
cidFromText as c,
|
|
131869
131837
|
DocContext as d,
|
|
@@ -131885,8 +131853,8 @@ export {
|
|
|
131885
131853
|
textRendererStyle as t,
|
|
131886
131854
|
useRecordVisibilityChanges as u,
|
|
131887
131855
|
keyboardSlice as v,
|
|
131888
|
-
|
|
131889
|
-
|
|
131890
|
-
|
|
131891
|
-
|
|
131856
|
+
createPopoverStore as w,
|
|
131857
|
+
__spreadProps as x,
|
|
131858
|
+
defaultValue as y,
|
|
131859
|
+
__spreadValues as z
|
|
131892
131860
|
};
|
package/doenetml.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const defaultFlags: DoenetMLFlags;
|
|
|
20
20
|
* for processing events from the virtual keyboard.
|
|
21
21
|
*/
|
|
22
22
|
export declare const FocusedMathInputContext: React.Context<React.MutableRefObject<HTMLElement | null>>;
|
|
23
|
-
export declare function DoenetViewer({ doenetML, flags: specifiedFlags, activityId, docId, prefixForIds, userId, attemptNumber, render, requestedVariantIndex, initialState, reportScoreAndStateCallback, setIsInErrorState, generatedVariantCallback: specifiedGeneratedVariantCallback, documentStructureCallback, initializedCallback, setErrorsAndWarningsCallback, forceDisable, forceShowCorrectness, forceShowSolution, forceUnsuppressCheckwork, addVirtualKeyboard, externalVirtualKeyboardProvided, doenetViewerUrl, scrollableContainer, darkMode,
|
|
23
|
+
export declare function DoenetViewer({ doenetML, flags: specifiedFlags, activityId, docId, prefixForIds, userId, attemptNumber, render, requestedVariantIndex, initialState, reportScoreAndStateCallback, setIsInErrorState, generatedVariantCallback: specifiedGeneratedVariantCallback, documentStructureCallback, initializedCallback, setErrorsAndWarningsCallback, forceDisable, forceShowCorrectness, forceShowSolution, forceUnsuppressCheckwork, addVirtualKeyboard, externalVirtualKeyboardProvided, doenetViewerUrl, scrollableContainer, darkMode, showAnswerResponseButton, answerResponseCounts, includeVariantSelector, initializeCounters, fetchExternalDoenetML, onInit, }: {
|
|
24
24
|
doenetML: string;
|
|
25
25
|
flags?: DoenetMLFlagsSubset;
|
|
26
26
|
activityId?: string;
|
|
@@ -46,7 +46,7 @@ export declare function DoenetViewer({ doenetML, flags: specifiedFlags, activity
|
|
|
46
46
|
doenetViewerUrl?: string;
|
|
47
47
|
scrollableContainer?: HTMLDivElement | Window;
|
|
48
48
|
darkMode?: "dark" | "light";
|
|
49
|
-
|
|
49
|
+
showAnswerResponseButton?: boolean;
|
|
50
50
|
answerResponseCounts?: Record<string, number>;
|
|
51
51
|
includeVariantSelector?: boolean;
|
|
52
52
|
initializeCounters?: Record<string, number>;
|
|
@@ -57,7 +57,7 @@ export declare function DoenetViewer({ doenetML, flags: specifiedFlags, activity
|
|
|
57
57
|
*/
|
|
58
58
|
onInit?: (elm: HTMLElement) => void;
|
|
59
59
|
}): React.JSX.Element;
|
|
60
|
-
export declare function DoenetEditor({ doenetML, activityId, prefixForIds, addVirtualKeyboard, externalVirtualKeyboardProvided, doenetViewerUrl, darkMode,
|
|
60
|
+
export declare function DoenetEditor({ doenetML, activityId, prefixForIds, addVirtualKeyboard, externalVirtualKeyboardProvided, doenetViewerUrl, darkMode, showAnswerResponseButton, answerResponseCounts, width, height, viewerLocation, backgroundColor, showViewer, doenetmlChangeCallback, immediateDoenetmlChangeCallback, documentStructureCallback, id, readOnly, showFormatter, showErrorsWarnings, showResponses, border, initialErrors, initialWarnings, fetchExternalDoenetML, }: {
|
|
61
61
|
doenetML: string;
|
|
62
62
|
activityId?: string;
|
|
63
63
|
prefixForIds?: string;
|
|
@@ -65,7 +65,7 @@ export declare function DoenetEditor({ doenetML, activityId, prefixForIds, addVi
|
|
|
65
65
|
externalVirtualKeyboardProvided?: boolean;
|
|
66
66
|
doenetViewerUrl?: string;
|
|
67
67
|
darkMode?: "dark" | "light";
|
|
68
|
-
|
|
68
|
+
showAnswerResponseButton?: boolean;
|
|
69
69
|
answerResponseCounts?: Record<string, number>;
|
|
70
70
|
width?: string;
|
|
71
71
|
height?: string;
|
package/doenetml.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doenetml.d.ts","sourceRoot":"","sources":["../src/doenetml.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,OAAO,KAAmD,MAAM,OAAO,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AAE,QAAQ,CAAC;IAC3C,yBAAyB,CAAC,EAAE,QAAQ,CAAC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,WAAW,EAAE,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;IAClC,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5D,qBA4DA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const ellipsis = React__default.memo(function Ellipsis(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-TjAu4fHD.js";
|
|
5
5
|
const em = React__default.memo(function Em(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const embed = React__default.memo(function Figure(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DOHR9mG3.js";
|
|
5
5
|
import { f as faComment } from "./index-C7xexYkN.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
7
|
+
import { a as addCommasForCompositeRanges } from "./composites-TjAu4fHD.js";
|
|
8
8
|
const FeedbackStyling = styled.aside`
|
|
9
9
|
background-color: var(--canvas);
|
|
10
10
|
margin: 0px 4px 12px 4px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { createElement, Component, useRef, useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { P as PropTypes } from "./index-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { P as PropTypes } from "./index-DP21-YKk.js";
|
|
5
5
|
function _extends() {
|
|
6
6
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
7
7
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const footnote = React__default.memo(function Footnote(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
let [isVisible, setIsVisible] = useState(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, e as Context, f as cesc } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, e as Context, f as cesc } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { createContext, useState, useRef, useEffect } from "react";
|
|
3
3
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
5
5
|
var __webpack_modules__ = {
|
|
6
6
|
351: (t, e, i2) => {
|
|
7
7
|
i2.d(e, { Z: () => n });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DOHR9mG3.js";
|
|
5
5
|
import { f as faLightbulb } from "./index-CS9Bi7Fd.js";
|
|
6
6
|
import { a as faLightbulb$1 } from "./index-C7xexYkN.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
8
|
+
import { a as addCommasForCompositeRanges } from "./composites-TjAu4fHD.js";
|
|
9
9
|
const SpanStyling = styled.span`
|
|
10
10
|
&: focus {
|
|
11
11
|
outline: 2px solid var(--canvastext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const hr = React__default.memo(function Hr(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, e as Context, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, e as Context, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-BJc72uU7.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
6
|
const image = React__default.memo(function Image(props) {
|
|
7
7
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BJc72uU7.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
5
5
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-Sj2XO7Lr.js";
|
|
6
6
|
const label = React__default.memo(function Label(props) {
|
|
7
7
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as deepCompare, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as deepCompare, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { BoardContext } from "./graph-BJc72uU7.js";
|
|
5
5
|
const legend = React__default.memo(function Legend(props) {
|
|
6
6
|
let { id, SVs } = useDoenetRenderer(props);
|
|
7
7
|
const board = useContext(BoardContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { d as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BJc72uU7.js";
|
|
5
5
|
const line = React__default.memo(function Line(props) {
|
|
6
6
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
7
7
|
Line.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { d as DocContext, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-BJc72uU7.js";
|
|
5
5
|
const lineSegment = React__default.memo(function LineSegment(props) {
|
|
6
6
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
7
7
|
LineSegment.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-TjAu4fHD.js";
|
|
5
5
|
const list = React__default.memo(function List(props) {
|
|
6
6
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
7
7
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const lq = React__default.memo(function Lq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const lsq = React__default.memo(function Lsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BJc72uU7.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
5
5
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-Sj2XO7Lr.js";
|
|
6
6
|
const math = React__default.memo(function MathComponent(props) {
|
|
7
7
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as commonjsGlobal, h as useAppSelector, v as keyboardSlice, F as FocusedMathInputContext, j as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { q as commonjsGlobal, h as useAppSelector, v as keyboardSlice, F as FocusedMathInputContext, j as jsxRuntimeExports, M as MathJax } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useContext, useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DOHR9mG3.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { a as faLevelDownAlt, b as faCheck, c as faTimes, d as faCloud } from "./index-CS9Bi7Fd.js";
|
|
7
7
|
/* empty css */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports, A as ActionButtonGroup, n as ActionButton } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports, A as ActionButtonGroup, n as ActionButton } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DOHR9mG3.js";
|
|
5
5
|
import { a as faLevelDownAlt, b as faCheck, c as faTimes, d as faCloud } from "./index-CS9Bi7Fd.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const mdash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const nbsp = React__default.memo(function Nbsp(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
const ndash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BJc72uU7.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
5
5
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-Sj2XO7Lr.js";
|
|
6
6
|
const number = React__default.memo(function NumberComponent(props) {
|
|
7
7
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { createRef, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
const Box = styled.svg`
|
|
6
6
|
border: "2px solid red";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, B as Button } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, B as Button } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { createRef, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
const Box = styled.svg`
|
|
6
6
|
border: "2px solid red";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-sRNYlCqd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaxiEBL2.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-TjAu4fHD.js";
|
|
5
5
|
const p = React__default.memo(function P(props) {
|
|
6
6
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
7
7
|
const ref = useRef(null);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@doenet/doenetml",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Semantic markup for building interactive web activities",
|
|
5
|
-
"version": "0.7.0-
|
|
5
|
+
"version": "0.7.0-alpha55",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"homepage": "https://github.com/Doenet/DoenetML#readme",
|
|
8
8
|
"repository": "github:Doenet/DoenetML",
|