@block-kit/react 1.0.7 → 1.0.9
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/utils/dom.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Editor } from "@block-kit/core";
|
|
|
2
2
|
import type { O } from "@block-kit/utils/dist/es/types";
|
|
3
3
|
import type { ReactPortal } from "react";
|
|
4
4
|
export declare const EDITOR_TO_DOM: WeakMap<Editor, HTMLElement | null>;
|
|
5
|
-
export declare const EDITOR_TO_PORTAL: WeakMap<Editor, import("react").Dispatch<import("react").SetStateAction<O.Map<ReactPortal>>> | null>;
|
|
5
|
+
export declare const EDITOR_TO_PORTAL: WeakMap<Editor, import("react").Dispatch<import("react").SetStateAction<O.Map<ReactPortal, string>>> | null>;
|
|
6
6
|
/**
|
|
7
7
|
* 共享的挂载节点
|
|
8
8
|
*/
|
package/dist/lib/utils/dom.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Editor } from "@block-kit/core";
|
|
|
2
2
|
import type { O } from "@block-kit/utils/dist/es/types";
|
|
3
3
|
import type { ReactPortal } from "react";
|
|
4
4
|
export declare const EDITOR_TO_DOM: WeakMap<Editor, HTMLElement | null>;
|
|
5
|
-
export declare const EDITOR_TO_PORTAL: WeakMap<Editor, import("react").Dispatch<import("react").SetStateAction<O.Map<ReactPortal>>> | null>;
|
|
5
|
+
export declare const EDITOR_TO_PORTAL: WeakMap<Editor, import("react").Dispatch<import("react").SetStateAction<O.Map<ReactPortal, string>>> | null>;
|
|
6
6
|
/**
|
|
7
7
|
* 共享的挂载节点
|
|
8
8
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@block-kit/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"types": "./dist/es/index.d.ts",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"react-dom": ">=16"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@block-kit/core": "1.0.
|
|
43
|
-
"@block-kit/delta": "1.0.
|
|
44
|
-
"@block-kit/utils": "1.0.
|
|
42
|
+
"@block-kit/core": "1.0.9",
|
|
43
|
+
"@block-kit/delta": "1.0.9",
|
|
44
|
+
"@block-kit/utils": "1.0.9"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/react": "17.0.2",
|