@vaadin/side-nav 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.
@@ -45,19 +45,9 @@
45
45
  "kind": "field",
46
46
  "name": "i18n",
47
47
  "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```",
48
- "return": {
49
- "type": {
50
- "text": "!SideNavI18n"
51
- }
48
+ "type": {
49
+ "text": "Object"
52
50
  },
53
- "parameters": [
54
- {
55
- "name": "value",
56
- "type": {
57
- "text": "Object"
58
- }
59
- }
60
- ],
61
51
  "inheritedFrom": {
62
52
  "name": "I18nMixin",
63
53
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -114,7 +104,8 @@
114
104
  "text": "boolean"
115
105
  },
116
106
  "description": "Whether the item's path matches the current browser URL.\n\nA match occurs when both share the same base origin (like https://example.com),\nthe same path (like /path/to/page), and the browser URL contains at least\nall the query parameters with the same values from the item's path.\n\nSee [`matchNested`](#/elements/vaadin-side-nav-item#property-matchNested) for how to change the path matching behavior.\n\nThe state is updated when the item is added to the DOM or when the browser\nnavigates to a new page.",
117
- "attribute": "current"
107
+ "attribute": "current",
108
+ "readonly": true
118
109
  },
119
110
  {
120
111
  "kind": "field",
@@ -130,19 +121,9 @@
130
121
  "kind": "field",
131
122
  "name": "i18n",
132
123
  "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```",
133
- "return": {
134
- "type": {
135
- "text": "!SideNavI18n"
136
- }
124
+ "type": {
125
+ "text": "Object"
137
126
  },
138
- "parameters": [
139
- {
140
- "name": "value",
141
- "type": {
142
- "text": "Object"
143
- }
144
- }
145
- ],
146
127
  "inheritedFrom": {
147
128
  "name": "I18nMixin",
148
129
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -331,19 +312,9 @@
331
312
  "kind": "field",
332
313
  "name": "i18n",
333
314
  "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```",
334
- "return": {
335
- "type": {
336
- "text": "!SideNavI18n"
337
- }
315
+ "type": {
316
+ "text": "Object"
338
317
  },
339
- "parameters": [
340
- {
341
- "name": "value",
342
- "type": {
343
- "text": "Object"
344
- }
345
- }
346
- ],
347
318
  "inheritedFrom": {
348
319
  "name": "I18nMixin",
349
320
  "package": "@vaadin/component-base/src/i18n-mixin.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/side-nav",
3
- "version": "25.1.0-beta1",
3
+ "version": "25.1.0-beta2",
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.1.0-beta1",
39
- "@vaadin/component-base": "25.1.0-beta1",
40
- "@vaadin/vaadin-themable-mixin": "25.1.0-beta1",
38
+ "@vaadin/a11y-base": "25.1.0-beta2",
39
+ "@vaadin/component-base": "25.1.0-beta2",
40
+ "@vaadin/vaadin-themable-mixin": "25.1.0-beta2",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/aura": "25.1.0-beta1",
45
- "@vaadin/chai-plugins": "25.1.0-beta1",
46
- "@vaadin/icon": "25.1.0-beta1",
47
- "@vaadin/icons": "25.1.0-beta1",
48
- "@vaadin/test-runner-commands": "25.1.0-beta1",
44
+ "@vaadin/aura": "25.1.0-beta2",
45
+ "@vaadin/chai-plugins": "25.1.0-beta2",
46
+ "@vaadin/icon": "25.1.0-beta2",
47
+ "@vaadin/icons": "25.1.0-beta2",
48
+ "@vaadin/test-runner-commands": "25.1.0-beta2",
49
49
  "@vaadin/testing-helpers": "^2.0.0",
50
- "@vaadin/vaadin-lumo-styles": "25.1.0-beta1",
50
+ "@vaadin/vaadin-lumo-styles": "25.1.0-beta2",
51
51
  "lit": "^3.0.0",
52
52
  "sinon": "^21.0.0"
53
53
  },
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "0ccf77c385fc6a92ac2a6344ce8804b94956226d"
59
+ "gitHead": "ffbedbae08a5160d13bcd1c6fcaa328df5103a05"
60
60
  }
@@ -70,7 +70,7 @@ export const SideNavChildrenMixin = (superClass) =>
70
70
  * toggle: 'Toggle child items'
71
71
  * }
72
72
  * ```
73
- * @return {!SideNavI18n}
73
+ * @type {!SideNavI18n}
74
74
  */
75
75
  get i18n() {
76
76
  return super.i18n;
@@ -110,7 +110,6 @@ class SideNavItem extends SideNavChildrenMixin(
110
110
  /**
111
111
  * Whether to show the child items or not
112
112
  *
113
- * @type {boolean}
114
113
  */
115
114
  expanded: {
116
115
  type: Boolean,
@@ -129,7 +128,6 @@ class SideNavItem extends SideNavChildrenMixin(
129
128
  * Note that this only affects matching of the URLs path, not the base
130
129
  * origin or query parameters.
131
130
  *
132
- * @type {boolean}
133
131
  * @attr {boolean} match-nested
134
132
  */
135
133
  matchNested: {
@@ -149,7 +147,6 @@ class SideNavItem extends SideNavChildrenMixin(
149
147
  * The state is updated when the item is added to the DOM or when the browser
150
148
  * navigates to a new page.
151
149
  *
152
- * @type {boolean}
153
150
  */
154
151
  current: {
155
152
  type: Boolean,
@@ -169,7 +166,6 @@ class SideNavItem extends SideNavChildrenMixin(
169
166
  * page reload. This only works with supported routers, such as the one
170
167
  * provided in Vaadin apps, or when using the side nav `onNavigate` hook.
171
168
  *
172
- * @type {boolean}
173
169
  * @attr {boolean} router-ignore
174
170
  */
175
171
  routerIgnore: {
@@ -89,7 +89,6 @@ class SideNav extends SideNavChildrenMixin(
89
89
  /**
90
90
  * Whether the side nav is collapsible. When enabled, the toggle icon is shown.
91
91
  *
92
- * @type {boolean}
93
92
  */
94
93
  collapsible: {
95
94
  type: Boolean,
@@ -100,7 +99,6 @@ class SideNav extends SideNavChildrenMixin(
100
99
  /**
101
100
  * Whether the side nav is collapsed. When collapsed, the items are hidden.
102
101
  *
103
- * @type {boolean}
104
102
  */
105
103
  collapsed: {
106
104
  type: Boolean,
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.1.0-beta1",
4
+ "version": "25.1.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -26,7 +26,9 @@
26
26
  "description": "Whether to show the child items or not",
27
27
  "value": {
28
28
  "type": [
29
- "boolean"
29
+ "boolean",
30
+ "null",
31
+ "undefined"
30
32
  ]
31
33
  }
32
34
  },
@@ -35,7 +37,9 @@
35
37
  "description": "Whether to also match nested paths / routes. `false` by default.\n\nWhen enabled, an item with the path `/path` is considered current when\nthe browser URL is `/path`, `/path/child`, `/path/child/grandchild`,\netc.\n\nNote that this only affects matching of the URLs path, not the base\norigin or query parameters.",
36
38
  "value": {
37
39
  "type": [
38
- "boolean"
40
+ "boolean",
41
+ "null",
42
+ "undefined"
39
43
  ]
40
44
  }
41
45
  },
@@ -55,7 +59,9 @@
55
59
  "description": "Whether to exclude the item from client-side routing. When enabled,\nthis causes the item to behave like a regular anchor, causing a full\npage reload. This only works with supported routers, such as the one\nprovided in Vaadin apps, or when using the side nav `onNavigate` hook.",
56
60
  "value": {
57
61
  "type": [
58
- "boolean"
62
+ "boolean",
63
+ "null",
64
+ "undefined"
59
65
  ]
60
66
  }
61
67
  },
@@ -100,7 +106,9 @@
100
106
  "description": "Whether to show the child items or not",
101
107
  "value": {
102
108
  "type": [
103
- "boolean"
109
+ "boolean",
110
+ "null",
111
+ "undefined"
104
112
  ]
105
113
  }
106
114
  },
@@ -109,7 +117,7 @@
109
117
  "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```",
110
118
  "value": {
111
119
  "type": [
112
- "SideNavI18n"
120
+ "?"
113
121
  ]
114
122
  }
115
123
  },
@@ -118,7 +126,9 @@
118
126
  "description": "Whether to also match nested paths / routes. `false` by default.\n\nWhen enabled, an item with the path `/path` is considered current when\nthe browser URL is `/path`, `/path/child`, `/path/child/grandchild`,\netc.\n\nNote that this only affects matching of the URLs path, not the base\norigin or query parameters.",
119
127
  "value": {
120
128
  "type": [
121
- "boolean"
129
+ "boolean",
130
+ "null",
131
+ "undefined"
122
132
  ]
123
133
  }
124
134
  },
@@ -147,7 +157,9 @@
147
157
  "description": "Whether to exclude the item from client-side routing. When enabled,\nthis causes the item to behave like a regular anchor, causing a full\npage reload. This only works with supported routers, such as the one\nprovided in Vaadin apps, or when using the side nav `onNavigate` hook.",
148
158
  "value": {
149
159
  "type": [
150
- "boolean"
160
+ "boolean",
161
+ "null",
162
+ "undefined"
151
163
  ]
152
164
  }
153
165
  },
@@ -180,7 +192,9 @@
180
192
  "description": "Whether the side nav is collapsed. When collapsed, the items are hidden.",
181
193
  "value": {
182
194
  "type": [
183
- "boolean"
195
+ "boolean",
196
+ "null",
197
+ "undefined"
184
198
  ]
185
199
  }
186
200
  },
@@ -189,7 +203,9 @@
189
203
  "description": "Whether the side nav is collapsible. When enabled, the toggle icon is shown.",
190
204
  "value": {
191
205
  "type": [
192
- "boolean"
206
+ "boolean",
207
+ "null",
208
+ "undefined"
193
209
  ]
194
210
  }
195
211
  },
@@ -242,7 +258,9 @@
242
258
  "description": "Whether the side nav is collapsed. When collapsed, the items are hidden.",
243
259
  "value": {
244
260
  "type": [
245
- "boolean"
261
+ "boolean",
262
+ "null",
263
+ "undefined"
246
264
  ]
247
265
  }
248
266
  },
@@ -251,7 +269,9 @@
251
269
  "description": "Whether the side nav is collapsible. When enabled, the toggle icon is shown.",
252
270
  "value": {
253
271
  "type": [
254
- "boolean"
272
+ "boolean",
273
+ "null",
274
+ "undefined"
255
275
  ]
256
276
  }
257
277
  },
@@ -260,7 +280,7 @@
260
280
  "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```",
261
281
  "value": {
262
282
  "type": [
263
- "SideNavI18n"
283
+ "?"
264
284
  ]
265
285
  }
266
286
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/side-nav",
4
- "version": "25.1.0-beta1",
4
+ "version": "25.1.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {