@scania/tegel 0.0.9 → 0.0.10

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 (528) hide show
  1. package/README.md +3 -0
  2. package/dist/cjs/index-ee36ffa1.js +8 -16
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{popper-9def2535.js → popper-d7adcfc6.js} +6 -12
  5. package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-badge.cjs.entry.js +3 -3
  7. package/dist/cjs/tds-banner.cjs.entry.js +10 -10
  8. package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -4
  9. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +0 -3
  10. package/dist/cjs/tds-button.cjs.entry.js +4 -11
  11. package/dist/cjs/tds-card.cjs.entry.js +19 -23
  12. package/dist/cjs/tds-checkbox.cjs.entry.js +2 -1
  13. package/dist/cjs/tds-chip.cjs.entry.js +14 -3
  14. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
  15. package/dist/cjs/{tds-dropdown-option-v2.cjs.entry.js → tds-dropdown-option.cjs.entry.js} +5 -5
  16. package/dist/cjs/{tds-dropdown-v2.cjs.entry.js → tds-dropdown.cjs.entry.js} +19 -19
  17. package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -3
  18. package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -5
  19. package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
  20. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  21. package/dist/cjs/tds-footer.cjs.entry.js +6 -6
  22. package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
  23. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +4 -4
  24. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  25. package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -3
  26. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -2
  29. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -2
  31. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -1
  32. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  33. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -5
  36. package/dist/cjs/tds-link.cjs.entry.js +1 -1
  37. package/dist/cjs/tds-message.cjs.entry.js +4 -4
  38. package/dist/cjs/tds-modal.cjs.entry.js +13 -5
  39. package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -5
  41. package/dist/cjs/tds-popover-canvas.cjs.entry.js +1 -1
  42. package/dist/cjs/tds-popover-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/tds-radio-button.cjs.entry.js +3 -2
  44. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  45. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +1 -1
  46. package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
  47. package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
  48. package/dist/cjs/tds-slider.cjs.entry.js +12 -15
  49. package/dist/cjs/tds-stepper.cjs.entry.js +3 -2
  50. package/dist/cjs/tds-table-body.cjs.entry.js +4 -51
  51. package/dist/cjs/tds-table-footer.cjs.entry.js +47 -39
  52. package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
  53. package/dist/cjs/tds-table.cjs.entry.js +2 -1
  54. package/dist/cjs/tds-text-field.cjs.entry.js +6 -2
  55. package/dist/cjs/tds-toast.cjs.entry.js +11 -26
  56. package/dist/cjs/tds-toggle.cjs.entry.js +2 -1
  57. package/dist/cjs/tds-tooltip.cjs.entry.js +6 -2
  58. package/dist/cjs/tegel.cjs.js +1 -1
  59. package/dist/cjs/{utils-2beb1aa0.js → utils-41de5fb2.js} +32 -12
  60. package/dist/collection/collection-manifest.json +0 -3
  61. package/dist/collection/components/accordion/accordion-item/accordion-item.js +4 -1
  62. package/dist/collection/components/accordion/accordion.stories.js +100 -0
  63. package/dist/collection/components/badge/badge.js +4 -4
  64. package/dist/collection/components/badge/badge.stories.js +106 -0
  65. package/dist/collection/components/banner/banner.css +12 -9
  66. package/dist/collection/components/banner/banner.js +33 -17
  67. package/dist/collection/components/banner/banner.stories.js +107 -0
  68. package/dist/collection/components/block/block.stories.js +49 -0
  69. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +4 -4
  70. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -21
  71. package/dist/collection/components/breadcrumbs/breadcrumbs.js +0 -3
  72. package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +36 -0
  73. package/dist/collection/components/button/button.css +16 -0
  74. package/dist/collection/components/button/button.js +7 -12
  75. package/dist/collection/components/button/button.stories.js +167 -0
  76. package/dist/collection/components/card/card.css +18 -17
  77. package/dist/collection/components/card/card.js +32 -68
  78. package/dist/collection/components/card/card.stories.js +162 -0
  79. package/dist/collection/components/checkbox/checkbox.js +6 -2
  80. package/dist/collection/components/checkbox/checkbox.stories.js +80 -0
  81. package/dist/collection/components/chip/chip.css +23 -8
  82. package/dist/collection/components/chip/chip.js +19 -3
  83. package/dist/collection/components/chip/chip.stories.js +230 -0
  84. package/dist/collection/components/datetime/datetime.stories.js +195 -0
  85. package/dist/collection/components/divider/divider.stories.js +62 -0
  86. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +142 -116
  87. package/dist/collection/components/dropdown/dropdown.css +212 -386
  88. package/dist/collection/components/dropdown/dropdown.js +472 -329
  89. package/dist/collection/components/dropdown/dropdown.stories.js +268 -0
  90. package/dist/collection/components/footer/footer-group/footer-group.css +3 -3
  91. package/dist/collection/components/footer/footer-group/footer-group.js +2 -2
  92. package/dist/collection/components/footer/footer-item/footer-item.css +16 -8
  93. package/dist/collection/components/footer/footer.css +8 -12
  94. package/dist/collection/components/footer/footer.js +10 -10
  95. package/dist/collection/components/footer/footer.stories.js +145 -0
  96. package/dist/collection/components/header/header-dropdown/header-dropdown.js +10 -5
  97. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.css +1 -1
  98. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +13 -9
  99. package/dist/collection/components/header/header-hamburger/header-hamburger.css +0 -1
  100. package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
  101. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +3 -2
  102. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +2 -1
  103. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +3 -2
  104. package/dist/collection/components/header/header.css +1 -1
  105. package/dist/collection/components/header/header.js +5 -0
  106. package/dist/collection/components/header/header.stories.js +80 -0
  107. package/dist/collection/components/icon/icon.stories.js +48 -0
  108. package/dist/collection/components/link/link.css +16 -13
  109. package/dist/collection/components/link/link.js +1 -0
  110. package/dist/collection/components/link/link.stories.js +57 -0
  111. package/dist/collection/components/message/message.css +16 -16
  112. package/dist/collection/components/message/message.js +6 -3
  113. package/dist/collection/components/message/message.stories.js +110 -0
  114. package/dist/collection/components/modal/modal.css +19 -33
  115. package/dist/collection/components/modal/modal.js +36 -6
  116. package/dist/collection/components/modal/modal.stories.js +109 -0
  117. package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
  118. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +92 -0
  119. package/dist/collection/components/popover-menu/popover-menu.js +2 -2
  120. package/dist/collection/components/popover-menu/popover-menu.stories.js +140 -0
  121. package/dist/collection/components/radio-button/radio-button.css +1 -1
  122. package/dist/collection/components/radio-button/radio-button.js +6 -2
  123. package/dist/collection/components/radio-button/radio-button.stories.js +91 -0
  124. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +3 -0
  125. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.css +1 -1
  126. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -0
  127. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -0
  128. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -0
  129. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +1 -1
  130. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +3 -0
  131. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +3 -0
  132. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -0
  133. package/dist/collection/components/side-menu/side-menu.css +6 -5
  134. package/dist/collection/components/side-menu/side-menu.js +11 -3
  135. package/dist/collection/components/side-menu/side-menu.stories.js +215 -0
  136. package/dist/collection/components/slider/slider.js +13 -16
  137. package/dist/collection/components/slider/slider.stories.js +243 -0
  138. package/dist/collection/components/spinner/spinner.stories.js +61 -0
  139. package/dist/collection/components/stepper/step/step.js +3 -0
  140. package/dist/collection/components/stepper/stepper.css +3 -0
  141. package/dist/collection/components/stepper/stepper.js +4 -3
  142. package/dist/collection/components/stepper/stepper.stories.js +95 -0
  143. package/dist/collection/components/table/table/table.js +4 -3
  144. package/dist/collection/components/table/table-body/table-body.js +15 -60
  145. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +3 -0
  146. package/dist/collection/components/table/table-component-basic.stories.js +184 -0
  147. package/dist/collection/components/table/table-component-batch-actions.stories.js +201 -0
  148. package/dist/collection/components/table/table-component-bodydata.stories.js +101 -0
  149. package/dist/collection/components/table/table-component-custom-width.stories.js +174 -0
  150. package/dist/collection/components/table/table-component-event-listeners.stories.js +193 -0
  151. package/dist/collection/components/table/table-component-expandable-rows.stories.js +160 -0
  152. package/dist/collection/components/table/table-component-filtering.stories.js +210 -0
  153. package/dist/collection/components/table/table-component-multiselect.stories.js +230 -0
  154. package/dist/collection/components/table/table-component-pagination.stories.js +215 -0
  155. package/dist/collection/components/table/table-component-sorting.stories.js +238 -0
  156. package/dist/collection/components/table/table-footer/table-footer.js +65 -54
  157. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
  158. package/dist/collection/components/table/table-toolbar/table-toolbar.css +2 -1
  159. package/dist/collection/components/table/table-toolbar/table-toolbar.js +4 -1
  160. package/dist/collection/components/table/table.filtering.spec.js +0 -6
  161. package/dist/collection/components/table/table.spec.js +0 -6
  162. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +10 -11
  163. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +1 -2
  164. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +5 -5
  165. package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +105 -0
  166. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +13 -2
  167. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +5 -5
  168. package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +99 -0
  169. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +13 -2
  170. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -5
  171. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +101 -0
  172. package/dist/collection/components/text-field/text-field.js +10 -2
  173. package/dist/collection/components/text-field/text-field.stories.js +247 -0
  174. package/dist/collection/components/textarea/textarea.stories.js +188 -0
  175. package/dist/collection/components/toast/toast.css +32 -25
  176. package/dist/collection/components/toast/toast.js +17 -33
  177. package/dist/collection/components/toast/toast.stories.js +79 -0
  178. package/dist/collection/components/toggle/toggle.js +6 -2
  179. package/dist/collection/components/toggle/toggle.stories.js +95 -0
  180. package/dist/collection/components/tooltip/tooltip.js +27 -3
  181. package/dist/collection/components/tooltip/tooltip.stories.js +128 -0
  182. package/dist/collection/stories/Installation/installation.stories.js +222 -0
  183. package/dist/collection/stories/announcements/announce-tegel.stories.js +262 -0
  184. package/dist/collection/stories/announcements/prefix-change.stories.js +93 -0
  185. package/dist/collection/stories/foundations/color/color-brand.stories.js +38 -0
  186. package/dist/collection/stories/foundations/color/color-scales.stories.js +71 -0
  187. package/dist/collection/stories/foundations/color/color-semantic.stories.js +40 -0
  188. package/dist/collection/stories/foundations/grid/grid.stories.js +386 -0
  189. package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +100 -0
  190. package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +94 -0
  191. package/dist/collection/stories/foundations/typography/typography-body.stories.js +16 -0
  192. package/dist/collection/stories/foundations/typography/typography-detail.stories.js +17 -0
  193. package/dist/collection/stories/foundations/typography/typography-headline.stories.js +39 -0
  194. package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +12 -0
  195. package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +85 -0
  196. package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +259 -0
  197. package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +246 -0
  198. package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +140 -0
  199. package/dist/collection/stories/tegel.stories.js +293 -0
  200. package/dist/collection/stories/utility/color/background-color.stories.js +96 -0
  201. package/dist/collection/stories/utility/color/text-color.stories.js +94 -0
  202. package/dist/collection/utils/utils.js +30 -11
  203. package/dist/components/checkbox.js +2 -1
  204. package/dist/components/header-dropdown-list.js +1 -1
  205. package/dist/components/header-item.js +1 -1
  206. package/dist/components/popper.js +6 -12
  207. package/dist/components/side-menu-item.js +1 -1
  208. package/dist/components/tds-accordion-item.js +1 -1
  209. package/dist/components/tds-badge.js +4 -4
  210. package/dist/components/tds-banner.js +12 -13
  211. package/dist/components/tds-breadcrumb.js +3 -6
  212. package/dist/components/tds-breadcrumbs.js +0 -3
  213. package/dist/components/tds-button.js +5 -13
  214. package/dist/components/tds-card.js +21 -29
  215. package/dist/components/tds-chip.js +14 -3
  216. package/dist/components/tds-dropdown-option.js +121 -1
  217. package/dist/components/tds-dropdown.js +318 -1
  218. package/dist/components/tds-folder-tab.js +2 -3
  219. package/dist/components/tds-folder-tabs.js +5 -5
  220. package/dist/components/tds-footer-group.js +3 -3
  221. package/dist/components/tds-footer-item.js +1 -1
  222. package/dist/components/tds-footer.js +7 -8
  223. package/dist/components/tds-header-cell.js +1 -1
  224. package/dist/components/tds-header-dropdown-list-user.js +6 -6
  225. package/dist/components/tds-header-dropdown.js +5 -4
  226. package/dist/components/tds-header-launcher-grid-title.js +3 -2
  227. package/dist/components/tds-header-launcher-grid.js +1 -1
  228. package/dist/components/tds-header-launcher-list-title.js +3 -2
  229. package/dist/components/tds-header-launcher-list.js +2 -1
  230. package/dist/components/tds-header-launcher.js +2 -2
  231. package/dist/components/tds-inline-tab.js +1 -1
  232. package/dist/components/tds-inline-tabs.js +5 -5
  233. package/dist/components/tds-link.js +3 -2
  234. package/dist/components/tds-message.js +4 -4
  235. package/dist/components/tds-modal.js +14 -5
  236. package/dist/components/tds-navigation-tab.js +1 -1
  237. package/dist/components/tds-navigation-tabs.js +5 -5
  238. package/dist/components/tds-radio-button.js +3 -2
  239. package/dist/components/tds-side-menu-dropdown.js +1 -1
  240. package/dist/components/tds-side-menu.js +2 -2
  241. package/dist/components/tds-slider.js +12 -15
  242. package/dist/components/tds-stepper.js +3 -2
  243. package/dist/components/tds-table-body.js +5 -53
  244. package/dist/components/tds-table-footer.js +50 -42
  245. package/dist/components/tds-table-toolbar.js +9 -3
  246. package/dist/components/tds-table.js +2 -1
  247. package/dist/components/tds-text-field.js +6 -2
  248. package/dist/components/tds-toast.js +12 -29
  249. package/dist/components/tds-toggle.js +2 -1
  250. package/dist/components/tds-tooltip.js +7 -2
  251. package/dist/components/utils.js +31 -12
  252. package/dist/esm/index-23ee700b.js +8 -16
  253. package/dist/esm/loader.js +1 -1
  254. package/dist/esm/{popper-bfa25c7f.js → popper-15e448b4.js} +6 -12
  255. package/dist/esm/tds-accordion-item.entry.js +1 -1
  256. package/dist/esm/tds-badge.entry.js +3 -3
  257. package/dist/esm/tds-banner.entry.js +10 -10
  258. package/dist/esm/tds-breadcrumb.entry.js +2 -4
  259. package/dist/esm/tds-breadcrumbs.entry.js +0 -3
  260. package/dist/esm/tds-button.entry.js +4 -11
  261. package/dist/esm/tds-card.entry.js +19 -23
  262. package/dist/esm/tds-checkbox.entry.js +2 -1
  263. package/dist/esm/tds-chip.entry.js +15 -4
  264. package/dist/esm/tds-core-header-item_2.entry.js +1 -1
  265. package/dist/esm/{tds-dropdown-option-v2.entry.js → tds-dropdown-option.entry.js} +5 -5
  266. package/dist/esm/{tds-dropdown-v2.entry.js → tds-dropdown.entry.js} +19 -19
  267. package/dist/esm/tds-folder-tab.entry.js +2 -3
  268. package/dist/esm/tds-folder-tabs.entry.js +5 -5
  269. package/dist/esm/tds-footer-group.entry.js +3 -3
  270. package/dist/esm/tds-footer-item.entry.js +1 -1
  271. package/dist/esm/tds-footer.entry.js +6 -6
  272. package/dist/esm/tds-header-cell.entry.js +1 -1
  273. package/dist/esm/tds-header-dropdown-list-user.entry.js +4 -4
  274. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  275. package/dist/esm/tds-header-dropdown.entry.js +4 -3
  276. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  277. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  278. package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -2
  279. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  280. package/dist/esm/tds-header-launcher-list-title.entry.js +3 -2
  281. package/dist/esm/tds-header-launcher-list.entry.js +2 -1
  282. package/dist/esm/tds-header-launcher.entry.js +2 -2
  283. package/dist/esm/tds-header.entry.js +1 -1
  284. package/dist/esm/tds-inline-tab.entry.js +1 -1
  285. package/dist/esm/tds-inline-tabs.entry.js +5 -5
  286. package/dist/esm/tds-link.entry.js +1 -1
  287. package/dist/esm/tds-message.entry.js +4 -4
  288. package/dist/esm/tds-modal.entry.js +13 -5
  289. package/dist/esm/tds-navigation-tab.entry.js +1 -1
  290. package/dist/esm/tds-navigation-tabs.entry.js +5 -5
  291. package/dist/esm/tds-popover-canvas.entry.js +1 -1
  292. package/dist/esm/tds-popover-menu.entry.js +1 -1
  293. package/dist/esm/tds-radio-button.entry.js +3 -2
  294. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  295. package/dist/esm/tds-side-menu-dropdown.entry.js +1 -1
  296. package/dist/esm/tds-side-menu-item.entry.js +1 -1
  297. package/dist/esm/tds-side-menu.entry.js +2 -2
  298. package/dist/esm/tds-slider.entry.js +12 -15
  299. package/dist/esm/tds-stepper.entry.js +3 -2
  300. package/dist/esm/tds-table-body.entry.js +4 -51
  301. package/dist/esm/tds-table-footer.entry.js +47 -39
  302. package/dist/esm/tds-table-toolbar.entry.js +2 -2
  303. package/dist/esm/tds-table.entry.js +2 -1
  304. package/dist/esm/tds-text-field.entry.js +7 -3
  305. package/dist/esm/tds-toast.entry.js +11 -26
  306. package/dist/esm/tds-toggle.entry.js +2 -1
  307. package/dist/esm/tds-tooltip.entry.js +6 -2
  308. package/dist/esm/tegel.js +1 -1
  309. package/dist/esm/{utils-9ac24735.js → utils-74fb1bed.js} +31 -12
  310. package/dist/tegel/p-000d60e5.entry.js +1 -0
  311. package/dist/tegel/p-04bff255.entry.js +1 -0
  312. package/dist/tegel/p-06093e3e.entry.js +1 -0
  313. package/dist/tegel/p-099025f0.entry.js +1 -0
  314. package/dist/tegel/p-0995ca77.entry.js +1 -0
  315. package/dist/tegel/p-10337d3f.entry.js +1 -0
  316. package/dist/tegel/p-19fb9ad5.entry.js +1 -0
  317. package/dist/tegel/p-1bac7d2e.entry.js +1 -0
  318. package/dist/tegel/p-1c82ccf0.entry.js +1 -0
  319. package/dist/tegel/p-347414ad.entry.js +1 -0
  320. package/dist/tegel/p-34a06d2f.entry.js +1 -0
  321. package/dist/tegel/p-3c9865c3.entry.js +1 -0
  322. package/dist/tegel/{p-c8d4af09.entry.js → p-40142a58.entry.js} +1 -1
  323. package/dist/tegel/p-48136431.entry.js +1 -0
  324. package/dist/tegel/p-49a084db.entry.js +1 -0
  325. package/dist/tegel/p-4c809685.entry.js +1 -0
  326. package/dist/tegel/p-54e56257.entry.js +1 -0
  327. package/dist/tegel/{p-e8fccebc.entry.js → p-56189659.entry.js} +1 -1
  328. package/dist/tegel/p-6bee84a2.entry.js +1 -0
  329. package/dist/tegel/p-6f0072cc.entry.js +1 -0
  330. package/dist/tegel/p-73a8f43e.entry.js +1 -0
  331. package/dist/tegel/p-8ba77ea3.entry.js +1 -0
  332. package/dist/tegel/p-8bd0a233.entry.js +1 -0
  333. package/dist/tegel/{p-e0ee20ee.entry.js → p-8c194dd8.entry.js} +1 -1
  334. package/dist/tegel/p-95e170f3.entry.js +1 -0
  335. package/dist/tegel/p-99837611.entry.js +1 -0
  336. package/dist/tegel/p-9991a816.entry.js +1 -0
  337. package/dist/tegel/{p-bcb2fad3.entry.js → p-9b29bf68.entry.js} +1 -1
  338. package/dist/tegel/{p-39227588.js → p-9dc14c21.js} +1 -1
  339. package/dist/tegel/p-9f1e1cc0.entry.js +1 -0
  340. package/dist/tegel/{p-232f5889.entry.js → p-9fe0d654.entry.js} +1 -1
  341. package/dist/tegel/{p-135575ae.entry.js → p-a08be1c3.entry.js} +1 -1
  342. package/dist/tegel/{p-3aa634ed.entry.js → p-a1ad46d2.entry.js} +1 -1
  343. package/dist/tegel/p-a34bb501.entry.js +1 -0
  344. package/dist/tegel/p-a4e3eb95.entry.js +1 -0
  345. package/dist/tegel/{p-fb3f4a14.entry.js → p-aa443b06.entry.js} +1 -1
  346. package/dist/tegel/p-afe13096.entry.js +1 -0
  347. package/dist/tegel/{p-cd2a74d7.entry.js → p-b0d313cd.entry.js} +1 -1
  348. package/dist/tegel/p-b1067b50.entry.js +1 -0
  349. package/dist/tegel/{p-7b34156b.entry.js → p-b5424456.entry.js} +1 -1
  350. package/dist/tegel/p-c15bbe0b.entry.js +1 -0
  351. package/dist/tegel/p-c411f254.entry.js +1 -0
  352. package/dist/tegel/p-c5588508.entry.js +1 -0
  353. package/dist/tegel/{p-b6a16219.entry.js → p-c5ab3a3b.entry.js} +1 -1
  354. package/dist/tegel/p-d5bd9b2e.entry.js +1 -0
  355. package/dist/tegel/p-df95f0ae.entry.js +1 -0
  356. package/dist/tegel/{p-de799b9a.entry.js → p-e24835ba.entry.js} +1 -1
  357. package/dist/tegel/p-e3f8fc68.entry.js +1 -0
  358. package/dist/tegel/{p-89283891.entry.js → p-e4dc07bb.entry.js} +1 -1
  359. package/dist/tegel/p-f36ec03b.entry.js +1 -0
  360. package/dist/tegel/{p-7331ec7b.entry.js → p-f795bc11.entry.js} +1 -1
  361. package/dist/tegel/{p-7d3a66ae.entry.js → p-f9d04ff2.entry.js} +1 -1
  362. package/dist/tegel/p-fc6da19c.entry.js +1 -0
  363. package/dist/tegel/tegel.css +2 -2
  364. package/dist/tegel/tegel.esm.js +1 -1
  365. package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +3 -0
  366. package/dist/types/components/accordion/accordion.stories.d.ts +77 -0
  367. package/dist/types/components/badge/badge.stories.d.ts +73 -0
  368. package/dist/types/components/banner/banner.d.ts +7 -2
  369. package/dist/types/components/banner/banner.stories.d.ts +82 -0
  370. package/dist/types/components/block/block.stories.d.ts +32 -0
  371. package/dist/types/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +0 -2
  372. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +0 -1
  373. package/dist/types/components/breadcrumbs/breadcrumbs.stories.d.ts +16 -0
  374. package/dist/types/components/button/button.d.ts +3 -1
  375. package/dist/types/components/button/button.stories.d.ts +133 -0
  376. package/dist/types/components/card/card.d.ts +11 -9
  377. package/dist/types/components/card/card.stories.d.ts +128 -0
  378. package/dist/types/components/checkbox/checkbox.d.ts +3 -0
  379. package/dist/types/components/checkbox/checkbox.stories.d.ts +52 -0
  380. package/dist/types/components/chip/chip.d.ts +6 -0
  381. package/dist/types/components/chip/chip.stories.d.ts +99 -0
  382. package/dist/types/components/datetime/datetime.stories.d.ts +125 -0
  383. package/dist/types/components/divider/divider.stories.d.ts +58 -0
  384. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +28 -17
  385. package/dist/types/components/dropdown/dropdown.d.ts +79 -54
  386. package/dist/types/components/dropdown/dropdown.stories.d.ts +183 -0
  387. package/dist/types/components/footer/footer-group/footer-group.d.ts +1 -1
  388. package/dist/types/components/footer/footer.d.ts +5 -3
  389. package/dist/types/components/footer/footer.stories.d.ts +44 -0
  390. package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +5 -1
  391. package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +8 -4
  392. package/dist/types/components/header/header.d.ts +5 -0
  393. package/dist/types/components/header/header.stories.d.ts +31 -0
  394. package/dist/types/components/icon/icon.stories.d.ts +36 -0
  395. package/dist/types/components/link/link.stories.d.ts +44 -0
  396. package/dist/types/components/message/message.d.ts +3 -0
  397. package/dist/types/components/message/message.stories.d.ts +88 -0
  398. package/dist/types/components/modal/modal.d.ts +9 -3
  399. package/dist/types/components/modal/modal.stories.d.ts +70 -0
  400. package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
  401. package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +27 -0
  402. package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
  403. package/dist/types/components/popover-menu/popover-menu.stories.d.ts +40 -0
  404. package/dist/types/components/radio-button/radio-button.d.ts +3 -0
  405. package/dist/types/components/radio-button/radio-button.stories.d.ts +39 -0
  406. package/dist/types/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.d.ts +3 -0
  407. package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +5 -0
  408. package/dist/types/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.d.ts +3 -0
  409. package/dist/types/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.d.ts +3 -0
  410. package/dist/types/components/side-menu/side-menu-item/side-menu-item.d.ts +3 -0
  411. package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -0
  412. package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +4 -0
  413. package/dist/types/components/side-menu/side-menu.d.ts +8 -0
  414. package/dist/types/components/side-menu/side-menu.stories.d.ts +53 -0
  415. package/dist/types/components/slider/slider.d.ts +0 -1
  416. package/dist/types/components/slider/slider.stories.d.ts +235 -0
  417. package/dist/types/components/spinner/spinner.stories.d.ts +46 -0
  418. package/dist/types/components/stepper/step/step.d.ts +3 -0
  419. package/dist/types/components/stepper/stepper.stories.d.ts +80 -0
  420. package/dist/types/components/table/table-body/table-body.d.ts +6 -3
  421. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +3 -0
  422. package/dist/types/components/table/table-component-basic.stories.d.ts +144 -0
  423. package/dist/types/components/table/table-component-batch-actions.stories.d.ts +139 -0
  424. package/dist/types/components/table/table-component-bodydata.stories.d.ts +35 -0
  425. package/dist/types/components/table/table-component-custom-width.stories.d.ts +131 -0
  426. package/dist/types/components/table/table-component-event-listeners.stories.d.ts +131 -0
  427. package/dist/types/components/table/table-component-expandable-rows.stories.d.ts +131 -0
  428. package/dist/types/components/table/table-component-filtering.stories.d.ts +139 -0
  429. package/dist/types/components/table/table-component-multiselect.stories.d.ts +144 -0
  430. package/dist/types/components/table/table-component-pagination.stories.d.ts +131 -0
  431. package/dist/types/components/table/table-component-sorting.stories.d.ts +183 -0
  432. package/dist/types/components/table/table-footer/table-footer.d.ts +7 -7
  433. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +3 -0
  434. package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +69 -0
  435. package/dist/types/components/tabs/inline-tabs/inline-tabs.stories.d.ts +61 -0
  436. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +61 -0
  437. package/dist/types/components/text-field/text-field.d.ts +5 -0
  438. package/dist/types/components/text-field/text-field.stories.d.ts +201 -0
  439. package/dist/types/components/textarea/textarea.stories.d.ts +139 -0
  440. package/dist/types/components/toast/toast.d.ts +5 -4
  441. package/dist/types/components/toast/toast.stories.d.ts +56 -0
  442. package/dist/types/components/toggle/toggle.d.ts +3 -0
  443. package/dist/types/components/toggle/toggle.stories.d.ts +74 -0
  444. package/dist/types/components/tooltip/tooltip.d.ts +3 -1
  445. package/dist/types/components/tooltip/tooltip.stories.d.ts +66 -0
  446. package/dist/types/components.d.ts +105 -393
  447. package/dist/types/stories/Installation/installation.stories.d.ts +7 -0
  448. package/dist/types/stories/announcements/announce-tegel.stories.d.ts +6 -0
  449. package/dist/types/stories/announcements/prefix-change.stories.d.ts +6 -0
  450. package/dist/types/stories/foundations/color/color-brand.stories.d.ts +13 -0
  451. package/dist/types/stories/foundations/color/color-scales.stories.d.ts +30 -0
  452. package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +13 -0
  453. package/dist/types/stories/foundations/grid/grid.stories.d.ts +35 -0
  454. package/dist/types/stories/foundations/spacing/spacing-element.stories.d.ts +8 -0
  455. package/dist/types/stories/foundations/spacing/spacing-layout.stories.d.ts +8 -0
  456. package/dist/types/stories/foundations/typography/typography-body.stories.d.ts +8 -0
  457. package/dist/types/stories/foundations/typography/typography-detail.stories.d.ts +8 -0
  458. package/dist/types/stories/foundations/typography/typography-headline.stories.d.ts +21 -0
  459. package/dist/types/stories/foundations/typography/typography-paragraph.stories.d.ts +8 -0
  460. package/dist/types/stories/patterns/navigation/navigation-basic.stories.d.ts +23 -0
  461. package/dist/types/stories/patterns/navigation/navigation-fewitems.stories.d.ts +23 -0
  462. package/dist/types/stories/patterns/navigation/navigation-manyitems.stories.d.ts +38 -0
  463. package/dist/types/stories/patterns/navigation/navigation-user-menu.stories.d.ts +33 -0
  464. package/dist/types/stories/tegel.stories.d.ts +6 -0
  465. package/dist/types/stories/utility/color/background-color.stories.d.ts +64 -0
  466. package/dist/types/stories/utility/color/text-color.stories.d.ts +64 -0
  467. package/dist/types/utils/utils.d.ts +20 -6
  468. package/package.json +21 -24
  469. package/dist/cjs/tds-dropdown-filter.cjs.entry.js +0 -96
  470. package/dist/cjs/tds-dropdown_2.cjs.entry.js +0 -339
  471. package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js +0 -380
  472. package/dist/collection/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.js +0 -216
  473. package/dist/collection/components/dropdown-v2/dropdown-v2.css +0 -286
  474. package/dist/collection/components/dropdown-v2/dropdown-v2.js +0 -726
  475. package/dist/components/dropdown-option.js +0 -104
  476. package/dist/components/dropdown.js +0 -304
  477. package/dist/components/tds-dropdown-filter.d.ts +0 -11
  478. package/dist/components/tds-dropdown-filter.js +0 -150
  479. package/dist/components/tds-dropdown-option-v2.d.ts +0 -11
  480. package/dist/components/tds-dropdown-option-v2.js +0 -126
  481. package/dist/components/tds-dropdown-v2.d.ts +0 -11
  482. package/dist/components/tds-dropdown-v2.js +0 -323
  483. package/dist/esm/tds-dropdown-filter.entry.js +0 -92
  484. package/dist/esm/tds-dropdown_2.entry.js +0 -334
  485. package/dist/tegel/p-07e5df94.entry.js +0 -1
  486. package/dist/tegel/p-0a3e7512.entry.js +0 -1
  487. package/dist/tegel/p-0e55d72f.entry.js +0 -1
  488. package/dist/tegel/p-107d3da8.entry.js +0 -1
  489. package/dist/tegel/p-13b02a4f.entry.js +0 -1
  490. package/dist/tegel/p-19e9addd.entry.js +0 -1
  491. package/dist/tegel/p-1fb5c5d4.entry.js +0 -1
  492. package/dist/tegel/p-2bee16f6.entry.js +0 -1
  493. package/dist/tegel/p-2e2c91c4.entry.js +0 -1
  494. package/dist/tegel/p-330ed982.entry.js +0 -1
  495. package/dist/tegel/p-3604b5d3.entry.js +0 -1
  496. package/dist/tegel/p-375e361b.entry.js +0 -1
  497. package/dist/tegel/p-55dc4711.entry.js +0 -1
  498. package/dist/tegel/p-59f1cb9b.entry.js +0 -1
  499. package/dist/tegel/p-5a6aba01.entry.js +0 -1
  500. package/dist/tegel/p-60733f89.entry.js +0 -1
  501. package/dist/tegel/p-6a530c2f.entry.js +0 -1
  502. package/dist/tegel/p-732256e0.entry.js +0 -1
  503. package/dist/tegel/p-76f941e8.entry.js +0 -1
  504. package/dist/tegel/p-7b0853e6.entry.js +0 -1
  505. package/dist/tegel/p-90686bc7.entry.js +0 -1
  506. package/dist/tegel/p-95da9b7f.entry.js +0 -1
  507. package/dist/tegel/p-99f540db.entry.js +0 -1
  508. package/dist/tegel/p-9bcc42cf.entry.js +0 -1
  509. package/dist/tegel/p-9f57d275.entry.js +0 -1
  510. package/dist/tegel/p-9fe384ad.entry.js +0 -1
  511. package/dist/tegel/p-a5604352.entry.js +0 -1
  512. package/dist/tegel/p-acb62b52.entry.js +0 -1
  513. package/dist/tegel/p-aeffa257.entry.js +0 -1
  514. package/dist/tegel/p-b8d88873.entry.js +0 -1
  515. package/dist/tegel/p-beb8a6bd.entry.js +0 -1
  516. package/dist/tegel/p-c90a247c.entry.js +0 -1
  517. package/dist/tegel/p-ca4527de.entry.js +0 -1
  518. package/dist/tegel/p-cf4cfc54.entry.js +0 -1
  519. package/dist/tegel/p-d3f5cf74.entry.js +0 -1
  520. package/dist/tegel/p-d67d67be.entry.js +0 -1
  521. package/dist/tegel/p-da4c92b9.entry.js +0 -1
  522. package/dist/tegel/p-f6206d3c.entry.js +0 -1
  523. package/dist/tegel/p-fc47d911.entry.js +0 -1
  524. package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.d.ts +0 -47
  525. package/dist/types/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.d.ts +0 -35
  526. package/dist/types/components/dropdown-v2/dropdown-v2.d.ts +0 -86
  527. /package/dist/collection/components/{dropdown-v2/dropdown-option-v2/dropdown-option-v2.css → dropdown/dropdown-option/dropdown-option.css} +0 -0
  528. /package/dist/tegel/{p-9d707f6e.js → p-7c0dcd00.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-23ee700b.js';
2
2
 
3
- const dropdownOptionV2Css = ":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{padding:0 16px;width:100%}:host .dropdown-option .multiselect tds-checkbox,:host .dropdown-option .multiselect .tds-checkbox-webcomponent,:host .dropdown-option .multiselect label{height:100%;width:100%}: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}";
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{padding:0 16px;width:100%}:host .dropdown-option .multiselect tds-checkbox,:host .dropdown-option .multiselect .tds-checkbox-webcomponent,:host .dropdown-option .multiselect label{height:100%;width:100%}: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
 
5
- const TdsDropdownOptionV2 = class {
5
+ const TdsDropdownOption = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.tdsSelect = createEvent(this, "tdsSelect", 6);
@@ -10,7 +10,7 @@ const TdsDropdownOptionV2 = class {
10
10
  this.tdsBlur = createEvent(this, "tdsBlur", 6);
11
11
  this.connectedCallback = () => {
12
12
  this.parentElement =
13
- this.host.parentElement.tagName === 'TDS-DROPDOWN-V2'
13
+ this.host.parentElement.tagName === 'TDS-DROPDOWN'
14
14
  ? this.host.parentElement
15
15
  : this.host.getRootNode().host;
16
16
  this.multiselect = this.parentElement.multiselect;
@@ -84,6 +84,6 @@ const TdsDropdownOptionV2 = class {
84
84
  static get delegatesFocus() { return true; }
85
85
  get host() { return getElement(this); }
86
86
  };
87
- TdsDropdownOptionV2.style = dropdownOptionV2Css;
87
+ TdsDropdownOption.style = dropdownOptionCss;
88
88
 
89
- export { TdsDropdownOptionV2 as tds_dropdown_option_v2 };
89
+ export { TdsDropdownOption as tds_dropdown_option };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { a as appendChildElement, b as appendHiddenInput, f as findNextFocusableItem, c as findPreviousFocusableItem } from './utils-9ac24735.js';
2
+ import { a as appendChildElement, b as appendHiddenInput, f as findNextFocusableItem, c as findPreviousFocusableItem } from './utils-74fb1bed.js';
3
3
 
4
- const dropdownV2Css = ":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:disabled{color:var(--tds-dropdown-disabled-color)}: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;z-index:101}:host{display:block;position:relative;z-index:100}: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{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);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{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{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)}";
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;z-index:101}:host{display:block;position:relative;z-index:100;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{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{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
5
 
6
- const TdsDropdownV2 = class {
6
+ const TdsDropdown = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.tdsChange = createEvent(this, "tdsChange", 6);
@@ -39,15 +39,17 @@ const TdsDropdownV2 = class {
39
39
  this.handleChange();
40
40
  };
41
41
  this.getOpenDirection = () => {
42
- const dropdownMenuHeight = this.dropdownList.offsetHeight;
43
- const distanceToBottom = this.host.getBoundingClientRect().top;
44
- const viewportHeight = window.innerHeight;
45
- if (distanceToBottom + dropdownMenuHeight + 57 > viewportHeight) {
46
- this.openDirection = 'up';
47
- }
48
- else {
49
- this.openDirection = 'down';
42
+ var _a, _b, _c, _d, _e;
43
+ if (this.openDirection === 'auto' || !this.openDirection) {
44
+ const dropdownMenuHeight = (_b = (_a = this.dropdownList) === null || _a === void 0 ? void 0 : _a.offsetHeight) !== null && _b !== void 0 ? _b : 0;
45
+ const distanceToBottom = (_e = (_d = (_c = this.host).getBoundingClientRect) === null || _d === void 0 ? void 0 : _d.call(_c).top) !== null && _e !== void 0 ? _e : 0;
46
+ const viewportHeight = window.innerHeight;
47
+ if (distanceToBottom + dropdownMenuHeight + 57 > viewportHeight) {
48
+ return 'up';
49
+ }
50
+ return 'down';
50
51
  }
52
+ return this.openDirection;
51
53
  };
52
54
  this.getValue = () => {
53
55
  var _a, _b;
@@ -208,21 +210,18 @@ const TdsDropdownV2 = class {
208
210
  if (this.defaultValue) {
209
211
  this.setDefaultOption();
210
212
  }
211
- if (this.openDirection === 'auto') {
212
- this.getOpenDirection();
213
- }
214
213
  }
215
214
  render() {
216
215
  var _a, _b, _c, _d;
217
216
  if (this.options) {
218
217
  let id = 0;
219
218
  this.options.forEach((option) => {
220
- appendChildElement(this.host, 'tds-dropdown-option-v2', [
219
+ appendChildElement(this.host, 'tds-dropdown-option', [
221
220
  { key: 'value', value: option.value },
222
221
  { key: 'disabled', value: option.disabled.toString() },
223
222
  ], option.label, `id${id++}`);
224
223
  });
225
- this.children = Array.from(this.host.children).filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION-V2');
224
+ this.children = Array.from(this.host.children).filter((element) => element.tagName === 'TDS-DROPDOWN-OPTION');
226
225
  }
227
226
  appendHiddenInput(this.host, this.name, (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((item) => item.value).toString(), this.disabled);
228
227
  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' : ''}
@@ -255,6 +254,7 @@ const TdsDropdownV2 = class {
255
254
  }, class: `
256
255
  ${this.selection ? 'value' : 'placeholder'}
257
256
  ${this.open ? 'open' : 'closed'}
257
+ ${this.error ? 'error' : ''}
258
258
  `, 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: `
259
259
  label-inside-as-placeholder
260
260
  ${this.size}
@@ -262,7 +262,7 @@ const TdsDropdownV2 = class {
262
262
  ` }, 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
263
263
  ${this.size}
264
264
  ${this.open ? 'open' : 'closed'}
265
- ${this.openDirection}
265
+ ${this.getOpenDirection()}
266
266
  ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", null), this.filterResult === 0 && (h("div", { class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { name: "error", size: "16px" }), this.helper))));
267
267
  }
268
268
  get host() { return getElement(this); }
@@ -270,6 +270,6 @@ const TdsDropdownV2 = class {
270
270
  "open": ["handleOpenState"]
271
271
  }; }
272
272
  };
273
- TdsDropdownV2.style = dropdownV2Css;
273
+ TdsDropdown.style = dropdownCss;
274
274
 
275
- export { TdsDropdownV2 as tds_dropdown_v2 };
275
+ export { TdsDropdown as tds_dropdown };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-23ee700b.js';
2
2
 
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 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{background-color:var(--tds-folder-tab-background-hover);cursor:pointer}:host div:not(.selected):hover ::slotted(*){border-top-color:var(--tds-folder-tab-background-hover);color:var(--tds-folder-tab-color)}:host ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .disabled{pointer-events:none}:host .disabled ::slotted(*){color:var(--tds-folder-tab-item-color-disabled)}:host .disabled:focus-visible{outline: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}";
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 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
 
5
5
  const TdsFolderTab = class {
6
6
  constructor(hostRef) {
@@ -19,8 +19,7 @@ const TdsFolderTab = class {
19
19
  }
20
20
  render() {
21
21
  return (h(Host, { role: "listitem" }, h("div", { class: `${this.disabled ? 'disabled' : ''}
22
- ${this.selected ? 'selected' : ''}
23
- `, style: { width: `${this.tabWidth}px` } }, h("slot", null))));
22
+ ${this.selected ? 'selected' : ''}`, style: { width: `${this.tabWidth}px` } }, h("slot", null))));
24
23
  }
25
24
  };
26
25
  TdsFolderTab.style = folderTabCss;
@@ -39,11 +39,11 @@ const TdsFolderTabs = class {
39
39
  this.children = Array.from(this.host.children);
40
40
  this.children = this.children.map((item, index) => {
41
41
  item.addEventListener('click', () => {
42
- const tdsChangeEvent = this.tdsChange.emit({
43
- selectedTabIndex: this.children.indexOf(item),
44
- });
45
- if (!tdsChangeEvent.defaultPrevented) {
46
- if (!item.disabled) {
42
+ if (!item.disabled) {
43
+ const tdsChangeEvent = this.tdsChange.emit({
44
+ selectedTabIndex: this.children.indexOf(item),
45
+ });
46
+ if (!tdsChangeEvent.defaultPrevented) {
47
47
  this.children.forEach((element) => element.setSelected(false));
48
48
  item.setSelected(true);
49
49
  this.selectedIndex = index;
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
2
 
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].left,:host [role=list].right{gap:24px}:host [role=list].top-part-child{flex-direction:column}@media all and (max-width: 992px){:host [role=list].left:not(.top-part-child){flex-direction:column}:host [role=list].left:not(.top-part-child).left,:host [role=list].left:not(.top-part-child).right{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}}";
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
 
5
5
  const TdsFooterGroup = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  /** If the group is placed in the main part of the Footer,
9
- * it can have either left or right as a slot position otherwise undefined. */
9
+ * it can have either start or end as a slot position otherwise undefined. */
10
10
  this.slotPosition = null;
11
11
  /** Indicates if a group is part of the top part of the Footer. */
12
12
  this.topPartGroup = false;
@@ -16,7 +16,7 @@ const TdsFooterGroup = class {
16
16
  connectedCallback() {
17
17
  this.topPartGroup = this.host.parentElement.slot === 'top';
18
18
  if (!this.topPartGroup) {
19
- this.slotPosition = this.host.parentElement.slot === 'main-right' ? 'right' : 'left';
19
+ this.slotPosition = this.host.parentElement.slot === 'end' ? 'end' : 'start';
20
20
  }
21
21
  }
22
22
  render() {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-23ee700b.js';
2
2
 
3
- const footerItemCss = "[role=listitem] ::slotted(*){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(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}[role=listitem] ::slotted(*:hover){text-decoration:underline}[role=listitem].top-part-child ::slotted(*){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(*: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(*){display:block;height:100%;padding:19px 40px;font-weight:normal}[role=listitem].top-part-child ::slotted(*:hover){text-decoration:underline;background-color:var(--tds-footer-top-links-background-hover)}[role=listitem].top-part-child ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}}";
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
 
5
5
  const TdsFooterItem = class {
6
6
  constructor(hostRef) {
@@ -1,18 +1,18 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
+ import { h as hasSlot } from './utils-74fb1bed.js';
2
3
 
3
- const footerCss = ":host{display:block}:host .footer-top{background-color:var(--tds-footer-top-background);padding:40px}:host .footer-top ::slotted(*){display:grid;grid-template-columns:1fr 1fr 1fr 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 .footer-bottom-right ::slotted(*),:host .footer-bottom-left ::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 .footer-top{padding:0}:host .footer-top ::slotted(*){display:block;width:100%}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host .footer-bottom-left ::slotted(*){flex-direction:column;gap:8px}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}";
4
+ const footerCss = ":host{display:block}:host slot[name=top]::slotted(*){background-color:var(--tds-footer-top-background);padding:40px;display:grid;grid-template-columns:repeat(4, 1fr);row-gap:40px;width:100%}:host .footer-main{background-color:var(--tds-footer-main-background);padding:0 40px}:host .footer-main-top{padding:40px 0;display:flex;justify-content:space-between}:host slot[name=start]::slotted(*),:host slot[name=end]::slotted(*){display:flex;column-gap:24px}:host .footer-main-bottom{padding:40px 0;display:flex;justify-content:space-between;border-top:1px solid var(--tds-footer-main-divider)}:host .footer-main-bottom small.copyright{margin:0;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-footer-main-copyright)}:host .footer-main-bottom .brand{background-image:var(--tds-background-image-scania-wordmark-white-svg);background-repeat:no-repeat;background-size:117px;background-position:right;width:117px;height:20px}:host .footer-main-bottom .brand p{color:transparent;padding:0;margin:0;height:100%;visibility:hidden}@media all and (max-width: 992px){:host slot[name=top]::slotted(*){display:block;width:100%;padding:0}:host .footer-main{padding:0 24px}:host .footer-main-top{flex-direction:column;row-gap:48px;padding:24px 0}:host slot[name=end]::slotted(*){flex-direction:row;gap:8px}:host .footer-main-bottom{flex-direction:column;padding-bottom:32px}:host .footer-main-bottom p.copyright{padding-bottom:96px}:host .footer-main-bottom .brand{width:100%}}";
4
5
 
5
6
  const TdsFooter = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
8
9
  this.modeVariant = null;
9
- this.hasTopPart = undefined;
10
- }
11
- connectedCallback() {
12
- this.hasTopPart = Array.from(this.host.children).some((element) => element.slot === 'top');
13
10
  }
14
11
  render() {
15
- return (h(Host, { class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("footer", null, this.hasTopPart && (h("div", { class: "footer-top" }, h("slot", { name: "top" }))), h("div", { class: "footer-main" }, h("div", { class: "footer-main-top" }, h("div", { class: "footer-bottom-left" }, h("slot", { name: "main-left" })), h("div", { class: "footer-bottom-right" }, h("slot", { name: "main-right" }))), h("div", { class: "footer-main-bottom" }, h("small", { class: "copyright" }, "Copyright \u00A9 ", new Date().getFullYear(), " Scania"), h("div", { class: "brand" }, h("p", null, "Scania")))))));
12
+ const usesTopSlot = hasSlot('top', this.host);
13
+ const usesStartSlot = hasSlot('start', this.host);
14
+ const usesEndSlot = hasSlot('end', this.host);
15
+ return (h(Host, { class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("footer", null, usesTopSlot && h("slot", { name: "top" }), h("div", { class: "footer-main" }, h("div", { class: "footer-main-top" }, usesStartSlot && h("slot", { name: "start" }), usesEndSlot && h("slot", { name: "end" })), h("div", { class: "footer-main-bottom" }, h("small", { class: "copyright" }, "Copyright \u00A9 ", new Date().getFullYear(), " Scania"), h("div", { class: "brand" }, h("p", null, "Scania")))))));
16
16
  }
17
17
  get host() { return getElement(this); }
18
18
  };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-23ee700b.js';
2
2
 
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;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}";
3
+ const tableHeaderCellCss = ":host(.tds-table__header-cell){box-sizing:border-box;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-header-background-hover);padding:0;height:48px;min-width:192px;box-sizing:border-box;vertical-align:middle;overflow:hidden;transition:background-color 200ms ease}:host(.tds-table__header-cell) *{box-sizing:border-box}:host(.tds-table__header-cell) .tds-table__header-text{padding:0 16px;margin:0}:host(.tds-table__header-cell--sortable) .tds-table__header-button{display:flex;align-items:center;gap:8px;justify-content:start;flex-direction:row;width:100%;height:100%;padding:0 16px;background-color:transparent;border:none;cursor:pointer;transition:background-color 200ms ease}:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus{outline:2px solid var(--tds-table-header-btn-focus);outline-offset:-2px}:host(.tds-table__header-cell--sortable) .tds-table__header-button:focus .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-text{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);text-align:left;color:var(--tds-table-header-btn-color)}:host(.tds-table__header-cell--sortable) .tds-table__header-button .tds-table__header-button-icon{flex:0 0 16px;height:16px;width:16px;opacity:0;transform-origin:center;transition:opacity 200ms ease-in, transform 200ms ease;fill:var(--tds-table-color)}:host(.tds-table__header-cell--sortable) .tds-table__header-button:hover .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--right-align) .tds-table__header-button{text-align:right;justify-content:end;flex-direction:row-reverse}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button{background-color:var(--tds-table-header-btn-background)}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button:hover{background-color:var(--tds-table-header-btn-background-hover)}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon{opacity:1}:host(.tds-table__header-cell--is-sorted) .tds-table__header-button .tds-table__header-button-icon--rotate{transform:rotate(180deg)}:host(.tds-table--compact){height:33px}:host(.tds-table--divider){border-right:1px solid var(--tds-table-divider)}:host(.tds-table--divider:last-of-type){border-right:none}:host(.tds-table--no-min-width){min-width:unset}:host(.tds-table__header-cell:first-of-type){border-top-left-radius:4px}:host(.tds-table__header-cell:last-of-type){border-top-right-radius:4px}:host(.tds-table--extra-column:first-of-type){border-top-left-radius:0}:host(.tds-table--toolbar-available){border-radius:0}:host(.tds-table--extra-column.tds-table--toolbar-available){border-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:first-of-type){border-top-left-radius:0}:host(.tds-table__header-cell.tds-table--toolbar-available:last-of-type){border-top-right-radius:0}";
4
4
 
5
5
  const relevantTableProps = [
6
6
  'enableMultiselect',
@@ -1,17 +1,17 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
2
 
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=image]::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)}";
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
 
5
5
  const TdsHeaderDropdownListLgUser = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.imgUrl = undefined;
9
9
  this.imgAlt = undefined;
10
- this.heading = undefined;
11
- this.subheading = undefined;
10
+ this.header = undefined;
11
+ this.subheader = undefined;
12
12
  }
13
13
  render() {
14
- return (h(Host, { role: "listitem" }, h("div", { class: "user-box" }, this.imgUrl && h("img", { src: this.imgUrl, alt: this.imgAlt }), h("slot", { name: "image" }), h("div", { class: "user-content" }, h("div", { class: "header" }, this.heading, h("slot", { name: "heading" })), h("div", { class: "subheader" }, this.subheading, h("slot", { name: "subheading" }))))));
14
+ return (h(Host, { role: "listitem" }, h("div", { class: "user-box" }, this.imgUrl && h("img", { src: this.imgUrl, alt: this.imgAlt }), h("slot", { name: "thumbanil" }), h("div", { class: "user-content" }, h("div", { class: "header" }, this.header, h("slot", { name: "header" })), h("div", { class: "subheader" }, this.subheader, h("slot", { name: "subheader" }))))));
15
15
  }
16
16
  get host() { return getElement(this); }
17
17
  };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { g as getPreviousNestedChildOfSiblingsMatching, e as isHeadingElement } from './utils-9ac24735.js';
2
+ import { d as getPreviousNestedChildOfSiblingsMatching, e as isHeadingElement } from './utils-74fb1bed.js';
3
3
 
4
4
  const headerDropdownListCss = ":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:none;background-color:var(--tds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([type=lg]){width:320px}";
5
5
 
@@ -1,12 +1,13 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
+ import { g as generateUniqueId } from './utils-74fb1bed.js';
2
3
 
3
4
  const headerDropdownCss = ":host{height:var(--tds-header-height);position:relative}:host .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-top-right-radius:0;border-top-left-radius:0}:host .menu::-webkit-scrollbar{width:4px;background-color:inherit}:host .menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .menu ::-webkit-scrollbar-button{height:0;width:0}:host .state-open .dropdown-icon{transform:rotatetds-z-index(180deg)}:host .state-open .button{position:relative;z-index:801}";
4
5
 
5
6
  const TdsHeaderDropdown = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
8
- this.uuid = crypto.randomUUID();
9
- this.buttonLabel = undefined;
9
+ this.uuid = generateUniqueId();
10
+ this.label = undefined;
10
11
  this.noDropdownIcon = false;
11
12
  this.selected = false;
12
13
  this.open = false;
@@ -29,7 +30,7 @@ const TdsHeaderDropdown = class {
29
30
  this.buttonEl = el;
30
31
  }, "aria-expanded": `${this.open}`, "aria-controls": `launcher-${this.uuid}`, "aria-current": this.selected ? 'location' : 'false', onClick: () => {
31
32
  this.toggleDropdown();
32
- } }, h("slot", { name: "button-icon" }), this.buttonLabel, h("slot", { name: "button-label" }), !this.noDropdownIcon && (h("tds-icon", { class: "dropdown-icon", name: "chevron_down", size: "16px" })))), this.buttonEl && (h("tds-popover-canvas", { id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
33
+ } }, h("slot", { name: "icon" }), this.label, h("slot", { name: "label" }), !this.noDropdownIcon && (h("tds-icon", { class: "dropdown-icon", name: "chevron_down", size: "16px" })))), this.buttonEl && (h("tds-popover-canvas", { id: `tds-dropdown-${this.uuid}`, class: "menu", referenceEl: this.buttonEl, placement: "bottom-start", show: this.open, offsetDistance: 0, modifiers: [
33
34
  {
34
35
  name: 'flip',
35
36
  options: {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { i as inheritAriaAttributes } from './utils-9ac24735.js';
2
+ import { i as inheritAriaAttributes } from './utils-74fb1bed.js';
3
3
 
4
4
  const headerHamburgerCss = ":host{color:var(--tds-white)}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:background 0.2s ease-in-out, color 0.2s ease-in-out}@media screen and (min-width: 992px){:host tds-header-item{display:none}:host([persistent]) tds-header-item{display:block}}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { i as inheritAriaAttributes } from './utils-9ac24735.js';
2
+ import { i as inheritAriaAttributes } from './utils-74fb1bed.js';
3
3
 
4
4
  const headerLauncherButtonCss = ":host{display:block}:host tds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";
5
5
 
@@ -1,14 +1,15 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-23ee700b.js';
2
+ import { g as generateUniqueId } from './utils-74fb1bed.js';
2
3
 
3
4
  const headerLauncherGridTitleCss = ".tds-header-launcher-grid-title{all:unset;box-sizing:border-box;font:var(--tds-detail-04);letter-spacing:var(--tds-detail-04-ls);color:var(--tds-header-app-launcher-grid-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
4
5
 
5
6
  const TdsHeaderLauncherGridTitle = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
8
- this.uuid = crypto.randomUUID();
9
+ this.uuid = generateUniqueId();
9
10
  }
10
11
  render() {
11
- return (h(Host, null, h("h3", { class: "tds-header-launcher-grid-title", id: `tds-${this.uuid}` }, h("slot", null))));
12
+ return (h(Host, null, h("h3", { class: "tds-header-launcher-grid-title", id: `tds-header-launcher-grid-title-${this.uuid}` }, h("slot", null))));
12
13
  }
13
14
  };
14
15
  TdsHeaderLauncherGridTitle.style = headerLauncherGridTitleCss;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { g as getPreviousNestedChildOfSiblingsMatching, e as isHeadingElement } from './utils-9ac24735.js';
2
+ import { d as getPreviousNestedChildOfSiblingsMatching, e as isHeadingElement } from './utils-74fb1bed.js';
3
3
 
4
4
  const headerLauncherGridCss = ".tds-header-launcher-grid{box-sizing:border-box;padding:12px;margin:0;list-style:none;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;border-radius:none}";
5
5
 
@@ -1,14 +1,15 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
+ import { g as generateUniqueId } from './utils-74fb1bed.js';
2
3
 
3
4
  const headerLauncherListTitleCss = ".tds-header-launcher-list-title{all:unset;box-sizing:border-box;font:var(--tds-detail-06);letter-spacing:var(--tds-detail-06-ls);color:var(--tds-header-app-launcher-category-title-color);text-transform:uppercase;height:48px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color);margin:0}";
4
5
 
5
6
  const TdsHeaderLauncherListTitle = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
8
- this.uuid = crypto.randomUUID();
9
+ this.uuid = generateUniqueId();
9
10
  }
10
11
  render() {
11
- return (h(Host, null, h("h3", { class: "tds-header-launcher-list-title", id: `tds-${this.uuid}` }, h("slot", null))));
12
+ return (h(Host, null, h("h3", { class: "tds-header-launcher-list-title", id: `tds-header-launcher-${this.uuid}` }, h("slot", null))));
12
13
  }
13
14
  get host() { return getElement(this); }
14
15
  };
@@ -1,9 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-23ee700b.js';
2
+ import { g as generateUniqueId } from './utils-74fb1bed.js';
2
3
 
3
4
  const TdsHeaderLauncherList = class {
4
5
  constructor(hostRef) {
5
6
  registerInstance(this, hostRef);
6
- this.uuid = crypto.randomUUID();
7
+ this.uuid = generateUniqueId();
7
8
  }
8
9
  render() {
9
10
  return (h(Host, null, h("tds-header-dropdown-list", { type: "lg" }, h("slot", null))));
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { i as inheritAriaAttributes } from './utils-9ac24735.js';
2
+ import { g as generateUniqueId, i as inheritAriaAttributes } from './utils-74fb1bed.js';
3
3
 
4
4
  const headerLauncherCss = ":host .wrapper{height:var(--tds-header-height);position:relative}:host .wrapper .menu{flex-direction:column;overflow-y:auto;max-height:calc(100vh - var(--tds-header-height));box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-header-app-launcher-menu-background);border-radius:0}:host .wrapper .menu::-webkit-scrollbar{width:4px;background-color:inherit}:host .wrapper .menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}:host .wrapper .menu ::-webkit-scrollbar-button{height:0;width:0}@media all and (max-width: 384px){:host .wrapper .menu{width:100vw}}:host .wrapper.state-list-type-menu .menu{height:calc(100vh - var(--tds-header-height))}:host .wrapper.state-open .button{position:relative;z-index:801}";
5
5
 
6
6
  const TdsHeaderLauncher = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
- this.uuid = crypto.randomUUID();
9
+ this.uuid = generateUniqueId();
10
10
  this.open = false;
11
11
  this.buttonEl = undefined;
12
12
  this.hasListTypeMenu = false;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-23ee700b.js';
2
- import { u as updateListChildrenRoles, i as inheritAriaAttributes } from './utils-9ac24735.js';
2
+ import { u as updateListChildrenRoles, i as inheritAriaAttributes } from './utils-74fb1bed.js';
3
3
 
4
4
  const headerCss = "html,:root{--tds-nav-dropdown-menu-box:0 3px 3px rgb(0 0 0 / 15%), 0 -1px 1px rgb(0 0 0 / 1%);--tds-nav-dropdown-item-border-radius:0 0 4px 4px;--tds-font-family-headline:\"Scania Sans Headline\", arial, helvetica, sans-serif}tds-header{display:block;height:var(--tds-header-height);background-color:var(--tds-header-background);width:100%;z-index:300}nav{box-sizing:border-box;background-color:var(--tds-header-background);width:100%;display:block}nav *{box-sizing:border-box}nav .tds-header-component-list{height:var(--tds-header-height);all:unset;display:flex;justify-content:start;align-items:center}nav tds-header-dropdown,nav tds-header-item{display:none}nav .tds-header-middle-spacer{all:unset;display:block;flex-grow:1;height:var(--tds-header-height);border-right:1px solid var(--tds-header--basic-element-border)}@media screen and (min-width: 992px){nav tds-header-dropdown,nav tds-header-item{display:block}}nav tds-header-item:nth-child(3),nav tds-header-dropdown:nth-child(3){border-left:1px solid var(--tds-header--basic-element-border)}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-23ee700b.js';
2
2
 
3
- const inlineTabCss = ":host{box-sizing:border-box;z-index:200;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;margin:20px 4px}:host ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .inline-tab-item{position:relative;margin-right:32px}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:-20px;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);transition:width 0.15s ease-in-out 0s;z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled{color:var(--tds-inline-tabs-tab-color-disabled);pointer-events:none}:host .disabled ::slotted(*){opacity:var(--tds-inline-tabs-tab-color-opacity-disabled)}:host(.first){margin-left:32px}:host(.last){margin-right:32px}";
3
+ const inlineTabCss = ":host{box-sizing:border-box;z-index:200;display:block}:host *{box-sizing:border-box}:host ::slotted(*){all:unset;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-navigation-tabs-tab-color);text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out 0s;white-space:nowrap;background-color:transparent;border:0;width:100%;margin:20px 4px}:host ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .inline-tab-item:not(.selected)::after{width:0%;transition:width 0.15s ease-in-out 0s}:host .inline-tab-item{position:relative;margin-right:32px}:host .inline-tab-item:hover{cursor:pointer}:host .inline-tab-item:hover::after{width:100%}:host .inline-tab-item::after{content:\" \";position:absolute;bottom:-20px;right:0;left:0;margin-left:auto;width:0%;margin-right:auto;height:2px;background-color:var(--tds-inline-tabs-tab-indicator-background-hover);z-index:1}:host .selected ::slotted(*){color:var(--tds-inline-tabs-tab-color-selected)}:host .selected::after{width:100%;background-color:var(--tds-inline-tabs-tab-indicator-background-active)}:host .disabled{color:var(--tds-inline-tabs-tab-color-disabled)}:host .disabled ::slotted(*){opacity:var(--tds-inline-tabs-tab-color-opacity-disabled)}:host .disabled::after{content:none}:host .disabled ::slotted(*:hover){cursor:not-allowed}:host .disabled ::slotted(*:focus-visible){outline:none}:host(.first){margin-left:32px}:host(.last){margin-right:32px}";
4
4
 
5
5
  const TdsInlineTab = class {
6
6
  constructor(hostRef) {
@@ -38,11 +38,11 @@ const TdsInlineTabs = class {
38
38
  this.addEventListenerToTabs = () => {
39
39
  this.children = this.children.map((item, index) => {
40
40
  item.addEventListener('click', () => {
41
- const tdsChangeEvent = this.tdsChange.emit({
42
- selectedTabIndex: this.children.indexOf(item),
43
- });
44
- if (!tdsChangeEvent.defaultPrevented) {
45
- if (!item.disabled) {
41
+ if (!item.disabled) {
42
+ const tdsChangeEvent = this.tdsChange.emit({
43
+ selectedTabIndex: this.children.indexOf(item),
44
+ });
45
+ if (!tdsChangeEvent.defaultPrevented) {
46
46
  this.children.forEach((element) => element.setSelected(false));
47
47
  item.setSelected(true);
48
48
  this.selectedIndex = index;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-23ee700b.js';
2
2
 
3
- const linkCss = ".tds-link-component{all:unset;cursor:pointer;outline:none;color:var(--tds-link);text-decoration:underline}.tds-link-component.active,.tds-link-component:active{color:var(--tds-link);text-decoration:underline;text-decoration-color:var(--tds-link)}.tds-link-component:hover{color:var(--tds-link-hover);text-decoration:underline;text-decoration-color:var(--tds-link-hover)}.tds-link-component:visited{color:var(--tds-link-visited);text-decoration-color:var(--tds-link-visited)}.tds-link-component:focus{color:var(--tds-link-focus);text-decoration:none;outline:2px solid var(--tds-link-focus);outline-offset:-2px}.disabled .tds-link-component{color:var(--tds-link-disabled);text-decoration-color:var(--tds-link-disabled);pointer-events:none}.no-underline .tds-link-component{text-decoration:none}.no-underline:hover .tds-link-component{text-decoration:none}";
3
+ const linkCss = ":host{display:inline}:host ::slotted(*){all:unset;cursor:pointer;outline:none;color:var(--tds-link);text-decoration:underline}:host ::slotted(*:focus-visible){color:var(--tds-link-focus);text-decoration:none;outline:2px solid var(--tds-link-focus);outline-offset:-2px}:host ::slotted(*:active){color:var(--tds-link);text-decoration:underline;text-decoration-color:var(--tds-link)}:host ::slotted(*:hover){color:var(--tds-link-hover);text-decoration:underline;text-decoration-color:var(--tds-link-hover)}:host ::slotted(*:visited){color:var(--tds-link-visited);text-decoration-color:var(--tds-link-visited)}.disabled ::slotted(*){color:var(--tds-link-disabled);text-decoration-color:var(--tds-link-disabled);pointer-events:none}.no-underline ::slotted(*){text-decoration:none}.no-underline:hover ::slotted(*){text-decoration:none}";
4
4
 
5
5
  const TdsLink = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-23ee700b.js';
2
2
 
3
- const messageCss = ":host .message-wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .message-wrapper.information{border-left:4px solid var(--tds-information)}:host .message-wrapper.information tds-icon{color:var(--tds-information)}:host .message-wrapper.success{border-left:4px solid var(--tds-positive)}:host .message-wrapper.success tds-icon{color:var(--tds-positive)}:host .message-wrapper.error{background-color:var(--tds-message-type-error-background);border-left:4px solid var(--tds-negative)}:host .message-wrapper.error tds-icon{color:var(--tds-negative)}:host .message-wrapper.warning{border-left:4px solid var(--tds-warning)}:host .message-wrapper.warning tds-icon{color:var(--tds-warning)}:host .message-wrapper.message-minimal{border:none;display:flex;align-items:center;padding:0;background-color:transparent}:host .message-wrapper.message-minimal .message-header{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .message-wrapper.message-minimal tds-icon{padding-right:8px}:host tds-icon{padding-right:16px}:host .message-content{display:flex;flex-direction:column;gap:4px;color:var(--tds-message-color);padding:2px 0}:host .message-content .message-header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .message-content .message-extended-message{color:var(--tds-message-color);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .tds-mode-variant-primary{--tds-message-background:var(--tds-message-background-primary)}:host .tds-mode-variant-secondary{--tds-message-background:var(--tds-message-background-secondary)}";
3
+ const messageCss = ":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-information)}:host .wrapper.information tds-icon{color:var(--tds-information)}:host .wrapper.success{border-left:4px solid var(--tds-positive)}:host .wrapper.success tds-icon{color:var(--tds-positive)}:host .wrapper.error{background-color:var(--tds-message-type-error-background);border-left:4px solid var(--tds-negative)}:host .wrapper.error tds-icon{color:var(--tds-negative)}:host .wrapper.warning{border-left:4px solid var(--tds-warning)}:host .wrapper.warning tds-icon{color:var(--tds-warning)}:host .wrapper.minimal{border:none;display:flex;align-items:center;padding:0;background-color:transparent}:host .wrapper.minimal .header{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .wrapper.minimal.error .header{color:var(--tds-negative)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--tds-message-color);padding:2px 0}:host .content .header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .content .extended-message{color:var(--tds-message-color);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .tds-mode-variant-primary{--tds-message-background:var(--tds-message-background-primary)}:host .tds-mode-variant-secondary{--tds-message-background:var(--tds-message-background-secondary)}";
4
4
 
5
5
  const TdsMessage = class {
6
6
  constructor(hostRef) {
@@ -27,9 +27,9 @@ const TdsMessage = class {
27
27
  }
28
28
  render() {
29
29
  return (h(Host, null, h("div", { class: `
30
- message-wrapper ${this.type}
31
- ${this.minimal ? 'message-minimal' : ''}
32
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, !this.noIcon && h("tds-icon", { name: this.getIconName(), size: "20px" }), h("div", { class: `message-content` }, this.header && h("div", { class: "message-header" }, this.header), !this.minimal && (h("div", { class: "message-extended-message" }, h("slot", null)))))));
30
+ wrapper ${this.type}
31
+ ${this.minimal ? 'minimal' : ''}
32
+ ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, !this.noIcon && h("tds-icon", { name: this.getIconName(), size: "20px" }), h("div", { class: `content` }, this.header && h("div", { class: "header" }, this.header), !this.minimal && (h("div", { class: "extended-message" }, h("slot", null)))))));
33
33
  }
34
34
  };
35
35
  TdsMessage.style = messageCss;