@react-aria/button
Advanced tools
Comparing version
@@ -28,3 +28,11 @@ var $lIlxZ$reactariautils = require("@react-aria/utils"); | ||
type: type, | ||
disabled: isDisabled | ||
disabled: isDisabled, | ||
form: props.form, | ||
formAction: props.formAction, | ||
formEncType: props.formEncType, | ||
formMethod: props.formMethod, | ||
formNoValidate: props.formNoValidate, | ||
formTarget: props.formTarget, | ||
name: props.name, | ||
value: props.value | ||
}; | ||
@@ -63,3 +71,4 @@ else additionalProps = { | ||
'aria-pressed': props['aria-pressed'], | ||
'aria-current': props['aria-current'] | ||
'aria-current': props['aria-current'], | ||
'aria-disabled': props['aria-disabled'] | ||
}) | ||
@@ -66,0 +75,0 @@ }; |
@@ -22,3 +22,11 @@ import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from "@react-aria/utils"; | ||
type: type, | ||
disabled: isDisabled | ||
disabled: isDisabled, | ||
form: props.form, | ||
formAction: props.formAction, | ||
formEncType: props.formEncType, | ||
formMethod: props.formMethod, | ||
formNoValidate: props.formNoValidate, | ||
formTarget: props.formTarget, | ||
name: props.name, | ||
value: props.value | ||
}; | ||
@@ -57,3 +65,4 @@ else additionalProps = { | ||
'aria-pressed': props['aria-pressed'], | ||
'aria-current': props['aria-current'] | ||
'aria-current': props['aria-current'], | ||
'aria-disabled': props['aria-disabled'] | ||
}) | ||
@@ -60,0 +69,0 @@ }; |
@@ -37,2 +37,3 @@ var $c49208f7d2aac50b$exports = require("./useToggleButton.main.js"); | ||
isSelected: state.selectedKeys.has(props.id), | ||
defaultSelected: false, | ||
setSelected (isSelected) { | ||
@@ -39,0 +40,0 @@ state.setSelected(props.id, isSelected); |
@@ -30,2 +30,3 @@ import {useToggleButton as $55f54f7887471b58$export$51e84d46ca0bc451} from "./useToggleButton.module.js"; | ||
isSelected: state.selectedKeys.has(props.id), | ||
defaultSelected: false, | ||
setSelected (isSelected) { | ||
@@ -32,0 +33,0 @@ state.setSelected(props.id, isSelected); |
{ | ||
"name": "@react-aria/button", | ||
"version": "3.0.0-nightly-6bdca86ba-250624", | ||
"version": "3.0.0-nightly-6c17b7c60-250912", | ||
"description": "Spectrum UI components in React", | ||
@@ -29,8 +29,8 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/interactions": "3.0.0-nightly-6bdca86ba-250624", | ||
"@react-aria/toolbar": "3.0.0-nightly-6bdca86ba-250624", | ||
"@react-aria/utils": "3.0.0-nightly-6bdca86ba-250624", | ||
"@react-stately/toggle": "3.0.0-nightly-6bdca86ba-250624", | ||
"@react-types/button": "3.0.0-nightly-6bdca86ba-250624", | ||
"@react-types/shared": "3.0.0-nightly-6bdca86ba-250624", | ||
"@react-aria/interactions": "3.0.0-nightly-6c17b7c60-250912", | ||
"@react-aria/toolbar": "3.0.0-nightly-6c17b7c60-250912", | ||
"@react-aria/utils": "3.0.0-nightly-6c17b7c60-250912", | ||
"@react-stately/toggle": "3.0.0-nightly-6c17b7c60-250912", | ||
"@react-types/button": "3.0.0-nightly-6c17b7c60-250912", | ||
"@react-types/shared": "3.0.0-nightly-6c17b7c60-250912", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -37,0 +37,0 @@ }, |
@@ -70,3 +70,11 @@ /* | ||
type, | ||
disabled: isDisabled | ||
disabled: isDisabled, | ||
form: props.form, | ||
formAction: props.formAction, | ||
formEncType: props.formEncType, | ||
formMethod: props.formMethod, | ||
formNoValidate: props.formNoValidate, | ||
formTarget: props.formTarget, | ||
name: props.name, | ||
value: props.value | ||
}; | ||
@@ -110,5 +118,6 @@ } else { | ||
'aria-pressed': props['aria-pressed'], | ||
'aria-current': props['aria-current'] | ||
'aria-current': props['aria-current'], | ||
'aria-disabled': props['aria-disabled'] | ||
}) | ||
}; | ||
} |
@@ -71,2 +71,3 @@ /* | ||
isSelected: state.selectedKeys.has(props.id), | ||
defaultSelected: false, | ||
setSelected(isSelected) { | ||
@@ -73,0 +74,0 @@ state.setSelected(props.id, isSelected); |
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
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
84748
3.11%856
4.9%4
100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated