@doenet/doenetml 0.6.0-alpha2 → 0.6.0-alpha3
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-f9a56616.js} +1 -1
- package/dist/{ToggleButton-e4dcb651.js → ToggleButton-8da16cc2.js} +1 -1
- package/dist/{alert-4b3167f9.js → alert-e14bfd03.js} +1 -1
- package/dist/{angle-0d9910f8.js → angle-40d0f6e5.js} +2 -2
- package/dist/{answer-827e8c47.js → answer-5f1c4979.js} +1 -1
- package/dist/{asList-eade1377.js → asList-c80d2031.js} +1 -1
- package/dist/{blockQuote-f46c1b88.js → blockQuote-71c980cc.js} +1 -1
- package/dist/{boolean-8f42b57e.js → boolean-5855f758.js} +1 -1
- package/dist/{booleanInput-e5d86120.js → booleanInput-45df7ed1.js} +3 -3
- package/dist/{button-4e053850.js → button-9c4d0fd2.js} +2 -2
- package/dist/{c-27387541.js → c-18bd5f9e.js} +1 -1
- package/dist/{callAction-218fcb83.js → callAction-13bd9520.js} +1 -1
- package/dist/{cell-f0a78b7f.js → cell-fcd153d3.js} +1 -1
- package/dist/{chart-d149589f.js → chart-3891d729.js} +1 -1
- package/dist/{choiceInput-a26e9f5f.js → choiceInput-8b419109.js} +1 -1
- package/dist/{circle-f0c04cce.js → circle-4ade8a0f.js} +2 -2
- package/dist/{cobwebPolyline-63755207.js → cobwebPolyline-18a1467d.js} +2 -2
- package/dist/{codeEditor-5a023611.js → codeEditor-af9a5cf1.js} +1 -1
- package/dist/{codeViewer-c69c2eb5.js → codeViewer-df817eee.js} +1 -1
- package/dist/{containerBlock-1238dfa6.js → containerBlock-4624186b.js} +1 -1
- package/dist/{containerInline-f37d25b0.js → containerInline-44e4a079.js} +1 -1
- package/dist/{contentBrowser-8c061098.js → contentBrowser-470db41c.js} +32 -32
- package/dist/{contentPicker-6bf34fa1.js → contentPicker-ecce4a79.js} +1 -1
- package/dist/{curve-38d0a2f2.js → curve-a6592419.js} +2 -2
- package/dist/doenetml.js +1 -1
- package/dist/doenetml.umd.cjs +396 -117
- package/dist/{ellipsis-28925d4c.js → ellipsis-b157c3ba.js} +1 -1
- package/dist/{em-30edc76c.js → em-f951d01a.js} +1 -1
- package/dist/{embed-a3f6d3f7.js → embed-9bc2c461.js} +1 -1
- package/dist/{feedback-edb90b88.js → feedback-a590c58f.js} +1 -1
- package/dist/{figure-8e497d5f.js → figure-a5ce1591.js} +1 -1
- package/dist/{footnote-b6e85d69.js → footnote-5396cb55.js} +1 -1
- package/dist/{graph-3c1dcef8.js → graph-102e9613.js} +1 -1
- package/dist/{hint-1e26efa0.js → hint-5886a633.js} +1 -1
- package/dist/{image-fbf1a501.js → image-8e043789.js} +2 -2
- package/dist/{index-830d4a7c.js → index-7998d090.js} +1 -1
- package/dist/{index-8546d18d.js → index-85d4fdb6.js} +1948 -650
- package/dist/{index-976ff0b0.js → index-d3e0f79a.js} +2 -4
- package/dist/{label-82df1931.js → label-cdd6d4a5.js} +2 -2
- package/dist/{legend-6c2901d7.js → legend-52744e3c.js} +2 -2
- package/dist/{line-68c4f8df.js → line-c3fbafa6.js} +2 -2
- package/dist/{lineSegment-11b0667f.js → lineSegment-ef21d787.js} +2 -2
- package/dist/{list-f84fba92.js → list-4aecfe4d.js} +1 -1
- package/dist/{lq-f61059a5.js → lq-3b39cf5b.js} +1 -1
- package/dist/{lsq-f8649c0d.js → lsq-5ad1e572.js} +1 -1
- package/dist/{math-2348684a.js → math-4beb47d1.js} +2 -2
- package/dist/{mathInput-1d7e25ff.js → mathInput-a8cc60be.js} +2 -2
- package/dist/{mathInputog-4842009e.js → mathInputog-1303492b.js} +2 -2
- package/dist/{mathList-1b11263b.js → mathList-dcb3e340.js} +1 -1
- package/dist/{matrixInput-1115b9ed.js → matrixInput-f4bdc517.js} +2 -2
- package/dist/{mdash-f63b1492.js → mdash-e8d37006.js} +1 -1
- package/dist/{nbsp-c6f5a0b2.js → nbsp-0a9573c6.js} +1 -1
- package/dist/{ndash-85168036.js → ndash-cb0f855e.js} +1 -1
- package/dist/{number-8a89b030.js → number-6f1f3643.js} +2 -2
- package/dist/{numberList-baf5294c.js → numberList-a696789a.js} +1 -1
- package/dist/{orbitalDiagram-0891fa3b.js → orbitalDiagram-b00c95a2.js} +1 -1
- package/dist/{orbitalDiagramInput-6ff4634f.js → orbitalDiagramInput-59420ea8.js} +1 -1
- package/dist/{p-8197cda3.js → p-bbad4c3a.js} +1 -1
- package/dist/{paginatorControls-1997c12c.js → paginatorControls-f758f5a8.js} +1 -1
- package/dist/{pegboard-c17a8c49.js → pegboard-9795cd51.js} +2 -2
- package/dist/{point-ca856b81.js → point-545ffb65.js} +2 -2
- package/dist/{polygon-c5501197.js → polygon-fc4843a1.js} +2 -2
- package/dist/{polyline-4c21aba9.js → polyline-7551a56f.js} +2 -2
- package/dist/{pre-7fb4e9f2.js → pre-976f6d04.js} +1 -1
- package/dist/{q-a6743218.js → q-138ac8a8.js} +1 -1
- package/dist/{ray-fd82f9fc.js → ray-782ed614.js} +2 -2
- package/dist/{ref-c121ff19.js → ref-08765c0f.js} +18 -18
- package/dist/{regionBetweenCurveXAxis-2daee4f6.js → regionBetweenCurveXAxis-fb8a3c9c.js} +2 -2
- package/dist/{renderDoenetML-ed9cd0ed.js → renderDoenetML-3a37978d.js} +1 -1
- package/dist/{row-63f39766.js → row-6e13f678.js} +1 -1
- package/dist/{rq-1b1cbae4.js → rq-e36238a4.js} +1 -1
- package/dist/{rsq-27f4f663.js → rsq-5d347142.js} +1 -1
- package/dist/{section-f74a85c8.js → section-4746da87.js} +1 -1
- package/dist/{sideBySide-cbff0bcc.js → sideBySide-247e2dc5.js} +1 -1
- package/dist/{slider-3a825d82.js → slider-e55a8838.js} +2 -2
- package/dist/{solution-623294f6.js → solution-ed56d868.js} +1 -1
- package/dist/{spreadsheet-3a0771ae.js → spreadsheet-5cf21f01.js} +1 -1
- package/dist/{sq-476fc670.js → sq-9b3da9df.js} +1 -1
- package/dist/{subsetOfRealsInput-ed421f4c.js → subsetOfRealsInput-e55e5c2b.js} +3 -3
- package/dist/{summaryStatistics-4190b910.js → summaryStatistics-42f1a384.js} +1 -1
- package/dist/{table-b4a295e6.js → table-d99a11f9.js} +1 -1
- package/dist/{tabular-bae4cd6a.js → tabular-398150dd.js} +1 -1
- package/dist/{tag-7f947234.js → tag-499e57c1.js} +1 -1
- package/dist/{text-e34c5032.js → text-00615612.js} +2 -2
- package/dist/{textInput-7696ab65.js → textInput-26b3e2e2.js} +2 -2
- package/dist/{textList-f0f8b3f0.js → textList-34576ab3.js} +1 -1
- package/dist/{triggerSet-0cbb08f1.js → triggerSet-d62aa283.js} +1 -1
- package/dist/{updateValue-71508387.js → updateValue-59710b32.js} +1 -1
- package/dist/{vector-7cac6580.js → vector-9d0a33ff.js} +2 -2
- package/dist/{video-efa7a288.js → video-e7fd83ab.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-85d4fdb6.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-102e9613.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-85d4fdb6.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-85d4fdb6.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-8da16cc2.js";
|
|
4
4
|
import ke from "styled-components";
|
|
5
|
-
import { BoardContext as je } from "./graph-
|
|
5
|
+
import { BoardContext as je } from "./graph-102e9613.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-85d4fdb6.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-102e9613.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-85d4fdb6.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-85d4fdb6.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-102e9613.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-85d4fdb6.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-102e9613.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-85d4fdb6.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-85d4fdb6.js";
|
|
2
|
+
import R, { useEffect as p } from "react";
|
|
3
|
+
import { L as f } from "./index-d3e0f79a.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-85d4fdb6.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-85d4fdb6.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-102e9613.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-85d4fdb6.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "styled-components";
|