@scania/tegel 0.0.10 → 0.0.12

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 (381) hide show
  1. package/dist/cjs/index-ee36ffa1.js +4 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/tds-banner.cjs.entry.js +6 -6
  4. package/dist/cjs/tds-body-cell_2.cjs.entry.js +4 -8
  5. package/dist/cjs/tds-button.cjs.entry.js +22 -16
  6. package/dist/cjs/tds-card.cjs.entry.js +3 -3
  7. package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
  8. package/dist/cjs/tds-chip.cjs.entry.js +2 -2
  9. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
  10. package/dist/cjs/tds-datetime.cjs.entry.js +3 -1
  11. package/dist/cjs/tds-dropdown-option.cjs.entry.js +1 -1
  12. package/dist/cjs/tds-dropdown.cjs.entry.js +36 -14
  13. package/dist/cjs/tds-footer.cjs.entry.js +2 -2
  14. package/dist/cjs/tds-header-cell.cjs.entry.js +5 -5
  15. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
  16. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +6 -6
  17. package/dist/cjs/tds-header-dropdown.cjs.entry.js +2 -2
  18. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  19. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  20. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
  21. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  22. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  23. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -2
  25. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  26. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-link.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  29. package/dist/cjs/tds-modal.cjs.entry.js +2 -2
  30. package/dist/cjs/tds-popover-canvas.cjs.entry.js +10 -80
  31. package/dist/{components/popper.js → cjs/tds-popover-core.cjs.entry.js} +160 -1
  32. package/dist/cjs/tds-popover-menu.cjs.entry.js +12 -62
  33. package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
  36. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
  37. package/dist/cjs/tds-side-menu.cjs.entry.js +7 -3
  38. package/dist/cjs/tds-slider.cjs.entry.js +6 -2
  39. package/dist/cjs/tds-stepper.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +1 -3
  41. package/dist/cjs/tds-table-body.cjs.entry.js +6 -9
  42. package/dist/cjs/tds-table-header.cjs.entry.js +5 -5
  43. package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
  44. package/dist/cjs/tds-table.cjs.entry.js +14 -10
  45. package/dist/cjs/tds-text-field.cjs.entry.js +2 -2
  46. package/dist/cjs/tds-toast.cjs.entry.js +5 -5
  47. package/dist/cjs/tds-toggle.cjs.entry.js +1 -1
  48. package/dist/cjs/tds-tooltip.cjs.entry.js +41 -82
  49. package/dist/cjs/tegel.cjs.js +1 -1
  50. package/dist/cjs/{utils-41de5fb2.js → utils-a908536d.js} +1 -0
  51. package/dist/collection/collection-manifest.json +1 -0
  52. package/dist/collection/components/accordion/accordion-item/accordion-item.js +1 -0
  53. package/dist/collection/components/accordion/accordion.js +3 -0
  54. package/dist/collection/components/banner/banner.css +1 -1
  55. package/dist/collection/components/banner/banner.js +11 -11
  56. package/dist/collection/components/banner/banner.stories.js +8 -8
  57. package/dist/collection/components/block/block.js +3 -0
  58. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +3 -0
  59. package/dist/collection/components/breadcrumbs/breadcrumbs.js +3 -0
  60. package/dist/collection/components/button/button.css +35 -16
  61. package/dist/collection/components/button/button.js +43 -18
  62. package/dist/collection/components/button/button.stories.js +26 -8
  63. package/dist/collection/components/card/card.css +3 -0
  64. package/dist/collection/components/card/card.js +1 -1
  65. package/dist/collection/components/card/card.stories.js +2 -1
  66. package/dist/collection/components/chip/chip.js +2 -2
  67. package/dist/collection/components/datetime/datetime.js +38 -2
  68. package/dist/collection/components/datetime/datetime.stories.js +27 -3
  69. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +4 -1
  70. package/dist/collection/components/dropdown/dropdown.js +45 -14
  71. package/dist/collection/components/footer/footer-group/footer-group.js +3 -0
  72. package/dist/collection/components/footer/footer-item/footer-item.js +3 -0
  73. package/dist/collection/components/footer/footer.css +1 -0
  74. package/dist/collection/components/header/core-header-item/core-header-item.js +3 -0
  75. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +3 -0
  76. package/dist/collection/components/header/header-dropdown/header-dropdown.css +1 -1
  77. package/dist/collection/components/header/header-dropdown/header-dropdown.js +1 -0
  78. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.css +2 -2
  79. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +10 -7
  80. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +3 -3
  81. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +7 -4
  82. package/dist/collection/components/header/header-item/header-item.js +3 -0
  83. package/dist/collection/components/header/header-launcher/header-launcher.css +1 -1
  84. package/dist/collection/components/header/header-launcher/header-launcher.js +3 -0
  85. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +3 -0
  86. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +3 -0
  87. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +3 -0
  88. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +4 -1
  89. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +4 -1
  90. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +3 -0
  91. package/dist/collection/components/header/header-title/header-title.js +3 -0
  92. package/dist/collection/components/header/header.js +1 -0
  93. package/dist/collection/components/header/header.stories.js +2 -0
  94. package/dist/collection/components/link/link.js +4 -1
  95. package/dist/collection/components/link/link.stories.js +5 -3
  96. package/dist/collection/components/message/message.js +7 -7
  97. package/dist/collection/components/message/message.stories.js +6 -6
  98. package/dist/collection/components/modal/modal.css +2 -2
  99. package/dist/collection/components/popover-canvas/popover-canvas.css +4 -8
  100. package/dist/collection/components/popover-canvas/popover-canvas.js +13 -102
  101. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +8 -8
  102. package/dist/collection/components/popover-core/popover-core.js +390 -0
  103. package/dist/collection/components/popover-menu/popover-menu.css +3 -9
  104. package/dist/collection/components/popover-menu/popover-menu.js +17 -80
  105. package/dist/collection/components/popover-menu/popover-menu.stories.js +3 -3
  106. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
  107. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +1 -1
  108. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +1 -1
  109. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +1 -1
  110. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +1 -1
  111. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.css +8 -1
  112. package/dist/collection/components/side-menu/side-menu.css +12 -11
  113. package/dist/collection/components/side-menu/side-menu.js +9 -5
  114. package/dist/collection/components/slider/slider.js +5 -1
  115. package/dist/collection/components/stepper/stepper.js +3 -0
  116. package/dist/collection/components/table/table/table.js +22 -15
  117. package/dist/collection/components/table/table-body/table-body.js +10 -13
  118. package/dist/collection/components/table/table-body-cell/table-body-cell.js +3 -0
  119. package/dist/collection/components/table/table-body-row/table-body-row.css +2 -2
  120. package/dist/collection/components/table/table-body-row/table-body-row.js +7 -9
  121. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +4 -0
  122. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +1 -2
  123. package/dist/collection/components/table/table-component-basic.stories.js +1 -1
  124. package/dist/collection/components/table/table-component-batch-actions.stories.js +2 -2
  125. package/dist/collection/components/table/table-component-bodydata.stories.js +1 -1
  126. package/dist/collection/components/table/table-component-custom-width.stories.js +1 -1
  127. package/dist/collection/components/table/table-component-event-listeners.stories.js +1 -1
  128. package/dist/collection/components/table/table-component-expandable-rows.stories.js +2 -2
  129. package/dist/collection/components/table/table-component-filtering.stories.js +6 -4
  130. package/dist/collection/components/table/table-component-multiselect.stories.js +5 -5
  131. package/dist/collection/components/table/table-component-pagination.stories.js +1 -1
  132. package/dist/collection/components/table/table-component-sorting.stories.js +1 -1
  133. package/dist/collection/components/table/table-header/table-header.js +10 -7
  134. package/dist/collection/components/table/table-header-cell/table-header-cell.js +7 -7
  135. package/dist/collection/components/table/table-toolbar/table-toolbar.js +4 -4
  136. package/dist/collection/components/table/table.filtering.spec.js +1 -1
  137. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +3 -0
  138. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +3 -0
  139. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +3 -0
  140. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +3 -0
  141. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +3 -0
  142. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +3 -0
  143. package/dist/collection/components/text-field/text-field.css +8 -6
  144. package/dist/collection/components/toast/toast.css +1 -1
  145. package/dist/collection/components/toast/toast.js +5 -5
  146. package/dist/collection/components/toast/toast.stories.js +6 -6
  147. package/dist/collection/components/tooltip/tooltip.css +1 -1
  148. package/dist/collection/components/tooltip/tooltip.js +45 -109
  149. package/dist/collection/components/tooltip/tooltip.stories.js +9 -1
  150. package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +1 -1
  151. package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +4 -3
  152. package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +1 -1
  153. package/dist/collection/stories/tegel.stories.js +1 -1
  154. package/dist/components/header-dropdown-list-item.js +3 -3
  155. package/dist/components/header-dropdown-list.js +7 -7
  156. package/dist/components/popover-canvas.js +20 -89
  157. package/dist/{esm/popper-15e448b4.js → components/popover-core.js} +184 -1
  158. package/dist/components/table-body-row.js +5 -10
  159. package/dist/components/tds-banner.js +6 -6
  160. package/dist/components/tds-button.js +23 -17
  161. package/dist/components/tds-card.js +2 -2
  162. package/dist/components/tds-chip.js +1 -1
  163. package/dist/components/tds-datetime.js +5 -1
  164. package/dist/components/tds-dropdown-option.js +1 -1
  165. package/dist/components/tds-dropdown.js +35 -13
  166. package/dist/components/tds-footer.js +1 -1
  167. package/dist/components/tds-header-cell.js +7 -7
  168. package/dist/components/tds-header-dropdown.js +15 -9
  169. package/dist/components/tds-header-launcher-grid.js +1 -1
  170. package/dist/components/tds-header-launcher-list-item.js +1 -1
  171. package/dist/components/tds-header-launcher-list.js +1 -1
  172. package/dist/components/tds-header-launcher.js +17 -11
  173. package/dist/components/tds-link.js +1 -1
  174. package/dist/components/tds-message.js +4 -4
  175. package/dist/components/tds-modal.js +1 -1
  176. package/dist/components/tds-popover-core.d.ts +11 -0
  177. package/dist/components/tds-popover-core.js +6 -0
  178. package/dist/components/tds-popover-menu.js +22 -70
  179. package/dist/components/tds-side-menu-overlay.js +1 -1
  180. package/dist/components/tds-side-menu.js +10 -6
  181. package/dist/components/tds-slider.js +5 -1
  182. package/dist/components/tds-table-body-row-expandable.js +1 -3
  183. package/dist/components/tds-table-body.js +8 -11
  184. package/dist/components/tds-table-header.js +7 -7
  185. package/dist/components/tds-table-toolbar.js +3 -3
  186. package/dist/components/tds-table.js +16 -12
  187. package/dist/components/tds-text-field.js +1 -1
  188. package/dist/components/tds-toast.js +5 -5
  189. package/dist/components/tds-tooltip.js +51 -90
  190. package/dist/components/utils.js +1 -1
  191. package/dist/esm/index-23ee700b.js +4 -0
  192. package/dist/esm/loader.js +1 -1
  193. package/dist/esm/tds-banner.entry.js +6 -6
  194. package/dist/esm/tds-body-cell_2.entry.js +4 -8
  195. package/dist/esm/tds-button.entry.js +22 -16
  196. package/dist/esm/tds-card.entry.js +3 -3
  197. package/dist/esm/tds-checkbox.entry.js +1 -1
  198. package/dist/esm/tds-chip.entry.js +2 -2
  199. package/dist/esm/tds-core-header-item_2.entry.js +1 -1
  200. package/dist/esm/tds-datetime.entry.js +3 -1
  201. package/dist/esm/tds-dropdown-option.entry.js +1 -1
  202. package/dist/esm/tds-dropdown.entry.js +36 -14
  203. package/dist/esm/tds-footer.entry.js +2 -2
  204. package/dist/esm/tds-header-cell.entry.js +5 -5
  205. package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
  206. package/dist/esm/tds-header-dropdown-list.entry.js +6 -6
  207. package/dist/esm/tds-header-dropdown.entry.js +2 -2
  208. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  209. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  210. package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
  211. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  212. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  213. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  214. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  215. package/dist/esm/tds-header-launcher.entry.js +2 -2
  216. package/dist/esm/tds-header.entry.js +1 -1
  217. package/dist/esm/tds-link.entry.js +1 -1
  218. package/dist/esm/tds-message.entry.js +3 -3
  219. package/dist/esm/tds-modal.entry.js +2 -2
  220. package/dist/esm/tds-popover-canvas.entry.js +10 -80
  221. package/dist/{cjs/popper-d7adcfc6.js → esm/tds-popover-core.entry.js} +155 -2
  222. package/dist/esm/tds-popover-menu.entry.js +12 -62
  223. package/dist/esm/tds-radio-button.entry.js +1 -1
  224. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  225. package/dist/esm/tds-side-menu-item.entry.js +1 -1
  226. package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
  227. package/dist/esm/tds-side-menu.entry.js +7 -3
  228. package/dist/esm/tds-slider.entry.js +6 -2
  229. package/dist/esm/tds-stepper.entry.js +1 -1
  230. package/dist/esm/tds-table-body-row-expandable.entry.js +1 -3
  231. package/dist/esm/tds-table-body.entry.js +6 -9
  232. package/dist/esm/tds-table-header.entry.js +5 -5
  233. package/dist/esm/tds-table-toolbar.entry.js +2 -2
  234. package/dist/esm/tds-table.entry.js +14 -10
  235. package/dist/esm/tds-text-field.entry.js +2 -2
  236. package/dist/esm/tds-toast.entry.js +5 -5
  237. package/dist/esm/tds-toggle.entry.js +1 -1
  238. package/dist/esm/tds-tooltip.entry.js +42 -83
  239. package/dist/esm/tegel.js +1 -1
  240. package/dist/esm/{utils-74fb1bed.js → utils-8544b156.js} +1 -1
  241. package/dist/tegel/{p-347414ad.entry.js → p-0ae649c3.entry.js} +1 -1
  242. package/dist/tegel/p-129ad2a4.entry.js +1 -0
  243. package/dist/tegel/{p-a4e3eb95.entry.js → p-13db5228.entry.js} +1 -1
  244. package/dist/tegel/{p-1acb8407.entry.js → p-1f43d4f0.entry.js} +1 -1
  245. package/dist/tegel/p-24488e72.entry.js +1 -0
  246. package/dist/tegel/{p-9f1e1cc0.entry.js → p-284d950d.entry.js} +1 -1
  247. package/dist/tegel/p-28a07d46.entry.js +1 -0
  248. package/dist/tegel/{p-e4dc07bb.entry.js → p-31848a92.entry.js} +1 -1
  249. package/dist/tegel/p-39e17b32.entry.js +1 -0
  250. package/dist/tegel/{p-aa443b06.entry.js → p-3d28689e.entry.js} +1 -1
  251. package/dist/tegel/{p-99837611.entry.js → p-400282e5.entry.js} +1 -1
  252. package/dist/tegel/{p-9b29bf68.entry.js → p-42990ec0.entry.js} +1 -1
  253. package/dist/tegel/p-5e0a3931.entry.js +1 -0
  254. package/dist/tegel/p-5e4b20ea.entry.js +1 -0
  255. package/dist/tegel/p-5ed7d376.entry.js +1 -0
  256. package/dist/tegel/{p-c5ab3a3b.entry.js → p-656add37.entry.js} +1 -1
  257. package/dist/tegel/{p-54e56257.entry.js → p-6654e59d.entry.js} +1 -1
  258. package/dist/tegel/p-6caac101.entry.js +1 -0
  259. package/dist/tegel/{p-9dc14c21.js → p-72fced16.js} +1 -1
  260. package/dist/tegel/p-76c000e3.entry.js +1 -0
  261. package/dist/tegel/p-7a03d28c.entry.js +1 -0
  262. package/dist/tegel/p-7c35af1b.entry.js +1 -0
  263. package/dist/tegel/p-7ccff0a5.entry.js +1 -0
  264. package/dist/tegel/p-81915088.entry.js +1 -0
  265. package/dist/tegel/{p-9fe0d654.entry.js → p-823399ef.entry.js} +1 -1
  266. package/dist/tegel/{p-8ba77ea3.entry.js → p-84d231a5.entry.js} +1 -1
  267. package/dist/tegel/{p-fc6da19c.entry.js → p-86028bac.entry.js} +1 -1
  268. package/dist/tegel/{p-b5424456.entry.js → p-88807dac.entry.js} +1 -1
  269. package/dist/tegel/p-88d7c4c1.entry.js +1 -0
  270. package/dist/tegel/p-8e82be94.entry.js +1 -0
  271. package/dist/tegel/p-9f8aac62.entry.js +1 -0
  272. package/dist/tegel/p-a8cc3901.entry.js +1 -0
  273. package/dist/tegel/{p-f9d04ff2.entry.js → p-aa7e2f79.entry.js} +1 -1
  274. package/dist/tegel/p-afde572b.entry.js +1 -0
  275. package/dist/tegel/p-b63b9baa.entry.js +1 -0
  276. package/dist/tegel/p-c0ac4d0a.entry.js +1 -0
  277. package/dist/tegel/p-c2566d65.entry.js +1 -0
  278. package/dist/tegel/p-d0f15f73.entry.js +1 -0
  279. package/dist/tegel/{p-10337d3f.entry.js → p-d2ca7f58.entry.js} +1 -1
  280. package/dist/tegel/p-d3c3633b.entry.js +1 -0
  281. package/dist/tegel/p-d4c25eb6.entry.js +1 -0
  282. package/dist/tegel/{p-e24835ba.entry.js → p-d60cb9e5.entry.js} +1 -1
  283. package/dist/tegel/p-d735c39f.entry.js +1 -0
  284. package/dist/tegel/{p-e3f8fc68.entry.js → p-df318a85.entry.js} +1 -1
  285. package/dist/tegel/p-e36ceefe.entry.js +1 -0
  286. package/dist/tegel/{p-c15bbe0b.entry.js → p-f682dd0b.entry.js} +1 -1
  287. package/dist/tegel/p-fe4ac74c.entry.js +1 -0
  288. package/dist/tegel/tegel.css +2 -2
  289. package/dist/tegel/tegel.esm.js +1 -1
  290. package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +1 -0
  291. package/dist/types/components/accordion/accordion.d.ts +3 -0
  292. package/dist/types/components/banner/banner.d.ts +3 -3
  293. package/dist/types/components/banner/banner.stories.d.ts +2 -2
  294. package/dist/types/components/block/block.d.ts +3 -0
  295. package/dist/types/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +3 -0
  296. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +3 -0
  297. package/dist/types/components/button/button.d.ts +6 -3
  298. package/dist/types/components/button/button.stories.d.ts +16 -2
  299. package/dist/types/components/chip/chip.d.ts +1 -1
  300. package/dist/types/components/datetime/datetime.d.ts +5 -1
  301. package/dist/types/components/datetime/datetime.stories.d.ts +26 -0
  302. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +4 -1
  303. package/dist/types/components/dropdown/dropdown.d.ts +5 -1
  304. package/dist/types/components/footer/footer-group/footer-group.d.ts +3 -0
  305. package/dist/types/components/footer/footer-item/footer-item.d.ts +3 -0
  306. package/dist/types/components/header/core-header-item/core-header-item.d.ts +3 -0
  307. package/dist/types/components/header/header-brand-symbol/header-brand-symbol.d.ts +3 -0
  308. package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +1 -0
  309. package/dist/types/components/header/header-dropdown-list/header-dropdown-list.d.ts +5 -1
  310. package/dist/types/components/header/header-dropdown-list-item/header-dropdown-list-item.d.ts +5 -2
  311. package/dist/types/components/header/header-item/header-item.d.ts +3 -0
  312. package/dist/types/components/header/header-launcher/header-launcher.d.ts +3 -0
  313. package/dist/types/components/header/header-launcher-grid/header-launcher-grid.d.ts +3 -0
  314. package/dist/types/components/header/header-launcher-grid-item/header-launcher-grid-item.d.ts +3 -0
  315. package/dist/types/components/header/header-launcher-grid-title/header-launcher-grid-title.d.ts +3 -0
  316. package/dist/types/components/header/header-launcher-list/header-launcher-list.d.ts +3 -0
  317. package/dist/types/components/header/header-launcher-list-item/header-launcher-list-item.d.ts +3 -0
  318. package/dist/types/components/header/header-launcher-list-title/header-launcher-list-title.d.ts +3 -0
  319. package/dist/types/components/header/header-title/header-title.d.ts +3 -0
  320. package/dist/types/components/header/header.d.ts +1 -0
  321. package/dist/types/components/header/header.stories.d.ts +1 -0
  322. package/dist/types/components/link/link.d.ts +3 -0
  323. package/dist/types/components/message/message.d.ts +3 -3
  324. package/dist/types/components/message/message.stories.d.ts +2 -2
  325. package/dist/types/components/popover-canvas/popover-canvas.d.ts +7 -13
  326. package/dist/types/components/popover-core/popover-core.d.ts +46 -0
  327. package/dist/types/components/popover-menu/popover-menu.d.ts +12 -10
  328. package/dist/types/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.d.ts +1 -1
  329. package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +1 -1
  330. package/dist/types/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.d.ts +1 -1
  331. package/dist/types/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.d.ts +1 -1
  332. package/dist/types/components/side-menu/side-menu-item/side-menu-item.d.ts +1 -1
  333. package/dist/types/components/side-menu/side-menu.d.ts +1 -1
  334. package/dist/types/components/stepper/stepper.d.ts +3 -0
  335. package/dist/types/components/table/table/table.d.ts +9 -6
  336. package/dist/types/components/table/table-body/table-body.d.ts +4 -4
  337. package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +3 -0
  338. package/dist/types/components/table/table-body-row/table-body-row.d.ts +4 -2
  339. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +1 -0
  340. package/dist/types/components/table/table-component-multiselect.stories.d.ts +2 -2
  341. package/dist/types/components/table/table-header/table-header.d.ts +5 -2
  342. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +2 -2
  343. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +1 -1
  344. package/dist/types/components/tabs/folder-tabs/folder-tab/folder-tab.d.ts +3 -0
  345. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +3 -0
  346. package/dist/types/components/tabs/inline-tabs/inline-tab/inline-tab.d.ts +3 -0
  347. package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +3 -0
  348. package/dist/types/components/tabs/navigation-tabs/navigation-tab/navigation-tab.d.ts +3 -0
  349. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +3 -0
  350. package/dist/types/components/toast/toast.d.ts +1 -1
  351. package/dist/types/components/toast/toast.stories.d.ts +2 -2
  352. package/dist/types/components/tooltip/tooltip.d.ts +16 -8
  353. package/dist/types/components.d.ts +172 -51
  354. package/package.json +4 -3
  355. package/dist/tegel/p-06093e3e.entry.js +0 -1
  356. package/dist/tegel/p-0995ca77.entry.js +0 -1
  357. package/dist/tegel/p-19fb9ad5.entry.js +0 -1
  358. package/dist/tegel/p-1bac7d2e.entry.js +0 -1
  359. package/dist/tegel/p-22b2c81a.entry.js +0 -1
  360. package/dist/tegel/p-2707da38.entry.js +0 -1
  361. package/dist/tegel/p-34a06d2f.entry.js +0 -1
  362. package/dist/tegel/p-3c9865c3.entry.js +0 -1
  363. package/dist/tegel/p-40142a58.entry.js +0 -1
  364. package/dist/tegel/p-44a2664d.entry.js +0 -1
  365. package/dist/tegel/p-48136431.entry.js +0 -1
  366. package/dist/tegel/p-49a084db.entry.js +0 -1
  367. package/dist/tegel/p-4c809685.entry.js +0 -1
  368. package/dist/tegel/p-6200fc54.entry.js +0 -1
  369. package/dist/tegel/p-674009bd.entry.js +0 -1
  370. package/dist/tegel/p-6bee84a2.entry.js +0 -1
  371. package/dist/tegel/p-73a8f43e.entry.js +0 -1
  372. package/dist/tegel/p-7c0dcd00.js +0 -1
  373. package/dist/tegel/p-8c194dd8.entry.js +0 -1
  374. package/dist/tegel/p-95e170f3.entry.js +0 -1
  375. package/dist/tegel/p-a34bb501.entry.js +0 -1
  376. package/dist/tegel/p-afe13096.entry.js +0 -1
  377. package/dist/tegel/p-c5588508.entry.js +0 -1
  378. package/dist/tegel/p-d5bd9b2e.entry.js +0 -1
  379. package/dist/tegel/p-e95059e9.entry.js +0 -1
  380. package/dist/tegel/p-f36ec03b.entry.js +0 -1
  381. package/dist/tegel/p-f795bc11.entry.js +0 -1
@@ -18,28 +18,37 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
18
18
  this.children = Array.from(this.host.children);
19
19
  }
20
20
  };
21
+ this.componentWillRender = () => {
22
+ if (!this.options) {
23
+ this.children = Array.from(this.host.children);
24
+ }
25
+ };
21
26
  this.setDefaultOption = () => {
22
27
  this.children = this.children.map((element) => {
23
28
  if (this.multiselect) {
24
- this.defaultValue.split(',').forEach((defaultValue) => {
25
- if (defaultValue === element.value) {
29
+ this.defaultValue.split(',').forEach((value) => {
30
+ if (value === element.value) {
26
31
  element.setSelected(true);
27
32
  this.selection = this.selection
28
33
  ? [...this.selection, { value: element.value, label: element.textContent }]
29
34
  : [{ value: element.value, label: element.textContent }];
30
35
  }
36
+ else {
37
+ element.setSelected(false);
38
+ }
31
39
  });
32
40
  }
33
41
  else {
34
42
  if (this.defaultValue === element.value) {
35
- this.reset();
36
43
  element.setSelected(true);
37
44
  this.selection = [{ value: element.value, label: element.textContent }];
38
45
  }
46
+ else {
47
+ element.setSelected(false);
48
+ }
39
49
  }
40
50
  return element;
41
51
  });
42
- this.handleChange();
43
52
  };
44
53
  this.getOpenDirection = () => {
45
54
  var _a, _b, _c, _d, _e;
@@ -64,14 +73,14 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
64
73
  this.handleFilter = (event) => {
65
74
  this.tdsInput.emit(event);
66
75
  const query = event.target.value.toLowerCase();
67
- /* Check if the query is empty, and if so show all options */
76
+ /* Check if the query is empty, and if so, show all options */
68
77
  if (query === '') {
69
78
  this.children = this.children.map((element) => {
70
79
  element.removeAttribute('hidden');
71
80
  return element;
72
81
  });
73
82
  this.filterResult = null;
74
- /* Hide the options that does not match the query */
83
+ /* Hide the options that do not match the query */
75
84
  }
76
85
  else {
77
86
  this.filterResult = this.children.filter((element) => {
@@ -118,10 +127,16 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
118
127
  this.filterResult = undefined;
119
128
  this.filterFocus = undefined;
120
129
  }
121
- /** Method that resets the Dropdown. */
130
+ /** Method that resets the Dropdown, marks all children as non-selected and resets the value to null. */
122
131
  async reset() {
123
- this.children.forEach((element) => element.setSelected(false));
132
+ this.children = Array.from(this.host.children)
133
+ .filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION')
134
+ .map((element) => {
135
+ element.setSelected(false);
136
+ return element;
137
+ });
124
138
  this.selection = null;
139
+ this.host.setAttribute('value', null);
125
140
  this.handleChange();
126
141
  }
127
142
  /** Method for setting the value of the Dropdown. */
@@ -133,7 +148,9 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
133
148
  }
134
149
  else {
135
150
  this.selection = [{ value: newValue, label: newValueLabel }];
136
- this.children = this.children.map((element) => {
151
+ this.children = Array.from(this.host.children)
152
+ .filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION')
153
+ .map((element) => {
137
154
  if (element.value !== newValue) {
138
155
  element.setSelected(false);
139
156
  }
@@ -141,16 +158,20 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
141
158
  });
142
159
  }
143
160
  this.handleChange();
161
+ this.host.setAttribute('value', this.selection.map((selection) => selection.value).toString());
144
162
  return this.selection;
145
163
  }
146
164
  /** Method for removing a selected value in the Dropdown. */
147
165
  async removeValue(oldValue) {
148
166
  if (this.multiselect) {
149
- this.children.forEach((element) => {
167
+ this.children = Array.from(this.host.children)
168
+ .filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION')
169
+ .map((element) => {
150
170
  if (element.value === oldValue) {
151
171
  this.selection = this.selection.filter((item) => item.value !== element.value);
152
172
  element.setSelected(false);
153
173
  }
174
+ return element;
154
175
  });
155
176
  }
156
177
  else {
@@ -179,7 +200,7 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
179
200
  return;
180
201
  }
181
202
  if (event.key === 'ArrowDown') {
182
- /* Get the index of the currently focus index, if there is no
203
+ /* Get the index of the current focus index, if there is no
183
204
  nextElementSibling return the index for the first child in our Dropdown. */
184
205
  const startingIndex = activeElement.nextElementSibling
185
206
  ? this.children.findIndex((element) => element === activeElement.nextElementSibling)
@@ -188,7 +209,7 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
188
209
  this.children[elementIndex].focus();
189
210
  }
190
211
  else if (event.key === 'ArrowUp') {
191
- /* Get the index of the currently focus index, if there is no
212
+ /* Get the index of the current focus index, if there is no
192
213
  previousElementSibling return the index for the first last in our Dropdown. */
193
214
  const startingIndex = activeElement.nextElementSibling
194
215
  ? this.children.findIndex((element) => element === activeElement.previousElementSibling)
@@ -200,7 +221,8 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
200
221
  this.open = false;
201
222
  }
202
223
  }
203
- // If the Dropdown gets closed this sets the value of the drodpown to the current selection labels or null if no selection is made.
224
+ // If the Dropdown gets closed,
225
+ // this sets the value of the dropdown to the current selection labels or null if no selection is made.
204
226
  handleOpenState() {
205
227
  var _a, _b;
206
228
  if (this.filter && this.multiselect) {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { h as hasSlot } from './utils.js';
3
3
 
4
- const footerCss = ":host{display:block}:host slot[name=top]::slotted(*){background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-footer-main-copyright)}:host .footer-main-bottom .brand{background-image:var(--tds-background-image-scania-wordmark-white-svg);background-repeat:no-repeat;background-size:117px;background-position:right;width:117px;height:20px}:host .footer-main-bottom .brand p{color:transparent;padding:0;margin:0;height:100%;visibility:hidden}@media all and (max-width: 992px){:host slot[name=top]::slotted(*){display:block;width:100%;padding:0}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host slot[name=end]::slotted(*){flex-direction:row;gap:8px}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}";
4
+ const footerCss = ":host{display:block}:host slot[name=top]::slotted(*){box-sizing:border-box;background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-footer-main-copyright)}:host .footer-main-bottom .brand{background-image:var(--tds-background-image-scania-wordmark-white-svg);background-repeat:no-repeat;background-size:117px;background-position:right;width:117px;height:20px}:host .footer-main-bottom .brand p{color:transparent;padding:0;margin:0;height:100%;visibility:hidden}@media all and (max-width: 992px){:host slot[name=top]::slotted(*){display:block;width:100%;padding:0}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host slot[name=end]::slotted(*){flex-direction:row;gap:8px}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}";
5
5
 
6
6
  const TdsFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsFooter extends HTMLElement {
7
7
  constructor() {
@@ -3,8 +3,8 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
3
3
  const tableHeaderCellCss = ":host(.tds-table__header-cell){box-sizing:border-box;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-header-background-hover);padding:0;height:48px;min-width:192px;box-sizing:border-box;vertical-align:middle;overflow:hidden;transition:background-color 200ms ease}:host(.tds-table__header-cell) *{box-sizing:border-box}:host(.tds-table__header-cell) .tds-table__header-text{padding:0 16px;margin: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;fill: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--right-align) .tds-table__header-button{text-align:right;justify-content:end;flex-direction:row-reverse}: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__header-cell:first-of-type){border-top-left-radius:4px}:host(.tds-table__header-cell:last-of-type){border-top-right-radius:4px}:host(.tds-table--extra-column:first-of-type){border-top-left-radius:0}:host(.tds-table--toolbar-available){border-radius:0}:host(.tds-table--extra-column.tds-table--toolbar-available){border-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:first-of-type){border-top-left-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:last-of-type){border-top-right-radius:0}";
4
4
 
5
5
  const relevantTableProps = [
6
- 'enableMultiselect',
7
- 'enableExpandableRows',
6
+ 'multiselect',
7
+ 'expandableRows',
8
8
  'compactDesign',
9
9
  'noMinWidth',
10
10
  'verticalDividers',
@@ -77,10 +77,10 @@ const TdsTableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TdsTableHeader
77
77
  this.verticalDividers = false;
78
78
  this.compactDesign = false;
79
79
  this.noMinWidth = false;
80
- this.enableMultiselect = false;
80
+ this.multiselect = false;
81
81
  this.enableToolbarDesign = false;
82
82
  this.tableId = '';
83
- this.enableExpandableRows = false;
83
+ this.expandableRows = false;
84
84
  }
85
85
  internalTdsPropChangeListener(event) {
86
86
  if (this.tableId === event.detail.tableId) {
@@ -145,7 +145,7 @@ const TdsTableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TdsTableHeader
145
145
  'tds-table--compact': this.compactDesign,
146
146
  'tds-table--divider': this.verticalDividers,
147
147
  'tds-table--no-min-width': this.noMinWidth,
148
- 'tds-table--extra-column': this.enableMultiselect || this.enableExpandableRows,
148
+ 'tds-table--extra-column': this.multiselect || this.expandableRows,
149
149
  'tds-table--toolbar-available': this.enableToolbarDesign,
150
150
  }, style: { width: this.customWidth },
151
151
  // Calling actions from here to enable hover functionality for both sortable and un-sortable Tables
@@ -166,10 +166,10 @@ const TdsTableHeaderCell = /*@__PURE__*/ proxyCustomElement(class TdsTableHeader
166
166
  "verticalDividers": [32],
167
167
  "compactDesign": [32],
168
168
  "noMinWidth": [32],
169
- "enableMultiselect": [32],
169
+ "multiselect": [32],
170
170
  "enableToolbarDesign": [32],
171
171
  "tableId": [32],
172
- "enableExpandableRows": [32]
172
+ "expandableRows": [32]
173
173
  }, [[16, "internalTdsPropChange", "internalTdsPropChangeListener"], [16, "internalTdsSortingChange", "internalTdsSortingChangeListener"], [16, "internalSortButtonClicked", "updateOptionsContent"]]]);
174
174
  function defineCustomElement$1() {
175
175
  if (typeof customElements === "undefined") {
@@ -1,11 +1,12 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { g as generateUniqueId } from './utils.js';
3
- import { d as defineCustomElement$5 } from './core-header-item.js';
4
- import { d as defineCustomElement$4 } from './header-item.js';
5
- import { d as defineCustomElement$3 } from './icon.js';
6
- import { d as defineCustomElement$2 } from './popover-canvas.js';
3
+ import { d as defineCustomElement$6 } from './core-header-item.js';
4
+ import { d as defineCustomElement$5 } from './header-item.js';
5
+ import { d as defineCustomElement$4 } from './icon.js';
6
+ import { d as defineCustomElement$3 } from './popover-canvas.js';
7
+ import { d as defineCustomElement$2 } from './popover-core.js';
7
8
 
8
- const headerDropdownCss = ":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::-webkit-scrollbar{width:4px;background-color:inherit}:host .menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .menu ::-webkit-scrollbar-button{height:0;width:0}:host .state-open .dropdown-icon{transform:rotatetds-z-index(180deg)}:host .state-open .button{position:relative;z-index:801}";
9
+ const headerDropdownCss = ":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::-webkit-scrollbar{width:4px;background-color:inherit}:host .menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .menu ::-webkit-scrollbar-button{height:0;width:0}:host .state-open .dropdown-icon{transform:rotatetds-z-index(180deg)}:host .state-open .button{position:relative;z-index:901}";
9
10
 
10
11
  const TdsHeaderDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDropdown extends HTMLElement {
11
12
  constructor() {
@@ -58,7 +59,7 @@ function defineCustomElement$1() {
58
59
  if (typeof customElements === "undefined") {
59
60
  return;
60
61
  }
61
- const components = ["tds-header-dropdown", "tds-core-header-item", "tds-header-item", "tds-icon", "tds-popover-canvas"];
62
+ const components = ["tds-header-dropdown", "tds-core-header-item", "tds-header-item", "tds-icon", "tds-popover-canvas", "tds-popover-core"];
62
63
  components.forEach(tagName => { switch (tagName) {
63
64
  case "tds-header-dropdown":
64
65
  if (!customElements.get(tagName)) {
@@ -67,20 +68,25 @@ function defineCustomElement$1() {
67
68
  break;
68
69
  case "tds-core-header-item":
69
70
  if (!customElements.get(tagName)) {
70
- defineCustomElement$5();
71
+ defineCustomElement$6();
71
72
  }
72
73
  break;
73
74
  case "tds-header-item":
74
75
  if (!customElements.get(tagName)) {
75
- defineCustomElement$4();
76
+ defineCustomElement$5();
76
77
  }
77
78
  break;
78
79
  case "tds-icon":
79
80
  if (!customElements.get(tagName)) {
80
- defineCustomElement$3();
81
+ defineCustomElement$4();
81
82
  }
82
83
  break;
83
84
  case "tds-popover-canvas":
85
+ if (!customElements.get(tagName)) {
86
+ defineCustomElement$3();
87
+ }
88
+ break;
89
+ case "tds-popover-core":
84
90
  if (!customElements.get(tagName)) {
85
91
  defineCustomElement$2();
86
92
  }
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { e as getPreviousNestedChildOfSiblingsMatching, j as isHeadingElement } from './utils.js';
2
+ import { j as getPreviousNestedChildOfSiblingsMatching, k as isHeadingElement } from './utils.js';
3
3
 
4
4
  const headerLauncherGridCss = ".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";
5
5
 
@@ -10,7 +10,7 @@ const TdsHeaderLauncherListItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsHe
10
10
  this.__attachShadow();
11
11
  }
12
12
  render() {
13
- return (h(Host, null, h("tds-header-dropdown-list-item", { type: "lg" }, h("slot", null))));
13
+ return (h(Host, null, h("tds-header-dropdown-list-item", { size: "lg" }, h("slot", null))));
14
14
  }
15
15
  static get style() { return headerLauncherListItemCss; }
16
16
  }, [1, "tds-header-launcher-list-item"]);
@@ -9,7 +9,7 @@ const TdsHeaderLauncherList$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader
9
9
  this.uuid = generateUniqueId();
10
10
  }
11
11
  render() {
12
- return (h(Host, null, h("tds-header-dropdown-list", { type: "lg" }, h("slot", null))));
12
+ return (h(Host, null, h("tds-header-dropdown-list", { size: "lg" }, h("slot", null))));
13
13
  }
14
14
  }, [4, "tds-header-launcher-list"]);
15
15
  function defineCustomElement$1() {
@@ -1,12 +1,13 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { g as generateUniqueId, i as inheritAriaAttributes } from './utils.js';
3
- import { d as defineCustomElement$6 } from './core-header-item.js';
4
- import { d as defineCustomElement$5 } from './header-item.js';
5
- import { d as defineCustomElement$4 } from './header-launcher-button.js';
6
- import { d as defineCustomElement$3 } from './icon.js';
7
- import { d as defineCustomElement$2 } from './popover-canvas.js';
3
+ import { d as defineCustomElement$7 } from './core-header-item.js';
4
+ import { d as defineCustomElement$6 } from './header-item.js';
5
+ import { d as defineCustomElement$5 } from './header-launcher-button.js';
6
+ import { d as defineCustomElement$4 } from './icon.js';
7
+ import { d as defineCustomElement$3 } from './popover-canvas.js';
8
+ import { d as defineCustomElement$2 } from './popover-core.js';
8
9
 
9
- const headerLauncherCss = ":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::-webkit-scrollbar{width:4px;background-color:inherit}:host .wrapper .menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .wrapper .menu ::-webkit-scrollbar-button{height:0;width:0}@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:801}";
10
+ const headerLauncherCss = ":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::-webkit-scrollbar{width:4px;background-color:inherit}:host .wrapper .menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .wrapper .menu ::-webkit-scrollbar-button{height:0;width:0}@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}";
10
11
 
11
12
  const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncher extends HTMLElement {
12
13
  constructor() {
@@ -67,7 +68,7 @@ function defineCustomElement$1() {
67
68
  if (typeof customElements === "undefined") {
68
69
  return;
69
70
  }
70
- const components = ["tds-header-launcher", "tds-core-header-item", "tds-header-item", "tds-header-launcher-button", "tds-icon", "tds-popover-canvas"];
71
+ const components = ["tds-header-launcher", "tds-core-header-item", "tds-header-item", "tds-header-launcher-button", "tds-icon", "tds-popover-canvas", "tds-popover-core"];
71
72
  components.forEach(tagName => { switch (tagName) {
72
73
  case "tds-header-launcher":
73
74
  if (!customElements.get(tagName)) {
@@ -76,25 +77,30 @@ function defineCustomElement$1() {
76
77
  break;
77
78
  case "tds-core-header-item":
78
79
  if (!customElements.get(tagName)) {
79
- defineCustomElement$6();
80
+ defineCustomElement$7();
80
81
  }
81
82
  break;
82
83
  case "tds-header-item":
83
84
  if (!customElements.get(tagName)) {
84
- defineCustomElement$5();
85
+ defineCustomElement$6();
85
86
  }
86
87
  break;
87
88
  case "tds-header-launcher-button":
88
89
  if (!customElements.get(tagName)) {
89
- defineCustomElement$4();
90
+ defineCustomElement$5();
90
91
  }
91
92
  break;
92
93
  case "tds-icon":
93
94
  if (!customElements.get(tagName)) {
94
- defineCustomElement$3();
95
+ defineCustomElement$4();
95
96
  }
96
97
  break;
97
98
  case "tds-popover-canvas":
99
+ if (!customElements.get(tagName)) {
100
+ defineCustomElement$3();
101
+ }
102
+ break;
103
+ case "tds-popover-core":
98
104
  if (!customElements.get(tagName)) {
99
105
  defineCustomElement$2();
100
106
  }
@@ -14,7 +14,7 @@ const TdsLink$1 = /*@__PURE__*/ proxyCustomElement(class TdsLink extends HTMLEle
14
14
  this.host.children[0].classList.add('tds-link-component');
15
15
  }
16
16
  render() {
17
- return (h("div", { class: `
17
+ return (h("span", { class: `
18
18
  ${this.disabled ? 'disabled' : ''}
19
19
  ${!this.underline ? 'no-underline' : ''}
20
20
  ` }, h("slot", null)));
@@ -9,7 +9,7 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
9
9
  this.__registerHost();
10
10
  this.__attachShadow();
11
11
  this.getIconName = () => {
12
- switch (this.type) {
12
+ switch (this.variant) {
13
13
  case 'information':
14
14
  return 'info';
15
15
  case 'error':
@@ -24,13 +24,13 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
24
24
  };
25
25
  this.header = undefined;
26
26
  this.modeVariant = null;
27
- this.type = 'information';
27
+ this.variant = 'information';
28
28
  this.noIcon = false;
29
29
  this.minimal = false;
30
30
  }
31
31
  render() {
32
32
  return (h(Host, null, h("div", { class: `
33
- wrapper ${this.type}
33
+ wrapper ${this.variant}
34
34
  ${this.minimal ? 'minimal' : ''}
35
35
  ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, !this.noIcon && h("tds-icon", { name: this.getIconName(), size: "20px" }), h("div", { class: `content` }, this.header && h("div", { class: "header" }, this.header), !this.minimal && (h("div", { class: "extended-message" }, h("slot", null)))))));
36
36
  }
@@ -38,7 +38,7 @@ const TdsMessage$1 = /*@__PURE__*/ proxyCustomElement(class TdsMessage extends H
38
38
  }, [1, "tds-message", {
39
39
  "header": [1],
40
40
  "modeVariant": [1, "mode-variant"],
41
- "type": [1],
41
+ "variant": [1],
42
42
  "noIcon": [4, "no-icon"],
43
43
  "minimal": [4]
44
44
  }]);
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { h as hasSlot } from './utils.js';
3
3
  import { d as defineCustomElement$2 } from './icon.js';
4
4
 
5
- const modalCss = ":root,.tds-mode-light{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-white);--tds-modal-text:var(--tds-grey-958);--tds-modal-icon:var(--tds-black);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='black'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-mode-dark{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-grey-900);--tds-modal-text:var(--tds-grey-50);--tds-modal-icon:var(--tds-white);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='white'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-modal{box-sizing:border-box;background-color:var(--tds-modal-background);margin:auto;position:relative;border-radius:4px;padding:16px;max-height:85vh;overflow-y:auto;}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-track{background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500);border-radius:0 1em 1em 0}.tds-modal__actions-sticky{overflow:hidden}.tds-modal__actions-sticky .body{font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:96px;margin:0 -16px 0 0;max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{position:absolute;bottom:-1px;left:0;right:0;background-color:var(--tds-modal-background);padding:var(--tds-spacing-element-16);display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--tds-modal-background);display:flex;gap: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:75%}.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-bottom:var(--tds-spacing-element-8);position:sticky;top:0;background-color:var(--tds-modal-background);z-index:1}.header::before{content:\" \";position:absolute;height:16px;top:-16px;width:100%;background-color:var(--tds-modal-background)}.header,slot[name=header]::slotted(*){color:var(--tds-modal-text);font:var(--tds-headline-05);letter-spacing:var(--tds-headline-05-ls);margin:0;flex:1}.body{color:var(--tds-modal-text);font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:40px;overflow-y:visible;padding-right:16px;}.body::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-track{background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500)}@media (min-width: 1056px){.body{padding-right:64px}}.tds-modal-backdrop{box-sizing:border-box;left:0;top:0;position:fixed;height:100%;width:100%;z-index:600;background-color:var(--tds-modal-backdrop);padding:0 16px}.tds-modal-backdrop *{box-sizing:border-box}@media (max-width: 320px){.tds-modal-backdrop{padding:0}}.tds-modal-backdrop.show{display:flex}.tds-modal-backdrop.hide{display:none}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(--tds-modal-icon);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}@media (min-width: 320px){.tds-modal-close{margin-left:var(--tds-spacing-element-16)}}@media (min-width: 1056px){.tds-modal-close{margin-left:var(--tds-spacing-element-48)}}.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:var(--tds-spacing-element-16)}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:var(--tds-spacing-element-48)}}.tds-modal-close-btn svg{fill:var(--tds-modal-icon)}.tds-modal-overflow{overflow:hidden}:host{left:0;top:0;position:fixed;height:100%;width:100%;z-index:600;background-color:var(--tds-modal-backdrop);padding:0 16px}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}:host(.show){display:flex}:host(.hide){display:none}";
5
+ const modalCss = ":root,.tds-mode-light{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-white);--tds-modal-text:var(--tds-grey-958);--tds-modal-icon:var(--tds-black);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='black'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-mode-dark{--tds-modal-backdrop:rgba(0 0 0 / 40%);--tds-modal-background:var(--tds-grey-900);--tds-modal-text:var(--tds-grey-50);--tds-modal-icon:var(--tds-white);--tds-modal-icon-native:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.40338 2.34308C3.11048 2.05019 2.63561 2.05019 2.34272 2.34308C2.04982 2.63598 2.04982 3.11085 2.34272 3.40374L6.93897 8L2.34283 12.5961C2.04994 12.889 2.04994 13.3639 2.34283 13.6568C2.63572 13.9497 3.1106 13.9497 3.40349 13.6568L7.99963 9.06066L12.5958 13.6568C12.8887 13.9497 13.3635 13.9497 13.6564 13.6568C13.9493 13.3639 13.9493 12.889 13.6564 12.5961L9.06029 8L13.6565 3.40376C13.9494 3.11086 13.9494 2.63599 13.6565 2.3431C13.3636 2.0502 12.8888 2.0502 12.5959 2.3431L7.99963 6.93934L3.40338 2.34308Z' fill='white'/%3E%3C/svg%3E%0A\");--tds-modal-scrollbar:var(--tds-grey-300);--tds-modal-scrollbar-track:var(--tds-grey-300);--tds-modal-scrollbar-thumb:var(--tds-grey-500)}.tds-modal{box-sizing:border-box;background-color:var(--tds-modal-background);margin:auto;position:relative;border-radius:4px;padding:16px;max-height:85vh;overflow-y:auto;}.tds-modal *{box-sizing:border-box}.tds-modal::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-track{background-color:var(--tds-grey-300);border-radius:0 1em 1em 0}.tds-modal::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500);border-radius:0 1em 1em 0}.tds-modal__actions-sticky{overflow:hidden}.tds-modal__actions-sticky .body{font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:96px;margin:0 -16px 0 0;max-height:calc(85vh - 36px);overflow-y:auto}.tds-modal__actions-sticky slot[name=actions]{position:absolute;bottom:-1px;left:0;right:0;background-color:var(--tds-modal-background);padding:var(--tds-spacing-element-16);display:flex;gap:16px}.tds-modal__actions-static slot[name=actions]{background-color:var(--tds-modal-background);display:flex;gap: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:75%}.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-bottom:var(--tds-spacing-element-8);position:sticky;top:0;background-color:var(--tds-modal-background);z-index:1}.header::before{content:\" \";position:absolute;height:16px;top:-16px;width:100%;background-color:var(--tds-modal-background)}.header,slot[name=header]::slotted(*){color:var(--tds-modal-text);font:var(--tds-headline-05);letter-spacing:var(--tds-headline-05-ls);margin:0;flex:1}.body{color:var(--tds-modal-text);font:var(--tds-body-01);letter-spacing:var(--tds-body-01-ls);padding-bottom:40px;overflow-y:visible;padding-right:16px;}.body::-webkit-scrollbar{width:5px;background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-track{background-color:var(--tds-grey-300)}.body::-webkit-scrollbar-thumb{background-color:var(--tds-grey-500)}@media (min-width: 1056px){.body{padding-right:64px}}.tds-modal-backdrop{box-sizing:border-box;left:0;top:0;position:fixed;height:100%;width:100%;z-index:700;background-color:var(--tds-modal-backdrop);padding:0 16px}.tds-modal-backdrop *{box-sizing:border-box}@media (max-width: 320px){.tds-modal-backdrop{padding:0}}.tds-modal-backdrop.show{display:flex}.tds-modal-backdrop.hide{display:none}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(--tds-modal-icon);cursor:pointer}.tds-modal-close:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}@media (min-width: 320px){.tds-modal-close{margin-left:var(--tds-spacing-element-16)}}@media (min-width: 1056px){.tds-modal-close{margin-left:var(--tds-spacing-element-48)}}.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:var(--tds-spacing-element-16)}}@media (min-width: 1056px){.tds-modal-close-btn{margin-left:var(--tds-spacing-element-48)}}.tds-modal-close-btn svg{fill:var(--tds-modal-icon)}.tds-modal-overflow{overflow:hidden}:host{left:0;top:0;position:fixed;height:100%;width:100%;z-index:700;background-color:var(--tds-modal-backdrop);padding:0 16px}@media (max-width: 320px){:host{padding:0}}:host.show{display:flex}:host.hide{display:none}:host .tds-modal-close{border:none;background-color:transparent}:host .tds-modal-close-btn{border:none;background-color:transparent}:host(.show){display:flex}:host(.hide){display:none}";
6
6
 
7
7
  const TdsModal$1 = /*@__PURE__*/ proxyCustomElement(class TdsModal extends HTMLElement {
8
8
  constructor() {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TdsPopoverCore extends Components.TdsPopoverCore, HTMLElement {}
4
+ export const TdsPopoverCore: {
5
+ prototype: TdsPopoverCore;
6
+ new (): TdsPopoverCore;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { T as TdsPopoverCore$1, d as defineCustomElement$1 } from './popover-core.js';
2
+
3
+ const TdsPopoverCore = TdsPopoverCore$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { TdsPopoverCore, defineCustomElement };
@@ -1,105 +1,57 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { c as createPopper } from './popper.js';
2
+ import { e as inheritAttributes } from './utils.js';
3
+ import { d as defineCustomElement$2 } from './popover-core.js';
3
4
 
4
- const popoverMenuCss = ":host{box-sizing:border-box;overflow:hidden;width:160px;background-color:var(--tds-popover-menu-background);padding:16px;box-shadow:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;display:none;z-index:800}:host *{box-sizing:border-box}:host(.tds-popover-menu-show){opacity:1;display:block}";
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;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}";
5
6
 
6
7
  const TdsPopoverMenu$1 = /*@__PURE__*/ proxyCustomElement(class TdsPopoverMenu extends HTMLElement {
7
8
  constructor() {
8
9
  super();
9
10
  this.__registerHost();
10
- this.__attachShadow();
11
+ this.inheritedAttributes = [];
11
12
  this.selector = '';
12
13
  this.referenceEl = undefined;
13
- this.show = false;
14
+ this.show = null;
14
15
  this.placement = 'auto';
15
16
  this.offsetSkidding = 0;
16
17
  this.offsetDistance = 8;
17
- this.renderedShowValue = false;
18
- this.popperInstance = undefined;
19
- this.target = undefined;
20
18
  }
21
- handleOutsideClick() {
22
- if (this.show) {
23
- this.show = false;
24
- }
25
- }
26
- componentDidLoad() {
27
- var _a;
28
- this.target = (_a = this.referenceEl) !== null && _a !== void 0 ? _a : document.querySelector(this.selector);
29
- this.renderedShowValue = this.show;
30
- this.popperInstance = createPopper(this.target, this.popoverMenuElement, {
31
- strategy: 'fixed',
32
- placement: this.placement,
33
- modifiers: [
34
- {
35
- name: 'offset',
36
- options: {
37
- offset: [this.offsetSkidding, this.offsetDistance],
38
- },
39
- },
40
- ],
41
- });
42
- const showMenu = () => {
43
- this.show = true;
44
- };
45
- const hideMenu = () => {
46
- this.show = false;
47
- };
48
- this.target.addEventListener('mousedown', (event) => {
49
- event.stopPropagation();
50
- if (this.show) {
51
- hideMenu();
52
- }
53
- else {
54
- showMenu();
55
- }
56
- });
57
- this.popoverMenuElement.addEventListener('mousemove', (event) => {
58
- event.stopPropagation();
59
- });
60
- this.popoverMenuElement.addEventListener('mousedown', (event) => {
61
- event.stopPropagation();
62
- });
63
- }
64
- componentDidRender() {
65
- if (this.show && !this.renderedShowValue) {
66
- // Here we update the popper position since its position is wrong
67
- // before it is rendered.
68
- this.popperInstance.update();
69
- }
70
- this.renderedShowValue = this.show;
71
- }
72
- disconnectedCallback() {
73
- var _a;
74
- (_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.destroy();
19
+ componentWillLoad() {
20
+ this.inheritedAttributes = inheritAttributes(this.host, ['style', 'class']);
75
21
  }
76
22
  render() {
77
- return (h(Host, { class: `tds-popover-menu ${this.show ? 'tds-popover-menu-show' : ''}` }, h("slot", null)));
23
+ var _a;
24
+ return (h(Host, null, h("tds-popover-core", { class: {
25
+ 'tds-popover-menu': true,
26
+ [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
27
+ }, selector: this.selector, referenceEl: this.referenceEl, show: this.show, placement: this.placement, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance }, h("slot", null))));
78
28
  }
79
- get popoverMenuElement() { return this; }
29
+ get host() { return this; }
80
30
  static get style() { return popoverMenuCss; }
81
- }, [1, "tds-popover-menu", {
31
+ }, [6, "tds-popover-menu", {
82
32
  "selector": [1],
83
33
  "referenceEl": [16],
84
34
  "show": [4],
85
35
  "placement": [1],
86
36
  "offsetSkidding": [2, "offset-skidding"],
87
- "offsetDistance": [2, "offset-distance"],
88
- "renderedShowValue": [32],
89
- "popperInstance": [32],
90
- "target": [32]
91
- }, [[9, "mousedown", "handleOutsideClick"]]]);
37
+ "offsetDistance": [2, "offset-distance"]
38
+ }]);
92
39
  function defineCustomElement$1() {
93
40
  if (typeof customElements === "undefined") {
94
41
  return;
95
42
  }
96
- const components = ["tds-popover-menu"];
43
+ const components = ["tds-popover-menu", "tds-popover-core"];
97
44
  components.forEach(tagName => { switch (tagName) {
98
45
  case "tds-popover-menu":
99
46
  if (!customElements.get(tagName)) {
100
47
  customElements.define(tagName, TdsPopoverMenu$1);
101
48
  }
102
49
  break;
50
+ case "tds-popover-core":
51
+ if (!customElements.get(tagName)) {
52
+ defineCustomElement$2();
53
+ }
54
+ break;
103
55
  } });
104
56
  }
105
57
 
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const sideMenuOverlayCss = ":host{position:absolute;width:100%;height:100%;background-color:black;transition:opacity 0.4s linear;opacity:0}";
3
+ const sideMenuOverlayCss = ":host{position:fixed;width:100%;height:100%;background-color:black;transition:opacity 0.4s linear;opacity:0}div{position:fixed;width:100%;height:100%;pointer-events:none}";
4
4
 
5
5
  const TdsSideMenuOverlay$1 = /*@__PURE__*/ proxyCustomElement(class TdsSideMenuOverlay extends HTMLElement {
6
6
  constructor() {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { d as dfs, k as isFocusable } from './utils.js';
2
+ import { d as dfs, l as isFocusable } from './utils.js';
3
3
 
4
- const sideMenuCss = ":host{pointer-events:none;display:block;position:fixed;top:0;width:100%;height:100%}:host .wrapper{height:inherit;}:host .wrapper slot:not([name])::slotted(*){border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host .wrapper ::slotted([slot=end]){border-top:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host .wrapper .tds-side-menu-list-end{margin-top:68px}:host .state-closed{display:none}:host .state-open slot[name=overlay]::slotted(tds-side-menu-overlay){opacity:0.4}:host .state-open slot[name=close-button]::slotted(tds-side-menu-close-button){opacity:1}:host .state-open .tds-side-menu-wrapper{transform:scaleY(1)}:host .state-upper-slot-empty .tds-side-menu-list-upper{display:none}:host .state-upper-slot-empty .tds-side-menu-list-end{margin-top:0}:host .state-upper-slot-empty ::slotted([slot=end]){border-top:none;border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}@media (max-width: 992px){:host([open]){pointer-events:auto;z-index:301}}@media (min-width: 992px){:host([persistent]){pointer-events:auto;position:static;width:272px;height:auto;border-right:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host([persistent]) .wrapper slot[name=overlay]::slotted(tds-side-menu-overlay){display:none}:host([persistent]) .wrapper slot[name=close-button]::slotted(tds-side-menu-close-button){display:none}:host([persistent]) .wrapper .tds-side-menu-wrapper{transform:none}:host([persistent]) .menu{width:272px}:host([persistent]) .state-closed{display:block}:host([persistent]):host([collapsed]){width:69px}:host([persistent]):host([collapsed]) .menu{width:68px}:host([persistent]) slot[name=end]::slotted(*){display:none}}.menu{width:80%;height:inherit;position:relative;left:0;display:flex;flex-direction:column;justify-content:space-between}.menu *{padding:0;margin:0;box-sizing:border-box}@media (max-width: 384px){.menu{width:100%}}aside .tds-side-menu-wrapper{display:flex;justify-content:space-between;flex-direction:column;flex-grow:1;background-color:var(--tds-sidebar-side-menu-background-cover);transition:transform 250ms ease;transform-origin:top;transform:scaleY(0);overflow-y:auto}aside .tds-side-menu-wrapper::-webkit-scrollbar{width:4px;background-color:inherit}aside .tds-side-menu-wrapper::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}aside .tds-side-menu-wrapper ::-webkit-scrollbar-button{height:0;width:0}";
4
+ const sideMenuCss = ":host{pointer-events:none;display:block;position:fixed;top:0;width:100%;height:100%;z-index:400}:host .wrapper{height:inherit;}:host .wrapper slot:not([name])::slotted(*){border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host .wrapper ::slotted([slot=end]){border-top:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host .wrapper .tds-side-menu-list-end{margin-top:68px}:host .state-closed{display:none}:host .state-open slot[name=overlay]::slotted(tds-side-menu-overlay){opacity:0.4}:host .state-open slot[name=close-button]::slotted(tds-side-menu-close-button){opacity:1}:host .state-open .tds-side-menu-wrapper{transform:scaleY(1)}:host .state-upper-slot-empty .tds-side-menu-list-upper{display:none}:host .state-upper-slot-empty .tds-side-menu-list-end{margin-top:0}:host .state-upper-slot-empty ::slotted([slot=end]){border-top:none;border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}@media (max-width: 992px){:host(.menu-opened){pointer-events:auto;z-index:400}}@media (min-width: 992px){:host(.menu-persistent){pointer-events:auto;position:static;width:272px;height:auto;border-right:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host(.menu-persistent) .wrapper slot[name=overlay]::slotted(tds-side-menu-overlay){display:none}:host(.menu-persistent) .wrapper slot[name=close-button]::slotted(tds-side-menu-close-button){display:none}:host(.menu-persistent) .wrapper .tds-side-menu-wrapper{transform:none}:host(.menu-persistent) .menu{width:272px}:host(.menu-persistent) .state-closed{display:block}:host(.menu-persistent):host(.menu-collapsed){width:69px}:host(.menu-persistent):host(.menu-collapsed) .menu{width:68px}:host(.menu-persistent) slot[name=end]::slotted(*){display:none}}.menu{width:80%;height:inherit;position:relative;left:0;display:flex;flex-direction:column;justify-content:space-between}.menu *{padding:0;margin:0;box-sizing:border-box}@media (max-width: 384px){.menu{width:100%}}aside .tds-side-menu-wrapper{display:flex;justify-content:space-between;flex-direction:column;flex-grow:1;background-color:var(--tds-sidebar-side-menu-background-cover);transition:transform 250ms ease;transform-origin:top;transform:scaleY(0);overflow-y:auto}aside .tds-side-menu-wrapper::-webkit-scrollbar{width:4px;background-color:inherit}aside .tds-side-menu-wrapper::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}aside .tds-side-menu-wrapper ::-webkit-scrollbar-button{height:0;width:0}";
5
5
 
6
6
  const GRID_LG_BREAKPOINT = '992px';
7
7
  const OPENING_ANIMATION_DURATION = 400;
@@ -94,7 +94,11 @@ const TdsSideMenu$1 = /*@__PURE__*/ proxyCustomElement(class TdsSideMenu extends
94
94
  this.isClosed = true;
95
95
  }
96
96
  render() {
97
- return (h(Host, { role: "navigation" }, h("div", { class: {
97
+ return (h(Host, { role: "navigation", class: {
98
+ 'menu-opened': this.open,
99
+ 'menu-persistent': this.persistent,
100
+ 'menu-collapsed': this.collapsed,
101
+ } }, h("div", { class: {
98
102
  'wrapper': true,
99
103
  'state-upper-slot-empty': this.isUpperSlotEmpty,
100
104
  'state-open': this.isOpen || this.isOpening,
@@ -109,9 +113,9 @@ const TdsSideMenu$1 = /*@__PURE__*/ proxyCustomElement(class TdsSideMenu extends
109
113
  }; }
110
114
  static get style() { return sideMenuCss; }
111
115
  }, [1, "tds-side-menu", {
112
- "open": [516],
113
- "persistent": [516],
114
- "collapsed": [516],
116
+ "open": [4],
117
+ "persistent": [4],
118
+ "collapsed": [4],
115
119
  "isUpperSlotEmpty": [32],
116
120
  "isClosed": [32],
117
121
  "isOpen": [32],