@vaadin/dialog 23.0.0-alpha2 → 23.0.0-beta1

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/dialog",
3
- "version": "23.0.0-alpha2",
3
+ "version": "23.0.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -18,6 +18,7 @@
18
18
  },
19
19
  "main": "vaadin-dialog.js",
20
20
  "module": "vaadin-dialog.js",
21
+ "type": "module",
21
22
  "files": [
22
23
  "src",
23
24
  "theme",
@@ -33,20 +34,19 @@
33
34
  ],
34
35
  "dependencies": {
35
36
  "@open-wc/dedupe-mixin": "^1.3.0",
36
- "@polymer/iron-resizable-behavior": "^3.0.0",
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/component-base": "23.0.0-alpha2",
39
- "@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
40
- "@vaadin/vaadin-material-styles": "23.0.0-alpha2",
41
- "@vaadin/vaadin-overlay": "23.0.0-alpha2",
42
- "@vaadin/vaadin-themable-mixin": "23.0.0-alpha2"
38
+ "@vaadin/component-base": "23.0.0-beta1",
39
+ "@vaadin/vaadin-lumo-styles": "23.0.0-beta1",
40
+ "@vaadin/vaadin-material-styles": "23.0.0-beta1",
41
+ "@vaadin/vaadin-overlay": "23.0.0-beta1",
42
+ "@vaadin/vaadin-themable-mixin": "23.0.0-beta1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/polymer-legacy-adapter": "23.0.0-alpha2",
46
+ "@vaadin/polymer-legacy-adapter": "23.0.0-beta1",
47
47
  "@vaadin/testing-helpers": "^0.3.2",
48
- "@vaadin/text-area": "23.0.0-alpha2",
48
+ "@vaadin/text-area": "23.0.0-beta1",
49
49
  "sinon": "^9.2.1"
50
50
  },
51
- "gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
51
+ "gitHead": "467244b76021176c109df675799b07029b293e58"
52
52
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2022 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 { Constructor } from '@open-wc/dedupe-mixin';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2022 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) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2022 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 { Constructor } from '@open-wc/dedupe-mixin';
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
1
6
  import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
2
7
  import { eventInWindow, getMouseOrFirstTouchEvent } from './vaadin-dialog-utils.js';
3
8
 
@@ -215,8 +220,6 @@ export const DialogResizableMixin = (superClass) =>
215
220
  break;
216
221
  }
217
222
  });
218
-
219
- this.$.overlay.notifyResize();
220
223
  }
221
224
  }
222
225
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2022 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,3 +1,9 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+
1
7
  /**
2
8
  * Checks if the argument is a touch event and if so, returns a first touch.
3
9
  * Otherwise, if the mouse event was passed, returns it as is.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2022 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,10 +1,8 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
7
- import { mixinBehaviors } from '@polymer/polymer/lib/legacy/class.js';
8
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
9
7
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
8
  import { processTemplates } from '@vaadin/component-base/src/templates.js';
@@ -40,7 +38,7 @@ let memoizedTemplate;
40
38
  * @extends OverlayElement
41
39
  * @private
42
40
  */
43
- export class DialogOverlay extends mixinBehaviors(IronResizableBehavior, OverlayElement) {
41
+ export class DialogOverlay extends OverlayElement {
44
42
  static get is() {
45
43
  return 'vaadin-dialog-overlay';
46
44
  }