feat(dees-progressbar): add status panels, terminal output, and legacy progress input support
This commit is contained in:
@@ -1524,15 +1524,25 @@ Multi-step navigation component for guided user flows.
|
||||
```
|
||||
|
||||
#### `DeesProgressbar`
|
||||
Progress indicator component for tracking completion status.
|
||||
Progress indicator component for tracking completion status, with optional fixed-height status text or terminal-style recent activity output.
|
||||
|
||||
```typescript
|
||||
<dees-progressbar
|
||||
value={75}
|
||||
.percentage=${75}
|
||||
label="Uploading"
|
||||
showPercentage
|
||||
type="determinate" // Options: determinate, indeterminate
|
||||
status="normal" // Options: normal, success, warning, error
|
||||
statusText="Uploading thumbnails to edge cache..."
|
||||
.statusRows=${2}
|
||||
></dees-progressbar>
|
||||
|
||||
<dees-progressbar
|
||||
label="Installing dependencies"
|
||||
.indeterminate=${true}
|
||||
.statusRows=${4}
|
||||
.terminalLines=${[
|
||||
'Resolving workspace packages',
|
||||
'Downloading tarballs',
|
||||
'Linking local binaries'
|
||||
]}
|
||||
></dees-progressbar>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user