fix: retain fallback ColorSwatch ids on slot roots
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 当前工作区交接
|
||||
|
||||
- 任务:无进行中任务;COLOR-SWATCH 两项复核问题已修复并交付到任务分支。
|
||||
- 任务:无进行中任务;COLOR-SWATCH 已通过集成人复核,动态移除子ID的尾部问题已补齐。
|
||||
- 工作区/分支:heroui-vue / feat/color-swatch-public(起点 60af6ee,未合 main、未 push)。
|
||||
- 结果入口:docs/tasks/results/COLOR-SWATCH.md(含 CS-1/CS-2 返修记录)。
|
||||
- 下一步:由用户选择新任务;不自动开始下一任务。
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"base": "b129f79366e6a526e047cec917753e1434298fa3",
|
||||
"upstream": "ce90ea3ab49d58f6c428f71bfd6fe8ae2a87b960",
|
||||
"status": "done",
|
||||
"status": "accepted",
|
||||
"requires": [
|
||||
"packages/vue/src/components/color/value.ts",
|
||||
"packages/vue/src/components/color/model.ts",
|
||||
|
||||
@@ -63,3 +63,9 @@ Color.toWire目前仍出现在公开class声明中,虽然没有泄漏Reka具
|
||||
| 类型与文档构建 | `pnpm typecheck`、`pnpm build:docs` 通过 |
|
||||
| 独立产物 | `node scripts/check-package.mjs color-swatch` 通过;最终声明仍暴露 `element` 且无 Reka/Wire 泄漏 |
|
||||
| 浏览器复验 | 5185 重新打开 `/components/color-swatch`:7 个预览、尺寸/圆角/透明度/棋盘、styleFn 发光/渐变、asChild `data-custom` 均正常;无控制台错误与横向溢出 |
|
||||
|
||||
## 集成人二次复核:通过(2026-10-26)
|
||||
|
||||
复核b18949c,原CS-1/CS-2均通过。CS-1仍有动态移除子id的同根因遗漏:Slot的子props.id=undefined会覆盖生成id;本次直接补齐,将最终id通过公开cloneVNode同步到实际Slot根,不操作DOM或私有ref。原组合用例追加id移除及子ref保留断言,不新增另一轮测试文件。CS-1/CS-2现均关闭。
|
||||
|
||||
最终5文件/69项定向回归、vue-tsc、独立color-swatch tarball的ESM/CSS及strict NodeNext/bundler正反类型通过。未重复全库/文档构建或逐页浏览器,未增加SSR专项或启动服务。补修提交见本记录所在提交;仍在feat/color-swatch-public,未合main/push。
|
||||
|
||||
Reference in New Issue
Block a user