@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.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/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +3 -4
- package/dist/cjs/tds-button_2.cjs.entry.js +5 -7
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +3 -6
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +5 -9
- package/dist/cjs/tds-datetime.cjs.entry.js +5 -8
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +40 -50
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +3 -10
- package/dist/cjs/tds-footer-group.cjs.entry.js +5 -6
- package/dist/cjs/tds-footer-item.cjs.entry.js +2 -6
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-cell.cjs.entry.js +5 -10
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +3 -5
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +5 -7
- package/dist/cjs/tds-header-launcher.cjs.entry.js +4 -8
- package/dist/cjs/tds-header.cjs.entry.js +6 -8
- package/dist/cjs/tds-icon.cjs.entry.js +2 -1
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -10
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +5 -6
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -12
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +8 -10
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +1 -4
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -5
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +9 -13
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -5
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +9 -15
- package/dist/cjs/tds-side-menu.cjs.entry.js +9 -12
- package/dist/cjs/tds-slider.cjs.entry.js +16 -26
- package/dist/cjs/tds-step.cjs.entry.js +1 -3
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +10 -17
- package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -8
- package/dist/cjs/tds-table-body.cjs.entry.js +5 -9
- package/dist/cjs/tds-table-footer.cjs.entry.js +8 -15
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +18 -24
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +4 -6
- package/dist/cjs/tds-table.cjs.entry.js +12 -14
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +4 -5
- package/dist/cjs/tds-toggle.cjs.entry.js +4 -5
- package/dist/cjs/tds-tooltip.cjs.entry.js +10 -6
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/button/button.js +7 -9
- package/dist/collection/components/card/card.js +4 -4
- package/dist/collection/components/checkbox/checkbox.js +4 -7
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/datetime/datetime.js +7 -10
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +6 -9
- package/dist/collection/components/dropdown/dropdown.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +53 -44
- package/dist/collection/components/footer/footer-group/footer-group.js +5 -6
- package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
- package/dist/collection/components/footer/footer.js +4 -4
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +5 -7
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +3 -5
- package/dist/collection/components/header/header-item/header-item.js +5 -9
- package/dist/collection/components/header/header-launcher/header-launcher.js +4 -8
- package/dist/collection/components/header/header.js +6 -8
- package/dist/collection/components/icon/icon.js +4 -3
- package/dist/collection/components/message/message.css +2 -1
- package/dist/collection/components/message/message.js +4 -4
- package/dist/collection/components/modal/modal.css +54 -10
- package/dist/collection/components/modal/modal.js +7 -8
- package/dist/collection/components/popover-canvas/popover-canvas.js +9 -9
- package/dist/collection/components/popover-core/popover-core.js +23 -20
- package/dist/collection/components/popover-menu/popover-menu.js +9 -9
- package/dist/collection/components/radio-button/radio-button.js +1 -4
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -5
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +4 -5
- 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 +9 -13
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -15
- package/dist/collection/components/side-menu/side-menu.js +9 -12
- package/dist/collection/components/slider/slider.js +16 -26
- package/dist/collection/components/stepper/step/step.js +1 -3
- package/dist/collection/components/table/table/table.js +18 -36
- package/dist/collection/components/table/table-body/table-body.js +5 -9
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +6 -7
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +10 -13
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +16 -23
- package/dist/collection/components/table/table-footer/table-footer.js +13 -20
- package/dist/collection/components/table/table-header/table-header.js +21 -27
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +17 -22
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +6 -8
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +5 -12
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +3 -10
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -12
- package/dist/collection/components/text-field/text-field.js +8 -9
- package/dist/collection/components/textarea/textarea.js +6 -7
- package/dist/collection/components/toggle/toggle.js +4 -5
- package/dist/collection/components/tooltip/tooltip.js +13 -9
- package/dist/collection/utils/appendHiddenInput.js +4 -6
- package/dist/components/{p-ad376f70.js → p-04a014cf.js} +11 -7
- package/dist/components/{p-e0ccf8e6.js → p-1dafdc8c.js} +9 -15
- package/dist/components/{p-6fd2b339.js → p-3308d5fa.js} +8 -10
- package/dist/components/{p-a64cbc40.js → p-3a7e4d0d.js} +9 -10
- package/dist/components/{p-7e02ea3e.js → p-3f475529.js} +35 -42
- package/dist/components/{p-e627f11b.js → p-44f5b5e1.js} +3 -6
- package/dist/components/{p-415fafb3.js → p-63552d0e.js} +5 -5
- package/dist/components/{p-98d082f9.js → p-6ef207b2.js} +8 -11
- package/dist/components/{p-ead6727f.js → p-7c3348eb.js} +5 -9
- package/dist/components/{p-da11a695.js → p-9336db16.js} +3 -5
- package/dist/components/{p-799470b1.js → p-c62b61fe.js} +5 -7
- package/dist/components/{p-0d286c19.js → p-d10d21bd.js} +2 -2
- package/dist/components/{p-edc838a0.js → p-f7d94947.js} +2 -1
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-accordion.js +2 -2
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +4 -5
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +4 -4
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-datetime.js +6 -9
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tabs.js +4 -11
- package/dist/components/tds-footer-group.js +6 -7
- package/dist/components/tds-footer-item.js +2 -6
- package/dist/components/tds-footer.js +2 -2
- package/dist/components/tds-header-brand-symbol.js +3 -3
- package/dist/components/tds-header-cell.js +6 -11
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +9 -11
- package/dist/components/tds-header-hamburger.js +2 -2
- 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-list.js +1 -1
- package/dist/components/tds-header-launcher.js +9 -13
- package/dist/components/tds-header.js +6 -8
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tabs.js +4 -11
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +6 -7
- package/dist/components/tds-navigation-tabs.js +6 -13
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +5 -5
- package/dist/components/tds-radio-button.js +1 -4
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +5 -6
- package/dist/components/tds-side-menu-dropdown-list-item.js +9 -13
- package/dist/components/tds-side-menu-dropdown-list.js +3 -3
- package/dist/components/tds-side-menu-dropdown.js +6 -7
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu.js +9 -12
- package/dist/components/tds-slider.js +20 -30
- package/dist/components/tds-step.js +2 -4
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +10 -17
- package/dist/components/tds-table-body-row.js +6 -9
- package/dist/components/tds-table-body.js +5 -9
- package/dist/components/tds-table-footer.js +12 -19
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +19 -25
- package/dist/components/tds-table-toolbar.js +5 -7
- package/dist/components/tds-table.js +12 -14
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +7 -8
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +4 -5
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion.entry.js +2 -2
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +3 -4
- package/dist/esm/tds-button_2.entry.js +5 -7
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +3 -6
- package/dist/esm/tds-core-header-item_2.entry.js +5 -9
- package/dist/esm/tds-datetime.entry.js +5 -8
- package/dist/esm/tds-dropdown_2.entry.js +40 -50
- package/dist/esm/tds-folder-tabs.entry.js +3 -10
- package/dist/esm/tds-footer-group.entry.js +5 -6
- package/dist/esm/tds-footer-item.entry.js +2 -6
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
- package/dist/esm/tds-header-cell.entry.js +5 -10
- package/dist/esm/tds-header-dropdown-list.entry.js +3 -5
- package/dist/esm/tds-header-dropdown.entry.js +5 -7
- package/dist/esm/tds-header-launcher.entry.js +4 -8
- package/dist/esm/tds-header.entry.js +6 -8
- package/dist/esm/tds-icon.entry.js +2 -1
- package/dist/esm/tds-inline-tabs.entry.js +3 -10
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +5 -6
- package/dist/esm/tds-navigation-tabs.entry.js +5 -12
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +8 -10
- package/dist/esm/tds-popover-menu.entry.js +4 -4
- package/dist/esm/tds-radio-button.entry.js +1 -4
- package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -5
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +9 -13
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +4 -5
- package/dist/esm/tds-side-menu-item.entry.js +9 -15
- package/dist/esm/tds-side-menu.entry.js +9 -12
- package/dist/esm/tds-slider.entry.js +16 -26
- package/dist/esm/tds-step.entry.js +1 -3
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +10 -17
- package/dist/esm/tds-table-body-row.entry.js +5 -8
- package/dist/esm/tds-table-body.entry.js +5 -9
- package/dist/esm/tds-table-footer.entry.js +8 -15
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +18 -24
- package/dist/esm/tds-table-toolbar.entry.js +4 -6
- package/dist/esm/tds-table.entry.js +12 -14
- package/dist/esm/tds-text-field.entry.js +6 -7
- package/dist/esm/tds-textarea.entry.js +4 -5
- package/dist/esm/tds-toggle.entry.js +4 -5
- package/dist/esm/tds-tooltip.entry.js +10 -6
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-0672ddfc.entry.js +1 -0
- package/dist/tegel/p-08ad6a21.entry.js +1 -0
- package/dist/tegel/p-08f63e5d.entry.js +1 -0
- package/dist/tegel/p-09cd056c.entry.js +1 -0
- package/dist/tegel/p-0c9a51d9.entry.js +1 -0
- package/dist/tegel/p-0cfe8671.entry.js +1 -0
- package/dist/tegel/p-0e772ad7.entry.js +1 -0
- package/dist/tegel/p-17bc1e49.entry.js +1 -0
- package/dist/tegel/p-1859156f.entry.js +1 -0
- package/dist/tegel/p-1f4267a8.entry.js +1 -0
- package/dist/tegel/p-24a76927.entry.js +1 -0
- package/dist/tegel/{p-40fa0f5b.entry.js → p-28f85555.entry.js} +1 -1
- package/dist/tegel/p-354d3986.entry.js +1 -0
- package/dist/tegel/p-3c97cb45.entry.js +1 -0
- package/dist/tegel/p-3e6d65ee.entry.js +1 -0
- package/dist/tegel/p-445fa788.entry.js +1 -0
- package/dist/tegel/{p-a912035b.entry.js → p-464469fe.entry.js} +1 -1
- package/dist/tegel/p-51a17707.entry.js +1 -0
- package/dist/tegel/p-52689019.entry.js +1 -0
- package/dist/tegel/{p-ca068263.entry.js → p-57a28f62.entry.js} +1 -1
- package/dist/tegel/{p-27369d6a.entry.js → p-650b98bf.entry.js} +1 -1
- package/dist/tegel/p-6b340718.entry.js +1 -0
- package/dist/tegel/p-72006dd7.entry.js +1 -0
- package/dist/tegel/p-743d4f07.entry.js +1 -0
- package/dist/tegel/p-77cfb0ef.entry.js +1 -0
- package/dist/tegel/p-7887bdbb.entry.js +1 -0
- package/dist/tegel/p-7b598e60.entry.js +1 -0
- package/dist/tegel/p-7ef50e7f.entry.js +1 -0
- package/dist/tegel/p-8c2695af.entry.js +1 -0
- package/dist/tegel/p-8eccfe32.entry.js +1 -0
- package/dist/tegel/{p-b9afb39e.entry.js → p-987f8f0f.entry.js} +1 -1
- package/dist/tegel/p-9b635e01.entry.js +1 -0
- package/dist/tegel/p-9f187848.entry.js +1 -0
- package/dist/tegel/p-9fdc8fa5.entry.js +1 -0
- package/dist/tegel/p-a090bd2f.entry.js +1 -0
- package/dist/tegel/p-a56436c8.entry.js +1 -0
- package/dist/tegel/p-b210d23c.entry.js +1 -0
- package/dist/tegel/p-c0cbc9f5.entry.js +1 -0
- package/dist/tegel/{p-fe4335ca.entry.js → p-c6968db1.entry.js} +1 -1
- package/dist/tegel/p-cf717912.entry.js +1 -0
- package/dist/tegel/p-cfd7ed1a.entry.js +1 -0
- package/dist/tegel/p-d1d45942.entry.js +1 -0
- package/dist/tegel/p-d7cdbc4e.entry.js +1 -0
- package/dist/tegel/p-e5b796e7.entry.js +1 -0
- package/dist/tegel/{p-e0dc09f9.entry.js → p-eb91e33b.entry.js} +1 -1
- package/dist/tegel/{p-da38aa9a.entry.js → p-f2318c88.entry.js} +1 -1
- package/dist/tegel/{p-c5694dd6.entry.js → p-f31f56fe.entry.js} +1 -1
- package/dist/tegel/p-f3c32d4d.entry.js +1 -0
- package/dist/tegel/p-fd15ced7.entry.js +1 -0
- package/dist/tegel/tegel.css +2 -2
- 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 +1 -1
- 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 +86 -81
- 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 +1 -1
- package/dist/tegel/p-08c16b2f.entry.js +0 -1
- package/dist/tegel/p-0b37e91a.entry.js +0 -1
- package/dist/tegel/p-1e1a87c1.entry.js +0 -1
- 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-3ef04672.entry.js +0 -1
- package/dist/tegel/p-40d99d7d.entry.js +0 -1
- package/dist/tegel/p-48a3e489.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-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-b218db70.entry.js +0 -1
- package/dist/tegel/p-b3b13975.entry.js +0 -1
- package/dist/tegel/p-bb8c2a36.entry.js +0 -1
- package/dist/tegel/p-bee9e9d1.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-e29fa563.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-f922308f.entry.js +0 -1
- package/dist/tegel/p-fb300776.entry.js +0 -1
- package/dist/tegel/p-fd22d1ca.entry.js +0 -1
|
@@ -40,8 +40,7 @@ const TdsSideMenu = class {
|
|
|
40
40
|
this.initialCollapsedState = this.collapsed;
|
|
41
41
|
}
|
|
42
42
|
componentDidLoad() {
|
|
43
|
-
|
|
44
|
-
const upperSlot = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
|
|
43
|
+
const upperSlot = this.host.shadowRoot.querySelector('slot:not([name])');
|
|
45
44
|
const upperSlotElements = upperSlot.assignedElements();
|
|
46
45
|
const hasUpperSlotElements = (upperSlotElements === null || upperSlotElements === void 0 ? void 0 : upperSlotElements.length) > 0;
|
|
47
46
|
if (!hasUpperSlotElements) {
|
|
@@ -85,7 +84,7 @@ const TdsSideMenu = class {
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
getFocusableElements() {
|
|
88
|
-
var _a
|
|
87
|
+
var _a;
|
|
89
88
|
const focusableSelectors = [
|
|
90
89
|
'a[href]',
|
|
91
90
|
'button:not([disabled])',
|
|
@@ -94,13 +93,11 @@ const TdsSideMenu = class {
|
|
|
94
93
|
'select:not([disabled])',
|
|
95
94
|
'[tabindex]:not([tabindex="-1"])',
|
|
96
95
|
].join(',');
|
|
97
|
-
const focusableInShadowRoot = Array.from(
|
|
96
|
+
const focusableInShadowRoot = Array.from(this.host.shadowRoot.querySelectorAll(focusableSelectors));
|
|
98
97
|
const focusableInSlots = Array.from(this.host.querySelectorAll(focusableSelectors));
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
closeBtn = (_c = slottedBtn.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('button');
|
|
103
|
-
const focusableElements = [...focusableInShadowRoot, ...focusableInSlots];
|
|
98
|
+
const closeBtn = (_a = this.host
|
|
99
|
+
.querySelector('[slot="close-button"]')) === null || _a === void 0 ? void 0 : _a.shadowRoot.querySelector('button');
|
|
100
|
+
let focusableElements = [...focusableInShadowRoot, ...focusableInSlots];
|
|
104
101
|
if (closeBtn)
|
|
105
102
|
focusableElements.push(closeBtn);
|
|
106
103
|
/** Focusable elements */
|
|
@@ -141,16 +138,16 @@ const TdsSideMenu = class {
|
|
|
141
138
|
this.collapsed = event.detail.collapsed;
|
|
142
139
|
}
|
|
143
140
|
render() {
|
|
144
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: '62d159fdff0e4dd3d2a93e0c5542b8e672e3f287', class: {
|
|
145
142
|
'menu-opened': this.open,
|
|
146
143
|
'menu-persistent': this.persistent,
|
|
147
144
|
'menu-collapsed': this.collapsed,
|
|
148
|
-
}, "aria-expanded": !this.collapsed ? 'true' : 'false' }, h("div", { key: '
|
|
145
|
+
}, "aria-expanded": !this.collapsed ? 'true' : 'false' }, h("div", { key: '17134ffc1c3ca6658f4ff87c203ca3b6ba991b83', class: {
|
|
149
146
|
'wrapper': true,
|
|
150
147
|
'state-upper-slot-empty': this.isUpperSlotEmpty,
|
|
151
148
|
'state-open': this.open,
|
|
152
149
|
'state-closed': !this.open,
|
|
153
|
-
} }, h("slot", { key: '
|
|
150
|
+
} }, h("slot", { key: '8ed1f309c2188e6de12b874198c36a4698d7a69f', name: "overlay" }), h("aside", { key: '45702b7ff79693b31565550fc1985bfd64e45f92', class: `menu` }, h("div", { key: 'e799983a07a07ad0f4cac8e962e1748d08107b6b', role: "navigation" }, h("slot", { key: '4550b56dae039b94005dd58c8c5cb9818c3ab48a', name: "close-button" }), h("div", { key: 'ad2457482eb6dc9b08428f36078d53143f7b5168', class: "tds-side-menu-wrapper" }, h("ul", { key: '541323ca57ed67565c848a984bd3ac210ce6f135', class: `tds-side-menu-list tds-side-menu-list-upper` }, h("li", { key: '6248720390640a1166e1158caa0f50164fe1dfad' }, h("slot", { key: 'b3d24d582d4781fef041a2c099681fd538d01910' }))), h("ul", { key: '0a5f76474b4b3851d790ab8f698dbea9fd0fda05', class: `tds-side-menu-list tds-side-menu-list-end` }, h("li", { key: '576cf3e91cac7c1a21e6b35105475f1f443c2f45' }, h("slot", { key: '71f9c2d1c061401ef26daf68c7801b5665a25d03', name: "end" })))), h("slot", { key: '41805c2bb7c66f74f47edd2393a9a3452132c769', name: "sticky-end" }))))));
|
|
154
151
|
}
|
|
155
152
|
get host() { return getElement(this); }
|
|
156
153
|
static get watchers() { return {
|
|
@@ -24,8 +24,8 @@ const TdsSlider = class {
|
|
|
24
24
|
this.supposedValueSlot = -1;
|
|
25
25
|
this.resizeObserverAdded = false;
|
|
26
26
|
this.resetEventListenerAdded = false;
|
|
27
|
-
this.formElement = null;
|
|
28
27
|
this.ariaLiveElement = null;
|
|
28
|
+
this.announcementDebounceTimeout = null;
|
|
29
29
|
this.resetToInitialValue = () => {
|
|
30
30
|
this.forceValueUpdate(this.initialValue);
|
|
31
31
|
this.reset();
|
|
@@ -88,22 +88,21 @@ const TdsSlider = class {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
handleRelease(event) {
|
|
91
|
-
var _a, _b, _c;
|
|
92
91
|
if (!this.thumbGrabbed) {
|
|
93
92
|
const clickedOnTrack = event.target === this.trackElement || event.target === this.trackFillElement;
|
|
94
93
|
if (clickedOnTrack) {
|
|
95
94
|
this.thumbCore(event);
|
|
96
|
-
|
|
95
|
+
this.trackElement.focus();
|
|
97
96
|
}
|
|
98
97
|
return;
|
|
99
98
|
}
|
|
100
99
|
this.thumbGrabbed = false;
|
|
101
|
-
|
|
100
|
+
this.thumbInnerElement.classList.remove('pressed');
|
|
102
101
|
if (this.thumbElement) {
|
|
103
102
|
this.thumbElement.setAttribute('aria-grabbed', 'false');
|
|
104
103
|
}
|
|
105
104
|
this.updateValue(event);
|
|
106
|
-
|
|
105
|
+
this.trackElement.focus();
|
|
107
106
|
}
|
|
108
107
|
handleMove(event) {
|
|
109
108
|
if (!this.thumbGrabbed) {
|
|
@@ -147,11 +146,8 @@ const TdsSlider = class {
|
|
|
147
146
|
return snappedLocalLeft;
|
|
148
147
|
}
|
|
149
148
|
thumbCore(event) {
|
|
150
|
-
var _a;
|
|
151
149
|
const numTicks = parseInt(this.ticks);
|
|
152
|
-
const trackRect =
|
|
153
|
-
if (!trackRect)
|
|
154
|
-
return;
|
|
150
|
+
const trackRect = this.trackElement.getBoundingClientRect();
|
|
155
151
|
let localLeft = 0;
|
|
156
152
|
if (event.type === 'mousemove' || event.type === 'mouseup') {
|
|
157
153
|
localLeft = event.clientX - trackRect.left;
|
|
@@ -166,9 +162,7 @@ const TdsSlider = class {
|
|
|
166
162
|
localLeft = this.updateSupposedValueSlot(localLeft);
|
|
167
163
|
}
|
|
168
164
|
this.thumbLeft = this.constrainThumb(localLeft);
|
|
169
|
-
|
|
170
|
-
this.thumbElement.style.left = `${this.thumbLeft}px`;
|
|
171
|
-
}
|
|
165
|
+
this.thumbElement.style.left = `${this.thumbLeft}px`;
|
|
172
166
|
this.updateValue(event);
|
|
173
167
|
}
|
|
174
168
|
updateTrack() {
|
|
@@ -184,8 +178,6 @@ const TdsSlider = class {
|
|
|
184
178
|
// Debounce announcements to prevent too many rapid announcements
|
|
185
179
|
clearTimeout(this.announcementDebounceTimeout);
|
|
186
180
|
this.announcementDebounceTimeout = setTimeout(() => {
|
|
187
|
-
if (!this.ariaLiveElement)
|
|
188
|
-
return;
|
|
189
181
|
this.ariaLiveElement.textContent = `${this.label ? this.label + ' ' : ''}${this.value} of ${this.max}`;
|
|
190
182
|
}, 50);
|
|
191
183
|
}
|
|
@@ -309,12 +301,11 @@ const TdsSlider = class {
|
|
|
309
301
|
}
|
|
310
302
|
}
|
|
311
303
|
grabThumb() {
|
|
312
|
-
var _a;
|
|
313
304
|
if (this.readOnly) {
|
|
314
305
|
return;
|
|
315
306
|
}
|
|
316
307
|
this.thumbGrabbed = true;
|
|
317
|
-
|
|
308
|
+
this.thumbInnerElement.classList.add('pressed');
|
|
318
309
|
if (this.thumbElement) {
|
|
319
310
|
this.thumbElement.setAttribute('aria-grabbed', 'true');
|
|
320
311
|
}
|
|
@@ -407,8 +398,7 @@ const TdsSlider = class {
|
|
|
407
398
|
this.calculateThumbLeftFromValue(this.value);
|
|
408
399
|
this.updateTrack();
|
|
409
400
|
});
|
|
410
|
-
|
|
411
|
-
resizeObserver.observe(this.wrapperElement);
|
|
401
|
+
resizeObserver.observe(this.wrapperElement);
|
|
412
402
|
}
|
|
413
403
|
this.calculateThumbLeftFromValue(this.value);
|
|
414
404
|
this.updateTrack();
|
|
@@ -445,30 +435,30 @@ const TdsSlider = class {
|
|
|
445
435
|
}
|
|
446
436
|
render() {
|
|
447
437
|
const ariaLabel = this.readOnly ? this.tdsReadOnlyAriaLabel : this.label || this.tdsAriaLabel;
|
|
448
|
-
return (h("div", { key: '
|
|
438
|
+
return (h("div", { key: '3a496ff494a47cb2e7f777145731b2b0a99619e5', class: {
|
|
449
439
|
'tds-slider-wrapper': true,
|
|
450
440
|
'read-only': this.readOnly,
|
|
451
|
-
} }, h("input", { key: '
|
|
441
|
+
} }, h("input", { key: 'b1afaaf8c2c20278e5897d3973bc2267bd277f85', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled }), h("div", { key: '38d7dc7f03e4ce5398f47382ac44b159d03cc9a9', class: "sr-only", "aria-live": "assertive", ref: (el) => {
|
|
452
442
|
this.ariaLiveElement = el;
|
|
453
|
-
} }), h("div", { key: '
|
|
443
|
+
} }), h("div", { key: '564131065550bb6ef78b813791696af866275b60', class: {
|
|
454
444
|
'tds-slider': true,
|
|
455
445
|
'disabled': this.disabled,
|
|
456
446
|
'tds-slider-small': this.useSmall,
|
|
457
447
|
}, ref: (el) => {
|
|
458
448
|
this.wrapperElement = el;
|
|
459
|
-
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: '
|
|
449
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: 'cc0dd61feaeb64fa866ceee68f03e59844572327', id: `${this.sliderId}-label`, class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'd95cfd517b1d810ba60f47d8f79f27fbcb11cb84', class: "tds-slider__input-values" }, h("div", { key: '253ecd4768fe8ac57e8fb342ed1e363abc9da5cb', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '84a35f8c63bf5b723d4244ec8f7ea1dd7cbffc20', class: "tds-slider__controls" }, h("div", { key: '754a34b2b234d7e2354c00f34b86db02d4f114a0', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event), role: "button", "aria-label": "Decrease value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: '70e6604021a651eadcbaf7767b03f2e62034abe5', name: "minus", size: "16px" })))), h("div", { key: '53550f817e1a032e0e91200752e7d1eeb23ded34', class: "tds-slider-inner", tabIndex: -1 }, this.tickValues.length > 0 && (h("div", { key: 'f59130b6cdb011c01eb81d5e18cf7e952b96c68e', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '66f66ceae09f21462e3f28c49844b10e0182ec49', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '00f9d38e9aba338091af66ced5f559378354cffd', class: "tds-slider__track", ref: (el) => {
|
|
460
450
|
this.trackElement = el;
|
|
461
451
|
}, tabindex: this.disabled ? '-1' : '0', role: "presentation", onFocus: () => {
|
|
462
452
|
if (this.thumbElement) {
|
|
463
453
|
this.thumbElement.focus();
|
|
464
454
|
}
|
|
465
|
-
} }, h("div", { key: '
|
|
455
|
+
} }, h("div", { key: '20ea7060588fc4e81be9e2e3d6e5a7c585b6b867', class: "tds-slider__track-fill", ref: (el) => {
|
|
466
456
|
this.trackFillElement = el;
|
|
467
|
-
} }), h("div", { key: '
|
|
457
|
+
} }), h("div", { key: 'd6c6155ee44d443dc58ed1c463e927e8de6808b6', class: "tds-slider__thumb", ref: (el) => {
|
|
468
458
|
this.thumbElement = el;
|
|
469
|
-
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (h("div", { key: '
|
|
459
|
+
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (h("div", { key: '8ddf95ae707a6bf086f6c414fca62098f7974caf', class: "tds-slider__value" }, this.value, h("svg", { key: '9193dc47663210d904271d10a1e3ffbaad3073bf', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '6d5c154ec0dd136ee3898e8350fd65c30794571b', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '183f49eda3134b87e5b65334265d44fe404a9e1d', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
470
460
|
this.thumbInnerElement = el;
|
|
471
|
-
} })))), this.useInput && (h("div", { key: '
|
|
461
|
+
} })))), this.useInput && (h("div", { key: '00e135462f95a4ee21070c25e0b507e4931257ed', class: "tds-slider__input-values" }, h("div", { key: 'ad8029ecff8f448380f291629ee803ee5634bf6e', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: 'cb7460d3946debbc138b2ae88b61ff9a288ca2ae', class: "tds-slider__input-field-wrapper" }, h("tds-text-field", { key: '226a0bbdee3910431c4d72065e2ca9d09abf2fa1', noMinWidth: true, size: "sm", type: "number", value: this.value, min: this.min, max: this.max, readOnly: this.readOnly, disabled: this.disabled, onTdsChange: (e) => console.log(e), tdsAriaLabel: this.readOnly ? this.tdsReadOnlyAriaLabel : undefined, onTdsBlur: (event) => this.updateSliderValueFromTextField(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event) })))), this.useControls && (h("div", { key: '2b85ddaf9e31f702773212326f55e8eb4737e3da', class: "tds-slider__controls" }, h("div", { key: '7376eac80ff3955ddc6c0b27eb99b463bc0d5985', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event), role: "button", "aria-label": "Increase value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: 'd66d1a1d49da54d1cafca2872b8462b126154684', name: "plus", size: "16px" })))))));
|
|
472
462
|
}
|
|
473
463
|
get host() { return getElement(this); }
|
|
474
464
|
static get watchers() { return {
|
|
@@ -23,8 +23,6 @@ const TdsStep = class {
|
|
|
23
23
|
/* Needs to be onload to do this on any updates. */
|
|
24
24
|
componentWillLoad() {
|
|
25
25
|
this.stepperEl = this.el.closest('tds-stepper');
|
|
26
|
-
if (!this.stepperEl)
|
|
27
|
-
return;
|
|
28
26
|
this.orientation = this.stepperEl.orientation;
|
|
29
27
|
this.labelPosition = this.stepperEl.labelPosition;
|
|
30
28
|
this.size = this.stepperEl.size;
|
|
@@ -44,7 +42,7 @@ const TdsStep = class {
|
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
45
|
+
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" }))))));
|
|
48
46
|
}
|
|
49
47
|
get el() { return getElement(this); }
|
|
50
48
|
};
|
|
@@ -86,7 +86,7 @@ const TdsTableBodyInputWrapper = class {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '1ebf0bf16490030ce20a99e1234e68d81430eaf8', class: {
|
|
90
90
|
'focused-input-wrapper': this.inputFocused,
|
|
91
91
|
'show-icon': this.showIcon,
|
|
92
92
|
'tds-table__compact': this.compactDesign,
|
|
@@ -71,30 +71,24 @@ const TdsTableBodyRowExpandable = class {
|
|
|
71
71
|
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded, tableId: this.tableId });
|
|
72
72
|
}
|
|
73
73
|
connectedCallback() {
|
|
74
|
-
var _a;
|
|
75
74
|
/* if user did set a prop we use that as default behaviour */
|
|
76
75
|
if (this.expanded !== undefined) {
|
|
77
76
|
this.isExpanded = this.expanded;
|
|
78
77
|
}
|
|
79
78
|
this.tableEl = this.host.closest('tds-table');
|
|
80
|
-
this.tableId =
|
|
79
|
+
this.tableId = this.tableEl.tableId;
|
|
81
80
|
}
|
|
82
81
|
componentWillLoad() {
|
|
83
82
|
relevantTableProps.forEach((tablePropName) => {
|
|
84
|
-
|
|
85
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
83
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
86
84
|
});
|
|
87
85
|
}
|
|
88
86
|
componentWillRender() {
|
|
89
|
-
var _a;
|
|
90
87
|
if (this.colSpan !== null) {
|
|
91
88
|
this.columnsNumber = this.colSpan;
|
|
92
89
|
}
|
|
93
90
|
else {
|
|
94
|
-
|
|
95
|
-
if (header) {
|
|
96
|
-
this.columnsNumber = header.childElementCount + 1;
|
|
97
|
-
}
|
|
91
|
+
this.columnsNumber = this.tableEl.querySelector('tds-table-header').childElementCount + 1;
|
|
98
92
|
}
|
|
99
93
|
}
|
|
100
94
|
sendValue() {
|
|
@@ -106,27 +100,26 @@ const TdsTableBodyRowExpandable = class {
|
|
|
106
100
|
this.sendValue();
|
|
107
101
|
}
|
|
108
102
|
render() {
|
|
109
|
-
|
|
110
|
-
return (h(Host, { key: 'd818a7b62472e7e6811b2aa6c22332e18d567d6d', class: {
|
|
103
|
+
return (h(Host, { key: '3d289d00082c284257728cec4f0ddcfc63dda863', class: {
|
|
111
104
|
'tds-table__row': true,
|
|
112
105
|
'tds-table__row-expand--active': this.isExpanded,
|
|
113
106
|
'tds-table__compact': this.compactDesign,
|
|
114
107
|
'tds-table--divider': this.verticalDividers,
|
|
115
|
-
} }, h("tr", { key: '
|
|
108
|
+
} }, h("tr", { key: '246ee336a3ab871346e1fcf81f02109121dc9657', id: `expandable-content-${this.rowId}`, class: {
|
|
116
109
|
'tds-table__row': true,
|
|
117
110
|
'tds-table__row--expanded': this.isExpanded,
|
|
118
|
-
}, part: "row" }, h("td", { key: '
|
|
111
|
+
}, part: "row" }, h("td", { key: 'b727b78965a4bdf0b6cf8ff7e8460d3dfae8327e', class: {
|
|
119
112
|
'tds-table__cell-expand': true,
|
|
120
|
-
} }, h("label", { key: '
|
|
113
|
+
} }, h("label", { key: 'c878be3429a3145b62b242f2e3d9c90ec0a74257', class: "tds-table__expand-control-container" }, h("input", { key: '6b99ef165e359012f83f7e298d9f83319493fc52', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: 'ec9e1aefc553362c0c3e15cb99118a9c2dfffd04', class: "tds-expendable-row-icon" }, h("svg", { key: '84b3270e5f1bfc7671adcea34d862fe0485f40a8', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'fc04209a4a2d35c19c7c74875c0ab302077abbf2', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '0c16341da217fbe920241a97b179335cb61e2364' })), h("tr", { key: 'a83ca5c30ec4945dfee096a408db4d1d240d3643', class: {
|
|
121
114
|
'tds-table__row-expand': true,
|
|
122
115
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
123
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
116
|
+
}, part: "expand-row" }, h("td", { key: '2fcafe17b33ce39b5e1a3b149434006a70f6b8f3', class: {
|
|
124
117
|
'tds-table__cell-expand': true,
|
|
125
118
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
126
119
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
127
|
-
}, part: "expand-row-cell", colSpan:
|
|
120
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'b696b23d127e32a8017692b03de1ce8ee9497dcb', style: {
|
|
128
121
|
overflow: this.overflow,
|
|
129
|
-
} }, h("slot", { key: '
|
|
122
|
+
} }, h("slot", { key: 'e64e00778fd7c85618ae4cbc19d232e2acb873b5', name: "expand-row" }))))));
|
|
130
123
|
}
|
|
131
124
|
get host() { return getElement(this); }
|
|
132
125
|
static get watchers() { return {
|
|
@@ -24,19 +24,17 @@ const TdsTableBodyRow = class {
|
|
|
24
24
|
this.tableId = '';
|
|
25
25
|
}
|
|
26
26
|
async handleCheckboxChange(event) {
|
|
27
|
-
var _a;
|
|
28
27
|
this.selected = event.detail.checked;
|
|
29
28
|
this.tdsSelect.emit({
|
|
30
29
|
tableId: this.tableId,
|
|
31
30
|
checked: this.selected,
|
|
32
|
-
selectedRows: await
|
|
31
|
+
selectedRows: await this.tableEl.getSelectedRows(),
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
34
|
handleRowClick(e) {
|
|
36
|
-
var _a, _b, _c;
|
|
37
35
|
if (!this.clickable)
|
|
38
36
|
return;
|
|
39
|
-
|
|
37
|
+
let rowIndex = Array.from(this.host.parentElement.children).indexOf(this.host);
|
|
40
38
|
this.tdsClick.emit({
|
|
41
39
|
event: e,
|
|
42
40
|
tableId: this.tableId,
|
|
@@ -69,19 +67,18 @@ const TdsTableBodyRow = class {
|
|
|
69
67
|
componentWillLoad() {
|
|
70
68
|
if (this.tableEl) {
|
|
71
69
|
relevantTableProps.forEach((tablePropName) => {
|
|
72
|
-
|
|
73
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
70
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
74
71
|
});
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '6bf3fee7c066bc4686c9aa0ecba45c04ca7b2aae', tabindex: this.clickable ? '0' : null, class: {
|
|
79
76
|
'tds-table__row': true,
|
|
80
77
|
'tds-table__row--selected': this.selected,
|
|
81
78
|
'tds-table__compact': this.compactDesign,
|
|
82
79
|
'tds-table--divider': this.verticalDividers,
|
|
83
80
|
'tds-table__row--clickable': this.clickable,
|
|
84
|
-
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '
|
|
81
|
+
}, 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
82
|
}
|
|
86
83
|
get host() { return getElement(this); }
|
|
87
84
|
};
|
|
@@ -43,20 +43,16 @@ const TdsTableBody = class {
|
|
|
43
43
|
this.bodyCheckBoxClicked();
|
|
44
44
|
}
|
|
45
45
|
connectedCallback() {
|
|
46
|
-
var _a;
|
|
47
46
|
this.tableEl = this.host.closest('tds-table');
|
|
48
|
-
this.tableId =
|
|
47
|
+
this.tableId = this.tableEl.tableId;
|
|
49
48
|
}
|
|
50
49
|
componentWillLoad() {
|
|
51
50
|
relevantTableProps.forEach((tablePropName) => {
|
|
52
|
-
|
|
53
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
51
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
54
52
|
});
|
|
55
53
|
}
|
|
56
54
|
componentWillRender() {
|
|
57
|
-
|
|
58
|
-
const headrColumn = (_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('tds-table-header');
|
|
59
|
-
const headerColumnsNo = (_b = headrColumn === null || headrColumn === void 0 ? void 0 : headrColumn.children.length) !== null && _b !== void 0 ? _b : 0;
|
|
55
|
+
const headerColumnsNo = this.host.parentElement.querySelector('tds-table-header').children.length;
|
|
60
56
|
// multiselect and expended features requires one extra column for controls...
|
|
61
57
|
if (this.multiselect || this.expandableRows) {
|
|
62
58
|
this.columnsNumber = headerColumnsNo + 1;
|
|
@@ -66,12 +62,12 @@ const TdsTableBody = class {
|
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
64
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'f9472ae9b1dcad43aab101811dfe858dea4851e9', "data-selected-rows": this.multiselectArrayJSON, class: {
|
|
70
66
|
'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
|
|
71
67
|
'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
|
|
72
68
|
'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
|
|
73
69
|
'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
|
|
74
|
-
} }, h("slot", { key: '
|
|
70
|
+
} }, h("slot", { key: '61a0ec649d2f7f51ca386c46335a6ae018c993d0' })));
|
|
75
71
|
}
|
|
76
72
|
get host() { return getElement(this); }
|
|
77
73
|
};
|
|
@@ -41,7 +41,7 @@ const TdsTableFooter = class {
|
|
|
41
41
|
this.nextPage = () => {
|
|
42
42
|
/** If pages and greater or equal to the number of pages, increase pagination value.
|
|
43
43
|
* This is to not get above the number of pages in pagination value. */
|
|
44
|
-
if (this.
|
|
44
|
+
if (this.paginationValue <= this.pages) {
|
|
45
45
|
this.paginationValue++;
|
|
46
46
|
}
|
|
47
47
|
this.emitTdsPagination();
|
|
@@ -61,7 +61,7 @@ const TdsTableFooter = class {
|
|
|
61
61
|
this.paginationValue = 1;
|
|
62
62
|
this.rowsperpage = true;
|
|
63
63
|
this.rowsPerPageValues = [10, 25, 50];
|
|
64
|
-
this.pages =
|
|
64
|
+
this.pages = null;
|
|
65
65
|
this.cols = null;
|
|
66
66
|
this.columnsNumber = 0;
|
|
67
67
|
this.compactDesign = false;
|
|
@@ -83,19 +83,16 @@ const TdsTableFooter = class {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
connectedCallback() {
|
|
86
|
-
var _a;
|
|
87
86
|
this.tableEl = this.host.closest('tds-table');
|
|
88
|
-
this.tableId =
|
|
87
|
+
this.tableId = this.tableEl.tableId;
|
|
89
88
|
}
|
|
90
89
|
componentWillLoad() {
|
|
91
|
-
var _a, _b, _c;
|
|
92
90
|
relevantTableProps.forEach((tablePropName) => {
|
|
93
|
-
|
|
94
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
91
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
95
92
|
});
|
|
96
93
|
this.storeLastCorrectValue(this.paginationValue);
|
|
97
94
|
/** Get the number of columns. */
|
|
98
|
-
const numberOfColumns =
|
|
95
|
+
const numberOfColumns = this.host.parentElement.querySelector('tds-table-header').childElementCount;
|
|
99
96
|
if (this.cols) {
|
|
100
97
|
this.columnsNumber = this.cols;
|
|
101
98
|
}
|
|
@@ -136,16 +133,12 @@ const TdsTableFooter = class {
|
|
|
136
133
|
}
|
|
137
134
|
render() {
|
|
138
135
|
var _a;
|
|
139
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: 'd064beda251b663ad3afccebc98fb4718e3f1d09', class: {
|
|
140
137
|
'tds-table--compact': this.compactDesign,
|
|
141
138
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
142
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
139
|
+
}, style: this.getStyles() }, h("tr", { key: '02d6c97e498e44ad70c86fd08cc665a8b89e2a07', class: "tds-table__footer-row" }, h("td", { key: 'e9d64ea0f3be240867d886973a40c557fe9899da', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '4a8f3f921a4e103a1a14e368a4702cd8f6ceb18b', class: "tds-table__pagination" }, h("div", { key: 'c536fb9916071677bf20f033ebb184d469aa0774', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '5a935d6c92a574e1ea0a081e955916526ec9da45', class: "rows-per-page" }, h("p", { key: 'ae9f908bc6803a814236a56e5801857a1989df54' }, "Rows per page"), h("tds-dropdown", { key: '1bcac2201accc7d613250c8f38b77ddc04bfb463', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
143
140
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
144
|
-
}))))), h("div", { key: '
|
|
145
|
-
if (element) {
|
|
146
|
-
this.inputElement = element;
|
|
147
|
-
}
|
|
148
|
-
}, 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: '86f6a581d1f5fe50ea2106821ff4afa6dd479387', class: "tds-table__footer-text" }, "of ", h("span", { key: '91872a9e6eb05e4e1f540d2a6d203cc2e3fd7a27' }, this.pages), " pages"), h("button", { key: '03a354dde544ac8f6e622f6543b69278896963d3', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '6d80869e6cf2eba108b141113dc3ba3fe31e0a6a', name: "skip_backwards", size: "20px" })), h("button", { key: '0a95763fc3da9a93ca109dcf668ce8c5c5bd0e89', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '43e2b68e24844eb964b63a3fb291921edbcd079a', name: "chevron_left", size: "20px" })), h("button", { key: 'c61b81dc60bd58383055c5d98b311bc74b593518', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'cdffb08f3cf5a72c98c6a526477add3feb4c5837', name: "chevron_right", size: "20px" })), h("button", { key: 'f6dc3bc7fc879bd205abce12dd235dbeaa767c5f', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '2c302a54f07077eb3dd3b9665aee6276caceab62', name: "skip_forward", size: "20px" })))))))));
|
|
141
|
+
}))))), 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" })))))))));
|
|
149
142
|
}
|
|
150
143
|
get host() { return getElement(this); }
|
|
151
144
|
};
|
|
@@ -68,7 +68,7 @@ const TdsTableHeaderInputWrapper = class {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '62070c88b54c313b2db10890023db32f0eaf66b5', class: {
|
|
72
72
|
'focused-input-wrapper': this.inputFocused,
|
|
73
73
|
'show-icon': this.showIcon,
|
|
74
74
|
'tds-table__compact': this.compactDesign,
|
|
@@ -50,52 +50,46 @@ const TdsTableHeaderRow = class {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
bodyExpandClicked() {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
53
|
+
const numberOfExtendRowsActive = this.host.parentElement
|
|
54
|
+
.querySelector('tds-table-body')
|
|
55
|
+
.getElementsByClassName('tds-table__row-extend--active').length;
|
|
56
|
+
const numberOfExtendRows = this.host.parentElement
|
|
57
|
+
.querySelector('tds-table-body')
|
|
58
|
+
.getElementsByTagName('tds-table-body-row-expendable').length;
|
|
59
|
+
if (numberOfExtendRows === numberOfExtendRowsActive) {
|
|
60
|
+
this.mainExpendSelected = true;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
this.mainExpendSelected = false;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
connectedCallback() {
|
|
67
|
-
var _a;
|
|
68
67
|
this.tableEl = this.host.closest('tds-table');
|
|
69
|
-
this.tableId =
|
|
68
|
+
this.tableId = this.tableEl.tableId;
|
|
70
69
|
}
|
|
71
70
|
componentWillLoad() {
|
|
72
71
|
relevantTableProps.forEach((tablePropName) => {
|
|
73
|
-
|
|
74
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
72
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
75
73
|
});
|
|
76
74
|
}
|
|
77
75
|
componentWillRender() {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
this.enableToolbarDesign =
|
|
81
|
-
(closestTable === null || closestTable === void 0 ? void 0 : closestTable.getElementsByTagName('tds-table-toolbar').length) >= 1;
|
|
82
|
-
}
|
|
76
|
+
this.enableToolbarDesign =
|
|
77
|
+
this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
|
|
83
78
|
}
|
|
84
79
|
async handleCheckboxChange(event) {
|
|
85
|
-
var _a;
|
|
86
80
|
this.allSelected = event.detail.checked;
|
|
87
81
|
this.tdsSelectAll.emit({
|
|
88
82
|
tableId: this.tableId,
|
|
89
83
|
checked: event.detail.checked,
|
|
90
|
-
selectedRows: await
|
|
84
|
+
selectedRows: await this.tableEl.getSelectedRows(),
|
|
91
85
|
});
|
|
92
86
|
}
|
|
93
87
|
render() {
|
|
94
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: '6c1cc431846a627cab836e62a551f9f5d6558a9d', class: {
|
|
95
89
|
'tds-table--compact': this.compactDesign,
|
|
96
90
|
'tds-table--divider': this.verticalDividers,
|
|
97
91
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
98
|
-
} }, h("tr", { key: '
|
|
92
|
+
} }, 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' }))));
|
|
99
93
|
}
|
|
100
94
|
get host() { return getElement(this); }
|
|
101
95
|
};
|
|
@@ -36,17 +36,15 @@ const TdsTableToolbar = class {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
connectedCallback() {
|
|
39
|
-
var _a;
|
|
40
39
|
this.tableEl = this.host.closest('tds-table');
|
|
41
|
-
this.tableId =
|
|
40
|
+
this.tableId = this.tableEl.tableId;
|
|
42
41
|
if (!this.tdsSearchAriaLabel) {
|
|
43
42
|
console.warn('tds-table-toolbar: tdsSearchAriaLabel is highly recommended for accessibility');
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
componentWillLoad() {
|
|
47
46
|
relevantTableProps.forEach((tablePropName) => {
|
|
48
|
-
|
|
49
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
47
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
50
48
|
});
|
|
51
49
|
}
|
|
52
50
|
handleSearch(event) {
|
|
@@ -72,10 +70,10 @@ const TdsTableToolbar = class {
|
|
|
72
70
|
return styles;
|
|
73
71
|
}
|
|
74
72
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'e7ce21fcad3bfbc9f93088f777855baa9c6e3869', class: {
|
|
76
74
|
'tds-table--compact': this.compactDesign,
|
|
77
75
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
78
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
76
|
+
}, 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" })))));
|
|
79
77
|
}
|
|
80
78
|
get host() { return getElement(this); }
|
|
81
79
|
};
|