@khanacademy/perseus-editor 7.0.2 → 8.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/components/util.d.ts +2 -1
- package/dist/es/index.js +45 -11
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +47 -13
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +63 -1
- package/package.json +6 -6
|
@@ -50,6 +50,7 @@ declare const InteractiveGraph: {
|
|
|
50
50
|
point?: boolean | undefined;
|
|
51
51
|
ray?: boolean | undefined;
|
|
52
52
|
segment?: boolean | undefined;
|
|
53
|
+
angle?: boolean | undefined;
|
|
53
54
|
"linear-system"?: boolean | undefined;
|
|
54
55
|
} & {
|
|
55
56
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -132,6 +133,7 @@ declare const InteractiveGraph: {
|
|
|
132
133
|
point?: boolean | undefined;
|
|
133
134
|
ray?: boolean | undefined;
|
|
134
135
|
segment?: boolean | undefined;
|
|
136
|
+
angle?: boolean | undefined;
|
|
135
137
|
"linear-system"?: boolean | undefined;
|
|
136
138
|
} & {
|
|
137
139
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -239,6 +241,7 @@ declare const InteractiveGraph: {
|
|
|
239
241
|
point?: boolean | undefined;
|
|
240
242
|
ray?: boolean | undefined;
|
|
241
243
|
segment?: boolean | undefined;
|
|
244
|
+
angle?: boolean | undefined;
|
|
242
245
|
"linear-system"?: boolean | undefined;
|
|
243
246
|
} & {
|
|
244
247
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -322,6 +325,7 @@ declare const InteractiveGraph: {
|
|
|
322
325
|
point?: boolean | undefined;
|
|
323
326
|
ray?: boolean | undefined;
|
|
324
327
|
segment?: boolean | undefined;
|
|
328
|
+
angle?: boolean | undefined;
|
|
325
329
|
"linear-system"?: boolean | undefined;
|
|
326
330
|
} & {
|
|
327
331
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -405,6 +409,7 @@ declare const InteractiveGraph: {
|
|
|
405
409
|
point?: boolean | undefined;
|
|
406
410
|
ray?: boolean | undefined;
|
|
407
411
|
segment?: boolean | undefined;
|
|
412
|
+
angle?: boolean | undefined;
|
|
408
413
|
"linear-system"?: boolean | undefined;
|
|
409
414
|
} & {
|
|
410
415
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -498,6 +503,7 @@ declare const InteractiveGraph: {
|
|
|
498
503
|
point?: boolean | undefined;
|
|
499
504
|
ray?: boolean | undefined;
|
|
500
505
|
segment?: boolean | undefined;
|
|
506
|
+
angle?: boolean | undefined;
|
|
501
507
|
"linear-system"?: boolean | undefined;
|
|
502
508
|
} & {
|
|
503
509
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -627,6 +633,7 @@ declare const InteractiveGraph: {
|
|
|
627
633
|
point?: boolean | undefined;
|
|
628
634
|
ray?: boolean | undefined;
|
|
629
635
|
segment?: boolean | undefined;
|
|
636
|
+
angle?: boolean | undefined;
|
|
630
637
|
"linear-system"?: boolean | undefined;
|
|
631
638
|
} & {
|
|
632
639
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -715,6 +722,7 @@ declare const InteractiveGraph: {
|
|
|
715
722
|
point?: boolean | undefined;
|
|
716
723
|
ray?: boolean | undefined;
|
|
717
724
|
segment?: boolean | undefined;
|
|
725
|
+
angle?: boolean | undefined;
|
|
718
726
|
"linear-system"?: boolean | undefined;
|
|
719
727
|
} & {
|
|
720
728
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -800,6 +808,7 @@ declare const InteractiveGraph: {
|
|
|
800
808
|
point?: boolean | undefined;
|
|
801
809
|
ray?: boolean | undefined;
|
|
802
810
|
segment?: boolean | undefined;
|
|
811
|
+
angle?: boolean | undefined;
|
|
803
812
|
"linear-system"?: boolean | undefined;
|
|
804
813
|
} & {
|
|
805
814
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -884,6 +893,7 @@ declare const InteractiveGraph: {
|
|
|
884
893
|
point?: boolean | undefined;
|
|
885
894
|
ray?: boolean | undefined;
|
|
886
895
|
segment?: boolean | undefined;
|
|
896
|
+
angle?: boolean | undefined;
|
|
887
897
|
"linear-system"?: boolean | undefined;
|
|
888
898
|
} & {
|
|
889
899
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -967,6 +977,7 @@ declare const InteractiveGraph: {
|
|
|
967
977
|
point?: boolean | undefined;
|
|
968
978
|
ray?: boolean | undefined;
|
|
969
979
|
segment?: boolean | undefined;
|
|
980
|
+
angle?: boolean | undefined;
|
|
970
981
|
"linear-system"?: boolean | undefined;
|
|
971
982
|
} & {
|
|
972
983
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1050,6 +1061,7 @@ declare const InteractiveGraph: {
|
|
|
1050
1061
|
point?: boolean | undefined;
|
|
1051
1062
|
ray?: boolean | undefined;
|
|
1052
1063
|
segment?: boolean | undefined;
|
|
1064
|
+
angle?: boolean | undefined;
|
|
1053
1065
|
"linear-system"?: boolean | undefined;
|
|
1054
1066
|
} & {
|
|
1055
1067
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1141,6 +1153,7 @@ declare const InteractiveGraph: {
|
|
|
1141
1153
|
point?: boolean | undefined;
|
|
1142
1154
|
ray?: boolean | undefined;
|
|
1143
1155
|
segment?: boolean | undefined;
|
|
1156
|
+
angle?: boolean | undefined;
|
|
1144
1157
|
"linear-system"?: boolean | undefined;
|
|
1145
1158
|
} & {
|
|
1146
1159
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1231,6 +1244,7 @@ declare const InteractiveGraph: {
|
|
|
1231
1244
|
point?: boolean | undefined;
|
|
1232
1245
|
ray?: boolean | undefined;
|
|
1233
1246
|
segment?: boolean | undefined;
|
|
1247
|
+
angle?: boolean | undefined;
|
|
1234
1248
|
"linear-system"?: boolean | undefined;
|
|
1235
1249
|
} & {
|
|
1236
1250
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1316,6 +1330,7 @@ declare const InteractiveGraph: {
|
|
|
1316
1330
|
point?: boolean | undefined;
|
|
1317
1331
|
ray?: boolean | undefined;
|
|
1318
1332
|
segment?: boolean | undefined;
|
|
1333
|
+
angle?: boolean | undefined;
|
|
1319
1334
|
"linear-system"?: boolean | undefined;
|
|
1320
1335
|
} & {
|
|
1321
1336
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1399,6 +1414,7 @@ declare const InteractiveGraph: {
|
|
|
1399
1414
|
point?: boolean | undefined;
|
|
1400
1415
|
ray?: boolean | undefined;
|
|
1401
1416
|
segment?: boolean | undefined;
|
|
1417
|
+
angle?: boolean | undefined;
|
|
1402
1418
|
"linear-system"?: boolean | undefined;
|
|
1403
1419
|
} & {
|
|
1404
1420
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1484,6 +1500,7 @@ declare const InteractiveGraph: {
|
|
|
1484
1500
|
point?: boolean | undefined;
|
|
1485
1501
|
ray?: boolean | undefined;
|
|
1486
1502
|
segment?: boolean | undefined;
|
|
1503
|
+
angle?: boolean | undefined;
|
|
1487
1504
|
"linear-system"?: boolean | undefined;
|
|
1488
1505
|
} & {
|
|
1489
1506
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1567,6 +1584,7 @@ declare const InteractiveGraph: {
|
|
|
1567
1584
|
point?: boolean | undefined;
|
|
1568
1585
|
ray?: boolean | undefined;
|
|
1569
1586
|
segment?: boolean | undefined;
|
|
1587
|
+
angle?: boolean | undefined;
|
|
1570
1588
|
"linear-system"?: boolean | undefined;
|
|
1571
1589
|
} & {
|
|
1572
1590
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1650,6 +1668,7 @@ declare const InteractiveGraph: {
|
|
|
1650
1668
|
point?: boolean | undefined;
|
|
1651
1669
|
ray?: boolean | undefined;
|
|
1652
1670
|
segment?: boolean | undefined;
|
|
1671
|
+
angle?: boolean | undefined;
|
|
1653
1672
|
"linear-system"?: boolean | undefined;
|
|
1654
1673
|
} & {
|
|
1655
1674
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1733,6 +1752,7 @@ declare const InteractiveGraph: {
|
|
|
1733
1752
|
point?: boolean | undefined;
|
|
1734
1753
|
ray?: boolean | undefined;
|
|
1735
1754
|
segment?: boolean | undefined;
|
|
1755
|
+
angle?: boolean | undefined;
|
|
1736
1756
|
"linear-system"?: boolean | undefined;
|
|
1737
1757
|
} & {
|
|
1738
1758
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1817,6 +1837,7 @@ declare const InteractiveGraph: {
|
|
|
1817
1837
|
point?: boolean | undefined;
|
|
1818
1838
|
ray?: boolean | undefined;
|
|
1819
1839
|
segment?: boolean | undefined;
|
|
1840
|
+
angle?: boolean | undefined;
|
|
1820
1841
|
"linear-system"?: boolean | undefined;
|
|
1821
1842
|
} & {
|
|
1822
1843
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -1924,6 +1945,7 @@ declare const InteractiveGraph: {
|
|
|
1924
1945
|
point?: boolean | undefined;
|
|
1925
1946
|
ray?: boolean | undefined;
|
|
1926
1947
|
segment?: boolean | undefined;
|
|
1948
|
+
angle?: boolean | undefined;
|
|
1927
1949
|
"linear-system"?: boolean | undefined;
|
|
1928
1950
|
} & {
|
|
1929
1951
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2007,6 +2029,7 @@ declare const InteractiveGraph: {
|
|
|
2007
2029
|
point?: boolean | undefined;
|
|
2008
2030
|
ray?: boolean | undefined;
|
|
2009
2031
|
segment?: boolean | undefined;
|
|
2032
|
+
angle?: boolean | undefined;
|
|
2010
2033
|
"linear-system"?: boolean | undefined;
|
|
2011
2034
|
} & {
|
|
2012
2035
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2090,6 +2113,7 @@ declare const InteractiveGraph: {
|
|
|
2090
2113
|
point?: boolean | undefined;
|
|
2091
2114
|
ray?: boolean | undefined;
|
|
2092
2115
|
segment?: boolean | undefined;
|
|
2116
|
+
angle?: boolean | undefined;
|
|
2093
2117
|
"linear-system"?: boolean | undefined;
|
|
2094
2118
|
} & {
|
|
2095
2119
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2183,6 +2207,7 @@ declare const InteractiveGraph: {
|
|
|
2183
2207
|
point?: boolean | undefined;
|
|
2184
2208
|
ray?: boolean | undefined;
|
|
2185
2209
|
segment?: boolean | undefined;
|
|
2210
|
+
angle?: boolean | undefined;
|
|
2186
2211
|
"linear-system"?: boolean | undefined;
|
|
2187
2212
|
} & {
|
|
2188
2213
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2312,6 +2337,7 @@ declare const InteractiveGraph: {
|
|
|
2312
2337
|
point?: boolean | undefined;
|
|
2313
2338
|
ray?: boolean | undefined;
|
|
2314
2339
|
segment?: boolean | undefined;
|
|
2340
|
+
angle?: boolean | undefined;
|
|
2315
2341
|
"linear-system"?: boolean | undefined;
|
|
2316
2342
|
} & {
|
|
2317
2343
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2400,6 +2426,7 @@ declare const InteractiveGraph: {
|
|
|
2400
2426
|
point?: boolean | undefined;
|
|
2401
2427
|
ray?: boolean | undefined;
|
|
2402
2428
|
segment?: boolean | undefined;
|
|
2429
|
+
angle?: boolean | undefined;
|
|
2403
2430
|
"linear-system"?: boolean | undefined;
|
|
2404
2431
|
} & {
|
|
2405
2432
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2485,6 +2512,7 @@ declare const InteractiveGraph: {
|
|
|
2485
2512
|
point?: boolean | undefined;
|
|
2486
2513
|
ray?: boolean | undefined;
|
|
2487
2514
|
segment?: boolean | undefined;
|
|
2515
|
+
angle?: boolean | undefined;
|
|
2488
2516
|
"linear-system"?: boolean | undefined;
|
|
2489
2517
|
} & {
|
|
2490
2518
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2569,6 +2597,7 @@ declare const InteractiveGraph: {
|
|
|
2569
2597
|
point?: boolean | undefined;
|
|
2570
2598
|
ray?: boolean | undefined;
|
|
2571
2599
|
segment?: boolean | undefined;
|
|
2600
|
+
angle?: boolean | undefined;
|
|
2572
2601
|
"linear-system"?: boolean | undefined;
|
|
2573
2602
|
} & {
|
|
2574
2603
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2652,6 +2681,7 @@ declare const InteractiveGraph: {
|
|
|
2652
2681
|
point?: boolean | undefined;
|
|
2653
2682
|
ray?: boolean | undefined;
|
|
2654
2683
|
segment?: boolean | undefined;
|
|
2684
|
+
angle?: boolean | undefined;
|
|
2655
2685
|
"linear-system"?: boolean | undefined;
|
|
2656
2686
|
} & {
|
|
2657
2687
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2735,6 +2765,7 @@ declare const InteractiveGraph: {
|
|
|
2735
2765
|
point?: boolean | undefined;
|
|
2736
2766
|
ray?: boolean | undefined;
|
|
2737
2767
|
segment?: boolean | undefined;
|
|
2768
|
+
angle?: boolean | undefined;
|
|
2738
2769
|
"linear-system"?: boolean | undefined;
|
|
2739
2770
|
} & {
|
|
2740
2771
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2826,6 +2857,7 @@ declare const InteractiveGraph: {
|
|
|
2826
2857
|
point?: boolean | undefined;
|
|
2827
2858
|
ray?: boolean | undefined;
|
|
2828
2859
|
segment?: boolean | undefined;
|
|
2860
|
+
angle?: boolean | undefined;
|
|
2829
2861
|
"linear-system"?: boolean | undefined;
|
|
2830
2862
|
} & {
|
|
2831
2863
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -2916,6 +2948,7 @@ declare const InteractiveGraph: {
|
|
|
2916
2948
|
point?: boolean | undefined;
|
|
2917
2949
|
ray?: boolean | undefined;
|
|
2918
2950
|
segment?: boolean | undefined;
|
|
2951
|
+
angle?: boolean | undefined;
|
|
2919
2952
|
"linear-system"?: boolean | undefined;
|
|
2920
2953
|
} & {
|
|
2921
2954
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3001,6 +3034,7 @@ declare const InteractiveGraph: {
|
|
|
3001
3034
|
point?: boolean | undefined;
|
|
3002
3035
|
ray?: boolean | undefined;
|
|
3003
3036
|
segment?: boolean | undefined;
|
|
3037
|
+
angle?: boolean | undefined;
|
|
3004
3038
|
"linear-system"?: boolean | undefined;
|
|
3005
3039
|
} & {
|
|
3006
3040
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3084,6 +3118,7 @@ declare const InteractiveGraph: {
|
|
|
3084
3118
|
point?: boolean | undefined;
|
|
3085
3119
|
ray?: boolean | undefined;
|
|
3086
3120
|
segment?: boolean | undefined;
|
|
3121
|
+
angle?: boolean | undefined;
|
|
3087
3122
|
"linear-system"?: boolean | undefined;
|
|
3088
3123
|
} & {
|
|
3089
3124
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3169,6 +3204,7 @@ declare const InteractiveGraph: {
|
|
|
3169
3204
|
point?: boolean | undefined;
|
|
3170
3205
|
ray?: boolean | undefined;
|
|
3171
3206
|
segment?: boolean | undefined;
|
|
3207
|
+
angle?: boolean | undefined;
|
|
3172
3208
|
"linear-system"?: boolean | undefined;
|
|
3173
3209
|
} & {
|
|
3174
3210
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3252,6 +3288,7 @@ declare const InteractiveGraph: {
|
|
|
3252
3288
|
point?: boolean | undefined;
|
|
3253
3289
|
ray?: boolean | undefined;
|
|
3254
3290
|
segment?: boolean | undefined;
|
|
3291
|
+
angle?: boolean | undefined;
|
|
3255
3292
|
"linear-system"?: boolean | undefined;
|
|
3256
3293
|
} & {
|
|
3257
3294
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3335,6 +3372,7 @@ declare const InteractiveGraph: {
|
|
|
3335
3372
|
point?: boolean | undefined;
|
|
3336
3373
|
ray?: boolean | undefined;
|
|
3337
3374
|
segment?: boolean | undefined;
|
|
3375
|
+
angle?: boolean | undefined;
|
|
3338
3376
|
"linear-system"?: boolean | undefined;
|
|
3339
3377
|
} & {
|
|
3340
3378
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3418,6 +3456,7 @@ declare const InteractiveGraph: {
|
|
|
3418
3456
|
point?: boolean | undefined;
|
|
3419
3457
|
ray?: boolean | undefined;
|
|
3420
3458
|
segment?: boolean | undefined;
|
|
3459
|
+
angle?: boolean | undefined;
|
|
3421
3460
|
"linear-system"?: boolean | undefined;
|
|
3422
3461
|
} & {
|
|
3423
3462
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3517,6 +3556,7 @@ declare const InteractiveGraph: {
|
|
|
3517
3556
|
point?: boolean | undefined;
|
|
3518
3557
|
ray?: boolean | undefined;
|
|
3519
3558
|
segment?: boolean | undefined;
|
|
3559
|
+
angle?: boolean | undefined;
|
|
3520
3560
|
"linear-system"?: boolean | undefined;
|
|
3521
3561
|
} & {
|
|
3522
3562
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3600,6 +3640,7 @@ declare const InteractiveGraph: {
|
|
|
3600
3640
|
point?: boolean | undefined;
|
|
3601
3641
|
ray?: boolean | undefined;
|
|
3602
3642
|
segment?: boolean | undefined;
|
|
3643
|
+
angle?: boolean | undefined;
|
|
3603
3644
|
"linear-system"?: boolean | undefined;
|
|
3604
3645
|
} & {
|
|
3605
3646
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3683,6 +3724,7 @@ declare const InteractiveGraph: {
|
|
|
3683
3724
|
point?: boolean | undefined;
|
|
3684
3725
|
ray?: boolean | undefined;
|
|
3685
3726
|
segment?: boolean | undefined;
|
|
3727
|
+
angle?: boolean | undefined;
|
|
3686
3728
|
"linear-system"?: boolean | undefined;
|
|
3687
3729
|
} & {
|
|
3688
3730
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3766,6 +3808,7 @@ declare const InteractiveGraph: {
|
|
|
3766
3808
|
point?: boolean | undefined;
|
|
3767
3809
|
ray?: boolean | undefined;
|
|
3768
3810
|
segment?: boolean | undefined;
|
|
3811
|
+
angle?: boolean | undefined;
|
|
3769
3812
|
"linear-system"?: boolean | undefined;
|
|
3770
3813
|
} & {
|
|
3771
3814
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3849,6 +3892,7 @@ declare const InteractiveGraph: {
|
|
|
3849
3892
|
point?: boolean | undefined;
|
|
3850
3893
|
ray?: boolean | undefined;
|
|
3851
3894
|
segment?: boolean | undefined;
|
|
3895
|
+
angle?: boolean | undefined;
|
|
3852
3896
|
"linear-system"?: boolean | undefined;
|
|
3853
3897
|
} & {
|
|
3854
3898
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3932,6 +3976,7 @@ declare const InteractiveGraph: {
|
|
|
3932
3976
|
point?: boolean | undefined;
|
|
3933
3977
|
ray?: boolean | undefined;
|
|
3934
3978
|
segment?: boolean | undefined;
|
|
3979
|
+
angle?: boolean | undefined;
|
|
3935
3980
|
"linear-system"?: boolean | undefined;
|
|
3936
3981
|
} & {
|
|
3937
3982
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -3967,7 +4012,7 @@ declare const InteractiveGraph: {
|
|
|
3967
4012
|
isLastUsedWidget: boolean;
|
|
3968
4013
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3969
4014
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3970
|
-
}):
|
|
4015
|
+
}): [import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord];
|
|
3971
4016
|
normalizeCoords(coordsList: readonly import("@khanacademy/perseus").Coord[], ranges: [import("../../../perseus/src/util/geometry").Range, import("../../../perseus/src/util/geometry").Range]): readonly import("@khanacademy/perseus").Coord[];
|
|
3972
4017
|
getEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
3973
4018
|
widgetId: string;
|
|
@@ -4016,6 +4061,7 @@ declare const InteractiveGraph: {
|
|
|
4016
4061
|
point?: boolean | undefined;
|
|
4017
4062
|
ray?: boolean | undefined;
|
|
4018
4063
|
segment?: boolean | undefined;
|
|
4064
|
+
angle?: boolean | undefined;
|
|
4019
4065
|
"linear-system"?: boolean | undefined;
|
|
4020
4066
|
} & {
|
|
4021
4067
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4099,6 +4145,7 @@ declare const InteractiveGraph: {
|
|
|
4099
4145
|
point?: boolean | undefined;
|
|
4100
4146
|
ray?: boolean | undefined;
|
|
4101
4147
|
segment?: boolean | undefined;
|
|
4148
|
+
angle?: boolean | undefined;
|
|
4102
4149
|
"linear-system"?: boolean | undefined;
|
|
4103
4150
|
} & {
|
|
4104
4151
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4182,6 +4229,7 @@ declare const InteractiveGraph: {
|
|
|
4182
4229
|
point?: boolean | undefined;
|
|
4183
4230
|
ray?: boolean | undefined;
|
|
4184
4231
|
segment?: boolean | undefined;
|
|
4232
|
+
angle?: boolean | undefined;
|
|
4185
4233
|
"linear-system"?: boolean | undefined;
|
|
4186
4234
|
} & {
|
|
4187
4235
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4265,6 +4313,7 @@ declare const InteractiveGraph: {
|
|
|
4265
4313
|
point?: boolean | undefined;
|
|
4266
4314
|
ray?: boolean | undefined;
|
|
4267
4315
|
segment?: boolean | undefined;
|
|
4316
|
+
angle?: boolean | undefined;
|
|
4268
4317
|
"linear-system"?: boolean | undefined;
|
|
4269
4318
|
} & {
|
|
4270
4319
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4348,6 +4397,7 @@ declare const InteractiveGraph: {
|
|
|
4348
4397
|
point?: boolean | undefined;
|
|
4349
4398
|
ray?: boolean | undefined;
|
|
4350
4399
|
segment?: boolean | undefined;
|
|
4400
|
+
angle?: boolean | undefined;
|
|
4351
4401
|
"linear-system"?: boolean | undefined;
|
|
4352
4402
|
} & {
|
|
4353
4403
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4431,6 +4481,7 @@ declare const InteractiveGraph: {
|
|
|
4431
4481
|
point?: boolean | undefined;
|
|
4432
4482
|
ray?: boolean | undefined;
|
|
4433
4483
|
segment?: boolean | undefined;
|
|
4484
|
+
angle?: boolean | undefined;
|
|
4434
4485
|
"linear-system"?: boolean | undefined;
|
|
4435
4486
|
} & {
|
|
4436
4487
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4514,6 +4565,7 @@ declare const InteractiveGraph: {
|
|
|
4514
4565
|
point?: boolean | undefined;
|
|
4515
4566
|
ray?: boolean | undefined;
|
|
4516
4567
|
segment?: boolean | undefined;
|
|
4568
|
+
angle?: boolean | undefined;
|
|
4517
4569
|
"linear-system"?: boolean | undefined;
|
|
4518
4570
|
} & {
|
|
4519
4571
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4597,6 +4649,7 @@ declare const InteractiveGraph: {
|
|
|
4597
4649
|
point?: boolean | undefined;
|
|
4598
4650
|
ray?: boolean | undefined;
|
|
4599
4651
|
segment?: boolean | undefined;
|
|
4652
|
+
angle?: boolean | undefined;
|
|
4600
4653
|
"linear-system"?: boolean | undefined;
|
|
4601
4654
|
} & {
|
|
4602
4655
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4680,6 +4733,7 @@ declare const InteractiveGraph: {
|
|
|
4680
4733
|
point?: boolean | undefined;
|
|
4681
4734
|
ray?: boolean | undefined;
|
|
4682
4735
|
segment?: boolean | undefined;
|
|
4736
|
+
angle?: boolean | undefined;
|
|
4683
4737
|
"linear-system"?: boolean | undefined;
|
|
4684
4738
|
} & {
|
|
4685
4739
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4763,6 +4817,7 @@ declare const InteractiveGraph: {
|
|
|
4763
4817
|
point?: boolean | undefined;
|
|
4764
4818
|
ray?: boolean | undefined;
|
|
4765
4819
|
segment?: boolean | undefined;
|
|
4820
|
+
angle?: boolean | undefined;
|
|
4766
4821
|
"linear-system"?: boolean | undefined;
|
|
4767
4822
|
} & {
|
|
4768
4823
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4846,6 +4901,7 @@ declare const InteractiveGraph: {
|
|
|
4846
4901
|
point?: boolean | undefined;
|
|
4847
4902
|
ray?: boolean | undefined;
|
|
4848
4903
|
segment?: boolean | undefined;
|
|
4904
|
+
angle?: boolean | undefined;
|
|
4849
4905
|
"linear-system"?: boolean | undefined;
|
|
4850
4906
|
} & {
|
|
4851
4907
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -4929,6 +4985,7 @@ declare const InteractiveGraph: {
|
|
|
4929
4985
|
point?: boolean | undefined;
|
|
4930
4986
|
ray?: boolean | undefined;
|
|
4931
4987
|
segment?: boolean | undefined;
|
|
4988
|
+
angle?: boolean | undefined;
|
|
4932
4989
|
"linear-system"?: boolean | undefined;
|
|
4933
4990
|
} & {
|
|
4934
4991
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -5012,6 +5069,7 @@ declare const InteractiveGraph: {
|
|
|
5012
5069
|
point?: boolean | undefined;
|
|
5013
5070
|
ray?: boolean | undefined;
|
|
5014
5071
|
segment?: boolean | undefined;
|
|
5072
|
+
angle?: boolean | undefined;
|
|
5015
5073
|
"linear-system"?: boolean | undefined;
|
|
5016
5074
|
} & {
|
|
5017
5075
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -5095,6 +5153,7 @@ declare const InteractiveGraph: {
|
|
|
5095
5153
|
point?: boolean | undefined;
|
|
5096
5154
|
ray?: boolean | undefined;
|
|
5097
5155
|
segment?: boolean | undefined;
|
|
5156
|
+
angle?: boolean | undefined;
|
|
5098
5157
|
"linear-system"?: boolean | undefined;
|
|
5099
5158
|
} & {
|
|
5100
5159
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -5178,6 +5237,7 @@ declare const InteractiveGraph: {
|
|
|
5178
5237
|
point?: boolean | undefined;
|
|
5179
5238
|
ray?: boolean | undefined;
|
|
5180
5239
|
segment?: boolean | undefined;
|
|
5240
|
+
angle?: boolean | undefined;
|
|
5181
5241
|
"linear-system"?: boolean | undefined;
|
|
5182
5242
|
} & {
|
|
5183
5243
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -5261,6 +5321,7 @@ declare const InteractiveGraph: {
|
|
|
5261
5321
|
point?: boolean | undefined;
|
|
5262
5322
|
ray?: boolean | undefined;
|
|
5263
5323
|
segment?: boolean | undefined;
|
|
5324
|
+
angle?: boolean | undefined;
|
|
5264
5325
|
"linear-system"?: boolean | undefined;
|
|
5265
5326
|
} & {
|
|
5266
5327
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
@@ -5345,6 +5406,7 @@ declare const InteractiveGraph: {
|
|
|
5345
5406
|
point?: boolean | undefined;
|
|
5346
5407
|
ray?: boolean | undefined;
|
|
5347
5408
|
segment?: boolean | undefined;
|
|
5409
|
+
angle?: boolean | undefined;
|
|
5348
5410
|
"linear-system"?: boolean | undefined;
|
|
5349
5411
|
} & {
|
|
5350
5412
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "8.0.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@khanacademy/kas": "^0.3.
|
|
29
|
-
"@khanacademy/kmath": "^0.1.
|
|
30
|
-
"@khanacademy/math-input": "^19.1
|
|
31
|
-
"@khanacademy/perseus": "^
|
|
32
|
-
"@khanacademy/perseus-core": "1.
|
|
28
|
+
"@khanacademy/kas": "^0.3.10",
|
|
29
|
+
"@khanacademy/kmath": "^0.1.13",
|
|
30
|
+
"@khanacademy/math-input": "^19.2.1",
|
|
31
|
+
"@khanacademy/perseus": "^25.0.0",
|
|
32
|
+
"@khanacademy/perseus-core": "1.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@khanacademy/wonder-blocks-accordion": "1.3.1",
|