@gandalan/weblibs 1.5.33 → 1.5.34
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/api/neherApp3Types.js +2 -1
- package/index.d.ts +2 -1
- package/package.json +1 -1
package/api/neherApp3Types.js
CHANGED
|
@@ -64,9 +64,10 @@
|
|
|
64
64
|
* @property {boolean} [selected] - Indicates if the menu item is currently selected (managed by the menu system)
|
|
65
65
|
* @property {string} [icon] - URL to an icon
|
|
66
66
|
* @property {string | null} [url] - Relative URL to use for routes
|
|
67
|
-
* @property {string} text - Display text
|
|
67
|
+
* @property {string} [text] - Display text (ignored for separator items)
|
|
68
68
|
* @property {string | null} [parent] - Parent menu item (optional). If not set, the item will be added to the top level menu.
|
|
69
69
|
* @property {boolean} [hidden] - If true, the menu item will not be displayed
|
|
70
|
+
* @property {boolean} [separator] - If true, renders as a non-interactive divider between items (text/icon/url are ignored). Use `parent` to place the separator inside a sub-menu.
|
|
70
71
|
*/
|
|
71
72
|
|
|
72
73
|
/**
|
package/index.d.ts
CHANGED
|
@@ -1999,9 +1999,10 @@ export type NeherApp3MenuItem = {
|
|
|
1999
1999
|
selected?: boolean;
|
|
2000
2000
|
icon?: string;
|
|
2001
2001
|
url?: string | null;
|
|
2002
|
-
text
|
|
2002
|
+
text?: string;
|
|
2003
2003
|
parent?: string | null;
|
|
2004
2004
|
hidden?: boolean;
|
|
2005
|
+
separator?: boolean;
|
|
2005
2006
|
};
|
|
2006
2007
|
|
|
2007
2008
|
export type NeherApp3Module = {
|