@vaadin/dialog 23.1.0-beta4 → 23.1.0-rc3
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/dialog",
|
|
3
|
-
"version": "23.1.0-
|
|
3
|
+
"version": "23.1.0-rc3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/component-base": "23.1.0-
|
|
41
|
-
"@vaadin/lit-renderer": "23.1.0-
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "23.1.0-
|
|
43
|
-
"@vaadin/vaadin-material-styles": "23.1.0-
|
|
44
|
-
"@vaadin/vaadin-overlay": "23.1.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "23.1.0-
|
|
40
|
+
"@vaadin/component-base": "23.1.0-rc3",
|
|
41
|
+
"@vaadin/lit-renderer": "23.1.0-rc3",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "23.1.0-rc3",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "23.1.0-rc3",
|
|
44
|
+
"@vaadin/vaadin-overlay": "23.1.0-rc3",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "23.1.0-rc3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@esm-bundle/chai": "^4.3.4",
|
|
49
|
-
"@vaadin/polymer-legacy-adapter": "23.1.0-
|
|
49
|
+
"@vaadin/polymer-legacy-adapter": "23.1.0-rc3",
|
|
50
50
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
51
|
-
"@vaadin/text-area": "23.1.0-
|
|
51
|
+
"@vaadin/text-area": "23.1.0-rc3",
|
|
52
52
|
"sinon": "^13.0.2"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "49c312fbe0228adb559296d45655bbfd4eac6235"
|
|
55
55
|
}
|
|
@@ -17,7 +17,9 @@ class AbstractDialogRendererDirective extends LitRendererDirective {
|
|
|
17
17
|
*
|
|
18
18
|
* @abstract
|
|
19
19
|
*/
|
|
20
|
-
rendererProperty
|
|
20
|
+
get rendererProperty() {
|
|
21
|
+
throw new Error('The `rendererProperty` getter must be implemented.');
|
|
22
|
+
}
|
|
21
23
|
|
|
22
24
|
/**
|
|
23
25
|
* Adds the renderer callback to the dialog.
|
|
@@ -51,15 +53,21 @@ class AbstractDialogRendererDirective extends LitRendererDirective {
|
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
export class DialogRendererDirective extends AbstractDialogRendererDirective {
|
|
54
|
-
rendererProperty
|
|
56
|
+
get rendererProperty() {
|
|
57
|
+
return 'renderer';
|
|
58
|
+
}
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
export class DialogHeaderRendererDirective extends AbstractDialogRendererDirective {
|
|
58
|
-
rendererProperty
|
|
62
|
+
get rendererProperty() {
|
|
63
|
+
return 'headerRenderer';
|
|
64
|
+
}
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
export class DialogFooterRendererDirective extends AbstractDialogRendererDirective {
|
|
62
|
-
rendererProperty
|
|
68
|
+
get rendererProperty() {
|
|
69
|
+
return 'footerRenderer';
|
|
70
|
+
}
|
|
63
71
|
}
|
|
64
72
|
|
|
65
73
|
/**
|