chore(backlog): 记录 g207 完成

This commit is contained in:
HIsheR
2026-10-26 19:18:07 +08:00
parent 4eaa177c6d
commit b91c1952e9
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2249,6 +2249,15 @@
"domain": "tune",
"status": "done",
"notes": "落地:emit 加 allowZero 放行口,点击命中值与当前值精确相等即清零;aria-valuemin 随 allowClear 0/1 切换,读屏语义一致。"
},
{
"id": "g207",
"title": "progress 支持 format 自定义文本",
"motivation": "上传场景要显示「12.4 MB / 30 MB」而非百分比,当前进度文本写死取整百分号,线/环形都不能定制。",
"acceptance": "1) ProgressProps 新增 format?: (v: number) => string,传入则线/环形文本均用其返回值替代「N%」;2) 缺省行为不变;3) manifest props 表补行并 npm run docs 同步;4) npm run check 全绿。",
"domain": "tune",
"status": "done",
"notes": "落地:textOf 统一文本出口(format 优先,缺省取整百分号),线性与环形两条路径共用,环形 aria-label 同步走 textOf;ring 签名追加 textOf 参数零破坏。"
}
]
}
+1
View File
@@ -251,3 +251,4 @@
{"ts":"2026-10-26T19:13:53+08:00","id":"g204","result":"done","commit":"5bc854b","summary":"textarea 新增 autosize:布尔/对象(minRows/maxRows)双态,输入与信号写回都重算高度,行高从 computed style 推导零硬编码"}
{"ts":"2026-10-26T19:15:31+08:00","id":"g205","result":"done","commit":"6ee86ac","summary":"textField 新增 password:原生打点 + 内置显示/隐藏切换按钮(复用 clear 样式),与 clearable/计数不互斥"}
{"ts":"2026-10-26T19:16:49+08:00","id":"g206","result":"done","commit":"f763f63","summary":"rate 新增 allowClear:再点当前分(半星须精确相等)清零,aria-valuemin 同步 0/1"}
{"ts":"2026-10-26T19:18:06+08:00","id":"g207","result":"done","commit":"4eaa177","summary":"progress 新增 format 回调:线/环形进度文本可定制(如 MB 计数),缺省行为不变,环形 aria-label 同步"}