@bifrostui/utils 2.0.0-alpha.8 → 2.0.0-alpha.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/render.d.ts +2 -2
- package/es/render.d.ts +2 -2
- package/package.json +2 -2
package/dist/render.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ type ContainerType = (Element | DocumentFragment) & {
|
|
|
8
8
|
export declare function testModernRender(node: ReactElement, container: ContainerType, isTest: boolean): void;
|
|
9
9
|
export declare function render(node: ReactElement, container: ContainerType): void;
|
|
10
10
|
/** @private Test usage. Not work in prod */
|
|
11
|
-
export declare function testLegacyUnmount(container: ContainerType, isTest: boolean):
|
|
12
|
-
export declare function unmount(container: ContainerType):
|
|
11
|
+
export declare function testLegacyUnmount(container: ContainerType, isTest: boolean): boolean;
|
|
12
|
+
export declare function unmount(container: ContainerType): boolean | Promise<void>;
|
|
13
13
|
export {};
|
package/es/render.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ type ContainerType = (Element | DocumentFragment) & {
|
|
|
8
8
|
export declare function testModernRender(node: ReactElement, container: ContainerType, isTest: boolean): void;
|
|
9
9
|
export declare function render(node: ReactElement, container: ContainerType): void;
|
|
10
10
|
/** @private Test usage. Not work in prod */
|
|
11
|
-
export declare function testLegacyUnmount(container: ContainerType, isTest: boolean):
|
|
12
|
-
export declare function unmount(container: ContainerType):
|
|
11
|
+
export declare function testLegacyUnmount(container: ContainerType, isTest: boolean): boolean;
|
|
12
|
+
export declare function unmount(container: ContainerType): boolean | Promise<void>;
|
|
13
13
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifrostui/utils",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.9",
|
|
4
4
|
"description": "BUI React utilities for building components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"react-is": "^18.0.0",
|
|
20
|
-
"@bifrostui/styles": "2.0.0-alpha.
|
|
20
|
+
"@bifrostui/styles": "2.0.0-alpha.9"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@tarojs/runtime": "^3.0.0",
|