draftgo-cli 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "draftgo-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Install and manage the DraftGo skill across AI coding agents (Claude Code, Codex, Cursor, Windsurf, Antigravity, Copilot, Gemini, Kiro, Pi, ZCode).",
|
|
5
5
|
"bin": {
|
|
6
6
|
"draftgo": "bin/draftgo.js"
|
|
@@ -60,7 +60,7 @@ draftgo components show <library/component> --output json
|
|
|
60
60
|
- 按钮、表单、搜索、筛选、分页、提交和删除等已呈现交互应真实有效;主要流程必须闭环。
|
|
61
61
|
- 异步流程覆盖相关加载、空数据、错误、成功、无权限和重试状态,不能因请求延迟或失败整页空白。
|
|
62
62
|
- 数据型页面应让主要操作、分页、批量操作和保存控件在空、短、长列表下都可达;滚动边界明确,横向溢出不能隐藏核心操作。
|
|
63
|
-
- 官方页面和交付页面的选择器统一使用 DraftGo 内置 `draftgo/select`(多选使用 `draftgo/multi-select`);不要使用原生 `<select>`
|
|
63
|
+
- 官方页面和交付页面的选择器统一使用 DraftGo 内置 `draftgo/select`(多选使用 `draftgo/multi-select`);不要使用原生 `<select>` 作为可见控件。选择器默认宽 240px,用宿主上的 `--dg-select-width` 覆盖;不要写页面级 `width: 100%` 让它铺满。
|
|
64
64
|
|
|
65
65
|
### 动效
|
|
66
66
|
|