@khanacademy/perseus-editor 2.9.0 → 2.10.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/CHANGELOG.md +20 -0
- package/dist/es/index.css +0 -8
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +0 -8
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +15 -13
- package/src/__stories__/editor.stories.tsx +2 -0
- package/src/styles/perseus-editor.less +0 -9
- package/tsconfig-build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.10.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -24,38 +24,40 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@khanacademy/kas": "^0.3.5",
|
|
26
26
|
"@khanacademy/kmath": "^0.1.6",
|
|
27
|
-
"@khanacademy/perseus": "^13.
|
|
27
|
+
"@khanacademy/perseus": "^13.2.0",
|
|
28
28
|
"@khanacademy/perseus-core": "1.3.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@khanacademy/wonder-blocks-button": "^
|
|
32
|
-
"@khanacademy/wonder-blocks-clickable": "^4.0.
|
|
33
|
-
"@khanacademy/wonder-blocks-color": "^
|
|
34
|
-
"@khanacademy/wonder-blocks-core": "^6.
|
|
31
|
+
"@khanacademy/wonder-blocks-button": "^6.2.2",
|
|
32
|
+
"@khanacademy/wonder-blocks-clickable": "^4.0.11",
|
|
33
|
+
"@khanacademy/wonder-blocks-color": "^3.0.0",
|
|
34
|
+
"@khanacademy/wonder-blocks-core": "^6.3.0",
|
|
35
35
|
"@khanacademy/wonder-blocks-i18n": "^2.0.2",
|
|
36
36
|
"@khanacademy/wonder-blocks-spacing": "^4.0.1",
|
|
37
|
-
"@khanacademy/wonder-blocks-typography": "^2.1.
|
|
37
|
+
"@khanacademy/wonder-blocks-typography": "^2.1.9",
|
|
38
38
|
"@khanacademy/wonder-stuff-core": "^1.5.1",
|
|
39
|
+
"@phosphor-icons/core": "^2.0.2",
|
|
39
40
|
"aphrodite": "^1.2.5",
|
|
40
41
|
"classnames": "^1.1.4",
|
|
41
42
|
"create-react-class": "^15.6.3",
|
|
42
43
|
"jquery": "^2.1.1",
|
|
43
44
|
"katex": "^0.11.1",
|
|
44
|
-
"perseus-build-settings": "^0.
|
|
45
|
+
"perseus-build-settings": "^0.3.0",
|
|
45
46
|
"prop-types": "^15.6.1",
|
|
46
47
|
"react": "16.14.0",
|
|
47
48
|
"react-dom": "16.14.0",
|
|
48
49
|
"underscore": "^1.4.4"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
|
-
"@khanacademy/wonder-blocks-button": "^
|
|
52
|
-
"@khanacademy/wonder-blocks-clickable": "^4.0.
|
|
53
|
-
"@khanacademy/wonder-blocks-color": "^
|
|
54
|
-
"@khanacademy/wonder-blocks-core": "^6.
|
|
52
|
+
"@khanacademy/wonder-blocks-button": "^6.2.2",
|
|
53
|
+
"@khanacademy/wonder-blocks-clickable": "^4.0.11",
|
|
54
|
+
"@khanacademy/wonder-blocks-color": "^3.0.0",
|
|
55
|
+
"@khanacademy/wonder-blocks-core": "^6.3.0",
|
|
55
56
|
"@khanacademy/wonder-blocks-i18n": "^2.0.2",
|
|
56
57
|
"@khanacademy/wonder-blocks-spacing": "^4.0.1",
|
|
57
|
-
"@khanacademy/wonder-blocks-typography": "^2.1.
|
|
58
|
+
"@khanacademy/wonder-blocks-typography": "^2.1.9",
|
|
58
59
|
"@khanacademy/wonder-stuff-core": "^1.5.1",
|
|
60
|
+
"@phosphor-icons/core": "^2.0.2",
|
|
59
61
|
"aphrodite": "^1.2.5",
|
|
60
62
|
"classnames": "^1.1.4",
|
|
61
63
|
"create-react-class": "^15.6.3",
|
|
@@ -11,6 +11,8 @@ import {registerAllWidgetsAndEditorsForTesting} from "../util/register-all-widge
|
|
|
11
11
|
|
|
12
12
|
import type {PerseusRenderer} from "@khanacademy/perseus";
|
|
13
13
|
|
|
14
|
+
import "../styles/perseus-editor.less";
|
|
15
|
+
|
|
14
16
|
registerAllWidgetsAndEditorsForTesting(); // SIDE_EFFECTY!!!! :cry:
|
|
15
17
|
|
|
16
18
|
export default {
|
|
@@ -279,15 +279,6 @@
|
|
|
279
279
|
|
|
280
280
|
// Question area styles
|
|
281
281
|
#problemarea {
|
|
282
|
-
/* Override the min-height property used for displaying the problem.
|
|
283
|
-
While editing, the size of the editor itself is a better constraint on
|
|
284
|
-
the size of the problemarea, and having a smaller problemarea is nicer
|
|
285
|
-
if it means it aligns better with the editor. */
|
|
286
|
-
min-height: 0;
|
|
287
|
-
|
|
288
|
-
// Force the hint width to take up the width of its containing viewport.
|
|
289
|
-
width: 100%;
|
|
290
|
-
|
|
291
282
|
#workarea {
|
|
292
283
|
margin: 0; // override ke
|
|
293
284
|
|