@db-ux/wc-core-components 4.9.0-stencil-bundle-ad37ca4 → 4.9.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 +19 -1
- package/README.md +0 -20
- package/dist/cjs/db-accordion-item.cjs.entry.js +4 -25
- package/dist/cjs/db-accordion.cjs.entry.js +3 -10
- package/dist/cjs/db-badge.cjs.entry.js +3 -10
- package/dist/cjs/db-brand.cjs.entry.js +3 -10
- package/dist/cjs/db-button.cjs.entry.js +3 -10
- package/dist/cjs/db-card.cjs.entry.js +3 -10
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-button.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -45
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -13
- package/dist/cjs/db-divider.cjs.entry.js +2 -9
- package/dist/cjs/db-drawer.cjs.entry.js +7 -14
- package/dist/cjs/db-header.cjs.entry.js +3 -10
- package/dist/cjs/db-icon.cjs.entry.js +3 -10
- package/dist/cjs/db-infotext.cjs.entry.js +3 -10
- package/dist/cjs/db-link.cjs.entry.js +3 -10
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -11
- package/dist/cjs/db-navigation.cjs.entry.js +3 -10
- package/dist/cjs/db-notification.cjs.entry.js +3 -10
- package/dist/cjs/db-page.cjs.entry.js +3 -10
- package/dist/cjs/db-popover.cjs.entry.js +3 -10
- package/dist/cjs/db-radio.cjs.entry.js +3 -10
- package/dist/cjs/db-section.cjs.entry.js +3 -10
- package/dist/cjs/db-select.cjs.entry.js +3 -10
- package/dist/cjs/db-stack.cjs.entry.js +3 -10
- package/dist/cjs/db-switch.cjs.entry.js +3 -10
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -28
- package/dist/cjs/db-tabs.cjs.entry.js +3 -10
- package/dist/cjs/db-textarea.cjs.entry.js +3 -10
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -10
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-DLuhzJ0p.js → index-BoC-BWt4.js} +0 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +2 -9
- package/dist/collection/components/accordion-item/accordion-item.js +4 -51
- package/dist/collection/components/badge/badge.js +2 -9
- package/dist/collection/components/brand/brand.js +2 -9
- package/dist/collection/components/button/button.js +3 -10
- package/dist/collection/components/card/card.js +3 -10
- package/dist/collection/components/checkbox/checkbox.js +3 -10
- package/dist/collection/components/custom-button/custom-button.js +2 -9
- package/dist/collection/components/custom-select/custom-select.js +6 -13
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -9
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -9
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -9
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -9
- package/dist/collection/components/divider/divider.js +1 -8
- package/dist/collection/components/drawer/drawer.js +8 -15
- package/dist/collection/components/header/header.js +13 -20
- package/dist/collection/components/icon/icon.js +2 -9
- package/dist/collection/components/infotext/infotext.js +2 -9
- package/dist/collection/components/input/input.js +3 -10
- package/dist/collection/components/link/link.js +2 -9
- package/dist/collection/components/navigation/navigation.js +2 -9
- package/dist/collection/components/navigation-item/navigation-item.js +3 -37
- package/dist/collection/components/notification/notification.js +3 -10
- package/dist/collection/components/page/page.js +2 -9
- package/dist/collection/components/popover/popover.js +2 -9
- package/dist/collection/components/radio/radio.js +3 -10
- package/dist/collection/components/section/section.js +2 -9
- package/dist/collection/components/select/select.js +3 -10
- package/dist/collection/components/stack/stack.js +2 -9
- package/dist/collection/components/switch/switch.js +3 -10
- package/dist/collection/components/tab-item/tab-item.js +3 -10
- package/dist/collection/components/tab-list/tab-list.js +2 -9
- package/dist/collection/components/tab-panel/tab-panel.js +2 -9
- package/dist/collection/components/tabs/tabs.js +3 -10
- package/dist/collection/components/tag/tag.js +3 -10
- package/dist/collection/components/textarea/textarea.js +3 -10
- package/dist/collection/components/tooltip/tooltip.js +2 -9
- package/dist/custom-elements.json +36 -2252
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-1b5d76a8.entry.js +1 -0
- package/dist/db-ux/p-296f989b.entry.js +1 -0
- package/dist/db-ux/p-3ae13ff1.entry.js +1 -0
- package/dist/db-ux/p-43f94079.entry.js +1 -0
- package/dist/db-ux/p-54508bad.entry.js +1 -0
- package/dist/db-ux/p-55e8b0b4.entry.js +1 -0
- package/dist/db-ux/p-69a59559.entry.js +1 -0
- package/dist/db-ux/p-6e7126c6.entry.js +1 -0
- package/dist/db-ux/p-7bed4611.entry.js +1 -0
- package/dist/db-ux/p-8ce816c0.entry.js +1 -0
- package/dist/db-ux/p-8e080864.entry.js +1 -0
- package/dist/db-ux/p-K4o-AcjZ.js +2 -0
- package/dist/db-ux/p-a0eccc08.entry.js +1 -0
- package/dist/db-ux/p-a7c6ec23.entry.js +1 -0
- package/dist/db-ux/p-a82c9875.entry.js +1 -0
- package/dist/db-ux/p-ae445d5d.entry.js +1 -0
- package/dist/db-ux/p-b33abf8d.entry.js +1 -0
- package/dist/db-ux/p-b8ab2bd4.entry.js +1 -0
- package/dist/db-ux/p-bb7c59d2.entry.js +1 -0
- package/dist/db-ux/p-bc510135.entry.js +1 -0
- package/dist/db-ux/p-c85d4be6.entry.js +1 -0
- package/dist/db-ux/p-d206ac6f.entry.js +1 -0
- package/dist/db-ux/p-e22b3725.entry.js +1 -0
- package/dist/db-ux/p-e432c81f.entry.js +1 -0
- package/dist/db-ux/p-e64606e2.entry.js +1 -0
- package/dist/db-ux/p-e8ee154f.entry.js +1 -0
- package/dist/db-ux/p-efb9d9bc.entry.js +1 -0
- package/dist/db-ux/p-f35229a1.entry.js +1 -0
- package/dist/db-ux/p-f582c886.entry.js +1 -0
- package/dist/db-ux/p-f6be9a48.entry.js +1 -0
- package/dist/db-ux/p-fb39506f.entry.js +1 -0
- package/dist/db-ux/p-fb9500ba.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +4 -25
- package/dist/esm/db-accordion.entry.js +3 -10
- package/dist/esm/db-badge.entry.js +3 -10
- package/dist/esm/db-brand.entry.js +3 -10
- package/dist/esm/db-button.entry.js +3 -10
- package/dist/esm/db-card.entry.js +3 -10
- package/dist/esm/db-checkbox.entry.js +3 -10
- package/dist/esm/db-custom-button.entry.js +3 -10
- package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -45
- package/dist/esm/db-custom-select-form-field.entry.js +3 -10
- package/dist/esm/db-custom-select.entry.js +6 -13
- package/dist/esm/db-divider.entry.js +2 -9
- package/dist/esm/db-drawer.entry.js +8 -15
- package/dist/esm/db-header.entry.js +3 -10
- package/dist/esm/db-icon.entry.js +3 -10
- package/dist/esm/db-infotext.entry.js +3 -10
- package/dist/esm/db-link.entry.js +3 -10
- package/dist/esm/db-navigation-item.entry.js +3 -11
- package/dist/esm/db-navigation.entry.js +3 -10
- package/dist/esm/db-notification.entry.js +3 -10
- package/dist/esm/db-page.entry.js +3 -10
- package/dist/esm/db-popover.entry.js +3 -10
- package/dist/esm/db-radio.entry.js +3 -10
- package/dist/esm/db-section.entry.js +3 -10
- package/dist/esm/db-select.entry.js +3 -10
- package/dist/esm/db-stack.entry.js +3 -10
- package/dist/esm/db-switch.entry.js +3 -10
- package/dist/esm/db-tab-item_3.entry.js +7 -28
- package/dist/esm/db-tabs.entry.js +3 -10
- package/dist/esm/db-textarea.entry.js +3 -10
- package/dist/esm/db-tooltip.entry.js +3 -10
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-Cr2cgn5B.js → index-K4o-AcjZ.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +0 -1
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +0 -4
- package/dist/types/components/accordion-item/model.d.ts +1 -5
- package/dist/types/components/badge/badge.d.ts +0 -1
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +0 -1
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +0 -1
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +0 -1
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -1
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +0 -1
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +0 -1
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -1
- package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +0 -1
- package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +0 -1
- package/dist/types/components/custom-select-list/model.d.ts +1 -1
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +0 -1
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +0 -1
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +0 -1
- package/dist/types/components/drawer/model.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +2 -3
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +0 -1
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +0 -1
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +0 -1
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +0 -1
- package/dist/types/components/link/model.d.ts +1 -1
- package/dist/types/components/navigation/model.d.ts +1 -1
- package/dist/types/components/navigation/navigation.d.ts +0 -1
- package/dist/types/components/navigation-item/model.d.ts +2 -6
- package/dist/types/components/navigation-item/navigation-item.d.ts +0 -2
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +0 -1
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +0 -1
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +0 -1
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +0 -1
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +0 -1
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +0 -1
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +0 -1
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +0 -1
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +0 -1
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +0 -1
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +0 -1
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +0 -1
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +0 -1
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +0 -1
- package/dist/types/components.d.ts +1 -7
- package/dist/vscode.html-custom-data.json +6 -16
- package/dist/web-types.json +248 -1032
- package/package.json +7 -13
- package/bundle/db-accordion-item.d.ts +0 -11
- package/bundle/db-accordion-item.js +0 -1
- package/bundle/db-accordion.d.ts +0 -11
- package/bundle/db-accordion.js +0 -1
- package/bundle/db-badge.d.ts +0 -11
- package/bundle/db-badge.js +0 -1
- package/bundle/db-brand.d.ts +0 -11
- package/bundle/db-brand.js +0 -1
- package/bundle/db-button.d.ts +0 -11
- package/bundle/db-button.js +0 -1
- package/bundle/db-card.d.ts +0 -11
- package/bundle/db-card.js +0 -1
- package/bundle/db-checkbox.d.ts +0 -11
- package/bundle/db-checkbox.js +0 -1
- package/bundle/db-custom-button.d.ts +0 -11
- package/bundle/db-custom-button.js +0 -1
- package/bundle/db-custom-select-dropdown.d.ts +0 -11
- package/bundle/db-custom-select-dropdown.js +0 -1
- package/bundle/db-custom-select-form-field.d.ts +0 -11
- package/bundle/db-custom-select-form-field.js +0 -1
- package/bundle/db-custom-select-list-item.d.ts +0 -11
- package/bundle/db-custom-select-list-item.js +0 -1
- package/bundle/db-custom-select-list.d.ts +0 -11
- package/bundle/db-custom-select-list.js +0 -1
- package/bundle/db-custom-select.d.ts +0 -11
- package/bundle/db-custom-select.js +0 -1
- package/bundle/db-divider.d.ts +0 -11
- package/bundle/db-divider.js +0 -1
- package/bundle/db-drawer.d.ts +0 -11
- package/bundle/db-drawer.js +0 -1
- package/bundle/db-header.d.ts +0 -11
- package/bundle/db-header.js +0 -1
- package/bundle/db-icon.d.ts +0 -11
- package/bundle/db-icon.js +0 -1
- package/bundle/db-infotext.d.ts +0 -11
- package/bundle/db-infotext.js +0 -1
- package/bundle/db-input.d.ts +0 -11
- package/bundle/db-input.js +0 -1
- package/bundle/db-link.d.ts +0 -11
- package/bundle/db-link.js +0 -1
- package/bundle/db-navigation-item.d.ts +0 -11
- package/bundle/db-navigation-item.js +0 -1
- package/bundle/db-navigation.d.ts +0 -11
- package/bundle/db-navigation.js +0 -1
- package/bundle/db-notification.d.ts +0 -11
- package/bundle/db-notification.js +0 -1
- package/bundle/db-page.d.ts +0 -11
- package/bundle/db-page.js +0 -1
- package/bundle/db-popover.d.ts +0 -11
- package/bundle/db-popover.js +0 -1
- package/bundle/db-radio.d.ts +0 -11
- package/bundle/db-radio.js +0 -1
- package/bundle/db-section.d.ts +0 -11
- package/bundle/db-section.js +0 -1
- package/bundle/db-select.d.ts +0 -11
- package/bundle/db-select.js +0 -1
- package/bundle/db-stack.d.ts +0 -11
- package/bundle/db-stack.js +0 -1
- package/bundle/db-switch.d.ts +0 -11
- package/bundle/db-switch.js +0 -1
- package/bundle/db-tab-item.d.ts +0 -11
- package/bundle/db-tab-item.js +0 -1
- package/bundle/db-tab-list.d.ts +0 -11
- package/bundle/db-tab-list.js +0 -1
- package/bundle/db-tab-panel.d.ts +0 -11
- package/bundle/db-tab-panel.js +0 -1
- package/bundle/db-tabs.d.ts +0 -11
- package/bundle/db-tabs.js +0 -1
- package/bundle/db-tag.d.ts +0 -11
- package/bundle/db-tag.js +0 -1
- package/bundle/db-textarea.d.ts +0 -11
- package/bundle/db-textarea.js +0 -1
- package/bundle/db-tooltip.d.ts +0 -11
- package/bundle/db-tooltip.js +0 -1
- package/bundle/index.d.ts +0 -47
- package/bundle/index.js +0 -1
- package/bundle/p-4nwUOzw7.js +0 -1
- package/bundle/p-6tgjpFiy.js +0 -1
- package/bundle/p-B8jmHdeH.js +0 -1
- package/bundle/p-BNhyPF1P.js +0 -1
- package/bundle/p-BPzP5Ag7.js +0 -1
- package/bundle/p-BdL-nI5y.js +0 -1
- package/bundle/p-BuBrj57D.js +0 -1
- package/bundle/p-BwS8XkPq.js +0 -1
- package/bundle/p-C0grS8Im.js +0 -1
- package/bundle/p-CCbaTFJ9.js +0 -1
- package/bundle/p-CSPKOJ_Q.js +0 -1
- package/bundle/p-C_uuq4ru.js +0 -1
- package/bundle/p-CeC-MQcb.js +0 -1
- package/bundle/p-Cp42j14z.js +0 -1
- package/bundle/p-D4Ym01qf.js +0 -1
- package/bundle/p-DOPXnIzL.js +0 -1
- package/bundle/p-DaaF73NV.js +0 -1
- package/bundle/p-DegvpGo6.js +0 -1
- package/bundle/p-yTv_0IMq.js +0 -1
- package/dist/db-ux/p-00ea76cf.entry.js +0 -1
- package/dist/db-ux/p-047341c9.entry.js +0 -1
- package/dist/db-ux/p-066fa23a.entry.js +0 -1
- package/dist/db-ux/p-0f8989b4.entry.js +0 -1
- package/dist/db-ux/p-25b715ae.entry.js +0 -1
- package/dist/db-ux/p-2df1300b.entry.js +0 -1
- package/dist/db-ux/p-3327169e.entry.js +0 -1
- package/dist/db-ux/p-419f8c38.entry.js +0 -1
- package/dist/db-ux/p-4249b49a.entry.js +0 -1
- package/dist/db-ux/p-44043bdb.entry.js +0 -1
- package/dist/db-ux/p-45e3b8c6.entry.js +0 -1
- package/dist/db-ux/p-47b8ce97.entry.js +0 -1
- package/dist/db-ux/p-692c892c.entry.js +0 -1
- package/dist/db-ux/p-6ca6258f.entry.js +0 -1
- package/dist/db-ux/p-6e2b82d0.entry.js +0 -1
- package/dist/db-ux/p-74a2dd1a.entry.js +0 -1
- package/dist/db-ux/p-78a2617f.entry.js +0 -1
- package/dist/db-ux/p-820c2ca9.entry.js +0 -1
- package/dist/db-ux/p-8894c1da.entry.js +0 -1
- package/dist/db-ux/p-8c7085d4.entry.js +0 -1
- package/dist/db-ux/p-9afcb916.entry.js +0 -1
- package/dist/db-ux/p-9e61d181.entry.js +0 -1
- package/dist/db-ux/p-Cr2cgn5B.js +0 -2
- package/dist/db-ux/p-a15fbd28.entry.js +0 -1
- package/dist/db-ux/p-cd1f41e9.entry.js +0 -1
- package/dist/db-ux/p-cd990388.entry.js +0 -1
- package/dist/db-ux/p-d1d119b6.entry.js +0 -1
- package/dist/db-ux/p-d5bc9beb.entry.js +0 -1
- package/dist/db-ux/p-e57bd4f0.entry.js +0 -1
- package/dist/db-ux/p-e9dd1674.entry.js +0 -1
- package/dist/db-ux/p-f904f3a1.entry.js +0 -1
- package/dist/db-ux/p-fb69c11a.entry.js +0 -1
|
@@ -45,19 +45,13 @@ export class DBCustomSelectDropdown {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
componentDidLoad() {
|
|
48
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
49
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
50
|
-
if (connectedElement) {
|
|
51
|
-
connectedElement.remove();
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
48
|
this.enableAttributePassing(this._ref, "db-custom-select-dropdown");
|
|
55
49
|
}
|
|
56
50
|
render() {
|
|
57
51
|
var _a, _b;
|
|
58
|
-
return (h("article", { key: '
|
|
52
|
+
return (h("article", { key: '666781dcaef33e70aeb2378c19dccf9e0502be81', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
|
|
59
53
|
this._ref = el;
|
|
60
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '
|
|
54
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '2587222810ae1534d3c8070f1003820a22429ae9' })));
|
|
61
55
|
}
|
|
62
56
|
static get is() { return "db-custom-select-dropdown"; }
|
|
63
57
|
static get properties() {
|
|
@@ -167,5 +161,4 @@ export class DBCustomSelectDropdown {
|
|
|
167
161
|
}
|
|
168
162
|
};
|
|
169
163
|
}
|
|
170
|
-
static get elementRef() { return "rootElement"; }
|
|
171
164
|
}
|
|
@@ -42,19 +42,13 @@ export class DBCustomSelectFormField {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-custom-select-form-field");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("summary", { key: '
|
|
49
|
+
return (h("summary", { key: '6e319e52a2daf3966edf7d8ebc3febb10c8a8857', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '05a393b0ff51cc37aff8d237b0a8101f4b352261' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-custom-select-form-field"; }
|
|
60
54
|
static get properties() {
|
|
@@ -137,5 +131,4 @@ export class DBCustomSelectFormField {
|
|
|
137
131
|
}
|
|
138
132
|
};
|
|
139
133
|
}
|
|
140
|
-
static get elementRef() { return "rootElement"; }
|
|
141
134
|
}
|
|
@@ -42,19 +42,13 @@ export class DBCustomSelectList {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-custom-select-list");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'dbfa17aa3707db35d7b3c4b8bac3a4a8e45ea352', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, 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: '241c4d3e9169ba9de06492c1e9bad11df103260a' }, h("slot", { key: 'dd407c533d531e58f4eed08895591898f1ec7621' }))));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-custom-select-list"; }
|
|
60
54
|
static get properties() {
|
|
@@ -189,5 +183,4 @@ export class DBCustomSelectList {
|
|
|
189
183
|
}
|
|
190
184
|
};
|
|
191
185
|
}
|
|
192
|
-
static get elementRef() { return "rootElement"; }
|
|
193
186
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cls, getBoolean, getBooleanAsString } from "../../utils";
|
|
2
|
-
import { h } from "@stencil/core";
|
|
2
|
+
import { h, } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
5
5
|
|
|
@@ -63,18 +63,12 @@ export class DBCustomSelectListItem {
|
|
|
63
63
|
this.watch0Fn();
|
|
64
64
|
}
|
|
65
65
|
componentDidLoad() {
|
|
66
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
67
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
68
|
-
if (connectedElement) {
|
|
69
|
-
connectedElement.remove();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
66
|
this.enableAttributePassing(this._ref, "db-custom-select-list-item");
|
|
73
67
|
this.watch0Fn();
|
|
74
68
|
}
|
|
75
69
|
render() {
|
|
76
70
|
var _a, _b;
|
|
77
|
-
return (h("li", { key: '
|
|
71
|
+
return (h("li", { key: '6b727336eecb62e312f2cf7afc18686d1e590b61', class: cls("db-custom-select-list-item", this.className, {
|
|
78
72
|
"db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
|
|
79
73
|
"db-radio": this.type !== "checkbox" && !this.isGroupTitle,
|
|
80
74
|
}), ref: (el) => {
|
|
@@ -471,7 +465,6 @@ export class DBCustomSelectListItem {
|
|
|
471
465
|
}
|
|
472
466
|
}];
|
|
473
467
|
}
|
|
474
|
-
static get elementRef() { return "rootElement"; }
|
|
475
468
|
static get watchers() {
|
|
476
469
|
return [{
|
|
477
470
|
"propName": "isGroupTitle",
|
|
@@ -42,17 +42,11 @@ export class DBDivider {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-divider");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '140776744080e88b5e9f008d06d7c6b4bde4394a', class: cls("db-divider", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
51
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
|
|
58
52
|
}
|
|
@@ -241,5 +235,4 @@ export class DBDivider {
|
|
|
241
235
|
}
|
|
242
236
|
};
|
|
243
237
|
}
|
|
244
|
-
static get elementRef() { return "rootElement"; }
|
|
245
238
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
|
|
2
|
-
import { cls, delay,
|
|
3
|
-
import { h } from "@stencil/core";
|
|
2
|
+
import { cls, delay, getBooleanAsString, isKeyboardEvent } from "../../utils";
|
|
3
|
+
import { h, } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
6
6
|
* @slot drawerHeader - TODO: Add description for slotDrawerHeader
|
|
@@ -39,8 +39,8 @@ export class DBDrawer {
|
|
|
39
39
|
}
|
|
40
40
|
handleDialogOpen() {
|
|
41
41
|
if (this._ref) {
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
42
|
+
const open = Boolean(this.open);
|
|
43
|
+
if (open && !this._ref.open) {
|
|
44
44
|
if (this.dialogContainerRef) {
|
|
45
45
|
this.dialogContainerRef.removeAttribute("data-transition");
|
|
46
46
|
}
|
|
@@ -59,7 +59,7 @@ export class DBDrawer {
|
|
|
59
59
|
}
|
|
60
60
|
}, 1);
|
|
61
61
|
}
|
|
62
|
-
if (!
|
|
62
|
+
if (!open && this._ref.open) {
|
|
63
63
|
if (this.dialogContainerRef) {
|
|
64
64
|
this.dialogContainerRef.dataset["transition"] =
|
|
65
65
|
"close";
|
|
@@ -126,12 +126,6 @@ export class DBDrawer {
|
|
|
126
126
|
this.watch1Fn();
|
|
127
127
|
}
|
|
128
128
|
componentDidLoad() {
|
|
129
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
130
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
131
|
-
if (connectedElement) {
|
|
132
|
-
connectedElement.remove();
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
129
|
this.enableAttributePassing(this._ref, "db-drawer");
|
|
136
130
|
this.handleDialogOpen();
|
|
137
131
|
this.initialized = true;
|
|
@@ -140,11 +134,11 @@ export class DBDrawer {
|
|
|
140
134
|
}
|
|
141
135
|
render() {
|
|
142
136
|
var _a, _b, _c;
|
|
143
|
-
return (h("dialog", { key: '
|
|
137
|
+
return (h("dialog", { key: 'dd2236da621ecd6ce95effdd51af7d83e9d00cb4', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
|
|
144
138
|
this._ref = el;
|
|
145
|
-
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '
|
|
139
|
+
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '9e30bd63a197f5b8b3797430c21cbe742a6a337a', class: cls("db-drawer-container", this.className), ref: (el) => {
|
|
146
140
|
this.dialogContainerRef = el;
|
|
147
|
-
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '
|
|
141
|
+
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'd44ca5f31e6a42548a5b4066d3965e1c81ee11c6', class: "db-drawer-header" }, h("div", { key: '8f88f451fb176d926a6f2a0ded68232978971773', class: "db-drawer-header-text" }, h("slot", { key: 'ab8f36ee1c28b8c50034b81ed78aa91169e957b9', name: "drawerHeader" })), h("db-button", { key: '981fda2deb05c7fd6341b3d31cc81851bb8a19f4', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'd36dfd9fdc919f95d5319dbf67d9a08e17763da3', class: "db-drawer-content" }, h("slot", { key: '1ec21301aa84e9ba120d5a886cc45c37f2772e0f' })))));
|
|
148
142
|
}
|
|
149
143
|
static get is() { return "db-drawer"; }
|
|
150
144
|
static get properties() {
|
|
@@ -510,7 +504,6 @@ export class DBDrawer {
|
|
|
510
504
|
}
|
|
511
505
|
}];
|
|
512
506
|
}
|
|
513
|
-
static get elementRef() { return "rootElement"; }
|
|
514
507
|
static get watchers() {
|
|
515
508
|
return [{
|
|
516
509
|
"propName": "open",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DEFAULT_BURGER_MENU } from "../../shared/constants";
|
|
2
2
|
import { addAttributeToChildren, cls, getBoolean } from "../../utils";
|
|
3
3
|
import { isEventTargetNavigationItem } from "../../utils/navigation";
|
|
4
|
-
import { h } from "@stencil/core";
|
|
4
|
+
import { h, } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
* @slot metaNavigation - TODO: Add description for slotMetaNavigation
|
|
8
|
+
* @slot secondaryAction - TODO: Add description for slotSecondaryAction
|
|
8
9
|
* @slot brand - TODO: Add description for slotBrand
|
|
9
10
|
* @slot primaryAction - TODO: Add description for slotPrimaryAction
|
|
10
|
-
* @slot secondaryAction - TODO: Add description for slotSecondaryAction
|
|
11
11
|
*/
|
|
12
12
|
export class DBHeader {
|
|
13
13
|
constructor() {
|
|
@@ -79,21 +79,15 @@ export class DBHeader {
|
|
|
79
79
|
this.watch0Fn();
|
|
80
80
|
}
|
|
81
81
|
componentDidLoad() {
|
|
82
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
83
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
84
|
-
if (connectedElement) {
|
|
85
|
-
connectedElement.remove();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
82
|
this.enableAttributePassing(this._ref, "db-header");
|
|
89
83
|
this.initialized = true;
|
|
90
84
|
this.watch0Fn();
|
|
91
85
|
}
|
|
92
86
|
render() {
|
|
93
87
|
var _a, _b, _c;
|
|
94
|
-
return (h("header", { key: '
|
|
88
|
+
return (h("header", { key: 'be1ad24dcffe0b9a3472fb4d0ce51e1e26ab18a7', class: cls("db-header", this.className), ref: (el) => {
|
|
95
89
|
this._ref = el;
|
|
96
|
-
}, 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("
|
|
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: 'd4037e5b2a37c33ce57753e256308f5a349c59ad', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '6f3038ca75f7a872a25ef6195575e2fdafc37fd6', class: "db-header-drawer-navigation" }, h("div", { key: '5f49144f7c766e2f84619d048980bb4cd772f33a', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0ede1bfe3a2c02c0f4bdb0351780d3f575cf2227' })), h("div", { key: '3afebc850c010d99e070abd9f443523215cbbe9c', class: "db-header-meta-navigation" }, h("slot", { key: '0a9c6a8d806af97d6ca004c581db605d5f3c2cbd', name: "metaNavigation" }))), h("div", { key: '1b55dab0fc8e755c30f17a348647d78a2063316e', class: "db-header-secondary-action" }, h("slot", { key: '91e2325325c90fa4c8a502da0dbff50c251f9914', name: "secondaryAction" }))), h("div", { key: '96d77f06e1e3ebe20463469d10fdf2086c4833f3', class: "db-header-meta-navigation" }, h("slot", { key: '3b670227184efb7b85ce1a4502322b72fa2e5dd3', name: "metaNavigation" })), h("div", { key: 'f63168e17d5add18523b8ce5cf145b2cdba634e0', class: "db-header-navigation-bar" }, h("div", { key: 'bdb2c9524c98f272da2250e84465d631dc4c86ee', class: "db-header-brand-container" }, h("slot", { key: 'cc82a8c4bcf8023ee31274ade351796c4b4e59ac', name: "brand" })), h("div", { key: '71dd71452f3fa5348d66aba9ea073865dc8ccbdd', class: "db-header-navigation-container" }, h("div", { key: 'ef397d6f5baeb671326269b8a0a4e329da8b103e', class: "db-header-navigation" }, h("slot", { key: 'e70245a7c3895bead643907655732f9a046b9d45' })), h("div", { key: '7f80402f9aa19140c404636a18d1d190cc9c7bd3', class: "db-header-primary-action" }, h("slot", { key: '625841b7653acffa89cf4539e3494611aaa37a65', name: "primaryAction" }))), h("div", { key: '6513c29620684d2b24ee7f031fc603bfd4d897e5', class: "db-header-action-container" }, h("div", { key: '0c0ff87d894c99cf1e49b2beadaec277dd8813b3', class: "db-header-burger-menu-container" }, h("db-button", { key: '63884b0f4e5e66fae043236fe06fa989d8c74dff', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '7712b831ee086a7366909c9265cc46211d9c0a73', class: "db-header-secondary-action" }, h("slot", { key: 'bbb1d1a6c98ad79104389e57980cd0bb05f6e435', name: "secondaryAction" }))))));
|
|
97
91
|
}
|
|
98
92
|
static get is() { return "db-header"; }
|
|
99
93
|
static get properties() {
|
|
@@ -252,11 +246,11 @@ export class DBHeader {
|
|
|
252
246
|
"reflect": false,
|
|
253
247
|
"attribute": "width"
|
|
254
248
|
},
|
|
255
|
-
"
|
|
249
|
+
"closeButtonId": {
|
|
256
250
|
"type": "string",
|
|
257
251
|
"mutable": false,
|
|
258
252
|
"complexType": {
|
|
259
|
-
"original": "DBHeaderProps[\"
|
|
253
|
+
"original": "DBHeaderProps[\"closeButtonId\"]",
|
|
260
254
|
"resolved": "string",
|
|
261
255
|
"references": {
|
|
262
256
|
"DBHeaderProps": {
|
|
@@ -276,13 +270,13 @@ export class DBHeader {
|
|
|
276
270
|
"getter": false,
|
|
277
271
|
"setter": false,
|
|
278
272
|
"reflect": false,
|
|
279
|
-
"attribute": "
|
|
273
|
+
"attribute": "close-button-id"
|
|
280
274
|
},
|
|
281
|
-
"
|
|
275
|
+
"closeButtonText": {
|
|
282
276
|
"type": "string",
|
|
283
277
|
"mutable": false,
|
|
284
278
|
"complexType": {
|
|
285
|
-
"original": "DBHeaderProps[\"
|
|
279
|
+
"original": "DBHeaderProps[\"closeButtonText\"]",
|
|
286
280
|
"resolved": "string",
|
|
287
281
|
"references": {
|
|
288
282
|
"DBHeaderProps": {
|
|
@@ -302,13 +296,13 @@ export class DBHeader {
|
|
|
302
296
|
"getter": false,
|
|
303
297
|
"setter": false,
|
|
304
298
|
"reflect": false,
|
|
305
|
-
"attribute": "close-button-
|
|
299
|
+
"attribute": "close-button-text"
|
|
306
300
|
},
|
|
307
|
-
"
|
|
301
|
+
"burgerMenuLabel": {
|
|
308
302
|
"type": "string",
|
|
309
303
|
"mutable": false,
|
|
310
304
|
"complexType": {
|
|
311
|
-
"original": "DBHeaderProps[\"
|
|
305
|
+
"original": "DBHeaderProps[\"burgerMenuLabel\"]",
|
|
312
306
|
"resolved": "string",
|
|
313
307
|
"references": {
|
|
314
308
|
"DBHeaderProps": {
|
|
@@ -328,7 +322,7 @@ export class DBHeader {
|
|
|
328
322
|
"getter": false,
|
|
329
323
|
"setter": false,
|
|
330
324
|
"reflect": false,
|
|
331
|
-
"attribute": "
|
|
325
|
+
"attribute": "burger-menu-label"
|
|
332
326
|
}
|
|
333
327
|
};
|
|
334
328
|
}
|
|
@@ -356,7 +350,6 @@ export class DBHeader {
|
|
|
356
350
|
}
|
|
357
351
|
}];
|
|
358
352
|
}
|
|
359
|
-
static get elementRef() { return "rootElement"; }
|
|
360
353
|
static get watchers() {
|
|
361
354
|
return [{
|
|
362
355
|
"propName": "initialized",
|
|
@@ -42,19 +42,13 @@ export class DBIcon {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-icon");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("span", { key: '
|
|
49
|
+
return (h("span", { key: '1b9ecf0a2b731a1146ab46d6cac0d3ce371dbc87', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, 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 : 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, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: 'dec85782807d446081a60b9bf7024823b5463bc1' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-icon"; }
|
|
60
54
|
static get properties() {
|
|
@@ -241,5 +235,4 @@ export class DBIcon {
|
|
|
241
235
|
}
|
|
242
236
|
};
|
|
243
237
|
}
|
|
244
|
-
static get elementRef() { return "rootElement"; }
|
|
245
238
|
}
|
|
@@ -42,19 +42,13 @@ export class DBInfotext {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-infotext");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b, _c;
|
|
55
|
-
return (h("span", { key: '
|
|
49
|
+
return (h("span", { key: 'e0846770d940dd2213fc271bd9b2f73dcd43e477', class: cls("db-infotext", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, 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 : 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, "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 : null, h("slot", { key: '62a49acb22657bcadf93d60c787652de37cce74b' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-infotext"; }
|
|
60
54
|
static get properties() {
|
|
@@ -293,5 +287,4 @@ export class DBInfotext {
|
|
|
293
287
|
}
|
|
294
288
|
};
|
|
295
289
|
}
|
|
296
|
-
static get elementRef() { return "rootElement"; }
|
|
297
290
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getStep, hasVoiceOver, isArrayOfStrings, isIOSSafari, stringPropVisible, uuid, } from "../../utils";
|
|
3
3
|
import { addValueResetEventListener, } from "../../utils/form-components";
|
|
4
|
-
import { h } from "@stencil/core";
|
|
4
|
+
import { h, } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
|
|
@@ -196,12 +196,6 @@ export class DBInput {
|
|
|
196
196
|
this.watch4Fn();
|
|
197
197
|
}
|
|
198
198
|
componentDidLoad() {
|
|
199
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
200
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
201
|
-
if (connectedElement) {
|
|
202
|
-
connectedElement.remove();
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
199
|
this.enableAttributePassing(this._ref, "db-input");
|
|
206
200
|
this.resetIds();
|
|
207
201
|
this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
|
|
@@ -217,7 +211,7 @@ export class DBInput {
|
|
|
217
211
|
}
|
|
218
212
|
render() {
|
|
219
213
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
220
|
-
return (h("div", { key: '
|
|
214
|
+
return (h("div", { key: 'b2b30122374389f0ce7cd686adeebd544d739866', 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: 'b7194b6d956d72f498443792b34f08e9c7c4f9f5', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: '73e36e11d4634eda85bfe9abe646f9e9f95e6cef', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
221
215
|
this._ref = el;
|
|
222
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") ||
|
|
223
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: [
|
|
@@ -229,7 +223,7 @@ export class DBInput {
|
|
|
229
223
|
"color",
|
|
230
224
|
].includes((_h = this.type) !== null && _h !== void 0 ? _h : "") && isIOSSafari()
|
|
231
225
|
? "textbox"
|
|
232
|
-
: 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: 'a699c5b648a73eb17f0836def1b1c2a005bf7943' }), 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: '60d2b6b280bfb6258c1a76601123dbb0aa041547', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '044819a1c744e3d31308e771eeff1c0adc674024', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
233
227
|
}
|
|
234
228
|
static get is() { return "db-input"; }
|
|
235
229
|
static get properties() {
|
|
@@ -1609,7 +1603,6 @@ export class DBInput {
|
|
|
1609
1603
|
}
|
|
1610
1604
|
}];
|
|
1611
1605
|
}
|
|
1612
|
-
static get elementRef() { return "rootElement"; }
|
|
1613
1606
|
static get watchers() {
|
|
1614
1607
|
return [{
|
|
1615
1608
|
"propName": "id",
|
|
@@ -42,19 +42,13 @@ export class DBLink {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-link");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b, _c, _d;
|
|
55
|
-
return (h("a", { key: '
|
|
49
|
+
return (h("a", { key: '1748005b97867c678a3ea09072eeef7518a0170f', class: cls("db-link", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, 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 : 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, 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 : null, h("slot", { key: '9912370e0c8ba33af3ee8a7644e77f21335bddca' })));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-link"; }
|
|
60
54
|
static get properties() {
|
|
@@ -501,5 +495,4 @@ export class DBLink {
|
|
|
501
495
|
}
|
|
502
496
|
};
|
|
503
497
|
}
|
|
504
|
-
static get elementRef() { return "rootElement"; }
|
|
505
498
|
}
|
|
@@ -42,19 +42,13 @@ export class DBNavigation {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-navigation");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("nav", { key: '
|
|
49
|
+
return (h("nav", { key: 'e2cf893f68f07f22c5df6828e136880bdafcc8ab', class: cls("db-navigation", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, 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: 'cb715cb4c0c6ec6b74519475c5e05d5148af43a1' }, h("slot", { key: 'b571e5af2b79d9d0bbfd499b0fcb9f64a885ab54' }))));
|
|
58
52
|
}
|
|
59
53
|
static get is() { return "db-navigation"; }
|
|
60
54
|
static get properties() {
|
|
@@ -137,5 +131,4 @@ export class DBNavigation {
|
|
|
137
131
|
}
|
|
138
132
|
};
|
|
139
133
|
}
|
|
140
|
-
static get elementRef() { return "rootElement"; }
|
|
141
134
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_BACK } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getBooleanAsString, uuid } from "../../utils";
|
|
3
3
|
import { NavigationItemSafeTriangle } from "../../utils/navigation";
|
|
4
|
-
import { h, Fragment } from "@stencil/core";
|
|
4
|
+
import { h, Fragment, } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
* @slot subNavigation - TODO: Add description for slotSubNavigation
|
|
@@ -105,12 +105,6 @@ export class DBNavigationItem {
|
|
|
105
105
|
}
|
|
106
106
|
componentDidLoad() {
|
|
107
107
|
var _a;
|
|
108
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
109
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
110
|
-
if (connectedElement) {
|
|
111
|
-
connectedElement.remove();
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
108
|
this.enableAttributePassing(this._ref, "db-navigation-item");
|
|
115
109
|
this.initialized = true;
|
|
116
110
|
const subNavId = `sub-nav-${(_a = this.id) !== null && _a !== void 0 ? _a : uuid()}`;
|
|
@@ -121,10 +115,9 @@ export class DBNavigationItem {
|
|
|
121
115
|
}
|
|
122
116
|
render() {
|
|
123
117
|
var _a, _b, _c;
|
|
124
|
-
return (h("li", { key: '
|
|
118
|
+
return (h("li", { key: '445ddbc43af3b8ddf2e43614c7bbc8ad4990c125', class: cls("db-navigation-item", this.className), ref: (el) => {
|
|
125
119
|
this._ref = el;
|
|
126
|
-
}, 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) }, !getBoolean(this.
|
|
127
|
-
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", { name: "expandButton" })), 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" })))) : this.text ? (this.text) : (h("slot", null))));
|
|
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));
|
|
128
121
|
}
|
|
129
122
|
static get is() { return "db-navigation-item"; }
|
|
130
123
|
static get properties() {
|
|
@@ -387,32 +380,6 @@ export class DBNavigationItem {
|
|
|
387
380
|
"reflect": false,
|
|
388
381
|
"attribute": "disabled"
|
|
389
382
|
},
|
|
390
|
-
"hideSubNavigation": {
|
|
391
|
-
"type": "boolean",
|
|
392
|
-
"mutable": false,
|
|
393
|
-
"complexType": {
|
|
394
|
-
"original": "DBNavigationItemProps[\"hideSubNavigation\"]",
|
|
395
|
-
"resolved": "boolean",
|
|
396
|
-
"references": {
|
|
397
|
-
"DBNavigationItemProps": {
|
|
398
|
-
"location": "import",
|
|
399
|
-
"path": "./model",
|
|
400
|
-
"id": "src/components/navigation-item/model.ts::DBNavigationItemProps",
|
|
401
|
-
"referenceLocation": "DBNavigationItemProps"
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
"required": false,
|
|
406
|
-
"optional": false,
|
|
407
|
-
"docs": {
|
|
408
|
-
"tags": [],
|
|
409
|
-
"text": ""
|
|
410
|
-
},
|
|
411
|
-
"getter": false,
|
|
412
|
-
"setter": false,
|
|
413
|
-
"reflect": false,
|
|
414
|
-
"attribute": "hide-sub-navigation"
|
|
415
|
-
},
|
|
416
383
|
"text": {
|
|
417
384
|
"type": "string",
|
|
418
385
|
"mutable": false,
|
|
@@ -523,7 +490,6 @@ export class DBNavigationItem {
|
|
|
523
490
|
}
|
|
524
491
|
}];
|
|
525
492
|
}
|
|
526
|
-
static get elementRef() { return "rootElement"; }
|
|
527
493
|
static get watchers() {
|
|
528
494
|
return [{
|
|
529
495
|
"propName": "subNavigationExpanded",
|