@react-types/button 3.7.5-nightly.4094 → 3.7.5-nightly.4100
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 +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/button",
|
|
3
|
-
"version": "3.7.5-nightly.
|
|
3
|
+
"version": "3.7.5-nightly.4100+d4d21a7dd",
|
|
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.2394+d4d21a7dd"
|
|
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": "d4d21a7dd77122cfa51f202c82facfa47ab7d5c2"
|
|
21
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -74,6 +74,8 @@ export interface SpectrumButtonProps<T extends ElementType = 'button'> extends A
|
|
|
74
74
|
style?: 'fill' | 'outline',
|
|
75
75
|
/** The static color style to apply. Useful when the button appears over a color background. */
|
|
76
76
|
staticColor?: 'white' | 'black',
|
|
77
|
+
/** Whether to disable events immediately and display a loading spinner after a 1 second delay. */
|
|
78
|
+
UNSTABLE_isPending?: boolean,
|
|
77
79
|
/**
|
|
78
80
|
* Whether the button should be displayed with a quiet style.
|
|
79
81
|
* @deprecated
|