@common-stack/client-react 0.2.22 → 0.2.23

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.
@@ -76,6 +76,7 @@ export interface IMenuDataItem {
76
76
  flatMenu?: boolean;
77
77
  /**
78
78
  * @name position of the Menu
79
+ * @enum IMenuPosition
79
80
  */
80
81
  position?: IMenuPosition;
81
82
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","sourceRoot":"","sources":["../../src/interfaces/menu.tsx"],"names":[],"mappings":";;;AAqGA,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,kCAAiB,CAAA;AACrB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB"}
1
+ {"version":3,"file":"menu.js","sourceRoot":"","sources":["../../src/interfaces/menu.tsx"],"names":[],"mappings":";;;AAsGA,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,kCAAiB,CAAA;AACrB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB"}
@@ -12,14 +12,25 @@ export interface ICoreRouteData<T> {
12
12
  };
13
13
  }
14
14
  interface CommonMenuData {
15
+ /** @name hideSelf and children in menu */
15
16
  hideInMenu?: boolean;
17
+ /** @name Hide child nodes in the menu */
16
18
  hideChildrenInMenu?: boolean;
19
+ /** @name Internationalization key for custom menus */
17
20
  locale?: string | false;
21
+ /** @name The name of the menu */
18
22
  name?: string;
23
+ /** @name is used to calibrate the selected value, default is path */
19
24
  key?: string;
25
+ /** @name Icon of the menu */
20
26
  icon?: any;
27
+ /** @name disable menu option */
28
+ disabled?: boolean;
29
+ /** @name hides itself and elevates child nodes to its level */
30
+ flatMenu?: boolean;
21
31
  }
22
32
  export interface IMappedData extends CommonMenuData {
33
+ /** @name path */
23
34
  path?: string;
24
35
  component?: any;
25
36
  route?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/client-react",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "description": "browser plugin for git",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -32,8 +32,8 @@
32
32
  "@types/react-dom": "^17.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@common-stack/client-core": "^0.2.21",
36
- "@common-stack/core": "^0.2.21",
35
+ "@common-stack/client-core": "^0.2.23",
36
+ "@common-stack/core": "^0.2.23",
37
37
  "@wordpress/hooks": "^2.10.0",
38
38
  "browser-bunyan": "^1.6.3",
39
39
  "history-with-query": "^4.10.4",
@@ -64,7 +64,7 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "dfdf53d9dc3ffec723d60055f24b73228170087c",
67
+ "gitHead": "b4bc4d41d8b4bd0fcd546a80ece0b0fe368cd9ac",
68
68
  "typescript": {
69
69
  "definition": "lib/index.d.ts"
70
70
  }