@scania/tegel 1.40.0-ts-strict-mode-beta.0 → 1.41.0-angular-patch-types-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 (560) hide show
  1. package/dist/cjs/index-CxAGLnpY.js +2414 -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 +6 -7
  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 +5 -6
  10. package/dist/cjs/tds-body-cell.cjs.entry.js +6 -13
  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 +18 -19
  14. package/dist/cjs/tds-card.cjs.entry.js +30 -21
  15. package/dist/cjs/tds-checkbox.cjs.entry.js +16 -21
  16. package/dist/cjs/tds-chip.cjs.entry.js +18 -15
  17. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +12 -17
  18. package/dist/cjs/tds-datetime.cjs.entry.js +32 -31
  19. package/dist/cjs/tds-dropdown_2.cjs.entry.js +73 -92
  20. package/dist/cjs/tds-folder-tab.cjs.entry.js +3 -6
  21. package/dist/cjs/tds-folder-tabs.cjs.entry.js +16 -23
  22. package/dist/cjs/tds-footer-group.cjs.entry.js +10 -16
  23. package/dist/cjs/tds-footer-item.cjs.entry.js +4 -11
  24. package/dist/cjs/tds-footer.cjs.entry.js +7 -9
  25. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -7
  26. package/dist/cjs/tds-header-cell.cjs.entry.js +23 -32
  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 +8 -13
  30. package/dist/cjs/tds-header-dropdown.cjs.entry.js +13 -19
  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 +10 -19
  40. package/dist/cjs/tds-header-title.cjs.entry.js +2 -5
  41. package/dist/cjs/tds-header.cjs.entry.js +10 -15
  42. package/dist/cjs/tds-icon.cjs.entry.js +12 -13
  43. package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -5
  44. package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -23
  45. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  46. package/dist/cjs/tds-message.cjs.entry.js +16 -16
  47. package/dist/cjs/tds-modal.cjs.entry.js +23 -24
  48. package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -5
  49. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +19 -25
  50. package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
  51. package/dist/cjs/tds-popover-core.cjs.entry.js +47 -45
  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 +12 -18
  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 +7 -11
  57. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +12 -18
  58. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -8
  59. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +9 -12
  60. package/dist/cjs/tds-side-menu-item.cjs.entry.js +15 -21
  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 +24 -24
  65. package/dist/cjs/tds-slider.cjs.entry.js +55 -50
  66. package/dist/cjs/tds-spinner.cjs.entry.js +4 -5
  67. package/dist/cjs/tds-step.cjs.entry.js +4 -14
  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 +21 -24
  71. package/dist/cjs/tds-table-body-row.cjs.entry.js +10 -13
  72. package/dist/cjs/tds-table-body.cjs.entry.js +12 -20
  73. package/dist/cjs/tds-table-footer.cjs.entry.js +28 -31
  74. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
  75. package/dist/cjs/tds-table-header.cjs.entry.js +23 -30
  76. package/dist/cjs/tds-table-toolbar.cjs.entry.js +9 -11
  77. package/dist/cjs/tds-table.cjs.entry.js +33 -21
  78. package/dist/cjs/tds-tag.cjs.entry.js +5 -7
  79. package/dist/cjs/tds-text-field.cjs.entry.js +28 -20
  80. package/dist/cjs/tds-textarea.cjs.entry.js +20 -18
  81. package/dist/cjs/tds-toast.cjs.entry.js +16 -16
  82. package/dist/cjs/tds-toggle.cjs.entry.js +17 -19
  83. package/dist/cjs/tds-tooltip.cjs.entry.js +29 -23
  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 +12 -6
  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 +11 -5
  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 +51 -28
  94. package/dist/collection/components/card/card.js +68 -32
  95. package/dist/collection/components/checkbox/checkbox.js +45 -29
  96. package/dist/collection/components/chip/chip.js +42 -20
  97. package/dist/collection/components/datetime/datetime.js +83 -47
  98. package/dist/collection/components/divider/divider.js +8 -2
  99. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +22 -21
  100. package/dist/collection/components/dropdown/dropdown.css +3 -1
  101. package/dist/collection/components/dropdown/dropdown.js +139 -94
  102. package/dist/collection/components/footer/footer-group/footer-group.js +15 -14
  103. package/dist/collection/components/footer/footer-item/footer-item.js +2 -6
  104. package/dist/collection/components/footer/footer.js +9 -6
  105. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +2 -2
  106. package/dist/collection/components/header/header-dropdown/header-dropdown.js +24 -19
  107. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +7 -7
  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 +14 -11
  112. package/dist/collection/components/header/header-launcher/header-launcher.js +9 -13
  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.js +6 -8
  116. package/dist/collection/components/icon/icon.js +30 -18
  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 +37 -20
  120. package/dist/collection/components/modal/modal.css +54 -10
  121. package/dist/collection/components/modal/modal.js +51 -31
  122. package/dist/collection/components/popover-canvas/popover-canvas.js +54 -23
  123. package/dist/collection/components/popover-core/popover-core.js +83 -49
  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 +51 -23
  126. package/dist/collection/components/radio-button/radio-button.js +37 -24
  127. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -6
  128. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +20 -12
  129. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -3
  130. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +13 -14
  131. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +18 -17
  132. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
  133. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  134. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  135. package/dist/collection/components/side-menu/side-menu.js +31 -22
  136. package/dist/collection/components/slider/slider.js +106 -62
  137. package/dist/collection/components/spinner/spinner.js +8 -2
  138. package/dist/collection/components/stepper/step/step.js +13 -14
  139. package/dist/collection/components/stepper/stepper.js +28 -6
  140. package/dist/collection/components/table/table/table.js +67 -48
  141. package/dist/collection/components/table/table-body/table-body.js +10 -15
  142. package/dist/collection/components/table/table-body-cell/table-body-cell.js +22 -18
  143. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
  144. package/dist/collection/components/table/table-body-row/table-body-row.js +22 -16
  145. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +43 -31
  146. package/dist/collection/components/table/table-footer/table-footer.js +48 -36
  147. package/dist/collection/components/table/table-header/table-header.js +37 -33
  148. package/dist/collection/components/table/table-header-cell/table-header-cell.js +57 -49
  149. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
  150. package/dist/collection/components/table/table-toolbar/table-toolbar.js +18 -11
  151. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
  152. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +32 -26
  153. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
  154. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +34 -25
  155. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
  156. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +36 -27
  157. package/dist/collection/components/tag/tag.js +12 -5
  158. package/dist/collection/components/text-field/text-field.js +93 -40
  159. package/dist/collection/components/textarea/textarea.js +74 -35
  160. package/dist/collection/components/toast/toast.js +42 -21
  161. package/dist/collection/components/toggle/toggle.js +41 -24
  162. package/dist/collection/components/tooltip/tooltip.js +64 -33
  163. package/dist/collection/utils/appendHiddenInput.js +4 -6
  164. package/dist/components/index.js +1825 -1
  165. package/dist/components/{p-415fafb3.js → p-B569z5eW.js} +25 -15
  166. package/dist/components/{p-ead6727f.js → p-BHBgkUfr.js} +17 -17
  167. package/dist/components/{p-e1622f4a.js → p-BhLq7lgx.js} +7 -6
  168. package/dist/components/{p-7e02ea3e.js → p-BhQM9_yR.js} +68 -77
  169. package/dist/components/{p-e0ccf8e6.js → p-BxmFjTxG.js} +20 -22
  170. package/dist/components/{p-3f2187a4.js → p-CMsPXG7a.js} +7 -8
  171. package/dist/components/{p-edc838a0.js → p-CPDv0bBc.js} +17 -14
  172. package/dist/components/{p-e627f11b.js → p-Ca3wGDna.js} +21 -22
  173. package/dist/components/{p-799470b1.js → p-ChCWm6If.js} +20 -18
  174. package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
  175. package/dist/components/{p-0d286c19.js → p-D1ati-pM.js} +13 -11
  176. package/dist/components/{p-ad376f70.js → p-DnzQe_HU.js} +35 -25
  177. package/dist/components/{p-bff614d5.js → p-DuxH3vDC.js} +7 -8
  178. package/dist/components/{p-381677ec.js → p-FqP1yGh_.js} +9 -6
  179. package/dist/components/{p-de86852a.js → p-HRj1DOvh.js} +9 -6
  180. package/dist/components/{p-a64cbc40.js → p-Ip9G3co9.js} +36 -24
  181. package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  182. package/dist/components/{p-da11a695.js → p-QnvG_QPu.js} +12 -13
  183. package/dist/components/{p-98d082f9.js → p-SqXsUd-b.js} +21 -25
  184. package/dist/components/{p-6fd2b339.js → p-X1sPx4t5.js} +52 -46
  185. package/dist/components/tds-accordion-item.js +15 -8
  186. package/dist/components/tds-accordion.js +11 -8
  187. package/dist/components/tds-badge.js +11 -6
  188. package/dist/components/tds-banner.js +24 -16
  189. package/dist/components/tds-block.js +10 -7
  190. package/dist/components/tds-body-cell.js +12 -15
  191. package/dist/components/tds-breadcrumb.js +8 -6
  192. package/dist/components/tds-breadcrumbs.js +7 -7
  193. package/dist/components/tds-button.js +1 -1
  194. package/dist/components/tds-card.js +38 -25
  195. package/dist/components/tds-checkbox.js +1 -1
  196. package/dist/components/tds-chip.js +23 -16
  197. package/dist/components/tds-core-header-item.js +1 -1
  198. package/dist/components/tds-datetime.js +38 -33
  199. package/dist/components/tds-divider.js +1 -1
  200. package/dist/components/tds-dropdown-option.js +1 -1
  201. package/dist/components/tds-dropdown.js +1 -1
  202. package/dist/components/tds-folder-tab.js +8 -7
  203. package/dist/components/tds-folder-tabs.js +22 -25
  204. package/dist/components/tds-footer-group.js +16 -18
  205. package/dist/components/tds-footer-item.js +9 -12
  206. package/dist/components/tds-footer.js +12 -10
  207. package/dist/components/tds-header-brand-symbol.js +11 -10
  208. package/dist/components/tds-header-cell.js +29 -34
  209. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  210. package/dist/components/tds-header-dropdown-list-user.js +7 -10
  211. package/dist/components/tds-header-dropdown-list.js +1 -1
  212. package/dist/components/tds-header-dropdown.js +23 -25
  213. package/dist/components/tds-header-hamburger.js +11 -11
  214. package/dist/components/tds-header-item.js +1 -1
  215. package/dist/components/tds-header-launcher-button.js +1 -1
  216. package/dist/components/tds-header-launcher-grid-item.js +7 -6
  217. package/dist/components/tds-header-launcher-grid-title.js +8 -7
  218. package/dist/components/tds-header-launcher-grid.js +8 -8
  219. package/dist/components/tds-header-launcher-list-item.js +8 -7
  220. package/dist/components/tds-header-launcher-list-title.js +8 -7
  221. package/dist/components/tds-header-launcher-list.js +8 -6
  222. package/dist/components/tds-header-launcher.js +20 -25
  223. package/dist/components/tds-header-title.js +7 -6
  224. package/dist/components/tds-header.js +14 -15
  225. package/dist/components/tds-icon.js +1 -1
  226. package/dist/components/tds-inline-tab.js +8 -6
  227. package/dist/components/tds-inline-tabs.js +23 -25
  228. package/dist/components/tds-link.js +10 -6
  229. package/dist/components/tds-message.js +22 -18
  230. package/dist/components/tds-modal.js +29 -26
  231. package/dist/components/tds-navigation-tab.js +8 -6
  232. package/dist/components/tds-navigation-tabs.js +25 -27
  233. package/dist/components/tds-popover-canvas.js +1 -1
  234. package/dist/components/tds-popover-core.js +1 -1
  235. package/dist/components/tds-popover-menu-item.js +8 -6
  236. package/dist/components/tds-popover-menu.js +24 -15
  237. package/dist/components/tds-radio-button.js +17 -19
  238. package/dist/components/tds-side-menu-close-button.js +9 -8
  239. package/dist/components/tds-side-menu-collapse-button.js +13 -13
  240. package/dist/components/tds-side-menu-dropdown-list-item.js +17 -19
  241. package/dist/components/tds-side-menu-dropdown-list.js +10 -9
  242. package/dist/components/tds-side-menu-dropdown.js +16 -15
  243. package/dist/components/tds-side-menu-item.js +1 -1
  244. package/dist/components/tds-side-menu-overlay.js +7 -6
  245. package/dist/components/tds-side-menu-user-image.js +1 -1
  246. package/dist/components/tds-side-menu-user-label.js +1 -1
  247. package/dist/components/tds-side-menu-user.js +9 -12
  248. package/dist/components/tds-side-menu.js +29 -25
  249. package/dist/components/tds-slider.js +64 -55
  250. package/dist/components/tds-spinner.js +9 -6
  251. package/dist/components/tds-step.js +10 -16
  252. package/dist/components/tds-stepper.js +18 -7
  253. package/dist/components/tds-table-body-input-wrapper.js +10 -8
  254. package/dist/components/tds-table-body-row-expandable.js +26 -25
  255. package/dist/components/tds-table-body-row.js +16 -15
  256. package/dist/components/tds-table-body.js +17 -21
  257. package/dist/components/tds-table-footer.js +37 -36
  258. package/dist/components/tds-table-header-input-wrapper.js +10 -8
  259. package/dist/components/tds-table-header.js +29 -32
  260. package/dist/components/tds-table-toolbar.js +15 -13
  261. package/dist/components/tds-table.js +38 -22
  262. package/dist/components/tds-tag.js +10 -8
  263. package/dist/components/tds-text-field.js +1 -1
  264. package/dist/components/tds-textarea.js +28 -22
  265. package/dist/components/tds-toast.js +22 -18
  266. package/dist/components/tds-toggle.js +22 -20
  267. package/dist/components/tds-tooltip.js +1 -1
  268. package/dist/esm/index-BqRtRha-.js +2385 -0
  269. package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
  270. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  271. package/dist/esm/loader.js +3 -4
  272. package/dist/esm/tds-accordion-item.entry.js +9 -4
  273. package/dist/esm/tds-accordion.entry.js +6 -5
  274. package/dist/esm/tds-badge.entry.js +6 -3
  275. package/dist/esm/tds-banner.entry.js +18 -12
  276. package/dist/esm/tds-block.entry.js +5 -4
  277. package/dist/esm/tds-body-cell.entry.js +6 -11
  278. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  279. package/dist/esm/tds-breadcrumbs.entry.js +2 -4
  280. package/dist/esm/tds-button_2.entry.js +18 -17
  281. package/dist/esm/tds-card.entry.js +30 -19
  282. package/dist/esm/tds-checkbox.entry.js +16 -19
  283. package/dist/esm/tds-chip.entry.js +18 -13
  284. package/dist/esm/tds-core-header-item_2.entry.js +12 -15
  285. package/dist/esm/tds-datetime.entry.js +32 -29
  286. package/dist/esm/tds-dropdown_2.entry.js +73 -90
  287. package/dist/esm/tds-folder-tab.entry.js +3 -4
  288. package/dist/esm/tds-folder-tabs.entry.js +16 -21
  289. package/dist/esm/tds-footer-group.entry.js +10 -14
  290. package/dist/esm/tds-footer-item.entry.js +4 -9
  291. package/dist/esm/tds-footer.entry.js +7 -7
  292. package/dist/esm/tds-header-brand-symbol.entry.js +4 -5
  293. package/dist/esm/tds-header-cell.entry.js +23 -30
  294. package/dist/esm/tds-header-dropdown-list-item.entry.js +4 -3
  295. package/dist/esm/tds-header-dropdown-list-user.entry.js +2 -7
  296. package/dist/esm/tds-header-dropdown-list.entry.js +8 -11
  297. package/dist/esm/tds-header-dropdown.entry.js +13 -17
  298. package/dist/esm/tds-header-hamburger.entry.js +4 -6
  299. package/dist/esm/tds-header-launcher-button.entry.js +6 -6
  300. package/dist/esm/tds-header-launcher-grid-item.entry.js +2 -3
  301. package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -4
  302. package/dist/esm/tds-header-launcher-grid.entry.js +4 -6
  303. package/dist/esm/tds-header-launcher-list-item.entry.js +2 -3
  304. package/dist/esm/tds-header-launcher-list-title.entry.js +3 -4
  305. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  306. package/dist/esm/tds-header-launcher.entry.js +10 -17
  307. package/dist/esm/tds-header-title.entry.js +2 -3
  308. package/dist/esm/tds-header.entry.js +10 -13
  309. package/dist/esm/tds-icon.entry.js +12 -11
  310. package/dist/esm/tds-inline-tab.entry.js +3 -3
  311. package/dist/esm/tds-inline-tabs.entry.js +17 -21
  312. package/dist/esm/tds-link.entry.js +5 -3
  313. package/dist/esm/tds-message.entry.js +16 -14
  314. package/dist/esm/tds-modal.entry.js +23 -22
  315. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  316. package/dist/esm/tds-navigation-tabs.entry.js +19 -23
  317. package/dist/esm/tds-popover-canvas.entry.js +19 -11
  318. package/dist/esm/tds-popover-core.entry.js +47 -43
  319. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  320. package/dist/esm/tds-popover-menu.entry.js +18 -11
  321. package/dist/esm/tds-radio-button.entry.js +12 -16
  322. package/dist/esm/tds-side-menu-close-button.entry.js +4 -5
  323. package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -9
  324. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +12 -16
  325. package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -6
  326. package/dist/esm/tds-side-menu-dropdown.entry.js +9 -10
  327. package/dist/esm/tds-side-menu-item.entry.js +15 -19
  328. package/dist/esm/tds-side-menu-overlay.entry.js +2 -3
  329. package/dist/esm/tds-side-menu-user-image_2.entry.js +3 -9
  330. package/dist/esm/tds-side-menu-user.entry.js +2 -7
  331. package/dist/esm/tds-side-menu.entry.js +24 -22
  332. package/dist/esm/tds-slider.entry.js +55 -48
  333. package/dist/esm/tds-spinner.entry.js +4 -3
  334. package/dist/esm/tds-step.entry.js +4 -12
  335. package/dist/esm/tds-stepper.entry.js +13 -4
  336. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  337. package/dist/esm/tds-table-body-row-expandable.entry.js +21 -22
  338. package/dist/esm/tds-table-body-row.entry.js +10 -11
  339. package/dist/esm/tds-table-body.entry.js +12 -18
  340. package/dist/esm/tds-table-footer.entry.js +28 -29
  341. package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
  342. package/dist/esm/tds-table-header.entry.js +23 -28
  343. package/dist/esm/tds-table-toolbar.entry.js +9 -9
  344. package/dist/esm/tds-table.entry.js +33 -19
  345. package/dist/esm/tds-tag.entry.js +5 -5
  346. package/dist/esm/tds-text-field.entry.js +28 -18
  347. package/dist/esm/tds-textarea.entry.js +20 -16
  348. package/dist/esm/tds-toast.entry.js +16 -14
  349. package/dist/esm/tds-toggle.entry.js +17 -17
  350. package/dist/esm/tds-tooltip.entry.js +29 -21
  351. package/dist/esm/tegel.js +5 -5
  352. package/dist/tegel/p-03ff8648.entry.js +1 -0
  353. package/dist/tegel/p-08ef673e.entry.js +1 -0
  354. package/dist/tegel/{p-646d1df4.entry.js → p-0ac95ef0.entry.js} +1 -1
  355. package/dist/tegel/p-11159349.entry.js +1 -0
  356. package/dist/tegel/{p-87219f00.entry.js → p-15c69748.entry.js} +1 -1
  357. package/dist/tegel/p-192332e7.entry.js +1 -0
  358. package/dist/tegel/{p-da38aa9a.entry.js → p-1f255f25.entry.js} +1 -1
  359. package/dist/tegel/p-206d4703.entry.js +1 -0
  360. package/dist/tegel/{p-b734b309.entry.js → p-20b5c366.entry.js} +1 -1
  361. package/dist/tegel/p-26907beb.entry.js +1 -0
  362. package/dist/tegel/{p-2faeb483.entry.js → p-299e0e56.entry.js} +1 -1
  363. package/dist/tegel/p-2a1342d8.entry.js +1 -0
  364. package/dist/tegel/p-312c49f8.entry.js +1 -0
  365. package/dist/tegel/p-342052b9.entry.js +1 -0
  366. package/dist/tegel/p-3557fbdf.entry.js +1 -0
  367. package/dist/tegel/p-3806a0e4.entry.js +1 -0
  368. package/dist/tegel/{p-771f53c2.entry.js → p-3a5588b2.entry.js} +1 -1
  369. package/dist/tegel/p-3ba30c59.entry.js +1 -0
  370. package/dist/tegel/p-3bd99720.entry.js +1 -0
  371. package/dist/tegel/p-3de8e52b.entry.js +1 -0
  372. package/dist/tegel/p-41084e54.entry.js +1 -0
  373. package/dist/tegel/p-41242d2e.entry.js +1 -0
  374. package/dist/tegel/p-43f6c149.entry.js +1 -0
  375. package/dist/tegel/p-4489b7d5.entry.js +1 -0
  376. package/dist/tegel/p-4e58b98d.entry.js +1 -0
  377. package/dist/tegel/p-503abc18.entry.js +1 -0
  378. package/dist/tegel/{p-4b5e15cc.entry.js → p-5bea354f.entry.js} +1 -1
  379. package/dist/tegel/p-5eed2dae.entry.js +1 -0
  380. package/dist/tegel/p-6253f1d8.entry.js +1 -0
  381. package/dist/tegel/p-6301a8b5.entry.js +1 -0
  382. package/dist/tegel/{p-c163d44f.entry.js → p-648df3a1.entry.js} +1 -1
  383. package/dist/tegel/p-65d43cfd.entry.js +1 -0
  384. package/dist/tegel/p-6d4e71fd.entry.js +1 -0
  385. package/dist/tegel/p-73c9a5b3.entry.js +1 -0
  386. package/dist/tegel/{p-ceed0476.entry.js → p-7cec9df0.entry.js} +1 -1
  387. package/dist/tegel/p-7ef6db3c.entry.js +1 -0
  388. package/dist/tegel/p-81314f19.entry.js +1 -0
  389. package/dist/tegel/p-88d3bbbd.entry.js +1 -0
  390. package/dist/tegel/p-8a5df42a.entry.js +1 -0
  391. package/dist/tegel/p-8f1bbe70.entry.js +1 -0
  392. package/dist/tegel/p-9296f0d1.entry.js +1 -0
  393. package/dist/tegel/p-954e6cf0.entry.js +1 -0
  394. package/dist/tegel/{p-655051b6.entry.js → p-996f0ac5.entry.js} +1 -1
  395. package/dist/tegel/p-9fed9d16.entry.js +1 -0
  396. package/dist/tegel/p-BqRtRha-.js +2 -0
  397. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  398. package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  399. package/dist/tegel/p-a13ecd87.entry.js +1 -0
  400. package/dist/tegel/{p-3c348fcb.entry.js → p-a74d375a.entry.js} +1 -1
  401. package/dist/tegel/p-a8d29ac5.entry.js +1 -0
  402. package/dist/tegel/p-abe630f5.entry.js +1 -0
  403. package/dist/tegel/p-b2934101.entry.js +1 -0
  404. package/dist/tegel/p-b2d9244a.entry.js +1 -0
  405. package/dist/tegel/{p-2766b46f.entry.js → p-b5deab8e.entry.js} +1 -1
  406. package/dist/tegel/p-b901a7e3.entry.js +1 -0
  407. package/dist/tegel/{p-133351b5.entry.js → p-b9cb2eef.entry.js} +1 -1
  408. package/dist/tegel/p-bbcab377.entry.js +1 -0
  409. package/dist/tegel/{p-c2e514b4.entry.js → p-bc4d68b0.entry.js} +1 -1
  410. package/dist/tegel/p-c2ae97bb.entry.js +1 -0
  411. package/dist/tegel/{p-88bb1059.entry.js → p-c7c4f528.entry.js} +1 -1
  412. package/dist/tegel/p-ca437b9a.entry.js +1 -0
  413. package/dist/tegel/{p-c5694dd6.entry.js → p-d03f33c0.entry.js} +1 -1
  414. package/dist/tegel/p-d0c0c8f3.entry.js +1 -0
  415. package/dist/tegel/p-d1f9c4fd.entry.js +1 -0
  416. package/dist/tegel/p-d2b7c692.entry.js +1 -0
  417. package/dist/tegel/{p-27369d6a.entry.js → p-d659aefa.entry.js} +1 -1
  418. package/dist/tegel/p-d67ff384.entry.js +1 -0
  419. package/dist/tegel/p-d8a35537.entry.js +1 -0
  420. package/dist/tegel/{p-fe4335ca.entry.js → p-de9f2a0d.entry.js} +1 -1
  421. package/dist/tegel/p-dec2ede0.entry.js +1 -0
  422. package/dist/tegel/p-e1daba90.entry.js +1 -0
  423. package/dist/tegel/p-e5166678.entry.js +1 -0
  424. package/dist/tegel/p-e643c9b3.entry.js +1 -0
  425. package/dist/tegel/{p-8a4837ae.entry.js → p-e777d558.entry.js} +1 -1
  426. package/dist/tegel/p-f0c912af.entry.js +1 -0
  427. package/dist/tegel/p-f3da2bf5.entry.js +1 -0
  428. package/dist/tegel/p-f46be246.entry.js +1 -0
  429. package/dist/tegel/p-f5a7d350.entry.js +1 -0
  430. package/dist/tegel/p-fa19eac0.entry.js +1 -0
  431. package/dist/tegel/p-fa8a4f27.entry.js +1 -0
  432. package/dist/tegel/{p-b9afb39e.entry.js → p-fb59d675.entry.js} +1 -1
  433. package/dist/tegel/p-ff6da1f1.entry.js +1 -0
  434. package/dist/tegel/tegel.css +3 -3
  435. package/dist/tegel/tegel.esm.js +1 -1
  436. package/dist/types/components/accordion/accordion.d.ts +1 -1
  437. package/dist/types/components/block/block.d.ts +1 -1
  438. package/dist/types/components/button/button.d.ts +1 -1
  439. package/dist/types/components/card/card.d.ts +1 -1
  440. package/dist/types/components/datetime/datetime.d.ts +2 -2
  441. package/dist/types/components/dropdown/dropdown.d.ts +9 -5
  442. package/dist/types/components/footer/footer.d.ts +1 -1
  443. package/dist/types/components/icon/icon.d.ts +1 -1
  444. package/dist/types/components/message/message.d.ts +1 -1
  445. package/dist/types/components/modal/modal.d.ts +1 -1
  446. package/dist/types/components/popover-canvas/popover-canvas.d.ts +2 -2
  447. package/dist/types/components/popover-core/popover-core.d.ts +4 -4
  448. package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
  449. package/dist/types/components/slider/slider-stories-setup.d.ts +2 -2
  450. package/dist/types/components/table/table/table.d.ts +3 -6
  451. package/dist/types/components/table/table-body/table-body.d.ts +3 -3
  452. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +5 -8
  453. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  454. package/dist/types/components/table/table-body-row/table-body-row.d.ts +5 -5
  455. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +7 -7
  456. package/dist/types/components/table/table-footer/table-footer.d.ts +4 -4
  457. package/dist/types/components/table/table-header/table-header.d.ts +5 -5
  458. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +8 -8
  459. package/dist/types/components/table/table-header-input-wrapper/table-header-input-wrapper.d.ts +1 -1
  460. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +4 -4
  461. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +1 -1
  462. package/dist/types/components/text-field/text-field.d.ts +1 -1
  463. package/dist/types/components/textarea/textarea.d.ts +2 -2
  464. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  465. package/dist/types/components.d.ts +628 -81
  466. package/dist/types/stencil-public-runtime.d.ts +86 -4
  467. package/dist/types/types/Attributes.d.ts +1 -1
  468. package/dist/types/utils/findNextFocusableElement.d.ts +1 -1
  469. package/dist/types/utils/findPreviousFocusableElement.d.ts +1 -1
  470. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +1 -1
  471. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +1 -1
  472. package/package.json +2 -2
  473. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  474. package/dist/cjs/index-ca8040ad.js +0 -2039
  475. package/dist/components/p-28ef5186.js +0 -1507
  476. package/dist/esm/app-globals-0f993ce5.js +0 -3
  477. package/dist/esm/index-51d04e39.js +0 -2009
  478. package/dist/tegel/p-08c16b2f.entry.js +0 -1
  479. package/dist/tegel/p-0b37e91a.entry.js +0 -1
  480. package/dist/tegel/p-177386d5.entry.js +0 -1
  481. package/dist/tegel/p-1b471db7.entry.js +0 -1
  482. package/dist/tegel/p-1e1a87c1.entry.js +0 -1
  483. package/dist/tegel/p-2049fab2.js +0 -2
  484. package/dist/tegel/p-2268af7f.entry.js +0 -1
  485. package/dist/tegel/p-252a7d3f.entry.js +0 -1
  486. package/dist/tegel/p-25473962.entry.js +0 -1
  487. package/dist/tegel/p-27d39882.entry.js +0 -1
  488. package/dist/tegel/p-304f5a5c.entry.js +0 -1
  489. package/dist/tegel/p-3ef04672.entry.js +0 -1
  490. package/dist/tegel/p-40d99d7d.entry.js +0 -1
  491. package/dist/tegel/p-40fa0f5b.entry.js +0 -1
  492. package/dist/tegel/p-48a3e489.entry.js +0 -1
  493. package/dist/tegel/p-4de2807c.entry.js +0 -1
  494. package/dist/tegel/p-4e15f31d.entry.js +0 -1
  495. package/dist/tegel/p-57c08d0d.entry.js +0 -1
  496. package/dist/tegel/p-58ac68f3.entry.js +0 -1
  497. package/dist/tegel/p-5c8fd75e.entry.js +0 -1
  498. package/dist/tegel/p-6a472310.entry.js +0 -1
  499. package/dist/tegel/p-7104b955.entry.js +0 -1
  500. package/dist/tegel/p-781b2939.entry.js +0 -1
  501. package/dist/tegel/p-894e7e11.entry.js +0 -1
  502. package/dist/tegel/p-942f8c6f.entry.js +0 -1
  503. package/dist/tegel/p-98eff725.entry.js +0 -1
  504. package/dist/tegel/p-9b06bd5f.entry.js +0 -1
  505. package/dist/tegel/p-9c56b031.entry.js +0 -1
  506. package/dist/tegel/p-a20a54ef.entry.js +0 -1
  507. package/dist/tegel/p-a2b2092a.entry.js +0 -1
  508. package/dist/tegel/p-a334b517.entry.js +0 -1
  509. package/dist/tegel/p-a4e4c450.entry.js +0 -1
  510. package/dist/tegel/p-a60ed3de.entry.js +0 -1
  511. package/dist/tegel/p-a6dca188.entry.js +0 -1
  512. package/dist/tegel/p-a912035b.entry.js +0 -1
  513. package/dist/tegel/p-ab00e6e4.entry.js +0 -1
  514. package/dist/tegel/p-b218db70.entry.js +0 -1
  515. package/dist/tegel/p-b3b13975.entry.js +0 -1
  516. package/dist/tegel/p-b7abb81f.entry.js +0 -1
  517. package/dist/tegel/p-bb8c2a36.entry.js +0 -1
  518. package/dist/tegel/p-bcd5e06d.entry.js +0 -1
  519. package/dist/tegel/p-bee9e9d1.entry.js +0 -1
  520. package/dist/tegel/p-c23a3f12.entry.js +0 -1
  521. package/dist/tegel/p-ca068263.entry.js +0 -1
  522. package/dist/tegel/p-ca16f1ed.entry.js +0 -1
  523. package/dist/tegel/p-ca32a270.entry.js +0 -1
  524. package/dist/tegel/p-cc962b6c.entry.js +0 -1
  525. package/dist/tegel/p-d501a665.entry.js +0 -1
  526. package/dist/tegel/p-dda1ac69.entry.js +0 -1
  527. package/dist/tegel/p-e0dc09f9.entry.js +0 -1
  528. package/dist/tegel/p-e1255160.js +0 -1
  529. package/dist/tegel/p-e29fa563.entry.js +0 -1
  530. package/dist/tegel/p-e6e9d11f.entry.js +0 -1
  531. package/dist/tegel/p-e8b58680.entry.js +0 -1
  532. package/dist/tegel/p-ed66ef30.entry.js +0 -1
  533. package/dist/tegel/p-f5ca4fbf.entry.js +0 -1
  534. package/dist/tegel/p-f602b3a1.entry.js +0 -1
  535. package/dist/tegel/p-f8a37d39.entry.js +0 -1
  536. package/dist/tegel/p-f922308f.entry.js +0 -1
  537. package/dist/tegel/p-fb300776.entry.js +0 -1
  538. package/dist/tegel/p-fd22d1ca.entry.js +0 -1
  539. package/loader/package.json +0 -11
  540. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  541. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  542. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  543. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  544. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  545. /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
  546. /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  547. /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  548. /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  549. /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  550. /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
  551. /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
  552. /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
  553. /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
  554. /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
  555. /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
  556. /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  557. /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  558. /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  559. /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  560. /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
@@ -1,13 +1,15 @@
1
- import { r as registerInstance, h, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-BqRtRha-.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 = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
8
+ /** Disables the Link */
9
9
  this.disabled = false;
10
+ /** Displays the Link with an underline. */
10
11
  this.underline = true;
12
+ /** Displays the Link as a standalone component. Not part of a paragraph. */
11
13
  this.standalone = false;
12
14
  }
13
15
  connectedCallback() {
@@ -36,6 +38,6 @@ const TdsLink = class {
36
38
  }
37
39
  get host() { return getElement(this); }
38
40
  };
39
- TdsLink.style = TdsLinkStyle0;
41
+ TdsLink.style = linkCss;
40
42
 
41
43
  export { TdsLink as tds_link };
@@ -1,12 +1,21 @@
1
- import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, h, H as Host } from './index-BqRtRha-.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
4
- 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)}";
5
- const TdsMessageStyle0 = messageCss;
4
+ 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
5
 
7
6
  const TdsMessage = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
9
+ /** Variant of the component, based on current mode. */
10
+ this.modeVariant = null;
11
+ /** Variant of Message. */
12
+ this.variant = 'information';
13
+ /** Removes the icon in the Message. */
14
+ this.noIcon = false;
15
+ /** Minimal Message styling. */
16
+ this.minimal = false;
17
+ /** Role of the message component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
18
+ this.tdsAlertDialog = 'dialog';
10
19
  this.getIconName = () => {
11
20
  switch (this.variant) {
12
21
  case 'information':
@@ -21,13 +30,6 @@ const TdsMessage = class {
21
30
  return 'info';
22
31
  }
23
32
  };
24
- this.header = undefined;
25
- this.modeVariant = null;
26
- this.variant = 'information';
27
- this.noIcon = false;
28
- this.minimal = false;
29
- this.tdsAlertDialog = 'dialog';
30
- this.tdsAriaLabel = undefined;
31
33
  }
32
34
  getAriaLabel() {
33
35
  if (this.header) {
@@ -39,13 +41,13 @@ const TdsMessage = class {
39
41
  render() {
40
42
  const headerId = this.header ? `tds-message-header-${generateUniqueId()}` : undefined;
41
43
  const contentId = !this.minimal ? `tds-message-content-${generateUniqueId()}` : undefined;
42
- 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: {
44
+ 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: {
43
45
  wrapper: true,
44
46
  [this.variant]: true,
45
47
  minimal: this.minimal,
46
- } }, !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' })))))));
48
+ } }, !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' })))))));
47
49
  }
48
50
  };
49
- TdsMessage.style = TdsMessageStyle0;
51
+ TdsMessage.style = messageCss;
50
52
 
51
53
  export { TdsMessage as tds_message };
@@ -1,15 +1,28 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
- import { h as hasSlot } from './hasSlot-d52114d0.js';
3
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BqRtRha-.js';
2
+ import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
3
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
4
4
 
5
- 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}";
6
- const TdsModalStyle0 = modalCss;
5
+ 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
6
 
8
7
  const TdsModal = class {
9
8
  constructor(hostRef) {
10
9
  registerInstance(this, hostRef);
11
10
  this.tdsClose = createEvent(this, "tdsClose", 7);
12
11
  this.tdsOpen = createEvent(this, "tdsOpen", 7);
12
+ /** Disables closing Modal on clicking on overlay area. */
13
+ this.prevent = false;
14
+ /** Size of Modal */
15
+ this.size = 'md';
16
+ /** Changes the position behaviour of the actions slot. */
17
+ this.actionsPosition = 'static';
18
+ /** Shows or hides the close [X] button. */
19
+ this.closable = true;
20
+ /** Role of the modal component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
21
+ this.tdsAlertDialog = 'dialog';
22
+ // State that keeps track of show/closed state for the Modal.
23
+ this.isShown = false;
24
+ // Focus state index in focusable Elements
25
+ this.activeElementIndex = 0;
13
26
  this.handleClose = (event) => {
14
27
  const closeEvent = this.tdsClose.emit(event);
15
28
  this.returnFocusOnClose();
@@ -58,17 +71,6 @@ const TdsModal = class {
58
71
  referenceEl.addEventListener('click', this.handleReferenceElementClick);
59
72
  }
60
73
  };
61
- this.header = undefined;
62
- this.prevent = false;
63
- this.size = 'md';
64
- this.actionsPosition = 'static';
65
- this.selector = undefined;
66
- this.referenceEl = undefined;
67
- this.show = undefined;
68
- this.closable = true;
69
- this.tdsAlertDialog = 'dialog';
70
- this.isShown = false;
71
- this.activeElementIndex = 0;
72
74
  }
73
75
  /** Shows the Modal. */
74
76
  async showModal() {
@@ -132,7 +134,7 @@ const TdsModal = class {
132
134
  }
133
135
  returnFocusOnClose() {
134
136
  var _a;
135
- const referenceElement = (_a = this.referenceEl) !== null && _a !== void 0 ? _a : document.querySelector(this.selector);
137
+ let referenceElement = (_a = this.referenceEl) !== null && _a !== void 0 ? _a : document.querySelector(this.selector);
136
138
  if (!referenceElement) {
137
139
  return; // no element to return focus to
138
140
  }
@@ -150,7 +152,6 @@ const TdsModal = class {
150
152
  }
151
153
  }
152
154
  getFocusableElements() {
153
- var _a, _b;
154
155
  const focusableSelectors = [
155
156
  'a[href]',
156
157
  'button:not([disabled])',
@@ -159,7 +160,7 @@ const TdsModal = class {
159
160
  'select:not([disabled])',
160
161
  '[tabindex]:not([tabindex="-1"])',
161
162
  ].join(',');
162
- const focusableInShadowRoot = Array.from((_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(focusableSelectors)) !== null && _b !== void 0 ? _b : []);
163
+ const focusableInShadowRoot = Array.from(this.host.shadowRoot.querySelectorAll(focusableSelectors));
163
164
  const focusableInSlots = Array.from(this.host.querySelectorAll(focusableSelectors));
164
165
  /** Focusable elements */
165
166
  return [...focusableInShadowRoot, ...focusableInSlots];
@@ -208,13 +209,13 @@ const TdsModal = class {
208
209
  const usesActionsSlot = hasSlot('actions', this.host);
209
210
  const headerId = this.header ? `tds-modal-header-${generateUniqueId()}` : undefined;
210
211
  const bodyId = `tds-modal-body-${generateUniqueId()}`;
211
- return (h(Host, { key: 'ea3b7f2718b71010bbcbaf52ebaab68f9ef82b56', role: this.tdsAlertDialog, "aria-modal": "true", "aria-describedby": bodyId, "aria-labelledby": headerId, class: {
212
+ return (h(Host, { key: '4a220f8d1156cd7ef30ba0f77e33f6b368a71c5d', role: this.tdsAlertDialog, "aria-modal": "true", "aria-describedby": bodyId, "aria-labelledby": headerId, class: {
212
213
  show: this.isShown,
213
214
  hide: !this.isShown,
214
- }, 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" }))));
215
+ }, 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" }))));
215
216
  }
216
217
  get host() { return getElement(this); }
217
218
  };
218
- TdsModal.style = TdsModalStyle0;
219
+ TdsModal.style = modalCss;
219
220
 
220
221
  export { TdsModal as tds_modal };
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BqRtRha-.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 = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
8
+ /** Disables the Tab. */
9
9
  this.disabled = false;
10
10
  this.selected = false;
11
11
  }
@@ -37,6 +37,6 @@ const TdsNavigationTab = class {
37
37
  }
38
38
  get host() { return getElement(this); }
39
39
  };
40
- TdsNavigationTab.style = TdsNavigationTabStyle0;
40
+ TdsNavigationTab.style = navigationTabCss;
41
41
 
42
42
  export { TdsNavigationTab as tds_navigation_tab };
@@ -1,12 +1,23 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BqRtRha-.js';
2
2
 
3
3
  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)}";
4
- const TdsNavigationTabsStyle0 = navigationTabsCss;
5
4
 
6
5
  const TdsNavigationTabs = class {
7
6
  constructor(hostRef) {
8
7
  registerInstance(this, hostRef);
9
8
  this.tdsChange = createEvent(this, "tdsChange", 7);
9
+ /** Variant of the Tabs, primary= on white, secondary= on grey50 */
10
+ this.modeVariant = 'primary';
11
+ /** Sets the default selected Tab. */
12
+ this.defaultSelectedIndex = 0;
13
+ /** Custom left padding value for the wrapper element. */
14
+ this.leftPadding = 32;
15
+ /** Defines aria-label on left scroll button */
16
+ this.tdsScrollLeftAriaLabel = 'Scroll left';
17
+ /** Defines aria-label on right scroll button */
18
+ this.tdsScrollRightAriaLabel = 'Scroll right';
19
+ this.showLeftScroll = false;
20
+ this.showRightScroll = false;
10
21
  this.navWrapperElement = null; // reference to container with nav buttons
11
22
  this.componentWidth = 0; // visible width of this component
12
23
  this.buttonsWidth = 0; // total width of all nav items combined
@@ -29,8 +40,7 @@ const TdsNavigationTabs = class {
29
40
  this.updateScrollButtons();
30
41
  });
31
42
  });
32
- if (this.navWrapperElement)
33
- resizeObserver.observe(this.navWrapperElement);
43
+ resizeObserver.observe(this.navWrapperElement);
34
44
  };
35
45
  this.addEventListenerToTabs = () => {
36
46
  this.children = Array.from(this.host.children);
@@ -61,14 +71,6 @@ const TdsNavigationTabs = class {
61
71
  }
62
72
  });
63
73
  };
64
- this.modeVariant = 'primary';
65
- this.defaultSelectedIndex = 0;
66
- this.selectedIndex = undefined;
67
- this.leftPadding = 32;
68
- this.tdsScrollLeftAriaLabel = 'Scroll left';
69
- this.tdsScrollRightAriaLabel = 'Scroll right';
70
- this.showLeftScroll = false;
71
- this.showRightScroll = false;
72
74
  }
73
75
  /** Sets the passed tabindex as the selected Tab. */
74
76
  async selectTab(tabIndex) {
@@ -98,22 +100,16 @@ const TdsNavigationTabs = class {
98
100
  this.children[this.selectedIndex].setSelected(true);
99
101
  }
100
102
  scrollRight() {
101
- if (!this.navWrapperElement)
102
- return;
103
103
  const scroll = this.navWrapperElement.scrollLeft;
104
104
  this.navWrapperElement.scrollLeft = scroll + this.buttonsWidth;
105
105
  this.evaluateScrollButtons();
106
106
  }
107
107
  scrollLeft() {
108
- if (!this.navWrapperElement)
109
- return;
110
108
  const scroll = this.navWrapperElement.scrollLeft;
111
109
  this.navWrapperElement.scrollLeft = scroll - this.buttonsWidth;
112
110
  this.evaluateScrollButtons();
113
111
  }
114
112
  evaluateScrollButtons() {
115
- if (!this.navWrapperElement)
116
- return;
117
113
  const scroll = this.navWrapperElement.scrollLeft;
118
114
  this.showRightScroll = scroll <= this.scrollWidth;
119
115
  this.showLeftScroll = scroll > 0;
@@ -179,21 +175,21 @@ const TdsNavigationTabs = class {
179
175
  this.removeEventListenerFromTabs();
180
176
  }
181
177
  render() {
182
- return (h(Host, { key: '3e4eb6108e33a2adb56334746c7ba9d264c493fe', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'adbc2c78468d0edb2a3cdca6f5218dfb7eead4cf', class: "wrapper", ref: (el) => {
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
179
  this.navWrapperElement = el;
184
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '682437d69fbcfece6fbb7fb5add8f02b0f9e42ea', "aria-label": this.tdsScrollLeftAriaLabel, class: {
180
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '402e0ca33fa71dced98cf8d86e26e3dba312fa7d', "aria-label": this.tdsScrollLeftAriaLabel, class: {
185
181
  'scroll-left-button': true,
186
182
  'show': this.showLeftScroll,
187
- }, 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: {
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
184
  'scroll-right-button': true,
189
185
  'show': this.showRightScroll,
190
- }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '953912a65fa7e4f67633c8ea0e30e8883f5af641', name: "chevron_right", size: "20px" })))));
186
+ }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '26f84d67bc4b1eb04668464a74b655db1953d999', name: "chevron_right", size: "20px" })))));
191
187
  }
192
188
  get host() { return getElement(this); }
193
189
  static get watchers() { return {
194
190
  "selectedIndex": ["handleSelectedIndexUpdate"]
195
191
  }; }
196
192
  };
197
- TdsNavigationTabs.style = TdsNavigationTabsStyle0;
193
+ TdsNavigationTabs.style = navigationTabsCss;
198
194
 
199
195
  export { TdsNavigationTabs as tds_navigation_tabs };
@@ -1,25 +1,33 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
- import { i as inheritAttributes } from './inheritAttributes-d21e267b.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BqRtRha-.js';
2
+ import { i as inheritAttributes } from './inheritAttributes-CF8bH08v.js';
3
3
 
4
4
  const popoverCanvasCss = ".tds-popover-canvas.sc-tds-popover-canvas{box-sizing:border-box;display:inline-block;color:var(--tds-popover-canvas-color);background-color:var(--tds-popover-canvas-background);box-shadow:var(--tds-popover-canvas-box-shadow);border-radius:4px;z-index:900}.tds-popover-canvas.sc-tds-popover-canvas *.sc-tds-popover-canvas{box-sizing:border-box}";
5
- const TdsPopoverCanvasStyle0 = popoverCanvasCss;
6
5
 
7
6
  const TdsPopoverCanvas = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
10
- this.inheritedAttributes = {};
11
- this.selector = undefined;
12
- this.referenceEl = undefined;
9
+ /** Decides if the component should be visible from the start. */
13
10
  this.defaultShow = false;
11
+ /** Controls whether the Popover is shown or not. If this is set hiding and showing
12
+ * will be decided by this prop and will need to be controlled from the outside. This
13
+ * also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
14
+ */
14
15
  this.show = null;
16
+ /** Decides the placement of the Popover Canvas. See https://popper.js.org/docs/v2/constructors/#placement */
15
17
  this.placement = 'auto';
18
+ /** Sets the offset skidding */
16
19
  this.offsetSkidding = 0;
20
+ /** Whether the popover should animate when being opened/closed or not */
17
21
  this.animation = 'none';
22
+ /** Sets the offset distance */
18
23
  this.offsetDistance = 8;
24
+ /** Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/ */
19
25
  this.modifiers = [];
26
+ /** Role of the popover canvas component. Can be either 'alertdialog' for important messages that require immediate attention, or 'dialog' for regular messages. */
20
27
  this.tdsAlertDialog = 'dialog';
28
+ /** Mode variant of the component, based on current mode. */
21
29
  this.modeVariant = null;
22
- this.childRef = undefined;
30
+ this.inheritedAttributes = [];
23
31
  }
24
32
  /** Property for closing popover programmatically */
25
33
  async close() {
@@ -31,17 +39,17 @@ const TdsPopoverCanvas = class {
31
39
  }
32
40
  render() {
33
41
  var _a;
34
- return (h(Host, { key: 'a4203920290fc5778952324bd349b136a2c3dce8', class: {
42
+ return (h(Host, { key: '8f22b74f8df985de4505b1472cf47b621d5c515e', class: {
35
43
  [`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
36
- } }, h("tds-popover-core", Object.assign({ key: 'cab065d1bfbd9a952e7662541de050a9a67c90bb', role: this.tdsAlertDialog }, this.inheritedAttributes, { class: {
44
+ } }, h("tds-popover-core", Object.assign({ key: 'a7d3fed2b26cd2dc532e9e78413828d52b28b21e', role: this.tdsAlertDialog }, this.inheritedAttributes, { class: {
37
45
  'tds-popover-canvas': true,
38
46
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
39
47
  }, selector: this.selector, referenceEl: this.referenceEl, show: this.show, placement: this.placement, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, modifiers: this.modifiers, trigger: 'click', ref: (el) => {
40
48
  this.childRef = el;
41
- }, defaultShow: this.defaultShow, animation: this.animation }), h("div", { key: 'cc05cad76faaf82ec2f50c748b93092667aff374' }, h("slot", { key: '36ebe3e4eb4c9f11d885b0a609422f8cc57a5f7d' })))));
49
+ }, defaultShow: this.defaultShow, animation: this.animation }), h("div", { key: '3c1fde8225ca64b259798f763b8d2264346c246e' }, h("slot", { key: 'e133b76f8088a4b572c8bb69792bc3fa6d652da9' })))));
42
50
  }
43
51
  get host() { return getElement(this); }
44
52
  };
45
- TdsPopoverCanvas.style = TdsPopoverCanvasStyle0;
53
+ TdsPopoverCanvas.style = popoverCanvasCss;
46
54
 
47
55
  export { TdsPopoverCanvas as tds_popover_canvas };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BqRtRha-.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
4
4
  var top = 'top';
5
5
  var bottom = 'bottom';
@@ -144,7 +144,7 @@ function effect$2(_ref2) {
144
144
  } // eslint-disable-next-line import/no-unused-modules
145
145
 
146
146
 
147
- const applyStyles$1 = {
147
+ var applyStyles$1 = {
148
148
  name: 'applyStyles',
149
149
  enabled: true,
150
150
  phase: 'write',
@@ -459,7 +459,7 @@ function effect$1(_ref2) {
459
459
  } // eslint-disable-next-line import/no-unused-modules
460
460
 
461
461
 
462
- const arrow$1 = {
462
+ var arrow$1 = {
463
463
  name: 'arrow',
464
464
  enabled: true,
465
465
  phase: 'main',
@@ -626,7 +626,7 @@ function computeStyles(_ref5) {
626
626
  } // eslint-disable-next-line import/no-unused-modules
627
627
 
628
628
 
629
- const computeStyles$1 = {
629
+ var computeStyles$1 = {
630
630
  name: 'computeStyles',
631
631
  enabled: true,
632
632
  phase: 'beforeWrite',
@@ -673,7 +673,7 @@ function effect(_ref) {
673
673
  } // eslint-disable-next-line import/no-unused-modules
674
674
 
675
675
 
676
- const eventListeners = {
676
+ var eventListeners = {
677
677
  name: 'eventListeners',
678
678
  enabled: true,
679
679
  phase: 'write',
@@ -983,7 +983,6 @@ function detectOverflow(state, options) {
983
983
  var popperOffsets = computeOffsets({
984
984
  reference: referenceClientRect,
985
985
  element: popperRect,
986
- strategy: 'absolute',
987
986
  placement: placement
988
987
  });
989
988
  var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
@@ -1179,7 +1178,7 @@ function flip(_ref) {
1179
1178
  } // eslint-disable-next-line import/no-unused-modules
1180
1179
 
1181
1180
 
1182
- const flip$1 = {
1181
+ var flip$1 = {
1183
1182
  name: 'flip',
1184
1183
  enabled: true,
1185
1184
  phase: 'main',
@@ -1241,7 +1240,7 @@ function hide(_ref) {
1241
1240
  } // eslint-disable-next-line import/no-unused-modules
1242
1241
 
1243
1242
 
1244
- const hide$1 = {
1243
+ var hide$1 = {
1245
1244
  name: 'hide',
1246
1245
  enabled: true,
1247
1246
  phase: 'main',
@@ -1293,7 +1292,7 @@ function offset(_ref2) {
1293
1292
  } // eslint-disable-next-line import/no-unused-modules
1294
1293
 
1295
1294
 
1296
- const offset$1 = {
1295
+ var offset$1 = {
1297
1296
  name: 'offset',
1298
1297
  enabled: true,
1299
1298
  phase: 'main',
@@ -1311,13 +1310,12 @@ function popperOffsets(_ref) {
1311
1310
  state.modifiersData[name] = computeOffsets({
1312
1311
  reference: state.rects.reference,
1313
1312
  element: state.rects.popper,
1314
- strategy: 'absolute',
1315
1313
  placement: state.placement
1316
1314
  });
1317
1315
  } // eslint-disable-next-line import/no-unused-modules
1318
1316
 
1319
1317
 
1320
- const popperOffsets$1 = {
1318
+ var popperOffsets$1 = {
1321
1319
  name: 'popperOffsets',
1322
1320
  enabled: true,
1323
1321
  phase: 'read',
@@ -1452,7 +1450,7 @@ function preventOverflow(_ref) {
1452
1450
  } // eslint-disable-next-line import/no-unused-modules
1453
1451
 
1454
1452
 
1455
- const preventOverflow$1 = {
1453
+ var preventOverflow$1 = {
1456
1454
  name: 'preventOverflow',
1457
1455
  enabled: true,
1458
1456
  phase: 'main',
@@ -1816,13 +1814,39 @@ const generateClassList = (classes) => {
1816
1814
  };
1817
1815
 
1818
1816
  const tdsPopoverCoreCss = ".sc-tds-popover-core-h{pointer-events:none;display:block}.tds-animation-enter-fade.sc-tds-popover-core-h{animation:tds-fade-in var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-enter) forwards}.tds-animation-exit-fade.sc-tds-popover-core-h{animation:tds-fade-out var(--tds-motion-duration-moderate-01) var(--tds-motion-easing-exit) forwards}.is-shown.sc-tds-popover-core-h{opacity:1;pointer-events:auto;visibility:visible}.is-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}.initially-hidden.sc-tds-popover-core-h{opacity:0;pointer-events:none;visibility:hidden}";
1819
- const TdsPopoverCoreStyle0 = tdsPopoverCoreCss;
1820
1817
 
1821
1818
  const TdsPopoverCore = class {
1822
1819
  constructor(hostRef) {
1823
1820
  registerInstance(this, hostRef);
1824
1821
  this.internalTdsShow = createEvent(this, "internalTdsShow", 4);
1825
1822
  this.internalTdsClose = createEvent(this, "internalTdsClose", 0);
1823
+ /** Decides if the component should be visible from the start. */
1824
+ this.defaultShow = false;
1825
+ /** Whether the popover should animate when being opened/closed or not */
1826
+ this.animation = 'none';
1827
+ /** Controls whether the Popover is shown or not. If this is set hiding and showing
1828
+ * will be decided by this prop and will need to be controlled from the outside. This
1829
+ * also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
1830
+ */
1831
+ this.show = null;
1832
+ /** Decides the placement of the Popover Menu */
1833
+ this.placement = 'auto';
1834
+ /** Sets the offset skidding */
1835
+ this.offsetSkidding = 0;
1836
+ /** Sets the offset distance */
1837
+ this.offsetDistance = 8;
1838
+ /** Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/ */
1839
+ this.modifiers = [];
1840
+ /** What triggers the popover to show */
1841
+ this.trigger = 'click';
1842
+ /** Decides if the popover should hide automatically.
1843
+ * Alternatevly it can be hidden externally based on emitted events. */
1844
+ this.autoHide = true;
1845
+ this.renderedShowValue = false;
1846
+ this.isShown = false;
1847
+ this.disableLogic = false;
1848
+ this.hasShownAtLeastOnce = false;
1849
+ this.openedByKeyboard = false;
1826
1850
  this.uuid = generateUniqueId();
1827
1851
  this.setIsShown = function setIsShown(isShown) {
1828
1852
  if (typeof isShown === 'function') {
@@ -1859,24 +1883,6 @@ const TdsPopoverCore = class {
1859
1883
  event.stopPropagation();
1860
1884
  this.setIsShown(false);
1861
1885
  }.bind(this);
1862
- this.selector = undefined;
1863
- this.referenceEl = undefined;
1864
- this.defaultShow = false;
1865
- this.animation = 'none';
1866
- this.show = null;
1867
- this.placement = 'auto';
1868
- this.offsetSkidding = 0;
1869
- this.offsetDistance = 8;
1870
- this.modifiers = [];
1871
- this.trigger = 'click';
1872
- this.autoHide = true;
1873
- this.renderedShowValue = false;
1874
- this.popperInstance = undefined;
1875
- this.target = undefined;
1876
- this.isShown = false;
1877
- this.disableLogic = false;
1878
- this.hasShownAtLeastOnce = false;
1879
- this.openedByKeyboard = false;
1880
1886
  }
1881
1887
  /** Property for closing popover programmatically */
1882
1888
  async close() {
@@ -1940,7 +1946,6 @@ const TdsPopoverCore = class {
1940
1946
  }
1941
1947
  }
1942
1948
  initialize({ referenceEl, trigger, }) {
1943
- var _a, _b, _c, _d, _e, _f;
1944
1949
  this.cleanUp();
1945
1950
  if (typeof referenceEl !== 'undefined') {
1946
1951
  this.target = referenceEl;
@@ -1967,9 +1972,9 @@ const TdsPopoverCore = class {
1967
1972
  console.error(`Could not initialize: reference element not found.`);
1968
1973
  }
1969
1974
  if (trigger === 'click' && this.show === null) {
1970
- (_a = this.target) === null || _a === void 0 ? void 0 : _a.addEventListener('click', this.onClickTarget);
1975
+ this.target.addEventListener('click', this.onClickTarget);
1971
1976
  // Also handle keyboard activation via Enter and Space
1972
- (_b = this.target) === null || _b === void 0 ? void 0 : _b.addEventListener('keydown', (e) => {
1977
+ this.target.addEventListener('keydown', (e) => {
1973
1978
  if (e.key === 'Enter' || e.key === ' ') {
1974
1979
  e.preventDefault();
1975
1980
  this.openedByKeyboard = true;
@@ -1979,11 +1984,11 @@ const TdsPopoverCore = class {
1979
1984
  }
1980
1985
  if (trigger === 'hover' || trigger === 'hover-popover') {
1981
1986
  // For tabbing over element
1982
- (_c = this.target) === null || _c === void 0 ? void 0 : _c.addEventListener('focusin', this.handleShow);
1983
- (_d = this.target) === null || _d === void 0 ? void 0 : _d.addEventListener('focusout', this.handleHide);
1987
+ this.target.addEventListener('focusin', this.handleShow);
1988
+ this.target.addEventListener('focusout', this.handleHide);
1984
1989
  // For hovering over element with selector
1985
- (_e = this.target) === null || _e === void 0 ? void 0 : _e.addEventListener('mouseenter', this.handleShow);
1986
- (_f = this.target) === null || _f === void 0 ? void 0 : _f.addEventListener('mouseleave', this.handleHide);
1990
+ this.target.addEventListener('mouseenter', this.handleShow);
1991
+ this.target.addEventListener('mouseleave', this.handleHide);
1987
1992
  // For hovering over Popover itself
1988
1993
  if (trigger === 'hover-popover') {
1989
1994
  this.host.addEventListener('mouseenter', this.handleShow);
@@ -2025,11 +2030,10 @@ const TdsPopoverCore = class {
2025
2030
  }
2026
2031
  }
2027
2032
  componentDidRender() {
2028
- var _a;
2029
2033
  if (this.isShown && !this.renderedShowValue && !this.disableLogic) {
2030
2034
  // Here we update the popper position since its position is wrong
2031
2035
  // before it is rendered.
2032
- (_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.update();
2036
+ this.popperInstance.update();
2033
2037
  }
2034
2038
  this.renderedShowValue = this.isShown;
2035
2039
  }
@@ -2045,7 +2049,7 @@ const TdsPopoverCore = class {
2045
2049
  'tds-animation-exit-fade': !this.isShown && this.animation === 'fade',
2046
2050
  };
2047
2051
  const classList = generateClassList(classes);
2048
- return (h(Host, { key: '60b658912943cddce1f2614e82f0c7c5ad69ae8b', role: this.host.getAttribute('role'), class: classList, id: `tds-popover-core-${this.uuid}` }, h("slot", { key: '0c4afc0d1a7877645239ccc17a28d50b0eb338e5' })));
2052
+ return (h(Host, { key: '5c557610103827aedbabbd37a79730580d15ca2d', role: this.host.getAttribute('role'), class: classList, id: `tds-popover-core-${this.uuid}` }, h("slot", { key: '487a937b3c9d87b91425f6bd9eb88bc3fa85d7df' })));
2049
2053
  }
2050
2054
  get host() { return getElement(this); }
2051
2055
  static get watchers() { return {
@@ -2055,6 +2059,6 @@ const TdsPopoverCore = class {
2055
2059
  "isShown": ["onIsShownChange"]
2056
2060
  }; }
2057
2061
  };
2058
- TdsPopoverCore.style = TdsPopoverCoreStyle0;
2062
+ TdsPopoverCore.style = tdsPopoverCoreCss;
2059
2063
 
2060
2064
  export { TdsPopoverCore as tds_popover_core };