From bc0d8fcf23fec0bfab10c6e44b4e97d0ad5eedd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=85=E5=87=A4?= Date: Fri, 23 Oct 2026 22:25:27 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat(ui):=20Textarea=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8E=9F=E4=BD=8D=E7=BC=96=E8=BE=91=E4=B8=8E=E5=93=81=E7=89=8C?= =?UTF-8?q?=E8=89=B2=E5=BA=95=E9=80=89=E9=A1=B9=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=20InfoHint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Textarea engage="hover":悬停也显示激活边框,仅用于外观与原内容一致的原位编辑框 - Textarea surface="brand-tint" 与 --field-edge-brand-tint:画在品牌色底上的输入框,激活边框浅色为近黑、深色为 --brand - InfoHint:只负责解释的 12px ⓘ,非按钮、可键盘聚焦,Tooltip 默认向上 - AGENTS.md 与 showcase 同步记录 Refs: MEMOH-222 --- AGENTS.md | 23 ++++++++++++- showcase/specs/index.ts | 2 ++ showcase/specs/info-hint.ts | 48 +++++++++++++++++++++++++++ showcase/specs/textarea.ts | 42 ++++++++++++++++++++--- src/components/info-hint/InfoHint.vue | 44 ++++++++++++++++++++++++ src/components/info-hint/index.ts | 6 ++++ src/components/textarea/Textarea.vue | 15 +++++++++ src/components/textarea/index.ts | 7 ++++ src/index.ts | 1 + src/style.css | 20 +++++++++++ 10 files changed, 203 insertions(+), 5 deletions(-) create mode 100644 showcase/specs/info-hint.ts create mode 100644 src/components/info-hint/InfoHint.vue create mode 100644 src/components/info-hint/index.ts diff --git a/AGENTS.md b/AGENTS.md index 1c15607..ae64a11 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -224,6 +224,16 @@ which silently leaves the SVG at its 24px intrinsic size.) of hand-rolling a hover on text. For an underlined inline link inside running prose use `variant="link"`; for a control-sized action use a normal `