@vaadin/tabsheet 25.1.0-alpha1 → 25.1.0-alpha3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/tabsheet",
3
- "version": "25.1.0-alpha1",
3
+ "version": "25.1.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,22 +34,23 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/component-base": "25.1.0-alpha1",
38
- "@vaadin/scroller": "25.1.0-alpha1",
39
- "@vaadin/tabs": "25.1.0-alpha1",
40
- "@vaadin/vaadin-themable-mixin": "25.1.0-alpha1",
37
+ "@vaadin/component-base": "25.1.0-alpha3",
38
+ "@vaadin/scroller": "25.1.0-alpha3",
39
+ "@vaadin/tabs": "25.1.0-alpha3",
40
+ "@vaadin/vaadin-themable-mixin": "25.1.0-alpha3",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/chai-plugins": "25.1.0-alpha1",
45
- "@vaadin/test-runner-commands": "25.1.0-alpha1",
44
+ "@vaadin/aura": "25.1.0-alpha3",
45
+ "@vaadin/chai-plugins": "25.1.0-alpha3",
46
+ "@vaadin/test-runner-commands": "25.1.0-alpha3",
46
47
  "@vaadin/testing-helpers": "^2.0.0",
47
- "@vaadin/vaadin-lumo-styles": "25.1.0-alpha1",
48
+ "@vaadin/vaadin-lumo-styles": "25.1.0-alpha3",
48
49
  "sinon": "^21.0.0"
49
50
  },
50
51
  "web-types": [
51
52
  "web-types.json",
52
53
  "web-types.lit.json"
53
54
  ],
54
- "gitHead": "c789cdd350bcd74b280268a83f5475ad7f2f65e1"
55
+ "gitHead": "b3bb340cfd5e837cda8498aee1608950362e5177"
55
56
  }
@@ -104,6 +104,7 @@ export const TabSheetMixin = (superClass) =>
104
104
  */
105
105
  __tabs: {
106
106
  type: Object,
107
+ value: () => [],
107
108
  },
108
109
 
109
110
  /**
@@ -111,6 +112,7 @@ export const TabSheetMixin = (superClass) =>
111
112
  */
112
113
  __panels: {
113
114
  type: Array,
115
+ value: () => [],
114
116
  },
115
117
  };
116
118
  }
@@ -189,7 +191,7 @@ export const TabSheetMixin = (superClass) =>
189
191
  * @private
190
192
  */
191
193
  __itemsOrPanelsChanged(items, panels) {
192
- if (!items || !panels) {
194
+ if (!items) {
193
195
  return;
194
196
  }
195
197
  items.forEach((tabItem) => {
@@ -202,7 +204,7 @@ export const TabSheetMixin = (superClass) =>
202
204
  * @private
203
205
  */
204
206
  __selectedTabItemChanged(selected, items, panels) {
205
- if (!items || !panels || selected === undefined) {
207
+ if (!items || selected === undefined) {
206
208
  return;
207
209
  }
208
210
  this.__togglePanels(items[selected], panels);
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabsheet",
4
- "version": "25.1.0-alpha1",
4
+ "version": "25.1.0-alpha3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabsheet",
4
- "version": "25.1.0-alpha1",
4
+ "version": "25.1.0-alpha3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {