@khanacademy/perseus-editor 2.3.9 → 2.3.10

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.
@@ -62,7 +62,13 @@ declare var InteractiveGraph: {|
62
62
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
63
63
  ) => React.Node)
64
64
  | void,
65
- trackInteraction?: (() => mixed) | void,
65
+ trackInteraction?:
66
+ | ((args: {|
67
+ type: string,
68
+ id: string,
69
+ correct?: boolean | void,
70
+ |}) => void)
71
+ | void,
66
72
  customKeypad?: boolean | void,
67
73
  nativeKeypadProxy?: (() => mixed) | void,
68
74
  isMobile?: boolean | void,
@@ -169,7 +175,13 @@ declare var InteractiveGraph: {|
169
175
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
170
176
  ) => React.Node)
171
177
  | void,
172
- trackInteraction?: (() => mixed) | void,
178
+ trackInteraction?:
179
+ | ((args: {|
180
+ type: string,
181
+ id: string,
182
+ correct?: boolean | void,
183
+ |}) => void)
184
+ | void,
173
185
  customKeypad?: boolean | void,
174
186
  nativeKeypadProxy?: (() => mixed) | void,
175
187
  isMobile?: boolean | void,
@@ -298,7 +310,13 @@ declare var InteractiveGraph: {|
298
310
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
299
311
  ) => React.Node)
300
312
  | void,
301
- trackInteraction?: (() => mixed) | void,
313
+ trackInteraction?:
314
+ | ((args: {|
315
+ type: string,
316
+ id: string,
317
+ correct?: boolean | void,
318
+ |}) => void)
319
+ | void,
302
320
  customKeypad?: boolean | void,
303
321
  nativeKeypadProxy?: (() => mixed) | void,
304
322
  isMobile?: boolean | void,
@@ -406,7 +424,13 @@ declare var InteractiveGraph: {|
406
424
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
407
425
  ) => React.Node)
408
426
  | void,
409
- trackInteraction?: (() => mixed) | void,
427
+ trackInteraction?:
428
+ | ((args: {|
429
+ type: string,
430
+ id: string,
431
+ correct?: boolean | void,
432
+ |}) => void)
433
+ | void,
410
434
  customKeypad?: boolean | void,
411
435
  nativeKeypadProxy?: (() => mixed) | void,
412
436
  isMobile?: boolean | void,
@@ -516,7 +540,13 @@ declare var InteractiveGraph: {|
516
540
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
517
541
  ) => React.Node)
518
542
  | void,
519
- trackInteraction?: (() => mixed) | void,
543
+ trackInteraction?:
544
+ | ((args: {|
545
+ type: string,
546
+ id: string,
547
+ correct?: boolean | void,
548
+ |}) => void)
549
+ | void,
520
550
  customKeypad?: boolean | void,
521
551
  nativeKeypadProxy?: (() => mixed) | void,
522
552
  isMobile?: boolean | void,
@@ -637,7 +667,13 @@ declare var InteractiveGraph: {|
637
667
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
638
668
  ) => React.Node)
639
669
  | void,
640
- trackInteraction?: (() => mixed) | void,
670
+ trackInteraction?:
671
+ | ((args: {|
672
+ type: string,
673
+ id: string,
674
+ correct?: boolean | void,
675
+ |}) => void)
676
+ | void,
641
677
  customKeypad?: boolean | void,
642
678
  nativeKeypadProxy?: (() => mixed) | void,
643
679
  isMobile?: boolean | void,
@@ -820,7 +856,13 @@ declare var InteractiveGraph: {|
820
856
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
821
857
  ) => React.Node)
822
858
  | void,
823
- trackInteraction?: (() => mixed) | void,
859
+ trackInteraction?:
860
+ | ((args: {|
861
+ type: string,
862
+ id: string,
863
+ correct?: boolean | void,
864
+ |}) => void)
865
+ | void,
824
866
  customKeypad?: boolean | void,
825
867
  nativeKeypadProxy?: (() => mixed) | void,
826
868
  isMobile?: boolean | void,
@@ -935,7 +977,13 @@ declare var InteractiveGraph: {|
935
977
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
936
978
  ) => React.Node)
937
979
  | void,
938
- trackInteraction?: (() => mixed) | void,
980
+ trackInteraction?:
981
+ | ((args: {|
982
+ type: string,
983
+ id: string,
984
+ correct?: boolean | void,
985
+ |}) => void)
986
+ | void,
939
987
  customKeypad?: boolean | void,
940
988
  nativeKeypadProxy?: (() => mixed) | void,
941
989
  isMobile?: boolean | void,
@@ -1048,7 +1096,13 @@ declare var InteractiveGraph: {|
1048
1096
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1049
1097
  ) => React.Node)
1050
1098
  | void,
1051
- trackInteraction?: (() => mixed) | void,
1099
+ trackInteraction?:
1100
+ | ((args: {|
1101
+ type: string,
1102
+ id: string,
1103
+ correct?: boolean | void,
1104
+ |}) => void)
1105
+ | void,
1052
1106
  customKeypad?: boolean | void,
1053
1107
  nativeKeypadProxy?: (() => mixed) | void,
1054
1108
  isMobile?: boolean | void,
@@ -1159,7 +1213,13 @@ declare var InteractiveGraph: {|
1159
1213
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1160
1214
  ) => React.Node)
1161
1215
  | void,
1162
- trackInteraction?: (() => mixed) | void,
1216
+ trackInteraction?:
1217
+ | ((args: {|
1218
+ type: string,
1219
+ id: string,
1220
+ correct?: boolean | void,
1221
+ |}) => void)
1222
+ | void,
1163
1223
  customKeypad?: boolean | void,
1164
1224
  nativeKeypadProxy?: (() => mixed) | void,
1165
1225
  isMobile?: boolean | void,
@@ -1269,7 +1329,13 @@ declare var InteractiveGraph: {|
1269
1329
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1270
1330
  ) => React.Node)
1271
1331
  | void,
1272
- trackInteraction?: (() => mixed) | void,
1332
+ trackInteraction?:
1333
+ | ((args: {|
1334
+ type: string,
1335
+ id: string,
1336
+ correct?: boolean | void,
1337
+ |}) => void)
1338
+ | void,
1273
1339
  customKeypad?: boolean | void,
1274
1340
  nativeKeypadProxy?: (() => mixed) | void,
1275
1341
  isMobile?: boolean | void,
@@ -1380,7 +1446,13 @@ declare var InteractiveGraph: {|
1380
1446
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1381
1447
  ) => React.Node)
1382
1448
  | void,
1383
- trackInteraction?: (() => mixed) | void,
1449
+ trackInteraction?:
1450
+ | ((args: {|
1451
+ type: string,
1452
+ id: string,
1453
+ correct?: boolean | void,
1454
+ |}) => void)
1455
+ | void,
1384
1456
  customKeypad?: boolean | void,
1385
1457
  nativeKeypadProxy?: (() => mixed) | void,
1386
1458
  isMobile?: boolean | void,
@@ -1492,7 +1564,13 @@ declare var InteractiveGraph: {|
1492
1564
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1493
1565
  ) => React.Node)
1494
1566
  | void,
1495
- trackInteraction?: (() => mixed) | void,
1567
+ trackInteraction?:
1568
+ | ((args: {|
1569
+ type: string,
1570
+ id: string,
1571
+ correct?: boolean | void,
1572
+ |}) => void)
1573
+ | void,
1496
1574
  customKeypad?: boolean | void,
1497
1575
  nativeKeypadProxy?: (() => mixed) | void,
1498
1576
  isMobile?: boolean | void,
@@ -1622,7 +1700,13 @@ declare var InteractiveGraph: {|
1622
1700
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1623
1701
  ) => React.Node)
1624
1702
  | void,
1625
- trackInteraction?: (() => mixed) | void,
1703
+ trackInteraction?:
1704
+ | ((args: {|
1705
+ type: string,
1706
+ id: string,
1707
+ correct?: boolean | void,
1708
+ |}) => void)
1709
+ | void,
1626
1710
  customKeypad?: boolean | void,
1627
1711
  nativeKeypadProxy?: (() => mixed) | void,
1628
1712
  isMobile?: boolean | void,
@@ -1730,7 +1814,13 @@ declare var InteractiveGraph: {|
1730
1814
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1731
1815
  ) => React.Node)
1732
1816
  | void,
1733
- trackInteraction?: (() => mixed) | void,
1817
+ trackInteraction?:
1818
+ | ((args: {|
1819
+ type: string,
1820
+ id: string,
1821
+ correct?: boolean | void,
1822
+ |}) => void)
1823
+ | void,
1734
1824
  customKeypad?: boolean | void,
1735
1825
  nativeKeypadProxy?: (() => mixed) | void,
1736
1826
  isMobile?: boolean | void,
@@ -1840,7 +1930,13 @@ declare var InteractiveGraph: {|
1840
1930
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1841
1931
  ) => React.Node)
1842
1932
  | void,
1843
- trackInteraction?: (() => mixed) | void,
1933
+ trackInteraction?:
1934
+ | ((args: {|
1935
+ type: string,
1936
+ id: string,
1937
+ correct?: boolean | void,
1938
+ |}) => void)
1939
+ | void,
1844
1940
  customKeypad?: boolean | void,
1845
1941
  nativeKeypadProxy?: (() => mixed) | void,
1846
1942
  isMobile?: boolean | void,
@@ -1961,7 +2057,13 @@ declare var InteractiveGraph: {|
1961
2057
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
1962
2058
  ) => React.Node)
1963
2059
  | void,
1964
- trackInteraction?: (() => mixed) | void,
2060
+ trackInteraction?:
2061
+ | ((args: {|
2062
+ type: string,
2063
+ id: string,
2064
+ correct?: boolean | void,
2065
+ |}) => void)
2066
+ | void,
1965
2067
  customKeypad?: boolean | void,
1966
2068
  nativeKeypadProxy?: (() => mixed) | void,
1967
2069
  isMobile?: boolean | void,
@@ -2144,7 +2246,13 @@ declare var InteractiveGraph: {|
2144
2246
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2145
2247
  ) => React.Node)
2146
2248
  | void,
2147
- trackInteraction?: (() => mixed) | void,
2249
+ trackInteraction?:
2250
+ | ((args: {|
2251
+ type: string,
2252
+ id: string,
2253
+ correct?: boolean | void,
2254
+ |}) => void)
2255
+ | void,
2148
2256
  customKeypad?: boolean | void,
2149
2257
  nativeKeypadProxy?: (() => mixed) | void,
2150
2258
  isMobile?: boolean | void,
@@ -2259,7 +2367,13 @@ declare var InteractiveGraph: {|
2259
2367
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2260
2368
  ) => React.Node)
2261
2369
  | void,
2262
- trackInteraction?: (() => mixed) | void,
2370
+ trackInteraction?:
2371
+ | ((args: {|
2372
+ type: string,
2373
+ id: string,
2374
+ correct?: boolean | void,
2375
+ |}) => void)
2376
+ | void,
2263
2377
  customKeypad?: boolean | void,
2264
2378
  nativeKeypadProxy?: (() => mixed) | void,
2265
2379
  isMobile?: boolean | void,
@@ -2372,7 +2486,13 @@ declare var InteractiveGraph: {|
2372
2486
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2373
2487
  ) => React.Node)
2374
2488
  | void,
2375
- trackInteraction?: (() => mixed) | void,
2489
+ trackInteraction?:
2490
+ | ((args: {|
2491
+ type: string,
2492
+ id: string,
2493
+ correct?: boolean | void,
2494
+ |}) => void)
2495
+ | void,
2376
2496
  customKeypad?: boolean | void,
2377
2497
  nativeKeypadProxy?: (() => mixed) | void,
2378
2498
  isMobile?: boolean | void,
@@ -2483,7 +2603,13 @@ declare var InteractiveGraph: {|
2483
2603
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2484
2604
  ) => React.Node)
2485
2605
  | void,
2486
- trackInteraction?: (() => mixed) | void,
2606
+ trackInteraction?:
2607
+ | ((args: {|
2608
+ type: string,
2609
+ id: string,
2610
+ correct?: boolean | void,
2611
+ |}) => void)
2612
+ | void,
2487
2613
  customKeypad?: boolean | void,
2488
2614
  nativeKeypadProxy?: (() => mixed) | void,
2489
2615
  isMobile?: boolean | void,
@@ -2593,7 +2719,13 @@ declare var InteractiveGraph: {|
2593
2719
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2594
2720
  ) => React.Node)
2595
2721
  | void,
2596
- trackInteraction?: (() => mixed) | void,
2722
+ trackInteraction?:
2723
+ | ((args: {|
2724
+ type: string,
2725
+ id: string,
2726
+ correct?: boolean | void,
2727
+ |}) => void)
2728
+ | void,
2597
2729
  customKeypad?: boolean | void,
2598
2730
  nativeKeypadProxy?: (() => mixed) | void,
2599
2731
  isMobile?: boolean | void,
@@ -2704,7 +2836,13 @@ declare var InteractiveGraph: {|
2704
2836
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2705
2837
  ) => React.Node)
2706
2838
  | void,
2707
- trackInteraction?: (() => mixed) | void,
2839
+ trackInteraction?:
2840
+ | ((args: {|
2841
+ type: string,
2842
+ id: string,
2843
+ correct?: boolean | void,
2844
+ |}) => void)
2845
+ | void,
2708
2846
  customKeypad?: boolean | void,
2709
2847
  nativeKeypadProxy?: (() => mixed) | void,
2710
2848
  isMobile?: boolean | void,
@@ -2836,7 +2974,13 @@ declare var InteractiveGraph: {|
2836
2974
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2837
2975
  ) => React.Node)
2838
2976
  | void,
2839
- trackInteraction?: (() => mixed) | void,
2977
+ trackInteraction?:
2978
+ | ((args: {|
2979
+ type: string,
2980
+ id: string,
2981
+ correct?: boolean | void,
2982
+ |}) => void)
2983
+ | void,
2840
2984
  customKeypad?: boolean | void,
2841
2985
  nativeKeypadProxy?: (() => mixed) | void,
2842
2986
  isMobile?: boolean | void,
@@ -2946,7 +3090,13 @@ declare var InteractiveGraph: {|
2946
3090
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
2947
3091
  ) => React.Node)
2948
3092
  | void,
2949
- trackInteraction?: (() => mixed) | void,
3093
+ trackInteraction?:
3094
+ | ((args: {|
3095
+ type: string,
3096
+ id: string,
3097
+ correct?: boolean | void,
3098
+ |}) => void)
3099
+ | void,
2950
3100
  customKeypad?: boolean | void,
2951
3101
  nativeKeypadProxy?: (() => mixed) | void,
2952
3102
  isMobile?: boolean | void,
@@ -3056,7 +3206,13 @@ declare var InteractiveGraph: {|
3056
3206
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3057
3207
  ) => React.Node)
3058
3208
  | void,
3059
- trackInteraction?: (() => mixed) | void,
3209
+ trackInteraction?:
3210
+ | ((args: {|
3211
+ type: string,
3212
+ id: string,
3213
+ correct?: boolean | void,
3214
+ |}) => void)
3215
+ | void,
3060
3216
  customKeypad?: boolean | void,
3061
3217
  nativeKeypadProxy?: (() => mixed) | void,
3062
3218
  isMobile?: boolean | void,
@@ -3168,7 +3324,13 @@ declare var InteractiveGraph: {|
3168
3324
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3169
3325
  ) => React.Node)
3170
3326
  | void,
3171
- trackInteraction?: (() => mixed) | void,
3327
+ trackInteraction?:
3328
+ | ((args: {|
3329
+ type: string,
3330
+ id: string,
3331
+ correct?: boolean | void,
3332
+ |}) => void)
3333
+ | void,
3172
3334
  customKeypad?: boolean | void,
3173
3335
  nativeKeypadProxy?: (() => mixed) | void,
3174
3336
  isMobile?: boolean | void,
@@ -3278,7 +3440,13 @@ declare var InteractiveGraph: {|
3278
3440
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3279
3441
  ) => React.Node)
3280
3442
  | void,
3281
- trackInteraction?: (() => mixed) | void,
3443
+ trackInteraction?:
3444
+ | ((args: {|
3445
+ type: string,
3446
+ id: string,
3447
+ correct?: boolean | void,
3448
+ |}) => void)
3449
+ | void,
3282
3450
  customKeypad?: boolean | void,
3283
3451
  nativeKeypadProxy?: (() => mixed) | void,
3284
3452
  isMobile?: boolean | void,
@@ -3390,7 +3558,13 @@ declare var InteractiveGraph: {|
3390
3558
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3391
3559
  ) => React.Node)
3392
3560
  | void,
3393
- trackInteraction?: (() => mixed) | void,
3561
+ trackInteraction?:
3562
+ | ((args: {|
3563
+ type: string,
3564
+ id: string,
3565
+ correct?: boolean | void,
3566
+ |}) => void)
3567
+ | void,
3394
3568
  customKeypad?: boolean | void,
3395
3569
  nativeKeypadProxy?: (() => mixed) | void,
3396
3570
  isMobile?: boolean | void,
@@ -3505,7 +3679,13 @@ declare var InteractiveGraph: {|
3505
3679
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3506
3680
  ) => React.Node)
3507
3681
  | void,
3508
- trackInteraction?: (() => mixed) | void,
3682
+ trackInteraction?:
3683
+ | ((args: {|
3684
+ type: string,
3685
+ id: string,
3686
+ correct?: boolean | void,
3687
+ |}) => void)
3688
+ | void,
3509
3689
  customKeypad?: boolean | void,
3510
3690
  nativeKeypadProxy?: (() => mixed) | void,
3511
3691
  isMobile?: boolean | void,
@@ -3610,7 +3790,13 @@ declare var InteractiveGraph: {|
3610
3790
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3611
3791
  ) => React.Node)
3612
3792
  | void,
3613
- trackInteraction?: (() => mixed) | void,
3793
+ trackInteraction?:
3794
+ | ((args: {|
3795
+ type: string,
3796
+ id: string,
3797
+ correct?: boolean | void,
3798
+ |}) => void)
3799
+ | void,
3614
3800
  customKeypad?: boolean | void,
3615
3801
  nativeKeypadProxy?: (() => mixed) | void,
3616
3802
  isMobile?: boolean | void,
@@ -3720,7 +3906,13 @@ declare var InteractiveGraph: {|
3720
3906
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3721
3907
  ) => React.Node)
3722
3908
  | void,
3723
- trackInteraction?: (() => mixed) | void,
3909
+ trackInteraction?:
3910
+ | ((args: {|
3911
+ type: string,
3912
+ id: string,
3913
+ correct?: boolean | void,
3914
+ |}) => void)
3915
+ | void,
3724
3916
  customKeypad?: boolean | void,
3725
3917
  nativeKeypadProxy?: (() => mixed) | void,
3726
3918
  isMobile?: boolean | void,
@@ -3824,7 +4016,13 @@ declare var InteractiveGraph: {|
3824
4016
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3825
4017
  ) => React.Node)
3826
4018
  | void,
3827
- trackInteraction?: (() => mixed) | void,
4019
+ trackInteraction?:
4020
+ | ((args: {|
4021
+ type: string,
4022
+ id: string,
4023
+ correct?: boolean | void,
4024
+ |}) => void)
4025
+ | void,
3828
4026
  customKeypad?: boolean | void,
3829
4027
  nativeKeypadProxy?: (() => mixed) | void,
3830
4028
  isMobile?: boolean | void,
@@ -3928,7 +4126,13 @@ declare var InteractiveGraph: {|
3928
4126
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
3929
4127
  ) => React.Node)
3930
4128
  | void,
3931
- trackInteraction?: (() => mixed) | void,
4129
+ trackInteraction?:
4130
+ | ((args: {|
4131
+ type: string,
4132
+ id: string,
4133
+ correct?: boolean | void,
4134
+ |}) => void)
4135
+ | void,
3932
4136
  customKeypad?: boolean | void,
3933
4137
  nativeKeypadProxy?: (() => mixed) | void,
3934
4138
  isMobile?: boolean | void,
@@ -4032,7 +4236,13 @@ declare var InteractiveGraph: {|
4032
4236
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4033
4237
  ) => React.Node)
4034
4238
  | void,
4035
- trackInteraction?: (() => mixed) | void,
4239
+ trackInteraction?:
4240
+ | ((args: {|
4241
+ type: string,
4242
+ id: string,
4243
+ correct?: boolean | void,
4244
+ |}) => void)
4245
+ | void,
4036
4246
  customKeypad?: boolean | void,
4037
4247
  nativeKeypadProxy?: (() => mixed) | void,
4038
4248
  isMobile?: boolean | void,
@@ -4136,7 +4346,13 @@ declare var InteractiveGraph: {|
4136
4346
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4137
4347
  ) => React.Node)
4138
4348
  | void,
4139
- trackInteraction?: (() => mixed) | void,
4349
+ trackInteraction?:
4350
+ | ((args: {|
4351
+ type: string,
4352
+ id: string,
4353
+ correct?: boolean | void,
4354
+ |}) => void)
4355
+ | void,
4140
4356
  customKeypad?: boolean | void,
4141
4357
  nativeKeypadProxy?: (() => mixed) | void,
4142
4358
  isMobile?: boolean | void,
@@ -4240,7 +4456,13 @@ declare var InteractiveGraph: {|
4240
4456
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4241
4457
  ) => React.Node)
4242
4458
  | void,
4243
- trackInteraction?: (() => mixed) | void,
4459
+ trackInteraction?:
4460
+ | ((args: {|
4461
+ type: string,
4462
+ id: string,
4463
+ correct?: boolean | void,
4464
+ |}) => void)
4465
+ | void,
4244
4466
  customKeypad?: boolean | void,
4245
4467
  nativeKeypadProxy?: (() => mixed) | void,
4246
4468
  isMobile?: boolean | void,
@@ -4344,7 +4566,13 @@ declare var InteractiveGraph: {|
4344
4566
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4345
4567
  ) => React.Node)
4346
4568
  | void,
4347
- trackInteraction?: (() => mixed) | void,
4569
+ trackInteraction?:
4570
+ | ((args: {|
4571
+ type: string,
4572
+ id: string,
4573
+ correct?: boolean | void,
4574
+ |}) => void)
4575
+ | void,
4348
4576
  customKeypad?: boolean | void,
4349
4577
  nativeKeypadProxy?: (() => mixed) | void,
4350
4578
  isMobile?: boolean | void,
@@ -4448,7 +4676,13 @@ declare var InteractiveGraph: {|
4448
4676
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4449
4677
  ) => React.Node)
4450
4678
  | void,
4451
- trackInteraction?: (() => mixed) | void,
4679
+ trackInteraction?:
4680
+ | ((args: {|
4681
+ type: string,
4682
+ id: string,
4683
+ correct?: boolean | void,
4684
+ |}) => void)
4685
+ | void,
4452
4686
  customKeypad?: boolean | void,
4453
4687
  nativeKeypadProxy?: (() => mixed) | void,
4454
4688
  isMobile?: boolean | void,
@@ -4552,7 +4786,13 @@ declare var InteractiveGraph: {|
4552
4786
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4553
4787
  ) => React.Node)
4554
4788
  | void,
4555
- trackInteraction?: (() => mixed) | void,
4789
+ trackInteraction?:
4790
+ | ((args: {|
4791
+ type: string,
4792
+ id: string,
4793
+ correct?: boolean | void,
4794
+ |}) => void)
4795
+ | void,
4556
4796
  customKeypad?: boolean | void,
4557
4797
  nativeKeypadProxy?: (() => mixed) | void,
4558
4798
  isMobile?: boolean | void,
@@ -4656,7 +4896,13 @@ declare var InteractiveGraph: {|
4656
4896
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4657
4897
  ) => React.Node)
4658
4898
  | void,
4659
- trackInteraction?: (() => mixed) | void,
4899
+ trackInteraction?:
4900
+ | ((args: {|
4901
+ type: string,
4902
+ id: string,
4903
+ correct?: boolean | void,
4904
+ |}) => void)
4905
+ | void,
4660
4906
  customKeypad?: boolean | void,
4661
4907
  nativeKeypadProxy?: (() => mixed) | void,
4662
4908
  isMobile?: boolean | void,
@@ -4760,7 +5006,13 @@ declare var InteractiveGraph: {|
4760
5006
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4761
5007
  ) => React.Node)
4762
5008
  | void,
4763
- trackInteraction?: (() => mixed) | void,
5009
+ trackInteraction?:
5010
+ | ((args: {|
5011
+ type: string,
5012
+ id: string,
5013
+ correct?: boolean | void,
5014
+ |}) => void)
5015
+ | void,
4764
5016
  customKeypad?: boolean | void,
4765
5017
  nativeKeypadProxy?: (() => mixed) | void,
4766
5018
  isMobile?: boolean | void,
@@ -4864,7 +5116,13 @@ declare var InteractiveGraph: {|
4864
5116
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4865
5117
  ) => React.Node)
4866
5118
  | void,
4867
- trackInteraction?: (() => mixed) | void,
5119
+ trackInteraction?:
5120
+ | ((args: {|
5121
+ type: string,
5122
+ id: string,
5123
+ correct?: boolean | void,
5124
+ |}) => void)
5125
+ | void,
4868
5126
  customKeypad?: boolean | void,
4869
5127
  nativeKeypadProxy?: (() => mixed) | void,
4870
5128
  isMobile?: boolean | void,
@@ -4968,7 +5226,13 @@ declare var InteractiveGraph: {|
4968
5226
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
4969
5227
  ) => React.Node)
4970
5228
  | void,
4971
- trackInteraction?: (() => mixed) | void,
5229
+ trackInteraction?:
5230
+ | ((args: {|
5231
+ type: string,
5232
+ id: string,
5233
+ correct?: boolean | void,
5234
+ |}) => void)
5235
+ | void,
4972
5236
  customKeypad?: boolean | void,
4973
5237
  nativeKeypadProxy?: (() => mixed) | void,
4974
5238
  isMobile?: boolean | void,
@@ -5072,7 +5336,13 @@ declare var InteractiveGraph: {|
5072
5336
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
5073
5337
  ) => React.Node)
5074
5338
  | void,
5075
- trackInteraction?: (() => mixed) | void,
5339
+ trackInteraction?:
5340
+ | ((args: {|
5341
+ type: string,
5342
+ id: string,
5343
+ correct?: boolean | void,
5344
+ |}) => void)
5345
+ | void,
5076
5346
  customKeypad?: boolean | void,
5077
5347
  nativeKeypadProxy?: (() => mixed) | void,
5078
5348
  isMobile?: boolean | void,
@@ -5181,7 +5451,13 @@ declare var InteractiveGraph: {|
5181
5451
  dimensions: $Flowgen$Import$_2e__2e__2f__2e__2e__2f__2e__2e__2f_perseus_2f_src_2f_types.Dimensions
5182
5452
  ) => React.Node)
5183
5453
  | void,
5184
- trackInteraction?: (() => mixed) | void,
5454
+ trackInteraction?:
5455
+ | ((args: {|
5456
+ type: string,
5457
+ id: string,
5458
+ correct?: boolean | void,
5459
+ |}) => void)
5460
+ | void,
5185
5461
  customKeypad?: boolean | void,
5186
5462
  nativeKeypadProxy?: (() => mixed) | void,
5187
5463
  isMobile?: boolean | void,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "2.3.9",
6
+ "version": "2.3.10",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@khanacademy/kas": "^0.3.1",
25
25
  "@khanacademy/kmath": "^0.1.1",
26
- "@khanacademy/perseus": "^6.5.0"
26
+ "@khanacademy/perseus": "^6.5.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@khanacademy/wonder-blocks-button": "^4.0.8",