@linxin666/dsh-client-ui-skin-center 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/contracts/semantic-attrs-v1.md +2 -5
- package/lib/client.js +1 -1
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +4 -1
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
皮肤中心不写委托插件的任何属性,委托插件不写 `data-dsh-skin`,双方都无法把
|
|
72
72
|
对方卡死。委托皮肤的选择会照常持久化、开机采纳与试穿还原;让路暂停的是
|
|
73
73
|
视觉,不是插件的设置页与偏好。
|
|
74
|
-
## part 组(
|
|
74
|
+
## part 组(97 行,含各 owner 行)
|
|
75
75
|
|
|
76
76
|
shell 区域(owner: shell):
|
|
77
77
|
|
|
@@ -126,8 +126,6 @@ family / 插件区域:
|
|
|
126
126
|
| `tab-bar` / `tab` | skill-explorer | 技能中心页签条/页签(中间列面板,同 ssh);`[data-dsh-plugin="skill-explorer"] [data-dsh-part="tab-bar"]` / `[data-dsh-plugin="skill-explorer"] [data-dsh-part="tab"]` |
|
|
127
127
|
| `skill-row` | skill-explorer | 技能卡行;`[data-dsh-plugin="skill-explorer"] [data-dsh-part="skill-row"]` |
|
|
128
128
|
| `filter-bar` | skill-explorer | 技能列表筛选条(搜索框 + 工作区选择 + 刷新);`[data-dsh-plugin="skill-explorer"] [data-dsh-part="filter-bar"]` |
|
|
129
|
-
| `entry` | message-edit | 回合末尾的「编辑并重发」触发按钮;`[data-dsh-plugin="message-edit"] [data-dsh-part="entry"]` |
|
|
130
|
-
| `editor` | message-edit | 回合末尾的内联编辑器根,包含文本框、分支副作用提示与提交操作;`[data-dsh-plugin="message-edit"] [data-dsh-part="editor"]` |
|
|
131
129
|
| `entry` | session-id | 侧栏 footer 触发器;`button[data-dsh-part="entry"]`(`[data-dsh-plugin="session-id"]` 容器内) |
|
|
132
130
|
| `panel` | session-id | 会话 ID 模态面板;`[role="dialog"]` 根(`[data-dsh-part="panel"]`) |
|
|
133
131
|
| `row` | session-id | 会话列表行;面板内行容器(`[data-dsh-part="row"]`) |
|
|
@@ -196,7 +194,7 @@ shell 的 `[class*="panelGlyph"]` 内)。shell 目前不把 entry id 透传到
|
|
|
196
194
|
不进 `data-dsh-plugin`:plugin 属性标记插件面板根,皮肤里已有
|
|
197
195
|
`[data-dsh-plugin="ssh"] [class*="panel"]` 一类把根当作面板子树起点的规则,把字形也算进去会误伤。
|
|
198
196
|
|
|
199
|
-
## plugin 组(
|
|
197
|
+
## plugin 组(16 个)
|
|
200
198
|
|
|
201
199
|
| data-dsh-plugin | owner | 锚定方式 |
|
|
202
200
|
| --- | --- | --- |
|
|
@@ -211,7 +209,6 @@ shell 的 `[class*="panelGlyph"]` 内)。shell 目前不把 entry id 透传到
|
|
|
211
209
|
| `dsh-web-ui-market` | dsh-market | 创意工坊商店页 `[data-dsh-plugin="dsh-web-ui-market"]`(Web 扩展 keyed id `dsh-workshop`,独立安装时为一级 settings.section id `dsh-workshop`),商店卡与目录条目容器 |
|
|
212
210
|
| `skin-center` | skins/skin-center | 设置卡 `[data-dsh-plugin="skin-center"]`(Web 扩展 keyed id `skin-center`,独立安装时为一级 settings.section id `skin-center`,列已安装皮肤,属内置源时显式标记) |
|
|
213
211
|
| `session-id` | dsh-session-id | footer action slot entry id `session-id`;`[data-dsh-plugin="session-id"]`(面板 overlay 根 + 入口触发器) |
|
|
214
|
-
| `message-edit` | dsh-message-edit | `conversation.chat.turnTail` slot entry id `message-edit`;`[data-dsh-plugin="message-edit"]`(触发按钮 + 内联编辑器根) |
|
|
215
212
|
| `usage` | dsh-usage | 设置页 `[data-dsh-plugin="usage"]`(Web 扩展 keyed id `dsh-usage`,独立安装时为一级 settings.section id `dsh-usage`);侧栏底部速览卡容器 `[data-dsh-usage-foot-card]` |
|
|
216
213
|
| `preset-center` | dsh-preset-center | 创意工坊卡片的「预设」标签页面板(`dsh-workshop.panel` keyed 槽 key `preset`);`[data-dsh-plugin="preset-center"]` |
|
|
217
214
|
| `liangshen` | dsh-liangshen | 首页输入框内的梁神模式拨杆;`[data-dsh-plugin="liangshen"][data-dsh-part="lever"]`,slot entry id `liangshen-lever` |
|
package/lib/client.js
CHANGED
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxin666/dsh-client-ui-skin-center",
|
|
3
3
|
"description": "In-GUI skin center for the dsh web GUI — the single skin package: skins are pure asset directories (built-in plus $DSH_HOME/skins) loaded and rendered only by the skin center; live try-on and one-click apply switch atomically in the page (no reload, no cordis.patch.yml rewrite, no restart)",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.19",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"./client": "./lib/client.js",
|
|
14
14
|
"./css-safety": "./lib/css-safety.js",
|
|
15
15
|
"./src/*": "./src/*",
|
|
16
|
+
"./locale/en.json": "./locale/en.json",
|
|
17
|
+
"./locale/zh.json": "./locale/zh.json",
|
|
16
18
|
"./package.json": "./package.json"
|
|
17
19
|
},
|
|
18
20
|
"dsh": {
|
|
@@ -80,6 +82,7 @@
|
|
|
80
82
|
"skins/blue-fantasy",
|
|
81
83
|
"cordis.patch.yml",
|
|
82
84
|
"README.md",
|
|
85
|
+
"locale",
|
|
83
86
|
"icon.svg"
|
|
84
87
|
],
|
|
85
88
|
"repository": {
|