chore: remove legacy SSR checks and consolidate migration maintenance
This commit is contained in:
@@ -1,8 +1,30 @@
|
||||
<!-- task-metadata
|
||||
{
|
||||
"base": "b129f79366e6a526e047cec917753e1434298fa3",
|
||||
"upstream": "ce90ea3ab49d58f6c428f71bfd6fe8ae2a87b960",
|
||||
"status": "ready",
|
||||
"requires": [
|
||||
"packages/vue/src/components/color/value.ts",
|
||||
"packages/vue/src/components/color/model.ts",
|
||||
"tests/color-foundation.test.ts"
|
||||
],
|
||||
"sources": [
|
||||
"packages/react/src/components/color-swatch/color-swatch.tsx",
|
||||
"packages/styles/components/color-swatch.css"
|
||||
],
|
||||
"checks": [
|
||||
"pnpm exec vitest run tests/color-swatch.test.ts tests/color-swatch-demos.test.ts tests/color-foundation.test.ts tests/color-picker-composition.test.ts",
|
||||
"pnpm typecheck",
|
||||
"pnpm build:docs"
|
||||
]
|
||||
}
|
||||
-->
|
||||
|
||||
# COLOR-SWATCH:公共颜色值与 ColorSwatch
|
||||
|
||||
当前仅支持浏览器客户端使用,暂不支持SSR、服务端水合或Nuxt服务端渲染。除用户明确重新启用外,不开发、不修复、不新增也不运行相关专项;历史通过记录不构成支持承诺。
|
||||
|
||||
角色:指定实施AI;本卡也可交给集成人在新会话独立执行。最低代码基线b129f79366e6a526e047cec917753e1434298fa3;必须从包含本任务卡及当前集成验收结果的提交启动,新分支feat/color-swatch-public。当前批次尚在验收时不启动。
|
||||
角色:指定实施AI;本卡也可交给集成人在新会话独立执行。起点要求见本卡元数据。必须从包含本任务卡及当前集成验收结果的提交启动,新分支feat/color-swatch-public。当前批次尚在验收时不启动。
|
||||
|
||||
## 目标与已有能力
|
||||
|
||||
@@ -22,12 +44,7 @@
|
||||
|
||||
先实现真实Swatch+共享owner继承的一个完整示例,验证默认/显式覆盖/动态更新/透明后自行继续剩余6例,整项任务在本会话完成,不为内部步骤等待用户批准。
|
||||
|
||||
```sh
|
||||
node scripts/task-check.mjs COLOR-SWATCH
|
||||
pnpm exec vitest run tests/color-swatch.test.ts tests/color-swatch-demos.test.ts tests/color-foundation.test.ts tests/color-picker-composition.test.ts
|
||||
pnpm typecheck
|
||||
pnpm build:docs
|
||||
```
|
||||
具体命令由前置检查打印,唯一来源是卡顶部checks。
|
||||
|
||||
前两个是本任务应新增的有意义用例。全7例内容按固定源逐项核销;浏览器重点验浅/深主题、透明、继承与显式覆盖,尺寸取计算值而非CSS字符串。公开两包最终tarball独立安装,ESM/CSS及strict NodeNext/bundler类型正反例,包括Color模型/组件Props/slot。保留旧Color owner回归;不执行SSR/水合/Nuxt服务端专项,不额外新增读屏门槛。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user