@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.
Files changed (2) hide show
  1. package/lib/index.d.ts +4 -4
  2. 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: _$react.RefObject<HTMLElement | null>;
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: _$react.FC<Context & {
586
- children: _$react.ReactNode;
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.5.0",
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.5.0",
61
- "@vitus-labs/unistyle": "^2.5.0",
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.0",
78
- "@vitus-labs/tools-storybook": "2.3.0",
79
- "@vitus-labs/tools-typescript": "2.3.0",
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": {