@vaadin/side-nav 25.3.0-rc1 → 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.
@@ -46,9 +46,9 @@
46
46
  "name": "i18n",
47
47
  "privacy": "public",
48
48
  "type": {
49
- "text": "Object"
49
+ "text": "Object | undefined"
50
50
  },
51
- "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 toggle: 'Toggle child items'\n}\n```",
51
+ "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 toggle: 'Toggle child items'\n}\n```",
52
52
  "attribute": "i18n",
53
53
  "inheritedFrom": {
54
54
  "name": "I18nMixin",
@@ -60,9 +60,9 @@
60
60
  {
61
61
  "name": "i18n",
62
62
  "type": {
63
- "text": "Object"
63
+ "text": "Object | undefined"
64
64
  },
65
- "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.",
65
+ "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.",
66
66
  "fieldName": "i18n",
67
67
  "inheritedFrom": {
68
68
  "name": "I18nMixin",
@@ -143,9 +143,9 @@
143
143
  "name": "i18n",
144
144
  "privacy": "public",
145
145
  "type": {
146
- "text": "Object"
146
+ "text": "Object | undefined"
147
147
  },
148
- "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 toggle: 'Toggle child items'\n}\n```",
148
+ "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 toggle: 'Toggle child items'\n}\n```",
149
149
  "attribute": "i18n",
150
150
  "inheritedFrom": {
151
151
  "name": "I18nMixin",
@@ -244,9 +244,9 @@
244
244
  {
245
245
  "name": "i18n",
246
246
  "type": {
247
- "text": "Object"
247
+ "text": "Object | undefined"
248
248
  },
249
- "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.",
249
+ "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.",
250
250
  "fieldName": "i18n",
251
251
  "inheritedFrom": {
252
252
  "name": "I18nMixin",
@@ -372,9 +372,9 @@
372
372
  "name": "i18n",
373
373
  "privacy": "public",
374
374
  "type": {
375
- "text": "Object"
375
+ "text": "Object | undefined"
376
376
  },
377
- "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 toggle: 'Toggle child items'\n}\n```",
377
+ "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 toggle: 'Toggle child items'\n}\n```",
378
378
  "attribute": "i18n",
379
379
  "inheritedFrom": {
380
380
  "name": "I18nMixin",
@@ -440,9 +440,9 @@
440
440
  {
441
441
  "name": "i18n",
442
442
  "type": {
443
- "text": "Object"
443
+ "text": "Object | undefined"
444
444
  },
445
- "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.",
445
+ "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.",
446
446
  "fieldName": "i18n",
447
447
  "inheritedFrom": {
448
448
  "name": "I18nMixin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/side-nav",
3
- "version": "25.3.0-rc1",
3
+ "version": "25.4.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,19 +35,19 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.3.0-rc1",
39
- "@vaadin/component-base": "25.3.0-rc1",
40
- "@vaadin/vaadin-themable-mixin": "25.3.0-rc1",
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-rc1",
45
- "@vaadin/chai-plugins": "25.3.0-rc1",
46
- "@vaadin/icon": "25.3.0-rc1",
47
- "@vaadin/icons": "25.3.0-rc1",
48
- "@vaadin/test-runner-commands": "25.3.0-rc1",
44
+ "@vaadin/aura": "25.4.0-alpha1",
45
+ "@vaadin/chai-plugins": "25.4.0-alpha1",
46
+ "@vaadin/icon": "25.4.0-alpha1",
47
+ "@vaadin/icons": "25.4.0-alpha1",
48
+ "@vaadin/test-runner-commands": "25.4.0-alpha1",
49
49
  "@vaadin/testing-helpers": "^2.0.0",
50
- "@vaadin/vaadin-lumo-styles": "25.3.0-rc1",
50
+ "@vaadin/vaadin-lumo-styles": "25.4.0-alpha1",
51
51
  "lit": "^3.0.0",
52
52
  "sinon": "^22.0.0"
53
53
  },
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "d4809590b2f61bd607e376ab3dec84f4bfb059a7"
59
+ "gitHead": "be38ec1866e96508f3f4591f95c949ef55903a34"
60
60
  }
@@ -17,9 +17,11 @@ export declare function SideNavChildrenMixin<T extends Constructor<HTMLElement>>
17
17
  export declare class SideNavChildrenMixinClass {
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 SideNavChildrenMixinClass {
27
29
  * }
28
30
  * ```
29
31
  */
30
- i18n: SideNavI18n;
32
+ i18n: SideNavI18n | undefined;
31
33
 
32
34
  /**
33
35
  * List of child items of this component.
@@ -62,16 +62,18 @@ export const SideNavChildrenMixin = (superClass) =>
62
62
 
63
63
  /**
64
64
  * The object used to localize this component. To change the default
65
- * localization, replace this with an object that provides all properties, or
65
+ * localization, set this to an object that provides all properties, or
66
66
  * just the individual properties you want to change.
67
67
  *
68
+ * When not set, defaults to `undefined`.
69
+ *
68
70
  * The object has the following structure and default values:
69
71
  * ```js
70
72
  * {
71
73
  * toggle: 'Toggle child items'
72
74
  * }
73
75
  * ```
74
- * @type {!SideNavI18n}
76
+ * @type {SideNavI18n | undefined}
75
77
  */
76
78
  get i18n() {
77
79
  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/side-nav",
4
- "version": "25.3.0-rc1",
4
+ "version": "25.4.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -96,10 +96,11 @@
96
96
  },
97
97
  {
98
98
  "name": "i18n",
99
- "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 toggle: 'Toggle child items'\n}\n```",
99
+ "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 toggle: 'Toggle child items'\n}\n```",
100
100
  "value": {
101
101
  "type": [
102
- "Object"
102
+ "Object",
103
+ "undefined"
103
104
  ]
104
105
  }
105
106
  },
@@ -220,10 +221,11 @@
220
221
  },
221
222
  {
222
223
  "name": "i18n",
223
- "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 toggle: 'Toggle child items'\n}\n```",
224
+ "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 toggle: 'Toggle child items'\n}\n```",
224
225
  "value": {
225
226
  "type": [
226
- "Object"
227
+ "Object",
228
+ "undefined"
227
229
  ]
228
230
  }
229
231
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/side-nav",
4
- "version": "25.3.0-rc1",
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 toggle: 'Toggle child items'\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 toggle: 'Toggle child items'\n}\n```",
39
39
  "value": {
40
40
  "kind": "expression"
41
41
  }
@@ -105,7 +105,7 @@
105
105
  },
106
106
  {
107
107
  "name": ".i18n",
108
- "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 toggle: 'Toggle child items'\n}\n```",
108
+ "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 toggle: 'Toggle child items'\n}\n```",
109
109
  "value": {
110
110
  "kind": "expression"
111
111
  }