@adobe/spectrum-tokens
Version:
Design tokens for Spectrum, Adobe's design system
42 lines (41 loc) • 1.23 kB
JSON
{
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/progress-circle.json",
"title": "Progress circle",
"description": "Progress circles show the progression of a system operation such as downloading, uploading, processing, etc. in a visual way. They can represent determinate or indeterminate progress.",
"meta": {
"category": "status",
"documentationUrl": "https://spectrum.adobe.com/page/progress-circle/"
},
"type": "object",
"properties": {
"variant": {
"type": "string",
"enum": ["default", "over background"],
"default": "default"
},
"value": {
"type": "number",
"description": "Not applicable when indeterminate."
},
"minValue": {
"type": "number",
"default": 0,
"description": "Not applicable when indeterminate."
},
"maxValue": {
"type": "number",
"default": 1,
"description": "Not applicable when indeterminate."
},
"size": {
"type": "string",
"enum": ["s", "m", "l"],
"default": "m"
},
"isIndeterminate": {
"type": "boolean",
"default": false
}
}
}