@devframes/hub-ui 0.9.7 → 0.9.8
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/dist/client/embedded.js +2694 -2615
- package/dist/client/standalone/assets/DockStandalone-BvQLDpVN.js +3 -0
- package/dist/client/standalone/assets/context-DWKLPrQY.js +1 -0
- package/dist/client/standalone/assets/index-J9SjVeCp.js +9 -0
- package/dist/client/standalone/assets/{keybindings-D1V7S3LX.js → keybindings-FIV5nfFs.js} +4 -4
- package/dist/client/standalone/index.html +10 -7
- package/dist/index.d.mts +16 -1
- package/package.json +19 -19
- package/dist/client/standalone/assets/DockStandalone-CUnO93Bh.js +0 -3
- package/dist/client/standalone/assets/context-XVfTZFii.js +0 -1
- package/dist/client/standalone/assets/docks-DZd0ZNrd.js +0 -6
- package/dist/client/standalone/assets/index-Cm_XqfDS.js +0 -4
package/dist/index.d.mts
CHANGED
|
@@ -16,6 +16,19 @@ type BrandingLogo = string | {
|
|
|
16
16
|
light: string;
|
|
17
17
|
dark: string;
|
|
18
18
|
};
|
|
19
|
+
/** A value that can vary with the viewer color scheme. */
|
|
20
|
+
type ColorSchemeValue = string | {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The standalone viewer background. The flat form applies in every context;
|
|
26
|
+
* the structured form may provide an iframe-specific value.
|
|
27
|
+
*/
|
|
28
|
+
type ViewerBackground = ColorSchemeValue | {
|
|
29
|
+
standalone: ColorSchemeValue;
|
|
30
|
+
iframe?: ColorSchemeValue;
|
|
31
|
+
};
|
|
19
32
|
/**
|
|
20
33
|
* Consumer-facing branding for the reference hub-ui. Every field is optional
|
|
21
34
|
* and falls back to devframe's own identity. Published as
|
|
@@ -34,6 +47,8 @@ interface DevframeBranding {
|
|
|
34
47
|
wordmark?: BrandingLogo;
|
|
35
48
|
/** Brand color; feeds `--devframe-primary` and the whole primary ramp. */
|
|
36
49
|
primaryColor?: string;
|
|
50
|
+
/** Standalone viewer CSS `background`, optionally specialized for iframe use. */
|
|
51
|
+
background?: ViewerBackground;
|
|
37
52
|
/** Short line for the auth screen and the standalone meta description. */
|
|
38
53
|
tagline?: string;
|
|
39
54
|
/** Favicon URL — applied on the standalone viewer and the popped-out window only. */
|
|
@@ -150,4 +165,4 @@ interface CreateUiOptions {
|
|
|
150
165
|
*/
|
|
151
166
|
declare function createUi(options?: CreateUiOptions): DevframeHubUi;
|
|
152
167
|
//#endregion
|
|
153
|
-
export { CreateUiOptions, type DevframeBranding, type DevframeDockPreferences, type EmbeddedVisibility, createUi };
|
|
168
|
+
export { type ColorSchemeValue, CreateUiOptions, type DevframeBranding, type DevframeDockPreferences, type EmbeddedVisibility, type ViewerBackground, createUi };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/hub-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.8",
|
|
5
5
|
"description": "Reference UI for the devframe hub, providing the floating dock and standalone viewer.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@devframes/
|
|
33
|
-
"@devframes/
|
|
34
|
-
"devframe": "0.9.
|
|
32
|
+
"@devframes/hub": "0.9.8",
|
|
33
|
+
"@devframes/json-render": "0.9.8",
|
|
34
|
+
"devframe": "0.9.8"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@devframes/json-render": {
|
|
@@ -39,27 +39,27 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@antfu/design": "^0.
|
|
42
|
+
"@antfu/design": "^0.4.0",
|
|
43
|
+
"@devframes/hub": "0.9.8",
|
|
44
|
+
"@devframes/json-render": "0.9.8",
|
|
45
|
+
"@devframes/plugin-git": "0.9.8",
|
|
43
46
|
"@iconify-json/ph": "^1.2.2",
|
|
44
|
-
"@storybook/addon-docs": "^10.5.
|
|
45
|
-
"@storybook/vue3-vite": "^10.5.
|
|
46
|
-
"@types/node": "^26.
|
|
47
|
-
"@unocss/reset": "^66.
|
|
47
|
+
"@storybook/addon-docs": "^10.5.10",
|
|
48
|
+
"@storybook/vue3-vite": "^10.5.10",
|
|
49
|
+
"@types/node": "^26.4.0",
|
|
50
|
+
"@unocss/reset": "^66.8.1",
|
|
48
51
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
52
|
"@vueuse/core": "^14.4.0",
|
|
50
|
-
"
|
|
53
|
+
"devframe": "0.9.8",
|
|
54
|
+
"dompurify": "^3.4.14",
|
|
51
55
|
"fuse.js": "^7.5.0",
|
|
52
56
|
"iframe-pane": "^1.1.0",
|
|
53
|
-
"storybook": "^10.5.
|
|
57
|
+
"storybook": "^10.5.10",
|
|
54
58
|
"tsdown": "^0.22.14",
|
|
55
|
-
"tsx": "^4.23.
|
|
56
|
-
"unocss": "^66.
|
|
57
|
-
"vite": "^8.2.
|
|
58
|
-
"vue": "^3.5.
|
|
59
|
-
"@devframes/hub": "0.9.7",
|
|
60
|
-
"@devframes/plugin-git": "0.9.7",
|
|
61
|
-
"@devframes/json-render": "0.9.7",
|
|
62
|
-
"devframe": "0.9.7"
|
|
59
|
+
"tsx": "^4.23.13",
|
|
60
|
+
"unocss": "^66.8.1",
|
|
61
|
+
"vite": "^8.2.2",
|
|
62
|
+
"vue": "^3.5.42"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "pnpm run build:css && pnpm run build:node && pnpm run build:embedded && pnpm run build:standalone",
|