@react-aria/textfield
Advanced tools
Comparing version 3.0.0-rc.3 to 3.0.0-rc.4
@@ -57,3 +57,3 @@ var { | ||
value: props.value, | ||
defaultValue: props.defaultValue, | ||
defaultValue: props.value ? undefined : props.defaultValue, | ||
onChange: e => _onChange(e.target.value), | ||
@@ -80,3 +80,3 @@ autoComplete: props.autoComplete, | ||
onInput: props.onInput | ||
}, focusableProps, {}, fieldProps)) | ||
}, focusableProps, fieldProps)) | ||
}; | ||
@@ -83,0 +83,0 @@ } |
@@ -43,3 +43,3 @@ import { useLabel } from "@react-aria/label"; | ||
value: props.value, | ||
defaultValue: props.defaultValue, | ||
defaultValue: props.value ? undefined : props.defaultValue, | ||
onChange: e => _onChange(e.target.value), | ||
@@ -66,5 +66,5 @@ autoComplete: props.autoComplete, | ||
onInput: props.onInput | ||
}, focusableProps, {}, fieldProps)) | ||
}, focusableProps, fieldProps)) | ||
}; | ||
} | ||
//# sourceMappingURL=module.js.map |
{ | ||
"name": "@react-aria/textfield", | ||
"version": "3.0.0-rc.3", | ||
"version": "3.0.0-rc.4", | ||
"description": "Spectrum UI components in React", | ||
@@ -11,3 +11,4 @@ "license": "Apache-2.0", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
@@ -21,7 +22,7 @@ "sideEffects": false, | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "3.0.0-rc.3", | ||
"@react-aria/label": "3.0.0-rc.3", | ||
"@react-aria/utils": "3.0.0-rc.3", | ||
"@react-types/shared": "3.0.0-rc.3", | ||
"@react-types/textfield": "3.0.0-rc.3" | ||
"@react-aria/focus": "3.0.0-rc.4", | ||
"@react-aria/label": "3.0.0-rc.4", | ||
"@react-aria/utils": "3.0.0-rc.4", | ||
"@react-types/shared": "3.0.0-rc.4", | ||
"@react-types/textfield": "3.0.0-rc.4" | ||
}, | ||
@@ -34,3 +35,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "461d6321126ae9b4f1508aa912f7b36bf8a603f8" | ||
"gitHead": "ee5ad1544ed65366c0fadabc2c63d39573ba3ffd" | ||
} |
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
34597
11
254
+ Added@react-aria/focus@3.0.0-rc.4(transitive)
+ Added@react-aria/interactions@3.0.0-rc.4(transitive)
+ Added@react-aria/label@3.0.0-rc.4(transitive)
+ Added@react-aria/utils@3.0.0-rc.4(transitive)
+ Added@react-types/label@3.0.0-rc.4(transitive)
+ Added@react-types/shared@3.0.0-rc.4(transitive)
+ Added@react-types/textfield@3.0.0-rc.4(transitive)
- Removed@react-aria/focus@3.0.0-rc.3(transitive)
- Removed@react-aria/interactions@3.0.0-rc.3(transitive)
- Removed@react-aria/label@3.0.0-rc.3(transitive)
- Removed@react-aria/utils@3.0.0-rc.3(transitive)
- Removed@react-types/label@3.0.0-rc.3(transitive)
- Removed@react-types/shared@3.0.0-rc.3(transitive)
- Removed@react-types/textfield@3.0.0-rc.3(transitive)
Updated@react-aria/focus@3.0.0-rc.4
Updated@react-aria/label@3.0.0-rc.4
Updated@react-aria/utils@3.0.0-rc.4