@scania/tegel 1.33.0 → 1.34.0-multibrand-beta.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/index-ca8040ad.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +1 -1
- package/dist/cjs/tds-block.cjs.entry.js +7 -3
- 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-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-card.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-datetime.cjs.entry.js +1 -1
- package/dist/cjs/tds-divider.cjs.entry.js +12 -2
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +9 -8
- 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 +3 -4
- 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 +9 -4
- package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-link.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -5
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-menu.cjs.entry.js +6 -3
- package/dist/cjs/tds-radio-button.cjs.entry.js +4 -2
- 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-slider.cjs.entry.js +15 -9
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-step.cjs.entry.js +1 -1
- package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
- 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 +9 -6
- package/dist/cjs/tds-textarea.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +34 -25
- package/dist/collection/components/accordion/accordion.css +8 -9
- package/dist/collection/components/badge/badge.css +2 -4
- package/dist/collection/components/banner/banner.css +26 -16
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/block/block.css +15 -8
- package/dist/collection/components/block/block.js +6 -2
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +6 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +9 -2
- package/dist/collection/components/button/button.css +480 -426
- package/dist/collection/components/card/card.css +30 -18
- package/dist/collection/components/checkbox/checkbox.css +37 -30
- package/dist/collection/components/chip/chip.css +31 -19
- package/dist/collection/components/datetime/datetime.css +104 -199
- package/dist/collection/components/divider/divider.css +1 -2
- package/dist/collection/components/divider/divider.js +29 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +19 -11
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +2 -2
- package/dist/collection/components/dropdown/dropdown.css +132 -129
- package/dist/collection/components/dropdown/dropdown.js +5 -4
- package/dist/collection/components/footer/footer-group/footer-group.css +21 -11
- package/dist/collection/components/footer/footer-item/footer-item.css +25 -17
- package/dist/collection/components/footer/footer.css +20 -7
- package/dist/collection/components/footer/footer.js +2 -3
- 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 -3
- package/dist/collection/components/header/header-item/header-item.css +2 -3
- 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 -3
- package/dist/collection/components/icon/icon.js +8 -3
- package/dist/collection/components/icon/scaniaIconsArray.js +2 -1
- package/dist/collection/components/icon/tratonIconsArray.js +4 -1
- package/dist/collection/components/link/link.css +23 -14
- package/dist/collection/components/message/message.css +42 -53
- package/dist/collection/components/modal/modal.css +15 -16
- package/dist/collection/components/popover-canvas/popover-canvas.css +2 -2
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.css +14 -7
- package/dist/collection/components/popover-menu/popover-menu.css +1 -1
- package/dist/collection/components/popover-menu/popover-menu.js +23 -2
- package/dist/collection/components/radio-button/radio-button.css +41 -25
- package/dist/collection/components/radio-button/radio-button.js +3 -1
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +2 -3
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +2 -3
- package/dist/collection/components/side-menu/side-menu.css +3 -3
- package/dist/collection/components/slider/slider-stories-setup.js +29 -1
- package/dist/collection/components/slider/slider.css +97 -41
- package/dist/collection/components/slider/slider.js +50 -8
- package/dist/collection/components/spinner/spinner.css +33 -64
- package/dist/collection/components/spinner/spinner.js +3 -2
- package/dist/collection/components/stepper/step/step.css +53 -38
- package/dist/collection/components/stepper/stepper.css +0 -3
- package/dist/collection/components/table/table/table.css +4 -4
- package/dist/collection/components/table/table-body/table-body.css +11 -21
- package/dist/collection/components/table/table-body-cell/table-body-cell.css +12 -5
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css +18 -9
- 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 +10 -9
- 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 -12
- 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 +33 -22
- package/dist/collection/components/table/table-footer/table-footer.js +3 -3
- package/dist/collection/components/table/table-header/table-header.css +14 -7
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.css +27 -13
- 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 +16 -9
- 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 +25 -14
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +25 -18
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +3 -18
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +19 -10
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +4 -20
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +22 -10
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +5 -20
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/text-field/text-field.css +140 -182
- package/dist/collection/components/text-field/text-field.js +8 -5
- package/dist/collection/components/textarea/textarea.css +105 -77
- package/dist/collection/components/textarea/textarea.js +4 -4
- package/dist/collection/components/toast/toast.css +31 -23
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.css +55 -45
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.css +11 -4
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/{p-ea381f94.js → p-0e04ed76.js} +1 -1
- package/dist/components/{p-df84759a.js → p-4bf2bec5.js} +1 -1
- package/dist/components/{p-6adb1ce3.js → p-4cd4e1e3.js} +1 -1
- package/dist/components/p-4e5ff414.js +90 -0
- package/dist/components/p-8565f800.js +114 -0
- package/dist/components/{p-1cd6b2c6.js → p-9e3aba72.js} +7 -6
- package/dist/components/{p-4b0c6ab5.js → p-a1f93ac9.js} +5 -5
- package/dist/components/p-aeba8158.js +46 -0
- package/dist/components/{p-71c3dfe9.js → p-af5310f8.js} +1 -1
- package/dist/components/{p-f589b91c.js → p-d437241f.js} +2 -2
- package/dist/components/{p-9cee9d7f.js → p-ee402b70.js} +3 -3
- package/dist/components/tds-accordion-item.js +2 -2
- package/dist/components/tds-accordion.js +1 -1
- package/dist/components/tds-badge.js +1 -1
- package/dist/components/tds-banner.js +2 -2
- package/dist/components/tds-block.js +7 -3
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-breadcrumbs.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +2 -2
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.js +2 -2
- 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 +3 -4
- package/dist/components/tds-header-brand-symbol.js +1 -1
- 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 +4 -4
- 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 +5 -5
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +3 -3
- package/dist/components/tds-inline-tabs.js +4 -4
- package/dist/components/tds-link.js +1 -1
- package/dist/components/tds-message.js +2 -2
- package/dist/components/tds-modal.js +2 -2
- package/dist/components/tds-navigation-tab.js +3 -3
- package/dist/components/tds-navigation-tabs.js +6 -6
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-menu-item.js +1 -1
- package/dist/components/tds-popover-menu.js +7 -3
- package/dist/components/tds-radio-button.js +4 -2
- 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 +18 -10
- package/dist/components/tds-spinner.js +5 -4
- package/dist/components/tds-step.js +2 -2
- package/dist/components/tds-stepper.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 +23 -8
- package/dist/components/tds-textarea.js +7 -7
- package/dist/components/tds-toast.js +5 -5
- package/dist/components/tds-toggle.js +3 -3
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-51d04e39.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +1 -1
- package/dist/esm/tds-block.entry.js +7 -3
- package/dist/esm/tds-body-cell.entry.js +1 -1
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-breadcrumbs.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +1 -1
- package/dist/esm/tds-card.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-datetime.entry.js +1 -1
- package/dist/esm/tds-divider.entry.js +12 -2
- package/dist/esm/tds-dropdown_2.entry.js +9 -8
- 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 +3 -4
- 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 +9 -4
- package/dist/esm/tds-inline-tab.entry.js +3 -3
- package/dist/esm/tds-inline-tabs.entry.js +3 -3
- package/dist/esm/tds-link.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/tds-navigation-tabs.entry.js +5 -5
- package/dist/esm/tds-popover-canvas.entry.js +1 -1
- package/dist/esm/tds-popover-menu-item.entry.js +1 -1
- package/dist/esm/tds-popover-menu.entry.js +6 -3
- package/dist/esm/tds-radio-button.entry.js +4 -2
- 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-slider.entry.js +15 -9
- package/dist/esm/tds-spinner.entry.js +3 -3
- package/dist/esm/tds-step.entry.js +1 -1
- package/dist/esm/tds-stepper.entry.js +1 -1
- 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 +9 -6
- package/dist/esm/tds-textarea.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-0096c98e.entry.js +1 -0
- package/dist/tegel/p-08e0abf8.entry.js +1 -0
- package/dist/tegel/{p-6e57997e.entry.js → p-0d09f1ad.entry.js} +1 -1
- package/dist/tegel/p-10646dec.entry.js +1 -0
- package/dist/tegel/p-17b55fa2.entry.js +1 -0
- package/dist/tegel/p-22e4a4f9.entry.js +1 -0
- package/dist/tegel/{p-87219f00.entry.js → p-2718a9ce.entry.js} +1 -1
- package/dist/tegel/p-2e6b957c.entry.js +1 -0
- package/dist/tegel/p-33aa94c4.entry.js +1 -0
- package/dist/tegel/p-343a4750.entry.js +1 -0
- package/dist/tegel/p-38aa3ec5.entry.js +1 -0
- package/dist/tegel/{p-08f63e5d.entry.js → p-39f597f5.entry.js} +1 -1
- package/dist/tegel/p-3f039f89.entry.js +1 -0
- package/dist/tegel/p-4095d044.entry.js +1 -0
- package/dist/tegel/{p-3ec01fb3.entry.js → p-40ae469d.entry.js} +1 -1
- package/dist/tegel/p-45a503af.entry.js +1 -0
- package/dist/tegel/p-5487604f.entry.js +1 -0
- package/dist/tegel/p-5bc63fd1.entry.js +1 -0
- package/dist/tegel/p-5f35ce3b.entry.js +1 -0
- package/dist/tegel/p-67f3c355.entry.js +1 -0
- package/dist/tegel/p-6a20c0b8.entry.js +1 -0
- package/dist/tegel/p-72b2067a.entry.js +1 -0
- package/dist/tegel/p-77861e4c.entry.js +1 -0
- package/dist/tegel/p-7aaaeb32.entry.js +1 -0
- package/dist/tegel/p-80ce20cc.entry.js +1 -0
- package/dist/tegel/p-8bcc772f.entry.js +1 -0
- package/dist/tegel/p-8efd9d9a.entry.js +1 -0
- package/dist/tegel/p-93d3ea90.entry.js +1 -0
- package/dist/tegel/p-9572319f.entry.js +1 -0
- package/dist/tegel/{p-a0591e58.entry.js → p-9620b368.entry.js} +1 -1
- package/dist/tegel/p-9db54bd1.entry.js +1 -0
- package/dist/tegel/p-a063e2e9.entry.js +1 -0
- package/dist/tegel/{p-614bcd4b.entry.js → p-a077836e.entry.js} +1 -1
- package/dist/tegel/p-a2f84e4a.entry.js +1 -0
- package/dist/tegel/{p-abad3489.entry.js → p-a333339f.entry.js} +1 -1
- package/dist/tegel/p-b02b13ee.entry.js +1 -0
- package/dist/tegel/{p-ab103d0c.entry.js → p-b3446292.entry.js} +1 -1
- package/dist/tegel/{p-177386d5.entry.js → p-ba990426.entry.js} +1 -1
- package/dist/tegel/p-bb115b00.entry.js +1 -0
- package/dist/tegel/p-c0c68796.entry.js +1 -0
- package/dist/tegel/p-c1ff5218.entry.js +1 -0
- package/dist/tegel/p-c6e76ba8.entry.js +1 -0
- package/dist/tegel/p-c79386a0.entry.js +1 -0
- package/dist/tegel/{p-c0b26507.entry.js → p-c94e0062.entry.js} +1 -1
- package/dist/tegel/p-cb83b852.entry.js +1 -0
- package/dist/tegel/{p-5c077bb9.entry.js → p-ceddaae5.entry.js} +1 -1
- package/dist/tegel/p-d0d2efb5.entry.js +1 -0
- package/dist/tegel/p-d1b356d5.entry.js +1 -0
- package/dist/tegel/p-d75d632d.entry.js +1 -0
- package/dist/tegel/{p-8c841698.entry.js → p-d9b054fa.entry.js} +1 -1
- package/dist/tegel/p-db46db63.entry.js +1 -0
- package/dist/tegel/{p-0cfe8671.entry.js → p-e7638f10.entry.js} +1 -1
- package/dist/tegel/p-ec395ccd.entry.js +1 -0
- package/dist/tegel/{p-2c56421f.entry.js → p-f12ce132.entry.js} +1 -1
- package/dist/tegel/p-f1b0f4f6.entry.js +1 -0
- package/dist/tegel/p-f5c24e0b.entry.js +1 -0
- package/dist/tegel/p-f8cc59e0.entry.js +1 -0
- package/dist/tegel/p-f9b30e56.entry.js +1 -0
- package/dist/tegel/p-fe51bbbb.entry.js +1 -0
- package/dist/tegel/tegel.css +3 -7
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/divider/divider.d.ts +2 -0
- package/dist/types/components/footer/footer.d.ts +0 -1
- package/dist/types/components/popover-menu/popover-menu.d.ts +2 -0
- package/dist/types/components/slider/slider-stories-setup.d.ts +37 -1
- package/dist/types/components/slider/slider.d.ts +4 -0
- package/dist/types/components.d.ts +32 -0
- package/dist/types/types/ScaniaIcons.d.ts +1 -1
- package/dist/types/types/TratonIcons.d.ts +1 -1
- package/dist-styles/core.css +5829 -0
- package/dist-styles/scania-variables.css +1883 -0
- package/dist-styles/scania.css +7713 -0
- package/dist-styles/traton-variables.css +1148 -0
- package/dist-styles/traton.css +6978 -0
- package/package.json +8 -2
- package/dist/components/p-58b92113.js +0 -114
- package/dist/components/p-877931c5.js +0 -35
- package/dist/components/p-c715ab56.js +0 -85
- package/dist/tegel/p-106e048d.entry.js +0 -1
- package/dist/tegel/p-1c75f8a7.entry.js +0 -1
- package/dist/tegel/p-29170339.entry.js +0 -1
- package/dist/tegel/p-35a88a52.entry.js +0 -1
- package/dist/tegel/p-3a92d554.entry.js +0 -1
- package/dist/tegel/p-4274d329.entry.js +0 -1
- package/dist/tegel/p-5020a688.entry.js +0 -1
- package/dist/tegel/p-52adc30c.entry.js +0 -1
- package/dist/tegel/p-5dd2aac8.entry.js +0 -1
- package/dist/tegel/p-614cc097.entry.js +0 -1
- package/dist/tegel/p-618d6b4f.entry.js +0 -1
- package/dist/tegel/p-61a1dc59.entry.js +0 -1
- package/dist/tegel/p-67b4b2cf.entry.js +0 -1
- package/dist/tegel/p-69a6a39d.entry.js +0 -1
- package/dist/tegel/p-6a615ac1.entry.js +0 -1
- package/dist/tegel/p-6d89dcbe.entry.js +0 -1
- package/dist/tegel/p-6eed8c31.entry.js +0 -1
- package/dist/tegel/p-7013249b.entry.js +0 -1
- package/dist/tegel/p-710c42c5.entry.js +0 -1
- package/dist/tegel/p-72006dd7.entry.js +0 -1
- package/dist/tegel/p-76faaf70.entry.js +0 -1
- package/dist/tegel/p-84de314b.entry.js +0 -1
- package/dist/tegel/p-942abc1e.entry.js +0 -1
- package/dist/tegel/p-98106799.entry.js +0 -1
- package/dist/tegel/p-9b2257f3.entry.js +0 -1
- package/dist/tegel/p-aec3e4cf.entry.js +0 -1
- package/dist/tegel/p-b58194f9.entry.js +0 -1
- package/dist/tegel/p-b734b309.entry.js +0 -1
- package/dist/tegel/p-b994e7ac.entry.js +0 -1
- package/dist/tegel/p-bb1d069f.entry.js +0 -1
- package/dist/tegel/p-bcd5e06d.entry.js +0 -1
- package/dist/tegel/p-bcdf13e0.entry.js +0 -1
- package/dist/tegel/p-bd935506.entry.js +0 -1
- package/dist/tegel/p-bdc913a0.entry.js +0 -1
- package/dist/tegel/p-c6beca5e.entry.js +0 -1
- package/dist/tegel/p-cf7af8f2.entry.js +0 -1
- package/dist/tegel/p-d267c18f.entry.js +0 -1
- package/dist/tegel/p-d9040b7f.entry.js +0 -1
- package/dist/tegel/p-dc375d3e.entry.js +0 -1
- package/dist/tegel/p-e3c2b6b4.entry.js +0 -1
- package/dist/tegel/p-f2232281.entry.js +0 -1
- package/dist/tegel/p-f4283f93.entry.js +0 -1
- package/dist/tegel/p-f4b5e80b.entry.js +0 -1
- package/dist/tegel/p-f78b6a16.entry.js +0 -1
- package/dist/tegel/p-fbffe3aa.entry.js +0 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host {
|
|
2
5
|
box-sizing: border-box;
|
|
3
6
|
display: table-footer-group;
|
|
@@ -7,8 +10,8 @@
|
|
|
7
10
|
box-sizing: border-box;
|
|
8
11
|
}
|
|
9
12
|
:host .tds-table__footer-row {
|
|
10
|
-
background-color: var(--
|
|
11
|
-
color: var(--
|
|
13
|
+
background-color: var(--table-footer);
|
|
14
|
+
color: var(--table-text);
|
|
12
15
|
}
|
|
13
16
|
:host .tds-table__footer-cell {
|
|
14
17
|
padding: 0 var(--tds-spacing-element-16);
|
|
@@ -26,32 +29,36 @@
|
|
|
26
29
|
}
|
|
27
30
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page,
|
|
28
31
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page {
|
|
32
|
+
margin-right: var(--tds-spacing-element-16);
|
|
29
33
|
display: flex;
|
|
30
34
|
align-items: center;
|
|
31
|
-
margin-right: var(--tds-spacing-element-16);
|
|
32
35
|
}
|
|
33
36
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,
|
|
34
37
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p {
|
|
35
38
|
margin-right: var(--tds-spacing-element-8);
|
|
36
39
|
}
|
|
37
40
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input {
|
|
38
|
-
font: var(--
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
font-family: var(--detail-02-font-family);
|
|
42
|
+
font-size: var(--detail-02-font-size);
|
|
43
|
+
line-height: var(--detail-02-line-height);
|
|
44
|
+
font-weight: var(--detail-02-font-weight);
|
|
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
|
+
border-radius: var(--tds-spacing-element-4);
|
|
49
|
+
color: var(--table-text);
|
|
50
|
+
margin-right: var(--tds-spacing-element-4);
|
|
51
|
+
padding-right: var(--tds-spacing-element-8);
|
|
42
52
|
width: 74px;
|
|
43
53
|
height: 30px;
|
|
44
54
|
border: none;
|
|
45
|
-
border-radius: var(--tds-spacing-element-4);
|
|
46
55
|
transition: background-color 250ms ease;
|
|
47
|
-
margin-right: var(--tds-spacing-element-4);
|
|
48
|
-
padding-left: var(--tds-spacing-element-16);
|
|
49
56
|
}
|
|
50
57
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover {
|
|
51
|
-
background-color: var(--
|
|
58
|
+
background-color: var(--table-footer-page-selector-input-hover);
|
|
52
59
|
}
|
|
53
60
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled {
|
|
54
|
-
color: var(--
|
|
61
|
+
color: var(--table-footer-page-selector-input-color-disabled);
|
|
55
62
|
}
|
|
56
63
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake {
|
|
57
64
|
animation: tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
@@ -60,37 +67,41 @@
|
|
|
60
67
|
perspective: 1000px;
|
|
61
68
|
}
|
|
62
69
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text {
|
|
63
|
-
font: var(--
|
|
64
|
-
|
|
65
|
-
|
|
70
|
+
font-family: var(--detail-02-font-family);
|
|
71
|
+
font-size: var(--detail-02-font-size);
|
|
72
|
+
line-height: var(--detail-02-line-height);
|
|
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;
|
|
66
77
|
}
|
|
67
78
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn {
|
|
79
|
+
border-radius: var(--tds-spacing-element-4);
|
|
80
|
+
color: var(--table-icon);
|
|
81
|
+
height: var(--tds-spacing-element-32);
|
|
82
|
+
width: var(--tds-spacing-element-32);
|
|
68
83
|
display: flex;
|
|
69
84
|
justify-content: center;
|
|
70
85
|
align-items: center;
|
|
71
86
|
border: none;
|
|
72
87
|
background-color: transparent;
|
|
73
88
|
cursor: pointer;
|
|
74
|
-
height: var(--tds-spacing-element-32);
|
|
75
|
-
width: var(--tds-spacing-element-32);
|
|
76
|
-
border-radius: var(--tds-spacing-element-4);
|
|
77
89
|
transition: background-color 250ms ease;
|
|
78
|
-
color: var(--tds-table-footer-page-selector-icon);
|
|
79
90
|
}
|
|
80
91
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover {
|
|
81
|
-
background-color: var(--
|
|
92
|
+
background-color: var(--table-footer-button-hover);
|
|
82
93
|
}
|
|
83
94
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled {
|
|
95
|
+
color: var(--table-icon-disabled);
|
|
84
96
|
cursor: default;
|
|
85
|
-
color: var(--tds-table-footer-page-selector-icon-disabled);
|
|
86
97
|
}
|
|
87
98
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover {
|
|
88
99
|
background-color: transparent;
|
|
89
100
|
}
|
|
90
101
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg {
|
|
102
|
+
fill: var(--table-text);
|
|
91
103
|
height: var(--tds-spacing-element-20);
|
|
92
104
|
width: var(--tds-spacing-element-20);
|
|
93
|
-
fill: var(--tds-table-color);
|
|
94
105
|
}
|
|
95
106
|
|
|
96
107
|
:host(.tds-table--compact) {
|
|
@@ -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: '7cfc3ea42663922b79d37538e0649c19ebc712ff', 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: '3ad36497b515800372f57dcaf92589620d69b42b', class: "tds-table__footer-row" }, h("td", { key: '622408b38d7ea483d50283679d8ee9d3a42098aa', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '3f119143b7000a692b4b9575eae1bc0c7909d681', class: "tds-table__pagination" }, h("div", { key: '8c4a3e17f23a3febf61702aef85b9e2eb6588612', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '04a80b602eb4af3cb4a5857152dfde0fc2763713', class: "rows-per-page" }, h("p", { key: '97e08ed3804491bbc8f3ed906fec42a02dfc4346' }, "Rows per page"), h("tds-dropdown", { key: 'df2b970e5175c21927fea11f22e991c50f998c25', 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: '22ed5e4131d22d961f6742c8fa21c648b5738de5', class: "tds-table__page-selector" }, h("input", { key: 'bc43dd6fed5f554013872f9774c11da89be10a2f', 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: "rtl", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '6c4ccd34133a5b14a8d3bbeb47a6c75c7604fcb0', class: "tds-table__footer-text" }, "of ", h("span", { key: 'c136a3bbb26e0d915d4a009c85b9b2c03f3cf018' }, this.pages), " pages"), h("button", { key: '16dafa158dc8181c56031cad5253a36104ae2df5', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: 'f2a5edf16a2b164c2bd85801d2582f85c8d5aa22', name: "skip_backwards", size: "20px" })), h("button", { key: 'e7a73b61dfe85440cce8a76917bc68cde05241bd', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '55d7e648e0d731dec4e6aabe99d5e19a77d59d7b', name: "chevron_left", size: "20px" })), h("button", { key: '61856f668fed5d3085a9718204607f1e753fe7f1', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'f468fde63814f4f906b85390979aed45163f6705', name: "chevron_right", size: "20px" })), h("button", { key: '35cfa4a7f8f680abb7a77c035f4cc8a7920e5d67', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '44dba6b889241055ce393f021b1b68cb7ed5e162', name: "skip_forward", size: "20px" })))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tds-table-footer"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host {
|
|
2
5
|
box-sizing: border-box;
|
|
3
6
|
display: table-header-group;
|
|
@@ -6,13 +9,17 @@
|
|
|
6
9
|
box-sizing: border-box;
|
|
7
10
|
}
|
|
8
11
|
:host .tds-table__header-cell--checkbox {
|
|
9
|
-
font: var(--
|
|
10
|
-
|
|
12
|
+
font-family: var(--headline-07-font-family);
|
|
13
|
+
font-size: var(--headline-07-font-size);
|
|
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);
|
|
18
|
+
background-color: var(--table-header);
|
|
19
|
+
border-bottom: 1px solid var(--table-divider);
|
|
20
|
+
color: var(--table-text);
|
|
11
21
|
display: table-cell;
|
|
12
22
|
text-align: left;
|
|
13
|
-
color: var(--tds-table-color);
|
|
14
|
-
background-color: var(--tds-table-header-background);
|
|
15
|
-
border-bottom: 1px solid var(--tds-table-divider);
|
|
16
23
|
height: 48px;
|
|
17
24
|
box-sizing: border-box;
|
|
18
25
|
overflow: hidden;
|
|
@@ -50,7 +57,7 @@
|
|
|
50
57
|
transform: rotate(180deg);
|
|
51
58
|
}
|
|
52
59
|
:host ::slotted(tds-header-cell:hover) {
|
|
53
|
-
background-color: var(--
|
|
60
|
+
background-color: var(--table-header-hover);
|
|
54
61
|
}
|
|
55
62
|
|
|
56
63
|
:host(.tds-table--compact) .tds-table__header-cell--checkbox {
|
|
@@ -61,7 +68,7 @@
|
|
|
61
68
|
}
|
|
62
69
|
|
|
63
70
|
:host(.tds-table--divider) .tds-table__header-cell--checkbox {
|
|
64
|
-
border-right: 1px solid var(--
|
|
71
|
+
border-right: 1px solid var(--table-divider);
|
|
65
72
|
}
|
|
66
73
|
|
|
67
74
|
: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: '6f2fe80cd2493ad5c3bba50129c5d9f673e71897', 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: 'b409f610aca3da5fa322e7e69f6efc06ab82165a' }, this.multiselect && (h("th", { key: '89e063b17bc2fa11ba2425b88d7a4896deef164d', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'eb44702a1169731a5587adaf7f4d0a28beb4b6db', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '5a3bb99a515fb6e87f39de70e530a67c10c3e2f7', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '8463b7990b37ffb6eb36eaffe9e3f3e159fdf5ba', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '2f31f807f5f3744ffe05c0eebac93c6c8374b046' }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "tds-table-header"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host(.tds-table__header-cell) {
|
|
2
5
|
box-sizing: border-box;
|
|
3
|
-
font: var(--
|
|
4
|
-
|
|
6
|
+
font-family: var(--headline-07-font-family);
|
|
7
|
+
font-size: var(--headline-07-font-size);
|
|
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);
|
|
12
|
+
background-color: var(--table-header);
|
|
13
|
+
border-bottom: 1px solid var(--table-divider);
|
|
14
|
+
color: var(--table-text);
|
|
5
15
|
display: table-cell;
|
|
6
16
|
text-align: left;
|
|
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);
|
|
10
17
|
padding: 0;
|
|
11
18
|
height: 48px;
|
|
12
19
|
min-width: 192px;
|
|
@@ -27,6 +34,7 @@
|
|
|
27
34
|
}
|
|
28
35
|
|
|
29
36
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button {
|
|
37
|
+
color: var(--table-text);
|
|
30
38
|
display: flex;
|
|
31
39
|
align-items: center;
|
|
32
40
|
gap: 8px;
|
|
@@ -41,37 +49,43 @@
|
|
|
41
49
|
transition: background-color 200ms ease;
|
|
42
50
|
}
|
|
43
51
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus {
|
|
44
|
-
outline:
|
|
52
|
+
outline: var(--dimension-radius-focus-width) solid var(--color-foreground-border-accent-focus);
|
|
53
|
+
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
54
|
+
outline-offset: 1px;
|
|
45
55
|
outline-offset: -2px;
|
|
46
56
|
}
|
|
47
57
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus .tds-table__header-button-icon {
|
|
48
58
|
opacity: 1;
|
|
49
59
|
}
|
|
50
60
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-text {
|
|
51
|
-
font: var(--
|
|
52
|
-
|
|
61
|
+
font-family: var(--headline-07-font-family);
|
|
62
|
+
font-size: var(--headline-07-font-size);
|
|
63
|
+
line-height: var(--headline-07-line-height);
|
|
64
|
+
font-weight: var(--headline-07-font-weight);
|
|
65
|
+
letter-spacing: var(--headline-07-letter-spacing);
|
|
66
|
+
text-transform: var(--headline-07-text-transform);
|
|
67
|
+
color: var(--table-text);
|
|
53
68
|
text-align: left;
|
|
54
|
-
color: var(--tds-table-header-btn-color);
|
|
55
69
|
}
|
|
56
70
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-icon {
|
|
57
71
|
/* not to shrink on lot of text */
|
|
72
|
+
fill: var(--table-text);
|
|
58
73
|
flex: 0 0 16px;
|
|
59
74
|
height: 16px;
|
|
60
75
|
width: 16px;
|
|
61
76
|
opacity: 0;
|
|
62
77
|
transform-origin: center;
|
|
63
78
|
transition: opacity 200ms ease-in, transform 200ms ease;
|
|
64
|
-
color: var(--tds-table-color);
|
|
65
79
|
}
|
|
66
80
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:hover .tds-table__header-button-icon {
|
|
67
81
|
opacity: 1;
|
|
68
82
|
}
|
|
69
83
|
|
|
70
84
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button {
|
|
71
|
-
background-color: var(--
|
|
85
|
+
background-color: var(--table-header-button);
|
|
72
86
|
}
|
|
73
87
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button:hover {
|
|
74
|
-
background-color: var(--
|
|
88
|
+
background-color: var(--table-header-button-hover);
|
|
75
89
|
}
|
|
76
90
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon {
|
|
77
91
|
opacity: 1;
|
|
@@ -85,7 +99,7 @@
|
|
|
85
99
|
}
|
|
86
100
|
|
|
87
101
|
:host(.tds-table--divider) {
|
|
88
|
-
border-right: 1px solid var(--
|
|
102
|
+
border-right: 1px solid var(--table-divider);
|
|
89
103
|
}
|
|
90
104
|
|
|
91
105
|
: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: '9306f586f70affe65e63f3c7545285cf58e05a92', 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,3 +1,6 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host {
|
|
2
5
|
position: relative;
|
|
3
6
|
}
|
|
@@ -10,7 +13,7 @@
|
|
|
10
13
|
display: inline-block;
|
|
11
14
|
}
|
|
12
15
|
:host(.focused-input-wrapper) ::slotted(input:not(:focus)) {
|
|
13
|
-
background-color: var(--
|
|
16
|
+
background-color: var(--table-input-hover);
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
:host(.show-icon) ::slotted(input) {
|
|
@@ -18,19 +21,23 @@
|
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
tds-icon.search-icon {
|
|
21
|
-
color: var(--
|
|
24
|
+
color: var(--table-input-header-icon);
|
|
22
25
|
position: absolute;
|
|
23
26
|
left: 15px;
|
|
24
27
|
top: 1px;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
::slotted(input) {
|
|
28
|
-
|
|
29
|
-
font: var(--
|
|
30
|
-
|
|
31
|
-
|
|
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
|
+
color: var(--table-text);
|
|
32
38
|
padding-left: var(--tds-spacing-element-16);
|
|
33
39
|
padding-right: var(--tds-spacing-element-16);
|
|
40
|
+
box-sizing: border-box;
|
|
34
41
|
height: 48px;
|
|
35
42
|
border-radius: 0;
|
|
36
43
|
background-color: transparent;
|
|
@@ -39,13 +46,13 @@ tds-icon.search-icon {
|
|
|
39
46
|
}
|
|
40
47
|
|
|
41
48
|
::slotted(input)::placeholder {
|
|
42
|
-
color: var(--
|
|
49
|
+
color: var(--table-input-header-placeholder);
|
|
43
50
|
}
|
|
44
51
|
|
|
45
52
|
::slotted(input:focus) {
|
|
46
|
-
|
|
47
|
-
background-color: var(--tds-table-input-header-background-focus);
|
|
53
|
+
background-color: var(--table-input-header-focus);
|
|
48
54
|
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
55
|
+
outline: none;
|
|
49
56
|
}
|
|
50
57
|
|
|
51
58
|
:host(.tds-table__compact) ::slotted(input) {
|
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: '5a8057029e82d223a8174544fd374b8e3151d624', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host {
|
|
2
5
|
box-sizing: border-box;
|
|
6
|
+
background-color: var(--table-toolbar);
|
|
7
|
+
color: var(--table-text);
|
|
8
|
+
padding: 0 var(--tds-spacing-element-16);
|
|
3
9
|
display: table-caption;
|
|
4
10
|
position: relative;
|
|
5
|
-
background-color: var(--tds-table-toolbar-background);
|
|
6
|
-
color: var(--tds-table-color);
|
|
7
|
-
padding: 0 var(--tds-spacing-element-16);
|
|
8
11
|
height: 64px;
|
|
9
12
|
border-top-left-radius: 4px;
|
|
10
13
|
border-top-right-radius: 4px;
|
|
@@ -22,11 +25,15 @@
|
|
|
22
25
|
display: flex;
|
|
23
26
|
}
|
|
24
27
|
:host .tds-table__title {
|
|
25
|
-
font: var(--
|
|
26
|
-
|
|
28
|
+
font-family: var(--headline-07-font-family);
|
|
29
|
+
font-size: var(--headline-07-font-size);
|
|
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);
|
|
27
34
|
padding-top: var(--tds-spacing-element-16);
|
|
28
|
-
text-align: left;
|
|
29
35
|
margin-right: var(--tds-spacing-element-8);
|
|
36
|
+
text-align: left;
|
|
30
37
|
}
|
|
31
38
|
:host .tds-table__actionbar,
|
|
32
39
|
:host slot[name=end]::slotted(*),
|
|
@@ -46,12 +53,12 @@
|
|
|
46
53
|
background-color: transparent;
|
|
47
54
|
}
|
|
48
55
|
:host .tds-table__searchbar::after {
|
|
56
|
+
background-color: var(--table-toolbar-searchbar-border-bottom);
|
|
49
57
|
content: "";
|
|
50
58
|
width: 100%;
|
|
51
59
|
height: 2px;
|
|
52
60
|
position: absolute;
|
|
53
61
|
bottom: 0;
|
|
54
|
-
background-color: var(--tds-blue-400);
|
|
55
62
|
transform: scaleX(0);
|
|
56
63
|
transition: transform 150ms ease;
|
|
57
64
|
}
|
|
@@ -59,16 +66,20 @@
|
|
|
59
66
|
transform: scaleX(100%);
|
|
60
67
|
}
|
|
61
68
|
:host .tds-table__searchbar:focus-within, :host .tds-table__searchbar.tds-table__searchbar--active {
|
|
69
|
+
background-color: var(--table-toolbar-searchbar);
|
|
62
70
|
width: 208px;
|
|
63
|
-
background-color: var(--tds-table-toolbar-searchbar-background);
|
|
64
71
|
}
|
|
65
72
|
:host .tds-table__searchbar:focus-within:hover, :host .tds-table__searchbar.tds-table__searchbar--active:hover {
|
|
66
|
-
background-color: var(--
|
|
73
|
+
background-color: var(--table-toolbar-searchbar);
|
|
67
74
|
}
|
|
68
75
|
:host .tds-table__searchbar .tds-table__searchbar-input {
|
|
69
|
-
font: var(--
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
font-family: var(--detail-02-font-family);
|
|
77
|
+
font-size: var(--detail-02-font-size);
|
|
78
|
+
line-height: var(--detail-02-line-height);
|
|
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);
|
|
72
83
|
z-index: 1;
|
|
73
84
|
width: 100%;
|
|
74
85
|
height: 100%;
|
|
@@ -79,10 +90,10 @@
|
|
|
79
90
|
cursor: pointer;
|
|
80
91
|
}
|
|
81
92
|
:host .tds-table__searchbar .tds-table__searchbar-input :focus {
|
|
82
|
-
background-color: var(--
|
|
93
|
+
background-color: var(--table-toolbar-searchbar);
|
|
83
94
|
}
|
|
84
95
|
:host .tds-table__searchbar:hover {
|
|
85
|
-
background-color: var(--
|
|
96
|
+
background-color: var(--table-toolbar-searchbar-hover);
|
|
86
97
|
}
|
|
87
98
|
:host .tds-table__searchbar .tds-table__searchbar-icon {
|
|
88
99
|
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: '7cf6fffdb988f525b5ff9fca25588f2b4770f9df', 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: 'd071dcc92ba9d045c7322eec7bde32afc16616d6', class: "tds-table__upper-bar-flex" }, h("div", { key: '9cee0628c8c81614fb43ec2453644f7dd5001f54', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '90949e76eb225021d4dd9645968bd544b6ec9e71', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: 'fe27e4a5f5fb81040deb6df122fafa9172fc2c54', name: "start" })), h("div", { key: '2d146dfb716542c6c44a67404e2b537dfd730887', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'a2aee3c2a1dc9873c66e9e916af036a5e4851cf5', class: "tds-table__searchbar" }, h("input", { key: 'a8d9cc52b1e90d43ef9be1d198962d2c8bc54ea8', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '77bf8cff14864f3f36a2e94d34cbcbba361b700c', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: 'a4de427ffa05d9d08b183ecedfd6105abe9d9e35', name: "search", size: "20px" })))), h("slot", { key: '95c49753b2cc07b4dc211dc8b18ae88eb1170838', name: "end" })))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "tds-table-toolbar"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host {
|
|
2
5
|
box-sizing: border-box;
|
|
3
6
|
position: relative;
|
|
@@ -7,12 +10,15 @@
|
|
|
7
10
|
}
|
|
8
11
|
:host ::slotted(*) {
|
|
9
12
|
all: unset;
|
|
13
|
+
font-family: var(--headline-07-font-family);
|
|
14
|
+
font-size: var(--headline-07-font-size);
|
|
15
|
+
line-height: var(--headline-07-line-height);
|
|
16
|
+
font-weight: var(--headline-07-font-weight);
|
|
17
|
+
letter-spacing: var(--headline-07-letter-spacing);
|
|
18
|
+
text-transform: var(--headline-07-text-transform);
|
|
10
19
|
min-width: 142px;
|
|
11
20
|
display: block;
|
|
12
21
|
width: calc(100% - 32px);
|
|
13
|
-
/* !important is needed here to prevent this from being overwritten by our CSS-reset. */
|
|
14
|
-
font: var(--tds-headline-07) !important;
|
|
15
|
-
letter-spacing: var(--tds-headline-07-ls) !important;
|
|
16
22
|
cursor: pointer;
|
|
17
23
|
padding: 16px;
|
|
18
24
|
white-space: nowrap;
|
|
@@ -24,29 +30,30 @@
|
|
|
24
30
|
border-left-color: transparent;
|
|
25
31
|
}
|
|
26
32
|
:host ::slotted(*:focus-visible) {
|
|
27
|
-
outline:
|
|
28
|
-
box-shadow: 0 0 0 1px var(--
|
|
33
|
+
outline: var(--dimension-radius-focus-width) solid var(--color-foreground-border-accent-focus);
|
|
34
|
+
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
29
35
|
outline-offset: 1px;
|
|
30
|
-
|
|
36
|
+
box-shadow: none;
|
|
37
|
+
outline-offset: -4px;
|
|
31
38
|
}
|
|
32
39
|
:host div:not(.selected) {
|
|
33
|
-
background-color: var(--
|
|
40
|
+
background-color: var(--folder-tab-surface);
|
|
34
41
|
}
|
|
35
42
|
:host div:not(.selected) ::slotted(*) {
|
|
36
|
-
border-left-color: var(--
|
|
37
|
-
border-top: 2px solid var(--
|
|
38
|
-
color: var(--
|
|
43
|
+
border-left-color: var(--folder-tab-divider-text);
|
|
44
|
+
border-top: 2px solid var(--folder-tab-surface);
|
|
45
|
+
color: var(--folder-tab-item-text);
|
|
39
46
|
}
|
|
40
47
|
:host div:not(.selected):hover:not(.disabled) {
|
|
41
|
-
background-color: var(--
|
|
48
|
+
background-color: var(--folder-tab-surface-hover);
|
|
42
49
|
cursor: pointer;
|
|
43
50
|
}
|
|
44
51
|
:host div:not(.selected):hover:not(.disabled) ::slotted(*) {
|
|
45
|
-
border-top-color: var(--
|
|
46
|
-
color: var(--
|
|
52
|
+
border-top-color: var(--folder-tab-surface-hover);
|
|
53
|
+
color: var(--folder-tab-text);
|
|
47
54
|
}
|
|
48
55
|
:host div:not(.selected).disabled ::slotted(*) {
|
|
49
|
-
color: var(--
|
|
56
|
+
color: var(--folder-tab-item-text-disabled);
|
|
50
57
|
}
|
|
51
58
|
:host div:not(.selected).disabled ::slotted(*:focus-visible) {
|
|
52
59
|
outline: none;
|
|
@@ -58,12 +65,12 @@
|
|
|
58
65
|
content: none;
|
|
59
66
|
}
|
|
60
67
|
:host .selected {
|
|
61
|
-
background-color: var(--
|
|
62
|
-
border-top: 2px solid var(--
|
|
68
|
+
background-color: var(--folder-tab-surface-selected);
|
|
69
|
+
border-top: 2px solid var(--folder-tab-border-selected);
|
|
63
70
|
}
|
|
64
71
|
:host .selected::after {
|
|
72
|
+
background-color: var(--folder-tab-surface-selected);
|
|
65
73
|
content: " ";
|
|
66
|
-
background-color: var(--tds-folder-tab-background-selected);
|
|
67
74
|
width: 1px;
|
|
68
75
|
top: 0;
|
|
69
76
|
bottom: 0;
|
|
@@ -73,7 +80,7 @@
|
|
|
73
80
|
z-index: 1;
|
|
74
81
|
}
|
|
75
82
|
:host .selected ::slotted(*) {
|
|
76
|
-
color: var(--
|
|
83
|
+
color: var(--folder-tab-text);
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
:host(.first) :not(.selected) ::slotted(*) {
|
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '584a1fcf43299d27e3fb2150214830c7964e3895', "aria-selected": this.selected }, h("div", { key: 'ed0f0d8acafaf35c36a22d34ef4c9ac240ba5311', 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: 'ac2fb5ed4062e9e83297e9a6c2f3ea6b9f514b06' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
}
|
|
26
26
|
:host .scroll-right-button,
|
|
27
27
|
:host .scroll-left-button {
|
|
28
|
+
background-color: var(--folder-tabs-scroll-button-surface);
|
|
29
|
+
color: var(--folder-tabs-scroll-button-text);
|
|
28
30
|
height: 50px;
|
|
29
|
-
color: var(--tds-folder-tabs-scroll-btn-color);
|
|
30
31
|
cursor: pointer;
|
|
31
32
|
border: 0;
|
|
32
33
|
width: 0;
|
|
33
|
-
background-color: var(--tds-folder-tabs-scroll-btn-background);
|
|
34
34
|
display: none;
|
|
35
35
|
justify-content: center;
|
|
36
36
|
align-items: center;
|
|
@@ -45,22 +45,7 @@
|
|
|
45
45
|
opacity: 1;
|
|
46
46
|
pointer-events: all;
|
|
47
47
|
}
|
|
48
|
-
:host .scroll-right-button:hover,
|
|
49
|
-
:host .scroll-left-button:hover {
|
|
50
|
-
background-color: var(--tds-folder-tabs-scroll-btn-background-hover);
|
|
51
|
-
}
|
|
52
|
-
:host .scroll-right-button:active,
|
|
53
|
-
:host .scroll-left-button:active {
|
|
54
|
-
background-color: var(--tds-folder-tabs-scroll-btn-background-active);
|
|
55
|
-
}
|
|
56
|
-
:host .scroll-right-button:focus,
|
|
57
|
-
:host .scroll-left-button:focus {
|
|
58
|
-
outline: 2px solid var(--tds-focus-outline-color);
|
|
59
|
-
box-shadow: 0 0 0 1px var(--tds-white);
|
|
60
|
-
outline-offset: 1px;
|
|
61
|
-
z-index: 1;
|
|
62
|
-
}
|
|
63
48
|
:host .scroll-right-button svg,
|
|
64
49
|
:host .scroll-left-button svg {
|
|
65
|
-
fill: var(--
|
|
50
|
+
fill: var(--folder-tabs-scroll-button-text);
|
|
66
51
|
}
|
|
@@ -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: 'f97a75dc1b7bf12757a7e96e4075387c27459e7e', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '92299f0dc356d448d901569d314fa6afaa21fdb1', class: "wrapper", ref: (el) => {
|
|
166
166
|
this.navWrapperElement = el;
|
|
167
|
-
} }, h("button", { key: '
|
|
167
|
+
} }, h("button", { key: 'f00e92acb5a9071173c25d2c8334fa32cc32cca8', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'eb113eeecf5c89a9b6e3e3c4306f3557c574b3e7', name: "chevron_left", size: "20px" })), h("slot", { key: '4136a2b52af81b9406cffc74a6ad84f428d18273', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '0d5177b9eff827616a3252992a6dc7e79e58f5e1', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'a575af766f02d2427760aa1f5911e63f32c28d1d', name: "chevron_right", size: "20px" })))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "tds-folder-tabs"; }
|
|
170
170
|
static get encapsulation() { return "shadow"; }
|