@vaadin/confirm-dialog 25.0.0-alpha8 → 25.0.0-alpha9
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/confirm-dialog",
|
|
3
|
-
"version": "25.0.0-
|
|
3
|
+
"version": "25.0.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/button": "25.0.0-
|
|
41
|
-
"@vaadin/component-base": "25.0.0-
|
|
42
|
-
"@vaadin/dialog": "25.0.0-
|
|
43
|
-
"@vaadin/overlay": "25.0.0-
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
40
|
+
"@vaadin/button": "25.0.0-alpha9",
|
|
41
|
+
"@vaadin/component-base": "25.0.0-alpha9",
|
|
42
|
+
"@vaadin/dialog": "25.0.0-alpha9",
|
|
43
|
+
"@vaadin/overlay": "25.0.0-alpha9",
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-alpha9",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-alpha9",
|
|
46
46
|
"lit": "^3.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
50
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
51
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
49
|
+
"@vaadin/a11y-base": "25.0.0-alpha9",
|
|
50
|
+
"@vaadin/chai-plugins": "25.0.0-alpha9",
|
|
51
|
+
"@vaadin/test-runner-commands": "25.0.0-alpha9",
|
|
52
52
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
53
53
|
"sinon": "^18.0.0"
|
|
54
54
|
},
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "bbe4720721e0955ffc87a79b412bee38b1f0eb1e"
|
|
60
60
|
}
|
|
@@ -220,10 +220,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
220
220
|
this.__reject = this.__reject.bind(this);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
get __slottedNodes() {
|
|
224
|
-
return [this._headerNode, ...this._messageNodes, this._cancelButton, this._confirmButton, this._rejectButton];
|
|
225
|
-
}
|
|
226
|
-
|
|
227
223
|
/** @protected */
|
|
228
224
|
connectedCallback() {
|
|
229
225
|
super.connectedCallback();
|
|
@@ -83,22 +83,6 @@ class ConfirmDialogOverlay extends OverlayMixin(DirMixin(ThemableMixin(PolylitMi
|
|
|
83
83
|
this.setAttribute('has-footer', '');
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
/**
|
|
87
|
-
* @protected
|
|
88
|
-
* @override
|
|
89
|
-
*/
|
|
90
|
-
_attachOverlay() {
|
|
91
|
-
this.showPopover();
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @protected
|
|
96
|
-
* @override
|
|
97
|
-
*/
|
|
98
|
-
_detachOverlay() {
|
|
99
|
-
this.hidePopover();
|
|
100
|
-
}
|
|
101
|
-
|
|
102
86
|
/**
|
|
103
87
|
* Override method from OverlayFocusMixin to use owner as content root
|
|
104
88
|
* @protected
|
|
@@ -72,16 +72,16 @@ class ConfirmDialog extends ConfirmDialogMixin(ElementMixin(ThemePropertyMixin(P
|
|
|
72
72
|
|
|
73
73
|
static get styles() {
|
|
74
74
|
return css`
|
|
75
|
-
:host,
|
|
76
|
-
[hidden] {
|
|
77
|
-
display: none !important;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
75
|
:host([opened]),
|
|
81
76
|
:host([opening]),
|
|
82
77
|
:host([closing]) {
|
|
83
78
|
display: contents !important;
|
|
84
79
|
}
|
|
80
|
+
|
|
81
|
+
:host,
|
|
82
|
+
:host([hidden]) {
|
|
83
|
+
display: none !important;
|
|
84
|
+
}
|
|
85
85
|
`;
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -90,7 +90,6 @@ class ConfirmDialog extends ConfirmDialogMixin(ElementMixin(ThemePropertyMixin(P
|
|
|
90
90
|
return html`
|
|
91
91
|
<vaadin-confirm-dialog-overlay
|
|
92
92
|
id="overlay"
|
|
93
|
-
popover="manual"
|
|
94
93
|
.owner="${this}"
|
|
95
94
|
.opened="${this.opened}"
|
|
96
95
|
theme="${ifDefined(this._theme)}"
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED