feat(blocksAntd): progress examples (no diff status normal OR active)

This commit is contained in:
Albert van Wyk 2020-11-09 14:16:18 +02:00 committed by Gervwyk
parent 3435b8a035
commit 557c61dde5
2 changed files with 99 additions and 3 deletions

View File

@ -1,6 +1,100 @@
- id: default
type: Progress
- id: properties.percent
- id: "properties.percent"
type: Progress
properties:
percent: 30
percent: 30
- id: "properties.type: circle"
type: Progress
properties:
type: circle
percent: 30
- id: "properties.type: dashboard"
type: Progress
properties:
type: dashboard
percent: 30
- id: "properties.showInfo: true"
type: Progress
properties:
showInfo: false
percent: 30
- id: "properties.status: success"
type: Progress
properties:
status: success
percent: 30
- id: "properties.status: exception"
type: Progress
properties:
status: exception
percent: 30
- id: "properties.status: normal"
type: Progress
properties:
status: normal
percent: 30
- id: "properties.status: active"
type: Progress
properties:
status: active
percent: 30
- id: "properties.strokeLinecap: square "
type: Progress
properties:
strokeLinecap: square
percent: 30
- id: "properties.strokeColor: '#e91e63'"
type: Progress
properties:
strokeColor: "#e91e63"
percent: 30
- id: "properties.trailColor: '#ff9800'"
type: Progress
properties:
trailColor: "#ff9800"
percent: 30
- id: "properties.strokeColor: '#e91e63' trailColor: '#ff9800'"
type: Progress
properties:
strokeColor: "#e91e63"
trailColor: "#ff9800"
percent: 30
- id: "properties.strokeWidth: 18"
type: Progress
properties:
strokeWidth: 18
percent: 30
- id: "properties.width: 180"
type: Progress
properties:
width: 180
type: circle
percent: 30
- id: "properties.gapDegree: 60"
type: Progress
properties:
gapDegree: 60
type: circle
percent: 30
- id: "properties.gapPosition: left"
type: Progress
properties:
gapPosition: left
gapDegree: 60
type: circle
percent: 30
- id: "properties.gapPosition: right"
type: Progress
properties:
gapPosition: right
gapDegree: 60
type: circle
percent: 30
- id: "properties.gapPosition: bottom"
type: Progress
properties:
gapPosition: bottom
gapDegree: 60
type: circle
percent: 30

View File

@ -14,7 +14,7 @@
},
"showInfo": {
"type": "boolean",
"default": false,
"default": true,
"description": "Whether to display the progress value and the status icon."
},
"percent": {
@ -25,6 +25,7 @@
"status": {
"type": "string",
"enum": ["success", "exception", "normal", "active"],
"default": "active",
"description": "Set the status of the Progress."
},
"strokeLinecap": {
@ -63,6 +64,7 @@
"gapPosition": {
"type": "string",
"enum": ["top", "bottom", "left", "right"],
"default": "top",
"description": "The gap position."
}
}