@scania/tegel 1.32.2-multibrand-beta.5 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tds-banner.cjs.entry.js +1 -1
- package/dist/cjs/tds-block.cjs.entry.js +3 -7
- package/dist/cjs/tds-body-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +1 -1
- package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tds-chip.cjs.entry.js +1 -1
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-divider.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +49 -34
- package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -3
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-footer-group.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +3 -8
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -3
- package/dist/cjs/tds-message.cjs.entry.js +1 -1
- package/dist/cjs/tds-modal.cjs.entry.js +1 -1
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -5
- package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +8 -8
- package/dist/cjs/tds-table-body-row.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-footer.cjs.entry.js +4 -4
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-header.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/tds-table.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +6 -9
- package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tds-toast.cjs.entry.js +4 -4
- package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/assets/logos/scania/scania-logotype.png +0 -0
- package/dist/collection/assets/logos/scania/scania-logotype.svg +2355 -0
- package/dist/collection/assets/logos/scania/scania-wordmark-white.png +0 -0
- package/dist/collection/assets/logos/scania/scania-wordmark.png +0 -0
- package/dist/collection/assets/logos/scania/scania-wordmark.svg +17 -0
- package/dist/collection/assets/logos/traton/traton-logotype-black.png +0 -0
- package/dist/collection/assets/logos/traton/traton-logotype-black.svg +1 -0
- package/dist/collection/assets/logos/traton/traton-logotype-blue.png +0 -0
- package/dist/collection/assets/logos/traton/traton-logotype-blue.svg +1 -0
- package/dist/collection/assets/logos/traton/traton-logotype-white.png +0 -0
- package/dist/collection/assets/logos/traton/traton-logotype-white.svg +1 -0
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +44 -14
- package/dist/collection/components/accordion/accordion.css +11 -1
- package/dist/collection/components/banner/banner.css +2 -1
- package/dist/collection/components/block/block.css +8 -15
- package/dist/collection/components/block/block.js +2 -6
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +2 -1
- package/dist/collection/components/button/button.css +426 -480
- package/dist/collection/components/checkbox/checkbox.css +24 -31
- package/dist/collection/components/chip/chip.css +2 -1
- package/dist/collection/components/divider/divider.css +2 -2
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +12 -19
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +27 -4
- package/dist/collection/components/dropdown/dropdown.css +116 -128
- package/dist/collection/components/dropdown/dropdown.js +61 -31
- package/dist/collection/components/footer/footer-group/footer-group.css +2 -1
- package/dist/collection/components/footer/footer-item/footer-item.css +6 -3
- package/dist/collection/components/footer/footer.css +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.css +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +3 -3
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +2 -1
- package/dist/collection/components/header/header-item/header-item.css +2 -1
- package/dist/collection/components/header/header-launcher/header-launcher.css +3 -3
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.css +2 -1
- package/dist/collection/components/icon/icon.js +2 -7
- package/dist/collection/components/icon/tratonIconsArray.js +1 -4
- package/dist/collection/components/message/message.css +32 -19
- package/dist/collection/components/modal/modal.css +15 -13
- package/dist/collection/components/popover-core/tds-popover-core.css +0 -14601
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +2 -1
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +2 -1
- package/dist/collection/components/side-menu/side-menu.css +3 -3
- package/dist/collection/components/spinner/spinner.css +64 -34
- package/dist/collection/components/spinner/spinner.js +2 -3
- package/dist/collection/components/table/table/table.css +3 -3
- package/dist/collection/components/table/table-body/table-body.css +11 -18
- package/dist/collection/components/table/table-body-cell/table-body-cell.css +5 -12
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.css +7 -16
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.css +8 -7
- package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +11 -10
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
- package/dist/collection/components/table/table-footer/table-footer.css +16 -41
- package/dist/collection/components/table/table-footer/table-footer.js +3 -3
- package/dist/collection/components/table/table-header/table-header.css +7 -14
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.css +13 -25
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.css +7 -14
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.css +11 -22
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +2 -1
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +2 -1
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +2 -1
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +2 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
- package/dist/collection/components/text-field/text-field.css +167 -151
- package/dist/collection/components/text-field/text-field.js +5 -8
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.css +2 -1
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.css +33 -48
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/{p-858c1df0.js → p-1cd6b2c6.js} +40 -30
- package/dist/components/{p-865b81b9.js → p-4b0c6ab5.js} +14 -7
- package/dist/components/p-58b92113.js +114 -0
- package/dist/components/{p-76dc921a.js → p-6adb1ce3.js} +1 -1
- package/dist/components/{p-c46ecd24.js → p-71c3dfe9.js} +1 -1
- package/dist/components/{p-c2ae5e79.js → p-877931c5.js} +1 -1
- package/dist/components/{p-765162bc.js → p-9cee9d7f.js} +3 -3
- package/dist/components/{p-8ffea123.js → p-c715ab56.js} +3 -8
- package/dist/components/p-d3866be7.js +2098 -0
- package/dist/components/{p-92a7b8b2.js → p-df84759a.js} +1 -1
- package/dist/components/{p-49f09bc8.js → p-ea381f94.js} +1 -1
- package/dist/components/{p-aeef3de3.js → p-f589b91c.js} +2 -2
- package/dist/components/tds-accordion-item.js +2 -2
- package/dist/components/tds-accordion.js +1 -1
- package/dist/components/tds-banner.js +2 -2
- package/dist/components/tds-block.js +3 -7
- package/dist/components/tds-body-cell.js +1 -1
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-button.js +1 -1
- package/dist/components/tds-card.js +1 -1
- package/dist/components/tds-checkbox.js +1 -1
- package/dist/components/tds-chip.js +1 -1
- package/dist/components/tds-datetime.js +1 -1
- package/dist/components/tds-divider.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tab.js +3 -3
- package/dist/components/tds-folder-tabs.js +4 -4
- package/dist/components/tds-footer-group.js +2 -2
- package/dist/components/tds-footer-item.js +1 -1
- package/dist/components/tds-footer.js +1 -1
- package/dist/components/tds-header-brand-symbol.js +2 -2
- package/dist/components/tds-header-cell.js +3 -3
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown.js +5 -5
- package/dist/components/tds-header-hamburger.js +2 -2
- package/dist/components/tds-header-item.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher-grid-item.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +1 -1
- package/dist/components/tds-header-launcher.js +6 -6
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +4 -4
- package/dist/components/tds-message.js +2 -2
- package/dist/components/tds-modal.js +2 -2
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +6 -6
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-collapse-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown-list-item.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +2 -2
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu.js +1 -1
- package/dist/components/tds-slider.js +1 -1
- package/dist/components/tds-spinner.js +4 -5
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +3 -3
- package/dist/components/tds-table-body-row-expandable.js +8 -8
- package/dist/components/tds-table-body-row.js +4 -4
- package/dist/components/tds-table-body.js +1 -1
- package/dist/components/tds-table-footer.js +8 -8
- package/dist/components/tds-table-header-input-wrapper.js +3 -3
- package/dist/components/tds-table-header.js +4 -4
- package/dist/components/tds-table-toolbar.js +4 -4
- package/dist/components/tds-table.js +1 -1
- package/dist/components/tds-text-field.js +7 -10
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +5 -5
- package/dist/components/tds-toggle.js +3 -3
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-accordion-item.entry.js +1 -1
- package/dist/esm/tds-accordion.entry.js +1 -1
- package/dist/esm/tds-banner.entry.js +1 -1
- package/dist/esm/tds-block.entry.js +3 -7
- package/dist/esm/tds-body-cell.entry.js +1 -1
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +1 -1
- package/dist/esm/tds-checkbox.entry.js +1 -1
- package/dist/esm/tds-chip.entry.js +1 -1
- package/dist/esm/tds-core-header-item_2.entry.js +1 -1
- package/dist/esm/tds-divider.entry.js +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +49 -34
- package/dist/esm/tds-folder-tab.entry.js +3 -3
- package/dist/esm/tds-folder-tabs.entry.js +3 -3
- package/dist/esm/tds-footer-group.entry.js +1 -1
- package/dist/esm/tds-footer-item.entry.js +1 -1
- package/dist/esm/tds-footer.entry.js +1 -1
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +2 -2
- package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-header-dropdown.entry.js +1 -1
- package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +3 -8
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +3 -3
- package/dist/esm/tds-message.entry.js +1 -1
- package/dist/esm/tds-modal.entry.js +1 -1
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +5 -5
- package/dist/esm/tds-popover-core.entry.js +1 -1
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-side-menu-item.entry.js +1 -1
- package/dist/esm/tds-side-menu.entry.js +1 -1
- package/dist/esm/tds-spinner.entry.js +3 -3
- package/dist/esm/tds-table-body-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-body-row-expandable.entry.js +8 -8
- package/dist/esm/tds-table-body-row.entry.js +3 -3
- package/dist/esm/tds-table-body.entry.js +1 -1
- package/dist/esm/tds-table-footer.entry.js +4 -4
- package/dist/esm/tds-table-header-input-wrapper.entry.js +2 -2
- package/dist/esm/tds-table-header.entry.js +3 -3
- package/dist/esm/tds-table-toolbar.entry.js +3 -3
- package/dist/esm/tds-table.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +6 -9
- package/dist/esm/tds-textarea.entry.js +3 -3
- package/dist/esm/tds-toast.entry.js +4 -4
- package/dist/esm/tds-toggle.entry.js +3 -3
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/assets/logos/scania/scania-logotype.png +0 -0
- package/dist/tegel/assets/logos/scania/scania-logotype.svg +2355 -0
- package/dist/tegel/assets/logos/scania/scania-wordmark-white.png +0 -0
- package/dist/tegel/assets/logos/scania/scania-wordmark.png +0 -0
- package/dist/tegel/assets/logos/scania/scania-wordmark.svg +17 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-black.png +0 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-black.svg +1 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-blue.png +0 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-blue.svg +1 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-white.png +0 -0
- package/dist/tegel/assets/logos/traton/traton-logotype-white.svg +1 -0
- package/dist/tegel/{p-7fd272d1.entry.js → p-08f63e5d.entry.js} +1 -1
- package/dist/tegel/p-0cac9ea6.entry.js +1 -0
- package/dist/tegel/{p-e7638f10.entry.js → p-0cfe8671.entry.js} +1 -1
- package/dist/tegel/{p-ad30ee83.entry.js → p-106e048d.entry.js} +1 -1
- package/dist/tegel/p-1c75f8a7.entry.js +1 -0
- package/dist/tegel/{p-f12ce132.entry.js → p-2c56421f.entry.js} +1 -1
- package/dist/tegel/p-35a88a52.entry.js +1 -0
- package/dist/tegel/p-3a92d554.entry.js +1 -0
- package/dist/tegel/{p-0ca88c7c.entry.js → p-3ec01fb3.entry.js} +1 -1
- package/dist/tegel/p-4274d329.entry.js +1 -0
- package/dist/tegel/{p-32540392.entry.js → p-5020a688.entry.js} +1 -1
- package/dist/tegel/{p-a2576665.entry.js → p-52adc30c.entry.js} +1 -1
- package/dist/tegel/{p-0a0500f0.entry.js → p-5c077bb9.entry.js} +1 -1
- package/dist/tegel/p-5dd2aac8.entry.js +1 -0
- package/dist/tegel/{p-378fe79c.entry.js → p-614bcd4b.entry.js} +1 -1
- package/dist/tegel/p-614cc097.entry.js +1 -0
- package/dist/tegel/{p-fdc5c832.entry.js → p-61a1dc59.entry.js} +1 -1
- package/dist/tegel/{p-3e6d65ee.entry.js → p-67b4b2cf.entry.js} +1 -1
- package/dist/tegel/{p-da60d17b.entry.js → p-6a615ac1.entry.js} +1 -1
- package/dist/tegel/p-6d89dcbe.entry.js +1 -0
- package/dist/tegel/{p-4d60aa49.entry.js → p-6e57997e.entry.js} +1 -1
- package/dist/tegel/{p-0f8930be.entry.js → p-6eed8c31.entry.js} +1 -1
- package/dist/tegel/p-7013249b.entry.js +1 -0
- package/dist/tegel/p-72006dd7.entry.js +1 -0
- package/dist/tegel/p-76faaf70.entry.js +1 -0
- package/dist/tegel/{p-9e146138.entry.js → p-8c841698.entry.js} +1 -1
- package/dist/tegel/p-942abc1e.entry.js +1 -0
- package/dist/tegel/{p-eb134c44.entry.js → p-98106799.entry.js} +1 -1
- package/dist/tegel/p-9b2257f3.entry.js +1 -0
- package/dist/tegel/{p-94aa8b19.entry.js → p-a0591e58.entry.js} +1 -1
- package/dist/tegel/{p-b3446292.entry.js → p-ab103d0c.entry.js} +1 -1
- package/dist/tegel/p-aec3e4cf.entry.js +1 -0
- package/dist/tegel/{p-97de52aa.entry.js → p-b734b309.entry.js} +1 -1
- package/dist/tegel/{p-6631ea34.entry.js → p-bb1d069f.entry.js} +1 -1
- package/dist/tegel/{p-364c08ec.entry.js → p-bcd5e06d.entry.js} +1 -1
- package/dist/tegel/p-bd935506.entry.js +1 -0
- package/dist/tegel/p-bdc913a0.entry.js +1 -0
- package/dist/tegel/{p-a1444bc5.entry.js → p-c0b26507.entry.js} +1 -1
- package/dist/tegel/p-c6beca5e.entry.js +1 -0
- package/dist/tegel/{p-051c9000.entry.js → p-c7b0253c.entry.js} +1 -1
- package/dist/tegel/p-cf7af8f2.entry.js +1 -0
- package/dist/tegel/{p-2e5d2bec.entry.js → p-d267c18f.entry.js} +1 -1
- package/dist/tegel/{p-0fdd14c7.entry.js → p-d9040b7f.entry.js} +1 -1
- package/dist/tegel/p-dc375d3e.entry.js +1 -0
- package/dist/tegel/p-e3c2b6b4.entry.js +1 -0
- package/dist/tegel/p-f2232281.entry.js +1 -0
- package/dist/tegel/p-f4b5e80b.entry.js +1 -0
- package/dist/tegel/p-f78b6a16.entry.js +1 -0
- package/dist/tegel/p-fbffe3aa.entry.js +1 -0
- package/dist/tegel/tegel.css +19 -77
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown.d.ts +15 -10
- package/dist/types/components.d.ts +17 -2
- package/dist/types/types/TratonIcons.d.ts +1 -1
- package/package.json +2 -8
- package/scripts/copy-assets.mjs +32 -30
- package/dist/components/p-ab1f729e.js +0 -114
- package/dist/components/p-e8834dcb.js +0 -2098
- package/dist/tegel/p-0103f442.entry.js +0 -1
- package/dist/tegel/p-036e12d4.entry.js +0 -1
- package/dist/tegel/p-103f9b0d.entry.js +0 -1
- package/dist/tegel/p-211cef64.entry.js +0 -1
- package/dist/tegel/p-222944dc.entry.js +0 -1
- package/dist/tegel/p-25d21e10.entry.js +0 -1
- package/dist/tegel/p-326f0bf4.entry.js +0 -1
- package/dist/tegel/p-4948ae4a.entry.js +0 -1
- package/dist/tegel/p-4a4b5069.entry.js +0 -1
- package/dist/tegel/p-58ec7381.entry.js +0 -1
- package/dist/tegel/p-5bc63fd1.entry.js +0 -1
- package/dist/tegel/p-62975e6d.entry.js +0 -1
- package/dist/tegel/p-7a97ac5e.entry.js +0 -1
- package/dist/tegel/p-8bf0f99f.entry.js +0 -1
- package/dist/tegel/p-90072813.entry.js +0 -1
- package/dist/tegel/p-940d3cba.entry.js +0 -1
- package/dist/tegel/p-a2f84e4a.entry.js +0 -1
- package/dist/tegel/p-b5a3c528.entry.js +0 -1
- package/dist/tegel/p-d1349d6c.entry.js +0 -1
- package/dist/tegel/p-d1b356d5.entry.js +0 -1
- package/dist/tegel/p-daaf8d8f.entry.js +0 -1
- package/dist/tegel/p-dd5245ed.entry.js +0 -1
- package/dist/tegel/p-f67a8209.entry.js +0 -1
- package/dist/tegel/p-f76d8ab9.entry.js +0 -1
- package/dist-styles/core.css +0 -5963
- package/dist-styles/scania-variables.css +0 -1328
- package/dist-styles/scania.css +0 -7291
- package/dist-styles/traton-variables.css +0 -1064
- package/dist-styles/traton.css +0 -7027
- /package/dist/collection/assets/logos/{scania-symbol.png → scania/scania-symbol.png} +0 -0
- /package/dist/collection/assets/logos/{scania-symbol.svg → scania/scania-symbol.svg} +0 -0
- /package/dist/collection/assets/logos/{scania-wordmark-white.svg → scania/scania-wordmark-white.svg} +0 -0
- /package/dist/tegel/assets/logos/{scania-symbol.png → scania/scania-symbol.png} +0 -0
- /package/dist/tegel/assets/logos/{scania-symbol.svg → scania/scania-symbol.svg} +0 -0
- /package/dist/tegel/assets/logos/{scania-wordmark-white.svg → scania/scania-wordmark-white.svg} +0 -0
|
@@ -1,70 +1,108 @@
|
|
|
1
|
-
|
|
2
|
-
/* Centralized map of typography types */
|
|
3
|
-
/* Utility mixin */
|
|
4
|
-
.text-field-input {
|
|
1
|
+
.text-field-input-lg {
|
|
5
2
|
all: unset;
|
|
6
|
-
border-radius:
|
|
3
|
+
border-radius: 4px 4px 0 0;
|
|
7
4
|
width: 100%;
|
|
8
5
|
box-sizing: border-box;
|
|
9
6
|
margin: 0;
|
|
10
7
|
border: none;
|
|
11
8
|
outline: none;
|
|
12
9
|
height: 100%;
|
|
13
|
-
color: var(--text-field-
|
|
14
|
-
background-color: var(--text-field-background);
|
|
15
|
-
font
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
.text-field-input
|
|
23
|
-
color: var(--text-field-placeholder);
|
|
24
|
-
}
|
|
25
|
-
.text-field-input:disabled {
|
|
10
|
+
color: var(--tds-text-field-color);
|
|
11
|
+
background-color: var(--tds-text-field-background);
|
|
12
|
+
font: var(--tds-detail-02);
|
|
13
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
14
|
+
padding: var(--tds-spacing-element-20) var(--tds-spacing-element-16);
|
|
15
|
+
}
|
|
16
|
+
.text-field-input-lg::placeholder {
|
|
17
|
+
color: var(--tds-text-field-placeholder);
|
|
18
|
+
}
|
|
19
|
+
.text-field-input-lg:disabled {
|
|
26
20
|
user-select: none;
|
|
27
21
|
pointer-events: none;
|
|
28
|
-
background-color: var(--text-field-background-disabled);
|
|
29
|
-
color: var(--text-field-
|
|
30
|
-
}
|
|
31
|
-
.text-field-input:disabled::placeholder {
|
|
32
|
-
color: var(--text-field-placeholder-disabled);
|
|
22
|
+
background-color: var(--tds-text-field-background-disabled);
|
|
23
|
+
color: var(--tds-text-field-color-disabled);
|
|
33
24
|
}
|
|
34
|
-
.text-field-input:disabled
|
|
35
|
-
color: var(--text-field-
|
|
25
|
+
.text-field-input-lg:disabled::placeholder {
|
|
26
|
+
color: var(--tds-text-field-placeholder-disabled);
|
|
36
27
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
padding: var(--tds-spacing-element-20) var(--tds-spacing-element-16);
|
|
28
|
+
.text-field-input-lg:disabled ~ .text-field-label-inside {
|
|
29
|
+
color: var(--tds-text-field-label-disabled);
|
|
40
30
|
}
|
|
41
31
|
|
|
42
32
|
.text-field-input-md {
|
|
33
|
+
all: unset;
|
|
34
|
+
border-radius: 4px 4px 0 0;
|
|
35
|
+
width: 100%;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
margin: 0;
|
|
38
|
+
border: none;
|
|
39
|
+
outline: none;
|
|
40
|
+
height: 100%;
|
|
41
|
+
color: var(--tds-text-field-color);
|
|
42
|
+
background-color: var(--tds-text-field-background);
|
|
43
|
+
font: var(--tds-detail-02);
|
|
44
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
43
45
|
padding: var(--tds-spacing-element-16);
|
|
44
46
|
}
|
|
47
|
+
.text-field-input-md::placeholder {
|
|
48
|
+
color: var(--tds-text-field-placeholder);
|
|
49
|
+
}
|
|
50
|
+
.text-field-input-md:disabled {
|
|
51
|
+
user-select: none;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
background-color: var(--tds-text-field-background-disabled);
|
|
54
|
+
color: var(--tds-text-field-color-disabled);
|
|
55
|
+
}
|
|
56
|
+
.text-field-input-md:disabled::placeholder {
|
|
57
|
+
color: var(--tds-text-field-placeholder-disabled);
|
|
58
|
+
}
|
|
59
|
+
.text-field-input-md:disabled ~ .text-field-label-inside {
|
|
60
|
+
color: var(--tds-text-field-label-disabled);
|
|
61
|
+
}
|
|
45
62
|
|
|
46
63
|
.text-field-input-sm {
|
|
64
|
+
all: unset;
|
|
65
|
+
border-radius: 4px 4px 0 0;
|
|
66
|
+
width: 100%;
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
margin: 0;
|
|
69
|
+
border: none;
|
|
70
|
+
outline: none;
|
|
71
|
+
height: 100%;
|
|
72
|
+
color: var(--tds-text-field-color);
|
|
73
|
+
background-color: var(--tds-text-field-background);
|
|
74
|
+
font: var(--tds-detail-02);
|
|
75
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
47
76
|
padding: var(--tds-spacing-element-16);
|
|
48
77
|
}
|
|
78
|
+
.text-field-input-sm::placeholder {
|
|
79
|
+
color: var(--tds-text-field-placeholder);
|
|
80
|
+
}
|
|
81
|
+
.text-field-input-sm:disabled {
|
|
82
|
+
user-select: none;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
background-color: var(--tds-text-field-background-disabled);
|
|
85
|
+
color: var(--tds-text-field-color-disabled);
|
|
86
|
+
}
|
|
87
|
+
.text-field-input-sm:disabled::placeholder {
|
|
88
|
+
color: var(--tds-text-field-placeholder-disabled);
|
|
89
|
+
}
|
|
90
|
+
.text-field-input-sm:disabled ~ .text-field-label-inside {
|
|
91
|
+
color: var(--tds-text-field-label-disabled);
|
|
92
|
+
}
|
|
49
93
|
|
|
50
94
|
.text-field-container {
|
|
51
|
-
border-radius:
|
|
95
|
+
border-radius: 4px 4px 0 0;
|
|
52
96
|
display: flex;
|
|
53
97
|
position: relative;
|
|
54
98
|
height: 56px;
|
|
55
99
|
box-sizing: border-box;
|
|
56
|
-
background-color: var(--text-field-background);
|
|
57
|
-
border-
|
|
58
|
-
|
|
59
|
-
border-bottom: 1px solid var(--text-field-border-color-bottom);
|
|
60
|
-
border-top: 1px solid var(--text-field-border-color-top);
|
|
61
|
-
transition: border-bottom-color 200ms ease, border-left-color 200ms ease, border-right-color 200ms ease, border-top-color 200ms ease, outline-color 200ms ease;
|
|
100
|
+
background-color: var(--tds-text-field-background);
|
|
101
|
+
border-bottom: 1px solid var(--tds-text-field-border-bottom);
|
|
102
|
+
transition: border-bottom-color 200ms ease;
|
|
62
103
|
}
|
|
63
104
|
.text-field-container:hover {
|
|
64
|
-
border-
|
|
65
|
-
border-right: 1px solid var(--text-field-border-color-right-hover);
|
|
66
|
-
border-bottom: 1px solid var(--text-field-border-color-bottom-hover);
|
|
67
|
-
border-top: 1px solid var(--text-field-border-color-top-hover);
|
|
105
|
+
border-bottom-color: var(--tds-text-field-border-bottom-hover);
|
|
68
106
|
}
|
|
69
107
|
.form-text-field-md .text-field-container {
|
|
70
108
|
height: 48px;
|
|
@@ -80,36 +118,32 @@
|
|
|
80
118
|
|
|
81
119
|
.text-field-data,
|
|
82
120
|
.text-field-input {
|
|
83
|
-
color: var(--text-field-
|
|
121
|
+
color: var(--tds-text-field-data-color);
|
|
84
122
|
}
|
|
85
123
|
|
|
86
124
|
.text-field-label-outside > * {
|
|
87
|
-
font
|
|
88
|
-
|
|
89
|
-
line-height: var(--detail-05-line-height);
|
|
90
|
-
font-weight: var(--detail-05-font-weight);
|
|
91
|
-
letter-spacing: var(--detail-05-letter-spacing);
|
|
92
|
-
text-transform: var(--detail-05-text-transform);
|
|
125
|
+
font: var(--tds-detail-05);
|
|
126
|
+
letter-spacing: var(--tds-detail-05-ls);
|
|
93
127
|
display: block;
|
|
94
128
|
margin-bottom: var(--tds-spacing-element-8);
|
|
95
|
-
color: var(--text-field-label-color);
|
|
129
|
+
color: var(--tds-text-field-label-color);
|
|
96
130
|
}
|
|
97
131
|
|
|
98
132
|
.text-field-label-inside {
|
|
99
|
-
font
|
|
100
|
-
|
|
101
|
-
line-height: var(--detail-02-line-height);
|
|
102
|
-
font-weight: var(--detail-02-font-weight);
|
|
103
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
104
|
-
text-transform: var(--detail-02-text-transform);
|
|
133
|
+
font: var(--tds-detail-02);
|
|
134
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
105
135
|
position: absolute;
|
|
106
136
|
pointer-events: none;
|
|
107
|
-
color: var(--text-field-label-inside-color);
|
|
137
|
+
color: var(--tds-text-field-label-inside-color);
|
|
108
138
|
left: 16px;
|
|
109
139
|
}
|
|
110
140
|
|
|
111
|
-
.text-field
|
|
112
|
-
|
|
141
|
+
.form-text-field {
|
|
142
|
+
display: block;
|
|
143
|
+
min-width: 208px;
|
|
144
|
+
}
|
|
145
|
+
.form-text-field-nomin {
|
|
146
|
+
min-width: auto;
|
|
113
147
|
}
|
|
114
148
|
|
|
115
149
|
.form-text-field.text-field-container-label-inside .text-field-input-lg {
|
|
@@ -127,90 +161,99 @@
|
|
|
127
161
|
}
|
|
128
162
|
.form-text-field.text-field-container-label-inside .text-field-input-lg:focus::placeholder {
|
|
129
163
|
transition: color 0.35s ease;
|
|
130
|
-
color: var(--text-field-placeholder);
|
|
164
|
+
color: var(--tds-text-field-placeholder);
|
|
165
|
+
}
|
|
166
|
+
.form-text-field.text-field-container-label-inside .text-field-input-md {
|
|
167
|
+
padding-top: var(--tds-spacing-element-20);
|
|
168
|
+
padding-bottom: 11px;
|
|
169
|
+
}
|
|
170
|
+
.form-text-field.text-field-container-label-inside .text-field-input-md ~ .text-field-label-inside {
|
|
171
|
+
top: 16px;
|
|
172
|
+
}
|
|
173
|
+
.form-text-field.text-field-container-label-inside .text-field-input-md::placeholder {
|
|
174
|
+
color: transparent;
|
|
175
|
+
}
|
|
176
|
+
.form-text-field.text-field-container-label-inside .text-field-input-md ::placeholder {
|
|
177
|
+
color: transparent;
|
|
178
|
+
}
|
|
179
|
+
.form-text-field.text-field-container-label-inside .text-field-input-md:focus::placeholder {
|
|
180
|
+
transition: color 0.35s ease;
|
|
181
|
+
color: var(--tds-text-field-placeholder);
|
|
131
182
|
}
|
|
132
|
-
.form-text-field.text-field-container-label-inside .text-field-input-md,
|
|
133
183
|
.form-text-field.text-field-container-label-inside .text-field-input-sm {
|
|
134
184
|
padding-top: var(--tds-spacing-element-20);
|
|
135
185
|
padding-bottom: 11px;
|
|
136
186
|
}
|
|
137
|
-
.form-text-field.text-field-container-label-inside .text-field-input-md ~ .text-field-label-inside,
|
|
138
187
|
.form-text-field.text-field-container-label-inside .text-field-input-sm ~ .text-field-label-inside {
|
|
139
188
|
top: 16px;
|
|
140
189
|
}
|
|
141
|
-
.form-text-field.text-field-container-label-inside .text-field-input-md::placeholder,
|
|
142
190
|
.form-text-field.text-field-container-label-inside .text-field-input-sm::placeholder {
|
|
143
191
|
color: transparent;
|
|
144
192
|
}
|
|
145
|
-
.form-text-field.text-field-container-label-inside .text-field-input-md ::placeholder,
|
|
146
193
|
.form-text-field.text-field-container-label-inside .text-field-input-sm ::placeholder {
|
|
147
194
|
color: transparent;
|
|
148
195
|
}
|
|
149
|
-
.form-text-field.text-field-container-label-inside .text-field-input-md:focus::placeholder,
|
|
150
196
|
.form-text-field.text-field-container-label-inside .text-field-input-sm:focus::placeholder {
|
|
151
197
|
transition: color 0.35s ease;
|
|
152
|
-
color: var(--text-field-placeholder);
|
|
153
|
-
}
|
|
154
|
-
.form-text-field.text-field-container-label-inside.text-field-focus .text-field-label-inside, .form-text-field.text-field-container-label-inside.text-field-data .text-field-label-inside {
|
|
155
|
-
font
|
|
156
|
-
|
|
157
|
-
line-height: var(--detail-07-line-height);
|
|
158
|
-
font-weight: var(--detail-07-font-weight);
|
|
159
|
-
letter-spacing: var(--detail-07-letter-spacing);
|
|
160
|
-
text-transform: var(--detail-07-text-transform);
|
|
198
|
+
color: var(--tds-text-field-placeholder);
|
|
199
|
+
}
|
|
200
|
+
.form-text-field.text-field-container-label-inside.text-field-focus .text-field-input-sm ~ .text-field-label-inside, .form-text-field.text-field-container-label-inside.text-field-data .text-field-input-sm ~ .text-field-label-inside {
|
|
201
|
+
font: var(--tds-detail-07);
|
|
202
|
+
letter-spacing: var(--tds-detail-07-ls);
|
|
161
203
|
transition: 0.1s ease all;
|
|
204
|
+
top: 8px;
|
|
162
205
|
}
|
|
163
|
-
.form-text-field.text-field-container-label-inside.text-field-focus .text-field-input-
|
|
164
|
-
|
|
165
|
-
|
|
206
|
+
.form-text-field.text-field-container-label-inside.text-field-focus .text-field-input-md ~ .text-field-label-inside, .form-text-field.text-field-container-label-inside.text-field-data .text-field-input-md ~ .text-field-label-inside {
|
|
207
|
+
font: var(--tds-detail-07);
|
|
208
|
+
letter-spacing: var(--tds-detail-07-ls);
|
|
209
|
+
transition: 0.1s ease all;
|
|
166
210
|
top: 8px;
|
|
167
211
|
}
|
|
168
212
|
.form-text-field.text-field-container-label-inside.text-field-focus .text-field-input-lg ~ .text-field-label-inside, .form-text-field.text-field-container-label-inside.text-field-data .text-field-input-lg ~ .text-field-label-inside {
|
|
213
|
+
font: var(--tds-detail-07);
|
|
214
|
+
letter-spacing: var(--tds-detail-07-ls);
|
|
215
|
+
transition: 0.1s ease all;
|
|
169
216
|
top: 12px;
|
|
170
217
|
}
|
|
171
218
|
|
|
172
219
|
.text-field-bar {
|
|
173
|
-
position:
|
|
220
|
+
position: absolute;
|
|
174
221
|
width: 100%;
|
|
175
|
-
left: 0;
|
|
176
|
-
z-index: 1;
|
|
177
222
|
}
|
|
178
|
-
.text-field-bar::after {
|
|
223
|
+
.text-field-bar::before, .text-field-bar::after {
|
|
179
224
|
content: "";
|
|
180
225
|
height: 2px;
|
|
181
|
-
|
|
182
|
-
|
|
226
|
+
top: 54px;
|
|
227
|
+
width: 0;
|
|
183
228
|
position: absolute;
|
|
184
|
-
background: var(--text-field-bar
|
|
185
|
-
|
|
186
|
-
transition: 0.35s ease transform;
|
|
229
|
+
background: var(--tds-text-field-bar);
|
|
230
|
+
transition: 0.35s ease all;
|
|
187
231
|
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
232
|
+
.form-text-field-md .text-field-bar::before, .form-text-field-md .text-field-bar::after {
|
|
233
|
+
top: 46px;
|
|
234
|
+
}
|
|
235
|
+
.form-text-field-sm .text-field-bar::before, .form-text-field-sm .text-field-bar::after {
|
|
236
|
+
top: 40px;
|
|
237
|
+
}
|
|
238
|
+
.text-field-bar::before {
|
|
239
|
+
left: 50%;
|
|
240
|
+
}
|
|
241
|
+
.text-field-bar::after {
|
|
242
|
+
right: 50%;
|
|
196
243
|
}
|
|
197
|
-
.
|
|
198
|
-
|
|
244
|
+
.text-field-focus .text-field-bar::before, .text-field-focus .text-field-bar::after {
|
|
245
|
+
width: 50%;
|
|
199
246
|
}
|
|
200
247
|
|
|
201
248
|
.text-field-helper {
|
|
202
|
-
font
|
|
203
|
-
|
|
204
|
-
line-height: var(--detail-05-line-height);
|
|
205
|
-
font-weight: var(--detail-05-font-weight);
|
|
206
|
-
letter-spacing: var(--detail-05-letter-spacing);
|
|
207
|
-
text-transform: var(--detail-05-text-transform);
|
|
249
|
+
font: var(--tds-detail-05);
|
|
250
|
+
letter-spacing: var(--tds-detail-05-ls);
|
|
208
251
|
display: flex;
|
|
209
252
|
gap: 8px;
|
|
210
253
|
justify-content: space-between;
|
|
211
254
|
flex-basis: 100%;
|
|
212
255
|
padding-top: var(--tds-spacing-element-4);
|
|
213
|
-
color: var(--text-field-helper);
|
|
256
|
+
color: var(--tds-text-field-helper);
|
|
214
257
|
}
|
|
215
258
|
.text-field-helper .text-field-textcounter {
|
|
216
259
|
margin-left: auto;
|
|
@@ -218,20 +261,17 @@
|
|
|
218
261
|
|
|
219
262
|
.form-text-field-disabled .text-field-container {
|
|
220
263
|
cursor: not-allowed;
|
|
221
|
-
border-
|
|
222
|
-
border-right: 1px solid transparent;
|
|
223
|
-
border-bottom: 1px solid transparent;
|
|
224
|
-
border-top: 1px solid transparent;
|
|
264
|
+
border-bottom-color: transparent;
|
|
225
265
|
}
|
|
226
266
|
.form-text-field-disabled .text-field-slot-wrap-prefix > *,
|
|
227
267
|
.form-text-field-disabled .text-field-slot-wrap-suffix > * {
|
|
228
|
-
color: var(--text-field-
|
|
268
|
+
color: var(--tds-text-field-ps-color-disabled);
|
|
229
269
|
}
|
|
230
270
|
.form-text-field-disabled .text-field-label-outside > * {
|
|
231
|
-
color: var(--text-field-label-disabled);
|
|
271
|
+
color: var(--tds-text-field-label-disabled);
|
|
232
272
|
}
|
|
233
273
|
.form-text-field-disabled .text-field-helper {
|
|
234
|
-
color: var(--text-field-helper-disabled);
|
|
274
|
+
color: var(--tds-text-field-helper-disabled);
|
|
235
275
|
}
|
|
236
276
|
|
|
237
277
|
.text-field-icon__readonly {
|
|
@@ -240,23 +280,19 @@
|
|
|
240
280
|
right: 18px;
|
|
241
281
|
top: 50%;
|
|
242
282
|
transform: translateY(-50%);
|
|
243
|
-
color: var(--text-field-icon-read-only-label-color);
|
|
283
|
+
color: var(--tds-text-field-icon-read-only-label-color);
|
|
244
284
|
}
|
|
245
285
|
.text-field-icon__readonly-label {
|
|
246
286
|
display: none;
|
|
247
287
|
position: absolute;
|
|
248
288
|
right: 18px;
|
|
249
289
|
top: 48px;
|
|
250
|
-
font
|
|
251
|
-
|
|
252
|
-
line-height: var(--detail-05-line-height);
|
|
253
|
-
font-weight: var(--detail-05-font-weight);
|
|
254
|
-
letter-spacing: var(--detail-05-letter-spacing);
|
|
255
|
-
text-transform: var(--detail-05-text-transform);
|
|
290
|
+
font: var(--tds-detail-05);
|
|
291
|
+
letter-spacing: var(--tds-detail-05-ls);
|
|
256
292
|
padding: 8px;
|
|
257
293
|
white-space: nowrap;
|
|
258
294
|
border-radius: 4px 0 4px 4px;
|
|
259
|
-
background-color: var(--text-field-icon-read-only-label-background);
|
|
295
|
+
background-color: var(--tds-text-field-icon-read-only-label-background);
|
|
260
296
|
}
|
|
261
297
|
|
|
262
298
|
.form-text-field-readonly {
|
|
@@ -265,7 +301,7 @@
|
|
|
265
301
|
cursor: default;
|
|
266
302
|
}
|
|
267
303
|
.form-text-field-readonly .text-field-container {
|
|
268
|
-
border-bottom-color: var(--text-field-border-bottom-readonly);
|
|
304
|
+
border-bottom-color: var(--tds-text-field-border-bottom-readonly);
|
|
269
305
|
}
|
|
270
306
|
.form-text-field-readonly .text-field-icon__readonly {
|
|
271
307
|
display: block;
|
|
@@ -282,23 +318,17 @@
|
|
|
282
318
|
}
|
|
283
319
|
|
|
284
320
|
.form-text-field-success:not(.form-text-field-readonly) .text-field-container {
|
|
285
|
-
border-
|
|
286
|
-
border-right: 1px solid var(--text-field-border-color-right-success);
|
|
287
|
-
border-bottom: 1px solid var(--text-field-border-color-bottom-success);
|
|
288
|
-
border-top: 1px solid var(--text-field-border-color-top-success);
|
|
321
|
+
border-bottom-color: var(--tds-text-field-border-bottom-success);
|
|
289
322
|
}
|
|
290
323
|
|
|
291
324
|
.form-text-field-error:not(.form-text-field-readonly) .text-field-helper {
|
|
292
|
-
color: var(--text-field-helper-error);
|
|
325
|
+
color: var(--tds-text-field-helper-error);
|
|
293
326
|
}
|
|
294
327
|
.form-text-field-error:not(.form-text-field-readonly) .text-field-container {
|
|
295
|
-
border-
|
|
296
|
-
border-right: 1px solid var(--text-field-border-color-right-error);
|
|
297
|
-
border-bottom: 1px solid var(--text-field-border-color-bottom-error);
|
|
298
|
-
border-top: 1px solid var(--text-field-border-color-top-error);
|
|
328
|
+
border-bottom-color: var(--tds-text-field-border-bottom-error);
|
|
299
329
|
}
|
|
300
330
|
.form-text-field-error:not(.form-text-field-readonly) .text-field-bar::before, .form-text-field-error:not(.form-text-field-readonly) .text-field-bar::after {
|
|
301
|
-
background: var(--text-field-bar-
|
|
331
|
+
background: var(--tds-text-field-bar-error);
|
|
302
332
|
}
|
|
303
333
|
|
|
304
334
|
.text-field-helper-error-state {
|
|
@@ -308,46 +338,32 @@
|
|
|
308
338
|
}
|
|
309
339
|
|
|
310
340
|
.text-field-textcounter-disabled {
|
|
311
|
-
color: var(--text-field-textcounter-disabled);
|
|
341
|
+
color: var(--tds-text-field-textcounter-disabled);
|
|
312
342
|
}
|
|
313
343
|
|
|
314
344
|
.text-field-textcounter {
|
|
315
|
-
font
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
font-weight: var(--detail-02-font-weight);
|
|
319
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
320
|
-
text-transform: var(--detail-02-text-transform);
|
|
321
|
-
color: var(--text-field-textcounter);
|
|
345
|
+
font: var(--tds-detail-05);
|
|
346
|
+
letter-spacing: var(--tds-detail-05-ls);
|
|
347
|
+
color: var(--tds-text-field-textcounter);
|
|
322
348
|
float: right;
|
|
323
349
|
}
|
|
324
350
|
.text-field-textcounter.text-field-textcounter-disabled {
|
|
325
|
-
color: var(--text-field-textcounter-disabled);
|
|
351
|
+
color: var(--tds-text-field-textcounter-disabled);
|
|
326
352
|
}
|
|
327
353
|
.text-field-textcounter.text-field-textcounter-divider {
|
|
328
|
-
|
|
329
|
-
font-size: var(--detail-05-font-size);
|
|
330
|
-
line-height: var(--detail-05-line-height);
|
|
331
|
-
font-weight: var(--detail-05-font-weight);
|
|
332
|
-
letter-spacing: var(--detail-05-letter-spacing);
|
|
333
|
-
text-transform: var(--detail-05-text-transform);
|
|
334
|
-
color: var(--text-field-textcounter-divider);
|
|
354
|
+
color: var(--tds-text-field-textcounter-divider);
|
|
335
355
|
}
|
|
336
356
|
.text-field-textcounter.text-field-textcounter-divider-disabled {
|
|
337
|
-
color: var(--text-field-textcounter-divider);
|
|
357
|
+
color: var(--tds-text-field-textcounter-divider-disabled);
|
|
338
358
|
}
|
|
339
359
|
|
|
340
360
|
.text-field-slot-wrap-prefix,
|
|
341
361
|
.text-field-slot-wrap-suffix {
|
|
342
362
|
align-self: center;
|
|
343
|
-
font
|
|
344
|
-
|
|
345
|
-
line-height: var(--detail-02-line-height);
|
|
346
|
-
font-weight: var(--detail-02-font-weight);
|
|
347
|
-
letter-spacing: var(--detail-02-letter-spacing);
|
|
348
|
-
text-transform: var(--detail-02-text-transform);
|
|
363
|
+
font: var(--tds-detail-02);
|
|
364
|
+
letter-spacing: var(--tds-detail-02-ls);
|
|
349
365
|
margin: 0 0 0 14px;
|
|
350
|
-
color: var(--text-field-
|
|
366
|
+
color: var(--tds-text-field-ps-color);
|
|
351
367
|
}
|
|
352
368
|
.text-field-slot-wrap-prefix::slotted(:not(tds-icon)),
|
|
353
369
|
.text-field-slot-wrap-suffix::slotted(:not(tds-icon)) {
|
|
@@ -355,7 +371,7 @@
|
|
|
355
371
|
}
|
|
356
372
|
.text-field-slot-wrap-prefix.text-field-error,
|
|
357
373
|
.text-field-slot-wrap-suffix.text-field-error {
|
|
358
|
-
color: var(--text-field-
|
|
374
|
+
color: var(--tds-text-field-ps-color-error);
|
|
359
375
|
}
|
|
360
376
|
|
|
361
377
|
.text-field-slot-wrap-suffix {
|
|
@@ -76,7 +76,7 @@ export class TdsTextField {
|
|
|
76
76
|
var _a;
|
|
77
77
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
78
78
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
79
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: '985928ef59662762648f2d95d5decad2e3188e05', class: {
|
|
80
80
|
'form-text-field': true,
|
|
81
81
|
'form-text-field-nomin': this.noMinWidth,
|
|
82
82
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -94,12 +94,12 @@ export class TdsTextField {
|
|
|
94
94
|
'form-text-field-sm': this.size === 'sm',
|
|
95
95
|
'form-text-field-error': this.state === 'error',
|
|
96
96
|
'form-text-field-success': this.state === 'success',
|
|
97
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
97
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: '7a409b43a1fee8b7b078abc5f96c925ab97bcedc', class: "text-field-label-outside" }, h("label", { key: 'c6bdaab4e6f81a95aa71a4e23a1f02fb1bcef9ec', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '945f7901a92850da22ab84c5fe77e2d97738aaa9', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '5d6cb2facb8ff90b7393409b769c2b5e5a860421', class: {
|
|
98
98
|
'text-field-slot-wrap-prefix': true,
|
|
99
99
|
'text-field-error': this.state === 'error',
|
|
100
100
|
'text-field-success': this.state === 'success',
|
|
101
101
|
'text-field-default': this.state === 'default',
|
|
102
|
-
} }, h("slot", { key: '
|
|
102
|
+
} }, h("slot", { key: 'b0f0e3ebb96dbd2af021150b68690af566db44b9', name: "prefix" }))), h("div", { key: 'c5b172ee6c561256ab930490113f406b88eae67c', class: "text-field-input-container" }, h("input", { key: '2e0a9070b41bde39a2a0f14b132f474692eb0e04', ref: (inputEl) => {
|
|
103
103
|
this.textInput = inputEl;
|
|
104
104
|
}, class: {
|
|
105
105
|
'text-field-input': true,
|
|
@@ -114,16 +114,13 @@ export class TdsTextField {
|
|
|
114
114
|
if (!this.readOnly) {
|
|
115
115
|
this.handleBlur(event);
|
|
116
116
|
}
|
|
117
|
-
}, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '
|
|
118
|
-
'text-field-label-inside': true,
|
|
119
|
-
'text-field-label-inside-placeholder': this.placeholder === '',
|
|
120
|
-
}, htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: 'fa00ee8a8dc53b674c77073e64f76ca07719f154', class: {
|
|
117
|
+
}, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: 'ffb3bbb84ab718c2259134f32ee6dd0eb348cb9f', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '166da0147311d28064b7e03bbefd1a0ee18db5ca', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: '4bb21d12957bf65d525931c88a5a89fff49d4eaf', class: {
|
|
121
118
|
'text-field-slot-wrap-suffix': true,
|
|
122
119
|
'text-field-error': this.state === 'error',
|
|
123
120
|
'text-field-success': this.state === 'success',
|
|
124
121
|
'text-field-default': this.state === 'default',
|
|
125
122
|
'tds-u-display-none': this.readOnly,
|
|
126
|
-
} }, h("slot", { key: '
|
|
123
|
+
} }, h("slot", { key: '7e67dbc8f4f67cb0c7d194e01e5787ae18ffab13', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: 'd213ec000d837cbd4b711468ef3cfa826cc65ac2', class: "text-field-icon__readonly" }, h("tds-icon", { key: '56b8b76a5771889f9f36ab683dcba6906bff42a6', name: "edit_inactive", size: "20px" }))), h("span", { key: '9e8fa95602a1ce5630f30947b59decc700c06c8b', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: '9e8547e06a25e7da98ff977ac6be1b79d27e4151', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'daeea67a48a15d27785f31dfcb69fb75e31ab85b', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '974bad3f97b23d69a20130bf66b6c72ef47f68bc', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: '687cad3cb0451a262f836089851e9a2e08f2c74e', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: '431709fb793dde8845b20698e722a7c140bb32b6', class: {
|
|
127
124
|
'text-field-textcounter-divider': true,
|
|
128
125
|
'text-field-textcounter-disabled': this.disabled,
|
|
129
126
|
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
|
|
@@ -65,7 +65,7 @@ export class TdsTextarea {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
var _a;
|
|
68
|
-
return (h("div", { key: '
|
|
68
|
+
return (h("div", { key: '06fd8ce87614410858a7d9253fac73a6f1cf20ec', class: {
|
|
69
69
|
'textarea-container': true,
|
|
70
70
|
'textarea-label-inside': this.labelPosition === 'inside',
|
|
71
71
|
'textarea-focus': this.focusInput,
|
|
@@ -75,7 +75,7 @@ export class TdsTextarea {
|
|
|
75
75
|
'textarea-data': this.value !== '',
|
|
76
76
|
[`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
|
|
77
77
|
'no-min-width': this.noMinWidth,
|
|
78
|
-
} }, this.labelPosition !== 'no-label' && (h("label", { key: '
|
|
78
|
+
} }, this.labelPosition !== 'no-label' && (h("label", { key: '1a02a333e4164b39fd223c68cc3d27d7c53487fb', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '6d45e8c8427770accc82c7ad9e10fbed016437a4', class: "textarea-wrapper" }, h("textarea", { key: '614c30a5b5077060b1568744cf0800580e746819', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
|
|
79
79
|
this.textEl = inputEl;
|
|
80
80
|
}, disabled: this.disabled, readonly: !this.disabled && this.readOnly, placeholder: this.placeholder, value: this.value, name: this.name, autofocus: this.autofocus, maxlength: this.maxLength, cols: this.cols, rows: this.rows, onFocus: (event) => {
|
|
81
81
|
if (!this.readOnly) {
|
|
@@ -85,7 +85,7 @@ export class TdsTextarea {
|
|
|
85
85
|
if (!this.readOnly) {
|
|
86
86
|
this.handleBlur(event);
|
|
87
87
|
}
|
|
88
|
-
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": this.state === 'error' ? 'true' : 'false', "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: '
|
|
88
|
+
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": this.state === 'error' ? 'true' : 'false', "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: 'e0574ae32d1ce9c69156dc2aa52d8d1881b6ff9b', class: "textarea-resizer-icon" }, h("svg", { key: '23e79729cc099b7e4f07192c05aa4a304b91788a', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '54891720aa51af768f467be5bd8a72fc7adc8d47', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.8536 0.853553C12.0488 0.658291 12.0488 0.341709 11.8536 0.146447C11.6583 -0.0488155 11.3417 -0.0488155 11.1464 0.146447L0.146447 11.1464C-0.0488155 11.3417 -0.0488155 11.6583 0.146447 11.8536C0.341709 12.0488 0.658291 12.0488 0.853553 11.8536L11.8536 0.853553ZM11.8536 4.64645C12.0488 4.84171 12.0488 5.15829 11.8536 5.35355L5.35355 11.8536C5.15829 12.0488 4.84171 12.0488 4.64645 11.8536C4.45118 11.6583 4.45118 11.3417 4.64645 11.1464L11.1464 4.64645C11.3417 4.45118 11.6583 4.45118 11.8536 4.64645ZM11.8536 8.64645C12.0488 8.84171 12.0488 9.15829 11.8536 9.35355L9.35355 11.8536C9.15829 12.0488 8.84171 12.0488 8.64645 11.8536C8.45118 11.6583 8.45118 11.3417 8.64645 11.1464L11.1464 8.64645C11.3417 8.45118 11.6583 8.45118 11.8536 8.64645Z", fill: "currentColor" }))), !this.disabled && !this.hideReadOnlyIcon && this.readOnly && (h("span", { key: '72e3586f1be99460ced66d640392b4596e5b8c2f', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '9f84391a75b5ae428c71d3b713a9d281c4475a09', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '55e195bb50d8b707ec3a403c8c62cad74d738919', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: 'ff2043a19ebb129178ecfd36126b0d23eacde4d1', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: '84b0991ef5ddab7f960ba75db22c65762b0b5d20', name: "error", size: "16px" })), this.helper), this.maxLength > 0 && (h("div", { key: '963b3a3bdafeabec6ad2bd3663c07ed0d4a5b3fd', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '8496a0ae44721cdcd9443e09ff6a709b6d3c704f', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "tds-textarea"; }
|
|
91
91
|
static get encapsulation() { return "scoped"; }
|
|
@@ -50,9 +50,10 @@
|
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
}
|
|
52
52
|
:host .wrapper button.close:focus {
|
|
53
|
-
outline: 2px solid var(--tds-
|
|
53
|
+
outline: 2px solid var(--tds-focus-outline-color);
|
|
54
54
|
box-shadow: 0 0 0 1px var(--tds-white);
|
|
55
55
|
outline-offset: 1px;
|
|
56
|
+
z-index: 1;
|
|
56
57
|
}
|
|
57
58
|
:host .wrapper button.close tds-icon {
|
|
58
59
|
color: var(--tds-toast-dissmiss-color);
|
|
@@ -65,12 +65,12 @@ export class TdsToast {
|
|
|
65
65
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
66
66
|
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
67
67
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '433c25165487688ff40c78a0455d30cedd08c76f', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
|
|
69
69
|
hide: this.hidden,
|
|
70
70
|
show: !this.hidden,
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '2734573a413d9cdf1a329675fe0e0db374243cbf', class: `
|
|
72
72
|
wrapper
|
|
73
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
73
|
+
${this.variant}` }, h("tds-icon", { key: '88d4ab6fd55d64c93ad3089c695d0fa4075208a6', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: '02de15f884420946530d2e04c330987f73c9ca44', class: `content` }, h("div", { key: '4eb8c6a13a7bb53313a18b47bfa8e2ab1211cdbc', class: "header-subheader" }, this.header && h("div", { key: '1b707e29cdd68a5cc73a2b694b8b93698cbac661', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: 'ffe2b463f8fc6e4ca3b563d7a4ae55968cb4a478', name: "header" }), this.subheader && h("div", { key: '8164b591452e4a6f025f752951c678a15443fff9', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '2bca8428e8eb128cf8c0f62b31a0da54ef555df3', name: "subheader" })), usesActionsSlot && (h("div", { key: 'de84bc19257b09127b861b357240509a7346f2e7', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: 'b85a46c5dc97dc7d3b95feb816145731887711fb', name: "actions" })))), this.closable && (h("button", { key: '69adb03d815ece9e50cf436957927c5dcd4d3ab8', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: '9b4f062079caa32c5900202aaf1c2a7a5ef8e18c', name: "cross", size: "20px", svgTitle: "cross" }))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "tds-toast"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|