@khanacademy/perseus-editor 28.6.3 → 28.6.4

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.
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { Changeable } from "@khanacademy/perseus";
5
5
  import * as React from "react";
6
+ import type { APIOptionsWithDefaults } from "@khanacademy/perseus";
6
7
  import type { AxisLabelLocation, ShowAxisArrows, MarkingsType, PerseusImageBackground } from "@khanacademy/perseus-core";
7
8
  type ChangeFn = typeof Changeable.change;
8
9
  type Range = [min: number, max: number];
@@ -69,7 +70,7 @@ type Props = {
69
70
  */
70
71
  showTooltips: boolean;
71
72
  onChange: (arg1: Partial<Props>) => void;
72
- editingDisabled: boolean;
73
+ apiOptions: APIOptionsWithDefaults;
73
74
  };
74
75
  type State = {
75
76
  isExpanded: boolean;
@@ -129,7 +130,6 @@ declare class InteractiveGraphSettings extends React.Component<Props, State> {
129
130
  yMin: boolean;
130
131
  yMax: boolean;
131
132
  };
132
- editingDisabled: boolean;
133
133
  };
134
134
  componentDidMount(): void;
135
135
  UNSAFE_componentWillReceiveProps(nextProps: any): void;
@@ -1,10 +1,11 @@
1
1
  import * as React from "react";
2
2
  import type { Props as InteractiveGraphEditorProps } from "../interactive-graph-editor";
3
+ import type { APIOptionsWithDefaults } from "@khanacademy/perseus";
3
4
  import type { LockedFigure } from "@khanacademy/perseus-core";
4
5
  type Props = {
5
6
  figures?: Array<LockedFigure>;
6
7
  onChange: (props: Partial<InteractiveGraphEditorProps>) => void;
7
- editingDisabled: boolean;
8
+ apiOptions: APIOptionsWithDefaults;
8
9
  };
9
10
  declare const LockedFiguresSection: (props: Props) => React.JSX.Element;
10
11
  export default LockedFiguresSection;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "28.6.3",
6
+ "version": "28.6.4",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -38,8 +38,8 @@
38
38
  "@khanacademy/keypad-context": "3.2.16",
39
39
  "@khanacademy/kmath": "2.2.16",
40
40
  "@khanacademy/math-input": "26.2.18",
41
- "@khanacademy/perseus": "72.1.0",
42
41
  "@khanacademy/perseus-core": "20.1.4",
42
+ "@khanacademy/perseus": "72.1.0",
43
43
  "@khanacademy/perseus-linter": "4.4.6",
44
44
  "@khanacademy/perseus-score": "8.0.5",
45
45
  "@khanacademy/perseus-utils": "2.1.2"