@pactor-app/chat 1.15.0 → 1.15.2
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 +6 -6
- package/styles.css +8 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pactor-app/chat",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"description": "Pactor chat: AI message rendering protocol (message model, streaming reducer, safe registry, capability action) and chat runtime view (ChatView / MessageBubble / PartRenderer / Composer / chat layout)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pactor",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@pactor-app/
|
|
53
|
-
"@pactor-app/
|
|
54
|
-
"@pactor-app/ui": "1.15.
|
|
55
|
-
"@pactor-app/permission": "1.15.
|
|
56
|
-
"@pactor-app/
|
|
52
|
+
"@pactor-app/core": "1.15.2",
|
|
53
|
+
"@pactor-app/runtime": "1.15.2",
|
|
54
|
+
"@pactor-app/ui": "1.15.2",
|
|
55
|
+
"@pactor-app/permission": "1.15.2",
|
|
56
|
+
"@pactor-app/markdown": "1.15.2"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"react": ">=18"
|
package/styles.css
CHANGED
|
@@ -69,8 +69,10 @@
|
|
|
69
69
|
/* 衬线展示字体栈:空状态问候 / chat 布局标题 */
|
|
70
70
|
--pactor-chat-font-display: 'Songti SC', 'Noto Serif SC', Georgia,
|
|
71
71
|
'Times New Roman', serif;
|
|
72
|
-
/* AppShell
|
|
73
|
-
|
|
72
|
+
/* AppShell:移动端顶栏高度 / 抽屉遮罩色。
|
|
73
|
+
侧栏宽度不走 chat 私有令牌——统一由 ui 皮肤令牌驱动:
|
|
74
|
+
--sidebar-width(展开,默认 16rem)/ --sidebar-width-icon(折叠 icon rail,
|
|
75
|
+
默认 3rem),theme-studio 生成的皮肤可直接覆盖两者 */
|
|
74
76
|
--pactor-chat-shell-topbar-height: 44px;
|
|
75
77
|
--pactor-chat-shell-scrim: rgb(0 0 0 / 40%);
|
|
76
78
|
/* 产出物面板(spec: chat-artifact-panel):桌面固定宽右栏 */
|
|
@@ -257,14 +259,10 @@
|
|
|
257
259
|
--sidebar-ring: var(--pactor-chat-primary);
|
|
258
260
|
}
|
|
259
261
|
|
|
260
|
-
/*
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
.pactor-chat-shell [data-slot='sidebar'][data-collapsed] {
|
|
266
|
-
width: 64px;
|
|
267
|
-
}
|
|
262
|
+
/* 侧栏宽度由 ui 皮肤令牌驱动(--sidebar-width / --sidebar-width-icon,
|
|
263
|
+
经 ui Sidebar 的 gap / 固定容器工具类引用),chat 不再单独覆盖;
|
|
264
|
+
原 chat 私有侧栏宽度令牌与 [data-collapsed] 规则一并移除——
|
|
265
|
+
后者自 chat-on-ui-sidebar 重构后等的是不存在的属性,从未生效 */
|
|
268
266
|
|
|
269
267
|
/* 移动端顶栏高度与遮罩色对齐令牌 */
|
|
270
268
|
.pactor-chat-shell [data-slot='sidebar-topbar'] {
|