Socket
Socket
Sign inDemoInstall

@react-types/textfield

Package Overview
Dependencies
Maintainers
1
Versions
763
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/textfield - npm Package Compare versions

Comparing version 3.0.0-rc.2 to 3.0.0-rc.3

6

package.json
{
"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,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc