@react-types/textfield
Advanced tools
Comparing version 3.0.0-rc.2 to 3.0.0-rc.3
{ | ||
"name": "@react-types/textfield", | ||
"version": "3.0.0-rc.2", | ||
"version": "3.0.0-rc.3", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,3 +12,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "^3.0.0-rc.2" | ||
"@react-types/shared": "3.0.0-rc.3" | ||
}, | ||
@@ -21,3 +21,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "207e6ee9076905c96638a7f81a367758872e1410" | ||
"gitHead": "461d6321126ae9b4f1508aa912f7b36bf8a603f8" | ||
} |
@@ -13,8 +13,35 @@ /* | ||
import {FocusableRefValue, InputBase, LabelableProps, SpectrumLabelableProps, StyleProps, TextInputBase, TextInputDOMProps, ValueBase} from '@react-types/shared'; | ||
import { | ||
AriaLabelingProps, | ||
AriaValidationProps, | ||
FocusableDOMProps, | ||
FocusableProps, | ||
FocusableRefValue, | ||
InputBase, | ||
LabelableProps, | ||
SpectrumLabelableProps, | ||
StyleProps, | ||
TextInputBase, | ||
TextInputDOMProps, | ||
Validation, | ||
ValueBase | ||
} from '@react-types/shared'; | ||
import {ReactElement} from 'react'; | ||
export interface TextFieldProps extends InputBase, TextInputBase, ValueBase<string>, LabelableProps {} | ||
export interface TextFieldProps extends InputBase, Validation, FocusableProps, TextInputBase, ValueBase<string>, LabelableProps {} | ||
export interface SpectrumTextFieldProps extends TextFieldProps, SpectrumLabelableProps, TextInputDOMProps, StyleProps { | ||
export interface AriaTextFieldProps extends TextFieldProps, AriaLabelingProps, FocusableDOMProps, TextInputDOMProps, AriaValidationProps { | ||
// https://www.w3.org/TR/wai-aria-1.2/#textbox | ||
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */ | ||
'aria-activedescendant'?: string, | ||
/** | ||
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be | ||
* presented if they are made. | ||
*/ | ||
'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both', | ||
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */ | ||
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | ||
} | ||
export interface SpectrumTextFieldProps extends AriaTextFieldProps, SpectrumLabelableProps, StyleProps { | ||
/** An icon to display at the start of the textfield. */ | ||
@@ -21,0 +48,0 @@ icon?: ReactElement, |
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
14369
50
+ Added@react-types/shared@3.0.0-rc.3(transitive)
- Removed@react-types/shared@3.25.0(transitive)