@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
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host {
|
|
5
2
|
box-sizing: border-box;
|
|
6
3
|
display: table-footer-group;
|
|
@@ -10,8 +7,8 @@
|
|
|
10
7
|
box-sizing: border-box;
|
|
11
8
|
}
|
|
12
9
|
:host .tds-table__footer-row {
|
|
13
|
-
background-color: var(--table-footer);
|
|
14
|
-
color: var(--table-
|
|
10
|
+
background-color: var(--tds-table-footer-background);
|
|
11
|
+
color: var(--tds-table-color);
|
|
15
12
|
}
|
|
16
13
|
:host .tds-table__footer-cell {
|
|
17
14
|
padding: 0 var(--tds-spacing-element-16);
|
|
@@ -38,27 +35,23 @@
|
|
|
38
35
|
margin-right: var(--tds-spacing-element-8);
|
|
39
36
|
}
|
|
40
37
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input {
|
|
41
|
-
font
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
46
|
-
text-transform: var(--detail-02-text-transform);
|
|
47
|
-
background-color: var(--table-footer-page-selector-input);
|
|
48
|
-
color: var(--table-text);
|
|
38
|
+
font: var(--tds-detail-02);
|
|
39
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
40
|
+
background-color: var(--tds-table-footer-page-selector-input-background);
|
|
41
|
+
color: var(--tds-table-color);
|
|
49
42
|
width: 74px;
|
|
50
43
|
height: 30px;
|
|
51
44
|
border: none;
|
|
52
45
|
border-radius: var(--tds-spacing-element-4);
|
|
53
46
|
transition: background-color 250ms ease;
|
|
54
47
|
margin-right: var(--tds-spacing-element-4);
|
|
55
|
-
padding-
|
|
48
|
+
padding-left: var(--tds-spacing-element-16);
|
|
56
49
|
}
|
|
57
50
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover {
|
|
58
|
-
background-color: var(--table-footer-page-selector-input-hover);
|
|
51
|
+
background-color: var(--tds-table-footer-page-selector-input-background-hover);
|
|
59
52
|
}
|
|
60
53
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled {
|
|
61
|
-
color: var(--table-footer-page-selector-input-color-disabled);
|
|
54
|
+
color: var(--tds-table-footer-page-selector-input-color-disabled);
|
|
62
55
|
}
|
|
63
56
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake {
|
|
64
57
|
animation: tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
@@ -67,13 +60,9 @@
|
|
|
67
60
|
perspective: 1000px;
|
|
68
61
|
}
|
|
69
62
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text {
|
|
70
|
-
font
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
font-weight: var(--detail-02-font-weight);
|
|
74
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
75
|
-
text-transform: var(--detail-02-text-transform);
|
|
76
|
-
padding: 1px 22px 0 0;
|
|
63
|
+
font: var(--tds-detail-02);
|
|
64
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
65
|
+
padding: 1px 8px 0 0;
|
|
77
66
|
}
|
|
78
67
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn {
|
|
79
68
|
display: flex;
|
|
@@ -86,14 +75,14 @@
|
|
|
86
75
|
width: var(--tds-spacing-element-32);
|
|
87
76
|
border-radius: var(--tds-spacing-element-4);
|
|
88
77
|
transition: background-color 250ms ease;
|
|
89
|
-
color: var(--table-icon);
|
|
78
|
+
color: var(--tds-table-footer-page-selector-icon);
|
|
90
79
|
}
|
|
91
80
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover {
|
|
92
|
-
background-color: var(--table-footer-
|
|
81
|
+
background-color: var(--tds-table-footer-btn-hover);
|
|
93
82
|
}
|
|
94
83
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled {
|
|
95
84
|
cursor: default;
|
|
96
|
-
color: var(--table-icon-disabled);
|
|
85
|
+
color: var(--tds-table-footer-page-selector-icon-disabled);
|
|
97
86
|
}
|
|
98
87
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover {
|
|
99
88
|
background-color: transparent;
|
|
@@ -101,7 +90,7 @@
|
|
|
101
90
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg {
|
|
102
91
|
height: var(--tds-spacing-element-20);
|
|
103
92
|
width: var(--tds-spacing-element-20);
|
|
104
|
-
fill: var(--table-
|
|
93
|
+
fill: var(--tds-table-color);
|
|
105
94
|
}
|
|
106
95
|
|
|
107
96
|
:host(.tds-table--compact) {
|
|
@@ -137,18 +126,4 @@
|
|
|
137
126
|
40%, 60% {
|
|
138
127
|
transform: translate3d(4px, 0, 0);
|
|
139
128
|
}
|
|
140
|
-
}
|
|
141
|
-
tds-dropdown:focus-within::after {
|
|
142
|
-
content: "";
|
|
143
|
-
position: absolute;
|
|
144
|
-
bottom: 0;
|
|
145
|
-
left: 0;
|
|
146
|
-
height: 100%;
|
|
147
|
-
width: 100%;
|
|
148
|
-
background-color: transparent;
|
|
149
|
-
border-radius: var(--tds-spacing-element-4);
|
|
150
|
-
pointer-events: none;
|
|
151
|
-
outline: 2px solid var(--tds-blue-400);
|
|
152
|
-
box-shadow: 0 0 0 1px var(--tds-white);
|
|
153
|
-
outline-offset: 1px;
|
|
154
129
|
}
|
|
@@ -127,12 +127,12 @@ export class TdsTableFooter {
|
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
129
|
var _a;
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: 'fd6a5604adc116a78c9723ce3f16535ea6fa7edf', class: {
|
|
131
131
|
'tds-table--compact': this.compactDesign,
|
|
132
132
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
133
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
133
|
+
}, style: this.getStyles() }, h("tr", { key: '5ec3649f1e76f54a1d09cc023f52f165bf55a175', class: "tds-table__footer-row" }, h("td", { key: '0815d2e9083b0b3793dbf3572869b76c2445396e', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '3bdc6acf5b034f8ee141e1fde58e32cb76e7ab33', class: "tds-table__pagination" }, h("div", { key: 'd8bd734bb3890593404d7950b5cb353e0af1b37f', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '0cc09dd7662a2ceba454fb1e1c3eb3a389e9eb4d', class: "rows-per-page" }, h("p", { key: '57ae73ac509c9cd7ce9c93ae60737724035fb376' }, "Rows per page"), h("tds-dropdown", { key: '6fc1d8794bb2cecc406d9143c1e501733a990993', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
134
134
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
135
|
-
}))))), h("div", { key: '
|
|
135
|
+
}))))), h("div", { key: '71e30ccac9cb36acf61f46de47fc39d4b45c49d3', class: "tds-table__page-selector" }, h("input", { key: 'fe99cbdae18c4b297e0823de2f2a5529f24ed7f4', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: 'd49b93524aeaddacd2e6c431d8f191fd87c768be', class: "tds-table__footer-text" }, "of ", h("span", { key: '1d6f7429e0837f200db90259e1e23cb879643756' }, this.pages), " pages"), h("button", { key: 'b5e0a8d72a1e7ff35570dfd2c131735f91ebb824', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '06ffe814de254c6c194ab88d89fe5f6da5239c44', name: "skip_backwards", size: "20px" })), h("button", { key: '271a59221429937f24873f984526fe55dd12c874', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'b2231b490bdd4234d62399f2785edf3136789af5', name: "chevron_left", size: "20px" })), h("button", { key: '6b06a0fad602d8593bb834672e934afb00d45edf', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '384751f9299ce4078e35fc15be37d2d529ddeffa', name: "chevron_right", size: "20px" })), h("button", { key: 'cf0fa5f2967d7f249ffbd548039e8021e4121bec', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '6da11c4f01f58a7e39698b7a91034567527464e6', name: "skip_forward", size: "20px" })))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tds-table-footer"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host {
|
|
5
2
|
box-sizing: border-box;
|
|
6
3
|
display: table-header-group;
|
|
@@ -9,17 +6,13 @@
|
|
|
9
6
|
box-sizing: border-box;
|
|
10
7
|
}
|
|
11
8
|
:host .tds-table__header-cell--checkbox {
|
|
12
|
-
font
|
|
13
|
-
|
|
14
|
-
line-height: var(--headline-07-line-height);
|
|
15
|
-
font-weight: var(--headline-07-font-weight);
|
|
16
|
-
letter-spacing: var(--headline-07-letter-spacing);
|
|
17
|
-
text-transform: var(--headline-07-text-transform);
|
|
9
|
+
font: var(--tds-headline-07);
|
|
10
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
18
11
|
display: table-cell;
|
|
19
12
|
text-align: left;
|
|
20
|
-
color: var(--table-
|
|
21
|
-
background-color: var(--table-header);
|
|
22
|
-
border-bottom: 1px solid var(--table-divider);
|
|
13
|
+
color: var(--tds-table-color);
|
|
14
|
+
background-color: var(--tds-table-header-background);
|
|
15
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
23
16
|
height: 48px;
|
|
24
17
|
box-sizing: border-box;
|
|
25
18
|
overflow: hidden;
|
|
@@ -57,7 +50,7 @@
|
|
|
57
50
|
transform: rotate(180deg);
|
|
58
51
|
}
|
|
59
52
|
:host ::slotted(tds-header-cell:hover) {
|
|
60
|
-
background-color: var(--table-header-hover);
|
|
53
|
+
background-color: var(--tds-table-header-background-hover);
|
|
61
54
|
}
|
|
62
55
|
|
|
63
56
|
:host(.tds-table--compact) .tds-table__header-cell--checkbox {
|
|
@@ -68,7 +61,7 @@
|
|
|
68
61
|
}
|
|
69
62
|
|
|
70
63
|
:host(.tds-table--divider) .tds-table__header-cell--checkbox {
|
|
71
|
-
border-right: 1px solid var(--table-divider);
|
|
64
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
72
65
|
}
|
|
73
66
|
|
|
74
67
|
:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox {
|
|
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '968ef371db492d005ac3156d8b4a15de0966d117', class: {
|
|
86
86
|
'tds-table--compact': this.compactDesign,
|
|
87
87
|
'tds-table--divider': this.verticalDividers,
|
|
88
88
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
89
|
-
} }, h("tr", { key: '
|
|
89
|
+
} }, h("tr", { key: 'cc9fdb8e36b29c4dccf01961060df330fb50c6f2' }, this.multiselect && (h("th", { key: 'e306755b170ef4edc6d3c2f32941dfbb51eefaf6', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '2903d76304e4f3428aa63ba7e0aa65e48d21f232', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'd9acae7cae023f412395663c607b3293ce40a2e2', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: 'cea8e7da2c5a4a728ea55ead114f790674fc1a0c', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '5ad238c2ceaabc721970c28ea9d58ecedac8152d' }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "tds-table-header"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host(.tds-table__header-cell) {
|
|
5
2
|
box-sizing: border-box;
|
|
6
|
-
font
|
|
7
|
-
|
|
8
|
-
line-height: var(--headline-07-line-height);
|
|
9
|
-
font-weight: var(--headline-07-font-weight);
|
|
10
|
-
letter-spacing: var(--headline-07-letter-spacing);
|
|
11
|
-
text-transform: var(--headline-07-text-transform);
|
|
3
|
+
font: var(--tds-headline-07);
|
|
4
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
12
5
|
display: table-cell;
|
|
13
6
|
text-align: left;
|
|
14
|
-
color: var(--table-
|
|
15
|
-
background-color: var(--table-header);
|
|
16
|
-
border-bottom: 1px solid var(--table-
|
|
7
|
+
color: var(--tds-table-color);
|
|
8
|
+
background-color: var(--tds-table-header-background);
|
|
9
|
+
border-bottom: 1px solid var(--tds-table-header-background-hover);
|
|
17
10
|
padding: 0;
|
|
18
11
|
height: 48px;
|
|
19
12
|
min-width: 192px;
|
|
@@ -43,27 +36,22 @@
|
|
|
43
36
|
height: 100%;
|
|
44
37
|
padding: 0 16px;
|
|
45
38
|
background-color: transparent;
|
|
46
|
-
color: var(--table-text);
|
|
47
39
|
border: none;
|
|
48
40
|
cursor: pointer;
|
|
49
41
|
transition: background-color 200ms ease;
|
|
50
42
|
}
|
|
51
43
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus {
|
|
52
|
-
outline: 2px solid var(--table-header-
|
|
44
|
+
outline: 2px solid var(--tds-table-header-btn-focus);
|
|
53
45
|
outline-offset: -2px;
|
|
54
46
|
}
|
|
55
47
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus .tds-table__header-button-icon {
|
|
56
48
|
opacity: 1;
|
|
57
49
|
}
|
|
58
50
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-text {
|
|
59
|
-
font
|
|
60
|
-
|
|
61
|
-
line-height: var(--headline-07-line-height);
|
|
62
|
-
font-weight: var(--headline-07-font-weight);
|
|
63
|
-
letter-spacing: var(--headline-07-letter-spacing);
|
|
64
|
-
text-transform: var(--headline-07-text-transform);
|
|
51
|
+
font: var(--tds-headline-07);
|
|
52
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
65
53
|
text-align: left;
|
|
66
|
-
color: var(--table-
|
|
54
|
+
color: var(--tds-table-header-btn-color);
|
|
67
55
|
}
|
|
68
56
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-icon {
|
|
69
57
|
/* not to shrink on lot of text */
|
|
@@ -73,17 +61,17 @@
|
|
|
73
61
|
opacity: 0;
|
|
74
62
|
transform-origin: center;
|
|
75
63
|
transition: opacity 200ms ease-in, transform 200ms ease;
|
|
76
|
-
|
|
64
|
+
color: var(--tds-table-color);
|
|
77
65
|
}
|
|
78
66
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:hover .tds-table__header-button-icon {
|
|
79
67
|
opacity: 1;
|
|
80
68
|
}
|
|
81
69
|
|
|
82
70
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button {
|
|
83
|
-
background-color: var(--table-header-
|
|
71
|
+
background-color: var(--tds-table-header-btn-background);
|
|
84
72
|
}
|
|
85
73
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button:hover {
|
|
86
|
-
background-color: var(--table-header-
|
|
74
|
+
background-color: var(--tds-table-header-btn-background-hover);
|
|
87
75
|
}
|
|
88
76
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon {
|
|
89
77
|
opacity: 1;
|
|
@@ -97,7 +85,7 @@
|
|
|
97
85
|
}
|
|
98
86
|
|
|
99
87
|
:host(.tds-table--divider) {
|
|
100
|
-
border-right: 1px solid var(--table-divider);
|
|
88
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
101
89
|
}
|
|
102
90
|
|
|
103
91
|
:host(.tds-table--divider:last-of-type) {
|
|
@@ -113,7 +113,7 @@ export class TdsTableHeaderCell {
|
|
|
113
113
|
return 'none';
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: 'c832982801653ad4ed4be858fa88f6d3d3de02ef', class: {
|
|
117
117
|
'tds-table__header-cell': true,
|
|
118
118
|
'tds-table__header-cell--sortable': this.sortable,
|
|
119
119
|
'tds-table__header-cell--is-sorted': this.sortedByMyKey,
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.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
|
}
|
|
@@ -13,7 +10,7 @@
|
|
|
13
10
|
display: inline-block;
|
|
14
11
|
}
|
|
15
12
|
:host(.focused-input-wrapper) ::slotted(input:not(:focus)) {
|
|
16
|
-
background-color: var(--table-input-hover);
|
|
13
|
+
background-color: var(--tds-table-input-background-hover);
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
:host(.show-icon) ::slotted(input) {
|
|
@@ -21,21 +18,17 @@
|
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
tds-icon.search-icon {
|
|
24
|
-
color: var(--table-input-header-icon);
|
|
21
|
+
color: var(--tds-table-input-header-icon);
|
|
25
22
|
position: absolute;
|
|
26
23
|
left: 15px;
|
|
27
24
|
top: 1px;
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
::slotted(input) {
|
|
31
|
-
font-family: var(--detail-02-font-family);
|
|
32
|
-
font-size: var(--detail-02-font-size);
|
|
33
|
-
line-height: var(--detail-02-line-height);
|
|
34
|
-
font-weight: var(--detail-02-font-weight);
|
|
35
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
36
|
-
text-transform: var(--detail-02-text-transform);
|
|
37
28
|
box-sizing: border-box;
|
|
38
|
-
|
|
29
|
+
font: var(--tds-detail-02);
|
|
30
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
31
|
+
color: var(--tds-table-color);
|
|
39
32
|
padding-left: var(--tds-spacing-element-16);
|
|
40
33
|
padding-right: var(--tds-spacing-element-16);
|
|
41
34
|
height: 48px;
|
|
@@ -46,12 +39,12 @@ tds-icon.search-icon {
|
|
|
46
39
|
}
|
|
47
40
|
|
|
48
41
|
::slotted(input)::placeholder {
|
|
49
|
-
color: var(--table-input-header-placeholder);
|
|
42
|
+
color: var(--tds-table-input-header-placeholder);
|
|
50
43
|
}
|
|
51
44
|
|
|
52
45
|
::slotted(input:focus) {
|
|
53
46
|
outline: none;
|
|
54
|
-
background-color: var(--table-input-header-focus);
|
|
47
|
+
background-color: var(--tds-table-input-header-background-focus);
|
|
55
48
|
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
56
49
|
}
|
|
57
50
|
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TdsTableHeaderInputWrapper {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'e92640dc4c88b52574960d7234b377d7e5eaaa8e', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host {
|
|
5
2
|
box-sizing: border-box;
|
|
6
3
|
display: table-caption;
|
|
7
4
|
position: relative;
|
|
8
|
-
background-color: var(--table-toolbar);
|
|
9
|
-
color: var(--table-
|
|
5
|
+
background-color: var(--tds-table-toolbar-background);
|
|
6
|
+
color: var(--tds-table-color);
|
|
10
7
|
padding: 0 var(--tds-spacing-element-16);
|
|
11
8
|
height: 64px;
|
|
12
9
|
border-top-left-radius: 4px;
|
|
@@ -25,12 +22,8 @@
|
|
|
25
22
|
display: flex;
|
|
26
23
|
}
|
|
27
24
|
:host .tds-table__title {
|
|
28
|
-
font
|
|
29
|
-
|
|
30
|
-
line-height: var(--headline-07-line-height);
|
|
31
|
-
font-weight: var(--headline-07-font-weight);
|
|
32
|
-
letter-spacing: var(--headline-07-letter-spacing);
|
|
33
|
-
text-transform: var(--headline-07-text-transform);
|
|
25
|
+
font: var(--tds-headline-07);
|
|
26
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
34
27
|
padding-top: var(--tds-spacing-element-16);
|
|
35
28
|
text-align: left;
|
|
36
29
|
margin-right: var(--tds-spacing-element-8);
|
|
@@ -67,19 +60,15 @@
|
|
|
67
60
|
}
|
|
68
61
|
:host .tds-table__searchbar:focus-within, :host .tds-table__searchbar.tds-table__searchbar--active {
|
|
69
62
|
width: 208px;
|
|
70
|
-
background-color: var(--table-toolbar-searchbar);
|
|
63
|
+
background-color: var(--tds-table-toolbar-searchbar-background);
|
|
71
64
|
}
|
|
72
65
|
:host .tds-table__searchbar:focus-within:hover, :host .tds-table__searchbar.tds-table__searchbar--active:hover {
|
|
73
|
-
background-color: var(--table-toolbar-searchbar);
|
|
66
|
+
background-color: var(--tds-table-toolbar-searchbar-background);
|
|
74
67
|
}
|
|
75
68
|
:host .tds-table__searchbar .tds-table__searchbar-input {
|
|
76
|
-
font
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
font-weight: var(--detail-02-font-weight);
|
|
80
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
81
|
-
text-transform: var(--detail-02-text-transform);
|
|
82
|
-
color: var(--table-text);
|
|
69
|
+
font: var(--tds-detail-02);
|
|
70
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
71
|
+
color: var(--tds-table-color);
|
|
83
72
|
z-index: 1;
|
|
84
73
|
width: 100%;
|
|
85
74
|
height: 100%;
|
|
@@ -90,10 +79,10 @@
|
|
|
90
79
|
cursor: pointer;
|
|
91
80
|
}
|
|
92
81
|
:host .tds-table__searchbar .tds-table__searchbar-input :focus {
|
|
93
|
-
background-color: var(--table-toolbar-searchbar);
|
|
82
|
+
background-color: var(--tds-table-toolbar-searchbar-background);
|
|
94
83
|
}
|
|
95
84
|
:host .tds-table__searchbar:hover {
|
|
96
|
-
background-color: var(--table-toolbar-searchbar-hover);
|
|
85
|
+
background-color: var(--tds-table-toolbar-searchbar-background-hover);
|
|
97
86
|
}
|
|
98
87
|
:host .tds-table__searchbar .tds-table__searchbar-icon {
|
|
99
88
|
z-index: 0;
|
|
@@ -68,10 +68,10 @@ export class TdsTableToolbar {
|
|
|
68
68
|
return styles;
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '76acde1b3c55f421cedae9bf932f923813272fe3', class: {
|
|
72
72
|
'tds-table--compact': this.compactDesign,
|
|
73
73
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
74
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
74
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: 'e6fe2f411ebde77befeb99992b5157bba3651fbf', class: "tds-table__upper-bar-flex" }, h("div", { key: 'f61dc1de54a73c28a2ef10dcae2a5a629ae76c57', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: 'ca50269d08eab742cb759d371937739fd0a87eff', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '275b233ff233a9f90d936553fa31015f72f21899', name: "start" })), h("div", { key: 'd2ed2b7918e8f8d8e23c34bd8114ee1e69cdb681', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'cd0bd112e3ab6b31c96e10bc4b2eb32715766d58', class: "tds-table__searchbar" }, h("input", { key: '3dbcdf5394477fb55d41c2ee0ddcea1e50ffcd64', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '0a34bfd7cd50c88604af01dfc9bef1adae7d8999', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '98a376c6db7d249e060dafffef18c9345730e25c', name: "search", size: "20px" })))), h("slot", { key: 'e4400d9ddb0f6435315569e1f64f34bc04d8054f', name: "end" })))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "tds-table-toolbar"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
border-left-color: transparent;
|
|
25
25
|
}
|
|
26
26
|
:host ::slotted(*:focus-visible) {
|
|
27
|
-
outline: 2px solid var(--tds-
|
|
27
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
28
28
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
29
29
|
outline-offset: 1px;
|
|
30
|
+
z-index: 1;
|
|
30
31
|
}
|
|
31
32
|
:host div:not(.selected) {
|
|
32
33
|
background-color: var(--tds-folder-tab-background);
|
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '19a42f7143a8f32130642bd50dd6817f871fdf20', "aria-selected": this.selected }, h("div", { key: '51bef3bebff5e13d7c949529919865780d8b33de', class: {
|
|
39
39
|
selected: this.selected,
|
|
40
40
|
disabled: this.disabled,
|
|
41
|
-
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '
|
|
41
|
+
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '2b661d3518f047f7bd0e50a121987eb62c5d42e8' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,9 +55,10 @@
|
|
|
55
55
|
}
|
|
56
56
|
:host .scroll-right-button:focus,
|
|
57
57
|
:host .scroll-left-button:focus {
|
|
58
|
-
outline: 2px solid var(--tds-
|
|
58
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
59
59
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
60
60
|
outline-offset: 1px;
|
|
61
|
+
z-index: 1;
|
|
61
62
|
}
|
|
62
63
|
:host .scroll-right-button svg,
|
|
63
64
|
:host .scroll-left-button svg {
|
|
@@ -162,9 +162,9 @@ export class TdsFolderTabs {
|
|
|
162
162
|
this.removeEventListenerFromTabs();
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: 'c56bf987e23ade8b30cd2470ab1ed0f4273bd191', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'afab8a86427918d5ac4bbc17dd2a436a986df577', class: "wrapper", ref: (el) => {
|
|
166
166
|
this.navWrapperElement = el;
|
|
167
|
-
} }, h("button", { key: '
|
|
167
|
+
} }, h("button", { key: '0b82a953932e888d05478d82944c90768f97bb36', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '50cd22c5be43ae452e0896b449570774c3ab0151', name: "chevron_left", size: "20px" })), h("slot", { key: '3cb17dddc8592241c467167b3a0028355f2b7d5e', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '23c289b70d723b2d0705692835a510b8a650fcfa', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'fff2bfcbcf916d1b391aa25ee5f6fda3c8e63d23', name: "chevron_right", size: "20px" })))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "tds-folder-tabs"; }
|
|
170
170
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,11 +30,11 @@ export class TdsInlineTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '496b56fa31a50e26ceea5275e29873d030ea2937', "aria-selected": this.selected }, h("div", { key: 'c67bfb892ea721b1ad329e00453fe62dcf4681c0', class: {
|
|
34
34
|
'inline-tab-item': true,
|
|
35
35
|
'selected': this.selected,
|
|
36
36
|
'disabled': this.disabled,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: 'bae7788e0625279f4eb82129da1256fbb7f1c95b' }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-inline-tab"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,9 +67,10 @@
|
|
|
67
67
|
}
|
|
68
68
|
:host .scroll-right-button:focus,
|
|
69
69
|
:host .scroll-left-button:focus {
|
|
70
|
-
outline: 2px solid var(--tds-
|
|
70
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
71
71
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
72
72
|
outline-offset: 1px;
|
|
73
|
+
z-index: 1;
|
|
73
74
|
}
|
|
74
75
|
:host .scroll-right-button svg,
|
|
75
76
|
:host .scroll-left-button svg {
|
|
@@ -169,9 +169,9 @@ export class TdsInlineTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: '9fa2d8cb54ac480fb5875432440506b0c12efaa5', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'aecb68d56088f84e271f3c829c84da4e732df9b8', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '9b97d342cfe66209063b504b49480d587cd626d5', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a447ce946eb5bc02a2527f210322aa76ca5ad5b8', name: "chevron_left", size: "20px" })), h("slot", { key: '1df34e68bbea35ef76de48e7b8fe96b3a8655792', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '7c753dd66c173265c32a7b49197df12fbecc78d1', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'f76934b67470db5ff6ddb6fbae86f87fd3d0bdee', name: "chevron_right", size: "20px" })))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "tds-inline-tabs"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
34
|
-
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '
|
|
33
|
+
return (h(Host, { key: '28ba6f5bedc4f2a31e5011e37bf92d3b38fa8abe' }, h("div", { key: 'ac5aad203d8a13dc42a8f9e99b2ccdd7c784c9af', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
34
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'da6292612753748f6cac68e0b282ecde642cb5b5' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tds-navigation-tab"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,9 +67,10 @@
|
|
|
67
67
|
}
|
|
68
68
|
:host .scroll-right-button:focus,
|
|
69
69
|
:host .scroll-left-button:focus {
|
|
70
|
-
outline: 2px solid var(--tds-
|
|
70
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
71
71
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
72
72
|
outline-offset: 1px;
|
|
73
|
+
z-index: 1;
|
|
73
74
|
}
|
|
74
75
|
:host .scroll-right-button svg,
|
|
75
76
|
:host .scroll-left-button svg {
|
|
@@ -169,15 +169,15 @@ export class TdsNavigationTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: '2fc278cacc04614ca43b70f52b12f79b31227fbb', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '50357810903ea3bff83fde4478960de0866c7c15', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'b5b05a2f9bce1618c71594cf388dc83efce98915', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
175
175
|
'scroll-left-button': true,
|
|
176
176
|
'show': this.showLeftScroll,
|
|
177
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
177
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'aad19852d36ff8e1642ba464f9618a57ff37169c', name: "chevron_left", size: "20px" })), h("slot", { key: '3dcf0d7e6900df33a69863868a3a48dcb4aa8141', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '352539955226aecf92deb0c0db83c42a5b021e43', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
178
178
|
'scroll-right-button': true,
|
|
179
179
|
'show': this.showRightScroll,
|
|
180
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
180
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '0e3fe531374dd82b6ee5de1a5a1bea4a38e03500', name: "chevron_right", size: "20px" })))));
|
|
181
181
|
}
|
|
182
182
|
static get is() { return "tds-navigation-tabs"; }
|
|
183
183
|
static get encapsulation() { return "shadow"; }
|