@vaadin/confirm-dialog 23.3.21 → 23.3.22
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 +9 -9
- package/web-types.json +8 -52
- package/web-types.lit.json +5 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/confirm-dialog",
|
|
3
|
-
"version": "23.3.
|
|
3
|
+
"version": "23.3.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/button": "~23.3.
|
|
40
|
-
"@vaadin/component-base": "~23.3.
|
|
41
|
-
"@vaadin/dialog": "~23.3.
|
|
42
|
-
"@vaadin/overlay": "~23.3.
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "~23.3.
|
|
44
|
-
"@vaadin/vaadin-material-styles": "~23.3.
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "~23.3.
|
|
39
|
+
"@vaadin/button": "~23.3.22",
|
|
40
|
+
"@vaadin/component-base": "~23.3.22",
|
|
41
|
+
"@vaadin/dialog": "~23.3.22",
|
|
42
|
+
"@vaadin/overlay": "~23.3.22",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "~23.3.22",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "~23.3.22",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "~23.3.22"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"web-types.json",
|
|
54
54
|
"web-types.lit.json"
|
|
55
55
|
],
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "88ff9ce571e2cb894223e9a8f275c1bd8fd51e3e"
|
|
57
57
|
}
|
package/web-types.json
CHANGED
|
@@ -1,26 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/confirm-dialog",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "23.3.22",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "vaadin-confirm-dialog",
|
|
11
|
-
"description": "`<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.\n\n```\n<vaadin-confirm-dialog cancel
|
|
11
|
+
"description": "`<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.\n\n```\n<vaadin-confirm-dialog cancel>\n There are unsaved changes. Do you really want to leave?\n</vaadin-confirm-dialog>\n```\n\n### Styling\n\nThe `<vaadin-confirm-dialog>` is not themable. Apply styles to `<vaadin-confirm-dialog-overlay>`\ncomponent and use its shadow parts for styling.\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/23.3.22/#/elements/vaadin-overlay) for the overlay styling documentation.\n\nIn addition to `<vaadin-overlay>` parts, the following parts are available for theming:\n\nPart name | Description\n-----------------|-------------------------------------------\n`header` | The header element wrapper\n`message` | The message element wrapper\n`footer` | The footer element that wraps the buttons\n`cancel-button` | The \"Cancel\" button wrapper\n`confirm-button` | The \"Confirm\" button wrapper\n`reject-button` | The \"Reject\" button wrapper\n\nUse `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.\nAlso, the `theme` attribute value set on `<vaadin-confirm-dialog>` is propagated to the\n`<vaadin-confirm-dialog-overlay>` component.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/custom-theme/styling-components) documentation.\n\n### Custom content\n\nThe following slots are available for providing custom content:\n\nSlot name | Description\n------------------|---------------------------\n`header` | Slot for header element\n`cancel-button` | Slot for \"Cancel\" button\n`confirm-button` | Slot for \"Confirm\" button\n`reject-button` | Slot for \"Reject\" button",
|
|
12
12
|
"attributes": [
|
|
13
|
-
{
|
|
14
|
-
"name": "accessible-description-ref",
|
|
15
|
-
"description": "Sets the `aria-describedby` attribute of the overlay element.\n\nBy default, all elements inside the message area are linked\nthrough the `aria-describedby` attribute. However, there are\ncases where this can confuse screen reader users (e.g. the dialog\nmay present a password confirmation form). For these cases,\nit's better to associate only the elements that will help describe\nthe confirmation dialog through this API.",
|
|
16
|
-
"value": {
|
|
17
|
-
"type": [
|
|
18
|
-
"string",
|
|
19
|
-
"null",
|
|
20
|
-
"undefined"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
13
|
{
|
|
25
14
|
"name": "opened",
|
|
26
15
|
"description": "True if the overlay is currently displayed.",
|
|
@@ -78,8 +67,8 @@
|
|
|
78
67
|
}
|
|
79
68
|
},
|
|
80
69
|
{
|
|
81
|
-
"name": "reject
|
|
82
|
-
"description": "Whether to show
|
|
70
|
+
"name": "reject",
|
|
71
|
+
"description": "Whether to show cancel button or not.",
|
|
83
72
|
"value": {
|
|
84
73
|
"type": [
|
|
85
74
|
"boolean"
|
|
@@ -105,7 +94,7 @@
|
|
|
105
94
|
}
|
|
106
95
|
},
|
|
107
96
|
{
|
|
108
|
-
"name": "cancel
|
|
97
|
+
"name": "cancel",
|
|
109
98
|
"description": "Whether to show cancel button or not.",
|
|
110
99
|
"value": {
|
|
111
100
|
"type": [
|
|
@@ -131,17 +120,6 @@
|
|
|
131
120
|
]
|
|
132
121
|
}
|
|
133
122
|
},
|
|
134
|
-
{
|
|
135
|
-
"name": "overlay-class",
|
|
136
|
-
"description": "A space-delimited list of CSS class names\nto set on the underlying overlay element.",
|
|
137
|
-
"value": {
|
|
138
|
-
"type": [
|
|
139
|
-
"string",
|
|
140
|
-
"null",
|
|
141
|
-
"undefined"
|
|
142
|
-
]
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
123
|
{
|
|
146
124
|
"name": "theme",
|
|
147
125
|
"description": "The theme variants to apply to the component.",
|
|
@@ -156,17 +134,6 @@
|
|
|
156
134
|
],
|
|
157
135
|
"js": {
|
|
158
136
|
"properties": [
|
|
159
|
-
{
|
|
160
|
-
"name": "accessibleDescriptionRef",
|
|
161
|
-
"description": "Sets the `aria-describedby` attribute of the overlay element.\n\nBy default, all elements inside the message area are linked\nthrough the `aria-describedby` attribute. However, there are\ncases where this can confuse screen reader users (e.g. the dialog\nmay present a password confirmation form). For these cases,\nit's better to associate only the elements that will help describe\nthe confirmation dialog through this API.",
|
|
162
|
-
"value": {
|
|
163
|
-
"type": [
|
|
164
|
-
"string",
|
|
165
|
-
"null",
|
|
166
|
-
"undefined"
|
|
167
|
-
]
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
137
|
{
|
|
171
138
|
"name": "opened",
|
|
172
139
|
"description": "True if the overlay is currently displayed.",
|
|
@@ -224,8 +191,8 @@
|
|
|
224
191
|
}
|
|
225
192
|
},
|
|
226
193
|
{
|
|
227
|
-
"name": "
|
|
228
|
-
"description": "Whether to show
|
|
194
|
+
"name": "reject",
|
|
195
|
+
"description": "Whether to show cancel button or not.",
|
|
229
196
|
"value": {
|
|
230
197
|
"type": [
|
|
231
198
|
"boolean"
|
|
@@ -251,7 +218,7 @@
|
|
|
251
218
|
}
|
|
252
219
|
},
|
|
253
220
|
{
|
|
254
|
-
"name": "
|
|
221
|
+
"name": "cancel",
|
|
255
222
|
"description": "Whether to show cancel button or not.",
|
|
256
223
|
"value": {
|
|
257
224
|
"type": [
|
|
@@ -276,17 +243,6 @@
|
|
|
276
243
|
"string"
|
|
277
244
|
]
|
|
278
245
|
}
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"name": "overlayClass",
|
|
282
|
-
"description": "A space-delimited list of CSS class names\nto set on the underlying overlay element.",
|
|
283
|
-
"value": {
|
|
284
|
-
"type": [
|
|
285
|
-
"string",
|
|
286
|
-
"null",
|
|
287
|
-
"undefined"
|
|
288
|
-
]
|
|
289
|
-
}
|
|
290
246
|
}
|
|
291
247
|
],
|
|
292
248
|
"events": [
|
package/web-types.lit.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": "
|
|
4
|
+
"version": "23.3.22",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"elements": [
|
|
17
17
|
{
|
|
18
18
|
"name": "vaadin-confirm-dialog",
|
|
19
|
-
"description": "`<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.\n\n```\n<vaadin-confirm-dialog cancel
|
|
19
|
+
"description": "`<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.\n\n```\n<vaadin-confirm-dialog cancel>\n There are unsaved changes. Do you really want to leave?\n</vaadin-confirm-dialog>\n```\n\n### Styling\n\nThe `<vaadin-confirm-dialog>` is not themable. Apply styles to `<vaadin-confirm-dialog-overlay>`\ncomponent and use its shadow parts for styling.\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/23.3.22/#/elements/vaadin-overlay) for the overlay styling documentation.\n\nIn addition to `<vaadin-overlay>` parts, the following parts are available for theming:\n\nPart name | Description\n-----------------|-------------------------------------------\n`header` | The header element wrapper\n`message` | The message element wrapper\n`footer` | The footer element that wraps the buttons\n`cancel-button` | The \"Cancel\" button wrapper\n`confirm-button` | The \"Confirm\" button wrapper\n`reject-button` | The \"Reject\" button wrapper\n\nUse `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.\nAlso, the `theme` attribute value set on `<vaadin-confirm-dialog>` is propagated to the\n`<vaadin-confirm-dialog-overlay>` component.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/custom-theme/styling-components) documentation.\n\n### Custom content\n\nThe following slots are available for providing custom content:\n\nSlot name | Description\n------------------|---------------------------\n`header` | Slot for header element\n`cancel-button` | Slot for \"Cancel\" button\n`confirm-button` | Slot for \"Confirm\" button\n`reject-button` | Slot for \"Reject\" button",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|
|
@@ -34,22 +34,15 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "?
|
|
38
|
-
"description": "Whether to show reject button or not.",
|
|
39
|
-
"value": {
|
|
40
|
-
"kind": "expression"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "?cancelButtonVisible",
|
|
37
|
+
"name": "?reject",
|
|
45
38
|
"description": "Whether to show cancel button or not.",
|
|
46
39
|
"value": {
|
|
47
40
|
"kind": "expression"
|
|
48
41
|
}
|
|
49
42
|
},
|
|
50
43
|
{
|
|
51
|
-
"name": "
|
|
52
|
-
"description": "
|
|
44
|
+
"name": "?cancel",
|
|
45
|
+
"description": "Whether to show cancel button or not.",
|
|
53
46
|
"value": {
|
|
54
47
|
"kind": "expression"
|
|
55
48
|
}
|
|
@@ -110,13 +103,6 @@
|
|
|
110
103
|
"kind": "expression"
|
|
111
104
|
}
|
|
112
105
|
},
|
|
113
|
-
{
|
|
114
|
-
"name": ".overlayClass",
|
|
115
|
-
"description": "A space-delimited list of CSS class names\nto set on the underlying overlay element.",
|
|
116
|
-
"value": {
|
|
117
|
-
"kind": "expression"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
106
|
{
|
|
121
107
|
"name": "@cancel",
|
|
122
108
|
"description": "cancel\nfired when Cancel button or Escape key was pressed.",
|