From 07b9b759c7eaba22799f04d2ab20389b52744ee4 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 10:25:19 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g10=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ua/backlog.json | 4 ++-- .ua/iterations.log | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ua/backlog.json b/.ua/backlog.json index b5d1e6d..baa9922 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -442,8 +442,8 @@ "title": "新增 statistic 统计数值组件", "motivation": "看板需要大号数值 + 单位 + 环比趋势,现在只能手写;数值变化时的滚动动画能强化数据反馈", "acceptance": "新增 src/statistic.ts:title / value(Signal) / precision / prefix / suffix / trend(up|down),值变化用 rAF 从旧值滚到新值(约 400ms),prefers-reduced-motion 直接落终值,涨红跌绿;导出 + manifest + demo sec-statistic + 文档同步;npm run check 全绿", - "status": "open", - "notes": "自补:组件补充方向" + "status": "done", + "notes": "API 为 title + value(信号) + precision + prefix + suffix + trend;滚动用 rAF 逐帧改文本(400ms easeOutCubic),新目标先 cancelAnimationFrame 打断,收尾强制对齐终值防浮点残差;matchMedia prefers-reduced-motion 直落终值;trend 按 A 股涨红跌绿;demo sec-statistic 用随机涨跌按钮演示双向滚动" }, { "id": "g11", diff --git a/.ua/iterations.log b/.ua/iterations.log index bd73370..6264c18 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -54,3 +54,4 @@ {"ts":"2026-10-26T10:17:59+08:00","id":"g07","result":"done","commit":"db96a30","summary":"新增 timeline 时间线组件:语义色节点 + 左右轴线 + pending 进行中节点,demo/manifest/README/llms-full 同步"} {"ts":"2026-10-26T10:20:58+08:00","id":"g08","result":"done","commit":"0e385cd","summary":"新增 segmented 分段控制器:胶囊分段 + 滑动滑块 + 键盘导航,manifest/README/llms-full 同步"} {"ts":"2026-10-26T10:23:31+08:00","id":"g09","result":"done","commit":"d8d45fc","summary":"新增 descriptions 描述列表:label:value 网格 + 列数变量化 + 窄屏单列 + bordered 表格形态"} +{"ts":"2026-10-26T10:25:17+08:00","id":"g10","result":"done","commit":"2f8ccb6","summary":"新增 statistic 统计数值:rAF 滚动过渡 + 千分位精度 + 涨红跌绿趋势,减弱动效直落终值"}