chore(backlog): 记录 g101 完成

This commit is contained in:
HIsheR
2026-10-26 13:50:16 +08:00
parent 265842ef63
commit f373b8cf31
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1171,7 +1171,7 @@
"motivation": "文档页、设置页、长表单都需要「侧边跳转 + 滚动高亮」,现在库里没有任何可复用件:demo 的侧栏目录 (buildToc) 是手写 IntersectionObserver + 类名切换,偏移量、hash 回写、禁用项、减少动效各写各的,调用方要复制一遍才用得上", "motivation": "文档页、设置页、长表单都需要「侧边跳转 + 滚动高亮」,现在库里没有任何可复用件:demo 的侧栏目录 (buildToc) 是手写 IntersectionObserver + 类名切换,偏移量、hash 回写、禁用项、减少动效各写各的,调用方要复制一遍才用得上",
"acceptance": "新增 anchor(props)(packages/skin/ui/src/anchor.ts,< 200 行):items/href/title/disabled、offset 偏移量、container 内滚容器、onChange 回调;滚动按目标位置高亮并同步 aria-current,点击平滑定位 + replaceState 回写 hash,prefers-reduced-motion 下瞬移;types/manifest/index/ui.css/demo/README/AGENTS/ARCHITECTURE 同步,npm run check 全绿", "acceptance": "新增 anchor(props)(packages/skin/ui/src/anchor.ts,< 200 行):items/href/title/disabled、offset 偏移量、container 内滚容器、onChange 回调;滚动按目标位置高亮并同步 aria-current,点击平滑定位 + replaceState 回写 hash,prefers-reduced-motion 下瞬移;types/manifest/index/ui.css/demo/README/AGENTS/ARCHITECTURE 同步,npm run check 全绿",
"notes": "自补:组件补充;样式全走令牌,选出态维持低视觉比重(accent 10% 底色 + 左侧 2px 指示条)", "notes": "自补:组件补充;样式全走令牌,选出态维持低视觉比重(accent 10% 底色 + 左侧 2px 指示条)",
"status": "open" "status": "done"
} }
] ]
} }
+1
View File
@@ -145,3 +145,4 @@
{"ts":"2026-10-26T13:16:32+08:00","id":"g98","result":"done","commit":"c32f20c","summary":"modal/drawer 新增 closeOnOverlay,false 时点遮罩不关,× 与 Esc 不变"} {"ts":"2026-10-26T13:16:32+08:00","id":"g98","result":"done","commit":"c32f20c","summary":"modal/drawer 新增 closeOnOverlay,false 时点遮罩不关,× 与 Esc 不变"}
{"ts":"2026-10-26T13:17:13+08:00","id":"g99","result":"done","commit":"a5d4faf","summary":"spinner 新增 label 可访问名,缺省仍为加载中"} {"ts":"2026-10-26T13:17:13+08:00","id":"g99","result":"done","commit":"a5d4faf","summary":"spinner 新增 label 可访问名,缺省仍为加载中"}
{"ts":"2026-10-26T13:17:42+08:00","id":"g100","result":"done","commit":"b190718","summary":"重新生成 CHANGELOG(273 提交),本次唤起 22 轮收尾"} {"ts":"2026-10-26T13:17:42+08:00","id":"g100","result":"done","commit":"b190718","summary":"重新生成 CHANGELOG(273 提交),本次唤起 22 轮收尾"}
{"ts":"2026-10-26T13:50:16+08:00","id":"g101","result":"done","commit":"265842e","summary":"新增 anchor 锚点导航:滚动高亮 + aria-current、offset 偏移定位、replaceState 写 hash,组件 57→58"}