@vaadin/app-layout 23.1.0-beta3 → 23.1.0-rc2

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/app-layout",
3
- "version": "23.1.0-beta3",
3
+ "version": "23.1.0-rc2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,17 +34,17 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/button": "23.1.0-beta3",
38
- "@vaadin/component-base": "23.1.0-beta3",
39
- "@vaadin/vaadin-lumo-styles": "23.1.0-beta3",
40
- "@vaadin/vaadin-material-styles": "23.1.0-beta3",
41
- "@vaadin/vaadin-themable-mixin": "23.1.0-beta3"
37
+ "@vaadin/button": "23.1.0-rc2",
38
+ "@vaadin/component-base": "23.1.0-rc2",
39
+ "@vaadin/vaadin-lumo-styles": "23.1.0-rc2",
40
+ "@vaadin/vaadin-material-styles": "23.1.0-rc2",
41
+ "@vaadin/vaadin-themable-mixin": "23.1.0-rc2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@esm-bundle/chai": "^4.3.4",
45
- "@vaadin/tabs": "23.1.0-beta3",
45
+ "@vaadin/tabs": "23.1.0-rc2",
46
46
  "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^13.0.2"
48
48
  },
49
- "gitHead": "c787ceb8a312f88631c6d429ff320d5f89b1b838"
49
+ "gitHead": "154c6782c42145fed21e443559fbe2d781ad3ec7"
50
50
  }
@@ -124,6 +124,11 @@ export type AppLayoutEventMap = HTMLElementEventMap & AppLayoutCustomEventMap;
124
124
  * @fires {CustomEvent} primary-section-changed - Fired when the `primarySection` property changes.
125
125
  */
126
126
  declare class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(HTMLElement))) {
127
+ /**
128
+ * Helper static method that dispatches a `close-overlay-drawer` event
129
+ */
130
+ static dispatchCloseOverlayDrawerEvent(): void;
131
+
127
132
  /**
128
133
  * The object used to localize this component.
129
134
  * To change the default localization, replace the entire
@@ -177,11 +182,6 @@ declare class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(HTMLE
177
182
  */
178
183
  closeDrawerOn: string;
179
184
 
180
- /**
181
- * Helper static method that dispatches a `close-overlay-drawer` event
182
- */
183
- static dispatchCloseOverlayDrawerEvent(): void;
184
-
185
185
  addEventListener<K extends keyof AppLayoutEventMap>(
186
186
  type: K,
187
187
  listener: (this: AppLayout, ev: AppLayoutEventMap[K]) => void,
@@ -405,6 +405,13 @@ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElemen
405
405
  };
406
406
  }
407
407
 
408
+ /**
409
+ * Helper static method that dispatches a `close-overlay-drawer` event
410
+ */
411
+ static dispatchCloseOverlayDrawerEvent() {
412
+ window.dispatchEvent(new CustomEvent('close-overlay-drawer'));
413
+ }
414
+
408
415
  constructor() {
409
416
  super();
410
417
  // TODO(jouni): might want to debounce
@@ -473,13 +480,6 @@ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElemen
473
480
  window.removeEventListener('close-overlay-drawer', this.__drawerToggleClickListener);
474
481
  }
475
482
 
476
- /**
477
- * Helper static method that dispatches a `close-overlay-drawer` event
478
- */
479
- static dispatchCloseOverlayDrawerEvent() {
480
- window.dispatchEvent(new CustomEvent('close-overlay-drawer'));
481
- }
482
-
483
483
  /**
484
484
  * A callback for the `primarySection` property observer.
485
485
  *