@react-types/progress 3.3.0 → 3.4.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.d.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/progress",
3
- "version": "3.3.0",
3
+ "version": "3.4.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.17.0"
12
+ "@react-types/shared": "^3.18.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": "a0efee84aa178cb1a202951dfd6d8de02b292307"
20
+ "gitHead": "9d1ba9bd8ebcd63bf3495ade16d349bcb71795ce"
21
21
  }
package/src/index.d.ts CHANGED
@@ -34,8 +34,6 @@ interface ProgressBaseProps {
34
34
  export interface ProgressBarBaseProps extends ProgressBaseProps {
35
35
  /** The content to display as the label. */
36
36
  label?: ReactNode,
37
- /** Whether the value's label is displayed. True by default if there's a label, false by default if not. */
38
- showValueLabel?: boolean,
39
37
  /**
40
38
  * The display format of the value label.
41
39
  * @default {style: 'percent'}
@@ -84,7 +82,9 @@ export interface SpectrumProgressBarBaseProps extends AriaProgressBarBaseProps,
84
82
  * The label's overall position relative to the element it is labeling.
85
83
  * @default 'top'
86
84
  */
87
- labelPosition?: LabelPosition
85
+ labelPosition?: LabelPosition,
86
+ /** Whether the value's label is displayed. True by default if there's a label, false by default if not. */
87
+ showValueLabel?: boolean
88
88
  }
89
89
 
90
90
  export interface SpectrumProgressBarProps extends SpectrumProgressBarBaseProps, ProgressBarProps {