@scania/tegel 1.32.2-multibrand-beta.5 → 1.33.0-beta.6
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-ca8040ad.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +1 -1
- package/dist/cjs/tds-block.cjs.entry.js +3 -7
- package/dist/cjs/tds-body-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +49 -34
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +3 -8
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +1 -1
- package/dist/cjs/tds-modal.cjs.entry.js +1 -1
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -5
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-spinner.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 +3 -3
- package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-footer.cjs.entry.js +4 -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 +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -9
- package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tds-toast.cjs.entry.js +4 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/assets/logos/scania/scania-logotype.png +0 -0
- package/dist/collection/assets/logos/scania/scania-logotype.svg +2355 -0
- package/dist/collection/assets/logos/scania/scania-wordmark-white.png +0 -0
- package/dist/collection/assets/logos/scania/scania-wordmark.png +0 -0
- package/dist/collection/assets/logos/scania/scania-wordmark.svg +17 -0
- package/dist/collection/assets/logos/traton/traton-logotype-black.png +0 -0
- package/dist/collection/assets/logos/traton/traton-logotype-black.svg +1 -0
- package/dist/collection/assets/logos/traton/traton-logotype-blue.png +0 -0
- package/dist/collection/assets/logos/traton/traton-logotype-blue.svg +1 -0
- package/dist/collection/assets/logos/traton/traton-logotype-white.png +0 -0
- package/dist/collection/assets/logos/traton/traton-logotype-white.svg +1 -0
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +44 -14
- package/dist/collection/components/accordion/accordion.css +11 -1
- package/dist/collection/components/banner/banner.css +2 -1
- package/dist/collection/components/block/block.css +8 -15
- package/dist/collection/components/block/block.js +2 -6
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +2 -1
- package/dist/collection/components/button/button.css +426 -480
- package/dist/collection/components/checkbox/checkbox.css +24 -31
- package/dist/collection/components/chip/chip.css +2 -1
- package/dist/collection/components/divider/divider.css +2 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +12 -19
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +27 -4
- package/dist/collection/components/dropdown/dropdown.css +116 -128
- package/dist/collection/components/dropdown/dropdown.js +61 -31
- package/dist/collection/components/footer/footer-group/footer-group.css +2 -1
- package/dist/collection/components/footer/footer-item/footer-item.css +6 -3
- package/dist/collection/components/footer/footer.css +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.css +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +3 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +2 -1
- package/dist/collection/components/header/header-item/header-item.css +2 -1
- package/dist/collection/components/header/header-launcher/header-launcher.css +3 -3
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.css +2 -1
- package/dist/collection/components/icon/icon.js +2 -7
- package/dist/collection/components/icon/tratonIconsArray.js +1 -4
- package/dist/collection/components/message/message.css +32 -19
- package/dist/collection/components/modal/modal.css +15 -13
- package/dist/collection/components/popover-core/tds-popover-core.css +0 -14601
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +2 -1
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +2 -1
- package/dist/collection/components/side-menu/side-menu.css +3 -3
- package/dist/collection/components/spinner/spinner.css +64 -34
- package/dist/collection/components/spinner/spinner.js +2 -3
- package/dist/collection/components/table/table/table.css +3 -3
- package/dist/collection/components/table/table-body/table-body.css +11 -18
- package/dist/collection/components/table/table-body-cell/table-body-cell.css +5 -12
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css +7 -16
- 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.css +8 -7
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +11 -10
- 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.css +16 -41
- package/dist/collection/components/table/table-footer/table-footer.js +3 -3
- package/dist/collection/components/table/table-header/table-header.css +7 -14
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.css +13 -25
- 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.css +7 -14
- 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.css +11 -22
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +2 -1
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +2 -1
- 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.css +2 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +2 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/text-field/text-field.css +166 -159
- package/dist/collection/components/text-field/text-field.js +5 -8
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.css +2 -1
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.css +33 -48
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/{p-858c1df0.js → p-1cd6b2c6.js} +40 -30
- package/dist/components/{p-865b81b9.js → p-4b0c6ab5.js} +14 -7
- package/dist/components/p-58b92113.js +114 -0
- package/dist/components/{p-76dc921a.js → p-6adb1ce3.js} +1 -1
- package/dist/components/{p-c46ecd24.js → p-71c3dfe9.js} +1 -1
- package/dist/components/{p-c2ae5e79.js → p-877931c5.js} +1 -1
- package/dist/components/{p-765162bc.js → p-9cee9d7f.js} +3 -3
- package/dist/components/{p-8ffea123.js → p-c715ab56.js} +3 -8
- package/dist/components/p-d3866be7.js +2098 -0
- package/dist/components/{p-92a7b8b2.js → p-df84759a.js} +1 -1
- package/dist/components/{p-49f09bc8.js → p-ea381f94.js} +1 -1
- package/dist/components/{p-aeef3de3.js → p-f589b91c.js} +2 -2
- package/dist/components/tds-accordion-item.js +2 -2
- package/dist/components/tds-accordion.js +1 -1
- package/dist/components/tds-banner.js +2 -2
- package/dist/components/tds-block.js +3 -7
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-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 +3 -3
- package/dist/components/tds-folder-tabs.js +4 -4
- package/dist/components/tds-footer-group.js +2 -2
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +2 -2
- package/dist/components/tds-header-cell.js +3 -3
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown.js +5 -5
- package/dist/components/tds-header-hamburger.js +2 -2
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid-item.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher.js +6 -6
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +4 -4
- package/dist/components/tds-message.js +2 -2
- package/dist/components/tds-modal.js +2 -2
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +6 -6
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.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 +2 -2
- package/dist/components/tds-side-menu-item.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 +4 -5
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +3 -3
- package/dist/components/tds-table-body-row-expandable.js +8 -8
- package/dist/components/tds-table-body-row.js +4 -4
- package/dist/components/tds-table-body.js +1 -1
- package/dist/components/tds-table-footer.js +8 -8
- package/dist/components/tds-table-header-input-wrapper.js +3 -3
- package/dist/components/tds-table-header.js +4 -4
- package/dist/components/tds-table-toolbar.js +4 -4
- package/dist/components/tds-table.js +1 -1
- package/dist/components/tds-text-field.js +20 -11
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +5 -5
- package/dist/components/tds-toggle.js +3 -3
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-51d04e39.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +1 -1
- package/dist/esm/tds-block.entry.js +3 -7
- package/dist/esm/tds-body-cell.entry.js +1 -1
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +1 -1
- package/dist/esm/tds-checkbox.entry.js +1 -1
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +1 -1
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +49 -34
- package/dist/esm/tds-folder-tab.entry.js +3 -3
- package/dist/esm/tds-folder-tabs.entry.js +3 -3
- package/dist/esm/tds-footer-group.entry.js +1 -1
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +1 -1
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +3 -8
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +1 -1
- package/dist/esm/tds-modal.entry.js +1 -1
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +5 -5
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-side-menu-item.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +1 -1
- package/dist/esm/tds-spinner.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/tds-table-body.entry.js +1 -1
- package/dist/esm/tds-table-footer.entry.js +4 -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 +1 -1
- package/dist/esm/tds-text-field.entry.js +6 -9
- package/dist/esm/tds-textarea.entry.js +3 -3
- package/dist/esm/tds-toast.entry.js +4 -4
- package/dist/esm/tds-toggle.entry.js +3 -3
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/assets/logos/scania/scania-logotype.png +0 -0
- package/dist/tegel/assets/logos/scania/scania-logotype.svg +2355 -0
- package/dist/tegel/assets/logos/scania/scania-wordmark-white.png +0 -0
- package/dist/tegel/assets/logos/scania/scania-wordmark.png +0 -0
- package/dist/tegel/assets/logos/scania/scania-wordmark.svg +17 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-black.png +0 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-black.svg +1 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-blue.png +0 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-blue.svg +1 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-white.png +0 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-white.svg +1 -0
- package/dist/tegel/{p-7fd272d1.entry.js → p-08f63e5d.entry.js} +1 -1
- package/dist/tegel/p-0cac9ea6.entry.js +1 -0
- package/dist/tegel/{p-e7638f10.entry.js → p-0cfe8671.entry.js} +1 -1
- package/dist/tegel/{p-ad30ee83.entry.js → p-106e048d.entry.js} +1 -1
- package/dist/tegel/p-1c75f8a7.entry.js +1 -0
- package/dist/tegel/{p-f12ce132.entry.js → p-2c56421f.entry.js} +1 -1
- package/dist/tegel/p-35a88a52.entry.js +1 -0
- package/dist/tegel/p-3a92d554.entry.js +1 -0
- package/dist/tegel/{p-0ca88c7c.entry.js → p-3ec01fb3.entry.js} +1 -1
- package/dist/tegel/p-4274d329.entry.js +1 -0
- package/dist/tegel/{p-32540392.entry.js → p-5020a688.entry.js} +1 -1
- package/dist/tegel/{p-a2576665.entry.js → p-52adc30c.entry.js} +1 -1
- package/dist/tegel/{p-0a0500f0.entry.js → p-5c077bb9.entry.js} +1 -1
- package/dist/tegel/p-5dd2aac8.entry.js +1 -0
- package/dist/tegel/{p-378fe79c.entry.js → p-614bcd4b.entry.js} +1 -1
- package/dist/tegel/p-614cc097.entry.js +1 -0
- package/dist/tegel/{p-fdc5c832.entry.js → p-61a1dc59.entry.js} +1 -1
- package/dist/tegel/{p-3e6d65ee.entry.js → p-67b4b2cf.entry.js} +1 -1
- package/dist/tegel/{p-da60d17b.entry.js → p-6a615ac1.entry.js} +1 -1
- package/dist/tegel/p-6d89dcbe.entry.js +1 -0
- package/dist/tegel/{p-4d60aa49.entry.js → p-6e57997e.entry.js} +1 -1
- package/dist/tegel/{p-0f8930be.entry.js → p-6eed8c31.entry.js} +1 -1
- package/dist/tegel/p-7013249b.entry.js +1 -0
- package/dist/tegel/p-72006dd7.entry.js +1 -0
- package/dist/tegel/{p-9e146138.entry.js → p-8c841698.entry.js} +1 -1
- package/dist/tegel/p-942abc1e.entry.js +1 -0
- package/dist/tegel/{p-eb134c44.entry.js → p-98106799.entry.js} +1 -1
- package/dist/tegel/p-9b2257f3.entry.js +1 -0
- package/dist/tegel/{p-94aa8b19.entry.js → p-a0591e58.entry.js} +1 -1
- package/dist/tegel/{p-b3446292.entry.js → p-ab103d0c.entry.js} +1 -1
- package/dist/tegel/p-aec3e4cf.entry.js +1 -0
- package/dist/tegel/{p-97de52aa.entry.js → p-b734b309.entry.js} +1 -1
- package/dist/tegel/{p-6631ea34.entry.js → p-bb1d069f.entry.js} +1 -1
- package/dist/tegel/{p-364c08ec.entry.js → p-bcd5e06d.entry.js} +1 -1
- package/dist/tegel/p-bd935506.entry.js +1 -0
- package/dist/tegel/p-bdc913a0.entry.js +1 -0
- package/dist/tegel/{p-a1444bc5.entry.js → p-c0b26507.entry.js} +1 -1
- package/dist/tegel/p-c6beca5e.entry.js +1 -0
- package/dist/tegel/{p-051c9000.entry.js → p-c7b0253c.entry.js} +1 -1
- package/dist/tegel/p-cf7af8f2.entry.js +1 -0
- package/dist/tegel/{p-2e5d2bec.entry.js → p-d267c18f.entry.js} +1 -1
- package/dist/tegel/{p-0fdd14c7.entry.js → p-d9040b7f.entry.js} +1 -1
- package/dist/tegel/p-dc375d3e.entry.js +1 -0
- package/dist/tegel/p-e3c2b6b4.entry.js +1 -0
- package/dist/tegel/p-f2232281.entry.js +1 -0
- package/dist/tegel/p-f4b5e80b.entry.js +1 -0
- package/dist/tegel/p-f78b6a16.entry.js +1 -0
- package/dist/tegel/p-fbffe3aa.entry.js +1 -0
- package/dist/tegel/p-fe8a4544.entry.js +1 -0
- package/dist/tegel/tegel.css +19 -77
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown.d.ts +15 -10
- package/dist/types/components.d.ts +17 -2
- package/dist/types/types/TratonIcons.d.ts +1 -1
- package/package.json +2 -8
- package/scripts/copy-assets.mjs +32 -30
- package/dist/components/p-ab1f729e.js +0 -114
- package/dist/components/p-e8834dcb.js +0 -2098
- package/dist/tegel/p-0103f442.entry.js +0 -1
- package/dist/tegel/p-036e12d4.entry.js +0 -1
- package/dist/tegel/p-103f9b0d.entry.js +0 -1
- package/dist/tegel/p-211cef64.entry.js +0 -1
- package/dist/tegel/p-222944dc.entry.js +0 -1
- package/dist/tegel/p-25d21e10.entry.js +0 -1
- package/dist/tegel/p-326f0bf4.entry.js +0 -1
- package/dist/tegel/p-4948ae4a.entry.js +0 -1
- package/dist/tegel/p-4a4b5069.entry.js +0 -1
- package/dist/tegel/p-58ec7381.entry.js +0 -1
- package/dist/tegel/p-5bc63fd1.entry.js +0 -1
- package/dist/tegel/p-62975e6d.entry.js +0 -1
- package/dist/tegel/p-7a97ac5e.entry.js +0 -1
- package/dist/tegel/p-8bf0f99f.entry.js +0 -1
- package/dist/tegel/p-90072813.entry.js +0 -1
- package/dist/tegel/p-940d3cba.entry.js +0 -1
- package/dist/tegel/p-a2f84e4a.entry.js +0 -1
- package/dist/tegel/p-b5a3c528.entry.js +0 -1
- package/dist/tegel/p-d1349d6c.entry.js +0 -1
- package/dist/tegel/p-d1b356d5.entry.js +0 -1
- package/dist/tegel/p-daaf8d8f.entry.js +0 -1
- package/dist/tegel/p-dd5245ed.entry.js +0 -1
- package/dist/tegel/p-f67a8209.entry.js +0 -1
- package/dist/tegel/p-f76d8ab9.entry.js +0 -1
- package/dist-styles/core.css +0 -5963
- package/dist-styles/scania-variables.css +0 -1328
- package/dist-styles/scania.css +0 -7291
- package/dist-styles/traton-variables.css +0 -1064
- package/dist-styles/traton.css +0 -7027
- /package/dist/collection/assets/logos/{scania-symbol.png → scania/scania-symbol.png} +0 -0
- /package/dist/collection/assets/logos/{scania-symbol.svg → scania/scania-symbol.svg} +0 -0
- /package/dist/collection/assets/logos/{scania-wordmark-white.svg → scania/scania-wordmark-white.svg} +0 -0
- /package/dist/tegel/assets/logos/{scania-symbol.png → scania/scania-symbol.png} +0 -0
- /package/dist/tegel/assets/logos/{scania-symbol.svg → scania/scania-symbol.svg} +0 -0
- /package/dist/tegel/assets/logos/{scania-wordmark-white.svg → scania/scania-wordmark-white.svg} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,g as s}from"./p-2049fab2.js";const a=["verticalDividers","compactDesign","noMinWidth"],o=class{constructor(e){t(this,e),this.cellValue=void 0,this.cellKey=void 0,this.disablePadding=!1,this.textAlign=void 0,this.textAlignState=void 0,this.activeSorting=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.tableId=""}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>a.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}internalTdsHoverListener(t){const{tableId:e,key:i}=t.detail;e===this.tableId&&(this.activeSorting=this.cellKey===i)}internalTdsTextAlignListener(t){const[e,i,s]=t.detail;this.tableId===e&&this.cellKey===i&&(this.textAlignState=this.textAlign?this.textAlign:["left","start","center","right","end"].includes(s)?s:"left")}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){this.tableEl&&a.forEach((t=>{this[t]=this.tableEl[t]})),this.textAlign&&(this.textAlignState=this.textAlign)}render(){let t="var(--tds-spacing-element-16)";return this.disablePadding?t="0":this.compactDesign&&(t="var(--tds-spacing-element-8) var(--tds-spacing-element-16)"),e(i,{key:"726912df89435650c3ad1f39729fdff7d2a497e3",class:{"tds-table__body-cell":!0,"tds-table__body-cell--hover":this.activeSorting,"tds-table__compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--no-min-width":this.noMinWidth},style:{textAlign:this.textAlignState,padding:t},role:"cell"},this.cellValue,e("slot",{key:"ff6fb6613f29e94552916cfa75932b670e22ea80"}))}get host(){return s(this)}};o.style=":host(.tds-table__body-cell){box-sizing:border-box;font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform);display:table-cell;box-sizing:border-box;color:var(--table-text);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}:host(.tds-table__body-cell) *{box-sizing:border-box}:host(.tds-table__body-cell--hover){background-color:var(--table-body-cell-hover)}:host(.tds-table__compact){padding:var(--tds-spacing-element-8) var(--tds-spacing-element-16)}:host(.tds-table--divider){border-right:1px solid var(--table-divider)}:host(.tds-table--divider:last-of-type){border-right:none}:host(.tds-table--no-min-width){min-width:unset}";export{o as tds_body_cell}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,H as a,g as i}from"./p-2049fab2.js";const o=["multiselect","expandableRows","compactDesign","noMinWidth","verticalDividers"],l=class{constructor(a){t(this,a),this.tdsSort=e(this,"tdsSort",7),this.internalSortButtonClicked=e(this,"internalSortButtonClicked",6),this.internalTdsTextAlign=e(this,"internalTdsTextAlign",6),this.internalTdsHover=e(this,"internalTdsHover",6),this.sortButtonClick=()=>{this.sortingDirection="asc"!==this.sortingDirection&&"desc"!==this.sortingDirection?"asc":"asc"===this.sortingDirection?"desc":"asc",this.sortedByMyKey=!0,this.tdsSort.emit({tableId:this.tableId,columnKey:this.cellKey,sortingDirection:this.sortingDirection}),this.internalSortButtonClicked.emit({tableId:this.tableId,key:this.cellKey})},this.headerCellContent=()=>this.sortable?s("button",{class:"tds-table__header-button",onClick:()=>this.sortButtonClick(),style:{justifyContent:this.textAlignState},"aria-label":this.tdsAriaLabelSortButton},s("span",{class:"tds-table__header-button-text"},this.cellValue,s("slot",null)),void 0===this.sortingDirection&&s("tds-icon",{svgTitle:"sorting",class:"tds-table__header-button-icon",name:"sorting",size:"16px"}),this.sortingDirection&&["asc","desc"].includes(this.sortingDirection)&&s("tds-icon",{svgTitle:"arrow down",class:"tds-table__header-button-icon "+("asc"===this.sortingDirection?"tds-table__header-button-icon--rotate":""),name:"arrow_down",size:"16px"})):s("p",{class:{"tds-table__header-text":!0,"tds-table__header-text-no-padding":this.disablePadding},style:{textAlign:this.textAlignState}},this.cellValue,s("slot",null)),this.onHeadCellHover=t=>{this.internalTdsHover.emit({tableId:this.tableId,key:t})},this.cellKey=void 0,this.cellValue=void 0,this.customWidth=void 0,this.sortable=!1,this.textAlign="left",this.disablePadding=!1,this.tdsAriaLabelSortButton="",this.textAlignState=void 0,this.sortingDirection=void 0,this.sortedByMyKey=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.multiselect=!1,this.enableToolbarDesign=!1,this.tableId="",this.expandableRows=!1}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>o.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}updateOptionsContent(t){const{tableId:e,key:s}=t.detail;this.tableId===e&&this.cellKey!==s&&(this.sortedByMyKey=!1,setTimeout((()=>{this.sortingDirection=void 0}),200))}connectedCallback(){this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){o.forEach((t=>{this[t]=this.tableEl[t]}))}componentWillRender(){this.textAlignState=["left","start","right","end","center"].includes(this.textAlign)?this.textAlign:"left",this.internalTdsTextAlign.emit([this.tableId,this.cellKey,this.textAlignState]),this.enableToolbarDesign=this.host.closest("tds-table").getElementsByTagName("tds-table-toolbar").length>=1}getAriaSort(){return"asc"===this.sortingDirection?"ascending":"desc"===this.sortingDirection?"descending":"none"}render(){return s(a,{key:"9306f586f70affe65e63f3c7545285cf58e05a92",class:{"tds-table__header-cell":!0,"tds-table__header-cell--sortable":this.sortable,"tds-table__header-cell--is-sorted":this.sortedByMyKey,"tds-table__header-cell--custom-width":""!==this.customWidth,"tds-table--compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--no-min-width":this.noMinWidth,"tds-table--extra-column":this.multiselect||this.expandableRows,"tds-table--toolbar-available":this.enableToolbarDesign,"tds-table--no-padding":this.disablePadding},style:{minWidth:this.customWidth},onMouseOver:()=>this.onHeadCellHover(this.cellKey),onMouseLeave:()=>this.onHeadCellHover(""),role:"columnheader","aria-sort":this.getAriaSort()},this.headerCellContent())}get host(){return i(this)}};l.style=":host(.tds-table__header-cell){box-sizing:border-box;font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform);display:table-cell;text-align:left;color:var(--table-text);background-color:var(--table-header);border-bottom:1px solid var(--table-divider);padding:0;height:48px;min-width:192px;box-sizing:border-box;vertical-align:middle;overflow:hidden;transition:background-color 200ms ease}:host(.tds-table__header-cell) *{box-sizing:border-box}:host(.tds-table__header-cell) .tds-table__header-text{padding:8px 16px;margin:0}:host(.tds-table__header-cell) .tds-table__header-text-no-padding{padding:0}:host(.tds-table__header-cell--sortable) .tds-table__header-button{display:flex;align-items:center;gap:8px;justify-content:start;flex-direction:row;width:100%;height:100%;padding:0 16px;background-color:transparent;color:var(--table-text);border:none;cursor:pointer;transition:background-color 200ms ease}:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus{outline:2px solid var(--table-header-button-focus);outline-offset:-2px}:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-text{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform);text-align:left;color:var(--table-text)}:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-icon{flex:0 0 16px;height:16px;width:16px;opacity:0;transform-origin:center;transition:opacity 200ms ease-in, transform 200ms ease;fill:var(--table-text)}:host(.tds-table__header-cell--sortable) .tds-table__header-button:hover .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button{background-color:var(--table-header-button)}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button:hover{background-color:var(--table-header-button-hover)}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon--rotate{transform:rotate(180deg)}:host(.tds-table--compact){height:33px}:host(.tds-table--divider){border-right:1px solid var(--table-divider)}:host(.tds-table--divider:last-of-type){border-right:none}:host(.tds-table--no-min-width){min-width:unset}:host(.tds-table--no-padding){height:unset}:host(.tds-table__header-cell:first-of-type){border-top-left-radius:4px}:host(.tds-table__header-cell:last-of-type){border-top-right-radius:4px}:host(.tds-table--extra-column:first-of-type){border-top-left-radius:0}:host(.tds-table--toolbar-available){border-radius:0}:host(.tds-table--extra-column.tds-table--toolbar-available){border-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:first-of-type){border-top-left-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:last-of-type){border-top-right-radius:0}";export{l as tds_header_cell}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,g as d}from"./p-2049fab2.js";const s=class{constructor(e){t(this,e),this.disabled=!1,this.selected=!1,this.tabWidth=void 0}async setTabWidth(t){this.tabWidth=t}async setSelected(t){this.selected=t}connectedCallback(){const t=this.host.querySelectorAll("button, a");for(let e=0;e<t.length;e++){const o=t[e];o.getAttribute("aria-controls")||console.warn("Tegel folder-tab component: Interactive elements should have aria-controls attribute to link the tab to its corresponding panel"),"tab"!==o.getAttribute("role")&&console.warn('Tegel folder-tab component: Interactive elements should have attribute role="tab"'),this.disabled?o.setAttribute("aria-disabled","true"):o.removeAttribute("aria-disabled")}}render(){return e(o,{key:"584a1fcf43299d27e3fb2150214830c7964e3895","aria-selected":this.selected},e("div",{key:"ed0f0d8acafaf35c36a22d34ef4c9ac240ba5311",class:{selected:this.selected,disabled:this.disabled},style:{width:`${this.tabWidth}px`}},e("slot",{key:"ac2fb5ed4062e9e83297e9a6c2f3ea6b9f514b06"})))}get host(){return d(this)}};s.style=':host{box-sizing:border-box;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;min-width:142px;display:block;width:calc(100% - 32px);font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;cursor:pointer;padding:16px;white-space:nowrap;text-decoration:none;text-align:left;outline:none;border:none;border-left:1px solid;border-left-color:transparent}:host ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px}:host div:not(.selected){background-color:var(--tds-folder-tab-background)}:host div:not(.selected) ::slotted(*){border-left-color:var(--tds-folder-tab-divider-color);border-top:2px solid var(--tds-folder-tab-background);color:var(--tds-folder-tab-item-color)}:host div:not(.selected):hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host div:not(.selected):hover:not(.disabled) ::slotted(*){border-top-color:var(--tds-folder-tab-background-hover);color:var(--tds-folder-tab-color)}:host div:not(.selected).disabled ::slotted(*){color:var(--tds-folder-tab-item-color-disabled)}:host div:not(.selected).disabled ::slotted(*:focus-visible){outline:none}:host div:not(.selected).disabled ::slotted(*:hover){cursor:not-allowed}:host div:not(.selected).disabled ::slotted(*::after){content:none}:host .selected{background-color:var(--tds-folder-tab-background-selected);border-top:2px solid var(--tds-folder-tab-border-selected)}:host .selected::after{content:" ";background-color:var(--tds-folder-tab-background-selected);width:1px;top:0;bottom:0;right:-1px;display:block;position:absolute;z-index:1}:host .selected ::slotted(*){color:var(--tds-folder-tab-color)}:host(.first) :not(.selected) ::slotted(*){border-left-color:transparent}';export{s as tds_folder_tab}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as t,H as n,g as r}from"./p-2049fab2.js";import{h as c}from"./p-ae110fc2.js";const s=class{constructor(t){o(this,t),this.text=void 0,this.type="button",this.variant="primary",this.size="lg",this.disabled=!1,this.fullbleed=!1,this.modeVariant=null,this.animation="none",this.tdsAriaLabel=void 0,this.name=void 0,this.value=void 0,this.onlyIcon=!1}connectedCallback(){this.onlyIcon&&!this.tdsAriaLabel&&console.warn("Tegel button component: please specify the tdsAriaLabel prop when you have the onlyIcon attribute set to true")}render(){const o=c("label",this.host),r=c("icon",this.host);return this.text||o||(this.onlyIcon=!0),t(n,{key:"d6f3f193c3050d8eab6220cadd05847cbb528f3e",class:{[`tds-mode-variant-${this.modeVariant}`]:Boolean(this.modeVariant),disabled:Boolean(this.disabled),fullbleed:Boolean(this.fullbleed)},disabled:this.disabled},t("button",Object.assign({key:"4b548051c9eeaf43d63a5173e08f0263896626b9",type:this.type,name:this.name?this.name:void 0,value:this.value?this.value:void 0,disabled:this.disabled,class:{primary:"primary"===this.variant,secondary:"secondary"===this.variant,ghost:"ghost"===this.variant,danger:"danger"===this.variant,lg:"lg"===this.size,md:"md"===this.size,sm:"sm"===this.size,xs:"xs"===this.size,disabled:this.disabled,fullbleed:this.fullbleed,icon:r,"only-icon":this.onlyIcon,[`animation-${this.animation}`]:"none"!==this.animation}},this.onlyIcon&&this.tdsAriaLabel&&{"aria-label":this.tdsAriaLabel}),this.text,o&&!this.onlyIcon&&t("slot",{key:"0f85ffc90d0328c14ffd4696a3b305a1ff144253",name:"label"}),r&&t("slot",{key:"a0434202a202f7996174233b18eff6e4361df146",name:"icon"})))}get host(){return r(this)}};s.style="button.sc-tds-button{box-sizing:border-box;font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform);display:inline-flex;align-items:center;border-radius:var(--button-radius);border:none;box-shadow:none;position:relative;text-decoration:none;cursor:pointer;height:56px;padding:var(--tds-spacing-element-20);border:1px solid transparent}button.sc-tds-button *.sc-tds-button{box-sizing:border-box}button.sc-tds-button:focus{outline:1px solid var(--scania-blue-400)}button.primary.sc-tds-button{background:var(--button-primary-background);border-color:var(--button-primary-border-color);color:var(--button-primary-color);outline-color:var(--button-primary-outline-color)}button.primary.icon.sc-tds-button{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.primary.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button.primary:not(.disabled).sc-tds-button-s>[slot=icon],button.primary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.secondary.sc-tds-button{background:var(--button-secondary-background);border-color:var(--button-secondary-border-color);color:var(--button-secondary-color);outline-color:var(--button-secondary-outline-color)}button.secondary.icon.sc-tds-button{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.secondary.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button.secondary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.ghost.sc-tds-button{background:var(--button-ghost-background);border-color:var(--button-ghost-border-color);color:var(--button-ghost-color);outline-color:var(--button-ghost-outline-color)}button.ghost.icon.sc-tds-button{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.ghost.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button.ghost:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.danger.sc-tds-button{background:var(--button-danger-background);border-color:var(--button-danger-border-color);color:var(--button-danger-color);outline-color:var(--button-danger-outline-color)}button.danger.icon.sc-tds-button{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.danger.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button.danger:not(.disabled).sc-tds-button-s>[slot=icon],button.danger:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.sc-tds-button:hover.primary{background:var(--button-primary-background-hover);border-color:var(--button-primary-border-color-hover);color:var(--button-primary-color-hover);outline-color:var(--button-primary-outline-color-hover)}button.sc-tds-button:hover.primary.icon{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.sc-tds-button:hover.primary.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:hover.primary:not(.disabled).sc-tds-button-s>[slot=icon],button:hover.primary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.sc-tds-button:hover.secondary{background:var(--button-secondary-background-hover);border-color:var(--button-secondary-border-color-hover);color:var(--button-secondary-color-hover);outline-color:var(--button-secondary-outline-color-hover)}button.sc-tds-button:hover.secondary.icon{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.sc-tds-button:hover.secondary.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:hover.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button:hover.secondary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.sc-tds-button:hover.ghost{background:var(--button-ghost-background-hover);border-color:var(--button-ghost-border-color-hover);color:var(--button-ghost-color-hover);outline-color:var(--button-ghost-outline-color-hover)}button.sc-tds-button:hover.ghost.icon{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.sc-tds-button:hover.ghost.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:hover.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button:hover.ghost:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.sc-tds-button:hover.danger{background:var(--button-danger-background-hover);border-color:var(--button-danger-border-color-hover);color:var(--button-danger-color-hover);outline-color:var(--button-danger-outline-color-hover)}button.sc-tds-button:hover.danger.icon{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.sc-tds-button:hover.danger.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:hover.danger:not(.disabled).sc-tds-button-s>[slot=icon],button:hover.danger:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.sc-tds-button:focus-visible{outline:var(--button-outline-width) solid var(--color-foreground-border-accent-focus);outline-offset:calc(var(--button-outline-width) * -1)}button.sc-tds-button:focus-visible.primary{background:var(--button-primary-background-focus);border-color:var(--button-primary-border-color-focus);color:var(--button-primary-color-focus);outline-color:var(--button-primary-outline-color-focus)}button.sc-tds-button:focus-visible.primary.icon{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.sc-tds-button:focus-visible.primary.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:focus-visible.primary:not(.disabled).sc-tds-button-s>[slot=icon],button:focus-visible.primary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.sc-tds-button:focus-visible.secondary{background:var(--button-secondary-background-focus);border-color:var(--button-secondary-border-color-focus);color:var(--button-secondary-color-focus);outline-color:var(--button-secondary-outline-color-focus)}button.sc-tds-button:focus-visible.secondary.icon{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.sc-tds-button:focus-visible.secondary.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:focus-visible.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button:focus-visible.secondary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.sc-tds-button:focus-visible.ghost{background:var(--button-ghost-background-focus);border-color:var(--button-ghost-border-color-focus);color:var(--button-ghost-color-focus);outline-color:var(--button-ghost-outline-color-focus)}button.sc-tds-button:focus-visible.ghost.icon{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.sc-tds-button:focus-visible.ghost.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:focus-visible.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button:focus-visible.ghost:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.sc-tds-button:focus-visible.danger{background:var(--button-danger-background-focus);border-color:var(--button-danger-border-color-focus);color:var(--button-danger-color-focus);outline-color:var(--button-danger-outline-color-focus)}button.sc-tds-button:focus-visible.danger.icon{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.sc-tds-button:focus-visible.danger.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button:focus-visible.danger:not(.disabled).sc-tds-button-s>[slot=icon],button:focus-visible.danger:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.sc-tds-button:focus-visible.primary{background:var(--button-primary-background-focus);border-color:var(--button-primary-border-color-focus);color:var(--button-primary-color-focus);outline-color:var(--button-primary-outline-color-focus)}button:focus-visible.primary.sc-tds-button-s>[slot=icon],button:focus-visible.primary .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-primary-fill-focus);color:var(--button-icon-primary-fill-focus);fill:var(--button-icon-primary-color-focus);color:var(--button-icon-primary-color-focus)}button.sc-tds-button:focus-visible.secondary{background:var(--button-secondary-background-focus);border-color:var(--button-secondary-border-color-focus);color:var(--button-secondary-color-focus);outline-color:var(--button-secondary-outline-color-focus)}button:focus-visible.secondary.sc-tds-button-s>[slot=icon],button:focus-visible.secondary .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-secondary-fill-focus);color:var(--button-icon-secondary-fill-focus);fill:var(--button-icon-secondary-color-focus);color:var(--button-icon-secondary-color-focus)}button.sc-tds-button:focus-visible.ghost{background:var(--button-ghost-background-focus);border-color:var(--button-ghost-border-color-focus);color:var(--button-ghost-color-focus);outline-color:var(--button-ghost-outline-color-focus)}button:focus-visible.ghost.sc-tds-button-s>[slot=icon],button:focus-visible.ghost .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-ghost-fill-focus);color:var(--button-icon-ghost-fill-focus);fill:var(--button-icon-ghost-color-focus);color:var(--button-icon-ghost-color-focus)}button.sc-tds-button:focus-visible.danger{background:var(--button-danger-background-focus);border-color:var(--button-danger-border-color-focus);color:var(--button-danger-color-focus);outline-color:var(--button-danger-outline-color-focus)}button:focus-visible.danger.sc-tds-button-s>[slot=icon],button:focus-visible.danger .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-danger-fill-focus);color:var(--button-icon-danger-fill-focus);fill:var(--button-icon-danger-color-focus);color:var(--button-icon-danger-color-focus)}button.sc-tds-button:active.primary,button.active.primary.sc-tds-button{background:var(--button-primary-background-active);border-color:var(--button-primary-border-color-active);color:var(--button-primary-color-active);outline-color:var(--button-primary-outline-color-active)}button.sc-tds-button:active.primary.icon,button.active.primary.icon.sc-tds-button{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.sc-tds-button:active.primary.icon.disabled,button.active.primary.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button:active.primary:not(.disabled).sc-tds-button-s>[slot=icon],button:active.primary:not(.disabled) .sc-tds-button-s>[slot=icon],button.active.primary:not(.disabled).sc-tds-button-s>[slot=icon],button.active.primary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.sc-tds-button:active.secondary,button.active.secondary.sc-tds-button{background:var(--button-secondary-background-active);border-color:var(--button-secondary-border-color-active);color:var(--button-secondary-color-active);outline-color:var(--button-secondary-outline-color-active)}button.sc-tds-button:active.secondary.icon,button.active.secondary.icon.sc-tds-button{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.sc-tds-button:active.secondary.icon.disabled,button.active.secondary.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button:active.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button:active.secondary:not(.disabled) .sc-tds-button-s>[slot=icon],button.active.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button.active.secondary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.sc-tds-button:active.ghost,button.active.ghost.sc-tds-button{background:var(--button-ghost-background-active);border-color:var(--button-ghost-border-color-active);color:var(--button-ghost-color-active);outline-color:var(--button-ghost-outline-color-active)}button.sc-tds-button:active.ghost.icon,button.active.ghost.icon.sc-tds-button{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.sc-tds-button:active.ghost.icon.disabled,button.active.ghost.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button:active.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button:active.ghost:not(.disabled) .sc-tds-button-s>[slot=icon],button.active.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button.active.ghost:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.sc-tds-button:active.danger,button.active.danger.sc-tds-button{background:var(--button-danger-background-active);border-color:var(--button-danger-border-color-active);color:var(--button-danger-color-active);outline-color:var(--button-danger-outline-color-active)}button.sc-tds-button:active.danger.icon,button.active.danger.icon.sc-tds-button{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.sc-tds-button:active.danger.icon.disabled,button.active.danger.icon.disabled.sc-tds-button{color:var(--button-icon-secondary-color-disabled)}button:active.danger:not(.disabled).sc-tds-button-s>[slot=icon],button:active.danger:not(.disabled) .sc-tds-button-s>[slot=icon],button.active.danger:not(.disabled).sc-tds-button-s>[slot=icon],button.active.danger:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.disabled.primary.sc-tds-button,button.sc-tds-button:disabled.primary{background:var(--button-primary-background-disabled);border-color:var(--button-primary-border-color-disabled);color:var(--button-primary-color-disabled);outline-color:var(--button-primary-outline-color-disabled)}button.disabled.primary.icon.sc-tds-button,button.sc-tds-button:disabled.primary.icon{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.disabled.primary.icon.disabled.sc-tds-button,button.sc-tds-button:disabled.primary.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button.disabled.primary:not(.disabled).sc-tds-button-s>[slot=icon],button.disabled.primary:not(.disabled) .sc-tds-button-s>[slot=icon],button:disabled.primary:not(.disabled).sc-tds-button-s>[slot=icon],button:disabled.primary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-primary-fill);color:var(--button-icon-primary-fill);fill:var(--button-icon-primary-color);color:var(--button-icon-primary-color)}button.disabled.secondary.sc-tds-button,button.sc-tds-button:disabled.secondary{background:var(--button-secondary-background-disabled);border-color:var(--button-secondary-border-color-disabled);color:var(--button-secondary-color-disabled);outline-color:var(--button-secondary-outline-color-disabled)}button.disabled.secondary.icon.sc-tds-button,button.sc-tds-button:disabled.secondary.icon{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.disabled.secondary.icon.disabled.sc-tds-button,button.sc-tds-button:disabled.secondary.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button.disabled.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button.disabled.secondary:not(.disabled) .sc-tds-button-s>[slot=icon],button:disabled.secondary:not(.disabled).sc-tds-button-s>[slot=icon],button:disabled.secondary:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-secondary-fill);color:var(--button-icon-secondary-fill);fill:var(--button-icon-secondary-color);color:var(--button-icon-secondary-color)}button.disabled.ghost.sc-tds-button,button.sc-tds-button:disabled.ghost{background:var(--button-ghost-background-disabled);border-color:var(--button-ghost-border-color-disabled);color:var(--button-ghost-color-disabled);outline-color:var(--button-ghost-outline-color-disabled)}button.disabled.ghost.icon.sc-tds-button,button.sc-tds-button:disabled.ghost.icon{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.disabled.ghost.icon.disabled.sc-tds-button,button.sc-tds-button:disabled.ghost.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button.disabled.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button.disabled.ghost:not(.disabled) .sc-tds-button-s>[slot=icon],button:disabled.ghost:not(.disabled).sc-tds-button-s>[slot=icon],button:disabled.ghost:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-ghost-fill);color:var(--button-icon-ghost-fill);fill:var(--button-icon-ghost-color);color:var(--button-icon-ghost-color)}button.disabled.danger.sc-tds-button,button.sc-tds-button:disabled.danger{background:var(--button-danger-background-disabled);border-color:var(--button-danger-border-color-disabled);color:var(--button-danger-color-disabled);outline-color:var(--button-danger-outline-color-disabled)}button.disabled.danger.icon.sc-tds-button,button.sc-tds-button:disabled.danger.icon{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.disabled.danger.icon.disabled.sc-tds-button,button.sc-tds-button:disabled.danger.icon.disabled{color:var(--button-icon-secondary-color-disabled)}button.disabled.danger:not(.disabled).sc-tds-button-s>[slot=icon],button.disabled.danger:not(.disabled) .sc-tds-button-s>[slot=icon],button:disabled.danger:not(.disabled).sc-tds-button-s>[slot=icon],button:disabled.danger:not(.disabled) .sc-tds-button-s>[slot=icon]{fill:var(--button-icon-danger-fill);color:var(--button-icon-danger-fill);fill:var(--button-icon-danger-color);color:var(--button-icon-danger-color)}button.xs.sc-tds-button{padding:var(--tds-spacing-element-4) var(--tds-spacing-element-8);height:24px}button.sm.sc-tds-button{padding:var(--tds-spacing-element-12);height:40px}button.sm.icon.sc-tds-button{padding:10px var(--tds-spacing-element-12)}button.sm.only-icon.sc-tds-button{padding:11px}button.md.sc-tds-button{padding:var(--tds-spacing-element-16);height:48px}button.md.icon.sc-tds-button{padding:14px var(--tds-spacing-element-16)}button.md.only-icon.sc-tds-button{padding:13px}button.lg.sc-tds-button{padding:var(--tds-spacing-element-20);height:56px}button.lg.icon.sc-tds-button{padding:18px var(--tds-spacing-element-20)}button.lg.only-icon.sc-tds-button{padding:17px}button.fullbleed.sc-tds-button{width:100%;display:flex;justify-content:center}button.animation-fade.sc-tds-button{transition:background-color var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania)}tds-button.sc-tds-button-h{display:inline-flex;align-items:center}.disabled.sc-tds-button-h:active{pointer-events:none}.disabled.sc-tds-button-h button.sc-tds-button{cursor:not-allowed}.fullbleed.sc-tds-button-h{width:100%;justify-content:center}tds-button.sc-tds-button button.sc-tds-button{display:inline-flex;align-items:center}tds-button button.sm.sc-tds-button-s>[slot=icon]{margin-left:var(--tds-spacing-element-12);width:var(--tds-spacing-element-16);height:var(--tds-spacing-element-16)}tds-button button.md.sc-tds-button-s>[slot=icon]{margin-left:var(--tds-spacing-element-16);width:var(--tds-spacing-element-20);height:var(--tds-spacing-element-20)}tds-button button.lg.sc-tds-button-s>[slot=icon]{margin-left:var(--tds-spacing-element-20);width:var(--tds-spacing-element-20);height:var(--tds-spacing-element-20)}tds-button button.only-icon.sc-tds-button-s>[slot=icon]{margin-left:0}";export{s as tds_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as o,g as d}from"./p-2049fab2.js";const s=["multiselect","expandableRows","zebraMode"],a=class{constructor(t){e(this,t),this.bodyCheckBoxClicked=()=>{const e=this.host.getElementsByClassName("tds-table__row").length,t=this.host.getElementsByClassName("tds-table__row--selected").length;this.mainCheckboxStatus=e===t},this.multiselect=!1,this.enablePaginationTableBody=!1,this.expandableRows=!1,this.multiselectArray=[],this.multiselectArrayJSON=void 0,this.mainCheckboxStatus=!1,this.columnsNumber=0,this.zebraMode="none",this.tableId=""}internalTdsPropChangeListener(e){this.tableId===e.detail.tableId&&e.detail.changed.filter((e=>s.includes(e))).forEach((t=>{if(void 0===this[t])throw new Error(`Table prop is not supported: ${t}`);this[t]=e.detail[t]}))}bodyCheckboxListener(){this.bodyCheckBoxClicked()}connectedCallback(){this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){s.forEach((e=>{this[e]=this.tableEl[e]}))}componentWillRender(){const e=this.host.parentElement.querySelector("tds-table-header").children.length;this.columnsNumber=this.multiselect||this.expandableRows?e+1:e}render(){return t(o,{key:"22e2e49b6db83c7c71e1e674b3dbfcb1ffd04e66","data-selected-rows":this.multiselectArrayJSON,class:{"tds-table--zebra-mode-rows-odd":"rows-odd"===this.zebraMode,"tds-table--zebra-mode-rows-even":"rows-even"===this.zebraMode,"tds-table--zebra-mode-columns-odd":"columns-odd"===this.zebraMode,"tds-table--zebra-mode-columns-even":"columns-even"===this.zebraMode}},t("slot",{key:"deb2aa129f332b48f7b9a38b0de25c2076fd86d9"}))}get host(){return d(this)}};a.style=":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-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform);display:table-cell;box-sizing:border-box;color:var(--table-text);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(--table-zebra-mode)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--table-body-row-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--table-zebra-mode)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--table-body-row-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--table-zebra-mode)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--table-body-cell-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--table-zebra-mode)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--table-body-cell-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}";export{a as tds_table_body}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as s,g as i}from"./p-2049fab2.js";const d=["multiselect","expandableRows","verticalDividers","compactDesign","noMinWidth"],o=class{constructor(a){e(this,a),this.tdsSelectAll=t(this,"tdsSelectAll",6),this.allSelected=!1,this.selected=void 0,this.disabled=!1,this.indeterminate=!1,this.multiselect=!1,this.expandableRows=!1,this.mainCheckboxSelected=!1,this.mainExpendSelected=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.whiteBackground=!1,this.enableToolbarDesign=!1,this.tableId=""}internalTdsPropChangeListener(e){this.tableId===e.detail.tableId&&e.detail.changed.filter((e=>d.includes(e))).forEach((t=>{if(void 0===this[t])throw new Error(`Table prop is not supported: ${t}`);this[t]=e.detail[t]}))}internalTdsRowExpandedListener(e){this.tableId===e.detail[0]&&setTimeout((()=>{this.bodyExpandClicked()}),100)}bodyExpandClicked(){const e=this.host.parentElement.querySelector("tds-table-body").getElementsByClassName("tds-table__row-extend--active").length,t=this.host.parentElement.querySelector("tds-table-body").getElementsByTagName("tds-table-body-row-expendable").length;this.mainExpendSelected=t===e}connectedCallback(){this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){d.forEach((e=>{this[e]=this.tableEl[e]}))}componentWillRender(){this.enableToolbarDesign=this.host.closest("tds-table").getElementsByTagName("tds-table-toolbar").length>=1}async handleCheckboxChange(e){this.allSelected=e.detail.checked,this.tdsSelectAll.emit({tableId:this.tableId,checked:e.detail.checked,selectedRows:await this.tableEl.getSelectedRows()})}render(){return a(s,{key:"6f2fe80cd2493ad5c3bba50129c5d9f673e71897",class:{"tds-table--compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table--toolbar-available":this.enableToolbarDesign}},a("tr",{key:"b409f610aca3da5fa322e7e69f6efc06ab82165a"},this.multiselect&&a("th",{key:"89e063b17bc2fa11ba2425b88d7a4896deef164d",class:"tds-table__header-cell tds-table__header-cell--checkbox"},a("div",{key:"eb44702a1169731a5587adaf7f4d0a28beb4b6db",class:"tds-form-label tds-form-label--table"},a("tds-checkbox",{key:"5a3bb99a515fb6e87f39de70e530a67c10c3e2f7",checked:this.allSelected||this.selected,disabled:this.disabled,indeterminate:this.indeterminate,onTdsChange:e=>this.handleCheckboxChange(e)}))),this.expandableRows&&a("th",{key:"8463b7990b37ffb6eb36eaffe9e3f3e159fdf5ba",class:"tds-table__header-cell tds-table__header-cell--checkbox"}),a("slot",{key:"2f31f807f5f3744ffe05c0eebac93c6c8374b046"})))}get host(){return i(this)}};o.style=":host{box-sizing:border-box;display:table-header-group}:host *{box-sizing:border-box}:host .tds-table__header-cell--checkbox{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform);display:table-cell;text-align:left;color:var(--table-text);background-color:var(--table-header);border-bottom:1px solid var(--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 ::slotted(tds-header-cell:hover){background-color:var(--table-header-hover)}: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(--table-divider)}:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox{border-top-left-radius:0}";export{o as tds_table_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,H as o,g as i}from"./p-2049fab2.js";const l=["multiselect","verticalDividers","compactDesign"],a=class{constructor(s){t(this,s),this.tdsSelect=e(this,"tdsSelect",6),this.tdsClick=e(this,"tdsClick",6),this.selected=!1,this.disabled=!1,this.clickable=!1,this.multiselect=!1,this.mainCheckBoxStatus=!1,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.tableId=""}async handleCheckboxChange(t){this.selected=t.detail.checked,this.tdsSelect.emit({tableId:this.tableId,checked:this.selected,selectedRows:await this.tableEl.getSelectedRows()})}handleRowClick(t){if(!this.clickable)return;let e=Array.from(this.host.parentElement.children).indexOf(this.host);this.tdsClick.emit({event:t,tableId:this.tableId,rowIndex:e})}handleKeyDown(t){!this.clickable||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleRowClick(t))}internalTdsPropChangeListener(t){this.tableId===t.detail.tableId&&t.detail.changed.filter((t=>l.includes(t))).forEach((e=>{if(void 0===this[e])throw new Error(`Table prop is not supported: ${e}`);this[e]=t.detail[e]}))}connectedCallback(){var t;this.tableEl=this.host.closest("tds-table"),this.tableId=null===(t=this.tableEl)||void 0===t?void 0:t.tableId}componentWillLoad(){this.tableEl&&l.forEach((t=>{this[t]=this.tableEl[t]}))}render(){return s(o,{key:"e9e619ee732dc9d3f3f34cc47abf84ae1d194e1d",tabindex:this.clickable?"0":null,class:{"tds-table__row":!0,"tds-table__row--selected":this.selected,"tds-table__compact":this.compactDesign,"tds-table--divider":this.verticalDividers,"tds-table__row--clickable":this.clickable},onClick:t=>this.handleRowClick(t),onKeyDown:t=>this.handleKeyDown(t),role:"row"},this.multiselect&&s("td",{key:"b8be33901f5097ae612521cda831db3c5ff7334a",class:"tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table"},s("tds-checkbox",{key:"62b918b9aca497c5187a90ffbe8a91ac3b83c1f5",onTdsChange:t=>this.handleCheckboxChange(t),checked:this.selected,disabled:this.disabled})),s("slot",{key:"570b47dae5bae13f75b7cab00a1b8b2c51912cd5"}))}get host(){return i(this)}};a.style=":host(.tds-table__row){box-sizing:border-box;display:table-row;border-bottom:1px solid var(--table-divider);background-color:var(--table-body-row);transition:background-color 200ms ease;color:var(--table-text)}: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){background-color:var(--table-body-row-hover)}:host(.tds-table__row--selected){background-color:var(--table-body-row-selected)}:host(.tds-table__row--selected:hover){background-color:var(--table-body-row-selected-hover)}:host(.tds-table__row--hidden){display:none}:host(.tds-table__row--expended){width:100%}: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(--table-divider)}:host(.tds-table__row--clickable){cursor:pointer}:host(.tds-table__row--clickable:focus-visible){outline:var(--focus-outline, 2px solid blue)}";export{a as tds_table_body_row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as e,g as i}from"./p-2049fab2.js";const s=class{constructor(o){t(this,o),this.parentIsTopPart=!1}connectedCallback(){this.parentIsTopPart="top"===this.host.closest("tds-footer-group").parentElement.slot}render(){return o(e,{key:"845de26cafaefdf0e5ceabe57ba7bbce51eed038",role:"listitem"},o("div",{key:"de201fb4965740a2c0bebbea790651487e082637",class:this.parentIsTopPart?"top-part-child":""},o("slot",{key:"eca7ee20a2a4b1e9e9947e6566046c9031198569"})))}get host(){return i(this)}};s.style=":host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-main-links);text-decoration:none}:host([role=listitem]) div ::slotted(a:focus-visible),:host([role=listitem]) div ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px}:host([role=listitem]) div ::slotted(a:hover),:host([role=listitem]) div ::slotted(button:hover){text-decoration:underline}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px}@media all and (max-width: 992px){:host([role=listitem]) div.top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}:host([role=listitem]) div.top-part-child ::slotted(a:hover),:host([role=listitem]) div.top-part-child ::slotted(button:hover){text-decoration:underline;background-color:var(--tds-footer-top-links-background-hover)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px}}";export{s as tds_footer_item}
|