@vitus-labs/elements 2.6.0 → 2.6.1
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/lib/index.d.ts +3 -4
- package/package.json +6 -6
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Provider } from "@vitus-labs/unistyle";
|
|
2
2
|
import { BreakpointKeys, HTMLTags, HTMLTextTags, config, render } from "@vitus-labs/core";
|
|
3
|
-
import * as _$react from "react";
|
|
4
3
|
import { ComponentType, FC, ForwardRefExoticComponent, ForwardedRef, ReactElement, ReactNode, Ref } from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/types.d.ts
|
|
@@ -572,7 +571,7 @@ declare const useOverlay: ({
|
|
|
572
571
|
onOpen,
|
|
573
572
|
onClose
|
|
574
573
|
}?: Partial<UseOverlayProps>) => {
|
|
575
|
-
triggerRef:
|
|
574
|
+
triggerRef: import("react").RefObject<HTMLElement | null>;
|
|
576
575
|
contentRef: (node: HTMLElement | null) => void;
|
|
577
576
|
active: boolean;
|
|
578
577
|
align: Align$1;
|
|
@@ -583,8 +582,8 @@ declare const useOverlay: ({
|
|
|
583
582
|
blocked: boolean;
|
|
584
583
|
setBlocked: () => void;
|
|
585
584
|
setUnblocked: () => void;
|
|
586
|
-
Provider:
|
|
587
|
-
children:
|
|
585
|
+
Provider: import("react").FC<Context & {
|
|
586
|
+
children: import("react").ReactNode;
|
|
588
587
|
}>;
|
|
589
588
|
};
|
|
590
589
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/elements",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.cz>",
|
|
6
6
|
"maintainers": [
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@vitus-labs/core": "^2.6.
|
|
61
|
-
"@vitus-labs/unistyle": "^2.6.
|
|
60
|
+
"@vitus-labs/core": "^2.6.1",
|
|
61
|
+
"@vitus-labs/unistyle": "^2.6.1",
|
|
62
62
|
"react": ">= 19",
|
|
63
63
|
"react-dom": ">= 19",
|
|
64
64
|
"react-native": ">= 0.76"
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@vitus-labs/core": "workspace:*",
|
|
76
76
|
"@vitus-labs/rocketstyle": "workspace:*",
|
|
77
|
-
"@vitus-labs/tools-rolldown": "2.3.
|
|
78
|
-
"@vitus-labs/tools-storybook": "2.3.
|
|
79
|
-
"@vitus-labs/tools-typescript": "2.3.
|
|
77
|
+
"@vitus-labs/tools-rolldown": "2.3.1",
|
|
78
|
+
"@vitus-labs/tools-storybook": "2.3.1",
|
|
79
|
+
"@vitus-labs/tools-typescript": "2.3.1",
|
|
80
80
|
"@vitus-labs/unistyle": "workspace:*"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|