@khanacademy/perseus 65.3.5 → 65.3.7
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/components/scrollable-view.d.ts +1 -1
- package/dist/es/index.css +1 -1
- package/dist/es/index.css.map +1 -1
- package/dist/es/index.js +6 -4
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph.d.ts +1 -3
- package/dist/widgets/interactive-graphs/interactive-graph-question-builder.d.ts +3 -2
- package/dist/widgets/interactive-graphs/locked-figures/utils.d.ts +2 -0
- package/dist/widgets/interactive-graphs/stateful-mafs-graph.d.ts +1 -3
- package/package.json +7 -7
|
@@ -89,9 +89,7 @@ type RenderProps = {
|
|
|
89
89
|
*/
|
|
90
90
|
graph: PerseusGraphType;
|
|
91
91
|
/**
|
|
92
|
-
* The correct answer for this widget.
|
|
93
|
-
* being provided answerless data (e.g. because the learner has not yet
|
|
94
|
-
* submitted their guess).
|
|
92
|
+
* The correct answer for this widget.
|
|
95
93
|
*/
|
|
96
94
|
correct?: PerseusGraphType;
|
|
97
95
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { vec } from "mafs";
|
|
2
2
|
import type { SnapTo } from "./types";
|
|
3
3
|
import type { Coord } from "../../interactive2/types";
|
|
4
|
-
import type { AxisLabelLocation, CollinearTuple, LockedFigureColor, LockedFigureFillType, LockedLineStyle, MarkingsType, PerseusRenderer } from "@khanacademy/perseus-core";
|
|
4
|
+
import type { AxisLabelLocation, CollinearTuple, LockedFigureColor, LockedFigureFillType, LockedLineStyle, MarkingsType, PerseusRenderer, StrokeWeight } from "@khanacademy/perseus-core";
|
|
5
5
|
export type LockedFunctionOptions = {
|
|
6
6
|
color?: LockedFigureColor;
|
|
7
7
|
strokeStyle?: LockedLineStyle;
|
|
@@ -143,7 +143,8 @@ declare class InteractiveGraphQuestionBuilder {
|
|
|
143
143
|
color?: LockedFigureColor;
|
|
144
144
|
showVertices?: boolean;
|
|
145
145
|
fillStyle?: LockedFigureFillType;
|
|
146
|
-
strokeStyle?:
|
|
146
|
+
strokeStyle?: LockedLineStyle;
|
|
147
|
+
weight?: StrokeWeight;
|
|
147
148
|
labels?: LockedFigureLabelOptions[];
|
|
148
149
|
ariaLabel?: string;
|
|
149
150
|
}): InteractiveGraphQuestionBuilder;
|
|
@@ -6,9 +6,7 @@ export type StatefulMafsGraphProps = {
|
|
|
6
6
|
backgroundImage?: InteractiveGraphProps["backgroundImage"];
|
|
7
7
|
graph: PerseusGraphType;
|
|
8
8
|
/**
|
|
9
|
-
* The correct answer for this widget.
|
|
10
|
-
* being provided answerless data (e.g. because the learner has not yet
|
|
11
|
-
* submitted their guess).
|
|
9
|
+
* The correct answer for this widget.
|
|
12
10
|
*/
|
|
13
11
|
correct?: PerseusGraphType;
|
|
14
12
|
lockedFigures: InteractiveGraphProps["lockedFigures"];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core Perseus API (includes renderers and widgets)",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "65.3.
|
|
6
|
+
"version": "65.3.7",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"tiny-invariant": "1.3.1",
|
|
43
43
|
"uuid": "^10.0.0",
|
|
44
44
|
"@khanacademy/kas": "2.0.9",
|
|
45
|
-
"@khanacademy/keypad-context": "3.0.
|
|
46
|
-
"@khanacademy/kmath": "2.0.
|
|
47
|
-
"@khanacademy/math-input": "26.0.
|
|
48
|
-
"@khanacademy/perseus-core": "16.
|
|
49
|
-
"@khanacademy/perseus-linter": "4.0.
|
|
50
|
-
"@khanacademy/perseus-score": "7.1.
|
|
45
|
+
"@khanacademy/keypad-context": "3.0.22",
|
|
46
|
+
"@khanacademy/kmath": "2.0.22",
|
|
47
|
+
"@khanacademy/math-input": "26.0.11",
|
|
48
|
+
"@khanacademy/perseus-core": "16.1.0",
|
|
49
|
+
"@khanacademy/perseus-linter": "4.0.9",
|
|
50
|
+
"@khanacademy/perseus-score": "7.1.9",
|
|
51
51
|
"@khanacademy/perseus-utils": "2.0.5",
|
|
52
52
|
"@khanacademy/pure-markdown": "2.0.9",
|
|
53
53
|
"@khanacademy/simple-markdown": "2.0.9"
|