@deepseek-ai/dsh-client-ui-layout 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 +3 -3
- package/lib/types/client/index.d.ts +1 -1
- package/package.json +11 -11
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-layout/README.md
|
|
5
|
-
README.md:
|
|
5
|
+
README.md: c58b9a26ac794131aaa197722d14bd04de9f0cae
|
|
6
6
|
README.zh.md: 2ce3d1972d39013d84216596dc57d48ab2d245d9
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Shell plugin: three-column AppFrame (drag handles and concession chain) plus the
|
|
|
6
6
|
|
|
7
7
|
AppFrame always mounts the conversation and details columns; a connected Session renders through `SessionProvider`. The transient layout store starts the sidebar at its default width and details closed, and it never reads or writes `localStorage`. Hero and other unselected states also derive a zero rendered details width without changing that stored preference. AppFrame retains the last non-blank Session id across those states: the first Session remains closed, an explicit details action opens the contract default width, returning to the same Session restores its unchanged width, and selecting a different Session closes details before paint. The conversation owner share is empty, while the sidebar owner share contains only `collapsed` and `width`; registrants obtain business data from standard hooks and actions from their own inject faces.
|
|
8
8
|
|
|
9
|
-
The `/client`
|
|
9
|
+
The `/client` exports are the plugin body (`apply`/`inject`), `LayoutService`, and the four owner-share interfaces. AppFrame, the panel store, and the concession solver remain package-internal.
|
|
10
10
|
|
|
11
11
|
## Model Experience
|
|
12
12
|
|
package/lib/client.js
CHANGED
|
@@ -63,10 +63,10 @@ window.__ModuleLoader__.load({
|
|
|
63
63
|
document.head.appendChild(tag);
|
|
64
64
|
}
|
|
65
65
|
var AppFrame_module_css_default = {
|
|
66
|
-
"sidebarCol": "pI_x6G_sidebarCol",
|
|
67
|
-
"detailsCol": "pI_x6G_detailsCol",
|
|
68
66
|
"frame": "pI_x6G_frame",
|
|
67
|
+
"sidebarCol": "pI_x6G_sidebarCol",
|
|
69
68
|
"centerCol": "pI_x6G_centerCol",
|
|
69
|
+
"detailsCol": "pI_x6G_detailsCol",
|
|
70
70
|
"handle": "pI_x6G_handle"
|
|
71
71
|
};
|
|
72
72
|
//#endregion
|
|
@@ -384,7 +384,7 @@ window.__ModuleLoader__.load({
|
|
|
384
384
|
};
|
|
385
385
|
//#endregion
|
|
386
386
|
//#region lib/types/client/index.js
|
|
387
|
-
/** Required services (cordis fiber inject — the loader passes
|
|
387
|
+
/** Required services (cordis fiber inject — the loader passes all module exports as an object plugin). */
|
|
388
388
|
const inject = ["slots", "theme"];
|
|
389
389
|
/**
|
|
390
390
|
* Client plugin body: provide ctx.layout, then one register() call — AppFrame
|
|
@@ -48,7 +48,7 @@ export interface ConvOwnerProps {
|
|
|
48
48
|
/** Details owner share: empty — sessionId arrives as a framework-standard prop. */
|
|
49
49
|
export interface DetailsOwnerProps {
|
|
50
50
|
}
|
|
51
|
-
/** Required services (cordis fiber inject — the loader passes
|
|
51
|
+
/** Required services (cordis fiber inject — the loader passes all module exports as an object plugin). */
|
|
52
52
|
export declare const inject: string[];
|
|
53
53
|
/**
|
|
54
54
|
* Client plugin body: provide ctx.layout, then one register() call — AppFrame
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-layout",
|
|
3
3
|
"description": "Shell plugin: three-column AppFrame with drag handles, ctx.layout viewing-state service (navigation + panels)",
|
|
4
|
-
"version": "0.0.1-rc.
|
|
4
|
+
"version": "0.0.1-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "restricted"
|
|
7
7
|
},
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"license": "BSD-3-Clause",
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^18.2.0",
|
|
44
|
-
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.
|
|
45
|
-
"@deepseek-ai/dsh-client-ui-
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/
|
|
48
|
-
"@deepseek-ai/
|
|
44
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-client-ui-theme": "^0.0.1-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
|
|
48
|
+
"@deepseek-ai/cordis": "^4.0.1-rc.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/react": "~18.3.1",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
|
-
"@deepseek-ai/dsh-client-
|
|
54
|
-
"@deepseek-ai/dsh-client-
|
|
55
|
-
"@deepseek-ai/dsh-client-
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
53
|
+
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-theme": "^0.0.1-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
|
|
58
58
|
"@deepseek-ai/cordis": "^4.0.1-rc.1"
|
|
59
59
|
},
|
|
60
60
|
"files": [
|