@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.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 (354) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/tds-block.cjs.entry.js +1 -1
  4. package/dist/cjs/tds-body-cell.cjs.entry.js +3 -4
  5. package/dist/cjs/tds-button_2.cjs.entry.js +5 -7
  6. package/dist/cjs/tds-card.cjs.entry.js +2 -2
  7. package/dist/cjs/tds-checkbox.cjs.entry.js +3 -6
  8. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +5 -9
  9. package/dist/cjs/tds-datetime.cjs.entry.js +5 -8
  10. package/dist/cjs/tds-dropdown_2.cjs.entry.js +40 -50
  11. package/dist/cjs/tds-folder-tabs.cjs.entry.js +3 -10
  12. package/dist/cjs/tds-footer-group.cjs.entry.js +5 -6
  13. package/dist/cjs/tds-footer-item.cjs.entry.js +2 -6
  14. package/dist/cjs/tds-footer.cjs.entry.js +2 -2
  15. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
  16. package/dist/cjs/tds-header-cell.cjs.entry.js +5 -10
  17. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +3 -5
  18. package/dist/cjs/tds-header-dropdown.cjs.entry.js +5 -7
  19. package/dist/cjs/tds-header-launcher.cjs.entry.js +4 -8
  20. package/dist/cjs/tds-header.cjs.entry.js +6 -8
  21. package/dist/cjs/tds-icon.cjs.entry.js +2 -1
  22. package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -10
  23. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  24. package/dist/cjs/tds-modal.cjs.entry.js +5 -6
  25. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -12
  26. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
  27. package/dist/cjs/tds-popover-core.cjs.entry.js +8 -10
  28. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
  29. package/dist/cjs/tds-radio-button.cjs.entry.js +1 -4
  30. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -5
  31. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +9 -13
  32. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
  33. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +4 -5
  34. package/dist/cjs/tds-side-menu-item.cjs.entry.js +9 -15
  35. package/dist/cjs/tds-side-menu.cjs.entry.js +9 -12
  36. package/dist/cjs/tds-slider.cjs.entry.js +16 -26
  37. package/dist/cjs/tds-step.cjs.entry.js +1 -3
  38. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
  39. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +10 -17
  40. package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -8
  41. package/dist/cjs/tds-table-body.cjs.entry.js +5 -9
  42. package/dist/cjs/tds-table-footer.cjs.entry.js +8 -15
  43. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  44. package/dist/cjs/tds-table-header.cjs.entry.js +18 -24
  45. package/dist/cjs/tds-table-toolbar.cjs.entry.js +4 -6
  46. package/dist/cjs/tds-table.cjs.entry.js +12 -14
  47. package/dist/cjs/tds-text-field.cjs.entry.js +6 -7
  48. package/dist/cjs/tds-textarea.cjs.entry.js +4 -5
  49. package/dist/cjs/tds-toggle.cjs.entry.js +4 -5
  50. package/dist/cjs/tds-tooltip.cjs.entry.js +10 -6
  51. package/dist/cjs/tegel.cjs.js +1 -1
  52. package/dist/collection/components/accordion/accordion.js +4 -4
  53. package/dist/collection/components/block/block.js +3 -3
  54. package/dist/collection/components/button/button.js +7 -9
  55. package/dist/collection/components/card/card.js +4 -4
  56. package/dist/collection/components/checkbox/checkbox.js +4 -7
  57. package/dist/collection/components/chip/chip.js +1 -1
  58. package/dist/collection/components/datetime/datetime.js +7 -10
  59. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +6 -9
  60. package/dist/collection/components/dropdown/dropdown.css +1 -0
  61. package/dist/collection/components/dropdown/dropdown.js +53 -44
  62. package/dist/collection/components/footer/footer-group/footer-group.js +5 -6
  63. package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
  64. package/dist/collection/components/footer/footer.js +4 -4
  65. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  66. package/dist/collection/components/header/header-dropdown/header-dropdown.js +5 -7
  67. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +3 -5
  68. package/dist/collection/components/header/header-item/header-item.js +5 -9
  69. package/dist/collection/components/header/header-launcher/header-launcher.js +4 -8
  70. package/dist/collection/components/header/header.js +6 -8
  71. package/dist/collection/components/icon/icon.js +4 -3
  72. package/dist/collection/components/message/message.css +2 -1
  73. package/dist/collection/components/message/message.js +4 -4
  74. package/dist/collection/components/modal/modal.css +54 -10
  75. package/dist/collection/components/modal/modal.js +7 -8
  76. package/dist/collection/components/popover-canvas/popover-canvas.js +9 -9
  77. package/dist/collection/components/popover-core/popover-core.js +23 -20
  78. package/dist/collection/components/popover-menu/popover-menu.js +9 -9
  79. package/dist/collection/components/radio-button/radio-button.js +1 -4
  80. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -5
  81. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +4 -5
  82. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  83. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +9 -13
  84. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -15
  85. package/dist/collection/components/side-menu/side-menu.js +9 -12
  86. package/dist/collection/components/slider/slider.js +16 -26
  87. package/dist/collection/components/stepper/step/step.js +1 -3
  88. package/dist/collection/components/table/table/table.js +18 -36
  89. package/dist/collection/components/table/table-body/table-body.js +5 -9
  90. package/dist/collection/components/table/table-body-cell/table-body-cell.js +6 -7
  91. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  92. package/dist/collection/components/table/table-body-row/table-body-row.js +10 -13
  93. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +16 -23
  94. package/dist/collection/components/table/table-footer/table-footer.js +13 -20
  95. package/dist/collection/components/table/table-header/table-header.js +21 -27
  96. package/dist/collection/components/table/table-header-cell/table-header-cell.js +17 -22
  97. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  98. package/dist/collection/components/table/table-toolbar/table-toolbar.js +6 -8
  99. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +5 -12
  100. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +3 -10
  101. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -12
  102. package/dist/collection/components/text-field/text-field.js +8 -9
  103. package/dist/collection/components/textarea/textarea.js +6 -7
  104. package/dist/collection/components/toggle/toggle.js +4 -5
  105. package/dist/collection/components/tooltip/tooltip.js +13 -9
  106. package/dist/collection/utils/appendHiddenInput.js +4 -6
  107. package/dist/components/{p-ad376f70.js → p-04a014cf.js} +11 -7
  108. package/dist/components/{p-e0ccf8e6.js → p-1dafdc8c.js} +9 -15
  109. package/dist/components/{p-6fd2b339.js → p-3308d5fa.js} +8 -10
  110. package/dist/components/{p-a64cbc40.js → p-3a7e4d0d.js} +9 -10
  111. package/dist/components/{p-7e02ea3e.js → p-3f475529.js} +35 -42
  112. package/dist/components/{p-e627f11b.js → p-44f5b5e1.js} +3 -6
  113. package/dist/components/{p-415fafb3.js → p-63552d0e.js} +5 -5
  114. package/dist/components/{p-98d082f9.js → p-6ef207b2.js} +8 -11
  115. package/dist/components/{p-ead6727f.js → p-7c3348eb.js} +5 -9
  116. package/dist/components/{p-da11a695.js → p-9336db16.js} +3 -5
  117. package/dist/components/{p-799470b1.js → p-c62b61fe.js} +5 -7
  118. package/dist/components/{p-0d286c19.js → p-d10d21bd.js} +2 -2
  119. package/dist/components/{p-edc838a0.js → p-f7d94947.js} +2 -1
  120. package/dist/components/tds-accordion-item.js +1 -1
  121. package/dist/components/tds-accordion.js +2 -2
  122. package/dist/components/tds-banner.js +1 -1
  123. package/dist/components/tds-block.js +1 -1
  124. package/dist/components/tds-body-cell.js +4 -5
  125. package/dist/components/tds-button.js +1 -1
  126. package/dist/components/tds-card.js +4 -4
  127. package/dist/components/tds-checkbox.js +1 -1
  128. package/dist/components/tds-datetime.js +6 -9
  129. package/dist/components/tds-dropdown-option.js +1 -1
  130. package/dist/components/tds-dropdown.js +1 -1
  131. package/dist/components/tds-folder-tabs.js +4 -11
  132. package/dist/components/tds-footer-group.js +6 -7
  133. package/dist/components/tds-footer-item.js +2 -6
  134. package/dist/components/tds-footer.js +2 -2
  135. package/dist/components/tds-header-brand-symbol.js +3 -3
  136. package/dist/components/tds-header-cell.js +6 -11
  137. package/dist/components/tds-header-dropdown-list.js +1 -1
  138. package/dist/components/tds-header-dropdown.js +9 -11
  139. package/dist/components/tds-header-hamburger.js +2 -2
  140. package/dist/components/tds-header-item.js +1 -1
  141. package/dist/components/tds-header-launcher-button.js +1 -1
  142. package/dist/components/tds-header-launcher-list.js +1 -1
  143. package/dist/components/tds-header-launcher.js +9 -13
  144. package/dist/components/tds-header.js +6 -8
  145. package/dist/components/tds-icon.js +1 -1
  146. package/dist/components/tds-inline-tabs.js +4 -11
  147. package/dist/components/tds-message.js +4 -4
  148. package/dist/components/tds-modal.js +6 -7
  149. package/dist/components/tds-navigation-tabs.js +6 -13
  150. package/dist/components/tds-popover-canvas.js +1 -1
  151. package/dist/components/tds-popover-core.js +1 -1
  152. package/dist/components/tds-popover-menu.js +5 -5
  153. package/dist/components/tds-radio-button.js +1 -4
  154. package/dist/components/tds-side-menu-close-button.js +1 -1
  155. package/dist/components/tds-side-menu-collapse-button.js +5 -6
  156. package/dist/components/tds-side-menu-dropdown-list-item.js +9 -13
  157. package/dist/components/tds-side-menu-dropdown-list.js +3 -3
  158. package/dist/components/tds-side-menu-dropdown.js +6 -7
  159. package/dist/components/tds-side-menu-item.js +1 -1
  160. package/dist/components/tds-side-menu.js +9 -12
  161. package/dist/components/tds-slider.js +20 -30
  162. package/dist/components/tds-step.js +2 -4
  163. package/dist/components/tds-table-body-input-wrapper.js +2 -2
  164. package/dist/components/tds-table-body-row-expandable.js +10 -17
  165. package/dist/components/tds-table-body-row.js +6 -9
  166. package/dist/components/tds-table-body.js +5 -9
  167. package/dist/components/tds-table-footer.js +12 -19
  168. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  169. package/dist/components/tds-table-header.js +19 -25
  170. package/dist/components/tds-table-toolbar.js +5 -7
  171. package/dist/components/tds-table.js +12 -14
  172. package/dist/components/tds-text-field.js +1 -1
  173. package/dist/components/tds-textarea.js +7 -8
  174. package/dist/components/tds-toast.js +1 -1
  175. package/dist/components/tds-toggle.js +4 -5
  176. package/dist/components/tds-tooltip.js +1 -1
  177. package/dist/esm/loader.js +1 -1
  178. package/dist/esm/tds-accordion.entry.js +2 -2
  179. package/dist/esm/tds-block.entry.js +1 -1
  180. package/dist/esm/tds-body-cell.entry.js +3 -4
  181. package/dist/esm/tds-button_2.entry.js +5 -7
  182. package/dist/esm/tds-card.entry.js +2 -2
  183. package/dist/esm/tds-checkbox.entry.js +3 -6
  184. package/dist/esm/tds-core-header-item_2.entry.js +5 -9
  185. package/dist/esm/tds-datetime.entry.js +5 -8
  186. package/dist/esm/tds-dropdown_2.entry.js +40 -50
  187. package/dist/esm/tds-folder-tabs.entry.js +3 -10
  188. package/dist/esm/tds-footer-group.entry.js +5 -6
  189. package/dist/esm/tds-footer-item.entry.js +2 -6
  190. package/dist/esm/tds-footer.entry.js +2 -2
  191. package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
  192. package/dist/esm/tds-header-cell.entry.js +5 -10
  193. package/dist/esm/tds-header-dropdown-list.entry.js +3 -5
  194. package/dist/esm/tds-header-dropdown.entry.js +5 -7
  195. package/dist/esm/tds-header-launcher.entry.js +4 -8
  196. package/dist/esm/tds-header.entry.js +6 -8
  197. package/dist/esm/tds-icon.entry.js +2 -1
  198. package/dist/esm/tds-inline-tabs.entry.js +3 -10
  199. package/dist/esm/tds-message.entry.js +3 -3
  200. package/dist/esm/tds-modal.entry.js +5 -6
  201. package/dist/esm/tds-navigation-tabs.entry.js +5 -12
  202. package/dist/esm/tds-popover-canvas.entry.js +4 -4
  203. package/dist/esm/tds-popover-core.entry.js +8 -10
  204. package/dist/esm/tds-popover-menu.entry.js +4 -4
  205. package/dist/esm/tds-radio-button.entry.js +1 -4
  206. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -5
  207. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +9 -13
  208. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
  209. package/dist/esm/tds-side-menu-dropdown.entry.js +4 -5
  210. package/dist/esm/tds-side-menu-item.entry.js +9 -15
  211. package/dist/esm/tds-side-menu.entry.js +9 -12
  212. package/dist/esm/tds-slider.entry.js +16 -26
  213. package/dist/esm/tds-step.entry.js +1 -3
  214. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
  215. package/dist/esm/tds-table-body-row-expandable.entry.js +10 -17
  216. package/dist/esm/tds-table-body-row.entry.js +5 -8
  217. package/dist/esm/tds-table-body.entry.js +5 -9
  218. package/dist/esm/tds-table-footer.entry.js +8 -15
  219. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  220. package/dist/esm/tds-table-header.entry.js +18 -24
  221. package/dist/esm/tds-table-toolbar.entry.js +4 -6
  222. package/dist/esm/tds-table.entry.js +12 -14
  223. package/dist/esm/tds-text-field.entry.js +6 -7
  224. package/dist/esm/tds-textarea.entry.js +4 -5
  225. package/dist/esm/tds-toggle.entry.js +4 -5
  226. package/dist/esm/tds-tooltip.entry.js +10 -6
  227. package/dist/esm/tegel.js +1 -1
  228. package/dist/tegel/p-0672ddfc.entry.js +1 -0
  229. package/dist/tegel/p-08ad6a21.entry.js +1 -0
  230. package/dist/tegel/p-08f63e5d.entry.js +1 -0
  231. package/dist/tegel/p-09cd056c.entry.js +1 -0
  232. package/dist/tegel/p-0c9a51d9.entry.js +1 -0
  233. package/dist/tegel/p-0cfe8671.entry.js +1 -0
  234. package/dist/tegel/p-0e772ad7.entry.js +1 -0
  235. package/dist/tegel/p-17bc1e49.entry.js +1 -0
  236. package/dist/tegel/p-1859156f.entry.js +1 -0
  237. package/dist/tegel/p-1f4267a8.entry.js +1 -0
  238. package/dist/tegel/p-24a76927.entry.js +1 -0
  239. package/dist/tegel/{p-40fa0f5b.entry.js → p-28f85555.entry.js} +1 -1
  240. package/dist/tegel/p-354d3986.entry.js +1 -0
  241. package/dist/tegel/p-3c97cb45.entry.js +1 -0
  242. package/dist/tegel/p-3e6d65ee.entry.js +1 -0
  243. package/dist/tegel/p-445fa788.entry.js +1 -0
  244. package/dist/tegel/{p-a912035b.entry.js → p-464469fe.entry.js} +1 -1
  245. package/dist/tegel/p-51a17707.entry.js +1 -0
  246. package/dist/tegel/p-52689019.entry.js +1 -0
  247. package/dist/tegel/{p-ca068263.entry.js → p-57a28f62.entry.js} +1 -1
  248. package/dist/tegel/{p-27369d6a.entry.js → p-650b98bf.entry.js} +1 -1
  249. package/dist/tegel/p-6b340718.entry.js +1 -0
  250. package/dist/tegel/p-72006dd7.entry.js +1 -0
  251. package/dist/tegel/p-743d4f07.entry.js +1 -0
  252. package/dist/tegel/p-77cfb0ef.entry.js +1 -0
  253. package/dist/tegel/p-7887bdbb.entry.js +1 -0
  254. package/dist/tegel/p-7b598e60.entry.js +1 -0
  255. package/dist/tegel/p-7ef50e7f.entry.js +1 -0
  256. package/dist/tegel/p-8c2695af.entry.js +1 -0
  257. package/dist/tegel/p-8eccfe32.entry.js +1 -0
  258. package/dist/tegel/{p-b9afb39e.entry.js → p-987f8f0f.entry.js} +1 -1
  259. package/dist/tegel/p-9b635e01.entry.js +1 -0
  260. package/dist/tegel/p-9f187848.entry.js +1 -0
  261. package/dist/tegel/p-9fdc8fa5.entry.js +1 -0
  262. package/dist/tegel/p-a090bd2f.entry.js +1 -0
  263. package/dist/tegel/p-a56436c8.entry.js +1 -0
  264. package/dist/tegel/p-b210d23c.entry.js +1 -0
  265. package/dist/tegel/p-c0cbc9f5.entry.js +1 -0
  266. package/dist/tegel/{p-fe4335ca.entry.js → p-c6968db1.entry.js} +1 -1
  267. package/dist/tegel/p-cf717912.entry.js +1 -0
  268. package/dist/tegel/p-cfd7ed1a.entry.js +1 -0
  269. package/dist/tegel/p-d1d45942.entry.js +1 -0
  270. package/dist/tegel/p-d7cdbc4e.entry.js +1 -0
  271. package/dist/tegel/p-e5b796e7.entry.js +1 -0
  272. package/dist/tegel/{p-e0dc09f9.entry.js → p-eb91e33b.entry.js} +1 -1
  273. package/dist/tegel/{p-da38aa9a.entry.js → p-f2318c88.entry.js} +1 -1
  274. package/dist/tegel/{p-c5694dd6.entry.js → p-f31f56fe.entry.js} +1 -1
  275. package/dist/tegel/p-f3c32d4d.entry.js +1 -0
  276. package/dist/tegel/p-fd15ced7.entry.js +1 -0
  277. package/dist/tegel/tegel.css +2 -2
  278. package/dist/tegel/tegel.esm.js +1 -1
  279. package/dist/types/components/accordion/accordion.d.ts +1 -1
  280. package/dist/types/components/block/block.d.ts +1 -1
  281. package/dist/types/components/button/button.d.ts +1 -1
  282. package/dist/types/components/card/card.d.ts +1 -1
  283. package/dist/types/components/datetime/datetime.d.ts +2 -2
  284. package/dist/types/components/dropdown/dropdown.d.ts +9 -5
  285. package/dist/types/components/footer/footer.d.ts +1 -1
  286. package/dist/types/components/icon/icon.d.ts +1 -1
  287. package/dist/types/components/message/message.d.ts +1 -1
  288. package/dist/types/components/modal/modal.d.ts +1 -1
  289. package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
  290. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  291. package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
  292. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  293. package/dist/types/components/table/table/table.d.ts +3 -6
  294. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  295. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -8
  296. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  297. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  298. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
  299. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
  300. package/dist/types/components/table/table-header/table-header.d.ts +5 -5
  301. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
  302. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  303. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  304. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
  305. package/dist/types/components/text-field/text-field.d.ts +1 -1
  306. package/dist/types/components/textarea/textarea.d.ts +2 -2
  307. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  308. package/dist/types/components.d.ts +86 -81
  309. package/dist/types/types/Attributes.d.ts +1 -1
  310. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  311. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  312. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  313. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  314. package/package.json +1 -1
  315. package/dist/tegel/p-08c16b2f.entry.js +0 -1
  316. package/dist/tegel/p-0b37e91a.entry.js +0 -1
  317. package/dist/tegel/p-1e1a87c1.entry.js +0 -1
  318. package/dist/tegel/p-2268af7f.entry.js +0 -1
  319. package/dist/tegel/p-252a7d3f.entry.js +0 -1
  320. package/dist/tegel/p-25473962.entry.js +0 -1
  321. package/dist/tegel/p-27d39882.entry.js +0 -1
  322. package/dist/tegel/p-3ef04672.entry.js +0 -1
  323. package/dist/tegel/p-40d99d7d.entry.js +0 -1
  324. package/dist/tegel/p-48a3e489.entry.js +0 -1
  325. package/dist/tegel/p-4e15f31d.entry.js +0 -1
  326. package/dist/tegel/p-57c08d0d.entry.js +0 -1
  327. package/dist/tegel/p-58ac68f3.entry.js +0 -1
  328. package/dist/tegel/p-6a472310.entry.js +0 -1
  329. package/dist/tegel/p-7104b955.entry.js +0 -1
  330. package/dist/tegel/p-781b2939.entry.js +0 -1
  331. package/dist/tegel/p-894e7e11.entry.js +0 -1
  332. package/dist/tegel/p-942f8c6f.entry.js +0 -1
  333. package/dist/tegel/p-98eff725.entry.js +0 -1
  334. package/dist/tegel/p-9b06bd5f.entry.js +0 -1
  335. package/dist/tegel/p-9c56b031.entry.js +0 -1
  336. package/dist/tegel/p-a20a54ef.entry.js +0 -1
  337. package/dist/tegel/p-a2b2092a.entry.js +0 -1
  338. package/dist/tegel/p-a334b517.entry.js +0 -1
  339. package/dist/tegel/p-a4e4c450.entry.js +0 -1
  340. package/dist/tegel/p-a60ed3de.entry.js +0 -1
  341. package/dist/tegel/p-a6dca188.entry.js +0 -1
  342. package/dist/tegel/p-b218db70.entry.js +0 -1
  343. package/dist/tegel/p-b3b13975.entry.js +0 -1
  344. package/dist/tegel/p-bb8c2a36.entry.js +0 -1
  345. package/dist/tegel/p-bee9e9d1.entry.js +0 -1
  346. package/dist/tegel/p-d501a665.entry.js +0 -1
  347. package/dist/tegel/p-dda1ac69.entry.js +0 -1
  348. package/dist/tegel/p-e29fa563.entry.js +0 -1
  349. package/dist/tegel/p-ed66ef30.entry.js +0 -1
  350. package/dist/tegel/p-f5ca4fbf.entry.js +0 -1
  351. package/dist/tegel/p-f602b3a1.entry.js +0 -1
  352. package/dist/tegel/p-f922308f.entry.js +0 -1
  353. package/dist/tegel/p-fb300776.entry.js +0 -1
  354. package/dist/tegel/p-fd22d1ca.entry.js +0 -1
@@ -15,20 +15,16 @@ export class TdsSideMenuDropdownListItem {
15
15
  connectedCallback() {
16
16
  var _a;
17
17
  this.sideMenuEl = this.host.closest('tds-side-menu');
18
- this.collapsed = !!((_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed);
18
+ this.collapsed = (_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed;
19
19
  }
20
20
  componentDidLoad() {
21
- var _a, _b;
21
+ var _a;
22
22
  const dropdownEl = this.host.closest('tds-side-menu-dropdown');
23
- let hasUserMenu = null;
24
- let dropdownBtnIconSlotEl = null;
25
- if (dropdownEl) {
26
- hasUserMenu = dropdownEl.querySelector('tds-side-menu-user');
27
- dropdownBtnIconSlotEl = (_a = dropdownEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot[name="icon"]');
28
- }
29
- const btnIconSlottedEls = dropdownBtnIconSlotEl === null || dropdownBtnIconSlotEl === void 0 ? void 0 : dropdownBtnIconSlotEl.assignedElements();
30
- const hasBtnIcon = btnIconSlottedEls ? (btnIconSlottedEls === null || btnIconSlottedEls === void 0 ? void 0 : btnIconSlottedEls.length) > 0 : false;
31
- const btnIconIsUserImage = ((_b = btnIconSlottedEls === null || btnIconSlottedEls === void 0 ? void 0 : btnIconSlottedEls[0]) === null || _b === void 0 ? void 0 : _b.tagName.toLowerCase()) === 'tds-side-menu-user-image';
23
+ const hasUserMenu = dropdownEl === null || dropdownEl === void 0 ? void 0 : dropdownEl.querySelector('tds-side-menu-user');
24
+ const dropdownBtnIconSlotEl = dropdownEl.shadowRoot.querySelector('slot[name="icon"]');
25
+ const btnIconSlottedEls = dropdownBtnIconSlotEl.assignedElements();
26
+ const hasBtnIcon = (btnIconSlottedEls === null || btnIconSlottedEls === void 0 ? void 0 : btnIconSlottedEls.length) > 0;
27
+ const btnIconIsUserImage = ((_a = btnIconSlottedEls === null || btnIconSlottedEls === void 0 ? void 0 : btnIconSlottedEls[0]) === null || _a === void 0 ? void 0 : _a.tagName.toLowerCase()) === 'tds-side-menu-user-image';
32
28
  if (hasBtnIcon && !btnIconIsUserImage) {
33
29
  this.dropdownHasIcon = true;
34
30
  }
@@ -37,13 +33,13 @@ export class TdsSideMenuDropdownListItem {
37
33
  }
38
34
  }
39
35
  render() {
40
- return (h(Host, { key: 'c47d9154b70987212a197a4e1cee3e031c3a5934', role: "listitem" }, h("div", { key: 'd35ce4e0371380a76e59ee983ce32c33a3aa8167', class: {
36
+ return (h(Host, { key: '7d711b603579ec67a9f0312071519e31f4a15709', role: "listitem" }, h("div", { key: 'db890287036e3e85f10f7c76454e8ca91ada6f7c', class: {
41
37
  'component': true,
42
38
  'component-selected': this.selected,
43
39
  'component-dropdown-has-icon': this.dropdownHasIcon,
44
40
  'component-dropdown-has-user': this.dropdownHasUser,
45
41
  'component-collapsed': this.collapsed,
46
- } }, h("slot", { key: '915f92493f1a085f66501d0fbe361818e7dbc63f' }))));
42
+ } }, h("slot", { key: '944534e13549524e2e40fd8ad8e0b1d61e1bdbcf' }))));
47
43
  }
48
44
  static get is() { return "tds-side-menu-dropdown-list-item"; }
49
45
  static get encapsulation() { return "shadow"; }
@@ -11,10 +11,7 @@ export class TdsSideMenuItem {
11
11
  this.hasUserComponent = false;
12
12
  }
13
13
  findSlottedAndExecute(searchPredicate, callback) {
14
- var _a;
15
- const assignedElements = (_a = this.slotEl) === null || _a === void 0 ? void 0 : _a.assignedElements({ flatten: true });
16
- if (!(assignedElements === null || assignedElements === void 0 ? void 0 : assignedElements.length))
17
- return;
14
+ const assignedElements = this.slotEl.assignedElements({ flatten: true });
18
15
  const firstSlottedElement = assignedElements[0];
19
16
  if (firstSlottedElement) {
20
17
  const foundElement = dfs(firstSlottedElement, searchPredicate);
@@ -55,19 +52,16 @@ export class TdsSideMenuItem {
55
52
  // closest() will return null if side-menu-item is inside a shadowRoot that
56
53
  // does not contain a side-menu. This is the case for the side-menu-dropdown.
57
54
  this.sideMenuEl = this.host.closest('tds-side-menu');
58
- this.collapsed = !!((_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed);
55
+ this.collapsed = (_a = this.sideMenuEl) === null || _a === void 0 ? void 0 : _a.collapsed;
59
56
  }
60
57
  componentDidLoad() {
61
- var _a, _b;
62
- this.slotEl = (_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot')) !== null && _b !== void 0 ? _b : null;
58
+ this.slotEl = this.host.shadowRoot.querySelector('slot');
63
59
  this.updateSlottedElements();
64
60
  this.updateHasUserComponent();
65
- if (this.slotEl) {
66
- this.slotEl.addEventListener('slotchange', () => {
67
- this.updateSlottedElements();
68
- this.updateHasUserComponent();
69
- });
70
- }
61
+ this.slotEl.addEventListener('slotchange', () => {
62
+ this.updateSlottedElements();
63
+ this.updateHasUserComponent();
64
+ });
71
65
  }
72
66
  collapseSideMenuEventHandler(event) {
73
67
  this.collapsed = event.detail.collapsed;
@@ -75,13 +69,13 @@ export class TdsSideMenuItem {
75
69
  this.updateHasUserComponent();
76
70
  }
77
71
  render() {
78
- return (h(Host, { key: 'ff51604316231f08db7135c89336aa40a34ca780' }, h("div", { key: '7ba6d6ad1646cdcca89ba014eb20115ead57a9cc', class: {
72
+ return (h(Host, { key: '94dc12f57a0eedb5ab1528394352c4a7fcea55ff' }, h("div", { key: '3336a6d1af3c573fdbbbf590fae2be3381c89163', class: {
79
73
  'component': true,
80
74
  'component-selected': this.selected,
81
75
  'component-active': this.active,
82
76
  'component-collapsed': this.collapsed,
83
77
  'component-has-user': this.hasUserComponent,
84
- } }, h("slot", { key: '43b400894c86a51cc1dbe910f8eecab31fad4c45' }))));
78
+ } }, h("slot", { key: '5c92976a5aa367142e2af23fdacb6d67c3d2b36c' }))));
85
79
  }
86
80
  static get is() { return "tds-side-menu-item"; }
87
81
  static get encapsulation() { return "shadow"; }
@@ -40,8 +40,7 @@ export class TdsSideMenu {
40
40
  this.initialCollapsedState = this.collapsed;
41
41
  }
42
42
  componentDidLoad() {
43
- var _a;
44
- const upperSlot = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
43
+ const upperSlot = this.host.shadowRoot.querySelector('slot:not([name])');
45
44
  const upperSlotElements = upperSlot.assignedElements();
46
45
  const hasUpperSlotElements = (upperSlotElements === null || upperSlotElements === void 0 ? void 0 : upperSlotElements.length) > 0;
47
46
  if (!hasUpperSlotElements) {
@@ -85,7 +84,7 @@ export class TdsSideMenu {
85
84
  }
86
85
  }
87
86
  getFocusableElements() {
88
- var _a, _b, _c;
87
+ var _a;
89
88
  const focusableSelectors = [
90
89
  'a[href]',
91
90
  'button:not([disabled])',
@@ -94,13 +93,11 @@ export class TdsSideMenu {
94
93
  'select:not([disabled])',
95
94
  '[tabindex]:not([tabindex="-1"])',
96
95
  ].join(',');
97
- const focusableInShadowRoot = Array.from((_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(focusableSelectors)) !== null && _b !== void 0 ? _b : []);
96
+ const focusableInShadowRoot = Array.from(this.host.shadowRoot.querySelectorAll(focusableSelectors));
98
97
  const focusableInSlots = Array.from(this.host.querySelectorAll(focusableSelectors));
99
- const slottedBtn = this.host.querySelector('[slot="close-button"]');
100
- let closeBtn;
101
- if (slottedBtn)
102
- closeBtn = (_c = slottedBtn.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('button');
103
- const focusableElements = [...focusableInShadowRoot, ...focusableInSlots];
98
+ const closeBtn = (_a = this.host
99
+ .querySelector('[slot="close-button"]')) === null || _a === void 0 ? void 0 : _a.shadowRoot.querySelector('button');
100
+ let focusableElements = [...focusableInShadowRoot, ...focusableInSlots];
104
101
  if (closeBtn)
105
102
  focusableElements.push(closeBtn);
106
103
  /** Focusable elements */
@@ -141,16 +138,16 @@ export class TdsSideMenu {
141
138
  this.collapsed = event.detail.collapsed;
142
139
  }
143
140
  render() {
144
- return (h(Host, { key: '9e5d7f1ba74c0d6cbc0718e3ee484e158dd285c4', class: {
141
+ return (h(Host, { key: '62d159fdff0e4dd3d2a93e0c5542b8e672e3f287', class: {
145
142
  'menu-opened': this.open,
146
143
  'menu-persistent': this.persistent,
147
144
  'menu-collapsed': this.collapsed,
148
- }, "aria-expanded": !this.collapsed ? 'true' : 'false' }, h("div", { key: '2232f6fdde0d7bf4b6225b3007feeb5b86699dda', class: {
145
+ }, "aria-expanded": !this.collapsed ? 'true' : 'false' }, h("div", { key: '17134ffc1c3ca6658f4ff87c203ca3b6ba991b83', class: {
149
146
  'wrapper': true,
150
147
  'state-upper-slot-empty': this.isUpperSlotEmpty,
151
148
  'state-open': this.open,
152
149
  'state-closed': !this.open,
153
- } }, h("slot", { key: '26fc446848ef685421cb9fed4b9c633d76104c1c', name: "overlay" }), h("aside", { key: 'd91e1e9d72b8adfa9cd4fb432145cc3ca80574bf', class: `menu` }, h("div", { key: '2b7c94d205caec161cf6cf0442f917828fe3d665', role: "navigation" }, h("slot", { key: 'c7e11cd09171a49363a765fac87da5333247943d', name: "close-button" }), h("div", { key: 'd7273516d1b4104c0736ec547cf47aba5f094d99', class: "tds-side-menu-wrapper" }, h("ul", { key: '46cb7afded919e25b9419cfffb85cbfd06c99b6f', class: `tds-side-menu-list tds-side-menu-list-upper` }, h("li", { key: 'b337af4217469b83d70faf380c3f36d6689c071d' }, h("slot", { key: 'f5fb8d9a9be3d1e121c9ccad7086a56993d739b6' }))), h("ul", { key: '159157ffa0881b8731c3b62644007dcefd72670f', class: `tds-side-menu-list tds-side-menu-list-end` }, h("li", { key: '3e9fbf4ba3823ee12c9d5b9bfbc4c6b45a7599de' }, h("slot", { key: '385756d7a9f855921cfa835e26ab02bc7cc01833', name: "end" })))), h("slot", { key: '53c64695d4e490bf180fe8e1dd52ab6b5e0f0447', name: "sticky-end" }))))));
150
+ } }, h("slot", { key: '8ed1f309c2188e6de12b874198c36a4698d7a69f', name: "overlay" }), h("aside", { key: '45702b7ff79693b31565550fc1985bfd64e45f92', class: `menu` }, h("div", { key: 'e799983a07a07ad0f4cac8e962e1748d08107b6b', role: "navigation" }, h("slot", { key: '4550b56dae039b94005dd58c8c5cb9818c3ab48a', name: "close-button" }), h("div", { key: 'ad2457482eb6dc9b08428f36078d53143f7b5168', class: "tds-side-menu-wrapper" }, h("ul", { key: '541323ca57ed67565c848a984bd3ac210ce6f135', class: `tds-side-menu-list tds-side-menu-list-upper` }, h("li", { key: '6248720390640a1166e1158caa0f50164fe1dfad' }, h("slot", { key: 'b3d24d582d4781fef041a2c099681fd538d01910' }))), h("ul", { key: '0a5f76474b4b3851d790ab8f698dbea9fd0fda05', class: `tds-side-menu-list tds-side-menu-list-end` }, h("li", { key: '576cf3e91cac7c1a21e6b35105475f1f443c2f45' }, h("slot", { key: '71f9c2d1c061401ef26daf68c7801b5665a25d03', name: "end" })))), h("slot", { key: '41805c2bb7c66f74f47edd2393a9a3452132c769', name: "sticky-end" }))))));
154
151
  }
155
152
  static get is() { return "tds-side-menu"; }
156
153
  static get encapsulation() { return "shadow"; }
@@ -17,8 +17,8 @@ export class TdsSlider {
17
17
  this.supposedValueSlot = -1;
18
18
  this.resizeObserverAdded = false;
19
19
  this.resetEventListenerAdded = false;
20
- this.formElement = null;
21
20
  this.ariaLiveElement = null;
21
+ this.announcementDebounceTimeout = null;
22
22
  this.resetToInitialValue = () => {
23
23
  this.forceValueUpdate(this.initialValue);
24
24
  this.reset();
@@ -83,22 +83,21 @@ export class TdsSlider {
83
83
  }
84
84
  }
85
85
  handleRelease(event) {
86
- var _a, _b, _c;
87
86
  if (!this.thumbGrabbed) {
88
87
  const clickedOnTrack = event.target === this.trackElement || event.target === this.trackFillElement;
89
88
  if (clickedOnTrack) {
90
89
  this.thumbCore(event);
91
- (_a = this.trackElement) === null || _a === void 0 ? void 0 : _a.focus();
90
+ this.trackElement.focus();
92
91
  }
93
92
  return;
94
93
  }
95
94
  this.thumbGrabbed = false;
96
- (_b = this.thumbInnerElement) === null || _b === void 0 ? void 0 : _b.classList.remove('pressed');
95
+ this.thumbInnerElement.classList.remove('pressed');
97
96
  if (this.thumbElement) {
98
97
  this.thumbElement.setAttribute('aria-grabbed', 'false');
99
98
  }
100
99
  this.updateValue(event);
101
- (_c = this.trackElement) === null || _c === void 0 ? void 0 : _c.focus();
100
+ this.trackElement.focus();
102
101
  }
103
102
  handleMove(event) {
104
103
  if (!this.thumbGrabbed) {
@@ -142,11 +141,8 @@ export class TdsSlider {
142
141
  return snappedLocalLeft;
143
142
  }
144
143
  thumbCore(event) {
145
- var _a;
146
144
  const numTicks = parseInt(this.ticks);
147
- const trackRect = (_a = this.trackElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
148
- if (!trackRect)
149
- return;
145
+ const trackRect = this.trackElement.getBoundingClientRect();
150
146
  let localLeft = 0;
151
147
  if (event.type === 'mousemove' || event.type === 'mouseup') {
152
148
  localLeft = event.clientX - trackRect.left;
@@ -161,9 +157,7 @@ export class TdsSlider {
161
157
  localLeft = this.updateSupposedValueSlot(localLeft);
162
158
  }
163
159
  this.thumbLeft = this.constrainThumb(localLeft);
164
- if (this.thumbElement) {
165
- this.thumbElement.style.left = `${this.thumbLeft}px`;
166
- }
160
+ this.thumbElement.style.left = `${this.thumbLeft}px`;
167
161
  this.updateValue(event);
168
162
  }
169
163
  updateTrack() {
@@ -179,8 +173,6 @@ export class TdsSlider {
179
173
  // Debounce announcements to prevent too many rapid announcements
180
174
  clearTimeout(this.announcementDebounceTimeout);
181
175
  this.announcementDebounceTimeout = setTimeout(() => {
182
- if (!this.ariaLiveElement)
183
- return;
184
176
  this.ariaLiveElement.textContent = `${this.label ? this.label + ' ' : ''}${this.value} of ${this.max}`;
185
177
  }, 50);
186
178
  }
@@ -304,12 +296,11 @@ export class TdsSlider {
304
296
  }
305
297
  }
306
298
  grabThumb() {
307
- var _a;
308
299
  if (this.readOnly) {
309
300
  return;
310
301
  }
311
302
  this.thumbGrabbed = true;
312
- (_a = this.thumbInnerElement) === null || _a === void 0 ? void 0 : _a.classList.add('pressed');
303
+ this.thumbInnerElement.classList.add('pressed');
313
304
  if (this.thumbElement) {
314
305
  this.thumbElement.setAttribute('aria-grabbed', 'true');
315
306
  }
@@ -402,8 +393,7 @@ export class TdsSlider {
402
393
  this.calculateThumbLeftFromValue(this.value);
403
394
  this.updateTrack();
404
395
  });
405
- if (this.wrapperElement)
406
- resizeObserver.observe(this.wrapperElement);
396
+ resizeObserver.observe(this.wrapperElement);
407
397
  }
408
398
  this.calculateThumbLeftFromValue(this.value);
409
399
  this.updateTrack();
@@ -440,30 +430,30 @@ export class TdsSlider {
440
430
  }
441
431
  render() {
442
432
  const ariaLabel = this.readOnly ? this.tdsReadOnlyAriaLabel : this.label || this.tdsAriaLabel;
443
- return (h("div", { key: '24887d4b2784913aed5eca30aad868b29bc3dc71', class: {
433
+ return (h("div", { key: '3a496ff494a47cb2e7f777145731b2b0a99619e5', class: {
444
434
  'tds-slider-wrapper': true,
445
435
  'read-only': this.readOnly,
446
- } }, h("input", { key: 'a30068ce649a2a4154df73f076b0d889898e2220', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled }), h("div", { key: '38a8a4993efb95dc74a6b998a4a6dce68a57193d', class: "sr-only", "aria-live": "assertive", ref: (el) => {
436
+ } }, h("input", { key: 'b1afaaf8c2c20278e5897d3973bc2267bd277f85', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled }), h("div", { key: '38d7dc7f03e4ce5398f47382ac44b159d03cc9a9', class: "sr-only", "aria-live": "assertive", ref: (el) => {
447
437
  this.ariaLiveElement = el;
448
- } }), h("div", { key: 'dbdcd7a7524249488066f6cbc7ccda1edc125348', class: {
438
+ } }), h("div", { key: '564131065550bb6ef78b813791696af866275b60', class: {
449
439
  'tds-slider': true,
450
440
  'disabled': this.disabled,
451
441
  'tds-slider-small': this.useSmall,
452
442
  }, ref: (el) => {
453
443
  this.wrapperElement = el;
454
- }, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: '703fef163564db3dab89f7ef62c8ec8ae849091a', id: `${this.sliderId}-label`, class: { offset: this.showTickNumbers } }, this.label), this.useInput && (h("div", { key: '61e0a370c74b04c29b7c3d8f227727df2d72e2e1', class: "tds-slider__input-values" }, h("div", { key: '080c7a8d5fe68231a33946284eaf0b42509ae2aa', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: 'c281e3c27afb09bbde92bb45b95494bda73a2d1e', class: "tds-slider__controls" }, h("div", { key: '43388973041f6257683c1e95c28273b36329584b', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event), role: "button", "aria-label": "Decrease value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: 'be17662d98c4e89ac549d7604fb8ef039ec1a4ff', name: "minus", size: "16px" })))), h("div", { key: '2d34951d542b45ff4fce0869bd9877626b414641', class: "tds-slider-inner", tabIndex: -1 }, this.tickValues.length > 0 && (h("div", { key: '991096492d690f53e0d597bd05d4f9f3fa875831', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: 'e2362ac7b9af796e0d4b2961c99d6ef850f873fc', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '303410bc80f3fc1a49c1a1954f287151ba1397df', class: "tds-slider__track", ref: (el) => {
444
+ }, "aria-disabled": this.disabled ? 'true' : 'false' }, h("label", { key: 'cc0dd61feaeb64fa866ceee68f03e59844572327', id: `${this.sliderId}-label`, class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'd95cfd517b1d810ba60f47d8f79f27fbcb11cb84', class: "tds-slider__input-values" }, h("div", { key: '253ecd4768fe8ac57e8fb342ed1e363abc9da5cb', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '84a35f8c63bf5b723d4244ec8f7ea1dd7cbffc20', class: "tds-slider__controls" }, h("div", { key: '754a34b2b234d7e2354c00f34b86db02d4f114a0', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event), role: "button", "aria-label": "Decrease value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: '70e6604021a651eadcbaf7767b03f2e62034abe5', name: "minus", size: "16px" })))), h("div", { key: '53550f817e1a032e0e91200752e7d1eeb23ded34', class: "tds-slider-inner", tabIndex: -1 }, this.tickValues.length > 0 && (h("div", { key: 'f59130b6cdb011c01eb81d5e18cf7e952b96c68e', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '66f66ceae09f21462e3f28c49844b10e0182ec49', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '00f9d38e9aba338091af66ced5f559378354cffd', class: "tds-slider__track", ref: (el) => {
455
445
  this.trackElement = el;
456
446
  }, tabindex: this.disabled ? '-1' : '0', role: "presentation", onFocus: () => {
457
447
  if (this.thumbElement) {
458
448
  this.thumbElement.focus();
459
449
  }
460
- } }, h("div", { key: '458f4a54a0ffc5eef7ad1933ba1713f378e03bb2', class: "tds-slider__track-fill", ref: (el) => {
450
+ } }, h("div", { key: '20ea7060588fc4e81be9e2e3d6e5a7c585b6b867', class: "tds-slider__track-fill", ref: (el) => {
461
451
  this.trackFillElement = el;
462
- } }), h("div", { key: '09f5c914b3e31f40cbc5114ba11ac8ed6b6c10e3', class: "tds-slider__thumb", ref: (el) => {
452
+ } }), h("div", { key: 'd6c6155ee44d443dc58ed1c463e927e8de6808b6', class: "tds-slider__thumb", ref: (el) => {
463
453
  this.thumbElement = el;
464
- }, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (h("div", { key: '915c5a0873d719e716a9eda6f24df4f289dcc3e3', class: "tds-slider__value" }, this.value, h("svg", { key: 'd1ad51a448a9314c8a9dc87e5b4c969d9699833f', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '84dd5e1bfdddb3f96ce260fde63ec01979e2e8f7', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '3c2bd4378b7d2f894bd04af1d0d4f68472d94129', class: "tds-slider__thumb-inner", ref: (el) => {
454
+ }, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb(), role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} of ${this.max}`, "aria-labelledby": `${this.sliderId}-label`, "aria-grabbed": this.thumbGrabbed ? 'true' : 'false', "aria-label": ariaLabel, tabindex: this.disabled ? '-1' : '0' }, this.tooltip && (h("div", { key: '8ddf95ae707a6bf086f6c414fca62098f7974caf', class: "tds-slider__value" }, this.value, h("svg", { key: '9193dc47663210d904271d10a1e3ffbaad3073bf', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '6d5c154ec0dd136ee3898e8350fd65c30794571b', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '183f49eda3134b87e5b65334265d44fe404a9e1d', class: "tds-slider__thumb-inner", ref: (el) => {
465
455
  this.thumbInnerElement = el;
466
- } })))), this.useInput && (h("div", { key: '8d7b06d47eb9c5b8adef909a63b4017143025477', class: "tds-slider__input-values" }, h("div", { key: '1e5e6cb7d0522ca0e89e67fd0125684b32e2c4f6', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: 'e3a5d242963f2868f2f26674243c36c634422501', class: "tds-slider__input-field-wrapper" }, h("tds-text-field", { key: '840ddc76488d4d1de29be8d3b2032d57894d2b7a', noMinWidth: true, size: "sm", type: "number", value: this.value, min: this.min, max: this.max, readOnly: this.readOnly, disabled: this.disabled, onTdsChange: (e) => console.log(e), tdsAriaLabel: this.readOnly ? this.tdsReadOnlyAriaLabel : undefined, onTdsBlur: (event) => this.updateSliderValueFromTextField(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event) })))), this.useControls && (h("div", { key: 'c71f7b90d4565cccdb41ef56e1dc3485506baad1', class: "tds-slider__controls" }, h("div", { key: 'c968cc1187252f95b5953a7a91437a09d0255d72', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event), role: "button", "aria-label": "Increase value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: '8e3488bcad15f4f6dd7182b066a905019d87d20d', name: "plus", size: "16px" })))))));
456
+ } })))), this.useInput && (h("div", { key: '00e135462f95a4ee21070c25e0b507e4931257ed', class: "tds-slider__input-values" }, h("div", { key: 'ad8029ecff8f448380f291629ee803ee5634bf6e', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: 'cb7460d3946debbc138b2ae88b61ff9a288ca2ae', class: "tds-slider__input-field-wrapper" }, h("tds-text-field", { key: '226a0bbdee3910431c4d72065e2ca9d09abf2fa1', noMinWidth: true, size: "sm", type: "number", value: this.value, min: this.min, max: this.max, readOnly: this.readOnly, disabled: this.disabled, onTdsChange: (e) => console.log(e), tdsAriaLabel: this.readOnly ? this.tdsReadOnlyAriaLabel : undefined, onTdsBlur: (event) => this.updateSliderValueFromTextField(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event) })))), this.useControls && (h("div", { key: '2b85ddaf9e31f702773212326f55e8eb4737e3da', class: "tds-slider__controls" }, h("div", { key: '7376eac80ff3955ddc6c0b27eb99b463bc0d5985', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event), role: "button", "aria-label": "Increase value", tabindex: this.disabled || this.readOnly ? '-1' : '0' }, h("tds-icon", { key: 'd66d1a1d49da54d1cafca2872b8462b126154684', name: "plus", size: "16px" })))))));
467
457
  }
468
458
  static get is() { return "tds-slider"; }
469
459
  static get originalStyleUrls() {
@@ -21,8 +21,6 @@ export class TdsStep {
21
21
  /* Needs to be onload to do this on any updates. */
22
22
  componentWillLoad() {
23
23
  this.stepperEl = this.el.closest('tds-stepper');
24
- if (!this.stepperEl)
25
- return;
26
24
  this.orientation = this.stepperEl.orientation;
27
25
  this.labelPosition = this.stepperEl.labelPosition;
28
26
  this.size = this.stepperEl.size;
@@ -42,7 +40,7 @@ export class TdsStep {
42
40
  }
43
41
  }
44
42
  render() {
45
- return (h(Host, { key: '4da9583f2f8f406775789bb2ba2fb4a048bd2bb2' }, h("div", { key: '68552288702a78338767482726cc50c294c813c4', role: "listitem", "aria-disabled": this.state === 'upcoming' ? 'true' : 'false', "aria-current": this.tdsAriaCurrent, tabIndex: -1, "aria-label": `Step ${this.index}: ${this.state}`, class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: '12da4b94879916c29a142ae2b1c9158132369242', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { "aria-hidden": "true", svgTitle: `tds-step-icon-${this.stepperId}`, class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { "aria-hidden": "true", class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'b67fe88775ae01d9878bfea0ed65a5e89bcd096c', "aria-hidden": "true", class: `label ${this.size} ${this.state}` }, h("slot", { key: '63476ee55ea1577a09b3885dd287ef117c00fc3c', name: "label" }))))));
43
+ return (h(Host, { key: '871df74d99ed0bdf15fa82e0c2980b08b94735a8' }, h("div", { key: 'e108eb5e43390635fbd6020195cb7e6a4912c7c2', role: "listitem", "aria-disabled": this.state === 'upcoming' ? 'true' : 'false', "aria-current": this.tdsAriaCurrent, tabIndex: -1, "aria-label": `Step ${this.index}: ${this.state}`, class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: '8940a00dcd0001d6d264aff8cbc9331d4d890d49', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { "aria-hidden": "true", svgTitle: `tds-step-icon-${this.stepperId}`, class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { "aria-hidden": "true", class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'daa62f4d9347c571d214b1b9eb68b7d56418aed2', "aria-hidden": "true", class: `label ${this.size} ${this.state}` }, h("slot", { key: '68a20d3daded858cf1188f43747edb77ed2c9cbf', name: "label" }))))));
46
44
  }
47
45
  static get is() { return "tds-step"; }
48
46
  static get encapsulation() { return "shadow"; }
@@ -29,19 +29,20 @@ export class TdsTable {
29
29
  }
30
30
  /** Returns all selected rows data. */
31
31
  async getSelectedRows() {
32
- var _a;
33
32
  let selectedRowsData = [];
34
33
  const tableBody = this.host.querySelector('tds-table-body');
35
- const selectedRows = Array.from((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.querySelectorAll('tds-table-body-row')) !== null && _a !== void 0 ? _a : []).filter((element) => element.selected);
34
+ const selectedRows = Array.from(tableBody.querySelectorAll('tds-table-body-row')).filter((element) => element.selected);
36
35
  selectedRows.forEach((row) => {
37
36
  let selectedRow = [];
38
37
  const rowCells = Array.from(row.getElementsByTagName('tds-body-cell'));
39
38
  rowCells.forEach((cell) => {
40
39
  var _a;
41
40
  const cellObject = {
42
- cellKey: cell.cellKey,
43
- cellValue: ((_a = cell.cellValue) !== null && _a !== void 0 ? _a : cell.innerText),
41
+ cellKey: null,
42
+ cellValue: null,
44
43
  };
44
+ cellObject.cellKey = cell.cellKey;
45
+ cellObject.cellValue = (_a = cell.cellValue) !== null && _a !== void 0 ? _a : cell.innerText;
45
46
  selectedRow = [...selectedRow, cellObject];
46
47
  });
47
48
  selectedRowsData = [...selectedRowsData, selectedRow];
@@ -81,21 +82,18 @@ export class TdsTable {
81
82
  }
82
83
  componentWillRender() {
83
84
  if (this.horizontalScrollWidth) {
84
- const closestTable = this.host.closest('tds-table');
85
- if (closestTable) {
86
- this.enableHorizontalScrollToolbarDesign =
87
- closestTable.getElementsByTagName('tds-table-toolbar').length >= 1;
88
- this.enableHorizontalScrollFooterDesign =
89
- closestTable.getElementsByTagName('tds-table-footer').length >= 1;
90
- }
85
+ this.enableHorizontalScrollToolbarDesign =
86
+ this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
87
+ this.enableHorizontalScrollFooterDesign =
88
+ this.host.closest('tds-table').getElementsByTagName('tds-table-footer').length >= 1;
91
89
  }
92
90
  }
93
91
  render() {
94
- return (h(Host, { key: '7a09b4ad8b4b79d0c6488ae2fc56b756857abe67', class: {
92
+ return (h(Host, { key: '7a9b7fb545f7c4cd4c0f118910ce8af6d407851e', class: {
95
93
  'tds-table--responsive': this.responsive,
96
94
  'tds-mode-variant-primary': this.modeVariant === 'primary',
97
95
  'tds-mode-variant-secondary': this.modeVariant === 'secondary',
98
- } }, h("table", { key: '949b04b7b26286b8641df078290eadb843899d76', style: this.getStyles(), class: {
96
+ } }, h("table", { key: '8a1c7e74c38a55e17d7cf322997f6690d6b29f3f', style: this.getStyles(), class: {
99
97
  'tds-table': true,
100
98
  'tds-table--compact': this.compactDesign,
101
99
  'tds-table--divider': this.verticalDividers,
@@ -106,7 +104,7 @@ export class TdsTable {
106
104
  'tds-table--horizontal-scroll-toolbar-compact': this.enableHorizontalScrollToolbarDesign && this.compactDesign,
107
105
  'tds-table--horizontal-scroll-footer': this.enableHorizontalScrollFooterDesign && !this.compactDesign,
108
106
  'tds-table--horizontal-scroll-footer-compact': this.enableHorizontalScrollFooterDesign && this.compactDesign,
109
- } }, h("slot", { key: '319e8974bf20f3fba6c7ef286a494d4875bd2c44' }))));
107
+ } }, h("slot", { key: 'a47351a50dbd07b15f969ffaeb75f62045693968' }))));
110
108
  }
111
109
  static get is() { return "tds-table"; }
112
110
  static get encapsulation() { return "shadow"; }
@@ -233,8 +231,8 @@ export class TdsTable {
233
231
  "type": "string",
234
232
  "mutable": false,
235
233
  "complexType": {
236
- "original": "'primary' | 'secondary' | null",
237
- "resolved": "\"primary\" | \"secondary\" | null",
234
+ "original": "'primary' | 'secondary'",
235
+ "resolved": "\"primary\" | \"secondary\"",
238
236
  "references": {}
239
237
  },
240
238
  "required": false,
@@ -269,8 +267,8 @@ export class TdsTable {
269
267
  "type": "string",
270
268
  "mutable": false,
271
269
  "complexType": {
272
- "original": "string | null",
273
- "resolved": "null | string | undefined",
270
+ "original": "string",
271
+ "resolved": "string",
274
272
  "references": {}
275
273
  },
276
274
  "required": false,
@@ -340,31 +338,15 @@ export class TdsTable {
340
338
  return {
341
339
  "getSelectedRows": {
342
340
  "complexType": {
343
- "signature": "() => Promise<{ cellKey: string; cellValue: string | number; }[][]>",
341
+ "signature": "() => Promise<any[]>",
344
342
  "parameters": [],
345
343
  "references": {
346
344
  "Promise": {
347
345
  "location": "global",
348
346
  "id": "global::Promise"
349
- },
350
- "RowCell": {
351
- "location": "global",
352
- "id": "global::RowCell"
353
- },
354
- "Array": {
355
- "location": "global",
356
- "id": "global::Array"
357
- },
358
- "HTMLTdsTableBodyRowElement": {
359
- "location": "global",
360
- "id": "global::HTMLTdsTableBodyRowElement"
361
- },
362
- "HTMLTdsBodyCellElement": {
363
- "location": "global",
364
- "id": "global::HTMLTdsBodyCellElement"
365
347
  }
366
348
  },
367
- "return": "Promise<RowCell[][]>"
349
+ "return": "Promise<any[]>"
368
350
  },
369
351
  "docs": {
370
352
  "text": "Returns all selected rows data.",
@@ -41,20 +41,16 @@ export class TdsTableBody {
41
41
  this.bodyCheckBoxClicked();
42
42
  }
43
43
  connectedCallback() {
44
- var _a;
45
44
  this.tableEl = this.host.closest('tds-table');
46
- this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
45
+ this.tableId = this.tableEl.tableId;
47
46
  }
48
47
  componentWillLoad() {
49
48
  relevantTableProps.forEach((tablePropName) => {
50
- var _a;
51
- this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
49
+ this[tablePropName] = this.tableEl[tablePropName];
52
50
  });
53
51
  }
54
52
  componentWillRender() {
55
- var _a, _b;
56
- const headrColumn = (_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector('tds-table-header');
57
- const headerColumnsNo = (_b = headrColumn === null || headrColumn === void 0 ? void 0 : headrColumn.children.length) !== null && _b !== void 0 ? _b : 0;
53
+ const headerColumnsNo = this.host.parentElement.querySelector('tds-table-header').children.length;
58
54
  // multiselect and expended features requires one extra column for controls...
59
55
  if (this.multiselect || this.expandableRows) {
60
56
  this.columnsNumber = headerColumnsNo + 1;
@@ -64,12 +60,12 @@ export class TdsTableBody {
64
60
  }
65
61
  }
66
62
  render() {
67
- return (h(Host, { key: '80e470d85ca46b398d9254bbcf84865b65656c7c', "data-selected-rows": this.multiselectArrayJSON, class: {
63
+ return (h(Host, { key: 'f9472ae9b1dcad43aab101811dfe858dea4851e9', "data-selected-rows": this.multiselectArrayJSON, class: {
68
64
  'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
69
65
  'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
70
66
  'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
71
67
  'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
72
- } }, h("slot", { key: 'ef1c5c7a13129ff08d48d568088c05e2416b8284' })));
68
+ } }, h("slot", { key: '61a0ec649d2f7f51ca386c46335a6ae018c993d0' })));
73
69
  }
74
70
  static get is() { return "tds-table-body"; }
75
71
  static get originalStyleUrls() {
@@ -63,8 +63,7 @@ export class TdsTableBodyCell {
63
63
  componentWillLoad() {
64
64
  if (this.tableEl) {
65
65
  relevantTableProps.forEach((tablePropName) => {
66
- var _a;
67
- this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
66
+ this[tablePropName] = this.tableEl[tablePropName];
68
67
  });
69
68
  }
70
69
  if (this.textAlign) {
@@ -84,13 +83,13 @@ export class TdsTableBodyCell {
84
83
  // Conditionally set padding style
85
84
  padding: paddingStyle,
86
85
  };
87
- return (h(Host, { key: '2a56a35d85a6f9f05894ee254edc590c2d7e96b5', class: {
86
+ return (h(Host, { key: 'cfabd07f5fb68862ec1afe31679d492593e5a579', class: {
88
87
  'tds-table__body-cell': true,
89
88
  'tds-table__body-cell--hover': this.activeSorting,
90
89
  'tds-table__compact': this.compactDesign,
91
90
  'tds-table--divider': this.verticalDividers,
92
91
  'tds-table--no-min-width': this.noMinWidth,
93
- }, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: 'daa924435db192e5205247edc52a5a995dff6f08' })));
92
+ }, style: dynamicStyles, role: "cell" }, this.cellValue, h("slot", { key: 'cb0466abad9e73f9daed8483304246deb79d37e8' })));
94
93
  }
95
94
  static get is() { return "tds-body-cell"; }
96
95
  static get encapsulation() { return "shadow"; }
@@ -124,11 +123,11 @@ export class TdsTableBodyCell {
124
123
  "reflect": true
125
124
  },
126
125
  "cellKey": {
127
- "type": "string",
126
+ "type": "any",
128
127
  "mutable": false,
129
128
  "complexType": {
130
- "original": "string",
131
- "resolved": "string",
129
+ "original": "any",
130
+ "resolved": "any",
132
131
  "references": {}
133
132
  },
134
133
  "required": false,
@@ -81,7 +81,7 @@ export class TdsTableBodyInputWrapper {
81
81
  }
82
82
  }
83
83
  render() {
84
- return (h(Host, { key: '332c2ebf290f802f6b8067a1b7b0754cbca2b9aa', class: {
84
+ return (h(Host, { key: '1ebf0bf16490030ce20a99e1234e68d81430eaf8', class: {
85
85
  'focused-input-wrapper': this.inputFocused,
86
86
  'show-icon': this.showIcon,
87
87
  'tds-table__compact': this.compactDesign,
@@ -20,19 +20,17 @@ export class TdsTableBodyRow {
20
20
  this.tableId = '';
21
21
  }
22
22
  async handleCheckboxChange(event) {
23
- var _a;
24
23
  this.selected = event.detail.checked;
25
24
  this.tdsSelect.emit({
26
25
  tableId: this.tableId,
27
26
  checked: this.selected,
28
- selectedRows: await ((_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.getSelectedRows()),
27
+ selectedRows: await this.tableEl.getSelectedRows(),
29
28
  });
30
29
  }
31
30
  handleRowClick(e) {
32
- var _a, _b, _c;
33
31
  if (!this.clickable)
34
32
  return;
35
- const rowIndex = Array.from((_c = (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.children) !== null && _c !== void 0 ? _c : []).indexOf(this.host);
33
+ let rowIndex = Array.from(this.host.parentElement.children).indexOf(this.host);
36
34
  this.tdsClick.emit({
37
35
  event: e,
38
36
  tableId: this.tableId,
@@ -65,19 +63,18 @@ export class TdsTableBodyRow {
65
63
  componentWillLoad() {
66
64
  if (this.tableEl) {
67
65
  relevantTableProps.forEach((tablePropName) => {
68
- var _a;
69
- this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
66
+ this[tablePropName] = this.tableEl[tablePropName];
70
67
  });
71
68
  }
72
69
  }
73
70
  render() {
74
- return (h(Host, { key: '377d16a55b6c2cb87940ee6ec8629e71dde6ad17', tabindex: this.clickable ? '0' : null, class: {
71
+ return (h(Host, { key: '6bf3fee7c066bc4686c9aa0ecba45c04ca7b2aae', tabindex: this.clickable ? '0' : null, class: {
75
72
  'tds-table__row': true,
76
73
  'tds-table__row--selected': this.selected,
77
74
  'tds-table__compact': this.compactDesign,
78
75
  'tds-table--divider': this.verticalDividers,
79
76
  'tds-table__row--clickable': this.clickable,
80
- }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: 'a65e6eed2e09e49c80c5f25312613c874a3d3b1a', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '37b7bb583a756031ee86c57015523fdb659d683d', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '35cdd94e92fc239d756b4ba240f10cd1e1914512' })));
77
+ }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '845e64408b938254887c7ec840eae48fc4ed01e3', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '817ef05632a9b2704148a0c9ce190b360b9cec3b', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '50cf1a5aeae24aaceeb813f432abe8e75ad53857' })));
81
78
  }
82
79
  static get is() { return "tds-table-body-row"; }
83
80
  static get encapsulation() { return "shadow"; }
@@ -116,7 +113,7 @@ export class TdsTableBodyRow {
116
113
  "mutable": false,
117
114
  "complexType": {
118
115
  "original": "boolean",
119
- "resolved": "boolean | undefined",
116
+ "resolved": "boolean",
120
117
  "references": {}
121
118
  },
122
119
  "required": false,
@@ -171,8 +168,8 @@ export class TdsTableBodyRow {
171
168
  "text": "Event emitted when a row is selected/deselected."
172
169
  },
173
170
  "complexType": {
174
- "original": "{\n tableId: string | undefined;\n checked: boolean;\n selectedRows: object[] | undefined;\n }",
175
- "resolved": "{ tableId: string | undefined; checked: boolean; selectedRows: object[] | undefined; }",
171
+ "original": "{\n tableId: string;\n checked: boolean;\n selectedRows: any[];\n }",
172
+ "resolved": "{ tableId: string; checked: boolean; selectedRows: any[]; }",
176
173
  "references": {}
177
174
  }
178
175
  }, {
@@ -186,8 +183,8 @@ export class TdsTableBodyRow {
186
183
  "text": "Event emitted when a row is clicked."
187
184
  },
188
185
  "complexType": {
189
- "original": "{\n event: MouseEvent;\n tableId: string | undefined;\n rowIndex: number;\n }",
190
- "resolved": "{ event: MouseEvent; tableId: string | undefined; rowIndex: number; }",
186
+ "original": "{\n event: MouseEvent;\n tableId: string;\n rowIndex: number;\n }",
187
+ "resolved": "{ event: MouseEvent; tableId: string; rowIndex: number; }",
191
188
  "references": {
192
189
  "MouseEvent": {
193
190
  "location": "global",