iter(g33): 新增 upload 文件选择组件

This commit is contained in:
HIsheR
2026-10-26 11:44:34 +08:00
parent 052c215609
commit f20e977fdf
13 changed files with 327 additions and 9 deletions
+8
View File
@@ -620,6 +620,14 @@
"acceptance": "↑↓ 在当前可见节点间移动、Home/End 到首末行,只改焦点不改选中,收起分支的子节点不参与遍历;npm run check 全绿",
"status": "done",
"notes": "自补:既有组件可用性细节;NodeList 需 Array.from 展开(downlevel 迭代)"
},
{
"id": "g33",
"title": "新增 upload 文件选择组件",
"motivation": "表单里选附件只能裸写 input[type=file],样式脱节、无拖拽、无已选清单,也没有统一的 onChange 出口",
"acceptance": "upload({ accept, multiple, hint, disabled, onChange }) 支持点击/拖拽/键盘选择、清单逐个移除、同名同大小去重、disabled 全禁;组件数 41→42 三处计数同步;npm run check 全绿",
"status": "open",
"notes": "自补:组件补充"
}
]
}