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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/tds-block.cjs.entry.js +1 -1
  4. package/dist/cjs/tds-body-cell.cjs.entry.js +4 -3
  5. package/dist/cjs/tds-button_2.cjs.entry.js +7 -5
  6. package/dist/cjs/tds-card.cjs.entry.js +2 -2
  7. package/dist/cjs/tds-checkbox.cjs.entry.js +6 -3
  8. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -5
  9. package/dist/cjs/tds-datetime.cjs.entry.js +8 -5
  10. package/dist/cjs/tds-dropdown_2.cjs.entry.js +49 -31
  11. package/dist/cjs/tds-folder-tabs.cjs.entry.js +10 -3
  12. package/dist/cjs/tds-footer-group.cjs.entry.js +7 -6
  13. package/dist/cjs/tds-footer-item.cjs.entry.js +7 -3
  14. package/dist/cjs/tds-footer.cjs.entry.js +2 -2
  15. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -2
  16. package/dist/cjs/tds-header-cell.cjs.entry.js +10 -5
  17. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -3
  18. package/dist/cjs/tds-header-dropdown.cjs.entry.js +7 -5
  19. package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -4
  20. package/dist/cjs/tds-header.cjs.entry.js +8 -6
  21. package/dist/cjs/tds-icon.cjs.entry.js +1 -2
  22. package/dist/cjs/tds-inline-tabs.cjs.entry.js +10 -3
  23. package/dist/cjs/tds-message.cjs.entry.js +2 -2
  24. package/dist/cjs/tds-modal.cjs.entry.js +5 -4
  25. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +12 -5
  26. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -4
  27. package/dist/cjs/tds-popover-core.cjs.entry.js +10 -8
  28. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -4
  29. package/dist/cjs/tds-radio-button.cjs.entry.js +4 -1
  30. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +5 -4
  31. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +13 -9
  32. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -3
  33. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -4
  34. package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -9
  35. package/dist/cjs/tds-side-menu.cjs.entry.js +12 -9
  36. package/dist/cjs/tds-slider.cjs.entry.js +26 -16
  37. package/dist/cjs/tds-step.cjs.entry.js +3 -1
  38. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
  39. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +17 -10
  40. package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -5
  41. package/dist/cjs/tds-table-body.cjs.entry.js +9 -5
  42. package/dist/cjs/tds-table-footer.cjs.entry.js +17 -26
  43. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  44. package/dist/cjs/tds-table-header.cjs.entry.js +24 -18
  45. package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -4
  46. package/dist/cjs/tds-table.cjs.entry.js +14 -12
  47. package/dist/cjs/tds-text-field.cjs.entry.js +7 -6
  48. package/dist/cjs/tds-textarea.cjs.entry.js +5 -4
  49. package/dist/cjs/tds-toggle.cjs.entry.js +5 -4
  50. package/dist/cjs/tds-tooltip.cjs.entry.js +6 -10
  51. package/dist/cjs/tegel.cjs.js +1 -1
  52. package/dist/collection/components/accordion/accordion.js +4 -4
  53. package/dist/collection/components/block/block.js +3 -3
  54. package/dist/collection/components/button/button.js +9 -7
  55. package/dist/collection/components/card/card.js +4 -4
  56. package/dist/collection/components/checkbox/checkbox.js +7 -4
  57. package/dist/collection/components/chip/chip.js +1 -1
  58. package/dist/collection/components/datetime/datetime.js +10 -7
  59. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +9 -6
  60. package/dist/collection/components/dropdown/dropdown.js +44 -31
  61. package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
  62. package/dist/collection/components/footer/footer-group/footer-group.js +6 -5
  63. package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
  64. package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
  65. package/dist/collection/components/footer/footer.js +4 -4
  66. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  67. package/dist/collection/components/header/header-dropdown/header-dropdown.js +7 -5
  68. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
  69. package/dist/collection/components/header/header-item/header-item.js +9 -5
  70. package/dist/collection/components/header/header-launcher/header-launcher.js +8 -4
  71. package/dist/collection/components/header/header.js +8 -6
  72. package/dist/collection/components/icon/icon.js +3 -4
  73. package/dist/collection/components/message/message.js +4 -4
  74. package/dist/collection/components/modal/modal.js +8 -7
  75. package/dist/collection/components/popover-canvas/popover-canvas.js +9 -9
  76. package/dist/collection/components/popover-core/popover-core.js +20 -23
  77. package/dist/collection/components/popover-menu/popover-menu.js +9 -9
  78. package/dist/collection/components/radio-button/radio-button.js +4 -1
  79. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -4
  80. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -4
  81. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  82. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -9
  83. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +15 -9
  84. package/dist/collection/components/side-menu/side-menu.js +12 -9
  85. package/dist/collection/components/slider/slider.js +26 -16
  86. package/dist/collection/components/stepper/step/step.js +3 -1
  87. package/dist/collection/components/table/table/table.js +36 -18
  88. package/dist/collection/components/table/table-body/table-body.js +9 -5
  89. package/dist/collection/components/table/table-body-cell/table-body-cell.js +7 -6
  90. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  91. package/dist/collection/components/table/table-body-row/table-body-row.js +13 -10
  92. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +23 -16
  93. package/dist/collection/components/table/table-footer/table-footer.js +22 -34
  94. package/dist/collection/components/table/table-header/table-header.js +27 -21
  95. package/dist/collection/components/table/table-header-cell/table-header-cell.js +22 -17
  96. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  97. package/dist/collection/components/table/table-toolbar/table-toolbar.js +8 -6
  98. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +12 -5
  99. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +10 -3
  100. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +12 -5
  101. package/dist/collection/components/text-field/text-field.js +9 -8
  102. package/dist/collection/components/textarea/textarea.js +7 -6
  103. package/dist/collection/components/toggle/toggle.js +5 -4
  104. package/dist/collection/components/tooltip/tooltip.js +9 -13
  105. package/dist/collection/utils/appendHiddenInput.js +6 -4
  106. package/dist/components/{p-d10d21bd.js → p-0d286c19.js} +2 -2
  107. package/dist/components/{p-63552d0e.js → p-415fafb3.js} +5 -5
  108. package/dist/components/{p-3308d5fa.js → p-6fd2b339.js} +10 -8
  109. package/dist/components/{p-c62b61fe.js → p-799470b1.js} +7 -5
  110. package/dist/components/{p-2a2d66fe.js → p-7e02ea3e.js} +41 -26
  111. package/dist/components/{p-6ef207b2.js → p-98d082f9.js} +11 -8
  112. package/dist/components/{p-3a7e4d0d.js → p-a64cbc40.js} +10 -9
  113. package/dist/components/{p-04a014cf.js → p-ad376f70.js} +7 -11
  114. package/dist/components/{p-9336db16.js → p-da11a695.js} +5 -3
  115. package/dist/components/{p-1dafdc8c.js → p-e0ccf8e6.js} +15 -9
  116. package/dist/components/{p-44f5b5e1.js → p-e627f11b.js} +6 -3
  117. package/dist/components/{p-7c3348eb.js → p-ead6727f.js} +9 -5
  118. package/dist/components/{p-f7d94947.js → p-edc838a0.js} +1 -2
  119. package/dist/components/tds-accordion-item.js +1 -1
  120. package/dist/components/tds-accordion.js +2 -2
  121. package/dist/components/tds-banner.js +1 -1
  122. package/dist/components/tds-block.js +1 -1
  123. package/dist/components/tds-body-cell.js +5 -4
  124. package/dist/components/tds-button.js +1 -1
  125. package/dist/components/tds-card.js +4 -4
  126. package/dist/components/tds-checkbox.js +1 -1
  127. package/dist/components/tds-datetime.js +9 -6
  128. package/dist/components/tds-dropdown-option.js +1 -1
  129. package/dist/components/tds-dropdown.js +1 -1
  130. package/dist/components/tds-folder-tabs.js +11 -4
  131. package/dist/components/tds-footer-group.js +8 -7
  132. package/dist/components/tds-footer-item.js +7 -3
  133. package/dist/components/tds-footer.js +2 -2
  134. package/dist/components/tds-header-brand-symbol.js +3 -3
  135. package/dist/components/tds-header-cell.js +11 -6
  136. package/dist/components/tds-header-dropdown-list.js +1 -1
  137. package/dist/components/tds-header-dropdown.js +11 -9
  138. package/dist/components/tds-header-hamburger.js +2 -2
  139. package/dist/components/tds-header-item.js +1 -1
  140. package/dist/components/tds-header-launcher-button.js +1 -1
  141. package/dist/components/tds-header-launcher-list.js +1 -1
  142. package/dist/components/tds-header-launcher.js +13 -9
  143. package/dist/components/tds-header.js +8 -6
  144. package/dist/components/tds-icon.js +1 -1
  145. package/dist/components/tds-inline-tabs.js +11 -4
  146. package/dist/components/tds-message.js +3 -3
  147. package/dist/components/tds-modal.js +6 -5
  148. package/dist/components/tds-navigation-tabs.js +13 -6
  149. package/dist/components/tds-popover-canvas.js +1 -1
  150. package/dist/components/tds-popover-core.js +1 -1
  151. package/dist/components/tds-popover-menu.js +5 -5
  152. package/dist/components/tds-radio-button.js +4 -1
  153. package/dist/components/tds-side-menu-close-button.js +1 -1
  154. package/dist/components/tds-side-menu-collapse-button.js +6 -5
  155. package/dist/components/tds-side-menu-dropdown-list-item.js +13 -9
  156. package/dist/components/tds-side-menu-dropdown-list.js +3 -3
  157. package/dist/components/tds-side-menu-dropdown.js +7 -6
  158. package/dist/components/tds-side-menu-item.js +1 -1
  159. package/dist/components/tds-side-menu.js +12 -9
  160. package/dist/components/tds-slider.js +30 -20
  161. package/dist/components/tds-step.js +4 -2
  162. package/dist/components/tds-table-body-input-wrapper.js +2 -2
  163. package/dist/components/tds-table-body-row-expandable.js +17 -10
  164. package/dist/components/tds-table-body-row.js +9 -6
  165. package/dist/components/tds-table-body.js +9 -5
  166. package/dist/components/tds-table-footer.js +22 -33
  167. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  168. package/dist/components/tds-table-header.js +25 -19
  169. package/dist/components/tds-table-toolbar.js +7 -5
  170. package/dist/components/tds-table.js +14 -12
  171. package/dist/components/tds-text-field.js +1 -1
  172. package/dist/components/tds-textarea.js +8 -7
  173. package/dist/components/tds-toast.js +1 -1
  174. package/dist/components/tds-toggle.js +5 -4
  175. package/dist/components/tds-tooltip.js +1 -1
  176. package/dist/esm/loader.js +1 -1
  177. package/dist/esm/tds-accordion.entry.js +2 -2
  178. package/dist/esm/tds-block.entry.js +1 -1
  179. package/dist/esm/tds-body-cell.entry.js +4 -3
  180. package/dist/esm/tds-button_2.entry.js +7 -5
  181. package/dist/esm/tds-card.entry.js +2 -2
  182. package/dist/esm/tds-checkbox.entry.js +6 -3
  183. package/dist/esm/tds-core-header-item_2.entry.js +9 -5
  184. package/dist/esm/tds-datetime.entry.js +8 -5
  185. package/dist/esm/tds-dropdown_2.entry.js +49 -31
  186. package/dist/esm/tds-folder-tabs.entry.js +10 -3
  187. package/dist/esm/tds-footer-group.entry.js +7 -6
  188. package/dist/esm/tds-footer-item.entry.js +7 -3
  189. package/dist/esm/tds-footer.entry.js +2 -2
  190. package/dist/esm/tds-header-brand-symbol.entry.js +2 -2
  191. package/dist/esm/tds-header-cell.entry.js +10 -5
  192. package/dist/esm/tds-header-dropdown-list.entry.js +5 -3
  193. package/dist/esm/tds-header-dropdown.entry.js +7 -5
  194. package/dist/esm/tds-header-launcher.entry.js +8 -4
  195. package/dist/esm/tds-header.entry.js +8 -6
  196. package/dist/esm/tds-icon.entry.js +1 -2
  197. package/dist/esm/tds-inline-tabs.entry.js +10 -3
  198. package/dist/esm/tds-message.entry.js +2 -2
  199. package/dist/esm/tds-modal.entry.js +5 -4
  200. package/dist/esm/tds-navigation-tabs.entry.js +12 -5
  201. package/dist/esm/tds-popover-canvas.entry.js +4 -4
  202. package/dist/esm/tds-popover-core.entry.js +10 -8
  203. package/dist/esm/tds-popover-menu.entry.js +4 -4
  204. package/dist/esm/tds-radio-button.entry.js +4 -1
  205. package/dist/esm/tds-side-menu-collapse-button.entry.js +5 -4
  206. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +13 -9
  207. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -3
  208. package/dist/esm/tds-side-menu-dropdown.entry.js +5 -4
  209. package/dist/esm/tds-side-menu-item.entry.js +15 -9
  210. package/dist/esm/tds-side-menu.entry.js +12 -9
  211. package/dist/esm/tds-slider.entry.js +26 -16
  212. package/dist/esm/tds-step.entry.js +3 -1
  213. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
  214. package/dist/esm/tds-table-body-row-expandable.entry.js +17 -10
  215. package/dist/esm/tds-table-body-row.entry.js +8 -5
  216. package/dist/esm/tds-table-body.entry.js +9 -5
  217. package/dist/esm/tds-table-footer.entry.js +17 -26
  218. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  219. package/dist/esm/tds-table-header.entry.js +24 -18
  220. package/dist/esm/tds-table-toolbar.entry.js +6 -4
  221. package/dist/esm/tds-table.entry.js +14 -12
  222. package/dist/esm/tds-text-field.entry.js +7 -6
  223. package/dist/esm/tds-textarea.entry.js +5 -4
  224. package/dist/esm/tds-toggle.entry.js +5 -4
  225. package/dist/esm/tds-tooltip.entry.js +6 -10
  226. package/dist/esm/tegel.js +1 -1
  227. package/dist/tegel/p-08c16b2f.entry.js +1 -0
  228. package/dist/tegel/p-0b37e91a.entry.js +1 -0
  229. package/dist/tegel/p-1e1a87c1.entry.js +1 -0
  230. package/dist/tegel/p-2268af7f.entry.js +1 -0
  231. package/dist/tegel/p-252a7d3f.entry.js +1 -0
  232. package/dist/tegel/p-25473962.entry.js +1 -0
  233. package/dist/tegel/{p-650b98bf.entry.js → p-27369d6a.entry.js} +1 -1
  234. package/dist/tegel/p-27d39882.entry.js +1 -0
  235. package/dist/tegel/p-3ef04672.entry.js +1 -0
  236. package/dist/tegel/p-40d99d7d.entry.js +1 -0
  237. package/dist/tegel/{p-28f85555.entry.js → p-40fa0f5b.entry.js} +1 -1
  238. package/dist/tegel/p-48a3e489.entry.js +1 -0
  239. package/dist/tegel/p-4e15f31d.entry.js +1 -0
  240. package/dist/tegel/p-57c08d0d.entry.js +1 -0
  241. package/dist/tegel/p-58ac68f3.entry.js +1 -0
  242. package/dist/tegel/p-6a472310.entry.js +1 -0
  243. package/dist/tegel/p-7104b955.entry.js +1 -0
  244. package/dist/tegel/p-781b2939.entry.js +1 -0
  245. package/dist/tegel/p-894e7e11.entry.js +1 -0
  246. package/dist/tegel/p-942f8c6f.entry.js +1 -0
  247. package/dist/tegel/p-98eff725.entry.js +1 -0
  248. package/dist/tegel/p-9b06bd5f.entry.js +1 -0
  249. package/dist/tegel/p-9c56b031.entry.js +1 -0
  250. package/dist/tegel/p-a20a54ef.entry.js +1 -0
  251. package/dist/tegel/p-a2b2092a.entry.js +1 -0
  252. package/dist/tegel/p-a334b517.entry.js +1 -0
  253. package/dist/tegel/p-a4e4c450.entry.js +1 -0
  254. package/dist/tegel/p-a60ed3de.entry.js +1 -0
  255. package/dist/tegel/p-a6dca188.entry.js +1 -0
  256. package/dist/tegel/{p-464469fe.entry.js → p-a912035b.entry.js} +1 -1
  257. package/dist/tegel/p-b218db70.entry.js +1 -0
  258. package/dist/tegel/p-b3b13975.entry.js +1 -0
  259. package/dist/tegel/{p-987f8f0f.entry.js → p-b9afb39e.entry.js} +1 -1
  260. package/dist/tegel/p-bb8c2a36.entry.js +1 -0
  261. package/dist/tegel/p-bee9e9d1.entry.js +1 -0
  262. package/dist/tegel/{p-f31f56fe.entry.js → p-c5694dd6.entry.js} +1 -1
  263. package/dist/tegel/{p-57a28f62.entry.js → p-ca068263.entry.js} +1 -1
  264. package/dist/tegel/p-d501a665.entry.js +1 -0
  265. package/dist/tegel/{p-f2318c88.entry.js → p-da38aa9a.entry.js} +1 -1
  266. package/dist/tegel/p-dda1ac69.entry.js +1 -0
  267. package/dist/tegel/{p-55f9c79a.entry.js → p-e0dc09f9.entry.js} +1 -1
  268. package/dist/tegel/p-e29fa563.entry.js +1 -0
  269. package/dist/tegel/p-ed66ef30.entry.js +1 -0
  270. package/dist/tegel/p-f5ca4fbf.entry.js +1 -0
  271. package/dist/tegel/p-f602b3a1.entry.js +1 -0
  272. package/dist/tegel/p-f922308f.entry.js +1 -0
  273. package/dist/tegel/p-fb300776.entry.js +1 -0
  274. package/dist/tegel/p-fd22d1ca.entry.js +1 -0
  275. package/dist/tegel/{p-c6968db1.entry.js → p-fe4335ca.entry.js} +1 -1
  276. package/dist/tegel/tegel.css +1 -1
  277. package/dist/tegel/tegel.esm.js +1 -1
  278. package/dist/types/components/accordion/accordion.d.ts +1 -1
  279. package/dist/types/components/block/block.d.ts +1 -1
  280. package/dist/types/components/button/button.d.ts +1 -1
  281. package/dist/types/components/card/card.d.ts +1 -1
  282. package/dist/types/components/datetime/datetime.d.ts +2 -2
  283. package/dist/types/components/dropdown/dropdown.d.ts +5 -5
  284. package/dist/types/components/footer/footer.d.ts +1 -1
  285. package/dist/types/components/icon/icon.d.ts +1 -1
  286. package/dist/types/components/message/message.d.ts +1 -1
  287. package/dist/types/components/modal/modal.d.ts +1 -1
  288. package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
  289. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  290. package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
  291. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  292. package/dist/types/components/table/table/table.d.ts +6 -3
  293. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  294. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +8 -5
  295. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  296. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  297. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
  298. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -5
  299. package/dist/types/components/table/table-header/table-header.d.ts +5 -5
  300. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
  301. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  302. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  303. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
  304. package/dist/types/components/text-field/text-field.d.ts +1 -1
  305. package/dist/types/components/textarea/textarea.d.ts +2 -2
  306. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  307. package/dist/types/components.d.ts +81 -81
  308. package/dist/types/types/Attributes.d.ts +1 -1
  309. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  310. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  311. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  312. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  313. package/package.json +1 -1
  314. package/dist/tegel/p-08ad6a21.entry.js +0 -1
  315. package/dist/tegel/p-08f63e5d.entry.js +0 -1
  316. package/dist/tegel/p-09cd056c.entry.js +0 -1
  317. package/dist/tegel/p-0c9a51d9.entry.js +0 -1
  318. package/dist/tegel/p-0cfe8671.entry.js +0 -1
  319. package/dist/tegel/p-0e772ad7.entry.js +0 -1
  320. package/dist/tegel/p-17bc1e49.entry.js +0 -1
  321. package/dist/tegel/p-1859156f.entry.js +0 -1
  322. package/dist/tegel/p-1f4267a8.entry.js +0 -1
  323. package/dist/tegel/p-24a76927.entry.js +0 -1
  324. package/dist/tegel/p-3450dd6c.entry.js +0 -1
  325. package/dist/tegel/p-3462a7cc.entry.js +0 -1
  326. package/dist/tegel/p-354d3986.entry.js +0 -1
  327. package/dist/tegel/p-3c97cb45.entry.js +0 -1
  328. package/dist/tegel/p-3e6d65ee.entry.js +0 -1
  329. package/dist/tegel/p-445fa788.entry.js +0 -1
  330. package/dist/tegel/p-51a17707.entry.js +0 -1
  331. package/dist/tegel/p-52689019.entry.js +0 -1
  332. package/dist/tegel/p-6b340718.entry.js +0 -1
  333. package/dist/tegel/p-72006dd7.entry.js +0 -1
  334. package/dist/tegel/p-743d4f07.entry.js +0 -1
  335. package/dist/tegel/p-77cfb0ef.entry.js +0 -1
  336. package/dist/tegel/p-7887bdbb.entry.js +0 -1
  337. package/dist/tegel/p-7b598e60.entry.js +0 -1
  338. package/dist/tegel/p-7ef50e7f.entry.js +0 -1
  339. package/dist/tegel/p-8c2695af.entry.js +0 -1
  340. package/dist/tegel/p-9f187848.entry.js +0 -1
  341. package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
  342. package/dist/tegel/p-a090bd2f.entry.js +0 -1
  343. package/dist/tegel/p-a472f649.entry.js +0 -1
  344. package/dist/tegel/p-a4cbb541.entry.js +0 -1
  345. package/dist/tegel/p-a56436c8.entry.js +0 -1
  346. package/dist/tegel/p-a8abc8d9.entry.js +0 -1
  347. package/dist/tegel/p-b210d23c.entry.js +0 -1
  348. package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
  349. package/dist/tegel/p-cf717912.entry.js +0 -1
  350. package/dist/tegel/p-d1d45942.entry.js +0 -1
  351. package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
  352. package/dist/tegel/p-f3c32d4d.entry.js +0 -1
  353. package/dist/tegel/p-fd15ced7.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
2
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
3
3
 
4
4
  const folderTabsCss = ":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:1;right:0}:host .scroll-left-button{z-index:1;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus-within::before,:host .scroll-left-button:focus-within::before{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;content:\"\";position:absolute;top:3px;bottom:3px;left:3px;right:3px}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
5
5
  const TdsFolderTabsStyle0 = folderTabsCss;
@@ -32,7 +32,8 @@ const TdsFolderTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsFolderTabs ext
32
32
  this.updateScrollButtons();
33
33
  });
34
34
  });
35
- resizeObserver.observe(this.navWrapperElement);
35
+ if (this.navWrapperElement)
36
+ resizeObserver.observe(this.navWrapperElement);
36
37
  };
37
38
  this.addEventListenerToTabs = () => {
38
39
  this.children = Array.from(this.host.children);
@@ -101,16 +102,22 @@ const TdsFolderTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsFolderTabs ext
101
102
  this.children[this.selectedIndex].setSelected(true);
102
103
  }
103
104
  scrollRight() {
105
+ if (!this.navWrapperElement)
106
+ return;
104
107
  const scroll = this.navWrapperElement.scrollLeft;
105
108
  this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
106
109
  this.evaluateScrollButtons();
107
110
  }
108
111
  scrollLeft() {
112
+ if (!this.navWrapperElement)
113
+ return;
109
114
  const scroll = this.navWrapperElement.scrollLeft;
110
115
  this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
111
116
  this.evaluateScrollButtons();
112
117
  }
113
118
  evaluateScrollButtons() {
119
+ if (!this.navWrapperElement)
120
+ return;
114
121
  const scroll = this.navWrapperElement.scrollLeft;
115
122
  this.showRightScroll = scroll <= this.scrollWidth;
116
123
  this.showLeftScroll = scroll > 0;
@@ -168,9 +175,9 @@ const TdsFolderTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsFolderTabs ext
168
175
  this.removeEventListenerFromTabs();
169
176
  }
170
177
  render() {
171
- return (h(Host, { key: '8c8c4916fe50279d530f99d21fef8f4ceb89fe55', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '5850bbcf52dfadf7a08dbe420916d98ed6d14b41', class: "wrapper", ref: (el) => {
178
+ return (h(Host, { key: '306e3cdd4c692c55c76c219b9103be7f9e5a479c', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'f830e2fd7972564b5f340b443b982d8feae44fd8', class: "wrapper", ref: (el) => {
172
179
  this.navWrapperElement = el;
173
- } }, h("button", { key: '9506486a1d6a2415bc8213cf1c0ab8c7789ad82c', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'e721ba34d2d703bd0ee2fe833e7859f282b6b332', name: "chevron_left", size: "20px" })), h("slot", { key: 'ee2558c4a7d35d8d6355df59b735344151742884', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '6ac20fbd52634a08bd6ef369a45fe0ebb7de9d5d', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '20a1096cec8ef7e121200f469761fac9a2a5086d', name: "chevron_right", size: "20px" })))));
180
+ } }, h("button", { key: 'e5d1dd48c99588f66ef6525809dd4b6f5e3af6ad', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'dc873eb0a1ebddf4c15382bfdd6b07b20904233e', name: "chevron_left", size: "20px" })), h("slot", { key: '5485e73e2b54f94c7fdde910f479b402c082cbc8', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '42271e07b78aff4750be45162d132b6103993d9a', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'dbb99a44c0afbd0a8b59ecf10592d991294da9fa', name: "chevron_right", size: "20px" })))));
174
181
  }
175
182
  get host() { return this; }
176
183
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { h as hasSlot } from './p-ae110fc2.js';
3
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
3
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
4
4
 
5
- const footerGroupCss = ":host{display:block}:host .footer-top-title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links-header);padding-bottom:8px}:host .footer-top-title *,:host .footer-top-title ::slotted(*){margin:0}:host button.footer-top-title-button{border:none;width:100%;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--tds-footer-top-divider)}:host button.footer-top-title-button *,:host button.footer-top-title-button ::slotted(*){margin:0}:host button.footer-top-title-button.expanded{border-bottom:none}:host button.footer-top-title-button.expanded tds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--tds-footer-top-button-active)}:host button.footer-top-title-button:focus-visible{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host button.footer-top-title-button tds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:8px}:host [role=list].start,:host [role=list].end{gap:24px}:host [role=list].top-part-child{flex-direction:column}:host .mobile-view [role=list].start:not(.top-part-child){flex-direction:column}:host .mobile-view [role=list].start:not(.top-part-child).start,:host .mobile-view [role=list].start:not(.top-part-child).end{gap:8px}:host .mobile-view [role=list].top-part-child.closed{display:none}:host .mobile-view [role=list].top-part-child{gap:0}:host .mobile-view button.footer-top-title-button{display:flex;align-items:center}";
5
+ const footerGroupCss = ":host{display:block}:host .footer-top-title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links-header);padding-bottom:8px}:host .footer-top-title *,:host .footer-top-title ::slotted(*){margin:0}:host button.footer-top-title-button{border:none;width:100%;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--tds-footer-top-divider)}:host button.footer-top-title-button *,:host button.footer-top-title-button ::slotted(*){margin:0}:host button.footer-top-title-button.expanded tds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--tds-footer-top-button-active)}:host button.footer-top-title-button:focus-visible{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host button.footer-top-title-button tds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:12px}:host [role=list].start,:host [role=list].end{gap:24px}:host [role=list].top-part-child{flex-direction:column}:host .mobile-view [role=list].start:not(.top-part-child){flex-direction:column}:host .mobile-view [role=list].start:not(.top-part-child).start,:host .mobile-view [role=list].start:not(.top-part-child).end{gap:8px}:host .mobile-view [role=list].top-part-child.closed{display:none}:host .mobile-view [role=list].top-part-child{gap:0}:host .mobile-view button.footer-top-title-button{display:flex;align-items:center}";
6
6
  const TdsFooterGroupStyle0 = footerGroupCss;
7
7
 
8
8
  const TdsFooterGroup$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooterGroup extends H {
@@ -24,10 +24,11 @@ const TdsFooterGroup$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooterGroup e
24
24
  this.isMobile = window.innerWidth <= 992;
25
25
  }
26
26
  connectedCallback() {
27
+ var _a, _b;
27
28
  this.updateIsMobile();
28
- this.topPartGroup = this.host.parentElement.slot === 'top';
29
+ this.topPartGroup = ((_a = this.host.parentElement) === null || _a === void 0 ? void 0 : _a.slot) === 'top';
29
30
  if (!this.topPartGroup) {
30
- this.slotPosition = this.host.parentElement.slot === 'end' ? 'end' : 'start';
31
+ this.slotPosition = ((_b = this.host.parentElement) === null || _b === void 0 ? void 0 : _b.slot) === 'end' ? 'end' : 'start';
31
32
  }
32
33
  if (!this.tdsListAriaLabel) {
33
34
  console.warn('Tegel Footer Group component: missing tdsListAriaLabel prop');
@@ -45,12 +46,12 @@ const TdsFooterGroup$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooterGroup e
45
46
  }
46
47
  render() {
47
48
  const hasTitleSlot = hasSlot('title', this.host);
48
- return (h(Host, { key: 'ae7d97292dba7bf2054e1833e436dbabec499ed7', "aria-expanded": this.open ? 'true' : 'false' }, h("div", { key: 'e94d8a8f5cdab4eaa1ec72d9d8da2cf3634ddb86', class: this.isMobile ? 'mobile-view' : '' }, this.topPartGroup &&
49
+ return (h(Host, { key: '03334686d168738c5f4c8e24af3683e667fab531', "aria-expanded": this.open ? 'true' : 'false' }, h("div", { key: '106158a95e6c699615280250d60d629bed56d442', class: this.isMobile ? 'mobile-view' : '' }, this.topPartGroup &&
49
50
  (this.isMobile ? (h("button", { onClick: () => {
50
51
  this.open = !this.open;
51
- }, class: `footer-top-title-button ${this.open ? 'expanded' : 'closed'}` }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText, h("tds-icon", { name: "chevron_down", size: "20px", "aria-hidden": "true" }))) : (h("div", { class: "footer-top-title" }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText))), h("nav", { key: 'ab7829753c2e2e80b877470e92f1947d24aefe38', "aria-label": this.tdsListAriaLabel }, h("div", { key: 'e402e251eff4b82e2cfffdb7edc9db3e1c537325', role: "list", class: `${this.slotPosition ? this.slotPosition : ''}
52
+ }, class: `footer-top-title-button ${this.open ? 'expanded' : 'closed'}` }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText, h("tds-icon", { name: "chevron_down", size: "20px", "aria-hidden": "true" }))) : (h("div", { class: "footer-top-title" }, hasTitleSlot ? h("slot", { name: "title" }) : this.titleText))), h("nav", { key: 'ee127c2b7951a4e5f4f541b10de603db4554c0d0', "aria-label": this.tdsListAriaLabel }, h("div", { key: 'f513ab58811b6f2f7ae9c9ed4986367c9169e030', role: "list", class: `${this.slotPosition ? this.slotPosition : ''}
52
53
  ${this.topPartGroup ? 'top-part-child' : ''}
53
- ${this.open ? 'expanded' : 'closed'}` }, h("slot", { key: 'd00e9acc84542e2694b6a9aa4b481a2263f79e4b' }))))));
54
+ ${this.open ? 'expanded' : 'closed'}` }, h("slot", { key: 'bc584cbb0542907628ebf05c316f53372bfde08a' }))))));
54
55
  }
55
56
  get host() { return this; }
56
57
  static get style() { return TdsFooterGroupStyle0; }
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
 
3
- const footerItemCss = ":host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-main-links);text-decoration:none}:host([role=listitem]) div ::slotted(a:focus-visible),:host([role=listitem]) div ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host([role=listitem]) div ::slotted(a:hover),:host([role=listitem]) div ::slotted(button:hover){text-decoration:underline}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media all and (max-width: 992px){:host([role=listitem]) div.top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}:host([role=listitem]) div.top-part-child ::slotted(a:hover),:host([role=listitem]) div.top-part-child ::slotted(button:hover){text-decoration:underline;background-color:var(--tds-footer-top-links-background-hover)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}}";
3
+ const footerItemCss = ":host([role=listitem]) div ::slotted(a),:host([role=listitem]) div ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-main-links);text-decoration:none}:host([role=listitem]) div ::slotted(a:focus-visible),:host([role=listitem]) div ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host([role=listitem]) div ::slotted(a:hover),:host([role=listitem]) div ::slotted(button:hover){text-decoration:underline}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media all and (max-width: 992px){:host([role=listitem]) div.top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}:host([role=listitem]) div.top-part-child ::slotted(a),:host([role=listitem]) div.top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}:host([role=listitem]) div.top-part-child ::slotted(a:active),:host([role=listitem]) div.top-part-child ::slotted(button:active){text-decoration:underline;background-color:var(--tds-footer-top-links-background-active)}:host([role=listitem]) div.top-part-child ::slotted(a:focus-visible),:host([role=listitem]) div.top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}}";
4
4
  const TdsFooterItemStyle0 = footerItemCss;
5
5
 
6
6
  const TdsFooterItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooterItem extends H {
@@ -11,10 +11,14 @@ const TdsFooterItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooterItem ext
11
11
  this.parentIsTopPart = false;
12
12
  }
13
13
  connectedCallback() {
14
- this.parentIsTopPart = this.host.closest('tds-footer-group').parentElement.slot === 'top';
14
+ var _a;
15
+ const closestGroup = this.host.closest('tds-footer-group');
16
+ if (closestGroup) {
17
+ this.parentIsTopPart = ((_a = closestGroup.parentElement) === null || _a === void 0 ? void 0 : _a.slot) === 'top';
18
+ }
15
19
  }
16
20
  render() {
17
- return (h(Host, { key: 'cc3e94cd085ad62a1933a948014d06da55ffeb35', role: "listitem" }, h("div", { key: '602c0f0ede8f40bfc06e3899adb0afa7941602e3', class: `${this.parentIsTopPart ? 'top-part-child' : ''}` }, h("slot", { key: '2770b612c929deb25895455114d2a6e3a45957a4' }))));
21
+ return (h(Host, { key: 'fe1aff1acd336f2d1b66b87a9666c1ea4e3f0016', role: "listitem" }, h("div", { key: 'c180f66951842e69f6b51e83151f5962ff410794', class: `${this.parentIsTopPart ? 'top-part-child' : ''}` }, h("slot", { key: '160d1d6054ed399f8597bcdf98524a65f77c6310' }))));
18
22
  }
19
23
  get host() { return this; }
20
24
  static get style() { return TdsFooterItemStyle0; }
@@ -17,9 +17,9 @@ const TdsFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooter extends H {
17
17
  const usesStartSlot = hasSlot('start', this.host);
18
18
  const usesEndSlot = hasSlot('end', this.host);
19
19
  const usesCopyrightSlot = hasSlot('copyright', this.host);
20
- return (h(Host, { key: 'e3dee2f5ac2caebf6a9585b81cdbdda442562c2b', class: {
20
+ return (h(Host, { key: '1970dca286e8a105a4155f1d72ff8abeee8dda12', class: {
21
21
  [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
22
- } }, h("footer", { key: 'a243b3b440fa8cffc51bea0def2c0bd07288cf96' }, usesTopSlot && h("slot", { key: 'db60db3d12a0c34fdb9db66be986d541633e1d9b', name: "top" }), h("div", { key: '1d2881f8acc0789f8769604d72ebdef99961e380', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: 'c8a1cb2639700b51b39355163b0e8b26d1f82855', class: "footer-main-top" }, usesStartSlot && h("slot", { key: 'e343837536cc838b2382d946b8703821e627e6d1', name: "start" }), usesEndSlot && h("slot", { key: 'a181a6656e88f36b8d724d8ccdab33804bf51f0d', name: "end" }))), h("div", { key: '64178cb80d7e0b38d2d5f8a625c222772fd64741', class: "footer-main-bottom" }, h("small", { key: 'c9b3c7337d031cf4a18d5fad56938d490a0dac1e', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: '926e8672dd9d00ae5d0c951d506dc506ea698ed2', class: "brand" }, h("p", { key: '4e110423f7b958b3d427d88016ab18d02c6c8edf' }, "Scania")))))));
22
+ } }, h("footer", { key: 'ba1b73a9e3cda8b856560ee09e84a8f54d432e5f' }, usesTopSlot && h("slot", { key: 'd656a404027d1fe57cf89673316d47a80cc0d494', name: "top" }), h("div", { key: 'ad0f0e1c7f34c8e2a71916a6f6715d3dc3ad0a07', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: '473888e3515a48364f07a2c7a30b518a4e13ab4f', class: "footer-main-top" }, usesStartSlot && h("slot", { key: 'dff42968e4cbfadc88ab70bd753d612b4f172769', name: "start" }), usesEndSlot && h("slot", { key: '2015c7102206c9023324e3f4b4ac8a86422003e4', name: "end" }))), h("div", { key: '0af4fd04d0643dcffc07a4f55d88220691bf72a1', class: "footer-main-bottom" }, h("small", { key: 'e11f206cc48f54547c62eaf25f7ab1a98e521424', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: 'a933b570ae2778b2034fc61e8efcfa3f04bcb1e0', class: "brand" }, h("p", { key: 'cc6d2913da4c97ebc757534b2167d9544c909902' }, "Scania")))))));
23
23
  }
24
24
  get host() { return this; }
25
25
  static get style() { return TdsFooterStyle0; }
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { d as defineCustomElement$3 } from './p-e1622f4a.js';
3
- import { d as defineCustomElement$2 } from './p-7c3348eb.js';
3
+ import { d as defineCustomElement$2 } from './p-ead6727f.js';
4
4
 
5
5
  const headerBrandSymbolCss = ":host tds-header-item{display:none}:host tds-header-item ::slotted(*){background-image:var(--tds-background-image-scania-symbol-svg-local), var(--tds-background-image-scania-symbol-svg);background-size:30px auto;background-position:center;background-repeat:no-repeat}@media (min-width: 992px){:host tds-header-item{display:block}}";
6
6
  const TdsHeaderBrandSymbolStyle0 = headerBrandSymbolCss;
@@ -13,10 +13,10 @@ const TdsHeaderBrandSymbol$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderB
13
13
  }
14
14
  render() {
15
15
  const aTag = this.host.querySelector('a');
16
- if (!aTag.hasAttribute('aria-label')) {
16
+ if (!(aTag === null || aTag === void 0 ? void 0 : aTag.hasAttribute('aria-label'))) {
17
17
  console.warn('Tegel Header Brand Symbol component: missing aria-label attribute for <a> tag inside slot');
18
18
  }
19
- return (h(Host, { key: 'b3f7cf4d264f2046844814a80f7b9b6a920b1a1e' }, h("tds-header-item", { key: '0be33ffe57b94442fac4f1e686f87fb1e2f1911d' }, h("slot", { key: '3f7f636bc5f7c1b2ee009c774337d0b41c45e477' }))));
19
+ return (h(Host, { key: '9cbe4978dccfdeb1b11ea0a8ba7c0e5e7fe991ba' }, h("tds-header-item", { key: 'a2ff9dc657366d73042b51717ad9447ec0f7dca1' }, h("slot", { key: '9a7ded8445811b59cd858f86bb2aa640c1af91d3' }))));
20
20
  }
21
21
  get host() { return this; }
22
22
  static get style() { return TdsHeaderBrandSymbolStyle0; }
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
2
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
3
3
 
4
4
  const tableHeaderCellCss = ":host(.tds-table__header-cell){box-sizing:border-box;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-header-background-hover);padding:0;height:48px;min-width:192px;box-sizing:border-box;vertical-align:middle;overflow:hidden;transition:background-color 200ms ease}:host(.tds-table__header-cell) *{box-sizing:border-box}:host(.tds-table__header-cell) .tds-table__header-text{padding:8px 16px;margin:0}:host(.tds-table__header-cell) .tds-table__header-text-no-padding{padding:0}:host(.tds-table__header-cell--sortable) .tds-table__header-button{display:flex;align-items:center;gap:8px;justify-content:start;flex-direction:row;width:100%;height:100%;padding:0 16px;background-color:transparent;border:none;cursor:pointer;transition:background-color 200ms ease}:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus{outline:2px solid var(--tds-table-header-btn-focus);outline-offset:-2px}:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-text{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);text-align:left;color:var(--tds-table-header-btn-color)}:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-icon{flex:0 0 16px;height:16px;width:16px;opacity:0;transform-origin:center;transition:opacity 200ms ease-in, transform 200ms ease;color:var(--tds-table-color)}:host(.tds-table__header-cell--sortable) .tds-table__header-button:hover .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button{background-color:var(--tds-table-header-btn-background)}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button:hover{background-color:var(--tds-table-header-btn-background-hover)}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon--rotate{transform:rotate(180deg)}:host(.tds-table--compact){height:33px}:host(.tds-table--divider){border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type){border-right:none}:host(.tds-table--no-min-width){min-width:unset}:host(.tds-table--no-padding){height:unset}:host(.tds-table__header-cell:first-of-type){border-top-left-radius:4px}:host(.tds-table__header-cell:last-of-type){border-top-right-radius:4px}:host(.tds-table--extra-column:first-of-type){border-top-left-radius:0}:host(.tds-table--toolbar-available){border-radius:0}:host(.tds-table--extra-column.tds-table--toolbar-available){border-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:first-of-type){border-top-left-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:last-of-type){border-top-right-radius:0}";
5
5
  const TdsHeaderCellStyle0 = tableHeaderCellCss;
@@ -96,12 +96,14 @@ const TdsTableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TdsTableHeader
96
96
  }
97
97
  }
98
98
  connectedCallback() {
99
+ var _a;
99
100
  this.tableEl = this.host.closest('tds-table');
100
- this.tableId = this.tableEl.tableId;
101
+ this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
101
102
  }
102
103
  componentWillLoad() {
103
104
  relevantTableProps.forEach((tablePropName) => {
104
- this[tablePropName] = this.tableEl[tablePropName];
105
+ var _a;
106
+ this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
105
107
  });
106
108
  }
107
109
  componentWillRender() {
@@ -111,8 +113,11 @@ const TdsTableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TdsTableHeader
111
113
  : 'left';
112
114
  // To enable body cells text align per rules set in head cell
113
115
  this.internalTdsTextAlign.emit([this.tableId, this.cellKey, this.textAlignState]);
114
- this.enableToolbarDesign =
115
- this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
116
+ const closesetTable = this.host.closest('tds-table');
117
+ if (closesetTable) {
118
+ this.enableToolbarDesign =
119
+ closesetTable.getElementsByTagName('tds-table-toolbar').length >= 1;
120
+ }
116
121
  }
117
122
  getAriaSort() {
118
123
  if (this.sortingDirection === 'asc')
@@ -122,7 +127,7 @@ const TdsTableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TdsTableHeader
122
127
  return 'none';
123
128
  }
124
129
  render() {
125
- return (h(Host, { key: 'f128527938679fe448019802ea76cda1a57d75be', class: {
130
+ return (h(Host, { key: '13dbec19fb1678656b968265add6b87cb97355d7', class: {
126
131
  'tds-table__header-cell': true,
127
132
  'tds-table__header-cell--sortable': this.sortable,
128
133
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -1,4 +1,4 @@
1
- import { T as TdsHeaderDropdownList$1, d as defineCustomElement$1 } from './p-9336db16.js';
1
+ import { T as TdsHeaderDropdownList$1, d as defineCustomElement$1 } from './p-da11a695.js';
2
2
 
3
3
  const TdsHeaderDropdownList = TdsHeaderDropdownList$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { g as generateUniqueId } from './p-11648030.js';
3
3
  import { d as defineCustomElement$6 } from './p-e1622f4a.js';
4
- import { d as defineCustomElement$5 } from './p-7c3348eb.js';
5
- import { d as defineCustomElement$4 } from './p-f7d94947.js';
6
- import { d as defineCustomElement$3 } from './p-63552d0e.js';
7
- import { d as defineCustomElement$2 } from './p-3308d5fa.js';
4
+ import { d as defineCustomElement$5 } from './p-ead6727f.js';
5
+ import { d as defineCustomElement$4 } from './p-edc838a0.js';
6
+ import { d as defineCustomElement$3 } from './p-415fafb3.js';
7
+ import { d as defineCustomElement$2 } from './p-6fd2b339.js';
8
8
 
9
9
  const headerDropdownCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host{height:var(--tds-header-height);position:relative}:host .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-top-right-radius:0;border-top-left-radius:0}:host .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}:host .state-open .dropdown-icon{transform:rotate(180deg)}:host .state-open .button{position:relative;z-index:901}:host .state-open tds-header-item button:hover,:host .state-open tds-header-item a:hover{background-color:var(--tds-nav-item-background-hover);box-shadow:none}";
10
10
  const TdsHeaderDropdownStyle0 = headerDropdownCss;
@@ -36,17 +36,19 @@ const TdsHeaderDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDrop
36
36
  }
37
37
  }
38
38
  handleKeyDown(event) {
39
+ var _a;
39
40
  if (event.key === 'Escape' && this.open) {
40
41
  this.open = false;
41
- this.buttonEl.focus();
42
+ (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();
42
43
  }
43
44
  }
44
45
  toggleDropdown() {
45
46
  this.open = !this.open;
46
47
  if (this.open) {
47
48
  requestAnimationFrame(() => {
49
+ var _a;
48
50
  const selectors = "a, [tabindex='0']";
49
- const firstFocusableElement = this.host.shadowRoot.querySelector(selectors) || this.host.querySelector(selectors);
51
+ const firstFocusableElement = ((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(selectors)) || this.host.querySelector(selectors);
50
52
  if (firstFocusableElement instanceof H) {
51
53
  firstFocusableElement.focus();
52
54
  }
@@ -54,13 +56,13 @@ const TdsHeaderDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDrop
54
56
  }
55
57
  }
56
58
  render() {
57
- return (h(Host, { key: '0b5e0474e13db90b9a61f8177b4191d26f542d9f' }, h("div", { key: 'b45a13bc693415d7ff3d48cca6e5899202f3d24a', class: {
59
+ return (h(Host, { key: 'c3e84fbcdab1a9c2530f7a5e16c195858f6daa15' }, h("div", { key: '640ad175e59d7e3f958a17fa1358c5c1ec405346', class: {
58
60
  'state-open': this.open,
59
- } }, h("tds-header-item", { key: 'd8bd0a9a07ac2f1e816faf7790756ba496918165', class: "button", active: this.open, selected: this.selected }, h("button", { key: '8636bf077ec6e58463dd2b422621d7d56a29c38f', ref: (el) => {
61
+ } }, h("tds-header-item", { key: 'f424e4e9a77c8fd6dfbde8b292e002aad8ecd307', class: "button", active: this.open, selected: this.selected }, h("button", { key: 'e22605109e904183690d58fbc18954ea9e9816f4', ref: (el) => {
60
62
  this.buttonEl = el;
61
63
  }, "aria-expanded": `${this.open}`, "aria-controls": `launcher-${this.uuid}`, "aria-current": this.selected ? 'location' : 'false', onClick: () => {
62
64
  this.toggleDropdown();
63
- }, "aria-label": this.tdsAriaLabel }, h("slot", { key: 'f2e9701f7d939ad630c9bcc37ad4aab77de189eb', name: "icon" }), this.label, h("slot", { key: '51e0e5b9f10a8feb8df8a1ef7474ec7ac14e1242', name: "label" }), !this.noDropdownIcon && (h("tds-icon", { key: 'd7476899681822df78fb75fe8dbeaf08cd076ba7', class: "dropdown-icon", name: "chevron_down", size: "16px", svgTitle: "Dropdown icon" })))), this.buttonEl && (h("tds-popover-canvas", { key: '79f9338c0c92ff4aa1baa6331c303c19d846557f', id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
65
+ }, "aria-label": this.tdsAriaLabel }, h("slot", { key: '832f54445aad4cf77afee64d5ab955acbd10ade3', name: "icon" }), this.label, h("slot", { key: '757537697a1340aeb22df2d09f7891269e4c1156', name: "label" }), !this.noDropdownIcon && (h("tds-icon", { key: '76560ef770762fe61f32f06c9803ea815bf07ed0', class: "dropdown-icon", name: "chevron_down", size: "16px", svgTitle: "Dropdown icon" })))), this.buttonEl && (h("tds-popover-canvas", { key: '873d5cccc6569d0291c3ed1474ffe623ec49a24e', id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
64
66
  {
65
67
  name: 'flip',
66
68
  options: {
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { i as inheritAriaAttributes } from './p-0bd4c19c.js';
3
3
  import { d as defineCustomElement$4 } from './p-e1622f4a.js';
4
- import { d as defineCustomElement$3 } from './p-7c3348eb.js';
5
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
4
+ import { d as defineCustomElement$3 } from './p-ead6727f.js';
5
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
6
6
 
7
7
  const headerHamburgerCss = ":host{color:var(--tds-white)}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:background 0.2s ease-in-out, color 0.2s ease-in-out}@media screen and (min-width: 992px){:host tds-header-item{display:none}:host([persistent]) tds-header-item{display:block}}";
8
8
  const TdsHeaderHamburgerStyle0 = headerHamburgerCss;
@@ -1,4 +1,4 @@
1
- import { T as TdsHeaderItem$1, d as defineCustomElement$1 } from './p-7c3348eb.js';
1
+ import { T as TdsHeaderItem$1, d as defineCustomElement$1 } from './p-ead6727f.js';
2
2
 
3
3
  const TdsHeaderItem = TdsHeaderItem$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { T as TdsHeaderLauncherButton$1, d as defineCustomElement$1 } from './p-d10d21bd.js';
1
+ import { T as TdsHeaderLauncherButton$1, d as defineCustomElement$1 } from './p-0d286c19.js';
2
2
 
3
3
  const TdsHeaderLauncherButton = TdsHeaderLauncherButton$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { g as generateUniqueId } from './p-11648030.js';
3
- import { d as defineCustomElement$2 } from './p-9336db16.js';
3
+ import { d as defineCustomElement$2 } from './p-da11a695.js';
4
4
 
5
5
  const TdsHeaderLauncherList$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherList extends H {
6
6
  constructor() {
@@ -2,11 +2,11 @@ import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { g as generateUniqueId } from './p-11648030.js';
3
3
  import { i as inheritAriaAttributes } from './p-0bd4c19c.js';
4
4
  import { d as defineCustomElement$7 } from './p-e1622f4a.js';
5
- import { d as defineCustomElement$6 } from './p-7c3348eb.js';
6
- import { d as defineCustomElement$5 } from './p-d10d21bd.js';
7
- import { d as defineCustomElement$4 } from './p-f7d94947.js';
8
- import { d as defineCustomElement$3 } from './p-63552d0e.js';
9
- import { d as defineCustomElement$2 } from './p-3308d5fa.js';
5
+ import { d as defineCustomElement$6 } from './p-ead6727f.js';
6
+ import { d as defineCustomElement$5 } from './p-0d286c19.js';
7
+ import { d as defineCustomElement$4 } from './p-edc838a0.js';
8
+ import { d as defineCustomElement$3 } from './p-415fafb3.js';
9
+ import { d as defineCustomElement$2 } from './p-6fd2b339.js';
10
10
 
11
11
  const headerLauncherCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host .wrapper{height:var(--tds-header-height);position:relative}:host .wrapper .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-radius:0}:host .wrapper .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .wrapper .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .wrapper .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .wrapper .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}@media all and (max-width: 384px){:host .wrapper .menu{width:100vw}}:host .wrapper.state-list-type-menu .menu{height:calc(100vh - var(--tds-header-height))}:host .wrapper.state-open .button{position:relative;z-index:901}";
12
12
  const TdsHeaderLauncherStyle0 = headerLauncherCss;
@@ -30,9 +30,12 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
30
30
  }
31
31
  }
32
32
  handleKeyDown(event) {
33
+ var _a, _b;
33
34
  if (event.key === 'Escape' && this.open) {
34
35
  this.open = false;
35
- this.buttonEl.shadowRoot.querySelector('button').focus();
36
+ const btnShadow = (_b = (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('button');
37
+ if (btnShadow)
38
+ btnShadow.focus();
36
39
  }
37
40
  }
38
41
  componentDidLoad() {
@@ -43,8 +46,9 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
43
46
  this.open = !this.open;
44
47
  if (this.open) {
45
48
  requestAnimationFrame(() => {
49
+ var _a;
46
50
  const selectors = "a, [tabindex='0']";
47
- const firstFocusableElement = this.host.shadowRoot.querySelector(selectors) || this.host.querySelector(selectors);
51
+ const firstFocusableElement = ((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(selectors)) || this.host.querySelector(selectors);
48
52
  if (firstFocusableElement instanceof H) {
49
53
  firstFocusableElement.focus();
50
54
  }
@@ -58,11 +62,11 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
58
62
  }, 'ref': (el) => {
59
63
  this.buttonEl = el;
60
64
  } });
61
- return (h(Host, { key: '214953326230ac1b5ab664b032783c20d9999531' }, h("div", { key: '0efccd70365257b6f682b777bb6a3d056996aa82', class: {
65
+ return (h(Host, { key: '13631a42a002d81b250fc26438b96f93ae991ab6' }, h("div", { key: '24fca288a843c0c9459f8ad9ce015cec36c815c6', class: {
62
66
  'wrapper': true,
63
67
  'state-open': this.open,
64
68
  'state-list-type-menu': this.hasListTypeMenu,
65
- } }, h("tds-header-launcher-button", Object.assign({ key: '677518edd231dedb813d59220699bf3b1f1469a6' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '7d9b39133b781601acb0d8f97237694209f8d355', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
69
+ } }, h("tds-header-launcher-button", Object.assign({ key: '3883841e41d1acb50f75d78a894c7844305c1cbd' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '20b4cc82c6eed3e2ba60038d4ab37afd49de6357', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
66
70
  {
67
71
  name: 'flip',
68
72
  options: {
@@ -35,18 +35,20 @@ const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
35
35
  componentDidLoad() {
36
36
  const hostElement = this.host;
37
37
  const navElement = hostElement.querySelector('.tds-header-component-list');
38
- this.observer.observe(navElement, {
39
- childList: true,
40
- subtree: false,
41
- });
42
- updateListChildrenRoles(navElement);
38
+ if (navElement) {
39
+ this.observer.observe(navElement, {
40
+ childList: true,
41
+ subtree: false,
42
+ });
43
+ updateListChildrenRoles(navElement);
44
+ }
43
45
  }
44
46
  disconnectedCallback() {
45
47
  this.observer.disconnect();
46
48
  }
47
49
  render() {
48
50
  const navAttributes = Object.assign({}, inheritAriaAttributes(this.host));
49
- return (h(Host, { key: 'f5c7796ebe3f5d9bd6e555f0dd01f8ace54c1cd8' }, h("slot", { key: '77cba127f947cc8fefa875a6db0e68bf52c5a80e', name: "hamburger" }), h("slot", { key: 'daf9d8299734f72355eeaeb307dcc3e25520a7b8', name: "title" }), h("nav", Object.assign({ key: '904338fd0fb8ab3ce42b46ee482d021667fe49e8' }, navAttributes), h("ul", { key: '66994fd2de781178624f8d67c88e4d75e84d2844', class: "tds-header-component-list" }, h("slot", { key: '51ee40aa7b17fb2a36ca23c2cebfb74efb69ea24' }), h("li", { key: 'db64903ac70ee12d48cd5029997949875caa53e8', class: "tds-header-middle-spacer" }), h("slot", { key: '80a48331b218b734061a421c9e31f8fd1b98be1a', name: "end" })))));
51
+ return (h(Host, { key: '30e29defd97ee2a473198d2c403dd23191e02856' }, h("slot", { key: '5905d6acb62da9d4d5de82fe148f709ccd08b3e9', name: "hamburger" }), h("slot", { key: '23f834040a108c9300ac07643518dc9194eb1542', name: "title" }), h("nav", Object.assign({ key: 'ba4803dfde17c977e06a9a76a472a79fd94ddfaa' }, navAttributes), h("ul", { key: '818e664fc808ce9b0b9cc90c188c69a782c36aba', class: "tds-header-component-list" }, h("slot", { key: '920409e9cedc7035a8cd1c149163603fd61d50e6' }), h("li", { key: '36d6627c38241f2fb2d34e0402eeed1befe04696', class: "tds-header-middle-spacer" }), h("slot", { key: '5f14324ddbe295e821b6983f0b6b84f72c981643', name: "end" })))));
50
52
  }
51
53
  get host() { return this; }
52
54
  static get style() { return TdsHeaderStyle0; }
@@ -1,4 +1,4 @@
1
- import { I as Icon, d as defineCustomElement$1 } from './p-f7d94947.js';
1
+ import { I as Icon, d as defineCustomElement$1 } from './p-edc838a0.js';
2
2
 
3
3
  const TdsIcon = Icon;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
2
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
3
3
 
4
4
  const inlineTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-inline-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus-visible::before,:host .scroll-left-button:focus-visible::before{content:\"\";position:absolute;inset:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus-visible,:host .scroll-left-button:focus-visible{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
5
5
  const TdsInlineTabsStyle0 = inlineTabsCss;
@@ -32,7 +32,8 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
32
32
  this.updateScrollButtons();
33
33
  });
34
34
  });
35
- resizeObserver.observe(this.navWrapperElement);
35
+ if (this.navWrapperElement)
36
+ resizeObserver.observe(this.navWrapperElement);
36
37
  };
37
38
  this.addEventListenerToTabs = () => {
38
39
  this.children = Array.from(this.host.children);
@@ -102,16 +103,22 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
102
103
  this.children[this.selectedIndex].setSelected(true);
103
104
  }
104
105
  scrollRight() {
106
+ if (!this.navWrapperElement)
107
+ return;
105
108
  const scroll = this.navWrapperElement.scrollLeft;
106
109
  this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
107
110
  this.evaluateScrollButtons();
108
111
  }
109
112
  scrollLeft() {
113
+ if (!this.navWrapperElement)
114
+ return;
110
115
  const scroll = this.navWrapperElement.scrollLeft;
111
116
  this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
112
117
  this.evaluateScrollButtons();
113
118
  }
114
119
  evaluateScrollButtons() {
120
+ if (!this.navWrapperElement)
121
+ return;
115
122
  const scroll = this.navWrapperElement.scrollLeft;
116
123
  this.showRightScroll = scroll <= this.scrollWidth;
117
124
  this.showLeftScroll = scroll > 0;
@@ -175,9 +182,9 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
175
182
  this.removeEventListenerFromTabs();
176
183
  }
177
184
  render() {
178
- return (h(Host, { key: 'f33abd9071c85c0651a3ab93e3996ec44717e325', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '8a5233b2a941a3a1e72dc45f93015b5e606663a8', class: "wrapper", ref: (el) => {
185
+ return (h(Host, { key: '0983f0230e29f70eb94c0c964a0ee21e2b0eb3ee', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'caad52caccbc0e284330e6ee76d98b5dd289f257', class: "wrapper", ref: (el) => {
179
186
  this.navWrapperElement = el;
180
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f2a8051863cfa93f8b2a5c562fc5ebefcc36b195', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a93d1cb8ddc5486bbb15449c328a25f6e8e2b4cd', name: "chevron_left", size: "20px" })), h("slot", { key: 'e5b096420d72d12c861730fd9829baeba7cce625', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'f154a7b6553fe77e3f09da314403db5326df8e21', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '6832c693ab8a446a629788894f792f571c09cbe3', name: "chevron_right", size: "20px" })))));
187
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f8b74dc2751a33696f02b407fbb7fa87df9c5929', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '2f0e128a9e9195f972fa991266fd0aa14264125d', name: "chevron_left", size: "20px" })), h("slot", { key: 'dc120e26f2558ce75bdb57b56031ebd320805a53', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '590495e6463a4c6d0118b9a32acb23f361a23071', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '5d0470213d023c65d911acced266d962f3b7e109', name: "chevron_right", size: "20px" })))));
181
188
  }
182
189
  get host() { return this; }
183
190
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
2
  import { g as generateUniqueId } from './p-11648030.js';
3
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
3
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
4
4
 
5
5
  const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-message-border-info)}:host .wrapper.information tds-icon{color:var(--tds-message-icon-info)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--tds-message-border-success)}:host .wrapper.success tds-icon{color:var(--tds-message-icon-success)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--tds-message-border-error)}:host .wrapper.error tds-icon{color:var(--tds-message-icon-error)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--tds-message-border-warning)}:host .wrapper.warning tds-icon{color:var(--tds-message-icon-warning)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--tds-message-minimal-header-error)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
6
6
  const TdsMessageStyle0 = messageCss;
@@ -42,11 +42,11 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
42
42
  render() {
43
43
  const headerId = this.header ? `tds-message-header-${generateUniqueId()}` : undefined;
44
44
  const contentId = !this.minimal ? `tds-message-content-${generateUniqueId()}` : undefined;
45
- return (h(Host, { key: 'ac71829f0647270d499469049a833c282abca25d', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel(), class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'ae95905137e70a95e6013e643e43baec0c10792b', class: {
45
+ return (h(Host, { key: '01749666a846692acb3a6ad248a26799056c85bb', role: this.tdsAlertDialog, "aria-describedby": contentId, "aria-label": this.getAriaLabel(), class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'b1c54dcb5e116236a21f199563a25ebe4a043f38', class: {
46
46
  wrapper: true,
47
47
  [this.variant]: true,
48
48
  minimal: this.minimal,
49
- } }, !this.noIcon && (h("tds-icon", { key: 'ea830e6051ef9e0f751a1e8d5e24fbd17ad6ec58', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'c71e70d57147d9ac050e7a223ed097e58cb6a49e', class: `content` }, this.header && (h("div", { key: '1acded0a8f8522792f41a4331a2009a42cbf4894', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: '0aed7c6daf7892e6ac1d5b3f8715e7c9032b11a3', class: "extended-message", id: contentId }, h("slot", { key: '75898f0a957581dc2720667c3eaae6e17201d81c' })))))));
49
+ } }, !this.noIcon && (h("tds-icon", { key: 'af587ad39d63aa39d357868e3cce36bc39a7abec', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'ebeefca2d55f3f4fce02574e18553617d52cbe5a', class: `content` }, this.header && (h("div", { key: 'b9db92aab10d95235846bec90c8cb0760da29285', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: '4c2693fe0498607f687ca3adba0afb1ef27e91e5', class: "extended-message", id: contentId }, h("slot", { key: 'ace8c564c874fff787c7e844ba5f3deafb76cbf6' })))))));
50
50
  }
51
51
  static get style() { return TdsMessageStyle0; }
52
52
  }, [1, "tds-message", {
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
2
  import { h as hasSlot } from './p-ae110fc2.js';
3
3
  import { g as generateUniqueId } from './p-11648030.js';
4
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
4
+ import { d as defineCustomElement$2 } from './p-edc838a0.js';
5
5
 
6
6
  const modalCss = ".tds-modal{box-sizing:border-box;box-shadow:var(--tds-modal-box-shadow);background-color:var(--background-elevation-layer-02);margin:auto;position:relative;border-radius:var(--radius-narrow);max-height:85vh;overflow-y:auto;pointer-events:auto}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:6px;background-color:transparent}.tds-modal::-webkit-scrollbar-track{background-color:transparent}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--foreground-elements-transparparent-discrete);border-radius:3px}.tds-modal__actions-sticky{overflow:hidden;display:flex;flex-direction:column}.tds-modal__actions-sticky .body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{bottom:-1px;left:0;right:0;background-color:var(--background-elevation-layer-02);padding:24px 16px 16px;display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--background-elevation-layer-02);display:flex;gap:16px;padding:24px 16px 16px}@media (min-width: 320px){.tds-modal-xs{width:100%}.tds-modal-sm{width:100%}.tds-modal-md{width:100%}.tds-modal-lg{width:100%}}@media (min-width: 672px){.tds-modal-xs{width:50%}.tds-modal-sm{width:62.5%}.tds-modal-md{width:75%}.tds-modal-lg{width:100%}}@media (min-width: 1056px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:43.75%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1312px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1584px){.tds-modal-xs{width:25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:50%}.tds-modal-lg{width:75%}}@media (max-width: 320px){.tds-modal-md,.tds-modal-lg,.tds-modal-sm{height:100%}.tds-modal-md slot[name=actions]::slotted(*),.tds-modal-lg slot[name=actions]::slotted(*),.tds-modal-sm slot[name=actions]::slotted(*){display:flex}}.header{display:flex;padding:16px;position:sticky;top:0;background-color:var(--background-elevation-layer-02);z-index:1}.header,slot[name=header]::slotted(*){font-family:var(--headline-05-font-family);font-size:var(--headline-05-font-size);line-height:var(--headline-05-line-height);font-weight:var(--headline-05-font-weight);letter-spacing:var(--headline-05-letter-spacing);text-transform:var(--headline-05-text-transform);color:var(--foreground-text-strong);margin:0;flex:1}.body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);color:var(--foreground-text-strong);overflow-y:visible;padding:0 16px 16px}.body::-webkit-scrollbar{width:6px;background-color:transparent}.body::-webkit-scrollbar-track{background-color:transparent}.body::-webkit-scrollbar-thumb{background-color:var(--foreground-elements-transparparent-discrete);border-radius:3px}.tds-modal-backdrop{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--tds-modal-backdrop-background);pointer-events:auto}.tds-modal-backdrop *{box-sizing:border-box}button.tds-modal-close{margin:0 0 auto auto;background-color:transparent;border:0;padding:0;appearance:unset}.tds-modal-close{display:inline-block;height:auto;color:var(--foreground-text-strong);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media (min-width: 320px){.tds-modal-close{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close{margin-left:48px}}.tds-modal-close-btn{display:inline-block;height:auto;background-repeat:no-repeat;cursor:pointer}@media (min-width: 320px){.tds-modal-close-btn{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:48px}}.tds-modal-close-btn svg{fill:var(--foreground-text-strong)}.tds-modal-overflow{overflow:hidden}:host{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;padding:0 16px;z-index:700;pointer-events:none}:host *{box-sizing:border-box}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host(.show){display:flex}:host(.hide){display:none}";
7
7
  const TdsModalStyle0 = modalCss;
@@ -135,7 +135,7 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
135
135
  }
136
136
  returnFocusOnClose() {
137
137
  var _a;
138
- let referenceElement = (_a = this.referenceEl) !== null && _a !== void 0 ? _a : document.querySelector(this.selector);
138
+ const referenceElement = (_a = this.referenceEl) !== null && _a !== void 0 ? _a : document.querySelector(this.selector);
139
139
  if (!referenceElement) {
140
140
  return; // no element to return focus to
141
141
  }
@@ -153,6 +153,7 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
153
153
  }
154
154
  }
155
155
  getFocusableElements() {
156
+ var _a, _b;
156
157
  const focusableSelectors = [
157
158
  'a[href]',
158
159
  'button:not([disabled])',
@@ -161,7 +162,7 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
161
162
  'select:not([disabled])',
162
163
  '[tabindex]:not([tabindex="-1"])',
163
164
  ].join(',');
164
- const focusableInShadowRoot = Array.from(this.host.shadowRoot.querySelectorAll(focusableSelectors));
165
+ const focusableInShadowRoot = Array.from((_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(focusableSelectors)) !== null && _b !== void 0 ? _b : []);
165
166
  const focusableInSlots = Array.from(this.host.querySelectorAll(focusableSelectors));
166
167
  /** Focusable elements */
167
168
  return [...focusableInShadowRoot, ...focusableInSlots];
@@ -210,10 +211,10 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
210
211
  const usesActionsSlot = hasSlot('actions', this.host);
211
212
  const headerId = this.header ? `tds-modal-header-${generateUniqueId()}` : undefined;
212
213
  const bodyId = `tds-modal-body-${generateUniqueId()}`;
213
- return (h(Host, { key: '4a220f8d1156cd7ef30ba0f77e33f6b368a71c5d', role: this.tdsAlertDialog, "aria-modal": "true", "aria-describedby": bodyId, "aria-labelledby": headerId, class: {
214
+ return (h(Host, { key: 'ea3b7f2718b71010bbcbaf52ebaab68f9ef82b56', role: this.tdsAlertDialog, "aria-modal": "true", "aria-describedby": bodyId, "aria-labelledby": headerId, class: {
214
215
  show: this.isShown,
215
216
  hide: !this.isShown,
216
- }, onClick: (event) => this.handleOverlayClick(event) }, h("div", { key: '2129611789e7d9c1e32731f59100f75ff4e58800', class: "tds-modal-backdrop" }), h("div", { key: 'cce280887ce68ab5471cd939847c8f23703e6a11', class: `tds-modal tds-modal__actions-${this.actionsPosition} tds-modal-${this.size}` }, h("div", { key: '2629204523dff0d2afefab238514db74b9d1a93b', id: headerId, class: "header" }, this.header && h("div", { key: '040ddd22c7b782d77e07cc1ff4cd1fdf0d508cbe', class: "header-text" }, this.header), usesHeaderSlot && h("slot", { key: '7b15247fea7c3ab2986e453b98e7a7f9ccff943f', name: "header" }), this.closable && (h("button", { key: '67e09f9f95ad58e02c1f9adb9883af4a1c16f837', class: "tds-modal-close", "aria-label": "close", onClick: (event) => this.handleClose(event) }, h("tds-icon", { key: '52694db7eb7dc40ca2ea8aeb3e13611f899177a8', name: "cross", size: "20px" })))), h("div", { key: 'b7fedc44fae5a964399f6b63fad96acaba9263a1', id: bodyId, class: "body" }, h("slot", { key: 'd60cbee2a55a487f738aa9a741d8b1e0cb74484e', name: "body" })), usesActionsSlot && h("slot", { key: 'c969e1f820a4f4ecfab84fe3349eee0233710f05', name: "actions" }))));
217
+ }, onClick: (event) => this.handleOverlayClick(event) }, h("div", { key: 'bbcd30e1d4a0b2f7c42c715b2106d3e51105db2d', class: "tds-modal-backdrop" }), h("div", { key: 'b6f6115e1e021a9dd9e0d5a687dd69d00f6f9d7b', class: `tds-modal tds-modal__actions-${this.actionsPosition} tds-modal-${this.size}` }, h("div", { key: '860339a0f603eb019b91ba44a7745b6b5039923b', id: headerId, class: "header" }, this.header && h("div", { key: '74ba6be10757cd78f6b9d7201c75cc02a43690a7', class: "header-text" }, this.header), usesHeaderSlot && h("slot", { key: '37f895c645cf402b23d923fd84e8ec3669dfd2b5', name: "header" }), this.closable && (h("button", { key: '36c78defa9593a1c81cc8e4cef5a45361476d7ca', class: "tds-modal-close", "aria-label": "close", onClick: (event) => this.handleClose(event) }, h("tds-icon", { key: 'dd7d537d589b80e9f6604a085a5ee25d3e9cbd4d', name: "cross", size: "20px" })))), h("div", { key: '1f0f95296f973405119fbd22dd30405944e224de', id: bodyId, class: "body" }, h("slot", { key: '8326ceb74bd9148b0d21b18984f7d0584e8c8976', name: "body" })), usesActionsSlot && h("slot", { key: '7aad6700fe09dc183f721cda2a2e83acbe9afa60', name: "actions" }))));
217
218
  }
218
219
  get host() { return this; }
219
220
  static get style() { return TdsModalStyle0; }