@khanacademy/perseus 57.2.0 → 57.2.2
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 +1 -2
- package/dist/es/index.js +71 -67
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +1 -2
- package/dist/index.js +71 -68
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graphs/graphs/components/movable-point-view.d.ts +0 -1
- package/dist/widgets/interactive-graphs/graphs/utils.d.ts +1 -1
- package/dist/widgets/interactive-graphs/locked-figures/utils.d.ts +1 -0
- package/package.json +12 -11
- package/dist/shared-utils/add-library-version-to-perseus-debug.d.ts +0 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { vec } from "mafs";
|
|
2
2
|
import type { PerseusStrings } from "../../../strings";
|
|
3
3
|
import type { PairOfPoints } from "../types";
|
|
4
|
-
import type { Coord } from "@khanacademy/perseus";
|
|
4
|
+
import type { Coord } from "@khanacademy/perseus-core";
|
|
5
5
|
import type { Interval } from "mafs";
|
|
6
6
|
/**
|
|
7
7
|
* Given a ray and a rectangular box, find the point where the ray intersects
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function clampDomain(domain: [number, number], graphBounds: [number, number]): [number, number] | null;
|
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": "57.2.
|
|
6
|
+
"version": "57.2.2",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -40,15 +40,16 @@
|
|
|
40
40
|
"@use-gesture/react": "^10.2.27",
|
|
41
41
|
"mafs": "0.19.0",
|
|
42
42
|
"uuid": "^10.0.0",
|
|
43
|
-
"@khanacademy/kas": "0.5.
|
|
44
|
-
"@khanacademy/keypad-context": "1.1.
|
|
45
|
-
"@khanacademy/kmath": "0.4.
|
|
46
|
-
"@khanacademy/math-input": "23.0.
|
|
47
|
-
"@khanacademy/perseus-core": "5.4.
|
|
48
|
-
"@khanacademy/perseus-linter": "1.3.
|
|
49
|
-
"@khanacademy/perseus-score": "2.3.
|
|
50
|
-
"@khanacademy/
|
|
51
|
-
"@khanacademy/
|
|
43
|
+
"@khanacademy/kas": "0.5.1",
|
|
44
|
+
"@khanacademy/keypad-context": "1.1.7",
|
|
45
|
+
"@khanacademy/kmath": "0.4.7",
|
|
46
|
+
"@khanacademy/math-input": "23.0.6",
|
|
47
|
+
"@khanacademy/perseus-core": "5.4.2",
|
|
48
|
+
"@khanacademy/perseus-linter": "1.3.7",
|
|
49
|
+
"@khanacademy/perseus-score": "2.3.7",
|
|
50
|
+
"@khanacademy/perseus-utils": "0.0.2",
|
|
51
|
+
"@khanacademy/pure-markdown": "0.4.1",
|
|
52
|
+
"@khanacademy/simple-markdown": "0.14.1"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@khanacademy/wonder-blocks-banner": "4.1.2",
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"react-dom": "^18.2.0",
|
|
84
85
|
"react-popper": "^2.2.5",
|
|
85
86
|
"underscore": "^1.4.4",
|
|
86
|
-
"perseus-build-settings": "0.5.
|
|
87
|
+
"perseus-build-settings": "0.5.1"
|
|
87
88
|
},
|
|
88
89
|
"peerDependencies": {
|
|
89
90
|
"@khanacademy/wonder-blocks-banner": "4.1.2",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds the given perseus library version information to the __perseus_debug__
|
|
3
|
-
* object and ensures that the object is attached to `globalThis` (`window` in
|
|
4
|
-
* browser environments).
|
|
5
|
-
*
|
|
6
|
-
* This allows each library to provide runtime version information to assist in
|
|
7
|
-
* debugging in production environments.
|
|
8
|
-
*/
|
|
9
|
-
export declare const addLibraryVersionToPerseusDebug: (libraryName: string, libraryVersion: string) => void;
|