@xsolla/xui-progress-line 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.
- package/native/index.js.flow +34 -0
- package/package.json +3 -3
- package/web/index.js.flow +34 -0
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { BoxProps } from "@xsolla/xui-primitives-core";
|
|
10
|
+
declare type ProgressLineSize = "sm" | "md" | "lg";
|
|
11
|
+
declare type ProgressLineState = "default" | "error" | "success";
|
|
12
|
+
declare type ProgressLineProps = {
|
|
13
|
+
/**
|
|
14
|
+
* Property for changing height of the line.
|
|
15
|
+
*/
|
|
16
|
+
size?: ProgressLineSize,
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Property for changing color of the inner line.
|
|
20
|
+
*/
|
|
21
|
+
state?: ProgressLineState,
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Property for changing width of the inner line.
|
|
25
|
+
*/
|
|
26
|
+
percent?: number,
|
|
27
|
+
...
|
|
28
|
+
} & $Diff<BoxProps, { size: any }>;
|
|
29
|
+
declare var ProgressLine: React.ForwardRefExoticComponent<{
|
|
30
|
+
...ProgressLineProps,
|
|
31
|
+
...React.RefAttributes<any>,
|
|
32
|
+
}>;
|
|
33
|
+
export type { ProgressLineProps, ProgressLineSize, ProgressLineState };
|
|
34
|
+
declare export { ProgressLine };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-progress-line",
|
|
3
|
-
"version": "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.
|
|
14
|
-
"@xsolla/xui-primitives-core": "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,34 @@
|
|
|
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
|
+
import { BoxProps } from "@xsolla/xui-primitives-core";
|
|
10
|
+
declare type ProgressLineSize = "sm" | "md" | "lg";
|
|
11
|
+
declare type ProgressLineState = "default" | "error" | "success";
|
|
12
|
+
declare type ProgressLineProps = {
|
|
13
|
+
/**
|
|
14
|
+
* Property for changing height of the line.
|
|
15
|
+
*/
|
|
16
|
+
size?: ProgressLineSize,
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Property for changing color of the inner line.
|
|
20
|
+
*/
|
|
21
|
+
state?: ProgressLineState,
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Property for changing width of the inner line.
|
|
25
|
+
*/
|
|
26
|
+
percent?: number,
|
|
27
|
+
...
|
|
28
|
+
} & $Diff<BoxProps, { size: any }>;
|
|
29
|
+
declare var ProgressLine: React.ForwardRefExoticComponent<{
|
|
30
|
+
...ProgressLineProps,
|
|
31
|
+
...React.RefAttributes<any>,
|
|
32
|
+
}>;
|
|
33
|
+
export type { ProgressLineProps, ProgressLineSize, ProgressLineState };
|
|
34
|
+
declare export { ProgressLine };
|