@scania/tegel 1.40.0 → 1.41.0-beta.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.
Files changed (522) hide show
  1. package/dist/cjs/index-CxAGLnpY.js +2414 -0
  2. package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
  3. package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +3 -6
  5. package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
  6. package/dist/cjs/tds-accordion.cjs.entry.js +4 -5
  7. package/dist/cjs/tds-badge.cjs.entry.js +6 -5
  8. package/dist/cjs/tds-banner.cjs.entry.js +18 -14
  9. package/dist/cjs/tds-block.cjs.entry.js +4 -5
  10. package/dist/cjs/tds-body-cell.cjs.entry.js +3 -9
  11. package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
  12. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
  13. package/dist/cjs/tds-button_2.cjs.entry.js +13 -12
  14. package/dist/cjs/tds-card.cjs.entry.js +28 -19
  15. package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
  16. package/dist/cjs/tds-chip.cjs.entry.js +18 -15
  17. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +7 -8
  18. package/dist/cjs/tds-datetime.cjs.entry.js +27 -23
  19. package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -58
  20. package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
  21. package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
  22. package/dist/cjs/tds-footer-group.cjs.entry.js +6 -11
  23. package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
  24. package/dist/cjs/tds-footer.cjs.entry.js +5 -7
  25. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -5
  26. package/dist/cjs/tds-header-cell.cjs.entry.js +18 -22
  27. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +4 -5
  28. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -9
  29. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -8
  30. package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -12
  31. package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -8
  32. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +6 -8
  33. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -5
  34. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -6
  35. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -8
  36. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -5
  37. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -6
  38. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
  39. package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -13
  40. package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
  41. package/dist/cjs/tds-header.cjs.entry.js +4 -7
  42. package/dist/cjs/tds-icon.cjs.entry.js +10 -12
  43. package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
  44. package/dist/cjs/tds-inline-tabs.cjs.entry.js +16 -15
  45. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  46. package/dist/cjs/tds-message.cjs.entry.js +14 -14
  47. package/dist/cjs/tds-modal.cjs.entry.js +19 -19
  48. package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
  49. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
  50. package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
  51. package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
  52. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
  53. package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
  54. package/dist/cjs/tds-radio-button.cjs.entry.js +11 -14
  55. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
  56. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +3 -6
  57. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -5
  58. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -5
  59. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -7
  60. package/dist/cjs/tds-side-menu-item.cjs.entry.js +6 -6
  61. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -5
  62. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -11
  63. package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -9
  64. package/dist/cjs/tds-side-menu.cjs.entry.js +15 -12
  65. package/dist/cjs/tds-slider.cjs.entry.js +39 -24
  66. package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
  67. package/dist/cjs/tds-step.cjs.entry.js +3 -11
  68. package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
  69. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
  70. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +11 -7
  71. package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -5
  72. package/dist/cjs/tds-table-body.cjs.entry.js +7 -11
  73. package/dist/cjs/tds-table-footer.cjs.entry.js +21 -17
  74. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +3 -5
  75. package/dist/cjs/tds-table-header.cjs.entry.js +5 -6
  76. package/dist/cjs/tds-table-toolbar.cjs.entry.js +5 -5
  77. package/dist/cjs/tds-table.cjs.entry.js +21 -7
  78. package/dist/cjs/tds-tag.cjs.entry.js +5 -7
  79. package/dist/cjs/tds-text-field.cjs.entry.js +22 -13
  80. package/dist/cjs/tds-textarea.cjs.entry.js +16 -13
  81. package/dist/cjs/tds-toast.cjs.entry.js +16 -16
  82. package/dist/cjs/tds-toggle.cjs.entry.js +13 -14
  83. package/dist/cjs/tds-tooltip.cjs.entry.js +23 -25
  84. package/dist/cjs/tegel.cjs.js +7 -8
  85. package/dist/collection/collection-manifest.json +2 -2
  86. package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
  87. package/dist/collection/components/accordion/accordion.js +8 -2
  88. package/dist/collection/components/badge/badge.js +16 -4
  89. package/dist/collection/components/banner/banner.js +39 -18
  90. package/dist/collection/components/block/block.js +8 -2
  91. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
  92. package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
  93. package/dist/collection/components/button/button.js +44 -19
  94. package/dist/collection/components/card/card.js +64 -28
  95. package/dist/collection/components/checkbox/checkbox.js +41 -22
  96. package/dist/collection/components/chip/chip.js +41 -19
  97. package/dist/collection/components/datetime/datetime.js +76 -37
  98. package/dist/collection/components/divider/divider.js +8 -2
  99. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +34 -21
  100. package/dist/collection/components/dropdown/dropdown.css +3 -1
  101. package/dist/collection/components/dropdown/dropdown.js +113 -55
  102. package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
  103. package/dist/collection/components/footer/footer-group/footer-group.js +10 -8
  104. package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
  105. package/dist/collection/components/footer/footer.js +5 -2
  106. package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -12
  107. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +4 -2
  108. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
  109. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
  110. package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
  111. package/dist/collection/components/header/header-item/header-item.js +9 -2
  112. package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
  113. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
  114. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
  115. package/dist/collection/components/header/header-title/header-title.css +2 -0
  116. package/dist/collection/components/icon/icon.js +26 -15
  117. package/dist/collection/components/link/link.js +12 -3
  118. package/dist/collection/components/message/message.css +2 -1
  119. package/dist/collection/components/message/message.js +33 -16
  120. package/dist/collection/components/modal/modal.css +54 -10
  121. package/dist/collection/components/modal/modal.js +44 -23
  122. package/dist/collection/components/popover-canvas/popover-canvas.js +49 -18
  123. package/dist/collection/components/popover-core/popover-core.js +68 -42
  124. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
  125. package/dist/collection/components/popover-menu/popover-menu.js +46 -18
  126. package/dist/collection/components/radio-button/radio-button.js +36 -20
  127. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
  128. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +16 -7
  129. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +4 -1
  130. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -2
  131. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
  132. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  133. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  134. package/dist/collection/components/side-menu/side-menu.js +22 -10
  135. package/dist/collection/components/slider/slider.js +90 -36
  136. package/dist/collection/components/spinner/spinner.js +8 -2
  137. package/dist/collection/components/stepper/step/step.js +12 -11
  138. package/dist/collection/components/stepper/stepper.js +28 -6
  139. package/dist/collection/components/table/table/table.js +49 -12
  140. package/dist/collection/components/table/table-body/table-body.js +5 -6
  141. package/dist/collection/components/table/table-body-cell/table-body-cell.js +16 -11
  142. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
  143. package/dist/collection/components/table/table-body-row/table-body-row.js +12 -3
  144. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +27 -8
  145. package/dist/collection/components/table/table-footer/table-footer.js +36 -17
  146. package/dist/collection/components/table/table-header/table-header.js +16 -6
  147. package/dist/collection/components/table/table-header-cell/table-header-cell.js +40 -27
  148. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +7 -2
  149. package/dist/collection/components/table/table-toolbar/table-toolbar.js +12 -3
  150. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
  151. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
  152. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
  153. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
  154. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
  155. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
  156. package/dist/collection/components/tag/tag.js +12 -5
  157. package/dist/collection/components/text-field/text-field.js +85 -31
  158. package/dist/collection/components/textarea/textarea.js +68 -28
  159. package/dist/collection/components/toast/toast.js +42 -21
  160. package/dist/collection/components/toggle/toggle.js +37 -19
  161. package/dist/collection/components/tooltip/tooltip.js +55 -32
  162. package/dist/collection/utils/dom.js +7 -0
  163. package/dist/components/index.js +1825 -1
  164. package/dist/components/{p-63552d0e.js → p-1YnjaUCy.js} +25 -15
  165. package/dist/components/{p-3308d5fa.js → p-8koCGAVT.js} +45 -37
  166. package/dist/components/{p-7c3348eb.js → p-BHBgkUfr.js} +12 -8
  167. package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
  168. package/dist/components/{p-2a2d66fe.js → p-BhQM9_yR.js} +49 -43
  169. package/dist/components/{p-1dafdc8c.js → p-BxmFjTxG.js} +11 -7
  170. package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
  171. package/dist/components/{p-f7d94947.js → p-CPDv0bBc.js} +15 -13
  172. package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
  173. package/dist/components/{p-c62b61fe.js → p-ChCWm6If.js} +15 -11
  174. package/dist/components/{p-3a7e4d0d.js → p-ChGLhiqn.js} +30 -17
  175. package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
  176. package/dist/components/{p-d10d21bd.js → p-D1ati-pM.js} +13 -11
  177. package/dist/components/{p-04a014cf.js → p-DZDx1Si2.js} +29 -27
  178. package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
  179. package/dist/components/{p-6ef207b2.js → p-Ee9QeMgy.js} +40 -25
  180. package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
  181. package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
  182. package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  183. package/dist/components/{p-9336db16.js → p-QnvG_QPu.js} +9 -8
  184. package/dist/components/tds-accordion-item.js +15 -8
  185. package/dist/components/tds-accordion.js +9 -6
  186. package/dist/components/tds-badge.js +11 -6
  187. package/dist/components/tds-banner.js +24 -16
  188. package/dist/components/tds-block.js +9 -6
  189. package/dist/components/tds-body-cell.js +8 -10
  190. package/dist/components/tds-breadcrumb.js +8 -6
  191. package/dist/components/tds-breadcrumbs.js +7 -7
  192. package/dist/components/tds-button.js +1 -1
  193. package/dist/components/tds-card.js +36 -23
  194. package/dist/components/tds-checkbox.js +1 -1
  195. package/dist/components/tds-chip.js +23 -16
  196. package/dist/components/tds-core-header-item.js +1 -1
  197. package/dist/components/tds-datetime.js +33 -25
  198. package/dist/components/tds-divider.js +1 -1
  199. package/dist/components/tds-dropdown-option.js +1 -1
  200. package/dist/components/tds-dropdown.js +1 -1
  201. package/dist/components/tds-folder-tab.js +8 -7
  202. package/dist/components/tds-folder-tabs.js +21 -17
  203. package/dist/components/tds-footer-group.js +12 -13
  204. package/dist/components/tds-footer-item.js +8 -7
  205. package/dist/components/tds-footer.js +10 -8
  206. package/dist/components/tds-header-brand-symbol.js +9 -8
  207. package/dist/components/tds-header-cell.js +24 -24
  208. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  209. package/dist/components/tds-header-dropdown-list-user.js +7 -10
  210. package/dist/components/tds-header-dropdown-list.js +1 -1
  211. package/dist/components/tds-header-dropdown.js +18 -18
  212. package/dist/components/tds-header-hamburger.js +11 -11
  213. package/dist/components/tds-header-item.js +1 -1
  214. package/dist/components/tds-header-launcher-button.js +1 -1
  215. package/dist/components/tds-header-launcher-grid-item.js +7 -6
  216. package/dist/components/tds-header-launcher-grid-title.js +8 -7
  217. package/dist/components/tds-header-launcher-grid.js +8 -8
  218. package/dist/components/tds-header-launcher-list-item.js +8 -7
  219. package/dist/components/tds-header-launcher-list-title.js +8 -7
  220. package/dist/components/tds-header-launcher-list.js +8 -6
  221. package/dist/components/tds-header-launcher.js +18 -19
  222. package/dist/components/tds-header-title.js +8 -7
  223. package/dist/components/tds-header.js +8 -7
  224. package/dist/components/tds-icon.js +1 -1
  225. package/dist/components/tds-inline-tab.js +8 -6
  226. package/dist/components/tds-inline-tabs.js +22 -17
  227. package/dist/components/tds-link.js +10 -6
  228. package/dist/components/tds-message.js +20 -16
  229. package/dist/components/tds-modal.js +25 -21
  230. package/dist/components/tds-navigation-tab.js +8 -6
  231. package/dist/components/tds-navigation-tabs.js +24 -19
  232. package/dist/components/tds-popover-canvas.js +1 -1
  233. package/dist/components/tds-popover-core.js +1 -1
  234. package/dist/components/tds-popover-menu-item.js +8 -6
  235. package/dist/components/tds-popover-menu.js +24 -15
  236. package/dist/components/tds-radio-button.js +16 -15
  237. package/dist/components/tds-side-menu-close-button.js +9 -8
  238. package/dist/components/tds-side-menu-collapse-button.js +9 -8
  239. package/dist/components/tds-side-menu-dropdown-list-item.js +8 -6
  240. package/dist/components/tds-side-menu-dropdown-list.js +7 -6
  241. package/dist/components/tds-side-menu-dropdown.js +12 -10
  242. package/dist/components/tds-side-menu-item.js +1 -1
  243. package/dist/components/tds-side-menu-overlay.js +7 -6
  244. package/dist/components/tds-side-menu-user-image.js +1 -1
  245. package/dist/components/tds-side-menu-user-label.js +1 -1
  246. package/dist/components/tds-side-menu-user.js +9 -12
  247. package/dist/components/tds-side-menu.js +20 -13
  248. package/dist/components/tds-slider.js +48 -29
  249. package/dist/components/tds-spinner.js +9 -6
  250. package/dist/components/tds-step.js +9 -13
  251. package/dist/components/tds-stepper.js +18 -7
  252. package/dist/components/tds-table-body-input-wrapper.js +10 -8
  253. package/dist/components/tds-table-body-row-expandable.js +16 -8
  254. package/dist/components/tds-table-body-row.js +11 -7
  255. package/dist/components/tds-table-body.js +12 -12
  256. package/dist/components/tds-table-footer.js +30 -22
  257. package/dist/components/tds-table-header-input-wrapper.js +9 -7
  258. package/dist/components/tds-table-header.js +11 -8
  259. package/dist/components/tds-table-toolbar.js +11 -7
  260. package/dist/components/tds-table.js +26 -8
  261. package/dist/components/tds-tag.js +10 -8
  262. package/dist/components/tds-text-field.js +1 -1
  263. package/dist/components/tds-textarea.js +24 -17
  264. package/dist/components/tds-toast.js +22 -18
  265. package/dist/components/tds-toggle.js +18 -15
  266. package/dist/components/tds-tooltip.js +1 -1
  267. package/dist/esm/index-BqRtRha-.js +2385 -0
  268. package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
  269. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  270. package/dist/esm/loader.js +3 -4
  271. package/dist/esm/tds-accordion-item.entry.js +9 -4
  272. package/dist/esm/tds-accordion.entry.js +4 -3
  273. package/dist/esm/tds-badge.entry.js +6 -3
  274. package/dist/esm/tds-banner.entry.js +18 -12
  275. package/dist/esm/tds-block.entry.js +4 -3
  276. package/dist/esm/tds-body-cell.entry.js +3 -7
  277. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  278. package/dist/esm/tds-breadcrumbs.entry.js +2 -4
  279. package/dist/esm/tds-button_2.entry.js +13 -10
  280. package/dist/esm/tds-card.entry.js +28 -17
  281. package/dist/esm/tds-checkbox.entry.js +13 -13
  282. package/dist/esm/tds-chip.entry.js +18 -13
  283. package/dist/esm/tds-core-header-item_2.entry.js +7 -6
  284. package/dist/esm/tds-datetime.entry.js +27 -21
  285. package/dist/esm/tds-dropdown_2.entry.js +73 -56
  286. package/dist/esm/tds-folder-tab.entry.js +3 -4
  287. package/dist/esm/tds-folder-tabs.entry.js +15 -13
  288. package/dist/esm/tds-footer-group.entry.js +6 -9
  289. package/dist/esm/tds-footer-item.entry.js +3 -4
  290. package/dist/esm/tds-footer.entry.js +5 -5
  291. package/dist/esm/tds-header-brand-symbol.entry.js +2 -3
  292. package/dist/esm/tds-header-cell.entry.js +18 -20
  293. package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
  294. package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
  295. package/dist/esm/tds-header-dropdown-list.entry.js +5 -6
  296. package/dist/esm/tds-header-dropdown.entry.js +8 -10
  297. package/dist/esm/tds-header-hamburger.entry.js +4 -6
  298. package/dist/esm/tds-header-launcher-button.entry.js +6 -6
  299. package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
  300. package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
  301. package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
  302. package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
  303. package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
  304. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  305. package/dist/esm/tds-header-launcher.entry.js +8 -11
  306. package/dist/esm/tds-header-title.entry.js +3 -4
  307. package/dist/esm/tds-header.entry.js +4 -5
  308. package/dist/esm/tds-icon.entry.js +10 -10
  309. package/dist/esm/tds-inline-tab.entry.js +3 -3
  310. package/dist/esm/tds-inline-tabs.entry.js +16 -13
  311. package/dist/esm/tds-link.entry.js +5 -3
  312. package/dist/esm/tds-message.entry.js +14 -12
  313. package/dist/esm/tds-modal.entry.js +19 -17
  314. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  315. package/dist/esm/tds-navigation-tabs.entry.js +18 -15
  316. package/dist/esm/tds-popover-canvas.entry.js +19 -11
  317. package/dist/esm/tds-popover-core.entry.js +40 -34
  318. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  319. package/dist/esm/tds-popover-menu.entry.js +18 -11
  320. package/dist/esm/tds-radio-button.entry.js +11 -12
  321. package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
  322. package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -4
  323. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
  324. package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -3
  325. package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
  326. package/dist/esm/tds-side-menu-item.entry.js +6 -4
  327. package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
  328. package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
  329. package/dist/esm/tds-side-menu-user.entry.js +2 -7
  330. package/dist/esm/tds-side-menu.entry.js +15 -10
  331. package/dist/esm/tds-slider.entry.js +39 -22
  332. package/dist/esm/tds-spinner.entry.js +4 -3
  333. package/dist/esm/tds-step.entry.js +3 -9
  334. package/dist/esm/tds-stepper.entry.js +13 -4
  335. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  336. package/dist/esm/tds-table-body-row-expandable.entry.js +11 -5
  337. package/dist/esm/tds-table-body-row.entry.js +5 -3
  338. package/dist/esm/tds-table-body.entry.js +7 -9
  339. package/dist/esm/tds-table-footer.entry.js +21 -15
  340. package/dist/esm/tds-table-header-input-wrapper.entry.js +3 -3
  341. package/dist/esm/tds-table-header.entry.js +5 -4
  342. package/dist/esm/tds-table-toolbar.entry.js +5 -3
  343. package/dist/esm/tds-table.entry.js +21 -5
  344. package/dist/esm/tds-tag.entry.js +5 -5
  345. package/dist/esm/tds-text-field.entry.js +22 -11
  346. package/dist/esm/tds-textarea.entry.js +16 -11
  347. package/dist/esm/tds-toast.entry.js +16 -14
  348. package/dist/esm/tds-toggle.entry.js +13 -12
  349. package/dist/esm/tds-tooltip.entry.js +23 -23
  350. package/dist/esm/tegel.js +5 -5
  351. package/dist/tegel/p-03ff8648.entry.js +1 -0
  352. package/dist/tegel/{p-743d4f07.entry.js → p-08ef673e.entry.js} +1 -1
  353. package/dist/tegel/{p-f2318c88.entry.js → p-0cd740b9.entry.js} +1 -1
  354. package/dist/tegel/{p-87219f00.entry.js → p-15c69748.entry.js} +1 -1
  355. package/dist/tegel/{p-24a76927.entry.js → p-192332e7.entry.js} +1 -1
  356. package/dist/tegel/{p-09cd056c.entry.js → p-206d4703.entry.js} +1 -1
  357. package/dist/tegel/{p-b734b309.entry.js → p-20b5c366.entry.js} +1 -1
  358. package/dist/tegel/{p-2faeb483.entry.js → p-299e0e56.entry.js} +1 -1
  359. package/dist/tegel/{p-fd15ced7.entry.js → p-2a1342d8.entry.js} +1 -1
  360. package/dist/tegel/p-312c49f8.entry.js +1 -0
  361. package/dist/tegel/p-342052b9.entry.js +1 -0
  362. package/dist/tegel/p-348f3bad.entry.js +1 -0
  363. package/dist/tegel/p-3806a0e4.entry.js +1 -0
  364. package/dist/tegel/{p-771f53c2.entry.js → p-3a5588b2.entry.js} +1 -1
  365. package/dist/tegel/p-3ba30c59.entry.js +1 -0
  366. package/dist/tegel/p-3bd99720.entry.js +1 -0
  367. package/dist/tegel/{p-72006dd7.entry.js → p-3de8e52b.entry.js} +1 -1
  368. package/dist/tegel/p-41084e54.entry.js +1 -0
  369. package/dist/tegel/p-41242d2e.entry.js +1 -0
  370. package/dist/tegel/p-43f6c149.entry.js +1 -0
  371. package/dist/tegel/{p-a090bd2f.entry.js → p-4489b7d5.entry.js} +1 -1
  372. package/dist/tegel/p-503abc18.entry.js +1 -0
  373. package/dist/tegel/{p-4b5e15cc.entry.js → p-5bea354f.entry.js} +1 -1
  374. package/dist/tegel/{p-646d1df4.entry.js → p-60cbdc0a.entry.js} +1 -1
  375. package/dist/tegel/p-6253f1d8.entry.js +1 -0
  376. package/dist/tegel/p-6301a8b5.entry.js +1 -0
  377. package/dist/tegel/{p-c163d44f.entry.js → p-648df3a1.entry.js} +1 -1
  378. package/dist/tegel/p-65d43cfd.entry.js +1 -0
  379. package/dist/tegel/p-6d4e71fd.entry.js +1 -0
  380. package/dist/tegel/p-73167867.entry.js +1 -0
  381. package/dist/tegel/{p-51a17707.entry.js → p-73c9a5b3.entry.js} +1 -1
  382. package/dist/tegel/{p-ceed0476.entry.js → p-7cec9df0.entry.js} +1 -1
  383. package/dist/tegel/p-7ef6db3c.entry.js +1 -0
  384. package/dist/tegel/p-83a3ca55.entry.js +1 -0
  385. package/dist/tegel/p-88d3bbbd.entry.js +1 -0
  386. package/dist/tegel/p-8a5df42a.entry.js +1 -0
  387. package/dist/tegel/p-8f1bbe70.entry.js +1 -0
  388. package/dist/tegel/p-9296f0d1.entry.js +1 -0
  389. package/dist/tegel/{p-0e772ad7.entry.js → p-954e6cf0.entry.js} +1 -1
  390. package/dist/tegel/{p-655051b6.entry.js → p-996f0ac5.entry.js} +1 -1
  391. package/dist/tegel/p-9fed9d16.entry.js +1 -0
  392. package/dist/tegel/p-BqRtRha-.js +2 -0
  393. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  394. package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  395. package/dist/tegel/p-a13ecd87.entry.js +1 -0
  396. package/dist/tegel/p-a53cb562.entry.js +1 -0
  397. package/dist/tegel/{p-3c348fcb.entry.js → p-a74d375a.entry.js} +1 -1
  398. package/dist/tegel/p-a8d29ac5.entry.js +1 -0
  399. package/dist/tegel/p-abe630f5.entry.js +1 -0
  400. package/dist/tegel/p-b2934101.entry.js +1 -0
  401. package/dist/tegel/p-b2d9244a.entry.js +1 -0
  402. package/dist/tegel/{p-2766b46f.entry.js → p-b5deab8e.entry.js} +1 -1
  403. package/dist/tegel/p-b901a7e3.entry.js +1 -0
  404. package/dist/tegel/{p-133351b5.entry.js → p-b9cb2eef.entry.js} +1 -1
  405. package/dist/tegel/{p-c2e514b4.entry.js → p-bc4d68b0.entry.js} +1 -1
  406. package/dist/tegel/p-bee62505.entry.js +1 -0
  407. package/dist/tegel/p-c2ae97bb.entry.js +1 -0
  408. package/dist/tegel/p-c2b3bd3c.entry.js +1 -0
  409. package/dist/tegel/{p-88bb1059.entry.js → p-c7c4f528.entry.js} +1 -1
  410. package/dist/tegel/{p-f31f56fe.entry.js → p-d03f33c0.entry.js} +1 -1
  411. package/dist/tegel/p-d0c0c8f3.entry.js +1 -0
  412. package/dist/tegel/p-d1f9c4fd.entry.js +1 -0
  413. package/dist/tegel/p-d28462be.entry.js +1 -0
  414. package/dist/tegel/{p-3450dd6c.entry.js → p-d2b7c692.entry.js} +1 -1
  415. package/dist/tegel/p-d4412e32.entry.js +1 -0
  416. package/dist/tegel/{p-650b98bf.entry.js → p-d659aefa.entry.js} +1 -1
  417. package/dist/tegel/p-d67ff384.entry.js +1 -0
  418. package/dist/tegel/{p-0cfe8671.entry.js → p-d8a35537.entry.js} +1 -1
  419. package/dist/tegel/p-dcd132d5.entry.js +1 -0
  420. package/dist/tegel/{p-c6968db1.entry.js → p-de9f2a0d.entry.js} +1 -1
  421. package/dist/tegel/p-dec2ede0.entry.js +1 -0
  422. package/dist/tegel/{p-d1d45942.entry.js → p-e1daba90.entry.js} +1 -1
  423. package/dist/tegel/p-e5166678.entry.js +1 -0
  424. package/dist/tegel/p-e643c9b3.entry.js +1 -0
  425. package/dist/tegel/{p-8a4837ae.entry.js → p-e777d558.entry.js} +1 -1
  426. package/dist/tegel/p-f0c912af.entry.js +1 -0
  427. package/dist/tegel/p-f3da2bf5.entry.js +1 -0
  428. package/dist/tegel/p-f46be246.entry.js +1 -0
  429. package/dist/tegel/p-f5a7d350.entry.js +1 -0
  430. package/dist/tegel/{p-77cfb0ef.entry.js → p-fa8a4f27.entry.js} +1 -1
  431. package/dist/tegel/{p-987f8f0f.entry.js → p-fb59d675.entry.js} +1 -1
  432. package/dist/tegel/p-ff6da1f1.entry.js +1 -0
  433. package/dist/tegel/tegel.css +3 -3
  434. package/dist/tegel/tegel.esm.js +1 -1
  435. package/dist/types/components/dropdown/dropdown.d.ts +4 -0
  436. package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
  437. package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
  438. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  439. package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
  440. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  441. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  442. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  443. package/dist/types/components.d.ts +551 -4
  444. package/dist/types/stencil-public-runtime.d.ts +86 -4
  445. package/dist/types/utils/dom.d.ts +2 -0
  446. package/package.json +2 -2
  447. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  448. package/dist/cjs/index-ca8040ad.js +0 -2039
  449. package/dist/components/p-28ef5186.js +0 -1507
  450. package/dist/esm/app-globals-0f993ce5.js +0 -3
  451. package/dist/esm/index-51d04e39.js +0 -2009
  452. package/dist/tegel/p-0672ddfc.entry.js +0 -1
  453. package/dist/tegel/p-08ad6a21.entry.js +0 -1
  454. package/dist/tegel/p-08f63e5d.entry.js +0 -1
  455. package/dist/tegel/p-0c9a51d9.entry.js +0 -1
  456. package/dist/tegel/p-177386d5.entry.js +0 -1
  457. package/dist/tegel/p-17bc1e49.entry.js +0 -1
  458. package/dist/tegel/p-1859156f.entry.js +0 -1
  459. package/dist/tegel/p-1b471db7.entry.js +0 -1
  460. package/dist/tegel/p-1f4267a8.entry.js +0 -1
  461. package/dist/tegel/p-2049fab2.js +0 -2
  462. package/dist/tegel/p-28f85555.entry.js +0 -1
  463. package/dist/tegel/p-304f5a5c.entry.js +0 -1
  464. package/dist/tegel/p-3462a7cc.entry.js +0 -1
  465. package/dist/tegel/p-354d3986.entry.js +0 -1
  466. package/dist/tegel/p-3c97cb45.entry.js +0 -1
  467. package/dist/tegel/p-3e6d65ee.entry.js +0 -1
  468. package/dist/tegel/p-445fa788.entry.js +0 -1
  469. package/dist/tegel/p-464469fe.entry.js +0 -1
  470. package/dist/tegel/p-4de2807c.entry.js +0 -1
  471. package/dist/tegel/p-52689019.entry.js +0 -1
  472. package/dist/tegel/p-55f9c79a.entry.js +0 -1
  473. package/dist/tegel/p-57a28f62.entry.js +0 -1
  474. package/dist/tegel/p-5c8fd75e.entry.js +0 -1
  475. package/dist/tegel/p-6b340718.entry.js +0 -1
  476. package/dist/tegel/p-7887bdbb.entry.js +0 -1
  477. package/dist/tegel/p-7b598e60.entry.js +0 -1
  478. package/dist/tegel/p-7ef50e7f.entry.js +0 -1
  479. package/dist/tegel/p-8c2695af.entry.js +0 -1
  480. package/dist/tegel/p-9f187848.entry.js +0 -1
  481. package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
  482. package/dist/tegel/p-a4cbb541.entry.js +0 -1
  483. package/dist/tegel/p-a56436c8.entry.js +0 -1
  484. package/dist/tegel/p-a8abc8d9.entry.js +0 -1
  485. package/dist/tegel/p-ab00e6e4.entry.js +0 -1
  486. package/dist/tegel/p-b210d23c.entry.js +0 -1
  487. package/dist/tegel/p-b7abb81f.entry.js +0 -1
  488. package/dist/tegel/p-bcd5e06d.entry.js +0 -1
  489. package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
  490. package/dist/tegel/p-c23a3f12.entry.js +0 -1
  491. package/dist/tegel/p-ca16f1ed.entry.js +0 -1
  492. package/dist/tegel/p-ca32a270.entry.js +0 -1
  493. package/dist/tegel/p-cc962b6c.entry.js +0 -1
  494. package/dist/tegel/p-cf717912.entry.js +0 -1
  495. package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
  496. package/dist/tegel/p-e1255160.js +0 -1
  497. package/dist/tegel/p-e6e9d11f.entry.js +0 -1
  498. package/dist/tegel/p-e8b58680.entry.js +0 -1
  499. package/dist/tegel/p-f3c32d4d.entry.js +0 -1
  500. package/dist/tegel/p-f8a37d39.entry.js +0 -1
  501. package/loader/package.json +0 -11
  502. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  503. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  504. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  505. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  506. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  507. /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
  508. /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  509. /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  510. /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  511. /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  512. /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
  513. /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
  514. /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
  515. /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
  516. /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
  517. /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
  518. /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  519. /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  520. /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  521. /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  522. /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
@@ -1,9 +1,6 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import inheritAriaAttributes from "../../../utils/inheritAriaAttributes";
3
3
  export class TdsHeaderHamburger {
4
- constructor() {
5
- this.tdsAriaLabel = undefined;
6
- }
7
4
  render() {
8
5
  const inheritedButtonProps = Object.assign({}, inheritAriaAttributes(this.host));
9
6
  return (h(Host, { key: 'f1b3e80727ae2fbb84cbdf19fdd6500067fa010b' }, h("tds-header-item", { key: '6053c08c86b6f4149bed2eb7c8a4a26f16262fc9' }, h("button", Object.assign({ key: 'b2b645ed658328622e9a6411d5bcdfe66e59028c' }, inheritedButtonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '6140334699f8a27f7d78387bb3bfcf08295a0c90', class: "icon", name: "burger", size: "20px" })))));
@@ -36,8 +33,10 @@ export class TdsHeaderHamburger {
36
33
  "tags": [],
37
34
  "text": "Value to be used by the aria-label attribute"
38
35
  },
39
- "attribute": "tds-aria-label",
40
- "reflect": false
36
+ "getter": false,
37
+ "setter": false,
38
+ "reflect": false,
39
+ "attribute": "tds-aria-label"
41
40
  }
42
41
  };
43
42
  }
@@ -5,7 +5,10 @@ import dfs from "../../../utils/dfs";
5
5
  */
6
6
  export class TdsHeaderItem {
7
7
  constructor() {
8
+ /** If the button should appear active. Can be used when the button is
9
+ * triggering a dropdown, and the dropdown is open, for example. */
8
10
  this.active = false;
11
+ /** If the button should appear selected. */
9
12
  this.selected = false;
10
13
  }
11
14
  updateSlotted(searchPredicate, mutationCallback) {
@@ -107,8 +110,10 @@ export class TdsHeaderItem {
107
110
  "tags": [],
108
111
  "text": "If the button should appear active. Can be used when the button is\ntriggering a dropdown, and the dropdown is open, for example."
109
112
  },
110
- "attribute": "active",
113
+ "getter": false,
114
+ "setter": false,
111
115
  "reflect": false,
116
+ "attribute": "active",
112
117
  "defaultValue": "false"
113
118
  },
114
119
  "selected": {
@@ -125,8 +130,10 @@ export class TdsHeaderItem {
125
130
  "tags": [],
126
131
  "text": "If the button should appear selected."
127
132
  },
128
- "attribute": "selected",
133
+ "getter": false,
134
+ "setter": false,
129
135
  "reflect": false,
136
+ "attribute": "selected",
130
137
  "defaultValue": "false"
131
138
  }
132
139
  };
@@ -6,11 +6,9 @@ import inheritAriaAttributes from "../../../utils/inheritAriaAttributes";
6
6
  */
7
7
  export class TdsHeaderLauncher {
8
8
  constructor() {
9
- this.uuid = generateUniqueId();
10
9
  this.open = false;
11
- this.buttonEl = undefined;
12
10
  this.hasListTypeMenu = false;
13
- this.tdsAriaLabel = undefined;
11
+ this.uuid = generateUniqueId();
14
12
  }
15
13
  onAnyClick(event) {
16
14
  // Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
@@ -48,11 +46,11 @@ export class TdsHeaderLauncher {
48
46
  }, 'ref': (el) => {
49
47
  this.buttonEl = el;
50
48
  } });
51
- return (h(Host, { key: '214953326230ac1b5ab664b032783c20d9999531' }, h("div", { key: '0efccd70365257b6f682b777bb6a3d056996aa82', class: {
49
+ return (h(Host, { key: 'd6402957a4e8c7221a3cefae397117a952381d22' }, h("div", { key: '0d5e89739be69df6e111404ca64fa81dd35ffab9', class: {
52
50
  'wrapper': true,
53
51
  'state-open': this.open,
54
52
  'state-list-type-menu': this.hasListTypeMenu,
55
- } }, h("tds-header-launcher-button", Object.assign({ key: '677518edd231dedb813d59220699bf3b1f1469a6' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '7d9b39133b781601acb0d8f97237694209f8d355', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
53
+ } }, h("tds-header-launcher-button", Object.assign({ key: '7c42d6bec11176653b8b00c458a5dd1a1e9ef168' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: 'a7eddf9c3df2f3e4229c1fade730a622767349ad', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
56
54
  {
57
55
  name: 'flip',
58
56
  options: {
@@ -89,8 +87,10 @@ export class TdsHeaderLauncher {
89
87
  "tags": [],
90
88
  "text": "Value to be used by the aria-label attribute of the launcher button"
91
89
  },
92
- "attribute": "tds-aria-label",
93
- "reflect": false
90
+ "getter": false,
91
+ "setter": false,
92
+ "reflect": false,
93
+ "attribute": "tds-aria-label"
94
94
  }
95
95
  };
96
96
  }
@@ -2,8 +2,9 @@ import { h, Host } from "@stencil/core";
2
2
  import inheritAriaAttributes from "../../../utils/inheritAriaAttributes";
3
3
  export class TdsHeaderLauncherButton {
4
4
  constructor() {
5
+ /** If the button should appear active. Can be used when the button is
6
+ * triggering a dropdown, and the dropdown is open, for example. */
5
7
  this.active = false;
6
- this.tdsAriaLabel = undefined;
7
8
  }
8
9
  render() {
9
10
  this.ariaAttributes = Object.assign(Object.assign({}, this.ariaAttributes), inheritAriaAttributes(this.host));
@@ -38,8 +39,10 @@ export class TdsHeaderLauncherButton {
38
39
  "tags": [],
39
40
  "text": "If the button should appear active. Can be used when the button is\ntriggering a dropdown, and the dropdown is open, for example."
40
41
  },
41
- "attribute": "active",
42
+ "getter": false,
43
+ "setter": false,
42
44
  "reflect": false,
45
+ "attribute": "active",
43
46
  "defaultValue": "false"
44
47
  },
45
48
  "tdsAriaLabel": {
@@ -56,8 +59,10 @@ export class TdsHeaderLauncherButton {
56
59
  "tags": [],
57
60
  "text": "Value to be used by the aria-label attribute"
58
61
  },
59
- "attribute": "tds-aria-label",
60
- "reflect": false
62
+ "getter": false,
63
+ "setter": false,
64
+ "reflect": false,
65
+ "attribute": "tds-aria-label"
61
66
  }
62
67
  };
63
68
  }
@@ -5,9 +5,6 @@ import isHeadingElement from "../../../utils/isHeadingElement";
5
5
  * @slot <default> - <b>Unnamed slot.</b> For a grid item element.
6
6
  */
7
7
  export class TdsHeaderLauncherGrid {
8
- constructor() {
9
- this.headingElement = undefined;
10
- }
11
8
  componentWillLoad() {
12
9
  const listRoot = this.host;
13
10
  const headingEl = getPreviousNestedChildOfSiblingsMatching(listRoot, (el) => {
@@ -8,6 +8,8 @@ h4 {
8
8
  white-space: nowrap;
9
9
  text-overflow: ellipsis;
10
10
  overflow: hidden;
11
+ font-size: 14px;
12
+ line-height: normal;
11
13
  }
12
14
  h4 slot {
13
15
  display: block;
@@ -11,18 +11,19 @@ const brandIconMap = {
11
11
  };
12
12
  export class Icon {
13
13
  constructor() {
14
+ /** Pass the name of the icon.
15
+ * For icon names, refer to Storybook Icon controls dropdown or https://tegel.scania.com/foundations/icons/icon-library */
16
+ this.name = 'truck';
17
+ /** Pass a size of icon as a string, for example, 32px, 1rem, 4em... */
18
+ this.size = '16px';
19
+ /** Set aria-hidden attribute on svg */
20
+ this.tdsAriaHidden = false;
21
+ this.arrayOfIcons = [];
14
22
  this.setIcons = () => this.arrayOfIcons.map((element) => {
15
23
  if (element.name === this.name) {
16
24
  return (h("svg", { "aria-hidden": this.tdsAriaHidden, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", "aria-labelledby": this.svgTitle ? `title-${this.name}` : undefined, "aria-describedby": this.svgDescription ? `desc-${this.name}` : undefined, role: "img", style: { fontSize: this.size }, height: this.size, width: this.size }, this.svgTitle && h("title", { id: `title-${this.name}` }, this.svgTitle), this.svgDescription && h("desc", { id: `desc-${this.name}` }, this.svgDescription), h("path", { fill: "currentColor", d: element.definition })));
17
25
  }
18
26
  });
19
- this.name = 'truck';
20
- this.size = '16px';
21
- this.svgTitle = undefined;
22
- this.tdsAriaHidden = false;
23
- this.svgDescription = undefined;
24
- this.icons_object = undefined;
25
- this.arrayOfIcons = [];
26
27
  }
27
28
  componentWillLoad() {
28
29
  this.detectAndSetBrand();
@@ -65,7 +66,7 @@ export class Icon {
65
66
  "mutable": false,
66
67
  "complexType": {
67
68
  "original": "IconNames",
68
- "resolved": "\"profile\" | \"expand\" | \"info\" | \"error\" | \"global\" | \"merge\" | \"copy\" | \"document\" | \"audio\" | \"link\" | \"video\" | \"image\" | \"text\" | \"download\" | \"target\" | \"placeholder\" | \"history\" | \"print\" | \"key\" | \"24v_battery_inactive\" | \"24v_battery\" | \"acceleration_inactive\" | \"acceleration\" | \"adblue_inactive\" | \"adblue\" | \"arrow_diagonal\" | \"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"audio_inactive\" | \"award\" | \"back\" | \"backward_inactive\" | \"backward\" | \"bento\" | \"bug_inactive\" | \"bug\" | \"burger\" | \"bus_inactive\" | \"bus\" | \"calendar_inactive\" | \"calendar\" | \"camera_inactive\" | \"camera\" | \"card\" | \"cart\" | \"charging_complete\" | \"charging_failed\" | \"charging_speed_inactive\" | \"charging_speed\" | \"charging_stopped\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"clock_inactive\" | \"clock\" | \"configurator\" | \"contact_inactive\" | \"contact\" | \"cookie_inactive\" | \"cookie\" | \"coolant_level_inactive\" | \"coolant_level\" | \"cross\" | \"cup_inactive\" | \"cup\" | \"dashboard\" | \"department_inactive\" | \"department\" | \"departure_scheduling_inactive\" | \"departure_scheduling\" | \"diamond_inactive\" | \"diamond\" | \"document_check\" | \"document_doc\" | \"document_eye\" | \"document_pdf\" | \"document_plus_inactive\" | \"document_plus\" | \"document_ppt\" | \"document_tool\" | \"document_wrong\" | \"document_xls\" | \"dollar\" | \"doner\" | \"double_kebab\" | \"driving_licence_inactive\" | \"driving_licence\" | \"drop_inactive\" | \"drop\" | \"edit_inactive\" | \"edit\" | \"email\" | \"engine_inactive\" | \"engine\" | \"environment_inactive\" | \"environment\" | \"exit\" | \"expand_inactive\" | \"export_inactive\" | \"export\" | \"eye_inactive\" | \"eye\" | \"face_dissatisfied\" | \"face_neutral\" | \"face_satisfied\" | \"factory_inactive\" | \"factory\" | \"ferry_inactive\" | \"ferry\" | \"filters_inactive\" | \"filters\" | \"flash_inactive\" | \"flash\" | \"folder\" | \"forward_inactive\" | \"forward\" | \"fuel_gauge_inactive\" | \"fuel_gauge\" | \"fuel_inactive\" | \"fuel\" | \"gift inactive\" | \"gift\" | \"guided_tour_inactive\" | \"guided_tour\" | \"hatch_open_1\" | \"hatch_open_2\" | \"hatch_open_inactive\" | \"hatch_open\" | \"heart_inactive\" | \"heart\" | \"heating_inactive_screen\" | \"history_inactive\" | \"home_inactive\" | \"home\" | \"idea_inactive\" | \"idea\" | \"image_add\" | \"image_inactive\" | \"image_set\" | \"insights\" | \"kebab\" | \"key_inactive\" | \"layer_inactive\" | \"layer\" | \"link_broken\" | \"list_inactive\" | \"list\" | \"lock_inactive\" | \"lock\" | \"map_cursor_inactive\" | \"map_cursor\" | \"maximize_fullscreen\" | \"meatballs\" | \"merge_inactive\" | \"message_inactive\" | \"message\" | \"mileage_inactive\" | \"mileage\" | \"minimize_fullscreen\" | \"minus\" | \"navigate_inactive\" | \"navigate\" | \"notification_inactive\" | \"notification\" | \"oil_level_inactive\" | \"oil_level\" | \"pause_inactive\" | \"pause\" | \"phone_inactive\" | \"phone\" | \"pie_chart\" | \"pin_inactive\" | \"pin\" | \"play_inactive\" | \"play\" | \"plus\" | \"powerplug_inactive\" | \"powerplug\" | \"print_inactive\" | \"privacy_inactive\" | \"privacy\" | \"profile_inactive\" | \"proportions_inactive\" | \"proportions\" | \"range_inactive\" | \"range\" | \"redirect\" | \"refresh_inactive\" | \"refresh\" | \"reload_inactive\" | \"reload\" | \"repeat\" | \"report_inactive\" | \"report\" | \"route_inactive\" | \"route\" | \"save_inactive\" | \"save\" | \"search\" | \"send_inactive\" | \"send\" | \"settings\" | \"share\" | \"skip_backwards\" | \"skip_forward\" | \"smartphone_inactive\" | \"smartphone\" | \"sorting\" | \"speedometer_inactive\" | \"speedometer\" | \"star\" | \"support\" | \"target_inactive\" | \"temperature_inactive\" | \"temperature\" | \"text_inactive\" | \"thumbs_down\" | \"thumbs_up\" | \"tick\" | \"timer\" | \"tool_inactive\" | \"tool\" | \"trailer_inactive\" | \"trailer\" | \"trash_inactive\" | \"trash\" | \"truck_inactive\" | \"truck\" | \"undo_inactive\" | \"undo\" | \"unlock\" | \"upload\" | \"video_inactive\" | \"wallet\" | \"warning\" | \"weight_inactive\" | \"weight\" | \"wifi_inactive\" | \"wifi\" | \"windscreen_heating_inactive\" | \"windscreen_heating\"",
69
+ "resolved": "\"profile\" | \"expand\" | \"info\" | \"error\" | \"global\" | \"document\" | \"audio\" | \"link\" | \"video\" | \"image\" | \"text\" | \"download\" | \"target\" | \"key\" | \"list\" | \"placeholder\" | \"merge\" | \"copy\" | \"history\" | \"print\" | \"24v_battery_inactive\" | \"24v_battery\" | \"acceleration_inactive\" | \"acceleration\" | \"adblue_inactive\" | \"adblue\" | \"arrow_diagonal\" | \"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"audio_inactive\" | \"award\" | \"back\" | \"backward_inactive\" | \"backward\" | \"bento\" | \"bug_inactive\" | \"bug\" | \"burger\" | \"bus_inactive\" | \"bus\" | \"calendar_inactive\" | \"calendar\" | \"camera_inactive\" | \"camera\" | \"card\" | \"cart\" | \"charging_complete\" | \"charging_failed\" | \"charging_speed_inactive\" | \"charging_speed\" | \"charging_stopped\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"clock_inactive\" | \"clock\" | \"configurator\" | \"contact_inactive\" | \"contact\" | \"cookie_inactive\" | \"cookie\" | \"coolant_level_inactive\" | \"coolant_level\" | \"cross\" | \"cup_inactive\" | \"cup\" | \"dashboard\" | \"department_inactive\" | \"department\" | \"departure_scheduling_inactive\" | \"departure_scheduling\" | \"diamond_inactive\" | \"diamond\" | \"document_check\" | \"document_doc\" | \"document_eye\" | \"document_pdf\" | \"document_plus_inactive\" | \"document_plus\" | \"document_ppt\" | \"document_tool\" | \"document_wrong\" | \"document_xls\" | \"dollar\" | \"doner\" | \"double_kebab\" | \"driving_licence_inactive\" | \"driving_licence\" | \"drop_inactive\" | \"drop\" | \"edit_inactive\" | \"edit\" | \"email\" | \"engine_inactive\" | \"engine\" | \"environment_inactive\" | \"environment\" | \"exit\" | \"expand_inactive\" | \"export_inactive\" | \"export\" | \"eye_inactive\" | \"eye\" | \"face_dissatisfied\" | \"face_neutral\" | \"face_satisfied\" | \"factory_inactive\" | \"factory\" | \"ferry_inactive\" | \"ferry\" | \"filters_inactive\" | \"filters\" | \"flash_inactive\" | \"flash\" | \"folder\" | \"forward_inactive\" | \"forward\" | \"fuel_gauge_inactive\" | \"fuel_gauge\" | \"fuel_inactive\" | \"fuel\" | \"gift inactive\" | \"gift\" | \"guided_tour_inactive\" | \"guided_tour\" | \"hatch_open_1\" | \"hatch_open_2\" | \"hatch_open_inactive\" | \"hatch_open\" | \"heart_inactive\" | \"heart\" | \"heating_inactive_screen\" | \"history_inactive\" | \"home_inactive\" | \"home\" | \"idea_inactive\" | \"idea\" | \"image_add\" | \"image_inactive\" | \"image_set\" | \"insights\" | \"kebab\" | \"key_inactive\" | \"layer_inactive\" | \"layer\" | \"link_broken\" | \"list_inactive\" | \"lock_inactive\" | \"lock\" | \"map_cursor_inactive\" | \"map_cursor\" | \"maximize_fullscreen\" | \"meatballs\" | \"merge_inactive\" | \"message_inactive\" | \"message\" | \"mileage_inactive\" | \"mileage\" | \"minimize_fullscreen\" | \"minus\" | \"navigate_inactive\" | \"navigate\" | \"notification_inactive\" | \"notification\" | \"oil_level_inactive\" | \"oil_level\" | \"pause_inactive\" | \"pause\" | \"phone_inactive\" | \"phone\" | \"pie_chart\" | \"pin_inactive\" | \"pin\" | \"play_inactive\" | \"play\" | \"plus\" | \"powerplug_inactive\" | \"powerplug\" | \"print_inactive\" | \"privacy_inactive\" | \"privacy\" | \"profile_inactive\" | \"proportions_inactive\" | \"proportions\" | \"range_inactive\" | \"range\" | \"redirect\" | \"refresh_inactive\" | \"refresh\" | \"reload_inactive\" | \"reload\" | \"repeat\" | \"report_inactive\" | \"report\" | \"route_inactive\" | \"route\" | \"save_inactive\" | \"save\" | \"search\" | \"send_inactive\" | \"send\" | \"settings\" | \"share\" | \"skip_backwards\" | \"skip_forward\" | \"smartphone_inactive\" | \"smartphone\" | \"sorting\" | \"speedometer_inactive\" | \"speedometer\" | \"star\" | \"support\" | \"target_inactive\" | \"temperature_inactive\" | \"temperature\" | \"text_inactive\" | \"thumbs_down\" | \"thumbs_up\" | \"tick\" | \"timer\" | \"tool_inactive\" | \"tool\" | \"trailer_inactive\" | \"trailer\" | \"trash_inactive\" | \"trash\" | \"truck_inactive\" | \"truck\" | \"undo_inactive\" | \"undo\" | \"unlock\" | \"upload\" | \"video_inactive\" | \"wallet\" | \"warning\" | \"weight_inactive\" | \"weight\" | \"wifi_inactive\" | \"wifi\" | \"windscreen_heating_inactive\" | \"windscreen_heating\"",
69
70
  "references": {
70
71
  "IconNames": {
71
72
  "location": "import",
@@ -80,8 +81,10 @@ export class Icon {
80
81
  "tags": [],
81
82
  "text": "Pass the name of the icon.\nFor icon names, refer to Storybook Icon controls dropdown or https://tegel.scania.com/foundations/icons/icon-library"
82
83
  },
83
- "attribute": "name",
84
+ "getter": false,
85
+ "setter": false,
84
86
  "reflect": true,
87
+ "attribute": "name",
85
88
  "defaultValue": "'truck'"
86
89
  },
87
90
  "size": {
@@ -98,8 +101,10 @@ export class Icon {
98
101
  "tags": [],
99
102
  "text": "Pass a size of icon as a string, for example, 32px, 1rem, 4em..."
100
103
  },
101
- "attribute": "size",
104
+ "getter": false,
105
+ "setter": false,
102
106
  "reflect": true,
107
+ "attribute": "size",
103
108
  "defaultValue": "'16px'"
104
109
  },
105
110
  "svgTitle": {
@@ -116,8 +121,10 @@ export class Icon {
116
121
  "tags": [],
117
122
  "text": "Override the default title for the svg. Also used by aria-labelledby."
118
123
  },
119
- "attribute": "svg-title",
120
- "reflect": false
124
+ "getter": false,
125
+ "setter": false,
126
+ "reflect": false,
127
+ "attribute": "svg-title"
121
128
  },
122
129
  "tdsAriaHidden": {
123
130
  "type": "boolean",
@@ -133,8 +140,10 @@ export class Icon {
133
140
  "tags": [],
134
141
  "text": "Set aria-hidden attribute on svg"
135
142
  },
136
- "attribute": "tds-aria-hidden",
143
+ "getter": false,
144
+ "setter": false,
137
145
  "reflect": false,
146
+ "attribute": "tds-aria-hidden",
138
147
  "defaultValue": "false"
139
148
  },
140
149
  "svgDescription": {
@@ -151,8 +160,10 @@ export class Icon {
151
160
  "tags": [],
152
161
  "text": "Set description for the svg. Also used by aria-describedby."
153
162
  },
154
- "attribute": "svg-description",
155
- "reflect": false
163
+ "getter": false,
164
+ "setter": false,
165
+ "reflect": false,
166
+ "attribute": "svg-description"
156
167
  }
157
168
  };
158
169
  }
@@ -4,8 +4,11 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class TdsLink {
6
6
  constructor() {
7
+ /** Disables the Link */
7
8
  this.disabled = false;
9
+ /** Displays the Link with an underline. */
8
10
  this.underline = true;
11
+ /** Displays the Link as a standalone component. Not part of a paragraph. */
9
12
  this.standalone = false;
10
13
  }
11
14
  connectedCallback() {
@@ -60,8 +63,10 @@ export class TdsLink {
60
63
  "tags": [],
61
64
  "text": "Disables the Link"
62
65
  },
63
- "attribute": "disabled",
66
+ "getter": false,
67
+ "setter": false,
64
68
  "reflect": false,
69
+ "attribute": "disabled",
65
70
  "defaultValue": "false"
66
71
  },
67
72
  "underline": {
@@ -78,8 +83,10 @@ export class TdsLink {
78
83
  "tags": [],
79
84
  "text": "Displays the Link with an underline."
80
85
  },
81
- "attribute": "underline",
86
+ "getter": false,
87
+ "setter": false,
82
88
  "reflect": false,
89
+ "attribute": "underline",
83
90
  "defaultValue": "true"
84
91
  },
85
92
  "standalone": {
@@ -96,8 +103,10 @@ export class TdsLink {
96
103
  "tags": [],
97
104
  "text": "Displays the Link as a standalone component. Not part of a paragraph."
98
105
  },
99
- "attribute": "standalone",
106
+ "getter": false,
107
+ "setter": false,
100
108
  "reflect": false,
109
+ "attribute": "standalone",
101
110
  "defaultValue": "false"
102
111
  }
103
112
  };
@@ -58,7 +58,8 @@
58
58
  flex-direction: column;
59
59
  gap: 4px;
60
60
  color: var(--foreground-text-strong);
61
- padding: 2px 0;
61
+ padding: 2px 24px 2px 0;
62
+ overflow-wrap: anywhere;
62
63
  }
63
64
  :host .content .header {
64
65
  font-family: var(--headline-07-font-family);
@@ -5,6 +5,16 @@ import generateUniqueId from "../../utils/generateUniqueId";
5
5
  */
6
6
  export class TdsMessage {
7
7
  constructor() {
8
+ /** Variant of the component, based on current mode. */
9
+ this.modeVariant = null;
10
+ /** Variant of Message. */
11
+ this.variant = 'information';
12
+ /** Removes the icon in the Message. */
13
+ this.noIcon = false;
14
+ /** Minimal Message styling. */
15
+ this.minimal = false;
16
+ /** Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
17
+ this.tdsAlertDialog = 'dialog';
8
18
  this.getIconName = () => {
9
19
  switch (this.variant) {
10
20
  case 'information':
@@ -19,13 +29,6 @@ export class TdsMessage {
19
29
  return 'info';
20
30
  }
21
31
  };
22
- this.header = undefined;
23
- this.modeVariant = null;
24
- this.variant = 'information';
25
- this.noIcon = false;
26
- this.minimal = false;
27
- this.tdsAlertDialog = 'dialog';
28
- this.tdsAriaLabel = undefined;
29
32
  }
30
33
  getAriaLabel() {
31
34
  if (this.header) {
@@ -71,8 +74,10 @@ export class TdsMessage {
71
74
  "tags": [],
72
75
  "text": "Header text for the component."
73
76
  },
74
- "attribute": "header",
75
- "reflect": false
77
+ "getter": false,
78
+ "setter": false,
79
+ "reflect": false,
80
+ "attribute": "header"
76
81
  },
77
82
  "modeVariant": {
78
83
  "type": "string",
@@ -88,8 +93,10 @@ export class TdsMessage {
88
93
  "tags": [],
89
94
  "text": "Variant of the component, based on current mode."
90
95
  },
91
- "attribute": "mode-variant",
96
+ "getter": false,
97
+ "setter": false,
92
98
  "reflect": false,
99
+ "attribute": "mode-variant",
93
100
  "defaultValue": "null"
94
101
  },
95
102
  "variant": {
@@ -106,8 +113,10 @@ export class TdsMessage {
106
113
  "tags": [],
107
114
  "text": "Variant of Message."
108
115
  },
109
- "attribute": "variant",
116
+ "getter": false,
117
+ "setter": false,
110
118
  "reflect": false,
119
+ "attribute": "variant",
111
120
  "defaultValue": "'information'"
112
121
  },
113
122
  "noIcon": {
@@ -124,8 +133,10 @@ export class TdsMessage {
124
133
  "tags": [],
125
134
  "text": "Removes the icon in the Message."
126
135
  },
127
- "attribute": "no-icon",
136
+ "getter": false,
137
+ "setter": false,
128
138
  "reflect": false,
139
+ "attribute": "no-icon",
129
140
  "defaultValue": "false"
130
141
  },
131
142
  "minimal": {
@@ -142,8 +153,10 @@ export class TdsMessage {
142
153
  "tags": [],
143
154
  "text": "Minimal Message styling."
144
155
  },
145
- "attribute": "minimal",
156
+ "getter": false,
157
+ "setter": false,
146
158
  "reflect": false,
159
+ "attribute": "minimal",
147
160
  "defaultValue": "false"
148
161
  },
149
162
  "tdsAlertDialog": {
@@ -160,8 +173,10 @@ export class TdsMessage {
160
173
  "tags": [],
161
174
  "text": "Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages."
162
175
  },
163
- "attribute": "tds-alert-dialog",
176
+ "getter": false,
177
+ "setter": false,
164
178
  "reflect": false,
179
+ "attribute": "tds-alert-dialog",
165
180
  "defaultValue": "'dialog'"
166
181
  },
167
182
  "tdsAriaLabel": {
@@ -178,8 +193,10 @@ export class TdsMessage {
178
193
  "tags": [],
179
194
  "text": "Provides an accessible name for the message component when no header is present. This ensures proper screen reader support for dialog/alertdialog roles."
180
195
  },
181
- "attribute": "tds-aria-label",
182
- "reflect": false
196
+ "getter": false,
197
+ "setter": false,
198
+ "reflect": false,
199
+ "attribute": "tds-aria-label"
183
200
  }
184
201
  };
185
202
  }
@@ -1,3 +1,15 @@
1
+ :host {
2
+ --tds-scrollbar-width-standard: thin;
3
+ --tds-scrollbar-width: 10px;
4
+ --tds-scrollbar-height: 10px;
5
+ --tds-scrollbar-thumb-border-width: 3px;
6
+ --tds-scrollbar-thumb-border-hover-width: 2px;
7
+ }
8
+
9
+ body {
10
+ scrollbar-width: thin;
11
+ }
12
+
1
13
  /* Typography Usage mixins */
2
14
  /* Centralized map of typography types */
3
15
  /* Utility mixin */
@@ -17,16 +29,32 @@
17
29
  .tds-modal * {
18
30
  box-sizing: border-box;
19
31
  }
32
+ .tds-modal:hover::-webkit-scrollbar-thumb {
33
+ border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
34
+ background: var(--tds-scrollbar-hover-thumb-color);
35
+ background-clip: padding-box;
36
+ }
20
37
  .tds-modal::-webkit-scrollbar {
21
- width: 6px;
22
- background-color: transparent;
38
+ width: var(--tds-scrollbar-width);
23
39
  }
24
40
  .tds-modal::-webkit-scrollbar-track {
25
- background-color: transparent;
41
+ background: var(--tds-scrollbar-track-color);
26
42
  }
27
43
  .tds-modal::-webkit-scrollbar-thumb {
28
- background-color: var(--foreground-elements-transparparent-discrete);
29
- border-radius: 3px;
44
+ border-radius: 40px;
45
+ background: var(--tds-scrollbar-thumb-color);
46
+ border: var(--tds-scrollbar-thumb-border-width) solid transparent;
47
+ background-clip: padding-box;
48
+ }
49
+ .tds-modal::-webkit-scrollbar-button {
50
+ height: 0;
51
+ width: 0;
52
+ }
53
+ @supports not selector(::-webkit-scrollbar) {
54
+ .tds-modal {
55
+ scrollbar-color: var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);
56
+ scrollbar-width: var(--tds-scrollbar-width-standard);
57
+ }
30
58
  }
31
59
  .tds-modal__actions-sticky {
32
60
  overflow: hidden;
@@ -175,16 +203,32 @@ slot[name=header]::slotted(*) {
175
203
  overflow-y: visible;
176
204
  padding: 0 16px 16px;
177
205
  }
206
+ .body:hover::-webkit-scrollbar-thumb {
207
+ border: var(--tds-scrollbar-thumb-border-hover-width) solid transparent;
208
+ background: var(--tds-scrollbar-hover-thumb-color);
209
+ background-clip: padding-box;
210
+ }
178
211
  .body::-webkit-scrollbar {
179
- width: 6px;
180
- background-color: transparent;
212
+ width: var(--tds-scrollbar-width);
181
213
  }
182
214
  .body::-webkit-scrollbar-track {
183
- background-color: transparent;
215
+ background: var(--tds-scrollbar-track-color);
184
216
  }
185
217
  .body::-webkit-scrollbar-thumb {
186
- background-color: var(--foreground-elements-transparparent-discrete);
187
- border-radius: 3px;
218
+ border-radius: 40px;
219
+ background: var(--tds-scrollbar-thumb-color);
220
+ border: var(--tds-scrollbar-thumb-border-width) solid transparent;
221
+ background-clip: padding-box;
222
+ }
223
+ .body::-webkit-scrollbar-button {
224
+ height: 0;
225
+ width: 0;
226
+ }
227
+ @supports not selector(::-webkit-scrollbar) {
228
+ .body {
229
+ scrollbar-color: var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);
230
+ scrollbar-width: var(--tds-scrollbar-width-standard);
231
+ }
188
232
  }
189
233
 
190
234
  .tds-modal-backdrop {