Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/textfield

Package Overview
Dependencies
Maintainers
2
Versions
813
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/textfield - npm Package Compare versions

Comparing version 3.0.0-nightly-8ab4f20de-240913 to 3.0.0-nightly-93c26d8bd-241025

2

dist/types.d.ts

@@ -39,3 +39,3 @@ import { AriaTextFieldProps } from "@react-types/textfield";

type TextFieldInputProps<T extends TextFieldIntrinsicElements> = TextFieldHTMLAttributesType[T];
export interface AriaTextFieldOptions<T extends TextFieldIntrinsicElements> extends AriaTextFieldProps {
export interface AriaTextFieldOptions<T extends TextFieldIntrinsicElements> extends AriaTextFieldProps<TextFieldHTMLElementType[T]> {
/**

@@ -42,0 +42,0 @@ * The HTML element used to render the input, e.g. 'input', or 'textarea'.

{
"name": "@react-aria/textfield",
"version": "3.0.0-nightly-8ab4f20de-240913",
"version": "3.0.0-nightly-93c26d8bd-241025",
"description": "Spectrum UI components in React",

@@ -25,10 +25,10 @@ "license": "Apache-2.0",

"dependencies": {
"@react-aria/focus": "^3.0.0-nightly-8ab4f20de-240913",
"@react-aria/form": "^3.0.0-nightly-8ab4f20de-240913",
"@react-aria/label": "^3.0.0-nightly-8ab4f20de-240913",
"@react-aria/utils": "^3.0.0-nightly-8ab4f20de-240913",
"@react-stately/form": "^3.0.0-nightly-8ab4f20de-240913",
"@react-stately/utils": "^3.0.0-nightly-8ab4f20de-240913",
"@react-types/shared": "^3.0.0-nightly-8ab4f20de-240913",
"@react-types/textfield": "^3.0.0-nightly-8ab4f20de-240913",
"@react-aria/focus": "^3.0.0-nightly-93c26d8bd-241025",
"@react-aria/form": "^3.0.0-nightly-93c26d8bd-241025",
"@react-aria/label": "^3.0.0-nightly-93c26d8bd-241025",
"@react-aria/utils": "^3.0.0-nightly-93c26d8bd-241025",
"@react-stately/form": "^3.0.0-nightly-93c26d8bd-241025",
"@react-stately/utils": "^3.0.0-nightly-93c26d8bd-241025",
"@react-types/shared": "^3.0.0-nightly-93c26d8bd-241025",
"@react-types/textfield": "^3.0.0-nightly-93c26d8bd-241025",
"@swc/helpers": "^0.5.0"

@@ -42,3 +42,3 @@ },

},
"stableVersion": "3.14.8"
"stableVersion": "3.14.10"
}

@@ -72,3 +72,3 @@ /*

export interface AriaTextFieldOptions<T extends TextFieldIntrinsicElements> extends AriaTextFieldProps {
export interface AriaTextFieldOptions<T extends TextFieldIntrinsicElements> extends AriaTextFieldProps<TextFieldHTMLElementType[T]> {
/**

@@ -122,5 +122,5 @@ * The HTML element used to render the input, e.g. 'input', or 'textarea'.

validationBehavior = 'aria'
}: AriaTextFieldOptions<TextFieldIntrinsicElements> = props;
} = props;
let [value, setValue] = useControlledState<string>(props.value, props.defaultValue || '', props.onChange);
let {focusableProps} = useFocusable(props, ref);
let {focusableProps} = useFocusable<TextFieldHTMLElementType[T]>(props, ref);
let validationState = useFormValidationState({

@@ -127,0 +127,0 @@ ...props,

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

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