@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
|
@@ -26,7 +26,7 @@ export namespace Components {
|
|
|
26
26
|
/**
|
|
27
27
|
* Set the variant of the Accordion.
|
|
28
28
|
*/
|
|
29
|
-
"modeVariant": 'primary' | 'secondary'
|
|
29
|
+
"modeVariant": 'primary' | 'secondary';
|
|
30
30
|
}
|
|
31
31
|
interface TdsAccordionItem {
|
|
32
32
|
/**
|
|
@@ -146,13 +146,13 @@ export namespace Components {
|
|
|
146
146
|
/**
|
|
147
147
|
* Mode variant of the component, based on current mode.
|
|
148
148
|
*/
|
|
149
|
-
"modeVariant": 'primary' | 'secondary'
|
|
149
|
+
"modeVariant": 'primary' | 'secondary';
|
|
150
150
|
}
|
|
151
151
|
interface TdsBodyCell {
|
|
152
152
|
/**
|
|
153
153
|
* Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
|
|
154
154
|
*/
|
|
155
|
-
"cellKey":
|
|
155
|
+
"cellKey": any;
|
|
156
156
|
/**
|
|
157
157
|
* Value that will be presented as text inside a cell
|
|
158
158
|
*/
|
|
@@ -194,7 +194,7 @@ export namespace Components {
|
|
|
194
194
|
/**
|
|
195
195
|
* Set the mode variant of the Button.
|
|
196
196
|
*/
|
|
197
|
-
"modeVariant": 'primary' | 'secondary'
|
|
197
|
+
"modeVariant": 'primary' | 'secondary';
|
|
198
198
|
/**
|
|
199
199
|
* The name attribute allows for different ways of accessing the button element
|
|
200
200
|
*/
|
|
@@ -264,7 +264,7 @@ export namespace Components {
|
|
|
264
264
|
/**
|
|
265
265
|
* Variant of the Card based on the theme used.
|
|
266
266
|
*/
|
|
267
|
-
"modeVariant": 'primary' | 'secondary'
|
|
267
|
+
"modeVariant": 'primary' | 'secondary';
|
|
268
268
|
"stretch": boolean;
|
|
269
269
|
/**
|
|
270
270
|
* Subheader text in the header
|
|
@@ -393,7 +393,7 @@ export namespace Components {
|
|
|
393
393
|
/**
|
|
394
394
|
* Set the variant of the Datetime component.
|
|
395
395
|
*/
|
|
396
|
-
"modeVariant": 'primary' | 'secondary'
|
|
396
|
+
"modeVariant": 'primary' | 'secondary';
|
|
397
397
|
/**
|
|
398
398
|
* Name property. Uses a unique ID as fallback if not specified.
|
|
399
399
|
*/
|
|
@@ -483,7 +483,7 @@ export namespace Components {
|
|
|
483
483
|
/**
|
|
484
484
|
* Mode variant of the component, based on current mode.
|
|
485
485
|
*/
|
|
486
|
-
"modeVariant": 'primary' | 'secondary'
|
|
486
|
+
"modeVariant": 'primary' | 'secondary';
|
|
487
487
|
/**
|
|
488
488
|
* Enables multiselect in the Dropdown.
|
|
489
489
|
*/
|
|
@@ -513,7 +513,7 @@ export namespace Components {
|
|
|
513
513
|
/**
|
|
514
514
|
* Method for setting the selected value of the Dropdown. Single selection example: <code> dropdown.setValue('option-1', 'Option 1'); </code> Multiselect example: <code> dropdown.setValue(['option-1', 'option-2']); </code>
|
|
515
515
|
*/
|
|
516
|
-
"setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string
|
|
516
|
+
"setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string; }[]>;
|
|
517
517
|
/**
|
|
518
518
|
* The size of the Dropdown.
|
|
519
519
|
*/
|
|
@@ -529,7 +529,7 @@ export namespace Components {
|
|
|
529
529
|
/**
|
|
530
530
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
531
531
|
*/
|
|
532
|
-
"value": string | number | (string | number)[]
|
|
532
|
+
"value": string | number | (string | number)[];
|
|
533
533
|
}
|
|
534
534
|
interface TdsDropdownOption {
|
|
535
535
|
/**
|
|
@@ -565,7 +565,7 @@ export namespace Components {
|
|
|
565
565
|
/**
|
|
566
566
|
* Variant of the Tabs, primary= on white, secondary= on grey50
|
|
567
567
|
*/
|
|
568
|
-
"modeVariant": 'primary' | 'secondary'
|
|
568
|
+
"modeVariant": 'primary' | 'secondary';
|
|
569
569
|
/**
|
|
570
570
|
* Reinitializes the component.
|
|
571
571
|
*/
|
|
@@ -591,7 +591,7 @@ export namespace Components {
|
|
|
591
591
|
/**
|
|
592
592
|
* Mode variant of the component, based on current mode.
|
|
593
593
|
*/
|
|
594
|
-
"modeVariant": 'primary' | 'secondary'
|
|
594
|
+
"modeVariant": 'primary' | 'secondary';
|
|
595
595
|
}
|
|
596
596
|
interface TdsFooterGroup {
|
|
597
597
|
/**
|
|
@@ -826,7 +826,7 @@ export namespace Components {
|
|
|
826
826
|
/**
|
|
827
827
|
* Variant of the component, based on current mode.
|
|
828
828
|
*/
|
|
829
|
-
"modeVariant": 'primary' | 'secondary'
|
|
829
|
+
"modeVariant": 'primary' | 'secondary';
|
|
830
830
|
/**
|
|
831
831
|
* Removes the icon in the Message.
|
|
832
832
|
*/
|
|
@@ -959,7 +959,7 @@ export namespace Components {
|
|
|
959
959
|
/**
|
|
960
960
|
* Mode variant of the component, based on current mode.
|
|
961
961
|
*/
|
|
962
|
-
"modeVariant": 'primary' | 'secondary'
|
|
962
|
+
"modeVariant": 'primary' | 'secondary';
|
|
963
963
|
/**
|
|
964
964
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
965
965
|
*/
|
|
@@ -987,7 +987,7 @@ export namespace Components {
|
|
|
987
987
|
/**
|
|
988
988
|
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
989
989
|
*/
|
|
990
|
-
"show": boolean
|
|
990
|
+
"show": boolean;
|
|
991
991
|
/**
|
|
992
992
|
* Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
993
993
|
*/
|
|
@@ -1013,7 +1013,7 @@ export namespace Components {
|
|
|
1013
1013
|
/**
|
|
1014
1014
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
1015
1015
|
*/
|
|
1016
|
-
"modifiers":
|
|
1016
|
+
"modifiers": Object[];
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Sets the offset distance
|
|
1019
1019
|
*/
|
|
@@ -1037,7 +1037,7 @@ export namespace Components {
|
|
|
1037
1037
|
/**
|
|
1038
1038
|
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
1039
1039
|
*/
|
|
1040
|
-
"show": boolean
|
|
1040
|
+
"show": boolean;
|
|
1041
1041
|
/**
|
|
1042
1042
|
* What triggers the popover to show
|
|
1043
1043
|
*/
|
|
@@ -1063,7 +1063,7 @@ export namespace Components {
|
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Mode variant of the component, based on current mode.
|
|
1065
1065
|
*/
|
|
1066
|
-
"modeVariant": 'primary' | 'secondary'
|
|
1066
|
+
"modeVariant": 'primary' | 'secondary';
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Sets the offset distance
|
|
1069
1069
|
*/
|
|
@@ -1087,7 +1087,7 @@ export namespace Components {
|
|
|
1087
1087
|
/**
|
|
1088
1088
|
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
1089
1089
|
*/
|
|
1090
|
-
"show": boolean
|
|
1090
|
+
"show": boolean;
|
|
1091
1091
|
}
|
|
1092
1092
|
interface TdsPopoverMenuItem {
|
|
1093
1093
|
/**
|
|
@@ -1364,15 +1364,15 @@ export namespace Components {
|
|
|
1364
1364
|
/**
|
|
1365
1365
|
* Returns all selected rows data.
|
|
1366
1366
|
*/
|
|
1367
|
-
"getSelectedRows": () => Promise<
|
|
1367
|
+
"getSelectedRows": () => Promise<any[]>;
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
|
|
1370
1370
|
*/
|
|
1371
|
-
"horizontalScrollWidth"?: string
|
|
1371
|
+
"horizontalScrollWidth"?: string;
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Variant of the component, based on current mode.
|
|
1374
1374
|
*/
|
|
1375
|
-
"modeVariant": 'primary' | 'secondary'
|
|
1375
|
+
"modeVariant": 'primary' | 'secondary';
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Enables multiselect feature of Table
|
|
1378
1378
|
*/
|
|
@@ -1432,7 +1432,7 @@ export namespace Components {
|
|
|
1432
1432
|
/**
|
|
1433
1433
|
* In case that automatic count of columns does not work, user can manually set this one. Take in mind that expandable control is column too
|
|
1434
1434
|
*/
|
|
1435
|
-
"colSpan": number
|
|
1435
|
+
"colSpan": number;
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Method to collapse table row
|
|
1438
1438
|
*/
|
|
@@ -1462,7 +1462,7 @@ export namespace Components {
|
|
|
1462
1462
|
/**
|
|
1463
1463
|
* <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
|
|
1464
1464
|
*/
|
|
1465
|
-
"cols": number
|
|
1465
|
+
"cols": number;
|
|
1466
1466
|
/**
|
|
1467
1467
|
* Sets the number of pages.
|
|
1468
1468
|
*/
|
|
@@ -1585,7 +1585,7 @@ export namespace Components {
|
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Mode variant of the Text Field
|
|
1587
1587
|
*/
|
|
1588
|
-
"modeVariant": 'primary' | 'secondary'
|
|
1588
|
+
"modeVariant": 'primary' | 'secondary';
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Name property
|
|
1591
1591
|
*/
|
|
@@ -1667,7 +1667,7 @@ export namespace Components {
|
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Mode variant of the Textarea
|
|
1669
1669
|
*/
|
|
1670
|
-
"modeVariant": 'primary' | 'secondary'
|
|
1670
|
+
"modeVariant": 'primary' | 'secondary';
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Name attribute
|
|
1673
1673
|
*/
|
|
@@ -1821,7 +1821,7 @@ export namespace Components {
|
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
1823
1823
|
*/
|
|
1824
|
-
"show": boolean
|
|
1824
|
+
"show": boolean;
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Sets the aria-describedby attribute
|
|
1827
1827
|
*/
|
|
@@ -2145,11 +2145,12 @@ declare global {
|
|
|
2145
2145
|
interface HTMLTdsDropdownElementEventMap {
|
|
2146
2146
|
"tdsChange": {
|
|
2147
2147
|
name: string;
|
|
2148
|
-
value: string
|
|
2148
|
+
value: string;
|
|
2149
2149
|
};
|
|
2150
2150
|
"tdsFocus": FocusEvent;
|
|
2151
2151
|
"tdsBlur": FocusEvent;
|
|
2152
2152
|
"tdsInput": InputEvent;
|
|
2153
|
+
"tdsClear": { clearedValue: string };
|
|
2153
2154
|
}
|
|
2154
2155
|
interface HTMLTdsDropdownElement extends Components.TdsDropdown, HTMLStencilElement {
|
|
2155
2156
|
addEventListener<K extends keyof HTMLTdsDropdownElementEventMap>(type: K, listener: (this: HTMLTdsDropdownElement, ev: TdsDropdownCustomEvent<HTMLTdsDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2244,17 +2245,17 @@ declare global {
|
|
|
2244
2245
|
};
|
|
2245
2246
|
interface HTMLTdsHeaderCellElementEventMap {
|
|
2246
2247
|
"tdsSort": {
|
|
2247
|
-
tableId: string
|
|
2248
|
-
columnKey: string
|
|
2248
|
+
tableId: string;
|
|
2249
|
+
columnKey: string;
|
|
2249
2250
|
sortingDirection: 'asc' | 'desc';
|
|
2250
2251
|
};
|
|
2251
2252
|
"internalSortButtonClicked": {
|
|
2252
|
-
tableId: string
|
|
2253
|
-
key: string
|
|
2253
|
+
tableId: string;
|
|
2254
|
+
key: string;
|
|
2254
2255
|
};
|
|
2255
|
-
"internalTdsTextAlign":
|
|
2256
|
+
"internalTdsTextAlign": any;
|
|
2256
2257
|
"internalTdsHover": {
|
|
2257
|
-
tableId: string
|
|
2258
|
+
tableId: string;
|
|
2258
2259
|
key: string;
|
|
2259
2260
|
};
|
|
2260
2261
|
}
|
|
@@ -2406,7 +2407,7 @@ declare global {
|
|
|
2406
2407
|
new (): HTMLTdsMessageElement;
|
|
2407
2408
|
};
|
|
2408
2409
|
interface HTMLTdsModalElementEventMap {
|
|
2409
|
-
"tdsClose":
|
|
2410
|
+
"tdsClose": any;
|
|
2410
2411
|
"tdsOpen": void;
|
|
2411
2412
|
}
|
|
2412
2413
|
interface HTMLTdsModalElement extends Components.TdsModal, HTMLStencilElement {
|
|
@@ -2455,8 +2456,8 @@ declare global {
|
|
|
2455
2456
|
new (): HTMLTdsPopoverCanvasElement;
|
|
2456
2457
|
};
|
|
2457
2458
|
interface HTMLTdsPopoverCoreElementEventMap {
|
|
2458
|
-
"internalTdsShow":
|
|
2459
|
-
"internalTdsClose":
|
|
2459
|
+
"internalTdsShow": {};
|
|
2460
|
+
"internalTdsClose": {};
|
|
2460
2461
|
}
|
|
2461
2462
|
interface HTMLTdsPopoverCoreElement extends Components.TdsPopoverCore, HTMLStencilElement {
|
|
2462
2463
|
addEventListener<K extends keyof HTMLTdsPopoverCoreElementEventMap>(type: K, listener: (this: HTMLTdsPopoverCoreElement, ev: TdsPopoverCoreCustomEvent<HTMLTdsPopoverCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2677,13 +2678,13 @@ declare global {
|
|
|
2677
2678
|
};
|
|
2678
2679
|
interface HTMLTdsTableBodyRowElementEventMap {
|
|
2679
2680
|
"tdsSelect": {
|
|
2680
|
-
tableId: string
|
|
2681
|
+
tableId: string;
|
|
2681
2682
|
checked: boolean;
|
|
2682
|
-
selectedRows:
|
|
2683
|
+
selectedRows: any[];
|
|
2683
2684
|
};
|
|
2684
2685
|
"tdsClick": {
|
|
2685
2686
|
event: MouseEvent;
|
|
2686
|
-
tableId: string
|
|
2687
|
+
tableId: string;
|
|
2687
2688
|
rowIndex: number;
|
|
2688
2689
|
};
|
|
2689
2690
|
}
|
|
@@ -2702,11 +2703,11 @@ declare global {
|
|
|
2702
2703
|
new (): HTMLTdsTableBodyRowElement;
|
|
2703
2704
|
};
|
|
2704
2705
|
interface HTMLTdsTableBodyRowExpandableElementEventMap {
|
|
2705
|
-
"internalTdsRowExpanded":
|
|
2706
|
+
"internalTdsRowExpanded": any;
|
|
2706
2707
|
"tdsChange": {
|
|
2707
2708
|
rowId: string;
|
|
2708
2709
|
isExpanded: boolean;
|
|
2709
|
-
tableId: string
|
|
2710
|
+
tableId: string;
|
|
2710
2711
|
};
|
|
2711
2712
|
}
|
|
2712
2713
|
interface HTMLTdsTableBodyRowExpandableElement extends Components.TdsTableBodyRowExpandable, HTMLStencilElement {
|
|
@@ -2725,7 +2726,7 @@ declare global {
|
|
|
2725
2726
|
};
|
|
2726
2727
|
interface HTMLTdsTableFooterElementEventMap {
|
|
2727
2728
|
"tdsPagination": {
|
|
2728
|
-
tableId: string
|
|
2729
|
+
tableId: string;
|
|
2729
2730
|
paginationValue: number;
|
|
2730
2731
|
rowsPerPage?: number;
|
|
2731
2732
|
};
|
|
@@ -2746,9 +2747,9 @@ declare global {
|
|
|
2746
2747
|
};
|
|
2747
2748
|
interface HTMLTdsTableHeaderElementEventMap {
|
|
2748
2749
|
"tdsSelectAll": {
|
|
2749
|
-
tableId: string
|
|
2750
|
+
tableId: string;
|
|
2750
2751
|
checked: boolean;
|
|
2751
|
-
selectedRows:
|
|
2752
|
+
selectedRows: any[];
|
|
2752
2753
|
};
|
|
2753
2754
|
}
|
|
2754
2755
|
interface HTMLTdsTableHeaderElement extends Components.TdsTableHeader, HTMLStencilElement {
|
|
@@ -2773,7 +2774,7 @@ declare global {
|
|
|
2773
2774
|
};
|
|
2774
2775
|
interface HTMLTdsTableToolbarElementEventMap {
|
|
2775
2776
|
"tdsFilter": {
|
|
2776
|
-
tableId: string
|
|
2777
|
+
tableId: string;
|
|
2777
2778
|
query: string;
|
|
2778
2779
|
};
|
|
2779
2780
|
}
|
|
@@ -2977,7 +2978,7 @@ declare namespace LocalJSX {
|
|
|
2977
2978
|
/**
|
|
2978
2979
|
* Set the variant of the Accordion.
|
|
2979
2980
|
*/
|
|
2980
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
2981
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
2981
2982
|
}
|
|
2982
2983
|
interface TdsAccordionItem {
|
|
2983
2984
|
/**
|
|
@@ -3085,13 +3086,13 @@ declare namespace LocalJSX {
|
|
|
3085
3086
|
/**
|
|
3086
3087
|
* Mode variant of the component, based on current mode.
|
|
3087
3088
|
*/
|
|
3088
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3089
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3089
3090
|
}
|
|
3090
3091
|
interface TdsBodyCell {
|
|
3091
3092
|
/**
|
|
3092
3093
|
* Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
|
|
3093
3094
|
*/
|
|
3094
|
-
"cellKey"?:
|
|
3095
|
+
"cellKey"?: any;
|
|
3095
3096
|
/**
|
|
3096
3097
|
* Value that will be presented as text inside a cell
|
|
3097
3098
|
*/
|
|
@@ -3133,7 +3134,7 @@ declare namespace LocalJSX {
|
|
|
3133
3134
|
/**
|
|
3134
3135
|
* Set the mode variant of the Button.
|
|
3135
3136
|
*/
|
|
3136
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3137
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3137
3138
|
/**
|
|
3138
3139
|
* The name attribute allows for different ways of accessing the button element
|
|
3139
3140
|
*/
|
|
@@ -3203,7 +3204,7 @@ declare namespace LocalJSX {
|
|
|
3203
3204
|
/**
|
|
3204
3205
|
* Variant of the Card based on the theme used.
|
|
3205
3206
|
*/
|
|
3206
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3207
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3207
3208
|
/**
|
|
3208
3209
|
* Sends unique Card identifier when the Card is clicked, if clickable=true
|
|
3209
3210
|
*/
|
|
@@ -3357,7 +3358,7 @@ declare namespace LocalJSX {
|
|
|
3357
3358
|
/**
|
|
3358
3359
|
* Set the variant of the Datetime component.
|
|
3359
3360
|
*/
|
|
3360
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3361
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3361
3362
|
/**
|
|
3362
3363
|
* Name property. Uses a unique ID as fallback if not specified.
|
|
3363
3364
|
*/
|
|
@@ -3446,7 +3447,7 @@ declare namespace LocalJSX {
|
|
|
3446
3447
|
/**
|
|
3447
3448
|
* Mode variant of the component, based on current mode.
|
|
3448
3449
|
*/
|
|
3449
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3450
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3450
3451
|
/**
|
|
3451
3452
|
* Enables multiselect in the Dropdown.
|
|
3452
3453
|
*/
|
|
@@ -3472,8 +3473,12 @@ declare namespace LocalJSX {
|
|
|
3472
3473
|
*/
|
|
3473
3474
|
"onTdsChange"?: (event: TdsDropdownCustomEvent<{
|
|
3474
3475
|
name: string;
|
|
3475
|
-
value: string
|
|
3476
|
+
value: string;
|
|
3476
3477
|
}>) => void;
|
|
3478
|
+
/**
|
|
3479
|
+
* Clear event for the Dropdown.
|
|
3480
|
+
*/
|
|
3481
|
+
"onTdsClear"?: (event: TdsDropdownCustomEvent<{ clearedValue: string }>) => void;
|
|
3477
3482
|
/**
|
|
3478
3483
|
* Focus event for the Dropdown.
|
|
3479
3484
|
*/
|
|
@@ -3501,7 +3506,7 @@ declare namespace LocalJSX {
|
|
|
3501
3506
|
/**
|
|
3502
3507
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
3503
3508
|
*/
|
|
3504
|
-
"value"?: string | number | (string | number)[]
|
|
3509
|
+
"value"?: string | number | (string | number)[];
|
|
3505
3510
|
}
|
|
3506
3511
|
interface TdsDropdownOption {
|
|
3507
3512
|
/**
|
|
@@ -3546,7 +3551,7 @@ declare namespace LocalJSX {
|
|
|
3546
3551
|
/**
|
|
3547
3552
|
* Variant of the Tabs, primary= on white, secondary= on grey50
|
|
3548
3553
|
*/
|
|
3549
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3554
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3550
3555
|
/**
|
|
3551
3556
|
* Event emitted when the selected Tab is changed.
|
|
3552
3557
|
*/
|
|
@@ -3570,7 +3575,7 @@ declare namespace LocalJSX {
|
|
|
3570
3575
|
/**
|
|
3571
3576
|
* Mode variant of the component, based on current mode.
|
|
3572
3577
|
*/
|
|
3573
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3578
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3574
3579
|
}
|
|
3575
3580
|
interface TdsFooterGroup {
|
|
3576
3581
|
/**
|
|
@@ -3609,8 +3614,8 @@ declare namespace LocalJSX {
|
|
|
3609
3614
|
* Sends unique Table identifier, column key and sorting direction to the tds-table-body component, can also be listened to implement custom-sorting logic.
|
|
3610
3615
|
*/
|
|
3611
3616
|
"onTdsSort"?: (event: TdsHeaderCellCustomEvent<{
|
|
3612
|
-
tableId: string
|
|
3613
|
-
columnKey: string
|
|
3617
|
+
tableId: string;
|
|
3618
|
+
columnKey: string;
|
|
3614
3619
|
sortingDirection: 'asc' | 'desc';
|
|
3615
3620
|
}>) => void;
|
|
3616
3621
|
/**
|
|
@@ -3810,7 +3815,7 @@ declare namespace LocalJSX {
|
|
|
3810
3815
|
/**
|
|
3811
3816
|
* Variant of the component, based on current mode.
|
|
3812
3817
|
*/
|
|
3813
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3818
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3814
3819
|
/**
|
|
3815
3820
|
* Removes the icon in the Message.
|
|
3816
3821
|
*/
|
|
@@ -3844,7 +3849,7 @@ declare namespace LocalJSX {
|
|
|
3844
3849
|
/**
|
|
3845
3850
|
* Emits when the Modal is closed.
|
|
3846
3851
|
*/
|
|
3847
|
-
"onTdsClose"?: (event: TdsModalCustomEvent<
|
|
3852
|
+
"onTdsClose"?: (event: TdsModalCustomEvent<any>) => void;
|
|
3848
3853
|
/**
|
|
3849
3854
|
* Emits just before Modal is opened.
|
|
3850
3855
|
*/
|
|
@@ -3924,7 +3929,7 @@ declare namespace LocalJSX {
|
|
|
3924
3929
|
/**
|
|
3925
3930
|
* Mode variant of the component, based on current mode.
|
|
3926
3931
|
*/
|
|
3927
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
3932
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
3928
3933
|
/**
|
|
3929
3934
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3930
3935
|
*/
|
|
@@ -3952,7 +3957,7 @@ declare namespace LocalJSX {
|
|
|
3952
3957
|
/**
|
|
3953
3958
|
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
3954
3959
|
*/
|
|
3955
|
-
"show"?: boolean
|
|
3960
|
+
"show"?: boolean;
|
|
3956
3961
|
/**
|
|
3957
3962
|
* Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
3958
3963
|
*/
|
|
@@ -3974,7 +3979,7 @@ declare namespace LocalJSX {
|
|
|
3974
3979
|
/**
|
|
3975
3980
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3976
3981
|
*/
|
|
3977
|
-
"modifiers"?:
|
|
3982
|
+
"modifiers"?: Object[];
|
|
3978
3983
|
/**
|
|
3979
3984
|
* Sets the offset distance
|
|
3980
3985
|
*/
|
|
@@ -3998,7 +4003,7 @@ declare namespace LocalJSX {
|
|
|
3998
4003
|
/**
|
|
3999
4004
|
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
4000
4005
|
*/
|
|
4001
|
-
"show"?: boolean
|
|
4006
|
+
"show"?: boolean;
|
|
4002
4007
|
/**
|
|
4003
4008
|
* What triggers the popover to show
|
|
4004
4009
|
*/
|
|
@@ -4020,7 +4025,7 @@ declare namespace LocalJSX {
|
|
|
4020
4025
|
/**
|
|
4021
4026
|
* Mode variant of the component, based on current mode.
|
|
4022
4027
|
*/
|
|
4023
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
4028
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
4024
4029
|
/**
|
|
4025
4030
|
* Sets the offset distance
|
|
4026
4031
|
*/
|
|
@@ -4044,7 +4049,7 @@ declare namespace LocalJSX {
|
|
|
4044
4049
|
/**
|
|
4045
4050
|
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
4046
4051
|
*/
|
|
4047
|
-
"show"?: boolean
|
|
4052
|
+
"show"?: boolean;
|
|
4048
4053
|
}
|
|
4049
4054
|
interface TdsPopoverMenuItem {
|
|
4050
4055
|
/**
|
|
@@ -4340,11 +4345,11 @@ declare namespace LocalJSX {
|
|
|
4340
4345
|
/**
|
|
4341
4346
|
* Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
|
|
4342
4347
|
*/
|
|
4343
|
-
"horizontalScrollWidth"?: string
|
|
4348
|
+
"horizontalScrollWidth"?: string;
|
|
4344
4349
|
/**
|
|
4345
4350
|
* Variant of the component, based on current mode.
|
|
4346
4351
|
*/
|
|
4347
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
4352
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
4348
4353
|
/**
|
|
4349
4354
|
* Enables multiselect feature of Table
|
|
4350
4355
|
*/
|
|
@@ -4396,16 +4401,16 @@ declare namespace LocalJSX {
|
|
|
4396
4401
|
*/
|
|
4397
4402
|
"onTdsClick"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4398
4403
|
event: MouseEvent;
|
|
4399
|
-
tableId: string
|
|
4404
|
+
tableId: string;
|
|
4400
4405
|
rowIndex: number;
|
|
4401
4406
|
}>) => void;
|
|
4402
4407
|
/**
|
|
4403
4408
|
* Event emitted when a row is selected/deselected.
|
|
4404
4409
|
*/
|
|
4405
4410
|
"onTdsSelect"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4406
|
-
tableId: string
|
|
4411
|
+
tableId: string;
|
|
4407
4412
|
checked: boolean;
|
|
4408
|
-
selectedRows:
|
|
4413
|
+
selectedRows: any[];
|
|
4409
4414
|
}>) => void;
|
|
4410
4415
|
/**
|
|
4411
4416
|
* Marks the row as selected, used for multiselect table.
|
|
@@ -4420,7 +4425,7 @@ declare namespace LocalJSX {
|
|
|
4420
4425
|
/**
|
|
4421
4426
|
* In case that automatic count of columns does not work, user can manually set this one. Take in mind that expandable control is column too
|
|
4422
4427
|
*/
|
|
4423
|
-
"colSpan"?: number
|
|
4428
|
+
"colSpan"?: number;
|
|
4424
4429
|
/**
|
|
4425
4430
|
* Sets isExpanded state to true or false externally
|
|
4426
4431
|
*/
|
|
@@ -4431,7 +4436,7 @@ declare namespace LocalJSX {
|
|
|
4431
4436
|
"onTdsChange"?: (event: TdsTableBodyRowExpandableCustomEvent<{
|
|
4432
4437
|
rowId: string;
|
|
4433
4438
|
isExpanded: boolean;
|
|
4434
|
-
tableId: string
|
|
4439
|
+
tableId: string;
|
|
4435
4440
|
}>) => void;
|
|
4436
4441
|
/**
|
|
4437
4442
|
* Controls the overflow behavior of the expandable row content
|
|
@@ -4450,12 +4455,12 @@ declare namespace LocalJSX {
|
|
|
4450
4455
|
/**
|
|
4451
4456
|
* <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
|
|
4452
4457
|
*/
|
|
4453
|
-
"cols"?: number
|
|
4458
|
+
"cols"?: number;
|
|
4454
4459
|
/**
|
|
4455
4460
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
4456
4461
|
*/
|
|
4457
4462
|
"onTdsPagination"?: (event: TdsTableFooterCustomEvent<{
|
|
4458
|
-
tableId: string
|
|
4463
|
+
tableId: string;
|
|
4459
4464
|
paginationValue: number;
|
|
4460
4465
|
rowsPerPage?: number;
|
|
4461
4466
|
}>) => void;
|
|
@@ -4497,9 +4502,9 @@ declare namespace LocalJSX {
|
|
|
4497
4502
|
* Event emitted when the status of the select all checkbox changes.
|
|
4498
4503
|
*/
|
|
4499
4504
|
"onTdsSelectAll"?: (event: TdsTableHeaderCustomEvent<{
|
|
4500
|
-
tableId: string
|
|
4505
|
+
tableId: string;
|
|
4501
4506
|
checked: boolean;
|
|
4502
|
-
selectedRows:
|
|
4507
|
+
selectedRows: any[];
|
|
4503
4508
|
}>) => void;
|
|
4504
4509
|
/**
|
|
4505
4510
|
* Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
|
|
@@ -4522,7 +4527,7 @@ declare namespace LocalJSX {
|
|
|
4522
4527
|
* Used for sending users' input to the main parent tds-table the component, can also be listened to in order to implement custom sorting logic.
|
|
4523
4528
|
*/
|
|
4524
4529
|
"onTdsFilter"?: (event: TdsTableToolbarCustomEvent<{
|
|
4525
|
-
tableId: string
|
|
4530
|
+
tableId: string;
|
|
4526
4531
|
query: string;
|
|
4527
4532
|
}>) => void;
|
|
4528
4533
|
/**
|
|
@@ -4592,7 +4597,7 @@ declare namespace LocalJSX {
|
|
|
4592
4597
|
/**
|
|
4593
4598
|
* Mode variant of the Text Field
|
|
4594
4599
|
*/
|
|
4595
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
4600
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
4596
4601
|
/**
|
|
4597
4602
|
* Name property
|
|
4598
4603
|
*/
|
|
@@ -4686,7 +4691,7 @@ declare namespace LocalJSX {
|
|
|
4686
4691
|
/**
|
|
4687
4692
|
* Mode variant of the Textarea
|
|
4688
4693
|
*/
|
|
4689
|
-
"modeVariant"?: 'primary' | 'secondary'
|
|
4694
|
+
"modeVariant"?: 'primary' | 'secondary';
|
|
4690
4695
|
/**
|
|
4691
4696
|
* Name attribute
|
|
4692
4697
|
*/
|
|
@@ -4853,7 +4858,7 @@ declare namespace LocalJSX {
|
|
|
4853
4858
|
/**
|
|
4854
4859
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
4855
4860
|
*/
|
|
4856
|
-
"show"?: boolean
|
|
4861
|
+
"show"?: boolean;
|
|
4857
4862
|
/**
|
|
4858
4863
|
* Sets the aria-describedby attribute
|
|
4859
4864
|
*/
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
|
|
4
4
|
* @param nextItemIndex The index in the list to start the search on.
|
|
5
5
|
*/
|
|
6
|
-
declare const findNextFocusableElement: (items:
|
|
6
|
+
declare const findNextFocusableElement: (items: any[], nextItemIndex: number) => number;
|
|
7
7
|
export default findNextFocusableElement;
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
|
|
5
5
|
* @param nextItemIndex The index in the list to start the search on.
|
|
6
6
|
*/
|
|
7
|
-
declare const findPreviousFocusableElement: (items:
|
|
7
|
+
declare const findPreviousFocusableElement: (items: any[], previousItemIndex: number) => number;
|
|
8
8
|
export default findPreviousFocusableElement;
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
* const headingEl = getNextNestedChildOfSiblingsMatching(startingElement, searchPredicate);
|
|
27
27
|
* console.log(headingEl); // Logs the <h2>Heading 2</h2> element
|
|
28
28
|
*/
|
|
29
|
-
declare const getNextNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement
|
|
29
|
+
declare const getNextNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement;
|
|
30
30
|
export default getNextNestedChildOfSiblingsMatching;
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
* const headingEl = getPreviousNestedChildOfSiblingsMatching(startingElement, searchPredicate);
|
|
27
27
|
* console.log(headingEl); // Logs the <h2>Heading 2</h2> element
|
|
28
28
|
*/
|
|
29
|
-
declare const getPreviousNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement
|
|
29
|
+
declare const getPreviousNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement;
|
|
30
30
|
export default getPreviousNestedChildOfSiblingsMatching;
|