@vaadin/split-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.
@@ -87,15 +87,10 @@
87
87
  "name": "i18n",
88
88
  "privacy": "public",
89
89
  "type": {
90
- "text": "Object"
90
+ "text": "Object | undefined"
91
91
  },
92
- "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 JSON structure and default values:\n\n```\n{\n // Accessible label of the resize separator.\n separator: 'Resize separator'\n}\n```",
92
+ "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 JSON structure and default values:\n\n```\n{\n // Accessible label of the resize separator.\n separator: 'Resize separator'\n}\n```",
93
93
  "attribute": "i18n",
94
- "return": {
95
- "type": {
96
- "text": "!Object"
97
- }
98
- },
99
94
  "inheritedFrom": {
100
95
  "name": "I18nMixin",
101
96
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -133,9 +128,9 @@
133
128
  {
134
129
  "name": "i18n",
135
130
  "type": {
136
- "text": "Object"
131
+ "text": "Object | undefined"
137
132
  },
138
- "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.",
133
+ "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.",
139
134
  "fieldName": "i18n",
140
135
  "inheritedFrom": {
141
136
  "name": "I18nMixin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/split-layout",
3
- "version": "25.3.0",
3
+ "version": "25.4.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,17 +35,17 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "~25.3.0",
39
- "@vaadin/component-base": "~25.3.0",
40
- "@vaadin/vaadin-themable-mixin": "~25.3.0",
38
+ "@vaadin/a11y-base": "25.4.0-alpha1",
39
+ "@vaadin/component-base": "25.4.0-alpha1",
40
+ "@vaadin/vaadin-themable-mixin": "25.4.0-alpha1",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/aura": "~25.3.0",
45
- "@vaadin/chai-plugins": "~25.3.0",
46
- "@vaadin/test-runner-commands": "~25.3.0",
44
+ "@vaadin/aura": "25.4.0-alpha1",
45
+ "@vaadin/chai-plugins": "25.4.0-alpha1",
46
+ "@vaadin/test-runner-commands": "25.4.0-alpha1",
47
47
  "@vaadin/testing-helpers": "^2.0.0",
48
- "@vaadin/vaadin-lumo-styles": "~25.3.0",
48
+ "@vaadin/vaadin-lumo-styles": "25.4.0-alpha1",
49
49
  "sinon": "^22.0.0"
50
50
  },
51
51
  "customElements": "custom-elements.json",
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "4133747243c03bf544f6e82cc2ec9f295aaccd65"
56
+ "gitHead": "be38ec1866e96508f3f4591f95c949ef55903a34"
57
57
  }
@@ -192,9 +192,11 @@ declare class SplitLayout extends SplitLayoutMixin(
192
192
  ) {
193
193
  /**
194
194
  * The object used to localize this component. To change the default
195
- * localization, replace this with an object that provides all properties, or
195
+ * localization, set this to an object that provides all properties, or
196
196
  * just the individual properties you want to change.
197
197
  *
198
+ * When not set, defaults to `undefined`.
199
+ *
198
200
  * The object has the following JSON structure and default values:
199
201
  *
200
202
  * ```
@@ -204,7 +206,7 @@ declare class SplitLayout extends SplitLayoutMixin(
204
206
  * }
205
207
  * ```
206
208
  */
207
- i18n: SplitLayoutI18n;
209
+ i18n: SplitLayoutI18n | undefined;
208
210
 
209
211
  addEventListener<K extends keyof SplitLayoutEventMap>(
210
212
  type: K,
@@ -212,9 +212,11 @@ class SplitLayout extends SplitLayoutMixin(
212
212
 
213
213
  /**
214
214
  * The object used to localize this component. To change the default
215
- * localization, replace this with an object that provides all properties, or
215
+ * localization, set this to an object that provides all properties, or
216
216
  * just the individual properties you want to change.
217
217
  *
218
+ * When not set, defaults to `undefined`.
219
+ *
218
220
  * The object has the following JSON structure and default values:
219
221
  *
220
222
  * ```
@@ -224,7 +226,7 @@ class SplitLayout extends SplitLayoutMixin(
224
226
  * }
225
227
  * ```
226
228
  *
227
- * @return {!Object}
229
+ * @type {SplitLayoutI18n | undefined}
228
230
  */
229
231
  get i18n() {
230
232
  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/split-layout",
4
- "version": "25.3.0",
4
+ "version": "25.4.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -33,10 +33,11 @@
33
33
  "properties": [
34
34
  {
35
35
  "name": "i18n",
36
- "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 JSON structure and default values:\n\n```\n{\n // Accessible label of the resize separator.\n separator: 'Resize separator'\n}\n```",
36
+ "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 JSON structure and default values:\n\n```\n{\n // Accessible label of the resize separator.\n separator: 'Resize separator'\n}\n```",
37
37
  "value": {
38
38
  "type": [
39
- "Object"
39
+ "Object",
40
+ "undefined"
40
41
  ]
41
42
  }
42
43
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/split-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": {
@@ -21,7 +21,7 @@
21
21
  "attributes": [
22
22
  {
23
23
  "name": ".i18n",
24
- "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 JSON structure and default values:\n\n```\n{\n // Accessible label of the resize separator.\n separator: 'Resize separator'\n}\n```",
24
+ "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 JSON structure and default values:\n\n```\n{\n // Accessible label of the resize separator.\n separator: 'Resize separator'\n}\n```",
25
25
  "value": {
26
26
  "kind": "expression"
27
27
  }