@vaadin/confirm-dialog 25.3.0-alpha6 → 25.3.0-alpha8

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.
@@ -638,30 +638,6 @@
638
638
  }
639
639
  }
640
640
  ],
641
- "mixins": [
642
- {
643
- "name": "ConfirmDialogMixin",
644
- "module": "src/vaadin-confirm-dialog-mixin.js"
645
- },
646
- {
647
- "name": "ElementMixin",
648
- "package": "@vaadin/component-base/src/element-mixin.js"
649
- },
650
- {
651
- "name": "ThemePropertyMixin",
652
- "package": "@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js"
653
- },
654
- {
655
- "name": "PolylitMixin",
656
- "package": "@vaadin/component-base/src/polylit-mixin.js"
657
- }
658
- ],
659
- "superclass": {
660
- "name": "LitElement",
661
- "package": "lit"
662
- },
663
- "tagName": "vaadin-confirm-dialog",
664
- "customElement": true,
665
641
  "attributes": [
666
642
  {
667
643
  "name": "accessible-description-ref",
@@ -831,6 +807,13 @@
831
807
  "module": "src/vaadin-confirm-dialog-mixin.js"
832
808
  }
833
809
  },
810
+ {
811
+ "type": {
812
+ "text": "string"
813
+ },
814
+ "description": "The theme variants to apply to the component.",
815
+ "name": "theme"
816
+ },
834
817
  {
835
818
  "name": "width",
836
819
  "type": {
@@ -843,7 +826,31 @@
843
826
  "package": "@vaadin/dialog/src/vaadin-dialog-size-mixin.js"
844
827
  }
845
828
  }
846
- ]
829
+ ],
830
+ "mixins": [
831
+ {
832
+ "name": "ConfirmDialogMixin",
833
+ "module": "src/vaadin-confirm-dialog-mixin.js"
834
+ },
835
+ {
836
+ "name": "ElementMixin",
837
+ "package": "@vaadin/component-base/src/element-mixin.js"
838
+ },
839
+ {
840
+ "name": "ThemePropertyMixin",
841
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js"
842
+ },
843
+ {
844
+ "name": "PolylitMixin",
845
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
846
+ }
847
+ ],
848
+ "superclass": {
849
+ "name": "LitElement",
850
+ "package": "lit"
851
+ },
852
+ "tagName": "vaadin-confirm-dialog",
853
+ "customElement": true
847
854
  }
848
855
  ],
849
856
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/confirm-dialog",
3
- "version": "25.3.0-alpha6",
3
+ "version": "25.3.0-alpha8",
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-alpha6",
39
- "@vaadin/component-base": "25.3.0-alpha6",
40
- "@vaadin/dialog": "25.3.0-alpha6",
41
- "@vaadin/overlay": "25.3.0-alpha6",
42
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha6",
38
+ "@vaadin/button": "25.3.0-alpha8",
39
+ "@vaadin/component-base": "25.3.0-alpha8",
40
+ "@vaadin/dialog": "25.3.0-alpha8",
41
+ "@vaadin/overlay": "25.3.0-alpha8",
42
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha8",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/a11y-base": "25.3.0-alpha6",
47
- "@vaadin/aura": "25.3.0-alpha6",
48
- "@vaadin/chai-plugins": "25.3.0-alpha6",
49
- "@vaadin/test-runner-commands": "25.3.0-alpha6",
46
+ "@vaadin/a11y-base": "25.3.0-alpha8",
47
+ "@vaadin/aura": "25.3.0-alpha8",
48
+ "@vaadin/chai-plugins": "25.3.0-alpha8",
49
+ "@vaadin/test-runner-commands": "25.3.0-alpha8",
50
50
  "@vaadin/testing-helpers": "^2.0.0",
51
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha6",
51
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha8",
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": "92c124fb9cff367bc07e734d8e65707facd0bd43"
59
+ "gitHead": "ccbb4aaffb63c745c6da0426b532d4d05e47af29"
60
60
  }
@@ -15,6 +15,7 @@ import { confirmDialogOverlayStyles } from './styles/vaadin-confirm-dialog-overl
15
15
  /**
16
16
  * An element used internally by `<vaadin-confirm-dialog>`. Not intended to be used separately.
17
17
  *
18
+ * @attr {string} theme - The theme variants to apply to the component.
18
19
  * @customElement vaadin-confirm-dialog-overlay
19
20
  * @extends HTMLElement
20
21
  * @private
@@ -88,11 +89,11 @@ class ConfirmDialogOverlay extends OverlayMixin(DirMixin(ThemableMixin(PolylitMi
88
89
  }
89
90
 
90
91
  /**
91
- * Override method from OverlayFocusMixin to use owner as focus trap root
92
+ * Override method from OverlayFocusMixin to use owner as focus root
92
93
  * @protected
93
94
  * @override
94
95
  */
95
- get _focusTrapRoot() {
96
+ get _focusRoot() {
96
97
  return this.owner;
97
98
  }
98
99
  }
@@ -78,6 +78,7 @@ import { ConfirmDialogMixin } from './vaadin-confirm-dialog-mixin.js';
78
78
  * @fires {CustomEvent} opened-changed - Fired when the `opened` property changes.
79
79
  * @fires {CustomEvent} closed - Fired when the confirm dialog is closed.
80
80
  *
81
+ * @attr {string} theme - The theme variants to apply to the component.
81
82
  * @customElement vaadin-confirm-dialog
82
83
  * @extends HTMLElement
83
84
  */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/confirm-dialog",
4
- "version": "25.3.0-alpha6",
4
+ "version": "25.3.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -141,9 +141,7 @@
141
141
  "description": "The theme variants to apply to the component.",
142
142
  "value": {
143
143
  "type": [
144
- "string",
145
- "null",
146
- "undefined"
144
+ "string"
147
145
  ]
148
146
  }
149
147
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/confirm-dialog",
4
- "version": "25.3.0-alpha6",
4
+ "version": "25.3.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {