@vitus-labs/elements 2.5.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 +4 -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
|
|
@@ -435,6 +434,7 @@ interface ListComponent {
|
|
|
435
434
|
<T extends SimpleValue>(props: SimpleProps<T> & ListExtras & RefExtra): ReactNode;
|
|
436
435
|
<T extends ObjectValue>(props: ObjectProps<T> & ListExtras & RefExtra): ReactNode;
|
|
437
436
|
(props: ChildrenProps & ListExtras & RefExtra): ReactNode;
|
|
437
|
+
(props: LooseProps & ListExtras & RefExtra): ReactNode;
|
|
438
438
|
displayName?: string;
|
|
439
439
|
pkgName?: string;
|
|
440
440
|
VITUS_LABS__COMPONENT?: string;
|
|
@@ -571,7 +571,7 @@ declare const useOverlay: ({
|
|
|
571
571
|
onOpen,
|
|
572
572
|
onClose
|
|
573
573
|
}?: Partial<UseOverlayProps>) => {
|
|
574
|
-
triggerRef:
|
|
574
|
+
triggerRef: import("react").RefObject<HTMLElement | null>;
|
|
575
575
|
contentRef: (node: HTMLElement | null) => void;
|
|
576
576
|
active: boolean;
|
|
577
577
|
align: Align$1;
|
|
@@ -582,8 +582,8 @@ declare const useOverlay: ({
|
|
|
582
582
|
blocked: boolean;
|
|
583
583
|
setBlocked: () => void;
|
|
584
584
|
setUnblocked: () => void;
|
|
585
|
-
Provider:
|
|
586
|
-
children:
|
|
585
|
+
Provider: import("react").FC<Context & {
|
|
586
|
+
children: import("react").ReactNode;
|
|
587
587
|
}>;
|
|
588
588
|
};
|
|
589
589
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/elements",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
61
|
-
"@vitus-labs/unistyle": "^2.
|
|
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": {
|