@vaadin/dialog 25.1.1 → 25.1.2
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 +11 -11
- package/src/vaadin-dialog-draggable-mixin.js +2 -6
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/dialog",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/component-base": "~25.1.
|
|
41
|
-
"@vaadin/lit-renderer": "~25.1.
|
|
42
|
-
"@vaadin/overlay": "~25.1.
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "~25.1.
|
|
40
|
+
"@vaadin/component-base": "~25.1.2",
|
|
41
|
+
"@vaadin/lit-renderer": "~25.1.2",
|
|
42
|
+
"@vaadin/overlay": "~25.1.2",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "~25.1.2",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/a11y-base": "~25.1.
|
|
48
|
-
"@vaadin/aura": "~25.1.
|
|
49
|
-
"@vaadin/chai-plugins": "~25.1.
|
|
50
|
-
"@vaadin/test-runner-commands": "~25.1.
|
|
47
|
+
"@vaadin/a11y-base": "~25.1.2",
|
|
48
|
+
"@vaadin/aura": "~25.1.2",
|
|
49
|
+
"@vaadin/chai-plugins": "~25.1.2",
|
|
50
|
+
"@vaadin/test-runner-commands": "~25.1.2",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
|
-
"@vaadin/vaadin-lumo-styles": "~25.1.
|
|
52
|
+
"@vaadin/vaadin-lumo-styles": "~25.1.2",
|
|
53
53
|
"sinon": "^21.0.2"
|
|
54
54
|
},
|
|
55
55
|
"customElements": "custom-elements.json",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"web-types.json",
|
|
58
58
|
"web-types.lit.json"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "48e5dc507ac5eb8d34839be06cac652f1635fe1c"
|
|
61
61
|
}
|
|
@@ -103,9 +103,7 @@ export const DialogDraggableMixin = (superClass) =>
|
|
|
103
103
|
this.top = top;
|
|
104
104
|
this.left = left;
|
|
105
105
|
}
|
|
106
|
-
this.dispatchEvent(
|
|
107
|
-
new CustomEvent('drag-start', { bubbles: true, composed: true, detail: { width, height, top, left } }),
|
|
108
|
-
);
|
|
106
|
+
this.dispatchEvent(new CustomEvent('drag-start', { detail: { width, height, top, left } }));
|
|
109
107
|
}
|
|
110
108
|
}
|
|
111
109
|
}
|
|
@@ -135,9 +133,7 @@ export const DialogDraggableMixin = (superClass) =>
|
|
|
135
133
|
|
|
136
134
|
/** @private */
|
|
137
135
|
_stopDrag() {
|
|
138
|
-
this.dispatchEvent(
|
|
139
|
-
new CustomEvent('dragged', { bubbles: true, composed: true, detail: { top: this.top, left: this.left } }),
|
|
140
|
-
);
|
|
136
|
+
this.dispatchEvent(new CustomEvent('dragged', { detail: { top: this.top, left: this.left } }));
|
|
141
137
|
window.removeEventListener('mouseup', this._stopDrag);
|
|
142
138
|
window.removeEventListener('touchend', this._stopDrag);
|
|
143
139
|
window.removeEventListener('mousemove', this._drag);
|
package/web-types.json
CHANGED