@scania/tegel 1.53.0 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-DPzF1h3L.js +2548 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +2 -2
- package/dist/cjs/tds-block.cjs.entry.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +4 -4
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-card.cjs.entry.js +4 -3
- package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tds-chip.cjs.entry.js +2 -2
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-datetime.cjs.entry.js +2 -2
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tab.cjs.entry.js +4 -4
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -6
- package/dist/cjs/tds-footer-group.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +23 -4
- 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 +2 -2
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -2
- 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 +23 -37
- package/dist/cjs/tds-inline-tab.cjs.entry.js +4 -4
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -6
- package/dist/cjs/tds-link.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +4 -4
- package/dist/cjs/tds-modal.cjs.entry.js +4 -4
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +4 -4
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +7 -8
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
- package/dist/cjs/tds-slider.cjs.entry.js +9 -9
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +2 -2
- package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +9 -9
- package/dist/cjs/tds-table-body-row.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-footer.cjs.entry.js +18 -4
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-header.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/tds-table.cjs.entry.js +17 -5
- package/dist/cjs/tds-tag.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +5 -5
- package/dist/cjs/tds-toast.cjs.entry.js +5 -5
- package/dist/cjs/tds-toggle.cjs.entry.js +4 -4
- package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/tegel.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +2 -2
- package/dist/collection/components/banner/banner.css +23 -9
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +2 -2
- package/dist/collection/components/button/button.css +7 -7
- package/dist/collection/components/card/card.css +24 -5
- package/dist/collection/components/card/card.js +3 -2
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/datetime/datetime.css +2 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +2 -2
- package/dist/collection/components/dropdown/dropdown.css +6 -5
- package/dist/collection/components/footer/footer-group/footer-group.css +2 -2
- package/dist/collection/components/footer/footer-item/footer-item.css +6 -6
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +2 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +2 -2
- package/dist/collection/components/header/header-item/header-item.css +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.css +2 -1
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.css +2 -2
- package/dist/collection/components/icon/icon.js +23 -39
- package/dist/collection/components/icon/tratonIconsArray.js +1 -2
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.css +9 -7
- package/dist/collection/components/message/message.js +2 -2
- package/dist/collection/components/modal/modal.css +15 -13
- 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 +2 -2
- 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 +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.css +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/side-menu/side-menu.css +2 -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/table.css +2 -1
- package/dist/collection/components/table/table/table.js +59 -3
- package/dist/collection/components/table/table-body/table-body.js +2 -2
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +4 -4
- 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.css +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 +77 -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 +25 -5
- 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.css +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.css +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +3 -4
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +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.css +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +3 -4
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +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.css +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -6
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.css +1 -1
- package/dist/collection/components/text-field/text-field.js +5 -5
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.css +13 -16
- 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/index.js +1 -1
- package/dist/components/{p-Cl3uo8RO.js → p-B-9923_a.js} +1 -1
- package/dist/components/p-B0Pz58BS.js +1 -0
- package/dist/components/{p-Cr5AJ7EI.js → p-B1QdNOPI.js} +1 -1
- package/dist/components/p-B5eSTxGJ.js +1 -0
- package/dist/components/{p-Dh4rW_04.js → p-BGW6utqb.js} +1 -1
- package/dist/components/p-BcKywCnz.js +1 -0
- package/dist/components/p-CGFX3Srb.js +1 -0
- package/dist/components/{p-CkGDaQ3D.js → p-CJtN1EIg.js} +1 -1
- package/dist/components/{p-DNQszLML.js → p-CiGYIe0v.js} +1 -1
- package/dist/components/p-DRO9e7F4.js +1 -0
- package/dist/components/p-DgETo9IA.js +1 -0
- package/dist/components/{p-BVWWo6dK.js → p-Dlj2h0pg.js} +1 -1
- package/dist/components/{p-2Sehn7YQ.js → p-Duga9LJ2.js} +1 -1
- package/dist/components/{p-Egx6jNza.js → p-VwQKu81G.js} +1 -1
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.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 +1 -1
- package/dist/components/tds-folder-tabs.js +1 -1
- package/dist/components/tds-footer-group.js +1 -1
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +1 -1
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown.js +1 -1
- package/dist/components/tds-header-hamburger.js +1 -1
- 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-list-item.js +1 -1
- package/dist/components/tds-header-launcher.js +1 -1
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +1 -1
- package/dist/components/tds-inline-tabs.js +1 -1
- package/dist/components/tds-link.js +1 -1
- package/dist/components/tds-message.js +1 -1
- package/dist/components/tds-modal.js +1 -1
- package/dist/components/tds-navigation-tab.js +1 -1
- package/dist/components/tds-navigation-tabs.js +1 -1
- 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 +1 -1
- package/dist/components/tds-popover-menu.js +1 -1
- package/dist/components/tds-radio-button.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown-list-item.js +1 -1
- package/dist/components/tds-side-menu-dropdown-list.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- 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 +1 -1
- package/dist/components/tds-side-menu.js +1 -1
- package/dist/components/tds-slider.js +1 -1
- package/dist/components/tds-spinner.js +1 -1
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +1 -1
- package/dist/components/tds-table-body-row-expandable.js +1 -1
- package/dist/components/tds-table-body-row.js +1 -1
- package/dist/components/tds-table-body.js +1 -1
- package/dist/components/tds-table-footer.js +1 -1
- package/dist/components/tds-table-header-input-wrapper.js +1 -1
- package/dist/components/tds-table-header.js +1 -1
- package/dist/components/tds-table-toolbar.js +1 -1
- package/dist/components/tds-table.js +1 -1
- package/dist/components/tds-tag.js +1 -1
- package/dist/components/tds-text-field.js +1 -1
- package/dist/components/tds-textarea.js +1 -1
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-toggle.js +1 -1
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-DO74lOFd.js +2519 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +2 -2
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +2 -2
- package/dist/esm/tds-block.entry.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +4 -4
- package/dist/esm/tds-breadcrumb.entry.js +2 -2
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button_2.entry.js +2 -2
- package/dist/esm/tds-card.entry.js +4 -3
- package/dist/esm/tds-checkbox.entry.js +1 -1
- package/dist/esm/tds-chip.entry.js +2 -2
- package/dist/esm/tds-core-header-item_2.entry.js +2 -2
- package/dist/esm/tds-datetime.entry.js +2 -2
- package/dist/esm/tds-dropdown_2.entry.js +3 -3
- package/dist/esm/tds-folder-tab.entry.js +4 -4
- package/dist/esm/tds-folder-tabs.entry.js +5 -6
- package/dist/esm/tds-footer-group.entry.js +2 -2
- package/dist/esm/tds-footer-item.entry.js +2 -2
- package/dist/esm/tds-footer.entry.js +1 -1
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +23 -4
- 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 +2 -2
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -2
- 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 +23 -37
- package/dist/esm/tds-inline-tab.entry.js +4 -4
- package/dist/esm/tds-inline-tabs.entry.js +5 -6
- package/dist/esm/tds-link.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +4 -4
- package/dist/esm/tds-modal.entry.js +4 -4
- package/dist/esm/tds-navigation-tab.entry.js +4 -4
- package/dist/esm/tds-navigation-tabs.entry.js +7 -8
- package/dist/esm/tds-popover-canvas.entry.js +4 -4
- package/dist/esm/tds-popover-core.entry.js +2 -2
- package/dist/esm/tds-popover-menu-item.entry.js +3 -3
- package/dist/esm/tds-popover-menu.entry.js +4 -4
- package/dist/esm/tds-radio-button.entry.js +3 -3
- package/dist/esm/tds-side-menu-close-button.entry.js +2 -2
- package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +4 -4
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
- package/dist/esm/tds-side-menu-item.entry.js +4 -4
- package/dist/esm/tds-side-menu-overlay.entry.js +2 -2
- package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -3
- package/dist/esm/tds-side-menu-user.entry.js +2 -2
- package/dist/esm/tds-side-menu.entry.js +2 -2
- package/dist/esm/tds-slider.entry.js +9 -9
- package/dist/esm/tds-spinner.entry.js +2 -2
- package/dist/esm/tds-step.entry.js +2 -2
- package/dist/esm/tds-stepper.entry.js +1 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-body-row-expandable.entry.js +9 -9
- package/dist/esm/tds-table-body-row.entry.js +3 -3
- package/dist/esm/tds-table-body.entry.js +3 -3
- package/dist/esm/tds-table-footer.entry.js +18 -4
- package/dist/esm/tds-table-header-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-header.entry.js +3 -3
- package/dist/esm/tds-table-toolbar.entry.js +3 -3
- package/dist/esm/tds-table.entry.js +17 -5
- package/dist/esm/tds-tag.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +7 -7
- package/dist/esm/tds-textarea.entry.js +5 -5
- package/dist/esm/tds-toast.entry.js +5 -5
- package/dist/esm/tds-toggle.entry.js +4 -4
- package/dist/esm/tds-tooltip.entry.js +3 -3
- package/dist/esm/tegel.js +3 -3
- package/dist/tegel/p-00f7e2fe.entry.js +1 -0
- package/dist/tegel/{p-3bd827a4.entry.js → p-05310ea7.entry.js} +1 -1
- package/dist/tegel/p-07d68bce.entry.js +1 -0
- package/dist/tegel/p-086183b6.entry.js +1 -0
- package/dist/tegel/p-0c0af5a8.entry.js +1 -0
- package/dist/tegel/p-0d6707b3.entry.js +1 -0
- package/dist/tegel/{p-8a32f501.entry.js → p-155d9f85.entry.js} +1 -1
- package/dist/tegel/{p-fa5e71b0.entry.js → p-15e36d6d.entry.js} +1 -1
- package/dist/tegel/{p-50060137.entry.js → p-16ad0e37.entry.js} +1 -1
- package/dist/tegel/p-17c11413.entry.js +1 -0
- package/dist/tegel/{p-84ee8542.entry.js → p-1f7bf9f0.entry.js} +1 -1
- package/dist/tegel/p-21bf17ff.entry.js +1 -0
- package/dist/tegel/p-22d03dc3.entry.js +1 -0
- package/dist/tegel/{p-42039b28.entry.js → p-2370c9e1.entry.js} +1 -1
- package/dist/tegel/p-354988d3.entry.js +1 -0
- package/dist/tegel/{p-43a4ab98.entry.js → p-3866fed7.entry.js} +1 -1
- package/dist/tegel/{p-a2a65bdf.entry.js → p-38f2223b.entry.js} +1 -1
- package/dist/tegel/{p-ff355ee6.entry.js → p-3c1cc00f.entry.js} +1 -1
- package/dist/tegel/{p-577f376b.entry.js → p-42d38e89.entry.js} +1 -1
- package/dist/tegel/p-46b2d0ea.entry.js +1 -0
- package/dist/tegel/{p-39786a40.entry.js → p-49757da4.entry.js} +1 -1
- package/dist/tegel/{p-974e6258.entry.js → p-51ec28bb.entry.js} +1 -1
- package/dist/tegel/{p-09283aec.entry.js → p-52223829.entry.js} +1 -1
- package/dist/tegel/{p-2368a679.entry.js → p-54445896.entry.js} +1 -1
- package/dist/tegel/p-581ad082.entry.js +1 -0
- package/dist/tegel/p-5aae21db.entry.js +1 -0
- package/dist/tegel/{p-6522ac2d.entry.js → p-5aee5376.entry.js} +1 -1
- package/dist/tegel/{p-8d5f25c6.entry.js → p-5b4607fb.entry.js} +1 -1
- package/dist/tegel/p-5c6b067d.entry.js +1 -0
- package/dist/tegel/{p-f939a432.entry.js → p-5dad80b8.entry.js} +1 -1
- package/dist/tegel/{p-3a8825e6.entry.js → p-5dc21700.entry.js} +1 -1
- package/dist/tegel/p-5e309655.entry.js +1 -0
- package/dist/tegel/p-5f560eda.entry.js +1 -0
- package/dist/tegel/{p-9d755c09.entry.js → p-5fba3df7.entry.js} +1 -1
- package/dist/tegel/p-663c5494.entry.js +1 -0
- package/dist/tegel/{p-0287d7e6.entry.js → p-6e4ace8a.entry.js} +1 -1
- package/dist/tegel/{p-5adfe9d6.entry.js → p-6f193415.entry.js} +1 -1
- package/dist/tegel/p-708a6c1d.entry.js +1 -0
- package/dist/tegel/{p-baabfde2.entry.js → p-7332cbd9.entry.js} +1 -1
- package/dist/tegel/p-75c1520d.entry.js +1 -0
- package/dist/tegel/{p-4427d72f.entry.js → p-7bd7cc73.entry.js} +1 -1
- package/dist/tegel/{p-da18140a.entry.js → p-7e35055d.entry.js} +1 -1
- package/dist/tegel/p-802e2119.entry.js +1 -0
- package/dist/tegel/{p-ed485529.entry.js → p-82e37e02.entry.js} +1 -1
- package/dist/tegel/p-84b46a32.entry.js +1 -0
- package/dist/tegel/{p-aa048dfa.entry.js → p-84f72528.entry.js} +1 -1
- package/dist/tegel/{p-09a49461.entry.js → p-8521649a.entry.js} +1 -1
- package/dist/tegel/{p-5a850695.entry.js → p-86e16d44.entry.js} +1 -1
- package/dist/tegel/p-8bf8546d.entry.js +1 -0
- package/dist/tegel/{p-2e38e5f0.entry.js → p-918df975.entry.js} +1 -1
- package/dist/tegel/p-9397b75a.entry.js +1 -0
- package/dist/tegel/{p-9baf0c95.entry.js → p-97ebf34f.entry.js} +1 -1
- package/dist/tegel/{p-8fda5922.entry.js → p-9d462ca4.entry.js} +1 -1
- package/dist/tegel/p-DO74lOFd.js +2 -0
- package/dist/tegel/p-a11961fd.entry.js +1 -0
- package/dist/tegel/{p-27147331.entry.js → p-a1968a57.entry.js} +1 -1
- package/dist/tegel/{p-749ca751.entry.js → p-a5c483f2.entry.js} +1 -1
- package/dist/tegel/{p-3ab869e0.entry.js → p-a859dedf.entry.js} +1 -1
- package/dist/tegel/{p-9539123c.entry.js → p-aa14dbbb.entry.js} +1 -1
- package/dist/tegel/{p-693d9a90.entry.js → p-ab734c4d.entry.js} +1 -1
- package/dist/tegel/{p-7f3b6674.entry.js → p-b17da00c.entry.js} +1 -1
- package/dist/tegel/p-b19125cc.entry.js +1 -0
- package/dist/tegel/{p-9d3dd7a1.entry.js → p-c19c0ec5.entry.js} +1 -1
- package/dist/tegel/{p-42d189f0.entry.js → p-c32eb8dd.entry.js} +1 -1
- package/dist/tegel/{p-b0fe7b44.entry.js → p-c6c257bf.entry.js} +1 -1
- package/dist/tegel/p-c6cf463b.entry.js +1 -0
- package/dist/tegel/{p-d06b8bb8.entry.js → p-c9085ee4.entry.js} +1 -1
- package/dist/tegel/{p-893b3a10.entry.js → p-cb165e5d.entry.js} +1 -1
- package/dist/tegel/{p-bfe2aab2.entry.js → p-d251e381.entry.js} +1 -1
- package/dist/tegel/{p-a4ce9d18.entry.js → p-d4af286a.entry.js} +1 -1
- package/dist/tegel/p-d8dfe177.entry.js +1 -0
- package/dist/tegel/p-dfdda68b.entry.js +1 -0
- package/dist/tegel/p-e2fb88e5.entry.js +1 -0
- package/dist/tegel/{p-e6df230b.entry.js → p-eb2375d7.entry.js} +1 -1
- package/dist/tegel/{p-15189121.entry.js → p-f2e0eaba.entry.js} +1 -1
- package/dist/tegel/{p-9122bbb9.entry.js → p-f75b0006.entry.js} +1 -1
- package/dist/tegel/p-f7ab4928.entry.js +1 -0
- package/dist/tegel/{p-8176c57c.entry.js → p-f9fec0b3.entry.js} +1 -1
- package/dist/tegel/p-fcd1c8f3.entry.js +1 -0
- package/dist/tegel/p-fd4e9fb7.entry.js +1 -0
- package/dist/tegel/tegel.css +1007 -10
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +3 -6
- package/dist/types/components/table/table/table.d.ts +9 -0
- package/dist/types/components/table/table-footer/table-footer.d.ts +7 -0
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +5 -2
- package/dist/types/components.d.ts +55 -2
- package/package.json +1 -1
- package/dist/cjs/index-DGBnICb9.js +0 -2548
- package/dist/collection/utils/accessibility.js +0 -30
- package/dist/components/p-B4-NZ0-T.js +0 -1
- package/dist/components/p-BkkKUMC2.js +0 -1
- package/dist/components/p-D7QKvdhL.js +0 -1
- package/dist/components/p-DDTzvbMK.js +0 -1
- package/dist/components/p-Df03ehYR.js +0 -1
- package/dist/components/p-Do9F2RTX.js +0 -1
- package/dist/esm/index-VFN9WV0d.js +0 -2519
- package/dist/tegel/p-1040713f.entry.js +0 -1
- package/dist/tegel/p-17e2a780.entry.js +0 -1
- package/dist/tegel/p-1a6cc08f.entry.js +0 -1
- package/dist/tegel/p-21e5d59e.entry.js +0 -1
- package/dist/tegel/p-25ad3b5a.entry.js +0 -1
- package/dist/tegel/p-2664fa80.entry.js +0 -1
- package/dist/tegel/p-2a35cd68.entry.js +0 -1
- package/dist/tegel/p-2bcff4fd.entry.js +0 -1
- package/dist/tegel/p-34a68c03.entry.js +0 -1
- package/dist/tegel/p-3a9e4918.entry.js +0 -1
- package/dist/tegel/p-4942f086.entry.js +0 -1
- package/dist/tegel/p-4f6aac2c.entry.js +0 -1
- package/dist/tegel/p-5aee8773.entry.js +0 -1
- package/dist/tegel/p-5d18b544.entry.js +0 -1
- package/dist/tegel/p-7ca5da7e.entry.js +0 -1
- package/dist/tegel/p-7de064e6.entry.js +0 -1
- package/dist/tegel/p-7ea3179a.entry.js +0 -1
- package/dist/tegel/p-88a89bae.entry.js +0 -1
- package/dist/tegel/p-937a4ef1.entry.js +0 -1
- package/dist/tegel/p-9f63eb3b.entry.js +0 -1
- package/dist/tegel/p-VFN9WV0d.js +0 -2
- package/dist/tegel/p-a476f37f.entry.js +0 -1
- package/dist/tegel/p-ac3dd42b.entry.js +0 -1
- package/dist/tegel/p-aea4aea5.entry.js +0 -1
- package/dist/tegel/p-beb70800.entry.js +0 -1
- package/dist/tegel/p-cb8b1417.entry.js +0 -1
- package/dist/tegel/p-d0842e39.entry.js +0 -1
- package/dist/tegel/p-d9faf299.entry.js +0 -1
- package/dist/tegel/p-dd44ee2d.entry.js +0 -1
- package/dist/tegel/p-e676b230.entry.js +0 -1
- package/dist/tegel/p-ebdddea6.entry.js +0 -1
- package/dist/tegel/p-f7518ea3.entry.js +0 -1
- package/dist/types/utils/accessibility.d.ts +0 -14
|
@@ -46,7 +46,7 @@ export class TdsNavigationTabs {
|
|
|
46
46
|
};
|
|
47
47
|
this.addEventListenerToTabs = () => {
|
|
48
48
|
this.tabElements = Array.from(this.host.children);
|
|
49
|
-
this.tabElements.
|
|
49
|
+
this.tabElements.forEach((item, index) => {
|
|
50
50
|
const clickHandler = () => {
|
|
51
51
|
if (!item.disabled) {
|
|
52
52
|
const tdsChangeEvent = this.tdsChange.emit({
|
|
@@ -61,7 +61,6 @@ export class TdsNavigationTabs {
|
|
|
61
61
|
};
|
|
62
62
|
item.addEventListener('click', clickHandler);
|
|
63
63
|
this.clickHandlers.set(item, clickHandler); // Store the handler in WeakMap
|
|
64
|
-
return item;
|
|
65
64
|
});
|
|
66
65
|
};
|
|
67
66
|
this.removeEventListenerFromTabs = () => {
|
|
@@ -179,15 +178,15 @@ export class TdsNavigationTabs {
|
|
|
179
178
|
this.removeEventListenerFromTabs();
|
|
180
179
|
}
|
|
181
180
|
render() {
|
|
182
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: '51abe74f3232ae4a5d6c72b812e0aa635add4b14', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null }, style: { '--padding-left': `${this.leftPadding}px` } }, h("div", { key: '451ad11eef8ce9ce0995d28ea26dcb58bf9614c8', class: "wrapper", ref: (el) => {
|
|
183
182
|
this.navWrapperElement = el;
|
|
184
|
-
} }, h("button", { key: '
|
|
183
|
+
} }, h("button", { key: '7a9e4b4843596a0ca08df81020cbbe1f74378709', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
185
184
|
'scroll-left-button': true,
|
|
186
185
|
'show': this.showLeftScroll,
|
|
187
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
186
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'b186b2aeeef040c89a250778b644b7f19b330629', name: "chevron_left", size: "20px" })), h("slot", { key: 'fc4dbf7ab2742e9ff6c53ee744236263ba7b4545', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '8c6861920474f0159f3dee041fd4d6da60675e29', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
188
187
|
'scroll-right-button': true,
|
|
189
188
|
'show': this.showRightScroll,
|
|
190
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
189
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '0d7e9b2ec1cf42ed65abf6d9db65a0b6e3be67a1', name: "chevron_right", size: "20px" })))));
|
|
191
190
|
}
|
|
192
191
|
static get is() { return "tds-navigation-tabs"; }
|
|
193
192
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class TdsTag {
|
|
|
16
16
|
[`${this.size.toLowerCase()}`]: true,
|
|
17
17
|
[this.variant.toLowerCase()]: true,
|
|
18
18
|
});
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '7abe67c0e7383f526a6f673e6729b69e7984068c', class: getTagClasses() }, h("div", { key: '86a6e76cbc01841eb729cf08e6a6c2154f13ab2c', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: '8b0c1673b882ce4a292f800ff54c12f3028a0351', name: "prefix" }), h("span", { key: '04cb612d4977abd42c8e6bf99daf85cc19db041d' }, this.text))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "tds-tag"; }
|
|
22
22
|
static get encapsulation() { return "scoped"; }
|
|
@@ -110,7 +110,7 @@ export class TdsTextField {
|
|
|
110
110
|
var _a, _b, _c, _d;
|
|
111
111
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
112
112
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
113
|
-
return (h("div", { key: '
|
|
113
|
+
return (h("div", { key: 'dd9defb9a38b4cf10e8c7f57035ab8dbce251a46', class: {
|
|
114
114
|
'form-text-field': true,
|
|
115
115
|
'form-text-field-nomin': this.noMinWidth,
|
|
116
116
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -128,12 +128,12 @@ export class TdsTextField {
|
|
|
128
128
|
'form-text-field-sm': this.size === 'sm',
|
|
129
129
|
'form-text-field-error': this.state === 'error',
|
|
130
130
|
'form-text-field-success': this.state === 'success',
|
|
131
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
131
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: '6b93d807bfbb8bbd3c82d8335bca55ec9c78ed4a', class: "text-field-label-outside" }, h("label", { key: 'c625e090dfb2515f886f5b9d1ce2213e0c0fd3d4', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'cb96dce1a1004b7951b3fb03d3841e27e79cc5a5', onClick: () => { var _a; return (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus(); }, class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '2019699ebaa2e065e7dce91c3e0c819c4e14dd60', class: {
|
|
132
132
|
'text-field-slot-wrap-prefix': true,
|
|
133
133
|
'text-field-error': this.state === 'error',
|
|
134
134
|
'text-field-success': this.state === 'success',
|
|
135
135
|
'text-field-default': this.state === 'default',
|
|
136
|
-
} }, h("slot", { key: '
|
|
136
|
+
} }, h("slot", { key: '157b5ac2ab057d033030ef52e4a1ff0bb54793fe', name: "prefix" }))), h("div", { key: '92fc14cf021d3f0ec436b441d428186c0e9debb5', class: "text-field-input-container" }, h("input", { key: '18d7207722fdd7107b492d9f2ac504da8daf4c14', ref: (inputEl) => {
|
|
137
137
|
this.textInput = inputEl;
|
|
138
138
|
}, class: {
|
|
139
139
|
'text-field-input': true,
|
|
@@ -149,13 +149,13 @@ export class TdsTextField {
|
|
|
149
149
|
if (!this.readOnly) {
|
|
150
150
|
this.handleBlur(event);
|
|
151
151
|
}
|
|
152
|
-
}, "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: '
|
|
152
|
+
}, "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: 'af177c81ba112bc0070257922119204317593249', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: '363104da68171eeca7fd37e5aaff4d21dd95c54a', class: {
|
|
153
153
|
'text-field-slot-wrap-suffix': true,
|
|
154
154
|
'text-field-error': this.state === 'error',
|
|
155
155
|
'text-field-success': this.state === 'success',
|
|
156
156
|
'text-field-default': this.state === 'default',
|
|
157
157
|
'tds-u-display-none': this.readOnly,
|
|
158
|
-
} }, h("slot", { key: '
|
|
158
|
+
} }, h("slot", { key: '75b9836c7f556240471edba25233c00203d8bf55', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '21e1dd37091b377c67d59b63275e12fb73b6b216', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: 'eec43023c93207cdf31a5c1f69fc32ab53b62929', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '060587e75f891223fa622e7434b59fd253216438', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: 'ff1daddf3ce6df74855ab07c75697db48ff2a13e', "aria-live": "assertive" }, (this.helper || ((_a = this.maxLength) !== null && _a !== void 0 ? _a : 0) > 0) && (h("div", { key: '7232bd2259686766672c09218f3b56b739ea78a8', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: 'f37a5292ee69c54244bc829c5b96220e0450dd08', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'deddd774aadb77e171d81c368dbac8ebeebd7864', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && ((_b = this.maxLength) !== null && _b !== void 0 ? _b : 0) > 0 && (h("span", { key: 'a2a9f9ee206868eb12d6ff96fc8d6e32c0bad865', class: {
|
|
159
159
|
'text-field-textcounter-divider': true,
|
|
160
160
|
'text-field-textcounter-disabled': this.disabled,
|
|
161
161
|
} }, this.value === null ? 0 : (_c = this.value) === null || _c === void 0 ? void 0 : _c.length, " / ", (_d = this.maxLength) !== null && _d !== void 0 ? _d : 0)))))));
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
color: var(--tds-textarea-placeholder-hover);
|
|
65
65
|
}
|
|
66
66
|
.textarea-input:focus {
|
|
67
|
-
outline: 2px solid var(--
|
|
68
|
-
box-shadow: 0 0 0 1px var(--
|
|
67
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
68
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
69
69
|
outline-offset: 1px;
|
|
70
70
|
z-index: 1;
|
|
71
71
|
border-radius: 0;
|
|
@@ -70,7 +70,7 @@ export class TdsTextarea {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
var _a, _b;
|
|
73
|
-
return (h("div", { key: '
|
|
73
|
+
return (h("div", { key: '17e5f048546531899316fb6941dd56c4c0eec86b', class: {
|
|
74
74
|
'textarea-container': true,
|
|
75
75
|
'textarea-label-inside': this.labelPosition === 'inside',
|
|
76
76
|
'textarea-focus': this.focusInput,
|
|
@@ -80,7 +80,7 @@ export class TdsTextarea {
|
|
|
80
80
|
'textarea-data': this.value !== '',
|
|
81
81
|
[`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
|
|
82
82
|
'no-min-width': this.noMinWidth,
|
|
83
|
-
} }, this.labelPosition !== 'no-label' && (h("label", { key: '
|
|
83
|
+
} }, this.labelPosition !== 'no-label' && (h("label", { key: '7acbaff8c9b834537667a2f00fd43bd207ec4a94', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '9e1a35a149e87ef132544bccee4ef68708a043b5', class: "textarea-wrapper" }, h("textarea", { key: '1ac5b68781eb3678b286217d4be05db6b3fed343', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
|
|
84
84
|
this.textEl = inputEl;
|
|
85
85
|
}, 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) => {
|
|
86
86
|
if (!this.readOnly) {
|
|
@@ -90,7 +90,7 @@ export class TdsTextarea {
|
|
|
90
90
|
if (!this.readOnly) {
|
|
91
91
|
this.handleBlur(event);
|
|
92
92
|
}
|
|
93
|
-
}, 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: '
|
|
93
|
+
}, 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: 'bdb08af97c50672145daf0f2aebca2b3dc0b6f8f', class: "textarea-resizer-icon" }, h("svg", { key: '7239c0246d6d3b9d83cddcfeba33929c52306c46', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'eb4d0058060a9e023d664b0e4ead6932b4d0fb7c', "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: 'a961358d976093ef4fcab24bd59822a19f121110', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '41b20bd51f8d597d38eff89f696f9b89a1be3c5e', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '05bb88941fb674e6d636eff3e036ded3d91b8f76', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: 'e380047364c71512ec6290ddc3acce7ccf0c4a92', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: 'ab76d1518a9bda2251eb2c9e0ea765c2039da5aa', name: "error", size: "16px" })), this.helper), ((_a = this.maxLength) !== null && _a !== void 0 ? _a : 0) > 0 && (h("div", { key: '96ec8a42970fcacc3c9a8bca8c5be24530880888', class: 'textarea-textcounter' }, this.value === null ? 0 : (_b = this.value) === null || _b === void 0 ? void 0 : _b.length, h("span", { key: '8c6d15477056e04403a611c99db97da4d3c27e6b', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "tds-textarea"; }
|
|
96
96
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,28 +10,31 @@
|
|
|
10
10
|
display: flex;
|
|
11
11
|
width: 348px;
|
|
12
12
|
background-color: var(--tds-toast-background-color);
|
|
13
|
-
border-radius:
|
|
13
|
+
border-radius: var(--tds-toast-border-radius);
|
|
14
14
|
}
|
|
15
15
|
:host .wrapper.information {
|
|
16
|
-
border-left:
|
|
16
|
+
border-left: var(--tds-toast-border-width) solid var(--tds-toast-color-info);
|
|
17
17
|
}
|
|
18
18
|
:host .wrapper.information tds-icon {
|
|
19
|
-
color: var(--tds-toast-color-info);
|
|
19
|
+
color: var(--tds-toast-icon-color-info);
|
|
20
20
|
}
|
|
21
21
|
:host .wrapper.success {
|
|
22
|
-
|
|
22
|
+
background-color: var(--tds-toast-background-success);
|
|
23
|
+
border-left: var(--tds-toast-border-width) solid var(--tds-toast-color-success);
|
|
23
24
|
}
|
|
24
25
|
:host .wrapper.success tds-icon {
|
|
25
|
-
color: var(--tds-toast-color-success);
|
|
26
|
+
color: var(--tds-toast-icon-color-success);
|
|
26
27
|
}
|
|
27
28
|
:host .wrapper.error {
|
|
28
|
-
|
|
29
|
+
background-color: var(--tds-toast-background-error);
|
|
30
|
+
border-left: var(--tds-toast-border-width) solid var(--tds-toast-color-error);
|
|
29
31
|
}
|
|
30
32
|
:host .wrapper.error tds-icon {
|
|
31
|
-
color: var(--tds-toast-color-error);
|
|
33
|
+
color: var(--tds-toast-icon-color-error);
|
|
32
34
|
}
|
|
33
35
|
:host .wrapper.warning {
|
|
34
|
-
|
|
36
|
+
background-color: var(--tds-toast-background-warning);
|
|
37
|
+
border-left: var(--tds-toast-border-width) solid var(--tds-toast-color-warning);
|
|
35
38
|
}
|
|
36
39
|
:host .wrapper.warning tds-icon {
|
|
37
40
|
color: var(--tds-toast-icon-color-warning);
|
|
@@ -50,8 +53,8 @@
|
|
|
50
53
|
cursor: pointer;
|
|
51
54
|
}
|
|
52
55
|
:host .wrapper button.close:focus {
|
|
53
|
-
outline: 2px solid var(--
|
|
54
|
-
box-shadow: 0 0 0 1px var(--
|
|
56
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
57
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
55
58
|
outline-offset: 1px;
|
|
56
59
|
z-index: 1;
|
|
57
60
|
}
|
|
@@ -95,10 +98,4 @@
|
|
|
95
98
|
}
|
|
96
99
|
:host .content .toast-bottom {
|
|
97
100
|
padding-top: 12px;
|
|
98
|
-
}
|
|
99
|
-
:host .tds-mode-variant-primary {
|
|
100
|
-
--tds-toast-background: var(--tds-toast-background-primary);
|
|
101
|
-
}
|
|
102
|
-
:host .tds-mode-variant-secondary {
|
|
103
|
-
--tds-toast-background: var(--tds-toast-background-secondary);
|
|
104
101
|
}
|
|
@@ -68,12 +68,12 @@ export class TdsToast {
|
|
|
68
68
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
69
69
|
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
70
70
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'b422fc996e88e7d5d0a72d07971b29150cae7714', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
|
|
72
72
|
hide: this.hidden,
|
|
73
73
|
show: !this.hidden,
|
|
74
|
-
} }, h("div", { key: '
|
|
74
|
+
} }, h("div", { key: '4a473ab10edcce6938e981e25bf1c9f152721a29', class: `
|
|
75
75
|
wrapper
|
|
76
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
76
|
+
${this.variant}` }, h("tds-icon", { key: '30935de82074fbb0f980161662993939a6b6580e', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: '088ead78b9d39e91062efe3bd7dc7c084b81a921', class: `content` }, h("div", { key: 'b09535d0d741057672ddfcb885d6f389acdf65c9', class: "header-subheader" }, this.header && h("div", { key: '35e54d127fb9ed18c9abed9af147c133cc99b5aa', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '3f7bf2678d673e6b85a16501b47f1fbd51bb034f', name: "header" }), this.subheader && h("div", { key: 'b419ace2f16e606db38f0c2cd59f00de1173d6c3', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: 'a26f22ac7fc1ba369750273d69d31da6a793d261', name: "subheader" })), usesActionsSlot && (h("div", { key: '99c8d320a5ea1d992b7a7a4679610cdfad679c93', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: '3b6d1833ada42234f4d88ccd47694f41cfe61642', name: "actions" })))), this.closable && (h("button", { key: 'b7817f902d836bf4b0175c9e00b5818549acbce3', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: '43b8d46ea0c3747a274bdaa370fd2867dcf05133', name: "cross", size: "20px", svgTitle: "cross" }))))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "tds-toast"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,13 +41,13 @@ export class TdsToggle {
|
|
|
41
41
|
this.labelSlot = this.host.querySelector("[slot='label']");
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '53ced027584d0c53406ffd3666cc427f2c8c8151', class: "tds-toggle" }, this.headline && (h("div", { key: '9b059811d239d1c6689bd833fb029d99be011d91', class: {
|
|
45
45
|
'toggle-headline': true,
|
|
46
46
|
'disabled': this.disabled,
|
|
47
|
-
} }, this.headline)), h("input", { key: '
|
|
47
|
+
} }, this.headline)), h("input", { key: '547392983cf52e45e77b755c96bd0233a223e848', ref: (inputEl) => {
|
|
48
48
|
if (inputEl)
|
|
49
49
|
this.inputElement = inputEl;
|
|
50
|
-
}, "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: '
|
|
50
|
+
}, "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: 'f11d96fdbd4fa15528504b7cdc2a4d60cb04c48a', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: '38f16f00d2ffec77e1729aa03163be49d17a27db', name: "label" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "tds-toggle"; }
|
|
53
53
|
static get encapsulation() { return "scoped"; }
|
|
@@ -64,7 +64,7 @@ export class TdsTooltip {
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
var _a;
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '411cb8009557df87c9441f79463ace29ca6c9dfb', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: 'eee455fb2952a27257f7efc10d3216c199db4563' }, this.inheritedAttributes, { class: {
|
|
68
68
|
'tds-tooltip': true,
|
|
69
69
|
[`tds-tooltip-${this.border}`]: true,
|
|
70
70
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
@@ -73,7 +73,7 @@ export class TdsTooltip {
|
|
|
73
73
|
this.show = true;
|
|
74
74
|
}, onInternalTdsClose: () => {
|
|
75
75
|
this.show = false;
|
|
76
|
-
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '
|
|
76
|
+
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: 'd8e87c4d8b208cedf3d2cb2daa13145e183494f6' }))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "tds-tooltip"; }
|
|
79
79
|
static get encapsulation() { return "scoped"; }
|