@vuu-ui/vuu-context-menu 3.3.17 → 4.0.0-alpha.10
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/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "4.0.0-alpha.10",
|
|
3
3
|
"author": "heswell",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"license": "Apache-2.0",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"build:dev": "node ../../scripts/run-build.mjs",
|
|
@@ -9,13 +10,13 @@
|
|
|
9
10
|
"type-defs": "node ../../scripts/build-type-defs.mjs"
|
|
10
11
|
},
|
|
11
12
|
"devDependencies": {
|
|
12
|
-
"@vuu-ui/vuu-data-types": "
|
|
13
|
-
"@vuu-ui/vuu-protocol-types": "
|
|
14
|
-
"@vuu-ui/vuu-table-types": "
|
|
13
|
+
"@vuu-ui/vuu-data-types": "4.0.0-alpha.10",
|
|
14
|
+
"@vuu-ui/vuu-protocol-types": "4.0.0-alpha.10",
|
|
15
|
+
"@vuu-ui/vuu-table-types": "4.0.0-alpha.10"
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
|
-
"@vuu-ui/vuu-utils": "
|
|
18
|
-
"@salt-ds/core": "1.
|
|
18
|
+
"@vuu-ui/vuu-utils": "4.0.0-alpha.10",
|
|
19
|
+
"@salt-ds/core": "1.67.0",
|
|
19
20
|
"@salt-ds/styles": "0.2.1",
|
|
20
21
|
"@salt-ds/window": "0.1.1"
|
|
21
22
|
},
|
|
@@ -38,6 +39,5 @@
|
|
|
38
39
|
},
|
|
39
40
|
"module": "./src/index.js",
|
|
40
41
|
"name": "@vuu-ui/vuu-context-menu",
|
|
41
|
-
"type": "module",
|
|
42
42
|
"types": "types/index.d.ts"
|
|
43
43
|
}
|
package/types/ContextMenu.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export interface ContextMenuProps extends Pick<MenuProps, "open" | "onOpenChange
|
|
|
7
7
|
x: number;
|
|
8
8
|
y: number;
|
|
9
9
|
}
|
|
10
|
-
export declare const ContextMenu: ({ menuHandler, menuItemDescriptors, onOpenChange, open, x, y, }: ContextMenuProps) => import("react
|
|
10
|
+
export declare const ContextMenu: ({ menuHandler, menuItemDescriptors, onOpenChange, open, x, y, }: ContextMenuProps) => import("react").JSX.Element;
|
|
@@ -13,4 +13,4 @@ export interface ContextMenuProviderProps<L extends string = string, O = unknown
|
|
|
13
13
|
menuActionHandler?: MenuActionHandler;
|
|
14
14
|
menuBuilder?: MenuBuilder<L, O>;
|
|
15
15
|
}
|
|
16
|
-
export declare const ContextMenuProvider: <L extends string = string, O = unknown>({ children, menuActionHandler, menuBuilder, }: ContextMenuProviderProps<L, O>) => import("react
|
|
16
|
+
export declare const ContextMenuProvider: <L extends string = string, O = unknown>({ children, menuActionHandler, menuBuilder, }: ContextMenuProviderProps<L, O>) => import("react").JSX.Element;
|
package/types/menu-utils.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export type ContextMenuItemDescriptor = ContextMenuLeafItemDescriptor | ContextM
|
|
|
18
18
|
export declare const isGroupMenuItemDescriptor: (menuItem?: ContextMenuItemDescriptor) => menuItem is ContextMenuGroupItemDescriptor;
|
|
19
19
|
export declare const isOpenBulkEditResponse: (rpcResponse: Partial<VuuRpcResponse>) => rpcResponse is MenuRpcResponse<OpenDialogActionWithSchema>;
|
|
20
20
|
export declare const hasShowNotificationAction: (res: Partial<VuuRpcResponse>) => res is MenuRpcResponse<ShowNotificationAction>;
|
|
21
|
-
export declare const menuItemsFromMenuDescriptors: (menuDescriptors: ContextMenuItemDescriptor[], menuActionHandler: MenuActionHandler) => import("react
|
|
21
|
+
export declare const menuItemsFromMenuDescriptors: (menuDescriptors: ContextMenuItemDescriptor[], menuActionHandler: MenuActionHandler) => import("react").JSX.Element[];
|