@vaadin/confirm-dialog 25.3.0-alpha8 → 25.3.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 +12 -12
- package/src/vaadin-confirm-dialog-mixin.js +1 -8
- 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/confirm-dialog",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/button": "25.3.0-
|
|
39
|
-
"@vaadin/component-base": "25.3.0-
|
|
40
|
-
"@vaadin/dialog": "25.3.0-
|
|
41
|
-
"@vaadin/overlay": "25.3.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
38
|
+
"@vaadin/button": "25.3.0-alpha9",
|
|
39
|
+
"@vaadin/component-base": "25.3.0-alpha9",
|
|
40
|
+
"@vaadin/dialog": "25.3.0-alpha9",
|
|
41
|
+
"@vaadin/overlay": "25.3.0-alpha9",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-alpha9",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
47
|
-
"@vaadin/aura": "25.3.0-
|
|
48
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
49
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
46
|
+
"@vaadin/a11y-base": "25.3.0-alpha9",
|
|
47
|
+
"@vaadin/aura": "25.3.0-alpha9",
|
|
48
|
+
"@vaadin/chai-plugins": "25.3.0-alpha9",
|
|
49
|
+
"@vaadin/test-runner-commands": "25.3.0-alpha9",
|
|
50
50
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
51
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
51
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-alpha9",
|
|
52
52
|
"sinon": "^22.0.0"
|
|
53
53
|
},
|
|
54
54
|
"customElements": "custom-elements.json",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "cb915ebde095ec5b94a87af93dd4530f51984c52"
|
|
60
60
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2018 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import { setAriaIDReference } from '@vaadin/a11y-base/src/aria-id-reference.js';
|
|
7
6
|
import { SlotController } from '@vaadin/component-base/src/slot-controller.js';
|
|
8
7
|
import { DialogSizeMixin } from '@vaadin/dialog/src/vaadin-dialog-size-mixin.js';
|
|
9
8
|
|
|
@@ -305,18 +304,12 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
305
304
|
|
|
306
305
|
if (accessibleDescriptionRef) {
|
|
307
306
|
this.removeAttribute('aria-description');
|
|
308
|
-
|
|
309
|
-
newId: accessibleDescriptionRef,
|
|
310
|
-
oldId: this.__oldAccessibleDescriptionRef,
|
|
311
|
-
fromUser: true,
|
|
312
|
-
});
|
|
307
|
+
this.setAttribute('aria-describedby', accessibleDescriptionRef);
|
|
313
308
|
} else {
|
|
314
309
|
this.removeAttribute('aria-describedby');
|
|
315
310
|
const ariaDescription = messageNodes.map((node) => node.textContent.trim()).join(' ');
|
|
316
311
|
this.setAttribute('aria-description', ariaDescription);
|
|
317
312
|
}
|
|
318
|
-
|
|
319
|
-
this.__oldAccessibleDescriptionRef = accessibleDescriptionRef;
|
|
320
313
|
}
|
|
321
314
|
|
|
322
315
|
/** @private */
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED