@khanacademy/perseus-score 8.8.1 → 8.9.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/dist/es/index.js +4 -4
- package/dist/es/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/score.d.ts +5 -0
- package/package.json +4 -4
package/dist/score.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ import type { PerseusRenderer, PerseusScore, PerseusWidgetsMap, UserInputMap } f
|
|
|
10
10
|
* @param locale - string locale for math parsing ("de" 1.000,00 vs "en" 1,000.00)
|
|
11
11
|
*/
|
|
12
12
|
export declare function scorePerseusItem(perseusRenderData: PerseusRenderer, userInputMap: UserInputMap, locale: string): PerseusScore;
|
|
13
|
+
/**
|
|
14
|
+
* @experimental - this is a temporary function for use by the Input Number to
|
|
15
|
+
* Numeric Input project. It will be removed in a future minor version.
|
|
16
|
+
*/
|
|
17
|
+
export declare function scorePerseusItemWithInputNumberAsNumericInput(perseusRenderData: PerseusRenderer, userInputMap: UserInputMap, locale: string): PerseusScore;
|
|
13
18
|
export declare function scoreWidgetsFunctional(widgets: PerseusWidgetsMap, widgetIds: ReadonlyArray<string>, userInputMap: UserInputMap, locale: string): {
|
|
14
19
|
[widgetId: string]: PerseusScore;
|
|
15
20
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus score",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "8.
|
|
6
|
+
"version": "8.9.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@khanacademy/kas": "2.2.
|
|
26
|
-
"@khanacademy/kmath": "2.4.
|
|
27
|
-
"@khanacademy/perseus-core": "26.0
|
|
25
|
+
"@khanacademy/kas": "2.2.3",
|
|
26
|
+
"@khanacademy/kmath": "2.4.7",
|
|
27
|
+
"@khanacademy/perseus-core": "26.1.0",
|
|
28
28
|
"@khanacademy/perseus-utils": "2.1.5"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|