@scania/tegel 1.0.1 → 1.0.3

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 (618) hide show
  1. package/dist/cjs/dfs-babd18a6.js +29 -0
  2. package/dist/cjs/generateUniqueId-56da4810.js +28 -0
  3. package/dist/cjs/hasSlot-1c90e9ba.js +11 -0
  4. package/dist/cjs/{index-2a60e106.js → index-862c9693.js} +5 -5
  5. package/dist/cjs/inheritAriaAttributes-640b1abb.js +78 -0
  6. package/dist/cjs/inheritAttributes-845f5217.js +27 -0
  7. package/dist/cjs/isHeadingElement-d31dde38.js +71 -0
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
  10. package/dist/cjs/tds-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/tds-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/tds-banner.cjs.entry.js +7 -6
  13. package/dist/cjs/tds-block.cjs.entry.js +5 -3
  14. package/dist/cjs/tds-body-cell.cjs.entry.js +1 -1
  15. package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
  16. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +1 -1
  17. package/dist/cjs/tds-button.cjs.entry.js +4 -4
  18. package/dist/cjs/tds-card.cjs.entry.js +11 -10
  19. package/dist/cjs/tds-checkbox.cjs.entry.js +3 -3
  20. package/dist/cjs/tds-chip.cjs.entry.js +7 -6
  21. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
  22. package/dist/cjs/tds-datetime.cjs.entry.js +2 -2
  23. package/dist/cjs/tds-divider.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-dropdown-option.cjs.entry.js +4 -3
  25. package/dist/cjs/tds-dropdown.cjs.entry.js +182 -56
  26. package/dist/cjs/tds-folder-tab.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-folder-tabs.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-footer-group.cjs.entry.js +1 -1
  29. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-footer.cjs.entry.js +5 -5
  31. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
  32. package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
  33. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +4 -3
  36. package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
  37. package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -3
  38. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +4 -3
  39. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -3
  41. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +5 -4
  42. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  43. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -3
  44. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +3 -3
  45. package/dist/cjs/tds-header-launcher.cjs.entry.js +6 -4
  46. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  47. package/dist/cjs/tds-header.cjs.entry.js +21 -5
  48. package/dist/cjs/tds-icon.cjs.entry.js +4 -2
  49. package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
  50. package/dist/cjs/tds-inline-tabs.cjs.entry.js +1 -7
  51. package/dist/cjs/tds-link.cjs.entry.js +1 -1
  52. package/dist/cjs/tds-message.cjs.entry.js +1 -1
  53. package/dist/cjs/tds-modal.cjs.entry.js +5 -5
  54. package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
  55. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +1 -4
  56. package/dist/cjs/tds-popover-canvas.cjs.entry.js +3 -3
  57. package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
  58. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +1 -1
  59. package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
  60. package/dist/cjs/tds-radio-button.cjs.entry.js +3 -3
  61. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -3
  62. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +1 -1
  63. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +1 -1
  64. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +1 -1
  65. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +1 -1
  66. package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
  67. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
  68. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +1 -1
  69. package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
  70. package/dist/cjs/tds-side-menu.cjs.entry.js +1 -1
  71. package/dist/cjs/tds-slider.cjs.entry.js +15 -9
  72. package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
  73. package/dist/cjs/tds-step.cjs.entry.js +1 -1
  74. package/dist/cjs/tds-stepper.cjs.entry.js +3 -3
  75. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +1 -1
  76. package/dist/cjs/tds-table-body-row.cjs.entry.js +1 -1
  77. package/dist/cjs/tds-table-body.cjs.entry.js +1 -1
  78. package/dist/cjs/tds-table-footer.cjs.entry.js +1 -1
  79. package/dist/cjs/tds-table-header.cjs.entry.js +1 -1
  80. package/dist/cjs/tds-table-toolbar.cjs.entry.js +1 -1
  81. package/dist/cjs/tds-table.cjs.entry.js +3 -3
  82. package/dist/cjs/tds-text-field.cjs.entry.js +5 -5
  83. package/dist/cjs/tds-textarea.cjs.entry.js +1 -1
  84. package/dist/cjs/tds-toast.cjs.entry.js +7 -6
  85. package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
  86. package/dist/cjs/tds-tooltip.cjs.entry.js +3 -3
  87. package/dist/cjs/tegel.cjs.js +3 -3
  88. package/dist/collection/collection-manifest.json +2 -2
  89. package/dist/collection/components/accordion/accordion.stories.js +1 -1
  90. package/dist/collection/components/badge/badge.stories.js +1 -1
  91. package/dist/collection/components/banner/banner.js +2 -1
  92. package/dist/collection/components/banner/banner.stories.js +2 -2
  93. package/dist/collection/components/block/block.js +4 -2
  94. package/dist/collection/components/block/block.stories.js +1 -1
  95. package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +1 -1
  96. package/dist/collection/components/button/button.js +1 -1
  97. package/dist/collection/components/button/button.stories.js +2 -2
  98. package/dist/collection/components/card/card.css +1 -0
  99. package/dist/collection/components/card/card.js +2 -1
  100. package/dist/collection/components/card/card.stories.js +1 -1
  101. package/dist/collection/components/checkbox/checkbox.js +1 -1
  102. package/dist/collection/components/checkbox/checkbox.stories.js +1 -1
  103. package/dist/collection/components/chip/chip.js +2 -1
  104. package/dist/collection/components/chip/chip.stories.js +1 -1
  105. package/dist/collection/components/datetime/datetime.js +1 -1
  106. package/dist/collection/components/datetime/datetime.stories.js +1 -1
  107. package/dist/collection/components/divider/divider.stories.js +1 -1
  108. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +3 -2
  109. package/dist/collection/components/dropdown/dropdown.css +7 -2
  110. package/dist/collection/components/dropdown/dropdown.js +151 -61
  111. package/dist/collection/components/dropdown/dropdown.stories.js +10 -14
  112. package/dist/collection/components/footer/footer.js +1 -1
  113. package/dist/collection/components/footer/footer.stories.js +1 -1
  114. package/dist/collection/components/header/header-dropdown/header-dropdown.js +1 -1
  115. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +2 -1
  116. package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
  117. package/dist/collection/components/header/header-item/header-item.js +1 -1
  118. package/dist/collection/components/header/header-launcher/header-launcher.js +2 -1
  119. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
  120. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +2 -1
  121. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
  122. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
  123. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  124. package/dist/collection/components/header/header.js +2 -1
  125. package/dist/collection/components/header/header.stories.js +1 -1
  126. package/dist/collection/components/icon/icon.js +20 -1
  127. package/dist/collection/components/icon/icon.stories.js +1 -1
  128. package/dist/collection/components/link/link.stories.js +1 -1
  129. package/dist/collection/components/message/message.stories.js +1 -1
  130. package/dist/collection/components/modal/modal.js +1 -1
  131. package/dist/collection/components/modal/modal.stories.js +1 -1
  132. package/dist/collection/components/popover-canvas/popover-canvas.js +1 -1
  133. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +1 -1
  134. package/dist/collection/components/popover-menu/popover-menu.js +1 -1
  135. package/dist/collection/components/popover-menu/popover-menu.stories.js +3 -5
  136. package/dist/collection/components/radio-button/radio-button.js +1 -1
  137. package/dist/collection/components/radio-button/radio-button.stories.js +1 -1
  138. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  139. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +1 -1
  140. package/dist/collection/components/side-menu/side-menu.js +3 -3
  141. package/dist/collection/components/side-menu/side-menu.stories.js +1 -1
  142. package/dist/collection/components/slider/slider.js +16 -7
  143. package/dist/collection/components/slider/slider.stories.js +3 -3
  144. package/dist/collection/components/spinner/spinner.stories.js +1 -1
  145. package/dist/collection/components/stepper/stepper.js +2 -2
  146. package/dist/collection/components/stepper/stepper.stories.js +1 -1
  147. package/dist/collection/components/table/table/table.js +2 -2
  148. package/dist/collection/components/table/table-component-basic.stories.js +1 -1
  149. package/dist/collection/components/table/table-component-batch-actions.stories.js +1 -1
  150. package/dist/collection/components/table/table-component-custom-width.stories.js +1 -1
  151. package/dist/collection/components/table/table-component-expandable-rows.stories.js +1 -1
  152. package/dist/collection/components/table/table-component-filtering.stories.js +1 -9
  153. package/dist/collection/components/table/table-component-multiselect.stories.js +1 -2
  154. package/dist/collection/components/table/table-component-pagination.stories.js +1 -1
  155. package/dist/collection/components/table/table-component-sorting.stories.js +1 -1
  156. package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +1 -1
  157. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +0 -6
  158. package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +1 -1
  159. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +0 -3
  160. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +1 -1
  161. package/dist/collection/components/text-field/text-field.js +2 -2
  162. package/dist/collection/components/text-field/text-field.stories.js +1 -1
  163. package/dist/collection/components/textarea/textarea.stories.js +1 -1
  164. package/dist/collection/components/toast/toast.js +2 -1
  165. package/dist/collection/components/toast/toast.stories.js +1 -1
  166. package/dist/collection/components/toggle/toggle.js +1 -1
  167. package/dist/collection/components/toggle/toggle.stories.js +1 -1
  168. package/dist/collection/components/tooltip/tooltip.js +1 -1
  169. package/dist/collection/components/tooltip/tooltip.stories.js +3 -13
  170. package/dist/collection/stories/Installation/installation.stories.js +4 -8
  171. package/dist/collection/stories/formatHtmlPreview.js +10 -0
  172. package/dist/collection/stories/foundations/color/color-brand.stories.js +1 -1
  173. package/dist/collection/stories/foundations/color/color-scales.stories.js +1 -1
  174. package/dist/collection/stories/foundations/color/color-semantic.stories.js +2 -2
  175. package/dist/collection/stories/foundations/grid/grid.stories.js +1 -1
  176. package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +1 -1
  177. package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +1 -1
  178. package/dist/collection/stories/foundations/typography/typography-body.stories.js +1 -1
  179. package/dist/collection/stories/foundations/typography/typography-detail.stories.js +1 -1
  180. package/dist/collection/stories/foundations/typography/typography-headline.stories.js +1 -1
  181. package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +1 -1
  182. package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +1 -1
  183. package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +1 -1
  184. package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +1 -1
  185. package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +1 -1
  186. package/dist/collection/stories/utility/color/background-color.stories.js +1 -1
  187. package/dist/collection/stories/utility/color/text-color.stories.js +1 -1
  188. package/dist/collection/types/Attributes.js +1 -0
  189. package/dist/collection/utils/appendHiddenInput.js +25 -0
  190. package/dist/collection/utils/dfs.js +26 -0
  191. package/dist/collection/utils/findNextFocusableElement.js +16 -0
  192. package/dist/collection/utils/findPreviousFocusableElement.js +17 -0
  193. package/dist/collection/utils/generateUniqueId.js +25 -0
  194. package/dist/collection/utils/getNestedChildOfSiblingsMatching.js +22 -0
  195. package/dist/collection/utils/getNextNestedChildOfSiblingsMatching.js +32 -0
  196. package/dist/collection/utils/getNextSibling.js +2 -0
  197. package/dist/collection/utils/getPreviousNestedChildOfSiblingsMatching.js +32 -0
  198. package/dist/collection/utils/getPreviousSibling.js +2 -0
  199. package/dist/collection/utils/hasSlot.js +8 -0
  200. package/dist/collection/utils/inheritAriaAttributes.js +74 -0
  201. package/dist/collection/utils/inheritAttributes.js +24 -0
  202. package/dist/collection/utils/isHeadingElement.js +12 -0
  203. package/dist/collection/utils/updateListChildrenRoles.js +15 -0
  204. package/{components → dist/components}/checkbox.js +1 -1
  205. package/dist/components/dfs.js +27 -0
  206. package/dist/components/generateUniqueId.js +26 -0
  207. package/dist/components/getPreviousNestedChildOfSiblingsMatching.js +68 -0
  208. package/dist/components/hasSlot.js +9 -0
  209. package/{components → dist/components}/header-dropdown-list.js +1 -1
  210. package/{components → dist/components}/header-item.js +1 -1
  211. package/{components → dist/components}/header-launcher-button.js +1 -1
  212. package/{components → dist/components}/icon.js +4 -1
  213. package/dist/components/inheritAriaAttributes.js +76 -0
  214. package/dist/components/inheritAttributes.js +25 -0
  215. package/{components → dist/components}/popover-canvas.js +1 -1
  216. package/{components → dist/components}/side-menu-item.js +1 -1
  217. package/{components → dist/components}/tds-accordion-item.d.ts +1 -1
  218. package/{components → dist/components}/tds-accordion.d.ts +1 -1
  219. package/{components → dist/components}/tds-badge.d.ts +1 -1
  220. package/{components → dist/components}/tds-banner.d.ts +1 -1
  221. package/{components → dist/components}/tds-banner.js +2 -1
  222. package/{components → dist/components}/tds-block.d.ts +1 -1
  223. package/{components → dist/components}/tds-block.js +4 -2
  224. package/{components → dist/components}/tds-body-cell.d.ts +1 -1
  225. package/{components → dist/components}/tds-breadcrumb.d.ts +1 -1
  226. package/{components → dist/components}/tds-breadcrumbs.d.ts +1 -1
  227. package/{components → dist/components}/tds-button.d.ts +1 -1
  228. package/{components → dist/components}/tds-button.js +1 -1
  229. package/{components → dist/components}/tds-card.d.ts +1 -1
  230. package/{components → dist/components}/tds-card.js +3 -2
  231. package/{components → dist/components}/tds-checkbox.d.ts +1 -1
  232. package/{components → dist/components}/tds-chip.d.ts +1 -1
  233. package/{components → dist/components}/tds-chip.js +2 -1
  234. package/{components → dist/components}/tds-core-header-item.d.ts +1 -1
  235. package/{components → dist/components}/tds-datetime.d.ts +1 -1
  236. package/{components → dist/components}/tds-datetime.js +1 -1
  237. package/{components → dist/components}/tds-divider.d.ts +1 -1
  238. package/{components → dist/components}/tds-dropdown-option.d.ts +1 -1
  239. package/{components → dist/components}/tds-dropdown-option.js +3 -2
  240. package/{components → dist/components}/tds-dropdown.d.ts +1 -1
  241. package/dist/components/tds-dropdown.js +446 -0
  242. package/{components → dist/components}/tds-folder-tab.d.ts +1 -1
  243. package/{components → dist/components}/tds-folder-tabs.d.ts +1 -1
  244. package/{components → dist/components}/tds-footer-group.d.ts +1 -1
  245. package/{components → dist/components}/tds-footer-item.d.ts +1 -1
  246. package/{components → dist/components}/tds-footer.d.ts +1 -1
  247. package/{components → dist/components}/tds-footer.js +1 -1
  248. package/{components → dist/components}/tds-header-brand-symbol.d.ts +1 -1
  249. package/{components → dist/components}/tds-header-cell.d.ts +1 -1
  250. package/{components → dist/components}/tds-header-dropdown-list-item.d.ts +1 -1
  251. package/{components → dist/components}/tds-header-dropdown-list-user.d.ts +1 -1
  252. package/{components → dist/components}/tds-header-dropdown-list.d.ts +1 -1
  253. package/{components → dist/components}/tds-header-dropdown.d.ts +1 -1
  254. package/{components → dist/components}/tds-header-dropdown.js +1 -1
  255. package/{components → dist/components}/tds-header-hamburger.d.ts +1 -1
  256. package/{components → dist/components}/tds-header-hamburger.js +1 -1
  257. package/{components → dist/components}/tds-header-item.d.ts +1 -1
  258. package/{components → dist/components}/tds-header-launcher-button.d.ts +1 -1
  259. package/{components → dist/components}/tds-header-launcher-grid-item.d.ts +1 -1
  260. package/{components → dist/components}/tds-header-launcher-grid-title.d.ts +1 -1
  261. package/{components → dist/components}/tds-header-launcher-grid-title.js +1 -1
  262. package/{components → dist/components}/tds-header-launcher-grid.d.ts +1 -1
  263. package/{components → dist/components}/tds-header-launcher-grid.js +1 -1
  264. package/{components → dist/components}/tds-header-launcher-list-item.d.ts +1 -1
  265. package/{components → dist/components}/tds-header-launcher-list-title.d.ts +1 -1
  266. package/{components → dist/components}/tds-header-launcher-list-title.js +1 -1
  267. package/{components → dist/components}/tds-header-launcher-list.d.ts +1 -1
  268. package/{components → dist/components}/tds-header-launcher-list.js +1 -1
  269. package/{components → dist/components}/tds-header-launcher.d.ts +1 -1
  270. package/{components → dist/components}/tds-header-launcher.js +2 -1
  271. package/{components → dist/components}/tds-header-title.d.ts +1 -1
  272. package/{components → dist/components}/tds-header.d.ts +1 -1
  273. package/{components → dist/components}/tds-header.js +16 -1
  274. package/{components → dist/components}/tds-icon.d.ts +1 -1
  275. package/{components → dist/components}/tds-inline-tab.d.ts +1 -1
  276. package/{components → dist/components}/tds-inline-tabs.d.ts +1 -1
  277. package/{components → dist/components}/tds-inline-tabs.js +0 -6
  278. package/{components → dist/components}/tds-link.d.ts +1 -1
  279. package/{components → dist/components}/tds-message.d.ts +1 -1
  280. package/{components → dist/components}/tds-modal.d.ts +1 -1
  281. package/{components → dist/components}/tds-modal.js +1 -1
  282. package/{components → dist/components}/tds-navigation-tab.d.ts +1 -1
  283. package/{components → dist/components}/tds-navigation-tabs.d.ts +1 -1
  284. package/{components → dist/components}/tds-navigation-tabs.js +0 -3
  285. package/{components → dist/components}/tds-popover-canvas.d.ts +1 -1
  286. package/{components → dist/components}/tds-popover-core.d.ts +1 -1
  287. package/{components → dist/components}/tds-popover-menu-item.d.ts +1 -1
  288. package/{components → dist/components}/tds-popover-menu.d.ts +1 -1
  289. package/{components → dist/components}/tds-popover-menu.js +1 -1
  290. package/{components → dist/components}/tds-radio-button.d.ts +1 -1
  291. package/{components → dist/components}/tds-radio-button.js +1 -1
  292. package/{components → dist/components}/tds-side-menu-close-button.d.ts +1 -1
  293. package/{components → dist/components}/tds-side-menu-close-button.js +1 -1
  294. package/{components → dist/components}/tds-side-menu-collapse-button.d.ts +1 -1
  295. package/{components → dist/components}/tds-side-menu-dropdown-list-item.d.ts +1 -1
  296. package/{components → dist/components}/tds-side-menu-dropdown-list.d.ts +1 -1
  297. package/{components → dist/components}/tds-side-menu-dropdown.d.ts +1 -1
  298. package/{components → dist/components}/tds-side-menu-item.d.ts +1 -1
  299. package/{components → dist/components}/tds-side-menu-overlay.d.ts +1 -1
  300. package/{components → dist/components}/tds-side-menu-user-image.d.ts +1 -1
  301. package/{components → dist/components}/tds-side-menu-user-label.d.ts +1 -1
  302. package/{components → dist/components}/tds-side-menu-user.d.ts +1 -1
  303. package/{components → dist/components}/tds-side-menu.d.ts +1 -1
  304. package/{components → dist/components}/tds-slider.d.ts +1 -1
  305. package/{components → dist/components}/tds-slider.js +13 -7
  306. package/{components → dist/components}/tds-spinner.d.ts +1 -1
  307. package/{components → dist/components}/tds-step.d.ts +1 -1
  308. package/{components → dist/components}/tds-stepper.d.ts +1 -1
  309. package/{components → dist/components}/tds-stepper.js +1 -1
  310. package/{components → dist/components}/tds-table-body-row-expandable.d.ts +1 -1
  311. package/{components → dist/components}/tds-table-body-row.d.ts +1 -1
  312. package/{components → dist/components}/tds-table-body.d.ts +1 -1
  313. package/{components → dist/components}/tds-table-footer.d.ts +1 -1
  314. package/{components → dist/components}/tds-table-header.d.ts +1 -1
  315. package/{components → dist/components}/tds-table-toolbar.d.ts +1 -1
  316. package/{components → dist/components}/tds-table.d.ts +1 -1
  317. package/{components → dist/components}/tds-table.js +1 -1
  318. package/{components → dist/components}/tds-text-field.d.ts +1 -1
  319. package/{components → dist/components}/tds-text-field.js +2 -2
  320. package/{components → dist/components}/tds-textarea.d.ts +1 -1
  321. package/{components → dist/components}/tds-toast.d.ts +1 -1
  322. package/{components → dist/components}/tds-toast.js +2 -1
  323. package/{components → dist/components}/tds-toggle.d.ts +1 -1
  324. package/{components → dist/components}/tds-toggle.js +1 -1
  325. package/{components → dist/components}/tds-tooltip.d.ts +1 -1
  326. package/{components → dist/components}/tds-tooltip.js +1 -1
  327. package/dist/esm/dfs-3f5bd9e8.js +27 -0
  328. package/dist/esm/generateUniqueId-c96c8ee6.js +26 -0
  329. package/dist/esm/hasSlot-d52114d0.js +9 -0
  330. package/dist/esm/{index-7471aeb6.js → index-21543b0f.js} +5 -5
  331. package/dist/esm/inheritAriaAttributes-d4dfca6b.js +76 -0
  332. package/dist/esm/inheritAttributes-8bb09af0.js +25 -0
  333. package/dist/esm/isHeadingElement-2c158fc4.js +68 -0
  334. package/dist/esm/loader.js +3 -3
  335. package/dist/esm/tds-accordion-item.entry.js +1 -1
  336. package/dist/esm/tds-accordion.entry.js +1 -1
  337. package/dist/esm/tds-badge.entry.js +1 -1
  338. package/dist/esm/tds-banner.entry.js +3 -2
  339. package/dist/esm/tds-block.entry.js +5 -3
  340. package/dist/esm/tds-body-cell.entry.js +1 -1
  341. package/dist/esm/tds-breadcrumb.entry.js +1 -1
  342. package/dist/esm/tds-breadcrumbs.entry.js +1 -1
  343. package/dist/esm/tds-button.entry.js +2 -2
  344. package/dist/esm/tds-card.entry.js +4 -3
  345. package/dist/esm/tds-checkbox.entry.js +2 -2
  346. package/dist/esm/tds-chip.entry.js +3 -2
  347. package/dist/esm/tds-core-header-item_2.entry.js +2 -2
  348. package/dist/esm/tds-datetime.entry.js +2 -2
  349. package/dist/esm/tds-divider.entry.js +1 -1
  350. package/dist/esm/tds-dropdown-option.entry.js +4 -3
  351. package/dist/esm/tds-dropdown.entry.js +182 -56
  352. package/dist/esm/tds-folder-tab.entry.js +1 -1
  353. package/dist/esm/tds-folder-tabs.entry.js +1 -1
  354. package/dist/esm/tds-footer-group.entry.js +1 -1
  355. package/dist/esm/tds-footer-item.entry.js +1 -1
  356. package/dist/esm/tds-footer.entry.js +2 -2
  357. package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
  358. package/dist/esm/tds-header-cell.entry.js +1 -1
  359. package/dist/esm/tds-header-dropdown-list-item.entry.js +1 -1
  360. package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
  361. package/dist/esm/tds-header-dropdown-list.entry.js +3 -2
  362. package/dist/esm/tds-header-dropdown.entry.js +2 -2
  363. package/dist/esm/tds-header-hamburger.entry.js +3 -2
  364. package/dist/esm/tds-header-launcher-button.entry.js +3 -2
  365. package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
  366. package/dist/esm/tds-header-launcher-grid-title.entry.js +2 -2
  367. package/dist/esm/tds-header-launcher-grid.entry.js +3 -2
  368. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  369. package/dist/esm/tds-header-launcher-list-title.entry.js +2 -2
  370. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  371. package/dist/esm/tds-header-launcher.entry.js +4 -2
  372. package/dist/esm/tds-header-title.entry.js +1 -1
  373. package/dist/esm/tds-header.entry.js +18 -2
  374. package/dist/esm/tds-icon.entry.js +4 -2
  375. package/dist/esm/tds-inline-tab.entry.js +1 -1
  376. package/dist/esm/tds-inline-tabs.entry.js +1 -7
  377. package/dist/esm/tds-link.entry.js +1 -1
  378. package/dist/esm/tds-message.entry.js +1 -1
  379. package/dist/esm/tds-modal.entry.js +2 -2
  380. package/dist/esm/tds-navigation-tab.entry.js +1 -1
  381. package/dist/esm/tds-navigation-tabs.entry.js +1 -4
  382. package/dist/esm/tds-popover-canvas.entry.js +2 -2
  383. package/dist/esm/tds-popover-core.entry.js +1 -1
  384. package/dist/esm/tds-popover-menu-item.entry.js +1 -1
  385. package/dist/esm/tds-popover-menu.entry.js +2 -2
  386. package/dist/esm/tds-radio-button.entry.js +2 -2
  387. package/dist/esm/tds-side-menu-close-button.entry.js +3 -2
  388. package/dist/esm/tds-side-menu-collapse-button.entry.js +1 -1
  389. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +1 -1
  390. package/dist/esm/tds-side-menu-dropdown-list.entry.js +1 -1
  391. package/dist/esm/tds-side-menu-dropdown.entry.js +1 -1
  392. package/dist/esm/tds-side-menu-item.entry.js +2 -2
  393. package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
  394. package/dist/esm/tds-side-menu-user-image_2.entry.js +1 -1
  395. package/dist/esm/tds-side-menu-user.entry.js +1 -1
  396. package/dist/esm/tds-side-menu.entry.js +1 -1
  397. package/dist/esm/tds-slider.entry.js +14 -8
  398. package/dist/esm/tds-spinner.entry.js +1 -1
  399. package/dist/esm/tds-step.entry.js +1 -1
  400. package/dist/esm/tds-stepper.entry.js +2 -2
  401. package/dist/esm/tds-table-body-row-expandable.entry.js +1 -1
  402. package/dist/esm/tds-table-body-row.entry.js +1 -1
  403. package/dist/esm/tds-table-body.entry.js +1 -1
  404. package/dist/esm/tds-table-footer.entry.js +1 -1
  405. package/dist/esm/tds-table-header.entry.js +1 -1
  406. package/dist/esm/tds-table-toolbar.entry.js +1 -1
  407. package/dist/esm/tds-table.entry.js +2 -2
  408. package/dist/esm/tds-text-field.entry.js +3 -3
  409. package/dist/esm/tds-textarea.entry.js +1 -1
  410. package/dist/esm/tds-toast.entry.js +3 -2
  411. package/dist/esm/tds-toggle.entry.js +2 -2
  412. package/dist/esm/tds-tooltip.entry.js +2 -2
  413. package/dist/esm/tegel.js +4 -4
  414. package/dist/tegel/p-098a26f3.js +1 -0
  415. package/dist/tegel/{p-bd823881.entry.js → p-0a8ee1f9.entry.js} +1 -1
  416. package/dist/tegel/p-0c4fbe10.entry.js +1 -0
  417. package/dist/tegel/p-0edeccb6.js +1 -0
  418. package/dist/tegel/p-0f8f9398.entry.js +1 -0
  419. package/dist/tegel/p-1168e527.entry.js +1 -0
  420. package/dist/tegel/{p-e9b8d1d5.entry.js → p-15230250.entry.js} +1 -1
  421. package/dist/tegel/{p-514610b9.entry.js → p-17d0b13e.entry.js} +1 -1
  422. package/dist/tegel/{p-888fec9e.entry.js → p-22f15794.entry.js} +1 -1
  423. package/dist/tegel/{p-37b1329c.entry.js → p-235cda64.entry.js} +1 -1
  424. package/dist/tegel/{p-54ebce22.entry.js → p-23822382.entry.js} +1 -1
  425. package/dist/tegel/p-26e5d00c.entry.js +1 -0
  426. package/dist/tegel/p-2727d592.entry.js +1 -0
  427. package/dist/tegel/{p-9af2e8ab.entry.js → p-289a487d.entry.js} +1 -1
  428. package/dist/tegel/p-2955b397.entry.js +1 -0
  429. package/dist/tegel/{p-f2819741.entry.js → p-2ab8970f.entry.js} +1 -1
  430. package/dist/tegel/{p-5663c320.entry.js → p-30743f62.entry.js} +1 -1
  431. package/dist/tegel/p-3079490b.entry.js +1 -0
  432. package/dist/tegel/{p-446ab609.entry.js → p-30c571d4.entry.js} +1 -1
  433. package/dist/tegel/{p-286691df.entry.js → p-32c133ba.entry.js} +1 -1
  434. package/dist/tegel/p-35265b56.entry.js +1 -0
  435. package/dist/tegel/p-363ee512.entry.js +1 -0
  436. package/dist/tegel/{p-0d573de8.entry.js → p-3ad7d61d.entry.js} +1 -1
  437. package/dist/tegel/{p-d8215514.entry.js → p-3b39140f.entry.js} +1 -1
  438. package/dist/tegel/{p-0eac159c.entry.js → p-3cd5821f.entry.js} +1 -1
  439. package/dist/tegel/{p-073cf6c0.entry.js → p-44a3b63b.entry.js} +1 -1
  440. package/dist/tegel/p-4a02a38f.entry.js +1 -0
  441. package/dist/tegel/{p-824f5dad.entry.js → p-4af50429.entry.js} +1 -1
  442. package/dist/tegel/{p-62732059.entry.js → p-4bca96e5.entry.js} +1 -1
  443. package/dist/tegel/p-4df1ed46.entry.js +1 -0
  444. package/dist/tegel/{p-166d6252.entry.js → p-50ea7ad8.entry.js} +1 -1
  445. package/dist/tegel/{p-0d886890.entry.js → p-52719efc.entry.js} +1 -1
  446. package/dist/tegel/{p-d1be74e7.entry.js → p-555e1263.entry.js} +1 -1
  447. package/dist/tegel/p-57156832.entry.js +1 -0
  448. package/dist/tegel/{p-f6ff8d7e.entry.js → p-595c3a77.entry.js} +1 -1
  449. package/dist/tegel/{p-2782cab8.entry.js → p-5a6efad0.entry.js} +1 -1
  450. package/dist/tegel/{p-fc88f7ba.entry.js → p-5b9115c3.entry.js} +1 -1
  451. package/dist/tegel/{p-8b634b36.entry.js → p-72bbf0af.entry.js} +1 -1
  452. package/dist/tegel/{p-d289a792.entry.js → p-74644ab7.entry.js} +1 -1
  453. package/dist/tegel/{p-94c27eb3.entry.js → p-762357bb.entry.js} +1 -1
  454. package/dist/tegel/{p-cbb227b3.entry.js → p-7b0dabcb.entry.js} +1 -1
  455. package/dist/tegel/p-7e0ec688.entry.js +1 -0
  456. package/dist/tegel/p-81039661.js +1 -0
  457. package/dist/tegel/p-86f542a6.js +1 -0
  458. package/dist/tegel/{p-a72409fc.entry.js → p-8ad9d997.entry.js} +1 -1
  459. package/dist/tegel/{p-f712146b.entry.js → p-90597e3c.entry.js} +1 -1
  460. package/dist/tegel/{p-2efaac74.entry.js → p-931a6b29.entry.js} +1 -1
  461. package/dist/tegel/{p-5b58d6c9.entry.js → p-950ad7d7.entry.js} +1 -1
  462. package/dist/tegel/{p-495d2b37.entry.js → p-970da069.entry.js} +1 -1
  463. package/dist/tegel/{p-26757a32.entry.js → p-9920be66.entry.js} +1 -1
  464. package/dist/tegel/{p-c1ed83c6.entry.js → p-9bc33f53.entry.js} +1 -1
  465. package/dist/tegel/{p-364654b5.entry.js → p-a0a1840f.entry.js} +1 -1
  466. package/dist/tegel/{p-026a3e05.entry.js → p-a3123355.entry.js} +1 -1
  467. package/dist/tegel/{p-d1289eb3.entry.js → p-a3440291.entry.js} +1 -1
  468. package/dist/tegel/{p-ae2c6537.entry.js → p-a7a12627.entry.js} +1 -1
  469. package/dist/tegel/{p-7bbae944.entry.js → p-a9df694d.entry.js} +1 -1
  470. package/dist/tegel/{p-9c6e8abb.entry.js → p-ac253317.entry.js} +1 -1
  471. package/dist/tegel/{p-38c68fac.entry.js → p-ac8585f9.entry.js} +1 -1
  472. package/dist/tegel/{p-301110a1.entry.js → p-adca7314.entry.js} +1 -1
  473. package/dist/tegel/p-adf21f07.entry.js +1 -0
  474. package/dist/tegel/p-ae110fc2.js +1 -0
  475. package/dist/tegel/{p-b0a5cef2.entry.js → p-b1e3feda.entry.js} +1 -1
  476. package/dist/tegel/{p-62154528.entry.js → p-c1b19d10.entry.js} +1 -1
  477. package/dist/tegel/{p-045e99f2.entry.js → p-c46dad72.entry.js} +1 -1
  478. package/dist/tegel/{p-77282750.entry.js → p-cb3ba5d0.entry.js} +1 -1
  479. package/dist/tegel/p-cc0ea750.entry.js +1 -0
  480. package/dist/tegel/p-cc2a998f.entry.js +1 -0
  481. package/dist/tegel/p-cc771b46.entry.js +1 -0
  482. package/dist/tegel/{p-386c3c42.entry.js → p-d98cf434.entry.js} +1 -1
  483. package/dist/tegel/{p-acabb656.entry.js → p-da386849.entry.js} +1 -1
  484. package/dist/tegel/p-df2c8c5b.entry.js +1 -0
  485. package/dist/tegel/{p-dfeaa580.entry.js → p-df7f3773.entry.js} +1 -1
  486. package/dist/tegel/{p-78a367c0.entry.js → p-e122947b.entry.js} +1 -1
  487. package/dist/tegel/p-e179315a.entry.js +1 -0
  488. package/dist/tegel/p-e74f77c4.entry.js +1 -0
  489. package/dist/tegel/{p-34e75630.entry.js → p-edc8b0b0.entry.js} +1 -1
  490. package/dist/tegel/p-effd0764.entry.js +1 -0
  491. package/dist/tegel/{p-c9c5b832.entry.js → p-f375707c.entry.js} +1 -1
  492. package/dist/tegel/{p-ef96df10.entry.js → p-f6ca4367.entry.js} +1 -1
  493. package/dist/tegel/p-f71c9fe3.entry.js +1 -0
  494. package/dist/tegel/p-f7ce52e9.js +1 -0
  495. package/dist/tegel/{p-974ee937.entry.js → p-f84d4394.entry.js} +1 -1
  496. package/dist/tegel/{p-eeedd806.entry.js → p-f9c37154.entry.js} +1 -1
  497. package/dist/tegel/p-ff07dea0.entry.js +1 -0
  498. package/dist/tegel/tegel.esm.js +1 -1
  499. package/dist/types/components/block/block.d.ts +1 -1
  500. package/dist/types/components/dropdown/dropdown.d.ts +29 -11
  501. package/dist/types/components/icon/icon.d.ts +2 -0
  502. package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
  503. package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
  504. package/dist/types/components/slider/slider.d.ts +1 -1
  505. package/dist/types/components/table/table-component-filtering.stories.d.ts +0 -8
  506. package/dist/types/components/table/table-component-multiselect.stories.d.ts +0 -1
  507. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  508. package/dist/types/components.d.ts +11 -2
  509. package/dist/types/stencil-public-runtime.d.ts +3 -3
  510. package/dist/types/stories/formatHtmlPreview.d.ts +2 -0
  511. package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +1 -1
  512. package/dist/types/types/Attributes.d.ts +3 -0
  513. package/dist/types/utils/appendHiddenInput.d.ts +15 -0
  514. package/dist/types/utils/dfs.d.ts +10 -0
  515. package/dist/types/utils/findNextFocusableElement.d.ts +7 -0
  516. package/dist/types/utils/findPreviousFocusableElement.d.ts +8 -0
  517. package/dist/types/utils/generateUniqueId.d.ts +15 -0
  518. package/dist/types/utils/getNestedChildOfSiblingsMatching.d.ts +2 -0
  519. package/dist/types/utils/getNextNestedChildOfSiblingsMatching.d.ts +30 -0
  520. package/dist/types/utils/getNextSibling.d.ts +2 -0
  521. package/dist/types/utils/getPreviousNestedChildOfSiblingsMatching.d.ts +30 -0
  522. package/dist/types/utils/getPreviousSibling.d.ts +2 -0
  523. package/dist/types/utils/hasSlot.d.ts +8 -0
  524. package/dist/types/utils/inheritAriaAttributes.d.ts +9 -0
  525. package/dist/types/utils/inheritAttributes.d.ts +13 -0
  526. package/dist/types/utils/isHeadingElement.d.ts +8 -0
  527. package/dist/types/utils/updateListChildrenRoles.d.ts +6 -0
  528. package/package.json +3 -3
  529. package/components/tds-dropdown.js +0 -319
  530. package/components/utils.js +0 -489
  531. package/dist/cjs/utils-23ce2e45.js +0 -501
  532. package/dist/collection/utils/utils.js +0 -369
  533. package/dist/collection/utils/utils.spec.js +0 -15
  534. package/dist/esm/utils-4d967376.js +0 -489
  535. package/dist/tegel/p-1af982bc.entry.js +0 -1
  536. package/dist/tegel/p-24fc848d.entry.js +0 -1
  537. package/dist/tegel/p-271d0081.entry.js +0 -1
  538. package/dist/tegel/p-3c5acada.entry.js +0 -1
  539. package/dist/tegel/p-461e81bd.entry.js +0 -1
  540. package/dist/tegel/p-4e676ba1.entry.js +0 -1
  541. package/dist/tegel/p-52b727a7.entry.js +0 -1
  542. package/dist/tegel/p-5e6318d2.entry.js +0 -1
  543. package/dist/tegel/p-67fa6245.entry.js +0 -1
  544. package/dist/tegel/p-6e1c6b71.entry.js +0 -1
  545. package/dist/tegel/p-7125dad7.entry.js +0 -1
  546. package/dist/tegel/p-8a502e4f.entry.js +0 -1
  547. package/dist/tegel/p-8a6dac22.entry.js +0 -1
  548. package/dist/tegel/p-8faaaaf3.entry.js +0 -1
  549. package/dist/tegel/p-8fea52fe.js +0 -43
  550. package/dist/tegel/p-98d31b74.entry.js +0 -1
  551. package/dist/tegel/p-aeff41d5.entry.js +0 -1
  552. package/dist/tegel/p-c65429b4.entry.js +0 -1
  553. package/dist/tegel/p-ca8b8a16.entry.js +0 -1
  554. package/dist/tegel/p-d4aa3315.entry.js +0 -1
  555. package/dist/tegel/p-d852143b.entry.js +0 -1
  556. package/dist/tegel/p-e9ae12d7.entry.js +0 -1
  557. package/dist/tegel/p-ec6afc7b.entry.js +0 -1
  558. package/dist/tegel/p-f147d270.entry.js +0 -1
  559. package/dist/types/utils/utils.d.ts +0 -164
  560. /package/{components → dist/components}/core-header-item.js +0 -0
  561. /package/{components → dist/components}/divider.js +0 -0
  562. /package/{components → dist/components}/header-dropdown-list-item.js +0 -0
  563. /package/{components → dist/components}/index.d.ts +0 -0
  564. /package/{components → dist/components}/index.js +0 -0
  565. /package/{components → dist/components}/popover-core.js +0 -0
  566. /package/{components → dist/components}/side-menu-user-image.js +0 -0
  567. /package/{components → dist/components}/side-menu-user-label.js +0 -0
  568. /package/{components → dist/components}/tds-accordion-item.js +0 -0
  569. /package/{components → dist/components}/tds-accordion.js +0 -0
  570. /package/{components → dist/components}/tds-badge.js +0 -0
  571. /package/{components → dist/components}/tds-body-cell.js +0 -0
  572. /package/{components → dist/components}/tds-breadcrumb.js +0 -0
  573. /package/{components → dist/components}/tds-breadcrumbs.js +0 -0
  574. /package/{components → dist/components}/tds-checkbox.js +0 -0
  575. /package/{components → dist/components}/tds-core-header-item.js +0 -0
  576. /package/{components → dist/components}/tds-divider.js +0 -0
  577. /package/{components → dist/components}/tds-folder-tab.js +0 -0
  578. /package/{components → dist/components}/tds-folder-tabs.js +0 -0
  579. /package/{components → dist/components}/tds-footer-group.js +0 -0
  580. /package/{components → dist/components}/tds-footer-item.js +0 -0
  581. /package/{components → dist/components}/tds-header-brand-symbol.js +0 -0
  582. /package/{components → dist/components}/tds-header-cell.js +0 -0
  583. /package/{components → dist/components}/tds-header-dropdown-list-item.js +0 -0
  584. /package/{components → dist/components}/tds-header-dropdown-list-user.js +0 -0
  585. /package/{components → dist/components}/tds-header-dropdown-list.js +0 -0
  586. /package/{components → dist/components}/tds-header-item.js +0 -0
  587. /package/{components → dist/components}/tds-header-launcher-button.js +0 -0
  588. /package/{components → dist/components}/tds-header-launcher-grid-item.js +0 -0
  589. /package/{components → dist/components}/tds-header-launcher-list-item.js +0 -0
  590. /package/{components → dist/components}/tds-header-title.js +0 -0
  591. /package/{components → dist/components}/tds-icon.js +0 -0
  592. /package/{components → dist/components}/tds-inline-tab.js +0 -0
  593. /package/{components → dist/components}/tds-link.js +0 -0
  594. /package/{components → dist/components}/tds-message.js +0 -0
  595. /package/{components → dist/components}/tds-navigation-tab.js +0 -0
  596. /package/{components → dist/components}/tds-popover-canvas.js +0 -0
  597. /package/{components → dist/components}/tds-popover-core.js +0 -0
  598. /package/{components → dist/components}/tds-popover-menu-item.js +0 -0
  599. /package/{components → dist/components}/tds-side-menu-collapse-button.js +0 -0
  600. /package/{components → dist/components}/tds-side-menu-dropdown-list-item.js +0 -0
  601. /package/{components → dist/components}/tds-side-menu-dropdown-list.js +0 -0
  602. /package/{components → dist/components}/tds-side-menu-dropdown.js +0 -0
  603. /package/{components → dist/components}/tds-side-menu-item.js +0 -0
  604. /package/{components → dist/components}/tds-side-menu-overlay.js +0 -0
  605. /package/{components → dist/components}/tds-side-menu-user-image.js +0 -0
  606. /package/{components → dist/components}/tds-side-menu-user-label.js +0 -0
  607. /package/{components → dist/components}/tds-side-menu-user.js +0 -0
  608. /package/{components → dist/components}/tds-side-menu.js +0 -0
  609. /package/{components → dist/components}/tds-spinner.js +0 -0
  610. /package/{components → dist/components}/tds-step.js +0 -0
  611. /package/{components → dist/components}/tds-table-body-row-expandable.js +0 -0
  612. /package/{components → dist/components}/tds-table-body-row.js +0 -0
  613. /package/{components → dist/components}/tds-table-body.js +0 -0
  614. /package/{components → dist/components}/tds-table-footer.js +0 -0
  615. /package/{components → dist/components}/tds-table-header.js +0 -0
  616. /package/{components → dist/components}/tds-table-toolbar.js +0 -0
  617. /package/{components → dist/components}/tds-textarea.js +0 -0
  618. /package/dist/tegel/{p-43fe6507.js → p-31561847.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-7471aeb6.js';
2
- import { g as generateUniqueId } from './utils-4d967376.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-21543b0f.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-c96c8ee6.js';
3
3
 
4
4
  const checkboxCss = ".sc-tds-checkbox-h{align-items:center;position:relative;box-sizing:border-box}.tds-checkbox.sc-tds-checkbox{box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-checkbox-text);display:flex;align-items:center;margin-left:-4px}.tds-checkbox.sc-tds-checkbox *.sc-tds-checkbox{box-sizing:border-box}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox{appearance:none;outline:none;margin:0;border:0;border-radius:2px;width:24px;height:24px;position:relative;cursor:pointer;flex-shrink:0;align-self:flex-start}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox+label.sc-tds-checkbox{color:var(--tds-checkbox-color);padding-left:var(--tds-spacing-element-4);padding-top:var(--tds-spacing-element-4);padding-bottom:var(--tds-spacing-element-4);cursor:pointer;display:flex;align-items:center}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox+label.sc-tds-checkbox::before{content:\"\";position:absolute;width:100%;height:100%;left:0;top:0}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::after{content:\"\";position:absolute;box-sizing:border-box}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::before{width:24px;height:24px;left:0;top:0;border-radius:4px}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::after{border:1px solid var(--tds-checkbox-interaction-01);background-color:var(--tds-checkbox-interaction-02);width:16px;height:16px;left:4px;top:4px;border-radius:2px}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:hover::before{background-color:var(--tds-checkbox-background-hover);opacity:var(--tds-checkbox-background-opacity-hover)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:focus::before{background-color:var(--tds-checkbox-background-focus);opacity:var(--tds-checkbox-background-opacity-focus);transition:opacity 0.2s ease-in-out}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox{cursor:not-allowed}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled::after,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox::after{border-color:var(--tds-checkbox-border-color-disabled-after)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled+label.sc-tds-checkbox,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox+label.sc-tds-checkbox{color:var(--tds-grey-600);cursor:not-allowed}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox:hover::before{display:none}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked::after{background-image:var(--tds-checkbox-background-img);background-color:var(--tds-checkbox-interaction-01);background-repeat:no-repeat;background-position:center}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:hover::before{background-color:var(--tds-checkbox-background-hover);opacity:var(--tds-checkbox-background-opacity-hover)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled::before{display:block;width:16px;height:16px;left:4px;top:4px;border:1px solid #b0b7c4}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled::after,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled::after{background-image:var(--tds-checkbox-background-img-disabled);background-color:var(--tds-checkbox-interaction-02);color:var(--tds-checkbox-color-disabled-after)}";
5
5
 
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7471aeb6.js';
2
- import { g as generateUniqueId, h as hasSlot } from './utils-4d967376.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21543b0f.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-c96c8ee6.js';
3
+ import { h as hasSlot } from './hasSlot-d52114d0.js';
3
4
 
4
5
  const chipCss = ".sc-tds-chip-s>*{display:inline-flex;align-items:center}.sc-tds-chip-h .sc-tds-chip-s>[slot=label]{padding-top:2px}.component.sc-tds-chip .tds-chip-component.sc-tds-chip{display:inline-flex}.component.sc-tds-chip .tds-chip-component.sc-tds-chip label.sc-tds-chip{background-color:var(--tds-chips-background);color:var(--tds-chips-color);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:inline-flex;align-items:center;border-radius:16px;cursor:pointer;white-space:nowrap}.component.sc-tds-chip .tds-chip-component.sc-tds-chip label.sc-tds-chip:hover{background-color:var(--tds-chips-background-hover)}.component.sc-tds-chip .tds-chip-component.lg.sc-tds-chip label.sc-tds-chip{height:32px;padding:0 16px;gap:8px}.component.sc-tds-chip .tds-chip-component.sm.sc-tds-chip label.sc-tds-chip{height:24px;padding:0 12px;gap:6px}.component.sc-tds-chip .tds-chip-component.sm.prefix.sc-tds-chip label.sc-tds-chip{padding:0 12px 0 6px}.component.sc-tds-chip .tds-chip-component.sm.suffix.sc-tds-chip label.sc-tds-chip{padding:0 6px 0 12px}.component.sc-tds-chip .tds-chip-component.lg.prefix.sc-tds-chip label.sc-tds-chip{padding:0 16px 0 8px}.component.sc-tds-chip .tds-chip-component.lg.suffix.sc-tds-chip label.sc-tds-chip{padding:0 8px 0 16px}.component.sc-tds-chip .tds-chip-component.lg.prefix.suffix.sc-tds-chip label.sc-tds-chip{padding:0 8px}.component.sc-tds-chip .tds-chip-component.sm.prefix.suffix.sc-tds-chip label.sc-tds-chip{padding:0 6px}.component.sc-tds-chip .tds-chip-component.sc-tds-chip input.sc-tds-chip{opacity:0;position:absolute;z-index:-1}.component.sc-tds-chip .tds-chip-component.sc-tds-chip input.sc-tds-chip:focus-visible+label.sc-tds-chip{outline:2px solid var(--tds-blue-400);outline-offset:-2px;background-color:var(--tds-chips-background-focus)}.component.sc-tds-chip .tds-chip-component.sc-tds-chip input.sc-tds-chip:checked+label.sc-tds-chip{background-color:var(--tds-chips-background-active);color:var(--tds-chips-color-active)}.component.sc-tds-chip .tds-chip-component.sc-tds-chip input.sc-tds-chip:checked+label.sc-tds-chip:hover{background-color:var(--tds-chips-background-active-hover)}";
5
6
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
2
- import { j as dfs } from './utils-4d967376.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
+ import { d as dfs } from './dfs-3f5bd9e8.js';
3
3
 
4
4
  const coreHeaderItemCss = ":host{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-header-nav-item-color)}:host .item{all:unset;box-sizing:border-box;display:flex;justify-content:center;align-items:center;min-width:var(--tds-header-height);height:var(--tds-header-height);margin:0}:host .item *{box-sizing:border-box}:host slot{white-space:nowrap}:host ::slotted(svg){font-size:20px}";
5
5
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-7471aeb6.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-21543b0f.js';
2
2
 
3
3
  const datetimeCss = ".tds-datetime-input[type=datetime-local].sc-tds-datetime~.icon-time.sc-tds-datetime,.tds-datetime-input-md[type=datetime-local].sc-tds-datetime~.icon-time.sc-tds-datetime,.tds-datetime-input-sm[type=datetime-local].sc-tds-datetime~.icon-time.sc-tds-datetime{display:none}.tds-datetime-input[type=date].sc-tds-datetime~.icon-time.sc-tds-datetime,.tds-datetime-input-md[type=date].sc-tds-datetime~.icon-time.sc-tds-datetime,.tds-datetime-input-sm[type=date].sc-tds-datetime~.icon-time.sc-tds-datetime{display:none}.tds-datetime-input[type=time].sc-tds-datetime~.icon-datetime-local.sc-tds-datetime,.tds-datetime-input-md[type=time].sc-tds-datetime~.icon-datetime-local.sc-tds-datetime,.tds-datetime-input-sm[type=time].sc-tds-datetime~.icon-datetime-local.sc-tds-datetime{display:none}.tds-datetime-input.sc-tds-datetime{box-sizing:border-box;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-datetime-color);background-color:var(--tds-datetime-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16)}.tds-datetime-input.sc-tds-datetime *.sc-tds-datetime{box-sizing:border-box}.tds-datetime-input.sc-tds-datetime::placeholder{opacity:1;color:var(--tds-datetime-placeholder)}.tds-datetime-input.sc-tds-datetime:focus::placeholder{color:var(--tds-datetime-placeholder-color-focus)}.tds-datetime-input.sc-tds-datetime:disabled{background-color:var(--tds-datetime-background-disabled);color:var(--tds-datetime-color-disabled);cursor:not-allowed}.tds-datetime-input.sc-tds-datetime:disabled::placeholder{color:var(--tds-datetime-placeholder-disabled)}.tds-datetime-input.sc-tds-datetime:disabled~.tds-datetime-label-inside.sc-tds-datetime{color:var(--tds-datetime-label-disabled)}.tds-datetime-input-md.sc-tds-datetime{box-sizing:border-box;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-datetime-color);background-color:var(--tds-datetime-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.tds-datetime-input-md.sc-tds-datetime *.sc-tds-datetime{box-sizing:border-box}.tds-datetime-input-md.sc-tds-datetime::placeholder{opacity:1;color:var(--tds-datetime-placeholder)}.tds-datetime-input-md.sc-tds-datetime:focus::placeholder{color:var(--tds-datetime-placeholder-color-focus)}.tds-datetime-input-md.sc-tds-datetime:disabled{background-color:var(--tds-datetime-background-disabled);color:var(--tds-datetime-color-disabled);cursor:not-allowed}.tds-datetime-input-md.sc-tds-datetime:disabled::placeholder{color:var(--tds-datetime-placeholder-disabled)}.tds-datetime-input-md.sc-tds-datetime:disabled~.tds-datetime-label-inside.sc-tds-datetime{color:var(--tds-datetime-label-disabled)}.tds-datetime-input-sm.sc-tds-datetime{box-sizing:border-box;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-datetime-color);background-color:var(--tds-datetime-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.tds-datetime-input-sm.sc-tds-datetime *.sc-tds-datetime{box-sizing:border-box}.tds-datetime-input-sm.sc-tds-datetime::placeholder{opacity:1;color:var(--tds-datetime-placeholder)}.tds-datetime-input-sm.sc-tds-datetime:focus::placeholder{color:var(--tds-datetime-placeholder-color-focus)}.tds-datetime-input-sm.sc-tds-datetime:disabled{background-color:var(--tds-datetime-background-disabled);color:var(--tds-datetime-color-disabled);cursor:not-allowed}.tds-datetime-input-sm.sc-tds-datetime:disabled::placeholder{color:var(--tds-datetime-placeholder-disabled)}.tds-datetime-input-sm.sc-tds-datetime:disabled~.tds-datetime-label-inside.sc-tds-datetime{color:var(--tds-datetime-label-disabled)}.tds-datetime-container.sc-tds-datetime{border-radius:4px 4px 0 0;display:flex;position:relative;height:56px;box-sizing:border-box;background-color:var(--tds-datetime-background);border-bottom:1px solid var(--tds-datetime-border-bottom);transition:border-bottom-color 200ms ease}.tds-datetime-container.sc-tds-datetime:hover{border-bottom-color:var(--tds-datetime-border-bottom-hover)}.tds-form-datetime-md.sc-tds-datetime .tds-datetime-container.sc-tds-datetime{height:48px}.tds-form-datetime-sm.sc-tds-datetime .tds-datetime-container.sc-tds-datetime{height:40px}.tds-datetime-input-container.sc-tds-datetime{position:relative;width:100%}.tds-datetime-input-container.sc-tds-datetime .datetime-icon.sc-tds-datetime{height:20px;width:20px;position:absolute;top:50%;transform:translateY(-50%);right:18px;pointer-events:none;color:var(--tds-datetime-icon)}.tds-datetime-label.sc-tds-datetime{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-datetime-label-color)}.tds-datetime-label-inside.sc-tds-datetime{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);position:absolute;pointer-events:none;color:var(--tds-datetime-label-inside-color);left:16px}.tds-form-datetime.sc-tds-datetime{display:block;min-width:208px;background:unset}.tds-form-datetime-nomin.sc-tds-datetime{min-width:auto}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input.sc-tds-datetime{padding-top:var(--tds-spacing-element-24);padding-bottom:15px}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime{top:20px}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input.sc-tds-datetime::placeholder{color:transparent}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input.sc-tds-datetime .sc-tds-datetime::placeholder{color:transparent}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input.sc-tds-datetime:focus::placeholder{transition:color 0.35s ease;color:var(--tds-datetime-placeholder-color-focus)}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime{top:16px}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime::placeholder{color:transparent}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime .sc-tds-datetime::placeholder{color:transparent}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime:focus::placeholder{transition:color 0.35s ease;color:var(--tds-datetime-placeholder-color-focus)}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime{top:16px}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime::placeholder{color:transparent}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime .sc-tds-datetime::placeholder{color:transparent}.tds-form-datetime.tds-datetime-container-label-inside.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime:focus::placeholder{transition:color 0.35s ease;color:var(--tds-datetime-placeholder-color-focus)}.tds-form-datetime.tds-datetime-container-label-inside.tds-datetime-focus.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime,.tds-form-datetime.tds-datetime-container-label-inside.tds-datetime-data.sc-tds-datetime .tds-datetime-input-sm.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.tds-form-datetime.tds-datetime-container-label-inside.tds-datetime-focus.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime,.tds-form-datetime.tds-datetime-container-label-inside.tds-datetime-data.sc-tds-datetime .tds-datetime-input-md.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.tds-form-datetime.tds-datetime-container-label-inside.tds-datetime-focus.sc-tds-datetime .tds-datetime-input.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime,.tds-form-datetime.tds-datetime-container-label-inside.tds-datetime-data.sc-tds-datetime .tds-datetime-input.sc-tds-datetime~.tds-datetime-label-inside.sc-tds-datetime{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:12px}.tds-datetime-bar.sc-tds-datetime{position:absolute;width:100%}.tds-datetime-bar.sc-tds-datetime::before,.tds-datetime-bar.sc-tds-datetime::after{content:\"\";height:2px;top:54px;width:0;position:absolute;background:var(--tds-datetime-bar);transition:0.35s ease all}.tds-form-datetime-md.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::before,.tds-form-datetime-md.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::after{top:46px}.tds-form-datetime-sm.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::before,.tds-form-datetime-sm.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::after{top:40px}.tds-datetime-bar.sc-tds-datetime::before{left:50%}.tds-datetime-bar.sc-tds-datetime::after{right:50%}.tds-datetime-focus.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::before,.tds-datetime-focus.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::after{width:50%}.tds-datetime-helper.sc-tds-datetime{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;flex-basis:100%;padding-top:var(--tds-spacing-element-4);color:var(--tds-datetime-helper)}.tds-datetime-helper.sc-tds-datetime .tds-helper.sc-tds-datetime{display:inline-flex;gap:8px}.tds-form-datetime-disabled.sc-tds-datetime .tds-datetime-container.sc-tds-datetime{border-bottom-color:transparent}.tds-form-datetime-disabled.sc-tds-datetime .datetime-icon.sc-tds-datetime tds-icon.sc-tds-datetime{color:var(--tds-datetime-icon-disabled)}.tds-form-datetime-disabled.sc-tds-datetime .tds-datetime-label.sc-tds-datetime{color:var(--tds-datetime-label-disabled);cursor:not-allowed}.tds-form-datetime-success.sc-tds-datetime .tds-datetime-container.sc-tds-datetime{border-bottom-color:var(--tds-datetime-border-bottom-success);color:var(--tds-datetime-color-success)}.tds-form-datetime-success.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::before,.tds-form-datetime-success.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::after{background:var(--tds-datetime-bar-sucess)}.tds-form-datetime-error.sc-tds-datetime .tds-datetime-helper.sc-tds-datetime{color:var(--tds-datetime-helper-error)}.tds-form-datetime-error.sc-tds-datetime .tds-datetime-container.sc-tds-datetime{border-bottom-color:var(--tds-datetime-border-bottom-error)}.tds-form-datetime-error.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::before,.tds-form-datetime-error.sc-tds-datetime .tds-datetime-bar.sc-tds-datetime::after{background:var(--tds-datetime-bar-error)}.tds-form-datetime-error.sc-tds-datetime .datetime-icon.sc-tds-datetime tds-icon.sc-tds-datetime{color:var(--tds-datetime-icon-error)}.tds-datetime-textcounter.sc-tds-datetime{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-datetime-textcounter);float:right}.tds-datetime-textcounter.sc-tds-datetime .tds-datetime-textcounter-divider.sc-tds-datetime{letter-spacing:var(--tds-detail-05-ls);color:var(--tds-datetime-textcounter-divider)}input[type=datetime-local].sc-tds-datetime::-webkit-inner-spin-button,input[type=datetime-local].sc-tds-datetime::-webkit-calendar-picker-indicator{opacity:0}input[type=date].sc-tds-datetime::-webkit-inner-spin-button,input[type=date].sc-tds-datetime::-webkit-calendar-picker-indicator{opacity:0}input[type=time].sc-tds-datetime::-webkit-inner-spin-button,input[type=time].sc-tds-datetime::-webkit-calendar-picker-indicator{opacity:0}";
4
4
 
@@ -93,7 +93,7 @@ const TdsDatetime = class {
93
93
  ${this.state === 'error' || this.state === 'success'
94
94
  ? `tds-form-datetime-${this.state}`
95
95
  : ''}
96
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { class: "tds-datetime-input-container" }, h("input", { ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), h("div", { class: "datetime-icon icon-datetime-local" }, h("tds-icon", { size: "20px", name: "calendar" })), h("div", { class: "datetime-icon icon-time" }, h("tds-icon", { size: "20px", name: "clock" }))), h("div", { class: "tds-datetime-bar" })), h("div", { class: "tds-datetime-helper" }, this.helper && (h("div", { class: "tds-helper" }, this.state === 'error' && h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
96
+ ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { class: "tds-datetime-input-container" }, h("input", { ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), h("div", { class: "datetime-icon icon-datetime-local" }, h("tds-icon", { size: "20px", name: "calendar" })), h("div", { class: "datetime-icon icon-time" }, h("tds-icon", { size: "20px", name: "clock" }))), h("div", { class: "tds-datetime-bar" })), this.helper && (h("div", { class: "tds-datetime-helper" }, h("div", { class: "tds-helper" }, this.state === 'error' && h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
97
97
  }
98
98
  };
99
99
  TdsDatetime.style = datetimeCss;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, H as Host } from './index-21543b0f.js';
2
2
 
3
3
  const dividerCss = ".divider{box-sizing:border-box}.divider *{box-sizing:border-box}.divider.horizontal{background-color:var(--tds-divider-background);width:100%;height:1px}.divider.vertical{background-color:var(--tds-divider-background);height:100%;width:1px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const dropdownOptionCss = ":host{display:block;background-color:var(--tds-dropdown-option-background)}:host .dropdown-option{display:flex;align-items:center;color:var(--tds-dropdown-option-color);border-bottom:1px solid var(--tds-dropdown-option-border);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .dropdown-option.selected{background-color:var(--tds-dropdown-option-background-selected)}:host .dropdown-option.disabled{color:var(--tds-dropdown-option-color-disabled)}:host .dropdown-option.lg{height:47px}:host .dropdown-option.md{height:47px}:host .dropdown-option.sm{height:39px}:host .dropdown-option button{all:unset;width:100%;height:100%}:host .dropdown-option button .single-select{display:flex;align-items:center;justify-content:space-between;padding:0 16px}:host .dropdown-option button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .dropdown-option .multiselect{width:100%;height:100%}:host .dropdown-option .multiselect tds-checkbox{display:flex;height:100%;width:100%;padding:0 16px}:host .dropdown-option:hover{background-color:var(--tds-dropdown-option-background-hover);cursor:pointer}:host .dropdown-option:hover.disabled{background-color:var(--tds-dropdown-option-background);cursor:not-allowed}:host([hidden]){display:none}";
4
4
 
@@ -20,7 +20,7 @@ const TdsDropdownOption = class {
20
20
  this.handleSingleSelect = () => {
21
21
  if (!this.disabled) {
22
22
  this.selected = true;
23
- this.parentElement.setValue(this.value, this.label);
23
+ this.parentElement.appendValue(this.value);
24
24
  this.parentElement.close();
25
25
  this.tdsSelect.emit({
26
26
  value: this.value,
@@ -31,7 +31,7 @@ const TdsDropdownOption = class {
31
31
  this.handleMultiselect = (event) => {
32
32
  if (!this.disabled) {
33
33
  if (event.detail.checked) {
34
- this.parentElement.setValue(this.value, this.label);
34
+ this.parentElement.appendValue(this.value);
35
35
  this.selected = true;
36
36
  this.tdsSelect.emit({
37
37
  value: this.value,
@@ -46,6 +46,7 @@ const TdsDropdownOption = class {
46
46
  selected: this.selected,
47
47
  });
48
48
  }
49
+ event.stopPropagation();
49
50
  }
50
51
  };
51
52
  this.handleFocus = (event) => {
@@ -1,7 +1,64 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7471aeb6.js';
2
- import { a as appendHiddenInput, f as findNextFocusableItem, b as findPreviousFocusableItem } from './utils-4d967376.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21543b0f.js';
3
2
 
4
- const dropdownCss = ":host button{all:unset;height:100%;width:100%;background-color:var(--tds-dropdown-bg);border-bottom:1px solid var(--tds-dropdown-border-bottom);border-radius:4px 4px 0 0}:host button:hover{border-bottom:1px solid var(--tds-dropdown-border-bottom-hover)}:host button .value-wrapper{padding:0 16px;display:flex;align-items:center;justify-content:space-between}:host button.placeholder{color:var(--tds-dropdown-placeholder-color)}:host button.value{color:var(--tds-dropdown-value-color)}:host button:focus{border-bottom-color:transparent}:host button:focus::before{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--tds-dropdown-border-bottom-open)}:host button.error{border-bottom:1px solid var(--tds-negative)}:host button:disabled{color:var(--tds-dropdown-disabled-color);border-bottom:1px solid transparent}:host .filter{display:flex;align-items:center;justify-content:space-between;height:100%;background-color:var(--tds-dropdown-bg);border-bottom:1px solid var(--tds-dropdown-border-bottom);padding-left:16px;border-radius:4px 4px 0 0}:host .filter:hover{border-bottom:1px solid var(--tds-dropdown-border-bottom-hover)}:host .filter.disabled{color:var(--tds-dropdown-disabled-color)}:host .filter .value-wrapper{display:flex;width:100%;height:100%}:host .filter .label-inside-as-placeholder{position:absolute;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-dropdown-placeholder-color)}:host .filter .label-inside-as-placeholder.lg{top:20px}:host .filter .label-inside-as-placeholder.md{top:16px}:host .filter .label-inside-as-placeholder.sm{display:none}:host .filter .label-inside-as-placeholder.selected{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:all 0.2s ease-in-out}:host .filter .label-inside-as-placeholder.selected.lg{top:12px}:host .filter .label-inside-as-placeholder.selected.md{top:8px}:host .filter .label-inside-as-placeholder.selected.sm{display:none}:host .filter .label-inside-as-placeholder.selected+.placeholder:not(.sm){margin-top:8px}:host .filter.focus{border-bottom-color:transparent}:host .filter.focus::before{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--tds-dropdown-border-bottom-open)}:host .filter input{flex:1;all:unset;width:100%}:host .filter input::placeholder{color:var(--tds-dropdown-placeholder-color)}:host .filter input:disabled::placeholder{color:var(--tds-dropdown-disabled-color)}:host .filter tds-icon{margin-right:16px}:host{display:block;position:relative;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .label-outside{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-dropdown-label-color);margin-bottom:8px}:host .label-outside.disabled{color:var(--tds-dropdown-disabled-color)}:host .dropdown-select{position:relative}:host .dropdown-select.disabled .label-inside,:host .dropdown-select.disabled .placeholder,:host .dropdown-select.disabled .label-inside-as-placeholder,:host .dropdown-select.disabled .value-wrapper{color:var(--tds-dropdown-disabled-color)}:host .dropdown-select .label-inside{position:absolute;font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);color:var(--tds-dropdown-label-inside-color)}:host .dropdown-select .label-inside.lg{top:12px;left:16px}:host .dropdown-select .label-inside.md{top:8px;left:16px}:host .dropdown-select .label-inside.sm{display:none}:host .dropdown-select .label-inside+.placeholder:not(.sm){margin-top:8px}:host .dropdown-select .placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .dropdown-select .label-inside-as-placeholder{color:var(--tds-dropdown-placeholder-color)}:host .dropdown-select .label-inside-as-placeholder.selected{position:absolute;font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:all 0.2s ease-in-out}:host .dropdown-select .label-inside-as-placeholder.selected.lg{top:12px}:host .dropdown-select .label-inside-as-placeholder.selected.md{top:8px}:host .dropdown-select .label-inside-as-placeholder.selected.sm{display:none}:host .dropdown-select .label-inside-as-placeholder.selected+.placeholder:not(.sm){margin-top:8px}:host .dropdown-select.lg{height:55px}:host .dropdown-select.md{height:47px}:host .dropdown-select.sm{height:39px}:host .helper{margin-top:4px;color:var(--tds-dropdown-helper-color);font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;align-items:center;gap:8px}:host .helper.error{color:var(--tds-negative)}:host .helper.disabled{color:var(--tds-dropdown-disabled-color)}:host .dropdown-list{z-index:100;position:absolute;margin-top:1px;width:100%;transform-origin:top;transition:transform 0.2s ease-in-out;box-shadow:rgba(0, 0, 0, 0.1) 0 2px 3px 0;border-radius:0 0 4px 4px;overflow-y:auto}:host .dropdown-list::-webkit-scrollbar{width:4px;background-color:inherit}:host .dropdown-list::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .dropdown-list ::-webkit-scrollbar-button{height:0;width:0}:host .dropdown-list.lg{max-height:312px}:host .dropdown-list.md{max-height:312px}:host .dropdown-list.sm{max-height:260px}:host .dropdown-list.up{bottom:100%;margin-top:0;margin-bottom:1px;transform-origin:bottom;display:flex;flex-direction:column-reverse;box-shadow:rgba(0, 0, 0, 0.1) 0 -1px 3px 0;border-radius:4px 4px 0 0}:host .dropdown-list.up.label-outside{bottom:calc(100% - 24px)}:host .dropdown-list.closed{transform:scaleY(0);visibility:hidden}:host .dropdown-list.open{transform:scaleY(1)}:host .dropdown-list .no-result{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:flex;align-items:center;padding:0 16px;background-color:var(--tds-dropdown-bg)}:host .dropdown-list .no-result.lg{height:56px}:host .dropdown-list .no-result.md{height:48px}:host .dropdown-list .no-result.sm{height:40px}:host tds-icon{transition:transform 0.2s ease-in-out}:host tds-icon.open{transform:rotateZ(180deg)}";
3
+ /**
4
+ * Find the next focusable element index in a list of focusable elements.
5
+ * @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
6
+ * @param nextItemIndex The index in the list to start the search on.
7
+ */
8
+ const findNextFocusableElement = (items, nextItemIndex) => {
9
+ if (items[nextItemIndex] === undefined) {
10
+ return 0;
11
+ }
12
+ for (let index = nextItemIndex; index < items.length; index++) {
13
+ if (!items[index].disabled) {
14
+ return index;
15
+ }
16
+ }
17
+ };
18
+
19
+ /**
20
+ * Find the previous focusable element index in a list of focusable elements.
21
+ *
22
+ * @param items List of focusable elements, element with a attribute of disabled that is true will be skipped over.
23
+ * @param nextItemIndex The index in the list to start the search on.
24
+ */
25
+ const findPreviousFocusableElement = (items, previousItemIndex) => {
26
+ if (items[previousItemIndex] === undefined) {
27
+ return items.length - 1;
28
+ }
29
+ for (let index = previousItemIndex; index >= 0; index--) {
30
+ if (!items[index].disabled) {
31
+ return index;
32
+ }
33
+ }
34
+ };
35
+
36
+ /** reference: https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts#L346
37
+ *
38
+ * Appends a hidden input element to allow the component
39
+ * work within and get picked up by a <form>.
40
+ * @param element The element on which the input with be appended.
41
+ * @param name Name of the input.
42
+ * @param value The value of the input.
43
+ * @param disabled Disables the input if true.
44
+ * @param additionalAttributes Additional attributes that should be passed to the input.
45
+ */
46
+ const appendHiddenInput = (element, name, value, disabled, additionalAttributes) => {
47
+ let input = element.querySelector('input');
48
+ if (!element.querySelector('input')) {
49
+ input = element.ownerDocument.createElement('input');
50
+ input.type = 'hidden';
51
+ if (additionalAttributes) {
52
+ additionalAttributes.forEach((attr) => input.setAttribute(attr.key, attr.value));
53
+ }
54
+ element.appendChild(input);
55
+ }
56
+ input.disabled = disabled;
57
+ input.name = name;
58
+ input.value = value || '';
59
+ };
60
+
61
+ const dropdownCss = ":host button{all:unset;height:100%;width:100%;background-color:var(--tds-dropdown-bg);border-bottom:1px solid var(--tds-dropdown-border-bottom);border-radius:4px 4px 0 0}:host button:hover{border-bottom:1px solid var(--tds-dropdown-border-bottom-hover)}:host button .value-wrapper{padding:0 16px;display:flex;align-items:center;justify-content:space-between}:host button.placeholder{color:var(--tds-dropdown-placeholder-color)}:host button.value{color:var(--tds-dropdown-value-color);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);line-height:1.3}:host button:focus{border-bottom-color:var(--tds-dropdown-border-bottom-open)}:host button:focus::before{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:1px;background:var(--tds-dropdown-border-bottom-open)}:host button.error{border-bottom:1px solid var(--tds-negative)}:host button:disabled{color:var(--tds-dropdown-disabled-color);border-bottom:1px solid transparent}:host .filter{display:flex;align-items:center;justify-content:space-between;height:100%;background-color:var(--tds-dropdown-bg);border-bottom:1px solid var(--tds-dropdown-border-bottom);padding-left:16px;border-radius:4px 4px 0 0}:host .filter:hover{border-bottom:1px solid var(--tds-dropdown-border-bottom-hover)}:host .filter.disabled{color:var(--tds-dropdown-disabled-color)}:host .filter .value-wrapper{display:flex;width:100%;height:100%}:host .filter .label-inside-as-placeholder{position:absolute;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-dropdown-placeholder-color)}:host .filter .label-inside-as-placeholder.lg{top:20px}:host .filter .label-inside-as-placeholder.md{top:16px}:host .filter .label-inside-as-placeholder.sm{display:none}:host .filter .label-inside-as-placeholder.selected{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:all 0.2s ease-in-out}:host .filter .label-inside-as-placeholder.selected.lg{top:12px}:host .filter .label-inside-as-placeholder.selected.md{top:8px}:host .filter .label-inside-as-placeholder.selected.sm{display:none}:host .filter .label-inside-as-placeholder.selected+.placeholder:not(.sm){margin-top:8px}:host .filter.focus{border-bottom-color:transparent}:host .filter.focus::before{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--tds-dropdown-border-bottom-open)}:host .filter input{flex:1;all:unset;width:100%}:host .filter input::placeholder{color:var(--tds-dropdown-placeholder-color)}:host .filter input:disabled::placeholder{color:var(--tds-dropdown-disabled-color)}:host .filter tds-icon{margin-right:16px}:host{display:block;position:relative;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .label-outside{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-dropdown-label-color);margin-bottom:8px}:host .label-outside.disabled{color:var(--tds-dropdown-disabled-color)}:host .dropdown-select{position:relative}:host .dropdown-select.disabled .label-inside,:host .dropdown-select.disabled .placeholder,:host .dropdown-select.disabled .label-inside-as-placeholder,:host .dropdown-select.disabled .value-wrapper{color:var(--tds-dropdown-disabled-color)}:host .dropdown-select .label-inside{position:absolute;font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);color:var(--tds-dropdown-label-inside-color)}:host .dropdown-select .label-inside.lg{top:12px;left:16px}:host .dropdown-select .label-inside.md{top:8px;left:16px}:host .dropdown-select .label-inside.sm{display:none}:host .dropdown-select .label-inside+.placeholder:not(.sm){margin-top:8px}:host .dropdown-select .placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .dropdown-select .label-inside-as-placeholder{color:var(--tds-dropdown-placeholder-color)}:host .dropdown-select .label-inside-as-placeholder.selected{position:absolute;font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:all 0.2s ease-in-out}:host .dropdown-select .label-inside-as-placeholder.selected.lg{top:12px}:host .dropdown-select .label-inside-as-placeholder.selected.md{top:8px}:host .dropdown-select .label-inside-as-placeholder.selected.sm{display:none}:host .dropdown-select .label-inside-as-placeholder.selected+.placeholder:not(.sm){margin-top:8px}:host .dropdown-select.lg{height:55px}:host .dropdown-select.md{height:47px}:host .dropdown-select.sm{height:39px}:host .helper{margin-top:4px;color:var(--tds-dropdown-helper-color);font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;align-items:center;gap:8px}:host .helper.error{color:var(--tds-negative)}:host .helper.disabled{color:var(--tds-dropdown-disabled-color)}:host .dropdown-list{z-index:100;position:absolute;margin-top:1px;width:100%;transform-origin:top;transition:transform 0.2s ease-in-out;box-shadow:rgba(0, 0, 0, 0.1) 0 2px 3px 0;border-radius:0 0 4px 4px;overflow-y:auto}:host .dropdown-list::-webkit-scrollbar{width:4px;background-color:inherit}:host .dropdown-list::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .dropdown-list ::-webkit-scrollbar-button{height:0;width:0}:host .dropdown-list.lg{max-height:312px}:host .dropdown-list.md{max-height:312px}:host .dropdown-list.sm{max-height:260px}:host .dropdown-list.up{bottom:100%;margin-top:0;margin-bottom:1px;transform-origin:bottom;display:flex;flex-direction:column-reverse;box-shadow:rgba(0, 0, 0, 0.1) 0 -1px 3px 0;border-radius:4px 4px 0 0}:host .dropdown-list.up.label-outside{bottom:calc(100% - 24px)}:host .dropdown-list.closed{transform:scaleY(0);visibility:hidden}:host .dropdown-list.open{transform:scaleY(1)}:host .dropdown-list .no-result{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:flex;align-items:center;padding:0 16px;background-color:var(--tds-dropdown-bg)}:host .dropdown-list .no-result.lg{height:56px}:host .dropdown-list .no-result.md{height:48px}:host .dropdown-list .no-result.sm{height:40px}:host tds-icon{transition:transform 0.2s ease-in-out}:host tds-icon.open{transform:rotateZ(180deg)}";
5
62
 
6
63
  const TdsDropdown = class {
7
64
  constructor(hostRef) {
@@ -11,23 +68,21 @@ const TdsDropdown = class {
11
68
  this.tdsBlur = createEvent(this, "tdsBlur", 6);
12
69
  this.tdsInput = createEvent(this, "tdsInput", 6);
13
70
  this.setDefaultOption = () => {
14
- this.children = Array.from(this.host.children)
71
+ Array.from(this.host.children)
15
72
  .filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION')
16
- .map((element) => {
73
+ .forEach((element) => {
17
74
  if (this.multiselect) {
18
75
  this.defaultValue.split(',').forEach((value) => {
19
76
  if (value === element.value) {
20
77
  element.setSelected(true);
21
- this.selection = this.selection
22
- ? [...this.selection, { value: element.value, label: element.textContent }]
23
- : [{ value: element.value, label: element.textContent }];
78
+ this.value = this.value ? [...this.value, element.value] : [element.value];
24
79
  }
25
80
  });
26
81
  }
27
82
  else {
28
83
  if (this.defaultValue === element.value) {
29
84
  element.setSelected(true);
30
- this.selection = [{ value: element.value, label: element.textContent }];
85
+ this.value = [element.value];
31
86
  }
32
87
  else {
33
88
  element.setSelected(false);
@@ -51,19 +106,28 @@ const TdsDropdown = class {
51
106
  }
52
107
  return this.openDirection;
53
108
  };
109
+ this.getSelectedChildren = () => {
110
+ var _a;
111
+ return (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((stringValue) => {
112
+ const matchingElement = this.getChildren().find((element) => element.value === stringValue);
113
+ return matchingElement;
114
+ }).filter(Boolean);
115
+ };
116
+ this.getSelectedChildrenLabels = () => {
117
+ var _a;
118
+ return (_a = this.getSelectedChildren()) === null || _a === void 0 ? void 0 : _a.map((element) => element.textContent.trim());
119
+ };
54
120
  this.getValue = () => {
55
- var _a, _b;
56
- if (this.filter) {
57
- return (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((item) => item.label).toString();
58
- }
59
- return (_b = this.selection) === null || _b === void 0 ? void 0 : _b.map((item) => item.label).join(', ');
121
+ const labels = this.getSelectedChildrenLabels();
122
+ return this.filter ? labels === null || labels === void 0 ? void 0 : labels.join(', ') : labels === null || labels === void 0 ? void 0 : labels.toString();
60
123
  };
61
124
  this.handleFilter = (event) => {
62
125
  this.tdsInput.emit(event);
63
126
  const query = event.target.value.toLowerCase();
64
127
  /* Check if the query is empty, and if so, show all options */
128
+ const children = this.getChildren();
65
129
  if (query === '') {
66
- this.children = this.children.map((element) => {
130
+ children.forEach((element) => {
67
131
  element.removeAttribute('hidden');
68
132
  return element;
69
133
  });
@@ -71,7 +135,7 @@ const TdsDropdown = class {
71
135
  /* Hide the options that do not match the query */
72
136
  }
73
137
  else {
74
- this.filterResult = this.children.filter((element) => {
138
+ this.filterResult = children.filter((element) => {
75
139
  if (!element.textContent.toLowerCase().includes(query.toLowerCase())) {
76
140
  element.setAttribute('hidden', '');
77
141
  }
@@ -92,7 +156,7 @@ const TdsDropdown = class {
92
156
  var _a, _b;
93
157
  this.tdsChange.emit({
94
158
  name: this.name,
95
- value: (_b = (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((item) => item.value).toString()) !== null && _b !== void 0 ? _b : null,
159
+ value: (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString()) !== null && _b !== void 0 ? _b : null,
96
160
  });
97
161
  };
98
162
  this.name = undefined;
@@ -110,46 +174,82 @@ const TdsDropdown = class {
110
174
  this.noResultText = 'No result';
111
175
  this.defaultValue = undefined;
112
176
  this.open = false;
113
- this.selection = undefined;
177
+ this.value = undefined;
114
178
  this.filterResult = undefined;
115
179
  this.filterFocus = undefined;
116
180
  }
117
181
  /** Method that resets the Dropdown, marks all children as non-selected and resets the value to null. */
118
182
  async reset() {
119
- this.children = this.getChildren().map((element) => {
120
- element.setSelected(false);
121
- return element;
122
- });
123
- this.selection = null;
124
- this.host.setAttribute('value', null);
183
+ this.internalReset();
125
184
  this.handleChange();
126
185
  }
127
- /** Method for setting the value of the Dropdown. */
128
- async setValue(newValue, newValueLabel) {
129
- if (this.multiselect) {
130
- this.selection = this.selection
131
- ? [...this.selection, { value: newValue, label: newValueLabel }]
132
- : [{ value: newValue, label: newValueLabel }];
186
+ /** Method for setting the value of the Dropdown.
187
+ *
188
+ * Single selection example:
189
+ *
190
+ * <code>
191
+ * dropdown.setValue('option-1', 'Option 1');
192
+ * </code>
193
+ *
194
+ * Multiselect example:
195
+ *
196
+ * <code>
197
+ * dropdown.setValue(['option-1', 'option-2']);
198
+ * </code>
199
+ */
200
+ // The label is optional here ONLY to not break the API. Should be removed for 2.0.
201
+ // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
202
+ async setValue(value, label) {
203
+ var _a;
204
+ let nextValue;
205
+ if (typeof value === 'string')
206
+ nextValue = [value];
207
+ else
208
+ nextValue = value;
209
+ if (!this.multiselect && nextValue.length > 1) {
210
+ console.warn('Tried to select multiple items, but multiselect is not enabled.');
211
+ nextValue = [nextValue[0]];
133
212
  }
134
- else {
135
- this.selection = [{ value: newValue, label: newValueLabel }];
136
- this.children = this.getChildren().map((element) => {
137
- if (element.value !== newValue) {
138
- element.setSelected(false);
139
- }
140
- return element;
141
- });
213
+ this.internalReset();
214
+ for (let i = 0; i < nextValue.length; i++) {
215
+ const optionExist = this.getChildren().some((element) => element.value === nextValue[i]);
216
+ if (!optionExist) {
217
+ nextValue.splice(i, 1);
218
+ }
142
219
  }
220
+ this.value = nextValue;
221
+ this.host.setAttribute('value', (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((val) => val).toString());
222
+ this.selectChildrenAsSelectedBasedOnSelectionProp();
143
223
  this.handleChange();
144
- this.host.setAttribute('value', this.selection.map((selection) => selection.value).toString());
145
- return this.selection;
224
+ /* This returns an array of object with a value and label pair. This is ONLY to not break the API. Should be removed for 2.0. */
225
+ // TODO - Clean up and just return this.value for 2.0
226
+ const selection = this.getSelectedChildren().map((element) => ({
227
+ value: element.value,
228
+ label: element.textContent.trim(),
229
+ }));
230
+ return selection;
231
+ }
232
+ /**
233
+ * @internal
234
+ */
235
+ async appendValue(value) {
236
+ if (this.multiselect && this.value) {
237
+ this.setValue([...this.value, value]);
238
+ }
239
+ else {
240
+ this.setValue(value);
241
+ }
146
242
  }
147
243
  /** Method for removing a selected value in the Dropdown. */
148
244
  async removeValue(oldValue) {
245
+ var _a, _b;
246
+ let label;
149
247
  if (this.multiselect) {
150
- this.children = this.getChildren().map((element) => {
248
+ (_a = this.getChildren()) === null || _a === void 0 ? void 0 : _a.forEach((element) => {
249
+ var _a;
151
250
  if (element.value === oldValue) {
152
- this.selection = this.selection.filter((item) => item.value !== element.value);
251
+ this.value = (_a = this.value) === null || _a === void 0 ? void 0 : _a.filter((value) => value !== element.value);
252
+ label = element.textContent.trim();
153
253
  element.setSelected(false);
154
254
  }
155
255
  return element;
@@ -159,7 +259,9 @@ const TdsDropdown = class {
159
259
  this.reset();
160
260
  }
161
261
  this.handleChange();
162
- return this.selection;
262
+ /* This returns an array of object with a value and label pair. This is ONLY to not break the API. Should be removed for 2.0. */
263
+ // TODO - Clean up and just return this.value for 2.0
264
+ return (_b = this.value) === null || _b === void 0 ? void 0 : _b.map((value) => ({ value, label }));
163
265
  }
164
266
  /** Method for closing the Dropdown. */
165
267
  async close() {
@@ -180,23 +282,24 @@ const TdsDropdown = class {
180
282
  if (!activeElement) {
181
283
  return;
182
284
  }
285
+ const children = this.getChildren();
183
286
  if (event.key === 'ArrowDown') {
184
287
  /* Get the index of the current focus index, if there is no
185
288
  nextElementSibling return the index for the first child in our Dropdown. */
186
289
  const startingIndex = activeElement.nextElementSibling
187
- ? this.children.findIndex((element) => element === activeElement.nextElementSibling)
290
+ ? children.findIndex((element) => element === activeElement.nextElementSibling)
188
291
  : 0;
189
- const elementIndex = findNextFocusableItem(this.children, startingIndex);
190
- this.children[elementIndex].focus();
292
+ const elementIndex = findNextFocusableElement(children, startingIndex);
293
+ children[elementIndex].focus();
191
294
  }
192
295
  else if (event.key === 'ArrowUp') {
193
296
  /* Get the index of the current focus index, if there is no
194
297
  previousElementSibling return the index for the first last in our Dropdown. */
195
298
  const startingIndex = activeElement.nextElementSibling
196
- ? this.children.findIndex((element) => element === activeElement.previousElementSibling)
299
+ ? this.getChildren().findIndex((element) => element === activeElement.previousElementSibling)
197
300
  : 0;
198
- const elementIndex = findPreviousFocusableItem(this.children, startingIndex);
199
- this.children[elementIndex].focus();
301
+ const elementIndex = findPreviousFocusableElement(children, startingIndex);
302
+ children[elementIndex].focus();
200
303
  }
201
304
  else if (event.key === 'Escape') {
202
305
  this.open = false;
@@ -205,10 +308,9 @@ const TdsDropdown = class {
205
308
  // If the Dropdown gets closed,
206
309
  // this sets the value of the dropdown to the current selection labels or null if no selection is made.
207
310
  handleOpenState() {
208
- var _a, _b;
209
311
  if (this.filter && this.multiselect) {
210
312
  if (!this.open) {
211
- this.inputElement.value = (_b = (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((item) => item.label).toString()) !== null && _b !== void 0 ? _b : null;
313
+ this.inputElement.value = this.getValue();
212
314
  }
213
315
  }
214
316
  }
@@ -217,14 +319,38 @@ const TdsDropdown = class {
217
319
  this.setDefaultOption();
218
320
  }
219
321
  }
322
+ /** Method that resets the dropdown without emitting an event. */
323
+ internalReset() {
324
+ this.getChildren().forEach((element) => {
325
+ element.setSelected(false);
326
+ return element;
327
+ });
328
+ this.value = null;
329
+ this.host.setAttribute('value', null);
330
+ }
331
+ selectChildrenAsSelectedBasedOnSelectionProp() {
332
+ this.getChildren().forEach((element) => {
333
+ this.value.forEach((selection) => {
334
+ if (element.value !== selection) {
335
+ // If not multiselect, we need to unselect all other options.
336
+ if (!this.multiselect) {
337
+ element.setSelected(false);
338
+ }
339
+ }
340
+ else {
341
+ element.setSelected(true);
342
+ }
343
+ });
344
+ });
345
+ }
220
346
  render() {
221
347
  var _a, _b, _c, _d;
222
- appendHiddenInput(this.host, this.name, (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((item) => item.value).toString(), this.disabled);
348
+ appendHiddenInput(this.host, this.name, (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString(), this.disabled);
223
349
  return (h(Host, { role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: `filter ${this.filterFocus ? 'focus' : ''}
224
350
  ${this.disabled ? 'disabled' : ''}` }, h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' && this.placeholder && (h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (h("div", { class: `
225
351
  label-inside-as-placeholder
226
352
  ${this.size}
227
- ${((_b = this.selection) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
353
+ ${((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
228
354
  ` }, this.label)), h("input", {
229
355
  // eslint-disable-next-line no-return-assign
230
356
  ref: (element) => (this.inputElement = element), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.placeholder, value: this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
@@ -248,14 +374,14 @@ const TdsDropdown = class {
248
374
  this.open = false;
249
375
  }
250
376
  }, class: `
251
- ${this.selection ? 'value' : 'placeholder'}
377
+ ${this.value ? 'value' : 'placeholder'}
252
378
  ${this.open ? 'open' : 'closed'}
253
379
  ${this.error ? 'error' : ''}
254
380
  `, disabled: this.disabled }, h("div", { class: `value-wrapper ${this.size}` }, this.label && this.labelPosition === 'inside' && this.placeholder && (h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (h("div", { class: `
255
381
  label-inside-as-placeholder
256
382
  ${this.size}
257
- ${((_c = this.selection) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
258
- ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.selection) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { ref: (element) => (this.dropdownList = element), class: `dropdown-list
383
+ ${((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
384
+ ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { ref: (element) => (this.dropdownList = element), class: `dropdown-list
259
385
  ${this.size}
260
386
  ${this.open ? 'open' : 'closed'}
261
387
  ${this.getOpenDirection()}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, H as Host } from './index-21543b0f.js';
2
2
 
3
3
  const folderTabCss = ":host{box-sizing:border-box;position:relative}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;min-width:142px;display:block;width:calc(100% - 32px);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);cursor:pointer;padding:16px;white-space:nowrap;text-decoration:none;text-align:left;outline:none;border:none;border-left:1px solid;border-left-color:transparent}:host ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host div:not(.selected){background-color:var(--tds-folder-tab-background)}:host div:not(.selected) ::slotted(*){border-left-color:var(--tds-folder-tab-divider-color);border-top:2px solid var(--tds-folder-tab-background);color:var(--tds-folder-tab-item-color)}:host div:not(.selected):hover:not(.disabled){background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host div:not(.selected):hover:not(.disabled) ::slotted(*){border-top-color:var(--tds-folder-tab-background-hover);color:var(--tds-folder-tab-color)}:host div:not(.selected).disabled ::slotted(*){color:var(--tds-folder-tab-item-color-disabled)}:host div:not(.selected).disabled ::slotted(*:focus-visible){outline:none}:host div:not(.selected).disabled ::slotted(*:hover){cursor:not-allowed}:host div:not(.selected).disabled ::slotted(*::after){content:none}:host .selected{background-color:var(--tds-folder-tab-background-selected);border-top:2px solid var(--tds-folder-tab-border-selected)}:host .selected::after{content:\" \";background-color:var(--tds-folder-tab-background-selected);width:1px;top:0;bottom:0;right:-1px;display:block;position:absolute;z-index:1}:host .selected ::slotted(*){color:var(--tds-folder-tab-color)}:host(.first) :not(.selected) ::slotted(*){border-left-color:transparent}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const folderTabsCss = ":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:201;right:0}:host .scroll-left-button{z-index:201;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-folder-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,:host .scroll-left-button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const footerGroupCss = ":host{display:block}:host .footer-top-title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);opacity:var(--tds-footer-top-title-opacity);color:var(--tds-footer-top-links);padding-bottom:8px}:host button.footer-top-title-button{display:none;border:none;width:100%;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--tds-footer-top-divider)}:host button.footer-top-title-button.expanded{border-bottom:none}:host button.footer-top-title-button.expanded tds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--tds-footer-top-button-active)}:host button.footer-top-title-button:focus-visible{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host button.footer-top-title-button tds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:8px}:host [role=list].start,:host [role=list].end{gap:24px}:host [role=list].top-part-child{flex-direction:column}@media all and (max-width: 992px){:host [role=list].start:not(.top-part-child){flex-direction:column}:host [role=list].start:not(.top-part-child).start,:host [role=list].start:not(.top-part-child).end{gap:8px}:host [role=list].top-part-child.closed{display:none}:host [role=list].top-part-child{gap:0}:host .footer-top-title{display:none}:host button.footer-top-title-button{display:flex;align-items:center}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const footerItemCss = "[role=listitem] ::slotted(a),[role=listitem] ::slotted(button){font:var(--tds-headline-06);letter-spacing:var(--tds-headline-06-ls);color:var(--tds-footer-main-links);opacity:var(--tds-footer-main-links-opacity);text-decoration:none}[role=listitem] ::slotted(a:focus-visible),[role=listitem] ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}[role=listitem] ::slotted(a:hover),[role=listitem] ::slotted(button:hover){text-decoration:underline}[role=listitem].top-part-child ::slotted(a),[role=listitem].top-part-child ::slotted(button){color:var(--tds-footer-top-links);font-family:\"Scania Sans Semi Condensed\", \"Scania Sans Condensed\", arial, helvetica, sans-serif;font-weight:bold;font-size:14px;line-height:18px}[role=listitem].top-part-child ::slotted(a:focus-visible),[role=listitem].top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}@media all and (max-width: 992px){[role=listitem].top-part-child{border-bottom:1px solid var(--tds-footer-top-divider)}[role=listitem].top-part-child ::slotted(a),[role=listitem].top-part-child ::slotted(button){display:block;height:100%;padding:19px 40px;font-weight:normal}[role=listitem].top-part-child ::slotted(a:hover),[role=listitem].top-part-child ::slotted(button:hover){text-decoration:underline;background-color:var(--tds-footer-top-links-background-hover)}[role=listitem].top-part-child ::slotted(a:focus-visible),[role=listitem].top-part-child ::slotted(button:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}}";
4
4
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
2
- import { h as hasSlot } from './utils-4d967376.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
+ import { h as hasSlot } from './hasSlot-d52114d0.js';
3
3
 
4
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
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const headerBrandSymbolCss = ":host tds-header-item{display:none}:host tds-header-item ::slotted(*){background-image:var(--tds-background-image-scania-symbol-svg), var(--tds-background-image-scania-symbol-png);background-size:30px auto;background-position:center;background-repeat:no-repeat}@media (min-width: 992px){:host tds-header-item{display:block}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
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
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const headerDropdownListItemCss = ":host{display:block;box-sizing:border-box;height:var(--tds-header-list-item-md-height);width:100%}:host .component{height:100%}:host .component ::slotted(a),:host .component ::slotted(button){all:unset;box-sizing:border-box;border:none;display:flex;align-items:center;height:100%;padding:0 24px;width:100%;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-nav-dropdown-item-background);color:var(--tds-header-nav-item-dropdown-opened-color)}:host .component ::slotted(a:hover){background-color:var(--tds-nav-item-background-hover);cursor:pointer}:host .component ::slotted(a:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .component-selected{background-color:var(--tds-nav-item-background-selected);padding-right:4px;border-left-width:4px;border-left-style:solid;border-left-color:var(--tds-nav-item-border-color-active)}:host .component-selected ::slotted(a),:host .component-selected ::slotted(button){background-color:var(--tds-nav-item-background-selected)}:host(:not(:last-child)){border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host([size=lg]){height:var(--tds-header-height)}:host([size=lg]) ::slotted(a),:host([size=lg]) ::slotted(button){padding:0 16px;color:var(--tds-header-app-launcher-item-color)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
2
 
3
3
  const headerDropdownListUserCss = ":host{background-color:var(--tds-header-avatar-item-background);display:flex;height:84px}:host .user-box{gap:16px;width:100%;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}:host img,:host slot[name=thumbnail]::slotted(*){width:34px;border-radius:100%}:host .user-content{display:flex;flex-direction:column;gap:4px}:host .user-content .header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .user-content .subheader{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-header-avatar-item-color)}";
4
4
 
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7471aeb6.js';
2
- import { c as getPreviousNestedChildOfSiblingsMatching, d as isHeadingElement } from './utils-4d967376.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-21543b0f.js';
2
+ import { g as getPreviousNestedChildOfSiblingsMatching, i as isHeadingElement } from './isHeadingElement-2c158fc4.js';
3
+ import './dfs-3f5bd9e8.js';
3
4
 
4
5
  const headerDropdownListCss = ":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:unset;background-color:var(--tds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([size=lg]){width:320px}";
5
6