@react-aria/textfield
Advanced tools
Comparing version 3.0.2 to 3.1.0
@@ -22,4 +22,4 @@ var { | ||
* Provides the behavior and accessibility implementation for a text field. | ||
* @param props - props for the text field | ||
* @param ref - ref to the HTML input element | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
*/ | ||
@@ -26,0 +26,0 @@ function useTextField(props, ref) { |
@@ -8,4 +8,4 @@ import { useLabel } from "@react-aria/label"; | ||
* Provides the behavior and accessibility implementation for a text field. | ||
* @param props - props for the text field | ||
* @param ref - ref to the HTML input element | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
*/ | ||
@@ -12,0 +12,0 @@ export function useTextField(props, ref) { |
@@ -11,4 +11,4 @@ import { AriaTextFieldProps } from "@react-types/textfield"; | ||
* Provides the behavior and accessibility implementation for a text field. | ||
* @param props - props for the text field | ||
* @param ref - ref to the HTML input element | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
*/ | ||
@@ -15,0 +15,0 @@ export function useTextField(props: AriaTextFieldProps, ref: RefObject<HTMLInputElement>): TextFieldAria; |
{ | ||
"name": "@react-aria/textfield", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,7 +21,7 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "^3.0.2", | ||
"@react-aria/label": "^3.0.2", | ||
"@react-aria/utils": "^3.0.2", | ||
"@react-types/shared": "^3.0.2", | ||
"@react-types/textfield": "^3.0.2" | ||
"@react-aria/focus": "^3.1.0", | ||
"@react-aria/label": "^3.1.0", | ||
"@react-aria/utils": "^3.1.0", | ||
"@react-types/shared": "^3.1.0", | ||
"@react-types/textfield": "^3.1.0" | ||
}, | ||
@@ -34,3 +34,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "05003506f02a0ec173f3448f1801cbdf12b47bc7" | ||
"gitHead": "211099972fe75ee581892efd01a7f89dfb9cdf69" | ||
} |
@@ -21,5 +21,5 @@ /* | ||
/** Props for the input element. */ | ||
inputProps: InputHTMLAttributes<HTMLInputElement & HTMLTextAreaElement> | ||
inputProps: InputHTMLAttributes<HTMLInputElement & HTMLTextAreaElement>, | ||
/** Props for the text field's visible label element (if any). */ | ||
labelProps: LabelHTMLAttributes<HTMLLabelElement>, | ||
labelProps: LabelHTMLAttributes<HTMLLabelElement> | ||
} | ||
@@ -29,4 +29,4 @@ | ||
* Provides the behavior and accessibility implementation for a text field. | ||
* @param props - props for the text field | ||
* @param ref - ref to the HTML input element | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
*/ | ||
@@ -33,0 +33,0 @@ export function useTextField( |
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
34562
Updated@react-aria/focus@^3.1.0
Updated@react-aria/label@^3.1.0
Updated@react-aria/utils@^3.1.0
Updated@react-types/shared@^3.1.0