@vaadin/context-menu 23.1.2 → 23.1.5
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/context-menu",
|
|
3
|
-
"version": "23.1.
|
|
3
|
+
"version": "23.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/component-base": "^23.1.
|
|
41
|
-
"@vaadin/item": "^23.1.
|
|
42
|
-
"@vaadin/list-box": "^23.1.
|
|
43
|
-
"@vaadin/lit-renderer": "^23.1.
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "^23.1.
|
|
45
|
-
"@vaadin/vaadin-material-styles": "^23.1.
|
|
46
|
-
"@vaadin/vaadin-overlay": "^23.1.
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "^23.1.
|
|
40
|
+
"@vaadin/component-base": "^23.1.5",
|
|
41
|
+
"@vaadin/item": "^23.1.5",
|
|
42
|
+
"@vaadin/list-box": "^23.1.5",
|
|
43
|
+
"@vaadin/lit-renderer": "^23.1.5",
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "^23.1.5",
|
|
45
|
+
"@vaadin/vaadin-material-styles": "^23.1.5",
|
|
46
|
+
"@vaadin/vaadin-overlay": "^23.1.5",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "^23.1.5"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@esm-bundle/chai": "^4.3.4",
|
|
51
|
-
"@vaadin/polymer-legacy-adapter": "^23.1.
|
|
51
|
+
"@vaadin/polymer-legacy-adapter": "^23.1.5",
|
|
52
52
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
53
53
|
"sinon": "^13.0.2"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "326938919a54353231af25d341ba6076c249afee"
|
|
56
56
|
}
|
|
@@ -289,13 +289,13 @@ declare class ContextMenu extends ElementMixin(ThemePropertyMixin(ItemsMixin(HTM
|
|
|
289
289
|
addEventListener<K extends keyof ContextMenuEventMap>(
|
|
290
290
|
type: K,
|
|
291
291
|
listener: (this: ContextMenu, ev: ContextMenuEventMap[K]) => void,
|
|
292
|
-
options?:
|
|
292
|
+
options?: AddEventListenerOptions | boolean,
|
|
293
293
|
): void;
|
|
294
294
|
|
|
295
295
|
removeEventListener<K extends keyof ContextMenuEventMap>(
|
|
296
296
|
type: K,
|
|
297
297
|
listener: (this: ContextMenu, ev: ContextMenuEventMap[K]) => void,
|
|
298
|
-
options?:
|
|
298
|
+
options?: EventListenerOptions | boolean,
|
|
299
299
|
): void;
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -9,10 +9,10 @@ import { ListBox } from '@vaadin/list-box/src/vaadin-list-box.js';
|
|
|
9
9
|
|
|
10
10
|
export interface ContextMenuItem {
|
|
11
11
|
text?: string;
|
|
12
|
-
component?:
|
|
12
|
+
component?: HTMLElement | string;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
checked?: boolean;
|
|
15
|
-
theme?: string | string
|
|
15
|
+
theme?: string[] | string;
|
|
16
16
|
children?: ContextMenuItem[];
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -37,7 +37,7 @@ declare global {
|
|
|
37
37
|
*/
|
|
38
38
|
declare class ContextMenuListBox extends ListBox {}
|
|
39
39
|
|
|
40
|
-
export declare function ItemsMixin<T extends Constructor<HTMLElement>>(base: T):
|
|
40
|
+
export declare function ItemsMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<ItemsMixinClass> & T;
|
|
41
41
|
|
|
42
42
|
export declare class ItemsMixinClass {
|
|
43
43
|
/**
|