@khanacademy/perseus-editor 46.1.0 → 46.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/editor.d.ts +4 -0
- package/dist/index.js +917 -985
- package/dist/index.js.map +1 -1
- package/dist/widgets/categorizer-editor/categorizer-editor.d.ts +0 -1
- package/dist/widgets/definition-editor/definition-editor.d.ts +1 -2
- package/dist/widgets/dropdown-editor/dropdown-editor.d.ts +1 -2
- package/dist/widgets/explanation-editor/explanation-editor.d.ts +0 -1
- package/dist/widgets/expression-editor/expression-editor.d.ts +1 -11
- package/dist/widgets/fill-in-the-blank-editor/fill-in-the-blank-editor.d.ts +2 -5
- package/dist/widgets/free-response-editor/free-response-editor.d.ts +0 -7
- package/dist/widgets/graded-group-editor/graded-group-editor.d.ts +0 -1
- package/dist/widgets/graded-group-set-editor/graded-group-set-editor.d.ts +0 -1
- package/dist/widgets/grapher-editor/grapher-editor.d.ts +0 -1
- package/dist/widgets/group-editor/group-editor.d.ts +0 -1
- package/dist/widgets/iframe-editor/iframe-editor.d.ts +0 -1
- package/dist/widgets/image-editor/image-editor.d.ts +1 -2
- package/dist/widgets/interaction-editor/interaction-editor.d.ts +0 -1
- package/dist/widgets/interactive-graph-editor/interactive-graph-editor.d.ts +1 -23
- package/dist/widgets/label-image-editor/label-image-editor.d.ts +0 -1
- package/dist/widgets/matcher-editor/matcher-editor.d.ts +0 -1
- package/dist/widgets/matrix-editor/matrix-editor.d.ts +0 -1
- package/dist/widgets/measurer-editor/measurer-editor.d.ts +0 -1
- package/dist/widgets/number-line-editor/number-line-editor.d.ts +0 -1
- package/dist/widgets/numeric-input-editor/numeric-input-editor.d.ts +0 -7
- package/dist/widgets/orderer-editor/orderer-editor.d.ts +0 -1
- package/dist/widgets/phet-simulation-editor/phet-simulation-editor.d.ts +1 -2
- package/dist/widgets/plotter-editor/plotter-editor.d.ts +1 -2
- package/dist/widgets/python-program-editor/python-program-editor.d.ts +0 -1
- package/dist/widgets/radio-editor/radio-editor.d.ts +0 -1
- package/dist/widgets/table-editor/table-editor.d.ts +0 -1
- package/dist/widgets/video-editor/video-editor.d.ts +1 -2
- package/package.json +7 -7
package/dist/editor.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ type State = {
|
|
|
37
37
|
textAreaValue: string;
|
|
38
38
|
rememberedWidgetsForUndo: PerseusWidgetsMap;
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* Contextual information passed to a widget editor's optional static
|
|
42
|
+
* `initializeWidgetOptions(defaults, params)` hook when a widget is inserted.
|
|
43
|
+
*/
|
|
40
44
|
export type InitializeWidgetOptionsParams = {
|
|
41
45
|
selectedText: string;
|
|
42
46
|
};
|