@react-aria/button
Advanced tools
Comparing version 3.0.0-nightly-0ddbe6f95-241021 to 3.0.0-nightly-12920fc91-241102
@@ -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-0ddbe6f95-241021", | ||
"version": "3.0.0-nightly-12920fc91-241102", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,8 +25,8 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "^3.0.0-nightly-0ddbe6f95-241021", | ||
"@react-aria/interactions": "^3.0.0-nightly-0ddbe6f95-241021", | ||
"@react-aria/utils": "^3.0.0-nightly-0ddbe6f95-241021", | ||
"@react-stately/toggle": "^3.0.0-nightly-0ddbe6f95-241021", | ||
"@react-types/button": "^3.0.0-nightly-0ddbe6f95-241021", | ||
"@react-types/shared": "^3.0.0-nightly-0ddbe6f95-241021", | ||
"@react-aria/focus": "^3.0.0-nightly-12920fc91-241102", | ||
"@react-aria/interactions": "^3.0.0-nightly-12920fc91-241102", | ||
"@react-aria/utils": "^3.0.0-nightly-12920fc91-241102", | ||
"@react-stately/toggle": "^3.0.0-nightly-12920fc91-241102", | ||
"@react-types/button": "^3.0.0-nightly-12920fc91-241102", | ||
"@react-types/shared": "^3.0.0-nightly-12920fc91-241102", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -33,0 +33,0 @@ }, |
@@ -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
265