@scania/tegel 1.53.0 → 1.54.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 (455) hide show
  1. package/dist/cjs/index-DPzF1h3L.js +2548 -0
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/tds-accordion-item.cjs.entry.js +2 -2
  4. package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/tds-badge.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-banner.cjs.entry.js +2 -2
  7. package/dist/cjs/tds-block.cjs.entry.js +1 -1
  8. package/dist/cjs/tds-body-cell.cjs.entry.js +4 -4
  9. package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
  10. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/tds-button_2.cjs.entry.js +2 -2
  12. package/dist/cjs/tds-card.cjs.entry.js +4 -3
  13. package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
  14. package/dist/cjs/tds-chip.cjs.entry.js +2 -2
  15. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +2 -2
  16. package/dist/cjs/tds-datetime.cjs.entry.js +2 -2
  17. package/dist/cjs/tds-dropdown_2.cjs.entry.js +3 -3
  18. package/dist/cjs/tds-folder-tab.cjs.entry.js +4 -4
  19. package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -6
  20. package/dist/cjs/tds-footer-group.cjs.entry.js +2 -2
  21. package/dist/cjs/tds-footer-item.cjs.entry.js +2 -2
  22. package/dist/cjs/tds-footer.cjs.entry.js +1 -1
  23. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-cell.cjs.entry.js +23 -4
  25. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
  26. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-dropdown.cjs.entry.js +2 -2
  29. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  31. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -2
  32. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
  33. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  36. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
  37. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  38. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  39. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-icon.cjs.entry.js +23 -37
  41. package/dist/cjs/tds-inline-tab.cjs.entry.js +4 -4
  42. package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -6
  43. package/dist/cjs/tds-link.cjs.entry.js +3 -3
  44. package/dist/cjs/tds-message.cjs.entry.js +4 -4
  45. package/dist/cjs/tds-modal.cjs.entry.js +4 -4
  46. package/dist/cjs/tds-navigation-tab.cjs.entry.js +4 -4
  47. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +7 -8
  48. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
  49. package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
  50. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
  51. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
  52. package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
  53. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +2 -2
  54. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -4
  55. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +4 -4
  56. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
  57. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -4
  58. package/dist/cjs/tds-side-menu-item.cjs.entry.js +4 -4
  59. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -2
  60. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -3
  61. package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -2
  62. package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
  63. package/dist/cjs/tds-slider.cjs.entry.js +9 -9
  64. package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
  65. package/dist/cjs/tds-step.cjs.entry.js +2 -2
  66. package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
  67. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +2 -2
  68. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +9 -9
  69. package/dist/cjs/tds-table-body-row.cjs.entry.js +3 -3
  70. package/dist/cjs/tds-table-body.cjs.entry.js +3 -3
  71. package/dist/cjs/tds-table-footer.cjs.entry.js +18 -4
  72. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +2 -2
  73. package/dist/cjs/tds-table-header.cjs.entry.js +3 -3
  74. package/dist/cjs/tds-table-toolbar.cjs.entry.js +3 -3
  75. package/dist/cjs/tds-table.cjs.entry.js +17 -5
  76. package/dist/cjs/tds-tag.cjs.entry.js +2 -2
  77. package/dist/cjs/tds-text-field.cjs.entry.js +7 -7
  78. package/dist/cjs/tds-textarea.cjs.entry.js +5 -5
  79. package/dist/cjs/tds-toast.cjs.entry.js +5 -5
  80. package/dist/cjs/tds-toggle.cjs.entry.js +4 -4
  81. package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
  82. package/dist/cjs/tegel.cjs.js +2 -2
  83. package/dist/collection/components/accordion/accordion-item/accordion-item.css +2 -2
  84. package/dist/collection/components/banner/banner.css +23 -9
  85. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +2 -2
  86. package/dist/collection/components/button/button.css +7 -7
  87. package/dist/collection/components/card/card.css +24 -5
  88. package/dist/collection/components/card/card.js +3 -2
  89. package/dist/collection/components/chip/chip.css +2 -2
  90. package/dist/collection/components/datetime/datetime.css +2 -2
  91. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +2 -2
  92. package/dist/collection/components/dropdown/dropdown.css +6 -5
  93. package/dist/collection/components/footer/footer-group/footer-group.css +2 -2
  94. package/dist/collection/components/footer/footer-item/footer-item.css +6 -6
  95. package/dist/collection/components/header/header-dropdown/header-dropdown.css +2 -1
  96. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +2 -2
  97. package/dist/collection/components/header/header-item/header-item.css +2 -2
  98. package/dist/collection/components/header/header-launcher/header-launcher.css +2 -1
  99. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.css +2 -2
  100. package/dist/collection/components/icon/icon.js +23 -39
  101. package/dist/collection/components/icon/tratonIconsArray.js +1 -2
  102. package/dist/collection/components/link/link.js +2 -2
  103. package/dist/collection/components/message/message.css +9 -7
  104. package/dist/collection/components/message/message.js +2 -2
  105. package/dist/collection/components/modal/modal.css +15 -13
  106. package/dist/collection/components/modal/modal.js +2 -2
  107. package/dist/collection/components/popover-canvas/popover-canvas.js +3 -3
  108. package/dist/collection/components/popover-core/popover-core.js +1 -1
  109. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
  110. package/dist/collection/components/popover-menu/popover-menu.js +3 -3
  111. package/dist/collection/components/radio-button/radio-button.js +2 -2
  112. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  113. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +3 -3
  114. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
  115. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
  116. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +2 -2
  117. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
  118. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +2 -2
  119. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
  120. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
  121. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
  122. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
  123. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
  124. package/dist/collection/components/side-menu/side-menu.css +2 -1
  125. package/dist/collection/components/slider/slider.js +8 -8
  126. package/dist/collection/components/spinner/spinner.js +1 -1
  127. package/dist/collection/components/stepper/step/step.js +1 -1
  128. package/dist/collection/components/table/table/table.css +2 -1
  129. package/dist/collection/components/table/table/table.js +59 -3
  130. package/dist/collection/components/table/table-body/table-body.js +2 -2
  131. package/dist/collection/components/table/table-body-cell/table-body-cell.js +4 -4
  132. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  133. package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
  134. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +2 -2
  135. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
  136. package/dist/collection/components/table/table-footer/table-footer.js +77 -3
  137. package/dist/collection/components/table/table-header/table-header.js +2 -2
  138. package/dist/collection/components/table/table-header-cell/table-header-cell.js +25 -5
  139. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  140. package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
  141. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +2 -2
  142. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
  143. package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +2 -2
  144. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +3 -4
  145. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +2 -2
  146. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
  147. package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +2 -2
  148. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +3 -4
  149. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +2 -2
  150. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
  151. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +2 -2
  152. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -6
  153. package/dist/collection/components/tag/tag.js +1 -1
  154. package/dist/collection/components/text-field/text-field.css +1 -1
  155. package/dist/collection/components/text-field/text-field.js +5 -5
  156. package/dist/collection/components/textarea/textarea.css +2 -2
  157. package/dist/collection/components/textarea/textarea.js +3 -3
  158. package/dist/collection/components/toast/toast.css +13 -16
  159. package/dist/collection/components/toast/toast.js +3 -3
  160. package/dist/collection/components/toggle/toggle.js +3 -3
  161. package/dist/collection/components/tooltip/tooltip.js +2 -2
  162. package/dist/components/index.js +1 -1
  163. package/dist/components/{p-Cl3uo8RO.js → p-B-9923_a.js} +1 -1
  164. package/dist/components/p-B0Pz58BS.js +1 -0
  165. package/dist/components/{p-Cr5AJ7EI.js → p-B1QdNOPI.js} +1 -1
  166. package/dist/components/p-B5eSTxGJ.js +1 -0
  167. package/dist/components/{p-Dh4rW_04.js → p-BGW6utqb.js} +1 -1
  168. package/dist/components/p-BcKywCnz.js +1 -0
  169. package/dist/components/p-CGFX3Srb.js +1 -0
  170. package/dist/components/{p-CkGDaQ3D.js → p-CJtN1EIg.js} +1 -1
  171. package/dist/components/{p-DNQszLML.js → p-CiGYIe0v.js} +1 -1
  172. package/dist/components/p-DRO9e7F4.js +1 -0
  173. package/dist/components/p-DgETo9IA.js +1 -0
  174. package/dist/components/{p-BVWWo6dK.js → p-Dlj2h0pg.js} +1 -1
  175. package/dist/components/{p-2Sehn7YQ.js → p-Duga9LJ2.js} +1 -1
  176. package/dist/components/{p-Egx6jNza.js → p-VwQKu81G.js} +1 -1
  177. package/dist/components/tds-accordion-item.js +1 -1
  178. package/dist/components/tds-banner.js +1 -1
  179. package/dist/components/tds-body-cell.js +1 -1
  180. package/dist/components/tds-breadcrumb.js +1 -1
  181. package/dist/components/tds-button.js +1 -1
  182. package/dist/components/tds-card.js +1 -1
  183. package/dist/components/tds-chip.js +1 -1
  184. package/dist/components/tds-datetime.js +1 -1
  185. package/dist/components/tds-dropdown-option.js +1 -1
  186. package/dist/components/tds-dropdown.js +1 -1
  187. package/dist/components/tds-folder-tab.js +1 -1
  188. package/dist/components/tds-folder-tabs.js +1 -1
  189. package/dist/components/tds-footer-group.js +1 -1
  190. package/dist/components/tds-footer-item.js +1 -1
  191. package/dist/components/tds-header-brand-symbol.js +1 -1
  192. package/dist/components/tds-header-cell.js +1 -1
  193. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  194. package/dist/components/tds-header-dropdown.js +1 -1
  195. package/dist/components/tds-header-hamburger.js +1 -1
  196. package/dist/components/tds-header-item.js +1 -1
  197. package/dist/components/tds-header-launcher-button.js +1 -1
  198. package/dist/components/tds-header-launcher-grid-item.js +1 -1
  199. package/dist/components/tds-header-launcher-list-item.js +1 -1
  200. package/dist/components/tds-header-launcher.js +1 -1
  201. package/dist/components/tds-icon.js +1 -1
  202. package/dist/components/tds-inline-tab.js +1 -1
  203. package/dist/components/tds-inline-tabs.js +1 -1
  204. package/dist/components/tds-link.js +1 -1
  205. package/dist/components/tds-message.js +1 -1
  206. package/dist/components/tds-modal.js +1 -1
  207. package/dist/components/tds-navigation-tab.js +1 -1
  208. package/dist/components/tds-navigation-tabs.js +1 -1
  209. package/dist/components/tds-popover-canvas.js +1 -1
  210. package/dist/components/tds-popover-core.js +1 -1
  211. package/dist/components/tds-popover-menu-item.js +1 -1
  212. package/dist/components/tds-popover-menu.js +1 -1
  213. package/dist/components/tds-radio-button.js +1 -1
  214. package/dist/components/tds-side-menu-close-button.js +1 -1
  215. package/dist/components/tds-side-menu-collapse-button.js +1 -1
  216. package/dist/components/tds-side-menu-dropdown-list-item.js +1 -1
  217. package/dist/components/tds-side-menu-dropdown-list.js +1 -1
  218. package/dist/components/tds-side-menu-dropdown.js +1 -1
  219. package/dist/components/tds-side-menu-item.js +1 -1
  220. package/dist/components/tds-side-menu-overlay.js +1 -1
  221. package/dist/components/tds-side-menu-user-image.js +1 -1
  222. package/dist/components/tds-side-menu-user-label.js +1 -1
  223. package/dist/components/tds-side-menu-user.js +1 -1
  224. package/dist/components/tds-side-menu.js +1 -1
  225. package/dist/components/tds-slider.js +1 -1
  226. package/dist/components/tds-spinner.js +1 -1
  227. package/dist/components/tds-step.js +1 -1
  228. package/dist/components/tds-table-body-input-wrapper.js +1 -1
  229. package/dist/components/tds-table-body-row-expandable.js +1 -1
  230. package/dist/components/tds-table-body-row.js +1 -1
  231. package/dist/components/tds-table-body.js +1 -1
  232. package/dist/components/tds-table-footer.js +1 -1
  233. package/dist/components/tds-table-header-input-wrapper.js +1 -1
  234. package/dist/components/tds-table-header.js +1 -1
  235. package/dist/components/tds-table-toolbar.js +1 -1
  236. package/dist/components/tds-table.js +1 -1
  237. package/dist/components/tds-tag.js +1 -1
  238. package/dist/components/tds-text-field.js +1 -1
  239. package/dist/components/tds-textarea.js +1 -1
  240. package/dist/components/tds-toast.js +1 -1
  241. package/dist/components/tds-toggle.js +1 -1
  242. package/dist/components/tds-tooltip.js +1 -1
  243. package/dist/esm/index-DO74lOFd.js +2519 -0
  244. package/dist/esm/loader.js +3 -3
  245. package/dist/esm/tds-accordion-item.entry.js +2 -2
  246. package/dist/esm/tds-accordion.entry.js +1 -1
  247. package/dist/esm/tds-badge.entry.js +1 -1
  248. package/dist/esm/tds-banner.entry.js +2 -2
  249. package/dist/esm/tds-block.entry.js +1 -1
  250. package/dist/esm/tds-body-cell.entry.js +4 -4
  251. package/dist/esm/tds-breadcrumb.entry.js +2 -2
  252. package/dist/esm/tds-breadcrumbs.entry.js +1 -1
  253. package/dist/esm/tds-button_2.entry.js +2 -2
  254. package/dist/esm/tds-card.entry.js +4 -3
  255. package/dist/esm/tds-checkbox.entry.js +1 -1
  256. package/dist/esm/tds-chip.entry.js +2 -2
  257. package/dist/esm/tds-core-header-item_2.entry.js +2 -2
  258. package/dist/esm/tds-datetime.entry.js +2 -2
  259. package/dist/esm/tds-dropdown_2.entry.js +3 -3
  260. package/dist/esm/tds-folder-tab.entry.js +4 -4
  261. package/dist/esm/tds-folder-tabs.entry.js +5 -6
  262. package/dist/esm/tds-footer-group.entry.js +2 -2
  263. package/dist/esm/tds-footer-item.entry.js +2 -2
  264. package/dist/esm/tds-footer.entry.js +1 -1
  265. package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
  266. package/dist/esm/tds-header-cell.entry.js +23 -4
  267. package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
  268. package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
  269. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  270. package/dist/esm/tds-header-dropdown.entry.js +2 -2
  271. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  272. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  273. package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -2
  274. package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
  275. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  276. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  277. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  278. package/dist/esm/tds-header-launcher-list.entry.js +1 -1
  279. package/dist/esm/tds-header-launcher.entry.js +2 -2
  280. package/dist/esm/tds-header-title.entry.js +1 -1
  281. package/dist/esm/tds-header.entry.js +1 -1
  282. package/dist/esm/tds-icon.entry.js +23 -37
  283. package/dist/esm/tds-inline-tab.entry.js +4 -4
  284. package/dist/esm/tds-inline-tabs.entry.js +5 -6
  285. package/dist/esm/tds-link.entry.js +3 -3
  286. package/dist/esm/tds-message.entry.js +4 -4
  287. package/dist/esm/tds-modal.entry.js +4 -4
  288. package/dist/esm/tds-navigation-tab.entry.js +4 -4
  289. package/dist/esm/tds-navigation-tabs.entry.js +7 -8
  290. package/dist/esm/tds-popover-canvas.entry.js +4 -4
  291. package/dist/esm/tds-popover-core.entry.js +2 -2
  292. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  293. package/dist/esm/tds-popover-menu.entry.js +4 -4
  294. package/dist/esm/tds-radio-button.entry.js +3 -3
  295. package/dist/esm/tds-side-menu-close-button.entry.js +2 -2
  296. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -4
  297. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +4 -4
  298. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
  299. package/dist/esm/tds-side-menu-dropdown.entry.js +4 -4
  300. package/dist/esm/tds-side-menu-item.entry.js +4 -4
  301. package/dist/esm/tds-side-menu-overlay.entry.js +2 -2
  302. package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -3
  303. package/dist/esm/tds-side-menu-user.entry.js +2 -2
  304. package/dist/esm/tds-side-menu.entry.js +2 -2
  305. package/dist/esm/tds-slider.entry.js +9 -9
  306. package/dist/esm/tds-spinner.entry.js +2 -2
  307. package/dist/esm/tds-step.entry.js +2 -2
  308. package/dist/esm/tds-stepper.entry.js +1 -1
  309. package/dist/esm/tds-table-body-input-wrapper.entry.js +2 -2
  310. package/dist/esm/tds-table-body-row-expandable.entry.js +9 -9
  311. package/dist/esm/tds-table-body-row.entry.js +3 -3
  312. package/dist/esm/tds-table-body.entry.js +3 -3
  313. package/dist/esm/tds-table-footer.entry.js +18 -4
  314. package/dist/esm/tds-table-header-input-wrapper.entry.js +2 -2
  315. package/dist/esm/tds-table-header.entry.js +3 -3
  316. package/dist/esm/tds-table-toolbar.entry.js +3 -3
  317. package/dist/esm/tds-table.entry.js +17 -5
  318. package/dist/esm/tds-tag.entry.js +2 -2
  319. package/dist/esm/tds-text-field.entry.js +7 -7
  320. package/dist/esm/tds-textarea.entry.js +5 -5
  321. package/dist/esm/tds-toast.entry.js +5 -5
  322. package/dist/esm/tds-toggle.entry.js +4 -4
  323. package/dist/esm/tds-tooltip.entry.js +3 -3
  324. package/dist/esm/tegel.js +3 -3
  325. package/dist/tegel/p-00f7e2fe.entry.js +1 -0
  326. package/dist/tegel/{p-3bd827a4.entry.js → p-05310ea7.entry.js} +1 -1
  327. package/dist/tegel/p-07d68bce.entry.js +1 -0
  328. package/dist/tegel/p-086183b6.entry.js +1 -0
  329. package/dist/tegel/p-0c0af5a8.entry.js +1 -0
  330. package/dist/tegel/p-0d6707b3.entry.js +1 -0
  331. package/dist/tegel/{p-8a32f501.entry.js → p-155d9f85.entry.js} +1 -1
  332. package/dist/tegel/{p-fa5e71b0.entry.js → p-15e36d6d.entry.js} +1 -1
  333. package/dist/tegel/{p-50060137.entry.js → p-16ad0e37.entry.js} +1 -1
  334. package/dist/tegel/p-17c11413.entry.js +1 -0
  335. package/dist/tegel/{p-84ee8542.entry.js → p-1f7bf9f0.entry.js} +1 -1
  336. package/dist/tegel/p-21bf17ff.entry.js +1 -0
  337. package/dist/tegel/p-22d03dc3.entry.js +1 -0
  338. package/dist/tegel/{p-42039b28.entry.js → p-2370c9e1.entry.js} +1 -1
  339. package/dist/tegel/p-354988d3.entry.js +1 -0
  340. package/dist/tegel/{p-43a4ab98.entry.js → p-3866fed7.entry.js} +1 -1
  341. package/dist/tegel/{p-a2a65bdf.entry.js → p-38f2223b.entry.js} +1 -1
  342. package/dist/tegel/{p-ff355ee6.entry.js → p-3c1cc00f.entry.js} +1 -1
  343. package/dist/tegel/{p-577f376b.entry.js → p-42d38e89.entry.js} +1 -1
  344. package/dist/tegel/p-46b2d0ea.entry.js +1 -0
  345. package/dist/tegel/{p-39786a40.entry.js → p-49757da4.entry.js} +1 -1
  346. package/dist/tegel/{p-974e6258.entry.js → p-51ec28bb.entry.js} +1 -1
  347. package/dist/tegel/{p-09283aec.entry.js → p-52223829.entry.js} +1 -1
  348. package/dist/tegel/{p-2368a679.entry.js → p-54445896.entry.js} +1 -1
  349. package/dist/tegel/p-581ad082.entry.js +1 -0
  350. package/dist/tegel/p-5aae21db.entry.js +1 -0
  351. package/dist/tegel/{p-6522ac2d.entry.js → p-5aee5376.entry.js} +1 -1
  352. package/dist/tegel/{p-8d5f25c6.entry.js → p-5b4607fb.entry.js} +1 -1
  353. package/dist/tegel/p-5c6b067d.entry.js +1 -0
  354. package/dist/tegel/{p-f939a432.entry.js → p-5dad80b8.entry.js} +1 -1
  355. package/dist/tegel/{p-3a8825e6.entry.js → p-5dc21700.entry.js} +1 -1
  356. package/dist/tegel/p-5e309655.entry.js +1 -0
  357. package/dist/tegel/p-5f560eda.entry.js +1 -0
  358. package/dist/tegel/{p-9d755c09.entry.js → p-5fba3df7.entry.js} +1 -1
  359. package/dist/tegel/p-663c5494.entry.js +1 -0
  360. package/dist/tegel/{p-0287d7e6.entry.js → p-6e4ace8a.entry.js} +1 -1
  361. package/dist/tegel/{p-5adfe9d6.entry.js → p-6f193415.entry.js} +1 -1
  362. package/dist/tegel/p-708a6c1d.entry.js +1 -0
  363. package/dist/tegel/{p-baabfde2.entry.js → p-7332cbd9.entry.js} +1 -1
  364. package/dist/tegel/p-75c1520d.entry.js +1 -0
  365. package/dist/tegel/{p-4427d72f.entry.js → p-7bd7cc73.entry.js} +1 -1
  366. package/dist/tegel/{p-da18140a.entry.js → p-7e35055d.entry.js} +1 -1
  367. package/dist/tegel/p-802e2119.entry.js +1 -0
  368. package/dist/tegel/{p-ed485529.entry.js → p-82e37e02.entry.js} +1 -1
  369. package/dist/tegel/p-84b46a32.entry.js +1 -0
  370. package/dist/tegel/{p-aa048dfa.entry.js → p-84f72528.entry.js} +1 -1
  371. package/dist/tegel/{p-09a49461.entry.js → p-8521649a.entry.js} +1 -1
  372. package/dist/tegel/{p-5a850695.entry.js → p-86e16d44.entry.js} +1 -1
  373. package/dist/tegel/p-8bf8546d.entry.js +1 -0
  374. package/dist/tegel/{p-2e38e5f0.entry.js → p-918df975.entry.js} +1 -1
  375. package/dist/tegel/p-9397b75a.entry.js +1 -0
  376. package/dist/tegel/{p-9baf0c95.entry.js → p-97ebf34f.entry.js} +1 -1
  377. package/dist/tegel/{p-8fda5922.entry.js → p-9d462ca4.entry.js} +1 -1
  378. package/dist/tegel/p-DO74lOFd.js +2 -0
  379. package/dist/tegel/p-a11961fd.entry.js +1 -0
  380. package/dist/tegel/{p-27147331.entry.js → p-a1968a57.entry.js} +1 -1
  381. package/dist/tegel/{p-749ca751.entry.js → p-a5c483f2.entry.js} +1 -1
  382. package/dist/tegel/{p-3ab869e0.entry.js → p-a859dedf.entry.js} +1 -1
  383. package/dist/tegel/{p-9539123c.entry.js → p-aa14dbbb.entry.js} +1 -1
  384. package/dist/tegel/{p-693d9a90.entry.js → p-ab734c4d.entry.js} +1 -1
  385. package/dist/tegel/{p-7f3b6674.entry.js → p-b17da00c.entry.js} +1 -1
  386. package/dist/tegel/p-b19125cc.entry.js +1 -0
  387. package/dist/tegel/{p-9d3dd7a1.entry.js → p-c19c0ec5.entry.js} +1 -1
  388. package/dist/tegel/{p-42d189f0.entry.js → p-c32eb8dd.entry.js} +1 -1
  389. package/dist/tegel/{p-b0fe7b44.entry.js → p-c6c257bf.entry.js} +1 -1
  390. package/dist/tegel/p-c6cf463b.entry.js +1 -0
  391. package/dist/tegel/{p-d06b8bb8.entry.js → p-c9085ee4.entry.js} +1 -1
  392. package/dist/tegel/{p-893b3a10.entry.js → p-cb165e5d.entry.js} +1 -1
  393. package/dist/tegel/{p-bfe2aab2.entry.js → p-d251e381.entry.js} +1 -1
  394. package/dist/tegel/{p-a4ce9d18.entry.js → p-d4af286a.entry.js} +1 -1
  395. package/dist/tegel/p-d8dfe177.entry.js +1 -0
  396. package/dist/tegel/p-dfdda68b.entry.js +1 -0
  397. package/dist/tegel/p-e2fb88e5.entry.js +1 -0
  398. package/dist/tegel/{p-e6df230b.entry.js → p-eb2375d7.entry.js} +1 -1
  399. package/dist/tegel/{p-15189121.entry.js → p-f2e0eaba.entry.js} +1 -1
  400. package/dist/tegel/{p-9122bbb9.entry.js → p-f75b0006.entry.js} +1 -1
  401. package/dist/tegel/p-f7ab4928.entry.js +1 -0
  402. package/dist/tegel/{p-8176c57c.entry.js → p-f9fec0b3.entry.js} +1 -1
  403. package/dist/tegel/p-fcd1c8f3.entry.js +1 -0
  404. package/dist/tegel/p-fd4e9fb7.entry.js +1 -0
  405. package/dist/tegel/tegel.css +1007 -10
  406. package/dist/tegel/tegel.esm.js +1 -1
  407. package/dist/types/components/card/card.d.ts +1 -0
  408. package/dist/types/components/icon/icon.d.ts +3 -6
  409. package/dist/types/components/table/table/table.d.ts +9 -0
  410. package/dist/types/components/table/table-footer/table-footer.d.ts +7 -0
  411. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +5 -2
  412. package/dist/types/components.d.ts +55 -2
  413. package/package.json +1 -1
  414. package/dist/cjs/index-DGBnICb9.js +0 -2548
  415. package/dist/collection/utils/accessibility.js +0 -30
  416. package/dist/components/p-B4-NZ0-T.js +0 -1
  417. package/dist/components/p-BkkKUMC2.js +0 -1
  418. package/dist/components/p-D7QKvdhL.js +0 -1
  419. package/dist/components/p-DDTzvbMK.js +0 -1
  420. package/dist/components/p-Df03ehYR.js +0 -1
  421. package/dist/components/p-Do9F2RTX.js +0 -1
  422. package/dist/esm/index-VFN9WV0d.js +0 -2519
  423. package/dist/tegel/p-1040713f.entry.js +0 -1
  424. package/dist/tegel/p-17e2a780.entry.js +0 -1
  425. package/dist/tegel/p-1a6cc08f.entry.js +0 -1
  426. package/dist/tegel/p-21e5d59e.entry.js +0 -1
  427. package/dist/tegel/p-25ad3b5a.entry.js +0 -1
  428. package/dist/tegel/p-2664fa80.entry.js +0 -1
  429. package/dist/tegel/p-2a35cd68.entry.js +0 -1
  430. package/dist/tegel/p-2bcff4fd.entry.js +0 -1
  431. package/dist/tegel/p-34a68c03.entry.js +0 -1
  432. package/dist/tegel/p-3a9e4918.entry.js +0 -1
  433. package/dist/tegel/p-4942f086.entry.js +0 -1
  434. package/dist/tegel/p-4f6aac2c.entry.js +0 -1
  435. package/dist/tegel/p-5aee8773.entry.js +0 -1
  436. package/dist/tegel/p-5d18b544.entry.js +0 -1
  437. package/dist/tegel/p-7ca5da7e.entry.js +0 -1
  438. package/dist/tegel/p-7de064e6.entry.js +0 -1
  439. package/dist/tegel/p-7ea3179a.entry.js +0 -1
  440. package/dist/tegel/p-88a89bae.entry.js +0 -1
  441. package/dist/tegel/p-937a4ef1.entry.js +0 -1
  442. package/dist/tegel/p-9f63eb3b.entry.js +0 -1
  443. package/dist/tegel/p-VFN9WV0d.js +0 -2
  444. package/dist/tegel/p-a476f37f.entry.js +0 -1
  445. package/dist/tegel/p-ac3dd42b.entry.js +0 -1
  446. package/dist/tegel/p-aea4aea5.entry.js +0 -1
  447. package/dist/tegel/p-beb70800.entry.js +0 -1
  448. package/dist/tegel/p-cb8b1417.entry.js +0 -1
  449. package/dist/tegel/p-d0842e39.entry.js +0 -1
  450. package/dist/tegel/p-d9faf299.entry.js +0 -1
  451. package/dist/tegel/p-dd44ee2d.entry.js +0 -1
  452. package/dist/tegel/p-e676b230.entry.js +0 -1
  453. package/dist/tegel/p-ebdddea6.entry.js +0 -1
  454. package/dist/tegel/p-f7518ea3.entry.js +0 -1
  455. package/dist/types/utils/accessibility.d.ts +0 -14
@@ -64,12 +64,12 @@ export class TdsTableBody {
64
64
  }
65
65
  }
66
66
  render() {
67
- return (h(Host, { key: 'adce986c270e066e38b0ec79e7d33e6db616c2a2', "data-selected-rows": this.multiselectArrayJSON, class: {
67
+ return (h(Host, { key: '60769d20b1be88e96358e43d627188860b85f580', "data-selected-rows": this.multiselectArrayJSON, class: {
68
68
  'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
69
69
  'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
70
70
  'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
71
71
  'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
72
- } }, h("slot", { key: '52a8e58d426fe4997808baadf591be93d260f701' })));
72
+ } }, h("slot", { key: '7f2451f49224792b663dacc60f66f33d2e9e70de' })));
73
73
  }
74
74
  static get is() { return "tds-table-body"; }
75
75
  static get originalStyleUrls() {
@@ -23,7 +23,7 @@ export class TdsTableBodyCell {
23
23
  event.detail.changed
24
24
  .filter((changedProp) => relevantTableProps.includes(changedProp))
25
25
  .forEach((changedProp) => {
26
- if (typeof this[changedProp] === 'undefined') {
26
+ if (!(changedProp in this)) {
27
27
  throw new Error(`Table prop is not supported: ${changedProp}`);
28
28
  }
29
29
  this[changedProp] = event.detail[changedProp];
@@ -82,13 +82,13 @@ export class TdsTableBodyCell {
82
82
  // Conditionally set padding style
83
83
  padding: paddingStyle,
84
84
  };
85
- return (h(Host, { key: '1b2e629f6e69dc781b31a858762a310cde81283a', class: {
85
+ return (h(Host, { key: '2cd26f5d02b28c1ecfdc85449ba9ada8bdf659d1', class: {
86
86
  'tds-table__body-cell': true,
87
87
  'tds-table__body-cell--hover': this.activeSorting,
88
88
  'tds-table__compact': this.compactDesign,
89
89
  'tds-table--divider': this.verticalDividers,
90
90
  'tds-table--no-min-width': this.noMinWidth,
91
- } }, h("td", { key: '809dfc0ebb81dfb243bdfad230263d5c899baaee', style: dynamicStyles, colSpan: this.colSpan, rowSpan: this.rowSpan }, this.cellValue, h("slot", { key: '1e2286ec6f5d982d3e2dc0ec82451689b585c360' }))));
91
+ } }, h("td", { key: 'b92b6d629c144ec689439501b6d3349c5781addf', style: dynamicStyles, colSpan: this.colSpan, rowSpan: this.rowSpan }, this.cellValue, h("slot", { key: 'eacfe800394785849f4e5460a8590367cd4d9bce' }))));
92
92
  }
93
93
  static get is() { return "tds-body-cell"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -241,7 +241,7 @@ export class TdsTableBodyCell {
241
241
  static get elementRef() { return "host"; }
242
242
  static get listeners() {
243
243
  return [{
244
- "name": "internalTdsPropChange",
244
+ "name": "internalTdsTablePropChange",
245
245
  "method": "internalTdsPropChangeListener",
246
246
  "target": "body",
247
247
  "capture": false,
@@ -82,7 +82,7 @@ export class TdsTableBodyInputWrapper {
82
82
  }
83
83
  }
84
84
  render() {
85
- return (h(Host, { key: '8dc24acf73acb59732dcd490d792545a63679d2a', class: {
85
+ return (h(Host, { key: '1a61abe1ae33890adae2565298086fe3d55f0cf0', class: {
86
86
  'focused-input-wrapper': this.inputFocused,
87
87
  'show-icon': this.showIcon,
88
88
  'tds-table__compact': this.compactDesign,
@@ -74,13 +74,13 @@ export class TdsTableBodyRow {
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: 'f4e5c9acd820b468b93bbd83100695c56dca306c', tabindex: this.clickable ? '0' : null, class: {
77
+ return (h(Host, { key: '2d1a875e4fcc34fd35edbc2379bb333344da26f6', tabindex: this.clickable ? '0' : null, class: {
78
78
  'tds-table__row': true,
79
79
  'tds-table__row--selected': this.selected,
80
80
  'tds-table__compact': this.compactDesign,
81
81
  'tds-table--divider': this.verticalDividers,
82
82
  'tds-table__row--clickable': this.clickable,
83
- }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '6c51cf7b6d7656912de72231b55c66534e0b1f41', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '3f33bb0e7acb689e1034869df00c810dee30a296', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '8944284b39ffa3b26e3f83e73a8fd98402bde105' })));
83
+ }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '454c4ebce72cc16c4bd0ea1d3ae57a6f1c9a6f7f', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'dfdc49c6156339ded9cd1ec0d0660d561334508e', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '823f0be11a3c370a08439cecc0725485bf7ca20c' })));
84
84
  }
85
85
  static get is() { return "tds-table-body-row"; }
86
86
  static get encapsulation() { return "shadow"; }
@@ -58,8 +58,8 @@
58
58
  cursor: pointer;
59
59
  }
60
60
  :host .tds-table__expand-control-container .tds-table__expand-input:focus {
61
- outline: 2px solid var(--tds-focus-outline-color);
62
- box-shadow: 0 0 0 1px var(--tds-white);
61
+ outline: 2px solid var(--component--focus-ring-color-strong);
62
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
63
63
  outline-offset: 1px;
64
64
  z-index: 1;
65
65
  }
@@ -138,27 +138,27 @@ export class TdsTableBodyRowExpandable {
138
138
  }
139
139
  render() {
140
140
  var _a;
141
- return (h(Host, { key: '4cb9b9ae686cff6a0c9f7a73a2eb72eb4444859a', class: {
141
+ return (h(Host, { key: '4a19eecaddbe092c48da935ad1c9f3763f6c1bbf', class: {
142
142
  'tds-table__row': true,
143
143
  'tds-table__row-expand--active': this.isExpanded,
144
144
  'tds-table__compact': this.compactDesign,
145
145
  'tds-table--divider': this.verticalDividers,
146
- } }, h("tr", { key: 'd9df910f8c230d7a0289c887a6a9cea5af569d9d', id: `expandable-content-${this.rowId}`, class: {
146
+ } }, h("tr", { key: '6724479fd5086ffd1d3f445c93fae3552f58cd08', id: `expandable-content-${this.rowId}`, class: {
147
147
  'tds-table__row': true,
148
148
  'tds-table__row--expanded': this.isExpanded,
149
149
  'tds-table__row--selected': this.selected,
150
- }, part: "row" }, this.multiselect && (h("td", { key: 'e7b76c0efb3fc1c6700980e0d48a681458eacd6f', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'e707b13211b328beb76ffe78ff874bbd863483ee', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("td", { key: '6150b96c6b00407685d8f059c083bbd159a27938', class: {
150
+ }, part: "row" }, this.multiselect && (h("td", { key: '6ff69b0dae005b397c56ed1eb354ad854ae5c007', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '525f6c830cfb5540659788f160fb385021d2d61a', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("td", { key: '1cc72fefa3ddf8faa7c92d51016ea3284b5e0ade', class: {
151
151
  'tds-table__cell-expand': true,
152
- } }, h("label", { key: '78df3bcaf49fb79d37d958a94645f6eaffbcdfba', class: "tds-table__expand-control-container" }, h("input", { key: '93a7d13ac6fd8a43e02ca67abadbcf1f37230cf8', 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: '4e9399e6e6520e24a6f40cf0a4853f436c18bd9c', class: "tds-expendable-row-icon" }, h("svg", { key: 'cde3749b3716a1b96e0f93fe6d140f2e0d1a5174', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '98803ddb93a854f0734a080641bd19c6983f63ea', "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: 'f821c49713d75972ce698c199da7b20eae103530' })), h("tr", { key: '1ffedd81c1410d80f31be60737d401a8622d104a', class: {
152
+ } }, h("label", { key: 'd508a4cb105d5c7b6a25c842ee9c17d9bcc711d9', class: "tds-table__expand-control-container" }, h("input", { key: '02309a59872696a39bc14dc569353f6718ca72de', 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: '048779f2625c0a7af929a450dedca38bad96ff1b', class: "tds-expendable-row-icon" }, h("svg", { key: '8ce707e13f806d2de2c9b2dae7b41366f49e7676', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '1d093d47b272fa218ab556a962ed34b5388128ce', "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: '5805b8699723c5ba1d1911bac9f83651b8f79503' })), h("tr", { key: '087e3a6f608f647d51087dc0952e6a24c631520b', class: {
153
153
  'tds-table__row-expand': true,
154
154
  'tds-table__row-expand--expanded': this.isExpanded,
155
- }, part: "expand-row" }, h("td", { key: '2d1f4ef38dcea38e4154ea4a788404c9b44f0b9a', class: {
155
+ }, part: "expand-row" }, h("td", { key: 'd561520155d374db9e4c255a48ed5fb24c7f2718', class: {
156
156
  'tds-table__cell-expand': true,
157
157
  'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
158
158
  'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
159
- }, part: "expand-row-cell", colSpan: (_a = this.columnsNumber) !== null && _a !== void 0 ? _a : undefined }, h("div", { key: 'ab809e98c84bc5c3bc5c1233ec20b18c80e569b7', style: {
159
+ }, part: "expand-row-cell", colSpan: (_a = this.columnsNumber) !== null && _a !== void 0 ? _a : undefined }, h("div", { key: 'f8e443b5141f451fd389ab995b3a8aa3ed44df70', style: {
160
160
  overflow: this.overflow,
161
- } }, h("slot", { key: '0a540ac54a7b6e5c1d1567e5178a0bd624b76d2f', name: "expand-row" }))))));
161
+ } }, h("slot", { key: '2c37f0136cab3b87307c16d55062f4aebc623e55', name: "expand-row" }))))));
162
162
  }
163
163
  static get is() { return "tds-table-body-row-expandable"; }
164
164
  static get encapsulation() { return "shadow"; }
@@ -14,12 +14,18 @@ export class TdsTableFooter {
14
14
  this.pagination = false;
15
15
  /** Sets the pagination number. */
16
16
  this.paginationValue = 1;
17
+ /** Set pagination label. Use {pages} as placeholder for the total number of pages. */
18
+ this.paginationLabel = 'of {pages} pages';
17
19
  /** Enable rows per page dropdown */
18
20
  this.rowsperpage = true;
21
+ /** Set rows per page label. */
22
+ this.rowsPerPageLabel = 'Rows per page';
19
23
  /** Set available rows per page values. <br/> If pagination is enabled, this array must be defined and controlled by the consumer of Tegel */
20
24
  this.rowsPerPageValues = [10, 25, 50];
21
25
  /** Set rows per page dropdown open direction */
22
26
  this.rowsPerPageDropdownOpenDirection = 'auto';
27
+ /** Set rows per page dropdown aria label. */
28
+ this.rowsPerPageDropdownAriaLabel = 'Select rows per page';
23
29
  /** Sets the number of pages. <br/> If pagination is enabled, this value must be defined and controlled by the consumer of Tegel. */
24
30
  this.pages = 0;
25
31
  /** <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails. */
@@ -184,16 +190,24 @@ export class TdsTableFooter {
184
190
  }
185
191
  return styles;
186
192
  }
193
+ renderPaginationLabel() {
194
+ const pagesPlaceholder = '{pages}';
195
+ const paginationLabelParts = this.paginationLabel.split(pagesPlaceholder);
196
+ if (paginationLabelParts.length === 1) {
197
+ return this.paginationLabel;
198
+ }
199
+ return paginationLabelParts.flatMap((part, index) => index === paginationLabelParts.length - 1 ? [part] : [part, h("span", null, this.pages)]);
200
+ }
187
201
  render() {
188
202
  var _a;
189
- return (h(Host, { key: '482894dd95553b594dd56671a1b8a38960f5c690', class: {
203
+ return (h(Host, { key: '8dc06e9c565e608dd02bf74a0328b515aaea31c2', class: {
190
204
  'tds-table--compact': this.compactDesign,
191
205
  'footer__horizontal-scroll': !!this.horizontalScrollWidth,
192
- }, style: this.getStyles() }, h("tr", { key: 'cc0be5953fda3cc32cf88956d511473944a7b13a', class: "tds-table__footer-row" }, h("td", { key: 'f647d4ef2979a980e70b9f142626196fdf72d170', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: 'a998711732c8085557ce0759b309e19b469ae665', class: "tds-table__pagination" }, h("div", { key: '0455ce54c5ec1f535cf6f85f6e039d24ae6dcd23', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: 'b9ca320cfb96935deb4171d12c7a0062fd08cd54', class: "rows-per-page" }, h("p", { key: '289cdf00f94fc228672b5e82f22ffebb5315ec3c' }, "Rows per page"), h("tds-dropdown", { key: 'dbc0a944294d509f1b4e87a221db63e8461a810a', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", tdsAriaLabel: "Select rows per page", defaultValue: `${this.rowsPerPageValue}`, onTdsChange: (event) => this.rowsPerPageChange(event), openDirection: this.rowsPerPageDropdownOpenDirection }, this.rowsPerPageValues.map((value) => (h("tds-dropdown-option", { value: `${value}` }, value))))))), h("div", { key: 'dfb4f5119d13fc42269568f506f81e3e6a9b46bd', class: "tds-table__page-selector" }, h("input", { key: '75be207207ff0e5bcb9a89a8f3611c54c8b7aa24', ref: (element) => {
206
+ }, style: this.getStyles() }, h("tr", { key: '1a64b9023acc03204ad4219fd986b106334ff6e6', class: "tds-table__footer-row" }, h("td", { key: '815d2a7aaf4c98035fc0b1bdb4b7b7668f4a5e83', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '65dbb8f0ffd41242553775c6e42fff5c626d0017', class: "tds-table__pagination" }, h("div", { key: 'de880d869b550d94ab543dcb3182b354ce09cc45', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '481589d46734bed1e77037003169d12373e6e169', class: "rows-per-page" }, h("p", { key: 'f054474b89ddb6cd3245b215c9095f445582f6a9' }, this.rowsPerPageLabel), h("tds-dropdown", { key: '066a6f324de1a0c83f9e15350b133e8de14f8259', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", tdsAriaLabel: this.rowsPerPageDropdownAriaLabel, defaultValue: `${this.rowsPerPageValue}`, onTdsChange: (event) => this.rowsPerPageChange(event), openDirection: this.rowsPerPageDropdownOpenDirection }, this.rowsPerPageValues.map((value) => (h("tds-dropdown-option", { value: `${value}` }, value))))))), h("div", { key: '598f908e641e97a7d02681e57534817a063b1bd8', class: "tds-table__page-selector" }, h("input", { key: '5cca773b5720451a74716aaa4be370285d9b34a5', ref: (element) => {
193
207
  if (element) {
194
208
  this.inputElement = element;
195
209
  }
196
- }, class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '391644af3ab2c48f89167745c717fdf95ef542f1', class: "tds-table__footer-text" }, "of ", h("span", { key: 'b69a412fe7e0e9b63f9608633d5b8b539d697453' }, this.pages), " pages"), h("button", { key: '8828b14195d9b20c6fdeb35791be15d8514de4f7', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '59eea824cda8abbd9f02438d86b55da75c43f84b', name: "skip_backwards", size: "20px" })), h("button", { key: 'a64a857b6bc6002e72370604d3d601f19d212c21', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '6000b40ebb29c0e93b05111aef80c90aea6a9066', name: "chevron_left", size: "20px" })), h("button", { key: '758935d7d58ce2be8c8ba31f1e1c2505fa454ea8', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '4b39306ecc009aa9974916def328bcfbbfd7bfdc', name: "chevron_right", size: "20px" })), h("button", { key: '208e9276568873de41d5e38d1000056c5999e233', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: 'f394d9f7bfe31df460765dbaf3de069ba2913436', name: "skip_forward", size: "20px" })))))))));
210
+ }, class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '2fc916ca072a1f109408025f34e55efec40aa661', class: "tds-table__footer-text" }, this.renderPaginationLabel()), h("button", { key: '843fbd54ec2f77f4b4a494ed93ba6fa82ba169e7', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '1f79a5af16a33b6635cd1533ac9852852bd6e6d6', name: "skip_backwards", size: "20px" })), h("button", { key: '3b7c30d4f1c167001bc42bde4523436aa807e501', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '79cbe3606b633611e63cffc674f2552c496479ef', name: "chevron_left", size: "20px" })), h("button", { key: '7251a8abc9628336696267c8a7c9296f078c3304', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'e06b07d0aca6cfb3a053391ac92f0950b6d9dc30', name: "chevron_right", size: "20px" })), h("button", { key: 'f843cd3597e7419c174919254e28f5b94b9d184f', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '5d217d4ff8ae825e1ac5cd31416b56dc04a323b3', name: "skip_forward", size: "20px" })))))))));
197
211
  }
198
212
  static get is() { return "tds-table-footer"; }
199
213
  static get encapsulation() { return "shadow"; }
@@ -249,6 +263,26 @@ export class TdsTableFooter {
249
263
  "attribute": "pagination-value",
250
264
  "defaultValue": "1"
251
265
  },
266
+ "paginationLabel": {
267
+ "type": "string",
268
+ "mutable": false,
269
+ "complexType": {
270
+ "original": "string",
271
+ "resolved": "string",
272
+ "references": {}
273
+ },
274
+ "required": false,
275
+ "optional": false,
276
+ "docs": {
277
+ "tags": [],
278
+ "text": "Set pagination label. Use {pages} as placeholder for the total number of pages."
279
+ },
280
+ "getter": false,
281
+ "setter": false,
282
+ "reflect": true,
283
+ "attribute": "pagination-label",
284
+ "defaultValue": "'of {pages} pages'"
285
+ },
252
286
  "rowsperpage": {
253
287
  "type": "boolean",
254
288
  "mutable": false,
@@ -269,6 +303,26 @@ export class TdsTableFooter {
269
303
  "attribute": "rowsperpage",
270
304
  "defaultValue": "true"
271
305
  },
306
+ "rowsPerPageLabel": {
307
+ "type": "string",
308
+ "mutable": false,
309
+ "complexType": {
310
+ "original": "string",
311
+ "resolved": "string",
312
+ "references": {}
313
+ },
314
+ "required": false,
315
+ "optional": false,
316
+ "docs": {
317
+ "tags": [],
318
+ "text": "Set rows per page label."
319
+ },
320
+ "getter": false,
321
+ "setter": false,
322
+ "reflect": true,
323
+ "attribute": "rows-per-page-label",
324
+ "defaultValue": "'Rows per page'"
325
+ },
272
326
  "rowsPerPageValues": {
273
327
  "type": "unknown",
274
328
  "mutable": false,
@@ -307,6 +361,26 @@ export class TdsTableFooter {
307
361
  "attribute": "rows-per-page-dropdown-open-direction",
308
362
  "defaultValue": "'auto'"
309
363
  },
364
+ "rowsPerPageDropdownAriaLabel": {
365
+ "type": "string",
366
+ "mutable": false,
367
+ "complexType": {
368
+ "original": "string",
369
+ "resolved": "string",
370
+ "references": {}
371
+ },
372
+ "required": false,
373
+ "optional": false,
374
+ "docs": {
375
+ "tags": [],
376
+ "text": "Set rows per page dropdown aria label."
377
+ },
378
+ "getter": false,
379
+ "setter": false,
380
+ "reflect": true,
381
+ "attribute": "rows-per-page-dropdown-aria-label",
382
+ "defaultValue": "'Select rows per page'"
383
+ },
310
384
  "pages": {
311
385
  "type": "number",
312
386
  "mutable": false,
@@ -90,11 +90,11 @@ export class TdsTableHeaderRow {
90
90
  });
91
91
  }
92
92
  render() {
93
- return (h(Host, { key: '081f1f38317966710af212df1f9ce7c0abe5e43d', class: {
93
+ return (h(Host, { key: '3fd3b267495c342977831ff9733b1ac671e605c5', class: {
94
94
  'tds-table--compact': this.compactDesign,
95
95
  'tds-table--divider': this.verticalDividers,
96
96
  'tds-table--toolbar-available': this.enableToolbarDesign,
97
- } }, h("tr", { key: 'd7d544ea5dd7d54c7599797fd22f5dcc610740d9' }, this.multiselect && (h("th", { key: 'de1d90c31d0bea8c277a748c4f9a5cda5251cb2f', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '3e62bed00d239585d752e76f522f656f796084f5', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '0500722422e1512430fd01050fac00bfa5d0f165', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '6b71efdaec2bd25f3a28077f90c42dc5bc950339', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '32f0040445889329eabd3f2084890721d1799636' }))));
97
+ } }, h("tr", { key: 'f4ee401353ff0882aa3f9785721a44845c13ea2e' }, this.multiselect && (h("th", { key: '1a72135d5fbcc84c73aee71f6d6cf563dcef00a8', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'beff818341bb016234d1b2ce312c950f8be7938d', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '796c809f3238345667e724c9a416fd807cf8b218', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: 'd22a9cf5c6d23de55c184c7bec8972732ab32d49', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '8e4ff0efe17956fb9ef8bf0a21e18bcd660515da' }))));
98
98
  }
99
99
  static get is() { return "tds-table-header"; }
100
100
  static get encapsulation() { return "shadow"; }
@@ -5,6 +5,7 @@ const relevantTableProps = [
5
5
  'compactDesign',
6
6
  'noMinWidth',
7
7
  'verticalDividers',
8
+ 'sortColumnKey',
8
9
  ];
9
10
  /**
10
11
  * @slot <default> - <b>Unnamed slot.</b> For the cell contents.
@@ -67,11 +68,14 @@ export class TdsTableHeaderCell {
67
68
  event.detail.changed
68
69
  .filter((changedProp) => relevantTableProps.includes(changedProp))
69
70
  .forEach((changedProp) => {
70
- if (typeof this[changedProp] === 'undefined') {
71
+ if (!(changedProp in this)) {
71
72
  throw new Error(`Table prop is not supported: ${changedProp}`);
72
73
  }
73
74
  this[changedProp] = event.detail[changedProp];
74
75
  });
76
+ if (event.detail.changed.some((changedProp) => changedProp === 'sortColumnKey' || changedProp === 'sortDirection')) {
77
+ this.syncSortingStateFromTable();
78
+ }
75
79
  }
76
80
  }
77
81
  updateOptionsContent(event) {
@@ -96,6 +100,21 @@ export class TdsTableHeaderCell {
96
100
  var _a;
97
101
  this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
98
102
  });
103
+ this.syncSortingStateFromTable();
104
+ }
105
+ isSortDirection(sortDirection) {
106
+ return sortDirection === 'asc' || sortDirection === 'desc';
107
+ }
108
+ syncSortingStateFromTable() {
109
+ var _a;
110
+ const sortDirection = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.sortDirection;
111
+ if (!this.sortColumnKey || !this.isSortDirection(sortDirection)) {
112
+ this.sortedByMyKey = false;
113
+ this.sortingDirection = undefined;
114
+ return;
115
+ }
116
+ this.sortedByMyKey = this.sortable && this.cellKey === this.sortColumnKey;
117
+ this.sortingDirection = this.sortedByMyKey ? sortDirection : undefined;
99
118
  }
100
119
  componentWillRender() {
101
120
  // if text alignment matches any of the acceptable values, use it. Otherwise, set "left" as default
@@ -118,7 +137,7 @@ export class TdsTableHeaderCell {
118
137
  return 'none';
119
138
  }
120
139
  render() {
121
- return (h(Host, { key: '3cb5c70f8d022f7caf0cc84a23313f72d7549427', class: {
140
+ return (h(Host, { key: 'fa26adb6bbc2221337613d4e0cdbd9d356c97a36', class: {
122
141
  'tds-table__header-cell': true,
123
142
  'tds-table__header-cell--sortable': this.sortable,
124
143
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -129,7 +148,7 @@ export class TdsTableHeaderCell {
129
148
  'tds-table--extra-column': this.multiselect || this.expandableRows,
130
149
  'tds-table--toolbar-available': this.enableToolbarDesign,
131
150
  'tds-table--no-padding': this.disablePadding,
132
- } }, h("th", { key: 'cb916b84ae682283c32d733c3522bb42e686609b', style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onFocus: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover(''), onBlur: () => this.onHeadCellHover(''), "aria-sort": this.getAriaSort(), colSpan: this.colSpan, rowSpan: this.rowSpan }, this.headerCellContent())));
151
+ } }, h("th", { key: '93d822a9b0c7fb7ef5a45a2440057afc8a8bd962', style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onFocus: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover(''), onBlur: () => this.onHeadCellHover(''), "aria-sort": this.getAriaSort(), colSpan: this.colSpan, rowSpan: this.rowSpan }, this.headerCellContent())));
133
152
  }
134
153
  static get is() { return "tds-header-cell"; }
135
154
  static get encapsulation() { return "shadow"; }
@@ -340,7 +359,8 @@ export class TdsTableHeaderCell {
340
359
  "multiselect": {},
341
360
  "enableToolbarDesign": {},
342
361
  "tableId": {},
343
- "expandableRows": {}
362
+ "expandableRows": {},
363
+ "sortColumnKey": {}
344
364
  };
345
365
  }
346
366
  static get events() {
@@ -418,7 +438,7 @@ export class TdsTableHeaderCell {
418
438
  static get elementRef() { return "host"; }
419
439
  static get listeners() {
420
440
  return [{
421
- "name": "internalTdsPropChange",
441
+ "name": "internalTdsTablePropChange",
422
442
  "method": "internalTdsPropChangeListener",
423
443
  "target": "body",
424
444
  "capture": false,
@@ -64,7 +64,7 @@ export class TdsTableHeaderInputWrapper {
64
64
  }
65
65
  }
66
66
  render() {
67
- return (h(Host, { key: '43bff4694595b6b6355ca05af951b9a31f27ee35', class: {
67
+ return (h(Host, { key: '524d664d605a1cefb1fc700cf62a31976e85de2c', class: {
68
68
  'focused-input-wrapper': this.inputFocused,
69
69
  'show-icon': this.showIcon,
70
70
  'tds-table__compact': this.compactDesign,
@@ -73,10 +73,10 @@ export class TdsTableToolbar {
73
73
  return styles;
74
74
  }
75
75
  render() {
76
- return (h(Host, { key: 'b98524b265ec24c7204f78fdba7298806488c5cd', class: {
76
+ return (h(Host, { key: '82de92eb66d3592648321ec69f571a7f8562870d', class: {
77
77
  'tds-table--compact': this.compactDesign,
78
78
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
79
- }, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '474eb3d4623e98f69094a9d5c6942fa2bef05fd2', class: "tds-table__upper-bar-flex" }, h("div", { key: 'f616780361cc2101ddb2e0e9d112cd596f4a91ed', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '0a8a2e7330352f0c8bce0f29f43f6f5bb7a4204a', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: 'fe7312c205337614665ac25824bfd27c7d9cadc8', name: "start" })), h("div", { key: '95af8f20377ecc20417a8e51dd1e2e619c1eeb21', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '798d8ff8fe3008f09018c095c8b07e2a6df17aa7', class: "tds-table__searchbar" }, h("input", { key: 'e152dc0fcbb47e181788ebbe57ac751332d5cb4c', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: 'fc6a824134d9a41b1aa6864238e0ad37793003ac', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '8ed3d82df541b903c9b6d8e36e172ce15c2d5f54', name: "search", size: "20px" })))), h("slot", { key: 'de8d5e9242b9bb1de8a8254cd08fdd41eb76a5e5', name: "end" })))));
79
+ }, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '87aff8f8230e0289217e9b4ba276fd90adeed20d', class: "tds-table__upper-bar-flex" }, h("div", { key: 'c4cd83ece587f591ac7532580cd6d52f82be3cf6', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '5305f59a0e6c97dded2cf07fe78738d829ea862e', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: 'c76b2d1bd6dcc3ae00cbe8ebc217e3de2b77a16e', name: "start" })), h("div", { key: 'f06062c8f1c11ff05d41aa6b2a5811899036b240', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '0b59c9b54861d4c02a5ec0861d52120f834f1208', class: "tds-table__searchbar" }, h("input", { key: '6b06fb4aa86958c44c7fc8d1eeaa5bd895e52b82', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '3ee299d71b855f904b8b478d8d58e058aefd66b8', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '7beaa148dfa57c227534c5015a2c6ccd924bb921', name: "search", size: "20px" })))), h("slot", { key: '0d88dc478526afcfe25dc56b9d3b8426c48ba8a7', name: "end" })))));
80
80
  }
81
81
  static get is() { return "tds-table-toolbar"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -22,8 +22,8 @@
22
22
  border: none;
23
23
  }
24
24
  :host ::slotted(*:focus-within)::before {
25
- outline: 2px solid var(--tds-focus-outline-color);
26
- box-shadow: 0 0 0 1px var(--tds-white);
25
+ outline: 2px solid var(--component--focus-ring-color-strong);
26
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
27
27
  outline-offset: 1px;
28
28
  z-index: 1;
29
29
  content: "";
@@ -35,10 +35,10 @@ export class TdsFolderTab {
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '5d7bdff1bc18639ce28722cf817d45e2819291fe', "aria-selected": this.selected }, h("div", { key: '82fb790518a8d3f6c9427c3dd3cbd804fb54ad4f', class: {
38
+ return (h(Host, { key: '5b4c8d2ab085c9be43403c2330ffb1dfd187cd08', "aria-selected": this.selected }, h("div", { key: 'dadda798fcce1cc0dc47ebbf50ce1c9b439052ab', class: {
39
39
  selected: this.selected,
40
40
  disabled: this.disabled,
41
- }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: 'fdd78b5c0c9852e587c18d8c5870e00975b62896' }))));
41
+ }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '4b4a1ee2671fb5b298588a74c44b056bb58081d5' }))));
42
42
  }
43
43
  static get is() { return "tds-folder-tab"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -55,8 +55,8 @@
55
55
  }
56
56
  :host .scroll-right-button:focus-within::before,
57
57
  :host .scroll-left-button:focus-within::before {
58
- outline: 2px solid var(--tds-focus-outline-color);
59
- box-shadow: 0 0 0 1px var(--tds-white);
58
+ outline: 2px solid var(--component--focus-ring-color-strong);
59
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
60
60
  outline-offset: 1px;
61
61
  z-index: 1;
62
62
  content: "";
@@ -45,7 +45,7 @@ export class TdsFolderTabs {
45
45
  };
46
46
  this.addEventListenerToTabs = () => {
47
47
  this.tabElements = Array.from(this.host.children);
48
- this.tabElements.map((item, index) => {
48
+ this.tabElements.forEach((item, index) => {
49
49
  const clickHandler = () => {
50
50
  if (!item.disabled) {
51
51
  const tdsChangeEvent = this.tdsChange.emit({
@@ -60,7 +60,6 @@ export class TdsFolderTabs {
60
60
  };
61
61
  item.addEventListener('click', clickHandler);
62
62
  this.clickHandlers.set(item, clickHandler); // Store the handler in WeakMap
63
- return item;
64
63
  });
65
64
  };
66
65
  this.removeEventListenerFromTabs = () => {
@@ -178,9 +177,9 @@ export class TdsFolderTabs {
178
177
  this.removeEventListenerFromTabs();
179
178
  }
180
179
  render() {
181
- return (h(Host, { key: 'c012eb13a3d87fd700f5aeebda39b5eab29ef867', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'ebee1cf15b1c7425fb675cceedfdbdedacdf7057', class: "wrapper", ref: (el) => {
180
+ return (h(Host, { key: '5a514ad6fbd392b08496a09a20598ef5475094c8', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'fa544277ee2adb5b4cda82972e4027cf411fa9d1', class: "wrapper", ref: (el) => {
182
181
  this.navWrapperElement = el;
183
- } }, h("button", { key: 'f91db438a2374acc0569bccb5895b0061816cdb2', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '497c2b7709f37f12d6c507f9ef4a55851bcfad78', name: "chevron_left", size: "20px" })), h("slot", { key: '1b8be04cceec4793fffac9cf26ba603dd578299d', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '210096e3f848f40fc3a976bfbeb76f623e06c2bc', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'c1235de0754f7df8418b1609a713e2766be059bd', name: "chevron_right", size: "20px" })))));
182
+ } }, h("button", { key: 'cb2b3bb4d4bc420c4a916e6731c226bc3ebd8c6b', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '2cfece96b48343b5caa87952457439932e178eda', name: "chevron_left", size: "20px" })), h("slot", { key: '2813c0254fd9a8fbce52e4c1d27b8eb344314137', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '08e2612873a7311ff35a0fecc1e72bb020a30cf3', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'd90995179f38202e249a889ce9e909d9218184e0', name: "chevron_right", size: "20px" })))));
184
183
  }
185
184
  static get is() { return "tds-folder-tabs"; }
186
185
  static get encapsulation() { return "shadow"; }
@@ -30,8 +30,8 @@
30
30
  top: 3px;
31
31
  bottom: 3px;
32
32
  outline: 2px solid var(--tds-blue-400);
33
- outline: 2px solid var(--tds-focus-outline-color);
34
- box-shadow: 0 0 0 1px var(--tds-white);
33
+ outline: 2px solid var(--component--focus-ring-color-strong);
34
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
35
35
  outline-offset: 1px;
36
36
  z-index: 1;
37
37
  }
@@ -31,11 +31,11 @@ export class TdsInlineTab {
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'c7bb79b69d733103faad0e36f7967123a2323ebd', "aria-selected": this.selected }, h("div", { key: '5b03665929273d87f3fb584e8a44937f81ccf20f', class: {
34
+ return (h(Host, { key: 'cddeb55abe1eca0ffeb7bbd3e8b773868aacea9a', "aria-selected": this.selected }, h("div", { key: 'e53a5dd3857c24301858678735f18e398f3e44c4', class: {
35
35
  'inline-tab-item': true,
36
36
  'selected': this.selected,
37
37
  'disabled': this.disabled,
38
- } }, h("slot", { key: '360210a7e2c66fde62d4531aef7894b82d9f5605' }))));
38
+ } }, h("slot", { key: 'bebb2c7a36479a9f2139420c7b6aafa89b1d03e7' }))));
39
39
  }
40
40
  static get is() { return "tds-inline-tab"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -72,8 +72,8 @@
72
72
  content: "";
73
73
  position: absolute;
74
74
  inset: 3px;
75
- outline: 2px solid var(--tds-focus-outline-color);
76
- box-shadow: 0 0 0 1px var(--tds-white);
75
+ outline: 2px solid var(--component--focus-ring-color-strong);
76
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
77
77
  outline-offset: 1px;
78
78
  z-index: 1;
79
79
  }
@@ -46,7 +46,7 @@ export class TdsInlineTabs {
46
46
  };
47
47
  this.addEventListenerToTabs = () => {
48
48
  this.tabElements = Array.from(this.host.children);
49
- this.tabElements.map((item, index) => {
49
+ this.tabElements.forEach((item, index) => {
50
50
  const clickHandler = () => {
51
51
  if (!item.disabled) {
52
52
  const tdsChangeEvent = this.tdsChange.emit({
@@ -61,7 +61,6 @@ export class TdsInlineTabs {
61
61
  };
62
62
  item.addEventListener('click', clickHandler);
63
63
  this.clickHandlers.set(item, clickHandler); // Store the handler in WeakMap
64
- return item;
65
64
  });
66
65
  };
67
66
  this.removeEventListenerFromTabs = () => {
@@ -179,9 +178,9 @@ export class TdsInlineTabs {
179
178
  this.removeEventListenerFromTabs();
180
179
  }
181
180
  render() {
182
- return (h(Host, { key: 'b4d7b5c75a8e81e49fdb392580852077a44ebe0c', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}`, style: { '--padding-left': `${this.leftPadding}px` } }, h("div", { key: '3be2477f0c9f24987aa9b0ca5c43c05fb19a32e3', class: "wrapper", ref: (el) => {
181
+ return (h(Host, { key: '38532db9803b29ef6de96f338c14c35b4205b5d7', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}`, style: { '--padding-left': `${this.leftPadding}px` } }, h("div", { key: 'd093194a98d9c92223bd5db6419ad90a984d9238', class: "wrapper", ref: (el) => {
183
182
  this.navWrapperElement = el;
184
- } }, h("button", { key: 'e6252b0e4bd02809a09db1183fe7dbea91103cbf', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'd4ce2393b25f728ac2de1702d144f612902dc330', name: "chevron_left", size: "20px" })), h("slot", { key: 'd079e254442795f81737b5552ce5ce177683c9fb', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '5e3db06d48f3109550974ba0675aef8367373df7', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'cd00e5c5ad1b757104d5c3f7338a45c9243eb25d', name: "chevron_right", size: "20px" })))));
183
+ } }, h("button", { key: '24a52205d7b5bd708397a26ad9749cfd8b121262', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '28006de41f8488e74711b6dfd82ebb29507d78c8', name: "chevron_left", size: "20px" })), h("slot", { key: '7f8cea1755acf76a987d716fe293585f936c4bfa', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'bacebe334ce63ff55cdb38ef5ab32b88fef72151', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'c0f5a5ed3ad7c2ebcb059d01542a7b6c69ac6529', name: "chevron_right", size: "20px" })))));
185
184
  }
186
185
  static get is() { return "tds-inline-tabs"; }
187
186
  static get encapsulation() { return "shadow"; }
@@ -28,8 +28,8 @@
28
28
  right: 0;
29
29
  top: 3px;
30
30
  bottom: 3px;
31
- outline: 2px solid var(--tds-focus-outline-color);
32
- box-shadow: 0 0 0 1px var(--tds-white);
31
+ outline: 2px solid var(--component--focus-ring-color-strong);
32
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
33
33
  outline-offset: 1px;
34
34
  z-index: 1;
35
35
  }
@@ -31,8 +31,8 @@ export class TdsNavigationTab {
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '3fb20c6c5e5839eafbd7acc8e63d9b9ffeb531bd' }, h("div", { key: 'c04745d7b4bb9dc4efb3aa17a27f57a3219ac0d0', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
35
- ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '2bdb886f7e601878878f77a1ee6e68f3b34a25e9' }))));
34
+ return (h(Host, { key: '7a5504183a5719b59900c52e6193755245e6caf9' }, h("div", { key: '5c514ced6f952df12067c414396ce2b8398c6cb9', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
35
+ ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '382acd34bdd7a3a7be15fb539978be51c5040482' }))));
36
36
  }
37
37
  static get is() { return "tds-navigation-tab"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -72,8 +72,8 @@
72
72
  content: "";
73
73
  position: absolute;
74
74
  inset: 3px;
75
- outline: 2px solid var(--tds-focus-outline-color);
76
- box-shadow: 0 0 0 1px var(--tds-white);
75
+ outline: 2px solid var(--component--focus-ring-color-strong);
76
+ box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
77
77
  outline-offset: 1px;
78
78
  z-index: 1;
79
79
  }