cortico-world-fish-sing 0.4.17 → 0.4.18

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/);版本号遵循语义化。
4
4
 
5
+ ## [0.4.18] - 2026-11-05
6
+
7
+ ### 修复
8
+ - **插件页面不满宽**:`.fs-wrap` 上写了 `max-width:980px; margin:0 auto`,把宿主的 `.panelslot > :where(...)`(`width:100%` + `max-width:var(--content-width)`=1120px)覆盖掉了,看起来内容缩在中间。现在宽度完全交给宿主,只补 `min-width:0` 和 `box-sizing:border-box`(含 `.fs-wrap *`,避免根元素 padding 撑出容器、内容向左溢出——见 coopanion-plugin-dev-guide 的「自定义面板的宽度」)。
9
+
5
10
  ## [0.4.17] - 2026-11-03
6
11
 
7
12
  ### 修复(来自 issue #1 与市场反馈)
@@ -10,7 +10,11 @@
10
10
  */
11
11
 
12
12
  const CSS = `
13
- .fs-wrap{display:flex;flex-direction:column;gap:10px;width:100%;max-width:980px;margin:0 auto;font:13px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
13
+ .fs-wrap{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;box-sizing:border-box;font:13px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
14
+ /* 宽度交给宿主:.panelslot > :where(...) 已经给了 width:100% + max-width:var(--content-width)=1120px。
15
+ 自己再写 max-width(比如 980px)会把宿主规则覆盖掉,看起来"没占满";写 none 又会被 overflow 裁掉。
16
+ 这里只补 box-sizing——根元素带 padding 时不加它会把盒子撑出容器,内容往左溢出(dev-guide 里点名的坑)。 */
17
+ .fs-wrap *{box-sizing:border-box}
14
18
  .fs-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
15
19
  .fs-bar .fs-grow{flex:1}
16
20
  .fs-btn{appearance:none;border:1px solid rgba(127,127,127,.35);background:transparent;color:inherit;
package/dist/webui.js CHANGED
@@ -10,7 +10,11 @@
10
10
  */
11
11
 
12
12
  const CSS = `
13
- .fs-wrap{display:flex;flex-direction:column;gap:10px;width:100%;max-width:980px;margin:0 auto;font:13px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
13
+ .fs-wrap{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;box-sizing:border-box;font:13px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
14
+ /* 宽度交给宿主:.panelslot > :where(...) 已经给了 width:100% + max-width:var(--content-width)=1120px。
15
+ 自己再写 max-width(比如 980px)会把宿主规则覆盖掉,看起来"没占满";写 none 又会被 overflow 裁掉。
16
+ 这里只补 box-sizing——根元素带 padding 时不加它会把盒子撑出容器,内容往左溢出(dev-guide 里点名的坑)。 */
17
+ .fs-wrap *{box-sizing:border-box}
14
18
  .fs-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
15
19
  .fs-bar .fs-grow{flex:1}
16
20
  .fs-btn{appearance:none;border:1px solid rgba(127,127,127,.35);background:transparent;color:inherit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortico-world-fish-sing",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "让她真的开口唱:B 站点歌或本地文件 → 分离 → 换声 → 混音,本机出声或发 QQ 语音条",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -36,7 +36,7 @@
36
36
  "local"
37
37
  ],
38
38
  "describe": "describe.json",
39
- "webUiClient": "dist/webui-ba6b0f93.js"
39
+ "webUiClient": "dist/webui-74d68e14.js"
40
40
  },
41
41
  "scripts": {
42
42
  "doctor": "node tools/doctor.mjs"