@highlight-ui/utils-hooks
Advanced tools
Comparing version 3.4.0-r18.0 to 3.4.0
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { AutoPosition, Options as AutoPositionOptions } from './useAutoPosition'; | ||
@@ -3,0 +2,0 @@ declare type Role = 'dialog' | 'alertdialog' | 'tooltip' | 'menu' | 'listbox' | 'grid' | 'tree'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
export default function useClickOutside<T extends HTMLElement>(callback: (ev: MouseEvent) => void): import("react").Dispatch<import("react").SetStateAction<T | null>>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
declare type ScrollCallback = (percent: number) => void; | ||
@@ -3,0 +2,0 @@ declare const useScrollObserver: (onScroll: ScrollCallback) => { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { AutoPosition, Options as AutoPositionOptions } from './useAutoPosition'; | ||
@@ -3,0 +2,0 @@ declare type Role = 'dialog' | 'alertdialog' | 'tooltip' | 'menu' | 'listbox' | 'grid' | 'tree'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
export default function useClickOutside<T extends HTMLElement>(callback: (ev: MouseEvent) => void): import("react").Dispatch<import("react").SetStateAction<T | null>>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
declare type ScrollCallback = (percent: number) => void; | ||
@@ -3,0 +2,0 @@ declare const useScrollObserver: (onScroll: ScrollCallback) => { |
{ | ||
"name": "@highlight-ui/utils-hooks", | ||
"version": "3.4.0-r18.0", | ||
"version": "3.4.0", | ||
"author": "Personio GmbH & Co. KG", | ||
@@ -24,5 +24,5 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@highlight-ui/configs-base-jest": "^3.2.0-r18.0", | ||
"@highlight-ui/configs-base-tsconfig": "^3.3.0-r18.0", | ||
"@highlight-ui/configs-scripts": "^3.2.5", | ||
"@highlight-ui/configs-base-jest": "^3.2.0", | ||
"@highlight-ui/configs-base-tsconfig": "^3.3.0", | ||
"@highlight-ui/configs-scripts": "^3.2.6", | ||
"@popperjs/core": "~2.9.2", | ||
@@ -36,7 +36,7 @@ "@types/lodash.debounce": "4.0.7", | ||
"peerDependencies": { | ||
"react": "18.2.0" | ||
"react": "^17.0.2 || ^18.0.0" | ||
}, | ||
"dependencies": { | ||
"@floating-ui/react-dom-interactions": "0.11.0", | ||
"@highlight-ui/utils-commons": "^2.6.0-r18.0", | ||
"@highlight-ui/utils-commons": "^2.6.0", | ||
"@popperjs/core": "~2.9.2", | ||
@@ -48,3 +48,3 @@ "@use-it/event-listener": "~0.1.6", | ||
}, | ||
"gitHead": "5082727c3ee712c068ae49714fa9fc7e5dd0d3ad" | ||
"gitHead": "29a5d01daa9c96d08d91ce70f654a08d181703e1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
1120517
9249
- Removedreact@18.2.0(transitive)