@scania/tegel 1.49.2-warning-beta.0 → 1.50.0-develop-beta.1
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-BJ10h8-I.js +2548 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/tds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/tds-badge.cjs.entry.js +3 -3
- package/dist/cjs/tds-banner.cjs.entry.js +3 -3
- package/dist/cjs/tds-block.cjs.entry.js +2 -2
- package/dist/cjs/tds-body-cell.cjs.entry.js +3 -3
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/tds-button_2.cjs.entry.js +5 -5
- package/dist/cjs/tds-card.cjs.entry.js +2 -2
- package/dist/cjs/tds-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/tds-chip.cjs.entry.js +3 -3
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-datetime.cjs.entry.js +4 -4
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +99 -144
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +4 -4
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -3
- package/dist/cjs/tds-link.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +3 -3
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +7 -5
- 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 +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- 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 +4 -4
- package/dist/cjs/tds-slider.cjs.entry.js +10 -10
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +2 -2
- package/dist/cjs/tds-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +8 -8
- package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-footer.cjs.entry.js +6 -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 +4 -4
- package/dist/cjs/tds-tag.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +4 -4
- package/dist/cjs/tds-toast.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/collection/assets/icons/traton/edit_inactive.svg +1 -0
- package/dist/collection/assets/icons/traton/skip_backwards.svg +1 -0
- package/dist/collection/assets/icons/traton/skip_forward.svg +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +7 -7
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/badge/badge.js +5 -5
- package/dist/collection/components/banner/banner.js +8 -8
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
- package/dist/collection/components/button/button.js +14 -14
- package/dist/collection/components/card/card.js +12 -12
- package/dist/collection/components/checkbox/checkbox.js +10 -10
- package/dist/collection/components/chip/chip.css +5 -15
- package/dist/collection/components/chip/chip.js +8 -8
- package/dist/collection/components/datetime/datetime.js +19 -19
- package/dist/collection/components/divider/divider.js +3 -3
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +4 -4
- package/dist/collection/components/dropdown/dropdown.js +114 -161
- package/dist/collection/components/footer/footer-group/footer-group.js +5 -5
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -7
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +3 -3
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +5 -5
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +2 -2
- package/dist/collection/components/header/header-item/header-item.js +4 -4
- package/dist/collection/components/header/header-launcher/header-launcher.js +3 -3
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
- package/dist/collection/components/icon/icon.js +4 -4
- package/dist/collection/components/link/link.js +5 -5
- package/dist/collection/components/message/message.js +9 -9
- package/dist/collection/components/modal/modal.js +10 -10
- package/dist/collection/components/popover-canvas/popover-canvas.js +12 -12
- package/dist/collection/components/popover-core/popover-core.js +10 -10
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +3 -3
- package/dist/collection/components/popover-menu/popover-menu.js +12 -12
- package/dist/collection/components/radio-button/radio-button.js +9 -9
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +7 -7
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -3
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +4 -4
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +5 -5
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +3 -3
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
- package/dist/collection/components/side-menu/side-menu.js +6 -6
- package/dist/collection/components/slider/slider.js +27 -27
- package/dist/collection/components/spinner/spinner.js +3 -3
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +7 -7
- package/dist/collection/components/table/table/table.js +5 -5
- 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 +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +9 -9
- package/dist/collection/components/table/table-footer/table-footer.js +26 -4
- package/dist/collection/components/table/table-header/table-header.js +3 -3
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +5 -5
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +3 -3
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +3 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +3 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +8 -6
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +3 -3
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +8 -6
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +3 -3
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +10 -8
- package/dist/collection/components/tag/tag.js +4 -4
- package/dist/collection/components/text-field/text-field.js +26 -26
- package/dist/collection/components/textarea/textarea.js +20 -20
- package/dist/collection/components/toast/toast.js +11 -11
- package/dist/collection/components/toggle/toggle.js +10 -10
- package/dist/collection/components/tooltip/tooltip.js +12 -12
- package/dist/collection/utils/testConfiguration.js +46 -9
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CVrz-nvu.js → p-2Sehn7YQ.js} +1 -1
- package/dist/components/{p-blXt609Y.js → p-BkkKUMC2.js} +1 -1
- package/dist/components/{p-le823YD3.js → p-CkGDaQ3D.js} +1 -1
- package/dist/components/{p-CAGXolMB.js → p-Cr5AJ7EI.js} +1 -1
- package/dist/components/p-D7QKvdhL.js +1 -0
- package/dist/components/p-D8Rhjha5.js +1 -0
- package/dist/components/{p-CIt4YhvL.js → p-DMVs7mmW.js} +1 -1
- package/dist/components/{p-Dc6aMuMv.js → p-DO04x4VW.js} +1 -1
- package/dist/components/{p-DDZjm4KO.js → p-Df03ehYR.js} +1 -1
- package/dist/components/p-Dh4rW_04.js +1 -0
- package/dist/components/p-Dkw_xBUE.js +1 -0
- package/dist/components/{p-454Tm-qg.js → p-DynhdmI7.js} +1 -1
- package/dist/components/{p-Dcq3a5KI.js → p-T8F4U3Yc.js} +1 -1
- package/dist/components/{p-D0Aaqu_c.js → p-TTZk9Ssg.js} +1 -1
- package/dist/components/{p-7g_ABN5n.js → p-Zonwl9_G.js} +1 -1
- package/dist/components/{p-Zx1hN-_O.js → p-bPqW3C5g.js} +1 -1
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-accordion.js +1 -1
- package/dist/components/tds-badge.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-block.js +1 -1
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.js +1 -1
- 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 +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.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-list-user.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-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.js +1 -1
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +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-stepper.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-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-BdzyrAx0.js +2519 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +4 -4
- package/dist/esm/tds-accordion.entry.js +3 -3
- package/dist/esm/tds-badge.entry.js +3 -3
- package/dist/esm/tds-banner.entry.js +3 -3
- package/dist/esm/tds-block.entry.js +2 -2
- package/dist/esm/tds-body-cell.entry.js +3 -3
- package/dist/esm/tds-breadcrumb.entry.js +2 -2
- package/dist/esm/tds-breadcrumbs.entry.js +2 -2
- package/dist/esm/tds-button_2.entry.js +5 -5
- package/dist/esm/tds-card.entry.js +2 -2
- package/dist/esm/tds-checkbox.entry.js +3 -3
- package/dist/esm/tds-chip.entry.js +3 -3
- package/dist/esm/tds-core-header-item_2.entry.js +3 -3
- package/dist/esm/tds-datetime.entry.js +4 -4
- package/dist/esm/tds-dropdown_2.entry.js +99 -144
- package/dist/esm/tds-folder-tab.entry.js +3 -3
- package/dist/esm/tds-folder-tabs.entry.js +5 -3
- package/dist/esm/tds-footer-group.entry.js +4 -4
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +3 -3
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +3 -3
- package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +4 -4
- package/dist/esm/tds-header-hamburger.entry.js +2 -2
- package/dist/esm/tds-header-launcher-button.entry.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +5 -3
- package/dist/esm/tds-link.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +3 -3
- package/dist/esm/tds-navigation-tab.entry.js +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +7 -5
- 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 +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
- package/dist/esm/tds-side-menu-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- 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 +4 -4
- package/dist/esm/tds-slider.entry.js +10 -10
- package/dist/esm/tds-spinner.entry.js +2 -2
- package/dist/esm/tds-step.entry.js +2 -2
- package/dist/esm/tds-stepper.entry.js +2 -2
- package/dist/esm/tds-table-body-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-body-row-expandable.entry.js +8 -8
- package/dist/esm/tds-table-body-row.entry.js +1 -1
- package/dist/esm/tds-table-body.entry.js +1 -1
- package/dist/esm/tds-table-footer.entry.js +6 -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 +4 -4
- package/dist/esm/tds-tag.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +6 -6
- package/dist/esm/tds-textarea.entry.js +4 -4
- package/dist/esm/tds-toast.entry.js +4 -4
- package/dist/esm/tds-toggle.entry.js +4 -4
- package/dist/esm/tds-tooltip.entry.js +3 -3
- package/dist/esm/tegel.js +4 -4
- package/dist/tegel/assets/icons/traton/edit_inactive.svg +1 -0
- package/dist/tegel/assets/icons/traton/skip_backwards.svg +1 -0
- package/dist/tegel/assets/icons/traton/skip_forward.svg +1 -0
- package/dist/tegel/p-022feefe.entry.js +1 -0
- package/dist/tegel/p-02de949b.entry.js +1 -0
- package/dist/tegel/{p-873dd581.entry.js → p-05734bd9.entry.js} +1 -1
- package/dist/tegel/{p-f7e30ce0.entry.js → p-05b17d71.entry.js} +1 -1
- package/dist/tegel/p-0b2f28ca.entry.js +1 -0
- package/dist/tegel/p-0dd222cb.entry.js +1 -0
- package/dist/tegel/{p-c612b88f.entry.js → p-0e89bd08.entry.js} +1 -1
- package/dist/tegel/{p-84580662.entry.js → p-12b87ea5.entry.js} +1 -1
- package/dist/tegel/{p-130d96b2.entry.js → p-130750dd.entry.js} +1 -1
- package/dist/tegel/{p-2c4defb0.entry.js → p-190d22e3.entry.js} +1 -1
- package/dist/tegel/p-1a805013.entry.js +1 -0
- package/dist/tegel/{p-3d11fc11.entry.js → p-1c67816d.entry.js} +1 -1
- package/dist/tegel/p-2132adfd.entry.js +1 -0
- package/dist/tegel/{p-089347c1.entry.js → p-25ffd41a.entry.js} +1 -1
- package/dist/tegel/p-266eb96c.entry.js +1 -0
- package/dist/tegel/p-2831fafe.entry.js +1 -0
- package/dist/tegel/{p-64e04dc0.entry.js → p-29546870.entry.js} +1 -1
- package/dist/tegel/{p-b11a2807.entry.js → p-2b06e015.entry.js} +1 -1
- package/dist/tegel/{p-e399bba6.entry.js → p-3b8f7ccf.entry.js} +1 -1
- package/dist/tegel/p-3f690d81.entry.js +1 -0
- package/dist/tegel/p-443829dd.entry.js +1 -0
- package/dist/tegel/{p-492af98d.entry.js → p-45da9cad.entry.js} +1 -1
- package/dist/tegel/{p-f935c2e9.entry.js → p-4817040f.entry.js} +1 -1
- package/dist/tegel/{p-a6415b2c.entry.js → p-4b563670.entry.js} +1 -1
- package/dist/tegel/{p-a5ec44a0.entry.js → p-52432e2d.entry.js} +1 -1
- package/dist/tegel/{p-eebfce98.entry.js → p-57d395ed.entry.js} +1 -1
- package/dist/tegel/{p-fb9f17be.entry.js → p-58f73c59.entry.js} +1 -1
- package/dist/tegel/{p-6c86f384.entry.js → p-5a1681e5.entry.js} +1 -1
- package/dist/tegel/{p-e7793e67.entry.js → p-5a230bfb.entry.js} +1 -1
- package/dist/tegel/p-5c13c37d.entry.js +1 -0
- package/dist/tegel/{p-4236bbf5.entry.js → p-5c167f7d.entry.js} +1 -1
- package/dist/tegel/{p-408ccb20.entry.js → p-5ca31069.entry.js} +1 -1
- package/dist/tegel/{p-e8658834.entry.js → p-65475bb9.entry.js} +1 -1
- package/dist/tegel/{p-483d8c89.entry.js → p-68fe9b76.entry.js} +1 -1
- package/dist/tegel/{p-121afb33.entry.js → p-6abb4e48.entry.js} +1 -1
- package/dist/tegel/{p-bc98d0e2.entry.js → p-6b56155b.entry.js} +1 -1
- package/dist/tegel/{p-fe45a38b.entry.js → p-701d4293.entry.js} +1 -1
- package/dist/tegel/p-71f12fbe.entry.js +1 -0
- package/dist/tegel/p-76dea1da.entry.js +1 -0
- package/dist/tegel/p-79a98f30.entry.js +1 -0
- package/dist/tegel/{p-d92682e4.entry.js → p-7a110985.entry.js} +1 -1
- package/dist/tegel/{p-bfa98728.entry.js → p-7ad4cff6.entry.js} +1 -1
- package/dist/tegel/{p-34acf548.entry.js → p-7fb81f56.entry.js} +1 -1
- package/dist/tegel/p-809721c8.entry.js +1 -0
- package/dist/tegel/{p-5b787973.entry.js → p-888184f4.entry.js} +1 -1
- package/dist/tegel/{p-7fd4299d.entry.js → p-8aa37880.entry.js} +1 -1
- package/dist/tegel/{p-dfa11d82.entry.js → p-8b03811b.entry.js} +1 -1
- package/dist/tegel/{p-00f77dd3.entry.js → p-8d956ad4.entry.js} +1 -1
- package/dist/tegel/{p-8f69297f.entry.js → p-91bf500a.entry.js} +1 -1
- package/dist/tegel/p-925340e5.entry.js +1 -0
- package/dist/tegel/{p-2ef824fb.entry.js → p-943d61f9.entry.js} +1 -1
- package/dist/tegel/p-9b6ea0b4.entry.js +1 -0
- package/dist/tegel/p-BdzyrAx0.js +2 -0
- package/dist/tegel/p-a8b22784.entry.js +1 -0
- package/dist/tegel/{p-dc425994.entry.js → p-b6e1dfa5.entry.js} +1 -1
- package/dist/tegel/{p-09867bb0.entry.js → p-b882afdc.entry.js} +1 -1
- package/dist/tegel/{p-9c179f84.entry.js → p-ba462135.entry.js} +1 -1
- package/dist/tegel/{p-b29a9c01.entry.js → p-ba466230.entry.js} +1 -1
- package/dist/tegel/{p-462a1867.entry.js → p-be00d349.entry.js} +1 -1
- package/dist/tegel/{p-17ea4d71.entry.js → p-c044faa3.entry.js} +1 -1
- package/dist/tegel/{p-72f04cd1.entry.js → p-c10d32f0.entry.js} +1 -1
- package/dist/tegel/{p-c2e17e83.entry.js → p-c7e81ef2.entry.js} +1 -1
- package/dist/tegel/{p-9d1d18e5.entry.js → p-cbf5b8fd.entry.js} +1 -1
- package/dist/tegel/{p-92ee76ea.entry.js → p-ce67fac5.entry.js} +1 -1
- package/dist/tegel/{p-b524bbfe.entry.js → p-d2d05d9a.entry.js} +1 -1
- package/dist/tegel/{p-afad1dba.entry.js → p-d34cfa4a.entry.js} +1 -1
- package/dist/tegel/{p-fc5445b7.entry.js → p-d36b6ce9.entry.js} +1 -1
- package/dist/tegel/p-d4365572.entry.js +1 -0
- package/dist/tegel/{p-e4cd252c.entry.js → p-d45483a2.entry.js} +1 -1
- package/dist/tegel/{p-9a0253d6.entry.js → p-d727ce15.entry.js} +1 -1
- package/dist/tegel/{p-6bcb6678.entry.js → p-dad3e02f.entry.js} +1 -1
- package/dist/tegel/{p-8db648a3.entry.js → p-deacc365.entry.js} +1 -1
- package/dist/tegel/{p-808c9db1.entry.js → p-e2ef5e0b.entry.js} +1 -1
- package/dist/tegel/{p-bf411bd0.entry.js → p-e4d9f174.entry.js} +1 -1
- package/dist/tegel/p-ea1e187e.entry.js +1 -0
- package/dist/tegel/p-eef1f3a6.entry.js +1 -0
- package/dist/tegel/{p-e0be794f.entry.js → p-f6554516.entry.js} +1 -1
- package/dist/tegel/{p-735375dd.entry.js → p-fab0fa77.entry.js} +1 -1
- package/dist/tegel/p-fb9c0c8b.entry.js +1 -0
- package/dist/tegel/p-fec63ee6.entry.js +1 -0
- package/dist/tegel/tegel.css +95 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +17 -30
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
- package/dist/types/components/table/table-footer/table-footer.d.ts +2 -0
- package/dist/types/components.d.ts +15 -4
- package/dist/types/stencil-public-runtime.d.ts +0 -4
- package/dist/types/stories/formatHtmlPreview.d.ts +1 -1
- package/dist/types/utils/testConfiguration.d.ts +13 -11
- package/package.json +4 -3
- package/dist/cjs/index-DGsdvbvx.js +0 -2521
- package/dist/components/p-C5Repnjj.js +0 -1
- package/dist/components/p-COWTtzpX.js +0 -1
- package/dist/components/p-CXwwrpih.js +0 -1
- package/dist/components/p-DU6on7Ts.js +0 -1
- package/dist/esm/index-9xxNGlso.js +0 -2492
- package/dist/tegel/p-01c5df5c.entry.js +0 -1
- package/dist/tegel/p-066bb57c.entry.js +0 -1
- package/dist/tegel/p-09c5a74a.entry.js +0 -1
- package/dist/tegel/p-10bd75ab.entry.js +0 -1
- package/dist/tegel/p-1c117ed6.entry.js +0 -1
- package/dist/tegel/p-1c73f091.entry.js +0 -1
- package/dist/tegel/p-399de5fb.entry.js +0 -1
- package/dist/tegel/p-513f9e4a.entry.js +0 -1
- package/dist/tegel/p-5aac239b.entry.js +0 -1
- package/dist/tegel/p-5de5a2e8.entry.js +0 -1
- package/dist/tegel/p-785a02d1.entry.js +0 -1
- package/dist/tegel/p-7aa48b05.entry.js +0 -1
- package/dist/tegel/p-7d2217bc.entry.js +0 -1
- package/dist/tegel/p-826bfbff.entry.js +0 -1
- package/dist/tegel/p-88deac25.entry.js +0 -1
- package/dist/tegel/p-9xxNGlso.js +0 -2
- package/dist/tegel/p-ad5f719a.entry.js +0 -1
- package/dist/tegel/p-b35c853f.entry.js +0 -1
- package/dist/tegel/p-b765f247.entry.js +0 -1
- package/dist/tegel/p-b881093c.entry.js +0 -1
- package/dist/tegel/p-c18d557c.entry.js +0 -1
- package/dist/tegel/p-dc823504.entry.js +0 -1
- package/dist/tegel/p-e2848b6f.entry.js +0 -1
- package/dist/tegel/p-fed169d8.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const stepperCss = () => `:host [role=list]{display:flex;justify-content:space-evenly;min-width:100%}:host [role=list]:not(.text-position-aside){display:table;table-layout:fixed;width:100%;list-style:none}:host [role=list].vertical{height:100%;display:flex;flex-direction:column;justify-content:unset;gap:52px}:host [role=list].vertical.sm{gap:36px}:host [role=list].horizontal.text-position-aside{justify-content:unset}`;
|
|
@@ -58,7 +58,7 @@ const TdsStepper = class {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '6639dd75f7c2e87d85165810b90608c28129f5ee' }, h("div", { key: 'def675a425fb28d4c14153278a283bf047ef3a5e', role: "list", "aria-label": this.tdsAriaLabel, class: `${this.orientation} text-position-${this.labelPosition} ${this.size}` }, h("slot", { key: '5ae928f0400ca4bf419f5dc15ac4e07583c7235b' }))));
|
|
62
62
|
}
|
|
63
63
|
get host() { return getElement(this); }
|
|
64
64
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableBodyInputWrapperCss = () => `:host{position:relative}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.show-icon) ::slotted(input){padding-right:var(--tds-spacing-element-24)}:host(:hover) tds-icon{display:inline-block}:host(:hover) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}tds-icon.edit-icon{display:none;position:absolute;right:10px;top:1px;pointer-events:none;cursor:pointer}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);color:var(--tds-table-color);background-color:transparent;height:48px;border-radius:0;border:0;border-bottom:2px solid transparent;width:100%;cursor:pointer}::slotted(input)::placeholder{color:var(--tds-table-color)}::slotted(input:disabled){background-color:var(--tds-table-input-background-disabled)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}`;
|
|
4
4
|
|
|
@@ -86,7 +86,7 @@ const TdsTableBodyInputWrapper = class {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '8dc24acf73acb59732dcd490d792545a63679d2a', class: {
|
|
90
90
|
'focused-input-wrapper': this.inputFocused,
|
|
91
91
|
'show-icon': this.showIcon,
|
|
92
92
|
'tds-table__compact': this.compactDesign,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const tableBodyRowExpandableCss = () => `:host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .tds-table__row,:host .tds-table__row-extend{display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host .tds-table__row--expanded{border-bottom:none}:host .tds-table__row--selected{background-color:var(--tds-table-body-row-background-selected)}:host .tds-table__row:hover,:host .tds-table__row-extend:hover{background-color:var(--tds-table-body-row-background-hover)}:host .tds-table__row--selected:hover{background-color:var(--tds-table-body-row-background-selected-hover)}:host .tds-table__body-cell--checkbox{min-width:48px;width:48px;padding:0}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .tds-table__expand-control-container .tds-table__expand-input{all:unset;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .tds-table__expand-control-container .tds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__row-expand{display:none;transition:background-color 200ms ease}:host .tds-table__row-expand--expanded{border-bottom:1px solid var(--tds-table-divider)}:host .tds-table__row-expand .tds-table__cell-expand{max-width:1px;overflow:auto;padding:16px 16px 16px 66px;color:var(--tds-table-color)}:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible{overflow:visible}:host .tds-table__row-expand .tds-table__cell-expand--overflow-hidden{overflow:hidden}:host(.tds-table__row-expand--active) .tds-table__row{background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon{transform:rotate(180deg)}:host(.tds-table__row-expand--active) .tds-table__row-expand{background-color:var(--tds-table-body-row-background-selected);display:table-row}:host(.tds-table__compact) .tds-table__expand-control-container{height:30px}:host(.tds-table__compact) .tds-table__row-expand .tds-table__cell-expand{padding:8px 16px 8px 66px}:host(.tds-table__compact) .tds-form-label--table{height:32px}:host(.tds-table__row--hidden){display:none}:host(.tds-table--divider) .tds-table__cell-expand{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider) .tds-table__body-cell--checkbox{border-right:1px solid var(--tds-table-divider)}`;
|
|
@@ -137,27 +137,27 @@ const TdsTableBodyRowExpandable = class {
|
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
139
|
var _a;
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '4cb9b9ae686cff6a0c9f7a73a2eb72eb4444859a', class: {
|
|
141
141
|
'tds-table__row': true,
|
|
142
142
|
'tds-table__row-expand--active': this.isExpanded,
|
|
143
143
|
'tds-table__compact': this.compactDesign,
|
|
144
144
|
'tds-table--divider': this.verticalDividers,
|
|
145
|
-
} }, h("tr", { key: '
|
|
145
|
+
} }, h("tr", { key: 'd9df910f8c230d7a0289c887a6a9cea5af569d9d', id: `expandable-content-${this.rowId}`, class: {
|
|
146
146
|
'tds-table__row': true,
|
|
147
147
|
'tds-table__row--expanded': this.isExpanded,
|
|
148
148
|
'tds-table__row--selected': this.selected,
|
|
149
|
-
}, part: "row" }, this.multiselect && (h("td", { key: '
|
|
149
|
+
}, part: "row" }, this.multiselect && (h("td", { key: 'e7b76c0efb3fc1c6700980e0d48a681458eacd6f', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'e707b13211b328beb76ffe78ff874bbd863483ee', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("td", { key: '6150b96c6b00407685d8f059c083bbd159a27938', class: {
|
|
150
150
|
'tds-table__cell-expand': true,
|
|
151
|
-
} }, h("label", { key: '
|
|
151
|
+
} }, h("label", { key: '78df3bcaf49fb79d37d958a94645f6eaffbcdfba', class: "tds-table__expand-control-container" }, h("input", { key: '93a7d13ac6fd8a43e02ca67abadbcf1f37230cf8', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: '4e9399e6e6520e24a6f40cf0a4853f436c18bd9c', class: "tds-expendable-row-icon" }, h("svg", { key: 'cde3749b3716a1b96e0f93fe6d140f2e0d1a5174', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '98803ddb93a854f0734a080641bd19c6983f63ea', "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: 'f821c49713d75972ce698c199da7b20eae103530' })), h("tr", { key: '1ffedd81c1410d80f31be60737d401a8622d104a', class: {
|
|
152
152
|
'tds-table__row-expand': true,
|
|
153
153
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
154
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
154
|
+
}, part: "expand-row" }, h("td", { key: '2d1f4ef38dcea38e4154ea4a788404c9b44f0b9a', class: {
|
|
155
155
|
'tds-table__cell-expand': true,
|
|
156
156
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
157
157
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
158
|
-
}, part: "expand-row-cell", colSpan: (_a = this.columnsNumber) !== null && _a !== void 0 ? _a : undefined }, h("div", { key: '
|
|
158
|
+
}, part: "expand-row-cell", colSpan: (_a = this.columnsNumber) !== null && _a !== void 0 ? _a : undefined }, h("div", { key: 'ab809e98c84bc5c3bc5c1233ec20b18c80e569b7', style: {
|
|
159
159
|
overflow: this.overflow,
|
|
160
|
-
} }, h("slot", { key: '
|
|
160
|
+
} }, h("slot", { key: '0a540ac54a7b6e5c1d1567e5178a0bd624b76d2f', name: "expand-row" }))))));
|
|
161
161
|
}
|
|
162
162
|
get host() { return getElement(this); }
|
|
163
163
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableBodyRowCss = () => `:host(.tds-table__row){box-sizing:border-box;display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host(.tds-table__row) *{box-sizing:border-box}:host(.tds-table__row) .tds-table__body-cell--checkbox{min-width:48px;width:48px;padding:0}:host(.tds-table__row:hover){border-bottom:1px solid var(--tds-table-divider-hover)}:host(.tds-table__row:hover){background-color:var(--tds-table-body-row-background-hover)}:host(.tds-table__row--selected){background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row--selected:hover){background-color:var(--tds-table-body-row-background-selected-hover)}:host(.tds-table__row--hidden){display:none}:host(.tds-table__row--expended){width:100%;background-color:pink}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host(.tds-table__compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__body-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table__row--clickable){cursor:pointer}:host(.tds-table__row--clickable:focus-visible){outline:var(--focus-outline, 2px solid blue)}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableBodyCss = () => `:host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell,tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell{background-color:transparent}`;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableFooterCss = () => `:host{box-sizing:border-box;display:table-footer-group;height:var(--tds-spacing-element-48)}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-48);display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page{display:flex;align-items:center;margin-right:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p{margin-right:var(--tds-spacing-element-8)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:74px;height:30px;border:none;border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;margin-right:var(--tds-spacing-element-4);padding-left:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:var(--tds-spacing-element-32);width:var(--tds-spacing-element-32);border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:var(--tds-spacing-element-20);width:var(--tds-spacing-element-20);fill:var(--tds-table-color)}:host(.tds-table--compact){height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:var(--tds-spacing-element-24)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}:host(.footer__horizontal-scroll){display:inline-table;position:absolute;margin-top:10px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}`;
|
|
4
4
|
|
|
@@ -23,6 +23,8 @@ const TdsTableFooter = class {
|
|
|
23
23
|
this.rowsperpage = true;
|
|
24
24
|
/** Set available rows per page values */
|
|
25
25
|
this.rowsPerPageValues = [10, 25, 50];
|
|
26
|
+
/** Set rows per page dropdown open direction */
|
|
27
|
+
this.rowsPerPageDropdownOpenDirection = 'auto';
|
|
26
28
|
/** Sets the number of pages. */
|
|
27
29
|
this.pages = 0;
|
|
28
30
|
/** <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails. */
|
|
@@ -184,14 +186,14 @@ const TdsTableFooter = class {
|
|
|
184
186
|
}
|
|
185
187
|
render() {
|
|
186
188
|
var _a;
|
|
187
|
-
return (h(Host, { key: '
|
|
189
|
+
return (h(Host, { key: 'b9b2a655adbdac509705cf06f8b2cdc0e3b9a0ae', class: {
|
|
188
190
|
'tds-table--compact': this.compactDesign,
|
|
189
191
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
190
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
192
|
+
}, style: this.getStyles() }, h("tr", { key: 'd6f7af8c3ad70cdae194eb633313f815b8cc400a', class: "tds-table__footer-row" }, h("td", { key: '1e5bd029e2cb154e8c4eb61a566311166b4b135f', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '60abf7e8650298f0ec56bc48fc72488c3786e674', class: "tds-table__pagination" }, h("div", { key: 'aa3d9e8d9124efd479811b1e9c5e26437f798c54', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '1f6ed9da5ca83748e507ce0f5193abaf5e36c213', class: "rows-per-page" }, h("p", { key: '8319a28772407a09752e5aa0646db4f83f2ce926' }, "Rows per page"), h("tds-dropdown", { key: 'cc7596459725ebd14500179a5e15f80404df41e0', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event), openDirection: this.rowsPerPageDropdownOpenDirection }, this.rowsPerPageValues.map((value) => (h("tds-dropdown-option", { value: `${value}` }, value))))))), h("div", { key: '3b7d98daceb0b48ceda16618914033c69eca0e10', class: "tds-table__page-selector" }, h("input", { key: 'd050a2fdf9c4cb49447ab84eaa5b4da60339ff53', ref: (element) => {
|
|
191
193
|
if (element) {
|
|
192
194
|
this.inputElement = element;
|
|
193
195
|
}
|
|
194
|
-
}, 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: '
|
|
196
|
+
}, 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: 'fa177ca38fd59d80de9f75eb64e27d516b99bf18', class: "tds-table__footer-text" }, "of ", h("span", { key: 'e15b05026a1ae3e0b5f01e6f3604cf2d88ed0cbb' }, this.pages), " pages"), h("button", { key: '12b29edbd391eb68dea8bc7439f4cc154f81ed47', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: 'b365b40363e6036e0e7500d121e8af86ea7f9097', name: "skip_backwards", size: "20px" })), h("button", { key: '6458ce6240499c1d801506756c6bdda25893bea3', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '9a0f4b8696d5437758a9b255b9e5abb4db40e9f1', name: "chevron_left", size: "20px" })), h("button", { key: '9672939723a0359217578ddd9055d2c269b201ec', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'f84e8a062daebddafef3f58e17015df1a741eca0', name: "chevron_right", size: "20px" })), h("button", { key: '9d00d09e9bf6b59664faa828ec85e3a43b3b17e2', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '815192910a462e07046048d84bbddb5cf2f850ba', name: "skip_forward", size: "20px" })))))))));
|
|
195
197
|
}
|
|
196
198
|
get host() { return getElement(this); }
|
|
197
199
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableHeaderInputWrapperCss = () => `:host{position:relative}:host(:hover) tds-icon{display:inline-block}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.focused-input-wrapper) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}:host(.show-icon) ::slotted(input){padding-left:35px}tds-icon.search-icon{color:var(--tds-table-input-header-icon);position:absolute;left:15px;top:1px}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);height:48px;border-radius:0;background-color:transparent;border:0;border-bottom:2px solid transparent}::slotted(input)::placeholder{color:var(--tds-table-input-header-placeholder)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-header-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}`;
|
|
4
4
|
|
|
@@ -68,7 +68,7 @@ const TdsTableHeaderInputWrapper = class {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '43bff4694595b6b6355ca05af951b9a31f27ee35', class: {
|
|
72
72
|
'focused-input-wrapper': this.inputFocused,
|
|
73
73
|
'show-icon': this.showIcon,
|
|
74
74
|
'tds-table__compact': this.compactDesign,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableHeaderCss = () => `:host{box-sizing:border-box;display:table-header-group}:host *{box-sizing:border-box}:host .tds-table__header-cell--checkbox{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-divider);height:48px;box-sizing:border-box;overflow:hidden;transition:background-color 200ms ease;min-width:unset;width:48px;padding:0;border-top-left-radius:4px}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:48px;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input{display:none}:host .tds-table__expand-control-container .tds-expandable-row-icon{height:20px;width:20px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__expand-control-container .tds-expandable-row-icon--opened{transform:rotate(180deg)}:host(.tds-table--compact) .tds-table__header-cell--checkbox{height:32px}:host(.tds-table--compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__header-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox{border-top-left-radius:0}`;
|
|
4
4
|
|
|
@@ -92,11 +92,11 @@ const TdsTableHeaderRow = class {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: '081f1f38317966710af212df1f9ce7c0abe5e43d', class: {
|
|
96
96
|
'tds-table--compact': this.compactDesign,
|
|
97
97
|
'tds-table--divider': this.verticalDividers,
|
|
98
98
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
99
|
-
} }, h("tr", { key: '
|
|
99
|
+
} }, h("tr", { key: 'd7d544ea5dd7d54c7599797fd22f5dcc610740d9' }, this.multiselect && (h("th", { key: 'de1d90c31d0bea8c277a748c4f9a5cda5251cb2f', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '3e62bed00d239585d752e76f522f656f796084f5', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '0500722422e1512430fd01050fac00bfa5d0f165', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '6b71efdaec2bd25f3a28077f90c42dc5bc950339', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '32f0040445889329eabd3f2084890721d1799636' }))));
|
|
100
100
|
}
|
|
101
101
|
get host() { return getElement(this); }
|
|
102
102
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
|
|
3
3
|
const tableToolbarCss = () => `:host{box-sizing:border-box;display:table-caption;position:relative;background-color:var(--tds-table-toolbar-background);color:var(--tds-table-color);padding:0 var(--tds-spacing-element-16);height:64px;border-top-left-radius:4px;border-top-right-radius:4px}:host *{box-sizing:border-box}:host .tds-table__upper-bar-flex{width:100%;height:100%;display:flex;justify-content:space-between}:host .tds-table__actionbar-left{display:flex}:host .tds-table__title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);padding-top:var(--tds-spacing-element-16);text-align:left;margin-right:var(--tds-spacing-element-8)}:host .tds-table__actionbar,:host slot[name=end]::slotted(*),:host slot[name=start]::slotted(*){display:flex;align-self:center}:host .tds-table__searchbar{display:flex;align-self:center;position:relative;height:40px;width:40px;border-radius:4px 4px 0 0;transition:background-color 250ms ease, width 250ms ease;overflow:hidden;background-color:transparent}:host .tds-table__searchbar::after{content:"";width:100%;height:2px;position:absolute;bottom:0;background-color:var(--tds-blue-400);transform:scaleX(0);transition:transform 150ms ease}:host .tds-table__searchbar:focus-within::after{transform:scaleX(100%)}:host .tds-table__searchbar:focus-within,:host .tds-table__searchbar.tds-table__searchbar--active{width:208px;background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:focus-within:hover,:host .tds-table__searchbar.tds-table__searchbar--active:hover{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar .tds-table__searchbar-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);z-index:1;width:100%;height:100%;border:none;padding:0 36px 0 16px;background-color:transparent;outline:none;cursor:pointer}:host .tds-table__searchbar .tds-table__searchbar-input :focus{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:hover{background-color:var(--tds-table-toolbar-searchbar-background-hover)}:host .tds-table__searchbar .tds-table__searchbar-icon{z-index:0;position:absolute;right:9px;top:9px;width:20px;height:20px}:host(.toolbar__horizontal-scroll){position:absolute;top:var(--tds-spacing-element-16)}:host(.tds-table--compact){height:56px}`;
|
|
4
4
|
|
|
@@ -74,10 +74,10 @@ const TdsTableToolbar = class {
|
|
|
74
74
|
return styles;
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'b98524b265ec24c7204f78fdba7298806488c5cd', class: {
|
|
78
78
|
'tds-table--compact': this.compactDesign,
|
|
79
79
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
80
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
80
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '474eb3d4623e98f69094a9d5c6942fa2bef05fd2', class: "tds-table__upper-bar-flex" }, h("div", { key: 'f616780361cc2101ddb2e0e9d112cd596f4a91ed', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '0a8a2e7330352f0c8bce0f29f43f6f5bb7a4204a', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: 'fe7312c205337614665ac25824bfd27c7d9cadc8', name: "start" })), h("div", { key: '95af8f20377ecc20417a8e51dd1e2e619c1eeb21', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '798d8ff8fe3008f09018c095c8b07e2a6df17aa7', class: "tds-table__searchbar" }, h("input", { key: 'e152dc0fcbb47e181788ebbe57ac751332d5cb4c', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: 'fc6a824134d9a41b1aa6864238e0ad37793003ac', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '8ed3d82df541b903c9b6d8e36e172ce15c2d5f54', name: "search", size: "20px" })))), h("slot", { key: 'de8d5e9242b9bb1de8a8254cd08fdd41eb76a5e5', name: "end" })))));
|
|
81
81
|
}
|
|
82
82
|
get host() { return getElement(this); }
|
|
83
83
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const tableCss = () => `:host,:root{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host,.tds-table{border-collapse:collapse;display:table;box-sizing:border-box}:host *,.tds-table *{box-sizing:border-box}:host(.tds-table--responsive),.tds-table--responsive{width:100%}.tds-table--horizontal-scroll{display:block;overflow-x:scroll;white-space:nowrap}.tds-table--horizontal-scroll:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background-clip:padding-box}.tds-table--horizontal-scroll::-webkit-scrollbar{height:var(--tds-scrollbar-height)}.tds-table--horizontal-scroll::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}.tds-table--horizontal-scroll::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}.tds-table--horizontal-scroll::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){.tds-table--horizontal-scroll{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}.tds-table--horizontal-scroll-toolbar{margin-top:64px}.tds-table--horizontal-scroll-toolbar-compact{margin-top:56px}.tds-table--horizontal-scroll-footer{margin-bottom:49px}.tds-table--horizontal-scroll-footer-compact{margin-bottom:33px}`;
|
|
@@ -111,11 +111,11 @@ const TdsTable = class {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: '22e1189b298e2af0346a3a04126eed47528f1169', class: {
|
|
115
115
|
'tds-table--responsive': this.responsive,
|
|
116
116
|
'tds-mode-variant-primary': this.modeVariant === 'primary',
|
|
117
117
|
'tds-mode-variant-secondary': this.modeVariant === 'secondary',
|
|
118
|
-
} }, h("table", { key: '
|
|
118
|
+
} }, h("table", { key: '9a756d4799eba3dc75b6a7d5cb75c53a21509949', style: this.getStyles(), class: {
|
|
119
119
|
'tds-table': true,
|
|
120
120
|
'tds-table--compact': this.compactDesign,
|
|
121
121
|
'tds-table--divider': this.verticalDividers,
|
|
@@ -126,7 +126,7 @@ const TdsTable = class {
|
|
|
126
126
|
'tds-table--horizontal-scroll-toolbar-compact': this.enableHorizontalScrollToolbarDesign && this.compactDesign,
|
|
127
127
|
'tds-table--horizontal-scroll-footer': this.enableHorizontalScrollFooterDesign && !this.compactDesign,
|
|
128
128
|
'tds-table--horizontal-scroll-footer-compact': this.enableHorizontalScrollFooterDesign && this.compactDesign,
|
|
129
|
-
} }, h("slot", { key: '
|
|
129
|
+
} }, h("slot", { key: '2f0e653f4d44b8ada5933ab2389338b92ed48493' }))));
|
|
130
130
|
}
|
|
131
131
|
get host() { return getElement(this); }
|
|
132
132
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
|
|
3
3
|
|
|
4
4
|
const tagCss = () => `.sc-tds-tag-h{box-sizing:border-box;display:inline-flex;align-items:center;border-radius:4px;background-color:var(--tds-tag-neutral-background);color:var(--tds-tag-neutral-color);gap:4px}.sc-tds-tag-h *.sc-tds-tag{box-sizing:border-box}.lg.sc-tds-tag-h{padding:4px}.sm.sc-tds-tag-h{border-radius:2px;padding:2px 4px;font:var(--tds-detail-05)}.success.sc-tds-tag-h{background-color:var(--tds-tag-success-background);color:var(--tds-tag-success-color)}.warning.sc-tds-tag-h{background-color:var(--tds-tag-warning-background);color:var(--tds-tag-warning-color)}.new.sc-tds-tag-h{background-color:var(--tds-tag-new-background);color:var(--tds-tag-new-color)}.neutral.sc-tds-tag-h{background-color:var(--tds-tag-neutral-background);color:var(--tds-tag-neutral-color)}.information.sc-tds-tag-h{background-color:var(--tds-tag-information-background);color:var(--tds-tag-information-color)}.error.sc-tds-tag-h{background-color:var(--tds-tag-error-background);color:var(--tds-tag-error-color)}.tds-tag__content.sc-tds-tag{display:flex;align-items:center;gap:inherit}`;
|
|
@@ -17,7 +17,7 @@ const TdsTag = class {
|
|
|
17
17
|
[`${this.size.toLowerCase()}`]: true,
|
|
18
18
|
[this.variant.toLowerCase()]: true,
|
|
19
19
|
});
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '8a514622cb84f2315dea806ffb922e254b0b91ba', class: getTagClasses() }, h("div", { key: 'bb73048a5c82e216eeb71ab1cf9c4dc692032fea', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: 'e0fa00414957f3d226f61702d558f64fae6d4e4c', name: "prefix" }), h("span", { key: '2b67dbbc318d329f37a4a8fa98b23eb57dc7bd63' }, this.text))));
|
|
21
21
|
}
|
|
22
22
|
get host() { return getElement(this); }
|
|
23
23
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
|
|
3
3
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
4
4
|
import { g as getAriaInvalid } from './getAriaInvalid-wEP_nEaO.js';
|
|
@@ -115,7 +115,7 @@ const TdsTextField = class {
|
|
|
115
115
|
var _a, _b, _c, _d;
|
|
116
116
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
117
117
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
118
|
-
return (h("div", { key: '
|
|
118
|
+
return (h("div", { key: '4fd0686a033ebdbf1385c476895db195bad7dc00', class: {
|
|
119
119
|
'form-text-field': true,
|
|
120
120
|
'form-text-field-nomin': this.noMinWidth,
|
|
121
121
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -133,12 +133,12 @@ const TdsTextField = class {
|
|
|
133
133
|
'form-text-field-sm': this.size === 'sm',
|
|
134
134
|
'form-text-field-error': this.state === 'error',
|
|
135
135
|
'form-text-field-success': this.state === 'success',
|
|
136
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
136
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: '8e35ace912af1b61363e021430a0e8b0ea8a163c', class: "text-field-label-outside" }, h("label", { key: '585feefbdc36b6a4201bc5c379e5f71393bad90a', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'f849868018e4ce4be297f98b1b64443319df21a7', onClick: () => { var _a; return (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus(); }, class: "text-field-container" }, usesPrefixSlot && (h("div", { key: 'fb824b9b90f1a350a05ccfb04af41e9c14d7de33', class: {
|
|
137
137
|
'text-field-slot-wrap-prefix': true,
|
|
138
138
|
'text-field-error': this.state === 'error',
|
|
139
139
|
'text-field-success': this.state === 'success',
|
|
140
140
|
'text-field-default': this.state === 'default',
|
|
141
|
-
} }, h("slot", { key: '
|
|
141
|
+
} }, h("slot", { key: 'e0e067e04be232ae73b320e5129ac22677b07691', name: "prefix" }))), h("div", { key: '930a368eaedf127ed4f6b9a1057d790a3c489537', class: "text-field-input-container" }, h("input", { key: 'a5b4d370d56c90de392c7ad377b1cdbbf7945626', ref: (inputEl) => {
|
|
142
142
|
this.textInput = inputEl;
|
|
143
143
|
}, class: {
|
|
144
144
|
'text-field-input': true,
|
|
@@ -154,13 +154,13 @@ const TdsTextField = class {
|
|
|
154
154
|
if (!this.readOnly) {
|
|
155
155
|
this.handleBlur(event);
|
|
156
156
|
}
|
|
157
|
-
}, "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: '
|
|
157
|
+
}, "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: '190da96bf7ebd717750a807db70a490153a813d5', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: 'f67de945a3471235aeeb04398b42b96082b6fd3e', class: {
|
|
158
158
|
'text-field-slot-wrap-suffix': true,
|
|
159
159
|
'text-field-error': this.state === 'error',
|
|
160
160
|
'text-field-success': this.state === 'success',
|
|
161
161
|
'text-field-default': this.state === 'default',
|
|
162
162
|
'tds-u-display-none': this.readOnly,
|
|
163
|
-
} }, h("slot", { key: '
|
|
163
|
+
} }, h("slot", { key: '3a469bf74bb3edd11f0998532c9a439a14b305b5', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '7c4095a3ab33bbdd508475f829a03171c5f32b51', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: '0d8378eef86aa5201871b8436563e0b5339b9d19', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: 'de5431eb6983750bd4cccd17af58bcf0a2541d1e', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: '02f2e7f86126b10049344b2b07e8c6a43618ada4', "aria-live": "assertive" }, (this.helper || ((_a = this.maxLength) !== null && _a !== void 0 ? _a : 0) > 0) && (h("div", { key: '04c6f48d0993c9787da6793f3379ef4f90d4eefd', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '83308a0fcd2cd9507592086194541a6a37733370', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: '061681ecbfd4a354f4175ad2b3dfacf2c054cced', 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: '36025b5f0d44833c60984ee9a591b2e2b6734bce', class: {
|
|
164
164
|
'text-field-textcounter-divider': true,
|
|
165
165
|
'text-field-textcounter-disabled': this.disabled,
|
|
166
166
|
} }, this.value === null ? 0 : (_c = this.value) === null || _c === void 0 ? void 0 : _c.length, " / ", (_d = this.maxLength) !== null && _d !== void 0 ? _d : 0)))))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
import { g as getAriaInvalid } from './getAriaInvalid-wEP_nEaO.js';
|
|
4
4
|
|
|
@@ -78,7 +78,7 @@ const TdsTextarea = class {
|
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
80
|
var _a, _b;
|
|
81
|
-
return (h("div", { key: '
|
|
81
|
+
return (h("div", { key: '09cd1df4c73550cbe10f6de7127e2835e8e8e90f', class: {
|
|
82
82
|
'textarea-container': true,
|
|
83
83
|
'textarea-label-inside': this.labelPosition === 'inside',
|
|
84
84
|
'textarea-focus': this.focusInput,
|
|
@@ -88,7 +88,7 @@ const TdsTextarea = class {
|
|
|
88
88
|
'textarea-data': this.value !== '',
|
|
89
89
|
[`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
|
|
90
90
|
'no-min-width': this.noMinWidth,
|
|
91
|
-
} }, this.labelPosition !== 'no-label' && (h("label", { key: '
|
|
91
|
+
} }, this.labelPosition !== 'no-label' && (h("label", { key: '16f1f2dc1993c0056aee8bfd82de399292ea1496', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '86fcb4db0544d59bdc62f313a2ad1b7bec232456', class: "textarea-wrapper" }, h("textarea", { key: '43addcf60de1c7de4dd5fd71b2d4e448cc36d0e8', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
|
|
92
92
|
this.textEl = inputEl;
|
|
93
93
|
}, 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) => {
|
|
94
94
|
if (!this.readOnly) {
|
|
@@ -98,7 +98,7 @@ const TdsTextarea = class {
|
|
|
98
98
|
if (!this.readOnly) {
|
|
99
99
|
this.handleBlur(event);
|
|
100
100
|
}
|
|
101
|
-
}, 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: '
|
|
101
|
+
}, 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: '79003f45831eab0125d36f3cae8e5e94016737ab', class: "textarea-resizer-icon" }, h("svg", { key: '215bb650c9d5755fb1efc60fb8f860cbd320ff81', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'e7eee0f9e40c8000232f922f20461f898d3ee897', "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: 'ee804d2983da6c42e3ce071b1e1cf1183a47500b', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '581368602f2ffcedc7af6b54c406999a731854a8', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '58de6e587437522439676f57fee5143ba28a9763', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: '0d266c48b18cb493ac1b70268bdaceb0228397d8', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: 'cbc610ddb25b27dcb9ec84357594289335edf21a', name: "error", size: "16px" })), this.helper), ((_a = this.maxLength) !== null && _a !== void 0 ? _a : 0) > 0 && (h("div", { key: 'f600283d05fad5e2ac4d14e759008021ff9a3c25', class: 'textarea-textcounter' }, this.value === null ? 0 : (_b = this.value) === null || _b === void 0 ? void 0 : _b.length, h("span", { key: '2a4d1ed0e0a6ece6d2fc0943d6f44a897f8bfcfb', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
102
102
|
}
|
|
103
103
|
get host() { return getElement(this); }
|
|
104
104
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
|
|
4
4
|
|
|
@@ -68,12 +68,12 @@ const TdsToast = class {
|
|
|
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: '0835688f4f40b81c9117a29849b1843cdcbdbbf1', "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: 'a57942ecd8e8603b93a2c6c762942488f1bdf572', class: `
|
|
75
75
|
wrapper
|
|
76
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
76
|
+
${this.variant}` }, h("tds-icon", { key: '7d214ebc4f832028a0d4947518741801ea8d6c2a', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: '5e98237b18d5b20532f9c10124db1b71514f633e', class: `content` }, h("div", { key: 'be552f6baad706519327675a83030019bdc31e01', class: "header-subheader" }, this.header && h("div", { key: '937da56fb92a01902d944633429863c8a6ebb746', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '4da7b907aaba71f0c597921332ec960e3d4658c1', name: "header" }), this.subheader && h("div", { key: '27da7407725a08b5fea764e035f0145a61f18a6c', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '8cf0036dcf12a361d436287ee108fa966c3242e3', name: "subheader" })), usesActionsSlot && (h("div", { key: '49ea6249170e0e57a5f194cd05d319ee39f8a259', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: '0152c8e793f592c594f9c964e847ff9e6968121d', name: "actions" })))), this.closable && (h("button", { key: '331a00084a268346fd7350204a666a314a200c13', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: 'a0fcd31377ce27940d7a6db1c7086791a54f548c', name: "cross", size: "20px", svgTitle: "cross" }))))));
|
|
77
77
|
}
|
|
78
78
|
get host() { return getElement(this); }
|
|
79
79
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
|
|
3
3
|
|
|
4
4
|
const toggleCss = () => `.tds-toggle.sc-tds-toggle .disabled.sc-tds-toggle{cursor:not-allowed}.tds-toggle.sc-tds-toggle .toggle-headline.sc-tds-toggle{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-toggle-headline);margin-bottom:12px}.tds-toggle.sc-tds-toggle .toggle-headline.disabled.sc-tds-toggle{color:var(--tds-toggle-headline-disabled)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle{appearance:initial;margin:0;width:44px;height:24px;position:relative;display:inline-block;vertical-align:middle;cursor:pointer}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle::after,.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle::before{content:"";position:absolute;box-sizing:border-box;transition:all var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-scania)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle::before{width:44px;height:24px;border-radius:16px;background-color:var(--tds-toggle-off-slider);left:0;border:1px solid transparent}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle::after{width:16px;height:16px;background-color:var(--tds-toggle-switch);border-radius:50%;left:4px;top:4px}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:focus-visible{outline:none;outline:2px solid var(--tds-toggle-border-outline);border-radius:16px;outline-offset:-2px}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:focus-visible::before{width:40px;height:20px;left:2px;top:2px;background-color:var(--tds-toggle-off-slider-focus);border:1px solid var(--tds-toggle-off-border-focus)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:hover::before{background-color:var(--tds-toggle-off-slider-hover)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:active::before{background-color:var(--tds-toggle-off-slider-pressed)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:checked::before{background-color:var(--tds-toggle-on-slider)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:checked:focus-visible::before{background-color:var(--tds-toggle-on-slider-focus);border:1px solid var(--tds-toggle-on-border-focus)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:checked:hover::before{background-color:var(--tds-toggle-on-slider-hover)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:checked:active::before{background-color:var(--tds-toggle-on-slider-pressed)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:checked::after{left:24px}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:disabled{cursor:not-allowed}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:disabled::before{background-color:var(--tds-toggle-slider-disabled);border:1px solid var(--tds-toggle-slider-disabled)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:disabled::after{background-color:var(--tds-toggle-switch-disabled)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:disabled:checked::before{background-color:var(--tds-toggle-on-slider-disabled);border:1px solid var(--tds-toggle-on-slider-disabled)}.tds-toggle.sc-tds-toggle input[type=checkbox].sc-tds-toggle:disabled:checked::after{background-color:var(--tds-toggle-switch-disabled)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle{width:28px;height:16px}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle::before{width:28px;height:16px}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle::after{width:8px;height:8px}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:focus-visible::before{width:24px;height:12px;left:2px;top:2px;background-color:var(--tds-toggle-off-slider-focus);border:1px solid var(--tds-toggle-off-border-focus)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:focus-visible:active::before{background-color:var(--tds-toggle-off-slider-pressed)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:active::before{background-color:var(--tds-toggle-off-slider-pressed)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:checked::before{background-color:var(--tds-toggle-on-slider)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:checked:focus-visible::before{background-color:var(--tds-toggle-on-slider-focus);border:1px solid var(--tds-toggle-on-border-focus)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:checked:hover::before{background-color:var(--tds-toggle-on-slider-hover)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:checked:active::before{background-color:var(--tds-toggle-on-slider-pressed)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:checked::after{left:16px}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:disabled::before{background-color:var(--tds-toggle-slider-disabled);border:1px solid var(--tds-toggle-slider-disabled)}.tds-toggle.sc-tds-toggle input[type=checkbox].sm.sc-tds-toggle:disabled::after{background-color:var(--tds-toggle-switch-disabled)}.tds-toggle.sc-tds-toggle label.sc-tds-toggle{display:inline-block;vertical-align:middle;font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls);color:var(--tds-toggle-label-color);padding-left:8px;cursor:pointer}.tds-toggle.sc-tds-toggle label.disabled.sc-tds-toggle{color:var(--tds-toggle-label-color-disabled)}`;
|
|
@@ -43,13 +43,13 @@ const TdsToggle = class {
|
|
|
43
43
|
this.labelSlot = this.host.querySelector("[slot='label']");
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '84bc1933154949cee35a800438eee3e938c70b33', class: "tds-toggle" }, this.headline && (h("div", { key: '72a2dd88cc952e4c69dd2c63a4f07039701ed9e1', class: {
|
|
47
47
|
'toggle-headline': true,
|
|
48
48
|
'disabled': this.disabled,
|
|
49
|
-
} }, this.headline)), h("input", { key: '
|
|
49
|
+
} }, this.headline)), h("input", { key: 'c1a6d43bc1580ee9d8a539da383991b415fc9a37', ref: (inputEl) => {
|
|
50
50
|
if (inputEl)
|
|
51
51
|
this.inputElement = inputEl;
|
|
52
|
-
}, "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: '
|
|
52
|
+
}, "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: 'a99e706b380c94f3cf4225e143ea089a6849dcd5', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: 'fe70e2b3c7da93ad09d613dbbb91047caecfef61', name: "label" })))));
|
|
53
53
|
}
|
|
54
54
|
get host() { return getElement(this); }
|
|
55
55
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BdzyrAx0.js';
|
|
2
2
|
import { i as inheritAttributes } from './inheritAttributes-CF8bH08v.js';
|
|
3
3
|
|
|
4
4
|
const tooltipCss = () => `.sc-tds-tooltip-h{position:absolute}.tds-tooltip.sc-tds-tooltip{box-sizing:border-box;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-tooltip-color);background-color:var(--tds-tooltip-background);border-radius:4px;padding:8px;word-wrap:break-word;white-space:normal;max-width:192px;z-index:900;opacity:0;visibility:hidden;transition:opacity 200ms ease-in, visibility 200ms ease-in}.tds-tooltip.sc-tds-tooltip *.sc-tds-tooltip{box-sizing:border-box}.tds-tooltip.tds-tooltip-top-left.sc-tds-tooltip{border-radius:0 4px 4px}.tds-tooltip.tds-tooltip-top-right.sc-tds-tooltip{border-radius:4px 0 4px 4px}.tds-tooltip.tds-tooltip-bottom-right.sc-tds-tooltip{border-radius:4px 4px 0}.tds-tooltip.tds-tooltip-bottom-left.sc-tds-tooltip{border-radius:4px 4px 4px 0}.tds-tooltip-show.sc-tds-tooltip{opacity:1;visibility:visible}`;
|
|
@@ -65,7 +65,7 @@ const TdsTooltip = class {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
var _a;
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '37b0078f12fc026bcb8c69c5bb3a8e33bbc7c20f', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: '1766cc066aead022511bf9adc94e1d5bf19fd261' }, this.inheritedAttributes, { class: {
|
|
69
69
|
'tds-tooltip': true,
|
|
70
70
|
[`tds-tooltip-${this.border}`]: true,
|
|
71
71
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
@@ -74,7 +74,7 @@ const TdsTooltip = class {
|
|
|
74
74
|
this.show = true;
|
|
75
75
|
}, onInternalTdsClose: () => {
|
|
76
76
|
this.show = false;
|
|
77
|
-
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '
|
|
77
|
+
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '2ee57dc01f144f19bad5296d915e120ab815e57d' }))));
|
|
78
78
|
}
|
|
79
79
|
get host() { return getElement(this); }
|
|
80
80
|
};
|