@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.
Files changed (2) hide show
  1. package/lib/index.d.ts +3 -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
@@ -572,7 +571,7 @@ declare const useOverlay: ({
572
571
  onOpen,
573
572
  onClose
574
573
  }?: Partial<UseOverlayProps>) => {
575
- triggerRef: _$react.RefObject<HTMLElement | null>;
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: _$react.FC<Context & {
587
- children: _$react.ReactNode;
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.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.6.0",
61
- "@vitus-labs/unistyle": "^2.6.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": {