@db-ux/wc-core-components 4.6.1 → 4.7.0-tabs-34782eb
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 +8 -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 +133 -67
- package/dist/cjs/db-tabs.cjs.entry.js +373 -123
- package/dist/cjs/db-textarea.cjs.entry.js +2 -2
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -4
- 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 +198 -129
- package/dist/collection/components/tab-list/tab-list.js +74 -12
- package/dist/collection/components/tab-panel/tab-panel.js +80 -2
- package/dist/collection/components/tabs/tabs.js +504 -167
- 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 +3 -4
- package/dist/collection/shared/model.js +1 -1
- package/dist/custom-elements.json +4021 -3053
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-2355324e.entry.js → p-01c278b9.entry.js} +1 -1
- package/dist/db-ux/{p-5f5eb78d.entry.js → p-071ae423.entry.js} +1 -1
- package/dist/db-ux/{p-abb0885d.entry.js → p-07c7ecc9.entry.js} +1 -1
- package/dist/db-ux/p-10869bfa.entry.js +1 -0
- package/dist/db-ux/p-1427bb15.entry.js +1 -0
- package/dist/db-ux/{p-70823b80.entry.js → p-328faf6b.entry.js} +1 -1
- package/dist/db-ux/p-397bc590.entry.js +1 -0
- package/dist/db-ux/{p-d85b1c15.entry.js → p-43a9623f.entry.js} +1 -1
- package/dist/db-ux/{p-67d59d5b.entry.js → p-44a0407b.entry.js} +1 -1
- package/dist/db-ux/{p-12a2c502.entry.js → p-61784f7a.entry.js} +1 -1
- package/dist/db-ux/p-68835a75.entry.js +1 -0
- package/dist/db-ux/p-68a995df.entry.js +1 -0
- package/dist/db-ux/{p-a65d0d23.entry.js → p-6c26b0ba.entry.js} +1 -1
- package/dist/db-ux/p-6e898a58.entry.js +1 -0
- package/dist/db-ux/{p-761c9ddf.entry.js → p-70e6d32f.entry.js} +1 -1
- package/dist/db-ux/p-71868bb5.entry.js +1 -0
- package/dist/db-ux/{p-bed8d029.entry.js → p-74a45768.entry.js} +1 -1
- package/dist/db-ux/{p-ba8464d2.entry.js → p-9a895c18.entry.js} +1 -1
- package/dist/db-ux/p-9b4d0c18.entry.js +1 -0
- package/dist/db-ux/{p-0e0c3c72.entry.js → p-9b518eb4.entry.js} +1 -1
- package/dist/db-ux/p-a927fe88.entry.js +1 -0
- package/dist/db-ux/p-a93ca690.entry.js +1 -0
- package/dist/db-ux/{p-212bde1e.entry.js → p-b06fe221.entry.js} +1 -1
- package/dist/db-ux/{p-13157b54.entry.js → p-b7087f0b.entry.js} +1 -1
- package/dist/db-ux/{p-d8b38722.entry.js → p-d93b9d58.entry.js} +1 -1
- package/dist/db-ux/p-d97c0787.entry.js +1 -0
- package/dist/db-ux/{p-c76089f6.entry.js → p-ee43015b.entry.js} +1 -1
- package/dist/db-ux/p-efde1b6e.entry.js +1 -0
- package/dist/db-ux/{p-5cb74480.entry.js → p-f08b14d9.entry.js} +1 -1
- package/dist/db-ux/p-f92cbbae.entry.js +1 -0
- package/dist/db-ux/{p-980a6afe.entry.js → p-ffe614c8.entry.js} +1 -1
- 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 +134 -68
- package/dist/esm/db-tabs.entry.js +373 -123
- package/dist/esm/db-textarea.entry.js +2 -2
- package/dist/esm/db-tooltip.entry.js +4 -5
- 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 +28 -11
- package/dist/types/components/tab-item/tab-item.d.ts +22 -20
- package/dist/types/components/tab-list/model.d.ts +15 -5
- package/dist/types/components/tab-list/tab-list.d.ts +4 -1
- package/dist/types/components/tab-panel/model.d.ts +13 -3
- package/dist/types/components/tab-panel/tab-panel.d.ts +3 -0
- package/dist/types/components/tabs/model.d.ts +51 -17
- package/dist/types/components/tabs/tabs.d.ts +35 -16
- package/dist/types/components.d.ts +80 -30
- package/dist/types/shared/model.d.ts +5 -5
- package/dist/vscode.html-custom-data.json +153 -59
- package/dist/web-types.json +297 -135
- package/package.json +3 -3
- package/dist/db-ux/p-202323c2.entry.js +0 -1
- package/dist/db-ux/p-21068628.entry.js +0 -1
- package/dist/db-ux/p-377987d0.entry.js +0 -1
- package/dist/db-ux/p-3d5d49ff.entry.js +0 -1
- package/dist/db-ux/p-452a8b6b.entry.js +0 -1
- package/dist/db-ux/p-4de2c697.entry.js +0 -1
- package/dist/db-ux/p-605013f0.entry.js +0 -1
- package/dist/db-ux/p-6f9e146e.entry.js +0 -1
- package/dist/db-ux/p-7fa91164.entry.js +0 -1
- package/dist/db-ux/p-8e84712d.entry.js +0 -1
- package/dist/db-ux/p-a9efbb0b.entry.js +0 -1
- package/dist/db-ux/p-bd66d144.entry.js +0 -1
- package/dist/db-ux/p-dd08f6e4.entry.js +0 -1
|
@@ -85,9 +85,9 @@ export class DBHeader {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b, _c;
|
|
88
|
-
return (h("header", { key: '
|
|
88
|
+
return (h("header", { key: '6b7542f09be273019e4a2db38194482a90d7860a', class: cls("db-header", this.className), ref: (el) => {
|
|
89
89
|
this._ref = el;
|
|
90
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: '
|
|
90
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: '831aaf817b0fa513ec5e5dc4c330c2fa716897af', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '271d421742eae32a41d8a7768e29f01f1b9c952f', class: "db-header-drawer-navigation" }, h("div", { key: 'ac6d9af5ff4b2e294760695a776f248d9d5bf756', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '148922ebf9d852a8c240de740cca790191f8f81e' })), h("div", { key: '482b32d7e04547960ef2478f4b10f304cc246b20', class: "db-header-meta-navigation" }, h("slot", { key: 'a6feae39c0714770d5a9fb9d25260df1fb10effc', name: "metaNavigation" }))), h("div", { key: 'de0e67d3d547e4d0ea82de788e5a253436a67949', class: "db-header-secondary-action" }, h("slot", { key: '989d9cab2d33fc445ab5c7988b3e851f3452c452', name: "secondaryAction" }))), h("div", { key: 'e518b5045d99fa7a171ff330914bf915ca87b7e6', class: "db-header-meta-navigation" }, h("slot", { key: 'aa1077eacd48bef3e16a8b31635c89b9e31addf9', name: "metaNavigation" })), h("div", { key: '028358578a614b11aee56905b791f1fdf0e44c65', class: "db-header-navigation-bar" }, h("div", { key: 'c48f6905f52fe8b387f671802d5d1f4f0598be07', class: "db-header-brand-container" }, h("slot", { key: '37aae0fdf18ee4747bd685a223b1d9b205336042', name: "brand" })), h("div", { key: 'e2155e4f546d91c75733290d0a8c73b507b628aa', class: "db-header-navigation-container" }, h("div", { key: '07e19faa67fa4920872ff1f8426b4fb89118e9de', class: "db-header-navigation" }, h("slot", { key: 'ba4358bc0b459092feb524a02240bd465be5f1be' })), h("div", { key: 'b85a9d1dab7ea4b8e1d8f0bb9156c575511ea88f', class: "db-header-primary-action" }, h("slot", { key: 'f76003fd65f01088b9dfd7e4966895a8b893b675', name: "primaryAction" }))), h("div", { key: '0b9c26a05325fad02c4f1076d67a88de05b1f739', class: "db-header-action-container" }, h("div", { key: '5cd34e7a341e041508134c5cae16448fde09251b', class: "db-header-burger-menu-container" }, h("db-button", { key: '6ac1cf00982f515ee86c978afef7788ad6a7eb81', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: 'f25c7681051a6b8763c48630f3f23f9946cd68ea', class: "db-header-secondary-action" }, h("slot", { key: '76806c54a2558ffcd3498934e183bcba7fc2ef94', name: "secondaryAction" }))))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "db-header"; }
|
|
93
93
|
static get properties() {
|
|
@@ -46,7 +46,7 @@ export class DBIcon {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("span", { key: '
|
|
49
|
+
return (h("span", { key: 'f0c3320ea041e2c56869d0540d8deaed00fd570a', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
51
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : h("slot", null)));
|
|
52
52
|
}
|
|
@@ -46,7 +46,7 @@ export class DBInfotext {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c;
|
|
49
|
-
return (h("span", { key: '
|
|
49
|
+
return (h("span", { key: '1a8d9f9db5b32a884f90a41cb124d54f32a7f4c0', class: cls("db-infotext", this.className), ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
51
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : h("slot", null)));
|
|
52
52
|
}
|
|
@@ -211,7 +211,7 @@ export class DBInput {
|
|
|
211
211
|
}
|
|
212
212
|
render() {
|
|
213
213
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
214
|
-
return (h("div", { key: '
|
|
214
|
+
return (h("div", { key: '73b3cb05e018833a4d0904da71c2a65fc5614415', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: '6032dd2d9e002ab97b5d507816735491fcc9d987', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: 'da74f699db5ef2aa13c470d616f9c6566c7cee63', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
215
215
|
this._ref = el;
|
|
216
216
|
}, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step: getStep(this.step), value: (_f = (_e = this.value) !== null && _e !== void 0 ? _e : this._value) !== null && _f !== void 0 ? _f : "", maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), max: getInputValue(this.max, this.type), min: getInputValue(this.min, this.type), readOnly: getBoolean(this.readOnly, "readOnly") ||
|
|
217
217
|
getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_g = this.ariaDescribedBy) !== null && _g !== void 0 ? _g : this._descByIds, role: [
|
|
@@ -223,7 +223,7 @@ export class DBInput {
|
|
|
223
223
|
"color",
|
|
224
224
|
].includes((_h = this.type) !== null && _h !== void 0 ? _h : "") && isIOSSafari()
|
|
225
225
|
? "textbox"
|
|
226
|
-
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '
|
|
226
|
+
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '1f106ac73098292312f9ec4f581c5dd8429e282b' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '9c7fab3b45bccccbeafa8d56b5772c4cc69cb9f8', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '8a65d32462252587f672d2c54f7a275a7913b3e1', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
227
227
|
}
|
|
228
228
|
static get is() { return "db-input"; }
|
|
229
229
|
static get properties() {
|
|
@@ -46,7 +46,7 @@ export class DBLink {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d;
|
|
49
|
-
return (h("a", { key: '
|
|
49
|
+
return (h("a", { key: 'e5663911fcd4d3c7089f915aa842a28f09a4cafa', class: cls("db-link", this.className), ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
51
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : h("slot", null)));
|
|
52
52
|
}
|
|
@@ -46,9 +46,9 @@ export class DBNavigation {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("nav", { key: '
|
|
49
|
+
return (h("nav", { key: 'ca94fff30f495b5c5e4ff9ac7c7149fb371171d5', class: cls("db-navigation", this.className), 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 }, h("menu", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '73f90a492f154a67253f02ca5b6b6d0ef0845df0' }, h("slot", { key: 'd70091bcc15c09d90086f2e04a0ad990b161f5ae' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-navigation"; }
|
|
54
54
|
static get properties() {
|
|
@@ -115,7 +115,7 @@ export class DBNavigationItem {
|
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
117
|
var _a, _b, _c;
|
|
118
|
-
return (h("li", { key: '
|
|
118
|
+
return (h("li", { key: '71431f09ac02e0d1093f40403597016a7d1aca53', class: cls("db-navigation-item", this.className), ref: (el) => {
|
|
119
119
|
this._ref = el;
|
|
120
120
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : h("slot", null) : null, this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
|
|
121
121
|
}
|
|
@@ -56,13 +56,13 @@ export class DBNotification {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b, _c;
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'c352f22f011516ad6375434f95b689e05d08f354', class: cls("db-notification", this.className), ref: (el) => {
|
|
60
60
|
this._ref = el;
|
|
61
61
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
|
|
62
62
|
semantic: this.semantic,
|
|
63
63
|
role: this.role,
|
|
64
64
|
ariaLive: this.ariaLive,
|
|
65
|
-
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '
|
|
65
|
+
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '997c558994530fdd2adb1f2f159ae3990c0f8950', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("div", { key: 'e2363b4e7d1e7ceb47ac3b992924d3a28099e11a', "data-area": "content" }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '848011c47a131dd734ce241f0fecd0b4e12c85fd', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "db-notification"; }
|
|
68
68
|
static get properties() {
|
|
@@ -66,9 +66,9 @@ export class DBPage {
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
var _a, _b;
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: '3f5bc66c9df8cf413d9c2680e7684b0744e3a2c2', class: cls("db-page", this.className), ref: (el) => {
|
|
70
70
|
this._ref = el;
|
|
71
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '
|
|
71
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: 'e5295cb7977501b139dff99336deff500aae7574', name: "header" }), h("main", { key: 'f97e398d7355f1968fe70274df213e50c86e7ec2', class: cls("db-main", this.mainClass) }, h("slot", { key: '983a96b186d56daeccb13e16b4b0d985e1436178' })), h("slot", { key: 'd081d3a29bb55a627ced239b9d88681698f6425d', name: "footer" })));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "db-page"; }
|
|
74
74
|
static get properties() {
|
|
@@ -170,9 +170,9 @@ export class DBPopover {
|
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
172
|
var _a, _b, _c;
|
|
173
|
-
return (h("div", { key: '
|
|
173
|
+
return (h("div", { key: '421d455f7991553a839b74e0911286ae9c02cff4', class: cls("db-popover", this.className), ref: (el) => {
|
|
174
174
|
this._ref = el;
|
|
175
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '
|
|
175
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'f84d068f415c002eda648d07dbbf0d150922693f', name: "trigger" }), h("article", { key: 'd63682e3b821dd2d566ccfec3703b740146d7a7a', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '74a46121e0a9c5ae62e0d2e35299ff8de0939242' }))));
|
|
176
176
|
}
|
|
177
177
|
static get is() { return "db-popover"; }
|
|
178
178
|
static get properties() {
|
|
@@ -126,7 +126,7 @@ export class DBRadio {
|
|
|
126
126
|
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h("label", { key: '
|
|
129
|
+
return (h("label", { key: '2e30a82188ac83cc3c7bd7a396b1c5b46cc0a79a', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '74aad9996cffe5ed928bdacb63f82e860a603cb7', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
130
130
|
this._ref = el;
|
|
131
131
|
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : h("slot", null)));
|
|
132
132
|
}
|
|
@@ -46,9 +46,9 @@ export class DBSection {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("section", { key: '
|
|
49
|
+
return (h("section", { key: 'fcfbe66bb695b60a923d394858d92627bf1f86d5', class: cls("db-section", this.className), 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, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '626b974f5e58ee2c14a29e6ceff7d312aaef4f1f' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-section"; }
|
|
54
54
|
static get properties() {
|
|
@@ -233,14 +233,14 @@ export class DBSelect {
|
|
|
233
233
|
}
|
|
234
234
|
render() {
|
|
235
235
|
var _a, _b, _c, _d, _e, _f;
|
|
236
|
-
return (h("div", { key: '
|
|
236
|
+
return (h("div", { key: 'ceb8838f81622fd92216cfdb965b6221b12ea7a7', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '8889e667cff25a524532e9e32f61418c14fa0163', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '4ca3dbeeaba0c3bc95b2a8a3945a13060d816d87', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
237
237
|
this._ref = el;
|
|
238
238
|
}, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
|
|
239
239
|
/* @ts-ignore */
|
|
240
240
|
value: (_c = (_b = this.value) !== null && _b !== void 0 ? _b : this._value) !== null && _c !== void 0 ? _c : undefined, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_e = this.options) === null || _e === void 0 ? void 0 : _e.length) ? ((_f = this.options) === null || _f === void 0 ? void 0 : _f.map((option) => {
|
|
241
241
|
var _a;
|
|
242
242
|
return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
|
|
243
|
-
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
243
|
+
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '0ea5b9c2d0ecfe76e15b7ecf1f39721ab80d5e31', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '1f817d1e72c71d581857ffd06101cd42839c25dc', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
244
244
|
}
|
|
245
245
|
static get is() { return "db-select"; }
|
|
246
246
|
static get properties() {
|
|
@@ -46,9 +46,9 @@ export class DBStack {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '7b1914f7484d0116dbdcca6c2b8fd62ee5f5361d', class: cls("db-stack", this.className), 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, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '8b24b8791579cab2d6e5597f983ee488e860172d' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-stack"; }
|
|
54
54
|
static get properties() {
|
|
@@ -185,9 +185,9 @@ export class DBSwitch {
|
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
187
|
var _a, _b;
|
|
188
|
-
return (h("div", { key: '
|
|
188
|
+
return (h("div", { key: 'ef12ecb991d547a453f5a35d6a9502e2b811ea2b', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: 'a037c403a8204c7093c5a29517235dbee5684c67', htmlFor: this._id }, h("input", { key: '513e08da8efc09d2b8c4b8bc12d6b46019988e63', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
|
|
189
189
|
this._ref = el;
|
|
190
|
-
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
190
|
+
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '88bbba78f87645a478e74ddf003303406e333c8f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'd3564c75c3c4a8aefd24b91665345425af9c9071', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
191
191
|
}
|
|
192
192
|
static get is() { return "db-switch"; }
|
|
193
193
|
static get properties() {
|