@react-aria/textfield
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -23,3 +23,3 @@ var { | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
* @param ref - Ref to the HTML input or textarea element. | ||
*/ | ||
@@ -26,0 +26,0 @@ function useTextField(props, ref) { |
@@ -9,3 +9,3 @@ import { useLabel } from "@react-aria/label"; | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
* @param ref - Ref to the HTML input or textarea element. | ||
*/ | ||
@@ -12,0 +12,0 @@ export function useTextField(props, ref) { |
@@ -21,6 +21,6 @@ import { AriaTextFieldProps } from "@react-types/textfield"; | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
* @param ref - Ref to the HTML input or textarea element. | ||
*/ | ||
export function useTextField(props: AriaTextFieldOptions, ref: RefObject<HTMLInputElement>): TextFieldAria; | ||
export function useTextField(props: AriaTextFieldOptions, ref: RefObject<HTMLInputElement | HTMLTextAreaElement>): TextFieldAria; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@react-aria/textfield", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,10 +21,10 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "^3.2.0", | ||
"@react-aria/label": "^3.1.0", | ||
"@react-aria/utils": "^3.2.0", | ||
"@react-types/shared": "^3.2.0", | ||
"@react-types/textfield": "^3.2.0" | ||
"@react-aria/focus": "^3.2.2", | ||
"@react-aria/label": "^3.1.1", | ||
"@react-aria/utils": "^3.3.0", | ||
"@react-types/shared": "^3.2.1", | ||
"@react-types/textfield": "^3.2.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1" | ||
}, | ||
@@ -34,3 +34,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "661f0f2e3b8648a75aae83043267954700059fe0" | ||
"gitHead": "0778f71a3c13e1e24388a23b6d525e3b9f5b98f1" | ||
} |
@@ -40,7 +40,7 @@ /* | ||
* @param props - Props for the text field. | ||
* @param ref - Ref to the HTML input element. | ||
* @param ref - Ref to the HTML input or textarea element. | ||
*/ | ||
export function useTextField( | ||
props: AriaTextFieldOptions, | ||
ref: RefObject<HTMLInputElement> | ||
ref: RefObject<HTMLInputElement | HTMLTextAreaElement> | ||
): TextFieldAria { | ||
@@ -47,0 +47,0 @@ let { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37667
+ Addedreact@17.0.2(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
Updated@react-aria/focus@^3.2.2
Updated@react-aria/label@^3.1.1
Updated@react-aria/utils@^3.3.0
Updated@react-types/shared@^3.2.1