{ "schemaVersion": 2, "sourceKind": "structured-spec", "confidence": "high", "slug": "progressvariants", "family": "loading-state", "familyRole": "variant", "familyParams": {"shape":"bar"}, "name": "进度条变体 ProgressVariants", "semanticTypeCandidates": [ "progress", "indicator" ], "variantDimensions": [ { "name": "shape", "values": [ "line", "circle", "dashboard" ] }, { "name": "status", "values": [ "normal", "success", "warning", "error" ] }, { "name": "showText", "values": [ "true", "false" ] } ], "representativeVariants": [ { "shape": "line", "status": "normal", "showText": "true", "label": "线型 + 百分比" }, { "shape": "circle", "status": "normal", "showText": "true", "label": "圆形" }, { "shape": "dashboard", "status": "normal", "showText": "true", "label": "仪表盘型" }, { "shape": "line", "status": "success", "showText": "true", "label": "成功状态" }, { "shape": "line", "status": "error", "showText": "false", "label": "错误状态(无文字)" } ], "anatomy": { "track": "轨道", "bar": "进度条", "text": "可显示百分比文字", "status": "支持状态颜色(成功、警告、错误)" }, "structurePatterns": { "shapes": "线型 / 圆形 / 仪表盘", "status": "4 种" }, "usageHints": [ "线型、圆形、仪表盘型", "支持状态颜色(成功、警告、错误)", "可显示百分比文字", "可带图标", "适用于上传、任务进度" ], "doNotInvent": [ "环形动画的缓动" ], "unknowns": [ "线型的高度与圆角", "圆形/仪表盘的默认直径" ] }