@khanacademy/perseus 23.1.0 → 23.4.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.css +8 -0
- package/dist/es/index.js +578 -320
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +593 -330
- package/dist/index.js.map +1 -1
- package/dist/perseus-api.d.ts +0 -1
- package/dist/perseus-types.d.ts +17 -9
- package/dist/server-item-renderer.d.ts +0 -1
- package/dist/types.d.ts +1 -1
- package/dist/util/geometry.d.ts +1 -0
- package/dist/widgets/expression.d.ts +0 -6
- package/dist/widgets/interactive-graphs/graphs/components/angle.d.ts +2 -1
- package/dist/widgets/interactive-graphs/graphs/components/css-cursor.d.ts +1 -0
- package/dist/widgets/interactive-graphs/graphs/components/movable-point-view.d.ts +2 -0
- package/dist/widgets/interactive-graphs/graphs/components/movable-point.d.ts +3 -0
- package/dist/widgets/interactive-graphs/graphs/index.d.ts +1 -0
- package/dist/widgets/interactive-graphs/graphs/linear-system.d.ts +5 -0
- package/dist/widgets/interactive-graphs/graphs/linear.d.ts +1 -1
- package/dist/widgets/interactive-graphs/graphs/quadratic.d.ts +1 -2
- package/dist/widgets/interactive-graphs/interactive-graph-question-builder.d.ts +6 -3
- package/dist/widgets/interactive-graphs/locked-ellipse.d.ts +4 -0
- package/dist/widgets/interactive-graphs/locked-vector.d.ts +4 -0
- package/dist/widgets/interactive-graphs/reducer/initialize-graph-state.d.ts +9 -0
- package/dist/widgets/interactive-graphs/reducer/interactive-graph-state.d.ts +2 -9
- package/dist/widgets/interactive-graphs/types.d.ts +9 -9
- package/dist/widgets/label-image.d.ts +0 -2
- package/package.json +3 -3
- package/dist/widgets/interactive-graphs/locked-circle.d.ts +0 -4
package/dist/perseus-api.d.ts
CHANGED
|
@@ -102,7 +102,6 @@ export declare const ApiOptions: {
|
|
|
102
102
|
"linear-system"?: boolean | undefined;
|
|
103
103
|
ray?: boolean | undefined;
|
|
104
104
|
} & {
|
|
105
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
106
105
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
107
106
|
}) | undefined;
|
|
108
107
|
} | undefined;
|
package/dist/perseus-types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Coord } from "./interactive2/types";
|
|
|
2
2
|
import type { Interval, vec } from "mafs";
|
|
3
3
|
export type Range = Interval;
|
|
4
4
|
export type Size = [number, number];
|
|
5
|
-
export type CollinearTuple =
|
|
5
|
+
export type CollinearTuple = [vec.Vector2, vec.Vector2];
|
|
6
6
|
export type ShowSolutions = "all" | "selected" | "none";
|
|
7
7
|
export type PerseusWidgetsMap = {
|
|
8
8
|
[key in `categorizer ${number}`]: CategorizerWidget;
|
|
@@ -349,7 +349,7 @@ export type PerseusInteractiveGraphWidgetOptions = {
|
|
|
349
349
|
declare const lockedFigureColorNames: readonly ["green", "grayH", "purple", "pink", "red"];
|
|
350
350
|
export type LockedFigureColor = (typeof lockedFigureColorNames)[number];
|
|
351
351
|
export declare const lockedFigureColors: Record<LockedFigureColor, string>;
|
|
352
|
-
export type LockedFigure = LockedPointType | LockedLineType |
|
|
352
|
+
export type LockedFigure = LockedPointType | LockedLineType | LockedEllipseType | LockedVectorType;
|
|
353
353
|
export type LockedFigureType = LockedFigure["type"];
|
|
354
354
|
export type LockedPointType = {
|
|
355
355
|
type: "point";
|
|
@@ -366,14 +366,22 @@ export type LockedLineType = {
|
|
|
366
366
|
showPoint1: boolean;
|
|
367
367
|
showPoint2: boolean;
|
|
368
368
|
};
|
|
369
|
-
export type
|
|
370
|
-
|
|
369
|
+
export type LockedEllipseFillType = "none" | "solid" | "translucent";
|
|
370
|
+
export declare const lockedEllipseFillStyles: Record<LockedEllipseFillType, number>;
|
|
371
|
+
export type LockedEllipseType = {
|
|
372
|
+
type: "ellipse";
|
|
371
373
|
center: Coord;
|
|
372
|
-
radius: number;
|
|
374
|
+
radius: [x: number, y: number];
|
|
375
|
+
angle: number;
|
|
373
376
|
color: LockedFigureColor;
|
|
374
|
-
fillStyle:
|
|
377
|
+
fillStyle: LockedEllipseFillType;
|
|
375
378
|
strokeStyle: "solid" | "dashed";
|
|
376
379
|
};
|
|
380
|
+
export type LockedVectorType = {
|
|
381
|
+
type: "vector";
|
|
382
|
+
points: [tail: Coord, tip: Coord];
|
|
383
|
+
color: LockedFigureColor;
|
|
384
|
+
};
|
|
377
385
|
export type PerseusGraphType = PerseusGraphTypeAngle | PerseusGraphTypeCircle | PerseusGraphTypeLinear | PerseusGraphTypeLinearSystem | PerseusGraphTypePoint | PerseusGraphTypePolygon | PerseusGraphTypeQuadratic | PerseusGraphTypeRay | PerseusGraphTypeSegment | PerseusGraphTypeSinusoid;
|
|
378
386
|
export type PerseusGraphTypeCommon = {
|
|
379
387
|
coord?: Coord;
|
|
@@ -398,7 +406,7 @@ export type PerseusGraphTypeLinear = {
|
|
|
398
406
|
} & PerseusGraphTypeCommon;
|
|
399
407
|
export type PerseusGraphTypeLinearSystem = {
|
|
400
408
|
type: "linear-system";
|
|
401
|
-
coords?:
|
|
409
|
+
coords?: CollinearTuple[];
|
|
402
410
|
} & PerseusGraphTypeCommon;
|
|
403
411
|
export type PerseusGraphTypePoint = {
|
|
404
412
|
type: "point";
|
|
@@ -410,7 +418,7 @@ export type PerseusGraphTypePolygon = {
|
|
|
410
418
|
numSides?: number | "unlimited";
|
|
411
419
|
showAngles?: boolean;
|
|
412
420
|
showSides?: boolean;
|
|
413
|
-
snapTo?:
|
|
421
|
+
snapTo?: "grid" | "angles" | "sides";
|
|
414
422
|
match?: "similar" | "congruent" | "approx";
|
|
415
423
|
coords?: ReadonlyArray<Coord>;
|
|
416
424
|
} & PerseusGraphTypeCommon;
|
|
@@ -421,7 +429,7 @@ export type PerseusGraphTypeQuadratic = {
|
|
|
421
429
|
export type PerseusGraphTypeSegment = {
|
|
422
430
|
type: "segment";
|
|
423
431
|
numSegments?: number;
|
|
424
|
-
coords?:
|
|
432
|
+
coords?: CollinearTuple[];
|
|
425
433
|
} & PerseusGraphTypeCommon;
|
|
426
434
|
export type PerseusGraphTypeSinusoid = {
|
|
427
435
|
type: "sinusoid";
|
|
@@ -149,7 +149,6 @@ declare const ref: React.ForwardRefExoticComponent<Omit<Pick<OwnProps & HOCProps
|
|
|
149
149
|
"linear-system"?: boolean | undefined;
|
|
150
150
|
ray?: boolean | undefined;
|
|
151
151
|
} & {
|
|
152
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
153
152
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
154
153
|
}) | undefined;
|
|
155
154
|
} | undefined;
|
package/dist/types.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ type TrackInteractionArgs = {
|
|
|
78
78
|
correct?: boolean;
|
|
79
79
|
} & Partial<TrackingGradedGroupExtraArguments> & Partial<TrackingSequenceExtraArguments>;
|
|
80
80
|
export declare const MafsGraphTypeFlags: readonly ["segment", "linear", "linear-system", "ray", "polygon", "circle", "quadratic", "sinusoid"];
|
|
81
|
-
export declare const InteractiveGraphLockedFeaturesFlags: readonly ["interactive-graph-locked-features-
|
|
81
|
+
export declare const InteractiveGraphLockedFeaturesFlags: readonly ["interactive-graph-locked-features-m2"];
|
|
82
82
|
/**
|
|
83
83
|
* APIOptions provides different ways to customize the behaviour of Perseus.
|
|
84
84
|
*
|
package/dist/util/geometry.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare function sign(val: number): 0 | 1 | -1;
|
|
|
14
14
|
export declare function ccw(a: Coord, b: Coord, c: Coord): number;
|
|
15
15
|
export declare function collinear(a: Coord, b: Coord, c: Coord): boolean;
|
|
16
16
|
export declare function intersects(ab: Line, cd: Line): boolean;
|
|
17
|
+
export declare function polygonSidesIntersect(vertices: Coord[]): boolean;
|
|
17
18
|
export declare function vector(a: any, b: any): number[];
|
|
18
19
|
export declare function reverseVector(vector: Coord): Coord;
|
|
19
20
|
export declare function clockwise(points: Coord[]): boolean;
|
|
@@ -143,7 +143,6 @@ declare const _default: Readonly<{
|
|
|
143
143
|
"linear-system"?: boolean | undefined;
|
|
144
144
|
ray?: boolean | undefined;
|
|
145
145
|
} & {
|
|
146
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
147
146
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
148
147
|
}) | undefined;
|
|
149
148
|
} | undefined;
|
|
@@ -220,7 +219,6 @@ declare const _default: Readonly<{
|
|
|
220
219
|
"linear-system"?: boolean | undefined;
|
|
221
220
|
ray?: boolean | undefined;
|
|
222
221
|
} & {
|
|
223
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
224
222
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
225
223
|
}) | undefined;
|
|
226
224
|
} | undefined;
|
|
@@ -297,7 +295,6 @@ declare const _default: Readonly<{
|
|
|
297
295
|
"linear-system"?: boolean | undefined;
|
|
298
296
|
ray?: boolean | undefined;
|
|
299
297
|
} & {
|
|
300
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
301
298
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
302
299
|
}) | undefined;
|
|
303
300
|
} | undefined;
|
|
@@ -371,7 +368,6 @@ declare const _default: Readonly<{
|
|
|
371
368
|
"linear-system"?: boolean | undefined;
|
|
372
369
|
ray?: boolean | undefined;
|
|
373
370
|
} & {
|
|
374
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
375
371
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
376
372
|
}) | undefined;
|
|
377
373
|
} | undefined;
|
|
@@ -448,7 +444,6 @@ declare const _default: Readonly<{
|
|
|
448
444
|
"linear-system"?: boolean | undefined;
|
|
449
445
|
ray?: boolean | undefined;
|
|
450
446
|
} & {
|
|
451
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
452
447
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
453
448
|
}) | undefined;
|
|
454
449
|
} | undefined;
|
|
@@ -525,7 +520,6 @@ declare const _default: Readonly<{
|
|
|
525
520
|
"linear-system"?: boolean | undefined;
|
|
526
521
|
ray?: boolean | undefined;
|
|
527
522
|
} & {
|
|
528
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
529
523
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
530
524
|
}) | undefined;
|
|
531
525
|
} | undefined;
|
|
@@ -9,8 +9,9 @@ interface Props {
|
|
|
9
9
|
active: boolean;
|
|
10
10
|
range: [Interval, Interval];
|
|
11
11
|
showAngles: boolean;
|
|
12
|
+
snapTo: "grid" | "angles" | "sides";
|
|
12
13
|
}
|
|
13
|
-
export declare const Angle: ({ centerPoint, endPoints, range, polygonLines, showAngles, }: Props) => JSX.Element | null;
|
|
14
|
+
export declare const Angle: ({ centerPoint, endPoints, range, polygonLines, showAngles, snapTo, }: Props) => JSX.Element | null;
|
|
14
15
|
/**
|
|
15
16
|
* Determines if an angle is an inside (false) or outside (true) angle.
|
|
16
17
|
* They way, we know to flip the `largeArc` and `sweepArc` flags.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CSSCursor = "move" | "ew-resize";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import type { CSSCursor } from "./css-cursor";
|
|
2
3
|
import type { vec } from "mafs";
|
|
3
4
|
type Props = {
|
|
4
5
|
point: vec.Vector2;
|
|
5
6
|
color?: string | undefined;
|
|
6
7
|
dragging: boolean;
|
|
7
8
|
focusBehavior: FocusBehaviorConfig;
|
|
9
|
+
cursor?: CSSCursor | undefined;
|
|
8
10
|
};
|
|
9
11
|
type FocusBehaviorConfig = {
|
|
10
12
|
type: "uncontrolled";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import type { CSSCursor } from "./css-cursor";
|
|
2
3
|
import type { vec } from "mafs";
|
|
3
4
|
type Props = {
|
|
4
5
|
point: vec.Vector2;
|
|
5
6
|
onMove: (newPoint: vec.Vector2) => unknown;
|
|
6
7
|
color?: string;
|
|
8
|
+
cursor?: CSSCursor | undefined;
|
|
9
|
+
snapTo?: "grid" | "angles" | "sides";
|
|
7
10
|
};
|
|
8
11
|
export declare const StyledMovablePoint: (props: Props) => JSX.Element;
|
|
9
12
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { MafsGraphProps, LinearSystemGraphState } from "../types";
|
|
3
|
+
type LinearSystemGraphProps = MafsGraphProps<LinearSystemGraphState>;
|
|
4
|
+
export declare const LinearSystemGraph: (props: LinearSystemGraphProps) => JSX.Element;
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { MafsGraphProps, LinearGraphState } from "../types";
|
|
3
3
|
type LinearGraphProps = MafsGraphProps<LinearGraphState>;
|
|
4
|
-
export declare const LinearGraph: (props: LinearGraphProps) => JSX.Element;
|
|
4
|
+
export declare const LinearGraph: (props: LinearGraphProps, key: number) => JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { QuadraticGraphState, MafsGraphProps } from "../types";
|
|
3
|
-
import type { vec } from "mafs";
|
|
4
3
|
type QuadraticGraphProps = MafsGraphProps<QuadraticGraphState>;
|
|
5
4
|
type QuadraticCoefficient = [number, number, number];
|
|
5
|
+
export type QuadraticCoords = QuadraticGraphState["coords"];
|
|
6
6
|
export declare function QuadraticGraph(props: QuadraticGraphProps): JSX.Element;
|
|
7
|
-
export declare const isValidDestination: (destination: vec.Vector2, elementId: number, coords: [import("../../..").Coord, import("../../..").Coord, import("../../..").Coord]) => boolean;
|
|
8
7
|
export declare const getQuadraticCoefficients: (coords: [import("../../..").Coord, import("../../..").Coord, import("../../..").Coord]) => QuadraticCoefficient | undefined;
|
|
9
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LockedFigureColor, PerseusRenderer } from "../../perseus-types";
|
|
1
|
+
import type { LockedEllipseFillType, LockedFigureColor, PerseusRenderer } from "../../perseus-types";
|
|
2
2
|
import type { vec } from "mafs";
|
|
3
3
|
export declare function interactiveGraphQuestionBuilder(): InteractiveGraphQuestionBuilder;
|
|
4
4
|
declare class InteractiveGraphQuestionBuilder {
|
|
@@ -21,13 +21,16 @@ declare class InteractiveGraphQuestionBuilder {
|
|
|
21
21
|
withTickStep(x: number, y: number): InteractiveGraphQuestionBuilder;
|
|
22
22
|
withSegments(numSegments: number): InteractiveGraphQuestionBuilder;
|
|
23
23
|
withCircle(): InteractiveGraphQuestionBuilder;
|
|
24
|
+
withPolygon(snapTo: "grid" | "angles" | "sides"): InteractiveGraphQuestionBuilder;
|
|
24
25
|
addLockedPointAt(x: number, y: number): InteractiveGraphQuestionBuilder;
|
|
25
26
|
addLockedLine(point1: vec.Vector2, point2: vec.Vector2): InteractiveGraphQuestionBuilder;
|
|
26
|
-
|
|
27
|
+
addLockedEllipse(center: vec.Vector2, radius: [x: number, y: number], options?: {
|
|
28
|
+
angle?: number;
|
|
27
29
|
color?: LockedFigureColor;
|
|
28
|
-
fillStyle?:
|
|
30
|
+
fillStyle?: LockedEllipseFillType;
|
|
29
31
|
strokeStyle?: "solid" | "dashed";
|
|
30
32
|
}): InteractiveGraphQuestionBuilder;
|
|
33
|
+
addLockedVector(tail: vec.Vector2, tip: vec.Vector2, color?: LockedFigureColor): InteractiveGraphQuestionBuilder;
|
|
31
34
|
private createLockedPoint;
|
|
32
35
|
private addLockedFigure;
|
|
33
36
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PerseusGraphType } from "../../../perseus-types";
|
|
2
|
+
import type { InteractiveGraphState } from "../types";
|
|
3
|
+
import type { Interval } from "mafs";
|
|
4
|
+
export declare function initializeGraphState(params: {
|
|
5
|
+
range: [x: Interval, y: Interval];
|
|
6
|
+
step: [x: number, y: number];
|
|
7
|
+
snapStep: [x: number, y: number];
|
|
8
|
+
graph: PerseusGraphType;
|
|
9
|
+
}): InteractiveGraphState;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
export type InitializeGraphStateParam = {
|
|
4
|
-
range: InteractiveGraphProps["range"];
|
|
5
|
-
step: InteractiveGraphProps["step"];
|
|
6
|
-
snapStep: InteractiveGraphProps["snapStep"];
|
|
7
|
-
graph: InteractiveGraphProps["graph"];
|
|
8
|
-
};
|
|
9
|
-
export declare function initializeGraphState(params: InitializeGraphStateParam): InteractiveGraphState;
|
|
1
|
+
import type { CircleGraphState, InteractiveGraphState } from "../types";
|
|
2
|
+
import type { PerseusGraphType } from "@khanacademy/perseus";
|
|
10
3
|
export declare function getGradableGraph(state: InteractiveGraphState, initialGraph: PerseusGraphType): PerseusGraphType;
|
|
11
4
|
/**
|
|
12
5
|
* determine radius of a circle graph
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InteractiveGraphAction } from "./reducer/interactive-graph-action";
|
|
2
|
-
import type {
|
|
2
|
+
import type { PerseusInteractiveGraphWidgetOptions } from "../../perseus-types";
|
|
3
3
|
import type { WidgetProps } from "../../types";
|
|
4
4
|
import type { Coord } from "@khanacademy/perseus";
|
|
5
5
|
import type { Interval, vec } from "mafs";
|
|
@@ -8,12 +8,7 @@ export type MafsGraphProps<T extends InteractiveGraphState> = {
|
|
|
8
8
|
graphState: T;
|
|
9
9
|
dispatch: (action: InteractiveGraphAction) => unknown;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
graph: T;
|
|
13
|
-
range: [Interval, Interval];
|
|
14
|
-
step: vec.Vector2;
|
|
15
|
-
}
|
|
16
|
-
export type InteractiveGraphState = SegmentGraphState | LinearGraphState | RayGraphState | PolygonGraphState | PointGraphState | CircleGraphState | QuadraticGraphState | SinusoidGraphState;
|
|
11
|
+
export type InteractiveGraphState = SegmentGraphState | LinearSystemGraphState | LinearGraphState | RayGraphState | PolygonGraphState | PointGraphState | CircleGraphState | QuadraticGraphState | SinusoidGraphState;
|
|
17
12
|
export interface InteractiveGraphStateCommon {
|
|
18
13
|
hasBeenInteractedWith: boolean;
|
|
19
14
|
range: [xRange: Interval, yRange: Interval];
|
|
@@ -24,7 +19,11 @@ export interface SegmentGraphState extends InteractiveGraphStateCommon {
|
|
|
24
19
|
coords: PairOfPoints[];
|
|
25
20
|
}
|
|
26
21
|
export interface LinearGraphState extends InteractiveGraphStateCommon {
|
|
27
|
-
type: "linear"
|
|
22
|
+
type: "linear";
|
|
23
|
+
coords: PairOfPoints;
|
|
24
|
+
}
|
|
25
|
+
export interface LinearSystemGraphState extends InteractiveGraphStateCommon {
|
|
26
|
+
type: "linear-system";
|
|
28
27
|
coords: PairOfPoints[];
|
|
29
28
|
}
|
|
30
29
|
export interface PointGraphState extends InteractiveGraphStateCommon {
|
|
@@ -33,12 +32,13 @@ export interface PointGraphState extends InteractiveGraphStateCommon {
|
|
|
33
32
|
}
|
|
34
33
|
export interface RayGraphState extends InteractiveGraphStateCommon {
|
|
35
34
|
type: "ray";
|
|
36
|
-
coords: PairOfPoints
|
|
35
|
+
coords: PairOfPoints;
|
|
37
36
|
}
|
|
38
37
|
export interface PolygonGraphState extends InteractiveGraphStateCommon {
|
|
39
38
|
type: "polygon";
|
|
40
39
|
showAngles: boolean;
|
|
41
40
|
showSides: boolean;
|
|
41
|
+
snapTo: "grid" | "angles" | "sides";
|
|
42
42
|
coords: Coord[];
|
|
43
43
|
}
|
|
44
44
|
export interface CircleGraphState extends InteractiveGraphStateCommon {
|
|
@@ -137,7 +137,6 @@ declare const _default: Readonly<{
|
|
|
137
137
|
"linear-system"?: boolean | undefined;
|
|
138
138
|
ray?: boolean | undefined;
|
|
139
139
|
} & {
|
|
140
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
141
140
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
142
141
|
}) | undefined;
|
|
143
142
|
} | undefined;
|
|
@@ -198,7 +197,6 @@ declare const _default: Readonly<{
|
|
|
198
197
|
"linear-system"?: boolean | undefined;
|
|
199
198
|
ray?: boolean | undefined;
|
|
200
199
|
} & {
|
|
201
|
-
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
202
200
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
203
201
|
}) | undefined;
|
|
204
202
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core Perseus API (includes renderers and widgets)",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "23.
|
|
6
|
+
"version": "23.4.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@khanacademy/wonder-blocks-core": "6.4.0",
|
|
56
56
|
"@khanacademy/wonder-blocks-data": "13.0.7",
|
|
57
57
|
"@khanacademy/wonder-blocks-dropdown": "5.3.0",
|
|
58
|
-
"@khanacademy/wonder-blocks-form": "4.
|
|
58
|
+
"@khanacademy/wonder-blocks-form": "^4.7.1",
|
|
59
59
|
"@khanacademy/wonder-blocks-icon": "4.1.0",
|
|
60
60
|
"@khanacademy/wonder-blocks-layout": "2.0.32",
|
|
61
61
|
"@khanacademy/wonder-blocks-link": "6.1.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@khanacademy/wonder-blocks-core": "6.4.0",
|
|
91
91
|
"@khanacademy/wonder-blocks-data": "13.0.7",
|
|
92
92
|
"@khanacademy/wonder-blocks-dropdown": "5.3.0",
|
|
93
|
-
"@khanacademy/wonder-blocks-form": "4.
|
|
93
|
+
"@khanacademy/wonder-blocks-form": "^4.7.1",
|
|
94
94
|
"@khanacademy/wonder-blocks-icon": "4.1.0",
|
|
95
95
|
"@khanacademy/wonder-blocks-layout": "2.0.32",
|
|
96
96
|
"@khanacademy/wonder-blocks-link": "6.1.1",
|