@scania/tegel 1.40.0 → 1.41.0-build-error-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-CV1oQGxw.js +2379 -0
- package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
- package/dist/cjs/tds-accordion.cjs.entry.js +4 -5
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +4 -5
- package/dist/cjs/tds-body-cell.cjs.entry.js +3 -9
- 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 +13 -12
- package/dist/cjs/tds-card.cjs.entry.js +28 -19
- package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
- package/dist/cjs/tds-chip.cjs.entry.js +18 -15
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +7 -8
- package/dist/cjs/tds-datetime.cjs.entry.js +27 -23
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -58
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
- package/dist/cjs/tds-footer-group.cjs.entry.js +6 -11
- package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
- package/dist/cjs/tds-footer.cjs.entry.js +5 -7
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-cell.cjs.entry.js +18 -22
- 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 +5 -8
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -12
- 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 +8 -13
- package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header.cjs.entry.js +4 -7
- package/dist/cjs/tds-icon.cjs.entry.js +10 -12
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +16 -15
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +14 -14
- package/dist/cjs/tds-modal.cjs.entry.js +19 -19
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
- package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
- package/dist/cjs/tds-radio-button.cjs.entry.js +11 -14
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +3 -6
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -5
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -5
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -7
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +6 -6
- 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 +15 -12
- package/dist/cjs/tds-slider.cjs.entry.js +39 -24
- package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
- package/dist/cjs/tds-step.cjs.entry.js +3 -11
- 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 +11 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -5
- package/dist/cjs/tds-table-body.cjs.entry.js +7 -11
- package/dist/cjs/tds-table-footer.cjs.entry.js +21 -17
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +3 -5
- package/dist/cjs/tds-table-header.cjs.entry.js +5 -6
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/tds-table.cjs.entry.js +21 -7
- package/dist/cjs/tds-tag.cjs.entry.js +5 -7
- package/dist/cjs/tds-text-field.cjs.entry.js +22 -13
- package/dist/cjs/tds-textarea.cjs.entry.js +16 -13
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +13 -14
- package/dist/cjs/tds-tooltip.cjs.entry.js +23 -25
- 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 +8 -2
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +8 -2
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.js +44 -19
- package/dist/collection/components/card/card.js +64 -28
- package/dist/collection/components/checkbox/checkbox.js +41 -22
- package/dist/collection/components/chip/chip.js +41 -19
- package/dist/collection/components/datetime/datetime.js +76 -37
- package/dist/collection/components/divider/divider.js +8 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +34 -21
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +113 -55
- package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
- package/dist/collection/components/footer/footer-group/footer-group.js +10 -8
- package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
- package/dist/collection/components/footer/footer.js +5 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -12
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +4 -2
- 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 +9 -2
- package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
- 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-title/header-title.css +2 -0
- package/dist/collection/components/icon/icon.js +26 -15
- 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 +33 -16
- package/dist/collection/components/modal/modal.css +54 -10
- package/dist/collection/components/modal/modal.js +44 -23
- package/dist/collection/components/popover-canvas/popover-canvas.js +49 -18
- package/dist/collection/components/popover-core/popover-core.js +68 -42
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
- package/dist/collection/components/popover-menu/popover-menu.js +46 -18
- package/dist/collection/components/radio-button/radio-button.js +36 -20
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +16 -7
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +4 -1
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -2
- 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 +22 -10
- package/dist/collection/components/slider/slider.js +90 -36
- package/dist/collection/components/spinner/spinner.js +8 -2
- package/dist/collection/components/stepper/step/step.js +12 -11
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +49 -12
- package/dist/collection/components/table/table-body/table-body.js +5 -6
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +16 -11
- 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 +12 -3
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +27 -8
- package/dist/collection/components/table/table-footer/table-footer.js +36 -17
- package/dist/collection/components/table/table-header/table-header.js +16 -6
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +40 -27
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +7 -2
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +12 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
- package/dist/collection/components/tag/tag.js +12 -5
- package/dist/collection/components/text-field/text-field.js +85 -31
- package/dist/collection/components/textarea/textarea.js +68 -28
- package/dist/collection/components/toast/toast.js +42 -21
- package/dist/collection/components/toggle/toggle.js +37 -19
- package/dist/collection/components/tooltip/tooltip.js +55 -32
- package/dist/collection/utils/dom.js +7 -0
- package/dist/components/index.js +1790 -1
- package/dist/components/{p-63552d0e.js → p-1YnjaUCy.js} +25 -15
- package/dist/components/{p-3308d5fa.js → p-8koCGAVT.js} +45 -37
- package/dist/components/{p-7c3348eb.js → p-BHBgkUfr.js} +12 -8
- package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
- package/dist/components/{p-2a2d66fe.js → p-BhQM9_yR.js} +49 -43
- package/dist/components/{p-1dafdc8c.js → p-BxmFjTxG.js} +11 -7
- package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
- package/dist/components/{p-f7d94947.js → p-CPDv0bBc.js} +15 -13
- package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
- package/dist/components/{p-c62b61fe.js → p-ChCWm6If.js} +15 -11
- package/dist/components/{p-3a7e4d0d.js → p-ChGLhiqn.js} +30 -17
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-d10d21bd.js → p-D1ati-pM.js} +13 -11
- package/dist/components/{p-04a014cf.js → p-DZDx1Si2.js} +29 -27
- package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
- package/dist/components/{p-6ef207b2.js → p-Ee9QeMgy.js} +40 -25
- 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-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/components/{p-9336db16.js → p-QnvG_QPu.js} +9 -8
- package/dist/components/tds-accordion-item.js +15 -8
- package/dist/components/tds-accordion.js +9 -6
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +9 -6
- package/dist/components/tds-body-cell.js +8 -10
- package/dist/components/tds-breadcrumb.js +8 -6
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +36 -23
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +23 -16
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +33 -25
- 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 +21 -17
- package/dist/components/tds-footer-group.js +12 -13
- package/dist/components/tds-footer-item.js +8 -7
- package/dist/components/tds-footer.js +10 -8
- package/dist/components/tds-header-brand-symbol.js +9 -8
- package/dist/components/tds-header-cell.js +24 -24
- 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 +18 -18
- 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 +18 -19
- package/dist/components/tds-header-title.js +8 -7
- package/dist/components/tds-header.js +8 -7
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +8 -6
- package/dist/components/tds-inline-tabs.js +22 -17
- package/dist/components/tds-link.js +10 -6
- package/dist/components/tds-message.js +20 -16
- package/dist/components/tds-modal.js +25 -21
- package/dist/components/tds-navigation-tab.js +8 -6
- package/dist/components/tds-navigation-tabs.js +24 -19
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +8 -6
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +16 -15
- package/dist/components/tds-side-menu-close-button.js +9 -8
- package/dist/components/tds-side-menu-collapse-button.js +9 -8
- package/dist/components/tds-side-menu-dropdown-list-item.js +8 -6
- package/dist/components/tds-side-menu-dropdown-list.js +7 -6
- package/dist/components/tds-side-menu-dropdown.js +12 -10
- 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 +20 -13
- package/dist/components/tds-slider.js +48 -29
- package/dist/components/tds-spinner.js +9 -6
- package/dist/components/tds-step.js +9 -13
- 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 +16 -8
- package/dist/components/tds-table-body-row.js +11 -7
- package/dist/components/tds-table-body.js +12 -12
- package/dist/components/tds-table-footer.js +30 -22
- package/dist/components/tds-table-header-input-wrapper.js +9 -7
- package/dist/components/tds-table-header.js +11 -8
- package/dist/components/tds-table-toolbar.js +11 -7
- package/dist/components/tds-table.js +26 -8
- package/dist/components/tds-tag.js +10 -8
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +24 -17
- package/dist/components/tds-toast.js +22 -18
- package/dist/components/tds-toggle.js +18 -15
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-HrL7WedA.js +2350 -0
- package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
- package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
- package/dist/esm/loader.js +3 -4
- package/dist/esm/tds-accordion-item.entry.js +9 -4
- package/dist/esm/tds-accordion.entry.js +4 -3
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +4 -3
- package/dist/esm/tds-body-cell.entry.js +3 -7
- 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 +13 -10
- package/dist/esm/tds-card.entry.js +28 -17
- package/dist/esm/tds-checkbox.entry.js +13 -13
- package/dist/esm/tds-chip.entry.js +18 -13
- package/dist/esm/tds-core-header-item_2.entry.js +7 -6
- package/dist/esm/tds-datetime.entry.js +27 -21
- package/dist/esm/tds-dropdown_2.entry.js +73 -56
- package/dist/esm/tds-folder-tab.entry.js +3 -4
- package/dist/esm/tds-folder-tabs.entry.js +15 -13
- package/dist/esm/tds-footer-group.entry.js +6 -9
- package/dist/esm/tds-footer-item.entry.js +3 -4
- package/dist/esm/tds-footer.entry.js +5 -5
- package/dist/esm/tds-header-brand-symbol.entry.js +2 -3
- package/dist/esm/tds-header-cell.entry.js +18 -20
- 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 +5 -6
- package/dist/esm/tds-header-dropdown.entry.js +8 -10
- 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 +8 -11
- package/dist/esm/tds-header-title.entry.js +3 -4
- package/dist/esm/tds-header.entry.js +4 -5
- package/dist/esm/tds-icon.entry.js +10 -10
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +16 -13
- package/dist/esm/tds-link.entry.js +5 -3
- package/dist/esm/tds-message.entry.js +14 -12
- package/dist/esm/tds-modal.entry.js +19 -17
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +18 -15
- package/dist/esm/tds-popover-canvas.entry.js +19 -11
- package/dist/esm/tds-popover-core.entry.js +40 -34
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +18 -11
- package/dist/esm/tds-radio-button.entry.js +11 -12
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
- package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
- package/dist/esm/tds-side-menu-item.entry.js +6 -4
- 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 +15 -10
- package/dist/esm/tds-slider.entry.js +39 -22
- package/dist/esm/tds-spinner.entry.js +4 -3
- package/dist/esm/tds-step.entry.js +3 -9
- 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 +11 -5
- package/dist/esm/tds-table-body-row.entry.js +5 -3
- package/dist/esm/tds-table-body.entry.js +7 -9
- package/dist/esm/tds-table-footer.entry.js +21 -15
- package/dist/esm/tds-table-header-input-wrapper.entry.js +3 -3
- package/dist/esm/tds-table-header.entry.js +5 -4
- package/dist/esm/tds-table-toolbar.entry.js +5 -3
- package/dist/esm/tds-table.entry.js +21 -5
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +22 -11
- package/dist/esm/tds-textarea.entry.js +16 -11
- package/dist/esm/tds-toast.entry.js +16 -14
- package/dist/esm/tds-toggle.entry.js +13 -12
- package/dist/esm/tds-tooltip.entry.js +23 -23
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-0522033d.entry.js +1 -0
- package/dist/tegel/{p-b734b309.entry.js → p-07f0ecfa.entry.js} +1 -1
- package/dist/tegel/p-09db07e0.entry.js +1 -0
- package/dist/tegel/p-12164f8d.entry.js +1 -0
- package/dist/tegel/{p-743d4f07.entry.js → p-130333e9.entry.js} +1 -1
- package/dist/tegel/p-141a87ec.entry.js +1 -0
- package/dist/tegel/p-15789c4b.entry.js +1 -0
- package/dist/tegel/p-1a2d346d.entry.js +1 -0
- package/dist/tegel/p-1dfccca8.entry.js +1 -0
- package/dist/tegel/p-25555d56.entry.js +1 -0
- package/dist/tegel/{p-a090bd2f.entry.js → p-29e20fb9.entry.js} +1 -1
- package/dist/tegel/p-2ad28143.entry.js +1 -0
- package/dist/tegel/p-2dcb574a.entry.js +1 -0
- package/dist/tegel/{p-f31f56fe.entry.js → p-2fcf78e7.entry.js} +1 -1
- package/dist/tegel/p-3bb9a77e.entry.js +1 -0
- package/dist/tegel/{p-87219f00.entry.js → p-3c49b7c7.entry.js} +1 -1
- package/dist/tegel/{p-2766b46f.entry.js → p-3dec20c1.entry.js} +1 -1
- package/dist/tegel/p-3f7ec5ba.entry.js +1 -0
- package/dist/tegel/p-42c83dc6.entry.js +1 -0
- package/dist/tegel/p-4628b4c4.entry.js +1 -0
- package/dist/tegel/p-4b9c0cb7.entry.js +1 -0
- package/dist/tegel/p-4ffaf7a4.entry.js +1 -0
- package/dist/tegel/{p-987f8f0f.entry.js → p-5543426b.entry.js} +1 -1
- package/dist/tegel/p-58b85a2a.entry.js +1 -0
- package/dist/tegel/p-58fccbf0.entry.js +1 -0
- package/dist/tegel/{p-51a17707.entry.js → p-5990c828.entry.js} +1 -1
- package/dist/tegel/p-5ca5d869.entry.js +1 -0
- package/dist/tegel/p-5cbb9af8.entry.js +1 -0
- package/dist/tegel/p-606e863a.entry.js +1 -0
- package/dist/tegel/p-628ae054.entry.js +1 -0
- package/dist/tegel/p-65d3dd85.entry.js +1 -0
- package/dist/tegel/p-6708328b.entry.js +1 -0
- package/dist/tegel/p-6d0fea0d.entry.js +1 -0
- package/dist/tegel/{p-4b5e15cc.entry.js → p-6e4c4a78.entry.js} +1 -1
- package/dist/tegel/{p-ceed0476.entry.js → p-73d70f17.entry.js} +1 -1
- package/dist/tegel/p-75676d23.entry.js +1 -0
- package/dist/tegel/p-76441be3.entry.js +1 -0
- package/dist/tegel/{p-2faeb483.entry.js → p-77aa8a91.entry.js} +1 -1
- package/dist/tegel/p-86666bd7.entry.js +1 -0
- package/dist/tegel/{p-24a76927.entry.js → p-868c897b.entry.js} +1 -1
- package/dist/tegel/{p-88bb1059.entry.js → p-88cc39ef.entry.js} +1 -1
- package/dist/tegel/{p-c2e514b4.entry.js → p-8b227ed2.entry.js} +1 -1
- package/dist/tegel/p-8cc5d2dd.entry.js +1 -0
- package/dist/tegel/p-91748269.entry.js +1 -0
- package/dist/tegel/p-9485e3e5.entry.js +1 -0
- package/dist/tegel/p-960e7ff1.entry.js +1 -0
- package/dist/tegel/p-960ee3fd.entry.js +1 -0
- package/dist/tegel/p-988c8036.entry.js +1 -0
- package/dist/tegel/{p-0cfe8671.entry.js → p-9c954292.entry.js} +1 -1
- package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
- package/dist/tegel/p-HrL7WedA.js +2 -0
- package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/tegel/{p-09cd056c.entry.js → p-a268f6bd.entry.js} +1 -1
- package/dist/tegel/{p-c6968db1.entry.js → p-a4465441.entry.js} +1 -1
- package/dist/tegel/p-a583e92f.entry.js +1 -0
- package/dist/tegel/p-a8d67a59.entry.js +1 -0
- package/dist/tegel/p-a90edab4.entry.js +1 -0
- package/dist/tegel/p-ae4a1e14.entry.js +1 -0
- package/dist/tegel/{p-8a4837ae.entry.js → p-b292ff03.entry.js} +1 -1
- package/dist/tegel/p-b2db1562.entry.js +1 -0
- package/dist/tegel/p-b7605e13.entry.js +1 -0
- package/dist/tegel/{p-3450dd6c.entry.js → p-b878189e.entry.js} +1 -1
- package/dist/tegel/p-baba354e.entry.js +1 -0
- package/dist/tegel/p-bc092a62.entry.js +1 -0
- package/dist/tegel/{p-133351b5.entry.js → p-c42579ea.entry.js} +1 -1
- package/dist/tegel/{p-77cfb0ef.entry.js → p-c4fcfb64.entry.js} +1 -1
- package/dist/tegel/p-cb12a0b4.entry.js +1 -0
- package/dist/tegel/{p-72006dd7.entry.js → p-ced3ee5a.entry.js} +1 -1
- package/dist/tegel/p-cf6a7d8c.entry.js +1 -0
- package/dist/tegel/{p-fd15ced7.entry.js → p-d094e4db.entry.js} +1 -1
- package/dist/tegel/p-d41511ba.entry.js +1 -0
- package/dist/tegel/{p-c163d44f.entry.js → p-d4f6ea93.entry.js} +1 -1
- package/dist/tegel/{p-771f53c2.entry.js → p-d9e8562c.entry.js} +1 -1
- package/dist/tegel/{p-f2318c88.entry.js → p-df3c3b3a.entry.js} +1 -1
- package/dist/tegel/p-e0204265.entry.js +1 -0
- package/dist/tegel/{p-655051b6.entry.js → p-e117038d.entry.js} +1 -1
- package/dist/tegel/{p-d1d45942.entry.js → p-e19166cc.entry.js} +1 -1
- package/dist/tegel/{p-650b98bf.entry.js → p-e242d286.entry.js} +1 -1
- package/dist/tegel/{p-646d1df4.entry.js → p-e3616cb0.entry.js} +1 -1
- package/dist/tegel/{p-0e772ad7.entry.js → p-f1b051a5.entry.js} +1 -1
- package/dist/tegel/p-fa610813.entry.js +1 -0
- package/dist/tegel/p-fd8598d5.entry.js +1 -0
- package/dist/tegel/tegel.css +3 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +4 -0
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
- package/dist/types/components/popover-core/popover-core.d.ts +4 -4
- package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +551 -4
- package/dist/types/stencil-public-runtime.d.ts +78 -5
- package/dist/types/utils/dom.d.ts +2 -0
- 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-0672ddfc.entry.js +0 -1
- package/dist/tegel/p-08ad6a21.entry.js +0 -1
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-0c9a51d9.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-17bc1e49.entry.js +0 -1
- package/dist/tegel/p-1859156f.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1f4267a8.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-28f85555.entry.js +0 -1
- package/dist/tegel/p-304f5a5c.entry.js +0 -1
- package/dist/tegel/p-3462a7cc.entry.js +0 -1
- package/dist/tegel/p-354d3986.entry.js +0 -1
- package/dist/tegel/p-3c348fcb.entry.js +0 -1
- package/dist/tegel/p-3c97cb45.entry.js +0 -1
- package/dist/tegel/p-3e6d65ee.entry.js +0 -1
- package/dist/tegel/p-445fa788.entry.js +0 -1
- package/dist/tegel/p-464469fe.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-52689019.entry.js +0 -1
- package/dist/tegel/p-55f9c79a.entry.js +0 -1
- package/dist/tegel/p-57a28f62.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-6b340718.entry.js +0 -1
- package/dist/tegel/p-7887bdbb.entry.js +0 -1
- package/dist/tegel/p-7b598e60.entry.js +0 -1
- package/dist/tegel/p-7ef50e7f.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-9f187848.entry.js +0 -1
- package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
- package/dist/tegel/p-a4cbb541.entry.js +0 -1
- package/dist/tegel/p-a56436c8.entry.js +0 -1
- package/dist/tegel/p-a8abc8d9.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b210d23c.entry.js +0 -1
- package/dist/tegel/p-b7abb81f.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
- package/dist/tegel/p-c23a3f12.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-cf717912.entry.js +0 -1
- package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
- package/dist/tegel/p-e1255160.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-f3c32d4d.entry.js +0 -1
- package/dist/tegel/p-f8a37d39.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,8 +1,7 @@
|
|
|
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-CPDv0bBc.js';
|
|
3
3
|
|
|
4
4
|
const stepCss = ":host{position:relative;display:table-cell}:host [role=listitem]{display:flex;justify-content:start;flex-direction:row;align-items:center;gap:8px}:host [role=listitem].text-below{flex-direction:column}:host [role=listitem].lg{padding:0 20px;font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls)}:host [role=listitem].lg .content-container{height:30px;min-width:30px}:host [role=listitem].lg .content-container tds-icon{vertical-align:bottom}:host [role=listitem].lg .content-container .index-container{vertical-align:sub}:host [role=listitem].lg.vertical::after{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:36px;width:1px;top:40px;left:36px}:host [role=listitem].lg.horizontal::after{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;left:calc(50% + 24px);right:0;top:18px}:host [role=listitem].lg.horizontal::before{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;right:calc(50% + 24px);left:0;top:18px}:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::after{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;top:16px;width:10px;left:auto;right:-10px}:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::before{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;top:16px;width:10px;left:-10px;right:auto}:host [role=listitem].sm{padding:0 20px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls)}:host [role=listitem].sm .index-container{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline}:host [role=listitem].sm .content-container{height:24px;min-width:24px}:host [role=listitem].sm .tds-step-icon{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline;margin-top:-2px}:host [role=listitem].sm.vertical::after{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:20px;width:1px;top:34px;left:32px}:host [role=listitem].sm.vertical::before{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:20px;width:1px;top:34px;left:32px}:host [role=listitem].sm.horizontal::after{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;left:calc(50% + 16px + 8px);right:0;top:13px}:host [role=listitem].sm.horizontal::before{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;left:0;right:calc(50% + 24px);top:13px}:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::after{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;top:13px;width:10px;left:auto;right:-10px}:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::before{content:\" \";position:absolute;background-color:var(--tds-stepper-divider-line);height:1px;top:13px;width:10px;left:-10px;right:auto}:host [role=listitem] .content-container{border-radius:100px;border:1px solid var(--tds-stepper-icon-background);text-align:center;position:relative}:host [role=listitem] .content-container.error{border-color:var(--tds-stepper-icon-step-border-color-warning);color:var(--tds-stepper-icon-step-border-color-warning)}:host [role=listitem] .content-container.success{background-color:var(--tds-stepper-icon-step-border-color-success);border-color:var(--tds-stepper-icon-step-border-color-success);color:var(--tds-white)}:host [role=listitem] .content-container.current{background-color:var(--tds-stepper-background);color:var(--tds-stepper-color)}:host [role=listitem] .content-container.upcoming{background-color:transparent;border-color:var(--tds-stepper-label-border-color-upcoming);color:var(--tds-stepper-label-text-color-upcoming)}:host [role=listitem] .label{text-align:center}:host [role=listitem] .label.lg{font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls)}:host [role=listitem] .label.sm{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls)}:host [role=listitem] .label.upcoming{color:var(--tds-stepper-label-text-color-upcoming);opacity:var(--tds-stepper-label-text-opacity-upcoming)}:host(:last-of-type) [role=listitem].horizontal{padding-right:0}:host(:last-of-type) [role=listitem].sm::after,:host(:last-of-type) [role=listitem].lg::after{display:none}:host(:last-of-type) [role=listitem].sm.vertical::before{display:none}:host(:first-of-type) [role=listitem].horizontal{padding-left:0}:host(:first-of-type) [role=listitem].sm::before,:host(:first-of-type) [role=listitem].lg::before{display:none}";
|
|
5
|
-
const TdsStepStyle0 = stepCss;
|
|
6
5
|
|
|
7
6
|
const propToStateMap = {
|
|
8
7
|
orientation: 'orientation',
|
|
@@ -11,17 +10,14 @@ const propToStateMap = {
|
|
|
11
10
|
hideLabels: 'hideLabels',
|
|
12
11
|
};
|
|
13
12
|
const TdsStep$1 = /*@__PURE__*/ proxyCustomElement(class TdsStep extends H {
|
|
14
|
-
constructor() {
|
|
13
|
+
constructor(registerHost) {
|
|
15
14
|
super();
|
|
16
|
-
|
|
15
|
+
if (registerHost !== false) {
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
}
|
|
17
18
|
this.__attachShadow();
|
|
18
|
-
|
|
19
|
+
/** State of the Step */
|
|
19
20
|
this.state = 'upcoming';
|
|
20
|
-
this.tdsAriaCurrent = undefined;
|
|
21
|
-
this.hideLabels = undefined;
|
|
22
|
-
this.size = undefined;
|
|
23
|
-
this.orientation = undefined;
|
|
24
|
-
this.labelPosition = undefined;
|
|
25
21
|
}
|
|
26
22
|
/* Needs to be onload to do this on any updates. */
|
|
27
23
|
componentWillLoad() {
|
|
@@ -48,8 +44,8 @@ const TdsStep$1 = /*@__PURE__*/ proxyCustomElement(class TdsStep extends H {
|
|
|
48
44
|
return (h(Host, { key: '871df74d99ed0bdf15fa82e0c2980b08b94735a8' }, h("div", { key: 'e108eb5e43390635fbd6020195cb7e6a4912c7c2', role: "listitem", "aria-disabled": this.state === 'upcoming' ? 'true' : 'false', "aria-current": this.tdsAriaCurrent, tabIndex: -1, "aria-label": `Step ${this.index}: ${this.state}`, class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: '8940a00dcd0001d6d264aff8cbc9331d4d890d49', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { "aria-hidden": "true", svgTitle: `tds-step-icon-${this.stepperId}`, class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { "aria-hidden": "true", class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'daa62f4d9347c571d214b1b9eb68b7d56418aed2', "aria-hidden": "true", class: `label ${this.size} ${this.state}` }, h("slot", { key: '68a20d3daded858cf1188f43747edb77ed2c9cbf', name: "label" }))))));
|
|
49
45
|
}
|
|
50
46
|
get el() { return this; }
|
|
51
|
-
static get style() { return
|
|
52
|
-
}, [
|
|
47
|
+
static get style() { return stepCss; }
|
|
48
|
+
}, [257, "tds-step", {
|
|
53
49
|
"index": [1],
|
|
54
50
|
"state": [1],
|
|
55
51
|
"tdsAriaCurrent": [1, "tds-aria-current"],
|
|
@@ -1,20 +1,31 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const stepperCss = ":host [role=list]{display:flex;justify-content:space-evenly;min-width:100%}:host [role=list]:not(.text-position-aside){display:table;table-layout:fixed;width:100%;list-style:none}:host [role=list].vertical{height:100%;display:flex;flex-direction:column;justify-content:unset;gap:52px}:host [role=list].vertical.sm{gap:36px}:host [role=list].horizontal.text-position-aside{justify-content:unset}";
|
|
5
|
-
const TdsStepperStyle0 = stepperCss;
|
|
6
5
|
|
|
7
6
|
const TdsStepper$1 = /*@__PURE__*/ proxyCustomElement(class TdsStepper 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.internalTdsPropsChange = createEvent(this, "internalTdsPropsChange", 6);
|
|
14
|
+
/** The orientation the Steps */
|
|
13
15
|
this.orientation = 'horizontal';
|
|
16
|
+
/** Text position, only available on a direction: horizontal */
|
|
14
17
|
this.labelPosition = 'below';
|
|
18
|
+
/** Size of the component and it's children. */
|
|
15
19
|
this.size = 'lg';
|
|
20
|
+
/** Hides the label for the child components if true. */
|
|
16
21
|
this.hideLabels = false;
|
|
22
|
+
/** ID used for internal Stepper functionality and events, must be unique.
|
|
23
|
+
*
|
|
24
|
+
* **NOTE**: If you're listening for Stepper events, you need to set this ID yourself to identify the Stepper,
|
|
25
|
+
* as the default ID is random and will be different every time.
|
|
26
|
+
*/
|
|
17
27
|
this.stepperId = generateUniqueId();
|
|
28
|
+
/** Label for the stepper component, for screen reader users */
|
|
18
29
|
this.tdsAriaLabel = 'Progress steps';
|
|
19
30
|
}
|
|
20
31
|
componentWillLoad() {
|
|
@@ -60,8 +71,8 @@ const TdsStepper$1 = /*@__PURE__*/ proxyCustomElement(class TdsStepper extends H
|
|
|
60
71
|
"size": ["handleSizeChange"],
|
|
61
72
|
"hideLabels": ["handleHideLabelsChange"]
|
|
62
73
|
}; }
|
|
63
|
-
static get style() { return
|
|
64
|
-
}, [
|
|
74
|
+
static get style() { return stepperCss; }
|
|
75
|
+
}, [257, "tds-stepper", {
|
|
65
76
|
"orientation": [1],
|
|
66
77
|
"labelPosition": [1, "label-position"],
|
|
67
78
|
"size": [1],
|
|
@@ -1,15 +1,17 @@
|
|
|
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-CPDv0bBc.js';
|
|
3
3
|
|
|
4
4
|
const tableBodyInputWrapperCss = ":host{position:relative}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.show-icon) ::slotted(input){padding-right:var(--tds-spacing-element-24)}:host(:hover) tds-icon{display:inline-block}:host(:hover) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}tds-icon.edit-icon{display:none;position:absolute;right:10px;top:1px;pointer-events:none;cursor:pointer}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);color:var(--tds-table-color);background-color:transparent;height:48px;border-radius:0;border:0;border-bottom:2px solid transparent;width:100%;cursor:pointer}::slotted(input)::placeholder{color:var(--tds-table-color)}::slotted(input:disabled){background-color:var(--tds-table-input-background-disabled)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";
|
|
5
|
-
const TdsTableBodyInputWrapperStyle0 = tableBodyInputWrapperCss;
|
|
6
5
|
|
|
7
6
|
const relevantTableProps = ['compactDesign'];
|
|
8
7
|
const TdsTableBodyInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyInputWrapper extends H {
|
|
9
|
-
constructor() {
|
|
8
|
+
constructor(registerHost) {
|
|
10
9
|
super();
|
|
11
|
-
|
|
10
|
+
if (registerHost !== false) {
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
12
13
|
this.__attachShadow();
|
|
14
|
+
/** Controls if the edit icon is shown */
|
|
13
15
|
this.showIcon = true;
|
|
14
16
|
this.renderSlot = true;
|
|
15
17
|
this.inputFocused = false;
|
|
@@ -89,15 +91,15 @@ const TdsTableBodyInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsTab
|
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '8030b00df873e3a242708a9b4fe88b4ad618d069', class: {
|
|
93
95
|
'focused-input-wrapper': this.inputFocused,
|
|
94
96
|
'show-icon': this.showIcon,
|
|
95
97
|
'tds-table__compact': this.compactDesign,
|
|
96
98
|
} }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "edit-icon", slot: "icon", size: "16px", name: "edit" })) : null));
|
|
97
99
|
}
|
|
98
100
|
get host() { return this; }
|
|
99
|
-
static get style() { return
|
|
100
|
-
}, [
|
|
101
|
+
static get style() { return tableBodyInputWrapperCss; }
|
|
102
|
+
}, [257, "tds-table-body-input-wrapper", {
|
|
101
103
|
"showIcon": [4, "show-icon"],
|
|
102
104
|
"renderSlot": [32],
|
|
103
105
|
"inputFocused": [32],
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const tableBodyRowExpandableCss = ":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .tds-table__row,:host .tds-table__row-extend{display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host .tds-table__row--expanded{border-bottom:none}:host .tds-table__row:hover,:host .tds-table__row-extend:hover{background-color:var(--tds-table-body-row-background-hover)}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .tds-table__expand-control-container .tds-table__expand-input{all:unset;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .tds-table__expand-control-container .tds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__row-expand{display:none;transition:background-color 200ms ease}:host .tds-table__row-expand--expanded{border-bottom:1px solid var(--tds-table-divider)}:host .tds-table__row-expand .tds-table__cell-expand{max-width:1px;overflow:auto;padding:16px 16px 16px 66px;color:var(--tds-table-color)}:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible{overflow:visible}:host .tds-table__row-expand .tds-table__cell-expand--overflow-hidden{overflow:hidden}:host(.tds-table__row-expand--active) .tds-table__row{background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon{transform:rotate(180deg)}:host(.tds-table__row-expand--active) .tds-table__row-expand{background-color:var(--tds-table-body-row-background-selected);display:table-row}:host(.tds-table__compact) .tds-table__expand-control-container{height:30px}:host(.tds-table__compact) .tds-table__row-expand .tds-table__cell-expand{padding:8px 16px 8px 66px}:host(.tds-table__row--hidden){display:none}:host(.tds-table--divider) .tds-table__cell--expand{border-right:1px solid var(--tds-table-divider)}";
|
|
5
|
-
const TdsTableBodyRowExpandableStyle0 = tableBodyRowExpandableCss;
|
|
6
5
|
|
|
7
6
|
const relevantTableProps = [
|
|
8
7
|
'verticalDividers',
|
|
@@ -11,18 +10,27 @@ const relevantTableProps = [
|
|
|
11
10
|
'modeVariant',
|
|
12
11
|
];
|
|
13
12
|
const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRowExpandable extends H {
|
|
14
|
-
constructor() {
|
|
13
|
+
constructor(registerHost) {
|
|
15
14
|
super();
|
|
16
|
-
|
|
15
|
+
if (registerHost !== false) {
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
}
|
|
17
18
|
this.__attachShadow();
|
|
18
19
|
this.internalTdsRowExpanded = createEvent(this, "internalTdsRowExpanded", 6);
|
|
19
20
|
this.tdsChange = createEvent(this, "tdsChange", 6);
|
|
21
|
+
/** In case that automatic count of columns does not work, user can manually set this one.
|
|
22
|
+
* Take in mind that expandable control is column too */
|
|
20
23
|
this.colSpan = null;
|
|
24
|
+
/** ID for the table row. Randomly generated if not specified. */
|
|
21
25
|
this.rowId = generateUniqueId();
|
|
22
|
-
|
|
26
|
+
/** Controls the overflow behavior of the expandable row content */
|
|
23
27
|
this.overflow = 'auto';
|
|
28
|
+
/** Sets isExpanded state to true or false internally */
|
|
29
|
+
/** Enables auto-collapse of other expandable rows when one row is expanded */
|
|
24
30
|
this.autoCollapse = false;
|
|
31
|
+
/** Aria label for the expand button, providing an accessible description */
|
|
25
32
|
this.tdsAriaLabelExpandButton = '';
|
|
33
|
+
/** Sets isExpanded state to true or fals internally */
|
|
26
34
|
this.isExpanded = false;
|
|
27
35
|
this.tableId = '';
|
|
28
36
|
this.columnsNumber = null;
|
|
@@ -127,8 +135,8 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
127
135
|
static get watchers() { return {
|
|
128
136
|
"expanded": ["watchExpanded"]
|
|
129
137
|
}; }
|
|
130
|
-
static get style() { return
|
|
131
|
-
}, [
|
|
138
|
+
static get style() { return tableBodyRowExpandableCss; }
|
|
139
|
+
}, [257, "tds-table-body-row-expandable", {
|
|
132
140
|
"colSpan": [2, "col-span"],
|
|
133
141
|
"rowId": [513, "row-id"],
|
|
134
142
|
"expanded": [516],
|
|
@@ -1,8 +1,7 @@
|
|
|
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-Ca3wGDna.js';
|
|
3
3
|
|
|
4
4
|
const tableBodyRowCss = ":host(.tds-table__row){box-sizing:border-box;display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host(.tds-table__row) *{box-sizing:border-box}:host(.tds-table__row) .tds-table__body-cell--checkbox{min-width:48px;width:48px;padding:0}:host(.tds-table__row:hover){border-bottom:1px solid var(--tds-table-divider-hover)}:host(.tds-table__row:hover){background-color:var(--tds-table-body-row-background-hover)}:host(.tds-table__row--selected){background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row--selected:hover){background-color:var(--tds-table-body-row-background-selected-hover)}:host(.tds-table__row--hidden){display:none}:host(.tds-table__row--expended){width:100%;background-color:pink}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host(.tds-table__compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__body-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table__row--clickable){cursor:pointer}:host(.tds-table__row--clickable:focus-visible){outline:var(--focus-outline, 2px solid blue)}";
|
|
5
|
-
const TdsTableBodyRowStyle0 = tableBodyRowCss;
|
|
6
5
|
|
|
7
6
|
const relevantTableProps = [
|
|
8
7
|
'multiselect',
|
|
@@ -10,14 +9,19 @@ const relevantTableProps = [
|
|
|
10
9
|
'compactDesign',
|
|
11
10
|
];
|
|
12
11
|
const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow extends H {
|
|
13
|
-
constructor() {
|
|
12
|
+
constructor(registerHost) {
|
|
14
13
|
super();
|
|
15
|
-
|
|
14
|
+
if (registerHost !== false) {
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
}
|
|
16
17
|
this.__attachShadow();
|
|
17
18
|
this.tdsSelect = createEvent(this, "tdsSelect", 6);
|
|
18
19
|
this.tdsClick = createEvent(this, "tdsClick", 6);
|
|
20
|
+
/** Marks the row as selected, used for multiselect table. */
|
|
19
21
|
this.selected = false;
|
|
22
|
+
/** Marks the row as disabled, used for multiselect table. */
|
|
20
23
|
this.disabled = false;
|
|
24
|
+
/** Makes the row clickable and tabbable for accessibility purposes. */
|
|
21
25
|
this.clickable = false;
|
|
22
26
|
this.multiselect = false;
|
|
23
27
|
this.mainCheckBoxStatus = false;
|
|
@@ -84,8 +88,8 @@ const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow
|
|
|
84
88
|
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '845e64408b938254887c7ec840eae48fc4ed01e3', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '817ef05632a9b2704148a0c9ce190b360b9cec3b', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '50cf1a5aeae24aaceeb813f432abe8e75ad53857' })));
|
|
85
89
|
}
|
|
86
90
|
get host() { return this; }
|
|
87
|
-
static get style() { return
|
|
88
|
-
}, [
|
|
91
|
+
static get style() { return tableBodyRowCss; }
|
|
92
|
+
}, [257, "tds-table-body-row", {
|
|
89
93
|
"selected": [516],
|
|
90
94
|
"disabled": [516],
|
|
91
95
|
"clickable": [516],
|
|
@@ -1,7 +1,6 @@
|
|
|
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 tableBodyCss = ":host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell,tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell{background-color:transparent}";
|
|
4
|
-
const TdsTableBodyStyle0 = tableBodyCss;
|
|
5
4
|
|
|
6
5
|
const relevantTableProps = [
|
|
7
6
|
'multiselect',
|
|
@@ -9,23 +8,24 @@ const relevantTableProps = [
|
|
|
9
8
|
'zebraMode',
|
|
10
9
|
];
|
|
11
10
|
const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody extends H {
|
|
12
|
-
constructor() {
|
|
11
|
+
constructor(registerHost) {
|
|
13
12
|
super();
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const numberOfRowsSelected = this.host.getElementsByClassName('tds-table__row--selected').length;
|
|
18
|
-
this.mainCheckboxStatus = numberOfRows === numberOfRowsSelected;
|
|
19
|
-
};
|
|
13
|
+
if (registerHost !== false) {
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
}
|
|
20
16
|
this.multiselect = false;
|
|
21
17
|
this.enablePaginationTableBody = false;
|
|
22
18
|
this.expandableRows = false;
|
|
23
19
|
this.multiselectArray = [];
|
|
24
|
-
this.multiselectArrayJSON = undefined;
|
|
25
20
|
this.mainCheckboxStatus = false;
|
|
26
21
|
this.columnsNumber = 0;
|
|
27
22
|
this.zebraMode = 'none';
|
|
28
23
|
this.tableId = '';
|
|
24
|
+
this.bodyCheckBoxClicked = () => {
|
|
25
|
+
const numberOfRows = this.host.getElementsByClassName('tds-table__row').length;
|
|
26
|
+
const numberOfRowsSelected = this.host.getElementsByClassName('tds-table__row--selected').length;
|
|
27
|
+
this.mainCheckboxStatus = numberOfRows === numberOfRowsSelected;
|
|
28
|
+
};
|
|
29
29
|
}
|
|
30
30
|
internalTdsPropChangeListener(event) {
|
|
31
31
|
if (this.tableId === event.detail.tableId) {
|
|
@@ -71,8 +71,8 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
|
|
|
71
71
|
} }, h("slot", { key: '61a0ec649d2f7f51ca386c46335a6ae018c993d0' })));
|
|
72
72
|
}
|
|
73
73
|
get host() { return this; }
|
|
74
|
-
static get style() { return
|
|
75
|
-
}, [
|
|
74
|
+
static get style() { return tableBodyCss; }
|
|
75
|
+
}, [260, "tds-table-body", {
|
|
76
76
|
"multiselect": [32],
|
|
77
77
|
"enablePaginationTableBody": [32],
|
|
78
78
|
"expandableRows": [32],
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { d as defineCustomElement$5 } from './p-
|
|
3
|
-
import { d as defineCustomElement$4 } from './p-
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
-
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$5 } from './p-Ca3wGDna.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './p-BhQM9_yR.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-Ee9QeMgy.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
|
|
6
6
|
|
|
7
7
|
const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:var(--tds-spacing-element-48)}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-48);display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page{display:flex;align-items:center;margin-right:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p{margin-right:var(--tds-spacing-element-8)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:74px;height:30px;border:none;border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;margin-right:var(--tds-spacing-element-4);padding-left:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:var(--tds-spacing-element-32);width:var(--tds-spacing-element-32);border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:var(--tds-spacing-element-20);width:var(--tds-spacing-element-20);fill:var(--tds-table-color)}:host(.tds-table--compact){height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:var(--tds-spacing-element-24)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}:host(.footer__horizontal-scroll){display:inline-table;position:absolute;margin-top:10px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
|
|
8
|
-
const TdsTableFooterStyle0 = tableFooterCss;
|
|
9
8
|
|
|
10
9
|
const relevantTableProps = [
|
|
11
10
|
'compactDesign',
|
|
@@ -15,11 +14,32 @@ function removeShakeAnimation(e) {
|
|
|
15
14
|
e.target.classList.remove('tds-table__page-selector-input--shake');
|
|
16
15
|
}
|
|
17
16
|
const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter extends H {
|
|
18
|
-
constructor() {
|
|
17
|
+
constructor(registerHost) {
|
|
19
18
|
super();
|
|
20
|
-
|
|
19
|
+
if (registerHost !== false) {
|
|
20
|
+
this.__registerHost();
|
|
21
|
+
}
|
|
21
22
|
this.__attachShadow();
|
|
22
23
|
this.tdsPagination = createEvent(this, "tdsPagination", 7);
|
|
24
|
+
/** Enable pagination and show pagination controls */
|
|
25
|
+
this.pagination = false;
|
|
26
|
+
/** Sets the pagination number. */
|
|
27
|
+
this.paginationValue = 1;
|
|
28
|
+
/** Enable rows per page dropdown */
|
|
29
|
+
this.rowsperpage = true;
|
|
30
|
+
/** Set available rows per page values */
|
|
31
|
+
this.rowsPerPageValues = [10, 25, 50];
|
|
32
|
+
/** Sets the number of pages. */
|
|
33
|
+
this.pages = null;
|
|
34
|
+
/** <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails. */
|
|
35
|
+
this.cols = null;
|
|
36
|
+
/** State that memorize number of columns to display colSpan correctly - set from parent level */
|
|
37
|
+
this.columnsNumber = 0;
|
|
38
|
+
/* Sets the footer to use compact design. */
|
|
39
|
+
this.compactDesign = false;
|
|
40
|
+
this.tableId = '';
|
|
41
|
+
this.horizontalScrollWidth = null;
|
|
42
|
+
this.rowsPerPageValue = this.rowsPerPageValues[0];
|
|
23
43
|
this.emitTdsPagination = () => {
|
|
24
44
|
if (this.rowsperpage) {
|
|
25
45
|
this.tdsPagination.emit({
|
|
@@ -63,18 +83,6 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
63
83
|
this.emitTdsPagination();
|
|
64
84
|
this.storeLastCorrectValue(this.paginationValue);
|
|
65
85
|
};
|
|
66
|
-
this.pagination = false;
|
|
67
|
-
this.paginationValue = 1;
|
|
68
|
-
this.rowsperpage = true;
|
|
69
|
-
this.rowsPerPageValues = [10, 25, 50];
|
|
70
|
-
this.pages = null;
|
|
71
|
-
this.cols = null;
|
|
72
|
-
this.columnsNumber = 0;
|
|
73
|
-
this.compactDesign = false;
|
|
74
|
-
this.lastCorrectValue = undefined;
|
|
75
|
-
this.tableId = '';
|
|
76
|
-
this.horizontalScrollWidth = null;
|
|
77
|
-
this.rowsPerPageValue = this.rowsPerPageValues[0];
|
|
78
86
|
}
|
|
79
87
|
internalTdsPropChangeListener(event) {
|
|
80
88
|
if (this.tableId === event.detail.tableId) {
|
|
@@ -147,8 +155,8 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
147
155
|
}))))), h("div", { key: '08f90bbe4dd64812b95de4be540c65afea1a5d7c', class: "tds-table__page-selector" }, h("input", { key: '4e780ad0a24f39df03edc044d110b6278589a61a', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '538690df3c6bef86bf14fe8b7c967b89257e5cb7', class: "tds-table__footer-text" }, "of ", h("span", { key: 'ec38ac0b07103bea8aec7ba3e7e88d73c2a756cb' }, this.pages), " pages"), h("button", { key: 'f196e4b87144a6e66a6a3d0451ca0d4ba32bd1af', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '80041ff46837e3ba072b740cf79d1cf9bbf21b63', name: "skip_backwards", size: "20px" })), h("button", { key: 'c51d570daeb97dbe2cae4e344eb51b97d88bb10a', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'bc02c69dc75f412fac63d952458d0ea06530593c', name: "chevron_left", size: "20px" })), h("button", { key: 'df29a47121d892642b24533a0e132d1f2d13d545', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'b2ae455a7a62c647f5c79cfc8f41bcae4b41b12d', name: "chevron_right", size: "20px" })), h("button", { key: 'd333d73217b7ed86841810bd342e2dd3152ef560', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '9d94abd5c17bc50b6a33c21dcc74b2689d514f2a', name: "skip_forward", size: "20px" })))))))));
|
|
148
156
|
}
|
|
149
157
|
get host() { return this; }
|
|
150
|
-
static get style() { return
|
|
151
|
-
}, [
|
|
158
|
+
static get style() { return tableFooterCss; }
|
|
159
|
+
}, [257, "tds-table-footer", {
|
|
152
160
|
"pagination": [516],
|
|
153
161
|
"paginationValue": [1538, "pagination-value"],
|
|
154
162
|
"rowsperpage": [516],
|
|
@@ -1,15 +1,17 @@
|
|
|
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-CPDv0bBc.js';
|
|
3
3
|
|
|
4
4
|
const tableHeaderInputWrapperCss = ":host{position:relative}:host(:hover) tds-icon{display:inline-block}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.focused-input-wrapper) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}:host(.show-icon) ::slotted(input){padding-left:35px}tds-icon.search-icon{color:var(--tds-table-input-header-icon);position:absolute;left:15px;top:1px}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);height:48px;border-radius:0;background-color:transparent;border:0;border-bottom:2px solid transparent}::slotted(input)::placeholder{color:var(--tds-table-input-header-placeholder)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-header-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";
|
|
5
|
-
const TdsTableHeaderInputWrapperStyle0 = tableHeaderInputWrapperCss;
|
|
6
5
|
|
|
7
6
|
const relevantTableProps = ['compactDesign'];
|
|
8
7
|
const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderInputWrapper extends H {
|
|
9
|
-
constructor() {
|
|
8
|
+
constructor(registerHost) {
|
|
10
9
|
super();
|
|
11
|
-
|
|
10
|
+
if (registerHost !== false) {
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
12
13
|
this.__attachShadow();
|
|
14
|
+
/** Controls if the search icon is shown */
|
|
13
15
|
this.showIcon = true;
|
|
14
16
|
this.renderSlot = true;
|
|
15
17
|
this.inputFocused = false;
|
|
@@ -78,8 +80,8 @@ const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsT
|
|
|
78
80
|
} }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { svgTitle: "search", class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
|
|
79
81
|
}
|
|
80
82
|
get host() { return this; }
|
|
81
|
-
static get style() { return
|
|
82
|
-
}, [
|
|
83
|
+
static get style() { return tableHeaderInputWrapperCss; }
|
|
84
|
+
}, [257, "tds-table-header-input-wrapper", {
|
|
83
85
|
"showIcon": [4, "show-icon"],
|
|
84
86
|
"compactDesign": [4, "compact-design"],
|
|
85
87
|
"renderSlot": [32],
|
|
@@ -1,8 +1,7 @@
|
|
|
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-Ca3wGDna.js';
|
|
3
3
|
|
|
4
4
|
const tableHeaderCss = ":host{box-sizing:border-box;display:table-header-group}:host *{box-sizing:border-box}:host .tds-table__header-cell--checkbox{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-divider);height:48px;box-sizing:border-box;overflow:hidden;transition:background-color 200ms ease;min-width:unset;width:48px;padding:0;border-top-left-radius:4px}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:48px;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input{display:none}:host .tds-table__expand-control-container .tds-expandable-row-icon{height:20px;width:20px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__expand-control-container .tds-expandable-row-icon--opened{transform:rotate(180deg)}:host ::slotted(tds-header-cell:hover){background-color:var(--tds-table-header-background-hover)}:host(.tds-table--compact) .tds-table__header-cell--checkbox{height:32px}:host(.tds-table--compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__header-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox{border-top-left-radius:0}";
|
|
5
|
-
const TdsTableHeaderStyle0 = tableHeaderCss;
|
|
6
5
|
|
|
7
6
|
const relevantTableProps = [
|
|
8
7
|
'multiselect',
|
|
@@ -12,14 +11,18 @@ const relevantTableProps = [
|
|
|
12
11
|
'noMinWidth',
|
|
13
12
|
];
|
|
14
13
|
const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderRow extends H {
|
|
15
|
-
constructor() {
|
|
14
|
+
constructor(registerHost) {
|
|
16
15
|
super();
|
|
17
|
-
|
|
16
|
+
if (registerHost !== false) {
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
}
|
|
18
19
|
this.__attachShadow();
|
|
19
20
|
this.tdsSelectAll = createEvent(this, "tdsSelectAll", 6);
|
|
21
|
+
/** @deprecated Deprecated, use selected instead. */
|
|
20
22
|
this.allSelected = false;
|
|
21
|
-
|
|
23
|
+
/** Prop for controlling the enabled/disabled state of the "All selected"-checkbox. */
|
|
22
24
|
this.disabled = false;
|
|
25
|
+
/** Prop for controlling the indeterminate state of the "All selected"-checkbox. */
|
|
23
26
|
this.indeterminate = false;
|
|
24
27
|
this.multiselect = false;
|
|
25
28
|
this.expandableRows = false;
|
|
@@ -95,8 +98,8 @@ const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderR
|
|
|
95
98
|
} }, h("tr", { key: 'fe66a0019ffef72437ef0312e07d8e23b0c8f728' }, this.multiselect && (h("th", { key: 'a132d706ef3650e6909a2b1bd90ed51b53a8fe02', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'a4a62796419d0f77a9a9b035a2493ec7cc184e9f', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '2b9e308d8098b8e2825936f6ff2ab0e1ec0e8897', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '916a17bb35705db77de44bee119c579dd55c2d8f', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '79d44597fcb6fa6d2e94197c57a1c9dded7e9f3d' }))));
|
|
96
99
|
}
|
|
97
100
|
get host() { return this; }
|
|
98
|
-
static get style() { return
|
|
99
|
-
}, [
|
|
101
|
+
static get style() { return tableHeaderCss; }
|
|
102
|
+
}, [257, "tds-table-header", {
|
|
100
103
|
"allSelected": [1540, "all-selected"],
|
|
101
104
|
"selected": [1540],
|
|
102
105
|
"disabled": [1540],
|
|
@@ -1,8 +1,7 @@
|
|
|
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 tableToolbarCss = ":host{box-sizing:border-box;display:table-caption;position:relative;background-color:var(--tds-table-toolbar-background);color:var(--tds-table-color);padding:0 var(--tds-spacing-element-16);height:64px;border-top-left-radius:4px;border-top-right-radius:4px}:host *{box-sizing:border-box}:host .tds-table__upper-bar-flex{width:100%;height:100%;display:flex;justify-content:space-between}:host .tds-table__actionbar-left{display:flex}:host .tds-table__title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);padding-top:var(--tds-spacing-element-16);text-align:left;margin-right:var(--tds-spacing-element-8)}:host .tds-table__actionbar,:host slot[name=end]::slotted(*),:host slot[name=start]::slotted(*){display:flex;align-self:center}:host .tds-table__searchbar{display:flex;align-self:center;position:relative;height:40px;width:40px;border-radius:4px 4px 0 0;transition:background-color 250ms ease, width 250ms ease;overflow:hidden;background-color:transparent}:host .tds-table__searchbar::after{content:\"\";width:100%;height:2px;position:absolute;bottom:0;background-color:var(--tds-blue-400);transform:scaleX(0);transition:transform 150ms ease}:host .tds-table__searchbar:focus-within::after{transform:scaleX(100%)}:host .tds-table__searchbar:focus-within,:host .tds-table__searchbar.tds-table__searchbar--active{width:208px;background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:focus-within:hover,:host .tds-table__searchbar.tds-table__searchbar--active:hover{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar .tds-table__searchbar-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);z-index:1;width:100%;height:100%;border:none;padding:0 36px 0 16px;background-color:transparent;outline:none;cursor:pointer}:host .tds-table__searchbar .tds-table__searchbar-input :focus{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:hover{background-color:var(--tds-table-toolbar-searchbar-background-hover)}:host .tds-table__searchbar .tds-table__searchbar-icon{z-index:0;position:absolute;right:9px;top:9px;width:20px;height:20px}:host(.toolbar__horizontal-scroll){position:absolute;top:var(--tds-spacing-element-16)}:host(.tds-table--compact){height:56px}";
|
|
5
|
-
const TdsTableToolbarStyle0 = tableToolbarCss;
|
|
6
5
|
|
|
7
6
|
const relevantTableProps = [
|
|
8
7
|
'compactDesign',
|
|
@@ -11,13 +10,18 @@ const relevantTableProps = [
|
|
|
11
10
|
'horizontalScrollWidth',
|
|
12
11
|
];
|
|
13
12
|
const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar extends H {
|
|
14
|
-
constructor() {
|
|
13
|
+
constructor(registerHost) {
|
|
15
14
|
super();
|
|
16
|
-
|
|
15
|
+
if (registerHost !== false) {
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
}
|
|
17
18
|
this.__attachShadow();
|
|
18
19
|
this.tdsFilter = createEvent(this, "tdsFilter", 7);
|
|
20
|
+
/** Adds title to the Table */
|
|
19
21
|
this.tableTitle = '';
|
|
22
|
+
/** Enables preview of searchbar */
|
|
20
23
|
this.filter = false;
|
|
24
|
+
/** Aria label for the search input, providing an accessible description */
|
|
21
25
|
this.tdsSearchAriaLabel = '';
|
|
22
26
|
this.verticalDividers = false;
|
|
23
27
|
this.compactDesign = false;
|
|
@@ -79,8 +83,8 @@ const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar
|
|
|
79
83
|
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '7310ec2851d440ba6529eb2d48bb20bcb508429f', class: "tds-table__upper-bar-flex" }, h("div", { key: '5b901252d433968edb04de20a25ea9c09bb39b4b', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '661f8de9fe38cd72b098251b027c7e6f554033e5', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '8d00d01e2ac92c75f95dc6ae89e7b8769cde6dc1', name: "start" })), h("div", { key: 'fd28cb512ed5ad997cdb1f0b1dff8f7489f95db5', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'fb2649d623a21eeb1a8c3ed5c512d02d7bbb2efc', class: "tds-table__searchbar" }, h("input", { key: '9cd1284bec12081a2e99996eb6bd160ac926b751', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '015060f9c59d06c430fabb0acabb8b476a477616', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '5f990c7f452a46bb0471dd658f24afd848d029e9', name: "search", size: "20px" })))), h("slot", { key: 'a91b2aee680ef316d2fdd46d46bfe9ec3eb3e314', name: "end" })))));
|
|
80
84
|
}
|
|
81
85
|
get host() { return this; }
|
|
82
|
-
static get style() { return
|
|
83
|
-
}, [
|
|
86
|
+
static get style() { return tableToolbarCss; }
|
|
87
|
+
}, [257, "tds-table-toolbar", {
|
|
84
88
|
"tableTitle": [513, "table-title"],
|
|
85
89
|
"filter": [516],
|
|
86
90
|
"tdsSearchAriaLabel": [1, "tds-search-aria-label"],
|
|
@@ -1,24 +1,42 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H,
|
|
2
|
-
import { g as generateUniqueId } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
+
import { g as generateUniqueId } from './p-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const tableCss = ":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,.tds-table{border-collapse:collapse;display:table;box-sizing:border-box}:host *,.tds-table *{box-sizing:border-box}:host(.tds-table--responsive),.tds-table--responsive{width:100%}.tds-table--horizontal-scroll{display:block;overflow-x:scroll;white-space:nowrap}.tds-table--horizontal-scroll: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}.tds-table--horizontal-scroll::-webkit-scrollbar{height:var(--tds-scrollbar-height)}.tds-table--horizontal-scroll::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}.tds-table--horizontal-scroll::-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}.tds-table--horizontal-scroll::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){.tds-table--horizontal-scroll{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}.tds-table--horizontal-scroll-toolbar{margin-top:64px}.tds-table--horizontal-scroll-toolbar-compact{margin-top:56px}.tds-table--horizontal-scroll-footer{margin-bottom:49px}.tds-table--horizontal-scroll-footer-compact{margin-bottom:33px}";
|
|
5
|
-
const TdsTableStyle0 = tableCss;
|
|
6
5
|
|
|
7
6
|
const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable 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.internalTdsTablePropChange = createEvent(this, "internalTdsTablePropChange", 6);
|
|
14
|
+
/** Enables style with vertical dividers between columns */
|
|
13
15
|
this.verticalDividers = false;
|
|
16
|
+
/** Enables style where Table toolbar, rows and footer are less high */
|
|
14
17
|
this.compactDesign = false;
|
|
15
|
-
this
|
|
18
|
+
// TODO: Due to unknown reason, one of this items has to be left as is.
|
|
19
|
+
// If all are false, it seems like emitting is not properly done and it affects other events in Table.
|
|
20
|
+
// Try setting it and observe text-align set on header cell
|
|
21
|
+
/** Enables multiselect feature of Table */
|
|
16
22
|
this.multiselect = false;
|
|
23
|
+
/** Enables extended row feature of Table */
|
|
17
24
|
this.expandableRows = false;
|
|
25
|
+
/** Enables Table to take 100% available width with equal spacing of columns */
|
|
18
26
|
this.responsive = false;
|
|
27
|
+
/** Variant of the component, based on current mode. */
|
|
19
28
|
this.modeVariant = null;
|
|
29
|
+
/** Enables zebra stripe mode on the table rows or columns. */
|
|
20
30
|
this.zebraMode = 'none';
|
|
31
|
+
/** Width of the table, used as the constraint for horizontal scrolling.
|
|
32
|
+
* **NOTE**: this will disable usage of the responsive flag
|
|
33
|
+
* */
|
|
21
34
|
this.horizontalScrollWidth = null;
|
|
35
|
+
/** ID used for internal Table functionality and events, must be unique.
|
|
36
|
+
*
|
|
37
|
+
* **NOTE**: If you're listening for Table events, you need to set this ID yourself to identify the Table,
|
|
38
|
+
* as the default ID is random and will be different every time.
|
|
39
|
+
*/
|
|
22
40
|
this.tableId = generateUniqueId();
|
|
23
41
|
this.enableHorizontalScrollToolbarDesign = false;
|
|
24
42
|
this.enableHorizontalScrollFooterDesign = false;
|
|
@@ -120,8 +138,8 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
120
138
|
"modeVariant": ["modeVariantChanged"],
|
|
121
139
|
"horizontalScrollWidth": ["widthChanged"]
|
|
122
140
|
}; }
|
|
123
|
-
static get style() { return
|
|
124
|
-
}, [
|
|
141
|
+
static get style() { return tableCss; }
|
|
142
|
+
}, [257, "tds-table", {
|
|
125
143
|
"verticalDividers": [516, "vertical-dividers"],
|
|
126
144
|
"compactDesign": [516, "compact-design"],
|
|
127
145
|
"noMinWidth": [516, "no-min-width"],
|