@doenet/doenetml 0.7.21-dev.427 → 0.7.21-dev.428
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/{AnswerResponseButton-BCReBLy5.js → AnswerResponseButton-BSQl-73O.js} +2 -2
- package/{Description-B2eClTnX.js → Description-BDYE3VzU.js} +1 -1
- package/{GraphFrame-ipK76NhD.js → GraphFrame-BmdC7ErI.js} +2 -2
- package/{JSXGraphRenderer-B8soFDbH.js → JSXGraphRenderer-DzdCM1R4.js} +1 -1
- package/{NonInlineMediaWrapper-C2RtKYwl.js → NonInlineMediaWrapper-BJpaI-k5.js} +1 -1
- package/Viewer/renderers/list.d.ts.map +1 -1
- package/Viewer/renderers/p.d.ts +9 -1
- package/Viewer/renderers/p.d.ts.map +1 -1
- package/{_error-D17v0uJ8.js → _error-kIKt19tE.js} +2 -2
- package/{alert-DZGwteGt.js → alert-CMQfduYf.js} +3 -3
- package/{angle-CMYUaaKa.js → angle-m3rH1GkF.js} +6 -6
- package/{answer-Cs40B36C.js → answer-BJREQgku.js} +5 -5
- package/{asList-DaF3PDfj.js → asList-DsW7abmx.js} +2 -2
- package/{blockQuote-DC1GgbVx.js → blockQuote-rfrQC_ke.js} +3 -3
- package/{boolean-DxINx-34.js → boolean-B0feVmsv.js} +2 -2
- package/{booleanInput-BLEWQ7xN.js → booleanInput-CMEIjJYx.js} +6 -6
- package/{br-8YnzQou1.js → br-CQd9t1zo.js} +2 -2
- package/{button-CPCJJmxD.js → button-C7rtaKiH.js} +4 -4
- package/{c-NOuS3Mrr.js → c-tMDNy9ib.js} +3 -3
- package/{cell-C6sFCHxh.js → cell-B0PJSM04.js} +3 -3
- package/{choiceInput-C5Nx9mlO.js → choiceInput-DoPcoUFY.js} +4 -4
- package/{circle-5OntqSxX.js → circle-BJRGHY5C.js} +6 -6
- package/{cobwebPolyline-5Rhv_ATM.js → cobwebPolyline-DHGHB0Ny.js} +4 -4
- package/{codeEditor-BJgakuTM.js → codeEditor-D0_93yZu.js} +2 -2
- package/{composites-D0nYfYLt.js → composites-DjUQP4hg.js} +1 -1
- package/{containerBlock-Bk_HU6MR.js → containerBlock-SOmAJJ7X.js} +4 -4
- package/{containerInline-BYfVGGjj.js → containerInline-DfhgZbdH.js} +4 -4
- package/{curve-Blk8KI52.js → curve-BtyPX7Zb.js} +4 -4
- package/{doenetml-D4SQOp1R.js → doenetml-BKikn2X0.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BMXiAtdl.js → ellipsis-D0D27dys.js} +2 -2
- package/{em-6zk9wfdy.js → em-DEVF7AhV.js} +3 -3
- package/{embed-CcymcpHo.js → embed-DdIrD5-f.js} +2 -2
- package/{feedback-Bu37-qzF.js → feedback-CkDqwrpR.js} +4 -4
- package/{figure-RE8revPk.js → figure-ZP_hW4N3.js} +3 -3
- package/{fillPatterns-CjmzzGuG.js → fillPatterns-C7IX6B3k.js} +1 -1
- package/{footnote-CqcrQPz7.js → footnote-B-64S7XI.js} +3 -3
- package/{fractionInput-q8QtS7ej.js → fractionInput-D0bwLPQv.js} +4 -4
- package/{graph-DmOpPVn7.js → graph-CblvRNRR.js} +6 -6
- package/{hint-Dp_Ejrrz.js → hint-BcxT_pEC.js} +4 -4
- package/{hr-BvSocWAV.js → hr-MM7sBkci.js} +2 -2
- package/{image-k2ZmB0ow.js → image-DfNhrQ-v.js} +7 -7
- package/{index-CL_K-_-U.js → index-DSslNFr7.js} +1 -1
- package/{index.es-rIKoSZz-.js → index.es-DzzWYLzU.js} +1 -1
- package/index.js +1 -1
- package/{label-Dyng4R_0.js → label-BpTOt8wO.js} +6 -6
- package/{labelWithLatex-Dd-2tmLp.js → labelWithLatex-BJiFnr_q.js} +1 -1
- package/{legend-kr_lWokr.js → legend-DYSjtqys.js} +4 -4
- package/{line-BqHRmqR-.js → line-J7IGlE-s.js} +6 -6
- package/{lineFamilyDragHandlers-D8JOk_36.js → lineFamilyDragHandlers-DkyWffw8.js} +1 -1
- package/{lineSegment-CQP_Bgvp.js → lineSegment-U4YXFeGW.js} +5 -5
- package/{list-9ouNfqDa.js → list-C_RfTTBP.js} +19 -5
- package/{lq-5qFwUxKT.js → lq-BOJoqB6p.js} +2 -2
- package/{lsq-BkVynwfR.js → lsq-BFsp2GMC.js} +2 -2
- package/{markupRenderer-ClXiBoyX.js → markupRenderer-BNLL96Mm.js} +1 -1
- package/{math-CN-9cYDY.js → math-BlNd3rGM.js} +6 -6
- package/{mathInput-DsbykZSp.js → mathInput-BdrQJE-a.js} +7 -7
- package/{matrixInput-CZtyFINy.js → matrixInput-D6CpnTdk.js} +4 -4
- package/{mdash-aF0Bfm0I.js → mdash-CQ7RWNwe.js} +2 -2
- package/{nbsp-Bjj-usyV.js → nbsp-BhvcJfEk.js} +2 -2
- package/{ndash-BxxRDxNs.js → ndash-BKcBGvZg.js} +2 -2
- package/{number-CRHtdFRh.js → number-D8hWrqcj.js} +6 -6
- package/{orbitalDiagram-DFIJeMa8.js → orbitalDiagram-jNeBHeSp.js} +2 -2
- package/{orbitalDiagramInput-B5KjWRzJ.js → orbitalDiagramInput--2_rV-kG.js} +2 -2
- package/{p-CzBGkrk2.js → p-7PGfOT7A.js} +5 -4
- package/package.json +1 -1
- package/{paginatorControls-Dr5o61TU.js → paginatorControls-NQ0g6hEr.js} +2 -2
- package/{pegboard-CXZ7R5wF.js → pegboard-KtFY_--6.js} +4 -4
- package/{point-BWnoqekh.js → point-D99nV02w.js} +6 -6
- package/{polygon-OIrhQNrq.js → polygon-32WHjMVQ.js} +6 -6
- package/{polyline-wly93YyS.js → polyline-BxTpZDSs.js} +5 -5
- package/{pre-BDdhe-ar.js → pre-BGw6j0MG.js} +3 -3
- package/{prefigure-CB6ryDTB.js → prefigure-CYTon6uN.js} +1 -1
- package/{pretzel-CqCSiRUc.js → pretzel-BfgCj0vk.js} +4 -4
- package/{q-DVjKT6W-.js → q-CYBuHCoY.js} +3 -3
- package/{ray-Dpb1Yq8K.js → ray-CR4VhLEx.js} +5 -5
- package/{ref-uWPvUGG7.js → ref-BQFM_C2-.js} +2 -2
- package/{regionBetweenCurveXAxis-DgE64WDJ.js → regionBetweenCurveXAxis-DQzmMFWI.js} +5 -5
- package/{regionBetweenCurves-Bzm4r0jG.js → regionBetweenCurves-CMhMx4l2.js} +5 -5
- package/{row-D68A7RMP.js → row-Do-tzgjM.js} +2 -2
- package/{rq-C4jtkw15.js → rq-D20ONB5k.js} +2 -2
- package/{rsq-3SwB1FyU.js → rsq-ChoizgPo.js} +2 -2
- package/{section-DalcaV4N.js → section-E_oXMjZR.js} +5 -5
- package/{sha256-Bzrm4-tO-DnNS33bQ.js → sha256-Bzrm4-tO-BE6JQ1H_.js} +1 -1
- package/{sideBySide-CzwfUajz.js → sideBySide-CzxEMgdo.js} +2 -2
- package/{slider-DZK0yaCU.js → slider-BlPdy9aD.js} +3 -3
- package/{solution-5_MsVgtn.js → solution-BJ342EKa.js} +4 -4
- package/{spreadsheet-B7kkHN9A.js → spreadsheet-CF6SDQfR.js} +2 -2
- package/{sq-CcE3zXpT.js → sq-BIHlw9j-.js} +3 -3
- package/{subsetOfRealsInput-CY2zqkZ2.js → subsetOfRealsInput-BBeVBRXM.js} +2 -2
- package/{summaryStatistics-BJwe-CAF.js → summaryStatistics-CiKxTSvJ.js} +2 -2
- package/{table-D5CvKMfp.js → table-B00ECN-U.js} +2 -2
- package/{tabular-QuziJrOb.js → tabular-BYhdbEap.js} +2 -2
- package/{tag-DC7OP8OT.js → tag-DsZPY3vP.js} +2 -2
- package/{text-CYtuOOlW.js → text-DRpTOasn.js} +6 -6
- package/{textInput-CY2jTWzj.js → textInput-cmEQWm_C.js} +6 -6
- package/{tooltip-provider-23tjXpa6.js → tooltip-provider-CKKT396d.js} +1 -1
- package/{useAnchoredGraphDragHandler-BC6XYBSk.js → useAnchoredGraphDragHandler-DVN9cDAN.js} +1 -1
- package/useDoenetRenderer-CtZAm8nc.js +114 -0
- package/{useSubmitActionWithDelay-u8Qf2uDt.js → useSubmitActionWithDelay-C5Z7c4CT.js} +2 -2
- package/{vector-Bpa01pEb.js → vector-DDZCAP_H.js} +6 -6
- package/{video-D5PVIlRk.js → video-DNGvJNPP.js} +4 -4
- package/useDoenetRenderer-BR_N2IGC.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BNLL96Mm.js";
|
|
5
5
|
const em = React__default.memo(function Em(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const embed = React__default.memo(function Embed(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DzzWYLzU.js";
|
|
5
5
|
import { f as faComment } from "./index-CwWLcRpc.js";
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DjUQP4hg.js";
|
|
7
7
|
const feedback = React__default.memo(function Feedback(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const t = useT();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { createElement, Component, useRef, useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
import { _ as _setPrototypeOf, a as _objectWithoutPropertiesLoose, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
|
|
5
|
-
import { P as PropTypes } from "./index-
|
|
5
|
+
import { P as PropTypes } from "./index-DSslNFr7.js";
|
|
6
6
|
function _inheritsLoose(t, o) {
|
|
7
7
|
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as encodeFillPatternColorToken } from "./doenetml-
|
|
1
|
+
import { J as encodeFillPatternColorToken } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
const warnedUnsupportedFillStyles = /* @__PURE__ */ new Set();
|
|
3
3
|
function warnUnsupportedFillStyle(fillStyle) {
|
|
4
4
|
if (warnedUnsupportedFillStyles.has(fillStyle)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, F as Button } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, F as Button } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-CKKT396d.js";
|
|
5
5
|
const footnote = React__default.memo(function Footnote(props) {
|
|
6
6
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
7
7
|
let [isVisible, setIsVisible] = useState(false);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { x as useContentT, q as jsxRuntimeExports, R as MathJax } from "./doenetml-
|
|
1
|
+
import { x as useContentT, q as jsxRuntimeExports, R as MathJax } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.js";
|
|
6
6
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-BDYE3VzU.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const tContent = useContentT();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, ay as roundForDisplay, z as Context, y as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, ay as roundForDisplay, z as Context, y as useRecordVisibilityChanges } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useMemo, createContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import Prefigure from "./prefigure-
|
|
5
|
-
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-
|
|
6
|
-
import GraphFrame from "./GraphFrame-
|
|
7
|
-
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
|
+
import Prefigure from "./prefigure-CYTon6uN.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-BJiFnr_q.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-BmdC7ErI.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
8
8
|
const GRAPH_CONTROL_CARD_STYLE = {
|
|
9
9
|
width: "100%",
|
|
10
10
|
boxSizing: "border-box",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DzzWYLzU.js";
|
|
5
5
|
import { b as faLightbulb } from "./index-BDlitCgu.js";
|
|
6
6
|
import { a as faLightbulb$1 } from "./index-CwWLcRpc.js";
|
|
7
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
7
|
+
import { a as addCommasForCompositeRanges } from "./composites-DjUQP4hg.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const hint = React__default.memo(function Hint(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
const hr = React__default.memo(function Hr(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as DocContext, y as useRecordVisibilityChanges, z as Context, q as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { t as DocContext, y as useRecordVisibilityChanges, z as Context, q as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef, useMemo } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
6
6
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
7
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
7
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BDYE3VzU.js";
|
|
8
8
|
import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
9
|
-
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-
|
|
9
|
+
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BJpaI-k5.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
12
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
12
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DVN9cDAN.js";
|
|
13
13
|
const image = React__default.memo(function Image(props) {
|
|
14
14
|
let { componentIdx, id, SVs, children, actions, callAction } = useDoenetRenderer(props, false);
|
|
15
15
|
Image.ignoreActionsWithoutCore = () => true;
|
package/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DVN9cDAN.js";
|
|
11
11
|
const label = React__default.memo(function Label(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Label.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { K as deepCompare, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { K as deepCompare, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext } from "./graph-CblvRNRR.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
const legend = React__default.memo(function Legend(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { t as DocContext, S as hasNavigationModifier } from "./doenetml-
|
|
2
|
+
import { t as DocContext, S as hasNavigationModifier } from "./doenetml-BKikn2X0.js";
|
|
3
3
|
import { e as exceededDragThreshold } from "./dragThreshold-DuSSFrIU.js";
|
|
4
4
|
function useSourceNavigation(domId) {
|
|
5
5
|
const { reportGraphElementUp } = useContext(DocContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.js";
|
|
7
7
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { x as useContentT, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useContentT, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DjUQP4hg.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
|
@@ -41,7 +41,7 @@ const list = React__default.memo(function List(props) {
|
|
|
41
41
|
}
|
|
42
42
|
if (SVs.item) {
|
|
43
43
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { id, ref, children: [
|
|
44
|
-
children,
|
|
44
|
+
markLeadingParagraphOfListItem(children),
|
|
45
45
|
checkWorkComponent
|
|
46
46
|
] });
|
|
47
47
|
} else if (SVs.numbered) {
|
|
@@ -83,6 +83,20 @@ const list = React__default.memo(function List(props) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
|
+
function markLeadingParagraphOfListItem(children) {
|
|
87
|
+
const leadingInd = children.findIndex(
|
|
88
|
+
(child) => child != null && !(typeof child === "string" && child.trim() === "")
|
|
89
|
+
);
|
|
90
|
+
const leadingChild = children[leadingInd];
|
|
91
|
+
if (!React__default.isValidElement(leadingChild) || leadingChild.props.componentInstructions?.rendererType !== "p") {
|
|
92
|
+
return children;
|
|
93
|
+
}
|
|
94
|
+
const markedChildren = [...children];
|
|
95
|
+
markedChildren[leadingInd] = React__default.cloneElement(leadingChild, {
|
|
96
|
+
isLeadingListItemParagraph: true
|
|
97
|
+
});
|
|
98
|
+
return markedChildren;
|
|
99
|
+
}
|
|
86
100
|
const unnumberedStyles = ["disc", "circle", "square"];
|
|
87
101
|
const styleTypeByLevel = {
|
|
88
102
|
numbered: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
const lsq = React__default.memo(function Lsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DVN9cDAN.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, x as useContentT, G as useAppSelector, au as keyboardSlice, av as FocusedMathInputContext, z as Context, aw as PopoverAnchor, R as MathJax, a8 as usePopoverStore, a1 as useStoreState, u as useT, o as useChromeLangDir, ab as Popover } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, x as useContentT, G as useAppSelector, au as keyboardSlice, av as FocusedMathInputContext, z as Context, aw as PopoverAnchor, R as MathJax, a8 as usePopoverStore, a1 as useStoreState, u as useT, o as useChromeLangDir, ab as Popover } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef, useEffect, useContext, useState, useMemo } from "react";
|
|
3
3
|
import { createPortal } from "react-dom";
|
|
4
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
6
|
-
import { P as PropTypes } from "./index-
|
|
7
|
-
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-
|
|
4
|
+
import { j as jxg } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
6
|
+
import { P as PropTypes } from "./index-DSslNFr7.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-BDYE3VzU.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
9
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
11
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
12
12
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
13
13
|
const DEFAULT_MATH_INPUT_FUNCTION_NAMES = [
|
|
14
14
|
"arg",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, x as useContentT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, R as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, R as MathJax } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DescriptionPopover } from "./Description-
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-BDYE3VzU.js";
|
|
7
7
|
const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
8
8
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const t = useT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
const mdash = React__default.memo(function Mdash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
const ndash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DVN9cDAN.js";
|
|
11
11
|
const number = React__default.memo(function NumberComponent(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
NumberComponent.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const ORBITAL_ARROW_STYLE = {
|
|
6
6
|
fill: "none",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, B as Button2 } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const ORBITAL_ARROW_STYLE = {
|
|
6
6
|
fill: "none",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { x as useContentT, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useContentT, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DjUQP4hg.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.js";
|
|
6
6
|
const p = React__default.memo(function P(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
|
@@ -45,6 +45,7 @@ const p = React__default.memo(function P(props) {
|
|
|
45
45
|
id,
|
|
46
46
|
ref,
|
|
47
47
|
className: "para",
|
|
48
|
+
role: props.isLeadingListItemParagraph ? "presentation" : "paragraph",
|
|
48
49
|
style: SVs.renderInlineForListItem ? { marginTop: 0 } : void 0,
|
|
49
50
|
children: [
|
|
50
51
|
children,
|
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.21-dev.
|
|
5
|
+
"version": "0.7.21-dev.428",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"homepage": "https://github.com/Doenet/DoenetML#readme",
|
|
8
8
|
"repository": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, B as Button2 } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
const paginatorControls = React__default.memo(function PaginatorControls(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
2
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { z as Context } from "./doenetml-
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
5
|
+
import { z as Context } from "./doenetml-BKikn2X0.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
const pegboard = React__default.memo(function Pegboard(props) {
|
|
8
8
|
let { SVs } = useDoenetRenderer(props);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as DocContext, v as textRendererStyle, q as jsxRuntimeExports, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, v as textRendererStyle, q as jsxRuntimeExports, w as DynamicMath } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint } from "./offGraphIndicators-CYoqQHuD.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
9
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
12
12
|
import { c as resolveMarkerColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
10
10
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
11
11
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
12
12
|
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-C7IX6B3k.js";
|
|
14
14
|
const polygon = React__default.memo(function Polygon(props) {
|
|
15
15
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
16
16
|
Polygon.ignoreActionsWithoutCore = () => true;
|