@khanacademy/perseus 87.1.4 → 87.2.1
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/components/image-loader.d.ts +1 -1
- package/dist/es/index.css +1 -1
- package/dist/es/index.css.map +1 -1
- package/dist/es/index.js +10 -8
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/util/widget-enum-utils.d.ts +1 -1
- package/dist/widgets/fill-in-the-blank/fill-in-the-blank.d.ts +12 -0
- package/dist/widgets/fill-in-the-blank/index.d.ts +1 -0
- package/package.json +32 -32
package/dist/types.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import type $ from "jquery";
|
|
|
8
8
|
import type * as React from "react";
|
|
9
9
|
export type FocusPath = ReadonlyArray<string> | null | undefined;
|
|
10
10
|
export type Dimensions = {
|
|
11
|
-
width
|
|
12
|
-
height
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
13
|
};
|
|
14
14
|
export type DeviceType = "phone" | "tablet" | "desktop";
|
|
15
15
|
/**
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* PerseusWidgetUsedInProblemAttempt CEDAR event, we needed
|
|
5
5
|
* to: get the type and convert that to an enum value.
|
|
6
6
|
*/
|
|
7
|
-
type WidgetEnum = "BLANK" | "CATEGORIZER" | "CS_PROGRAM" | "DEFINITION" | "DEPRECATED_STANDIN" | "DROPDOWN" | "EXPLANATION" | "EXPRESSION" | "FREE_RESPONSE" | "GRADED_GROUP" | "GRADED_GROUP_SET" | "GRAPHER" | "GROUP" | "IFRAME" | "IMAGE" | "INPUT_NUMBER" | "INTERACTIVE" | "INTERACTIVE_GRAPH" | "LABEL_IMAGE" | "LIGHTS_PUZZLE" | "MATCHER" | "MATRIX" | "MEASURER" | "MOLECULE" | "NUMBER_LINE" | "NUMERIC_INPUT" | "ORDERER" | "PASSAGE" | "PASSAGE_REF" | "PASSAGE_REF_TARGET" | "PHET_SIMULATION" | "PLOTTER" | "PYTHON_PROGRAM" | "REACTION_DIAGRAM" | "RADIO" | "SEQUENCE" | "SIMULATOR" | "SORTER" | "TABLE" | "UNIT" | "VIDEO";
|
|
7
|
+
type WidgetEnum = "BLANK" | "CATEGORIZER" | "CS_PROGRAM" | "DEFINITION" | "DEPRECATED_STANDIN" | "DROPDOWN" | "EXPLANATION" | "EXPRESSION" | "FILL_IN_THE_BLANK" | "FREE_RESPONSE" | "GRADED_GROUP" | "GRADED_GROUP_SET" | "GRAPHER" | "GROUP" | "IFRAME" | "IMAGE" | "INPUT_NUMBER" | "INTERACTIVE" | "INTERACTIVE_GRAPH" | "LABEL_IMAGE" | "LIGHTS_PUZZLE" | "MATCHER" | "MATRIX" | "MEASURER" | "MOLECULE" | "NUMBER_LINE" | "NUMERIC_INPUT" | "ORDERER" | "PASSAGE" | "PASSAGE_REF" | "PASSAGE_REF_TARGET" | "PHET_SIMULATION" | "PLOTTER" | "PYTHON_PROGRAM" | "REACTION_DIAGRAM" | "RADIO" | "SEQUENCE" | "SIMULATOR" | "SORTER" | "TABLE" | "UNIT" | "VIDEO";
|
|
8
8
|
export declare function convertWidgetNameToEnum(name: string): WidgetEnum;
|
|
9
9
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { WidgetProps, Widget } from "../../types";
|
|
3
|
+
import type { PerseusFillInTheBlankWidgetOptions } from "@khanacademy/perseus-core";
|
|
4
|
+
type FillInTheBlankProps = WidgetProps<PerseusFillInTheBlankWidgetOptions>;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
name: string;
|
|
7
|
+
displayName: string;
|
|
8
|
+
widget: React.ForwardRefExoticComponent<FillInTheBlankProps & React.RefAttributes<Widget>>;
|
|
9
|
+
isLintable: false;
|
|
10
|
+
hidden: true;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./fill-in-the-blank";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core Perseus API (includes renderers and widgets)",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "87.1
|
|
6
|
+
"version": "87.2.1",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -46,38 +46,38 @@
|
|
|
46
46
|
"tiny-invariant": "1.3.1",
|
|
47
47
|
"uuid": "^10.0.0",
|
|
48
48
|
"@khanacademy/kas": "2.2.6",
|
|
49
|
-
"@khanacademy/keypad-context": "3.2.
|
|
50
|
-
"@khanacademy/kmath": "2.4.
|
|
51
|
-
"@khanacademy/math-input": "27.0.
|
|
52
|
-
"@khanacademy/perseus-core": "39.1
|
|
53
|
-
"@khanacademy/perseus-linter": "5.4.
|
|
54
|
-
"@khanacademy/perseus-score": "8.12.
|
|
49
|
+
"@khanacademy/keypad-context": "3.2.93",
|
|
50
|
+
"@khanacademy/kmath": "2.4.52",
|
|
51
|
+
"@khanacademy/math-input": "27.0.17",
|
|
52
|
+
"@khanacademy/perseus-core": "39.2.1",
|
|
53
|
+
"@khanacademy/perseus-linter": "5.4.2",
|
|
54
|
+
"@khanacademy/perseus-score": "8.12.25",
|
|
55
55
|
"@khanacademy/perseus-utils": "2.1.5",
|
|
56
56
|
"@khanacademy/pure-markdown": "2.3.2",
|
|
57
57
|
"@khanacademy/simple-markdown": "3.0.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@khanacademy/wonder-blocks-announcer": "1.1.2",
|
|
61
|
-
"@khanacademy/wonder-blocks-banner": "5.1.
|
|
62
|
-
"@khanacademy/wonder-blocks-button": "11.7.
|
|
63
|
-
"@khanacademy/wonder-blocks-clickable": "8.3.
|
|
61
|
+
"@khanacademy/wonder-blocks-banner": "5.1.16",
|
|
62
|
+
"@khanacademy/wonder-blocks-button": "11.7.12",
|
|
63
|
+
"@khanacademy/wonder-blocks-clickable": "8.3.1",
|
|
64
64
|
"@khanacademy/wonder-blocks-core": "12.5.0",
|
|
65
65
|
"@khanacademy/wonder-blocks-data": "15.1.0",
|
|
66
|
-
"@khanacademy/wonder-blocks-dropdown": "10.12.
|
|
67
|
-
"@khanacademy/wonder-blocks-form": "7.6.
|
|
66
|
+
"@khanacademy/wonder-blocks-dropdown": "10.12.6",
|
|
67
|
+
"@khanacademy/wonder-blocks-form": "7.6.15",
|
|
68
68
|
"@khanacademy/wonder-blocks-icon": "6.0.2",
|
|
69
|
-
"@khanacademy/wonder-blocks-icon-button": "12.0.
|
|
69
|
+
"@khanacademy/wonder-blocks-icon-button": "12.0.1",
|
|
70
70
|
"@khanacademy/wonder-blocks-labeled-field": "4.1.11",
|
|
71
71
|
"@khanacademy/wonder-blocks-layout": "3.1.62",
|
|
72
|
-
"@khanacademy/wonder-blocks-link": "10.4.
|
|
73
|
-
"@khanacademy/wonder-blocks-modal": "8.8.
|
|
74
|
-
"@khanacademy/wonder-blocks-pill": "3.1.
|
|
75
|
-
"@khanacademy/wonder-blocks-popover": "6.3.
|
|
72
|
+
"@khanacademy/wonder-blocks-link": "10.4.1",
|
|
73
|
+
"@khanacademy/wonder-blocks-modal": "8.8.4",
|
|
74
|
+
"@khanacademy/wonder-blocks-pill": "3.1.78",
|
|
75
|
+
"@khanacademy/wonder-blocks-popover": "6.3.18",
|
|
76
76
|
"@khanacademy/wonder-blocks-progress-spinner": "3.1.62",
|
|
77
|
-
"@khanacademy/wonder-blocks-switch": "3.4.
|
|
77
|
+
"@khanacademy/wonder-blocks-switch": "3.4.14",
|
|
78
78
|
"@khanacademy/wonder-blocks-timing": "7.1.0",
|
|
79
79
|
"@khanacademy/wonder-blocks-tokens": "18.0.0",
|
|
80
|
-
"@khanacademy/wonder-blocks-tooltip": "4.2.
|
|
80
|
+
"@khanacademy/wonder-blocks-tooltip": "4.2.7",
|
|
81
81
|
"@khanacademy/wonder-blocks-typography": "5.0.5",
|
|
82
82
|
"@khanacademy/wonder-stuff-core": "3.0.0",
|
|
83
83
|
"@phosphor-icons/core": "2.0.2",
|
|
@@ -94,26 +94,26 @@
|
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"@khanacademy/wonder-blocks-announcer": "^1.1.2",
|
|
97
|
-
"@khanacademy/wonder-blocks-banner": "^5.1.
|
|
98
|
-
"@khanacademy/wonder-blocks-button": "^11.7.
|
|
99
|
-
"@khanacademy/wonder-blocks-clickable": "^8.3.
|
|
97
|
+
"@khanacademy/wonder-blocks-banner": "^5.1.16",
|
|
98
|
+
"@khanacademy/wonder-blocks-button": "^11.7.12",
|
|
99
|
+
"@khanacademy/wonder-blocks-clickable": "^8.3.1",
|
|
100
100
|
"@khanacademy/wonder-blocks-core": "^12.5.0",
|
|
101
101
|
"@khanacademy/wonder-blocks-data": "^15.1.0",
|
|
102
|
-
"@khanacademy/wonder-blocks-dropdown": "^10.12.
|
|
103
|
-
"@khanacademy/wonder-blocks-form": "^7.6.
|
|
102
|
+
"@khanacademy/wonder-blocks-dropdown": "^10.12.6",
|
|
103
|
+
"@khanacademy/wonder-blocks-form": "^7.6.15",
|
|
104
104
|
"@khanacademy/wonder-blocks-icon": "^6.0.2",
|
|
105
|
-
"@khanacademy/wonder-blocks-icon-button": "^12.0.
|
|
105
|
+
"@khanacademy/wonder-blocks-icon-button": "^12.0.1",
|
|
106
106
|
"@khanacademy/wonder-blocks-labeled-field": "^4.1.11",
|
|
107
107
|
"@khanacademy/wonder-blocks-layout": "^3.1.62",
|
|
108
|
-
"@khanacademy/wonder-blocks-link": "^10.4.
|
|
109
|
-
"@khanacademy/wonder-blocks-modal": "^8.8.
|
|
110
|
-
"@khanacademy/wonder-blocks-pill": "^3.1.
|
|
111
|
-
"@khanacademy/wonder-blocks-popover": "^6.3.
|
|
108
|
+
"@khanacademy/wonder-blocks-link": "^10.4.1",
|
|
109
|
+
"@khanacademy/wonder-blocks-modal": "^8.8.4",
|
|
110
|
+
"@khanacademy/wonder-blocks-pill": "^3.1.78",
|
|
111
|
+
"@khanacademy/wonder-blocks-popover": "^6.3.18",
|
|
112
112
|
"@khanacademy/wonder-blocks-progress-spinner": "^3.1.62",
|
|
113
|
-
"@khanacademy/wonder-blocks-switch": "^3.4.
|
|
113
|
+
"@khanacademy/wonder-blocks-switch": "^3.4.14",
|
|
114
114
|
"@khanacademy/wonder-blocks-timing": "^7.1.0",
|
|
115
115
|
"@khanacademy/wonder-blocks-tokens": "^18.0.0",
|
|
116
|
-
"@khanacademy/wonder-blocks-tooltip": "^4.2.
|
|
116
|
+
"@khanacademy/wonder-blocks-tooltip": "^4.2.7",
|
|
117
117
|
"@khanacademy/wonder-blocks-typography": "^5.0.5",
|
|
118
118
|
"@khanacademy/wonder-stuff-core": "^3.0.0",
|
|
119
119
|
"@phosphor-icons/core": "^2.0.2",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
},
|
|
129
129
|
"keywords": [],
|
|
130
130
|
"khan": {
|
|
131
|
-
"catalogHash": "
|
|
131
|
+
"catalogHash": "b5f16d9867976000"
|
|
132
132
|
},
|
|
133
133
|
"scripts": {}
|
|
134
134
|
}
|