@scania/tegel 1.41.0 → 1.42.0-sass-migration-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/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 +4 -3
- package/dist/cjs/tds-button_2.cjs.entry.js +7 -5
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
- package/dist/cjs/tds-datetime.cjs.entry.js +8 -5
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +50 -32
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +10 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +6 -5
- package/dist/cjs/tds-footer-item.cjs.entry.js +6 -2
- 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 +10 -5
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +7 -5
- package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -4
- package/dist/cjs/tds-header.cjs.entry.js +8 -6
- package/dist/cjs/tds-icon.cjs.entry.js +1 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +10 -3
- package/dist/cjs/tds-message.cjs.entry.js +2 -2
- package/dist/cjs/tds-modal.cjs.entry.js +5 -4
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +12 -5
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +10 -8
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +4 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +13 -9
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
- package/dist/cjs/tds-side-menu.cjs.entry.js +12 -9
- package/dist/cjs/tds-slider.cjs.entry.js +26 -16
- package/dist/cjs/tds-step.cjs.entry.js +3 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +17 -10
- package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -5
- package/dist/cjs/tds-table-body.cjs.entry.js +9 -5
- package/dist/cjs/tds-table-footer.cjs.entry.js +15 -8
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +24 -18
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -4
- package/dist/cjs/tds-table.cjs.entry.js +14 -12
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +5 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
- package/dist/cjs/tds-tooltip.cjs.entry.js +6 -10
- 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 +9 -7
- package/dist/collection/components/card/card.js +4 -4
- package/dist/collection/components/checkbox/checkbox.js +6 -5
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/datetime/datetime.js +10 -7
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +9 -6
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +44 -31
- package/dist/collection/components/footer/footer-group/footer-group.js +6 -5
- package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
- 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 +7 -5
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
- package/dist/collection/components/header/header-item/header-item.js +9 -5
- package/dist/collection/components/header/header-launcher/header-launcher.js +8 -4
- package/dist/collection/components/header/header.js +8 -6
- package/dist/collection/components/icon/icon.js +3 -4
- package/dist/collection/components/message/message.css +0 -2
- package/dist/collection/components/message/message.js +4 -4
- package/dist/collection/components/modal/modal.css +0 -2
- package/dist/collection/components/modal/modal.js +8 -7
- package/dist/collection/components/popover-canvas/popover-canvas.js +9 -9
- package/dist/collection/components/popover-core/popover-core.js +20 -23
- package/dist/collection/components/popover-menu/popover-menu.js +9 -9
- package/dist/collection/components/radio-button/radio-button.js +4 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -4
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -9
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +15 -9
- package/dist/collection/components/side-menu/side-menu.js +12 -9
- package/dist/collection/components/slider/slider.js +26 -16
- package/dist/collection/components/stepper/step/step.js +3 -1
- package/dist/collection/components/table/table/table.js +36 -18
- package/dist/collection/components/table/table-body/table-body.js +9 -5
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +7 -6
- 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 +13 -10
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +23 -16
- package/dist/collection/components/table/table-footer/table-footer.js +20 -13
- package/dist/collection/components/table/table-header/table-header.js +27 -21
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +22 -17
- 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 +8 -6
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +12 -5
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +10 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +12 -5
- package/dist/collection/components/text-field/text-field.js +9 -8
- package/dist/collection/components/textarea/textarea.js +7 -6
- package/dist/collection/components/toggle/toggle.js +5 -4
- package/dist/collection/components/tooltip/tooltip.js +9 -13
- package/dist/collection/tegel-light/components/tl-dropdown/_dropdownKeyboard.js +190 -0
- package/dist/collection/tegel-light/components/tl-dropdown/_dropdownScripts.js +304 -0
- package/dist/collection/utils/appendHiddenInput.js +6 -4
- package/dist/components/{p-d10d21bd.js → p-0d286c19.js} +2 -2
- package/dist/components/{p-63552d0e.js → p-415fafb3.js} +5 -5
- package/dist/components/{p-3308d5fa.js → p-6fd2b339.js} +10 -8
- package/dist/components/{p-c62b61fe.js → p-799470b1.js} +7 -5
- package/dist/components/{p-44f5b5e1.js → p-91803ba5.js} +5 -4
- package/dist/components/{p-3a7e4d0d.js → p-a64cbc40.js} +10 -9
- package/dist/components/{p-04a014cf.js → p-ad376f70.js} +7 -11
- package/dist/components/{p-6ef207b2.js → p-d9cffacb.js} +11 -8
- package/dist/components/{p-9336db16.js → p-da11a695.js} +5 -3
- package/dist/components/{p-1dafdc8c.js → p-e0ccf8e6.js} +15 -9
- package/dist/components/{p-3f475529.js → p-e52a9953.js} +42 -27
- package/dist/components/{p-7c3348eb.js → p-ead6727f.js} +9 -5
- package/dist/components/{p-f7d94947.js → p-edc838a0.js} +1 -2
- 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 +5 -4
- 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 +9 -6
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tabs.js +11 -4
- package/dist/components/tds-footer-group.js +7 -6
- package/dist/components/tds-footer-item.js +6 -2
- 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 +11 -6
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +11 -9
- 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 +13 -9
- package/dist/components/tds-header.js +8 -6
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tabs.js +11 -4
- package/dist/components/tds-message.js +3 -3
- package/dist/components/tds-modal.js +6 -5
- package/dist/components/tds-navigation-tabs.js +13 -6
- 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 +4 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +6 -5
- package/dist/components/tds-side-menu-dropdown-list-item.js +13 -9
- package/dist/components/tds-side-menu-dropdown-list.js +3 -3
- package/dist/components/tds-side-menu-dropdown.js +7 -6
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu.js +12 -9
- package/dist/components/tds-slider.js +30 -20
- package/dist/components/tds-step.js +4 -2
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +17 -10
- package/dist/components/tds-table-body-row.js +9 -6
- package/dist/components/tds-table-body.js +9 -5
- package/dist/components/tds-table-footer.js +19 -12
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +25 -19
- package/dist/components/tds-table-toolbar.js +7 -5
- package/dist/components/tds-table.js +14 -12
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +8 -7
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +5 -4
- 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 +4 -3
- package/dist/esm/tds-button_2.entry.js +7 -5
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +5 -4
- package/dist/esm/tds-core-header-item_2.entry.js +9 -5
- package/dist/esm/tds-datetime.entry.js +8 -5
- package/dist/esm/tds-dropdown_2.entry.js +50 -32
- package/dist/esm/tds-folder-tabs.entry.js +10 -3
- package/dist/esm/tds-footer-group.entry.js +6 -5
- package/dist/esm/tds-footer-item.entry.js +6 -2
- 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 +10 -5
- package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
- package/dist/esm/tds-header-dropdown.entry.js +7 -5
- package/dist/esm/tds-header-launcher.entry.js +8 -4
- package/dist/esm/tds-header.entry.js +8 -6
- package/dist/esm/tds-icon.entry.js +1 -2
- package/dist/esm/tds-inline-tabs.entry.js +10 -3
- package/dist/esm/tds-message.entry.js +2 -2
- package/dist/esm/tds-modal.entry.js +5 -4
- package/dist/esm/tds-navigation-tabs.entry.js +12 -5
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +10 -8
- package/dist/esm/tds-popover-menu.entry.js +4 -4
- package/dist/esm/tds-radio-button.entry.js +4 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +13 -9
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +5 -4
- package/dist/esm/tds-side-menu-item.entry.js +15 -9
- package/dist/esm/tds-side-menu.entry.js +12 -9
- package/dist/esm/tds-slider.entry.js +26 -16
- package/dist/esm/tds-step.entry.js +3 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +17 -10
- package/dist/esm/tds-table-body-row.entry.js +8 -5
- package/dist/esm/tds-table-body.entry.js +9 -5
- package/dist/esm/tds-table-footer.entry.js +15 -8
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +24 -18
- package/dist/esm/tds-table-toolbar.entry.js +6 -4
- package/dist/esm/tds-table.entry.js +14 -12
- package/dist/esm/tds-text-field.entry.js +7 -6
- package/dist/esm/tds-textarea.entry.js +5 -4
- package/dist/esm/tds-toggle.entry.js +5 -4
- package/dist/esm/tds-tooltip.entry.js +6 -10
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-08c16b2f.entry.js +1 -0
- package/dist/tegel/p-0b37e91a.entry.js +1 -0
- package/dist/tegel/p-1e1a87c1.entry.js +1 -0
- package/dist/tegel/p-2268af7f.entry.js +1 -0
- package/dist/tegel/p-226d0290.entry.js +1 -0
- package/dist/tegel/p-252a7d3f.entry.js +1 -0
- package/dist/tegel/p-25473962.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
- package/dist/tegel/p-3ef04672.entry.js +1 -0
- package/dist/tegel/p-40d99d7d.entry.js +1 -0
- package/dist/tegel/{p-28f85555.entry.js → p-40fa0f5b.entry.js} +1 -1
- package/dist/tegel/p-4e15f31d.entry.js +1 -0
- package/dist/tegel/p-57c08d0d.entry.js +1 -0
- package/dist/tegel/p-58ac68f3.entry.js +1 -0
- package/dist/tegel/p-6a472310.entry.js +1 -0
- package/dist/tegel/p-70836598.entry.js +1 -0
- package/dist/tegel/p-7104b955.entry.js +1 -0
- package/dist/tegel/p-781b2939.entry.js +1 -0
- package/dist/tegel/p-894e7e11.entry.js +1 -0
- package/dist/tegel/p-942f8c6f.entry.js +1 -0
- package/dist/tegel/p-98eff725.entry.js +1 -0
- package/dist/tegel/p-9b06bd5f.entry.js +1 -0
- package/dist/tegel/p-9bcb8b2d.entry.js +1 -0
- package/dist/tegel/p-9c56b031.entry.js +1 -0
- package/dist/tegel/p-a20a54ef.entry.js +1 -0
- package/dist/tegel/p-a2b2092a.entry.js +1 -0
- package/dist/tegel/p-a334b517.entry.js +1 -0
- package/dist/tegel/p-a4e4c450.entry.js +1 -0
- package/dist/tegel/p-a60ed3de.entry.js +1 -0
- package/dist/tegel/p-a6dca188.entry.js +1 -0
- package/dist/tegel/{p-464469fe.entry.js → p-a912035b.entry.js} +1 -1
- package/dist/tegel/p-b218db70.entry.js +1 -0
- package/dist/tegel/p-b3b13975.entry.js +1 -0
- package/dist/tegel/{p-987f8f0f.entry.js → p-b9afb39e.entry.js} +1 -1
- package/dist/tegel/p-bb8c2a36.entry.js +1 -0
- package/dist/tegel/p-bee9e9d1.entry.js +1 -0
- package/dist/tegel/{p-f31f56fe.entry.js → p-c5694dd6.entry.js} +1 -1
- package/dist/tegel/{p-57a28f62.entry.js → p-ca068263.entry.js} +1 -1
- package/dist/tegel/{p-eb91e33b.entry.js → p-cda2e4b2.entry.js} +1 -1
- package/dist/tegel/p-d501a665.entry.js +1 -0
- package/dist/tegel/{p-f2318c88.entry.js → p-da38aa9a.entry.js} +1 -1
- package/dist/tegel/p-dda1ac69.entry.js +1 -0
- package/dist/tegel/p-e29fa563.entry.js +1 -0
- package/dist/tegel/p-ed66ef30.entry.js +1 -0
- package/dist/tegel/p-f602b3a1.entry.js +1 -0
- package/dist/tegel/p-f922308f.entry.js +1 -0
- package/dist/tegel/p-fb300776.entry.js +1 -0
- package/dist/tegel/p-fd22d1ca.entry.js +1 -0
- package/dist/tegel/{p-c6968db1.entry.js → p-fe4335ca.entry.js} +1 -1
- 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 +5 -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 +6 -3
- 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 +8 -5
- 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 +81 -81
- package/dist/types/tegel-light/components/tl-dropdown/_dropdownKeyboard.d.ts +1 -0
- package/dist/types/tegel-light/components/tl-dropdown/_dropdownScripts.d.ts +4 -0
- 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-0672ddfc.entry.js +0 -1
- package/dist/tegel/p-08ad6a21.entry.js +0 -1
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-09cd056c.entry.js +0 -1
- package/dist/tegel/p-0c9a51d9.entry.js +0 -1
- package/dist/tegel/p-0cfe8671.entry.js +0 -1
- package/dist/tegel/p-0e772ad7.entry.js +0 -1
- package/dist/tegel/p-17bc1e49.entry.js +0 -1
- package/dist/tegel/p-1859156f.entry.js +0 -1
- package/dist/tegel/p-1f4267a8.entry.js +0 -1
- package/dist/tegel/p-24a76927.entry.js +0 -1
- package/dist/tegel/p-354d3986.entry.js +0 -1
- package/dist/tegel/p-3c97cb45.entry.js +0 -1
- package/dist/tegel/p-3e6d65ee.entry.js +0 -1
- package/dist/tegel/p-445fa788.entry.js +0 -1
- package/dist/tegel/p-51a17707.entry.js +0 -1
- package/dist/tegel/p-52689019.entry.js +0 -1
- package/dist/tegel/p-6b340718.entry.js +0 -1
- package/dist/tegel/p-72006dd7.entry.js +0 -1
- package/dist/tegel/p-743d4f07.entry.js +0 -1
- package/dist/tegel/p-77cfb0ef.entry.js +0 -1
- package/dist/tegel/p-7887bdbb.entry.js +0 -1
- package/dist/tegel/p-7b598e60.entry.js +0 -1
- package/dist/tegel/p-7ef50e7f.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-8eccfe32.entry.js +0 -1
- package/dist/tegel/p-9b635e01.entry.js +0 -1
- package/dist/tegel/p-9f187848.entry.js +0 -1
- package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
- package/dist/tegel/p-a090bd2f.entry.js +0 -1
- package/dist/tegel/p-a56436c8.entry.js +0 -1
- package/dist/tegel/p-b210d23c.entry.js +0 -1
- package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
- package/dist/tegel/p-cf717912.entry.js +0 -1
- package/dist/tegel/p-cfd7ed1a.entry.js +0 -1
- package/dist/tegel/p-d1d45942.entry.js +0 -1
- package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
- package/dist/tegel/p-e5b796e7.entry.js +0 -1
- package/dist/tegel/p-f3c32d4d.entry.js +0 -1
- package/dist/tegel/p-fd15ced7.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' | null;
|
|
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' | null;
|
|
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": string;
|
|
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' | null;
|
|
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' | null;
|
|
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' | null;
|
|
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' | null;
|
|
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 | undefined; }[]>;
|
|
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)[] | null;
|
|
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' | null;
|
|
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' | null;
|
|
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' | null;
|
|
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' | null;
|
|
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 | null;
|
|
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 | null;
|
|
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' | null;
|
|
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 | null;
|
|
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<{ cellKey: string; cellValue: string | number; }[][]>;
|
|
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 | null;
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Variant of the component, based on current mode.
|
|
1374
1374
|
*/
|
|
1375
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1375
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
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 | null;
|
|
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 | null;
|
|
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' | null;
|
|
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' | null;
|
|
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 | null;
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Sets the aria-describedby attribute
|
|
1827
1827
|
*/
|
|
@@ -2145,7 +2145,7 @@ declare global {
|
|
|
2145
2145
|
interface HTMLTdsDropdownElementEventMap {
|
|
2146
2146
|
"tdsChange": {
|
|
2147
2147
|
name: string;
|
|
2148
|
-
value: string;
|
|
2148
|
+
value: string | null;
|
|
2149
2149
|
};
|
|
2150
2150
|
"tdsFocus": FocusEvent;
|
|
2151
2151
|
"tdsBlur": FocusEvent;
|
|
@@ -2245,17 +2245,17 @@ declare global {
|
|
|
2245
2245
|
};
|
|
2246
2246
|
interface HTMLTdsHeaderCellElementEventMap {
|
|
2247
2247
|
"tdsSort": {
|
|
2248
|
-
tableId: string;
|
|
2249
|
-
columnKey: string;
|
|
2248
|
+
tableId: string | undefined;
|
|
2249
|
+
columnKey: string | undefined;
|
|
2250
2250
|
sortingDirection: 'asc' | 'desc';
|
|
2251
2251
|
};
|
|
2252
2252
|
"internalSortButtonClicked": {
|
|
2253
|
-
tableId: string;
|
|
2254
|
-
key: string;
|
|
2253
|
+
tableId: string | undefined;
|
|
2254
|
+
key: string | undefined;
|
|
2255
2255
|
};
|
|
2256
|
-
"internalTdsTextAlign":
|
|
2256
|
+
"internalTdsTextAlign": object;
|
|
2257
2257
|
"internalTdsHover": {
|
|
2258
|
-
tableId: string;
|
|
2258
|
+
tableId: string | undefined;
|
|
2259
2259
|
key: string;
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
@@ -2407,7 +2407,7 @@ declare global {
|
|
|
2407
2407
|
new (): HTMLTdsMessageElement;
|
|
2408
2408
|
};
|
|
2409
2409
|
interface HTMLTdsModalElementEventMap {
|
|
2410
|
-
"tdsClose":
|
|
2410
|
+
"tdsClose": object;
|
|
2411
2411
|
"tdsOpen": void;
|
|
2412
2412
|
}
|
|
2413
2413
|
interface HTMLTdsModalElement extends Components.TdsModal, HTMLStencilElement {
|
|
@@ -2456,8 +2456,8 @@ declare global {
|
|
|
2456
2456
|
new (): HTMLTdsPopoverCanvasElement;
|
|
2457
2457
|
};
|
|
2458
2458
|
interface HTMLTdsPopoverCoreElementEventMap {
|
|
2459
|
-
"internalTdsShow":
|
|
2460
|
-
"internalTdsClose":
|
|
2459
|
+
"internalTdsShow": object;
|
|
2460
|
+
"internalTdsClose": object;
|
|
2461
2461
|
}
|
|
2462
2462
|
interface HTMLTdsPopoverCoreElement extends Components.TdsPopoverCore, HTMLStencilElement {
|
|
2463
2463
|
addEventListener<K extends keyof HTMLTdsPopoverCoreElementEventMap>(type: K, listener: (this: HTMLTdsPopoverCoreElement, ev: TdsPopoverCoreCustomEvent<HTMLTdsPopoverCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2678,13 +2678,13 @@ declare global {
|
|
|
2678
2678
|
};
|
|
2679
2679
|
interface HTMLTdsTableBodyRowElementEventMap {
|
|
2680
2680
|
"tdsSelect": {
|
|
2681
|
-
tableId: string;
|
|
2681
|
+
tableId: string | undefined;
|
|
2682
2682
|
checked: boolean;
|
|
2683
|
-
selectedRows:
|
|
2683
|
+
selectedRows: object[] | undefined;
|
|
2684
2684
|
};
|
|
2685
2685
|
"tdsClick": {
|
|
2686
2686
|
event: MouseEvent;
|
|
2687
|
-
tableId: string;
|
|
2687
|
+
tableId: string | undefined;
|
|
2688
2688
|
rowIndex: number;
|
|
2689
2689
|
};
|
|
2690
2690
|
}
|
|
@@ -2703,11 +2703,11 @@ declare global {
|
|
|
2703
2703
|
new (): HTMLTdsTableBodyRowElement;
|
|
2704
2704
|
};
|
|
2705
2705
|
interface HTMLTdsTableBodyRowExpandableElementEventMap {
|
|
2706
|
-
"internalTdsRowExpanded":
|
|
2706
|
+
"internalTdsRowExpanded": object;
|
|
2707
2707
|
"tdsChange": {
|
|
2708
2708
|
rowId: string;
|
|
2709
2709
|
isExpanded: boolean;
|
|
2710
|
-
tableId: string;
|
|
2710
|
+
tableId: string | undefined;
|
|
2711
2711
|
};
|
|
2712
2712
|
}
|
|
2713
2713
|
interface HTMLTdsTableBodyRowExpandableElement extends Components.TdsTableBodyRowExpandable, HTMLStencilElement {
|
|
@@ -2726,7 +2726,7 @@ declare global {
|
|
|
2726
2726
|
};
|
|
2727
2727
|
interface HTMLTdsTableFooterElementEventMap {
|
|
2728
2728
|
"tdsPagination": {
|
|
2729
|
-
tableId: string;
|
|
2729
|
+
tableId: string | undefined;
|
|
2730
2730
|
paginationValue: number;
|
|
2731
2731
|
rowsPerPage?: number;
|
|
2732
2732
|
};
|
|
@@ -2747,9 +2747,9 @@ declare global {
|
|
|
2747
2747
|
};
|
|
2748
2748
|
interface HTMLTdsTableHeaderElementEventMap {
|
|
2749
2749
|
"tdsSelectAll": {
|
|
2750
|
-
tableId: string;
|
|
2750
|
+
tableId: string | undefined;
|
|
2751
2751
|
checked: boolean;
|
|
2752
|
-
selectedRows:
|
|
2752
|
+
selectedRows: object[] | undefined;
|
|
2753
2753
|
};
|
|
2754
2754
|
}
|
|
2755
2755
|
interface HTMLTdsTableHeaderElement extends Components.TdsTableHeader, HTMLStencilElement {
|
|
@@ -2774,7 +2774,7 @@ declare global {
|
|
|
2774
2774
|
};
|
|
2775
2775
|
interface HTMLTdsTableToolbarElementEventMap {
|
|
2776
2776
|
"tdsFilter": {
|
|
2777
|
-
tableId: string;
|
|
2777
|
+
tableId: string | undefined;
|
|
2778
2778
|
query: string;
|
|
2779
2779
|
};
|
|
2780
2780
|
}
|
|
@@ -2978,7 +2978,7 @@ declare namespace LocalJSX {
|
|
|
2978
2978
|
/**
|
|
2979
2979
|
* Set the variant of the Accordion.
|
|
2980
2980
|
*/
|
|
2981
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
2981
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
2982
2982
|
}
|
|
2983
2983
|
interface TdsAccordionItem {
|
|
2984
2984
|
/**
|
|
@@ -3086,13 +3086,13 @@ declare namespace LocalJSX {
|
|
|
3086
3086
|
/**
|
|
3087
3087
|
* Mode variant of the component, based on current mode.
|
|
3088
3088
|
*/
|
|
3089
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3089
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3090
3090
|
}
|
|
3091
3091
|
interface TdsBodyCell {
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
|
|
3094
3094
|
*/
|
|
3095
|
-
"cellKey"?:
|
|
3095
|
+
"cellKey"?: string;
|
|
3096
3096
|
/**
|
|
3097
3097
|
* Value that will be presented as text inside a cell
|
|
3098
3098
|
*/
|
|
@@ -3134,7 +3134,7 @@ declare namespace LocalJSX {
|
|
|
3134
3134
|
/**
|
|
3135
3135
|
* Set the mode variant of the Button.
|
|
3136
3136
|
*/
|
|
3137
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3137
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3138
3138
|
/**
|
|
3139
3139
|
* The name attribute allows for different ways of accessing the button element
|
|
3140
3140
|
*/
|
|
@@ -3204,7 +3204,7 @@ declare namespace LocalJSX {
|
|
|
3204
3204
|
/**
|
|
3205
3205
|
* Variant of the Card based on the theme used.
|
|
3206
3206
|
*/
|
|
3207
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3207
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3208
3208
|
/**
|
|
3209
3209
|
* Sends unique Card identifier when the Card is clicked, if clickable=true
|
|
3210
3210
|
*/
|
|
@@ -3358,7 +3358,7 @@ declare namespace LocalJSX {
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Set the variant of the Datetime component.
|
|
3360
3360
|
*/
|
|
3361
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3361
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3362
3362
|
/**
|
|
3363
3363
|
* Name property. Uses a unique ID as fallback if not specified.
|
|
3364
3364
|
*/
|
|
@@ -3447,7 +3447,7 @@ declare namespace LocalJSX {
|
|
|
3447
3447
|
/**
|
|
3448
3448
|
* Mode variant of the component, based on current mode.
|
|
3449
3449
|
*/
|
|
3450
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3450
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3451
3451
|
/**
|
|
3452
3452
|
* Enables multiselect in the Dropdown.
|
|
3453
3453
|
*/
|
|
@@ -3473,7 +3473,7 @@ declare namespace LocalJSX {
|
|
|
3473
3473
|
*/
|
|
3474
3474
|
"onTdsChange"?: (event: TdsDropdownCustomEvent<{
|
|
3475
3475
|
name: string;
|
|
3476
|
-
value: string;
|
|
3476
|
+
value: string | null;
|
|
3477
3477
|
}>) => void;
|
|
3478
3478
|
/**
|
|
3479
3479
|
* Clear event for the Dropdown.
|
|
@@ -3506,7 +3506,7 @@ declare namespace LocalJSX {
|
|
|
3506
3506
|
/**
|
|
3507
3507
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
3508
3508
|
*/
|
|
3509
|
-
"value"?: string | number | (string | number)[];
|
|
3509
|
+
"value"?: string | number | (string | number)[] | null;
|
|
3510
3510
|
}
|
|
3511
3511
|
interface TdsDropdownOption {
|
|
3512
3512
|
/**
|
|
@@ -3551,7 +3551,7 @@ declare namespace LocalJSX {
|
|
|
3551
3551
|
/**
|
|
3552
3552
|
* Variant of the Tabs, primary= on white, secondary= on grey50
|
|
3553
3553
|
*/
|
|
3554
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3554
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3555
3555
|
/**
|
|
3556
3556
|
* Event emitted when the selected Tab is changed.
|
|
3557
3557
|
*/
|
|
@@ -3575,7 +3575,7 @@ declare namespace LocalJSX {
|
|
|
3575
3575
|
/**
|
|
3576
3576
|
* Mode variant of the component, based on current mode.
|
|
3577
3577
|
*/
|
|
3578
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3578
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3579
3579
|
}
|
|
3580
3580
|
interface TdsFooterGroup {
|
|
3581
3581
|
/**
|
|
@@ -3614,8 +3614,8 @@ declare namespace LocalJSX {
|
|
|
3614
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.
|
|
3615
3615
|
*/
|
|
3616
3616
|
"onTdsSort"?: (event: TdsHeaderCellCustomEvent<{
|
|
3617
|
-
tableId: string;
|
|
3618
|
-
columnKey: string;
|
|
3617
|
+
tableId: string | undefined;
|
|
3618
|
+
columnKey: string | undefined;
|
|
3619
3619
|
sortingDirection: 'asc' | 'desc';
|
|
3620
3620
|
}>) => void;
|
|
3621
3621
|
/**
|
|
@@ -3815,7 +3815,7 @@ declare namespace LocalJSX {
|
|
|
3815
3815
|
/**
|
|
3816
3816
|
* Variant of the component, based on current mode.
|
|
3817
3817
|
*/
|
|
3818
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3818
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3819
3819
|
/**
|
|
3820
3820
|
* Removes the icon in the Message.
|
|
3821
3821
|
*/
|
|
@@ -3849,7 +3849,7 @@ declare namespace LocalJSX {
|
|
|
3849
3849
|
/**
|
|
3850
3850
|
* Emits when the Modal is closed.
|
|
3851
3851
|
*/
|
|
3852
|
-
"onTdsClose"?: (event: TdsModalCustomEvent<
|
|
3852
|
+
"onTdsClose"?: (event: TdsModalCustomEvent<object>) => void;
|
|
3853
3853
|
/**
|
|
3854
3854
|
* Emits just before Modal is opened.
|
|
3855
3855
|
*/
|
|
@@ -3929,7 +3929,7 @@ declare namespace LocalJSX {
|
|
|
3929
3929
|
/**
|
|
3930
3930
|
* Mode variant of the component, based on current mode.
|
|
3931
3931
|
*/
|
|
3932
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3932
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3933
3933
|
/**
|
|
3934
3934
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3935
3935
|
*/
|
|
@@ -3957,7 +3957,7 @@ declare namespace LocalJSX {
|
|
|
3957
3957
|
/**
|
|
3958
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.
|
|
3959
3959
|
*/
|
|
3960
|
-
"show"?: boolean;
|
|
3960
|
+
"show"?: boolean | null;
|
|
3961
3961
|
/**
|
|
3962
3962
|
* Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
3963
3963
|
*/
|
|
@@ -3979,7 +3979,7 @@ declare namespace LocalJSX {
|
|
|
3979
3979
|
/**
|
|
3980
3980
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3981
3981
|
*/
|
|
3982
|
-
"modifiers"?:
|
|
3982
|
+
"modifiers"?: object[];
|
|
3983
3983
|
/**
|
|
3984
3984
|
* Sets the offset distance
|
|
3985
3985
|
*/
|
|
@@ -4003,7 +4003,7 @@ declare namespace LocalJSX {
|
|
|
4003
4003
|
/**
|
|
4004
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.
|
|
4005
4005
|
*/
|
|
4006
|
-
"show"?: boolean;
|
|
4006
|
+
"show"?: boolean | null;
|
|
4007
4007
|
/**
|
|
4008
4008
|
* What triggers the popover to show
|
|
4009
4009
|
*/
|
|
@@ -4025,7 +4025,7 @@ declare namespace LocalJSX {
|
|
|
4025
4025
|
/**
|
|
4026
4026
|
* Mode variant of the component, based on current mode.
|
|
4027
4027
|
*/
|
|
4028
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4028
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4029
4029
|
/**
|
|
4030
4030
|
* Sets the offset distance
|
|
4031
4031
|
*/
|
|
@@ -4049,7 +4049,7 @@ declare namespace LocalJSX {
|
|
|
4049
4049
|
/**
|
|
4050
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.
|
|
4051
4051
|
*/
|
|
4052
|
-
"show"?: boolean;
|
|
4052
|
+
"show"?: boolean | null;
|
|
4053
4053
|
}
|
|
4054
4054
|
interface TdsPopoverMenuItem {
|
|
4055
4055
|
/**
|
|
@@ -4345,11 +4345,11 @@ declare namespace LocalJSX {
|
|
|
4345
4345
|
/**
|
|
4346
4346
|
* Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
|
|
4347
4347
|
*/
|
|
4348
|
-
"horizontalScrollWidth"?: string;
|
|
4348
|
+
"horizontalScrollWidth"?: string | null;
|
|
4349
4349
|
/**
|
|
4350
4350
|
* Variant of the component, based on current mode.
|
|
4351
4351
|
*/
|
|
4352
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4352
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4353
4353
|
/**
|
|
4354
4354
|
* Enables multiselect feature of Table
|
|
4355
4355
|
*/
|
|
@@ -4401,16 +4401,16 @@ declare namespace LocalJSX {
|
|
|
4401
4401
|
*/
|
|
4402
4402
|
"onTdsClick"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4403
4403
|
event: MouseEvent;
|
|
4404
|
-
tableId: string;
|
|
4404
|
+
tableId: string | undefined;
|
|
4405
4405
|
rowIndex: number;
|
|
4406
4406
|
}>) => void;
|
|
4407
4407
|
/**
|
|
4408
4408
|
* Event emitted when a row is selected/deselected.
|
|
4409
4409
|
*/
|
|
4410
4410
|
"onTdsSelect"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4411
|
-
tableId: string;
|
|
4411
|
+
tableId: string | undefined;
|
|
4412
4412
|
checked: boolean;
|
|
4413
|
-
selectedRows:
|
|
4413
|
+
selectedRows: object[] | undefined;
|
|
4414
4414
|
}>) => void;
|
|
4415
4415
|
/**
|
|
4416
4416
|
* Marks the row as selected, used for multiselect table.
|
|
@@ -4425,7 +4425,7 @@ declare namespace LocalJSX {
|
|
|
4425
4425
|
/**
|
|
4426
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
|
|
4427
4427
|
*/
|
|
4428
|
-
"colSpan"?: number;
|
|
4428
|
+
"colSpan"?: number | null;
|
|
4429
4429
|
/**
|
|
4430
4430
|
* Sets isExpanded state to true or false externally
|
|
4431
4431
|
*/
|
|
@@ -4436,7 +4436,7 @@ declare namespace LocalJSX {
|
|
|
4436
4436
|
"onTdsChange"?: (event: TdsTableBodyRowExpandableCustomEvent<{
|
|
4437
4437
|
rowId: string;
|
|
4438
4438
|
isExpanded: boolean;
|
|
4439
|
-
tableId: string;
|
|
4439
|
+
tableId: string | undefined;
|
|
4440
4440
|
}>) => void;
|
|
4441
4441
|
/**
|
|
4442
4442
|
* Controls the overflow behavior of the expandable row content
|
|
@@ -4455,12 +4455,12 @@ declare namespace LocalJSX {
|
|
|
4455
4455
|
/**
|
|
4456
4456
|
* <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
|
|
4457
4457
|
*/
|
|
4458
|
-
"cols"?: number;
|
|
4458
|
+
"cols"?: number | null;
|
|
4459
4459
|
/**
|
|
4460
4460
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
4461
4461
|
*/
|
|
4462
4462
|
"onTdsPagination"?: (event: TdsTableFooterCustomEvent<{
|
|
4463
|
-
tableId: string;
|
|
4463
|
+
tableId: string | undefined;
|
|
4464
4464
|
paginationValue: number;
|
|
4465
4465
|
rowsPerPage?: number;
|
|
4466
4466
|
}>) => void;
|
|
@@ -4502,9 +4502,9 @@ declare namespace LocalJSX {
|
|
|
4502
4502
|
* Event emitted when the status of the select all checkbox changes.
|
|
4503
4503
|
*/
|
|
4504
4504
|
"onTdsSelectAll"?: (event: TdsTableHeaderCustomEvent<{
|
|
4505
|
-
tableId: string;
|
|
4505
|
+
tableId: string | undefined;
|
|
4506
4506
|
checked: boolean;
|
|
4507
|
-
selectedRows:
|
|
4507
|
+
selectedRows: object[] | undefined;
|
|
4508
4508
|
}>) => void;
|
|
4509
4509
|
/**
|
|
4510
4510
|
* Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
|
|
@@ -4527,7 +4527,7 @@ declare namespace LocalJSX {
|
|
|
4527
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.
|
|
4528
4528
|
*/
|
|
4529
4529
|
"onTdsFilter"?: (event: TdsTableToolbarCustomEvent<{
|
|
4530
|
-
tableId: string;
|
|
4530
|
+
tableId: string | undefined;
|
|
4531
4531
|
query: string;
|
|
4532
4532
|
}>) => void;
|
|
4533
4533
|
/**
|
|
@@ -4597,7 +4597,7 @@ declare namespace LocalJSX {
|
|
|
4597
4597
|
/**
|
|
4598
4598
|
* Mode variant of the Text Field
|
|
4599
4599
|
*/
|
|
4600
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4600
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4601
4601
|
/**
|
|
4602
4602
|
* Name property
|
|
4603
4603
|
*/
|
|
@@ -4691,7 +4691,7 @@ declare namespace LocalJSX {
|
|
|
4691
4691
|
/**
|
|
4692
4692
|
* Mode variant of the Textarea
|
|
4693
4693
|
*/
|
|
4694
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4694
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4695
4695
|
/**
|
|
4696
4696
|
* Name attribute
|
|
4697
4697
|
*/
|
|
@@ -4858,7 +4858,7 @@ declare namespace LocalJSX {
|
|
|
4858
4858
|
/**
|
|
4859
4859
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
4860
4860
|
*/
|
|
4861
|
-
"show"?: boolean;
|
|
4861
|
+
"show"?: boolean | null;
|
|
4862
4862
|
/**
|
|
4863
4863
|
* Sets the aria-describedby attribute
|
|
4864
4864
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initDropdownKeyboard(): void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function tlDropdownSingleScriptDemo(menuId: string): void;
|
|
2
|
+
export declare function tlDropdownMultiScriptDemo(menuId: string): void;
|
|
3
|
+
export declare function tlDropdownFilterSingleScriptDemo(listId: string, inputId: string): void;
|
|
4
|
+
export declare function tlDropdownFilterMultiScriptDemo(listId: string, inputId: string): void;
|
|
@@ -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: HTMLTdsDropdownOptionElement[], nextItemIndex: number) => number | undefined;
|
|
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: HTMLTdsDropdownOptionElement[], previousItemIndex: number) => number | undefined;
|
|
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 | null;
|
|
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 | null;
|
|
30
30
|
export default getPreviousNestedChildOfSiblingsMatching;
|