@vaadin/menu-bar 23.1.2 → 23.1.3
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.1.
|
|
3
|
+
"version": "23.1.3",
|
|
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.1.
|
|
39
|
-
"@vaadin/component-base": "^23.1.
|
|
40
|
-
"@vaadin/vaadin-context-menu": "^23.1.
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "^23.1.
|
|
42
|
-
"@vaadin/vaadin-material-styles": "^23.1.
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "^23.1.
|
|
38
|
+
"@vaadin/button": "^23.1.3",
|
|
39
|
+
"@vaadin/component-base": "^23.1.3",
|
|
40
|
+
"@vaadin/vaadin-context-menu": "^23.1.3",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "^23.1.3",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "^23.1.3",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "^23.1.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@esm-bundle/chai": "^4.3.4",
|
|
47
|
-
"@vaadin/icon": "^23.1.
|
|
47
|
+
"@vaadin/icon": "^23.1.3",
|
|
48
48
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "3066c296ad0ef652bc49417005523398199f1bf2"
|
|
52
52
|
}
|
|
@@ -8,7 +8,7 @@ import { ResizeMixinClass } from '@vaadin/component-base/src/resize-mixin.js';
|
|
|
8
8
|
|
|
9
9
|
export declare function ButtonsMixin<T extends Constructor<HTMLElement>>(
|
|
10
10
|
base: T,
|
|
11
|
-
):
|
|
11
|
+
): Constructor<ButtonsMixinClass> & Constructor<ResizeMixinClass> & T;
|
|
12
12
|
|
|
13
13
|
export declare class ButtonsMixinClass {
|
|
14
14
|
protected readonly _buttons: HTMLElement[];
|
|
@@ -7,7 +7,7 @@ import { Constructor } from '@open-wc/dedupe-mixin';
|
|
|
7
7
|
|
|
8
8
|
export declare function InteractionsMixin<T extends Constructor<HTMLElement>>(
|
|
9
9
|
base: T,
|
|
10
|
-
):
|
|
10
|
+
): Constructor<InteractionsMixinClass> & T;
|
|
11
11
|
|
|
12
12
|
export declare class InteractionsMixinClass {
|
|
13
13
|
/**
|
package/src/vaadin-menu-bar.d.ts
CHANGED
|
@@ -11,17 +11,17 @@ import { InteractionsMixin } from './vaadin-menu-bar-interactions-mixin.js';
|
|
|
11
11
|
|
|
12
12
|
export interface MenuBarItem {
|
|
13
13
|
text?: string;
|
|
14
|
-
component?:
|
|
14
|
+
component?: HTMLElement | string;
|
|
15
15
|
disabled?: boolean;
|
|
16
|
-
theme?: string | string
|
|
16
|
+
theme?: string[] | string;
|
|
17
17
|
children?: SubMenuItem[];
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export interface SubMenuItem {
|
|
21
21
|
text?: string;
|
|
22
|
-
component?:
|
|
22
|
+
component?: HTMLElement | string;
|
|
23
23
|
disabled?: boolean;
|
|
24
|
-
theme?: string | string
|
|
24
|
+
theme?: string[] | string;
|
|
25
25
|
checked?: boolean;
|
|
26
26
|
children?: SubMenuItem[];
|
|
27
27
|
}
|
|
@@ -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?:
|
|
141
|
+
options?: AddEventListenerOptions | boolean,
|
|
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?:
|
|
147
|
+
options?: EventListenerOptions | boolean,
|
|
148
148
|
): void;
|
|
149
149
|
|
|
150
150
|
/**
|