@vaadin/app-layout 24.2.0-alpha9 → 24.2.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": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,16 +36,16 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "24.2.0-alpha9",
40
- "@vaadin/button": "24.2.0-alpha9",
41
- "@vaadin/component-base": "24.2.0-alpha9",
42
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
43
- "@vaadin/vaadin-material-styles": "24.2.0-alpha9",
44
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha9"
39
+ "@vaadin/a11y-base": "24.2.0-beta1",
40
+ "@vaadin/button": "24.2.0-beta1",
41
+ "@vaadin/component-base": "24.2.0-beta1",
42
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta1",
43
+ "@vaadin/vaadin-material-styles": "24.2.0-beta1",
44
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@esm-bundle/chai": "^4.3.4",
48
- "@vaadin/tabs": "24.2.0-alpha9",
48
+ "@vaadin/tabs": "24.2.0-beta1",
49
49
  "@vaadin/testing-helpers": "^0.5.0",
50
50
  "sinon": "^13.0.2"
51
51
  },
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "e9765733fea96542e379e02e6f42b07145893140"
56
+ "gitHead": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
57
57
  }
@@ -3,13 +3,14 @@
3
3
  * Copyright (c) 2018 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import './safe-area-inset.js';
7
6
  import './detect-ios-navbar.js';
7
+ import './safe-area-inset.js';
8
8
  import { afterNextRender, beforeNextRender } from '@polymer/polymer/lib/utils/render-status.js';
9
9
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
10
10
  import { AriaModalController } from '@vaadin/a11y-base/src/aria-modal-controller.js';
11
11
  import { FocusTrapController } from '@vaadin/a11y-base/src/focus-trap-controller.js';
12
12
  import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
13
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
13
14
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
14
15
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
15
16
 
@@ -104,6 +105,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
104
105
  * @fires {CustomEvent} overlay-changed - Fired when the `overlay` property changes.
105
106
  * @fires {CustomEvent} primary-section-changed - Fired when the `primarySection` property changes.
106
107
  *
108
+ * @customElement
107
109
  * @extends HTMLElement
108
110
  * @mixes ElementMixin
109
111
  * @mixes ThemableMixin
@@ -801,6 +803,6 @@ class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(PolymerElemen
801
803
  */
802
804
  }
803
805
 
804
- customElements.define(AppLayout.is, AppLayout);
806
+ defineCustomElement(AppLayout);
805
807
 
806
808
  export { AppLayout };
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import { html } from '@polymer/polymer/lib/utils/html-tag.js';
7
7
  import { Button } from '@vaadin/button/src/vaadin-button.js';
8
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
9
  import { isEmptyTextNode } from '@vaadin/component-base/src/dom-utils.js';
9
10
  import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
10
11
 
@@ -62,6 +63,7 @@ registerStyles(
62
63
  * </vaadin-app-layout>
63
64
  * ```
64
65
  *
66
+ * @customElement
65
67
  * @extends Button
66
68
  */
67
69
  class DrawerToggle extends Button {
@@ -123,6 +125,6 @@ class DrawerToggle extends Button {
123
125
  }
124
126
  }
125
127
 
126
- customElements.define(DrawerToggle.is, DrawerToggle);
128
+ defineCustomElement(DrawerToggle);
127
129
 
128
130
  export { DrawerToggle };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/app-layout",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/app-layout",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {