@vaadin/overlay 24.4.0-dev.223e39f050 → 24.4.0-dev.4b20a0c55
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 +7 -7
- package/src/vaadin-lit-overlay.d.ts +2 -2
- package/src/vaadin-lit-overlay.js +2 -2
- package/src/vaadin-overlay-focus-mixin.d.ts +1 -1
- package/src/vaadin-overlay-focus-mixin.js +1 -1
- package/src/vaadin-overlay-mixin.d.ts +1 -1
- package/src/vaadin-overlay-mixin.js +1 -1
- package/src/vaadin-overlay-position-mixin.d.ts +1 -1
- package/src/vaadin-overlay-position-mixin.js +2 -2
- package/src/vaadin-overlay-stack-mixin.d.ts +1 -1
- package/src/vaadin-overlay-stack-mixin.js +1 -1
- package/src/vaadin-overlay-styles.js +3 -2
- package/src/vaadin-overlay.d.ts +1 -1
- package/src/vaadin-overlay.js +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
<vaadin-overlay> is a Web Component meant for internal use in Vaadin components.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@vaadin/overlay)
|
|
6
|
-
[](https://discord.gg/PHmkCKC)
|
|
7
6
|
|
|
8
7
|
## License
|
|
9
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/overlay",
|
|
3
|
-
"version": "24.4.0-dev.
|
|
3
|
+
"version": "24.4.0-dev.4b20a0c55",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/a11y-base": "24.4.0-dev.
|
|
40
|
-
"@vaadin/component-base": "24.4.0-dev.
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.
|
|
42
|
-
"@vaadin/vaadin-material-styles": "24.4.0-dev.
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.
|
|
39
|
+
"@vaadin/a11y-base": "24.4.0-dev.4b20a0c55",
|
|
40
|
+
"@vaadin/component-base": "24.4.0-dev.4b20a0c55",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.4b20a0c55",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "24.4.0-dev.4b20a0c55",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.4b20a0c55",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@vaadin/testing-helpers": "^0.6.0",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b79c81e5f6fd24684b34ee0dc434e94d943ea13e"
|
|
52
52
|
}
|
|
@@ -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 { LitElement } from 'lit';
|
|
@@ -14,7 +14,7 @@ import { OverlayMixin } from './vaadin-overlay-mixin.js';
|
|
|
14
14
|
*
|
|
15
15
|
* ## Disclaimer
|
|
16
16
|
*
|
|
17
|
-
* This component is an experiment not
|
|
17
|
+
* This component is an experiment and not yet a part of Vaadin platform.
|
|
18
18
|
* There is no ETA regarding specific Vaadin version where it'll land.
|
|
19
19
|
* Feel free to try this code in your apps as per Apache 2.0 license.
|
|
20
20
|
*/
|
|
@@ -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 { html, LitElement } from 'lit';
|
|
@@ -16,7 +16,7 @@ import { overlayStyles } from './vaadin-overlay-styles.js';
|
|
|
16
16
|
*
|
|
17
17
|
* ## Disclaimer
|
|
18
18
|
*
|
|
19
|
-
* This component is an experiment not
|
|
19
|
+
* This component is an experiment and not yet a part of Vaadin platform.
|
|
20
20
|
* There is no ETA regarding specific Vaadin version where it'll land.
|
|
21
21
|
* Feel free to try this code in your apps as per Apache 2.0 license.
|
|
22
22
|
*/
|
|
@@ -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 { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -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 { AriaModalController } from '@vaadin/a11y-base/src/aria-modal-controller.js';
|
|
@@ -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 { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -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 { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js';
|
|
@@ -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 { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -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 { getAncestorRootNodes } from '@vaadin/component-base/src/dom-utils.js';
|
|
@@ -210,7 +210,7 @@ export const PositionMixin = (superClass) =>
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
_updatePosition() {
|
|
213
|
-
if (!this.positionTarget || !this.opened) {
|
|
213
|
+
if (!this.positionTarget || !this.opened || !this.__margins) {
|
|
214
214
|
return;
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -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 { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -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 { css } from 'lit';
|
|
@@ -39,7 +39,8 @@ export const overlayStyles = css`
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:host([hidden]),
|
|
42
|
-
:host(:not([opened]):not([closing]))
|
|
42
|
+
:host(:not([opened]):not([closing])),
|
|
43
|
+
:host(:not([opened]):not([closing])) [part='overlay'] {
|
|
43
44
|
display: none !important;
|
|
44
45
|
}
|
|
45
46
|
|
package/src/vaadin-overlay.d.ts
CHANGED
|
@@ -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 { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
package/src/vaadin-overlay.js
CHANGED
|
@@ -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 { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|