@vaadin/app-layout 25.3.0 → 25.4.0-alpha1

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.
@@ -72,9 +72,9 @@
72
72
  "name": "i18n",
73
73
  "privacy": "public",
74
74
  "type": {
75
- "text": "Object"
75
+ "text": "Object | undefined"
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```",
77
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
78
78
  "attribute": "i18n",
79
79
  "inheritedFrom": {
80
80
  "name": "I18nMixin",
@@ -123,9 +123,9 @@
123
123
  {
124
124
  "name": "i18n",
125
125
  "type": {
126
- "text": "Object"
126
+ "text": "Object | undefined"
127
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.",
128
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
129
129
  "fieldName": "i18n",
130
130
  "inheritedFrom": {
131
131
  "name": "I18nMixin",
@@ -225,9 +225,9 @@
225
225
  "name": "i18n",
226
226
  "privacy": "public",
227
227
  "type": {
228
- "text": "Object"
228
+ "text": "Object | undefined"
229
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```",
230
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
231
231
  "attribute": "i18n",
232
232
  "inheritedFrom": {
233
233
  "name": "I18nMixin",
@@ -315,9 +315,9 @@
315
315
  {
316
316
  "name": "i18n",
317
317
  "type": {
318
- "text": "Object"
318
+ "text": "Object | undefined"
319
319
  },
320
- "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.",
320
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
321
321
  "fieldName": "i18n",
322
322
  "inheritedFrom": {
323
323
  "name": "I18nMixin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/app-layout",
3
- "version": "25.3.0",
3
+ "version": "25.4.0-alpha1",
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.3.0",
39
- "@vaadin/button": "~25.3.0",
40
- "@vaadin/component-base": "~25.3.0",
41
- "@vaadin/vaadin-themable-mixin": "~25.3.0",
38
+ "@vaadin/a11y-base": "25.4.0-alpha1",
39
+ "@vaadin/button": "25.4.0-alpha1",
40
+ "@vaadin/component-base": "25.4.0-alpha1",
41
+ "@vaadin/vaadin-themable-mixin": "25.4.0-alpha1",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/aura": "~25.3.0",
46
- "@vaadin/chai-plugins": "~25.3.0",
47
- "@vaadin/test-runner-commands": "~25.3.0",
45
+ "@vaadin/aura": "25.4.0-alpha1",
46
+ "@vaadin/chai-plugins": "25.4.0-alpha1",
47
+ "@vaadin/test-runner-commands": "25.4.0-alpha1",
48
48
  "@vaadin/testing-helpers": "^2.0.0",
49
- "@vaadin/vaadin-lumo-styles": "~25.3.0",
49
+ "@vaadin/vaadin-lumo-styles": "25.4.0-alpha1",
50
50
  "sinon": "^22.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": "4133747243c03bf544f6e82cc2ec9f295aaccd65"
57
+ "gitHead": "be38ec1866e96508f3f4591f95c949ef55903a34"
58
58
  }
@@ -17,9 +17,11 @@ export declare function AppLayoutMixin<T extends Constructor<HTMLElement>>(
17
17
  export declare class AppLayoutMixinClass {
18
18
  /**
19
19
  * The object used to localize this component. To change the default
20
- * localization, replace this with an object that provides all properties, or
20
+ * localization, set this to an object that provides all properties, or
21
21
  * just the individual properties you want to change.
22
22
  *
23
+ * When not set, defaults to `undefined`.
24
+ *
23
25
  * The object has the following structure and default values:
24
26
  * ```js
25
27
  * {
@@ -27,7 +29,7 @@ export declare class AppLayoutMixinClass {
27
29
  * }
28
30
  * ```
29
31
  */
30
- i18n: AppLayoutI18n;
32
+ i18n: AppLayoutI18n | undefined;
31
33
 
32
34
  /**
33
35
  * Defines whether navbar or drawer will come first visually.
@@ -98,16 +98,18 @@ export const AppLayoutMixin = (superclass) =>
98
98
 
99
99
  /**
100
100
  * The object used to localize this component. To change the default
101
- * localization, replace this with an object that provides all properties, or
101
+ * localization, set this to an object that provides all properties, or
102
102
  * just the individual properties you want to change.
103
103
  *
104
+ * When not set, defaults to `undefined`.
105
+ *
104
106
  * The object has the following structure and default values:
105
107
  * ```js
106
108
  * {
107
109
  * drawer: 'Drawer'
108
110
  * }
109
111
  * ```
110
- * @type {!AppLayoutI18n}
112
+ * @type {AppLayoutI18n | undefined}
111
113
  */
112
114
  get i18n() {
113
115
  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.3.0",
4
+ "version": "25.4.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -69,10 +69,11 @@
69
69
  },
70
70
  {
71
71
  "name": "i18n",
72
- "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```",
72
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
73
73
  "value": {
74
74
  "type": [
75
- "Object"
75
+ "Object",
76
+ "undefined"
76
77
  ]
77
78
  }
78
79
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/app-layout",
4
- "version": "25.3.0",
4
+ "version": "25.4.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "name": ".i18n",
38
- "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```",
38
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following structure and default values:\n```js\n{\n drawer: 'Drawer'\n}\n```",
39
39
  "value": {
40
40
  "kind": "expression"
41
41
  }