@react-aria/utils
Advanced tools
Comparing version 3.0.0-nightly-8ab4f20de-240913 to 3.0.0-nightly-9421c1409-240921
@@ -123,4 +123,6 @@ var $1117b6c0d4c4c164$exports = require("./focusWithoutScrolling.main.js"); | ||
let router = $4068a0fae83b6d84$export$9a302a45f65d0572(); | ||
var _props_href; | ||
const href = router.useHref((_props_href = props.href) !== null && _props_href !== void 0 ? _props_href : ''); | ||
return { | ||
'data-href': props.href ? router.useHref(props.href) : undefined, | ||
'data-href': props.href ? href : undefined, | ||
'data-target': props.target, | ||
@@ -145,4 +147,6 @@ 'data-rel': props.rel, | ||
let router = $4068a0fae83b6d84$export$9a302a45f65d0572(); | ||
var _props_href; | ||
const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : ''); | ||
return { | ||
href: (props === null || props === void 0 ? void 0 : props.href) ? router.useHref(props === null || props === void 0 ? void 0 : props.href) : undefined, | ||
href: (props === null || props === void 0 ? void 0 : props.href) ? href : undefined, | ||
target: props === null || props === void 0 ? void 0 : props.target, | ||
@@ -149,0 +153,0 @@ rel: props === null || props === void 0 ? void 0 : props.rel, |
@@ -107,4 +107,6 @@ import {focusWithoutScrolling as $7215afc6de606d6b$export$de79e2c695e052f3} from "./focusWithoutScrolling.module.js"; | ||
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572(); | ||
var _props_href; | ||
const href = router.useHref((_props_href = props.href) !== null && _props_href !== void 0 ? _props_href : ''); | ||
return { | ||
'data-href': props.href ? router.useHref(props.href) : undefined, | ||
'data-href': props.href ? href : undefined, | ||
'data-target': props.target, | ||
@@ -129,4 +131,6 @@ 'data-rel': props.rel, | ||
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572(); | ||
var _props_href; | ||
const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : ''); | ||
return { | ||
href: (props === null || props === void 0 ? void 0 : props.href) ? router.useHref(props === null || props === void 0 ? void 0 : props.href) : undefined, | ||
href: (props === null || props === void 0 ? void 0 : props.href) ? href : undefined, | ||
target: props === null || props === void 0 ? void 0 : props.target, | ||
@@ -133,0 +137,0 @@ rel: props === null || props === void 0 ? void 0 : props.rel, |
{ | ||
"name": "@react-aria/utils", | ||
"version": "3.0.0-nightly-8ab4f20de-240913", | ||
"version": "3.0.0-nightly-9421c1409-240921", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,5 +25,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/ssr": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-stately/utils": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-types/shared": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-aria/ssr": "^3.0.0-nightly-9421c1409-240921", | ||
"@react-stately/utils": "^3.0.0-nightly-9421c1409-240921", | ||
"@react-types/shared": "^3.0.0-nightly-9421c1409-240921", | ||
"@swc/helpers": "^0.5.0", | ||
@@ -30,0 +30,0 @@ "clsx": "^2.0.0" |
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
Sorry, the diff of this file is not supported yet
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
559420
6594