@khanacademy/perseus 88.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/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": "88.0.0",
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": "5.0.0",
39
- "@khanacademy/kmath": "3.0.0",
40
- "@khanacademy/math-input": "29.0.0",
41
- "@khanacademy/perseus-core": "40.0.0",
42
- "@khanacademy/perseus-linter": "6.0.0",
43
- "@khanacademy/perseus-score": "9.0.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"