@vaadin/dialog 23.0.0-alpha2 → 23.0.0-alpha3
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 +9 -10
- package/src/vaadin-dialog-draggable-mixin.d.ts +1 -1
- package/src/vaadin-dialog-draggable-mixin.js +1 -1
- package/src/vaadin-dialog-resizable-mixin.d.ts +1 -1
- package/src/vaadin-dialog-resizable-mixin.js +5 -2
- package/src/vaadin-dialog-utils.d.ts +1 -1
- package/src/vaadin-dialog-utils.js +6 -0
- package/src/vaadin-dialog.d.ts +1 -1
- package/src/vaadin-dialog.js +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/dialog",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,20 +33,19 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
36
|
-
"@polymer/iron-resizable-behavior": "^3.0.0",
|
|
37
36
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "23.0.0-
|
|
39
|
-
"@vaadin/vaadin-lumo-styles": "23.0.0-
|
|
40
|
-
"@vaadin/vaadin-material-styles": "23.0.0-
|
|
41
|
-
"@vaadin/vaadin-overlay": "23.0.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "23.0.0-
|
|
37
|
+
"@vaadin/component-base": "23.0.0-alpha3",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "23.0.0-alpha3",
|
|
40
|
+
"@vaadin/vaadin-overlay": "23.0.0-alpha3",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"@esm-bundle/chai": "^4.3.4",
|
|
46
|
-
"@vaadin/polymer-legacy-adapter": "23.0.0-
|
|
45
|
+
"@vaadin/polymer-legacy-adapter": "23.0.0-alpha3",
|
|
47
46
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
48
|
-
"@vaadin/text-area": "23.0.0-
|
|
47
|
+
"@vaadin/text-area": "23.0.0-alpha3",
|
|
49
48
|
"sinon": "^9.2.1"
|
|
50
49
|
},
|
|
51
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
|
|
52
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
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,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,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.
|
package/src/vaadin-dialog.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
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';
|
package/src/vaadin-dialog.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
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
|
|
41
|
+
export class DialogOverlay extends OverlayElement {
|
|
44
42
|
static get is() {
|
|
45
43
|
return 'vaadin-dialog-overlay';
|
|
46
44
|
}
|