@phoenix-wing/kt-codegen 0.6.3 → 0.6.4

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/README.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  本包提供共享数据、旧格式兼容、只读源码标记扫描、32个生成块的 Core/Renderer、宿主无关的 Apply 投影/回滚事务,以及17列 Table Web Component。它不直接打开真实文件,也不依赖 VS Code、DeskTools 或其他产品壳;宿主通过只读快照和文件读写 Port 接入。
6
6
 
7
+ `@phoenix-wing/kt-codegen/ui` 的 Primary 面板顶层 Section 默认横向满宽;Section
8
+ 之间 `gap: 0`,无横向边框与圆角卡片,只用下边框形成连续分隔。标题、列表、
9
+ 表单与按钮各自在内部保留紧凑 padding,Host 不需要穿透 Shadow DOM 补外边距。
10
+
7
11
  ## 文件与命名规则
8
12
 
9
13
  主要职责类直接平铺在 `src/`,不再为了 MVC-C 建立多层目录:
@@ -13,7 +13,7 @@ const STYLE = `
13
13
  --pnw-codegen-active-bg: var(--vscode-list-activeSelectionBackground, var(--accent, #007acc));
14
14
  --pnw-codegen-active-fg: var(--vscode-list-activeSelectionForeground, #fff);
15
15
  --pnw-codegen-focus: var(--vscode-focusBorder, var(--accent, #007acc));
16
- position: relative; display: grid; grid-auto-rows: max-content; align-content: start; gap: 4px; min-height: 0; color: var(--vscode-foreground, var(--text, inherit));
16
+ position: relative; display: grid; grid-auto-rows: max-content; align-content: start; gap: 0; min-height: 0; color: var(--vscode-foreground, var(--text, inherit));
17
17
  background: var(--vscode-sideBar-background, var(--sidebar-bg, #fff)); font: 12px/1.35 var(--vscode-font-family, system-ui, sans-serif);
18
18
  }
19
19
  * { box-sizing: border-box; }
@@ -24,7 +24,7 @@ button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-v
24
24
  .pnw-codegen-action { display: inline-grid; flex: 0 0 32px; width: 32px; height: 32px; min-height: 32px; place-items: center; padding: 0; color: var(--vscode-button-foreground, inherit); background: var(--vscode-button-background, var(--btn-bg, transparent)); border: 1px solid var(--pnw-codegen-border); border-radius: 3px; font-size: 17px; }
25
25
  .pnw-codegen-action.pnw-codegen-secondary { color: inherit; background: var(--vscode-button-secondaryBackground, var(--btn-bg, transparent)); }
26
26
  button:disabled { opacity: .5; cursor: not-allowed; }
27
- .pnw-codegen-mini { min-width: 0; margin: 0 4px; overflow: hidden; border: 1px solid var(--pnw-codegen-border); border-radius: 5px; background: var(--pnw-codegen-bg); }
27
+ .pnw-codegen-mini { min-width: 0; margin: 0; overflow: hidden; border: 0; border-block-end: 1px solid var(--pnw-codegen-border); border-radius: 0; background: var(--pnw-codegen-bg); }
28
28
  .pnw-codegen-mini > summary { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 28px; padding: 3px 5px; color: var(--pnw-codegen-muted); background: var(--pnw-codegen-head-bg); font-size: 11px; font-weight: 650; cursor: pointer; list-style: none; user-select: none; }
29
29
  .pnw-codegen-mini > summary::-webkit-details-marker { display: none; }
30
30
  .pnw-codegen-mini > summary::before { content: "›"; flex: 0 0 auto; font-size: 16px; line-height: 1; }
@@ -56,7 +56,7 @@ button:disabled { opacity: .5; cursor: not-allowed; }
56
56
  .pnw-codegen-candidate-name { font-weight: 600; }
57
57
  .pnw-codegen-candidate-path { color: var(--pnw-codegen-muted); font-size: 11px; }
58
58
  .pnw-codegen-empty, .pnw-codegen-hint { margin: 0; padding: 12px 8px; color: var(--pnw-codegen-muted); text-align: center; }
59
- .pnw-codegen-report-directory { min-height: 25px; margin: 5px; padding: 2px 7px; color: inherit; background: var(--vscode-button-secondaryBackground, var(--btn-bg, transparent)); border: 1px solid var(--pnw-codegen-border); border-radius: 3px; }
59
+ .pnw-codegen-report-directory { width: 100%; min-height: 25px; margin: 5px 0 0; padding: 2px 7px; color: inherit; background: var(--vscode-button-secondaryBackground, var(--btn-bg, transparent)); border: 1px solid var(--pnw-codegen-border); border-radius: 3px; }
60
60
  .pnw-codegen-overlay { position: absolute; z-index: 20; inset: 0; display: grid; place-content: center; gap: 6px; padding: 16px; background: color-mix(in srgb, var(--pnw-codegen-bg) 88%, transparent); border: 1px solid var(--pnw-codegen-focus); border-radius: 6px; text-align: center; cursor: progress; }
61
61
  .pnw-codegen-overlay[hidden] { display: none; }
62
62
  `;
@@ -1,6 +1,6 @@
1
1
  # KtCodegen 两小时迁移计划与验收
2
2
 
3
- > 历史归档说明:本文记录 `kt-codegen` 首次迁入 Wing 时的 0.3.0 时间盒与验收事实。Phoenix Wing 当前发布线已升级为 0.4.0;当前版本与消费约束以仓库根 `release-matrix.json` 和 `doc/三库版本矩阵.md` 为准。
3
+ > 历史归档说明:本文记录 `kt-codegen` 首次迁入 Wing 时的 0.3.0 时间盒与验收事实。Phoenix Wing 当前发布线已升级为 0.4.0;当前版本与消费约束以仓库根 `release-matrix.json` 和 `docs/三库版本矩阵.md` 为准。
4
4
 
5
5
  ## 目标与边界
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phoenix-wing/kt-codegen",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "CAA、Qt 与普通 C++ 的参数驱动代码生成核心",
5
5
  "type": "module",
6
6
  "sideEffects": false,