@scania/tegel 1.12.1 → 1.13.0-table-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-e35387f4.js → index-63bfa1c5.js} +41 -10
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-card.cjs.entry.js +1 -1
- package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-datetime.cjs.entry.js +1 -1
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown.cjs.entry.js +22 -18
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +61 -54
- package/dist/cjs/tds-footer-group.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +2 -2
- 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-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-title.cjs.entry.js +3 -3
- package/dist/cjs/tds-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-icon.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +61 -38
- package/dist/cjs/tds-link.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +65 -38
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -5
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
- package/dist/cjs/tds-slider.cjs.entry.js +17 -10
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +2 -2
- package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +48 -0
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +5 -5
- package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +48 -0
- package/dist/cjs/tds-table-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/tds-table.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +5 -5
- package/dist/cjs/tds-toast.cjs.entry.js +4 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -2
- package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/tegel.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/banner/banner.css +2 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +20 -16
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +1 -1
- package/dist/collection/components/header/header-launcher/header-launcher.css +1 -1
- package/dist/collection/components/header/header-title/header-title.css +2 -5
- package/dist/collection/components/header/header-title/header-title.js +2 -2
- package/dist/collection/components/header/header.css +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.js +2 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
- package/dist/collection/components/popover-core/popover-core.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.js +2 -2
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- 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 +4 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/side-menu/side-menu.css +1 -1
- package/dist/collection/components/side-menu/side-menu.js +3 -3
- package/dist/collection/components/slider/slider.js +16 -9
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/table/table.css +1 -1
- package/dist/collection/components/table/table/table.js +1 -1
- package/dist/collection/components/table/table-body/table-body.js +1 -2
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css +46 -0
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +76 -0
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -4
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.css +42 -0
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +76 -0
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +77 -53
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +86 -39
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +81 -37
- package/dist/collection/components/text-field/text-field.js +6 -6
- package/dist/collection/components/textarea/textarea.js +4 -4
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-d9cf3eaa.js → p-051432c2.js} +2 -2
- package/dist/components/{p-b7b6d3b1.js → p-06e4d5f0.js} +2 -2
- package/dist/components/{p-8bc5892d.js → p-174005fe.js} +1 -1
- package/dist/components/{p-555d76b0.js → p-19f86e07.js} +1 -1
- package/dist/components/{p-35fa6479.js → p-3f14ce0b.js} +33 -10
- package/dist/components/{p-b84363b3.js → p-41137b26.js} +2 -2
- package/dist/components/{p-e5207615.js → p-60c44d12.js} +2 -2
- package/dist/components/{p-31ae0be9.js → p-7b4366f6.js} +2 -2
- package/dist/components/{p-b205ce2c.js → p-7cfad5b4.js} +4 -4
- package/dist/components/{p-b114a29a.js → p-7f4aa5b9.js} +4 -4
- package/dist/components/{p-aa4f86ab.js → p-b06d3798.js} +1 -1
- package/dist/components/{p-9994dba8.js → p-cbf313bb.js} +1 -1
- package/dist/components/{p-ead7cac2.js → p-cd5e96ee.js} +1 -1
- package/dist/components/{p-5f5420e5.js → p-f657bfcc.js} +3 -3
- package/dist/components/tds-accordion-item.js +2 -2
- package/dist/components/tds-accordion.js +1 -1
- package/dist/components/tds-badge.js +1 -1
- package/dist/components/tds-banner.js +3 -3
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +3 -3
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +2 -2
- package/dist/components/tds-card.js +2 -2
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +2 -2
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +3 -3
- package/dist/components/tds-dropdown.js +23 -19
- package/dist/components/tds-folder-tab.js +3 -3
- package/dist/components/tds-folder-tabs.js +64 -56
- package/dist/components/tds-footer-group.js +2 -2
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +3 -3
- package/dist/components/tds-header-cell.js +2 -2
- 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 +7 -7
- package/dist/components/tds-header-hamburger.js +4 -4
- 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 +1 -1
- package/dist/components/tds-header-launcher-grid-title.js +1 -1
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +2 -2
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +2 -2
- package/dist/components/tds-header-launcher.js +8 -8
- package/dist/components/tds-header-title.js +3 -3
- package/dist/components/tds-header.js +2 -2
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +3 -3
- package/dist/components/tds-inline-tabs.js +64 -41
- package/dist/components/tds-link.js +3 -3
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +3 -3
- package/dist/components/tds-navigation-tab.js +3 -3
- package/dist/components/tds-navigation-tabs.js +68 -40
- 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 +3 -3
- package/dist/components/tds-popover-menu.js +4 -4
- package/dist/components/tds-radio-button.js +2 -2
- package/dist/components/tds-side-menu-close-button.js +3 -3
- package/dist/components/tds-side-menu-collapse-button.js +6 -6
- package/dist/components/tds-side-menu-dropdown-list-item.js +3 -3
- package/dist/components/tds-side-menu-dropdown-list.js +3 -3
- package/dist/components/tds-side-menu-dropdown.js +6 -6
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +2 -2
- 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 +4 -4
- package/dist/components/tds-side-menu.js +2 -2
- package/dist/components/tds-slider.js +18 -11
- package/dist/components/tds-spinner.js +2 -2
- package/dist/components/tds-step.js +3 -3
- package/dist/components/tds-stepper.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.d.ts +11 -0
- package/dist/components/tds-table-body-input-wrapper.js +73 -0
- package/dist/components/tds-table-body-row-expandable.js +5 -5
- package/dist/components/tds-table-body-row.js +2 -2
- package/dist/components/tds-table-body.js +2 -2
- package/dist/components/tds-table-footer.js +2 -2
- package/dist/components/tds-table-header-input-wrapper.d.ts +11 -0
- package/dist/components/tds-table-header-input-wrapper.js +73 -0
- package/dist/components/tds-table-header.js +2 -2
- package/dist/components/tds-table-toolbar.js +4 -4
- package/dist/components/tds-table.js +2 -2
- package/dist/components/tds-text-field.js +8 -8
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +5 -5
- package/dist/components/tds-toggle.js +2 -2
- package/dist/components/tds-tooltip.js +4 -4
- package/dist/esm/{index-e7907201.js → index-465f9d11.js} +41 -10
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-badge.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +2 -2
- package/dist/esm/tds-card.entry.js +1 -1
- package/dist/esm/tds-checkbox.entry.js +1 -1
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +1 -1
- package/dist/esm/tds-datetime.entry.js +1 -1
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/esm/tds-dropdown-option.entry.js +1 -1
- package/dist/esm/tds-dropdown.entry.js +22 -18
- package/dist/esm/tds-folder-tab.entry.js +3 -3
- package/dist/esm/tds-folder-tabs.entry.js +61 -54
- package/dist/esm/tds-footer-group.entry.js +1 -1
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +1 -1
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +2 -2
- 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-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +2 -2
- package/dist/esm/tds-header-title.entry.js +3 -3
- package/dist/esm/tds-header.entry.js +2 -2
- package/dist/esm/tds-icon.entry.js +2 -2
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +61 -38
- package/dist/esm/tds-link.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +2 -2
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +65 -38
- package/dist/esm/tds-popover-canvas.entry.js +3 -3
- package/dist/esm/tds-popover-core.entry.js +2 -2
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +3 -3
- package/dist/esm/tds-radio-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-close-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -5
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
- package/dist/esm/tds-side-menu-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-overlay.entry.js +2 -2
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -3
- package/dist/esm/tds-side-menu-user.entry.js +2 -2
- package/dist/esm/tds-side-menu.entry.js +2 -2
- package/dist/esm/tds-slider.entry.js +17 -10
- package/dist/esm/tds-spinner.entry.js +2 -2
- package/dist/esm/tds-step.entry.js +2 -2
- package/dist/esm/tds-stepper.entry.js +1 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +44 -0
- package/dist/esm/tds-table-body-row-expandable.entry.js +5 -5
- package/dist/esm/tds-table-body-row.entry.js +1 -1
- package/dist/esm/tds-table-body.entry.js +2 -2
- package/dist/esm/tds-table-footer.entry.js +1 -1
- package/dist/esm/tds-table-header-input-wrapper.entry.js +44 -0
- package/dist/esm/tds-table-header.entry.js +1 -1
- package/dist/esm/tds-table-toolbar.entry.js +3 -3
- package/dist/esm/tds-table.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +7 -7
- package/dist/esm/tds-textarea.entry.js +5 -5
- package/dist/esm/tds-toast.entry.js +4 -4
- package/dist/esm/tds-toggle.entry.js +2 -2
- package/dist/esm/tds-tooltip.entry.js +3 -3
- package/dist/esm/tegel.js +4 -4
- package/dist/tegel/{p-7a1f6e88.entry.js → p-034bb450.entry.js} +1 -1
- package/dist/tegel/{p-2e9b7793.entry.js → p-0d0233af.entry.js} +1 -1
- package/dist/tegel/{p-b0a0193a.entry.js → p-0e2a4715.entry.js} +1 -1
- package/dist/tegel/{p-ab4c51be.entry.js → p-10a9f51f.entry.js} +1 -1
- package/dist/tegel/{p-46845a5c.entry.js → p-12e0ac45.entry.js} +1 -1
- package/dist/tegel/{p-11498ada.entry.js → p-21e79034.entry.js} +1 -1
- package/dist/tegel/{p-6a7b1318.entry.js → p-234932b6.entry.js} +1 -1
- package/dist/tegel/{p-8a702e4f.entry.js → p-23a284c6.entry.js} +1 -1
- package/dist/tegel/p-25d56ccf.entry.js +1 -0
- package/dist/tegel/{p-c96b81e5.entry.js → p-2d6ff3f3.entry.js} +1 -1
- package/dist/tegel/{p-c04e8a54.entry.js → p-318e2c61.entry.js} +1 -1
- package/dist/tegel/{p-fcbcec06.entry.js → p-31e9e6df.entry.js} +1 -1
- package/dist/tegel/{p-b44a09ea.entry.js → p-327d5b71.entry.js} +1 -1
- package/dist/tegel/{p-95c17631.entry.js → p-33ccf41c.entry.js} +1 -1
- package/dist/tegel/{p-5d27536b.entry.js → p-342cc2aa.entry.js} +1 -1
- package/dist/tegel/{p-256739c3.entry.js → p-37167c8c.entry.js} +1 -1
- package/dist/tegel/{p-db57d021.entry.js → p-3cbec086.entry.js} +1 -1
- package/dist/tegel/{p-8e5b6da7.entry.js → p-3cf8029f.entry.js} +1 -1
- package/dist/tegel/{p-ee72b4b8.entry.js → p-3ff8f2b6.entry.js} +1 -1
- package/dist/tegel/p-4570695b.entry.js +1 -0
- package/dist/tegel/{p-49a2ae8d.entry.js → p-4746023e.entry.js} +1 -1
- package/dist/tegel/{p-9a66445f.entry.js → p-4bc82635.entry.js} +1 -1
- package/dist/tegel/{p-f2c844de.entry.js → p-4d46909d.entry.js} +1 -1
- package/dist/tegel/{p-7db7cdbd.entry.js → p-4f13d69e.entry.js} +1 -1
- package/dist/tegel/{p-bbb6845d.entry.js → p-50f5f960.entry.js} +1 -1
- package/dist/tegel/{p-013d5d11.entry.js → p-5276bf95.entry.js} +1 -1
- package/dist/tegel/p-5397ba7d.entry.js +1 -0
- package/dist/tegel/{p-500b062e.entry.js → p-53d63192.entry.js} +1 -1
- package/dist/tegel/{p-5e404c89.entry.js → p-542432ee.entry.js} +1 -1
- package/dist/tegel/{p-c6637944.entry.js → p-5caa6c90.entry.js} +1 -1
- package/dist/tegel/p-6345afd1.entry.js +1 -0
- package/dist/tegel/{p-e2665f9d.entry.js → p-63d00fc2.entry.js} +1 -1
- package/dist/tegel/{p-0042d57c.entry.js → p-64357001.entry.js} +1 -1
- package/dist/tegel/p-64607cdf.entry.js +1 -0
- package/dist/tegel/{p-6ed47430.entry.js → p-64c2f76e.entry.js} +1 -1
- package/dist/tegel/p-68a17ceb.entry.js +1 -0
- package/dist/tegel/p-6b31b58a.entry.js +1 -0
- package/dist/tegel/{p-a00b6607.entry.js → p-6beeee15.entry.js} +1 -1
- package/dist/tegel/{p-33ddfd31.entry.js → p-6eb6ecbc.entry.js} +1 -1
- package/dist/tegel/{p-2d7fdfc5.entry.js → p-716e4f26.entry.js} +1 -1
- package/dist/tegel/{p-8e5c5c59.entry.js → p-7405d49a.entry.js} +1 -1
- package/dist/tegel/{p-4ff6e472.entry.js → p-743f2c52.entry.js} +1 -1
- package/dist/tegel/{p-af385656.entry.js → p-7cd0da78.entry.js} +1 -1
- package/dist/tegel/{p-16d82ff5.entry.js → p-7de2022c.entry.js} +1 -1
- package/dist/tegel/{p-c9df3ab0.entry.js → p-7fc37a88.entry.js} +1 -1
- package/dist/tegel/{p-af6540c5.entry.js → p-83a26af0.entry.js} +1 -1
- package/dist/tegel/p-862147a6.entry.js +1 -0
- package/dist/tegel/{p-ceb993dd.entry.js → p-8a790531.entry.js} +1 -1
- package/dist/tegel/{p-92c323b9.entry.js → p-8b6081d7.entry.js} +1 -1
- package/dist/tegel/{p-c345b310.entry.js → p-8dba1ece.entry.js} +1 -1
- package/dist/tegel/{p-6c826e8f.entry.js → p-8f34ce8a.entry.js} +1 -1
- package/dist/tegel/p-917cbde4.entry.js +1 -0
- package/dist/tegel/p-92e15eca.entry.js +1 -0
- package/dist/tegel/{p-15f87007.entry.js → p-9356fcb6.entry.js} +1 -1
- package/dist/tegel/{p-461dbefd.entry.js → p-94db622b.entry.js} +1 -1
- package/dist/tegel/p-96b3b8de.js +2 -0
- package/dist/tegel/p-9805d475.entry.js +1 -0
- package/dist/tegel/{p-f297779a.entry.js → p-9cd891fd.entry.js} +1 -1
- package/dist/tegel/p-a8593602.entry.js +1 -0
- package/dist/tegel/{p-046a6a9c.entry.js → p-a908d855.entry.js} +1 -1
- package/dist/tegel/{p-1c705c6b.entry.js → p-ab7d154e.entry.js} +1 -1
- package/dist/tegel/p-adb1d91a.entry.js +1 -0
- package/dist/tegel/{p-65f6dda4.entry.js → p-af87727c.entry.js} +1 -1
- package/dist/tegel/{p-539a8a98.entry.js → p-b33f2077.entry.js} +1 -1
- package/dist/tegel/p-b4355256.entry.js +1 -0
- package/dist/tegel/p-be2b09e3.entry.js +1 -0
- package/dist/tegel/{p-f5f4b866.entry.js → p-d3007c0c.entry.js} +1 -1
- package/dist/tegel/{p-f9d061c4.entry.js → p-d856cc12.entry.js} +1 -1
- package/dist/tegel/p-da466d55.entry.js +1 -0
- package/dist/tegel/{p-01cf5bee.entry.js → p-de47b913.entry.js} +1 -1
- package/dist/tegel/{p-020bdfc8.entry.js → p-e2b2ac13.entry.js} +1 -1
- package/dist/tegel/{p-49b6ca33.entry.js → p-e5348513.entry.js} +1 -1
- package/dist/tegel/{p-c0ecda3d.entry.js → p-e6233c5d.entry.js} +1 -1
- package/dist/tegel/{p-223998c5.entry.js → p-e85a54b5.entry.js} +1 -1
- package/dist/tegel/{p-69a4b584.entry.js → p-eb213452.entry.js} +1 -1
- package/dist/tegel/{p-fe818c12.entry.js → p-ebffc026.entry.js} +1 -1
- package/dist/tegel/{p-b0d58491.entry.js → p-ec03a662.entry.js} +1 -1
- package/dist/tegel/{p-d052194d.entry.js → p-ed6ca6ab.entry.js} +1 -1
- package/dist/tegel/{p-e1051e82.entry.js → p-ed9e745a.entry.js} +1 -1
- package/dist/tegel/{p-7011cf2c.entry.js → p-eea7c4e9.entry.js} +1 -1
- package/dist/tegel/{p-83255ba3.entry.js → p-f63c546e.entry.js} +1 -1
- package/dist/tegel/tegel.css +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/table/table-body/table-body.d.ts +0 -1
- package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +10 -0
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +3 -0
- package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +10 -0
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +14 -7
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +14 -6
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +19 -10
- package/dist/types/components.d.ts +54 -0
- package/package.json +3 -3
- package/dist/tegel/p-1bc3fc5e.entry.js +0 -1
- package/dist/tegel/p-20af56e4.entry.js +0 -1
- package/dist/tegel/p-2247d9ae.entry.js +0 -1
- package/dist/tegel/p-35f939eb.entry.js +0 -1
- package/dist/tegel/p-37af53cd.entry.js +0 -1
- package/dist/tegel/p-6638de62.entry.js +0 -1
- package/dist/tegel/p-679d6abd.js +0 -2
- package/dist/tegel/p-7edfd01e.entry.js +0 -1
- package/dist/tegel/p-85552da0.entry.js +0 -1
- package/dist/tegel/p-98c91f5a.entry.js +0 -1
- package/dist/tegel/p-af331ddd.entry.js +0 -1
- package/dist/tegel/p-cdb2dd5e.entry.js +0 -1
- package/dist/tegel/p-d6729285.entry.js +0 -1
- package/dist/tegel/p-e7b98ace.entry.js +0 -1
- package/dist/tegel/p-fba62542.entry.js +0 -1
|
@@ -50,13 +50,13 @@ export class TdsSideMenuDropdown {
|
|
|
50
50
|
this.open = this.defaultOpen;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '1bad48953f08e903e9179dae839c93b249f93266' }, h("div", { key: '7e8020738796fb8c449f76a3d1aef801151e4e63', class: {
|
|
54
54
|
'wrapper': true,
|
|
55
55
|
'state-open': this.getIsOpenState(),
|
|
56
56
|
'state-collapsed': this.collapsed,
|
|
57
|
-
} }, h("tds-side-menu-item", { key: '
|
|
57
|
+
} }, h("tds-side-menu-item", { key: 'e4420aba88077e36b1cc7cd10958459d79a463f4', class: "button", active: this.getIsOpenState(), selected: this.selected, onClick: () => {
|
|
58
58
|
this.open = !this.open;
|
|
59
|
-
} }, h("button", { key: '
|
|
59
|
+
} }, h("button", { key: '483ac0b103bf54f63c67cf2d78ed9e82703ba331' }, h("slot", { key: 'ec027d3c88569c79d0dde6c51f8dc1056dee6284', name: "icon" }), !this.collapsed && (h(Fragment, { key: 'f71caa474565871d170653153c8daa7ddead5f17' }, this.buttonLabel, h("slot", { key: '487db682801ce910cd65dc6d3ef481bff888574e', name: "label" }), h("tds-icon", { key: 'dc75ac7be7eedf85fec97cd3fdbbf786cebe8907', class: "dropdown-icon", name: "chevron_down", size: "16px" }))))), h("div", { key: 'e321069727d205d0623cd72fb922c3101f9d2e08', class: "menu" }, this.collapsed && (h("h3", { key: '7d5a73c051a700f0568d63ae62ce2737cdb57dd8', class: "heading-collapsed" }, this.buttonLabel, h("slot", { key: '9c831576869cac930e8fe9edcbfc86dfede01a47', name: "label" }))), h("slot", { key: '7db68bb3f46cdc24fa44c375f0d6bec82c317be4' })))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "tds-side-menu-dropdown"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js
CHANGED
|
@@ -15,9 +15,9 @@ export class TdsSideMenuDropdownList {
|
|
|
15
15
|
this.collapsed = (_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '87a06385e330eb2d65def2676ff78a09ad87d029', role: "list" }, h("div", { key: '284f409bfc8b24cea7047dd631a8895591f18a5c', class: {
|
|
19
19
|
'state-collapsed': this.collapsed,
|
|
20
|
-
} }, h("slot", { key: '
|
|
20
|
+
} }, h("slot", { key: 'fdd823c6bb4fedfe12586edb58805d5588fa07e7' }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "tds-side-menu-dropdown-list"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,12 +28,12 @@ export class TdsSideMenuDropdownListItem {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'bd99626dab1cff34e10b5da4bc8f9ff22663e31e', role: "listitem" }, h("div", { key: '4a736b170841b2c195b86c18758d3e4a9e93193e', class: {
|
|
32
32
|
'component': true,
|
|
33
33
|
'component-selected': this.selected,
|
|
34
34
|
'component-dropdown-has-icon': this.dropdownHasIcon,
|
|
35
35
|
'component-collapsed': this.collapsed,
|
|
36
|
-
} }, h("slot", { key: '
|
|
36
|
+
} }, h("slot", { key: 'e6d3f6d36ebd7d73f03d8eed18a86332ff90cd5b' }))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "tds-side-menu-dropdown-list-item"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,12 +54,12 @@ export class TdsSideMenuItem {
|
|
|
54
54
|
this.updateSlottedElements();
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '13d5211709dbda15ce0e398dab7e2677e15d074c' }, h("div", { key: '99cd16c7817451dfbc3e30c59fcb95ebf84c72af', class: {
|
|
58
58
|
'component': true,
|
|
59
59
|
'component-selected': this.selected,
|
|
60
60
|
'component-active': this.active,
|
|
61
61
|
'component-collapsed': this.collapsed,
|
|
62
|
-
} }, h("slot", { key: '
|
|
62
|
+
} }, h("slot", { key: '564c191d1bf54f63fa75c32309cd32392a22dc3a' }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "tds-side-menu-item"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TdsSideMenuOverlay {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'a22924316d030baaa80d15676d514eefe150b9df' }, h("div", { key: 'ad453aaa2fcaf52c94f2e7990c6d52f9db7fb55a' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "tds-side-menu-overlay"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class TdsSideMenuUser {
|
|
|
10
10
|
this.imgAlt = undefined;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '061364f66ad366cbfb421fa0609020564bd36e83' }, h("tds-side-menu-user-image", { key: '01ae0ecb3a011a6a8f50566dc5b683fb56f8d387', src: this.imgSrc, alt: this.imgAlt }, h("slot", { key: '5265cabfa2a7533f7e6c8a9a47b1691f8991d3f0', name: "image" })), h("tds-side-menu-user-label", { key: '525ac1f1593b048c266733e24d5dd3f5632ce197', heading: this.heading, subheading: this.subheading })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "tds-side-menu-user"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class TdsSideMenuUserImage {
|
|
|
12
12
|
this.alt = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'cd4bcc9ba4ce93b20e39ab0782136518a99899a3' }, h("slot", { key: '09bf0b847a54c03474e9d5dcaad8d0a5a347dbfc' }), this.src && h("img", { key: '8d74e3733d69ac50f4fe07557b91aec07aa74605', src: this.src, alt: this.alt })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "tds-side-menu-user-image"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class TdsSideMenuUserLabel {
|
|
|
5
5
|
this.subheading = undefined;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '5b26493d17e356fa885a7b615ed4bda03e751eb6' }, this.heading, this.subheading && h("div", { key: '2dc511289427ef2ea490fec0308119c42956113c', class: "subheading" }, this.subheading)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-side-menu-user-label"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,7 +131,7 @@ aside .tds-side-menu-wrapper::-webkit-scrollbar {
|
|
|
131
131
|
width: var(--tds-scrollbar-width);
|
|
132
132
|
}
|
|
133
133
|
aside .tds-side-menu-wrapper::-webkit-scrollbar-track {
|
|
134
|
-
background:
|
|
134
|
+
background: var(--tds-scrollbar-track-color);
|
|
135
135
|
}
|
|
136
136
|
aside .tds-side-menu-wrapper::-webkit-scrollbar-thumb {
|
|
137
137
|
border-radius: 40px;
|
|
@@ -163,7 +163,7 @@ export class TdsSideMenu {
|
|
|
163
163
|
"references": {
|
|
164
164
|
"CollapseEvent": {
|
|
165
165
|
"location": "local",
|
|
166
|
-
"path": "/
|
|
166
|
+
"path": "/Users/johnny/dev/scania/tegel/packages/core/src/components/side-menu/side-menu.tsx",
|
|
167
167
|
"id": "src/components/side-menu/side-menu.tsx::CollapseEvent"
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -187,7 +187,7 @@ export class TdsSideMenu {
|
|
|
187
187
|
"references": {
|
|
188
188
|
"CollapseEvent": {
|
|
189
189
|
"location": "local",
|
|
190
|
-
"path": "/
|
|
190
|
+
"path": "/Users/johnny/dev/scania/tegel/packages/core/src/components/side-menu/side-menu.tsx",
|
|
191
191
|
"id": "src/components/side-menu/side-menu.tsx::CollapseEvent"
|
|
192
192
|
}
|
|
193
193
|
}
|
|
@@ -211,7 +211,7 @@ export class TdsSideMenu {
|
|
|
211
211
|
"references": {
|
|
212
212
|
"InternalTdsSideMenuPropChange": {
|
|
213
213
|
"location": "local",
|
|
214
|
-
"path": "/
|
|
214
|
+
"path": "/Users/johnny/dev/scania/tegel/packages/core/src/components/side-menu/side-menu.tsx",
|
|
215
215
|
"id": "src/components/side-menu/side-menu.tsx::InternalTdsSideMenuPropChange"
|
|
216
216
|
}
|
|
217
217
|
}
|
|
@@ -118,7 +118,9 @@ export class TdsSlider {
|
|
|
118
118
|
updateTrack() {
|
|
119
119
|
const trackWidth = this.getTrackWidth();
|
|
120
120
|
const percentageFilled = (this.thumbLeft / trackWidth) * 100;
|
|
121
|
-
this.trackFillElement
|
|
121
|
+
if (this.trackFillElement) {
|
|
122
|
+
this.trackFillElement.style.width = `${percentageFilled}%`;
|
|
123
|
+
}
|
|
122
124
|
}
|
|
123
125
|
updateValue(event) {
|
|
124
126
|
const trackWidth = this.getTrackWidth();
|
|
@@ -157,6 +159,9 @@ export class TdsSlider {
|
|
|
157
159
|
return x;
|
|
158
160
|
}
|
|
159
161
|
getTrackWidth() {
|
|
162
|
+
if (!this.trackElement) {
|
|
163
|
+
return 0;
|
|
164
|
+
}
|
|
160
165
|
const trackRect = this.trackElement.getBoundingClientRect();
|
|
161
166
|
return trackRect.right - trackRect.left;
|
|
162
167
|
}
|
|
@@ -168,7 +173,9 @@ export class TdsSlider {
|
|
|
168
173
|
const calculatedLeft = (normalizedValue / normalizedMax) * trackWidth;
|
|
169
174
|
this.thumbLeft = calculatedLeft;
|
|
170
175
|
this.updateSupposedValueSlot(this.thumbLeft);
|
|
171
|
-
this.thumbElement
|
|
176
|
+
if (this.thumbElement) {
|
|
177
|
+
this.thumbElement.style.left = `${this.thumbLeft}px`;
|
|
178
|
+
}
|
|
172
179
|
}
|
|
173
180
|
/** Updates the slider value based on the current input value */
|
|
174
181
|
updateSliderValueOnInputChange(event) {
|
|
@@ -284,24 +291,24 @@ export class TdsSlider {
|
|
|
284
291
|
this.updateTrack();
|
|
285
292
|
}
|
|
286
293
|
render() {
|
|
287
|
-
return (h("div", { key: '
|
|
294
|
+
return (h("div", { key: '943840a77d7cb7f6c394bc2fcd25b36e9a6b5369', class: {
|
|
288
295
|
'tds-slider-wrapper': true,
|
|
289
296
|
'read-only': this.readOnly,
|
|
290
|
-
} }, h("input", { key: '
|
|
297
|
+
} }, h("input", { key: '9f009acc794cfdf37f7a459ae00defc447949436', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, value: this.value, disabled: this.disabled }), h("div", { key: 'e23f338ee45c0416c02568be5ef538708c71a3c2', class: {
|
|
291
298
|
'tds-slider': true,
|
|
292
299
|
'disabled': this.disabled,
|
|
293
300
|
'tds-slider-small': this.useSmall,
|
|
294
301
|
}, ref: (el) => {
|
|
295
302
|
this.wrapperElement = el;
|
|
296
|
-
} }, h("label", { key: '
|
|
303
|
+
} }, h("label", { key: '959ee49ec8483ead245abff393c2e89c5c20ee06', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'c1844b647050d9873d0abc95c3a43dc2f2090020', class: "tds-slider__input-values" }, h("div", { key: 'c725f1db4ef669ed6033f9e5b105f6401245263e', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '9b1f41eed1e3df5574d9454e42875e6365d4d200', class: "tds-slider__controls" }, h("div", { key: '0518f6daaead7ac4b4ed4ca177cb592ce3331260', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h("tds-icon", { key: 'e82506df9a4dd9073e485da2e4457c26188c4a17', name: "minus", size: "16px" })))), h("div", { key: '212769a9fca717328cfc7e7159bc01f65d5313a2', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: '8158e5b300c4085146900ed5b56ef5748852e137', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '57f7c51c9f538fba5083ffdd7b805212a7726ed4', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '8e25f27e20a07410fbf7ac70600e14663fe4cf0a', class: "tds-slider__track", ref: (el) => {
|
|
297
304
|
this.trackElement = el;
|
|
298
|
-
}, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '
|
|
305
|
+
}, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: 'cb48279c9b6b7f91754a0d0504d38977e80d6454', class: "tds-slider__track-fill", ref: (el) => {
|
|
299
306
|
this.trackFillElement = el;
|
|
300
|
-
} }), h("div", { key: '
|
|
307
|
+
} }), h("div", { key: 'e4d05479a9067ee506578b522c56719c006036fc', class: "tds-slider__thumb", ref: (el) => {
|
|
301
308
|
this.thumbElement = el;
|
|
302
|
-
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: '
|
|
309
|
+
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: '6487f63ad6f2ff00cbdd4e1c10bc9d4ec4550137', class: "tds-slider__value" }, this.value, h("svg", { key: '5c89ff40a9ccab1e48d1867a69835206313bf4c1', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd661c16c25e293a54fd6f98989655252e06a5d31', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '977ed57e0a9d115152dd08bdd656c5d6c858d633', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
303
310
|
this.thumbInnerElement = el;
|
|
304
|
-
} })))), this.useInput && (h("div", { key: '
|
|
311
|
+
} })))), this.useInput && (h("div", { key: '026b89aea3e01f0d6621d95260db43ba96834181', class: "tds-slider__input-values" }, h("div", { key: '9c58cc92d072760adbef4fa1c49c2766f48a4a3b', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '7a35238569b9ded1481ea48a868a985426ec4cef', class: "tds-slider__input-field-wrapper" }, h("input", { key: '51ba5b59604cfff6aa6a8bad6c59f3f706a8f3e4', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { key: '4d10cc417985b3ae3739120b508e781e79a315d0', class: "tds-slider__controls" }, h("div", { key: '9a422c72b65fc9888fd472c36a20df99bb4b50f4', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { key: '808969d21cb085de199f1d8af307aa9a412c2b4d', name: "plus", size: "16px" })))))));
|
|
305
312
|
}
|
|
306
313
|
static get is() { return "tds-slider"; }
|
|
307
314
|
static get originalStyleUrls() {
|
|
@@ -5,7 +5,7 @@ export class TdsSpinner {
|
|
|
5
5
|
this.variant = 'standard';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'cbefb74bd62350f66c0d5995f5c2f04ee51082db', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: 'c287462a00b740ffd8d68b02c1b658ebc7070476', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: '2af78cd10c8586de2d396e230746b5e744fe1060', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-spinner"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -39,7 +39,7 @@ export class TdsStep {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '6c7a2673bbe13e518f2052cac2b8bcc948c7c5ea' }, h("div", { key: '7df6c87c7743fcd539abcbde7c2396ba8d7fa4d6', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: 'b2902e638345c79401405b9c16dd6f4d196c8bac', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'b35127501be3ab9cc6f3bf0b9f54709f0d98ec36', class: `label ${this.size} ${this.state}` }, h("slot", { key: '43499d45d42401e384b8c9f20885873d23351110', name: "label" }))))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "tds-step"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -173,7 +173,7 @@ export class TdsStepper {
|
|
|
173
173
|
"references": {
|
|
174
174
|
"InternalTdsStepperPropChange": {
|
|
175
175
|
"location": "local",
|
|
176
|
-
"path": "/
|
|
176
|
+
"path": "/Users/johnny/dev/scania/tegel/packages/core/src/components/stepper/stepper.tsx",
|
|
177
177
|
"id": "src/components/stepper/stepper.tsx::InternalTdsStepperPropChange"
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -40,7 +40,7 @@ body {
|
|
|
40
40
|
height: var(--tds-scrollbar-height);
|
|
41
41
|
}
|
|
42
42
|
.tds-table--horizontal-scroll::-webkit-scrollbar-track {
|
|
43
|
-
background:
|
|
43
|
+
background: var(--tds-scrollbar-track-color);
|
|
44
44
|
}
|
|
45
45
|
.tds-table--horizontal-scroll::-webkit-scrollbar-thumb {
|
|
46
46
|
border-radius: 40px;
|
|
@@ -298,7 +298,7 @@ export class TdsTable {
|
|
|
298
298
|
"references": {
|
|
299
299
|
"InternalTdsTablePropChange": {
|
|
300
300
|
"location": "local",
|
|
301
|
-
"path": "/
|
|
301
|
+
"path": "/Users/johnny/dev/scania/tegel/packages/core/src/components/table/table/table.tsx",
|
|
302
302
|
"id": "src/components/table/table/table.tsx::InternalTdsTablePropChange"
|
|
303
303
|
}
|
|
304
304
|
}
|
|
@@ -2,7 +2,6 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
const relevantTableProps = ['multiselect', 'expandableRows'];
|
|
3
3
|
/**
|
|
4
4
|
* @slot <default> - <b>Unnamed slot.</b> For table rows.
|
|
5
|
-
* @slot no-result - Slot for no result message when using filtering.
|
|
6
5
|
*/
|
|
7
6
|
export class TdsTableBody {
|
|
8
7
|
constructor() {
|
|
@@ -56,7 +55,7 @@ export class TdsTableBody {
|
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
57
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '891bbd417703b240531383d54d5644cf39462573', "data-selected-rows": this.multiselectArrayJSON }, h("slot", { key: '409bc90e7c6d49588a7ec1796cfbad734c333c40' })));
|
|
60
59
|
}
|
|
61
60
|
static get is() { return "tds-table-body"; }
|
|
62
61
|
static get originalStyleUrls() {
|
|
@@ -81,13 +81,13 @@ export class TdsTableBodyCell {
|
|
|
81
81
|
// Conditionally set padding style
|
|
82
82
|
padding: paddingStyle,
|
|
83
83
|
};
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '11e448416f213f9fdf6dea7bd5ccff4512c7a8dd', class: {
|
|
85
85
|
'tds-table__body-cell': true,
|
|
86
86
|
'tds-table__body-cell--hover': this.activeSorting,
|
|
87
87
|
'tds-table__compact': this.compactDesign,
|
|
88
88
|
'tds-table--divider': this.verticalDividers,
|
|
89
89
|
'tds-table--no-min-width': this.noMinWidth,
|
|
90
|
-
}, style: dynamicStyles }, this.cellValue, h("slot", { key: '
|
|
90
|
+
}, style: dynamicStyles }, this.cellValue, h("slot", { key: '5c7052d46ee8351e2710cf72fc4db07ff84bd843' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "tds-body-cell"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host(:hover) tds-icon {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host(.focused-input-wrapper) tds-icon {
|
|
10
|
+
display: inline-block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host(.show-icon) ::slotted(input) {
|
|
14
|
+
padding-right: var(--tds-spacing-element-24);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
tds-icon.edit-icon {
|
|
18
|
+
display: none;
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 4px;
|
|
21
|
+
top: 1px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
::slotted(input) {
|
|
25
|
+
font: var(--tds-detail-02);
|
|
26
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
27
|
+
padding-left: var(--tds-spacing-element-16);
|
|
28
|
+
padding-right: var(--tds-spacing-element-16);
|
|
29
|
+
height: 48px;
|
|
30
|
+
border-radius: none;
|
|
31
|
+
background-color: transparent;
|
|
32
|
+
border: 0;
|
|
33
|
+
border-bottom: 2px solid transparent;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
::slotted(input:focus) {
|
|
38
|
+
outline: none;
|
|
39
|
+
background-color: white;
|
|
40
|
+
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
::slotted(input:hover:not(:focus)) {
|
|
44
|
+
background-color: var(--tds-table-body-input-hover-bg);
|
|
45
|
+
opacity: 0.05;
|
|
46
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class TdsTableBodyInputWrapper {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.showIcon = true;
|
|
5
|
+
this.renderSlot = true;
|
|
6
|
+
this.inputFocused = false;
|
|
7
|
+
}
|
|
8
|
+
handleSlotChange() {
|
|
9
|
+
this.validateSlot();
|
|
10
|
+
}
|
|
11
|
+
validateSlot() {
|
|
12
|
+
const children = Array.from(this.host.children).filter((element) => element.tagName === 'INPUT');
|
|
13
|
+
if (children.length !== 1) {
|
|
14
|
+
console.warn('TABLE-BODY-INPUT-WRAPPER: Wrapper only accepts input as children.');
|
|
15
|
+
this.renderSlot = false;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
if (!this.renderSlot)
|
|
19
|
+
this.renderSlot = true;
|
|
20
|
+
const input = children[0];
|
|
21
|
+
input.addEventListener('focus', () => {
|
|
22
|
+
this.inputFocused = true;
|
|
23
|
+
});
|
|
24
|
+
input.addEventListener('blur', () => {
|
|
25
|
+
this.inputFocused = false;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return (h(Host, { key: '805fc3afb07caee3fba2a750338b74fb81bab8ab', class: {
|
|
31
|
+
'focused-input-wrapper': this.inputFocused,
|
|
32
|
+
'show-icon': this.showIcon,
|
|
33
|
+
} }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "edit-icon", slot: "icon", size: "16px", name: "edit" })) : null));
|
|
34
|
+
}
|
|
35
|
+
static get is() { return "tds-table-body-input-wrapper"; }
|
|
36
|
+
static get encapsulation() { return "shadow"; }
|
|
37
|
+
static get originalStyleUrls() {
|
|
38
|
+
return {
|
|
39
|
+
"$": ["table-body-input-wrapper.scss"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static get styleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["table-body-input-wrapper.css"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get properties() {
|
|
48
|
+
return {
|
|
49
|
+
"showIcon": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "boolean",
|
|
54
|
+
"resolved": "boolean",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": "Controls if the edit icon is shown"
|
|
62
|
+
},
|
|
63
|
+
"attribute": "show-icon",
|
|
64
|
+
"reflect": false,
|
|
65
|
+
"defaultValue": "true"
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
static get states() {
|
|
70
|
+
return {
|
|
71
|
+
"renderSlot": {},
|
|
72
|
+
"inputFocused": {}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
static get elementRef() { return "host"; }
|
|
76
|
+
}
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -9,6 +9,9 @@ const relevantTableProps = [
|
|
|
9
9
|
/**
|
|
10
10
|
* @slot <default> - <b>Unnamed slot.</b> For the cells.
|
|
11
11
|
* @slot expand-row - Slot for the expanded row.
|
|
12
|
+
|
|
13
|
+
* @part row - Selector for the main row of the table.
|
|
14
|
+
* @part expand-row - Selector for the expanded row of the table.
|
|
12
15
|
*/
|
|
13
16
|
export class TdsTableBodyRowExpandable {
|
|
14
17
|
constructor() {
|
|
@@ -81,18 +84,18 @@ export class TdsTableBodyRowExpandable {
|
|
|
81
84
|
this.sendValue();
|
|
82
85
|
}
|
|
83
86
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: 'cd23997b2d0b659691199b0f6a7be6aa51689ee4', class: {
|
|
85
88
|
'tds-table__row': true,
|
|
86
89
|
'tds-table__row-expand--active': this.isExpanded,
|
|
87
90
|
'tds-table__compact': this.compactDesign,
|
|
88
91
|
'tds-table--divider': this.verticalDividers,
|
|
89
|
-
} }, h("tr", { key: '
|
|
92
|
+
} }, h("tr", { key: 'a3fec49a0b97a35f61db7c31dfc023ba3acebd86', class: {
|
|
90
93
|
'tds-table__row': true,
|
|
91
94
|
'tds-table__row--expanded': this.isExpanded,
|
|
92
|
-
} }, h("td", { key: '
|
|
95
|
+
}, part: "row" }, h("td", { key: 'd995074fc578640544f59df3426762ff6595dd0b', class: "tds-table__cell tds-table__cell--expand" }, h("label", { key: '0f905bda5651a8c9dc30094dbc402e5e618e4030', class: "tds-table__expand-control-container" }, h("input", { key: '9b316a0e3a44cfa21851a1ac2ec0980d53d3aa54', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: '022d891384b907d3ebce4b2138fef4f5c6f7d44f', class: "tds-expendable-row-icon" }, h("svg", { key: 'fb7ccb4d599e72a9d7a56808f59226779ffe611b', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '1e2c766463813a4b1edc32093abbbf501b99974b', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '7f0e3d93df3da8eeff969daa9aba8eecaa1e6e23' })), h("tr", { key: '89766434b64dd9bf0aecf805fdd494aab68f8af9', class: {
|
|
93
96
|
'tds-table__row-expand': true,
|
|
94
97
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
95
|
-
} }, h("td", { key: '
|
|
98
|
+
}, part: "expand-row" }, h("td", { key: 'f0c746d12fae92eae3e6bf9651c826fb3aacbefe', class: "tds-table__cell-expand", colSpan: this.columnsNumber }, h("slot", { key: '0a9e454379a7a6a72b3d6ea33a66a4aaaac09e8f', name: "expand-row" })))));
|
|
96
99
|
}
|
|
97
100
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
98
101
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.css
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host(:hover) tds-icon {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host(.focused-input-wrapper) tds-icon {
|
|
10
|
+
display: inline-block;
|
|
11
|
+
color: var(--tds-black);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host(.show-icon) ::slotted(input) {
|
|
15
|
+
padding-left: 28px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
tds-icon.search-icon {
|
|
19
|
+
color: var(--tds-table-input-search-icon);
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 8px;
|
|
22
|
+
top: 1px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
::slotted(input) {
|
|
26
|
+
font: var(--tds-headline-07);
|
|
27
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
28
|
+
color: var(--tds-table-color);
|
|
29
|
+
padding-left: var(--tds-spacing-element-16);
|
|
30
|
+
padding-right: var(--tds-spacing-element-16);
|
|
31
|
+
height: 48px;
|
|
32
|
+
border-radius: none;
|
|
33
|
+
background-color: transparent;
|
|
34
|
+
border: 0;
|
|
35
|
+
border-bottom: 2px solid transparent;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
::slotted(input:focus) {
|
|
39
|
+
outline: none;
|
|
40
|
+
background-color: white;
|
|
41
|
+
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
42
|
+
}
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class TdsTableHeaderInputWrapper {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.showIcon = true;
|
|
5
|
+
this.renderSlot = true;
|
|
6
|
+
this.inputFocused = false;
|
|
7
|
+
}
|
|
8
|
+
handleSlotChange() {
|
|
9
|
+
this.validateSlot();
|
|
10
|
+
}
|
|
11
|
+
validateSlot() {
|
|
12
|
+
const children = Array.from(this.host.children).filter((element) => element.tagName === 'INPUT');
|
|
13
|
+
if (children.length !== 1) {
|
|
14
|
+
console.warn('TABLE-HEADER-INPUT-WRAPPER: Wrapper only accepts input as children.');
|
|
15
|
+
this.renderSlot = false;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
if (!this.renderSlot)
|
|
19
|
+
this.renderSlot = true;
|
|
20
|
+
const input = children[0];
|
|
21
|
+
input.addEventListener('focus', () => {
|
|
22
|
+
this.inputFocused = true;
|
|
23
|
+
});
|
|
24
|
+
input.addEventListener('blur', () => {
|
|
25
|
+
this.inputFocused = false;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return (h(Host, { key: '2b6f294e1e16e6505dbef74cd12c3d72ff5bfaee', class: {
|
|
31
|
+
'focused-input-wrapper': this.inputFocused,
|
|
32
|
+
'show-icon': this.showIcon,
|
|
33
|
+
} }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
|
|
34
|
+
}
|
|
35
|
+
static get is() { return "tds-table-header-input-wrapper"; }
|
|
36
|
+
static get encapsulation() { return "shadow"; }
|
|
37
|
+
static get originalStyleUrls() {
|
|
38
|
+
return {
|
|
39
|
+
"$": ["table-header-input-wrapper.scss"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static get styleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["table-header-input-wrapper.css"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get properties() {
|
|
48
|
+
return {
|
|
49
|
+
"showIcon": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "boolean",
|
|
54
|
+
"resolved": "boolean",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": "Controls if the search icon is shown"
|
|
62
|
+
},
|
|
63
|
+
"attribute": "show-icon",
|
|
64
|
+
"reflect": false,
|
|
65
|
+
"defaultValue": "true"
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
static get states() {
|
|
70
|
+
return {
|
|
71
|
+
"renderSlot": {},
|
|
72
|
+
"inputFocused": {}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
static get elementRef() { return "host"; }
|
|
76
|
+
}
|
|
@@ -56,10 +56,10 @@ export class TdsTableToolbar {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '9c864dc219ed17a50a4d84881c676e05b3e0ef92', class: {
|
|
60
60
|
'tds-table--compact': this.compactDesign,
|
|
61
61
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
62
|
-
}, style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {} }, h("div", { key: '
|
|
62
|
+
}, style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {} }, h("div", { key: '035b5a5396344e3d682fb5370a4e1c0484045579', class: "tds-table__upper-bar-flex" }, h("caption", { key: 'f1f5ba362eda8a0ae25fb63c89a25fe3606365c9', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'b94a83cf81e1aaa06d1b29a4e9207c99bccbbbbc', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '358798e484d1892acb6a4e7e3b30702002ba860d', class: "tds-table__searchbar" }, h("input", { key: 'f062bf19e13e312ee9089324bdfc6d4e2e9a1db4', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: '9e874b39910b2d32b0a3193b14e01ed5f681b928', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '38d5a1b800d849b66a0c35d01d496fc4708f53c2', name: "search", size: "20px" })))), h("slot", { key: 'f362385a5719c51dbce2b213774b6397ede8714b', name: "end" })))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "tds-table-toolbar"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|