@khanacademy/perseus 71.3.2 → 71.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 +2 -2
- package/dist/es/index.css.map +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/widgets/definition/definition.d.ts +1 -1
- package/dist/widgets/interactive-graphs/graphs/sinusoid.d.ts +2 -1
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { PerseusI18nContext } from "../../components/i18n-context";
|
|
3
3
|
import type { Widget, WidgetProps } from "../../types";
|
|
4
4
|
import type { DefinitionPromptJSON } from "../../widget-ai-utils/definition/definition-ai-utils";
|
|
5
|
-
import type {
|
|
5
|
+
import type { PerseusDefinitionWidgetOptions, PerseusRenderer } from "@khanacademy/perseus-core";
|
|
6
6
|
type DefinitionProps = WidgetProps<PerseusDefinitionWidgetOptions> & {
|
|
7
7
|
widgets: PerseusRenderer["widgets"];
|
|
8
8
|
};
|
|
@@ -10,5 +10,6 @@ export declare const getSinusoidKeyboardConstraint: (coords: ReadonlyArray<Coord
|
|
|
10
10
|
left: vec.Vector2;
|
|
11
11
|
right: vec.Vector2;
|
|
12
12
|
};
|
|
13
|
-
export declare const computeSine: (x: number,
|
|
13
|
+
export declare const computeSine: (x: number, // x-coordinate
|
|
14
|
+
sinusoidCoefficients: NamedSineCoefficient) => number;
|
|
14
15
|
export declare const getSinusoidCoefficients: (coords: ReadonlyArray<Coord>) => NamedSineCoefficient | 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": "71.
|
|
6
|
+
"version": "71.4.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"tiny-invariant": "1.3.1",
|
|
43
43
|
"uuid": "^10.0.0",
|
|
44
44
|
"@khanacademy/kas": "2.1.3",
|
|
45
|
-
"@khanacademy/keypad-context": "3.2.
|
|
46
|
-
"@khanacademy/kmath": "2.2.
|
|
47
|
-
"@khanacademy/math-input": "26.2.
|
|
48
|
-
"@khanacademy/perseus-core": "20.1.
|
|
49
|
-
"@khanacademy/perseus-linter": "4.4.
|
|
50
|
-
"@khanacademy/perseus-score": "8.0.
|
|
45
|
+
"@khanacademy/keypad-context": "3.2.14",
|
|
46
|
+
"@khanacademy/kmath": "2.2.14",
|
|
47
|
+
"@khanacademy/math-input": "26.2.15",
|
|
48
|
+
"@khanacademy/perseus-core": "20.1.2",
|
|
49
|
+
"@khanacademy/perseus-linter": "4.4.4",
|
|
50
|
+
"@khanacademy/perseus-score": "8.0.3",
|
|
51
51
|
"@khanacademy/perseus-utils": "2.1.1",
|
|
52
52
|
"@khanacademy/pure-markdown": "2.2.1",
|
|
53
53
|
"@khanacademy/simple-markdown": "2.1.1"
|