@xsolla/xui-progress-line 0.149.1 → 0.151.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/README.md +0 -11
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,8 +6,6 @@ A cross-platform React linear progress bar component for displaying completion s
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @xsolla/xui-progress-line
|
|
9
|
-
# or
|
|
10
|
-
yarn add @xsolla/xui-progress-line
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## Demo
|
|
@@ -82,12 +80,3 @@ ProgressLine includes `role="progressbar"` and appropriate `aria-valuenow`, `ari
|
|
|
82
80
|
| percent | `number` | `0` | Progress percentage (0-100). |
|
|
83
81
|
| size | `"sm" \| "md" \| "lg"` | `"md"` | Height of the progress line. |
|
|
84
82
|
| state | `"default" \| "error" \| "success"` | `"default"` | Color state of the progress line. |
|
|
85
|
-
|
|
86
|
-
## Theming
|
|
87
|
-
|
|
88
|
-
```typescript
|
|
89
|
-
theme.colors.background.brand.primary // Default fill color
|
|
90
|
-
theme.colors.background.alert.primary // Error fill color
|
|
91
|
-
theme.colors.background.success.primary // Success fill color
|
|
92
|
-
theme.colors.control.faint.bg // Track color
|
|
93
|
-
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-progress-line",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.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.151.0",
|
|
14
|
+
"@xsolla/xui-primitives-core": "0.151.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": ">=16.8.0",
|