Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@highlight-ui/utils-hooks

Package Overview
Dependencies
Maintainers
10
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highlight-ui/utils-hooks - npm Package Compare versions

Comparing version 3.4.0-r18.0 to 3.4.0

1

dist/cjs/src/useAutoInteractions.d.ts

@@ -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) => {

14

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc