From 19741b52b6a6bb4fba8529848c5ba4aa8d008821 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 22:00:08 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g246=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 | 9 +++++++++ .ua/iterations.log | 1 + 2 files changed, 10 insertions(+) diff --git a/.ua/backlog.json b/.ua/backlog.json index 708d119..fdb3d8c 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -2600,6 +2600,15 @@ "status": "done", "domain": "visual", "notes": "高对比下辅助文字 4.85→7.49(亮)/4.72→8.71(暗)、三级文字 2.64→4.83,四套主题 16 对全绿;负向自检(把 text-faint 调亮)确认新主题会被判不达标" + }, + { + "id": "g246", + "title": "ua info 支持 --md 输出 Markdown 片段", + "motivation": "Agent 或人要把单个组件的参数表贴进文档 / issue / 回复时,只能从文本版参数表里手抄对齐空格,抄完还要重新排表格;清单数据本来就在手里。", + "acceptance": "ua info <组件id> --md 输出标题 + 参数表 + 用法步骤 + 示例代码块,类型里的竖线自动转义(联合类型不截断表格),尾部保留「出现在配方」指路;文本版与 --json 输出不变,用法串与 AGENTS/清单文档同步;npm run check 全绿。", + "status": "done", + "domain": "tooling", + "notes": "与文本版共用 formatComponent 的数据源,只多一个渲染函数;select 的 'a'|'b' 联合类型已实测转义为 \\| 不破表" } ] } diff --git a/.ua/iterations.log b/.ua/iterations.log index e30739b..c26d898 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -290,3 +290,4 @@ {"ts": "2026-10-26T21:55:31+08:00", "id": "g243", "result": "done", "commit": "f396a55", "summary": "文档站与演示页外壳配色统一从 tokens.json 派生(新增 lib/shell-palette.mjs 单一来源),旧手写暗色 accent 漂移归零"} {"ts": "2026-10-26T21:57:55+08:00", "id": "g244", "result": "done", "commit": "ea51493", "summary": "新增 inputTag 标签输入(组件 76):回车/逗号成标签、chip 逐个删、空框退格删末个、失焦自动入列,max 满额禁输,样式复用输入组与标签零新增字面量"} {"ts": "2026-10-26T21:58:58+08:00", "id": "g245", "result": "done", "commit": "6e52cc6", "summary": "新增 prefers-contrast: more 高对比令牌(边框/弱文字加深一档,只改既有变量),audit:contrast 升为亮/暗 × 常规/高对比四套主题 16 对全验"} +{"ts": "2026-10-26T22:00:07+08:00", "id": "g246", "result": "done", "commit": "c5238c6", "summary": "ua info 增加 --md:输出标题+参数表+用法+示例的 Markdown 片段,联合类型竖线自动转义,文本版与 --json 行为不变"}