cortico-world-fish-sing 0.4.18 → 0.4.19

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,12 @@
2
2
 
3
3
  格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/);版本号遵循语义化。
4
4
 
5
+ ## [0.4.19] - 2026-11-05
6
+
7
+ ### 修复
8
+ - 面板满宽再补一层兜底:`.fs-wrap` 加上 `flex:1 1 auto; align-self:stretch`。之前只有 `width:100%`,如果宿主把面板塞进一个**收缩成内容宽**的 flex/grid 容器里,百分比会解析成 auto,结果就是"内容按最宽的子元素缩起来、靠左"。现在块 / flex / grid 三种父容器都能撑满。
9
+ - (0.4.18 的 `max-width` 移除保留:宽度上限仍交给宿主的 `--content-width`。)
10
+
5
11
  ## [0.4.18] - 2026-11-05
6
12
 
7
13
  ### 修复
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  const CSS = `
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}
13
+ .fs-wrap{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;box-sizing:border-box;flex:1 1 auto;align-self:stretch;font:13px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
14
14
  /* 宽度交给宿主:.panelslot > :where(...) 已经给了 width:100% + max-width:var(--content-width)=1120px。
15
15
  自己再写 max-width(比如 980px)会把宿主规则覆盖掉,看起来"没占满";写 none 又会被 overflow 裁掉。
16
16
  这里只补 box-sizing——根元素带 padding 时不加它会把盒子撑出容器,内容往左溢出(dev-guide 里点名的坑)。 */
package/dist/webui.js CHANGED
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  const CSS = `
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}
13
+ .fs-wrap{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;box-sizing:border-box;flex:1 1 auto;align-self:stretch;font:13px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
14
14
  /* 宽度交给宿主:.panelslot > :where(...) 已经给了 width:100% + max-width:var(--content-width)=1120px。
15
15
  自己再写 max-width(比如 980px)会把宿主规则覆盖掉,看起来"没占满";写 none 又会被 overflow 裁掉。
16
16
  这里只补 box-sizing——根元素带 padding 时不加它会把盒子撑出容器,内容往左溢出(dev-guide 里点名的坑)。 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortico-world-fish-sing",
3
- "version": "0.4.18",
3
+ "version": "0.4.19",
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-74d68e14.js"
39
+ "webUiClient": "dist/webui-95cb4880.js"
40
40
  },
41
41
  "scripts": {
42
42
  "doctor": "node tools/doctor.mjs"