@scania/tegel 1.40.0-stencil-core-4.38.1-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 (562) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-ca8040ad.js +2039 -0
  3. package/dist/cjs/{inheritAriaAttributes-D_xFGssc.js → inheritAriaAttributes-dedbbc57.js} +1 -1
  4. package/dist/cjs/{isHeadingElement-DihKNeqS.js → isHeadingElement-4f06b688.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +6 -3
  6. package/dist/cjs/tds-accordion-item.cjs.entry.js +6 -9
  7. package/dist/cjs/tds-accordion.cjs.entry.js +7 -6
  8. package/dist/cjs/tds-badge.cjs.entry.js +5 -6
  9. package/dist/cjs/tds-banner.cjs.entry.js +14 -18
  10. package/dist/cjs/tds-block.cjs.entry.js +6 -5
  11. package/dist/cjs/tds-body-cell.cjs.entry.js +13 -6
  12. package/dist/cjs/tds-breadcrumb.cjs.entry.js +5 -3
  13. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +6 -2
  14. package/dist/cjs/tds-button_2.cjs.entry.js +19 -18
  15. package/dist/cjs/tds-card.cjs.entry.js +21 -30
  16. package/dist/cjs/tds-checkbox.cjs.entry.js +21 -16
  17. package/dist/cjs/tds-chip.cjs.entry.js +15 -18
  18. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +17 -12
  19. package/dist/cjs/tds-datetime.cjs.entry.js +31 -32
  20. package/dist/cjs/tds-dropdown_2.cjs.entry.js +99 -88
  21. package/dist/cjs/tds-folder-tab.cjs.entry.js +6 -3
  22. package/dist/cjs/tds-folder-tabs.cjs.entry.js +23 -16
  23. package/dist/cjs/tds-footer-group.cjs.entry.js +17 -11
  24. package/dist/cjs/tds-footer-item.cjs.entry.js +12 -5
  25. package/dist/cjs/tds-footer.cjs.entry.js +9 -7
  26. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +7 -4
  27. package/dist/cjs/tds-header-cell.cjs.entry.js +32 -23
  28. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +5 -4
  29. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +9 -2
  30. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +13 -8
  31. package/dist/cjs/tds-header-dropdown.cjs.entry.js +19 -13
  32. package/dist/cjs/tds-header-hamburger.cjs.entry.js +8 -4
  33. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +8 -6
  34. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +5 -2
  35. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +6 -3
  36. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +8 -4
  37. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +5 -2
  38. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +6 -3
  39. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +4 -2
  40. package/dist/cjs/tds-header-launcher.cjs.entry.js +19 -10
  41. package/dist/cjs/tds-header-title.cjs.entry.js +6 -3
  42. package/dist/cjs/tds-header.cjs.entry.js +15 -10
  43. package/dist/cjs/tds-icon.cjs.entry.js +13 -12
  44. package/dist/cjs/tds-inline-tab.cjs.entry.js +5 -3
  45. package/dist/cjs/tds-inline-tabs.cjs.entry.js +23 -17
  46. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  47. package/dist/cjs/tds-message.cjs.entry.js +15 -15
  48. package/dist/cjs/tds-modal.cjs.entry.js +23 -22
  49. package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -3
  50. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +25 -19
  51. package/dist/cjs/tds-popover-canvas.cjs.entry.js +13 -19
  52. package/dist/cjs/tds-popover-core.cjs.entry.js +45 -47
  53. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -3
  54. package/dist/cjs/tds-popover-menu.cjs.entry.js +13 -18
  55. package/dist/cjs/tds-radio-button.cjs.entry.js +18 -12
  56. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +7 -4
  57. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +11 -7
  58. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +18 -12
  59. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +8 -5
  60. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +12 -9
  61. package/dist/cjs/tds-side-menu-item.cjs.entry.js +21 -15
  62. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +5 -2
  63. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +11 -3
  64. package/dist/cjs/tds-side-menu-user.cjs.entry.js +9 -2
  65. package/dist/cjs/tds-side-menu.cjs.entry.js +24 -24
  66. package/dist/cjs/tds-slider.cjs.entry.js +50 -55
  67. package/dist/cjs/tds-spinner.cjs.entry.js +5 -4
  68. package/dist/cjs/tds-step.cjs.entry.js +14 -4
  69. package/dist/cjs/tds-stepper.cjs.entry.js +6 -13
  70. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +6 -4
  71. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +24 -21
  72. package/dist/cjs/tds-table-body-row.cjs.entry.js +13 -10
  73. package/dist/cjs/tds-table-body.cjs.entry.js +20 -12
  74. package/dist/cjs/tds-table-footer.cjs.entry.js +31 -28
  75. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +6 -4
  76. package/dist/cjs/tds-table-header.cjs.entry.js +30 -23
  77. package/dist/cjs/tds-table-toolbar.cjs.entry.js +11 -9
  78. package/dist/cjs/tds-table.cjs.entry.js +21 -33
  79. package/dist/cjs/tds-tag.cjs.entry.js +7 -5
  80. package/dist/cjs/tds-text-field.cjs.entry.js +20 -28
  81. package/dist/cjs/tds-textarea.cjs.entry.js +18 -20
  82. package/dist/cjs/tds-toast.cjs.entry.js +16 -16
  83. package/dist/cjs/tds-toggle.cjs.entry.js +19 -17
  84. package/dist/cjs/tds-tooltip.cjs.entry.js +23 -29
  85. package/dist/cjs/tegel.cjs.js +8 -7
  86. package/dist/collection/collection-manifest.json +2 -2
  87. package/dist/collection/components/accordion/accordion-item/accordion-item.js +6 -24
  88. package/dist/collection/components/accordion/accordion.js +6 -12
  89. package/dist/collection/components/badge/badge.js +4 -16
  90. package/dist/collection/components/banner/banner.js +18 -39
  91. package/dist/collection/components/block/block.js +5 -11
  92. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -4
  93. package/dist/collection/components/breadcrumbs/breadcrumbs.js +5 -4
  94. package/dist/collection/components/button/button.js +28 -51
  95. package/dist/collection/components/card/card.js +32 -68
  96. package/dist/collection/components/checkbox/checkbox.js +29 -45
  97. package/dist/collection/components/chip/chip.js +20 -42
  98. package/dist/collection/components/datetime/datetime.js +47 -83
  99. package/dist/collection/components/divider/divider.js +2 -8
  100. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +29 -39
  101. package/dist/collection/components/dropdown/dropdown.js +94 -117
  102. package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
  103. package/dist/collection/components/footer/footer-group/footer-group.js +14 -15
  104. package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
  105. package/dist/collection/components/footer/footer-item/footer-item.js +6 -2
  106. package/dist/collection/components/footer/footer.js +6 -9
  107. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  108. package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -24
  109. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
  110. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -8
  111. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +14 -16
  112. package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -4
  113. package/dist/collection/components/header/header-item/header-item.js +11 -14
  114. package/dist/collection/components/header/header-launcher/header-launcher.js +13 -9
  115. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +4 -9
  116. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +3 -0
  117. package/dist/collection/components/header/header-title/header-title.css +0 -2
  118. package/dist/collection/components/header/header.js +8 -6
  119. package/dist/collection/components/icon/icon.js +18 -30
  120. package/dist/collection/components/link/link.js +3 -12
  121. package/dist/collection/components/message/message.js +20 -37
  122. package/dist/collection/components/modal/modal.js +31 -51
  123. package/dist/collection/components/popover-canvas/popover-canvas.js +23 -54
  124. package/dist/collection/components/popover-core/popover-core.js +49 -83
  125. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +1 -4
  126. package/dist/collection/components/popover-menu/popover-menu.js +23 -51
  127. package/dist/collection/components/radio-button/radio-button.js +24 -37
  128. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +6 -5
  129. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +12 -20
  130. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  131. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +14 -13
  132. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +17 -18
  133. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +14 -16
  134. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  135. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  136. package/dist/collection/components/side-menu/side-menu.js +22 -31
  137. package/dist/collection/components/slider/slider.js +62 -106
  138. package/dist/collection/components/spinner/spinner.js +2 -8
  139. package/dist/collection/components/stepper/step/step.js +14 -13
  140. package/dist/collection/components/stepper/stepper.js +6 -28
  141. package/dist/collection/components/table/table/table.js +48 -67
  142. package/dist/collection/components/table/table-body/table-body.js +15 -10
  143. package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -22
  144. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +2 -5
  145. package/dist/collection/components/table/table-body-row/table-body-row.js +16 -22
  146. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +31 -43
  147. package/dist/collection/components/table/table-footer/table-footer.js +36 -48
  148. package/dist/collection/components/table/table-header/table-header.js +33 -37
  149. package/dist/collection/components/table/table-header-cell/table-header-cell.js +49 -57
  150. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +3 -8
  151. package/dist/collection/components/table/table-toolbar/table-toolbar.js +11 -18
  152. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -4
  153. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +26 -32
  154. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +1 -4
  155. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +25 -34
  156. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +1 -4
  157. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +27 -36
  158. package/dist/collection/components/tag/tag.js +5 -12
  159. package/dist/collection/components/text-field/text-field.js +40 -93
  160. package/dist/collection/components/textarea/textarea.js +35 -74
  161. package/dist/collection/components/toast/toast.js +21 -42
  162. package/dist/collection/components/toggle/toggle.js +24 -41
  163. package/dist/collection/components/tooltip/tooltip.js +33 -64
  164. package/dist/collection/utils/appendHiddenInput.js +6 -4
  165. package/dist/components/index.js +1 -1790
  166. package/dist/components/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
  167. package/dist/components/{p-D1ati-pM.js → p-0d286c19.js} +11 -13
  168. package/dist/components/p-28ef5186.js +1507 -0
  169. package/dist/components/{p-FqP1yGh_.js → p-381677ec.js} +6 -9
  170. package/dist/components/{p-CMsPXG7a.js → p-3f2187a4.js} +8 -7
  171. package/dist/components/{p-B569z5eW.js → p-415fafb3.js} +15 -25
  172. package/dist/components/{p-X1sPx4t5.js → p-6fd2b339.js} +46 -52
  173. package/dist/components/{p-ChCWm6If.js → p-799470b1.js} +18 -20
  174. package/dist/components/{p-BiyghEA7.js → p-7e02ea3e.js} +76 -59
  175. package/dist/components/{p-CuIyaNyT.js → p-859e3ebf.js} +1 -1
  176. package/dist/components/{p-Ee9QeMgy.js → p-98d082f9.js} +33 -45
  177. package/dist/components/{p-Ip9G3co9.js → p-a64cbc40.js} +24 -36
  178. package/dist/components/{p-DnzQe_HU.js → p-ad376f70.js} +25 -35
  179. package/dist/components/{p-DuxH3vDC.js → p-bff614d5.js} +8 -7
  180. package/dist/components/{p-QnvG_QPu.js → p-da11a695.js} +13 -12
  181. package/dist/components/{p-HRj1DOvh.js → p-de86852a.js} +6 -9
  182. package/dist/components/{p-BxmFjTxG.js → p-e0ccf8e6.js} +22 -20
  183. package/dist/components/{p-BhLq7lgx.js → p-e1622f4a.js} +6 -7
  184. package/dist/components/{p-Ca3wGDna.js → p-e627f11b.js} +22 -21
  185. package/dist/components/{p-BHBgkUfr.js → p-ead6727f.js} +17 -17
  186. package/dist/components/{p-CPDv0bBc.js → p-edc838a0.js} +14 -17
  187. package/dist/components/tds-accordion-item.js +8 -15
  188. package/dist/components/tds-accordion.js +8 -11
  189. package/dist/components/tds-badge.js +6 -11
  190. package/dist/components/tds-banner.js +16 -24
  191. package/dist/components/tds-block.js +7 -10
  192. package/dist/components/tds-body-cell.js +15 -12
  193. package/dist/components/tds-breadcrumb.js +6 -8
  194. package/dist/components/tds-breadcrumbs.js +7 -7
  195. package/dist/components/tds-button.js +1 -1
  196. package/dist/components/tds-card.js +25 -38
  197. package/dist/components/tds-checkbox.js +1 -1
  198. package/dist/components/tds-chip.js +16 -23
  199. package/dist/components/tds-core-header-item.js +1 -1
  200. package/dist/components/tds-datetime.js +33 -38
  201. package/dist/components/tds-divider.js +1 -1
  202. package/dist/components/tds-dropdown-option.js +1 -1
  203. package/dist/components/tds-dropdown.js +1 -1
  204. package/dist/components/tds-folder-tab.js +7 -8
  205. package/dist/components/tds-folder-tabs.js +25 -22
  206. package/dist/components/tds-footer-group.js +19 -17
  207. package/dist/components/tds-footer-item.js +13 -10
  208. package/dist/components/tds-footer.js +10 -12
  209. package/dist/components/tds-header-brand-symbol.js +10 -11
  210. package/dist/components/tds-header-cell.js +34 -29
  211. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  212. package/dist/components/tds-header-dropdown-list-user.js +10 -7
  213. package/dist/components/tds-header-dropdown-list.js +1 -1
  214. package/dist/components/tds-header-dropdown.js +25 -23
  215. package/dist/components/tds-header-hamburger.js +11 -11
  216. package/dist/components/tds-header-item.js +1 -1
  217. package/dist/components/tds-header-launcher-button.js +1 -1
  218. package/dist/components/tds-header-launcher-grid-item.js +6 -7
  219. package/dist/components/tds-header-launcher-grid-title.js +7 -8
  220. package/dist/components/tds-header-launcher-grid.js +8 -8
  221. package/dist/components/tds-header-launcher-list-item.js +7 -8
  222. package/dist/components/tds-header-launcher-list-title.js +7 -8
  223. package/dist/components/tds-header-launcher-list.js +6 -8
  224. package/dist/components/tds-header-launcher.js +25 -20
  225. package/dist/components/tds-header-title.js +7 -8
  226. package/dist/components/tds-header.js +15 -14
  227. package/dist/components/tds-icon.js +1 -1
  228. package/dist/components/tds-inline-tab.js +6 -8
  229. package/dist/components/tds-inline-tabs.js +25 -23
  230. package/dist/components/tds-link.js +6 -10
  231. package/dist/components/tds-message.js +17 -21
  232. package/dist/components/tds-modal.js +25 -28
  233. package/dist/components/tds-navigation-tab.js +6 -8
  234. package/dist/components/tds-navigation-tabs.js +27 -25
  235. package/dist/components/tds-popover-canvas.js +1 -1
  236. package/dist/components/tds-popover-core.js +1 -1
  237. package/dist/components/tds-popover-menu-item.js +6 -8
  238. package/dist/components/tds-popover-menu.js +15 -24
  239. package/dist/components/tds-radio-button.js +19 -17
  240. package/dist/components/tds-side-menu-close-button.js +8 -9
  241. package/dist/components/tds-side-menu-collapse-button.js +13 -13
  242. package/dist/components/tds-side-menu-dropdown-list-item.js +19 -17
  243. package/dist/components/tds-side-menu-dropdown-list.js +9 -10
  244. package/dist/components/tds-side-menu-dropdown.js +15 -16
  245. package/dist/components/tds-side-menu-item.js +1 -1
  246. package/dist/components/tds-side-menu-overlay.js +6 -7
  247. package/dist/components/tds-side-menu-user-image.js +1 -1
  248. package/dist/components/tds-side-menu-user-label.js +1 -1
  249. package/dist/components/tds-side-menu-user.js +12 -9
  250. package/dist/components/tds-side-menu.js +25 -29
  251. package/dist/components/tds-slider.js +55 -64
  252. package/dist/components/tds-spinner.js +6 -9
  253. package/dist/components/tds-step.js +16 -10
  254. package/dist/components/tds-stepper.js +7 -18
  255. package/dist/components/tds-table-body-input-wrapper.js +8 -10
  256. package/dist/components/tds-table-body-row-expandable.js +25 -26
  257. package/dist/components/tds-table-body-row.js +15 -16
  258. package/dist/components/tds-table-body.js +21 -17
  259. package/dist/components/tds-table-footer.js +36 -37
  260. package/dist/components/tds-table-header-input-wrapper.js +8 -10
  261. package/dist/components/tds-table-header.js +32 -29
  262. package/dist/components/tds-table-toolbar.js +13 -15
  263. package/dist/components/tds-table.js +22 -38
  264. package/dist/components/tds-tag.js +8 -10
  265. package/dist/components/tds-text-field.js +1 -1
  266. package/dist/components/tds-textarea.js +22 -28
  267. package/dist/components/tds-toast.js +18 -22
  268. package/dist/components/tds-toggle.js +20 -22
  269. package/dist/components/tds-tooltip.js +1 -1
  270. package/dist/esm/app-globals-0f993ce5.js +3 -0
  271. package/dist/esm/index-51d04e39.js +2009 -0
  272. package/dist/esm/{inheritAriaAttributes-DyLhgCIg.js → inheritAriaAttributes-04f2f252.js} +1 -1
  273. package/dist/esm/{isHeadingElement-BQco7VNg.js → isHeadingElement-8efea284.js} +1 -1
  274. package/dist/esm/loader.js +4 -3
  275. package/dist/esm/tds-accordion-item.entry.js +4 -9
  276. package/dist/esm/tds-accordion.entry.js +5 -6
  277. package/dist/esm/tds-badge.entry.js +3 -6
  278. package/dist/esm/tds-banner.entry.js +12 -18
  279. package/dist/esm/tds-block.entry.js +4 -5
  280. package/dist/esm/tds-body-cell.entry.js +11 -6
  281. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  282. package/dist/esm/tds-breadcrumbs.entry.js +4 -2
  283. package/dist/esm/tds-button_2.entry.js +17 -18
  284. package/dist/esm/tds-card.entry.js +19 -30
  285. package/dist/esm/tds-checkbox.entry.js +19 -16
  286. package/dist/esm/tds-chip.entry.js +13 -18
  287. package/dist/esm/tds-core-header-item_2.entry.js +15 -12
  288. package/dist/esm/tds-datetime.entry.js +29 -32
  289. package/dist/esm/tds-dropdown_2.entry.js +97 -88
  290. package/dist/esm/tds-folder-tab.entry.js +4 -3
  291. package/dist/esm/tds-folder-tabs.entry.js +21 -16
  292. package/dist/esm/tds-footer-group.entry.js +15 -11
  293. package/dist/esm/tds-footer-item.entry.js +10 -5
  294. package/dist/esm/tds-footer.entry.js +7 -7
  295. package/dist/esm/tds-header-brand-symbol.entry.js +5 -4
  296. package/dist/esm/tds-header-cell.entry.js +30 -23
  297. package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -4
  298. package/dist/esm/tds-header-dropdown-list-user.entry.js +7 -2
  299. package/dist/esm/tds-header-dropdown-list.entry.js +11 -8
  300. package/dist/esm/tds-header-dropdown.entry.js +17 -13
  301. package/dist/esm/tds-header-hamburger.entry.js +6 -4
  302. package/dist/esm/tds-header-launcher-button.entry.js +6 -6
  303. package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -2
  304. package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -3
  305. package/dist/esm/tds-header-launcher-grid.entry.js +6 -4
  306. package/dist/esm/tds-header-launcher-list-item.entry.js +3 -2
  307. package/dist/esm/tds-header-launcher-list-title.entry.js +4 -3
  308. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  309. package/dist/esm/tds-header-launcher.entry.js +17 -10
  310. package/dist/esm/tds-header-title.entry.js +4 -3
  311. package/dist/esm/tds-header.entry.js +13 -10
  312. package/dist/esm/tds-icon.entry.js +11 -12
  313. package/dist/esm/tds-inline-tab.entry.js +3 -3
  314. package/dist/esm/tds-inline-tabs.entry.js +21 -17
  315. package/dist/esm/tds-link.entry.js +3 -5
  316. package/dist/esm/tds-message.entry.js +13 -15
  317. package/dist/esm/tds-modal.entry.js +21 -22
  318. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  319. package/dist/esm/tds-navigation-tabs.entry.js +23 -19
  320. package/dist/esm/tds-popover-canvas.entry.js +11 -19
  321. package/dist/esm/tds-popover-core.entry.js +43 -47
  322. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  323. package/dist/esm/tds-popover-menu.entry.js +11 -18
  324. package/dist/esm/tds-radio-button.entry.js +16 -12
  325. package/dist/esm/tds-side-menu-close-button.entry.js +5 -4
  326. package/dist/esm/tds-side-menu-collapse-button.entry.js +9 -7
  327. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +16 -12
  328. package/dist/esm/tds-side-menu-dropdown-list.entry.js +6 -5
  329. package/dist/esm/tds-side-menu-dropdown.entry.js +10 -9
  330. package/dist/esm/tds-side-menu-item.entry.js +19 -15
  331. package/dist/esm/tds-side-menu-overlay.entry.js +3 -2
  332. package/dist/esm/tds-side-menu-user-image_2.entry.js +9 -3
  333. package/dist/esm/tds-side-menu-user.entry.js +7 -2
  334. package/dist/esm/tds-side-menu.entry.js +22 -24
  335. package/dist/esm/tds-slider.entry.js +48 -55
  336. package/dist/esm/tds-spinner.entry.js +3 -4
  337. package/dist/esm/tds-step.entry.js +12 -4
  338. package/dist/esm/tds-stepper.entry.js +4 -13
  339. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  340. package/dist/esm/tds-table-body-row-expandable.entry.js +22 -21
  341. package/dist/esm/tds-table-body-row.entry.js +11 -10
  342. package/dist/esm/tds-table-body.entry.js +18 -12
  343. package/dist/esm/tds-table-footer.entry.js +29 -28
  344. package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
  345. package/dist/esm/tds-table-header.entry.js +28 -23
  346. package/dist/esm/tds-table-toolbar.entry.js +9 -9
  347. package/dist/esm/tds-table.entry.js +19 -33
  348. package/dist/esm/tds-tag.entry.js +5 -5
  349. package/dist/esm/tds-text-field.entry.js +18 -28
  350. package/dist/esm/tds-textarea.entry.js +16 -20
  351. package/dist/esm/tds-toast.entry.js +14 -16
  352. package/dist/esm/tds-toggle.entry.js +17 -17
  353. package/dist/esm/tds-tooltip.entry.js +21 -29
  354. package/dist/esm/tegel.js +5 -5
  355. package/dist/tegel/p-08c16b2f.entry.js +1 -0
  356. package/dist/tegel/p-0b37e91a.entry.js +1 -0
  357. package/dist/tegel/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
  358. package/dist/tegel/{p-e22a2a9b.entry.js → p-133351b5.entry.js} +1 -1
  359. package/dist/tegel/p-177386d5.entry.js +1 -0
  360. package/dist/tegel/p-1b471db7.entry.js +1 -0
  361. package/dist/tegel/p-1e1a87c1.entry.js +1 -0
  362. package/dist/tegel/p-2049fab2.js +2 -0
  363. package/dist/tegel/p-2268af7f.entry.js +1 -0
  364. package/dist/tegel/p-252a7d3f.entry.js +1 -0
  365. package/dist/tegel/p-25473962.entry.js +1 -0
  366. package/dist/tegel/{p-59a1c10f.entry.js → p-27369d6a.entry.js} +1 -1
  367. package/dist/tegel/{p-03d1456f.entry.js → p-2766b46f.entry.js} +1 -1
  368. package/dist/tegel/p-27d39882.entry.js +1 -0
  369. package/dist/tegel/{p-449e8c13.entry.js → p-2faeb483.entry.js} +1 -1
  370. package/dist/tegel/{p-dfd5a301.entry.js → p-304f5a5c.entry.js} +1 -1
  371. package/dist/tegel/p-3c348fcb.entry.js +1 -0
  372. package/dist/tegel/p-3ef04672.entry.js +1 -0
  373. package/dist/tegel/p-40d99d7d.entry.js +1 -0
  374. package/dist/tegel/p-40fa0f5b.entry.js +1 -0
  375. package/dist/tegel/p-48a3e489.entry.js +1 -0
  376. package/dist/tegel/{p-b2bfe0fb.entry.js → p-4b5e15cc.entry.js} +1 -1
  377. package/dist/tegel/p-4de2807c.entry.js +1 -0
  378. package/dist/tegel/p-4e15f31d.entry.js +1 -0
  379. package/dist/tegel/p-57c08d0d.entry.js +1 -0
  380. package/dist/tegel/p-58ac68f3.entry.js +1 -0
  381. package/dist/tegel/p-5c8fd75e.entry.js +1 -0
  382. package/dist/tegel/{p-3910b9e0.entry.js → p-646d1df4.entry.js} +1 -1
  383. package/dist/tegel/{p-08d8a464.entry.js → p-655051b6.entry.js} +1 -1
  384. package/dist/tegel/p-6a472310.entry.js +1 -0
  385. package/dist/tegel/p-7104b955.entry.js +1 -0
  386. package/dist/tegel/{p-69bf3133.entry.js → p-771f53c2.entry.js} +1 -1
  387. package/dist/tegel/p-781b2939.entry.js +1 -0
  388. package/dist/tegel/{p-8ad8234f.entry.js → p-87219f00.entry.js} +1 -1
  389. package/dist/tegel/{p-37aa4516.entry.js → p-88bb1059.entry.js} +1 -1
  390. package/dist/tegel/p-894e7e11.entry.js +1 -0
  391. package/dist/tegel/{p-2c5e101e.entry.js → p-8a4837ae.entry.js} +1 -1
  392. package/dist/tegel/{p-Bx66i7RU.js → p-9332c225.js} +1 -1
  393. package/dist/tegel/p-942f8c6f.entry.js +1 -0
  394. package/dist/tegel/p-98eff725.entry.js +1 -0
  395. package/dist/tegel/p-9b06bd5f.entry.js +1 -0
  396. package/dist/tegel/p-9c56b031.entry.js +1 -0
  397. package/dist/tegel/p-a20a54ef.entry.js +1 -0
  398. package/dist/tegel/p-a2b2092a.entry.js +1 -0
  399. package/dist/tegel/p-a334b517.entry.js +1 -0
  400. package/dist/tegel/p-a4e4c450.entry.js +1 -0
  401. package/dist/tegel/p-a60ed3de.entry.js +1 -0
  402. package/dist/tegel/p-a6dca188.entry.js +1 -0
  403. package/dist/tegel/p-a912035b.entry.js +1 -0
  404. package/dist/tegel/p-ab00e6e4.entry.js +1 -0
  405. package/dist/tegel/p-b218db70.entry.js +1 -0
  406. package/dist/tegel/p-b3b13975.entry.js +1 -0
  407. package/dist/tegel/{p-0a3bd804.entry.js → p-b734b309.entry.js} +1 -1
  408. package/dist/tegel/p-b7abb81f.entry.js +1 -0
  409. package/dist/tegel/{p-a595dba7.entry.js → p-b9afb39e.entry.js} +1 -1
  410. package/dist/tegel/p-bb8c2a36.entry.js +1 -0
  411. package/dist/tegel/p-bcd5e06d.entry.js +1 -0
  412. package/dist/tegel/p-bee9e9d1.entry.js +1 -0
  413. package/dist/tegel/{p-628798d4.entry.js → p-c163d44f.entry.js} +1 -1
  414. package/dist/tegel/p-c23a3f12.entry.js +1 -0
  415. package/dist/tegel/{p-8d98759c.entry.js → p-c2e514b4.entry.js} +1 -1
  416. package/dist/tegel/{p-ec41cf1e.entry.js → p-c5694dd6.entry.js} +1 -1
  417. package/dist/tegel/p-ca068263.entry.js +1 -0
  418. package/dist/tegel/p-ca16f1ed.entry.js +1 -0
  419. package/dist/tegel/p-ca32a270.entry.js +1 -0
  420. package/dist/tegel/p-cc962b6c.entry.js +1 -0
  421. package/dist/tegel/{p-57def79e.entry.js → p-ceed0476.entry.js} +1 -1
  422. package/dist/tegel/p-d501a665.entry.js +1 -0
  423. package/dist/tegel/{p-99f46fe1.entry.js → p-da38aa9a.entry.js} +1 -1
  424. package/dist/tegel/p-dda1ac69.entry.js +1 -0
  425. package/dist/tegel/p-e0dc09f9.entry.js +1 -0
  426. package/dist/tegel/p-e1255160.js +1 -0
  427. package/dist/tegel/p-e29fa563.entry.js +1 -0
  428. package/dist/tegel/p-e6e9d11f.entry.js +1 -0
  429. package/dist/tegel/p-e8b58680.entry.js +1 -0
  430. package/dist/tegel/p-ed66ef30.entry.js +1 -0
  431. package/dist/tegel/p-f5ca4fbf.entry.js +1 -0
  432. package/dist/tegel/p-f602b3a1.entry.js +1 -0
  433. package/dist/tegel/p-f8a37d39.entry.js +1 -0
  434. package/dist/tegel/p-f922308f.entry.js +1 -0
  435. package/dist/tegel/p-fb300776.entry.js +1 -0
  436. package/dist/tegel/p-fd22d1ca.entry.js +1 -0
  437. package/dist/tegel/{p-b4df0131.entry.js → p-fe4335ca.entry.js} +1 -1
  438. package/dist/tegel/tegel.css +1 -1
  439. package/dist/tegel/tegel.esm.js +1 -1
  440. package/dist/types/components/accordion/accordion.d.ts +1 -1
  441. package/dist/types/components/block/block.d.ts +1 -1
  442. package/dist/types/components/button/button.d.ts +1 -1
  443. package/dist/types/components/card/card.d.ts +1 -1
  444. package/dist/types/components/datetime/datetime.d.ts +2 -2
  445. package/dist/types/components/dropdown/dropdown.d.ts +5 -5
  446. package/dist/types/components/footer/footer.d.ts +1 -1
  447. package/dist/types/components/icon/icon.d.ts +1 -1
  448. package/dist/types/components/message/message.d.ts +1 -1
  449. package/dist/types/components/modal/modal.d.ts +1 -1
  450. package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
  451. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  452. package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
  453. package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
  454. package/dist/types/components/table/table/table.d.ts +6 -3
  455. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  456. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +8 -5
  457. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +2 -2
  458. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  459. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
  460. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
  461. package/dist/types/components/table/table-header/table-header.d.ts +5 -5
  462. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
  463. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  464. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  465. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
  466. package/dist/types/components/text-field/text-field.d.ts +1 -1
  467. package/dist/types/components/textarea/textarea.d.ts +2 -2
  468. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  469. package/dist/types/components.d.ts +81 -623
  470. package/dist/types/stencil-public-runtime.d.ts +5 -78
  471. package/dist/types/types/Attributes.d.ts +1 -1
  472. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  473. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  474. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  475. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  476. package/loader/package.json +11 -0
  477. package/package.json +2 -2
  478. package/dist/cjs/index-Cpz8G-hs.js +0 -2379
  479. package/dist/collection/utils/dom.js +0 -7
  480. package/dist/esm/index-Cl9XBhQW.js +0 -2350
  481. package/dist/tegel/p-07c5665c.entry.js +0 -1
  482. package/dist/tegel/p-0ab44df9.entry.js +0 -1
  483. package/dist/tegel/p-0e8721cf.entry.js +0 -1
  484. package/dist/tegel/p-1371f357.entry.js +0 -1
  485. package/dist/tegel/p-147d2c33.entry.js +0 -1
  486. package/dist/tegel/p-250a843a.entry.js +0 -1
  487. package/dist/tegel/p-2b89b750.entry.js +0 -1
  488. package/dist/tegel/p-2ebac517.entry.js +0 -1
  489. package/dist/tegel/p-36ea4775.entry.js +0 -1
  490. package/dist/tegel/p-37873e68.entry.js +0 -1
  491. package/dist/tegel/p-39f80d1b.entry.js +0 -1
  492. package/dist/tegel/p-3c409856.entry.js +0 -1
  493. package/dist/tegel/p-3e1edb21.entry.js +0 -1
  494. package/dist/tegel/p-3e27eee0.entry.js +0 -1
  495. package/dist/tegel/p-3f0c978a.entry.js +0 -1
  496. package/dist/tegel/p-41fa3671.entry.js +0 -1
  497. package/dist/tegel/p-4b711300.entry.js +0 -1
  498. package/dist/tegel/p-4ebf13bf.entry.js +0 -1
  499. package/dist/tegel/p-599ae54d.entry.js +0 -1
  500. package/dist/tegel/p-5d64b236.entry.js +0 -1
  501. package/dist/tegel/p-6066b5be.entry.js +0 -1
  502. package/dist/tegel/p-620b157a.entry.js +0 -1
  503. package/dist/tegel/p-624a8ca4.entry.js +0 -1
  504. package/dist/tegel/p-63646981.entry.js +0 -1
  505. package/dist/tegel/p-6cad127c.entry.js +0 -1
  506. package/dist/tegel/p-6d3447b7.entry.js +0 -1
  507. package/dist/tegel/p-71943f32.entry.js +0 -1
  508. package/dist/tegel/p-7ba0b456.entry.js +0 -1
  509. package/dist/tegel/p-802e8d8a.entry.js +0 -1
  510. package/dist/tegel/p-80be1071.entry.js +0 -1
  511. package/dist/tegel/p-8501b0d7.entry.js +0 -1
  512. package/dist/tegel/p-8d4d136f.entry.js +0 -1
  513. package/dist/tegel/p-902183d7.entry.js +0 -1
  514. package/dist/tegel/p-936d77e4.entry.js +0 -1
  515. package/dist/tegel/p-942df5c4.entry.js +0 -1
  516. package/dist/tegel/p-9b7ad650.entry.js +0 -1
  517. package/dist/tegel/p-9c62f888.entry.js +0 -1
  518. package/dist/tegel/p-9f25060e.entry.js +0 -1
  519. package/dist/tegel/p-Cl9XBhQW.js +0 -2
  520. package/dist/tegel/p-a08baed5.entry.js +0 -1
  521. package/dist/tegel/p-a30159f5.entry.js +0 -1
  522. package/dist/tegel/p-a3ef627e.entry.js +0 -1
  523. package/dist/tegel/p-aaacbe31.entry.js +0 -1
  524. package/dist/tegel/p-b0f44fd9.entry.js +0 -1
  525. package/dist/tegel/p-b509c734.entry.js +0 -1
  526. package/dist/tegel/p-b82a11bf.entry.js +0 -1
  527. package/dist/tegel/p-bbea0ac6.entry.js +0 -1
  528. package/dist/tegel/p-c0114238.entry.js +0 -1
  529. package/dist/tegel/p-c578be27.entry.js +0 -1
  530. package/dist/tegel/p-d5041602.entry.js +0 -1
  531. package/dist/tegel/p-e25343d7.entry.js +0 -1
  532. package/dist/tegel/p-e2ce7b37.entry.js +0 -1
  533. package/dist/tegel/p-e4d0d1cb.entry.js +0 -1
  534. package/dist/tegel/p-e853d304.entry.js +0 -1
  535. package/dist/tegel/p-eb479100.entry.js +0 -1
  536. package/dist/tegel/p-ec60f391.entry.js +0 -1
  537. package/dist/tegel/p-ee227187.entry.js +0 -1
  538. package/dist/tegel/p-ee500e52.entry.js +0 -1
  539. package/dist/tegel/p-f42f851e.entry.js +0 -1
  540. package/dist/tegel/p-f6cf2d52.entry.js +0 -1
  541. package/dist/types/utils/dom.d.ts +0 -2
  542. /package/dist/cjs/{dfs-Clg9RCmq.js → dfs-84f7f63e.js} +0 -0
  543. /package/dist/cjs/{generateUniqueId-ComXTAM_.js → generateUniqueId-e3fc9863.js} +0 -0
  544. /package/dist/cjs/{getAriaInvalid-Bdg4qUb_.js → getAriaInvalid-66a2eade.js} +0 -0
  545. /package/dist/cjs/{hasSlot-D-DVNhGg.js → hasSlot-1c90e9ba.js} +0 -0
  546. /package/dist/cjs/{inheritAttributes-CGw91JfB.js → inheritAttributes-ff9ad737.js} +0 -0
  547. /package/dist/components/{p-Cn4f8w1e.js → p-11648030.js} +0 -0
  548. /package/dist/components/{p-CF8bH08v.js → p-3fe9cbbf.js} +0 -0
  549. /package/dist/components/{p-CLF3diNe.js → p-52bf0fdf.js} +0 -0
  550. /package/dist/components/{p-CBZ6wC3m.js → p-a1181b1f.js} +0 -0
  551. /package/dist/components/{p-DDX6uFcm.js → p-ae110fc2.js} +0 -0
  552. /package/dist/components/{p-wEP_nEaO.js → p-bbf9492a.js} +0 -0
  553. /package/dist/esm/{dfs-CLF3diNe.js → dfs-1e574d5f.js} +0 -0
  554. /package/dist/esm/{generateUniqueId-Cn4f8w1e.js → generateUniqueId-7934d315.js} +0 -0
  555. /package/dist/esm/{getAriaInvalid-wEP_nEaO.js → getAriaInvalid-a9944cb9.js} +0 -0
  556. /package/dist/esm/{hasSlot-DDX6uFcm.js → hasSlot-d52114d0.js} +0 -0
  557. /package/dist/esm/{inheritAttributes-CF8bH08v.js → inheritAttributes-d21e267b.js} +0 -0
  558. /package/dist/tegel/{p-Cn4f8w1e.js → p-11648030.js} +0 -0
  559. /package/dist/tegel/{p-CF8bH08v.js → p-3fe9cbbf.js} +0 -0
  560. /package/dist/tegel/{p-CLF3diNe.js → p-52bf0fdf.js} +0 -0
  561. /package/dist/tegel/{p-DDX6uFcm.js → p-ae110fc2.js} +0 -0
  562. /package/dist/tegel/{p-wEP_nEaO.js → p-bbf9492a.js} +0 -0
@@ -1,26 +1,26 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { h as hasSlot } from './hasSlot-d52114d0.js';
3
3
 
4
4
  const footerCss = ":host{display:block}:host slot[name=top]::slotted(*){box-sizing:border-box;background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start],:host slot[name=end]{display:flex}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host slot[name=end]{margin-left:auto}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-footer-main-copyright)}:host .footer-main-bottom .brand{background-image:var(--tds-background-image-scania-wordmark-white-svg-local), var(--tds-background-image-scania-wordmark-white-svg);background-repeat:no-repeat;background-size:117px;background-position:right;width:117px;height:20px}:host .footer-main-bottom .brand p{color:transparent;padding:0;margin:0;height:100%;visibility:hidden}@media all and (max-width: 992px){:host slot[name=top]::slotted(*){display:block;width:100%;padding:0}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host slot[name=end]::slotted(*){flex-direction:row;gap:8px}:host slot[name=end]{margin-left:unset}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}";
5
+ const TdsFooterStyle0 = footerCss;
5
6
 
6
7
  const TdsFooter = class {
7
8
  constructor(hostRef) {
8
9
  registerInstance(this, hostRef);
9
- /** Mode variant of the component, based on current mode. */
10
- this.modeVariant = null;
11
10
  this.copyrightText = `Copyright © ${new Date().getFullYear()} Scania`;
11
+ this.modeVariant = null;
12
12
  }
13
13
  render() {
14
14
  const usesTopSlot = hasSlot('top', this.host);
15
15
  const usesStartSlot = hasSlot('start', this.host);
16
16
  const usesEndSlot = hasSlot('end', this.host);
17
17
  const usesCopyrightSlot = hasSlot('copyright', this.host);
18
- return (h(Host, { key: 'e3dee2f5ac2caebf6a9585b81cdbdda442562c2b', class: {
18
+ return (h(Host, { key: '1970dca286e8a105a4155f1d72ff8abeee8dda12', class: {
19
19
  [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
20
- } }, 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")))))));
20
+ } }, 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")))))));
21
21
  }
22
22
  get host() { return getElement(this); }
23
23
  };
24
- TdsFooter.style = footerCss;
24
+ TdsFooter.style = TdsFooterStyle0;
25
25
 
26
26
  export { TdsFooter as tds_footer };
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
 
3
3
  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}}";
4
+ const TdsHeaderBrandSymbolStyle0 = headerBrandSymbolCss;
4
5
 
5
6
  const TdsHeaderBrandSymbol = class {
6
7
  constructor(hostRef) {
@@ -8,13 +9,13 @@ const TdsHeaderBrandSymbol = class {
8
9
  }
9
10
  render() {
10
11
  const aTag = this.host.querySelector('a');
11
- if (!aTag.hasAttribute('aria-label')) {
12
+ if (!(aTag === null || aTag === void 0 ? void 0 : aTag.hasAttribute('aria-label'))) {
12
13
  console.warn('Tegel Header Brand Symbol component: missing aria-label attribute for <a> tag inside slot');
13
14
  }
14
- return (h(Host, { key: 'b3f7cf4d264f2046844814a80f7b9b6a920b1a1e' }, h("tds-header-item", { key: '0be33ffe57b94442fac4f1e686f87fb1e2f1911d' }, h("slot", { key: '3f7f636bc5f7c1b2ee009c774337d0b41c45e477' }))));
15
+ return (h(Host, { key: '9cbe4978dccfdeb1b11ea0a8ba7c0e5e7fe991ba' }, h("tds-header-item", { key: 'a2ff9dc657366d73042b51717ad9447ec0f7dca1' }, h("slot", { key: '9a7ded8445811b59cd858f86bb2aa640c1af91d3' }))));
15
16
  }
16
17
  get host() { return getElement(this); }
17
18
  };
18
- TdsHeaderBrandSymbol.style = headerBrandSymbolCss;
19
+ TdsHeaderBrandSymbol.style = TdsHeaderBrandSymbolStyle0;
19
20
 
20
21
  export { TdsHeaderBrandSymbol as tds_header_brand_symbol };
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
 
3
3
  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}";
4
+ const TdsHeaderCellStyle0 = tableHeaderCellCss;
4
5
 
5
6
  const relevantTableProps = [
6
7
  'multiselect',
@@ -16,22 +17,6 @@ const TdsTableHeaderCell = class {
16
17
  this.internalSortButtonClicked = createEvent(this, "internalSortButtonClicked", 6);
17
18
  this.internalTdsTextAlign = createEvent(this, "internalTdsTextAlign", 6);
18
19
  this.internalTdsHover = createEvent(this, "internalTdsHover", 6);
19
- /** Enables sorting on that column */
20
- this.sortable = false;
21
- /** Setting for text align, default is "left". Other accepted values are "left", "start", "right" or "end". */
22
- this.textAlign = 'left';
23
- /** Disables internal padding. Useful when passing other components to cell. */
24
- this.disablePadding = false;
25
- /** Aria label for the sort button, providing an accessible description */
26
- this.tdsAriaLabelSortButton = '';
27
- this.sortedByMyKey = false;
28
- this.verticalDividers = false;
29
- this.compactDesign = false;
30
- this.noMinWidth = false;
31
- this.multiselect = false;
32
- this.enableToolbarDesign = false;
33
- this.tableId = '';
34
- this.expandableRows = false;
35
20
  this.sortButtonClick = () => {
36
21
  if (this.sortingDirection !== 'asc' && this.sortingDirection !== 'desc') {
37
22
  this.sortingDirection = 'asc';
@@ -65,6 +50,23 @@ const TdsTableHeaderCell = class {
65
50
  key,
66
51
  });
67
52
  };
53
+ this.cellKey = undefined;
54
+ this.cellValue = undefined;
55
+ this.customWidth = undefined;
56
+ this.sortable = false;
57
+ this.textAlign = 'left';
58
+ this.disablePadding = false;
59
+ this.tdsAriaLabelSortButton = '';
60
+ this.textAlignState = undefined;
61
+ this.sortingDirection = undefined;
62
+ this.sortedByMyKey = false;
63
+ this.verticalDividers = false;
64
+ this.compactDesign = false;
65
+ this.noMinWidth = false;
66
+ this.multiselect = false;
67
+ this.enableToolbarDesign = false;
68
+ this.tableId = '';
69
+ this.expandableRows = false;
68
70
  }
69
71
  internalTdsPropChangeListener(event) {
70
72
  if (this.tableId === event.detail.tableId) {
@@ -91,12 +93,14 @@ const TdsTableHeaderCell = class {
91
93
  }
92
94
  }
93
95
  connectedCallback() {
96
+ var _a;
94
97
  this.tableEl = this.host.closest('tds-table');
95
- this.tableId = this.tableEl.tableId;
98
+ this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
96
99
  }
97
100
  componentWillLoad() {
98
101
  relevantTableProps.forEach((tablePropName) => {
99
- this[tablePropName] = this.tableEl[tablePropName];
102
+ var _a;
103
+ this[tablePropName] = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a[tablePropName];
100
104
  });
101
105
  }
102
106
  componentWillRender() {
@@ -106,8 +110,11 @@ const TdsTableHeaderCell = class {
106
110
  : 'left';
107
111
  // To enable body cells text align per rules set in head cell
108
112
  this.internalTdsTextAlign.emit([this.tableId, this.cellKey, this.textAlignState]);
109
- this.enableToolbarDesign =
110
- this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
113
+ const closesetTable = this.host.closest('tds-table');
114
+ if (closesetTable) {
115
+ this.enableToolbarDesign =
116
+ closesetTable.getElementsByTagName('tds-table-toolbar').length >= 1;
117
+ }
111
118
  }
112
119
  getAriaSort() {
113
120
  if (this.sortingDirection === 'asc')
@@ -117,7 +124,7 @@ const TdsTableHeaderCell = class {
117
124
  return 'none';
118
125
  }
119
126
  render() {
120
- return (h(Host, { key: 'f128527938679fe448019802ea76cda1a57d75be', class: {
127
+ return (h(Host, { key: '13dbec19fb1678656b968265add6b87cb97355d7', class: {
121
128
  'tds-table__header-cell': true,
122
129
  'tds-table__header-cell--sortable': this.sortable,
123
130
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -132,6 +139,6 @@ const TdsTableHeaderCell = class {
132
139
  }
133
140
  get host() { return getElement(this); }
134
141
  };
135
- TdsTableHeaderCell.style = tableHeaderCellCss;
142
+ TdsTableHeaderCell.style = TdsHeaderCellStyle0;
136
143
 
137
144
  export { TdsTableHeaderCell as tds_header_cell };
@@ -1,13 +1,12 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
 
3
3
  const headerDropdownListItemCss = ":host{display:block;box-sizing:border-box;height:var(--tds-header-list-item-md-height);width:100%}:host .component{height:100%}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;border:none;display:flex;align-items:center;height:100%;padding:0 24px;width:100%;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-nav-dropdown-item-background);color:var(--tds-header-nav-item-dropdown-opened-color)}:host .component ::slotted(a:hover){background-color:var(--tds-nav-item-background-hover);cursor:pointer}:host .component ::slotted(a:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:inset 0 0 0 3px var(--tds-white);outline-offset:-2px}:host .component-selected{background-color:var(--tds-nav-item-background-selected);padding-right:4px;border-left-width:4px;border-left-style:solid;border-left-color:var(--tds-nav-item-border-color-active)}:host .component-selected ::slotted(a),:host .component-selected ::slotted(button){background-color:var(--tds-nav-item-background-selected)}:host .component-selected:focus-within{border-left:none}:host(:not(:last-child)){border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host([size=lg]){height:var(--tds-header-height)}:host([size=lg]) ::slotted(a),:host([size=lg]) ::slotted(button){padding:0 16px;color:var(--tds-header-app-launcher-item-color)}";
4
+ const TdsHeaderDropdownListItemStyle0 = headerDropdownListItemCss;
4
5
 
5
6
  const TdsHeaderDropdownListItem = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
8
- /** If the link should appear selected. */
9
9
  this.selected = false;
10
- /** The size of the component. */
11
10
  this.size = 'md';
12
11
  }
13
12
  render() {
@@ -18,6 +17,6 @@ const TdsHeaderDropdownListItem = class {
18
17
  }
19
18
  get host() { return getElement(this); }
20
19
  };
21
- TdsHeaderDropdownListItem.style = headerDropdownListItemCss;
20
+ TdsHeaderDropdownListItem.style = TdsHeaderDropdownListItemStyle0;
22
21
 
23
22
  export { TdsHeaderDropdownListItem as tds_header_dropdown_list_item };
@@ -1,16 +1,21 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
 
3
3
  const headerDropdownListUserCss = ":host{background-color:var(--tds-header-avatar-item-background);display:flex;height:84px}:host .user-box{gap:16px;width:100%;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host img,:host slot[name=thumbnail]::slotted(*){width:34px;border-radius:100%}:host .user-content{display:flex;flex-direction:column;gap:4px}:host .user-content .header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .user-content .subheader{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-header-avatar-item-color)}";
4
+ const TdsHeaderDropdownListUserStyle0 = headerDropdownListUserCss;
4
5
 
5
6
  const TdsHeaderDropdownListLgUser = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
9
+ this.imgUrl = undefined;
10
+ this.imgAlt = undefined;
11
+ this.header = undefined;
12
+ this.subheader = undefined;
8
13
  }
9
14
  render() {
10
15
  return (h(Host, { key: '88298dc621372f56b0336686d055f27ef7bfee8a', role: "listitem" }, h("div", { key: 'da8b981e30d4cca52b4dfc2813e2d706f7c18d30', class: "user-box" }, this.imgUrl && h("img", { key: 'f81a370f4499f5bec4eedef0ef2d1aaa5aeca4ca', src: this.imgUrl, alt: this.imgAlt }), h("slot", { key: '33c9d2b8d0761d6915129cd03f4b596b5c05c1b4', name: "thumbanil" }), h("div", { key: '78a05fa64af6d694b4927fef55260e18c2d5711f', class: "user-content" }, h("div", { key: '15f6a48e0f10574ae14af2e2d92342ec77e85aa1', class: "header" }, this.header, h("slot", { key: '12ebbfbc257918f264c76e7d38a28827880cadec', name: "header" })), h("div", { key: 'bbd348e04b5ea5732bb4426547ef5ed9eddf55d0', class: "subheader" }, this.subheader, h("slot", { key: '403e7f20cb5b564928759ce0be1b058d12610290', name: "subheader" }))))));
11
16
  }
12
17
  get host() { return getElement(this); }
13
18
  };
14
- TdsHeaderDropdownListLgUser.style = headerDropdownListUserCss;
19
+ TdsHeaderDropdownListLgUser.style = TdsHeaderDropdownListUserStyle0;
15
20
 
16
21
  export { TdsHeaderDropdownListLgUser as tds_header_dropdown_list_user };
@@ -1,18 +1,20 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
3
- import './dfs-CLF3diNe.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-8efea284.js';
3
+ import './dfs-1e574d5f.js';
4
4
 
5
5
  const headerDropdownListCss = ":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:unset;background-color:var(--tds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([size=lg]){width:320px}";
6
+ const TdsHeaderDropdownListStyle0 = headerDropdownListCss;
6
7
 
7
8
  const TdsHeaderDropdownList = class {
8
9
  constructor(hostRef) {
9
10
  registerInstance(this, hostRef);
10
11
  // A Map to store the slots and their associated slotchange listeners.
11
12
  this.slotListeners = new Map();
12
- /** The size of the component. */
13
13
  this.size = 'md';
14
+ this.headingElement = undefined;
14
15
  }
15
16
  componentWillLoad() {
17
+ var _a, _b;
16
18
  const { children } = this.host;
17
19
  // Set the size prop for each child, if they have such a property
18
20
  for (let i = 0; i < children.length; i++) {
@@ -22,7 +24,7 @@ const TdsHeaderDropdownList = class {
22
24
  }
23
25
  }
24
26
  let listRoot = this.host;
25
- if (this.host.parentElement.tagName.toLowerCase() === 'tds-header-launcher-list') {
27
+ if (((_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.tagName.toLowerCase()) === 'tds-header-launcher-list') {
26
28
  listRoot = this.host.parentElement;
27
29
  }
28
30
  const headingEl = getPreviousNestedChildOfSiblingsMatching(listRoot, isHeadingElement);
@@ -34,7 +36,8 @@ const TdsHeaderDropdownList = class {
34
36
  }
35
37
  }
36
38
  componentDidLoad() {
37
- this.host.shadowRoot.querySelectorAll('slot').forEach((slot) => {
39
+ var _a;
40
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('slot').forEach((slot) => {
38
41
  // Add the slotchange event listener.
39
42
  const onSlotChange = (e) => {
40
43
  this.processAssignedElements(e.target);
@@ -73,10 +76,10 @@ const TdsHeaderDropdownList = class {
73
76
  'role': 'list',
74
77
  'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
75
78
  };
76
- return (h(Host, Object.assign({ key: '57e8ecd046b7a260f1516fc80673e9d095ffd4d3' }, attributes), h("slot", { key: 'e0bafe5fffcf8864faebd4603597e3e424a35046' })));
79
+ return (h(Host, Object.assign({ key: 'b24073590faf2ae5363a7c685b0933d6f1559eb1' }, attributes), h("slot", { key: 'e7c7fb66a65511de06b0c83f67312de0408decdd' })));
77
80
  }
78
81
  get host() { return getElement(this); }
79
82
  };
80
- TdsHeaderDropdownList.style = headerDropdownListCss;
83
+ TdsHeaderDropdownList.style = TdsHeaderDropdownListStyle0;
81
84
 
82
85
  export { TdsHeaderDropdownList as tds_header_dropdown_list };
@@ -1,16 +1,12 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
3
3
 
4
4
  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}";
5
+ const TdsHeaderDropdownStyle0 = headerDropdownCss;
5
6
 
6
7
  const TdsHeaderDropdown = class {
7
8
  constructor(hostRef) {
8
9
  registerInstance(this, hostRef);
9
- /** If the dropdown icon (downwards chevron) should be hidden. */
10
- this.noDropdownIcon = false;
11
- /** If the button that opens the dropdown should appear selected. */
12
- this.selected = false;
13
- this.open = false;
14
10
  this.uuid = generateUniqueId();
15
11
  this.handleSlottedItemClick = (event) => {
16
12
  const eventSource = event.target.tagName.toLowerCase();
@@ -18,6 +14,12 @@ const TdsHeaderDropdown = class {
18
14
  this.open = false;
19
15
  }
20
16
  };
17
+ this.label = undefined;
18
+ this.noDropdownIcon = false;
19
+ this.selected = false;
20
+ this.tdsAriaLabel = undefined;
21
+ this.open = false;
22
+ this.buttonEl = undefined;
21
23
  }
22
24
  onAnyClick(event) {
23
25
  // Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
@@ -27,17 +29,19 @@ const TdsHeaderDropdown = class {
27
29
  }
28
30
  }
29
31
  handleKeyDown(event) {
32
+ var _a;
30
33
  if (event.key === 'Escape' && this.open) {
31
34
  this.open = false;
32
- this.buttonEl.focus();
35
+ (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();
33
36
  }
34
37
  }
35
38
  toggleDropdown() {
36
39
  this.open = !this.open;
37
40
  if (this.open) {
38
41
  requestAnimationFrame(() => {
42
+ var _a;
39
43
  const selectors = "a, [tabindex='0']";
40
- const firstFocusableElement = this.host.shadowRoot.querySelector(selectors) || this.host.querySelector(selectors);
44
+ const firstFocusableElement = ((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(selectors)) || this.host.querySelector(selectors);
41
45
  if (firstFocusableElement instanceof HTMLElement) {
42
46
  firstFocusableElement.focus();
43
47
  }
@@ -45,13 +49,13 @@ const TdsHeaderDropdown = class {
45
49
  }
46
50
  }
47
51
  render() {
48
- return (h(Host, { key: '0b5e0474e13db90b9a61f8177b4191d26f542d9f' }, h("div", { key: 'b45a13bc693415d7ff3d48cca6e5899202f3d24a', class: {
52
+ return (h(Host, { key: 'c3e84fbcdab1a9c2530f7a5e16c195858f6daa15' }, h("div", { key: '640ad175e59d7e3f958a17fa1358c5c1ec405346', class: {
49
53
  'state-open': this.open,
50
- } }, h("tds-header-item", { key: 'd8bd0a9a07ac2f1e816faf7790756ba496918165', class: "button", active: this.open, selected: this.selected }, h("button", { key: '8636bf077ec6e58463dd2b422621d7d56a29c38f', ref: (el) => {
54
+ } }, h("tds-header-item", { key: 'f424e4e9a77c8fd6dfbde8b292e002aad8ecd307', class: "button", active: this.open, selected: this.selected }, h("button", { key: 'e22605109e904183690d58fbc18954ea9e9816f4', ref: (el) => {
51
55
  this.buttonEl = el;
52
56
  }, "aria-expanded": `${this.open}`, "aria-controls": `launcher-${this.uuid}`, "aria-current": this.selected ? 'location' : 'false', onClick: () => {
53
57
  this.toggleDropdown();
54
- }, "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: [
58
+ }, "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: [
55
59
  {
56
60
  name: 'flip',
57
61
  options: {
@@ -62,6 +66,6 @@ const TdsHeaderDropdown = class {
62
66
  }
63
67
  get host() { return getElement(this); }
64
68
  };
65
- TdsHeaderDropdown.style = headerDropdownCss;
69
+ TdsHeaderDropdown.style = TdsHeaderDropdownStyle0;
66
70
 
67
71
  export { TdsHeaderDropdown as tds_header_dropdown };
@@ -1,12 +1,14 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
3
- import './inheritAttributes-CF8bH08v.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { i as inheritAriaAttributes } from './inheritAriaAttributes-04f2f252.js';
3
+ import './inheritAttributes-d21e267b.js';
4
4
 
5
5
  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}}";
6
+ const TdsHeaderHamburgerStyle0 = headerHamburgerCss;
6
7
 
7
8
  const TdsHeaderHamburger = class {
8
9
  constructor(hostRef) {
9
10
  registerInstance(this, hostRef);
11
+ this.tdsAriaLabel = undefined;
10
12
  }
11
13
  render() {
12
14
  const inheritedButtonProps = Object.assign({}, inheritAriaAttributes(this.host));
@@ -14,6 +16,6 @@ const TdsHeaderHamburger = class {
14
16
  }
15
17
  get host() { return getElement(this); }
16
18
  };
17
- TdsHeaderHamburger.style = headerHamburgerCss;
19
+ TdsHeaderHamburger.style = TdsHeaderHamburgerStyle0;
18
20
 
19
21
  export { TdsHeaderHamburger as tds_header_hamburger };
@@ -1,15 +1,15 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
3
- import './inheritAttributes-CF8bH08v.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { i as inheritAriaAttributes } from './inheritAriaAttributes-04f2f252.js';
3
+ import './inheritAttributes-d21e267b.js';
4
4
 
5
5
  const headerLauncherButtonCss = ":host{display:block}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";
6
+ const TdsHeaderLauncherButtonStyle0 = headerLauncherButtonCss;
6
7
 
7
8
  const TdsHeaderLauncherButton = class {
8
9
  constructor(hostRef) {
9
10
  registerInstance(this, hostRef);
10
- /** If the button should appear active. Can be used when the button is
11
- * triggering a dropdown, and the dropdown is open, for example. */
12
11
  this.active = false;
12
+ this.tdsAriaLabel = undefined;
13
13
  }
14
14
  render() {
15
15
  this.ariaAttributes = Object.assign(Object.assign({}, this.ariaAttributes), inheritAriaAttributes(this.host));
@@ -18,6 +18,6 @@ const TdsHeaderLauncherButton = class {
18
18
  }
19
19
  get host() { return getElement(this); }
20
20
  };
21
- TdsHeaderLauncherButton.style = headerLauncherButtonCss;
21
+ TdsHeaderLauncherButton.style = TdsHeaderLauncherButtonStyle0;
22
22
 
23
23
  export { TdsHeaderLauncherButton as tds_header_launcher_button };
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
1
+ import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
2
 
3
3
  const headerLauncherGridItemCss = ":host{display:block;width:96px;height:96px}:host ::slotted(a),:host ::slotted(button){all:unset;box-sizing:border-box;border-right:1px solid var(--tds-nav-item-border-color);width:100%;height:100%;border:none;padding:0 12px;display:flex;text-align:center;justify-content:center;align-items:center;flex-direction:column;gap:8px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);background-color:var(--tds-header-app-launcher-menu-bg);color:var(--tds-header-app-launcher-grid-color);border-radius:4px;transition:background-color 150ms ease}:host ::slotted(a:hover),:host ::slotted(button:hover){background-color:var(--tds-header-app-launcher-grid-hover-background);cursor:pointer}:host ::slotted(a:focus-visible),:host ::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
+ const TdsHeaderLauncherGridItemStyle0 = headerLauncherGridItemCss;
4
5
 
5
6
  const TdsHeaderLauncherGridItem = class {
6
7
  constructor(hostRef) {
@@ -10,6 +11,6 @@ const TdsHeaderLauncherGridItem = class {
10
11
  return (h(Host, { key: '1506d0cda6ddcdd025ea7febf24e34c8e0d5b479', role: "listitem" }, h("slot", { key: 'f6ae96ad0c953297fddf43cfcee6d688a93846f5' })));
11
12
  }
12
13
  };
13
- TdsHeaderLauncherGridItem.style = headerLauncherGridItemCss;
14
+ TdsHeaderLauncherGridItem.style = TdsHeaderLauncherGridItemStyle0;
14
15
 
15
16
  export { TdsHeaderLauncherGridItem as tds_header_launcher_grid_item };
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
2
- import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
1
+ import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
3
3
 
4
4
  const headerLauncherGridTitleCss = ".tds-header-launcher-grid-title{all:unset;box-sizing:border-box;font:var(--tds-detail-04);letter-spacing:var(--tds-detail-04-ls);color:var(--tds-header-app-launcher-grid-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
5
+ const TdsHeaderLauncherGridTitleStyle0 = headerLauncherGridTitleCss;
5
6
 
6
7
  const TdsHeaderLauncherGridTitle = class {
7
8
  constructor(hostRef) {
@@ -12,6 +13,6 @@ const TdsHeaderLauncherGridTitle = class {
12
13
  return (h(Host, { key: '25db2b1431472f1883bce6605c060e48129dacc5' }, h("h3", { key: '0caaece113240546638d8d0366bcecba6f945986', class: "tds-header-launcher-grid-title", id: `tds-header-launcher-grid-title-${this.uuid}` }, h("slot", { key: '16962f436f38d529357dbaade615badd87862323' }))));
13
14
  }
14
15
  };
15
- TdsHeaderLauncherGridTitle.style = headerLauncherGridTitleCss;
16
+ TdsHeaderLauncherGridTitle.style = TdsHeaderLauncherGridTitleStyle0;
16
17
 
17
18
  export { TdsHeaderLauncherGridTitle as tds_header_launcher_grid_title };
@@ -1,12 +1,14 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
3
- import './dfs-CLF3diNe.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-8efea284.js';
3
+ import './dfs-1e574d5f.js';
4
4
 
5
5
  const headerLauncherGridCss = ".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";
6
+ const TdsHeaderLauncherGridStyle0 = headerLauncherGridCss;
6
7
 
7
8
  const TdsHeaderLauncherGrid = class {
8
9
  constructor(hostRef) {
9
10
  registerInstance(this, hostRef);
11
+ this.headingElement = undefined;
10
12
  }
11
13
  componentWillLoad() {
12
14
  const listRoot = this.host;
@@ -32,6 +34,6 @@ const TdsHeaderLauncherGrid = class {
32
34
  }
33
35
  get host() { return getElement(this); }
34
36
  };
35
- TdsHeaderLauncherGrid.style = headerLauncherGridCss;
37
+ TdsHeaderLauncherGrid.style = TdsHeaderLauncherGridStyle0;
36
38
 
37
39
  export { TdsHeaderLauncherGrid as tds_header_launcher_grid };
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
1
+ import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
2
 
3
3
  const headerLauncherListItemCss = ":host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}";
4
+ const TdsHeaderLauncherListItemStyle0 = headerLauncherListItemCss;
4
5
 
5
6
  const TdsHeaderLauncherListItem = class {
6
7
  constructor(hostRef) {
@@ -10,6 +11,6 @@ const TdsHeaderLauncherListItem = class {
10
11
  return (h(Host, { key: 'bcc63c58186216485acf6e6e0f896158e92cd29e' }, h("tds-header-dropdown-list-item", { key: 'e4b963bf20b97aa19f8f6dbd4d4a6face04220db', size: "lg" }, h("slot", { key: '03445a4fe12c6f5a283b6d2635d657bbfd103263' }))));
11
12
  }
12
13
  };
13
- TdsHeaderLauncherListItem.style = headerLauncherListItemCss;
14
+ TdsHeaderLauncherListItem.style = TdsHeaderLauncherListItemStyle0;
14
15
 
15
16
  export { TdsHeaderLauncherListItem as tds_header_launcher_list_item };
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
3
3
 
4
4
  const headerLauncherListTitleCss = ".tds-header-launcher-list-title{all:unset;box-sizing:border-box;font:var(--tds-detail-06);letter-spacing:var(--tds-detail-06-ls);color:var(--tds-header-app-launcher-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
5
+ const TdsHeaderLauncherListTitleStyle0 = headerLauncherListTitleCss;
5
6
 
6
7
  const TdsHeaderLauncherListTitle = class {
7
8
  constructor(hostRef) {
@@ -13,6 +14,6 @@ const TdsHeaderLauncherListTitle = class {
13
14
  }
14
15
  get host() { return getElement(this); }
15
16
  };
16
- TdsHeaderLauncherListTitle.style = headerLauncherListTitleCss;
17
+ TdsHeaderLauncherListTitle.style = TdsHeaderLauncherListTitleStyle0;
17
18
 
18
19
  export { TdsHeaderLauncherListTitle as tds_header_launcher_list_title };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-Cl9XBhQW.js';
2
- import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
1
+ import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
3
3
 
4
4
  const TdsHeaderLauncherList = class {
5
5
  constructor(hostRef) {
@@ -1,16 +1,19 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cl9XBhQW.js';
2
- import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
- import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
4
- import './inheritAttributes-CF8bH08v.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
3
+ import { i as inheritAriaAttributes } from './inheritAriaAttributes-04f2f252.js';
4
+ import './inheritAttributes-d21e267b.js';
5
5
 
6
6
  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}";
7
+ const TdsHeaderLauncherStyle0 = headerLauncherCss;
7
8
 
8
9
  const TdsHeaderLauncher = class {
9
10
  constructor(hostRef) {
10
11
  registerInstance(this, hostRef);
12
+ this.uuid = generateUniqueId();
11
13
  this.open = false;
14
+ this.buttonEl = undefined;
12
15
  this.hasListTypeMenu = false;
13
- this.uuid = generateUniqueId();
16
+ this.tdsAriaLabel = undefined;
14
17
  }
15
18
  onAnyClick(event) {
16
19
  // Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
@@ -20,9 +23,12 @@ const TdsHeaderLauncher = class {
20
23
  }
21
24
  }
22
25
  handleKeyDown(event) {
26
+ var _a, _b;
23
27
  if (event.key === 'Escape' && this.open) {
24
28
  this.open = false;
25
- this.buttonEl.shadowRoot.querySelector('button').focus();
29
+ const btnShadow = (_b = (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('button');
30
+ if (btnShadow)
31
+ btnShadow.focus();
26
32
  }
27
33
  }
28
34
  componentDidLoad() {
@@ -33,8 +39,9 @@ const TdsHeaderLauncher = class {
33
39
  this.open = !this.open;
34
40
  if (this.open) {
35
41
  requestAnimationFrame(() => {
42
+ var _a;
36
43
  const selectors = "a, [tabindex='0']";
37
- const firstFocusableElement = this.host.shadowRoot.querySelector(selectors) || this.host.querySelector(selectors);
44
+ const firstFocusableElement = ((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(selectors)) || this.host.querySelector(selectors);
38
45
  if (firstFocusableElement instanceof HTMLElement) {
39
46
  firstFocusableElement.focus();
40
47
  }
@@ -48,11 +55,11 @@ const TdsHeaderLauncher = class {
48
55
  }, 'ref': (el) => {
49
56
  this.buttonEl = el;
50
57
  } });
51
- return (h(Host, { key: '8fc1d1c845a4dfa5deba02a83edf89c6d3ea8278' }, h("div", { key: '2c23ffd716390481b3cdd2da2a4062193723f800', class: {
58
+ return (h(Host, { key: '13631a42a002d81b250fc26438b96f93ae991ab6' }, h("div", { key: '24fca288a843c0c9459f8ad9ce015cec36c815c6', class: {
52
59
  'wrapper': true,
53
60
  'state-open': this.open,
54
61
  'state-list-type-menu': this.hasListTypeMenu,
55
- } }, h("tds-header-launcher-button", Object.assign({ key: 'a82084372217eb32338e15bd436ed09006331043' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '87bd7d7aad3f60993c9cfb9df25c5cd54a45150f', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
62
+ } }, 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: [
56
63
  {
57
64
  name: 'flip',
58
65
  options: {
@@ -63,6 +70,6 @@ const TdsHeaderLauncher = class {
63
70
  }
64
71
  get host() { return getElement(this); }
65
72
  };
66
- TdsHeaderLauncher.style = headerLauncherCss;
73
+ TdsHeaderLauncher.style = TdsHeaderLauncherStyle0;
67
74
 
68
75
  export { TdsHeaderLauncher as tds_header_launcher };