chore(backlog): 记录 g286 完成
This commit is contained in:
@@ -2960,6 +2960,15 @@
|
||||
"status": "done",
|
||||
"domain": "tune",
|
||||
"notes": ""
|
||||
},
|
||||
{
|
||||
"id": "g286",
|
||||
"title": "新增单行通知条组件 noticeBar",
|
||||
"motivation": "播报类目前只有 alert(可多行、带标题、占块)与 toast(浮层、会自动消失)。页顶常驻的那种「一行通告 + 关闭」没有对应件:用 alert 会浪费一整块垂直空间,用 toast 又会被自动收走。真实场景(维护公告、试用期倒计时、离线重试提示)需要的是一行高、可关闭、超长能滚的横条。",
|
||||
"acceptance": "新增 noticeBar(props):语义色四档 + 左侧符号(色彩之外的第二线索)+ 可选关闭;scroll=true 时正文走跑马灯(--ua-duration-loop-long),悬停暂停,减少动效偏好下停成静态且完整原文仍在 title;关闭隐藏整条并回调 onClose;样式只消费 --ua-* 令牌(audit:visual 不新增任何字面量,首次实现因 line-height:1 被拦下并改掉);audit:motion 的无限动画兜底从 6 处增至 7 处;manifest 双处 + demo sec-notice + README 清单与分组同步,npm run check 全绿",
|
||||
"status": "done",
|
||||
"domain": "new",
|
||||
"notes": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user