@vaadin/dialog 23.0.8 → 23.0.11

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.0.8",
3
+ "version": "23.0.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,18 +35,18 @@
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/component-base": "^23.0.8",
39
- "@vaadin/vaadin-lumo-styles": "^23.0.8",
40
- "@vaadin/vaadin-material-styles": "^23.0.8",
41
- "@vaadin/vaadin-overlay": "^23.0.8",
42
- "@vaadin/vaadin-themable-mixin": "^23.0.8"
38
+ "@vaadin/component-base": "^23.0.11",
39
+ "@vaadin/vaadin-lumo-styles": "^23.0.11",
40
+ "@vaadin/vaadin-material-styles": "^23.0.11",
41
+ "@vaadin/vaadin-overlay": "^23.0.11",
42
+ "@vaadin/vaadin-themable-mixin": "^23.0.11"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/polymer-legacy-adapter": "^23.0.8",
46
+ "@vaadin/polymer-legacy-adapter": "^23.0.11",
47
47
  "@vaadin/testing-helpers": "^0.3.2",
48
- "@vaadin/text-area": "^23.0.8",
48
+ "@vaadin/text-area": "^23.0.11",
49
49
  "sinon": "^9.2.1"
50
50
  },
51
- "gitHead": "43fe9d95c8cd745adc7bef214c0097c47f4f83ed"
51
+ "gitHead": "10838304fe6f5c98b838ec3a90bdcf49cbf4650b"
52
52
  }
@@ -6,7 +6,7 @@
6
6
  import { Constructor } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  export declare function DialogDraggableMixin<T extends Constructor<HTMLElement>>(
9
- base: T
9
+ base: T,
10
10
  ): T & Constructor<DialogDraggableMixinClass>;
11
11
 
12
12
  export declare class DialogDraggableMixinClass {
@@ -28,19 +28,19 @@ export const DialogDraggableMixin = (superClass) =>
28
28
  draggable: {
29
29
  type: Boolean,
30
30
  value: false,
31
- reflectToAttribute: true
31
+ reflectToAttribute: true,
32
32
  },
33
33
 
34
34
  /** @private */
35
35
  _touchDevice: {
36
36
  type: Boolean,
37
- value: isTouch
37
+ value: isTouch,
38
38
  },
39
39
 
40
40
  /* TODO: Expose as a public property (check naming) */
41
41
  __dragHandleClassName: {
42
- type: String
43
- }
42
+ type: String,
43
+ },
44
44
  };
45
45
  }
46
46
 
@@ -6,7 +6,7 @@
6
6
  import { Constructor } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  export declare function DialogResizableMixin<T extends Constructor<HTMLElement>>(
9
- base: T
9
+ base: T,
10
10
  ): T & Constructor<DialogResizableMixinClass>;
11
11
 
12
12
  export declare class DialogResizableMixinClass {
@@ -99,7 +99,7 @@ registerStyles(
99
99
  cursor: nwse-resize;
100
100
  }
101
101
  `,
102
- { moduleId: 'vaadin-dialog-resizable-overlay-styles' }
102
+ { moduleId: 'vaadin-dialog-resizable-overlay-styles' },
103
103
  );
104
104
 
105
105
  /**
@@ -116,8 +116,8 @@ export const DialogResizableMixin = (superClass) =>
116
116
  resizable: {
117
117
  type: Boolean,
118
118
  value: false,
119
- reflectToAttribute: true
120
- }
119
+ reflectToAttribute: true,
120
+ },
121
121
  };
122
122
  }
123
123
 
@@ -246,7 +246,7 @@ export const DialogResizableMixin = (superClass) =>
246
246
  const content = this.$.overlay.$.content;
247
247
  content.setAttribute(
248
248
  'style',
249
- 'position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-sizing: content-box; height: auto;'
249
+ 'position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-sizing: content-box; height: auto;',
250
250
  );
251
251
  const { width: contentWidth, height: contentHeight } = getComputedStyle(content);
252
252
  content.removeAttribute('style');
@@ -152,13 +152,13 @@ declare class Dialog extends ThemePropertyMixin(ElementMixin(DialogDraggableMixi
152
152
  addEventListener<K extends keyof DialogEventMap>(
153
153
  type: K,
154
154
  listener: (this: Dialog, ev: DialogEventMap[K]) => void,
155
- options?: boolean | AddEventListenerOptions
155
+ options?: boolean | AddEventListenerOptions,
156
156
  ): void;
157
157
 
158
158
  removeEventListener<K extends keyof DialogEventMap>(
159
159
  type: K,
160
160
  listener: (this: Dialog, ev: DialogEventMap[K]) => void,
161
- options?: boolean | EventListenerOptions
161
+ options?: boolean | EventListenerOptions,
162
162
  ): void;
163
163
  }
164
164
 
@@ -27,7 +27,7 @@ registerStyles(
27
27
  max-width: none;
28
28
  }
29
29
  `,
30
- { moduleId: 'vaadin-dialog-overlay-styles' }
30
+ { moduleId: 'vaadin-dialog-overlay-styles' },
31
31
  );
32
32
 
33
33
  let memoizedTemplate;
@@ -61,7 +61,7 @@ export class DialogOverlay extends OverlayElement {
61
61
  return {
62
62
  modeless: Boolean,
63
63
 
64
- withBackdrop: Boolean
64
+ withBackdrop: Boolean,
65
65
  };
66
66
  }
67
67
 
@@ -206,7 +206,7 @@ class Dialog extends ThemePropertyMixin(ElementMixin(DialogDraggableMixin(Dialog
206
206
  opened: {
207
207
  type: Boolean,
208
208
  value: false,
209
- notify: true
209
+ notify: true,
210
210
  },
211
211
 
212
212
  /**
@@ -216,7 +216,7 @@ class Dialog extends ThemePropertyMixin(ElementMixin(DialogDraggableMixin(Dialog
216
216
  */
217
217
  noCloseOnOutsideClick: {
218
218
  type: Boolean,
219
- value: false
219
+ value: false,
220
220
  },
221
221
 
222
222
  /**
@@ -226,7 +226,7 @@ class Dialog extends ThemePropertyMixin(ElementMixin(DialogDraggableMixin(Dialog
226
226
  */
227
227
  noCloseOnEsc: {
228
228
  type: Boolean,
229
- value: false
229
+ value: false,
230
230
  },
231
231
 
232
232
  /**
@@ -236,7 +236,7 @@ class Dialog extends ThemePropertyMixin(ElementMixin(DialogDraggableMixin(Dialog
236
236
  */
237
237
  ariaLabel: {
238
238
  type: String,
239
- value: ''
239
+ value: '',
240
240
  },
241
241
 
242
242
  /**
@@ -255,8 +255,8 @@ class Dialog extends ThemePropertyMixin(ElementMixin(DialogDraggableMixin(Dialog
255
255
  */
256
256
  modeless: {
257
257
  type: Boolean,
258
- value: false
259
- }
258
+ value: false,
259
+ },
260
260
  };
261
261
  }
262
262
 
@@ -1,2 +1,3 @@
1
+ import '@vaadin/vaadin-overlay/theme/lumo/vaadin-overlay.js';
1
2
  import './vaadin-dialog-styles.js';
2
3
  import '../../src/vaadin-dialog.js';
@@ -22,5 +22,5 @@ const dialogOverlay = css`
22
22
  `;
23
23
 
24
24
  registerStyles('vaadin-dialog-overlay', [overlay, dialogOverlay], {
25
- moduleId: 'material-dialog'
25
+ moduleId: 'material-dialog',
26
26
  });
@@ -1,2 +1,3 @@
1
+ import '@vaadin/vaadin-overlay/theme/material/vaadin-overlay.js';
1
2
  import './vaadin-dialog-styles.js';
2
3
  import '../../src/vaadin-dialog.js';