@react-types/numberfield 3.1.4-nightly.3180 → 3.1.4-nightly.3183

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/numberfield",
3
- "version": "3.1.4-nightly.3180+0bba35ae3",
3
+ "version": "3.1.4-nightly.3183+7f2896a53",
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.1481+0bba35ae3"
12
+ "@react-types/shared": "3.0.0-nightly.1484+7f2896a53"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "0bba35ae36b5d220570385215860d3ca3b549656"
20
+ "gitHead": "7f2896a53fc4696962b4f6beb0796116a83561ee"
21
21
  }
package/src/index.d.ts CHANGED
@@ -19,6 +19,7 @@ import {
19
19
  RangeInputBase, SpectrumLabelableProps,
20
20
  StyleProps,
21
21
  TextInputBase,
22
+ TextInputDOMEvents,
22
23
  Validation,
23
24
  ValueBase
24
25
  } from '@react-types/shared';
@@ -31,7 +32,7 @@ export interface NumberFieldProps extends InputBase, Validation, FocusableProps,
31
32
  formatOptions?: Intl.NumberFormatOptions
32
33
  }
33
34
 
34
- export interface AriaNumberFieldProps extends NumberFieldProps, DOMProps, AriaLabelingProps {
35
+ export interface AriaNumberFieldProps extends NumberFieldProps, DOMProps, AriaLabelingProps, TextInputDOMEvents {
35
36
  /** A custom aria-label for the decrement button. If not provided, the localized string "Decrement" is used. */
36
37
  decrementAriaLabel?: string,
37
38
  /** A custom aria-label for the increment button. If not provided, the localized string "Increment" is used. */