@vaadin/app-layout 25.1.0-beta1 → 25.1.0-beta2
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/custom-elements.json +7 -37
- package/package.json +10 -10
- package/src/vaadin-app-layout-mixin.js +1 -4
- package/web-types.json +14 -6
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -71,19 +71,9 @@
|
|
|
71
71
|
"kind": "field",
|
|
72
72
|
"name": "i18n",
|
|
73
73
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"text": "!AppLayoutI18n"
|
|
77
|
-
}
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "Object"
|
|
78
76
|
},
|
|
79
|
-
"parameters": [
|
|
80
|
-
{
|
|
81
|
-
"name": "value",
|
|
82
|
-
"type": {
|
|
83
|
-
"text": "Object"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
77
|
"inheritedFrom": {
|
|
88
78
|
"name": "I18nMixin",
|
|
89
79
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -97,7 +87,8 @@
|
|
|
97
87
|
"text": "boolean"
|
|
98
88
|
},
|
|
99
89
|
"description": "Drawer is an overlay on top of the content\nControlled via CSS using `--vaadin-app-layout-drawer-overlay: true|false`;",
|
|
100
|
-
"attribute": "overlay"
|
|
90
|
+
"attribute": "overlay",
|
|
91
|
+
"readonly": true
|
|
101
92
|
},
|
|
102
93
|
{
|
|
103
94
|
"kind": "field",
|
|
@@ -226,19 +217,9 @@
|
|
|
226
217
|
"kind": "field",
|
|
227
218
|
"name": "i18n",
|
|
228
219
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"text": "!AppLayoutI18n"
|
|
232
|
-
}
|
|
220
|
+
"type": {
|
|
221
|
+
"text": "Object"
|
|
233
222
|
},
|
|
234
|
-
"parameters": [
|
|
235
|
-
{
|
|
236
|
-
"name": "value",
|
|
237
|
-
"type": {
|
|
238
|
-
"text": "Object"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
223
|
"inheritedFrom": {
|
|
243
224
|
"name": "I18nMixin",
|
|
244
225
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -253,6 +234,7 @@
|
|
|
253
234
|
},
|
|
254
235
|
"description": "Drawer is an overlay on top of the content\nControlled via CSS using `--vaadin-app-layout-drawer-overlay: true|false`;",
|
|
255
236
|
"attribute": "overlay",
|
|
237
|
+
"readonly": true,
|
|
256
238
|
"inheritedFrom": {
|
|
257
239
|
"name": "AppLayoutMixin",
|
|
258
240
|
"module": "src/vaadin-app-layout-mixin.js"
|
|
@@ -420,18 +402,6 @@
|
|
|
420
402
|
"text": "string"
|
|
421
403
|
},
|
|
422
404
|
"fieldName": "ariaLabel"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"name": "tabindex",
|
|
426
|
-
"type": {
|
|
427
|
-
"text": "number"
|
|
428
|
-
},
|
|
429
|
-
"description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
|
|
430
|
-
"fieldName": "tabindex",
|
|
431
|
-
"inheritedFrom": {
|
|
432
|
-
"name": "TabindexMixin",
|
|
433
|
-
"package": "@vaadin/a11y-base/src/tabindex-mixin.js"
|
|
434
|
-
}
|
|
435
405
|
}
|
|
436
406
|
],
|
|
437
407
|
"mixins": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/app-layout",
|
|
3
|
-
"version": "25.1.0-
|
|
3
|
+
"version": "25.1.0-beta2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "25.1.0-
|
|
39
|
-
"@vaadin/button": "25.1.0-
|
|
40
|
-
"@vaadin/component-base": "25.1.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.1.0-beta2",
|
|
39
|
+
"@vaadin/button": "25.1.0-beta2",
|
|
40
|
+
"@vaadin/component-base": "25.1.0-beta2",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-beta2",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "25.1.0-
|
|
46
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
47
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
45
|
+
"@vaadin/aura": "25.1.0-beta2",
|
|
46
|
+
"@vaadin/chai-plugins": "25.1.0-beta2",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.1.0-beta2",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-beta2",
|
|
50
50
|
"sinon": "^21.0.0"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "ffbedbae08a5160d13bcd1c6fcaa328df5103a05"
|
|
58
58
|
}
|
|
@@ -48,7 +48,6 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
48
48
|
* - `true`, for desktop size views
|
|
49
49
|
* - `false`, for mobile size views
|
|
50
50
|
* @attr {boolean} drawer-opened
|
|
51
|
-
* @type {boolean}
|
|
52
51
|
*/
|
|
53
52
|
drawerOpened: {
|
|
54
53
|
type: Boolean,
|
|
@@ -62,7 +61,6 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
62
61
|
/**
|
|
63
62
|
* Drawer is an overlay on top of the content
|
|
64
63
|
* Controlled via CSS using `--vaadin-app-layout-drawer-overlay: true|false`;
|
|
65
|
-
* @type {boolean}
|
|
66
64
|
*/
|
|
67
65
|
overlay: {
|
|
68
66
|
type: Boolean,
|
|
@@ -79,7 +77,6 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
79
77
|
* - The default is `vaadin-router-location-changed` dispatched by Vaadin Router
|
|
80
78
|
*
|
|
81
79
|
* @attr {string} close-drawer-on
|
|
82
|
-
* @type {string}
|
|
83
80
|
*/
|
|
84
81
|
closeDrawerOn: {
|
|
85
82
|
type: String,
|
|
@@ -111,7 +108,7 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
111
108
|
* drawer: 'Drawer'
|
|
112
109
|
* }
|
|
113
110
|
* ```
|
|
114
|
-
* @
|
|
111
|
+
* @type {!AppLayoutI18n}
|
|
115
112
|
*/
|
|
116
113
|
get i18n() {
|
|
117
114
|
return super.i18n;
|
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": "25.1.0-
|
|
4
|
+
"version": "25.1.0-beta2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"description": "A global event that causes the drawer to close (be hidden) when it is in overlay mode.\n- The default is `vaadin-router-location-changed` dispatched by Vaadin Router",
|
|
16
16
|
"value": {
|
|
17
17
|
"type": [
|
|
18
|
-
"string"
|
|
18
|
+
"string",
|
|
19
|
+
"null",
|
|
20
|
+
"undefined"
|
|
19
21
|
]
|
|
20
22
|
}
|
|
21
23
|
},
|
|
@@ -24,7 +26,9 @@
|
|
|
24
26
|
"description": "Controls whether the drawer is opened (visible) or not.\nIts default value depends on the viewport:\n- `true`, for desktop size views\n- `false`, for mobile size views",
|
|
25
27
|
"value": {
|
|
26
28
|
"type": [
|
|
27
|
-
"boolean"
|
|
29
|
+
"boolean",
|
|
30
|
+
"null",
|
|
31
|
+
"undefined"
|
|
28
32
|
]
|
|
29
33
|
}
|
|
30
34
|
},
|
|
@@ -56,7 +60,9 @@
|
|
|
56
60
|
"description": "A global event that causes the drawer to close (be hidden) when it is in overlay mode.\n- The default is `vaadin-router-location-changed` dispatched by Vaadin Router",
|
|
57
61
|
"value": {
|
|
58
62
|
"type": [
|
|
59
|
-
"string"
|
|
63
|
+
"string",
|
|
64
|
+
"null",
|
|
65
|
+
"undefined"
|
|
60
66
|
]
|
|
61
67
|
}
|
|
62
68
|
},
|
|
@@ -65,7 +71,9 @@
|
|
|
65
71
|
"description": "Controls whether the drawer is opened (visible) or not.\nIts default value depends on the viewport:\n- `true`, for desktop size views\n- `false`, for mobile size views",
|
|
66
72
|
"value": {
|
|
67
73
|
"type": [
|
|
68
|
-
"boolean"
|
|
74
|
+
"boolean",
|
|
75
|
+
"null",
|
|
76
|
+
"undefined"
|
|
69
77
|
]
|
|
70
78
|
}
|
|
71
79
|
},
|
|
@@ -74,7 +82,7 @@
|
|
|
74
82
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
|
|
75
83
|
"value": {
|
|
76
84
|
"type": [
|
|
77
|
-
"
|
|
85
|
+
"?"
|
|
78
86
|
]
|
|
79
87
|
}
|
|
80
88
|
},
|