@scania/tegel 1.29.0-tabs-initialization-issue-beta.1 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
- package/dist/cjs/tds-datetime.cjs.entry.js +9 -5
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +38 -11
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +21 -3
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +6 -19
- package/dist/cjs/tds-link.cjs.entry.js +2 -2
- package/dist/cjs/tds-message.cjs.entry.js +3 -3
- package/dist/cjs/tds-modal.cjs.entry.js +19 -7
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu.cjs.entry.js +2 -2
- package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +4 -3
- package/dist/cjs/tds-slider.cjs.entry.js +36 -22
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +5 -5
- package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -2
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +2 -2
- package/dist/collection/components/datetime/datetime.css +6 -3
- package/dist/collection/components/datetime/datetime.js +29 -7
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +37 -10
- package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
- package/dist/collection/components/header/header-item/header-item.js +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +19 -3
- package/dist/{components/p-9b40a24d.js → collection/components/icon/scaniaIconsArray.js} +246 -66
- package/dist/collection/components/icon/tratonIconsArray.js +32 -0
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.js +3 -3
- package/dist/collection/components/modal/modal.js +19 -7
- package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
- package/dist/collection/components/popover-core/popover-core.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.js +2 -2
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/side-menu/side-menu.js +4 -3
- package/dist/collection/components/slider/slider.js +36 -22
- package/dist/collection/components/spinner/spinner.css +1 -0
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/table/table-body/table-body.js +2 -2
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
- package/dist/collection/components/table/table-footer/table-footer.js +3 -3
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +6 -37
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/text-field/text-field.js +5 -5
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/types/ScaniaIcons.js +1 -0
- package/dist/collection/types/TratonIcons.js +1 -0
- package/dist/components/{p-b0ca50a3.js → p-2e25c35b.js} +1 -1
- package/dist/components/{p-8a483a61.js → p-6732b15a.js} +2 -2
- package/dist/components/{p-7dbc1182.js → p-6cdccb27.js} +3 -3
- package/dist/components/{p-9ba3c16e.js → p-7ee8b262.js} +2 -2
- package/dist/components/{p-74971a3e.js → p-84a20410.js} +2 -2
- package/dist/components/{p-da0800c1.js → p-877931c5.js} +1 -1
- package/dist/components/{p-3f2187a4.js → p-927cf777.js} +1 -1
- package/dist/components/{p-e1622f4a.js → p-9ad61cb5.js} +1 -1
- package/dist/components/{p-76c8d381.js → p-a2dafd0e.js} +3 -3
- package/dist/components/{p-ce28efb8.js → p-adbf32b9.js} +38 -11
- package/dist/components/{p-bff614d5.js → p-b609e7a7.js} +1 -1
- package/dist/components/p-c715ab56.js +85 -0
- package/dist/components/{p-9336db16.js → p-d0cf68be.js} +1 -1
- package/dist/components/{p-cb52e59b.js → p-d4fa1832.js} +3 -3
- package/dist/components/{p-f4c6f29b.js → p-ece91cb9.js} +4 -4
- package/dist/components/tds-accordion-item.js +3 -3
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-body-cell.js +2 -2
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.js +12 -7
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +2 -2
- package/dist/components/tds-folder-tabs.js +3 -3
- package/dist/components/tds-footer-group.js +4 -4
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +2 -2
- package/dist/components/tds-header-brand-symbol.js +3 -3
- package/dist/components/tds-header-cell.js +2 -2
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown-list.js +1 -1
- package/dist/components/tds-header-dropdown.js +8 -8
- package/dist/components/tds-header-hamburger.js +4 -4
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid-item.js +1 -1
- package/dist/components/tds-header-launcher-grid-title.js +1 -1
- package/dist/components/tds-header-launcher-grid.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +2 -2
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher-list.js +2 -2
- package/dist/components/tds-header-launcher.js +8 -8
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +1 -1
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +7 -21
- package/dist/components/tds-link.js +2 -2
- package/dist/components/tds-message.js +4 -4
- package/dist/components/tds-modal.js +20 -8
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +5 -5
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu-item.js +2 -2
- package/dist/components/tds-popover-menu.js +3 -3
- package/dist/components/tds-radio-button.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +2 -2
- package/dist/components/tds-side-menu-collapse-button.js +5 -5
- package/dist/components/tds-side-menu-dropdown-list-item.js +2 -2
- package/dist/components/tds-side-menu-dropdown-list.js +2 -2
- package/dist/components/tds-side-menu-dropdown.js +5 -5
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +3 -3
- package/dist/components/tds-side-menu.js +4 -3
- package/dist/components/tds-slider.js +37 -23
- package/dist/components/tds-spinner.js +2 -2
- package/dist/components/tds-step.js +2 -2
- package/dist/components/tds-table-body-input-wrapper.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +7 -7
- package/dist/components/tds-table-body-row.js +2 -2
- package/dist/components/tds-table-body.js +2 -2
- package/dist/components/tds-table-footer.js +6 -6
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +2 -2
- package/dist/components/tds-table-toolbar.js +3 -3
- package/dist/components/tds-text-field.js +6 -6
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +4 -4
- package/dist/components/tds-toggle.js +2 -2
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +2 -2
- package/dist/esm/tds-body-cell.entry.js +2 -2
- package/dist/esm/tds-core-header-item_2.entry.js +3 -3
- package/dist/esm/tds-datetime.entry.js +9 -5
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +38 -11
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +2 -2
- package/dist/esm/tds-footer-group.entry.js +3 -3
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +2 -2
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +3 -3
- package/dist/esm/tds-header-hamburger.entry.js +1 -1
- package/dist/esm/tds-header-launcher-button.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +2 -2
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +22 -4
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +6 -19
- package/dist/esm/tds-link.entry.js +2 -2
- package/dist/esm/tds-message.entry.js +3 -3
- package/dist/esm/tds-modal.entry.js +19 -7
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +4 -4
- package/dist/esm/tds-popover-canvas.entry.js +2 -2
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +2 -2
- package/dist/esm/tds-popover-menu.entry.js +2 -2
- package/dist/esm/tds-radio-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
- package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -4
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
- package/dist/esm/tds-side-menu-dropdown.entry.js +3 -3
- package/dist/esm/tds-side-menu-item.entry.js +2 -2
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
- package/dist/esm/tds-side-menu-user.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +4 -3
- package/dist/esm/tds-slider.entry.js +36 -22
- package/dist/esm/tds-spinner.entry.js +2 -2
- package/dist/esm/tds-step.entry.js +1 -1
- package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-body-row-expandable.entry.js +7 -7
- package/dist/esm/tds-table-body-row.entry.js +2 -2
- package/dist/esm/tds-table-body.entry.js +2 -2
- package/dist/esm/tds-table-footer.entry.js +3 -3
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +2 -2
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +5 -5
- package/dist/esm/tds-textarea.entry.js +3 -3
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +2 -2
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/{p-6c8b40f7.entry.js → p-051c9000.entry.js} +1 -1
- package/dist/tegel/{p-2deba066.entry.js → p-06d3490c.entry.js} +1 -1
- package/dist/tegel/{p-8afeb375.entry.js → p-0955d5fc.entry.js} +1 -1
- package/dist/tegel/{p-4cafd755.entry.js → p-0ca95c76.entry.js} +1 -1
- package/dist/tegel/p-0cfe8671.entry.js +1 -0
- package/dist/tegel/{p-27e64ae1.entry.js → p-1116da44.entry.js} +1 -1
- package/dist/tegel/{p-003184ea.entry.js → p-1336fb6c.entry.js} +1 -1
- package/dist/tegel/{p-646d1df4.entry.js → p-1bbef1a5.entry.js} +1 -1
- package/dist/tegel/{p-54ac3ec2.entry.js → p-2286d4c3.entry.js} +1 -1
- package/dist/tegel/p-22b6223e.entry.js +1 -0
- package/dist/tegel/p-23ea1922.entry.js +1 -0
- package/dist/tegel/p-26e8f033.entry.js +1 -0
- package/dist/tegel/p-2774f177.entry.js +1 -0
- package/dist/tegel/p-27c2f109.entry.js +1 -0
- package/dist/tegel/{p-7486e9f9.entry.js → p-29170339.entry.js} +1 -1
- package/dist/tegel/{p-97e88e6e.entry.js → p-2c56421f.entry.js} +1 -1
- package/dist/tegel/{p-e5e9bd0c.entry.js → p-2e1d2b49.entry.js} +1 -1
- package/dist/tegel/{p-4e8e7bcd.entry.js → p-3c51a017.entry.js} +1 -1
- package/dist/tegel/{p-f31f56fe.entry.js → p-3ec01fb3.entry.js} +1 -1
- package/dist/tegel/p-462a6049.entry.js +1 -0
- package/dist/tegel/p-46c9af0f.entry.js +1 -0
- package/dist/tegel/{p-4241afd6.entry.js → p-4bd0d41c.entry.js} +1 -1
- package/dist/tegel/p-503cea9d.entry.js +1 -0
- package/dist/tegel/{p-c1eb973b.entry.js → p-5ade1970.entry.js} +1 -1
- package/dist/tegel/{p-0e5c6384.entry.js → p-5bb01a99.entry.js} +1 -1
- package/dist/tegel/p-5bca9fe7.entry.js +1 -0
- package/dist/tegel/p-601a74ad.entry.js +1 -0
- package/dist/tegel/{p-1647691e.entry.js → p-614cc097.entry.js} +1 -1
- package/dist/tegel/{p-dfe4bb23.entry.js → p-6631ea34.entry.js} +1 -1
- package/dist/tegel/p-69a6a39d.entry.js +1 -0
- package/dist/tegel/{p-07524838.entry.js → p-6cdbdb4e.entry.js} +1 -1
- package/dist/tegel/p-6eed8c31.entry.js +1 -0
- package/dist/tegel/p-760ab1ad.entry.js +1 -0
- package/dist/tegel/p-7caad569.entry.js +1 -0
- package/dist/tegel/{p-c0cbc9f5.entry.js → p-7cb9790d.entry.js} +1 -1
- package/dist/tegel/p-7d427dff.entry.js +1 -0
- package/dist/tegel/{p-2446dfb6.entry.js → p-87ba6285.entry.js} +1 -1
- package/dist/tegel/{p-c23a3f12.entry.js → p-9099d978.entry.js} +1 -1
- package/dist/tegel/p-90a97cc2.entry.js +1 -0
- package/dist/tegel/{p-319e992d.entry.js → p-98106799.entry.js} +1 -1
- package/dist/tegel/{p-d94b21ce.entry.js → p-9899e52e.entry.js} +1 -1
- package/dist/tegel/{p-87929060.entry.js → p-9d8bb017.entry.js} +1 -1
- package/dist/tegel/{p-33f1f60e.entry.js → p-a1262f8f.entry.js} +1 -1
- package/dist/tegel/{p-7ef50e7f.entry.js → p-a66a4a4e.entry.js} +1 -1
- package/dist/tegel/{p-354d3986.entry.js → p-a829417c.entry.js} +1 -1
- package/dist/tegel/{p-0c421cde.entry.js → p-a9253c3a.entry.js} +1 -1
- package/dist/tegel/{p-1286da6a.entry.js → p-ab103d0c.entry.js} +1 -1
- package/dist/tegel/{p-286f470e.entry.js → p-abad3489.entry.js} +1 -1
- package/dist/tegel/p-ae0fed95.entry.js +1 -0
- package/dist/tegel/{p-08ad6a21.entry.js → p-aec3e4cf.entry.js} +1 -1
- package/dist/tegel/p-b152840e.entry.js +1 -0
- package/dist/tegel/{p-37e979b3.entry.js → p-b6a4f459.entry.js} +1 -1
- package/dist/tegel/p-b7848493.entry.js +1 -0
- package/dist/tegel/{p-e88b2128.entry.js → p-b994e7ac.entry.js} +1 -1
- package/dist/tegel/{p-58b928e5.entry.js → p-bbeb4e1b.entry.js} +1 -1
- package/dist/tegel/{p-2faeb483.entry.js → p-bcdf13e0.entry.js} +1 -1
- package/dist/tegel/{p-9f187848.entry.js → p-bd935506.entry.js} +1 -1
- package/dist/tegel/p-c3d91dfa.entry.js +1 -0
- package/dist/tegel/{p-918a3c1a.entry.js → p-d14500a1.entry.js} +1 -1
- package/dist/tegel/{p-7f2228be.entry.js → p-d29a777f.entry.js} +1 -1
- package/dist/tegel/{p-6b675e89.entry.js → p-d4891ce6.entry.js} +1 -1
- package/dist/tegel/p-d56f426f.entry.js +1 -0
- package/dist/tegel/{p-8a4837ae.entry.js → p-debd6adc.entry.js} +1 -1
- package/dist/tegel/p-e7a452a8.entry.js +1 -0
- package/dist/tegel/{p-d7cdbc4e.entry.js → p-f4b5e80b.entry.js} +1 -1
- package/dist/tegel/{p-f2318c88.entry.js → p-fbffe3aa.entry.js} +1 -1
- package/dist/tegel/{p-faa512fd.entry.js → p-fc0ceca7.entry.js} +1 -1
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/datetime/datetime.d.ts +3 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +3 -1
- package/dist/types/components/slider/slider.d.ts +1 -0
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +0 -3
- package/dist/types/components.d.ts +10 -10
- package/dist/types/types/Icons.d.ts +3 -1
- package/dist/types/types/ScaniaIcons.d.ts +1 -0
- package/dist/types/types/TratonIcons.d.ts +1 -0
- package/package.json +1 -1
- package/dist/tegel/p-05da560e.entry.js +0 -1
- package/dist/tegel/p-0bd4fd5c.entry.js +0 -1
- package/dist/tegel/p-0e37277e.entry.js +0 -1
- package/dist/tegel/p-0fd8e378.entry.js +0 -1
- package/dist/tegel/p-304f5a5c.entry.js +0 -1
- package/dist/tegel/p-3c348fcb.entry.js +0 -1
- package/dist/tegel/p-4de2807c.entry.js +0 -1
- package/dist/tegel/p-5c8fd75e.entry.js +0 -1
- package/dist/tegel/p-63d2c1fe.entry.js +0 -1
- package/dist/tegel/p-66786ba0.entry.js +0 -1
- package/dist/tegel/p-8e9c6ef4.entry.js +0 -1
- package/dist/tegel/p-8f1aead7.entry.js +0 -1
- package/dist/tegel/p-9858b0fe.entry.js +0 -1
- package/dist/tegel/p-a56ad3d8.entry.js +0 -1
- package/dist/tegel/p-ab00e6e4.entry.js +0 -1
- package/dist/tegel/p-b210d23c.entry.js +0 -1
- package/dist/tegel/p-ba51ab15.entry.js +0 -1
- package/dist/tegel/p-c163d44f.entry.js +0 -1
- package/dist/tegel/p-c1b7d773.entry.js +0 -1
- package/dist/tegel/p-ca32a270.entry.js +0 -1
- package/dist/tegel/p-ccbafacd.entry.js +0 -1
- package/dist/tegel/p-e0092845.entry.js +0 -1
- package/dist/tegel/p-eff1d877.entry.js +0 -1
|
@@ -83,13 +83,13 @@ export class TdsTableBodyCell {
|
|
|
83
83
|
// Conditionally set padding style
|
|
84
84
|
padding: paddingStyle,
|
|
85
85
|
};
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '726912df89435650c3ad1f39729fdff7d2a497e3', class: {
|
|
87
87
|
'tds-table__body-cell': true,
|
|
88
88
|
'tds-table__body-cell--hover': this.activeSorting,
|
|
89
89
|
'tds-table__compact': this.compactDesign,
|
|
90
90
|
'tds-table--divider': this.verticalDividers,
|
|
91
91
|
'tds-table--no-min-width': this.noMinWidth,
|
|
92
|
-
}, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: '
|
|
92
|
+
}, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: 'ff6fb6613f29e94552916cfa75932b670e22ea80' })));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "tds-body-cell"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js
CHANGED
|
@@ -81,7 +81,7 @@ export class TdsTableBodyInputWrapper {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '47496dfe7467e43cede5af53d6c30fe17c116eaf', class: {
|
|
85
85
|
'focused-input-wrapper': this.inputFocused,
|
|
86
86
|
'show-icon': this.showIcon,
|
|
87
87
|
'tds-table__compact': this.compactDesign,
|
|
@@ -68,13 +68,13 @@ export class TdsTableBodyRow {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '13b790e1c4586e110853125bb2856166f8090cc3', tabindex: this.clickable ? '0' : null, class: {
|
|
72
72
|
'tds-table__row': true,
|
|
73
73
|
'tds-table__row--selected': this.selected,
|
|
74
74
|
'tds-table__compact': this.compactDesign,
|
|
75
75
|
'tds-table--divider': this.verticalDividers,
|
|
76
76
|
'tds-table__row--clickable': this.clickable,
|
|
77
|
-
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '
|
|
77
|
+
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '3a966516c5a227907f9530d047e6e1c19eb5362c', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '90811b5dd064a36dfe9363dae55376fb7b4ca78d', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '4a16bce9add5ec4b9e4119e5361d556f5ee104f9' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "tds-table-body-row"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -101,26 +101,26 @@ export class TdsTableBodyRowExpandable {
|
|
|
101
101
|
this.sendValue();
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '36be80e7cd0916cb8e196f52676281fcabc1996e', class: {
|
|
105
105
|
'tds-table__row': true,
|
|
106
106
|
'tds-table__row-expand--active': this.isExpanded,
|
|
107
107
|
'tds-table__compact': this.compactDesign,
|
|
108
108
|
'tds-table--divider': this.verticalDividers,
|
|
109
|
-
} }, h("tr", { key: '
|
|
109
|
+
} }, h("tr", { key: '868377d055d9d66fcf1824ed811e4a56f67b79e0', id: `expandable-content-${this.rowId}`, class: {
|
|
110
110
|
'tds-table__row': true,
|
|
111
111
|
'tds-table__row--expanded': this.isExpanded,
|
|
112
|
-
}, part: "row" }, h("td", { key: '
|
|
112
|
+
}, part: "row" }, h("td", { key: '059858ff5293deda48d039fdc81dd4a5d8ae6fce', class: {
|
|
113
113
|
'tds-table__cell-expand': true,
|
|
114
|
-
} }, h("label", { key: '
|
|
114
|
+
} }, h("label", { key: '6e05d93a509cb77cb3fd76f3d869b820b5d83163', class: "tds-table__expand-control-container" }, h("input", { key: 'ed7091d4dfdac43c082ee63548c7bff2e87379dd', 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: '84622275a00b28685834e0de8552f5c7a36bc983', class: "tds-expendable-row-icon" }, h("svg", { key: '633d1030453895343295b30142410ece7f15dec3', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'e4d21588ca0bb6fbcd68af3a7afb48bafe180bc1', "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: '5c66154a24fe8d21bb6b9d91930ad7efd4cb1ec5' })), h("tr", { key: '1417c7143b8aaafbb2143557e53443cde9afcbde', class: {
|
|
115
115
|
'tds-table__row-expand': true,
|
|
116
116
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
117
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
117
|
+
}, part: "expand-row" }, h("td", { key: 'b72d532f22b5c7c0bc7c7b23caf5887d4228b9d0', class: {
|
|
118
118
|
'tds-table__cell-expand': true,
|
|
119
119
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
120
120
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
121
|
-
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '
|
|
121
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '256a827b43a8099b9ea4e5a5a43023ff9bf0b828', style: {
|
|
122
122
|
overflow: this.overflow,
|
|
123
|
-
} }, h("slot", { key: '
|
|
123
|
+
} }, h("slot", { key: '6bbc0eeca7b7a654da9c1b7da6992aa8928e1974', name: "expand-row" }))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,12 +127,12 @@ export class TdsTableFooter {
|
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
129
|
var _a;
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: 'fd6a5604adc116a78c9723ce3f16535ea6fa7edf', class: {
|
|
131
131
|
'tds-table--compact': this.compactDesign,
|
|
132
132
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
133
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
133
|
+
}, style: this.getStyles() }, h("tr", { key: '5ec3649f1e76f54a1d09cc023f52f165bf55a175', class: "tds-table__footer-row" }, h("td", { key: '0815d2e9083b0b3793dbf3572869b76c2445396e', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '3bdc6acf5b034f8ee141e1fde58e32cb76e7ab33', class: "tds-table__pagination" }, h("div", { key: 'd8bd734bb3890593404d7950b5cb353e0af1b37f', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '0cc09dd7662a2ceba454fb1e1c3eb3a389e9eb4d', class: "rows-per-page" }, h("p", { key: '57ae73ac509c9cd7ce9c93ae60737724035fb376' }, "Rows per page"), h("tds-dropdown", { key: '6fc1d8794bb2cecc406d9143c1e501733a990993', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
134
134
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
135
|
-
}))))), h("div", { key: '
|
|
135
|
+
}))))), h("div", { key: '71e30ccac9cb36acf61f46de47fc39d4b45c49d3', class: "tds-table__page-selector" }, h("input", { key: 'fe99cbdae18c4b297e0823de2f2a5529f24ed7f4', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: 'd49b93524aeaddacd2e6c431d8f191fd87c768be', class: "tds-table__footer-text" }, "of ", h("span", { key: '1d6f7429e0837f200db90259e1e23cb879643756' }, this.pages), " pages"), h("button", { key: 'b5e0a8d72a1e7ff35570dfd2c131735f91ebb824', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '06ffe814de254c6c194ab88d89fe5f6da5239c44', name: "skip_backwards", size: "20px" })), h("button", { key: '271a59221429937f24873f984526fe55dd12c874', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'b2231b490bdd4234d62399f2785edf3136789af5', name: "chevron_left", size: "20px" })), h("button", { key: '6b06a0fad602d8593bb834672e934afb00d45edf', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '384751f9299ce4078e35fc15be37d2d529ddeffa', name: "chevron_right", size: "20px" })), h("button", { key: 'cf0fa5f2967d7f249ffbd548039e8021e4121bec', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '6da11c4f01f58a7e39698b7a91034567527464e6', name: "skip_forward", size: "20px" })))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tds-table-footer"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '968ef371db492d005ac3156d8b4a15de0966d117', class: {
|
|
86
86
|
'tds-table--compact': this.compactDesign,
|
|
87
87
|
'tds-table--divider': this.verticalDividers,
|
|
88
88
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
89
|
-
} }, h("tr", { key: '
|
|
89
|
+
} }, h("tr", { key: 'cc9fdb8e36b29c4dccf01961060df330fb50c6f2' }, this.multiselect && (h("th", { key: 'e306755b170ef4edc6d3c2f32941dfbb51eefaf6', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '2903d76304e4f3428aa63ba7e0aa65e48d21f232', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'd9acae7cae023f412395663c607b3293ce40a2e2', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: 'cea8e7da2c5a4a728ea55ead114f790674fc1a0c', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '5ad238c2ceaabc721970c28ea9d58ecedac8152d' }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "tds-table-header"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@ export class TdsTableHeaderCell {
|
|
|
113
113
|
return 'none';
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: 'c832982801653ad4ed4be858fa88f6d3d3de02ef', class: {
|
|
117
117
|
'tds-table__header-cell': true,
|
|
118
118
|
'tds-table__header-cell--sortable': this.sortable,
|
|
119
119
|
'tds-table__header-cell--is-sorted': this.sortedByMyKey,
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TdsTableHeaderInputWrapper {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'e92640dc4c88b52574960d7234b377d7e5eaaa8e', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -67,10 +67,10 @@ export class TdsTableToolbar {
|
|
|
67
67
|
return styles;
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '7ff5d6032f2ada9a95d5fa33286ad31940163dfc', class: {
|
|
71
71
|
'tds-table--compact': this.compactDesign,
|
|
72
72
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
73
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
73
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '9975a508256b56731dd51f7687a16dff7994cf2a', class: "tds-table__upper-bar-flex" }, h("caption", { key: '997271d59b13fe9f88086e8bc5334d6412887fe8', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle), h("div", { key: '6da0901c59e6e053cadfb540ded0e738e492f8ed', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'dfb2a778e959c5b26d42be07378b52c09c9f95d3', class: "tds-table__searchbar" }, h("input", { key: '13918cd96afb703cf71a0aeeb1dd3014a4cba665', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: 'a95553216a9a0c94fbd08c43ef44c95389a82f7e', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '6a9396e3f6f8508acb802e92b320b5c8f2cda517', name: "search", size: "20px" })))), h("slot", { key: '7cf66ff8283724f421e6bdc018cee62f4cd480b1', name: "end" })))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tds-table-toolbar"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '3e036096f61107d381945ce7b9a4478668666d20', "aria-selected": this.selected }, h("div", { key: 'a99712b0487ea9102b4cd0afd3c079a0f52b7ce9', class: {
|
|
39
39
|
selected: this.selected,
|
|
40
40
|
disabled: this.disabled,
|
|
41
|
-
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '
|
|
41
|
+
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: 'eddb270a4d93a3fe824531bd86b769246545262e' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -162,9 +162,9 @@ export class TdsFolderTabs {
|
|
|
162
162
|
this.removeEventListenerFromTabs();
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '382b6b5286588f36ff98f20c1a6a76cc5f59aac0', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'd3118c3bb9e31de96eaabc91c78d125856c665d5', class: "wrapper", ref: (el) => {
|
|
166
166
|
this.navWrapperElement = el;
|
|
167
|
-
} }, h("button", { key: '
|
|
167
|
+
} }, h("button", { key: '26f0d1733a766f96de00328e041e06ecab13c1dc', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '1e62e87833204ccfe40ffc52f29567dc75f3f9e0', name: "chevron_left", size: "20px" })), h("slot", { key: '7c33f235eed736380307d496d62da55223d7f90b', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'b2d3faaa0bc01f1385cf44e80e29f5445e928381', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'c04434dd18f0ae0c2b2e43b5dfd4ab4a5c317a25', name: "chevron_right", size: "20px" })))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "tds-folder-tabs"; }
|
|
170
170
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,11 +30,11 @@ export class TdsInlineTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'fb0af4b885f31d9afa67f76bf3cf122f59876079', "aria-selected": this.selected }, h("div", { key: '624b7370a054f490575a9a2491eaa9277f4a77ba', class: {
|
|
34
34
|
'inline-tab-item': true,
|
|
35
35
|
'selected': this.selected,
|
|
36
36
|
'disabled': this.disabled,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: '0eadedfe560fe93faebf07a8f1a546ae022676d9' }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-inline-tab"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,6 @@ export class TdsInlineTabs {
|
|
|
63
63
|
this.tdsScrollLeftAriaLabel = 'Scroll left';
|
|
64
64
|
this.tdsScrollRightAriaLabel = 'Scroll right';
|
|
65
65
|
this.leftPadding = 32;
|
|
66
|
-
this.autoInit = true;
|
|
67
66
|
this.showLeftScroll = false;
|
|
68
67
|
this.showRightScroll = false;
|
|
69
68
|
}
|
|
@@ -122,10 +121,6 @@ export class TdsInlineTabs {
|
|
|
122
121
|
this.children[this.children.length - 1].classList.add('last');
|
|
123
122
|
}
|
|
124
123
|
initializeSelectedTab() {
|
|
125
|
-
if (!this.children || !this.children.length) {
|
|
126
|
-
console.warn('TdsInlineTabs: No children to select.');
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
124
|
if (this.selectedIndex === undefined) {
|
|
130
125
|
this.addEventListenerToTabs();
|
|
131
126
|
this.children[this.defaultSelectedIndex].setSelected(true);
|
|
@@ -153,23 +148,15 @@ export class TdsInlineTabs {
|
|
|
153
148
|
}
|
|
154
149
|
}
|
|
155
150
|
handleSlotChange() {
|
|
156
|
-
this.
|
|
151
|
+
this.initializeTabs();
|
|
152
|
+
this.addEventListenerToTabs();
|
|
153
|
+
this.initializeSelectedTab();
|
|
157
154
|
this.updateScrollButtons();
|
|
158
155
|
this.addResizeObserver();
|
|
159
156
|
this.applyCustomLeftPadding(); // Apply custom left padding to the wrapper
|
|
160
157
|
}
|
|
161
|
-
tryInitializeTabs() {
|
|
162
|
-
this.children = Array.from(this.host.children);
|
|
163
|
-
if (!this.children.length) {
|
|
164
|
-
console.warn('TdsInlineTabs: No children found during initialization. Initialization delayed.');
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
this.initializeTabs();
|
|
168
|
-
}
|
|
169
158
|
connectedCallback() {
|
|
170
|
-
|
|
171
|
-
this.tryInitializeTabs();
|
|
172
|
-
}
|
|
159
|
+
this.initializeTabs();
|
|
173
160
|
}
|
|
174
161
|
componentDidLoad() {
|
|
175
162
|
this.initializeSelectedTab();
|
|
@@ -182,9 +169,9 @@ export class TdsInlineTabs {
|
|
|
182
169
|
this.removeEventListenerFromTabs();
|
|
183
170
|
}
|
|
184
171
|
render() {
|
|
185
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: 'ccd58f7b7b6bb4423fa45a6d6177386f5561e32a', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '0369ce03c5cb29f24762b6b5bb3ba932f82a0869', class: "wrapper", ref: (el) => {
|
|
186
173
|
this.navWrapperElement = el;
|
|
187
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f8cf277e9bb870d3b7d53bc3eff73806b61f0828', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'f72664b9b0f19b9a0c4ded16bd1be4b66594406a', name: "chevron_left", size: "20px" })), h("slot", { key: '1e2bc784f1148361bf04b34cbbdb62f3d3aad8af', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'b9d0e45c7d46a399081d561e496c5d1cc81132b0', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '55bbe28b1524a0ac6a808b1fb41225263977005f', name: "chevron_right", size: "20px" })))));
|
|
188
175
|
}
|
|
189
176
|
static get is() { return "tds-inline-tabs"; }
|
|
190
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -306,24 +293,6 @@ export class TdsInlineTabs {
|
|
|
306
293
|
"attribute": "left-padding",
|
|
307
294
|
"reflect": true,
|
|
308
295
|
"defaultValue": "32"
|
|
309
|
-
},
|
|
310
|
-
"autoInit": {
|
|
311
|
-
"type": "boolean",
|
|
312
|
-
"mutable": false,
|
|
313
|
-
"complexType": {
|
|
314
|
-
"original": "boolean",
|
|
315
|
-
"resolved": "boolean",
|
|
316
|
-
"references": {}
|
|
317
|
-
},
|
|
318
|
-
"required": false,
|
|
319
|
-
"optional": false,
|
|
320
|
-
"docs": {
|
|
321
|
-
"tags": [],
|
|
322
|
-
"text": "If true, the component will automatically initialize the tabs, otherwise the user needs to call the reinitialize method."
|
|
323
|
-
},
|
|
324
|
-
"attribute": "auto-init",
|
|
325
|
-
"reflect": false,
|
|
326
|
-
"defaultValue": "true"
|
|
327
296
|
}
|
|
328
297
|
};
|
|
329
298
|
}
|
|
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
34
|
-
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '
|
|
33
|
+
return (h(Host, { key: '089ff23cbaa8ec219eb3771964a6843015b47378' }, h("div", { key: 'c75620addf322521de678bf4012c5c1dfdeb9464', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
34
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'f3bb65a7f8aad7adfc0ccb5d4bbc1c98c368978b' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tds-navigation-tab"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,15 +169,15 @@ export class TdsNavigationTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: '26d9458d689f9304aa6fb6a5b07f05079c715152', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '8b8568c45abe2952607764df75682a10864bf35e', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '369338833a13937105bf4ebaf50a22b9cb5d618f', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
175
175
|
'scroll-left-button': true,
|
|
176
176
|
'show': this.showLeftScroll,
|
|
177
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
177
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'bea7b39e109ad4453065176b0e16e0d0595ba37a', name: "chevron_left", size: "20px" })), h("slot", { key: '5b82ca06921a3566ab7c1614d6e551e4332d8112', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '50c111d8298d3715503b251d890c2a59f984c9fc', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
178
178
|
'scroll-right-button': true,
|
|
179
179
|
'show': this.showRightScroll,
|
|
180
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
180
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '9e7ba00a1c6e155dcb8f76a175411ee9d20fb669', name: "chevron_right", size: "20px" })))));
|
|
181
181
|
}
|
|
182
182
|
static get is() { return "tds-navigation-tabs"; }
|
|
183
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ export class TdsTextField {
|
|
|
76
76
|
var _a;
|
|
77
77
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
78
78
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
79
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: '81cbb5cca60842e284e60630307f246b50650d79', class: {
|
|
80
80
|
'form-text-field': true,
|
|
81
81
|
'form-text-field-nomin': this.noMinWidth,
|
|
82
82
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -94,12 +94,12 @@ export class TdsTextField {
|
|
|
94
94
|
'form-text-field-sm': this.size === 'sm',
|
|
95
95
|
'form-text-field-error': this.state === 'error',
|
|
96
96
|
'form-text-field-success': this.state === 'success',
|
|
97
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
97
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: '57bc0784f18f9ed2c4fd31699832599ac73ceb32', class: "text-field-label-outside" }, h("label", { key: '8cadf1065d6556d6f9dc74b70d3c36b48db86e38', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'd191fdf981ac742c4a95fa69202607f0c73606d7', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: 'de76fcf2db999b9e21b33bf3554d22e4e7648574', class: {
|
|
98
98
|
'text-field-slot-wrap-prefix': true,
|
|
99
99
|
'text-field-error': this.state === 'error',
|
|
100
100
|
'text-field-success': this.state === 'success',
|
|
101
101
|
'text-field-default': this.state === 'default',
|
|
102
|
-
} }, h("slot", { key: '
|
|
102
|
+
} }, h("slot", { key: 'ab87f5a55f1a7d94bbcb624bc1c4f864c0136cf8', name: "prefix" }))), h("div", { key: '7097450497a908bef52ab5d28966267c984f433d', class: "text-field-input-container" }, h("input", { key: 'f25d3c0ce37078cf018aa80cea8d5e055656f2c1', ref: (inputEl) => {
|
|
103
103
|
this.textInput = inputEl;
|
|
104
104
|
}, class: {
|
|
105
105
|
'text-field-input': true,
|
|
@@ -114,13 +114,13 @@ export class TdsTextField {
|
|
|
114
114
|
if (!this.readOnly) {
|
|
115
115
|
this.handleBlur(event);
|
|
116
116
|
}
|
|
117
|
-
}, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby":
|
|
117
|
+
}, "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}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '40a00f563ef4c62345a39d03937f0824ccef0c44', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'b41eb0927e23dff6fd12a8304f7bff5a8b743a54', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: '0d26ee8cb9838ee91574119ae0e1febb06318c9c', class: {
|
|
118
118
|
'text-field-slot-wrap-suffix': true,
|
|
119
119
|
'text-field-error': this.state === 'error',
|
|
120
120
|
'text-field-success': this.state === 'success',
|
|
121
121
|
'text-field-default': this.state === 'default',
|
|
122
122
|
'tds-u-display-none': this.readOnly,
|
|
123
|
-
} }, h("slot", { key: '
|
|
123
|
+
} }, h("slot", { key: '1af3d2006e55936a8afcce17ca9519b9bb9907c5', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '89b9f9b62e50006f933ab36974f8d6c6e2dab9c8', class: "text-field-icon__readonly" }, h("tds-icon", { key: '44cc31f05988149991d58d090187e444b33ec62e', name: "edit_inactive", size: "20px" }))), h("span", { key: '73f3021a39c0a880224879356866cd214ccb225e', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: 'c70487a997117103ec68ddbdf86d0ca9701f2202', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'dee32001897276fe40813ef0b29077d31a331b0d', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '31e68824fb88938e6c7fc3f9f80a84bce101a8f9', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: '63e22a80312fdd7365a8aec9a5fcd7c8104c376a', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: 'e31d5df19bbf0d8278f2f2dbc7d978d770378a89', class: {
|
|
124
124
|
'text-field-textcounter-divider': true,
|
|
125
125
|
'text-field-textcounter-disabled': this.disabled,
|
|
126
126
|
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
|
|
@@ -58,7 +58,7 @@ export class TdsTextarea {
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
var _a;
|
|
61
|
-
return (h("div", { key: '
|
|
61
|
+
return (h("div", { key: 'b0af8053153a8752a82d1b4f9a1f3c6e347ba4e5', class: {
|
|
62
62
|
'textarea-container': true,
|
|
63
63
|
'textarea-label-inside': this.labelPosition === 'inside',
|
|
64
64
|
'textarea-focus': this.focusInput,
|
|
@@ -68,7 +68,7 @@ export class TdsTextarea {
|
|
|
68
68
|
'textarea-data': this.value !== '',
|
|
69
69
|
[`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
|
|
70
70
|
'no-min-width': this.noMinWidth,
|
|
71
|
-
} }, this.labelPosition !== 'no-label' && (h("label", { key: '
|
|
71
|
+
} }, this.labelPosition !== 'no-label' && (h("label", { key: 'e7acfb3ee16ae429ae5b530c678de7178cfadb37', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '8e4a259a015dbb7d5f52eb890c0b1865c7d23c2a', class: "textarea-wrapper" }, h("textarea", { key: 'af0bf0fe69baa4c33c8d628a509ef2771d581728', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
|
|
72
72
|
this.textEl = inputEl;
|
|
73
73
|
}, 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) => {
|
|
74
74
|
if (!this.readOnly) {
|
|
@@ -78,7 +78,7 @@ export class TdsTextarea {
|
|
|
78
78
|
if (!this.readOnly) {
|
|
79
79
|
this.handleBlur(event);
|
|
80
80
|
}
|
|
81
|
-
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": this.state === 'error' ? 'true' : 'false', "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: '
|
|
81
|
+
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": this.state === 'error' ? 'true' : 'false', "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: 'a4d4472cc29ceee2df18621253e4790298dab8e6', class: "textarea-resizer-icon" }, h("svg", { key: '086a281f3fec5590ddb8563ef1e65136d4b831d4', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5d6935da052a1163db2d6526e2c419a9e7621b80', "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: '9b6e37cfdb98c9dbc5207a7a615dda7bc53a12f9', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '847bf8835a69bb18cc248fc0a79fb63cd56cd4bc', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: 'fc952bfb4ded2a415d8877a02b42cc5ca852aa92', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: '73ab74707b95ac4be6fe44da50fbd85034010c30', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && !this.readOnly && h("tds-icon", { key: '0a51fe5b3ca770969ad7c42155c16ddf1349a215', name: "error", size: "16px" }), this.helper), this.maxLength > 0 && (h("div", { key: 'faaa8a3ea81472dc078084e25d6513b2633118b7', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '1a465fbeacf28fff5fa4bac5f6f03c94b01538e6', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "tds-textarea"; }
|
|
84
84
|
static get encapsulation() { return "scoped"; }
|
|
@@ -65,12 +65,12 @@ export class TdsToast {
|
|
|
65
65
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
66
66
|
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
67
67
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'b5f8ebf48f31ced7100681b06339ba896d6eca64', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
|
|
69
69
|
hide: this.hidden,
|
|
70
70
|
show: !this.hidden,
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: 'bd1e5c5c04b8aa66cb44241fb37711df0d797d28', class: `
|
|
72
72
|
wrapper
|
|
73
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
73
|
+
${this.variant}` }, h("tds-icon", { key: 'e721867b0ede3cd3d6a49a99fc4dc46c4c01cf87', name: this.getIconName(), size: "20px" }), h("div", { key: 'ce4c5f571cc0bbdfe3d4a2441c12c90dc6ab8e77', class: `content` }, h("div", { key: 'cc467598aaa1b4ab50aaf7df8418f694022218b3', class: "header-subheader" }, this.header && h("div", { key: '4137cfb232cad1d556f993db327c2b42c7e90dd0', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '7ad76e287a3665b7121dd26004d51814ab3d3db5', name: "header" }), this.subheader && h("div", { key: 'a1a9ba17a7a6e999e007044acc1b55de8a51035a', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '3af9d0e5af167c99f6fb6cb11981493363f70540', name: "subheader" })), usesActionsSlot && (h("div", { key: 'e2b3985fb3d8d783240ea55cec9a9584578dcdc2', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: 'c473945ce0edad5796046764dfdc309680ce616c', name: "actions" })))), this.closable && (h("button", { key: 'de2ec72427df0c4c834a2397bdc3600130b780d7', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: '5183e92381dc5ab139932599dd5e5163c640e7b6', name: "cross", size: "20px" }))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tds-toast"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@ export class TdsToggle {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: 'f1151ef33eaf8ee11761badb74dcb24916481ce1', class: "tds-toggle" }, this.headline && (h("div", { key: '848f0bf92aa6e21a7d84dea6d3cc41f3228cbb9b', class: {
|
|
42
42
|
'toggle-headline': true,
|
|
43
43
|
'disabled': this.disabled,
|
|
44
|
-
} }, this.headline)), h("input", { key: '
|
|
44
|
+
} }, this.headline)), h("input", { key: '25907b86ae6fe55dca60b1254a3901bb090a8d36', "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: 'ef3c492d3d3c7bddc34c64bfcc568e47f17a2cd1', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: '339f355bbba7f3c18de4049df1d0a82d87884f44', name: "label" })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "tds-toggle"; }
|
|
47
47
|
static get encapsulation() { return "scoped"; }
|
|
@@ -58,7 +58,7 @@ export class TdsTooltip {
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
var _a;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'c09e902febe788fe0f38d9abca24864bfbf59b2d', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: '2ae840c2abe03714f071034bda652265ef09fc9b' }, this.inheritedAttributes, { class: {
|
|
62
62
|
'tds-tooltip': true,
|
|
63
63
|
[`tds-tooltip-${this.border}`]: true,
|
|
64
64
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
@@ -71,7 +71,7 @@ export class TdsTooltip {
|
|
|
71
71
|
// @ts-ignore
|
|
72
72
|
onInternalTdsClose: () => {
|
|
73
73
|
this.show = false;
|
|
74
|
-
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: '
|
|
74
|
+
}, defaultShow: this.defaultShow }), this.text, h("slot", { key: 'f0211f7e337709f4b8d0e8e4374c0ebd39635f25' }))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "tds-tooltip"; }
|
|
77
77
|
static get encapsulation() { return "scoped"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2044,7 +2044,7 @@ const TdsPopoverCore = /*@__PURE__*/ proxyCustomElement(class TdsPopoverCore ext
|
|
|
2044
2044
|
'tds-animation-exit-fade': !this.isShown && this.animation === 'fade',
|
|
2045
2045
|
};
|
|
2046
2046
|
const classList = generateClassList(classes);
|
|
2047
|
-
return (h(Host, { key: '
|
|
2047
|
+
return (h(Host, { key: 'e00527f6f668e309529ff607c744eb64bba30c6a', role: this.host.getAttribute('role'), class: classList, id: `tds-popover-core-${this.uuid}` }, h("slot", { key: 'e562ffae5ecbca928a541de6b50f88efa1eded8c' })));
|
|
2048
2048
|
}
|
|
2049
2049
|
get host() { return this; }
|
|
2050
2050
|
static get watchers() { return {
|
|
@@ -58,12 +58,12 @@ const TdsSideMenuItem = /*@__PURE__*/ proxyCustomElement(class TdsSideMenuItem e
|
|
|
58
58
|
this.updateSlottedElements();
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'fac92e8ccc60dac3d6929d30283729f8055c1633' }, h("div", { key: '0cdecbaab4f888daa53c796919644e17732c43ea', class: {
|
|
62
62
|
'component': true,
|
|
63
63
|
'component-selected': this.selected,
|
|
64
64
|
'component-active': this.active,
|
|
65
65
|
'component-collapsed': this.collapsed,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: 'a5ac7145049bac0fb11d9a5ac1d4cbfa764f3bcc' }))));
|
|
67
67
|
}
|
|
68
68
|
get host() { return this; }
|
|
69
69
|
static get style() { return TdsSideMenuItemStyle0; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
|
|
2
2
|
import { d as dfs } from './p-52bf0fdf.js';
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-9ad61cb5.js';
|
|
4
4
|
|
|
5
5
|
const headerItemCss = ":host ::slotted(button),:host ::slotted(a){all:unset;box-sizing:border-box;background-color:var(--tds-header-background);border-right:1px solid var(--tds-header--basic-element-border);width:100%;height:100%;cursor:pointer;padding:0 24px;display:flex;align-items:center;gap:8px}:host ::slotted(button) *,:host ::slotted(a) *{box-sizing:border-box}:host ::slotted(button:hover),:host ::slotted(a:hover){background-color:var(--tds-header-item-hover)}:host ::slotted(button:focus-visible),:host ::slotted(a:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .component-active ::slotted(button),:host .component-active ::slotted(a){background-color:var(--tds-header--basic-element-background-open);color:var(--tds-header-nav-item-dropdown-opened-color);border-color:var(--tds-header--basic-element-border-open)}:host .component-selected:not(.component-active) ::slotted(button),:host .component-selected:not(.component-active) ::slotted(a){background-color:var(--tds-header--basic-element-background-selected);padding-top:4px;border-bottom-style:solid;border-bottom-width:4px;border-bottom-color:var(--tds-nav-item-border-color-active)}";
|
|
6
6
|
const TdsHeaderItemStyle0 = headerItemCss;
|
|
@@ -79,10 +79,10 @@ const TdsHeaderItem = /*@__PURE__*/ proxyCustomElement(class TdsHeaderItem exten
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '4a9d013ab3abde506f9992453cae793db9a652cf' }, h("tds-core-header-item", { key: '359634d0bca7720c8a9bfd5c696a89c97df76a75', class: {
|
|
83
83
|
'component-active': this.active,
|
|
84
84
|
'component-selected': this.selected,
|
|
85
|
-
} }, h("slot", { key: '
|
|
85
|
+
} }, h("slot", { key: '7318ad6ea4d1dfa0f16b70c6f305ece087aeea2e' }))));
|
|
86
86
|
}
|
|
87
87
|
get host() { return this; }
|
|
88
88
|
static get style() { return TdsHeaderItemStyle0; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
|
|
2
2
|
import { c as convertToString } from './p-a1181b1f.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './p-1ef7423a.js';
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-c715ab56.js';
|
|
5
5
|
|
|
6
6
|
const dropdownOptionCss = ":host{box-sizing:border-box;display:block;background-color:var(--tds-dropdown-option-background)}:host *{box-sizing:border-box}:host .dropdown-option{color:var(--tds-dropdown-option-color);border-bottom:1px solid var(--tds-dropdown-option-border);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);overflow-wrap:anywhere;transition:background-color var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania)}:host .dropdown-option.selected{background-color:var(--tds-dropdown-option-background-selected)}:host .dropdown-option.disabled{color:var(--tds-dropdown-option-color-disabled)}:host .dropdown-option button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .dropdown-option button{all:unset;width:100%}:host .dropdown-option button.lg{padding:19px 0 20px}:host .dropdown-option button.md{padding:15px 0 16px}:host .dropdown-option button.sm{padding:11px 0 12px}:host .dropdown-option button.xs{padding:7px 0 8px}:host .dropdown-option button .single-select{display:flex;align-items:center;justify-content:space-between;padding:0 16px}:host .dropdown-option .multiselect{width:100%;height:100%}:host .dropdown-option .multiselect tds-checkbox{display:flex;height:100%;width:100%}:host .dropdown-option .multiselect tds-checkbox.lg{padding:15px 16px 16px}:host .dropdown-option .multiselect tds-checkbox.md{padding:11px 16px 12px}:host .dropdown-option .multiselect tds-checkbox.sm{padding:7px 16px 8px}:host .dropdown-option .multiselect tds-checkbox.xs{padding:7px 16px 8px}:host .dropdown-option:hover{background-color:var(--tds-dropdown-option-background-hover);cursor:pointer}:host .dropdown-option:hover.disabled{background-color:var(--tds-dropdown-option-background);cursor:not-allowed}:host([hidden]){display:none}";
|
|
7
7
|
const TdsDropdownOptionStyle0 = dropdownOptionCss;
|
|
@@ -89,7 +89,7 @@ const TdsDropdownOption = /*@__PURE__*/ proxyCustomElement(class TdsDropdownOpti
|
|
|
89
89
|
this.internalValue = convertToString(this.value);
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '0964b9a046c2894b96480c133538337a56d048a2' }, h("div", { key: '1f28fde6080ad6c489c1ed4a7c449bb45ab85b99', class: `dropdown-option
|
|
93
93
|
${this.size}
|
|
94
94
|
${this.selected ? 'selected' : ''}
|
|
95
95
|
${this.disabled ? 'disabled' : ''}
|
|
@@ -12,10 +12,10 @@ const TdsHeaderDropdownListItem = /*@__PURE__*/ proxyCustomElement(class TdsHead
|
|
|
12
12
|
this.size = 'md';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '1dd37d8c57686fdde3bbf602cd2d327237ff9ee8' }, h("div", { key: 'ecbcceac23e94264aa3bfd253190c358d415492d', class: {
|
|
16
16
|
'component': true,
|
|
17
17
|
'component-selected': this.selected,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '0e02564e017aaea2a0e9336e64fb853ecf4db367' }))));
|
|
19
19
|
}
|
|
20
20
|
get host() { return this; }
|
|
21
21
|
static get style() { return TdsHeaderDropdownListItemStyle0; }
|