@scania/tegel 1.33.0-tegel-cli-beta.5 → 1.34.0-design.tokens.beta.test.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 +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 +18 -13
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +2 -2
- package/dist/collection/components/dropdown/dropdown.css +138 -127
- 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 +141 -170
- package/dist/collection/components/text-field/text-field.js +8 -5
- package/dist/collection/components/textarea/textarea.css +106 -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-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-1cd6b2c6.js → p-eb76089f.js} +7 -6
- package/dist/components/{p-9cee9d7f.js → p-ee402b70.js} +3 -3
- package/dist/components/{p-4b0c6ab5.js → p-f9c933c0.js} +5 -5
- 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 +11 -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/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-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-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-84d8c038.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-614bcd4b.entry.js → p-a077836e.entry.js} +1 -1
- package/dist/tegel/p-a1a335f8.entry.js +1 -0
- 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-f11cb5b2.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 +5834 -0
- package/dist-styles/scania-variables.css +1720 -0
- package/dist-styles/scania.css +7555 -0
- package/dist-styles/traton-variables.css +896 -0
- package/dist-styles/traton.css +6731 -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-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
- package/dist/tegel/p-fe8a4544.entry.js +0 -1
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
/* Typography Usage mixins */
|
|
3
|
+
/* Centralized map of typography types */
|
|
4
|
+
/* Utility mixin */
|
|
5
|
+
:host {
|
|
6
|
+
padding-bottom: 1px;
|
|
7
|
+
}
|
|
2
8
|
:host button {
|
|
3
9
|
all: unset;
|
|
10
|
+
box-shadow: var(--dropdown-border);
|
|
4
11
|
height: 100%;
|
|
5
12
|
width: 100%;
|
|
6
|
-
background-color: var(--
|
|
7
|
-
border-
|
|
8
|
-
|
|
13
|
+
background-color: var(--dropdown-background);
|
|
14
|
+
border-radius: var(--dropdown-border-radius);
|
|
15
|
+
transition: box-shadow var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania);
|
|
9
16
|
}
|
|
10
17
|
:host button:hover {
|
|
11
|
-
|
|
18
|
+
box-shadow: var(--dropdown-border-hover);
|
|
12
19
|
}
|
|
13
20
|
:host button .value-wrapper {
|
|
14
21
|
padding: 0 16px;
|
|
@@ -17,68 +24,69 @@
|
|
|
17
24
|
justify-content: space-between;
|
|
18
25
|
}
|
|
19
26
|
:host button.placeholder {
|
|
20
|
-
color: var(--
|
|
27
|
+
color: var(--dropdown-placeholder);
|
|
21
28
|
line-height: 1.3;
|
|
22
29
|
}
|
|
23
30
|
:host button.value {
|
|
24
|
-
|
|
25
|
-
font: var(--
|
|
26
|
-
|
|
27
|
-
|
|
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(--dropdown-text);
|
|
38
|
+
/** Needed to not get be affected by overflow:hidden
|
|
28
39
|
The original line-height is 1.14 */
|
|
29
40
|
line-height: 1.3;
|
|
30
41
|
}
|
|
31
42
|
:host button:focus {
|
|
32
|
-
|
|
43
|
+
box-shadow: var(--dropdown-border-focus);
|
|
44
|
+
}
|
|
45
|
+
:host button:active {
|
|
46
|
+
box-shadow: var(--dropdown-border-active);
|
|
33
47
|
}
|
|
34
48
|
:host button.error {
|
|
35
|
-
|
|
49
|
+
box-shadow: var(--dropdown-border-error);
|
|
36
50
|
}
|
|
37
|
-
:host button.error:
|
|
38
|
-
border-
|
|
51
|
+
:host button.error:hover {
|
|
52
|
+
box-shadow: var(--dropdown-border-error-hover);
|
|
39
53
|
}
|
|
40
|
-
:host button.error:focus
|
|
41
|
-
|
|
42
|
-
position: absolute;
|
|
43
|
-
bottom: 0;
|
|
44
|
-
left: 0;
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: 1px;
|
|
47
|
-
background: var(--tds-dropdown-error);
|
|
54
|
+
:host button.error:focus {
|
|
55
|
+
box-shadow: var(--dropdown-border-error-focus);
|
|
48
56
|
}
|
|
49
57
|
:host button:disabled {
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
box-shadow: var(--dropdown-border-disabled);
|
|
59
|
+
color: var(--dropdown-disabled);
|
|
52
60
|
}
|
|
53
61
|
:host button .menu-icon {
|
|
54
62
|
margin-right: 0;
|
|
55
63
|
}
|
|
56
64
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
/* Typography Usage mixins */
|
|
66
|
+
/* Centralized map of typography types */
|
|
67
|
+
/* Utility mixin */
|
|
68
|
+
:host {
|
|
69
|
+
padding-bottom: 1px;
|
|
62
70
|
}
|
|
63
71
|
:host .filter {
|
|
72
|
+
box-shadow: var(--dropdown-border);
|
|
64
73
|
display: flex;
|
|
65
74
|
align-items: center;
|
|
66
75
|
justify-content: space-between;
|
|
67
76
|
height: 100%;
|
|
68
|
-
background-color: var(--
|
|
69
|
-
border-bottom: 1px solid var(--tds-dropdown-border-bottom);
|
|
77
|
+
background-color: var(--dropdown-background);
|
|
70
78
|
padding-left: 16px;
|
|
71
|
-
border-radius:
|
|
79
|
+
border-radius: var(--dropdown-border-radius);
|
|
80
|
+
transition: box-shadow var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania);
|
|
72
81
|
}
|
|
73
82
|
:host .filter:hover {
|
|
74
|
-
|
|
83
|
+
box-shadow: var(--dropdown-border-hover);
|
|
75
84
|
}
|
|
76
85
|
:host .filter.disabled {
|
|
77
|
-
|
|
78
|
-
border-bottom: 1px solid transparent;
|
|
86
|
+
box-shadow: var(--dropdown-border-disabled);
|
|
79
87
|
}
|
|
80
88
|
:host .filter.disabled .value-wrapper input {
|
|
81
|
-
color: var(--
|
|
89
|
+
color: var(--dropdown-disabled);
|
|
82
90
|
}
|
|
83
91
|
:host .filter .value-wrapper {
|
|
84
92
|
display: flex;
|
|
@@ -86,15 +94,19 @@
|
|
|
86
94
|
height: 100%;
|
|
87
95
|
}
|
|
88
96
|
:host .filter .value-wrapper input {
|
|
89
|
-
color: var(--
|
|
97
|
+
color: var(--dropdown-text);
|
|
90
98
|
}
|
|
91
99
|
:host .filter .label-inside-as-placeholder {
|
|
100
|
+
font-family: var(--detail-02-font-family);
|
|
101
|
+
font-size: var(--detail-02-font-size);
|
|
102
|
+
line-height: var(--detail-02-line-height);
|
|
103
|
+
font-weight: var(--detail-02-font-weight);
|
|
104
|
+
letter-spacing: var(--detail-02-letter-spacing);
|
|
105
|
+
text-transform: var(--detail-02-text-transform);
|
|
106
|
+
color: var(--dropdown-placeholder);
|
|
92
107
|
position: absolute;
|
|
93
|
-
font: var(--tds-detail-02);
|
|
94
|
-
letter-spacing: var(--tds-detail-02-ls);
|
|
95
108
|
/* Overwrite in order to display ÅÄÖ and similar sign correctly */
|
|
96
109
|
line-height: 1.3;
|
|
97
|
-
color: var(--tds-dropdown-placeholder-color);
|
|
98
110
|
}
|
|
99
111
|
:host .filter .label-inside-as-placeholder.lg {
|
|
100
112
|
top: 20px;
|
|
@@ -106,8 +118,12 @@
|
|
|
106
118
|
display: none;
|
|
107
119
|
}
|
|
108
120
|
:host .filter .label-inside-as-placeholder.selected {
|
|
109
|
-
font: var(--
|
|
110
|
-
|
|
121
|
+
font-family: var(--detail-07-font-family);
|
|
122
|
+
font-size: var(--detail-07-font-size);
|
|
123
|
+
line-height: var(--detail-07-line-height);
|
|
124
|
+
font-weight: var(--detail-07-font-weight);
|
|
125
|
+
letter-spacing: var(--detail-07-letter-spacing);
|
|
126
|
+
text-transform: var(--detail-07-text-transform);
|
|
111
127
|
transition: all 0.2s ease-in-out;
|
|
112
128
|
}
|
|
113
129
|
:host .filter .label-inside-as-placeholder.selected.lg {
|
|
@@ -123,25 +139,13 @@
|
|
|
123
139
|
margin-top: 8px;
|
|
124
140
|
}
|
|
125
141
|
:host .filter.focus {
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
:host .filter.focus:hover {
|
|
129
|
-
border-bottom: 0;
|
|
142
|
+
box-shadow: var(--dropdown-border-focus);
|
|
130
143
|
}
|
|
131
144
|
:host .filter.error {
|
|
132
|
-
|
|
145
|
+
box-shadow: var(--dropdown-border-error);
|
|
133
146
|
}
|
|
134
147
|
:host .filter.error.focus {
|
|
135
|
-
border-
|
|
136
|
-
}
|
|
137
|
-
:host .filter.error.focus::before {
|
|
138
|
-
content: "";
|
|
139
|
-
position: absolute;
|
|
140
|
-
bottom: 0;
|
|
141
|
-
left: 0;
|
|
142
|
-
width: 100%;
|
|
143
|
-
height: 1px;
|
|
144
|
-
background: var(--tds-dropdown-error);
|
|
148
|
+
box-shadow: var(--dropdown-border-error-focus);
|
|
145
149
|
}
|
|
146
150
|
:host .filter input {
|
|
147
151
|
flex: 1;
|
|
@@ -149,30 +153,39 @@
|
|
|
149
153
|
width: 100%;
|
|
150
154
|
}
|
|
151
155
|
:host .filter input::placeholder {
|
|
152
|
-
color: var(--
|
|
156
|
+
color: var(--dropdown-placeholder);
|
|
153
157
|
}
|
|
154
158
|
:host .filter input:disabled::placeholder {
|
|
155
|
-
color: var(--
|
|
159
|
+
color: var(--dropdown-disabled);
|
|
156
160
|
}
|
|
157
161
|
:host .filter tds-icon {
|
|
158
162
|
cursor: pointer;
|
|
159
163
|
}
|
|
164
|
+
:host .filter tds-icon.disabled {
|
|
165
|
+
color: var(--dropdown-disabled);
|
|
166
|
+
}
|
|
160
167
|
:host .filter .menu-icon {
|
|
161
168
|
margin-right: 16px;
|
|
162
169
|
}
|
|
170
|
+
:host .filter .menu-icon.disabled {
|
|
171
|
+
color: var(--dropdown-disabled);
|
|
172
|
+
}
|
|
163
173
|
:host .filter .clear-icon {
|
|
164
174
|
margin: 0 8px;
|
|
165
|
-
color: var(--tds-dropdown-clear-icon-color);
|
|
166
175
|
padding-right: 8px;
|
|
167
|
-
border-right: 1px solid var(--
|
|
176
|
+
border-right: 1px solid var(--dropdown-icon);
|
|
177
|
+
color: var(--dropdown-clear-icon);
|
|
168
178
|
}
|
|
169
179
|
:host .filter .clear-icon:hover {
|
|
170
|
-
color: var(--
|
|
180
|
+
color: var(--dropdown-icon);
|
|
171
181
|
}
|
|
172
182
|
:host .filter .clear-icon.hide {
|
|
173
183
|
display: none;
|
|
174
184
|
visibility: hidden;
|
|
175
185
|
}
|
|
186
|
+
:host .filter .clear-icon.disabled {
|
|
187
|
+
color: var(--dropdown-disabled);
|
|
188
|
+
}
|
|
176
189
|
|
|
177
190
|
:host {
|
|
178
191
|
--tds-scrollbar-width-standard: thin;
|
|
@@ -186,60 +199,50 @@ body {
|
|
|
186
199
|
scrollbar-width: thin;
|
|
187
200
|
}
|
|
188
201
|
|
|
202
|
+
/* Typography Usage mixins */
|
|
203
|
+
/* Centralized map of typography types */
|
|
204
|
+
/* Utility mixin */
|
|
189
205
|
:host {
|
|
206
|
+
font-family: var(--detail-02-font-family);
|
|
207
|
+
font-size: var(--detail-02-font-size);
|
|
208
|
+
line-height: var(--detail-02-line-height);
|
|
209
|
+
font-weight: var(--detail-02-font-weight);
|
|
210
|
+
letter-spacing: var(--detail-02-letter-spacing);
|
|
211
|
+
text-transform: var(--detail-02-text-transform);
|
|
190
212
|
display: block;
|
|
191
213
|
position: relative;
|
|
192
|
-
font: var(--tds-detail-02);
|
|
193
|
-
letter-spacing: var(--tds-detail-02-ls);
|
|
194
214
|
}
|
|
195
215
|
:host .label-outside {
|
|
196
|
-
font: var(--
|
|
197
|
-
|
|
198
|
-
|
|
216
|
+
font-family: var(--detail-05-font-family);
|
|
217
|
+
font-size: var(--detail-05-font-size);
|
|
218
|
+
line-height: var(--detail-05-line-height);
|
|
219
|
+
font-weight: var(--detail-05-font-weight);
|
|
220
|
+
letter-spacing: var(--detail-05-letter-spacing);
|
|
221
|
+
text-transform: var(--detail-05-text-transform);
|
|
222
|
+
color: var(--dropdown-text);
|
|
199
223
|
margin-bottom: 8px;
|
|
200
224
|
}
|
|
201
225
|
:host .label-outside.disabled {
|
|
202
|
-
color: var(--
|
|
226
|
+
color: var(--dropdown-disabled);
|
|
203
227
|
}
|
|
204
228
|
:host .dropdown-select {
|
|
205
229
|
position: relative;
|
|
206
230
|
}
|
|
207
|
-
:host .dropdown-select button:focus {
|
|
208
|
-
outline: 2px solid var(--tds-focus-outline-color);
|
|
209
|
-
box-shadow: 0 0 0 1px var(--tds-white);
|
|
210
|
-
outline-offset: 1px;
|
|
211
|
-
z-index: 1;
|
|
212
|
-
border-radius: 0;
|
|
213
|
-
}
|
|
214
|
-
:host .dropdown-select button {
|
|
215
|
-
transition: border-bottom-color var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania);
|
|
216
|
-
}
|
|
217
|
-
:host .dropdown-select button:hover {
|
|
218
|
-
border-bottom-color: var(--tds-dropdown-border-bottom-hover);
|
|
219
|
-
}
|
|
220
|
-
:host .dropdown-select button {
|
|
221
|
-
border-bottom-color: var(--tds-dropdown-border-bottom);
|
|
222
|
-
}
|
|
223
|
-
:host .dropdown-select button.error {
|
|
224
|
-
border-bottom-color: var(--tds-dropdown-error);
|
|
225
|
-
}
|
|
226
|
-
:host .dropdown-select button.error:focus {
|
|
227
|
-
border-bottom-color: transparent;
|
|
228
|
-
}
|
|
229
231
|
:host .dropdown-select.disabled .label-inside,
|
|
230
232
|
:host .dropdown-select.disabled .placeholder,
|
|
231
233
|
:host .dropdown-select.disabled .label-inside-as-placeholder,
|
|
232
234
|
:host .dropdown-select.disabled .value-wrapper {
|
|
233
|
-
color: var(--
|
|
234
|
-
}
|
|
235
|
-
:host .dropdown-select.disabled button {
|
|
236
|
-
border: none;
|
|
235
|
+
color: var(--dropdown-disabled);
|
|
237
236
|
}
|
|
238
237
|
:host .dropdown-select .label-inside {
|
|
238
|
+
font-family: var(--detail-07-font-family);
|
|
239
|
+
font-size: var(--detail-07-font-size);
|
|
240
|
+
line-height: var(--detail-07-line-height);
|
|
241
|
+
font-weight: var(--detail-07-font-weight);
|
|
242
|
+
letter-spacing: var(--detail-07-letter-spacing);
|
|
243
|
+
text-transform: var(--detail-07-text-transform);
|
|
239
244
|
position: absolute;
|
|
240
|
-
|
|
241
|
-
letter-spacing: var(--tds-detail-07-ls);
|
|
242
|
-
color: var(--tds-dropdown-label-inside-color);
|
|
245
|
+
color: var(--dropdown-text);
|
|
243
246
|
}
|
|
244
247
|
:host .dropdown-select .label-inside.lg {
|
|
245
248
|
top: 12px;
|
|
@@ -249,10 +252,7 @@ body {
|
|
|
249
252
|
top: 8px;
|
|
250
253
|
left: 16px;
|
|
251
254
|
}
|
|
252
|
-
:host .dropdown-select .label-inside.sm {
|
|
253
|
-
display: none;
|
|
254
|
-
}
|
|
255
|
-
:host .dropdown-select .label-inside.xs {
|
|
255
|
+
:host .dropdown-select .label-inside.sm, :host .dropdown-select .label-inside.xs {
|
|
256
256
|
display: none;
|
|
257
257
|
}
|
|
258
258
|
:host .dropdown-select .label-inside + .placeholder:not(.sm) {
|
|
@@ -269,12 +269,16 @@ body {
|
|
|
269
269
|
line-height: 1;
|
|
270
270
|
}
|
|
271
271
|
:host .dropdown-select .label-inside-as-placeholder {
|
|
272
|
-
color: var(--
|
|
272
|
+
color: var(--dropdown-placeholder);
|
|
273
273
|
}
|
|
274
274
|
:host .dropdown-select .label-inside-as-placeholder.selected {
|
|
275
|
+
font-family: var(--detail-07-font-family);
|
|
276
|
+
font-size: var(--detail-07-font-size);
|
|
277
|
+
line-height: var(--detail-07-line-height);
|
|
278
|
+
font-weight: var(--detail-07-font-weight);
|
|
279
|
+
letter-spacing: var(--detail-07-letter-spacing);
|
|
280
|
+
text-transform: var(--detail-07-text-transform);
|
|
275
281
|
position: absolute;
|
|
276
|
-
font: var(--tds-detail-07);
|
|
277
|
-
letter-spacing: var(--tds-detail-07-ls);
|
|
278
282
|
transition: all 0.2s ease-in-out;
|
|
279
283
|
}
|
|
280
284
|
:host .dropdown-select .label-inside-as-placeholder.selected.lg {
|
|
@@ -302,45 +306,50 @@ body {
|
|
|
302
306
|
height: 29px;
|
|
303
307
|
}
|
|
304
308
|
:host .helper {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
+
font-family: var(--detail-05-font-family);
|
|
310
|
+
font-size: var(--detail-05-font-size);
|
|
311
|
+
line-height: var(--detail-05-line-height);
|
|
312
|
+
font-weight: var(--detail-05-font-weight);
|
|
313
|
+
letter-spacing: var(--detail-05-letter-spacing);
|
|
314
|
+
text-transform: var(--detail-05-text-transform);
|
|
315
|
+
padding-top: var(--tds-spacing-element-4);
|
|
316
|
+
color: var(--dropdown-helper-text);
|
|
309
317
|
display: flex;
|
|
310
318
|
align-items: center;
|
|
311
319
|
gap: 8px;
|
|
312
320
|
}
|
|
313
321
|
:host .helper.error {
|
|
314
|
-
color: var(--
|
|
322
|
+
color: var(--dropdown-error);
|
|
315
323
|
}
|
|
316
324
|
:host .helper.disabled {
|
|
317
|
-
color: var(--
|
|
325
|
+
color: var(--dropdown-disabled);
|
|
318
326
|
}
|
|
319
327
|
:host .dropdown-list {
|
|
320
328
|
z-index: 100;
|
|
321
329
|
position: absolute;
|
|
330
|
+
margin-top: 2px;
|
|
322
331
|
width: 100%;
|
|
323
332
|
transform-origin: top;
|
|
324
|
-
box-shadow:
|
|
325
|
-
border-radius: var(--
|
|
333
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 3px 0;
|
|
334
|
+
border-radius: var(--dropdown-list-border-radius-down);
|
|
326
335
|
overflow-y: auto;
|
|
327
336
|
transform: scaleY(0);
|
|
328
337
|
pointer-events: none;
|
|
329
338
|
}
|
|
330
339
|
:host .dropdown-list:hover::-webkit-scrollbar-thumb {
|
|
331
340
|
border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
|
|
332
|
-
background: var(--
|
|
341
|
+
background: var(--color-foreground-icon-discrete);
|
|
333
342
|
background-clip: padding-box;
|
|
334
343
|
}
|
|
335
344
|
:host .dropdown-list::-webkit-scrollbar {
|
|
336
345
|
width: var(--tds-scrollbar-width);
|
|
337
346
|
}
|
|
338
347
|
:host .dropdown-list::-webkit-scrollbar-track {
|
|
339
|
-
background: var(--
|
|
348
|
+
background: var(--color-background-layer-01);
|
|
340
349
|
}
|
|
341
350
|
:host .dropdown-list::-webkit-scrollbar-thumb {
|
|
342
351
|
border-radius: 40px;
|
|
343
|
-
background: var(--
|
|
352
|
+
background: var(--color-foreground-icon-discrete);
|
|
344
353
|
border: var(--tds-scrollbar-thumb-border-width) solid transparent;
|
|
345
354
|
background-clip: padding-box;
|
|
346
355
|
}
|
|
@@ -360,10 +369,7 @@ body {
|
|
|
360
369
|
:host .dropdown-list.md {
|
|
361
370
|
max-height: 312px;
|
|
362
371
|
}
|
|
363
|
-
:host .dropdown-list.sm {
|
|
364
|
-
max-height: 260px;
|
|
365
|
-
}
|
|
366
|
-
:host .dropdown-list.xs {
|
|
372
|
+
:host .dropdown-list.sm, :host .dropdown-list.xs {
|
|
367
373
|
max-height: 260px;
|
|
368
374
|
}
|
|
369
375
|
:host .dropdown-list.up {
|
|
@@ -373,7 +379,8 @@ body {
|
|
|
373
379
|
transform-origin: bottom;
|
|
374
380
|
display: flex;
|
|
375
381
|
flex-direction: column-reverse;
|
|
376
|
-
|
|
382
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 3px 0;
|
|
383
|
+
border-radius: var(--dropdown-list-border-radius-up);
|
|
377
384
|
}
|
|
378
385
|
:host .dropdown-list.up.label-outside {
|
|
379
386
|
bottom: calc(100% - 24px);
|
|
@@ -395,12 +402,16 @@ body {
|
|
|
395
402
|
transition: transform var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit);
|
|
396
403
|
}
|
|
397
404
|
:host .dropdown-list .no-result {
|
|
398
|
-
font: var(--
|
|
399
|
-
|
|
405
|
+
font-family: var(--detail-02-font-family);
|
|
406
|
+
font-size: var(--detail-02-font-size);
|
|
407
|
+
line-height: var(--detail-02-line-height);
|
|
408
|
+
font-weight: var(--detail-02-font-weight);
|
|
409
|
+
letter-spacing: var(--detail-02-letter-spacing);
|
|
410
|
+
text-transform: var(--detail-02-text-transform);
|
|
400
411
|
display: flex;
|
|
401
412
|
align-items: center;
|
|
402
413
|
padding: 0 16px;
|
|
403
|
-
background-color: var(--
|
|
414
|
+
background-color: var(--dropdown-background);
|
|
404
415
|
}
|
|
405
416
|
:host .dropdown-list .no-result.lg {
|
|
406
417
|
height: 56px;
|
|
@@ -408,14 +419,14 @@ body {
|
|
|
408
419
|
:host .dropdown-list .no-result.md {
|
|
409
420
|
height: 48px;
|
|
410
421
|
}
|
|
411
|
-
:host .dropdown-list .no-result.sm {
|
|
412
|
-
height: 40px;
|
|
413
|
-
}
|
|
414
|
-
:host .dropdown-list .no-result.xs {
|
|
422
|
+
:host .dropdown-list .no-result.sm, :host .dropdown-list .no-result.xs {
|
|
415
423
|
height: 40px;
|
|
416
424
|
}
|
|
417
425
|
:host .menu-icon {
|
|
418
|
-
color: var(--
|
|
426
|
+
color: var(--dropdown-icon);
|
|
427
|
+
}
|
|
428
|
+
:host .menu-icon.disabled {
|
|
429
|
+
color: var(--dropdown-disabled);
|
|
419
430
|
}
|
|
420
431
|
:host tds-icon {
|
|
421
432
|
transition: transform var(--tds-motion-duration-fast-02) var(--tds-motion-easing-scania);
|
|
@@ -497,11 +497,12 @@ export class TdsDropdown {
|
|
|
497
497
|
}, class: {
|
|
498
498
|
'clear-icon': true,
|
|
499
499
|
'hide': !(this.open && this.inputElement.value !== ''),
|
|
500
|
+
'disabled': this.disabled
|
|
500
501
|
}, name: "cross", size: "16px" }), h("tds-icon", { tdsAriaHidden: true, role: "button", "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", onClick: this.handleToggleOpen, onKeyDown: (event) => {
|
|
501
502
|
if (event.key === 'Enter') {
|
|
502
503
|
this.handleToggleOpen();
|
|
503
504
|
}
|
|
504
|
-
}, class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { "aria-label": this.tdsAriaLabel, "aria-labelledby": labelId, "aria-describedby": helperId, "aria-disabled": this.disabled, onClick: () => this.handleToggleOpen(), onKeyDown: (event) => {
|
|
505
|
+
}, class: `menu-icon ${this.open ? 'open' : 'closed'} ${this.disabled ? 'disabled' : ''}`, name: "chevron_down", size: "16px" }))) : (h("button", { "aria-label": this.tdsAriaLabel, "aria-labelledby": labelId, "aria-describedby": helperId, "aria-disabled": this.disabled, onClick: () => this.handleToggleOpen(), onKeyDown: (event) => {
|
|
505
506
|
if (event.key === 'Escape') {
|
|
506
507
|
this.open = false;
|
|
507
508
|
}
|
|
@@ -513,7 +514,7 @@ export class TdsDropdown {
|
|
|
513
514
|
label-inside-as-placeholder
|
|
514
515
|
${this.size}
|
|
515
516
|
${this.selectedOptions.length ? 'selected' : ''}
|
|
516
|
-
` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '
|
|
517
|
+
` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'} ${this.disabled ? 'disabled' : ''}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'dfd39c165ccaef43bb3b1f3e5fd2793d771b773a', role: "listbox", "aria-label": this.tdsAriaLabel, inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
|
|
517
518
|
this.dropdownList = element;
|
|
518
519
|
}, class: {
|
|
519
520
|
'dropdown-list': true,
|
|
@@ -524,11 +525,11 @@ export class TdsDropdown {
|
|
|
524
525
|
'closed': !this.open,
|
|
525
526
|
[`animation-enter-${this.animation}`]: this.animation !== 'none' && this.open,
|
|
526
527
|
[`animation-exit-${this.animation}`]: this.animation !== 'none' && !this.open,
|
|
527
|
-
} }, h("slot", { key: '
|
|
528
|
+
} }, h("slot", { key: '2f4b44fbea4d047dda71d057d89303fcb6f5e9da', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '157d60c6f3c99c8cf4467ad060e570ce09311d60', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'c8d18fbec1bf442178bd5b37e75b58cb2bfe4ec6', id: helperId, class: {
|
|
528
529
|
helper: true,
|
|
529
530
|
error: this.error,
|
|
530
531
|
disabled: this.disabled,
|
|
531
|
-
} }, this.error && h("tds-icon", { key: '
|
|
532
|
+
} }, this.error && h("tds-icon", { key: 'c13ddefa45a3e5a80cac6298d13953ca24b4f397', name: "error", size: "16px" }), this.helper))));
|
|
532
533
|
}
|
|
533
534
|
static get is() { return "tds-dropdown"; }
|
|
534
535
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host {
|
|
2
5
|
display: block;
|
|
3
6
|
}
|
|
4
7
|
:host .footer-top-title {
|
|
5
|
-
font: var(--
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
font-family: var(--headline-07-font-family);
|
|
9
|
+
font-size: var(--headline-07-font-size);
|
|
10
|
+
line-height: var(--headline-07-line-height);
|
|
11
|
+
font-weight: var(--headline-07-font-weight);
|
|
12
|
+
letter-spacing: var(--headline-07-letter-spacing);
|
|
13
|
+
text-transform: var(--headline-07-text-transform);
|
|
14
|
+
color: var(--footer-top-links-desktop);
|
|
8
15
|
padding-bottom: 8px;
|
|
9
16
|
}
|
|
10
17
|
:host .footer-top-title *,
|
|
@@ -12,16 +19,20 @@
|
|
|
12
19
|
margin: 0;
|
|
13
20
|
}
|
|
14
21
|
:host button.footer-top-title-button {
|
|
22
|
+
font-family: var(--headline-07-font-family);
|
|
23
|
+
font-size: var(--headline-07-font-size);
|
|
24
|
+
line-height: var(--headline-07-line-height);
|
|
25
|
+
font-weight: var(--headline-07-font-weight);
|
|
26
|
+
letter-spacing: var(--headline-07-letter-spacing);
|
|
27
|
+
text-transform: var(--headline-07-text-transform);
|
|
15
28
|
border: none;
|
|
16
29
|
width: 100%;
|
|
17
|
-
|
|
18
|
-
letter-spacing: var(--tds-headline-07-ls);
|
|
19
|
-
color: var(--tds-footer-top-links);
|
|
30
|
+
color: var(--footer-top-links);
|
|
20
31
|
background-color: transparent;
|
|
21
32
|
text-align: left;
|
|
22
33
|
padding: 19px 24px;
|
|
23
34
|
justify-content: space-between;
|
|
24
|
-
border-bottom: 1px solid var(--
|
|
35
|
+
border-bottom: 1px solid var(--footer-top-divider);
|
|
25
36
|
}
|
|
26
37
|
:host button.footer-top-title-button *,
|
|
27
38
|
:host button.footer-top-title-button ::slotted(*) {
|
|
@@ -37,13 +48,12 @@
|
|
|
37
48
|
cursor: pointer;
|
|
38
49
|
}
|
|
39
50
|
:host button.footer-top-title-button:active {
|
|
40
|
-
background-color: var(--
|
|
51
|
+
background-color: var(--footer-top-button-active);
|
|
41
52
|
}
|
|
42
53
|
:host button.footer-top-title-button:focus-visible {
|
|
43
|
-
outline:
|
|
44
|
-
box-shadow: 0 0 0 1px var(--
|
|
54
|
+
outline: var(--dimension-radius-focus-width) solid var(--color-foreground-border-accent-focus);
|
|
55
|
+
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
45
56
|
outline-offset: 1px;
|
|
46
|
-
z-index: 1;
|
|
47
57
|
}
|
|
48
58
|
:host button.footer-top-title-button tds-icon {
|
|
49
59
|
transition: transform 0.2s ease-in-out;
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
+
/* Typography Usage mixins */
|
|
2
|
+
/* Centralized map of typography types */
|
|
3
|
+
/* Utility mixin */
|
|
1
4
|
:host([role=listitem]) div ::slotted(a),
|
|
2
5
|
:host([role=listitem]) div ::slotted(button) {
|
|
3
|
-
font: var(--
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
color: var(--footer-main-links);
|
|
6
13
|
text-decoration: none;
|
|
7
14
|
}
|
|
8
15
|
:host([role=listitem]) div ::slotted(a:focus-visible),
|
|
9
16
|
:host([role=listitem]) div ::slotted(button:focus-visible) {
|
|
10
|
-
outline:
|
|
11
|
-
box-shadow: 0 0 0 1px var(--
|
|
17
|
+
outline: var(--dimension-radius-focus-width) solid var(--color-foreground-border-accent-focus);
|
|
18
|
+
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
12
19
|
outline-offset: 1px;
|
|
13
|
-
z-index: 1;
|
|
14
20
|
}
|
|
15
21
|
:host([role=listitem]) div ::slotted(a:hover),
|
|
16
22
|
:host([role=listitem]) div ::slotted(button:hover) {
|
|
@@ -18,21 +24,24 @@
|
|
|
18
24
|
}
|
|
19
25
|
:host([role=listitem]) div.top-part-child ::slotted(a),
|
|
20
26
|
:host([role=listitem]) div.top-part-child ::slotted(button) {
|
|
21
|
-
font: var(--
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
font-family: var(--headline-07-font-family);
|
|
28
|
+
font-size: var(--headline-07-font-size);
|
|
29
|
+
line-height: var(--headline-07-line-height);
|
|
30
|
+
font-weight: var(--headline-07-font-weight);
|
|
31
|
+
letter-spacing: var(--headline-07-letter-spacing);
|
|
32
|
+
text-transform: var(--headline-07-text-transform);
|
|
33
|
+
color: var(--footer-top-links);
|
|
24
34
|
}
|
|
25
35
|
:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),
|
|
26
36
|
:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible) {
|
|
27
|
-
outline:
|
|
28
|
-
box-shadow: 0 0 0 1px var(--
|
|
37
|
+
outline: var(--dimension-radius-focus-width) solid var(--color-foreground-border-accent-focus);
|
|
38
|
+
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
29
39
|
outline-offset: 1px;
|
|
30
|
-
z-index: 1;
|
|
31
40
|
}
|
|
32
41
|
|
|
33
42
|
@media all and (max-width: 992px) {
|
|
34
43
|
:host([role=listitem]) div.top-part-child {
|
|
35
|
-
border-bottom: 1px solid var(--
|
|
44
|
+
border-bottom: 1px solid var(--footer-top-divider);
|
|
36
45
|
}
|
|
37
46
|
:host([role=listitem]) div.top-part-child ::slotted(a),
|
|
38
47
|
:host([role=listitem]) div.top-part-child ::slotted(button) {
|
|
@@ -44,13 +53,12 @@
|
|
|
44
53
|
:host([role=listitem]) div.top-part-child ::slotted(a:hover),
|
|
45
54
|
:host([role=listitem]) div.top-part-child ::slotted(button:hover) {
|
|
46
55
|
text-decoration: underline;
|
|
47
|
-
background-color: var(--
|
|
56
|
+
background-color: var(--footer-top-links-background-hover);
|
|
48
57
|
}
|
|
49
58
|
:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),
|
|
50
59
|
:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible) {
|
|
51
|
-
outline:
|
|
52
|
-
box-shadow: 0 0 0 1px var(--
|
|
60
|
+
outline: var(--dimension-radius-focus-width) solid var(--color-foreground-border-accent-focus);
|
|
61
|
+
box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
|
|
53
62
|
outline-offset: 1px;
|
|
54
|
-
z-index: 1;
|
|
55
63
|
}
|
|
56
64
|
}
|