@db-ux/wc-core-components 4.7.0-tabs-34782eb → 4.7.1
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/CHANGELOG.md +5 -0
- package/agent/Tabs.md +30 -30
- package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-badge.cjs.entry.js +1 -1
- package/dist/cjs/db-brand.cjs.entry.js +1 -1
- package/dist/cjs/db-button.cjs.entry.js +1 -1
- package/dist/cjs/db-card.cjs.entry.js +2 -2
- package/dist/cjs/db-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-button.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +9 -9
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select.cjs.entry.js +5 -5
- package/dist/cjs/db-divider.cjs.entry.js +1 -1
- package/dist/cjs/db-drawer.cjs.entry.js +3 -3
- package/dist/cjs/db-header.cjs.entry.js +2 -2
- package/dist/cjs/db-icon.cjs.entry.js +1 -1
- package/dist/cjs/db-infotext.cjs.entry.js +1 -1
- package/dist/cjs/db-link.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation.cjs.entry.js +2 -2
- package/dist/cjs/db-notification.cjs.entry.js +2 -2
- package/dist/cjs/db-page.cjs.entry.js +2 -2
- package/dist/cjs/db-popover.cjs.entry.js +2 -2
- package/dist/cjs/db-radio.cjs.entry.js +1 -1
- package/dist/cjs/db-section.cjs.entry.js +2 -2
- package/dist/cjs/db-select.cjs.entry.js +2 -2
- package/dist/cjs/db-stack.cjs.entry.js +2 -2
- package/dist/cjs/db-switch.cjs.entry.js +2 -2
- package/dist/cjs/db-tab-item_3.cjs.entry.js +67 -133
- package/dist/cjs/db-tabs.cjs.entry.js +123 -373
- package/dist/cjs/db-textarea.cjs.entry.js +2 -2
- package/dist/cjs/db-tooltip.cjs.entry.js +4 -3
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +2 -2
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/brand/brand.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/custom-button/custom-button.js +2 -2
- package/dist/collection/components/custom-select/custom-select.js +5 -5
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -3
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/infotext/infotext.js +1 -1
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -2
- package/dist/collection/components/navigation-item/navigation-item.js +1 -1
- package/dist/collection/components/notification/notification.js +2 -2
- package/dist/collection/components/page/page.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/section/section.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab-item/tab-item.js +129 -198
- package/dist/collection/components/tab-list/tab-list.js +12 -74
- package/dist/collection/components/tab-panel/tab-panel.js +2 -80
- package/dist/collection/components/tabs/tabs.js +167 -504
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +4 -3
- package/dist/collection/shared/model.js +1 -1
- package/dist/custom-elements.json +2998 -3898
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-9b518eb4.entry.js → p-0e0c3c72.entry.js} +1 -1
- package/dist/db-ux/{p-61784f7a.entry.js → p-12a2c502.entry.js} +1 -1
- package/dist/db-ux/{p-b7087f0b.entry.js → p-13157b54.entry.js} +1 -1
- package/dist/db-ux/p-202323c2.entry.js +1 -0
- package/dist/db-ux/p-21068628.entry.js +1 -0
- package/dist/db-ux/{p-b06fe221.entry.js → p-212bde1e.entry.js} +1 -1
- package/dist/db-ux/{p-01c278b9.entry.js → p-2355324e.entry.js} +1 -1
- package/dist/db-ux/p-377987d0.entry.js +1 -0
- package/dist/db-ux/p-3d5d49ff.entry.js +1 -0
- package/dist/db-ux/p-452a8b6b.entry.js +1 -0
- package/dist/db-ux/p-4de2c697.entry.js +1 -0
- package/dist/db-ux/{p-f08b14d9.entry.js → p-5cb74480.entry.js} +1 -1
- package/dist/db-ux/{p-071ae423.entry.js → p-5f5eb78d.entry.js} +1 -1
- package/dist/db-ux/p-605013f0.entry.js +1 -0
- package/dist/db-ux/p-6f9e146e.entry.js +1 -0
- package/dist/db-ux/{p-328faf6b.entry.js → p-70823b80.entry.js} +1 -1
- package/dist/db-ux/{p-70e6d32f.entry.js → p-761c9ddf.entry.js} +1 -1
- package/dist/db-ux/p-7fa91164.entry.js +1 -0
- package/dist/db-ux/p-8e84712d.entry.js +1 -0
- package/dist/db-ux/{p-ffe614c8.entry.js → p-980a6afe.entry.js} +1 -1
- package/dist/db-ux/{p-6c26b0ba.entry.js → p-a65d0d23.entry.js} +1 -1
- package/dist/db-ux/p-a9efbb0b.entry.js +1 -0
- package/dist/db-ux/{p-07c7ecc9.entry.js → p-abb0885d.entry.js} +1 -1
- package/dist/db-ux/{p-9a895c18.entry.js → p-ba8464d2.entry.js} +1 -1
- package/dist/db-ux/p-bd66d144.entry.js +1 -0
- package/dist/db-ux/{p-74a45768.entry.js → p-bed8d029.entry.js} +1 -1
- package/dist/db-ux/{p-ee43015b.entry.js → p-c76089f6.entry.js} +1 -1
- package/dist/db-ux/{p-44a0407b.entry.js → p-c7bf8d05.entry.js} +1 -1
- package/dist/db-ux/{p-43a9623f.entry.js → p-d85b1c15.entry.js} +1 -1
- package/dist/db-ux/{p-d93b9d58.entry.js → p-d8b38722.entry.js} +1 -1
- package/dist/db-ux/p-dd08f6e4.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +2 -2
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-badge.entry.js +1 -1
- package/dist/esm/db-brand.entry.js +1 -1
- package/dist/esm/db-button.entry.js +1 -1
- package/dist/esm/db-card.entry.js +2 -2
- package/dist/esm/db-checkbox.entry.js +2 -2
- package/dist/esm/db-custom-button.entry.js +2 -2
- package/dist/esm/db-custom-select-dropdown_5.entry.js +9 -9
- package/dist/esm/db-custom-select-form-field.entry.js +2 -2
- package/dist/esm/db-custom-select.entry.js +5 -5
- package/dist/esm/db-divider.entry.js +1 -1
- package/dist/esm/db-drawer.entry.js +3 -3
- package/dist/esm/db-header.entry.js +2 -2
- package/dist/esm/db-icon.entry.js +1 -1
- package/dist/esm/db-infotext.entry.js +1 -1
- package/dist/esm/db-link.entry.js +1 -1
- package/dist/esm/db-navigation-item.entry.js +1 -1
- package/dist/esm/db-navigation.entry.js +2 -2
- package/dist/esm/db-notification.entry.js +2 -2
- package/dist/esm/db-page.entry.js +2 -2
- package/dist/esm/db-popover.entry.js +2 -2
- package/dist/esm/db-radio.entry.js +1 -1
- package/dist/esm/db-section.entry.js +2 -2
- package/dist/esm/db-select.entry.js +2 -2
- package/dist/esm/db-stack.entry.js +2 -2
- package/dist/esm/db-switch.entry.js +2 -2
- package/dist/esm/db-tab-item_3.entry.js +68 -134
- package/dist/esm/db-tabs.entry.js +123 -373
- package/dist/esm/db-textarea.entry.js +2 -2
- package/dist/esm/db-tooltip.entry.js +5 -4
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/tab-item/model.d.ts +11 -28
- package/dist/types/components/tab-item/tab-item.d.ts +20 -22
- package/dist/types/components/tab-list/model.d.ts +5 -15
- package/dist/types/components/tab-list/tab-list.d.ts +1 -4
- package/dist/types/components/tab-panel/model.d.ts +3 -13
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -3
- package/dist/types/components/tabs/model.d.ts +17 -51
- package/dist/types/components/tabs/tabs.d.ts +16 -35
- package/dist/types/components.d.ts +30 -80
- package/dist/types/shared/model.d.ts +5 -5
- package/dist/vscode.html-custom-data.json +59 -147
- package/dist/web-types.json +135 -289
- package/package.json +3 -3
- package/dist/db-ux/p-10869bfa.entry.js +0 -1
- package/dist/db-ux/p-1427bb15.entry.js +0 -1
- package/dist/db-ux/p-397bc590.entry.js +0 -1
- package/dist/db-ux/p-68835a75.entry.js +0 -1
- package/dist/db-ux/p-68a995df.entry.js +0 -1
- package/dist/db-ux/p-6e898a58.entry.js +0 -1
- package/dist/db-ux/p-71868bb5.entry.js +0 -1
- package/dist/db-ux/p-9b4d0c18.entry.js +0 -1
- package/dist/db-ux/p-a927fe88.entry.js +0 -1
- package/dist/db-ux/p-a93ca690.entry.js +0 -1
- package/dist/db-ux/p-d97c0787.entry.js +0 -1
- package/dist/db-ux/p-efde1b6e.entry.js +0 -1
- package/dist/db-ux/p-f92cbbae.entry.js +0 -1
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { cls
|
|
1
|
+
import { cls } from "../../utils";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
5
5
|
|
|
6
6
|
*/
|
|
7
7
|
export class DBTabList {
|
|
8
|
-
constructor() {
|
|
9
|
-
this._id = "tab-list-base-id";
|
|
10
|
-
}
|
|
11
8
|
/**
|
|
12
9
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
13
10
|
* @param element the ref for the component
|
|
@@ -46,12 +43,12 @@ export class DBTabList {
|
|
|
46
43
|
}
|
|
47
44
|
componentDidLoad() {
|
|
48
45
|
this.enableAttributePassing(this._ref, "db-tab-list");
|
|
49
|
-
this._id = this.id || "tab-list-" + uuid();
|
|
50
46
|
}
|
|
51
47
|
render() {
|
|
52
|
-
|
|
48
|
+
var _a, _b;
|
|
49
|
+
return (h("div", { key: '8f02145864a04b79d94d5d5923b6eff32346a0c3', class: cls("db-tab-list", this.className), ref: (el) => {
|
|
53
50
|
this._ref = el;
|
|
54
|
-
}, id: this.
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '759fdba6e69209ca915148c8b190f9311cb6f1ff', role: "tablist" }, h("slot", { key: '96bf4a10d3b422d6eb6be68c46f926b9f55eb0e6' }))));
|
|
55
52
|
}
|
|
56
53
|
static get is() { return "db-tab-list"; }
|
|
57
54
|
static get properties() {
|
|
@@ -82,38 +79,12 @@ export class DBTabList {
|
|
|
82
79
|
"reflect": false,
|
|
83
80
|
"attribute": "id"
|
|
84
81
|
},
|
|
85
|
-
"
|
|
86
|
-
"type": "
|
|
87
|
-
"mutable": false,
|
|
88
|
-
"complexType": {
|
|
89
|
-
"original": "DBTabListProps[\"className\"]",
|
|
90
|
-
"resolved": "string",
|
|
91
|
-
"references": {
|
|
92
|
-
"DBTabListProps": {
|
|
93
|
-
"location": "import",
|
|
94
|
-
"path": "./model",
|
|
95
|
-
"id": "src/components/tab-list/model.ts::DBTabListProps",
|
|
96
|
-
"referenceLocation": "DBTabListProps"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"required": false,
|
|
101
|
-
"optional": false,
|
|
102
|
-
"docs": {
|
|
103
|
-
"tags": [],
|
|
104
|
-
"text": ""
|
|
105
|
-
},
|
|
106
|
-
"getter": false,
|
|
107
|
-
"setter": false,
|
|
108
|
-
"reflect": false,
|
|
109
|
-
"attribute": "classname"
|
|
110
|
-
},
|
|
111
|
-
"orientation": {
|
|
112
|
-
"type": "string",
|
|
82
|
+
"propOverrides": {
|
|
83
|
+
"type": "unknown",
|
|
113
84
|
"mutable": false,
|
|
114
85
|
"complexType": {
|
|
115
|
-
"original": "DBTabListProps[\"
|
|
116
|
-
"resolved": "
|
|
86
|
+
"original": "DBTabListProps[\"propOverrides\"]",
|
|
87
|
+
"resolved": "{ id?: string; }",
|
|
117
88
|
"references": {
|
|
118
89
|
"DBTabListProps": {
|
|
119
90
|
"location": "import",
|
|
@@ -130,41 +101,13 @@ export class DBTabList {
|
|
|
130
101
|
"text": ""
|
|
131
102
|
},
|
|
132
103
|
"getter": false,
|
|
133
|
-
"setter": false
|
|
134
|
-
"reflect": false,
|
|
135
|
-
"attribute": "orientation"
|
|
104
|
+
"setter": false
|
|
136
105
|
},
|
|
137
|
-
"
|
|
138
|
-
"type": "string",
|
|
139
|
-
"mutable": false,
|
|
140
|
-
"complexType": {
|
|
141
|
-
"original": "DBTabListProps[\"ariaLabelledby\"]",
|
|
142
|
-
"resolved": "string",
|
|
143
|
-
"references": {
|
|
144
|
-
"DBTabListProps": {
|
|
145
|
-
"location": "import",
|
|
146
|
-
"path": "./model",
|
|
147
|
-
"id": "src/components/tab-list/model.ts::DBTabListProps",
|
|
148
|
-
"referenceLocation": "DBTabListProps"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"required": false,
|
|
153
|
-
"optional": false,
|
|
154
|
-
"docs": {
|
|
155
|
-
"tags": [],
|
|
156
|
-
"text": ""
|
|
157
|
-
},
|
|
158
|
-
"getter": false,
|
|
159
|
-
"setter": false,
|
|
160
|
-
"reflect": false,
|
|
161
|
-
"attribute": "aria-labelledby"
|
|
162
|
-
},
|
|
163
|
-
"ariaLabel": {
|
|
106
|
+
"className": {
|
|
164
107
|
"type": "string",
|
|
165
108
|
"mutable": false,
|
|
166
109
|
"complexType": {
|
|
167
|
-
"original": "DBTabListProps[\"
|
|
110
|
+
"original": "DBTabListProps[\"className\"]",
|
|
168
111
|
"resolved": "string",
|
|
169
112
|
"references": {
|
|
170
113
|
"DBTabListProps": {
|
|
@@ -184,13 +127,8 @@ export class DBTabList {
|
|
|
184
127
|
"getter": false,
|
|
185
128
|
"setter": false,
|
|
186
129
|
"reflect": false,
|
|
187
|
-
"attribute": "
|
|
130
|
+
"attribute": "classname"
|
|
188
131
|
}
|
|
189
132
|
};
|
|
190
133
|
}
|
|
191
|
-
static get states() {
|
|
192
|
-
return {
|
|
193
|
-
"_id": {}
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
134
|
}
|
|
@@ -46,9 +46,9 @@ export class DBTabPanel {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("
|
|
49
|
+
return (h("section", { key: 'c10873d5857be6ea8653189ab735784939c53474', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '57a98a1b7e26ca61b16397b7615f71d883bfbd28' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-tab-panel"; }
|
|
54
54
|
static get properties() {
|
|
@@ -129,84 +129,6 @@ export class DBTabPanel {
|
|
|
129
129
|
"getter": false,
|
|
130
130
|
"setter": false
|
|
131
131
|
},
|
|
132
|
-
"hidden": {
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"mutable": false,
|
|
135
|
-
"complexType": {
|
|
136
|
-
"original": "DBTabPanelProps[\"hidden\"]",
|
|
137
|
-
"resolved": "boolean",
|
|
138
|
-
"references": {
|
|
139
|
-
"DBTabPanelProps": {
|
|
140
|
-
"location": "import",
|
|
141
|
-
"path": "./model",
|
|
142
|
-
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
143
|
-
"referenceLocation": "DBTabPanelProps"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"required": false,
|
|
148
|
-
"optional": false,
|
|
149
|
-
"docs": {
|
|
150
|
-
"tags": [],
|
|
151
|
-
"text": ""
|
|
152
|
-
},
|
|
153
|
-
"getter": false,
|
|
154
|
-
"setter": false,
|
|
155
|
-
"reflect": false,
|
|
156
|
-
"attribute": "hidden"
|
|
157
|
-
},
|
|
158
|
-
"ariaLabel": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"mutable": false,
|
|
161
|
-
"complexType": {
|
|
162
|
-
"original": "DBTabPanelProps[\"ariaLabel\"]",
|
|
163
|
-
"resolved": "string",
|
|
164
|
-
"references": {
|
|
165
|
-
"DBTabPanelProps": {
|
|
166
|
-
"location": "import",
|
|
167
|
-
"path": "./model",
|
|
168
|
-
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
169
|
-
"referenceLocation": "DBTabPanelProps"
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"required": false,
|
|
174
|
-
"optional": false,
|
|
175
|
-
"docs": {
|
|
176
|
-
"tags": [],
|
|
177
|
-
"text": ""
|
|
178
|
-
},
|
|
179
|
-
"getter": false,
|
|
180
|
-
"setter": false,
|
|
181
|
-
"reflect": false,
|
|
182
|
-
"attribute": "aria-label"
|
|
183
|
-
},
|
|
184
|
-
"ariaLabelledby": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"mutable": false,
|
|
187
|
-
"complexType": {
|
|
188
|
-
"original": "DBTabPanelProps[\"ariaLabelledby\"]",
|
|
189
|
-
"resolved": "string",
|
|
190
|
-
"references": {
|
|
191
|
-
"DBTabPanelProps": {
|
|
192
|
-
"location": "import",
|
|
193
|
-
"path": "./model",
|
|
194
|
-
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
195
|
-
"referenceLocation": "DBTabPanelProps"
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"required": false,
|
|
200
|
-
"optional": false,
|
|
201
|
-
"docs": {
|
|
202
|
-
"tags": [],
|
|
203
|
-
"text": ""
|
|
204
|
-
},
|
|
205
|
-
"getter": false,
|
|
206
|
-
"setter": false,
|
|
207
|
-
"reflect": false,
|
|
208
|
-
"attribute": "aria-labelledby"
|
|
209
|
-
},
|
|
210
132
|
"content": {
|
|
211
133
|
"type": "string",
|
|
212
134
|
"mutable": false,
|