@vaadin/overlay 24.3.4 → 24.4.0-alpha10

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.3.4",
3
+ "version": "24.4.0-alpha10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/vaadin/web-components.git",
12
- "directory": "packages/vaadin-overlay"
12
+ "directory": "packages/overlay"
13
13
  },
14
14
  "author": "Vaadin Ltd",
15
15
  "homepage": "https://vaadin.com/components",
@@ -36,17 +36,17 @@
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "~24.3.4",
40
- "@vaadin/component-base": "~24.3.4",
41
- "@vaadin/vaadin-lumo-styles": "~24.3.4",
42
- "@vaadin/vaadin-material-styles": "~24.3.4",
43
- "@vaadin/vaadin-themable-mixin": "~24.3.4"
39
+ "@vaadin/a11y-base": "24.4.0-alpha10",
40
+ "@vaadin/component-base": "24.4.0-alpha10",
41
+ "@vaadin/vaadin-lumo-styles": "24.4.0-alpha10",
42
+ "@vaadin/vaadin-material-styles": "24.4.0-alpha10",
43
+ "@vaadin/vaadin-themable-mixin": "24.4.0-alpha10",
44
+ "lit": "^3.0.0"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@esm-bundle/chai": "^4.3.4",
47
48
  "@vaadin/testing-helpers": "^0.6.0",
48
- "lit": "^3.0.0",
49
49
  "sinon": "^13.0.2"
50
50
  },
51
- "gitHead": "dc5d3fd1d0f11a130b3574c455b62ce6b5706ffc"
51
+ "gitHead": "c563c01d6ac5157f5a5885c8f6048d1cf4c727b4"
52
52
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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 intended for publishing to npm.
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 - 2023 Vaadin Ltd.
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 intended for publishing to npm.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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 - 2023 Vaadin Ltd.
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
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import './vaadin-overlay-styles.js';
2
+ import '../../src/vaadin-overlay.js';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import './vaadin-overlay-styles.js';
2
+ import '../../src/vaadin-overlay.js';