@scania/tegel 1.42.0 → 1.44.0-sonarcloud-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 (499) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-accordion-item.cjs.entry.js +3 -3
  3. package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/tds-banner.cjs.entry.js +2 -2
  5. package/dist/cjs/tds-block.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-body-cell.cjs.entry.js +6 -5
  7. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
  8. package/dist/cjs/tds-button_2.cjs.entry.js +7 -5
  9. package/dist/cjs/tds-card.cjs.entry.js +2 -2
  10. package/dist/cjs/tds-checkbox.cjs.entry.js +5 -4
  11. package/dist/cjs/tds-chip.cjs.entry.js +1 -1
  12. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
  13. package/dist/cjs/tds-datetime.cjs.entry.js +10 -7
  14. package/dist/cjs/tds-dropdown_2.cjs.entry.js +55 -37
  15. package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
  16. package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -5
  17. package/dist/cjs/tds-footer-group.cjs.entry.js +7 -6
  18. package/dist/cjs/tds-footer-item.cjs.entry.js +6 -2
  19. package/dist/cjs/tds-footer.cjs.entry.js +2 -2
  20. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
  21. package/dist/cjs/tds-header-cell.cjs.entry.js +11 -6
  22. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
  23. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
  25. package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -6
  26. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  29. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header-launcher.cjs.entry.js +9 -5
  31. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  32. package/dist/cjs/tds-header.cjs.entry.js +9 -7
  33. package/dist/cjs/tds-icon.cjs.entry.js +2 -3
  34. package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
  35. package/dist/cjs/tds-inline-tabs.cjs.entry.js +14 -4
  36. package/dist/cjs/tds-link.cjs.entry.js +2 -2
  37. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  38. package/dist/cjs/tds-modal.cjs.entry.js +8 -7
  39. package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
  40. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +16 -6
  41. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
  42. package/dist/cjs/tds-popover-core.cjs.entry.js +19 -17
  43. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
  44. package/dist/cjs/tds-radio-button.cjs.entry.js +4 -1
  45. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  46. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -4
  47. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +13 -9
  48. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
  49. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -5
  50. package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
  51. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
  52. package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
  53. package/dist/cjs/tds-side-menu.cjs.entry.js +13 -10
  54. package/dist/cjs/tds-slider.cjs.entry.js +27 -16
  55. package/dist/cjs/tds-step.cjs.entry.js +3 -1
  56. package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
  57. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
  58. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +17 -10
  59. package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -5
  60. package/dist/cjs/tds-table-body.cjs.entry.js +10 -6
  61. package/dist/cjs/tds-table-footer.cjs.entry.js +16 -9
  62. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  63. package/dist/cjs/tds-table-header.cjs.entry.js +24 -18
  64. package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -4
  65. package/dist/cjs/tds-table.cjs.entry.js +17 -15
  66. package/dist/cjs/tds-tag.cjs.entry.js +1 -1
  67. package/dist/cjs/tds-text-field.cjs.entry.js +49 -23
  68. package/dist/cjs/tds-textarea.cjs.entry.js +7 -6
  69. package/dist/cjs/tds-toast.cjs.entry.js +3 -3
  70. package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
  71. package/dist/cjs/tds-tooltip.cjs.entry.js +7 -10
  72. package/dist/cjs/tegel.cjs.js +1 -1
  73. package/dist/collection/collection-manifest.json +1 -1
  74. package/dist/collection/components/accordion/accordion-item/accordion-item.js +3 -3
  75. package/dist/collection/components/accordion/accordion.js +4 -4
  76. package/dist/collection/components/banner/banner.js +8 -8
  77. package/dist/collection/components/block/block.js +3 -3
  78. package/dist/collection/components/breadcrumbs/breadcrumbs.js +3 -3
  79. package/dist/collection/components/button/button.js +17 -15
  80. package/dist/collection/components/card/card.js +12 -12
  81. package/dist/collection/components/checkbox/checkbox.js +14 -13
  82. package/dist/collection/components/chip/chip.js +11 -11
  83. package/dist/collection/components/datetime/datetime.js +20 -17
  84. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +14 -11
  85. package/dist/collection/components/dropdown/dropdown.css +2 -1
  86. package/dist/collection/components/dropdown/dropdown.js +62 -49
  87. package/dist/collection/components/footer/footer-group/footer-group.js +11 -10
  88. package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
  89. package/dist/collection/components/footer/footer.js +4 -4
  90. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  91. package/dist/collection/components/header/header-dropdown/header-dropdown.css +2 -1
  92. package/dist/collection/components/header/header-dropdown/header-dropdown.js +11 -9
  93. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
  94. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
  95. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +9 -9
  96. package/dist/collection/components/header/header-hamburger/header-hamburger.js +3 -3
  97. package/dist/collection/components/header/header-item/header-item.js +9 -5
  98. package/dist/collection/components/header/header-launcher/header-launcher.css +2 -1
  99. package/dist/collection/components/header/header-launcher/header-launcher.js +10 -6
  100. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -3
  101. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
  102. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  103. package/dist/collection/components/header/header-title/header-title.css +1 -1
  104. package/dist/collection/components/header/header.css +2 -1
  105. package/dist/collection/components/header/header.js +8 -6
  106. package/dist/collection/components/icon/icon.js +4 -5
  107. package/dist/collection/components/link/link.js +2 -2
  108. package/dist/collection/components/message/message.css +3 -2
  109. package/dist/collection/components/message/message.js +8 -8
  110. package/dist/collection/components/modal/modal.css +2 -3
  111. package/dist/collection/components/modal/modal.js +20 -15
  112. package/dist/collection/components/popover-canvas/popover-canvas.js +11 -11
  113. package/dist/collection/components/popover-core/popover-core.js +31 -34
  114. package/dist/collection/components/popover-menu/popover-menu.js +11 -11
  115. package/dist/collection/components/radio-button/radio-button.js +14 -11
  116. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  117. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -4
  118. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +11 -7
  119. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  120. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -9
  121. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +15 -9
  122. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +7 -7
  123. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -5
  124. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +3 -3
  125. package/dist/collection/components/side-menu/side-menu.css +2 -1
  126. package/dist/collection/components/side-menu/side-menu.js +12 -9
  127. package/dist/collection/components/slider/slider.js +27 -16
  128. package/dist/collection/components/stepper/step/step.js +7 -5
  129. package/dist/collection/components/stepper/stepper.js +1 -1
  130. package/dist/collection/components/table/table/table.css +2 -1
  131. package/dist/collection/components/table/table/table.js +40 -22
  132. package/dist/collection/components/table/table-body/table-body.js +10 -6
  133. package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -15
  134. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  135. package/dist/collection/components/table/table-body-row/table-body-row.js +13 -10
  136. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +25 -18
  137. package/dist/collection/components/table/table-footer/table-footer.js +21 -14
  138. package/dist/collection/components/table/table-header/table-header.js +29 -23
  139. package/dist/collection/components/table/table-header-cell/table-header-cell.js +31 -20
  140. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  141. package/dist/collection/components/table/table-toolbar/table-toolbar.js +8 -6
  142. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
  143. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +22 -11
  144. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
  145. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +18 -8
  146. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
  147. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +20 -10
  148. package/dist/collection/components/tag/tag.js +1 -1
  149. package/dist/collection/components/text-field/text-field.css +8 -0
  150. package/dist/collection/components/text-field/text-field.js +109 -34
  151. package/dist/collection/components/textarea/textarea.js +19 -18
  152. package/dist/collection/components/toast/toast.js +9 -9
  153. package/dist/collection/components/toggle/toggle.js +11 -10
  154. package/dist/collection/components/tooltip/tooltip.js +14 -17
  155. package/dist/collection/tegel-lite/components/tl-dropdown/_dropdownKeyboard.js +190 -0
  156. package/dist/collection/tegel-lite/components/tl-dropdown/_dropdownScripts.js +304 -0
  157. package/dist/collection/utils/appendHiddenInput.js +6 -4
  158. package/dist/components/{p-3f2187a4.js → p-0f9ce30b.js} +1 -1
  159. package/dist/components/{p-3a7e4d0d.js → p-122f8027.js} +54 -26
  160. package/dist/components/{p-f7d94947.js → p-2d8f385e.js} +2 -3
  161. package/dist/components/{p-bff614d5.js → p-32351d04.js} +1 -1
  162. package/dist/components/{p-63552d0e.js → p-49b20476.js} +5 -5
  163. package/dist/components/{p-7c3348eb.js → p-4c0aa33f.js} +9 -5
  164. package/dist/components/{p-04a014cf.js → p-4f672d4f.js} +8 -11
  165. package/dist/components/{p-44f5b5e1.js → p-542226b2.js} +5 -4
  166. package/dist/components/{p-1dafdc8c.js → p-5725d7a2.js} +15 -9
  167. package/dist/components/{p-5ea0ae00.js → p-6fa6de6f.js} +46 -31
  168. package/dist/components/{p-6ef207b2.js → p-b6a99457.js} +12 -9
  169. package/dist/components/{p-de86852a.js → p-e0997ae2.js} +2 -2
  170. package/dist/components/{p-3308d5fa.js → p-e62ed985.js} +19 -17
  171. package/dist/components/{p-d10d21bd.js → p-f2a10fa2.js} +3 -3
  172. package/dist/components/{p-c62b61fe.js → p-f6685f1b.js} +7 -5
  173. package/dist/components/{p-9336db16.js → p-f8db4031.js} +5 -3
  174. package/dist/components/tds-accordion-item.js +4 -4
  175. package/dist/components/tds-accordion.js +2 -2
  176. package/dist/components/tds-banner.js +3 -3
  177. package/dist/components/tds-block.js +1 -1
  178. package/dist/components/tds-body-cell.js +7 -6
  179. package/dist/components/tds-breadcrumbs.js +1 -1
  180. package/dist/components/tds-button.js +1 -1
  181. package/dist/components/tds-card.js +4 -4
  182. package/dist/components/tds-checkbox.js +1 -1
  183. package/dist/components/tds-chip.js +1 -1
  184. package/dist/components/tds-datetime.js +11 -8
  185. package/dist/components/tds-dropdown-option.js +1 -1
  186. package/dist/components/tds-dropdown.js +1 -1
  187. package/dist/components/tds-folder-tab.js +2 -2
  188. package/dist/components/tds-folder-tabs.js +17 -6
  189. package/dist/components/tds-footer-group.js +8 -7
  190. package/dist/components/tds-footer-item.js +6 -2
  191. package/dist/components/tds-footer.js +2 -2
  192. package/dist/components/tds-header-brand-symbol.js +3 -3
  193. package/dist/components/tds-header-cell.js +12 -7
  194. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  195. package/dist/components/tds-header-dropdown-list-user.js +1 -1
  196. package/dist/components/tds-header-dropdown-list.js +1 -1
  197. package/dist/components/tds-header-dropdown.js +12 -10
  198. package/dist/components/tds-header-hamburger.js +3 -3
  199. package/dist/components/tds-header-item.js +1 -1
  200. package/dist/components/tds-header-launcher-button.js +1 -1
  201. package/dist/components/tds-header-launcher-grid.js +1 -1
  202. package/dist/components/tds-header-launcher-list-item.js +1 -1
  203. package/dist/components/tds-header-launcher-list-title.js +1 -1
  204. package/dist/components/tds-header-launcher-list.js +1 -1
  205. package/dist/components/tds-header-launcher.js +14 -10
  206. package/dist/components/tds-header-title.js +1 -1
  207. package/dist/components/tds-header.js +9 -7
  208. package/dist/components/tds-icon.js +1 -1
  209. package/dist/components/tds-inline-tab.js +2 -2
  210. package/dist/components/tds-inline-tabs.js +15 -5
  211. package/dist/components/tds-link.js +2 -2
  212. package/dist/components/tds-message.js +4 -4
  213. package/dist/components/tds-modal.js +9 -8
  214. package/dist/components/tds-navigation-tab.js +2 -2
  215. package/dist/components/tds-navigation-tabs.js +17 -7
  216. package/dist/components/tds-popover-canvas.js +1 -1
  217. package/dist/components/tds-popover-core.js +1 -1
  218. package/dist/components/tds-popover-menu.js +5 -5
  219. package/dist/components/tds-radio-button.js +4 -1
  220. package/dist/components/tds-side-menu-close-button.js +2 -2
  221. package/dist/components/tds-side-menu-collapse-button.js +6 -5
  222. package/dist/components/tds-side-menu-dropdown-list-item.js +13 -9
  223. package/dist/components/tds-side-menu-dropdown-list.js +3 -3
  224. package/dist/components/tds-side-menu-dropdown.js +11 -7
  225. package/dist/components/tds-side-menu-item.js +1 -1
  226. package/dist/components/tds-side-menu-user-image.js +1 -1
  227. package/dist/components/tds-side-menu-user-label.js +1 -1
  228. package/dist/components/tds-side-menu-user.js +3 -3
  229. package/dist/components/tds-side-menu.js +13 -10
  230. package/dist/components/tds-slider.js +31 -20
  231. package/dist/components/tds-step.js +4 -2
  232. package/dist/components/tds-stepper.js +1 -1
  233. package/dist/components/tds-table-body-input-wrapper.js +2 -2
  234. package/dist/components/tds-table-body-row-expandable.js +17 -10
  235. package/dist/components/tds-table-body-row.js +9 -6
  236. package/dist/components/tds-table-body.js +10 -6
  237. package/dist/components/tds-table-footer.js +20 -13
  238. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  239. package/dist/components/tds-table-header.js +25 -19
  240. package/dist/components/tds-table-toolbar.js +7 -5
  241. package/dist/components/tds-table.js +17 -15
  242. package/dist/components/tds-tag.js +1 -1
  243. package/dist/components/tds-text-field.js +1 -1
  244. package/dist/components/tds-textarea.js +10 -9
  245. package/dist/components/tds-toast.js +4 -4
  246. package/dist/components/tds-toggle.js +5 -4
  247. package/dist/components/tds-tooltip.js +1 -1
  248. package/dist/esm/loader.js +1 -1
  249. package/dist/esm/tds-accordion-item.entry.js +3 -3
  250. package/dist/esm/tds-accordion.entry.js +2 -2
  251. package/dist/esm/tds-banner.entry.js +2 -2
  252. package/dist/esm/tds-block.entry.js +1 -1
  253. package/dist/esm/tds-body-cell.entry.js +6 -5
  254. package/dist/esm/tds-breadcrumbs.entry.js +1 -1
  255. package/dist/esm/tds-button_2.entry.js +7 -5
  256. package/dist/esm/tds-card.entry.js +2 -2
  257. package/dist/esm/tds-checkbox.entry.js +5 -4
  258. package/dist/esm/tds-chip.entry.js +1 -1
  259. package/dist/esm/tds-core-header-item_2.entry.js +9 -5
  260. package/dist/esm/tds-datetime.entry.js +10 -7
  261. package/dist/esm/tds-dropdown_2.entry.js +55 -37
  262. package/dist/esm/tds-folder-tab.entry.js +2 -2
  263. package/dist/esm/tds-folder-tabs.entry.js +16 -5
  264. package/dist/esm/tds-footer-group.entry.js +7 -6
  265. package/dist/esm/tds-footer-item.entry.js +6 -2
  266. package/dist/esm/tds-footer.entry.js +2 -2
  267. package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
  268. package/dist/esm/tds-header-cell.entry.js +11 -6
  269. package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
  270. package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
  271. package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
  272. package/dist/esm/tds-header-dropdown.entry.js +8 -6
  273. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  274. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  275. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  276. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  277. package/dist/esm/tds-header-launcher.entry.js +9 -5
  278. package/dist/esm/tds-header-title.entry.js +1 -1
  279. package/dist/esm/tds-header.entry.js +9 -7
  280. package/dist/esm/tds-icon.entry.js +2 -3
  281. package/dist/esm/tds-inline-tab.entry.js +2 -2
  282. package/dist/esm/tds-inline-tabs.entry.js +14 -4
  283. package/dist/esm/tds-link.entry.js +2 -2
  284. package/dist/esm/tds-message.entry.js +3 -3
  285. package/dist/esm/tds-modal.entry.js +8 -7
  286. package/dist/esm/tds-navigation-tab.entry.js +2 -2
  287. package/dist/esm/tds-navigation-tabs.entry.js +16 -6
  288. package/dist/esm/tds-popover-canvas.entry.js +4 -4
  289. package/dist/esm/tds-popover-core.entry.js +19 -17
  290. package/dist/esm/tds-popover-menu.entry.js +4 -4
  291. package/dist/esm/tds-radio-button.entry.js +4 -1
  292. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  293. package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -4
  294. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +13 -9
  295. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
  296. package/dist/esm/tds-side-menu-dropdown.entry.js +9 -5
  297. package/dist/esm/tds-side-menu-item.entry.js +15 -9
  298. package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
  299. package/dist/esm/tds-side-menu-user.entry.js +1 -1
  300. package/dist/esm/tds-side-menu.entry.js +13 -10
  301. package/dist/esm/tds-slider.entry.js +27 -16
  302. package/dist/esm/tds-step.entry.js +3 -1
  303. package/dist/esm/tds-stepper.entry.js +1 -1
  304. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
  305. package/dist/esm/tds-table-body-row-expandable.entry.js +17 -10
  306. package/dist/esm/tds-table-body-row.entry.js +8 -5
  307. package/dist/esm/tds-table-body.entry.js +10 -6
  308. package/dist/esm/tds-table-footer.entry.js +16 -9
  309. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  310. package/dist/esm/tds-table-header.entry.js +24 -18
  311. package/dist/esm/tds-table-toolbar.entry.js +6 -4
  312. package/dist/esm/tds-table.entry.js +17 -15
  313. package/dist/esm/tds-tag.entry.js +1 -1
  314. package/dist/esm/tds-text-field.entry.js +49 -23
  315. package/dist/esm/tds-textarea.entry.js +7 -6
  316. package/dist/esm/tds-toast.entry.js +3 -3
  317. package/dist/esm/tds-toggle.entry.js +5 -4
  318. package/dist/esm/tds-tooltip.entry.js +7 -10
  319. package/dist/esm/tegel.js +1 -1
  320. package/dist/tegel/p-066e9613.entry.js +1 -0
  321. package/dist/tegel/p-0684b6d3.entry.js +1 -0
  322. package/dist/tegel/p-078217d1.entry.js +1 -0
  323. package/dist/tegel/{p-7887bdbb.entry.js → p-07d16763.entry.js} +1 -1
  324. package/dist/tegel/{p-c2e514b4.entry.js → p-08c993f3.entry.js} +1 -1
  325. package/dist/tegel/p-08f5a526.entry.js +1 -0
  326. package/dist/tegel/p-0e3fcc9f.entry.js +1 -0
  327. package/dist/tegel/{p-646d1df4.entry.js → p-10340b85.entry.js} +1 -1
  328. package/dist/tegel/{p-f2318c88.entry.js → p-106dd3e9.entry.js} +1 -1
  329. package/dist/tegel/p-1073fb33.entry.js +1 -0
  330. package/dist/tegel/p-15ae9443.entry.js +1 -0
  331. package/dist/tegel/p-15b9a73b.entry.js +1 -0
  332. package/dist/tegel/p-17893043.entry.js +1 -0
  333. package/dist/tegel/p-25928640.entry.js +1 -0
  334. package/dist/tegel/p-25c4e6f6.entry.js +1 -0
  335. package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
  336. package/dist/tegel/{p-f31f56fe.entry.js → p-300af79f.entry.js} +1 -1
  337. package/dist/tegel/p-336abf3f.entry.js +1 -0
  338. package/dist/tegel/p-38725623.entry.js +1 -0
  339. package/dist/tegel/{p-72006dd7.entry.js → p-3ba2e575.entry.js} +1 -1
  340. package/dist/tegel/p-419212b5.entry.js +1 -0
  341. package/dist/tegel/p-4909249c.entry.js +1 -0
  342. package/dist/tegel/p-4a10393b.entry.js +1 -0
  343. package/dist/tegel/{p-c6968db1.entry.js → p-4a32a7f8.entry.js} +1 -1
  344. package/dist/tegel/{p-987f8f0f.entry.js → p-4a7c213f.entry.js} +1 -1
  345. package/dist/tegel/p-4abe96b6.entry.js +1 -0
  346. package/dist/tegel/p-508a55c0.entry.js +1 -0
  347. package/dist/tegel/p-576a60ff.entry.js +1 -0
  348. package/dist/tegel/{p-ca32a270.entry.js → p-57a2d4de.entry.js} +1 -1
  349. package/dist/tegel/p-5b80467f.entry.js +1 -0
  350. package/dist/tegel/{p-ca16f1ed.entry.js → p-5bab691f.entry.js} +1 -1
  351. package/dist/tegel/{p-655051b6.entry.js → p-608997fa.entry.js} +1 -1
  352. package/dist/tegel/p-63f77d7c.entry.js +1 -0
  353. package/dist/tegel/p-6bb6425c.entry.js +1 -0
  354. package/dist/tegel/{p-e6e9d11f.entry.js → p-739068bf.entry.js} +1 -1
  355. package/dist/tegel/{p-88bb1059.entry.js → p-79fb0088.entry.js} +1 -1
  356. package/dist/tegel/p-8e930da5.entry.js +1 -0
  357. package/dist/tegel/p-947ec2b0.entry.js +1 -0
  358. package/dist/tegel/p-9ec850a5.entry.js +1 -0
  359. package/dist/tegel/p-9f154997.entry.js +1 -0
  360. package/dist/tegel/p-a00ad341.entry.js +1 -0
  361. package/dist/tegel/p-a15280db.entry.js +1 -0
  362. package/dist/tegel/p-a2aaf61c.entry.js +1 -0
  363. package/dist/tegel/p-aa795666.entry.js +1 -0
  364. package/dist/tegel/{p-f8a37d39.entry.js → p-bc697ea7.entry.js} +1 -1
  365. package/dist/tegel/p-bf40233e.entry.js +1 -0
  366. package/dist/tegel/{p-177386d5.entry.js → p-c05f61d6.entry.js} +1 -1
  367. package/dist/tegel/{p-b7abb81f.entry.js → p-c2ab817d.entry.js} +1 -1
  368. package/dist/tegel/p-c4719b10.entry.js +1 -0
  369. package/dist/tegel/p-c66b99a8.entry.js +1 -0
  370. package/dist/tegel/p-c7be09fc.entry.js +1 -0
  371. package/dist/tegel/p-c8fd6b3b.entry.js +1 -0
  372. package/dist/tegel/p-caadaf33.entry.js +1 -0
  373. package/dist/tegel/p-ce6faf0e.entry.js +1 -0
  374. package/dist/tegel/p-d031a7ca.entry.js +1 -0
  375. package/dist/tegel/{p-57a28f62.entry.js → p-da72f897.entry.js} +1 -1
  376. package/dist/tegel/{p-ceed0476.entry.js → p-dc93c6e5.entry.js} +1 -1
  377. package/dist/tegel/p-ded1191e.entry.js +1 -0
  378. package/dist/tegel/p-e2a6c30c.entry.js +1 -0
  379. package/dist/tegel/p-e2db17a5.entry.js +1 -0
  380. package/dist/tegel/{p-bcd5e06d.entry.js → p-e40d454d.entry.js} +1 -1
  381. package/dist/tegel/p-e53da1e5.entry.js +1 -0
  382. package/dist/tegel/{p-e8b58680.entry.js → p-e64c36a3.entry.js} +1 -1
  383. package/dist/tegel/p-e71f56c7.entry.js +1 -0
  384. package/dist/tegel/p-ebf13d81.entry.js +1 -0
  385. package/dist/tegel/{p-28f85555.entry.js → p-ede87410.entry.js} +1 -1
  386. package/dist/tegel/{p-4b5e15cc.entry.js → p-f1d58cbf.entry.js} +1 -1
  387. package/dist/tegel/p-f3cf4eba.entry.js +1 -0
  388. package/dist/tegel/{p-771f53c2.entry.js → p-fc26fb72.entry.js} +1 -1
  389. package/dist/tegel/p-fd077a19.entry.js +1 -0
  390. package/dist/tegel/tegel.css +1 -1
  391. package/dist/tegel/tegel.esm.js +1 -1
  392. package/dist/types/components/accordion/accordion.d.ts +1 -1
  393. package/dist/types/components/banner/banner.d.ts +3 -3
  394. package/dist/types/components/block/block.d.ts +1 -1
  395. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  396. package/dist/types/components/button/button.d.ts +5 -5
  397. package/dist/types/components/card/card.d.ts +5 -5
  398. package/dist/types/components/checkbox/checkbox.d.ts +4 -4
  399. package/dist/types/components/chip/chip.d.ts +5 -5
  400. package/dist/types/components/datetime/datetime.d.ts +6 -6
  401. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +2 -2
  402. package/dist/types/components/dropdown/dropdown.d.ts +14 -14
  403. package/dist/types/components/footer/footer-group/footer-group.d.ts +2 -2
  404. package/dist/types/components/footer/footer.d.ts +1 -1
  405. package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +2 -2
  406. package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +4 -4
  407. package/dist/types/components/header/header-hamburger/header-hamburger.d.ts +1 -1
  408. package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
  409. package/dist/types/components/header/header-launcher-button/header-launcher-button.d.ts +1 -1
  410. package/dist/types/components/header/header-launcher-grid/header-launcher-grid.d.ts +1 -1
  411. package/dist/types/components/icon/icon.d.ts +1 -1
  412. package/dist/types/components/message/message.d.ts +3 -3
  413. package/dist/types/components/modal/modal.d.ts +4 -4
  414. package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -3
  415. package/dist/types/components/popover-core/popover-core.d.ts +5 -5
  416. package/dist/types/components/popover-menu/popover-menu.d.ts +3 -3
  417. package/dist/types/components/radio-button/radio-button.d.ts +5 -5
  418. package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +1 -1
  419. package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -3
  420. package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +2 -2
  421. package/dist/types/components/side-menu/side-menu-user-label/side-menu-user-label.d.ts +1 -1
  422. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  423. package/dist/types/components/stepper/step/step.d.ts +6 -6
  424. package/dist/types/components/table/table/table.d.ts +8 -4
  425. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  426. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +12 -9
  427. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  428. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  429. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +8 -8
  430. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
  431. package/dist/types/components/table/table-header/table-header.d.ts +6 -6
  432. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +11 -11
  433. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  434. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  435. package/dist/types/components/tabs/folder-tabs/folder-tab/folder-tab.d.ts +1 -1
  436. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +3 -3
  437. package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +2 -2
  438. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +2 -2
  439. package/dist/types/components/text-field/text-field.d.ts +18 -7
  440. package/dist/types/components/textarea/textarea.d.ts +7 -7
  441. package/dist/types/components/toast/toast.d.ts +3 -3
  442. package/dist/types/components/toggle/toggle.d.ts +3 -3
  443. package/dist/types/components/tooltip/tooltip.d.ts +3 -3
  444. package/dist/types/components.d.ts +207 -184
  445. package/dist/types/tegel-lite/components/tl-dropdown/_dropdownKeyboard.d.ts +1 -0
  446. package/dist/types/tegel-lite/components/tl-dropdown/_dropdownScripts.d.ts +4 -0
  447. package/dist/types/types/Attributes.d.ts +1 -1
  448. package/dist/types/utils/appendHiddenInput.d.ts +1 -1
  449. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  450. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  451. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  452. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  453. package/package.json +14 -20
  454. package/dist/tegel/p-0672ddfc.entry.js +0 -1
  455. package/dist/tegel/p-08ad6a21.entry.js +0 -1
  456. package/dist/tegel/p-08f63e5d.entry.js +0 -1
  457. package/dist/tegel/p-09cd056c.entry.js +0 -1
  458. package/dist/tegel/p-0c9a51d9.entry.js +0 -1
  459. package/dist/tegel/p-0cfe8671.entry.js +0 -1
  460. package/dist/tegel/p-0e772ad7.entry.js +0 -1
  461. package/dist/tegel/p-17bc1e49.entry.js +0 -1
  462. package/dist/tegel/p-1859156f.entry.js +0 -1
  463. package/dist/tegel/p-1b471db7.entry.js +0 -1
  464. package/dist/tegel/p-1f4267a8.entry.js +0 -1
  465. package/dist/tegel/p-24a76927.entry.js +0 -1
  466. package/dist/tegel/p-354d3986.entry.js +0 -1
  467. package/dist/tegel/p-379df59b.entry.js +0 -1
  468. package/dist/tegel/p-3c97cb45.entry.js +0 -1
  469. package/dist/tegel/p-3e6d65ee.entry.js +0 -1
  470. package/dist/tegel/p-445fa788.entry.js +0 -1
  471. package/dist/tegel/p-464469fe.entry.js +0 -1
  472. package/dist/tegel/p-4de2807c.entry.js +0 -1
  473. package/dist/tegel/p-51a17707.entry.js +0 -1
  474. package/dist/tegel/p-52689019.entry.js +0 -1
  475. package/dist/tegel/p-5c8fd75e.entry.js +0 -1
  476. package/dist/tegel/p-6b340718.entry.js +0 -1
  477. package/dist/tegel/p-743d4f07.entry.js +0 -1
  478. package/dist/tegel/p-77cfb0ef.entry.js +0 -1
  479. package/dist/tegel/p-7b598e60.entry.js +0 -1
  480. package/dist/tegel/p-7ef50e7f.entry.js +0 -1
  481. package/dist/tegel/p-8c2695af.entry.js +0 -1
  482. package/dist/tegel/p-9b635e01.entry.js +0 -1
  483. package/dist/tegel/p-9f187848.entry.js +0 -1
  484. package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
  485. package/dist/tegel/p-a090bd2f.entry.js +0 -1
  486. package/dist/tegel/p-a56436c8.entry.js +0 -1
  487. package/dist/tegel/p-ab00e6e4.entry.js +0 -1
  488. package/dist/tegel/p-b210d23c.entry.js +0 -1
  489. package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
  490. package/dist/tegel/p-c23a3f12.entry.js +0 -1
  491. package/dist/tegel/p-cc962b6c.entry.js +0 -1
  492. package/dist/tegel/p-cf717912.entry.js +0 -1
  493. package/dist/tegel/p-cfd7ed1a.entry.js +0 -1
  494. package/dist/tegel/p-d1d45942.entry.js +0 -1
  495. package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
  496. package/dist/tegel/p-e5b796e7.entry.js +0 -1
  497. package/dist/tegel/p-eb91e33b.entry.js +0 -1
  498. package/dist/tegel/p-f3c32d4d.entry.js +0 -1
  499. package/dist/tegel/p-fd15ced7.entry.js +0 -1
@@ -44,11 +44,11 @@ export class TdsBanner {
44
44
  const usesHeaderSlot = hasSlot('subheader', this.host);
45
45
  const usesSubheaderSlot = hasSlot('subheader', this.host);
46
46
  const usesActionsSlot = hasSlot('actions', this.host);
47
- return (h(Host, { key: '4a8e42b6c770c6c888739b2eab7e838fe4f83899', role: this.roleType, "aria-hidden": `${this.hidden}`, "aria-live": this.roleType === 'alert' ? 'assertive' : 'polite', "aria-atomic": this.host.getAttribute('aria-atomic'), class: {
47
+ return (h(Host, { key: '5b89bedb919ed799da1701cae1c152e310865b43', role: this.roleType, "aria-hidden": `${this.hidden}`, "aria-live": this.roleType === 'alert' ? 'assertive' : 'polite', "aria-atomic": this.host.getAttribute('aria-atomic'), class: {
48
48
  [this.variant]: true,
49
49
  hide: this.hidden,
50
50
  show: !this.hidden,
51
- } }, this.icon && (h("div", { key: '45b0a63ff1015c7a24bb37211eccfa5c8b5320ca', class: `banner-icon ${this.variant}` }, h("tds-icon", { key: '2375c0c7a5a785fc788088e4568ad04a7d5f778e', name: this.icon, size: "20px", svgTitle: this.icon }))), h("div", { key: '0b4a58d3d3ab8405193bd771797badde39e23729', class: "content" }, h("div", { key: 'e9b26e4b13055853ea659cec8d990f7f2eb76999', class: "header-subheader" }, this.header && h("div", { key: '5cedf44a46330c77259c3d64cf567052ef26af0b', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: 'a2c9897a3befbbd5603262962a7652a763650048', name: "header" }), this.subheader && h("div", { key: 'a7916827ee4ea924270242c9f06ce75989021c3b', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: 'fba6caffbf916a12b8e5975966551c4c9d03a5c9', name: "subheader" })), usesActionsSlot && h("slot", { key: '7a1b89ac09e9aa7e79740f225960818d2622d4b4', name: "actions" })), h("div", { key: '9dca236d2f8253c64a8a9ff67981f69c6f473c77', class: `banner-close` }, h("button", { key: 'cabd5fa950e125babecc6caf8109c51d05142ec3', "aria-label": "Close banner", onClick: this.handleClose }, h("tds-icon", { key: '2ec160b7e458fc4e99528c390f6190dea039f02a', name: "cross", size: "20px", svgTitle: "Close" })))));
51
+ } }, this.icon && (h("div", { key: 'b17e4c4986ccb9afde8ad9609465fdad1f5f78fe', class: `banner-icon ${this.variant}` }, h("tds-icon", { key: '2d43b52d72b874809d48b40ab2faae796e3c7d08', name: this.icon, size: "20px", svgTitle: this.icon }))), h("div", { key: '3f1d0b8493aaf41e1fe78837c937d56bb4d4d6af', class: "content" }, h("div", { key: '3fd4dac5928d5f588eff7cc9cf8a64c401b75875', class: "header-subheader" }, this.header && h("div", { key: 'f356b4218fba0c42c97e728fe6fc91bb14c8a3d7', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '74659c5c0b33bbc81f90d79c9cb80d3dcd1839fa', name: "header" }), this.subheader && h("div", { key: 'b91ba944f6c41ccf62002a2dade85968dd5b34f4', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: 'e8854a51dc158cba747abca51d79828ee419732e', name: "subheader" })), usesActionsSlot && h("slot", { key: '60fe1b1b75a7cc169d71b97d5d91086d7ae96a07', name: "actions" })), h("div", { key: 'bf664cd50d34e9ac4c3061d1670d0607cd326bef', class: `banner-close` }, h("button", { key: '0ddfadbfe00ecf7ec1376fdfbc2d70ff0cffb919', "aria-label": "Close banner", onClick: this.handleClose }, h("tds-icon", { key: '7e45115cd682e035227b486442c4fe4c67dfec4b', name: "cross", size: "20px", svgTitle: "Close" })))));
52
52
  }
53
53
  static get is() { return "tds-banner"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -69,7 +69,7 @@ export class TdsBanner {
69
69
  "mutable": false,
70
70
  "complexType": {
71
71
  "original": "IconNames",
72
- "resolved": "\"profile\" | \"expand\" | \"info\" | \"error\" | \"global\" | \"merge\" | \"copy\" | \"document\" | \"audio\" | \"link\" | \"video\" | \"image\" | \"text\" | \"download\" | \"target\" | \"placeholder\" | \"history\" | \"print\" | \"key\" | \"24v_battery_inactive\" | \"24v_battery\" | \"acceleration_inactive\" | \"acceleration\" | \"adblue_inactive\" | \"adblue\" | \"arrow_diagonal\" | \"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"audio_inactive\" | \"award\" | \"back\" | \"backward_inactive\" | \"backward\" | \"bento\" | \"bug_inactive\" | \"bug\" | \"burger\" | \"bus_inactive\" | \"bus\" | \"calendar_inactive\" | \"calendar\" | \"camera_inactive\" | \"camera\" | \"card\" | \"cart\" | \"charging_complete\" | \"charging_failed\" | \"charging_speed_inactive\" | \"charging_speed\" | \"charging_stopped\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"clock_inactive\" | \"clock\" | \"configurator\" | \"contact_inactive\" | \"contact\" | \"cookie_inactive\" | \"cookie\" | \"coolant_level_inactive\" | \"coolant_level\" | \"cross\" | \"cup_inactive\" | \"cup\" | \"dashboard\" | \"department_inactive\" | \"department\" | \"departure_scheduling_inactive\" | \"departure_scheduling\" | \"diamond_inactive\" | \"diamond\" | \"document_check\" | \"document_doc\" | \"document_eye\" | \"document_pdf\" | \"document_plus_inactive\" | \"document_plus\" | \"document_ppt\" | \"document_tool\" | \"document_wrong\" | \"document_xls\" | \"dollar\" | \"doner\" | \"double_kebab\" | \"driving_licence_inactive\" | \"driving_licence\" | \"drop_inactive\" | \"drop\" | \"edit_inactive\" | \"edit\" | \"email\" | \"engine_inactive\" | \"engine\" | \"environment_inactive\" | \"environment\" | \"exit\" | \"expand_inactive\" | \"export_inactive\" | \"export\" | \"eye_inactive\" | \"eye\" | \"face_dissatisfied\" | \"face_neutral\" | \"face_satisfied\" | \"factory_inactive\" | \"factory\" | \"ferry_inactive\" | \"ferry\" | \"filters_inactive\" | \"filters\" | \"flash_inactive\" | \"flash\" | \"folder\" | \"forward_inactive\" | \"forward\" | \"fuel_gauge_inactive\" | \"fuel_gauge\" | \"fuel_inactive\" | \"fuel\" | \"gift inactive\" | \"gift\" | \"guided_tour_inactive\" | \"guided_tour\" | \"hatch_open_1\" | \"hatch_open_2\" | \"hatch_open_inactive\" | \"hatch_open\" | \"heart_inactive\" | \"heart\" | \"heating_inactive_screen\" | \"history_inactive\" | \"home_inactive\" | \"home\" | \"idea_inactive\" | \"idea\" | \"image_add\" | \"image_inactive\" | \"image_set\" | \"insights\" | \"kebab\" | \"key_inactive\" | \"layer_inactive\" | \"layer\" | \"link_broken\" | \"list_inactive\" | \"list\" | \"lock_inactive\" | \"lock\" | \"map_cursor_inactive\" | \"map_cursor\" | \"maximize_fullscreen\" | \"meatballs\" | \"merge_inactive\" | \"message_inactive\" | \"message\" | \"mileage_inactive\" | \"mileage\" | \"minimize_fullscreen\" | \"minus\" | \"navigate_inactive\" | \"navigate\" | \"notification_inactive\" | \"notification\" | \"oil_level_inactive\" | \"oil_level\" | \"pause_inactive\" | \"pause\" | \"phone_inactive\" | \"phone\" | \"pie_chart\" | \"pin_inactive\" | \"pin\" | \"play_inactive\" | \"play\" | \"plus\" | \"powerplug_inactive\" | \"powerplug\" | \"print_inactive\" | \"privacy_inactive\" | \"privacy\" | \"profile_inactive\" | \"proportions_inactive\" | \"proportions\" | \"range_inactive\" | \"range\" | \"redirect\" | \"refresh_inactive\" | \"refresh\" | \"reload_inactive\" | \"reload\" | \"repeat\" | \"report_inactive\" | \"report\" | \"route_inactive\" | \"route\" | \"save_inactive\" | \"save\" | \"search\" | \"send_inactive\" | \"send\" | \"settings\" | \"share\" | \"skip_backwards\" | \"skip_forward\" | \"smartphone_inactive\" | \"smartphone\" | \"sorting\" | \"speedometer_inactive\" | \"speedometer\" | \"star\" | \"support\" | \"target_inactive\" | \"temperature_inactive\" | \"temperature\" | \"text_inactive\" | \"thumbs_down\" | \"thumbs_up\" | \"tick\" | \"timer\" | \"tool_inactive\" | \"tool\" | \"trailer_inactive\" | \"trailer\" | \"trash_inactive\" | \"trash\" | \"truck_inactive\" | \"truck\" | \"undo_inactive\" | \"undo\" | \"unlock\" | \"upload\" | \"video_inactive\" | \"wallet\" | \"warning\" | \"weight_inactive\" | \"weight\" | \"wifi_inactive\" | \"wifi\" | \"windscreen_heating_inactive\" | \"windscreen_heating\"",
72
+ "resolved": "IconNames | undefined",
73
73
  "references": {
74
74
  "IconNames": {
75
75
  "location": "import",
@@ -79,7 +79,7 @@ export class TdsBanner {
79
79
  }
80
80
  },
81
81
  "required": false,
82
- "optional": false,
82
+ "optional": true,
83
83
  "docs": {
84
84
  "tags": [],
85
85
  "text": "Name of the icon for the component. For error and information variant, the icon is predefined."
@@ -92,11 +92,11 @@ export class TdsBanner {
92
92
  "mutable": false,
93
93
  "complexType": {
94
94
  "original": "string",
95
- "resolved": "string",
95
+ "resolved": "string | undefined",
96
96
  "references": {}
97
97
  },
98
98
  "required": false,
99
- "optional": false,
99
+ "optional": true,
100
100
  "docs": {
101
101
  "tags": [],
102
102
  "text": "Header text."
@@ -109,11 +109,11 @@ export class TdsBanner {
109
109
  "mutable": false,
110
110
  "complexType": {
111
111
  "original": "string",
112
- "resolved": "string",
112
+ "resolved": "string | undefined",
113
113
  "references": {}
114
114
  },
115
115
  "required": false,
116
- "optional": false,
116
+ "optional": true,
117
117
  "docs": {
118
118
  "tags": [],
119
119
  "text": "Subheader text."
@@ -35,7 +35,7 @@ export class TdsBlock {
35
35
  evenOddClass = 'tds-block-odd';
36
36
  }
37
37
  }
38
- return (h(TagType, { key: '34385f3ac01d173e6bb568432418304186d261c7', class: `tds-block ${evenOddClass} ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("slot", { key: '569b04916fb165fb460711ec659ed2dc3e9ebd12' })));
38
+ return (h(TagType, { key: '01743312d4accf10f2d372e149880bb8b53a9a97', class: `tds-block ${evenOddClass} ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("slot", { key: '84c2a61a6f4fc4c118ce73c83d78ca18a1607d0c' })));
39
39
  }
40
40
  static get is() { return "tds-block"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -55,8 +55,8 @@ export class TdsBlock {
55
55
  "type": "string",
56
56
  "mutable": false,
57
57
  "complexType": {
58
- "original": "'primary' | 'secondary'",
59
- "resolved": "\"primary\" | \"secondary\"",
58
+ "original": "'primary' | 'secondary' | null",
59
+ "resolved": "\"primary\" | \"secondary\" | null",
60
60
  "references": {}
61
61
  },
62
62
  "required": false,
@@ -9,7 +9,7 @@ export class TdsBreadcrumbs {
9
9
  render() {
10
10
  var _a;
11
11
  (_a = this.host.children[this.host.children.length - 1]) === null || _a === void 0 ? void 0 : _a.classList.add('last');
12
- return (h("nav", { key: 'd79f99fbdf47a75d66376c7900a1ba2ccfad0ef2', "aria-label": this.tdsAriaLabel }, h("div", { key: 'c06fa49904e230b1fcbaa8eeba1e2d6059f4eccd', role: "list", class: "tds-breadcrumb" }, h("slot", { key: 'fd44b69cd45ffaed95c865988832fa56c545125c' }))));
12
+ return (h("nav", { key: 'f24c1dd40a5bf741d3538c1bc5e536c45a9a6b12', "aria-label": this.tdsAriaLabel }, h("div", { key: '955ea954c1a161e2c4b639947f191b3b4a22957a', role: "list", class: "tds-breadcrumb" }, h("slot", { key: '9466ab7b58a6953d79af70ac38cdc5466362dc6c' }))));
13
13
  }
14
14
  static get is() { return "tds-breadcrumbs"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -30,11 +30,11 @@ export class TdsBreadcrumbs {
30
30
  "mutable": false,
31
31
  "complexType": {
32
32
  "original": "string",
33
- "resolved": "string",
33
+ "resolved": "string | undefined",
34
34
  "references": {}
35
35
  },
36
36
  "required": false,
37
- "optional": false,
37
+ "optional": true,
38
38
  "docs": {
39
39
  "tags": [],
40
40
  "text": "The value to be used for the aria-label attribute"
@@ -20,13 +20,15 @@ export class TdsButton {
20
20
  this.onlyIcon = false;
21
21
  }
22
22
  handleKeyDown(event) {
23
+ var _a;
23
24
  if (event.key === 'Enter' && !this.disabled) {
24
- this.host.querySelector('button').classList.add('active');
25
+ (_a = this.host.querySelector('button')) === null || _a === void 0 ? void 0 : _a.classList.add('active');
25
26
  }
26
27
  }
27
28
  handleKeyUp(event) {
29
+ var _a;
28
30
  if (event.key === 'Enter' && !this.disabled) {
29
- this.host.querySelector('button').classList.remove('active');
31
+ (_a = this.host.querySelector('button')) === null || _a === void 0 ? void 0 : _a.classList.remove('active');
30
32
  }
31
33
  }
32
34
  render() {
@@ -35,11 +37,11 @@ export class TdsButton {
35
37
  if (!this.text && !hasLabelSlot) {
36
38
  this.onlyIcon = true;
37
39
  }
38
- return (h(Host, { key: '7358240d76e1b7a6df238b2a1e5f1702f9cd33d7', class: {
40
+ return (h(Host, { key: '35c60edf5c2e4769e8995a47e90b8e99ef4482f6', class: {
39
41
  [`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
40
42
  disabled: Boolean(this.disabled),
41
43
  fullbleed: Boolean(this.fullbleed),
42
- }, disabled: this.disabled }, h("button", Object.assign({ key: '971f814b0b832e9b161c77812fb7668ed34312ab', type: this.type, name: this.name ? this.name : undefined, value: this.value ? this.value : undefined, disabled: this.disabled, class: {
44
+ }, disabled: this.disabled }, h("button", Object.assign({ key: '819e795be3cdd3c435f54f1f9c0e13ae091aec98', type: this.type, name: this.name ? this.name : undefined, value: this.value ? this.value : undefined, disabled: this.disabled, class: {
43
45
  'primary': this.variant === 'primary',
44
46
  'secondary': this.variant === 'secondary',
45
47
  'ghost': this.variant === 'ghost',
@@ -53,7 +55,7 @@ export class TdsButton {
53
55
  'icon': hasIconSlot,
54
56
  'only-icon': this.onlyIcon,
55
57
  [`animation-${this.animation}`]: this.animation !== 'none',
56
- } }, (this.onlyIcon && this.tdsAriaLabel && { 'aria-label': this.tdsAriaLabel })), this.text, hasLabelSlot && !this.onlyIcon && h("slot", { key: '2dc9400b032af40765d7ba1add85c09249dea64b', name: "label" }), hasIconSlot && h("slot", { key: '01af3eeaa00abc5dc824f4fa4633b2460fb4fe46', name: "icon" }))));
58
+ } }, (this.onlyIcon && this.tdsAriaLabel && { 'aria-label': this.tdsAriaLabel })), this.text, hasLabelSlot && !this.onlyIcon && h("slot", { key: '1c43f0358cfa491bf3b2061e7891f17bc8f0aac4', name: "label" }), hasIconSlot && h("slot", { key: '40fb5ffa1bb25c098f413e672fb28ccc11a0d3d0', name: "icon" }))));
57
59
  }
58
60
  static get is() { return "tds-button"; }
59
61
  static get encapsulation() { return "scoped"; }
@@ -74,11 +76,11 @@ export class TdsButton {
74
76
  "mutable": false,
75
77
  "complexType": {
76
78
  "original": "string",
77
- "resolved": "string",
79
+ "resolved": "string | undefined",
78
80
  "references": {}
79
81
  },
80
82
  "required": false,
81
- "optional": false,
83
+ "optional": true,
82
84
  "docs": {
83
85
  "tags": [],
84
86
  "text": "Text displayed inside the Button"
@@ -180,8 +182,8 @@ export class TdsButton {
180
182
  "type": "string",
181
183
  "mutable": false,
182
184
  "complexType": {
183
- "original": "'primary' | 'secondary'",
184
- "resolved": "\"primary\" | \"secondary\"",
185
+ "original": "'primary' | 'secondary' | null",
186
+ "resolved": "\"primary\" | \"secondary\" | null",
185
187
  "references": {}
186
188
  },
187
189
  "required": false,
@@ -217,11 +219,11 @@ export class TdsButton {
217
219
  "mutable": false,
218
220
  "complexType": {
219
221
  "original": "string",
220
- "resolved": "string",
222
+ "resolved": "string | undefined",
221
223
  "references": {}
222
224
  },
223
225
  "required": false,
224
- "optional": false,
226
+ "optional": true,
225
227
  "docs": {
226
228
  "tags": [],
227
229
  "text": "The value to be used for the aria-label attribute if onlyIcon is set to true"
@@ -234,11 +236,11 @@ export class TdsButton {
234
236
  "mutable": false,
235
237
  "complexType": {
236
238
  "original": "string",
237
- "resolved": "string",
239
+ "resolved": "string | undefined",
238
240
  "references": {}
239
241
  },
240
242
  "required": false,
241
- "optional": false,
243
+ "optional": true,
242
244
  "docs": {
243
245
  "tags": [],
244
246
  "text": "The name attribute allows for different ways of accessing the button element"
@@ -251,11 +253,11 @@ export class TdsButton {
251
253
  "mutable": false,
252
254
  "complexType": {
253
255
  "original": "string",
254
- "resolved": "string",
256
+ "resolved": "string | undefined",
255
257
  "references": {}
256
258
  },
257
259
  "required": false,
258
- "optional": false,
260
+ "optional": true,
259
261
  "docs": {
260
262
  "tags": [],
261
263
  "text": "The value attribute can be used when handling a form submission"
@@ -32,7 +32,7 @@ export class TdsCard {
32
32
  const usesBodyImageSlot = hasSlot('body-image', this.host);
33
33
  const usesActionsSlot = hasSlot('actions', this.host);
34
34
  const bodyId = `body-${this.cardId}`;
35
- return (h("div", { class: this.stretch && 'stretch', "aria-describedby": usesBodySlot ? bodyId : null }, this.imagePlacement === 'below-header' && this.getCardHeader(), h("div", { class: "card-body", id: bodyId }, usesBodyImageSlot && h("slot", { name: "body-image" }), this.bodyImg && h("img", { class: "card-body-img", src: this.bodyImg, alt: this.bodyImgAlt }), this.imagePlacement === 'above-header' && this.getCardHeader(), this.bodyDivider && h("tds-divider", null), usesBodySlot && h("slot", { name: "body" })), usesActionsSlot && h("slot", { name: `actions` })));
35
+ return (h("div", { class: { stretch: this.stretch }, "aria-describedby": usesBodySlot ? bodyId : null }, this.imagePlacement === 'below-header' && this.getCardHeader(), h("div", { class: "card-body", id: bodyId }, usesBodyImageSlot && h("slot", { name: "body-image" }), this.bodyImg && h("img", { class: "card-body-img", src: this.bodyImg, alt: this.bodyImgAlt }), this.imagePlacement === 'above-header' && this.getCardHeader(), this.bodyDivider && h("tds-divider", null), usesBodySlot && h("slot", { name: "body" })), usesActionsSlot && h("slot", { name: `actions` })));
36
36
  };
37
37
  this.modeVariant = null;
38
38
  this.imagePlacement = 'below-header';
@@ -55,7 +55,7 @@ export class TdsCard {
55
55
  [`${this.imagePlacement}-stretch`]: this.stretch,
56
56
  };
57
57
  const ariaLabel = this.header ? this.header : `Card ${this.cardId}`;
58
- return (h(Host, { key: '14e4d2ece54e021a186661c8dfef2dae78791782', class: this.modeVariant && `tds-mode-variant-${this.modeVariant}` }, this.clickable ? (h("button", { class: cardStyle, onClick: this.handleClick, "aria-label": ariaLabel, "aria-describedby": `header-${this.cardId}` }, this.getCardContent())) : (h("div", { class: cardStyle }, this.getCardContent()))));
58
+ return (h(Host, { key: 'a02da4f8704ad22664fec6ba0b97421094e4cda0', class: { [`tds-mode-variant-${this.modeVariant}`]: !!this.modeVariant } }, this.clickable ? (h("button", { class: cardStyle, onClick: this.handleClick, "aria-label": ariaLabel, "aria-describedby": `header-${this.cardId}` }, this.getCardContent())) : (h("div", { class: cardStyle }, this.getCardContent()))));
59
59
  }
60
60
  static get is() { return "tds-card"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -75,8 +75,8 @@ export class TdsCard {
75
75
  "type": "string",
76
76
  "mutable": false,
77
77
  "complexType": {
78
- "original": "'primary' | 'secondary'",
79
- "resolved": "\"primary\" | \"secondary\"",
78
+ "original": "'primary' | 'secondary' | null",
79
+ "resolved": "\"primary\" | \"secondary\" | null",
80
80
  "references": {}
81
81
  },
82
82
  "required": false,
@@ -112,11 +112,11 @@ export class TdsCard {
112
112
  "mutable": false,
113
113
  "complexType": {
114
114
  "original": "string",
115
- "resolved": "string",
115
+ "resolved": "string | undefined",
116
116
  "references": {}
117
117
  },
118
118
  "required": false,
119
- "optional": false,
119
+ "optional": true,
120
120
  "docs": {
121
121
  "tags": [],
122
122
  "text": "Text in the header"
@@ -129,11 +129,11 @@ export class TdsCard {
129
129
  "mutable": false,
130
130
  "complexType": {
131
131
  "original": "string",
132
- "resolved": "string",
132
+ "resolved": "string | undefined",
133
133
  "references": {}
134
134
  },
135
135
  "required": false,
136
- "optional": false,
136
+ "optional": true,
137
137
  "docs": {
138
138
  "tags": [],
139
139
  "text": "Subheader text in the header"
@@ -146,11 +146,11 @@ export class TdsCard {
146
146
  "mutable": false,
147
147
  "complexType": {
148
148
  "original": "string",
149
- "resolved": "string",
149
+ "resolved": "string | undefined",
150
150
  "references": {}
151
151
  },
152
152
  "required": false,
153
- "optional": false,
153
+ "optional": true,
154
154
  "docs": {
155
155
  "tags": [],
156
156
  "text": "Body image src"
@@ -163,11 +163,11 @@ export class TdsCard {
163
163
  "mutable": false,
164
164
  "complexType": {
165
165
  "original": "string",
166
- "resolved": "string",
166
+ "resolved": "string | undefined",
167
167
  "references": {}
168
168
  },
169
169
  "required": false,
170
- "optional": false,
170
+ "optional": true,
171
171
  "docs": {
172
172
  "tags": [],
173
173
  "text": "Alt text for the body image"
@@ -59,11 +59,12 @@ export class TdsCheckbox {
59
59
  }
60
60
  }
61
61
  render() {
62
- return (h("div", { key: '87d4e8620e183b5fb8a885dca8081424c7497b21', class: "tds-checkbox" }, h("input", { key: 'fa5d4c8e9a33a7a88d1348f6eb66b474e94c0ad1',
63
- // eslint-disable-next-line no-return-assign
64
- ref: (inputElement) => (this.inputElement = inputElement), indeterminate: this.indeterminate, "aria-checked": this.checked, "aria-required": this.required, "aria-label": this.tdsAriaLabel, "aria-describedby": this.tdsAriaDescribedby, required: this.required, type: "checkbox", name: this.name, value: this.value, id: this.checkboxId, checked: this.checked, disabled: this.disabled, onFocus: (event) => this.handleFocus(event), onBlur: (event) => this.handleBlur(event), onChange: () => {
62
+ return (h("div", { key: 'dfffd2e58507c14f16d9c0979d1cf794296b83eb', class: "tds-checkbox" }, h("input", { key: '6003dd1ba8c0ffc40a7f3f692867e47801ebfb0d', ref: (inputElement) => {
63
+ if (inputElement)
64
+ this.inputElement = inputElement;
65
+ }, indeterminate: this.indeterminate, "aria-checked": this.checked, "aria-required": this.required, "aria-label": this.tdsAriaLabel, "aria-describedby": this.tdsAriaDescribedby, required: this.required, type: "checkbox", name: this.name, value: this.value, id: this.checkboxId, checked: this.checked, disabled: this.disabled, onFocus: (event) => this.handleFocus(event), onBlur: (event) => this.handleBlur(event), onChange: () => {
65
66
  this.handleChange();
66
- } }), h("label", { key: '82545f01ad68fae4d613b58d82a770a0c1bce79e', htmlFor: this.checkboxId }, h("slot", { key: '99892e112b596a7f8517427cc42f75e90140c315', name: "label" }))));
67
+ } }), h("label", { key: '0fb389206bd35497737b14a0cf12093a32de7881', htmlFor: this.checkboxId }, h("slot", { key: '7a085546f31a1aa6f4dd2ddab4f053bf86663dda', name: "label" }))));
67
68
  }
68
69
  static get is() { return "tds-checkbox"; }
69
70
  static get encapsulation() { return "scoped"; }
@@ -84,11 +85,11 @@ export class TdsCheckbox {
84
85
  "mutable": false,
85
86
  "complexType": {
86
87
  "original": "string",
87
- "resolved": "string",
88
+ "resolved": "string | undefined",
88
89
  "references": {}
89
90
  },
90
91
  "required": false,
91
- "optional": false,
92
+ "optional": true,
92
93
  "docs": {
93
94
  "tags": [],
94
95
  "text": "Name for the Checkbox's input element."
@@ -191,11 +192,11 @@ export class TdsCheckbox {
191
192
  "mutable": false,
192
193
  "complexType": {
193
194
  "original": "string",
194
- "resolved": "string",
195
+ "resolved": "string | undefined",
195
196
  "references": {}
196
197
  },
197
198
  "required": false,
198
- "optional": false,
199
+ "optional": true,
199
200
  "docs": {
200
201
  "tags": [],
201
202
  "text": "Value for the Checkbox"
@@ -208,11 +209,11 @@ export class TdsCheckbox {
208
209
  "mutable": false,
209
210
  "complexType": {
210
211
  "original": "string",
211
- "resolved": "string",
212
+ "resolved": "string | undefined",
212
213
  "references": {}
213
214
  },
214
215
  "required": false,
215
- "optional": false,
216
+ "optional": true,
216
217
  "docs": {
217
218
  "tags": [],
218
219
  "text": "Value to be used for the aria-label attribute"
@@ -225,11 +226,11 @@ export class TdsCheckbox {
225
226
  "mutable": false,
226
227
  "complexType": {
227
228
  "original": "string",
228
- "resolved": "string",
229
+ "resolved": "string | undefined",
229
230
  "references": {}
230
231
  },
231
232
  "required": false,
232
- "optional": false,
233
+ "optional": true,
233
234
  "docs": {
234
235
  "tags": [],
235
236
  "text": "Value to be used for the aria-describedby attribute"
@@ -252,7 +253,7 @@ export class TdsCheckbox {
252
253
  },
253
254
  "complexType": {
254
255
  "original": "{\n checkboxId: string;\n checked: boolean;\n indeterminate: boolean;\n value?: string;\n }",
255
- "resolved": "{ checkboxId: string; checked: boolean; indeterminate: boolean; value?: string; }",
256
+ "resolved": "{ checkboxId: string; checked: boolean; indeterminate: boolean; value?: string | undefined; }",
256
257
  "references": {}
257
258
  }
258
259
  }, {
@@ -81,7 +81,7 @@ export class TdsChip {
81
81
  'suffix': hasSuffixSlot,
82
82
  'disabled': this.disabled,
83
83
  };
84
- return (h(Host, { key: '4a498e81dbdd096e01d502a1bc378bfa9f7ea61d' }, h("div", { key: '441e76b25ec9fb91485f3394e6df08fa2ac0363f', class: "component" }, h("div", { key: '88658da3bae225792261b6b3b7796c514d76e665', class: chipClasses }, h("input", Object.assign({ key: '1e495bd583136ba481b7f11891f008c8584b0b38', type: this.type, id: this.chipId, "aria-checked": this.type === 'button' ? undefined : String(this.checked), role: this.type, "aria-label": this.tdsAriaLabel }, inputAttributes)), h("label", { key: 'ffaff7dd33befe64eb69fc6f786efd38eb654628', onClick: (event) => event.stopPropagation(), htmlFor: this.chipId }, hasPrefixSlot && h("slot", { key: '95a6bf9c4d337a9d9caaf66b598615af657045c3', name: "prefix" }), hasLabelSlot && h("slot", { key: '2e732390348814bbeea2bb0c4c5fa0b9206a6578', name: "label" }), hasSuffixSlot && h("slot", { key: '716254ff0b5995b2d2a99dcd2aaa2f94613255d0', name: "suffix" }))))));
84
+ return (h(Host, { key: '7018c9c28fdd3711456101805579931c2dec9278' }, h("div", { key: '351255bf87d14f5443f247c33e020f6fa6d6d93d', class: "component" }, h("div", { key: '54cbaa247d6174f21a6ee00c6953a3d0d2b9206e', class: chipClasses }, h("input", Object.assign({ key: '435b31b0c747372a220c9e80fc32ba3269eea46c', type: this.type, id: this.chipId, "aria-checked": this.type === 'button' ? undefined : String(this.checked), role: this.type, "aria-label": this.tdsAriaLabel }, inputAttributes)), h("label", { key: 'b5fc3b3b932f318178153d9c45ed167d0d3cea0b', onClick: (event) => event.stopPropagation(), htmlFor: this.chipId }, hasPrefixSlot && h("slot", { key: '7f38872f349515859f588741654a0151ca5a061b', name: "prefix" }), hasLabelSlot && h("slot", { key: '7670be1edaa2fad3840e6956c1cc0a44d804e921', name: "label" }), hasSuffixSlot && h("slot", { key: '7494aca04287e18495080f3e3a43507a714f1a24', name: "suffix" }))))));
85
85
  }
86
86
  static get is() { return "tds-chip"; }
87
87
  static get encapsulation() { return "scoped"; }
@@ -174,11 +174,11 @@ export class TdsChip {
174
174
  "mutable": false,
175
175
  "complexType": {
176
176
  "original": "string",
177
- "resolved": "string",
177
+ "resolved": "string | undefined",
178
178
  "references": {}
179
179
  },
180
180
  "required": false,
181
- "optional": false,
181
+ "optional": true,
182
182
  "docs": {
183
183
  "tags": [],
184
184
  "text": "Name for the checkbox or radio input element. Also creates a reference between label and input. Valid only for type checkbox and radio."
@@ -191,11 +191,11 @@ export class TdsChip {
191
191
  "mutable": false,
192
192
  "complexType": {
193
193
  "original": "string",
194
- "resolved": "string",
194
+ "resolved": "string | undefined",
195
195
  "references": {}
196
196
  },
197
197
  "required": false,
198
- "optional": false,
198
+ "optional": true,
199
199
  "docs": {
200
200
  "tags": [],
201
201
  "text": "Value of input. Valid only for type checkbox and radio."
@@ -226,11 +226,11 @@ export class TdsChip {
226
226
  "mutable": false,
227
227
  "complexType": {
228
228
  "original": "string",
229
- "resolved": "string",
229
+ "resolved": "string | undefined",
230
230
  "references": {}
231
231
  },
232
232
  "required": false,
233
- "optional": false,
233
+ "optional": true,
234
234
  "docs": {
235
235
  "tags": [],
236
236
  "text": "Value to be used for the aria-label attribute"
@@ -252,8 +252,8 @@ export class TdsChip {
252
252
  "text": "Sends unique Chip identifier and value when it is changed (checked/unchecked).\nValid only for type checkbox and radio.\nIf no ID is specified, a random one will be generated.\nTo use this listener, don't use the randomized ID, use a specific one of your choosing."
253
253
  },
254
254
  "complexType": {
255
- "original": "{\n chipId: string;\n value: string;\n checked?: boolean;\n }",
256
- "resolved": "{ chipId: string; value: string; checked?: boolean; }",
255
+ "original": "{\n chipId: string;\n value: string | undefined;\n checked?: boolean;\n }",
256
+ "resolved": "{ chipId: string; value: string | undefined; checked?: boolean | undefined; }",
257
257
  "references": {}
258
258
  }
259
259
  }, {
@@ -270,8 +270,8 @@ export class TdsChip {
270
270
  "text": ""
271
271
  },
272
272
  "complexType": {
273
- "original": "{\n chipId: string;\n checked: boolean;\n groupName: string;\n }",
274
- "resolved": "{ chipId: string; checked: boolean; groupName: string; }",
273
+ "original": "{\n chipId: string;\n checked: boolean;\n groupName: string | undefined;\n }",
274
+ "resolved": "{ chipId: string; checked: boolean; groupName: string | undefined; }",
275
275
  "references": {}
276
276
  }
277
277
  }, {
@@ -42,7 +42,7 @@ export class TdsDatetime {
42
42
  this.labelPosition = 'no-label';
43
43
  this.helper = '';
44
44
  this.tdsAriaLabel = undefined;
45
- this.focusInput = undefined;
45
+ this.focusInput = false;
46
46
  }
47
47
  /** Method that resets the value of the Datetime, using defaultValue if is not 'none' */
48
48
  async reset() {
@@ -118,12 +118,14 @@ export class TdsDatetime {
118
118
  'tds-datetime-data': this.value.length > 0,
119
119
  'tds-form-datetime-disabled': this.disabled,
120
120
  [`tds-form-datetime-${this.size}`]: ['md', 'sm'].includes(this.size),
121
- [`tds-form-datetime-${this.state}`]: ['error', 'success'].includes(this.state),
121
+ [`tds-form-datetime-${this.state}`]: ['error', 'success'].includes(`${this.state}`),
122
122
  [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
123
- 'tds-datetime-container-label-inside': this.label && this.labelPosition === 'inside' && this.size !== 'sm',
123
+ 'tds-datetime-container-label-inside': !!(this.label &&
124
+ this.labelPosition === 'inside' &&
125
+ this.size !== 'sm'),
124
126
  };
125
127
  const iphone = navigator.userAgent.toLowerCase().includes('iphone');
126
- return (h("div", { key: 'f397a4fc034fb7cd4dcb8ed7b0cbf2ab2e51177a', class: classNames, onKeyDown: (e) => {
128
+ return (h("div", { key: '93ab9dfbf3fc5a894153be95e9dd0a2b6010efaf', class: classNames, onKeyDown: (e) => {
127
129
  if (e.key === 'Enter') {
128
130
  const browserIsChrome = navigator.userAgent.toLowerCase().includes('chrome');
129
131
  if (browserIsChrome) {
@@ -131,9 +133,10 @@ export class TdsDatetime {
131
133
  this.textInput.showPicker();
132
134
  }
133
135
  }
134
- } }, this.labelPosition === 'outside' && this.label && (h("label", { key: 'e5dd50563ed2d464983016bc608d81b77c379add', htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { key: 'b2c01f96bb7d8fa7279ac27048328204cc249547', onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { key: 'e7002fc416e62d2c93c337aee1869aa817997df9', class: `tds-datetime-input-container type-${this.type}` }, h("input", { key: '3fdf8d55b15f5a00d4fb0755d5774fee93f100b9', ref: (inputEl) => {
135
- this.textInput = inputEl;
136
- }, class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, id: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e), "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label }), this.labelPosition === 'inside' && this.size !== 'sm' && this.label && (h("label", { key: '48d096356ad9f547bacbf407af12c4411d5dd45f', class: `tds-datetime-label-inside ${iphone && 'iphone'}`, htmlFor: this.name }, this.label)), h("div", { key: '0ea83c4003923ffed9b11ef22131000bb696a80f', class: "datetime-icon icon-datetime-local" }, h("tds-icon", { key: '6ab6fde60c3d8ce0ad212c0d248c597a23cc6ce7', size: "20px", name: "calendar", svgTitle: "Calendar" })), h("div", { key: '4c304db3c9e6159a7827b6a83c6f81d04cbf0d19', class: "datetime-icon icon-time" }, h("tds-icon", { key: '2a91a579dc5307d35ffbd47aa67616e2e692dd1c', size: "20px", name: "clock", svgTitle: "Clock" })))), this.helper && (h("div", { key: '4883298ade40b2177450f1af3cda0b02a9c24786', class: "tds-datetime-helper" }, h("div", { key: '5baaf00b0372f50341f1995c713e3cbece2c8a4d', class: "tds-helper" }, this.state === 'error' && h("tds-icon", { key: 'a8d4aedbbba2e083578825efadbeaede47d83055', name: "error", size: "16px", svgTitle: "error" }), this.helper)))));
136
+ } }, this.labelPosition === 'outside' && this.label && (h("label", { key: '151fe0fca5e68938f8f0e466e415d301460bcfb9', htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { key: '0f279f40278ed65077f17c8ff18963e6d9b22e33', onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { key: 'b0b178d3ee9511ba315f63468061738810fc99e8', class: `tds-datetime-input-container type-${this.type}` }, h("input", { key: '9d09571d4175dcd45ea5a6303855328633b4e2d5', ref: (inputEl) => {
137
+ if (inputEl)
138
+ this.textInput = inputEl;
139
+ }, class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, id: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e), "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label }), this.labelPosition === 'inside' && this.size !== 'sm' && this.label && (h("label", { key: '8c8bf84bf5fde6e08ca7af7d24416379e6fcebee', class: `tds-datetime-label-inside ${iphone && 'iphone'}`, htmlFor: this.name }, this.label)), h("div", { key: 'bffbf411853315e978d570c44b054f4022ed4156', class: "datetime-icon icon-datetime-local" }, h("tds-icon", { key: '885003370261c85dce5d4840ee3e49bee89f08e5', size: "20px", name: "calendar", svgTitle: "Calendar" })), h("div", { key: '62bca8062e7f1b20b89c835811b98311f501d7da', class: "datetime-icon icon-time" }, h("tds-icon", { key: '77a628ba22fdefe08eed75acaee382f0485ca22d', size: "20px", name: "clock", svgTitle: "Clock" })))), this.helper && (h("div", { key: '3cf041a3d939c96e295bdc83346d038d33336a39', class: "tds-datetime-helper" }, h("div", { key: 'ccdd8ed7ab2ab4a91f4ac699e1fe964234e4db4a', class: "tds-helper" }, this.state === 'error' && h("tds-icon", { key: '509f40f17e1ccec720cacc4863e50cc63e5a4802', name: "error", size: "16px", svgTitle: "error" }), this.helper)))));
137
140
  }
138
141
  static get is() { return "tds-datetime"; }
139
142
  static get encapsulation() { return "scoped"; }
@@ -190,11 +193,11 @@ export class TdsDatetime {
190
193
  "mutable": false,
191
194
  "complexType": {
192
195
  "original": "string",
193
- "resolved": "string",
196
+ "resolved": "string | undefined",
194
197
  "references": {}
195
198
  },
196
199
  "required": false,
197
- "optional": false,
200
+ "optional": true,
198
201
  "docs": {
199
202
  "tags": [],
200
203
  "text": "Sets min value. Example for different types: datetime=\"2023-01-31T00:00\" date=\"2023-01-01\" time=\"15:00\""
@@ -207,11 +210,11 @@ export class TdsDatetime {
207
210
  "mutable": false,
208
211
  "complexType": {
209
212
  "original": "string",
210
- "resolved": "string",
213
+ "resolved": "string | undefined",
211
214
  "references": {}
212
215
  },
213
216
  "required": false,
214
- "optional": false,
217
+ "optional": true,
215
218
  "docs": {
216
219
  "tags": [],
217
220
  "text": "Sets max value. Example for different types: datetime=\"2023-01-31T00:00\" date=\"2023-01-01\" time=\"15:00\""
@@ -295,8 +298,8 @@ export class TdsDatetime {
295
298
  "type": "string",
296
299
  "mutable": false,
297
300
  "complexType": {
298
- "original": "'primary' | 'secondary'",
299
- "resolved": "\"primary\" | \"secondary\"",
301
+ "original": "'primary' | 'secondary' | null",
302
+ "resolved": "\"primary\" | \"secondary\" | null",
300
303
  "references": {}
301
304
  },
302
305
  "required": false,
@@ -332,11 +335,11 @@ export class TdsDatetime {
332
335
  "mutable": false,
333
336
  "complexType": {
334
337
  "original": "string",
335
- "resolved": "string",
338
+ "resolved": "string | undefined",
336
339
  "references": {}
337
340
  },
338
341
  "required": false,
339
- "optional": false,
342
+ "optional": true,
340
343
  "docs": {
341
344
  "tags": [],
342
345
  "text": "Error state of input"
@@ -421,11 +424,11 @@ export class TdsDatetime {
421
424
  "mutable": false,
422
425
  "complexType": {
423
426
  "original": "string",
424
- "resolved": "string",
427
+ "resolved": "string | undefined",
425
428
  "references": {}
426
429
  },
427
430
  "required": false,
428
- "optional": false,
431
+ "optional": true,
429
432
  "docs": {
430
433
  "tags": [],
431
434
  "text": "Value for the aria-label attribute"