@scania/tegel 1.39.0 → 1.40.0-remove-table-footer-inner-state-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/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-button_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +4 -4
- package/dist/cjs/tds-datetime.cjs.entry.js +2 -2
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer-group.cjs.entry.js +4 -4
- package/dist/cjs/tds-footer-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +4 -4
- 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 +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +1 -1
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +1 -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 +3 -3
- 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 +2 -2
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- 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-slider.cjs.entry.js +8 -8
- package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tds-step.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 +7 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-footer.cjs.entry.js +14 -19
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-tag.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -5
- package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +9 -34
- package/dist/collection/components/button/button.css +14 -14
- package/dist/collection/components/chip/chip.css +23 -15
- package/dist/collection/components/datetime/datetime.css +21 -96
- package/dist/collection/components/datetime/datetime.js +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +5 -5
- package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
- package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +5 -0
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +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 +1 -1
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
- package/dist/collection/components/header/header-item/header-item.css +12 -5
- package/dist/collection/components/header/header-item/header-item.js +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.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.js +1 -1
- package/dist/collection/components/header/header.js +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.css +9 -9
- package/dist/collection/components/message/message.js +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/popover-canvas/popover-canvas.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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.css +1 -0
- 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.css +1 -0
- 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/slider/slider.js +8 -8
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/table/table-body/table-body.js +2 -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.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
- package/dist/collection/components/table/table-footer/table-footer.js +15 -21
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
- 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 +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 +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +11 -12
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +9 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.js +45 -7
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/{p-40253725.js → p-04a014cf.js} +3 -3
- package/dist/components/{p-92c2da85.js → p-1dafdc8c.js} +3 -3
- package/dist/components/{p-de36fc8a.js → p-2a2d66fe.js} +6 -6
- package/dist/components/{p-d3866be7.js → p-3308d5fa.js} +1 -1
- package/dist/components/{p-6eecf159.js → p-381677ec.js} +1 -1
- package/dist/components/{p-3b58a9f3.js → p-3a7e4d0d.js} +12 -8
- package/dist/components/{p-927cf777.js → p-3f2187a4.js} +1 -1
- package/dist/components/{p-f04f04b5.js → p-63552d0e.js} +4 -4
- package/dist/components/{p-c4318e35.js → p-6ef207b2.js} +3 -3
- package/dist/components/{p-ad6babcd.js → p-7c3348eb.js} +4 -4
- package/dist/components/{p-d0cf68be.js → p-9336db16.js} +1 -1
- package/dist/components/{p-b609e7a7.js → p-bff614d5.js} +1 -1
- package/dist/components/p-c62b61fe.js +91 -0
- package/dist/components/{p-072bf53a.js → p-d10d21bd.js} +4 -4
- package/dist/components/{p-71c3dfe9.js → p-de86852a.js} +3 -3
- package/dist/components/{p-9ad61cb5.js → p-e1622f4a.js} +1 -1
- package/dist/components/{p-b390ece5.js → p-f7d94947.js} +1 -1
- package/dist/components/tds-accordion-item.js +2 -2
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-body-cell.js +2 -2
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +3 -3
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +3 -3
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +2 -2
- package/dist/components/tds-folder-tabs.js +3 -3
- package/dist/components/tds-footer-group.js +5 -5
- package/dist/components/tds-footer-item.js +2 -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 +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 +9 -9
- 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 +1 -1
- package/dist/components/tds-header.js +1 -1
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +3 -3
- package/dist/components/tds-inline-tabs.js +4 -4
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +3 -3
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +5 -5
- 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 +2 -2
- package/dist/components/tds-popover-menu.js +4 -4
- package/dist/components/tds-radio-button.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +2 -2
- package/dist/components/tds-side-menu-collapse-button.js +4 -4
- package/dist/components/tds-side-menu-dropdown-list-item.js +3 -3
- package/dist/components/tds-side-menu-dropdown-list.js +2 -2
- package/dist/components/tds-side-menu-dropdown.js +5 -5
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.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-slider.js +12 -12
- package/dist/components/tds-spinner.js +1 -1
- package/dist/components/tds-step.js +2 -2
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +7 -7
- 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 +18 -24
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +2 -2
- package/dist/components/tds-table-toolbar.js +3 -3
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +4 -4
- package/dist/components/tds-toggle.js +3 -3
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +2 -2
- package/dist/esm/tds-button_2.entry.js +2 -2
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +4 -4
- package/dist/esm/tds-datetime.entry.js +2 -2
- package/dist/esm/tds-dropdown_2.entry.js +7 -7
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +2 -2
- package/dist/esm/tds-footer-group.entry.js +4 -4
- package/dist/esm/tds-footer-item.entry.js +2 -2
- package/dist/esm/tds-footer.entry.js +2 -2
- 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 +3 -3
- 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 +4 -4
- 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 +1 -1
- package/dist/esm/tds-header.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +1 -1
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +4 -4
- package/dist/esm/tds-popover-canvas.entry.js +3 -3
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +2 -2
- package/dist/esm/tds-popover-menu.entry.js +3 -3
- package/dist/esm/tds-radio-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown.entry.js +3 -3
- package/dist/esm/tds-side-menu-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- 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-slider.entry.js +8 -8
- package/dist/esm/tds-spinner.entry.js +1 -1
- package/dist/esm/tds-step.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 +7 -7
- package/dist/esm/tds-table-body-row.entry.js +2 -2
- package/dist/esm/tds-table-body.entry.js +2 -2
- package/dist/esm/tds-table-footer.entry.js +14 -19
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +2 -2
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-tag.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +7 -5
- package/dist/esm/tds-textarea.entry.js +3 -3
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +3 -3
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/{p-aec3e4cf.entry.js → p-08ad6a21.entry.js} +1 -1
- package/dist/tegel/{p-3022d31d.entry.js → p-09cd056c.entry.js} +1 -1
- package/dist/tegel/p-0c9a51d9.entry.js +1 -0
- package/dist/tegel/p-0e772ad7.entry.js +1 -0
- package/dist/tegel/{p-5dd2aac8.entry.js → p-133351b5.entry.js} +1 -1
- package/dist/tegel/{p-d184a3f0.entry.js → p-17bc1e49.entry.js} +1 -1
- package/dist/tegel/{p-9b0c886e.entry.js → p-1f4267a8.entry.js} +1 -1
- package/dist/tegel/p-24a76927.entry.js +1 -0
- package/dist/tegel/{p-6e57997e.entry.js → p-2766b46f.entry.js} +1 -1
- package/dist/tegel/p-28f85555.entry.js +1 -0
- package/dist/tegel/{p-bcdf13e0.entry.js → p-2faeb483.entry.js} +1 -1
- package/dist/tegel/p-304f5a5c.entry.js +1 -0
- package/dist/tegel/{p-a829417c.entry.js → p-354d3986.entry.js} +1 -1
- package/dist/tegel/p-3c348fcb.entry.js +1 -0
- package/dist/tegel/{p-f2232281.entry.js → p-3c97cb45.entry.js} +1 -1
- package/dist/tegel/{p-23fb4dee.entry.js → p-3e6d65ee.entry.js} +1 -1
- package/dist/tegel/p-445fa788.entry.js +1 -0
- package/dist/tegel/p-45859519.entry.js +1 -0
- package/dist/tegel/{p-c15eba7d.entry.js → p-464469fe.entry.js} +1 -1
- package/dist/tegel/p-4b5e15cc.entry.js +1 -0
- package/dist/tegel/p-4de2807c.entry.js +1 -0
- package/dist/tegel/{p-2f9b15f6.entry.js → p-51a17707.entry.js} +1 -1
- package/dist/tegel/{p-a6238890.entry.js → p-52689019.entry.js} +1 -1
- package/dist/tegel/p-55f9c79a.entry.js +1 -0
- package/dist/tegel/{p-0cac9ea6.entry.js → p-57a28f62.entry.js} +1 -1
- package/dist/tegel/p-5c8fd75e.entry.js +1 -0
- package/dist/tegel/{p-1bbef1a5.entry.js → p-646d1df4.entry.js} +1 -1
- package/dist/tegel/p-655051b6.entry.js +1 -0
- package/dist/tegel/{p-7013249b.entry.js → p-6b340718.entry.js} +1 -1
- package/dist/tegel/{p-336f2de3.entry.js → p-743d4f07.entry.js} +1 -1
- package/dist/tegel/{p-87740f23.entry.js → p-771f53c2.entry.js} +1 -1
- package/dist/tegel/{p-c465f9b8.entry.js → p-77cfb0ef.entry.js} +1 -1
- package/dist/tegel/p-7887bdbb.entry.js +1 -0
- package/dist/tegel/{p-86e99fdb.entry.js → p-7b598e60.entry.js} +1 -1
- package/dist/tegel/{p-a66a4a4e.entry.js → p-7ef50e7f.entry.js} +1 -1
- package/dist/tegel/p-88bb1059.entry.js +1 -0
- package/dist/tegel/{p-debd6adc.entry.js → p-8a4837ae.entry.js} +1 -1
- package/dist/tegel/{p-bb1d069f.entry.js → p-987f8f0f.entry.js} +1 -1
- package/dist/tegel/{p-bd935506.entry.js → p-9f187848.entry.js} +1 -1
- package/dist/tegel/{p-614bcd4b.entry.js → p-9fdc8fa5.entry.js} +1 -1
- package/dist/tegel/{p-c7b0253c.entry.js → p-a090bd2f.entry.js} +1 -1
- package/dist/tegel/{p-628dc7f7.entry.js → p-a4cbb541.entry.js} +1 -1
- package/dist/tegel/{p-25f4b4ca.entry.js → p-a56436c8.entry.js} +1 -1
- package/dist/tegel/{p-9b2257f3.entry.js → p-a8abc8d9.entry.js} +1 -1
- package/dist/tegel/p-ab00e6e4.entry.js +1 -0
- package/dist/tegel/p-b210d23c.entry.js +1 -0
- package/dist/tegel/{p-704682d6.entry.js → p-b7abb81f.entry.js} +1 -1
- package/dist/tegel/{p-7cb9790d.entry.js → p-c0cbc9f5.entry.js} +1 -1
- package/dist/tegel/p-c163d44f.entry.js +1 -0
- package/dist/tegel/{p-9099d978.entry.js → p-c23a3f12.entry.js} +1 -1
- package/dist/tegel/{p-ecb34850.entry.js → p-c2e514b4.entry.js} +1 -1
- package/dist/tegel/{p-eff87481.entry.js → p-c6968db1.entry.js} +1 -1
- package/dist/tegel/{p-30901c4d.entry.js → p-ca16f1ed.entry.js} +1 -1
- package/dist/tegel/p-ca32a270.entry.js +1 -0
- package/dist/tegel/p-cc962b6c.entry.js +1 -0
- package/dist/tegel/{p-525c81b1.entry.js → p-ceed0476.entry.js} +1 -1
- package/dist/tegel/{p-83e6e31f.entry.js → p-cf717912.entry.js} +1 -1
- package/dist/tegel/{p-bdc913a0.entry.js → p-cfd7ed1a.entry.js} +1 -1
- package/dist/tegel/{p-d0f09796.entry.js → p-d1d45942.entry.js} +1 -1
- package/dist/tegel/{p-f4b5e80b.entry.js → p-d7cdbc4e.entry.js} +1 -1
- package/dist/tegel/{p-6a615ac1.entry.js → p-e5b796e7.entry.js} +1 -1
- package/dist/tegel/{p-b2b9561f.entry.js → p-e6e9d11f.entry.js} +1 -1
- package/dist/tegel/p-e8b58680.entry.js +1 -0
- package/dist/tegel/{p-fbffe3aa.entry.js → p-f2318c88.entry.js} +1 -1
- package/dist/tegel/{p-3ec01fb3.entry.js → p-f31f56fe.entry.js} +1 -1
- package/dist/tegel/{p-84de314b.entry.js → p-f3c32d4d.entry.js} +1 -1
- package/dist/tegel/p-f8a37d39.entry.js +1 -0
- package/dist/tegel/{p-3a92d554.entry.js → p-fd15ced7.entry.js} +1 -1
- package/dist/tegel/tegel.css +4 -4
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/table/table-footer/table-footer.d.ts +0 -1
- package/dist/types/components/text-field/text-field.d.ts +5 -1
- package/dist/types/components.d.ts +18 -2
- package/package.json +4 -2
- package/dist/components/p-c8dc3566.js +0 -91
- package/dist/tegel/p-1c75f8a7.entry.js +0 -1
- package/dist/tegel/p-22b6223e.entry.js +0 -1
- package/dist/tegel/p-27c2f109.entry.js +0 -1
- package/dist/tegel/p-2c9ea0be.entry.js +0 -1
- package/dist/tegel/p-303acf88.entry.js +0 -1
- package/dist/tegel/p-35293420.entry.js +0 -1
- package/dist/tegel/p-3ebe93ff.entry.js +0 -1
- package/dist/tegel/p-462a6049.entry.js +0 -1
- package/dist/tegel/p-46c9af0f.entry.js +0 -1
- package/dist/tegel/p-4a666337.entry.js +0 -1
- package/dist/tegel/p-5bca9fe7.entry.js +0 -1
- package/dist/tegel/p-601a74ad.entry.js +0 -1
- package/dist/tegel/p-7caad569.entry.js +0 -1
- package/dist/tegel/p-7d427dff.entry.js +0 -1
- package/dist/tegel/p-8ae4e03c.entry.js +0 -1
- package/dist/tegel/p-af63a774.entry.js +0 -1
- package/dist/tegel/p-b20f250b.entry.js +0 -1
- package/dist/tegel/p-bb9445ff.entry.js +0 -1
- package/dist/tegel/p-c4f701f6.entry.js +0 -1
- package/dist/tegel/p-c61ecc8e.entry.js +0 -1
- package/dist/tegel/p-cf7af8f2.entry.js +0 -1
- package/dist/tegel/p-f9c17612.entry.js +0 -1
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -101,26 +101,26 @@ export class TdsTableBodyRowExpandable {
|
|
|
101
101
|
this.sendValue();
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '3d289d00082c284257728cec4f0ddcfc63dda863', class: {
|
|
105
105
|
'tds-table__row': true,
|
|
106
106
|
'tds-table__row-expand--active': this.isExpanded,
|
|
107
107
|
'tds-table__compact': this.compactDesign,
|
|
108
108
|
'tds-table--divider': this.verticalDividers,
|
|
109
|
-
} }, h("tr", { key: '
|
|
109
|
+
} }, h("tr", { key: '246ee336a3ab871346e1fcf81f02109121dc9657', id: `expandable-content-${this.rowId}`, class: {
|
|
110
110
|
'tds-table__row': true,
|
|
111
111
|
'tds-table__row--expanded': this.isExpanded,
|
|
112
|
-
}, part: "row" }, h("td", { key: '
|
|
112
|
+
}, part: "row" }, h("td", { key: 'b727b78965a4bdf0b6cf8ff7e8460d3dfae8327e', class: {
|
|
113
113
|
'tds-table__cell-expand': true,
|
|
114
|
-
} }, h("label", { key: '
|
|
114
|
+
} }, h("label", { key: 'c878be3429a3145b62b242f2e3d9c90ec0a74257', class: "tds-table__expand-control-container" }, h("input", { key: '6b99ef165e359012f83f7e298d9f83319493fc52', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: 'ec9e1aefc553362c0c3e15cb99118a9c2dfffd04', class: "tds-expendable-row-icon" }, h("svg", { key: '84b3270e5f1bfc7671adcea34d862fe0485f40a8', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'fc04209a4a2d35c19c7c74875c0ab302077abbf2', "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: '0c16341da217fbe920241a97b179335cb61e2364' })), h("tr", { key: 'a83ca5c30ec4945dfee096a408db4d1d240d3643', class: {
|
|
115
115
|
'tds-table__row-expand': true,
|
|
116
116
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
117
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
117
|
+
}, part: "expand-row" }, h("td", { key: '2fcafe17b33ce39b5e1a3b149434006a70f6b8f3', class: {
|
|
118
118
|
'tds-table__cell-expand': true,
|
|
119
119
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
120
120
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
121
|
-
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '
|
|
121
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'b696b23d127e32a8017692b03de1ce8ee9497dcb', style: {
|
|
122
122
|
overflow: this.overflow,
|
|
123
|
-
} }, h("slot", { key: '
|
|
123
|
+
} }, h("slot", { key: 'e64e00778fd7c85618ae4cbc19d232e2acb873b5', name: "expand-row" }))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,20 +8,17 @@ function removeShakeAnimation(e) {
|
|
|
8
8
|
}
|
|
9
9
|
export class TdsTableFooter {
|
|
10
10
|
constructor() {
|
|
11
|
-
this.emitTdsPagination = () => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
rowsPerPage: this.rowsPerPageValue,
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
this.tdsPagination.emit({
|
|
21
|
-
tableId: this.tableId,
|
|
22
|
-
paginationValue: Number(this.paginationValue),
|
|
23
|
-
});
|
|
11
|
+
this.emitTdsPagination = (event) => {
|
|
12
|
+
var _a;
|
|
13
|
+
let rowsPerPage;
|
|
14
|
+
if ((_a = event === null || event === void 0 ? void 0 : event.detail) === null || _a === void 0 ? void 0 : _a.value) {
|
|
15
|
+
rowsPerPage = parseInt(event.detail.value);
|
|
24
16
|
}
|
|
17
|
+
this.tdsPagination.emit({
|
|
18
|
+
tableId: this.tableId,
|
|
19
|
+
paginationValue: Number(this.paginationValue),
|
|
20
|
+
rowsPerPage,
|
|
21
|
+
});
|
|
25
22
|
};
|
|
26
23
|
this.previousPage = () => {
|
|
27
24
|
/** If pages and greater or equal to 2, decrease pagination value.
|
|
@@ -62,7 +59,6 @@ export class TdsTableFooter {
|
|
|
62
59
|
this.lastCorrectValue = undefined;
|
|
63
60
|
this.tableId = '';
|
|
64
61
|
this.horizontalScrollWidth = null;
|
|
65
|
-
this.rowsPerPageValue = this.rowsPerPageValues[0];
|
|
66
62
|
}
|
|
67
63
|
internalTdsPropChangeListener(event) {
|
|
68
64
|
if (this.tableId === event.detail.tableId) {
|
|
@@ -112,11 +108,10 @@ export class TdsTableFooter {
|
|
|
112
108
|
this.storeLastCorrectValue(this.paginationValue);
|
|
113
109
|
}
|
|
114
110
|
rowsPerPageChange(event) {
|
|
115
|
-
this.rowsPerPageValue = parseInt(event.detail.value);
|
|
116
111
|
if (this.paginationValue > this.pages) {
|
|
117
112
|
this.paginationValue = this.pages;
|
|
118
113
|
}
|
|
119
|
-
this.emitTdsPagination();
|
|
114
|
+
this.emitTdsPagination(event);
|
|
120
115
|
}
|
|
121
116
|
getStyles() {
|
|
122
117
|
const styles = {};
|
|
@@ -127,12 +122,12 @@ export class TdsTableFooter {
|
|
|
127
122
|
}
|
|
128
123
|
render() {
|
|
129
124
|
var _a;
|
|
130
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: 'bdcaf88948f79d642f04d447585a101a04e53977', class: {
|
|
131
126
|
'tds-table--compact': this.compactDesign,
|
|
132
127
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
133
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
128
|
+
}, style: this.getStyles() }, h("tr", { key: 'db9fa0d11251eede523c9ca8603d2c7950835974', class: "tds-table__footer-row" }, h("td", { key: '96484befffc8917a0659512b039e0491b4433811', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '3fc8c5f593047d83cd123cd494b771d4f7c7fb48', class: "tds-table__pagination" }, h("div", { key: '33fbc8a453f7df0816f49f83e5f1bb277b9865d2', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '4071b5d8937c095f5e5b68fb20e1b29254597c37', class: "rows-per-page" }, h("p", { key: '6295c9790be30c226042ac886ac8dd5b65654aa1' }, "Rows per page"), h("tds-dropdown", { key: 'a5888da6ba16d870a28aa05f45033c19276b81fd', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
134
129
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
135
|
-
}))))), h("div", { key: '
|
|
130
|
+
}))))), h("div", { key: '0793a5f551ee75c3f0535d2ce895d1892ffe9f18', class: "tds-table__page-selector" }, h("input", { key: 'b40c65231a7a6916c096a3a33f0c45a61a4d2469', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '21e958cc27555d658b0e6002ed5c43fcf47a59c2', class: "tds-table__footer-text" }, "of ", h("span", { key: '11231c2e170e283887dfbfba9060cef5d9aee13d' }, this.pages), " pages"), h("button", { key: '3a0cdcede53ee561995fbddd8fc178037d737e03', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '7ca02483a5500e4fd9ed4ece5e079888b1316fd1', name: "skip_backwards", size: "20px" })), h("button", { key: 'b39a4f20b9a893792d535b7ac5ec67fb2343bc25', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '37b55f35d074a8e55b8df59b3e43e31e7508c5b9', name: "chevron_left", size: "20px" })), h("button", { key: '65b130e3c459daff9b40c54e6ce3d7d82f4117d2', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '0439c661f86b49dfac40ca5c46107eceefe122d4', name: "chevron_right", size: "20px" })), h("button", { key: 'd950b16c2b9d3718e4cb136632420e770d3e81b3', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: 'd7db5d84352b569f412e87858f04261b489adcdc', name: "skip_forward", size: "20px" })))))))));
|
|
136
131
|
}
|
|
137
132
|
static get is() { return "tds-table-footer"; }
|
|
138
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -262,8 +257,7 @@ export class TdsTableFooter {
|
|
|
262
257
|
"compactDesign": {},
|
|
263
258
|
"lastCorrectValue": {},
|
|
264
259
|
"tableId": {},
|
|
265
|
-
"horizontalScrollWidth": {}
|
|
266
|
-
"rowsPerPageValue": {}
|
|
260
|
+
"horizontalScrollWidth": {}
|
|
267
261
|
};
|
|
268
262
|
}
|
|
269
263
|
static get events() {
|
|
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '6c1cc431846a627cab836e62a551f9f5d6558a9d', class: {
|
|
86
86
|
'tds-table--compact': this.compactDesign,
|
|
87
87
|
'tds-table--divider': this.verticalDividers,
|
|
88
88
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
89
|
-
} }, h("tr", { key: '
|
|
89
|
+
} }, h("tr", { key: 'fe66a0019ffef72437ef0312e07d8e23b0c8f728' }, this.multiselect && (h("th", { key: 'a132d706ef3650e6909a2b1bd90ed51b53a8fe02', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'a4a62796419d0f77a9a9b035a2493ec7cc184e9f', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '2b9e308d8098b8e2825936f6ff2ab0e1ec0e8897', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '916a17bb35705db77de44bee119c579dd55c2d8f', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '79d44597fcb6fa6d2e94197c57a1c9dded7e9f3d' }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "tds-table-header"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@ export class TdsTableHeaderCell {
|
|
|
113
113
|
return 'none';
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: 'f128527938679fe448019802ea76cda1a57d75be', class: {
|
|
117
117
|
'tds-table__header-cell': true,
|
|
118
118
|
'tds-table__header-cell--sortable': this.sortable,
|
|
119
119
|
'tds-table__header-cell--is-sorted': this.sortedByMyKey,
|
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: '62070c88b54c313b2db10890023db32f0eaf66b5', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -68,10 +68,10 @@ export class TdsTableToolbar {
|
|
|
68
68
|
return styles;
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'e7ce21fcad3bfbc9f93088f777855baa9c6e3869', class: {
|
|
72
72
|
'tds-table--compact': this.compactDesign,
|
|
73
73
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
74
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
74
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '7310ec2851d440ba6529eb2d48bb20bcb508429f', class: "tds-table__upper-bar-flex" }, h("div", { key: '5b901252d433968edb04de20a25ea9c09bb39b4b', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '661f8de9fe38cd72b098251b027c7e6f554033e5', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '8d00d01e2ac92c75f95dc6ae89e7b8769cde6dc1', name: "start" })), h("div", { key: 'fd28cb512ed5ad997cdb1f0b1dff8f7489f95db5', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'fb2649d623a21eeb1a8c3ed5c512d02d7bbb2efc', class: "tds-table__searchbar" }, h("input", { key: '9cd1284bec12081a2e99996eb6bd160ac926b751', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '015060f9c59d06c430fabb0acabb8b476a477616', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '5f990c7f452a46bb0471dd658f24afd848d029e9', name: "search", size: "20px" })))), h("slot", { key: 'a91b2aee680ef316d2fdd46d46bfe9ec3eb3e314', name: "end" })))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "tds-table-toolbar"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '6e0c3e477f033d6d0038d61d55f87d818abcef6e', "aria-selected": this.selected }, h("div", { key: '06f1e0abdbb9bcce20807d67784a0c82754e4d8a', 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: 'bef9798df6d9e27873ac28b481f1b61342dde861' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -162,9 +162,9 @@ export class TdsFolderTabs {
|
|
|
162
162
|
this.removeEventListenerFromTabs();
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '8c8c4916fe50279d530f99d21fef8f4ceb89fe55', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '5850bbcf52dfadf7a08dbe420916d98ed6d14b41', class: "wrapper", ref: (el) => {
|
|
166
166
|
this.navWrapperElement = el;
|
|
167
|
-
} }, h("button", { key: '
|
|
167
|
+
} }, h("button", { key: '9506486a1d6a2415bc8213cf1c0ab8c7789ad82c', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'e721ba34d2d703bd0ee2fe833e7859f282b6b332', name: "chevron_left", size: "20px" })), h("slot", { key: 'ee2558c4a7d35d8d6355df59b735344151742884', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '6ac20fbd52634a08bd6ef369a45fe0ebb7de9d5d', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '20a1096cec8ef7e121200f469761fac9a2a5086d', name: "chevron_right", size: "20px" })))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "tds-folder-tabs"; }
|
|
170
170
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/* !important is needed here to prevent this from being overwritten by our CSS-reset. */
|
|
12
12
|
font: var(--tds-headline-07) !important;
|
|
13
13
|
letter-spacing: var(--tds-headline-07-ls) !important;
|
|
14
|
-
color: var(--tds-
|
|
14
|
+
color: var(--tds-inline-tabs-tab-color);
|
|
15
15
|
text-decoration: none;
|
|
16
16
|
display: block;
|
|
17
17
|
position: relative;
|
|
@@ -20,19 +20,20 @@
|
|
|
20
20
|
background-color: transparent;
|
|
21
21
|
border: 0;
|
|
22
22
|
width: 100%;
|
|
23
|
-
padding: 20px
|
|
23
|
+
padding: 20px 0;
|
|
24
24
|
}
|
|
25
25
|
:host ::slotted(*:focus-visible)::before {
|
|
26
|
-
outline: 2px solid var(--tds-focus-outline-color);
|
|
27
|
-
box-shadow: 0 0 0 1px var(--tds-white);
|
|
28
|
-
outline-offset: 1px;
|
|
29
|
-
z-index: 1;
|
|
30
26
|
content: "";
|
|
31
27
|
position: absolute;
|
|
32
28
|
left: 0;
|
|
33
29
|
right: 0;
|
|
34
30
|
top: 3px;
|
|
35
31
|
bottom: 3px;
|
|
32
|
+
outline: 2px solid var(--tds-blue-400);
|
|
33
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
34
|
+
box-shadow: 0 0 0 1px var(--tds-white);
|
|
35
|
+
outline-offset: 1px;
|
|
36
|
+
z-index: 1;
|
|
36
37
|
}
|
|
37
38
|
:host .inline-tab-item:not(.selected)::after {
|
|
38
39
|
width: 0%;
|
|
@@ -40,7 +41,6 @@
|
|
|
40
41
|
}
|
|
41
42
|
:host .inline-tab-item {
|
|
42
43
|
position: relative;
|
|
43
|
-
margin-right: 32px;
|
|
44
44
|
}
|
|
45
45
|
:host .inline-tab-item:hover {
|
|
46
46
|
cursor: pointer;
|
|
@@ -71,19 +71,18 @@
|
|
|
71
71
|
width: 100%;
|
|
72
72
|
background-color: var(--tds-inline-tabs-tab-indicator-background-active);
|
|
73
73
|
}
|
|
74
|
-
:host .disabled::after {
|
|
75
|
-
content: none;
|
|
76
|
-
}
|
|
77
74
|
:host .disabled ::slotted(*) {
|
|
78
75
|
color: var(--tds-inline-tabs-tab-color-disabled);
|
|
79
76
|
}
|
|
77
|
+
:host .disabled::after {
|
|
78
|
+
content: none;
|
|
79
|
+
}
|
|
80
80
|
:host .disabled ::slotted(*:hover) {
|
|
81
|
-
color: var(--tds-inline-tabs-tab-color-disabled);
|
|
82
81
|
cursor: not-allowed;
|
|
82
|
+
color: var(--tds-inline-tabs-tab-color-disabled);
|
|
83
83
|
}
|
|
84
84
|
:host .disabled ::slotted(*:focus-visible) {
|
|
85
85
|
outline: none;
|
|
86
|
-
box-shadow: none;
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
:host(.last) {
|
|
@@ -30,11 +30,11 @@ export class TdsInlineTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '2c62341f68893d4792956a5c0db9753fe567a6aa', "aria-selected": this.selected }, h("div", { key: '1502366122d56bae42b8b1cc9c9a3937b58ec32f', 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: 'f2b45d7f0dd38cae953f61e933189eef8d7a9452' }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-inline-tab"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,13 +65,20 @@
|
|
|
65
65
|
:host .scroll-left-button:active {
|
|
66
66
|
background-color: var(--tds-folder-tabs-scroll-btn-background-active);
|
|
67
67
|
}
|
|
68
|
-
:host .scroll-right-button:focus,
|
|
69
|
-
:host .scroll-left-button:focus {
|
|
68
|
+
:host .scroll-right-button:focus-visible::before,
|
|
69
|
+
:host .scroll-left-button:focus-visible::before {
|
|
70
|
+
content: "";
|
|
71
|
+
position: absolute;
|
|
72
|
+
inset: 3px;
|
|
70
73
|
outline: 2px solid var(--tds-focus-outline-color);
|
|
71
74
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
72
75
|
outline-offset: 1px;
|
|
73
76
|
z-index: 1;
|
|
74
77
|
}
|
|
78
|
+
:host .scroll-right-button:focus-visible,
|
|
79
|
+
:host .scroll-left-button:focus-visible {
|
|
80
|
+
outline: 0;
|
|
81
|
+
}
|
|
75
82
|
:host .scroll-right-button svg,
|
|
76
83
|
:host .scroll-left-button svg {
|
|
77
84
|
fill: var(--tds-folder-tabs-scroll-btn-color);
|
|
@@ -169,9 +169,9 @@ export class TdsInlineTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: 'f33abd9071c85c0651a3ab93e3996ec44717e325', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '8a5233b2a941a3a1e72dc45f93015b5e606663a8', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f2a8051863cfa93f8b2a5c562fc5ebefcc36b195', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a93d1cb8ddc5486bbb15449c328a25f6e8e2b4cd', name: "chevron_left", size: "20px" })), h("slot", { key: 'e5b096420d72d12c861730fd9829baeba7cce625', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'f154a7b6553fe77e3f09da314403db5326df8e21', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '6832c693ab8a446a629788894f792f571c09cbe3', name: "chevron_right", size: "20px" })))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "tds-inline-tabs"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: 'fe07e37cb49b89fcd4f84e09f0d281c058e2ef0f' }, h("div", { key: '243d283d090cae8d00cfafa15a95f099d9c7d2e8', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
34
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '9824df7626af1bedbc17f98c0cfe305b9546f235' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tds-navigation-tab"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,15 +169,15 @@ export class TdsNavigationTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: 'cdf0eff9acca827e372a58f5721ff9279b0360f4', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'a8fafbc680fbdb0450db591e7f3ffda864946684', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '402e0ca33fa71dced98cf8d86e26e3dba312fa7d', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
175
175
|
'scroll-left-button': true,
|
|
176
176
|
'show': this.showLeftScroll,
|
|
177
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
177
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '2849a2da7c6ef133d173756778400baa2a51d58d', name: "chevron_left", size: "20px" })), h("slot", { key: '64081b7518abde00c8f1d80ff414849bccd1cb0b', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '916ba6b9107982f8b8763920bdf4e2bd99127943', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
178
178
|
'scroll-right-button': true,
|
|
179
179
|
'show': this.showRightScroll,
|
|
180
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
180
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '26f84d67bc4b1eb04668464a74b655db1953d999', name: "chevron_right", size: "20px" })))));
|
|
181
181
|
}
|
|
182
182
|
static get is() { return "tds-navigation-tabs"; }
|
|
183
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: 'ce69caedf87367e14db73628ff7948fca1580073', class: getTagClasses() }, h("div", { key: 'fbdddb159c5e590cca490df2ff2bf53602fc3265', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: '77e44bf68f83708da2bdf7dcf50878d43638df97', name: "prefix" }), h("span", { key: '27aa436683c94063a3a041c6679d622e5f621d92' }, this.text))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "tds-tag"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,6 +28,8 @@ export class TdsTextField {
|
|
|
28
28
|
this.maxLength = undefined;
|
|
29
29
|
this.autofocus = false;
|
|
30
30
|
this.tdsAriaLabel = undefined;
|
|
31
|
+
this.required = false;
|
|
32
|
+
this.autocomplete = 'off';
|
|
31
33
|
this.focusInput = false;
|
|
32
34
|
}
|
|
33
35
|
handleChange(event) {
|
|
@@ -72,7 +74,7 @@ export class TdsTextField {
|
|
|
72
74
|
var _a;
|
|
73
75
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
74
76
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
75
|
-
return (h("div", { key: '
|
|
77
|
+
return (h("div", { key: '3a072497874b410339fc3368f49b9048fdcc6641', class: {
|
|
76
78
|
'form-text-field': true,
|
|
77
79
|
'form-text-field-nomin': this.noMinWidth,
|
|
78
80
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -90,12 +92,12 @@ export class TdsTextField {
|
|
|
90
92
|
'form-text-field-sm': this.size === 'sm',
|
|
91
93
|
'form-text-field-error': this.state === 'error',
|
|
92
94
|
'form-text-field-success': this.state === 'success',
|
|
93
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
95
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: '190b617811d0993b85b3df6951a41678bc51879e', class: "text-field-label-outside" }, h("label", { key: '6e5099cc43259b790d83d3f127e85463e58c9ac2', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'd5064e04015238d38a70b09c9eba4cbbb1da19cb', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '69af0c24b21e3edda262749538cc9775c501e115', class: {
|
|
94
96
|
'text-field-slot-wrap-prefix': true,
|
|
95
97
|
'text-field-error': this.state === 'error',
|
|
96
98
|
'text-field-success': this.state === 'success',
|
|
97
99
|
'text-field-default': this.state === 'default',
|
|
98
|
-
} }, h("slot", { key: '
|
|
100
|
+
} }, h("slot", { key: 'f397647f1458b1d132080cb15b92be60e2942459', name: "prefix" }))), h("div", { key: '33674576cce732cc66e7ca830669b7535aea7f00', class: "text-field-input-container" }, h("input", { key: 'a27eca3e8862b099475fd46c2182f86d7d110533', ref: (inputEl) => {
|
|
99
101
|
this.textInput = inputEl;
|
|
100
102
|
}, class: {
|
|
101
103
|
'text-field-input': true,
|
|
@@ -110,13 +112,13 @@ export class TdsTextField {
|
|
|
110
112
|
if (!this.readOnly) {
|
|
111
113
|
this.handleBlur(event);
|
|
112
114
|
}
|
|
113
|
-
}, "aria-invalid": getAriaInvalid(this.host, this.state), "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}
|
|
115
|
+
}, "aria-invalid": getAriaInvalid(this.host, this.state), "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}`, required: this.required, autocomplete: this.autocomplete }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '7671a287273c976a1ad73032020838d6c4cedab0', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: '19a93786e8647aa1d2e5b9a9b80c71c250330d8d', class: {
|
|
114
116
|
'text-field-slot-wrap-suffix': true,
|
|
115
117
|
'text-field-error': this.state === 'error',
|
|
116
118
|
'text-field-success': this.state === 'success',
|
|
117
119
|
'text-field-default': this.state === 'default',
|
|
118
120
|
'tds-u-display-none': this.readOnly,
|
|
119
|
-
} }, h("slot", { key: '
|
|
121
|
+
} }, h("slot", { key: 'dd76e5bb941bc791caa395206be040319e00a708', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '2ba57774f40412b9a337ef7bf47ce65bcf44a704', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: 'bfb0f704470e77f9ce6e11fe3d01af3dd8569015', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '28ded9080cb2abfe6a06b284af3807584f4dda02', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: '636205c9e69b3a2602ea0b8817a585e5cd4e16b2', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: '4ece49df31864f53d0fadc3709cd06d34da6830a', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: 'ba1e7f916ebbfa6775b46febed47e4bf55af9fd3', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: '45eb885352b32dd3483a1c01f4dbaa49fcfda8ba', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: '9934f078456a0af683b0d1f8a997c5484e58868c', class: {
|
|
120
122
|
'text-field-textcounter-divider': true,
|
|
121
123
|
'text-field-textcounter-disabled': this.disabled,
|
|
122
124
|
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
|
|
@@ -139,8 +141,8 @@ export class TdsTextField {
|
|
|
139
141
|
"type": "string",
|
|
140
142
|
"mutable": false,
|
|
141
143
|
"complexType": {
|
|
142
|
-
"original": "'text' | 'password' | 'number'",
|
|
143
|
-
"resolved": "\"number\" | \"password\" | \"text\"",
|
|
144
|
+
"original": "'text' | 'password' | 'number' | 'email' | 'tel'",
|
|
145
|
+
"resolved": "\"email\" | \"number\" | \"password\" | \"tel\" | \"text\"",
|
|
144
146
|
"references": {}
|
|
145
147
|
},
|
|
146
148
|
"required": false,
|
|
@@ -471,6 +473,42 @@ export class TdsTextField {
|
|
|
471
473
|
},
|
|
472
474
|
"attribute": "tds-aria-label",
|
|
473
475
|
"reflect": false
|
|
476
|
+
},
|
|
477
|
+
"required": {
|
|
478
|
+
"type": "boolean",
|
|
479
|
+
"mutable": false,
|
|
480
|
+
"complexType": {
|
|
481
|
+
"original": "boolean",
|
|
482
|
+
"resolved": "boolean",
|
|
483
|
+
"references": {}
|
|
484
|
+
},
|
|
485
|
+
"required": false,
|
|
486
|
+
"optional": false,
|
|
487
|
+
"docs": {
|
|
488
|
+
"tags": [],
|
|
489
|
+
"text": "Makes the text field required"
|
|
490
|
+
},
|
|
491
|
+
"attribute": "required",
|
|
492
|
+
"reflect": false,
|
|
493
|
+
"defaultValue": "false"
|
|
494
|
+
},
|
|
495
|
+
"autocomplete": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"mutable": false,
|
|
498
|
+
"complexType": {
|
|
499
|
+
"original": "string",
|
|
500
|
+
"resolved": "string",
|
|
501
|
+
"references": {}
|
|
502
|
+
},
|
|
503
|
+
"required": false,
|
|
504
|
+
"optional": false,
|
|
505
|
+
"docs": {
|
|
506
|
+
"tags": [],
|
|
507
|
+
"text": "Value to be used for the text field's autocomplete attribute"
|
|
508
|
+
},
|
|
509
|
+
"attribute": "autocomplete",
|
|
510
|
+
"reflect": false,
|
|
511
|
+
"defaultValue": "'off'"
|
|
474
512
|
}
|
|
475
513
|
};
|
|
476
514
|
}
|
|
@@ -61,7 +61,7 @@ export class TdsTextarea {
|
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
63
|
var _a;
|
|
64
|
-
return (h("div", { key: '
|
|
64
|
+
return (h("div", { key: '0e1e8c392e63be0a7e1724f3351e4859eb6501a7', class: {
|
|
65
65
|
'textarea-container': true,
|
|
66
66
|
'textarea-label-inside': this.labelPosition === 'inside',
|
|
67
67
|
'textarea-focus': this.focusInput,
|
|
@@ -71,7 +71,7 @@ export class TdsTextarea {
|
|
|
71
71
|
'textarea-data': this.value !== '',
|
|
72
72
|
[`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
|
|
73
73
|
'no-min-width': this.noMinWidth,
|
|
74
|
-
} }, this.labelPosition !== 'no-label' && (h("label", { key: '
|
|
74
|
+
} }, this.labelPosition !== 'no-label' && (h("label", { key: '674206c9897b2e6f8ed4742e4bf4b9db5740a302', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '808b87787dbdb3386bdf528051eb7ab991259e30', class: "textarea-wrapper" }, h("textarea", { key: 'bb9871a2b0f4d88ac150fb8b550c2d5001b9cc2d', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
|
|
75
75
|
this.textEl = inputEl;
|
|
76
76
|
}, disabled: this.disabled, readonly: !this.disabled && this.readOnly, placeholder: this.placeholder, value: this.value, name: this.name, autofocus: this.autofocus, maxlength: this.maxLength, cols: this.cols, rows: this.rows, onFocus: (event) => {
|
|
77
77
|
if (!this.readOnly) {
|
|
@@ -81,7 +81,7 @@ export class TdsTextarea {
|
|
|
81
81
|
if (!this.readOnly) {
|
|
82
82
|
this.handleBlur(event);
|
|
83
83
|
}
|
|
84
|
-
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": getAriaInvalid(this.host, this.state), "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: '
|
|
84
|
+
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": getAriaInvalid(this.host, this.state), "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: 'f9fc9c3136ec57b6f0becd8602c6353f0c8848dd', class: "textarea-resizer-icon" }, h("svg", { key: '8b7f6fe75e111c7d4de27a1a6d30c430cd136753', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'f5857808dfc21333fc8d95c38c0a8e69823a6229', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.8536 0.853553C12.0488 0.658291 12.0488 0.341709 11.8536 0.146447C11.6583 -0.0488155 11.3417 -0.0488155 11.1464 0.146447L0.146447 11.1464C-0.0488155 11.3417 -0.0488155 11.6583 0.146447 11.8536C0.341709 12.0488 0.658291 12.0488 0.853553 11.8536L11.8536 0.853553ZM11.8536 4.64645C12.0488 4.84171 12.0488 5.15829 11.8536 5.35355L5.35355 11.8536C5.15829 12.0488 4.84171 12.0488 4.64645 11.8536C4.45118 11.6583 4.45118 11.3417 4.64645 11.1464L11.1464 4.64645C11.3417 4.45118 11.6583 4.45118 11.8536 4.64645ZM11.8536 8.64645C12.0488 8.84171 12.0488 9.15829 11.8536 9.35355L9.35355 11.8536C9.15829 12.0488 8.84171 12.0488 8.64645 11.8536C8.45118 11.6583 8.45118 11.3417 8.64645 11.1464L11.1464 8.64645C11.3417 8.45118 11.6583 8.45118 11.8536 8.64645Z", fill: "currentColor" }))), !this.disabled && !this.hideReadOnlyIcon && this.readOnly && (h("span", { key: 'df897e9b418dc4b7a2fefc152f0f850278695211', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: 'd350ce47947ccd11fea39f06b5ae6e7cdba84ca9', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '327fd5153c188dcc171d6cbed2727716148157b1', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: '5625f2580ce1724b5462e00c8024fb7b9c3f3107', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: '2873a82b45675d1e09a07de357386b0ea83ed054', name: "error", size: "16px" })), this.helper), this.maxLength > 0 && (h("div", { key: '0a54c37e440f4740e373943bfd48001e8f8f39e6', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '53f25f455440e8383bd1dabba20cce266fe78074', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "tds-textarea"; }
|
|
87
87
|
static get encapsulation() { return "scoped"; }
|
|
@@ -65,12 +65,12 @@ export class TdsToast {
|
|
|
65
65
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
66
66
|
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
67
67
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '09db24b58ba05daeba3e00ae880e86e700a43c2d', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
|
|
69
69
|
hide: this.hidden,
|
|
70
70
|
show: !this.hidden,
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '253a018ec0eea9e17f72200f52a38e71802f2902', class: `
|
|
72
72
|
wrapper
|
|
73
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
73
|
+
${this.variant}` }, h("tds-icon", { key: '953f414876c38ffb05bc0c684850ab53df124b5e', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: 'eb1ec8eb50cf3e05ecd880c427804626d9e4c51b', class: `content` }, h("div", { key: '97a0f4cb5ec278ad6a22051328461a9e0e1ce0ff', class: "header-subheader" }, this.header && h("div", { key: 'b3ae30e072257f4a74e748e24991bbab72a80c01', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '761fac1eda5bedd6c36d00be0548109c4f774af9', name: "header" }), this.subheader && h("div", { key: 'b4916a19416d8c0bfbdc0ef3d98fefda6ea96c86', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '62813da86efbf2ddf089a4931e11f774d6d27491', name: "subheader" })), usesActionsSlot && (h("div", { key: '93ec29dca445466da32ea2dc1c04bef76b8dc79e', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: 'fa9aeb95c9c569e77f85e3b65d993064e35dad81', name: "actions" })))), this.closable && (h("button", { key: '0d0aad78ebd983647774a2afdb593a7aa4e2dbf9', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: 'df6e7efeef43689bf44c101d23e5ce725d087951', name: "cross", size: "20px", svgTitle: "cross" }))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tds-toast"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,12 +39,12 @@ export class TdsToggle {
|
|
|
39
39
|
this.labelSlot = this.host.querySelector("[slot='label']");
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'c3317c42904e33fd2936aa01ce064f87d33786e3', class: "tds-toggle" }, this.headline && (h("div", { key: '9c2280058b2fbc09e0663dc5e92d4d3dd413cc83', class: {
|
|
43
43
|
'toggle-headline': true,
|
|
44
44
|
'disabled': this.disabled,
|
|
45
|
-
} }, this.headline)), h("input", { key: '
|
|
45
|
+
} }, this.headline)), h("input", { key: 'b5e5cfee5c3115c1039e816bbd6f7751cf6a5f6c', ref: (inputEl) => {
|
|
46
46
|
this.inputElement = inputEl;
|
|
47
|
-
}, "aria-label": this.tdsAriaLabel, "aria-describedby": this.host.getAttribute('aria-describedby'), "aria-labelledby": this.host.getAttribute('aria-labelledby'), "aria-checked": this.checked, "aria-required": this.required, onChange: () => this.handleToggle(), class: `${this.size}`, checked: this.checked, disabled: this.disabled, required: this.required, type: "checkbox", name: this.name, id: this.toggleId, role: "switch" }), this.labelSlot && (h("label", { key: '
|
|
47
|
+
}, "aria-label": this.tdsAriaLabel, "aria-describedby": this.host.getAttribute('aria-describedby'), "aria-labelledby": this.host.getAttribute('aria-labelledby'), "aria-checked": this.checked, "aria-required": this.required, onChange: () => this.handleToggle(), class: `${this.size}`, checked: this.checked, disabled: this.disabled, required: this.required, type: "checkbox", name: this.name, id: this.toggleId, role: "switch" }), this.labelSlot && (h("label", { key: '9eedb6f2c2a0494e2b59f392764c27b143dcecee', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: '11346fe1d7f4ea0da665b153ae25af9e084a0602', name: "label" })))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "tds-toggle"; }
|
|
50
50
|
static get encapsulation() { return "scoped"; }
|
|
@@ -58,7 +58,7 @@ export class TdsTooltip {
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
var _a;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '69ced518e10ea5d65da8266257d7f7bba5db3f63', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: '9511b6fb5dcd5a270de5b6f9b50b40271b4f5030' }, this.inheritedAttributes, { class: {
|
|
62
62
|
'tds-tooltip': true,
|
|
63
63
|
[`tds-tooltip-${this.border}`]: true,
|
|
64
64
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
@@ -71,7 +71,7 @@ export class TdsTooltip {
|
|
|
71
71
|
// @ts-ignore
|
|
72
72
|
onInternalTdsClose: () => {
|
|
73
73
|
this.show = false;
|
|
74
|
-
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '
|
|
74
|
+
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '8fb6467b2d1fa2ce6a70a171966ff245f8205b55' }))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "tds-tooltip"; }
|
|
77
77
|
static get encapsulation() { return "scoped"; }
|