@vuu-ui/vuu-data-types 0.8.4-debug → 0.8.5-debug

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -3
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { VuuFilter, VuuRowDataItemType } from "@vuu-ui/vuu-protocol-types";
2
2
  import { Filter } from "@vuu-ui/vuu-filter-types";
3
+ import { MenuActionClosePopup } from "@vuu-ui/vuu-popups";
3
4
 
4
5
  export interface DataSourceFilter extends VuuFilter {
5
6
  filterStruct?: Filter;
@@ -56,7 +57,7 @@ export type ContextMenuItemDescriptor =
56
57
  * MenuBuilder describes a factory function that creates
57
58
  * Menu Item Descriptors appropriate to the supplied
58
59
  * location. Location can be any string identifier, it
59
- * will be used to determine which Menu Items to include
60
+ * can be used to determine which Menu Items to include
60
61
  * in the menu. Most often used for ContextMenus.
61
62
  */
62
63
  export type MenuBuilder<L = string, O = unknown> = (
@@ -73,8 +74,7 @@ export type MenuBuilder<L = string, O = unknown> = (
73
74
  * ActionHandlers to be chained.
74
75
  */
75
76
  export type MenuActionHandler = (
76
- type: string,
77
- options: unknown
77
+ reason: MenuActionClosePopup
78
78
  ) => boolean | undefined;
79
79
 
80
80
  export interface ContextMenuContextType {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-data-types",
3
- "version": "0.8.4-debug",
3
+ "version": "0.8.5-debug",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@vuu-ui/vuu-filter-types": "0.8.4-debug",
8
- "@vuu-ui/vuu-protocol-types": "0.8.4-debug"
7
+ "@vuu-ui/vuu-filter-types": "0.8.5-debug",
8
+ "@vuu-ui/vuu-protocol-types": "0.8.5-debug"
9
9
  },
10
10
  "dependencies": {},
11
11
  "peerDependencies": {},