@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.0-angular-patch-types-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-CxAGLnpY.js +2414 -0
- package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
- package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
- package/dist/cjs/tds-accordion.cjs.entry.js +6 -7
- package/dist/cjs/tds-badge.cjs.entry.js +6 -5
- package/dist/cjs/tds-banner.cjs.entry.js +18 -14
- package/dist/cjs/tds-block.cjs.entry.js +5 -6
- package/dist/cjs/tds-body-cell.cjs.entry.js +6 -13
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
- package/dist/cjs/tds-button_2.cjs.entry.js +18 -19
- package/dist/cjs/tds-card.cjs.entry.js +30 -21
- package/dist/cjs/tds-checkbox.cjs.entry.js +16 -21
- package/dist/cjs/tds-chip.cjs.entry.js +18 -15
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +12 -17
- package/dist/cjs/tds-datetime.cjs.entry.js +32 -31
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -92
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -23
- package/dist/cjs/tds-footer-group.cjs.entry.js +10 -16
- package/dist/cjs/tds-footer-item.cjs.entry.js +4 -11
- package/dist/cjs/tds-footer.cjs.entry.js +7 -9
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -7
- package/dist/cjs/tds-header-cell.cjs.entry.js +23 -32
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +4 -5
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -9
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +8 -13
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +13 -19
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -8
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +6 -8
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -8
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -5
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -6
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
- package/dist/cjs/tds-header-launcher.cjs.entry.js +10 -19
- package/dist/cjs/tds-header-title.cjs.entry.js +2 -5
- package/dist/cjs/tds-header.cjs.entry.js +10 -15
- package/dist/cjs/tds-icon.cjs.entry.js +12 -13
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -23
- package/dist/cjs/tds-link.cjs.entry.js +5 -5
- package/dist/cjs/tds-message.cjs.entry.js +16 -16
- package/dist/cjs/tds-modal.cjs.entry.js +23 -24
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +19 -25
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
- package/dist/cjs/tds-popover-core.cjs.entry.js +47 -45
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
- package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
- package/dist/cjs/tds-radio-button.cjs.entry.js +12 -18
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -11
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +12 -18
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -8
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -12
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -21
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -5
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -11
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -9
- package/dist/cjs/tds-side-menu.cjs.entry.js +24 -24
- package/dist/cjs/tds-slider.cjs.entry.js +55 -50
- package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
- package/dist/cjs/tds-step.cjs.entry.js +4 -14
- package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +21 -24
- package/dist/cjs/tds-table-body-row.cjs.entry.js +10 -13
- package/dist/cjs/tds-table-body.cjs.entry.js +12 -20
- package/dist/cjs/tds-table-footer.cjs.entry.js +28 -31
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
- package/dist/cjs/tds-table-header.cjs.entry.js +23 -30
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +9 -11
- package/dist/cjs/tds-table.cjs.entry.js +33 -21
- package/dist/cjs/tds-tag.cjs.entry.js +5 -7
- package/dist/cjs/tds-text-field.cjs.entry.js +28 -20
- package/dist/cjs/tds-textarea.cjs.entry.js +20 -18
- package/dist/cjs/tds-toast.cjs.entry.js +16 -16
- package/dist/cjs/tds-toggle.cjs.entry.js +17 -19
- package/dist/cjs/tds-tooltip.cjs.entry.js +29 -23
- package/dist/cjs/tegel.cjs.js +7 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
- package/dist/collection/components/accordion/accordion.js +12 -6
- package/dist/collection/components/badge/badge.js +16 -4
- package/dist/collection/components/banner/banner.js +39 -18
- package/dist/collection/components/block/block.js +11 -5
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
- package/dist/collection/components/button/button.js +51 -28
- package/dist/collection/components/card/card.js +68 -32
- package/dist/collection/components/checkbox/checkbox.js +45 -29
- package/dist/collection/components/chip/chip.js +42 -20
- package/dist/collection/components/datetime/datetime.js +83 -47
- package/dist/collection/components/divider/divider.js +8 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +22 -21
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +139 -94
- package/dist/collection/components/footer/footer-group/footer-group.js +15 -14
- package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
- package/dist/collection/components/footer/footer.js +9 -6
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +24 -19
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
- package/dist/collection/components/header/header-item/header-item.js +14 -11
- package/dist/collection/components/header/header-launcher/header-launcher.js +9 -13
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
- package/dist/collection/components/header/header.js +6 -8
- package/dist/collection/components/icon/icon.js +30 -18
- package/dist/collection/components/link/link.js +12 -3
- package/dist/collection/components/message/message.css +2 -1
- package/dist/collection/components/message/message.js +37 -20
- package/dist/collection/components/modal/modal.css +54 -10
- package/dist/collection/components/modal/modal.js +51 -31
- package/dist/collection/components/popover-canvas/popover-canvas.js +54 -23
- package/dist/collection/components/popover-core/popover-core.js +83 -49
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
- package/dist/collection/components/popover-menu/popover-menu.js +51 -23
- package/dist/collection/components/radio-button/radio-button.js +37 -24
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -6
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +20 -12
- 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 -14
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +18 -17
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
- package/dist/collection/components/side-menu/side-menu.js +31 -22
- package/dist/collection/components/slider/slider.js +106 -62
- package/dist/collection/components/spinner/spinner.js +8 -2
- package/dist/collection/components/stepper/step/step.js +13 -14
- package/dist/collection/components/stepper/stepper.js +28 -6
- package/dist/collection/components/table/table/table.js +67 -48
- package/dist/collection/components/table/table-body/table-body.js +10 -15
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -18
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +22 -16
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +43 -31
- package/dist/collection/components/table/table-footer/table-footer.js +48 -36
- package/dist/collection/components/table/table-header/table-header.js +37 -33
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +57 -49
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +18 -11
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +32 -26
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +34 -25
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +36 -27
- package/dist/collection/components/tag/tag.js +12 -5
- package/dist/collection/components/text-field/text-field.js +93 -40
- package/dist/collection/components/textarea/textarea.js +74 -35
- package/dist/collection/components/toast/toast.js +42 -21
- package/dist/collection/components/toggle/toggle.js +41 -24
- package/dist/collection/components/tooltip/tooltip.js +64 -33
- package/dist/collection/utils/appendHiddenInput.js +4 -6
- package/dist/components/index.js +1825 -1
- package/dist/components/{p-415fafb3.js → p-B569z5eW.js} +25 -15
- package/dist/components/{p-ead6727f.js → p-BHBgkUfr.js} +17 -17
- package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
- package/dist/components/{p-7e02ea3e.js → p-BhQM9_yR.js} +68 -77
- package/dist/components/{p-e0ccf8e6.js → p-BxmFjTxG.js} +20 -22
- package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
- package/dist/components/{p-edc838a0.js → p-CPDv0bBc.js} +17 -14
- package/dist/components/{p-e627f11b.js → p-Ca3wGDna.js} +21 -22
- package/dist/components/{p-799470b1.js → p-ChCWm6If.js} +20 -18
- package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
- package/dist/components/{p-0d286c19.js → p-D1ati-pM.js} +13 -11
- package/dist/components/{p-ad376f70.js → p-DnzQe_HU.js} +35 -25
- package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
- package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
- package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
- package/dist/components/{p-a64cbc40.js → p-Ip9G3co9.js} +36 -24
- package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/components/{p-da11a695.js → p-QnvG_QPu.js} +12 -13
- package/dist/components/{p-98d082f9.js → p-SqXsUd-b.js} +21 -25
- package/dist/components/{p-6fd2b339.js → p-X1sPx4t5.js} +52 -46
- package/dist/components/tds-accordion-item.js +15 -8
- package/dist/components/tds-accordion.js +11 -8
- package/dist/components/tds-badge.js +11 -6
- package/dist/components/tds-banner.js +24 -16
- package/dist/components/tds-block.js +10 -7
- package/dist/components/tds-body-cell.js +12 -15
- package/dist/components/tds-breadcrumb.js +8 -6
- package/dist/components/tds-breadcrumbs.js +7 -7
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +38 -25
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +23 -16
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +38 -33
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +8 -7
- package/dist/components/tds-folder-tabs.js +22 -25
- package/dist/components/tds-footer-group.js +16 -18
- package/dist/components/tds-footer-item.js +9 -12
- package/dist/components/tds-footer.js +12 -10
- package/dist/components/tds-header-brand-symbol.js +11 -10
- package/dist/components/tds-header-cell.js +29 -34
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +7 -10
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +23 -25
- package/dist/components/tds-header-hamburger.js +11 -11
- 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-item.js +7 -6
- package/dist/components/tds-header-launcher-grid-title.js +8 -7
- package/dist/components/tds-header-launcher-grid.js +8 -8
- package/dist/components/tds-header-launcher-list-item.js +8 -7
- package/dist/components/tds-header-launcher-list-title.js +8 -7
- package/dist/components/tds-header-launcher-list.js +8 -6
- package/dist/components/tds-header-launcher.js +20 -25
- package/dist/components/tds-header-title.js +7 -6
- package/dist/components/tds-header.js +14 -15
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +8 -6
- package/dist/components/tds-inline-tabs.js +23 -25
- package/dist/components/tds-link.js +10 -6
- package/dist/components/tds-message.js +22 -18
- package/dist/components/tds-modal.js +29 -26
- package/dist/components/tds-navigation-tab.js +8 -6
- package/dist/components/tds-navigation-tabs.js +25 -27
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +8 -6
- package/dist/components/tds-popover-menu.js +24 -15
- package/dist/components/tds-radio-button.js +17 -19
- package/dist/components/tds-side-menu-close-button.js +9 -8
- package/dist/components/tds-side-menu-collapse-button.js +13 -13
- package/dist/components/tds-side-menu-dropdown-list-item.js +17 -19
- package/dist/components/tds-side-menu-dropdown-list.js +10 -9
- package/dist/components/tds-side-menu-dropdown.js +16 -15
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +7 -6
- 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 +9 -12
- package/dist/components/tds-side-menu.js +29 -25
- package/dist/components/tds-slider.js +64 -55
- package/dist/components/tds-spinner.js +9 -6
- package/dist/components/tds-step.js +10 -16
- package/dist/components/tds-stepper.js +18 -7
- package/dist/components/tds-table-body-input-wrapper.js +10 -8
- package/dist/components/tds-table-body-row-expandable.js +26 -25
- package/dist/components/tds-table-body-row.js +16 -15
- package/dist/components/tds-table-body.js +17 -21
- package/dist/components/tds-table-footer.js +37 -36
- package/dist/components/tds-table-header-input-wrapper.js +10 -8
- package/dist/components/tds-table-header.js +29 -32
- package/dist/components/tds-table-toolbar.js +15 -13
- package/dist/components/tds-table.js +38 -22
- package/dist/components/tds-tag.js +10 -8
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +28 -22
- package/dist/components/tds-toast.js +22 -18
- package/dist/components/tds-toggle.js +22 -20
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-BqRtRha-.js +2385 -0
- package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
- package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
- package/dist/esm/loader.js +3 -4
- package/dist/esm/tds-accordion-item.entry.js +9 -4
- package/dist/esm/tds-accordion.entry.js +6 -5
- package/dist/esm/tds-badge.entry.js +6 -3
- package/dist/esm/tds-banner.entry.js +18 -12
- package/dist/esm/tds-block.entry.js +5 -4
- package/dist/esm/tds-body-cell.entry.js +6 -11
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +2 -4
- package/dist/esm/tds-button_2.entry.js +18 -17
- package/dist/esm/tds-card.entry.js +30 -19
- package/dist/esm/tds-checkbox.entry.js +16 -19
- package/dist/esm/tds-chip.entry.js +18 -13
- package/dist/esm/tds-core-header-item_2.entry.js +12 -15
- package/dist/esm/tds-datetime.entry.js +32 -29
- package/dist/esm/tds-dropdown_2.entry.js +73 -90
- package/dist/esm/tds-folder-tab.entry.js +3 -4
- package/dist/esm/tds-folder-tabs.entry.js +16 -21
- package/dist/esm/tds-footer-group.entry.js +10 -14
- package/dist/esm/tds-footer-item.entry.js +4 -9
- package/dist/esm/tds-footer.entry.js +7 -7
- package/dist/esm/tds-header-brand-symbol.entry.js +4 -5
- package/dist/esm/tds-header-cell.entry.js +23 -30
- package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
- package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
- package/dist/esm/tds-header-dropdown-list.entry.js +8 -11
- package/dist/esm/tds-header-dropdown.entry.js +13 -17
- package/dist/esm/tds-header-hamburger.entry.js +4 -6
- package/dist/esm/tds-header-launcher-button.entry.js +6 -6
- package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
- package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
- package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
- package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
- package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +10 -17
- package/dist/esm/tds-header-title.entry.js +2 -3
- package/dist/esm/tds-header.entry.js +10 -13
- package/dist/esm/tds-icon.entry.js +12 -11
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +17 -21
- package/dist/esm/tds-link.entry.js +5 -3
- package/dist/esm/tds-message.entry.js +16 -14
- package/dist/esm/tds-modal.entry.js +23 -22
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +19 -23
- package/dist/esm/tds-popover-canvas.entry.js +19 -11
- package/dist/esm/tds-popover-core.entry.js +47 -43
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +18 -11
- package/dist/esm/tds-radio-button.entry.js +12 -16
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
- package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -9
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +12 -16
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -6
- package/dist/esm/tds-side-menu-dropdown.entry.js +9 -10
- package/dist/esm/tds-side-menu-item.entry.js +15 -19
- package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
- package/dist/esm/tds-side-menu-user.entry.js +2 -7
- package/dist/esm/tds-side-menu.entry.js +24 -22
- package/dist/esm/tds-slider.entry.js +55 -48
- package/dist/esm/tds-spinner.entry.js +4 -3
- package/dist/esm/tds-step.entry.js +4 -12
- package/dist/esm/tds-stepper.entry.js +13 -4
- package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-body-row-expandable.entry.js +21 -22
- package/dist/esm/tds-table-body-row.entry.js +10 -11
- package/dist/esm/tds-table-body.entry.js +12 -18
- package/dist/esm/tds-table-footer.entry.js +28 -29
- package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
- package/dist/esm/tds-table-header.entry.js +23 -28
- package/dist/esm/tds-table-toolbar.entry.js +9 -9
- package/dist/esm/tds-table.entry.js +33 -19
- package/dist/esm/tds-tag.entry.js +5 -5
- package/dist/esm/tds-text-field.entry.js +28 -18
- package/dist/esm/tds-textarea.entry.js +20 -16
- package/dist/esm/tds-toast.entry.js +16 -14
- package/dist/esm/tds-toggle.entry.js +17 -17
- package/dist/esm/tds-tooltip.entry.js +29 -21
- package/dist/esm/tegel.js +5 -5
- package/dist/tegel/p-03ff8648.entry.js +1 -0
- package/dist/tegel/p-08ef673e.entry.js +1 -0
- package/dist/tegel/{p-646d1df4.entry.js → p-0ac95ef0.entry.js} +1 -1
- package/dist/tegel/p-11159349.entry.js +1 -0
- package/dist/tegel/{p-87219f00.entry.js → p-15c69748.entry.js} +1 -1
- package/dist/tegel/p-192332e7.entry.js +1 -0
- package/dist/tegel/{p-da38aa9a.entry.js → p-1f255f25.entry.js} +1 -1
- package/dist/tegel/p-206d4703.entry.js +1 -0
- package/dist/tegel/{p-b734b309.entry.js → p-20b5c366.entry.js} +1 -1
- package/dist/tegel/p-26907beb.entry.js +1 -0
- package/dist/tegel/{p-2faeb483.entry.js → p-299e0e56.entry.js} +1 -1
- package/dist/tegel/p-2a1342d8.entry.js +1 -0
- package/dist/tegel/p-312c49f8.entry.js +1 -0
- package/dist/tegel/p-342052b9.entry.js +1 -0
- package/dist/tegel/p-3557fbdf.entry.js +1 -0
- package/dist/tegel/p-3806a0e4.entry.js +1 -0
- package/dist/tegel/{p-771f53c2.entry.js → p-3a5588b2.entry.js} +1 -1
- package/dist/tegel/p-3ba30c59.entry.js +1 -0
- package/dist/tegel/p-3bd99720.entry.js +1 -0
- package/dist/tegel/p-3de8e52b.entry.js +1 -0
- package/dist/tegel/p-41084e54.entry.js +1 -0
- package/dist/tegel/p-41242d2e.entry.js +1 -0
- package/dist/tegel/p-43f6c149.entry.js +1 -0
- package/dist/tegel/p-4489b7d5.entry.js +1 -0
- package/dist/tegel/p-4e58b98d.entry.js +1 -0
- package/dist/tegel/p-503abc18.entry.js +1 -0
- package/dist/tegel/{p-4b5e15cc.entry.js → p-5bea354f.entry.js} +1 -1
- package/dist/tegel/p-5eed2dae.entry.js +1 -0
- package/dist/tegel/p-6253f1d8.entry.js +1 -0
- package/dist/tegel/p-6301a8b5.entry.js +1 -0
- package/dist/tegel/{p-c163d44f.entry.js → p-648df3a1.entry.js} +1 -1
- package/dist/tegel/p-65d43cfd.entry.js +1 -0
- package/dist/tegel/p-6d4e71fd.entry.js +1 -0
- package/dist/tegel/p-73c9a5b3.entry.js +1 -0
- package/dist/tegel/{p-ceed0476.entry.js → p-7cec9df0.entry.js} +1 -1
- package/dist/tegel/p-7ef6db3c.entry.js +1 -0
- package/dist/tegel/p-81314f19.entry.js +1 -0
- package/dist/tegel/p-88d3bbbd.entry.js +1 -0
- package/dist/tegel/p-8a5df42a.entry.js +1 -0
- package/dist/tegel/p-8f1bbe70.entry.js +1 -0
- package/dist/tegel/p-9296f0d1.entry.js +1 -0
- package/dist/tegel/p-954e6cf0.entry.js +1 -0
- package/dist/tegel/{p-655051b6.entry.js → p-996f0ac5.entry.js} +1 -1
- package/dist/tegel/p-9fed9d16.entry.js +1 -0
- package/dist/tegel/p-BqRtRha-.js +2 -0
- package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
- package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
- package/dist/tegel/p-a13ecd87.entry.js +1 -0
- package/dist/tegel/{p-3c348fcb.entry.js → p-a74d375a.entry.js} +1 -1
- package/dist/tegel/p-a8d29ac5.entry.js +1 -0
- package/dist/tegel/p-abe630f5.entry.js +1 -0
- package/dist/tegel/p-b2934101.entry.js +1 -0
- package/dist/tegel/p-b2d9244a.entry.js +1 -0
- package/dist/tegel/{p-2766b46f.entry.js → p-b5deab8e.entry.js} +1 -1
- package/dist/tegel/p-b901a7e3.entry.js +1 -0
- package/dist/tegel/{p-133351b5.entry.js → p-b9cb2eef.entry.js} +1 -1
- package/dist/tegel/p-bbcab377.entry.js +1 -0
- package/dist/tegel/{p-c2e514b4.entry.js → p-bc4d68b0.entry.js} +1 -1
- package/dist/tegel/p-c2ae97bb.entry.js +1 -0
- package/dist/tegel/{p-88bb1059.entry.js → p-c7c4f528.entry.js} +1 -1
- package/dist/tegel/p-ca437b9a.entry.js +1 -0
- package/dist/tegel/{p-c5694dd6.entry.js → p-d03f33c0.entry.js} +1 -1
- package/dist/tegel/p-d0c0c8f3.entry.js +1 -0
- package/dist/tegel/p-d1f9c4fd.entry.js +1 -0
- package/dist/tegel/p-d2b7c692.entry.js +1 -0
- package/dist/tegel/{p-27369d6a.entry.js → p-d659aefa.entry.js} +1 -1
- package/dist/tegel/p-d67ff384.entry.js +1 -0
- package/dist/tegel/p-d8a35537.entry.js +1 -0
- package/dist/tegel/{p-fe4335ca.entry.js → p-de9f2a0d.entry.js} +1 -1
- package/dist/tegel/p-dec2ede0.entry.js +1 -0
- package/dist/tegel/p-e1daba90.entry.js +1 -0
- package/dist/tegel/p-e5166678.entry.js +1 -0
- package/dist/tegel/p-e643c9b3.entry.js +1 -0
- package/dist/tegel/{p-8a4837ae.entry.js → p-e777d558.entry.js} +1 -1
- package/dist/tegel/p-f0c912af.entry.js +1 -0
- package/dist/tegel/p-f3da2bf5.entry.js +1 -0
- package/dist/tegel/p-f46be246.entry.js +1 -0
- package/dist/tegel/p-f5a7d350.entry.js +1 -0
- package/dist/tegel/p-fa19eac0.entry.js +1 -0
- package/dist/tegel/p-fa8a4f27.entry.js +1 -0
- package/dist/tegel/{p-b9afb39e.entry.js → p-fb59d675.entry.js} +1 -1
- package/dist/tegel/p-ff6da1f1.entry.js +1 -0
- package/dist/tegel/tegel.css +3 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +9 -5
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
- package/dist/types/components/popover-core/popover-core.d.ts +4 -4
- package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
- package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
- package/dist/types/components/table/table/table.d.ts +3 -6
- package/dist/types/components/table/table-body/table-body.d.ts +3 -3
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -8
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +5 -5
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
- package/dist/types/components/text-field/text-field.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +628 -81
- package/dist/types/stencil-public-runtime.d.ts +86 -4
- 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 +2 -2
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-ca8040ad.js +0 -2039
- package/dist/components/p-28ef5186.js +0 -1507
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-51d04e39.js +0 -2009
- package/dist/tegel/p-08c16b2f.entry.js +0 -1
- package/dist/tegel/p-0b37e91a.entry.js +0 -1
- package/dist/tegel/p-177386d5.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1e1a87c1.entry.js +0 -1
- package/dist/tegel/p-2049fab2.js +0 -2
- package/dist/tegel/p-2268af7f.entry.js +0 -1
- package/dist/tegel/p-252a7d3f.entry.js +0 -1
- package/dist/tegel/p-25473962.entry.js +0 -1
- package/dist/tegel/p-27d39882.entry.js +0 -1
- package/dist/tegel/p-304f5a5c.entry.js +0 -1
- package/dist/tegel/p-3ef04672.entry.js +0 -1
- package/dist/tegel/p-40d99d7d.entry.js +0 -1
- package/dist/tegel/p-40fa0f5b.entry.js +0 -1
- package/dist/tegel/p-48a3e489.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-4e15f31d.entry.js +0 -1
- package/dist/tegel/p-57c08d0d.entry.js +0 -1
- package/dist/tegel/p-58ac68f3.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-6a472310.entry.js +0 -1
- package/dist/tegel/p-7104b955.entry.js +0 -1
- package/dist/tegel/p-781b2939.entry.js +0 -1
- package/dist/tegel/p-894e7e11.entry.js +0 -1
- package/dist/tegel/p-942f8c6f.entry.js +0 -1
- package/dist/tegel/p-98eff725.entry.js +0 -1
- package/dist/tegel/p-9b06bd5f.entry.js +0 -1
- package/dist/tegel/p-9c56b031.entry.js +0 -1
- package/dist/tegel/p-a20a54ef.entry.js +0 -1
- package/dist/tegel/p-a2b2092a.entry.js +0 -1
- package/dist/tegel/p-a334b517.entry.js +0 -1
- package/dist/tegel/p-a4e4c450.entry.js +0 -1
- package/dist/tegel/p-a60ed3de.entry.js +0 -1
- package/dist/tegel/p-a6dca188.entry.js +0 -1
- package/dist/tegel/p-a912035b.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b218db70.entry.js +0 -1
- package/dist/tegel/p-b3b13975.entry.js +0 -1
- package/dist/tegel/p-b7abb81f.entry.js +0 -1
- package/dist/tegel/p-bb8c2a36.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-bee9e9d1.entry.js +0 -1
- package/dist/tegel/p-c23a3f12.entry.js +0 -1
- package/dist/tegel/p-ca068263.entry.js +0 -1
- package/dist/tegel/p-ca16f1ed.entry.js +0 -1
- package/dist/tegel/p-ca32a270.entry.js +0 -1
- package/dist/tegel/p-cc962b6c.entry.js +0 -1
- package/dist/tegel/p-d501a665.entry.js +0 -1
- package/dist/tegel/p-dda1ac69.entry.js +0 -1
- package/dist/tegel/p-e0dc09f9.entry.js +0 -1
- package/dist/tegel/p-e1255160.js +0 -1
- package/dist/tegel/p-e29fa563.entry.js +0 -1
- package/dist/tegel/p-e6e9d11f.entry.js +0 -1
- package/dist/tegel/p-e8b58680.entry.js +0 -1
- package/dist/tegel/p-ed66ef30.entry.js +0 -1
- package/dist/tegel/p-f5ca4fbf.entry.js +0 -1
- package/dist/tegel/p-f602b3a1.entry.js +0 -1
- package/dist/tegel/p-f8a37d39.entry.js +0 -1
- package/dist/tegel/p-f922308f.entry.js +0 -1
- package/dist/tegel/p-fb300776.entry.js +0 -1
- package/dist/tegel/p-fd22d1ca.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
- /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
- /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
- /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
- /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
- /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
- /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
- /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
- /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
- /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
- /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
- /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
- /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
- /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
- /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
- /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
|
@@ -11,6 +11,22 @@ const relevantTableProps = [
|
|
|
11
11
|
*/
|
|
12
12
|
export class TdsTableHeaderCell {
|
|
13
13
|
constructor() {
|
|
14
|
+
/** Enables sorting on that column */
|
|
15
|
+
this.sortable = false;
|
|
16
|
+
/** Setting for text align, default is "left". Other accepted values are "left", "start", "right" or "end". */
|
|
17
|
+
this.textAlign = 'left';
|
|
18
|
+
/** Disables internal padding. Useful when passing other components to cell. */
|
|
19
|
+
this.disablePadding = false;
|
|
20
|
+
/** Aria label for the sort button, providing an accessible description */
|
|
21
|
+
this.tdsAriaLabelSortButton = '';
|
|
22
|
+
this.sortedByMyKey = false;
|
|
23
|
+
this.verticalDividers = false;
|
|
24
|
+
this.compactDesign = false;
|
|
25
|
+
this.noMinWidth = false;
|
|
26
|
+
this.multiselect = false;
|
|
27
|
+
this.enableToolbarDesign = false;
|
|
28
|
+
this.tableId = '';
|
|
29
|
+
this.expandableRows = false;
|
|
14
30
|
this.sortButtonClick = () => {
|
|
15
31
|
if (this.sortingDirection !== 'asc' && this.sortingDirection !== 'desc') {
|
|
16
32
|
this.sortingDirection = 'asc';
|
|
@@ -44,23 +60,6 @@ export class TdsTableHeaderCell {
|
|
|
44
60
|
key,
|
|
45
61
|
});
|
|
46
62
|
};
|
|
47
|
-
this.cellKey = undefined;
|
|
48
|
-
this.cellValue = undefined;
|
|
49
|
-
this.customWidth = undefined;
|
|
50
|
-
this.sortable = false;
|
|
51
|
-
this.textAlign = 'left';
|
|
52
|
-
this.disablePadding = false;
|
|
53
|
-
this.tdsAriaLabelSortButton = '';
|
|
54
|
-
this.textAlignState = undefined;
|
|
55
|
-
this.sortingDirection = undefined;
|
|
56
|
-
this.sortedByMyKey = false;
|
|
57
|
-
this.verticalDividers = false;
|
|
58
|
-
this.compactDesign = false;
|
|
59
|
-
this.noMinWidth = false;
|
|
60
|
-
this.multiselect = false;
|
|
61
|
-
this.enableToolbarDesign = false;
|
|
62
|
-
this.tableId = '';
|
|
63
|
-
this.expandableRows = false;
|
|
64
63
|
}
|
|
65
64
|
internalTdsPropChangeListener(event) {
|
|
66
65
|
if (this.tableId === event.detail.tableId) {
|
|
@@ -87,14 +86,12 @@ export class TdsTableHeaderCell {
|
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
88
|
connectedCallback() {
|
|
90
|
-
var _a;
|
|
91
89
|
this.tableEl = this.host.closest('tds-table');
|
|
92
|
-
this.tableId =
|
|
90
|
+
this.tableId = this.tableEl.tableId;
|
|
93
91
|
}
|
|
94
92
|
componentWillLoad() {
|
|
95
93
|
relevantTableProps.forEach((tablePropName) => {
|
|
96
|
-
|
|
97
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
94
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
98
95
|
});
|
|
99
96
|
}
|
|
100
97
|
componentWillRender() {
|
|
@@ -104,11 +101,8 @@ export class TdsTableHeaderCell {
|
|
|
104
101
|
: 'left';
|
|
105
102
|
// To enable body cells text align per rules set in head cell
|
|
106
103
|
this.internalTdsTextAlign.emit([this.tableId, this.cellKey, this.textAlignState]);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
this.enableToolbarDesign =
|
|
110
|
-
closesetTable.getElementsByTagName('tds-table-toolbar').length >= 1;
|
|
111
|
-
}
|
|
104
|
+
this.enableToolbarDesign =
|
|
105
|
+
this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
|
|
112
106
|
}
|
|
113
107
|
getAriaSort() {
|
|
114
108
|
if (this.sortingDirection === 'asc')
|
|
@@ -118,7 +112,7 @@ export class TdsTableHeaderCell {
|
|
|
118
112
|
return 'none';
|
|
119
113
|
}
|
|
120
114
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: 'f128527938679fe448019802ea76cda1a57d75be', class: {
|
|
122
116
|
'tds-table__header-cell': true,
|
|
123
117
|
'tds-table__header-cell--sortable': this.sortable,
|
|
124
118
|
'tds-table__header-cell--is-sorted': this.sortedByMyKey,
|
|
@@ -150,7 +144,7 @@ export class TdsTableHeaderCell {
|
|
|
150
144
|
"mutable": false,
|
|
151
145
|
"complexType": {
|
|
152
146
|
"original": "string",
|
|
153
|
-
"resolved": "string
|
|
147
|
+
"resolved": "string",
|
|
154
148
|
"references": {}
|
|
155
149
|
},
|
|
156
150
|
"required": false,
|
|
@@ -159,15 +153,17 @@ export class TdsTableHeaderCell {
|
|
|
159
153
|
"tags": [],
|
|
160
154
|
"text": "The value of column key, usually comes from JSON, needed for sorting"
|
|
161
155
|
},
|
|
162
|
-
"
|
|
163
|
-
"
|
|
156
|
+
"getter": false,
|
|
157
|
+
"setter": false,
|
|
158
|
+
"reflect": true,
|
|
159
|
+
"attribute": "cell-key"
|
|
164
160
|
},
|
|
165
161
|
"cellValue": {
|
|
166
162
|
"type": "string",
|
|
167
163
|
"mutable": false,
|
|
168
164
|
"complexType": {
|
|
169
165
|
"original": "string",
|
|
170
|
-
"resolved": "string
|
|
166
|
+
"resolved": "string",
|
|
171
167
|
"references": {}
|
|
172
168
|
},
|
|
173
169
|
"required": false,
|
|
@@ -176,15 +172,17 @@ export class TdsTableHeaderCell {
|
|
|
176
172
|
"tags": [],
|
|
177
173
|
"text": "Text that displays in column cell"
|
|
178
174
|
},
|
|
179
|
-
"
|
|
180
|
-
"
|
|
175
|
+
"getter": false,
|
|
176
|
+
"setter": false,
|
|
177
|
+
"reflect": true,
|
|
178
|
+
"attribute": "cell-value"
|
|
181
179
|
},
|
|
182
180
|
"customWidth": {
|
|
183
181
|
"type": "string",
|
|
184
182
|
"mutable": false,
|
|
185
183
|
"complexType": {
|
|
186
184
|
"original": "string",
|
|
187
|
-
"resolved": "string
|
|
185
|
+
"resolved": "string",
|
|
188
186
|
"references": {}
|
|
189
187
|
},
|
|
190
188
|
"required": false,
|
|
@@ -193,8 +191,10 @@ export class TdsTableHeaderCell {
|
|
|
193
191
|
"tags": [],
|
|
194
192
|
"text": "In case noMinWidth is set, the user has to specify the width value for each column."
|
|
195
193
|
},
|
|
196
|
-
"
|
|
197
|
-
"
|
|
194
|
+
"getter": false,
|
|
195
|
+
"setter": false,
|
|
196
|
+
"reflect": true,
|
|
197
|
+
"attribute": "custom-width"
|
|
198
198
|
},
|
|
199
199
|
"sortable": {
|
|
200
200
|
"type": "boolean",
|
|
@@ -210,8 +210,10 @@ export class TdsTableHeaderCell {
|
|
|
210
210
|
"tags": [],
|
|
211
211
|
"text": "Enables sorting on that column"
|
|
212
212
|
},
|
|
213
|
-
"
|
|
213
|
+
"getter": false,
|
|
214
|
+
"setter": false,
|
|
214
215
|
"reflect": false,
|
|
216
|
+
"attribute": "sortable",
|
|
215
217
|
"defaultValue": "false"
|
|
216
218
|
},
|
|
217
219
|
"textAlign": {
|
|
@@ -228,8 +230,10 @@ export class TdsTableHeaderCell {
|
|
|
228
230
|
"tags": [],
|
|
229
231
|
"text": "Setting for text align, default is \"left\". Other accepted values are \"left\", \"start\", \"right\" or \"end\"."
|
|
230
232
|
},
|
|
231
|
-
"
|
|
233
|
+
"getter": false,
|
|
234
|
+
"setter": false,
|
|
232
235
|
"reflect": true,
|
|
236
|
+
"attribute": "text-align",
|
|
233
237
|
"defaultValue": "'left'"
|
|
234
238
|
},
|
|
235
239
|
"disablePadding": {
|
|
@@ -246,8 +250,10 @@ export class TdsTableHeaderCell {
|
|
|
246
250
|
"tags": [],
|
|
247
251
|
"text": "Disables internal padding. Useful when passing other components to cell."
|
|
248
252
|
},
|
|
249
|
-
"
|
|
253
|
+
"getter": false,
|
|
254
|
+
"setter": false,
|
|
250
255
|
"reflect": true,
|
|
256
|
+
"attribute": "disable-padding",
|
|
251
257
|
"defaultValue": "false"
|
|
252
258
|
},
|
|
253
259
|
"tdsAriaLabelSortButton": {
|
|
@@ -255,7 +261,7 @@ export class TdsTableHeaderCell {
|
|
|
255
261
|
"mutable": false,
|
|
256
262
|
"complexType": {
|
|
257
263
|
"original": "string",
|
|
258
|
-
"resolved": "string
|
|
264
|
+
"resolved": "string",
|
|
259
265
|
"references": {}
|
|
260
266
|
},
|
|
261
267
|
"required": false,
|
|
@@ -264,8 +270,10 @@ export class TdsTableHeaderCell {
|
|
|
264
270
|
"tags": [],
|
|
265
271
|
"text": "Aria label for the sort button, providing an accessible description"
|
|
266
272
|
},
|
|
267
|
-
"
|
|
273
|
+
"getter": false,
|
|
274
|
+
"setter": false,
|
|
268
275
|
"reflect": true,
|
|
276
|
+
"attribute": "tds-aria-label-sort-button",
|
|
269
277
|
"defaultValue": "''"
|
|
270
278
|
}
|
|
271
279
|
};
|
|
@@ -296,8 +304,8 @@ export class TdsTableHeaderCell {
|
|
|
296
304
|
"text": "Sends unique Table identifier, column key and sorting direction to the tds-table-body component,\ncan also be listened to implement custom-sorting logic."
|
|
297
305
|
},
|
|
298
306
|
"complexType": {
|
|
299
|
-
"original": "{\n tableId: string
|
|
300
|
-
"resolved": "{ tableId: string
|
|
307
|
+
"original": "{\n tableId: string;\n columnKey: string;\n sortingDirection: 'asc' | 'desc';\n }",
|
|
308
|
+
"resolved": "{ tableId: string; columnKey: string; sortingDirection: \"desc\" | \"asc\"; }",
|
|
301
309
|
"references": {}
|
|
302
310
|
}
|
|
303
311
|
}, {
|
|
@@ -314,8 +322,8 @@ export class TdsTableHeaderCell {
|
|
|
314
322
|
"text": ""
|
|
315
323
|
},
|
|
316
324
|
"complexType": {
|
|
317
|
-
"original": "{\n tableId: string
|
|
318
|
-
"resolved": "{ tableId: string
|
|
325
|
+
"original": "{\n tableId: string;\n key: string;\n }",
|
|
326
|
+
"resolved": "{ tableId: string; key: string; }",
|
|
319
327
|
"references": {}
|
|
320
328
|
}
|
|
321
329
|
}, {
|
|
@@ -332,8 +340,8 @@ export class TdsTableHeaderCell {
|
|
|
332
340
|
"text": ""
|
|
333
341
|
},
|
|
334
342
|
"complexType": {
|
|
335
|
-
"original": "
|
|
336
|
-
"resolved": "
|
|
343
|
+
"original": "any",
|
|
344
|
+
"resolved": "any",
|
|
337
345
|
"references": {}
|
|
338
346
|
}
|
|
339
347
|
}, {
|
|
@@ -350,8 +358,8 @@ export class TdsTableHeaderCell {
|
|
|
350
358
|
"text": ""
|
|
351
359
|
},
|
|
352
360
|
"complexType": {
|
|
353
|
-
"original": "{\n tableId: string
|
|
354
|
-
"resolved": "{ tableId: string
|
|
361
|
+
"original": "{\n tableId: string;\n key: string;\n }",
|
|
362
|
+
"resolved": "{ tableId: string; key: string; }",
|
|
355
363
|
"references": {}
|
|
356
364
|
}
|
|
357
365
|
}];
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js
CHANGED
|
@@ -2,6 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
const relevantTableProps = ['compactDesign'];
|
|
3
3
|
export class TdsTableHeaderInputWrapper {
|
|
4
4
|
constructor() {
|
|
5
|
+
/** Controls if the search icon is shown */
|
|
5
6
|
this.showIcon = true;
|
|
6
7
|
this.renderSlot = true;
|
|
7
8
|
this.inputFocused = false;
|
|
@@ -63,7 +64,7 @@ export class TdsTableHeaderInputWrapper {
|
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '62070c88b54c313b2db10890023db32f0eaf66b5', class: {
|
|
67
68
|
'focused-input-wrapper': this.inputFocused,
|
|
68
69
|
'show-icon': this.showIcon,
|
|
69
70
|
'tds-table__compact': this.compactDesign,
|
|
@@ -97,8 +98,10 @@ export class TdsTableHeaderInputWrapper {
|
|
|
97
98
|
"tags": [],
|
|
98
99
|
"text": "Controls if the search icon is shown"
|
|
99
100
|
},
|
|
100
|
-
"
|
|
101
|
+
"getter": false,
|
|
102
|
+
"setter": false,
|
|
101
103
|
"reflect": false,
|
|
104
|
+
"attribute": "show-icon",
|
|
102
105
|
"defaultValue": "true"
|
|
103
106
|
},
|
|
104
107
|
"compactDesign": {
|
|
@@ -115,8 +118,10 @@ export class TdsTableHeaderInputWrapper {
|
|
|
115
118
|
"tags": [],
|
|
116
119
|
"text": ""
|
|
117
120
|
},
|
|
118
|
-
"
|
|
121
|
+
"getter": false,
|
|
122
|
+
"setter": false,
|
|
119
123
|
"reflect": false,
|
|
124
|
+
"attribute": "compact-design",
|
|
120
125
|
"defaultValue": "false"
|
|
121
126
|
}
|
|
122
127
|
};
|
|
@@ -11,8 +11,11 @@ const relevantTableProps = [
|
|
|
11
11
|
*/
|
|
12
12
|
export class TdsTableToolbar {
|
|
13
13
|
constructor() {
|
|
14
|
+
/** Adds title to the Table */
|
|
14
15
|
this.tableTitle = '';
|
|
16
|
+
/** Enables preview of searchbar */
|
|
15
17
|
this.filter = false;
|
|
18
|
+
/** Aria label for the search input, providing an accessible description */
|
|
16
19
|
this.tdsSearchAriaLabel = '';
|
|
17
20
|
this.verticalDividers = false;
|
|
18
21
|
this.compactDesign = false;
|
|
@@ -34,17 +37,15 @@ export class TdsTableToolbar {
|
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
connectedCallback() {
|
|
37
|
-
var _a;
|
|
38
40
|
this.tableEl = this.host.closest('tds-table');
|
|
39
|
-
this.tableId =
|
|
41
|
+
this.tableId = this.tableEl.tableId;
|
|
40
42
|
if (!this.tdsSearchAriaLabel) {
|
|
41
43
|
console.warn('tds-table-toolbar: tdsSearchAriaLabel is highly recommended for accessibility');
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
componentWillLoad() {
|
|
45
47
|
relevantTableProps.forEach((tablePropName) => {
|
|
46
|
-
|
|
47
|
-
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
48
|
+
this[tablePropName] = this.tableEl[tablePropName];
|
|
48
49
|
});
|
|
49
50
|
}
|
|
50
51
|
handleSearch(event) {
|
|
@@ -70,10 +71,10 @@ export class TdsTableToolbar {
|
|
|
70
71
|
return styles;
|
|
71
72
|
}
|
|
72
73
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'e7ce21fcad3bfbc9f93088f777855baa9c6e3869', class: {
|
|
74
75
|
'tds-table--compact': this.compactDesign,
|
|
75
76
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
76
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
77
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '7310ec2851d440ba6529eb2d48bb20bcb508429f', class: "tds-table__upper-bar-flex" }, h("div", { key: '5b901252d433968edb04de20a25ea9c09bb39b4b', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '661f8de9fe38cd72b098251b027c7e6f554033e5', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '8d00d01e2ac92c75f95dc6ae89e7b8769cde6dc1', name: "start" })), h("div", { key: 'fd28cb512ed5ad997cdb1f0b1dff8f7489f95db5', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'fb2649d623a21eeb1a8c3ed5c512d02d7bbb2efc', class: "tds-table__searchbar" }, h("input", { key: '9cd1284bec12081a2e99996eb6bd160ac926b751', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '015060f9c59d06c430fabb0acabb8b476a477616', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '5f990c7f452a46bb0471dd658f24afd848d029e9', name: "search", size: "20px" })))), h("slot", { key: 'a91b2aee680ef316d2fdd46d46bfe9ec3eb3e314', name: "end" })))));
|
|
77
78
|
}
|
|
78
79
|
static get is() { return "tds-table-toolbar"; }
|
|
79
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -103,8 +104,10 @@ export class TdsTableToolbar {
|
|
|
103
104
|
"tags": [],
|
|
104
105
|
"text": "Adds title to the Table"
|
|
105
106
|
},
|
|
106
|
-
"
|
|
107
|
+
"getter": false,
|
|
108
|
+
"setter": false,
|
|
107
109
|
"reflect": true,
|
|
110
|
+
"attribute": "table-title",
|
|
108
111
|
"defaultValue": "''"
|
|
109
112
|
},
|
|
110
113
|
"filter": {
|
|
@@ -121,8 +124,10 @@ export class TdsTableToolbar {
|
|
|
121
124
|
"tags": [],
|
|
122
125
|
"text": "Enables preview of searchbar"
|
|
123
126
|
},
|
|
124
|
-
"
|
|
127
|
+
"getter": false,
|
|
128
|
+
"setter": false,
|
|
125
129
|
"reflect": true,
|
|
130
|
+
"attribute": "filter",
|
|
126
131
|
"defaultValue": "false"
|
|
127
132
|
},
|
|
128
133
|
"tdsSearchAriaLabel": {
|
|
@@ -139,8 +144,10 @@ export class TdsTableToolbar {
|
|
|
139
144
|
"tags": [],
|
|
140
145
|
"text": "Aria label for the search input, providing an accessible description"
|
|
141
146
|
},
|
|
142
|
-
"
|
|
147
|
+
"getter": false,
|
|
148
|
+
"setter": false,
|
|
143
149
|
"reflect": false,
|
|
150
|
+
"attribute": "tds-search-aria-label",
|
|
144
151
|
"defaultValue": "''"
|
|
145
152
|
}
|
|
146
153
|
};
|
|
@@ -167,8 +174,8 @@ export class TdsTableToolbar {
|
|
|
167
174
|
"text": "Used for sending users' input to the main parent tds-table the component,\ncan also be listened to in order to implement custom sorting logic."
|
|
168
175
|
},
|
|
169
176
|
"complexType": {
|
|
170
|
-
"original": "{\n tableId: string
|
|
171
|
-
"resolved": "{ tableId: string
|
|
177
|
+
"original": "{\n tableId: string;\n query: string;\n }",
|
|
178
|
+
"resolved": "{ tableId: string; query: string; }",
|
|
172
179
|
"references": {}
|
|
173
180
|
}
|
|
174
181
|
}];
|
|
@@ -4,9 +4,9 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsFolderTab {
|
|
6
6
|
constructor() {
|
|
7
|
+
/** Disables the Tab. */
|
|
7
8
|
this.disabled = false;
|
|
8
9
|
this.selected = false;
|
|
9
|
-
this.tabWidth = undefined;
|
|
10
10
|
}
|
|
11
11
|
/** @internal Method to set the width of the tab. Used by the <tds-folder-tabs> */
|
|
12
12
|
async setTabWidth(width) {
|
|
@@ -68,8 +68,10 @@ export class TdsFolderTab {
|
|
|
68
68
|
"tags": [],
|
|
69
69
|
"text": "Disables the Tab."
|
|
70
70
|
},
|
|
71
|
-
"
|
|
71
|
+
"getter": false,
|
|
72
|
+
"setter": false,
|
|
72
73
|
"reflect": false,
|
|
74
|
+
"attribute": "disabled",
|
|
73
75
|
"defaultValue": "false"
|
|
74
76
|
}
|
|
75
77
|
};
|
|
@@ -4,6 +4,17 @@ import { Host, h, } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsFolderTabs {
|
|
6
6
|
constructor() {
|
|
7
|
+
/** Variant of the Tabs, primary= on white, secondary= on grey50 */
|
|
8
|
+
this.modeVariant = null;
|
|
9
|
+
/** Sets the default selected Tab. */
|
|
10
|
+
this.defaultSelectedIndex = 0;
|
|
11
|
+
/** Defines aria-label on left scroll button */
|
|
12
|
+
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
13
|
+
/** Defines aria-label on right scroll button */
|
|
14
|
+
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
15
|
+
this.buttonWidth = 0;
|
|
16
|
+
this.showLeftScroll = false;
|
|
17
|
+
this.showRightScroll = false;
|
|
7
18
|
this.navWrapperElement = null; // reference to container with nav buttons
|
|
8
19
|
this.componentWidth = 0; // visible width of this component
|
|
9
20
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
@@ -26,8 +37,7 @@ export class TdsFolderTabs {
|
|
|
26
37
|
this.updateScrollButtons();
|
|
27
38
|
});
|
|
28
39
|
});
|
|
29
|
-
|
|
30
|
-
resizeObserver.observe(this.navWrapperElement);
|
|
40
|
+
resizeObserver.observe(this.navWrapperElement);
|
|
31
41
|
};
|
|
32
42
|
this.addEventListenerToTabs = () => {
|
|
33
43
|
this.children = Array.from(this.host.children);
|
|
@@ -58,14 +68,6 @@ export class TdsFolderTabs {
|
|
|
58
68
|
}
|
|
59
69
|
});
|
|
60
70
|
};
|
|
61
|
-
this.modeVariant = null;
|
|
62
|
-
this.defaultSelectedIndex = 0;
|
|
63
|
-
this.selectedIndex = undefined;
|
|
64
|
-
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
65
|
-
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
66
|
-
this.buttonWidth = 0;
|
|
67
|
-
this.showLeftScroll = false;
|
|
68
|
-
this.showRightScroll = false;
|
|
69
71
|
}
|
|
70
72
|
/** Sets the passed tabindex as the selected Tab. */
|
|
71
73
|
async selectTab(tabIndex) {
|
|
@@ -96,22 +98,16 @@ export class TdsFolderTabs {
|
|
|
96
98
|
this.children[this.selectedIndex].setSelected(true);
|
|
97
99
|
}
|
|
98
100
|
scrollRight() {
|
|
99
|
-
if (!this.navWrapperElement)
|
|
100
|
-
return;
|
|
101
101
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
102
102
|
this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
|
|
103
103
|
this.evaluateScrollButtons();
|
|
104
104
|
}
|
|
105
105
|
scrollLeft() {
|
|
106
|
-
if (!this.navWrapperElement)
|
|
107
|
-
return;
|
|
108
106
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
109
107
|
this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
|
|
110
108
|
this.evaluateScrollButtons();
|
|
111
109
|
}
|
|
112
110
|
evaluateScrollButtons() {
|
|
113
|
-
if (!this.navWrapperElement)
|
|
114
|
-
return;
|
|
115
111
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
116
112
|
this.showRightScroll = scroll <= this.scrollWidth;
|
|
117
113
|
this.showLeftScroll = scroll > 0;
|
|
@@ -169,9 +165,9 @@ export class TdsFolderTabs {
|
|
|
169
165
|
this.removeEventListenerFromTabs();
|
|
170
166
|
}
|
|
171
167
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '8c8c4916fe50279d530f99d21fef8f4ceb89fe55', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '5850bbcf52dfadf7a08dbe420916d98ed6d14b41', class: "wrapper", ref: (el) => {
|
|
173
169
|
this.navWrapperElement = el;
|
|
174
|
-
} }, h("button", { key: '
|
|
170
|
+
} }, h("button", { key: '9506486a1d6a2415bc8213cf1c0ab8c7789ad82c', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'e721ba34d2d703bd0ee2fe833e7859f282b6b332', name: "chevron_left", size: "20px" })), h("slot", { key: 'ee2558c4a7d35d8d6355df59b735344151742884', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '6ac20fbd52634a08bd6ef369a45fe0ebb7de9d5d', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '20a1096cec8ef7e121200f469761fac9a2a5086d', name: "chevron_right", size: "20px" })))));
|
|
175
171
|
}
|
|
176
172
|
static get is() { return "tds-folder-tabs"; }
|
|
177
173
|
static get encapsulation() { return "shadow"; }
|
|
@@ -191,8 +187,8 @@ export class TdsFolderTabs {
|
|
|
191
187
|
"type": "string",
|
|
192
188
|
"mutable": false,
|
|
193
189
|
"complexType": {
|
|
194
|
-
"original": "'primary' | 'secondary'
|
|
195
|
-
"resolved": "\"primary\" | \"secondary\"
|
|
190
|
+
"original": "'primary' | 'secondary'",
|
|
191
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
196
192
|
"references": {}
|
|
197
193
|
},
|
|
198
194
|
"required": false,
|
|
@@ -201,8 +197,10 @@ export class TdsFolderTabs {
|
|
|
201
197
|
"tags": [],
|
|
202
198
|
"text": "Variant of the Tabs, primary= on white, secondary= on grey50"
|
|
203
199
|
},
|
|
204
|
-
"
|
|
200
|
+
"getter": false,
|
|
201
|
+
"setter": false,
|
|
205
202
|
"reflect": false,
|
|
203
|
+
"attribute": "mode-variant",
|
|
206
204
|
"defaultValue": "null"
|
|
207
205
|
},
|
|
208
206
|
"defaultSelectedIndex": {
|
|
@@ -219,8 +217,10 @@ export class TdsFolderTabs {
|
|
|
219
217
|
"tags": [],
|
|
220
218
|
"text": "Sets the default selected Tab."
|
|
221
219
|
},
|
|
222
|
-
"
|
|
220
|
+
"getter": false,
|
|
221
|
+
"setter": false,
|
|
223
222
|
"reflect": false,
|
|
223
|
+
"attribute": "default-selected-index",
|
|
224
224
|
"defaultValue": "0"
|
|
225
225
|
},
|
|
226
226
|
"selectedIndex": {
|
|
@@ -237,8 +237,10 @@ export class TdsFolderTabs {
|
|
|
237
237
|
"tags": [],
|
|
238
238
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
239
239
|
},
|
|
240
|
-
"
|
|
241
|
-
"
|
|
240
|
+
"getter": false,
|
|
241
|
+
"setter": false,
|
|
242
|
+
"reflect": true,
|
|
243
|
+
"attribute": "selected-index"
|
|
242
244
|
},
|
|
243
245
|
"tdsScrollLeftAriaLabel": {
|
|
244
246
|
"type": "string",
|
|
@@ -254,8 +256,10 @@ export class TdsFolderTabs {
|
|
|
254
256
|
"tags": [],
|
|
255
257
|
"text": "Defines aria-label on left scroll button"
|
|
256
258
|
},
|
|
257
|
-
"
|
|
259
|
+
"getter": false,
|
|
260
|
+
"setter": false,
|
|
258
261
|
"reflect": false,
|
|
262
|
+
"attribute": "tds-scroll-left-aria-label",
|
|
259
263
|
"defaultValue": "'Scroll left'"
|
|
260
264
|
},
|
|
261
265
|
"tdsScrollRightAriaLabel": {
|
|
@@ -272,8 +276,10 @@ export class TdsFolderTabs {
|
|
|
272
276
|
"tags": [],
|
|
273
277
|
"text": "Defines aria-label on right scroll button"
|
|
274
278
|
},
|
|
275
|
-
"
|
|
279
|
+
"getter": false,
|
|
280
|
+
"setter": false,
|
|
276
281
|
"reflect": false,
|
|
282
|
+
"attribute": "tds-scroll-right-aria-label",
|
|
277
283
|
"defaultValue": "'Scroll right'"
|
|
278
284
|
}
|
|
279
285
|
};
|
|
@@ -4,6 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TdsInlineTab {
|
|
6
6
|
constructor() {
|
|
7
|
+
/** Disables the Tab. */
|
|
7
8
|
this.disabled = false;
|
|
8
9
|
this.selected = false;
|
|
9
10
|
}
|
|
@@ -64,8 +65,10 @@ export class TdsInlineTab {
|
|
|
64
65
|
"tags": [],
|
|
65
66
|
"text": "Disables the Tab."
|
|
66
67
|
},
|
|
67
|
-
"
|
|
68
|
+
"getter": false,
|
|
69
|
+
"setter": false,
|
|
68
70
|
"reflect": false,
|
|
71
|
+
"attribute": "disabled",
|
|
69
72
|
"defaultValue": "false"
|
|
70
73
|
}
|
|
71
74
|
};
|