@vaadin/menu-bar 24.2.0-dev.f254716fe → 24.2.0-rc1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/menu-bar",
3
- "version": "24.2.0-dev.f254716fe",
3
+ "version": "24.2.0-rc1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,26 +37,26 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/a11y-base": "24.2.0-dev.f254716fe",
41
- "@vaadin/button": "24.2.0-dev.f254716fe",
42
- "@vaadin/component-base": "24.2.0-dev.f254716fe",
43
- "@vaadin/context-menu": "24.2.0-dev.f254716fe",
44
- "@vaadin/item": "24.2.0-dev.f254716fe",
45
- "@vaadin/list-box": "24.2.0-dev.f254716fe",
46
- "@vaadin/overlay": "24.2.0-dev.f254716fe",
47
- "@vaadin/vaadin-lumo-styles": "24.2.0-dev.f254716fe",
48
- "@vaadin/vaadin-material-styles": "24.2.0-dev.f254716fe",
49
- "@vaadin/vaadin-themable-mixin": "24.2.0-dev.f254716fe"
40
+ "@vaadin/a11y-base": "24.2.0-rc1",
41
+ "@vaadin/button": "24.2.0-rc1",
42
+ "@vaadin/component-base": "24.2.0-rc1",
43
+ "@vaadin/context-menu": "24.2.0-rc1",
44
+ "@vaadin/item": "24.2.0-rc1",
45
+ "@vaadin/list-box": "24.2.0-rc1",
46
+ "@vaadin/overlay": "24.2.0-rc1",
47
+ "@vaadin/vaadin-lumo-styles": "24.2.0-rc1",
48
+ "@vaadin/vaadin-material-styles": "24.2.0-rc1",
49
+ "@vaadin/vaadin-themable-mixin": "24.2.0-rc1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@esm-bundle/chai": "^4.3.4",
53
- "@vaadin/icon": "24.2.0-dev.f254716fe",
54
- "@vaadin/testing-helpers": "^0.4.3",
53
+ "@vaadin/icon": "24.2.0-rc1",
54
+ "@vaadin/testing-helpers": "^0.5.0",
55
55
  "sinon": "^13.0.2"
56
56
  },
57
57
  "web-types": [
58
58
  "web-types.json",
59
59
  "web-types.lit.json"
60
60
  ],
61
- "gitHead": "da54950b9f8c14c6451ede0d426e16a489c7fb9b"
61
+ "gitHead": "012bef350bbf29865748f4c78338dd17c6f61a74"
62
62
  }
@@ -4,6 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { Button } from '@vaadin/button/src/vaadin-button.js';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
7
8
  import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
9
 
9
10
  registerStyles(
@@ -28,6 +29,7 @@ registerStyles(
28
29
  /**
29
30
  * An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
30
31
  *
32
+ * @customElement
31
33
  * @extends Button
32
34
  * @private
33
35
  */
@@ -37,4 +39,4 @@ class MenuBarButton extends Button {
37
39
  }
38
40
  }
39
41
 
40
- customElements.define(MenuBarButton.is, MenuBarButton);
42
+ defineCustomElement(MenuBarButton);
@@ -4,6 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
7
8
  import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
8
9
  import { ItemMixin } from '@vaadin/item/src/vaadin-item-mixin.js';
9
10
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -11,6 +12,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
11
12
  /**
12
13
  * An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
13
14
  *
15
+ * @customElement
14
16
  * @extends HTMLElement
15
17
  * @mixes DirMixin
16
18
  * @mixes ItemMixin
@@ -50,6 +52,6 @@ class MenuBarItem extends ItemMixin(ThemableMixin(DirMixin(PolymerElement))) {
50
52
  }
51
53
  }
52
54
 
53
- customElements.define(MenuBarItem.is, MenuBarItem);
55
+ defineCustomElement(MenuBarItem);
54
56
 
55
57
  export { MenuBarItem };
@@ -6,12 +6,14 @@
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
7
  import { ListMixin } from '@vaadin/a11y-base/src/list-mixin.js';
8
8
  import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
9
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
9
10
  import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
10
11
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
11
12
 
12
13
  /**
13
14
  * An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
14
15
  *
16
+ * @customElement
15
17
  * @extends HTMLElement
16
18
  * @mixes ControllerMixin
17
19
  * @mixes DirMixin
@@ -76,6 +78,6 @@ class MenuBarListBox extends ListMixin(ThemableMixin(DirMixin(ControllerMixin(Po
76
78
  }
77
79
  }
78
80
 
79
- customElements.define(MenuBarListBox.is, MenuBarListBox);
81
+ defineCustomElement(MenuBarListBox);
80
82
 
81
83
  export { MenuBarListBox };
@@ -732,7 +732,6 @@ export const MenuBarMixin = (superClass) =>
732
732
  /** @private */
733
733
  __onItemSelected(e) {
734
734
  e.stopPropagation();
735
- this._close();
736
735
  this.__fireItemSelected(e.detail.value);
737
736
  }
738
737
 
@@ -3,13 +3,15 @@
3
3
  * Copyright (c) 2019 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
+ import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
6
7
  import { MenuOverlayMixin } from '@vaadin/context-menu/src/vaadin-menu-overlay-mixin.js';
7
- import { Overlay } from '@vaadin/overlay/src/vaadin-overlay.js';
8
+ import { OverlayMixin } from '@vaadin/overlay/src/vaadin-overlay-mixin.js';
9
+ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
10
 
9
11
  /**
10
12
  * An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
11
13
  */
12
- declare class MenuBarOverlay extends MenuOverlayMixin(Overlay) {}
14
+ declare class MenuBarOverlay extends MenuOverlayMixin(OverlayMixin(DirMixin(ThemableMixin(HTMLElement)))) {}
13
15
 
14
16
  declare global {
15
17
  interface HTMLElementTagNameMap {
@@ -3,24 +3,45 @@
3
3
  * Copyright (c) 2019 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
+ import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
+ import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
6
9
  import { MenuOverlayMixin } from '@vaadin/context-menu/src/vaadin-menu-overlay-mixin.js';
7
10
  import { styles } from '@vaadin/context-menu/src/vaadin-menu-overlay-styles.js';
8
- import { Overlay } from '@vaadin/overlay/src/vaadin-overlay.js';
9
- import { registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
11
+ import { OverlayMixin } from '@vaadin/overlay/src/vaadin-overlay-mixin.js';
12
+ import { overlayStyles } from '@vaadin/overlay/src/vaadin-overlay-styles.js';
13
+ import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
10
14
 
11
- registerStyles('vaadin-menu-bar-overlay', styles, { moduleId: 'vaadin-menu-bar-overlay-styles' });
15
+ registerStyles('vaadin-menu-bar-overlay', [overlayStyles, styles], {
16
+ moduleId: 'vaadin-menu-bar-overlay-styles',
17
+ });
12
18
 
13
19
  /**
14
20
  * An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
15
21
  *
16
- * @extends Overlay
22
+ * @customElement
23
+ * @extends HTMLElement
24
+ * @mixes DirMixin
17
25
  * @mixes MenuOverlayMixin
18
- * @private
26
+ * @mixes OverlayMixin
27
+ * @mixes ThemableMixin
28
+ * @protected
19
29
  */
20
- class MenuBarOverlay extends MenuOverlayMixin(Overlay) {
30
+ export class MenuBarOverlay extends MenuOverlayMixin(OverlayMixin(DirMixin(ThemableMixin(PolymerElement)))) {
21
31
  static get is() {
22
32
  return 'vaadin-menu-bar-overlay';
23
33
  }
34
+
35
+ static get template() {
36
+ return html`
37
+ <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
38
+ <div part="overlay" id="overlay" tabindex="0">
39
+ <div part="content" id="content">
40
+ <slot></slot>
41
+ </div>
42
+ </div>
43
+ `;
44
+ }
24
45
  }
25
46
 
26
- customElements.define(MenuBarOverlay.is, MenuBarOverlay);
47
+ defineCustomElement(MenuBarOverlay);
@@ -7,11 +7,13 @@ import './vaadin-menu-bar-item.js';
7
7
  import './vaadin-menu-bar-list-box.js';
8
8
  import './vaadin-menu-bar-overlay.js';
9
9
  import { html } from '@polymer/polymer/lib/utils/html-tag.js';
10
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
10
11
  import { ContextMenu } from '@vaadin/context-menu/src/vaadin-context-menu.js';
11
12
 
12
13
  /**
13
14
  * An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
14
15
  *
16
+ * @customElement
15
17
  * @extends ContextMenu
16
18
  * @protected
17
19
  */
@@ -82,4 +84,4 @@ class MenuBarSubmenu extends ContextMenu {
82
84
  }
83
85
  }
84
86
 
85
- customElements.define(MenuBarSubmenu.is, MenuBarSubmenu);
87
+ defineCustomElement(MenuBarSubmenu);
@@ -7,6 +7,7 @@ import './vaadin-menu-bar-submenu.js';
7
7
  import './vaadin-menu-bar-button.js';
8
8
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
9
9
  import { DisabledMixin } from '@vaadin/a11y-base/src/disabled-mixin.js';
10
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
10
11
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
11
12
  import { TooltipController } from '@vaadin/component-base/src/tooltip-controller.js';
12
13
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -58,6 +59,7 @@ import { MenuBarMixin } from './vaadin-menu-bar-mixin.js';
58
59
  *
59
60
  * @fires {CustomEvent<boolean>} item-selected - Fired when a submenu item or menu bar button without children is clicked.
60
61
  *
62
+ * @customElement
61
63
  * @extends HTMLElement
62
64
  * @mixes DisabledMixin
63
65
  * @mixes ElementMixin
@@ -271,6 +273,6 @@ class MenuBar extends MenuBarMixin(DisabledMixin(ElementMixin(ThemableMixin(Poly
271
273
  */
272
274
  }
273
275
 
274
- customElements.define(MenuBar.is, MenuBar);
276
+ defineCustomElement(MenuBar);
275
277
 
276
278
  export { MenuBar };
@@ -3,5 +3,4 @@ import './vaadin-menu-bar-item-styles.js';
3
3
  import './vaadin-menu-bar-list-box-styles.js';
4
4
  import './vaadin-menu-bar-overlay-styles.js';
5
5
  import './vaadin-menu-bar-styles.js';
6
- import '@vaadin/overlay/theme/lumo/vaadin-overlay.js';
7
6
  import '../../src/vaadin-menu-bar.js';
@@ -3,5 +3,4 @@ import './vaadin-menu-bar-item-styles.js';
3
3
  import './vaadin-menu-bar-list-box-styles.js';
4
4
  import './vaadin-menu-bar-styles.js';
5
5
  import './vaadin-menu-bar-overlay-styles.js';
6
- import '@vaadin/overlay/theme/material/vaadin-overlay.js';
7
6
  import '../../src/vaadin-menu-bar.js';
package/web-types.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/web-types",
3
+ "name": "@vaadin/menu-bar",
4
+ "version": "24.2.0-rc1",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "vaadin-menu-bar",
11
+ "description": "`<vaadin-menu-bar>` is a Web Component providing a set of horizontally stacked buttons offering\nthe user quick access to a consistent set of commands. Each button can toggle a submenu with\nsupport for additional levels of nested menus.\n\nTo create the menu bar, first add the component to the page:\n\n```\n<vaadin-menu-bar></vaadin-menu-bar>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-menu-bar#property-items) property to initialize the structure:\n\n```\ndocument.querySelector('vaadin-menu-bar').items = [{text: 'File'}, {text: 'Edit'}];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n------------------|----------------\n`container` | The container wrapping menu bar buttons.\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n--------------------|----------------------------------\n`disabled` | Set when the menu bar is disabled\n`has-single-button` | Set when there is only one button visible\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-menu-bar>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-menu-bar-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-button).\n- `<vaadin-menu-bar-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-item).\n- `<vaadin-menu-bar-list-box>` - has the same API as [`<vaadin-list-box>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-list-box).\n- `<vaadin-menu-bar-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-overlay).",
12
+ "attributes": [
13
+ {
14
+ "name": "disabled",
15
+ "description": "If true, the user cannot interact with this element.",
16
+ "value": {
17
+ "type": [
18
+ "boolean",
19
+ "null",
20
+ "undefined"
21
+ ]
22
+ }
23
+ },
24
+ {
25
+ "name": "open-on-hover",
26
+ "description": "If true, the submenu will open on hover (mouseover) instead of click.",
27
+ "value": {
28
+ "type": [
29
+ "boolean",
30
+ "null",
31
+ "undefined"
32
+ ]
33
+ }
34
+ },
35
+ {
36
+ "name": "overlay-class",
37
+ "description": "A space-delimited list of CSS class names\nto set on each sub-menu overlay element.",
38
+ "value": {
39
+ "type": [
40
+ "string",
41
+ "null",
42
+ "undefined"
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "name": "theme",
48
+ "description": "The theme variants to apply to the component.",
49
+ "value": {
50
+ "type": [
51
+ "string",
52
+ "null",
53
+ "undefined"
54
+ ]
55
+ }
56
+ }
57
+ ],
58
+ "js": {
59
+ "properties": [
60
+ {
61
+ "name": "disabled",
62
+ "description": "If true, the user cannot interact with this element.",
63
+ "value": {
64
+ "type": [
65
+ "boolean",
66
+ "null",
67
+ "undefined"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "name": "openOnHover",
73
+ "description": "If true, the submenu will open on hover (mouseover) instead of click.",
74
+ "value": {
75
+ "type": [
76
+ "boolean",
77
+ "null",
78
+ "undefined"
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "name": "items",
84
+ "description": "Defines a hierarchical structure, where root level items represent menu bar buttons,\nand `children` property configures a submenu with items to be opened below\nthe button on click, Enter, Space, Up and Down arrow keys.\n\n#### Example\n\n```js\nmenubar.items = [\n {\n text: 'File',\n children: [\n {text: 'Open'}\n {text: 'Auto Save', checked: true},\n ]\n },\n {component: 'hr'},\n {\n text: 'Edit',\n children: [\n {text: 'Undo', disabled: true},\n {text: 'Redo'}\n ]\n },\n {text: 'Help'}\n];\n```",
85
+ "value": {
86
+ "type": [
87
+ "Array.<MenuBarItem>"
88
+ ]
89
+ }
90
+ },
91
+ {
92
+ "name": "i18n",
93
+ "description": "The object used to localize this component.\nTo change the default localization, replace the entire\n`i18n` object with a custom one.\n\nTo update individual properties, extend the existing i18n object like so:\n```\nmenuBar.i18n = {\n ...menuBar.i18n,\n moreOptions: 'More options'\n}\n```\n\nThe object has the following JSON structure and default values:\n```\n{\n moreOptions: 'More options'\n}\n```",
94
+ "value": {
95
+ "type": [
96
+ "MenuBarI18n"
97
+ ]
98
+ }
99
+ },
100
+ {
101
+ "name": "overlayClass",
102
+ "description": "A space-delimited list of CSS class names\nto set on each sub-menu overlay element.",
103
+ "value": {
104
+ "type": [
105
+ "string",
106
+ "null",
107
+ "undefined"
108
+ ]
109
+ }
110
+ }
111
+ ],
112
+ "events": [
113
+ {
114
+ "name": "item-selected",
115
+ "description": "Fired when either a submenu item or menu bar button without nested children is clicked."
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ }
123
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/web-types",
3
+ "name": "@vaadin/menu-bar",
4
+ "version": "24.2.0-rc1",
5
+ "description-markup": "markdown",
6
+ "framework": "lit",
7
+ "framework-config": {
8
+ "enable-when": {
9
+ "node-packages": [
10
+ "lit"
11
+ ]
12
+ }
13
+ },
14
+ "contributions": {
15
+ "html": {
16
+ "elements": [
17
+ {
18
+ "name": "vaadin-menu-bar",
19
+ "description": "`<vaadin-menu-bar>` is a Web Component providing a set of horizontally stacked buttons offering\nthe user quick access to a consistent set of commands. Each button can toggle a submenu with\nsupport for additional levels of nested menus.\n\nTo create the menu bar, first add the component to the page:\n\n```\n<vaadin-menu-bar></vaadin-menu-bar>\n```\n\nAnd then use [`items`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-menu-bar#property-items) property to initialize the structure:\n\n```\ndocument.querySelector('vaadin-menu-bar').items = [{text: 'File'}, {text: 'Edit'}];\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n------------------|----------------\n`container` | The container wrapping menu bar buttons.\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n--------------------|----------------------------------\n`disabled` | Set when the menu bar is disabled\n`has-single-button` | Set when there is only one button visible\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Internal components\n\nIn addition to `<vaadin-menu-bar>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-menu-bar-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-button).\n- `<vaadin-menu-bar-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-item).\n- `<vaadin-menu-bar-list-box>` - has the same API as [`<vaadin-list-box>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-list-box).\n- `<vaadin-menu-bar-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-rc1/#/elements/vaadin-overlay).",
20
+ "extension": true,
21
+ "attributes": [
22
+ {
23
+ "name": "?disabled",
24
+ "description": "If true, the user cannot interact with this element.",
25
+ "value": {
26
+ "kind": "expression"
27
+ }
28
+ },
29
+ {
30
+ "name": "?openOnHover",
31
+ "description": "If true, the submenu will open on hover (mouseover) instead of click.",
32
+ "value": {
33
+ "kind": "expression"
34
+ }
35
+ },
36
+ {
37
+ "name": ".items",
38
+ "description": "Defines a hierarchical structure, where root level items represent menu bar buttons,\nand `children` property configures a submenu with items to be opened below\nthe button on click, Enter, Space, Up and Down arrow keys.\n\n#### Example\n\n```js\nmenubar.items = [\n {\n text: 'File',\n children: [\n {text: 'Open'}\n {text: 'Auto Save', checked: true},\n ]\n },\n {component: 'hr'},\n {\n text: 'Edit',\n children: [\n {text: 'Undo', disabled: true},\n {text: 'Redo'}\n ]\n },\n {text: 'Help'}\n];\n```",
39
+ "value": {
40
+ "kind": "expression"
41
+ }
42
+ },
43
+ {
44
+ "name": ".i18n",
45
+ "description": "The object used to localize this component.\nTo change the default localization, replace the entire\n`i18n` object with a custom one.\n\nTo update individual properties, extend the existing i18n object like so:\n```\nmenuBar.i18n = {\n ...menuBar.i18n,\n moreOptions: 'More options'\n}\n```\n\nThe object has the following JSON structure and default values:\n```\n{\n moreOptions: 'More options'\n}\n```",
46
+ "value": {
47
+ "kind": "expression"
48
+ }
49
+ },
50
+ {
51
+ "name": ".overlayClass",
52
+ "description": "A space-delimited list of CSS class names\nto set on each sub-menu overlay element.",
53
+ "value": {
54
+ "kind": "expression"
55
+ }
56
+ },
57
+ {
58
+ "name": "@item-selected",
59
+ "description": "Fired when either a submenu item or menu bar button without nested children is clicked.",
60
+ "value": {
61
+ "kind": "expression"
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ ]
67
+ }
68
+ }
69
+ }