@khanacademy/perseus 66.0.0 → 66.0.1
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.
|
@@ -24,7 +24,7 @@ type Props = {
|
|
|
24
24
|
* - some widgets use initial UserInput state as the "shuffled state"
|
|
25
25
|
* (which is why we need problemNum since it's the seed)
|
|
26
26
|
*/
|
|
27
|
-
export declare function sharedInitializeUserInput(widgetOptions: PerseusWidgetsMap, problemNum: number): UserInputMap;
|
|
27
|
+
export declare function sharedInitializeUserInput(widgetOptions: PerseusWidgetsMap | undefined, problemNum: number): UserInputMap;
|
|
28
28
|
/**
|
|
29
29
|
* Restore user input from serialized state. It's tricky
|
|
30
30
|
* because there is no definite type for serialized state,
|
|
@@ -31,6 +31,7 @@ declare class InteractiveGraphQuestionBuilder {
|
|
|
31
31
|
private snapStep;
|
|
32
32
|
private tickStep;
|
|
33
33
|
private showProtractor;
|
|
34
|
+
private showTooltips;
|
|
34
35
|
private interactiveFigureConfig;
|
|
35
36
|
private lockedFigures;
|
|
36
37
|
private snapTo;
|
|
@@ -39,6 +40,7 @@ declare class InteractiveGraphQuestionBuilder {
|
|
|
39
40
|
withContent(content: string): InteractiveGraphQuestionBuilder;
|
|
40
41
|
withFullGraphAriaLabel(label: string): InteractiveGraphQuestionBuilder;
|
|
41
42
|
withFullGraphAriaDescription(description: string): InteractiveGraphQuestionBuilder;
|
|
43
|
+
withTooltips(showTooltips: boolean): InteractiveGraphQuestionBuilder;
|
|
42
44
|
withStaticMode(staticMode: boolean): InteractiveGraphQuestionBuilder;
|
|
43
45
|
withBackgroundImage(url: string, height: number, width: number, options?: {
|
|
44
46
|
scale?: number;
|
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": "66.0.
|
|
6
|
+
"version": "66.0.1",
|
|
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": "18.2.
|
|
49
|
-
"@khanacademy/perseus-linter": "4.1.
|
|
50
|
-
"@khanacademy/perseus-score": "7.1.
|
|
45
|
+
"@khanacademy/keypad-context": "3.0.29",
|
|
46
|
+
"@khanacademy/kmath": "2.0.29",
|
|
47
|
+
"@khanacademy/math-input": "26.0.18",
|
|
48
|
+
"@khanacademy/perseus-core": "18.2.2",
|
|
49
|
+
"@khanacademy/perseus-linter": "4.1.2",
|
|
50
|
+
"@khanacademy/perseus-score": "7.1.16",
|
|
51
51
|
"@khanacademy/perseus-utils": "2.0.5",
|
|
52
52
|
"@khanacademy/pure-markdown": "2.1.0",
|
|
53
53
|
"@khanacademy/simple-markdown": "2.0.10"
|