@scania/tegel 1.42.0 → 1.44.0-sonarcloud-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/tds-banner.cjs.entry.js +2 -2
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +6 -5
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button_2.cjs.entry.js +7 -5
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
- package/dist/cjs/tds-datetime.cjs.entry.js +10 -7
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +55 -37
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -5
- package/dist/cjs/tds-footer-group.cjs.entry.js +7 -6
- package/dist/cjs/tds-footer-item.cjs.entry.js +6 -2
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-cell.cjs.entry.js +11 -6
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -6
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +9 -5
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +9 -7
- package/dist/cjs/tds-icon.cjs.entry.js +2 -3
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +14 -4
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +8 -7
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +16 -6
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +19 -17
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +4 -1
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +13 -9
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -5
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +13 -10
- package/dist/cjs/tds-slider.cjs.entry.js +27 -16
- package/dist/cjs/tds-step.cjs.entry.js +3 -1
- package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +17 -10
- package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -5
- package/dist/cjs/tds-table-body.cjs.entry.js +10 -6
- package/dist/cjs/tds-table-footer.cjs.entry.js +16 -9
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +24 -18
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -4
- package/dist/cjs/tds-table.cjs.entry.js +17 -15
- package/dist/cjs/tds-tag.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +49 -23
- package/dist/cjs/tds-textarea.cjs.entry.js +7 -6
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
- package/dist/cjs/tds-tooltip.cjs.entry.js +7 -10
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/banner/banner.js +8 -8
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +3 -3
- package/dist/collection/components/button/button.js +17 -15
- package/dist/collection/components/card/card.js +12 -12
- package/dist/collection/components/checkbox/checkbox.js +14 -13
- package/dist/collection/components/chip/chip.js +11 -11
- package/dist/collection/components/datetime/datetime.js +20 -17
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +14 -11
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +62 -49
- package/dist/collection/components/footer/footer-group/footer-group.js +11 -10
- package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
- package/dist/collection/components/footer/footer.js +4 -4
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +2 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +11 -9
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +9 -9
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +3 -3
- package/dist/collection/components/header/header-item/header-item.js +9 -5
- package/dist/collection/components/header/header-launcher/header-launcher.css +2 -1
- package/dist/collection/components/header/header-launcher/header-launcher.js +10 -6
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.css +1 -1
- package/dist/collection/components/header/header.css +2 -1
- package/dist/collection/components/header/header.js +8 -6
- package/dist/collection/components/icon/icon.js +4 -5
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.css +3 -2
- package/dist/collection/components/message/message.js +8 -8
- package/dist/collection/components/modal/modal.css +2 -3
- package/dist/collection/components/modal/modal.js +20 -15
- package/dist/collection/components/popover-canvas/popover-canvas.js +11 -11
- package/dist/collection/components/popover-core/popover-core.js +31 -34
- package/dist/collection/components/popover-menu/popover-menu.js +11 -11
- package/dist/collection/components/radio-button/radio-button.js +14 -11
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +11 -7
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -9
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +15 -9
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +7 -7
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -5
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
- package/dist/collection/components/side-menu/side-menu.css +2 -1
- package/dist/collection/components/side-menu/side-menu.js +12 -9
- package/dist/collection/components/slider/slider.js +27 -16
- package/dist/collection/components/stepper/step/step.js +7 -5
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/table/table.css +2 -1
- package/dist/collection/components/table/table/table.js +40 -22
- package/dist/collection/components/table/table-body/table-body.js +10 -6
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -15
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +13 -10
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +25 -18
- package/dist/collection/components/table/table-footer/table-footer.js +21 -14
- package/dist/collection/components/table/table-header/table-header.js +29 -23
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +31 -20
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +8 -6
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +22 -11
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +18 -8
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +20 -10
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.css +8 -0
- package/dist/collection/components/text-field/text-field.js +109 -34
- package/dist/collection/components/textarea/textarea.js +19 -18
- package/dist/collection/components/toast/toast.js +9 -9
- package/dist/collection/components/toggle/toggle.js +11 -10
- package/dist/collection/components/tooltip/tooltip.js +14 -17
- package/dist/collection/tegel-lite/components/tl-dropdown/_dropdownKeyboard.js +190 -0
- package/dist/collection/tegel-lite/components/tl-dropdown/_dropdownScripts.js +304 -0
- package/dist/collection/utils/appendHiddenInput.js +6 -4
- package/dist/components/{p-3f2187a4.js → p-0f9ce30b.js} +1 -1
- package/dist/components/{p-3a7e4d0d.js → p-122f8027.js} +54 -26
- package/dist/components/{p-f7d94947.js → p-2d8f385e.js} +2 -3
- package/dist/components/{p-bff614d5.js → p-32351d04.js} +1 -1
- package/dist/components/{p-63552d0e.js → p-49b20476.js} +5 -5
- package/dist/components/{p-7c3348eb.js → p-4c0aa33f.js} +9 -5
- package/dist/components/{p-04a014cf.js → p-4f672d4f.js} +8 -11
- package/dist/components/{p-44f5b5e1.js → p-542226b2.js} +5 -4
- package/dist/components/{p-1dafdc8c.js → p-5725d7a2.js} +15 -9
- package/dist/components/{p-5ea0ae00.js → p-6fa6de6f.js} +46 -31
- package/dist/components/{p-6ef207b2.js → p-b6a99457.js} +12 -9
- package/dist/components/{p-de86852a.js → p-e0997ae2.js} +2 -2
- package/dist/components/{p-3308d5fa.js → p-e62ed985.js} +19 -17
- package/dist/components/{p-d10d21bd.js → p-f2a10fa2.js} +3 -3
- package/dist/components/{p-c62b61fe.js → p-f6685f1b.js} +7 -5
- package/dist/components/{p-9336db16.js → p-f8db4031.js} +5 -3
- package/dist/components/tds-accordion-item.js +4 -4
- package/dist/components/tds-accordion.js +2 -2
- package/dist/components/tds-banner.js +3 -3
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +7 -6
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +4 -4
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.js +11 -8
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +2 -2
- package/dist/components/tds-folder-tabs.js +17 -6
- package/dist/components/tds-footer-group.js +8 -7
- package/dist/components/tds-footer-item.js +6 -2
- package/dist/components/tds-footer.js +2 -2
- package/dist/components/tds-header-brand-symbol.js +3 -3
- package/dist/components/tds-header-cell.js +12 -7
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +12 -10
- package/dist/components/tds-header-hamburger.js +3 -3
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +1 -1
- package/dist/components/tds-header-launcher.js +14 -10
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +9 -7
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +15 -5
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +9 -8
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +17 -7
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +5 -5
- package/dist/components/tds-radio-button.js +4 -1
- package/dist/components/tds-side-menu-close-button.js +2 -2
- package/dist/components/tds-side-menu-collapse-button.js +6 -5
- package/dist/components/tds-side-menu-dropdown-list-item.js +13 -9
- package/dist/components/tds-side-menu-dropdown-list.js +3 -3
- package/dist/components/tds-side-menu-dropdown.js +11 -7
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +3 -3
- package/dist/components/tds-side-menu.js +13 -10
- package/dist/components/tds-slider.js +31 -20
- package/dist/components/tds-step.js +4 -2
- package/dist/components/tds-stepper.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +17 -10
- package/dist/components/tds-table-body-row.js +9 -6
- package/dist/components/tds-table-body.js +10 -6
- package/dist/components/tds-table-footer.js +20 -13
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +25 -19
- package/dist/components/tds-table-toolbar.js +7 -5
- package/dist/components/tds-table.js +17 -15
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +10 -9
- package/dist/components/tds-toast.js +4 -4
- package/dist/components/tds-toggle.js +5 -4
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +3 -3
- package/dist/esm/tds-accordion.entry.js +2 -2
- package/dist/esm/tds-banner.entry.js +2 -2
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +6 -5
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button_2.entry.js +7 -5
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +5 -4
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +9 -5
- package/dist/esm/tds-datetime.entry.js +10 -7
- package/dist/esm/tds-dropdown_2.entry.js +55 -37
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +16 -5
- package/dist/esm/tds-footer-group.entry.js +7 -6
- package/dist/esm/tds-footer-item.entry.js +6 -2
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
- package/dist/esm/tds-header-cell.entry.js +11 -6
- package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
- package/dist/esm/tds-header-dropdown.entry.js +8 -6
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +9 -5
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +9 -7
- package/dist/esm/tds-icon.entry.js +2 -3
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +14 -4
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +8 -7
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +16 -6
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +19 -17
- package/dist/esm/tds-popover-menu.entry.js +4 -4
- package/dist/esm/tds-radio-button.entry.js +4 -1
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +13 -9
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +9 -5
- package/dist/esm/tds-side-menu-item.entry.js +15 -9
- package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +13 -10
- package/dist/esm/tds-slider.entry.js +27 -16
- package/dist/esm/tds-step.entry.js +3 -1
- package/dist/esm/tds-stepper.entry.js +1 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +17 -10
- package/dist/esm/tds-table-body-row.entry.js +8 -5
- package/dist/esm/tds-table-body.entry.js +10 -6
- package/dist/esm/tds-table-footer.entry.js +16 -9
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +24 -18
- package/dist/esm/tds-table-toolbar.entry.js +6 -4
- package/dist/esm/tds-table.entry.js +17 -15
- package/dist/esm/tds-tag.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +49 -23
- package/dist/esm/tds-textarea.entry.js +7 -6
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +5 -4
- package/dist/esm/tds-tooltip.entry.js +7 -10
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-066e9613.entry.js +1 -0
- package/dist/tegel/p-0684b6d3.entry.js +1 -0
- package/dist/tegel/p-078217d1.entry.js +1 -0
- package/dist/tegel/{p-7887bdbb.entry.js → p-07d16763.entry.js} +1 -1
- package/dist/tegel/{p-c2e514b4.entry.js → p-08c993f3.entry.js} +1 -1
- package/dist/tegel/p-08f5a526.entry.js +1 -0
- package/dist/tegel/p-0e3fcc9f.entry.js +1 -0
- package/dist/tegel/{p-646d1df4.entry.js → p-10340b85.entry.js} +1 -1
- package/dist/tegel/{p-f2318c88.entry.js → p-106dd3e9.entry.js} +1 -1
- package/dist/tegel/p-1073fb33.entry.js +1 -0
- package/dist/tegel/p-15ae9443.entry.js +1 -0
- package/dist/tegel/p-15b9a73b.entry.js +1 -0
- package/dist/tegel/p-17893043.entry.js +1 -0
- package/dist/tegel/p-25928640.entry.js +1 -0
- package/dist/tegel/p-25c4e6f6.entry.js +1 -0
- package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
- package/dist/tegel/{p-f31f56fe.entry.js → p-300af79f.entry.js} +1 -1
- package/dist/tegel/p-336abf3f.entry.js +1 -0
- package/dist/tegel/p-38725623.entry.js +1 -0
- package/dist/tegel/{p-72006dd7.entry.js → p-3ba2e575.entry.js} +1 -1
- package/dist/tegel/p-419212b5.entry.js +1 -0
- package/dist/tegel/p-4909249c.entry.js +1 -0
- package/dist/tegel/p-4a10393b.entry.js +1 -0
- package/dist/tegel/{p-c6968db1.entry.js → p-4a32a7f8.entry.js} +1 -1
- package/dist/tegel/{p-987f8f0f.entry.js → p-4a7c213f.entry.js} +1 -1
- package/dist/tegel/p-4abe96b6.entry.js +1 -0
- package/dist/tegel/p-508a55c0.entry.js +1 -0
- package/dist/tegel/p-576a60ff.entry.js +1 -0
- package/dist/tegel/{p-ca32a270.entry.js → p-57a2d4de.entry.js} +1 -1
- package/dist/tegel/p-5b80467f.entry.js +1 -0
- package/dist/tegel/{p-ca16f1ed.entry.js → p-5bab691f.entry.js} +1 -1
- package/dist/tegel/{p-655051b6.entry.js → p-608997fa.entry.js} +1 -1
- package/dist/tegel/p-63f77d7c.entry.js +1 -0
- package/dist/tegel/p-6bb6425c.entry.js +1 -0
- package/dist/tegel/{p-e6e9d11f.entry.js → p-739068bf.entry.js} +1 -1
- package/dist/tegel/{p-88bb1059.entry.js → p-79fb0088.entry.js} +1 -1
- package/dist/tegel/p-8e930da5.entry.js +1 -0
- package/dist/tegel/p-947ec2b0.entry.js +1 -0
- package/dist/tegel/p-9ec850a5.entry.js +1 -0
- package/dist/tegel/p-9f154997.entry.js +1 -0
- package/dist/tegel/p-a00ad341.entry.js +1 -0
- package/dist/tegel/p-a15280db.entry.js +1 -0
- package/dist/tegel/p-a2aaf61c.entry.js +1 -0
- package/dist/tegel/p-aa795666.entry.js +1 -0
- package/dist/tegel/{p-f8a37d39.entry.js → p-bc697ea7.entry.js} +1 -1
- package/dist/tegel/p-bf40233e.entry.js +1 -0
- package/dist/tegel/{p-177386d5.entry.js → p-c05f61d6.entry.js} +1 -1
- package/dist/tegel/{p-b7abb81f.entry.js → p-c2ab817d.entry.js} +1 -1
- package/dist/tegel/p-c4719b10.entry.js +1 -0
- package/dist/tegel/p-c66b99a8.entry.js +1 -0
- package/dist/tegel/p-c7be09fc.entry.js +1 -0
- package/dist/tegel/p-c8fd6b3b.entry.js +1 -0
- package/dist/tegel/p-caadaf33.entry.js +1 -0
- package/dist/tegel/p-ce6faf0e.entry.js +1 -0
- package/dist/tegel/p-d031a7ca.entry.js +1 -0
- package/dist/tegel/{p-57a28f62.entry.js → p-da72f897.entry.js} +1 -1
- package/dist/tegel/{p-ceed0476.entry.js → p-dc93c6e5.entry.js} +1 -1
- package/dist/tegel/p-ded1191e.entry.js +1 -0
- package/dist/tegel/p-e2a6c30c.entry.js +1 -0
- package/dist/tegel/p-e2db17a5.entry.js +1 -0
- package/dist/tegel/{p-bcd5e06d.entry.js → p-e40d454d.entry.js} +1 -1
- package/dist/tegel/p-e53da1e5.entry.js +1 -0
- package/dist/tegel/{p-e8b58680.entry.js → p-e64c36a3.entry.js} +1 -1
- package/dist/tegel/p-e71f56c7.entry.js +1 -0
- package/dist/tegel/p-ebf13d81.entry.js +1 -0
- package/dist/tegel/{p-28f85555.entry.js → p-ede87410.entry.js} +1 -1
- package/dist/tegel/{p-4b5e15cc.entry.js → p-f1d58cbf.entry.js} +1 -1
- package/dist/tegel/p-f3cf4eba.entry.js +1 -0
- package/dist/tegel/{p-771f53c2.entry.js → p-fc26fb72.entry.js} +1 -1
- package/dist/tegel/p-fd077a19.entry.js +1 -0
- package/dist/tegel/tegel.css +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/banner/banner.d.ts +3 -3
- package/dist/types/components/block/block.d.ts +1 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +5 -5
- package/dist/types/components/card/card.d.ts +5 -5
- package/dist/types/components/checkbox/checkbox.d.ts +4 -4
- package/dist/types/components/chip/chip.d.ts +5 -5
- package/dist/types/components/datetime/datetime.d.ts +6 -6
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +14 -14
- package/dist/types/components/footer/footer-group/footer-group.d.ts +2 -2
- package/dist/types/components/footer/footer.d.ts +1 -1
- package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +2 -2
- package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +4 -4
- package/dist/types/components/header/header-hamburger/header-hamburger.d.ts +1 -1
- package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
- package/dist/types/components/header/header-launcher-button/header-launcher-button.d.ts +1 -1
- package/dist/types/components/header/header-launcher-grid/header-launcher-grid.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/message/message.d.ts +3 -3
- package/dist/types/components/modal/modal.d.ts +4 -4
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -3
- package/dist/types/components/popover-core/popover-core.d.ts +5 -5
- package/dist/types/components/popover-menu/popover-menu.d.ts +3 -3
- package/dist/types/components/radio-button/radio-button.d.ts +5 -5
- package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +1 -1
- package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -3
- package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +2 -2
- package/dist/types/components/side-menu/side-menu-user-label/side-menu-user-label.d.ts +1 -1
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/stepper/step/step.d.ts +6 -6
- package/dist/types/components/table/table/table.d.ts +8 -4
- package/dist/types/components/table/table-body/table-body.d.ts +3 -3
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +12 -9
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +8 -8
- package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
- package/dist/types/components/table/table-header/table-header.d.ts +6 -6
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +11 -11
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
- package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
- package/dist/types/components/tabs/folder-tabs/folder-tab/folder-tab.d.ts +1 -1
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +3 -3
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +2 -2
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +2 -2
- package/dist/types/components/text-field/text-field.d.ts +18 -7
- package/dist/types/components/textarea/textarea.d.ts +7 -7
- package/dist/types/components/toast/toast.d.ts +3 -3
- package/dist/types/components/toggle/toggle.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +3 -3
- package/dist/types/components.d.ts +207 -184
- package/dist/types/tegel-lite/components/tl-dropdown/_dropdownKeyboard.d.ts +1 -0
- package/dist/types/tegel-lite/components/tl-dropdown/_dropdownScripts.d.ts +4 -0
- package/dist/types/types/Attributes.d.ts +1 -1
- package/dist/types/utils/appendHiddenInput.d.ts +1 -1
- package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
- package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
- package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
- package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
- package/package.json +14 -20
- package/dist/tegel/p-0672ddfc.entry.js +0 -1
- package/dist/tegel/p-08ad6a21.entry.js +0 -1
- package/dist/tegel/p-08f63e5d.entry.js +0 -1
- package/dist/tegel/p-09cd056c.entry.js +0 -1
- package/dist/tegel/p-0c9a51d9.entry.js +0 -1
- package/dist/tegel/p-0cfe8671.entry.js +0 -1
- package/dist/tegel/p-0e772ad7.entry.js +0 -1
- package/dist/tegel/p-17bc1e49.entry.js +0 -1
- package/dist/tegel/p-1859156f.entry.js +0 -1
- package/dist/tegel/p-1b471db7.entry.js +0 -1
- package/dist/tegel/p-1f4267a8.entry.js +0 -1
- package/dist/tegel/p-24a76927.entry.js +0 -1
- package/dist/tegel/p-354d3986.entry.js +0 -1
- package/dist/tegel/p-379df59b.entry.js +0 -1
- package/dist/tegel/p-3c97cb45.entry.js +0 -1
- package/dist/tegel/p-3e6d65ee.entry.js +0 -1
- package/dist/tegel/p-445fa788.entry.js +0 -1
- package/dist/tegel/p-464469fe.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-51a17707.entry.js +0 -1
- package/dist/tegel/p-52689019.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-6b340718.entry.js +0 -1
- package/dist/tegel/p-743d4f07.entry.js +0 -1
- package/dist/tegel/p-77cfb0ef.entry.js +0 -1
- package/dist/tegel/p-7b598e60.entry.js +0 -1
- package/dist/tegel/p-7ef50e7f.entry.js +0 -1
- package/dist/tegel/p-8c2695af.entry.js +0 -1
- package/dist/tegel/p-9b635e01.entry.js +0 -1
- package/dist/tegel/p-9f187848.entry.js +0 -1
- package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
- package/dist/tegel/p-a090bd2f.entry.js +0 -1
- package/dist/tegel/p-a56436c8.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b210d23c.entry.js +0 -1
- package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
- package/dist/tegel/p-c23a3f12.entry.js +0 -1
- package/dist/tegel/p-cc962b6c.entry.js +0 -1
- package/dist/tegel/p-cf717912.entry.js +0 -1
- package/dist/tegel/p-cfd7ed1a.entry.js +0 -1
- package/dist/tegel/p-d1d45942.entry.js +0 -1
- package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
- package/dist/tegel/p-e5b796e7.entry.js +0 -1
- package/dist/tegel/p-eb91e33b.entry.js +0 -1
- package/dist/tegel/p-f3c32d4d.entry.js +0 -1
- package/dist/tegel/p-fd15ced7.entry.js +0 -1
|
@@ -51,7 +51,7 @@ export class TdsTableHeaderCell {
|
|
|
51
51
|
this.textAlign = 'left';
|
|
52
52
|
this.disablePadding = false;
|
|
53
53
|
this.tdsAriaLabelSortButton = '';
|
|
54
|
-
this.textAlignState =
|
|
54
|
+
this.textAlignState = 'left';
|
|
55
55
|
this.sortingDirection = undefined;
|
|
56
56
|
this.sortedByMyKey = false;
|
|
57
57
|
this.verticalDividers = false;
|
|
@@ -87,12 +87,14 @@ export class TdsTableHeaderCell {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
connectedCallback() {
|
|
90
|
+
var _a;
|
|
90
91
|
this.tableEl = this.host.closest('tds-table');
|
|
91
|
-
this.tableId = this.tableEl.tableId;
|
|
92
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
92
93
|
}
|
|
93
94
|
componentWillLoad() {
|
|
94
95
|
relevantTableProps.forEach((tablePropName) => {
|
|
95
|
-
|
|
96
|
+
var _a;
|
|
97
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
96
98
|
});
|
|
97
99
|
}
|
|
98
100
|
componentWillRender() {
|
|
@@ -102,8 +104,11 @@ export class TdsTableHeaderCell {
|
|
|
102
104
|
: 'left';
|
|
103
105
|
// To enable body cells text align per rules set in head cell
|
|
104
106
|
this.internalTdsTextAlign.emit([this.tableId, this.cellKey, this.textAlignState]);
|
|
105
|
-
this.
|
|
106
|
-
|
|
107
|
+
const closesetTable = this.host.closest('tds-table');
|
|
108
|
+
if (closesetTable) {
|
|
109
|
+
this.enableToolbarDesign =
|
|
110
|
+
closesetTable.getElementsByTagName('tds-table-toolbar').length >= 1;
|
|
111
|
+
}
|
|
107
112
|
}
|
|
108
113
|
getAriaSort() {
|
|
109
114
|
if (this.sortingDirection === 'asc')
|
|
@@ -113,7 +118,7 @@ export class TdsTableHeaderCell {
|
|
|
113
118
|
return 'none';
|
|
114
119
|
}
|
|
115
120
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '4df64a3d4a0ef86b377db355cfc149daf9b246b5', class: {
|
|
117
122
|
'tds-table__header-cell': true,
|
|
118
123
|
'tds-table__header-cell--sortable': this.sortable,
|
|
119
124
|
'tds-table__header-cell--is-sorted': this.sortedByMyKey,
|
|
@@ -145,7 +150,7 @@ export class TdsTableHeaderCell {
|
|
|
145
150
|
"mutable": false,
|
|
146
151
|
"complexType": {
|
|
147
152
|
"original": "string",
|
|
148
|
-
"resolved": "string",
|
|
153
|
+
"resolved": "string | undefined",
|
|
149
154
|
"references": {}
|
|
150
155
|
},
|
|
151
156
|
"required": false,
|
|
@@ -162,7 +167,7 @@ export class TdsTableHeaderCell {
|
|
|
162
167
|
"mutable": false,
|
|
163
168
|
"complexType": {
|
|
164
169
|
"original": "string",
|
|
165
|
-
"resolved": "string",
|
|
170
|
+
"resolved": "string | undefined",
|
|
166
171
|
"references": {}
|
|
167
172
|
},
|
|
168
173
|
"required": false,
|
|
@@ -179,7 +184,7 @@ export class TdsTableHeaderCell {
|
|
|
179
184
|
"mutable": false,
|
|
180
185
|
"complexType": {
|
|
181
186
|
"original": "string",
|
|
182
|
-
"resolved": "string",
|
|
187
|
+
"resolved": "string | undefined",
|
|
183
188
|
"references": {}
|
|
184
189
|
},
|
|
185
190
|
"required": false,
|
|
@@ -213,9 +218,15 @@ export class TdsTableHeaderCell {
|
|
|
213
218
|
"type": "string",
|
|
214
219
|
"mutable": false,
|
|
215
220
|
"complexType": {
|
|
216
|
-
"original": "
|
|
221
|
+
"original": "TextAlign",
|
|
217
222
|
"resolved": "\"center\" | \"end\" | \"left\" | \"right\" | \"start\"",
|
|
218
|
-
"references": {
|
|
223
|
+
"references": {
|
|
224
|
+
"TextAlign": {
|
|
225
|
+
"location": "import",
|
|
226
|
+
"path": "../table/table",
|
|
227
|
+
"id": "src/components/table/table/table.tsx::TextAlign"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
219
230
|
},
|
|
220
231
|
"required": false,
|
|
221
232
|
"optional": false,
|
|
@@ -250,7 +261,7 @@ export class TdsTableHeaderCell {
|
|
|
250
261
|
"mutable": false,
|
|
251
262
|
"complexType": {
|
|
252
263
|
"original": "string",
|
|
253
|
-
"resolved": "string",
|
|
264
|
+
"resolved": "string | undefined",
|
|
254
265
|
"references": {}
|
|
255
266
|
},
|
|
256
267
|
"required": false,
|
|
@@ -291,8 +302,8 @@ export class TdsTableHeaderCell {
|
|
|
291
302
|
"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."
|
|
292
303
|
},
|
|
293
304
|
"complexType": {
|
|
294
|
-
"original": "{\n tableId: string;\n columnKey: string;\n sortingDirection: 'asc' | 'desc';\n }",
|
|
295
|
-
"resolved": "{ tableId: string; columnKey: string; sortingDirection: \"desc\" | \"asc\"; }",
|
|
305
|
+
"original": "{\n tableId: string | undefined;\n columnKey: string | undefined;\n sortingDirection: 'asc' | 'desc';\n }",
|
|
306
|
+
"resolved": "{ tableId: string | undefined; columnKey: string | undefined; sortingDirection: \"desc\" | \"asc\"; }",
|
|
296
307
|
"references": {}
|
|
297
308
|
}
|
|
298
309
|
}, {
|
|
@@ -309,8 +320,8 @@ export class TdsTableHeaderCell {
|
|
|
309
320
|
"text": ""
|
|
310
321
|
},
|
|
311
322
|
"complexType": {
|
|
312
|
-
"original": "{\n tableId: string;\n key: string;\n }",
|
|
313
|
-
"resolved": "{ tableId: string; key: string; }",
|
|
323
|
+
"original": "{\n tableId: string | undefined;\n key: string | undefined;\n }",
|
|
324
|
+
"resolved": "{ tableId: string | undefined; key: string | undefined; }",
|
|
314
325
|
"references": {}
|
|
315
326
|
}
|
|
316
327
|
}, {
|
|
@@ -327,8 +338,8 @@ export class TdsTableHeaderCell {
|
|
|
327
338
|
"text": ""
|
|
328
339
|
},
|
|
329
340
|
"complexType": {
|
|
330
|
-
"original": "
|
|
331
|
-
"resolved": "
|
|
341
|
+
"original": "object",
|
|
342
|
+
"resolved": "object",
|
|
332
343
|
"references": {}
|
|
333
344
|
}
|
|
334
345
|
}, {
|
|
@@ -345,8 +356,8 @@ export class TdsTableHeaderCell {
|
|
|
345
356
|
"text": ""
|
|
346
357
|
},
|
|
347
358
|
"complexType": {
|
|
348
|
-
"original": "{\n tableId: string;\n key: string;\n }",
|
|
349
|
-
"resolved": "{ tableId: string; key: string; }",
|
|
359
|
+
"original": "{\n tableId: string | undefined;\n key: string;\n }",
|
|
360
|
+
"resolved": "{ tableId: string | undefined; key: string; }",
|
|
350
361
|
"references": {}
|
|
351
362
|
}
|
|
352
363
|
}];
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TdsTableHeaderInputWrapper {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '76de40e0a578e0592d9c85d278d65187d84d7573', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -34,15 +34,17 @@ export class TdsTableToolbar {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
connectedCallback() {
|
|
37
|
+
var _a;
|
|
37
38
|
this.tableEl = this.host.closest('tds-table');
|
|
38
|
-
this.tableId = this.tableEl.tableId;
|
|
39
|
+
this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
|
|
39
40
|
if (!this.tdsSearchAriaLabel) {
|
|
40
41
|
console.warn('tds-table-toolbar: tdsSearchAriaLabel is highly recommended for accessibility');
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
componentWillLoad() {
|
|
44
45
|
relevantTableProps.forEach((tablePropName) => {
|
|
45
|
-
|
|
46
|
+
var _a;
|
|
47
|
+
this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
|
|
46
48
|
});
|
|
47
49
|
}
|
|
48
50
|
handleSearch(event) {
|
|
@@ -68,10 +70,10 @@ export class TdsTableToolbar {
|
|
|
68
70
|
return styles;
|
|
69
71
|
}
|
|
70
72
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '37a65522a8efe0d073906a1c0ad59bc0574faa0c', class: {
|
|
72
74
|
'tds-table--compact': this.compactDesign,
|
|
73
75
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
74
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
76
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: 'f4116716bd302f31f5c5a1c6344cbd263f20aadb', class: "tds-table__upper-bar-flex" }, h("div", { key: '7c1088b56cd537ba8d6734bfdd8a87604c0038c3', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: 'aab5ff50d91410486069f9a734fd74606674819b', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '2e7f6fdbe8865712cba24e3b4a6e5833dd684ef0', name: "start" })), h("div", { key: '1d78a673fc3d4af7955cfb9ee00ff4d2265b73e9', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '6fcef1537fb441d8e835d6d6978a2ca8ae107eef', class: "tds-table__searchbar" }, h("input", { key: 'd74bd73c0b0a969d69ea6d5ac142215466ab3add', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '6b97b5d9b0ff3bb5b17f228d9786a64b1ea1ebe4', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '268d432c7c1ed126e2b0186e72ffd4fa53f33d3a', name: "search", size: "20px" })))), h("slot", { key: 'ef138ddefb88afc9967230c39600538a9d112dbb', name: "end" })))));
|
|
75
77
|
}
|
|
76
78
|
static get is() { return "tds-table-toolbar"; }
|
|
77
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -165,8 +167,8 @@ export class TdsTableToolbar {
|
|
|
165
167
|
"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."
|
|
166
168
|
},
|
|
167
169
|
"complexType": {
|
|
168
|
-
"original": "{\n tableId: string;\n query: string;\n }",
|
|
169
|
-
"resolved": "{ tableId: string; query: string; }",
|
|
170
|
+
"original": "{\n tableId: string | undefined;\n query: string;\n }",
|
|
171
|
+
"resolved": "{ tableId: string | undefined; query: string; }",
|
|
170
172
|
"references": {}
|
|
171
173
|
}
|
|
172
174
|
}];
|
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '4a695d366a2e8e8e5b11b76f4be517c348e55c5b', "aria-selected": this.selected }, h("div", { key: 'b5dc85bc80aede911238d245d41b06ba82143c47', class: {
|
|
39
39
|
selected: this.selected,
|
|
40
40
|
disabled: this.disabled,
|
|
41
|
-
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '
|
|
41
|
+
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: 'a3c58caf8081862b9b89052f30e7100493ea0985' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,7 @@ export class TdsFolderTabs {
|
|
|
8
8
|
this.componentWidth = 0; // visible width of this component
|
|
9
9
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
10
10
|
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
11
|
+
this.children = [];
|
|
11
12
|
this.clickHandlers = new WeakMap();
|
|
12
13
|
this.addResizeObserver = () => {
|
|
13
14
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
@@ -26,7 +27,8 @@ export class TdsFolderTabs {
|
|
|
26
27
|
this.updateScrollButtons();
|
|
27
28
|
});
|
|
28
29
|
});
|
|
29
|
-
|
|
30
|
+
if (this.navWrapperElement)
|
|
31
|
+
resizeObserver.observe(this.navWrapperElement);
|
|
30
32
|
};
|
|
31
33
|
this.addEventListenerToTabs = () => {
|
|
32
34
|
this.children = Array.from(this.host.children);
|
|
@@ -88,23 +90,32 @@ export class TdsFolderTabs {
|
|
|
88
90
|
this.handleSlotChange();
|
|
89
91
|
}
|
|
90
92
|
handleSelectedIndexUpdate() {
|
|
91
|
-
|
|
93
|
+
const tabs = Array.from(this.host.children);
|
|
94
|
+
this.children = tabs.map((tabElement) => {
|
|
92
95
|
tabElement.setSelected(false);
|
|
93
96
|
return tabElement;
|
|
94
97
|
});
|
|
95
|
-
this.
|
|
98
|
+
if (this.selectedIndex) {
|
|
99
|
+
this.children[this.selectedIndex].setSelected(true);
|
|
100
|
+
}
|
|
96
101
|
}
|
|
97
102
|
scrollRight() {
|
|
103
|
+
if (!this.navWrapperElement)
|
|
104
|
+
return;
|
|
98
105
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
99
106
|
this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
|
|
100
107
|
this.evaluateScrollButtons();
|
|
101
108
|
}
|
|
102
109
|
scrollLeft() {
|
|
110
|
+
if (!this.navWrapperElement)
|
|
111
|
+
return;
|
|
103
112
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
104
113
|
this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
|
|
105
114
|
this.evaluateScrollButtons();
|
|
106
115
|
}
|
|
107
116
|
evaluateScrollButtons() {
|
|
117
|
+
if (!this.navWrapperElement)
|
|
118
|
+
return;
|
|
108
119
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
109
120
|
this.showRightScroll = scroll <= this.scrollWidth;
|
|
110
121
|
this.showLeftScroll = scroll > 0;
|
|
@@ -162,9 +173,9 @@ export class TdsFolderTabs {
|
|
|
162
173
|
this.removeEventListenerFromTabs();
|
|
163
174
|
}
|
|
164
175
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
176
|
+
return (h(Host, { key: '093e2804b56cb6c336744551ad4d27d962a34d02', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'eaaa9db902ead14bd581416c661b7c105263e335', class: "wrapper", ref: (el) => {
|
|
166
177
|
this.navWrapperElement = el;
|
|
167
|
-
} }, h("button", { key: '
|
|
178
|
+
} }, h("button", { key: '50a7f0455048807c8642ecb66de0d01b7a27ce58', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '411a393ac446ae8224ec8c407b5e1b0adda87098', name: "chevron_left", size: "20px" })), h("slot", { key: 'a534cd27f044a0ac8a03ffb28e20f04cb8eba7a6', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '6284e9746b9dfdc2010ff65b201e39db0e51feda', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '6a2e53089c50e1aa03a87af001a685ff9ba059dc', name: "chevron_right", size: "20px" })))));
|
|
168
179
|
}
|
|
169
180
|
static get is() { return "tds-folder-tabs"; }
|
|
170
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,8 +195,8 @@ export class TdsFolderTabs {
|
|
|
184
195
|
"type": "string",
|
|
185
196
|
"mutable": false,
|
|
186
197
|
"complexType": {
|
|
187
|
-
"original": "'primary' | 'secondary'",
|
|
188
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
198
|
+
"original": "'primary' | 'secondary' | null",
|
|
199
|
+
"resolved": "\"primary\" | \"secondary\" | null",
|
|
189
200
|
"references": {}
|
|
190
201
|
},
|
|
191
202
|
"required": false,
|
|
@@ -221,11 +232,11 @@ export class TdsFolderTabs {
|
|
|
221
232
|
"mutable": false,
|
|
222
233
|
"complexType": {
|
|
223
234
|
"original": "number",
|
|
224
|
-
"resolved": "number",
|
|
235
|
+
"resolved": "number | undefined",
|
|
225
236
|
"references": {}
|
|
226
237
|
},
|
|
227
238
|
"required": false,
|
|
228
|
-
"optional":
|
|
239
|
+
"optional": true,
|
|
229
240
|
"docs": {
|
|
230
241
|
"tags": [],
|
|
231
242
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
@@ -300,7 +311,7 @@ export class TdsFolderTabs {
|
|
|
300
311
|
return {
|
|
301
312
|
"selectTab": {
|
|
302
313
|
"complexType": {
|
|
303
|
-
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number; }>",
|
|
314
|
+
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>",
|
|
304
315
|
"parameters": [{
|
|
305
316
|
"name": "tabIndex",
|
|
306
317
|
"type": "number",
|
|
@@ -312,7 +323,7 @@ export class TdsFolderTabs {
|
|
|
312
323
|
"id": "global::Promise"
|
|
313
324
|
}
|
|
314
325
|
},
|
|
315
|
-
"return": "Promise<{ selectedTabIndex: number; }>"
|
|
326
|
+
"return": "Promise<{ selectedTabIndex: number | undefined; }>"
|
|
316
327
|
},
|
|
317
328
|
"docs": {
|
|
318
329
|
"text": "Sets the passed tabindex as the selected Tab.",
|
|
@@ -30,11 +30,11 @@ export class TdsInlineTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '9e15778f89e70701ea058a8aa8377b18bc693d2b', "aria-selected": this.selected }, h("div", { key: '963dfa3c27aa7395919ac976851d173f4bc483fe', class: {
|
|
34
34
|
'inline-tab-item': true,
|
|
35
35
|
'selected': this.selected,
|
|
36
36
|
'disabled': this.disabled,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: 'dcadb0ee891fa9a3a7ad94a2af33d82a674d2ecf' }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-inline-tab"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,7 @@ export class TdsInlineTabs {
|
|
|
8
8
|
this.componentWidth = 0; // visible width of this component
|
|
9
9
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
10
10
|
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
11
|
+
this.children = [];
|
|
11
12
|
this.clickHandlers = new WeakMap();
|
|
12
13
|
this.addResizeObserver = () => {
|
|
13
14
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
@@ -26,7 +27,8 @@ export class TdsInlineTabs {
|
|
|
26
27
|
this.updateScrollButtons();
|
|
27
28
|
});
|
|
28
29
|
});
|
|
29
|
-
|
|
30
|
+
if (this.navWrapperElement)
|
|
31
|
+
resizeObserver.observe(this.navWrapperElement);
|
|
30
32
|
};
|
|
31
33
|
this.addEventListenerToTabs = () => {
|
|
32
34
|
this.children = Array.from(this.host.children);
|
|
@@ -93,19 +95,27 @@ export class TdsInlineTabs {
|
|
|
93
95
|
tabElement.setSelected(false);
|
|
94
96
|
return tabElement;
|
|
95
97
|
});
|
|
96
|
-
this.
|
|
98
|
+
if (this.selectedIndex) {
|
|
99
|
+
this.children[this.selectedIndex].setSelected(true);
|
|
100
|
+
}
|
|
97
101
|
}
|
|
98
102
|
scrollRight() {
|
|
103
|
+
if (!this.navWrapperElement)
|
|
104
|
+
return;
|
|
99
105
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
100
106
|
this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
|
|
101
107
|
this.evaluateScrollButtons();
|
|
102
108
|
}
|
|
103
109
|
scrollLeft() {
|
|
110
|
+
if (!this.navWrapperElement)
|
|
111
|
+
return;
|
|
104
112
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
105
113
|
this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
|
|
106
114
|
this.evaluateScrollButtons();
|
|
107
115
|
}
|
|
108
116
|
evaluateScrollButtons() {
|
|
117
|
+
if (!this.navWrapperElement)
|
|
118
|
+
return;
|
|
109
119
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
110
120
|
this.showRightScroll = scroll <= this.scrollWidth;
|
|
111
121
|
this.showLeftScroll = scroll > 0;
|
|
@@ -169,9 +179,9 @@ export class TdsInlineTabs {
|
|
|
169
179
|
this.removeEventListenerFromTabs();
|
|
170
180
|
}
|
|
171
181
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'e5c91714cc292fc3b5ba4aea446507b07e3d7928', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '494199f5f33abb5b5da122caf0124329630ce0e3', class: "wrapper", ref: (el) => {
|
|
173
183
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
184
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '60f7ec503a86d2a2aabb6153a67a804ac297931c', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'ed092e0d1077b9865ce7b62a889c7687c8fe7758', name: "chevron_left", size: "20px" })), h("slot", { key: '99f32f72a5f3b8ccb47a59cd910953fdbc898fb1', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'c24a97379767c6e4a1107e957fd7304218231b37', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'cd0f808c268006cb6074e0cf1250e4667b6f1c89', name: "chevron_right", size: "20px" })))));
|
|
175
185
|
}
|
|
176
186
|
static get is() { return "tds-inline-tabs"; }
|
|
177
187
|
static get encapsulation() { return "shadow"; }
|
|
@@ -228,11 +238,11 @@ export class TdsInlineTabs {
|
|
|
228
238
|
"mutable": false,
|
|
229
239
|
"complexType": {
|
|
230
240
|
"original": "number",
|
|
231
|
-
"resolved": "number",
|
|
241
|
+
"resolved": "number | undefined",
|
|
232
242
|
"references": {}
|
|
233
243
|
},
|
|
234
244
|
"required": false,
|
|
235
|
-
"optional":
|
|
245
|
+
"optional": true,
|
|
236
246
|
"docs": {
|
|
237
247
|
"tags": [],
|
|
238
248
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
@@ -324,7 +334,7 @@ export class TdsInlineTabs {
|
|
|
324
334
|
return {
|
|
325
335
|
"selectTab": {
|
|
326
336
|
"complexType": {
|
|
327
|
-
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number; }>",
|
|
337
|
+
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>",
|
|
328
338
|
"parameters": [{
|
|
329
339
|
"name": "tabIndex",
|
|
330
340
|
"type": "number",
|
|
@@ -344,7 +354,7 @@ export class TdsInlineTabs {
|
|
|
344
354
|
"id": "global::HTMLTdsInlineTabElement"
|
|
345
355
|
}
|
|
346
356
|
},
|
|
347
|
-
"return": "Promise<{ selectedTabIndex: number; }>"
|
|
357
|
+
"return": "Promise<{ selectedTabIndex: number | undefined; }>"
|
|
348
358
|
},
|
|
349
359
|
"docs": {
|
|
350
360
|
"text": "Selects a Tab based on tabindex, will not select a disabled Tab.",
|
|
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
34
|
-
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '
|
|
33
|
+
return (h(Host, { key: 'c0efa8fbffa68b4c81b7f337d260ed3e8023f7bc' }, h("div", { key: '759dbcb91ef4b320918bcc0dae18aa9f292f2bf5', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
34
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '9eaa20e00dc625bc96723cb937e45aaa58516aa8' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tds-navigation-tab"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,6 +8,7 @@ export class TdsNavigationTabs {
|
|
|
8
8
|
this.componentWidth = 0; // visible width of this component
|
|
9
9
|
this.buttonsWidth = 0; // total width of all nav items combined
|
|
10
10
|
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
11
|
+
this.children = [];
|
|
11
12
|
this.clickHandlers = new WeakMap();
|
|
12
13
|
this.addResizeObserver = () => {
|
|
13
14
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
@@ -26,7 +27,8 @@ export class TdsNavigationTabs {
|
|
|
26
27
|
this.updateScrollButtons();
|
|
27
28
|
});
|
|
28
29
|
});
|
|
29
|
-
|
|
30
|
+
if (this.navWrapperElement)
|
|
31
|
+
resizeObserver.observe(this.navWrapperElement);
|
|
30
32
|
};
|
|
31
33
|
this.addEventListenerToTabs = () => {
|
|
32
34
|
this.children = Array.from(this.host.children);
|
|
@@ -91,19 +93,27 @@ export class TdsNavigationTabs {
|
|
|
91
93
|
tabElement.setSelected(false);
|
|
92
94
|
return tabElement;
|
|
93
95
|
});
|
|
94
|
-
this.
|
|
96
|
+
if (this.selectedIndex) {
|
|
97
|
+
this.children[this.selectedIndex].setSelected(true);
|
|
98
|
+
}
|
|
95
99
|
}
|
|
96
100
|
scrollRight() {
|
|
101
|
+
if (!this.navWrapperElement)
|
|
102
|
+
return;
|
|
97
103
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
98
104
|
this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
|
|
99
105
|
this.evaluateScrollButtons();
|
|
100
106
|
}
|
|
101
107
|
scrollLeft() {
|
|
108
|
+
if (!this.navWrapperElement)
|
|
109
|
+
return;
|
|
102
110
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
103
111
|
this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
|
|
104
112
|
this.evaluateScrollButtons();
|
|
105
113
|
}
|
|
106
114
|
evaluateScrollButtons() {
|
|
115
|
+
if (!this.navWrapperElement)
|
|
116
|
+
return;
|
|
107
117
|
const scroll = this.navWrapperElement.scrollLeft;
|
|
108
118
|
this.showRightScroll = scroll <= this.scrollWidth;
|
|
109
119
|
this.showLeftScroll = scroll > 0;
|
|
@@ -169,15 +179,15 @@ export class TdsNavigationTabs {
|
|
|
169
179
|
this.removeEventListenerFromTabs();
|
|
170
180
|
}
|
|
171
181
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'c7888b2f78e9aeb8fb6ca1041787785fe7d7c840', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '177a79f69514e597d2795b4d60f335b485195eb0', class: "wrapper", ref: (el) => {
|
|
173
183
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
184
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '7455ad87dc61ba3c4fa28aa4e9462e9fe91dbcca', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
175
185
|
'scroll-left-button': true,
|
|
176
186
|
'show': this.showLeftScroll,
|
|
177
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
187
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'f4b9a3b4d0eeed6c6b9035a9a33f9868fbb93bab', name: "chevron_left", size: "20px" })), h("slot", { key: '9757ef20e30a223f4dec3bf5a41da912821a46de', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '215c0a386b22f44bb891c4685c4f5b3b991982c8', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
178
188
|
'scroll-right-button': true,
|
|
179
189
|
'show': this.showRightScroll,
|
|
180
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
190
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '21782c8e407746676988fb00324e10ba94379b78', name: "chevron_right", size: "20px" })))));
|
|
181
191
|
}
|
|
182
192
|
static get is() { return "tds-navigation-tabs"; }
|
|
183
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -234,11 +244,11 @@ export class TdsNavigationTabs {
|
|
|
234
244
|
"mutable": false,
|
|
235
245
|
"complexType": {
|
|
236
246
|
"original": "number",
|
|
237
|
-
"resolved": "number",
|
|
247
|
+
"resolved": "number | undefined",
|
|
238
248
|
"references": {}
|
|
239
249
|
},
|
|
240
250
|
"required": false,
|
|
241
|
-
"optional":
|
|
251
|
+
"optional": true,
|
|
242
252
|
"docs": {
|
|
243
253
|
"tags": [],
|
|
244
254
|
"text": "Sets the selected Tab.\nIf this is set, all Tab changes need to be handled by the user."
|
|
@@ -330,7 +340,7 @@ export class TdsNavigationTabs {
|
|
|
330
340
|
return {
|
|
331
341
|
"selectTab": {
|
|
332
342
|
"complexType": {
|
|
333
|
-
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number; }>",
|
|
343
|
+
"signature": "(tabIndex: number) => Promise<{ selectedTabIndex: number | undefined; }>",
|
|
334
344
|
"parameters": [{
|
|
335
345
|
"name": "tabIndex",
|
|
336
346
|
"type": "number",
|
|
@@ -342,7 +352,7 @@ export class TdsNavigationTabs {
|
|
|
342
352
|
"id": "global::Promise"
|
|
343
353
|
}
|
|
344
354
|
},
|
|
345
|
-
"return": "Promise<{ selectedTabIndex: number; }>"
|
|
355
|
+
"return": "Promise<{ selectedTabIndex: number | undefined; }>"
|
|
346
356
|
},
|
|
347
357
|
"docs": {
|
|
348
358
|
"text": "Sets the passed tabindex as the selected Tab.",
|
|
@@ -15,7 +15,7 @@ export class TdsTag {
|
|
|
15
15
|
[`${this.size.toLowerCase()}`]: true,
|
|
16
16
|
[`${this.variant.toLowerCase()}`]: true,
|
|
17
17
|
});
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'f2f854a15358d98bc4c55b093e243cc07cc8e439', class: getTagClasses() }, h("div", { key: 'a9b74511347d721ae769d42e4b0edb5ac9acdf85', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: '95b1acec855e8e0caeadc3458222bf6a91795704', name: "prefix" }), h("span", { key: 'e40a01fda9aa32ae42032656ebf11375b45f9183' }, this.text))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "tds-tag"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -343,4 +343,12 @@
|
|
|
343
343
|
}
|
|
344
344
|
.text-field-slot-wrap-suffix::slotted(:not(tds-icon)) {
|
|
345
345
|
margin: 0 2px 0 0;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.text-field-input-no-arrows {
|
|
349
|
+
appearance: textfield;
|
|
350
|
+
}
|
|
351
|
+
.text-field-input-no-arrows::-webkit-outer-spin-button, .text-field-input-no-arrows::-webkit-inner-spin-button {
|
|
352
|
+
appearance: none;
|
|
353
|
+
margin: 0;
|
|
346
354
|
}
|