@vaadin/menu-bar 23.0.8 → 23.0.11

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": "23.0.8",
3
+ "version": "23.0.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,18 +35,18 @@
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/button": "^23.0.8",
39
- "@vaadin/component-base": "^23.0.8",
40
- "@vaadin/vaadin-context-menu": "^23.0.8",
41
- "@vaadin/vaadin-lumo-styles": "^23.0.8",
42
- "@vaadin/vaadin-material-styles": "^23.0.8",
43
- "@vaadin/vaadin-themable-mixin": "^23.0.8"
38
+ "@vaadin/button": "^23.0.11",
39
+ "@vaadin/component-base": "^23.0.11",
40
+ "@vaadin/vaadin-context-menu": "^23.0.11",
41
+ "@vaadin/vaadin-lumo-styles": "^23.0.11",
42
+ "@vaadin/vaadin-material-styles": "^23.0.11",
43
+ "@vaadin/vaadin-themable-mixin": "^23.0.11"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
- "@vaadin/icon": "^23.0.8",
47
+ "@vaadin/icon": "^23.0.11",
48
48
  "@vaadin/testing-helpers": "^0.3.2",
49
49
  "sinon": "^9.2.1"
50
50
  },
51
- "gitHead": "43fe9d95c8cd745adc7bef214c0097c47f4f83ed"
51
+ "gitHead": "10838304fe6f5c98b838ec3a90bdcf49cbf4650b"
52
52
  }
@@ -14,7 +14,7 @@ registerStyles(
14
14
  z-index: 1;
15
15
  }
16
16
  `,
17
- { moduleId: 'vaadin-menu-bar-button-styles' }
17
+ { moduleId: 'vaadin-menu-bar-button-styles' },
18
18
  );
19
19
 
20
20
  /**
@@ -7,7 +7,7 @@ import { Constructor } from '@open-wc/dedupe-mixin';
7
7
  import { ResizeMixinClass } from '@vaadin/component-base/src/resize-mixin.js';
8
8
 
9
9
  export declare function ButtonsMixin<T extends Constructor<HTMLElement>>(
10
- base: T
10
+ base: T,
11
11
  ): T & Constructor<ButtonsMixinClass> & Constructor<ResizeMixinClass>;
12
12
 
13
13
  export declare class ButtonsMixinClass {
@@ -19,8 +19,8 @@ export const ButtonsMixin = (superClass) =>
19
19
  */
20
20
  _hasOverflow: {
21
21
  type: Boolean,
22
- value: false
23
- }
22
+ value: false,
23
+ },
24
24
  };
25
25
  }
26
26
 
@@ -6,7 +6,7 @@
6
6
  import { Constructor } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  export declare function InteractionsMixin<T extends Constructor<HTMLElement>>(
9
- base: T
9
+ base: T,
10
10
  ): T & Constructor<InteractionsMixinClass>;
11
11
 
12
12
  export declare class InteractionsMixinClass {
@@ -16,8 +16,8 @@ export const InteractionsMixin = (superClass) =>
16
16
  * @attr {boolean} open-on-hover
17
17
  */
18
18
  openOnHover: {
19
- type: Boolean
20
- }
19
+ type: Boolean,
20
+ },
21
21
  };
22
22
  }
23
23
 
@@ -324,9 +324,9 @@ export const InteractionsMixin = (superClass) =>
324
324
  button.dispatchEvent(
325
325
  new CustomEvent('opensubmenu', {
326
326
  detail: {
327
- children: items
328
- }
329
- })
327
+ children: items,
328
+ },
329
+ }),
330
330
  );
331
331
 
332
332
  this._setExpanded(button, true);
@@ -138,13 +138,13 @@ declare class MenuBar extends ButtonsMixin(DisabledMixin(InteractionsMixin(Eleme
138
138
  addEventListener<K extends keyof MenuBarEventMap>(
139
139
  type: K,
140
140
  listener: (this: MenuBar, ev: MenuBarEventMap[K]) => void,
141
- options?: boolean | AddEventListenerOptions
141
+ options?: boolean | AddEventListenerOptions,
142
142
  ): void;
143
143
 
144
144
  removeEventListener<K extends keyof MenuBarEventMap>(
145
145
  type: K,
146
146
  listener: (this: MenuBar, ev: MenuBarEventMap[K]) => void,
147
- options?: boolean | EventListenerOptions
147
+ options?: boolean | EventListenerOptions,
148
148
  ): void;
149
149
  }
150
150
 
@@ -164,7 +164,7 @@ class MenuBar extends ButtonsMixin(DisabledMixin(InteractionsMixin(ElementMixin(
164
164
  */
165
165
  items: {
166
166
  type: Array,
167
- value: () => []
167
+ value: () => [],
168
168
  },
169
169
 
170
170
  /**
@@ -194,10 +194,10 @@ class MenuBar extends ButtonsMixin(DisabledMixin(InteractionsMixin(ElementMixin(
194
194
  type: Object,
195
195
  value: () => {
196
196
  return {
197
- moreOptions: 'More options'
197
+ moreOptions: 'More options',
198
198
  };
199
- }
200
- }
199
+ },
200
+ },
201
201
  };
202
202
  }
203
203
 
@@ -98,5 +98,5 @@ const menuBarButton = css`
98
98
  `;
99
99
 
100
100
  registerStyles('vaadin-menu-bar-button', [button, menuBarButton], {
101
- moduleId: 'lumo-menu-bar-button'
101
+ moduleId: 'lumo-menu-bar-button',
102
102
  });
@@ -25,5 +25,5 @@ registerStyles(
25
25
  box-sizing: border-box !important;
26
26
  }
27
27
  `,
28
- { moduleId: 'lumo-menu-bar-item' }
28
+ { moduleId: 'lumo-menu-bar-item' },
29
29
  );
@@ -7,5 +7,5 @@ registerStyles(
7
7
  padding-top: var(--lumo-space-xs);
8
8
  }
9
9
  `,
10
- { moduleId: 'lumo-menu-bar-overlay' }
10
+ { moduleId: 'lumo-menu-bar-overlay' },
11
11
  );
@@ -107,5 +107,5 @@ const menuBarButton = css`
107
107
  `;
108
108
 
109
109
  registerStyles('vaadin-menu-bar-button', [button, menuBarButton], {
110
- moduleId: 'material-menu-bar-button'
110
+ moduleId: 'material-menu-bar-button',
111
111
  });
@@ -20,5 +20,5 @@ registerStyles(
20
20
  box-sizing: border-box !important;
21
21
  }
22
22
  `,
23
- { moduleId: 'material-menu-bar-item' }
23
+ { moduleId: 'material-menu-bar-item' },
24
24
  );
@@ -7,5 +7,5 @@ registerStyles(
7
7
  padding-top: 5px;
8
8
  }
9
9
  `,
10
- { moduleId: 'material-menu-bar-overlay' }
10
+ { moduleId: 'material-menu-bar-overlay' },
11
11
  );
@@ -8,5 +8,5 @@ registerStyles(
8
8
  padding-bottom: 5px;
9
9
  }
10
10
  `,
11
- { moduleId: 'material-menu-bar' }
11
+ { moduleId: 'material-menu-bar' },
12
12
  );