@db-ux/wc-core-components 4.11.1 → 4.12.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 +23 -0
- package/bundle/db-accordion-item.js +1 -1
- package/bundle/db-accordion.js +1 -1
- package/bundle/db-badge.js +1 -1
- package/bundle/db-brand.js +1 -1
- package/bundle/db-button.js +1 -1
- package/bundle/db-card.js +1 -1
- package/bundle/db-checkbox.js +1 -1
- package/bundle/db-custom-button.js +1 -1
- package/bundle/db-custom-select-dropdown.js +1 -1
- package/bundle/db-custom-select-form-field.js +1 -1
- package/bundle/db-custom-select-list-item.js +1 -1
- package/bundle/db-custom-select-list.js +1 -1
- package/bundle/db-custom-select.js +1 -1
- package/bundle/db-divider.js +1 -1
- package/bundle/db-drawer.js +1 -1
- package/bundle/db-header.js +1 -1
- package/bundle/db-icon.js +1 -1
- package/bundle/db-infotext.js +1 -1
- package/bundle/db-input.js +1 -1
- package/bundle/db-link.js +1 -1
- package/bundle/db-navigation-item.js +1 -1
- package/bundle/db-navigation.js +1 -1
- package/bundle/db-notification.js +1 -1
- package/bundle/db-page.js +1 -1
- package/bundle/db-popover.js +1 -1
- package/bundle/db-radio.js +1 -1
- package/bundle/db-section.js +1 -1
- package/bundle/db-select.js +1 -1
- package/bundle/db-stack.js +1 -1
- package/bundle/db-switch.js +1 -1
- package/bundle/db-tab-item.js +1 -1
- package/bundle/db-tab-list.js +1 -1
- package/bundle/db-tab-panel.js +1 -1
- package/bundle/db-table-body.js +1 -1
- package/bundle/db-table-caption.js +1 -1
- package/bundle/db-table-data-cell.js +1 -1
- package/bundle/db-table-footer.js +1 -1
- package/bundle/db-table-head.js +1 -1
- package/bundle/db-table-header-cell.js +1 -1
- package/bundle/db-table-row.js +1 -1
- package/bundle/db-table.js +1 -1
- package/bundle/db-tabs.js +1 -1
- package/bundle/db-tag.js +1 -1
- package/bundle/db-textarea.js +1 -1
- package/bundle/db-tooltip.js +1 -1
- package/bundle/index.js +1 -1
- package/bundle/{p-D9RSX1St.js → p-2eQDIPlF.js} +1 -1
- package/bundle/p-BFeR7jXy.js +1 -0
- package/bundle/p-BQov9sQb.js +1 -0
- package/bundle/{p-CewqZGHg.js → p-BpO8Ok-r.js} +1 -1
- package/bundle/{p-k5Hci0ok.js → p-C0JLpZ9Q.js} +1 -1
- package/bundle/p-C0q9XJSc.js +1 -0
- package/bundle/{p-BEcb3EOO.js → p-C2w7ILj8.js} +1 -1
- package/bundle/p-C47AKJPy.js +1 -0
- package/bundle/{p-CHg_VPD9.js → p-C9llbu6g.js} +1 -1
- package/bundle/{p-BuBrj57D.js → p-C_qYW0Kh.js} +1 -1
- package/bundle/p-Cc5hdI0x.js +1 -0
- package/bundle/{p-mk64Fltq.js → p-Cn5NdjPW.js} +1 -1
- package/bundle/{p-3Da4lo5j.js → p-CuC4YsIB.js} +1 -1
- package/bundle/p-DTM6Wcbf.js +1 -0
- package/bundle/{p-CZ9SsTOA.js → p-DVuZmW_J.js} +1 -1
- package/bundle/{p-BxZ0zFXf.js → p-DcgghWWs.js} +1 -1
- package/bundle/p-DiEfz0o1.js +1 -0
- package/bundle/{p-DbgzEek1.js → p-G57oLrr4.js} +1 -1
- package/bundle/{p-BEolc6Da.js → p-fu0VCCbW.js} +1 -1
- package/bundle/{p-CotiEHZi.js → p-gIJnyld5.js} +1 -1
- package/bundle/{p-Duacd-NX.js → p-k8bCF_aj.js} +1 -1
- package/bundle/{p-BrQIYm5N.js → p-to845Mg2.js} +1 -1
- package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-badge.cjs.entry.js +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 +2 -2
- package/dist/cjs/db-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-button.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +11 -11
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select.cjs.entry.js +15 -7
- package/dist/cjs/db-divider.cjs.entry.js +1 -1
- package/dist/cjs/db-drawer.cjs.entry.js +28 -7
- package/dist/cjs/db-header.cjs.entry.js +4 -4
- 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_4.cjs.entry.js +7 -7
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation.cjs.entry.js +2 -2
- package/dist/cjs/db-notification.cjs.entry.js +2 -2
- package/dist/cjs/db-page.cjs.entry.js +2 -2
- package/dist/cjs/db-popover.cjs.entry.js +3 -3
- package/dist/cjs/db-radio.cjs.entry.js +2 -2
- package/dist/cjs/db-section.cjs.entry.js +2 -2
- package/dist/cjs/db-select.cjs.entry.js +2 -2
- package/dist/cjs/db-stack.cjs.entry.js +2 -2
- package/dist/cjs/db-switch.cjs.entry.js +2 -2
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/db-table-body_3.cjs.entry.js +3 -3
- package/dist/cjs/db-table-caption.cjs.entry.js +2 -2
- package/dist/cjs/db-table.cjs.entry.js +1 -1
- package/dist/cjs/db-tabs.cjs.entry.js +2 -2
- package/dist/cjs/db-textarea.cjs.entry.js +2 -2
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/{floating-components-DlstoCKH.js → floating-components-SpHkZuLA.js} +53 -8
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{navigation-Bah882nU.js → navigation-DUTSDY4q.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +10 -10
- package/dist/collection/components/accordion-item/accordion-item.js +12 -12
- package/dist/collection/components/badge/badge.js +14 -14
- package/dist/collection/components/brand/brand.js +11 -11
- package/dist/collection/components/button/button.js +23 -23
- package/dist/collection/components/card/card.js +9 -9
- package/dist/collection/components/checkbox/checkbox.js +25 -25
- package/dist/collection/components/custom-button/custom-button.js +16 -16
- package/dist/collection/components/custom-select/custom-select.js +69 -61
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +7 -7
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +6 -6
- package/dist/collection/components/custom-select-list/custom-select-list.js +8 -8
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +17 -17
- package/dist/collection/components/divider/divider.js +9 -9
- package/dist/collection/components/drawer/drawer.js +44 -22
- package/dist/collection/components/header/header.js +14 -14
- package/dist/collection/components/icon/icon.js +10 -10
- package/dist/collection/components/infotext/infotext.js +12 -12
- package/dist/collection/components/input/input.js +56 -56
- package/dist/collection/components/link/link.js +20 -20
- package/dist/collection/components/navigation/navigation.js +6 -6
- package/dist/collection/components/navigation-item/navigation-item.js +18 -18
- package/dist/collection/components/notification/notification.js +23 -23
- package/dist/collection/components/page/page.js +10 -10
- package/dist/collection/components/popover/popover.js +15 -15
- package/dist/collection/components/radio/radio.js +17 -17
- package/dist/collection/components/section/section.js +8 -8
- package/dist/collection/components/select/select.js +31 -31
- package/dist/collection/components/stack/stack.js +12 -12
- package/dist/collection/components/switch/switch.js +28 -28
- package/dist/collection/components/tab-item/tab-item.js +19 -19
- package/dist/collection/components/tab-list/tab-list.js +6 -6
- package/dist/collection/components/tab-panel/tab-panel.js +7 -7
- package/dist/collection/components/table/table.js +14 -14
- package/dist/collection/components/table-body/table-body.js +5 -5
- package/dist/collection/components/table-caption/table-caption.js +5 -5
- package/dist/collection/components/table-data-cell/table-data-cell.js +12 -12
- package/dist/collection/components/table-footer/table-footer.js +5 -5
- package/dist/collection/components/table-head/table-head.js +5 -5
- package/dist/collection/components/table-header-cell/table-header-cell.js +15 -15
- package/dist/collection/components/table-row/table-row.js +7 -7
- package/dist/collection/components/tabs/tabs.js +15 -15
- package/dist/collection/components/tag/tag.js +17 -17
- package/dist/collection/components/textarea/textarea.js +39 -39
- package/dist/collection/components/tooltip/tooltip.js +18 -18
- package/dist/collection/index.js +97 -97
- package/dist/collection/utils/document-click-listener.js +1 -1
- package/dist/collection/utils/document-scroll-listener.js +1 -1
- package/dist/collection/utils/floating-components.js +53 -8
- package/dist/collection/utils/form-components.js +1 -1
- package/dist/collection/utils/navigation.js +1 -1
- package/dist/custom-elements.json +119 -20
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-2ae377e6.entry.js → p-0758418a.entry.js} +1 -1
- package/dist/db-ux/p-183c78b7.entry.js +1 -0
- package/dist/db-ux/{p-78b7e6f6.entry.js → p-1e70d93f.entry.js} +1 -1
- package/dist/db-ux/p-2c23efe2.entry.js +1 -0
- package/dist/db-ux/{p-0e17c5a0.entry.js → p-37bf8d87.entry.js} +1 -1
- package/dist/db-ux/p-38c55e9c.entry.js +1 -0
- package/dist/db-ux/p-4751361d.entry.js +1 -0
- package/dist/db-ux/{p-ef1aa878.entry.js → p-5623ff36.entry.js} +1 -1
- package/dist/db-ux/{p-335391d4.entry.js → p-5706f20a.entry.js} +1 -1
- package/dist/db-ux/{p-f6312d2c.entry.js → p-57527cef.entry.js} +1 -1
- package/dist/db-ux/{p-8fa7a578.entry.js → p-68f00121.entry.js} +1 -1
- package/dist/db-ux/{p-8f989150.entry.js → p-6b8375e8.entry.js} +1 -1
- package/dist/db-ux/p-6ce4a109.entry.js +1 -0
- package/dist/db-ux/{p-dfbbe502.entry.js → p-6d41baf1.entry.js} +1 -1
- package/dist/db-ux/{p-a4d9f6e2.entry.js → p-6fdc00bd.entry.js} +1 -1
- package/dist/db-ux/{p-6aa92091.entry.js → p-70b6ebcd.entry.js} +1 -1
- package/dist/db-ux/{p-fbf09569.entry.js → p-71399ee3.entry.js} +1 -1
- package/dist/db-ux/{p-af248e57.entry.js → p-77a47225.entry.js} +1 -1
- package/dist/db-ux/{p-281f5e3e.entry.js → p-81edb316.entry.js} +1 -1
- package/dist/db-ux/{p-5e08712d.entry.js → p-87281518.entry.js} +1 -1
- package/dist/db-ux/{p-63d98f9d.entry.js → p-90e9ec2d.entry.js} +1 -1
- package/dist/db-ux/p-C0q9XJSc.js +1 -0
- package/dist/db-ux/{p-BuBrj57D.js → p-C_qYW0Kh.js} +1 -1
- package/dist/db-ux/{p-9ccd42b1.entry.js → p-a07e33e7.entry.js} +1 -1
- package/dist/db-ux/{p-f1daaefa.entry.js → p-a176424b.entry.js} +1 -1
- package/dist/db-ux/p-a6f33f3b.entry.js +1 -0
- package/dist/db-ux/{p-5070470f.entry.js → p-a8556349.entry.js} +1 -1
- package/dist/db-ux/{p-3569bb3c.entry.js → p-d9d006e7.entry.js} +1 -1
- package/dist/db-ux/{p-ba82a0b0.entry.js → p-db1b9f5d.entry.js} +1 -1
- package/dist/db-ux/{p-7ca4bc82.entry.js → p-e58fbd4d.entry.js} +1 -1
- package/dist/db-ux/p-e66aa9d8.entry.js +1 -0
- package/dist/db-ux/{p-0123ee1b.entry.js → p-eedf08e0.entry.js} +1 -1
- package/dist/db-ux/{p-090b1797.entry.js → p-f0b5c785.entry.js} +1 -1
- package/dist/db-ux/p-f271332c.entry.js +1 -0
- package/dist/db-ux/{p-d7b5748d.entry.js → p-f5f73623.entry.js} +1 -1
- package/dist/db-ux/{p-2cf4345f.entry.js → p-f964d5f5.entry.js} +1 -1
- package/dist/esm/db-accordion-item.entry.js +2 -2
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-badge.entry.js +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 +2 -2
- package/dist/esm/db-checkbox.entry.js +2 -2
- package/dist/esm/db-custom-button.entry.js +2 -2
- package/dist/esm/db-custom-select-dropdown_5.entry.js +11 -11
- package/dist/esm/db-custom-select-form-field.entry.js +2 -2
- package/dist/esm/db-custom-select.entry.js +15 -7
- package/dist/esm/db-divider.entry.js +1 -1
- package/dist/esm/db-drawer.entry.js +28 -7
- package/dist/esm/db-header.entry.js +4 -4
- package/dist/esm/db-icon.entry.js +2 -2
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/db-link_4.entry.js +7 -7
- package/dist/esm/db-navigation-item.entry.js +3 -3
- package/dist/esm/db-navigation.entry.js +2 -2
- package/dist/esm/db-notification.entry.js +2 -2
- package/dist/esm/db-page.entry.js +2 -2
- package/dist/esm/db-popover.entry.js +3 -3
- package/dist/esm/db-radio.entry.js +2 -2
- package/dist/esm/db-section.entry.js +2 -2
- package/dist/esm/db-select.entry.js +2 -2
- package/dist/esm/db-stack.entry.js +2 -2
- package/dist/esm/db-switch.entry.js +2 -2
- package/dist/esm/db-tab-item_3.entry.js +7 -7
- package/dist/esm/db-table-body_3.entry.js +3 -3
- package/dist/esm/db-table-caption.entry.js +2 -2
- package/dist/esm/db-table.entry.js +1 -1
- package/dist/esm/db-tabs.entry.js +2 -2
- package/dist/esm/db-textarea.entry.js +2 -2
- package/dist/esm/db-tooltip.entry.js +3 -3
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/{floating-components-DOPXnIzL.js → floating-components-C0q9XJSc.js} +53 -8
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{navigation-Jh6m0eMk.js → navigation-Cd7KZ6E2.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +2 -2
- package/dist/types/components/accordion-item/model.d.ts +1 -1
- package/dist/types/components/badge/badge.d.ts +1 -1
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +1 -1
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +1 -1
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +2 -2
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -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 +1 -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 +1 -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 +2 -2
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +1 -1
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +6 -3
- package/dist/types/components/drawer/model.d.ts +4 -1
- package/dist/types/components/header/header.d.ts +1 -1
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +1 -1
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +1 -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 +1 -1
- package/dist/types/components/navigation-item/model.d.ts +2 -2
- package/dist/types/components/navigation-item/navigation-item.d.ts +2 -2
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +2 -2
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +1 -1
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +2 -2
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +1 -1
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +1 -1
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +1 -1
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +1 -1
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/types/components/table/examples/data.d.ts +1 -1
- package/dist/types/components/table/model.d.ts +2 -2
- package/dist/types/components/table/table.d.ts +1 -1
- package/dist/types/components/table-body/model.d.ts +2 -2
- package/dist/types/components/table-body/table-body.d.ts +1 -1
- package/dist/types/components/table-caption/model.d.ts +1 -1
- package/dist/types/components/table-caption/table-caption.d.ts +1 -1
- package/dist/types/components/table-data-cell/model.d.ts +1 -1
- package/dist/types/components/table-data-cell/table-data-cell.d.ts +1 -1
- package/dist/types/components/table-footer/model.d.ts +2 -2
- package/dist/types/components/table-footer/table-footer.d.ts +1 -1
- package/dist/types/components/table-head/model.d.ts +2 -2
- package/dist/types/components/table-head/table-head.d.ts +11 -11
- package/dist/types/components/table-header-cell/model.d.ts +1 -1
- package/dist/types/components/table-header-cell/table-header-cell.d.ts +1 -1
- package/dist/types/components/table-row/model.d.ts +4 -4
- package/dist/types/components/table-row/table-row.d.ts +2 -2
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +2 -2
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +90 -90
- package/dist/types/index.d.ts +97 -97
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/vscode.html-custom-data.json +6 -0
- package/dist/web-types.json +13 -1
- package/package.json +3 -3
- package/bundle/p-BekmqY3B.js +0 -1
- package/bundle/p-BmRO4X-P.js +0 -1
- package/bundle/p-C2viXF7U.js +0 -1
- package/bundle/p-C4iD-won.js +0 -1
- package/bundle/p-D1orcIJf.js +0 -1
- package/bundle/p-DOPXnIzL.js +0 -1
- package/bundle/p-DqNXsduK.js +0 -1
- package/dist/db-ux/p-194e851c.entry.js +0 -1
- package/dist/db-ux/p-2e6c8304.entry.js +0 -1
- package/dist/db-ux/p-34235204.entry.js +0 -1
- package/dist/db-ux/p-398f9165.entry.js +0 -1
- package/dist/db-ux/p-91052c75.entry.js +0 -1
- package/dist/db-ux/p-DOPXnIzL.js +0 -1
- package/dist/db-ux/p-c2ce6ecd.entry.js +0 -1
- package/dist/db-ux/p-e7a400a2.entry.js +0 -1
- package/dist/db-ux/p-ff11c071.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls } from "../../utils";
|
|
1
|
+
import { cls } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -85,9 +85,9 @@ export class DBCustomSelectList {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b;
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: '753c3016f6c9a1ed9fce2fa8c7ae00b9ff73383d', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
|
|
89
89
|
this._ref = el;
|
|
90
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '
|
|
90
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '6fce279c5ddf56f52c574e98d60335cd689d7e2c' }, h("slot", { key: '667b6c5979cee0f28941fc4e62ba67d9b5878373' }))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "db-custom-select-list"; }
|
|
93
93
|
static get properties() {
|
|
@@ -101,7 +101,7 @@ export class DBCustomSelectList {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DBCustomSelectListProps": {
|
|
103
103
|
"location": "import",
|
|
104
|
-
"path": "./model",
|
|
104
|
+
"path": "./model.js",
|
|
105
105
|
"id": "src/components/custom-select-list/model.ts::DBCustomSelectListProps",
|
|
106
106
|
"referenceLocation": "DBCustomSelectListProps"
|
|
107
107
|
}
|
|
@@ -127,7 +127,7 @@ export class DBCustomSelectList {
|
|
|
127
127
|
"references": {
|
|
128
128
|
"DBCustomSelectListProps": {
|
|
129
129
|
"location": "import",
|
|
130
|
-
"path": "./model",
|
|
130
|
+
"path": "./model.js",
|
|
131
131
|
"id": "src/components/custom-select-list/model.ts::DBCustomSelectListProps",
|
|
132
132
|
"referenceLocation": "DBCustomSelectListProps"
|
|
133
133
|
}
|
|
@@ -153,7 +153,7 @@ export class DBCustomSelectList {
|
|
|
153
153
|
"references": {
|
|
154
154
|
"DBCustomSelectListProps": {
|
|
155
155
|
"location": "import",
|
|
156
|
-
"path": "./model",
|
|
156
|
+
"path": "./model.js",
|
|
157
157
|
"id": "src/components/custom-select-list/model.ts::DBCustomSelectListProps",
|
|
158
158
|
"referenceLocation": "DBCustomSelectListProps"
|
|
159
159
|
}
|
|
@@ -179,7 +179,7 @@ export class DBCustomSelectList {
|
|
|
179
179
|
"references": {
|
|
180
180
|
"DBCustomSelectListProps": {
|
|
181
181
|
"location": "import",
|
|
182
|
-
"path": "./model",
|
|
182
|
+
"path": "./model.js",
|
|
183
183
|
"id": "src/components/custom-select-list/model.ts::DBCustomSelectListProps",
|
|
184
184
|
"referenceLocation": "DBCustomSelectListProps"
|
|
185
185
|
}
|
|
@@ -203,7 +203,7 @@ export class DBCustomSelectList {
|
|
|
203
203
|
"references": {
|
|
204
204
|
"DBCustomSelectListProps": {
|
|
205
205
|
"location": "import",
|
|
206
|
-
"path": "./model",
|
|
206
|
+
"path": "./model.js",
|
|
207
207
|
"id": "src/components/custom-select-list/model.ts::DBCustomSelectListProps",
|
|
208
208
|
"referenceLocation": "DBCustomSelectListProps"
|
|
209
209
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls, getBoolean, getBooleanAsString } from "../../utils";
|
|
1
|
+
import { cls, getBoolean, getBooleanAsString } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -105,12 +105,12 @@ export class DBCustomSelectListItem {
|
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
107
|
var _a, _b;
|
|
108
|
-
return (h("li", { key: '
|
|
108
|
+
return (h("li", { key: '95e2aeea15f86890868013ddb33a6b365d814fc4', class: cls("db-custom-select-list-item", this.className, {
|
|
109
109
|
"db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
|
|
110
110
|
"db-radio": this.type !== "checkbox" && !this.isGroupTitle,
|
|
111
111
|
}), ref: (el) => {
|
|
112
112
|
this._ref = el;
|
|
113
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-divider": getBooleanAsString(this.hasDivider, "hasDivider") }, !this.isGroupTitle ? (h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.getIconTrailing() }, h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", null))) : (h("span", null, this.groupTitle))));
|
|
113
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-divider": getBooleanAsString(this.hasDivider, "hasDivider") }, !this.isGroupTitle ? (h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.getIconTrailing() }, h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), h("span", { class: "db-custom-select-list-item-label" }, this.label ? this.label : null, h("slot", null)))) : (h("span", null, this.groupTitle))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "db-custom-select-list-item"; }
|
|
116
116
|
static get properties() {
|
|
@@ -124,7 +124,7 @@ export class DBCustomSelectListItem {
|
|
|
124
124
|
"references": {
|
|
125
125
|
"DBCustomSelectListItemProps": {
|
|
126
126
|
"location": "import",
|
|
127
|
-
"path": "./model",
|
|
127
|
+
"path": "./model.js",
|
|
128
128
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
129
129
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
130
130
|
}
|
|
@@ -150,7 +150,7 @@ export class DBCustomSelectListItem {
|
|
|
150
150
|
"references": {
|
|
151
151
|
"DBCustomSelectListItemProps": {
|
|
152
152
|
"location": "import",
|
|
153
|
-
"path": "./model",
|
|
153
|
+
"path": "./model.js",
|
|
154
154
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
155
155
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
156
156
|
}
|
|
@@ -176,7 +176,7 @@ export class DBCustomSelectListItem {
|
|
|
176
176
|
"references": {
|
|
177
177
|
"DBCustomSelectListItemProps": {
|
|
178
178
|
"location": "import",
|
|
179
|
-
"path": "./model",
|
|
179
|
+
"path": "./model.js",
|
|
180
180
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
181
181
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
182
182
|
}
|
|
@@ -202,7 +202,7 @@ export class DBCustomSelectListItem {
|
|
|
202
202
|
"references": {
|
|
203
203
|
"DBCustomSelectListItemProps": {
|
|
204
204
|
"location": "import",
|
|
205
|
-
"path": "./model",
|
|
205
|
+
"path": "./model.js",
|
|
206
206
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
207
207
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
208
208
|
}
|
|
@@ -228,7 +228,7 @@ export class DBCustomSelectListItem {
|
|
|
228
228
|
"references": {
|
|
229
229
|
"DBCustomSelectListItemProps": {
|
|
230
230
|
"location": "import",
|
|
231
|
-
"path": "./model",
|
|
231
|
+
"path": "./model.js",
|
|
232
232
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
233
233
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
234
234
|
}
|
|
@@ -254,7 +254,7 @@ export class DBCustomSelectListItem {
|
|
|
254
254
|
"references": {
|
|
255
255
|
"DBCustomSelectListItemProps": {
|
|
256
256
|
"location": "import",
|
|
257
|
-
"path": "./model",
|
|
257
|
+
"path": "./model.js",
|
|
258
258
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
259
259
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
260
260
|
}
|
|
@@ -278,7 +278,7 @@ export class DBCustomSelectListItem {
|
|
|
278
278
|
"references": {
|
|
279
279
|
"DBCustomSelectListItemProps": {
|
|
280
280
|
"location": "import",
|
|
281
|
-
"path": "./model",
|
|
281
|
+
"path": "./model.js",
|
|
282
282
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
283
283
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
284
284
|
}
|
|
@@ -304,7 +304,7 @@ export class DBCustomSelectListItem {
|
|
|
304
304
|
"references": {
|
|
305
305
|
"DBCustomSelectListItemProps": {
|
|
306
306
|
"location": "import",
|
|
307
|
-
"path": "./model",
|
|
307
|
+
"path": "./model.js",
|
|
308
308
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
309
309
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
310
310
|
}
|
|
@@ -330,7 +330,7 @@ export class DBCustomSelectListItem {
|
|
|
330
330
|
"references": {
|
|
331
331
|
"DBCustomSelectListItemProps": {
|
|
332
332
|
"location": "import",
|
|
333
|
-
"path": "./model",
|
|
333
|
+
"path": "./model.js",
|
|
334
334
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
335
335
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
336
336
|
}
|
|
@@ -356,7 +356,7 @@ export class DBCustomSelectListItem {
|
|
|
356
356
|
"references": {
|
|
357
357
|
"DBCustomSelectListItemProps": {
|
|
358
358
|
"location": "import",
|
|
359
|
-
"path": "./model",
|
|
359
|
+
"path": "./model.js",
|
|
360
360
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
361
361
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
362
362
|
}
|
|
@@ -382,7 +382,7 @@ export class DBCustomSelectListItem {
|
|
|
382
382
|
"references": {
|
|
383
383
|
"DBCustomSelectListItemProps": {
|
|
384
384
|
"location": "import",
|
|
385
|
-
"path": "./model",
|
|
385
|
+
"path": "./model.js",
|
|
386
386
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
387
387
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
388
388
|
}
|
|
@@ -408,7 +408,7 @@ export class DBCustomSelectListItem {
|
|
|
408
408
|
"references": {
|
|
409
409
|
"DBCustomSelectListItemProps": {
|
|
410
410
|
"location": "import",
|
|
411
|
-
"path": "./model",
|
|
411
|
+
"path": "./model.js",
|
|
412
412
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
413
413
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
414
414
|
}
|
|
@@ -434,7 +434,7 @@ export class DBCustomSelectListItem {
|
|
|
434
434
|
"references": {
|
|
435
435
|
"DBCustomSelectListItemProps": {
|
|
436
436
|
"location": "import",
|
|
437
|
-
"path": "./model",
|
|
437
|
+
"path": "./model.js",
|
|
438
438
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
439
439
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
440
440
|
}
|
|
@@ -460,7 +460,7 @@ export class DBCustomSelectListItem {
|
|
|
460
460
|
"references": {
|
|
461
461
|
"DBCustomSelectListItemProps": {
|
|
462
462
|
"location": "import",
|
|
463
|
-
"path": "./model",
|
|
463
|
+
"path": "./model.js",
|
|
464
464
|
"id": "src/components/custom-select-list-item/model.ts::DBCustomSelectListItemProps",
|
|
465
465
|
"referenceLocation": "DBCustomSelectListItemProps"
|
|
466
466
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls } from "../../utils";
|
|
1
|
+
import { cls } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -85,7 +85,7 @@ export class DBDivider {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b;
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: '4f8780fd8ac04d3d4db08bbfeae57f0a86cf36ad', class: cls("db-divider", this.className), ref: (el) => {
|
|
89
89
|
this._ref = el;
|
|
90
90
|
}, 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 }));
|
|
91
91
|
}
|
|
@@ -101,7 +101,7 @@ export class DBDivider {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DBDividerProps": {
|
|
103
103
|
"location": "import",
|
|
104
|
-
"path": "./model",
|
|
104
|
+
"path": "./model.js",
|
|
105
105
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
106
106
|
"referenceLocation": "DBDividerProps"
|
|
107
107
|
}
|
|
@@ -127,7 +127,7 @@ export class DBDivider {
|
|
|
127
127
|
"references": {
|
|
128
128
|
"DBDividerProps": {
|
|
129
129
|
"location": "import",
|
|
130
|
-
"path": "./model",
|
|
130
|
+
"path": "./model.js",
|
|
131
131
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
132
132
|
"referenceLocation": "DBDividerProps"
|
|
133
133
|
}
|
|
@@ -151,7 +151,7 @@ export class DBDivider {
|
|
|
151
151
|
"references": {
|
|
152
152
|
"DBDividerProps": {
|
|
153
153
|
"location": "import",
|
|
154
|
-
"path": "./model",
|
|
154
|
+
"path": "./model.js",
|
|
155
155
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
156
156
|
"referenceLocation": "DBDividerProps"
|
|
157
157
|
}
|
|
@@ -177,7 +177,7 @@ export class DBDivider {
|
|
|
177
177
|
"references": {
|
|
178
178
|
"DBDividerProps": {
|
|
179
179
|
"location": "import",
|
|
180
|
-
"path": "./model",
|
|
180
|
+
"path": "./model.js",
|
|
181
181
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
182
182
|
"referenceLocation": "DBDividerProps"
|
|
183
183
|
}
|
|
@@ -203,7 +203,7 @@ export class DBDivider {
|
|
|
203
203
|
"references": {
|
|
204
204
|
"DBDividerProps": {
|
|
205
205
|
"location": "import",
|
|
206
|
-
"path": "./model",
|
|
206
|
+
"path": "./model.js",
|
|
207
207
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
208
208
|
"referenceLocation": "DBDividerProps"
|
|
209
209
|
}
|
|
@@ -229,7 +229,7 @@ export class DBDivider {
|
|
|
229
229
|
"references": {
|
|
230
230
|
"DBDividerProps": {
|
|
231
231
|
"location": "import",
|
|
232
|
-
"path": "./model",
|
|
232
|
+
"path": "./model.js",
|
|
233
233
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
234
234
|
"referenceLocation": "DBDividerProps"
|
|
235
235
|
}
|
|
@@ -255,7 +255,7 @@ export class DBDivider {
|
|
|
255
255
|
"references": {
|
|
256
256
|
"DBDividerProps": {
|
|
257
257
|
"location": "import",
|
|
258
|
-
"path": "./model",
|
|
258
|
+
"path": "./model.js",
|
|
259
259
|
"id": "src/components/divider/model.ts::DBDividerProps",
|
|
260
260
|
"referenceLocation": "DBDividerProps"
|
|
261
261
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
|
|
2
|
-
import { cls, delay, getBoolean, getBooleanAsString, isKeyboardEvent, } from "../../utils";
|
|
1
|
+
import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants.js";
|
|
2
|
+
import { cls, delay, getBoolean, getBooleanAsString, isKeyboardEvent, } from "../../utils/index.js";
|
|
3
3
|
import { h } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
@@ -8,8 +8,22 @@ import { h } from "@stencil/core";
|
|
|
8
8
|
export class DBDrawer {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.initialized = false;
|
|
11
|
+
this.backdropPointerDown = false;
|
|
11
12
|
this.observer = undefined;
|
|
12
13
|
}
|
|
14
|
+
isNotModal() {
|
|
15
|
+
return (this.position === "absolute" ||
|
|
16
|
+
this.backdrop === "none" ||
|
|
17
|
+
this.variant === "inside");
|
|
18
|
+
}
|
|
19
|
+
handleBackdropPointerDown(event) {
|
|
20
|
+
var _a;
|
|
21
|
+
// Remember whether the pointer interaction started on the backdrop
|
|
22
|
+
// (the DIALOG element itself) so we only close on a real backdrop
|
|
23
|
+
// click and not when a drag started inside the content and ended
|
|
24
|
+
// on the backdrop.
|
|
25
|
+
this.backdropPointerDown = ((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.nodeName) === "DIALOG";
|
|
26
|
+
}
|
|
13
27
|
handleClose(event, forceClose) {
|
|
14
28
|
var _a;
|
|
15
29
|
if (!event)
|
|
@@ -31,11 +45,15 @@ export class DBDrawer {
|
|
|
31
45
|
}
|
|
32
46
|
if (((_a = event.target) === null || _a === void 0 ? void 0 : _a.nodeName) === "DIALOG" &&
|
|
33
47
|
event.type === "click" &&
|
|
34
|
-
this.backdrop !== "none"
|
|
48
|
+
this.backdrop !== "none" &&
|
|
49
|
+
this.backdropPointerDown) {
|
|
35
50
|
if (this.close) {
|
|
36
51
|
this.close.emit(event);
|
|
37
52
|
}
|
|
38
53
|
}
|
|
54
|
+
// Reset after handling the click so the next interaction
|
|
55
|
+
// starts from a clean state.
|
|
56
|
+
this.backdropPointerDown = false;
|
|
39
57
|
}
|
|
40
58
|
}
|
|
41
59
|
handleDialogOpen() {
|
|
@@ -45,12 +63,15 @@ export class DBDrawer {
|
|
|
45
63
|
if (this.dialogContainerRef) {
|
|
46
64
|
this.dialogContainerRef.removeAttribute("data-transition");
|
|
47
65
|
}
|
|
48
|
-
if (this.
|
|
49
|
-
this.backdrop === "none" ||
|
|
50
|
-
this.variant === "inside") {
|
|
66
|
+
if (this.isNotModal()) {
|
|
51
67
|
this._ref.show();
|
|
52
68
|
}
|
|
53
69
|
else {
|
|
70
|
+
// Set the closedby attribute imperatively: the JSX
|
|
71
|
+
// dialog type does not know this attribute yet, and it
|
|
72
|
+
// only applies to modal dialogs. "any" enables native
|
|
73
|
+
// light dismiss (backdrop click / Esc).
|
|
74
|
+
this._ref.setAttribute("closedby", "any");
|
|
54
75
|
this._ref.showModal();
|
|
55
76
|
}
|
|
56
77
|
void delay(() => {
|
|
@@ -177,11 +198,11 @@ export class DBDrawer {
|
|
|
177
198
|
}
|
|
178
199
|
render() {
|
|
179
200
|
var _a, _b, _c;
|
|
180
|
-
return (h("dialog", { key: '
|
|
201
|
+
return (h("dialog", { key: 'c03126193778f601b7ff3aeeeff508c8920e67a7', 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) => {
|
|
181
202
|
this._ref = el;
|
|
182
|
-
}, 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: '
|
|
203
|
+
}, onClick: (event) => this.handleClose(event), onMouseDown: (event) => this.handleBackdropPointerDown(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: '64661349d858bf5be872d664b44bc6fa829014e6', class: cls("db-drawer-container", this.className), ref: (el) => {
|
|
183
204
|
this.dialogContainerRef = el;
|
|
184
|
-
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded, "rounded") }, h("header", { key: '
|
|
205
|
+
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded, "rounded") }, h("header", { key: 'b758a538b1337573090305aadcf3bc3befef1bf3', class: "db-drawer-header" }, h("div", { key: '235f2be7afc9c968b9270178c2720a5a50436123', class: "db-drawer-header-text" }, h("slot", { key: '26787a5e103d2d34785ce1eccd0ff73b6733fce8', name: "drawerHeader" })), h("db-button", { key: '1d22b406c4e235e91bc9bfc3265a0aaa9c7f8e8c', 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: '0e338b2e11c8582ba59595f34d8fc4911db7025e', class: "db-drawer-content" }, h("slot", { key: 'c761758ada4d1602878a58de6003e01cf5b5d075' })))));
|
|
185
206
|
}
|
|
186
207
|
static get is() { return "db-drawer"; }
|
|
187
208
|
static get properties() {
|
|
@@ -195,7 +216,7 @@ export class DBDrawer {
|
|
|
195
216
|
"references": {
|
|
196
217
|
"DBDrawerProps": {
|
|
197
218
|
"location": "import",
|
|
198
|
-
"path": "./model",
|
|
219
|
+
"path": "./model.js",
|
|
199
220
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
200
221
|
"referenceLocation": "DBDrawerProps"
|
|
201
222
|
}
|
|
@@ -221,7 +242,7 @@ export class DBDrawer {
|
|
|
221
242
|
"references": {
|
|
222
243
|
"DBDrawerProps": {
|
|
223
244
|
"location": "import",
|
|
224
|
-
"path": "./model",
|
|
245
|
+
"path": "./model.js",
|
|
225
246
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
226
247
|
"referenceLocation": "DBDrawerProps"
|
|
227
248
|
}
|
|
@@ -247,7 +268,7 @@ export class DBDrawer {
|
|
|
247
268
|
"references": {
|
|
248
269
|
"DBDrawerProps": {
|
|
249
270
|
"location": "import",
|
|
250
|
-
"path": "./model",
|
|
271
|
+
"path": "./model.js",
|
|
251
272
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
252
273
|
"referenceLocation": "DBDrawerProps"
|
|
253
274
|
}
|
|
@@ -273,7 +294,7 @@ export class DBDrawer {
|
|
|
273
294
|
"references": {
|
|
274
295
|
"DBDrawerProps": {
|
|
275
296
|
"location": "import",
|
|
276
|
-
"path": "./model",
|
|
297
|
+
"path": "./model.js",
|
|
277
298
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
278
299
|
"referenceLocation": "DBDrawerProps"
|
|
279
300
|
}
|
|
@@ -299,7 +320,7 @@ export class DBDrawer {
|
|
|
299
320
|
"references": {
|
|
300
321
|
"DBDrawerProps": {
|
|
301
322
|
"location": "import",
|
|
302
|
-
"path": "./model",
|
|
323
|
+
"path": "./model.js",
|
|
303
324
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
304
325
|
"referenceLocation": "DBDrawerProps"
|
|
305
326
|
}
|
|
@@ -325,7 +346,7 @@ export class DBDrawer {
|
|
|
325
346
|
"references": {
|
|
326
347
|
"DBDrawerProps": {
|
|
327
348
|
"location": "import",
|
|
328
|
-
"path": "./model",
|
|
349
|
+
"path": "./model.js",
|
|
329
350
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
330
351
|
"referenceLocation": "DBDrawerProps"
|
|
331
352
|
}
|
|
@@ -349,7 +370,7 @@ export class DBDrawer {
|
|
|
349
370
|
"references": {
|
|
350
371
|
"DBDrawerProps": {
|
|
351
372
|
"location": "import",
|
|
352
|
-
"path": "./model",
|
|
373
|
+
"path": "./model.js",
|
|
353
374
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
354
375
|
"referenceLocation": "DBDrawerProps"
|
|
355
376
|
}
|
|
@@ -375,7 +396,7 @@ export class DBDrawer {
|
|
|
375
396
|
"references": {
|
|
376
397
|
"DBDrawerProps": {
|
|
377
398
|
"location": "import",
|
|
378
|
-
"path": "./model",
|
|
399
|
+
"path": "./model.js",
|
|
379
400
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
380
401
|
"referenceLocation": "DBDrawerProps"
|
|
381
402
|
}
|
|
@@ -401,7 +422,7 @@ export class DBDrawer {
|
|
|
401
422
|
"references": {
|
|
402
423
|
"DBDrawerProps": {
|
|
403
424
|
"location": "import",
|
|
404
|
-
"path": "./model",
|
|
425
|
+
"path": "./model.js",
|
|
405
426
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
406
427
|
"referenceLocation": "DBDrawerProps"
|
|
407
428
|
}
|
|
@@ -427,7 +448,7 @@ export class DBDrawer {
|
|
|
427
448
|
"references": {
|
|
428
449
|
"DBDrawerProps": {
|
|
429
450
|
"location": "import",
|
|
430
|
-
"path": "./model",
|
|
451
|
+
"path": "./model.js",
|
|
431
452
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
432
453
|
"referenceLocation": "DBDrawerProps"
|
|
433
454
|
}
|
|
@@ -453,7 +474,7 @@ export class DBDrawer {
|
|
|
453
474
|
"references": {
|
|
454
475
|
"DBDrawerProps": {
|
|
455
476
|
"location": "import",
|
|
456
|
-
"path": "./model",
|
|
477
|
+
"path": "./model.js",
|
|
457
478
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
458
479
|
"referenceLocation": "DBDrawerProps"
|
|
459
480
|
}
|
|
@@ -479,7 +500,7 @@ export class DBDrawer {
|
|
|
479
500
|
"references": {
|
|
480
501
|
"DBDrawerProps": {
|
|
481
502
|
"location": "import",
|
|
482
|
-
"path": "./model",
|
|
503
|
+
"path": "./model.js",
|
|
483
504
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
484
505
|
"referenceLocation": "DBDrawerProps"
|
|
485
506
|
}
|
|
@@ -505,7 +526,7 @@ export class DBDrawer {
|
|
|
505
526
|
"references": {
|
|
506
527
|
"DBDrawerProps": {
|
|
507
528
|
"location": "import",
|
|
508
|
-
"path": "./model",
|
|
529
|
+
"path": "./model.js",
|
|
509
530
|
"id": "src/components/drawer/model.ts::DBDrawerProps",
|
|
510
531
|
"referenceLocation": "DBDrawerProps"
|
|
511
532
|
}
|
|
@@ -527,6 +548,7 @@ export class DBDrawer {
|
|
|
527
548
|
static get states() {
|
|
528
549
|
return {
|
|
529
550
|
"initialized": {},
|
|
551
|
+
"backdropPointerDown": {},
|
|
530
552
|
"observer": {}
|
|
531
553
|
};
|
|
532
554
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DEFAULT_BURGER_MENU } from "../../shared/constants";
|
|
2
|
-
import { addAttributeToChildren, cls, getBoolean } from "../../utils";
|
|
3
|
-
import { isEventTargetNavigationItem } from "../../utils/navigation";
|
|
1
|
+
import { DEFAULT_BURGER_MENU } from "../../shared/constants.js";
|
|
2
|
+
import { addAttributeToChildren, cls, getBoolean } from "../../utils/index.js";
|
|
3
|
+
import { isEventTargetNavigationItem } from "../../utils/navigation.js";
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
@@ -128,9 +128,9 @@ export class DBHeader {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
var _a, _b, _c;
|
|
131
|
-
return (h("header", { key: '
|
|
131
|
+
return (h("header", { key: 'aeeac33c4b9db2b9749b24ccca840aa03bac81df', class: cls("db-header", this.className), ref: (el) => {
|
|
132
132
|
this._ref = el;
|
|
133
|
-
}, 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("div", { key: '
|
|
133
|
+
}, 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("div", { key: '1078f960dbc6ed24664b5ff5c23c3524d725b822', class: "db-header-meta-navigation" }, h("slot", { key: 'c55739d8ae17254c2aa457795a31017a07ab5a88', name: "metaNavigation" })), h("div", { key: '6e82ab28439854dec6bcc6dcf9ed3fa36c6f5e69', class: "db-header-navigation-bar" }, h("div", { key: '7e991f8cdee7c1767ea3aefdd9a01c662fb5d178', class: "db-header-brand-container" }, h("slot", { key: 'a1e2aea32b28520095612367e97a8b955f93bd96', name: "brand" })), h("div", { key: '273f17e3b8594dad83d8fbad021008405d865176', class: "db-header-navigation-container" }, h("div", { key: '8bd9a08a0f3cf8083d238963c2cc3715edf1d5a4', class: "db-header-navigation" }, h("slot", { key: 'abfd95ef152c34e53806c114f243ff26b63a9bbe' })), h("div", { key: '4a61c6d86a0362913b45a432095a621ca22d1268', class: "db-header-primary-action" }, h("slot", { key: '3b79bfc6d85a0a39fcb3ca2550be0a2a36b6a682', name: "primaryAction" }))), h("div", { key: '1c506669010a04ae260b692811ed17d76a3ecc03', class: "db-header-action-container" }, h("div", { key: 'aa522f5b0010a1747a1bc7f550c3700a0bad4e8a', class: "db-header-burger-menu-container" }, h("db-button", { key: '2223a3865ed4ea94e3a3849e73e4113e1db0fb66', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '86f41a6b354de871ac3f4d9cf8b7205c699ba189', class: "db-header-secondary-action" }, h("slot", { key: '43e443323eb93871bb19cbea2222da6eb8ebd0e8', name: "secondaryAction" })))), h("db-drawer", { key: '8a8474e8a7f54d827f5844f76dea9ce44ef565e0', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '21f360dc09f2d53aea13fde8b13c1ffb3781f558', class: "db-header-drawer-navigation" }, h("div", { key: '0c567049a2c1788decb48b10b0115348d2f3b406', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '1403d518f5f63eca522ccecaf5a4b5f153649a33' })), h("div", { key: 'c624cf3f4ea7e89a87e430ef96b34fa4ce6d4236', class: "db-header-meta-navigation" }, h("slot", { key: '4fde72b2d7d8c098a8a09160e8f36ca2ddbd0702', name: "metaNavigation" }))), h("div", { key: '91d6fc1b39b3cfc39b8563956971f56a168da218', class: "db-header-secondary-action" }, h("slot", { key: 'a9745f3cf4c91db6a3cd0bc4e4bf904b8bc7a2aa', name: "secondaryAction" })))));
|
|
134
134
|
}
|
|
135
135
|
static get is() { return "db-header"; }
|
|
136
136
|
static get properties() {
|
|
@@ -144,7 +144,7 @@ export class DBHeader {
|
|
|
144
144
|
"references": {
|
|
145
145
|
"DBHeaderProps": {
|
|
146
146
|
"location": "import",
|
|
147
|
-
"path": "./model",
|
|
147
|
+
"path": "./model.js",
|
|
148
148
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
149
149
|
"referenceLocation": "DBHeaderProps"
|
|
150
150
|
}
|
|
@@ -170,7 +170,7 @@ export class DBHeader {
|
|
|
170
170
|
"references": {
|
|
171
171
|
"DBHeaderProps": {
|
|
172
172
|
"location": "import",
|
|
173
|
-
"path": "./model",
|
|
173
|
+
"path": "./model.js",
|
|
174
174
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
175
175
|
"referenceLocation": "DBHeaderProps"
|
|
176
176
|
}
|
|
@@ -196,7 +196,7 @@ export class DBHeader {
|
|
|
196
196
|
"references": {
|
|
197
197
|
"DBHeaderProps": {
|
|
198
198
|
"location": "import",
|
|
199
|
-
"path": "./model",
|
|
199
|
+
"path": "./model.js",
|
|
200
200
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
201
201
|
"referenceLocation": "DBHeaderProps"
|
|
202
202
|
}
|
|
@@ -222,7 +222,7 @@ export class DBHeader {
|
|
|
222
222
|
"references": {
|
|
223
223
|
"DBHeaderProps": {
|
|
224
224
|
"location": "import",
|
|
225
|
-
"path": "./model",
|
|
225
|
+
"path": "./model.js",
|
|
226
226
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
227
227
|
"referenceLocation": "DBHeaderProps"
|
|
228
228
|
}
|
|
@@ -248,7 +248,7 @@ export class DBHeader {
|
|
|
248
248
|
"references": {
|
|
249
249
|
"DBHeaderProps": {
|
|
250
250
|
"location": "import",
|
|
251
|
-
"path": "./model",
|
|
251
|
+
"path": "./model.js",
|
|
252
252
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
253
253
|
"referenceLocation": "DBHeaderProps"
|
|
254
254
|
}
|
|
@@ -272,7 +272,7 @@ export class DBHeader {
|
|
|
272
272
|
"references": {
|
|
273
273
|
"DBHeaderProps": {
|
|
274
274
|
"location": "import",
|
|
275
|
-
"path": "./model",
|
|
275
|
+
"path": "./model.js",
|
|
276
276
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
277
277
|
"referenceLocation": "DBHeaderProps"
|
|
278
278
|
}
|
|
@@ -298,7 +298,7 @@ export class DBHeader {
|
|
|
298
298
|
"references": {
|
|
299
299
|
"DBHeaderProps": {
|
|
300
300
|
"location": "import",
|
|
301
|
-
"path": "./model",
|
|
301
|
+
"path": "./model.js",
|
|
302
302
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
303
303
|
"referenceLocation": "DBHeaderProps"
|
|
304
304
|
}
|
|
@@ -324,7 +324,7 @@ export class DBHeader {
|
|
|
324
324
|
"references": {
|
|
325
325
|
"DBHeaderProps": {
|
|
326
326
|
"location": "import",
|
|
327
|
-
"path": "./model",
|
|
327
|
+
"path": "./model.js",
|
|
328
328
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
329
329
|
"referenceLocation": "DBHeaderProps"
|
|
330
330
|
}
|
|
@@ -350,7 +350,7 @@ export class DBHeader {
|
|
|
350
350
|
"references": {
|
|
351
351
|
"DBHeaderProps": {
|
|
352
352
|
"location": "import",
|
|
353
|
-
"path": "./model",
|
|
353
|
+
"path": "./model.js",
|
|
354
354
|
"id": "src/components/header/model.ts::DBHeaderProps",
|
|
355
355
|
"referenceLocation": "DBHeaderProps"
|
|
356
356
|
}
|