@react-aria/textfield
Advanced tools
Comparing version 3.2.1 to 3.2.2
import { AriaTextFieldProps } from "@react-types/textfield"; | ||
import { InputHTMLAttributes, LabelHTMLAttributes, RefObject, ElementType } from "react"; | ||
import { InputHTMLAttributes, LabelHTMLAttributes, RefObject, TextareaHTMLAttributes, ElementType } from "react"; | ||
interface TextFieldAria { | ||
/** Props for the input element. */ | ||
inputProps: InputHTMLAttributes<HTMLInputElement & HTMLTextAreaElement>; | ||
inputProps: InputHTMLAttributes<HTMLInputElement> | TextareaHTMLAttributes<HTMLTextAreaElement>; | ||
/** Props for the text field's visible label element (if any). */ | ||
@@ -7,0 +7,0 @@ labelProps: LabelHTMLAttributes<HTMLLabelElement>; |
{ | ||
"name": "@react-aria/textfield", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "Spectrum UI components in React", | ||
@@ -23,5 +23,5 @@ "license": "Apache-2.0", | ||
"@react-aria/label": "^3.1.1", | ||
"@react-aria/utils": "^3.3.0", | ||
"@react-aria/utils": "^3.4.1", | ||
"@react-types/shared": "^3.2.1", | ||
"@react-types/textfield": "^3.2.1" | ||
"@react-types/textfield": "^3.2.2" | ||
}, | ||
@@ -34,3 +34,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "0778f71a3c13e1e24388a23b6d525e3b9f5b98f1" | ||
"gitHead": "f5b429ee8615248f2e3c76754bad2ece83f1c444" | ||
} |
@@ -14,3 +14,3 @@ /* | ||
import {AriaTextFieldProps} from '@react-types/textfield'; | ||
import {ChangeEvent, InputHTMLAttributes, LabelHTMLAttributes, RefObject} from 'react'; | ||
import {ChangeEvent, InputHTMLAttributes, LabelHTMLAttributes, RefObject, TextareaHTMLAttributes} from 'react'; | ||
import {ElementType} from 'react'; | ||
@@ -23,3 +23,3 @@ import {filterDOMProps, mergeProps} from '@react-aria/utils'; | ||
/** Props for the input element. */ | ||
inputProps: InputHTMLAttributes<HTMLInputElement & HTMLTextAreaElement>, | ||
inputProps: InputHTMLAttributes<HTMLInputElement> | TextareaHTMLAttributes<HTMLTextAreaElement>, | ||
/** Props for the text field's visible label element (if any). */ | ||
@@ -26,0 +26,0 @@ labelProps: LabelHTMLAttributes<HTMLLabelElement> |
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
37871
Updated@react-aria/utils@^3.4.1