@khanacademy/perseus-editor 2.3.9 → 2.3.11
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/CHANGELOG.md +17 -0
- package/dist/components/form-wrapped-text-field.js.flow +1 -4
- package/dist/es/index.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +230 -46
- package/dist/widgets/interactive-graph-editor.js.flow +460 -46
- package/package.json +2 -2
- package/src/widgets/__stories__/expression-editor.stories.tsx +123 -0
- package/src/widgets/interactive-graph-editor.tsx +2 -2
- package/tsconfig-build.tsbuildinfo +1 -1
|
@@ -23,7 +23,11 @@ declare const InteractiveGraph: {
|
|
|
23
23
|
Link: React.ComponentType<any>;
|
|
24
24
|
} | undefined;
|
|
25
25
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
26
|
-
trackInteraction?: ((
|
|
26
|
+
trackInteraction?: ((args: {
|
|
27
|
+
type: string;
|
|
28
|
+
id: string;
|
|
29
|
+
correct?: boolean | undefined;
|
|
30
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
27
31
|
customKeypad?: boolean | undefined;
|
|
28
32
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
29
33
|
isMobile?: boolean | undefined;
|
|
@@ -86,7 +90,11 @@ declare const InteractiveGraph: {
|
|
|
86
90
|
Link: React.ComponentType<any>;
|
|
87
91
|
} | undefined;
|
|
88
92
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
89
|
-
trackInteraction?: ((
|
|
93
|
+
trackInteraction?: ((args: {
|
|
94
|
+
type: string;
|
|
95
|
+
id: string;
|
|
96
|
+
correct?: boolean | undefined;
|
|
97
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
90
98
|
customKeypad?: boolean | undefined;
|
|
91
99
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
92
100
|
isMobile?: boolean | undefined;
|
|
@@ -169,7 +177,11 @@ declare const InteractiveGraph: {
|
|
|
169
177
|
Link: React.ComponentType<any>;
|
|
170
178
|
} | undefined;
|
|
171
179
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
172
|
-
trackInteraction?: ((
|
|
180
|
+
trackInteraction?: ((args: {
|
|
181
|
+
type: string;
|
|
182
|
+
id: string;
|
|
183
|
+
correct?: boolean | undefined;
|
|
184
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
173
185
|
customKeypad?: boolean | undefined;
|
|
174
186
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
175
187
|
isMobile?: boolean | undefined;
|
|
@@ -233,7 +245,11 @@ declare const InteractiveGraph: {
|
|
|
233
245
|
Link: React.ComponentType<any>;
|
|
234
246
|
} | undefined;
|
|
235
247
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
236
|
-
trackInteraction?: ((
|
|
248
|
+
trackInteraction?: ((args: {
|
|
249
|
+
type: string;
|
|
250
|
+
id: string;
|
|
251
|
+
correct?: boolean | undefined;
|
|
252
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
237
253
|
customKeypad?: boolean | undefined;
|
|
238
254
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
239
255
|
isMobile?: boolean | undefined;
|
|
@@ -297,7 +313,11 @@ declare const InteractiveGraph: {
|
|
|
297
313
|
Link: React.ComponentType<any>;
|
|
298
314
|
} | undefined;
|
|
299
315
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
300
|
-
trackInteraction?: ((
|
|
316
|
+
trackInteraction?: ((args: {
|
|
317
|
+
type: string;
|
|
318
|
+
id: string;
|
|
319
|
+
correct?: boolean | undefined;
|
|
320
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
301
321
|
customKeypad?: boolean | undefined;
|
|
302
322
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
303
323
|
isMobile?: boolean | undefined;
|
|
@@ -369,7 +389,11 @@ declare const InteractiveGraph: {
|
|
|
369
389
|
Link: React.ComponentType<any>;
|
|
370
390
|
} | undefined;
|
|
371
391
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
372
|
-
trackInteraction?: ((
|
|
392
|
+
trackInteraction?: ((args: {
|
|
393
|
+
type: string;
|
|
394
|
+
id: string;
|
|
395
|
+
correct?: boolean | undefined;
|
|
396
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
373
397
|
customKeypad?: boolean | undefined;
|
|
374
398
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
375
399
|
isMobile?: boolean | undefined;
|
|
@@ -480,7 +504,11 @@ declare const InteractiveGraph: {
|
|
|
480
504
|
Link: React.ComponentType<any>;
|
|
481
505
|
} | undefined;
|
|
482
506
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
483
|
-
trackInteraction?: ((
|
|
507
|
+
trackInteraction?: ((args: {
|
|
508
|
+
type: string;
|
|
509
|
+
id: string;
|
|
510
|
+
correct?: boolean | undefined;
|
|
511
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
484
512
|
customKeypad?: boolean | undefined;
|
|
485
513
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
486
514
|
isMobile?: boolean | undefined;
|
|
@@ -549,7 +577,11 @@ declare const InteractiveGraph: {
|
|
|
549
577
|
Link: React.ComponentType<any>;
|
|
550
578
|
} | undefined;
|
|
551
579
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
552
|
-
trackInteraction?: ((
|
|
580
|
+
trackInteraction?: ((args: {
|
|
581
|
+
type: string;
|
|
582
|
+
id: string;
|
|
583
|
+
correct?: boolean | undefined;
|
|
584
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
553
585
|
customKeypad?: boolean | undefined;
|
|
554
586
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
555
587
|
isMobile?: boolean | undefined;
|
|
@@ -615,7 +647,11 @@ declare const InteractiveGraph: {
|
|
|
615
647
|
Link: React.ComponentType<any>;
|
|
616
648
|
} | undefined;
|
|
617
649
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
618
|
-
trackInteraction?: ((
|
|
650
|
+
trackInteraction?: ((args: {
|
|
651
|
+
type: string;
|
|
652
|
+
id: string;
|
|
653
|
+
correct?: boolean | undefined;
|
|
654
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
619
655
|
customKeypad?: boolean | undefined;
|
|
620
656
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
621
657
|
isMobile?: boolean | undefined;
|
|
@@ -680,7 +716,11 @@ declare const InteractiveGraph: {
|
|
|
680
716
|
Link: React.ComponentType<any>;
|
|
681
717
|
} | undefined;
|
|
682
718
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
683
|
-
trackInteraction?: ((
|
|
719
|
+
trackInteraction?: ((args: {
|
|
720
|
+
type: string;
|
|
721
|
+
id: string;
|
|
722
|
+
correct?: boolean | undefined;
|
|
723
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
684
724
|
customKeypad?: boolean | undefined;
|
|
685
725
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
686
726
|
isMobile?: boolean | undefined;
|
|
@@ -744,7 +784,11 @@ declare const InteractiveGraph: {
|
|
|
744
784
|
Link: React.ComponentType<any>;
|
|
745
785
|
} | undefined;
|
|
746
786
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
747
|
-
trackInteraction?: ((
|
|
787
|
+
trackInteraction?: ((args: {
|
|
788
|
+
type: string;
|
|
789
|
+
id: string;
|
|
790
|
+
correct?: boolean | undefined;
|
|
791
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
748
792
|
customKeypad?: boolean | undefined;
|
|
749
793
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
750
794
|
isMobile?: boolean | undefined;
|
|
@@ -808,7 +852,11 @@ declare const InteractiveGraph: {
|
|
|
808
852
|
Link: React.ComponentType<any>;
|
|
809
853
|
} | undefined;
|
|
810
854
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
811
|
-
trackInteraction?: ((
|
|
855
|
+
trackInteraction?: ((args: {
|
|
856
|
+
type: string;
|
|
857
|
+
id: string;
|
|
858
|
+
correct?: boolean | undefined;
|
|
859
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
812
860
|
customKeypad?: boolean | undefined;
|
|
813
861
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
814
862
|
isMobile?: boolean | undefined;
|
|
@@ -873,7 +921,11 @@ declare const InteractiveGraph: {
|
|
|
873
921
|
Link: React.ComponentType<any>;
|
|
874
922
|
} | undefined;
|
|
875
923
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
876
|
-
trackInteraction?: ((
|
|
924
|
+
trackInteraction?: ((args: {
|
|
925
|
+
type: string;
|
|
926
|
+
id: string;
|
|
927
|
+
correct?: boolean | undefined;
|
|
928
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
877
929
|
customKeypad?: boolean | undefined;
|
|
878
930
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
879
931
|
isMobile?: boolean | undefined;
|
|
@@ -956,7 +1008,11 @@ declare const InteractiveGraph: {
|
|
|
956
1008
|
Link: React.ComponentType<any>;
|
|
957
1009
|
} | undefined;
|
|
958
1010
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
959
|
-
trackInteraction?: ((
|
|
1011
|
+
trackInteraction?: ((args: {
|
|
1012
|
+
type: string;
|
|
1013
|
+
id: string;
|
|
1014
|
+
correct?: boolean | undefined;
|
|
1015
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
960
1016
|
customKeypad?: boolean | undefined;
|
|
961
1017
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
962
1018
|
isMobile?: boolean | undefined;
|
|
@@ -1020,7 +1076,11 @@ declare const InteractiveGraph: {
|
|
|
1020
1076
|
Link: React.ComponentType<any>;
|
|
1021
1077
|
} | undefined;
|
|
1022
1078
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1023
|
-
trackInteraction?: ((
|
|
1079
|
+
trackInteraction?: ((args: {
|
|
1080
|
+
type: string;
|
|
1081
|
+
id: string;
|
|
1082
|
+
correct?: boolean | undefined;
|
|
1083
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1024
1084
|
customKeypad?: boolean | undefined;
|
|
1025
1085
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1026
1086
|
isMobile?: boolean | undefined;
|
|
@@ -1084,7 +1144,11 @@ declare const InteractiveGraph: {
|
|
|
1084
1144
|
Link: React.ComponentType<any>;
|
|
1085
1145
|
} | undefined;
|
|
1086
1146
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1087
|
-
trackInteraction?: ((
|
|
1147
|
+
trackInteraction?: ((args: {
|
|
1148
|
+
type: string;
|
|
1149
|
+
id: string;
|
|
1150
|
+
correct?: boolean | undefined;
|
|
1151
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1088
1152
|
customKeypad?: boolean | undefined;
|
|
1089
1153
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1090
1154
|
isMobile?: boolean | undefined;
|
|
@@ -1156,7 +1220,11 @@ declare const InteractiveGraph: {
|
|
|
1156
1220
|
Link: React.ComponentType<any>;
|
|
1157
1221
|
} | undefined;
|
|
1158
1222
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1159
|
-
trackInteraction?: ((
|
|
1223
|
+
trackInteraction?: ((args: {
|
|
1224
|
+
type: string;
|
|
1225
|
+
id: string;
|
|
1226
|
+
correct?: boolean | undefined;
|
|
1227
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1160
1228
|
customKeypad?: boolean | undefined;
|
|
1161
1229
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1162
1230
|
isMobile?: boolean | undefined;
|
|
@@ -1267,7 +1335,11 @@ declare const InteractiveGraph: {
|
|
|
1267
1335
|
Link: React.ComponentType<any>;
|
|
1268
1336
|
} | undefined;
|
|
1269
1337
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1270
|
-
trackInteraction?: ((
|
|
1338
|
+
trackInteraction?: ((args: {
|
|
1339
|
+
type: string;
|
|
1340
|
+
id: string;
|
|
1341
|
+
correct?: boolean | undefined;
|
|
1342
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1271
1343
|
customKeypad?: boolean | undefined;
|
|
1272
1344
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1273
1345
|
isMobile?: boolean | undefined;
|
|
@@ -1336,7 +1408,11 @@ declare const InteractiveGraph: {
|
|
|
1336
1408
|
Link: React.ComponentType<any>;
|
|
1337
1409
|
} | undefined;
|
|
1338
1410
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1339
|
-
trackInteraction?: ((
|
|
1411
|
+
trackInteraction?: ((args: {
|
|
1412
|
+
type: string;
|
|
1413
|
+
id: string;
|
|
1414
|
+
correct?: boolean | undefined;
|
|
1415
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1340
1416
|
customKeypad?: boolean | undefined;
|
|
1341
1417
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1342
1418
|
isMobile?: boolean | undefined;
|
|
@@ -1402,7 +1478,11 @@ declare const InteractiveGraph: {
|
|
|
1402
1478
|
Link: React.ComponentType<any>;
|
|
1403
1479
|
} | undefined;
|
|
1404
1480
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1405
|
-
trackInteraction?: ((
|
|
1481
|
+
trackInteraction?: ((args: {
|
|
1482
|
+
type: string;
|
|
1483
|
+
id: string;
|
|
1484
|
+
correct?: boolean | undefined;
|
|
1485
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1406
1486
|
customKeypad?: boolean | undefined;
|
|
1407
1487
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1408
1488
|
isMobile?: boolean | undefined;
|
|
@@ -1467,7 +1547,11 @@ declare const InteractiveGraph: {
|
|
|
1467
1547
|
Link: React.ComponentType<any>;
|
|
1468
1548
|
} | undefined;
|
|
1469
1549
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1470
|
-
trackInteraction?: ((
|
|
1550
|
+
trackInteraction?: ((args: {
|
|
1551
|
+
type: string;
|
|
1552
|
+
id: string;
|
|
1553
|
+
correct?: boolean | undefined;
|
|
1554
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1471
1555
|
customKeypad?: boolean | undefined;
|
|
1472
1556
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1473
1557
|
isMobile?: boolean | undefined;
|
|
@@ -1531,7 +1615,11 @@ declare const InteractiveGraph: {
|
|
|
1531
1615
|
Link: React.ComponentType<any>;
|
|
1532
1616
|
} | undefined;
|
|
1533
1617
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1534
|
-
trackInteraction?: ((
|
|
1618
|
+
trackInteraction?: ((args: {
|
|
1619
|
+
type: string;
|
|
1620
|
+
id: string;
|
|
1621
|
+
correct?: boolean | undefined;
|
|
1622
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1535
1623
|
customKeypad?: boolean | undefined;
|
|
1536
1624
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1537
1625
|
isMobile?: boolean | undefined;
|
|
@@ -1595,7 +1683,11 @@ declare const InteractiveGraph: {
|
|
|
1595
1683
|
Link: React.ComponentType<any>;
|
|
1596
1684
|
} | undefined;
|
|
1597
1685
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1598
|
-
trackInteraction?: ((
|
|
1686
|
+
trackInteraction?: ((args: {
|
|
1687
|
+
type: string;
|
|
1688
|
+
id: string;
|
|
1689
|
+
correct?: boolean | undefined;
|
|
1690
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1599
1691
|
customKeypad?: boolean | undefined;
|
|
1600
1692
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1601
1693
|
isMobile?: boolean | undefined;
|
|
@@ -1675,7 +1767,11 @@ declare const InteractiveGraph: {
|
|
|
1675
1767
|
Link: React.ComponentType<any>;
|
|
1676
1768
|
} | undefined;
|
|
1677
1769
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1678
|
-
trackInteraction?: ((
|
|
1770
|
+
trackInteraction?: ((args: {
|
|
1771
|
+
type: string;
|
|
1772
|
+
id: string;
|
|
1773
|
+
correct?: boolean | undefined;
|
|
1774
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1679
1775
|
customKeypad?: boolean | undefined;
|
|
1680
1776
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1681
1777
|
isMobile?: boolean | undefined;
|
|
@@ -1739,7 +1835,11 @@ declare const InteractiveGraph: {
|
|
|
1739
1835
|
Link: React.ComponentType<any>;
|
|
1740
1836
|
} | undefined;
|
|
1741
1837
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1742
|
-
trackInteraction?: ((
|
|
1838
|
+
trackInteraction?: ((args: {
|
|
1839
|
+
type: string;
|
|
1840
|
+
id: string;
|
|
1841
|
+
correct?: boolean | undefined;
|
|
1842
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1743
1843
|
customKeypad?: boolean | undefined;
|
|
1744
1844
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1745
1845
|
isMobile?: boolean | undefined;
|
|
@@ -1803,7 +1903,11 @@ declare const InteractiveGraph: {
|
|
|
1803
1903
|
Link: React.ComponentType<any>;
|
|
1804
1904
|
} | undefined;
|
|
1805
1905
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1806
|
-
trackInteraction?: ((
|
|
1906
|
+
trackInteraction?: ((args: {
|
|
1907
|
+
type: string;
|
|
1908
|
+
id: string;
|
|
1909
|
+
correct?: boolean | undefined;
|
|
1910
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1807
1911
|
customKeypad?: boolean | undefined;
|
|
1808
1912
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1809
1913
|
isMobile?: boolean | undefined;
|
|
@@ -1867,7 +1971,11 @@ declare const InteractiveGraph: {
|
|
|
1867
1971
|
Link: React.ComponentType<any>;
|
|
1868
1972
|
} | undefined;
|
|
1869
1973
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1870
|
-
trackInteraction?: ((
|
|
1974
|
+
trackInteraction?: ((args: {
|
|
1975
|
+
type: string;
|
|
1976
|
+
id: string;
|
|
1977
|
+
correct?: boolean | undefined;
|
|
1978
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1871
1979
|
customKeypad?: boolean | undefined;
|
|
1872
1980
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1873
1981
|
isMobile?: boolean | undefined;
|
|
@@ -1931,7 +2039,11 @@ declare const InteractiveGraph: {
|
|
|
1931
2039
|
Link: React.ComponentType<any>;
|
|
1932
2040
|
} | undefined;
|
|
1933
2041
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1934
|
-
trackInteraction?: ((
|
|
2042
|
+
trackInteraction?: ((args: {
|
|
2043
|
+
type: string;
|
|
2044
|
+
id: string;
|
|
2045
|
+
correct?: boolean | undefined;
|
|
2046
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1935
2047
|
customKeypad?: boolean | undefined;
|
|
1936
2048
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
1937
2049
|
isMobile?: boolean | undefined;
|
|
@@ -1995,7 +2107,11 @@ declare const InteractiveGraph: {
|
|
|
1995
2107
|
Link: React.ComponentType<any>;
|
|
1996
2108
|
} | undefined;
|
|
1997
2109
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1998
|
-
trackInteraction?: ((
|
|
2110
|
+
trackInteraction?: ((args: {
|
|
2111
|
+
type: string;
|
|
2112
|
+
id: string;
|
|
2113
|
+
correct?: boolean | undefined;
|
|
2114
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
1999
2115
|
customKeypad?: boolean | undefined;
|
|
2000
2116
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2001
2117
|
isMobile?: boolean | undefined;
|
|
@@ -2060,7 +2176,11 @@ declare const InteractiveGraph: {
|
|
|
2060
2176
|
Link: React.ComponentType<any>;
|
|
2061
2177
|
} | undefined;
|
|
2062
2178
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2063
|
-
trackInteraction?: ((
|
|
2179
|
+
trackInteraction?: ((args: {
|
|
2180
|
+
type: string;
|
|
2181
|
+
id: string;
|
|
2182
|
+
correct?: boolean | undefined;
|
|
2183
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2064
2184
|
customKeypad?: boolean | undefined;
|
|
2065
2185
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2066
2186
|
isMobile?: boolean | undefined;
|
|
@@ -2124,7 +2244,11 @@ declare const InteractiveGraph: {
|
|
|
2124
2244
|
Link: React.ComponentType<any>;
|
|
2125
2245
|
} | undefined;
|
|
2126
2246
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2127
|
-
trackInteraction?: ((
|
|
2247
|
+
trackInteraction?: ((args: {
|
|
2248
|
+
type: string;
|
|
2249
|
+
id: string;
|
|
2250
|
+
correct?: boolean | undefined;
|
|
2251
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2128
2252
|
customKeypad?: boolean | undefined;
|
|
2129
2253
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2130
2254
|
isMobile?: boolean | undefined;
|
|
@@ -2188,7 +2312,11 @@ declare const InteractiveGraph: {
|
|
|
2188
2312
|
Link: React.ComponentType<any>;
|
|
2189
2313
|
} | undefined;
|
|
2190
2314
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2191
|
-
trackInteraction?: ((
|
|
2315
|
+
trackInteraction?: ((args: {
|
|
2316
|
+
type: string;
|
|
2317
|
+
id: string;
|
|
2318
|
+
correct?: boolean | undefined;
|
|
2319
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2192
2320
|
customKeypad?: boolean | undefined;
|
|
2193
2321
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2194
2322
|
isMobile?: boolean | undefined;
|
|
@@ -2252,7 +2380,11 @@ declare const InteractiveGraph: {
|
|
|
2252
2380
|
Link: React.ComponentType<any>;
|
|
2253
2381
|
} | undefined;
|
|
2254
2382
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2255
|
-
trackInteraction?: ((
|
|
2383
|
+
trackInteraction?: ((args: {
|
|
2384
|
+
type: string;
|
|
2385
|
+
id: string;
|
|
2386
|
+
correct?: boolean | undefined;
|
|
2387
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2256
2388
|
customKeypad?: boolean | undefined;
|
|
2257
2389
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2258
2390
|
isMobile?: boolean | undefined;
|
|
@@ -2316,7 +2448,11 @@ declare const InteractiveGraph: {
|
|
|
2316
2448
|
Link: React.ComponentType<any>;
|
|
2317
2449
|
} | undefined;
|
|
2318
2450
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2319
|
-
trackInteraction?: ((
|
|
2451
|
+
trackInteraction?: ((args: {
|
|
2452
|
+
type: string;
|
|
2453
|
+
id: string;
|
|
2454
|
+
correct?: boolean | undefined;
|
|
2455
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2320
2456
|
customKeypad?: boolean | undefined;
|
|
2321
2457
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2322
2458
|
isMobile?: boolean | undefined;
|
|
@@ -2380,7 +2516,11 @@ declare const InteractiveGraph: {
|
|
|
2380
2516
|
Link: React.ComponentType<any>;
|
|
2381
2517
|
} | undefined;
|
|
2382
2518
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2383
|
-
trackInteraction?: ((
|
|
2519
|
+
trackInteraction?: ((args: {
|
|
2520
|
+
type: string;
|
|
2521
|
+
id: string;
|
|
2522
|
+
correct?: boolean | undefined;
|
|
2523
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2384
2524
|
customKeypad?: boolean | undefined;
|
|
2385
2525
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2386
2526
|
isMobile?: boolean | undefined;
|
|
@@ -2444,7 +2584,11 @@ declare const InteractiveGraph: {
|
|
|
2444
2584
|
Link: React.ComponentType<any>;
|
|
2445
2585
|
} | undefined;
|
|
2446
2586
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2447
|
-
trackInteraction?: ((
|
|
2587
|
+
trackInteraction?: ((args: {
|
|
2588
|
+
type: string;
|
|
2589
|
+
id: string;
|
|
2590
|
+
correct?: boolean | undefined;
|
|
2591
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2448
2592
|
customKeypad?: boolean | undefined;
|
|
2449
2593
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2450
2594
|
isMobile?: boolean | undefined;
|
|
@@ -2508,7 +2652,11 @@ declare const InteractiveGraph: {
|
|
|
2508
2652
|
Link: React.ComponentType<any>;
|
|
2509
2653
|
} | undefined;
|
|
2510
2654
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2511
|
-
trackInteraction?: ((
|
|
2655
|
+
trackInteraction?: ((args: {
|
|
2656
|
+
type: string;
|
|
2657
|
+
id: string;
|
|
2658
|
+
correct?: boolean | undefined;
|
|
2659
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2512
2660
|
customKeypad?: boolean | undefined;
|
|
2513
2661
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2514
2662
|
isMobile?: boolean | undefined;
|
|
@@ -2572,7 +2720,11 @@ declare const InteractiveGraph: {
|
|
|
2572
2720
|
Link: React.ComponentType<any>;
|
|
2573
2721
|
} | undefined;
|
|
2574
2722
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2575
|
-
trackInteraction?: ((
|
|
2723
|
+
trackInteraction?: ((args: {
|
|
2724
|
+
type: string;
|
|
2725
|
+
id: string;
|
|
2726
|
+
correct?: boolean | undefined;
|
|
2727
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2576
2728
|
customKeypad?: boolean | undefined;
|
|
2577
2729
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2578
2730
|
isMobile?: boolean | undefined;
|
|
@@ -2636,7 +2788,11 @@ declare const InteractiveGraph: {
|
|
|
2636
2788
|
Link: React.ComponentType<any>;
|
|
2637
2789
|
} | undefined;
|
|
2638
2790
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2639
|
-
trackInteraction?: ((
|
|
2791
|
+
trackInteraction?: ((args: {
|
|
2792
|
+
type: string;
|
|
2793
|
+
id: string;
|
|
2794
|
+
correct?: boolean | undefined;
|
|
2795
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2640
2796
|
customKeypad?: boolean | undefined;
|
|
2641
2797
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2642
2798
|
isMobile?: boolean | undefined;
|
|
@@ -2700,7 +2856,11 @@ declare const InteractiveGraph: {
|
|
|
2700
2856
|
Link: React.ComponentType<any>;
|
|
2701
2857
|
} | undefined;
|
|
2702
2858
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2703
|
-
trackInteraction?: ((
|
|
2859
|
+
trackInteraction?: ((args: {
|
|
2860
|
+
type: string;
|
|
2861
|
+
id: string;
|
|
2862
|
+
correct?: boolean | undefined;
|
|
2863
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2704
2864
|
customKeypad?: boolean | undefined;
|
|
2705
2865
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2706
2866
|
isMobile?: boolean | undefined;
|
|
@@ -2764,7 +2924,11 @@ declare const InteractiveGraph: {
|
|
|
2764
2924
|
Link: React.ComponentType<any>;
|
|
2765
2925
|
} | undefined;
|
|
2766
2926
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2767
|
-
trackInteraction?: ((
|
|
2927
|
+
trackInteraction?: ((args: {
|
|
2928
|
+
type: string;
|
|
2929
|
+
id: string;
|
|
2930
|
+
correct?: boolean | undefined;
|
|
2931
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2768
2932
|
customKeypad?: boolean | undefined;
|
|
2769
2933
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2770
2934
|
isMobile?: boolean | undefined;
|
|
@@ -2828,7 +2992,11 @@ declare const InteractiveGraph: {
|
|
|
2828
2992
|
Link: React.ComponentType<any>;
|
|
2829
2993
|
} | undefined;
|
|
2830
2994
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2831
|
-
trackInteraction?: ((
|
|
2995
|
+
trackInteraction?: ((args: {
|
|
2996
|
+
type: string;
|
|
2997
|
+
id: string;
|
|
2998
|
+
correct?: boolean | undefined;
|
|
2999
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2832
3000
|
customKeypad?: boolean | undefined;
|
|
2833
3001
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2834
3002
|
isMobile?: boolean | undefined;
|
|
@@ -2892,7 +3060,11 @@ declare const InteractiveGraph: {
|
|
|
2892
3060
|
Link: React.ComponentType<any>;
|
|
2893
3061
|
} | undefined;
|
|
2894
3062
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2895
|
-
trackInteraction?: ((
|
|
3063
|
+
trackInteraction?: ((args: {
|
|
3064
|
+
type: string;
|
|
3065
|
+
id: string;
|
|
3066
|
+
correct?: boolean | undefined;
|
|
3067
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2896
3068
|
customKeypad?: boolean | undefined;
|
|
2897
3069
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2898
3070
|
isMobile?: boolean | undefined;
|
|
@@ -2956,7 +3128,11 @@ declare const InteractiveGraph: {
|
|
|
2956
3128
|
Link: React.ComponentType<any>;
|
|
2957
3129
|
} | undefined;
|
|
2958
3130
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2959
|
-
trackInteraction?: ((
|
|
3131
|
+
trackInteraction?: ((args: {
|
|
3132
|
+
type: string;
|
|
3133
|
+
id: string;
|
|
3134
|
+
correct?: boolean | undefined;
|
|
3135
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
2960
3136
|
customKeypad?: boolean | undefined;
|
|
2961
3137
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
2962
3138
|
isMobile?: boolean | undefined;
|
|
@@ -3020,7 +3196,11 @@ declare const InteractiveGraph: {
|
|
|
3020
3196
|
Link: React.ComponentType<any>;
|
|
3021
3197
|
} | undefined;
|
|
3022
3198
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3023
|
-
trackInteraction?: ((
|
|
3199
|
+
trackInteraction?: ((args: {
|
|
3200
|
+
type: string;
|
|
3201
|
+
id: string;
|
|
3202
|
+
correct?: boolean | undefined;
|
|
3203
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
3024
3204
|
customKeypad?: boolean | undefined;
|
|
3025
3205
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
3026
3206
|
isMobile?: boolean | undefined;
|
|
@@ -3085,7 +3265,11 @@ declare const InteractiveGraph: {
|
|
|
3085
3265
|
Link: React.ComponentType<any>;
|
|
3086
3266
|
} | undefined;
|
|
3087
3267
|
imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3088
|
-
trackInteraction?: ((
|
|
3268
|
+
trackInteraction?: ((args: {
|
|
3269
|
+
type: string;
|
|
3270
|
+
id: string;
|
|
3271
|
+
correct?: boolean | undefined;
|
|
3272
|
+
} & Record<string, unknown>) => void) | undefined;
|
|
3089
3273
|
customKeypad?: boolean | undefined;
|
|
3090
3274
|
nativeKeypadProxy?: (() => unknown) | undefined;
|
|
3091
3275
|
isMobile?: boolean | undefined;
|