@scania/tegel 1.40.0 → 1.41.0-build-error-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (523) hide show
  1. package/dist/cjs/index-CV1oQGxw.js +2379 -0
  2. package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
  3. package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +3 -6
  5. package/dist/cjs/tds-accordion-item.cjs.entry.js +9 -6
  6. package/dist/cjs/tds-accordion.cjs.entry.js +4 -5
  7. package/dist/cjs/tds-badge.cjs.entry.js +6 -5
  8. package/dist/cjs/tds-banner.cjs.entry.js +18 -14
  9. package/dist/cjs/tds-block.cjs.entry.js +4 -5
  10. package/dist/cjs/tds-body-cell.cjs.entry.js +3 -9
  11. package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
  12. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
  13. package/dist/cjs/tds-button_2.cjs.entry.js +13 -12
  14. package/dist/cjs/tds-card.cjs.entry.js +28 -19
  15. package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
  16. package/dist/cjs/tds-chip.cjs.entry.js +18 -15
  17. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +7 -8
  18. package/dist/cjs/tds-datetime.cjs.entry.js +27 -23
  19. package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -58
  20. package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
  21. package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
  22. package/dist/cjs/tds-footer-group.cjs.entry.js +6 -11
  23. package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
  24. package/dist/cjs/tds-footer.cjs.entry.js +5 -7
  25. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +2 -5
  26. package/dist/cjs/tds-header-cell.cjs.entry.js +18 -22
  27. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +4 -5
  28. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +2 -9
  29. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +5 -8
  30. package/dist/cjs/tds-header-dropdown.cjs.entry.js +8 -12
  31. package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -8
  32. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +6 -8
  33. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +2 -5
  34. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -6
  35. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -8
  36. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +2 -5
  37. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -6
  38. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
  39. package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -13
  40. package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
  41. package/dist/cjs/tds-header.cjs.entry.js +4 -7
  42. package/dist/cjs/tds-icon.cjs.entry.js +10 -12
  43. package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
  44. package/dist/cjs/tds-inline-tabs.cjs.entry.js +16 -15
  45. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  46. package/dist/cjs/tds-message.cjs.entry.js +14 -14
  47. package/dist/cjs/tds-modal.cjs.entry.js +19 -19
  48. package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
  49. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
  50. package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
  51. package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
  52. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -5
  53. package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
  54. package/dist/cjs/tds-radio-button.cjs.entry.js +11 -14
  55. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -7
  56. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +3 -6
  57. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -5
  58. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -5
  59. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -7
  60. package/dist/cjs/tds-side-menu-item.cjs.entry.js +6 -6
  61. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +2 -5
  62. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +3 -11
  63. package/dist/cjs/tds-side-menu-user.cjs.entry.js +2 -9
  64. package/dist/cjs/tds-side-menu.cjs.entry.js +15 -12
  65. package/dist/cjs/tds-slider.cjs.entry.js +39 -24
  66. package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
  67. package/dist/cjs/tds-step.cjs.entry.js +3 -11
  68. package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
  69. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
  70. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +11 -7
  71. package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -5
  72. package/dist/cjs/tds-table-body.cjs.entry.js +7 -11
  73. package/dist/cjs/tds-table-footer.cjs.entry.js +21 -17
  74. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +3 -5
  75. package/dist/cjs/tds-table-header.cjs.entry.js +5 -6
  76. package/dist/cjs/tds-table-toolbar.cjs.entry.js +5 -5
  77. package/dist/cjs/tds-table.cjs.entry.js +21 -7
  78. package/dist/cjs/tds-tag.cjs.entry.js +5 -7
  79. package/dist/cjs/tds-text-field.cjs.entry.js +22 -13
  80. package/dist/cjs/tds-textarea.cjs.entry.js +16 -13
  81. package/dist/cjs/tds-toast.cjs.entry.js +16 -16
  82. package/dist/cjs/tds-toggle.cjs.entry.js +13 -14
  83. package/dist/cjs/tds-tooltip.cjs.entry.js +23 -25
  84. package/dist/cjs/tegel.cjs.js +7 -8
  85. package/dist/collection/collection-manifest.json +2 -2
  86. package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
  87. package/dist/collection/components/accordion/accordion.js +8 -2
  88. package/dist/collection/components/badge/badge.js +16 -4
  89. package/dist/collection/components/banner/banner.js +39 -18
  90. package/dist/collection/components/block/block.js +8 -2
  91. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
  92. package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
  93. package/dist/collection/components/button/button.js +44 -19
  94. package/dist/collection/components/card/card.js +64 -28
  95. package/dist/collection/components/checkbox/checkbox.js +41 -22
  96. package/dist/collection/components/chip/chip.js +41 -19
  97. package/dist/collection/components/datetime/datetime.js +76 -37
  98. package/dist/collection/components/divider/divider.js +8 -2
  99. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +34 -21
  100. package/dist/collection/components/dropdown/dropdown.css +3 -1
  101. package/dist/collection/components/dropdown/dropdown.js +113 -55
  102. package/dist/collection/components/footer/footer-group/footer-group.css +1 -4
  103. package/dist/collection/components/footer/footer-group/footer-group.js +10 -8
  104. package/dist/collection/components/footer/footer-item/footer-item.css +3 -3
  105. package/dist/collection/components/footer/footer.js +5 -2
  106. package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -12
  107. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +4 -2
  108. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
  109. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
  110. package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
  111. package/dist/collection/components/header/header-item/header-item.js +9 -2
  112. package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
  113. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
  114. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
  115. package/dist/collection/components/header/header-title/header-title.css +2 -0
  116. package/dist/collection/components/icon/icon.js +26 -15
  117. package/dist/collection/components/link/link.js +12 -3
  118. package/dist/collection/components/message/message.css +2 -1
  119. package/dist/collection/components/message/message.js +33 -16
  120. package/dist/collection/components/modal/modal.css +54 -10
  121. package/dist/collection/components/modal/modal.js +44 -23
  122. package/dist/collection/components/popover-canvas/popover-canvas.js +49 -18
  123. package/dist/collection/components/popover-core/popover-core.js +68 -42
  124. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
  125. package/dist/collection/components/popover-menu/popover-menu.js +46 -18
  126. package/dist/collection/components/radio-button/radio-button.js +36 -20
  127. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
  128. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +16 -7
  129. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +4 -1
  130. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -2
  131. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
  132. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  133. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  134. package/dist/collection/components/side-menu/side-menu.js +22 -10
  135. package/dist/collection/components/slider/slider.js +90 -36
  136. package/dist/collection/components/spinner/spinner.js +8 -2
  137. package/dist/collection/components/stepper/step/step.js +12 -11
  138. package/dist/collection/components/stepper/stepper.js +28 -6
  139. package/dist/collection/components/table/table/table.js +49 -12
  140. package/dist/collection/components/table/table-body/table-body.js +5 -6
  141. package/dist/collection/components/table/table-body-cell/table-body-cell.js +16 -11
  142. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
  143. package/dist/collection/components/table/table-body-row/table-body-row.js +12 -3
  144. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +27 -8
  145. package/dist/collection/components/table/table-footer/table-footer.js +36 -17
  146. package/dist/collection/components/table/table-header/table-header.js +16 -6
  147. package/dist/collection/components/table/table-header-cell/table-header-cell.js +40 -27
  148. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +7 -2
  149. package/dist/collection/components/table/table-toolbar/table-toolbar.js +12 -3
  150. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
  151. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
  152. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
  153. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
  154. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
  155. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
  156. package/dist/collection/components/tag/tag.js +12 -5
  157. package/dist/collection/components/text-field/text-field.js +85 -31
  158. package/dist/collection/components/textarea/textarea.js +68 -28
  159. package/dist/collection/components/toast/toast.js +42 -21
  160. package/dist/collection/components/toggle/toggle.js +37 -19
  161. package/dist/collection/components/tooltip/tooltip.js +55 -32
  162. package/dist/collection/utils/dom.js +7 -0
  163. package/dist/components/index.js +1790 -1
  164. package/dist/components/{p-63552d0e.js → p-1YnjaUCy.js} +25 -15
  165. package/dist/components/{p-3308d5fa.js → p-8koCGAVT.js} +45 -37
  166. package/dist/components/{p-7c3348eb.js → p-BHBgkUfr.js} +12 -8
  167. package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
  168. package/dist/components/{p-2a2d66fe.js → p-BhQM9_yR.js} +49 -43
  169. package/dist/components/{p-1dafdc8c.js → p-BxmFjTxG.js} +11 -7
  170. package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
  171. package/dist/components/{p-f7d94947.js → p-CPDv0bBc.js} +15 -13
  172. package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
  173. package/dist/components/{p-c62b61fe.js → p-ChCWm6If.js} +15 -11
  174. package/dist/components/{p-3a7e4d0d.js → p-ChGLhiqn.js} +30 -17
  175. package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
  176. package/dist/components/{p-d10d21bd.js → p-D1ati-pM.js} +13 -11
  177. package/dist/components/{p-04a014cf.js → p-DZDx1Si2.js} +29 -27
  178. package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
  179. package/dist/components/{p-6ef207b2.js → p-Ee9QeMgy.js} +40 -25
  180. package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
  181. package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
  182. package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  183. package/dist/components/{p-9336db16.js → p-QnvG_QPu.js} +9 -8
  184. package/dist/components/tds-accordion-item.js +15 -8
  185. package/dist/components/tds-accordion.js +9 -6
  186. package/dist/components/tds-badge.js +11 -6
  187. package/dist/components/tds-banner.js +24 -16
  188. package/dist/components/tds-block.js +9 -6
  189. package/dist/components/tds-body-cell.js +8 -10
  190. package/dist/components/tds-breadcrumb.js +8 -6
  191. package/dist/components/tds-breadcrumbs.js +7 -7
  192. package/dist/components/tds-button.js +1 -1
  193. package/dist/components/tds-card.js +36 -23
  194. package/dist/components/tds-checkbox.js +1 -1
  195. package/dist/components/tds-chip.js +23 -16
  196. package/dist/components/tds-core-header-item.js +1 -1
  197. package/dist/components/tds-datetime.js +33 -25
  198. package/dist/components/tds-divider.js +1 -1
  199. package/dist/components/tds-dropdown-option.js +1 -1
  200. package/dist/components/tds-dropdown.js +1 -1
  201. package/dist/components/tds-folder-tab.js +8 -7
  202. package/dist/components/tds-folder-tabs.js +21 -17
  203. package/dist/components/tds-footer-group.js +12 -13
  204. package/dist/components/tds-footer-item.js +8 -7
  205. package/dist/components/tds-footer.js +10 -8
  206. package/dist/components/tds-header-brand-symbol.js +9 -8
  207. package/dist/components/tds-header-cell.js +24 -24
  208. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  209. package/dist/components/tds-header-dropdown-list-user.js +7 -10
  210. package/dist/components/tds-header-dropdown-list.js +1 -1
  211. package/dist/components/tds-header-dropdown.js +18 -18
  212. package/dist/components/tds-header-hamburger.js +11 -11
  213. package/dist/components/tds-header-item.js +1 -1
  214. package/dist/components/tds-header-launcher-button.js +1 -1
  215. package/dist/components/tds-header-launcher-grid-item.js +7 -6
  216. package/dist/components/tds-header-launcher-grid-title.js +8 -7
  217. package/dist/components/tds-header-launcher-grid.js +8 -8
  218. package/dist/components/tds-header-launcher-list-item.js +8 -7
  219. package/dist/components/tds-header-launcher-list-title.js +8 -7
  220. package/dist/components/tds-header-launcher-list.js +8 -6
  221. package/dist/components/tds-header-launcher.js +18 -19
  222. package/dist/components/tds-header-title.js +8 -7
  223. package/dist/components/tds-header.js +8 -7
  224. package/dist/components/tds-icon.js +1 -1
  225. package/dist/components/tds-inline-tab.js +8 -6
  226. package/dist/components/tds-inline-tabs.js +22 -17
  227. package/dist/components/tds-link.js +10 -6
  228. package/dist/components/tds-message.js +20 -16
  229. package/dist/components/tds-modal.js +25 -21
  230. package/dist/components/tds-navigation-tab.js +8 -6
  231. package/dist/components/tds-navigation-tabs.js +24 -19
  232. package/dist/components/tds-popover-canvas.js +1 -1
  233. package/dist/components/tds-popover-core.js +1 -1
  234. package/dist/components/tds-popover-menu-item.js +8 -6
  235. package/dist/components/tds-popover-menu.js +24 -15
  236. package/dist/components/tds-radio-button.js +16 -15
  237. package/dist/components/tds-side-menu-close-button.js +9 -8
  238. package/dist/components/tds-side-menu-collapse-button.js +9 -8
  239. package/dist/components/tds-side-menu-dropdown-list-item.js +8 -6
  240. package/dist/components/tds-side-menu-dropdown-list.js +7 -6
  241. package/dist/components/tds-side-menu-dropdown.js +12 -10
  242. package/dist/components/tds-side-menu-item.js +1 -1
  243. package/dist/components/tds-side-menu-overlay.js +7 -6
  244. package/dist/components/tds-side-menu-user-image.js +1 -1
  245. package/dist/components/tds-side-menu-user-label.js +1 -1
  246. package/dist/components/tds-side-menu-user.js +9 -12
  247. package/dist/components/tds-side-menu.js +20 -13
  248. package/dist/components/tds-slider.js +48 -29
  249. package/dist/components/tds-spinner.js +9 -6
  250. package/dist/components/tds-step.js +9 -13
  251. package/dist/components/tds-stepper.js +18 -7
  252. package/dist/components/tds-table-body-input-wrapper.js +10 -8
  253. package/dist/components/tds-table-body-row-expandable.js +16 -8
  254. package/dist/components/tds-table-body-row.js +11 -7
  255. package/dist/components/tds-table-body.js +12 -12
  256. package/dist/components/tds-table-footer.js +30 -22
  257. package/dist/components/tds-table-header-input-wrapper.js +9 -7
  258. package/dist/components/tds-table-header.js +11 -8
  259. package/dist/components/tds-table-toolbar.js +11 -7
  260. package/dist/components/tds-table.js +26 -8
  261. package/dist/components/tds-tag.js +10 -8
  262. package/dist/components/tds-text-field.js +1 -1
  263. package/dist/components/tds-textarea.js +24 -17
  264. package/dist/components/tds-toast.js +22 -18
  265. package/dist/components/tds-toggle.js +18 -15
  266. package/dist/components/tds-tooltip.js +1 -1
  267. package/dist/esm/index-HrL7WedA.js +2350 -0
  268. package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
  269. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  270. package/dist/esm/loader.js +3 -4
  271. package/dist/esm/tds-accordion-item.entry.js +9 -4
  272. package/dist/esm/tds-accordion.entry.js +4 -3
  273. package/dist/esm/tds-badge.entry.js +6 -3
  274. package/dist/esm/tds-banner.entry.js +18 -12
  275. package/dist/esm/tds-block.entry.js +4 -3
  276. package/dist/esm/tds-body-cell.entry.js +3 -7
  277. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  278. package/dist/esm/tds-breadcrumbs.entry.js +2 -4
  279. package/dist/esm/tds-button_2.entry.js +13 -10
  280. package/dist/esm/tds-card.entry.js +28 -17
  281. package/dist/esm/tds-checkbox.entry.js +13 -13
  282. package/dist/esm/tds-chip.entry.js +18 -13
  283. package/dist/esm/tds-core-header-item_2.entry.js +7 -6
  284. package/dist/esm/tds-datetime.entry.js +27 -21
  285. package/dist/esm/tds-dropdown_2.entry.js +73 -56
  286. package/dist/esm/tds-folder-tab.entry.js +3 -4
  287. package/dist/esm/tds-folder-tabs.entry.js +15 -13
  288. package/dist/esm/tds-footer-group.entry.js +6 -9
  289. package/dist/esm/tds-footer-item.entry.js +3 -4
  290. package/dist/esm/tds-footer.entry.js +5 -5
  291. package/dist/esm/tds-header-brand-symbol.entry.js +2 -3
  292. package/dist/esm/tds-header-cell.entry.js +18 -20
  293. package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
  294. package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
  295. package/dist/esm/tds-header-dropdown-list.entry.js +5 -6
  296. package/dist/esm/tds-header-dropdown.entry.js +8 -10
  297. package/dist/esm/tds-header-hamburger.entry.js +4 -6
  298. package/dist/esm/tds-header-launcher-button.entry.js +6 -6
  299. package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
  300. package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
  301. package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
  302. package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
  303. package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
  304. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  305. package/dist/esm/tds-header-launcher.entry.js +8 -11
  306. package/dist/esm/tds-header-title.entry.js +3 -4
  307. package/dist/esm/tds-header.entry.js +4 -5
  308. package/dist/esm/tds-icon.entry.js +10 -10
  309. package/dist/esm/tds-inline-tab.entry.js +3 -3
  310. package/dist/esm/tds-inline-tabs.entry.js +16 -13
  311. package/dist/esm/tds-link.entry.js +5 -3
  312. package/dist/esm/tds-message.entry.js +14 -12
  313. package/dist/esm/tds-modal.entry.js +19 -17
  314. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  315. package/dist/esm/tds-navigation-tabs.entry.js +18 -15
  316. package/dist/esm/tds-popover-canvas.entry.js +19 -11
  317. package/dist/esm/tds-popover-core.entry.js +40 -34
  318. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  319. package/dist/esm/tds-popover-menu.entry.js +18 -11
  320. package/dist/esm/tds-radio-button.entry.js +11 -12
  321. package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
  322. package/dist/esm/tds-side-menu-collapse-button.entry.js +3 -4
  323. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
  324. package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -3
  325. package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
  326. package/dist/esm/tds-side-menu-item.entry.js +6 -4
  327. package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
  328. package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
  329. package/dist/esm/tds-side-menu-user.entry.js +2 -7
  330. package/dist/esm/tds-side-menu.entry.js +15 -10
  331. package/dist/esm/tds-slider.entry.js +39 -22
  332. package/dist/esm/tds-spinner.entry.js +4 -3
  333. package/dist/esm/tds-step.entry.js +3 -9
  334. package/dist/esm/tds-stepper.entry.js +13 -4
  335. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  336. package/dist/esm/tds-table-body-row-expandable.entry.js +11 -5
  337. package/dist/esm/tds-table-body-row.entry.js +5 -3
  338. package/dist/esm/tds-table-body.entry.js +7 -9
  339. package/dist/esm/tds-table-footer.entry.js +21 -15
  340. package/dist/esm/tds-table-header-input-wrapper.entry.js +3 -3
  341. package/dist/esm/tds-table-header.entry.js +5 -4
  342. package/dist/esm/tds-table-toolbar.entry.js +5 -3
  343. package/dist/esm/tds-table.entry.js +21 -5
  344. package/dist/esm/tds-tag.entry.js +5 -5
  345. package/dist/esm/tds-text-field.entry.js +22 -11
  346. package/dist/esm/tds-textarea.entry.js +16 -11
  347. package/dist/esm/tds-toast.entry.js +16 -14
  348. package/dist/esm/tds-toggle.entry.js +13 -12
  349. package/dist/esm/tds-tooltip.entry.js +23 -23
  350. package/dist/esm/tegel.js +5 -5
  351. package/dist/tegel/p-0522033d.entry.js +1 -0
  352. package/dist/tegel/{p-b734b309.entry.js → p-07f0ecfa.entry.js} +1 -1
  353. package/dist/tegel/p-09db07e0.entry.js +1 -0
  354. package/dist/tegel/p-12164f8d.entry.js +1 -0
  355. package/dist/tegel/{p-743d4f07.entry.js → p-130333e9.entry.js} +1 -1
  356. package/dist/tegel/p-141a87ec.entry.js +1 -0
  357. package/dist/tegel/p-15789c4b.entry.js +1 -0
  358. package/dist/tegel/p-1a2d346d.entry.js +1 -0
  359. package/dist/tegel/p-1dfccca8.entry.js +1 -0
  360. package/dist/tegel/p-25555d56.entry.js +1 -0
  361. package/dist/tegel/{p-a090bd2f.entry.js → p-29e20fb9.entry.js} +1 -1
  362. package/dist/tegel/p-2ad28143.entry.js +1 -0
  363. package/dist/tegel/p-2dcb574a.entry.js +1 -0
  364. package/dist/tegel/{p-f31f56fe.entry.js → p-2fcf78e7.entry.js} +1 -1
  365. package/dist/tegel/p-3bb9a77e.entry.js +1 -0
  366. package/dist/tegel/{p-87219f00.entry.js → p-3c49b7c7.entry.js} +1 -1
  367. package/dist/tegel/{p-2766b46f.entry.js → p-3dec20c1.entry.js} +1 -1
  368. package/dist/tegel/p-3f7ec5ba.entry.js +1 -0
  369. package/dist/tegel/p-42c83dc6.entry.js +1 -0
  370. package/dist/tegel/p-4628b4c4.entry.js +1 -0
  371. package/dist/tegel/p-4b9c0cb7.entry.js +1 -0
  372. package/dist/tegel/p-4ffaf7a4.entry.js +1 -0
  373. package/dist/tegel/{p-987f8f0f.entry.js → p-5543426b.entry.js} +1 -1
  374. package/dist/tegel/p-58b85a2a.entry.js +1 -0
  375. package/dist/tegel/p-58fccbf0.entry.js +1 -0
  376. package/dist/tegel/{p-51a17707.entry.js → p-5990c828.entry.js} +1 -1
  377. package/dist/tegel/p-5ca5d869.entry.js +1 -0
  378. package/dist/tegel/p-5cbb9af8.entry.js +1 -0
  379. package/dist/tegel/p-606e863a.entry.js +1 -0
  380. package/dist/tegel/p-628ae054.entry.js +1 -0
  381. package/dist/tegel/p-65d3dd85.entry.js +1 -0
  382. package/dist/tegel/p-6708328b.entry.js +1 -0
  383. package/dist/tegel/p-6d0fea0d.entry.js +1 -0
  384. package/dist/tegel/{p-4b5e15cc.entry.js → p-6e4c4a78.entry.js} +1 -1
  385. package/dist/tegel/{p-ceed0476.entry.js → p-73d70f17.entry.js} +1 -1
  386. package/dist/tegel/p-75676d23.entry.js +1 -0
  387. package/dist/tegel/p-76441be3.entry.js +1 -0
  388. package/dist/tegel/{p-2faeb483.entry.js → p-77aa8a91.entry.js} +1 -1
  389. package/dist/tegel/p-86666bd7.entry.js +1 -0
  390. package/dist/tegel/{p-24a76927.entry.js → p-868c897b.entry.js} +1 -1
  391. package/dist/tegel/{p-88bb1059.entry.js → p-88cc39ef.entry.js} +1 -1
  392. package/dist/tegel/{p-c2e514b4.entry.js → p-8b227ed2.entry.js} +1 -1
  393. package/dist/tegel/p-8cc5d2dd.entry.js +1 -0
  394. package/dist/tegel/p-91748269.entry.js +1 -0
  395. package/dist/tegel/p-9485e3e5.entry.js +1 -0
  396. package/dist/tegel/p-960e7ff1.entry.js +1 -0
  397. package/dist/tegel/p-960ee3fd.entry.js +1 -0
  398. package/dist/tegel/p-988c8036.entry.js +1 -0
  399. package/dist/tegel/{p-0cfe8671.entry.js → p-9c954292.entry.js} +1 -1
  400. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  401. package/dist/tegel/p-HrL7WedA.js +2 -0
  402. package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  403. package/dist/tegel/{p-09cd056c.entry.js → p-a268f6bd.entry.js} +1 -1
  404. package/dist/tegel/{p-c6968db1.entry.js → p-a4465441.entry.js} +1 -1
  405. package/dist/tegel/p-a583e92f.entry.js +1 -0
  406. package/dist/tegel/p-a8d67a59.entry.js +1 -0
  407. package/dist/tegel/p-a90edab4.entry.js +1 -0
  408. package/dist/tegel/p-ae4a1e14.entry.js +1 -0
  409. package/dist/tegel/{p-8a4837ae.entry.js → p-b292ff03.entry.js} +1 -1
  410. package/dist/tegel/p-b2db1562.entry.js +1 -0
  411. package/dist/tegel/p-b7605e13.entry.js +1 -0
  412. package/dist/tegel/{p-3450dd6c.entry.js → p-b878189e.entry.js} +1 -1
  413. package/dist/tegel/p-baba354e.entry.js +1 -0
  414. package/dist/tegel/p-bc092a62.entry.js +1 -0
  415. package/dist/tegel/{p-133351b5.entry.js → p-c42579ea.entry.js} +1 -1
  416. package/dist/tegel/{p-77cfb0ef.entry.js → p-c4fcfb64.entry.js} +1 -1
  417. package/dist/tegel/p-cb12a0b4.entry.js +1 -0
  418. package/dist/tegel/{p-72006dd7.entry.js → p-ced3ee5a.entry.js} +1 -1
  419. package/dist/tegel/p-cf6a7d8c.entry.js +1 -0
  420. package/dist/tegel/{p-fd15ced7.entry.js → p-d094e4db.entry.js} +1 -1
  421. package/dist/tegel/p-d41511ba.entry.js +1 -0
  422. package/dist/tegel/{p-c163d44f.entry.js → p-d4f6ea93.entry.js} +1 -1
  423. package/dist/tegel/{p-771f53c2.entry.js → p-d9e8562c.entry.js} +1 -1
  424. package/dist/tegel/{p-f2318c88.entry.js → p-df3c3b3a.entry.js} +1 -1
  425. package/dist/tegel/p-e0204265.entry.js +1 -0
  426. package/dist/tegel/{p-655051b6.entry.js → p-e117038d.entry.js} +1 -1
  427. package/dist/tegel/{p-d1d45942.entry.js → p-e19166cc.entry.js} +1 -1
  428. package/dist/tegel/{p-650b98bf.entry.js → p-e242d286.entry.js} +1 -1
  429. package/dist/tegel/{p-646d1df4.entry.js → p-e3616cb0.entry.js} +1 -1
  430. package/dist/tegel/{p-0e772ad7.entry.js → p-f1b051a5.entry.js} +1 -1
  431. package/dist/tegel/p-fa610813.entry.js +1 -0
  432. package/dist/tegel/p-fd8598d5.entry.js +1 -0
  433. package/dist/tegel/tegel.css +3 -3
  434. package/dist/tegel/tegel.esm.js +1 -1
  435. package/dist/types/components/dropdown/dropdown.d.ts +4 -0
  436. package/dist/types/components/header/header-launcher/header-launcher.d.ts +1 -1
  437. package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
  438. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  439. package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
  440. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  441. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  442. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  443. package/dist/types/components.d.ts +551 -4
  444. package/dist/types/stencil-public-runtime.d.ts +78 -5
  445. package/dist/types/utils/dom.d.ts +2 -0
  446. package/package.json +2 -2
  447. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  448. package/dist/cjs/index-ca8040ad.js +0 -2039
  449. package/dist/components/p-28ef5186.js +0 -1507
  450. package/dist/esm/app-globals-0f993ce5.js +0 -3
  451. package/dist/esm/index-51d04e39.js +0 -2009
  452. package/dist/tegel/p-0672ddfc.entry.js +0 -1
  453. package/dist/tegel/p-08ad6a21.entry.js +0 -1
  454. package/dist/tegel/p-08f63e5d.entry.js +0 -1
  455. package/dist/tegel/p-0c9a51d9.entry.js +0 -1
  456. package/dist/tegel/p-177386d5.entry.js +0 -1
  457. package/dist/tegel/p-17bc1e49.entry.js +0 -1
  458. package/dist/tegel/p-1859156f.entry.js +0 -1
  459. package/dist/tegel/p-1b471db7.entry.js +0 -1
  460. package/dist/tegel/p-1f4267a8.entry.js +0 -1
  461. package/dist/tegel/p-2049fab2.js +0 -2
  462. package/dist/tegel/p-28f85555.entry.js +0 -1
  463. package/dist/tegel/p-304f5a5c.entry.js +0 -1
  464. package/dist/tegel/p-3462a7cc.entry.js +0 -1
  465. package/dist/tegel/p-354d3986.entry.js +0 -1
  466. package/dist/tegel/p-3c348fcb.entry.js +0 -1
  467. package/dist/tegel/p-3c97cb45.entry.js +0 -1
  468. package/dist/tegel/p-3e6d65ee.entry.js +0 -1
  469. package/dist/tegel/p-445fa788.entry.js +0 -1
  470. package/dist/tegel/p-464469fe.entry.js +0 -1
  471. package/dist/tegel/p-4de2807c.entry.js +0 -1
  472. package/dist/tegel/p-52689019.entry.js +0 -1
  473. package/dist/tegel/p-55f9c79a.entry.js +0 -1
  474. package/dist/tegel/p-57a28f62.entry.js +0 -1
  475. package/dist/tegel/p-5c8fd75e.entry.js +0 -1
  476. package/dist/tegel/p-6b340718.entry.js +0 -1
  477. package/dist/tegel/p-7887bdbb.entry.js +0 -1
  478. package/dist/tegel/p-7b598e60.entry.js +0 -1
  479. package/dist/tegel/p-7ef50e7f.entry.js +0 -1
  480. package/dist/tegel/p-8c2695af.entry.js +0 -1
  481. package/dist/tegel/p-9f187848.entry.js +0 -1
  482. package/dist/tegel/p-9fdc8fa5.entry.js +0 -1
  483. package/dist/tegel/p-a4cbb541.entry.js +0 -1
  484. package/dist/tegel/p-a56436c8.entry.js +0 -1
  485. package/dist/tegel/p-a8abc8d9.entry.js +0 -1
  486. package/dist/tegel/p-ab00e6e4.entry.js +0 -1
  487. package/dist/tegel/p-b210d23c.entry.js +0 -1
  488. package/dist/tegel/p-b7abb81f.entry.js +0 -1
  489. package/dist/tegel/p-bcd5e06d.entry.js +0 -1
  490. package/dist/tegel/p-c0cbc9f5.entry.js +0 -1
  491. package/dist/tegel/p-c23a3f12.entry.js +0 -1
  492. package/dist/tegel/p-ca16f1ed.entry.js +0 -1
  493. package/dist/tegel/p-ca32a270.entry.js +0 -1
  494. package/dist/tegel/p-cc962b6c.entry.js +0 -1
  495. package/dist/tegel/p-cf717912.entry.js +0 -1
  496. package/dist/tegel/p-d7cdbc4e.entry.js +0 -1
  497. package/dist/tegel/p-e1255160.js +0 -1
  498. package/dist/tegel/p-e6e9d11f.entry.js +0 -1
  499. package/dist/tegel/p-e8b58680.entry.js +0 -1
  500. package/dist/tegel/p-f3c32d4d.entry.js +0 -1
  501. package/dist/tegel/p-f8a37d39.entry.js +0 -1
  502. package/loader/package.json +0 -11
  503. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  504. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  505. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  506. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  507. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  508. /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
  509. /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  510. /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  511. /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  512. /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  513. /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
  514. /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
  515. /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
  516. /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
  517. /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
  518. /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
  519. /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  520. /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  521. /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  522. /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  523. /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
@@ -1,26 +1,25 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
- import { g as generateUniqueId } from './p-11648030.js';
3
- import { i as inheritAriaAttributes } from './p-0bd4c19c.js';
4
- import { d as defineCustomElement$7 } from './p-e1622f4a.js';
5
- import { d as defineCustomElement$6 } from './p-7c3348eb.js';
6
- import { d as defineCustomElement$5 } from './p-d10d21bd.js';
7
- import { d as defineCustomElement$4 } from './p-f7d94947.js';
8
- import { d as defineCustomElement$3 } from './p-63552d0e.js';
9
- import { d as defineCustomElement$2 } from './p-3308d5fa.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+ import { g as generateUniqueId } from './p-Cn4f8w1e.js';
3
+ import { i as inheritAriaAttributes } from './p-Q3W78DlP.js';
4
+ import { d as defineCustomElement$7 } from './p-BhLq7lgx.js';
5
+ import { d as defineCustomElement$6 } from './p-BHBgkUfr.js';
6
+ import { d as defineCustomElement$5 } from './p-D1ati-pM.js';
7
+ import { d as defineCustomElement$4 } from './p-CPDv0bBc.js';
8
+ import { d as defineCustomElement$3 } from './p-1YnjaUCy.js';
9
+ import { d as defineCustomElement$2 } from './p-8koCGAVT.js';
10
10
 
11
11
  const headerLauncherCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host .wrapper{height:var(--tds-header-height);position:relative}:host .wrapper .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-radius:0}:host .wrapper .menu:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar{width:var(--tds-scrollbar-width)}:host .wrapper .menu::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}:host .wrapper .menu::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}:host .wrapper .menu::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){:host .wrapper .menu{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}@media all and (max-width: 384px){:host .wrapper .menu{width:100vw}}:host .wrapper.state-list-type-menu .menu{height:calc(100vh - var(--tds-header-height))}:host .wrapper.state-open .button{position:relative;z-index:901}";
12
- const TdsHeaderLauncherStyle0 = headerLauncherCss;
13
12
 
14
13
  const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncher extends H {
15
- constructor() {
14
+ constructor(registerHost) {
16
15
  super();
17
- this.__registerHost();
16
+ if (registerHost !== false) {
17
+ this.__registerHost();
18
+ }
18
19
  this.__attachShadow();
19
- this.uuid = generateUniqueId();
20
20
  this.open = false;
21
- this.buttonEl = undefined;
22
21
  this.hasListTypeMenu = false;
23
- this.tdsAriaLabel = undefined;
22
+ this.uuid = generateUniqueId();
24
23
  }
25
24
  onAnyClick(event) {
26
25
  // Source: https://lamplightdev.com/blog/2021/04/10/how-to-detect-clicks-outside-of-a-web-component/
@@ -58,11 +57,11 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
58
57
  }, 'ref': (el) => {
59
58
  this.buttonEl = el;
60
59
  } });
61
- return (h(Host, { key: '214953326230ac1b5ab664b032783c20d9999531' }, h("div", { key: '0efccd70365257b6f682b777bb6a3d056996aa82', class: {
60
+ return (h(Host, { key: 'd6402957a4e8c7221a3cefae397117a952381d22' }, h("div", { key: '0d5e89739be69df6e111404ca64fa81dd35ffab9', class: {
62
61
  'wrapper': true,
63
62
  'state-open': this.open,
64
63
  'state-list-type-menu': this.hasListTypeMenu,
65
- } }, h("tds-header-launcher-button", Object.assign({ key: '677518edd231dedb813d59220699bf3b1f1469a6' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: '7d9b39133b781601acb0d8f97237694209f8d355', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
64
+ } }, h("tds-header-launcher-button", Object.assign({ key: '7c42d6bec11176653b8b00c458a5dd1a1e9ef168' }, buttonAttributes, { "tds-aria-label": this.tdsAriaLabel })), this.buttonEl && (h("tds-popover-canvas", { key: 'a7eddf9c3df2f3e4229c1fade730a622767349ad', id: `tds-launcher-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
66
65
  {
67
66
  name: 'flip',
68
67
  options: {
@@ -72,8 +71,8 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
72
71
  ] }, this.open ? h("slot", null) : null)))));
73
72
  }
74
73
  get host() { return this; }
75
- static get style() { return TdsHeaderLauncherStyle0; }
76
- }, [1, "tds-header-launcher", {
74
+ static get style() { return headerLauncherCss; }
75
+ }, [257, "tds-header-launcher", {
77
76
  "tdsAriaLabel": [1, "tds-aria-label"],
78
77
  "open": [32],
79
78
  "buttonEl": [32],
@@ -1,19 +1,20 @@
1
- import { p as proxyCustomElement, H, h } from './p-28ef5186.js';
1
+ import { p as proxyCustomElement, H, h } from './index.js';
2
2
 
3
- const headerTitleCss = "h4{box-sizing:border-box;color:var(--tds-header-nav-item-color);font-weight:normal;font-family:var(--tds-font-family-headline);letter-spacing:normal;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}h4 slot{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 32px 0 16px}";
4
- const TdsHeaderTitleStyle0 = headerTitleCss;
3
+ const headerTitleCss = "h4{box-sizing:border-box;color:var(--tds-header-nav-item-color);font-weight:normal;font-family:var(--tds-font-family-headline);letter-spacing:normal;position:relative;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:14px;line-height:normal}h4 slot{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:0 32px 0 16px}";
5
4
 
6
5
  const TdsHeaderTitle$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderTitle extends H {
7
- constructor() {
6
+ constructor(registerHost) {
8
7
  super();
9
- this.__registerHost();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
10
11
  this.__attachShadow();
11
12
  }
12
13
  render() {
13
14
  return (h("h4", { key: '4af2f894bf508d0ea8f5c934f4b6e3be61f1ce1a' }, h("slot", { key: 'e5eaaf9c68f77041f6056af1bb7e1101b48c1ffc' })));
14
15
  }
15
- static get style() { return TdsHeaderTitleStyle0; }
16
- }, [1, "tds-header-title"]);
16
+ static get style() { return headerTitleCss; }
17
+ }, [257, "tds-header-title"]);
17
18
  function defineCustomElement$1() {
18
19
  if (typeof customElements === "undefined") {
19
20
  return;
@@ -1,5 +1,5 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
- import { i as inheritAriaAttributes } from './p-0bd4c19c.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+ import { i as inheritAriaAttributes } from './p-Q3W78DlP.js';
3
3
 
4
4
  /**
5
5
  * Loop through the children and add the 'listitem' role if needed.
@@ -17,12 +17,13 @@ const updateListChildrenRoles = (targetNode) => {
17
17
  };
18
18
 
19
19
  const headerCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}html,:root{--tds-nav-dropdown-menu-box:0 3px 3px rgb(0 0 0 / 15%), 0 -1px 1px rgb(0 0 0 / 1%);--tds-nav-dropdown-item-border-radius:0 0 4px 4px;--tds-font-family-headline:\"Scania Sans Headline\", arial, helvetica, sans-serif}tds-header{display:block;height:var(--tds-header-height);background-color:var(--tds-header-background);width:100%;z-index:300}tds-header tds-header-dropdown-list-item a *,tds-header tds-header-dropdown-list-item button *{pointer-events:none}nav{box-sizing:border-box;background-color:var(--tds-header-background);width:100%;display:block}nav *{box-sizing:border-box}nav .tds-header-component-list{height:var(--tds-header-height);all:unset;display:flex;justify-content:center;align-items:center}nav tds-header-dropdown,nav tds-header-item{display:none}nav .tds-header-middle-spacer{all:unset;display:block;flex-grow:1;height:var(--tds-header-height);border-right:1px solid var(--tds-header--basic-element-border)}@media screen and (min-width: 992px){nav tds-header-dropdown,nav tds-header-item{display:block}}nav tds-header-item:nth-child(3),nav tds-header-dropdown:nth-child(3){border-left:1px solid var(--tds-header--basic-element-border)}";
20
- const TdsHeaderStyle0 = headerCss;
21
20
 
22
21
  const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
23
- constructor() {
22
+ constructor(registerHost) {
24
23
  super();
25
- this.__registerHost();
24
+ if (registerHost !== false) {
25
+ this.__registerHost();
26
+ }
26
27
  const callback = (mutationsList) => {
27
28
  mutationsList.forEach((mutation) => {
28
29
  if (mutation.type === 'childList') {
@@ -49,8 +50,8 @@ const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
49
50
  return (h(Host, { key: 'f5c7796ebe3f5d9bd6e555f0dd01f8ace54c1cd8' }, h("slot", { key: '77cba127f947cc8fefa875a6db0e68bf52c5a80e', name: "hamburger" }), h("slot", { key: 'daf9d8299734f72355eeaeb307dcc3e25520a7b8', name: "title" }), h("nav", Object.assign({ key: '904338fd0fb8ab3ce42b46ee482d021667fe49e8' }, navAttributes), h("ul", { key: '66994fd2de781178624f8d67c88e4d75e84d2844', class: "tds-header-component-list" }, h("slot", { key: '51ee40aa7b17fb2a36ca23c2cebfb74efb69ea24' }), h("li", { key: 'db64903ac70ee12d48cd5029997949875caa53e8', class: "tds-header-middle-spacer" }), h("slot", { key: '80a48331b218b734061a421c9e31f8fd1b98be1a', name: "end" })))));
50
51
  }
51
52
  get host() { return this; }
52
- static get style() { return TdsHeaderStyle0; }
53
- }, [4, "tds-header"]);
53
+ static get style() { return headerCss; }
54
+ }, [260, "tds-header"]);
54
55
  function defineCustomElement$1() {
55
56
  if (typeof customElements === "undefined") {
56
57
  return;
@@ -1,4 +1,4 @@
1
- import { I as Icon, d as defineCustomElement$1 } from './p-f7d94947.js';
1
+ import { I as Icon, d as defineCustomElement$1 } from './p-CPDv0bBc.js';
2
2
 
3
3
  const TdsIcon = Icon;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,13 +1,15 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
2
 
3
3
  const inlineTabCss = ":host{box-sizing:border-box;display:block;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-inline-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:20px 0}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;outline:2px solid var(--tds-blue-400);outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .inline-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .inline-tab-item{position:relative}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover ::slotted(*){color:var(--tds-inline-tabs-tab-color-hover)}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled ::slotted(*){color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed;color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
4
- const TdsInlineTabStyle0 = inlineTabCss;
5
4
 
6
5
  const TdsInlineTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTab extends H {
7
- constructor() {
6
+ constructor(registerHost) {
8
7
  super();
9
- this.__registerHost();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
10
11
  this.__attachShadow();
12
+ /** Disables the Tab. */
11
13
  this.disabled = false;
12
14
  this.selected = false;
13
15
  }
@@ -41,8 +43,8 @@ const TdsInlineTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTab exten
41
43
  } }, h("slot", { key: 'f2b45d7f0dd38cae953f61e933189eef8d7a9452' }))));
42
44
  }
43
45
  get host() { return this; }
44
- static get style() { return TdsInlineTabStyle0; }
45
- }, [1, "tds-inline-tab", {
46
+ static get style() { return inlineTabCss; }
47
+ }, [257, "tds-inline-tab", {
46
48
  "disabled": [4],
47
49
  "selected": [32],
48
50
  "setSelected": [64]
@@ -1,15 +1,28 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
3
3
 
4
4
  const inlineTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-inline-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus-visible::before,:host .scroll-left-button:focus-visible::before{content:\"\";position:absolute;inset:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus-visible,:host .scroll-left-button:focus-visible{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
5
- const TdsInlineTabsStyle0 = inlineTabsCss;
6
5
 
7
6
  const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs extends H {
8
- constructor() {
7
+ constructor(registerHost) {
9
8
  super();
10
- this.__registerHost();
9
+ if (registerHost !== false) {
10
+ this.__registerHost();
11
+ }
11
12
  this.__attachShadow();
12
13
  this.tdsChange = createEvent(this, "tdsChange", 7);
14
+ /** Variant of the Tabs, primary= on white, secondary= on grey50 */
15
+ this.modeVariant = 'primary';
16
+ /** Sets the default selected Tab. */
17
+ this.defaultSelectedIndex = 0;
18
+ /** Defines aria-label on left scroll button */
19
+ this.tdsScrollLeftAriaLabel = 'Scroll left';
20
+ /** Defines aria-label on right scroll button */
21
+ this.tdsScrollRightAriaLabel = 'Scroll right';
22
+ /** Custom left padding value for the wrapper element. */
23
+ this.leftPadding = 32;
24
+ this.showLeftScroll = false;
25
+ this.showRightScroll = false;
13
26
  this.navWrapperElement = null; // reference to container with nav buttons
14
27
  this.componentWidth = 0; // visible width of this component
15
28
  this.buttonsWidth = 0; // total width of all nav items combined
@@ -63,14 +76,6 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
63
76
  }
64
77
  });
65
78
  };
66
- this.modeVariant = 'primary';
67
- this.defaultSelectedIndex = 0;
68
- this.selectedIndex = undefined;
69
- this.tdsScrollLeftAriaLabel = 'Scroll left';
70
- this.tdsScrollRightAriaLabel = 'Scroll right';
71
- this.leftPadding = 32;
72
- this.showLeftScroll = false;
73
- this.showRightScroll = false;
74
79
  }
75
80
  /** Selects a Tab based on tabindex, will not select a disabled Tab. */
76
81
  async selectTab(tabIndex) {
@@ -175,16 +180,16 @@ const TdsInlineTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsInlineTabs ext
175
180
  this.removeEventListenerFromTabs();
176
181
  }
177
182
  render() {
178
- return (h(Host, { key: 'f33abd9071c85c0651a3ab93e3996ec44717e325', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '8a5233b2a941a3a1e72dc45f93015b5e606663a8', class: "wrapper", ref: (el) => {
183
+ return (h(Host, { key: '305a1bd0998686df8e69d6f06e9d767c86ba20e0', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '8d59508b84bea296d97e27cf3da3817ed2014f49', class: "wrapper", ref: (el) => {
179
184
  this.navWrapperElement = el;
180
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f2a8051863cfa93f8b2a5c562fc5ebefcc36b195', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a93d1cb8ddc5486bbb15449c328a25f6e8e2b4cd', name: "chevron_left", size: "20px" })), h("slot", { key: 'e5b096420d72d12c861730fd9829baeba7cce625', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'f154a7b6553fe77e3f09da314403db5326df8e21', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '6832c693ab8a446a629788894f792f571c09cbe3', name: "chevron_right", size: "20px" })))));
185
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '7d302c8197a96537d25d2a881c5ecb2a3a28e849', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '8050bf7f62240241d415c909500b27c1ceb199ee', name: "chevron_left", size: "20px" })), h("slot", { key: '6818de93a8757534f6244e6208a7dbdb8a83c144', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'ebfa34fab49cd5931e355acb5adf154ac548a9c0', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '24183941036df17810a990c3972393efbf031e03', name: "chevron_right", size: "20px" })))));
181
186
  }
182
187
  get host() { return this; }
183
188
  static get watchers() { return {
184
189
  "selectedIndex": ["handleSelectedIndexUpdate"]
185
190
  }; }
186
- static get style() { return TdsInlineTabsStyle0; }
187
- }, [1, "tds-inline-tabs", {
191
+ static get style() { return inlineTabsCss; }
192
+ }, [257, "tds-inline-tabs", {
188
193
  "modeVariant": [1, "mode-variant"],
189
194
  "defaultSelectedIndex": [2, "default-selected-index"],
190
195
  "selectedIndex": [514, "selected-index"],
@@ -1,15 +1,19 @@
1
- import { p as proxyCustomElement, H, h } from './p-28ef5186.js';
1
+ import { p as proxyCustomElement, H, h } from './index.js';
2
2
 
3
3
  const linkCss = ":host{display:inline}:host ::slotted(*){all:unset;cursor:pointer;outline:none;color:var(--tds-link);text-decoration:underline}:host ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:none}:host .no-underline ::slotted(*){text-decoration:none}:host .no-underline ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:underline;text-decoration-color:var(--tds-link-hover)}:host ::slotted(*:focus-visible){color:var(--tds-link-focus);text-decoration:none;box-shadow:0 0 0 1px var(--tds-white), 0 0 0 3px var(--tds-link-focus)}:host ::slotted(*:active){color:var(--tds-link);text-decoration:underline;text-decoration-color:var(--tds-link)}:host ::slotted(*:visited){color:var(--tds-link-visited);text-decoration-color:var(--tds-link-visited)}.disabled ::slotted(*),.disabled ::slotted(*:visited){color:var(--tds-link-disabled);text-decoration-color:var(--tds-link-disabled);pointer-events:none}.standalone ::slotted(*){font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}";
4
- const TdsLinkStyle0 = linkCss;
5
4
 
6
5
  const TdsLink$1 = /*@__PURE__*/ proxyCustomElement(class TdsLink extends H {
7
- constructor() {
6
+ constructor(registerHost) {
8
7
  super();
9
- this.__registerHost();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
10
11
  this.__attachShadow();
12
+ /** Disables the Link */
11
13
  this.disabled = false;
14
+ /** Displays the Link with an underline. */
12
15
  this.underline = true;
16
+ /** Displays the Link as a standalone component. Not part of a paragraph. */
13
17
  this.standalone = false;
14
18
  }
15
19
  connectedCallback() {
@@ -37,8 +41,8 @@ const TdsLink$1 = /*@__PURE__*/ proxyCustomElement(class TdsLink extends H {
37
41
  } }, h("slot", { key: 'f574609666ae7484752ec8cfaf7f0bffa1645c83' })));
38
42
  }
39
43
  get host() { return this; }
40
- static get style() { return TdsLinkStyle0; }
41
- }, [1, "tds-link", {
44
+ static get style() { return linkCss; }
45
+ }, [257, "tds-link", {
42
46
  "disabled": [4],
43
47
  "underline": [4],
44
48
  "standalone": [4]
@@ -1,15 +1,26 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
- import { g as generateUniqueId } from './p-11648030.js';
3
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+ import { g as generateUniqueId } from './p-Cn4f8w1e.js';
3
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
4
4
 
5
- const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-message-border-info)}:host .wrapper.information tds-icon{color:var(--tds-message-icon-info)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--tds-message-border-success)}:host .wrapper.success tds-icon{color:var(--tds-message-icon-success)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--tds-message-border-error)}:host .wrapper.error tds-icon{color:var(--tds-message-icon-error)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--tds-message-border-warning)}:host .wrapper.warning tds-icon{color:var(--tds-message-icon-warning)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--tds-message-minimal-header-error)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 0}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
6
- const TdsMessageStyle0 = messageCss;
5
+ const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-message-border-info)}:host .wrapper.information tds-icon{color:var(--tds-message-icon-info)}:host .wrapper.success{background-color:var(--tds-message-background-success);border-left:4px solid var(--tds-message-border-success)}:host .wrapper.success tds-icon{color:var(--tds-message-icon-success)}:host .wrapper.error{background-color:var(--tds-message-background-error);border-left:4px solid var(--tds-message-border-error)}:host .wrapper.error tds-icon{color:var(--tds-message-icon-error)}:host .wrapper.warning{background-color:var(--tds-message-background-warning);border-left:4px solid var(--tds-message-border-warning)}:host .wrapper.warning tds-icon{color:var(--tds-message-icon-warning)}:host .wrapper.minimal{border:none;padding:0;background-color:transparent}:host .wrapper.minimal .header{font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}:host .wrapper.minimal.error .header{color:var(--tds-message-minimal-header-error)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--foreground-text-strong);padding:2px 24px 2px 0;overflow-wrap:anywhere}:host .content .header{font-family:var(--headline-07-font-family);font-size:var(--headline-07-font-size);line-height:var(--headline-07-line-height);font-weight:var(--headline-07-font-weight);letter-spacing:var(--headline-07-letter-spacing);text-transform:var(--headline-07-text-transform)}:host .content .extended-message{color:var(--foreground-text-strong);font-family:var(--detail-02-font-family);font-size:var(--detail-02-font-size);line-height:var(--detail-02-line-height);font-weight:var(--detail-02-font-weight);letter-spacing:var(--detail-02-letter-spacing);text-transform:var(--detail-02-text-transform)}";
7
6
 
8
7
  const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H {
9
- constructor() {
8
+ constructor(registerHost) {
10
9
  super();
11
- this.__registerHost();
10
+ if (registerHost !== false) {
11
+ this.__registerHost();
12
+ }
12
13
  this.__attachShadow();
14
+ /** Variant of the component, based on current mode. */
15
+ this.modeVariant = null;
16
+ /** Variant of Message. */
17
+ this.variant = 'information';
18
+ /** Removes the icon in the Message. */
19
+ this.noIcon = false;
20
+ /** Minimal Message styling. */
21
+ this.minimal = false;
22
+ /** Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
23
+ this.tdsAlertDialog = 'dialog';
13
24
  this.getIconName = () => {
14
25
  switch (this.variant) {
15
26
  case 'information':
@@ -24,13 +35,6 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
24
35
  return 'info';
25
36
  }
26
37
  };
27
- this.header = undefined;
28
- this.modeVariant = null;
29
- this.variant = 'information';
30
- this.noIcon = false;
31
- this.minimal = false;
32
- this.tdsAlertDialog = 'dialog';
33
- this.tdsAriaLabel = undefined;
34
38
  }
35
39
  getAriaLabel() {
36
40
  if (this.header) {
@@ -48,8 +52,8 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
48
52
  minimal: this.minimal,
49
53
  } }, !this.noIcon && (h("tds-icon", { key: 'ea830e6051ef9e0f751a1e8d5e24fbd17ad6ec58', "aria-hidden": "true", "aria-label": `${this.variant}`, svgTitle: `${this.variant}`, name: this.getIconName(), size: "20px" })), h("div", { key: 'c71e70d57147d9ac050e7a223ed097e58cb6a49e', class: `content` }, this.header && (h("div", { key: '1acded0a8f8522792f41a4331a2009a42cbf4894', class: "header", id: headerId }, this.header)), !this.minimal && (h("div", { key: '0aed7c6daf7892e6ac1d5b3f8715e7c9032b11a3', class: "extended-message", id: contentId }, h("slot", { key: '75898f0a957581dc2720667c3eaae6e17201d81c' })))))));
50
54
  }
51
- static get style() { return TdsMessageStyle0; }
52
- }, [1, "tds-message", {
55
+ static get style() { return messageCss; }
56
+ }, [257, "tds-message", {
53
57
  "header": [1],
54
58
  "modeVariant": [1, "mode-variant"],
55
59
  "variant": [1],
@@ -1,18 +1,33 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { h as hasSlot } from './p-ae110fc2.js';
3
- import { g as generateUniqueId } from './p-11648030.js';
4
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { h as hasSlot } from './p-DDX6uFcm.js';
3
+ import { g as generateUniqueId } from './p-Cn4f8w1e.js';
4
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
5
5
 
6
- const modalCss = ".tds-modal{box-sizing:border-box;box-shadow:var(--tds-modal-box-shadow);background-color:var(--background-elevation-layer-02);margin:auto;position:relative;border-radius:var(--radius-narrow);max-height:85vh;overflow-y:auto;pointer-events:auto}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:6px;background-color:transparent}.tds-modal::-webkit-scrollbar-track{background-color:transparent}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--foreground-elements-transparparent-discrete);border-radius:3px}.tds-modal__actions-sticky{overflow:hidden;display:flex;flex-direction:column}.tds-modal__actions-sticky .body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{bottom:-1px;left:0;right:0;background-color:var(--background-elevation-layer-02);padding:24px 16px 16px;display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--background-elevation-layer-02);display:flex;gap:16px;padding:24px 16px 16px}@media (min-width: 320px){.tds-modal-xs{width:100%}.tds-modal-sm{width:100%}.tds-modal-md{width:100%}.tds-modal-lg{width:100%}}@media (min-width: 672px){.tds-modal-xs{width:50%}.tds-modal-sm{width:62.5%}.tds-modal-md{width:75%}.tds-modal-lg{width:100%}}@media (min-width: 1056px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:43.75%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1312px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1584px){.tds-modal-xs{width:25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:50%}.tds-modal-lg{width:75%}}@media (max-width: 320px){.tds-modal-md,.tds-modal-lg,.tds-modal-sm{height:100%}.tds-modal-md slot[name=actions]::slotted(*),.tds-modal-lg slot[name=actions]::slotted(*),.tds-modal-sm slot[name=actions]::slotted(*){display:flex}}.header{display:flex;padding:16px;position:sticky;top:0;background-color:var(--background-elevation-layer-02);z-index:1}.header,slot[name=header]::slotted(*){font-family:var(--headline-05-font-family);font-size:var(--headline-05-font-size);line-height:var(--headline-05-line-height);font-weight:var(--headline-05-font-weight);letter-spacing:var(--headline-05-letter-spacing);text-transform:var(--headline-05-text-transform);color:var(--foreground-text-strong);margin:0;flex:1}.body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);color:var(--foreground-text-strong);overflow-y:visible;padding:0 16px 16px}.body::-webkit-scrollbar{width:6px;background-color:transparent}.body::-webkit-scrollbar-track{background-color:transparent}.body::-webkit-scrollbar-thumb{background-color:var(--foreground-elements-transparparent-discrete);border-radius:3px}.tds-modal-backdrop{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--tds-modal-backdrop-background);pointer-events:auto}.tds-modal-backdrop *{box-sizing:border-box}button.tds-modal-close{margin:0 0 auto auto;background-color:transparent;border:0;padding:0;appearance:unset}.tds-modal-close{display:inline-block;height:auto;color:var(--foreground-text-strong);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media (min-width: 320px){.tds-modal-close{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close{margin-left:48px}}.tds-modal-close-btn{display:inline-block;height:auto;background-repeat:no-repeat;cursor:pointer}@media (min-width: 320px){.tds-modal-close-btn{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:48px}}.tds-modal-close-btn svg{fill:var(--foreground-text-strong)}.tds-modal-overflow{overflow:hidden}:host{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;padding:0 16px;z-index:700;pointer-events:none}:host *{box-sizing:border-box}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host(.show){display:flex}:host(.hide){display:none}";
7
- const TdsModalStyle0 = modalCss;
6
+ const modalCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}.tds-modal{box-sizing:border-box;box-shadow:var(--tds-modal-box-shadow);background-color:var(--background-elevation-layer-02);margin:auto;position:relative;border-radius:var(--radius-narrow);max-height:85vh;overflow-y:auto;pointer-events:auto}.tds-modal *{box-sizing:border-box}.tds-modal:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}.tds-modal::-webkit-scrollbar{width:var(--tds-scrollbar-width)}.tds-modal::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}.tds-modal::-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}.tds-modal::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){.tds-modal{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}.tds-modal__actions-sticky{overflow:hidden;display:flex;flex-direction:column}.tds-modal__actions-sticky .body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{bottom:-1px;left:0;right:0;background-color:var(--background-elevation-layer-02);padding:24px 16px 16px;display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--background-elevation-layer-02);display:flex;gap:16px;padding:24px 16px 16px}@media (min-width: 320px){.tds-modal-xs{width:100%}.tds-modal-sm{width:100%}.tds-modal-md{width:100%}.tds-modal-lg{width:100%}}@media (min-width: 672px){.tds-modal-xs{width:50%}.tds-modal-sm{width:62.5%}.tds-modal-md{width:75%}.tds-modal-lg{width:100%}}@media (min-width: 1056px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:43.75%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1312px){.tds-modal-xs{width:31.25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:62.5%}.tds-modal-lg{width:75%}}@media (min-width: 1584px){.tds-modal-xs{width:25%}.tds-modal-sm{width:37.5%}.tds-modal-md{width:50%}.tds-modal-lg{width:75%}}@media (max-width: 320px){.tds-modal-md,.tds-modal-lg,.tds-modal-sm{height:100%}.tds-modal-md slot[name=actions]::slotted(*),.tds-modal-lg slot[name=actions]::slotted(*),.tds-modal-sm slot[name=actions]::slotted(*){display:flex}}.header{display:flex;padding:16px;position:sticky;top:0;background-color:var(--background-elevation-layer-02);z-index:1}.header,slot[name=header]::slotted(*){font-family:var(--headline-05-font-family);font-size:var(--headline-05-font-size);line-height:var(--headline-05-line-height);font-weight:var(--headline-05-font-weight);letter-spacing:var(--headline-05-letter-spacing);text-transform:var(--headline-05-text-transform);color:var(--foreground-text-strong);margin:0;flex:1}.body{font-family:var(--body-01-font-family);font-size:var(--body-01-font-size);line-height:var(--body-01-line-height);font-weight:var(--body-01-font-weight);letter-spacing:var(--body-01-letter-spacing);text-transform:var(--body-01-text-transform);color:var(--foreground-text-strong);overflow-y:visible;padding:0 16px 16px}.body:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}.body::-webkit-scrollbar{width:var(--tds-scrollbar-width)}.body::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}.body::-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}.body::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){.body{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}.tds-modal-backdrop{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--tds-modal-backdrop-background);pointer-events:auto}.tds-modal-backdrop *{box-sizing:border-box}button.tds-modal-close{margin:0 0 auto auto;background-color:transparent;border:0;padding:0;appearance:unset}.tds-modal-close{display:inline-block;height:auto;color:var(--foreground-text-strong);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}@media (min-width: 320px){.tds-modal-close{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close{margin-left:48px}}.tds-modal-close-btn{display:inline-block;height:auto;background-repeat:no-repeat;cursor:pointer}@media (min-width: 320px){.tds-modal-close-btn{margin-left:16px}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:48px}}.tds-modal-close-btn svg{fill:var(--foreground-text-strong)}.tds-modal-overflow{overflow:hidden}:host{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;padding:0 16px;z-index:700;pointer-events:none}:host *{box-sizing:border-box}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host(.show){display:flex}:host(.hide){display:none}";
8
7
 
9
8
  const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
10
- constructor() {
9
+ constructor(registerHost) {
11
10
  super();
12
- this.__registerHost();
11
+ if (registerHost !== false) {
12
+ this.__registerHost();
13
+ }
13
14
  this.__attachShadow();
14
15
  this.tdsClose = createEvent(this, "tdsClose", 7);
15
16
  this.tdsOpen = createEvent(this, "tdsOpen", 7);
17
+ /** Disables closing Modal on clicking on overlay area. */
18
+ this.prevent = false;
19
+ /** Size of Modal */
20
+ this.size = 'md';
21
+ /** Changes the position behaviour of the actions slot. */
22
+ this.actionsPosition = 'static';
23
+ /** Shows or hides the close [X] button. */
24
+ this.closable = true;
25
+ /** Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
26
+ this.tdsAlertDialog = 'dialog';
27
+ // State that keeps track of show/closed state for the Modal.
28
+ this.isShown = false;
29
+ // Focus state index in focusable Elements
30
+ this.activeElementIndex = 0;
16
31
  this.handleClose = (event) => {
17
32
  const closeEvent = this.tdsClose.emit(event);
18
33
  this.returnFocusOnClose();
@@ -61,17 +76,6 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
61
76
  referenceEl.addEventListener('click', this.handleReferenceElementClick);
62
77
  }
63
78
  };
64
- this.header = undefined;
65
- this.prevent = false;
66
- this.size = 'md';
67
- this.actionsPosition = 'static';
68
- this.selector = undefined;
69
- this.referenceEl = undefined;
70
- this.show = undefined;
71
- this.closable = true;
72
- this.tdsAlertDialog = 'dialog';
73
- this.isShown = false;
74
- this.activeElementIndex = 0;
75
79
  }
76
80
  /** Shows the Modal. */
77
81
  async showModal() {
@@ -216,8 +220,8 @@ const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends H {
216
220
  }, onClick: (event) => this.handleOverlayClick(event) }, h("div", { key: '2129611789e7d9c1e32731f59100f75ff4e58800', class: "tds-modal-backdrop" }), h("div", { key: 'cce280887ce68ab5471cd939847c8f23703e6a11', class: `tds-modal tds-modal__actions-${this.actionsPosition} tds-modal-${this.size}` }, h("div", { key: '2629204523dff0d2afefab238514db74b9d1a93b', id: headerId, class: "header" }, this.header && h("div", { key: '040ddd22c7b782d77e07cc1ff4cd1fdf0d508cbe', class: "header-text" }, this.header), usesHeaderSlot && h("slot", { key: '7b15247fea7c3ab2986e453b98e7a7f9ccff943f', name: "header" }), this.closable && (h("button", { key: '67e09f9f95ad58e02c1f9adb9883af4a1c16f837', class: "tds-modal-close", "aria-label": "close", onClick: (event) => this.handleClose(event) }, h("tds-icon", { key: '52694db7eb7dc40ca2ea8aeb3e13611f899177a8', name: "cross", size: "20px" })))), h("div", { key: 'b7fedc44fae5a964399f6b63fad96acaba9263a1', id: bodyId, class: "body" }, h("slot", { key: 'd60cbee2a55a487f738aa9a741d8b1e0cb74484e', name: "body" })), usesActionsSlot && h("slot", { key: 'c969e1f820a4f4ecfab84fe3349eee0233710f05', name: "actions" }))));
217
221
  }
218
222
  get host() { return this; }
219
- static get style() { return TdsModalStyle0; }
220
- }, [1, "tds-modal", {
223
+ static get style() { return modalCss; }
224
+ }, [257, "tds-modal", {
221
225
  "header": [1],
222
226
  "prevent": [4],
223
227
  "size": [1],
@@ -1,13 +1,15 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
2
 
3
3
  const navigationTabCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;padding:26px 0}:host ::slotted(*:focus-visible)::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .navigation-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .navigation-tab-item{position:relative}:host .navigation-tab-item:hover{cursor:pointer}:host .navigation-tab-item:hover ::slotted(*){color:var(--tds-navigation-tabs-tab-color-hover)}:host .navigation-tab-item:hover::after{width:100%}:host .navigation-tab-item::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-navigation-tabs-tab-indicator-background-hover);z-index:1}:host .navigation-tab-item:hover:focus-within::after{bottom:3px}:host .selected ::slotted(*){color:var(--tds-navigation-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-navigation-tabs-tab-indicator-background-active)}:host .disabled ::slotted(*){color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed;color:var(--tds-navigation-tabs-tab-color-disabled)}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.last){margin-right:32px}";
4
- const TdsNavigationTabStyle0 = navigationTabCss;
5
4
 
6
5
  const TdsNavigationTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigationTab extends H {
7
- constructor() {
6
+ constructor(registerHost) {
8
7
  super();
9
- this.__registerHost();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
10
11
  this.__attachShadow();
12
+ /** Disables the Tab. */
11
13
  this.disabled = false;
12
14
  this.selected = false;
13
15
  }
@@ -38,8 +40,8 @@ const TdsNavigationTab$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigationT
38
40
  ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '9824df7626af1bedbc17f98c0cfe305b9546f235' }))));
39
41
  }
40
42
  get host() { return this; }
41
- static get style() { return TdsNavigationTabStyle0; }
42
- }, [1, "tds-navigation-tab", {
43
+ static get style() { return navigationTabCss; }
44
+ }, [257, "tds-navigation-tab", {
43
45
  "disabled": [4],
44
46
  "selected": [32],
45
47
  "setSelected": [64]
@@ -1,15 +1,28 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-f7d94947.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
3
3
 
4
4
  const navigationTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-navigation-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-navigation-tabs-horizontal-divider-background);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus::before,:host .scroll-left-button:focus::before{content:\"\";position:absolute;left:3px;right:3px;top:3px;bottom:3px;outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:0}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
5
- const TdsNavigationTabsStyle0 = navigationTabsCss;
6
5
 
7
6
  const TdsNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigationTabs extends H {
8
- constructor() {
7
+ constructor(registerHost) {
9
8
  super();
10
- this.__registerHost();
9
+ if (registerHost !== false) {
10
+ this.__registerHost();
11
+ }
11
12
  this.__attachShadow();
12
13
  this.tdsChange = createEvent(this, "tdsChange", 7);
14
+ /** Variant of the Tabs, primary= on white, secondary= on grey50 */
15
+ this.modeVariant = 'primary';
16
+ /** Sets the default selected Tab. */
17
+ this.defaultSelectedIndex = 0;
18
+ /** Custom left padding value for the wrapper element. */
19
+ this.leftPadding = 32;
20
+ /** Defines aria-label on left scroll button */
21
+ this.tdsScrollLeftAriaLabel = 'Scroll left';
22
+ /** Defines aria-label on right scroll button */
23
+ this.tdsScrollRightAriaLabel = 'Scroll right';
24
+ this.showLeftScroll = false;
25
+ this.showRightScroll = false;
13
26
  this.navWrapperElement = null; // reference to container with nav buttons
14
27
  this.componentWidth = 0; // visible width of this component
15
28
  this.buttonsWidth = 0; // total width of all nav items combined
@@ -63,14 +76,6 @@ const TdsNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigation
63
76
  }
64
77
  });
65
78
  };
66
- this.modeVariant = 'primary';
67
- this.defaultSelectedIndex = 0;
68
- this.selectedIndex = undefined;
69
- this.leftPadding = 32;
70
- this.tdsScrollLeftAriaLabel = 'Scroll left';
71
- this.tdsScrollRightAriaLabel = 'Scroll right';
72
- this.showLeftScroll = false;
73
- this.showRightScroll = false;
74
79
  }
75
80
  /** Sets the passed tabindex as the selected Tab. */
76
81
  async selectTab(tabIndex) {
@@ -175,22 +180,22 @@ const TdsNavigationTabs$1 = /*@__PURE__*/ proxyCustomElement(class TdsNavigation
175
180
  this.removeEventListenerFromTabs();
176
181
  }
177
182
  render() {
178
- return (h(Host, { key: 'cdf0eff9acca827e372a58f5721ff9279b0360f4', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'a8fafbc680fbdb0450db591e7f3ffda864946684', class: "wrapper", ref: (el) => {
183
+ return (h(Host, { key: '6e532a0645718391624017452e1d8bd253868af3', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'a1a7d5dcf07187d85bed5c193422328202331125', class: "wrapper", ref: (el) => {
179
184
  this.navWrapperElement = el;
180
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '402e0ca33fa71dced98cf8d86e26e3dba312fa7d', "aria-label": this.tdsScrollLeftAriaLabel, class: {
185
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'a9bd22bc8abec2e7b1237884402349d63a930043', "aria-label": this.tdsScrollLeftAriaLabel, class: {
181
186
  'scroll-left-button': true,
182
187
  'show': this.showLeftScroll,
183
- }, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '2849a2da7c6ef133d173756778400baa2a51d58d', name: "chevron_left", size: "20px" })), h("slot", { key: '64081b7518abde00c8f1d80ff414849bccd1cb0b', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '916ba6b9107982f8b8763920bdf4e2bd99127943', "aria-label": this.tdsScrollRightAriaLabel, class: {
188
+ }, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '222fc93851ab026162c9ed02a64c02247582e886', name: "chevron_left", size: "20px" })), h("slot", { key: '7dfff9f0ec4453e5499e83b0806563769364bbeb', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'bc75394c414ea6d8f276db8f119545ac4f91cf1f', "aria-label": this.tdsScrollRightAriaLabel, class: {
184
189
  'scroll-right-button': true,
185
190
  'show': this.showRightScroll,
186
- }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '26f84d67bc4b1eb04668464a74b655db1953d999', name: "chevron_right", size: "20px" })))));
191
+ }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '42abd91c08e7fb44b3432bfa71b09ba2b0f1c40d', name: "chevron_right", size: "20px" })))));
187
192
  }
188
193
  get host() { return this; }
189
194
  static get watchers() { return {
190
195
  "selectedIndex": ["handleSelectedIndexUpdate"]
191
196
  }; }
192
- static get style() { return TdsNavigationTabsStyle0; }
193
- }, [1, "tds-navigation-tabs", {
197
+ static get style() { return navigationTabsCss; }
198
+ }, [257, "tds-navigation-tabs", {
194
199
  "modeVariant": [1, "mode-variant"],
195
200
  "defaultSelectedIndex": [2, "default-selected-index"],
196
201
  "selectedIndex": [514, "selected-index"],
@@ -1,4 +1,4 @@
1
- import { T as TdsPopoverCanvas$1, d as defineCustomElement$1 } from './p-63552d0e.js';
1
+ import { T as TdsPopoverCanvas$1, d as defineCustomElement$1 } from './p-1YnjaUCy.js';
2
2
 
3
3
  const TdsPopoverCanvas = TdsPopoverCanvas$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { T as TdsPopoverCore$1, d as defineCustomElement$1 } from './p-3308d5fa.js';
1
+ import { T as TdsPopoverCore$1, d as defineCustomElement$1 } from './p-8koCGAVT.js';
2
2
 
3
3
  const TdsPopoverCore = TdsPopoverCore$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,13 +1,15 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
2
 
3
3
  const popoverMenuItemCss = ":host{box-sizing:border-box;display:block}:host *{box-sizing:border-box}:host .wrapper{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-popover-menu-color);position:relative;width:100%;display:flex;align-items:center;transition:background-color var(--tds-motion-duration-fast-02) var(--tds-motion-easing-easy)}:host .wrapper:hover{cursor:pointer;background-color:var(--tds-popover-menu-background-hover)}:host .wrapper.disabled{cursor:not-allowed;color:var(--tds-popover-menu-divider-disabled-color)}:host .wrapper.disabled:hover{background-color:inherit}:host .wrapper.disabled ::slotted(tds-icon){color:var(--tds-popover-menu-divider-disabled-icon-color)}:host .wrapper.disabled ::slotted(*){pointer-events:none}:host ::slotted(*:not(tds-icon)){all:unset;width:100%;display:inline-flex;display:flex;align-items:center;gap:10px;padding:10px 16px}:host ::slotted(*:focus-visible)::before{z-index:-1;content:\"\";display:block;position:absolute;width:calc(100% - 4px);height:100%;top:0;left:2px;outline:1px solid var(--tds-blue-400);outline-offset:1px}";
4
- const TdsPopoverMenuItemStyle0 = popoverMenuItemCss;
5
4
 
6
5
  const TdsPopoverMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsPopoverMenuItem extends H {
7
- constructor() {
6
+ constructor(registerHost) {
8
7
  super();
9
- this.__registerHost();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
10
11
  this.__attachShadow();
12
+ /** Disables the Popover Menu Item */
11
13
  this.disabled = false;
12
14
  }
13
15
  render() {
@@ -16,8 +18,8 @@ const TdsPopoverMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsPopoverMe
16
18
  disabled: this.disabled,
17
19
  } }, h("slot", { key: 'ddacc7938ca455a8151b2e46449414146073b045' }))));
18
20
  }
19
- static get style() { return TdsPopoverMenuItemStyle0; }
20
- }, [1, "tds-popover-menu-item", {
21
+ static get style() { return popoverMenuItemCss; }
22
+ }, [257, "tds-popover-menu-item", {
21
23
  "disabled": [4]
22
24
  }]);
23
25
  function defineCustomElement$1() {