@scania/tegel 1.42.0 → 1.43.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 +49 -31
- 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 +47 -21
- 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.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.js +4 -4
- 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.css +8 -0
- package/dist/collection/components/text-field/text-field.js +97 -22
- 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-3a7e4d0d.js → p-81499e0f.js} +52 -24
- package/dist/components/{p-44f5b5e1.js → p-91803ba5.js} +5 -4
- 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-5ea0ae00.js → p-e52a9953.js} +41 -26
- 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 +49 -31
- 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 +47 -21
- 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-0ef32f0f.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-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.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 +13 -2
- 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 +102 -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-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-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-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
|
*/
|
|
@@ -1558,6 +1558,10 @@ export namespace Components {
|
|
|
1558
1558
|
* Helper text
|
|
1559
1559
|
*/
|
|
1560
1560
|
"helper": string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Hides the native arrows on number input type
|
|
1563
|
+
*/
|
|
1564
|
+
"hideNumberArrows": boolean;
|
|
1561
1565
|
/**
|
|
1562
1566
|
* Hides the read-only icon in the Text Field. Requires Read Only to be enabled.
|
|
1563
1567
|
*/
|
|
@@ -1585,7 +1589,7 @@ export namespace Components {
|
|
|
1585
1589
|
/**
|
|
1586
1590
|
* Mode variant of the Text Field
|
|
1587
1591
|
*/
|
|
1588
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1592
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
1589
1593
|
/**
|
|
1590
1594
|
* Name property
|
|
1591
1595
|
*/
|
|
@@ -1614,6 +1618,10 @@ export namespace Components {
|
|
|
1614
1618
|
* Error state of input
|
|
1615
1619
|
*/
|
|
1616
1620
|
"state": 'error' | 'success' | 'default';
|
|
1621
|
+
/**
|
|
1622
|
+
* Step value for input type number
|
|
1623
|
+
*/
|
|
1624
|
+
"step": string | number;
|
|
1617
1625
|
/**
|
|
1618
1626
|
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
1619
1627
|
*/
|
|
@@ -1667,7 +1675,7 @@ export namespace Components {
|
|
|
1667
1675
|
/**
|
|
1668
1676
|
* Mode variant of the Textarea
|
|
1669
1677
|
*/
|
|
1670
|
-
"modeVariant": 'primary' | 'secondary';
|
|
1678
|
+
"modeVariant": 'primary' | 'secondary' | null;
|
|
1671
1679
|
/**
|
|
1672
1680
|
* Name attribute
|
|
1673
1681
|
*/
|
|
@@ -1821,7 +1829,7 @@ export namespace Components {
|
|
|
1821
1829
|
/**
|
|
1822
1830
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
1823
1831
|
*/
|
|
1824
|
-
"show": boolean;
|
|
1832
|
+
"show": boolean | null;
|
|
1825
1833
|
/**
|
|
1826
1834
|
* Sets the aria-describedby attribute
|
|
1827
1835
|
*/
|
|
@@ -2145,7 +2153,7 @@ declare global {
|
|
|
2145
2153
|
interface HTMLTdsDropdownElementEventMap {
|
|
2146
2154
|
"tdsChange": {
|
|
2147
2155
|
name: string;
|
|
2148
|
-
value: string;
|
|
2156
|
+
value: string | null;
|
|
2149
2157
|
};
|
|
2150
2158
|
"tdsFocus": FocusEvent;
|
|
2151
2159
|
"tdsBlur": FocusEvent;
|
|
@@ -2245,17 +2253,17 @@ declare global {
|
|
|
2245
2253
|
};
|
|
2246
2254
|
interface HTMLTdsHeaderCellElementEventMap {
|
|
2247
2255
|
"tdsSort": {
|
|
2248
|
-
tableId: string;
|
|
2249
|
-
columnKey: string;
|
|
2256
|
+
tableId: string | undefined;
|
|
2257
|
+
columnKey: string | undefined;
|
|
2250
2258
|
sortingDirection: 'asc' | 'desc';
|
|
2251
2259
|
};
|
|
2252
2260
|
"internalSortButtonClicked": {
|
|
2253
|
-
tableId: string;
|
|
2254
|
-
key: string;
|
|
2261
|
+
tableId: string | undefined;
|
|
2262
|
+
key: string | undefined;
|
|
2255
2263
|
};
|
|
2256
|
-
"internalTdsTextAlign":
|
|
2264
|
+
"internalTdsTextAlign": object;
|
|
2257
2265
|
"internalTdsHover": {
|
|
2258
|
-
tableId: string;
|
|
2266
|
+
tableId: string | undefined;
|
|
2259
2267
|
key: string;
|
|
2260
2268
|
};
|
|
2261
2269
|
}
|
|
@@ -2407,7 +2415,7 @@ declare global {
|
|
|
2407
2415
|
new (): HTMLTdsMessageElement;
|
|
2408
2416
|
};
|
|
2409
2417
|
interface HTMLTdsModalElementEventMap {
|
|
2410
|
-
"tdsClose":
|
|
2418
|
+
"tdsClose": object;
|
|
2411
2419
|
"tdsOpen": void;
|
|
2412
2420
|
}
|
|
2413
2421
|
interface HTMLTdsModalElement extends Components.TdsModal, HTMLStencilElement {
|
|
@@ -2456,8 +2464,8 @@ declare global {
|
|
|
2456
2464
|
new (): HTMLTdsPopoverCanvasElement;
|
|
2457
2465
|
};
|
|
2458
2466
|
interface HTMLTdsPopoverCoreElementEventMap {
|
|
2459
|
-
"internalTdsShow":
|
|
2460
|
-
"internalTdsClose":
|
|
2467
|
+
"internalTdsShow": object;
|
|
2468
|
+
"internalTdsClose": object;
|
|
2461
2469
|
}
|
|
2462
2470
|
interface HTMLTdsPopoverCoreElement extends Components.TdsPopoverCore, HTMLStencilElement {
|
|
2463
2471
|
addEventListener<K extends keyof HTMLTdsPopoverCoreElementEventMap>(type: K, listener: (this: HTMLTdsPopoverCoreElement, ev: TdsPopoverCoreCustomEvent<HTMLTdsPopoverCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2678,13 +2686,13 @@ declare global {
|
|
|
2678
2686
|
};
|
|
2679
2687
|
interface HTMLTdsTableBodyRowElementEventMap {
|
|
2680
2688
|
"tdsSelect": {
|
|
2681
|
-
tableId: string;
|
|
2689
|
+
tableId: string | undefined;
|
|
2682
2690
|
checked: boolean;
|
|
2683
|
-
selectedRows:
|
|
2691
|
+
selectedRows: object[] | undefined;
|
|
2684
2692
|
};
|
|
2685
2693
|
"tdsClick": {
|
|
2686
2694
|
event: MouseEvent;
|
|
2687
|
-
tableId: string;
|
|
2695
|
+
tableId: string | undefined;
|
|
2688
2696
|
rowIndex: number;
|
|
2689
2697
|
};
|
|
2690
2698
|
}
|
|
@@ -2703,11 +2711,11 @@ declare global {
|
|
|
2703
2711
|
new (): HTMLTdsTableBodyRowElement;
|
|
2704
2712
|
};
|
|
2705
2713
|
interface HTMLTdsTableBodyRowExpandableElementEventMap {
|
|
2706
|
-
"internalTdsRowExpanded":
|
|
2714
|
+
"internalTdsRowExpanded": object;
|
|
2707
2715
|
"tdsChange": {
|
|
2708
2716
|
rowId: string;
|
|
2709
2717
|
isExpanded: boolean;
|
|
2710
|
-
tableId: string;
|
|
2718
|
+
tableId: string | undefined;
|
|
2711
2719
|
};
|
|
2712
2720
|
}
|
|
2713
2721
|
interface HTMLTdsTableBodyRowExpandableElement extends Components.TdsTableBodyRowExpandable, HTMLStencilElement {
|
|
@@ -2726,7 +2734,7 @@ declare global {
|
|
|
2726
2734
|
};
|
|
2727
2735
|
interface HTMLTdsTableFooterElementEventMap {
|
|
2728
2736
|
"tdsPagination": {
|
|
2729
|
-
tableId: string;
|
|
2737
|
+
tableId: string | undefined;
|
|
2730
2738
|
paginationValue: number;
|
|
2731
2739
|
rowsPerPage?: number;
|
|
2732
2740
|
};
|
|
@@ -2747,9 +2755,9 @@ declare global {
|
|
|
2747
2755
|
};
|
|
2748
2756
|
interface HTMLTdsTableHeaderElementEventMap {
|
|
2749
2757
|
"tdsSelectAll": {
|
|
2750
|
-
tableId: string;
|
|
2758
|
+
tableId: string | undefined;
|
|
2751
2759
|
checked: boolean;
|
|
2752
|
-
selectedRows:
|
|
2760
|
+
selectedRows: object[] | undefined;
|
|
2753
2761
|
};
|
|
2754
2762
|
}
|
|
2755
2763
|
interface HTMLTdsTableHeaderElement extends Components.TdsTableHeader, HTMLStencilElement {
|
|
@@ -2774,7 +2782,7 @@ declare global {
|
|
|
2774
2782
|
};
|
|
2775
2783
|
interface HTMLTdsTableToolbarElementEventMap {
|
|
2776
2784
|
"tdsFilter": {
|
|
2777
|
-
tableId: string;
|
|
2785
|
+
tableId: string | undefined;
|
|
2778
2786
|
query: string;
|
|
2779
2787
|
};
|
|
2780
2788
|
}
|
|
@@ -2803,6 +2811,7 @@ declare global {
|
|
|
2803
2811
|
"tdsInput": InputEvent;
|
|
2804
2812
|
"tdsFocus": FocusEvent;
|
|
2805
2813
|
"tdsBlur": FocusEvent;
|
|
2814
|
+
"tdsError": { originalValue: string; clampedValue: string; reason: 'min' | 'max' };
|
|
2806
2815
|
}
|
|
2807
2816
|
interface HTMLTdsTextFieldElement extends Components.TdsTextField, HTMLStencilElement {
|
|
2808
2817
|
addEventListener<K extends keyof HTMLTdsTextFieldElementEventMap>(type: K, listener: (this: HTMLTdsTextFieldElement, ev: TdsTextFieldCustomEvent<HTMLTdsTextFieldElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2978,7 +2987,7 @@ declare namespace LocalJSX {
|
|
|
2978
2987
|
/**
|
|
2979
2988
|
* Set the variant of the Accordion.
|
|
2980
2989
|
*/
|
|
2981
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
2990
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
2982
2991
|
}
|
|
2983
2992
|
interface TdsAccordionItem {
|
|
2984
2993
|
/**
|
|
@@ -3086,13 +3095,13 @@ declare namespace LocalJSX {
|
|
|
3086
3095
|
/**
|
|
3087
3096
|
* Mode variant of the component, based on current mode.
|
|
3088
3097
|
*/
|
|
3089
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3098
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3090
3099
|
}
|
|
3091
3100
|
interface TdsBodyCell {
|
|
3092
3101
|
/**
|
|
3093
3102
|
* Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
|
|
3094
3103
|
*/
|
|
3095
|
-
"cellKey"?:
|
|
3104
|
+
"cellKey"?: string;
|
|
3096
3105
|
/**
|
|
3097
3106
|
* Value that will be presented as text inside a cell
|
|
3098
3107
|
*/
|
|
@@ -3134,7 +3143,7 @@ declare namespace LocalJSX {
|
|
|
3134
3143
|
/**
|
|
3135
3144
|
* Set the mode variant of the Button.
|
|
3136
3145
|
*/
|
|
3137
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3146
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3138
3147
|
/**
|
|
3139
3148
|
* The name attribute allows for different ways of accessing the button element
|
|
3140
3149
|
*/
|
|
@@ -3204,7 +3213,7 @@ declare namespace LocalJSX {
|
|
|
3204
3213
|
/**
|
|
3205
3214
|
* Variant of the Card based on the theme used.
|
|
3206
3215
|
*/
|
|
3207
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3216
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3208
3217
|
/**
|
|
3209
3218
|
* Sends unique Card identifier when the Card is clicked, if clickable=true
|
|
3210
3219
|
*/
|
|
@@ -3358,7 +3367,7 @@ declare namespace LocalJSX {
|
|
|
3358
3367
|
/**
|
|
3359
3368
|
* Set the variant of the Datetime component.
|
|
3360
3369
|
*/
|
|
3361
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3370
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3362
3371
|
/**
|
|
3363
3372
|
* Name property. Uses a unique ID as fallback if not specified.
|
|
3364
3373
|
*/
|
|
@@ -3447,7 +3456,7 @@ declare namespace LocalJSX {
|
|
|
3447
3456
|
/**
|
|
3448
3457
|
* Mode variant of the component, based on current mode.
|
|
3449
3458
|
*/
|
|
3450
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3459
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3451
3460
|
/**
|
|
3452
3461
|
* Enables multiselect in the Dropdown.
|
|
3453
3462
|
*/
|
|
@@ -3473,7 +3482,7 @@ declare namespace LocalJSX {
|
|
|
3473
3482
|
*/
|
|
3474
3483
|
"onTdsChange"?: (event: TdsDropdownCustomEvent<{
|
|
3475
3484
|
name: string;
|
|
3476
|
-
value: string;
|
|
3485
|
+
value: string | null;
|
|
3477
3486
|
}>) => void;
|
|
3478
3487
|
/**
|
|
3479
3488
|
* Clear event for the Dropdown.
|
|
@@ -3506,7 +3515,7 @@ declare namespace LocalJSX {
|
|
|
3506
3515
|
/**
|
|
3507
3516
|
* Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
|
|
3508
3517
|
*/
|
|
3509
|
-
"value"?: string | number | (string | number)[];
|
|
3518
|
+
"value"?: string | number | (string | number)[] | null;
|
|
3510
3519
|
}
|
|
3511
3520
|
interface TdsDropdownOption {
|
|
3512
3521
|
/**
|
|
@@ -3551,7 +3560,7 @@ declare namespace LocalJSX {
|
|
|
3551
3560
|
/**
|
|
3552
3561
|
* Variant of the Tabs, primary= on white, secondary= on grey50
|
|
3553
3562
|
*/
|
|
3554
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3563
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3555
3564
|
/**
|
|
3556
3565
|
* Event emitted when the selected Tab is changed.
|
|
3557
3566
|
*/
|
|
@@ -3575,7 +3584,7 @@ declare namespace LocalJSX {
|
|
|
3575
3584
|
/**
|
|
3576
3585
|
* Mode variant of the component, based on current mode.
|
|
3577
3586
|
*/
|
|
3578
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3587
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3579
3588
|
}
|
|
3580
3589
|
interface TdsFooterGroup {
|
|
3581
3590
|
/**
|
|
@@ -3614,8 +3623,8 @@ declare namespace LocalJSX {
|
|
|
3614
3623
|
* 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
3624
|
*/
|
|
3616
3625
|
"onTdsSort"?: (event: TdsHeaderCellCustomEvent<{
|
|
3617
|
-
tableId: string;
|
|
3618
|
-
columnKey: string;
|
|
3626
|
+
tableId: string | undefined;
|
|
3627
|
+
columnKey: string | undefined;
|
|
3619
3628
|
sortingDirection: 'asc' | 'desc';
|
|
3620
3629
|
}>) => void;
|
|
3621
3630
|
/**
|
|
@@ -3815,7 +3824,7 @@ declare namespace LocalJSX {
|
|
|
3815
3824
|
/**
|
|
3816
3825
|
* Variant of the component, based on current mode.
|
|
3817
3826
|
*/
|
|
3818
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3827
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3819
3828
|
/**
|
|
3820
3829
|
* Removes the icon in the Message.
|
|
3821
3830
|
*/
|
|
@@ -3849,7 +3858,7 @@ declare namespace LocalJSX {
|
|
|
3849
3858
|
/**
|
|
3850
3859
|
* Emits when the Modal is closed.
|
|
3851
3860
|
*/
|
|
3852
|
-
"onTdsClose"?: (event: TdsModalCustomEvent<
|
|
3861
|
+
"onTdsClose"?: (event: TdsModalCustomEvent<object>) => void;
|
|
3853
3862
|
/**
|
|
3854
3863
|
* Emits just before Modal is opened.
|
|
3855
3864
|
*/
|
|
@@ -3929,7 +3938,7 @@ declare namespace LocalJSX {
|
|
|
3929
3938
|
/**
|
|
3930
3939
|
* Mode variant of the component, based on current mode.
|
|
3931
3940
|
*/
|
|
3932
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
3941
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
3933
3942
|
/**
|
|
3934
3943
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3935
3944
|
*/
|
|
@@ -3957,7 +3966,7 @@ declare namespace LocalJSX {
|
|
|
3957
3966
|
/**
|
|
3958
3967
|
* 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
3968
|
*/
|
|
3960
|
-
"show"?: boolean;
|
|
3969
|
+
"show"?: boolean | null;
|
|
3961
3970
|
/**
|
|
3962
3971
|
* Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
|
|
3963
3972
|
*/
|
|
@@ -3979,7 +3988,7 @@ declare namespace LocalJSX {
|
|
|
3979
3988
|
/**
|
|
3980
3989
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3981
3990
|
*/
|
|
3982
|
-
"modifiers"?:
|
|
3991
|
+
"modifiers"?: object[];
|
|
3983
3992
|
/**
|
|
3984
3993
|
* Sets the offset distance
|
|
3985
3994
|
*/
|
|
@@ -4003,7 +4012,7 @@ declare namespace LocalJSX {
|
|
|
4003
4012
|
/**
|
|
4004
4013
|
* 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
4014
|
*/
|
|
4006
|
-
"show"?: boolean;
|
|
4015
|
+
"show"?: boolean | null;
|
|
4007
4016
|
/**
|
|
4008
4017
|
* What triggers the popover to show
|
|
4009
4018
|
*/
|
|
@@ -4025,7 +4034,7 @@ declare namespace LocalJSX {
|
|
|
4025
4034
|
/**
|
|
4026
4035
|
* Mode variant of the component, based on current mode.
|
|
4027
4036
|
*/
|
|
4028
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4037
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4029
4038
|
/**
|
|
4030
4039
|
* Sets the offset distance
|
|
4031
4040
|
*/
|
|
@@ -4049,7 +4058,7 @@ declare namespace LocalJSX {
|
|
|
4049
4058
|
/**
|
|
4050
4059
|
* 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
4060
|
*/
|
|
4052
|
-
"show"?: boolean;
|
|
4061
|
+
"show"?: boolean | null;
|
|
4053
4062
|
}
|
|
4054
4063
|
interface TdsPopoverMenuItem {
|
|
4055
4064
|
/**
|
|
@@ -4345,11 +4354,11 @@ declare namespace LocalJSX {
|
|
|
4345
4354
|
/**
|
|
4346
4355
|
* Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
|
|
4347
4356
|
*/
|
|
4348
|
-
"horizontalScrollWidth"?: string;
|
|
4357
|
+
"horizontalScrollWidth"?: string | null;
|
|
4349
4358
|
/**
|
|
4350
4359
|
* Variant of the component, based on current mode.
|
|
4351
4360
|
*/
|
|
4352
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4361
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4353
4362
|
/**
|
|
4354
4363
|
* Enables multiselect feature of Table
|
|
4355
4364
|
*/
|
|
@@ -4401,16 +4410,16 @@ declare namespace LocalJSX {
|
|
|
4401
4410
|
*/
|
|
4402
4411
|
"onTdsClick"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4403
4412
|
event: MouseEvent;
|
|
4404
|
-
tableId: string;
|
|
4413
|
+
tableId: string | undefined;
|
|
4405
4414
|
rowIndex: number;
|
|
4406
4415
|
}>) => void;
|
|
4407
4416
|
/**
|
|
4408
4417
|
* Event emitted when a row is selected/deselected.
|
|
4409
4418
|
*/
|
|
4410
4419
|
"onTdsSelect"?: (event: TdsTableBodyRowCustomEvent<{
|
|
4411
|
-
tableId: string;
|
|
4420
|
+
tableId: string | undefined;
|
|
4412
4421
|
checked: boolean;
|
|
4413
|
-
selectedRows:
|
|
4422
|
+
selectedRows: object[] | undefined;
|
|
4414
4423
|
}>) => void;
|
|
4415
4424
|
/**
|
|
4416
4425
|
* Marks the row as selected, used for multiselect table.
|
|
@@ -4425,7 +4434,7 @@ declare namespace LocalJSX {
|
|
|
4425
4434
|
/**
|
|
4426
4435
|
* 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
4436
|
*/
|
|
4428
|
-
"colSpan"?: number;
|
|
4437
|
+
"colSpan"?: number | null;
|
|
4429
4438
|
/**
|
|
4430
4439
|
* Sets isExpanded state to true or false externally
|
|
4431
4440
|
*/
|
|
@@ -4436,7 +4445,7 @@ declare namespace LocalJSX {
|
|
|
4436
4445
|
"onTdsChange"?: (event: TdsTableBodyRowExpandableCustomEvent<{
|
|
4437
4446
|
rowId: string;
|
|
4438
4447
|
isExpanded: boolean;
|
|
4439
|
-
tableId: string;
|
|
4448
|
+
tableId: string | undefined;
|
|
4440
4449
|
}>) => void;
|
|
4441
4450
|
/**
|
|
4442
4451
|
* Controls the overflow behavior of the expandable row content
|
|
@@ -4455,12 +4464,12 @@ declare namespace LocalJSX {
|
|
|
4455
4464
|
/**
|
|
4456
4465
|
* <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
|
|
4457
4466
|
*/
|
|
4458
|
-
"cols"?: number;
|
|
4467
|
+
"cols"?: number | null;
|
|
4459
4468
|
/**
|
|
4460
4469
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
4461
4470
|
*/
|
|
4462
4471
|
"onTdsPagination"?: (event: TdsTableFooterCustomEvent<{
|
|
4463
|
-
tableId: string;
|
|
4472
|
+
tableId: string | undefined;
|
|
4464
4473
|
paginationValue: number;
|
|
4465
4474
|
rowsPerPage?: number;
|
|
4466
4475
|
}>) => void;
|
|
@@ -4502,9 +4511,9 @@ declare namespace LocalJSX {
|
|
|
4502
4511
|
* Event emitted when the status of the select all checkbox changes.
|
|
4503
4512
|
*/
|
|
4504
4513
|
"onTdsSelectAll"?: (event: TdsTableHeaderCustomEvent<{
|
|
4505
|
-
tableId: string;
|
|
4514
|
+
tableId: string | undefined;
|
|
4506
4515
|
checked: boolean;
|
|
4507
|
-
selectedRows:
|
|
4516
|
+
selectedRows: object[] | undefined;
|
|
4508
4517
|
}>) => void;
|
|
4509
4518
|
/**
|
|
4510
4519
|
* Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
|
|
@@ -4527,7 +4536,7 @@ declare namespace LocalJSX {
|
|
|
4527
4536
|
* 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
4537
|
*/
|
|
4529
4538
|
"onTdsFilter"?: (event: TdsTableToolbarCustomEvent<{
|
|
4530
|
-
tableId: string;
|
|
4539
|
+
tableId: string | undefined;
|
|
4531
4540
|
query: string;
|
|
4532
4541
|
}>) => void;
|
|
4533
4542
|
/**
|
|
@@ -4570,6 +4579,10 @@ declare namespace LocalJSX {
|
|
|
4570
4579
|
* Helper text
|
|
4571
4580
|
*/
|
|
4572
4581
|
"helper"?: string;
|
|
4582
|
+
/**
|
|
4583
|
+
* Hides the native arrows on number input type
|
|
4584
|
+
*/
|
|
4585
|
+
"hideNumberArrows"?: boolean;
|
|
4573
4586
|
/**
|
|
4574
4587
|
* Hides the read-only icon in the Text Field. Requires Read Only to be enabled.
|
|
4575
4588
|
*/
|
|
@@ -4597,7 +4610,7 @@ declare namespace LocalJSX {
|
|
|
4597
4610
|
/**
|
|
4598
4611
|
* Mode variant of the Text Field
|
|
4599
4612
|
*/
|
|
4600
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4613
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4601
4614
|
/**
|
|
4602
4615
|
* Name property
|
|
4603
4616
|
*/
|
|
@@ -4614,6 +4627,10 @@ declare namespace LocalJSX {
|
|
|
4614
4627
|
* Change event for the Text Field
|
|
4615
4628
|
*/
|
|
4616
4629
|
"onTdsChange"?: (event: TdsTextFieldCustomEvent<any>) => void;
|
|
4630
|
+
/**
|
|
4631
|
+
* Error event for the Text Field - emitted when value is clamped to min/max
|
|
4632
|
+
*/
|
|
4633
|
+
"onTdsError"?: (event: TdsTextFieldCustomEvent<{ originalValue: string; clampedValue: string; reason: 'min' | 'max' }>) => void;
|
|
4617
4634
|
/**
|
|
4618
4635
|
* Focus event for the Text Field
|
|
4619
4636
|
*/
|
|
@@ -4642,6 +4659,10 @@ declare namespace LocalJSX {
|
|
|
4642
4659
|
* Error state of input
|
|
4643
4660
|
*/
|
|
4644
4661
|
"state"?: 'error' | 'success' | 'default';
|
|
4662
|
+
/**
|
|
4663
|
+
* Step value for input type number
|
|
4664
|
+
*/
|
|
4665
|
+
"step"?: string | number;
|
|
4645
4666
|
/**
|
|
4646
4667
|
* Value to be used for the aria-label attribute. Can be used for announcing that readOnly prop is set to true.
|
|
4647
4668
|
*/
|
|
@@ -4691,7 +4712,7 @@ declare namespace LocalJSX {
|
|
|
4691
4712
|
/**
|
|
4692
4713
|
* Mode variant of the Textarea
|
|
4693
4714
|
*/
|
|
4694
|
-
"modeVariant"?: 'primary' | 'secondary';
|
|
4715
|
+
"modeVariant"?: 'primary' | 'secondary' | null;
|
|
4695
4716
|
/**
|
|
4696
4717
|
* Name attribute
|
|
4697
4718
|
*/
|
|
@@ -4858,7 +4879,7 @@ declare namespace LocalJSX {
|
|
|
4858
4879
|
/**
|
|
4859
4880
|
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
4860
4881
|
*/
|
|
4861
|
-
"show"?: boolean;
|
|
4882
|
+
"show"?: boolean | null;
|
|
4862
4883
|
/**
|
|
4863
4884
|
* Sets the aria-describedby attribute
|
|
4864
4885
|
*/
|
|
@@ -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;
|