@react-types/tooltip
Advanced tools
Comparing version 3.0.0-nightly.2401 to 3.0.0
{ | ||
"name": "@react-types/tooltip", | ||
"version": "3.0.0-nightly.2401+61d8633a", | ||
"version": "3.0.0", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/overlays": "3.2.1-nightly.2401+61d8633a", | ||
"@react-types/shared": "3.0.0-nightly.723+61d8633a" | ||
"@react-types/overlays": "^3.2.1", | ||
"@react-types/shared": "^3.2.1" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "61d8633a588d2603c84651e81ccdefb50f1bdff9" | ||
"gitHead": "0778f71a3c13e1e24388a23b6d525e3b9f5b98f1" | ||
} |
@@ -18,4 +18,12 @@ /* | ||
export interface TooltipTriggerProps extends OverlayTriggerProps { | ||
/** | ||
* Whether the tooltip should be disabled, independent from the trigger. | ||
*/ | ||
isDisabled?: boolean, | ||
/** | ||
* The delay time for the tooltip to show up. [See guidelines](https://spectrum.corp.adobe.com/page/tooltip/#Immediate-or-delayed-appearance). | ||
*/ | ||
delay?: number, | ||
/** | ||
@@ -27,2 +35,3 @@ * The additional offset applied along the main axis between the element and its | ||
offset?: number, | ||
/** | ||
@@ -48,5 +57,17 @@ * The additional offset applied along the cross axis between the element and its | ||
export interface SpectrumTooltipProps extends AriaTooltipProps, StyleProps { | ||
/** | ||
* The [visual style](https://spectrum.corp.adobe.com/page/tooltip/#Semantic-variants) of the Tooltip. | ||
*/ | ||
variant?: 'neutral' | 'positive' | 'negative' | 'info', | ||
/** | ||
* The placement of the element with respect to its anchor element. | ||
* @default 'top' | ||
*/ | ||
placement?: 'start' | 'end' | 'right' | 'left' | 'top' | 'bottom', | ||
/** | ||
* Whether the element is rendered. | ||
*/ | ||
showIcon?: 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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
14292
59
1
0
+ Added@react-types/overlays@3.8.10(transitive)
+ Added@react-types/shared@3.25.0(transitive)
Updated@react-types/overlays@^3.2.1
Updated@react-types/shared@^3.2.1