@khanacademy/perseus-editor 14.0.0 → 14.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.
@@ -116,7 +116,6 @@ declare const InteractiveGraph: {
116
116
  trashCan: any;
117
117
  vertHairline: any;
118
118
  state: any;
119
- UNSAFE_componentWillMount(): void;
120
119
  componentDidMount(): void;
121
120
  UNSAFE_componentWillReceiveProps(nextProps: PerseusInteractiveGraphWidgetOptions & {
122
121
  widgetId: string;
@@ -390,8 +389,9 @@ declare const InteractiveGraph: {
390
389
  isLastUsedWidget: boolean;
391
390
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
392
391
  containerSizeClass: SizingUtils.SizeClass;
393
- }) | null | undefined) => boolean;
394
- deprecatedProps: any;
392
+ }) | null | undefined) => boolean; /**
393
+ * The range of the graph in the x and y directions.
394
+ */
395
395
  setGraphie: (arg1: any) => void;
396
396
  handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
397
397
  resetGraphie: () => void;
@@ -518,14 +518,20 @@ declare const InteractiveGraph: {
518
518
  updateCoordsFromPoints: () => void;
519
519
  clearCoords: () => void;
520
520
  onChange: import("@khanacademy/perseus").ChangeHandler;
521
- addPointControls: () => void;
521
+ addPointControls: () => void; /**
522
+ * The locked figures to display in the graph area.
523
+ * Locked figures are graph elements (points, lines, line segmeents,
524
+ * etc.) that are locked in place and not interactive.
525
+ */
522
526
  removePointControls: () => void;
523
527
  addSegmentControls: () => void;
524
528
  removeSegmentControls: () => void;
525
529
  addRayControls: () => void;
526
530
  removeRayControls: () => void;
527
531
  addPolygonControls: () => void;
528
- updatePolygon: () => void;
532
+ updatePolygon: () => void; /**
533
+ * The graph to display in the graph area.
534
+ */
529
535
  removePolygonControls: () => void;
530
536
  addAngleControls: () => void;
531
537
  removeAngleControls: () => void;
@@ -815,6 +821,7 @@ declare const InteractiveGraph: {
815
821
  containerSizeClass: SizingUtils.SizeClass;
816
822
  }>, prevState: Readonly<any>): any;
817
823
  componentWillMount?(): void;
824
+ UNSAFE_componentWillMount?(): void;
818
825
  componentWillReceiveProps?(nextProps: Readonly<PerseusInteractiveGraphWidgetOptions & {
819
826
  widgetId: string;
820
827
  alignment: string | null | undefined;
@@ -1947,7 +1954,6 @@ declare const InteractiveGraph: {
1947
1954
  trashCan: any;
1948
1955
  vertHairline: any;
1949
1956
  state: any;
1950
- UNSAFE_componentWillMount(): void;
1951
1957
  componentDidMount(): void;
1952
1958
  UNSAFE_componentWillReceiveProps(nextProps: PerseusInteractiveGraphWidgetOptions & {
1953
1959
  widgetId: string;
@@ -2221,8 +2227,9 @@ declare const InteractiveGraph: {
2221
2227
  isLastUsedWidget: boolean;
2222
2228
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
2223
2229
  containerSizeClass: SizingUtils.SizeClass;
2224
- }) | null | undefined) => boolean;
2225
- deprecatedProps: any;
2230
+ }) | null | undefined) => boolean; /**
2231
+ * The range of the graph in the x and y directions.
2232
+ */
2226
2233
  setGraphie: (arg1: any) => void;
2227
2234
  handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
2228
2235
  resetGraphie: () => void;
@@ -2349,14 +2356,20 @@ declare const InteractiveGraph: {
2349
2356
  updateCoordsFromPoints: () => void;
2350
2357
  clearCoords: () => void;
2351
2358
  onChange: import("@khanacademy/perseus").ChangeHandler;
2352
- addPointControls: () => void;
2359
+ addPointControls: () => void; /**
2360
+ * The locked figures to display in the graph area.
2361
+ * Locked figures are graph elements (points, lines, line segmeents,
2362
+ * etc.) that are locked in place and not interactive.
2363
+ */
2353
2364
  removePointControls: () => void;
2354
2365
  addSegmentControls: () => void;
2355
2366
  removeSegmentControls: () => void;
2356
2367
  addRayControls: () => void;
2357
2368
  removeRayControls: () => void;
2358
2369
  addPolygonControls: () => void;
2359
- updatePolygon: () => void;
2370
+ updatePolygon: () => void; /**
2371
+ * The graph to display in the graph area.
2372
+ */
2360
2373
  removePolygonControls: () => void;
2361
2374
  addAngleControls: () => void;
2362
2375
  removeAngleControls: () => void;
@@ -2646,6 +2659,7 @@ declare const InteractiveGraph: {
2646
2659
  containerSizeClass: SizingUtils.SizeClass;
2647
2660
  }>, prevState: Readonly<any>): any;
2648
2661
  componentWillMount?(): void;
2662
+ UNSAFE_componentWillMount?(): void;
2649
2663
  componentWillReceiveProps?(nextProps: Readonly<PerseusInteractiveGraphWidgetOptions & {
2650
2664
  widgetId: string;
2651
2665
  alignment: string | null | undefined;
@@ -5872,12 +5886,6 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
5872
5886
  displayName: string;
5873
5887
  className: string;
5874
5888
  static defaultProps: DefaultProps;
5875
- deprecatedProps: {
5876
- readonly showGraph: (props: any) => {
5877
- markings: string;
5878
- };
5879
- };
5880
- UNSAFE_componentWillMount(): void;
5881
5889
  changeMatchType: (newValue: any) => void;
5882
5890
  changeStartCoords: (coords: any) => void;
5883
5891
  serialize(): PerseusInteractiveGraphWidgetOptions;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "14.0.0",
6
+ "version": "14.0.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -38,7 +38,7 @@
38
38
  "@khanacademy/keypad-context": "^1.0.1",
39
39
  "@khanacademy/kmath": "^0.1.13",
40
40
  "@khanacademy/math-input": "^21.0.2",
41
- "@khanacademy/perseus": "^32.0.0",
41
+ "@khanacademy/perseus": "^32.0.1",
42
42
  "@khanacademy/perseus-core": "1.5.0"
43
43
  },
44
44
  "devDependencies": {