@deepseek-ai/dsh-client-ui-sidebar-right 0.2.0-rc.2 → 0.2.1-alpha.1
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 +2 -2
- package/README.md +0 -2
- package/README.zh.md +0 -2
- package/lib/client.js +5 -4
- package/package.json +19 -19
package/README.i18n.yaml
CHANGED
package/README.md
CHANGED
|
@@ -155,5 +155,3 @@ None; this package neither assembles nor sends a provider request.
|
|
|
155
155
|
None.
|
|
156
156
|
|
|
157
157
|
</details>
|
|
158
|
-
|
|
159
|
-
**Runtime invariant:** No companion is published. The two services (`sidebarRight`, `sidebarRightTabs`) are provided through `ctx.reflect.provide` inside one effect and torn down with it; the on-screen Session and the Tab domain's occurrence lifetimes are asserted directly by this package's specs, and no independent observation exists to diverge from them.
|
package/README.zh.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -5557,12 +5557,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5557
5557
|
"data-sidebar-right-tab": tab.id,
|
|
5558
5558
|
"data-sidebar-right-occurrence": id,
|
|
5559
5559
|
children: content
|
|
5560
|
-
}) : (0, react_jsx_runtime.jsx)("div", {
|
|
5560
|
+
}, id) : (0, react_jsx_runtime.jsx)("div", {
|
|
5561
5561
|
className: SidebarRight_module_css_default.tabBody,
|
|
5562
5562
|
"data-sidebar-right-tab": tab.id,
|
|
5563
5563
|
"data-sidebar-right-occurrence": id,
|
|
5564
5564
|
children: content
|
|
5565
|
-
});
|
|
5565
|
+
}, id);
|
|
5566
5566
|
}
|
|
5567
5567
|
/**
|
|
5568
5568
|
* Dispatch a tab's body to its registered type.
|
|
@@ -5680,7 +5680,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5680
5680
|
"data-sidebar-right-session": sessionId,
|
|
5681
5681
|
"data-sidebar-right-panel": fullscreen ? "fullscreen" : "push",
|
|
5682
5682
|
"data-sidebar-right-open": expanded || void 0,
|
|
5683
|
-
"aria-hidden": !expanded || void 0,
|
|
5683
|
+
"aria-hidden": !expanded && surface.layout.floats.length === 0 || void 0,
|
|
5684
5684
|
children: (0, react_jsx_runtime.jsx)("div", {
|
|
5685
5685
|
className: SidebarRight_module_css_default.panelBody,
|
|
5686
5686
|
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_dockkit.DockLayout, {
|
|
@@ -6480,7 +6480,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6480
6480
|
};
|
|
6481
6481
|
const layout = surface?.layout;
|
|
6482
6482
|
const replaced = placement.replaceTab === void 0 ? void 0 : layout?.tabs[placement.replaceTab];
|
|
6483
|
-
const
|
|
6483
|
+
const replacementPane = replaced === void 0 || layout === void 0 ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(layout, replaced.id);
|
|
6484
|
+
const revealed = layout === void 0 ? void 0 : claim.contentId === pageAddress(claim.kind) ? (0, _deepseek_ai_dsh_client_ui_dockkit.findPaneContentTab)(layout, replacementPane?.host === "dock" ? replacementPane.id : placement.paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(layout), claim.contentId, claim.kind) : placement.revealIfOpened === false ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findContentTab)(layout, claim.contentId, claim.kind);
|
|
6484
6485
|
if (replaced === void 0 || replaced.id === revealed) {
|
|
6485
6486
|
commit();
|
|
6486
6487
|
return;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-sidebar-right",
|
|
3
3
|
"description": "Right Sidebar: the docking surface's session-bound state, its panel and header expand control, and the navigation service over it",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@testing-library/react": "^16.1.0",
|
|
@@ -52,23 +52,23 @@
|
|
|
52
52
|
"picomatch": "^4.0.4",
|
|
53
53
|
"clsx": "^2.0.0",
|
|
54
54
|
"zod": "^4.4.3",
|
|
55
|
-
"@deepseek-ai/
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-client-
|
|
58
|
-
"@deepseek-ai/dsh-client-
|
|
59
|
-
"@deepseek-ai/dsh-client-
|
|
60
|
-
"@deepseek-ai/dsh-client-store": "0.2.
|
|
61
|
-
"@deepseek-ai/dsh-client-ui-
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-
|
|
64
|
-
"@deepseek-ai/dsh-client-ui-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"@deepseek-ai/dsh-
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/
|
|
70
|
-
"@deepseek-ai/dsh-client-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
55
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
56
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.1",
|
|
57
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-alpha.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-resources": "0.2.1-alpha.1",
|
|
59
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-alpha.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-store": "0.2.1-alpha.1",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.1",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-dockkit": "0.2.1-alpha.1",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.1-alpha.1",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.1",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.1",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.1",
|
|
67
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-util-crypto": "0.2.1-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-client-shortcuts": "0.2.1-alpha.1",
|
|
71
|
+
"@deepseek-ai/dsh-brand": "0.2.1-alpha.1"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"lib/index.js",
|