@react-aria/link
Advanced tools
Comparing version 3.0.0-nightly-3f67667d5-241111 to 3.0.0-nightly-412a51816-250219
var $8TwZf$reactariautils = require("@react-aria/utils"); | ||
var $8TwZf$reactariafocus = require("@react-aria/focus"); | ||
var $8TwZf$reactariainteractions = require("@react-aria/interactions"); | ||
@@ -23,3 +22,2 @@ | ||
function $fbe6b19572273b2f$export$dcf14c9974fe2767(props, ref) { | ||
@@ -33,3 +31,3 @@ let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, // @ts-ignore | ||
}; | ||
let { focusableProps: focusableProps } = (0, $8TwZf$reactariafocus.useFocusable)(props, ref); | ||
let { focusableProps: focusableProps } = (0, $8TwZf$reactariainteractions.useFocusable)(props, ref); | ||
let { pressProps: pressProps, isPressed: isPressed } = (0, $8TwZf$reactariainteractions.usePress)({ | ||
@@ -36,0 +34,0 @@ onPress: onPress, |
import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, shouldClientNavigate as $5Ot33$shouldClientNavigate} from "@react-aria/utils"; | ||
import {useFocusable as $5Ot33$useFocusable} from "@react-aria/focus"; | ||
import {usePress as $5Ot33$usePress} from "@react-aria/interactions"; | ||
import {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from "@react-aria/interactions"; | ||
@@ -17,3 +16,2 @@ /* | ||
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) { | ||
@@ -20,0 +18,0 @@ let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, // @ts-ignore |
{ | ||
"name": "@react-aria/link", | ||
"version": "3.0.0-nightly-3f67667d5-241111", | ||
"version": "3.0.0-nightly-412a51816-250219", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,16 +25,15 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "^3.0.0-nightly-3f67667d5-241111", | ||
"@react-aria/interactions": "^3.0.0-nightly-3f67667d5-241111", | ||
"@react-aria/utils": "^3.0.0-nightly-3f67667d5-241111", | ||
"@react-types/link": "^3.0.0-nightly-3f67667d5-241111", | ||
"@react-types/shared": "^3.0.0-nightly-3f67667d5-241111", | ||
"@react-aria/interactions": "3.0.0-nightly-412a51816-250219", | ||
"@react-aria/utils": "3.0.0-nightly-412a51816-250219", | ||
"@react-types/link": "3.0.0-nightly-412a51816-250219", | ||
"@react-types/shared": "3.0.0-nightly-412a51816-250219", | ||
"@swc/helpers": "^0.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", | ||
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.7.6" | ||
} | ||
} |
@@ -17,4 +17,3 @@ /* | ||
import React from 'react'; | ||
import {useFocusable} from '@react-aria/focus'; | ||
import {usePress} from '@react-aria/interactions'; | ||
import {useFocusable, usePress} from '@react-aria/interactions'; | ||
@@ -21,0 +20,0 @@ export interface AriaLinkOptions extends AriaLinkProps { |
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
31788
358
+ Added@react-aria/interactions@3.0.0-nightly-412a51816-250219(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-412a51816-250219(transitive)
+ Added@react-aria/utils@3.0.0-nightly-412a51816-250219(transitive)
+ Added@react-stately/flags@3.0.0-nightly-412a51816-250219(transitive)
+ Added@react-stately/utils@3.0.0-nightly-412a51816-250219(transitive)
+ Added@react-types/link@3.0.0-nightly-412a51816-250219(transitive)
+ Added@react-types/shared@3.0.0-nightly-412a51816-250219(transitive)
- Removed@react-aria/focus@3.19.1(transitive)
- Removed@react-aria/interactions@3.23.0(transitive)
- Removed@react-aria/ssr@3.9.7(transitive)
- Removed@react-aria/utils@3.27.0(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/link@3.5.10(transitive)
- Removed@react-types/shared@3.27.0(transitive)
Updated@react-aria/interactions@3.0.0-nightly-412a51816-250219