@react-types/progress 3.4.2 → 3.5.0
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 +13 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/progress",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
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.
|
|
12
|
+
"@react-types/shared": "^3.21.0"
|
|
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": "4122e44d1991c90507d630d35ed297f89db435d3"
|
|
21
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -68,7 +68,13 @@ export interface SpectrumProgressCircleProps extends AriaProgressCircleProps, St
|
|
|
68
68
|
* @default 'M'
|
|
69
69
|
*/
|
|
70
70
|
size?: 'S' | 'M' | 'L',
|
|
71
|
-
/** The
|
|
71
|
+
/** The static color style to apply. Useful when the button appears over a color background. */
|
|
72
|
+
staticColor?: 'white' | 'black',
|
|
73
|
+
/**
|
|
74
|
+
* The [visual style](https://spectrum.adobe.com/page/progress-circle/#Over-background-variant) of the ProgressCircle.
|
|
75
|
+
*
|
|
76
|
+
* @deprecated - use staticColor instead.
|
|
77
|
+
*/
|
|
72
78
|
variant?: 'overBackground'
|
|
73
79
|
}
|
|
74
80
|
|
|
@@ -88,6 +94,11 @@ export interface SpectrumProgressBarBaseProps extends AriaProgressBarBaseProps,
|
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
export interface SpectrumProgressBarProps extends SpectrumProgressBarBaseProps, ProgressBarProps {
|
|
91
|
-
/** The
|
|
97
|
+
/** The static color style to apply. Useful when the button appears over a color background. */
|
|
98
|
+
staticColor?: 'white' | 'black',
|
|
99
|
+
/**
|
|
100
|
+
* The [visual style](https://spectrum.adobe.com/page/progress-bar/#Over-background-variant) of the ProgressBar.
|
|
101
|
+
* @deprecated - use staticColor instead.
|
|
102
|
+
*/
|
|
92
103
|
variant?: 'overBackground'
|
|
93
104
|
}
|