@doenet/doenetml-iframe 0.7.0-alpha14 → 0.7.0-alpha15
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/index.d.ts +3 -8
- package/index.js +9932 -331
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/style.css +440 -0
package/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare type DoenetEditorIframeProps = DoenetEditorProps & {
|
|
|
49
49
|
height?: string;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
declare type DoenetEditorProps = Omit<React.ComponentProps<typeof DoenetEditor_2>, "doenetML" | "width" | "height">;
|
|
52
|
+
declare type DoenetEditorProps = Omit<React.ComponentProps<typeof DoenetEditor_2>, "doenetML" | "width" | "height" | "keyboardIsOutsideIframe">;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Render Doenet viewer constrained to an iframe. A URL pointing to a version of DoenetML
|
|
@@ -60,7 +60,7 @@ declare type DoenetEditorProps = Omit<React.ComponentProps<typeof DoenetEditor_2
|
|
|
60
60
|
* DoenetML component. Instead you must use the message passing interface of `DoenetViewer` to communicate
|
|
61
61
|
* with the underlying DoenetML component.
|
|
62
62
|
*/
|
|
63
|
-
export declare function DoenetViewer({ doenetML, standaloneUrl: specifiedStandaloneUrl, cssUrl: specifiedCssUrl, doenetmlVersion: specifiedDoenetmlVersion, autodetectVersion,
|
|
63
|
+
export declare function DoenetViewer({ doenetML, standaloneUrl: specifiedStandaloneUrl, cssUrl: specifiedCssUrl, doenetmlVersion: specifiedDoenetmlVersion, autodetectVersion, ...doenetViewerProps }: DoenetViewerIframeProps): default_2.JSX.Element | null;
|
|
64
64
|
|
|
65
65
|
export declare type DoenetViewerIframeProps = DoenetViewerProps & {
|
|
66
66
|
doenetML: string;
|
|
@@ -85,14 +85,9 @@ export declare type DoenetViewerIframeProps = DoenetViewerProps & {
|
|
|
85
85
|
* overwriting any doenetmlVersion or urls provided
|
|
86
86
|
*/
|
|
87
87
|
autodetectVersion?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Added to remove the scrollableContainer attribute from DoenetViewerProps
|
|
90
|
-
* that will be stringified (as it has circular structure)
|
|
91
|
-
*/
|
|
92
|
-
scrollableContainer?: any;
|
|
93
88
|
};
|
|
94
89
|
|
|
95
|
-
declare type DoenetViewerProps = Omit<React.ComponentProps<typeof DoenetViewer_2>, "doenetML" | "scrollableContainer">;
|
|
90
|
+
declare type DoenetViewerProps = Omit<React.ComponentProps<typeof DoenetViewer_2>, "doenetML" | "scrollableContainer" | "keyboardIsOutsideIframe">;
|
|
96
91
|
|
|
97
92
|
export { ErrorDescription }
|
|
98
93
|
|