@deepseek-ai/dsh-client-ui-sidebar 0.0.1-rc.1 → 0.0.1-rc.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/README.i18n.yaml +1 -1
- package/README.md +1 -1
- package/lib/client.js +13 -13
- package/package.json +15 -15
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-sidebar/README.md
|
|
5
|
-
README.md:
|
|
5
|
+
README.md: 4eb9eeb73f1f8398eb9d16434996840182ba79a9
|
|
6
6
|
README.zh.md: a9fb927305d0bab5fb4d27adbfdbec90dfa1dd6d
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Scrollbars in the column are a pointer affordance: the shell rebinds ui-theme's
|
|
|
12
12
|
|
|
13
13
|
The foot is the `sidebar.settings` seat: the sidebar renders only the bottom-pinned layout slot and shares its column state (`wide`); ui-settings registers the trigger row and settings panel there.
|
|
14
14
|
|
|
15
|
-
The `/client`
|
|
15
|
+
The `/client` exports are the plugin body (`apply`/`inject`) plus the contract types only; SidebarRoot, the row components, and the tree derivation remain package-internal behind the slot registration.
|
|
16
16
|
|
|
17
17
|
## Model Experience
|
|
18
18
|
|
package/lib/client.js
CHANGED
|
@@ -23,7 +23,7 @@ window.__ModuleLoader__.load({
|
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-sidebar/src/client/SidebarRoot.module.css.mjs
|
|
26
|
-
const css = ".hHd-Xa_root{--dsh-sidebar-inline-padding:12px;height:100%;padding:6px var(--dsh-sidebar-inline-padding);box-sizing:border-box;background:var(--dsw-specific-sidebar-fill);color:var(--dsw-alias-label-primary);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;font-size:14px;display:flex}.hHd-Xa_root.hHd-Xa_collapsed{padding:18px 10px 6px}.hHd-Xa_root.hHd-Xa_quietBars{--dsh-scrollbar-thumb:transparent;--dsh-scrollbar-thumb-hover:transparent}.hHd-Xa_fading>*{opacity:0;transition:opacity .15s var(--ds-ease-in-out)}.hHd-Xa_wide{animation:hHd-Xa_wide-in .2s var(--ds-ease-in-out)}@keyframes hHd-Xa_wide-in{0%{opacity:0}}.hHd-Xa_railIn .hHd-Xa_iconButton,.hHd-Xa_railIn .hHd-Xa_newSession,.hHd-Xa_railIn .hHd-Xa_footArea{animation:hHd-Xa_rail-in .15s var(--ds-ease-in-out) .1s backwards}@keyframes hHd-Xa_rail-in{0%{opacity:0}}.hHd-Xa_logoRow{box-sizing:border-box;flex:none;justify-content:flex-end;align-items:center;gap:8px;height:60px;margin-bottom:
|
|
26
|
+
const css = ".hHd-Xa_root{--dsh-sidebar-inline-padding:12px;height:100%;padding:6px var(--dsh-sidebar-inline-padding);box-sizing:border-box;background:var(--dsw-specific-sidebar-fill);color:var(--dsw-alias-label-primary);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;font-size:14px;display:flex}.hHd-Xa_root.hHd-Xa_collapsed{padding:18px 10px 6px}.hHd-Xa_root.hHd-Xa_quietBars{--dsh-scrollbar-thumb:transparent;--dsh-scrollbar-thumb-hover:transparent}.hHd-Xa_fading>*{opacity:0;transition:opacity .15s var(--ds-ease-in-out)}.hHd-Xa_wide{animation:hHd-Xa_wide-in .2s var(--ds-ease-in-out)}@keyframes hHd-Xa_wide-in{0%{opacity:0}}.hHd-Xa_railIn .hHd-Xa_iconButton,.hHd-Xa_railIn .hHd-Xa_newSession,.hHd-Xa_railIn .hHd-Xa_footArea{animation:hHd-Xa_rail-in .15s var(--ds-ease-in-out) .1s backwards}@keyframes hHd-Xa_rail-in{0%{opacity:0}}.hHd-Xa_logoRow{box-sizing:border-box;flex:none;justify-content:flex-end;align-items:center;gap:8px;height:60px;margin-bottom:8px;padding:8px 0 8px 4px;display:flex;overflow:hidden}.hHd-Xa_collapsed .hHd-Xa_logoRow{height:36px;margin-bottom:12px;padding:0}.hHd-Xa_brand{min-width:0;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;padding:0;display:inline-flex;overflow:hidden}.hHd-Xa_iconButton{cursor:pointer;width:28px;height:28px;color:var(--dsw-alias-label-secondary);background:0 0;border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.hHd-Xa_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.hHd-Xa_collapsed .hHd-Xa_iconButton{width:36px;height:36px}.hHd-Xa_collapsed .hHd-Xa_toggle .hHd-Xa_panelIcon{display:none}.hHd-Xa_collapsed .hHd-Xa_toggle:hover .hHd-Xa_panelIcon{display:inline}.hHd-Xa_collapsed .hHd-Xa_toggle:hover .hHd-Xa_railFish{display:none}.hHd-Xa_collapsed .hHd-Xa_iconButton{color:var(--dsw-alias-label-primary)}.hHd-Xa_newSession{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-button-elevated-fill);height:38px;color:var(--dsw-alias-label-primary);cursor:pointer;border-radius:12px;flex:none;justify-content:center;align-items:center;gap:6px;margin:0 2px 20px;padding:8px 16px;font-size:14px;font-weight:500;line-height:22px;display:flex;overflow:hidden}.hHd-Xa_newSession:hover{background:var(--dsw-alias-button-floating-hover)}.hHd-Xa_collapsed .hHd-Xa_newSession{background:0 0;border-color:#0000;gap:0;height:36px;margin:0 0 12px;padding:0}.hHd-Xa_collapsed .hHd-Xa_newSession:hover{background:var(--dsw-alias-interactive-bg-hover)}.hHd-Xa_newSessionLabel{white-space:nowrap;max-width:200px;overflow:hidden}.hHd-Xa_collapsed .hHd-Xa_newSessionLabel{max-width:0}.hHd-Xa_regionArea{min-height:0;margin-right:calc(-1 * var(--dsh-sidebar-inline-padding));flex-direction:column;flex:1;display:flex;overflow:hidden}.hHd-Xa_collapsed .hHd-Xa_regionArea{margin-right:0}.hHd-Xa_footArea{flex:none}@media (prefers-reduced-motion:reduce){.hHd-Xa_wide,.hHd-Xa_fading>*,.hHd-Xa_railIn .hHd-Xa_iconButton,.hHd-Xa_railIn .hHd-Xa_newSession,.hHd-Xa_railIn .hHd-Xa_footArea{transition:none;animation:none}}";
|
|
27
27
|
const tagId = "@deepseek-ai/dsh-client-ui-sidebar/SidebarRoot.module.css";
|
|
28
28
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
29
29
|
const tag = document.createElement("style");
|
|
@@ -33,24 +33,24 @@ window.__ModuleLoader__.load({
|
|
|
33
33
|
document.head.appendChild(tag);
|
|
34
34
|
}
|
|
35
35
|
var SidebarRoot_module_css_default = {
|
|
36
|
-
"
|
|
36
|
+
"rail-in": "hHd-Xa_rail-in",
|
|
37
|
+
"fading": "hHd-Xa_fading",
|
|
38
|
+
"footArea": "hHd-Xa_footArea",
|
|
37
39
|
"newSession": "hHd-Xa_newSession",
|
|
38
40
|
"toggle": "hHd-Xa_toggle",
|
|
39
|
-
"
|
|
41
|
+
"panelIcon": "hHd-Xa_panelIcon",
|
|
42
|
+
"railFish": "hHd-Xa_railFish",
|
|
43
|
+
"collapsed": "hHd-Xa_collapsed",
|
|
44
|
+
"regionArea": "hHd-Xa_regionArea",
|
|
45
|
+
"logoRow": "hHd-Xa_logoRow",
|
|
40
46
|
"iconButton": "hHd-Xa_iconButton",
|
|
41
|
-
"footArea": "hHd-Xa_footArea",
|
|
42
47
|
"brand": "hHd-Xa_brand",
|
|
48
|
+
"newSessionLabel": "hHd-Xa_newSessionLabel",
|
|
43
49
|
"root": "hHd-Xa_root",
|
|
50
|
+
"quietBars": "hHd-Xa_quietBars",
|
|
51
|
+
"wide": "hHd-Xa_wide",
|
|
44
52
|
"wide-in": "hHd-Xa_wide-in",
|
|
45
|
-
"
|
|
46
|
-
"railFish": "hHd-Xa_railFish",
|
|
47
|
-
"newSessionLabel": "hHd-Xa_newSessionLabel",
|
|
48
|
-
"railIn": "hHd-Xa_railIn",
|
|
49
|
-
"regionArea": "hHd-Xa_regionArea",
|
|
50
|
-
"panelIcon": "hHd-Xa_panelIcon",
|
|
51
|
-
"fading": "hHd-Xa_fading",
|
|
52
|
-
"logoRow": "hHd-Xa_logoRow",
|
|
53
|
-
"wide": "hHd-Xa_wide"
|
|
53
|
+
"railIn": "hHd-Xa_railIn"
|
|
54
54
|
};
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region lib/types/client/SidebarRoot.js
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-sidebar",
|
|
3
3
|
"description": "Sidebar plugin: session multi-level tree, search, grouping, state dots",
|
|
4
|
-
"version": "0.0.1-rc.
|
|
4
|
+
"version": "0.0.1-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "restricted"
|
|
7
7
|
},
|
|
@@ -45,24 +45,24 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": "^18.2.0",
|
|
48
|
-
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.
|
|
49
|
-
"@deepseek-ai/dsh-client-
|
|
50
|
-
"@deepseek-ai/dsh-client-
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/
|
|
53
|
-
"@deepseek-ai/
|
|
48
|
+
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
|
|
53
|
+
"@deepseek-ai/cordis": "^4.0.1-rc.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/react": "~18.3.1",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
|
-
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.
|
|
59
|
-
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.
|
|
60
|
-
"@deepseek-ai/dsh-client-test-runtime": "^0.0.1-rc.
|
|
61
|
-
"@deepseek-ai/dsh-client-ui-
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.
|
|
64
|
-
"@deepseek-ai/
|
|
65
|
-
"@deepseek-ai/
|
|
58
|
+
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-client-test-runtime": "^0.0.1-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-layout": "^0.0.1-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
|
|
65
|
+
"@deepseek-ai/cordis": "^4.0.1-rc.1"
|
|
66
66
|
},
|
|
67
67
|
"files": [
|
|
68
68
|
"lib/index.js",
|