@react-types/tooltip
Advanced tools
Comparing version 3.1.1-nightly.2514 to 3.1.1-nightly.2527
{ | ||
"name": "@react-types/tooltip", | ||
"version": "3.1.1-nightly.2514+f5678f9c", | ||
"version": "3.1.1-nightly.2527+e08af810", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/overlays": "3.4.1-nightly.2514+f5678f9c", | ||
"@react-types/shared": "3.0.0-nightly.836+f5678f9c" | ||
"@react-types/overlays": "3.4.1-nightly.2527+e08af810", | ||
"@react-types/shared": "3.0.0-nightly.849+e08af810" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "f5678f9c0a8a02422a16eda4e9be11d2b88ed08b" | ||
"gitHead": "e08af810954896b95e444b5b02ab782cd1e4b759" | ||
} |
@@ -25,2 +25,3 @@ /* | ||
* The delay time for the tooltip to show up. [See guidelines](https://spectrum.adobe.com/page/tooltip/#Immediate-or-delayed-appearance). | ||
* @default 1500 | ||
*/ | ||
@@ -30,16 +31,2 @@ delay?: number, | ||
/** | ||
* The additional offset applied along the main axis between the element and its | ||
* anchor element. | ||
* @default 7 | ||
*/ | ||
offset?: number, | ||
/** | ||
* The additional offset applied along the cross axis between the element and its | ||
* anchor element. | ||
* @default 0 | ||
*/ | ||
crossOffset?: number, | ||
/** | ||
* By default, opens for both focus and hover. Can be made to open only for focus. | ||
@@ -51,7 +38,13 @@ */ | ||
export interface SpectrumTooltipTriggerProps extends TooltipTriggerProps, PositionProps { | ||
children: [ReactElement, ReactElement] | ||
children: [ReactElement, ReactElement], | ||
/** | ||
* The additional offset applied along the main axis between the element and its | ||
* anchor element. | ||
* @default 7 | ||
*/ | ||
offset?: number | ||
} | ||
export interface TooltipProps { | ||
children: ReactNode, | ||
isOpen?: boolean | ||
@@ -77,3 +70,5 @@ } | ||
*/ | ||
showIcon?: boolean | ||
showIcon?: boolean, | ||
children: ReactNode | ||
} |
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
14326
58