@khanacademy/perseus 76.1.1 → 77.0.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/components/svg-image.d.ts +3 -2
- package/dist/components/zoom-image-button.d.ts +4 -6
- package/dist/components/zoomed-image-view.d.ts +4 -6
- package/dist/es/index.css +1 -1
- package/dist/es/index.css.map +1 -1
- package/dist/es/index.js +12 -12
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -11
- package/dist/index.js.map +1 -1
- package/dist/widget-type-utils.d.ts +1 -8
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type PerseusWidget, type PerseusWidgetsMap } from "@khanacademy/perseus-core";
|
|
2
2
|
/**
|
|
3
3
|
* Get a widget type by a widget's ID
|
|
4
4
|
* (please don't derive type from ID)
|
|
@@ -18,13 +18,6 @@ export declare function getWidgetSubTypeByWidgetId(widgetId: string, widgetMap:
|
|
|
18
18
|
* @returns {boolean} if the content includes the widget type
|
|
19
19
|
*/
|
|
20
20
|
export declare function contentHasWidgetType(type: string, content: string, widgetMap: PerseusWidgetsMap): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Pull the widget map out of ItemData
|
|
23
|
-
*
|
|
24
|
-
* @param {PerseusItem} PerseusItem containing a widgetMap
|
|
25
|
-
* @returns {WidgetMap} the widget map in the PerseusItem
|
|
26
|
-
*/
|
|
27
|
-
export declare function getWidgetsMapFromItemData(itemData: PerseusItem): PerseusWidgetsMap;
|
|
28
21
|
/**
|
|
29
22
|
* Get the widget information from a WidgetMap
|
|
30
23
|
*
|
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": "
|
|
6
|
+
"version": "77.0.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"tiny-invariant": "1.3.1",
|
|
43
43
|
"uuid": "^10.0.0",
|
|
44
44
|
"@khanacademy/kas": "2.2.1",
|
|
45
|
-
"@khanacademy/
|
|
46
|
-
"@khanacademy/
|
|
47
|
-
"@khanacademy/
|
|
48
|
-
"@khanacademy/
|
|
49
|
-
"@khanacademy/perseus-linter": "4.9.
|
|
50
|
-
"@khanacademy/perseus-score": "8.
|
|
45
|
+
"@khanacademy/keypad-context": "3.2.41",
|
|
46
|
+
"@khanacademy/kmath": "2.3.1",
|
|
47
|
+
"@khanacademy/math-input": "26.4.11",
|
|
48
|
+
"@khanacademy/perseus-core": "24.0.0",
|
|
49
|
+
"@khanacademy/perseus-linter": "4.9.1",
|
|
50
|
+
"@khanacademy/perseus-score": "8.5.0",
|
|
51
51
|
"@khanacademy/perseus-utils": "2.1.5",
|
|
52
|
-
"@khanacademy/
|
|
53
|
-
"@khanacademy/
|
|
52
|
+
"@khanacademy/pure-markdown": "2.2.7",
|
|
53
|
+
"@khanacademy/simple-markdown": "2.2.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@khanacademy/wonder-blocks-announcer": "1.0.6",
|