@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.0-angular-patch-types-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-CxAGLnpY.js +2414 -0
- package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
- package/dist/cjs/tds-accordion.cjs.entry.js +6 -7
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +5 -6
- package/dist/cjs/tds-body-cell.cjs.entry.js +6 -13
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
- package/dist/cjs/tds-button_2.cjs.entry.js +18 -19
- package/dist/cjs/tds-card.cjs.entry.js +30 -21
- package/dist/cjs/tds-checkbox.cjs.entry.js +16 -21
- package/dist/cjs/tds-chip.cjs.entry.js +18 -15
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +12 -17
- package/dist/cjs/tds-datetime.cjs.entry.js +32 -31
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -92
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -23
- package/dist/cjs/tds-footer-group.cjs.entry.js +10 -16
- package/dist/cjs/tds-footer-item.cjs.entry.js +4 -11
- package/dist/cjs/tds-footer.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-cell.cjs.entry.js +23 -32
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +4 -5
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -9
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +8 -13
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +13 -19
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -8
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +6 -8
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -8
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
- package/dist/cjs/tds-header-launcher.cjs.entry.js +10 -19
- package/dist/cjs/tds-header-title.cjs.entry.js +2 -5
- package/dist/cjs/tds-header.cjs.entry.js +10 -15
- package/dist/cjs/tds-icon.cjs.entry.js +12 -13
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -23
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +16 -16
- package/dist/cjs/tds-modal.cjs.entry.js +23 -24
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +19 -25
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +47 -45
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
- package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
- package/dist/cjs/tds-radio-button.cjs.entry.js +12 -18
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -11
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +12 -18
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -8
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -12
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -21
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -5
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -11
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -9
- package/dist/cjs/tds-side-menu.cjs.entry.js +24 -24
- package/dist/cjs/tds-slider.cjs.entry.js +55 -50
- package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
- package/dist/cjs/tds-step.cjs.entry.js +4 -14
- package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +21 -24
- package/dist/cjs/tds-table-body-row.cjs.entry.js +10 -13
- package/dist/cjs/tds-table-body.cjs.entry.js +12 -20
- package/dist/cjs/tds-table-footer.cjs.entry.js +28 -31
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-header.cjs.entry.js +23 -30
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +9 -11
- package/dist/cjs/tds-table.cjs.entry.js +33 -21
- package/dist/cjs/tds-tag.cjs.entry.js +5 -7
- package/dist/cjs/tds-text-field.cjs.entry.js +28 -20
- package/dist/cjs/tds-textarea.cjs.entry.js +20 -18
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +17 -19
- package/dist/cjs/tds-tooltip.cjs.entry.js +29 -23
- package/dist/cjs/tegel.cjs.js +7 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
- package/dist/collection/components/accordion/accordion.js +12 -6
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +11 -5
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.js +51 -28
- package/dist/collection/components/card/card.js +68 -32
- package/dist/collection/components/checkbox/checkbox.js +45 -29
- package/dist/collection/components/chip/chip.js +42 -20
- package/dist/collection/components/datetime/datetime.js +83 -47
- package/dist/collection/components/divider/divider.js +8 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +22 -21
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +139 -94
- package/dist/collection/components/footer/footer-group/footer-group.js +15 -14
- package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
- package/dist/collection/components/footer/footer.js +9 -6
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +24 -19
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
- package/dist/collection/components/header/header-item/header-item.js +14 -11
- package/dist/collection/components/header/header-launcher/header-launcher.js +9 -13
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
- package/dist/collection/components/header/header.js +6 -8
- package/dist/collection/components/icon/icon.js +30 -18
- package/dist/collection/components/link/link.js +12 -3
- package/dist/collection/components/message/message.css +2 -1
- package/dist/collection/components/message/message.js +37 -20
- package/dist/collection/components/modal/modal.css +54 -10
- package/dist/collection/components/modal/modal.js +51 -31
- package/dist/collection/components/popover-canvas/popover-canvas.js +54 -23
- package/dist/collection/components/popover-core/popover-core.js +83 -49
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
- package/dist/collection/components/popover-menu/popover-menu.js +51 -23
- package/dist/collection/components/radio-button/radio-button.js +37 -24
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -6
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +20 -12
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -14
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +18 -17
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
- package/dist/collection/components/side-menu/side-menu.js +31 -22
- package/dist/collection/components/slider/slider.js +106 -62
- package/dist/collection/components/spinner/spinner.js +8 -2
- package/dist/collection/components/stepper/step/step.js +13 -14
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +67 -48
- package/dist/collection/components/table/table-body/table-body.js +10 -15
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -18
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +22 -16
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +43 -31
- package/dist/collection/components/table/table-footer/table-footer.js +48 -36
- package/dist/collection/components/table/table-header/table-header.js +37 -33
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +57 -49
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +18 -11
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +32 -26
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +34 -25
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +36 -27
- package/dist/collection/components/tag/tag.js +12 -5
- package/dist/collection/components/text-field/text-field.js +93 -40
- package/dist/collection/components/textarea/textarea.js +74 -35
- package/dist/collection/components/toast/toast.js +42 -21
- package/dist/collection/components/toggle/toggle.js +41 -24
- package/dist/collection/components/tooltip/tooltip.js +64 -33
- package/dist/collection/utils/appendHiddenInput.js +4 -6
- package/dist/components/index.js +1825 -1
- package/dist/components/{p-415fafb3.js → p-B569z5eW.js} +25 -15
- package/dist/components/{p-ead6727f.js → p-BHBgkUfr.js} +17 -17
- package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
- package/dist/components/{p-7e02ea3e.js → p-BhQM9_yR.js} +68 -77
- package/dist/components/{p-e0ccf8e6.js → p-BxmFjTxG.js} +20 -22
- package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
- package/dist/components/{p-edc838a0.js → p-CPDv0bBc.js} +17 -14
- package/dist/components/{p-e627f11b.js → p-Ca3wGDna.js} +21 -22
- package/dist/components/{p-799470b1.js → p-ChCWm6If.js} +20 -18
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-0d286c19.js → p-D1ati-pM.js} +13 -11
- package/dist/components/{p-ad376f70.js → p-DnzQe_HU.js} +35 -25
- package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
- package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
- package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
- package/dist/components/{p-a64cbc40.js → p-Ip9G3co9.js} +36 -24
- package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/components/{p-da11a695.js → p-QnvG_QPu.js} +12 -13
- package/dist/components/{p-98d082f9.js → p-SqXsUd-b.js} +21 -25
- package/dist/components/{p-6fd2b339.js → p-X1sPx4t5.js} +52 -46
- package/dist/components/tds-accordion-item.js +15 -8
- package/dist/components/tds-accordion.js +11 -8
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +10 -7
- package/dist/components/tds-body-cell.js +12 -15
- package/dist/components/tds-breadcrumb.js +8 -6
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +38 -25
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +23 -16
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +38 -33
- 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 +8 -7
- package/dist/components/tds-folder-tabs.js +22 -25
- package/dist/components/tds-footer-group.js +16 -18
- package/dist/components/tds-footer-item.js +9 -12
- package/dist/components/tds-footer.js +12 -10
- package/dist/components/tds-header-brand-symbol.js +11 -10
- package/dist/components/tds-header-cell.js +29 -34
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +7 -10
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +23 -25
- package/dist/components/tds-header-hamburger.js +11 -11
- 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 +7 -6
- package/dist/components/tds-header-launcher-grid-title.js +8 -7
- package/dist/components/tds-header-launcher-grid.js +8 -8
- package/dist/components/tds-header-launcher-list-item.js +8 -7
- package/dist/components/tds-header-launcher-list-title.js +8 -7
- package/dist/components/tds-header-launcher-list.js +8 -6
- package/dist/components/tds-header-launcher.js +20 -25
- package/dist/components/tds-header-title.js +7 -6
- package/dist/components/tds-header.js +14 -15
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +8 -6
- package/dist/components/tds-inline-tabs.js +23 -25
- package/dist/components/tds-link.js +10 -6
- package/dist/components/tds-message.js +22 -18
- package/dist/components/tds-modal.js +29 -26
- package/dist/components/tds-navigation-tab.js +8 -6
- package/dist/components/tds-navigation-tabs.js +25 -27
- 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 +8 -6
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +17 -19
- package/dist/components/tds-side-menu-close-button.js +9 -8
- package/dist/components/tds-side-menu-collapse-button.js +13 -13
- package/dist/components/tds-side-menu-dropdown-list-item.js +17 -19
- package/dist/components/tds-side-menu-dropdown-list.js +10 -9
- package/dist/components/tds-side-menu-dropdown.js +16 -15
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +7 -6
- 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 +9 -12
- package/dist/components/tds-side-menu.js +29 -25
- package/dist/components/tds-slider.js +64 -55
- package/dist/components/tds-spinner.js +9 -6
- package/dist/components/tds-step.js +10 -16
- package/dist/components/tds-stepper.js +18 -7
- package/dist/components/tds-table-body-input-wrapper.js +10 -8
- package/dist/components/tds-table-body-row-expandable.js +26 -25
- package/dist/components/tds-table-body-row.js +16 -15
- package/dist/components/tds-table-body.js +17 -21
- package/dist/components/tds-table-footer.js +37 -36
- package/dist/components/tds-table-header-input-wrapper.js +10 -8
- package/dist/components/tds-table-header.js +29 -32
- package/dist/components/tds-table-toolbar.js +15 -13
- package/dist/components/tds-table.js +38 -22
- package/dist/components/tds-tag.js +10 -8
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +28 -22
- package/dist/components/tds-toast.js +22 -18
- package/dist/components/tds-toggle.js +22 -20
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-BqRtRha-.js +2385 -0
- package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
- package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
- package/dist/esm/loader.js +3 -4
- package/dist/esm/tds-accordion-item.entry.js +9 -4
- package/dist/esm/tds-accordion.entry.js +6 -5
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +5 -4
- package/dist/esm/tds-body-cell.entry.js +6 -11
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +2 -4
- package/dist/esm/tds-button_2.entry.js +18 -17
- package/dist/esm/tds-card.entry.js +30 -19
- package/dist/esm/tds-checkbox.entry.js +16 -19
- package/dist/esm/tds-chip.entry.js +18 -13
- package/dist/esm/tds-core-header-item_2.entry.js +12 -15
- package/dist/esm/tds-datetime.entry.js +32 -29
- package/dist/esm/tds-dropdown_2.entry.js +73 -90
- package/dist/esm/tds-folder-tab.entry.js +3 -4
- package/dist/esm/tds-folder-tabs.entry.js +16 -21
- package/dist/esm/tds-footer-group.entry.js +10 -14
- package/dist/esm/tds-footer-item.entry.js +4 -9
- package/dist/esm/tds-footer.entry.js +7 -7
- package/dist/esm/tds-header-brand-symbol.entry.js +4 -5
- package/dist/esm/tds-header-cell.entry.js +23 -30
- package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
- package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
- package/dist/esm/tds-header-dropdown-list.entry.js +8 -11
- package/dist/esm/tds-header-dropdown.entry.js +13 -17
- package/dist/esm/tds-header-hamburger.entry.js +4 -6
- package/dist/esm/tds-header-launcher-button.entry.js +6 -6
- package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
- package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
- package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
- package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
- package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +10 -17
- package/dist/esm/tds-header-title.entry.js +2 -3
- package/dist/esm/tds-header.entry.js +10 -13
- package/dist/esm/tds-icon.entry.js +12 -11
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +17 -21
- package/dist/esm/tds-link.entry.js +5 -3
- package/dist/esm/tds-message.entry.js +16 -14
- package/dist/esm/tds-modal.entry.js +23 -22
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +19 -23
- package/dist/esm/tds-popover-canvas.entry.js +19 -11
- package/dist/esm/tds-popover-core.entry.js +47 -43
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +18 -11
- package/dist/esm/tds-radio-button.entry.js +12 -16
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
- package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -9
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +12 -16
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -6
- package/dist/esm/tds-side-menu-dropdown.entry.js +9 -10
- package/dist/esm/tds-side-menu-item.entry.js +15 -19
- package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
- package/dist/esm/tds-side-menu-user.entry.js +2 -7
- package/dist/esm/tds-side-menu.entry.js +24 -22
- package/dist/esm/tds-slider.entry.js +55 -48
- package/dist/esm/tds-spinner.entry.js +4 -3
- package/dist/esm/tds-step.entry.js +4 -12
- package/dist/esm/tds-stepper.entry.js +13 -4
- package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +21 -22
- package/dist/esm/tds-table-body-row.entry.js +10 -11
- package/dist/esm/tds-table-body.entry.js +12 -18
- package/dist/esm/tds-table-footer.entry.js +28 -29
- package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-header.entry.js +23 -28
- package/dist/esm/tds-table-toolbar.entry.js +9 -9
- package/dist/esm/tds-table.entry.js +33 -19
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +28 -18
- package/dist/esm/tds-textarea.entry.js +20 -16
- package/dist/esm/tds-toast.entry.js +16 -14
- package/dist/esm/tds-toggle.entry.js +17 -17
- package/dist/esm/tds-tooltip.entry.js +29 -21
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-03ff8648.entry.js +1 -0
- package/dist/tegel/p-08ef673e.entry.js +1 -0
- package/dist/tegel/{p-646d1df4.entry.js → p-0ac95ef0.entry.js} +1 -1
- package/dist/tegel/p-11159349.entry.js +1 -0
- package/dist/tegel/{p-87219f00.entry.js → p-15c69748.entry.js} +1 -1
- package/dist/tegel/p-192332e7.entry.js +1 -0
- package/dist/tegel/{p-da38aa9a.entry.js → p-1f255f25.entry.js} +1 -1
- package/dist/tegel/p-206d4703.entry.js +1 -0
- package/dist/tegel/{p-b734b309.entry.js → p-20b5c366.entry.js} +1 -1
- package/dist/tegel/p-26907beb.entry.js +1 -0
- package/dist/tegel/{p-2faeb483.entry.js → p-299e0e56.entry.js} +1 -1
- package/dist/tegel/p-2a1342d8.entry.js +1 -0
- package/dist/tegel/p-312c49f8.entry.js +1 -0
- package/dist/tegel/p-342052b9.entry.js +1 -0
- package/dist/tegel/p-3557fbdf.entry.js +1 -0
- package/dist/tegel/p-3806a0e4.entry.js +1 -0
- package/dist/tegel/{p-771f53c2.entry.js → p-3a5588b2.entry.js} +1 -1
- package/dist/tegel/p-3ba30c59.entry.js +1 -0
- package/dist/tegel/p-3bd99720.entry.js +1 -0
- package/dist/tegel/p-3de8e52b.entry.js +1 -0
- package/dist/tegel/p-41084e54.entry.js +1 -0
- package/dist/tegel/p-41242d2e.entry.js +1 -0
- package/dist/tegel/p-43f6c149.entry.js +1 -0
- package/dist/tegel/p-4489b7d5.entry.js +1 -0
- package/dist/tegel/p-4e58b98d.entry.js +1 -0
- package/dist/tegel/p-503abc18.entry.js +1 -0
- package/dist/tegel/{p-4b5e15cc.entry.js → p-5bea354f.entry.js} +1 -1
- package/dist/tegel/p-5eed2dae.entry.js +1 -0
- package/dist/tegel/p-6253f1d8.entry.js +1 -0
- package/dist/tegel/p-6301a8b5.entry.js +1 -0
- package/dist/tegel/{p-c163d44f.entry.js → p-648df3a1.entry.js} +1 -1
- package/dist/tegel/p-65d43cfd.entry.js +1 -0
- package/dist/tegel/p-6d4e71fd.entry.js +1 -0
- package/dist/tegel/p-73c9a5b3.entry.js +1 -0
- package/dist/tegel/{p-ceed0476.entry.js → p-7cec9df0.entry.js} +1 -1
- package/dist/tegel/p-7ef6db3c.entry.js +1 -0
- package/dist/tegel/p-81314f19.entry.js +1 -0
- package/dist/tegel/p-88d3bbbd.entry.js +1 -0
- package/dist/tegel/p-8a5df42a.entry.js +1 -0
- package/dist/tegel/p-8f1bbe70.entry.js +1 -0
- package/dist/tegel/p-9296f0d1.entry.js +1 -0
- package/dist/tegel/p-954e6cf0.entry.js +1 -0
- package/dist/tegel/{p-655051b6.entry.js → p-996f0ac5.entry.js} +1 -1
- package/dist/tegel/p-9fed9d16.entry.js +1 -0
- package/dist/tegel/p-BqRtRha-.js +2 -0
- package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
- package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/tegel/p-a13ecd87.entry.js +1 -0
- package/dist/tegel/{p-3c348fcb.entry.js → p-a74d375a.entry.js} +1 -1
- package/dist/tegel/p-a8d29ac5.entry.js +1 -0
- package/dist/tegel/p-abe630f5.entry.js +1 -0
- package/dist/tegel/p-b2934101.entry.js +1 -0
- package/dist/tegel/p-b2d9244a.entry.js +1 -0
- package/dist/tegel/{p-2766b46f.entry.js → p-b5deab8e.entry.js} +1 -1
- package/dist/tegel/p-b901a7e3.entry.js +1 -0
- package/dist/tegel/{p-133351b5.entry.js → p-b9cb2eef.entry.js} +1 -1
- package/dist/tegel/p-bbcab377.entry.js +1 -0
- package/dist/tegel/{p-c2e514b4.entry.js → p-bc4d68b0.entry.js} +1 -1
- package/dist/tegel/p-c2ae97bb.entry.js +1 -0
- package/dist/tegel/{p-88bb1059.entry.js → p-c7c4f528.entry.js} +1 -1
- package/dist/tegel/p-ca437b9a.entry.js +1 -0
- package/dist/tegel/{p-c5694dd6.entry.js → p-d03f33c0.entry.js} +1 -1
- package/dist/tegel/p-d0c0c8f3.entry.js +1 -0
- package/dist/tegel/p-d1f9c4fd.entry.js +1 -0
- package/dist/tegel/p-d2b7c692.entry.js +1 -0
- package/dist/tegel/{p-27369d6a.entry.js → p-d659aefa.entry.js} +1 -1
- package/dist/tegel/p-d67ff384.entry.js +1 -0
- package/dist/tegel/p-d8a35537.entry.js +1 -0
- package/dist/tegel/{p-fe4335ca.entry.js → p-de9f2a0d.entry.js} +1 -1
- package/dist/tegel/p-dec2ede0.entry.js +1 -0
- package/dist/tegel/p-e1daba90.entry.js +1 -0
- package/dist/tegel/p-e5166678.entry.js +1 -0
- package/dist/tegel/p-e643c9b3.entry.js +1 -0
- package/dist/tegel/{p-8a4837ae.entry.js → p-e777d558.entry.js} +1 -1
- package/dist/tegel/p-f0c912af.entry.js +1 -0
- package/dist/tegel/p-f3da2bf5.entry.js +1 -0
- package/dist/tegel/p-f46be246.entry.js +1 -0
- package/dist/tegel/p-f5a7d350.entry.js +1 -0
- package/dist/tegel/p-fa19eac0.entry.js +1 -0
- package/dist/tegel/p-fa8a4f27.entry.js +1 -0
- package/dist/tegel/{p-b9afb39e.entry.js → p-fb59d675.entry.js} +1 -1
- package/dist/tegel/p-ff6da1f1.entry.js +1 -0
- package/dist/tegel/tegel.css +3 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +9 -5
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
- package/dist/types/components/popover-core/popover-core.d.ts +4 -4
- package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
- package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
- package/dist/types/components/table/table/table.d.ts +3 -6
- package/dist/types/components/table/table-body/table-body.d.ts +3 -3
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -8
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +5 -5
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +628 -81
- package/dist/types/stencil-public-runtime.d.ts +86 -4
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
- package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
- package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
- package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-ca8040ad.js +0 -2039
- package/dist/components/p-28ef5186.js +0 -1507
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-51d04e39.js +0 -2009
- package/dist/tegel/p-08c16b2f.entry.js +0 -1
- package/dist/tegel/p-0b37e91a.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1e1a87c1.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-2268af7f.entry.js +0 -1
- package/dist/tegel/p-252a7d3f.entry.js +0 -1
- package/dist/tegel/p-25473962.entry.js +0 -1
- package/dist/tegel/p-27d39882.entry.js +0 -1
- package/dist/tegel/p-304f5a5c.entry.js +0 -1
- package/dist/tegel/p-3ef04672.entry.js +0 -1
- package/dist/tegel/p-40d99d7d.entry.js +0 -1
- package/dist/tegel/p-40fa0f5b.entry.js +0 -1
- package/dist/tegel/p-48a3e489.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-4e15f31d.entry.js +0 -1
- package/dist/tegel/p-57c08d0d.entry.js +0 -1
- package/dist/tegel/p-58ac68f3.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-6a472310.entry.js +0 -1
- package/dist/tegel/p-7104b955.entry.js +0 -1
- package/dist/tegel/p-781b2939.entry.js +0 -1
- package/dist/tegel/p-894e7e11.entry.js +0 -1
- package/dist/tegel/p-942f8c6f.entry.js +0 -1
- package/dist/tegel/p-98eff725.entry.js +0 -1
- package/dist/tegel/p-9b06bd5f.entry.js +0 -1
- package/dist/tegel/p-9c56b031.entry.js +0 -1
- package/dist/tegel/p-a20a54ef.entry.js +0 -1
- package/dist/tegel/p-a2b2092a.entry.js +0 -1
- package/dist/tegel/p-a334b517.entry.js +0 -1
- package/dist/tegel/p-a4e4c450.entry.js +0 -1
- package/dist/tegel/p-a60ed3de.entry.js +0 -1
- package/dist/tegel/p-a6dca188.entry.js +0 -1
- package/dist/tegel/p-a912035b.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b218db70.entry.js +0 -1
- package/dist/tegel/p-b3b13975.entry.js +0 -1
- package/dist/tegel/p-b7abb81f.entry.js +0 -1
- package/dist/tegel/p-bb8c2a36.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-bee9e9d1.entry.js +0 -1
- package/dist/tegel/p-c23a3f12.entry.js +0 -1
- package/dist/tegel/p-ca068263.entry.js +0 -1
- package/dist/tegel/p-ca16f1ed.entry.js +0 -1
- package/dist/tegel/p-ca32a270.entry.js +0 -1
- package/dist/tegel/p-cc962b6c.entry.js +0 -1
- package/dist/tegel/p-d501a665.entry.js +0 -1
- package/dist/tegel/p-dda1ac69.entry.js +0 -1
- package/dist/tegel/p-e0dc09f9.entry.js +0 -1
- package/dist/tegel/p-e1255160.js +0 -1
- package/dist/tegel/p-e29fa563.entry.js +0 -1
- package/dist/tegel/p-e6e9d11f.entry.js +0 -1
- package/dist/tegel/p-e8b58680.entry.js +0 -1
- package/dist/tegel/p-ed66ef30.entry.js +0 -1
- package/dist/tegel/p-f5ca4fbf.entry.js +0 -1
- package/dist/tegel/p-f602b3a1.entry.js +0 -1
- package/dist/tegel/p-f8a37d39.entry.js +0 -1
- package/dist/tegel/p-f922308f.entry.js +0 -1
- package/dist/tegel/p-fb300776.entry.js +0 -1
- package/dist/tegel/p-fd22d1ca.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
- /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
- /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
- /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
- /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
- /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
- /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
- /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
- /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
- /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
- /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
- /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './p-CuIyaNyT.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherGridCss = ".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";
|
|
5
|
-
const TdsHeaderLauncherGridStyle0 = headerLauncherGridCss;
|
|
6
5
|
|
|
7
6
|
const TdsHeaderLauncherGrid$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherGrid extends H {
|
|
8
|
-
constructor() {
|
|
7
|
+
constructor(registerHost) {
|
|
9
8
|
super();
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
if (registerHost !== false) {
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
}
|
|
12
12
|
}
|
|
13
13
|
componentWillLoad() {
|
|
14
14
|
const listRoot = this.host;
|
|
@@ -33,8 +33,8 @@ const TdsHeaderLauncherGrid$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader
|
|
|
33
33
|
return (h(Host, { key: '5d0824ce5d829d78fd61e2e53e08b6bdca0e4569' }, h("div", Object.assign({ key: '7e6f891f6bc92b4f93874a538e017382c72e176e' }, listAttributes), h("slot", { key: '31133b8760e19ed767f24544fea026c59c181e53' }))));
|
|
34
34
|
}
|
|
35
35
|
get host() { return this; }
|
|
36
|
-
static get style() { return
|
|
37
|
-
}, [
|
|
36
|
+
static get style() { return headerLauncherGridCss; }
|
|
37
|
+
}, [260, "tds-header-launcher-grid", {
|
|
38
38
|
"headingElement": [32]
|
|
39
39
|
}]);
|
|
40
40
|
function defineCustomElement$1() {
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-HRj1DOvh.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherListItemCss = ":host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}";
|
|
5
|
-
const TdsHeaderLauncherListItemStyle0 = headerLauncherListItemCss;
|
|
6
5
|
|
|
7
6
|
const TdsHeaderLauncherListItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherListItem extends H {
|
|
8
|
-
constructor() {
|
|
7
|
+
constructor(registerHost) {
|
|
9
8
|
super();
|
|
10
|
-
|
|
9
|
+
if (registerHost !== false) {
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
}
|
|
11
12
|
this.__attachShadow();
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (h(Host, { key: 'bcc63c58186216485acf6e6e0f896158e92cd29e' }, h("tds-header-dropdown-list-item", { key: 'e4b963bf20b97aa19f8f6dbd4d4a6face04220db', size: "lg" }, h("slot", { key: '03445a4fe12c6f5a283b6d2635d657bbfd103263' }))));
|
|
15
16
|
}
|
|
16
|
-
static get style() { return
|
|
17
|
-
}, [
|
|
17
|
+
static get style() { return headerLauncherListItemCss; }
|
|
18
|
+
}, [257, "tds-header-launcher-list-item"]);
|
|
18
19
|
function defineCustomElement$1() {
|
|
19
20
|
if (typeof customElements === "undefined") {
|
|
20
21
|
return;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const headerLauncherListTitleCss = ".tds-header-launcher-list-title{all:unset;box-sizing:border-box;font:var(--tds-detail-06);letter-spacing:var(--tds-detail-06-ls);color:var(--tds-header-app-launcher-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
|
|
5
|
-
const TdsHeaderLauncherListTitleStyle0 = headerLauncherListTitleCss;
|
|
6
5
|
|
|
7
6
|
const TdsHeaderLauncherListTitle$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherListTitle extends H {
|
|
8
|
-
constructor() {
|
|
7
|
+
constructor(registerHost) {
|
|
9
8
|
super();
|
|
10
|
-
|
|
9
|
+
if (registerHost !== false) {
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
}
|
|
11
12
|
this.uuid = generateUniqueId();
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
15
|
return (h(Host, { key: '2bd6c5fa87fe1b94065980a7f7794ada3ccf2a9f' }, h("h3", { key: '3ccf8d967a2bda31d1724d4d3bf522cb1052f497', class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", { key: '831e18f03058184f3825541fd2be34d07a443e78' }))));
|
|
15
16
|
}
|
|
16
17
|
get host() { return this; }
|
|
17
|
-
static get style() { return
|
|
18
|
-
}, [
|
|
18
|
+
static get style() { return headerLauncherListTitleCss; }
|
|
19
|
+
}, [260, "tds-header-launcher-list-title"]);
|
|
19
20
|
function defineCustomElement$1() {
|
|
20
21
|
if (typeof customElements === "undefined") {
|
|
21
22
|
return;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-QnvG_QPu.js';
|
|
4
4
|
|
|
5
5
|
const TdsHeaderLauncherList$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherList extends H {
|
|
6
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
7
7
|
super();
|
|
8
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
9
11
|
this.uuid = generateUniqueId();
|
|
10
12
|
}
|
|
11
13
|
render() {
|
|
12
14
|
return (h(Host, { key: 'ceedbada9d5a96ecdb5306b0e55f939ba69c78d8' }, h("tds-header-dropdown-list", { key: 'a1ffa08021a4ac0d3aad0401330b6d82ad4e20f9', size: "lg" }, h("slot", { key: 'e0808a6e71a6bb26e8b56005c9552fde5af9296b' }))));
|
|
13
15
|
}
|
|
14
|
-
}, [
|
|
16
|
+
}, [260, "tds-header-launcher-list"]);
|
|
15
17
|
function defineCustomElement$1() {
|
|
16
18
|
if (typeof customElements === "undefined") {
|
|
17
19
|
return;
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
3
|
-
import { i as inheritAriaAttributes } from './p-
|
|
4
|
-
import { d as defineCustomElement$7 } from './p-
|
|
5
|
-
import { d as defineCustomElement$6 } from './p-
|
|
6
|
-
import { d as defineCustomElement$5 } from './p-
|
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
|
+
import { i as inheritAriaAttributes } from './p-Q3W78DlP.js';
|
|
4
|
+
import { d as defineCustomElement$7 } from './p-BhLq7lgx.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './p-BHBgkUfr.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './p-D1ati-pM.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-CPDv0bBc.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-B569z5eW.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-X1sPx4t5.js';
|
|
10
10
|
|
|
11
11
|
const headerLauncherCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host .wrapper{height:var(--tds-header-height);position:relative}:host .wrapper .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-radius:0}:host .wrapper .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .wrapper .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .wrapper .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .wrapper .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}@media all and (max-width: 384px){:host .wrapper .menu{width:100vw}}:host .wrapper.state-list-type-menu .menu{height:calc(100vh - var(--tds-header-height))}:host .wrapper.state-open .button{position:relative;z-index:901}";
|
|
12
|
-
const TdsHeaderLauncherStyle0 = headerLauncherCss;
|
|
13
12
|
|
|
14
13
|
const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncher extends H {
|
|
15
|
-
constructor() {
|
|
14
|
+
constructor(registerHost) {
|
|
16
15
|
super();
|
|
17
|
-
|
|
16
|
+
if (registerHost !== false) {
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
}
|
|
18
19
|
this.__attachShadow();
|
|
19
|
-
this.uuid = generateUniqueId();
|
|
20
20
|
this.open = false;
|
|
21
|
-
this.buttonEl = undefined;
|
|
22
21
|
this.hasListTypeMenu = false;
|
|
23
|
-
this.
|
|
22
|
+
this.uuid = generateUniqueId();
|
|
24
23
|
}
|
|
25
24
|
onAnyClick(event) {
|
|
26
25
|
// Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
|
|
@@ -30,12 +29,9 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
|
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
handleKeyDown(event) {
|
|
33
|
-
var _a, _b;
|
|
34
32
|
if (event.key === 'Escape' && this.open) {
|
|
35
33
|
this.open = false;
|
|
36
|
-
|
|
37
|
-
if (btnShadow)
|
|
38
|
-
btnShadow.focus();
|
|
34
|
+
this.buttonEl.shadowRoot.querySelector('button').focus();
|
|
39
35
|
}
|
|
40
36
|
}
|
|
41
37
|
componentDidLoad() {
|
|
@@ -46,9 +42,8 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
|
|
|
46
42
|
this.open = !this.open;
|
|
47
43
|
if (this.open) {
|
|
48
44
|
requestAnimationFrame(() => {
|
|
49
|
-
var _a;
|
|
50
45
|
const selectors = "a, [tabindex='0']";
|
|
51
|
-
const firstFocusableElement =
|
|
46
|
+
const firstFocusableElement = this.host.shadowRoot.querySelector(selectors) || this.host.querySelector(selectors);
|
|
52
47
|
if (firstFocusableElement instanceof H) {
|
|
53
48
|
firstFocusableElement.focus();
|
|
54
49
|
}
|
|
@@ -62,11 +57,11 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
|
|
|
62
57
|
}, 'ref': (el) => {
|
|
63
58
|
this.buttonEl = el;
|
|
64
59
|
} });
|
|
65
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '214953326230ac1b5ab664b032783c20d9999531' }, h("div", { key: '0efccd70365257b6f682b777bb6a3d056996aa82', class: {
|
|
66
61
|
'wrapper': true,
|
|
67
62
|
'state-open': this.open,
|
|
68
63
|
'state-list-type-menu': this.hasListTypeMenu,
|
|
69
|
-
} }, h("tds-header-launcher-button", Object.assign({ key: '
|
|
64
|
+
} }, h("tds-header-launcher-button", Object.assign({ key: '677518edd231dedb813d59220699bf3b1f1469a6' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '7d9b39133b781601acb0d8f97237694209f8d355', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
|
|
70
65
|
{
|
|
71
66
|
name: 'flip',
|
|
72
67
|
options: {
|
|
@@ -76,8 +71,8 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
|
|
|
76
71
|
] }, this.open ? h("slot", null) : null)))));
|
|
77
72
|
}
|
|
78
73
|
get host() { return this; }
|
|
79
|
-
static get style() { return
|
|
80
|
-
}, [
|
|
74
|
+
static get style() { return headerLauncherCss; }
|
|
75
|
+
}, [257, "tds-header-launcher", {
|
|
81
76
|
"tdsAriaLabel": [1, "tds-aria-label"],
|
|
82
77
|
"open": [32],
|
|
83
78
|
"buttonEl": [32],
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './index.js';
|
|
2
2
|
|
|
3
3
|
const headerTitleCss = "h4{box-sizing:border-box;color:var(--tds-header-nav-item-color);font-weight:normal;font-family:var(--tds-font-family-headline);letter-spacing:normal;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}h4 slot{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 32px 0 16px}";
|
|
4
|
-
const TdsHeaderTitleStyle0 = headerTitleCss;
|
|
5
4
|
|
|
6
5
|
const TdsHeaderTitle$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderTitle extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
11
12
|
}
|
|
12
13
|
render() {
|
|
13
14
|
return (h("h4", { key: '4af2f894bf508d0ea8f5c934f4b6e3be61f1ce1a' }, h("slot", { key: 'e5eaaf9c68f77041f6056af1bb7e1101b48c1ffc' })));
|
|
14
15
|
}
|
|
15
|
-
static get style() { return
|
|
16
|
-
}, [
|
|
16
|
+
static get style() { return headerTitleCss; }
|
|
17
|
+
}, [257, "tds-header-title"]);
|
|
17
18
|
function defineCustomElement$1() {
|
|
18
19
|
if (typeof customElements === "undefined") {
|
|
19
20
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { i as inheritAriaAttributes } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { i as inheritAriaAttributes } from './p-Q3W78DlP.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Loop through the children and add the 'listitem' role if needed.
|
|
@@ -17,12 +17,13 @@ const updateListChildrenRoles = (targetNode) => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
const headerCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}html,:root{--tds-nav-dropdown-menu-box:0 3px 3px rgb(0 0 0 / 15%), 0 -1px 1px rgb(0 0 0 / 1%);--tds-nav-dropdown-item-border-radius:0 0 4px 4px;--tds-font-family-headline:\"Scania Sans Headline\", arial, helvetica, sans-serif}tds-header{display:block;height:var(--tds-header-height);background-color:var(--tds-header-background);width:100%;z-index:300}tds-header tds-header-dropdown-list-item a *,tds-header tds-header-dropdown-list-item button *{pointer-events:none}nav{box-sizing:border-box;background-color:var(--tds-header-background);width:100%;display:block}nav *{box-sizing:border-box}nav .tds-header-component-list{height:var(--tds-header-height);all:unset;display:flex;justify-content:center;align-items:center}nav tds-header-dropdown,nav tds-header-item{display:none}nav .tds-header-middle-spacer{all:unset;display:block;flex-grow:1;height:var(--tds-header-height);border-right:1px solid var(--tds-header--basic-element-border)}@media screen and (min-width: 992px){nav tds-header-dropdown,nav tds-header-item{display:block}}nav tds-header-item:nth-child(3),nav tds-header-dropdown:nth-child(3){border-left:1px solid var(--tds-header--basic-element-border)}";
|
|
20
|
-
const TdsHeaderStyle0 = headerCss;
|
|
21
20
|
|
|
22
21
|
const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
|
|
23
|
-
constructor() {
|
|
22
|
+
constructor(registerHost) {
|
|
24
23
|
super();
|
|
25
|
-
|
|
24
|
+
if (registerHost !== false) {
|
|
25
|
+
this.__registerHost();
|
|
26
|
+
}
|
|
26
27
|
const callback = (mutationsList) => {
|
|
27
28
|
mutationsList.forEach((mutation) => {
|
|
28
29
|
if (mutation.type === 'childList') {
|
|
@@ -35,24 +36,22 @@ const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
|
|
|
35
36
|
componentDidLoad() {
|
|
36
37
|
const hostElement = this.host;
|
|
37
38
|
const navElement = hostElement.querySelector('.tds-header-component-list');
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
updateListChildrenRoles(navElement);
|
|
44
|
-
}
|
|
39
|
+
this.observer.observe(navElement, {
|
|
40
|
+
childList: true,
|
|
41
|
+
subtree: false,
|
|
42
|
+
});
|
|
43
|
+
updateListChildrenRoles(navElement);
|
|
45
44
|
}
|
|
46
45
|
disconnectedCallback() {
|
|
47
46
|
this.observer.disconnect();
|
|
48
47
|
}
|
|
49
48
|
render() {
|
|
50
49
|
const navAttributes = Object.assign({}, inheritAriaAttributes(this.host));
|
|
51
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'f5c7796ebe3f5d9bd6e555f0dd01f8ace54c1cd8' }, h("slot", { key: '77cba127f947cc8fefa875a6db0e68bf52c5a80e', name: "hamburger" }), h("slot", { key: 'daf9d8299734f72355eeaeb307dcc3e25520a7b8', name: "title" }), h("nav", Object.assign({ key: '904338fd0fb8ab3ce42b46ee482d021667fe49e8' }, navAttributes), h("ul", { key: '66994fd2de781178624f8d67c88e4d75e84d2844', class: "tds-header-component-list" }, h("slot", { key: '51ee40aa7b17fb2a36ca23c2cebfb74efb69ea24' }), h("li", { key: 'db64903ac70ee12d48cd5029997949875caa53e8', class: "tds-header-middle-spacer" }), h("slot", { key: '80a48331b218b734061a421c9e31f8fd1b98be1a', name: "end" })))));
|
|
52
51
|
}
|
|
53
52
|
get host() { return this; }
|
|
54
|
-
static get style() { return
|
|
55
|
-
}, [
|
|
53
|
+
static get style() { return headerCss; }
|
|
54
|
+
}, [260, "tds-header"]);
|
|
56
55
|
function defineCustomElement$1() {
|
|
57
56
|
if (typeof customElements === "undefined") {
|
|
58
57
|
return;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
2
|
|
|
3
3
|
const inlineTabCss = ":host{box-sizing:border-box;display:block;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-inline-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:20px 0}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;outline:2px solid var(--tds-blue-400);outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .inline-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .inline-tab-item{position:relative}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover ::slotted(*){color:var(--tds-inline-tabs-tab-color-hover)}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled ::slotted(*){color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed;color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
|
|
4
|
-
const TdsInlineTabStyle0 = inlineTabCss;
|
|
5
4
|
|
|
6
5
|
const TdsInlineTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTab extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Disables the Tab. */
|
|
11
13
|
this.disabled = false;
|
|
12
14
|
this.selected = false;
|
|
13
15
|
}
|
|
@@ -41,8 +43,8 @@ const TdsInlineTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTab exten
|
|
|
41
43
|
} }, h("slot", { key: 'f2b45d7f0dd38cae953f61e933189eef8d7a9452' }))));
|
|
42
44
|
}
|
|
43
45
|
get host() { return this; }
|
|
44
|
-
static get style() { return
|
|
45
|
-
}, [
|
|
46
|
+
static get style() { return inlineTabCss; }
|
|
47
|
+
}, [257, "tds-inline-tab", {
|
|
46
48
|
"disabled": [4],
|
|
47
49
|
"selected": [32],
|
|
48
50
|
"setSelected": [64]
|
|
@@ -1,15 +1,28 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
|
|
3
3
|
|
|
4
4
|
const inlineTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-inline-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-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-visible::before,:host .scroll-left-button:focus-visible::before{content:\"\";position:absolute;inset:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus-visible,:host .scroll-left-button:focus-visible{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
|
|
5
|
-
const TdsInlineTabsStyle0 = inlineTabsCss;
|
|
6
5
|
|
|
7
6
|
const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs extends H {
|
|
8
|
-
constructor() {
|
|
7
|
+
constructor(registerHost) {
|
|
9
8
|
super();
|
|
10
|
-
|
|
9
|
+
if (registerHost !== false) {
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
}
|
|
11
12
|
this.__attachShadow();
|
|
12
13
|
this.tdsChange = createEvent(this, "tdsChange", 7);
|
|
14
|
+
/** Variant of the Tabs, primary= on white, secondary= on grey50 */
|
|
15
|
+
this.modeVariant = 'primary';
|
|
16
|
+
/** Sets the default selected Tab. */
|
|
17
|
+
this.defaultSelectedIndex = 0;
|
|
18
|
+
/** Defines aria-label on left scroll button */
|
|
19
|
+
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
20
|
+
/** Defines aria-label on right scroll button */
|
|
21
|
+
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
22
|
+
/** Custom left padding value for the wrapper element. */
|
|
23
|
+
this.leftPadding = 32;
|
|
24
|
+
this.showLeftScroll = false;
|
|
25
|
+
this.showRightScroll = false;
|
|
13
26
|
this.navWrapperElement = null; // reference to container with nav buttons
|
|
14
27
|
this.componentWidth = 0; // visible width of this component
|
|
15
28
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
@@ -32,8 +45,7 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
32
45
|
this.updateScrollButtons();
|
|
33
46
|
});
|
|
34
47
|
});
|
|
35
|
-
|
|
36
|
-
resizeObserver.observe(this.navWrapperElement);
|
|
48
|
+
resizeObserver.observe(this.navWrapperElement);
|
|
37
49
|
};
|
|
38
50
|
this.addEventListenerToTabs = () => {
|
|
39
51
|
this.children = Array.from(this.host.children);
|
|
@@ -64,14 +76,6 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
64
76
|
}
|
|
65
77
|
});
|
|
66
78
|
};
|
|
67
|
-
this.modeVariant = 'primary';
|
|
68
|
-
this.defaultSelectedIndex = 0;
|
|
69
|
-
this.selectedIndex = undefined;
|
|
70
|
-
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
71
|
-
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
72
|
-
this.leftPadding = 32;
|
|
73
|
-
this.showLeftScroll = false;
|
|
74
|
-
this.showRightScroll = false;
|
|
75
79
|
}
|
|
76
80
|
/** Selects a Tab based on tabindex, will not select a disabled Tab. */
|
|
77
81
|
async selectTab(tabIndex) {
|
|
@@ -103,22 +107,16 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
103
107
|
this.children[this.selectedIndex].setSelected(true);
|
|
104
108
|
}
|
|
105
109
|
scrollRight() {
|
|
106
|
-
if (!this.navWrapperElement)
|
|
107
|
-
return;
|
|
108
110
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
109
111
|
this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
|
|
110
112
|
this.evaluateScrollButtons();
|
|
111
113
|
}
|
|
112
114
|
scrollLeft() {
|
|
113
|
-
if (!this.navWrapperElement)
|
|
114
|
-
return;
|
|
115
115
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
116
116
|
this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
|
|
117
117
|
this.evaluateScrollButtons();
|
|
118
118
|
}
|
|
119
119
|
evaluateScrollButtons() {
|
|
120
|
-
if (!this.navWrapperElement)
|
|
121
|
-
return;
|
|
122
120
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
123
121
|
this.showRightScroll = scroll <= this.scrollWidth;
|
|
124
122
|
this.showLeftScroll = scroll > 0;
|
|
@@ -182,16 +180,16 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
|
|
|
182
180
|
this.removeEventListenerFromTabs();
|
|
183
181
|
}
|
|
184
182
|
render() {
|
|
185
|
-
return (h(Host, { key: '
|
|
183
|
+
return (h(Host, { key: 'f33abd9071c85c0651a3ab93e3996ec44717e325', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '8a5233b2a941a3a1e72dc45f93015b5e606663a8', class: "wrapper", ref: (el) => {
|
|
186
184
|
this.navWrapperElement = el;
|
|
187
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
185
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f2a8051863cfa93f8b2a5c562fc5ebefcc36b195', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a93d1cb8ddc5486bbb15449c328a25f6e8e2b4cd', name: "chevron_left", size: "20px" })), h("slot", { key: 'e5b096420d72d12c861730fd9829baeba7cce625', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'f154a7b6553fe77e3f09da314403db5326df8e21', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '6832c693ab8a446a629788894f792f571c09cbe3', name: "chevron_right", size: "20px" })))));
|
|
188
186
|
}
|
|
189
187
|
get host() { return this; }
|
|
190
188
|
static get watchers() { return {
|
|
191
189
|
"selectedIndex": ["handleSelectedIndexUpdate"]
|
|
192
190
|
}; }
|
|
193
|
-
static get style() { return
|
|
194
|
-
}, [
|
|
191
|
+
static get style() { return inlineTabsCss; }
|
|
192
|
+
}, [257, "tds-inline-tabs", {
|
|
195
193
|
"modeVariant": [1, "mode-variant"],
|
|
196
194
|
"defaultSelectedIndex": [2, "default-selected-index"],
|
|
197
195
|
"selectedIndex": [514, "selected-index"],
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './index.js';
|
|
2
2
|
|
|
3
3
|
const linkCss = ":host{display:inline}:host ::slotted(*){all:unset;cursor:pointer;outline:none;color:var(--tds-link);text-decoration:underline}:host ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:none}:host .no-underline ::slotted(*){text-decoration:none}:host .no-underline ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:underline;text-decoration-color:var(--tds-link-hover)}:host ::slotted(*:focus-visible){color:var(--tds-link-focus);text-decoration:none;box-shadow:0 0 0 1px var(--tds-white), 0 0 0 3px var(--tds-link-focus)}:host ::slotted(*:active){color:var(--tds-link);text-decoration:underline;text-decoration-color:var(--tds-link)}:host ::slotted(*:visited){color:var(--tds-link-visited);text-decoration-color:var(--tds-link-visited)}.disabled ::slotted(*),.disabled ::slotted(*:visited){color:var(--tds-link-disabled);text-decoration-color:var(--tds-link-disabled);pointer-events:none}.standalone ::slotted(*){font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}";
|
|
4
|
-
const TdsLinkStyle0 = linkCss;
|
|
5
4
|
|
|
6
5
|
const TdsLink$1 = /*@__PURE__*/ proxyCustomElement(class TdsLink extends H {
|
|
7
|
-
constructor() {
|
|
6
|
+
constructor(registerHost) {
|
|
8
7
|
super();
|
|
9
|
-
|
|
8
|
+
if (registerHost !== false) {
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
}
|
|
10
11
|
this.__attachShadow();
|
|
12
|
+
/** Disables the Link */
|
|
11
13
|
this.disabled = false;
|
|
14
|
+
/** Displays the Link with an underline. */
|
|
12
15
|
this.underline = true;
|
|
16
|
+
/** Displays the Link as a standalone component. Not part of a paragraph. */
|
|
13
17
|
this.standalone = false;
|
|
14
18
|
}
|
|
15
19
|
connectedCallback() {
|
|
@@ -37,8 +41,8 @@ const TdsLink$1 = /*@__PURE__*/ proxyCustomElement(class TdsLink extends H {
|
|
|
37
41
|
} }, h("slot", { key: 'f574609666ae7484752ec8cfaf7f0bffa1645c83' })));
|
|
38
42
|
}
|
|
39
43
|
get host() { return this; }
|
|
40
|
-
static get style() { return
|
|
41
|
-
}, [
|
|
44
|
+
static get style() { return linkCss; }
|
|
45
|
+
}, [257, "tds-link", {
|
|
42
46
|
"disabled": [4],
|
|
43
47
|
"underline": [4],
|
|
44
48
|
"standalone": [4]
|
|
@@ -1,15 +1,26 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
|
|
4
4
|
|
|
5
|
-
const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-message-border-info)}:host .wrapper.information tds-icon{color:var(--tds-message-icon-info)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--tds-message-border-success)}:host .wrapper.success tds-icon{color:var(--tds-message-icon-success)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--tds-message-border-error)}:host .wrapper.error tds-icon{color:var(--tds-message-icon-error)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--tds-message-border-warning)}:host .wrapper.warning tds-icon{color:var(--tds-message-icon-warning)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{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)}:host .wrapper.minimal.error .header{color:var(--tds-message-minimal-header-error)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);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)}";
|
|
6
|
-
const TdsMessageStyle0 = messageCss;
|
|
5
|
+
const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-message-border-info)}:host .wrapper.information tds-icon{color:var(--tds-message-icon-info)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--tds-message-border-success)}:host .wrapper.success tds-icon{color:var(--tds-message-icon-success)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--tds-message-border-error)}:host .wrapper.error tds-icon{color:var(--tds-message-icon-error)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--tds-message-border-warning)}:host .wrapper.warning tds-icon{color:var(--tds-message-icon-warning)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{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)}:host .wrapper.minimal.error .header{color:var(--tds-message-minimal-header-error)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 24px 2px 0;overflow-wrap:anywhere}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);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)}";
|
|
7
6
|
|
|
8
7
|
const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H {
|
|
9
|
-
constructor() {
|
|
8
|
+
constructor(registerHost) {
|
|
10
9
|
super();
|
|
11
|
-
|
|
10
|
+
if (registerHost !== false) {
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
12
13
|
this.__attachShadow();
|
|
14
|
+
/** Variant of the component, based on current mode. */
|
|
15
|
+
this.modeVariant = null;
|
|
16
|
+
/** Variant of Message. */
|
|
17
|
+
this.variant = 'information';
|
|
18
|
+
/** Removes the icon in the Message. */
|
|
19
|
+
this.noIcon = false;
|
|
20
|
+
/** Minimal Message styling. */
|
|
21
|
+
this.minimal = false;
|
|
22
|
+
/** Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
|
|
23
|
+
this.tdsAlertDialog = 'dialog';
|
|
13
24
|
this.getIconName = () => {
|
|
14
25
|
switch (this.variant) {
|
|
15
26
|
case 'information':
|
|
@@ -24,13 +35,6 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
|
|
|
24
35
|
return 'info';
|
|
25
36
|
}
|
|
26
37
|
};
|
|
27
|
-
this.header = undefined;
|
|
28
|
-
this.modeVariant = null;
|
|
29
|
-
this.variant = 'information';
|
|
30
|
-
this.noIcon = false;
|
|
31
|
-
this.minimal = false;
|
|
32
|
-
this.tdsAlertDialog = 'dialog';
|
|
33
|
-
this.tdsAriaLabel = undefined;
|
|
34
38
|
}
|
|
35
39
|
getAriaLabel() {
|
|
36
40
|
if (this.header) {
|
|
@@ -42,14 +46,14 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
|
|
|
42
46
|
render() {
|
|
43
47
|
const headerId = this.header ? `tds-message-header-${generateUniqueId()}` : undefined;
|
|
44
48
|
const contentId = !this.minimal ? `tds-message-content-${generateUniqueId()}` : undefined;
|
|
45
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'ac71829f0647270d499469049a833c282abca25d', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel(), class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'ae95905137e70a95e6013e643e43baec0c10792b', class: {
|
|
46
50
|
wrapper: true,
|
|
47
51
|
[this.variant]: true,
|
|
48
52
|
minimal: this.minimal,
|
|
49
|
-
} }, !this.noIcon && (h("tds-icon", { key: '
|
|
53
|
+
} }, !this.noIcon && (h("tds-icon", { key: 'ea830e6051ef9e0f751a1e8d5e24fbd17ad6ec58', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'c71e70d57147d9ac050e7a223ed097e58cb6a49e', class: `content` }, this.header && (h("div", { key: '1acded0a8f8522792f41a4331a2009a42cbf4894', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: '0aed7c6daf7892e6ac1d5b3f8715e7c9032b11a3', class: "extended-message", id: contentId }, h("slot", { key: '75898f0a957581dc2720667c3eaae6e17201d81c' })))))));
|
|
50
54
|
}
|
|
51
|
-
static get style() { return
|
|
52
|
-
}, [
|
|
55
|
+
static get style() { return messageCss; }
|
|
56
|
+
}, [257, "tds-message", {
|
|
53
57
|
"header": [1],
|
|
54
58
|
"modeVariant": [1, "mode-variant"],
|
|
55
59
|
"variant": [1],
|