@scania/tegel 1.49.1 → 1.49.2
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/loader.cjs.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-button_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-datetime.cjs.entry.js +48 -7
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +172 -49
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +3 -2
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +2 -2
- package/dist/cjs/tds-modal.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +20 -10
- package/dist/cjs/tds-slider.cjs.entry.js +8 -8
- package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tds-step.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-tag.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +5 -5
- package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/assets/icons/scania/configurator.svg +1 -0
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/datetime/datetime.css +24 -41
- package/dist/collection/components/datetime/datetime.js +113 -15
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +43 -19
- package/dist/collection/components/dropdown/dropdown.js +170 -47
- package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +2 -2
- 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.js +3 -3
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
- package/dist/collection/components/header/header-item/header-item.js +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/scaniaIconsArray.js +256 -2
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.js +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/popover-canvas/popover-canvas.js +3 -3
- package/dist/collection/components/popover-core/popover-core.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.js +3 -3
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- 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 +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
- 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.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- 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 +1 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/side-menu/side-menu.js +21 -10
- package/dist/collection/components/slider/slider.js +8 -8
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/table/table-body/table-body.js +2 -2
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
- package/dist/collection/components/table/table-footer/table-footer.js +3 -3
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +2 -2
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +3 -3
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.js +5 -5
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/{p-BLhZliIO.js → p-454Tm-qg.js} +1 -1
- package/dist/components/{p-BonnqD8w.js → p-7g_ABN5n.js} +1 -1
- package/dist/components/{p-CzyhBRHW.js → p-C9OMhzbc.js} +1 -1
- package/dist/components/{p-CuBmZ6sl.js → p-CAGXolMB.js} +1 -1
- package/dist/components/{p-hVetZOGH.js → p-CIt4YhvL.js} +1 -1
- package/dist/components/{p-DlkBTA_R.js → p-COWTtzpX.js} +1 -1
- package/dist/components/{p-CKbZVUR2.js → p-CVrz-nvu.js} +1 -1
- package/dist/components/p-CXwwrpih.js +1 -0
- package/dist/components/{p-Bp11uQum.js → p-CbSJY3jI.js} +1 -1
- package/dist/components/{p-C9VPZFHA.js → p-DDZjm4KO.js} +1 -1
- package/dist/components/p-DU6on7Ts.js +1 -0
- package/dist/components/{p-C4MTsi5W.js → p-Dc6aMuMv.js} +1 -1
- package/dist/components/p-Dcq3a5KI.js +1 -0
- package/dist/components/{p-CwklLnIa.js → p-blXt609Y.js} +1 -1
- package/dist/components/p-hCp8GmRl.js +1 -0
- package/dist/components/{p-BMeMtNu0.js → p-le823YD3.js} +1 -1
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +1 -1
- 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 +1 -1
- package/dist/components/tds-folder-tabs.js +1 -1
- package/dist/components/tds-footer-group.js +1 -1
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +1 -1
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +1 -1
- package/dist/components/tds-header-hamburger.js +1 -1
- 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 +1 -1
- package/dist/components/tds-header-launcher-grid-title.js +1 -1
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +1 -1
- package/dist/components/tds-header-launcher.js +1 -1
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +1 -1
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +1 -1
- package/dist/components/tds-inline-tabs.js +1 -1
- package/dist/components/tds-link.js +1 -1
- package/dist/components/tds-message.js +1 -1
- package/dist/components/tds-modal.js +1 -1
- package/dist/components/tds-navigation-tab.js +1 -1
- package/dist/components/tds-navigation-tabs.js +1 -1
- 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 +1 -1
- package/dist/components/tds-popover-menu.js +1 -1
- package/dist/components/tds-radio-button.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown-list-item.js +1 -1
- package/dist/components/tds-side-menu-dropdown-list.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +1 -1
- 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 +1 -1
- package/dist/components/tds-side-menu.js +1 -1
- package/dist/components/tds-slider.js +1 -1
- package/dist/components/tds-spinner.js +1 -1
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +1 -1
- package/dist/components/tds-table-body-row-expandable.js +1 -1
- package/dist/components/tds-table-body-row.js +1 -1
- package/dist/components/tds-table-body.js +1 -1
- package/dist/components/tds-table-footer.js +1 -1
- package/dist/components/tds-table-header-input-wrapper.js +1 -1
- package/dist/components/tds-table-header.js +1 -1
- package/dist/components/tds-table-toolbar.js +1 -1
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +1 -1
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +1 -1
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +2 -2
- package/dist/esm/tds-button_2.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +3 -3
- package/dist/esm/tds-datetime.entry.js +48 -7
- package/dist/esm/tds-dropdown_2.entry.js +172 -49
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +3 -3
- package/dist/esm/tds-footer-group.entry.js +3 -3
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +3 -3
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +2 -2
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +3 -2
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +2 -2
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +2 -2
- package/dist/esm/tds-modal.entry.js +2 -2
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +4 -4
- package/dist/esm/tds-popover-canvas.entry.js +3 -3
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +2 -2
- package/dist/esm/tds-popover-menu.entry.js +3 -3
- package/dist/esm/tds-radio-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown.entry.js +3 -3
- package/dist/esm/tds-side-menu-item.entry.js +2 -2
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +20 -10
- package/dist/esm/tds-slider.entry.js +8 -8
- package/dist/esm/tds-spinner.entry.js +1 -1
- package/dist/esm/tds-step.entry.js +1 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +7 -7
- package/dist/esm/tds-table-body-row.entry.js +2 -2
- package/dist/esm/tds-table-body.entry.js +2 -2
- package/dist/esm/tds-table-footer.entry.js +3 -3
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +2 -2
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-tag.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +5 -5
- package/dist/esm/tds-textarea.entry.js +3 -3
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +3 -3
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/assets/icons/scania/configurator.svg +1 -0
- package/dist/tegel/{p-ed40e3b0.entry.js → p-00f77dd3.entry.js} +1 -1
- package/dist/tegel/{p-fc26b649.entry.js → p-01c5df5c.entry.js} +1 -1
- package/dist/tegel/{p-1f7bf292.entry.js → p-066bb57c.entry.js} +1 -1
- package/dist/tegel/{p-6c61a2f0.entry.js → p-089347c1.entry.js} +1 -1
- package/dist/tegel/p-091c27ee.entry.js +1 -0
- package/dist/tegel/{p-f019e894.entry.js → p-09867bb0.entry.js} +1 -1
- package/dist/tegel/p-09c5a74a.entry.js +1 -0
- package/dist/tegel/{p-2fa10d10.entry.js → p-10bd75ab.entry.js} +1 -1
- package/dist/tegel/{p-4df49756.entry.js → p-130d96b2.entry.js} +1 -1
- package/dist/tegel/{p-5492f7b1.entry.js → p-17ea4d71.entry.js} +1 -1
- package/dist/tegel/p-1c117ed6.entry.js +1 -0
- package/dist/tegel/p-1c73f091.entry.js +1 -0
- package/dist/tegel/{p-50593c6d.entry.js → p-2c4defb0.entry.js} +1 -1
- package/dist/tegel/{p-117b6fd9.entry.js → p-2ef824fb.entry.js} +1 -1
- package/dist/tegel/{p-6e8da39b.entry.js → p-34acf548.entry.js} +1 -1
- package/dist/tegel/p-399de5fb.entry.js +1 -0
- package/dist/tegel/{p-6c3e8059.entry.js → p-4236bbf5.entry.js} +1 -1
- package/dist/tegel/{p-f84ce63c.entry.js → p-462a1867.entry.js} +1 -1
- package/dist/tegel/{p-7492a041.entry.js → p-483d8c89.entry.js} +1 -1
- package/dist/tegel/{p-8b3e1cd0.entry.js → p-492af98d.entry.js} +1 -1
- package/dist/tegel/{p-a10af11f.entry.js → p-513f9e4a.entry.js} +1 -1
- package/dist/tegel/p-5aac239b.entry.js +1 -0
- package/dist/tegel/{p-12d791e7.entry.js → p-5b787973.entry.js} +1 -1
- package/dist/tegel/p-5de5a2e8.entry.js +1 -0
- package/dist/tegel/{p-2818d320.entry.js → p-64e04dc0.entry.js} +1 -1
- package/dist/tegel/p-6bcb6678.entry.js +1 -0
- package/dist/tegel/p-6c86f384.entry.js +1 -0
- package/dist/tegel/{p-44cbb1d0.entry.js → p-735375dd.entry.js} +1 -1
- package/dist/tegel/p-785a02d1.entry.js +1 -0
- package/dist/tegel/p-7aa48b05.entry.js +1 -0
- package/dist/tegel/p-7d2217bc.entry.js +1 -0
- package/dist/tegel/{p-60c4deaf.entry.js → p-7fd4299d.entry.js} +1 -1
- package/dist/tegel/{p-f0b836d4.entry.js → p-808c9db1.entry.js} +1 -1
- package/dist/tegel/{p-182669b3.entry.js → p-84580662.entry.js} +1 -1
- package/dist/tegel/{p-a96da238.entry.js → p-8db648a3.entry.js} +1 -1
- package/dist/tegel/p-8f69297f.entry.js +1 -0
- package/dist/tegel/p-9a0253d6.entry.js +1 -0
- package/dist/tegel/{p-7ba5eadf.entry.js → p-9c179f84.entry.js} +1 -1
- package/dist/tegel/{p-9dd59846.entry.js → p-9d1d18e5.entry.js} +1 -1
- package/dist/tegel/{p-45f611ce.entry.js → p-a5ec44a0.entry.js} +1 -1
- package/dist/tegel/p-ad5f719a.entry.js +1 -0
- package/dist/tegel/p-afad1dba.entry.js +1 -0
- package/dist/tegel/{p-4ff91349.entry.js → p-b11a2807.entry.js} +1 -1
- package/dist/tegel/{p-c7a7d0c3.entry.js → p-b29a9c01.entry.js} +1 -1
- package/dist/tegel/p-b524bbfe.entry.js +1 -0
- package/dist/tegel/p-b765f247.entry.js +1 -0
- package/dist/tegel/{p-e9d550f5.entry.js → p-bc98d0e2.entry.js} +1 -1
- package/dist/tegel/{p-c51b97da.entry.js → p-bf411bd0.entry.js} +1 -1
- package/dist/tegel/{p-0426cbc9.entry.js → p-bfa98728.entry.js} +1 -1
- package/dist/tegel/p-c18d557c.entry.js +1 -0
- package/dist/tegel/{p-8354ed21.entry.js → p-c2e17e83.entry.js} +1 -1
- package/dist/tegel/{p-158fd791.entry.js → p-d92682e4.entry.js} +1 -1
- package/dist/tegel/p-dc425994.entry.js +1 -0
- package/dist/tegel/p-dc823504.entry.js +1 -0
- package/dist/tegel/{p-8f89e6d1.entry.js → p-e0be794f.entry.js} +1 -1
- package/dist/tegel/p-e2848b6f.entry.js +1 -0
- package/dist/tegel/{p-5b66a01d.entry.js → p-e399bba6.entry.js} +1 -1
- package/dist/tegel/{p-d477128f.entry.js → p-e4cd252c.entry.js} +1 -1
- package/dist/tegel/{p-2eaf9959.entry.js → p-e7793e67.entry.js} +1 -1
- package/dist/tegel/{p-9802c999.entry.js → p-e8658834.entry.js} +1 -1
- package/dist/tegel/{p-c74d8810.entry.js → p-eebfce98.entry.js} +1 -1
- package/dist/tegel/{p-c1bafa58.entry.js → p-f7e30ce0.entry.js} +1 -1
- package/dist/tegel/{p-a9a60c38.entry.js → p-f935c2e9.entry.js} +1 -1
- package/dist/tegel/{p-bf85e0e7.entry.js → p-fb9f17be.entry.js} +1 -1
- package/dist/tegel/{p-88761a57.entry.js → p-fc5445b7.entry.js} +1 -1
- package/dist/tegel/{p-2b1c9edf.entry.js → p-fe45a38b.entry.js} +1 -1
- package/dist/tegel/{p-8817bb70.entry.js → p-fed169d8.entry.js} +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/datetime/datetime.d.ts +18 -6
- package/dist/types/components/dropdown/dropdown.d.ts +4 -0
- package/dist/types/components/side-menu/side-menu.d.ts +1 -0
- package/dist/types/components.d.ts +41 -13
- package/dist/types/types/ScaniaIcons.d.ts +1 -1
- package/package.json +2 -2
- package/dist/components/p-BYl_hs2I.js +0 -1
- package/dist/components/p-DGE6WcOB.js +0 -1
- package/dist/components/p-DdOzmmZe.js +0 -1
- package/dist/components/p-DjZ0RkWr.js +0 -1
- package/dist/tegel/p-0056a170.entry.js +0 -1
- package/dist/tegel/p-01f5774a.entry.js +0 -1
- package/dist/tegel/p-11f23ac6.entry.js +0 -1
- package/dist/tegel/p-15bc881b.entry.js +0 -1
- package/dist/tegel/p-1ff8bbed.entry.js +0 -1
- package/dist/tegel/p-5af70803.entry.js +0 -1
- package/dist/tegel/p-62e7169c.entry.js +0 -1
- package/dist/tegel/p-630d0a10.entry.js +0 -1
- package/dist/tegel/p-6410c845.entry.js +0 -1
- package/dist/tegel/p-8e0402a1.entry.js +0 -1
- package/dist/tegel/p-9a9ac3b2.entry.js +0 -1
- package/dist/tegel/p-ac5abaa4.entry.js +0 -1
- package/dist/tegel/p-ae5bc89a.entry.js +0 -1
- package/dist/tegel/p-b9096df7.entry.js +0 -1
- package/dist/tegel/p-be4b4dfd.entry.js +0 -1
- package/dist/tegel/p-cc133aa7.entry.js +0 -1
- package/dist/tegel/p-ce117e66.entry.js +0 -1
- package/dist/tegel/p-de5fa736.entry.js +0 -1
- package/dist/tegel/p-dfbbe349.entry.js +0 -1
- package/dist/tegel/p-e13d59c1.entry.js +0 -1
- package/dist/tegel/p-e82bf5c9.entry.js +0 -1
- package/dist/tegel/p-f844ce31.entry.js +0 -1
- /package/dist/collection/assets/icons/scania/{gift inactive.svg → gift_inactive.svg} +0 -0
- /package/dist/tegel/assets/icons/scania/{gift inactive.svg → gift_inactive.svg} +0 -0
|
@@ -9,6 +9,18 @@ function hasValueChanged(newValue, currentValue) {
|
|
|
9
9
|
return true;
|
|
10
10
|
return newValue.some((val) => !currentValue.includes(val));
|
|
11
11
|
}
|
|
12
|
+
function getTypedQuery(rawValue, displayValue) {
|
|
13
|
+
if (rawValue.length <= displayValue.length + 1) {
|
|
14
|
+
return rawValue;
|
|
15
|
+
}
|
|
16
|
+
if (rawValue.startsWith(displayValue)) {
|
|
17
|
+
return rawValue.slice(displayValue.length);
|
|
18
|
+
}
|
|
19
|
+
if (rawValue.endsWith(displayValue)) {
|
|
20
|
+
return rawValue.slice(0, rawValue.length - displayValue.length);
|
|
21
|
+
}
|
|
22
|
+
return rawValue;
|
|
23
|
+
}
|
|
12
24
|
/**
|
|
13
25
|
* @slot <default> - <b>Unnamed slot.</b> For dropdown option elements.
|
|
14
26
|
*/
|
|
@@ -44,6 +56,7 @@ export class TdsDropdown {
|
|
|
44
56
|
this.selectedOptions = [];
|
|
45
57
|
this.filterQuery = '';
|
|
46
58
|
this.hasFocus = false;
|
|
59
|
+
this.uuid = generateUniqueId();
|
|
47
60
|
this.setDefaultOption = () => {
|
|
48
61
|
if (this.internalDefaultValue) {
|
|
49
62
|
/** Convert the internal default value to an array if it's not already */
|
|
@@ -125,8 +138,22 @@ export class TdsDropdown {
|
|
|
125
138
|
this.inputElement.focus();
|
|
126
139
|
};
|
|
127
140
|
this.handleFilter = (event) => {
|
|
141
|
+
const input = event.currentTarget;
|
|
142
|
+
if (this.multiselect &&
|
|
143
|
+
this.filterQuery.length === 0 &&
|
|
144
|
+
this.selectedOptions.length > 0 &&
|
|
145
|
+
this.inputElement) {
|
|
146
|
+
const displayValue = this.getValue();
|
|
147
|
+
const rawValue = input.value;
|
|
148
|
+
const typed = getTypedQuery(rawValue, displayValue);
|
|
149
|
+
if (typed !== rawValue) {
|
|
150
|
+
this.inputElement.value = typed;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
128
153
|
this.tdsInput.emit(event);
|
|
129
|
-
const query =
|
|
154
|
+
const query = this.inputElement
|
|
155
|
+
? this.inputElement.value.toLowerCase()
|
|
156
|
+
: input.value.toLowerCase();
|
|
130
157
|
this.filterQuery = query;
|
|
131
158
|
/** Check if the query is empty, and if so, show all options */
|
|
132
159
|
const children = this.getChildren();
|
|
@@ -154,43 +181,98 @@ export class TdsDropdown {
|
|
|
154
181
|
}
|
|
155
182
|
};
|
|
156
183
|
this.handleFilterReset = () => {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
184
|
+
if (this.multiselect) {
|
|
185
|
+
/** Multiselect + filter: two-step clear */
|
|
186
|
+
if (this.filterQuery.length > 0) {
|
|
187
|
+
const clearedValue = this.filterQuery;
|
|
188
|
+
this.filterQuery = '';
|
|
189
|
+
this.resetFilterVisibility();
|
|
190
|
+
if (this.inputElement) {
|
|
191
|
+
this.inputElement.value = this.getValue();
|
|
192
|
+
this.inputElement.focus();
|
|
193
|
+
}
|
|
194
|
+
this.tdsClear.emit({ clearedValue });
|
|
195
|
+
}
|
|
196
|
+
else if (this.selectedOptions.length > 0) {
|
|
197
|
+
const clearedValue = this.selectedOptions.join(',');
|
|
198
|
+
this.updateDropdownStateFromUser([]);
|
|
199
|
+
if (this.inputElement) {
|
|
200
|
+
this.inputElement.value = '';
|
|
201
|
+
this.inputElement.focus();
|
|
202
|
+
}
|
|
203
|
+
this.tdsClear.emit({ clearedValue });
|
|
204
|
+
}
|
|
165
205
|
}
|
|
166
|
-
else
|
|
167
|
-
/**
|
|
168
|
-
const
|
|
169
|
-
this.
|
|
206
|
+
else {
|
|
207
|
+
/** Single select + filter: clear everything immediately */
|
|
208
|
+
const clearedParts = [];
|
|
209
|
+
if (this.filterQuery.length > 0) {
|
|
210
|
+
clearedParts.push(this.filterQuery);
|
|
211
|
+
this.filterQuery = '';
|
|
212
|
+
this.resetFilterVisibility();
|
|
213
|
+
}
|
|
214
|
+
if (this.selectedOptions.length > 0) {
|
|
215
|
+
clearedParts.push(this.selectedOptions.join(','));
|
|
216
|
+
this.updateDropdownStateFromUser([]);
|
|
217
|
+
}
|
|
170
218
|
if (this.inputElement) {
|
|
171
219
|
this.inputElement.value = '';
|
|
172
220
|
this.inputElement.focus();
|
|
173
221
|
}
|
|
174
|
-
|
|
222
|
+
if (clearedParts.length > 0) {
|
|
223
|
+
this.tdsClear.emit({ clearedValue: clearedParts.join(',') });
|
|
224
|
+
}
|
|
175
225
|
}
|
|
176
226
|
};
|
|
227
|
+
this.resetFilterVisibility = () => {
|
|
228
|
+
this.filterQuery = '';
|
|
229
|
+
const children = this.getChildren();
|
|
230
|
+
children.forEach((element) => {
|
|
231
|
+
element.removeAttribute('hidden');
|
|
232
|
+
});
|
|
233
|
+
this.filterResult = null;
|
|
234
|
+
};
|
|
235
|
+
this.handleMultiselectClear = () => {
|
|
236
|
+
const clearedValue = this.selectedOptions.join(',');
|
|
237
|
+
this.updateDropdownStateFromUser([]);
|
|
238
|
+
this.tdsClear.emit({ clearedValue });
|
|
239
|
+
};
|
|
177
240
|
this.handleFocus = () => {
|
|
178
241
|
this.open = true;
|
|
179
242
|
this.filterFocus = true;
|
|
180
|
-
if (this.
|
|
243
|
+
if (this.multiselect && this.filter) {
|
|
244
|
+
/** For multiselect+filter, show selected labels on focus.
|
|
245
|
+
* Clearing happens on click via handleInputClick. */
|
|
246
|
+
if (this.inputElement) {
|
|
247
|
+
this.inputElement.value = this.getValue();
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
else if (this.inputElement) {
|
|
181
251
|
this.inputElement.value = '';
|
|
182
252
|
}
|
|
183
|
-
/** Focus event is now handled by focusin listener */
|
|
184
253
|
if (this.filter) {
|
|
185
|
-
this.
|
|
254
|
+
this.resetFilterVisibility();
|
|
186
255
|
}
|
|
187
256
|
};
|
|
188
257
|
this.handleBlur = () => {
|
|
189
|
-
/** Handle internal state changes when component loses focus */
|
|
190
258
|
this.filterFocus = false;
|
|
259
|
+
this.filterQuery = '';
|
|
191
260
|
if (this.inputElement) {
|
|
192
261
|
this.inputElement.value = this.getValue();
|
|
193
262
|
}
|
|
263
|
+
/** Reset filter to show all options for next open */
|
|
264
|
+
if (this.filter) {
|
|
265
|
+
this.resetFilterVisibility();
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
this.handleInputClick = () => {
|
|
269
|
+
if (this.multiselect && this.filter) {
|
|
270
|
+
this.filterQuery = '';
|
|
271
|
+
if (this.inputElement) {
|
|
272
|
+
this.inputElement.value = '';
|
|
273
|
+
}
|
|
274
|
+
this.resetFilterVisibility();
|
|
275
|
+
}
|
|
194
276
|
};
|
|
195
277
|
this.resetInput = () => {
|
|
196
278
|
const inputEl = this.host.querySelector('input');
|
|
@@ -437,12 +519,15 @@ export class TdsDropdown {
|
|
|
437
519
|
/** If the Dropdown gets closed,
|
|
438
520
|
this sets the value of the dropdown to the current selection labels or null if no selection is made. */
|
|
439
521
|
handleOpenState() {
|
|
440
|
-
if (this.filter
|
|
522
|
+
if (this.filter) {
|
|
441
523
|
if (!this.open) {
|
|
442
|
-
this.
|
|
524
|
+
this.filterQuery = '';
|
|
525
|
+
this.resetFilterVisibility();
|
|
526
|
+
if (this.inputElement) {
|
|
527
|
+
this.inputElement.value = this.selectedOptions.length ? this.getValue() : '';
|
|
528
|
+
}
|
|
443
529
|
}
|
|
444
530
|
}
|
|
445
|
-
/** Update the inert state of dropdown list when open state changes */
|
|
446
531
|
this.updateDropdownListInertState();
|
|
447
532
|
}
|
|
448
533
|
handleDefaultValueChange(newValue) {
|
|
@@ -482,11 +567,8 @@ export class TdsDropdown {
|
|
|
482
567
|
/** Clear filter query when an option is selected */
|
|
483
568
|
if (this.filter && this.filterQuery.length > 0) {
|
|
484
569
|
this.filterQuery = '';
|
|
485
|
-
if (this.inputElement) {
|
|
486
|
-
this.inputElement.value = '';
|
|
487
|
-
}
|
|
488
570
|
/** Reset filter to show all options */
|
|
489
|
-
this.
|
|
571
|
+
this.resetFilterVisibility();
|
|
490
572
|
}
|
|
491
573
|
if (this.multiselect) {
|
|
492
574
|
this.updateDropdownStateFromUser([...this.selectedOptions, value]);
|
|
@@ -494,6 +576,10 @@ export class TdsDropdown {
|
|
|
494
576
|
else {
|
|
495
577
|
this.updateDropdownStateFromUser([value]);
|
|
496
578
|
}
|
|
579
|
+
/** After selection, show all selected labels in the input */
|
|
580
|
+
if (this.filter && this.multiselect && this.inputElement) {
|
|
581
|
+
this.inputElement.value = this.getValue();
|
|
582
|
+
}
|
|
497
583
|
}
|
|
498
584
|
componentDidRender() {
|
|
499
585
|
const form = this.host.closest('form');
|
|
@@ -520,13 +606,35 @@ export class TdsDropdown {
|
|
|
520
606
|
}
|
|
521
607
|
}
|
|
522
608
|
render() {
|
|
609
|
+
var _a, _b, _c, _d;
|
|
523
610
|
appendHiddenInput(this.host, this.name, this.selectedOptions.join(','), this.disabled);
|
|
524
611
|
/** Generate unique IDs for associating labels and helpers with the input/button */
|
|
525
|
-
const
|
|
526
|
-
const
|
|
527
|
-
|
|
612
|
+
const baseId = this.name || this.uuid;
|
|
613
|
+
const inputId = `dropdown-input-${baseId}`;
|
|
614
|
+
const labelId = this.label ? `dropdown-label-${baseId}` : undefined;
|
|
615
|
+
const helperId = this.helper ? `dropdown-helper-${baseId}` : undefined;
|
|
616
|
+
const hasSelection = this.selectedOptions.length > 0;
|
|
617
|
+
const hasTyped = this.filterQuery.length > 0;
|
|
618
|
+
const isFloated = this.filterFocus || hasSelection || hasTyped;
|
|
619
|
+
const isFloatedButton = this.open || hasSelection;
|
|
620
|
+
const showPlaceholderInside = this.filterFocus && !hasTyped && !hasSelection;
|
|
621
|
+
const showPlaceholderButton = this.labelPosition !== 'inside' || isFloatedButton;
|
|
622
|
+
const fallbackAriaLabel = this.label ? undefined : 'Dropdown';
|
|
623
|
+
const ariaLabel = (_a = this.tdsAriaLabel) !== null && _a !== void 0 ? _a : fallbackAriaLabel;
|
|
624
|
+
let derivedPlaceholder = (_b = this.placeholder) !== null && _b !== void 0 ? _b : '';
|
|
625
|
+
if (this.labelPosition === 'inside') {
|
|
626
|
+
derivedPlaceholder = showPlaceholderInside ? (_c = this.placeholder) !== null && _c !== void 0 ? _c : '' : '';
|
|
627
|
+
}
|
|
628
|
+
let buttonText = '';
|
|
629
|
+
if (this.selectedOptions.length > 0) {
|
|
630
|
+
buttonText = this.getValue();
|
|
631
|
+
}
|
|
632
|
+
else if (showPlaceholderButton) {
|
|
633
|
+
buttonText = (_d = this.placeholder) !== null && _d !== void 0 ? _d : '';
|
|
634
|
+
}
|
|
635
|
+
return (h(Host, { key: 'e7c3ade8e5b56a41f78016c44fb75efcaaf666c1', class: {
|
|
528
636
|
[`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
|
|
529
|
-
} }, this.label && this.labelPosition === 'outside' && (h("div", { key: '
|
|
637
|
+
} }, this.label && this.labelPosition === 'outside' && (h("div", { key: '26dd2d4137fea024b4b436fca739cfecaea13491', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: 'ce88e29fa87c4c9e54ea68bef9bde26b6300bae9', class: {
|
|
530
638
|
'dropdown-select': true,
|
|
531
639
|
[this.size]: true,
|
|
532
640
|
'disabled': this.disabled,
|
|
@@ -535,15 +643,18 @@ export class TdsDropdown {
|
|
|
535
643
|
focus: this.filterFocus,
|
|
536
644
|
disabled: this.disabled,
|
|
537
645
|
error: this.error,
|
|
538
|
-
} }, h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' &&
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
646
|
+
} }, h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' && (h("label", { id: labelId, htmlFor: inputId, class: {
|
|
647
|
+
'label-inside': true,
|
|
648
|
+
[this.size]: true,
|
|
649
|
+
'floated': isFloated,
|
|
650
|
+
} }, this.label)), h("input", { "aria-label": ariaLabel, "aria-labelledby": labelId, "aria-describedby": helperId, "aria-disabled": this.disabled, ref: (inputEl) => {
|
|
651
|
+
this.inputElement = inputEl;
|
|
652
|
+
if (this.inputElement && !this.filterFocus) {
|
|
653
|
+
this.inputElement.value = this.getValue();
|
|
654
|
+
}
|
|
655
|
+
}, class: {
|
|
545
656
|
placeholder: this.labelPosition === 'inside',
|
|
546
|
-
}, type: "text", placeholder:
|
|
657
|
+
}, id: inputId, type: "text", placeholder: derivedPlaceholder, disabled: this.disabled, onInput: (event) => this.handleFilter(event), onFocus: () => this.handleFocus(), onClick: () => this.handleInputClick(), onKeyDown: (event) => {
|
|
547
658
|
if (event.key === 'Escape') {
|
|
548
659
|
this.open = false;
|
|
549
660
|
}
|
|
@@ -563,14 +674,26 @@ export class TdsDropdown {
|
|
|
563
674
|
this.open = false;
|
|
564
675
|
}
|
|
565
676
|
}, class: `
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
677
|
+
${this.selectedOptions.length ? 'value' : 'placeholder'}
|
|
678
|
+
${this.open ? 'open' : 'closed'}
|
|
679
|
+
${this.error ? 'error' : ''}
|
|
680
|
+
`, disabled: this.disabled }, h("div", { class: `value-wrapper ${this.size}` }, this.label && this.labelPosition === 'inside' && (h("div", { id: labelId, class: {
|
|
681
|
+
'label-inside': true,
|
|
682
|
+
[this.size]: true,
|
|
683
|
+
'floated': isFloatedButton,
|
|
684
|
+
} }, this.label)), h("div", { "aria-label": this.tdsAriaLabel ? `Selected options for ${this.tdsAriaLabel}` : undefined, class: `placeholder ${this.size}` }, buttonText)), h("tds-icon", { tabIndex: 0, role: "button", "aria-label": "Clear selection", svgTitle: "Clear selection", onClick: (event) => {
|
|
685
|
+
event.stopPropagation();
|
|
686
|
+
this.handleMultiselectClear();
|
|
687
|
+
}, onKeyDown: (event) => {
|
|
688
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
689
|
+
event.stopPropagation();
|
|
690
|
+
event.preventDefault();
|
|
691
|
+
this.handleMultiselectClear();
|
|
692
|
+
}
|
|
693
|
+
}, class: {
|
|
694
|
+
'clear-icon': true,
|
|
695
|
+
'hide': !(this.multiselect && this.selectedOptions.length > 0),
|
|
696
|
+
}, name: "cross", size: "16px" }), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" })))), h("div", { key: '0d76e422a2f0887595f60d57e03ec3980d4b9774', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
|
|
574
697
|
if (element)
|
|
575
698
|
this.dropdownList = element;
|
|
576
699
|
}, class: {
|
|
@@ -582,11 +705,11 @@ export class TdsDropdown {
|
|
|
582
705
|
'closed': !this.open,
|
|
583
706
|
[`animation-enter-${this.animation}`]: this.animation !== 'none' && this.open,
|
|
584
707
|
[`animation-exit-${this.animation}`]: this.animation !== 'none' && !this.open,
|
|
585
|
-
} }, h("slot", { key: '
|
|
708
|
+
} }, h("slot", { key: 'f971e4e9e24fe8d9092066d72bb05b76547f05a7', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '0d8f90a543bf7b8dc3b3185d27f05d0517b4e0e6', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: '4f17cfead0616b262e91e0e5b82cf59ce1309d73', id: helperId, class: {
|
|
586
709
|
helper: true,
|
|
587
710
|
error: this.error,
|
|
588
711
|
disabled: this.disabled,
|
|
589
|
-
} }, this.error && h("tds-icon", { key: '
|
|
712
|
+
} }, this.error && h("tds-icon", { key: '032599d86280e2a204c22fb97409f097841259b5', name: "error", size: "16px" }), this.helper))));
|
|
590
713
|
}
|
|
591
714
|
static get is() { return "tds-dropdown"; }
|
|
592
715
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,12 +42,12 @@ export class TdsFooterGroup {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
const hasTitleSlot = hasSlot('title', this.host);
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '7901705ee2dc040052e2f99813f8b0e8faf37530', "aria-expanded": this.open ? 'true' : 'false' }, h("div", { key: 'ca98dcf8fbdf2556a9fd61b233a9a84bc3f6f9cc', class: this.isMobile ? 'mobile-view' : '' }, this.topPartGroup &&
|
|
46
46
|
(this.isMobile ? (h("button", { onClick: () => {
|
|
47
47
|
this.open = !this.open;
|
|
48
|
-
}, class: `footer-top-title-button ${this.open ? 'expanded' : 'closed'}` }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText, h("tds-icon", { name: "chevron_down", size: "20px", "aria-hidden": "true" }))) : (h("div", { class: "footer-top-title" }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText))), h("nav", { key: '
|
|
48
|
+
}, class: `footer-top-title-button ${this.open ? 'expanded' : 'closed'}` }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText, h("tds-icon", { name: "chevron_down", size: "20px", "aria-hidden": "true" }))) : (h("div", { class: "footer-top-title" }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText))), h("nav", { key: 'dfa738d7e93518c7aa29e322b575a4c418010e6a', "aria-label": this.tdsListAriaLabel }, h("div", { key: '6a3a9bfa388a342609187ca5437ea1e572a0b62f', role: "list", class: `${this.slotPosition ? this.slotPosition : ''}
|
|
49
49
|
${this.topPartGroup ? 'top-part-child' : ''}
|
|
50
|
-
${this.open ? 'expanded' : 'closed'}` }, h("slot", { key: '
|
|
50
|
+
${this.open ? 'expanded' : 'closed'}` }, h("slot", { key: '3dbf13f27f3bd37ba5fc589045b329ee034a37d3' }))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "tds-footer-group"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class TdsFooterItem {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'e422cb3d81d974bdefd2a5221aa5f9df693feccd', role: "listitem" }, h("div", { key: 'bcd21f30335d92da6dd577fdc2b6e7ae273a6390', class: `${this.parentIsTopPart ? 'top-part-child' : ''}` }, h("slot", { key: '861ffb44a8f9f2e4e75ad24b2bb640be9a712129' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "tds-footer-item"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,9 +17,9 @@ export class TdsFooter {
|
|
|
17
17
|
const usesStartSlot = hasSlot('start', this.host);
|
|
18
18
|
const usesEndSlot = hasSlot('end', this.host);
|
|
19
19
|
const usesCopyrightSlot = hasSlot('copyright', this.host);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '48864143f8e7c122b60c5f95ac087f81da23cbd6', class: {
|
|
21
21
|
[`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
|
|
22
|
-
} }, h("footer", { key: '
|
|
22
|
+
} }, h("footer", { key: 'aa7efca2b32ea0bd81719eff1730e7ab0a5b69c9' }, usesTopSlot && h("slot", { key: '662e7f205b7ee9bf5202441f45835da44da01ffe', name: "top" }), h("div", { key: '42ba2e344380a87d4dbf3dc90b214a99d10b9dfe', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: 'b6b62659aa80fe86f7240b4e2a7187f81a0ae3d7', class: "footer-main-top" }, usesStartSlot && h("slot", { key: '5f10f1f47de58d4ce142d720e2ab924c9935afcd', name: "start" }), usesEndSlot && h("slot", { key: '88165d1b0925e31e302eaec0e2fcd795c5e4ece1', name: "end" }))), h("div", { key: '99e987a96dbb762725b78b647164627f4abe7790', class: "footer-main-bottom" }, h("small", { key: 'f24bfbe5b9733c1effc45608ed6fc4c10d3c9631', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: '2947b9f5c59eb5315d1787a3e13203a0359ec8af', class: "brand" }, h("p", { key: '83aa6191d31573002c275d0042f5871449ce4fe5' }, "Scania")))))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "tds-footer"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsCoreHeaderItem {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '065394c82cbfb0b40ee971c5cebc52bcfe85b526' }, h("div", { key: '7028fa75d5be79c1036abdb5bd4f0f6d94718061', class: "item" }, h("slot", { key: '79a30696b9001f8c3f2304d0b73b5f4caa6a9a56' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tds-core-header-item"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class TdsHeaderBrandSymbol {
|
|
|
8
8
|
if (!(aTag === null || aTag === void 0 ? void 0 : aTag.hasAttribute('aria-label'))) {
|
|
9
9
|
console.warn('Tegel Header Brand Symbol component: missing aria-label attribute for <a> tag inside slot');
|
|
10
10
|
}
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'fc99860c883e83bbf74918c166aef86ad4940b44' }, h("tds-header-item", { key: '064742d9efd8b8c313d70fee663be8455602def4' }, h("slot", { key: 'a7aabeccfd3a93e3dc29d2d0ee6bbefa2c94d236' }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "tds-header-brand-symbol"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,13 +48,13 @@ export class TdsHeaderDropdown {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '81c477e45d3f6a4614c3928797f900fb9b64ffcc' }, h("div", { key: '2b4a3509254a827fa6d300793b699e57ac36cd9a', class: {
|
|
52
52
|
'state-open': this.open,
|
|
53
|
-
} }, h("tds-header-item", { key: '
|
|
53
|
+
} }, h("tds-header-item", { key: '4847e06a7b5fdf61642234f7179b01103e34fb38', class: "button", active: this.open, selected: this.selected }, h("button", { key: '8cc7fed2a05c68f0026ef7d4c17400d85d6a40af', ref: (el) => {
|
|
54
54
|
this.buttonEl = el;
|
|
55
55
|
}, "aria-expanded": `${this.open}`, "aria-controls": `launcher-${this.uuid}`, "aria-current": this.selected ? 'location' : 'false', onClick: () => {
|
|
56
56
|
this.toggleDropdown();
|
|
57
|
-
}, "aria-label": this.tdsAriaLabel }, h("slot", { key: '
|
|
57
|
+
}, "aria-label": this.tdsAriaLabel }, h("slot", { key: '8254bfb1f48d193bc0c58363df96fad41b61aad6', name: "icon" }), this.label, h("slot", { key: '5722ecd4748ad029b5b803bb4ff731cca119fc7b', name: "label" }), !this.noDropdownIcon && (h("tds-icon", { key: 'c0c9c51b4705226891b21383ce27c0680113af7c', class: "dropdown-icon", name: "chevron_down", size: "16px", svgTitle: "Dropdown icon" })))), this.buttonEl && (h("tds-popover-canvas", { key: '52e127dbe4eef7082e62f3421d338fa0b44ab919', id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
|
|
58
58
|
{
|
|
59
59
|
name: 'flip',
|
|
60
60
|
options: {
|
|
@@ -74,7 +74,7 @@ export class TdsHeaderDropdownList {
|
|
|
74
74
|
'role': 'list',
|
|
75
75
|
'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
|
|
76
76
|
};
|
|
77
|
-
return (h(Host, Object.assign({ key: '
|
|
77
|
+
return (h(Host, Object.assign({ key: '87736a915ab274f1fcd30e6eb3ac2b594c323ba9' }, attributes), h("slot", { key: '61a2332a3da99fa2b0fa51a54547e9d5b66fa804' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "tds-header-dropdown-list"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js
CHANGED
|
@@ -10,10 +10,10 @@ export class TdsHeaderDropdownListItem {
|
|
|
10
10
|
this.size = 'md';
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '044ca1632bcfa67b268f2f46f6b3f803feabc603' }, h("div", { key: '43348d36bbbce184d43fda6cc4eead8fe1b94374', class: {
|
|
14
14
|
'component': true,
|
|
15
15
|
'component-selected': this.selected,
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: 'd6d036909bc7e83049d9c75add7ee84c68b5eba8' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "tds-header-dropdown-list-item"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js
CHANGED
|
@@ -5,7 +5,7 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export class TdsHeaderDropdownListLgUser {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '6c6f1f4e7b328ab7e571ec60ae5912de5c64f8cc', role: "listitem" }, h("div", { key: '656ac37d2b82507a4771ca15fa1037075d7ddf7e', class: "user-box" }, this.imgUrl && h("img", { key: '8c818c2b2a929ae4bb4fd727993cb6149b14299f', src: this.imgUrl, alt: this.imgAlt }), h("slot", { key: '2bd1268fd2af70838c3483ce9a620120eae0fd26', name: "thumbanil" }), h("div", { key: 'ca8742b1cd62dbb17dfcb36a37a718b06745219d', class: "user-content" }, h("div", { key: '381f7d63597faeb7c65ff5c40aae0e7b9cd0d514', class: "header" }, this.header, h("slot", { key: '3d19b2d30935fab20c53b84583ab0df2f76e58aa', name: "header" })), h("div", { key: '14f89aeea1314b510c7f34d4e806b1d6db36e78b', class: "subheader" }, this.subheader, h("slot", { key: 'a7e725df6a29c4ebb1c83dc75c7a2414f0806103', name: "subheader" }))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-header-dropdown-list-user"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import inheritAriaAttributes from "../../../utils/inheritAriaAttributes";
|
|
|
3
3
|
export class TdsHeaderHamburger {
|
|
4
4
|
render() {
|
|
5
5
|
const inheritedButtonProps = Object.assign({}, inheritAriaAttributes(this.host));
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: 'eaac9c93fdbdc332c51c3dd0888eab60d95275d0' }, h("tds-header-item", { key: '6826512a3fec5c06de3acf983eea5af605beaf18' }, h("button", Object.assign({ key: 'f8b782c514f26198f19b67da4cfe2875554416ef' }, inheritedButtonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '013f54329f729aec325b219e66b95fd4d537a68e', class: "icon", name: "burger", size: "20px" })))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "tds-header-hamburger"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,10 +81,10 @@ export class TdsHeaderItem {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '94dfaa314f682dee3810cf876f11d3a60ff44cec' }, h("tds-core-header-item", { key: 'dafce7d3bd855dcb815cd92648d9a9765a9365e0', class: {
|
|
85
85
|
'component-active': this.active,
|
|
86
86
|
'component-selected': this.selected,
|
|
87
|
-
} }, h("slot", { key: '
|
|
87
|
+
} }, h("slot", { key: 'a0cfa89d9744fd2a2012c34dc3cb8c1c974029a6' }))));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "tds-header-item"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,11 +50,11 @@ export class TdsHeaderLauncher {
|
|
|
50
50
|
}, 'ref': (el) => {
|
|
51
51
|
this.buttonEl = el;
|
|
52
52
|
} });
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'a794dc8a1d6585403012a2059b40fe2868e84e3e' }, h("div", { key: '2dffd73d6d9054fc0b84d59229f7264254173f47', class: {
|
|
54
54
|
'wrapper': true,
|
|
55
55
|
'state-open': this.open,
|
|
56
56
|
'state-list-type-menu': this.hasListTypeMenu,
|
|
57
|
-
} }, h("tds-header-launcher-button", Object.assign({ key: '
|
|
57
|
+
} }, h("tds-header-launcher-button", Object.assign({ key: '26d9cd3499ee637bc16cb7588f03cf4b954ddac0' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '96e2dd6e07ff7e9c4d6e2f9ef335d1d043312d49', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
|
|
58
58
|
{
|
|
59
59
|
name: 'flip',
|
|
60
60
|
options: {
|
|
@@ -9,7 +9,7 @@ export class TdsHeaderLauncherButton {
|
|
|
9
9
|
render() {
|
|
10
10
|
this.ariaAttributes = Object.assign(Object.assign({}, this.ariaAttributes), inheritAriaAttributes(this.host));
|
|
11
11
|
const buttonProps = Object.assign({}, this.ariaAttributes);
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'b8f411243958b59899d67a8d991a1ffca34a82d0' }, h("tds-header-item", { key: '025b3aa6d6eee7f9cdb6c19cc672ab9df149741e', active: this.active }, h("button", Object.assign({ key: '7571c417caba3e5a472f58a893f6033c4102ae09' }, buttonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: 'f6477e6f48ca3eb5550f92123f0edc90a3f4e108', class: "icon", name: "bento", size: "20px", "svg-title": this.tdsAriaLabel })))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tds-header-launcher-button"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class TdsHeaderLauncherGrid {
|
|
|
25
25
|
'role': 'list',
|
|
26
26
|
'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
|
|
27
27
|
};
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '63be73b3bef81a93dc689754e6f1ecb28d36a29b' }, h("div", Object.assign({ key: 'a5695a2b67adbc9c12165a7440091bd4cc429205' }, listAttributes), h("slot", { key: '626a95ca4adcde69296221782d35f5401d41b7aa' }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "tds-header-launcher-grid"; }
|
|
31
31
|
static get originalStyleUrls() {
|
package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsHeaderLauncherGridItem {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'c7faa27ec16322e23b32c2f48d6452acba9f34df', role: "listitem" }, h("slot", { key: 'dc1fff1b9c536df2d88b5e92a83634d1e3bca384' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tds-header-launcher-grid-item"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js
CHANGED
|
@@ -8,7 +8,7 @@ export class TdsHeaderLauncherGridTitle {
|
|
|
8
8
|
this.uuid = generateUniqueId();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '080260b232b8c42511a4f78c5c38db166d4febe3' }, h("h3", { key: 'b147d026dfb9ac70f4abc7935b469cba32dbcbaa', class: "tds-header-launcher-grid-title", id: `tds-header-launcher-grid-title-${this.uuid}` }, h("slot", { key: '0df3a062aa38fa73e875ae8c178c9b52b4b6d063' }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "tds-header-launcher-grid-title"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -8,7 +8,7 @@ export class TdsHeaderLauncherList {
|
|
|
8
8
|
this.uuid = generateUniqueId();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'eca4ad0a5442d8f9a4fa6f2f2d8edeb582b036e1' }, h("tds-header-dropdown-list", { key: '99b5360adb94d53bcfada6dae88daa3b5570ac5d', size: "lg" }, h("slot", { key: 'd2ddc4f12789ceff5b74ab8dbca354603358d03b' }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "tds-header-launcher-list"; }
|
|
14
14
|
}
|
package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsHeaderLauncherListItem {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '497d9c1aaf805a5bba06d860f02002eeead6032c' }, h("tds-header-dropdown-list-item", { key: '74b6b75f5c7759bc226ba7150f9fb5ea23bcfc66', size: "lg" }, h("slot", { key: '00d8917ab3c70f6d0ca27231572c4cdfa47cf07e' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tds-header-launcher-list-item"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js
CHANGED
|
@@ -8,7 +8,7 @@ export class TdsHeaderLauncherListTitle {
|
|
|
8
8
|
this.uuid = generateUniqueId();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'd2480baadcaceab27fb6598d2c781bc74e75df75' }, h("h3", { key: 'e73adadc71723ad00b5f1f138a2fd5d73fdcf8af', class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", { key: '338bd4e60f844e7c399bd4a8d4b3325fbf6f8d3e' }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "tds-header-launcher-list-title"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsHeaderTitle {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("h4", { key: '
|
|
7
|
+
return (h("h4", { key: '0a7c5d1ce63bdb1454c76edbd4bfc4bc1cf10b55' }, h("slot", { key: 'ac27c2a4ce21972a17fba690d79bcd3d731e196b' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tds-header-title"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class TdsHeader {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const navAttributes = Object.assign({}, inheritAriaAttributes(this.host));
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '181fbfe75463969a86384760288b62a2c67ce83e' }, h("slot", { key: '73d7e5f465cdb8d208bb227fdc0db5411eb2c32a', name: "hamburger" }), h("slot", { key: '62844699d097f33eb4286b7a564c42bba820323a', name: "title" }), h("nav", Object.assign({ key: '30676babd29ca880b1f21d1fce28ab124e1ae90b' }, navAttributes), h("ul", { key: '864fca4598d6611c6d895a1550301b21073eeb76', class: "tds-header-component-list" }, h("slot", { key: '4acca7b1d28b79557f59395cc955ee74531b6828' }), h("li", { key: '0917aa2f981f5951b3b688e6eaa93c7a129cb366', class: "tds-header-middle-spacer" }), h("slot", { key: 'c1b1b52718d6180a1b77f0f04498f7f81528ac0d', name: "end" })))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-header"; }
|
|
40
40
|
static get originalStyleUrls() {
|