@react-types/tooltip
Advanced tools
Comparing version 3.0.0-nightly.2375 to 3.0.0-nightly.2376
{ | ||
"name": "@react-types/tooltip", | ||
"version": "3.0.0-nightly.2375+b8e7a96e", | ||
"version": "3.0.0-nightly.2376+1aa1058d", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/overlays": "3.2.1-nightly.2375+b8e7a96e", | ||
"@react-types/shared": "3.0.0-nightly.697+b8e7a96e" | ||
"@react-types/overlays": "3.2.1-nightly.2376+1aa1058d", | ||
"@react-types/shared": "3.0.0-nightly.698+1aa1058d" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "b8e7a96e0b55f9875146f58484f97a1d9c1b04d8" | ||
"gitHead": "1aa1058d2bef892d4ecf411cfaeec5ba24440cde" | ||
} |
@@ -14,16 +14,17 @@ /* | ||
import {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared'; | ||
import {HTMLAttributes, ReactElement, ReactNode} from 'react'; | ||
import {PositionProps} from '@react-types/overlays'; | ||
import {OverlayTriggerProps, PositionProps} from '@react-types/overlays'; | ||
import {ReactElement, ReactNode} from 'react'; | ||
export interface TooltipTriggerProps extends PositionProps { | ||
children: ReactElement[], | ||
export interface TooltipTriggerProps extends OverlayTriggerProps { | ||
isDisabled?: boolean, | ||
onOpenChange?: (isOpen: boolean) => void, | ||
delay?: number | ||
} | ||
export interface TooltipProps extends DOMProps { | ||
export interface SpectrumTooltipTriggerProps extends TooltipTriggerProps, PositionProps { | ||
children: [ReactElement, ReactElement] | ||
} | ||
export interface TooltipProps { | ||
children: ReactNode, | ||
isOpen?: boolean, | ||
role?: 'tooltip' | ||
isOpen?: boolean | ||
} | ||
@@ -38,7 +39,1 @@ | ||
} | ||
export interface TriggerProps extends DOMProps, HTMLAttributes<HTMLElement> {} | ||
export interface TooltipTriggerAriaProps { | ||
isDisabled: boolean | ||
} |
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
13514
31