@khanacademy/perseus-core 26.2.0 → 26.3.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/data-schema.d.ts +1 -1
- package/dist/es/index.item-splitting.js +1 -1
- package/dist/es/index.item-splitting.js.map +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.item-splitting.js +1 -1
- package/dist/index.item-splitting.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/parse-perseus-json/perseus-parsers/interactive-graph-widget.d.ts +17 -17
- package/package.json +1 -1
|
@@ -302,18 +302,18 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
302
302
|
type: "label";
|
|
303
303
|
coord: [number, number];
|
|
304
304
|
text: string;
|
|
305
|
-
color: "blue" | "
|
|
305
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
306
306
|
size: "small" | "medium" | "large";
|
|
307
307
|
}> | import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
308
308
|
type: "point";
|
|
309
309
|
coord: [number, number];
|
|
310
|
-
color: "blue" | "
|
|
310
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
311
311
|
filled: boolean;
|
|
312
312
|
labels: import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
313
313
|
type: "label";
|
|
314
314
|
coord: [number, number];
|
|
315
315
|
text: string;
|
|
316
|
-
color: "blue" | "
|
|
316
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
317
317
|
size: "small" | "medium" | "large";
|
|
318
318
|
}>[];
|
|
319
319
|
ariaLabel: string | undefined;
|
|
@@ -323,31 +323,31 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
323
323
|
points: [import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
324
324
|
type: "point";
|
|
325
325
|
coord: [number, number];
|
|
326
|
-
color: "blue" | "
|
|
326
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
327
327
|
filled: boolean;
|
|
328
328
|
labels: import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
329
329
|
type: "label";
|
|
330
330
|
coord: [number, number];
|
|
331
331
|
text: string;
|
|
332
|
-
color: "blue" | "
|
|
332
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
333
333
|
size: "small" | "medium" | "large";
|
|
334
334
|
}>[];
|
|
335
335
|
ariaLabel: string | undefined;
|
|
336
336
|
}>, import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
337
337
|
type: "point";
|
|
338
338
|
coord: [number, number];
|
|
339
|
-
color: "blue" | "
|
|
339
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
340
340
|
filled: boolean;
|
|
341
341
|
labels: import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
342
342
|
type: "label";
|
|
343
343
|
coord: [number, number];
|
|
344
344
|
text: string;
|
|
345
|
-
color: "blue" | "
|
|
345
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
346
346
|
size: "small" | "medium" | "large";
|
|
347
347
|
}>[];
|
|
348
348
|
ariaLabel: string | undefined;
|
|
349
349
|
}>];
|
|
350
|
-
color: "blue" | "
|
|
350
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
351
351
|
lineStyle: "solid" | "dashed";
|
|
352
352
|
showPoint1: boolean;
|
|
353
353
|
showPoint2: boolean;
|
|
@@ -356,20 +356,20 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
356
356
|
type: "label";
|
|
357
357
|
coord: [number, number];
|
|
358
358
|
text: string;
|
|
359
|
-
color: "blue" | "
|
|
359
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
360
360
|
size: "small" | "medium" | "large";
|
|
361
361
|
}>[];
|
|
362
362
|
ariaLabel: string | undefined;
|
|
363
363
|
}> | import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
364
364
|
type: "vector";
|
|
365
365
|
points: [[number, number], [number, number]];
|
|
366
|
-
color: "blue" | "
|
|
366
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
367
367
|
weight: "thin" | "medium" | "thick";
|
|
368
368
|
labels: import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
369
369
|
type: "label";
|
|
370
370
|
coord: [number, number];
|
|
371
371
|
text: string;
|
|
372
|
-
color: "blue" | "
|
|
372
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
373
373
|
size: "small" | "medium" | "large";
|
|
374
374
|
}>[];
|
|
375
375
|
ariaLabel: string | undefined;
|
|
@@ -378,7 +378,7 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
378
378
|
center: [number, number];
|
|
379
379
|
radius: [number, number];
|
|
380
380
|
angle: number;
|
|
381
|
-
color: "blue" | "
|
|
381
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
382
382
|
fillStyle: "none" | "solid" | "white" | "translucent";
|
|
383
383
|
strokeStyle: "solid" | "dashed";
|
|
384
384
|
weight: "thin" | "medium" | "thick";
|
|
@@ -386,14 +386,14 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
386
386
|
type: "label";
|
|
387
387
|
coord: [number, number];
|
|
388
388
|
text: string;
|
|
389
|
-
color: "blue" | "
|
|
389
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
390
390
|
size: "small" | "medium" | "large";
|
|
391
391
|
}>[];
|
|
392
392
|
ariaLabel: string | undefined;
|
|
393
393
|
}> | import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
394
394
|
type: "polygon";
|
|
395
395
|
points: [number, number][];
|
|
396
|
-
color: "blue" | "
|
|
396
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
397
397
|
showVertices: boolean;
|
|
398
398
|
fillStyle: "none" | "solid" | "white" | "translucent";
|
|
399
399
|
strokeStyle: "solid" | "dashed";
|
|
@@ -402,13 +402,13 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
402
402
|
type: "label";
|
|
403
403
|
coord: [number, number];
|
|
404
404
|
text: string;
|
|
405
|
-
color: "blue" | "
|
|
405
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
406
406
|
size: "small" | "medium" | "large";
|
|
407
407
|
}>[];
|
|
408
408
|
ariaLabel: string | undefined;
|
|
409
409
|
}> | import("../general-purpose-parsers/object-types").OptionalizeProperties<{
|
|
410
410
|
type: "function";
|
|
411
|
-
color: "blue" | "
|
|
411
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
412
412
|
strokeStyle: "solid" | "dashed";
|
|
413
413
|
weight: "thin" | "medium" | "thick";
|
|
414
414
|
equation: string;
|
|
@@ -418,7 +418,7 @@ export declare const parseInteractiveGraphWidget: import("../parser-types").Pars
|
|
|
418
418
|
type: "label";
|
|
419
419
|
coord: [number, number];
|
|
420
420
|
text: string;
|
|
421
|
-
color: "blue" | "
|
|
421
|
+
color: "blue" | "gold" | "green" | "grayH" | "purple" | "pink" | "red";
|
|
422
422
|
size: "small" | "medium" | "large";
|
|
423
423
|
}>[];
|
|
424
424
|
ariaLabel: string | undefined;
|