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

@react-types/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
777
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/tooltip - npm Package Compare versions

Comparing version 3.0.0-nightly.2401 to 3.0.0

8

package.json
{
"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
}
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