@scania/tegel 1.34.0-design.tokens.beta.test.0 → 1.34.0-internal-variables-demo.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-ca8040ad.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +2 -2
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-footer-group.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 +1 -1
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-dropdown-list-user.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-grid-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-launcher.cjs.entry.js +1 -1
- package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +24 -6
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +6 -3
- package/dist/cjs/tds-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -2
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -5
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +4 -4
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
- package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/tds-slider.cjs.entry.js +9 -9
- package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tds-step.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 +7 -7
- package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-text-field.cjs.entry.js +7 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +4 -4
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +2 -2
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +66 -14
- package/dist/collection/components/footer/footer-group/footer-group.css +0 -3
- package/dist/collection/components/header/core-header-item/core-header-item.css +10 -3
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.css +3 -2
- package/dist/collection/components/header/header-dropdown/header-dropdown.css +1 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +17 -10
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.css +18 -7
- package/dist/collection/components/header/header-item/header-item.css +15 -9
- package/dist/collection/components/header/header-launcher/header-launcher.css +1 -1
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.css +10 -3
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.css +11 -4
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.css +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.css +11 -4
- package/dist/collection/components/header/header-title/header-title.css +4 -3
- package/dist/collection/components/header/header.css +4 -4
- package/dist/collection/components/icon/icon.js +25 -8
- package/dist/collection/components/popover-canvas/popover-canvas.css +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +26 -10
- package/dist/collection/components/popover-menu/popover-menu.css +1 -1
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.css +7 -21
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +3 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.css +6 -4
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.css +34 -6
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.css +7 -1
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +38 -14
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +35 -20
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.css +1 -2
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.css +5 -2
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.css +12 -4
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/side-menu/side-menu.css +16 -7
- package/dist/collection/components/slider/slider.css +6 -17
- package/dist/collection/components/slider/slider.js +8 -8
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/table/table-body/table-body.js +2 -2
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
- package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +2 -2
- 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.js +7 -7
- package/dist/collection/components/table/table-footer/table-footer.js +3 -3
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- 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.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- 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.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.js +4 -4
- package/dist/collection/components/text-field/text-field.css +29 -0
- package/dist/collection/components/text-field/text-field.js +6 -6
- package/dist/collection/components/textarea/textarea.css +27 -0
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/{p-f9c933c0.js → p-14edfa40.js} +1 -1
- package/dist/components/{p-b609e7a7.js → p-1a71c773.js} +2 -2
- package/dist/components/{p-af5310f8.js → p-55929c34.js} +1 -1
- package/dist/components/{p-927cf777.js → p-597922b6.js} +2 -2
- package/dist/components/{p-eb76089f.js → p-6524ae73.js} +2 -2
- package/dist/components/{p-4e5ff414.js → p-7adbd356.js} +24 -6
- package/dist/components/{p-4cd4e1e3.js → p-86cd8d5e.js} +2 -2
- package/dist/components/{p-9ad61cb5.js → p-9597d1a2.js} +1 -1
- package/dist/components/{p-0e04ed76.js → p-a8fea701.js} +3 -3
- package/dist/components/{p-d437241f.js → p-e26b8b01.js} +3 -3
- package/dist/components/{p-ee402b70.js → p-e9b88277.js} +2 -2
- package/dist/components/{p-4bf2bec5.js → p-ee839631.js} +7 -3
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-body-cell.js +2 -2
- package/dist/components/tds-core-header-item.js +1 -1
- package/dist/components/tds-datetime.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 +2 -2
- package/dist/components/tds-folder-tabs.js +3 -3
- package/dist/components/tds-footer-group.js +2 -2
- package/dist/components/tds-header-brand-symbol.js +3 -3
- package/dist/components/tds-header-cell.js +2 -2
- package/dist/components/tds-header-dropdown-list-item.js +1 -1
- package/dist/components/tds-header-dropdown-list-user.js +1 -1
- package/dist/components/tds-header-dropdown.js +5 -5
- package/dist/components/tds-header-hamburger.js +3 -3
- 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-grid-title.js +1 -1
- package/dist/components/tds-header-launcher-list-item.js +2 -2
- package/dist/components/tds-header-launcher-list-title.js +1 -1
- package/dist/components/tds-header-launcher.js +6 -6
- package/dist/components/tds-header-title.js +1 -1
- package/dist/components/tds-header.js +1 -1
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +3 -3
- package/dist/components/tds-message.js +1 -1
- package/dist/components/tds-modal.js +1 -1
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +5 -5
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-menu.js +1 -1
- package/dist/components/tds-side-menu-close-button.js +12 -4
- package/dist/components/tds-side-menu-collapse-button.js +6 -6
- package/dist/components/tds-side-menu-dropdown-list-item.js +3 -3
- package/dist/components/tds-side-menu-dropdown-list.js +3 -3
- package/dist/components/tds-side-menu-dropdown.js +6 -6
- package/dist/components/tds-side-menu-item.js +1 -1
- package/dist/components/tds-side-menu-overlay.js +1 -1
- package/dist/components/tds-side-menu-user-image.js +1 -1
- package/dist/components/tds-side-menu-user-label.js +1 -1
- package/dist/components/tds-side-menu-user.js +4 -4
- package/dist/components/tds-side-menu.js +1 -1
- package/dist/components/tds-slider.js +10 -10
- package/dist/components/tds-spinner.js +1 -1
- package/dist/components/tds-step.js +2 -2
- package/dist/components/tds-table-body-input-wrapper.js +3 -3
- package/dist/components/tds-table-body-row-expandable.js +7 -7
- package/dist/components/tds-table-body-row.js +2 -2
- package/dist/components/tds-table-body.js +2 -2
- package/dist/components/tds-table-footer.js +6 -6
- package/dist/components/tds-table-header-input-wrapper.js +2 -2
- package/dist/components/tds-table-header.js +2 -2
- package/dist/components/tds-table-toolbar.js +3 -3
- package/dist/components/tds-text-field.js +9 -9
- package/dist/components/tds-textarea.js +6 -6
- package/dist/components/tds-toast.js +4 -4
- package/dist/components/tds-toggle.js +2 -2
- package/dist/components/tds-tooltip.js +1 -1
- package/dist/esm/index-51d04e39.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +2 -2
- package/dist/esm/tds-core-header-item_2.entry.js +2 -2
- package/dist/esm/tds-dropdown_2.entry.js +1 -1
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +2 -2
- package/dist/esm/tds-footer-group.entry.js +1 -1
- package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
- package/dist/esm/tds-header-dropdown-list-user.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-grid-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
- package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
- package/dist/esm/tds-header-launcher.entry.js +1 -1
- package/dist/esm/tds-header-title.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +24 -6
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +2 -2
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +4 -4
- package/dist/esm/tds-popover-canvas.entry.js +6 -3
- package/dist/esm/tds-popover-menu.entry.js +1 -1
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -2
- package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -5
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
- package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
- package/dist/esm/tds-side-menu-item.entry.js +3 -3
- package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
- package/dist/esm/tds-side-menu-user-image_2.entry.js +4 -4
- package/dist/esm/tds-side-menu-user.entry.js +2 -2
- package/dist/esm/tds-side-menu.entry.js +1 -1
- package/dist/esm/tds-slider.entry.js +9 -9
- package/dist/esm/tds-spinner.entry.js +1 -1
- package/dist/esm/tds-step.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 +7 -7
- package/dist/esm/tds-table-body-row.entry.js +2 -2
- package/dist/esm/tds-table-body.entry.js +2 -2
- package/dist/esm/tds-table-footer.entry.js +3 -3
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +2 -2
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-text-field.entry.js +7 -7
- package/dist/esm/tds-textarea.entry.js +4 -4
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +2 -2
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/p-050a6707.entry.js +1 -0
- package/dist/tegel/p-0d6ce4bf.entry.js +1 -0
- package/dist/tegel/{p-a2f84e4a.entry.js → p-10865bbb.entry.js} +1 -1
- package/dist/tegel/p-10af200f.entry.js +1 -0
- package/dist/tegel/{p-e7638f10.entry.js → p-17542748.entry.js} +1 -1
- package/dist/tegel/p-19b1c3bf.entry.js +1 -0
- package/dist/tegel/p-2fad3996.entry.js +1 -0
- package/dist/tegel/{p-22e4a4f9.entry.js → p-32371b91.entry.js} +1 -1
- package/dist/tegel/p-3488afc9.entry.js +1 -0
- package/dist/tegel/{p-ec395ccd.entry.js → p-36b7d6f6.entry.js} +1 -1
- package/dist/tegel/{p-c6e76ba8.entry.js → p-40ee935d.entry.js} +1 -1
- package/dist/tegel/{p-fe51bbbb.entry.js → p-479654f1.entry.js} +1 -1
- package/dist/tegel/p-47bd2c84.entry.js +1 -0
- package/dist/tegel/{p-f12ce132.entry.js → p-47ea5841.entry.js} +1 -1
- package/dist/tegel/p-50bc2a9e.entry.js +1 -0
- package/dist/tegel/{p-17b55fa2.entry.js → p-58a0184d.entry.js} +1 -1
- package/dist/tegel/p-60e1d00a.entry.js +1 -0
- package/dist/tegel/p-61849351.entry.js +1 -0
- package/dist/tegel/{p-a077836e.entry.js → p-62bc6e68.entry.js} +1 -1
- package/dist/tegel/p-6b5aeb4a.entry.js +1 -0
- package/dist/tegel/{p-9db54bd1.entry.js → p-6d63d203.entry.js} +1 -1
- package/dist/tegel/{p-40ae469d.entry.js → p-7c8980b0.entry.js} +1 -1
- package/dist/tegel/p-80da6858.entry.js +1 -0
- package/dist/tegel/{p-67f3c355.entry.js → p-9f5ac36f.entry.js} +1 -1
- package/dist/tegel/p-a4f49931.entry.js +1 -0
- package/dist/tegel/p-a7718b4e.entry.js +1 -0
- package/dist/tegel/p-a93938ae.entry.js +1 -0
- package/dist/tegel/p-b4a372b0.entry.js +1 -0
- package/dist/tegel/{p-d9b054fa.entry.js → p-bbde7f62.entry.js} +1 -1
- package/dist/tegel/{p-a829417c.entry.js → p-bcb085b2.entry.js} +1 -1
- package/dist/tegel/{p-db46db63.entry.js → p-bccdcc4b.entry.js} +1 -1
- package/dist/tegel/{p-9572319f.entry.js → p-be33adf1.entry.js} +1 -1
- package/dist/tegel/p-c1df3164.entry.js +1 -0
- package/dist/tegel/{p-f8cc59e0.entry.js → p-c7287b51.entry.js} +1 -1
- package/dist/tegel/{p-c94e0062.entry.js → p-cd34bdde.entry.js} +1 -1
- package/dist/tegel/p-d0ca3f24.entry.js +1 -0
- package/dist/tegel/{p-7caad569.entry.js → p-d0e6a5e6.entry.js} +1 -1
- package/dist/tegel/{p-45a503af.entry.js → p-d3fa7477.entry.js} +1 -1
- package/dist/tegel/{p-c79386a0.entry.js → p-d794f5c9.entry.js} +1 -1
- package/dist/tegel/p-defa18d9.entry.js +1 -0
- package/dist/tegel/{p-f1b0f4f6.entry.js → p-dfcaadff.entry.js} +1 -1
- package/dist/tegel/{p-f5c24e0b.entry.js → p-e08723c7.entry.js} +1 -1
- package/dist/tegel/{p-80ce20cc.entry.js → p-e5325648.entry.js} +1 -1
- package/dist/tegel/p-ea57cf53.entry.js +1 -0
- package/dist/tegel/{p-7aaaeb32.entry.js → p-f0368e43.entry.js} +1 -1
- package/dist/tegel/p-f0d05af2.entry.js +1 -0
- package/dist/tegel/{p-c1ff5218.entry.js → p-f20ec378.entry.js} +1 -1
- package/dist/tegel/{p-10646dec.entry.js → p-f2340a88.entry.js} +1 -1
- package/dist/tegel/{p-b3446292.entry.js → p-f944d3b3.entry.js} +1 -1
- package/dist/tegel/p-f951ff7d.entry.js +1 -0
- package/dist/tegel/p-fe7292a0.entry.js +1 -0
- package/dist/tegel/tegel.css +39 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/icon/icon.d.ts +2 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -1
- package/dist/types/components.d.ts +10 -2
- package/dist-styles/core.css +370 -359
- package/dist-styles/scania-variables.css +1 -0
- package/dist-styles/scania.css +371 -359
- package/dist-styles/traton-variables.css +1 -0
- package/dist-styles/traton.css +371 -359
- package/package.json +1 -1
- package/dist/tegel/p-06d3490c.entry.js +0 -1
- package/dist/tegel/p-0d09f1ad.entry.js +0 -1
- package/dist/tegel/p-1bbef1a5.entry.js +0 -1
- package/dist/tegel/p-27c2f109.entry.js +0 -1
- package/dist/tegel/p-33aa94c4.entry.js +0 -1
- package/dist/tegel/p-4095d044.entry.js +0 -1
- package/dist/tegel/p-46c9af0f.entry.js +0 -1
- package/dist/tegel/p-525c81b1.entry.js +0 -1
- package/dist/tegel/p-5bca9fe7.entry.js +0 -1
- package/dist/tegel/p-5f35ce3b.entry.js +0 -1
- package/dist/tegel/p-7d427dff.entry.js +0 -1
- package/dist/tegel/p-84d8c038.entry.js +0 -1
- package/dist/tegel/p-8efd9d9a.entry.js +0 -1
- package/dist/tegel/p-9099d978.entry.js +0 -1
- package/dist/tegel/p-9620b368.entry.js +0 -1
- package/dist/tegel/p-a1a335f8.entry.js +0 -1
- package/dist/tegel/p-a333339f.entry.js +0 -1
- package/dist/tegel/p-a66a4a4e.entry.js +0 -1
- package/dist/tegel/p-b20f250b.entry.js +0 -1
- package/dist/tegel/p-c7b0253c.entry.js +0 -1
- package/dist/tegel/p-ceddaae5.entry.js +0 -1
- package/dist/tegel/p-debd6adc.entry.js +0 -1
- package/dist/tegel/p-f11cb5b2.entry.js +0 -1
|
@@ -37,15 +37,11 @@ tds-slider .slider-secondary .tds-slider .tds-slider__input-values .tds-slider__
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.tds-slider-wrapper.slider-success .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field {
|
|
40
|
-
|
|
41
|
-
border-right: 1px solid var(--slider-border-right-success);
|
|
42
|
-
border-bottom: 1px solid var(--slider-border-bottom-success);
|
|
43
|
-
border-top: 1px solid var(--slider-border-top-success);
|
|
40
|
+
box-shadow: var(--slider-input-field-box-shadow-success);
|
|
44
41
|
color: var(--slider-input-success-text);
|
|
45
|
-
box-shadow: var(--slider-border-success);
|
|
46
42
|
}
|
|
47
43
|
.tds-slider-wrapper.slider-success .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:hover {
|
|
48
|
-
box-shadow: var(--slider-
|
|
44
|
+
box-shadow: var(--slider-input-field-box-shadow-success);
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
.tds-slider-wrapper:focus-within {
|
|
@@ -118,26 +114,19 @@ tds-slider .slider-secondary .tds-slider .tds-slider__input-values .tds-slider__
|
|
|
118
114
|
border-bottom: 1px solid var(--slider-border-bottom);
|
|
119
115
|
border-top: 1px solid var(--slider-border-top);
|
|
120
116
|
border-radius: var(--slider-border-radius);
|
|
121
|
-
box-shadow: var(--slider-
|
|
117
|
+
box-shadow: var(--slider-input-field-box-shadow);
|
|
122
118
|
color: var(--slider-input-inputfield);
|
|
123
119
|
border: 0;
|
|
124
120
|
background-color: transparent;
|
|
125
121
|
text-align: center;
|
|
126
122
|
padding: 12px;
|
|
123
|
+
transition: box-shadow 200ms ease;
|
|
127
124
|
}
|
|
128
125
|
.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:hover {
|
|
129
|
-
|
|
130
|
-
border-right: 1px solid var(--slider-border-right-hover);
|
|
131
|
-
border-bottom: 1px solid var(--slider-border-bottom-hover);
|
|
132
|
-
border-top: 1px solid var(--slider-border-top-hover);
|
|
133
|
-
box-shadow: var(--slider-border-hover);
|
|
126
|
+
box-shadow: var(--slider-input-field-box-shadow-hover);
|
|
134
127
|
}
|
|
135
128
|
.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:focus {
|
|
136
|
-
|
|
137
|
-
border-right: 1px solid var(--slider-border-right-focus);
|
|
138
|
-
border-bottom: 1px solid var(--slider-border-bottom-focus);
|
|
139
|
-
border-top: 1px solid var(--slider-border-top-focus);
|
|
140
|
-
box-shadow: var(--slider-border-focus);
|
|
129
|
+
box-shadow: var(--slider-input-field-box-shadow-focus);
|
|
141
130
|
outline: var(--slider-border-outline);
|
|
142
131
|
}
|
|
143
132
|
.tds-slider label {
|
|
@@ -403,34 +403,34 @@ export class TdsSlider {
|
|
|
403
403
|
}
|
|
404
404
|
render() {
|
|
405
405
|
const ariaLabel = this.readOnly ? this.tdsReadOnlyAriaLabel : this.label || this.tdsAriaLabel;
|
|
406
|
-
return (h("div", { key: '
|
|
406
|
+
return (h("div", { key: 'bd4183c7e9ab8598f2f1e00ff7d6d395847400d5', class: {
|
|
407
407
|
'tds-slider-wrapper': true,
|
|
408
408
|
'read-only': this.readOnly,
|
|
409
409
|
'slider-default': this.state === 'default',
|
|
410
410
|
'slider-success': this.state === 'success',
|
|
411
411
|
'slider-primary': this.modeVariant === 'primary',
|
|
412
412
|
'slider-secondary': this.modeVariant === 'secondary',
|
|
413
|
-
} }, h("input", { key: '
|
|
413
|
+
} }, h("input", { key: '26336c8cae0fa98a4afd3971c85d606bc19ef1d8', 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: '81b4037332a2cd014499aab8e0a736f6b29466ad', class: "sr-only", "aria-live": "assertive", ref: (el) => {
|
|
414
414
|
this.ariaLiveElement = el;
|
|
415
|
-
} }), h("div", { key: '
|
|
415
|
+
} }), h("div", { key: '45076b1377c6ed50ca30bb54ea6813e0bbe86823', class: {
|
|
416
416
|
'tds-slider': true,
|
|
417
417
|
'disabled': this.disabled,
|
|
418
418
|
'tds-slider-small': this.useSmall,
|
|
419
419
|
}, ref: (el) => {
|
|
420
420
|
this.wrapperElement = el;
|
|
421
|
-
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: '
|
|
421
|
+
}, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: '986444a64e1254c9fe7e48d92439dfbf68e1cd9c', id: `${this.sliderId}-label`, class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: '78958c70f9f18a68e5a652cab122ce69390a7638', class: "tds-slider__input-values" }, h("div", { key: '7488b615ae3f989e89819418e95a0e50f6870f39', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: 'b13a12af4fa8b1256bff7df615f870295604fcb8', class: "tds-slider__controls" }, h("div", { key: '6d8f516d30ef263971969b2034d132e47254e7a8', 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: '29be5d68dc58887ca806d2e871e21abd49f8bc6b', name: "minus", size: "16px" })))), h("div", { key: '2082aa0ebf30e5e32c9d5f2dcfc092cf51f486f7', class: "tds-slider-inner", tabIndex: -1 }, this.tickValues.length > 0 && (h("div", { key: '78894f9a5ec898237bad37507ceb0e719829e835', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '28b5650b22efe479753a15585266daba70e8fe99', 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: '4c3345c0729d8b2fc8dc41d7d341649a3456e431', class: "tds-slider__track", ref: (el) => {
|
|
422
422
|
this.trackElement = el;
|
|
423
423
|
}, tabindex: this.disabled ? '-1' : '0', role: "presentation", onFocus: () => {
|
|
424
424
|
if (this.thumbElement) {
|
|
425
425
|
this.thumbElement.focus();
|
|
426
426
|
}
|
|
427
|
-
} }, h("div", { key: '
|
|
427
|
+
} }, h("div", { key: '93c0ab45f73c0c2ee8dbdaf75dcc0b36a5d8c5e6', class: "tds-slider__track-fill", ref: (el) => {
|
|
428
428
|
this.trackFillElement = el;
|
|
429
|
-
} }), h("div", { key: '
|
|
429
|
+
} }), h("div", { key: '0ad854c25663ba050dc1aedb737a209d43046e50', class: "tds-slider__thumb", ref: (el) => {
|
|
430
430
|
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: '
|
|
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: 'b80b3f6e542820507f5b75cc458475ded9f3d917', class: "tds-slider__value" }, this.value, h("svg", { key: 'e3144dc00d812cb4ea7c2b1be1ac5e79e70d9022', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '940b3dc10755cb6b66d793e1fe03201a4661dbfd', 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: 'a6da99482099afd5b4a36f51e43cd83184a80e4f', class: "tds-slider__thumb-inner", ref: (el) => {
|
|
432
432
|
this.thumbInnerElement = el;
|
|
433
|
-
} })))), this.useInput && (h("div", { key: '
|
|
433
|
+
} })))), this.useInput && (h("div", { key: 'c80e10049d55a5457ddbfdbccc107e26a48d44b1', class: "tds-slider__input-values" }, h("div", { key: '31892d55b7ffb5db331bbb273ff9ade5ff5ce187', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '5cfd66b7016d413a52b884d61ba585e25e6d8e53', class: "tds-slider__input-field-wrapper" }, h("input", { key: '0110bd5e6bf77baf28e621145fa4b683b488ee62', 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: 'b4acf1abc7c3ec847e385ce3e71c396975efbbc0', class: "tds-slider__controls" }, h("div", { key: '41d053f1471824dc3e6acdd143dc15a3b29dcb62', 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: '9f78191d97f05e5e3ee1dc10243beb5435671116', name: "plus", size: "16px" })))))));
|
|
434
434
|
}
|
|
435
435
|
static get is() { return "tds-slider"; }
|
|
436
436
|
static get originalStyleUrls() {
|
|
@@ -5,7 +5,7 @@ export class TdsSpinner {
|
|
|
5
5
|
this.variant = 'standard';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '258284f4a0e66ef317ebf68f1e84535bf4525b2f', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: '4c5543d50a45c97f658d9328df8ed957d1e074c9', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: 'ccf4e40860c20df27d693e2c613a965278ac1d6c', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "tds-spinner"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class TdsStep {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '63f48cb400926167cb53d6913e1b0edac574c2dc' }, h("div", { key: 'a9483ebdd03951cf1828cdac06ef86cd6b4e27ba', role: "listitem", "aria-disabled": this.state === 'upcoming' ? 'true' : 'false', "aria-current": this.tdsAriaCurrent, tabIndex: -1, "aria-label": `Step ${this.index}: ${this.state}`, class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: 'a23c61ecdf87f217d94264e93318de8020e30fc7', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { "aria-hidden": "true", svgTitle: `tds-step-icon-${this.stepperId}`, class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { "aria-hidden": "true", class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: '0366447fa1a632cc011de046eaf1577c30bca23f', "aria-hidden": "true", class: `label ${this.size} ${this.state}` }, h("slot", { key: '4cc352a04e2851c9517099a974451cc75ed4d87e', name: "label" }))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "tds-step"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,12 +60,12 @@ export class TdsTableBody {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '1a7e07924ed9f36b8c4359789148963ab3851ae7', "data-selected-rows": this.multiselectArrayJSON, class: {
|
|
64
64
|
'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
|
|
65
65
|
'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
|
|
66
66
|
'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
|
|
67
67
|
'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
|
|
68
|
-
} }, h("slot", { key: '
|
|
68
|
+
} }, h("slot", { key: 'a8da63114252a56f50b4823baf90a9eae0eb414b' })));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "tds-table-body"; }
|
|
71
71
|
static get originalStyleUrls() {
|
|
@@ -83,13 +83,13 @@ export class TdsTableBodyCell {
|
|
|
83
83
|
// Conditionally set padding style
|
|
84
84
|
padding: paddingStyle,
|
|
85
85
|
};
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '353d08afb49ccbae4a9e96212491770089670eb1', class: {
|
|
87
87
|
'tds-table__body-cell': true,
|
|
88
88
|
'tds-table__body-cell--hover': this.activeSorting,
|
|
89
89
|
'tds-table__compact': this.compactDesign,
|
|
90
90
|
'tds-table--divider': this.verticalDividers,
|
|
91
91
|
'tds-table--no-min-width': this.noMinWidth,
|
|
92
|
-
}, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: '
|
|
92
|
+
}, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: 'f95a7ad598989fa63646a80a2cc30a46583e1f93' })));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "tds-body-cell"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js
CHANGED
|
@@ -81,11 +81,11 @@ export class TdsTableBodyInputWrapper {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '9fabe030017ee975b37b1d0c26adbffa092bb739', class: {
|
|
85
85
|
'focused-input-wrapper': this.inputFocused,
|
|
86
86
|
'show-icon': this.showIcon,
|
|
87
87
|
'tds-table__compact': this.compactDesign,
|
|
88
|
-
} }, this.renderSlot && h("slot", { key: '
|
|
88
|
+
} }, this.renderSlot && h("slot", { key: 'bf8e229f4e82bf5cfff7f10e6a42122c55c571a3', onSlotchange: () => this.handleSlotChange() }), this.showIcon && h("tds-icon", { key: '1f03e14af874769b376c3fb3c631791d80bb8eef', class: "edit-icon", slot: "icon", size: "16px", name: "edit" })));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "tds-table-body-input-wrapper"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -68,13 +68,13 @@ export class TdsTableBodyRow {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '7ba4597616440e7767243890c79864259f494809', tabindex: this.clickable ? '0' : null, class: {
|
|
72
72
|
'tds-table__row': true,
|
|
73
73
|
'tds-table__row--selected': this.selected,
|
|
74
74
|
'tds-table__compact': this.compactDesign,
|
|
75
75
|
'tds-table--divider': this.verticalDividers,
|
|
76
76
|
'tds-table__row--clickable': this.clickable,
|
|
77
|
-
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '
|
|
77
|
+
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: 'd21a3062ed62bf5f3ecfbcf0fdecf09164b51a2f', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'c77ff16d0a994cc06ea7cb2268e519b86d64f085', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: 'f17bed1fc5675e091e18d51745f654189773f11d' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "tds-table-body-row"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -101,26 +101,26 @@ export class TdsTableBodyRowExpandable {
|
|
|
101
101
|
this.sendValue();
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: 'ce2f0459371d7b5ae0e61850a023eb550ea1918b', class: {
|
|
105
105
|
'tds-table__row': true,
|
|
106
106
|
'tds-table__row-expand--active': this.isExpanded,
|
|
107
107
|
'tds-table__compact': this.compactDesign,
|
|
108
108
|
'tds-table--divider': this.verticalDividers,
|
|
109
|
-
} }, h("tr", { key: '
|
|
109
|
+
} }, h("tr", { key: '945cc2da086748eeb743c2b953cbc2439187ff2a', id: `expandable-content-${this.rowId}`, class: {
|
|
110
110
|
'tds-table__row': true,
|
|
111
111
|
'tds-table__row--expanded': this.isExpanded,
|
|
112
|
-
}, part: "row" }, h("td", { key: '
|
|
112
|
+
}, part: "row" }, h("td", { key: 'f6ef8298bf105ca9d2f3370f82ac374237b67a41', class: {
|
|
113
113
|
'tds-table__cell-expand': true,
|
|
114
|
-
} }, h("label", { key: '
|
|
114
|
+
} }, h("label", { key: '9952502bf560b48421ee37ae122ece5f0da3ef97', class: "tds-table__expand-control-container" }, h("input", { key: 'a7369527c6b2ef079837c63b22274dda8e62fefc', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: 'de8cc51db3ea6d5ff6936fe34664d5d96fc60ab3', class: "tds-expendable-row-icon" }, h("svg", { key: '62b247929999b2a01f05592826835bd70048d370', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '843c725fd0f9404752d4f4e7694c342f44f687c5', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '210f15581be86a7b1ec185eddb3127052011b5dd' })), h("tr", { key: 'e5093efd395986a9756d8642e9df1acf61102bae', class: {
|
|
115
115
|
'tds-table__row-expand': true,
|
|
116
116
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
117
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
117
|
+
}, part: "expand-row" }, h("td", { key: 'e3c982507e9a9e9d188c546d28b2eaf1a35ea483', class: {
|
|
118
118
|
'tds-table__cell-expand': true,
|
|
119
119
|
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
120
120
|
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
121
|
-
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '
|
|
121
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'f56682afa6d59fd03d42526859309e286458b539', style: {
|
|
122
122
|
overflow: this.overflow,
|
|
123
|
-
} }, h("slot", { key: '
|
|
123
|
+
} }, h("slot", { key: '722cbdebb09838b5e1ea045f6d3066d24368e419', name: "expand-row" }))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,12 +127,12 @@ export class TdsTableFooter {
|
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
129
|
var _a;
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: 'ef10157de8bd21d020eab709b8b1cfbd0497cf12', class: {
|
|
131
131
|
'tds-table--compact': this.compactDesign,
|
|
132
132
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
133
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
133
|
+
}, style: this.getStyles() }, h("tr", { key: '25987ea6cf6cdb1116fa1a18303553e168675a26', class: "tds-table__footer-row" }, h("td", { key: 'dc2e516eb866d3f8618593cb902b1616be26702e', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '1f72626867f49dd3dfb6a75d1c5c9ae442a5dca0', class: "tds-table__pagination" }, h("div", { key: '46c99c1e03eaa2c72b01b5476097f67542dcf873', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '4126adc0bc4629e7f9244c5f74fa9c03b8ca9475', class: "rows-per-page" }, h("p", { key: '795fe282730d46353c66c3aca916760d7bf5ad56' }, "Rows per page"), h("tds-dropdown", { key: '43e70ffc5418c48d87fb69c7b070d84ac78b4a2e', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
134
134
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
135
|
-
}))))), h("div", { key: '
|
|
135
|
+
}))))), h("div", { key: '8e5ad50f7acde8786633ae3e1bfc743e3dcff64c', class: "tds-table__page-selector" }, h("input", { key: 'fd91b13f5c9c9ef0a6ecce7613cf9e1805c90a60', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "rtl", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '6a14f3235cf6d95e7b733b424c94a91304ea9a6e', class: "tds-table__footer-text" }, "of ", h("span", { key: 'b844edce0c9d68ba0a4b3bcf95be7b6acbb17616' }, this.pages), " pages"), h("button", { key: 'f808fa27c7ce60ec963355442550b2ee4b684254', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '8b795215e40ff0f5dffd3c053c791b9bc19035aa', name: "skip_backwards", size: "20px" })), h("button", { key: 'f30422518268f30195f8411b70c91dd58cd8ea3c', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '2d024cea17fd5a7e021fc0c7e244ffaecdb10062', name: "chevron_left", size: "20px" })), h("button", { key: 'c6e8733c92c9d36fe807916c1af69e2f0e3a9604', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '23e0c5bd4c97ded51a5d346e1492997dedf77fa5', name: "chevron_right", size: "20px" })), h("button", { key: '81fcc39bbf208f610d06151614c90fbd0bb1951e', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: 'ce19da46b8345c9ceb69ff2e775a85d78ad3b6fb', name: "skip_forward", size: "20px" })))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tds-table-footer"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '75f1971a9e5da0235c05bd6df404e00ef5e00ebe', class: {
|
|
86
86
|
'tds-table--compact': this.compactDesign,
|
|
87
87
|
'tds-table--divider': this.verticalDividers,
|
|
88
88
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
89
|
-
} }, h("tr", { key: '
|
|
89
|
+
} }, h("tr", { key: 'b5a11da2da4150e10670bd337d54a52ff374f0c4' }, this.multiselect && (h("th", { key: '4e3306cac508165e6275f1d25003ded464f46d96', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '3a56745e002253a5c5600f84c1ca5079a7f3b337', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'fdcaf57c308efe9fef3ac0769903cd0803b48b71', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: 'fa98bc0ad7ae71ab5e0dc68aee1d75ca36b1e83a', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '0b5f62c41e92984f42db820a57a89be2f5a57993' }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "tds-table-header"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@ export class TdsTableHeaderCell {
|
|
|
113
113
|
return 'none';
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '18922f48d3b403ee3e1f244ddcc6a56f5cbd3ac2', class: {
|
|
117
117
|
'tds-table__header-cell': true,
|
|
118
118
|
'tds-table__header-cell--sortable': this.sortable,
|
|
119
119
|
'tds-table__header-cell--is-sorted': this.sortedByMyKey,
|
package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TdsTableHeaderInputWrapper {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '13e05f7cd1dbe0a06611ffacc4e4b842d6469eba', class: {
|
|
67
67
|
'focused-input-wrapper': this.inputFocused,
|
|
68
68
|
'show-icon': this.showIcon,
|
|
69
69
|
'tds-table__compact': this.compactDesign,
|
|
@@ -68,10 +68,10 @@ export class TdsTableToolbar {
|
|
|
68
68
|
return styles;
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '7b33de1426988b4bf97d3856c135945859783b6f', class: {
|
|
72
72
|
'tds-table--compact': this.compactDesign,
|
|
73
73
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
74
|
-
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '
|
|
74
|
+
}, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '7c176540ee9476479de7a818de7f46258c94142d', class: "tds-table__upper-bar-flex" }, h("div", { key: '95eef4de54dd8d5507354f695b8420a4951f4c1b', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: 'c58973635367598d3f8b4a52881003157381d94a', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: 'e39d96b2f21a7f1645041acbd99b618debde089e', name: "start" })), h("div", { key: '24df42114518c53b2ed16376272207d02a8631d8', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '58860c836dfd8baecb98f9ee494c34a542bde347', class: "tds-table__searchbar" }, h("input", { key: '418e9cbc47efa12dbef046b08adb4ef676b1b9ca', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '6c090c782535c42fd0e7ccd439835f550ddfaa0b', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: 'e0e115652f69cc8a39d77b2e81f94e7789d868e6', name: "search", size: "20px" })))), h("slot", { key: '50e519e153bcb2d3a56303171e9db06c47735dd6', name: "end" })))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "tds-table-toolbar"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,10 +35,10 @@ export class TdsFolderTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '905e43147cabbdb2bbdf3e9fc934767e2c1fc429', "aria-selected": this.selected }, h("div", { key: '76d42a91d3af1425a33a5cc15bef5d6f721a4c96', class: {
|
|
39
39
|
selected: this.selected,
|
|
40
40
|
disabled: this.disabled,
|
|
41
|
-
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '
|
|
41
|
+
}, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '5d8577fbb00f65b69a6431dc69679cb7c2e9b784' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tds-folder-tab"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -162,9 +162,9 @@ export class TdsFolderTabs {
|
|
|
162
162
|
this.removeEventListenerFromTabs();
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '3a004f2892daa4ecf795bfbb6194cc8ea7b9c89a', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '50a4ece90a4b78b00623b61c509e5ec2f2ab7da3', class: "wrapper", ref: (el) => {
|
|
166
166
|
this.navWrapperElement = el;
|
|
167
|
-
} }, h("button", { key: '
|
|
167
|
+
} }, h("button", { key: '90dc518ee3e0d6cd812f8a422d56df7194c53f31', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '66e45376ed912abc63b581b5439bf6f84e1199eb', name: "chevron_left", size: "20px" })), h("slot", { key: 'd1ec9259a6e3d6e5776fdab80395491c3e771ae7', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'b85b5f3006673aa67a3c87094b31a8cae7646109', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'eef334c52ec845dea3b7473a4b84b7a3cb053846', name: "chevron_right", size: "20px" })))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "tds-folder-tabs"; }
|
|
170
170
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,11 +30,11 @@ export class TdsInlineTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'da941abad830e5fb5db0004d66b05fb1d53f1d26', "aria-selected": this.selected }, h("div", { key: '7ab6002c424dda4e25513164bb6d1dd04607cbf0', class: {
|
|
34
34
|
'inline-tab-item': true,
|
|
35
35
|
'selected': this.selected,
|
|
36
36
|
'disabled': this.disabled,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: '1dfbfd01d9a0e8dff97b5d5af4a136765b99dcff' }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tds-inline-tab"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,9 +169,9 @@ export class TdsInlineTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: '7ea7321faa7f49a67383dfd9629d2ee679a004fc', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '294c6e7522ca34a4eae1bd379870af84e72366f9', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'e932cd2540b51a1a452b11c1d0630a68d79d818f', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'de83215d0aa0526d6bc6f37fe922b1e0b79b9fe9', name: "chevron_left", size: "20px" })), h("slot", { key: '187bb660c592992e98ce1eb73671e641e7f25642', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '0285a00869154edba228b473609f555964570690', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '2e7fccd7823e47105248ee1e97aba623409f7e3c', name: "chevron_right", size: "20px" })))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "tds-inline-tabs"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
34
|
-
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '
|
|
33
|
+
return (h(Host, { key: 'b4cd140a8267485566719cd26c66ae2e9a0a6b5c' }, h("div", { key: 'd8f94aca25079426436da1918d9e0ef1c6e94560', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
|
|
34
|
+
${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '95a56fbbb701726994b5dc91309401f5d70aee36' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tds-navigation-tab"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -169,15 +169,15 @@ export class TdsNavigationTabs {
|
|
|
169
169
|
this.removeEventListenerFromTabs();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: 'c05fdc4edba8e4863a01a8f8ddfb612d836d015e', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '5a19c88129168e18bbf0e9c01d75536e38f3f9cb', class: "wrapper", ref: (el) => {
|
|
173
173
|
this.navWrapperElement = el;
|
|
174
|
-
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '
|
|
174
|
+
}, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '479fa60c5acda8497eb76e14377c3bd58e374c8b', "aria-label": this.tdsScrollLeftAriaLabel, class: {
|
|
175
175
|
'scroll-left-button': true,
|
|
176
176
|
'show': this.showLeftScroll,
|
|
177
|
-
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '
|
|
177
|
+
}, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '2966dfb37f0912fe60e5528736a505043a7060cf', name: "chevron_left", size: "20px" })), h("slot", { key: 'b73673566f5cd2834590b5283fa82e83c61c35ec', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '85e4ea10f52b287116195226a379722fad59a880', "aria-label": this.tdsScrollRightAriaLabel, class: {
|
|
178
178
|
'scroll-right-button': true,
|
|
179
179
|
'show': this.showRightScroll,
|
|
180
|
-
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '
|
|
180
|
+
}, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '987796cbfbddd0b1f998526da9923884440e0c11', name: "chevron_right", size: "20px" })))));
|
|
181
181
|
}
|
|
182
182
|
static get is() { return "tds-navigation-tabs"; }
|
|
183
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
/* Typography Usage mixins */
|
|
2
2
|
/* Centralized map of typography types */
|
|
3
3
|
/* Utility mixin */
|
|
4
|
+
/* Typography Usage mixins */
|
|
5
|
+
/* Centralized map of typography types */
|
|
6
|
+
/* Utility mixin */
|
|
7
|
+
:host {
|
|
8
|
+
--tds-scrollbar-width-standard: thin;
|
|
9
|
+
--tds-scrollbar-width: 10px;
|
|
10
|
+
--tds-scrollbar-height: 10px;
|
|
11
|
+
--tds-scrollbar-thumb-border-width: 3px;
|
|
12
|
+
--tds-scrollbar-thumb-border-hover-width: 2px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
body {
|
|
16
|
+
scrollbar-width: thin;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@keyframes tds-shake-animation {
|
|
20
|
+
10%, 90% {
|
|
21
|
+
transform: translate3d(-1px, 0, 0);
|
|
22
|
+
}
|
|
23
|
+
20%, 80% {
|
|
24
|
+
transform: translate3d(2px, 0, 0);
|
|
25
|
+
}
|
|
26
|
+
30%, 50%, 70% {
|
|
27
|
+
transform: translate3d(-4px, 0, 0);
|
|
28
|
+
}
|
|
29
|
+
40%, 60% {
|
|
30
|
+
transform: translate3d(4px, 0, 0);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
4
33
|
.text-field-input {
|
|
5
34
|
all: unset;
|
|
6
35
|
border-radius: var(--text-field-border-radius);
|
|
@@ -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: '8755d2f9fbbae4ba86587d0ff759b303a8933c87', 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: '5ea1087cce259d7fa7831520cfad2b61eb2b6977', class: "text-field-label-outside" }, h("label", { key: 'aa93180025a17cdd68c53a62c0f92d9c608a2fd4', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '7eea38fdd39d7a5d409595eff4831352316bbd06', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: 'bf93437bf95aefc5c458182bffdc28bae2e39204', 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: '1c29047bfcce9bc92bab6d0805a4490fb8f3b1b0', name: "prefix" }))), h("div", { key: '2c3eb1a0a58deecf78ae84c040e34ca26b891dee', class: "text-field-input-container" }, h("input", { key: 'cd537efca0ae390d6a72f5d17df89c5b9e79872a', ref: (inputEl) => {
|
|
103
103
|
this.textInput = inputEl;
|
|
104
104
|
}, class: {
|
|
105
105
|
'text-field-input': true,
|
|
@@ -114,16 +114,16 @@ 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: '
|
|
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: 'd211a62fdc2f3eb1d343eb27dd728554132a6664', class: {
|
|
118
118
|
'text-field-label-inside': true,
|
|
119
119
|
'text-field-label-inside-placeholder': this.placeholder === '',
|
|
120
|
-
}, htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: '
|
|
120
|
+
}, htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: '189eecde9dace623bf724220ac1c9fc3f024c7a3', class: {
|
|
121
121
|
'text-field-slot-wrap-suffix': true,
|
|
122
122
|
'text-field-error': this.state === 'error',
|
|
123
123
|
'text-field-success': this.state === 'success',
|
|
124
124
|
'text-field-default': this.state === 'default',
|
|
125
125
|
'tds-u-display-none': this.readOnly,
|
|
126
|
-
} }, h("slot", { key: '
|
|
126
|
+
} }, h("slot", { key: '14aba4f9a131fed1b71317dc6e167923fc4dfb30', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '923b49e0906c68e29e4d2ef7f0f74a52a29d0c9d', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: '30651b869b7618edfc99d70da97386a875a456f0', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: 'e9d4f090f8de0be64567e21ff998bd9c152f69e8', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: '8b04bf35b202ae1023025bf84eaf2b185f1511ec', class: "text-field-bar" }), h("div", { key: 'd607d23d4f3559e9655cf65b4146ade9cec96174', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'e6bd818f42a23ba0b9e23c6379748efd2c80faae', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '6646975561f9f59017b648f50cf7384bdbced8b2', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'ff633a41fec84da6b59ee3896d4cd7e60932c9e6', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: '01295a87689d2a535b86d1f83753958adb0a3a3b', class: {
|
|
127
127
|
'text-field-textcounter-divider': true,
|
|
128
128
|
'text-field-textcounter-disabled': this.disabled,
|
|
129
129
|
} }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
|
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
/* Typography Usage mixins */
|
|
2
2
|
/* Centralized map of typography types */
|
|
3
3
|
/* Utility mixin */
|
|
4
|
+
:host {
|
|
5
|
+
--tds-scrollbar-width-standard: thin;
|
|
6
|
+
--tds-scrollbar-width: 10px;
|
|
7
|
+
--tds-scrollbar-height: 10px;
|
|
8
|
+
--tds-scrollbar-thumb-border-width: 3px;
|
|
9
|
+
--tds-scrollbar-thumb-border-hover-width: 2px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
body {
|
|
13
|
+
scrollbar-width: thin;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@keyframes tds-shake-animation {
|
|
17
|
+
10%, 90% {
|
|
18
|
+
transform: translate3d(-1px, 0, 0);
|
|
19
|
+
}
|
|
20
|
+
20%, 80% {
|
|
21
|
+
transform: translate3d(2px, 0, 0);
|
|
22
|
+
}
|
|
23
|
+
30%, 50%, 70% {
|
|
24
|
+
transform: translate3d(-4px, 0, 0);
|
|
25
|
+
}
|
|
26
|
+
40%, 60% {
|
|
27
|
+
transform: translate3d(4px, 0, 0);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
4
30
|
.textarea-container {
|
|
5
31
|
border-radius: var(--textarea-border-radius);
|
|
6
32
|
position: relative;
|
|
@@ -221,6 +247,7 @@
|
|
|
221
247
|
|
|
222
248
|
.textarea-disabled {
|
|
223
249
|
cursor: not-allowed;
|
|
250
|
+
background-color: var(--textarea-disabled-background);
|
|
224
251
|
}
|
|
225
252
|
.textarea-disabled .textarea-input {
|
|
226
253
|
box-shadow: var(--textarea-box-shadow-disabled);
|