@khanacademy/perseus-editor 0.3.8 → 0.3.9
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 +7 -0
- package/dist/es/index.js +3 -3
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/diffs/structured-item-diff.jsx +3 -3
- package/src/widgets/graded-group-set-editor.jsx +1 -1
- package/src/widgets/label-image/question-markers.jsx +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": "0.3.
|
|
6
|
+
"version": "0.3.9",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@khanacademy/kmath": "^0.0.5",
|
|
25
|
-
"@khanacademy/perseus": "^0.3.
|
|
25
|
+
"@khanacademy/perseus": "^0.3.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@khanacademy/wonder-blocks-button": "^2.11.5",
|
|
@@ -86,11 +86,11 @@ class StructuredItemDiff extends React.Component<Props> {
|
|
|
86
86
|
* from buildMapper(), is the same order they appear in in the shape.
|
|
87
87
|
*/
|
|
88
88
|
static generateCompletePathsList(
|
|
89
|
-
// eslint-disable-next-line
|
|
89
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
90
90
|
beforeList: Array<ItemList>,
|
|
91
|
-
// eslint-disable-next-line
|
|
91
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
92
92
|
afterList: Array<ItemList>,
|
|
93
|
-
// eslint-disable-next-line
|
|
93
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
94
94
|
result: Array<Path>,
|
|
95
95
|
shape: Shape,
|
|
96
96
|
path: $ReadOnlyArray<any>,
|
|
@@ -10,7 +10,7 @@ import GradedGroupEditor from "./graded-group-editor.jsx";
|
|
|
10
10
|
type Props = $FlowFixMe;
|
|
11
11
|
|
|
12
12
|
class GradedGroupSetEditor extends React.Component<Props> {
|
|
13
|
-
// eslint-disable-next-line
|
|
13
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
14
14
|
_editors: Array<$FlowFixMe>;
|
|
15
15
|
|
|
16
16
|
static propTypes = {
|
|
@@ -31,7 +31,7 @@ type QuestionMarkersProps = {|
|
|
|
31
31
|
|};
|
|
32
32
|
|
|
33
33
|
export default class QuestionMarkers extends React.Component<QuestionMarkersProps> {
|
|
34
|
-
// eslint-disable-next-line
|
|
34
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
35
35
|
_markers: Array<?Marker> = [];
|
|
36
36
|
|
|
37
37
|
openDropdownForMarkerIndices(indices: $ReadOnlyArray<number>) {
|