@khanacademy/perseus 89.0.0 → 90.0.0
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/{chunk-register-all-widgets-for-testing-CIrzECVC.js → chunk-register-all-widgets-for-testing-osawsgz8.js} +9 -9
- package/dist/chunk-register-all-widgets-for-testing-osawsgz8.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/perseus-api.d.ts +0 -1
- package/dist/renderer.d.ts +1 -1
- package/dist/renderer.new.d.ts +8 -3
- package/dist/renderer.old.d.ts +8 -3
- package/dist/server-item-renderer.d.ts +62 -9
- package/dist/testing/item-renderer-hooks.d.ts +2 -2
- package/dist/testing.d.ts +1 -0
- package/dist/testing.js +30 -6
- package/dist/testing.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/widgets/image/utils.d.ts +0 -6
- package/dist/widgets/input-number/input-number.d.ts +1 -0
- package/dist/widgets/interactive-graphs/interactive-graph.d.ts +1 -0
- package/dist/widgets/mock-widgets/mock-widget.d.ts +1 -0
- package/dist/widgets/sorter/index.d.ts +1 -0
- package/package.json +7 -7
- package/dist/chunk-register-all-widgets-for-testing-CIrzECVC.js.map +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -336,6 +336,7 @@ export type WidgetProps<TWidgetOptions, TUserInput = Empty, TrackingExtraArgs =
|
|
|
336
336
|
onBlur: (blurPath: FocusPath) => void;
|
|
337
337
|
findWidgets: FindWidgetsFunction;
|
|
338
338
|
reviewMode: boolean;
|
|
339
|
+
isScorable: boolean;
|
|
339
340
|
showSolutions?: ShowSolutions;
|
|
340
341
|
handleUserInput: (newUserInput: TUserInput, cb?: () => void, silent?: boolean) => void;
|
|
341
342
|
userInput: TUserInput;
|
|
@@ -37,13 +37,7 @@ export declare const graphieImage: {
|
|
|
37
37
|
width: number;
|
|
38
38
|
height: number;
|
|
39
39
|
};
|
|
40
|
-
export declare const graphieImage2: {
|
|
41
|
-
url: string;
|
|
42
|
-
width: number;
|
|
43
|
-
height: number;
|
|
44
|
-
};
|
|
45
40
|
export declare const graphieImageAlt = "An array of isosceles triangles. A triangle has height A. Two smaller triangle, one with height B and one with height C, have approximately the same combined height as A.";
|
|
46
|
-
export declare const graphieImage2Alt = "A picture graph shows the horizontal axis labeled Number of insects and the vertical axis labeled Types of insects. Each type of insect is listed along the vertical axis from bottom to top as follows: Beetle, Cricket, Ant, Mosquito, and Bee. The number of insects for each type of insect is represented by the number of pictures of ladybugs plotted on the graph. Beetle is represented by 5 pictures of ladybugs, Cricket is represented by 4 pictures of ladybugs, Ant is represented by 3 pictures of ladybugs, Mosquito is represented by 6 pictures of ladybugs, and Bee is represented by 3 pictures of ladybugs.";
|
|
47
41
|
export declare const animatedGifLandscape: {
|
|
48
42
|
url: string;
|
|
49
43
|
width: number;
|
|
@@ -61,6 +61,7 @@ declare const _default: {
|
|
|
61
61
|
onBlur: (blurPath: import("../..").FocusPath) => void;
|
|
62
62
|
findWidgets: import("../../types").FindWidgetsFunction;
|
|
63
63
|
reviewMode: boolean;
|
|
64
|
+
isScorable: boolean;
|
|
64
65
|
showSolutions?: import("@khanacademy/perseus-core").ShowSolutions;
|
|
65
66
|
handleUserInput: (newUserInput: import("@khanacademy/perseus-core").PerseusNumericInputUserInput, cb?: () => void, silent?: boolean) => void;
|
|
66
67
|
userInput: import("@khanacademy/perseus-core").PerseusNumericInputUserInput;
|
|
@@ -70,6 +70,7 @@ declare class InteractiveGraph extends React.Component<Props> {
|
|
|
70
70
|
onBlur: (blurPath: import("../..").FocusPath) => void;
|
|
71
71
|
findWidgets: import("../../types").FindWidgetsFunction;
|
|
72
72
|
reviewMode: boolean;
|
|
73
|
+
isScorable: boolean;
|
|
73
74
|
showSolutions?: import("@khanacademy/perseus-core").ShowSolutions;
|
|
74
75
|
handleUserInput: (newUserInput: PerseusGraphType, cb?: () => void, silent?: boolean) => void;
|
|
75
76
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
@@ -82,6 +82,7 @@ declare class MockWidgetComponent extends React.Component<Props> implements Widg
|
|
|
82
82
|
onBlur: (blurPath: import("../..").FocusPath) => void;
|
|
83
83
|
findWidgets: import("../../types").FindWidgetsFunction;
|
|
84
84
|
reviewMode: boolean;
|
|
85
|
+
isScorable: boolean;
|
|
85
86
|
showSolutions?: import("@khanacademy/perseus-core").ShowSolutions;
|
|
86
87
|
handleUserInput: (newUserInput: PerseusMockWidgetUserInput, cb?: () => void, silent?: boolean) => void;
|
|
87
88
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
@@ -61,6 +61,7 @@ declare const _default: {
|
|
|
61
61
|
onBlur: (blurPath: import("../..").FocusPath) => void;
|
|
62
62
|
findWidgets: import("../../types").FindWidgetsFunction;
|
|
63
63
|
reviewMode: boolean;
|
|
64
|
+
isScorable: boolean;
|
|
64
65
|
showSolutions?: import("@khanacademy/perseus-core").ShowSolutions;
|
|
65
66
|
handleUserInput: (newUserInput: PerseusSorterUserInput, cb?: () => void, silent?: boolean) => void;
|
|
66
67
|
userInput: PerseusSorterUserInput;
|
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": "
|
|
6
|
+
"version": "90.0.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"tiny-invariant": "1.3.1",
|
|
36
36
|
"uuid": "^10.0.0",
|
|
37
37
|
"@khanacademy/kas": "3.0.0",
|
|
38
|
-
"@khanacademy/keypad-context": "6.0.
|
|
39
|
-
"@khanacademy/kmath": "3.0.
|
|
40
|
-
"@khanacademy/math-input": "30.0.
|
|
41
|
-
"@khanacademy/perseus-core": "40.0
|
|
42
|
-
"@khanacademy/perseus-linter": "6.0.
|
|
43
|
-
"@khanacademy/perseus-score": "9.0.
|
|
38
|
+
"@khanacademy/keypad-context": "6.0.1",
|
|
39
|
+
"@khanacademy/kmath": "3.0.2",
|
|
40
|
+
"@khanacademy/math-input": "30.0.1",
|
|
41
|
+
"@khanacademy/perseus-core": "40.1.0",
|
|
42
|
+
"@khanacademy/perseus-linter": "6.0.2",
|
|
43
|
+
"@khanacademy/perseus-score": "9.0.2",
|
|
44
44
|
"@khanacademy/perseus-utils": "3.0.0",
|
|
45
45
|
"@khanacademy/pure-markdown": "3.0.0",
|
|
46
46
|
"@khanacademy/simple-markdown": "4.0.0"
|