@react-types/numberfield 3.7.1-nightly.4430 → 3.7.1-nightly.4440
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.
- package/package.json +3 -3
- package/src/index.d.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/numberfield",
|
|
3
|
-
"version": "3.7.1-nightly.
|
|
3
|
+
"version": "3.7.1-nightly.4440+cdb2fe212",
|
|
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.
|
|
12
|
+
"@react-types/shared": "3.0.0-nightly.2728+cdb2fe212"
|
|
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": "
|
|
20
|
+
"gitHead": "cdb2fe21213d9e8b03d782d82bda07742ab3afbd"
|
|
21
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -36,7 +36,11 @@ export interface AriaNumberFieldProps extends NumberFieldProps, DOMProps, AriaLa
|
|
|
36
36
|
/** A custom aria-label for the decrement button. If not provided, the localized string "Decrement" is used. */
|
|
37
37
|
decrementAriaLabel?: string,
|
|
38
38
|
/** A custom aria-label for the increment button. If not provided, the localized string "Increment" is used. */
|
|
39
|
-
incrementAriaLabel?: string
|
|
39
|
+
incrementAriaLabel?: string,
|
|
40
|
+
/**
|
|
41
|
+
* Enables or disables changing the value with scroll.
|
|
42
|
+
*/
|
|
43
|
+
isWheelDisabled?: boolean
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
export interface SpectrumNumberFieldProps extends Omit<AriaNumberFieldProps, 'placeholder' | 'isInvalid' | 'validationState'>, SpectrumFieldValidation<number>, InputDOMProps, StyleProps, SpectrumLabelableProps {
|