@vaadin/app-layout 23.1.1 → 23.1.4

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.1",
3
+ "version": "23.1.4",
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.1",
38
- "@vaadin/component-base": "^23.1.1",
39
- "@vaadin/vaadin-lumo-styles": "^23.1.1",
40
- "@vaadin/vaadin-material-styles": "^23.1.1",
41
- "@vaadin/vaadin-themable-mixin": "^23.1.1"
37
+ "@vaadin/button": "^23.1.4",
38
+ "@vaadin/component-base": "^23.1.4",
39
+ "@vaadin/vaadin-lumo-styles": "^23.1.4",
40
+ "@vaadin/vaadin-material-styles": "^23.1.4",
41
+ "@vaadin/vaadin-themable-mixin": "^23.1.4"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@esm-bundle/chai": "^4.3.4",
45
- "@vaadin/tabs": "^23.1.1",
45
+ "@vaadin/tabs": "^23.1.4",
46
46
  "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^13.0.2"
48
48
  },
49
- "gitHead": "390458d6519433a2dd502cef90da48e84573a275"
49
+ "gitHead": "0a82302064f1276a000f0cbd810076539407d133"
50
50
  }
@@ -24,7 +24,7 @@ export type AppLayoutOverlayChangedEvent = CustomEvent<{ value: boolean }>;
24
24
  /**
25
25
  * Fired when the `primarySection` property changes.
26
26
  */
27
- export type AppLayoutPrimarySectionChangedEvent = CustomEvent<{ value: 'navbar' | 'drawer' }>;
27
+ export type AppLayoutPrimarySectionChangedEvent = CustomEvent<{ value: 'drawer' | 'navbar' }>;
28
28
 
29
29
  export interface AppLayoutCustomEventMap {
30
30
  'drawer-opened-changed': AppLayoutDrawerOpenedChangedEvent;
@@ -34,7 +34,7 @@ export interface AppLayoutCustomEventMap {
34
34
  'primary-section-changed': AppLayoutPrimarySectionChangedEvent;
35
35
  }
36
36
 
37
- export type AppLayoutEventMap = HTMLElementEventMap & AppLayoutCustomEventMap;
37
+ export type AppLayoutEventMap = AppLayoutCustomEventMap & HTMLElementEventMap;
38
38
 
39
39
  /**
40
40
  * `<vaadin-app-layout>` is a Web Component providing a quick and easy way to get a common application layout structure done.
@@ -157,7 +157,7 @@ declare class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(HTMLE
157
157
  * - If `primary-section="drawer"` is set, then the drawer will move the navbar, taking the full available height.
158
158
  * @attr {navbar|drawer} primary-section
159
159
  */
160
- primarySection: 'navbar' | 'drawer';
160
+ primarySection: 'drawer' | 'navbar';
161
161
 
162
162
  /**
163
163
  * Controls whether the drawer is opened (visible) or not.
@@ -185,13 +185,13 @@ declare class AppLayout extends ElementMixin(ThemableMixin(ControllerMixin(HTMLE
185
185
  addEventListener<K extends keyof AppLayoutEventMap>(
186
186
  type: K,
187
187
  listener: (this: AppLayout, ev: AppLayoutEventMap[K]) => void,
188
- options?: boolean | AddEventListenerOptions,
188
+ options?: AddEventListenerOptions | boolean,
189
189
  ): void;
190
190
 
191
191
  removeEventListener<K extends keyof AppLayoutEventMap>(
192
192
  type: K,
193
193
  listener: (this: AppLayout, ev: AppLayoutEventMap[K]) => void,
194
- options?: boolean | EventListenerOptions,
194
+ options?: EventListenerOptions | boolean,
195
195
  ): void;
196
196
  }
197
197