@react-aria/interactions
Advanced tools
Comparing version 3.0.0-nightly.2989 to 3.0.0-nightly.2992
@@ -1,3 +0,3 @@ | ||
import { DOMAttributes, PressEvents, FocusableElement, FocusEvents, HoverEvents, KeyboardEvents, MoveEvents, ScrollEvents, LongPressEvent } from "@react-types/shared"; | ||
import React, { RefObject, ReactElement, ReactNode, FocusEvent } from "react"; | ||
import { DOMAttributes, PressEvents, RefObject, FocusableElement, FocusEvents, HoverEvents, KeyboardEvents, MoveEvents, ScrollEvents, LongPressEvent } from "@react-types/shared"; | ||
import React, { ReactElement, ReactNode, FocusEvent } from "react"; | ||
export interface PressProps extends PressEvents { | ||
@@ -4,0 +4,0 @@ /** Whether the target is in a controlled press state (e.g. an overlay it triggers is open). */ |
{ | ||
"name": "@react-aria/interactions", | ||
"version": "3.0.0-nightly.2989+76365df43", | ||
"version": "3.0.0-nightly.2992+546ffa41f", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,5 +25,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/ssr": "3.9.5-nightly.4701+76365df43", | ||
"@react-aria/utils": "3.0.0-nightly.2989+76365df43", | ||
"@react-types/shared": "3.0.0-nightly.2989+76365df43", | ||
"@react-aria/ssr": "3.9.5-nightly.4704+546ffa41f", | ||
"@react-aria/utils": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-types/shared": "3.0.0-nightly.2992+546ffa41f", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -37,3 +37,3 @@ }, | ||
}, | ||
"gitHead": "76365df434b6f65b137113557ba14a32ea466c8f" | ||
"gitHead": "546ffa41f7d1d3a566950a14d8f46cf726891220" | ||
} |
@@ -13,5 +13,5 @@ /* | ||
import {DOMAttributes} from '@react-types/shared'; | ||
import {DOMAttributes, RefObject} from '@react-types/shared'; | ||
import {mergeProps, useSyncRef} from '@react-aria/utils'; | ||
import React, {MutableRefObject, RefObject, useContext} from 'react'; | ||
import React, {MutableRefObject, useContext} from 'react'; | ||
@@ -18,0 +18,0 @@ interface DOMPropsResponderProps extends DOMAttributes { |
@@ -13,3 +13,3 @@ /* | ||
import {RefObject} from 'react'; | ||
import {RefObject} from '@react-types/shared'; | ||
import {useDOMPropsResponderContext} from './DOMPropsContext'; | ||
@@ -16,0 +16,0 @@ |
@@ -19,3 +19,4 @@ /* | ||
import {getOwnerDocument, useEffectEvent} from '@react-aria/utils'; | ||
import {RefObject, useEffect, useRef} from 'react'; | ||
import {RefObject} from '@react-types/shared'; | ||
import {useEffect, useRef} from 'react'; | ||
@@ -22,0 +23,0 @@ export interface InteractOutsideProps { |
@@ -20,5 +20,5 @@ /* | ||
import {disableTextSelection, restoreTextSelection} from './textSelection'; | ||
import {DOMAttributes, FocusableElement, PressEvent as IPressEvent, PointerType, PressEvents} from '@react-types/shared'; | ||
import {DOMAttributes, FocusableElement, PressEvent as IPressEvent, PointerType, PressEvents, RefObject} from '@react-types/shared'; | ||
import {PressResponderContext} from './context'; | ||
import {RefObject, TouchEvent as RTouchEvent, useContext, useEffect, useMemo, useRef, useState} from 'react'; | ||
import {TouchEvent as RTouchEvent, useContext, useEffect, useMemo, useRef, useState} from 'react'; | ||
@@ -25,0 +25,0 @@ export interface PressProps extends PressEvents { |
@@ -13,4 +13,4 @@ /* | ||
import {RefObject, useCallback} from 'react'; | ||
import {ScrollEvents} from '@react-types/shared'; | ||
import {RefObject, ScrollEvents} from '@react-types/shared'; | ||
import {useCallback} from 'react'; | ||
import {useEvent} from '@react-aria/utils'; | ||
@@ -17,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
717975
8358