@khanacademy/perseus 4.0.0 → 4.0.1
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/CHANGELOG.md +16 -0
- package/dist/es/index.js +7931 -8082
- package/dist/es/index.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/util/interactive.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- /package/dist/{strings → strings.js} +0 -0
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": "4.0.
|
|
6
|
+
"version": "4.0.1",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@khanacademy/kas": "^0.3.
|
|
25
|
-
"@khanacademy/kmath": "^0.1.
|
|
26
|
-
"@khanacademy/math-input": "^0.7.
|
|
27
|
-
"@khanacademy/perseus-linter": "^0.3.
|
|
28
|
-
"@khanacademy/pure-markdown": "^0.2.
|
|
29
|
-
"@khanacademy/simple-markdown": "^0.9.
|
|
24
|
+
"@khanacademy/kas": "^0.3.1",
|
|
25
|
+
"@khanacademy/kmath": "^0.1.1",
|
|
26
|
+
"@khanacademy/math-input": "^0.7.1",
|
|
27
|
+
"@khanacademy/perseus-linter": "^0.3.1",
|
|
28
|
+
"@khanacademy/pure-markdown": "^0.2.1",
|
|
29
|
+
"@khanacademy/simple-markdown": "^0.9.1",
|
|
30
30
|
"mathquill": "git+https://git@github.com/Khan/mathquill.git#a9ae54e057c5c1acc8244a5627acbff29901d992"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"jquery": "^2.1.1",
|
|
57
57
|
"katex": "^0.11.1",
|
|
58
58
|
"lodash.debounce": "^4.0.8",
|
|
59
|
-
"perseus-build-settings": "^0.0
|
|
59
|
+
"perseus-build-settings": "^0.1.0",
|
|
60
60
|
"prop-types": "^15.6.1",
|
|
61
61
|
"react": "16.14.0",
|
|
62
62
|
"react-dom": "16.14.0",
|
package/src/util/interactive.ts
CHANGED
|
@@ -2591,7 +2591,7 @@ _.extend(GraphUtils.Graphie.prototype, {
|
|
|
2591
2591
|
// and maximum angle values bounding a circle sector, and
|
|
2592
2592
|
// the third column refers to the cursor name that will be
|
|
2593
2593
|
// applied if the mouse position falls inside the given sector.
|
|
2594
|
-
const cursorAxes = [
|
|
2594
|
+
const cursorAxes: Array<[number, number, string]> = [
|
|
2595
2595
|
[Math.PI * -1.0, Math.PI * -0.875, "ew-resize"],
|
|
2596
2596
|
[Math.PI * -0.875, Math.PI * -0.625, "nesw-resize"],
|
|
2597
2597
|
[Math.PI * -0.625, Math.PI * -0.375, "ns-resize"],
|