@deepseek-ai/dsh-client-ui-layout 0.1.7-alpha.1 → 0.1.7-alpha.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/lib/client.js +6 -4
- package/lib/types/client/theme-presenter.d.ts +6 -4
- package/package.json +10 -10
package/lib/client.js
CHANGED
|
@@ -516,10 +516,12 @@ window.__ModuleLoader__.load({
|
|
|
516
516
|
const DARK_ATTRIBUTE = "data-ds-dark-theme";
|
|
517
517
|
/**
|
|
518
518
|
* Root attribute publishing the theme source (`light`, `dark`, or `system`)
|
|
519
|
-
* for host shells that mirror it into native
|
|
520
|
-
*
|
|
521
|
-
*
|
|
522
|
-
*
|
|
519
|
+
* for host shells that mirror it into the native theme (the Electron preload
|
|
520
|
+
* forwards it to `nativeTheme.themeSource`, so native chrome, renderer
|
|
521
|
+
* `prefers-color-scheme` queries, and Platform login links follow the app
|
|
522
|
+
* palette on every platform). `system` only when the preference is `system`;
|
|
523
|
+
* a fixed preference (including registered theme ids) publishes its resolved
|
|
524
|
+
* scheme.
|
|
523
525
|
*/
|
|
524
526
|
const THEME_SOURCE_ATTRIBUTE = "data-ds-theme-source";
|
|
525
527
|
/** Body variable carrying the user's content font size in px. */
|
|
@@ -14,10 +14,12 @@ import type { ThemeSnapshot } from '@deepseek-ai/dsh-client-ui-theme/client';
|
|
|
14
14
|
export declare const DARK_ATTRIBUTE = "data-ds-dark-theme";
|
|
15
15
|
/**
|
|
16
16
|
* Root attribute publishing the theme source (`light`, `dark`, or `system`)
|
|
17
|
-
* for host shells that mirror it into native
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* for host shells that mirror it into the native theme (the Electron preload
|
|
18
|
+
* forwards it to `nativeTheme.themeSource`, so native chrome, renderer
|
|
19
|
+
* `prefers-color-scheme` queries, and Platform login links follow the app
|
|
20
|
+
* palette on every platform). `system` only when the preference is `system`;
|
|
21
|
+
* a fixed preference (including registered theme ids) publishes its resolved
|
|
22
|
+
* scheme.
|
|
21
23
|
*/
|
|
22
24
|
export declare const THEME_SOURCE_ATTRIBUTE = "data-ds-theme-source";
|
|
23
25
|
/** Body variable carrying the user's content font size in px. */
|
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.1.7-alpha.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
},
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@deepseek-ai/cordis": "
|
|
41
|
+
"@deepseek-ai/cordis": "~4.0.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "~18.3.1",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-client-
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-
|
|
50
|
-
"@deepseek-ai/dsh-client-ui-
|
|
51
|
-
"@deepseek-ai/dsh-client-
|
|
52
|
-
"@deepseek-ai/
|
|
53
|
-
"@deepseek-ai/
|
|
46
|
+
"@deepseek-ai/dsh-client-locale": "0.1.7-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-brand": "0.1.7-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.1.7-alpha.2",
|
|
53
|
+
"@deepseek-ai/cordis": "~4.0.4"
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
56
|
"lib/index.js",
|