@react-types/numberfield 3.6.2-nightly.4230 → 3.6.2-nightly.4242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/numberfield",
3
- "version": "3.6.2-nightly.4230+192e66d11",
3
+ "version": "3.6.2-nightly.4242+068ecd12e",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/shared": "3.0.0-nightly.2519+192e66d11"
12
+ "@react-types/shared": "3.0.0-nightly.2531+068ecd12e"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "192e66d11e2f49caba5194e2094bfd1534db7cda"
20
+ "gitHead": "068ecd12e8a8c61546dfda691b04ca87cbdae687"
21
21
  }
package/src/index.d.ts CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  ValueBase
25
25
  } from '@react-types/shared';
26
26
 
27
- export interface NumberFieldProps extends InputBase, Validation, FocusableProps, TextInputBase, ValueBase<number>, RangeInputBase<number>, LabelableProps, HelpTextProps {
27
+ export interface NumberFieldProps extends InputBase, Validation<number>, FocusableProps, TextInputBase, ValueBase<number>, RangeInputBase<number>, LabelableProps, HelpTextProps {
28
28
  /**
29
29
  * Formatting options for the value displayed in the number field.
30
30
  * This also affects what characters are allowed to be typed by the user.
@@ -39,7 +39,7 @@ export interface AriaNumberFieldProps extends NumberFieldProps, DOMProps, AriaLa
39
39
  incrementAriaLabel?: string
40
40
  }
41
41
 
42
- export interface SpectrumNumberFieldProps extends Omit<AriaNumberFieldProps, 'placeholder' | 'isInvalid' | 'validationState'>, SpectrumFieldValidation, InputDOMProps, StyleProps, SpectrumLabelableProps {
42
+ export interface SpectrumNumberFieldProps extends Omit<AriaNumberFieldProps, 'placeholder' | 'isInvalid' | 'validationState'>, SpectrumFieldValidation<number>, InputDOMProps, StyleProps, SpectrumLabelableProps {
43
43
  /** Whether the numberfield should be displayed with a quiet style. */
44
44
  isQuiet?: boolean,
45
45
  /** Whether to hide the increment and decrement buttons. */