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",
"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 全绿"
},
{
"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 全绿"
}
]
}