@scania/tegel 1.47.2 → 1.48.0-beta.0-tabbing-test

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 (587) hide show
  1. package/README.md +4 -0
  2. package/dist/cjs/index-DGsdvbvx.js +2521 -0
  3. package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
  4. package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +3 -6
  6. package/dist/cjs/tds-accordion-item.cjs.entry.js +10 -7
  7. package/dist/cjs/tds-accordion.cjs.entry.js +5 -6
  8. package/dist/cjs/tds-badge.cjs.entry.js +13 -8
  9. package/dist/cjs/tds-banner.cjs.entry.js +19 -15
  10. package/dist/cjs/tds-block.cjs.entry.js +5 -6
  11. package/dist/cjs/tds-body-cell.cjs.entry.js +6 -11
  12. package/dist/cjs/tds-breadcrumb.cjs.entry.js +4 -6
  13. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +3 -7
  14. package/dist/cjs/tds-button_2.cjs.entry.js +16 -15
  15. package/dist/cjs/tds-card.cjs.entry.js +29 -20
  16. package/dist/cjs/tds-checkbox.cjs.entry.js +17 -17
  17. package/dist/cjs/tds-chip.cjs.entry.js +20 -17
  18. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +12 -13
  19. package/dist/cjs/tds-datetime.cjs.entry.js +33 -27
  20. package/dist/cjs/tds-dropdown_2.cjs.entry.js +72 -67
  21. package/dist/cjs/tds-folder-tab.cjs.entry.js +6 -9
  22. package/dist/cjs/tds-folder-tabs.cjs.entry.js +40 -38
  23. package/dist/cjs/tds-footer-group.cjs.entry.js +11 -14
  24. package/dist/cjs/tds-footer-item.cjs.entry.js +4 -7
  25. package/dist/cjs/tds-footer.cjs.entry.js +8 -10
  26. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -7
  27. package/dist/cjs/tds-header-cell.cjs.entry.js +23 -26
  28. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +7 -8
  29. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +4 -11
  30. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +7 -10
  31. package/dist/cjs/tds-header-dropdown.cjs.entry.js +12 -16
  32. package/dist/cjs/tds-header-hamburger.cjs.entry.js +6 -10
  33. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +8 -10
  34. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +4 -7
  35. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +5 -8
  36. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +6 -10
  37. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +4 -7
  38. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +5 -8
  39. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +3 -5
  40. package/dist/cjs/tds-header-launcher.cjs.entry.js +9 -14
  41. package/dist/cjs/tds-header-title.cjs.entry.js +4 -7
  42. package/dist/cjs/tds-header.cjs.entry.js +6 -9
  43. package/dist/cjs/tds-icon.cjs.entry.js +15 -18
  44. package/dist/cjs/tds-inline-tab.cjs.entry.js +6 -8
  45. package/dist/cjs/tds-inline-tabs.cjs.entry.js +43 -46
  46. package/dist/cjs/tds-link.cjs.entry.js +8 -8
  47. package/dist/cjs/tds-message.cjs.entry.js +16 -16
  48. package/dist/cjs/tds-modal.cjs.entry.js +93 -47
  49. package/dist/cjs/tds-navigation-tab.cjs.entry.js +6 -8
  50. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +43 -40
  51. package/dist/cjs/tds-popover-canvas.cjs.entry.js +20 -14
  52. package/dist/cjs/tds-popover-core.cjs.entry.js +54 -41
  53. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +6 -8
  54. package/dist/cjs/tds-popover-menu.cjs.entry.js +19 -14
  55. package/dist/cjs/tds-radio-button.cjs.entry.js +14 -17
  56. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +6 -9
  57. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -10
  58. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +6 -8
  59. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -8
  60. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -10
  61. package/dist/cjs/tds-side-menu-item.cjs.entry.js +9 -9
  62. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +4 -7
  63. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +7 -15
  64. package/dist/cjs/tds-side-menu-user.cjs.entry.js +4 -11
  65. package/dist/cjs/tds-side-menu.cjs.entry.js +42 -25
  66. package/dist/cjs/tds-slider.cjs.entry.js +51 -34
  67. package/dist/cjs/tds-spinner.cjs.entry.js +6 -7
  68. package/dist/cjs/tds-step.cjs.entry.js +5 -13
  69. package/dist/cjs/tds-stepper.cjs.entry.js +26 -11
  70. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
  71. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +48 -17
  72. package/dist/cjs/tds-table-body-row.cjs.entry.js +8 -8
  73. package/dist/cjs/tds-table-body.cjs.entry.js +10 -13
  74. package/dist/cjs/tds-table-footer.cjs.entry.js +79 -24
  75. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +5 -7
  76. package/dist/cjs/tds-table-header.cjs.entry.js +8 -9
  77. package/dist/cjs/tds-table-toolbar.cjs.entry.js +8 -8
  78. package/dist/cjs/tds-table.cjs.entry.js +54 -21
  79. package/dist/cjs/tds-tag.cjs.entry.js +8 -10
  80. package/dist/cjs/tds-text-field.cjs.entry.js +29 -20
  81. package/dist/cjs/tds-textarea.cjs.entry.js +21 -16
  82. package/dist/cjs/tds-toast.cjs.entry.js +20 -20
  83. package/dist/cjs/tds-toggle.cjs.entry.js +17 -18
  84. package/dist/cjs/tds-tooltip.cjs.entry.js +22 -20
  85. package/dist/cjs/tegel.cjs.js +7 -8
  86. package/dist/collection/assets/icons/scania/microphone.svg +4 -0
  87. package/dist/collection/assets/icons/scania/microphone_inactive.svg +7 -0
  88. package/dist/collection/assets/icons/scania/notification_snooze.svg +6 -0
  89. package/dist/collection/assets/icons/scania/paperclip.svg +3 -0
  90. package/dist/collection/collection-manifest.json +2 -2
  91. package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
  92. package/dist/collection/components/accordion/accordion.js +8 -2
  93. package/dist/collection/components/badge/badge.js +16 -4
  94. package/dist/collection/components/banner/banner.js +41 -19
  95. package/dist/collection/components/block/block.js +8 -2
  96. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
  97. package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
  98. package/dist/collection/components/button/button.js +44 -19
  99. package/dist/collection/components/card/card.js +64 -28
  100. package/dist/collection/components/checkbox/checkbox.js +41 -22
  101. package/dist/collection/components/chip/chip.css +24 -19
  102. package/dist/collection/components/chip/chip.js +42 -20
  103. package/dist/collection/components/datetime/datetime.js +81 -40
  104. package/dist/collection/components/divider/divider.js +9 -3
  105. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +31 -25
  106. package/dist/collection/components/dropdown/dropdown.js +95 -55
  107. package/dist/collection/components/footer/footer-group/footer-group.js +15 -11
  108. package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
  109. package/dist/collection/components/footer/footer.js +7 -4
  110. package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
  111. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
  112. package/dist/collection/components/header/header-dropdown/header-dropdown.js +22 -15
  113. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
  114. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +10 -4
  115. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +17 -15
  116. package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -6
  117. package/dist/collection/components/header/header-item/header-item.js +11 -4
  118. package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
  119. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +10 -5
  120. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -4
  121. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
  122. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
  123. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
  124. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
  125. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  126. package/dist/collection/components/header/header-title/header-title.css +1 -0
  127. package/dist/collection/components/header/header-title/header-title.js +1 -1
  128. package/dist/collection/components/header/header.js +1 -1
  129. package/dist/collection/components/icon/icon.js +30 -17
  130. package/dist/collection/components/icon/scaniaIconsArray.js +2 -252
  131. package/dist/collection/components/icon/tratonIconsArray.js +2 -32
  132. package/dist/collection/components/link/link.js +14 -5
  133. package/dist/collection/components/message/message.css +6 -6
  134. package/dist/collection/components/message/message.js +35 -18
  135. package/dist/collection/components/modal/modal.js +119 -51
  136. package/dist/collection/components/popover-canvas/popover-canvas.js +51 -19
  137. package/dist/collection/components/popover-core/popover-core.js +64 -31
  138. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +6 -3
  139. package/dist/collection/components/popover-menu/popover-menu.js +48 -19
  140. package/dist/collection/components/radio-button/radio-button.css +14 -14
  141. package/dist/collection/components/radio-button/radio-button.js +38 -22
  142. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  143. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +8 -6
  144. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +19 -9
  145. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
  146. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +6 -3
  147. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +11 -4
  148. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
  149. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +17 -15
  150. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +9 -9
  151. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +9 -9
  152. package/dist/collection/components/side-menu/side-menu.js +43 -20
  153. package/dist/collection/components/slider/slider.js +98 -44
  154. package/dist/collection/components/spinner/spinner.js +9 -3
  155. package/dist/collection/components/stepper/step/step.css +65 -16
  156. package/dist/collection/components/stepper/step/step.js +13 -12
  157. package/dist/collection/components/stepper/stepper.js +28 -6
  158. package/dist/collection/components/table/table/table.js +61 -17
  159. package/dist/collection/components/table/table-body/table-body.js +7 -7
  160. package/dist/collection/components/table/table-body-cell/table-body-cell.css +11 -8
  161. package/dist/collection/components/table/table-body-cell/table-body-cell.js +58 -13
  162. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +4 -1
  163. package/dist/collection/components/table/table-body-row/table-body-row.js +14 -5
  164. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +26 -1
  165. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +116 -17
  166. package/dist/collection/components/table/table-footer/table-footer.js +96 -23
  167. package/dist/collection/components/table/table-header/table-header.css +0 -3
  168. package/dist/collection/components/table/table-header/table-header.js +18 -8
  169. package/dist/collection/components/table/table-header-cell/table-header-cell.css +34 -27
  170. package/dist/collection/components/table/table-header-cell/table-header-cell.js +84 -31
  171. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
  172. package/dist/collection/components/table/table-toolbar/table-toolbar.js +14 -5
  173. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +6 -4
  174. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +50 -37
  175. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +6 -3
  176. package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +3 -1
  177. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +56 -46
  178. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +6 -3
  179. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +56 -40
  180. package/dist/collection/components/tag/tag.js +16 -9
  181. package/dist/collection/components/text-field/text-field.js +99 -41
  182. package/dist/collection/components/textarea/textarea.js +72 -30
  183. package/dist/collection/components/toast/toast.js +45 -24
  184. package/dist/collection/components/toggle/toggle.js +40 -22
  185. package/dist/collection/components/tooltip/tooltip.js +55 -27
  186. package/dist/components/index.d.ts +2 -0
  187. package/dist/components/index.js +1 -1
  188. package/dist/components/p-BLhZliIO.js +1 -0
  189. package/dist/components/p-BMeMtNu0.js +1 -0
  190. package/dist/components/p-BYl_hs2I.js +1 -0
  191. package/dist/components/p-BonnqD8w.js +1 -0
  192. package/dist/components/p-Bp11uQum.js +1 -0
  193. package/dist/components/p-C4MTsi5W.js +1 -0
  194. package/dist/components/p-C9VPZFHA.js +1 -0
  195. package/dist/components/p-CBZ6wC3m.js +1 -0
  196. package/dist/components/p-CKbZVUR2.js +1 -0
  197. package/dist/components/p-CuBmZ6sl.js +1 -0
  198. package/dist/components/p-CuIyaNyT.js +1 -0
  199. package/dist/components/p-CwklLnIa.js +1 -0
  200. package/dist/components/p-CzyhBRHW.js +1 -0
  201. package/dist/components/p-D0Aaqu_c.js +1 -0
  202. package/dist/components/p-DGE6WcOB.js +1 -0
  203. package/dist/components/p-DdOzmmZe.js +1 -0
  204. package/dist/components/p-DjZ0RkWr.js +1 -0
  205. package/dist/components/p-DlkBTA_R.js +1 -0
  206. package/dist/{tegel/p-0bd4c19c.js → components/p-Q3W78DlP.js} +1 -1
  207. package/dist/components/p-Zx1hN-_O.js +1 -0
  208. package/dist/components/p-hVetZOGH.js +1 -0
  209. package/dist/components/tds-accordion-item.js +1 -98
  210. package/dist/components/tds-accordion.js +1 -44
  211. package/dist/components/tds-badge.js +1 -76
  212. package/dist/components/tds-banner.js +1 -93
  213. package/dist/components/tds-block.js +1 -63
  214. package/dist/components/tds-body-cell.js +1 -131
  215. package/dist/components/tds-breadcrumb.js +1 -38
  216. package/dist/components/tds-breadcrumbs.js +1 -41
  217. package/dist/components/tds-button.js +1 -6
  218. package/dist/components/tds-card.js +1 -112
  219. package/dist/components/tds-checkbox.js +1 -6
  220. package/dist/components/tds-chip.js +1 -120
  221. package/dist/components/tds-core-header-item.js +1 -6
  222. package/dist/components/tds-datetime.js +1 -198
  223. package/dist/components/tds-divider.js +1 -6
  224. package/dist/components/tds-dropdown-option.js +1 -6
  225. package/dist/components/tds-dropdown.js +1 -6
  226. package/dist/components/tds-folder-tab.js +1 -74
  227. package/dist/components/tds-folder-tabs.js +1 -228
  228. package/dist/components/tds-footer-group.js +1 -87
  229. package/dist/components/tds-footer-item.js +1 -44
  230. package/dist/components/tds-footer.js +1 -47
  231. package/dist/components/tds-header-brand-symbol.js +1 -52
  232. package/dist/components/tds-header-cell.js +1 -187
  233. package/dist/components/tds-header-dropdown-list-item.js +1 -6
  234. package/dist/components/tds-header-dropdown-list-user.js +1 -45
  235. package/dist/components/tds-header-dropdown-list.js +1 -6
  236. package/dist/components/tds-header-dropdown.js +1 -127
  237. package/dist/components/tds-header-hamburger.js +1 -59
  238. package/dist/components/tds-header-item.js +1 -6
  239. package/dist/components/tds-header-launcher-button.js +1 -6
  240. package/dist/components/tds-header-launcher-grid-item.js +1 -35
  241. package/dist/components/tds-header-launcher-grid-title.js +1 -36
  242. package/dist/components/tds-header-launcher-grid.js +1 -58
  243. package/dist/components/tds-header-launcher-list-item.js +1 -41
  244. package/dist/components/tds-header-launcher-list-title.js +1 -37
  245. package/dist/components/tds-header-launcher-list.js +1 -38
  246. package/dist/components/tds-header-launcher.js +1 -134
  247. package/dist/components/tds-header-title.js +1 -35
  248. package/dist/components/tds-header.js +1 -74
  249. package/dist/components/tds-icon.js +1 -6
  250. package/dist/components/tds-inline-tab.js +1 -68
  251. package/dist/components/tds-inline-tabs.js +1 -234
  252. package/dist/components/tds-link.js +1 -64
  253. package/dist/components/tds-message.js +1 -84
  254. package/dist/components/tds-modal.js +1 -262
  255. package/dist/components/tds-navigation-tab.js +1 -65
  256. package/dist/components/tds-navigation-tabs.js +1 -240
  257. package/dist/components/tds-popover-canvas.js +1 -6
  258. package/dist/components/tds-popover-core.js +1 -6
  259. package/dist/components/tds-popover-menu-item.js +1 -41
  260. package/dist/components/tds-popover-menu.js +1 -84
  261. package/dist/components/tds-radio-button.js +1 -70
  262. package/dist/components/tds-side-menu-close-button.js +1 -53
  263. package/dist/components/tds-side-menu-collapse-button.js +1 -74
  264. package/dist/components/tds-side-menu-dropdown-list-item.js +1 -78
  265. package/dist/components/tds-side-menu-dropdown-list.js +1 -49
  266. package/dist/components/tds-side-menu-dropdown.js +1 -113
  267. package/dist/components/tds-side-menu-item.js +1 -6
  268. package/dist/components/tds-side-menu-overlay.js +1 -35
  269. package/dist/components/tds-side-menu-user-image.js +1 -6
  270. package/dist/components/tds-side-menu-user-label.js +1 -6
  271. package/dist/components/tds-side-menu-user.js +1 -56
  272. package/dist/components/tds-side-menu.js +1 -193
  273. package/dist/components/tds-slider.js +1 -545
  274. package/dist/components/tds-spinner.js +1 -39
  275. package/dist/components/tds-step.js +1 -86
  276. package/dist/components/tds-stepper.js +1 -95
  277. package/dist/components/tds-table-body-input-wrapper.js +1 -130
  278. package/dist/components/tds-table-body-row-expandable.js +1 -175
  279. package/dist/components/tds-table-body-row.js +1 -125
  280. package/dist/components/tds-table-body.js +1 -108
  281. package/dist/components/tds-table-footer.js +1 -210
  282. package/dist/components/tds-table-header-input-wrapper.js +1 -112
  283. package/dist/components/tds-table-header.js +1 -144
  284. package/dist/components/tds-table-toolbar.js +1 -119
  285. package/dist/components/tds-table.js +1 -168
  286. package/dist/components/tds-tag.js +1 -48
  287. package/dist/components/tds-text-field.js +1 -6
  288. package/dist/components/tds-textarea.js +1 -156
  289. package/dist/components/tds-toast.js +1 -117
  290. package/dist/components/tds-toggle.js +1 -86
  291. package/dist/components/tds-tooltip.js +1 -6
  292. package/dist/esm/index-9xxNGlso.js +2492 -0
  293. package/dist/{components/p-0bd4c19c.js → esm/inheritAriaAttributes-DyLhgCIg.js} +1 -1
  294. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  295. package/dist/esm/loader.js +3 -4
  296. package/dist/esm/tds-accordion-item.entry.js +10 -5
  297. package/dist/esm/tds-accordion.entry.js +5 -4
  298. package/dist/esm/tds-badge.entry.js +13 -6
  299. package/dist/esm/tds-banner.entry.js +19 -13
  300. package/dist/esm/tds-block.entry.js +5 -4
  301. package/dist/esm/tds-body-cell.entry.js +6 -9
  302. package/dist/esm/tds-breadcrumb.entry.js +4 -4
  303. package/dist/esm/tds-breadcrumbs.entry.js +3 -5
  304. package/dist/esm/tds-button_2.entry.js +16 -13
  305. package/dist/esm/tds-card.entry.js +29 -18
  306. package/dist/esm/tds-checkbox.entry.js +17 -15
  307. package/dist/esm/tds-chip.entry.js +20 -15
  308. package/dist/esm/tds-core-header-item_2.entry.js +12 -11
  309. package/dist/esm/tds-datetime.entry.js +33 -25
  310. package/dist/esm/tds-dropdown_2.entry.js +72 -65
  311. package/dist/esm/tds-folder-tab.entry.js +6 -7
  312. package/dist/esm/tds-folder-tabs.entry.js +40 -36
  313. package/dist/esm/tds-footer-group.entry.js +11 -12
  314. package/dist/esm/tds-footer-item.entry.js +4 -5
  315. package/dist/esm/tds-footer.entry.js +8 -8
  316. package/dist/esm/tds-header-brand-symbol.entry.js +4 -5
  317. package/dist/esm/tds-header-cell.entry.js +23 -24
  318. package/dist/esm/tds-header-dropdown-list-item.entry.js +7 -6
  319. package/dist/esm/tds-header-dropdown-list-user.entry.js +4 -9
  320. package/dist/esm/tds-header-dropdown-list.entry.js +7 -8
  321. package/dist/esm/tds-header-dropdown.entry.js +12 -14
  322. package/dist/esm/tds-header-hamburger.entry.js +6 -8
  323. package/dist/esm/tds-header-launcher-button.entry.js +8 -8
  324. package/dist/esm/tds-header-launcher-grid-item.entry.js +4 -5
  325. package/dist/esm/tds-header-launcher-grid-title.entry.js +5 -6
  326. package/dist/esm/tds-header-launcher-grid.entry.js +6 -8
  327. package/dist/esm/tds-header-launcher-list-item.entry.js +4 -5
  328. package/dist/esm/tds-header-launcher-list-title.entry.js +5 -6
  329. package/dist/esm/tds-header-launcher-list.entry.js +3 -3
  330. package/dist/esm/tds-header-launcher.entry.js +9 -12
  331. package/dist/esm/tds-header-title.entry.js +4 -5
  332. package/dist/esm/tds-header.entry.js +6 -7
  333. package/dist/esm/tds-icon.entry.js +15 -16
  334. package/dist/esm/tds-inline-tab.entry.js +6 -6
  335. package/dist/esm/tds-inline-tabs.entry.js +43 -44
  336. package/dist/esm/tds-link.entry.js +8 -6
  337. package/dist/esm/tds-message.entry.js +16 -14
  338. package/dist/esm/tds-modal.entry.js +93 -45
  339. package/dist/esm/tds-navigation-tab.entry.js +6 -6
  340. package/dist/esm/tds-navigation-tabs.entry.js +43 -38
  341. package/dist/esm/tds-popover-canvas.entry.js +20 -12
  342. package/dist/esm/tds-popover-core.entry.js +54 -39
  343. package/dist/esm/tds-popover-menu-item.entry.js +6 -6
  344. package/dist/esm/tds-popover-menu.entry.js +19 -12
  345. package/dist/esm/tds-radio-button.entry.js +14 -15
  346. package/dist/esm/tds-side-menu-close-button.entry.js +6 -7
  347. package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -8
  348. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +6 -6
  349. package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -6
  350. package/dist/esm/tds-side-menu-dropdown.entry.js +9 -8
  351. package/dist/esm/tds-side-menu-item.entry.js +9 -7
  352. package/dist/esm/tds-side-menu-overlay.entry.js +4 -5
  353. package/dist/esm/tds-side-menu-user-image_2.entry.js +7 -13
  354. package/dist/esm/tds-side-menu-user.entry.js +4 -9
  355. package/dist/esm/tds-side-menu.entry.js +42 -23
  356. package/dist/esm/tds-slider.entry.js +51 -32
  357. package/dist/esm/tds-spinner.entry.js +6 -5
  358. package/dist/esm/tds-step.entry.js +5 -11
  359. package/dist/esm/tds-stepper.entry.js +26 -9
  360. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  361. package/dist/esm/tds-table-body-row-expandable.entry.js +48 -15
  362. package/dist/esm/tds-table-body-row.entry.js +8 -6
  363. package/dist/esm/tds-table-body.entry.js +10 -11
  364. package/dist/esm/tds-table-footer.entry.js +79 -22
  365. package/dist/esm/tds-table-header-input-wrapper.entry.js +5 -5
  366. package/dist/esm/tds-table-header.entry.js +8 -7
  367. package/dist/esm/tds-table-toolbar.entry.js +8 -6
  368. package/dist/esm/tds-table.entry.js +54 -19
  369. package/dist/esm/tds-tag.entry.js +8 -8
  370. package/dist/esm/tds-text-field.entry.js +29 -18
  371. package/dist/esm/tds-textarea.entry.js +21 -14
  372. package/dist/esm/tds-toast.entry.js +20 -18
  373. package/dist/esm/tds-toggle.entry.js +17 -16
  374. package/dist/esm/tds-tooltip.entry.js +22 -18
  375. package/dist/esm/tegel.js +5 -5
  376. package/dist/tegel/assets/icons/scania/microphone.svg +4 -0
  377. package/dist/tegel/assets/icons/scania/microphone_inactive.svg +7 -0
  378. package/dist/tegel/assets/icons/scania/notification_snooze.svg +6 -0
  379. package/dist/tegel/assets/icons/scania/paperclip.svg +3 -0
  380. package/dist/tegel/p-0056a170.entry.js +1 -0
  381. package/dist/tegel/p-01f5774a.entry.js +1 -0
  382. package/dist/tegel/{p-17893043.entry.js → p-0426cbc9.entry.js} +1 -1
  383. package/dist/tegel/{p-8e930da5.entry.js → p-117b6fd9.entry.js} +1 -1
  384. package/dist/tegel/p-11f23ac6.entry.js +1 -0
  385. package/dist/tegel/p-121afb33.entry.js +1 -0
  386. package/dist/tegel/{p-133351b5.entry.js → p-12d791e7.entry.js} +1 -1
  387. package/dist/tegel/{p-79fb0088.entry.js → p-158fd791.entry.js} +1 -1
  388. package/dist/tegel/{p-a00ad341.entry.js → p-15bc881b.entry.js} +1 -1
  389. package/dist/tegel/p-182669b3.entry.js +1 -0
  390. package/dist/tegel/p-1f7bf292.entry.js +1 -0
  391. package/dist/tegel/p-1ff8bbed.entry.js +1 -0
  392. package/dist/tegel/p-2818d320.entry.js +1 -0
  393. package/dist/tegel/{p-f1d58cbf.entry.js → p-2b1c9edf.entry.js} +1 -1
  394. package/dist/tegel/{p-f097adce.entry.js → p-2eaf9959.entry.js} +1 -1
  395. package/dist/tegel/p-2fa10d10.entry.js +1 -0
  396. package/dist/tegel/p-3d11fc11.entry.js +1 -0
  397. package/dist/tegel/{p-26408506.entry.js → p-408ccb20.entry.js} +1 -1
  398. package/dist/tegel/p-44cbb1d0.entry.js +1 -0
  399. package/dist/tegel/{p-08c993f3.entry.js → p-45f611ce.entry.js} +1 -1
  400. package/dist/tegel/p-4df49756.entry.js +1 -0
  401. package/dist/tegel/p-4ff91349.entry.js +1 -0
  402. package/dist/tegel/{p-300af79f.entry.js → p-50593c6d.entry.js} +1 -1
  403. package/dist/tegel/p-5492f7b1.entry.js +1 -0
  404. package/dist/tegel/p-5af70803.entry.js +1 -0
  405. package/dist/tegel/p-5b66a01d.entry.js +1 -0
  406. package/dist/tegel/{p-15ae9443.entry.js → p-60c4deaf.entry.js} +1 -1
  407. package/dist/tegel/p-62e7169c.entry.js +1 -0
  408. package/dist/tegel/p-630d0a10.entry.js +1 -0
  409. package/dist/tegel/p-6410c845.entry.js +1 -0
  410. package/dist/tegel/p-6c3e8059.entry.js +1 -0
  411. package/dist/tegel/{p-4a10393b.entry.js → p-6c61a2f0.entry.js} +1 -1
  412. package/dist/tegel/{p-ab067071.entry.js → p-6e8da39b.entry.js} +1 -1
  413. package/dist/tegel/p-72f04cd1.entry.js +1 -0
  414. package/dist/tegel/p-7492a041.entry.js +1 -0
  415. package/dist/tegel/{p-2766b46f.entry.js → p-7ba5eadf.entry.js} +1 -1
  416. package/dist/tegel/{p-3ba2e575.entry.js → p-826bfbff.entry.js} +1 -1
  417. package/dist/tegel/{p-dc93c6e5.entry.js → p-8354ed21.entry.js} +1 -1
  418. package/dist/tegel/p-873dd581.entry.js +1 -0
  419. package/dist/tegel/p-8817bb70.entry.js +1 -0
  420. package/dist/tegel/p-88761a57.entry.js +1 -0
  421. package/dist/tegel/p-88deac25.entry.js +1 -0
  422. package/dist/tegel/p-8b3e1cd0.entry.js +1 -0
  423. package/dist/tegel/p-8e0402a1.entry.js +1 -0
  424. package/dist/tegel/{p-576a60ff.entry.js → p-8f89e6d1.entry.js} +1 -1
  425. package/dist/tegel/p-92ee76ea.entry.js +1 -0
  426. package/dist/tegel/p-9802c999.entry.js +1 -0
  427. package/dist/tegel/p-9a9ac3b2.entry.js +1 -0
  428. package/dist/tegel/p-9dd59846.entry.js +1 -0
  429. package/dist/tegel/p-9xxNGlso.js +2 -0
  430. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  431. package/dist/tegel/p-CF8bH08v.js +1 -0
  432. package/dist/tegel/p-CLF3diNe.js +1 -0
  433. package/dist/tegel/p-Cn4f8w1e.js +1 -0
  434. package/dist/tegel/p-DDX6uFcm.js +1 -0
  435. package/dist/tegel/p-Q3W78DlP.js +1 -0
  436. package/dist/tegel/p-a10af11f.entry.js +1 -0
  437. package/dist/tegel/{p-27369d6a.entry.js → p-a6415b2c.entry.js} +1 -1
  438. package/dist/tegel/p-a96da238.entry.js +1 -0
  439. package/dist/tegel/{p-106dd3e9.entry.js → p-a9a60c38.entry.js} +1 -1
  440. package/dist/tegel/p-ac5abaa4.entry.js +1 -0
  441. package/dist/tegel/p-ae5bc89a.entry.js +1 -0
  442. package/dist/tegel/p-b881093c.entry.js +1 -0
  443. package/dist/tegel/p-b9096df7.entry.js +1 -0
  444. package/dist/tegel/p-be4b4dfd.entry.js +1 -0
  445. package/dist/tegel/p-bf85e0e7.entry.js +1 -0
  446. package/dist/tegel/p-c1bafa58.entry.js +1 -0
  447. package/dist/tegel/{p-fc26fb72.entry.js → p-c51b97da.entry.js} +1 -1
  448. package/dist/tegel/p-c612b88f.entry.js +1 -0
  449. package/dist/tegel/p-c74d8810.entry.js +1 -0
  450. package/dist/tegel/p-c7a7d0c3.entry.js +1 -0
  451. package/dist/tegel/p-cc133aa7.entry.js +1 -0
  452. package/dist/tegel/p-ce117e66.entry.js +1 -0
  453. package/dist/tegel/p-d477128f.entry.js +1 -0
  454. package/dist/tegel/p-dc425994.entry.js +1 -0
  455. package/dist/tegel/p-de5fa736.entry.js +1 -0
  456. package/dist/tegel/{p-608997fa.entry.js → p-dfa11d82.entry.js} +1 -1
  457. package/dist/tegel/p-dfbbe349.entry.js +1 -0
  458. package/dist/tegel/p-e82bf5c9.entry.js +1 -0
  459. package/dist/tegel/p-e9d550f5.entry.js +1 -0
  460. package/dist/tegel/{p-c66b99a8.entry.js → p-ed40e3b0.entry.js} +1 -1
  461. package/dist/tegel/{p-25c4e6f6.entry.js → p-f019e894.entry.js} +1 -1
  462. package/dist/tegel/{p-4a7c213f.entry.js → p-f0b836d4.entry.js} +1 -1
  463. package/dist/tegel/p-f844ce31.entry.js +1 -0
  464. package/dist/tegel/{p-2faeb483.entry.js → p-f84ce63c.entry.js} +1 -1
  465. package/dist/tegel/p-fc26b649.entry.js +1 -0
  466. package/dist/tegel/p-wEP_nEaO.js +1 -0
  467. package/dist/tegel/tegel.css +2 -2
  468. package/dist/tegel/tegel.esm.js +1 -1
  469. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +1 -1
  470. package/dist/types/components/modal/modal.d.ts +7 -0
  471. package/dist/types/components/side-menu/side-menu.d.ts +1 -0
  472. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  473. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +4 -0
  474. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +12 -0
  475. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -0
  476. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +5 -1
  477. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +2 -2
  478. package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +2 -3
  479. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +2 -2
  480. package/dist/types/components/tag/tag.d.ts +1 -1
  481. package/dist/types/components.d.ts +1314 -154
  482. package/dist/types/stencil-public-runtime.d.ts +196 -8
  483. package/dist/types/types/ScaniaIcons.d.ts +1 -1
  484. package/package.json +9 -4
  485. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  486. package/dist/cjs/index-ca8040ad.js +0 -2039
  487. package/dist/components/p-0f9ce30b.js +0 -37
  488. package/dist/components/p-28ef5186.js +0 -1507
  489. package/dist/components/p-32351d04.js +0 -37
  490. package/dist/components/p-381677ec.js +0 -46
  491. package/dist/components/p-49b20476.js +0 -82
  492. package/dist/components/p-4c0aa33f.js +0 -117
  493. package/dist/components/p-4f672d4f.js +0 -112
  494. package/dist/components/p-542226b2.js +0 -110
  495. package/dist/components/p-5725d7a2.js +0 -113
  496. package/dist/components/p-5bb5f233.js +0 -220
  497. package/dist/components/p-859e3ebf.js +0 -68
  498. package/dist/components/p-871223b7.js +0 -719
  499. package/dist/components/p-a1181b1f.js +0 -16
  500. package/dist/components/p-ae4ca8c3.js +0 -165
  501. package/dist/components/p-d5461a3c.js +0 -59
  502. package/dist/components/p-e0997ae2.js +0 -41
  503. package/dist/components/p-e1622f4a.js +0 -32
  504. package/dist/components/p-e62ed985.js +0 -2100
  505. package/dist/components/p-f086ba26.js +0 -84
  506. package/dist/components/p-f6685f1b.js +0 -93
  507. package/dist/components/p-f8db4031.js +0 -103
  508. package/dist/esm/app-globals-0f993ce5.js +0 -3
  509. package/dist/esm/dfs-1e574d5f.js +0 -27
  510. package/dist/esm/generateUniqueId-7934d315.js +0 -26
  511. package/dist/esm/getAriaInvalid-a9944cb9.js +0 -23
  512. package/dist/esm/hasSlot-d52114d0.js +0 -9
  513. package/dist/esm/index-51d04e39.js +0 -2009
  514. package/dist/esm/inheritAriaAttributes-04f2f252.js +0 -76
  515. package/dist/esm/inheritAttributes-d21e267b.js +0 -25
  516. package/dist/tegel/p-066e9613.entry.js +0 -1
  517. package/dist/tegel/p-0684b6d3.entry.js +0 -1
  518. package/dist/tegel/p-078217d1.entry.js +0 -1
  519. package/dist/tegel/p-07d16763.entry.js +0 -1
  520. package/dist/tegel/p-0e3fcc9f.entry.js +0 -1
  521. package/dist/tegel/p-10340b85.entry.js +0 -1
  522. package/dist/tegel/p-1073fb33.entry.js +0 -1
  523. package/dist/tegel/p-123e6e54.entry.js +0 -1
  524. package/dist/tegel/p-15b9a73b.entry.js +0 -1
  525. package/dist/tegel/p-2049fab2.js +0 -2
  526. package/dist/tegel/p-225c73b6.entry.js +0 -1
  527. package/dist/tegel/p-304f5a5c.entry.js +0 -1
  528. package/dist/tegel/p-38725623.entry.js +0 -1
  529. package/dist/tegel/p-3c348fcb.entry.js +0 -1
  530. package/dist/tegel/p-419212b5.entry.js +0 -1
  531. package/dist/tegel/p-4abe96b6.entry.js +0 -1
  532. package/dist/tegel/p-508a55c0.entry.js +0 -1
  533. package/dist/tegel/p-51118061.entry.js +0 -1
  534. package/dist/tegel/p-57a2d4de.entry.js +0 -1
  535. package/dist/tegel/p-5b80467f.entry.js +0 -1
  536. package/dist/tegel/p-5bab691f.entry.js +0 -1
  537. package/dist/tegel/p-63f77d7c.entry.js +0 -1
  538. package/dist/tegel/p-6bb6425c.entry.js +0 -1
  539. package/dist/tegel/p-739068bf.entry.js +0 -1
  540. package/dist/tegel/p-87219f00.entry.js +0 -1
  541. package/dist/tegel/p-8a4837ae.entry.js +0 -1
  542. package/dist/tegel/p-91af9dc5.entry.js +0 -1
  543. package/dist/tegel/p-947ec2b0.entry.js +0 -1
  544. package/dist/tegel/p-9772750e.entry.js +0 -1
  545. package/dist/tegel/p-9f154997.entry.js +0 -1
  546. package/dist/tegel/p-a15280db.entry.js +0 -1
  547. package/dist/tegel/p-a2aaf61c.entry.js +0 -1
  548. package/dist/tegel/p-aa795666.entry.js +0 -1
  549. package/dist/tegel/p-b7e0917f.entry.js +0 -1
  550. package/dist/tegel/p-bc697ea7.entry.js +0 -1
  551. package/dist/tegel/p-bf40233e.entry.js +0 -1
  552. package/dist/tegel/p-c05f61d6.entry.js +0 -1
  553. package/dist/tegel/p-c163d44f.entry.js +0 -1
  554. package/dist/tegel/p-c2ab817d.entry.js +0 -1
  555. package/dist/tegel/p-c4719b10.entry.js +0 -1
  556. package/dist/tegel/p-c7be09fc.entry.js +0 -1
  557. package/dist/tegel/p-c8fd6b3b.entry.js +0 -1
  558. package/dist/tegel/p-caadaf33.entry.js +0 -1
  559. package/dist/tegel/p-ce6faf0e.entry.js +0 -1
  560. package/dist/tegel/p-d031a7ca.entry.js +0 -1
  561. package/dist/tegel/p-da72f897.entry.js +0 -1
  562. package/dist/tegel/p-ded1191e.entry.js +0 -1
  563. package/dist/tegel/p-e1255160.js +0 -1
  564. package/dist/tegel/p-e2a6c30c.entry.js +0 -1
  565. package/dist/tegel/p-e2db17a5.entry.js +0 -1
  566. package/dist/tegel/p-e40d454d.entry.js +0 -1
  567. package/dist/tegel/p-e53da1e5.entry.js +0 -1
  568. package/dist/tegel/p-e64c36a3.entry.js +0 -1
  569. package/dist/tegel/p-ebf13d81.entry.js +0 -1
  570. package/dist/tegel/p-ede87410.entry.js +0 -1
  571. package/dist/tegel/p-f3cf4eba.entry.js +0 -1
  572. package/loader/package.json +0 -11
  573. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  574. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  575. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  576. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  577. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  578. /package/dist/{tegel/p-3fe9cbbf.js → components/p-CF8bH08v.js} +0 -0
  579. /package/dist/{tegel/p-52bf0fdf.js → components/p-CLF3diNe.js} +0 -0
  580. /package/dist/{tegel/p-11648030.js → components/p-Cn4f8w1e.js} +0 -0
  581. /package/dist/{tegel/p-ae110fc2.js → components/p-DDX6uFcm.js} +0 -0
  582. /package/dist/{tegel/p-bbf9492a.js → components/p-wEP_nEaO.js} +0 -0
  583. /package/dist/{components/p-52bf0fdf.js → esm/dfs-CLF3diNe.js} +0 -0
  584. /package/dist/{components/p-11648030.js → esm/generateUniqueId-Cn4f8w1e.js} +0 -0
  585. /package/dist/{components/p-bbf9492a.js → esm/getAriaInvalid-wEP_nEaO.js} +0 -0
  586. /package/dist/{components/p-ae110fc2.js → esm/hasSlot-DDX6uFcm.js} +0 -0
  587. /package/dist/{components/p-3fe9cbbf.js → esm/inheritAttributes-CF8bH08v.js} +0 -0
@@ -1,26 +1,26 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
3
3
 
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;
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%}}`;
6
5
 
7
6
  const TdsFooter = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
10
- this.copyrightText = `Copyright © ${new Date().getFullYear()} Scania`;
9
+ /** Mode variant of the component, based on current mode. */
11
10
  this.modeVariant = null;
11
+ this.copyrightText = `Copyright © ${new Date().getFullYear()} Scania`;
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: 'cc332e8bb49a94ee80c1cbd73552abb0ce4681df', class: {
18
+ return (h(Host, { key: 'ce224ca7ee246c1d54435c27ef0c7d855f360725', class: {
19
19
  [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
20
- } }, h("footer", { key: '3bd37308da24350daae97ecac9d5cade3d8b6e24' }, usesTopSlot && h("slot", { key: '17bb2a9db6b27aad3405102fa2a2c1c380a5043f', name: "top" }), h("div", { key: '78bd64db7bac22157a18ebb8792075e6e435d3ba', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: '25112b84db722b6f4c1674957506f645f70f1fce', class: "footer-main-top" }, usesStartSlot && h("slot", { key: '4cd0f265f684cf7773e6d799f66e87930d223447', name: "start" }), usesEndSlot && h("slot", { key: '172f7326be9a216271e4815c121777c9d929b532', name: "end" }))), h("div", { key: '441c18a7502f94f8c804e0b9bd594f96c8a1b22a', class: "footer-main-bottom" }, h("small", { key: 'cb62fd7f2e38da47f0adb104d44ff6e83e03ce4b', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: 'ba85b724529e318a7120c15dfbb885831a41b4f8', class: "brand" }, h("p", { key: '5e4ee4c61f4fbdb8371b92e544c29e600b77ffe9' }, "Scania")))))));
20
+ } }, h("footer", { key: '666810f7bc99938b7b72dab2c00795126e88c445' }, usesTopSlot && h("slot", { key: '68d02b7441d8bfa17ec57c1ad313278cd0aa5718', name: "top" }), h("div", { key: '2f158dfd72b6890edc9e443c2bc6d6bb3b550065', class: "footer-main" }, (usesStartSlot || usesEndSlot) && (h("div", { key: '9c4f84e651fda177edfcc7ba10d1607c4e1a7474', class: "footer-main-top" }, usesStartSlot && h("slot", { key: 'a4e8820b818092c511884ccf3f30113d1b48a01f', name: "start" }), usesEndSlot && h("slot", { key: 'dd3981c085fdca380ad0a047884bab93cda813a6', name: "end" }))), h("div", { key: '12d7eaac68e142c4e7a9ecb8badbbd058381f7f9', class: "footer-main-bottom" }, h("small", { key: 'e708f6d879dcda639e355a4dfe3eec04b86d5dd2', class: "copyright" }, usesCopyrightSlot ? h("slot", { name: "copyright" }) : this.copyrightText), h("div", { key: 'd368706b9a68ce2c19e1bc590c46cb800cabaaa9', class: "brand" }, h("p", { key: 'cfdae8ab29c950588dfd3cdb80e174793709e801' }, "Scania")))))));
21
21
  }
22
22
  get host() { return getElement(this); }
23
23
  };
24
- TdsFooter.style = TdsFooterStyle0;
24
+ TdsFooter.style = footerCss();
25
25
 
26
26
  export { TdsFooter as tds_footer };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
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;
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}}`;
5
4
 
6
5
  const TdsHeaderBrandSymbol = class {
7
6
  constructor(hostRef) {
@@ -12,10 +11,10 @@ const TdsHeaderBrandSymbol = class {
12
11
  if (!(aTag === null || aTag === void 0 ? void 0 : aTag.hasAttribute('aria-label'))) {
13
12
  console.warn('Tegel Header Brand Symbol component: missing aria-label attribute for <a> tag inside slot');
14
13
  }
15
- return (h(Host, { key: '2692fca9f014e54adafca2cca8e089456d943240' }, h("tds-header-item", { key: '0e31d7f161e6fd60ce217aacc169040628b3748e' }, h("slot", { key: '7bcfa8a38d0725b5127dc6e13dee2d371749c49f' }))));
14
+ return (h(Host, { key: '259c57ce20798a4f75b4c9a2b8cc191140fdb5f7' }, h("tds-header-item", { key: '60478bb16304348e09ed6bc8364476ef320a1889' }, h("slot", { key: '46143b6985f2b5b4e4f3f1430c7025df22d852dd' }))));
16
15
  }
17
16
  get host() { return getElement(this); }
18
17
  };
19
- TdsHeaderBrandSymbol.style = TdsHeaderBrandSymbolStyle0;
18
+ TdsHeaderBrandSymbol.style = headerBrandSymbolCss();
20
19
 
21
20
  export { TdsHeaderBrandSymbol as tds_header_brand_symbol };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
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;
3
+ const tableHeaderCellCss = () => `:host{display:contents}:host(.tds-table__header-cell) th{box-sizing:border-box;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);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) th *{box-sizing:border-box}:host(.tds-table__header-cell) th .tds-table__header-text{padding:8px 16px;margin:0}:host(.tds-table__header-cell) th .tds-table__header-text-no-padding{padding:0}:host(.tds-table__header-cell) th:hover{background-color:var(--tds-table-header-background-hover)}:host(.tds-table__header-cell--sortable) th .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) th .tds-table__header-button:focus{outline:2px solid var(--tds-table-header-btn-focus);outline-offset:-2px}:host(.tds-table__header-cell--sortable) th .tds-table__header-button:focus .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--sortable) th .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) th .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) th .tds-table__header-button:hover .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button{background-color:var(--tds-table-header-btn-background)}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button:hover{background-color:var(--tds-table-header-btn-background-hover)}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) th .tds-table__header-button .tds-table__header-button-icon--rotate{transform:rotate(180deg)}:host(.tds-table--compact) th{height:33px}:host(.tds-table--divider) th{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type) th{border-right:none}:host(.tds-table--no-min-width) th{min-width:unset}:host(.tds-table--no-padding) th{height:unset}:host(.tds-table__header-cell:first-of-type) th{border-top-left-radius:4px}:host(.tds-table__header-cell:last-of-type) th{border-top-right-radius:4px}:host(.tds-table--extra-column:first-of-type) th{border-top-left-radius:0}:host(.tds-table--toolbar-available) th{border-radius:0}:host(.tds-table--extra-column.tds-table--toolbar-available) th{border-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:first-of-type) th{border-top-left-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:last-of-type) th{border-top-right-radius:0}`;
5
4
 
6
5
  const relevantTableProps = [
7
6
  'multiselect',
@@ -17,6 +16,23 @@ const TdsTableHeaderCell = class {
17
16
  this.internalSortButtonClicked = createEvent(this, "internalSortButtonClicked", 6);
18
17
  this.internalTdsTextAlign = createEvent(this, "internalTdsTextAlign", 6);
19
18
  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.textAlignState = 'left';
28
+ this.sortedByMyKey = false;
29
+ this.verticalDividers = false;
30
+ this.compactDesign = false;
31
+ this.noMinWidth = false;
32
+ this.multiselect = false;
33
+ this.enableToolbarDesign = false;
34
+ this.tableId = '';
35
+ this.expandableRows = false;
20
36
  this.sortButtonClick = () => {
21
37
  if (this.sortingDirection !== 'asc' && this.sortingDirection !== 'desc') {
22
38
  this.sortingDirection = 'asc';
@@ -47,26 +63,9 @@ const TdsTableHeaderCell = class {
47
63
  this.onHeadCellHover = (key) => {
48
64
  this.internalTdsHover.emit({
49
65
  tableId: this.tableId,
50
- key,
66
+ key: key !== null && key !== void 0 ? key : '',
51
67
  });
52
68
  };
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 = 'left';
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;
70
69
  }
71
70
  internalTdsPropChangeListener(event) {
72
71
  if (this.tableId === event.detail.tableId) {
@@ -124,7 +123,7 @@ const TdsTableHeaderCell = class {
124
123
  return 'none';
125
124
  }
126
125
  render() {
127
- return (h(Host, { key: '4df64a3d4a0ef86b377db355cfc149daf9b246b5', class: {
126
+ return (h(Host, { key: '5607f55acda25cb351a509f65f499fce013b1a97', class: {
128
127
  'tds-table__header-cell': true,
129
128
  'tds-table__header-cell--sortable': this.sortable,
130
129
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -135,10 +134,10 @@ const TdsTableHeaderCell = class {
135
134
  'tds-table--extra-column': this.multiselect || this.expandableRows,
136
135
  'tds-table--toolbar-available': this.enableToolbarDesign,
137
136
  'tds-table--no-padding': this.disablePadding,
138
- }, style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover(''), role: "columnheader", "aria-sort": this.getAriaSort() }, this.headerCellContent()));
137
+ } }, h("th", { key: 'bd60c7fa0e964e949394954e92ca8619e51273af', style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onFocus: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover(''), onBlur: () => this.onHeadCellHover(''), "aria-sort": this.getAriaSort(), colSpan: this.colSpan, rowSpan: this.rowSpan }, this.headerCellContent())));
139
138
  }
140
139
  get host() { return getElement(this); }
141
140
  };
142
- TdsTableHeaderCell.style = TdsHeaderCellStyle0;
141
+ TdsTableHeaderCell.style = tableHeaderCellCss();
143
142
 
144
143
  export { TdsTableHeaderCell as tds_header_cell };
@@ -1,22 +1,23 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
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;
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)}`;
5
4
 
6
5
  const TdsHeaderDropdownListItem = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
8
+ /** If the link should appear selected. */
9
9
  this.selected = false;
10
+ /** The size of the component. */
10
11
  this.size = 'md';
11
12
  }
12
13
  render() {
13
- return (h(Host, { key: 'f44417356b72d471bc6b9da6f05a92ee847492fd' }, h("div", { key: '4b3d24be55310e85146c89ac249bc6d100be4c6c', class: {
14
+ return (h(Host, { key: 'ad5209e62e16a30499c70bcb8969ee926652a65f' }, h("div", { key: 'a4460c58216595e6d9c3b02fb0bf87953f4734c5', class: {
14
15
  'component': true,
15
16
  'component-selected': this.selected,
16
- } }, h("slot", { key: '2a37b399064d6f5ca3cc15417f48d60380d6b6dc' }))));
17
+ } }, h("slot", { key: 'b5619891a111e7a79ec334e6fe213f5dc13dc8c3' }))));
17
18
  }
18
19
  get host() { return getElement(this); }
19
20
  };
20
- TdsHeaderDropdownListItem.style = TdsHeaderDropdownListItemStyle0;
21
+ TdsHeaderDropdownListItem.style = headerDropdownListItemCss();
21
22
 
22
23
  export { TdsHeaderDropdownListItem as tds_header_dropdown_list_item };
@@ -1,21 +1,16 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
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;
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)}`;
5
4
 
6
5
  const TdsHeaderDropdownListLgUser = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
9
- this.imgUrl = undefined;
10
- this.imgAlt = undefined;
11
- this.header = undefined;
12
- this.subheader = undefined;
13
8
  }
14
9
  render() {
15
- return (h(Host, { key: 'bdfa5d85ce7d9d75006496af94329a1721628b4f', role: "listitem" }, h("div", { key: '0f757d820aa3e96a1e98f7ae395660ba17e82576', class: "user-box" }, this.imgUrl && h("img", { key: 'c03f2089edefa01b766635e43d81f5b22a58f70d', src: this.imgUrl, alt: this.imgAlt }), h("slot", { key: 'c5eff329fa6100258a2c7d237ec076a139f2b00b', name: "thumbanil" }), h("div", { key: '0c097b9c1488f007ee8cd3e3490f9a3e85fac8f3', class: "user-content" }, h("div", { key: '3f1caac67dcd08d0bf5187ffe49c59ab3873822f', class: "header" }, this.header, h("slot", { key: '59fbd4a5b4d85e15de10b55376b6c54f4b3800c7', name: "header" })), h("div", { key: '82716ea4715e64e3c9d3ad3144b7af2821be5e8b', class: "subheader" }, this.subheader, h("slot", { key: '0574e77cf1d4a1651710811a0216bab7c24a11ed', name: "subheader" }))))));
10
+ return (h(Host, { key: '42d205c092f49240aa78c5004e72bd75a67b92fd', role: "listitem" }, h("div", { key: '42e263bc0ea144a99b8538539d9a205815dca701', class: "user-box" }, this.imgUrl && h("img", { key: 'f63bf88e6b25e9da9d85bdafe51c2587adc083ba', src: this.imgUrl, alt: this.imgAlt }), h("slot", { key: '5e6d8ecc4b0cf51bfa03496cfa585481285fa352', name: "thumbanil" }), h("div", { key: '19ea50db7c19d8720f3cc81672791ecae2cc2aee', class: "user-content" }, h("div", { key: 'df48cd3cd8bfeb5f5a93b0a5ddb6c0a68dee13b2', class: "header" }, this.header, h("slot", { key: '4b6e614f11e0ae204f6f9bbaa5299da4b2fb1230', name: "header" })), h("div", { key: 'eaaf9c29945f0f613776c41b1f0f8dc4fe24b00f', class: "subheader" }, this.subheader, h("slot", { key: 'c158d7a7523ee4b9027cdffbdb752a09d687bb98', name: "subheader" }))))));
16
11
  }
17
12
  get host() { return getElement(this); }
18
13
  };
19
- TdsHeaderDropdownListLgUser.style = TdsHeaderDropdownListUserStyle0;
14
+ TdsHeaderDropdownListLgUser.style = headerDropdownListUserCss();
20
15
 
21
16
  export { TdsHeaderDropdownListLgUser as tds_header_dropdown_list_user };
@@ -1,17 +1,16 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
3
+ import './dfs-CLF3diNe.js';
4
4
 
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;
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}`;
7
6
 
8
7
  const TdsHeaderDropdownList = class {
9
8
  constructor(hostRef) {
10
9
  registerInstance(this, hostRef);
11
10
  // A Map to store the slots and their associated slotchange listeners.
12
11
  this.slotListeners = new Map();
12
+ /** The size of the component. */
13
13
  this.size = 'md';
14
- this.headingElement = undefined;
15
14
  }
16
15
  componentWillLoad() {
17
16
  var _a, _b;
@@ -76,10 +75,10 @@ const TdsHeaderDropdownList = class {
76
75
  'role': 'list',
77
76
  'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
78
77
  };
79
- return (h(Host, Object.assign({ key: '190c5b3ef5273bb4ddb4bfe7d41aa21051eced80' }, attributes), h("slot", { key: 'cb7346a42c64bfe414b1814acab5923583f543b4' })));
78
+ return (h(Host, Object.assign({ key: '53d5216a736e4c3d50d54f78c8b6532092c94dff' }, attributes), h("slot", { key: 'a3a4b97fe7bbe64a5afadd1cef78c9cc70ad0f55' })));
80
79
  }
81
80
  get host() { return getElement(this); }
82
81
  };
83
- TdsHeaderDropdownList.style = TdsHeaderDropdownListStyle0;
82
+ TdsHeaderDropdownList.style = headerDropdownListCss();
84
83
 
85
84
  export { TdsHeaderDropdownList as tds_header_dropdown_list };
@@ -1,12 +1,16 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
4
- const headerDropdownCss = ":host,:root{--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-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;
4
+ const headerDropdownCss = () => `:host,:root{--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-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}`;
6
5
 
7
6
  const TdsHeaderDropdown = class {
8
7
  constructor(hostRef) {
9
8
  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;
10
14
  this.uuid = generateUniqueId();
11
15
  this.handleSlottedItemClick = (event) => {
12
16
  const eventSource = event.target.tagName.toLowerCase();
@@ -14,12 +18,6 @@ const TdsHeaderDropdown = class {
14
18
  this.open = false;
15
19
  }
16
20
  };
17
- this.label = undefined;
18
- this.noDropdownIcon = false;
19
- this.selected = false;
20
- this.tdsAriaLabel = undefined;
21
- this.open = false;
22
- this.buttonEl = undefined;
23
21
  }
24
22
  onAnyClick(event) {
25
23
  // Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
@@ -49,13 +47,13 @@ const TdsHeaderDropdown = class {
49
47
  }
50
48
  }
51
49
  render() {
52
- return (h(Host, { key: '5ea7f4d3d53fd8d4148bcf1bc0f7444a6b7469f8' }, h("div", { key: 'e972495e46f96576fb28bba38f9bca68fd6d901e', class: {
50
+ return (h(Host, { key: '8ee8ab6cb72cce6aaaf6e360e6e8ba13435cd163' }, h("div", { key: '6d1ab649962e2636451fb14d77a52f6046729402', class: {
53
51
  'state-open': this.open,
54
- } }, h("tds-header-item", { key: 'f45bd2e8c6f2b1258e415cc111691dd282cdb3f9', class: "button", active: this.open, selected: this.selected }, h("button", { key: 'f1bce15e1258647503e4a24f6cf7d7f5eb641cdd', ref: (el) => {
52
+ } }, h("tds-header-item", { key: '8e8172a694d3469b6dd6fbac685ab7d78ae36794', class: "button", active: this.open, selected: this.selected }, h("button", { key: '53d7fe83d252f206cccbbb6676d0ee1fe3a796b1', ref: (el) => {
55
53
  this.buttonEl = el;
56
54
  }, "aria-expanded": `${this.open}`, "aria-controls": `launcher-${this.uuid}`, "aria-current": this.selected ? 'location' : 'false', onClick: () => {
57
55
  this.toggleDropdown();
58
- }, "aria-label": this.tdsAriaLabel }, h("slot", { key: '2b392ba923ee98e3c2bd5c86ae8cbb3eb78bf182', name: "icon" }), this.label, h("slot", { key: '0fc721ebf454e77770b7aeca79296f5a65d6031e', name: "label" }), !this.noDropdownIcon && (h("tds-icon", { key: 'd8fa1bda5368e8694f429f5724d06fb5de010a50', class: "dropdown-icon", name: "chevron_down", size: "16px", svgTitle: "Dropdown icon" })))), this.buttonEl && (h("tds-popover-canvas", { key: '894eb3d523ddb8f8a9b6e0dc248730bb13173c88', id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
56
+ }, "aria-label": this.tdsAriaLabel }, h("slot", { key: 'd01b607d64f798b69d0ad9b6776ab7e7b9e9b7aa', name: "icon" }), this.label, h("slot", { key: '353fd19c103f91d7ec328bb99626c65670e58a6e', name: "label" }), !this.noDropdownIcon && (h("tds-icon", { key: 'd0d8dd4d6edb1ef403b0f4489158160a62128b05', class: "dropdown-icon", name: "chevron_down", size: "16px", svgTitle: "Dropdown icon" })))), this.buttonEl && (h("tds-popover-canvas", { key: '9e38d42b342b9499f6cde00ad3e1649e7f63b1b3', id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
59
57
  {
60
58
  name: 'flip',
61
59
  options: {
@@ -66,6 +64,6 @@ const TdsHeaderDropdown = class {
66
64
  }
67
65
  get host() { return getElement(this); }
68
66
  };
69
- TdsHeaderDropdown.style = TdsHeaderDropdownStyle0;
67
+ TdsHeaderDropdown.style = headerDropdownCss();
70
68
 
71
69
  export { TdsHeaderDropdown as tds_header_dropdown };
@@ -1,21 +1,19 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
3
+ import './inheritAttributes-CF8bH08v.js';
4
4
 
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;
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}}`;
7
6
 
8
7
  const TdsHeaderHamburger = class {
9
8
  constructor(hostRef) {
10
9
  registerInstance(this, hostRef);
11
- this.tdsAriaLabel = undefined;
12
10
  }
13
11
  render() {
14
12
  const inheritedButtonProps = Object.assign({}, inheritAriaAttributes(this.host));
15
- return (h(Host, { key: 'e5d7142a6d589d1b936ae4dc8376be0e03190271' }, h("tds-header-item", { key: '0945e350bb89ba977327c92917af457003c48fb9' }, h("button", Object.assign({ key: 'ade6457641c2e789dc631dad8df7491c5da53a93' }, inheritedButtonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: 'b900d3c953cff83c99be40b3785a650aa984ee6a', class: "icon", name: "burger", size: "20px" })))));
13
+ return (h(Host, { key: 'fe2a26ffc234bc56fecdac71f7a25c71a723b4da' }, h("tds-header-item", { key: '3b031d8b4ea422fcba2ad615a0ad0d985bc21825' }, h("button", Object.assign({ key: '047269f67b9b756ea64e2669d043043ac89192c9' }, inheritedButtonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '68fb5a7d1b94ddc0a6a4132ce40c1ba031f87e74', class: "icon", name: "burger", size: "20px" })))));
16
14
  }
17
15
  get host() { return getElement(this); }
18
16
  };
19
- TdsHeaderHamburger.style = TdsHeaderHamburgerStyle0;
17
+ TdsHeaderHamburger.style = headerHamburgerCss();
20
18
 
21
19
  export { TdsHeaderHamburger as tds_header_hamburger };
@@ -1,23 +1,23 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
3
+ import './inheritAttributes-CF8bH08v.js';
4
4
 
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;
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}`;
7
6
 
8
7
  const TdsHeaderLauncherButton = class {
9
8
  constructor(hostRef) {
10
9
  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. */
11
12
  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));
16
16
  const buttonProps = Object.assign({}, this.ariaAttributes);
17
- return (h(Host, { key: '72018ce054eb1c8c0d743887693ae0eb5a5fceae' }, h("tds-header-item", { key: '575f5f39bc75aaae01e3d62149228c63d389cbca', active: this.active }, h("button", Object.assign({ key: '9c0d368a1f63260950e93f72c022b4d030f20587' }, buttonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: 'e8ee6fc3fcf23cebc14fb084517abaf68c71a495', class: "icon", name: "bento", size: "20px", "svg-title": this.tdsAriaLabel })))));
17
+ return (h(Host, { key: 'b5202e76ff89f0fc53915a5bf9567228354b0950' }, h("tds-header-item", { key: 'ef65e43a519a4d8912ac232aa948e77e9df6b7d7', active: this.active }, h("button", Object.assign({ key: '0d10e4a1b8bf57ad3c84d409b0af75db4841ac54' }, buttonProps, { "aria-label": this.tdsAriaLabel }), h("tds-icon", { key: '777a641a976cdd367e095b119591db5fb7913b86', class: "icon", name: "bento", size: "20px", "svg-title": this.tdsAriaLabel })))));
18
18
  }
19
19
  get host() { return getElement(this); }
20
20
  };
21
- TdsHeaderLauncherButton.style = TdsHeaderLauncherButtonStyle0;
21
+ TdsHeaderLauncherButton.style = headerLauncherButtonCss();
22
22
 
23
23
  export { TdsHeaderLauncherButton as tds_header_launcher_button };
@@ -1,16 +1,15 @@
1
- import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host } from './index-9xxNGlso.js';
2
2
 
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;
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}`;
5
4
 
6
5
  const TdsHeaderLauncherGridItem = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
9
8
  }
10
9
  render() {
11
- return (h(Host, { key: '1506d0cda6ddcdd025ea7febf24e34c8e0d5b479', role: "listitem" }, h("slot", { key: 'f6ae96ad0c953297fddf43cfcee6d688a93846f5' })));
10
+ return (h(Host, { key: 'cd5e9cdae7533611bc6982c4939fc885d73a3075', role: "listitem" }, h("slot", { key: '147c30066e884b65839212aa747f1818425b3fae' })));
12
11
  }
13
12
  };
14
- TdsHeaderLauncherGridItem.style = TdsHeaderLauncherGridItemStyle0;
13
+ TdsHeaderLauncherGridItem.style = headerLauncherGridItemCss();
15
14
 
16
15
  export { TdsHeaderLauncherGridItem as tds_header_launcher_grid_item };
@@ -1,8 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, h, H as Host } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
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;
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}`;
6
5
 
7
6
  const TdsHeaderLauncherGridTitle = class {
8
7
  constructor(hostRef) {
@@ -10,9 +9,9 @@ const TdsHeaderLauncherGridTitle = class {
10
9
  this.uuid = generateUniqueId();
11
10
  }
12
11
  render() {
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' }))));
12
+ return (h(Host, { key: '8bcbe93ef2338d3d38f5153897395f8e03454827' }, h("h3", { key: '5f621197309b0e0e82bae4e141b5465a06d6cced', class: "tds-header-launcher-grid-title", id: `tds-header-launcher-grid-title-${this.uuid}` }, h("slot", { key: '87f9febb3b6e6929a7fd8d3f53299b5c4f855f5a' }))));
14
13
  }
15
14
  };
16
- TdsHeaderLauncherGridTitle.style = TdsHeaderLauncherGridTitleStyle0;
15
+ TdsHeaderLauncherGridTitle.style = headerLauncherGridTitleCss();
17
16
 
18
17
  export { TdsHeaderLauncherGridTitle as tds_header_launcher_grid_title };
@@ -1,14 +1,12 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-BQco7VNg.js';
3
+ import './dfs-CLF3diNe.js';
4
4
 
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;
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}`;
7
6
 
8
7
  const TdsHeaderLauncherGrid = class {
9
8
  constructor(hostRef) {
10
9
  registerInstance(this, hostRef);
11
- this.headingElement = undefined;
12
10
  }
13
11
  componentWillLoad() {
14
12
  const listRoot = this.host;
@@ -30,10 +28,10 @@ const TdsHeaderLauncherGrid = class {
30
28
  'role': 'list',
31
29
  'aria-labelledby': (_a = this.headingElement) === null || _a === void 0 ? void 0 : _a.id,
32
30
  };
33
- return (h(Host, { key: 'a3c700222b0cfba847962708fcab2e8876b459f6' }, h("div", Object.assign({ key: '6e4b346fd7bb132a60386a5711381d7936df05a4' }, listAttributes), h("slot", { key: 'c24b1b6e7eecccea3032c2b491ce3cf83a6f821b' }))));
31
+ return (h(Host, { key: 'af47d49260513c962001e45d8aacf108e40f073c' }, h("div", Object.assign({ key: '8679b9f047e09dea015797c1806a96289218245a' }, listAttributes), h("slot", { key: '697321e6e50e81f680cc8d3e2afa6833bffe6530' }))));
34
32
  }
35
33
  get host() { return getElement(this); }
36
34
  };
37
- TdsHeaderLauncherGrid.style = TdsHeaderLauncherGridStyle0;
35
+ TdsHeaderLauncherGrid.style = headerLauncherGridCss();
38
36
 
39
37
  export { TdsHeaderLauncherGrid as tds_header_launcher_grid };
@@ -1,16 +1,15 @@
1
- import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host } from './index-9xxNGlso.js';
2
2
 
3
- const headerLauncherListItemCss = ":host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}";
4
- const TdsHeaderLauncherListItemStyle0 = headerLauncherListItemCss;
3
+ const headerLauncherListItemCss = () => `:host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}`;
5
4
 
6
5
  const TdsHeaderLauncherListItem = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
9
8
  }
10
9
  render() {
11
- return (h(Host, { key: 'bcc63c58186216485acf6e6e0f896158e92cd29e' }, h("tds-header-dropdown-list-item", { key: 'e4b963bf20b97aa19f8f6dbd4d4a6face04220db', size: "lg" }, h("slot", { key: '03445a4fe12c6f5a283b6d2635d657bbfd103263' }))));
10
+ return (h(Host, { key: '26e0abc8a58c0172ce418740674c9c2549023c2b' }, h("tds-header-dropdown-list-item", { key: '879647cff5e9c60551fb45a4a84397e94ded716c', size: "lg" }, h("slot", { key: '4c3c2e8b7091e3922a5d283f8c2b86963bf183aa' }))));
12
11
  }
13
12
  };
14
- TdsHeaderLauncherListItem.style = TdsHeaderLauncherListItemStyle0;
13
+ TdsHeaderLauncherListItem.style = headerLauncherListItemCss();
15
14
 
16
15
  export { TdsHeaderLauncherListItem as tds_header_launcher_list_item };
@@ -1,8 +1,7 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
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;
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}`;
6
5
 
7
6
  const TdsHeaderLauncherListTitle = class {
8
7
  constructor(hostRef) {
@@ -10,10 +9,10 @@ const TdsHeaderLauncherListTitle = class {
10
9
  this.uuid = generateUniqueId();
11
10
  }
12
11
  render() {
13
- return (h(Host, { key: '323d920d37834907f77c0d00aca6172caa90b6d8' }, h("h3", { key: '49c919cceae79d9d1c0157a603e181d56dd15205', class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", { key: 'a1aa000de6a642dd68e2212a0e16728d5bb55a1f' }))));
12
+ return (h(Host, { key: '1db41bbb932fc09f6370b89ce40c6f6b296d69fd' }, h("h3", { key: 'b5175995d25a9031323d4694224fbeb30969ffec', class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", { key: '672a7c395f3d7e8e6eb51b05b088af825394f421' }))));
14
13
  }
15
14
  get host() { return getElement(this); }
16
15
  };
17
- TdsHeaderLauncherListTitle.style = TdsHeaderLauncherListTitleStyle0;
16
+ TdsHeaderLauncherListTitle.style = headerLauncherListTitleCss();
18
17
 
19
18
  export { TdsHeaderLauncherListTitle as tds_header_launcher_list_title };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, h, H as Host } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
4
4
  const TdsHeaderLauncherList = class {
5
5
  constructor(hostRef) {
@@ -7,7 +7,7 @@ const TdsHeaderLauncherList = class {
7
7
  this.uuid = generateUniqueId();
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'ceedbada9d5a96ecdb5306b0e55f939ba69c78d8' }, h("tds-header-dropdown-list", { key: 'a1ffa08021a4ac0d3aad0401330b6d82ad4e20f9', size: "lg" }, h("slot", { key: 'e0808a6e71a6bb26e8b56005c9552fde5af9296b' }))));
10
+ return (h(Host, { key: '00ca1cea2fa5a3239e7f24de93e0890fbb1eab07' }, h("tds-header-dropdown-list", { key: '614f2eacdad946baa6fb16ef8f545993022e0cec', size: "lg" }, h("slot", { key: 'c99913a72f4e8a7d8be6e41aca9769d9236d49d5' }))));
11
11
  }
12
12
  };
13
13
 
@@ -1,19 +1,16 @@
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';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
+ import { i as inheritAriaAttributes } from './inheritAriaAttributes-DyLhgCIg.js';
4
+ import './inheritAttributes-CF8bH08v.js';
5
5
 
6
- const headerLauncherCss = ":host,:root{--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-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;
6
+ const headerLauncherCss = () => `:host,:root{--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-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}`;
8
7
 
9
8
  const TdsHeaderLauncher = class {
10
9
  constructor(hostRef) {
11
10
  registerInstance(this, hostRef);
12
- this.uuid = generateUniqueId();
13
11
  this.open = false;
14
- this.buttonEl = undefined;
15
12
  this.hasListTypeMenu = false;
16
- this.tdsAriaLabel = undefined;
13
+ this.uuid = generateUniqueId();
17
14
  }
18
15
  onAnyClick(event) {
19
16
  // Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
@@ -55,11 +52,11 @@ const TdsHeaderLauncher = class {
55
52
  }, 'ref': (el) => {
56
53
  this.buttonEl = el;
57
54
  } });
58
- return (h(Host, { key: '18e438bd8281ca3d6ca2b410c5b0ed60caf554aa' }, h("div", { key: '6033d6a10546a8b79b0bcab3f59ef14138263e9f', class: {
55
+ return (h(Host, { key: '088d5c4213d9b95b275821f1395361f317cd5ccb' }, h("div", { key: 'b8895540f29ca8eb9e3e9aec78d7fa5f8acc4494', class: {
59
56
  'wrapper': true,
60
57
  'state-open': this.open,
61
58
  'state-list-type-menu': this.hasListTypeMenu,
62
- } }, h("tds-header-launcher-button", Object.assign({ key: 'de44af111fdbabc37a8330194f40465ab3301089' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: 'a39f8dbb2e6cf648bc16e896f01df6c308472fc3', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
59
+ } }, h("tds-header-launcher-button", Object.assign({ key: '5f4598b7079c9a31167287f32e1a411e76e20afb' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: 'acce35a0208653a1a53a75076e8f3a7dbf19b73c', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
63
60
  {
64
61
  name: 'flip',
65
62
  options: {
@@ -70,6 +67,6 @@ const TdsHeaderLauncher = class {
70
67
  }
71
68
  get host() { return getElement(this); }
72
69
  };
73
- TdsHeaderLauncher.style = TdsHeaderLauncherStyle0;
70
+ TdsHeaderLauncher.style = headerLauncherCss();
74
71
 
75
72
  export { TdsHeaderLauncher as tds_header_launcher };