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