@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (564) hide show
  1. package/dist/cjs/index-CxAGLnpY.js +2414 -0
  2. package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
  3. package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +3 -6
  5. package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
  6. package/dist/cjs/tds-accordion.cjs.entry.js +6 -7
  7. package/dist/cjs/tds-badge.cjs.entry.js +6 -5
  8. package/dist/cjs/tds-banner.cjs.entry.js +18 -14
  9. package/dist/cjs/tds-block.cjs.entry.js +5 -6
  10. package/dist/cjs/tds-body-cell.cjs.entry.js +6 -13
  11. package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
  12. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
  13. package/dist/cjs/tds-button_2.cjs.entry.js +18 -19
  14. package/dist/cjs/tds-card.cjs.entry.js +30 -21
  15. package/dist/cjs/tds-checkbox.cjs.entry.js +16 -21
  16. package/dist/cjs/tds-chip.cjs.entry.js +18 -15
  17. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +12 -17
  18. package/dist/cjs/tds-datetime.cjs.entry.js +32 -31
  19. package/dist/cjs/tds-dropdown_2.cjs.entry.js +97 -100
  20. package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
  21. package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -23
  22. package/dist/cjs/tds-footer-group.cjs.entry.js +10 -16
  23. package/dist/cjs/tds-footer-item.cjs.entry.js +4 -11
  24. package/dist/cjs/tds-footer.cjs.entry.js +7 -9
  25. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -7
  26. package/dist/cjs/tds-header-cell.cjs.entry.js +23 -32
  27. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +4 -5
  28. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -9
  29. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +8 -13
  30. package/dist/cjs/tds-header-dropdown.cjs.entry.js +13 -19
  31. package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -8
  32. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +6 -8
  33. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -5
  34. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -6
  35. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -8
  36. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -5
  37. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -6
  38. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
  39. package/dist/cjs/tds-header-launcher.cjs.entry.js +10 -19
  40. package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
  41. package/dist/cjs/tds-header.cjs.entry.js +10 -15
  42. package/dist/cjs/tds-icon.cjs.entry.js +12 -13
  43. package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
  44. package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -23
  45. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  46. package/dist/cjs/tds-message.cjs.entry.js +16 -16
  47. package/dist/cjs/tds-modal.cjs.entry.js +23 -24
  48. package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
  49. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +19 -25
  50. package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
  51. package/dist/cjs/tds-popover-core.cjs.entry.js +47 -45
  52. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
  53. package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
  54. package/dist/cjs/tds-radio-button.cjs.entry.js +12 -18
  55. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
  56. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -11
  57. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +12 -18
  58. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -8
  59. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -12
  60. package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -21
  61. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -5
  62. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -11
  63. package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -9
  64. package/dist/cjs/tds-side-menu.cjs.entry.js +24 -24
  65. package/dist/cjs/tds-slider.cjs.entry.js +55 -50
  66. package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
  67. package/dist/cjs/tds-step.cjs.entry.js +4 -14
  68. package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
  69. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
  70. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +21 -24
  71. package/dist/cjs/tds-table-body-row.cjs.entry.js +10 -13
  72. package/dist/cjs/tds-table-body.cjs.entry.js +12 -20
  73. package/dist/cjs/tds-table-footer.cjs.entry.js +28 -31
  74. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
  75. package/dist/cjs/tds-table-header.cjs.entry.js +23 -30
  76. package/dist/cjs/tds-table-toolbar.cjs.entry.js +9 -11
  77. package/dist/cjs/tds-table.cjs.entry.js +33 -21
  78. package/dist/cjs/tds-tag.cjs.entry.js +5 -7
  79. package/dist/cjs/tds-text-field.cjs.entry.js +28 -20
  80. package/dist/cjs/tds-textarea.cjs.entry.js +20 -18
  81. package/dist/cjs/tds-toast.cjs.entry.js +16 -16
  82. package/dist/cjs/tds-toggle.cjs.entry.js +17 -19
  83. package/dist/cjs/tds-tooltip.cjs.entry.js +23 -21
  84. package/dist/cjs/tegel.cjs.js +7 -8
  85. package/dist/collection/collection-manifest.json +2 -2
  86. package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
  87. package/dist/collection/components/accordion/accordion.js +12 -6
  88. package/dist/collection/components/badge/badge.js +16 -4
  89. package/dist/collection/components/banner/banner.js +39 -18
  90. package/dist/collection/components/block/block.js +11 -5
  91. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
  92. package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
  93. package/dist/collection/components/button/button.js +51 -28
  94. package/dist/collection/components/card/card.js +68 -32
  95. package/dist/collection/components/checkbox/checkbox.js +45 -29
  96. package/dist/collection/components/chip/chip.js +42 -20
  97. package/dist/collection/components/datetime/datetime.js +83 -47
  98. package/dist/collection/components/divider/divider.js +8 -2
  99. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +39 -29
  100. package/dist/collection/components/dropdown/dropdown.css +3 -1
  101. package/dist/collection/components/dropdown/dropdown.js +139 -94
  102. package/dist/collection/components/footer/footer-group/footer-group.js +15 -14
  103. package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
  104. package/dist/collection/components/footer/footer.js +9 -6
  105. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  106. package/dist/collection/components/header/header-dropdown/header-dropdown.js +24 -19
  107. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
  108. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
  109. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
  110. package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
  111. package/dist/collection/components/header/header-item/header-item.js +14 -11
  112. package/dist/collection/components/header/header-launcher/header-launcher.js +9 -13
  113. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
  114. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
  115. package/dist/collection/components/header/header-title/header-title.css +2 -0
  116. package/dist/collection/components/header/header.js +6 -8
  117. package/dist/collection/components/icon/icon.js +30 -18
  118. package/dist/collection/components/link/link.js +12 -3
  119. package/dist/collection/components/message/message.css +2 -1
  120. package/dist/collection/components/message/message.js +37 -20
  121. package/dist/collection/components/modal/modal.css +54 -10
  122. package/dist/collection/components/modal/modal.js +51 -31
  123. package/dist/collection/components/popover-canvas/popover-canvas.js +54 -23
  124. package/dist/collection/components/popover-core/popover-core.js +71 -42
  125. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
  126. package/dist/collection/components/popover-menu/popover-menu.js +51 -23
  127. package/dist/collection/components/radio-button/radio-button.js +37 -24
  128. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -6
  129. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +20 -12
  130. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  131. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -14
  132. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +18 -17
  133. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
  134. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  135. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  136. package/dist/collection/components/side-menu/side-menu.js +31 -22
  137. package/dist/collection/components/slider/slider.js +106 -62
  138. package/dist/collection/components/spinner/spinner.js +8 -2
  139. package/dist/collection/components/stepper/step/step.js +13 -14
  140. package/dist/collection/components/stepper/stepper.js +28 -6
  141. package/dist/collection/components/table/table/table.js +67 -48
  142. package/dist/collection/components/table/table-body/table-body.js +10 -15
  143. package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -18
  144. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
  145. package/dist/collection/components/table/table-body-row/table-body-row.js +22 -16
  146. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +43 -31
  147. package/dist/collection/components/table/table-footer/table-footer.js +48 -36
  148. package/dist/collection/components/table/table-header/table-header.js +37 -33
  149. package/dist/collection/components/table/table-header-cell/table-header-cell.js +57 -49
  150. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
  151. package/dist/collection/components/table/table-toolbar/table-toolbar.js +18 -11
  152. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
  153. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +32 -26
  154. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
  155. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +34 -25
  156. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
  157. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +36 -27
  158. package/dist/collection/components/tag/tag.js +12 -5
  159. package/dist/collection/components/text-field/text-field.js +93 -40
  160. package/dist/collection/components/textarea/textarea.js +74 -35
  161. package/dist/collection/components/toast/toast.js +42 -21
  162. package/dist/collection/components/toggle/toggle.js +41 -24
  163. package/dist/collection/components/tooltip/tooltip.js +58 -31
  164. package/dist/collection/utils/appendHiddenInput.js +4 -6
  165. package/dist/collection/utils/dom.js +7 -0
  166. package/dist/components/index.js +1825 -1
  167. package/dist/components/{p-415fafb3.js → p-1YnjaUCy.js} +25 -15
  168. package/dist/components/{p-6fd2b339.js → p-8koCGAVT.js} +52 -46
  169. package/dist/components/{p-ead6727f.js → p-BHBgkUfr.js} +17 -17
  170. package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
  171. package/dist/components/{p-7e02ea3e.js → p-BhQM9_yR.js} +68 -77
  172. package/dist/components/{p-e0ccf8e6.js → p-BxmFjTxG.js} +20 -22
  173. package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
  174. package/dist/components/{p-edc838a0.js → p-CPDv0bBc.js} +17 -14
  175. package/dist/components/{p-e627f11b.js → p-Ca3wGDna.js} +21 -22
  176. package/dist/components/{p-799470b1.js → p-ChCWm6If.js} +20 -18
  177. package/dist/components/{p-a64cbc40.js → p-ChGLhiqn.js} +36 -24
  178. package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
  179. package/dist/components/{p-0d286c19.js → p-D1ati-pM.js} +13 -11
  180. package/dist/components/{p-ad376f70.js → p-DZDx1Si2.js} +29 -23
  181. package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
  182. package/dist/components/{p-98d082f9.js → p-Ee9QeMgy.js} +45 -33
  183. package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
  184. package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
  185. package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  186. package/dist/components/{p-da11a695.js → p-QnvG_QPu.js} +12 -13
  187. package/dist/components/tds-accordion-item.js +15 -8
  188. package/dist/components/tds-accordion.js +11 -8
  189. package/dist/components/tds-badge.js +11 -6
  190. package/dist/components/tds-banner.js +24 -16
  191. package/dist/components/tds-block.js +10 -7
  192. package/dist/components/tds-body-cell.js +12 -15
  193. package/dist/components/tds-breadcrumb.js +8 -6
  194. package/dist/components/tds-breadcrumbs.js +7 -7
  195. package/dist/components/tds-button.js +1 -1
  196. package/dist/components/tds-card.js +38 -25
  197. package/dist/components/tds-checkbox.js +1 -1
  198. package/dist/components/tds-chip.js +23 -16
  199. package/dist/components/tds-core-header-item.js +1 -1
  200. package/dist/components/tds-datetime.js +38 -33
  201. package/dist/components/tds-divider.js +1 -1
  202. package/dist/components/tds-dropdown-option.js +1 -1
  203. package/dist/components/tds-dropdown.js +1 -1
  204. package/dist/components/tds-folder-tab.js +8 -7
  205. package/dist/components/tds-folder-tabs.js +22 -25
  206. package/dist/components/tds-footer-group.js +16 -18
  207. package/dist/components/tds-footer-item.js +9 -12
  208. package/dist/components/tds-footer.js +12 -10
  209. package/dist/components/tds-header-brand-symbol.js +11 -10
  210. package/dist/components/tds-header-cell.js +29 -34
  211. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  212. package/dist/components/tds-header-dropdown-list-user.js +7 -10
  213. package/dist/components/tds-header-dropdown-list.js +1 -1
  214. package/dist/components/tds-header-dropdown.js +23 -25
  215. package/dist/components/tds-header-hamburger.js +11 -11
  216. package/dist/components/tds-header-item.js +1 -1
  217. package/dist/components/tds-header-launcher-button.js +1 -1
  218. package/dist/components/tds-header-launcher-grid-item.js +7 -6
  219. package/dist/components/tds-header-launcher-grid-title.js +8 -7
  220. package/dist/components/tds-header-launcher-grid.js +8 -8
  221. package/dist/components/tds-header-launcher-list-item.js +8 -7
  222. package/dist/components/tds-header-launcher-list-title.js +8 -7
  223. package/dist/components/tds-header-launcher-list.js +8 -6
  224. package/dist/components/tds-header-launcher.js +20 -25
  225. package/dist/components/tds-header-title.js +8 -7
  226. package/dist/components/tds-header.js +14 -15
  227. package/dist/components/tds-icon.js +1 -1
  228. package/dist/components/tds-inline-tab.js +8 -6
  229. package/dist/components/tds-inline-tabs.js +23 -25
  230. package/dist/components/tds-link.js +10 -6
  231. package/dist/components/tds-message.js +22 -18
  232. package/dist/components/tds-modal.js +29 -26
  233. package/dist/components/tds-navigation-tab.js +8 -6
  234. package/dist/components/tds-navigation-tabs.js +25 -27
  235. package/dist/components/tds-popover-canvas.js +1 -1
  236. package/dist/components/tds-popover-core.js +1 -1
  237. package/dist/components/tds-popover-menu-item.js +8 -6
  238. package/dist/components/tds-popover-menu.js +24 -15
  239. package/dist/components/tds-radio-button.js +17 -19
  240. package/dist/components/tds-side-menu-close-button.js +9 -8
  241. package/dist/components/tds-side-menu-collapse-button.js +13 -13
  242. package/dist/components/tds-side-menu-dropdown-list-item.js +17 -19
  243. package/dist/components/tds-side-menu-dropdown-list.js +10 -9
  244. package/dist/components/tds-side-menu-dropdown.js +16 -15
  245. package/dist/components/tds-side-menu-item.js +1 -1
  246. package/dist/components/tds-side-menu-overlay.js +7 -6
  247. package/dist/components/tds-side-menu-user-image.js +1 -1
  248. package/dist/components/tds-side-menu-user-label.js +1 -1
  249. package/dist/components/tds-side-menu-user.js +9 -12
  250. package/dist/components/tds-side-menu.js +29 -25
  251. package/dist/components/tds-slider.js +64 -55
  252. package/dist/components/tds-spinner.js +9 -6
  253. package/dist/components/tds-step.js +10 -16
  254. package/dist/components/tds-stepper.js +18 -7
  255. package/dist/components/tds-table-body-input-wrapper.js +10 -8
  256. package/dist/components/tds-table-body-row-expandable.js +26 -25
  257. package/dist/components/tds-table-body-row.js +16 -15
  258. package/dist/components/tds-table-body.js +17 -21
  259. package/dist/components/tds-table-footer.js +37 -36
  260. package/dist/components/tds-table-header-input-wrapper.js +10 -8
  261. package/dist/components/tds-table-header.js +29 -32
  262. package/dist/components/tds-table-toolbar.js +15 -13
  263. package/dist/components/tds-table.js +38 -22
  264. package/dist/components/tds-tag.js +10 -8
  265. package/dist/components/tds-text-field.js +1 -1
  266. package/dist/components/tds-textarea.js +28 -22
  267. package/dist/components/tds-toast.js +22 -18
  268. package/dist/components/tds-toggle.js +22 -20
  269. package/dist/components/tds-tooltip.js +1 -1
  270. package/dist/esm/index-BqRtRha-.js +2385 -0
  271. package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
  272. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  273. package/dist/esm/loader.js +3 -4
  274. package/dist/esm/tds-accordion-item.entry.js +9 -4
  275. package/dist/esm/tds-accordion.entry.js +6 -5
  276. package/dist/esm/tds-badge.entry.js +6 -3
  277. package/dist/esm/tds-banner.entry.js +18 -12
  278. package/dist/esm/tds-block.entry.js +5 -4
  279. package/dist/esm/tds-body-cell.entry.js +6 -11
  280. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  281. package/dist/esm/tds-breadcrumbs.entry.js +2 -4
  282. package/dist/esm/tds-button_2.entry.js +18 -17
  283. package/dist/esm/tds-card.entry.js +30 -19
  284. package/dist/esm/tds-checkbox.entry.js +16 -19
  285. package/dist/esm/tds-chip.entry.js +18 -13
  286. package/dist/esm/tds-core-header-item_2.entry.js +12 -15
  287. package/dist/esm/tds-datetime.entry.js +32 -29
  288. package/dist/esm/tds-dropdown_2.entry.js +97 -98
  289. package/dist/esm/tds-folder-tab.entry.js +3 -4
  290. package/dist/esm/tds-folder-tabs.entry.js +16 -21
  291. package/dist/esm/tds-footer-group.entry.js +10 -14
  292. package/dist/esm/tds-footer-item.entry.js +4 -9
  293. package/dist/esm/tds-footer.entry.js +7 -7
  294. package/dist/esm/tds-header-brand-symbol.entry.js +4 -5
  295. package/dist/esm/tds-header-cell.entry.js +23 -30
  296. package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
  297. package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
  298. package/dist/esm/tds-header-dropdown-list.entry.js +8 -11
  299. package/dist/esm/tds-header-dropdown.entry.js +13 -17
  300. package/dist/esm/tds-header-hamburger.entry.js +4 -6
  301. package/dist/esm/tds-header-launcher-button.entry.js +6 -6
  302. package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
  303. package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
  304. package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
  305. package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
  306. package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
  307. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  308. package/dist/esm/tds-header-launcher.entry.js +10 -17
  309. package/dist/esm/tds-header-title.entry.js +3 -4
  310. package/dist/esm/tds-header.entry.js +10 -13
  311. package/dist/esm/tds-icon.entry.js +12 -11
  312. package/dist/esm/tds-inline-tab.entry.js +3 -3
  313. package/dist/esm/tds-inline-tabs.entry.js +17 -21
  314. package/dist/esm/tds-link.entry.js +5 -3
  315. package/dist/esm/tds-message.entry.js +16 -14
  316. package/dist/esm/tds-modal.entry.js +23 -22
  317. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  318. package/dist/esm/tds-navigation-tabs.entry.js +19 -23
  319. package/dist/esm/tds-popover-canvas.entry.js +19 -11
  320. package/dist/esm/tds-popover-core.entry.js +47 -43
  321. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  322. package/dist/esm/tds-popover-menu.entry.js +18 -11
  323. package/dist/esm/tds-radio-button.entry.js +12 -16
  324. package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
  325. package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -9
  326. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +12 -16
  327. package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -6
  328. package/dist/esm/tds-side-menu-dropdown.entry.js +9 -10
  329. package/dist/esm/tds-side-menu-item.entry.js +15 -19
  330. package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
  331. package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
  332. package/dist/esm/tds-side-menu-user.entry.js +2 -7
  333. package/dist/esm/tds-side-menu.entry.js +24 -22
  334. package/dist/esm/tds-slider.entry.js +55 -48
  335. package/dist/esm/tds-spinner.entry.js +4 -3
  336. package/dist/esm/tds-step.entry.js +4 -12
  337. package/dist/esm/tds-stepper.entry.js +13 -4
  338. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  339. package/dist/esm/tds-table-body-row-expandable.entry.js +21 -22
  340. package/dist/esm/tds-table-body-row.entry.js +10 -11
  341. package/dist/esm/tds-table-body.entry.js +12 -18
  342. package/dist/esm/tds-table-footer.entry.js +28 -29
  343. package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
  344. package/dist/esm/tds-table-header.entry.js +23 -28
  345. package/dist/esm/tds-table-toolbar.entry.js +9 -9
  346. package/dist/esm/tds-table.entry.js +33 -19
  347. package/dist/esm/tds-tag.entry.js +5 -5
  348. package/dist/esm/tds-text-field.entry.js +28 -18
  349. package/dist/esm/tds-textarea.entry.js +20 -16
  350. package/dist/esm/tds-toast.entry.js +16 -14
  351. package/dist/esm/tds-toggle.entry.js +17 -17
  352. package/dist/esm/tds-tooltip.entry.js +23 -19
  353. package/dist/esm/tegel.js +5 -5
  354. package/dist/tegel/p-03ff8648.entry.js +1 -0
  355. package/dist/tegel/p-08ef673e.entry.js +1 -0
  356. package/dist/tegel/{p-da38aa9a.entry.js → p-0cd740b9.entry.js} +1 -1
  357. package/dist/tegel/{p-87219f00.entry.js → p-15c69748.entry.js} +1 -1
  358. package/dist/tegel/p-192332e7.entry.js +1 -0
  359. package/dist/tegel/p-206d4703.entry.js +1 -0
  360. package/dist/tegel/{p-b734b309.entry.js → p-20b5c366.entry.js} +1 -1
  361. package/dist/tegel/{p-2faeb483.entry.js → p-299e0e56.entry.js} +1 -1
  362. package/dist/tegel/p-2a1342d8.entry.js +1 -0
  363. package/dist/tegel/p-312c49f8.entry.js +1 -0
  364. package/dist/tegel/p-342052b9.entry.js +1 -0
  365. package/dist/tegel/p-348f3bad.entry.js +1 -0
  366. package/dist/tegel/p-3806a0e4.entry.js +1 -0
  367. package/dist/tegel/{p-771f53c2.entry.js → p-3a5588b2.entry.js} +1 -1
  368. package/dist/tegel/p-3ba30c59.entry.js +1 -0
  369. package/dist/tegel/p-3bd99720.entry.js +1 -0
  370. package/dist/tegel/p-3de8e52b.entry.js +1 -0
  371. package/dist/tegel/p-41084e54.entry.js +1 -0
  372. package/dist/tegel/p-41242d2e.entry.js +1 -0
  373. package/dist/tegel/p-43f6c149.entry.js +1 -0
  374. package/dist/tegel/p-4489b7d5.entry.js +1 -0
  375. package/dist/tegel/p-503abc18.entry.js +1 -0
  376. package/dist/tegel/{p-4b5e15cc.entry.js → p-5bea354f.entry.js} +1 -1
  377. package/dist/tegel/{p-646d1df4.entry.js → p-60cbdc0a.entry.js} +1 -1
  378. package/dist/tegel/p-6253f1d8.entry.js +1 -0
  379. package/dist/tegel/p-6301a8b5.entry.js +1 -0
  380. package/dist/tegel/{p-c163d44f.entry.js → p-648df3a1.entry.js} +1 -1
  381. package/dist/tegel/p-65d43cfd.entry.js +1 -0
  382. package/dist/tegel/p-6d4e71fd.entry.js +1 -0
  383. package/dist/tegel/p-73167867.entry.js +1 -0
  384. package/dist/tegel/p-73c9a5b3.entry.js +1 -0
  385. package/dist/tegel/{p-ceed0476.entry.js → p-7cec9df0.entry.js} +1 -1
  386. package/dist/tegel/p-7ef6db3c.entry.js +1 -0
  387. package/dist/tegel/p-83a3ca55.entry.js +1 -0
  388. package/dist/tegel/p-88d3bbbd.entry.js +1 -0
  389. package/dist/tegel/p-8a5df42a.entry.js +1 -0
  390. package/dist/tegel/p-8f1bbe70.entry.js +1 -0
  391. package/dist/tegel/p-9296f0d1.entry.js +1 -0
  392. package/dist/tegel/p-954e6cf0.entry.js +1 -0
  393. package/dist/tegel/{p-655051b6.entry.js → p-996f0ac5.entry.js} +1 -1
  394. package/dist/tegel/p-9fed9d16.entry.js +1 -0
  395. package/dist/tegel/p-BqRtRha-.js +2 -0
  396. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  397. package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  398. package/dist/tegel/p-a13ecd87.entry.js +1 -0
  399. package/dist/tegel/p-a53cb562.entry.js +1 -0
  400. package/dist/tegel/{p-3c348fcb.entry.js → p-a74d375a.entry.js} +1 -1
  401. package/dist/tegel/p-a8d29ac5.entry.js +1 -0
  402. package/dist/tegel/p-abe630f5.entry.js +1 -0
  403. package/dist/tegel/p-b2934101.entry.js +1 -0
  404. package/dist/tegel/p-b2d9244a.entry.js +1 -0
  405. package/dist/tegel/{p-2766b46f.entry.js → p-b5deab8e.entry.js} +1 -1
  406. package/dist/tegel/p-b901a7e3.entry.js +1 -0
  407. package/dist/tegel/{p-133351b5.entry.js → p-b9cb2eef.entry.js} +1 -1
  408. package/dist/tegel/{p-c2e514b4.entry.js → p-bc4d68b0.entry.js} +1 -1
  409. package/dist/tegel/p-bee62505.entry.js +1 -0
  410. package/dist/tegel/p-c2ae97bb.entry.js +1 -0
  411. package/dist/tegel/p-c2b3bd3c.entry.js +1 -0
  412. package/dist/tegel/{p-88bb1059.entry.js → p-c7c4f528.entry.js} +1 -1
  413. package/dist/tegel/{p-c5694dd6.entry.js → p-d03f33c0.entry.js} +1 -1
  414. package/dist/tegel/p-d0c0c8f3.entry.js +1 -0
  415. package/dist/tegel/p-d1f9c4fd.entry.js +1 -0
  416. package/dist/tegel/p-d28462be.entry.js +1 -0
  417. package/dist/tegel/p-d2b7c692.entry.js +1 -0
  418. package/dist/tegel/p-d4412e32.entry.js +1 -0
  419. package/dist/tegel/{p-27369d6a.entry.js → p-d659aefa.entry.js} +1 -1
  420. package/dist/tegel/p-d67ff384.entry.js +1 -0
  421. package/dist/tegel/p-d8a35537.entry.js +1 -0
  422. package/dist/tegel/p-dcd132d5.entry.js +1 -0
  423. package/dist/tegel/{p-fe4335ca.entry.js → p-de9f2a0d.entry.js} +1 -1
  424. package/dist/tegel/p-dec2ede0.entry.js +1 -0
  425. package/dist/tegel/p-e1daba90.entry.js +1 -0
  426. package/dist/tegel/p-e5166678.entry.js +1 -0
  427. package/dist/tegel/p-e643c9b3.entry.js +1 -0
  428. package/dist/tegel/{p-8a4837ae.entry.js → p-e777d558.entry.js} +1 -1
  429. package/dist/tegel/p-f0c912af.entry.js +1 -0
  430. package/dist/tegel/p-f3da2bf5.entry.js +1 -0
  431. package/dist/tegel/p-f46be246.entry.js +1 -0
  432. package/dist/tegel/p-f5a7d350.entry.js +1 -0
  433. package/dist/tegel/p-fa8a4f27.entry.js +1 -0
  434. package/dist/tegel/{p-b9afb39e.entry.js → p-fb59d675.entry.js} +1 -1
  435. package/dist/tegel/p-ff6da1f1.entry.js +1 -0
  436. package/dist/tegel/tegel.css +3 -3
  437. package/dist/tegel/tegel.esm.js +1 -1
  438. package/dist/types/components/accordion/accordion.d.ts +1 -1
  439. package/dist/types/components/block/block.d.ts +1 -1
  440. package/dist/types/components/button/button.d.ts +1 -1
  441. package/dist/types/components/card/card.d.ts +1 -1
  442. package/dist/types/components/datetime/datetime.d.ts +2 -2
  443. package/dist/types/components/dropdown/dropdown.d.ts +9 -5
  444. package/dist/types/components/footer/footer.d.ts +1 -1
  445. package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
  446. package/dist/types/components/icon/icon.d.ts +1 -1
  447. package/dist/types/components/message/message.d.ts +1 -1
  448. package/dist/types/components/modal/modal.d.ts +1 -1
  449. package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -3
  450. package/dist/types/components/popover-core/popover-core.d.ts +2 -2
  451. package/dist/types/components/popover-menu/popover-menu.d.ts +3 -3
  452. package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
  453. package/dist/types/components/table/table/table.d.ts +3 -6
  454. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  455. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -8
  456. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +2 -2
  457. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  458. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
  459. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
  460. package/dist/types/components/table/table-header/table-header.d.ts +5 -5
  461. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
  462. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  463. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  464. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
  465. package/dist/types/components/text-field/text-field.d.ts +1 -1
  466. package/dist/types/components/textarea/textarea.d.ts +2 -2
  467. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  468. package/dist/types/components.d.ts +624 -77
  469. package/dist/types/stencil-public-runtime.d.ts +86 -4
  470. package/dist/types/types/Attributes.d.ts +1 -1
  471. package/dist/types/utils/dom.d.ts +2 -0
  472. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  473. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  474. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  475. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  476. package/package.json +2 -2
  477. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  478. package/dist/cjs/index-ca8040ad.js +0 -2039
  479. package/dist/components/p-28ef5186.js +0 -1507
  480. package/dist/esm/app-globals-0f993ce5.js +0 -3
  481. package/dist/esm/index-51d04e39.js +0 -2009
  482. package/dist/tegel/p-08c16b2f.entry.js +0 -1
  483. package/dist/tegel/p-0b37e91a.entry.js +0 -1
  484. package/dist/tegel/p-177386d5.entry.js +0 -1
  485. package/dist/tegel/p-1b471db7.entry.js +0 -1
  486. package/dist/tegel/p-1e1a87c1.entry.js +0 -1
  487. package/dist/tegel/p-2049fab2.js +0 -2
  488. package/dist/tegel/p-2268af7f.entry.js +0 -1
  489. package/dist/tegel/p-252a7d3f.entry.js +0 -1
  490. package/dist/tegel/p-25473962.entry.js +0 -1
  491. package/dist/tegel/p-27d39882.entry.js +0 -1
  492. package/dist/tegel/p-304f5a5c.entry.js +0 -1
  493. package/dist/tegel/p-3ef04672.entry.js +0 -1
  494. package/dist/tegel/p-40d99d7d.entry.js +0 -1
  495. package/dist/tegel/p-40fa0f5b.entry.js +0 -1
  496. package/dist/tegel/p-48a3e489.entry.js +0 -1
  497. package/dist/tegel/p-4de2807c.entry.js +0 -1
  498. package/dist/tegel/p-4e15f31d.entry.js +0 -1
  499. package/dist/tegel/p-57c08d0d.entry.js +0 -1
  500. package/dist/tegel/p-58ac68f3.entry.js +0 -1
  501. package/dist/tegel/p-5c8fd75e.entry.js +0 -1
  502. package/dist/tegel/p-6a472310.entry.js +0 -1
  503. package/dist/tegel/p-7104b955.entry.js +0 -1
  504. package/dist/tegel/p-781b2939.entry.js +0 -1
  505. package/dist/tegel/p-894e7e11.entry.js +0 -1
  506. package/dist/tegel/p-942f8c6f.entry.js +0 -1
  507. package/dist/tegel/p-98eff725.entry.js +0 -1
  508. package/dist/tegel/p-9b06bd5f.entry.js +0 -1
  509. package/dist/tegel/p-9c56b031.entry.js +0 -1
  510. package/dist/tegel/p-a20a54ef.entry.js +0 -1
  511. package/dist/tegel/p-a2b2092a.entry.js +0 -1
  512. package/dist/tegel/p-a334b517.entry.js +0 -1
  513. package/dist/tegel/p-a4e4c450.entry.js +0 -1
  514. package/dist/tegel/p-a60ed3de.entry.js +0 -1
  515. package/dist/tegel/p-a6dca188.entry.js +0 -1
  516. package/dist/tegel/p-a912035b.entry.js +0 -1
  517. package/dist/tegel/p-ab00e6e4.entry.js +0 -1
  518. package/dist/tegel/p-b218db70.entry.js +0 -1
  519. package/dist/tegel/p-b3b13975.entry.js +0 -1
  520. package/dist/tegel/p-b7abb81f.entry.js +0 -1
  521. package/dist/tegel/p-bb8c2a36.entry.js +0 -1
  522. package/dist/tegel/p-bcd5e06d.entry.js +0 -1
  523. package/dist/tegel/p-bee9e9d1.entry.js +0 -1
  524. package/dist/tegel/p-c23a3f12.entry.js +0 -1
  525. package/dist/tegel/p-ca068263.entry.js +0 -1
  526. package/dist/tegel/p-ca16f1ed.entry.js +0 -1
  527. package/dist/tegel/p-ca32a270.entry.js +0 -1
  528. package/dist/tegel/p-cc962b6c.entry.js +0 -1
  529. package/dist/tegel/p-d501a665.entry.js +0 -1
  530. package/dist/tegel/p-dda1ac69.entry.js +0 -1
  531. package/dist/tegel/p-e0dc09f9.entry.js +0 -1
  532. package/dist/tegel/p-e1255160.js +0 -1
  533. package/dist/tegel/p-e29fa563.entry.js +0 -1
  534. package/dist/tegel/p-e6e9d11f.entry.js +0 -1
  535. package/dist/tegel/p-e8b58680.entry.js +0 -1
  536. package/dist/tegel/p-ed66ef30.entry.js +0 -1
  537. package/dist/tegel/p-f5ca4fbf.entry.js +0 -1
  538. package/dist/tegel/p-f602b3a1.entry.js +0 -1
  539. package/dist/tegel/p-f8a37d39.entry.js +0 -1
  540. package/dist/tegel/p-f922308f.entry.js +0 -1
  541. package/dist/tegel/p-fb300776.entry.js +0 -1
  542. package/dist/tegel/p-fd22d1ca.entry.js +0 -1
  543. package/loader/package.json +0 -11
  544. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  545. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  546. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  547. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  548. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  549. /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
  550. /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  551. /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  552. /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  553. /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  554. /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
  555. /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
  556. /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
  557. /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
  558. /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
  559. /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
  560. /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  561. /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  562. /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  563. /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  564. /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
@@ -21,16 +21,19 @@ export namespace Components {
21
21
  interface TdsAccordion {
22
22
  /**
23
23
  * Removes the bottom border of the last Accordion item.
24
+ * @default false
24
25
  */
25
26
  "hideLastBorder": boolean;
26
27
  /**
27
28
  * Set the variant of the Accordion.
29
+ * @default null
28
30
  */
29
- "modeVariant": 'primary' | 'secondary' | null;
31
+ "modeVariant": 'primary' | 'secondary';
30
32
  }
31
33
  interface TdsAccordionItem {
32
34
  /**
33
35
  * Specifies the heading level (aria-level) for accessibility. Only accepts values between 1 and 6.
36
+ * @default '6'
34
37
  */
35
38
  "ariaLevelValue": '1' | '2' | '3' | '4' | '5' | '6';
36
39
  /**
@@ -39,6 +42,7 @@ export namespace Components {
39
42
  "collapse": () => Promise<void>;
40
43
  /**
41
44
  * Disabled option in `boolean`.
45
+ * @default false
42
46
  */
43
47
  "disabled": boolean;
44
48
  /**
@@ -47,14 +51,17 @@ export namespace Components {
47
51
  "expand": () => Promise<void>;
48
52
  /**
49
53
  * Changes position of the expand icon.
54
+ * @default 'end'
50
55
  */
51
56
  "expandIconPosition": 'start' | 'end';
52
57
  /**
53
58
  * Set to true to expand panel open
59
+ * @default false
54
60
  */
55
61
  "expanded": boolean;
56
62
  /**
57
63
  * The header gives users the context about the additional information available inside the panel
64
+ * @default ''
58
65
  */
59
66
  "header": string;
60
67
  /**
@@ -63,6 +70,7 @@ export namespace Components {
63
70
  "isExpanded": () => Promise<boolean>;
64
71
  /**
65
72
  * When true, 16px on right padding instead of 64px
73
+ * @default false
66
74
  */
67
75
  "paddingReset": boolean;
68
76
  /**
@@ -73,24 +81,29 @@ export namespace Components {
73
81
  interface TdsBadge {
74
82
  /**
75
83
  * Changes visibility of Badge
84
+ * @default false
76
85
  */
77
86
  "hidden": boolean;
78
87
  /**
79
88
  * Sets component size.
89
+ * @default 'lg'
80
90
  */
81
91
  "size": 'lg' | 'sm';
82
92
  /**
83
93
  * Defines aria-live attribute
94
+ * @default 'polite'
84
95
  */
85
96
  "tdsAriaLive": 'off' | 'polite' | 'assertive';
86
97
  /**
87
98
  * Value shown in Badge
99
+ * @default ''
88
100
  */
89
101
  "value": string;
90
102
  }
91
103
  interface TdsBanner {
92
104
  /**
93
105
  * ID used for internal table functionality and events, must be unique. **NOTE**: If you're listening for Banner close events, you need to set this ID yourself to identify the Banner, as the default ID is random and will be different every time.
106
+ * @default generateUniqueId()
94
107
  */
95
108
  "bannerId": string;
96
109
  /**
@@ -99,6 +112,7 @@ export namespace Components {
99
112
  "header": string;
100
113
  /**
101
114
  * Hides the Banner
115
+ * @default false
102
116
  */
103
117
  "hidden": boolean;
104
118
  /**
@@ -111,6 +125,7 @@ export namespace Components {
111
125
  "icon": IconNames;
112
126
  /**
113
127
  * Defines the ARIA role of the banner. Defaults to "banner" for global use, but can be set to "region" or "alert" if used differently.
128
+ * @default 'banner'
114
129
  */
115
130
  "roleType": 'banner' | 'region' | 'alert';
116
131
  /**
@@ -123,6 +138,7 @@ export namespace Components {
123
138
  "subheader": string;
124
139
  /**
125
140
  * Variant of Banner
141
+ * @default 'default'
126
142
  */
127
143
  "variant": 'error' | 'information' | 'default';
128
144
  }
@@ -134,6 +150,7 @@ export namespace Components {
134
150
  interface TdsBlock {
135
151
  /**
136
152
  * Specifies the HTML tag to be used for the component wrapper.
153
+ * @default 'div'
137
154
  */
138
155
  "componentTag": | 'section'
139
156
  | 'div'
@@ -145,20 +162,22 @@ export namespace Components {
145
162
  | 'main';
146
163
  /**
147
164
  * Mode variant of the component, based on current mode.
165
+ * @default null
148
166
  */
149
- "modeVariant": 'primary' | 'secondary' | null;
167
+ "modeVariant": 'primary' | 'secondary';
150
168
  }
151
169
  interface TdsBodyCell {
152
170
  /**
153
171
  * Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
154
172
  */
155
- "cellKey": string;
173
+ "cellKey": any;
156
174
  /**
157
175
  * Value that will be presented as text inside a cell
158
176
  */
159
177
  "cellValue": string | number;
160
178
  /**
161
179
  * Disables internal padding. Useful when passing other components to cell.
180
+ * @default false
162
181
  */
163
182
  "disablePadding": boolean;
164
183
  /**
@@ -169,6 +188,7 @@ export namespace Components {
169
188
  interface TdsBreadcrumb {
170
189
  /**
171
190
  * Boolean for the current link
191
+ * @default false
172
192
  */
173
193
  "current": boolean;
174
194
  }
@@ -181,26 +201,31 @@ export namespace Components {
181
201
  interface TdsButton {
182
202
  /**
183
203
  * Determines if and how the button should animate.
204
+ * @default 'none'
184
205
  */
185
206
  "animation": 'none' | 'fade';
186
207
  /**
187
208
  * Control for disabled state of a component
209
+ * @default false
188
210
  */
189
211
  "disabled": boolean;
190
212
  /**
191
213
  * When enabled, the Button takes 100% width
214
+ * @default false
192
215
  */
193
216
  "fullbleed": boolean;
194
217
  /**
195
218
  * Set the mode variant of the Button.
219
+ * @default null
196
220
  */
197
- "modeVariant": 'primary' | 'secondary' | null;
221
+ "modeVariant": 'primary' | 'secondary';
198
222
  /**
199
223
  * The name attribute allows for different ways of accessing the button element
200
224
  */
201
225
  "name": string;
202
226
  /**
203
227
  * Size of a Button
228
+ * @default 'lg'
204
229
  */
205
230
  "size": 'xs' | 'sm' | 'md' | 'lg';
206
231
  /**
@@ -213,6 +238,7 @@ export namespace Components {
213
238
  "text": string;
214
239
  /**
215
240
  * Button's type
241
+ * @default 'button'
216
242
  */
217
243
  "type": 'button' | 'submit' | 'reset';
218
244
  /**
@@ -221,12 +247,14 @@ export namespace Components {
221
247
  "value": string;
222
248
  /**
223
249
  * Variation of Button's design
250
+ * @default 'primary'
224
251
  */
225
252
  "variant": 'primary' | 'secondary' | 'ghost' | 'danger';
226
253
  }
227
254
  interface TdsCard {
228
255
  /**
229
256
  * Divider for the body
257
+ * @default false
230
258
  */
231
259
  "bodyDivider": boolean;
232
260
  /**
@@ -239,18 +267,22 @@ export namespace Components {
239
267
  "bodyImgAlt": string;
240
268
  /**
241
269
  * ID for the Card, must be unique. **NOTE**: If you're listening for Card events, you need to set this ID yourself to identify the Card, as the default ID is random and will be different every time.
270
+ * @default generateUniqueId()
242
271
  */
243
272
  "cardId": string;
244
273
  /**
245
274
  * Makes the Card clickable.
275
+ * @default false
246
276
  */
247
277
  "clickable": boolean;
248
278
  /**
249
279
  * Enables expandable behaviour. When true, clicking the header toggles content visibility.
280
+ * @default false
250
281
  */
251
282
  "expandable": boolean;
252
283
  /**
253
284
  * Tracks the current expanded state when expandable is enabled.
285
+ * @default false
254
286
  */
255
287
  "expanded": boolean;
256
288
  /**
@@ -259,12 +291,17 @@ export namespace Components {
259
291
  "header": string;
260
292
  /**
261
293
  * Placement of the header
294
+ * @default 'below-header'
262
295
  */
263
296
  "imagePlacement": 'above-header' | 'below-header';
264
297
  /**
265
298
  * Variant of the Card based on the theme used.
299
+ * @default null
300
+ */
301
+ "modeVariant": 'primary' | 'secondary';
302
+ /**
303
+ * @default false
266
304
  */
267
- "modeVariant": 'primary' | 'secondary' | null;
268
305
  "stretch": boolean;
269
306
  /**
270
307
  * Subheader text in the header
@@ -274,14 +311,17 @@ export namespace Components {
274
311
  interface TdsCheckbox {
275
312
  /**
276
313
  * ID for the Checkbox's input element. Randomly generated if not specified.
314
+ * @default generateUniqueId()
277
315
  */
278
316
  "checkboxId": string;
279
317
  /**
280
318
  * Sets the Checkbox as checked
319
+ * @default false
281
320
  */
282
321
  "checked": boolean;
283
322
  /**
284
323
  * Sets the Checkbox in a disabled state
324
+ * @default false
285
325
  */
286
326
  "disabled": boolean;
287
327
  /**
@@ -290,6 +330,7 @@ export namespace Components {
290
330
  "focusElement": () => Promise<void>;
291
331
  /**
292
332
  * Sets the Checkbox as indeterminate
333
+ * @default false
293
334
  */
294
335
  "indeterminate": boolean;
295
336
  /**
@@ -298,6 +339,7 @@ export namespace Components {
298
339
  "name": string;
299
340
  /**
300
341
  * Make the Checkbox required
342
+ * @default false
301
343
  */
302
344
  "required": boolean;
303
345
  /**
@@ -320,14 +362,17 @@ export namespace Components {
320
362
  interface TdsChip {
321
363
  /**
322
364
  * Controls component's checked attribute. Valid only for type checkbox and radio.
365
+ * @default false
323
366
  */
324
367
  "checked": boolean;
325
368
  /**
326
369
  * ID used for internal Chip functionality and events, must be unique. **NOTE**: If you're listening for input events, you need to set this ID yourself to identify the input, as the default ID is random and will be different every time.
370
+ * @default generateUniqueId()
327
371
  */
328
372
  "chipId": string;
329
373
  /**
330
374
  * Sets the Chip in a disabled state
375
+ * @default false
331
376
  */
332
377
  "disabled": boolean;
333
378
  /**
@@ -336,6 +381,7 @@ export namespace Components {
336
381
  "name": string;
337
382
  /**
338
383
  * Size of the Chip component
384
+ * @default 'lg'
339
385
  */
340
386
  "size": 'sm' | 'lg';
341
387
  /**
@@ -344,6 +390,7 @@ export namespace Components {
344
390
  "tdsAriaLabel": string;
345
391
  /**
346
392
  * Type of Chip, depends on usage
393
+ * @default 'button'
347
394
  */
348
395
  "type": 'button' | 'radio' | 'checkbox';
349
396
  /**
@@ -356,14 +403,17 @@ export namespace Components {
356
403
  interface TdsDatetime {
357
404
  /**
358
405
  * Autofocus for input
406
+ * @default false
359
407
  */
360
408
  "autofocus": boolean;
361
409
  /**
362
410
  * Default value of the component. Format for time: HH-MM. Format for date: YY-MM-DD. Format for month: YY-MM. Format for week: YY-Www Format for date-time: YY-MM-DDTHH-MM
411
+ * @default 'none'
363
412
  */
364
413
  "defaultValue": string | 'none';
365
414
  /**
366
415
  * Set input in disabled state
416
+ * @default false
367
417
  */
368
418
  "disabled": boolean;
369
419
  /**
@@ -372,14 +422,17 @@ export namespace Components {
372
422
  "focusElement": () => Promise<void>;
373
423
  /**
374
424
  * Helper text for the component
425
+ * @default ''
375
426
  */
376
427
  "helper": string;
377
428
  /**
378
429
  * Label text for the component
430
+ * @default ''
379
431
  */
380
432
  "label": string;
381
433
  /**
382
434
  * Position of the label
435
+ * @default 'no-label'
383
436
  */
384
437
  "labelPosition": 'inside' | 'outside' | 'no-label';
385
438
  /**
@@ -392,14 +445,17 @@ export namespace Components {
392
445
  "min": string;
393
446
  /**
394
447
  * Set the variant of the Datetime component.
448
+ * @default null
395
449
  */
396
- "modeVariant": 'primary' | 'secondary' | null;
450
+ "modeVariant": 'primary' | 'secondary';
397
451
  /**
398
452
  * Name property. Uses a unique ID as fallback if not specified.
453
+ * @default `datetime-${generateUniqueId()}`
399
454
  */
400
455
  "name": string;
401
456
  /**
402
457
  * Resets min width rule
458
+ * @default false
403
459
  */
404
460
  "noMinWidth": boolean;
405
461
  /**
@@ -412,6 +468,7 @@ export namespace Components {
412
468
  "setValue": (newValue: string) => Promise<void>;
413
469
  /**
414
470
  * Size of the input
471
+ * @default 'lg'
415
472
  */
416
473
  "size": 'sm' | 'md' | 'lg';
417
474
  /**
@@ -424,24 +481,31 @@ export namespace Components {
424
481
  "tdsAriaLabel": string;
425
482
  /**
426
483
  * Sets an input type
484
+ * @default 'datetime-local'
427
485
  */
428
486
  "type": 'datetime-local' | 'date' | 'month' | 'week' | 'time';
429
487
  /**
430
488
  * Value of the input text
489
+ * @default ''
431
490
  */
432
491
  "value": string;
433
492
  }
434
493
  interface TdsDivider {
435
494
  /**
436
495
  * Orientation of the Divider, horizontal if not specified.
496
+ * @default 'horizontal'
437
497
  */
438
498
  "orientation": 'horizontal' | 'vertical';
439
499
  /**
440
500
  * Variant of the Divider, subtle if not specified.
501
+ * @default 'subtle'
441
502
  */
442
503
  "variant": 'discrete' | 'subtle' | 'soft' | 'defined' | 'dark-blue';
443
504
  }
444
505
  interface TdsDropdown {
506
+ /**
507
+ * @default 'slide'
508
+ */
445
509
  "animation": 'none' | 'slide';
446
510
  "appendValue": (value: string) => Promise<void>;
447
511
  /**
@@ -454,14 +518,17 @@ export namespace Components {
454
518
  "defaultValue": string | number;
455
519
  /**
456
520
  * Sets the Dropdown in a disabled state
521
+ * @default false
457
522
  */
458
523
  "disabled": boolean;
459
524
  /**
460
525
  * Sets the Dropdown in an error state
526
+ * @default false
461
527
  */
462
528
  "error": boolean;
463
529
  /**
464
530
  * Enables filtration in the Dropdown.
531
+ * @default false
465
532
  */
466
533
  "filter": boolean;
467
534
  /**
@@ -482,10 +549,12 @@ export namespace Components {
482
549
  "labelPosition": 'inside' | 'outside';
483
550
  /**
484
551
  * Mode variant of the component, based on current mode.
552
+ * @default null
485
553
  */
486
- "modeVariant": 'primary' | 'secondary' | null;
554
+ "modeVariant": 'primary' | 'secondary';
487
555
  /**
488
556
  * Enables multiselect in the Dropdown.
557
+ * @default false
489
558
  */
490
559
  "multiselect": boolean;
491
560
  /**
@@ -494,14 +563,17 @@ export namespace Components {
494
563
  "name": string;
495
564
  /**
496
565
  * Text that is displayed if filter is used and there are no options that matches the search. Setting it to an empty string disables message from showing up.
566
+ * @default 'No result'
497
567
  */
498
568
  "noResultText"?: string;
499
569
  /**
500
570
  * Normalizes input text for fuzzier search
571
+ * @default true
501
572
  */
502
573
  "normalizeText": boolean;
503
574
  /**
504
575
  * The direction the Dropdown should open, auto if not specified.
576
+ * @default 'auto'
505
577
  */
506
578
  "openDirection": 'up' | 'down' | 'auto';
507
579
  /**
@@ -513,9 +585,10 @@ export namespace Components {
513
585
  /**
514
586
  * 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
587
  */
516
- "setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string | undefined; }[]>;
588
+ "setValue": (value: string | number | string[] | number[], label?: string) => Promise<{ value: string | number; label: string; }[]>;
517
589
  /**
518
590
  * The size of the Dropdown.
591
+ * @default 'lg'
519
592
  */
520
593
  "size": 'xs' | 'sm' | 'md' | 'lg';
521
594
  /**
@@ -528,12 +601,14 @@ export namespace Components {
528
601
  "updateDisplay": () => Promise<void>;
529
602
  /**
530
603
  * Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
604
+ * @default null
531
605
  */
532
- "value": string | number | (string | number)[] | null;
606
+ "value": string | number | (string | number)[];
533
607
  }
534
608
  interface TdsDropdownOption {
535
609
  /**
536
610
  * Sets the option as disabled.
611
+ * @default false
537
612
  */
538
613
  "disabled": boolean;
539
614
  /**
@@ -552,6 +627,7 @@ export namespace Components {
552
627
  interface TdsFolderTab {
553
628
  /**
554
629
  * Disables the Tab.
630
+ * @default false
555
631
  */
556
632
  "disabled": boolean;
557
633
  "setSelected": (selected: boolean) => Promise<void>;
@@ -560,12 +636,14 @@ export namespace Components {
560
636
  interface TdsFolderTabs {
561
637
  /**
562
638
  * Sets the default selected Tab.
639
+ * @default 0
563
640
  */
564
641
  "defaultSelectedIndex": number;
565
642
  /**
566
643
  * Variant of the Tabs, primary= on white, secondary= on grey50
644
+ * @default null
567
645
  */
568
- "modeVariant": 'primary' | 'secondary' | null;
646
+ "modeVariant": 'primary' | 'secondary';
569
647
  /**
570
648
  * Reinitializes the component.
571
649
  */
@@ -580,18 +658,21 @@ export namespace Components {
580
658
  "selectedIndex": number;
581
659
  /**
582
660
  * Defines aria-label on left scroll button
661
+ * @default 'Scroll left'
583
662
  */
584
663
  "tdsScrollLeftAriaLabel": string;
585
664
  /**
586
665
  * Defines aria-label on right scroll button
666
+ * @default 'Scroll right'
587
667
  */
588
668
  "tdsScrollRightAriaLabel": string;
589
669
  }
590
670
  interface TdsFooter {
591
671
  /**
592
672
  * Mode variant of the component, based on current mode.
673
+ * @default null
593
674
  */
594
- "modeVariant": 'primary' | 'secondary' | null;
675
+ "modeVariant": 'primary' | 'secondary';
595
676
  }
596
677
  interface TdsFooterGroup {
597
678
  /**
@@ -624,18 +705,22 @@ export namespace Components {
624
705
  "customWidth"?: string;
625
706
  /**
626
707
  * Disables internal padding. Useful when passing other components to cell.
708
+ * @default false
627
709
  */
628
710
  "disablePadding": boolean;
629
711
  /**
630
712
  * Enables sorting on that column
713
+ * @default false
631
714
  */
632
715
  "sortable": boolean;
633
716
  /**
634
717
  * Aria label for the sort button, providing an accessible description
718
+ * @default ''
635
719
  */
636
720
  "tdsAriaLabelSortButton"?: string;
637
721
  /**
638
722
  * Setting for text align, default is "left". Other accepted values are "left", "start", "right" or "end".
723
+ * @default 'left'
639
724
  */
640
725
  "textAlign": 'left' | 'start' | 'right' | 'end' | 'center';
641
726
  }
@@ -646,10 +731,12 @@ export namespace Components {
646
731
  "label": string;
647
732
  /**
648
733
  * If the dropdown icon (downwards chevron) should be hidden.
734
+ * @default false
649
735
  */
650
736
  "noDropdownIcon": boolean;
651
737
  /**
652
738
  * If the button that opens the dropdown should appear selected.
739
+ * @default false
653
740
  */
654
741
  "selected": boolean;
655
742
  /**
@@ -660,16 +747,19 @@ export namespace Components {
660
747
  interface TdsHeaderDropdownList {
661
748
  /**
662
749
  * The size of the component.
750
+ * @default 'md'
663
751
  */
664
752
  "size": 'lg' | 'md';
665
753
  }
666
754
  interface TdsHeaderDropdownListItem {
667
755
  /**
668
756
  * If the link should appear selected.
757
+ * @default false
669
758
  */
670
759
  "selected": boolean;
671
760
  /**
672
761
  * The size of the component.
762
+ * @default 'md'
673
763
  */
674
764
  "size": 'md' | 'lg';
675
765
  }
@@ -700,10 +790,12 @@ export namespace Components {
700
790
  interface TdsHeaderItem {
701
791
  /**
702
792
  * If the button should appear active. Can be used when the button is triggering a dropdown, and the dropdown is open, for example.
793
+ * @default false
703
794
  */
704
795
  "active": boolean;
705
796
  /**
706
797
  * If the button should appear selected.
798
+ * @default false
707
799
  */
708
800
  "selected": boolean;
709
801
  }
@@ -716,6 +808,7 @@ export namespace Components {
716
808
  interface TdsHeaderLauncherButton {
717
809
  /**
718
810
  * If the button should appear active. Can be used when the button is triggering a dropdown, and the dropdown is open, for example.
811
+ * @default false
719
812
  */
720
813
  "active": boolean;
721
814
  /**
@@ -740,10 +833,12 @@ export namespace Components {
740
833
  interface TdsIcon {
741
834
  /**
742
835
  * Pass the name of the icon. For icon names, refer to Storybook Icon controls dropdown or https://tegel.scania.com/foundations/icons/icon-library
836
+ * @default 'truck'
743
837
  */
744
838
  "name": IconNames;
745
839
  /**
746
840
  * Pass a size of icon as a string, for example, 32px, 1rem, 4em...
841
+ * @default '16px'
747
842
  */
748
843
  "size": string;
749
844
  /**
@@ -756,12 +851,14 @@ export namespace Components {
756
851
  "svgTitle"?: string;
757
852
  /**
758
853
  * Set aria-hidden attribute on svg
854
+ * @default false
759
855
  */
760
856
  "tdsAriaHidden": boolean;
761
857
  }
762
858
  interface TdsInlineTab {
763
859
  /**
764
860
  * Disables the Tab.
861
+ * @default false
765
862
  */
766
863
  "disabled": boolean;
767
864
  "setSelected": (selected: boolean) => Promise<void>;
@@ -769,14 +866,17 @@ export namespace Components {
769
866
  interface TdsInlineTabs {
770
867
  /**
771
868
  * Sets the default selected Tab.
869
+ * @default 0
772
870
  */
773
871
  "defaultSelectedIndex": number;
774
872
  /**
775
873
  * Custom left padding value for the wrapper element.
874
+ * @default 32
776
875
  */
777
876
  "leftPadding": number;
778
877
  /**
779
878
  * Variant of the Tabs, primary= on white, secondary= on grey50
879
+ * @default 'primary'
780
880
  */
781
881
  "modeVariant": 'primary' | 'secondary';
782
882
  /**
@@ -793,24 +893,29 @@ export namespace Components {
793
893
  "selectedIndex": number;
794
894
  /**
795
895
  * Defines aria-label on left scroll button
896
+ * @default 'Scroll left'
796
897
  */
797
898
  "tdsScrollLeftAriaLabel": string;
798
899
  /**
799
900
  * Defines aria-label on right scroll button
901
+ * @default 'Scroll right'
800
902
  */
801
903
  "tdsScrollRightAriaLabel": string;
802
904
  }
803
905
  interface TdsLink {
804
906
  /**
805
907
  * Disables the Link
908
+ * @default false
806
909
  */
807
910
  "disabled": boolean;
808
911
  /**
809
912
  * Displays the Link as a standalone component. Not part of a paragraph.
913
+ * @default false
810
914
  */
811
915
  "standalone": boolean;
812
916
  /**
813
917
  * Displays the Link with an underline.
918
+ * @default true
814
919
  */
815
920
  "underline": boolean;
816
921
  }
@@ -821,18 +926,22 @@ export namespace Components {
821
926
  "header": string;
822
927
  /**
823
928
  * Minimal Message styling.
929
+ * @default false
824
930
  */
825
931
  "minimal": boolean;
826
932
  /**
827
933
  * Variant of the component, based on current mode.
934
+ * @default null
828
935
  */
829
- "modeVariant": 'primary' | 'secondary' | null;
936
+ "modeVariant": 'primary' | 'secondary';
830
937
  /**
831
938
  * Removes the icon in the Message.
939
+ * @default false
832
940
  */
833
941
  "noIcon": boolean;
834
942
  /**
835
943
  * Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
944
+ * @default 'dialog'
836
945
  */
837
946
  "tdsAlertDialog": 'alertdialog' | 'dialog';
838
947
  /**
@@ -841,12 +950,14 @@ export namespace Components {
841
950
  "tdsAriaLabel": string;
842
951
  /**
843
952
  * Variant of Message.
953
+ * @default 'information'
844
954
  */
845
955
  "variant": 'information' | 'error' | 'warning' | 'success';
846
956
  }
847
957
  interface TdsModal {
848
958
  /**
849
959
  * Changes the position behaviour of the actions slot.
960
+ * @default 'static'
850
961
  */
851
962
  "actionsPosition": 'sticky' | 'static';
852
963
  /**
@@ -855,6 +966,7 @@ export namespace Components {
855
966
  "cleanupModal": () => Promise<void>;
856
967
  /**
857
968
  * Shows or hides the close [X] button.
969
+ * @default true
858
970
  */
859
971
  "closable": boolean;
860
972
  /**
@@ -875,6 +987,7 @@ export namespace Components {
875
987
  "isOpen": () => Promise<boolean>;
876
988
  /**
877
989
  * Disables closing Modal on clicking on overlay area.
990
+ * @default false
878
991
  */
879
992
  "prevent": boolean;
880
993
  /**
@@ -895,16 +1008,19 @@ export namespace Components {
895
1008
  "showModal": () => Promise<void>;
896
1009
  /**
897
1010
  * Size of Modal
1011
+ * @default 'md'
898
1012
  */
899
1013
  "size": 'xs' | 'sm' | 'md' | 'lg';
900
1014
  /**
901
1015
  * Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
1016
+ * @default 'dialog'
902
1017
  */
903
1018
  "tdsAlertDialog": 'alertdialog' | 'dialog';
904
1019
  }
905
1020
  interface TdsNavigationTab {
906
1021
  /**
907
1022
  * Disables the Tab.
1023
+ * @default false
908
1024
  */
909
1025
  "disabled": boolean;
910
1026
  "setSelected": (selected: boolean) => Promise<void>;
@@ -912,14 +1028,17 @@ export namespace Components {
912
1028
  interface TdsNavigationTabs {
913
1029
  /**
914
1030
  * Sets the default selected Tab.
1031
+ * @default 0
915
1032
  */
916
1033
  "defaultSelectedIndex": number;
917
1034
  /**
918
1035
  * Custom left padding value for the wrapper element.
1036
+ * @default 32
919
1037
  */
920
1038
  "leftPadding": number;
921
1039
  /**
922
1040
  * Variant of the Tabs, primary= on white, secondary= on grey50
1041
+ * @default 'primary'
923
1042
  */
924
1043
  "modeVariant": 'primary' | 'secondary';
925
1044
  /**
@@ -936,16 +1055,19 @@ export namespace Components {
936
1055
  "selectedIndex": number;
937
1056
  /**
938
1057
  * Defines aria-label on left scroll button
1058
+ * @default 'Scroll left'
939
1059
  */
940
1060
  "tdsScrollLeftAriaLabel": string;
941
1061
  /**
942
1062
  * Defines aria-label on right scroll button
1063
+ * @default 'Scroll right'
943
1064
  */
944
1065
  "tdsScrollRightAriaLabel": string;
945
1066
  }
946
1067
  interface TdsPopoverCanvas {
947
1068
  /**
948
1069
  * Whether the popover should animate when being opened/closed or not
1070
+ * @default 'none'
949
1071
  */
950
1072
  "animation": 'none' | 'fade' | string;
951
1073
  /**
@@ -954,26 +1076,32 @@ export namespace Components {
954
1076
  "close": () => Promise<void>;
955
1077
  /**
956
1078
  * Decides if the component should be visible from the start.
1079
+ * @default false
957
1080
  */
958
1081
  "defaultShow": boolean;
959
1082
  /**
960
1083
  * Mode variant of the component, based on current mode.
1084
+ * @default null
961
1085
  */
962
- "modeVariant": 'primary' | 'secondary' | null;
1086
+ "modeVariant": 'primary' | 'secondary';
963
1087
  /**
964
1088
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
1089
+ * @default []
965
1090
  */
966
1091
  "modifiers": object[];
967
1092
  /**
968
1093
  * Sets the offset distance
1094
+ * @default 8
969
1095
  */
970
1096
  "offsetDistance": number;
971
1097
  /**
972
1098
  * Sets the offset skidding
1099
+ * @default 0
973
1100
  */
974
1101
  "offsetSkidding": number;
975
1102
  /**
976
1103
  * Decides the placement of the Popover Canvas. See https://popper.js.org/docs/v2/constructors/#placement
1104
+ * @default 'auto'
977
1105
  */
978
1106
  "placement": Placement;
979
1107
  /**
@@ -986,20 +1114,24 @@ export namespace Components {
986
1114
  "selector": string;
987
1115
  /**
988
1116
  * 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.
1117
+ * @default null
989
1118
  */
990
- "show": boolean | null;
1119
+ "show": boolean;
991
1120
  /**
992
1121
  * Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
1122
+ * @default 'dialog'
993
1123
  */
994
1124
  "tdsAlertDialog": 'alertdialog' | 'dialog';
995
1125
  }
996
1126
  interface TdsPopoverCore {
997
1127
  /**
998
1128
  * Whether the popover should animate when being opened/closed or not
1129
+ * @default 'none'
999
1130
  */
1000
1131
  "animation": 'none' | 'fade' | string;
1001
1132
  /**
1002
1133
  * Decides if the popover should hide automatically. Alternatevly it can be hidden externally based on emitted events.
1134
+ * @default true
1003
1135
  */
1004
1136
  "autoHide": boolean;
1005
1137
  /**
@@ -1008,22 +1140,27 @@ export namespace Components {
1008
1140
  "close": () => Promise<void>;
1009
1141
  /**
1010
1142
  * Decides if the component should be visible from the start.
1143
+ * @default false
1011
1144
  */
1012
1145
  "defaultShow": boolean;
1013
1146
  /**
1014
1147
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
1148
+ * @default []
1015
1149
  */
1016
1150
  "modifiers": object[];
1017
1151
  /**
1018
1152
  * Sets the offset distance
1153
+ * @default 8
1019
1154
  */
1020
1155
  "offsetDistance": number;
1021
1156
  /**
1022
1157
  * Sets the offset skidding
1158
+ * @default 0
1023
1159
  */
1024
1160
  "offsetSkidding": number;
1025
1161
  /**
1026
1162
  * Decides the placement of the Popover Menu
1163
+ * @default 'auto'
1027
1164
  */
1028
1165
  "placement": Placement;
1029
1166
  /**
@@ -1036,16 +1173,19 @@ export namespace Components {
1036
1173
  "selector": string;
1037
1174
  /**
1038
1175
  * 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.
1176
+ * @default null
1039
1177
  */
1040
- "show": boolean | null;
1178
+ "show": boolean;
1041
1179
  /**
1042
1180
  * What triggers the popover to show
1181
+ * @default 'click'
1043
1182
  */
1044
1183
  "trigger": 'click' | 'hover' | 'hover-popover';
1045
1184
  }
1046
1185
  interface TdsPopoverMenu {
1047
1186
  /**
1048
1187
  * Whether the popover should animate when being opened/closed or not
1188
+ * @default 'none'
1049
1189
  */
1050
1190
  "animation": 'none' | 'fade' | string;
1051
1191
  /**
@@ -1054,26 +1194,32 @@ export namespace Components {
1054
1194
  "close": () => Promise<void>;
1055
1195
  /**
1056
1196
  * Decides if the component should be visible from the start.
1197
+ * @default false
1057
1198
  */
1058
1199
  "defaultShow": boolean;
1059
1200
  /**
1060
1201
  * If true this unsets the width (160px) of the Popover Menu
1202
+ * @default false
1061
1203
  */
1062
1204
  "fluidWidth": boolean;
1063
1205
  /**
1064
1206
  * Mode variant of the component, based on current mode.
1207
+ * @default null
1065
1208
  */
1066
- "modeVariant": 'primary' | 'secondary' | null;
1209
+ "modeVariant": 'primary' | 'secondary';
1067
1210
  /**
1068
1211
  * Sets the offset distance
1212
+ * @default 8
1069
1213
  */
1070
1214
  "offsetDistance": number;
1071
1215
  /**
1072
1216
  * Sets the offset skidding
1217
+ * @default 0
1073
1218
  */
1074
1219
  "offsetSkidding": number;
1075
1220
  /**
1076
1221
  * Decides the placement of the Popover Menu
1222
+ * @default 'auto'
1077
1223
  */
1078
1224
  "placement": Placement;
1079
1225
  /**
@@ -1086,22 +1232,26 @@ export namespace Components {
1086
1232
  "selector": string;
1087
1233
  /**
1088
1234
  * 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.
1235
+ * @default null
1089
1236
  */
1090
- "show": boolean | null;
1237
+ "show": boolean;
1091
1238
  }
1092
1239
  interface TdsPopoverMenuItem {
1093
1240
  /**
1094
1241
  * Disables the Popover Menu Item
1242
+ * @default false
1095
1243
  */
1096
1244
  "disabled": boolean;
1097
1245
  }
1098
1246
  interface TdsRadioButton {
1099
1247
  /**
1100
1248
  * Decides if the Radio Button is checked or not.
1249
+ * @default false
1101
1250
  */
1102
1251
  "checked": boolean;
1103
1252
  /**
1104
1253
  * Decides if the Radio Button is disabled or not.
1254
+ * @default false
1105
1255
  */
1106
1256
  "disabled": boolean;
1107
1257
  /**
@@ -1114,10 +1264,12 @@ export namespace Components {
1114
1264
  "name": string;
1115
1265
  /**
1116
1266
  * Unique Radio Button identifier.
1267
+ * @default generateUniqueId()
1117
1268
  */
1118
1269
  "radioId": string;
1119
1270
  /**
1120
1271
  * Decides if the Radio Button is required or not.
1272
+ * @default false
1121
1273
  */
1122
1274
  "required": boolean;
1123
1275
  /**
@@ -1136,14 +1288,17 @@ export namespace Components {
1136
1288
  interface TdsSideMenu {
1137
1289
  /**
1138
1290
  * If the Side Menu is collapsed. Only a persistent desktop menu can be collapsed. NOTE: Only use this if you have prevented the automatic collapsing with preventDefault on the tdsCollapse event.
1291
+ * @default false
1139
1292
  */
1140
1293
  "collapsed": boolean;
1141
1294
  /**
1142
1295
  * Applicable only for mobile. If the Side Menu is open or not.
1296
+ * @default false
1143
1297
  */
1144
1298
  "open": boolean;
1145
1299
  /**
1146
1300
  * Applicable only for desktop. If the Side Menu should always be shown.
1301
+ * @default false
1147
1302
  */
1148
1303
  "persistent": boolean;
1149
1304
  }
@@ -1158,14 +1313,17 @@ export namespace Components {
1158
1313
  "buttonLabel": string;
1159
1314
  /**
1160
1315
  * If the dropdown should be open from the start.
1316
+ * @default false
1161
1317
  */
1162
1318
  "defaultOpen": boolean;
1163
1319
  /**
1164
1320
  * Toggle open state programmatically
1321
+ * @default false
1165
1322
  */
1166
1323
  "open": boolean;
1167
1324
  /**
1168
1325
  * If the button that opens the dropdown should appear selected.
1326
+ * @default false
1169
1327
  */
1170
1328
  "selected": boolean;
1171
1329
  }
@@ -1174,16 +1332,19 @@ export namespace Components {
1174
1332
  interface TdsSideMenuDropdownListItem {
1175
1333
  /**
1176
1334
  * If the item should appear selected.
1335
+ * @default false
1177
1336
  */
1178
1337
  "selected": boolean;
1179
1338
  }
1180
1339
  interface TdsSideMenuItem {
1181
1340
  /**
1182
1341
  * If the item should appear active. Can be used when the item is triggering a dropdown, and the dropdown is open, for example.
1342
+ * @default false
1183
1343
  */
1184
1344
  "active": boolean;
1185
1345
  /**
1186
1346
  * If the item should appear selected.
1347
+ * @default false
1187
1348
  */
1188
1349
  "selected": boolean;
1189
1350
  }
@@ -1230,34 +1391,42 @@ export namespace Components {
1230
1391
  interface TdsSlider {
1231
1392
  /**
1232
1393
  * Decide to show the controls or not
1394
+ * @default false
1233
1395
  */
1234
1396
  "controls": boolean;
1235
1397
  /**
1236
1398
  * Sets the disabled state for the whole component
1399
+ * @default false
1237
1400
  */
1238
1401
  "disabled": boolean;
1239
1402
  /**
1240
1403
  * Decide to show the input field or not
1404
+ * @default false
1241
1405
  */
1242
1406
  "input": boolean;
1243
1407
  /**
1244
1408
  * Text for label
1409
+ * @default ''
1245
1410
  */
1246
1411
  "label": string;
1247
1412
  /**
1248
1413
  * Maximum value
1414
+ * @default '100'
1249
1415
  */
1250
1416
  "max": string;
1251
1417
  /**
1252
1418
  * Minimum value
1419
+ * @default '0'
1253
1420
  */
1254
1421
  "min": string;
1255
1422
  /**
1256
1423
  * Name property (will be inherited by the native slider component)
1424
+ * @default ''
1257
1425
  */
1258
1426
  "name": string;
1259
1427
  /**
1260
1428
  * Sets the read only state for the whole component
1429
+ * @default false
1261
1430
  */
1262
1431
  "readOnly": boolean;
1263
1432
  /**
@@ -1266,52 +1435,64 @@ export namespace Components {
1266
1435
  "reset": () => Promise<void>;
1267
1436
  /**
1268
1437
  * Decide to show numbers above the tick markers or not
1438
+ * @default false
1269
1439
  */
1270
1440
  "showTickNumbers": boolean;
1271
1441
  /**
1272
1442
  * ID for the Slider's input element, randomly generated if not specified.
1443
+ * @default generateUniqueId()
1273
1444
  */
1274
1445
  "sliderId": string;
1275
1446
  /**
1276
1447
  * Snap to the tick's grid
1448
+ * @default false
1277
1449
  */
1278
1450
  "snap": boolean;
1279
1451
  /**
1280
1452
  * Defines how much to increment/decrement the value when using controls
1453
+ * @default '1'
1281
1454
  */
1282
1455
  "step": string;
1283
1456
  /**
1284
1457
  * Sets the aria-label for the slider control.
1458
+ * @default ''
1285
1459
  */
1286
1460
  "tdsAriaLabel": string;
1287
1461
  /**
1288
1462
  * Sets the read only aria label for the input field
1463
+ * @default ''
1289
1464
  */
1290
1465
  "tdsReadOnlyAriaLabel": string;
1291
1466
  /**
1292
1467
  * Sets the size of the thumb
1468
+ * @default 'lg'
1293
1469
  */
1294
1470
  "thumbSize": 'sm' | 'lg';
1295
1471
  /**
1296
1472
  * Number of tick markers (tick for min- and max-value will be added automatically)
1473
+ * @default '0'
1297
1474
  */
1298
1475
  "ticks": string;
1299
1476
  /**
1300
1477
  * Decide to show the tooltip or not
1478
+ * @default false
1301
1479
  */
1302
1480
  "tooltip": boolean;
1303
1481
  /**
1304
1482
  * Initial value
1483
+ * @default '0'
1305
1484
  */
1306
1485
  "value": string;
1307
1486
  }
1308
1487
  interface TdsSpinner {
1309
1488
  /**
1310
1489
  * Size of the Spinner
1490
+ * @default 'lg'
1311
1491
  */
1312
1492
  "size": 'xs' | 'sm' | 'md' | 'lg';
1313
1493
  /**
1314
1494
  * Variant of the Spinner
1495
+ * @default 'standard'
1315
1496
  */
1316
1497
  "variant": 'standard' | 'inverted';
1317
1498
  }
@@ -1322,6 +1503,7 @@ export namespace Components {
1322
1503
  "index": string;
1323
1504
  /**
1324
1505
  * State of the Step
1506
+ * @default 'upcoming'
1325
1507
  */
1326
1508
  "state": 'current' | 'error' | 'success' | 'upcoming';
1327
1509
  "tdsAriaCurrent": string;
@@ -1329,52 +1511,63 @@ export namespace Components {
1329
1511
  interface TdsStepper {
1330
1512
  /**
1331
1513
  * Hides the label for the child components if true.
1514
+ * @default false
1332
1515
  */
1333
1516
  "hideLabels": boolean;
1334
1517
  /**
1335
1518
  * Text position, only available on a direction: horizontal
1519
+ * @default 'below'
1336
1520
  */
1337
1521
  "labelPosition": 'aside' | 'below';
1338
1522
  /**
1339
1523
  * The orientation the Steps
1524
+ * @default 'horizontal'
1340
1525
  */
1341
1526
  "orientation": 'horizontal' | 'vertical';
1342
1527
  /**
1343
1528
  * Size of the component and it's children.
1529
+ * @default 'lg'
1344
1530
  */
1345
1531
  "size": 'sm' | 'lg';
1346
1532
  /**
1347
1533
  * ID used for internal Stepper functionality and events, must be unique. **NOTE**: If you're listening for Stepper events, you need to set this ID yourself to identify the Stepper, as the default ID is random and will be different every time.
1534
+ * @default generateUniqueId()
1348
1535
  */
1349
1536
  "stepperId": string;
1350
1537
  /**
1351
1538
  * Label for the stepper component, for screen reader users
1539
+ * @default 'Progress steps'
1352
1540
  */
1353
1541
  "tdsAriaLabel": string;
1354
1542
  }
1355
1543
  interface TdsTable {
1356
1544
  /**
1357
1545
  * Enables style where Table toolbar, rows and footer are less high
1546
+ * @default false
1358
1547
  */
1359
1548
  "compactDesign": boolean;
1360
1549
  /**
1361
1550
  * Enables extended row feature of Table
1551
+ * @default false
1362
1552
  */
1363
1553
  "expandableRows": boolean;
1364
1554
  /**
1365
1555
  * Returns all selected rows data.
1366
1556
  */
1367
- "getSelectedRows": () => Promise<{ cellKey: string; cellValue: string | number; }[][]>;
1557
+ "getSelectedRows": () => Promise<any[]>;
1368
1558
  /**
1369
1559
  * Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
1560
+ * @default null
1370
1561
  */
1371
- "horizontalScrollWidth"?: string | null;
1562
+ "horizontalScrollWidth"?: string;
1372
1563
  /**
1373
1564
  * Variant of the component, based on current mode.
1565
+ * @default null
1374
1566
  */
1375
- "modeVariant": 'primary' | 'secondary' | null;
1567
+ "modeVariant": 'primary' | 'secondary';
1376
1568
  /**
1377
1569
  * Enables multiselect feature of Table
1570
+ * @default false
1378
1571
  */
1379
1572
  "multiselect": boolean;
1380
1573
  /**
@@ -1383,18 +1576,22 @@ export namespace Components {
1383
1576
  "noMinWidth": boolean;
1384
1577
  /**
1385
1578
  * Enables Table to take 100% available width with equal spacing of columns
1579
+ * @default false
1386
1580
  */
1387
1581
  "responsive": boolean;
1388
1582
  /**
1389
1583
  * ID used for internal Table functionality and events, must be unique. **NOTE**: If you're listening for Table events, you need to set this ID yourself to identify the Table, as the default ID is random and will be different every time.
1584
+ * @default generateUniqueId()
1390
1585
  */
1391
1586
  "tableId": string;
1392
1587
  /**
1393
1588
  * Enables style with vertical dividers between columns
1589
+ * @default false
1394
1590
  */
1395
1591
  "verticalDividers": boolean;
1396
1592
  /**
1397
1593
  * Enables zebra stripe mode on the table rows or columns.
1594
+ * @default 'none'
1398
1595
  */
1399
1596
  "zebraMode": | 'rows-odd'
1400
1597
  | 'rows-even'
@@ -1407,32 +1604,38 @@ export namespace Components {
1407
1604
  interface TdsTableBodyInputWrapper {
1408
1605
  /**
1409
1606
  * Controls if the edit icon is shown
1607
+ * @default true
1410
1608
  */
1411
1609
  "showIcon": boolean;
1412
1610
  }
1413
1611
  interface TdsTableBodyRow {
1414
1612
  /**
1415
1613
  * Makes the row clickable and tabbable for accessibility purposes.
1614
+ * @default false
1416
1615
  */
1417
1616
  "clickable": boolean;
1418
1617
  /**
1419
1618
  * Marks the row as disabled, used for multiselect table.
1619
+ * @default false
1420
1620
  */
1421
1621
  "disabled"?: boolean;
1422
1622
  /**
1423
1623
  * Marks the row as selected, used for multiselect table.
1624
+ * @default false
1424
1625
  */
1425
1626
  "selected": boolean;
1426
1627
  }
1427
1628
  interface TdsTableBodyRowExpandable {
1428
1629
  /**
1429
1630
  * Enables auto-collapse of other expandable rows when one row is expanded
1631
+ * @default false
1430
1632
  */
1431
1633
  "autoCollapse": boolean;
1432
1634
  /**
1433
1635
  * 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
1636
+ * @default null
1434
1637
  */
1435
- "colSpan": number | null;
1638
+ "colSpan": number;
1436
1639
  /**
1437
1640
  * Method to collapse table row
1438
1641
  */
@@ -1447,54 +1650,66 @@ export namespace Components {
1447
1650
  "expanded": boolean;
1448
1651
  /**
1449
1652
  * Controls the overflow behavior of the expandable row content
1653
+ * @default 'auto'
1450
1654
  */
1451
1655
  "overflow": 'auto' | 'hidden' | 'visible';
1452
1656
  /**
1453
1657
  * ID for the table row. Randomly generated if not specified.
1658
+ * @default generateUniqueId()
1454
1659
  */
1455
1660
  "rowId": string;
1456
1661
  /**
1457
1662
  * Aria label for the expand button, providing an accessible description
1663
+ * @default ''
1458
1664
  */
1459
1665
  "tdsAriaLabelExpandButton": string;
1460
1666
  }
1461
1667
  interface TdsTableFooter {
1462
1668
  /**
1463
1669
  * <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
1670
+ * @default null
1464
1671
  */
1465
- "cols": number | null;
1672
+ "cols": number;
1466
1673
  /**
1467
1674
  * Sets the number of pages.
1675
+ * @default null
1468
1676
  */
1469
1677
  "pages": number;
1470
1678
  /**
1471
1679
  * Enable pagination and show pagination controls
1680
+ * @default false
1472
1681
  */
1473
1682
  "pagination": boolean;
1474
1683
  /**
1475
1684
  * Sets the pagination number.
1685
+ * @default 1
1476
1686
  */
1477
1687
  "paginationValue": number;
1478
1688
  /**
1479
1689
  * Set available rows per page values
1690
+ * @default [10, 25, 50]
1480
1691
  */
1481
1692
  "rowsPerPageValues": number[];
1482
1693
  /**
1483
1694
  * Enable rows per page dropdown
1695
+ * @default true
1484
1696
  */
1485
1697
  "rowsperpage": boolean;
1486
1698
  }
1487
1699
  interface TdsTableHeader {
1488
1700
  /**
1489
1701
  * @deprecated Deprecated, use selected instead.
1702
+ * @default false
1490
1703
  */
1491
1704
  "allSelected": boolean;
1492
1705
  /**
1493
1706
  * Prop for controlling the enabled/disabled state of the "All selected"-checkbox.
1707
+ * @default false
1494
1708
  */
1495
1709
  "disabled"?: boolean;
1496
1710
  /**
1497
1711
  * Prop for controlling the indeterminate state of the "All selected"-checkbox.
1712
+ * @default false
1498
1713
  */
1499
1714
  "indeterminate": boolean;
1500
1715
  /**
@@ -1503,29 +1718,37 @@ export namespace Components {
1503
1718
  "selected": boolean;
1504
1719
  }
1505
1720
  interface TdsTableHeaderInputWrapper {
1721
+ /**
1722
+ * @default false
1723
+ */
1506
1724
  "compactDesign": boolean;
1507
1725
  /**
1508
1726
  * Controls if the search icon is shown
1727
+ * @default true
1509
1728
  */
1510
1729
  "showIcon": boolean;
1511
1730
  }
1512
1731
  interface TdsTableToolbar {
1513
1732
  /**
1514
1733
  * Enables preview of searchbar
1734
+ * @default false
1515
1735
  */
1516
1736
  "filter": boolean;
1517
1737
  /**
1518
1738
  * Adds title to the Table
1739
+ * @default ''
1519
1740
  */
1520
1741
  "tableTitle": string;
1521
1742
  /**
1522
1743
  * Aria label for the search input, providing an accessible description
1744
+ * @default ''
1523
1745
  */
1524
1746
  "tdsSearchAriaLabel": string;
1525
1747
  }
1526
1748
  interface TdsTag {
1527
1749
  /**
1528
1750
  * Sets the size of the tag
1751
+ * @default 'lg'
1529
1752
  */
1530
1753
  "size": 'lg' | 'sm';
1531
1754
  /**
@@ -1534,20 +1757,24 @@ export namespace Components {
1534
1757
  "text": string;
1535
1758
  /**
1536
1759
  * Sets the variant mode of the tag
1760
+ * @default 'Neutral'
1537
1761
  */
1538
1762
  "variant": 'Success' | 'Warning' | 'New' | 'Neutral' | 'Information' | 'Error';
1539
1763
  }
1540
1764
  interface TdsTextField {
1541
1765
  /**
1542
1766
  * Value to be used for the text field's autocomplete attribute
1767
+ * @default 'off'
1543
1768
  */
1544
1769
  "autocomplete": string;
1545
1770
  /**
1546
1771
  * Autofocus for input
1772
+ * @default false
1547
1773
  */
1548
1774
  "autofocus": boolean;
1549
1775
  /**
1550
1776
  * Set input in disabled state
1777
+ * @default false
1551
1778
  */
1552
1779
  "disabled": boolean;
1553
1780
  /**
@@ -1560,14 +1787,17 @@ export namespace Components {
1560
1787
  "helper": string;
1561
1788
  /**
1562
1789
  * Hides the read-only icon in the Text Field. Requires Read Only to be enabled.
1790
+ * @default false
1563
1791
  */
1564
1792
  "hideReadOnlyIcon": boolean;
1565
1793
  /**
1566
1794
  * Label text
1795
+ * @default ''
1567
1796
  */
1568
1797
  "label": string;
1569
1798
  /**
1570
1799
  * Position of the label for the Text Field.
1800
+ * @default 'no-label'
1571
1801
  */
1572
1802
  "labelPosition": 'inside' | 'outside' | 'no-label';
1573
1803
  /**
@@ -1584,34 +1814,42 @@ export namespace Components {
1584
1814
  "min": string | number;
1585
1815
  /**
1586
1816
  * Mode variant of the Text Field
1817
+ * @default null
1587
1818
  */
1588
- "modeVariant": 'primary' | 'secondary' | null;
1819
+ "modeVariant": 'primary' | 'secondary';
1589
1820
  /**
1590
1821
  * Name property
1822
+ * @default ''
1591
1823
  */
1592
1824
  "name": string;
1593
1825
  /**
1594
1826
  * Unset minimum width of 208px.
1827
+ * @default false
1595
1828
  */
1596
1829
  "noMinWidth": boolean;
1597
1830
  /**
1598
1831
  * Placeholder text
1832
+ * @default ''
1599
1833
  */
1600
1834
  "placeholder": string;
1601
1835
  /**
1602
1836
  * Set input in readonly state
1837
+ * @default false
1603
1838
  */
1604
1839
  "readOnly": boolean;
1605
1840
  /**
1606
1841
  * Makes the text field required
1842
+ * @default false
1607
1843
  */
1608
1844
  "required": boolean;
1609
1845
  /**
1610
1846
  * Size of the input
1847
+ * @default 'lg'
1611
1848
  */
1612
1849
  "size": 'sm' | 'md' | 'lg';
1613
1850
  /**
1614
1851
  * Error state of input
1852
+ * @default 'default'
1615
1853
  */
1616
1854
  "state": 'error' | 'success' | 'default';
1617
1855
  /**
@@ -1620,16 +1858,19 @@ export namespace Components {
1620
1858
  "tdsAriaLabel": string;
1621
1859
  /**
1622
1860
  * Which input type, text, password or similar
1861
+ * @default 'text'
1623
1862
  */
1624
1863
  "type": 'text' | 'password' | 'number' | 'email' | 'tel';
1625
1864
  /**
1626
1865
  * Value of the input text
1866
+ * @default ''
1627
1867
  */
1628
1868
  "value": string;
1629
1869
  }
1630
1870
  interface TdsTextarea {
1631
1871
  /**
1632
1872
  * Control of autofocus
1873
+ * @default false
1633
1874
  */
1634
1875
  "autofocus": boolean;
1635
1876
  /**
@@ -1638,6 +1879,7 @@ export namespace Components {
1638
1879
  "cols": number;
1639
1880
  /**
1640
1881
  * Set input in disabled state
1882
+ * @default false
1641
1883
  */
1642
1884
  "disabled": boolean;
1643
1885
  /**
@@ -1650,14 +1892,17 @@ export namespace Components {
1650
1892
  "helper": string;
1651
1893
  /**
1652
1894
  * Hide the readonly icon
1895
+ * @default false
1653
1896
  */
1654
1897
  "hideReadOnlyIcon": boolean;
1655
1898
  /**
1656
1899
  * Label text
1900
+ * @default ''
1657
1901
  */
1658
1902
  "label": string;
1659
1903
  /**
1660
1904
  * Position of the label for the Textarea.
1905
+ * @default 'no-label'
1661
1906
  */
1662
1907
  "labelPosition": 'inside' | 'outside' | 'no-label';
1663
1908
  /**
@@ -1666,22 +1911,27 @@ export namespace Components {
1666
1911
  "maxLength": number;
1667
1912
  /**
1668
1913
  * Mode variant of the Textarea
1914
+ * @default null
1669
1915
  */
1670
- "modeVariant": 'primary' | 'secondary' | null;
1916
+ "modeVariant": 'primary' | 'secondary';
1671
1917
  /**
1672
1918
  * Name attribute
1919
+ * @default ''
1673
1920
  */
1674
1921
  "name": string;
1675
1922
  /**
1676
1923
  * Unset minimum width of 208px.
1924
+ * @default false
1677
1925
  */
1678
1926
  "noMinWidth": boolean;
1679
1927
  /**
1680
1928
  * Placeholder text
1929
+ * @default ''
1681
1930
  */
1682
1931
  "placeholder": string;
1683
1932
  /**
1684
1933
  * Set input in readonly state
1934
+ * @default false
1685
1935
  */
1686
1936
  "readOnly": boolean;
1687
1937
  /**
@@ -1690,6 +1940,7 @@ export namespace Components {
1690
1940
  "rows": number;
1691
1941
  /**
1692
1942
  * Error state of input
1943
+ * @default 'default'
1693
1944
  */
1694
1945
  "state": 'error' | 'success' | 'default';
1695
1946
  /**
@@ -1698,12 +1949,14 @@ export namespace Components {
1698
1949
  "tdsAriaLabel": string;
1699
1950
  /**
1700
1951
  * Value of the input text
1952
+ * @default ''
1701
1953
  */
1702
1954
  "value": string;
1703
1955
  }
1704
1956
  interface TdsToast {
1705
1957
  /**
1706
1958
  * Enables the close button.
1959
+ * @default true
1707
1960
  */
1708
1961
  "closable": boolean;
1709
1962
  /**
@@ -1712,6 +1965,7 @@ export namespace Components {
1712
1965
  "header": string;
1713
1966
  /**
1714
1967
  * Hides the Toast.
1968
+ * @default false
1715
1969
  */
1716
1970
  "hidden": boolean;
1717
1971
  /**
@@ -1728,6 +1982,7 @@ export namespace Components {
1728
1982
  "subheader": string;
1729
1983
  /**
1730
1984
  * ARIA live for the Toast.
1985
+ * @default 'polite'
1731
1986
  */
1732
1987
  "tdsAriaLive": 'polite' | 'assertive';
1733
1988
  /**
@@ -1736,24 +1991,29 @@ export namespace Components {
1736
1991
  "tdsCloseAriaLabel": string;
1737
1992
  /**
1738
1993
  * ID for the Toast. Randomly generated if not specified.
1994
+ * @default generateUniqueId()
1739
1995
  */
1740
1996
  "toastId": string;
1741
1997
  /**
1742
1998
  * ARIA role for the Toast.
1999
+ * @default 'alert'
1743
2000
  */
1744
2001
  "toastRole": 'alert' | 'log' | 'status';
1745
2002
  /**
1746
2003
  * Type of Toast.
2004
+ * @default 'information'
1747
2005
  */
1748
2006
  "variant": 'information' | 'error' | 'warning' | 'success';
1749
2007
  }
1750
2008
  interface TdsToggle {
1751
2009
  /**
1752
2010
  * Sets the Toggle as checked
2011
+ * @default false
1753
2012
  */
1754
2013
  "checked": boolean;
1755
2014
  /**
1756
2015
  * Sets the Toggle in a disabled state
2016
+ * @default false
1757
2017
  */
1758
2018
  "disabled": boolean;
1759
2019
  /**
@@ -1770,10 +2030,12 @@ export namespace Components {
1770
2030
  "name": string;
1771
2031
  /**
1772
2032
  * Make the Toggle required
2033
+ * @default false
1773
2034
  */
1774
2035
  "required": boolean;
1775
2036
  /**
1776
2037
  * Size of the Toggle
2038
+ * @default 'lg'
1777
2039
  */
1778
2040
  "size": 'sm' | 'lg';
1779
2041
  /**
@@ -1786,28 +2048,34 @@ export namespace Components {
1786
2048
  "toggle": () => Promise<{ toggleId: string; checked: boolean; }>;
1787
2049
  /**
1788
2050
  * ID of the Toggle's input element, if not specified, it's randomly generated
2051
+ * @default generateUniqueId()
1789
2052
  */
1790
2053
  "toggleId": string;
1791
2054
  }
1792
2055
  interface TdsTooltip {
1793
2056
  /**
1794
2057
  * Decides if the component should be visible from the start.
2058
+ * @default false
1795
2059
  */
1796
2060
  "defaultShow": boolean;
1797
2061
  /**
1798
2062
  * Allow mouse over Tooltip. Useful when Tooltip contains clickable elements like link or button.
2063
+ * @default false
1799
2064
  */
1800
2065
  "mouseOverTooltip": boolean;
1801
2066
  /**
1802
2067
  * Sets the offset distance
2068
+ * @default 8
1803
2069
  */
1804
2070
  "offsetDistance": number;
1805
2071
  /**
1806
2072
  * Sets the offset skidding
2073
+ * @default 0
1807
2074
  */
1808
2075
  "offsetSkidding": number;
1809
2076
  /**
1810
2077
  * Placement of Tooltip.
2078
+ * @default 'bottom'
1811
2079
  */
1812
2080
  "placement": Placement;
1813
2081
  /**
@@ -1820,18 +2088,21 @@ export namespace Components {
1820
2088
  "selector": string;
1821
2089
  /**
1822
2090
  * Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
2091
+ * @default null
1823
2092
  */
1824
- "show": boolean | null;
2093
+ "show": boolean;
1825
2094
  /**
1826
2095
  * Sets the aria-describedby attribute
1827
2096
  */
1828
2097
  "tdsAriaDescribedby": string;
1829
2098
  /**
1830
2099
  * In case Tooltip contains only text, no HTML, a text can be passed by this prop
2100
+ * @default ''
1831
2101
  */
1832
2102
  "text": string;
1833
2103
  /**
1834
2104
  * What triggers the popover to show
2105
+ * @default 'hover'
1835
2106
  */
1836
2107
  "trigger": 'click' | 'hover';
1837
2108
  }
@@ -2145,11 +2416,12 @@ declare global {
2145
2416
  interface HTMLTdsDropdownElementEventMap {
2146
2417
  "tdsChange": {
2147
2418
  name: string;
2148
- value: string | null;
2419
+ value: string;
2149
2420
  };
2150
2421
  "tdsFocus": FocusEvent;
2151
2422
  "tdsBlur": FocusEvent;
2152
2423
  "tdsInput": InputEvent;
2424
+ "tdsClear": { clearedValue: string };
2153
2425
  }
2154
2426
  interface HTMLTdsDropdownElement extends Components.TdsDropdown, HTMLStencilElement {
2155
2427
  addEventListener<K extends keyof HTMLTdsDropdownElementEventMap>(type: K, listener: (this: HTMLTdsDropdownElement, ev: TdsDropdownCustomEvent<HTMLTdsDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2244,17 +2516,17 @@ declare global {
2244
2516
  };
2245
2517
  interface HTMLTdsHeaderCellElementEventMap {
2246
2518
  "tdsSort": {
2247
- tableId: string | undefined;
2248
- columnKey: string | undefined;
2519
+ tableId: string;
2520
+ columnKey: string;
2249
2521
  sortingDirection: 'asc' | 'desc';
2250
2522
  };
2251
2523
  "internalSortButtonClicked": {
2252
- tableId: string | undefined;
2253
- key: string | undefined;
2524
+ tableId: string;
2525
+ key: string;
2254
2526
  };
2255
- "internalTdsTextAlign": object;
2527
+ "internalTdsTextAlign": any;
2256
2528
  "internalTdsHover": {
2257
- tableId: string | undefined;
2529
+ tableId: string;
2258
2530
  key: string;
2259
2531
  };
2260
2532
  }
@@ -2406,7 +2678,7 @@ declare global {
2406
2678
  new (): HTMLTdsMessageElement;
2407
2679
  };
2408
2680
  interface HTMLTdsModalElementEventMap {
2409
- "tdsClose": object;
2681
+ "tdsClose": any;
2410
2682
  "tdsOpen": void;
2411
2683
  }
2412
2684
  interface HTMLTdsModalElement extends Components.TdsModal, HTMLStencilElement {
@@ -2677,13 +2949,13 @@ declare global {
2677
2949
  };
2678
2950
  interface HTMLTdsTableBodyRowElementEventMap {
2679
2951
  "tdsSelect": {
2680
- tableId: string | undefined;
2952
+ tableId: string;
2681
2953
  checked: boolean;
2682
- selectedRows: object[] | undefined;
2954
+ selectedRows: any[];
2683
2955
  };
2684
2956
  "tdsClick": {
2685
2957
  event: MouseEvent;
2686
- tableId: string | undefined;
2958
+ tableId: string;
2687
2959
  rowIndex: number;
2688
2960
  };
2689
2961
  }
@@ -2702,11 +2974,11 @@ declare global {
2702
2974
  new (): HTMLTdsTableBodyRowElement;
2703
2975
  };
2704
2976
  interface HTMLTdsTableBodyRowExpandableElementEventMap {
2705
- "internalTdsRowExpanded": object;
2977
+ "internalTdsRowExpanded": any;
2706
2978
  "tdsChange": {
2707
2979
  rowId: string;
2708
2980
  isExpanded: boolean;
2709
- tableId: string | undefined;
2981
+ tableId: string;
2710
2982
  };
2711
2983
  }
2712
2984
  interface HTMLTdsTableBodyRowExpandableElement extends Components.TdsTableBodyRowExpandable, HTMLStencilElement {
@@ -2725,7 +2997,7 @@ declare global {
2725
2997
  };
2726
2998
  interface HTMLTdsTableFooterElementEventMap {
2727
2999
  "tdsPagination": {
2728
- tableId: string | undefined;
3000
+ tableId: string;
2729
3001
  paginationValue: number;
2730
3002
  rowsPerPage?: number;
2731
3003
  };
@@ -2746,9 +3018,9 @@ declare global {
2746
3018
  };
2747
3019
  interface HTMLTdsTableHeaderElementEventMap {
2748
3020
  "tdsSelectAll": {
2749
- tableId: string | undefined;
3021
+ tableId: string;
2750
3022
  checked: boolean;
2751
- selectedRows: object[] | undefined;
3023
+ selectedRows: any[];
2752
3024
  };
2753
3025
  }
2754
3026
  interface HTMLTdsTableHeaderElement extends Components.TdsTableHeader, HTMLStencilElement {
@@ -2773,7 +3045,7 @@ declare global {
2773
3045
  };
2774
3046
  interface HTMLTdsTableToolbarElementEventMap {
2775
3047
  "tdsFilter": {
2776
- tableId: string | undefined;
3048
+ tableId: string;
2777
3049
  query: string;
2778
3050
  };
2779
3051
  }
@@ -2972,32 +3244,39 @@ declare namespace LocalJSX {
2972
3244
  interface TdsAccordion {
2973
3245
  /**
2974
3246
  * Removes the bottom border of the last Accordion item.
3247
+ * @default false
2975
3248
  */
2976
3249
  "hideLastBorder"?: boolean;
2977
3250
  /**
2978
3251
  * Set the variant of the Accordion.
3252
+ * @default null
2979
3253
  */
2980
- "modeVariant"?: 'primary' | 'secondary' | null;
3254
+ "modeVariant"?: 'primary' | 'secondary';
2981
3255
  }
2982
3256
  interface TdsAccordionItem {
2983
3257
  /**
2984
3258
  * Specifies the heading level (aria-level) for accessibility. Only accepts values between 1 and 6.
3259
+ * @default '6'
2985
3260
  */
2986
3261
  "ariaLevelValue"?: '1' | '2' | '3' | '4' | '5' | '6';
2987
3262
  /**
2988
3263
  * Disabled option in `boolean`.
3264
+ * @default false
2989
3265
  */
2990
3266
  "disabled"?: boolean;
2991
3267
  /**
2992
3268
  * Changes position of the expand icon.
3269
+ * @default 'end'
2993
3270
  */
2994
3271
  "expandIconPosition"?: 'start' | 'end';
2995
3272
  /**
2996
3273
  * Set to true to expand panel open
3274
+ * @default false
2997
3275
  */
2998
3276
  "expanded"?: boolean;
2999
3277
  /**
3000
3278
  * The header gives users the context about the additional information available inside the panel
3279
+ * @default ''
3001
3280
  */
3002
3281
  "header"?: string;
3003
3282
  /**
@@ -3008,30 +3287,36 @@ declare namespace LocalJSX {
3008
3287
  }>) => void;
3009
3288
  /**
3010
3289
  * When true, 16px on right padding instead of 64px
3290
+ * @default false
3011
3291
  */
3012
3292
  "paddingReset"?: boolean;
3013
3293
  }
3014
3294
  interface TdsBadge {
3015
3295
  /**
3016
3296
  * Changes visibility of Badge
3297
+ * @default false
3017
3298
  */
3018
3299
  "hidden"?: boolean;
3019
3300
  /**
3020
3301
  * Sets component size.
3302
+ * @default 'lg'
3021
3303
  */
3022
3304
  "size"?: 'lg' | 'sm';
3023
3305
  /**
3024
3306
  * Defines aria-live attribute
3307
+ * @default 'polite'
3025
3308
  */
3026
3309
  "tdsAriaLive"?: 'off' | 'polite' | 'assertive';
3027
3310
  /**
3028
3311
  * Value shown in Badge
3312
+ * @default ''
3029
3313
  */
3030
3314
  "value"?: string;
3031
3315
  }
3032
3316
  interface TdsBanner {
3033
3317
  /**
3034
3318
  * ID used for internal table functionality and events, must be unique. **NOTE**: If you're listening for Banner close events, you need to set this ID yourself to identify the Banner, as the default ID is random and will be different every time.
3319
+ * @default generateUniqueId()
3035
3320
  */
3036
3321
  "bannerId"?: string;
3037
3322
  /**
@@ -3040,6 +3325,7 @@ declare namespace LocalJSX {
3040
3325
  "header"?: string;
3041
3326
  /**
3042
3327
  * Hides the Banner
3328
+ * @default false
3043
3329
  */
3044
3330
  "hidden"?: boolean;
3045
3331
  /**
@@ -3054,6 +3340,7 @@ declare namespace LocalJSX {
3054
3340
  }>) => void;
3055
3341
  /**
3056
3342
  * Defines the ARIA role of the banner. Defaults to "banner" for global use, but can be set to "region" or "alert" if used differently.
3343
+ * @default 'banner'
3057
3344
  */
3058
3345
  "roleType"?: 'banner' | 'region' | 'alert';
3059
3346
  /**
@@ -3062,6 +3349,7 @@ declare namespace LocalJSX {
3062
3349
  "subheader"?: string;
3063
3350
  /**
3064
3351
  * Variant of Banner
3352
+ * @default 'default'
3065
3353
  */
3066
3354
  "variant"?: 'error' | 'information' | 'default';
3067
3355
  }
@@ -3073,6 +3361,7 @@ declare namespace LocalJSX {
3073
3361
  interface TdsBlock {
3074
3362
  /**
3075
3363
  * Specifies the HTML tag to be used for the component wrapper.
3364
+ * @default 'div'
3076
3365
  */
3077
3366
  "componentTag"?: | 'section'
3078
3367
  | 'div'
@@ -3084,20 +3373,22 @@ declare namespace LocalJSX {
3084
3373
  | 'main';
3085
3374
  /**
3086
3375
  * Mode variant of the component, based on current mode.
3376
+ * @default null
3087
3377
  */
3088
- "modeVariant"?: 'primary' | 'secondary' | null;
3378
+ "modeVariant"?: 'primary' | 'secondary';
3089
3379
  }
3090
3380
  interface TdsBodyCell {
3091
3381
  /**
3092
3382
  * Passing the same cell key for all body cells which is used in head cell enables features of text align and hovering
3093
3383
  */
3094
- "cellKey"?: string;
3384
+ "cellKey"?: any;
3095
3385
  /**
3096
3386
  * Value that will be presented as text inside a cell
3097
3387
  */
3098
3388
  "cellValue"?: string | number;
3099
3389
  /**
3100
3390
  * Disables internal padding. Useful when passing other components to cell.
3391
+ * @default false
3101
3392
  */
3102
3393
  "disablePadding"?: boolean;
3103
3394
  /**
@@ -3108,6 +3399,7 @@ declare namespace LocalJSX {
3108
3399
  interface TdsBreadcrumb {
3109
3400
  /**
3110
3401
  * Boolean for the current link
3402
+ * @default false
3111
3403
  */
3112
3404
  "current"?: boolean;
3113
3405
  }
@@ -3120,26 +3412,31 @@ declare namespace LocalJSX {
3120
3412
  interface TdsButton {
3121
3413
  /**
3122
3414
  * Determines if and how the button should animate.
3415
+ * @default 'none'
3123
3416
  */
3124
3417
  "animation"?: 'none' | 'fade';
3125
3418
  /**
3126
3419
  * Control for disabled state of a component
3420
+ * @default false
3127
3421
  */
3128
3422
  "disabled"?: boolean;
3129
3423
  /**
3130
3424
  * When enabled, the Button takes 100% width
3425
+ * @default false
3131
3426
  */
3132
3427
  "fullbleed"?: boolean;
3133
3428
  /**
3134
3429
  * Set the mode variant of the Button.
3430
+ * @default null
3135
3431
  */
3136
- "modeVariant"?: 'primary' | 'secondary' | null;
3432
+ "modeVariant"?: 'primary' | 'secondary';
3137
3433
  /**
3138
3434
  * The name attribute allows for different ways of accessing the button element
3139
3435
  */
3140
3436
  "name"?: string;
3141
3437
  /**
3142
3438
  * Size of a Button
3439
+ * @default 'lg'
3143
3440
  */
3144
3441
  "size"?: 'xs' | 'sm' | 'md' | 'lg';
3145
3442
  /**
@@ -3152,6 +3449,7 @@ declare namespace LocalJSX {
3152
3449
  "text"?: string;
3153
3450
  /**
3154
3451
  * Button's type
3452
+ * @default 'button'
3155
3453
  */
3156
3454
  "type"?: 'button' | 'submit' | 'reset';
3157
3455
  /**
@@ -3160,12 +3458,14 @@ declare namespace LocalJSX {
3160
3458
  "value"?: string;
3161
3459
  /**
3162
3460
  * Variation of Button's design
3461
+ * @default 'primary'
3163
3462
  */
3164
3463
  "variant"?: 'primary' | 'secondary' | 'ghost' | 'danger';
3165
3464
  }
3166
3465
  interface TdsCard {
3167
3466
  /**
3168
3467
  * Divider for the body
3468
+ * @default false
3169
3469
  */
3170
3470
  "bodyDivider"?: boolean;
3171
3471
  /**
@@ -3178,18 +3478,22 @@ declare namespace LocalJSX {
3178
3478
  "bodyImgAlt"?: string;
3179
3479
  /**
3180
3480
  * ID for the Card, must be unique. **NOTE**: If you're listening for Card events, you need to set this ID yourself to identify the Card, as the default ID is random and will be different every time.
3481
+ * @default generateUniqueId()
3181
3482
  */
3182
3483
  "cardId"?: string;
3183
3484
  /**
3184
3485
  * Makes the Card clickable.
3486
+ * @default false
3185
3487
  */
3186
3488
  "clickable"?: boolean;
3187
3489
  /**
3188
3490
  * Enables expandable behaviour. When true, clicking the header toggles content visibility.
3491
+ * @default false
3189
3492
  */
3190
3493
  "expandable"?: boolean;
3191
3494
  /**
3192
3495
  * Tracks the current expanded state when expandable is enabled.
3496
+ * @default false
3193
3497
  */
3194
3498
  "expanded"?: boolean;
3195
3499
  /**
@@ -3198,18 +3502,23 @@ declare namespace LocalJSX {
3198
3502
  "header"?: string;
3199
3503
  /**
3200
3504
  * Placement of the header
3505
+ * @default 'below-header'
3201
3506
  */
3202
3507
  "imagePlacement"?: 'above-header' | 'below-header';
3203
3508
  /**
3204
3509
  * Variant of the Card based on the theme used.
3510
+ * @default null
3205
3511
  */
3206
- "modeVariant"?: 'primary' | 'secondary' | null;
3512
+ "modeVariant"?: 'primary' | 'secondary';
3207
3513
  /**
3208
3514
  * Sends unique Card identifier when the Card is clicked, if clickable=true
3209
3515
  */
3210
3516
  "onTdsClick"?: (event: TdsCardCustomEvent<{
3211
3517
  cardId: string;
3212
3518
  }>) => void;
3519
+ /**
3520
+ * @default false
3521
+ */
3213
3522
  "stretch"?: boolean;
3214
3523
  /**
3215
3524
  * Subheader text in the header
@@ -3219,18 +3528,22 @@ declare namespace LocalJSX {
3219
3528
  interface TdsCheckbox {
3220
3529
  /**
3221
3530
  * ID for the Checkbox's input element. Randomly generated if not specified.
3531
+ * @default generateUniqueId()
3222
3532
  */
3223
3533
  "checkboxId"?: string;
3224
3534
  /**
3225
3535
  * Sets the Checkbox as checked
3536
+ * @default false
3226
3537
  */
3227
3538
  "checked"?: boolean;
3228
3539
  /**
3229
3540
  * Sets the Checkbox in a disabled state
3541
+ * @default false
3230
3542
  */
3231
3543
  "disabled"?: boolean;
3232
3544
  /**
3233
3545
  * Sets the Checkbox as indeterminate
3546
+ * @default false
3234
3547
  */
3235
3548
  "indeterminate"?: boolean;
3236
3549
  /**
@@ -3256,6 +3569,7 @@ declare namespace LocalJSX {
3256
3569
  "onTdsFocus"?: (event: TdsCheckboxCustomEvent<FocusEvent>) => void;
3257
3570
  /**
3258
3571
  * Make the Checkbox required
3572
+ * @default false
3259
3573
  */
3260
3574
  "required"?: boolean;
3261
3575
  /**
@@ -3274,14 +3588,17 @@ declare namespace LocalJSX {
3274
3588
  interface TdsChip {
3275
3589
  /**
3276
3590
  * Controls component's checked attribute. Valid only for type checkbox and radio.
3591
+ * @default false
3277
3592
  */
3278
3593
  "checked"?: boolean;
3279
3594
  /**
3280
3595
  * ID used for internal Chip functionality and events, must be unique. **NOTE**: If you're listening for input events, you need to set this ID yourself to identify the input, as the default ID is random and will be different every time.
3596
+ * @default generateUniqueId()
3281
3597
  */
3282
3598
  "chipId"?: string;
3283
3599
  /**
3284
3600
  * Sets the Chip in a disabled state
3601
+ * @default false
3285
3602
  */
3286
3603
  "disabled"?: boolean;
3287
3604
  /**
@@ -3304,6 +3621,7 @@ declare namespace LocalJSX {
3304
3621
  }>) => void;
3305
3622
  /**
3306
3623
  * Size of the Chip component
3624
+ * @default 'lg'
3307
3625
  */
3308
3626
  "size"?: 'sm' | 'lg';
3309
3627
  /**
@@ -3312,6 +3630,7 @@ declare namespace LocalJSX {
3312
3630
  "tdsAriaLabel"?: string;
3313
3631
  /**
3314
3632
  * Type of Chip, depends on usage
3633
+ * @default 'button'
3315
3634
  */
3316
3635
  "type"?: 'button' | 'radio' | 'checkbox';
3317
3636
  /**
@@ -3324,26 +3643,32 @@ declare namespace LocalJSX {
3324
3643
  interface TdsDatetime {
3325
3644
  /**
3326
3645
  * Autofocus for input
3646
+ * @default false
3327
3647
  */
3328
3648
  "autofocus"?: boolean;
3329
3649
  /**
3330
3650
  * Default value of the component. Format for time: HH-MM. Format for date: YY-MM-DD. Format for month: YY-MM. Format for week: YY-Www Format for date-time: YY-MM-DDTHH-MM
3651
+ * @default 'none'
3331
3652
  */
3332
3653
  "defaultValue"?: string | 'none';
3333
3654
  /**
3334
3655
  * Set input in disabled state
3656
+ * @default false
3335
3657
  */
3336
3658
  "disabled"?: boolean;
3337
3659
  /**
3338
3660
  * Helper text for the component
3661
+ * @default ''
3339
3662
  */
3340
3663
  "helper"?: string;
3341
3664
  /**
3342
3665
  * Label text for the component
3666
+ * @default ''
3343
3667
  */
3344
3668
  "label"?: string;
3345
3669
  /**
3346
3670
  * Position of the label
3671
+ * @default 'no-label'
3347
3672
  */
3348
3673
  "labelPosition"?: 'inside' | 'outside' | 'no-label';
3349
3674
  /**
@@ -3356,14 +3681,17 @@ declare namespace LocalJSX {
3356
3681
  "min"?: string;
3357
3682
  /**
3358
3683
  * Set the variant of the Datetime component.
3684
+ * @default null
3359
3685
  */
3360
- "modeVariant"?: 'primary' | 'secondary' | null;
3686
+ "modeVariant"?: 'primary' | 'secondary';
3361
3687
  /**
3362
3688
  * Name property. Uses a unique ID as fallback if not specified.
3689
+ * @default `datetime-${generateUniqueId()}`
3363
3690
  */
3364
3691
  "name"?: string;
3365
3692
  /**
3366
3693
  * Resets min width rule
3694
+ * @default false
3367
3695
  */
3368
3696
  "noMinWidth"?: boolean;
3369
3697
  /**
@@ -3384,6 +3712,7 @@ declare namespace LocalJSX {
3384
3712
  "onTdsInput"?: (event: TdsDatetimeCustomEvent<InputEvent>) => void;
3385
3713
  /**
3386
3714
  * Size of the input
3715
+ * @default 'lg'
3387
3716
  */
3388
3717
  "size"?: 'sm' | 'md' | 'lg';
3389
3718
  /**
@@ -3396,24 +3725,31 @@ declare namespace LocalJSX {
3396
3725
  "tdsAriaLabel"?: string;
3397
3726
  /**
3398
3727
  * Sets an input type
3728
+ * @default 'datetime-local'
3399
3729
  */
3400
3730
  "type"?: 'datetime-local' | 'date' | 'month' | 'week' | 'time';
3401
3731
  /**
3402
3732
  * Value of the input text
3733
+ * @default ''
3403
3734
  */
3404
3735
  "value"?: string;
3405
3736
  }
3406
3737
  interface TdsDivider {
3407
3738
  /**
3408
3739
  * Orientation of the Divider, horizontal if not specified.
3740
+ * @default 'horizontal'
3409
3741
  */
3410
3742
  "orientation"?: 'horizontal' | 'vertical';
3411
3743
  /**
3412
3744
  * Variant of the Divider, subtle if not specified.
3745
+ * @default 'subtle'
3413
3746
  */
3414
3747
  "variant"?: 'discrete' | 'subtle' | 'soft' | 'defined' | 'dark-blue';
3415
3748
  }
3416
3749
  interface TdsDropdown {
3750
+ /**
3751
+ * @default 'slide'
3752
+ */
3417
3753
  "animation"?: 'none' | 'slide';
3418
3754
  /**
3419
3755
  * Default value selected in the Dropdown.
@@ -3421,14 +3757,17 @@ declare namespace LocalJSX {
3421
3757
  "defaultValue"?: string | number;
3422
3758
  /**
3423
3759
  * Sets the Dropdown in a disabled state
3760
+ * @default false
3424
3761
  */
3425
3762
  "disabled"?: boolean;
3426
3763
  /**
3427
3764
  * Sets the Dropdown in an error state
3765
+ * @default false
3428
3766
  */
3429
3767
  "error"?: boolean;
3430
3768
  /**
3431
3769
  * Enables filtration in the Dropdown.
3770
+ * @default false
3432
3771
  */
3433
3772
  "filter"?: boolean;
3434
3773
  /**
@@ -3445,10 +3784,12 @@ declare namespace LocalJSX {
3445
3784
  "labelPosition"?: 'inside' | 'outside';
3446
3785
  /**
3447
3786
  * Mode variant of the component, based on current mode.
3787
+ * @default null
3448
3788
  */
3449
- "modeVariant"?: 'primary' | 'secondary' | null;
3789
+ "modeVariant"?: 'primary' | 'secondary';
3450
3790
  /**
3451
3791
  * Enables multiselect in the Dropdown.
3792
+ * @default false
3452
3793
  */
3453
3794
  "multiselect"?: boolean;
3454
3795
  /**
@@ -3457,10 +3798,12 @@ declare namespace LocalJSX {
3457
3798
  "name"?: string;
3458
3799
  /**
3459
3800
  * Text that is displayed if filter is used and there are no options that matches the search. Setting it to an empty string disables message from showing up.
3801
+ * @default 'No result'
3460
3802
  */
3461
3803
  "noResultText"?: string;
3462
3804
  /**
3463
3805
  * Normalizes input text for fuzzier search
3806
+ * @default true
3464
3807
  */
3465
3808
  "normalizeText"?: boolean;
3466
3809
  /**
@@ -3472,8 +3815,12 @@ declare namespace LocalJSX {
3472
3815
  */
3473
3816
  "onTdsChange"?: (event: TdsDropdownCustomEvent<{
3474
3817
  name: string;
3475
- value: string | null;
3818
+ value: string;
3476
3819
  }>) => void;
3820
+ /**
3821
+ * Clear event for the Dropdown.
3822
+ */
3823
+ "onTdsClear"?: (event: TdsDropdownCustomEvent<{ clearedValue: string }>) => void;
3477
3824
  /**
3478
3825
  * Focus event for the Dropdown.
3479
3826
  */
@@ -3484,6 +3831,7 @@ declare namespace LocalJSX {
3484
3831
  "onTdsInput"?: (event: TdsDropdownCustomEvent<InputEvent>) => void;
3485
3832
  /**
3486
3833
  * The direction the Dropdown should open, auto if not specified.
3834
+ * @default 'auto'
3487
3835
  */
3488
3836
  "openDirection"?: 'up' | 'down' | 'auto';
3489
3837
  /**
@@ -3492,6 +3840,7 @@ declare namespace LocalJSX {
3492
3840
  "placeholder"?: string;
3493
3841
  /**
3494
3842
  * The size of the Dropdown.
3843
+ * @default 'lg'
3495
3844
  */
3496
3845
  "size"?: 'xs' | 'sm' | 'md' | 'lg';
3497
3846
  /**
@@ -3500,12 +3849,14 @@ declare namespace LocalJSX {
3500
3849
  "tdsAriaLabel"?: string;
3501
3850
  /**
3502
3851
  * Value of the dropdown. For multiselect, provide array of strings/numbers. For single select, provide a string/number.
3852
+ * @default null
3503
3853
  */
3504
- "value"?: string | number | (string | number)[] | null;
3854
+ "value"?: string | number | (string | number)[];
3505
3855
  }
3506
3856
  interface TdsDropdownOption {
3507
3857
  /**
3508
3858
  * Sets the option as disabled.
3859
+ * @default false
3509
3860
  */
3510
3861
  "disabled"?: boolean;
3511
3862
  /**
@@ -3535,18 +3886,21 @@ declare namespace LocalJSX {
3535
3886
  interface TdsFolderTab {
3536
3887
  /**
3537
3888
  * Disables the Tab.
3889
+ * @default false
3538
3890
  */
3539
3891
  "disabled"?: boolean;
3540
3892
  }
3541
3893
  interface TdsFolderTabs {
3542
3894
  /**
3543
3895
  * Sets the default selected Tab.
3896
+ * @default 0
3544
3897
  */
3545
3898
  "defaultSelectedIndex"?: number;
3546
3899
  /**
3547
3900
  * Variant of the Tabs, primary= on white, secondary= on grey50
3901
+ * @default null
3548
3902
  */
3549
- "modeVariant"?: 'primary' | 'secondary' | null;
3903
+ "modeVariant"?: 'primary' | 'secondary';
3550
3904
  /**
3551
3905
  * Event emitted when the selected Tab is changed.
3552
3906
  */
@@ -3559,18 +3913,21 @@ declare namespace LocalJSX {
3559
3913
  "selectedIndex"?: number;
3560
3914
  /**
3561
3915
  * Defines aria-label on left scroll button
3916
+ * @default 'Scroll left'
3562
3917
  */
3563
3918
  "tdsScrollLeftAriaLabel"?: string;
3564
3919
  /**
3565
3920
  * Defines aria-label on right scroll button
3921
+ * @default 'Scroll right'
3566
3922
  */
3567
3923
  "tdsScrollRightAriaLabel"?: string;
3568
3924
  }
3569
3925
  interface TdsFooter {
3570
3926
  /**
3571
3927
  * Mode variant of the component, based on current mode.
3928
+ * @default null
3572
3929
  */
3573
- "modeVariant"?: 'primary' | 'secondary' | null;
3930
+ "modeVariant"?: 'primary' | 'secondary';
3574
3931
  }
3575
3932
  interface TdsFooterGroup {
3576
3933
  /**
@@ -3603,26 +3960,30 @@ declare namespace LocalJSX {
3603
3960
  "customWidth"?: string;
3604
3961
  /**
3605
3962
  * Disables internal padding. Useful when passing other components to cell.
3963
+ * @default false
3606
3964
  */
3607
3965
  "disablePadding"?: boolean;
3608
3966
  /**
3609
3967
  * 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
3968
  */
3611
3969
  "onTdsSort"?: (event: TdsHeaderCellCustomEvent<{
3612
- tableId: string | undefined;
3613
- columnKey: string | undefined;
3970
+ tableId: string;
3971
+ columnKey: string;
3614
3972
  sortingDirection: 'asc' | 'desc';
3615
3973
  }>) => void;
3616
3974
  /**
3617
3975
  * Enables sorting on that column
3976
+ * @default false
3618
3977
  */
3619
3978
  "sortable"?: boolean;
3620
3979
  /**
3621
3980
  * Aria label for the sort button, providing an accessible description
3981
+ * @default ''
3622
3982
  */
3623
3983
  "tdsAriaLabelSortButton"?: string;
3624
3984
  /**
3625
3985
  * Setting for text align, default is "left". Other accepted values are "left", "start", "right" or "end".
3986
+ * @default 'left'
3626
3987
  */
3627
3988
  "textAlign"?: 'left' | 'start' | 'right' | 'end' | 'center';
3628
3989
  }
@@ -3633,10 +3994,12 @@ declare namespace LocalJSX {
3633
3994
  "label"?: string;
3634
3995
  /**
3635
3996
  * If the dropdown icon (downwards chevron) should be hidden.
3997
+ * @default false
3636
3998
  */
3637
3999
  "noDropdownIcon"?: boolean;
3638
4000
  /**
3639
4001
  * If the button that opens the dropdown should appear selected.
4002
+ * @default false
3640
4003
  */
3641
4004
  "selected"?: boolean;
3642
4005
  /**
@@ -3647,16 +4010,19 @@ declare namespace LocalJSX {
3647
4010
  interface TdsHeaderDropdownList {
3648
4011
  /**
3649
4012
  * The size of the component.
4013
+ * @default 'md'
3650
4014
  */
3651
4015
  "size"?: 'lg' | 'md';
3652
4016
  }
3653
4017
  interface TdsHeaderDropdownListItem {
3654
4018
  /**
3655
4019
  * If the link should appear selected.
4020
+ * @default false
3656
4021
  */
3657
4022
  "selected"?: boolean;
3658
4023
  /**
3659
4024
  * The size of the component.
4025
+ * @default 'md'
3660
4026
  */
3661
4027
  "size"?: 'md' | 'lg';
3662
4028
  }
@@ -3687,10 +4053,12 @@ declare namespace LocalJSX {
3687
4053
  interface TdsHeaderItem {
3688
4054
  /**
3689
4055
  * If the button should appear active. Can be used when the button is triggering a dropdown, and the dropdown is open, for example.
4056
+ * @default false
3690
4057
  */
3691
4058
  "active"?: boolean;
3692
4059
  /**
3693
4060
  * If the button should appear selected.
4061
+ * @default false
3694
4062
  */
3695
4063
  "selected"?: boolean;
3696
4064
  }
@@ -3703,6 +4071,7 @@ declare namespace LocalJSX {
3703
4071
  interface TdsHeaderLauncherButton {
3704
4072
  /**
3705
4073
  * If the button should appear active. Can be used when the button is triggering a dropdown, and the dropdown is open, for example.
4074
+ * @default false
3706
4075
  */
3707
4076
  "active"?: boolean;
3708
4077
  /**
@@ -3727,10 +4096,12 @@ declare namespace LocalJSX {
3727
4096
  interface TdsIcon {
3728
4097
  /**
3729
4098
  * Pass the name of the icon. For icon names, refer to Storybook Icon controls dropdown or https://tegel.scania.com/foundations/icons/icon-library
4099
+ * @default 'truck'
3730
4100
  */
3731
4101
  "name"?: IconNames;
3732
4102
  /**
3733
4103
  * Pass a size of icon as a string, for example, 32px, 1rem, 4em...
4104
+ * @default '16px'
3734
4105
  */
3735
4106
  "size"?: string;
3736
4107
  /**
@@ -3743,26 +4114,31 @@ declare namespace LocalJSX {
3743
4114
  "svgTitle"?: string;
3744
4115
  /**
3745
4116
  * Set aria-hidden attribute on svg
4117
+ * @default false
3746
4118
  */
3747
4119
  "tdsAriaHidden"?: boolean;
3748
4120
  }
3749
4121
  interface TdsInlineTab {
3750
4122
  /**
3751
4123
  * Disables the Tab.
4124
+ * @default false
3752
4125
  */
3753
4126
  "disabled"?: boolean;
3754
4127
  }
3755
4128
  interface TdsInlineTabs {
3756
4129
  /**
3757
4130
  * Sets the default selected Tab.
4131
+ * @default 0
3758
4132
  */
3759
4133
  "defaultSelectedIndex"?: number;
3760
4134
  /**
3761
4135
  * Custom left padding value for the wrapper element.
4136
+ * @default 32
3762
4137
  */
3763
4138
  "leftPadding"?: number;
3764
4139
  /**
3765
4140
  * Variant of the Tabs, primary= on white, secondary= on grey50
4141
+ * @default 'primary'
3766
4142
  */
3767
4143
  "modeVariant"?: 'primary' | 'secondary';
3768
4144
  /**
@@ -3777,24 +4153,29 @@ declare namespace LocalJSX {
3777
4153
  "selectedIndex"?: number;
3778
4154
  /**
3779
4155
  * Defines aria-label on left scroll button
4156
+ * @default 'Scroll left'
3780
4157
  */
3781
4158
  "tdsScrollLeftAriaLabel"?: string;
3782
4159
  /**
3783
4160
  * Defines aria-label on right scroll button
4161
+ * @default 'Scroll right'
3784
4162
  */
3785
4163
  "tdsScrollRightAriaLabel"?: string;
3786
4164
  }
3787
4165
  interface TdsLink {
3788
4166
  /**
3789
4167
  * Disables the Link
4168
+ * @default false
3790
4169
  */
3791
4170
  "disabled"?: boolean;
3792
4171
  /**
3793
4172
  * Displays the Link as a standalone component. Not part of a paragraph.
4173
+ * @default false
3794
4174
  */
3795
4175
  "standalone"?: boolean;
3796
4176
  /**
3797
4177
  * Displays the Link with an underline.
4178
+ * @default true
3798
4179
  */
3799
4180
  "underline"?: boolean;
3800
4181
  }
@@ -3805,18 +4186,22 @@ declare namespace LocalJSX {
3805
4186
  "header"?: string;
3806
4187
  /**
3807
4188
  * Minimal Message styling.
4189
+ * @default false
3808
4190
  */
3809
4191
  "minimal"?: boolean;
3810
4192
  /**
3811
4193
  * Variant of the component, based on current mode.
4194
+ * @default null
3812
4195
  */
3813
- "modeVariant"?: 'primary' | 'secondary' | null;
4196
+ "modeVariant"?: 'primary' | 'secondary';
3814
4197
  /**
3815
4198
  * Removes the icon in the Message.
4199
+ * @default false
3816
4200
  */
3817
4201
  "noIcon"?: boolean;
3818
4202
  /**
3819
4203
  * Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
4204
+ * @default 'dialog'
3820
4205
  */
3821
4206
  "tdsAlertDialog"?: 'alertdialog' | 'dialog';
3822
4207
  /**
@@ -3825,16 +4210,19 @@ declare namespace LocalJSX {
3825
4210
  "tdsAriaLabel"?: string;
3826
4211
  /**
3827
4212
  * Variant of Message.
4213
+ * @default 'information'
3828
4214
  */
3829
4215
  "variant"?: 'information' | 'error' | 'warning' | 'success';
3830
4216
  }
3831
4217
  interface TdsModal {
3832
4218
  /**
3833
4219
  * Changes the position behaviour of the actions slot.
4220
+ * @default 'static'
3834
4221
  */
3835
4222
  "actionsPosition"?: 'sticky' | 'static';
3836
4223
  /**
3837
4224
  * Shows or hides the close [X] button.
4225
+ * @default true
3838
4226
  */
3839
4227
  "closable"?: boolean;
3840
4228
  /**
@@ -3844,13 +4232,14 @@ declare namespace LocalJSX {
3844
4232
  /**
3845
4233
  * Emits when the Modal is closed.
3846
4234
  */
3847
- "onTdsClose"?: (event: TdsModalCustomEvent<object>) => void;
4235
+ "onTdsClose"?: (event: TdsModalCustomEvent<any>) => void;
3848
4236
  /**
3849
4237
  * Emits just before Modal is opened.
3850
4238
  */
3851
4239
  "onTdsOpen"?: (event: TdsModalCustomEvent<void>) => void;
3852
4240
  /**
3853
4241
  * Disables closing Modal on clicking on overlay area.
4242
+ * @default false
3854
4243
  */
3855
4244
  "prevent"?: boolean;
3856
4245
  /**
@@ -3867,30 +4256,36 @@ declare namespace LocalJSX {
3867
4256
  "show"?: boolean;
3868
4257
  /**
3869
4258
  * Size of Modal
4259
+ * @default 'md'
3870
4260
  */
3871
4261
  "size"?: 'xs' | 'sm' | 'md' | 'lg';
3872
4262
  /**
3873
4263
  * Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
4264
+ * @default 'dialog'
3874
4265
  */
3875
4266
  "tdsAlertDialog"?: 'alertdialog' | 'dialog';
3876
4267
  }
3877
4268
  interface TdsNavigationTab {
3878
4269
  /**
3879
4270
  * Disables the Tab.
4271
+ * @default false
3880
4272
  */
3881
4273
  "disabled"?: boolean;
3882
4274
  }
3883
4275
  interface TdsNavigationTabs {
3884
4276
  /**
3885
4277
  * Sets the default selected Tab.
4278
+ * @default 0
3886
4279
  */
3887
4280
  "defaultSelectedIndex"?: number;
3888
4281
  /**
3889
4282
  * Custom left padding value for the wrapper element.
4283
+ * @default 32
3890
4284
  */
3891
4285
  "leftPadding"?: number;
3892
4286
  /**
3893
4287
  * Variant of the Tabs, primary= on white, secondary= on grey50
4288
+ * @default 'primary'
3894
4289
  */
3895
4290
  "modeVariant"?: 'primary' | 'secondary';
3896
4291
  /**
@@ -3905,40 +4300,49 @@ declare namespace LocalJSX {
3905
4300
  "selectedIndex"?: number;
3906
4301
  /**
3907
4302
  * Defines aria-label on left scroll button
4303
+ * @default 'Scroll left'
3908
4304
  */
3909
4305
  "tdsScrollLeftAriaLabel"?: string;
3910
4306
  /**
3911
4307
  * Defines aria-label on right scroll button
4308
+ * @default 'Scroll right'
3912
4309
  */
3913
4310
  "tdsScrollRightAriaLabel"?: string;
3914
4311
  }
3915
4312
  interface TdsPopoverCanvas {
3916
4313
  /**
3917
4314
  * Whether the popover should animate when being opened/closed or not
4315
+ * @default 'none'
3918
4316
  */
3919
4317
  "animation"?: 'none' | 'fade' | string;
3920
4318
  /**
3921
4319
  * Decides if the component should be visible from the start.
4320
+ * @default false
3922
4321
  */
3923
4322
  "defaultShow"?: boolean;
3924
4323
  /**
3925
4324
  * Mode variant of the component, based on current mode.
4325
+ * @default null
3926
4326
  */
3927
- "modeVariant"?: 'primary' | 'secondary' | null;
4327
+ "modeVariant"?: 'primary' | 'secondary';
3928
4328
  /**
3929
4329
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
4330
+ * @default []
3930
4331
  */
3931
4332
  "modifiers"?: object[];
3932
4333
  /**
3933
4334
  * Sets the offset distance
4335
+ * @default 8
3934
4336
  */
3935
4337
  "offsetDistance"?: number;
3936
4338
  /**
3937
4339
  * Sets the offset skidding
4340
+ * @default 0
3938
4341
  */
3939
4342
  "offsetSkidding"?: number;
3940
4343
  /**
3941
4344
  * Decides the placement of the Popover Canvas. See https://popper.js.org/docs/v2/constructors/#placement
4345
+ * @default 'auto'
3942
4346
  */
3943
4347
  "placement"?: Placement;
3944
4348
  /**
@@ -3951,40 +4355,49 @@ declare namespace LocalJSX {
3951
4355
  "selector"?: string;
3952
4356
  /**
3953
4357
  * 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.
4358
+ * @default null
3954
4359
  */
3955
- "show"?: boolean | null;
4360
+ "show"?: boolean;
3956
4361
  /**
3957
4362
  * Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages.
4363
+ * @default 'dialog'
3958
4364
  */
3959
4365
  "tdsAlertDialog"?: 'alertdialog' | 'dialog';
3960
4366
  }
3961
4367
  interface TdsPopoverCore {
3962
4368
  /**
3963
4369
  * Whether the popover should animate when being opened/closed or not
4370
+ * @default 'none'
3964
4371
  */
3965
4372
  "animation"?: 'none' | 'fade' | string;
3966
4373
  /**
3967
4374
  * Decides if the popover should hide automatically. Alternatevly it can be hidden externally based on emitted events.
4375
+ * @default true
3968
4376
  */
3969
4377
  "autoHide"?: boolean;
3970
4378
  /**
3971
4379
  * Decides if the component should be visible from the start.
4380
+ * @default false
3972
4381
  */
3973
4382
  "defaultShow"?: boolean;
3974
4383
  /**
3975
4384
  * Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
4385
+ * @default []
3976
4386
  */
3977
4387
  "modifiers"?: object[];
3978
4388
  /**
3979
4389
  * Sets the offset distance
4390
+ * @default 8
3980
4391
  */
3981
4392
  "offsetDistance"?: number;
3982
4393
  /**
3983
4394
  * Sets the offset skidding
4395
+ * @default 0
3984
4396
  */
3985
4397
  "offsetSkidding"?: number;
3986
4398
  /**
3987
4399
  * Decides the placement of the Popover Menu
4400
+ * @default 'auto'
3988
4401
  */
3989
4402
  "placement"?: Placement;
3990
4403
  /**
@@ -3997,40 +4410,49 @@ declare namespace LocalJSX {
3997
4410
  "selector"?: string;
3998
4411
  /**
3999
4412
  * 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.
4413
+ * @default null
4000
4414
  */
4001
- "show"?: boolean | null;
4415
+ "show"?: boolean;
4002
4416
  /**
4003
4417
  * What triggers the popover to show
4418
+ * @default 'click'
4004
4419
  */
4005
4420
  "trigger"?: 'click' | 'hover' | 'hover-popover';
4006
4421
  }
4007
4422
  interface TdsPopoverMenu {
4008
4423
  /**
4009
4424
  * Whether the popover should animate when being opened/closed or not
4425
+ * @default 'none'
4010
4426
  */
4011
4427
  "animation"?: 'none' | 'fade' | string;
4012
4428
  /**
4013
4429
  * Decides if the component should be visible from the start.
4430
+ * @default false
4014
4431
  */
4015
4432
  "defaultShow"?: boolean;
4016
4433
  /**
4017
4434
  * If true this unsets the width (160px) of the Popover Menu
4435
+ * @default false
4018
4436
  */
4019
4437
  "fluidWidth"?: boolean;
4020
4438
  /**
4021
4439
  * Mode variant of the component, based on current mode.
4440
+ * @default null
4022
4441
  */
4023
- "modeVariant"?: 'primary' | 'secondary' | null;
4442
+ "modeVariant"?: 'primary' | 'secondary';
4024
4443
  /**
4025
4444
  * Sets the offset distance
4445
+ * @default 8
4026
4446
  */
4027
4447
  "offsetDistance"?: number;
4028
4448
  /**
4029
4449
  * Sets the offset skidding
4450
+ * @default 0
4030
4451
  */
4031
4452
  "offsetSkidding"?: number;
4032
4453
  /**
4033
4454
  * Decides the placement of the Popover Menu
4455
+ * @default 'auto'
4034
4456
  */
4035
4457
  "placement"?: Placement;
4036
4458
  /**
@@ -4043,22 +4465,26 @@ declare namespace LocalJSX {
4043
4465
  "selector"?: string;
4044
4466
  /**
4045
4467
  * 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.
4468
+ * @default null
4046
4469
  */
4047
- "show"?: boolean | null;
4470
+ "show"?: boolean;
4048
4471
  }
4049
4472
  interface TdsPopoverMenuItem {
4050
4473
  /**
4051
4474
  * Disables the Popover Menu Item
4475
+ * @default false
4052
4476
  */
4053
4477
  "disabled"?: boolean;
4054
4478
  }
4055
4479
  interface TdsRadioButton {
4056
4480
  /**
4057
4481
  * Decides if the Radio Button is checked or not.
4482
+ * @default false
4058
4483
  */
4059
4484
  "checked"?: boolean;
4060
4485
  /**
4061
4486
  * Decides if the Radio Button is disabled or not.
4487
+ * @default false
4062
4488
  */
4063
4489
  "disabled"?: boolean;
4064
4490
  /**
@@ -4074,10 +4500,12 @@ declare namespace LocalJSX {
4074
4500
  }>) => void;
4075
4501
  /**
4076
4502
  * Unique Radio Button identifier.
4503
+ * @default generateUniqueId()
4077
4504
  */
4078
4505
  "radioId"?: string;
4079
4506
  /**
4080
4507
  * Decides if the Radio Button is required or not.
4508
+ * @default false
4081
4509
  */
4082
4510
  "required"?: boolean;
4083
4511
  /**
@@ -4096,6 +4524,7 @@ declare namespace LocalJSX {
4096
4524
  interface TdsSideMenu {
4097
4525
  /**
4098
4526
  * If the Side Menu is collapsed. Only a persistent desktop menu can be collapsed. NOTE: Only use this if you have prevented the automatic collapsing with preventDefault on the tdsCollapse event.
4527
+ * @default false
4099
4528
  */
4100
4529
  "collapsed"?: boolean;
4101
4530
  /**
@@ -4104,10 +4533,12 @@ declare namespace LocalJSX {
4104
4533
  "onTdsCollapse"?: (event: TdsSideMenuCustomEvent<CollapseEvent>) => void;
4105
4534
  /**
4106
4535
  * Applicable only for mobile. If the Side Menu is open or not.
4536
+ * @default false
4107
4537
  */
4108
4538
  "open"?: boolean;
4109
4539
  /**
4110
4540
  * Applicable only for desktop. If the Side Menu should always be shown.
4541
+ * @default false
4111
4542
  */
4112
4543
  "persistent"?: boolean;
4113
4544
  }
@@ -4126,14 +4557,17 @@ declare namespace LocalJSX {
4126
4557
  "buttonLabel"?: string;
4127
4558
  /**
4128
4559
  * If the dropdown should be open from the start.
4560
+ * @default false
4129
4561
  */
4130
4562
  "defaultOpen"?: boolean;
4131
4563
  /**
4132
4564
  * Toggle open state programmatically
4565
+ * @default false
4133
4566
  */
4134
4567
  "open"?: boolean;
4135
4568
  /**
4136
4569
  * If the button that opens the dropdown should appear selected.
4570
+ * @default false
4137
4571
  */
4138
4572
  "selected"?: boolean;
4139
4573
  }
@@ -4142,16 +4576,19 @@ declare namespace LocalJSX {
4142
4576
  interface TdsSideMenuDropdownListItem {
4143
4577
  /**
4144
4578
  * If the item should appear selected.
4579
+ * @default false
4145
4580
  */
4146
4581
  "selected"?: boolean;
4147
4582
  }
4148
4583
  interface TdsSideMenuItem {
4149
4584
  /**
4150
4585
  * If the item should appear active. Can be used when the item is triggering a dropdown, and the dropdown is open, for example.
4586
+ * @default false
4151
4587
  */
4152
4588
  "active"?: boolean;
4153
4589
  /**
4154
4590
  * If the item should appear selected.
4591
+ * @default false
4155
4592
  */
4156
4593
  "selected"?: boolean;
4157
4594
  }
@@ -4198,30 +4635,37 @@ declare namespace LocalJSX {
4198
4635
  interface TdsSlider {
4199
4636
  /**
4200
4637
  * Decide to show the controls or not
4638
+ * @default false
4201
4639
  */
4202
4640
  "controls"?: boolean;
4203
4641
  /**
4204
4642
  * Sets the disabled state for the whole component
4643
+ * @default false
4205
4644
  */
4206
4645
  "disabled"?: boolean;
4207
4646
  /**
4208
4647
  * Decide to show the input field or not
4648
+ * @default false
4209
4649
  */
4210
4650
  "input"?: boolean;
4211
4651
  /**
4212
4652
  * Text for label
4653
+ * @default ''
4213
4654
  */
4214
4655
  "label"?: string;
4215
4656
  /**
4216
4657
  * Maximum value
4658
+ * @default '100'
4217
4659
  */
4218
4660
  "max"?: string;
4219
4661
  /**
4220
4662
  * Minimum value
4663
+ * @default '0'
4221
4664
  */
4222
4665
  "min"?: string;
4223
4666
  /**
4224
4667
  * Name property (will be inherited by the native slider component)
4668
+ * @default ''
4225
4669
  */
4226
4670
  "name"?: string;
4227
4671
  /**
@@ -4238,56 +4682,69 @@ declare namespace LocalJSX {
4238
4682
  }>) => void;
4239
4683
  /**
4240
4684
  * Sets the read only state for the whole component
4685
+ * @default false
4241
4686
  */
4242
4687
  "readOnly"?: boolean;
4243
4688
  /**
4244
4689
  * Decide to show numbers above the tick markers or not
4690
+ * @default false
4245
4691
  */
4246
4692
  "showTickNumbers"?: boolean;
4247
4693
  /**
4248
4694
  * ID for the Slider's input element, randomly generated if not specified.
4695
+ * @default generateUniqueId()
4249
4696
  */
4250
4697
  "sliderId"?: string;
4251
4698
  /**
4252
4699
  * Snap to the tick's grid
4700
+ * @default false
4253
4701
  */
4254
4702
  "snap"?: boolean;
4255
4703
  /**
4256
4704
  * Defines how much to increment/decrement the value when using controls
4705
+ * @default '1'
4257
4706
  */
4258
4707
  "step"?: string;
4259
4708
  /**
4260
4709
  * Sets the aria-label for the slider control.
4710
+ * @default ''
4261
4711
  */
4262
4712
  "tdsAriaLabel"?: string;
4263
4713
  /**
4264
4714
  * Sets the read only aria label for the input field
4715
+ * @default ''
4265
4716
  */
4266
4717
  "tdsReadOnlyAriaLabel"?: string;
4267
4718
  /**
4268
4719
  * Sets the size of the thumb
4720
+ * @default 'lg'
4269
4721
  */
4270
4722
  "thumbSize"?: 'sm' | 'lg';
4271
4723
  /**
4272
4724
  * Number of tick markers (tick for min- and max-value will be added automatically)
4725
+ * @default '0'
4273
4726
  */
4274
4727
  "ticks"?: string;
4275
4728
  /**
4276
4729
  * Decide to show the tooltip or not
4730
+ * @default false
4277
4731
  */
4278
4732
  "tooltip"?: boolean;
4279
4733
  /**
4280
4734
  * Initial value
4735
+ * @default '0'
4281
4736
  */
4282
4737
  "value"?: string;
4283
4738
  }
4284
4739
  interface TdsSpinner {
4285
4740
  /**
4286
4741
  * Size of the Spinner
4742
+ * @default 'lg'
4287
4743
  */
4288
4744
  "size"?: 'xs' | 'sm' | 'md' | 'lg';
4289
4745
  /**
4290
4746
  * Variant of the Spinner
4747
+ * @default 'standard'
4291
4748
  */
4292
4749
  "variant"?: 'standard' | 'inverted';
4293
4750
  }
@@ -4298,6 +4755,7 @@ declare namespace LocalJSX {
4298
4755
  "index"?: string;
4299
4756
  /**
4300
4757
  * State of the Step
4758
+ * @default 'upcoming'
4301
4759
  */
4302
4760
  "state"?: 'current' | 'error' | 'success' | 'upcoming';
4303
4761
  "tdsAriaCurrent"?: string;
@@ -4305,48 +4763,59 @@ declare namespace LocalJSX {
4305
4763
  interface TdsStepper {
4306
4764
  /**
4307
4765
  * Hides the label for the child components if true.
4766
+ * @default false
4308
4767
  */
4309
4768
  "hideLabels"?: boolean;
4310
4769
  /**
4311
4770
  * Text position, only available on a direction: horizontal
4771
+ * @default 'below'
4312
4772
  */
4313
4773
  "labelPosition"?: 'aside' | 'below';
4314
4774
  /**
4315
4775
  * The orientation the Steps
4776
+ * @default 'horizontal'
4316
4777
  */
4317
4778
  "orientation"?: 'horizontal' | 'vertical';
4318
4779
  /**
4319
4780
  * Size of the component and it's children.
4781
+ * @default 'lg'
4320
4782
  */
4321
4783
  "size"?: 'sm' | 'lg';
4322
4784
  /**
4323
4785
  * ID used for internal Stepper functionality and events, must be unique. **NOTE**: If you're listening for Stepper events, you need to set this ID yourself to identify the Stepper, as the default ID is random and will be different every time.
4786
+ * @default generateUniqueId()
4324
4787
  */
4325
4788
  "stepperId"?: string;
4326
4789
  /**
4327
4790
  * Label for the stepper component, for screen reader users
4791
+ * @default 'Progress steps'
4328
4792
  */
4329
4793
  "tdsAriaLabel"?: string;
4330
4794
  }
4331
4795
  interface TdsTable {
4332
4796
  /**
4333
4797
  * Enables style where Table toolbar, rows and footer are less high
4798
+ * @default false
4334
4799
  */
4335
4800
  "compactDesign"?: boolean;
4336
4801
  /**
4337
4802
  * Enables extended row feature of Table
4803
+ * @default false
4338
4804
  */
4339
4805
  "expandableRows"?: boolean;
4340
4806
  /**
4341
4807
  * Width of the table, used as the constraint for horizontal scrolling. **NOTE**: this will disable usage of the responsive flag
4808
+ * @default null
4342
4809
  */
4343
- "horizontalScrollWidth"?: string | null;
4810
+ "horizontalScrollWidth"?: string;
4344
4811
  /**
4345
4812
  * Variant of the component, based on current mode.
4813
+ * @default null
4346
4814
  */
4347
- "modeVariant"?: 'primary' | 'secondary' | null;
4815
+ "modeVariant"?: 'primary' | 'secondary';
4348
4816
  /**
4349
4817
  * Enables multiselect feature of Table
4818
+ * @default false
4350
4819
  */
4351
4820
  "multiselect"?: boolean;
4352
4821
  /**
@@ -4355,18 +4824,22 @@ declare namespace LocalJSX {
4355
4824
  "noMinWidth"?: boolean;
4356
4825
  /**
4357
4826
  * Enables Table to take 100% available width with equal spacing of columns
4827
+ * @default false
4358
4828
  */
4359
4829
  "responsive"?: boolean;
4360
4830
  /**
4361
4831
  * ID used for internal Table functionality and events, must be unique. **NOTE**: If you're listening for Table events, you need to set this ID yourself to identify the Table, as the default ID is random and will be different every time.
4832
+ * @default generateUniqueId()
4362
4833
  */
4363
4834
  "tableId"?: string;
4364
4835
  /**
4365
4836
  * Enables style with vertical dividers between columns
4837
+ * @default false
4366
4838
  */
4367
4839
  "verticalDividers"?: boolean;
4368
4840
  /**
4369
4841
  * Enables zebra stripe mode on the table rows or columns.
4842
+ * @default 'none'
4370
4843
  */
4371
4844
  "zebraMode"?: | 'rows-odd'
4372
4845
  | 'rows-even'
@@ -4379,16 +4852,19 @@ declare namespace LocalJSX {
4379
4852
  interface TdsTableBodyInputWrapper {
4380
4853
  /**
4381
4854
  * Controls if the edit icon is shown
4855
+ * @default true
4382
4856
  */
4383
4857
  "showIcon"?: boolean;
4384
4858
  }
4385
4859
  interface TdsTableBodyRow {
4386
4860
  /**
4387
4861
  * Makes the row clickable and tabbable for accessibility purposes.
4862
+ * @default false
4388
4863
  */
4389
4864
  "clickable"?: boolean;
4390
4865
  /**
4391
4866
  * Marks the row as disabled, used for multiselect table.
4867
+ * @default false
4392
4868
  */
4393
4869
  "disabled"?: boolean;
4394
4870
  /**
@@ -4396,31 +4872,34 @@ declare namespace LocalJSX {
4396
4872
  */
4397
4873
  "onTdsClick"?: (event: TdsTableBodyRowCustomEvent<{
4398
4874
  event: MouseEvent;
4399
- tableId: string | undefined;
4875
+ tableId: string;
4400
4876
  rowIndex: number;
4401
4877
  }>) => void;
4402
4878
  /**
4403
4879
  * Event emitted when a row is selected/deselected.
4404
4880
  */
4405
4881
  "onTdsSelect"?: (event: TdsTableBodyRowCustomEvent<{
4406
- tableId: string | undefined;
4882
+ tableId: string;
4407
4883
  checked: boolean;
4408
- selectedRows: object[] | undefined;
4884
+ selectedRows: any[];
4409
4885
  }>) => void;
4410
4886
  /**
4411
4887
  * Marks the row as selected, used for multiselect table.
4888
+ * @default false
4412
4889
  */
4413
4890
  "selected"?: boolean;
4414
4891
  }
4415
4892
  interface TdsTableBodyRowExpandable {
4416
4893
  /**
4417
4894
  * Enables auto-collapse of other expandable rows when one row is expanded
4895
+ * @default false
4418
4896
  */
4419
4897
  "autoCollapse"?: boolean;
4420
4898
  /**
4421
4899
  * 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
4900
+ * @default null
4422
4901
  */
4423
- "colSpan"?: number | null;
4902
+ "colSpan"?: number;
4424
4903
  /**
4425
4904
  * Sets isExpanded state to true or false externally
4426
4905
  */
@@ -4431,75 +4910,87 @@ declare namespace LocalJSX {
4431
4910
  "onTdsChange"?: (event: TdsTableBodyRowExpandableCustomEvent<{
4432
4911
  rowId: string;
4433
4912
  isExpanded: boolean;
4434
- tableId: string | undefined;
4913
+ tableId: string;
4435
4914
  }>) => void;
4436
4915
  /**
4437
4916
  * Controls the overflow behavior of the expandable row content
4917
+ * @default 'auto'
4438
4918
  */
4439
4919
  "overflow"?: 'auto' | 'hidden' | 'visible';
4440
4920
  /**
4441
4921
  * ID for the table row. Randomly generated if not specified.
4922
+ * @default generateUniqueId()
4442
4923
  */
4443
4924
  "rowId"?: string;
4444
4925
  /**
4445
4926
  * Aria label for the expand button, providing an accessible description
4927
+ * @default ''
4446
4928
  */
4447
4929
  "tdsAriaLabelExpandButton"?: string;
4448
4930
  }
4449
4931
  interface TdsTableFooter {
4450
4932
  /**
4451
4933
  * <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails.
4934
+ * @default null
4452
4935
  */
4453
- "cols"?: number | null;
4936
+ "cols"?: number;
4454
4937
  /**
4455
4938
  * Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
4456
4939
  */
4457
4940
  "onTdsPagination"?: (event: TdsTableFooterCustomEvent<{
4458
- tableId: string | undefined;
4941
+ tableId: string;
4459
4942
  paginationValue: number;
4460
4943
  rowsPerPage?: number;
4461
4944
  }>) => void;
4462
4945
  /**
4463
4946
  * Sets the number of pages.
4947
+ * @default null
4464
4948
  */
4465
4949
  "pages"?: number;
4466
4950
  /**
4467
4951
  * Enable pagination and show pagination controls
4952
+ * @default false
4468
4953
  */
4469
4954
  "pagination"?: boolean;
4470
4955
  /**
4471
4956
  * Sets the pagination number.
4957
+ * @default 1
4472
4958
  */
4473
4959
  "paginationValue"?: number;
4474
4960
  /**
4475
4961
  * Set available rows per page values
4962
+ * @default [10, 25, 50]
4476
4963
  */
4477
4964
  "rowsPerPageValues"?: number[];
4478
4965
  /**
4479
4966
  * Enable rows per page dropdown
4967
+ * @default true
4480
4968
  */
4481
4969
  "rowsperpage"?: boolean;
4482
4970
  }
4483
4971
  interface TdsTableHeader {
4484
4972
  /**
4485
4973
  * @deprecated Deprecated, use selected instead.
4974
+ * @default false
4486
4975
  */
4487
4976
  "allSelected"?: boolean;
4488
4977
  /**
4489
4978
  * Prop for controlling the enabled/disabled state of the "All selected"-checkbox.
4979
+ * @default false
4490
4980
  */
4491
4981
  "disabled"?: boolean;
4492
4982
  /**
4493
4983
  * Prop for controlling the indeterminate state of the "All selected"-checkbox.
4984
+ * @default false
4494
4985
  */
4495
4986
  "indeterminate"?: boolean;
4496
4987
  /**
4497
4988
  * Event emitted when the status of the select all checkbox changes.
4498
4989
  */
4499
4990
  "onTdsSelectAll"?: (event: TdsTableHeaderCustomEvent<{
4500
- tableId: string | undefined;
4991
+ tableId: string;
4501
4992
  checked: boolean;
4502
- selectedRows: object[] | undefined;
4993
+ selectedRows: any[];
4503
4994
  }>) => void;
4504
4995
  /**
4505
4996
  * Prop for controlling the checked/unchecked state of the "All selected"-checkbox.
@@ -4507,36 +4998,44 @@ declare namespace LocalJSX {
4507
4998
  "selected"?: boolean;
4508
4999
  }
4509
5000
  interface TdsTableHeaderInputWrapper {
5001
+ /**
5002
+ * @default false
5003
+ */
4510
5004
  "compactDesign"?: boolean;
4511
5005
  /**
4512
5006
  * Controls if the search icon is shown
5007
+ * @default true
4513
5008
  */
4514
5009
  "showIcon"?: boolean;
4515
5010
  }
4516
5011
  interface TdsTableToolbar {
4517
5012
  /**
4518
5013
  * Enables preview of searchbar
5014
+ * @default false
4519
5015
  */
4520
5016
  "filter"?: boolean;
4521
5017
  /**
4522
5018
  * 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
5019
  */
4524
5020
  "onTdsFilter"?: (event: TdsTableToolbarCustomEvent<{
4525
- tableId: string | undefined;
5021
+ tableId: string;
4526
5022
  query: string;
4527
5023
  }>) => void;
4528
5024
  /**
4529
5025
  * Adds title to the Table
5026
+ * @default ''
4530
5027
  */
4531
5028
  "tableTitle"?: string;
4532
5029
  /**
4533
5030
  * Aria label for the search input, providing an accessible description
5031
+ * @default ''
4534
5032
  */
4535
5033
  "tdsSearchAriaLabel"?: string;
4536
5034
  }
4537
5035
  interface TdsTag {
4538
5036
  /**
4539
5037
  * Sets the size of the tag
5038
+ * @default 'lg'
4540
5039
  */
4541
5040
  "size"?: 'lg' | 'sm';
4542
5041
  /**
@@ -4545,20 +5044,24 @@ declare namespace LocalJSX {
4545
5044
  "text": string;
4546
5045
  /**
4547
5046
  * Sets the variant mode of the tag
5047
+ * @default 'Neutral'
4548
5048
  */
4549
5049
  "variant"?: 'Success' | 'Warning' | 'New' | 'Neutral' | 'Information' | 'Error';
4550
5050
  }
4551
5051
  interface TdsTextField {
4552
5052
  /**
4553
5053
  * Value to be used for the text field's autocomplete attribute
5054
+ * @default 'off'
4554
5055
  */
4555
5056
  "autocomplete"?: string;
4556
5057
  /**
4557
5058
  * Autofocus for input
5059
+ * @default false
4558
5060
  */
4559
5061
  "autofocus"?: boolean;
4560
5062
  /**
4561
5063
  * Set input in disabled state
5064
+ * @default false
4562
5065
  */
4563
5066
  "disabled"?: boolean;
4564
5067
  /**
@@ -4567,14 +5070,17 @@ declare namespace LocalJSX {
4567
5070
  "helper"?: string;
4568
5071
  /**
4569
5072
  * Hides the read-only icon in the Text Field. Requires Read Only to be enabled.
5073
+ * @default false
4570
5074
  */
4571
5075
  "hideReadOnlyIcon"?: boolean;
4572
5076
  /**
4573
5077
  * Label text
5078
+ * @default ''
4574
5079
  */
4575
5080
  "label"?: string;
4576
5081
  /**
4577
5082
  * Position of the label for the Text Field.
5083
+ * @default 'no-label'
4578
5084
  */
4579
5085
  "labelPosition"?: 'inside' | 'outside' | 'no-label';
4580
5086
  /**
@@ -4591,14 +5097,17 @@ declare namespace LocalJSX {
4591
5097
  "min"?: string | number;
4592
5098
  /**
4593
5099
  * Mode variant of the Text Field
5100
+ * @default null
4594
5101
  */
4595
- "modeVariant"?: 'primary' | 'secondary' | null;
5102
+ "modeVariant"?: 'primary' | 'secondary';
4596
5103
  /**
4597
5104
  * Name property
5105
+ * @default ''
4598
5106
  */
4599
5107
  "name"?: string;
4600
5108
  /**
4601
5109
  * Unset minimum width of 208px.
5110
+ * @default false
4602
5111
  */
4603
5112
  "noMinWidth"?: boolean;
4604
5113
  /**
@@ -4619,22 +5128,27 @@ declare namespace LocalJSX {
4619
5128
  "onTdsInput"?: (event: TdsTextFieldCustomEvent<InputEvent>) => void;
4620
5129
  /**
4621
5130
  * Placeholder text
5131
+ * @default ''
4622
5132
  */
4623
5133
  "placeholder"?: string;
4624
5134
  /**
4625
5135
  * Set input in readonly state
5136
+ * @default false
4626
5137
  */
4627
5138
  "readOnly"?: boolean;
4628
5139
  /**
4629
5140
  * Makes the text field required
5141
+ * @default false
4630
5142
  */
4631
5143
  "required"?: boolean;
4632
5144
  /**
4633
5145
  * Size of the input
5146
+ * @default 'lg'
4634
5147
  */
4635
5148
  "size"?: 'sm' | 'md' | 'lg';
4636
5149
  /**
4637
5150
  * Error state of input
5151
+ * @default 'default'
4638
5152
  */
4639
5153
  "state"?: 'error' | 'success' | 'default';
4640
5154
  /**
@@ -4643,16 +5157,19 @@ declare namespace LocalJSX {
4643
5157
  "tdsAriaLabel"?: string;
4644
5158
  /**
4645
5159
  * Which input type, text, password or similar
5160
+ * @default 'text'
4646
5161
  */
4647
5162
  "type"?: 'text' | 'password' | 'number' | 'email' | 'tel';
4648
5163
  /**
4649
5164
  * Value of the input text
5165
+ * @default ''
4650
5166
  */
4651
5167
  "value"?: string;
4652
5168
  }
4653
5169
  interface TdsTextarea {
4654
5170
  /**
4655
5171
  * Control of autofocus
5172
+ * @default false
4656
5173
  */
4657
5174
  "autofocus"?: boolean;
4658
5175
  /**
@@ -4661,6 +5178,7 @@ declare namespace LocalJSX {
4661
5178
  "cols"?: number;
4662
5179
  /**
4663
5180
  * Set input in disabled state
5181
+ * @default false
4664
5182
  */
4665
5183
  "disabled"?: boolean;
4666
5184
  /**
@@ -4669,14 +5187,17 @@ declare namespace LocalJSX {
4669
5187
  "helper"?: string;
4670
5188
  /**
4671
5189
  * Hide the readonly icon
5190
+ * @default false
4672
5191
  */
4673
5192
  "hideReadOnlyIcon"?: boolean;
4674
5193
  /**
4675
5194
  * Label text
5195
+ * @default ''
4676
5196
  */
4677
5197
  "label"?: string;
4678
5198
  /**
4679
5199
  * Position of the label for the Textarea.
5200
+ * @default 'no-label'
4680
5201
  */
4681
5202
  "labelPosition"?: 'inside' | 'outside' | 'no-label';
4682
5203
  /**
@@ -4685,14 +5206,17 @@ declare namespace LocalJSX {
4685
5206
  "maxLength"?: number;
4686
5207
  /**
4687
5208
  * Mode variant of the Textarea
5209
+ * @default null
4688
5210
  */
4689
- "modeVariant"?: 'primary' | 'secondary' | null;
5211
+ "modeVariant"?: 'primary' | 'secondary';
4690
5212
  /**
4691
5213
  * Name attribute
5214
+ * @default ''
4692
5215
  */
4693
5216
  "name"?: string;
4694
5217
  /**
4695
5218
  * Unset minimum width of 208px.
5219
+ * @default false
4696
5220
  */
4697
5221
  "noMinWidth"?: boolean;
4698
5222
  /**
@@ -4713,10 +5237,12 @@ declare namespace LocalJSX {
4713
5237
  "onTdsInput"?: (event: TdsTextareaCustomEvent<InputEvent>) => void;
4714
5238
  /**
4715
5239
  * Placeholder text
5240
+ * @default ''
4716
5241
  */
4717
5242
  "placeholder"?: string;
4718
5243
  /**
4719
5244
  * Set input in readonly state
5245
+ * @default false
4720
5246
  */
4721
5247
  "readOnly"?: boolean;
4722
5248
  /**
@@ -4725,6 +5251,7 @@ declare namespace LocalJSX {
4725
5251
  "rows"?: number;
4726
5252
  /**
4727
5253
  * Error state of input
5254
+ * @default 'default'
4728
5255
  */
4729
5256
  "state"?: 'error' | 'success' | 'default';
4730
5257
  /**
@@ -4733,12 +5260,14 @@ declare namespace LocalJSX {
4733
5260
  "tdsAriaLabel"?: string;
4734
5261
  /**
4735
5262
  * Value of the input text
5263
+ * @default ''
4736
5264
  */
4737
5265
  "value"?: string;
4738
5266
  }
4739
5267
  interface TdsToast {
4740
5268
  /**
4741
5269
  * Enables the close button.
5270
+ * @default true
4742
5271
  */
4743
5272
  "closable"?: boolean;
4744
5273
  /**
@@ -4747,6 +5276,7 @@ declare namespace LocalJSX {
4747
5276
  "header"?: string;
4748
5277
  /**
4749
5278
  * Hides the Toast.
5279
+ * @default false
4750
5280
  */
4751
5281
  "hidden"?: boolean;
4752
5282
  /**
@@ -4761,6 +5291,7 @@ declare namespace LocalJSX {
4761
5291
  "subheader"?: string;
4762
5292
  /**
4763
5293
  * ARIA live for the Toast.
5294
+ * @default 'polite'
4764
5295
  */
4765
5296
  "tdsAriaLive"?: 'polite' | 'assertive';
4766
5297
  /**
@@ -4769,24 +5300,29 @@ declare namespace LocalJSX {
4769
5300
  "tdsCloseAriaLabel"?: string;
4770
5301
  /**
4771
5302
  * ID for the Toast. Randomly generated if not specified.
5303
+ * @default generateUniqueId()
4772
5304
  */
4773
5305
  "toastId"?: string;
4774
5306
  /**
4775
5307
  * ARIA role for the Toast.
5308
+ * @default 'alert'
4776
5309
  */
4777
5310
  "toastRole"?: 'alert' | 'log' | 'status';
4778
5311
  /**
4779
5312
  * Type of Toast.
5313
+ * @default 'information'
4780
5314
  */
4781
5315
  "variant"?: 'information' | 'error' | 'warning' | 'success';
4782
5316
  }
4783
5317
  interface TdsToggle {
4784
5318
  /**
4785
5319
  * Sets the Toggle as checked
5320
+ * @default false
4786
5321
  */
4787
5322
  "checked"?: boolean;
4788
5323
  /**
4789
5324
  * Sets the Toggle in a disabled state
5325
+ * @default false
4790
5326
  */
4791
5327
  "disabled"?: boolean;
4792
5328
  /**
@@ -4806,10 +5342,12 @@ declare namespace LocalJSX {
4806
5342
  }>) => void;
4807
5343
  /**
4808
5344
  * Make the Toggle required
5345
+ * @default false
4809
5346
  */
4810
5347
  "required"?: boolean;
4811
5348
  /**
4812
5349
  * Size of the Toggle
5350
+ * @default 'lg'
4813
5351
  */
4814
5352
  "size"?: 'sm' | 'lg';
4815
5353
  /**
@@ -4818,28 +5356,34 @@ declare namespace LocalJSX {
4818
5356
  "tdsAriaLabel"?: string;
4819
5357
  /**
4820
5358
  * ID of the Toggle's input element, if not specified, it's randomly generated
5359
+ * @default generateUniqueId()
4821
5360
  */
4822
5361
  "toggleId"?: string;
4823
5362
  }
4824
5363
  interface TdsTooltip {
4825
5364
  /**
4826
5365
  * Decides if the component should be visible from the start.
5366
+ * @default false
4827
5367
  */
4828
5368
  "defaultShow"?: boolean;
4829
5369
  /**
4830
5370
  * Allow mouse over Tooltip. Useful when Tooltip contains clickable elements like link or button.
5371
+ * @default false
4831
5372
  */
4832
5373
  "mouseOverTooltip"?: boolean;
4833
5374
  /**
4834
5375
  * Sets the offset distance
5376
+ * @default 8
4835
5377
  */
4836
5378
  "offsetDistance"?: number;
4837
5379
  /**
4838
5380
  * Sets the offset skidding
5381
+ * @default 0
4839
5382
  */
4840
5383
  "offsetSkidding"?: number;
4841
5384
  /**
4842
5385
  * Placement of Tooltip.
5386
+ * @default 'bottom'
4843
5387
  */
4844
5388
  "placement"?: Placement;
4845
5389
  /**
@@ -4852,18 +5396,21 @@ declare namespace LocalJSX {
4852
5396
  "selector"?: string;
4853
5397
  /**
4854
5398
  * Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
5399
+ * @default null
4855
5400
  */
4856
- "show"?: boolean | null;
5401
+ "show"?: boolean;
4857
5402
  /**
4858
5403
  * Sets the aria-describedby attribute
4859
5404
  */
4860
5405
  "tdsAriaDescribedby"?: string;
4861
5406
  /**
4862
5407
  * In case Tooltip contains only text, no HTML, a text can be passed by this prop
5408
+ * @default ''
4863
5409
  */
4864
5410
  "text"?: string;
4865
5411
  /**
4866
5412
  * What triggers the popover to show
5413
+ * @default 'hover'
4867
5414
  */
4868
5415
  "trigger"?: 'click' | 'hover';
4869
5416
  }