@khanacademy/perseus-editor 18.0.0 → 18.1.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/es/index.js +3 -24
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +3 -24
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor/components/interactive-graph-settings.d.ts +1 -11
- package/dist/widgets/interactive-graph-editor/interactive-graph-editor.d.ts +42 -377
- package/package.json +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type LockedFigure, type PerseusImageBackground, type PerseusInteractiveGraphWidgetOptions, type PerseusGraphType, type MarkingsType, type InteractiveGraphDefaultWidgetOptions
|
|
1
|
+
import { type LockedFigure, type PerseusImageBackground, type PerseusInteractiveGraphWidgetOptions, type PerseusGraphType, type MarkingsType, type InteractiveGraphDefaultWidgetOptions } from "@khanacademy/perseus-core";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import type { APIOptionsWithDefaults } from "@khanacademy/perseus";
|
|
4
4
|
import type { PropsFor } from "@khanacademy/wonder-blocks-core";
|
|
@@ -28,15 +28,7 @@ declare const InteractiveGraph: {
|
|
|
28
28
|
problemNum: number | null | undefined;
|
|
29
29
|
apiOptions: Readonly<Readonly<{
|
|
30
30
|
isArticle?: boolean;
|
|
31
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
32
|
-
* The current correct answer for the graph. Updated by this component
|
|
33
|
-
* when the graph is changed.
|
|
34
|
-
*
|
|
35
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
36
|
-
* element. Instead, it is a representation of the correct answer based
|
|
37
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
38
|
-
* editor page.
|
|
39
|
-
*/: HTMLElement) => unknown;
|
|
31
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
40
32
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
41
33
|
showAlignmentOptions?: boolean;
|
|
42
34
|
readOnly?: boolean;
|
|
@@ -128,15 +120,7 @@ declare const InteractiveGraph: {
|
|
|
128
120
|
problemNum: number | null | undefined;
|
|
129
121
|
apiOptions: Readonly<Readonly<{
|
|
130
122
|
isArticle?: boolean;
|
|
131
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
132
|
-
* The current correct answer for the graph. Updated by this component
|
|
133
|
-
* when the graph is changed.
|
|
134
|
-
*
|
|
135
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
136
|
-
* element. Instead, it is a representation of the correct answer based
|
|
137
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
138
|
-
* editor page.
|
|
139
|
-
*/: HTMLElement) => unknown;
|
|
123
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
140
124
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
141
125
|
showAlignmentOptions?: boolean;
|
|
142
126
|
readOnly?: boolean;
|
|
@@ -226,15 +210,7 @@ declare const InteractiveGraph: {
|
|
|
226
210
|
problemNum: number | null | undefined;
|
|
227
211
|
apiOptions: Readonly<Readonly<{
|
|
228
212
|
isArticle?: boolean;
|
|
229
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
230
|
-
* The current correct answer for the graph. Updated by this component
|
|
231
|
-
* when the graph is changed.
|
|
232
|
-
*
|
|
233
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
234
|
-
* element. Instead, it is a representation of the correct answer based
|
|
235
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
236
|
-
* editor page.
|
|
237
|
-
*/: HTMLElement) => unknown;
|
|
213
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
238
214
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
239
215
|
showAlignmentOptions?: boolean;
|
|
240
216
|
readOnly?: boolean;
|
|
@@ -321,15 +297,7 @@ declare const InteractiveGraph: {
|
|
|
321
297
|
problemNum: number | null | undefined;
|
|
322
298
|
apiOptions: Readonly<Readonly<{
|
|
323
299
|
isArticle?: boolean;
|
|
324
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
325
|
-
* The current correct answer for the graph. Updated by this component
|
|
326
|
-
* when the graph is changed.
|
|
327
|
-
*
|
|
328
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
329
|
-
* element. Instead, it is a representation of the correct answer based
|
|
330
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
331
|
-
* editor page.
|
|
332
|
-
*/: HTMLElement) => unknown;
|
|
300
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
333
301
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
334
302
|
showAlignmentOptions?: boolean;
|
|
335
303
|
readOnly?: boolean;
|
|
@@ -414,15 +382,7 @@ declare const InteractiveGraph: {
|
|
|
414
382
|
problemNum: number | null | undefined;
|
|
415
383
|
apiOptions: Readonly<Readonly<{
|
|
416
384
|
isArticle?: boolean;
|
|
417
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
418
|
-
* The current correct answer for the graph. Updated by this component
|
|
419
|
-
* when the graph is changed.
|
|
420
|
-
*
|
|
421
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
422
|
-
* element. Instead, it is a representation of the correct answer based
|
|
423
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
424
|
-
* editor page.
|
|
425
|
-
*/: HTMLElement) => unknown;
|
|
385
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
426
386
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
427
387
|
showAlignmentOptions?: boolean;
|
|
428
388
|
readOnly?: boolean;
|
|
@@ -509,15 +469,7 @@ declare const InteractiveGraph: {
|
|
|
509
469
|
problemNum: number | null | undefined;
|
|
510
470
|
apiOptions: Readonly<Readonly<{
|
|
511
471
|
isArticle?: boolean;
|
|
512
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
513
|
-
* The current correct answer for the graph. Updated by this component
|
|
514
|
-
* when the graph is changed.
|
|
515
|
-
*
|
|
516
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
517
|
-
* element. Instead, it is a representation of the correct answer based
|
|
518
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
519
|
-
* editor page.
|
|
520
|
-
*/: HTMLElement) => unknown;
|
|
472
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
521
473
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
522
474
|
showAlignmentOptions?: boolean;
|
|
523
475
|
readOnly?: boolean;
|
|
@@ -602,15 +554,7 @@ declare const InteractiveGraph: {
|
|
|
602
554
|
problemNum: number | null | undefined;
|
|
603
555
|
apiOptions: Readonly<Readonly<{
|
|
604
556
|
isArticle?: boolean;
|
|
605
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
606
|
-
* The current correct answer for the graph. Updated by this component
|
|
607
|
-
* when the graph is changed.
|
|
608
|
-
*
|
|
609
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
610
|
-
* element. Instead, it is a representation of the correct answer based
|
|
611
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
612
|
-
* editor page.
|
|
613
|
-
*/: HTMLElement) => unknown;
|
|
557
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
614
558
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
615
559
|
showAlignmentOptions?: boolean;
|
|
616
560
|
readOnly?: boolean;
|
|
@@ -695,15 +639,7 @@ declare const InteractiveGraph: {
|
|
|
695
639
|
problemNum: number | null | undefined;
|
|
696
640
|
apiOptions: Readonly<Readonly<{
|
|
697
641
|
isArticle?: boolean;
|
|
698
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
699
|
-
* The current correct answer for the graph. Updated by this component
|
|
700
|
-
* when the graph is changed.
|
|
701
|
-
*
|
|
702
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
703
|
-
* element. Instead, it is a representation of the correct answer based
|
|
704
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
705
|
-
* editor page.
|
|
706
|
-
*/: HTMLElement) => unknown;
|
|
642
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
707
643
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
708
644
|
showAlignmentOptions?: boolean;
|
|
709
645
|
readOnly?: boolean;
|
|
@@ -788,15 +724,7 @@ declare const InteractiveGraph: {
|
|
|
788
724
|
problemNum: number | null | undefined;
|
|
789
725
|
apiOptions: Readonly<Readonly<{
|
|
790
726
|
isArticle?: boolean;
|
|
791
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
792
|
-
* The current correct answer for the graph. Updated by this component
|
|
793
|
-
* when the graph is changed.
|
|
794
|
-
*
|
|
795
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
796
|
-
* element. Instead, it is a representation of the correct answer based
|
|
797
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
798
|
-
* editor page.
|
|
799
|
-
*/: HTMLElement) => unknown;
|
|
727
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
800
728
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
801
729
|
showAlignmentOptions?: boolean;
|
|
802
730
|
readOnly?: boolean;
|
|
@@ -882,15 +810,7 @@ declare const InteractiveGraph: {
|
|
|
882
810
|
problemNum: number | null | undefined;
|
|
883
811
|
apiOptions: Readonly<Readonly<{
|
|
884
812
|
isArticle?: boolean;
|
|
885
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
886
|
-
* The current correct answer for the graph. Updated by this component
|
|
887
|
-
* when the graph is changed.
|
|
888
|
-
*
|
|
889
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
890
|
-
* element. Instead, it is a representation of the correct answer based
|
|
891
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
892
|
-
* editor page.
|
|
893
|
-
*/: HTMLElement) => unknown;
|
|
813
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
894
814
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
895
815
|
showAlignmentOptions?: boolean;
|
|
896
816
|
readOnly?: boolean;
|
|
@@ -982,15 +902,7 @@ declare const InteractiveGraph: {
|
|
|
982
902
|
problemNum: number | null | undefined;
|
|
983
903
|
apiOptions: Readonly<Readonly<{
|
|
984
904
|
isArticle?: boolean;
|
|
985
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
986
|
-
* The current correct answer for the graph. Updated by this component
|
|
987
|
-
* when the graph is changed.
|
|
988
|
-
*
|
|
989
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
990
|
-
* element. Instead, it is a representation of the correct answer based
|
|
991
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
992
|
-
* editor page.
|
|
993
|
-
*/: HTMLElement) => unknown;
|
|
905
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
994
906
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
995
907
|
showAlignmentOptions?: boolean;
|
|
996
908
|
readOnly?: boolean;
|
|
@@ -1080,15 +992,7 @@ declare const InteractiveGraph: {
|
|
|
1080
992
|
problemNum: number | null | undefined;
|
|
1081
993
|
apiOptions: Readonly<Readonly<{
|
|
1082
994
|
isArticle?: boolean;
|
|
1083
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1084
|
-
* The current correct answer for the graph. Updated by this component
|
|
1085
|
-
* when the graph is changed.
|
|
1086
|
-
*
|
|
1087
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1088
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1089
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1090
|
-
* editor page.
|
|
1091
|
-
*/: HTMLElement) => unknown;
|
|
995
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1092
996
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1093
997
|
showAlignmentOptions?: boolean;
|
|
1094
998
|
readOnly?: boolean;
|
|
@@ -1175,15 +1079,7 @@ declare const InteractiveGraph: {
|
|
|
1175
1079
|
problemNum: number | null | undefined;
|
|
1176
1080
|
apiOptions: Readonly<Readonly<{
|
|
1177
1081
|
isArticle?: boolean;
|
|
1178
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1179
|
-
* The current correct answer for the graph. Updated by this component
|
|
1180
|
-
* when the graph is changed.
|
|
1181
|
-
*
|
|
1182
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1183
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1184
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1185
|
-
* editor page.
|
|
1186
|
-
*/: HTMLElement) => unknown;
|
|
1082
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1187
1083
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1188
1084
|
showAlignmentOptions?: boolean;
|
|
1189
1085
|
readOnly?: boolean;
|
|
@@ -1268,15 +1164,7 @@ declare const InteractiveGraph: {
|
|
|
1268
1164
|
problemNum: number | null | undefined;
|
|
1269
1165
|
apiOptions: Readonly<Readonly<{
|
|
1270
1166
|
isArticle?: boolean;
|
|
1271
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1272
|
-
* The current correct answer for the graph. Updated by this component
|
|
1273
|
-
* when the graph is changed.
|
|
1274
|
-
*
|
|
1275
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1276
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1277
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1278
|
-
* editor page.
|
|
1279
|
-
*/: HTMLElement) => unknown;
|
|
1167
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1280
1168
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1281
1169
|
showAlignmentOptions?: boolean;
|
|
1282
1170
|
readOnly?: boolean;
|
|
@@ -1363,15 +1251,7 @@ declare const InteractiveGraph: {
|
|
|
1363
1251
|
problemNum: number | null | undefined;
|
|
1364
1252
|
apiOptions: Readonly<Readonly<{
|
|
1365
1253
|
isArticle?: boolean;
|
|
1366
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1367
|
-
* The current correct answer for the graph. Updated by this component
|
|
1368
|
-
* when the graph is changed.
|
|
1369
|
-
*
|
|
1370
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1371
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1372
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1373
|
-
* editor page.
|
|
1374
|
-
*/: HTMLElement) => unknown;
|
|
1254
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1375
1255
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1376
1256
|
showAlignmentOptions?: boolean;
|
|
1377
1257
|
readOnly?: boolean;
|
|
@@ -1456,15 +1336,7 @@ declare const InteractiveGraph: {
|
|
|
1456
1336
|
problemNum: number | null | undefined;
|
|
1457
1337
|
apiOptions: Readonly<Readonly<{
|
|
1458
1338
|
isArticle?: boolean;
|
|
1459
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1460
|
-
* The current correct answer for the graph. Updated by this component
|
|
1461
|
-
* when the graph is changed.
|
|
1462
|
-
*
|
|
1463
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1464
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1465
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1466
|
-
* editor page.
|
|
1467
|
-
*/: HTMLElement) => unknown;
|
|
1339
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1468
1340
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1469
1341
|
showAlignmentOptions?: boolean;
|
|
1470
1342
|
readOnly?: boolean;
|
|
@@ -1549,15 +1421,7 @@ declare const InteractiveGraph: {
|
|
|
1549
1421
|
problemNum: number | null | undefined;
|
|
1550
1422
|
apiOptions: Readonly<Readonly<{
|
|
1551
1423
|
isArticle?: boolean;
|
|
1552
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1553
|
-
* The current correct answer for the graph. Updated by this component
|
|
1554
|
-
* when the graph is changed.
|
|
1555
|
-
*
|
|
1556
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1557
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1558
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1559
|
-
* editor page.
|
|
1560
|
-
*/: HTMLElement) => unknown;
|
|
1424
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1561
1425
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1562
1426
|
showAlignmentOptions?: boolean;
|
|
1563
1427
|
readOnly?: boolean;
|
|
@@ -1642,15 +1506,7 @@ declare const InteractiveGraph: {
|
|
|
1642
1506
|
problemNum: number | null | undefined;
|
|
1643
1507
|
apiOptions: Readonly<Readonly<{
|
|
1644
1508
|
isArticle?: boolean;
|
|
1645
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1646
|
-
* The current correct answer for the graph. Updated by this component
|
|
1647
|
-
* when the graph is changed.
|
|
1648
|
-
*
|
|
1649
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1650
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1651
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1652
|
-
* editor page.
|
|
1653
|
-
*/: HTMLElement) => unknown;
|
|
1509
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1654
1510
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1655
1511
|
showAlignmentOptions?: boolean;
|
|
1656
1512
|
readOnly?: boolean;
|
|
@@ -1746,15 +1602,7 @@ declare const InteractiveGraph: {
|
|
|
1746
1602
|
problemNum: number | null | undefined;
|
|
1747
1603
|
apiOptions: Readonly<Readonly<{
|
|
1748
1604
|
isArticle?: boolean;
|
|
1749
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1750
|
-
* The current correct answer for the graph. Updated by this component
|
|
1751
|
-
* when the graph is changed.
|
|
1752
|
-
*
|
|
1753
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1754
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1755
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1756
|
-
* editor page.
|
|
1757
|
-
*/: HTMLElement) => unknown;
|
|
1605
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1758
1606
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1759
1607
|
showAlignmentOptions?: boolean;
|
|
1760
1608
|
readOnly?: boolean;
|
|
@@ -1837,15 +1685,7 @@ declare const InteractiveGraph: {
|
|
|
1837
1685
|
problemNum: number | null | undefined;
|
|
1838
1686
|
apiOptions: Readonly<Readonly<{
|
|
1839
1687
|
isArticle?: boolean;
|
|
1840
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1841
|
-
* The current correct answer for the graph. Updated by this component
|
|
1842
|
-
* when the graph is changed.
|
|
1843
|
-
*
|
|
1844
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1845
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1846
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1847
|
-
* editor page.
|
|
1848
|
-
*/: HTMLElement) => unknown;
|
|
1688
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1849
1689
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1850
1690
|
showAlignmentOptions?: boolean;
|
|
1851
1691
|
readOnly?: boolean;
|
|
@@ -1928,15 +1768,7 @@ declare const InteractiveGraph: {
|
|
|
1928
1768
|
problemNum: number | null | undefined;
|
|
1929
1769
|
apiOptions: Readonly<Readonly<{
|
|
1930
1770
|
isArticle?: boolean;
|
|
1931
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1932
|
-
* The current correct answer for the graph. Updated by this component
|
|
1933
|
-
* when the graph is changed.
|
|
1934
|
-
*
|
|
1935
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1936
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1937
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1938
|
-
* editor page.
|
|
1939
|
-
*/: HTMLElement) => unknown;
|
|
1771
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1940
1772
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1941
1773
|
showAlignmentOptions?: boolean;
|
|
1942
1774
|
readOnly?: boolean;
|
|
@@ -2019,15 +1851,7 @@ declare const InteractiveGraph: {
|
|
|
2019
1851
|
problemNum: number | null | undefined;
|
|
2020
1852
|
apiOptions: Readonly<Readonly<{
|
|
2021
1853
|
isArticle?: boolean;
|
|
2022
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2023
|
-
* The current correct answer for the graph. Updated by this component
|
|
2024
|
-
* when the graph is changed.
|
|
2025
|
-
*
|
|
2026
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2027
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2028
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2029
|
-
* editor page.
|
|
2030
|
-
*/: HTMLElement) => unknown;
|
|
1854
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2031
1855
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2032
1856
|
showAlignmentOptions?: boolean;
|
|
2033
1857
|
readOnly?: boolean;
|
|
@@ -2110,15 +1934,7 @@ declare const InteractiveGraph: {
|
|
|
2110
1934
|
problemNum: number | null | undefined;
|
|
2111
1935
|
apiOptions: Readonly<Readonly<{
|
|
2112
1936
|
isArticle?: boolean;
|
|
2113
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2114
|
-
* The current correct answer for the graph. Updated by this component
|
|
2115
|
-
* when the graph is changed.
|
|
2116
|
-
*
|
|
2117
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2118
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2119
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2120
|
-
* editor page.
|
|
2121
|
-
*/: HTMLElement) => unknown;
|
|
1937
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2122
1938
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2123
1939
|
showAlignmentOptions?: boolean;
|
|
2124
1940
|
readOnly?: boolean;
|
|
@@ -2201,15 +2017,7 @@ declare const InteractiveGraph: {
|
|
|
2201
2017
|
problemNum: number | null | undefined;
|
|
2202
2018
|
apiOptions: Readonly<Readonly<{
|
|
2203
2019
|
isArticle?: boolean;
|
|
2204
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2205
|
-
* The current correct answer for the graph. Updated by this component
|
|
2206
|
-
* when the graph is changed.
|
|
2207
|
-
*
|
|
2208
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2209
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2210
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2211
|
-
* editor page.
|
|
2212
|
-
*/: HTMLElement) => unknown;
|
|
2020
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2213
2021
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2214
2022
|
showAlignmentOptions?: boolean;
|
|
2215
2023
|
readOnly?: boolean;
|
|
@@ -2293,15 +2101,7 @@ declare const InteractiveGraph: {
|
|
|
2293
2101
|
problemNum: number | null | undefined;
|
|
2294
2102
|
apiOptions: Readonly<Readonly<{
|
|
2295
2103
|
isArticle?: boolean;
|
|
2296
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2297
|
-
* The current correct answer for the graph. Updated by this component
|
|
2298
|
-
* when the graph is changed.
|
|
2299
|
-
*
|
|
2300
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2301
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2302
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2303
|
-
* editor page.
|
|
2304
|
-
*/: HTMLElement) => unknown;
|
|
2104
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2305
2105
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2306
2106
|
showAlignmentOptions?: boolean;
|
|
2307
2107
|
readOnly?: boolean;
|
|
@@ -2384,15 +2184,7 @@ declare const InteractiveGraph: {
|
|
|
2384
2184
|
problemNum: number | null | undefined;
|
|
2385
2185
|
apiOptions: Readonly<Readonly<{
|
|
2386
2186
|
isArticle?: boolean;
|
|
2387
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2388
|
-
* The current correct answer for the graph. Updated by this component
|
|
2389
|
-
* when the graph is changed.
|
|
2390
|
-
*
|
|
2391
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2392
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2393
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2394
|
-
* editor page.
|
|
2395
|
-
*/: HTMLElement) => unknown;
|
|
2187
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2396
2188
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2397
2189
|
showAlignmentOptions?: boolean;
|
|
2398
2190
|
readOnly?: boolean;
|
|
@@ -2476,15 +2268,7 @@ declare const InteractiveGraph: {
|
|
|
2476
2268
|
problemNum: number | null | undefined;
|
|
2477
2269
|
apiOptions: Readonly<Readonly<{
|
|
2478
2270
|
isArticle?: boolean;
|
|
2479
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2480
|
-
* The current correct answer for the graph. Updated by this component
|
|
2481
|
-
* when the graph is changed.
|
|
2482
|
-
*
|
|
2483
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2484
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2485
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2486
|
-
* editor page.
|
|
2487
|
-
*/: HTMLElement) => unknown;
|
|
2271
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2488
2272
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2489
2273
|
showAlignmentOptions?: boolean;
|
|
2490
2274
|
readOnly?: boolean;
|
|
@@ -2567,15 +2351,7 @@ declare const InteractiveGraph: {
|
|
|
2567
2351
|
problemNum: number | null | undefined;
|
|
2568
2352
|
apiOptions: Readonly<Readonly<{
|
|
2569
2353
|
isArticle?: boolean;
|
|
2570
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2571
|
-
* The current correct answer for the graph. Updated by this component
|
|
2572
|
-
* when the graph is changed.
|
|
2573
|
-
*
|
|
2574
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2575
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2576
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2577
|
-
* editor page.
|
|
2578
|
-
*/: HTMLElement) => unknown;
|
|
2354
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2579
2355
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2580
2356
|
showAlignmentOptions?: boolean;
|
|
2581
2357
|
readOnly?: boolean;
|
|
@@ -2658,15 +2434,7 @@ declare const InteractiveGraph: {
|
|
|
2658
2434
|
problemNum: number | null | undefined;
|
|
2659
2435
|
apiOptions: Readonly<Readonly<{
|
|
2660
2436
|
isArticle?: boolean;
|
|
2661
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2662
|
-
* The current correct answer for the graph. Updated by this component
|
|
2663
|
-
* when the graph is changed.
|
|
2664
|
-
*
|
|
2665
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2666
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2667
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2668
|
-
* editor page.
|
|
2669
|
-
*/: HTMLElement) => unknown;
|
|
2437
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2670
2438
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2671
2439
|
showAlignmentOptions?: boolean;
|
|
2672
2440
|
readOnly?: boolean;
|
|
@@ -2749,15 +2517,7 @@ declare const InteractiveGraph: {
|
|
|
2749
2517
|
problemNum: number | null | undefined;
|
|
2750
2518
|
apiOptions: Readonly<Readonly<{
|
|
2751
2519
|
isArticle?: boolean;
|
|
2752
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2753
|
-
* The current correct answer for the graph. Updated by this component
|
|
2754
|
-
* when the graph is changed.
|
|
2755
|
-
*
|
|
2756
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2757
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2758
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2759
|
-
* editor page.
|
|
2760
|
-
*/: HTMLElement) => unknown;
|
|
2520
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2761
2521
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2762
2522
|
showAlignmentOptions?: boolean;
|
|
2763
2523
|
readOnly?: boolean;
|
|
@@ -2840,15 +2600,7 @@ declare const InteractiveGraph: {
|
|
|
2840
2600
|
problemNum: number | null | undefined;
|
|
2841
2601
|
apiOptions: Readonly<Readonly<{
|
|
2842
2602
|
isArticle?: boolean;
|
|
2843
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2844
|
-
* The current correct answer for the graph. Updated by this component
|
|
2845
|
-
* when the graph is changed.
|
|
2846
|
-
*
|
|
2847
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2848
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2849
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2850
|
-
* editor page.
|
|
2851
|
-
*/: HTMLElement) => unknown;
|
|
2603
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2852
2604
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2853
2605
|
showAlignmentOptions?: boolean;
|
|
2854
2606
|
readOnly?: boolean;
|
|
@@ -2931,15 +2683,7 @@ declare const InteractiveGraph: {
|
|
|
2931
2683
|
problemNum: number | null | undefined;
|
|
2932
2684
|
apiOptions: Readonly<Readonly<{
|
|
2933
2685
|
isArticle?: boolean;
|
|
2934
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2935
|
-
* The current correct answer for the graph. Updated by this component
|
|
2936
|
-
* when the graph is changed.
|
|
2937
|
-
*
|
|
2938
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2939
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2940
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2941
|
-
* editor page.
|
|
2942
|
-
*/: HTMLElement) => unknown;
|
|
2686
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2943
2687
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2944
2688
|
showAlignmentOptions?: boolean;
|
|
2945
2689
|
readOnly?: boolean;
|
|
@@ -3022,15 +2766,7 @@ declare const InteractiveGraph: {
|
|
|
3022
2766
|
problemNum: number | null | undefined;
|
|
3023
2767
|
apiOptions: Readonly<Readonly<{
|
|
3024
2768
|
isArticle?: boolean;
|
|
3025
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3026
|
-
* The current correct answer for the graph. Updated by this component
|
|
3027
|
-
* when the graph is changed.
|
|
3028
|
-
*
|
|
3029
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3030
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3031
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3032
|
-
* editor page.
|
|
3033
|
-
*/: HTMLElement) => unknown;
|
|
2769
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3034
2770
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3035
2771
|
showAlignmentOptions?: boolean;
|
|
3036
2772
|
readOnly?: boolean;
|
|
@@ -3113,15 +2849,7 @@ declare const InteractiveGraph: {
|
|
|
3113
2849
|
problemNum: number | null | undefined;
|
|
3114
2850
|
apiOptions: Readonly<Readonly<{
|
|
3115
2851
|
isArticle?: boolean;
|
|
3116
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3117
|
-
* The current correct answer for the graph. Updated by this component
|
|
3118
|
-
* when the graph is changed.
|
|
3119
|
-
*
|
|
3120
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3121
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3122
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3123
|
-
* editor page.
|
|
3124
|
-
*/: HTMLElement) => unknown;
|
|
2852
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3125
2853
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3126
2854
|
showAlignmentOptions?: boolean;
|
|
3127
2855
|
readOnly?: boolean;
|
|
@@ -3204,15 +2932,7 @@ declare const InteractiveGraph: {
|
|
|
3204
2932
|
problemNum: number | null | undefined;
|
|
3205
2933
|
apiOptions: Readonly<Readonly<{
|
|
3206
2934
|
isArticle?: boolean;
|
|
3207
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3208
|
-
* The current correct answer for the graph. Updated by this component
|
|
3209
|
-
* when the graph is changed.
|
|
3210
|
-
*
|
|
3211
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3212
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3213
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3214
|
-
* editor page.
|
|
3215
|
-
*/: HTMLElement) => unknown;
|
|
2935
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3216
2936
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3217
2937
|
showAlignmentOptions?: boolean;
|
|
3218
2938
|
readOnly?: boolean;
|
|
@@ -3295,15 +3015,7 @@ declare const InteractiveGraph: {
|
|
|
3295
3015
|
problemNum: number | null | undefined;
|
|
3296
3016
|
apiOptions: Readonly<Readonly<{
|
|
3297
3017
|
isArticle?: boolean;
|
|
3298
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3299
|
-
* The current correct answer for the graph. Updated by this component
|
|
3300
|
-
* when the graph is changed.
|
|
3301
|
-
*
|
|
3302
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3303
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3304
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3305
|
-
* editor page.
|
|
3306
|
-
*/: HTMLElement) => unknown;
|
|
3018
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3307
3019
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3308
3020
|
showAlignmentOptions?: boolean;
|
|
3309
3021
|
readOnly?: boolean;
|
|
@@ -3386,15 +3098,7 @@ declare const InteractiveGraph: {
|
|
|
3386
3098
|
problemNum: number | null | undefined;
|
|
3387
3099
|
apiOptions: Readonly<Readonly<{
|
|
3388
3100
|
isArticle?: boolean;
|
|
3389
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3390
|
-
* The current correct answer for the graph. Updated by this component
|
|
3391
|
-
* when the graph is changed.
|
|
3392
|
-
*
|
|
3393
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3394
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3395
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3396
|
-
* editor page.
|
|
3397
|
-
*/: HTMLElement) => unknown;
|
|
3101
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3398
3102
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3399
3103
|
showAlignmentOptions?: boolean;
|
|
3400
3104
|
readOnly?: boolean;
|
|
@@ -3477,15 +3181,7 @@ declare const InteractiveGraph: {
|
|
|
3477
3181
|
problemNum: number | null | undefined;
|
|
3478
3182
|
apiOptions: Readonly<Readonly<{
|
|
3479
3183
|
isArticle?: boolean;
|
|
3480
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3481
|
-
* The current correct answer for the graph. Updated by this component
|
|
3482
|
-
* when the graph is changed.
|
|
3483
|
-
*
|
|
3484
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3485
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3486
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3487
|
-
* editor page.
|
|
3488
|
-
*/: HTMLElement) => unknown;
|
|
3184
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3489
3185
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3490
3186
|
showAlignmentOptions?: boolean;
|
|
3491
3187
|
readOnly?: boolean;
|
|
@@ -3568,15 +3264,7 @@ declare const InteractiveGraph: {
|
|
|
3568
3264
|
problemNum: number | null | undefined;
|
|
3569
3265
|
apiOptions: Readonly<Readonly<{
|
|
3570
3266
|
isArticle?: boolean;
|
|
3571
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3572
|
-
* The current correct answer for the graph. Updated by this component
|
|
3573
|
-
* when the graph is changed.
|
|
3574
|
-
*
|
|
3575
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3576
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3577
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3578
|
-
* editor page.
|
|
3579
|
-
*/: HTMLElement) => unknown;
|
|
3267
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3580
3268
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3581
3269
|
showAlignmentOptions?: boolean;
|
|
3582
3270
|
readOnly?: boolean;
|
|
@@ -3659,15 +3347,7 @@ declare const InteractiveGraph: {
|
|
|
3659
3347
|
problemNum: number | null | undefined;
|
|
3660
3348
|
apiOptions: Readonly<Readonly<{
|
|
3661
3349
|
isArticle?: boolean;
|
|
3662
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3663
|
-
* The current correct answer for the graph. Updated by this component
|
|
3664
|
-
* when the graph is changed.
|
|
3665
|
-
*
|
|
3666
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3667
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3668
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3669
|
-
* editor page.
|
|
3670
|
-
*/: HTMLElement) => unknown;
|
|
3350
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3671
3351
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3672
3352
|
showAlignmentOptions?: boolean;
|
|
3673
3353
|
readOnly?: boolean;
|
|
@@ -3750,15 +3430,7 @@ declare const InteractiveGraph: {
|
|
|
3750
3430
|
problemNum: number | null | undefined;
|
|
3751
3431
|
apiOptions: Readonly<Readonly<{
|
|
3752
3432
|
isArticle?: boolean;
|
|
3753
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3754
|
-
* The current correct answer for the graph. Updated by this component
|
|
3755
|
-
* when the graph is changed.
|
|
3756
|
-
*
|
|
3757
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3758
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3759
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3760
|
-
* editor page.
|
|
3761
|
-
*/: HTMLElement) => unknown;
|
|
3433
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3762
3434
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3763
3435
|
showAlignmentOptions?: boolean;
|
|
3764
3436
|
readOnly?: boolean;
|
|
@@ -3826,13 +3498,6 @@ export type Props = {
|
|
|
3826
3498
|
* The labels for the x and y axes.
|
|
3827
3499
|
*/
|
|
3828
3500
|
labels: ReadonlyArray<string>;
|
|
3829
|
-
/**
|
|
3830
|
-
* Specifies the location of the labels on the graph. default: "onAxis".
|
|
3831
|
-
* - "onAxis": Labels are positioned on the axis at the right (x) and top (y) of the graph.
|
|
3832
|
-
* - "alongEdge": Labels are centered along the bottom (x) and left (y) edges of the graph.
|
|
3833
|
-
* The y label is rotated. Typically used when the range min is near 0 with longer labels.
|
|
3834
|
-
*/
|
|
3835
|
-
labelLocation?: AxisLabelLocation;
|
|
3836
3501
|
/**
|
|
3837
3502
|
* The range of the graph in the x and y directions.
|
|
3838
3503
|
*/
|