@react-types/numberfield 3.5.1-nightly.4094 → 3.5.1-nightly.4096

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.5.1-nightly.4094+8d367e025",
3
+ "version": "3.5.1-nightly.4096+e02d20562",
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.2388+8d367e025"
12
+ "@react-types/shared": "3.0.0-nightly.2390+e02d20562"
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": "8d367e0253073dcb7700896957e6db073517adab"
20
+ "gitHead": "e02d20562f4f7f24dd31f50ab1a9d93e58d52a05"
21
21
  }
package/src/index.d.ts CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  FocusableProps,
17
17
  HelpTextProps,
18
18
  InputBase, InputDOMProps, LabelableProps,
19
- RangeInputBase, SpectrumLabelableProps,
19
+ RangeInputBase, SpectrumFieldValidation, SpectrumLabelableProps,
20
20
  StyleProps,
21
21
  TextInputBase,
22
22
  TextInputDOMEvents,
@@ -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'>, InputDOMProps, StyleProps, SpectrumLabelableProps {
42
+ export interface SpectrumNumberFieldProps extends Omit<AriaNumberFieldProps, 'placeholder' | 'isInvalid' | 'validationState'>, SpectrumFieldValidation, 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. */