@scania/tegel 1.32.2-multibrand-beta.5 → 1.33.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 +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 +167 -151
- 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 +7 -10
- 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/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-76faaf70.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/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
|
@@ -35,9 +35,10 @@
|
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
}
|
|
37
37
|
:host .component ::slotted(a:focus-visible) {
|
|
38
|
-
outline: 2px solid var(--tds-
|
|
38
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
39
39
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
40
40
|
outline-offset: 1px;
|
|
41
|
+
z-index: 1;
|
|
41
42
|
}
|
|
42
43
|
:host .component.component-selected ::slotted(a),
|
|
43
44
|
:host .component.component-selected ::slotted(button) {
|
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
}
|
|
43
43
|
:host .component ::slotted(a:focus-visible),
|
|
44
44
|
:host .component ::slotted(button:focus-visible) {
|
|
45
|
-
outline: 2px solid var(--tds-
|
|
45
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
46
46
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
47
47
|
outline-offset: 1px;
|
|
48
|
+
z-index: 1;
|
|
48
49
|
}
|
|
49
50
|
:host .component:hover ::slotted(a),
|
|
50
51
|
:host .component:hover ::slotted(button) {
|
|
@@ -124,18 +124,18 @@ aside .tds-side-menu-wrapper {
|
|
|
124
124
|
}
|
|
125
125
|
aside .tds-side-menu-wrapper:hover::-webkit-scrollbar-thumb {
|
|
126
126
|
border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
|
|
127
|
-
background: var(--
|
|
127
|
+
background: var(--tds-scrollbar-hover-thumb-color);
|
|
128
128
|
background-clip: padding-box;
|
|
129
129
|
}
|
|
130
130
|
aside .tds-side-menu-wrapper::-webkit-scrollbar {
|
|
131
131
|
width: var(--tds-scrollbar-width);
|
|
132
132
|
}
|
|
133
133
|
aside .tds-side-menu-wrapper::-webkit-scrollbar-track {
|
|
134
|
-
background: var(--
|
|
134
|
+
background: var(--tds-scrollbar-track-color);
|
|
135
135
|
}
|
|
136
136
|
aside .tds-side-menu-wrapper::-webkit-scrollbar-thumb {
|
|
137
137
|
border-radius: 40px;
|
|
138
|
-
background: var(--
|
|
138
|
+
background: var(--tds-scrollbar-thumb-color);
|
|
139
139
|
border: var(--tds-scrollbar-thumb-border-width) solid transparent;
|
|
140
140
|
background-clip: padding-box;
|
|
141
141
|
}
|
|
@@ -1,3 +1,44 @@
|
|
|
1
|
+
/* Component variables aka overrides */
|
|
2
|
+
:root {
|
|
3
|
+
--spinner-background-inverted: var(--tds-white);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:root,
|
|
7
|
+
.scania,
|
|
8
|
+
.scania .tds-mode-light {
|
|
9
|
+
--spinner-background: var(--tds-blue-400);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.scania .tds-mode-dark {
|
|
13
|
+
--spinner-background: var(--tds-blue-400);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.traton,
|
|
17
|
+
.traton .tds-mode-light {
|
|
18
|
+
--spinner-background: rgba(0, 72, 82, 1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.traton .tds-mode-dark {
|
|
22
|
+
--spinner-background: rgba(194, 191, 182, 1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Component variables */
|
|
26
|
+
:root {
|
|
27
|
+
--spinner-speed: 1.8s;
|
|
28
|
+
--spinner-speed-lg: 2s;
|
|
29
|
+
--spinner-radius-xs: 8px;
|
|
30
|
+
--spinner-radius-sm: 12px;
|
|
31
|
+
--spinner-radius-md: 26px;
|
|
32
|
+
--spinner-radius-lg: 42px;
|
|
33
|
+
--spinner-radius: var(--spinner-radius-lg);
|
|
34
|
+
--spinner-stroke-width-xs: 3px;
|
|
35
|
+
--spinner-stroke-width-sm: 4px;
|
|
36
|
+
--spinner-stroke-width-md: 6px;
|
|
37
|
+
--spinner-stroke-width-lg: 8px;
|
|
38
|
+
--spinner-stroke-width: var(--spinner-stroke-width-lg);
|
|
39
|
+
--PI: 3.14159265358979;
|
|
40
|
+
}
|
|
41
|
+
|
|
1
42
|
:host {
|
|
2
43
|
box-sizing: border-box;
|
|
3
44
|
display: block;
|
|
@@ -6,53 +47,42 @@
|
|
|
6
47
|
box-sizing: border-box;
|
|
7
48
|
}
|
|
8
49
|
|
|
9
|
-
/* Size configuration */
|
|
10
|
-
/* Animation mixin */
|
|
11
50
|
.tds-spinner-svg {
|
|
12
|
-
/* Component variables */
|
|
13
|
-
--radius: var(--radius-lg);
|
|
14
|
-
--stroke-width: var(--stroke-width-lg);
|
|
15
|
-
--animation-speed: var(--speed-lg);
|
|
16
|
-
--PI: 3.14159265358979;
|
|
17
51
|
display: block;
|
|
18
|
-
width: calc(var(--radius) * 2);
|
|
19
|
-
height: calc(var(--radius) * 2);
|
|
52
|
+
width: calc(var(--spinner-radius) * 2);
|
|
53
|
+
height: calc(var(--spinner-radius) * 2);
|
|
20
54
|
transform: scale(-1, 1) rotate(-90deg);
|
|
21
|
-
/* Generate size variants */
|
|
22
55
|
}
|
|
23
56
|
.tds-spinner-svg-xs {
|
|
24
|
-
--radius:
|
|
25
|
-
--stroke-width:
|
|
26
|
-
--animation-speed:
|
|
57
|
+
--spinner-radius: var(--spinner-radius-xs);
|
|
58
|
+
--spinner-stroke-width: var(--spinner-stroke-width-xs);
|
|
59
|
+
--spinner-animation-speed: var(--spinner-speed);
|
|
27
60
|
}
|
|
28
61
|
.tds-spinner-svg-sm {
|
|
29
|
-
--radius:
|
|
30
|
-
--stroke-width:
|
|
31
|
-
--animation-speed:
|
|
62
|
+
--spinner-radius: var(--spinner-radius-sm);
|
|
63
|
+
--spinner-stroke-width: var(--spinner-stroke-width-sm);
|
|
64
|
+
--spinner-animation-speed: var(--spinner-speed);
|
|
32
65
|
}
|
|
33
66
|
.tds-spinner-svg-md {
|
|
34
|
-
--radius:
|
|
35
|
-
--stroke-width:
|
|
36
|
-
--animation-speed:
|
|
67
|
+
--spinner-radius: var(--spinner-radius-md);
|
|
68
|
+
--spinner-stroke-width: var(--spinner-stroke-width-md);
|
|
69
|
+
--spinner-animation-speed: var(--spinner-speed);
|
|
37
70
|
}
|
|
38
71
|
.tds-spinner-svg-lg {
|
|
39
|
-
--radius:
|
|
40
|
-
--stroke-width:
|
|
41
|
-
--animation-speed:
|
|
72
|
+
--spinner-radius: var(--spinner-radius-lg);
|
|
73
|
+
--spinner-stroke-width: var(--spinner-stroke-width-lg);
|
|
74
|
+
--spinner-animation-speed: var(--spinner-speed-lg);
|
|
42
75
|
}
|
|
43
76
|
|
|
44
77
|
.tds-spinner-circle {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
r: calc(var(--radius) - var(--stroke-width) / 2);
|
|
78
|
+
cx: var(--spinner-radius);
|
|
79
|
+
cy: var(--spinner-radius);
|
|
80
|
+
r: calc(var(--spinner-radius) - var(--spinner-stroke-width) / 2);
|
|
49
81
|
fill: none;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
stroke-
|
|
53
|
-
|
|
54
|
-
animation: dash var(--animation-speed) cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
|
|
55
|
-
/* Color variants */
|
|
82
|
+
--spinner-stroke-dash: calc((2 * var(--PI)) * var(--spinner-radius));
|
|
83
|
+
stroke-dasharray: var(--spinner-stroke-dash);
|
|
84
|
+
stroke-width: var(--spinner-stroke-width);
|
|
85
|
+
animation: dash var(--spinner-animation-speed) cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
|
|
56
86
|
}
|
|
57
87
|
.tds-spinner-circle-standard {
|
|
58
88
|
stroke: var(--spinner-background);
|
|
@@ -63,9 +93,9 @@
|
|
|
63
93
|
|
|
64
94
|
@keyframes dash {
|
|
65
95
|
from {
|
|
66
|
-
stroke-dashoffset: calc(-1 * var(--stroke-dash));
|
|
96
|
+
stroke-dashoffset: calc(-1 * var(--spinner-stroke-dash));
|
|
67
97
|
}
|
|
68
98
|
to {
|
|
69
|
-
stroke-dashoffset: var(--stroke-dash);
|
|
99
|
+
stroke-dashoffset: var(--spinner-stroke-dash);
|
|
70
100
|
}
|
|
71
101
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export class TdsSpinner {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.size = 'lg';
|
|
5
5
|
this.variant = 'standard';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(
|
|
8
|
+
return (h("div", { key: 'de6aa9263fc0e7189002156e7e0f24b58a615149', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: '40d43902392034b39f7497369ade14caf6259385', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: 'ef94a92d9b0fe8cbf468a6dbce51ab19de071e43', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-spinner"; }
|
|
11
|
-
static get encapsulation() { return "shadow"; }
|
|
12
11
|
static get originalStyleUrls() {
|
|
13
12
|
return {
|
|
14
13
|
"$": ["spinner.scss"]
|
|
@@ -33,18 +33,18 @@ body {
|
|
|
33
33
|
}
|
|
34
34
|
.tds-table--horizontal-scroll:hover::-webkit-scrollbar-thumb {
|
|
35
35
|
border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
|
|
36
|
-
background: var(--
|
|
36
|
+
background: var(--tds-scrollbar-hover-thumb-color);
|
|
37
37
|
background-clip: padding-box;
|
|
38
38
|
}
|
|
39
39
|
.tds-table--horizontal-scroll::-webkit-scrollbar {
|
|
40
40
|
height: var(--tds-scrollbar-height);
|
|
41
41
|
}
|
|
42
42
|
.tds-table--horizontal-scroll::-webkit-scrollbar-track {
|
|
43
|
-
background: var(--
|
|
43
|
+
background: var(--tds-scrollbar-track-color);
|
|
44
44
|
}
|
|
45
45
|
.tds-table--horizontal-scroll::-webkit-scrollbar-thumb {
|
|
46
46
|
border-radius: 40px;
|
|
47
|
-
background: var(--
|
|
47
|
+
background: var(--tds-scrollbar-thumb-color);
|
|
48
48
|
border: var(--tds-scrollbar-thumb-border-width) solid transparent;
|
|
49
49
|
background-clip: padding-box;
|
|
50
50
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host,
|
|
5
2
|
tds-table-body {
|
|
6
3
|
box-sizing: border-box;
|
|
@@ -12,15 +9,11 @@ tds-table-body * {
|
|
|
12
9
|
}
|
|
13
10
|
:host .tds-table__info-message,
|
|
14
11
|
tds-table-body .tds-table__info-message {
|
|
15
|
-
font
|
|
16
|
-
|
|
17
|
-
line-height: var(--detail-02-line-height);
|
|
18
|
-
font-weight: var(--detail-02-font-weight);
|
|
19
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
20
|
-
text-transform: var(--detail-02-text-transform);
|
|
12
|
+
font: var(--tds-detail-02);
|
|
13
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
21
14
|
display: table-cell;
|
|
22
15
|
box-sizing: border-box;
|
|
23
|
-
color: var(--table-
|
|
16
|
+
color: var(--tds-table-color);
|
|
24
17
|
padding: var(--tds-spacing-element-16);
|
|
25
18
|
min-width: 192px;
|
|
26
19
|
vertical-align: top;
|
|
@@ -29,28 +22,28 @@ tds-table-body .tds-table__info-message {
|
|
|
29
22
|
}
|
|
30
23
|
|
|
31
24
|
tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd) {
|
|
32
|
-
background-color: var(--table-zebra-mode);
|
|
25
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
33
26
|
}
|
|
34
27
|
tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover {
|
|
35
|
-
background-color: var(--table-body-row-hover);
|
|
28
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
36
29
|
}
|
|
37
30
|
tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even) {
|
|
38
|
-
background-color: var(--table-zebra-mode);
|
|
31
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
39
32
|
}
|
|
40
33
|
tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover {
|
|
41
|
-
background-color: var(--table-body-row-hover);
|
|
34
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
42
35
|
}
|
|
43
36
|
tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd) {
|
|
44
|
-
background-color: var(--table-zebra-mode);
|
|
37
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
45
38
|
}
|
|
46
39
|
tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd) {
|
|
47
|
-
background-color: var(--table-body-cell-hover);
|
|
40
|
+
background-color: var(--tds-table-body-cell-background-hover);
|
|
48
41
|
}
|
|
49
42
|
tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even) {
|
|
50
|
-
background-color: var(--table-zebra-mode);
|
|
43
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
51
44
|
}
|
|
52
45
|
tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even) {
|
|
53
|
-
background-color: var(--table-body-cell-hover);
|
|
46
|
+
background-color: var(--tds-table-body-cell-background-hover);
|
|
54
47
|
}
|
|
55
48
|
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 {
|
|
56
49
|
background-color: transparent;
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host(.tds-table__body-cell) {
|
|
5
2
|
box-sizing: border-box;
|
|
6
|
-
font
|
|
7
|
-
|
|
8
|
-
line-height: var(--detail-02-line-height);
|
|
9
|
-
font-weight: var(--detail-02-font-weight);
|
|
10
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
11
|
-
text-transform: var(--detail-02-text-transform);
|
|
3
|
+
font: var(--tds-detail-02);
|
|
4
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
12
5
|
display: table-cell;
|
|
13
6
|
box-sizing: border-box;
|
|
14
|
-
color: var(--table-
|
|
7
|
+
color: var(--tds-table-color);
|
|
15
8
|
padding: var(--tds-spacing-element-16);
|
|
16
9
|
min-width: 192px;
|
|
17
10
|
vertical-align: top;
|
|
@@ -23,7 +16,7 @@
|
|
|
23
16
|
}
|
|
24
17
|
|
|
25
18
|
:host(.tds-table__body-cell--hover) {
|
|
26
|
-
background-color: var(--table-body-cell-hover);
|
|
19
|
+
background-color: var(--tds-table-body-cell-background-hover);
|
|
27
20
|
}
|
|
28
21
|
|
|
29
22
|
:host(.tds-table__compact) {
|
|
@@ -31,7 +24,7 @@
|
|
|
31
24
|
}
|
|
32
25
|
|
|
33
26
|
:host(.tds-table--divider) {
|
|
34
|
-
border-right: 1px solid var(--table-divider);
|
|
27
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
:host(.tds-table--divider:last-of-type) {
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host {
|
|
5
2
|
position: relative;
|
|
6
3
|
}
|
|
@@ -17,7 +14,7 @@
|
|
|
17
14
|
display: inline-block;
|
|
18
15
|
}
|
|
19
16
|
:host(:hover) ::slotted(input:not(:focus)) {
|
|
20
|
-
background-color: var(--table-input-hover);
|
|
17
|
+
background-color: var(--tds-table-input-background-hover);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
tds-icon.edit-icon {
|
|
@@ -30,16 +27,12 @@ tds-icon.edit-icon {
|
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
::slotted(input) {
|
|
33
|
-
font-family: var(--detail-02-font-family);
|
|
34
|
-
font-size: var(--detail-02-font-size);
|
|
35
|
-
line-height: var(--detail-02-line-height);
|
|
36
|
-
font-weight: var(--detail-02-font-weight);
|
|
37
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
38
|
-
text-transform: var(--detail-02-text-transform);
|
|
39
30
|
box-sizing: border-box;
|
|
31
|
+
font: var(--tds-detail-02);
|
|
32
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
40
33
|
padding-left: var(--tds-spacing-element-16);
|
|
41
34
|
padding-right: var(--tds-spacing-element-16);
|
|
42
|
-
color: var(--table-
|
|
35
|
+
color: var(--tds-table-color);
|
|
43
36
|
background-color: transparent;
|
|
44
37
|
height: 48px;
|
|
45
38
|
border-radius: 0;
|
|
@@ -50,18 +43,16 @@ tds-icon.edit-icon {
|
|
|
50
43
|
}
|
|
51
44
|
|
|
52
45
|
::slotted(input)::placeholder {
|
|
53
|
-
color: var(--table-
|
|
46
|
+
color: var(--tds-table-color);
|
|
54
47
|
}
|
|
55
48
|
|
|
56
49
|
::slotted(input:disabled) {
|
|
57
|
-
background-color: var(--table-input-disabled);
|
|
58
|
-
cursor: not-allowed;
|
|
59
|
-
color: var(--table-input-text-disabled);
|
|
50
|
+
background-color: var(--tds-table-input-background-disabled);
|
|
60
51
|
}
|
|
61
52
|
|
|
62
53
|
::slotted(input:focus) {
|
|
63
54
|
outline: none;
|
|
64
|
-
background-color: var(--table-input-focus);
|
|
55
|
+
background-color: var(--tds-table-input-background-focus);
|
|
65
56
|
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
66
57
|
}
|
|
67
58
|
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js
CHANGED
|
@@ -85,7 +85,7 @@ export class TdsTableBodyInputWrapper {
|
|
|
85
85
|
'focused-input-wrapper': this.inputFocused,
|
|
86
86
|
'show-icon': this.showIcon,
|
|
87
87
|
'tds-table__compact': this.compactDesign,
|
|
88
|
-
} }, this.renderSlot
|
|
88
|
+
} }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "edit-icon", slot: "icon", size: "16px", name: "edit" })) : null));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "tds-table-body-input-wrapper"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host(.tds-table__row) {
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: table-row;
|
|
4
|
-
border-bottom: 1px solid var(--table-divider);
|
|
5
|
-
background-color: var(--table-body-row);
|
|
4
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
5
|
+
background-color: var(--tds-table-body-row-background);
|
|
6
6
|
transition: background-color 200ms ease;
|
|
7
|
-
color: var(--table-
|
|
7
|
+
color: var(--tds-table-color);
|
|
8
8
|
}
|
|
9
9
|
:host(.tds-table__row) * {
|
|
10
10
|
box-sizing: border-box;
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
:host(.tds-table__row:hover) {
|
|
19
|
-
background-color: var(--table-body-row-hover);
|
|
19
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
:host(.tds-table__row--selected) {
|
|
23
|
-
background-color: var(--table-body-row-selected);
|
|
23
|
+
background-color: var(--tds-table-body-row-background-selected);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
:host(.tds-table__row--selected:hover) {
|
|
27
|
-
background-color: var(--table-body-row-selected-hover);
|
|
27
|
+
background-color: var(--tds-table-body-row-background-selected-hover);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:host(.tds-table__row--hidden) {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
:host(.tds-table__row--expended) {
|
|
35
35
|
width: 100%;
|
|
36
|
+
background-color: pink;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
:host .tds-form-label--table {
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
:host(.tds-table--divider) .tds-table__body-cell--checkbox {
|
|
52
|
-
border-right: 1px solid var(--table-divider);
|
|
53
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
:host(.tds-table__row--clickable) {
|
|
@@ -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.css
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
:host .tds-table__row,
|
|
9
9
|
:host .tds-table__row-extend {
|
|
10
10
|
display: table-row;
|
|
11
|
-
border-bottom: 1px solid var(--table-divider);
|
|
12
|
-
background-color: var(--table-body-row);
|
|
11
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
12
|
+
background-color: var(--tds-table-body-row-background);
|
|
13
13
|
transition: background-color 200ms ease;
|
|
14
|
-
color: var(--table-
|
|
14
|
+
color: var(--tds-table-color);
|
|
15
15
|
}
|
|
16
16
|
:host .tds-table__row--expanded {
|
|
17
17
|
border-bottom: none;
|
|
18
18
|
}
|
|
19
19
|
:host .tds-table__row:hover,
|
|
20
20
|
:host .tds-table__row-extend:hover {
|
|
21
|
-
background-color: var(--table-body-row-hover);
|
|
21
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
22
22
|
}
|
|
23
23
|
:host .tds-table__expand-control-container {
|
|
24
24
|
display: flex;
|
|
@@ -39,9 +39,10 @@
|
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
}
|
|
41
41
|
:host .tds-table__expand-control-container .tds-table__expand-input:focus {
|
|
42
|
-
outline: 2px solid var(--tds-
|
|
42
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
43
43
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
44
44
|
outline-offset: 1px;
|
|
45
|
+
z-index: 1;
|
|
45
46
|
}
|
|
46
47
|
:host .tds-table__expand-control-container .tds-expendable-row-icon {
|
|
47
48
|
height: 16px;
|
|
@@ -54,13 +55,13 @@
|
|
|
54
55
|
transition: background-color 200ms ease;
|
|
55
56
|
}
|
|
56
57
|
:host .tds-table__row-expand--expanded {
|
|
57
|
-
border-bottom: 1px solid var(--table-divider);
|
|
58
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
58
59
|
}
|
|
59
60
|
:host .tds-table__row-expand .tds-table__cell-expand {
|
|
60
61
|
max-width: 1px;
|
|
61
62
|
overflow: auto;
|
|
62
63
|
padding: 16px 16px 16px 66px;
|
|
63
|
-
color: var(--table-
|
|
64
|
+
color: var(--tds-table-color);
|
|
64
65
|
}
|
|
65
66
|
:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible {
|
|
66
67
|
overflow: visible;
|
|
@@ -70,13 +71,13 @@
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
:host(.tds-table__row-expand--active) .tds-table__row {
|
|
73
|
-
background-color: var(--table-body-row-selected);
|
|
74
|
+
background-color: var(--tds-table-body-row-background-selected);
|
|
74
75
|
}
|
|
75
76
|
:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon {
|
|
76
77
|
transform: rotate(180deg);
|
|
77
78
|
}
|
|
78
79
|
:host(.tds-table__row-expand--active) .tds-table__row-expand {
|
|
79
|
-
background-color: var(--table-body-row-selected);
|
|
80
|
+
background-color: var(--tds-table-body-row-background-selected);
|
|
80
81
|
display: table-row;
|
|
81
82
|
}
|
|
82
83
|
|
|
@@ -92,5 +93,5 @@
|
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
:host(.tds-table--divider) .tds-table__cell--expand {
|
|
95
|
-
border-right: 1px solid var(--table-divider);
|
|
96
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
96
97
|
}
|
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"; }
|