@scania/tegel 1.34.0-multibrand-beta.6 → 1.35.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-badge.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-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 +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +6 -7
- 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 +4 -3
- 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 +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 +3 -6
- package/dist/cjs/tds-radio-button.cjs.entry.js +2 -4
- 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 +9 -15
- 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 +6 -9
- 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 +25 -34
- package/dist/collection/components/accordion/accordion.css +9 -8
- package/dist/collection/components/badge/badge.css +4 -2
- package/dist/collection/components/banner/banner.css +16 -26
- 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 +8 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +2 -9
- package/dist/collection/components/button/button.css +426 -480
- package/dist/collection/components/card/card.css +18 -29
- package/dist/collection/components/checkbox/checkbox.css +30 -37
- package/dist/collection/components/chip/chip.css +19 -31
- package/dist/collection/components/datetime/datetime.css +199 -104
- package/dist/collection/components/divider/divider.css +16 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +11 -19
- package/dist/collection/components/dropdown/dropdown.css +129 -138
- package/dist/collection/components/dropdown/dropdown.js +4 -5
- package/dist/collection/components/footer/footer-group/footer-group.css +11 -21
- package/dist/collection/components/footer/footer-item/footer-item.css +17 -25
- package/dist/collection/components/footer/footer.css +7 -20
- package/dist/collection/components/footer/footer.js +3 -2
- 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 +3 -2
- package/dist/collection/components/header/header-item/header-item.css +3 -2
- 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 +3 -2
- package/dist/collection/components/icon/icon.js +2 -7
- package/dist/collection/components/icon/tratonIconsArray.js +1 -4
- package/dist/collection/components/link/link.css +14 -23
- package/dist/collection/components/message/message.css +53 -42
- package/dist/collection/components/modal/modal.css +16 -15
- package/dist/collection/components/popover-canvas/popover-canvas.css +2 -2
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.css +7 -14
- package/dist/collection/components/popover-menu/popover-menu.css +1 -1
- package/dist/collection/components/popover-menu/popover-menu.js +2 -23
- package/dist/collection/components/radio-button/radio-button.css +25 -38
- package/dist/collection/components/radio-button/radio-button.js +1 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +3 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +3 -2
- package/dist/collection/components/side-menu/side-menu.css +3 -3
- package/dist/collection/components/slider/slider-stories-setup.js +1 -29
- package/dist/collection/components/slider/slider.css +52 -99
- package/dist/collection/components/slider/slider.js +8 -50
- package/dist/collection/components/spinner/spinner.css +64 -33
- package/dist/collection/components/spinner/spinner.js +2 -3
- package/dist/collection/components/stepper/step/step.css +38 -53
- package/dist/collection/components/stepper/stepper.css +3 -0
- package/dist/collection/components/table/table/table.css +4 -4
- package/dist/collection/components/table/table-body/table-body.css +21 -11
- 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 +9 -18
- 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 +9 -10
- 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 +12 -11
- 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 +22 -33
- 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 -27
- 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 +9 -16
- 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 +14 -25
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +18 -25
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +18 -3
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +10 -19
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +20 -4
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +10 -22
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +20 -5
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/text-field/text-field.css +170 -141
- package/dist/collection/components/text-field/text-field.js +5 -8
- package/dist/collection/components/textarea/textarea.css +74 -112
- package/dist/collection/components/textarea/textarea.js +4 -4
- package/dist/collection/components/toast/toast.css +23 -31
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.css +45 -55
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.css +4 -11
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/p-58b92113.js +114 -0
- package/dist/components/{p-d437241f.js → p-63437b77.js} +2 -2
- package/dist/components/{p-4cd4e1e3.js → p-6adb1ce3.js} +1 -1
- package/dist/components/{p-aeba8158.js → p-6eecf159.js} +1 -1
- package/dist/components/{p-af5310f8.js → p-71c3dfe9.js} +1 -1
- package/dist/components/{p-ee402b70.js → p-9cee9d7f.js} +3 -3
- package/dist/components/{p-4e5ff414.js → p-b390ece5.js} +3 -8
- package/dist/components/{p-4bf2bec5.js → p-df84759a.js} +1 -1
- package/dist/components/{p-0e04ed76.js → p-ea381f94.js} +1 -1
- package/dist/components/{p-a1f93ac9.js → p-ecd0226b.js} +3 -3
- package/dist/components/{p-6bb21551.js → p-ffbaebb1.js} +6 -7
- 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 +3 -7
- 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 +4 -3
- 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 +3 -7
- package/dist/components/tds-radio-button.js +2 -4
- 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 +10 -18
- package/dist/components/tds-spinner.js +4 -5
- 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 +8 -11
- 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/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 +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-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 +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +6 -7
- 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 +4 -3
- 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 +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 +3 -6
- package/dist/esm/tds-radio-button.entry.js +2 -4
- 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 +9 -15
- 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 +6 -9
- 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-39f597f5.entry.js → p-08f63e5d.entry.js} +1 -1
- package/dist/tegel/{p-e7638f10.entry.js → p-0cfe8671.entry.js} +1 -1
- package/dist/tegel/p-106e048d.entry.js +1 -0
- package/dist/tegel/{p-ba990426.entry.js → p-177386d5.entry.js} +1 -1
- package/dist/tegel/p-177e874b.entry.js +1 -0
- package/dist/tegel/p-1c75f8a7.entry.js +1 -0
- package/dist/tegel/p-25d026a6.entry.js +1 -0
- package/dist/tegel/p-29170339.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-40ae469d.entry.js → p-3ec01fb3.entry.js} +1 -1
- package/dist/tegel/p-4274d329.entry.js +1 -0
- package/dist/tegel/p-4a77edf1.entry.js +1 -0
- package/dist/tegel/p-5020a688.entry.js +1 -0
- package/dist/tegel/p-52adc30c.entry.js +1 -0
- package/dist/tegel/{p-ceddaae5.entry.js → p-5c077bb9.entry.js} +1 -1
- package/dist/tegel/p-5dd2aac8.entry.js +1 -0
- package/dist/tegel/{p-a077836e.entry.js → p-614bcd4b.entry.js} +1 -1
- package/dist/tegel/p-614cc097.entry.js +1 -0
- package/dist/tegel/p-618d6b4f.entry.js +1 -0
- package/dist/tegel/p-61a1dc59.entry.js +1 -0
- package/dist/tegel/p-67b4b2cf.entry.js +1 -0
- package/dist/tegel/p-6a615ac1.entry.js +1 -0
- package/dist/tegel/p-6d89dcbe.entry.js +1 -0
- package/dist/tegel/{p-0d09f1ad.entry.js → p-6e57997e.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-84de314b.entry.js +1 -0
- package/dist/tegel/{p-2718a9ce.entry.js → p-87219f00.entry.js} +1 -1
- package/dist/tegel/{p-d9b054fa.entry.js → p-8c841698.entry.js} +1 -1
- package/dist/tegel/p-942abc1e.entry.js +1 -0
- package/dist/tegel/p-9b2257f3.entry.js +1 -0
- package/dist/tegel/p-9fe97da7.entry.js +1 -0
- package/dist/tegel/{p-9620b368.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-a333339f.entry.js → p-abad3489.entry.js} +1 -1
- package/dist/tegel/p-ae438c2e.entry.js +1 -0
- package/dist/tegel/p-aec3e4cf.entry.js +1 -0
- package/dist/tegel/p-b58194f9.entry.js +1 -0
- package/dist/tegel/p-b734b309.entry.js +1 -0
- package/dist/tegel/p-b8a33966.entry.js +1 -0
- package/dist/tegel/p-b994e7ac.entry.js +1 -0
- package/dist/tegel/p-bb1d069f.entry.js +1 -0
- package/dist/tegel/p-bcd5e06d.entry.js +1 -0
- package/dist/tegel/p-bcdf13e0.entry.js +1 -0
- package/dist/tegel/p-bd935506.entry.js +1 -0
- package/dist/tegel/p-bdc913a0.entry.js +1 -0
- package/dist/tegel/{p-c94e0062.entry.js → p-c0b26507.entry.js} +1 -1
- package/dist/tegel/p-c6beca5e.entry.js +1 -0
- package/dist/tegel/p-cf7af8f2.entry.js +1 -0
- package/dist/tegel/p-d267c18f.entry.js +1 -0
- package/dist/tegel/p-dc375d3e.entry.js +1 -0
- package/dist/tegel/p-e3c2b6b4.entry.js +1 -0
- package/dist/tegel/{p-33aa94c4.entry.js → p-eff87481.entry.js} +1 -1
- package/dist/tegel/p-f2232281.entry.js +1 -0
- package/dist/tegel/p-f4b5e80b.entry.js +1 -0
- package/dist/tegel/p-fbffe3aa.entry.js +1 -0
- package/dist/tegel/p-fe8a4544.entry.js +1 -0
- package/dist/tegel/tegel.css +7 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/footer/footer.d.ts +1 -0
- package/dist/types/components/popover-menu/popover-menu.d.ts +0 -2
- package/dist/types/components/slider/slider-stories-setup.d.ts +1 -37
- package/dist/types/components/slider/slider.d.ts +0 -4
- package/dist/types/components.d.ts +0 -24
- package/dist/types/types/TratonIcons.d.ts +1 -1
- package/package.json +2 -8
- package/dist/components/p-8565f800.js +0 -114
- package/dist/tegel/p-0096c98e.entry.js +0 -1
- package/dist/tegel/p-10646dec.entry.js +0 -1
- package/dist/tegel/p-17b55fa2.entry.js +0 -1
- package/dist/tegel/p-22e4a4f9.entry.js +0 -1
- package/dist/tegel/p-2e6b957c.entry.js +0 -1
- package/dist/tegel/p-38aa3ec5.entry.js +0 -1
- package/dist/tegel/p-3f039f89.entry.js +0 -1
- package/dist/tegel/p-4095d044.entry.js +0 -1
- package/dist/tegel/p-45a503af.entry.js +0 -1
- package/dist/tegel/p-5487604f.entry.js +0 -1
- package/dist/tegel/p-5bc63fd1.entry.js +0 -1
- package/dist/tegel/p-5f35ce3b.entry.js +0 -1
- package/dist/tegel/p-67f3c355.entry.js +0 -1
- package/dist/tegel/p-6a20c0b8.entry.js +0 -1
- package/dist/tegel/p-72b2067a.entry.js +0 -1
- package/dist/tegel/p-77861e4c.entry.js +0 -1
- package/dist/tegel/p-7aaaeb32.entry.js +0 -1
- package/dist/tegel/p-80ce20cc.entry.js +0 -1
- package/dist/tegel/p-84d8c038.entry.js +0 -1
- package/dist/tegel/p-8bcc772f.entry.js +0 -1
- package/dist/tegel/p-8efd9d9a.entry.js +0 -1
- package/dist/tegel/p-93d3ea90.entry.js +0 -1
- package/dist/tegel/p-9572319f.entry.js +0 -1
- package/dist/tegel/p-9990cba2.entry.js +0 -1
- package/dist/tegel/p-9db54bd1.entry.js +0 -1
- package/dist/tegel/p-a1a335f8.entry.js +0 -1
- package/dist/tegel/p-a2f84e4a.entry.js +0 -1
- package/dist/tegel/p-b02b13ee.entry.js +0 -1
- package/dist/tegel/p-bb115b00.entry.js +0 -1
- package/dist/tegel/p-c0c68796.entry.js +0 -1
- package/dist/tegel/p-c1ff5218.entry.js +0 -1
- package/dist/tegel/p-c6e76ba8.entry.js +0 -1
- package/dist/tegel/p-c79386a0.entry.js +0 -1
- package/dist/tegel/p-cb83b852.entry.js +0 -1
- package/dist/tegel/p-d0d2efb5.entry.js +0 -1
- package/dist/tegel/p-d1b356d5.entry.js +0 -1
- package/dist/tegel/p-d75d632d.entry.js +0 -1
- package/dist/tegel/p-db46db63.entry.js +0 -1
- package/dist/tegel/p-ec395ccd.entry.js +0 -1
- package/dist/tegel/p-f1b0f4f6.entry.js +0 -1
- package/dist/tegel/p-f5c24e0b.entry.js +0 -1
- package/dist/tegel/p-f8cc59e0.entry.js +0 -1
- package/dist/tegel/p-f9b30e56.entry.js +0 -1
- package/dist/tegel/p-fe51bbbb.entry.js +0 -1
- package/dist-styles/core.css +0 -5834
- package/dist-styles/scania-variables.css +0 -1720
- package/dist-styles/scania.css +0 -7555
- package/dist-styles/traton-variables.css +0 -896
- package/dist-styles/traton.css +0 -6731
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host {
|
|
5
2
|
position: relative;
|
|
6
3
|
}
|
|
@@ -17,7 +14,7 @@
|
|
|
17
14
|
display: inline-block;
|
|
18
15
|
}
|
|
19
16
|
:host(:hover) ::slotted(input:not(:focus)) {
|
|
20
|
-
background-color: var(--table-input-hover);
|
|
17
|
+
background-color: var(--tds-table-input-background-hover);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
tds-icon.edit-icon {
|
|
@@ -30,16 +27,12 @@ tds-icon.edit-icon {
|
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
::slotted(input) {
|
|
33
|
-
|
|
34
|
-
font
|
|
35
|
-
|
|
36
|
-
font-weight: var(--detail-02-font-weight);
|
|
37
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
38
|
-
text-transform: var(--detail-02-text-transform);
|
|
39
|
-
color: var(--table-text);
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
font: var(--tds-detail-02);
|
|
32
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
40
33
|
padding-left: var(--tds-spacing-element-16);
|
|
41
34
|
padding-right: var(--tds-spacing-element-16);
|
|
42
|
-
|
|
35
|
+
color: var(--tds-table-color);
|
|
43
36
|
background-color: transparent;
|
|
44
37
|
height: 48px;
|
|
45
38
|
border-radius: 0;
|
|
@@ -50,19 +43,17 @@ tds-icon.edit-icon {
|
|
|
50
43
|
}
|
|
51
44
|
|
|
52
45
|
::slotted(input)::placeholder {
|
|
53
|
-
color: var(--table-
|
|
46
|
+
color: var(--tds-table-color);
|
|
54
47
|
}
|
|
55
48
|
|
|
56
49
|
::slotted(input:disabled) {
|
|
57
|
-
background-color: var(--table-input-disabled);
|
|
58
|
-
color: var(--table-input-text-disabled);
|
|
59
|
-
cursor: not-allowed;
|
|
50
|
+
background-color: var(--tds-table-input-background-disabled);
|
|
60
51
|
}
|
|
61
52
|
|
|
62
53
|
::slotted(input:focus) {
|
|
63
|
-
background-color: var(--table-input-focus);
|
|
64
|
-
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
65
54
|
outline: none;
|
|
55
|
+
background-color: var(--tds-table-input-background-focus);
|
|
56
|
+
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
66
57
|
}
|
|
67
58
|
|
|
68
59
|
/* Add compact-design specific styles here */
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js
CHANGED
|
@@ -85,7 +85,7 @@ export class TdsTableBodyInputWrapper {
|
|
|
85
85
|
'focused-input-wrapper': this.inputFocused,
|
|
86
86
|
'show-icon': this.showIcon,
|
|
87
87
|
'tds-table__compact': this.compactDesign,
|
|
88
|
-
} }, this.renderSlot
|
|
88
|
+
} }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "edit-icon", slot: "icon", size: "16px", name: "edit" })) : null));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "tds-table-body-input-wrapper"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:host(.tds-table__row) {
|
|
2
2
|
box-sizing: border-box;
|
|
3
|
-
background-color: var(--table-body-row);
|
|
4
|
-
border-bottom: 1px solid var(--table-divider);
|
|
5
|
-
color: var(--table-text);
|
|
6
3
|
display: table-row;
|
|
4
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
5
|
+
background-color: var(--tds-table-body-row-background);
|
|
7
6
|
transition: background-color 200ms ease;
|
|
7
|
+
color: var(--tds-table-color);
|
|
8
8
|
}
|
|
9
9
|
:host(.tds-table__row) * {
|
|
10
10
|
box-sizing: border-box;
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
:host(.tds-table__row:hover) {
|
|
19
|
-
background-color: var(--table-body-row-hover);
|
|
19
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
:host(.tds-table__row--selected) {
|
|
23
|
-
background-color: var(--table-body-row-selected);
|
|
23
|
+
background-color: var(--tds-table-body-row-background-selected);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
:host(.tds-table__row--selected:hover) {
|
|
27
|
-
background-color: var(--table-body-row-selected-hover);
|
|
27
|
+
background-color: var(--tds-table-body-row-background-selected-hover);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:host(.tds-table__row--hidden) {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
:host(.tds-table__row--expended) {
|
|
35
35
|
width: 100%;
|
|
36
|
+
background-color: pink;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
:host .tds-form-label--table {
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
:host(.tds-table--divider) .tds-table__body-cell--checkbox {
|
|
52
|
-
border-right: 1px solid var(--table-divider);
|
|
53
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
:host(.tds-table__row--clickable) {
|
|
@@ -57,7 +58,5 @@
|
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
:host(.tds-table__row--clickable:focus-visible) {
|
|
60
|
-
outline: var(--
|
|
61
|
-
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
62
|
-
outline-offset: 1px;
|
|
61
|
+
outline: var(--focus-outline, 2px solid blue);
|
|
63
62
|
}
|
|
@@ -68,13 +68,13 @@ export class TdsTableBodyRow {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '13b790e1c4586e110853125bb2856166f8090cc3', tabindex: this.clickable ? '0' : null, class: {
|
|
72
72
|
'tds-table__row': true,
|
|
73
73
|
'tds-table__row--selected': this.selected,
|
|
74
74
|
'tds-table__compact': this.compactDesign,
|
|
75
75
|
'tds-table--divider': this.verticalDividers,
|
|
76
76
|
'tds-table__row--clickable': this.clickable,
|
|
77
|
-
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '
|
|
77
|
+
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '3a966516c5a227907f9530d047e6e1c19eb5362c', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '90811b5dd064a36dfe9363dae55376fb7b4ca78d', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '4a16bce9add5ec4b9e4119e5361d556f5ee104f9' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "tds-table-body-row"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
}
|
|
8
8
|
:host .tds-table__row,
|
|
9
9
|
:host .tds-table__row-extend {
|
|
10
|
-
background-color: var(--table-body-row);
|
|
11
|
-
border-bottom: 1px solid var(--table-divider);
|
|
12
|
-
color: var(--table-text);
|
|
13
10
|
display: table-row;
|
|
11
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
12
|
+
background-color: var(--tds-table-body-row-background);
|
|
14
13
|
transition: background-color 200ms ease;
|
|
14
|
+
color: var(--tds-table-color);
|
|
15
15
|
}
|
|
16
16
|
:host .tds-table__row--expanded {
|
|
17
17
|
border-bottom: none;
|
|
18
18
|
}
|
|
19
19
|
:host .tds-table__row:hover,
|
|
20
20
|
:host .tds-table__row-extend:hover {
|
|
21
|
-
background-color: var(--table-body-row-hover);
|
|
21
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
22
22
|
}
|
|
23
23
|
:host .tds-table__expand-control-container {
|
|
24
24
|
display: flex;
|
|
@@ -39,9 +39,10 @@
|
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
}
|
|
41
41
|
:host .tds-table__expand-control-container .tds-table__expand-input:focus {
|
|
42
|
-
outline:
|
|
43
|
-
box-shadow: 0 0 0 1px var(--
|
|
42
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
43
|
+
box-shadow: 0 0 0 1px var(--tds-white);
|
|
44
44
|
outline-offset: 1px;
|
|
45
|
+
z-index: 1;
|
|
45
46
|
}
|
|
46
47
|
:host .tds-table__expand-control-container .tds-expendable-row-icon {
|
|
47
48
|
height: 16px;
|
|
@@ -54,13 +55,13 @@
|
|
|
54
55
|
transition: background-color 200ms ease;
|
|
55
56
|
}
|
|
56
57
|
:host .tds-table__row-expand--expanded {
|
|
57
|
-
border-bottom: 1px solid var(--table-divider);
|
|
58
|
+
border-bottom: 1px solid var(--tds-table-divider);
|
|
58
59
|
}
|
|
59
60
|
:host .tds-table__row-expand .tds-table__cell-expand {
|
|
60
|
-
color: var(--table-text);
|
|
61
61
|
max-width: 1px;
|
|
62
62
|
overflow: auto;
|
|
63
63
|
padding: 16px 16px 16px 66px;
|
|
64
|
+
color: var(--tds-table-color);
|
|
64
65
|
}
|
|
65
66
|
:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible {
|
|
66
67
|
overflow: visible;
|
|
@@ -70,13 +71,13 @@
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
:host(.tds-table__row-expand--active) .tds-table__row {
|
|
73
|
-
background-color: var(--table-body-row-selected);
|
|
74
|
+
background-color: var(--tds-table-body-row-background-selected);
|
|
74
75
|
}
|
|
75
76
|
:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon {
|
|
76
77
|
transform: rotate(180deg);
|
|
77
78
|
}
|
|
78
79
|
:host(.tds-table__row-expand--active) .tds-table__row-expand {
|
|
79
|
-
background-color: var(--table-body-row-selected);
|
|
80
|
+
background-color: var(--tds-table-body-row-background-selected);
|
|
80
81
|
display: table-row;
|
|
81
82
|
}
|
|
82
83
|
|
|
@@ -92,5 +93,5 @@
|
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
:host(.tds-table--divider) .tds-table__cell--expand {
|
|
95
|
-
border-right: 1px solid var(--table-divider);
|
|
96
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
96
97
|
}
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -101,26 +101,26 @@ export class TdsTableBodyRowExpandable {
|
|
|
101
101
|
this.sendValue();
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '36be80e7cd0916cb8e196f52676281fcabc1996e', class: {
|
|
105
105
|
'tds-table__row': true,
|
|
106
106
|
'tds-table__row-expand--active': this.isExpanded,
|
|
107
107
|
'tds-table__compact': this.compactDesign,
|
|
108
108
|
'tds-table--divider': this.verticalDividers,
|
|
109
|
-
} }, h("tr", { key: '
|
|
109
|
+
} }, h("tr", { key: '868377d055d9d66fcf1824ed811e4a56f67b79e0', id: `expandable-content-${this.rowId}`, class: {
|
|
110
110
|
'tds-table__row': true,
|
|
111
111
|
'tds-table__row--expanded': this.isExpanded,
|
|
112
|
-
}, part: "row" }, h("td", { key: '
|
|
112
|
+
}, part: "row" }, h("td", { key: '059858ff5293deda48d039fdc81dd4a5d8ae6fce', class: {
|
|
113
113
|
'tds-table__cell-expand': true,
|
|
114
|
-
} }, h("label", { key: '
|
|
114
|
+
} }, h("label", { key: '6e05d93a509cb77cb3fd76f3d869b820b5d83163', class: "tds-table__expand-control-container" }, h("input", { key: 'ed7091d4dfdac43c082ee63548c7bff2e87379dd', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: '84622275a00b28685834e0de8552f5c7a36bc983', class: "tds-expendable-row-icon" }, h("svg", { key: '633d1030453895343295b30142410ece7f15dec3', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'e4d21588ca0bb6fbcd68af3a7afb48bafe180bc1', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '5c66154a24fe8d21bb6b9d91930ad7efd4cb1ec5' })), h("tr", { key: '1417c7143b8aaafbb2143557e53443cde9afcbde', class: {
|
|
115
115
|
'tds-table__row-expand': true,
|
|
116
116
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
117
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
117
|
+
}, part: "expand-row" }, h("td", { key: 'b72d532f22b5c7c0bc7c7b23caf5887d4228b9d0', class: {
|
|
118
118
|
'tds-table__cell-expand': true,
|
|
119
119
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
120
120
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
121
|
-
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '
|
|
121
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '256a827b43a8099b9ea4e5a5a43023ff9bf0b828', style: {
|
|
122
122
|
overflow: this.overflow,
|
|
123
|
-
} }, h("slot", { key: '
|
|
123
|
+
} }, h("slot", { key: '6bbc0eeca7b7a654da9c1b7da6992aa8928e1974', name: "expand-row" }))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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);
|
|
@@ -29,36 +26,32 @@
|
|
|
29
26
|
}
|
|
30
27
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page,
|
|
31
28
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page {
|
|
32
|
-
margin-right: var(--tds-spacing-element-16);
|
|
33
29
|
display: flex;
|
|
34
30
|
align-items: center;
|
|
31
|
+
margin-right: var(--tds-spacing-element-16);
|
|
35
32
|
}
|
|
36
33
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,
|
|
37
34
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p {
|
|
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
|
-
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);
|
|
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);
|
|
52
42
|
width: 74px;
|
|
53
43
|
height: 30px;
|
|
54
44
|
border: none;
|
|
45
|
+
border-radius: var(--tds-spacing-element-4);
|
|
55
46
|
transition: background-color 250ms ease;
|
|
47
|
+
margin-right: var(--tds-spacing-element-4);
|
|
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,41 +60,37 @@
|
|
|
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
|
-
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);
|
|
83
68
|
display: flex;
|
|
84
69
|
justify-content: center;
|
|
85
70
|
align-items: center;
|
|
86
71
|
border: none;
|
|
87
72
|
background-color: transparent;
|
|
88
73
|
cursor: pointer;
|
|
74
|
+
height: var(--tds-spacing-element-32);
|
|
75
|
+
width: var(--tds-spacing-element-32);
|
|
76
|
+
border-radius: var(--tds-spacing-element-4);
|
|
89
77
|
transition: background-color 250ms ease;
|
|
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
|
-
color: var(--table-icon-disabled);
|
|
96
84
|
cursor: default;
|
|
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;
|
|
100
89
|
}
|
|
101
90
|
:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg {
|
|
102
|
-
fill: var(--table-text);
|
|
103
91
|
height: var(--tds-spacing-element-20);
|
|
104
92
|
width: var(--tds-spacing-element-20);
|
|
93
|
+
fill: var(--tds-table-color);
|
|
105
94
|
}
|
|
106
95
|
|
|
107
96
|
: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: '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);
|
|
18
|
-
background-color: var(--table-header);
|
|
19
|
-
border-bottom: 1px solid var(--table-divider);
|
|
20
|
-
color: var(--table-text);
|
|
9
|
+
font: var(--tds-headline-07);
|
|
10
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
21
11
|
display: table-cell;
|
|
22
12
|
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);
|
|
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);
|
|
12
|
-
background-color: var(--table-header);
|
|
13
|
-
border-bottom: 1px solid var(--table-divider);
|
|
14
|
-
color: var(--table-text);
|
|
3
|
+
font: var(--tds-headline-07);
|
|
4
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
15
5
|
display: table-cell;
|
|
16
6
|
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);
|
|
17
10
|
padding: 0;
|
|
18
11
|
height: 48px;
|
|
19
12
|
min-width: 192px;
|
|
@@ -34,7 +27,6 @@
|
|
|
34
27
|
}
|
|
35
28
|
|
|
36
29
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button {
|
|
37
|
-
color: var(--table-text);
|
|
38
30
|
display: flex;
|
|
39
31
|
align-items: center;
|
|
40
32
|
gap: 8px;
|
|
@@ -49,43 +41,37 @@
|
|
|
49
41
|
transition: background-color 200ms ease;
|
|
50
42
|
}
|
|
51
43
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus {
|
|
52
|
-
outline:
|
|
53
|
-
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
54
|
-
outline-offset: 1px;
|
|
44
|
+
outline: 2px solid var(--tds-table-header-btn-focus);
|
|
55
45
|
outline-offset: -2px;
|
|
56
46
|
}
|
|
57
47
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus .tds-table__header-button-icon {
|
|
58
48
|
opacity: 1;
|
|
59
49
|
}
|
|
60
50
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-text {
|
|
61
|
-
font
|
|
62
|
-
|
|
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);
|
|
51
|
+
font: var(--tds-headline-07);
|
|
52
|
+
letter-spacing: var(--tds-headline-07-ls);
|
|
68
53
|
text-align: left;
|
|
54
|
+
color: var(--tds-table-header-btn-color);
|
|
69
55
|
}
|
|
70
56
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-icon {
|
|
71
57
|
/* not to shrink on lot of text */
|
|
72
|
-
fill: var(--table-text);
|
|
73
58
|
flex: 0 0 16px;
|
|
74
59
|
height: 16px;
|
|
75
60
|
width: 16px;
|
|
76
61
|
opacity: 0;
|
|
77
62
|
transform-origin: center;
|
|
78
63
|
transition: opacity 200ms ease-in, transform 200ms ease;
|
|
64
|
+
color: var(--tds-table-color);
|
|
79
65
|
}
|
|
80
66
|
:host(.tds-table__header-cell--sortable) .tds-table__header-button:hover .tds-table__header-button-icon {
|
|
81
67
|
opacity: 1;
|
|
82
68
|
}
|
|
83
69
|
|
|
84
70
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button {
|
|
85
|
-
background-color: var(--table-header-
|
|
71
|
+
background-color: var(--tds-table-header-btn-background);
|
|
86
72
|
}
|
|
87
73
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button:hover {
|
|
88
|
-
background-color: var(--table-header-
|
|
74
|
+
background-color: var(--tds-table-header-btn-background-hover);
|
|
89
75
|
}
|
|
90
76
|
:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon {
|
|
91
77
|
opacity: 1;
|
|
@@ -99,7 +85,7 @@
|
|
|
99
85
|
}
|
|
100
86
|
|
|
101
87
|
:host(.tds-table--divider) {
|
|
102
|
-
border-right: 1px solid var(--table-divider);
|
|
88
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
103
89
|
}
|
|
104
90
|
|
|
105
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,23 +18,19 @@
|
|
|
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
|
-
|
|
32
|
-
font
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
36
|
-
text-transform: var(--detail-02-text-transform);
|
|
37
|
-
color: var(--table-text);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
font: var(--tds-detail-02);
|
|
30
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
31
|
+
color: var(--tds-table-color);
|
|
38
32
|
padding-left: var(--tds-spacing-element-16);
|
|
39
33
|
padding-right: var(--tds-spacing-element-16);
|
|
40
|
-
box-sizing: border-box;
|
|
41
34
|
height: 48px;
|
|
42
35
|
border-radius: 0;
|
|
43
36
|
background-color: transparent;
|
|
@@ -46,13 +39,13 @@ 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
|
-
background-color: var(--table-input-header-focus);
|
|
54
|
-
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
55
46
|
outline: none;
|
|
47
|
+
background-color: var(--tds-table-input-header-background-focus);
|
|
48
|
+
border-bottom: 2px solid var(--tds-text-field-bar);
|
|
56
49
|
}
|
|
57
50
|
|
|
58
51
|
: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: 'e92640dc4c88b52574960d7234b377d7e5eaaa8e', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|