@khanacademy/perseus 0.2.2 → 0.2.5
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 +21 -0
- package/dist/es/index.js +55936 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +55862 -2
- package/dist/index.js.map +1 -1
- package/package.json +17 -9
- package/src/index.js +1 -0
- package/src/types.js +1 -13
package/package.json
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "@khanacademy/perseus",
|
|
3
|
+
"description": "Core Perseus API (includes renderers and widgets)",
|
|
4
|
+
"author": "Khan Academy",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"version": "0.2.5",
|
|
2
7
|
"publishConfig": {
|
|
3
8
|
"access": "public"
|
|
4
9
|
},
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/Khan/perseus.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/Khan/perseus/issues"
|
|
16
|
+
},
|
|
8
17
|
"module": "dist/es/index.js",
|
|
9
18
|
"main": "dist/index.js",
|
|
10
19
|
"source": "src/index.js",
|
|
@@ -13,9 +22,9 @@
|
|
|
13
22
|
},
|
|
14
23
|
"dependencies": {
|
|
15
24
|
"@khanacademy/kmath": "0.0.5",
|
|
16
|
-
"@khanacademy/math-input": "^0.5.
|
|
17
|
-
"@khanacademy/kas": "^0.2.
|
|
18
|
-
"@khanacademy/simple-markdown": "^0.8.
|
|
25
|
+
"@khanacademy/math-input": "^0.5.2",
|
|
26
|
+
"@khanacademy/kas": "^0.2.4",
|
|
27
|
+
"@khanacademy/simple-markdown": "^0.8.2",
|
|
19
28
|
"mathquill": "git+https://git@github.com/Khan/mathquill.git#a9ae54e057c5c1acc8244a5627acbff29901d992"
|
|
20
29
|
},
|
|
21
30
|
"devDependencies": {
|
|
@@ -41,7 +50,7 @@
|
|
|
41
50
|
"intersection-observer": "^0.12.0",
|
|
42
51
|
"jquery": "^2.1.1",
|
|
43
52
|
"lodash.debounce": "^4.0.8",
|
|
44
|
-
"perseus-build-settings": "^0.0.
|
|
53
|
+
"perseus-build-settings": "^0.0.2",
|
|
45
54
|
"prop-types": "^15.6.1",
|
|
46
55
|
"react": "16.14.0",
|
|
47
56
|
"react-dom": "16.14.0",
|
|
@@ -73,6 +82,5 @@
|
|
|
73
82
|
"react-dom": "16.14.0",
|
|
74
83
|
"underscore": "^1.4.4"
|
|
75
84
|
},
|
|
76
|
-
"
|
|
77
|
-
"license": "MIT"
|
|
85
|
+
"keywords": []
|
|
78
86
|
}
|
package/src/index.js
CHANGED
package/src/types.js
CHANGED
|
@@ -333,7 +333,7 @@ export type JiptTranslationComponents = {|
|
|
|
333
333
|
removeComponentAtIndex: (index: number) => void,
|
|
334
334
|
|};
|
|
335
335
|
|
|
336
|
-
type VideoData = {|
|
|
336
|
+
export type VideoData = {|
|
|
337
337
|
__typename: "Video",
|
|
338
338
|
id: string,
|
|
339
339
|
title: ?string,
|
|
@@ -356,19 +356,7 @@ interface StaticUrlFn {
|
|
|
356
356
|
type InitialRequestUrlInterface = {|
|
|
357
357
|
origin: string,
|
|
358
358
|
host: string,
|
|
359
|
-
hostname: string,
|
|
360
359
|
protocol: string,
|
|
361
|
-
port: string,
|
|
362
|
-
configParams: {|
|
|
363
|
-
curriculum: string,
|
|
364
|
-
country: string,
|
|
365
|
-
embedded: string,
|
|
366
|
-
lang: string,
|
|
367
|
-
preview: string,
|
|
368
|
-
publish_commit: string,
|
|
369
|
-
region: string,
|
|
370
|
-
schemaMode: ?any,
|
|
371
|
-
|},
|
|
372
360
|
|};
|
|
373
361
|
|
|
374
362
|
// An object for dependency injection, to allow different clients
|