@vaadin/app-layout 23.0.0-alpha2 → 23.0.0-beta1

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.0.0-alpha2",
3
+ "version": "23.0.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -18,6 +18,7 @@
18
18
  },
19
19
  "main": "vaadin-app-layout.js",
20
20
  "module": "vaadin-app-layout.js",
21
+ "type": "module",
21
22
  "files": [
22
23
  "src",
23
24
  "theme",
@@ -32,19 +33,18 @@
32
33
  "polymer"
33
34
  ],
34
35
  "dependencies": {
35
- "@polymer/iron-resizable-behavior": "^3.0.0",
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/button": "23.0.0-alpha2",
38
- "@vaadin/component-base": "23.0.0-alpha2",
39
- "@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
40
- "@vaadin/vaadin-material-styles": "23.0.0-alpha2",
41
- "@vaadin/vaadin-themable-mixin": "23.0.0-alpha2"
37
+ "@vaadin/button": "23.0.0-beta1",
38
+ "@vaadin/component-base": "23.0.0-beta1",
39
+ "@vaadin/vaadin-lumo-styles": "23.0.0-beta1",
40
+ "@vaadin/vaadin-material-styles": "23.0.0-beta1",
41
+ "@vaadin/vaadin-themable-mixin": "23.0.0-beta1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@esm-bundle/chai": "^4.3.4",
45
- "@vaadin/tabs": "23.0.0-alpha2",
45
+ "@vaadin/tabs": "23.0.0-beta1",
46
46
  "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^9.2.1"
48
48
  },
49
- "gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
49
+ "gitHead": "467244b76021176c109df675799b07029b293e58"
50
50
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
@@ -1,12 +1,10 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import './safe-area-inset.js';
7
7
  import './detect-ios-navbar.js';
8
- import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
9
- import { mixinBehaviors } from '@polymer/polymer/lib/legacy/class.js';
10
8
  import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
11
9
  import { afterNextRender, beforeNextRender } from '@polymer/polymer/lib/utils/render-status.js';
12
10
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
@@ -111,9 +109,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
111
109
  * @mixes ThemableMixin
112
110
  * @mixes ControllerMixin
113
111
  */
114
- class AppLayout extends ElementMixin(
115
- ThemableMixin(ControllerMixin(mixinBehaviors([IronResizableBehavior], PolymerElement)))
116
- ) {
112
+ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElement))) {
117
113
  static get template() {
118
114
  return html`
119
115
  <style>
@@ -513,8 +509,6 @@ class AppLayout extends ElementMixin(
513
509
  this.__releaseFocusFromDrawer();
514
510
  }
515
511
  }
516
-
517
- this.notifyResize();
518
512
  }
519
513
 
520
514
  /**
@@ -583,8 +577,6 @@ class AppLayout extends ElementMixin(
583
577
  const drawerRect = drawer.getBoundingClientRect();
584
578
 
585
579
  this.style.setProperty('--_vaadin-app-layout-drawer-offset-size', drawerRect.width + 'px');
586
-
587
- this.notifyResize();
588
580
  }
589
581
 
590
582
  /** @protected */
@@ -613,10 +605,6 @@ class AppLayout extends ElementMixin(
613
605
 
614
606
  this._updateDrawerHeight();
615
607
  this.__updateDrawerAriaAttributes();
616
-
617
- if (this.overlay !== overlay) {
618
- this.notifyResize();
619
- }
620
608
  }
621
609
 
622
610
  /**
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { Button } from '@vaadin/button/src/vaadin-button.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html } from '@polymer/polymer/lib/utils/html-tag.js';