@omniviewdev/runtime 0.26.0 → 0.27.0
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.
|
@@ -54,6 +54,18 @@ export declare const MenuViewSidebarMinimize = "menu/view/sidebar/minimize";
|
|
|
54
54
|
* Name of the custom event "menu/view/terminal/create".
|
|
55
55
|
*/
|
|
56
56
|
export declare const MenuViewTerminalCreate = "menu/view/terminal/create";
|
|
57
|
+
/**
|
|
58
|
+
* Name of the custom event "menu/view/zoom/in".
|
|
59
|
+
*/
|
|
60
|
+
export declare const MenuViewZoomIn = "menu/view/zoom/in";
|
|
61
|
+
/**
|
|
62
|
+
* Name of the custom event "menu/view/zoom/out".
|
|
63
|
+
*/
|
|
64
|
+
export declare const MenuViewZoomOut = "menu/view/zoom/out";
|
|
65
|
+
/**
|
|
66
|
+
* Name of the custom event "menu/view/zoom/reset".
|
|
67
|
+
*/
|
|
68
|
+
export declare const MenuViewZoomReset = "menu/view/zoom/reset";
|
|
57
69
|
/**
|
|
58
70
|
* Name of the custom event "plugin/crash".
|
|
59
71
|
*/
|
|
@@ -88,6 +88,14 @@ export type DrawerComponentAction<T = any> = {
|
|
|
88
88
|
* list calculations so render memoization observes external state changes.
|
|
89
89
|
*/
|
|
90
90
|
list?: ((ctx: DrawerContext<T>, snapshot?: unknown) => Array<DrawerComponentActionListItem>) | Array<DrawerComponentActionListItem>;
|
|
91
|
+
/**
|
|
92
|
+
* Optional joined dropdown beside the primary action/list. Unlike the primary
|
|
93
|
+
* list, this menu always opens for selection, including when it has one item.
|
|
94
|
+
*/
|
|
95
|
+
splitMenu?: {
|
|
96
|
+
title: string;
|
|
97
|
+
list: NonNullable<DrawerComponentAction<T>['list']>;
|
|
98
|
+
};
|
|
91
99
|
/**
|
|
92
100
|
* Optional hook-backed state used while rendering action availability and lists.
|
|
93
101
|
* Snapshots must retain identity until the subscribed state changes.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Omniview",
|
|
3
3
|
"license": "AGPL-3.0-only",
|
|
4
4
|
"name": "@omniviewdev/runtime",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.27.0",
|
|
6
6
|
"description": "Runtime shared library for Omniview",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"omniview"
|
|
53
53
|
],
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@omniviewdev/base-ui": "~0.
|
|
55
|
+
"@omniviewdev/base-ui": "~0.12.0",
|
|
56
56
|
"@tanstack/react-query": "5.105.0",
|
|
57
57
|
"@types/node": "26.6.5",
|
|
58
58
|
"@types/react": "19.3.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@typescript/native": "npm:typescript@7.0.2"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@omniviewdev/base-ui": "~0.
|
|
71
|
+
"@omniviewdev/base-ui": "~0.12.0",
|
|
72
72
|
"@tanstack/react-query": "^5.105.0",
|
|
73
73
|
"react": "^19.3.1",
|
|
74
74
|
"react-dom": "^19.3.1",
|