@vaadin/confirm-dialog 23.0.7 → 23.0.10

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": "23.0.7",
3
+ "version": "23.0.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,19 +34,19 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/button": "^23.0.7",
38
- "@vaadin/component-base": "^23.0.7",
39
- "@vaadin/dialog": "^23.0.7",
37
+ "@vaadin/button": "^23.0.10",
38
+ "@vaadin/component-base": "^23.0.10",
39
+ "@vaadin/dialog": "^23.0.10",
40
40
  "@vaadin/vaadin-license-checker": "^2.1.0",
41
- "@vaadin/vaadin-lumo-styles": "^23.0.7",
42
- "@vaadin/vaadin-material-styles": "^23.0.7",
43
- "@vaadin/vaadin-overlay": "^23.0.7",
44
- "@vaadin/vaadin-themable-mixin": "^23.0.7"
41
+ "@vaadin/vaadin-lumo-styles": "^23.0.10",
42
+ "@vaadin/vaadin-material-styles": "^23.0.10",
43
+ "@vaadin/vaadin-overlay": "^23.0.10",
44
+ "@vaadin/vaadin-themable-mixin": "^23.0.10"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@esm-bundle/chai": "^4.3.4",
48
48
  "@vaadin/testing-helpers": "^0.3.2",
49
49
  "sinon": "^9.2.1"
50
50
  },
51
- "gitHead": "005c2d85db8f50cd3b239dd89ac467add6a71049"
51
+ "gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
52
52
  }
@@ -27,7 +27,7 @@ registerStyles(
27
27
  margin-bottom: auto;
28
28
  }
29
29
  `,
30
- { moduleId: 'vaadin-confirm-dialog-overlay-styles' }
30
+ { moduleId: 'vaadin-confirm-dialog-overlay-styles' },
31
31
  );
32
32
 
33
33
  let memoizedTemplate;
@@ -149,13 +149,13 @@ declare class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(HT
149
149
  addEventListener<K extends keyof ConfirmDialogEventMap>(
150
150
  type: K,
151
151
  listener: (this: ConfirmDialog, ev: ConfirmDialogEventMap[K]) => void,
152
- options?: boolean | AddEventListenerOptions
152
+ options?: boolean | AddEventListenerOptions,
153
153
  ): void;
154
154
 
155
155
  removeEventListener<K extends keyof ConfirmDialogEventMap>(
156
156
  type: K,
157
157
  listener: (this: ConfirmDialog, ev: ConfirmDialogEventMap[K]) => void,
158
- options?: boolean | EventListenerOptions
158
+ options?: boolean | EventListenerOptions,
159
159
  ): void;
160
160
  }
161
161
 
@@ -109,7 +109,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
109
109
  opened: {
110
110
  type: Boolean,
111
111
  value: false,
112
- notify: true
112
+ notify: true,
113
113
  },
114
114
 
115
115
  /**
@@ -118,7 +118,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
118
118
  */
119
119
  header: {
120
120
  type: String,
121
- value: ''
121
+ value: '',
122
122
  },
123
123
 
124
124
  /**
@@ -126,7 +126,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
126
126
  */
127
127
  message: {
128
128
  type: String,
129
- value: ''
129
+ value: '',
130
130
  },
131
131
 
132
132
  /**
@@ -137,7 +137,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
137
137
  */
138
138
  confirmText: {
139
139
  type: String,
140
- value: 'Confirm'
140
+ value: 'Confirm',
141
141
  },
142
142
 
143
143
  /**
@@ -148,7 +148,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
148
148
  */
149
149
  confirmTheme: {
150
150
  type: String,
151
- value: 'primary'
151
+ value: 'primary',
152
152
  },
153
153
 
154
154
  /**
@@ -158,7 +158,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
158
158
  */
159
159
  noCloseOnEsc: {
160
160
  type: Boolean,
161
- value: false
161
+ value: false,
162
162
  },
163
163
 
164
164
  /**
@@ -168,7 +168,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
168
168
  reject: {
169
169
  type: Boolean,
170
170
  reflectToAttribute: true,
171
- value: false
171
+ value: false,
172
172
  },
173
173
 
174
174
  /**
@@ -179,7 +179,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
179
179
  */
180
180
  rejectText: {
181
181
  type: String,
182
- value: 'Reject'
182
+ value: 'Reject',
183
183
  },
184
184
 
185
185
  /**
@@ -190,7 +190,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
190
190
  */
191
191
  rejectTheme: {
192
192
  type: String,
193
- value: 'error tertiary'
193
+ value: 'error tertiary',
194
194
  },
195
195
 
196
196
  /**
@@ -200,7 +200,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
200
200
  cancel: {
201
201
  type: Boolean,
202
202
  reflectToAttribute: true,
203
- value: false
203
+ value: false,
204
204
  },
205
205
 
206
206
  /**
@@ -211,7 +211,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
211
211
  */
212
212
  cancelText: {
213
213
  type: String,
214
- value: 'Cancel'
214
+ value: 'Cancel',
215
215
  },
216
216
 
217
217
  /**
@@ -222,7 +222,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
222
222
  */
223
223
  cancelTheme: {
224
224
  type: String,
225
- value: 'tertiary'
225
+ value: 'tertiary',
226
226
  },
227
227
 
228
228
  /**
@@ -231,7 +231,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
231
231
  */
232
232
  _cancelButton: {
233
233
  type: HTMLElement,
234
- observer: '_cancelButtonChanged'
234
+ observer: '_cancelButtonChanged',
235
235
  },
236
236
 
237
237
  /**
@@ -240,7 +240,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
240
240
  */
241
241
  _confirmButton: {
242
242
  type: HTMLElement,
243
- observer: '_confirmButtonChanged'
243
+ observer: '_confirmButtonChanged',
244
244
  },
245
245
 
246
246
  /**
@@ -248,7 +248,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
248
248
  * @private
249
249
  */
250
250
  _headerNode: {
251
- type: HTMLElement
251
+ type: HTMLElement,
252
252
  },
253
253
 
254
254
  /**
@@ -256,7 +256,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
256
256
  * @private
257
257
  */
258
258
  _messageNode: {
259
- type: HTMLElement
259
+ type: HTMLElement,
260
260
  },
261
261
 
262
262
  /**
@@ -265,8 +265,8 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
265
265
  */
266
266
  _rejectButton: {
267
267
  type: HTMLElement,
268
- observer: '_rejectButtonChanged'
269
- }
268
+ observer: '_rejectButtonChanged',
269
+ },
270
270
  };
271
271
  }
272
272
 
@@ -288,7 +288,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
288
288
  '__updateCancelButton(_cancelButton, cancelText, cancelTheme, cancel)',
289
289
  '__updateHeaderNode(_headerNode, header)',
290
290
  '__updateMessageNode(_messageNode, message)',
291
- '__updateRejectButton(_rejectButton, rejectText, rejectTheme, reject)'
291
+ '__updateRejectButton(_rejectButton, rejectText, rejectTheme, reject)',
292
292
  ];
293
293
  }
294
294
 
@@ -325,7 +325,7 @@ class ConfirmDialog extends SlotMixin(ElementMixin(ThemePropertyMixin(PolymerEle
325
325
  const button = document.createElement('vaadin-button');
326
326
  button._isDefaultButton = true;
327
327
  return button;
328
- }
328
+ },
329
329
  };
330
330
  }
331
331
 
@@ -93,5 +93,5 @@ registerStyles(
93
93
  margin-right: var(--lumo-space-s);
94
94
  }
95
95
  `,
96
- { moduleId: 'lumo-confirm-dialog-overlay' }
96
+ { moduleId: 'lumo-confirm-dialog-overlay' },
97
97
  );
@@ -70,5 +70,5 @@ registerStyles(
70
70
  }
71
71
  }
72
72
  `,
73
- { moduleId: 'material-confirm-dialog-overlay' }
73
+ { moduleId: 'material-confirm-dialog-overlay' },
74
74
  );