@scania/tegel 1.25.0-fix-a11y-chip-more-improvements-beta.0 → 1.25.0-fix-a11y-text-field-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-badge.cjs.entry.js +9 -5
- package/dist/cjs/tds-banner.cjs.entry.js +4 -3
- package/dist/cjs/tds-block.cjs.entry.js +1 -3
- package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -7
- package/dist/cjs/tds-button.cjs.entry.js +4 -12
- package/dist/cjs/tds-card.cjs.entry.js +5 -5
- package/dist/cjs/tds-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tds-chip.cjs.entry.js +2 -12
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -40
- package/dist/cjs/tds-datetime.cjs.entry.js +13 -20
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +199 -186
- 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 +3 -3
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +7 -7
- 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 +3 -3
- 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-text-field.cjs.entry.js +13 -7
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -11
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/badge/badge.js +9 -24
- package/dist/collection/components/banner/banner.js +4 -21
- package/dist/collection/components/block/block.js +2 -27
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +10 -9
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -30
- package/dist/collection/components/button/button.css +3 -3
- package/dist/collection/components/button/button.js +3 -28
- package/dist/collection/components/card/card.js +5 -5
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/chip/chip.js +3 -30
- package/dist/collection/components/datetime/datetime.css +0 -20
- package/dist/collection/components/datetime/datetime.js +15 -22
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +6 -16
- package/dist/collection/components/dropdown/dropdown.js +242 -236
- package/dist/collection/components/footer/footer-group/footer-group.js +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.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.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.js +2 -39
- 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.js +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- 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/slider/slider.js +7 -7
- 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 +3 -3
- 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.js +2 -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/text-field/text-field.js +31 -8
- package/dist/collection/components/toggle/toggle.js +2 -28
- package/dist/collection/utils/axeHelpers.js +1 -1
- package/dist/components/{p-0e6efec9.js → p-2ef329f1.js} +2 -2
- package/dist/components/{p-4764a1d5.js → p-3351035f.js} +1 -1
- package/dist/components/{p-d61bd22e.js → p-3a7f88ff.js} +3 -40
- package/dist/components/{p-a64dc22e.js → p-467fe701.js} +199 -179
- package/dist/components/{p-265c3467.js → p-4bdaf254.js} +1 -1
- package/dist/components/{p-2a43e410.js → p-6c2d5c85.js} +8 -18
- package/dist/components/{p-e49a0ceb.js → p-707a562e.js} +1 -1
- package/dist/components/{p-34737ed9.js → p-75437dea.js} +1 -1
- package/dist/components/{p-e8d2dbbf.js → p-8f8b0827.js} +1 -1
- package/dist/components/{p-8c849aa2.js → p-9d7232d0.js} +2 -2
- package/dist/components/{p-a2b7bdef.js → p-ad77fb02.js} +1 -1
- package/dist/components/{p-3e93886d.js → p-d1ace0be.js} +1 -1
- package/dist/components/{p-c65351ab.js → p-eac79032.js} +2 -2
- package/dist/components/{p-29d19dc8.js → p-f0a50868.js} +3 -3
- package/dist/components/{p-4c1e3344.js → p-f1980746.js} +4 -4
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-badge.js +9 -7
- package/dist/components/tds-banner.js +5 -5
- package/dist/components/tds-block.js +2 -5
- package/dist/components/tds-body-cell.js +2 -2
- package/dist/components/tds-breadcrumb.js +3 -3
- package/dist/components/tds-breadcrumbs.js +2 -10
- package/dist/components/tds-button.js +4 -13
- package/dist/components/tds-card.js +6 -6
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +3 -14
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +14 -21
- 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 +4 -4
- package/dist/components/tds-footer-item.js +1 -1
- 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 +8 -8
- 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 +2 -2
- package/dist/components/tds-inline-tabs.js +3 -3
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +3 -3
- 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 +3 -3
- 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 +5 -5
- package/dist/components/tds-side-menu-dropdown-list-item.js +2 -2
- 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 +8 -8
- 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 +3 -3
- package/dist/components/tds-table-body.js +2 -2
- package/dist/components/tds-table-footer.js +7 -7
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +3 -3
- package/dist/components/tds-table-toolbar.js +3 -3
- package/dist/components/tds-text-field.js +15 -8
- package/dist/components/tds-textarea.js +1 -1
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +2 -12
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-badge.entry.js +9 -5
- package/dist/esm/tds-banner.entry.js +4 -3
- package/dist/esm/tds-block.entry.js +1 -3
- package/dist/esm/tds-body-cell.entry.js +2 -2
- package/dist/esm/tds-breadcrumb.entry.js +3 -3
- package/dist/esm/tds-breadcrumbs.entry.js +1 -7
- package/dist/esm/tds-button.entry.js +4 -12
- package/dist/esm/tds-card.entry.js +5 -5
- package/dist/esm/tds-checkbox.entry.js +2 -2
- package/dist/esm/tds-chip.entry.js +2 -12
- package/dist/esm/tds-core-header-item_2.entry.js +3 -40
- package/dist/esm/tds-datetime.entry.js +13 -20
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +199 -186
- 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 +3 -3
- package/dist/esm/tds-footer-item.entry.js +1 -1
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +2 -2
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +2 -2
- 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 +2 -2
- 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 +7 -7
- 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 +3 -3
- 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-text-field.entry.js +13 -7
- package/dist/esm/tds-toggle.entry.js +2 -11
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/{p-542d7b3e.entry.js → p-038c22ff.entry.js} +1 -1
- package/dist/tegel/{p-288a09ef.entry.js → p-059a9499.entry.js} +1 -1
- package/dist/tegel/{p-60b38806.entry.js → p-06968bd7.entry.js} +1 -1
- package/dist/tegel/p-0939b9fb.entry.js +1 -0
- package/dist/tegel/{p-dcbc35af.entry.js → p-0b773208.entry.js} +1 -1
- package/dist/tegel/p-0ca2ff52.entry.js +1 -0
- package/dist/tegel/p-1703f73a.entry.js +1 -0
- package/dist/tegel/p-1aecae56.entry.js +1 -0
- package/dist/tegel/{p-ca93de01.entry.js → p-24ff5903.entry.js} +1 -1
- package/dist/tegel/{p-ed17283a.entry.js → p-2795009a.entry.js} +1 -1
- package/dist/tegel/{p-c8404432.entry.js → p-2a38b053.entry.js} +1 -1
- package/dist/tegel/{p-d853f8c2.entry.js → p-2a96bd05.entry.js} +1 -1
- package/dist/tegel/{p-96635c10.entry.js → p-2f32991e.entry.js} +1 -1
- package/dist/tegel/p-32b7f431.entry.js +1 -0
- package/dist/tegel/p-39373227.entry.js +1 -0
- package/dist/tegel/{p-848c2732.entry.js → p-3a32fe40.entry.js} +1 -1
- package/dist/tegel/p-3c22aef7.entry.js +1 -0
- package/dist/tegel/{p-74fc9c92.entry.js → p-3d3ee51f.entry.js} +1 -1
- package/dist/tegel/{p-035e58e6.entry.js → p-3e144a83.entry.js} +1 -1
- package/dist/tegel/p-3e1b1399.entry.js +1 -0
- package/dist/tegel/{p-7c4c65c9.entry.js → p-44c33b20.entry.js} +1 -1
- package/dist/tegel/p-48bbc11f.entry.js +1 -0
- package/dist/tegel/{p-72fd0083.entry.js → p-4a282c25.entry.js} +1 -1
- package/dist/tegel/p-4b231bf9.entry.js +1 -0
- package/dist/tegel/{p-78d5acd7.entry.js → p-4b7c53a6.entry.js} +1 -1
- package/dist/tegel/p-4c2f313d.entry.js +1 -0
- package/dist/tegel/{p-77d457b8.entry.js → p-54154f09.entry.js} +1 -1
- package/dist/tegel/{p-93a4bd11.entry.js → p-59293f88.entry.js} +1 -1
- package/dist/tegel/{p-5a7110b8.entry.js → p-5eaa23dc.entry.js} +1 -1
- package/dist/tegel/{p-d47c744f.entry.js → p-5fea857b.entry.js} +1 -1
- package/dist/tegel/p-69b38504.entry.js +1 -0
- package/dist/tegel/{p-d267665e.entry.js → p-6d022f47.entry.js} +1 -1
- package/dist/tegel/{p-19eb4ae1.entry.js → p-6eeded00.entry.js} +1 -1
- package/dist/tegel/{p-bee533b5.entry.js → p-708a8bab.entry.js} +1 -1
- package/dist/tegel/p-7090a95c.entry.js +1 -0
- package/dist/tegel/{p-168122a7.entry.js → p-72106a5c.entry.js} +1 -1
- package/dist/tegel/p-7276921b.entry.js +1 -0
- package/dist/tegel/{p-654785d2.entry.js → p-7929d22f.entry.js} +1 -1
- package/dist/tegel/p-85a9032e.entry.js +1 -0
- package/dist/tegel/{p-aef6b130.entry.js → p-86b30f71.entry.js} +1 -1
- package/dist/tegel/{p-ea3e071f.entry.js → p-88204e0a.entry.js} +1 -1
- package/dist/tegel/{p-64c80f14.entry.js → p-9016758e.entry.js} +1 -1
- package/dist/tegel/p-92f81cda.entry.js +1 -0
- package/dist/tegel/{p-5ba254ee.entry.js → p-93930c03.entry.js} +1 -1
- package/dist/tegel/{p-aa9d281b.entry.js → p-96bdf035.entry.js} +1 -1
- package/dist/tegel/{p-c56be8d1.entry.js → p-99da056d.entry.js} +1 -1
- package/dist/tegel/{p-4e33cbda.entry.js → p-9c3f2c12.entry.js} +1 -1
- package/dist/tegel/p-a38dda58.entry.js +1 -0
- package/dist/tegel/{p-fa07db58.entry.js → p-a392e6e7.entry.js} +1 -1
- package/dist/tegel/{p-b39ffad4.entry.js → p-a86fe122.entry.js} +1 -1
- package/dist/tegel/{p-cde32bc6.entry.js → p-ab0528bf.entry.js} +1 -1
- package/dist/tegel/{p-1b390acb.entry.js → p-b0a5eba7.entry.js} +1 -1
- package/dist/tegel/{p-3204ae8f.entry.js → p-b2018a5b.entry.js} +1 -1
- package/dist/tegel/{p-4ee344e5.entry.js → p-b425b2f4.entry.js} +1 -1
- package/dist/tegel/p-b647d20e.entry.js +1 -0
- package/dist/tegel/{p-b9576881.entry.js → p-b96cd80d.entry.js} +1 -1
- package/dist/tegel/{p-f1b0211a.entry.js → p-b9b63210.entry.js} +1 -1
- package/dist/tegel/{p-a0fc0cc2.entry.js → p-c289dfb9.entry.js} +1 -1
- package/dist/tegel/{p-34b793c9.entry.js → p-cc2730d8.entry.js} +1 -1
- package/dist/tegel/p-d7f48112.entry.js +1 -0
- package/dist/tegel/p-d926d075.entry.js +1 -0
- package/dist/tegel/p-ddd33cce.entry.js +1 -0
- package/dist/tegel/{p-ee7f07ae.entry.js → p-e478953c.entry.js} +1 -1
- package/dist/tegel/{p-b686f1ad.entry.js → p-e7300cca.entry.js} +1 -1
- package/dist/tegel/{p-d33cb2d1.entry.js → p-e9ac7a1a.entry.js} +1 -1
- package/dist/tegel/p-ea4a9a4f.entry.js +1 -0
- package/dist/tegel/p-f050aad8.entry.js +1 -0
- package/dist/tegel/p-f4db0231.entry.js +1 -0
- package/dist/tegel/{p-b6526302.entry.js → p-fd3d56aa.entry.js} +1 -1
- package/dist/tegel/{p-dfbbaefd.entry.js → p-fd432c54.entry.js} +1 -1
- package/dist/tegel/p-ffd827ef.entry.js +1 -0
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/badge/badge.d.ts +0 -3
- package/dist/types/components/banner/banner.d.ts +0 -4
- package/dist/types/components/block/block.d.ts +1 -8
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +0 -3
- package/dist/types/components/button/button.d.ts +0 -3
- package/dist/types/components/chip/chip.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +23 -24
- package/dist/types/components/header/header-item/header-item.d.ts +0 -7
- package/dist/types/components/text-field/text-field.d.ts +4 -1
- package/dist/types/components/toggle/toggle.d.ts +0 -5
- package/dist/types/components.d.ts +27 -108
- package/package.json +1 -1
- package/dist/tegel/p-01edebef.entry.js +0 -1
- package/dist/tegel/p-065d6f83.entry.js +0 -1
- package/dist/tegel/p-32be63ea.entry.js +0 -1
- package/dist/tegel/p-3c2f7033.entry.js +0 -1
- package/dist/tegel/p-46205cfb.entry.js +0 -1
- package/dist/tegel/p-4d5963d0.entry.js +0 -1
- package/dist/tegel/p-4f5f152a.entry.js +0 -1
- package/dist/tegel/p-4fe6512b.entry.js +0 -1
- package/dist/tegel/p-5242a1f6.entry.js +0 -1
- package/dist/tegel/p-6f17d37f.entry.js +0 -1
- package/dist/tegel/p-70795d6e.entry.js +0 -1
- package/dist/tegel/p-77c79b91.entry.js +0 -1
- package/dist/tegel/p-868757d9.entry.js +0 -1
- package/dist/tegel/p-8c8b9908.entry.js +0 -1
- package/dist/tegel/p-9e0b31a1.entry.js +0 -1
- package/dist/tegel/p-a5e0f030.entry.js +0 -1
- package/dist/tegel/p-ae46766a.entry.js +0 -1
- package/dist/tegel/p-b08886e3.entry.js +0 -1
- package/dist/tegel/p-b5ced8e5.entry.js +0 -1
- package/dist/tegel/p-b9f81e53.entry.js +0 -1
- package/dist/tegel/p-be1d1345.entry.js +0 -1
- package/dist/tegel/p-cc6c06e3.entry.js +0 -1
- package/dist/tegel/p-d0abf078.entry.js +0 -1
- package/dist/tegel/p-d65dfe04.entry.js +0 -1
- package/dist/tegel/p-d9511720.entry.js +0 -1
|
@@ -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: '361c1868777c78a539e7c36a0acb9963f57fde3c' }, this.heading, this.subheading && h("div", { key: 'a1e15c671dcd77841051c52c3e17ef66bbf7730f', class: "subheading" }, this.subheading)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-side-menu-user-label"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -322,24 +322,24 @@ export class TdsSlider {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
render() {
|
|
325
|
-
return (h("div", { key: '
|
|
325
|
+
return (h("div", { key: '84d8b507b3f7c917a45c65dd65b1f0a2156b9b13', class: {
|
|
326
326
|
'tds-slider-wrapper': true,
|
|
327
327
|
'read-only': this.readOnly,
|
|
328
|
-
} }, h("input", { key: '
|
|
328
|
+
} }, h("input", { key: 'f90219558d73bf2da74a189dca71e546c874efd8', 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: '915d95e4d2a421f98feb18367c70fbb28ff3fa63', class: {
|
|
329
329
|
'tds-slider': true,
|
|
330
330
|
'disabled': this.disabled,
|
|
331
331
|
'tds-slider-small': this.useSmall,
|
|
332
332
|
}, ref: (el) => {
|
|
333
333
|
this.wrapperElement = el;
|
|
334
|
-
} }, h("label", { key: '
|
|
334
|
+
} }, h("label", { key: '04b9f18581daaefc2a4d2b5f36b80f2838a0077d', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: '906ab4554905e13b6fcaf019277c1a65e363f62a', class: "tds-slider__input-values" }, h("div", { key: '737cca67e45dd7ae67db13e131c1e4022fc1c735', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: 'd6154dcd53edc5048538594dd9304f46aedc1a2d', class: "tds-slider__controls" }, h("div", { key: '2dcad21efeda6ec442b515462c4a17f1792947e6', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h("tds-icon", { key: '45c5effcb1e80b73f9b4762a20e84b509ec40eab', name: "minus", size: "16px" })))), h("div", { key: '0f150bf07581a72644e6c6d079504580ffda4c8b', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: 'ad513096aa373f50c0c100b9a9a2ce9190d1db01', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: 'c86a101be7c307df7bc26eb71d0b9a308a8d5135', 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: '5684732f47aee14a08d855102ba9da1c4499cc31', class: "tds-slider__track", ref: (el) => {
|
|
335
335
|
this.trackElement = el;
|
|
336
|
-
}, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '
|
|
336
|
+
}, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '4168a54f0e286174b31b1aad81fab357aa5f4de9', class: "tds-slider__track-fill", ref: (el) => {
|
|
337
337
|
this.trackFillElement = el;
|
|
338
|
-
} }), h("div", { key: '
|
|
338
|
+
} }), h("div", { key: 'c7acc000600fa017dc4753c9db3b8099a6a2e169', class: "tds-slider__thumb", ref: (el) => {
|
|
339
339
|
this.thumbElement = el;
|
|
340
|
-
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: '
|
|
340
|
+
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: 'c6f91bfa64cad05dac128f6a94ac02d264471199', class: "tds-slider__value" }, this.value, h("svg", { key: 'dd9e4f44ca960830683f4c88bd0abac43ca9c497', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '14042a1208dc7c7ba4328477246200633dd56a49', 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: '0a70bc608508de6089a20cc5ee64dac695d96a8b', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
341
341
|
this.thumbInnerElement = el;
|
|
342
|
-
} })))), this.useInput && (h("div", { key: '
|
|
342
|
+
} })))), this.useInput && (h("div", { key: 'e4849109f89a6a9212f334ea7731798bfb6f81ef', class: "tds-slider__input-values" }, h("div", { key: 'b4a9d3e892df0ce14027968e4ae189466efd1945', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '031c30dd3817d414a81729eb27801063b9dd6836', class: "tds-slider__input-field-wrapper" }, h("input", { key: '8cc0d21a9ac638f80a58aea5b66161d6527db420', 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: '2fc86a7a1f51ca5f9784590a77f76091d67ca499', class: "tds-slider__controls" }, h("div", { key: 'dff918df7cc22ed45b783674f8e11c2a44845402', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { key: 'dc41c936d301570bcf59291dafdffcdc37b28cc1', name: "plus", size: "16px" })))))));
|
|
343
343
|
}
|
|
344
344
|
static get is() { return "tds-slider"; }
|
|
345
345
|
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: '13dcb29d2a392299bb705f062544dca1226e4ae7', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: '3295c24006f13219f9d4dadb01194cc97a1259d3', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: 'ba6939e6ae556aa57b5a20b40f23922207a33b87', 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: '25272154fa202dc80faadec2f69bb76c7cfb23ba' }, h("div", { key: 'b95ec3ae0c8842cce29a26a00b77e9d63ddf3e7c', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: '0dfc323696c80230df87de15858a08c2051e9f64', 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: '1726259dde21fea66e1554f6f5760176e3a24b13', class: `label ${this.size} ${this.state}` }, h("slot", { key: 'dd9d6499348d2e7bbf36920c63dd836371dbd090', name: "label" }))))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "tds-step"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,12 +60,12 @@ export class TdsTableBody {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'c5e67ff8b2d6643036efd3642e623c8c29778d0c', "data-selected-rows": this.multiselectArrayJSON, class: {
|
|
64
64
|
'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
|
|
65
65
|
'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
|
|
66
66
|
'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
|
|
67
67
|
'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
|
|
68
|
-
} }, h("slot", { key: '
|
|
68
|
+
} }, h("slot", { key: '5a92dbbef0ddd833905068b964e8c5e59c024161' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "tds-table-body"; }
|
|
71
71
|
static get originalStyleUrls() {
|
|
@@ -83,13 +83,13 @@ export class TdsTableBodyCell {
|
|
|
83
83
|
// Conditionally set padding style
|
|
84
84
|
padding: paddingStyle,
|
|
85
85
|
};
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '8a4beee29a06e1d8adc6f6baa8a8cd8707277b9a', class: {
|
|
87
87
|
'tds-table__body-cell': true,
|
|
88
88
|
'tds-table__body-cell--hover': this.activeSorting,
|
|
89
89
|
'tds-table__compact': this.compactDesign,
|
|
90
90
|
'tds-table--divider': this.verticalDividers,
|
|
91
91
|
'tds-table--no-min-width': this.noMinWidth,
|
|
92
|
-
}, style: dynamicStyles }, this.cellValue, h("slot", { key: '
|
|
92
|
+
}, style: dynamicStyles }, this.cellValue, h("slot", { key: 'a21e51a9fdd21294c1226286f8ef8feb4bc93af6' })));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "tds-body-cell"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TdsTableBodyInputWrapper {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'd24d67e22c093e7681958e897ec9813d84f5ba7b', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -68,13 +68,13 @@ export class TdsTableBodyRow {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'ac56b5f484b46ce31b3226a89aba82c2e125966d', tabindex: this.clickable ? '0' : null, class: {
|
|
72
72
|
'tds-table__row': true,
|
|
73
73
|
'tds-table__row--selected': this.selected,
|
|
74
74
|
'tds-table__compact': this.compactDesign,
|
|
75
75
|
'tds-table--divider': this.verticalDividers,
|
|
76
76
|
'tds-table__row--clickable': this.clickable,
|
|
77
|
-
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e) }, this.multiselect && (h("td", { key: '
|
|
77
|
+
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e) }, this.multiselect && (h("td", { key: 'd0102bd453e124bd8f645e936f6c5d5dae9bb447', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '0e3f73c5e4a111ad95f8aad7b55aacf59c9357e0', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: 'b951c58795acc91a5ae45f5c200f96dfb011ca49' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "tds-table-body-row"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -100,26 +100,26 @@ export class TdsTableBodyRowExpandable {
|
|
|
100
100
|
this.sendValue();
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '88bdc031d23bed04c66ea19665becc9f17c7a06f', class: {
|
|
104
104
|
'tds-table__row': true,
|
|
105
105
|
'tds-table__row-expand--active': this.isExpanded,
|
|
106
106
|
'tds-table__compact': this.compactDesign,
|
|
107
107
|
'tds-table--divider': this.verticalDividers,
|
|
108
|
-
} }, h("tr", { key: '
|
|
108
|
+
} }, h("tr", { key: 'b2d4ed815278333aa6af9274839df26eea5ab41a', class: {
|
|
109
109
|
'tds-table__row': true,
|
|
110
110
|
'tds-table__row--expanded': this.isExpanded,
|
|
111
|
-
}, part: "row" }, h("td", { key: '
|
|
111
|
+
}, part: "row" }, h("td", { key: '9d1ffafe9b05e39f14e1c7e8cd8f42dd2df6e3fd', class: {
|
|
112
112
|
'tds-table__cell-expand': true,
|
|
113
|
-
} }, h("label", { key: '
|
|
113
|
+
} }, h("label", { key: 'b69e92f5fbda3d2cf0455bf201bf636d1d7b3629', class: "tds-table__expand-control-container" }, h("input", { key: 'eeba40080825f033e8a1b3be791425f548def0b7', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: 'e6043fb1274674b09fe51563df9a1ddb70d77c87', class: "tds-expendable-row-icon" }, h("svg", { key: '4b4f2ef69e58f2eca16f925f7dc99ae9b749e687', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '57b49045410452bbb291e4c01cfdf6121c8c170e', "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: '767343d7c3ecfd4022328d2f09793d0a6595f354' })), h("tr", { key: '475276ceafd46129ca89d235f040de9616a0b537', class: {
|
|
114
114
|
'tds-table__row-expand': true,
|
|
115
115
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
116
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
116
|
+
}, part: "expand-row" }, h("td", { key: '1de5c95195cc84e416aa5008a8876735d196d70c', class: {
|
|
117
117
|
'tds-table__cell-expand': true,
|
|
118
118
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
119
119
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
120
|
-
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '
|
|
120
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'bf5df977cdcdb10ad0b3594973ebf034e058a807', style: {
|
|
121
121
|
overflow: this.overflow,
|
|
122
|
-
} }, h("slot", { key: '
|
|
122
|
+
} }, h("slot", { key: 'f081d57d2d41cc280e3c267b2fdf65a186427324', name: "expand-row" }))))));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
125
125
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,12 +127,12 @@ export class TdsTableFooter {
|
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
129
|
var _a;
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '117730d1c68205810a27b986d33db66536477397', class: {
|
|
131
131
|
'tds-table--compact': this.compactDesign,
|
|
132
132
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
133
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
133
|
+
}, style: this.getStyles() }, h("tr", { key: 'ec17cd0543bafb5b025e8fff1cd7a64f46590adf', class: "tds-table__footer-row" }, h("td", { key: 'ae616976b5ce3a75f672ff7aa9b9e446fae77588', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '131d7616cedd11b7153c46b1485b4f249d6c25b3', class: "tds-table__pagination" }, h("div", { key: 'b785377fd374510319576f7945ce8194f813d4b1', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '97ab7f1da3805ebc0d7bfe9ac568f1359444ba37', class: "rows-per-page" }, h("p", { key: 'eef6e04ac743e2101fc8feb352cb926c71c237ba' }, "Rows per page"), h("tds-dropdown", { key: 'bb7d4340735227bb2048d786671fb874445786ee', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
134
134
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
135
|
-
}))))), h("div", { key: '
|
|
135
|
+
}))))), h("div", { key: '1c0a59c3e722880a5b7765672742ffb0b77ef6e9', class: "tds-table__page-selector" }, h("input", { key: '883e3ea6f692928abe7257fc7992f8fd6fdc294e', 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: '51c4811e14f801e7f1d331e5e177390b1d71d4b0', class: "tds-table__footer-text" }, "of ", h("span", { key: '7a2e2d99407481c0fde506b40e0321eccd09bb92' }, this.pages), " pages"), h("button", { key: '2686970457baa6bc45317153d39232cc0edc46c6', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '6bb34e3e3b21ff2b919ff19b33d9e07022fce1c6', name: "skip_backwards", size: "20px" })), h("button", { key: '846ee457f3877bb249ae35496bffb6abbbbe13b6', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'a622c10321358520457d31cee8691de27c02700b', name: "chevron_left", size: "20px" })), h("button", { key: 'e7f44b166d57aff4da1810a4626f9ced833a5464', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '7a1ca34a3c55c91694b6106876aea457254e25c7', name: "chevron_right", size: "20px" })), h("button", { key: 'f83be57a31ef4fb49ca7179d1fb4fe379875fa4c', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: 'd6436b222fd1749a62c11660abf1320a73311da2', name: "skip_forward", size: "20px" })))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tds-table-footer"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: 'e21dbe2e6305e3aa9c5e5afa1fde4d4a7c66bbbb', 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: '6737748d94783df4ece62410ac325762bec547cc' }, this.multiselect && (h("th", { key: '53eb8c50bf7be339d87c77cf6fc7e3221533862b', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'b5a363d1b39f07ceca33824f27fefbf659a2427f', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'e3809f9eee428fd4ae681e1146cd8308c0b70718', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '78cbace7847d8b7b535cd40c969b0935799695f9', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '530d2c592a33b1357b73acad695b1cec5047793d' }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "tds-table-header"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -105,7 +105,7 @@ export class TdsTableHeaderCell {
|
|
|
105
105
|
this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '967a02c87d37c0eb75219c84c09edbb34b0257df', class: {
|
|
109
109
|
'tds-table__header-cell': true,
|
|
110
110
|
'tds-table__header-cell--sortable': this.sortable,
|
|
111
111
|
'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: 'cfb0b0352d7cff9dfaa868cb33669a8c85e43c84', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -63,10 +63,10 @@ export class TdsTableToolbar {
|
|
|
63
63
|
return styles;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '7fb4e76fd0d04ff1c46412c9ed7b483ae0d5bbb1', class: {
|
|
67
67
|
'tds-table--compact': this.compactDesign,
|
|
68
68
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
69
|
-
}, style: this.getStyles() }, h("div", { key: '
|
|
69
|
+
}, style: this.getStyles() }, h("div", { key: 'ef9b0e0b704299e46e3fea0163aedefed28aa892', class: "tds-table__upper-bar-flex" }, h("caption", { key: 'ba76d6250a905bc6e7d5346a96d2d2ec1cb877de', class: "tds-table__title" }, this.tableTitle), h("div", { key: '145a0ee32aa2db958a5c05026e590352e15c3ead', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '81a54d7a3b05a0e043ce8560abfb6f2e2a343750', class: "tds-table__searchbar" }, h("input", { key: 'e7888c4618c3fcdf7e8c513411659ee905f78427', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: 'fe620676a927a37cbc1ce7886510da8979925041', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: 'cbf9d21fb58fc1ad4ed39e33c8ee101339a102d7', name: "search", size: "20px" })))), h("slot", { key: '1a15fe7de33f86467e53141818f72ebf25c4e864', name: "end" })))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "tds-table-toolbar"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,10 +17,10 @@ export class TdsFolderTab {
|
|
|
17
17
|
this.selected = selected;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '3ebe8719ec0bae1d4de2f698b032d9914f01fc65', role: "listitem" }, h("div", { key: '26e4df6a7c2c3ec3cc9b391004b0ecc2e08886ce', class: {
|
|
21
21
|
selected: this.selected,
|
|
22
22
|
disabled: this.disabled,
|
|
23
|
-
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '
|
|
23
|
+
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '78549272532f6fa272660fde77c61464dbede36c' }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "tds-folder-tab"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -160,9 +160,9 @@ export class TdsFolderTabs {
|
|
|
160
160
|
this.removeEventListenerFromTabs();
|
|
161
161
|
}
|
|
162
162
|
render() {
|
|
163
|
-
return (h(Host, { key: '
|
|
163
|
+
return (h(Host, { key: 'ab95c2616920aa0feb451cdc8e05697bfedb12b6', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '5330ac0094013711f2d85befe37e7f02de22d8c9', class: "wrapper", ref: (el) => {
|
|
164
164
|
this.navWrapperElement = el;
|
|
165
|
-
} }, h("button", { key: '
|
|
165
|
+
} }, h("button", { key: 'cf1d97ff6db378f1a9d2306dce45ccc24ff00718', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'df3cd8050d37eeb32e957ec22796c551476f003b', name: "chevron_left", size: "20px" })), h("slot", { key: '695ba9188c06a56785b1362e7554cf0bdfa0c635', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'c64fa2e8788ef3ae78dd1c32b6755625abd4a115', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '3d7f40dcc022b37d1d5419ff4b111bf085011698', name: "chevron_right", size: "20px" })))));
|
|
166
166
|
}
|
|
167
167
|
static get is() { return "tds-folder-tabs"; }
|
|
168
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,11 +12,11 @@ export class TdsInlineTab {
|
|
|
12
12
|
this.selected = selected;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '4b05e137c36bc1307778c29ea67aa05fe51b0048', role: "listitem" }, h("div", { key: 'e290c72530ea8a55561c087eef706f6faeff5ddc', class: {
|
|
16
16
|
'inline-tab-item': true,
|
|
17
17
|
'selected': this.selected,
|
|
18
18
|
'disabled': this.disabled,
|
|
19
|
-
} }, h("slot", { key: '
|
|
19
|
+
} }, h("slot", { key: 'ec94a152be5f26837f77b915d8176b3bc2df0036' }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "tds-inline-tab"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,9 +167,9 @@ export class TdsInlineTabs {
|
|
|
167
167
|
this.removeEventListenerFromTabs();
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '1dc5b7ff1aa5c9a1cb0cd9064be6b064c0b7ba20', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '1f66f69ca3cf4d25565a41cfcf1cbffcd8a4b355', class: "wrapper", ref: (el) => {
|
|
171
171
|
this.navWrapperElement = el;
|
|
172
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
172
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '98601dfb32252be02f7db236bb71bf21bd59147f', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'ba1b3b814bdba6d0334eb037d62476cabe8790f6', name: "chevron_left", size: "20px" })), h("slot", { key: 'cd9564df014b85e27d7a37cbb262d55872745f3c', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'e2690cd7e7dddd5b3e66e5767602e25e70c1e6fb', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'eff5006eecba07819c6b91c489f2ee3104ed78b6', name: "chevron_right", size: "20px" })))));
|
|
173
173
|
}
|
|
174
174
|
static get is() { return "tds-inline-tabs"; }
|
|
175
175
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,8 +12,8 @@ export class TdsNavigationTab {
|
|
|
12
12
|
this.selected = selected;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
16
|
-
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '
|
|
15
|
+
return (h(Host, { key: 'ed5cdc4e3c00f43156fce13993c34a4183c127d7', role: "listitem" }, h("div", { key: '5ac651a862a04b0327695d2ad6ed42af7af0d139', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
16
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '4cf2d6c740cc73cbe5743191776ce008bf8dd358' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "tds-navigation-tab"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,15 +167,15 @@ export class TdsNavigationTabs {
|
|
|
167
167
|
this.removeEventListenerFromTabs();
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '7d073990d798ef8bd602cff43f1dab1701c67535', role: "list", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '2816efa2148f1feaa0283a8c3a023ff044f5ea11', class: "wrapper", ref: (el) => {
|
|
171
171
|
this.navWrapperElement = el;
|
|
172
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
172
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'b95bf6d5da6b7a9eeea0079b54f729188175c122', class: {
|
|
173
173
|
'scroll-left-button': true,
|
|
174
174
|
'show': this.showLeftScroll,
|
|
175
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
175
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '71577f14a5b1e3348a5b69f9e44c6945a5c5f99f', name: "chevron_left", size: "20px" })), h("slot", { key: 'be3cb961b96a307fdd4ac6f54e7ef0f188e20fe4', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'ac6d8c5720e782e48caedf7fffb3f8a485b51fdb', class: {
|
|
176
176
|
'scroll-right-button': true,
|
|
177
177
|
'show': this.showRightScroll,
|
|
178
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
178
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '0fc2e8bf463fff2caba762220098a239919d4c93', name: "chevron_right", size: "20px" })))));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "tds-navigation-tabs"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,6 +23,7 @@ export class TdsTextField {
|
|
|
23
23
|
this.state = 'default';
|
|
24
24
|
this.maxLength = undefined;
|
|
25
25
|
this.autofocus = false;
|
|
26
|
+
this.tdsAriaLabel = undefined;
|
|
26
27
|
this.focusInput = undefined;
|
|
27
28
|
}
|
|
28
29
|
handleChange(event) {
|
|
@@ -50,11 +51,16 @@ export class TdsTextField {
|
|
|
50
51
|
this.textInput.focus();
|
|
51
52
|
}
|
|
52
53
|
}
|
|
54
|
+
connectedCallback() {
|
|
55
|
+
if (!this.tdsAriaLabel) {
|
|
56
|
+
console.warn('Tegel Text Field component: prop tdsAriaLabel is missing');
|
|
57
|
+
}
|
|
58
|
+
}
|
|
53
59
|
render() {
|
|
54
60
|
var _a;
|
|
55
61
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
56
62
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
57
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '460bebb8835a34b55f3ceededaef4203d06b99d9', class: {
|
|
58
64
|
'form-text-field': true,
|
|
59
65
|
'form-text-field-nomin': this.noMinWidth,
|
|
60
66
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -68,12 +74,12 @@ export class TdsTextField {
|
|
|
68
74
|
'form-text-field-sm': this.size === 'sm',
|
|
69
75
|
'form-text-field-error': this.state === 'error',
|
|
70
76
|
'form-text-field-success': this.state === 'success',
|
|
71
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
77
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: '37a61a4e880fc76e864f8261275413ecb78a680b', class: "text-field-label-outside" }, h("label", { key: 'b9a92920386b3d3de106b6f08887ccef94dc9f9b', htmlFor: "text-field-input-element" }, this.label))), h("div", { key: 'edfc7601c52cfd2839a47e1ff2fed8ed5264994b', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '9ce6d66ec4ceca1689d207141e97e2f16f1b0058', class: {
|
|
72
78
|
'text-field-slot-wrap-prefix': true,
|
|
73
79
|
'text-field-error': this.state === 'error',
|
|
74
80
|
'text-field-success': this.state === 'success',
|
|
75
81
|
'text-field-default': this.state === 'default',
|
|
76
|
-
} }, h("slot", { key: '
|
|
82
|
+
} }, h("slot", { key: '9f2a8fd2f0edc536789408d779879cf0935a31e7', name: "prefix" }))), h("div", { key: '3078dc254baa83a48d256485d4e9ae07b286dd47', class: "text-field-input-container" }, h("input", { key: '633b9d603e2311953f91eaed268808af822c4696', ref: (inputEl) => {
|
|
77
83
|
this.textInput = inputEl;
|
|
78
84
|
}, class: {
|
|
79
85
|
'text-field-input': true,
|
|
@@ -88,19 +94,19 @@ export class TdsTextField {
|
|
|
88
94
|
if (!this.readOnly) {
|
|
89
95
|
this.handleBlur(event);
|
|
90
96
|
}
|
|
91
|
-
} }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '
|
|
97
|
+
}, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": "text-field-helper-element", "aria-readonly": this.readOnly, id: "text-field-input-element" }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: 'b1e99441011acf31418dde7029624311e331ea02', class: "text-field-label-inside", htmlFor: "text-field-input-element" }, this.label))), h("div", { key: 'f1c99e9ec7195f6aee85fb45d6e57b2d18217f6a', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: 'e2b532683ee6094ec32845bc1cd526c3c38afeb7', class: {
|
|
92
98
|
'text-field-slot-wrap-suffix': true,
|
|
93
99
|
'text-field-error': this.state === 'error',
|
|
94
100
|
'text-field-success': this.state === 'success',
|
|
95
101
|
'text-field-default': this.state === 'default',
|
|
96
102
|
'tds-u-display-none': this.readOnly,
|
|
97
|
-
} }, h("slot", { key: '
|
|
103
|
+
} }, h("slot", { key: 'd8ed1a62589b85d76edb3fe05620d6635ecad338', name: "suffix" }))), h("span", { key: '1c5e3eb531cc405a72210a0116b50fe6b9288bee', class: "text-field-icon__readonly" }, h("tds-icon", { key: '07999b707c64bba428ee2c3002e80b2946494d25', name: "edit_inactive", size: "20px" })), h("span", { key: '515478e05ded38a9e666bef1bdc9ed1b454b0489', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: '1eb6f0783b7c2a79100b1af9c9de13c26ea0b476', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'de6dd6bbb1bdf9586b19b3a889275c1ba8b7e3e5', class: "text-field-helper", id: "text-field-helper-element" }, this.state === 'error' && (h("div", { key: '68bd5cb8653947af852fbafeb5de5147e6ae624b', class: "text-field-helper-error-state" }, h("tds-icon", { key: '22e811e6d91346aeed2ba6f0fcda2683251cb82e', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, this.maxLength > 0 && (h("div", { key: '6a9ab37a5fa51e396f4e95f979c6920b11938c90', class: {
|
|
98
104
|
'text-field-textcounter': true,
|
|
99
105
|
'text-field-textcounter-disabled': this.disabled,
|
|
100
|
-
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '
|
|
106
|
+
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '13c57cb24e43bfc8dcb45597223ea13c6b4acdd8', class: {
|
|
101
107
|
'text-field-textcounter-divider': true,
|
|
102
108
|
'text-field-textcounter-disabled': this.disabled,
|
|
103
|
-
} }, ' ', "/", ' '), this.maxLength))))));
|
|
109
|
+
} }, ' ', "/", ' '), this.maxLength)))))));
|
|
104
110
|
}
|
|
105
111
|
static get is() { return "tds-text-field"; }
|
|
106
112
|
static get encapsulation() { return "scoped"; }
|
|
@@ -287,7 +293,7 @@ export class TdsTextField {
|
|
|
287
293
|
"optional": false,
|
|
288
294
|
"docs": {
|
|
289
295
|
"tags": [],
|
|
290
|
-
"text": "Set input in readonly state. Hides the suffix slot if true."
|
|
296
|
+
"text": "Set input in readonly state. Hides the suffix slot if true. When readOnly is set to true, please include a short message informing about that in the tdsAriaLabel prop."
|
|
291
297
|
},
|
|
292
298
|
"attribute": "read-only",
|
|
293
299
|
"reflect": false,
|
|
@@ -417,6 +423,23 @@ export class TdsTextField {
|
|
|
417
423
|
"attribute": "autofocus",
|
|
418
424
|
"reflect": false,
|
|
419
425
|
"defaultValue": "false"
|
|
426
|
+
},
|
|
427
|
+
"tdsAriaLabel": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"mutable": false,
|
|
430
|
+
"complexType": {
|
|
431
|
+
"original": "string",
|
|
432
|
+
"resolved": "string",
|
|
433
|
+
"references": {}
|
|
434
|
+
},
|
|
435
|
+
"required": false,
|
|
436
|
+
"optional": false,
|
|
437
|
+
"docs": {
|
|
438
|
+
"tags": [],
|
|
439
|
+
"text": "Value to be used for the aria-label attribute. When readOnly is set to true, please include a short message informing about that in the tdsAriaLabel prop."
|
|
440
|
+
},
|
|
441
|
+
"attribute": "tds-aria-label",
|
|
442
|
+
"reflect": false
|
|
420
443
|
}
|
|
421
444
|
};
|
|
422
445
|
}
|
|
@@ -19,7 +19,6 @@ export class TdsToggle {
|
|
|
19
19
|
this.headline = undefined;
|
|
20
20
|
this.disabled = false;
|
|
21
21
|
this.toggleId = generateUniqueId();
|
|
22
|
-
this.tdsAriaLabel = undefined;
|
|
23
22
|
}
|
|
24
23
|
/** Toggles the Toggle. */
|
|
25
24
|
async toggle() {
|
|
@@ -29,19 +28,11 @@ export class TdsToggle {
|
|
|
29
28
|
checked: this.checked,
|
|
30
29
|
};
|
|
31
30
|
}
|
|
32
|
-
componentWillLoad() {
|
|
33
|
-
this.labelSlot = this.host.querySelector("[slot='label']");
|
|
34
|
-
}
|
|
35
|
-
connectedCallback() {
|
|
36
|
-
if (!this.tdsAriaLabel) {
|
|
37
|
-
console.warn('Tegel Toggle component: tdsAriaLabel prop is missing');
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
31
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '579d06145ca67b52ae21116138f6102ecfa8295b', class: "tds-toggle" }, this.headline && (h("div", { key: '8abca7a1d188493543d5f62c8a28a24adbff1407', class: {
|
|
42
33
|
'toggle-headline': true,
|
|
43
34
|
'disabled': this.disabled,
|
|
44
|
-
} }, this.headline)), h("input", { key: '
|
|
35
|
+
} }, this.headline)), h("input", { key: '4313a7953eec96544f455740575e19bb4b5c8723', "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" }), h("label", { key: '0f74108bd04c680676f5cd5ec736ac47ad820074', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: 'd3e7f85e39bd1a9f29824afea192b794a72deaf2', name: "label" }))));
|
|
45
36
|
}
|
|
46
37
|
static get is() { return "tds-toggle"; }
|
|
47
38
|
static get encapsulation() { return "scoped"; }
|
|
@@ -180,23 +171,6 @@ export class TdsToggle {
|
|
|
180
171
|
"attribute": "toggle-id",
|
|
181
172
|
"reflect": false,
|
|
182
173
|
"defaultValue": "generateUniqueId()"
|
|
183
|
-
},
|
|
184
|
-
"tdsAriaLabel": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"mutable": false,
|
|
187
|
-
"complexType": {
|
|
188
|
-
"original": "string",
|
|
189
|
-
"resolved": "string",
|
|
190
|
-
"references": {}
|
|
191
|
-
},
|
|
192
|
-
"required": false,
|
|
193
|
-
"optional": false,
|
|
194
|
-
"docs": {
|
|
195
|
-
"tags": [],
|
|
196
|
-
"text": "Defines aria-label attribute for input"
|
|
197
|
-
},
|
|
198
|
-
"attribute": "tds-aria-label",
|
|
199
|
-
"reflect": false
|
|
200
174
|
}
|
|
201
175
|
};
|
|
202
176
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import AxeBuilder from "@axe-core/playwright";
|
|
2
|
-
const disabledRules = ['page-has-heading-one', 'landmark-one-main'
|
|
2
|
+
const disabledRules = ['page-has-heading-one', 'landmark-one-main'];
|
|
3
3
|
export const tegelAnalyze = async (page) => new AxeBuilder({ page }).disableRules(disabledRules).analyze();
|
|
@@ -58,12 +58,12 @@ const TdsSideMenuItem = /*@__PURE__*/ proxyCustomElement(class TdsSideMenuItem e
|
|
|
58
58
|
this.updateSlottedElements();
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'f6d3cc999d431fb73ac49c7e51fa63ea56bf1130' }, h("div", { key: '7b0d9eb30d571bf2ec2c9dca91d5d0481b1306b5', class: {
|
|
62
62
|
'component': true,
|
|
63
63
|
'component-selected': this.selected,
|
|
64
64
|
'component-active': this.active,
|
|
65
65
|
'component-collapsed': this.collapsed,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: '74815b1ae22bb4d6981a2441e0048ee2e9bacf2d' }))));
|
|
67
67
|
}
|
|
68
68
|
get host() { return this; }
|
|
69
69
|
static get style() { return TdsSideMenuItemStyle0; }
|
|
@@ -2001,7 +2001,7 @@ const TdsPopoverCore = /*@__PURE__*/ proxyCustomElement(class TdsPopoverCore ext
|
|
|
2001
2001
|
'tds-animation-exit-fade': !this.isShown && this.animation === 'fade',
|
|
2002
2002
|
};
|
|
2003
2003
|
const classList = generateClassList(classes);
|
|
2004
|
-
return (h(Host, { key: '
|
|
2004
|
+
return (h(Host, { key: 'cec7a3eddcdc7cfe4175bc6174b52f8b24a43837', class: classList, id: `tds-popover-core-${this.uuid}` }, h("slot", { key: 'ae91738a3607de7bebe9e092aa7d7b6761e3e44b' })));
|
|
2005
2005
|
}
|
|
2006
2006
|
get host() { return this; }
|
|
2007
2007
|
static get watchers() { return {
|