@vaadin/context-menu 24.4.0-dev.223e39f050 → 24.4.0-dev.4b20a0c55.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/README.md +0 -1
- package/package.json +11 -11
- package/src/lit/renderer-directives.d.ts +1 -1
- package/src/lit/renderer-directives.js +1 -1
- package/src/vaadin-context-menu-item.d.ts +1 -1
- package/src/vaadin-context-menu-item.js +1 -1
- package/src/vaadin-context-menu-list-box.d.ts +1 -1
- package/src/vaadin-context-menu-list-box.js +1 -1
- package/src/vaadin-context-menu-mixin.d.ts +1 -1
- package/src/vaadin-context-menu-mixin.js +1 -1
- package/src/vaadin-context-menu-overlay.d.ts +1 -1
- package/src/vaadin-context-menu-overlay.js +1 -1
- package/src/vaadin-context-menu.d.ts +1 -1
- package/src/vaadin-context-menu.js +1 -1
- package/src/vaadin-contextmenu-event.js +1 -1
- package/src/vaadin-contextmenu-items-mixin.d.ts +1 -1
- package/src/vaadin-contextmenu-items-mixin.js +2 -1
- package/src/vaadin-lit-context-menu-item.js +1 -1
- package/src/vaadin-lit-context-menu-list-box.js +1 -1
- package/src/vaadin-lit-context-menu-overlay.js +1 -1
- package/src/vaadin-lit-context-menu.js +2 -2
- package/src/vaadin-menu-overlay-mixin.d.ts +1 -1
- package/src/vaadin-menu-overlay-mixin.js +1 -1
- package/src/vaadin-menu-overlay-styles.d.ts +1 -1
- package/src/vaadin-menu-overlay-styles.js +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@ A web component that can be attached to any component to display a context menu.
|
|
|
5
5
|
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/context-menu)
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@vaadin/context-menu)
|
|
8
|
-
[](https://discord.gg/PHmkCKC)
|
|
9
8
|
|
|
10
9
|
```html
|
|
11
10
|
<vaadin-context-menu>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/context-menu",
|
|
3
|
-
"version": "24.4.0-dev.
|
|
3
|
+
"version": "24.4.0-dev.4b20a0c55.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
43
43
|
"@polymer/polymer": "^3.0.0",
|
|
44
|
-
"@vaadin/a11y-base": "24.4.0-dev.
|
|
45
|
-
"@vaadin/component-base": "24.4.0-dev.
|
|
46
|
-
"@vaadin/item": "24.4.0-dev.
|
|
47
|
-
"@vaadin/list-box": "24.4.0-dev.
|
|
48
|
-
"@vaadin/lit-renderer": "24.4.0-dev.
|
|
49
|
-
"@vaadin/overlay": "24.4.0-dev.
|
|
50
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.
|
|
51
|
-
"@vaadin/vaadin-material-styles": "24.4.0-dev.
|
|
52
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.
|
|
44
|
+
"@vaadin/a11y-base": "24.4.0-dev.4b20a0c55.3",
|
|
45
|
+
"@vaadin/component-base": "24.4.0-dev.4b20a0c55.3",
|
|
46
|
+
"@vaadin/item": "24.4.0-dev.4b20a0c55.3",
|
|
47
|
+
"@vaadin/list-box": "24.4.0-dev.4b20a0c55.3",
|
|
48
|
+
"@vaadin/lit-renderer": "24.4.0-dev.4b20a0c55.3",
|
|
49
|
+
"@vaadin/overlay": "24.4.0-dev.4b20a0c55.3",
|
|
50
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.4b20a0c55.3",
|
|
51
|
+
"@vaadin/vaadin-material-styles": "24.4.0-dev.4b20a0c55.3",
|
|
52
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.4b20a0c55.3",
|
|
53
53
|
"lit": "^3.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"web-types.json",
|
|
62
62
|
"web-types.lit.json"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "41cf17453d7506fb635c088a0425e20b6e82b89b"
|
|
65
65
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { DirectiveResult } from 'lit/directive.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ListMixin } from '@vaadin/a11y-base/src/list-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { isTouch } from '@vaadin/component-base/src/browser-utils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { isTouch } from '@vaadin/component-base/src/browser-utils.js';
|
|
@@ -178,6 +178,7 @@ export const ItemsMixin = (superClass) =>
|
|
|
178
178
|
// Support menu-bar / context-menu item
|
|
179
179
|
if (component._hasVaadinItemMixin) {
|
|
180
180
|
component.setAttribute('role', 'menuitem');
|
|
181
|
+
component.tabIndex = -1;
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
if (component.localName === 'hr') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import './vaadin-contextmenu-event.js';
|
|
@@ -21,7 +21,7 @@ import { ContextMenuMixin } from './vaadin-context-menu-mixin.js';
|
|
|
21
21
|
*
|
|
22
22
|
* ## Disclaimer
|
|
23
23
|
*
|
|
24
|
-
* This component is an experiment not
|
|
24
|
+
* This component is an experiment and not yet a part of Vaadin platform.
|
|
25
25
|
* There is no ETA regarding specific Vaadin version where it'll land.
|
|
26
26
|
* Feel free to try this code in your apps as per Apache 2.0 license.
|
|
27
27
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { getClosestElement } from '@vaadin/component-base/src/dom-utils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|