@doenet/doenetml 0.7.21-dev.416 → 0.7.21-dev.417
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-Dd0HJDB-.js → AnswerResponseButton-DRQPLlOM.js} +2 -2
- package/{Description-CeSquB0w.js → Description-DzHJcqCq.js} +1 -1
- package/{GraphFrame-7iZnp0Pp.js → GraphFrame-BrgLBP-l.js} +2 -2
- package/{JSXGraphRenderer-CH3Etvtx.js → JSXGraphRenderer-3rMxl-PD.js} +3 -2
- package/{NonInlineMediaWrapper-BPKCeJoI.js → NonInlineMediaWrapper-CTSA5ztb.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/Viewer/renderers/JSXGraphRenderer.d.ts.map +1 -1
- package/Viewer/renderers/_error.d.ts.map +1 -1
- package/Viewer/renderers/cell.d.ts.map +1 -1
- package/Viewer/renderers/feedback.d.ts.map +1 -1
- package/Viewer/renderers/fractionInput.d.ts.map +1 -1
- package/Viewer/renderers/hint.d.ts.map +1 -1
- package/Viewer/renderers/mathInput.d.ts.map +1 -1
- package/Viewer/renderers/mathquill/EditableMathField.d.ts.map +1 -1
- package/Viewer/renderers/matrixInput.d.ts.map +1 -1
- package/Viewer/renderers/orbitalDiagram.d.ts.map +1 -1
- package/Viewer/renderers/orbitalDiagramInput.d.ts.map +1 -1
- package/Viewer/renderers/prefigure.d.ts.map +1 -1
- package/Viewer/renderers/pretzel.d.ts.map +1 -1
- package/Viewer/renderers/row.d.ts.map +1 -1
- package/Viewer/renderers/section.d.ts.map +1 -1
- package/Viewer/renderers/sideBySide.d.ts.map +1 -1
- package/Viewer/renderers/slider.d.ts.map +1 -1
- package/Viewer/renderers/solution.d.ts.map +1 -1
- package/Viewer/renderers/spreadsheet.d.ts.map +1 -1
- package/Viewer/renderers/subsetOfRealsInput.d.ts.map +1 -1
- package/Viewer/renderers/summaryStatistics.d.ts.map +1 -1
- package/Viewer/renderers/textInput.d.ts.map +1 -1
- package/Viewer/renderers/utils/direction.d.ts +39 -0
- package/Viewer/renderers/utils/direction.d.ts.map +1 -0
- package/{_error-BpXkUOcQ.js → _error-BIkDYkum.js} +4 -3
- package/{alert-Dl4SKpDl.js → alert-40qlFB8j.js} +3 -3
- package/{angle-CHPAoa9_.js → angle-BOqYrXfU.js} +6 -6
- package/{answer-BfTY7xDk.js → answer-Dgwe0dei.js} +6 -6
- package/{asList-CIPYtO56.js → asList-B1sJDQs3.js} +2 -2
- package/{blockQuote-eD4WN8NB.js → blockQuote-BsG2geQs.js} +3 -3
- package/{boolean-AcXpBTjc.js → boolean-N29Fwify.js} +2 -2
- package/{booleanInput-D1KVVjD0.js → booleanInput-CcgJltzp.js} +7 -7
- package/{br-sGi9NZV-.js → br-BQAkKbws.js} +2 -2
- package/{button-zm1xKQ6P.js → button-D3QT17Wd.js} +4 -4
- package/{c-CS1KT-i7.js → c-Daf8CQwR.js} +3 -3
- package/{cell-DOy9dHlG.js → cell-BNmEKrA0.js} +3 -3
- package/{choiceInput-BGjmqGv1.js → choiceInput-DWcLPKV7.js} +8 -8
- package/{circle-CdXs4vCM.js → circle-L-xmtaHy.js} +6 -6
- package/{cobwebPolyline-nbaAuj6B.js → cobwebPolyline-BVdEUH2r.js} +4 -4
- package/{codeEditor-AH1NzGY5.js → codeEditor-D0xuKEXG.js} +2 -2
- package/{composites-_Ju1qHUH.js → composites-Dxl9i1nS.js} +1 -1
- package/{containerBlock-BJZA-hug.js → containerBlock-CdpPaxoi.js} +4 -4
- package/{containerInline-CErx1TlK.js → containerInline-DHFXTqAT.js} +4 -4
- package/{curve-CtGjIZZT.js → curve-5OW8O5t-.js} +4 -4
- package/direction-BwrU7jHk.js +9 -0
- package/{doenetml-CKC903On.js → doenetml-DynV7ZDD.js} +341 -102
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/doenetml.d.ts.map +1 -1
- package/{ellipsis-DfMIkq56.js → ellipsis-BJoPJy0v.js} +2 -2
- package/{em-C68xPdDA.js → em-C4h-YkRj.js} +3 -3
- package/{embed-EmlL532k.js → embed-CjlH0jbC.js} +2 -2
- package/{feedback-BWaksokN.js → feedback-EFnq4fTf.js} +6 -5
- package/{figure-DNohFiU-.js → figure-BiAWioqb.js} +3 -3
- package/{fillPatterns-BC4vIjlx.js → fillPatterns-DmAM78RG.js} +1 -1
- package/{footnote-C3cESiVn.js → footnote-U6eszrz5.js} +3 -3
- package/{fractionInput-CbT0Fr4D.js → fractionInput-Xkm2Vb3z.js} +7 -7
- package/{graph-Shoc8JnU.js → graph-BShdY7M2.js} +6 -6
- package/{hint-CNCxpEVu.js → hint-BJlVCHDc.js} +6 -5
- package/{hr-DccnD0xy.js → hr-D15XJLML.js} +2 -2
- package/{image-DKmanipP.js → image-unzIQyP1.js} +7 -7
- package/{index-dmesrz8k.js → index-D-0t5xCk.js} +1 -1
- package/{index.es-DEgUxk1r.js → index.es-B8Vdrw0-.js} +1 -1
- package/index.js +1 -1
- package/{label-iXHeUsem.js → label-D8LiLGZ0.js} +6 -6
- package/{labelWithLatex-DtXSmigp.js → labelWithLatex-VCThzoHG.js} +1 -1
- package/{legend-P8bA66Pn.js → legend-wHw8PHjz.js} +4 -4
- package/{line-DVW3oKW5.js → line-BcmltQzB.js} +6 -6
- package/{lineFamilyDragHandlers-Clzykt4r.js → lineFamilyDragHandlers-HSo2HwSH.js} +1 -1
- package/{lineSegment-CMfI8CzX.js → lineSegment-BYs7yPxL.js} +5 -5
- package/{list-D_mXsSXQ.js → list-79YU2kl7.js} +4 -4
- package/{lq-CyXQKGzw.js → lq-PHOAGpAp.js} +2 -2
- package/{lsq-CKkVotjY.js → lsq-DAA0vTFL.js} +2 -2
- package/{markupRenderer-D1tNv_Bq.js → markupRenderer-BJWUpWkE.js} +1 -1
- package/{math-DcMrHfiM.js → math-BVfjIEHd.js} +6 -6
- package/{mathInput-CM0oZNJB.js → mathInput-BtcN3WJR.js} +36 -19
- package/{matrixInput-FuKpVk_a.js → matrixInput-lugF0Kwk.js} +8 -8
- package/{mdash-BABxuRC_.js → mdash-DB7_sXiL.js} +2 -2
- package/{nbsp-CUYTxD8h.js → nbsp-j9m7y0-y.js} +2 -2
- package/{ndash-B-SHbaFG.js → ndash-COenOscW.js} +2 -2
- package/{number-BluUugiB.js → number-C5IDajKV.js} +6 -6
- package/{orbitalDiagram-CcsEMNH5.js → orbitalDiagram-LpaATJ7G.js} +10 -3
- package/{orbitalDiagramInput-BaR6FltQ.js → orbitalDiagramInput-CYnhgICY.js} +13 -6
- package/{p-DMbbK7I1.js → p-COajOvYn.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-B-F1HpS4.js → paginatorControls-DzpHO-mO.js} +2 -2
- package/{pegboard-BGC31Eyq.js → pegboard-BdfertiY.js} +4 -4
- package/{point-BT1XGRo9.js → point-BLFxaE8O.js} +6 -6
- package/{polygon-Cfu9QrkP.js → polygon-DSoochqM.js} +6 -6
- package/{polyline-san0khs-.js → polyline-CTIot66d.js} +5 -5
- package/{pre-BHN7blJZ.js → pre-xCSl5oZL.js} +3 -3
- package/{prefigure-C7f9UcnA.js → prefigure-FCWzkIVy.js} +2 -1
- package/{pretzel-CmIYOB8F.js → pretzel-RAJStYo8.js} +9 -6
- package/{q-tXX3oDTu.js → q-DRh3HpI-.js} +3 -3
- package/{ray-BMK7xaAg.js → ray-CG-m02gI.js} +5 -5
- package/{ref-65DT_x0u.js → ref-C2DexbxV.js} +2 -2
- package/{regionBetweenCurveXAxis-BsTsPQRg.js → regionBetweenCurveXAxis-C1iatjqu.js} +5 -5
- package/{regionBetweenCurves-C_M-pjuM.js → regionBetweenCurves-Cv-DJCUB.js} +5 -5
- package/{row-DKwY5fZc.js → row-DUzsOO4i.js} +2 -2
- package/{rq-aLJVzNtD.js → rq-DBf5-NZS.js} +2 -2
- package/{rsq-Bi1u3srM.js → rsq-CRwgd5gN.js} +2 -2
- package/{section-C_bOjYSJ.js → section-CEh-TNeP.js} +47 -50
- package/{sha256-Bzrm4-tO-BdovCL5S.js → sha256-Bzrm4-tO-D5VzcQ6q.js} +1 -1
- package/{sideBySide-C5qw_QnB.js → sideBySide-C_9_ghNz.js} +8 -2
- package/{slider-CikiyeRf.js → slider-DOgzk4EE.js} +34 -25
- package/{solution-DiHy7pvG.js → solution-CKUSv0BJ.js} +6 -5
- package/{spreadsheet-B389Kps5.js → spreadsheet-P7U0r_qV.js} +3 -2
- package/{sq-BhDFF5Cb.js → sq-CTORexcM.js} +3 -3
- package/style.css +240 -176
- package/{subsetOfRealsInput-9DbCcLIh.js → subsetOfRealsInput-CsAQMYD4.js} +71 -61
- package/{summaryStatistics-DqJOzS1v.js → summaryStatistics-BBREeWvh.js} +4 -3
- package/{table-DgP2sNth.js → table-Bhb19es1.js} +2 -2
- package/{tabular-CqOenfoA.js → tabular-DBI3KqQP.js} +2 -2
- package/{tag-B2133YF1.js → tag-BtGckMpT.js} +2 -2
- package/{text-Glel7vRT.js → text-7k2wXfRf.js} +6 -6
- package/{textInput-fbHYsYbe.js → textInput-lbnI_I3U.js} +8 -8
- package/{tooltip-provider-uV4ynrST.js → tooltip-provider-C8VlkKT9.js} +1 -1
- package/{useAnchoredGraphDragHandler-CKCVFGYp.js → useAnchoredGraphDragHandler-CRPtaTJZ.js} +1 -1
- package/useDoenetRenderer-By1VsaDX.js +114 -0
- package/{useSubmitActionWithDelay-DhUttTXy.js → useSubmitActionWithDelay-DBCED73A.js} +2 -2
- package/utils/diagnostics.d.ts +7 -0
- package/utils/diagnostics.d.ts.map +1 -1
- package/utils/i18n.d.ts +67 -1
- package/utils/i18n.d.ts.map +1 -1
- package/{vector-B1xF7lTk.js → vector-lV5ajE68.js} +6 -6
- package/{video-DgvfU8N7.js → video-C-iSvsQk.js} +4 -4
- package/useDoenetRenderer-B-lvSi_Q.js +0 -114
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { u as useT,
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-DynV7ZDD.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-By1VsaDX.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { r as renderLabelWithLatex } from "./labelWithLatex-
|
|
5
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-VCThzoHG.js";
|
|
6
|
+
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
6
7
|
let round_to_decimals = (x, n) => {
|
|
7
8
|
try {
|
|
8
9
|
return Context.round_numbers_to_decimals(x, n).tree;
|
|
@@ -306,28 +307,36 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
306
307
|
}
|
|
307
308
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
308
309
|
myLabel,
|
|
309
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
310
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ...ltrIslandProps(width), children: [
|
|
311
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
312
|
+
"input",
|
|
313
|
+
{
|
|
314
|
+
ref: inputRef,
|
|
315
|
+
id,
|
|
316
|
+
type: "range",
|
|
317
|
+
style: { width: "100%", margin: 0 },
|
|
318
|
+
value: index,
|
|
319
|
+
list: id + "-datalist",
|
|
320
|
+
min: 0,
|
|
321
|
+
max: SVs.numItems - 1,
|
|
322
|
+
onInput: (e) => changeValue(
|
|
323
|
+
e.target.value,
|
|
324
|
+
transient
|
|
325
|
+
),
|
|
326
|
+
onMouseDown: () => setTransient(true),
|
|
327
|
+
onMouseUp: (e) => {
|
|
328
|
+
setTransient(false);
|
|
329
|
+
changeValue(
|
|
330
|
+
e.target.value,
|
|
331
|
+
false
|
|
332
|
+
);
|
|
333
|
+
},
|
|
334
|
+
disabled: SVs.disabled
|
|
335
|
+
}
|
|
336
|
+
),
|
|
337
|
+
dataList,
|
|
338
|
+
controls
|
|
339
|
+
] })
|
|
331
340
|
] });
|
|
332
341
|
});
|
|
333
342
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT,
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-DynV7ZDD.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-By1VsaDX.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B8Vdrw0-.js";
|
|
5
5
|
import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-Dxl9i1nS.js";
|
|
7
7
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
8
8
|
const solution = React__default.memo(function Solution(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -11,6 +11,7 @@ const solution = React__default.memo(function Solution(props) {
|
|
|
11
11
|
const ref = useRef(null);
|
|
12
12
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
13
13
|
const openCloseText = clickToToggleLabel(t, SVs.open);
|
|
14
|
+
const chromeLangDir = useChromeLangDir();
|
|
14
15
|
if (SVs.hidden) {
|
|
15
16
|
return null;
|
|
16
17
|
}
|
|
@@ -106,7 +107,7 @@ const solution = React__default.memo(function Solution(props) {
|
|
|
106
107
|
" ",
|
|
107
108
|
SVs.message,
|
|
108
109
|
" ",
|
|
109
|
-
openCloseText
|
|
110
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { ...chromeLangDir, children: openCloseText })
|
|
110
111
|
]
|
|
111
112
|
}
|
|
112
113
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DynV7ZDD.js";
|
|
2
2
|
import React__default, { forwardRef, useId, useRef, useCallback, useMemo, useEffect, Children, useImperativeHandle, Fragment, createContext as createContext$1, useContext, useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-By1VsaDX.js";
|
|
4
4
|
import require$$2 from "react-dom";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
6
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
@@ -129042,6 +129042,7 @@ const spreadsheet = React__default.memo(function SpreadsheetRenderer(props) {
|
|
|
129042
129042
|
HotTable,
|
|
129043
129043
|
{
|
|
129044
129044
|
licenseKey: "non-commercial-and-evaluation",
|
|
129045
|
+
layoutDirection: "ltr",
|
|
129045
129046
|
theme: darkMode === "dark" ? "ht-theme-classic-dark" : "ht-theme-classic",
|
|
129046
129047
|
ariaTags: false,
|
|
129047
129048
|
data: SVs.cells.map((x) => [...x]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DynV7ZDD.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-By1VsaDX.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BJWUpWkE.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|