@vaadin/app-layout 23.0.0-alpha2 → 23.0.0-alpha3
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-
|
|
3
|
+
"version": "23.0.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,19 +32,18 @@
|
|
|
32
32
|
"polymer"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@polymer/iron-resizable-behavior": "^3.0.0",
|
|
36
35
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/button": "23.0.0-
|
|
38
|
-
"@vaadin/component-base": "23.0.0-
|
|
39
|
-
"@vaadin/vaadin-lumo-styles": "23.0.0-
|
|
40
|
-
"@vaadin/vaadin-material-styles": "23.0.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "23.0.0-
|
|
36
|
+
"@vaadin/button": "23.0.0-alpha3",
|
|
37
|
+
"@vaadin/component-base": "23.0.0-alpha3",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "23.0.0-alpha3",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
43
|
"@esm-bundle/chai": "^4.3.4",
|
|
45
|
-
"@vaadin/tabs": "23.0.0-
|
|
44
|
+
"@vaadin/tabs": "23.0.0-alpha3",
|
|
46
45
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
47
46
|
"sinon": "^9.2.1"
|
|
48
47
|
},
|
|
49
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
|
|
50
49
|
}
|
package/src/detect-ios-navbar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
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)
|
|
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';
|
package/src/vaadin-app-layout.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
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)
|
|
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';
|