@khanacademy/perseus-editor 20.1.3 → 20.1.5

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.
@@ -1,8 +1,8 @@
1
1
  import * as React from "react";
2
2
  import type { Coord } from "@khanacademy/perseus";
3
3
  type Props = {
4
- startCoords: ReadonlyArray<Coord>;
5
- onChange: (startCoords: ReadonlyArray<Coord>) => void;
4
+ startCoords: Coord[];
5
+ onChange: (startCoords: Coord[]) => void;
6
6
  };
7
7
  declare const StartCoordsPoint: (props: Props) => React.JSX.Element;
8
8
  export default StartCoordsPoint;
@@ -6,7 +6,7 @@ import * as React from "react";
6
6
  import Marker from "./marker";
7
7
  import type { PerseusLabelImageWidgetOptions } from "@khanacademy/perseus-core";
8
8
  type Props = {
9
- choices: ReadonlyArray<string>;
9
+ choices: string[];
10
10
  imageUrl: string;
11
11
  imageWidth: number;
12
12
  imageHeight: number;
@@ -9,7 +9,7 @@ import * as React from "react";
9
9
  import QuestionMarkers from "./label-image/question-markers";
10
10
  import type { PerseusLabelImageWidgetOptions, LabelImageDefaultWidgetOptions } from "@khanacademy/perseus-core";
11
11
  type Props = {
12
- choices: ReadonlyArray<string>;
12
+ choices: string[];
13
13
  imageAlt: string;
14
14
  imageUrl: string;
15
15
  imageWidth: number;
@@ -5,7 +5,7 @@ import type { PerseusRadioWidgetOptions, PerseusRadioChoice, RadioDefaultWidgetO
5
5
  type RadioEditorProps = {
6
6
  apiOptions: APIOptions;
7
7
  countChoices: boolean;
8
- choices: ReadonlyArray<PerseusRadioChoice>;
8
+ choices: PerseusRadioChoice[];
9
9
  displayCount: number;
10
10
  randomize: boolean;
11
11
  hasNoneOfTheAbove: boolean;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "20.1.3",
6
+ "version": "20.1.5",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -34,13 +34,13 @@
34
34
  "katex": "0.11.1",
35
35
  "mafs": "^0.19.0",
36
36
  "@khanacademy/kas": "2.0.2",
37
- "@khanacademy/keypad-context": "3.0.5",
38
- "@khanacademy/kmath": "2.0.5",
39
- "@khanacademy/perseus-linter": "3.0.5",
40
- "@khanacademy/math-input": "25.0.5",
41
- "@khanacademy/perseus": "61.0.0",
42
- "@khanacademy/perseus-core": "8.0.0",
43
- "@khanacademy/perseus-score": "5.0.2",
37
+ "@khanacademy/keypad-context": "3.0.6",
38
+ "@khanacademy/kmath": "2.0.6",
39
+ "@khanacademy/perseus-linter": "3.0.6",
40
+ "@khanacademy/math-input": "25.1.0",
41
+ "@khanacademy/perseus": "61.0.2",
42
+ "@khanacademy/perseus-core": "9.0.0",
43
+ "@khanacademy/perseus-score": "5.0.3",
44
44
  "@khanacademy/perseus-utils": "2.0.1",
45
45
  "@khanacademy/pure-markdown": "2.0.2"
46
46
  },