@vaadin/overlay 24.2.0-dev.f254716fe → 24.2.0

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/overlay",
3
- "version": "24.2.0-dev.f254716fe",
3
+ "version": "24.2.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,6 +21,8 @@
21
21
  "type": "module",
22
22
  "files": [
23
23
  "src",
24
+ "!src/vaadin-lit-overlay.d.ts",
25
+ "!src/vaadin-lit-overlay.js",
24
26
  "theme",
25
27
  "vaadin-*.d.ts",
26
28
  "vaadin-*.js"
@@ -36,17 +38,17 @@
36
38
  "dependencies": {
37
39
  "@open-wc/dedupe-mixin": "^1.3.0",
38
40
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "24.2.0-dev.f254716fe",
40
- "@vaadin/component-base": "24.2.0-dev.f254716fe",
41
- "@vaadin/vaadin-lumo-styles": "24.2.0-dev.f254716fe",
42
- "@vaadin/vaadin-material-styles": "24.2.0-dev.f254716fe",
43
- "@vaadin/vaadin-themable-mixin": "24.2.0-dev.f254716fe"
41
+ "@vaadin/a11y-base": "~24.2.0",
42
+ "@vaadin/component-base": "~24.2.0",
43
+ "@vaadin/vaadin-lumo-styles": "~24.2.0",
44
+ "@vaadin/vaadin-material-styles": "~24.2.0",
45
+ "@vaadin/vaadin-themable-mixin": "~24.2.0"
44
46
  },
45
47
  "devDependencies": {
46
48
  "@esm-bundle/chai": "^4.3.4",
47
- "@vaadin/testing-helpers": "^0.4.3",
49
+ "@vaadin/testing-helpers": "^0.5.0",
48
50
  "lit": "^2.0.0",
49
51
  "sinon": "^13.0.2"
50
52
  },
51
- "gitHead": "da54950b9f8c14c6451ede0d426e16a489c7fb9b"
53
+ "gitHead": "8b9e860d53fc0132d05d3e8701eeded2dca74eba"
52
54
  }
@@ -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 { processTemplates } from '@vaadin/component-base/src/templates.js';
9
10
  import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -71,6 +72,7 @@ registerStyles('vaadin-overlay', overlayStyles, { moduleId: 'vaadin-overlay-styl
71
72
  * @fires {CustomEvent} vaadin-overlay-outside-click - Fired before the overlay is closed on outside click. Calling `preventDefault()` on the event cancels the closing.
72
73
  * @fires {CustomEvent} vaadin-overlay-escape-press - Fired before the overlay is closed on Escape key press. Calling `preventDefault()` on the event cancels the closing.
73
74
  *
75
+ * @customElement
74
76
  * @extends HTMLElement
75
77
  * @mixes ThemableMixin
76
78
  * @mixes DirMixin
@@ -134,6 +136,6 @@ class Overlay extends OverlayMixin(ThemableMixin(DirMixin(PolymerElement))) {
134
136
  */
135
137
  }
136
138
 
137
- customElements.define(Overlay.is, Overlay);
139
+ defineCustomElement(Overlay);
138
140
 
139
141
  export { Overlay };