@react-types/numberfield
Advanced tools
Comparing version 3.0.0-nightly.2703 to 3.0.0-nightly-4980928d3-240906
{ | ||
"name": "@react-types/numberfield", | ||
"version": "3.0.0-nightly.2703+ac27232f", | ||
"version": "3.0.0-nightly-4980928d3-240906", | ||
"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-4980928d3-240906" | ||
}, | ||
"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, |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
47
0
2884
3
+ Added@react-types/shared@3.25.0(transitive)
+ Addedreact@18.3.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)