@khanacademy/perseus 0.2.1 → 0.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/CHANGELOG.md +8 -0
- package/dist/es/index.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/mixins/provide-keypad.jsx +3 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"access": "public"
|
|
4
4
|
},
|
|
5
5
|
"name": "@khanacademy/perseus",
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.2",
|
|
7
7
|
"description": "Core Perseus API (includes renderers and widgets)",
|
|
8
8
|
"module": "dist/es/index.js",
|
|
9
9
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@khanacademy/kmath": "0.0.5",
|
|
16
|
-
"@khanacademy/math-input": "^0.5.
|
|
16
|
+
"@khanacademy/math-input": "^0.5.1",
|
|
17
17
|
"@khanacademy/kas": "^0.2.3",
|
|
18
18
|
"@khanacademy/simple-markdown": "^0.8.1",
|
|
19
19
|
"mathquill": "git+https://git@github.com/Khan/mathquill.git#a9ae54e057c5c1acc8244a5627acbff29901d992"
|
|
@@ -16,12 +16,14 @@ import PropTypes from "prop-types";
|
|
|
16
16
|
import * as React from "react";
|
|
17
17
|
import ReactDOM from "react-dom";
|
|
18
18
|
|
|
19
|
+
import type {CSSProperties} from "aphrodite";
|
|
20
|
+
|
|
19
21
|
export type KeypadProps = {|
|
|
20
22
|
// An Aphrodite style object, to be applied to the keypad container.
|
|
21
23
|
// Note that, given our awkward structure of injecting the keypad, this
|
|
22
24
|
// style won't be applied or updated dynamically. Rather, it will only
|
|
23
25
|
// be applied in `componentDidMount`.
|
|
24
|
-
keypadStyle?:
|
|
26
|
+
keypadStyle?: CSSProperties,
|
|
25
27
|
|};
|
|
26
28
|
|
|
27
29
|
export type KeypadApiOptions = {|
|