@vaadin/app-layout 25.1.0-beta2 → 25.1.0-beta3
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 +20 -6
- package/package.json +11 -11
- package/src/vaadin-app-layout-mixin.js +0 -1
- package/web-types.json +18 -3
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -70,10 +70,12 @@
|
|
|
70
70
|
{
|
|
71
71
|
"kind": "field",
|
|
72
72
|
"name": "i18n",
|
|
73
|
-
"
|
|
73
|
+
"privacy": "public",
|
|
74
74
|
"type": {
|
|
75
75
|
"text": "Object"
|
|
76
76
|
},
|
|
77
|
+
"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```",
|
|
78
|
+
"attribute": "i18n",
|
|
77
79
|
"inheritedFrom": {
|
|
78
80
|
"name": "I18nMixin",
|
|
79
81
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -95,7 +97,7 @@
|
|
|
95
97
|
"name": "primarySection",
|
|
96
98
|
"privacy": "public",
|
|
97
99
|
"type": {
|
|
98
|
-
"text": "
|
|
100
|
+
"text": "string"
|
|
99
101
|
},
|
|
100
102
|
"description": "Defines whether navbar or drawer will come first visually.\n- By default (`primary-section=\"navbar\"`), the navbar takes the full available width and moves the drawer down.\n- If `primary-section=\"drawer\"` is set, then the drawer will move the navbar, taking the full available height.",
|
|
101
103
|
"attribute": "primary-section"
|
|
@@ -120,6 +122,11 @@
|
|
|
120
122
|
},
|
|
121
123
|
{
|
|
122
124
|
"name": "i18n",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "Object"
|
|
127
|
+
},
|
|
128
|
+
"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\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
129
|
+
"fieldName": "i18n",
|
|
123
130
|
"inheritedFrom": {
|
|
124
131
|
"name": "I18nMixin",
|
|
125
132
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -136,7 +143,7 @@
|
|
|
136
143
|
{
|
|
137
144
|
"name": "primary-section",
|
|
138
145
|
"type": {
|
|
139
|
-
"text": "
|
|
146
|
+
"text": "string"
|
|
140
147
|
},
|
|
141
148
|
"description": "Defines whether navbar or drawer will come first visually.\n- By default (`primary-section=\"navbar\"`), the navbar takes the full available width and moves the drawer down.\n- If `primary-section=\"drawer\"` is set, then the drawer will move the navbar, taking the full available height.",
|
|
142
149
|
"fieldName": "primarySection"
|
|
@@ -216,10 +223,12 @@
|
|
|
216
223
|
{
|
|
217
224
|
"kind": "field",
|
|
218
225
|
"name": "i18n",
|
|
219
|
-
"
|
|
226
|
+
"privacy": "public",
|
|
220
227
|
"type": {
|
|
221
228
|
"text": "Object"
|
|
222
229
|
},
|
|
230
|
+
"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```",
|
|
231
|
+
"attribute": "i18n",
|
|
223
232
|
"inheritedFrom": {
|
|
224
233
|
"name": "I18nMixin",
|
|
225
234
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -245,7 +254,7 @@
|
|
|
245
254
|
"name": "primarySection",
|
|
246
255
|
"privacy": "public",
|
|
247
256
|
"type": {
|
|
248
|
-
"text": "
|
|
257
|
+
"text": "string"
|
|
249
258
|
},
|
|
250
259
|
"description": "Defines whether navbar or drawer will come first visually.\n- By default (`primary-section=\"navbar\"`), the navbar takes the full available width and moves the drawer down.\n- If `primary-section=\"drawer\"` is set, then the drawer will move the navbar, taking the full available height.",
|
|
251
260
|
"attribute": "primary-section",
|
|
@@ -333,6 +342,11 @@
|
|
|
333
342
|
},
|
|
334
343
|
{
|
|
335
344
|
"name": "i18n",
|
|
345
|
+
"type": {
|
|
346
|
+
"text": "Object"
|
|
347
|
+
},
|
|
348
|
+
"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\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
349
|
+
"fieldName": "i18n",
|
|
336
350
|
"inheritedFrom": {
|
|
337
351
|
"name": "I18nMixin",
|
|
338
352
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -353,7 +367,7 @@
|
|
|
353
367
|
{
|
|
354
368
|
"name": "primary-section",
|
|
355
369
|
"type": {
|
|
356
|
-
"text": "
|
|
370
|
+
"text": "string"
|
|
357
371
|
},
|
|
358
372
|
"description": "Defines whether navbar or drawer will come first visually.\n- By default (`primary-section=\"navbar\"`), the navbar takes the full available width and moves the drawer down.\n- If `primary-section=\"drawer\"` is set, then the drawer will move the navbar, taking the full available height.",
|
|
359
373
|
"fieldName": "primarySection",
|
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-beta3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,24 +35,24 @@
|
|
|
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-beta3",
|
|
39
|
+
"@vaadin/button": "25.1.0-beta3",
|
|
40
|
+
"@vaadin/component-base": "25.1.0-beta3",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-beta3",
|
|
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-beta3",
|
|
46
|
+
"@vaadin/chai-plugins": "25.1.0-beta3",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.1.0-beta3",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
50
|
-
"sinon": "^21.0.
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-beta3",
|
|
50
|
+
"sinon": "^21.0.2"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
53
53
|
"web-types": [
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "4251850231a42298fda23b83928da588831cdb5d"
|
|
58
58
|
}
|
|
@@ -31,7 +31,6 @@ export const AppLayoutMixin = (superclass) =>
|
|
|
31
31
|
* - By default (`primary-section="navbar"`), the navbar takes the full available width and moves the drawer down.
|
|
32
32
|
* - If `primary-section="drawer"` is set, then the drawer will move the navbar, taking the full available height.
|
|
33
33
|
* @attr {navbar|drawer} primary-section
|
|
34
|
-
* @type {!PrimarySection}
|
|
35
34
|
*/
|
|
36
35
|
primarySection: {
|
|
37
36
|
type: String,
|
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-beta3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -32,12 +32,25 @@
|
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
"name": "i18n",
|
|
37
|
+
"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\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
38
|
+
"value": {
|
|
39
|
+
"type": [
|
|
40
|
+
"Object",
|
|
41
|
+
"null",
|
|
42
|
+
"undefined"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
35
46
|
{
|
|
36
47
|
"name": "primary-section",
|
|
37
48
|
"description": "Defines whether navbar or drawer will come first visually.\n- By default (`primary-section=\"navbar\"`), the navbar takes the full available width and moves the drawer down.\n- If `primary-section=\"drawer\"` is set, then the drawer will move the navbar, taking the full available height.",
|
|
38
49
|
"value": {
|
|
39
50
|
"type": [
|
|
40
|
-
"
|
|
51
|
+
"string",
|
|
52
|
+
"null",
|
|
53
|
+
"undefined"
|
|
41
54
|
]
|
|
42
55
|
}
|
|
43
56
|
},
|
|
@@ -91,7 +104,9 @@
|
|
|
91
104
|
"description": "Defines whether navbar or drawer will come first visually.\n- By default (`primary-section=\"navbar\"`), the navbar takes the full available width and moves the drawer down.\n- If `primary-section=\"drawer\"` is set, then the drawer will move the navbar, taking the full available height.",
|
|
92
105
|
"value": {
|
|
93
106
|
"type": [
|
|
94
|
-
"
|
|
107
|
+
"string",
|
|
108
|
+
"null",
|
|
109
|
+
"undefined"
|
|
95
110
|
]
|
|
96
111
|
}
|
|
97
112
|
}
|