@react-spectrum/tooltip
Advanced tools
Comparing version 3.0.0-nightly.704 to 3.0.0-nightly.705
@@ -141,7 +141,12 @@ var { | ||
exports.Tooltip = Tooltip; | ||
const $b29140c6a34ca04560623b3e2e0d4c0b$var$DEFAULT_OFFSET = 7; // Closest visual match to Spectrum's mocks | ||
const $b29140c6a34ca04560623b3e2e0d4c0b$var$DEFAULT_CROSS_OFFSET = 0; | ||
function $b29140c6a34ca04560623b3e2e0d4c0b$var$TooltipTrigger(props) { | ||
let { | ||
children, | ||
isDisabled | ||
crossOffset = $b29140c6a34ca04560623b3e2e0d4c0b$var$DEFAULT_CROSS_OFFSET, | ||
isDisabled, | ||
offset = $b29140c6a34ca04560623b3e2e0d4c0b$var$DEFAULT_OFFSET | ||
} = props; | ||
@@ -168,2 +173,4 @@ | ||
overlayRef, | ||
offset, | ||
crossOffset, | ||
isOpen: state.isOpen | ||
@@ -170,0 +177,0 @@ }); |
@@ -101,7 +101,12 @@ import { useTooltipTriggerState } from "@react-stately/tooltip"; | ||
export let Tooltip = _react.forwardRef($bbf06d7c74e4575391edac06758d45$var$Tooltip); | ||
const $af9462b3a75853dd6b5cae0d0c0ce5a$var$DEFAULT_OFFSET = 7; // Closest visual match to Spectrum's mocks | ||
const $af9462b3a75853dd6b5cae0d0c0ce5a$var$DEFAULT_CROSS_OFFSET = 0; | ||
function $af9462b3a75853dd6b5cae0d0c0ce5a$var$TooltipTrigger(props) { | ||
let { | ||
children, | ||
isDisabled | ||
crossOffset = $af9462b3a75853dd6b5cae0d0c0ce5a$var$DEFAULT_CROSS_OFFSET, | ||
isDisabled, | ||
offset = $af9462b3a75853dd6b5cae0d0c0ce5a$var$DEFAULT_OFFSET | ||
} = props; | ||
@@ -128,2 +133,4 @@ | ||
overlayRef, | ||
offset, | ||
crossOffset, | ||
isOpen: state.isOpen | ||
@@ -130,0 +137,0 @@ }); |
{ | ||
"name": "@react-spectrum/tooltip", | ||
"version": "3.0.0-nightly.704+c7fda934", | ||
"version": "3.0.0-nightly.705+b6e11f5e", | ||
"description": "Spectrum UI components in React", | ||
@@ -35,18 +35,18 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "3.0.0-nightly.704+c7fda934", | ||
"@react-aria/interactions": "3.0.0-nightly.704+c7fda934", | ||
"@react-aria/overlays": "3.0.0-nightly.704+c7fda934", | ||
"@react-aria/tooltip": "3.0.0-nightly.704+c7fda934", | ||
"@react-aria/utils": "3.0.0-nightly.704+c7fda934", | ||
"@react-spectrum/overlays": "3.0.0-nightly.704+c7fda934", | ||
"@react-spectrum/utils": "3.0.0-nightly.704+c7fda934", | ||
"@react-stately/tooltip": "3.0.0-nightly.2382+c7fda934", | ||
"@react-stately/utils": "3.0.0-nightly.704+c7fda934", | ||
"@react-types/overlays": "3.2.1-nightly.2382+c7fda934", | ||
"@react-types/shared": "3.0.0-nightly.704+c7fda934", | ||
"@react-types/tooltip": "3.0.0-nightly.2382+c7fda934", | ||
"@spectrum-icons/ui": "3.0.0-nightly.704+c7fda934" | ||
"@react-aria/focus": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-aria/interactions": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-aria/overlays": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-aria/tooltip": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-aria/utils": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-spectrum/overlays": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-spectrum/utils": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-stately/tooltip": "3.0.0-nightly.2383+b6e11f5e", | ||
"@react-stately/utils": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-types/overlays": "3.2.1-nightly.2383+b6e11f5e", | ||
"@react-types/shared": "3.0.0-nightly.705+b6e11f5e", | ||
"@react-types/tooltip": "3.0.0-nightly.2383+b6e11f5e", | ||
"@spectrum-icons/ui": "3.0.0-nightly.705+b6e11f5e" | ||
}, | ||
"devDependencies": { | ||
"@adobe/spectrum-css-temp": "3.0.0-nightly.704+c7fda934" | ||
"@adobe/spectrum-css-temp": "3.0.0-nightly.705+b6e11f5e" | ||
}, | ||
@@ -60,3 +60,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "c7fda93415df1e46aa565eb89897b09e56159378" | ||
"gitHead": "b6e11f5ed2a03c317c8e43a145363dc211011aca" | ||
} |
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
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
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
84301
564