@doenet/doenetml 0.6.0-alpha2 → 0.6.0-alpha4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionButtonGroup-5842c1c2.js → ActionButtonGroup-31bfb1b3.js} +1 -1
- package/dist/{ToggleButton-e4dcb651.js → ToggleButton-0de1d1ad.js} +1 -1
- package/dist/{alert-4b3167f9.js → alert-2f90cc72.js} +1 -1
- package/dist/{angle-0d9910f8.js → angle-6303c120.js} +2 -2
- package/dist/{answer-827e8c47.js → answer-b6e2b76b.js} +1 -1
- package/dist/{asList-eade1377.js → asList-f29800e2.js} +1 -1
- package/dist/{blockQuote-f46c1b88.js → blockQuote-4be59e9a.js} +1 -1
- package/dist/{boolean-8f42b57e.js → boolean-4cad6c61.js} +1 -1
- package/dist/{booleanInput-e5d86120.js → booleanInput-aa010bde.js} +3 -3
- package/dist/{button-4e053850.js → button-11f3ce47.js} +2 -2
- package/dist/{c-27387541.js → c-0431b8c4.js} +1 -1
- package/dist/{callAction-218fcb83.js → callAction-845e6eea.js} +1 -1
- package/dist/{cell-f0a78b7f.js → cell-c960b90f.js} +1 -1
- package/dist/{chart-d149589f.js → chart-023bde15.js} +1 -1
- package/dist/{choiceInput-a26e9f5f.js → choiceInput-de46af5c.js} +1 -1
- package/dist/{circle-f0c04cce.js → circle-f81b0ce2.js} +2 -2
- package/dist/{cobwebPolyline-63755207.js → cobwebPolyline-36398f33.js} +2 -2
- package/dist/{codeEditor-5a023611.js → codeEditor-fd87d345.js} +1 -1
- package/dist/{codeViewer-c69c2eb5.js → codeViewer-c43574e8.js} +1 -1
- package/dist/{containerBlock-1238dfa6.js → containerBlock-69ae5478.js} +1 -1
- package/dist/{containerInline-f37d25b0.js → containerInline-8ec824bc.js} +1 -1
- package/dist/{contentBrowser-8c061098.js → contentBrowser-a8846036.js} +32 -32
- package/dist/{contentPicker-6bf34fa1.js → contentPicker-5d94aee4.js} +1 -1
- package/dist/{curve-38d0a2f2.js → curve-3c32f52c.js} +2 -2
- package/dist/doenetml.js +1 -1
- package/dist/doenetml.umd.cjs +483 -204
- package/dist/{ellipsis-28925d4c.js → ellipsis-fef08d11.js} +1 -1
- package/dist/{em-30edc76c.js → em-e6a08864.js} +1 -1
- package/dist/{embed-a3f6d3f7.js → embed-d76b6d41.js} +1 -1
- package/dist/{feedback-edb90b88.js → feedback-ba6007b5.js} +1 -1
- package/dist/{figure-8e497d5f.js → figure-dba5c46d.js} +1 -1
- package/dist/{footnote-b6e85d69.js → footnote-2d1dd0b3.js} +1 -1
- package/dist/{graph-3c1dcef8.js → graph-6d43a295.js} +1 -1
- package/dist/{hint-1e26efa0.js → hint-49a1f4dd.js} +1 -1
- package/dist/{image-fbf1a501.js → image-08c5648a.js} +2 -2
- package/dist/{index-8546d18d.js → index-1fe56d63.js} +3650 -2344
- package/dist/{index-976ff0b0.js → index-44cba13f.js} +2 -4
- package/dist/{index-830d4a7c.js → index-89409889.js} +1 -1
- package/dist/{label-82df1931.js → label-c4255bb7.js} +2 -2
- package/dist/{legend-6c2901d7.js → legend-8a6252a7.js} +2 -2
- package/dist/{line-68c4f8df.js → line-d1d8ea00.js} +2 -2
- package/dist/{lineSegment-11b0667f.js → lineSegment-15ae7c77.js} +2 -2
- package/dist/{list-f84fba92.js → list-7404c656.js} +1 -1
- package/dist/{lq-f61059a5.js → lq-5ade7be1.js} +1 -1
- package/dist/{lsq-f8649c0d.js → lsq-734012bd.js} +1 -1
- package/dist/{math-2348684a.js → math-f332495e.js} +2 -2
- package/dist/{mathInput-1d7e25ff.js → mathInput-dba9b45f.js} +2 -2
- package/dist/{mathInputog-4842009e.js → mathInputog-4d940ee5.js} +2 -2
- package/dist/{mathList-1b11263b.js → mathList-40fa12ed.js} +1 -1
- package/dist/{matrixInput-1115b9ed.js → matrixInput-88797a87.js} +2 -2
- package/dist/{mdash-f63b1492.js → mdash-df0e40e7.js} +1 -1
- package/dist/{nbsp-c6f5a0b2.js → nbsp-ab2fca18.js} +1 -1
- package/dist/{ndash-85168036.js → ndash-3b71f713.js} +1 -1
- package/dist/{number-8a89b030.js → number-3bbc6035.js} +2 -2
- package/dist/{numberList-baf5294c.js → numberList-1327be8e.js} +1 -1
- package/dist/{orbitalDiagram-0891fa3b.js → orbitalDiagram-19b6f7cc.js} +1 -1
- package/dist/{orbitalDiagramInput-6ff4634f.js → orbitalDiagramInput-3338fef1.js} +1 -1
- package/dist/{p-8197cda3.js → p-9d23a34a.js} +1 -1
- package/dist/{paginatorControls-1997c12c.js → paginatorControls-fa58eb04.js} +1 -1
- package/dist/{pegboard-c17a8c49.js → pegboard-a1474de3.js} +2 -2
- package/dist/{point-ca856b81.js → point-1a6406f1.js} +2 -2
- package/dist/{polygon-c5501197.js → polygon-beb8998f.js} +2 -2
- package/dist/{polyline-4c21aba9.js → polyline-6909b72f.js} +2 -2
- package/dist/{pre-7fb4e9f2.js → pre-df87553f.js} +1 -1
- package/dist/{q-a6743218.js → q-146f150b.js} +1 -1
- package/dist/{ray-fd82f9fc.js → ray-924469a6.js} +2 -2
- package/dist/{ref-c121ff19.js → ref-c04324bd.js} +18 -18
- package/dist/{regionBetweenCurveXAxis-2daee4f6.js → regionBetweenCurveXAxis-88c574b3.js} +2 -2
- package/dist/{renderDoenetML-ed9cd0ed.js → renderDoenetML-30a09380.js} +1 -1
- package/dist/{row-63f39766.js → row-9d0dd9b6.js} +1 -1
- package/dist/{rq-1b1cbae4.js → rq-8871d38f.js} +1 -1
- package/dist/{rsq-27f4f663.js → rsq-7fff414a.js} +1 -1
- package/dist/{section-f74a85c8.js → section-62b11261.js} +1 -1
- package/dist/{sideBySide-cbff0bcc.js → sideBySide-f4409af1.js} +1 -1
- package/dist/{slider-3a825d82.js → slider-d2d21eec.js} +2 -2
- package/dist/{solution-623294f6.js → solution-24ca310d.js} +1 -1
- package/dist/{spreadsheet-3a0771ae.js → spreadsheet-b22ce017.js} +10213 -10213
- package/dist/{sq-476fc670.js → sq-140828b8.js} +1 -1
- package/dist/{subsetOfRealsInput-ed421f4c.js → subsetOfRealsInput-f1530700.js} +3 -3
- package/dist/{summaryStatistics-4190b910.js → summaryStatistics-5328d69f.js} +1 -1
- package/dist/{table-b4a295e6.js → table-f0250db5.js} +1 -1
- package/dist/{tabular-bae4cd6a.js → tabular-14305157.js} +1 -1
- package/dist/{tag-7f947234.js → tag-cd067754.js} +1 -1
- package/dist/{text-e34c5032.js → text-7df7d444.js} +2 -2
- package/dist/{textInput-7696ab65.js → textInput-abbe8a72.js} +2 -2
- package/dist/{textList-f0f8b3f0.js → textList-0afecfe3.js} +1 -1
- package/dist/{triggerSet-0cbb08f1.js → triggerSet-88520bfe.js} +1 -1
- package/dist/{updateValue-71508387.js → updateValue-b7933086.js} +1 -1
- package/dist/{vector-7cac6580.js → vector-3d487c1f.js} +2 -2
- package/dist/{video-efa7a288.js → video-438560fd.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as R, j as i, M as x } from "./index-
|
|
1
|
+
import { u as R, j as i, M as x } from "./index-1fe56d63.js";
|
|
2
2
|
import y, { useContext as C, useRef as o, useEffect as j } from "react";
|
|
3
|
-
import { BoardContext as v, LINE_LAYER_OFFSET as f } from "./graph-
|
|
3
|
+
import { BoardContext as v, LINE_LAYER_OFFSET as f } from "./graph-6d43a295.js";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "./css-ab4d83ca.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as g, j as e, F as a, f as C, a as j, b as k, c as y } from "./index-
|
|
1
|
+
import { u as g, j as e, F as a, f as C, a as j, b as k, c as y } from "./index-1fe56d63.js";
|
|
2
2
|
import A from "react";
|
|
3
3
|
import v from "styled-components";
|
|
4
4
|
import "react-dom";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as ue, R as de, r as fe, C as Q, g as Z, j as r, F as N, f as pe, a as me, b as he, c as xe, M as be } from "./index-
|
|
1
|
+
import { u as ue, R as de, r as fe, C as Q, g as Z, j as r, F as N, f as pe, a as me, b as he, c as xe, M as be } from "./index-1fe56d63.js";
|
|
2
2
|
import ee, { useState as ge, useRef as l, useContext as ve, useEffect as Ce } from "react";
|
|
3
|
-
import { T as ye } from "./ToggleButton-
|
|
3
|
+
import { T as ye } from "./ToggleButton-0de1d1ad.js";
|
|
4
4
|
import ke from "styled-components";
|
|
5
|
-
import { BoardContext as je } from "./graph-
|
|
5
|
+
import { BoardContext as je } from "./graph-6d43a295.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "./css-ab4d83ca.js";
|
|
8
8
|
const _ = ke.button`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as q, C as U, g as Y, j as _, B as I } from "./index-
|
|
1
|
+
import { u as q, C as U, g as Y, j as _, B as I } from "./index-1fe56d63.js";
|
|
2
2
|
import K, { useRef as c, useContext as Q, useEffect as Z } from "react";
|
|
3
|
-
import { BoardContext as $ } from "./graph-
|
|
3
|
+
import { BoardContext as $ } from "./graph-6d43a295.js";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "./css-ab4d83ca.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as P, R as W, r as T, j as e, F as x, f as _, a as I, b as w, c as L, M as H } from "./index-
|
|
1
|
+
import { u as P, R as W, r as T, j as e, F as x, f as _, a as I, b as w, c as L, M as H } from "./index-1fe56d63.js";
|
|
2
2
|
import N, { useState as O, useRef as G } from "react";
|
|
3
3
|
import U from "styled-components";
|
|
4
4
|
import "react-dom";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as se, d as de, e as fe, j as he } from "./index-
|
|
1
|
+
import { u as se, d as de, e as fe, j as he } from "./index-1fe56d63.js";
|
|
2
2
|
import pe, { useContext as ye, useRef as a, useEffect as V } from "react";
|
|
3
|
-
import { BoardContext as ge, LINE_LAYER_OFFSET as K, POINT_LAYER_OFFSET as Z } from "./graph-
|
|
3
|
+
import { BoardContext as ge, LINE_LAYER_OFFSET as K, POINT_LAYER_OFFSET as Z } from "./graph-6d43a295.js";
|
|
4
4
|
import { c as x, g as $, a as Y, b as z, n as ee, d as re, e as te, f as ne } from "./offGraphIndicators-6eabeb84.js";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "styled-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as N, h as V, j as F } from "./index-
|
|
1
|
+
import { u as N, h as V, j as F } from "./index-1fe56d63.js";
|
|
2
2
|
import L, { useContext as U, useRef as m, useEffect as Y } from "react";
|
|
3
|
-
import { BoardContext as W, LINE_LAYER_OFFSET as _, VERTEX_LAYER_OFFSET as B } from "./graph-
|
|
3
|
+
import { BoardContext as W, LINE_LAYER_OFFSET as _, VERTEX_LAYER_OFFSET as B } from "./graph-6d43a295.js";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "./css-ab4d83ca.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as L, R as _, r as E, j as i, i as F, V as I } from "./index-
|
|
1
|
+
import { u as L, R as _, r as E, j as i, i as F, V as I } from "./index-1fe56d63.js";
|
|
2
2
|
import D, { useRef as c, useEffect as H } from "react";
|
|
3
3
|
import { s as o } from "./css-ab4d83ca.js";
|
|
4
4
|
import "react-dom";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { u as B, j as t, k as x, V as F } from "./index-1fe56d63.js";
|
|
2
|
+
import R, { useEffect as p } from "react";
|
|
3
|
+
import { L as f } from "./index-44cba13f.js";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
|
-
const W =
|
|
7
|
-
let { name:
|
|
6
|
+
const W = R.memo(function(b) {
|
|
7
|
+
let { name: E, id: s, SVs: i, children: u, actions: n, callAction: o, location: c } = B(b), g = c.search || "", d = c.hash || "", y = (e) => {
|
|
8
8
|
n.recordVisibilityChange && o({
|
|
9
9
|
action: n.recordVisibilityChange,
|
|
10
10
|
args: { isVisible: e }
|
|
11
11
|
});
|
|
12
|
-
},
|
|
12
|
+
}, j = (e) => {
|
|
13
13
|
o({
|
|
14
14
|
action: n.setSelectedItemInd,
|
|
15
15
|
args: { ind: e }
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
-
if (
|
|
18
|
+
if (p(() => () => {
|
|
19
19
|
n.recordVisibilityChange && o({
|
|
20
20
|
action: n.recordVisibilityChange,
|
|
21
21
|
args: { isVisible: !1 }
|
|
22
22
|
});
|
|
23
|
-
}, []),
|
|
23
|
+
}, []), p(() => {
|
|
24
24
|
let e = d.indexOf("\\/");
|
|
25
25
|
if (e !== -1) {
|
|
26
|
-
let a = d.substring(e), l =
|
|
27
|
-
l !== void 0 && l !==
|
|
26
|
+
let a = d.substring(e), l = i.indByEscapedComponentName[a];
|
|
27
|
+
l !== void 0 && l !== i.selectedItemInd && j(l);
|
|
28
28
|
}
|
|
29
|
-
}, [d]),
|
|
29
|
+
}, [d]), i.hidden)
|
|
30
30
|
return null;
|
|
31
|
-
let
|
|
32
|
-
|
|
31
|
+
let I = s.indexOf("\\/"), v = s.substring(0, I), h = g + "#" + v, w = i.allInitials.map((e) => /* @__PURE__ */ t.jsx(
|
|
32
|
+
f,
|
|
33
33
|
{
|
|
34
34
|
style: {
|
|
35
35
|
padding: "0 5px",
|
|
36
36
|
width: "10px",
|
|
37
37
|
cursor: "pointer",
|
|
38
38
|
color: "var(--mainBlue)",
|
|
39
|
-
textDecoration: e ===
|
|
39
|
+
textDecoration: e === i.initial ? "underline" : "none"
|
|
40
40
|
},
|
|
41
|
-
to:
|
|
41
|
+
to: h + x(i.firstComponentNameByInitial[e]),
|
|
42
42
|
children: e
|
|
43
43
|
},
|
|
44
44
|
e
|
|
45
|
-
)),
|
|
46
|
-
for (let e = 0; e <
|
|
45
|
+
)), m = [], C = i.itemInfoForInitial.length, V = Math.ceil(C / 3);
|
|
46
|
+
for (let e = 0; e < V; e++) {
|
|
47
47
|
let a = [];
|
|
48
48
|
for (let l = e * 3; l < (e + 1) * 3; l++) {
|
|
49
|
-
let r =
|
|
49
|
+
let r = i.itemInfoForInitial[l];
|
|
50
50
|
if (!r)
|
|
51
51
|
break;
|
|
52
52
|
a.push(
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
|
|
53
|
+
/* @__PURE__ */ t.jsx("td", { width: "33%", children: /* @__PURE__ */ t.jsx(
|
|
54
|
+
f,
|
|
55
55
|
{
|
|
56
56
|
style: {
|
|
57
57
|
display: "block",
|
|
@@ -62,17 +62,17 @@ const W = F.memo(function(f) {
|
|
|
62
62
|
textDecoration: "none",
|
|
63
63
|
backgroundColor: r.selected ? "var(--mainGray)" : "var(--canvas)"
|
|
64
64
|
},
|
|
65
|
-
to:
|
|
65
|
+
to: h + x(r.componentName),
|
|
66
66
|
children: r.label
|
|
67
67
|
},
|
|
68
68
|
r.ind
|
|
69
69
|
) })
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
m.push(/* @__PURE__ */ t.jsx("tr", { children: a }, e));
|
|
73
73
|
}
|
|
74
|
-
let
|
|
75
|
-
/* @__PURE__ */
|
|
74
|
+
let S = /* @__PURE__ */ t.jsx("table", { children: m }), k = /* @__PURE__ */ t.jsxs("div", { style: { width: "100%" }, "data-test": "labelPicker", children: [
|
|
75
|
+
/* @__PURE__ */ t.jsx(
|
|
76
76
|
"div",
|
|
77
77
|
{
|
|
78
78
|
style: {
|
|
@@ -83,7 +83,7 @@ const W = F.memo(function(f) {
|
|
|
83
83
|
children: "Select component"
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ t.jsx(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
style: {
|
|
@@ -96,18 +96,18 @@ const W = F.memo(function(f) {
|
|
|
96
96
|
marginBottom: "12px",
|
|
97
97
|
boxSizing: "border-box"
|
|
98
98
|
},
|
|
99
|
-
children:
|
|
99
|
+
children: S
|
|
100
100
|
}
|
|
101
101
|
)
|
|
102
102
|
] });
|
|
103
|
-
return /* @__PURE__ */
|
|
104
|
-
/* @__PURE__ */
|
|
105
|
-
/* @__PURE__ */
|
|
103
|
+
return /* @__PURE__ */ t.jsx(F, { partialVisibility: !0, onChange: y, children: /* @__PURE__ */ t.jsxs("div", { id: s, children: [
|
|
104
|
+
/* @__PURE__ */ t.jsx("a", { name: s }),
|
|
105
|
+
/* @__PURE__ */ t.jsxs("div", { style: { display: "flex" }, "data-test": "initials", children: [
|
|
106
106
|
"Filter by: ",
|
|
107
|
-
|
|
107
|
+
w
|
|
108
108
|
] }),
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
k,
|
|
110
|
+
u
|
|
111
111
|
] }) });
|
|
112
112
|
});
|
|
113
113
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as R, R as C, r as v, j as n, V as _ } from "./index-
|
|
1
|
+
import { u as R, R as C, r as v, j as n, V as _ } from "./index-1fe56d63.js";
|
|
2
2
|
import k, { useState as B, useRef as N, useEffect as T } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "styled-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as Oe, d as Me, e as Se, h as k, j as y } from "./index-
|
|
1
|
+
import { u as Oe, d as Me, e as Se, h as k, j as y } from "./index-1fe56d63.js";
|
|
2
2
|
import De, { useContext as Re, useRef as f, useEffect as ye } from "react";
|
|
3
|
-
import { BoardContext as Xe, LINE_LAYER_OFFSET as Ce, VERTEX_LAYER_OFFSET as Z, CONTROL_POINT_LAYER_OFFSET as xe } from "./graph-
|
|
3
|
+
import { BoardContext as Xe, LINE_LAYER_OFFSET as Ce, VERTEX_LAYER_OFFSET as Z, CONTROL_POINT_LAYER_OFFSET as xe } from "./graph-6d43a295.js";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
import "styled-components";
|
|
6
6
|
import "./css-ab4d83ca.js";
|
package/dist/doenetml.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as s, a3 as o, S as n, X as m, U as d, e as l, Y as p, T as c, Z as C, W as v, a2 as A, $ as f, a0 as u, a1 as x } from "./index-
|
|
1
|
+
import { i as s, a3 as o, S as n, X as m, U as d, e as l, Y as p, T as c, Z as C, W as v, a2 as A, $ as f, a0 as u, a1 as x } from "./index-1fe56d63.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "styled-components";
|