@vaadin/tabsheet 25.0.1 → 25.0.3
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 +10 -9
- package/src/styles/vaadin-tabsheet-base-styles.d.ts +1 -1
- package/src/styles/vaadin-tabsheet-base-styles.js +1 -1
- package/src/vaadin-tabsheet-mixin.d.ts +1 -1
- package/src/vaadin-tabsheet-mixin.js +5 -3
- package/src/vaadin-tabsheet-scroller.js +1 -1
- package/src/vaadin-tabsheet.d.ts +1 -1
- package/src/vaadin-tabsheet.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/tabsheet",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.3",
|
|
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.0.
|
|
38
|
-
"@vaadin/scroller": "~25.0.
|
|
39
|
-
"@vaadin/tabs": "~25.0.
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "~25.0.
|
|
37
|
+
"@vaadin/component-base": "~25.0.3",
|
|
38
|
+
"@vaadin/scroller": "~25.0.3",
|
|
39
|
+
"@vaadin/tabs": "~25.0.3",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "~25.0.3",
|
|
41
41
|
"lit": "^3.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@vaadin/
|
|
45
|
-
"@vaadin/
|
|
44
|
+
"@vaadin/aura": "~25.0.3",
|
|
45
|
+
"@vaadin/chai-plugins": "~25.0.3",
|
|
46
|
+
"@vaadin/test-runner-commands": "~25.0.3",
|
|
46
47
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "~25.0.
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "~25.0.3",
|
|
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": "
|
|
55
|
+
"gitHead": "a4b57a083b721045770f1f3700edd699872cd7fb"
|
|
55
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2022 -
|
|
3
|
+
* Copyright (c) 2022 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import '@vaadin/component-base/src/styles/style-props.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2019 -
|
|
3
|
+
* Copyright (c) 2019 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2022 -
|
|
3
|
+
* Copyright (c) 2022 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { DelegateStateMixin } from '@vaadin/component-base/src/delegate-state-mixin.js';
|
|
@@ -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
|
|
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 ||
|
|
207
|
+
if (!items || selected === undefined) {
|
|
206
208
|
return;
|
|
207
209
|
}
|
|
208
210
|
this.__togglePanels(items[selected], panels);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2022 -
|
|
3
|
+
* Copyright (c) 2022 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
package/src/vaadin-tabsheet.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2022 -
|
|
3
|
+
* Copyright (c) 2022 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
package/src/vaadin-tabsheet.js
CHANGED
package/web-types.json
CHANGED