@react-aria/tooltip
Advanced tools
Comparing version
var $jCY2B$reactariainteractions = require("@react-aria/interactions"); | ||
var $jCY2B$reactariautils = require("@react-aria/utils"); | ||
var $jCY2B$react = require("react"); | ||
var $jCY2B$reactariafocus = require("@react-aria/focus"); | ||
@@ -25,3 +24,2 @@ | ||
function $f017bbc46d58d42a$export$a6da6c504e4bba8b(props, state, ref) { | ||
@@ -99,3 +97,3 @@ let { isDisabled: isDisabled, trigger: trigger } = props; | ||
}); | ||
let { focusableProps: focusableProps } = (0, $jCY2B$reactariafocus.useFocusable)({ | ||
let { focusableProps: focusableProps } = (0, $jCY2B$reactariainteractions.useFocusable)({ | ||
isDisabled: isDisabled, | ||
@@ -102,0 +100,0 @@ onFocus: onFocus, |
@@ -1,5 +0,4 @@ | ||
import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover} from "@react-aria/interactions"; | ||
import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from "@react-aria/interactions"; | ||
import {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from "@react-aria/utils"; | ||
import {useRef as $6VwSn$useRef, useEffect as $6VwSn$useEffect} from "react"; | ||
import {useFocusable as $6VwSn$useFocusable} from "@react-aria/focus"; | ||
@@ -19,3 +18,2 @@ /* | ||
function $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) { | ||
@@ -22,0 +20,0 @@ let { isDisabled: isDisabled, trigger: trigger } = props; |
{ | ||
"name": "@react-aria/tooltip", | ||
"version": "3.0.0-nightly-2788d8afd-250205", | ||
"version": "3.0.0-nightly-27e5ef1b7-250319", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,8 +25,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "3.0.0-nightly-2788d8afd-250205", | ||
"@react-aria/interactions": "3.0.0-nightly-2788d8afd-250205", | ||
"@react-aria/utils": "3.0.0-nightly-2788d8afd-250205", | ||
"@react-stately/tooltip": "3.0.0-nightly-2788d8afd-250205", | ||
"@react-types/shared": "3.0.0-nightly-2788d8afd-250205", | ||
"@react-types/tooltip": "3.0.0-nightly-2788d8afd-250205", | ||
"@react-aria/interactions": "3.0.0-nightly-27e5ef1b7-250319", | ||
"@react-aria/utils": "3.0.0-nightly-27e5ef1b7-250319", | ||
"@react-stately/tooltip": "3.0.0-nightly-27e5ef1b7-250319", | ||
"@react-types/shared": "3.0.0-nightly-27e5ef1b7-250319", | ||
"@react-types/tooltip": "3.0.0-nightly-27e5ef1b7-250319", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -33,0 +32,0 @@ }, |
@@ -14,3 +14,3 @@ /* | ||
import {DOMAttributes, FocusableElement, RefObject} from '@react-types/shared'; | ||
import {getInteractionModality, isFocusVisible, useHover} from '@react-aria/interactions'; | ||
import {getInteractionModality, isFocusVisible, useFocusable, useHover} from '@react-aria/interactions'; | ||
import {mergeProps, useId} from '@react-aria/utils'; | ||
@@ -20,3 +20,2 @@ import {TooltipTriggerProps} from '@react-types/tooltip'; | ||
import {useEffect, useRef} from 'react'; | ||
import {useFocusable} from '@react-aria/focus'; | ||
@@ -23,0 +22,0 @@ export interface TooltipTriggerAria { |
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
8
-11.11%49969
-0.58%679
-0.59%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated