@react-aria/button
Advanced tools
Comparing version 3.0.0-nightly-25f304dea-241008 to 3.0.0-nightly-426bff12a-241106
@@ -36,3 +36,3 @@ var $lIlxZ$reactariautils = require("@react-aria/utils"); | ||
tabIndex: isDisabled ? undefined : 0, | ||
href: elementType === 'a' && isDisabled ? undefined : href, | ||
href: elementType === 'a' && !isDisabled ? href : undefined, | ||
target: elementType === 'a' ? target : undefined, | ||
@@ -39,0 +39,0 @@ type: elementType === 'input' ? type : undefined, |
@@ -30,3 +30,3 @@ import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from "@react-aria/utils"; | ||
tabIndex: isDisabled ? undefined : 0, | ||
href: elementType === 'a' && isDisabled ? undefined : href, | ||
href: elementType === 'a' && !isDisabled ? href : undefined, | ||
target: elementType === 'a' ? target : undefined, | ||
@@ -33,0 +33,0 @@ type: elementType === 'input' ? type : undefined, |
{ | ||
"name": "@react-aria/button", | ||
"version": "3.0.0-nightly-25f304dea-241008", | ||
"version": "3.0.0-nightly-426bff12a-241106", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,8 +25,8 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/interactions": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/utils": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-stately/toggle": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-types/button": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-types/shared": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/focus": "^3.0.0-nightly-426bff12a-241106", | ||
"@react-aria/interactions": "^3.0.0-nightly-426bff12a-241106", | ||
"@react-aria/utils": "^3.0.0-nightly-426bff12a-241106", | ||
"@react-stately/toggle": "^3.0.0-nightly-426bff12a-241106", | ||
"@react-types/button": "^3.0.0-nightly-426bff12a-241106", | ||
"@react-types/shared": "^3.0.0-nightly-426bff12a-241106", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -40,3 +40,3 @@ }, | ||
}, | ||
"stableVersion": "3.10.0" | ||
"stableVersion": "3.10.1" | ||
} |
@@ -78,3 +78,3 @@ /* | ||
tabIndex: isDisabled ? undefined : 0, | ||
href: elementType === 'a' && isDisabled ? undefined : href, | ||
href: elementType === 'a' && !isDisabled ? href : undefined, | ||
target: elementType === 'a' ? target : undefined, | ||
@@ -81,0 +81,0 @@ type: elementType === 'input' ? type : undefined, |
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
54309