@scania/tegel 1.40.0-table-pagination-rowsperpage-reset-bug-beta.0 → 1.40.0-ts-strict-mode-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) 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 +4 -3
  5. package/dist/cjs/tds-button_2.cjs.entry.js +7 -5
  6. package/dist/cjs/tds-card.cjs.entry.js +2 -2
  7. package/dist/cjs/tds-checkbox.cjs.entry.js +6 -3
  8. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
  9. package/dist/cjs/tds-datetime.cjs.entry.js +8 -5
  10. package/dist/cjs/tds-dropdown_2.cjs.entry.js +49 -31
  11. package/dist/cjs/tds-folder-tabs.cjs.entry.js +10 -3
  12. package/dist/cjs/tds-footer-group.cjs.entry.js +7 -6
  13. package/dist/cjs/tds-footer-item.cjs.entry.js +7 -3
  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 +10 -5
  17. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
  18. package/dist/cjs/tds-header-dropdown.cjs.entry.js +7 -5
  19. package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -4
  20. package/dist/cjs/tds-header.cjs.entry.js +8 -6
  21. package/dist/cjs/tds-icon.cjs.entry.js +1 -2
  22. package/dist/cjs/tds-inline-tabs.cjs.entry.js +10 -3
  23. package/dist/cjs/tds-message.cjs.entry.js +2 -2
  24. package/dist/cjs/tds-modal.cjs.entry.js +5 -4
  25. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +12 -5
  26. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
  27. package/dist/cjs/tds-popover-core.cjs.entry.js +10 -8
  28. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
  29. package/dist/cjs/tds-radio-button.cjs.entry.js +4 -1
  30. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -4
  31. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +13 -9
  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 +5 -4
  34. package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
  35. package/dist/cjs/tds-side-menu.cjs.entry.js +12 -9
  36. package/dist/cjs/tds-slider.cjs.entry.js +26 -16
  37. package/dist/cjs/tds-step.cjs.entry.js +3 -1
  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 +17 -10
  40. package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -5
  41. package/dist/cjs/tds-table-body.cjs.entry.js +9 -5
  42. package/dist/cjs/tds-table-footer.cjs.entry.js +17 -26
  43. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  44. package/dist/cjs/tds-table-header.cjs.entry.js +24 -18
  45. package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -4
  46. package/dist/cjs/tds-table.cjs.entry.js +14 -12
  47. package/dist/cjs/tds-text-field.cjs.entry.js +7 -6
  48. package/dist/cjs/tds-textarea.cjs.entry.js +5 -4
  49. package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
  50. package/dist/cjs/tds-tooltip.cjs.entry.js +6 -10
  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 +9 -7
  55. package/dist/collection/components/card/card.js +4 -4
  56. package/dist/collection/components/checkbox/checkbox.js +7 -4
  57. package/dist/collection/components/chip/chip.js +1 -1
  58. package/dist/collection/components/datetime/datetime.js +10 -7
  59. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +9 -6
  60. package/dist/collection/components/dropdown/dropdown.js +44 -31
  61. package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
  62. package/dist/collection/components/footer/footer-group/footer-group.js +6 -5
  63. package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
  64. package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
  65. package/dist/collection/components/footer/footer.js +4 -4
  66. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  67. package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -5
  68. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
  69. package/dist/collection/components/header/header-item/header-item.js +9 -5
  70. package/dist/collection/components/header/header-launcher/header-launcher.js +8 -4
  71. package/dist/collection/components/header/header.js +8 -6
  72. package/dist/collection/components/icon/icon.js +3 -4
  73. package/dist/collection/components/message/message.js +4 -4
  74. package/dist/collection/components/modal/modal.js +8 -7
  75. package/dist/collection/components/popover-canvas/popover-canvas.js +9 -9
  76. package/dist/collection/components/popover-core/popover-core.js +20 -23
  77. package/dist/collection/components/popover-menu/popover-menu.js +9 -9
  78. package/dist/collection/components/radio-button/radio-button.js +4 -1
  79. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -4
  80. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -4
  81. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  82. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -9
  83. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +15 -9
  84. package/dist/collection/components/side-menu/side-menu.js +12 -9
  85. package/dist/collection/components/slider/slider.js +26 -16
  86. package/dist/collection/components/stepper/step/step.js +3 -1
  87. package/dist/collection/components/table/table/table.js +36 -18
  88. package/dist/collection/components/table/table-body/table-body.js +9 -5
  89. package/dist/collection/components/table/table-body-cell/table-body-cell.js +7 -6
  90. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  91. package/dist/collection/components/table/table-body-row/table-body-row.js +13 -10
  92. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +23 -16
  93. package/dist/collection/components/table/table-footer/table-footer.js +22 -34
  94. package/dist/collection/components/table/table-header/table-header.js +27 -21
  95. package/dist/collection/components/table/table-header-cell/table-header-cell.js +22 -17
  96. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  97. package/dist/collection/components/table/table-toolbar/table-toolbar.js +8 -6
  98. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +12 -5
  99. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +10 -3
  100. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +12 -5
  101. package/dist/collection/components/text-field/text-field.js +9 -8
  102. package/dist/collection/components/textarea/textarea.js +7 -6
  103. package/dist/collection/components/toggle/toggle.js +5 -4
  104. package/dist/collection/components/tooltip/tooltip.js +9 -13
  105. package/dist/collection/utils/appendHiddenInput.js +6 -4
  106. package/dist/components/{p-d10d21bd.js → p-0d286c19.js} +2 -2
  107. package/dist/components/{p-63552d0e.js → p-415fafb3.js} +5 -5
  108. package/dist/components/{p-3308d5fa.js → p-6fd2b339.js} +10 -8
  109. package/dist/components/{p-c62b61fe.js → p-799470b1.js} +7 -5
  110. package/dist/components/{p-2a2d66fe.js → p-7e02ea3e.js} +41 -26
  111. package/dist/components/{p-6ef207b2.js → p-98d082f9.js} +11 -8
  112. package/dist/components/{p-3a7e4d0d.js → p-a64cbc40.js} +10 -9
  113. package/dist/components/{p-04a014cf.js → p-ad376f70.js} +7 -11
  114. package/dist/components/{p-9336db16.js → p-da11a695.js} +5 -3
  115. package/dist/components/{p-1dafdc8c.js → p-e0ccf8e6.js} +15 -9
  116. package/dist/components/{p-44f5b5e1.js → p-e627f11b.js} +6 -3
  117. package/dist/components/{p-7c3348eb.js → p-ead6727f.js} +9 -5
  118. package/dist/components/{p-f7d94947.js → p-edc838a0.js} +1 -2
  119. package/dist/components/tds-accordion-item.js +1 -1
  120. package/dist/components/tds-accordion.js +2 -2
  121. package/dist/components/tds-banner.js +1 -1
  122. package/dist/components/tds-block.js +1 -1
  123. package/dist/components/tds-body-cell.js +5 -4
  124. package/dist/components/tds-button.js +1 -1
  125. package/dist/components/tds-card.js +4 -4
  126. package/dist/components/tds-checkbox.js +1 -1
  127. package/dist/components/tds-datetime.js +9 -6
  128. package/dist/components/tds-dropdown-option.js +1 -1
  129. package/dist/components/tds-dropdown.js +1 -1
  130. package/dist/components/tds-folder-tabs.js +11 -4
  131. package/dist/components/tds-footer-group.js +8 -7
  132. package/dist/components/tds-footer-item.js +7 -3
  133. package/dist/components/tds-footer.js +2 -2
  134. package/dist/components/tds-header-brand-symbol.js +3 -3
  135. package/dist/components/tds-header-cell.js +11 -6
  136. package/dist/components/tds-header-dropdown-list.js +1 -1
  137. package/dist/components/tds-header-dropdown.js +11 -9
  138. package/dist/components/tds-header-hamburger.js +2 -2
  139. package/dist/components/tds-header-item.js +1 -1
  140. package/dist/components/tds-header-launcher-button.js +1 -1
  141. package/dist/components/tds-header-launcher-list.js +1 -1
  142. package/dist/components/tds-header-launcher.js +13 -9
  143. package/dist/components/tds-header.js +8 -6
  144. package/dist/components/tds-icon.js +1 -1
  145. package/dist/components/tds-inline-tabs.js +11 -4
  146. package/dist/components/tds-message.js +3 -3
  147. package/dist/components/tds-modal.js +6 -5
  148. package/dist/components/tds-navigation-tabs.js +13 -6
  149. package/dist/components/tds-popover-canvas.js +1 -1
  150. package/dist/components/tds-popover-core.js +1 -1
  151. package/dist/components/tds-popover-menu.js +5 -5
  152. package/dist/components/tds-radio-button.js +4 -1
  153. package/dist/components/tds-side-menu-close-button.js +1 -1
  154. package/dist/components/tds-side-menu-collapse-button.js +6 -5
  155. package/dist/components/tds-side-menu-dropdown-list-item.js +13 -9
  156. package/dist/components/tds-side-menu-dropdown-list.js +3 -3
  157. package/dist/components/tds-side-menu-dropdown.js +7 -6
  158. package/dist/components/tds-side-menu-item.js +1 -1
  159. package/dist/components/tds-side-menu.js +12 -9
  160. package/dist/components/tds-slider.js +30 -20
  161. package/dist/components/tds-step.js +4 -2
  162. package/dist/components/tds-table-body-input-wrapper.js +2 -2
  163. package/dist/components/tds-table-body-row-expandable.js +17 -10
  164. package/dist/components/tds-table-body-row.js +9 -6
  165. package/dist/components/tds-table-body.js +9 -5
  166. package/dist/components/tds-table-footer.js +22 -33
  167. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  168. package/dist/components/tds-table-header.js +25 -19
  169. package/dist/components/tds-table-toolbar.js +7 -5
  170. package/dist/components/tds-table.js +14 -12
  171. package/dist/components/tds-text-field.js +1 -1
  172. package/dist/components/tds-textarea.js +8 -7
  173. package/dist/components/tds-toast.js +1 -1
  174. package/dist/components/tds-toggle.js +5 -4
  175. package/dist/components/tds-tooltip.js +1 -1
  176. package/dist/esm/loader.js +1 -1
  177. package/dist/esm/tds-accordion.entry.js +2 -2
  178. package/dist/esm/tds-block.entry.js +1 -1
  179. package/dist/esm/tds-body-cell.entry.js +4 -3
  180. package/dist/esm/tds-button_2.entry.js +7 -5
  181. package/dist/esm/tds-card.entry.js +2 -2
  182. package/dist/esm/tds-checkbox.entry.js +6 -3
  183. package/dist/esm/tds-core-header-item_2.entry.js +9 -5
  184. package/dist/esm/tds-datetime.entry.js +8 -5
  185. package/dist/esm/tds-dropdown_2.entry.js +49 -31
  186. package/dist/esm/tds-folder-tabs.entry.js +10 -3
  187. package/dist/esm/tds-footer-group.entry.js +7 -6
  188. package/dist/esm/tds-footer-item.entry.js +7 -3
  189. package/dist/esm/tds-footer.entry.js +2 -2
  190. package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
  191. package/dist/esm/tds-header-cell.entry.js +10 -5
  192. package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
  193. package/dist/esm/tds-header-dropdown.entry.js +7 -5
  194. package/dist/esm/tds-header-launcher.entry.js +8 -4
  195. package/dist/esm/tds-header.entry.js +8 -6
  196. package/dist/esm/tds-icon.entry.js +1 -2
  197. package/dist/esm/tds-inline-tabs.entry.js +10 -3
  198. package/dist/esm/tds-message.entry.js +2 -2
  199. package/dist/esm/tds-modal.entry.js +5 -4
  200. package/dist/esm/tds-navigation-tabs.entry.js +12 -5
  201. package/dist/esm/tds-popover-canvas.entry.js +4 -4
  202. package/dist/esm/tds-popover-core.entry.js +10 -8
  203. package/dist/esm/tds-popover-menu.entry.js +4 -4
  204. package/dist/esm/tds-radio-button.entry.js +4 -1
  205. package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -4
  206. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +13 -9
  207. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
  208. package/dist/esm/tds-side-menu-dropdown.entry.js +5 -4
  209. package/dist/esm/tds-side-menu-item.entry.js +15 -9
  210. package/dist/esm/tds-side-menu.entry.js +12 -9
  211. package/dist/esm/tds-slider.entry.js +26 -16
  212. package/dist/esm/tds-step.entry.js +3 -1
  213. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
  214. package/dist/esm/tds-table-body-row-expandable.entry.js +17 -10
  215. package/dist/esm/tds-table-body-row.entry.js +8 -5
  216. package/dist/esm/tds-table-body.entry.js +9 -5
  217. package/dist/esm/tds-table-footer.entry.js +17 -26
  218. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  219. package/dist/esm/tds-table-header.entry.js +24 -18
  220. package/dist/esm/tds-table-toolbar.entry.js +6 -4
  221. package/dist/esm/tds-table.entry.js +14 -12
  222. package/dist/esm/tds-text-field.entry.js +7 -6
  223. package/dist/esm/tds-textarea.entry.js +5 -4
  224. package/dist/esm/tds-toggle.entry.js +5 -4
  225. package/dist/esm/tds-tooltip.entry.js +6 -10
  226. package/dist/esm/tegel.js +1 -1
  227. package/dist/tegel/p-08c16b2f.entry.js +1 -0
  228. package/dist/tegel/p-0b37e91a.entry.js +1 -0
  229. package/dist/tegel/p-1e1a87c1.entry.js +1 -0
  230. package/dist/tegel/p-2268af7f.entry.js +1 -0
  231. package/dist/tegel/p-252a7d3f.entry.js +1 -0
  232. package/dist/tegel/p-25473962.entry.js +1 -0
  233. package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
  234. package/dist/tegel/p-27d39882.entry.js +1 -0
  235. package/dist/tegel/p-3ef04672.entry.js +1 -0
  236. package/dist/tegel/p-40d99d7d.entry.js +1 -0
  237. package/dist/tegel/{p-28f85555.entry.js → p-40fa0f5b.entry.js} +1 -1
  238. package/dist/tegel/p-48a3e489.entry.js +1 -0
  239. package/dist/tegel/p-4e15f31d.entry.js +1 -0
  240. package/dist/tegel/p-57c08d0d.entry.js +1 -0
  241. package/dist/tegel/p-58ac68f3.entry.js +1 -0
  242. package/dist/tegel/p-6a472310.entry.js +1 -0
  243. package/dist/tegel/p-7104b955.entry.js +1 -0
  244. package/dist/tegel/p-781b2939.entry.js +1 -0
  245. package/dist/tegel/p-894e7e11.entry.js +1 -0
  246. package/dist/tegel/p-942f8c6f.entry.js +1 -0
  247. package/dist/tegel/p-98eff725.entry.js +1 -0
  248. package/dist/tegel/p-9b06bd5f.entry.js +1 -0
  249. package/dist/tegel/p-9c56b031.entry.js +1 -0
  250. package/dist/tegel/p-a20a54ef.entry.js +1 -0
  251. package/dist/tegel/p-a2b2092a.entry.js +1 -0
  252. package/dist/tegel/p-a334b517.entry.js +1 -0
  253. package/dist/tegel/p-a4e4c450.entry.js +1 -0
  254. package/dist/tegel/p-a60ed3de.entry.js +1 -0
  255. package/dist/tegel/p-a6dca188.entry.js +1 -0
  256. package/dist/tegel/{p-464469fe.entry.js → p-a912035b.entry.js} +1 -1
  257. package/dist/tegel/p-b218db70.entry.js +1 -0
  258. package/dist/tegel/p-b3b13975.entry.js +1 -0
  259. package/dist/tegel/{p-987f8f0f.entry.js → p-b9afb39e.entry.js} +1 -1
  260. package/dist/tegel/p-bb8c2a36.entry.js +1 -0
  261. package/dist/tegel/p-bee9e9d1.entry.js +1 -0
  262. package/dist/tegel/{p-f31f56fe.entry.js → p-c5694dd6.entry.js} +1 -1
  263. package/dist/tegel/{p-57a28f62.entry.js → p-ca068263.entry.js} +1 -1
  264. package/dist/tegel/p-d501a665.entry.js +1 -0
  265. package/dist/tegel/{p-f2318c88.entry.js → p-da38aa9a.entry.js} +1 -1
  266. package/dist/tegel/p-dda1ac69.entry.js +1 -0
  267. package/dist/tegel/{p-55f9c79a.entry.js → p-e0dc09f9.entry.js} +1 -1
  268. package/dist/tegel/p-e29fa563.entry.js +1 -0
  269. package/dist/tegel/p-ed66ef30.entry.js +1 -0
  270. package/dist/tegel/p-f5ca4fbf.entry.js +1 -0
  271. package/dist/tegel/p-f602b3a1.entry.js +1 -0
  272. package/dist/tegel/p-f922308f.entry.js +1 -0
  273. package/dist/tegel/p-fb300776.entry.js +1 -0
  274. package/dist/tegel/p-fd22d1ca.entry.js +1 -0
  275. package/dist/tegel/{p-c6968db1.entry.js → p-fe4335ca.entry.js} +1 -1
  276. package/dist/tegel/tegel.css +1 -1
  277. package/dist/tegel/tegel.esm.js +1 -1
  278. package/dist/types/components/accordion/accordion.d.ts +1 -1
  279. package/dist/types/components/block/block.d.ts +1 -1
  280. package/dist/types/components/button/button.d.ts +1 -1
  281. package/dist/types/components/card/card.d.ts +1 -1
  282. package/dist/types/components/datetime/datetime.d.ts +2 -2
  283. package/dist/types/components/dropdown/dropdown.d.ts +5 -5
  284. package/dist/types/components/footer/footer.d.ts +1 -1
  285. package/dist/types/components/icon/icon.d.ts +1 -1
  286. package/dist/types/components/message/message.d.ts +1 -1
  287. package/dist/types/components/modal/modal.d.ts +1 -1
  288. package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
  289. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  290. package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
  291. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  292. package/dist/types/components/table/table/table.d.ts +6 -3
  293. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  294. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +8 -5
  295. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  296. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  297. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
  298. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -5
  299. package/dist/types/components/table/table-header/table-header.d.ts +5 -5
  300. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
  301. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  302. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  303. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
  304. package/dist/types/components/text-field/text-field.d.ts +1 -1
  305. package/dist/types/components/textarea/textarea.d.ts +2 -2
  306. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  307. package/dist/types/components.d.ts +81 -81
  308. package/dist/types/types/Attributes.d.ts +1 -1
  309. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  310. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  311. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  312. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  313. package/package.json +1 -1
  314. package/dist/tegel/p-08ad6a21.entry.js +0 -1
  315. package/dist/tegel/p-08f63e5d.entry.js +0 -1
  316. package/dist/tegel/p-09cd056c.entry.js +0 -1
  317. package/dist/tegel/p-0c9a51d9.entry.js +0 -1
  318. package/dist/tegel/p-0cfe8671.entry.js +0 -1
  319. package/dist/tegel/p-0e772ad7.entry.js +0 -1
  320. package/dist/tegel/p-17bc1e49.entry.js +0 -1
  321. package/dist/tegel/p-1859156f.entry.js +0 -1
  322. package/dist/tegel/p-1f4267a8.entry.js +0 -1
  323. package/dist/tegel/p-24a76927.entry.js +0 -1
  324. package/dist/tegel/p-3450dd6c.entry.js +0 -1
  325. package/dist/tegel/p-3462a7cc.entry.js +0 -1
  326. package/dist/tegel/p-354d3986.entry.js +0 -1
  327. package/dist/tegel/p-3c97cb45.entry.js +0 -1
  328. package/dist/tegel/p-3e6d65ee.entry.js +0 -1
  329. package/dist/tegel/p-445fa788.entry.js +0 -1
  330. package/dist/tegel/p-51a17707.entry.js +0 -1
  331. package/dist/tegel/p-52689019.entry.js +0 -1
  332. package/dist/tegel/p-6b340718.entry.js +0 -1
  333. package/dist/tegel/p-72006dd7.entry.js +0 -1
  334. package/dist/tegel/p-743d4f07.entry.js +0 -1
  335. package/dist/tegel/p-77cfb0ef.entry.js +0 -1
  336. package/dist/tegel/p-7887bdbb.entry.js +0 -1
  337. package/dist/tegel/p-7b598e60.entry.js +0 -1
  338. package/dist/tegel/p-7ef50e7f.entry.js +0 -1
  339. package/dist/tegel/p-8c2695af.entry.js +0 -1
  340. package/dist/tegel/p-9f187848.entry.js +0 -1
  341. package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
  342. package/dist/tegel/p-a090bd2f.entry.js +0 -1
  343. package/dist/tegel/p-a472f649.entry.js +0 -1
  344. package/dist/tegel/p-a4cbb541.entry.js +0 -1
  345. package/dist/tegel/p-a56436c8.entry.js +0 -1
  346. package/dist/tegel/p-a8abc8d9.entry.js +0 -1
  347. package/dist/tegel/p-b210d23c.entry.js +0 -1
  348. package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
  349. package/dist/tegel/p-cf717912.entry.js +0 -1
  350. package/dist/tegel/p-d1d45942.entry.js +0 -1
  351. package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
  352. package/dist/tegel/p-f3c32d4d.entry.js +0 -1
  353. package/dist/tegel/p-fd15ced7.entry.js +0 -1
@@ -26,7 +26,7 @@ export namespace Components {
26
26
  /**
27
27
  * Set the variant of the Accordion.
28
28
  */
29
- "modeVariant": 'primary' | 'secondary';
29
+ "modeVariant": 'primary' | 'secondary' | null;
30
30
  }
31
31
  interface TdsAccordionItem {
32
32
  /**
@@ -146,13 +146,13 @@ export namespace Components {
146
146
  /**
147
147
  * Mode variant of the component, based on current mode.
148
148
  */
149
- "modeVariant": 'primary' | 'secondary';
149
+ "modeVariant": 'primary' | 'secondary' | null;
150
150
  }
151
151
  interface TdsBodyCell {
152
152
  /**
153
153
  * Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
154
154
  */
155
- "cellKey": any;
155
+ "cellKey": string;
156
156
  /**
157
157
  * Value that will be presented as text inside a cell
158
158
  */
@@ -194,7 +194,7 @@ export namespace Components {
194
194
  /**
195
195
  * Set the mode variant of the Button.
196
196
  */
197
- "modeVariant": 'primary' | 'secondary';
197
+ "modeVariant": 'primary' | 'secondary' | null;
198
198
  /**
199
199
  * The name attribute allows for different ways of accessing the button element
200
200
  */
@@ -264,7 +264,7 @@ export namespace Components {
264
264
  /**
265
265
  * Variant of the Card based on the theme used.
266
266
  */
267
- "modeVariant": 'primary' | 'secondary';
267
+ "modeVariant": 'primary' | 'secondary' | null;
268
268
  "stretch": boolean;
269
269
  /**
270
270
  * Subheader text in the header
@@ -393,7 +393,7 @@ export namespace Components {
393
393
  /**
394
394
  * Set the variant of the Datetime component.
395
395
  */
396
- "modeVariant": 'primary' | 'secondary';
396
+ "modeVariant": 'primary' | 'secondary' | null;
397
397
  /**
398
398
  * Name property. Uses a unique ID as fallback if not specified.
399
399
  */
@@ -483,7 +483,7 @@ export namespace Components {
483
483
  /**
484
484
  * Mode variant of the component, based on current mode.
485
485
  */
486
- "modeVariant": 'primary' | 'secondary';
486
+ "modeVariant": 'primary' | 'secondary' | null;
487
487
  /**
488
488
  * Enables multiselect in the Dropdown.
489
489
  */
@@ -513,7 +513,7 @@ export namespace Components {
513
513
  /**
514
514
  * Method for setting the selected value of the Dropdown. Single selection example: <code> dropdown.setValue('option-1', 'Option 1'); </code> Multiselect example: <code> dropdown.setValue(['option-1', 'option-2']); </code>
515
515
  */
516
- "setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string; }[]>;
516
+ "setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string | undefined; }[]>;
517
517
  /**
518
518
  * The size of the Dropdown.
519
519
  */
@@ -529,7 +529,7 @@ export namespace Components {
529
529
  /**
530
530
  * Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
531
531
  */
532
- "value": string | number | (string | number)[];
532
+ "value": string | number | (string | number)[] | null;
533
533
  }
534
534
  interface TdsDropdownOption {
535
535
  /**
@@ -565,7 +565,7 @@ export namespace Components {
565
565
  /**
566
566
  * Variant of the Tabs, primary= on white, secondary= on grey50
567
567
  */
568
- "modeVariant": 'primary' | 'secondary';
568
+ "modeVariant": 'primary' | 'secondary' | null;
569
569
  /**
570
570
  * Reinitializes the component.
571
571
  */
@@ -591,7 +591,7 @@ export namespace Components {
591
591
  /**
592
592
  * Mode variant of the component, based on current mode.
593
593
  */
594
- "modeVariant": 'primary' | 'secondary';
594
+ "modeVariant": 'primary' | 'secondary' | null;
595
595
  }
596
596
  interface TdsFooterGroup {
597
597
  /**
@@ -826,7 +826,7 @@ export namespace Components {
826
826
  /**
827
827
  * Variant of the component, based on current mode.
828
828
  */
829
- "modeVariant": 'primary' | 'secondary';
829
+ "modeVariant": 'primary' | 'secondary' | null;
830
830
  /**
831
831
  * Removes the icon in the Message.
832
832
  */
@@ -959,7 +959,7 @@ export namespace Components {
959
959
  /**
960
960
  * Mode variant of the component, based on current mode.
961
961
  */
962
- "modeVariant": 'primary' | 'secondary';
962
+ "modeVariant": 'primary' | 'secondary' | null;
963
963
  /**
964
964
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
965
965
  */
@@ -987,7 +987,7 @@ export namespace Components {
987
987
  /**
988
988
  * Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
989
989
  */
990
- "show": boolean;
990
+ "show": boolean | null;
991
991
  /**
992
992
  * Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
993
993
  */
@@ -1013,7 +1013,7 @@ export namespace Components {
1013
1013
  /**
1014
1014
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
1015
1015
  */
1016
- "modifiers": Object[];
1016
+ "modifiers": object[];
1017
1017
  /**
1018
1018
  * Sets the offset distance
1019
1019
  */
@@ -1037,7 +1037,7 @@ export namespace Components {
1037
1037
  /**
1038
1038
  * Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
1039
1039
  */
1040
- "show": boolean;
1040
+ "show": boolean | null;
1041
1041
  /**
1042
1042
  * What triggers the popover to show
1043
1043
  */
@@ -1063,7 +1063,7 @@ export namespace Components {
1063
1063
  /**
1064
1064
  * Mode variant of the component, based on current mode.
1065
1065
  */
1066
- "modeVariant": 'primary' | 'secondary';
1066
+ "modeVariant": 'primary' | 'secondary' | null;
1067
1067
  /**
1068
1068
  * Sets the offset distance
1069
1069
  */
@@ -1087,7 +1087,7 @@ export namespace Components {
1087
1087
  /**
1088
1088
  * Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
1089
1089
  */
1090
- "show": boolean;
1090
+ "show": boolean | null;
1091
1091
  }
1092
1092
  interface TdsPopoverMenuItem {
1093
1093
  /**
@@ -1364,15 +1364,15 @@ export namespace Components {
1364
1364
  /**
1365
1365
  * Returns all selected rows data.
1366
1366
  */
1367
- "getSelectedRows": () => Promise<any[]>;
1367
+ "getSelectedRows": () => Promise<{ cellKey: string; cellValue: string | number; }[][]>;
1368
1368
  /**
1369
1369
  * Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
1370
1370
  */
1371
- "horizontalScrollWidth"?: string;
1371
+ "horizontalScrollWidth"?: string | null;
1372
1372
  /**
1373
1373
  * Variant of the component, based on current mode.
1374
1374
  */
1375
- "modeVariant": 'primary' | 'secondary';
1375
+ "modeVariant": 'primary' | 'secondary' | null;
1376
1376
  /**
1377
1377
  * Enables multiselect feature of Table
1378
1378
  */
@@ -1432,7 +1432,7 @@ export namespace Components {
1432
1432
  /**
1433
1433
  * In case that automatic count of columns does not work, user can manually set this one. Take in mind that expandable control is column too
1434
1434
  */
1435
- "colSpan": number;
1435
+ "colSpan": number | null;
1436
1436
  /**
1437
1437
  * Method to collapse table row
1438
1438
  */
@@ -1462,7 +1462,7 @@ export namespace Components {
1462
1462
  /**
1463
1463
  * <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
1464
1464
  */
1465
- "cols": number;
1465
+ "cols": number | null;
1466
1466
  /**
1467
1467
  * Sets the number of pages.
1468
1468
  */
@@ -1585,7 +1585,7 @@ export namespace Components {
1585
1585
  /**
1586
1586
  * Mode variant of the Text Field
1587
1587
  */
1588
- "modeVariant": 'primary' | 'secondary';
1588
+ "modeVariant": 'primary' | 'secondary' | null;
1589
1589
  /**
1590
1590
  * Name property
1591
1591
  */
@@ -1667,7 +1667,7 @@ export namespace Components {
1667
1667
  /**
1668
1668
  * Mode variant of the Textarea
1669
1669
  */
1670
- "modeVariant": 'primary' | 'secondary';
1670
+ "modeVariant": 'primary' | 'secondary' | null;
1671
1671
  /**
1672
1672
  * Name attribute
1673
1673
  */
@@ -1821,7 +1821,7 @@ export namespace Components {
1821
1821
  /**
1822
1822
  * Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
1823
1823
  */
1824
- "show": boolean;
1824
+ "show": boolean | null;
1825
1825
  /**
1826
1826
  * Sets the aria-describedby attribute
1827
1827
  */
@@ -2145,7 +2145,7 @@ declare global {
2145
2145
  interface HTMLTdsDropdownElementEventMap {
2146
2146
  "tdsChange": {
2147
2147
  name: string;
2148
- value: string;
2148
+ value: string | null;
2149
2149
  };
2150
2150
  "tdsFocus": FocusEvent;
2151
2151
  "tdsBlur": FocusEvent;
@@ -2244,17 +2244,17 @@ declare global {
2244
2244
  };
2245
2245
  interface HTMLTdsHeaderCellElementEventMap {
2246
2246
  "tdsSort": {
2247
- tableId: string;
2248
- columnKey: string;
2247
+ tableId: string | undefined;
2248
+ columnKey: string | undefined;
2249
2249
  sortingDirection: 'asc' | 'desc';
2250
2250
  };
2251
2251
  "internalSortButtonClicked": {
2252
- tableId: string;
2253
- key: string;
2252
+ tableId: string | undefined;
2253
+ key: string | undefined;
2254
2254
  };
2255
- "internalTdsTextAlign": any;
2255
+ "internalTdsTextAlign": object;
2256
2256
  "internalTdsHover": {
2257
- tableId: string;
2257
+ tableId: string | undefined;
2258
2258
  key: string;
2259
2259
  };
2260
2260
  }
@@ -2406,7 +2406,7 @@ declare global {
2406
2406
  new (): HTMLTdsMessageElement;
2407
2407
  };
2408
2408
  interface HTMLTdsModalElementEventMap {
2409
- "tdsClose": any;
2409
+ "tdsClose": object;
2410
2410
  "tdsOpen": void;
2411
2411
  }
2412
2412
  interface HTMLTdsModalElement extends Components.TdsModal, HTMLStencilElement {
@@ -2455,8 +2455,8 @@ declare global {
2455
2455
  new (): HTMLTdsPopoverCanvasElement;
2456
2456
  };
2457
2457
  interface HTMLTdsPopoverCoreElementEventMap {
2458
- "internalTdsShow": {};
2459
- "internalTdsClose": {};
2458
+ "internalTdsShow": object;
2459
+ "internalTdsClose": object;
2460
2460
  }
2461
2461
  interface HTMLTdsPopoverCoreElement extends Components.TdsPopoverCore, HTMLStencilElement {
2462
2462
  addEventListener<K extends keyof HTMLTdsPopoverCoreElementEventMap>(type: K, listener: (this: HTMLTdsPopoverCoreElement, ev: TdsPopoverCoreCustomEvent<HTMLTdsPopoverCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2677,13 +2677,13 @@ declare global {
2677
2677
  };
2678
2678
  interface HTMLTdsTableBodyRowElementEventMap {
2679
2679
  "tdsSelect": {
2680
- tableId: string;
2680
+ tableId: string | undefined;
2681
2681
  checked: boolean;
2682
- selectedRows: any[];
2682
+ selectedRows: object[] | undefined;
2683
2683
  };
2684
2684
  "tdsClick": {
2685
2685
  event: MouseEvent;
2686
- tableId: string;
2686
+ tableId: string | undefined;
2687
2687
  rowIndex: number;
2688
2688
  };
2689
2689
  }
@@ -2702,11 +2702,11 @@ declare global {
2702
2702
  new (): HTMLTdsTableBodyRowElement;
2703
2703
  };
2704
2704
  interface HTMLTdsTableBodyRowExpandableElementEventMap {
2705
- "internalTdsRowExpanded": any;
2705
+ "internalTdsRowExpanded": object;
2706
2706
  "tdsChange": {
2707
2707
  rowId: string;
2708
2708
  isExpanded: boolean;
2709
- tableId: string;
2709
+ tableId: string | undefined;
2710
2710
  };
2711
2711
  }
2712
2712
  interface HTMLTdsTableBodyRowExpandableElement extends Components.TdsTableBodyRowExpandable, HTMLStencilElement {
@@ -2725,7 +2725,7 @@ declare global {
2725
2725
  };
2726
2726
  interface HTMLTdsTableFooterElementEventMap {
2727
2727
  "tdsPagination": {
2728
- tableId: string;
2728
+ tableId: string | undefined;
2729
2729
  paginationValue: number;
2730
2730
  rowsPerPage?: number;
2731
2731
  };
@@ -2746,9 +2746,9 @@ declare global {
2746
2746
  };
2747
2747
  interface HTMLTdsTableHeaderElementEventMap {
2748
2748
  "tdsSelectAll": {
2749
- tableId: string;
2749
+ tableId: string | undefined;
2750
2750
  checked: boolean;
2751
- selectedRows: any[];
2751
+ selectedRows: object[] | undefined;
2752
2752
  };
2753
2753
  }
2754
2754
  interface HTMLTdsTableHeaderElement extends Components.TdsTableHeader, HTMLStencilElement {
@@ -2773,7 +2773,7 @@ declare global {
2773
2773
  };
2774
2774
  interface HTMLTdsTableToolbarElementEventMap {
2775
2775
  "tdsFilter": {
2776
- tableId: string;
2776
+ tableId: string | undefined;
2777
2777
  query: string;
2778
2778
  };
2779
2779
  }
@@ -2977,7 +2977,7 @@ declare namespace LocalJSX {
2977
2977
  /**
2978
2978
  * Set the variant of the Accordion.
2979
2979
  */
2980
- "modeVariant"?: 'primary' | 'secondary';
2980
+ "modeVariant"?: 'primary' | 'secondary' | null;
2981
2981
  }
2982
2982
  interface TdsAccordionItem {
2983
2983
  /**
@@ -3085,13 +3085,13 @@ declare namespace LocalJSX {
3085
3085
  /**
3086
3086
  * Mode variant of the component, based on current mode.
3087
3087
  */
3088
- "modeVariant"?: 'primary' | 'secondary';
3088
+ "modeVariant"?: 'primary' | 'secondary' | null;
3089
3089
  }
3090
3090
  interface TdsBodyCell {
3091
3091
  /**
3092
3092
  * Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
3093
3093
  */
3094
- "cellKey"?: any;
3094
+ "cellKey"?: string;
3095
3095
  /**
3096
3096
  * Value that will be presented as text inside a cell
3097
3097
  */
@@ -3133,7 +3133,7 @@ declare namespace LocalJSX {
3133
3133
  /**
3134
3134
  * Set the mode variant of the Button.
3135
3135
  */
3136
- "modeVariant"?: 'primary' | 'secondary';
3136
+ "modeVariant"?: 'primary' | 'secondary' | null;
3137
3137
  /**
3138
3138
  * The name attribute allows for different ways of accessing the button element
3139
3139
  */
@@ -3203,7 +3203,7 @@ declare namespace LocalJSX {
3203
3203
  /**
3204
3204
  * Variant of the Card based on the theme used.
3205
3205
  */
3206
- "modeVariant"?: 'primary' | 'secondary';
3206
+ "modeVariant"?: 'primary' | 'secondary' | null;
3207
3207
  /**
3208
3208
  * Sends unique Card identifier when the Card is clicked, if clickable=true
3209
3209
  */
@@ -3357,7 +3357,7 @@ declare namespace LocalJSX {
3357
3357
  /**
3358
3358
  * Set the variant of the Datetime component.
3359
3359
  */
3360
- "modeVariant"?: 'primary' | 'secondary';
3360
+ "modeVariant"?: 'primary' | 'secondary' | null;
3361
3361
  /**
3362
3362
  * Name property. Uses a unique ID as fallback if not specified.
3363
3363
  */
@@ -3446,7 +3446,7 @@ declare namespace LocalJSX {
3446
3446
  /**
3447
3447
  * Mode variant of the component, based on current mode.
3448
3448
  */
3449
- "modeVariant"?: 'primary' | 'secondary';
3449
+ "modeVariant"?: 'primary' | 'secondary' | null;
3450
3450
  /**
3451
3451
  * Enables multiselect in the Dropdown.
3452
3452
  */
@@ -3472,7 +3472,7 @@ declare namespace LocalJSX {
3472
3472
  */
3473
3473
  "onTdsChange"?: (event: TdsDropdownCustomEvent<{
3474
3474
  name: string;
3475
- value: string;
3475
+ value: string | null;
3476
3476
  }>) => void;
3477
3477
  /**
3478
3478
  * Focus event for the Dropdown.
@@ -3501,7 +3501,7 @@ declare namespace LocalJSX {
3501
3501
  /**
3502
3502
  * Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
3503
3503
  */
3504
- "value"?: string | number | (string | number)[];
3504
+ "value"?: string | number | (string | number)[] | null;
3505
3505
  }
3506
3506
  interface TdsDropdownOption {
3507
3507
  /**
@@ -3546,7 +3546,7 @@ declare namespace LocalJSX {
3546
3546
  /**
3547
3547
  * Variant of the Tabs, primary= on white, secondary= on grey50
3548
3548
  */
3549
- "modeVariant"?: 'primary' | 'secondary';
3549
+ "modeVariant"?: 'primary' | 'secondary' | null;
3550
3550
  /**
3551
3551
  * Event emitted when the selected Tab is changed.
3552
3552
  */
@@ -3570,7 +3570,7 @@ declare namespace LocalJSX {
3570
3570
  /**
3571
3571
  * Mode variant of the component, based on current mode.
3572
3572
  */
3573
- "modeVariant"?: 'primary' | 'secondary';
3573
+ "modeVariant"?: 'primary' | 'secondary' | null;
3574
3574
  }
3575
3575
  interface TdsFooterGroup {
3576
3576
  /**
@@ -3609,8 +3609,8 @@ declare namespace LocalJSX {
3609
3609
  * Sends unique Table identifier, column key and sorting direction to the tds-table-body component, can also be listened to implement custom-sorting logic.
3610
3610
  */
3611
3611
  "onTdsSort"?: (event: TdsHeaderCellCustomEvent<{
3612
- tableId: string;
3613
- columnKey: string;
3612
+ tableId: string | undefined;
3613
+ columnKey: string | undefined;
3614
3614
  sortingDirection: 'asc' | 'desc';
3615
3615
  }>) => void;
3616
3616
  /**
@@ -3810,7 +3810,7 @@ declare namespace LocalJSX {
3810
3810
  /**
3811
3811
  * Variant of the component, based on current mode.
3812
3812
  */
3813
- "modeVariant"?: 'primary' | 'secondary';
3813
+ "modeVariant"?: 'primary' | 'secondary' | null;
3814
3814
  /**
3815
3815
  * Removes the icon in the Message.
3816
3816
  */
@@ -3844,7 +3844,7 @@ declare namespace LocalJSX {
3844
3844
  /**
3845
3845
  * Emits when the Modal is closed.
3846
3846
  */
3847
- "onTdsClose"?: (event: TdsModalCustomEvent<any>) => void;
3847
+ "onTdsClose"?: (event: TdsModalCustomEvent<object>) => void;
3848
3848
  /**
3849
3849
  * Emits just before Modal is opened.
3850
3850
  */
@@ -3924,7 +3924,7 @@ declare namespace LocalJSX {
3924
3924
  /**
3925
3925
  * Mode variant of the component, based on current mode.
3926
3926
  */
3927
- "modeVariant"?: 'primary' | 'secondary';
3927
+ "modeVariant"?: 'primary' | 'secondary' | null;
3928
3928
  /**
3929
3929
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
3930
3930
  */
@@ -3952,7 +3952,7 @@ declare namespace LocalJSX {
3952
3952
  /**
3953
3953
  * Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
3954
3954
  */
3955
- "show"?: boolean;
3955
+ "show"?: boolean | null;
3956
3956
  /**
3957
3957
  * Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
3958
3958
  */
@@ -3974,7 +3974,7 @@ declare namespace LocalJSX {
3974
3974
  /**
3975
3975
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
3976
3976
  */
3977
- "modifiers"?: Object[];
3977
+ "modifiers"?: object[];
3978
3978
  /**
3979
3979
  * Sets the offset distance
3980
3980
  */
@@ -3998,7 +3998,7 @@ declare namespace LocalJSX {
3998
3998
  /**
3999
3999
  * Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
4000
4000
  */
4001
- "show"?: boolean;
4001
+ "show"?: boolean | null;
4002
4002
  /**
4003
4003
  * What triggers the popover to show
4004
4004
  */
@@ -4020,7 +4020,7 @@ declare namespace LocalJSX {
4020
4020
  /**
4021
4021
  * Mode variant of the component, based on current mode.
4022
4022
  */
4023
- "modeVariant"?: 'primary' | 'secondary';
4023
+ "modeVariant"?: 'primary' | 'secondary' | null;
4024
4024
  /**
4025
4025
  * Sets the offset distance
4026
4026
  */
@@ -4044,7 +4044,7 @@ declare namespace LocalJSX {
4044
4044
  /**
4045
4045
  * Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
4046
4046
  */
4047
- "show"?: boolean;
4047
+ "show"?: boolean | null;
4048
4048
  }
4049
4049
  interface TdsPopoverMenuItem {
4050
4050
  /**
@@ -4340,11 +4340,11 @@ declare namespace LocalJSX {
4340
4340
  /**
4341
4341
  * Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
4342
4342
  */
4343
- "horizontalScrollWidth"?: string;
4343
+ "horizontalScrollWidth"?: string | null;
4344
4344
  /**
4345
4345
  * Variant of the component, based on current mode.
4346
4346
  */
4347
- "modeVariant"?: 'primary' | 'secondary';
4347
+ "modeVariant"?: 'primary' | 'secondary' | null;
4348
4348
  /**
4349
4349
  * Enables multiselect feature of Table
4350
4350
  */
@@ -4396,16 +4396,16 @@ declare namespace LocalJSX {
4396
4396
  */
4397
4397
  "onTdsClick"?: (event: TdsTableBodyRowCustomEvent<{
4398
4398
  event: MouseEvent;
4399
- tableId: string;
4399
+ tableId: string | undefined;
4400
4400
  rowIndex: number;
4401
4401
  }>) => void;
4402
4402
  /**
4403
4403
  * Event emitted when a row is selected/deselected.
4404
4404
  */
4405
4405
  "onTdsSelect"?: (event: TdsTableBodyRowCustomEvent<{
4406
- tableId: string;
4406
+ tableId: string | undefined;
4407
4407
  checked: boolean;
4408
- selectedRows: any[];
4408
+ selectedRows: object[] | undefined;
4409
4409
  }>) => void;
4410
4410
  /**
4411
4411
  * Marks the row as selected, used for multiselect table.
@@ -4420,7 +4420,7 @@ declare namespace LocalJSX {
4420
4420
  /**
4421
4421
  * In case that automatic count of columns does not work, user can manually set this one. Take in mind that expandable control is column too
4422
4422
  */
4423
- "colSpan"?: number;
4423
+ "colSpan"?: number | null;
4424
4424
  /**
4425
4425
  * Sets isExpanded state to true or false externally
4426
4426
  */
@@ -4431,7 +4431,7 @@ declare namespace LocalJSX {
4431
4431
  "onTdsChange"?: (event: TdsTableBodyRowExpandableCustomEvent<{
4432
4432
  rowId: string;
4433
4433
  isExpanded: boolean;
4434
- tableId: string;
4434
+ tableId: string | undefined;
4435
4435
  }>) => void;
4436
4436
  /**
4437
4437
  * Controls the overflow behavior of the expandable row content
@@ -4450,12 +4450,12 @@ declare namespace LocalJSX {
4450
4450
  /**
4451
4451
  * <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
4452
4452
  */
4453
- "cols"?: number;
4453
+ "cols"?: number | null;
4454
4454
  /**
4455
4455
  * Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
4456
4456
  */
4457
4457
  "onTdsPagination"?: (event: TdsTableFooterCustomEvent<{
4458
- tableId: string;
4458
+ tableId: string | undefined;
4459
4459
  paginationValue: number;
4460
4460
  rowsPerPage?: number;
4461
4461
  }>) => void;
@@ -4497,9 +4497,9 @@ declare namespace LocalJSX {
4497
4497
  * Event emitted when the status of the select all checkbox changes.
4498
4498
  */
4499
4499
  "onTdsSelectAll"?: (event: TdsTableHeaderCustomEvent<{
4500
- tableId: string;
4500
+ tableId: string | undefined;
4501
4501
  checked: boolean;
4502
- selectedRows: any[];
4502
+ selectedRows: object[] | undefined;
4503
4503
  }>) => void;
4504
4504
  /**
4505
4505
  * Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
@@ -4522,7 +4522,7 @@ declare namespace LocalJSX {
4522
4522
  * Used for sending users' input to the main parent tds-table the component, can also be listened to in order to implement custom sorting logic.
4523
4523
  */
4524
4524
  "onTdsFilter"?: (event: TdsTableToolbarCustomEvent<{
4525
- tableId: string;
4525
+ tableId: string | undefined;
4526
4526
  query: string;
4527
4527
  }>) => void;
4528
4528
  /**
@@ -4592,7 +4592,7 @@ declare namespace LocalJSX {
4592
4592
  /**
4593
4593
  * Mode variant of the Text Field
4594
4594
  */
4595
- "modeVariant"?: 'primary' | 'secondary';
4595
+ "modeVariant"?: 'primary' | 'secondary' | null;
4596
4596
  /**
4597
4597
  * Name property
4598
4598
  */
@@ -4686,7 +4686,7 @@ declare namespace LocalJSX {
4686
4686
  /**
4687
4687
  * Mode variant of the Textarea
4688
4688
  */
4689
- "modeVariant"?: 'primary' | 'secondary';
4689
+ "modeVariant"?: 'primary' | 'secondary' | null;
4690
4690
  /**
4691
4691
  * Name attribute
4692
4692
  */
@@ -4853,7 +4853,7 @@ declare namespace LocalJSX {
4853
4853
  /**
4854
4854
  * Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
4855
4855
  */
4856
- "show"?: boolean;
4856
+ "show"?: boolean | null;
4857
4857
  /**
4858
4858
  * Sets the aria-describedby attribute
4859
4859
  */
@@ -1,3 +1,3 @@
1
1
  export type Attributes = {
2
- [key: string]: any;
2
+ [key: string]: string | null;
3
3
  };
@@ -3,5 +3,5 @@
3
3
  * @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
4
4
  * @param nextItemIndex The index in the list to start the search on.
5
5
  */
6
- declare const findNextFocusableElement: (items: any[], nextItemIndex: number) => number;
6
+ declare const findNextFocusableElement: (items: HTMLTdsDropdownOptionElement[], nextItemIndex: number) => number | undefined;
7
7
  export default findNextFocusableElement;
@@ -4,5 +4,5 @@
4
4
  * @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
5
5
  * @param nextItemIndex The index in the list to start the search on.
6
6
  */
7
- declare const findPreviousFocusableElement: (items: any[], previousItemIndex: number) => number;
7
+ declare const findPreviousFocusableElement: (items: HTMLTdsDropdownOptionElement[], previousItemIndex: number) => number | undefined;
8
8
  export default findPreviousFocusableElement;
@@ -26,5 +26,5 @@
26
26
  * const headingEl = getNextNestedChildOfSiblingsMatching(startingElement, searchPredicate);
27
27
  * console.log(headingEl); // Logs the <h2>Heading 2</h2> element
28
28
  */
29
- declare const getNextNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement;
29
+ declare const getNextNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement | null;
30
30
  export default getNextNestedChildOfSiblingsMatching;
@@ -26,5 +26,5 @@
26
26
  * const headingEl = getPreviousNestedChildOfSiblingsMatching(startingElement, searchPredicate);
27
27
  * console.log(headingEl); // Logs the <h2>Heading 2</h2> element
28
28
  */
29
- declare const getPreviousNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement;
29
+ declare const getPreviousNestedChildOfSiblingsMatching: (element: HTMLElement, searchPredicate: (el: HTMLElement) => boolean) => HTMLElement | null;
30
30
  export default getPreviousNestedChildOfSiblingsMatching;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scania/tegel",
3
- "version": "1.40.0-table-pagination-rowsperpage-reset-bug-beta.0",
3
+ "version": "1.40.0-ts-strict-mode-beta.0",
4
4
  "description": "Tegel Design System",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as o,g as d}from"./p-2049fab2.js";const s=["multiselect","expandableRows","zebraMode"],a=class{constructor(t){e(this,t),this.bodyCheckBoxClicked=()=>{const e=this.host.getElementsByClassName("tds-table__row").length,t=this.host.getElementsByClassName("tds-table__row--selected").length;this.mainCheckboxStatus=e===t},this.multiselect=!1,this.enablePaginationTableBody=!1,this.expandableRows=!1,this.multiselectArray=[],this.multiselectArrayJSON=void 0,this.mainCheckboxStatus=!1,this.columnsNumber=0,this.zebraMode="none",this.tableId=""}internalTdsPropChangeListener(e){this.tableId===e.detail.tableId&&e.detail.changed.filter((e=>s.includes(e))).forEach((t=>{if(void 0===this[t])throw new Error(`Table prop is not supported: ${t}`);this[t]=e.detail[t]}))}bodyCheckboxListener(){this.bodyCheckBoxClicked()}connectedCallback(){this.tableEl=this.host.closest("tds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){s.forEach((e=>{this[e]=this.tableEl[e]}))}componentWillRender(){const e=this.host.parentElement.querySelector("tds-table-header").children.length;this.columnsNumber=this.multiselect||this.expandableRows?e+1:e}render(){return t(o,{key:"f9472ae9b1dcad43aab101811dfe858dea4851e9","data-selected-rows":this.multiselectArrayJSON,class:{"tds-table--zebra-mode-rows-odd":"rows-odd"===this.zebraMode,"tds-table--zebra-mode-rows-even":"rows-even"===this.zebraMode,"tds-table--zebra-mode-columns-odd":"columns-odd"===this.zebraMode,"tds-table--zebra-mode-columns-even":"columns-even"===this.zebraMode}},t("slot",{key:"61a0ec649d2f7f51ca386c46335a6ae018c993d0"}))}get host(){return d(this)}};a.style=":host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell,tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell{background-color:transparent}";export{a as tds_table_body}