@vaadin/confirm-dialog 25.1.0-alpha7 → 25.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/confirm-dialog",
3
- "version": "25.1.0-alpha7",
3
+ "version": "25.1.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.1.0-alpha7",
39
- "@vaadin/component-base": "25.1.0-alpha7",
40
- "@vaadin/dialog": "25.1.0-alpha7",
41
- "@vaadin/overlay": "25.1.0-alpha7",
42
- "@vaadin/vaadin-themable-mixin": "25.1.0-alpha7",
38
+ "@vaadin/button": "25.1.0-alpha9",
39
+ "@vaadin/component-base": "25.1.0-alpha9",
40
+ "@vaadin/dialog": "25.1.0-alpha9",
41
+ "@vaadin/overlay": "25.1.0-alpha9",
42
+ "@vaadin/vaadin-themable-mixin": "25.1.0-alpha9",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/a11y-base": "25.1.0-alpha7",
47
- "@vaadin/aura": "25.1.0-alpha7",
48
- "@vaadin/chai-plugins": "25.1.0-alpha7",
49
- "@vaadin/test-runner-commands": "25.1.0-alpha7",
46
+ "@vaadin/a11y-base": "25.1.0-alpha9",
47
+ "@vaadin/aura": "25.1.0-alpha9",
48
+ "@vaadin/chai-plugins": "25.1.0-alpha9",
49
+ "@vaadin/test-runner-commands": "25.1.0-alpha9",
50
50
  "@vaadin/testing-helpers": "^2.0.0",
51
- "@vaadin/vaadin-lumo-styles": "25.1.0-alpha7",
51
+ "@vaadin/vaadin-lumo-styles": "25.1.0-alpha9",
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": "98c586125f769c8fefd307536965293668fda81d"
59
+ "gitHead": "ef432311376ba3dac4233cb23d393a49a425e0a4"
60
60
  }
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-alpha7",
4
+ "version": "25.1.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -11,8 +11,8 @@
11
11
  "description": "`<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.\n\n```html\n<vaadin-confirm-dialog cancel-button-visible>\n There are unsaved changes. Do you really want to leave?\n</vaadin-confirm-dialog>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-----------------|-------------------------------------------\n`backdrop` | Backdrop of the overlay\n`overlay` | The overlay container\n`content` | The overlay content\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\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:----------------------------------------|\n|`--vaadin-confirm-dialog-max-width` |\n|`--vaadin-confirm-dialog-min-width` |\n|`--vaadin-dialog-background` |\n|`--vaadin-dialog-border-color` |\n|`--vaadin-dialog-border-radius` |\n|`--vaadin-dialog-border-width` |\n|`--vaadin-dialog-padding` |\n|`--vaadin-dialog-shadow` |\n|`--vaadin-dialog-title-color` |\n|`--vaadin-dialog-title-font-size` |\n|`--vaadin-dialog-title-font-weight` |\n|`--vaadin-dialog-title-line-height` |\n|`--vaadin-overlay-backdrop-background` |\n\nUse `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/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
13
  {
14
- "name": "width",
15
- "description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
14
+ "name": "accessible-description-ref",
15
+ "description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` 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
16
  "value": {
17
17
  "type": [
18
18
  "string",
@@ -22,39 +22,35 @@
22
22
  }
23
23
  },
24
24
  {
25
- "name": "height",
26
- "description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
25
+ "name": "cancel-button-visible",
26
+ "description": "Whether to show cancel button or not.",
27
27
  "value": {
28
28
  "type": [
29
- "string",
30
- "null",
31
- "undefined"
29
+ "boolean"
32
30
  ]
33
31
  }
34
32
  },
35
33
  {
36
- "name": "accessible-description-ref",
37
- "description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` 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.",
34
+ "name": "cancel-text",
35
+ "description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
38
36
  "value": {
39
37
  "type": [
40
- "string",
41
- "null",
42
- "undefined"
38
+ "string"
43
39
  ]
44
40
  }
45
41
  },
46
42
  {
47
- "name": "opened",
48
- "description": "True if the dialog is visible and available for interaction.",
43
+ "name": "cancel-theme",
44
+ "description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
49
45
  "value": {
50
46
  "type": [
51
- "boolean"
47
+ "string"
52
48
  ]
53
49
  }
54
50
  },
55
51
  {
56
- "name": "header",
57
- "description": "Set the confirmation dialog title.",
52
+ "name": "confirm-text",
53
+ "description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
58
54
  "value": {
59
55
  "type": [
60
56
  "string"
@@ -62,19 +58,17 @@
62
58
  }
63
59
  },
64
60
  {
65
- "name": "message",
66
- "description": "Set the message or confirmation question.",
61
+ "name": "confirm-theme",
62
+ "description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
67
63
  "value": {
68
64
  "type": [
69
- "string",
70
- "null",
71
- "undefined"
65
+ "string"
72
66
  ]
73
67
  }
74
68
  },
75
69
  {
76
- "name": "confirm-text",
77
- "description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
70
+ "name": "header",
71
+ "description": "Set the confirmation dialog title.",
78
72
  "value": {
79
73
  "type": [
80
74
  "string"
@@ -82,26 +76,30 @@
82
76
  }
83
77
  },
84
78
  {
85
- "name": "confirm-theme",
86
- "description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
79
+ "name": "height",
80
+ "description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
87
81
  "value": {
88
82
  "type": [
89
- "string"
83
+ "string",
84
+ "null",
85
+ "undefined"
90
86
  ]
91
87
  }
92
88
  },
93
89
  {
94
- "name": "no-close-on-esc",
95
- "description": "Set to true to disable closing dialog on Escape press",
90
+ "name": "message",
91
+ "description": "Set the message or confirmation question.",
96
92
  "value": {
97
93
  "type": [
98
- "boolean"
94
+ "string",
95
+ "null",
96
+ "undefined"
99
97
  ]
100
98
  }
101
99
  },
102
100
  {
103
- "name": "reject-button-visible",
104
- "description": "Whether to show reject button or not.",
101
+ "name": "no-close-on-esc",
102
+ "description": "Set to true to disable closing dialog on Escape press",
105
103
  "value": {
106
104
  "type": [
107
105
  "boolean"
@@ -109,35 +107,35 @@
109
107
  }
110
108
  },
111
109
  {
112
- "name": "reject-text",
113
- "description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
110
+ "name": "opened",
111
+ "description": "True if the dialog is visible and available for interaction.",
114
112
  "value": {
115
113
  "type": [
116
- "string"
114
+ "boolean"
117
115
  ]
118
116
  }
119
117
  },
120
118
  {
121
- "name": "reject-theme",
122
- "description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
119
+ "name": "reject-button-visible",
120
+ "description": "Whether to show reject button or not.",
123
121
  "value": {
124
122
  "type": [
125
- "string"
123
+ "boolean"
126
124
  ]
127
125
  }
128
126
  },
129
127
  {
130
- "name": "cancel-button-visible",
131
- "description": "Whether to show cancel button or not.",
128
+ "name": "reject-text",
129
+ "description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
132
130
  "value": {
133
131
  "type": [
134
- "boolean"
132
+ "string"
135
133
  ]
136
134
  }
137
135
  },
138
136
  {
139
- "name": "cancel-text",
140
- "description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
137
+ "name": "reject-theme",
138
+ "description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
141
139
  "value": {
142
140
  "type": [
143
141
  "string"
@@ -145,17 +143,19 @@
145
143
  }
146
144
  },
147
145
  {
148
- "name": "cancel-theme",
149
- "description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
146
+ "name": "theme",
147
+ "description": "The theme variants to apply to the component.",
150
148
  "value": {
151
149
  "type": [
152
- "string"
150
+ "string",
151
+ "null",
152
+ "undefined"
153
153
  ]
154
154
  }
155
155
  },
156
156
  {
157
- "name": "theme",
158
- "description": "The theme variants to apply to the component.",
157
+ "name": "width",
158
+ "description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
159
159
  "value": {
160
160
  "type": [
161
161
  "string",
@@ -168,8 +168,8 @@
168
168
  "js": {
169
169
  "properties": [
170
170
  {
171
- "name": "width",
172
- "description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
171
+ "name": "accessibleDescriptionRef",
172
+ "description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` 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.",
173
173
  "value": {
174
174
  "type": [
175
175
  "string",
@@ -179,39 +179,35 @@
179
179
  }
180
180
  },
181
181
  {
182
- "name": "height",
183
- "description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
182
+ "name": "cancelButtonVisible",
183
+ "description": "Whether to show cancel button or not.",
184
184
  "value": {
185
185
  "type": [
186
- "string",
187
- "null",
188
- "undefined"
186
+ "boolean"
189
187
  ]
190
188
  }
191
189
  },
192
190
  {
193
- "name": "accessibleDescriptionRef",
194
- "description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` 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.",
191
+ "name": "cancelText",
192
+ "description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
195
193
  "value": {
196
194
  "type": [
197
- "string",
198
- "null",
199
- "undefined"
195
+ "string"
200
196
  ]
201
197
  }
202
198
  },
203
199
  {
204
- "name": "opened",
205
- "description": "True if the dialog is visible and available for interaction.",
200
+ "name": "cancelTheme",
201
+ "description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
206
202
  "value": {
207
203
  "type": [
208
- "boolean"
204
+ "string"
209
205
  ]
210
206
  }
211
207
  },
212
208
  {
213
- "name": "header",
214
- "description": "Set the confirmation dialog title.",
209
+ "name": "confirmText",
210
+ "description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
215
211
  "value": {
216
212
  "type": [
217
213
  "string"
@@ -219,19 +215,17 @@
219
215
  }
220
216
  },
221
217
  {
222
- "name": "message",
223
- "description": "Set the message or confirmation question.",
218
+ "name": "confirmTheme",
219
+ "description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
224
220
  "value": {
225
221
  "type": [
226
- "string",
227
- "null",
228
- "undefined"
222
+ "string"
229
223
  ]
230
224
  }
231
225
  },
232
226
  {
233
- "name": "confirmText",
234
- "description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
227
+ "name": "header",
228
+ "description": "Set the confirmation dialog title.",
235
229
  "value": {
236
230
  "type": [
237
231
  "string"
@@ -239,26 +233,30 @@
239
233
  }
240
234
  },
241
235
  {
242
- "name": "confirmTheme",
243
- "description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
236
+ "name": "height",
237
+ "description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
244
238
  "value": {
245
239
  "type": [
246
- "string"
240
+ "string",
241
+ "null",
242
+ "undefined"
247
243
  ]
248
244
  }
249
245
  },
250
246
  {
251
- "name": "noCloseOnEsc",
252
- "description": "Set to true to disable closing dialog on Escape press",
247
+ "name": "message",
248
+ "description": "Set the message or confirmation question.",
253
249
  "value": {
254
250
  "type": [
255
- "boolean"
251
+ "string",
252
+ "null",
253
+ "undefined"
256
254
  ]
257
255
  }
258
256
  },
259
257
  {
260
- "name": "rejectButtonVisible",
261
- "description": "Whether to show reject button or not.",
258
+ "name": "noCloseOnEsc",
259
+ "description": "Set to true to disable closing dialog on Escape press",
262
260
  "value": {
263
261
  "type": [
264
262
  "boolean"
@@ -266,35 +264,35 @@
266
264
  }
267
265
  },
268
266
  {
269
- "name": "rejectText",
270
- "description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
267
+ "name": "opened",
268
+ "description": "True if the dialog is visible and available for interaction.",
271
269
  "value": {
272
270
  "type": [
273
- "string"
271
+ "boolean"
274
272
  ]
275
273
  }
276
274
  },
277
275
  {
278
- "name": "rejectTheme",
279
- "description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
276
+ "name": "rejectButtonVisible",
277
+ "description": "Whether to show reject button or not.",
280
278
  "value": {
281
279
  "type": [
282
- "string"
280
+ "boolean"
283
281
  ]
284
282
  }
285
283
  },
286
284
  {
287
- "name": "cancelButtonVisible",
288
- "description": "Whether to show cancel button or not.",
285
+ "name": "rejectText",
286
+ "description": "Text displayed on reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
289
287
  "value": {
290
288
  "type": [
291
- "boolean"
289
+ "string"
292
290
  ]
293
291
  }
294
292
  },
295
293
  {
296
- "name": "cancelText",
297
- "description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
294
+ "name": "rejectTheme",
295
+ "description": "Theme for a reject-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
298
296
  "value": {
299
297
  "type": [
300
298
  "string"
@@ -302,35 +300,37 @@
302
300
  }
303
301
  },
304
302
  {
305
- "name": "cancelTheme",
306
- "description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
303
+ "name": "width",
304
+ "description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
307
305
  "value": {
308
306
  "type": [
309
- "string"
307
+ "string",
308
+ "null",
309
+ "undefined"
310
310
  ]
311
311
  }
312
312
  }
313
313
  ],
314
314
  "events": [
315
- {
316
- "name": "closed",
317
- "description": "Fired when the confirm dialog is closed."
318
- },
319
315
  {
320
316
  "name": "cancel",
321
317
  "description": "cancel\nfired when Cancel button or Escape key was pressed."
322
318
  },
323
319
  {
324
- "name": "confirm",
325
- "description": "confirm\nfired when Confirm button was pressed."
320
+ "name": "closed",
321
+ "description": "Fired when the confirm dialog is closed."
326
322
  },
327
323
  {
328
- "name": "reject",
329
- "description": "reject\nfired when Reject button was pressed."
324
+ "name": "confirm",
325
+ "description": "confirm\nfired when Confirm button was pressed."
330
326
  },
331
327
  {
332
328
  "name": "opened-changed",
333
329
  "description": "Fired when the `opened` property changes."
330
+ },
331
+ {
332
+ "name": "reject",
333
+ "description": "reject\nfired when Reject button was pressed."
334
334
  }
335
335
  ]
336
336
  }
@@ -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-alpha7",
4
+ "version": "25.1.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -20,8 +20,8 @@
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {
23
- "name": "?opened",
24
- "description": "True if the dialog is visible and available for interaction.",
23
+ "name": "?cancelButtonVisible",
24
+ "description": "Whether to show cancel button or not.",
25
25
  "value": {
26
26
  "kind": "expression"
27
27
  }
@@ -33,6 +33,13 @@
33
33
  "kind": "expression"
34
34
  }
35
35
  },
36
+ {
37
+ "name": "?opened",
38
+ "description": "True if the dialog is visible and available for interaction.",
39
+ "value": {
40
+ "kind": "expression"
41
+ }
42
+ },
36
43
  {
37
44
  "name": "?rejectButtonVisible",
38
45
  "description": "Whether to show reject button or not.",
@@ -41,57 +48,57 @@
41
48
  }
42
49
  },
43
50
  {
44
- "name": "?cancelButtonVisible",
45
- "description": "Whether to show cancel button or not.",
51
+ "name": ".accessibleDescriptionRef",
52
+ "description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` 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.",
46
53
  "value": {
47
54
  "kind": "expression"
48
55
  }
49
56
  },
50
57
  {
51
- "name": ".width",
52
- "description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
58
+ "name": ".cancelText",
59
+ "description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
53
60
  "value": {
54
61
  "kind": "expression"
55
62
  }
56
63
  },
57
64
  {
58
- "name": ".height",
59
- "description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
65
+ "name": ".cancelTheme",
66
+ "description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
60
67
  "value": {
61
68
  "kind": "expression"
62
69
  }
63
70
  },
64
71
  {
65
- "name": ".accessibleDescriptionRef",
66
- "description": "Sets the `aria-describedby` attribute of the dialog.\n\nBy default, the text contents of all elements inside the message area\nare combined into the `aria-description` 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.",
72
+ "name": ".confirmText",
73
+ "description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
67
74
  "value": {
68
75
  "kind": "expression"
69
76
  }
70
77
  },
71
78
  {
72
- "name": ".header",
73
- "description": "Set the confirmation dialog title.",
79
+ "name": ".confirmTheme",
80
+ "description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
74
81
  "value": {
75
82
  "kind": "expression"
76
83
  }
77
84
  },
78
85
  {
79
- "name": ".message",
80
- "description": "Set the message or confirmation question.",
86
+ "name": ".header",
87
+ "description": "Set the confirmation dialog title.",
81
88
  "value": {
82
89
  "kind": "expression"
83
90
  }
84
91
  },
85
92
  {
86
- "name": ".confirmText",
87
- "description": "Text displayed on confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
93
+ "name": ".height",
94
+ "description": "Set the height of the dialog.\nIf a unitless number is provided, pixels are assumed.",
88
95
  "value": {
89
96
  "kind": "expression"
90
97
  }
91
98
  },
92
99
  {
93
- "name": ".confirmTheme",
94
- "description": "Theme for a confirm-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
100
+ "name": ".message",
101
+ "description": "Set the message or confirmation question.",
95
102
  "value": {
96
103
  "kind": "expression"
97
104
  }
@@ -111,15 +118,15 @@
111
118
  }
112
119
  },
113
120
  {
114
- "name": ".cancelText",
115
- "description": "Text displayed on cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
121
+ "name": ".width",
122
+ "description": "Set the width of the dialog.\nIf a unitless number is provided, pixels are assumed.",
116
123
  "value": {
117
124
  "kind": "expression"
118
125
  }
119
126
  },
120
127
  {
121
- "name": ".cancelTheme",
122
- "description": "Theme for a cancel-button.\nThis only affects the default button, custom slotted buttons will not be altered.",
128
+ "name": "@cancel",
129
+ "description": "cancel\nfired when Cancel button or Escape key was pressed.",
123
130
  "value": {
124
131
  "kind": "expression"
125
132
  }
@@ -131,13 +138,6 @@
131
138
  "kind": "expression"
132
139
  }
133
140
  },
134
- {
135
- "name": "@cancel",
136
- "description": "cancel\nfired when Cancel button or Escape key was pressed.",
137
- "value": {
138
- "kind": "expression"
139
- }
140
- },
141
141
  {
142
142
  "name": "@confirm",
143
143
  "description": "confirm\nfired when Confirm button was pressed.",
@@ -146,15 +146,15 @@
146
146
  }
147
147
  },
148
148
  {
149
- "name": "@reject",
150
- "description": "reject\nfired when Reject button was pressed.",
149
+ "name": "@opened-changed",
150
+ "description": "Fired when the `opened` property changes.",
151
151
  "value": {
152
152
  "kind": "expression"
153
153
  }
154
154
  },
155
155
  {
156
- "name": "@opened-changed",
157
- "description": "Fired when the `opened` property changes.",
156
+ "name": "@reject",
157
+ "description": "reject\nfired when Reject button was pressed.",
158
158
  "value": {
159
159
  "kind": "expression"
160
160
  }