@vaadin/confirm-dialog 25.1.0-alpha9 → 25.1.0-beta2
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/custom-elements.json +0 -6
- package/package.json +12 -12
- package/src/vaadin-confirm-dialog-mixin.js +0 -11
- package/web-types.json +67 -23
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/confirm-dialog",
|
|
3
|
-
"version": "25.1.0-
|
|
3
|
+
"version": "25.1.0-beta2",
|
|
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.1.0-
|
|
39
|
-
"@vaadin/component-base": "25.1.0-
|
|
40
|
-
"@vaadin/dialog": "25.1.0-
|
|
41
|
-
"@vaadin/overlay": "25.1.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
38
|
+
"@vaadin/button": "25.1.0-beta2",
|
|
39
|
+
"@vaadin/component-base": "25.1.0-beta2",
|
|
40
|
+
"@vaadin/dialog": "25.1.0-beta2",
|
|
41
|
+
"@vaadin/overlay": "25.1.0-beta2",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-beta2",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/a11y-base": "25.1.0-
|
|
47
|
-
"@vaadin/aura": "25.1.0-
|
|
48
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
49
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
46
|
+
"@vaadin/a11y-base": "25.1.0-beta2",
|
|
47
|
+
"@vaadin/aura": "25.1.0-beta2",
|
|
48
|
+
"@vaadin/chai-plugins": "25.1.0-beta2",
|
|
49
|
+
"@vaadin/test-runner-commands": "25.1.0-beta2",
|
|
50
50
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
51
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
51
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-beta2",
|
|
52
52
|
"sinon": "^21.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": "ffbedbae08a5160d13bcd1c6fcaa328df5103a05"
|
|
60
60
|
}
|
|
@@ -31,7 +31,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* True if the dialog is visible and available for interaction.
|
|
34
|
-
* @type {boolean}
|
|
35
34
|
*/
|
|
36
35
|
opened: {
|
|
37
36
|
type: Boolean,
|
|
@@ -43,7 +42,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
43
42
|
|
|
44
43
|
/**
|
|
45
44
|
* Set the confirmation dialog title.
|
|
46
|
-
* @type {string}
|
|
47
45
|
*/
|
|
48
46
|
header: {
|
|
49
47
|
type: String,
|
|
@@ -62,7 +60,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
62
60
|
* Text displayed on confirm-button.
|
|
63
61
|
* This only affects the default button, custom slotted buttons will not be altered.
|
|
64
62
|
* @attr {string} confirm-text
|
|
65
|
-
* @type {string}
|
|
66
63
|
*/
|
|
67
64
|
confirmText: {
|
|
68
65
|
type: String,
|
|
@@ -73,7 +70,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
73
70
|
* Theme for a confirm-button.
|
|
74
71
|
* This only affects the default button, custom slotted buttons will not be altered.
|
|
75
72
|
* @attr {string} confirm-theme
|
|
76
|
-
* @type {string}
|
|
77
73
|
*/
|
|
78
74
|
confirmTheme: {
|
|
79
75
|
type: String,
|
|
@@ -83,7 +79,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
83
79
|
/**
|
|
84
80
|
* Set to true to disable closing dialog on Escape press
|
|
85
81
|
* @attr {boolean} no-close-on-esc
|
|
86
|
-
* @type {boolean}
|
|
87
82
|
*/
|
|
88
83
|
noCloseOnEsc: {
|
|
89
84
|
type: Boolean,
|
|
@@ -93,7 +88,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
93
88
|
/**
|
|
94
89
|
* Whether to show reject button or not.
|
|
95
90
|
* @attr {boolean} reject-button-visible
|
|
96
|
-
* @type {boolean}
|
|
97
91
|
*/
|
|
98
92
|
rejectButtonVisible: {
|
|
99
93
|
type: Boolean,
|
|
@@ -105,7 +99,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
105
99
|
* Text displayed on reject-button.
|
|
106
100
|
* This only affects the default button, custom slotted buttons will not be altered.
|
|
107
101
|
* @attr {string} reject-text
|
|
108
|
-
* @type {string}
|
|
109
102
|
*/
|
|
110
103
|
rejectText: {
|
|
111
104
|
type: String,
|
|
@@ -116,7 +109,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
116
109
|
* Theme for a reject-button.
|
|
117
110
|
* This only affects the default button, custom slotted buttons will not be altered.
|
|
118
111
|
* @attr {string} reject-theme
|
|
119
|
-
* @type {string}
|
|
120
112
|
*/
|
|
121
113
|
rejectTheme: {
|
|
122
114
|
type: String,
|
|
@@ -126,7 +118,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
126
118
|
/**
|
|
127
119
|
* Whether to show cancel button or not.
|
|
128
120
|
* @attr {boolean} cancel-button-visible
|
|
129
|
-
* @type {boolean}
|
|
130
121
|
*/
|
|
131
122
|
cancelButtonVisible: {
|
|
132
123
|
type: Boolean,
|
|
@@ -138,7 +129,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
138
129
|
* Text displayed on cancel-button.
|
|
139
130
|
* This only affects the default button, custom slotted buttons will not be altered.
|
|
140
131
|
* @attr {string} cancel-text
|
|
141
|
-
* @type {string}
|
|
142
132
|
*/
|
|
143
133
|
cancelText: {
|
|
144
134
|
type: String,
|
|
@@ -149,7 +139,6 @@ export const ConfirmDialogMixin = (superClass) =>
|
|
|
149
139
|
* Theme for a cancel-button.
|
|
150
140
|
* This only affects the default button, custom slotted buttons will not be altered.
|
|
151
141
|
* @attr {string} cancel-theme
|
|
152
|
-
* @type {string}
|
|
153
142
|
*/
|
|
154
143
|
cancelTheme: {
|
|
155
144
|
type: String,
|
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.1.0-
|
|
4
|
+
"version": "25.1.0-beta2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
"description": "Whether to show cancel button or not.",
|
|
27
27
|
"value": {
|
|
28
28
|
"type": [
|
|
29
|
-
"boolean"
|
|
29
|
+
"boolean",
|
|
30
|
+
"null",
|
|
31
|
+
"undefined"
|
|
30
32
|
]
|
|
31
33
|
}
|
|
32
34
|
},
|
|
@@ -35,7 +37,9 @@
|
|
|
35
37
|
"description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
36
38
|
"value": {
|
|
37
39
|
"type": [
|
|
38
|
-
"string"
|
|
40
|
+
"string",
|
|
41
|
+
"null",
|
|
42
|
+
"undefined"
|
|
39
43
|
]
|
|
40
44
|
}
|
|
41
45
|
},
|
|
@@ -44,7 +48,9 @@
|
|
|
44
48
|
"description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
45
49
|
"value": {
|
|
46
50
|
"type": [
|
|
47
|
-
"string"
|
|
51
|
+
"string",
|
|
52
|
+
"null",
|
|
53
|
+
"undefined"
|
|
48
54
|
]
|
|
49
55
|
}
|
|
50
56
|
},
|
|
@@ -53,7 +59,9 @@
|
|
|
53
59
|
"description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
54
60
|
"value": {
|
|
55
61
|
"type": [
|
|
56
|
-
"string"
|
|
62
|
+
"string",
|
|
63
|
+
"null",
|
|
64
|
+
"undefined"
|
|
57
65
|
]
|
|
58
66
|
}
|
|
59
67
|
},
|
|
@@ -62,7 +70,9 @@
|
|
|
62
70
|
"description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
63
71
|
"value": {
|
|
64
72
|
"type": [
|
|
65
|
-
"string"
|
|
73
|
+
"string",
|
|
74
|
+
"null",
|
|
75
|
+
"undefined"
|
|
66
76
|
]
|
|
67
77
|
}
|
|
68
78
|
},
|
|
@@ -71,7 +81,9 @@
|
|
|
71
81
|
"description": "Set the confirmation dialog title.",
|
|
72
82
|
"value": {
|
|
73
83
|
"type": [
|
|
74
|
-
"string"
|
|
84
|
+
"string",
|
|
85
|
+
"null",
|
|
86
|
+
"undefined"
|
|
75
87
|
]
|
|
76
88
|
}
|
|
77
89
|
},
|
|
@@ -102,7 +114,9 @@
|
|
|
102
114
|
"description": "Set to true to disable closing dialog on Escape press",
|
|
103
115
|
"value": {
|
|
104
116
|
"type": [
|
|
105
|
-
"boolean"
|
|
117
|
+
"boolean",
|
|
118
|
+
"null",
|
|
119
|
+
"undefined"
|
|
106
120
|
]
|
|
107
121
|
}
|
|
108
122
|
},
|
|
@@ -111,7 +125,9 @@
|
|
|
111
125
|
"description": "True if the dialog is visible and available for interaction.",
|
|
112
126
|
"value": {
|
|
113
127
|
"type": [
|
|
114
|
-
"boolean"
|
|
128
|
+
"boolean",
|
|
129
|
+
"null",
|
|
130
|
+
"undefined"
|
|
115
131
|
]
|
|
116
132
|
}
|
|
117
133
|
},
|
|
@@ -120,7 +136,9 @@
|
|
|
120
136
|
"description": "Whether to show reject button or not.",
|
|
121
137
|
"value": {
|
|
122
138
|
"type": [
|
|
123
|
-
"boolean"
|
|
139
|
+
"boolean",
|
|
140
|
+
"null",
|
|
141
|
+
"undefined"
|
|
124
142
|
]
|
|
125
143
|
}
|
|
126
144
|
},
|
|
@@ -129,7 +147,9 @@
|
|
|
129
147
|
"description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
130
148
|
"value": {
|
|
131
149
|
"type": [
|
|
132
|
-
"string"
|
|
150
|
+
"string",
|
|
151
|
+
"null",
|
|
152
|
+
"undefined"
|
|
133
153
|
]
|
|
134
154
|
}
|
|
135
155
|
},
|
|
@@ -138,7 +158,9 @@
|
|
|
138
158
|
"description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
139
159
|
"value": {
|
|
140
160
|
"type": [
|
|
141
|
-
"string"
|
|
161
|
+
"string",
|
|
162
|
+
"null",
|
|
163
|
+
"undefined"
|
|
142
164
|
]
|
|
143
165
|
}
|
|
144
166
|
},
|
|
@@ -183,7 +205,9 @@
|
|
|
183
205
|
"description": "Whether to show cancel button or not.",
|
|
184
206
|
"value": {
|
|
185
207
|
"type": [
|
|
186
|
-
"boolean"
|
|
208
|
+
"boolean",
|
|
209
|
+
"null",
|
|
210
|
+
"undefined"
|
|
187
211
|
]
|
|
188
212
|
}
|
|
189
213
|
},
|
|
@@ -192,7 +216,9 @@
|
|
|
192
216
|
"description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
193
217
|
"value": {
|
|
194
218
|
"type": [
|
|
195
|
-
"string"
|
|
219
|
+
"string",
|
|
220
|
+
"null",
|
|
221
|
+
"undefined"
|
|
196
222
|
]
|
|
197
223
|
}
|
|
198
224
|
},
|
|
@@ -201,7 +227,9 @@
|
|
|
201
227
|
"description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
202
228
|
"value": {
|
|
203
229
|
"type": [
|
|
204
|
-
"string"
|
|
230
|
+
"string",
|
|
231
|
+
"null",
|
|
232
|
+
"undefined"
|
|
205
233
|
]
|
|
206
234
|
}
|
|
207
235
|
},
|
|
@@ -210,7 +238,9 @@
|
|
|
210
238
|
"description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
211
239
|
"value": {
|
|
212
240
|
"type": [
|
|
213
|
-
"string"
|
|
241
|
+
"string",
|
|
242
|
+
"null",
|
|
243
|
+
"undefined"
|
|
214
244
|
]
|
|
215
245
|
}
|
|
216
246
|
},
|
|
@@ -219,7 +249,9 @@
|
|
|
219
249
|
"description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
220
250
|
"value": {
|
|
221
251
|
"type": [
|
|
222
|
-
"string"
|
|
252
|
+
"string",
|
|
253
|
+
"null",
|
|
254
|
+
"undefined"
|
|
223
255
|
]
|
|
224
256
|
}
|
|
225
257
|
},
|
|
@@ -228,7 +260,9 @@
|
|
|
228
260
|
"description": "Set the confirmation dialog title.",
|
|
229
261
|
"value": {
|
|
230
262
|
"type": [
|
|
231
|
-
"string"
|
|
263
|
+
"string",
|
|
264
|
+
"null",
|
|
265
|
+
"undefined"
|
|
232
266
|
]
|
|
233
267
|
}
|
|
234
268
|
},
|
|
@@ -259,7 +293,9 @@
|
|
|
259
293
|
"description": "Set to true to disable closing dialog on Escape press",
|
|
260
294
|
"value": {
|
|
261
295
|
"type": [
|
|
262
|
-
"boolean"
|
|
296
|
+
"boolean",
|
|
297
|
+
"null",
|
|
298
|
+
"undefined"
|
|
263
299
|
]
|
|
264
300
|
}
|
|
265
301
|
},
|
|
@@ -268,7 +304,9 @@
|
|
|
268
304
|
"description": "True if the dialog is visible and available for interaction.",
|
|
269
305
|
"value": {
|
|
270
306
|
"type": [
|
|
271
|
-
"boolean"
|
|
307
|
+
"boolean",
|
|
308
|
+
"null",
|
|
309
|
+
"undefined"
|
|
272
310
|
]
|
|
273
311
|
}
|
|
274
312
|
},
|
|
@@ -277,7 +315,9 @@
|
|
|
277
315
|
"description": "Whether to show reject button or not.",
|
|
278
316
|
"value": {
|
|
279
317
|
"type": [
|
|
280
|
-
"boolean"
|
|
318
|
+
"boolean",
|
|
319
|
+
"null",
|
|
320
|
+
"undefined"
|
|
281
321
|
]
|
|
282
322
|
}
|
|
283
323
|
},
|
|
@@ -286,7 +326,9 @@
|
|
|
286
326
|
"description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
287
327
|
"value": {
|
|
288
328
|
"type": [
|
|
289
|
-
"string"
|
|
329
|
+
"string",
|
|
330
|
+
"null",
|
|
331
|
+
"undefined"
|
|
290
332
|
]
|
|
291
333
|
}
|
|
292
334
|
},
|
|
@@ -295,7 +337,9 @@
|
|
|
295
337
|
"description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
|
|
296
338
|
"value": {
|
|
297
339
|
"type": [
|
|
298
|
-
"string"
|
|
340
|
+
"string",
|
|
341
|
+
"null",
|
|
342
|
+
"undefined"
|
|
299
343
|
]
|
|
300
344
|
}
|
|
301
345
|
},
|
package/web-types.lit.json
CHANGED