@xsolla/xui-progress-bar 0.74.0 → 0.76.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.
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Flowtype definitions for index
3
+ * Generated by Flowgen from a Typescript Definition
4
+ * Flowgen v1.21.0
5
+ * @flow
6
+ */
7
+
8
+ import React from "react";
9
+ declare interface ProgressBarProps {
10
+ /**
11
+ * Size of the progress bar
12
+ */
13
+ size?: "xl" | "lg" | "md" | "sm" | "xs";
14
+
15
+ /**
16
+ * Current state of the progress bar
17
+ */
18
+ state?: "default" | "success" | "error";
19
+
20
+ /**
21
+ * Progress percentage (0-100)
22
+ */
23
+ percent?: number;
24
+
25
+ /**
26
+ * Optional label text
27
+ */
28
+ label?: string;
29
+
30
+ /**
31
+ * Optional helper text
32
+ */
33
+ helperText?: string;
34
+
35
+ /**
36
+ * Optional error message (shown when state is 'error')
37
+ */
38
+ errorMessage?: string;
39
+
40
+ /**
41
+ * Optional icon to show with label
42
+ */
43
+ labelIcon?: React.ReactNode;
44
+
45
+ /**
46
+ * Optional status icon
47
+ */
48
+ statusIcon?: React.ReactNode;
49
+ }
50
+ declare var ProgressBar: React.FC<ProgressBarProps>;
51
+ export type { ProgressBarProps };
52
+ declare export { ProgressBar };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-progress-bar",
3
- "version": "0.74.0",
3
+ "version": "0.76.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-core": "0.74.0",
14
- "@xsolla/xui-primitives-core": "0.74.0"
13
+ "@xsolla/xui-core": "0.76.0",
14
+ "@xsolla/xui-primitives-core": "0.76.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Flowtype definitions for index
3
+ * Generated by Flowgen from a Typescript Definition
4
+ * Flowgen v1.21.0
5
+ * @flow
6
+ */
7
+
8
+ import React from "react";
9
+ declare interface ProgressBarProps {
10
+ /**
11
+ * Size of the progress bar
12
+ */
13
+ size?: "xl" | "lg" | "md" | "sm" | "xs";
14
+
15
+ /**
16
+ * Current state of the progress bar
17
+ */
18
+ state?: "default" | "success" | "error";
19
+
20
+ /**
21
+ * Progress percentage (0-100)
22
+ */
23
+ percent?: number;
24
+
25
+ /**
26
+ * Optional label text
27
+ */
28
+ label?: string;
29
+
30
+ /**
31
+ * Optional helper text
32
+ */
33
+ helperText?: string;
34
+
35
+ /**
36
+ * Optional error message (shown when state is 'error')
37
+ */
38
+ errorMessage?: string;
39
+
40
+ /**
41
+ * Optional icon to show with label
42
+ */
43
+ labelIcon?: React.ReactNode;
44
+
45
+ /**
46
+ * Optional status icon
47
+ */
48
+ statusIcon?: React.ReactNode;
49
+ }
50
+ declare var ProgressBar: React.FC<ProgressBarProps>;
51
+ export type { ProgressBarProps };
52
+ declare export { ProgressBar };