@project-sunbird/sunbird-questionset-editor-web-component-react 0.1.3 → 0.1.4
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/shared/EditorRootContext.d.ts +7 -0
- package/dist/index.js +3115 -3099
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The owning editor instance's `.ce` root element. Modals portal into it so
|
|
3
|
+
* the `--sb-*`/`--accent` variables (scoped to `.ce`) apply — a global
|
|
4
|
+
* `document.querySelector('.ce')` would resolve to the FIRST editor on the
|
|
5
|
+
* page, which is wrong when a host mounts multiple instances.
|
|
6
|
+
*/
|
|
7
|
+
export declare const EditorRootContext: import('react').Context<HTMLElement | null>;
|