chore(backlog): 记录 g235 完成

This commit is contained in:
HIsheR
2026-10-26 21:26:44 +08:00
parent 5443aad8be
commit 671c87456e
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2501,6 +2501,15 @@
"status": "done", "status": "done",
"domain": "new", "domain": "new",
"notes": "组件 70→71;格子建一次不重渲染(焦点不丢),外部同步走单 effect(同值不写防打断输入法);样式复用 .ua-input 基类 + .ua-pin-cell 覆盖,零新增视觉字面量(audit 全 0);demo 锚点须全小写(verify 锚点正则只认 sec-[a-z0-9-],sec-pinInput 首跑踩坑改 sec-pininput);manifest/docs/README/llms-full 十处落点齐,check 全绿" "notes": "组件 70→71;格子建一次不重渲染(焦点不丢),外部同步走单 effect(同值不写防打断输入法);样式复用 .ua-input 基类 + .ua-pin-cell 覆盖,零新增视觉字面量(audit 全 0);demo 锚点须全小写(verify 锚点正则只认 sec-[a-z0-9-],sec-pinInput 首跑踩坑改 sec-pininput);manifest/docs/README/llms-full 十处落点齐,check 全绿"
},
{
"id": "g235",
"title": "新增 copyButton 复制按钮组件(组件 71→72)",
"motivation": "文档站 / 演示页 / 业务表单都高频需要「一键复制」,此前只能各写一份 navigator.clipboard 样板并各自处理降级。",
"acceptance": "点击写入剪贴板并短暂显示已复制文案(2s 还原);text 支持 string 或函数(点击瞬间取实时值);clipboard API 不可用时降级 execCommand;variant/size/disabled 沿用按钮口径;样式复用 .ua-btn 零新增字面量;十处落点齐全,npm run check 全绿。",
"status": "done",
"domain": "new",
"notes": "组件 71→72;复用 .ua-btn 类零新增 CSS;label 用 signal + h() 函数型子节点实现文案切换(ButtonProps.label 收窄为 string,不走组合改走直接构造避免动既有类型口径);execCommand 降级用隐藏 textarea 临时选区;check 全绿"
} }
] ]
} }
+1
View File
@@ -279,3 +279,4 @@
{"ts":"2026-10-26T20:47:17+08:00","id":"g232","result":"done","commit":"61f07e4","summary":"ua doctor 升到 8 项:git user.name/user.email 未配置时 FAIL 并提示配置命令,堵住「全过却提交不了」的死角"} {"ts":"2026-10-26T20:47:17+08:00","id":"g232","result":"done","commit":"61f07e4","summary":"ua doctor 升到 8 项:git user.name/user.email 未配置时 FAIL 并提示配置命令,堵住「全过却提交不了」的死角"}
{"ts":"2026-10-26T21:17:00+08:00","id":"g233","result":"done","commit":"0eb67c4","summary":"位移量令牌化:transform 位移收敛为 --ua-translate-* 七档(10px 并入 8 档),audit:visual 新增 translate-literal 第十三类,ui.css 33 处字面量迁移后基线归零"} {"ts":"2026-10-26T21:17:00+08:00","id":"g233","result":"done","commit":"0eb67c4","summary":"位移量令牌化:transform 位移收敛为 --ua-translate-* 七档(10px 并入 8 档),audit:visual 新增 translate-literal 第十三类,ui.css 33 处字面量迁移后基线归零"}
{"ts":"2026-10-26T21:23:14+08:00","id":"g234","result":"done","commit":"8740ab0","summary":"新增 pinInput 验证码输入(组件 70→71):进格/回删/移格/粘贴分发 + mask 密文,value 信号双向绑定,样式零新增视觉字面量"} {"ts":"2026-10-26T21:23:14+08:00","id":"g234","result":"done","commit":"8740ab0","summary":"新增 pinInput 验证码输入(组件 70→71):进格/回删/移格/粘贴分发 + mask 密文,value 信号双向绑定,样式零新增视觉字面量"}
{"ts":"2026-10-26T21:26:43+08:00","id":"g235","result":"done","commit":"5443aad","summary":"新增 copyButton 复制按钮(组件 71→72):已复制文案反馈 + execCommand 降级,text 支持函数实时取值,复用 .ua-btn 零新增样式"}