@scania/tegel 1.39.0 → 1.40.0-stencil-core-4.38.1-beta.0
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/dist/cjs/index-Cpz8G-hs.js +2379 -0
- package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/tds-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/tds-accordion.cjs.entry.js +4 -5
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +4 -5
- package/dist/cjs/tds-body-cell.cjs.entry.js +5 -11
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
- package/dist/cjs/tds-button_2.cjs.entry.js +15 -14
- package/dist/cjs/tds-card.cjs.entry.js +28 -19
- package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
- package/dist/cjs/tds-chip.cjs.entry.js +19 -16
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +11 -12
- package/dist/cjs/tds-datetime.cjs.entry.js +29 -25
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +65 -58
- package/dist/cjs/tds-folder-tab.cjs.entry.js +5 -8
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
- package/dist/cjs/tds-footer-group.cjs.entry.js +8 -13
- package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-footer.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-cell.cjs.entry.js +19 -23
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +7 -8
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +3 -10
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +6 -9
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +12 -16
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +5 -9
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +5 -9
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +3 -5
- package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -13
- package/dist/cjs/tds-header-title.cjs.entry.js +4 -7
- package/dist/cjs/tds-header.cjs.entry.js +5 -8
- package/dist/cjs/tds-icon.cjs.entry.js +11 -13
- package/dist/cjs/tds-inline-tab.cjs.entry.js +6 -8
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -16
- package/dist/cjs/tds-link.cjs.entry.js +7 -7
- package/dist/cjs/tds-message.cjs.entry.js +16 -16
- package/dist/cjs/tds-modal.cjs.entry.js +20 -20
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -7
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -7
- package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
- package/dist/cjs/tds-radio-button.cjs.entry.js +12 -15
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +5 -8
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +6 -9
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +6 -8
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +8 -10
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +3 -6
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +5 -13
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +3 -10
- package/dist/cjs/tds-side-menu.cjs.entry.js +15 -12
- package/dist/cjs/tds-slider.cjs.entry.js +47 -32
- package/dist/cjs/tds-spinner.cjs.entry.js +5 -6
- package/dist/cjs/tds-step.cjs.entry.js +4 -12
- package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +18 -14
- package/dist/cjs/tds-table-body-row.cjs.entry.js +7 -7
- package/dist/cjs/tds-table-body.cjs.entry.js +9 -13
- package/dist/cjs/tds-table-footer.cjs.entry.js +24 -20
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-header.cjs.entry.js +7 -8
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +7 -7
- package/dist/cjs/tds-table.cjs.entry.js +21 -7
- package/dist/cjs/tds-tag.cjs.entry.js +6 -8
- package/dist/cjs/tds-text-field.cjs.entry.js +29 -18
- package/dist/cjs/tds-textarea.cjs.entry.js +19 -16
- package/dist/cjs/tds-toast.cjs.entry.js +19 -19
- package/dist/cjs/tds-toggle.cjs.entry.js +16 -17
- package/dist/cjs/tds-tooltip.cjs.entry.js +21 -19
- package/dist/cjs/tegel.cjs.js +7 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +9 -34
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
- package/dist/collection/components/accordion/accordion.js +8 -2
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +8 -2
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.css +14 -14
- package/dist/collection/components/button/button.js +44 -19
- package/dist/collection/components/card/card.js +64 -28
- package/dist/collection/components/checkbox/checkbox.js +41 -22
- package/dist/collection/components/chip/chip.css +23 -15
- package/dist/collection/components/chip/chip.js +41 -19
- package/dist/collection/components/datetime/datetime.css +21 -96
- package/dist/collection/components/datetime/datetime.js +77 -38
- package/dist/collection/components/divider/divider.js +9 -3
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +34 -21
- package/dist/collection/components/dropdown/dropdown.js +91 -55
- package/dist/collection/components/footer/footer-group/footer-group.js +13 -11
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +7 -4
- package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +5 -0
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +22 -15
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +5 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +10 -4
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +17 -15
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -6
- package/dist/collection/components/header/header-item/header-item.css +12 -5
- package/dist/collection/components/header/header-item/header-item.js +11 -4
- package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +10 -5
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -4
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.css +2 -0
- package/dist/collection/components/header/header-title/header-title.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +27 -16
- package/dist/collection/components/link/link.js +14 -5
- package/dist/collection/components/message/message.css +9 -9
- package/dist/collection/components/message/message.js +35 -18
- package/dist/collection/components/modal/modal.js +46 -25
- package/dist/collection/components/popover-canvas/popover-canvas.js +49 -18
- package/dist/collection/components/popover-core/popover-core.js +61 -30
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +6 -3
- package/dist/collection/components/popover-menu/popover-menu.js +46 -18
- package/dist/collection/components/radio-button/radio-button.js +37 -21
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +19 -10
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +1 -0
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +6 -3
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +1 -0
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +11 -4
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +17 -15
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +9 -9
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +9 -9
- package/dist/collection/components/side-menu/side-menu.js +22 -10
- package/dist/collection/components/slider/slider.js +98 -44
- package/dist/collection/components/spinner/spinner.js +9 -3
- package/dist/collection/components/stepper/step/step.js +13 -12
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +49 -12
- package/dist/collection/components/table/table-body/table-body.js +7 -8
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -13
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +14 -5
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +34 -15
- package/dist/collection/components/table/table-footer/table-footer.js +39 -20
- package/dist/collection/components/table/table-header/table-header.js +18 -8
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +41 -28
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +14 -5
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +6 -4
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +11 -12
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +6 -3
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +9 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +6 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
- package/dist/collection/components/tag/tag.js +13 -6
- package/dist/collection/components/text-field/text-field.js +128 -36
- package/dist/collection/components/textarea/textarea.js +71 -31
- package/dist/collection/components/toast/toast.js +45 -24
- package/dist/collection/components/toggle/toggle.js +40 -22
- package/dist/collection/components/tooltip/tooltip.js +53 -26
- package/dist/collection/utils/dom.js +7 -0
- package/dist/components/index.js +1790 -1
- package/dist/components/{p-f04f04b5.js → p-B569z5eW.js} +25 -15
- package/dist/components/{p-ad6babcd.js → p-BHBgkUfr.js} +15 -11
- package/dist/components/{p-9ad61cb5.js → p-BhLq7lgx.js} +8 -7
- package/dist/components/{p-de36fc8a.js → p-BiyghEA7.js} +40 -42
- package/dist/components/{p-92c2da85.js → p-BxmFjTxG.js} +14 -10
- package/dist/components/{p-927cf777.js → p-CMsPXG7a.js} +8 -9
- package/dist/components/{p-b390ece5.js → p-CPDv0bBc.js} +16 -14
- package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
- package/dist/components/p-ChCWm6If.js +95 -0
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-072bf53a.js → p-D1ati-pM.js} +14 -12
- package/dist/components/{p-40253725.js → p-DnzQe_HU.js} +27 -21
- package/dist/components/{p-b609e7a7.js → p-DuxH3vDC.js} +8 -9
- package/dist/components/{p-c4318e35.js → p-Ee9QeMgy.js} +41 -26
- package/dist/components/{p-6eecf159.js → p-FqP1yGh_.js} +10 -7
- package/dist/components/{p-71c3dfe9.js → p-HRj1DOvh.js} +12 -9
- package/dist/components/{p-3b58a9f3.js → p-Ip9G3co9.js} +39 -22
- package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/components/{p-d0cf68be.js → p-QnvG_QPu.js} +10 -9
- package/dist/components/{p-d3866be7.js → p-X1sPx4t5.js} +45 -37
- package/dist/components/tds-accordion-item.js +16 -9
- package/dist/components/tds-accordion.js +9 -6
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +9 -6
- package/dist/components/tds-body-cell.js +10 -12
- package/dist/components/tds-breadcrumb.js +8 -6
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +36 -23
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +24 -17
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +35 -27
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +10 -9
- package/dist/components/tds-folder-tabs.js +21 -17
- package/dist/components/tds-footer-group.js +14 -15
- package/dist/components/tds-footer-item.js +8 -7
- package/dist/components/tds-footer.js +12 -10
- package/dist/components/tds-header-brand-symbol.js +10 -9
- package/dist/components/tds-header-cell.js +25 -25
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +8 -11
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +22 -22
- package/dist/components/tds-header-hamburger.js +12 -12
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid-item.js +8 -7
- package/dist/components/tds-header-launcher-grid-title.js +9 -8
- package/dist/components/tds-header-launcher-grid.js +9 -9
- package/dist/components/tds-header-launcher-list-item.js +9 -8
- package/dist/components/tds-header-launcher-list-title.js +9 -8
- package/dist/components/tds-header-launcher-list.js +9 -7
- package/dist/components/tds-header-launcher.js +18 -19
- package/dist/components/tds-header-title.js +9 -8
- package/dist/components/tds-header.js +9 -8
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +11 -9
- package/dist/components/tds-inline-tabs.js +23 -18
- package/dist/components/tds-link.js +12 -8
- package/dist/components/tds-message.js +22 -18
- package/dist/components/tds-modal.js +26 -22
- package/dist/components/tds-navigation-tab.js +10 -8
- package/dist/components/tds-navigation-tabs.js +24 -19
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +10 -8
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +17 -16
- package/dist/components/tds-side-menu-close-button.js +10 -9
- package/dist/components/tds-side-menu-collapse-button.js +12 -11
- package/dist/components/tds-side-menu-dropdown-list-item.js +11 -9
- package/dist/components/tds-side-menu-dropdown-list.js +9 -8
- package/dist/components/tds-side-menu-dropdown.js +15 -13
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +8 -7
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +10 -13
- package/dist/components/tds-side-menu.js +20 -13
- package/dist/components/tds-slider.js +56 -37
- package/dist/components/tds-spinner.js +10 -7
- package/dist/components/tds-step.js +10 -14
- package/dist/components/tds-stepper.js +18 -7
- package/dist/components/tds-table-body-input-wrapper.js +10 -8
- package/dist/components/tds-table-body-row-expandable.js +23 -15
- package/dist/components/tds-table-body-row.js +13 -9
- package/dist/components/tds-table-body.js +14 -14
- package/dist/components/tds-table-footer.js +33 -25
- package/dist/components/tds-table-header-input-wrapper.js +10 -8
- package/dist/components/tds-table-header.js +13 -10
- package/dist/components/tds-table-toolbar.js +13 -9
- package/dist/components/tds-table.js +26 -8
- package/dist/components/tds-tag.js +11 -9
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +27 -20
- package/dist/components/tds-toast.js +25 -21
- package/dist/components/tds-toggle.js +21 -18
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-Cl9XBhQW.js +2350 -0
- package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
- package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
- package/dist/esm/loader.js +3 -4
- package/dist/esm/tds-accordion-item.entry.js +10 -5
- package/dist/esm/tds-accordion.entry.js +4 -3
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +4 -3
- package/dist/esm/tds-body-cell.entry.js +5 -9
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +2 -4
- package/dist/esm/tds-button_2.entry.js +15 -12
- package/dist/esm/tds-card.entry.js +28 -17
- package/dist/esm/tds-checkbox.entry.js +13 -13
- package/dist/esm/tds-chip.entry.js +19 -14
- package/dist/esm/tds-core-header-item_2.entry.js +11 -10
- package/dist/esm/tds-datetime.entry.js +29 -23
- package/dist/esm/tds-dropdown_2.entry.js +65 -56
- package/dist/esm/tds-folder-tab.entry.js +5 -6
- package/dist/esm/tds-folder-tabs.entry.js +15 -13
- package/dist/esm/tds-footer-group.entry.js +8 -11
- package/dist/esm/tds-footer-item.entry.js +3 -4
- package/dist/esm/tds-footer.entry.js +7 -7
- package/dist/esm/tds-header-brand-symbol.entry.js +3 -4
- package/dist/esm/tds-header-cell.entry.js +19 -21
- package/dist/esm/tds-header-dropdown-list-item.entry.js +7 -6
- package/dist/esm/tds-header-dropdown-list-user.entry.js +3 -8
- package/dist/esm/tds-header-dropdown-list.entry.js +6 -7
- package/dist/esm/tds-header-dropdown.entry.js +12 -14
- package/dist/esm/tds-header-hamburger.entry.js +5 -7
- package/dist/esm/tds-header-launcher-button.entry.js +7 -7
- package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -4
- package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -5
- package/dist/esm/tds-header-launcher-grid.entry.js +5 -7
- package/dist/esm/tds-header-launcher-list-item.entry.js +3 -4
- package/dist/esm/tds-header-launcher-list-title.entry.js +4 -5
- package/dist/esm/tds-header-launcher-list.entry.js +3 -3
- package/dist/esm/tds-header-launcher.entry.js +8 -11
- package/dist/esm/tds-header-title.entry.js +4 -5
- package/dist/esm/tds-header.entry.js +5 -6
- package/dist/esm/tds-icon.entry.js +11 -11
- package/dist/esm/tds-inline-tab.entry.js +6 -6
- package/dist/esm/tds-inline-tabs.entry.js +17 -14
- package/dist/esm/tds-link.entry.js +7 -5
- package/dist/esm/tds-message.entry.js +16 -14
- package/dist/esm/tds-modal.entry.js +20 -18
- package/dist/esm/tds-navigation-tab.entry.js +5 -5
- package/dist/esm/tds-navigation-tabs.entry.js +18 -15
- package/dist/esm/tds-popover-canvas.entry.js +19 -11
- package/dist/esm/tds-popover-core.entry.js +40 -34
- package/dist/esm/tds-popover-menu-item.entry.js +5 -5
- package/dist/esm/tds-popover-menu.entry.js +18 -11
- package/dist/esm/tds-radio-button.entry.js +12 -13
- package/dist/esm/tds-side-menu-close-button.entry.js +5 -6
- package/dist/esm/tds-side-menu-collapse-button.entry.js +6 -7
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +6 -6
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +4 -5
- package/dist/esm/tds-side-menu-dropdown.entry.js +8 -8
- package/dist/esm/tds-side-menu-item.entry.js +9 -7
- package/dist/esm/tds-side-menu-overlay.entry.js +3 -4
- package/dist/esm/tds-side-menu-user-image_2.entry.js +5 -11
- package/dist/esm/tds-side-menu-user.entry.js +3 -8
- package/dist/esm/tds-side-menu.entry.js +15 -10
- package/dist/esm/tds-slider.entry.js +47 -30
- package/dist/esm/tds-spinner.entry.js +5 -4
- package/dist/esm/tds-step.entry.js +4 -10
- package/dist/esm/tds-stepper.entry.js +13 -4
- package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +18 -12
- package/dist/esm/tds-table-body-row.entry.js +7 -5
- package/dist/esm/tds-table-body.entry.js +9 -11
- package/dist/esm/tds-table-footer.entry.js +24 -18
- package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-header.entry.js +7 -6
- package/dist/esm/tds-table-toolbar.entry.js +7 -5
- package/dist/esm/tds-table.entry.js +21 -5
- package/dist/esm/tds-tag.entry.js +6 -6
- package/dist/esm/tds-text-field.entry.js +29 -16
- package/dist/esm/tds-textarea.entry.js +19 -14
- package/dist/esm/tds-toast.entry.js +19 -17
- package/dist/esm/tds-toggle.entry.js +16 -15
- package/dist/esm/tds-tooltip.entry.js +21 -17
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/{p-6e57997e.entry.js → p-03d1456f.entry.js} +1 -1
- package/dist/tegel/p-07c5665c.entry.js +1 -0
- package/dist/tegel/p-08d8a464.entry.js +1 -0
- package/dist/tegel/{p-b734b309.entry.js → p-0a3bd804.entry.js} +1 -1
- package/dist/tegel/{p-72006dd7.entry.js → p-0ab44df9.entry.js} +1 -1
- package/dist/tegel/p-0e8721cf.entry.js +1 -0
- package/dist/tegel/p-1371f357.entry.js +1 -0
- package/dist/tegel/p-147d2c33.entry.js +1 -0
- package/dist/tegel/p-250a843a.entry.js +1 -0
- package/dist/tegel/p-2b89b750.entry.js +1 -0
- package/dist/tegel/p-2c5e101e.entry.js +1 -0
- package/dist/tegel/p-2ebac517.entry.js +1 -0
- package/dist/tegel/{p-2f9b15f6.entry.js → p-36ea4775.entry.js} +1 -1
- package/dist/tegel/p-37873e68.entry.js +1 -0
- package/dist/tegel/p-37aa4516.entry.js +1 -0
- package/dist/tegel/p-3910b9e0.entry.js +1 -0
- package/dist/tegel/p-39f80d1b.entry.js +1 -0
- package/dist/tegel/{p-3022d31d.entry.js → p-3c409856.entry.js} +1 -1
- package/dist/tegel/p-3e1edb21.entry.js +1 -0
- package/dist/tegel/p-3e27eee0.entry.js +1 -0
- package/dist/tegel/p-3f0c978a.entry.js +1 -0
- package/dist/tegel/p-41fa3671.entry.js +1 -0
- package/dist/tegel/{p-bcdf13e0.entry.js → p-449e8c13.entry.js} +1 -1
- package/dist/tegel/p-4b711300.entry.js +1 -0
- package/dist/tegel/p-4ebf13bf.entry.js +1 -0
- package/dist/tegel/{p-525c81b1.entry.js → p-57def79e.entry.js} +1 -1
- package/dist/tegel/p-599ae54d.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-59a1c10f.entry.js} +1 -1
- package/dist/tegel/p-5d64b236.entry.js +1 -0
- package/dist/tegel/p-6066b5be.entry.js +1 -0
- package/dist/tegel/p-620b157a.entry.js +1 -0
- package/dist/tegel/p-624a8ca4.entry.js +1 -0
- package/dist/tegel/p-628798d4.entry.js +1 -0
- package/dist/tegel/p-63646981.entry.js +1 -0
- package/dist/tegel/{p-87740f23.entry.js → p-69bf3133.entry.js} +1 -1
- package/dist/tegel/{p-d0f09796.entry.js → p-6cad127c.entry.js} +1 -1
- package/dist/tegel/{p-c465f9b8.entry.js → p-6d3447b7.entry.js} +1 -1
- package/dist/tegel/p-71943f32.entry.js +1 -0
- package/dist/tegel/p-7ba0b456.entry.js +1 -0
- package/dist/tegel/p-802e8d8a.entry.js +1 -0
- package/dist/tegel/p-80be1071.entry.js +1 -0
- package/dist/tegel/p-8501b0d7.entry.js +1 -0
- package/dist/tegel/{p-87219f00.entry.js → p-8ad8234f.entry.js} +1 -1
- package/dist/tegel/p-8d4d136f.entry.js +1 -0
- package/dist/tegel/{p-ecb34850.entry.js → p-8d98759c.entry.js} +1 -1
- package/dist/tegel/p-902183d7.entry.js +1 -0
- package/dist/tegel/p-936d77e4.entry.js +1 -0
- package/dist/tegel/p-942df5c4.entry.js +1 -0
- package/dist/tegel/{p-fbffe3aa.entry.js → p-99f46fe1.entry.js} +1 -1
- package/dist/tegel/p-9b7ad650.entry.js +1 -0
- package/dist/tegel/{p-3a92d554.entry.js → p-9c62f888.entry.js} +1 -1
- package/dist/tegel/p-9f25060e.entry.js +1 -0
- package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
- package/dist/tegel/p-Cl9XBhQW.js +2 -0
- package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/tegel/p-a08baed5.entry.js +1 -0
- package/dist/tegel/p-a30159f5.entry.js +1 -0
- package/dist/tegel/{p-c7b0253c.entry.js → p-a3ef627e.entry.js} +1 -1
- package/dist/tegel/{p-bb1d069f.entry.js → p-a595dba7.entry.js} +1 -1
- package/dist/tegel/p-aaacbe31.entry.js +1 -0
- package/dist/tegel/p-b0f44fd9.entry.js +1 -0
- package/dist/tegel/p-b2bfe0fb.entry.js +1 -0
- package/dist/tegel/{p-eff87481.entry.js → p-b4df0131.entry.js} +1 -1
- package/dist/tegel/p-b509c734.entry.js +1 -0
- package/dist/tegel/{p-0cfe8671.entry.js → p-b82a11bf.entry.js} +1 -1
- package/dist/tegel/p-bbea0ac6.entry.js +1 -0
- package/dist/tegel/p-c0114238.entry.js +1 -0
- package/dist/tegel/p-c578be27.entry.js +1 -0
- package/dist/tegel/p-d5041602.entry.js +1 -0
- package/dist/tegel/p-dfd5a301.entry.js +1 -0
- package/dist/tegel/{p-5dd2aac8.entry.js → p-e22a2a9b.entry.js} +1 -1
- package/dist/tegel/p-e25343d7.entry.js +1 -0
- package/dist/tegel/p-e2ce7b37.entry.js +1 -0
- package/dist/tegel/p-e4d0d1cb.entry.js +1 -0
- package/dist/tegel/{p-bdc913a0.entry.js → p-e853d304.entry.js} +1 -1
- package/dist/tegel/p-eb479100.entry.js +1 -0
- package/dist/tegel/{p-3ec01fb3.entry.js → p-ec41cf1e.entry.js} +1 -1
- package/dist/tegel/p-ec60f391.entry.js +1 -0
- package/dist/tegel/p-ee227187.entry.js +1 -0
- package/dist/tegel/{p-336f2de3.entry.js → p-ee500e52.entry.js} +1 -1
- package/dist/tegel/p-f42f851e.entry.js +1 -0
- package/dist/tegel/p-f6cf2d52.entry.js +1 -0
- package/dist/tegel/tegel.css +4 -4
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +5 -1
- package/dist/types/components.d.ts +560 -2
- package/dist/types/stencil-public-runtime.d.ts +78 -5
- package/dist/types/utils/dom.d.ts +2 -0
- package/package.json +5 -3
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-ca8040ad.js +0 -2039
- package/dist/components/p-28ef5186.js +0 -1507
- package/dist/components/p-c8dc3566.js +0 -91
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-51d04e39.js +0 -2009
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-0cac9ea6.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-1859156f.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1bbef1a5.entry.js +0 -1
- package/dist/tegel/p-1c75f8a7.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-22b6223e.entry.js +0 -1
- package/dist/tegel/p-23fb4dee.entry.js +0 -1
- package/dist/tegel/p-25f4b4ca.entry.js +0 -1
- package/dist/tegel/p-27c2f109.entry.js +0 -1
- package/dist/tegel/p-2c9ea0be.entry.js +0 -1
- package/dist/tegel/p-303acf88.entry.js +0 -1
- package/dist/tegel/p-30901c4d.entry.js +0 -1
- package/dist/tegel/p-35293420.entry.js +0 -1
- package/dist/tegel/p-3ebe93ff.entry.js +0 -1
- package/dist/tegel/p-462a6049.entry.js +0 -1
- package/dist/tegel/p-46c9af0f.entry.js +0 -1
- package/dist/tegel/p-4a666337.entry.js +0 -1
- package/dist/tegel/p-5bca9fe7.entry.js +0 -1
- package/dist/tegel/p-601a74ad.entry.js +0 -1
- package/dist/tegel/p-614bcd4b.entry.js +0 -1
- package/dist/tegel/p-628dc7f7.entry.js +0 -1
- package/dist/tegel/p-6a615ac1.entry.js +0 -1
- package/dist/tegel/p-7013249b.entry.js +0 -1
- package/dist/tegel/p-704682d6.entry.js +0 -1
- package/dist/tegel/p-7caad569.entry.js +0 -1
- package/dist/tegel/p-7cb9790d.entry.js +0 -1
- package/dist/tegel/p-7d427dff.entry.js +0 -1
- package/dist/tegel/p-83e6e31f.entry.js +0 -1
- package/dist/tegel/p-84de314b.entry.js +0 -1
- package/dist/tegel/p-86e99fdb.entry.js +0 -1
- package/dist/tegel/p-8ae4e03c.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-9099d978.entry.js +0 -1
- package/dist/tegel/p-9b0c886e.entry.js +0 -1
- package/dist/tegel/p-9b2257f3.entry.js +0 -1
- package/dist/tegel/p-a6238890.entry.js +0 -1
- package/dist/tegel/p-a66a4a4e.entry.js +0 -1
- package/dist/tegel/p-a829417c.entry.js +0 -1
- package/dist/tegel/p-aec3e4cf.entry.js +0 -1
- package/dist/tegel/p-af63a774.entry.js +0 -1
- package/dist/tegel/p-b20f250b.entry.js +0 -1
- package/dist/tegel/p-b2b9561f.entry.js +0 -1
- package/dist/tegel/p-bb9445ff.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-bd935506.entry.js +0 -1
- package/dist/tegel/p-c15eba7d.entry.js +0 -1
- package/dist/tegel/p-c4f701f6.entry.js +0 -1
- package/dist/tegel/p-c61ecc8e.entry.js +0 -1
- package/dist/tegel/p-cf7af8f2.entry.js +0 -1
- package/dist/tegel/p-d184a3f0.entry.js +0 -1
- package/dist/tegel/p-debd6adc.entry.js +0 -1
- package/dist/tegel/p-e1255160.js +0 -1
- package/dist/tegel/p-f2232281.entry.js +0 -1
- package/dist/tegel/p-f4b5e80b.entry.js +0 -1
- package/dist/tegel/p-f9c17612.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
- /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
- /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
- /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
- /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
- /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
- /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
- /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
- /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
- /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
- /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
- /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
2
|
|
|
3
3
|
const headerDropdownListUserCss = ":host{background-color:var(--tds-header-avatar-item-background);display:flex;height:84px}:host .user-box{gap:16px;width:100%;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host img,:host slot[name=thumbnail]::slotted(*){width:34px;border-radius:100%}:host .user-content{display:flex;flex-direction:column;gap:4px}:host .user-content .header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .user-content .subheader{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-header-avatar-item-color)}";
|
|
4
|
-
const TdsHeaderDropdownListUserStyle0 = headerDropdownListUserCss;
|
|
5
4
|
|
|
6
5
|
const TdsHeaderDropdownListLgUser = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
this.imgUrl = undefined;
|
|
10
|
-
this.imgAlt = undefined;
|
|
11
|
-
this.header = undefined;
|
|
12
|
-
this.subheader = undefined;
|
|
13
8
|
}
|
|
14
9
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '88298dc621372f56b0336686d055f27ef7bfee8a', role: "listitem" }, h("div", { key: 'da8b981e30d4cca52b4dfc2813e2d706f7c18d30', class: "user-box" }, this.imgUrl && h("img", { key: 'f81a370f4499f5bec4eedef0ef2d1aaa5aeca4ca', src: this.imgUrl, alt: this.imgAlt }), h("slot", { key: '33c9d2b8d0761d6915129cd03f4b596b5c05c1b4', name: "thumbanil" }), h("div", { key: '78a05fa64af6d694b4927fef55260e18c2d5711f', class: "user-content" }, h("div", { key: '15f6a48e0f10574ae14af2e2d92342ec77e85aa1', class: "header" }, this.header, h("slot", { key: '12ebbfbc257918f264c76e7d38a28827880cadec', name: "header" })), h("div", { key: 'bbd348e04b5ea5732bb4426547ef5ed9eddf55d0', class: "subheader" }, this.subheader, h("slot", { key: '403e7f20cb5b564928759ce0be1b058d12610290', name: "subheader" }))))));
|
|
16
11
|
}
|
|
17
12
|
get host() { return getElement(this); }
|
|
18
13
|
};
|
|
19
|
-
TdsHeaderDropdownListLgUser.style =
|
|
14
|
+
TdsHeaderDropdownListLgUser.style = headerDropdownListUserCss;
|
|
20
15
|
|
|
21
16
|
export { TdsHeaderDropdownListLgUser as tds_header_dropdown_list_user };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-
|
|
3
|
-
import './dfs-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
|
|
3
|
+
import './dfs-CLF3diNe.js';
|
|
4
4
|
|
|
5
5
|
const headerDropdownListCss = ":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:unset;background-color:var(--tds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([size=lg]){width:320px}";
|
|
6
|
-
const TdsHeaderDropdownListStyle0 = headerDropdownListCss;
|
|
7
6
|
|
|
8
7
|
const TdsHeaderDropdownList = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
11
10
|
// A Map to store the slots and their associated slotchange listeners.
|
|
12
11
|
this.slotListeners = new Map();
|
|
12
|
+
/** The size of the component. */
|
|
13
13
|
this.size = 'md';
|
|
14
|
-
this.headingElement = undefined;
|
|
15
14
|
}
|
|
16
15
|
componentWillLoad() {
|
|
17
16
|
const { children } = this.host;
|
|
@@ -74,10 +73,10 @@ const TdsHeaderDropdownList = class {
|
|
|
74
73
|
'role': 'list',
|
|
75
74
|
'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
|
|
76
75
|
};
|
|
77
|
-
return (h(Host, Object.assign({ key: '
|
|
76
|
+
return (h(Host, Object.assign({ key: '57e8ecd046b7a260f1516fc80673e9d095ffd4d3' }, attributes), h("slot", { key: 'e0bafe5fffcf8864faebd4603597e3e424a35046' })));
|
|
78
77
|
}
|
|
79
78
|
get host() { return getElement(this); }
|
|
80
79
|
};
|
|
81
|
-
TdsHeaderDropdownList.style =
|
|
80
|
+
TdsHeaderDropdownList.style = headerDropdownListCss;
|
|
82
81
|
|
|
83
82
|
export { TdsHeaderDropdownList as tds_header_dropdown_list };
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { g as generateUniqueId } from './generateUniqueId-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
|
-
const headerDropdownCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host{height:var(--tds-header-height);position:relative}:host .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-top-right-radius:0;border-top-left-radius:0}:host .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}:host .state-open .dropdown-icon{transform:rotate(180deg)}:host .state-open .button{position:relative;z-index:901}";
|
|
5
|
-
const TdsHeaderDropdownStyle0 = headerDropdownCss;
|
|
4
|
+
const headerDropdownCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host{height:var(--tds-header-height);position:relative}:host .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-top-right-radius:0;border-top-left-radius:0}:host .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}:host .state-open .dropdown-icon{transform:rotate(180deg)}:host .state-open .button{position:relative;z-index:901}:host .state-open tds-header-item button:hover,:host .state-open tds-header-item a:hover{background-color:var(--tds-nav-item-background-hover);box-shadow:none}";
|
|
6
5
|
|
|
7
6
|
const TdsHeaderDropdown = class {
|
|
8
7
|
constructor(hostRef) {
|
|
9
8
|
registerInstance(this, hostRef);
|
|
9
|
+
/** If the dropdown icon (downwards chevron) should be hidden. */
|
|
10
|
+
this.noDropdownIcon = false;
|
|
11
|
+
/** If the button that opens the dropdown should appear selected. */
|
|
12
|
+
this.selected = false;
|
|
13
|
+
this.open = false;
|
|
10
14
|
this.uuid = generateUniqueId();
|
|
11
15
|
this.handleSlottedItemClick = (event) => {
|
|
12
16
|
const eventSource = event.target.tagName.toLowerCase();
|
|
@@ -14,12 +18,6 @@ const TdsHeaderDropdown = class {
|
|
|
14
18
|
this.open = false;
|
|
15
19
|
}
|
|
16
20
|
};
|
|
17
|
-
this.label = undefined;
|
|
18
|
-
this.noDropdownIcon = false;
|
|
19
|
-
this.selected = false;
|
|
20
|
-
this.tdsAriaLabel = undefined;
|
|
21
|
-
this.open = false;
|
|
22
|
-
this.buttonEl = undefined;
|
|
23
21
|
}
|
|
24
22
|
onAnyClick(event) {
|
|
25
23
|
// Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
|
|
@@ -47,13 +45,13 @@ const TdsHeaderDropdown = class {
|
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '0b5e0474e13db90b9a61f8177b4191d26f542d9f' }, h("div", { key: 'b45a13bc693415d7ff3d48cca6e5899202f3d24a', class: {
|
|
51
49
|
'state-open': this.open,
|
|
52
|
-
} }, h("tds-header-item", { key: '
|
|
50
|
+
} }, h("tds-header-item", { key: 'd8bd0a9a07ac2f1e816faf7790756ba496918165', class: "button", active: this.open, selected: this.selected }, h("button", { key: '8636bf077ec6e58463dd2b422621d7d56a29c38f', ref: (el) => {
|
|
53
51
|
this.buttonEl = el;
|
|
54
52
|
}, "aria-expanded": `${this.open}`, "aria-controls": `launcher-${this.uuid}`, "aria-current": this.selected ? 'location' : 'false', onClick: () => {
|
|
55
53
|
this.toggleDropdown();
|
|
56
|
-
}, "aria-label": this.tdsAriaLabel }, h("slot", { key: '
|
|
54
|
+
}, "aria-label": this.tdsAriaLabel }, h("slot", { key: 'f2e9701f7d939ad630c9bcc37ad4aab77de189eb', name: "icon" }), this.label, h("slot", { key: '51e0e5b9f10a8feb8df8a1ef7474ec7ac14e1242', name: "label" }), !this.noDropdownIcon && (h("tds-icon", { key: 'd7476899681822df78fb75fe8dbeaf08cd076ba7', class: "dropdown-icon", name: "chevron_down", size: "16px", svgTitle: "Dropdown icon" })))), this.buttonEl && (h("tds-popover-canvas", { key: '79f9338c0c92ff4aa1baa6331c303c19d846557f', id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
|
|
57
55
|
{
|
|
58
56
|
name: 'flip',
|
|
59
57
|
options: {
|
|
@@ -64,6 +62,6 @@ const TdsHeaderDropdown = class {
|
|
|
64
62
|
}
|
|
65
63
|
get host() { return getElement(this); }
|
|
66
64
|
};
|
|
67
|
-
TdsHeaderDropdown.style =
|
|
65
|
+
TdsHeaderDropdown.style = headerDropdownCss;
|
|
68
66
|
|
|
69
67
|
export { TdsHeaderDropdown as tds_header_dropdown };
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { i as inheritAriaAttributes } from './inheritAriaAttributes-
|
|
3
|
-
import './inheritAttributes-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
3
|
+
import './inheritAttributes-CF8bH08v.js';
|
|
4
4
|
|
|
5
5
|
const headerHamburgerCss = ":host{color:var(--tds-white)}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:background 0.2s ease-in-out, color 0.2s ease-in-out}@media screen and (min-width: 992px){:host tds-header-item{display:none}:host([persistent]) tds-header-item{display:block}}";
|
|
6
|
-
const TdsHeaderHamburgerStyle0 = headerHamburgerCss;
|
|
7
6
|
|
|
8
7
|
const TdsHeaderHamburger = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
11
|
-
this.tdsAriaLabel = undefined;
|
|
12
10
|
}
|
|
13
11
|
render() {
|
|
14
12
|
const inheritedButtonProps = Object.assign({}, inheritAriaAttributes(this.host));
|
|
15
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'f1b3e80727ae2fbb84cbdf19fdd6500067fa010b' }, h("tds-header-item", { key: '6053c08c86b6f4149bed2eb7c8a4a26f16262fc9' }, h("button", Object.assign({ key: 'b2b645ed658328622e9a6411d5bcdfe66e59028c' }, inheritedButtonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '6140334699f8a27f7d78387bb3bfcf08295a0c90', class: "icon", name: "burger", size: "20px" })))));
|
|
16
14
|
}
|
|
17
15
|
get host() { return getElement(this); }
|
|
18
16
|
};
|
|
19
|
-
TdsHeaderHamburger.style =
|
|
17
|
+
TdsHeaderHamburger.style = headerHamburgerCss;
|
|
20
18
|
|
|
21
19
|
export { TdsHeaderHamburger as tds_header_hamburger };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { i as inheritAriaAttributes } from './inheritAriaAttributes-
|
|
3
|
-
import './inheritAttributes-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
3
|
+
import './inheritAttributes-CF8bH08v.js';
|
|
4
4
|
|
|
5
5
|
const headerLauncherButtonCss = ":host{display:block}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";
|
|
6
|
-
const TdsHeaderLauncherButtonStyle0 = headerLauncherButtonCss;
|
|
7
6
|
|
|
8
7
|
const TdsHeaderLauncherButton = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
10
|
+
/** If the button should appear active. Can be used when the button is
|
|
11
|
+
* triggering a dropdown, and the dropdown is open, for example. */
|
|
11
12
|
this.active = false;
|
|
12
|
-
this.tdsAriaLabel = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
this.ariaAttributes = Object.assign(Object.assign({}, this.ariaAttributes), inheritAriaAttributes(this.host));
|
|
16
16
|
const buttonProps = Object.assign({}, this.ariaAttributes);
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '6d8b16f71586f3bc944f17aa80234605bbc57ab0' }, h("tds-header-item", { key: '49529617101956090cdc2092d4df80fdf376a123', active: this.active }, h("button", Object.assign({ key: '76cd7b84413aafedaec6b1326e55307bf640b73f' }, buttonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '145394461e3bc680a2f2b07e82f8b3bb549f1e6d', class: "icon", name: "bento", size: "20px", "svg-title": this.tdsAriaLabel })))));
|
|
18
18
|
}
|
|
19
19
|
get host() { return getElement(this); }
|
|
20
20
|
};
|
|
21
|
-
TdsHeaderLauncherButton.style =
|
|
21
|
+
TdsHeaderLauncherButton.style = headerLauncherButtonCss;
|
|
22
22
|
|
|
23
23
|
export { TdsHeaderLauncherButton as tds_header_launcher_button };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
|
|
2
2
|
|
|
3
3
|
const headerLauncherGridItemCss = ":host{display:block;width:96px;height:96px}:host ::slotted(a),:host ::slotted(button){all:unset;box-sizing:border-box;border-right:1px solid var(--tds-nav-item-border-color);width:100%;height:100%;border:none;padding:0 12px;display:flex;text-align:center;justify-content:center;align-items:center;flex-direction:column;gap:8px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);background-color:var(--tds-header-app-launcher-menu-bg);color:var(--tds-header-app-launcher-grid-color);border-radius:4px;transition:background-color 150ms ease}:host ::slotted(a:hover),:host ::slotted(button:hover){background-color:var(--tds-header-app-launcher-grid-hover-background);cursor:pointer}:host ::slotted(a:focus-visible),:host ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}";
|
|
4
|
-
const TdsHeaderLauncherGridItemStyle0 = headerLauncherGridItemCss;
|
|
5
4
|
|
|
6
5
|
const TdsHeaderLauncherGridItem = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '1506d0cda6ddcdd025ea7febf24e34c8e0d5b479', role: "listitem" }, h("slot", { key: 'f6ae96ad0c953297fddf43cfcee6d688a93846f5' })));
|
|
12
11
|
}
|
|
13
12
|
};
|
|
14
|
-
TdsHeaderLauncherGridItem.style =
|
|
13
|
+
TdsHeaderLauncherGridItem.style = headerLauncherGridItemCss;
|
|
15
14
|
|
|
16
15
|
export { TdsHeaderLauncherGridItem as tds_header_launcher_grid_item };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { g as generateUniqueId } from './generateUniqueId-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherGridTitleCss = ".tds-header-launcher-grid-title{all:unset;box-sizing:border-box;font:var(--tds-detail-04);letter-spacing:var(--tds-detail-04-ls);color:var(--tds-header-app-launcher-grid-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
|
|
5
|
-
const TdsHeaderLauncherGridTitleStyle0 = headerLauncherGridTitleCss;
|
|
6
5
|
|
|
7
6
|
const TdsHeaderLauncherGridTitle = class {
|
|
8
7
|
constructor(hostRef) {
|
|
@@ -10,9 +9,9 @@ const TdsHeaderLauncherGridTitle = class {
|
|
|
10
9
|
this.uuid = generateUniqueId();
|
|
11
10
|
}
|
|
12
11
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '25db2b1431472f1883bce6605c060e48129dacc5' }, h("h3", { key: '0caaece113240546638d8d0366bcecba6f945986', class: "tds-header-launcher-grid-title", id: `tds-header-launcher-grid-title-${this.uuid}` }, h("slot", { key: '16962f436f38d529357dbaade615badd87862323' }))));
|
|
14
13
|
}
|
|
15
14
|
};
|
|
16
|
-
TdsHeaderLauncherGridTitle.style =
|
|
15
|
+
TdsHeaderLauncherGridTitle.style = headerLauncherGridTitleCss;
|
|
17
16
|
|
|
18
17
|
export { TdsHeaderLauncherGridTitle as tds_header_launcher_grid_title };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-
|
|
3
|
-
import './dfs-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
|
|
3
|
+
import './dfs-CLF3diNe.js';
|
|
4
4
|
|
|
5
5
|
const headerLauncherGridCss = ".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";
|
|
6
|
-
const TdsHeaderLauncherGridStyle0 = headerLauncherGridCss;
|
|
7
6
|
|
|
8
7
|
const TdsHeaderLauncherGrid = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
11
|
-
this.headingElement = undefined;
|
|
12
10
|
}
|
|
13
11
|
componentWillLoad() {
|
|
14
12
|
const listRoot = this.host;
|
|
@@ -30,10 +28,10 @@ const TdsHeaderLauncherGrid = class {
|
|
|
30
28
|
'role': 'list',
|
|
31
29
|
'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
|
|
32
30
|
};
|
|
33
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '5d0824ce5d829d78fd61e2e53e08b6bdca0e4569' }, h("div", Object.assign({ key: '7e6f891f6bc92b4f93874a538e017382c72e176e' }, listAttributes), h("slot", { key: '31133b8760e19ed767f24544fea026c59c181e53' }))));
|
|
34
32
|
}
|
|
35
33
|
get host() { return getElement(this); }
|
|
36
34
|
};
|
|
37
|
-
TdsHeaderLauncherGrid.style =
|
|
35
|
+
TdsHeaderLauncherGrid.style = headerLauncherGridCss;
|
|
38
36
|
|
|
39
37
|
export { TdsHeaderLauncherGrid as tds_header_launcher_grid };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
|
|
2
2
|
|
|
3
3
|
const headerLauncherListItemCss = ":host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}";
|
|
4
|
-
const TdsHeaderLauncherListItemStyle0 = headerLauncherListItemCss;
|
|
5
4
|
|
|
6
5
|
const TdsHeaderLauncherListItem = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'bcc63c58186216485acf6e6e0f896158e92cd29e' }, h("tds-header-dropdown-list-item", { key: 'e4b963bf20b97aa19f8f6dbd4d4a6face04220db', size: "lg" }, h("slot", { key: '03445a4fe12c6f5a283b6d2635d657bbfd103263' }))));
|
|
12
11
|
}
|
|
13
12
|
};
|
|
14
|
-
TdsHeaderLauncherListItem.style =
|
|
13
|
+
TdsHeaderLauncherListItem.style = headerLauncherListItemCss;
|
|
15
14
|
|
|
16
15
|
export { TdsHeaderLauncherListItem as tds_header_launcher_list_item };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { g as generateUniqueId } from './generateUniqueId-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherListTitleCss = ".tds-header-launcher-list-title{all:unset;box-sizing:border-box;font:var(--tds-detail-06);letter-spacing:var(--tds-detail-06-ls);color:var(--tds-header-app-launcher-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
|
|
5
|
-
const TdsHeaderLauncherListTitleStyle0 = headerLauncherListTitleCss;
|
|
6
5
|
|
|
7
6
|
const TdsHeaderLauncherListTitle = class {
|
|
8
7
|
constructor(hostRef) {
|
|
@@ -10,10 +9,10 @@ const TdsHeaderLauncherListTitle = class {
|
|
|
10
9
|
this.uuid = generateUniqueId();
|
|
11
10
|
}
|
|
12
11
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '2bd6c5fa87fe1b94065980a7f7794ada3ccf2a9f' }, h("h3", { key: '3ccf8d967a2bda31d1724d4d3bf522cb1052f497', class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", { key: '831e18f03058184f3825541fd2be34d07a443e78' }))));
|
|
14
13
|
}
|
|
15
14
|
get host() { return getElement(this); }
|
|
16
15
|
};
|
|
17
|
-
TdsHeaderLauncherListTitle.style =
|
|
16
|
+
TdsHeaderLauncherListTitle.style = headerLauncherListTitleCss;
|
|
18
17
|
|
|
19
18
|
export { TdsHeaderLauncherListTitle as tds_header_launcher_list_title };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { g as generateUniqueId } from './generateUniqueId-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const TdsHeaderLauncherList = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -7,7 +7,7 @@ const TdsHeaderLauncherList = class {
|
|
|
7
7
|
this.uuid = generateUniqueId();
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'ceedbada9d5a96ecdb5306b0e55f939ba69c78d8' }, h("tds-header-dropdown-list", { key: 'a1ffa08021a4ac0d3aad0401330b6d82ad4e20f9', size: "lg" }, h("slot", { key: 'e0808a6e71a6bb26e8b56005c9552fde5af9296b' }))));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { g as generateUniqueId } from './generateUniqueId-
|
|
3
|
-
import { i as inheritAriaAttributes } from './inheritAriaAttributes-
|
|
4
|
-
import './inheritAttributes-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
4
|
+
import './inheritAttributes-CF8bH08v.js';
|
|
5
5
|
|
|
6
6
|
const headerLauncherCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host .wrapper{height:var(--tds-header-height);position:relative}:host .wrapper .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-radius:0}:host .wrapper .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .wrapper .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .wrapper .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .wrapper .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}@media all and (max-width: 384px){:host .wrapper .menu{width:100vw}}:host .wrapper.state-list-type-menu .menu{height:calc(100vh - var(--tds-header-height))}:host .wrapper.state-open .button{position:relative;z-index:901}";
|
|
7
|
-
const TdsHeaderLauncherStyle0 = headerLauncherCss;
|
|
8
7
|
|
|
9
8
|
const TdsHeaderLauncher = class {
|
|
10
9
|
constructor(hostRef) {
|
|
11
10
|
registerInstance(this, hostRef);
|
|
12
|
-
this.uuid = generateUniqueId();
|
|
13
11
|
this.open = false;
|
|
14
|
-
this.buttonEl = undefined;
|
|
15
12
|
this.hasListTypeMenu = false;
|
|
16
|
-
this.
|
|
13
|
+
this.uuid = generateUniqueId();
|
|
17
14
|
}
|
|
18
15
|
onAnyClick(event) {
|
|
19
16
|
// Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
|
|
@@ -51,11 +48,11 @@ const TdsHeaderLauncher = class {
|
|
|
51
48
|
}, 'ref': (el) => {
|
|
52
49
|
this.buttonEl = el;
|
|
53
50
|
} });
|
|
54
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '8fc1d1c845a4dfa5deba02a83edf89c6d3ea8278' }, h("div", { key: '2c23ffd716390481b3cdd2da2a4062193723f800', class: {
|
|
55
52
|
'wrapper': true,
|
|
56
53
|
'state-open': this.open,
|
|
57
54
|
'state-list-type-menu': this.hasListTypeMenu,
|
|
58
|
-
} }, h("tds-header-launcher-button", Object.assign({ key: '
|
|
55
|
+
} }, h("tds-header-launcher-button", Object.assign({ key: 'a82084372217eb32338e15bd436ed09006331043' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '87bd7d7aad3f60993c9cfb9df25c5cd54a45150f', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
|
|
59
56
|
{
|
|
60
57
|
name: 'flip',
|
|
61
58
|
options: {
|
|
@@ -66,6 +63,6 @@ const TdsHeaderLauncher = class {
|
|
|
66
63
|
}
|
|
67
64
|
get host() { return getElement(this); }
|
|
68
65
|
};
|
|
69
|
-
TdsHeaderLauncher.style =
|
|
66
|
+
TdsHeaderLauncher.style = headerLauncherCss;
|
|
70
67
|
|
|
71
68
|
export { TdsHeaderLauncher as tds_header_launcher };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-Cl9XBhQW.js';
|
|
2
2
|
|
|
3
|
-
const headerTitleCss = "h4{box-sizing:border-box;color:var(--tds-header-nav-item-color);font-weight:normal;font-family:var(--tds-font-family-headline);letter-spacing:normal;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}h4 slot{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 32px 0 16px}";
|
|
4
|
-
const TdsHeaderTitleStyle0 = headerTitleCss;
|
|
3
|
+
const headerTitleCss = "h4{box-sizing:border-box;color:var(--tds-header-nav-item-color);font-weight:normal;font-family:var(--tds-font-family-headline);letter-spacing:normal;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:14px;line-height:normal}h4 slot{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 32px 0 16px}";
|
|
5
4
|
|
|
6
5
|
const TdsHeaderTitle = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
11
|
-
return (h("h4", { key: '
|
|
10
|
+
return (h("h4", { key: '4af2f894bf508d0ea8f5c934f4b6e3be61f1ce1a' }, h("slot", { key: 'e5eaaf9c68f77041f6056af1bb7e1101b48c1ffc' })));
|
|
12
11
|
}
|
|
13
12
|
};
|
|
14
|
-
TdsHeaderTitle.style =
|
|
13
|
+
TdsHeaderTitle.style = headerTitleCss;
|
|
15
14
|
|
|
16
15
|
export { TdsHeaderTitle as tds_header_title };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
|
2
|
-
import { i as inheritAriaAttributes } from './inheritAriaAttributes-
|
|
3
|
-
import './inheritAttributes-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
|
|
2
|
+
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
3
|
+
import './inheritAttributes-CF8bH08v.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Loop through the children and add the 'listitem' role if needed.
|
|
@@ -18,7 +18,6 @@ const updateListChildrenRoles = (targetNode) => {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
const headerCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}html,:root{--tds-nav-dropdown-menu-box:0 3px 3px rgb(0 0 0 / 15%), 0 -1px 1px rgb(0 0 0 / 1%);--tds-nav-dropdown-item-border-radius:0 0 4px 4px;--tds-font-family-headline:\"Scania Sans Headline\", arial, helvetica, sans-serif}tds-header{display:block;height:var(--tds-header-height);background-color:var(--tds-header-background);width:100%;z-index:300}tds-header tds-header-dropdown-list-item a *,tds-header tds-header-dropdown-list-item button *{pointer-events:none}nav{box-sizing:border-box;background-color:var(--tds-header-background);width:100%;display:block}nav *{box-sizing:border-box}nav .tds-header-component-list{height:var(--tds-header-height);all:unset;display:flex;justify-content:center;align-items:center}nav tds-header-dropdown,nav tds-header-item{display:none}nav .tds-header-middle-spacer{all:unset;display:block;flex-grow:1;height:var(--tds-header-height);border-right:1px solid var(--tds-header--basic-element-border)}@media screen and (min-width: 992px){nav tds-header-dropdown,nav tds-header-item{display:block}}nav tds-header-item:nth-child(3),nav tds-header-dropdown:nth-child(3){border-left:1px solid var(--tds-header--basic-element-border)}";
|
|
21
|
-
const TdsHeaderStyle0 = headerCss;
|
|
22
21
|
|
|
23
22
|
const TdsHeader = class {
|
|
24
23
|
constructor(hostRef) {
|
|
@@ -46,10 +45,10 @@ const TdsHeader = class {
|
|
|
46
45
|
}
|
|
47
46
|
render() {
|
|
48
47
|
const navAttributes = Object.assign({}, inheritAriaAttributes(this.host));
|
|
49
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'f5c7796ebe3f5d9bd6e555f0dd01f8ace54c1cd8' }, h("slot", { key: '77cba127f947cc8fefa875a6db0e68bf52c5a80e', name: "hamburger" }), h("slot", { key: 'daf9d8299734f72355eeaeb307dcc3e25520a7b8', name: "title" }), h("nav", Object.assign({ key: '904338fd0fb8ab3ce42b46ee482d021667fe49e8' }, navAttributes), h("ul", { key: '66994fd2de781178624f8d67c88e4d75e84d2844', class: "tds-header-component-list" }, h("slot", { key: '51ee40aa7b17fb2a36ca23c2cebfb74efb69ea24' }), h("li", { key: 'db64903ac70ee12d48cd5029997949875caa53e8', class: "tds-header-middle-spacer" }), h("slot", { key: '80a48331b218b734061a421c9e31f8fd1b98be1a', name: "end" })))));
|
|
50
49
|
}
|
|
51
50
|
get host() { return getElement(this); }
|
|
52
51
|
};
|
|
53
|
-
TdsHeader.style =
|
|
52
|
+
TdsHeader.style = headerCss;
|
|
54
53
|
|
|
55
54
|
export { TdsHeader as tds_header };
|