feat(ui): 统一设计 Token、组件契约与消费交付 - #43
Merged
Merged
Conversation
- 统一维护指南、生成物责任和真实操作命令 - 修正安装、样式、迁移与下游联调文档 - 建立并记录 UI 基础能力工作包与 L0 验证证据
- 统一文本角色、语义配色及 CSS/Sass/Uno 读取关系,限制 Figma 为已知路径值更新。 - 完善字段关联、原生按钮和模态行为、日期确认草稿、异步状态及 schema 实例隔离。 - 同步组件默认布局、Story、随包 Skill、样式与迁移指南,记录两份 major Changeset。 - 验证:完整 pnpm check、公开 tarball 消费页及既有 C/D/E 交互旅程通过。
- 校准维护入口对规范源与 Figma 值提议的说明。 - 记录 B3/B4 的设计裁决、B5 正式迁移和基础消费验收证据。 - 将 B—E 实现关联至 b9c0bc6,补齐工作包引用的代表截图。 - 区分 F/G 已有基础与剩余缺口,建议先 G1 调查,再完善 API 事实和实际交付。 - 保留停止 Firefox 文字放大专项的用户边界;平台实现继续暂缓。
- 统一消费者与维护者设计入口,补齐组件 API 和可检查配方 - 校准依赖、Vue 下限与独立安装契约,归档 L3 验证 - 记录正式发布和独立 worktree 下游迁移授权
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本次 major 整理 InKCre Web UI 的设计 Token、组件交互与消费交付。旧的隐式按钮提交、逐字 JSON 解析和混用文本/颜色角色会导致下游行为或显示不一致;现在以明确提交、原始 JSON 草稿、确认边界及语义角色作为共同契约,并提供对应迁移说明。
同时交付消费者与维护者共享的 DESIGN.md、21 个组件的生成 API 事实、来自 Story 的三份完整配方。内部编辑器与 JSON 依赖由包自行安装,Vue 最低版本为 3.5.25,UnoCSS 保持可选;包检查使用独立消费者并关闭 skipLibCheck。所有改动沿用现有生成、Story、Skill 与 Changesets 机制。
验证:本地完整 pnpm check 通过(21 个 Story、120 个 Variant),独立 tarball 的公开入口、指南代码、Intent、Sass/Uno 通过;代表浏览器旅程验证保存成功/失败、JSON 草稿、浮层、主题和窄容器。API 生成对未知 helper 和过期设计指南按预期失败。范围、设计判断及可复跑证据见 tasks/ui-foundations/packet.md。
兼容与交付:这是 breaking release,Changesets 将准备 2.0.0;main 上的正常工作流负责正式包发布和 Histoire 部署。client-web、mail、twitter 当前锁定 1.4.0,将在独立的 feat/ui-v2-migration worktree 中迁移。无数据库迁移或新凭据。回退时消费者恢复升级前锁文件与对应调用,不以本地 tarball 代替 registry 产物。
本 PR 无未合并的父/子 PR。当前功能分支包含之前已本地提交的 L0、B—E/B5 和本轮 L3,一并以最终整体变更评审。