@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
|
@@ -27,8 +27,6 @@ export class TdsSlider {
|
|
|
27
27
|
this.value = '0';
|
|
28
28
|
this.min = '0';
|
|
29
29
|
this.max = '100';
|
|
30
|
-
this.state = 'default';
|
|
31
|
-
this.modeVariant = null;
|
|
32
30
|
this.ticks = '0';
|
|
33
31
|
this.showTickNumbers = false;
|
|
34
32
|
this.tooltip = false;
|
|
@@ -403,34 +401,30 @@ export class TdsSlider {
|
|
|
403
401
|
}
|
|
404
402
|
render() {
|
|
405
403
|
const ariaLabel = this.readOnly ? this.tdsReadOnlyAriaLabel : this.label || this.tdsAriaLabel;
|
|
406
|
-
return (h("div", { key: '
|
|
404
|
+
return (h("div", { key: 'b4dd7706df0be052f0028a5f8ba6b6158f403b13', class: {
|
|
407
405
|
'tds-slider-wrapper': true,
|
|
408
406
|
'read-only': this.readOnly,
|
|
409
|
-
|
|
410
|
-
'slider-success': this.state === 'success',
|
|
411
|
-
'slider-primary': this.modeVariant === 'primary',
|
|
412
|
-
'slider-secondary': this.modeVariant === 'secondary',
|
|
413
|
-
} }, h("input", { key: 'bbb03b06fb9ee3c9d15f7888907eeb1df2e1812c', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled }), h("div", { key: '5d3f484389748702214078aa29c425959cefc699', class: "sr-only", "aria-live": "assertive", ref: (el) => {
|
|
407
|
+
} }, h("input", { key: '672c2aaa6dfee6489cd5e764ef151728c2af10fc', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled }), h("div", { key: '8c7200436a9ef6524a3b2d554a2556bda8cc6afd', class: "sr-only", "aria-live": "assertive", ref: (el) => {
|
|
414
408
|
this.ariaLiveElement = el;
|
|
415
|
-
} }), h("div", { key: '
|
|
409
|
+
} }), h("div", { key: '1ce8e7ddccd19ca15733683768900c8fcde514d3', class: {
|
|
416
410
|
'tds-slider': true,
|
|
417
411
|
'disabled': this.disabled,
|
|
418
412
|
'tds-slider-small': this.useSmall,
|
|
419
413
|
}, ref: (el) => {
|
|
420
414
|
this.wrapperElement = el;
|
|
421
|
-
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: '
|
|
415
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: '54616f1cb5e4c13541f6f5fa700ddf4b1c4a9493', id: `${this.sliderId}-label`, class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'f6b8283409e9fb74ebf5fe89af5d88c29fde904d', class: "tds-slider__input-values" }, h("div", { key: '30532947c70dc8e0612fea3c01c25a5e86dacfca', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '6c001b8caba4a396bb9f4f4f3ba7b9ee6ca36f84', class: "tds-slider__controls" }, h("div", { key: '7a5804b789f84a4cd749c21d0ecc4b73bf7bae09', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event), role: "button", "aria-label": "Decrease value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: '41db4dc1a8fda4972303fd48400078035648ca5c', name: "minus", size: "16px" })))), h("div", { key: 'f3cb2039ec4245b1d5c58bb819675381c4490197', class: "tds-slider-inner", tabIndex: -1 }, this.tickValues.length > 0 && (h("div", { key: '38bf8ca015894f3a42a0e9e33800cc7f0ff9c8d5', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '6a5aaa5d652d55f23db24b1b531664d125fc2a23', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '0c99475a8bdb1fdec04358421ec34630111a63b8', class: "tds-slider__track", ref: (el) => {
|
|
422
416
|
this.trackElement = el;
|
|
423
417
|
}, tabindex: this.disabled ? '-1' : '0', role: "presentation", onFocus: () => {
|
|
424
418
|
if (this.thumbElement) {
|
|
425
419
|
this.thumbElement.focus();
|
|
426
420
|
}
|
|
427
|
-
} }, h("div", { key: '
|
|
421
|
+
} }, h("div", { key: 'd3ece50db5fbc17e4ebbf4272faa17fcf201dccf', class: "tds-slider__track-fill", ref: (el) => {
|
|
428
422
|
this.trackFillElement = el;
|
|
429
|
-
} }), h("div", { key: '
|
|
423
|
+
} }), h("div", { key: 'c304176e6a240820418d80aa8bfad35fbbdaf0f4', class: "tds-slider__thumb", ref: (el) => {
|
|
430
424
|
this.thumbElement = el;
|
|
431
|
-
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (h("div", { key: '
|
|
425
|
+
}, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (h("div", { key: '7c46c4f8b3cc3bf3aeae7c841a2f38e7b3d1dfbb', class: "tds-slider__value" }, this.value, h("svg", { key: '871a05a8fc1560c8e94071172c57563d63e10f22', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '0c99295a2049b3aac5d0472880e63acc4318fa07', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: 'bf42f5b512d3041a88bd8cc420a5a4aaeb875e49', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
432
426
|
this.thumbInnerElement = el;
|
|
433
|
-
} })))), this.useInput && (h("div", { key: '
|
|
427
|
+
} })))), this.useInput && (h("div", { key: '9a1ed941f13b84e738500921b12aeb21ace2464c', class: "tds-slider__input-values" }, h("div", { key: '2bdf5b0fb2687075b2fc12ce931859d2f26a0685', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '480825ddccd550527ac18f046c6a8ce26baaba87', class: "tds-slider__input-field-wrapper" }, h("input", { key: '94a1446990ea0ae3955e8db9f0119e4a0ec71970', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, "aria-label": this.readOnly ? this.tdsReadOnlyAriaLabel : undefined, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max, step: this.step })))), this.useControls && (h("div", { key: 'b7415e621df023ffe0eca844d9970454d01c72ce', class: "tds-slider__controls" }, h("div", { key: '044a984a7212d56f8c1bcb5709608d90677d7647', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event), role: "button", "aria-label": "Increase value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: '0b6410f7fb4af32681c3f49f29c9696e871bfd5a', name: "plus", size: "16px" })))))));
|
|
434
428
|
}
|
|
435
429
|
static get is() { return "tds-slider"; }
|
|
436
430
|
static get originalStyleUrls() {
|
|
@@ -517,42 +511,6 @@ export class TdsSlider {
|
|
|
517
511
|
"reflect": false,
|
|
518
512
|
"defaultValue": "'100'"
|
|
519
513
|
},
|
|
520
|
-
"state": {
|
|
521
|
-
"type": "string",
|
|
522
|
-
"mutable": false,
|
|
523
|
-
"complexType": {
|
|
524
|
-
"original": "'default' | 'success'",
|
|
525
|
-
"resolved": "\"default\" | \"success\"",
|
|
526
|
-
"references": {}
|
|
527
|
-
},
|
|
528
|
-
"required": false,
|
|
529
|
-
"optional": false,
|
|
530
|
-
"docs": {
|
|
531
|
-
"tags": [],
|
|
532
|
-
"text": "State of input"
|
|
533
|
-
},
|
|
534
|
-
"attribute": "state",
|
|
535
|
-
"reflect": false,
|
|
536
|
-
"defaultValue": "'default'"
|
|
537
|
-
},
|
|
538
|
-
"modeVariant": {
|
|
539
|
-
"type": "string",
|
|
540
|
-
"mutable": false,
|
|
541
|
-
"complexType": {
|
|
542
|
-
"original": "'primary' | 'secondary'",
|
|
543
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
544
|
-
"references": {}
|
|
545
|
-
},
|
|
546
|
-
"required": false,
|
|
547
|
-
"optional": false,
|
|
548
|
-
"docs": {
|
|
549
|
-
"tags": [],
|
|
550
|
-
"text": "Mode variant of the Slider"
|
|
551
|
-
},
|
|
552
|
-
"attribute": "mode-variant",
|
|
553
|
-
"reflect": false,
|
|
554
|
-
"defaultValue": "null"
|
|
555
|
-
},
|
|
556
514
|
"ticks": {
|
|
557
515
|
"type": "string",
|
|
558
516
|
"mutable": false,
|
|
@@ -1,3 +1,44 @@
|
|
|
1
|
+
/* Component variables aka overrides */
|
|
2
|
+
:root {
|
|
3
|
+
--spinner-background-inverted: var(--tds-white);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:root,
|
|
7
|
+
.scania,
|
|
8
|
+
.scania .tds-mode-light {
|
|
9
|
+
--spinner-background: var(--tds-blue-400);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.scania .tds-mode-dark {
|
|
13
|
+
--spinner-background: var(--tds-blue-400);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.traton,
|
|
17
|
+
.traton .tds-mode-light {
|
|
18
|
+
--spinner-background: rgba(0, 72, 82, 1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.traton .tds-mode-dark {
|
|
22
|
+
--spinner-background: rgba(194, 191, 182, 1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Component variables */
|
|
26
|
+
:root {
|
|
27
|
+
--spinner-speed: 1.8s;
|
|
28
|
+
--spinner-speed-lg: 2s;
|
|
29
|
+
--spinner-radius-xs: 8px;
|
|
30
|
+
--spinner-radius-sm: 12px;
|
|
31
|
+
--spinner-radius-md: 26px;
|
|
32
|
+
--spinner-radius-lg: 42px;
|
|
33
|
+
--spinner-radius: var(--spinner-radius-lg);
|
|
34
|
+
--spinner-stroke-width-xs: 3px;
|
|
35
|
+
--spinner-stroke-width-sm: 4px;
|
|
36
|
+
--spinner-stroke-width-md: 6px;
|
|
37
|
+
--spinner-stroke-width-lg: 8px;
|
|
38
|
+
--spinner-stroke-width: var(--spinner-stroke-width-lg);
|
|
39
|
+
--PI: 3.14159265358979;
|
|
40
|
+
}
|
|
41
|
+
|
|
1
42
|
:host {
|
|
2
43
|
box-sizing: border-box;
|
|
3
44
|
display: block;
|
|
@@ -6,52 +47,42 @@
|
|
|
6
47
|
box-sizing: border-box;
|
|
7
48
|
}
|
|
8
49
|
|
|
9
|
-
/* Size configuration */
|
|
10
|
-
/* Animation mixin */
|
|
11
50
|
.tds-spinner-svg {
|
|
12
|
-
--radius: var(--radius-lg);
|
|
13
|
-
--stroke-width: var(--stroke-width-lg);
|
|
14
|
-
--animation-speed: var(--speed-lg);
|
|
15
|
-
--PI: 3.14159265358979;
|
|
16
51
|
display: block;
|
|
17
|
-
width: calc(var(--radius) * 2);
|
|
18
|
-
height: calc(var(--radius) * 2);
|
|
52
|
+
width: calc(var(--spinner-radius) * 2);
|
|
53
|
+
height: calc(var(--spinner-radius) * 2);
|
|
19
54
|
transform: scale(-1, 1) rotate(-90deg);
|
|
20
|
-
/* Generate size variants */
|
|
21
55
|
}
|
|
22
56
|
.tds-spinner-svg-xs {
|
|
23
|
-
--radius:
|
|
24
|
-
--stroke-width:
|
|
25
|
-
--animation-speed:
|
|
57
|
+
--spinner-radius: var(--spinner-radius-xs);
|
|
58
|
+
--spinner-stroke-width: var(--spinner-stroke-width-xs);
|
|
59
|
+
--spinner-animation-speed: var(--spinner-speed);
|
|
26
60
|
}
|
|
27
61
|
.tds-spinner-svg-sm {
|
|
28
|
-
--radius:
|
|
29
|
-
--stroke-width:
|
|
30
|
-
--animation-speed:
|
|
62
|
+
--spinner-radius: var(--spinner-radius-sm);
|
|
63
|
+
--spinner-stroke-width: var(--spinner-stroke-width-sm);
|
|
64
|
+
--spinner-animation-speed: var(--spinner-speed);
|
|
31
65
|
}
|
|
32
66
|
.tds-spinner-svg-md {
|
|
33
|
-
--radius:
|
|
34
|
-
--stroke-width:
|
|
35
|
-
--animation-speed:
|
|
67
|
+
--spinner-radius: var(--spinner-radius-md);
|
|
68
|
+
--spinner-stroke-width: var(--spinner-stroke-width-md);
|
|
69
|
+
--spinner-animation-speed: var(--spinner-speed);
|
|
36
70
|
}
|
|
37
71
|
.tds-spinner-svg-lg {
|
|
38
|
-
--radius:
|
|
39
|
-
--stroke-width:
|
|
40
|
-
--animation-speed:
|
|
72
|
+
--spinner-radius: var(--spinner-radius-lg);
|
|
73
|
+
--spinner-stroke-width: var(--spinner-stroke-width-lg);
|
|
74
|
+
--spinner-animation-speed: var(--spinner-speed-lg);
|
|
41
75
|
}
|
|
42
76
|
|
|
43
77
|
.tds-spinner-circle {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
cy: var(--radius);
|
|
48
|
-
r: calc(var(--radius) - var(--stroke-width) / 2);
|
|
78
|
+
cx: var(--spinner-radius);
|
|
79
|
+
cy: var(--spinner-radius);
|
|
80
|
+
r: calc(var(--spinner-radius) - var(--spinner-stroke-width) / 2);
|
|
49
81
|
fill: none;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
stroke-
|
|
53
|
-
|
|
54
|
-
/* Color variants */
|
|
82
|
+
--spinner-stroke-dash: calc((2 * var(--PI)) * var(--spinner-radius));
|
|
83
|
+
stroke-dasharray: var(--spinner-stroke-dash);
|
|
84
|
+
stroke-width: var(--spinner-stroke-width);
|
|
85
|
+
animation: dash var(--spinner-animation-speed) cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
|
|
55
86
|
}
|
|
56
87
|
.tds-spinner-circle-standard {
|
|
57
88
|
stroke: var(--spinner-background);
|
|
@@ -62,9 +93,9 @@
|
|
|
62
93
|
|
|
63
94
|
@keyframes dash {
|
|
64
95
|
from {
|
|
65
|
-
stroke-dashoffset: calc(-1 * var(--stroke-dash));
|
|
96
|
+
stroke-dashoffset: calc(-1 * var(--spinner-stroke-dash));
|
|
66
97
|
}
|
|
67
98
|
to {
|
|
68
|
-
stroke-dashoffset: var(--stroke-dash);
|
|
99
|
+
stroke-dashoffset: var(--spinner-stroke-dash);
|
|
69
100
|
}
|
|
70
101
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export class TdsSpinner {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.size = 'lg';
|
|
5
5
|
this.variant = 'standard';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(
|
|
8
|
+
return (h("div", { key: 'de6aa9263fc0e7189002156e7e0f24b58a615149', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: '40d43902392034b39f7497369ade14caf6259385', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: 'ef94a92d9b0fe8cbf468a6dbce51ab19de071e43', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-spinner"; }
|
|
11
|
-
static get encapsulation() { return "shadow"; }
|
|
12
11
|
static get originalStyleUrls() {
|
|
13
12
|
return {
|
|
14
13
|
"$": ["spinner.scss"]
|
|
@@ -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
|
display: table-cell;
|
|
@@ -17,21 +14,23 @@
|
|
|
17
14
|
}
|
|
18
15
|
:host [role=listitem].lg {
|
|
19
16
|
padding: 0 20px;
|
|
20
|
-
font
|
|
21
|
-
|
|
22
|
-
line-height: var(--detail-01-line-height);
|
|
23
|
-
font-weight: var(--detail-01-font-weight);
|
|
24
|
-
letter-spacing: var(--detail-01-letter-spacing);
|
|
25
|
-
text-transform: var(--detail-01-text-transform);
|
|
17
|
+
font: var(--tds-detail-01);
|
|
18
|
+
letter-spacing: var(--tds-detail-01-ls);
|
|
26
19
|
}
|
|
27
20
|
:host [role=listitem].lg .content-container {
|
|
28
21
|
height: 30px;
|
|
29
22
|
min-width: 30px;
|
|
30
23
|
}
|
|
24
|
+
:host [role=listitem].lg .content-container tds-icon {
|
|
25
|
+
vertical-align: bottom;
|
|
26
|
+
}
|
|
27
|
+
:host [role=listitem].lg .content-container .index-container {
|
|
28
|
+
vertical-align: sub;
|
|
29
|
+
}
|
|
31
30
|
:host [role=listitem].lg.vertical::after {
|
|
32
31
|
content: " ";
|
|
33
32
|
position: absolute;
|
|
34
|
-
background-color: var(--stepper-divider-line);
|
|
33
|
+
background-color: var(--tds-stepper-divider-line);
|
|
35
34
|
height: 36px;
|
|
36
35
|
width: 1px;
|
|
37
36
|
top: 40px;
|
|
@@ -40,25 +39,25 @@
|
|
|
40
39
|
:host [role=listitem].lg.horizontal::after {
|
|
41
40
|
content: " ";
|
|
42
41
|
position: absolute;
|
|
43
|
-
background-color: var(--stepper-divider-line);
|
|
42
|
+
background-color: var(--tds-stepper-divider-line);
|
|
44
43
|
height: 1px;
|
|
45
44
|
left: calc(50% + 24px);
|
|
46
45
|
right: 0;
|
|
47
|
-
top:
|
|
46
|
+
top: 18px;
|
|
48
47
|
}
|
|
49
48
|
:host [role=listitem].lg.horizontal::before {
|
|
50
49
|
content: " ";
|
|
51
50
|
position: absolute;
|
|
52
|
-
background-color: var(--stepper-divider-line);
|
|
51
|
+
background-color: var(--tds-stepper-divider-line);
|
|
53
52
|
height: 1px;
|
|
54
53
|
right: calc(50% + 24px);
|
|
55
54
|
left: 0;
|
|
56
|
-
top:
|
|
55
|
+
top: 18px;
|
|
57
56
|
}
|
|
58
57
|
:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::after {
|
|
59
58
|
content: " ";
|
|
60
59
|
position: absolute;
|
|
61
|
-
background-color: var(--stepper-divider-line);
|
|
60
|
+
background-color: var(--tds-stepper-divider-line);
|
|
62
61
|
height: 1px;
|
|
63
62
|
top: 16px;
|
|
64
63
|
width: 10px;
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::before {
|
|
69
68
|
content: " ";
|
|
70
69
|
position: absolute;
|
|
71
|
-
background-color: var(--stepper-divider-line);
|
|
70
|
+
background-color: var(--tds-stepper-divider-line);
|
|
72
71
|
height: 1px;
|
|
73
72
|
top: 16px;
|
|
74
73
|
width: 10px;
|
|
@@ -77,12 +76,8 @@
|
|
|
77
76
|
}
|
|
78
77
|
:host [role=listitem].sm {
|
|
79
78
|
padding: 0 20px;
|
|
80
|
-
font
|
|
81
|
-
|
|
82
|
-
line-height: var(--detail-05-line-height);
|
|
83
|
-
font-weight: var(--detail-05-font-weight);
|
|
84
|
-
letter-spacing: var(--detail-05-letter-spacing);
|
|
85
|
-
text-transform: var(--detail-05-text-transform);
|
|
79
|
+
font: var(--tds-detail-05);
|
|
80
|
+
letter-spacing: var(--tds-detail-05-ls);
|
|
86
81
|
}
|
|
87
82
|
:host [role=listitem].sm .index-container {
|
|
88
83
|
vertical-align: -webkit-baseline-middle;
|
|
@@ -100,7 +95,7 @@
|
|
|
100
95
|
:host [role=listitem].sm.vertical::after {
|
|
101
96
|
content: " ";
|
|
102
97
|
position: absolute;
|
|
103
|
-
background-color: var(--stepper-divider-line);
|
|
98
|
+
background-color: var(--tds-stepper-divider-line);
|
|
104
99
|
height: 20px;
|
|
105
100
|
width: 1px;
|
|
106
101
|
top: 34px;
|
|
@@ -109,7 +104,7 @@
|
|
|
109
104
|
:host [role=listitem].sm.vertical::before {
|
|
110
105
|
content: " ";
|
|
111
106
|
position: absolute;
|
|
112
|
-
background-color: var(--stepper-divider-line);
|
|
107
|
+
background-color: var(--tds-stepper-divider-line);
|
|
113
108
|
height: 20px;
|
|
114
109
|
width: 1px;
|
|
115
110
|
top: 34px;
|
|
@@ -118,7 +113,7 @@
|
|
|
118
113
|
:host [role=listitem].sm.horizontal::after {
|
|
119
114
|
content: " ";
|
|
120
115
|
position: absolute;
|
|
121
|
-
background-color: var(--stepper-divider-line);
|
|
116
|
+
background-color: var(--tds-stepper-divider-line);
|
|
122
117
|
height: 1px;
|
|
123
118
|
left: calc(50% + 16px + 8px);
|
|
124
119
|
right: 0;
|
|
@@ -127,7 +122,7 @@
|
|
|
127
122
|
:host [role=listitem].sm.horizontal::before {
|
|
128
123
|
content: " ";
|
|
129
124
|
position: absolute;
|
|
130
|
-
background-color: var(--stepper-divider-line);
|
|
125
|
+
background-color: var(--tds-stepper-divider-line);
|
|
131
126
|
height: 1px;
|
|
132
127
|
left: 0;
|
|
133
128
|
right: calc(50% + 24px);
|
|
@@ -136,7 +131,7 @@
|
|
|
136
131
|
:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::after {
|
|
137
132
|
content: " ";
|
|
138
133
|
position: absolute;
|
|
139
|
-
background-color: var(--stepper-divider-line);
|
|
134
|
+
background-color: var(--tds-stepper-divider-line);
|
|
140
135
|
height: 1px;
|
|
141
136
|
top: 13px;
|
|
142
137
|
width: 10px;
|
|
@@ -146,7 +141,7 @@
|
|
|
146
141
|
:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::before {
|
|
147
142
|
content: " ";
|
|
148
143
|
position: absolute;
|
|
149
|
-
background-color: var(--stepper-divider-line);
|
|
144
|
+
background-color: var(--tds-stepper-divider-line);
|
|
150
145
|
height: 1px;
|
|
151
146
|
top: 13px;
|
|
152
147
|
width: 10px;
|
|
@@ -154,52 +149,42 @@
|
|
|
154
149
|
right: auto;
|
|
155
150
|
}
|
|
156
151
|
:host [role=listitem] .content-container {
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
justify-content: space-around;
|
|
160
152
|
border-radius: 100px;
|
|
161
|
-
border
|
|
162
|
-
border-style: solid;
|
|
153
|
+
border: 1px solid var(--tds-stepper-icon-background);
|
|
163
154
|
text-align: center;
|
|
164
155
|
position: relative;
|
|
165
156
|
}
|
|
166
157
|
:host [role=listitem] .content-container.error {
|
|
167
|
-
border-color: var(--stepper-icon-step-border-warning);
|
|
168
|
-
color: var(--stepper-icon-step-border-warning);
|
|
158
|
+
border-color: var(--tds-stepper-icon-step-border-color-warning);
|
|
159
|
+
color: var(--tds-stepper-icon-step-border-color-warning);
|
|
169
160
|
}
|
|
170
161
|
:host [role=listitem] .content-container.success {
|
|
171
|
-
background-color: var(--stepper-icon-step-border-success);
|
|
172
|
-
border-color: var(--stepper-icon-step-border-success);
|
|
162
|
+
background-color: var(--tds-stepper-icon-step-border-color-success);
|
|
163
|
+
border-color: var(--tds-stepper-icon-step-border-color-success);
|
|
173
164
|
color: var(--tds-white);
|
|
174
165
|
}
|
|
175
166
|
:host [role=listitem] .content-container.current {
|
|
176
|
-
color: var(--stepper-
|
|
167
|
+
background-color: var(--tds-stepper-background);
|
|
168
|
+
color: var(--tds-stepper-color);
|
|
177
169
|
}
|
|
178
170
|
:host [role=listitem] .content-container.upcoming {
|
|
179
|
-
|
|
180
|
-
color: var(--stepper-label-
|
|
171
|
+
background-color: transparent;
|
|
172
|
+
border-color: var(--tds-stepper-label-border-color-upcoming);
|
|
173
|
+
color: var(--tds-stepper-label-text-color-upcoming);
|
|
181
174
|
}
|
|
182
175
|
:host [role=listitem] .label {
|
|
183
176
|
text-align: center;
|
|
184
177
|
}
|
|
185
178
|
:host [role=listitem] .label.lg {
|
|
186
|
-
font
|
|
187
|
-
|
|
188
|
-
line-height: var(--detail-01-line-height);
|
|
189
|
-
font-weight: var(--detail-01-font-weight);
|
|
190
|
-
letter-spacing: var(--detail-01-letter-spacing);
|
|
191
|
-
text-transform: var(--detail-01-text-transform);
|
|
179
|
+
font: var(--tds-detail-01);
|
|
180
|
+
letter-spacing: var(--tds-detail-01-ls);
|
|
192
181
|
}
|
|
193
182
|
:host [role=listitem] .label.sm {
|
|
194
|
-
font
|
|
195
|
-
|
|
196
|
-
line-height: var(--detail-05-line-height);
|
|
197
|
-
font-weight: var(--detail-05-font-weight);
|
|
198
|
-
letter-spacing: var(--detail-05-letter-spacing);
|
|
199
|
-
text-transform: var(--detail-05-text-transform);
|
|
183
|
+
font: var(--tds-detail-05);
|
|
184
|
+
letter-spacing: var(--tds-detail-05-ls);
|
|
200
185
|
}
|
|
201
186
|
:host [role=listitem] .label.upcoming {
|
|
202
|
-
color: var(--stepper-label-text-upcoming);
|
|
187
|
+
color: var(--tds-stepper-label-text-color-upcoming);
|
|
203
188
|
opacity: var(--tds-stepper-label-text-opacity-upcoming);
|
|
204
189
|
}
|
|
205
190
|
|
|
@@ -12,9 +12,9 @@ body {
|
|
|
12
12
|
|
|
13
13
|
:host,
|
|
14
14
|
.tds-table {
|
|
15
|
-
box-sizing: border-box;
|
|
16
15
|
border-collapse: collapse;
|
|
17
16
|
display: table;
|
|
17
|
+
box-sizing: border-box;
|
|
18
18
|
}
|
|
19
19
|
:host *,
|
|
20
20
|
.tds-table * {
|
|
@@ -33,18 +33,18 @@ body {
|
|
|
33
33
|
}
|
|
34
34
|
.tds-table--horizontal-scroll:hover::-webkit-scrollbar-thumb {
|
|
35
35
|
border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
|
|
36
|
-
background: var(--
|
|
36
|
+
background: var(--tds-scrollbar-hover-thumb-color);
|
|
37
37
|
background-clip: padding-box;
|
|
38
38
|
}
|
|
39
39
|
.tds-table--horizontal-scroll::-webkit-scrollbar {
|
|
40
40
|
height: var(--tds-scrollbar-height);
|
|
41
41
|
}
|
|
42
42
|
.tds-table--horizontal-scroll::-webkit-scrollbar-track {
|
|
43
|
-
background: var(--
|
|
43
|
+
background: var(--tds-scrollbar-track-color);
|
|
44
44
|
}
|
|
45
45
|
.tds-table--horizontal-scroll::-webkit-scrollbar-thumb {
|
|
46
46
|
border-radius: 40px;
|
|
47
|
-
background: var(--
|
|
47
|
+
background: var(--tds-scrollbar-thumb-color);
|
|
48
48
|
border: var(--tds-scrollbar-thumb-border-width) solid transparent;
|
|
49
49
|
background-clip: padding-box;
|
|
50
50
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host,
|
|
5
2
|
tds-table-body {
|
|
6
3
|
box-sizing: border-box;
|
|
@@ -10,30 +7,43 @@ tds-table-body {
|
|
|
10
7
|
tds-table-body * {
|
|
11
8
|
box-sizing: border-box;
|
|
12
9
|
}
|
|
10
|
+
:host .tds-table__info-message,
|
|
11
|
+
tds-table-body .tds-table__info-message {
|
|
12
|
+
font: var(--tds-detail-02);
|
|
13
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
14
|
+
display: table-cell;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
color: var(--tds-table-color);
|
|
17
|
+
padding: var(--tds-spacing-element-16);
|
|
18
|
+
min-width: 192px;
|
|
19
|
+
vertical-align: top;
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
transition: background-color 200ms ease;
|
|
22
|
+
}
|
|
13
23
|
|
|
14
24
|
tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd) {
|
|
15
|
-
background-color: var(--table-zebra-mode);
|
|
25
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
16
26
|
}
|
|
17
27
|
tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover {
|
|
18
|
-
background-color: var(--table-body-row-hover);
|
|
28
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
19
29
|
}
|
|
20
30
|
tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even) {
|
|
21
|
-
background-color: var(--table-zebra-mode);
|
|
31
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
22
32
|
}
|
|
23
33
|
tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover {
|
|
24
|
-
background-color: var(--table-body-row-hover);
|
|
34
|
+
background-color: var(--tds-table-body-row-background-hover);
|
|
25
35
|
}
|
|
26
36
|
tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd) {
|
|
27
|
-
background-color: var(--table-zebra-mode);
|
|
37
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
28
38
|
}
|
|
29
39
|
tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd) {
|
|
30
|
-
background-color: var(--table-body-cell-hover);
|
|
40
|
+
background-color: var(--tds-table-body-cell-background-hover);
|
|
31
41
|
}
|
|
32
42
|
tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even) {
|
|
33
|
-
background-color: var(--table-zebra-mode);
|
|
43
|
+
background-color: var(--tds-table-zebra-mode-backround);
|
|
34
44
|
}
|
|
35
45
|
tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even) {
|
|
36
|
-
background-color: var(--table-body-cell-hover);
|
|
46
|
+
background-color: var(--tds-table-body-cell-background-hover);
|
|
37
47
|
}
|
|
38
48
|
tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell, tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell {
|
|
39
49
|
background-color: transparent;
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
/* Typography Usage mixins */
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
1
|
:host(.tds-table__body-cell) {
|
|
5
2
|
box-sizing: border-box;
|
|
6
|
-
font
|
|
7
|
-
|
|
8
|
-
line-height: var(--detail-02-line-height);
|
|
9
|
-
font-weight: var(--detail-02-font-weight);
|
|
10
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
11
|
-
text-transform: var(--detail-02-text-transform);
|
|
3
|
+
font: var(--tds-detail-02);
|
|
4
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
12
5
|
display: table-cell;
|
|
13
6
|
box-sizing: border-box;
|
|
14
|
-
color: var(--table-
|
|
7
|
+
color: var(--tds-table-color);
|
|
15
8
|
padding: var(--tds-spacing-element-16);
|
|
16
9
|
min-width: 192px;
|
|
17
10
|
vertical-align: top;
|
|
@@ -23,7 +16,7 @@
|
|
|
23
16
|
}
|
|
24
17
|
|
|
25
18
|
:host(.tds-table__body-cell--hover) {
|
|
26
|
-
background-color: var(--table-body-cell-hover);
|
|
19
|
+
background-color: var(--tds-table-body-cell-background-hover);
|
|
27
20
|
}
|
|
28
21
|
|
|
29
22
|
:host(.tds-table__compact) {
|
|
@@ -31,7 +24,7 @@
|
|
|
31
24
|
}
|
|
32
25
|
|
|
33
26
|
:host(.tds-table--divider) {
|
|
34
|
-
border-right: 1px solid var(--table-divider);
|
|
27
|
+
border-right: 1px solid var(--tds-table-divider);
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
:host(.tds-table--divider:last-of-type) {
|