Socket
Socket
Sign inDemoInstall

@react-types/numberfield

Package Overview
Dependencies
Maintainers
2
Versions
668
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/numberfield - npm Package Compare versions

Comparing version 3.0.0-nightly.2703 to 3.0.0-nightly-641446f65-240905

10

package.json
{
"name": "@react-types/numberfield",
"version": "3.0.0-nightly.2703+ac27232f",
"version": "3.0.0-nightly-641446f65-240905",
"description": "Spectrum UI components in React",

@@ -12,6 +12,6 @@ "license": "Apache-2.0",

"dependencies": {
"@react-types/shared": "3.0.0-nightly.1023+ac27232f"
"@react-types/shared": "^3.0.0-nightly-641446f65-240905"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
},

@@ -21,3 +21,3 @@ "publishConfig": {

},
"gitHead": "ac27232f81bc0b9430efbedb154131b7f0d26352"
}
"stableVersion": "3.8.5"
}

@@ -17,6 +17,8 @@ /*

FocusableProps,
InputBase, LabelableProps,
RangeInputBase, SpectrumLabelableProps,
HelpTextProps,
InputBase, InputDOMProps, LabelableProps,
RangeInputBase, SpectrumFieldValidation, SpectrumLabelableProps,
StyleProps,
TextInputBase,
TextInputDOMEvents,
Validation,

@@ -26,3 +28,3 @@ ValueBase

export interface NumberFieldProps extends InputBase, Validation, FocusableProps, TextInputBase, ValueBase<number>, RangeInputBase<number>, LabelableProps {
export interface NumberFieldProps extends InputBase, Validation<number>, FocusableProps, TextInputBase, ValueBase<number>, RangeInputBase<number>, LabelableProps, HelpTextProps {
/**

@@ -35,10 +37,14 @@ * Formatting options for the value displayed in the number field.

export interface AriaNumberFieldProps extends NumberFieldProps, DOMProps, AriaLabelingProps {
export interface AriaNumberFieldProps extends NumberFieldProps, DOMProps, AriaLabelingProps, TextInputDOMEvents {
/** A custom aria-label for the decrement button. If not provided, the localized string "Decrement" is used. */
decrementAriaLabel?: string,
/** A custom aria-label for the increment button. If not provided, the localized string "Increment" is used. */
incrementAriaLabel?: string
incrementAriaLabel?: string,
/**
* Enables or disables changing the value with scroll.
*/
isWheelDisabled?: boolean
}
export interface SpectrumNumberFieldProps extends Omit<AriaNumberFieldProps, 'placeholder'>, StyleProps, SpectrumLabelableProps {
export interface SpectrumNumberFieldProps extends Omit<AriaNumberFieldProps, 'placeholder' | 'isInvalid' | 'validationState'>, SpectrumFieldValidation<number>, InputDOMProps, StyleProps, SpectrumLabelableProps {
/** Whether the numberfield should be displayed with a quiet style. */

@@ -45,0 +51,0 @@ isQuiet?: boolean,

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