chore(backlog): 记录 g240 完成

This commit is contained in:
HIsheR
2026-10-26 21:41:00 +08:00
parent 594051975b
commit 9aa71e7cf4
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2546,6 +2546,15 @@
"status": "done",
"domain": "visual",
"notes": "迁移走 OUTLINE_TOKENS 整值精确匹配(squash 归一空白);2 处 alpha-mid 柔和描边归 --ua-focus-outline-soft;verify 拦下暗色覆盖缺失(三个新令牌补 [data-theme=dark] 同口径覆盖);AGENTS 审计类别数同步为十四;check 全绿"
},
{
"id": "g240",
"title": "button 增加 loading 态(既有组件打磨)",
"motivation": "异步提交按钮此前要业务自己拼「转圈 + 禁点 + 还原」三件事,switchButton 有 is-loading 而主按钮反而没有,口径不齐。",
"acceptance": "loading?: boolean | Signal<boolean>:加载中转圈(复用 ua-spin 帧体)并自动禁点,aria-busy 播报忙碌;文案位置不漂移(转圈非加载态不占位);prefers-reduced-motion 降级为静态环;manifest/docs/demo 同步;npm run check 全绿。",
"status": "done",
"domain": "tune",
"notes": "loading 布尔归一为信号走同一响应式路径;disabled 口径合并为「显式禁用或加载中」(bindProp 函数式属性);类名切换而非整棵重渲染(保焦点);CSS 复用 .ua-spinner 类 + .ua-btn-spin 尺寸覆盖,零新增字面量;check 全绿"
}
]
}