@khanacademy/perseus-editor 9.0.0 → 11.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.
@@ -0,0 +1 @@
1
+ export declare const clone: <T>(obj: T) => T;
@@ -83,6 +83,7 @@ declare const InteractiveGraph: {
83
83
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
84
84
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
85
85
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
86
+ hintMode: boolean;
86
87
  onChange: import("@khanacademy/perseus").ChangeHandler;
87
88
  trackInteraction: (extraData?: Empty | undefined) => void;
88
89
  isLastUsedWidget: boolean;
@@ -168,6 +169,7 @@ declare const InteractiveGraph: {
168
169
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
169
170
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
170
171
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
172
+ hintMode: boolean;
171
173
  onChange: import("@khanacademy/perseus").ChangeHandler;
172
174
  trackInteraction: (extraData?: Empty | undefined) => void;
173
175
  isLastUsedWidget: boolean;
@@ -278,6 +280,7 @@ declare const InteractiveGraph: {
278
280
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
279
281
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
280
282
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
283
+ hintMode: boolean;
281
284
  onChange: import("@khanacademy/perseus").ChangeHandler;
282
285
  trackInteraction: (extraData?: Empty | undefined) => void;
283
286
  isLastUsedWidget: boolean;
@@ -364,6 +367,7 @@ declare const InteractiveGraph: {
364
367
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
365
368
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
366
369
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
370
+ hintMode: boolean;
367
371
  onChange: import("@khanacademy/perseus").ChangeHandler;
368
372
  trackInteraction: (extraData?: Empty | undefined) => void;
369
373
  isLastUsedWidget: boolean;
@@ -450,6 +454,7 @@ declare const InteractiveGraph: {
450
454
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
451
455
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
452
456
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
457
+ hintMode: boolean;
453
458
  onChange: import("@khanacademy/perseus").ChangeHandler;
454
459
  trackInteraction: (extraData?: Empty | undefined) => void;
455
460
  isLastUsedWidget: boolean;
@@ -544,6 +549,7 @@ declare const InteractiveGraph: {
544
549
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
545
550
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
546
551
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
552
+ hintMode: boolean;
547
553
  onChange: import("@khanacademy/perseus").ChangeHandler;
548
554
  trackInteraction: (extraData?: Empty | undefined) => void;
549
555
  isLastUsedWidget: boolean;
@@ -557,12 +563,7 @@ declare const InteractiveGraph: {
557
563
  _lineStroke: () => {
558
564
  "stroke-width"?: number | undefined;
559
565
  };
560
- addLine: (arg1: string) => void; /**
561
- * The type of markings to display on the graph.
562
- * - graph: shows the axes and the grid lines
563
- * - grid: shows only the grid lines
564
- * - none: shows no markings
565
- */
566
+ addLine: (arg1: string) => void;
566
567
  removeLine: () => void;
567
568
  addLinearControls: () => void;
568
569
  removeLinearControls: () => void;
@@ -578,9 +579,7 @@ declare const InteractiveGraph: {
578
579
  removeLinearSystemControls: () => void;
579
580
  isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
580
581
  createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
581
- removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined; /**
582
- * The number of ticks to display on the ruler.
583
- */
582
+ removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
584
583
  createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
585
584
  updateCoordsFromPoints: () => void;
586
585
  clearCoords: () => void;
@@ -589,14 +588,20 @@ declare const InteractiveGraph: {
589
588
  removePointControls: () => void;
590
589
  addSegmentControls: () => void;
591
590
  removeSegmentControls: () => void;
592
- addRayControls: () => void;
591
+ addRayControls: () => void; /**
592
+ * The locked figures to display in the graph area.
593
+ * Locked figures are graph elements (points, lines, line segmeents,
594
+ * etc.) that are locked in place and not interactive.
595
+ */
593
596
  removeRayControls: () => void;
594
597
  addPolygonControls: () => void;
595
598
  updatePolygon: () => void;
596
599
  removePolygonControls: () => void;
597
600
  addAngleControls: () => void;
598
601
  removeAngleControls: () => void;
599
- toggleShowSides: () => void;
602
+ toggleShowSides: () => void; /**
603
+ * The graph to display in the graph area.
604
+ */
600
605
  getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
601
606
  simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
602
607
  focus: () => void;
@@ -683,6 +688,7 @@ declare const InteractiveGraph: {
683
688
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
684
689
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
685
690
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
691
+ hintMode: boolean;
686
692
  onChange: import("@khanacademy/perseus").ChangeHandler;
687
693
  trackInteraction: (extraData?: Empty | undefined) => void;
688
694
  isLastUsedWidget: boolean;
@@ -772,6 +778,7 @@ declare const InteractiveGraph: {
772
778
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
773
779
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
774
780
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
781
+ hintMode: boolean;
775
782
  onChange: import("@khanacademy/perseus").ChangeHandler;
776
783
  trackInteraction: (extraData?: Empty | undefined) => void;
777
784
  isLastUsedWidget: boolean;
@@ -860,6 +867,7 @@ declare const InteractiveGraph: {
860
867
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
861
868
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
862
869
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
870
+ hintMode: boolean;
863
871
  onChange: import("@khanacademy/perseus").ChangeHandler;
864
872
  trackInteraction: (extraData?: Empty | undefined) => void;
865
873
  isLastUsedWidget: boolean;
@@ -947,6 +955,7 @@ declare const InteractiveGraph: {
947
955
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
948
956
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
949
957
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
958
+ hintMode: boolean;
950
959
  onChange: import("@khanacademy/perseus").ChangeHandler;
951
960
  trackInteraction: (extraData?: Empty | undefined) => void;
952
961
  isLastUsedWidget: boolean;
@@ -1033,6 +1042,7 @@ declare const InteractiveGraph: {
1033
1042
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1034
1043
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1035
1044
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1045
+ hintMode: boolean;
1036
1046
  onChange: import("@khanacademy/perseus").ChangeHandler;
1037
1047
  trackInteraction: (extraData?: Empty | undefined) => void;
1038
1048
  isLastUsedWidget: boolean;
@@ -1119,6 +1129,7 @@ declare const InteractiveGraph: {
1119
1129
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1120
1130
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1121
1131
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1132
+ hintMode: boolean;
1122
1133
  onChange: import("@khanacademy/perseus").ChangeHandler;
1123
1134
  trackInteraction: (extraData?: Empty | undefined) => void;
1124
1135
  isLastUsedWidget: boolean;
@@ -1213,6 +1224,7 @@ declare const InteractiveGraph: {
1213
1224
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1214
1225
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1215
1226
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1227
+ hintMode: boolean;
1216
1228
  onChange: import("@khanacademy/perseus").ChangeHandler;
1217
1229
  trackInteraction: (extraData?: Empty | undefined) => void;
1218
1230
  isLastUsedWidget: boolean;
@@ -1304,6 +1316,7 @@ declare const InteractiveGraph: {
1304
1316
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1305
1317
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1306
1318
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1319
+ hintMode: boolean;
1307
1320
  onChange: import("@khanacademy/perseus").ChangeHandler;
1308
1321
  trackInteraction: (extraData?: Empty | undefined) => void;
1309
1322
  isLastUsedWidget: boolean;
@@ -1392,6 +1405,7 @@ declare const InteractiveGraph: {
1392
1405
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1393
1406
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1394
1407
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1408
+ hintMode: boolean;
1395
1409
  onChange: import("@khanacademy/perseus").ChangeHandler;
1396
1410
  trackInteraction: (extraData?: Empty | undefined) => void;
1397
1411
  isLastUsedWidget: boolean;
@@ -1478,6 +1492,7 @@ declare const InteractiveGraph: {
1478
1492
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1479
1493
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1480
1494
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1495
+ hintMode: boolean;
1481
1496
  onChange: import("@khanacademy/perseus").ChangeHandler;
1482
1497
  trackInteraction: (extraData?: Empty | undefined) => void;
1483
1498
  isLastUsedWidget: boolean;
@@ -1566,6 +1581,7 @@ declare const InteractiveGraph: {
1566
1581
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1567
1582
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1568
1583
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1584
+ hintMode: boolean;
1569
1585
  onChange: import("@khanacademy/perseus").ChangeHandler;
1570
1586
  trackInteraction: (extraData?: Empty | undefined) => void;
1571
1587
  isLastUsedWidget: boolean;
@@ -1652,6 +1668,7 @@ declare const InteractiveGraph: {
1652
1668
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1653
1669
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1654
1670
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1671
+ hintMode: boolean;
1655
1672
  onChange: import("@khanacademy/perseus").ChangeHandler;
1656
1673
  trackInteraction: (extraData?: Empty | undefined) => void;
1657
1674
  isLastUsedWidget: boolean;
@@ -1738,6 +1755,7 @@ declare const InteractiveGraph: {
1738
1755
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1739
1756
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1740
1757
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1758
+ hintMode: boolean;
1741
1759
  onChange: import("@khanacademy/perseus").ChangeHandler;
1742
1760
  trackInteraction: (extraData?: Empty | undefined) => void;
1743
1761
  isLastUsedWidget: boolean;
@@ -1824,6 +1842,7 @@ declare const InteractiveGraph: {
1824
1842
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1825
1843
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1826
1844
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1845
+ hintMode: boolean;
1827
1846
  onChange: import("@khanacademy/perseus").ChangeHandler;
1828
1847
  trackInteraction: (extraData?: Empty | undefined) => void;
1829
1848
  isLastUsedWidget: boolean;
@@ -1911,6 +1930,7 @@ declare const InteractiveGraph: {
1911
1930
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1912
1931
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1913
1932
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1933
+ hintMode: boolean;
1914
1934
  onChange: import("@khanacademy/perseus").ChangeHandler;
1915
1935
  trackInteraction: (extraData?: Empty | undefined) => void;
1916
1936
  isLastUsedWidget: boolean;
@@ -2021,6 +2041,7 @@ declare const InteractiveGraph: {
2021
2041
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2022
2042
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2023
2043
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2044
+ hintMode: boolean;
2024
2045
  onChange: import("@khanacademy/perseus").ChangeHandler;
2025
2046
  trackInteraction: (extraData?: Empty | undefined) => void;
2026
2047
  isLastUsedWidget: boolean;
@@ -2107,6 +2128,7 @@ declare const InteractiveGraph: {
2107
2128
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2108
2129
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2109
2130
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2131
+ hintMode: boolean;
2110
2132
  onChange: import("@khanacademy/perseus").ChangeHandler;
2111
2133
  trackInteraction: (extraData?: Empty | undefined) => void;
2112
2134
  isLastUsedWidget: boolean;
@@ -2193,6 +2215,7 @@ declare const InteractiveGraph: {
2193
2215
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2194
2216
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2195
2217
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2218
+ hintMode: boolean;
2196
2219
  onChange: import("@khanacademy/perseus").ChangeHandler;
2197
2220
  trackInteraction: (extraData?: Empty | undefined) => void;
2198
2221
  isLastUsedWidget: boolean;
@@ -2287,6 +2310,7 @@ declare const InteractiveGraph: {
2287
2310
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2288
2311
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2289
2312
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2313
+ hintMode: boolean;
2290
2314
  onChange: import("@khanacademy/perseus").ChangeHandler;
2291
2315
  trackInteraction: (extraData?: Empty | undefined) => void;
2292
2316
  isLastUsedWidget: boolean;
@@ -2300,12 +2324,7 @@ declare const InteractiveGraph: {
2300
2324
  _lineStroke: () => {
2301
2325
  "stroke-width"?: number | undefined;
2302
2326
  };
2303
- addLine: (arg1: string) => void; /**
2304
- * The type of markings to display on the graph.
2305
- * - graph: shows the axes and the grid lines
2306
- * - grid: shows only the grid lines
2307
- * - none: shows no markings
2308
- */
2327
+ addLine: (arg1: string) => void;
2309
2328
  removeLine: () => void;
2310
2329
  addLinearControls: () => void;
2311
2330
  removeLinearControls: () => void;
@@ -2321,9 +2340,7 @@ declare const InteractiveGraph: {
2321
2340
  removeLinearSystemControls: () => void;
2322
2341
  isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
2323
2342
  createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
2324
- removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined; /**
2325
- * The number of ticks to display on the ruler.
2326
- */
2343
+ removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
2327
2344
  createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
2328
2345
  updateCoordsFromPoints: () => void;
2329
2346
  clearCoords: () => void;
@@ -2332,14 +2349,20 @@ declare const InteractiveGraph: {
2332
2349
  removePointControls: () => void;
2333
2350
  addSegmentControls: () => void;
2334
2351
  removeSegmentControls: () => void;
2335
- addRayControls: () => void;
2352
+ addRayControls: () => void; /**
2353
+ * The locked figures to display in the graph area.
2354
+ * Locked figures are graph elements (points, lines, line segmeents,
2355
+ * etc.) that are locked in place and not interactive.
2356
+ */
2336
2357
  removeRayControls: () => void;
2337
2358
  addPolygonControls: () => void;
2338
2359
  updatePolygon: () => void;
2339
2360
  removePolygonControls: () => void;
2340
2361
  addAngleControls: () => void;
2341
2362
  removeAngleControls: () => void;
2342
- toggleShowSides: () => void;
2363
+ toggleShowSides: () => void; /**
2364
+ * The graph to display in the graph area.
2365
+ */
2343
2366
  getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
2344
2367
  simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
2345
2368
  focus: () => void;
@@ -2426,6 +2449,7 @@ declare const InteractiveGraph: {
2426
2449
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2427
2450
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2428
2451
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2452
+ hintMode: boolean;
2429
2453
  onChange: import("@khanacademy/perseus").ChangeHandler;
2430
2454
  trackInteraction: (extraData?: Empty | undefined) => void;
2431
2455
  isLastUsedWidget: boolean;
@@ -2515,6 +2539,7 @@ declare const InteractiveGraph: {
2515
2539
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2516
2540
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2517
2541
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2542
+ hintMode: boolean;
2518
2543
  onChange: import("@khanacademy/perseus").ChangeHandler;
2519
2544
  trackInteraction: (extraData?: Empty | undefined) => void;
2520
2545
  isLastUsedWidget: boolean;
@@ -2603,6 +2628,7 @@ declare const InteractiveGraph: {
2603
2628
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2604
2629
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2605
2630
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2631
+ hintMode: boolean;
2606
2632
  onChange: import("@khanacademy/perseus").ChangeHandler;
2607
2633
  trackInteraction: (extraData?: Empty | undefined) => void;
2608
2634
  isLastUsedWidget: boolean;
@@ -2690,6 +2716,7 @@ declare const InteractiveGraph: {
2690
2716
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2691
2717
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2692
2718
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2719
+ hintMode: boolean;
2693
2720
  onChange: import("@khanacademy/perseus").ChangeHandler;
2694
2721
  trackInteraction: (extraData?: Empty | undefined) => void;
2695
2722
  isLastUsedWidget: boolean;
@@ -2776,6 +2803,7 @@ declare const InteractiveGraph: {
2776
2803
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2777
2804
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2778
2805
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2806
+ hintMode: boolean;
2779
2807
  onChange: import("@khanacademy/perseus").ChangeHandler;
2780
2808
  trackInteraction: (extraData?: Empty | undefined) => void;
2781
2809
  isLastUsedWidget: boolean;
@@ -2862,6 +2890,7 @@ declare const InteractiveGraph: {
2862
2890
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2863
2891
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2864
2892
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2893
+ hintMode: boolean;
2865
2894
  onChange: import("@khanacademy/perseus").ChangeHandler;
2866
2895
  trackInteraction: (extraData?: Empty | undefined) => void;
2867
2896
  isLastUsedWidget: boolean;
@@ -2956,6 +2985,7 @@ declare const InteractiveGraph: {
2956
2985
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2957
2986
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2958
2987
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2988
+ hintMode: boolean;
2959
2989
  onChange: import("@khanacademy/perseus").ChangeHandler;
2960
2990
  trackInteraction: (extraData?: Empty | undefined) => void;
2961
2991
  isLastUsedWidget: boolean;
@@ -3047,6 +3077,7 @@ declare const InteractiveGraph: {
3047
3077
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3048
3078
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3049
3079
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3080
+ hintMode: boolean;
3050
3081
  onChange: import("@khanacademy/perseus").ChangeHandler;
3051
3082
  trackInteraction: (extraData?: Empty | undefined) => void;
3052
3083
  isLastUsedWidget: boolean;
@@ -3135,6 +3166,7 @@ declare const InteractiveGraph: {
3135
3166
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3136
3167
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3137
3168
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3169
+ hintMode: boolean;
3138
3170
  onChange: import("@khanacademy/perseus").ChangeHandler;
3139
3171
  trackInteraction: (extraData?: Empty | undefined) => void;
3140
3172
  isLastUsedWidget: boolean;
@@ -3221,6 +3253,7 @@ declare const InteractiveGraph: {
3221
3253
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3222
3254
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3223
3255
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3256
+ hintMode: boolean;
3224
3257
  onChange: import("@khanacademy/perseus").ChangeHandler;
3225
3258
  trackInteraction: (extraData?: Empty | undefined) => void;
3226
3259
  isLastUsedWidget: boolean;
@@ -3309,6 +3342,7 @@ declare const InteractiveGraph: {
3309
3342
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3310
3343
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3311
3344
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3345
+ hintMode: boolean;
3312
3346
  onChange: import("@khanacademy/perseus").ChangeHandler;
3313
3347
  trackInteraction: (extraData?: Empty | undefined) => void;
3314
3348
  isLastUsedWidget: boolean;
@@ -3395,6 +3429,7 @@ declare const InteractiveGraph: {
3395
3429
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3396
3430
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3397
3431
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3432
+ hintMode: boolean;
3398
3433
  onChange: import("@khanacademy/perseus").ChangeHandler;
3399
3434
  trackInteraction: (extraData?: Empty | undefined) => void;
3400
3435
  isLastUsedWidget: boolean;
@@ -3481,6 +3516,7 @@ declare const InteractiveGraph: {
3481
3516
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3482
3517
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3483
3518
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3519
+ hintMode: boolean;
3484
3520
  onChange: import("@khanacademy/perseus").ChangeHandler;
3485
3521
  trackInteraction: (extraData?: Empty | undefined) => void;
3486
3522
  isLastUsedWidget: boolean;
@@ -3567,6 +3603,7 @@ declare const InteractiveGraph: {
3567
3603
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3568
3604
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3569
3605
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3606
+ hintMode: boolean;
3570
3607
  onChange: import("@khanacademy/perseus").ChangeHandler;
3571
3608
  trackInteraction: (extraData?: Empty | undefined) => void;
3572
3609
  isLastUsedWidget: boolean;
@@ -3582,9 +3619,6 @@ declare const InteractiveGraph: {
3582
3619
  markings: "grid" | "none" | "graph";
3583
3620
  showTooltips: boolean | undefined;
3584
3621
  showProtractor: boolean;
3585
- showRuler: boolean;
3586
- rulerLabel: string;
3587
- rulerTicks: number;
3588
3622
  graph: import("@khanacademy/perseus").PerseusGraphType;
3589
3623
  };
3590
3624
  getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
@@ -3669,6 +3703,7 @@ declare const InteractiveGraph: {
3669
3703
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3670
3704
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3671
3705
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3706
+ hintMode: boolean;
3672
3707
  onChange: import("@khanacademy/perseus").ChangeHandler;
3673
3708
  trackInteraction: (extraData?: Empty | undefined) => void;
3674
3709
  isLastUsedWidget: boolean;
@@ -3755,6 +3790,7 @@ declare const InteractiveGraph: {
3755
3790
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3756
3791
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3757
3792
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3793
+ hintMode: boolean;
3758
3794
  onChange: import("@khanacademy/perseus").ChangeHandler;
3759
3795
  trackInteraction: (extraData?: Empty | undefined) => void;
3760
3796
  isLastUsedWidget: boolean;
@@ -3841,6 +3877,7 @@ declare const InteractiveGraph: {
3841
3877
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3842
3878
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3843
3879
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3880
+ hintMode: boolean;
3844
3881
  onChange: import("@khanacademy/perseus").ChangeHandler;
3845
3882
  trackInteraction: (extraData?: Empty | undefined) => void;
3846
3883
  isLastUsedWidget: boolean;
@@ -3927,6 +3964,7 @@ declare const InteractiveGraph: {
3927
3964
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3928
3965
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3929
3966
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3967
+ hintMode: boolean;
3930
3968
  onChange: import("@khanacademy/perseus").ChangeHandler;
3931
3969
  trackInteraction: (extraData?: Empty | undefined) => void;
3932
3970
  isLastUsedWidget: boolean;
@@ -4013,6 +4051,7 @@ declare const InteractiveGraph: {
4013
4051
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4014
4052
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4015
4053
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4054
+ hintMode: boolean;
4016
4055
  onChange: import("@khanacademy/perseus").ChangeHandler;
4017
4056
  trackInteraction: (extraData?: Empty | undefined) => void;
4018
4057
  isLastUsedWidget: boolean;
@@ -4099,6 +4138,7 @@ declare const InteractiveGraph: {
4099
4138
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4100
4139
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4101
4140
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4141
+ hintMode: boolean;
4102
4142
  onChange: import("@khanacademy/perseus").ChangeHandler;
4103
4143
  trackInteraction: (extraData?: Empty | undefined) => void;
4104
4144
  isLastUsedWidget: boolean;
@@ -4186,6 +4226,7 @@ declare const InteractiveGraph: {
4186
4226
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4187
4227
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4188
4228
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4229
+ hintMode: boolean;
4189
4230
  onChange: import("@khanacademy/perseus").ChangeHandler;
4190
4231
  trackInteraction: (extraData?: Empty | undefined) => void;
4191
4232
  isLastUsedWidget: boolean;
@@ -4272,6 +4313,7 @@ declare const InteractiveGraph: {
4272
4313
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4273
4314
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4274
4315
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4316
+ hintMode: boolean;
4275
4317
  onChange: import("@khanacademy/perseus").ChangeHandler;
4276
4318
  trackInteraction: (extraData?: Empty | undefined) => void;
4277
4319
  isLastUsedWidget: boolean;
@@ -4358,6 +4400,7 @@ declare const InteractiveGraph: {
4358
4400
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4359
4401
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4360
4402
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4403
+ hintMode: boolean;
4361
4404
  onChange: import("@khanacademy/perseus").ChangeHandler;
4362
4405
  trackInteraction: (extraData?: Empty | undefined) => void;
4363
4406
  isLastUsedWidget: boolean;
@@ -4444,6 +4487,7 @@ declare const InteractiveGraph: {
4444
4487
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4445
4488
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4446
4489
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4490
+ hintMode: boolean;
4447
4491
  onChange: import("@khanacademy/perseus").ChangeHandler;
4448
4492
  trackInteraction: (extraData?: Empty | undefined) => void;
4449
4493
  isLastUsedWidget: boolean;
@@ -4530,6 +4574,7 @@ declare const InteractiveGraph: {
4530
4574
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4531
4575
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4532
4576
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4577
+ hintMode: boolean;
4533
4578
  onChange: import("@khanacademy/perseus").ChangeHandler;
4534
4579
  trackInteraction: (extraData?: Empty | undefined) => void;
4535
4580
  isLastUsedWidget: boolean;
@@ -4616,6 +4661,7 @@ declare const InteractiveGraph: {
4616
4661
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4617
4662
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4618
4663
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4664
+ hintMode: boolean;
4619
4665
  onChange: import("@khanacademy/perseus").ChangeHandler;
4620
4666
  trackInteraction: (extraData?: Empty | undefined) => void;
4621
4667
  isLastUsedWidget: boolean;
@@ -4702,6 +4748,7 @@ declare const InteractiveGraph: {
4702
4748
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4703
4749
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4704
4750
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4751
+ hintMode: boolean;
4705
4752
  onChange: import("@khanacademy/perseus").ChangeHandler;
4706
4753
  trackInteraction: (extraData?: Empty | undefined) => void;
4707
4754
  isLastUsedWidget: boolean;
@@ -4788,6 +4835,7 @@ declare const InteractiveGraph: {
4788
4835
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4789
4836
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4790
4837
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4838
+ hintMode: boolean;
4791
4839
  onChange: import("@khanacademy/perseus").ChangeHandler;
4792
4840
  trackInteraction: (extraData?: Empty | undefined) => void;
4793
4841
  isLastUsedWidget: boolean;
@@ -4874,6 +4922,7 @@ declare const InteractiveGraph: {
4874
4922
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4875
4923
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4876
4924
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4925
+ hintMode: boolean;
4877
4926
  onChange: import("@khanacademy/perseus").ChangeHandler;
4878
4927
  trackInteraction: (extraData?: Empty | undefined) => void;
4879
4928
  isLastUsedWidget: boolean;
@@ -4960,6 +5009,7 @@ declare const InteractiveGraph: {
4960
5009
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4961
5010
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4962
5011
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5012
+ hintMode: boolean;
4963
5013
  onChange: import("@khanacademy/perseus").ChangeHandler;
4964
5014
  trackInteraction: (extraData?: Empty | undefined) => void;
4965
5015
  isLastUsedWidget: boolean;
@@ -5046,6 +5096,7 @@ declare const InteractiveGraph: {
5046
5096
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5047
5097
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5048
5098
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5099
+ hintMode: boolean;
5049
5100
  onChange: import("@khanacademy/perseus").ChangeHandler;
5050
5101
  trackInteraction: (extraData?: Empty | undefined) => void;
5051
5102
  isLastUsedWidget: boolean;
@@ -5132,6 +5183,7 @@ declare const InteractiveGraph: {
5132
5183
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5133
5184
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5134
5185
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5186
+ hintMode: boolean;
5135
5187
  onChange: import("@khanacademy/perseus").ChangeHandler;
5136
5188
  trackInteraction: (extraData?: Empty | undefined) => void;
5137
5189
  isLastUsedWidget: boolean;
@@ -5218,6 +5270,7 @@ declare const InteractiveGraph: {
5218
5270
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5219
5271
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5220
5272
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5273
+ hintMode: boolean;
5221
5274
  onChange: import("@khanacademy/perseus").ChangeHandler;
5222
5275
  trackInteraction: (extraData?: Empty | undefined) => void;
5223
5276
  isLastUsedWidget: boolean;
@@ -5304,6 +5357,7 @@ declare const InteractiveGraph: {
5304
5357
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5305
5358
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5306
5359
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5360
+ hintMode: boolean;
5307
5361
  onChange: import("@khanacademy/perseus").ChangeHandler;
5308
5362
  trackInteraction: (extraData?: Empty | undefined) => void;
5309
5363
  isLastUsedWidget: boolean;
@@ -5390,6 +5444,7 @@ declare const InteractiveGraph: {
5390
5444
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5391
5445
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5392
5446
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5447
+ hintMode: boolean;
5393
5448
  onChange: import("@khanacademy/perseus").ChangeHandler;
5394
5449
  trackInteraction: (extraData?: Empty | undefined) => void;
5395
5450
  isLastUsedWidget: boolean;
@@ -5476,6 +5531,7 @@ declare const InteractiveGraph: {
5476
5531
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5477
5532
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5478
5533
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5534
+ hintMode: boolean;
5479
5535
  onChange: import("@khanacademy/perseus").ChangeHandler;
5480
5536
  trackInteraction: (extraData?: Empty | undefined) => void;
5481
5537
  isLastUsedWidget: boolean;
@@ -5563,6 +5619,7 @@ declare const InteractiveGraph: {
5563
5619
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5564
5620
  findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5565
5621
  reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5622
+ hintMode: boolean;
5566
5623
  onChange: import("@khanacademy/perseus").ChangeHandler;
5567
5624
  trackInteraction: (extraData?: Empty | undefined) => void;
5568
5625
  isLastUsedWidget: boolean;
@@ -5620,23 +5677,11 @@ export type Props = {
5620
5677
  * Whether to show the protractor on the graph.
5621
5678
  */
5622
5679
  showProtractor: boolean;
5623
- /**
5624
- * Whether to show the ruler on the graph.
5625
- */
5626
- showRuler: boolean;
5627
5680
  /**
5628
5681
  * Whether to show tooltips on the graph.
5629
5682
  * (Currently not used, but will be in the future.)
5630
5683
  */
5631
5684
  showTooltips: boolean;
5632
- /**
5633
- * The label to display on the ruler, if any.
5634
- */
5635
- rulerLabel: string;
5636
- /**
5637
- * The number of ticks to display on the ruler.
5638
- */
5639
- rulerTicks: number;
5640
5685
  /**
5641
5686
  * The current correct answer for the graph. Updated by this component
5642
5687
  * when the graph is changed.
@@ -5667,10 +5712,7 @@ type DefaultProps = {
5667
5712
  backgroundImage: Props["backgroundImage"];
5668
5713
  markings: Props["markings"];
5669
5714
  showProtractor: Props["showProtractor"];
5670
- showRuler: Props["showRuler"];
5671
5715
  showTooltips: Props["showTooltips"];
5672
- rulerLabel: Props["rulerLabel"];
5673
- rulerTicks: Props["rulerTicks"];
5674
5716
  correct: Props["correct"];
5675
5717
  };
5676
5718
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "9.0.0",
6
+ "version": "11.0.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -27,8 +27,8 @@
27
27
  "dependencies": {
28
28
  "@khanacademy/kas": "^0.3.10",
29
29
  "@khanacademy/kmath": "^0.1.13",
30
- "@khanacademy/math-input": "^20.0.0",
31
- "@khanacademy/perseus": "^26.0.0",
30
+ "@khanacademy/math-input": "^20.0.2",
31
+ "@khanacademy/perseus": "^27.0.0",
32
32
  "@khanacademy/perseus-core": "1.5.0"
33
33
  },
34
34
  "devDependencies": {