@khanacademy/perseus-editor 25.1.1 → 25.1.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/dist/es/index.js +14 -14
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/widgets/expression-editor.d.ts +2 -3
- package/dist/widgets/group-editor.d.ts +0 -2
- package/dist/widgets/interactive-graph-editor/interactive-graph-editor.d.ts +984 -62
- package/dist/widgets/matrix-editor.d.ts +1 -1
- package/dist/widgets/radio/editor.d.ts +1 -3
- package/dist/widgets/video-editor.d.ts +0 -1
- package/package.json +8 -8
|
@@ -12,7 +12,7 @@ declare class MatrixEditor extends React.Component<Props> {
|
|
|
12
12
|
};
|
|
13
13
|
static widgetName: "matrix";
|
|
14
14
|
static defaultProps: MatrixDefaultWidgetOptions;
|
|
15
|
-
change: (arg1: any, arg2
|
|
15
|
+
change: (arg1: any, arg2?: any, arg3?: any) => any;
|
|
16
16
|
onMatrixBoardSizeChange: (arg1: [number, number]) => void;
|
|
17
17
|
serialize: () => any;
|
|
18
18
|
render(): React.ReactNode;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Changeable } from "@khanacademy/perseus";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
import type { APIOptions } from "@khanacademy/perseus";
|
|
2
|
+
import type { APIOptions, Changeable } from "@khanacademy/perseus";
|
|
4
3
|
import type { PerseusRadioWidgetOptions, PerseusRadioChoice, RadioDefaultWidgetOptions } from "@khanacademy/perseus-core";
|
|
5
4
|
type RadioEditorProps = {
|
|
6
5
|
apiOptions: APIOptions;
|
|
@@ -15,7 +14,6 @@ type RadioEditorProps = {
|
|
|
15
14
|
declare class RadioEditor extends React.Component<RadioEditorProps> {
|
|
16
15
|
static widgetName: "radio";
|
|
17
16
|
static defaultProps: RadioDefaultWidgetOptions;
|
|
18
|
-
change: (...args: ReadonlyArray<unknown>) => any;
|
|
19
17
|
onMultipleSelectChange: (arg1: any) => any;
|
|
20
18
|
onCountChoicesChange: (arg1: any) => void;
|
|
21
19
|
onChange: (arg1: any) => void;
|
|
@@ -12,7 +12,6 @@ declare class VideoEditor extends React.Component<Props> {
|
|
|
12
12
|
static widgetName: "video";
|
|
13
13
|
static defaultProps: VideoDefaultWidgetOptions;
|
|
14
14
|
_handleUrlChange: (arg1: string) => void;
|
|
15
|
-
change: (arg1: any, arg2: any, arg3: any) => any;
|
|
16
15
|
serialize: () => any;
|
|
17
16
|
render(): React.ReactNode;
|
|
18
17
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "25.1.
|
|
6
|
+
"version": "25.1.2",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"mafs": "^0.19.0",
|
|
36
36
|
"tiny-invariant": "1.3.1",
|
|
37
37
|
"@khanacademy/kas": "2.0.9",
|
|
38
|
-
"@khanacademy/keypad-context": "3.0.
|
|
39
|
-
"@khanacademy/kmath": "2.0.
|
|
40
|
-
"@khanacademy/perseus-linter": "4.0.
|
|
41
|
-
"@khanacademy/math-input": "26.0.
|
|
42
|
-
"@khanacademy/perseus": "65.
|
|
43
|
-
"@khanacademy/perseus-core": "16.1.
|
|
44
|
-
"@khanacademy/perseus-score": "7.1.
|
|
38
|
+
"@khanacademy/keypad-context": "3.0.23",
|
|
39
|
+
"@khanacademy/kmath": "2.0.23",
|
|
40
|
+
"@khanacademy/perseus-linter": "4.0.10",
|
|
41
|
+
"@khanacademy/math-input": "26.0.12",
|
|
42
|
+
"@khanacademy/perseus": "65.4.0",
|
|
43
|
+
"@khanacademy/perseus-core": "16.1.1",
|
|
44
|
+
"@khanacademy/perseus-score": "7.1.10",
|
|
45
45
|
"@khanacademy/perseus-utils": "2.0.5",
|
|
46
46
|
"@khanacademy/pure-markdown": "2.0.9"
|
|
47
47
|
},
|