@khanacademy/perseus 24.1.0 → 24.2.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 +2 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/perseus-api.d.ts +1 -0
- package/dist/server-item-renderer.d.ts +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/widgets/expression.d.ts +6 -0
- package/dist/widgets/label-image.d.ts +2 -0
- package/package.json +1 -1
package/dist/perseus-api.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export declare const ApiOptions: {
|
|
|
96
96
|
circle?: boolean | undefined;
|
|
97
97
|
polygon?: boolean | undefined;
|
|
98
98
|
linear?: boolean | undefined;
|
|
99
|
+
point?: boolean | undefined;
|
|
99
100
|
quadratic?: boolean | undefined;
|
|
100
101
|
sinusoid?: boolean | undefined;
|
|
101
102
|
"linear-system"?: boolean | undefined;
|
|
@@ -143,6 +143,7 @@ declare const ref: React.ForwardRefExoticComponent<Omit<Pick<OwnProps & HOCProps
|
|
|
143
143
|
circle?: boolean | undefined;
|
|
144
144
|
polygon?: boolean | undefined;
|
|
145
145
|
linear?: boolean | undefined;
|
|
146
|
+
point?: boolean | undefined;
|
|
146
147
|
quadratic?: boolean | undefined;
|
|
147
148
|
sinusoid?: boolean | undefined;
|
|
148
149
|
"linear-system"?: boolean | undefined;
|
package/dist/types.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ type TrackInteractionArgs = {
|
|
|
77
77
|
id: string;
|
|
78
78
|
correct?: boolean;
|
|
79
79
|
} & Partial<TrackingGradedGroupExtraArguments> & Partial<TrackingSequenceExtraArguments>;
|
|
80
|
-
export declare const MafsGraphTypeFlags: readonly ["segment", "linear", "linear-system", "ray", "polygon", "circle", "quadratic", "sinusoid"];
|
|
80
|
+
export declare const MafsGraphTypeFlags: readonly ["segment", "linear", "linear-system", "ray", "polygon", "circle", "quadratic", "sinusoid", "point"];
|
|
81
81
|
export declare const InteractiveGraphLockedFeaturesFlags: readonly ["interactive-graph-locked-features-m2", "interactive-graph-locked-features-m2b"];
|
|
82
82
|
/**
|
|
83
83
|
* APIOptions provides different ways to customize the behaviour of Perseus.
|
|
@@ -137,6 +137,7 @@ declare const _default: Readonly<{
|
|
|
137
137
|
circle?: boolean | undefined;
|
|
138
138
|
polygon?: boolean | undefined;
|
|
139
139
|
linear?: boolean | undefined;
|
|
140
|
+
point?: boolean | undefined;
|
|
140
141
|
quadratic?: boolean | undefined;
|
|
141
142
|
sinusoid?: boolean | undefined;
|
|
142
143
|
"linear-system"?: boolean | undefined;
|
|
@@ -214,6 +215,7 @@ declare const _default: Readonly<{
|
|
|
214
215
|
circle?: boolean | undefined;
|
|
215
216
|
polygon?: boolean | undefined;
|
|
216
217
|
linear?: boolean | undefined;
|
|
218
|
+
point?: boolean | undefined;
|
|
217
219
|
quadratic?: boolean | undefined;
|
|
218
220
|
sinusoid?: boolean | undefined;
|
|
219
221
|
"linear-system"?: boolean | undefined;
|
|
@@ -291,6 +293,7 @@ declare const _default: Readonly<{
|
|
|
291
293
|
circle?: boolean | undefined;
|
|
292
294
|
polygon?: boolean | undefined;
|
|
293
295
|
linear?: boolean | undefined;
|
|
296
|
+
point?: boolean | undefined;
|
|
294
297
|
quadratic?: boolean | undefined;
|
|
295
298
|
sinusoid?: boolean | undefined;
|
|
296
299
|
"linear-system"?: boolean | undefined;
|
|
@@ -365,6 +368,7 @@ declare const _default: Readonly<{
|
|
|
365
368
|
circle?: boolean | undefined;
|
|
366
369
|
polygon?: boolean | undefined;
|
|
367
370
|
linear?: boolean | undefined;
|
|
371
|
+
point?: boolean | undefined;
|
|
368
372
|
quadratic?: boolean | undefined;
|
|
369
373
|
sinusoid?: boolean | undefined;
|
|
370
374
|
"linear-system"?: boolean | undefined;
|
|
@@ -442,6 +446,7 @@ declare const _default: Readonly<{
|
|
|
442
446
|
circle?: boolean | undefined;
|
|
443
447
|
polygon?: boolean | undefined;
|
|
444
448
|
linear?: boolean | undefined;
|
|
449
|
+
point?: boolean | undefined;
|
|
445
450
|
quadratic?: boolean | undefined;
|
|
446
451
|
sinusoid?: boolean | undefined;
|
|
447
452
|
"linear-system"?: boolean | undefined;
|
|
@@ -519,6 +524,7 @@ declare const _default: Readonly<{
|
|
|
519
524
|
circle?: boolean | undefined;
|
|
520
525
|
polygon?: boolean | undefined;
|
|
521
526
|
linear?: boolean | undefined;
|
|
527
|
+
point?: boolean | undefined;
|
|
522
528
|
quadratic?: boolean | undefined;
|
|
523
529
|
sinusoid?: boolean | undefined;
|
|
524
530
|
"linear-system"?: boolean | undefined;
|
|
@@ -131,6 +131,7 @@ declare const _default: Readonly<{
|
|
|
131
131
|
circle?: boolean | undefined;
|
|
132
132
|
polygon?: boolean | undefined;
|
|
133
133
|
linear?: boolean | undefined;
|
|
134
|
+
point?: boolean | undefined;
|
|
134
135
|
quadratic?: boolean | undefined;
|
|
135
136
|
sinusoid?: boolean | undefined;
|
|
136
137
|
"linear-system"?: boolean | undefined;
|
|
@@ -192,6 +193,7 @@ declare const _default: Readonly<{
|
|
|
192
193
|
circle?: boolean | undefined;
|
|
193
194
|
polygon?: boolean | undefined;
|
|
194
195
|
linear?: boolean | undefined;
|
|
196
|
+
point?: boolean | undefined;
|
|
195
197
|
quadratic?: boolean | undefined;
|
|
196
198
|
sinusoid?: boolean | undefined;
|
|
197
199
|
"linear-system"?: boolean | undefined;
|