@scania/tegel 1.42.0 → 1.44.0-sonarcloud-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-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/tds-banner.cjs.entry.js +2 -2
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +6 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- 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-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
- package/dist/cjs/tds-datetime.cjs.entry.js +10 -7
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +55 -37
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -5
- package/dist/cjs/tds-footer-group.cjs.entry.js +7 -6
- 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 +11 -6
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -6
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +9 -5
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +9 -7
- package/dist/cjs/tds-icon.cjs.entry.js +2 -3
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +14 -4
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +8 -7
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +16 -6
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +19 -17
- 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-close-button.cjs.entry.js +1 -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 +9 -5
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +13 -10
- package/dist/cjs/tds-slider.cjs.entry.js +27 -16
- package/dist/cjs/tds-step.cjs.entry.js +3 -1
- package/dist/cjs/tds-stepper.cjs.entry.js +1 -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 +10 -6
- package/dist/cjs/tds-table-footer.cjs.entry.js +16 -9
- 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 +17 -15
- package/dist/cjs/tds-tag.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +49 -23
- package/dist/cjs/tds-textarea.cjs.entry.js +7 -6
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
- package/dist/cjs/tds-tooltip.cjs.entry.js +7 -10
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/banner/banner.js +8 -8
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +3 -3
- package/dist/collection/components/button/button.js +17 -15
- package/dist/collection/components/card/card.js +12 -12
- package/dist/collection/components/checkbox/checkbox.js +14 -13
- package/dist/collection/components/chip/chip.js +11 -11
- package/dist/collection/components/datetime/datetime.js +20 -17
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +14 -11
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +62 -49
- package/dist/collection/components/footer/footer-group/footer-group.js +11 -10
- 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.css +2 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +11 -9
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +9 -9
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +3 -3
- package/dist/collection/components/header/header-item/header-item.js +9 -5
- package/dist/collection/components/header/header-launcher/header-launcher.css +2 -1
- package/dist/collection/components/header/header-launcher/header-launcher.js +10 -6
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.css +1 -1
- package/dist/collection/components/header/header.css +2 -1
- package/dist/collection/components/header/header.js +8 -6
- package/dist/collection/components/icon/icon.js +4 -5
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.css +3 -2
- package/dist/collection/components/message/message.js +8 -8
- package/dist/collection/components/modal/modal.css +2 -3
- package/dist/collection/components/modal/modal.js +20 -15
- package/dist/collection/components/popover-canvas/popover-canvas.js +11 -11
- package/dist/collection/components/popover-core/popover-core.js +31 -34
- package/dist/collection/components/popover-menu/popover-menu.js +11 -11
- package/dist/collection/components/radio-button/radio-button.js +14 -11
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -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 +11 -7
- 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-user/side-menu-user.js +7 -7
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -5
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
- package/dist/collection/components/side-menu/side-menu.css +2 -1
- package/dist/collection/components/side-menu/side-menu.js +12 -9
- package/dist/collection/components/slider/slider.js +27 -16
- package/dist/collection/components/stepper/step/step.js +7 -5
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/table/table.css +2 -1
- package/dist/collection/components/table/table/table.js +40 -22
- package/dist/collection/components/table/table-body/table-body.js +10 -6
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -15
- 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 +25 -18
- package/dist/collection/components/table/table-footer/table-footer.js +21 -14
- package/dist/collection/components/table/table-header/table-header.js +29 -23
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +31 -20
- 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-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +22 -11
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +18 -8
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +20 -10
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.css +8 -0
- package/dist/collection/components/text-field/text-field.js +109 -34
- package/dist/collection/components/textarea/textarea.js +19 -18
- package/dist/collection/components/toast/toast.js +9 -9
- package/dist/collection/components/toggle/toggle.js +11 -10
- package/dist/collection/components/tooltip/tooltip.js +14 -17
- package/dist/collection/tegel-lite/components/tl-dropdown/_dropdownKeyboard.js +190 -0
- package/dist/collection/tegel-lite/components/tl-dropdown/_dropdownScripts.js +304 -0
- package/dist/collection/utils/appendHiddenInput.js +6 -4
- package/dist/components/{p-3f2187a4.js → p-0f9ce30b.js} +1 -1
- package/dist/components/{p-3a7e4d0d.js → p-122f8027.js} +54 -26
- package/dist/components/{p-f7d94947.js → p-2d8f385e.js} +2 -3
- package/dist/components/{p-bff614d5.js → p-32351d04.js} +1 -1
- package/dist/components/{p-63552d0e.js → p-49b20476.js} +5 -5
- package/dist/components/{p-7c3348eb.js → p-4c0aa33f.js} +9 -5
- package/dist/components/{p-04a014cf.js → p-4f672d4f.js} +8 -11
- package/dist/components/{p-44f5b5e1.js → p-542226b2.js} +5 -4
- package/dist/components/{p-1dafdc8c.js → p-5725d7a2.js} +15 -9
- package/dist/components/{p-5ea0ae00.js → p-6fa6de6f.js} +46 -31
- package/dist/components/{p-6ef207b2.js → p-b6a99457.js} +12 -9
- package/dist/components/{p-de86852a.js → p-e0997ae2.js} +2 -2
- package/dist/components/{p-3308d5fa.js → p-e62ed985.js} +19 -17
- package/dist/components/{p-d10d21bd.js → p-f2a10fa2.js} +3 -3
- package/dist/components/{p-c62b61fe.js → p-f6685f1b.js} +7 -5
- package/dist/components/{p-9336db16.js → p-f8db4031.js} +5 -3
- package/dist/components/tds-accordion-item.js +4 -4
- package/dist/components/tds-accordion.js +2 -2
- package/dist/components/tds-banner.js +3 -3
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +7 -6
- package/dist/components/tds-breadcrumbs.js +1 -1
- 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-chip.js +1 -1
- package/dist/components/tds-datetime.js +11 -8
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +2 -2
- package/dist/components/tds-folder-tabs.js +17 -6
- package/dist/components/tds-footer-group.js +8 -7
- 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 +12 -7
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +12 -10
- package/dist/components/tds-header-hamburger.js +3 -3
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +1 -1
- package/dist/components/tds-header-launcher.js +14 -10
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +9 -7
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +15 -5
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +9 -8
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +17 -7
- 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 +2 -2
- 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 +11 -7
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +3 -3
- package/dist/components/tds-side-menu.js +13 -10
- package/dist/components/tds-slider.js +31 -20
- package/dist/components/tds-step.js +4 -2
- package/dist/components/tds-stepper.js +1 -1
- 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 +10 -6
- package/dist/components/tds-table-footer.js +20 -13
- 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 +17 -15
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +10 -9
- package/dist/components/tds-toast.js +4 -4
- 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-item.entry.js +3 -3
- package/dist/esm/tds-accordion.entry.js +2 -2
- package/dist/esm/tds-banner.entry.js +2 -2
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +6 -5
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- 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-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +9 -5
- package/dist/esm/tds-datetime.entry.js +10 -7
- package/dist/esm/tds-dropdown_2.entry.js +55 -37
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +16 -5
- package/dist/esm/tds-footer-group.entry.js +7 -6
- 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 +11 -6
- package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
- package/dist/esm/tds-header-dropdown.entry.js +8 -6
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +9 -5
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +9 -7
- package/dist/esm/tds-icon.entry.js +2 -3
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +14 -4
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +8 -7
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +16 -6
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +19 -17
- 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-close-button.entry.js +1 -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 +9 -5
- package/dist/esm/tds-side-menu-item.entry.js +15 -9
- package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +13 -10
- package/dist/esm/tds-slider.entry.js +27 -16
- package/dist/esm/tds-step.entry.js +3 -1
- package/dist/esm/tds-stepper.entry.js +1 -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 +10 -6
- package/dist/esm/tds-table-footer.entry.js +16 -9
- 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 +17 -15
- package/dist/esm/tds-tag.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +49 -23
- package/dist/esm/tds-textarea.entry.js +7 -6
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +5 -4
- package/dist/esm/tds-tooltip.entry.js +7 -10
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-066e9613.entry.js +1 -0
- package/dist/tegel/p-0684b6d3.entry.js +1 -0
- package/dist/tegel/p-078217d1.entry.js +1 -0
- package/dist/tegel/{p-7887bdbb.entry.js → p-07d16763.entry.js} +1 -1
- package/dist/tegel/{p-c2e514b4.entry.js → p-08c993f3.entry.js} +1 -1
- package/dist/tegel/p-08f5a526.entry.js +1 -0
- package/dist/tegel/p-0e3fcc9f.entry.js +1 -0
- package/dist/tegel/{p-646d1df4.entry.js → p-10340b85.entry.js} +1 -1
- package/dist/tegel/{p-f2318c88.entry.js → p-106dd3e9.entry.js} +1 -1
- package/dist/tegel/p-1073fb33.entry.js +1 -0
- package/dist/tegel/p-15ae9443.entry.js +1 -0
- package/dist/tegel/p-15b9a73b.entry.js +1 -0
- package/dist/tegel/p-17893043.entry.js +1 -0
- package/dist/tegel/p-25928640.entry.js +1 -0
- package/dist/tegel/p-25c4e6f6.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
- package/dist/tegel/{p-f31f56fe.entry.js → p-300af79f.entry.js} +1 -1
- package/dist/tegel/p-336abf3f.entry.js +1 -0
- package/dist/tegel/p-38725623.entry.js +1 -0
- package/dist/tegel/{p-72006dd7.entry.js → p-3ba2e575.entry.js} +1 -1
- package/dist/tegel/p-419212b5.entry.js +1 -0
- package/dist/tegel/p-4909249c.entry.js +1 -0
- package/dist/tegel/p-4a10393b.entry.js +1 -0
- package/dist/tegel/{p-c6968db1.entry.js → p-4a32a7f8.entry.js} +1 -1
- package/dist/tegel/{p-987f8f0f.entry.js → p-4a7c213f.entry.js} +1 -1
- package/dist/tegel/p-4abe96b6.entry.js +1 -0
- package/dist/tegel/p-508a55c0.entry.js +1 -0
- package/dist/tegel/p-576a60ff.entry.js +1 -0
- package/dist/tegel/{p-ca32a270.entry.js → p-57a2d4de.entry.js} +1 -1
- package/dist/tegel/p-5b80467f.entry.js +1 -0
- package/dist/tegel/{p-ca16f1ed.entry.js → p-5bab691f.entry.js} +1 -1
- package/dist/tegel/{p-655051b6.entry.js → p-608997fa.entry.js} +1 -1
- package/dist/tegel/p-63f77d7c.entry.js +1 -0
- package/dist/tegel/p-6bb6425c.entry.js +1 -0
- package/dist/tegel/{p-e6e9d11f.entry.js → p-739068bf.entry.js} +1 -1
- package/dist/tegel/{p-88bb1059.entry.js → p-79fb0088.entry.js} +1 -1
- package/dist/tegel/p-8e930da5.entry.js +1 -0
- package/dist/tegel/p-947ec2b0.entry.js +1 -0
- package/dist/tegel/p-9ec850a5.entry.js +1 -0
- package/dist/tegel/p-9f154997.entry.js +1 -0
- package/dist/tegel/p-a00ad341.entry.js +1 -0
- package/dist/tegel/p-a15280db.entry.js +1 -0
- package/dist/tegel/p-a2aaf61c.entry.js +1 -0
- package/dist/tegel/p-aa795666.entry.js +1 -0
- package/dist/tegel/{p-f8a37d39.entry.js → p-bc697ea7.entry.js} +1 -1
- package/dist/tegel/p-bf40233e.entry.js +1 -0
- package/dist/tegel/{p-177386d5.entry.js → p-c05f61d6.entry.js} +1 -1
- package/dist/tegel/{p-b7abb81f.entry.js → p-c2ab817d.entry.js} +1 -1
- package/dist/tegel/p-c4719b10.entry.js +1 -0
- package/dist/tegel/p-c66b99a8.entry.js +1 -0
- package/dist/tegel/p-c7be09fc.entry.js +1 -0
- package/dist/tegel/p-c8fd6b3b.entry.js +1 -0
- package/dist/tegel/p-caadaf33.entry.js +1 -0
- package/dist/tegel/p-ce6faf0e.entry.js +1 -0
- package/dist/tegel/p-d031a7ca.entry.js +1 -0
- package/dist/tegel/{p-57a28f62.entry.js → p-da72f897.entry.js} +1 -1
- package/dist/tegel/{p-ceed0476.entry.js → p-dc93c6e5.entry.js} +1 -1
- package/dist/tegel/p-ded1191e.entry.js +1 -0
- package/dist/tegel/p-e2a6c30c.entry.js +1 -0
- package/dist/tegel/p-e2db17a5.entry.js +1 -0
- package/dist/tegel/{p-bcd5e06d.entry.js → p-e40d454d.entry.js} +1 -1
- package/dist/tegel/p-e53da1e5.entry.js +1 -0
- package/dist/tegel/{p-e8b58680.entry.js → p-e64c36a3.entry.js} +1 -1
- package/dist/tegel/p-e71f56c7.entry.js +1 -0
- package/dist/tegel/p-ebf13d81.entry.js +1 -0
- package/dist/tegel/{p-28f85555.entry.js → p-ede87410.entry.js} +1 -1
- package/dist/tegel/{p-4b5e15cc.entry.js → p-f1d58cbf.entry.js} +1 -1
- package/dist/tegel/p-f3cf4eba.entry.js +1 -0
- package/dist/tegel/{p-771f53c2.entry.js → p-fc26fb72.entry.js} +1 -1
- package/dist/tegel/p-fd077a19.entry.js +1 -0
- package/dist/tegel/tegel.css +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/banner/banner.d.ts +3 -3
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +5 -5
- package/dist/types/components/card/card.d.ts +5 -5
- package/dist/types/components/checkbox/checkbox.d.ts +4 -4
- package/dist/types/components/chip/chip.d.ts +5 -5
- package/dist/types/components/datetime/datetime.d.ts +6 -6
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +14 -14
- package/dist/types/components/footer/footer-group/footer-group.d.ts +2 -2
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +2 -2
- package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +4 -4
- package/dist/types/components/header/header-hamburger/header-hamburger.d.ts +1 -1
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
- package/dist/types/components/header/header-launcher-button/header-launcher-button.d.ts +1 -1
- package/dist/types/components/header/header-launcher-grid/header-launcher-grid.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +3 -3
- package/dist/types/components/modal/modal.d.ts +4 -4
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -3
- package/dist/types/components/popover-core/popover-core.d.ts +5 -5
- package/dist/types/components/popover-menu/popover-menu.d.ts +3 -3
- package/dist/types/components/radio-button/radio-button.d.ts +5 -5
- package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +1 -1
- package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -3
- package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +2 -2
- package/dist/types/components/side-menu/side-menu-user-label/side-menu-user-label.d.ts +1 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/stepper/step/step.d.ts +6 -6
- package/dist/types/components/table/table/table.d.ts +8 -4
- 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 +12 -9
- 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 +8 -8
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +6 -6
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +11 -11
- 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-tab/folder-tab.d.ts +1 -1
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +3 -3
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +2 -2
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +2 -2
- package/dist/types/components/text-field/text-field.d.ts +18 -7
- package/dist/types/components/textarea/textarea.d.ts +7 -7
- package/dist/types/components/toast/toast.d.ts +3 -3
- package/dist/types/components/toggle/toggle.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +3 -3
- package/dist/types/components.d.ts +207 -184
- package/dist/types/tegel-lite/components/tl-dropdown/_dropdownKeyboard.d.ts +1 -0
- package/dist/types/tegel-lite/components/tl-dropdown/_dropdownScripts.d.ts +4 -0
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/appendHiddenInput.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 +14 -20
- 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-1b471db7.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-379df59b.entry.js +0 -1
- package/dist/tegel/p-3c97cb45.entry.js +0 -1
- package/dist/tegel/p-3e6d65ee.entry.js +0 -1
- package/dist/tegel/p-445fa788.entry.js +0 -1
- package/dist/tegel/p-464469fe.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-51a17707.entry.js +0 -1
- package/dist/tegel/p-52689019.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-6b340718.entry.js +0 -1
- package/dist/tegel/p-743d4f07.entry.js +0 -1
- package/dist/tegel/p-77cfb0ef.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-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-ab00e6e4.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-c23a3f12.entry.js +0 -1
- package/dist/tegel/p-cc962b6c.entry.js +0 -1
- package/dist/tegel/p-cf717912.entry.js +0 -1
- package/dist/tegel/p-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-eb91e33b.entry.js +0 -1
- package/dist/tegel/p-f3c32d4d.entry.js +0 -1
- package/dist/tegel/p-fd15ced7.entry.js +0 -1
|
@@ -6,12 +6,14 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IconNames } from "./types/Icons";
|
|
9
|
+
import { TextAlign } from "./components/table/table/table";
|
|
9
10
|
import { Placement } from "@popperjs/core";
|
|
10
11
|
import { CollapseEvent, InternalTdsSideMenuPropChange } from "./components/side-menu/side-menu";
|
|
11
12
|
import { CollapseEvent as CollapseEvent1 } from "./components/side-menu/side-menu";
|
|
12
13
|
import { InternalTdsStepperPropChange } from "./components/stepper/stepper";
|
|
13
14
|
import { InternalTdsTablePropChange } from "./components/table/table/table";
|
|
14
15
|
export { IconNames } from "./types/Icons";
|
|
16
|
+
export { TextAlign } from "./components/table/table/table";
|
|
15
17
|
export { Placement } from "@popperjs/core";
|
|
16
18
|
export { CollapseEvent, InternalTdsSideMenuPropChange } from "./components/side-menu/side-menu";
|
|
17
19
|
export { CollapseEvent as CollapseEvent1 } from "./components/side-menu/side-menu";
|
|
@@ -26,7 +28,7 @@ export namespace Components {
|
|
|
26
28
|
/**
|
|
27
29
|
* Set the variant of the Accordion.
|
|
28
30
|
*/
|
|
29
|
-
"modeVariant": 'primary' | 'secondary';
|
|
31
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
30
32
|
}
|
|
31
33
|
interface TdsAccordionItem {
|
|
32
34
|
/**
|
|
@@ -96,7 +98,7 @@ export namespace Components {
|
|
|
96
98
|
/**
|
|
97
99
|
* Header text.
|
|
98
100
|
*/
|
|
99
|
-
"header"
|
|
101
|
+
"header"?: string;
|
|
100
102
|
/**
|
|
101
103
|
* Hides the Banner
|
|
102
104
|
*/
|
|
@@ -108,7 +110,7 @@ export namespace Components {
|
|
|
108
110
|
/**
|
|
109
111
|
* Name of the icon for the component. For error and information variant, the icon is predefined.
|
|
110
112
|
*/
|
|
111
|
-
"icon"
|
|
113
|
+
"icon"?: IconNames;
|
|
112
114
|
/**
|
|
113
115
|
* Defines the ARIA role of the banner. Defaults to "banner" for global use, but can be set to "region" or "alert" if used differently.
|
|
114
116
|
*/
|
|
@@ -120,7 +122,7 @@ export namespace Components {
|
|
|
120
122
|
/**
|
|
121
123
|
* Subheader text.
|
|
122
124
|
*/
|
|
123
|
-
"subheader"
|
|
125
|
+
"subheader"?: string;
|
|
124
126
|
/**
|
|
125
127
|
* Variant of Banner
|
|
126
128
|
*/
|
|
@@ -146,17 +148,17 @@ export namespace Components {
|
|
|
146
148
|
/**
|
|
147
149
|
* Mode variant of the component, based on current mode.
|
|
148
150
|
*/
|
|
149
|
-
"modeVariant": 'primary' | 'secondary';
|
|
151
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
150
152
|
}
|
|
151
153
|
interface TdsBodyCell {
|
|
152
154
|
/**
|
|
153
155
|
* Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
|
|
154
156
|
*/
|
|
155
|
-
"cellKey"
|
|
157
|
+
"cellKey"?: string;
|
|
156
158
|
/**
|
|
157
159
|
* Value that will be presented as text inside a cell
|
|
158
160
|
*/
|
|
159
|
-
"cellValue"
|
|
161
|
+
"cellValue"?: string | number;
|
|
160
162
|
/**
|
|
161
163
|
* Disables internal padding. Useful when passing other components to cell.
|
|
162
164
|
*/
|
|
@@ -164,7 +166,7 @@ export namespace Components {
|
|
|
164
166
|
/**
|
|
165
167
|
* Setting for text align, default value "left". Other accepted values are "left", "start", "right", "end" or "center".
|
|
166
168
|
*/
|
|
167
|
-
"textAlign"
|
|
169
|
+
"textAlign"?: TextAlign;
|
|
168
170
|
}
|
|
169
171
|
interface TdsBreadcrumb {
|
|
170
172
|
/**
|
|
@@ -176,7 +178,7 @@ export namespace Components {
|
|
|
176
178
|
/**
|
|
177
179
|
* The value to be used for the aria-label attribute
|
|
178
180
|
*/
|
|
179
|
-
"tdsAriaLabel"
|
|
181
|
+
"tdsAriaLabel"?: string;
|
|
180
182
|
}
|
|
181
183
|
interface TdsButton {
|
|
182
184
|
/**
|
|
@@ -194,11 +196,11 @@ export namespace Components {
|
|
|
194
196
|
/**
|
|
195
197
|
* Set the mode variant of the Button.
|
|
196
198
|
*/
|
|
197
|
-
"modeVariant": 'primary' | 'secondary';
|
|
199
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
198
200
|
/**
|
|
199
201
|
* The name attribute allows for different ways of accessing the button element
|
|
200
202
|
*/
|
|
201
|
-
"name"
|
|
203
|
+
"name"?: string;
|
|
202
204
|
/**
|
|
203
205
|
* Size of a Button
|
|
204
206
|
*/
|
|
@@ -206,11 +208,11 @@ export namespace Components {
|
|
|
206
208
|
/**
|
|
207
209
|
* The value to be used for the aria-label attribute if onlyIcon is set to true
|
|
208
210
|
*/
|
|
209
|
-
"tdsAriaLabel"
|
|
211
|
+
"tdsAriaLabel"?: string;
|
|
210
212
|
/**
|
|
211
213
|
* Text displayed inside the Button
|
|
212
214
|
*/
|
|
213
|
-
"text"
|
|
215
|
+
"text"?: string;
|
|
214
216
|
/**
|
|
215
217
|
* Button's type
|
|
216
218
|
*/
|
|
@@ -218,7 +220,7 @@ export namespace Components {
|
|
|
218
220
|
/**
|
|
219
221
|
* The value attribute can be used when handling a form submission
|
|
220
222
|
*/
|
|
221
|
-
"value"
|
|
223
|
+
"value"?: string;
|
|
222
224
|
/**
|
|
223
225
|
* Variation of Button's design
|
|
224
226
|
*/
|
|
@@ -232,11 +234,11 @@ export namespace Components {
|
|
|
232
234
|
/**
|
|
233
235
|
* Body image src
|
|
234
236
|
*/
|
|
235
|
-
"bodyImg"
|
|
237
|
+
"bodyImg"?: string;
|
|
236
238
|
/**
|
|
237
239
|
* Alt text for the body image
|
|
238
240
|
*/
|
|
239
|
-
"bodyImgAlt"
|
|
241
|
+
"bodyImgAlt"?: string;
|
|
240
242
|
/**
|
|
241
243
|
* ID for the Card, must be unique. **NOTE**: If you're listening for Card events, you need to set this ID yourself to identify the Card, as the default ID is random and will be different every time.
|
|
242
244
|
*/
|
|
@@ -256,7 +258,7 @@ export namespace Components {
|
|
|
256
258
|
/**
|
|
257
259
|
* Text in the header
|
|
258
260
|
*/
|
|
259
|
-
"header"
|
|
261
|
+
"header"?: string;
|
|
260
262
|
/**
|
|
261
263
|
* Placement of the header
|
|
262
264
|
*/
|
|
@@ -264,12 +266,12 @@ export namespace Components {
|
|
|
264
266
|
/**
|
|
265
267
|
* Variant of the Card based on the theme used.
|
|
266
268
|
*/
|
|
267
|
-
"modeVariant": 'primary' | 'secondary';
|
|
269
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
268
270
|
"stretch": boolean;
|
|
269
271
|
/**
|
|
270
272
|
* Subheader text in the header
|
|
271
273
|
*/
|
|
272
|
-
"subheader"
|
|
274
|
+
"subheader"?: string;
|
|
273
275
|
}
|
|
274
276
|
interface TdsCheckbox {
|
|
275
277
|
/**
|
|
@@ -295,7 +297,7 @@ export namespace Components {
|
|
|
295
297
|
/**
|
|
296
298
|
* Name for the Checkbox's input element.
|
|
297
299
|
*/
|
|
298
|
-
"name"
|
|
300
|
+
"name"?: string;
|
|
299
301
|
/**
|
|
300
302
|
* Make the Checkbox required
|
|
301
303
|
*/
|
|
@@ -303,11 +305,11 @@ export namespace Components {
|
|
|
303
305
|
/**
|
|
304
306
|
* Value to be used for the aria-describedby attribute
|
|
305
307
|
*/
|
|
306
|
-
"tdsAriaDescribedby"
|
|
308
|
+
"tdsAriaDescribedby"?: string;
|
|
307
309
|
/**
|
|
308
310
|
* Value to be used for the aria-label attribute
|
|
309
311
|
*/
|
|
310
|
-
"tdsAriaLabel"
|
|
312
|
+
"tdsAriaLabel"?: string;
|
|
311
313
|
/**
|
|
312
314
|
* Toggles the checked value of the component.
|
|
313
315
|
*/
|
|
@@ -315,7 +317,7 @@ export namespace Components {
|
|
|
315
317
|
/**
|
|
316
318
|
* Value for the Checkbox
|
|
317
319
|
*/
|
|
318
|
-
"value"
|
|
320
|
+
"value"?: string;
|
|
319
321
|
}
|
|
320
322
|
interface TdsChip {
|
|
321
323
|
/**
|
|
@@ -333,7 +335,7 @@ export namespace Components {
|
|
|
333
335
|
/**
|
|
334
336
|
* Name for the checkbox or radio input element. Also creates a reference between label and input. Valid only for type checkbox and radio.
|
|
335
337
|
*/
|
|
336
|
-
"name"
|
|
338
|
+
"name"?: string;
|
|
337
339
|
/**
|
|
338
340
|
* Size of the Chip component
|
|
339
341
|
*/
|
|
@@ -341,7 +343,7 @@ export namespace Components {
|
|
|
341
343
|
/**
|
|
342
344
|
* Value to be used for the aria-label attribute
|
|
343
345
|
*/
|
|
344
|
-
"tdsAriaLabel"
|
|
346
|
+
"tdsAriaLabel"?: string;
|
|
345
347
|
/**
|
|
346
348
|
* Type of Chip, depends on usage
|
|
347
349
|
*/
|
|
@@ -349,7 +351,7 @@ export namespace Components {
|
|
|
349
351
|
/**
|
|
350
352
|
* Value of input. Valid only for type checkbox and radio.
|
|
351
353
|
*/
|
|
352
|
-
"value"
|
|
354
|
+
"value"?: string;
|
|
353
355
|
}
|
|
354
356
|
interface TdsCoreHeaderItem {
|
|
355
357
|
}
|
|
@@ -385,15 +387,15 @@ export namespace Components {
|
|
|
385
387
|
/**
|
|
386
388
|
* Sets max value. Example for different types: datetime="2023-01-31T00:00" date="2023-01-01" time="15:00"
|
|
387
389
|
*/
|
|
388
|
-
"max"
|
|
390
|
+
"max"?: string;
|
|
389
391
|
/**
|
|
390
392
|
* Sets min value. Example for different types: datetime="2023-01-31T00:00" date="2023-01-01" time="15:00"
|
|
391
393
|
*/
|
|
392
|
-
"min"
|
|
394
|
+
"min"?: string;
|
|
393
395
|
/**
|
|
394
396
|
* Set the variant of the Datetime component.
|
|
395
397
|
*/
|
|
396
|
-
"modeVariant": 'primary' | 'secondary';
|
|
398
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
397
399
|
/**
|
|
398
400
|
* Name property. Uses a unique ID as fallback if not specified.
|
|
399
401
|
*/
|
|
@@ -417,11 +419,11 @@ export namespace Components {
|
|
|
417
419
|
/**
|
|
418
420
|
* Error state of input
|
|
419
421
|
*/
|
|
420
|
-
"state"
|
|
422
|
+
"state"?: string;
|
|
421
423
|
/**
|
|
422
424
|
* Value for the aria-label attribute
|
|
423
425
|
*/
|
|
424
|
-
"tdsAriaLabel"
|
|
426
|
+
"tdsAriaLabel"?: string;
|
|
425
427
|
/**
|
|
426
428
|
* Sets an input type
|
|
427
429
|
*/
|
|
@@ -451,7 +453,7 @@ export namespace Components {
|
|
|
451
453
|
/**
|
|
452
454
|
* Default value selected in the Dropdown.
|
|
453
455
|
*/
|
|
454
|
-
"defaultValue"
|
|
456
|
+
"defaultValue"?: string | number;
|
|
455
457
|
/**
|
|
456
458
|
* Sets the Dropdown in a disabled state
|
|
457
459
|
*/
|
|
@@ -471,19 +473,19 @@ export namespace Components {
|
|
|
471
473
|
/**
|
|
472
474
|
* Helper text for the Dropdown.
|
|
473
475
|
*/
|
|
474
|
-
"helper"
|
|
476
|
+
"helper"?: string;
|
|
475
477
|
/**
|
|
476
478
|
* Label text for the Dropdown.
|
|
477
479
|
*/
|
|
478
|
-
"label"
|
|
480
|
+
"label"?: string;
|
|
479
481
|
/**
|
|
480
482
|
* Label text position
|
|
481
483
|
*/
|
|
482
|
-
"labelPosition"
|
|
484
|
+
"labelPosition"?: 'inside' | 'outside';
|
|
483
485
|
/**
|
|
484
486
|
* Mode variant of the component, based on current mode.
|
|
485
487
|
*/
|
|
486
|
-
"modeVariant": 'primary' | 'secondary';
|
|
488
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
487
489
|
/**
|
|
488
490
|
* Enables multiselect in the Dropdown.
|
|
489
491
|
*/
|
|
@@ -491,7 +493,7 @@ export namespace Components {
|
|
|
491
493
|
/**
|
|
492
494
|
* Name for the Dropdowns input element.
|
|
493
495
|
*/
|
|
494
|
-
"name"
|
|
496
|
+
"name"?: string;
|
|
495
497
|
/**
|
|
496
498
|
* Text that is displayed if filter is used and there are no options that matches the search. Setting it to an empty string disables message from showing up.
|
|
497
499
|
*/
|
|
@@ -507,13 +509,13 @@ export namespace Components {
|
|
|
507
509
|
/**
|
|
508
510
|
* Placeholder text for the Dropdown.
|
|
509
511
|
*/
|
|
510
|
-
"placeholder"
|
|
512
|
+
"placeholder"?: string;
|
|
511
513
|
"removeValue": (oldValue: string) => Promise<void>;
|
|
512
514
|
"reset": () => Promise<void>;
|
|
513
515
|
/**
|
|
514
516
|
* 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
517
|
*/
|
|
516
|
-
"setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string; }[]>;
|
|
518
|
+
"setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number | undefined; label: string | undefined; }[]>;
|
|
517
519
|
/**
|
|
518
520
|
* The size of the Dropdown.
|
|
519
521
|
*/
|
|
@@ -521,7 +523,7 @@ export namespace Components {
|
|
|
521
523
|
/**
|
|
522
524
|
* Defines aria-label attribute for input
|
|
523
525
|
*/
|
|
524
|
-
"tdsAriaLabel"
|
|
526
|
+
"tdsAriaLabel"?: string;
|
|
525
527
|
/**
|
|
526
528
|
* Method to force update the dropdown display value. Use this method when you programmatically change the text content of dropdown options to ensure the selected value display updates immediately.
|
|
527
529
|
*/
|
|
@@ -529,7 +531,7 @@ export namespace Components {
|
|
|
529
531
|
/**
|
|
530
532
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
531
533
|
*/
|
|
532
|
-
"value": string | number | (string | number)[];
|
|
534
|
+
"value": string | number | (string | number)[] | null;
|
|
533
535
|
}
|
|
534
536
|
interface TdsDropdownOption {
|
|
535
537
|
/**
|
|
@@ -543,11 +545,11 @@ export namespace Components {
|
|
|
543
545
|
/**
|
|
544
546
|
* Defines aria-label attribute for the option
|
|
545
547
|
*/
|
|
546
|
-
"tdsAriaLabel"
|
|
548
|
+
"tdsAriaLabel"?: string;
|
|
547
549
|
/**
|
|
548
550
|
* Value of the dropdown option
|
|
549
551
|
*/
|
|
550
|
-
"value"
|
|
552
|
+
"value"?: string | number;
|
|
551
553
|
}
|
|
552
554
|
interface TdsFolderTab {
|
|
553
555
|
/**
|
|
@@ -565,7 +567,7 @@ export namespace Components {
|
|
|
565
567
|
/**
|
|
566
568
|
* Variant of the Tabs, primary= on white, secondary= on grey50
|
|
567
569
|
*/
|
|
568
|
-
"modeVariant": 'primary' | 'secondary';
|
|
570
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
569
571
|
/**
|
|
570
572
|
* Reinitializes the component.
|
|
571
573
|
*/
|
|
@@ -573,11 +575,11 @@ export namespace Components {
|
|
|
573
575
|
/**
|
|
574
576
|
* Sets the passed tabindex as the selected Tab.
|
|
575
577
|
*/
|
|
576
|
-
"selectTab": (tabIndex: number) => Promise<{ selectedTabIndex: number; }>;
|
|
578
|
+
"selectTab": (tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>;
|
|
577
579
|
/**
|
|
578
580
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
579
581
|
*/
|
|
580
|
-
"selectedIndex"
|
|
582
|
+
"selectedIndex"?: number;
|
|
581
583
|
/**
|
|
582
584
|
* Defines aria-label on left scroll button
|
|
583
585
|
*/
|
|
@@ -591,17 +593,17 @@ export namespace Components {
|
|
|
591
593
|
/**
|
|
592
594
|
* Mode variant of the component, based on current mode.
|
|
593
595
|
*/
|
|
594
|
-
"modeVariant": 'primary' | 'secondary';
|
|
596
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
595
597
|
}
|
|
596
598
|
interface TdsFooterGroup {
|
|
597
599
|
/**
|
|
598
600
|
* Value to be used for the aria-label attribute for the nav element wrapping the list. Should be unique for accessibility.
|
|
599
601
|
*/
|
|
600
|
-
"tdsListAriaLabel"
|
|
602
|
+
"tdsListAriaLabel"?: string;
|
|
601
603
|
/**
|
|
602
604
|
* Title text for the link group, only valid on top part of Footer.
|
|
603
605
|
*/
|
|
604
|
-
"titleText"
|
|
606
|
+
"titleText"?: string;
|
|
605
607
|
}
|
|
606
608
|
interface TdsFooterItem {
|
|
607
609
|
}
|
|
@@ -637,13 +639,13 @@ export namespace Components {
|
|
|
637
639
|
/**
|
|
638
640
|
* Setting for text align, default is "left". Other accepted values are "left", "start", "right" or "end".
|
|
639
641
|
*/
|
|
640
|
-
"textAlign":
|
|
642
|
+
"textAlign": TextAlign;
|
|
641
643
|
}
|
|
642
644
|
interface TdsHeaderDropdown {
|
|
643
645
|
/**
|
|
644
646
|
* The label of the button that opens the dropdown. This is an alternative to the label slot.
|
|
645
647
|
*/
|
|
646
|
-
"label"
|
|
648
|
+
"label"?: string;
|
|
647
649
|
/**
|
|
648
650
|
* If the dropdown icon (downwards chevron) should be hidden.
|
|
649
651
|
*/
|
|
@@ -655,7 +657,7 @@ export namespace Components {
|
|
|
655
657
|
/**
|
|
656
658
|
* Value to be used by the aria-label attribute
|
|
657
659
|
*/
|
|
658
|
-
"tdsAriaLabel"
|
|
660
|
+
"tdsAriaLabel"?: string;
|
|
659
661
|
}
|
|
660
662
|
interface TdsHeaderDropdownList {
|
|
661
663
|
/**
|
|
@@ -677,25 +679,25 @@ export namespace Components {
|
|
|
677
679
|
/**
|
|
678
680
|
* Header text, usually the users first name and last name.
|
|
679
681
|
*/
|
|
680
|
-
"header"
|
|
682
|
+
"header"?: string;
|
|
681
683
|
/**
|
|
682
684
|
* Image alt text.
|
|
683
685
|
*/
|
|
684
|
-
"imgAlt"
|
|
686
|
+
"imgAlt"?: string;
|
|
685
687
|
/**
|
|
686
688
|
* Image URL.
|
|
687
689
|
*/
|
|
688
|
-
"imgUrl"
|
|
690
|
+
"imgUrl"?: string;
|
|
689
691
|
/**
|
|
690
692
|
* Subheader text.
|
|
691
693
|
*/
|
|
692
|
-
"subheader"
|
|
694
|
+
"subheader"?: string;
|
|
693
695
|
}
|
|
694
696
|
interface TdsHeaderHamburger {
|
|
695
697
|
/**
|
|
696
698
|
* Value to be used by the aria-label attribute
|
|
697
699
|
*/
|
|
698
|
-
"tdsAriaLabel"
|
|
700
|
+
"tdsAriaLabel"?: string;
|
|
699
701
|
}
|
|
700
702
|
interface TdsHeaderItem {
|
|
701
703
|
/**
|
|
@@ -711,7 +713,7 @@ export namespace Components {
|
|
|
711
713
|
/**
|
|
712
714
|
* Value to be used by the aria-label attribute of the launcher button
|
|
713
715
|
*/
|
|
714
|
-
"tdsAriaLabel"
|
|
716
|
+
"tdsAriaLabel"?: string;
|
|
715
717
|
}
|
|
716
718
|
interface TdsHeaderLauncherButton {
|
|
717
719
|
/**
|
|
@@ -721,7 +723,7 @@ export namespace Components {
|
|
|
721
723
|
/**
|
|
722
724
|
* Value to be used by the aria-label attribute
|
|
723
725
|
*/
|
|
724
|
-
"tdsAriaLabel"
|
|
726
|
+
"tdsAriaLabel"?: string;
|
|
725
727
|
}
|
|
726
728
|
interface TdsHeaderLauncherGrid {
|
|
727
729
|
}
|
|
@@ -786,11 +788,11 @@ export namespace Components {
|
|
|
786
788
|
/**
|
|
787
789
|
* Selects a Tab based on tabindex, will not select a disabled Tab.
|
|
788
790
|
*/
|
|
789
|
-
"selectTab": (tabIndex: number) => Promise<{ selectedTabIndex: number; }>;
|
|
791
|
+
"selectTab": (tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>;
|
|
790
792
|
/**
|
|
791
793
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
792
794
|
*/
|
|
793
|
-
"selectedIndex"
|
|
795
|
+
"selectedIndex"?: number;
|
|
794
796
|
/**
|
|
795
797
|
* Defines aria-label on left scroll button
|
|
796
798
|
*/
|
|
@@ -818,7 +820,7 @@ export namespace Components {
|
|
|
818
820
|
/**
|
|
819
821
|
* Header text for the component.
|
|
820
822
|
*/
|
|
821
|
-
"header"
|
|
823
|
+
"header"?: string;
|
|
822
824
|
/**
|
|
823
825
|
* Minimal Message styling.
|
|
824
826
|
*/
|
|
@@ -826,7 +828,7 @@ export namespace Components {
|
|
|
826
828
|
/**
|
|
827
829
|
* Variant of the component, based on current mode.
|
|
828
830
|
*/
|
|
829
|
-
"modeVariant": 'primary' | 'secondary';
|
|
831
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
830
832
|
/**
|
|
831
833
|
* Removes the icon in the Message.
|
|
832
834
|
*/
|
|
@@ -838,7 +840,7 @@ export namespace Components {
|
|
|
838
840
|
/**
|
|
839
841
|
* Provides an accessible name for the message component when no header is present. This ensures proper screen reader support for dialog/alertdialog roles.
|
|
840
842
|
*/
|
|
841
|
-
"tdsAriaLabel"
|
|
843
|
+
"tdsAriaLabel"?: string;
|
|
842
844
|
/**
|
|
843
845
|
* Variant of Message.
|
|
844
846
|
*/
|
|
@@ -864,7 +866,7 @@ export namespace Components {
|
|
|
864
866
|
/**
|
|
865
867
|
* Sets the header of the Modal.
|
|
866
868
|
*/
|
|
867
|
-
"header"
|
|
869
|
+
"header"?: string;
|
|
868
870
|
/**
|
|
869
871
|
* Initializes or re-initializes the modal, setting up event listeners.
|
|
870
872
|
*/
|
|
@@ -884,11 +886,11 @@ export namespace Components {
|
|
|
884
886
|
/**
|
|
885
887
|
* CSS selector for the element that will show the Modal.
|
|
886
888
|
*/
|
|
887
|
-
"selector"
|
|
889
|
+
"selector"?: string;
|
|
888
890
|
/**
|
|
889
891
|
* Controls whether the Modal 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.
|
|
890
892
|
*/
|
|
891
|
-
"show"
|
|
893
|
+
"show"?: boolean;
|
|
892
894
|
/**
|
|
893
895
|
* Shows the Modal.
|
|
894
896
|
*/
|
|
@@ -929,11 +931,11 @@ export namespace Components {
|
|
|
929
931
|
/**
|
|
930
932
|
* Sets the passed tabindex as the selected Tab.
|
|
931
933
|
*/
|
|
932
|
-
"selectTab": (tabIndex: number) => Promise<{ selectedTabIndex: number; }>;
|
|
934
|
+
"selectTab": (tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>;
|
|
933
935
|
/**
|
|
934
936
|
* Sets the selected Tab. If this is set, all Tab changes need to be handled by the user.
|
|
935
937
|
*/
|
|
936
|
-
"selectedIndex"
|
|
938
|
+
"selectedIndex"?: number;
|
|
937
939
|
/**
|
|
938
940
|
* Defines aria-label on left scroll button
|
|
939
941
|
*/
|
|
@@ -959,7 +961,7 @@ export namespace Components {
|
|
|
959
961
|
/**
|
|
960
962
|
* Mode variant of the component, based on current mode.
|
|
961
963
|
*/
|
|
962
|
-
"modeVariant": 'primary' | 'secondary';
|
|
964
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
963
965
|
/**
|
|
964
966
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
965
967
|
*/
|
|
@@ -983,11 +985,11 @@ export namespace Components {
|
|
|
983
985
|
/**
|
|
984
986
|
* The CSS-selector for an element that will trigger the Popover
|
|
985
987
|
*/
|
|
986
|
-
"selector"
|
|
988
|
+
"selector"?: string;
|
|
987
989
|
/**
|
|
988
990
|
* 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
991
|
*/
|
|
990
|
-
"show": boolean;
|
|
992
|
+
"show": boolean | null;
|
|
991
993
|
/**
|
|
992
994
|
* Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
993
995
|
*/
|
|
@@ -1013,7 +1015,7 @@ export namespace Components {
|
|
|
1013
1015
|
/**
|
|
1014
1016
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
1015
1017
|
*/
|
|
1016
|
-
"modifiers":
|
|
1018
|
+
"modifiers": object[];
|
|
1017
1019
|
/**
|
|
1018
1020
|
* Sets the offset distance
|
|
1019
1021
|
*/
|
|
@@ -1033,11 +1035,11 @@ export namespace Components {
|
|
|
1033
1035
|
/**
|
|
1034
1036
|
* The CSS-selector for an element that will trigger the pop-over
|
|
1035
1037
|
*/
|
|
1036
|
-
"selector"
|
|
1038
|
+
"selector"?: string;
|
|
1037
1039
|
/**
|
|
1038
1040
|
* 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
1041
|
*/
|
|
1040
|
-
"show": boolean;
|
|
1042
|
+
"show": boolean | null;
|
|
1041
1043
|
/**
|
|
1042
1044
|
* What triggers the popover to show
|
|
1043
1045
|
*/
|
|
@@ -1063,7 +1065,7 @@ export namespace Components {
|
|
|
1063
1065
|
/**
|
|
1064
1066
|
* Mode variant of the component, based on current mode.
|
|
1065
1067
|
*/
|
|
1066
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1068
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
1067
1069
|
/**
|
|
1068
1070
|
* Sets the offset distance
|
|
1069
1071
|
*/
|
|
@@ -1083,11 +1085,11 @@ export namespace Components {
|
|
|
1083
1085
|
/**
|
|
1084
1086
|
* The CSS-selector for an element that will trigger the pop-over
|
|
1085
1087
|
*/
|
|
1086
|
-
"selector"
|
|
1088
|
+
"selector"?: string;
|
|
1087
1089
|
/**
|
|
1088
1090
|
* 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
1091
|
*/
|
|
1090
|
-
"show": boolean;
|
|
1092
|
+
"show": boolean | null;
|
|
1091
1093
|
}
|
|
1092
1094
|
interface TdsPopoverMenuItem {
|
|
1093
1095
|
/**
|
|
@@ -1111,7 +1113,7 @@ export namespace Components {
|
|
|
1111
1113
|
/**
|
|
1112
1114
|
* Name of Radio Button, used for reference.
|
|
1113
1115
|
*/
|
|
1114
|
-
"name"
|
|
1116
|
+
"name"?: string;
|
|
1115
1117
|
/**
|
|
1116
1118
|
* Unique Radio Button identifier.
|
|
1117
1119
|
*/
|
|
@@ -1123,15 +1125,15 @@ export namespace Components {
|
|
|
1123
1125
|
/**
|
|
1124
1126
|
* Provides an accessible name for the component
|
|
1125
1127
|
*/
|
|
1126
|
-
"tdsAriaLabel"
|
|
1128
|
+
"tdsAriaLabel"?: string;
|
|
1127
1129
|
/**
|
|
1128
1130
|
* Provides a tabindex used when radio buttons are grouped
|
|
1129
1131
|
*/
|
|
1130
|
-
"tdsTabIndex"
|
|
1132
|
+
"tdsTabIndex"?: number;
|
|
1131
1133
|
/**
|
|
1132
1134
|
* Value of input.
|
|
1133
1135
|
*/
|
|
1134
|
-
"value"
|
|
1136
|
+
"value"?: string;
|
|
1135
1137
|
}
|
|
1136
1138
|
interface TdsSideMenu {
|
|
1137
1139
|
/**
|
|
@@ -1155,7 +1157,7 @@ export namespace Components {
|
|
|
1155
1157
|
/**
|
|
1156
1158
|
* The label of the button that opens the dropdown. This is an alternative to the label slot.
|
|
1157
1159
|
*/
|
|
1158
|
-
"buttonLabel"
|
|
1160
|
+
"buttonLabel"?: string;
|
|
1159
1161
|
/**
|
|
1160
1162
|
* If the dropdown should be open from the start.
|
|
1161
1163
|
*/
|
|
@@ -1197,25 +1199,25 @@ export namespace Components {
|
|
|
1197
1199
|
/**
|
|
1198
1200
|
* The image alt text.
|
|
1199
1201
|
*/
|
|
1200
|
-
"imgAlt"
|
|
1202
|
+
"imgAlt"?: string;
|
|
1201
1203
|
/**
|
|
1202
1204
|
* The image source.
|
|
1203
1205
|
*/
|
|
1204
|
-
"imgSrc"
|
|
1206
|
+
"imgSrc"?: string;
|
|
1205
1207
|
/**
|
|
1206
1208
|
* The subheading text.
|
|
1207
1209
|
*/
|
|
1208
|
-
"subheading"
|
|
1210
|
+
"subheading"?: string;
|
|
1209
1211
|
}
|
|
1210
1212
|
interface TdsSideMenuUserImage {
|
|
1211
1213
|
/**
|
|
1212
1214
|
* The image alt text.
|
|
1213
1215
|
*/
|
|
1214
|
-
"alt"
|
|
1216
|
+
"alt"?: string;
|
|
1215
1217
|
/**
|
|
1216
1218
|
* The image source.
|
|
1217
1219
|
*/
|
|
1218
|
-
"src"
|
|
1220
|
+
"src"?: string;
|
|
1219
1221
|
}
|
|
1220
1222
|
interface TdsSideMenuUserLabel {
|
|
1221
1223
|
/**
|
|
@@ -1225,7 +1227,7 @@ export namespace Components {
|
|
|
1225
1227
|
/**
|
|
1226
1228
|
* The subheading text.
|
|
1227
1229
|
*/
|
|
1228
|
-
"subheading"
|
|
1230
|
+
"subheading"?: string;
|
|
1229
1231
|
}
|
|
1230
1232
|
interface TdsSlider {
|
|
1231
1233
|
/**
|
|
@@ -1319,12 +1321,12 @@ export namespace Components {
|
|
|
1319
1321
|
/**
|
|
1320
1322
|
* Index of the step. Will be displayed in the step if the state is current/upcoming.
|
|
1321
1323
|
*/
|
|
1322
|
-
"index"
|
|
1324
|
+
"index"?: string;
|
|
1323
1325
|
/**
|
|
1324
1326
|
* State of the Step
|
|
1325
1327
|
*/
|
|
1326
1328
|
"state": 'current' | 'error' | 'success' | 'upcoming';
|
|
1327
|
-
"tdsAriaCurrent"
|
|
1329
|
+
"tdsAriaCurrent"?: string;
|
|
1328
1330
|
}
|
|
1329
1331
|
interface TdsStepper {
|
|
1330
1332
|
/**
|
|
@@ -1364,15 +1366,15 @@ export namespace Components {
|
|
|
1364
1366
|
/**
|
|
1365
1367
|
* Returns all selected rows data.
|
|
1366
1368
|
*/
|
|
1367
|
-
"getSelectedRows": () => Promise<
|
|
1369
|
+
"getSelectedRows": () => Promise<{ cellKey: string; cellValue: string | number; }[][]>;
|
|
1368
1370
|
/**
|
|
1369
1371
|
* Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
|
|
1370
1372
|
*/
|
|
1371
|
-
"horizontalScrollWidth"?: string;
|
|
1373
|
+
"horizontalScrollWidth"?: string | null;
|
|
1372
1374
|
/**
|
|
1373
1375
|
* Variant of the component, based on current mode.
|
|
1374
1376
|
*/
|
|
1375
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1377
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
1376
1378
|
/**
|
|
1377
1379
|
* Enables multiselect feature of Table
|
|
1378
1380
|
*/
|
|
@@ -1380,7 +1382,7 @@ export namespace Components {
|
|
|
1380
1382
|
/**
|
|
1381
1383
|
* Enables to customize width on Table columns
|
|
1382
1384
|
*/
|
|
1383
|
-
"noMinWidth"
|
|
1385
|
+
"noMinWidth"?: boolean;
|
|
1384
1386
|
/**
|
|
1385
1387
|
* Enables Table to take 100% available width with equal spacing of columns
|
|
1386
1388
|
*/
|
|
@@ -1432,7 +1434,7 @@ export namespace Components {
|
|
|
1432
1434
|
/**
|
|
1433
1435
|
* 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
1436
|
*/
|
|
1435
|
-
"colSpan": number;
|
|
1437
|
+
"colSpan": number | null;
|
|
1436
1438
|
/**
|
|
1437
1439
|
* Method to collapse table row
|
|
1438
1440
|
*/
|
|
@@ -1444,7 +1446,7 @@ export namespace Components {
|
|
|
1444
1446
|
/**
|
|
1445
1447
|
* Sets isExpanded state to true or false externally
|
|
1446
1448
|
*/
|
|
1447
|
-
"expanded"
|
|
1449
|
+
"expanded"?: boolean;
|
|
1448
1450
|
/**
|
|
1449
1451
|
* Controls the overflow behavior of the expandable row content
|
|
1450
1452
|
*/
|
|
@@ -1462,7 +1464,7 @@ export namespace Components {
|
|
|
1462
1464
|
/**
|
|
1463
1465
|
* <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
|
|
1464
1466
|
*/
|
|
1465
|
-
"cols": number;
|
|
1467
|
+
"cols": number | null;
|
|
1466
1468
|
/**
|
|
1467
1469
|
* Sets the number of pages.
|
|
1468
1470
|
*/
|
|
@@ -1500,7 +1502,7 @@ export namespace Components {
|
|
|
1500
1502
|
/**
|
|
1501
1503
|
* Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
|
|
1502
1504
|
*/
|
|
1503
|
-
"selected"
|
|
1505
|
+
"selected"?: boolean;
|
|
1504
1506
|
}
|
|
1505
1507
|
interface TdsTableHeaderInputWrapper {
|
|
1506
1508
|
"compactDesign": boolean;
|
|
@@ -1557,7 +1559,11 @@ export namespace Components {
|
|
|
1557
1559
|
/**
|
|
1558
1560
|
* Helper text
|
|
1559
1561
|
*/
|
|
1560
|
-
"helper"
|
|
1562
|
+
"helper"?: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* Hides the native arrows on number input type
|
|
1565
|
+
*/
|
|
1566
|
+
"hideNumberArrows": boolean;
|
|
1561
1567
|
/**
|
|
1562
1568
|
* Hides the read-only icon in the Text Field. Requires Read Only to be enabled.
|
|
1563
1569
|
*/
|
|
@@ -1573,19 +1579,19 @@ export namespace Components {
|
|
|
1573
1579
|
/**
|
|
1574
1580
|
* Max allowed value for input type number
|
|
1575
1581
|
*/
|
|
1576
|
-
"max"
|
|
1582
|
+
"max"?: string | number;
|
|
1577
1583
|
/**
|
|
1578
1584
|
* Max length of input
|
|
1579
1585
|
*/
|
|
1580
|
-
"maxLength"
|
|
1586
|
+
"maxLength"?: number;
|
|
1581
1587
|
/**
|
|
1582
1588
|
* Min allowed value for input type number
|
|
1583
1589
|
*/
|
|
1584
|
-
"min"
|
|
1590
|
+
"min"?: string | number;
|
|
1585
1591
|
/**
|
|
1586
1592
|
* Mode variant of the Text Field
|
|
1587
1593
|
*/
|
|
1588
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1594
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
1589
1595
|
/**
|
|
1590
1596
|
* Name property
|
|
1591
1597
|
*/
|
|
@@ -1614,10 +1620,14 @@ export namespace Components {
|
|
|
1614
1620
|
* Error state of input
|
|
1615
1621
|
*/
|
|
1616
1622
|
"state": 'error' | 'success' | 'default';
|
|
1623
|
+
/**
|
|
1624
|
+
* Step value for input type number
|
|
1625
|
+
*/
|
|
1626
|
+
"step"?: string | number;
|
|
1617
1627
|
/**
|
|
1618
1628
|
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
1619
1629
|
*/
|
|
1620
|
-
"tdsAriaLabel"
|
|
1630
|
+
"tdsAriaLabel"?: string;
|
|
1621
1631
|
/**
|
|
1622
1632
|
* Which input type, text, password or similar
|
|
1623
1633
|
*/
|
|
@@ -1635,7 +1645,7 @@ export namespace Components {
|
|
|
1635
1645
|
/**
|
|
1636
1646
|
* Textarea cols attribute
|
|
1637
1647
|
*/
|
|
1638
|
-
"cols"
|
|
1648
|
+
"cols"?: number;
|
|
1639
1649
|
/**
|
|
1640
1650
|
* Set input in disabled state
|
|
1641
1651
|
*/
|
|
@@ -1647,7 +1657,7 @@ export namespace Components {
|
|
|
1647
1657
|
/**
|
|
1648
1658
|
* Helper text
|
|
1649
1659
|
*/
|
|
1650
|
-
"helper"
|
|
1660
|
+
"helper"?: string;
|
|
1651
1661
|
/**
|
|
1652
1662
|
* Hide the readonly icon
|
|
1653
1663
|
*/
|
|
@@ -1663,11 +1673,11 @@ export namespace Components {
|
|
|
1663
1673
|
/**
|
|
1664
1674
|
* Max length of input
|
|
1665
1675
|
*/
|
|
1666
|
-
"maxLength"
|
|
1676
|
+
"maxLength"?: number;
|
|
1667
1677
|
/**
|
|
1668
1678
|
* Mode variant of the Textarea
|
|
1669
1679
|
*/
|
|
1670
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1680
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
1671
1681
|
/**
|
|
1672
1682
|
* Name attribute
|
|
1673
1683
|
*/
|
|
@@ -1687,7 +1697,7 @@ export namespace Components {
|
|
|
1687
1697
|
/**
|
|
1688
1698
|
* Textarea rows attribute
|
|
1689
1699
|
*/
|
|
1690
|
-
"rows"
|
|
1700
|
+
"rows"?: number;
|
|
1691
1701
|
/**
|
|
1692
1702
|
* Error state of input
|
|
1693
1703
|
*/
|
|
@@ -1695,7 +1705,7 @@ export namespace Components {
|
|
|
1695
1705
|
/**
|
|
1696
1706
|
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
1697
1707
|
*/
|
|
1698
|
-
"tdsAriaLabel"
|
|
1708
|
+
"tdsAriaLabel"?: string;
|
|
1699
1709
|
/**
|
|
1700
1710
|
* Value of the input text
|
|
1701
1711
|
*/
|
|
@@ -1709,7 +1719,7 @@ export namespace Components {
|
|
|
1709
1719
|
/**
|
|
1710
1720
|
* Header text for the component.
|
|
1711
1721
|
*/
|
|
1712
|
-
"header"
|
|
1722
|
+
"header"?: string;
|
|
1713
1723
|
/**
|
|
1714
1724
|
* Hides the Toast.
|
|
1715
1725
|
*/
|
|
@@ -1725,7 +1735,7 @@ export namespace Components {
|
|
|
1725
1735
|
/**
|
|
1726
1736
|
* Subheader text for the component.
|
|
1727
1737
|
*/
|
|
1728
|
-
"subheader"
|
|
1738
|
+
"subheader"?: string;
|
|
1729
1739
|
/**
|
|
1730
1740
|
* ARIA live for the Toast.
|
|
1731
1741
|
*/
|
|
@@ -1733,7 +1743,7 @@ export namespace Components {
|
|
|
1733
1743
|
/**
|
|
1734
1744
|
* Provides an accessible name for the components close button
|
|
1735
1745
|
*/
|
|
1736
|
-
"tdsCloseAriaLabel"
|
|
1746
|
+
"tdsCloseAriaLabel"?: string;
|
|
1737
1747
|
/**
|
|
1738
1748
|
* ID for the Toast. Randomly generated if not specified.
|
|
1739
1749
|
*/
|
|
@@ -1763,11 +1773,11 @@ export namespace Components {
|
|
|
1763
1773
|
/**
|
|
1764
1774
|
* Headline for the Toggle
|
|
1765
1775
|
*/
|
|
1766
|
-
"headline"
|
|
1776
|
+
"headline"?: string;
|
|
1767
1777
|
/**
|
|
1768
1778
|
* Name of the toggle's input element
|
|
1769
1779
|
*/
|
|
1770
|
-
"name"
|
|
1780
|
+
"name"?: string;
|
|
1771
1781
|
/**
|
|
1772
1782
|
* Make the Toggle required
|
|
1773
1783
|
*/
|
|
@@ -1779,7 +1789,7 @@ export namespace Components {
|
|
|
1779
1789
|
/**
|
|
1780
1790
|
* Defines aria-label attribute for input
|
|
1781
1791
|
*/
|
|
1782
|
-
"tdsAriaLabel"
|
|
1792
|
+
"tdsAriaLabel"?: string;
|
|
1783
1793
|
/**
|
|
1784
1794
|
* Toggles the Toggle.
|
|
1785
1795
|
*/
|
|
@@ -1817,15 +1827,15 @@ export namespace Components {
|
|
|
1817
1827
|
/**
|
|
1818
1828
|
* The CSS-selector for an element that will trigger the Tooltip
|
|
1819
1829
|
*/
|
|
1820
|
-
"selector"
|
|
1830
|
+
"selector"?: string;
|
|
1821
1831
|
/**
|
|
1822
1832
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
1823
1833
|
*/
|
|
1824
|
-
"show": boolean;
|
|
1834
|
+
"show": boolean | null;
|
|
1825
1835
|
/**
|
|
1826
1836
|
* Sets the aria-describedby attribute
|
|
1827
1837
|
*/
|
|
1828
|
-
"tdsAriaDescribedby"
|
|
1838
|
+
"tdsAriaDescribedby"?: string;
|
|
1829
1839
|
/**
|
|
1830
1840
|
* In case Tooltip contains only text, no HTML, a text can be passed by this prop
|
|
1831
1841
|
*/
|
|
@@ -2084,13 +2094,13 @@ declare global {
|
|
|
2084
2094
|
interface HTMLTdsChipElementEventMap {
|
|
2085
2095
|
"tdsChange": {
|
|
2086
2096
|
chipId: string;
|
|
2087
|
-
value: string;
|
|
2097
|
+
value: string | undefined;
|
|
2088
2098
|
checked?: boolean;
|
|
2089
2099
|
};
|
|
2090
2100
|
"internalRadioOnChange": {
|
|
2091
2101
|
chipId: string;
|
|
2092
2102
|
checked: boolean;
|
|
2093
|
-
groupName: string;
|
|
2103
|
+
groupName: string | undefined;
|
|
2094
2104
|
};
|
|
2095
2105
|
"tdsClick": {
|
|
2096
2106
|
chipId: string;
|
|
@@ -2144,8 +2154,8 @@ declare global {
|
|
|
2144
2154
|
};
|
|
2145
2155
|
interface HTMLTdsDropdownElementEventMap {
|
|
2146
2156
|
"tdsChange": {
|
|
2147
|
-
name: string;
|
|
2148
|
-
value: string;
|
|
2157
|
+
name: string | undefined;
|
|
2158
|
+
value: string | null;
|
|
2149
2159
|
};
|
|
2150
2160
|
"tdsFocus": FocusEvent;
|
|
2151
2161
|
"tdsBlur": FocusEvent;
|
|
@@ -2245,17 +2255,17 @@ declare global {
|
|
|
2245
2255
|
};
|
|
2246
2256
|
interface HTMLTdsHeaderCellElementEventMap {
|
|
2247
2257
|
"tdsSort": {
|
|
2248
|
-
tableId: string;
|
|
2249
|
-
columnKey: string;
|
|
2258
|
+
tableId: string | undefined;
|
|
2259
|
+
columnKey: string | undefined;
|
|
2250
2260
|
sortingDirection: 'asc' | 'desc';
|
|
2251
2261
|
};
|
|
2252
2262
|
"internalSortButtonClicked": {
|
|
2253
|
-
tableId: string;
|
|
2254
|
-
key: string;
|
|
2263
|
+
tableId: string | undefined;
|
|
2264
|
+
key: string | undefined;
|
|
2255
2265
|
};
|
|
2256
|
-
"internalTdsTextAlign":
|
|
2266
|
+
"internalTdsTextAlign": object;
|
|
2257
2267
|
"internalTdsHover": {
|
|
2258
|
-
tableId: string;
|
|
2268
|
+
tableId: string | undefined;
|
|
2259
2269
|
key: string;
|
|
2260
2270
|
};
|
|
2261
2271
|
}
|
|
@@ -2407,7 +2417,7 @@ declare global {
|
|
|
2407
2417
|
new (): HTMLTdsMessageElement;
|
|
2408
2418
|
};
|
|
2409
2419
|
interface HTMLTdsModalElementEventMap {
|
|
2410
|
-
"tdsClose":
|
|
2420
|
+
"tdsClose": object;
|
|
2411
2421
|
"tdsOpen": void;
|
|
2412
2422
|
}
|
|
2413
2423
|
interface HTMLTdsModalElement extends Components.TdsModal, HTMLStencilElement {
|
|
@@ -2456,8 +2466,8 @@ declare global {
|
|
|
2456
2466
|
new (): HTMLTdsPopoverCanvasElement;
|
|
2457
2467
|
};
|
|
2458
2468
|
interface HTMLTdsPopoverCoreElementEventMap {
|
|
2459
|
-
"internalTdsShow":
|
|
2460
|
-
"internalTdsClose":
|
|
2469
|
+
"internalTdsShow": object;
|
|
2470
|
+
"internalTdsClose": object;
|
|
2461
2471
|
}
|
|
2462
2472
|
interface HTMLTdsPopoverCoreElement extends Components.TdsPopoverCore, HTMLStencilElement {
|
|
2463
2473
|
addEventListener<K extends keyof HTMLTdsPopoverCoreElementEventMap>(type: K, listener: (this: HTMLTdsPopoverCoreElement, ev: TdsPopoverCoreCustomEvent<HTMLTdsPopoverCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2488,7 +2498,7 @@ declare global {
|
|
|
2488
2498
|
interface HTMLTdsRadioButtonElementEventMap {
|
|
2489
2499
|
"tdsChange": {
|
|
2490
2500
|
radioId: string;
|
|
2491
|
-
value: string;
|
|
2501
|
+
value: string | undefined;
|
|
2492
2502
|
};
|
|
2493
2503
|
}
|
|
2494
2504
|
interface HTMLTdsRadioButtonElement extends Components.TdsRadioButton, HTMLStencilElement {
|
|
@@ -2678,13 +2688,13 @@ declare global {
|
|
|
2678
2688
|
};
|
|
2679
2689
|
interface HTMLTdsTableBodyRowElementEventMap {
|
|
2680
2690
|
"tdsSelect": {
|
|
2681
|
-
tableId: string;
|
|
2691
|
+
tableId: string | undefined;
|
|
2682
2692
|
checked: boolean;
|
|
2683
|
-
selectedRows:
|
|
2693
|
+
selectedRows: object[] | undefined;
|
|
2684
2694
|
};
|
|
2685
2695
|
"tdsClick": {
|
|
2686
2696
|
event: MouseEvent;
|
|
2687
|
-
tableId: string;
|
|
2697
|
+
tableId: string | undefined;
|
|
2688
2698
|
rowIndex: number;
|
|
2689
2699
|
};
|
|
2690
2700
|
}
|
|
@@ -2703,11 +2713,11 @@ declare global {
|
|
|
2703
2713
|
new (): HTMLTdsTableBodyRowElement;
|
|
2704
2714
|
};
|
|
2705
2715
|
interface HTMLTdsTableBodyRowExpandableElementEventMap {
|
|
2706
|
-
"internalTdsRowExpanded":
|
|
2716
|
+
"internalTdsRowExpanded": object;
|
|
2707
2717
|
"tdsChange": {
|
|
2708
2718
|
rowId: string;
|
|
2709
2719
|
isExpanded: boolean;
|
|
2710
|
-
tableId: string;
|
|
2720
|
+
tableId: string | undefined;
|
|
2711
2721
|
};
|
|
2712
2722
|
}
|
|
2713
2723
|
interface HTMLTdsTableBodyRowExpandableElement extends Components.TdsTableBodyRowExpandable, HTMLStencilElement {
|
|
@@ -2726,7 +2736,7 @@ declare global {
|
|
|
2726
2736
|
};
|
|
2727
2737
|
interface HTMLTdsTableFooterElementEventMap {
|
|
2728
2738
|
"tdsPagination": {
|
|
2729
|
-
tableId: string;
|
|
2739
|
+
tableId: string | undefined;
|
|
2730
2740
|
paginationValue: number;
|
|
2731
2741
|
rowsPerPage?: number;
|
|
2732
2742
|
};
|
|
@@ -2747,9 +2757,9 @@ declare global {
|
|
|
2747
2757
|
};
|
|
2748
2758
|
interface HTMLTdsTableHeaderElementEventMap {
|
|
2749
2759
|
"tdsSelectAll": {
|
|
2750
|
-
tableId: string;
|
|
2760
|
+
tableId: string | undefined;
|
|
2751
2761
|
checked: boolean;
|
|
2752
|
-
selectedRows:
|
|
2762
|
+
selectedRows: object[] | undefined;
|
|
2753
2763
|
};
|
|
2754
2764
|
}
|
|
2755
2765
|
interface HTMLTdsTableHeaderElement extends Components.TdsTableHeader, HTMLStencilElement {
|
|
@@ -2774,7 +2784,7 @@ declare global {
|
|
|
2774
2784
|
};
|
|
2775
2785
|
interface HTMLTdsTableToolbarElementEventMap {
|
|
2776
2786
|
"tdsFilter": {
|
|
2777
|
-
tableId: string;
|
|
2787
|
+
tableId: string | undefined;
|
|
2778
2788
|
query: string;
|
|
2779
2789
|
};
|
|
2780
2790
|
}
|
|
@@ -2803,6 +2813,7 @@ declare global {
|
|
|
2803
2813
|
"tdsInput": InputEvent;
|
|
2804
2814
|
"tdsFocus": FocusEvent;
|
|
2805
2815
|
"tdsBlur": FocusEvent;
|
|
2816
|
+
"tdsError": { originalValue: string; clampedValue: string; reason: 'min' | 'max' };
|
|
2806
2817
|
}
|
|
2807
2818
|
interface HTMLTdsTextFieldElement extends Components.TdsTextField, HTMLStencilElement {
|
|
2808
2819
|
addEventListener<K extends keyof HTMLTdsTextFieldElementEventMap>(type: K, listener: (this: HTMLTdsTextFieldElement, ev: TdsTextFieldCustomEvent<HTMLTdsTextFieldElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2978,7 +2989,7 @@ declare namespace LocalJSX {
|
|
|
2978
2989
|
/**
|
|
2979
2990
|
* Set the variant of the Accordion.
|
|
2980
2991
|
*/
|
|
2981
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
2992
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
2982
2993
|
}
|
|
2983
2994
|
interface TdsAccordionItem {
|
|
2984
2995
|
/**
|
|
@@ -3086,13 +3097,13 @@ declare namespace LocalJSX {
|
|
|
3086
3097
|
/**
|
|
3087
3098
|
* Mode variant of the component, based on current mode.
|
|
3088
3099
|
*/
|
|
3089
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3100
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3090
3101
|
}
|
|
3091
3102
|
interface TdsBodyCell {
|
|
3092
3103
|
/**
|
|
3093
3104
|
* Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
|
|
3094
3105
|
*/
|
|
3095
|
-
"cellKey"?:
|
|
3106
|
+
"cellKey"?: string;
|
|
3096
3107
|
/**
|
|
3097
3108
|
* Value that will be presented as text inside a cell
|
|
3098
3109
|
*/
|
|
@@ -3104,7 +3115,7 @@ declare namespace LocalJSX {
|
|
|
3104
3115
|
/**
|
|
3105
3116
|
* Setting for text align, default value "left". Other accepted values are "left", "start", "right", "end" or "center".
|
|
3106
3117
|
*/
|
|
3107
|
-
"textAlign"?:
|
|
3118
|
+
"textAlign"?: TextAlign;
|
|
3108
3119
|
}
|
|
3109
3120
|
interface TdsBreadcrumb {
|
|
3110
3121
|
/**
|
|
@@ -3134,7 +3145,7 @@ declare namespace LocalJSX {
|
|
|
3134
3145
|
/**
|
|
3135
3146
|
* Set the mode variant of the Button.
|
|
3136
3147
|
*/
|
|
3137
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3148
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3138
3149
|
/**
|
|
3139
3150
|
* The name attribute allows for different ways of accessing the button element
|
|
3140
3151
|
*/
|
|
@@ -3204,7 +3215,7 @@ declare namespace LocalJSX {
|
|
|
3204
3215
|
/**
|
|
3205
3216
|
* Variant of the Card based on the theme used.
|
|
3206
3217
|
*/
|
|
3207
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3218
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3208
3219
|
/**
|
|
3209
3220
|
* Sends unique Card identifier when the Card is clicked, if clickable=true
|
|
3210
3221
|
*/
|
|
@@ -3294,7 +3305,7 @@ declare namespace LocalJSX {
|
|
|
3294
3305
|
*/
|
|
3295
3306
|
"onTdsChange"?: (event: TdsChipCustomEvent<{
|
|
3296
3307
|
chipId: string;
|
|
3297
|
-
value: string;
|
|
3308
|
+
value: string | undefined;
|
|
3298
3309
|
checked?: boolean;
|
|
3299
3310
|
}>) => void;
|
|
3300
3311
|
/**
|
|
@@ -3358,7 +3369,7 @@ declare namespace LocalJSX {
|
|
|
3358
3369
|
/**
|
|
3359
3370
|
* Set the variant of the Datetime component.
|
|
3360
3371
|
*/
|
|
3361
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3372
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3362
3373
|
/**
|
|
3363
3374
|
* Name property. Uses a unique ID as fallback if not specified.
|
|
3364
3375
|
*/
|
|
@@ -3447,7 +3458,7 @@ declare namespace LocalJSX {
|
|
|
3447
3458
|
/**
|
|
3448
3459
|
* Mode variant of the component, based on current mode.
|
|
3449
3460
|
*/
|
|
3450
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3461
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3451
3462
|
/**
|
|
3452
3463
|
* Enables multiselect in the Dropdown.
|
|
3453
3464
|
*/
|
|
@@ -3472,8 +3483,8 @@ declare namespace LocalJSX {
|
|
|
3472
3483
|
* Change event for the Dropdown.
|
|
3473
3484
|
*/
|
|
3474
3485
|
"onTdsChange"?: (event: TdsDropdownCustomEvent<{
|
|
3475
|
-
name: string;
|
|
3476
|
-
value: string;
|
|
3486
|
+
name: string | undefined;
|
|
3487
|
+
value: string | null;
|
|
3477
3488
|
}>) => void;
|
|
3478
3489
|
/**
|
|
3479
3490
|
* Clear event for the Dropdown.
|
|
@@ -3506,7 +3517,7 @@ declare namespace LocalJSX {
|
|
|
3506
3517
|
/**
|
|
3507
3518
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
3508
3519
|
*/
|
|
3509
|
-
"value"?: string | number | (string | number)[];
|
|
3520
|
+
"value"?: string | number | (string | number)[] | null;
|
|
3510
3521
|
}
|
|
3511
3522
|
interface TdsDropdownOption {
|
|
3512
3523
|
/**
|
|
@@ -3551,7 +3562,7 @@ declare namespace LocalJSX {
|
|
|
3551
3562
|
/**
|
|
3552
3563
|
* Variant of the Tabs, primary= on white, secondary= on grey50
|
|
3553
3564
|
*/
|
|
3554
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3565
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3555
3566
|
/**
|
|
3556
3567
|
* Event emitted when the selected Tab is changed.
|
|
3557
3568
|
*/
|
|
@@ -3575,7 +3586,7 @@ declare namespace LocalJSX {
|
|
|
3575
3586
|
/**
|
|
3576
3587
|
* Mode variant of the component, based on current mode.
|
|
3577
3588
|
*/
|
|
3578
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3589
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3579
3590
|
}
|
|
3580
3591
|
interface TdsFooterGroup {
|
|
3581
3592
|
/**
|
|
@@ -3614,8 +3625,8 @@ declare namespace LocalJSX {
|
|
|
3614
3625
|
* 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
3626
|
*/
|
|
3616
3627
|
"onTdsSort"?: (event: TdsHeaderCellCustomEvent<{
|
|
3617
|
-
tableId: string;
|
|
3618
|
-
columnKey: string;
|
|
3628
|
+
tableId: string | undefined;
|
|
3629
|
+
columnKey: string | undefined;
|
|
3619
3630
|
sortingDirection: 'asc' | 'desc';
|
|
3620
3631
|
}>) => void;
|
|
3621
3632
|
/**
|
|
@@ -3629,7 +3640,7 @@ declare namespace LocalJSX {
|
|
|
3629
3640
|
/**
|
|
3630
3641
|
* Setting for text align, default is "left". Other accepted values are "left", "start", "right" or "end".
|
|
3631
3642
|
*/
|
|
3632
|
-
"textAlign"?:
|
|
3643
|
+
"textAlign"?: TextAlign;
|
|
3633
3644
|
}
|
|
3634
3645
|
interface TdsHeaderDropdown {
|
|
3635
3646
|
/**
|
|
@@ -3815,7 +3826,7 @@ declare namespace LocalJSX {
|
|
|
3815
3826
|
/**
|
|
3816
3827
|
* Variant of the component, based on current mode.
|
|
3817
3828
|
*/
|
|
3818
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3829
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3819
3830
|
/**
|
|
3820
3831
|
* Removes the icon in the Message.
|
|
3821
3832
|
*/
|
|
@@ -3849,7 +3860,7 @@ declare namespace LocalJSX {
|
|
|
3849
3860
|
/**
|
|
3850
3861
|
* Emits when the Modal is closed.
|
|
3851
3862
|
*/
|
|
3852
|
-
"onTdsClose"?: (event: TdsModalCustomEvent<
|
|
3863
|
+
"onTdsClose"?: (event: TdsModalCustomEvent<object>) => void;
|
|
3853
3864
|
/**
|
|
3854
3865
|
* Emits just before Modal is opened.
|
|
3855
3866
|
*/
|
|
@@ -3929,7 +3940,7 @@ declare namespace LocalJSX {
|
|
|
3929
3940
|
/**
|
|
3930
3941
|
* Mode variant of the component, based on current mode.
|
|
3931
3942
|
*/
|
|
3932
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3943
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3933
3944
|
/**
|
|
3934
3945
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3935
3946
|
*/
|
|
@@ -3957,7 +3968,7 @@ declare namespace LocalJSX {
|
|
|
3957
3968
|
/**
|
|
3958
3969
|
* 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
3970
|
*/
|
|
3960
|
-
"show"?: boolean;
|
|
3971
|
+
"show"?: boolean | null;
|
|
3961
3972
|
/**
|
|
3962
3973
|
* Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
3963
3974
|
*/
|
|
@@ -3979,7 +3990,7 @@ declare namespace LocalJSX {
|
|
|
3979
3990
|
/**
|
|
3980
3991
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3981
3992
|
*/
|
|
3982
|
-
"modifiers"?:
|
|
3993
|
+
"modifiers"?: object[];
|
|
3983
3994
|
/**
|
|
3984
3995
|
* Sets the offset distance
|
|
3985
3996
|
*/
|
|
@@ -4003,7 +4014,7 @@ declare namespace LocalJSX {
|
|
|
4003
4014
|
/**
|
|
4004
4015
|
* 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
4016
|
*/
|
|
4006
|
-
"show"?: boolean;
|
|
4017
|
+
"show"?: boolean | null;
|
|
4007
4018
|
/**
|
|
4008
4019
|
* What triggers the popover to show
|
|
4009
4020
|
*/
|
|
@@ -4025,7 +4036,7 @@ declare namespace LocalJSX {
|
|
|
4025
4036
|
/**
|
|
4026
4037
|
* Mode variant of the component, based on current mode.
|
|
4027
4038
|
*/
|
|
4028
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4039
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4029
4040
|
/**
|
|
4030
4041
|
* Sets the offset distance
|
|
4031
4042
|
*/
|
|
@@ -4049,7 +4060,7 @@ declare namespace LocalJSX {
|
|
|
4049
4060
|
/**
|
|
4050
4061
|
* 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
4062
|
*/
|
|
4052
|
-
"show"?: boolean;
|
|
4063
|
+
"show"?: boolean | null;
|
|
4053
4064
|
}
|
|
4054
4065
|
interface TdsPopoverMenuItem {
|
|
4055
4066
|
/**
|
|
@@ -4075,7 +4086,7 @@ declare namespace LocalJSX {
|
|
|
4075
4086
|
*/
|
|
4076
4087
|
"onTdsChange"?: (event: TdsRadioButtonCustomEvent<{
|
|
4077
4088
|
radioId: string;
|
|
4078
|
-
value: string;
|
|
4089
|
+
value: string | undefined;
|
|
4079
4090
|
}>) => void;
|
|
4080
4091
|
/**
|
|
4081
4092
|
* Unique Radio Button identifier.
|
|
@@ -4345,11 +4356,11 @@ declare namespace LocalJSX {
|
|
|
4345
4356
|
/**
|
|
4346
4357
|
* Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
|
|
4347
4358
|
*/
|
|
4348
|
-
"horizontalScrollWidth"?: string;
|
|
4359
|
+
"horizontalScrollWidth"?: string | null;
|
|
4349
4360
|
/**
|
|
4350
4361
|
* Variant of the component, based on current mode.
|
|
4351
4362
|
*/
|
|
4352
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4363
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4353
4364
|
/**
|
|
4354
4365
|
* Enables multiselect feature of Table
|
|
4355
4366
|
*/
|
|
@@ -4401,16 +4412,16 @@ declare namespace LocalJSX {
|
|
|
4401
4412
|
*/
|
|
4402
4413
|
"onTdsClick"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4403
4414
|
event: MouseEvent;
|
|
4404
|
-
tableId: string;
|
|
4415
|
+
tableId: string | undefined;
|
|
4405
4416
|
rowIndex: number;
|
|
4406
4417
|
}>) => void;
|
|
4407
4418
|
/**
|
|
4408
4419
|
* Event emitted when a row is selected/deselected.
|
|
4409
4420
|
*/
|
|
4410
4421
|
"onTdsSelect"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4411
|
-
tableId: string;
|
|
4422
|
+
tableId: string | undefined;
|
|
4412
4423
|
checked: boolean;
|
|
4413
|
-
selectedRows:
|
|
4424
|
+
selectedRows: object[] | undefined;
|
|
4414
4425
|
}>) => void;
|
|
4415
4426
|
/**
|
|
4416
4427
|
* Marks the row as selected, used for multiselect table.
|
|
@@ -4425,7 +4436,7 @@ declare namespace LocalJSX {
|
|
|
4425
4436
|
/**
|
|
4426
4437
|
* 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
4438
|
*/
|
|
4428
|
-
"colSpan"?: number;
|
|
4439
|
+
"colSpan"?: number | null;
|
|
4429
4440
|
/**
|
|
4430
4441
|
* Sets isExpanded state to true or false externally
|
|
4431
4442
|
*/
|
|
@@ -4436,7 +4447,7 @@ declare namespace LocalJSX {
|
|
|
4436
4447
|
"onTdsChange"?: (event: TdsTableBodyRowExpandableCustomEvent<{
|
|
4437
4448
|
rowId: string;
|
|
4438
4449
|
isExpanded: boolean;
|
|
4439
|
-
tableId: string;
|
|
4450
|
+
tableId: string | undefined;
|
|
4440
4451
|
}>) => void;
|
|
4441
4452
|
/**
|
|
4442
4453
|
* Controls the overflow behavior of the expandable row content
|
|
@@ -4455,12 +4466,12 @@ declare namespace LocalJSX {
|
|
|
4455
4466
|
/**
|
|
4456
4467
|
* <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
|
|
4457
4468
|
*/
|
|
4458
|
-
"cols"?: number;
|
|
4469
|
+
"cols"?: number | null;
|
|
4459
4470
|
/**
|
|
4460
4471
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
4461
4472
|
*/
|
|
4462
4473
|
"onTdsPagination"?: (event: TdsTableFooterCustomEvent<{
|
|
4463
|
-
tableId: string;
|
|
4474
|
+
tableId: string | undefined;
|
|
4464
4475
|
paginationValue: number;
|
|
4465
4476
|
rowsPerPage?: number;
|
|
4466
4477
|
}>) => void;
|
|
@@ -4502,9 +4513,9 @@ declare namespace LocalJSX {
|
|
|
4502
4513
|
* Event emitted when the status of the select all checkbox changes.
|
|
4503
4514
|
*/
|
|
4504
4515
|
"onTdsSelectAll"?: (event: TdsTableHeaderCustomEvent<{
|
|
4505
|
-
tableId: string;
|
|
4516
|
+
tableId: string | undefined;
|
|
4506
4517
|
checked: boolean;
|
|
4507
|
-
selectedRows:
|
|
4518
|
+
selectedRows: object[] | undefined;
|
|
4508
4519
|
}>) => void;
|
|
4509
4520
|
/**
|
|
4510
4521
|
* Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
|
|
@@ -4527,7 +4538,7 @@ declare namespace LocalJSX {
|
|
|
4527
4538
|
* 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
4539
|
*/
|
|
4529
4540
|
"onTdsFilter"?: (event: TdsTableToolbarCustomEvent<{
|
|
4530
|
-
tableId: string;
|
|
4541
|
+
tableId: string | undefined;
|
|
4531
4542
|
query: string;
|
|
4532
4543
|
}>) => void;
|
|
4533
4544
|
/**
|
|
@@ -4570,6 +4581,10 @@ declare namespace LocalJSX {
|
|
|
4570
4581
|
* Helper text
|
|
4571
4582
|
*/
|
|
4572
4583
|
"helper"?: string;
|
|
4584
|
+
/**
|
|
4585
|
+
* Hides the native arrows on number input type
|
|
4586
|
+
*/
|
|
4587
|
+
"hideNumberArrows"?: boolean;
|
|
4573
4588
|
/**
|
|
4574
4589
|
* Hides the read-only icon in the Text Field. Requires Read Only to be enabled.
|
|
4575
4590
|
*/
|
|
@@ -4597,7 +4612,7 @@ declare namespace LocalJSX {
|
|
|
4597
4612
|
/**
|
|
4598
4613
|
* Mode variant of the Text Field
|
|
4599
4614
|
*/
|
|
4600
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4615
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4601
4616
|
/**
|
|
4602
4617
|
* Name property
|
|
4603
4618
|
*/
|
|
@@ -4614,6 +4629,10 @@ declare namespace LocalJSX {
|
|
|
4614
4629
|
* Change event for the Text Field
|
|
4615
4630
|
*/
|
|
4616
4631
|
"onTdsChange"?: (event: TdsTextFieldCustomEvent<any>) => void;
|
|
4632
|
+
/**
|
|
4633
|
+
* Error event for the Text Field - emitted when value is clamped to min/max
|
|
4634
|
+
*/
|
|
4635
|
+
"onTdsError"?: (event: TdsTextFieldCustomEvent<{ originalValue: string; clampedValue: string; reason: 'min' | 'max' }>) => void;
|
|
4617
4636
|
/**
|
|
4618
4637
|
* Focus event for the Text Field
|
|
4619
4638
|
*/
|
|
@@ -4642,6 +4661,10 @@ declare namespace LocalJSX {
|
|
|
4642
4661
|
* Error state of input
|
|
4643
4662
|
*/
|
|
4644
4663
|
"state"?: 'error' | 'success' | 'default';
|
|
4664
|
+
/**
|
|
4665
|
+
* Step value for input type number
|
|
4666
|
+
*/
|
|
4667
|
+
"step"?: string | number;
|
|
4645
4668
|
/**
|
|
4646
4669
|
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
4647
4670
|
*/
|
|
@@ -4691,7 +4714,7 @@ declare namespace LocalJSX {
|
|
|
4691
4714
|
/**
|
|
4692
4715
|
* Mode variant of the Textarea
|
|
4693
4716
|
*/
|
|
4694
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4717
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4695
4718
|
/**
|
|
4696
4719
|
* Name attribute
|
|
4697
4720
|
*/
|
|
@@ -4858,7 +4881,7 @@ declare namespace LocalJSX {
|
|
|
4858
4881
|
/**
|
|
4859
4882
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
4860
4883
|
*/
|
|
4861
|
-
"show"?: boolean;
|
|
4884
|
+
"show"?: boolean | null;
|
|
4862
4885
|
/**
|
|
4863
4886
|
* Sets the aria-describedby attribute
|
|
4864
4887
|
*/
|