@db-ux/wc-core-components 4.5.1 → 4.5.2-agent-cli-pnpm-compatibility-ebd2994
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/agent/Accordion.md +23 -0
- package/agent/AccordionItem.md +29 -0
- package/agent/Badge.md +32 -0
- package/agent/Brand.md +13 -0
- package/agent/Button.md +47 -0
- package/agent/Card.md +23 -0
- package/agent/Checkbox.md +41 -0
- package/agent/CustomSelect.md +54 -0
- package/agent/Divider.md +21 -0
- package/agent/Drawer.md +71 -0
- package/agent/Header.md +29 -0
- package/agent/Icon.md +20 -0
- package/agent/Infotext.md +25 -0
- package/agent/Input.md +48 -0
- package/agent/Link.md +52 -0
- package/agent/Navigation.md +19 -0
- package/agent/NavigationItem.md +29 -0
- package/agent/Notification.md +38 -0
- package/agent/Page.md +27 -0
- package/agent/Popover.md +52 -0
- package/agent/Radio.md +28 -0
- package/agent/Section.md +21 -0
- package/agent/Select.md +62 -0
- package/agent/Stack.md +35 -0
- package/agent/Switch.md +44 -0
- package/agent/TabItem.md +25 -0
- package/agent/Tabs.md +61 -0
- package/agent/Tag.md +41 -0
- package/agent/Textarea.md +44 -0
- package/agent/Tooltip.md +37 -0
- package/agent/_instructions.md +31 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/db-accordion.cjs.entry.js +2 -2
- package/dist/cjs/db-badge.cjs.entry.js +2 -2
- package/dist/cjs/db-brand.cjs.entry.js +2 -2
- package/dist/cjs/db-button.cjs.entry.js +2 -2
- package/dist/cjs/db-card.cjs.entry.js +3 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -6
- package/dist/cjs/db-divider.cjs.entry.js +2 -2
- package/dist/cjs/db-drawer.cjs.entry.js +4 -4
- package/dist/cjs/db-header.cjs.entry.js +3 -3
- package/dist/cjs/db-icon.cjs.entry.js +2 -2
- package/dist/cjs/db-infotext.cjs.entry.js +2 -2
- package/dist/cjs/db-link.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation.cjs.entry.js +3 -3
- package/dist/cjs/db-notification.cjs.entry.js +3 -3
- package/dist/cjs/db-page.cjs.entry.js +3 -3
- package/dist/cjs/db-popover.cjs.entry.js +3 -3
- package/dist/cjs/db-radio.cjs.entry.js +2 -2
- package/dist/cjs/db-section.cjs.entry.js +3 -3
- package/dist/cjs/db-select.cjs.entry.js +3 -3
- package/dist/cjs/db-stack.cjs.entry.js +3 -3
- package/dist/cjs/db-switch.cjs.entry.js +3 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/db-tabs.cjs.entry.js +3 -3
- package/dist/cjs/db-textarea.cjs.entry.js +3 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-D_vrmAD6.js → index-CSMPhlzz.js} +13 -22
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- 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 +2 -2
- package/dist/collection/components/tab-list/tab-list.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +2 -2
- package/dist/collection/components/tabs/tabs.js +2 -2
- 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 +2 -2
- package/dist/custom-elements.json +814 -814
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-00df7d53.entry.js +1 -0
- package/dist/db-ux/{p-11251b99.entry.js → p-0ff173fb.entry.js} +1 -1
- package/dist/db-ux/{p-32c4a1b5.entry.js → p-1519dbbb.entry.js} +1 -1
- package/dist/db-ux/p-16281dcb.entry.js +1 -0
- package/dist/db-ux/p-2503bd4d.entry.js +1 -0
- package/dist/db-ux/p-27eb6e88.entry.js +1 -0
- package/dist/db-ux/p-2e940d2e.entry.js +1 -0
- package/dist/db-ux/p-309259be.entry.js +1 -0
- package/dist/db-ux/{p-a34d2691.entry.js → p-330e89df.entry.js} +1 -1
- package/dist/db-ux/{p-29442fd9.entry.js → p-4183b8e1.entry.js} +1 -1
- package/dist/db-ux/p-4284c37f.entry.js +1 -0
- package/dist/db-ux/p-432ceb90.entry.js +1 -0
- package/dist/db-ux/{p-ff3866f3.entry.js → p-503d5103.entry.js} +1 -1
- package/dist/db-ux/p-6cb4232d.entry.js +1 -0
- package/dist/db-ux/p-6da70f61.entry.js +1 -0
- package/dist/db-ux/{p-9fb146d1.entry.js → p-766057ea.entry.js} +1 -1
- package/dist/db-ux/{p-745ccfb8.entry.js → p-7a146dee.entry.js} +1 -1
- package/dist/db-ux/{p-e199b6f9.entry.js → p-7e274359.entry.js} +1 -1
- package/dist/db-ux/p-Bs7RfNRP.js +2 -0
- package/dist/db-ux/p-aad9c604.entry.js +1 -0
- package/dist/db-ux/p-b218b08b.entry.js +1 -0
- package/dist/db-ux/{p-043c407c.entry.js → p-beb541cc.entry.js} +1 -1
- package/dist/db-ux/{p-c6f43506.entry.js → p-bfe27311.entry.js} +1 -1
- package/dist/db-ux/{p-5028b12e.entry.js → p-cd8557dd.entry.js} +1 -1
- package/dist/db-ux/{p-1c89f0fc.entry.js → p-d2674cff.entry.js} +1 -1
- package/dist/db-ux/{p-cdfaf027.entry.js → p-d4e79c33.entry.js} +1 -1
- package/dist/db-ux/{p-3e5be44c.entry.js → p-e19f2640.entry.js} +1 -1
- package/dist/db-ux/{p-e3664354.entry.js → p-e3def528.entry.js} +1 -1
- package/dist/db-ux/p-e6b17374.entry.js +1 -0
- package/dist/db-ux/{p-587263ad.entry.js → p-ea7219af.entry.js} +1 -1
- package/dist/db-ux/{p-58f21c03.entry.js → p-fe54feb3.entry.js} +1 -1
- package/dist/db-ux/p-ffb2c6be.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +3 -3
- package/dist/esm/db-accordion.entry.js +2 -2
- package/dist/esm/db-badge.entry.js +2 -2
- package/dist/esm/db-brand.entry.js +2 -2
- package/dist/esm/db-button.entry.js +2 -2
- package/dist/esm/db-card.entry.js +3 -3
- package/dist/esm/db-checkbox.entry.js +3 -3
- package/dist/esm/db-custom-button.entry.js +3 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
- package/dist/esm/db-custom-select-form-field.entry.js +3 -3
- package/dist/esm/db-custom-select.entry.js +6 -6
- package/dist/esm/db-divider.entry.js +2 -2
- package/dist/esm/db-drawer.entry.js +4 -4
- package/dist/esm/db-header.entry.js +3 -3
- package/dist/esm/db-icon.entry.js +2 -2
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/db-link.entry.js +2 -2
- package/dist/esm/db-navigation-item.entry.js +2 -2
- package/dist/esm/db-navigation.entry.js +3 -3
- package/dist/esm/db-notification.entry.js +3 -3
- package/dist/esm/db-page.entry.js +3 -3
- package/dist/esm/db-popover.entry.js +3 -3
- package/dist/esm/db-radio.entry.js +2 -2
- package/dist/esm/db-section.entry.js +3 -3
- package/dist/esm/db-select.entry.js +3 -3
- package/dist/esm/db-stack.entry.js +3 -3
- package/dist/esm/db-switch.entry.js +3 -3
- package/dist/esm/db-tab-item_3.entry.js +7 -7
- package/dist/esm/db-tabs.entry.js +3 -3
- package/dist/esm/db-textarea.entry.js +3 -3
- package/dist/esm/db-tooltip.entry.js +3 -3
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-BjIPMjCM.js → index-Bs7RfNRP.js} +13 -22
- package/dist/esm/loader.js +2 -2
- package/dist/vscode.html-custom-data.json +75 -75
- package/dist/web-types.json +130 -130
- package/package.json +4 -4
- package/agent/.gitkeep +0 -0
- package/dist/db-ux/p-0541c3c2.entry.js +0 -1
- package/dist/db-ux/p-074e4a43.entry.js +0 -1
- package/dist/db-ux/p-213bfff6.entry.js +0 -1
- package/dist/db-ux/p-2bce91e1.entry.js +0 -1
- package/dist/db-ux/p-4cda36f1.entry.js +0 -1
- package/dist/db-ux/p-4cf64cbb.entry.js +0 -1
- package/dist/db-ux/p-56af9177.entry.js +0 -1
- package/dist/db-ux/p-6b073570.entry.js +0 -1
- package/dist/db-ux/p-836f0fef.entry.js +0 -1
- package/dist/db-ux/p-9a19e197.entry.js +0 -1
- package/dist/db-ux/p-BjIPMjCM.js +0 -2
- package/dist/db-ux/p-d186aef4.entry.js +0 -1
- package/dist/db-ux/p-dceb35a8.entry.js +0 -1
- package/dist/db-ux/p-ef034bba.entry.js +0 -1
- package/dist/db-ux/p-f0bc176a.entry.js +0 -1
|
@@ -109,7 +109,7 @@ export class DBNavigationItem {
|
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
111
|
var _a, _b, _c;
|
|
112
|
-
return (h("li", { key: '
|
|
112
|
+
return (h("li", { key: '9e00c0e7d146b0e8472b0aa356846ae40f78b142', class: cls("db-navigation-item", this.className), ref: (el) => {
|
|
113
113
|
this._ref = el;
|
|
114
114
|
}, 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", "aria-haspopup": this.hasAreaPopup, "aria-expanded": this.isSubNavigationExpanded, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", "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));
|
|
115
115
|
}
|
|
@@ -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: 'ea7d2bd4cbb5c10ad84e69fc5edeceb3ba306664', 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: 'f360080fb6f0841ce53af3c124c590069a9a63a1', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '956e359ac2cca3054222856efb770fb3fa465fe9' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '834aba00e04c685c7f3524068c2f74daa3f3e75b', 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: 'c08b2ad9b8e77fb1f11664ee52dcbb1d09bd9481', 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: '86fa25b9544b850ffa82b6ddff06699992671b7d', name: "header" }), h("main", { key: '7f5c1cd1c87d9cbc5cd8d905098c92adaf8370ab', class: cls("db-main", this.mainClass) }, h("slot", { key: '07186f253bb25d9d56707074a6d1ebe03fb27554' })), h("slot", { key: '549079cb855687037a0f3b241d23784430419bd6', 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: 'aa9250091fc55d09bb5db9f6ca82af793999160c', 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: 'aab79e27b5ce47cb859342d448c4efc0933fc523', name: "trigger" }), h("article", { key: '4f8ba04305cf074b94d50c0c5121c89bd4251434', 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: '3ce3cca432122ee2b52d7df9cd0016d4c6b81da1' }))));
|
|
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: '9c3f8305d05457c20250793e18a9d18c8c036f7c', 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: 'f65b487ea3dcd26eb348d7b7e18461d29fc6e0af', 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: '433827caeacf2a63ea928bd6178f66dad7112d6d', 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: 'b815cad646a0d81b749b215a02299b290f765f09' })));
|
|
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;
|
|
236
|
-
return (h("div", { key: '
|
|
236
|
+
return (h("div", { key: '0e3ebb6a472cbd86ec971d96062c6779e11c9ff4', 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: '7d22cdb4c487037568a185719165efeaf4825b38', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '6a4e62ac9f68e9ec0cf8379b812b8868bf47beb0', "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: (_b = this.value) !== null && _b !== void 0 ? _b : this._value, 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": (_c = this.ariaDescribedBy) !== null && _c !== void 0 ? _c : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_d = this.options) === null || _d === void 0 ? void 0 : _d.length) ? ((_e = this.options) === null || _e === void 0 ? void 0 : _e.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: '736b83b341e8161f463a3131fc6cb39f6c966fc7', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '1353c1a7cf3ae895b6108bc4800ab40ca808c596', "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: '6927a665a08e7383c992d2b93d264a991e871969', 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: '0c5f39afc50167b38e39797c240f32a696d93adb' })));
|
|
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: '5d55932625984fa62f0ee9d86f3d89f5b63f9072', 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: '711ab3c882dbd490e19400ecf5d926f5bf80e95e', htmlFor: this._id }, h("input", { key: 'aa50031870b7ee76e1f1e6f9bd5dd14b9013de18', 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: '95f846f3de48f29bef0406c3c19d0314a2a0cfc6', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '297a64a0c5b5faf97a3f685ab78eea7145fe700e', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
191
191
|
}
|
|
192
192
|
static get is() { return "db-switch"; }
|
|
193
193
|
static get properties() {
|
|
@@ -113,9 +113,9 @@ export class DBTabItem {
|
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
115
|
var _a, _b, _c, _d, _e, _f;
|
|
116
|
-
return (h("li", { key: '
|
|
116
|
+
return (h("li", { key: 'aa5a73d9a5f1482623ebdb8a79846b478ecf9fd1', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: 'b6148c23f64ffd2d9153db7e8e3d39a90f009da3', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: 'c7d167364eaa4f9cee156d9260553b14d60ffb13', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
|
|
117
117
|
this._ref = el;
|
|
118
|
-
}, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
118
|
+
}, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: 'aab78a92118a8ea9b7ffcb446ead8211294a6e6c' }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "db-tab-item"; }
|
|
121
121
|
static get properties() {
|
|
@@ -46,9 +46,9 @@ export class DBTabList {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '9d2121250cb2a12971ea33774d8ff9e79117d18e', class: cls("db-tab-list", 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("ul", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'db93a3777f11ee39e15633b0b5ae501b0526d73d', role: "tablist" }, h("slot", { key: '14d45a6c1693c5c2bdb2d422397e6ddeb93bf5b3' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-tab-list"; }
|
|
54
54
|
static get properties() {
|
|
@@ -46,9 +46,9 @@ export class DBTabPanel {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("section", { key: '
|
|
49
|
+
return (h("section", { key: '3cae700e240af4818416120b8c85fc91839c7fa1', 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 }, this.content ? this.content : null, h("slot", { key: '
|
|
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: '25595de165921a31119ffd785bd5c569c42fa557' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-tab-panel"; }
|
|
54
54
|
static get properties() {
|
|
@@ -206,10 +206,10 @@ export class DBTabs {
|
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
208
|
var _a, _b, _c, _d, _e, _f;
|
|
209
|
-
return (h("div", { key: '
|
|
209
|
+
return (h("div", { key: '6d273b967668288248c3853be80261a877d3ae04', class: cls("db-tabs", this.className), ref: (el) => {
|
|
210
210
|
this._ref = el;
|
|
211
211
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_c = this.alignment) !== null && _c !== void 0 ? _c : "start", "data-width": (_d = this.width) !== null && _d !== void 0 ? _d : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (h(Fragment, null, h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index) => (h("db-tab-item", { key: this.name + "tab-item" + index, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
|
|
212
|
-
_f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '
|
|
212
|
+
_f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '04f5d96f32695ae2661ace77827ee783eb0f23d0' })));
|
|
213
213
|
}
|
|
214
214
|
static get is() { return "db-tabs"; }
|
|
215
215
|
static get properties() {
|
|
@@ -62,9 +62,9 @@ export class DBTag {
|
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
var _a, _b, _c;
|
|
65
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: 'd84df9f55535db4fbe9befd09fd2eef8125069c4', class: cls("db-tag", this.className), ref: (el) => {
|
|
66
66
|
this._ref = el;
|
|
67
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '
|
|
67
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '9f4d27ce3f4d4d2e1d193167148168a2cb8784dd', name: "content" }), h("slot", { key: '9feecc10d65e9f807709e5d90b90f69be72b8efb' }), this.text ? this.text : null, this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "db-tag"; }
|
|
70
70
|
static get properties() {
|
|
@@ -199,10 +199,10 @@ export class DBTextarea {
|
|
|
199
199
|
}
|
|
200
200
|
render() {
|
|
201
201
|
var _a, _b, _c, _d, _e;
|
|
202
|
-
return (h("div", { key: '
|
|
202
|
+
return (h("div", { key: '393d0c53d9c4566418ac057d776c17b3f17c32aa', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: 'a899bcdffbffcdeef71bd1a62c4d0e3d5e4bbecc', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: 'e21b1f05254885af4ff600ad4ffeb691040074d1', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
203
203
|
this._ref = el;
|
|
204
204
|
}, id: this._id, "data-resize": this.resize, "data-hide-resizer": getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), readOnly: getBoolean(this.readOnly, "readOnly") ||
|
|
205
|
-
getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this._value, "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds, placeholder: (_e = this.placeholder) !== null && _e !== void 0 ? _e : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), 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: '
|
|
205
|
+
getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this._value, "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds, placeholder: (_e = this.placeholder) !== null && _e !== void 0 ? _e : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), 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: '9067bf72dc0406d8fa9365d57f6289aabdccc507', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '85655aea65cece93bbc6fbc5d50b8849548a4365', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
206
206
|
}
|
|
207
207
|
static get is() { return "db-textarea"; }
|
|
208
208
|
static get properties() {
|
|
@@ -158,9 +158,9 @@ export class DBTooltip {
|
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
160
|
var _a, _b;
|
|
161
|
-
return (h("i", { key: '
|
|
161
|
+
return (h("i", { key: '3340b8840c8d749852c69311cf4a28d5bc4c9252', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
|
|
162
162
|
this._ref = el;
|
|
163
|
-
}, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, h("slot", { key: '
|
|
163
|
+
}, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, h("slot", { key: 'b20207e24fe5999249505cb8a5543ae853425ae2' })));
|
|
164
164
|
}
|
|
165
165
|
static get is() { return "db-tooltip"; }
|
|
166
166
|
static get properties() {
|