@startupjs-ui/progress 0.1.13 → 0.1.16
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/CHANGELOG.md +8 -0
- package/README.mdx +7 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.1.16](https://github.com/startupjs/startupjs-ui/compare/v0.1.15...v0.1.16) (2026-02-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @startupjs-ui/progress
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.1.13](https://github.com/startupjs/startupjs-ui/compare/v0.1.12...v0.1.13) (2026-02-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @startupjs-ui/progress
|
package/README.mdx
CHANGED
|
@@ -6,7 +6,9 @@ import Br from '@startupjs-ui/br'
|
|
|
6
6
|
|
|
7
7
|
# Progress
|
|
8
8
|
|
|
9
|
-
Progress
|
|
9
|
+
Progress displays the completion status of a process, such as a file upload or download. The `value` prop sets the progress percentage (0 to 100, defaults to `0`).
|
|
10
|
+
|
|
11
|
+
The component supports two visual variants via the `variant` prop: `'linear'` (default) and `'circular'`. You can customize the bar height with the `width` prop, the track shape with the `shape` prop (defaults to `'rounded'`), and apply custom styles using `style` for the wrapper, `progressStyle` for the progress track, and `fillerStyle` for the filled portion.
|
|
10
12
|
|
|
11
13
|
```jsx
|
|
12
14
|
import { Progress } from 'startupjs-ui'
|
|
@@ -22,6 +24,8 @@ return (
|
|
|
22
24
|
|
|
23
25
|
## Interactive
|
|
24
26
|
|
|
27
|
+
The progress bar animates smoothly as the `value` changes.
|
|
28
|
+
|
|
25
29
|
```jsx example
|
|
26
30
|
const [value, setValue] = useState(0)
|
|
27
31
|
const [startProgress, setStartProgress] = useState(false)
|
|
@@ -56,6 +60,8 @@ return (
|
|
|
56
60
|
|
|
57
61
|
## Caption
|
|
58
62
|
|
|
63
|
+
Pass `children` to display a label below the progress bar.
|
|
64
|
+
|
|
59
65
|
```jsx example
|
|
60
66
|
return (
|
|
61
67
|
<Progress value={50}>50 of 100</Progress>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs-ui/progress",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@startupjs-ui/core": "^0.1.11",
|
|
12
|
-
"@startupjs-ui/div": "^0.1.
|
|
13
|
-
"@startupjs-ui/span": "^0.1.
|
|
12
|
+
"@startupjs-ui/div": "^0.1.16",
|
|
13
|
+
"@startupjs-ui/span": "^0.1.16"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": "*",
|
|
17
17
|
"react-native": "*",
|
|
18
18
|
"startupjs": "*"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "9943aa3566d5d80f5b404473906eb3c0611f9ee5"
|
|
21
21
|
}
|