@scania/tegel 1.52.0 → 1.53.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-DGBnICb9.js +2548 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +1 -1
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/tds-button_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-card.cjs.entry.js +1 -1
- package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-datetime.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +143 -98
- package/dist/cjs/tds-folder-tab.cjs.entry.js +1 -1
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-group.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer.cjs.entry.js +9 -5
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +1 -1
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +1 -1
- package/dist/cjs/tds-modal.cjs.entry.js +12 -8
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-slider.cjs.entry.js +1 -1
- package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tds-step.cjs.entry.js +1 -1
- package/dist/cjs/tds-stepper.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 +1 -1
- package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-footer.cjs.entry.js +18 -10
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/tds-table.cjs.entry.js +1 -1
- package/dist/cjs/tds-tag.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +1 -1
- package/dist/cjs/tds-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tds-toast.cjs.entry.js +1 -1
- package/dist/cjs/tds-toggle.cjs.entry.js +1 -1
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +2 -2
- package/dist/collection/assets/fonts/traton/TratonTypeDisplay-Bold.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeDisplay-Bold.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeDisplay-Medium.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeDisplay-Medium.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Bold.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Bold.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-BoldItalic.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-BoldItalic.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Italic.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Italic.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Medium.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Medium.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-MediumItalic.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-MediumItalic.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Regular.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-Regular.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-SemiBold.woff +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-SemiBold.woff2 +0 -0
- package/dist/collection/assets/fonts/traton/TratonTypeText-SemiBoldItalic.woff2 +0 -0
- package/dist/collection/assets/icons/traton/placeholder.svg +3 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +7 -2
- package/dist/collection/components/button/button.css +105 -212
- package/dist/collection/components/dropdown/dropdown.js +144 -97
- package/dist/collection/components/footer/footer-item/footer-item.css +14 -6
- package/dist/collection/components/footer/footer.css +9 -3
- package/dist/collection/components/footer/footer.js +7 -3
- package/dist/collection/components/icon/tratonIconsArray.js +33 -2
- package/dist/collection/components/link/link.css +8 -4
- package/dist/collection/components/modal/modal.css +3 -11
- package/dist/collection/components/modal/modal.js +11 -7
- package/dist/collection/components/table/table-footer/table-footer.js +39 -13
- package/dist/collection/components/tag/tag.css +24 -3
- package/dist/collection/components/tooltip/tooltip.css +13 -8
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DMVs7mmW.js → p-B4-NZ0-T.js} +1 -1
- package/dist/components/p-BVWWo6dK.js +1 -0
- package/dist/components/{p-D8Rhjha5.js → p-Cl3uo8RO.js} +1 -1
- package/dist/components/{p-DynhdmI7.js → p-DDTzvbMK.js} +1 -1
- package/dist/components/{p-DO04x4VW.js → p-DNQszLML.js} +1 -1
- package/dist/components/p-Do9F2RTX.js +1 -0
- package/dist/components/p-Egx6jNza.js +1 -0
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-datetime.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-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-cell.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-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher.js +1 -1
- package/dist/components/tds-icon.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-tabs.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- package/dist/components/tds-slider.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-footer.js +1 -1
- package/dist/components/tds-table-header-input-wrapper.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-tooltip.js +1 -1
- package/dist/esm/index-VFN9WV0d.js +2519 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +1 -1
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +1 -1
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-breadcrumbs.entry.js +2 -2
- package/dist/esm/tds-button_2.entry.js +2 -2
- package/dist/esm/tds-card.entry.js +1 -1
- package/dist/esm/tds-checkbox.entry.js +1 -1
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +1 -1
- package/dist/esm/tds-datetime.entry.js +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +143 -98
- package/dist/esm/tds-folder-tab.entry.js +1 -1
- package/dist/esm/tds-folder-tabs.entry.js +1 -1
- package/dist/esm/tds-footer-group.entry.js +1 -1
- package/dist/esm/tds-footer-item.entry.js +2 -2
- package/dist/esm/tds-footer.entry.js +9 -5
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/tds-inline-tabs.entry.js +1 -1
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +1 -1
- package/dist/esm/tds-modal.entry.js +12 -8
- package/dist/esm/tds-navigation-tab.entry.js +1 -1
- package/dist/esm/tds-navigation-tabs.entry.js +1 -1
- package/dist/esm/tds-popover-canvas.entry.js +1 -1
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +1 -1
- package/dist/esm/tds-popover-menu.entry.js +1 -1
- package/dist/esm/tds-radio-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown.entry.js +1 -1
- package/dist/esm/tds-side-menu-item.entry.js +1 -1
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image_2.entry.js +1 -1
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +1 -1
- package/dist/esm/tds-slider.entry.js +1 -1
- package/dist/esm/tds-spinner.entry.js +1 -1
- package/dist/esm/tds-step.entry.js +1 -1
- package/dist/esm/tds-stepper.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 +1 -1
- package/dist/esm/tds-table-body-row.entry.js +1 -1
- package/dist/esm/tds-table-body.entry.js +1 -1
- package/dist/esm/tds-table-footer.entry.js +18 -10
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +1 -1
- package/dist/esm/tds-table-toolbar.entry.js +1 -1
- package/dist/esm/tds-table.entry.js +1 -1
- package/dist/esm/tds-tag.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +1 -1
- package/dist/esm/tds-textarea.entry.js +1 -1
- package/dist/esm/tds-toast.entry.js +1 -1
- package/dist/esm/tds-toggle.entry.js +1 -1
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +3 -3
- package/dist/tegel/assets/fonts/traton/TratonTypeDisplay-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeDisplay-Bold.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeDisplay-Medium.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeDisplay-Medium.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Bold.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-BoldItalic.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-BoldItalic.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Italic.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Medium.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Medium.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-MediumItalic.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-MediumItalic.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-Regular.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-SemiBold.woff +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-SemiBold.woff2 +0 -0
- package/dist/tegel/assets/fonts/traton/TratonTypeText-SemiBoldItalic.woff2 +0 -0
- package/dist/tegel/assets/icons/traton/placeholder.svg +3 -0
- package/dist/tegel/{p-56310be9.entry.js → p-0287d7e6.entry.js} +1 -1
- package/dist/tegel/{p-36690d76.entry.js → p-09283aec.entry.js} +1 -1
- package/dist/tegel/p-09a49461.entry.js +1 -0
- package/dist/tegel/{p-59cf7a46.entry.js → p-1040713f.entry.js} +1 -1
- package/dist/tegel/{p-11c42fea.entry.js → p-15189121.entry.js} +1 -1
- package/dist/tegel/{p-4f9883a1.entry.js → p-17e2a780.entry.js} +1 -1
- package/dist/tegel/{p-6fd80b65.entry.js → p-1a6cc08f.entry.js} +1 -1
- package/dist/tegel/{p-19f6a98c.entry.js → p-21e5d59e.entry.js} +1 -1
- package/dist/tegel/{p-b1748053.entry.js → p-2368a679.entry.js} +1 -1
- package/dist/tegel/{p-9c9aab5c.entry.js → p-25ad3b5a.entry.js} +1 -1
- package/dist/tegel/{p-9be52179.entry.js → p-2664fa80.entry.js} +1 -1
- package/dist/tegel/{p-7df02354.entry.js → p-27147331.entry.js} +1 -1
- package/dist/tegel/{p-2d4fbdc1.entry.js → p-2a35cd68.entry.js} +1 -1
- package/dist/tegel/p-2bcff4fd.entry.js +1 -0
- package/dist/tegel/{p-74d00b66.entry.js → p-2e38e5f0.entry.js} +1 -1
- package/dist/tegel/{p-cabd33eb.entry.js → p-34a68c03.entry.js} +1 -1
- package/dist/tegel/{p-863e86f5.entry.js → p-39786a40.entry.js} +1 -1
- package/dist/tegel/{p-ceae3c8f.entry.js → p-3a8825e6.entry.js} +1 -1
- package/dist/tegel/p-3a9e4918.entry.js +1 -0
- package/dist/tegel/p-3ab869e0.entry.js +1 -0
- package/dist/tegel/{p-2afb0b8e.entry.js → p-3bd827a4.entry.js} +1 -1
- package/dist/tegel/{p-71b9932a.entry.js → p-42039b28.entry.js} +1 -1
- package/dist/tegel/{p-3b47d9c2.entry.js → p-42d189f0.entry.js} +1 -1
- package/dist/tegel/p-43a4ab98.entry.js +1 -0
- package/dist/tegel/{p-095876cb.entry.js → p-4427d72f.entry.js} +1 -1
- package/dist/tegel/{p-7a2fa294.entry.js → p-4942f086.entry.js} +1 -1
- package/dist/tegel/{p-9c52fe1f.entry.js → p-4f6aac2c.entry.js} +1 -1
- package/dist/tegel/p-50060137.entry.js +1 -0
- package/dist/tegel/{p-d90aafb6.entry.js → p-577f376b.entry.js} +1 -1
- package/dist/tegel/{p-2fb1a04b.entry.js → p-5a850695.entry.js} +1 -1
- package/dist/tegel/{p-4977e2ac.entry.js → p-5adfe9d6.entry.js} +1 -1
- package/dist/tegel/{p-1260b114.entry.js → p-5aee8773.entry.js} +1 -1
- package/dist/tegel/{p-eea31650.entry.js → p-5d18b544.entry.js} +1 -1
- package/dist/tegel/{p-d2db92f1.entry.js → p-6522ac2d.entry.js} +1 -1
- package/dist/tegel/{p-d8b80a86.entry.js → p-693d9a90.entry.js} +1 -1
- package/dist/tegel/{p-32f7d352.entry.js → p-749ca751.entry.js} +1 -1
- package/dist/tegel/{p-79456038.entry.js → p-7ca5da7e.entry.js} +1 -1
- package/dist/tegel/{p-fddf22db.entry.js → p-7de064e6.entry.js} +1 -1
- package/dist/tegel/{p-a2471f14.entry.js → p-7ea3179a.entry.js} +1 -1
- package/dist/tegel/p-7f3b6674.entry.js +1 -0
- package/dist/tegel/{p-c02c22d5.entry.js → p-8176c57c.entry.js} +1 -1
- package/dist/tegel/p-84ee8542.entry.js +1 -0
- package/dist/tegel/{p-f993cc32.entry.js → p-88a89bae.entry.js} +1 -1
- package/dist/tegel/{p-a0f84b48.entry.js → p-893b3a10.entry.js} +1 -1
- package/dist/tegel/{p-efce19b7.entry.js → p-8a32f501.entry.js} +1 -1
- package/dist/tegel/{p-823c1334.entry.js → p-8d5f25c6.entry.js} +1 -1
- package/dist/tegel/p-8fda5922.entry.js +1 -0
- package/dist/tegel/{p-bb6a5e22.entry.js → p-9122bbb9.entry.js} +1 -1
- package/dist/tegel/{p-0d71c9aa.entry.js → p-937a4ef1.entry.js} +1 -1
- package/dist/tegel/p-9539123c.entry.js +1 -0
- package/dist/tegel/p-974e6258.entry.js +1 -0
- package/dist/tegel/{p-f0dfebaf.entry.js → p-9baf0c95.entry.js} +1 -1
- package/dist/tegel/{p-311a647f.entry.js → p-9d3dd7a1.entry.js} +1 -1
- package/dist/tegel/{p-b6556200.entry.js → p-9d755c09.entry.js} +1 -1
- package/dist/tegel/{p-e7bd5414.entry.js → p-9f63eb3b.entry.js} +1 -1
- package/dist/tegel/p-VFN9WV0d.js +2 -0
- package/dist/tegel/{p-37dc9db8.entry.js → p-a2a65bdf.entry.js} +1 -1
- package/dist/tegel/{p-7c5558b9.entry.js → p-a476f37f.entry.js} +1 -1
- package/dist/tegel/{p-380e0207.entry.js → p-a4ce9d18.entry.js} +1 -1
- package/dist/tegel/{p-51f64a57.entry.js → p-aa048dfa.entry.js} +1 -1
- package/dist/tegel/p-ac3dd42b.entry.js +1 -0
- package/dist/tegel/{p-bb22708d.entry.js → p-aea4aea5.entry.js} +1 -1
- package/dist/tegel/{p-4f4aebc3.entry.js → p-b0fe7b44.entry.js} +1 -1
- package/dist/tegel/{p-9b17ac76.entry.js → p-baabfde2.entry.js} +1 -1
- package/dist/tegel/p-beb70800.entry.js +1 -0
- package/dist/tegel/{p-0f015d2b.entry.js → p-bfe2aab2.entry.js} +1 -1
- package/dist/tegel/p-cb8b1417.entry.js +1 -0
- package/dist/tegel/{p-590f9dc6.entry.js → p-d06b8bb8.entry.js} +1 -1
- package/dist/tegel/{p-ad549f40.entry.js → p-d0842e39.entry.js} +1 -1
- package/dist/tegel/{p-5d11c6b9.entry.js → p-d9faf299.entry.js} +1 -1
- package/dist/tegel/{p-50cc4747.entry.js → p-da18140a.entry.js} +1 -1
- package/dist/tegel/p-dd44ee2d.entry.js +1 -0
- package/dist/tegel/{p-27e336aa.entry.js → p-e676b230.entry.js} +1 -1
- package/dist/tegel/{p-09037af5.entry.js → p-e6df230b.entry.js} +1 -1
- package/dist/tegel/{p-ec239e6a.entry.js → p-ebdddea6.entry.js} +1 -1
- package/dist/tegel/{p-5524ecc6.entry.js → p-ed485529.entry.js} +1 -1
- package/dist/tegel/{p-9e9667a2.entry.js → p-f7518ea3.entry.js} +1 -1
- package/dist/tegel/{p-d946ae72.entry.js → p-f939a432.entry.js} +1 -1
- package/dist/tegel/{p-157a0f1b.entry.js → p-fa5e71b0.entry.js} +1 -1
- package/dist/tegel/{p-3dbb749e.entry.js → p-ff355ee6.entry.js} +1 -1
- package/dist/tegel/tegel.css +65 -29
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +30 -17
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +6 -2
- package/dist/types/components/table/table-footer/table-footer.d.ts +5 -3
- package/dist/types/components.d.ts +15 -6
- package/package.json +4 -5
- package/dist/cjs/index-TseCxKiF.js +0 -2548
- package/dist/components/p-Dkw_xBUE.js +0 -1
- package/dist/components/p-T8F4U3Yc.js +0 -1
- package/dist/components/p-TTZk9Ssg.js +0 -1
- package/dist/esm/index-Befhko2r.js +0 -2519
- package/dist/tegel/p-14d1f541.entry.js +0 -1
- package/dist/tegel/p-2268f6b0.entry.js +0 -1
- package/dist/tegel/p-35421451.entry.js +0 -1
- package/dist/tegel/p-3b4f67b3.entry.js +0 -1
- package/dist/tegel/p-3da8d1a1.entry.js +0 -1
- package/dist/tegel/p-54a7b360.entry.js +0 -1
- package/dist/tegel/p-5ba6e899.entry.js +0 -1
- package/dist/tegel/p-5ca0d006.entry.js +0 -1
- package/dist/tegel/p-74412bf6.entry.js +0 -1
- package/dist/tegel/p-79aa39fb.entry.js +0 -1
- package/dist/tegel/p-Befhko2r.js +0 -2
- package/dist/tegel/p-bbc5f90f.entry.js +0 -1
- package/dist/tegel/p-c5208ac4.entry.js +0 -1
- package/dist/tegel/p-e09b5f6a.entry.js +0 -1
- package/dist/tegel/p-ecbfcb75.entry.js +0 -1
- package/dist/tegel/p-fdde3a0d.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -130,7 +130,46 @@ const TdsDropdown = class {
|
|
|
130
130
|
this.selectedOptions = [];
|
|
131
131
|
this.filterQuery = '';
|
|
132
132
|
this.hasFocus = false;
|
|
133
|
+
this.pendingInvalidValues = new Set();
|
|
133
134
|
this.uuid = generateUniqueId();
|
|
135
|
+
this.handleArrowDown = (activeElement) => {
|
|
136
|
+
const children = this.getChildren();
|
|
137
|
+
/** Get the index of the current focus index, if there is no
|
|
138
|
+
nextElementSibling return the index for the first child in our Dropdown. */
|
|
139
|
+
const startingIndex = activeElement.nextElementSibling
|
|
140
|
+
? children.findIndex((element) => element === activeElement.nextElementSibling)
|
|
141
|
+
: 0;
|
|
142
|
+
if (children.length > 0) {
|
|
143
|
+
const elementIndex = findNextFocusableElement(children, startingIndex);
|
|
144
|
+
const target = typeof elementIndex === 'number' ? children[elementIndex] : children[0];
|
|
145
|
+
target === null || target === void 0 ? void 0 : target.focus();
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
this.handleArrowUp = (activeElement) => {
|
|
149
|
+
const children = this.getChildren();
|
|
150
|
+
/** Get the index of the current focus index, if there is no
|
|
151
|
+
previousElementSibling return the index for the first last in our Dropdown. */
|
|
152
|
+
const startingIndex = activeElement.nextElementSibling
|
|
153
|
+
? children.findIndex((element) => element === activeElement.previousElementSibling)
|
|
154
|
+
: 0;
|
|
155
|
+
if (children.length > 0) {
|
|
156
|
+
const elementIndex = findPreviousFocusableElement(children, startingIndex);
|
|
157
|
+
const target = typeof elementIndex === 'number' ? children[elementIndex] : children[children.length - 1];
|
|
158
|
+
target === null || target === void 0 ? void 0 : target.focus();
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
this.handleEscape = () => {
|
|
162
|
+
var _a, _b;
|
|
163
|
+
this.open = false;
|
|
164
|
+
/** Return focus to input/button when Escape key is used */
|
|
165
|
+
if (this.filter) {
|
|
166
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
const button = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('button');
|
|
170
|
+
button === null || button === void 0 ? void 0 : button.focus();
|
|
171
|
+
}
|
|
172
|
+
};
|
|
134
173
|
this.setDefaultOption = () => {
|
|
135
174
|
if (this.internalDefaultValue) {
|
|
136
175
|
/** Convert the internal default value to an array if it's not already */
|
|
@@ -140,13 +179,7 @@ const TdsDropdown = class {
|
|
|
140
179
|
this.updateDropdownStateInternal(defaultValues);
|
|
141
180
|
}
|
|
142
181
|
};
|
|
143
|
-
this.getChildren = () =>
|
|
144
|
-
const tdsDropdownOptions = Array.from(this.host.children).filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION');
|
|
145
|
-
if (tdsDropdownOptions.length === 0) {
|
|
146
|
-
console.warn('TDS DROPDOWN: No options found. Disregard if loading data asynchronously.');
|
|
147
|
-
}
|
|
148
|
-
return tdsDropdownOptions;
|
|
149
|
-
};
|
|
182
|
+
this.getChildren = () => Array.from(this.host.children).filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION');
|
|
150
183
|
this.getSelectedChildren = () => {
|
|
151
184
|
if (this.selectedOptions.length === 0)
|
|
152
185
|
return [];
|
|
@@ -254,48 +287,51 @@ const TdsDropdown = class {
|
|
|
254
287
|
}).length;
|
|
255
288
|
}
|
|
256
289
|
};
|
|
290
|
+
this.focusInput = (value) => {
|
|
291
|
+
if (this.inputElement) {
|
|
292
|
+
this.inputElement.value = value;
|
|
293
|
+
this.inputElement.focus();
|
|
294
|
+
}
|
|
295
|
+
};
|
|
257
296
|
this.handleFilterReset = () => {
|
|
258
297
|
if (this.multiselect) {
|
|
259
|
-
|
|
260
|
-
if (this.filterQuery.length > 0) {
|
|
261
|
-
const clearedValue = this.filterQuery;
|
|
262
|
-
this.filterQuery = '';
|
|
263
|
-
this.resetFilterVisibility();
|
|
264
|
-
if (this.inputElement) {
|
|
265
|
-
this.inputElement.value = this.getValue();
|
|
266
|
-
this.inputElement.focus();
|
|
267
|
-
}
|
|
268
|
-
this.tdsClear.emit({ clearedValue });
|
|
269
|
-
}
|
|
270
|
-
else if (this.selectedOptions.length > 0) {
|
|
271
|
-
const clearedValue = this.selectedOptions.join(',');
|
|
272
|
-
this.updateDropdownStateFromUser([]);
|
|
273
|
-
if (this.inputElement) {
|
|
274
|
-
this.inputElement.value = '';
|
|
275
|
-
this.inputElement.focus();
|
|
276
|
-
}
|
|
277
|
-
this.tdsClear.emit({ clearedValue });
|
|
278
|
-
}
|
|
298
|
+
this.handleMultiselectFilterReset();
|
|
279
299
|
}
|
|
280
300
|
else {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
301
|
+
this.handleSingleFilterReset();
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
/** Multiselect + filter: two-step clear */
|
|
305
|
+
this.handleMultiselectFilterReset = () => {
|
|
306
|
+
if (this.filterQuery.length > 0) {
|
|
307
|
+
const clearedValue = this.filterQuery;
|
|
308
|
+
this.filterQuery = '';
|
|
309
|
+
this.resetFilterVisibility();
|
|
310
|
+
this.focusInput(this.getValue());
|
|
311
|
+
this.tdsClear.emit({ clearedValue });
|
|
312
|
+
}
|
|
313
|
+
else if (this.selectedOptions.length > 0) {
|
|
314
|
+
const clearedValue = this.selectedOptions.join(',');
|
|
315
|
+
this.updateDropdownStateFromUser([]);
|
|
316
|
+
this.focusInput('');
|
|
317
|
+
this.tdsClear.emit({ clearedValue });
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
/** Single select + filter: clear everything immediately */
|
|
321
|
+
this.handleSingleFilterReset = () => {
|
|
322
|
+
const clearedParts = [];
|
|
323
|
+
if (this.filterQuery.length > 0) {
|
|
324
|
+
clearedParts.push(this.filterQuery);
|
|
325
|
+
this.filterQuery = '';
|
|
326
|
+
this.resetFilterVisibility();
|
|
327
|
+
}
|
|
328
|
+
if (this.selectedOptions.length > 0) {
|
|
329
|
+
clearedParts.push(this.selectedOptions.join(','));
|
|
330
|
+
this.updateDropdownStateFromUser([]);
|
|
331
|
+
}
|
|
332
|
+
this.focusInput('');
|
|
333
|
+
if (clearedParts.length > 0) {
|
|
334
|
+
this.tdsClear.emit({ clearedValue: clearedParts.join(',') });
|
|
299
335
|
}
|
|
300
336
|
};
|
|
301
337
|
this.resetFilterVisibility = () => {
|
|
@@ -360,7 +396,7 @@ const TdsDropdown = class {
|
|
|
360
396
|
const normalizedValue = this.normalizeValue(newValue);
|
|
361
397
|
/** Only update if actually changed */
|
|
362
398
|
if (hasValueChanged(normalizedValue, this.selectedOptions)) {
|
|
363
|
-
this.
|
|
399
|
+
this.updateDropdownStateInternal(normalizedValue);
|
|
364
400
|
}
|
|
365
401
|
}
|
|
366
402
|
normalizeValue(value) {
|
|
@@ -391,8 +427,8 @@ const TdsDropdown = class {
|
|
|
391
427
|
this.updateDropdownState(values, true);
|
|
392
428
|
}
|
|
393
429
|
updateDropdownState(values, emitChange = true) {
|
|
394
|
-
/** Validate the values
|
|
395
|
-
const validValues = this.validateValues(values);
|
|
430
|
+
/** Validate the values - only filter out invalid values for user-triggered changes */
|
|
431
|
+
const validValues = this.validateValues(values, emitChange);
|
|
396
432
|
/** Update internal state */
|
|
397
433
|
this.selectedOptions = [...validValues];
|
|
398
434
|
/** Update the value prop */
|
|
@@ -409,19 +445,17 @@ const TdsDropdown = class {
|
|
|
409
445
|
/** Update value attribute */
|
|
410
446
|
this.setValueAttribute();
|
|
411
447
|
}
|
|
412
|
-
validateValues(values) {
|
|
413
|
-
/** Make sure we have children before validation */
|
|
448
|
+
validateValues(values, strict = false) {
|
|
414
449
|
const children = this.getChildren();
|
|
415
450
|
if (!children || children.length === 0) {
|
|
416
|
-
console.warn('No dropdown options found');
|
|
417
451
|
return values; /** Return original values if no children yet */
|
|
418
452
|
}
|
|
419
453
|
return values.filter((val) => {
|
|
420
454
|
const isValid = children.some((element) => convertToString(element.value) === convertToString(val));
|
|
421
|
-
if (!isValid) {
|
|
422
|
-
console.warn(`Option with value "${val}" does not exist`);
|
|
455
|
+
if (!isValid && strict) {
|
|
456
|
+
console.warn(`TDS DROPDOWN: Option with value "${val}" does not exist`);
|
|
423
457
|
}
|
|
424
|
-
return isValid;
|
|
458
|
+
return isValid || !strict;
|
|
425
459
|
});
|
|
426
460
|
}
|
|
427
461
|
updateOptionElements() {
|
|
@@ -547,47 +581,20 @@ const TdsDropdown = class {
|
|
|
547
581
|
}
|
|
548
582
|
}
|
|
549
583
|
async onKeyDown(event) {
|
|
550
|
-
var _a, _b;
|
|
551
|
-
/** Get the active element */
|
|
552
584
|
const { activeElement } = document;
|
|
553
585
|
if (!activeElement) {
|
|
554
586
|
return;
|
|
555
587
|
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
target === null || target === void 0 ? void 0 : target.focus();
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
else if (event.key === 'ArrowUp') {
|
|
570
|
-
/** Get the index of the current focus index, if there is no
|
|
571
|
-
previousElementSibling return the index for the first last in our Dropdown. */
|
|
572
|
-
const startingIndex = activeElement.nextElementSibling
|
|
573
|
-
? this.getChildren().findIndex((element) => element === activeElement.previousElementSibling)
|
|
574
|
-
: 0;
|
|
575
|
-
if (children.length > 0) {
|
|
576
|
-
const elementIndex = findPreviousFocusableElement(children, startingIndex);
|
|
577
|
-
const target = typeof elementIndex === 'number' ? children[elementIndex] : children[children.length - 1];
|
|
578
|
-
target === null || target === void 0 ? void 0 : target.focus();
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
else if (event.key === 'Escape') {
|
|
582
|
-
this.open = false;
|
|
583
|
-
/** Return focus to input/button when Escape key is used */
|
|
584
|
-
if (this.filter) {
|
|
585
|
-
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
586
|
-
}
|
|
587
|
-
else {
|
|
588
|
-
const button = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('button');
|
|
589
|
-
button === null || button === void 0 ? void 0 : button.focus();
|
|
590
|
-
}
|
|
588
|
+
switch (event.key) {
|
|
589
|
+
case 'ArrowDown':
|
|
590
|
+
this.handleArrowDown(activeElement);
|
|
591
|
+
break;
|
|
592
|
+
case 'ArrowUp':
|
|
593
|
+
this.handleArrowUp(activeElement);
|
|
594
|
+
break;
|
|
595
|
+
case 'Escape':
|
|
596
|
+
this.handleEscape();
|
|
597
|
+
break;
|
|
591
598
|
}
|
|
592
599
|
}
|
|
593
600
|
/** If the Dropdown gets closed,
|
|
@@ -628,7 +635,45 @@ const TdsDropdown = class {
|
|
|
628
635
|
}
|
|
629
636
|
/** Method to handle slot changes */
|
|
630
637
|
handleSlotChange() {
|
|
631
|
-
|
|
638
|
+
/**
|
|
639
|
+
* Warn for values that were pending from a previous slot change
|
|
640
|
+
* and are still invalid now that new options have arrived.
|
|
641
|
+
*/
|
|
642
|
+
this.warnAndClearPending();
|
|
643
|
+
if (this.selectedOptions.length > 0) {
|
|
644
|
+
this.updateDropdownStateInternal([...this.selectedOptions]);
|
|
645
|
+
}
|
|
646
|
+
else if (this.internalDefaultValue) {
|
|
647
|
+
this.setDefaultOption();
|
|
648
|
+
}
|
|
649
|
+
/** Track currently unmatched values as pending for the next slot change */
|
|
650
|
+
this.updatePendingInvalidValues();
|
|
651
|
+
}
|
|
652
|
+
/** Warn for pending values that are still not matched, then clear pending */
|
|
653
|
+
warnAndClearPending() {
|
|
654
|
+
const children = this.getChildren();
|
|
655
|
+
if (!children || children.length === 0 || this.pendingInvalidValues.size === 0)
|
|
656
|
+
return;
|
|
657
|
+
this.pendingInvalidValues.forEach((val) => {
|
|
658
|
+
const isValid = children.some((element) => convertToString(element.value) === convertToString(val));
|
|
659
|
+
if (!isValid) {
|
|
660
|
+
console.warn(`TDS DROPDOWN: Option with value "${val}" does not exist`);
|
|
661
|
+
}
|
|
662
|
+
});
|
|
663
|
+
this.pendingInvalidValues.clear();
|
|
664
|
+
}
|
|
665
|
+
/** Track unmatched selected values as pending for deferred warning */
|
|
666
|
+
updatePendingInvalidValues() {
|
|
667
|
+
const children = this.getChildren();
|
|
668
|
+
if (!children || children.length === 0)
|
|
669
|
+
return;
|
|
670
|
+
this.pendingInvalidValues.clear();
|
|
671
|
+
this.selectedOptions.forEach((val) => {
|
|
672
|
+
const isValid = children.some((element) => convertToString(element.value) === convertToString(val));
|
|
673
|
+
if (!isValid) {
|
|
674
|
+
this.pendingInvalidValues.add(val);
|
|
675
|
+
}
|
|
676
|
+
});
|
|
632
677
|
}
|
|
633
678
|
/** Method to check if we should normalize text */
|
|
634
679
|
normalizeString(text) {
|
|
@@ -706,9 +751,9 @@ const TdsDropdown = class {
|
|
|
706
751
|
else if (showPlaceholderButton) {
|
|
707
752
|
buttonText = (_d = this.placeholder) !== null && _d !== void 0 ? _d : '';
|
|
708
753
|
}
|
|
709
|
-
return (h(Host, { key: '
|
|
754
|
+
return (h(Host, { key: 'ef4fbe1a77a277a93bf542f67d423a6935755522', class: {
|
|
710
755
|
[`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
|
|
711
|
-
} }, this.label && this.labelPosition === 'outside' && (h("div", { key: '
|
|
756
|
+
} }, this.label && this.labelPosition === 'outside' && (h("div", { key: 'e543abac115d7ab45c64776dada58b11d381ae8a', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '029261f9bd4f46039ed049ca7e08f38641edae05', class: {
|
|
712
757
|
'dropdown-select': true,
|
|
713
758
|
[this.size]: true,
|
|
714
759
|
'disabled': this.disabled,
|
|
@@ -767,7 +812,7 @@ const TdsDropdown = class {
|
|
|
767
812
|
}, class: {
|
|
768
813
|
'clear-icon': true,
|
|
769
814
|
'hide': !(this.multiselect && this.selectedOptions.length > 0),
|
|
770
|
-
}, 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: '
|
|
815
|
+
}, 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: '67d82711bf2a53fdc77901c8a28bd83766c287d4', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
|
|
771
816
|
if (element)
|
|
772
817
|
this.dropdownList = element;
|
|
773
818
|
}, class: {
|
|
@@ -779,11 +824,11 @@ const TdsDropdown = class {
|
|
|
779
824
|
'closed': !this.open,
|
|
780
825
|
[`animation-enter-${this.animation}`]: this.animation !== 'none' && this.open,
|
|
781
826
|
[`animation-exit-${this.animation}`]: this.animation !== 'none' && !this.open,
|
|
782
|
-
} }, h("slot", { key: '
|
|
827
|
+
} }, h("slot", { key: '36a3d6ec255decbf8233174eb29f996f141007d2', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '84a4033110327c8237edff3defdbc831fb56869b', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: '0862c49887b92e56f4846831cb514784369715d0', id: helperId, class: {
|
|
783
828
|
helper: true,
|
|
784
829
|
error: this.error,
|
|
785
830
|
disabled: this.disabled,
|
|
786
|
-
} }, this.error && h("tds-icon", { key: '
|
|
831
|
+
} }, this.error && h("tds-icon", { key: '107f29830769cb6928fec4d6cae9f050d47437d7', name: "error", size: "16px" }), this.helper))));
|
|
787
832
|
}
|
|
788
833
|
get host() { return getElement(this); }
|
|
789
834
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const folderTabCss = () => `:host{box-sizing:border-box;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;min-width:142px;display:block;width:calc(100% - 32px);font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;cursor:pointer;padding:16px;white-space:nowrap;text-decoration:none;text-align:left;outline:none;border:none}:host ::slotted(*:focus-within)::before{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;content:"";position:absolute;top:3px;bottom:3px;left:3px;right:3px}:host div:not(.selected){background-color:var(--tds-folder-tab-background);position:relative}:host div:not(.selected)::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background-color:var(--tds-folder-tab-divider-color)}:host div:not(.selected) ::slotted(*){border-top:2px solid transparent;color:var(--tds-folder-tab-item-color)}:host div:not(.selected):hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host div:not(.selected):hover:not(.disabled) ::slotted(*){border-top:2px solid var(--tds-folder-tab-top-border-hover);color:var(--tds-folder-tab-color)}:host div:not(.selected).disabled{background-color:var(--tds-folder-tab-item-background-disabled)}:host div:not(.selected).disabled ::slotted(*){color:var(--tds-folder-tab-item-color-disabled)}:host div:not(.selected).disabled ::slotted(*:focus-visible){outline:none}:host div:not(.selected).disabled ::slotted(*:hover){cursor:not-allowed}:host div:not(.selected).disabled ::slotted(*::after){content:none}:host .selected{background-color:var(--tds-folder-tab-background-selected);border-top:2px solid var(--tds-folder-tab-border-selected)}:host .selected::after{content:" ";background-color:var(--tds-folder-tab-divider-color);width:1px;top:0;bottom:0;right:-1px;display:block;position:absolute;z-index:1}:host .selected ::slotted(*){color:var(--tds-folder-tab-color)}:host .selected:hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host .selected:hover:not(.disabled) ::slotted(*){color:var(--tds-folder-tab-color)}:host(.first) ::slotted(*){border-left-color:transparent}:host(.first) .selected{border-left:none}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const folderTabsCss = () => `:host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:1;right:0}:host .scroll-left-button{z-index:1;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus-within::before,:host .scroll-left-button:focus-within::before{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;content:"";position:absolute;top:3px;bottom:3px;left:3px;right:3px}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
|
|
3
3
|
|
|
4
4
|
const footerGroupCss = () => `:host{display:block}:host .footer-top-title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links-header);padding-bottom:8px}:host .footer-top-title *,:host .footer-top-title ::slotted(*){margin:0}:host button.footer-top-title-button{border:none;width:100%;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--tds-footer-top-divider)}:host button.footer-top-title-button *,:host button.footer-top-title-button ::slotted(*){margin:0}:host button.footer-top-title-button.expanded tds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--tds-footer-top-button-active)}:host button.footer-top-title-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}:host button.footer-top-title-button tds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:12px}:host [role=list].start,:host [role=list].end{gap:24px}:host [role=list].top-part-child{flex-direction:column}:host .mobile-view [role=list].start:not(.top-part-child){flex-direction:column}:host .mobile-view [role=list].start:not(.top-part-child).start,:host .mobile-view [role=list].start:not(.top-part-child).end{gap:8px}:host .mobile-view [role=list].top-part-child.closed{display:none}:host .mobile-view [role=list].top-part-child{gap:0}:host .mobile-view button.footer-top-title-button{display:flex;align-items:center}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
|
-
const footerItemCss = () => `:host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font:var(--
|
|
3
|
+
const footerItemCss = () => `:host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform);color:var(--tds-footer-main-links);text-decoration:none}:host([role=listitem]) div ::slotted(a:focus-visible),:host([role=listitem]) div ::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}:host([role=listitem]) div ::slotted(a:hover),:host([role=listitem]) div ::slotted(button:hover){text-decoration:underline}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform);color:var(--tds-footer-top-links)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::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}@media all and (width <= 992px){:host([role=listitem]) div.top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px}:host([role=listitem]) div.top-part-child ::slotted(a:active),:host([role=listitem]) div.top-part-child ::slotted(button:active){text-decoration:underline;background-color:var(--tds-footer-top-links-background-active)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::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
4
|
|
|
5
5
|
const TdsFooterItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
|
|
3
3
|
|
|
4
|
-
const footerCss = () => `:host{display:block}:host slot[name=top]::slotted(*){box-sizing:border-box;background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start],:host slot[name=end]{display:flex}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host slot[name=end]{margin-left:auto}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font:var(--
|
|
4
|
+
const footerCss = () => `:host{display:block}:host slot[name=top]::slotted(*){box-sizing:border-box;background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start],:host slot[name=end]{display:flex}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host slot[name=end]{margin-left:auto;color:var(--tds-footer-main-social-icon)}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform);color:var(--tds-footer-main-copyright)}:host .footer-main-bottom .brand{background-image:var(--tds-footer-logotype-local), var(--tds-footer-logotype-cdn);background-repeat:no-repeat;background-size:117px;background-position:right;width:117px;height:20px}:host .footer-main-bottom .brand p{color:transparent;padding:0;margin:0;height:100%;visibility:hidden}@media all and (max-width: 992px){:host slot[name=top]::slotted(*){display:block;width:100%;padding:0}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host slot[name=end]::slotted(*){flex-direction:row;gap:8px}:host slot[name=end]{margin-left:unset}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}`;
|
|
5
5
|
|
|
6
6
|
const TdsFooter = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
/** Mode variant of the component, based on current mode. */
|
|
10
10
|
this.modeVariant = null;
|
|
11
|
-
|
|
11
|
+
}
|
|
12
|
+
getBrandName() {
|
|
13
|
+
return this.host.closest('.traton') ? 'Traton' : 'Scania';
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
16
|
const usesTopSlot = hasSlot('top', this.host);
|
|
15
17
|
const usesStartSlot = hasSlot('start', this.host);
|
|
16
18
|
const usesEndSlot = hasSlot('end', this.host);
|
|
17
19
|
const usesCopyrightSlot = hasSlot('copyright', this.host);
|
|
18
|
-
|
|
20
|
+
const brandName = this.getBrandName();
|
|
21
|
+
const copyrightText = `Copyright © ${new Date().getFullYear()} ${brandName}`;
|
|
22
|
+
return (h(Host, { key: 'ac9e0121981c38b240ff4f96fbfc96fb59f51005', class: {
|
|
19
23
|
[`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
|
|
20
|
-
} }, h("footer", { key: '
|
|
24
|
+
} }, h("footer", { key: 'd17bd41f9de0efd4449fba8fa48894a86f5a682b' }, usesTopSlot && h("slot", { key: '7f557c36ba1da44009f5be05ed353ec1d92ab88f', name: "top" }), h("div", { key: '5a10ae17a39a6eb707e036076a471f1dec135d32', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: 'c3142b6c2e5251a0ce9c49c66524c7d982e4a70c', class: "footer-main-top" }, usesStartSlot && h("slot", { key: '29923cff3f6a1bf0be4ae67fe190eadfb74e59b2', name: "start" }), usesEndSlot && h("slot", { key: '6c9216a5c9ad01c94dbc00448a3b7e778dabc705', name: "end" }))), h("div", { key: '5c827108dc49ecd4c1d86aaad9de4b7b390009ad', class: "footer-main-bottom" }, h("small", { key: 'e9ed752b108bc7d9dd52154baa9f8cd9ed2c0039', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : copyrightText), h("div", { key: '7183d25ff8387a0a8691a02734d7748867960020', class: "brand" }, h("p", { key: '4d0848e1c716dd68c51e2499d16707b9c48b53ce' }, brandName)))))));
|
|
21
25
|
}
|
|
22
26
|
get host() { return getElement(this); }
|
|
23
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const headerBrandSymbolCss = () => `:host tds-header-item{display:none}:host tds-header-item ::slotted(*){background-image:var(--tds-background-image-scania-symbol-svg-local), var(--tds-background-image-scania-symbol-svg);background-size:30px auto;background-position:center;background-repeat:no-repeat}@media (min-width: 992px){:host tds-header-item{display:block}}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const tableHeaderCellCss = () => `:host{display:contents}:host(.tds-table__header-cell) th{box-sizing:border-box;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-header-background-hover);padding:0;height:48px;min-width:192px;box-sizing:border-box;vertical-align:middle;overflow:hidden;transition:background-color 200ms ease}:host(.tds-table__header-cell) th *{box-sizing:border-box}:host(.tds-table__header-cell) th .tds-table__header-text{padding:8px 16px;margin:0}:host(.tds-table__header-cell) th .tds-table__header-text-no-padding{padding:0}:host(.tds-table__header-cell) th:hover{background-color:var(--tds-table-header-background-hover)}:host(.tds-table__header-cell--sortable) th .tds-table__header-button{display:flex;align-items:center;gap:8px;justify-content:start;flex-direction:row;width:100%;height:100%;padding:0 16px;background-color:transparent;border:none;cursor:pointer;transition:background-color 200ms ease}:host(.tds-table__header-cell--sortable) th .tds-table__header-button:focus{outline:2px solid var(--tds-table-header-btn-focus);outline-offset:-2px}:host(.tds-table__header-cell--sortable) th .tds-table__header-button:focus .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--sortable) th .tds-table__header-button .tds-table__header-button-text{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);text-align:left;color:var(--tds-table-header-btn-color)}:host(.tds-table__header-cell--sortable) th .tds-table__header-button .tds-table__header-button-icon{flex:0 0 16px;height:16px;width:16px;opacity:0;transform-origin:center;transition:opacity 200ms ease-in, transform 200ms ease;color:var(--tds-table-color)}:host(.tds-table__header-cell--sortable) th .tds-table__header-button:hover .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button{background-color:var(--tds-table-header-btn-background)}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button:hover{background-color:var(--tds-table-header-btn-background-hover)}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button .tds-table__header-button-icon--rotate{transform:rotate(180deg)}:host(.tds-table--compact) th{height:33px}:host(.tds-table--divider) th{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type) th{border-right:none}:host(.tds-table--no-min-width) th{min-width:unset}:host(.tds-table--no-padding) th{height:unset}:host(.tds-table__header-cell:first-of-type) th{border-top-left-radius:4px}:host(.tds-table__header-cell:last-of-type) th{border-top-right-radius:4px}:host(.tds-table--extra-column:first-of-type) th{border-top-left-radius:0}:host(.tds-table--toolbar-available) th{border-radius:0}:host(.tds-table--extra-column.tds-table--toolbar-available) th{border-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:first-of-type) th{border-top-left-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:last-of-type) th{border-top-right-radius:0}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const headerDropdownListItemCss = () => `:host{display:block;box-sizing:border-box;height:var(--tds-header-list-item-md-height);width:100%}:host .component{height:100%}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;border:none;display:flex;align-items:center;height:100%;padding:0 24px;width:100%;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-nav-dropdown-item-background);color:var(--tds-header-nav-item-dropdown-opened-color)}:host .component ::slotted(a:hover){background-color:var(--tds-nav-item-background-hover);cursor:pointer}:host .component ::slotted(a:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px}:host .component-selected{background-color:var(--tds-nav-item-background-selected);padding-right:4px;border-left-width:4px;border-left-style:solid;border-left-color:var(--tds-nav-item-border-color-active)}:host .component-selected ::slotted(a),:host .component-selected ::slotted(button){background-color:var(--tds-nav-item-background-selected)}:host .component-selected:focus-within{border-left:none}:host(:not(:last-child)){border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host([size=lg]){height:var(--tds-header-height)}:host([size=lg]) ::slotted(a),:host([size=lg]) ::slotted(button){padding:0 16px;color:var(--tds-header-app-launcher-item-color)}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.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
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
|
|
3
3
|
import './dfs-CLF3diNe.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const headerDropdownCss = () => `:host,:root{--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-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}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
3
3
|
import './inheritAttributes-CF8bH08v.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
3
3
|
import './inheritAttributes-CF8bH08v.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-VFN9WV0d.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
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-VFN9WV0d.js';
|
|
2
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}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
|
|
3
3
|
import './dfs-CLF3diNe.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const headerLauncherListItemCss = () => `:host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
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}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
4
4
|
import './inheritAttributes-CF8bH08v.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-VFN9WV0d.js';
|
|
2
2
|
|
|
3
3
|
const headerTitleCss = () => `h4{box-sizing:border-box;color:var(--tds-header-nav-item-color);font-size:14px;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 24px}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-VFN9WV0d.js';
|
|
2
2
|
import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
|
|
3
3
|
import './inheritAttributes-CF8bH08v.js';
|
|
4
4
|
|