@scania/tegel 1.29.0 → 1.30.0-beta-enhance-focus-dropdown.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/tds-accordion-item.cjs.entry.js +2 -2
  3. package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
  4. package/dist/cjs/tds-button.cjs.entry.js +1 -1
  5. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +3 -3
  6. package/dist/cjs/tds-datetime.cjs.entry.js +9 -5
  7. package/dist/cjs/tds-divider.cjs.entry.js +1 -1
  8. package/dist/cjs/tds-dropdown_2.cjs.entry.js +63 -15
  9. package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
  10. package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
  11. package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
  12. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  13. package/dist/cjs/tds-footer.cjs.entry.js +2 -2
  14. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
  15. package/dist/cjs/tds-header-cell.cjs.entry.js +11 -3
  16. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
  17. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
  18. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  19. package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
  20. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  21. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  22. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
  23. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  25. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  26. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  29. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  31. package/dist/cjs/tds-icon.cjs.entry.js +21 -3
  32. package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
  33. package/dist/cjs/tds-inline-tabs.cjs.entry.js +2 -2
  34. package/dist/cjs/tds-link.cjs.entry.js +2 -2
  35. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  36. package/dist/cjs/tds-modal.cjs.entry.js +19 -7
  37. package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
  38. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -4
  39. package/dist/cjs/tds-popover-canvas.cjs.entry.js +2 -2
  40. package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
  41. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +2 -2
  42. package/dist/cjs/tds-popover-menu.cjs.entry.js +2 -2
  43. package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
  44. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  45. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -4
  46. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +2 -2
  47. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -2
  48. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +3 -3
  49. package/dist/cjs/tds-side-menu-item.cjs.entry.js +2 -2
  50. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
  51. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
  52. package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
  53. package/dist/cjs/tds-side-menu.cjs.entry.js +4 -3
  54. package/dist/cjs/tds-slider.cjs.entry.js +36 -22
  55. package/dist/cjs/tds-spinner.cjs.entry.js +2 -2
  56. package/dist/cjs/tds-step.cjs.entry.js +1 -1
  57. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +19 -1
  58. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +8 -7
  59. package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
  60. package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
  61. package/dist/cjs/tds-table-footer.cjs.entry.js +3 -3
  62. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +2 -2
  63. package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
  64. package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -2
  65. package/dist/cjs/tds-text-field.cjs.entry.js +5 -5
  66. package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
  67. package/dist/cjs/tds-toast.cjs.entry.js +3 -3
  68. package/dist/cjs/tds-toggle.cjs.entry.js +2 -2
  69. package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
  70. package/dist/cjs/tegel.cjs.js +1 -1
  71. package/dist/collection/components/accordion/accordion-item/accordion-item.js +2 -2
  72. package/dist/collection/components/button/button.css +11 -11
  73. package/dist/collection/components/datetime/datetime.css +6 -3
  74. package/dist/collection/components/datetime/datetime.js +29 -7
  75. package/dist/collection/components/divider/divider.js +1 -1
  76. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
  77. package/dist/collection/components/dropdown/dropdown.js +62 -14
  78. package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
  79. package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
  80. package/dist/collection/components/footer/footer.js +2 -2
  81. package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
  82. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
  83. package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
  84. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
  85. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
  86. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
  87. package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
  88. package/dist/collection/components/header/header-item/header-item.js +2 -2
  89. package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
  90. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
  91. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
  92. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
  93. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
  94. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
  95. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
  96. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  97. package/dist/collection/components/header/header-title/header-title.js +1 -1
  98. package/dist/collection/components/header/header.js +1 -1
  99. package/dist/collection/components/icon/icon.js +19 -3
  100. package/dist/{components/p-9b40a24d.js → collection/components/icon/scaniaIconsArray.js} +246 -66
  101. package/dist/collection/components/icon/tratonIconsArray.js +32 -0
  102. package/dist/collection/components/link/link.js +2 -2
  103. package/dist/collection/components/message/message.js +3 -3
  104. package/dist/collection/components/modal/modal.js +19 -7
  105. package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
  106. package/dist/collection/components/popover-core/popover-core.js +1 -1
  107. package/dist/collection/components/popover-core/tds-popover-core.css +573 -12
  108. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
  109. package/dist/collection/components/popover-menu/popover-menu.js +2 -2
  110. package/dist/collection/components/radio-button/radio-button.js +1 -1
  111. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  112. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
  113. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
  114. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
  115. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
  116. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
  117. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
  118. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
  119. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
  120. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
  121. package/dist/collection/components/side-menu/side-menu.js +4 -3
  122. package/dist/collection/components/slider/slider.js +36 -22
  123. package/dist/collection/components/spinner/spinner.css +1 -0
  124. package/dist/collection/components/spinner/spinner.js +1 -1
  125. package/dist/collection/components/stepper/step/step.js +1 -1
  126. package/dist/collection/components/table/table-body/table-body.js +2 -2
  127. package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
  128. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +19 -1
  129. package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
  130. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +26 -7
  131. package/dist/collection/components/table/table-footer/table-footer.js +3 -3
  132. package/dist/collection/components/table/table-header/table-header.js +2 -2
  133. package/dist/collection/components/table/table-header-cell/table-header-cell.js +29 -3
  134. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +2 -2
  135. package/dist/collection/components/table/table-toolbar/table-toolbar.js +24 -2
  136. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
  137. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
  138. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
  139. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
  140. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
  141. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
  142. package/dist/collection/components/text-field/text-field.js +5 -5
  143. package/dist/collection/components/textarea/textarea.js +3 -3
  144. package/dist/collection/components/toast/toast.js +3 -3
  145. package/dist/collection/components/toggle/toggle.js +2 -2
  146. package/dist/collection/components/tooltip/tooltip.js +2 -2
  147. package/dist/collection/types/ScaniaIcons.js +1 -0
  148. package/dist/collection/types/TratonIcons.js +1 -0
  149. package/dist/components/{p-ce28efb8.js → p-0f58e26f.js} +63 -15
  150. package/dist/components/p-405c5512.js +2098 -0
  151. package/dist/components/{p-8a483a61.js → p-6732b15a.js} +2 -2
  152. package/dist/components/{p-7dbc1182.js → p-6cdccb27.js} +3 -3
  153. package/dist/components/{p-9ba3c16e.js → p-7ee8b262.js} +2 -2
  154. package/dist/components/{p-74971a3e.js → p-84a20410.js} +2 -2
  155. package/dist/components/{p-da0800c1.js → p-877931c5.js} +1 -1
  156. package/dist/components/{p-3f2187a4.js → p-927cf777.js} +1 -1
  157. package/dist/components/{p-e1622f4a.js → p-9ad61cb5.js} +1 -1
  158. package/dist/components/{p-bff614d5.js → p-b609e7a7.js} +1 -1
  159. package/dist/components/{p-cb52e59b.js → p-c54d2efe.js} +3 -3
  160. package/dist/components/p-c715ab56.js +85 -0
  161. package/dist/components/{p-9336db16.js → p-d0cf68be.js} +1 -1
  162. package/dist/components/{p-76c8d381.js → p-e7d40d15.js} +3 -3
  163. package/dist/components/{p-f4c6f29b.js → p-ece91cb9.js} +4 -4
  164. package/dist/components/tds-accordion-item.js +3 -3
  165. package/dist/components/tds-banner.js +1 -1
  166. package/dist/components/tds-body-cell.js +2 -2
  167. package/dist/components/tds-button.js +1 -1
  168. package/dist/components/tds-card.js +1 -1
  169. package/dist/components/tds-core-header-item.js +1 -1
  170. package/dist/components/tds-datetime.js +12 -7
  171. package/dist/components/tds-divider.js +1 -1
  172. package/dist/components/tds-dropdown-option.js +1 -1
  173. package/dist/components/tds-dropdown.js +1 -1
  174. package/dist/components/tds-folder-tab.js +2 -2
  175. package/dist/components/tds-folder-tabs.js +3 -3
  176. package/dist/components/tds-footer-group.js +4 -4
  177. package/dist/components/tds-footer-item.js +1 -1
  178. package/dist/components/tds-footer.js +2 -2
  179. package/dist/components/tds-header-brand-symbol.js +3 -3
  180. package/dist/components/tds-header-cell.js +13 -4
  181. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  182. package/dist/components/tds-header-dropdown-list-user.js +1 -1
  183. package/dist/components/tds-header-dropdown-list.js +1 -1
  184. package/dist/components/tds-header-dropdown.js +8 -8
  185. package/dist/components/tds-header-hamburger.js +4 -4
  186. package/dist/components/tds-header-item.js +1 -1
  187. package/dist/components/tds-header-launcher-button.js +1 -1
  188. package/dist/components/tds-header-launcher-grid-item.js +1 -1
  189. package/dist/components/tds-header-launcher-grid-title.js +1 -1
  190. package/dist/components/tds-header-launcher-grid.js +1 -1
  191. package/dist/components/tds-header-launcher-list-item.js +2 -2
  192. package/dist/components/tds-header-launcher-list-title.js +1 -1
  193. package/dist/components/tds-header-launcher-list.js +2 -2
  194. package/dist/components/tds-header-launcher.js +8 -8
  195. package/dist/components/tds-header-title.js +1 -1
  196. package/dist/components/tds-header.js +1 -1
  197. package/dist/components/tds-icon.js +1 -1
  198. package/dist/components/tds-inline-tab.js +2 -2
  199. package/dist/components/tds-inline-tabs.js +3 -3
  200. package/dist/components/tds-link.js +2 -2
  201. package/dist/components/tds-message.js +4 -4
  202. package/dist/components/tds-modal.js +20 -8
  203. package/dist/components/tds-navigation-tab.js +2 -2
  204. package/dist/components/tds-navigation-tabs.js +5 -5
  205. package/dist/components/tds-popover-canvas.js +1 -1
  206. package/dist/components/tds-popover-core.js +1 -1
  207. package/dist/components/tds-popover-menu-item.js +2 -2
  208. package/dist/components/tds-popover-menu.js +3 -3
  209. package/dist/components/tds-radio-button.js +1 -1
  210. package/dist/components/tds-side-menu-close-button.js +2 -2
  211. package/dist/components/tds-side-menu-collapse-button.js +5 -5
  212. package/dist/components/tds-side-menu-dropdown-list-item.js +2 -2
  213. package/dist/components/tds-side-menu-dropdown-list.js +2 -2
  214. package/dist/components/tds-side-menu-dropdown.js +5 -5
  215. package/dist/components/tds-side-menu-item.js +1 -1
  216. package/dist/components/tds-side-menu-overlay.js +1 -1
  217. package/dist/components/tds-side-menu-user-image.js +1 -1
  218. package/dist/components/tds-side-menu-user-label.js +1 -1
  219. package/dist/components/tds-side-menu-user.js +3 -3
  220. package/dist/components/tds-side-menu.js +4 -3
  221. package/dist/components/tds-slider.js +37 -23
  222. package/dist/components/tds-spinner.js +2 -2
  223. package/dist/components/tds-step.js +2 -2
  224. package/dist/components/tds-table-body-input-wrapper.js +20 -2
  225. package/dist/components/tds-table-body-row-expandable.js +9 -7
  226. package/dist/components/tds-table-body-row.js +2 -2
  227. package/dist/components/tds-table-body.js +2 -2
  228. package/dist/components/tds-table-footer.js +6 -6
  229. package/dist/components/tds-table-header-input-wrapper.js +3 -3
  230. package/dist/components/tds-table-header.js +2 -2
  231. package/dist/components/tds-table-toolbar.js +8 -3
  232. package/dist/components/tds-text-field.js +6 -6
  233. package/dist/components/tds-textarea.js +6 -6
  234. package/dist/components/tds-toast.js +4 -4
  235. package/dist/components/tds-toggle.js +2 -2
  236. package/dist/components/tds-tooltip.js +1 -1
  237. package/dist/esm/loader.js +1 -1
  238. package/dist/esm/tds-accordion-item.entry.js +2 -2
  239. package/dist/esm/tds-body-cell.entry.js +2 -2
  240. package/dist/esm/tds-button.entry.js +1 -1
  241. package/dist/esm/tds-core-header-item_2.entry.js +3 -3
  242. package/dist/esm/tds-datetime.entry.js +9 -5
  243. package/dist/esm/tds-divider.entry.js +1 -1
  244. package/dist/esm/tds-dropdown_2.entry.js +63 -15
  245. package/dist/esm/tds-folder-tab.entry.js +2 -2
  246. package/dist/esm/tds-folder-tabs.entry.js +2 -2
  247. package/dist/esm/tds-footer-group.entry.js +3 -3
  248. package/dist/esm/tds-footer-item.entry.js +1 -1
  249. package/dist/esm/tds-footer.entry.js +2 -2
  250. package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
  251. package/dist/esm/tds-header-cell.entry.js +11 -3
  252. package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
  253. package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
  254. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  255. package/dist/esm/tds-header-dropdown.entry.js +3 -3
  256. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  257. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  258. package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
  259. package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
  260. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  261. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  262. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  263. package/dist/esm/tds-header-launcher-list.entry.js +1 -1
  264. package/dist/esm/tds-header-launcher.entry.js +2 -2
  265. package/dist/esm/tds-header-title.entry.js +1 -1
  266. package/dist/esm/tds-header.entry.js +1 -1
  267. package/dist/esm/tds-icon.entry.js +22 -4
  268. package/dist/esm/tds-inline-tab.entry.js +2 -2
  269. package/dist/esm/tds-inline-tabs.entry.js +2 -2
  270. package/dist/esm/tds-link.entry.js +2 -2
  271. package/dist/esm/tds-message.entry.js +3 -3
  272. package/dist/esm/tds-modal.entry.js +19 -7
  273. package/dist/esm/tds-navigation-tab.entry.js +2 -2
  274. package/dist/esm/tds-navigation-tabs.entry.js +4 -4
  275. package/dist/esm/tds-popover-canvas.entry.js +2 -2
  276. package/dist/esm/tds-popover-core.entry.js +2 -2
  277. package/dist/esm/tds-popover-menu-item.entry.js +2 -2
  278. package/dist/esm/tds-popover-menu.entry.js +2 -2
  279. package/dist/esm/tds-radio-button.entry.js +1 -1
  280. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  281. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -4
  282. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +2 -2
  283. package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
  284. package/dist/esm/tds-side-menu-dropdown.entry.js +3 -3
  285. package/dist/esm/tds-side-menu-item.entry.js +2 -2
  286. package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
  287. package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
  288. package/dist/esm/tds-side-menu-user.entry.js +1 -1
  289. package/dist/esm/tds-side-menu.entry.js +4 -3
  290. package/dist/esm/tds-slider.entry.js +36 -22
  291. package/dist/esm/tds-spinner.entry.js +2 -2
  292. package/dist/esm/tds-step.entry.js +1 -1
  293. package/dist/esm/tds-table-body-input-wrapper.entry.js +19 -1
  294. package/dist/esm/tds-table-body-row-expandable.entry.js +8 -7
  295. package/dist/esm/tds-table-body-row.entry.js +2 -2
  296. package/dist/esm/tds-table-body.entry.js +2 -2
  297. package/dist/esm/tds-table-footer.entry.js +3 -3
  298. package/dist/esm/tds-table-header-input-wrapper.entry.js +2 -2
  299. package/dist/esm/tds-table-header.entry.js +2 -2
  300. package/dist/esm/tds-table-toolbar.entry.js +6 -2
  301. package/dist/esm/tds-text-field.entry.js +5 -5
  302. package/dist/esm/tds-textarea.entry.js +3 -3
  303. package/dist/esm/tds-toast.entry.js +3 -3
  304. package/dist/esm/tds-toggle.entry.js +2 -2
  305. package/dist/esm/tds-tooltip.entry.js +2 -2
  306. package/dist/esm/tegel.js +1 -1
  307. package/dist/tegel/{p-6c8b40f7.entry.js → p-051c9000.entry.js} +1 -1
  308. package/dist/tegel/{p-2deba066.entry.js → p-06d3490c.entry.js} +1 -1
  309. package/dist/tegel/{p-4cafd755.entry.js → p-0ca95c76.entry.js} +1 -1
  310. package/dist/tegel/p-0cfe8671.entry.js +1 -0
  311. package/dist/tegel/{p-27e64ae1.entry.js → p-1116da44.entry.js} +1 -1
  312. package/dist/tegel/{p-003184ea.entry.js → p-1336fb6c.entry.js} +1 -1
  313. package/dist/tegel/{p-646d1df4.entry.js → p-1bbef1a5.entry.js} +1 -1
  314. package/dist/tegel/{p-54ac3ec2.entry.js → p-2286d4c3.entry.js} +1 -1
  315. package/dist/tegel/p-22b6223e.entry.js +1 -0
  316. package/dist/tegel/p-23ea1922.entry.js +1 -0
  317. package/dist/tegel/p-26e8f033.entry.js +1 -0
  318. package/dist/tegel/{p-27777c26.entry.js → p-2774f177.entry.js} +1 -1
  319. package/dist/tegel/p-27c2f109.entry.js +1 -0
  320. package/dist/tegel/{p-7486e9f9.entry.js → p-29170339.entry.js} +1 -1
  321. package/dist/tegel/{p-97e88e6e.entry.js → p-2c56421f.entry.js} +1 -1
  322. package/dist/tegel/{p-e5e9bd0c.entry.js → p-2e1d2b49.entry.js} +1 -1
  323. package/dist/tegel/p-30c88c69.entry.js +1 -0
  324. package/dist/tegel/{p-4e8e7bcd.entry.js → p-3c51a017.entry.js} +1 -1
  325. package/dist/tegel/p-3ec01fb3.entry.js +1 -0
  326. package/dist/tegel/p-462a6049.entry.js +1 -0
  327. package/dist/tegel/p-46c9af0f.entry.js +1 -0
  328. package/dist/tegel/{p-4241afd6.entry.js → p-4bd0d41c.entry.js} +1 -1
  329. package/dist/tegel/p-503cea9d.entry.js +1 -0
  330. package/dist/tegel/p-5ade1970.entry.js +1 -0
  331. package/dist/tegel/{p-0e5c6384.entry.js → p-5bb01a99.entry.js} +1 -1
  332. package/dist/tegel/p-5bca9fe7.entry.js +1 -0
  333. package/dist/tegel/p-601a74ad.entry.js +1 -0
  334. package/dist/tegel/p-614cc097.entry.js +1 -0
  335. package/dist/tegel/{p-dfe4bb23.entry.js → p-6631ea34.entry.js} +1 -1
  336. package/dist/tegel/p-69a6a39d.entry.js +1 -0
  337. package/dist/tegel/p-6cdbdb4e.entry.js +1 -0
  338. package/dist/tegel/p-6eed8c31.entry.js +1 -0
  339. package/dist/tegel/p-760ab1ad.entry.js +1 -0
  340. package/dist/tegel/p-7caad569.entry.js +1 -0
  341. package/dist/tegel/{p-c0cbc9f5.entry.js → p-7cb9790d.entry.js} +1 -1
  342. package/dist/tegel/p-7d427dff.entry.js +1 -0
  343. package/dist/tegel/{p-2446dfb6.entry.js → p-87ba6285.entry.js} +1 -1
  344. package/dist/tegel/{p-c23a3f12.entry.js → p-9099d978.entry.js} +1 -1
  345. package/dist/tegel/p-90a97cc2.entry.js +1 -0
  346. package/dist/tegel/{p-319e992d.entry.js → p-98106799.entry.js} +1 -1
  347. package/dist/tegel/p-9899e52e.entry.js +1 -0
  348. package/dist/tegel/{p-87929060.entry.js → p-9d8bb017.entry.js} +1 -1
  349. package/dist/tegel/{p-33f1f60e.entry.js → p-a1262f8f.entry.js} +1 -1
  350. package/dist/tegel/{p-7ef50e7f.entry.js → p-a66a4a4e.entry.js} +1 -1
  351. package/dist/tegel/{p-354d3986.entry.js → p-a829417c.entry.js} +1 -1
  352. package/dist/tegel/{p-0c421cde.entry.js → p-a9253c3a.entry.js} +1 -1
  353. package/dist/tegel/{p-1286da6a.entry.js → p-ab103d0c.entry.js} +1 -1
  354. package/dist/tegel/{p-286f470e.entry.js → p-abad3489.entry.js} +1 -1
  355. package/dist/tegel/p-acdd29b8.entry.js +1 -0
  356. package/dist/tegel/{p-08ad6a21.entry.js → p-aec3e4cf.entry.js} +1 -1
  357. package/dist/tegel/p-b152840e.entry.js +1 -0
  358. package/dist/tegel/p-b7848493.entry.js +1 -0
  359. package/dist/tegel/p-b9603974.entry.js +1 -0
  360. package/dist/tegel/{p-e88b2128.entry.js → p-b994e7ac.entry.js} +1 -1
  361. package/dist/tegel/{p-58b928e5.entry.js → p-bbeb4e1b.entry.js} +1 -1
  362. package/dist/tegel/{p-2faeb483.entry.js → p-bcdf13e0.entry.js} +1 -1
  363. package/dist/tegel/{p-9f187848.entry.js → p-bd935506.entry.js} +1 -1
  364. package/dist/tegel/p-c3d91dfa.entry.js +1 -0
  365. package/dist/tegel/{p-918a3c1a.entry.js → p-d14500a1.entry.js} +1 -1
  366. package/dist/tegel/{p-7f2228be.entry.js → p-d29a777f.entry.js} +1 -1
  367. package/dist/tegel/{p-6b675e89.entry.js → p-d4891ce6.entry.js} +1 -1
  368. package/dist/tegel/p-d56f426f.entry.js +1 -0
  369. package/dist/tegel/{p-8a4837ae.entry.js → p-debd6adc.entry.js} +1 -1
  370. package/dist/tegel/p-e7a452a8.entry.js +1 -0
  371. package/dist/tegel/{p-a10b3a4a.entry.js → p-f4b5e80b.entry.js} +1 -1
  372. package/dist/tegel/p-f71c3fca.entry.js +1 -0
  373. package/dist/tegel/p-fbffe3aa.entry.js +1 -0
  374. package/dist/tegel/{p-faa512fd.entry.js → p-fc0ceca7.entry.js} +1 -1
  375. package/dist/tegel/tegel.css +4 -2
  376. package/dist/tegel/tegel.esm.js +1 -1
  377. package/dist/types/components/datetime/datetime.d.ts +3 -1
  378. package/dist/types/components/dropdown/dropdown.d.ts +1 -0
  379. package/dist/types/components/icon/icon.d.ts +3 -1
  380. package/dist/types/components/slider/slider.d.ts +1 -0
  381. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -0
  382. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +2 -0
  383. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +3 -0
  384. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +2 -0
  385. package/dist/types/components.d.ts +34 -2
  386. package/dist/types/types/Icons.d.ts +3 -1
  387. package/dist/types/types/ScaniaIcons.d.ts +1 -0
  388. package/dist/types/types/TratonIcons.d.ts +1 -0
  389. package/package.json +6 -1
  390. package/dist/components/p-b0ca50a3.js +0 -2098
  391. package/dist/tegel/p-05da560e.entry.js +0 -1
  392. package/dist/tegel/p-0bd4fd5c.entry.js +0 -1
  393. package/dist/tegel/p-0e37277e.entry.js +0 -1
  394. package/dist/tegel/p-0fd8e378.entry.js +0 -1
  395. package/dist/tegel/p-1cda8fe6.entry.js +0 -1
  396. package/dist/tegel/p-2551fd5b.entry.js +0 -1
  397. package/dist/tegel/p-2fbf2fdb.entry.js +0 -1
  398. package/dist/tegel/p-304f5a5c.entry.js +0 -1
  399. package/dist/tegel/p-37e979b3.entry.js +0 -1
  400. package/dist/tegel/p-3c348fcb.entry.js +0 -1
  401. package/dist/tegel/p-4de2807c.entry.js +0 -1
  402. package/dist/tegel/p-5c8fd75e.entry.js +0 -1
  403. package/dist/tegel/p-63d2c1fe.entry.js +0 -1
  404. package/dist/tegel/p-66786ba0.entry.js +0 -1
  405. package/dist/tegel/p-8afeb375.entry.js +0 -1
  406. package/dist/tegel/p-8e9c6ef4.entry.js +0 -1
  407. package/dist/tegel/p-8f1aead7.entry.js +0 -1
  408. package/dist/tegel/p-981e6232.entry.js +0 -1
  409. package/dist/tegel/p-9858b0fe.entry.js +0 -1
  410. package/dist/tegel/p-9ef67795.entry.js +0 -1
  411. package/dist/tegel/p-a56ad3d8.entry.js +0 -1
  412. package/dist/tegel/p-ab00e6e4.entry.js +0 -1
  413. package/dist/tegel/p-b210d23c.entry.js +0 -1
  414. package/dist/tegel/p-ba51ab15.entry.js +0 -1
  415. package/dist/tegel/p-c163d44f.entry.js +0 -1
  416. package/dist/tegel/p-c1b7d773.entry.js +0 -1
  417. package/dist/tegel/p-ca32a270.entry.js +0 -1
  418. package/dist/tegel/p-ccbafacd.entry.js +0 -1
  419. package/dist/tegel/p-d38039b3.entry.js +0 -1
  420. package/dist/tegel/p-d515fcdb.entry.js +0 -1
  421. package/dist/tegel/p-eff1d877.entry.js +0 -1
@@ -31,7 +31,7 @@ export class TdsTableHeaderCell {
31
31
  };
32
32
  this.headerCellContent = () => {
33
33
  if (this.sortable) {
34
- return (h("button", { class: "tds-table__header-button", onClick: () => this.sortButtonClick(), style: { justifyContent: this.textAlignState } }, h("span", { class: "tds-table__header-button-text" }, this.cellValue, h("slot", null)), this.sortingDirection === undefined && (h("tds-icon", { class: "tds-table__header-button-icon", name: "sorting", size: "16px" })), this.sortingDirection && ['asc', 'desc'].includes(this.sortingDirection) && (h("tds-icon", { class: `tds-table__header-button-icon ${this.sortingDirection === 'asc' ? 'tds-table__header-button-icon--rotate' : ''}`, name: "arrow_down", size: "16px" }))));
34
+ return (h("button", { class: "tds-table__header-button", onClick: () => this.sortButtonClick(), style: { justifyContent: this.textAlignState }, "aria-label": this.tdsAriaLabelSortButton }, h("span", { class: "tds-table__header-button-text" }, this.cellValue, h("slot", null)), this.sortingDirection === undefined && (h("tds-icon", { svgTitle: "sorting", class: "tds-table__header-button-icon", name: "sorting", size: "16px" })), this.sortingDirection && ['asc', 'desc'].includes(this.sortingDirection) && (h("tds-icon", { svgTitle: "arrow down", class: `tds-table__header-button-icon ${this.sortingDirection === 'asc' ? 'tds-table__header-button-icon--rotate' : ''}`, name: "arrow_down", size: "16px" }))));
35
35
  }
36
36
  return (h("p", { class: {
37
37
  'tds-table__header-text': true,
@@ -50,6 +50,7 @@ export class TdsTableHeaderCell {
50
50
  this.sortable = false;
51
51
  this.textAlign = 'left';
52
52
  this.disablePadding = false;
53
+ this.tdsAriaLabelSortButton = '';
53
54
  this.textAlignState = undefined;
54
55
  this.sortingDirection = undefined;
55
56
  this.sortedByMyKey = false;
@@ -104,8 +105,15 @@ export class TdsTableHeaderCell {
104
105
  this.enableToolbarDesign =
105
106
  this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
106
107
  }
108
+ getAriaSort() {
109
+ if (this.sortingDirection === 'asc')
110
+ return 'ascending';
111
+ if (this.sortingDirection === 'desc')
112
+ return 'descending';
113
+ return 'none';
114
+ }
107
115
  render() {
108
- return (h(Host, { key: '072b8e55e1519151d7a178f905c5cf5bb353c5bf', class: {
116
+ return (h(Host, { key: 'c832982801653ad4ed4be858fa88f6d3d3de02ef', class: {
109
117
  'tds-table__header-cell': true,
110
118
  'tds-table__header-cell--sortable': this.sortable,
111
119
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -116,7 +124,7 @@ export class TdsTableHeaderCell {
116
124
  'tds-table--extra-column': this.multiselect || this.expandableRows,
117
125
  'tds-table--toolbar-available': this.enableToolbarDesign,
118
126
  'tds-table--no-padding': this.disablePadding,
119
- }, style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover('') }, this.headerCellContent()));
127
+ }, style: { minWidth: this.customWidth }, onMouseOver: () => this.onHeadCellHover(this.cellKey), onMouseLeave: () => this.onHeadCellHover(''), role: "columnheader", "aria-sort": this.getAriaSort() }, this.headerCellContent()));
120
128
  }
121
129
  static get is() { return "tds-header-cell"; }
122
130
  static get encapsulation() { return "shadow"; }
@@ -236,6 +244,24 @@ export class TdsTableHeaderCell {
236
244
  "attribute": "disable-padding",
237
245
  "reflect": true,
238
246
  "defaultValue": "false"
247
+ },
248
+ "tdsAriaLabelSortButton": {
249
+ "type": "string",
250
+ "mutable": false,
251
+ "complexType": {
252
+ "original": "string",
253
+ "resolved": "string",
254
+ "references": {}
255
+ },
256
+ "required": false,
257
+ "optional": true,
258
+ "docs": {
259
+ "tags": [],
260
+ "text": "Aria label for the sort button, providing an accessible description"
261
+ },
262
+ "attribute": "tds-aria-label-sort-button",
263
+ "reflect": true,
264
+ "defaultValue": "''"
239
265
  }
240
266
  };
241
267
  }
@@ -63,11 +63,11 @@ export class TdsTableHeaderInputWrapper {
63
63
  }
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: '62070c88b54c313b2db10890023db32f0eaf66b5', class: {
66
+ return (h(Host, { key: 'e92640dc4c88b52574960d7234b377d7e5eaaa8e', class: {
67
67
  'focused-input-wrapper': this.inputFocused,
68
68
  'show-icon': this.showIcon,
69
69
  'tds-table__compact': this.compactDesign,
70
- } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
70
+ } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { svgTitle: "search", class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
71
71
  }
72
72
  static get is() { return "tds-table-header-input-wrapper"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -12,6 +12,7 @@ export class TdsTableToolbar {
12
12
  constructor() {
13
13
  this.tableTitle = '';
14
14
  this.filter = false;
15
+ this.tdsSearchAriaLabel = '';
15
16
  this.verticalDividers = false;
16
17
  this.compactDesign = false;
17
18
  this.noMinWidth = false;
@@ -34,6 +35,9 @@ export class TdsTableToolbar {
34
35
  connectedCallback() {
35
36
  this.tableEl = this.host.closest('tds-table');
36
37
  this.tableId = this.tableEl.tableId;
38
+ if (!this.tdsSearchAriaLabel) {
39
+ console.warn('tds-table-toolbar: tdsSearchAriaLabel is highly recommended for accessibility');
40
+ }
37
41
  }
38
42
  componentWillLoad() {
39
43
  relevantTableProps.forEach((tablePropName) => {
@@ -63,10 +67,10 @@ export class TdsTableToolbar {
63
67
  return styles;
64
68
  }
65
69
  render() {
66
- return (h(Host, { key: '53f2438014682bd1b23cdeb222723b4f09fcf48b', class: {
70
+ return (h(Host, { key: '7ff5d6032f2ada9a95d5fa33286ad31940163dfc', class: {
67
71
  'tds-table--compact': this.compactDesign,
68
72
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
69
- }, style: this.getStyles() }, h("div", { key: 'e5912f152a528a0c9bf5a7582b10e2ca0458da9f', class: "tds-table__upper-bar-flex" }, h("caption", { key: '382bf6a6e35d78e329af0b6672b70c8875eaa184', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'f3a4fc316840e0bd1f083540a30831b77acf0c59', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '20ab41120800efe3194818c8e6a8039db012900b', class: "tds-table__searchbar" }, h("input", { key: 'd07cc3caa8f06b92fa7e80eabdaa565042d06ba5', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: '6b8cb5f2d9500a0a104d0656c085745ec6194bf0', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '926eeae91dfa03475fb16470e5780dc592f05680', name: "search", size: "20px" })))), h("slot", { key: '2694b404429fc75ad0793f01b604197c4faa4f7e', name: "end" })))));
73
+ }, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '9975a508256b56731dd51f7687a16dff7994cf2a', class: "tds-table__upper-bar-flex" }, h("caption", { key: '997271d59b13fe9f88086e8bc5334d6412887fe8', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle), h("div", { key: '6da0901c59e6e053cadfb540ded0e738e492f8ed', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'dfb2a778e959c5b26d42be07378b52c09c9f95d3', class: "tds-table__searchbar" }, h("input", { key: '13918cd96afb703cf71a0aeeb1dd3014a4cba665', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: 'a95553216a9a0c94fbd08c43ef44c95389a82f7e', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '6a9396e3f6f8508acb802e92b320b5c8f2cda517', name: "search", size: "20px" })))), h("slot", { key: '7cf66ff8283724f421e6bdc018cee62f4cd480b1', name: "end" })))));
70
74
  }
71
75
  static get is() { return "tds-table-toolbar"; }
72
76
  static get encapsulation() { return "shadow"; }
@@ -117,6 +121,24 @@ export class TdsTableToolbar {
117
121
  "attribute": "filter",
118
122
  "reflect": true,
119
123
  "defaultValue": "false"
124
+ },
125
+ "tdsSearchAriaLabel": {
126
+ "type": "string",
127
+ "mutable": false,
128
+ "complexType": {
129
+ "original": "string",
130
+ "resolved": "string",
131
+ "references": {}
132
+ },
133
+ "required": false,
134
+ "optional": false,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": "Aria label for the search input, providing an accessible description"
138
+ },
139
+ "attribute": "tds-search-aria-label",
140
+ "reflect": false,
141
+ "defaultValue": "''"
120
142
  }
121
143
  };
122
144
  }
@@ -35,10 +35,10 @@ export class TdsFolderTab {
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '8333653e86ef3caee44209a82dc0c2a1f1712ab7', "aria-selected": this.selected }, h("div", { key: '1663d7239688a10db05987819b4a4bc086173945', class: {
38
+ return (h(Host, { key: '3e036096f61107d381945ce7b9a4478668666d20', "aria-selected": this.selected }, h("div", { key: 'a99712b0487ea9102b4cd0afd3c079a0f52b7ce9', class: {
39
39
  selected: this.selected,
40
40
  disabled: this.disabled,
41
- }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '735ddc8e33370ebd246a235f8211911d0293fcc1' }))));
41
+ }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: 'eddb270a4d93a3fe824531bd86b769246545262e' }))));
42
42
  }
43
43
  static get is() { return "tds-folder-tab"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -162,9 +162,9 @@ export class TdsFolderTabs {
162
162
  this.removeEventListenerFromTabs();
163
163
  }
164
164
  render() {
165
- return (h(Host, { key: '903822cecef549d104fe825f3b022e840ed235c6', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '86490800caf5cac30845b3b39952cf89e05fa121', class: "wrapper", ref: (el) => {
165
+ return (h(Host, { key: '382b6b5286588f36ff98f20c1a6a76cc5f59aac0', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'd3118c3bb9e31de96eaabc91c78d125856c665d5', class: "wrapper", ref: (el) => {
166
166
  this.navWrapperElement = el;
167
- } }, h("button", { key: '35646398aed34628fca2c90e32dca1022ccd9756', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'c1110710a4d1e642a796261daeddd176c5ff0a25', name: "chevron_left", size: "20px" })), h("slot", { key: 'c70b90ff38c25f898025bf8dae890fc6458242c3', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'cdeb537cf2f861a29efafd1927e9f532c53923cc', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'b7c8b9bbe9005c6d5cf8f3b1bf910efcb60bf51c', name: "chevron_right", size: "20px" })))));
167
+ } }, h("button", { key: '26f0d1733a766f96de00328e041e06ecab13c1dc', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '1e62e87833204ccfe40ffc52f29567dc75f3f9e0', name: "chevron_left", size: "20px" })), h("slot", { key: '7c33f235eed736380307d496d62da55223d7f90b', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'b2d3faaa0bc01f1385cf44e80e29f5445e928381', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'c04434dd18f0ae0c2b2e43b5dfd4ab4a5c317a25', name: "chevron_right", size: "20px" })))));
168
168
  }
169
169
  static get is() { return "tds-folder-tabs"; }
170
170
  static get encapsulation() { return "shadow"; }
@@ -30,11 +30,11 @@ export class TdsInlineTab {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '5afb8ea09666230ca5ac15a12873925c715b5d69', "aria-selected": this.selected }, h("div", { key: '46eaf3e44e529543120237da361282b4062a56c6', class: {
33
+ return (h(Host, { key: 'fb0af4b885f31d9afa67f76bf3cf122f59876079', "aria-selected": this.selected }, h("div", { key: '624b7370a054f490575a9a2491eaa9277f4a77ba', class: {
34
34
  'inline-tab-item': true,
35
35
  'selected': this.selected,
36
36
  'disabled': this.disabled,
37
- } }, h("slot", { key: '7bd7e6871aa776a07aebc703a3f1fa9c1bf169b6' }))));
37
+ } }, h("slot", { key: '0eadedfe560fe93faebf07a8f1a546ae022676d9' }))));
38
38
  }
39
39
  static get is() { return "tds-inline-tab"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -169,9 +169,9 @@ export class TdsInlineTabs {
169
169
  this.removeEventListenerFromTabs();
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: '0ebd82f8133fa74341e13640f31a077588b628ce', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '0b5a6d3b12a7e16746c309d79fa75054b4226270', class: "wrapper", ref: (el) => {
172
+ return (h(Host, { key: 'ccd58f7b7b6bb4423fa45a6d6177386f5561e32a', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '0369ce03c5cb29f24762b6b5bb3ba932f82a0869', class: "wrapper", ref: (el) => {
173
173
  this.navWrapperElement = el;
174
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'd14195b0f9f1f9bbb2cb79787bf74ce86da3e4a4', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'f862dfcdf53b04ceff036f0b406bd0af488adfa8', name: "chevron_left", size: "20px" })), h("slot", { key: '02054d05dcbdae34cddad74194dc41331f755df9', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'e950ef97d3b59121ffeb128276648f8ca8b3e60f', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'a1785c72f129daf7ddede2795ce1b5fa758cf004', name: "chevron_right", size: "20px" })))));
174
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f8cf277e9bb870d3b7d53bc3eff73806b61f0828', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'f72664b9b0f19b9a0c4ded16bd1be4b66594406a', name: "chevron_left", size: "20px" })), h("slot", { key: '1e2bc784f1148361bf04b34cbbdb62f3d3aad8af', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'b9d0e45c7d46a399081d561e496c5d1cc81132b0', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '55bbe28b1524a0ac6a808b1fb41225263977005f', name: "chevron_right", size: "20px" })))));
175
175
  }
176
176
  static get is() { return "tds-inline-tabs"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '01d6c9a6d072a25603fb275f4217358d26c7ef3a' }, h("div", { key: 'a345c96e11757005920cff65cdeb950df5bf2e0d', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
34
- ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'bbeef04e703360625c7b7158bffd1f17a5742be5' }))));
33
+ return (h(Host, { key: '089ff23cbaa8ec219eb3771964a6843015b47378' }, h("div", { key: 'c75620addf322521de678bf4012c5c1dfdeb9464', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
34
+ ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'f3bb65a7f8aad7adfc0ccb5d4bbc1c98c368978b' }))));
35
35
  }
36
36
  static get is() { return "tds-navigation-tab"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -169,15 +169,15 @@ export class TdsNavigationTabs {
169
169
  this.removeEventListenerFromTabs();
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: '16fdf2aff26da72316d2c5b82f1b16c41c63e259', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '4b0bd3931f0fbfc5a9d90291aadf903a43261f98', class: "wrapper", ref: (el) => {
172
+ return (h(Host, { key: '26d9458d689f9304aa6fb6a5b07f05079c715152', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '8b8568c45abe2952607764df75682a10864bf35e', class: "wrapper", ref: (el) => {
173
173
  this.navWrapperElement = el;
174
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '3fcc90ed48c8b7ef0805f93e143214056c03122e', "aria-label": this.tdsScrollLeftAriaLabel, class: {
174
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '369338833a13937105bf4ebaf50a22b9cb5d618f', "aria-label": this.tdsScrollLeftAriaLabel, class: {
175
175
  'scroll-left-button': true,
176
176
  'show': this.showLeftScroll,
177
- }, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'ba7ae61254e781e0877530652b33ca0e87e482d3', name: "chevron_left", size: "20px" })), h("slot", { key: 'dc76c269ea68615020bbc1c55f1085b6a927fc6c', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'd52c3c76b5e597eaae55503c1a88d27efec99b66', "aria-label": this.tdsScrollRightAriaLabel, class: {
177
+ }, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'bea7b39e109ad4453065176b0e16e0d0595ba37a', name: "chevron_left", size: "20px" })), h("slot", { key: '5b82ca06921a3566ab7c1614d6e551e4332d8112', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '50c111d8298d3715503b251d890c2a59f984c9fc', "aria-label": this.tdsScrollRightAriaLabel, class: {
178
178
  'scroll-right-button': true,
179
179
  'show': this.showRightScroll,
180
- }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'ab533d4d7a4655772ad023f32f653fd4c762085b', name: "chevron_right", size: "20px" })))));
180
+ }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '9e7ba00a1c6e155dcb8f76a175411ee9d20fb669', name: "chevron_right", size: "20px" })))));
181
181
  }
182
182
  static get is() { return "tds-navigation-tabs"; }
183
183
  static get encapsulation() { return "shadow"; }
@@ -76,7 +76,7 @@ export class TdsTextField {
76
76
  var _a;
77
77
  const usesPrefixSlot = hasSlot('prefix', this.host);
78
78
  const usesSuffixSlot = hasSlot('suffix', this.host);
79
- return (h("div", { key: '04c86fdbe70838228aa25e129adde1e92b8c3da1', class: {
79
+ return (h("div", { key: '81cbb5cca60842e284e60630307f246b50650d79', class: {
80
80
  'form-text-field': true,
81
81
  'form-text-field-nomin': this.noMinWidth,
82
82
  'text-field-focus': this.focusInput && !this.disabled,
@@ -94,12 +94,12 @@ export class TdsTextField {
94
94
  'form-text-field-sm': this.size === 'sm',
95
95
  'form-text-field-error': this.state === 'error',
96
96
  'form-text-field-success': this.state === 'success',
97
- } }, this.labelPosition === 'outside' && (h("div", { key: '89a6c50afdfc35f8329b7a1e6de9c6dc860fa2a7', class: "text-field-label-outside" }, h("label", { key: '1a26cc9423cd42e4ae64fdfe36ae28a1600217e1', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'fff9ea20453ad6708b32e5efb7fabd8272863c8d', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '5d3b6511643b28852f3ab9c1490aa1577d0c1870', class: {
97
+ } }, this.labelPosition === 'outside' && (h("div", { key: '57bc0784f18f9ed2c4fd31699832599ac73ceb32', class: "text-field-label-outside" }, h("label", { key: '8cadf1065d6556d6f9dc74b70d3c36b48db86e38', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'd191fdf981ac742c4a95fa69202607f0c73606d7', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: 'de76fcf2db999b9e21b33bf3554d22e4e7648574', class: {
98
98
  'text-field-slot-wrap-prefix': true,
99
99
  'text-field-error': this.state === 'error',
100
100
  'text-field-success': this.state === 'success',
101
101
  'text-field-default': this.state === 'default',
102
- } }, h("slot", { key: '8c6c192a137ea00d114f9721d0f6fcea366708ca', name: "prefix" }))), h("div", { key: 'e8b2650e45cba5e63e1db4e3d1d7af6662ff187b', class: "text-field-input-container" }, h("input", { key: 'd208edd0ffe3f2a78bc2df4f0dd58e13fd768453', ref: (inputEl) => {
102
+ } }, h("slot", { key: 'ab87f5a55f1a7d94bbcb624bc1c4f864c0136cf8', name: "prefix" }))), h("div", { key: '7097450497a908bef52ab5d28966267c984f433d', class: "text-field-input-container" }, h("input", { key: 'f25d3c0ce37078cf018aa80cea8d5e055656f2c1', ref: (inputEl) => {
103
103
  this.textInput = inputEl;
104
104
  }, class: {
105
105
  'text-field-input': true,
@@ -114,13 +114,13 @@ export class TdsTextField {
114
114
  if (!this.readOnly) {
115
115
  this.handleBlur(event);
116
116
  }
117
- }, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": "text-field-helper-element", "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '38b9cedc8c7a07b582c16b01a267cf4e08a20481', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '9587a4002c11b93ee715952080e4959be0393642', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: 'bb46ceb5bee96468ecbd1ec0bda36c639b045450', class: {
117
+ }, "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `text-field-helper-element-${this.uuid}`, "aria-readonly": this.readOnly, id: `text-field-input-element-${this.uuid}` }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '40a00f563ef4c62345a39d03937f0824ccef0c44', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'b41eb0927e23dff6fd12a8304f7bff5a8b743a54', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: '0d26ee8cb9838ee91574119ae0e1febb06318c9c', class: {
118
118
  'text-field-slot-wrap-suffix': true,
119
119
  'text-field-error': this.state === 'error',
120
120
  'text-field-success': this.state === 'success',
121
121
  'text-field-default': this.state === 'default',
122
122
  'tds-u-display-none': this.readOnly,
123
- } }, h("slot", { key: 'baa86fca37b71182b800095be7c4fb6db2ee4d13', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '6d3abf0a6e60463e7f6db1187229cf17e5f4b80b', class: "text-field-icon__readonly" }, h("tds-icon", { key: 'c5afca89f935a0a3f2c63039badf7b05c60b6015', name: "edit_inactive", size: "20px" }))), h("span", { key: 'd677de36f510688d3311f514aed89390c1d0a39b', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: 'f79ebd15d92174541ea7683de7cf002af996733a', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'b7708331d4c8a21d869a21f86e873da017ae2157', class: "text-field-helper" }, this.state === 'error' && (h("div", { key: '098f7e9d9b053b4bfb02a387be879d4c519c2b95', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'fa894663253fdb19d168e284284f35695deada29', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: 'dcae00985dc79db8ad6bdd65fe6160d4f5de8603', class: {
123
+ } }, h("slot", { key: '1af3d2006e55936a8afcce17ca9519b9bb9907c5', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '89b9f9b62e50006f933ab36974f8d6c6e2dab9c8', class: "text-field-icon__readonly" }, h("tds-icon", { key: '44cc31f05988149991d58d090187e444b33ec62e', name: "edit_inactive", size: "20px" }))), h("span", { key: '73f3021a39c0a880224879356866cd214ccb225e', class: "text-field-icon__readonly-label" }, "This field is non-editable")), h("div", { key: 'c70487a997117103ec68ddbdf86d0ca9701f2202', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: 'dee32001897276fe40813ef0b29077d31a331b0d', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: '31e68824fb88938e6c7fc3f9f80a84bce101a8f9', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: '63e22a80312fdd7365a8aec9a5fcd7c8104c376a', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: 'e31d5df19bbf0d8278f2f2dbc7d978d770378a89', class: {
124
124
  'text-field-textcounter-divider': true,
125
125
  'text-field-textcounter-disabled': this.disabled,
126
126
  } }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
@@ -58,7 +58,7 @@ export class TdsTextarea {
58
58
  }
59
59
  render() {
60
60
  var _a;
61
- return (h("div", { key: '09084849dd168d823b2754bcaede53797632768e', class: {
61
+ return (h("div", { key: 'b0af8053153a8752a82d1b4f9a1f3c6e347ba4e5', class: {
62
62
  'textarea-container': true,
63
63
  'textarea-label-inside': this.labelPosition === 'inside',
64
64
  'textarea-focus': this.focusInput,
@@ -68,7 +68,7 @@ export class TdsTextarea {
68
68
  'textarea-data': this.value !== '',
69
69
  [`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
70
70
  'no-min-width': this.noMinWidth,
71
- } }, this.labelPosition !== 'no-label' && (h("label", { key: 'f9877966b5ba3bd607657d36b2a7bbd3c474c16c', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: 'cba716bf15c07f17d5960bc67e8f8e3bd6bc5f22', class: "textarea-wrapper" }, h("textarea", { key: '50683f2569ee49c150969b22858a351a953b1222', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
71
+ } }, this.labelPosition !== 'no-label' && (h("label", { key: 'e7acfb3ee16ae429ae5b530c678de7178cfadb37', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '8e4a259a015dbb7d5f52eb890c0b1865c7d23c2a', class: "textarea-wrapper" }, h("textarea", { key: 'af0bf0fe69baa4c33c8d628a509ef2771d581728', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
72
72
  this.textEl = inputEl;
73
73
  }, disabled: this.disabled, readonly: !this.disabled && this.readOnly, placeholder: this.placeholder, value: this.value, name: this.name, autofocus: this.autofocus, maxlength: this.maxLength, cols: this.cols, rows: this.rows, onFocus: (event) => {
74
74
  if (!this.readOnly) {
@@ -78,7 +78,7 @@ export class TdsTextarea {
78
78
  if (!this.readOnly) {
79
79
  this.handleBlur(event);
80
80
  }
81
- }, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": this.state === 'error' ? 'true' : 'false', "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: '63845b20b05c201035152df1aa842760cec47962', class: "textarea-resizer-icon" }, h("svg", { key: 'ba16ccfcbc0252e4353018499354191f29a15fe2', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '33a546d271c4aecad1c4ce3fc8228a14a3790068', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.8536 0.853553C12.0488 0.658291 12.0488 0.341709 11.8536 0.146447C11.6583 -0.0488155 11.3417 -0.0488155 11.1464 0.146447L0.146447 11.1464C-0.0488155 11.3417 -0.0488155 11.6583 0.146447 11.8536C0.341709 12.0488 0.658291 12.0488 0.853553 11.8536L11.8536 0.853553ZM11.8536 4.64645C12.0488 4.84171 12.0488 5.15829 11.8536 5.35355L5.35355 11.8536C5.15829 12.0488 4.84171 12.0488 4.64645 11.8536C4.45118 11.6583 4.45118 11.3417 4.64645 11.1464L11.1464 4.64645C11.3417 4.45118 11.6583 4.45118 11.8536 4.64645ZM11.8536 8.64645C12.0488 8.84171 12.0488 9.15829 11.8536 9.35355L9.35355 11.8536C9.15829 12.0488 8.84171 12.0488 8.64645 11.8536C8.45118 11.6583 8.45118 11.3417 8.64645 11.1464L11.1464 8.64645C11.3417 8.45118 11.6583 8.45118 11.8536 8.64645Z", fill: "currentColor" }))), !this.disabled && !this.hideReadOnlyIcon && this.readOnly && (h("span", { key: 'f7c2b6973c0ab4990379ea66d05bcf7d846ace1c', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: 'dce91ccbd1aa3649ff9db60c8641a254ed5486f6', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '4dd9659c02aece8803820ec34c65298d109f9007', id: "readonly-tooltip", name: "edit_inactive" })))), h("span", { key: '33954390252928f917ceb119a20eff0f06342cc1', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && !this.readOnly && h("tds-icon", { key: '33c46966f9df85784e2520b096a6f58ebfff2885', name: "error", size: "16px" }), this.helper), this.maxLength > 0 && (h("div", { key: '8c9051a3c6fd9bc65c35b0e2d02786a24acb00de', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '59180502bd4aa0bb71378fba4a3899eb59c8211e', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
81
+ }, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": this.state === 'error' ? 'true' : 'false', "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: 'a4d4472cc29ceee2df18621253e4790298dab8e6', class: "textarea-resizer-icon" }, h("svg", { key: '086a281f3fec5590ddb8563ef1e65136d4b831d4', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5d6935da052a1163db2d6526e2c419a9e7621b80', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.8536 0.853553C12.0488 0.658291 12.0488 0.341709 11.8536 0.146447C11.6583 -0.0488155 11.3417 -0.0488155 11.1464 0.146447L0.146447 11.1464C-0.0488155 11.3417 -0.0488155 11.6583 0.146447 11.8536C0.341709 12.0488 0.658291 12.0488 0.853553 11.8536L11.8536 0.853553ZM11.8536 4.64645C12.0488 4.84171 12.0488 5.15829 11.8536 5.35355L5.35355 11.8536C5.15829 12.0488 4.84171 12.0488 4.64645 11.8536C4.45118 11.6583 4.45118 11.3417 4.64645 11.1464L11.1464 4.64645C11.3417 4.45118 11.6583 4.45118 11.8536 4.64645ZM11.8536 8.64645C12.0488 8.84171 12.0488 9.15829 11.8536 9.35355L9.35355 11.8536C9.15829 12.0488 8.84171 12.0488 8.64645 11.8536C8.45118 11.6583 8.45118 11.3417 8.64645 11.1464L11.1464 8.64645C11.3417 8.45118 11.6583 8.45118 11.8536 8.64645Z", fill: "currentColor" }))), !this.disabled && !this.hideReadOnlyIcon && this.readOnly && (h("span", { key: '9b6e37cfdb98c9dbc5207a7a615dda7bc53a12f9', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '847bf8835a69bb18cc248fc0a79fb63cd56cd4bc', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: 'fc952bfb4ded2a415d8877a02b42cc5ca852aa92', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: '73ab74707b95ac4be6fe44da50fbd85034010c30', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && !this.readOnly && h("tds-icon", { key: '0a51fe5b3ca770969ad7c42155c16ddf1349a215', name: "error", size: "16px" }), this.helper), this.maxLength > 0 && (h("div", { key: 'faaa8a3ea81472dc078084e25d6513b2633118b7', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '1a465fbeacf28fff5fa4bac5f6f03c94b01538e6', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
82
82
  }
83
83
  static get is() { return "tds-textarea"; }
84
84
  static get encapsulation() { return "scoped"; }
@@ -65,12 +65,12 @@ export class TdsToast {
65
65
  const usesHeaderSlot = hasSlot('header', this.host);
66
66
  const usesSubheaderSlot = hasSlot('subheader', this.host);
67
67
  const usesActionsSlot = hasSlot('actions', this.host);
68
- return (h(Host, { key: '371f64114169ae6f8a42a83ca62be3b1111d81e7', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
68
+ return (h(Host, { key: 'b5f8ebf48f31ced7100681b06339ba896d6eca64', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
69
69
  hide: this.hidden,
70
70
  show: !this.hidden,
71
- } }, h("div", { key: '9352959b1f363e8210b96347e15d6ee1671eda97', class: `
71
+ } }, h("div", { key: 'bd1e5c5c04b8aa66cb44241fb37711df0d797d28', class: `
72
72
  wrapper
73
- ${this.variant}` }, h("tds-icon", { key: '9db246bb5db02240242de1fb2189fc5c9c0e2b81', name: this.getIconName(), size: "20px" }), h("div", { key: '8f9560777602ddce1629e0fe28ec7eb8c7f0764a', class: `content` }, h("div", { key: '3884f54d0d0e60f098b5d843d53aefcd8765b8f2', class: "header-subheader" }, this.header && h("div", { key: 'a84a1511ba263347ed1b22c2536c5b31726ecd43', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: 'd29b6eb1d1f5867a7a9d7c96bf18e0b36bf70643', name: "header" }), this.subheader && h("div", { key: 'db0e71f911352e1caeb5d393ca89eaeac7027765', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '7174daff9b337cd7e771644b9aabffb0c524baf2', name: "subheader" })), usesActionsSlot && (h("div", { key: 'a10a7985a5631314645064b1675550f2fb553b36', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: '9f136b3ad9ca7e80ca78271f42f1dade48dd225c', name: "actions" })))), this.closable && (h("button", { key: '5ce50919432231daa334f60a7f9cac6a517bc8c2', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: '4f2d045d8303aa333109c1d18e3c50f68e325b7f', name: "cross", size: "20px" }))))));
73
+ ${this.variant}` }, h("tds-icon", { key: 'aa6e3fd61ad5a2e962f6e70d48ce266b7c8913e0', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: '8502cb5c3b305942fe14ffde76ee4dfc63758ce8', class: `content` }, h("div", { key: '5ef927acd2e0d6bba51c4b20b79fee1240c821ef', class: "header-subheader" }, this.header && h("div", { key: 'c568d13668da3502c5f34810fea5f3a9d9629572', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: 'e9316b99d758019127faf05adb9ae1754e3ea910', name: "header" }), this.subheader && h("div", { key: '428e2659621c6eb4ddb302b9cab6902d93d2f514', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '2ec858d2feeaf679ab8aa061cab2156f926e29a2', name: "subheader" })), usesActionsSlot && (h("div", { key: '3f4836e54bedbeb3b02b78c0ac0bfa47770c4f80', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: '76fa5d8534ea34010968a7183e07e62a4be3e5f7', name: "actions" })))), this.closable && (h("button", { key: '8076fa3d885b7649758b084301e092d083103ecd', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: 'f9bf7fa804352e9d09bbdc6251fe02c89cb174a8', name: "cross", size: "20px", svgTitle: "cross" }))))));
74
74
  }
75
75
  static get is() { return "tds-toast"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -38,10 +38,10 @@ export class TdsToggle {
38
38
  }
39
39
  }
40
40
  render() {
41
- return (h("div", { key: '6da0f52d32eda250fc21a3c588c1e2d926fbe4c4', class: "tds-toggle" }, this.headline && (h("div", { key: '0ae25c6f04a1dddf42fcec8350d39001540ec767', class: {
41
+ return (h("div", { key: 'f1151ef33eaf8ee11761badb74dcb24916481ce1', class: "tds-toggle" }, this.headline && (h("div", { key: '848f0bf92aa6e21a7d84dea6d3cc41f3228cbb9b', class: {
42
42
  'toggle-headline': true,
43
43
  'disabled': this.disabled,
44
- } }, this.headline)), h("input", { key: 'e377c5abadf93192db6cc0da87bedb904a6dac0a', "aria-label": this.tdsAriaLabel, "aria-describedby": this.host.getAttribute('aria-describedby'), "aria-labelledby": this.host.getAttribute('aria-labelledby'), "aria-checked": this.checked, "aria-required": this.required, onChange: () => this.handleToggle(), class: `${this.size}`, checked: this.checked, disabled: this.disabled, required: this.required, type: "checkbox", name: this.name, id: this.toggleId, role: "switch" }), this.labelSlot && (h("label", { key: 'c23fa4c4e361bcf67585077adf5e5ecdd340e308', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: '011d721feb8779b8064bd9ee05940e9ee2590919', name: "label" })))));
44
+ } }, this.headline)), h("input", { key: '25907b86ae6fe55dca60b1254a3901bb090a8d36', "aria-label": this.tdsAriaLabel, "aria-describedby": this.host.getAttribute('aria-describedby'), "aria-labelledby": this.host.getAttribute('aria-labelledby'), "aria-checked": this.checked, "aria-required": this.required, onChange: () => this.handleToggle(), class: `${this.size}`, checked: this.checked, disabled: this.disabled, required: this.required, type: "checkbox", name: this.name, id: this.toggleId, role: "switch" }), this.labelSlot && (h("label", { key: 'ef3c492d3d3c7bddc34c64bfcc568e47f17a2cd1', class: { disabled: this.disabled }, htmlFor: this.toggleId }, h("slot", { key: '339f355bbba7f3c18de4049df1d0a82d87884f44', name: "label" })))));
45
45
  }
46
46
  static get is() { return "tds-toggle"; }
47
47
  static get encapsulation() { return "scoped"; }
@@ -58,7 +58,7 @@ export class TdsTooltip {
58
58
  }
59
59
  render() {
60
60
  var _a;
61
- return (h(Host, { key: '9209dd16639d00c6cbf72215f6fefe445539482b', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: '0a6b8305dbf90f976ebe7bbc144c7259eaedd563' }, this.inheritedAttributes, { class: {
61
+ return (h(Host, { key: 'c09e902febe788fe0f38d9abca24864bfbf59b2d', role: "tooltip", "aria-describedby": this.tdsAriaDescribedby, "aria-label": this.text }, h("tds-popover-core", Object.assign({ key: '2ae840c2abe03714f071034bda652265ef09fc9b' }, this.inheritedAttributes, { class: {
62
62
  'tds-tooltip': true,
63
63
  [`tds-tooltip-${this.border}`]: true,
64
64
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
@@ -71,7 +71,7 @@ export class TdsTooltip {
71
71
  // @ts-ignore
72
72
  onInternalTdsClose: () => {
73
73
  this.show = false;
74
- }, defaultShow: this.defaultShow }), this.text, h("slot", { key: '368b56fc092da7005b1994c4283c061a61f5e529' }))));
74
+ }, defaultShow: this.defaultShow }), this.text, h("slot", { key: 'f0211f7e337709f4b8d0e8e4374c0ebd39635f25' }))));
75
75
  }
76
76
  static get is() { return "tds-tooltip"; }
77
77
  static get encapsulation() { return "scoped"; }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
2
  import { c as convertToString, a as convertArrayToStrings } from './p-a1181b1f.js';
3
- import { d as defineCustomElement$1 } from './p-9b40a24d.js';
3
+ import { g as generateUniqueId } from './p-11648030.js';
4
+ import { d as defineCustomElement$1 } from './p-c715ab56.js';
4
5
 
5
6
  /**
6
7
  * Find the next focusable element index in a list of focusable elements.
@@ -135,7 +136,15 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
135
136
  if (!this.disabled) {
136
137
  this.open = !this.open;
137
138
  if (this.open) {
138
- this.focusInputElement();
139
+ if (this.filter) {
140
+ this.focusInputElement();
141
+ }
142
+ else {
143
+ const button = this.host.shadowRoot.querySelector('button');
144
+ if (button) {
145
+ button.focus();
146
+ }
147
+ }
139
148
  }
140
149
  }
141
150
  };
@@ -181,11 +190,13 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
181
190
  this.handleFocus = (event) => {
182
191
  this.open = true;
183
192
  this.filterFocus = true;
184
- if (this.multiselect) {
193
+ if (this.multiselect && this.inputElement) {
185
194
  this.inputElement.value = '';
186
195
  }
187
196
  this.tdsFocus.emit(event);
188
- this.handleFilter({ target: { value: '' } });
197
+ if (this.filter) {
198
+ this.handleFilter({ target: { value: '' } });
199
+ }
189
200
  };
190
201
  this.handleBlur = (event) => {
191
202
  this.tdsBlur.emit(event);
@@ -340,7 +351,18 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
340
351
  }
341
352
  /** Method that forces focus on the input element. */
342
353
  async focusElement() {
343
- this.focusInputElement();
354
+ if (this.filter) {
355
+ // For filter mode, focus the input element
356
+ this.focusInputElement();
357
+ }
358
+ else {
359
+ // For non-filter mode, focus the button element
360
+ const button = this.host.shadowRoot.querySelector('button');
361
+ if (button) {
362
+ button.focus();
363
+ }
364
+ }
365
+ // Always trigger the focus event to open the dropdown
344
366
  this.handleFocus({});
345
367
  }
346
368
  /** Method for setting the value of the Dropdown.
@@ -370,6 +392,7 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
370
392
  }
371
393
  }
372
394
  async onKeyDown(event) {
395
+ var _a;
373
396
  // Get the active element
374
397
  const { activeElement } = document;
375
398
  if (!activeElement) {
@@ -396,6 +419,14 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
396
419
  }
397
420
  else if (event.key === 'Escape') {
398
421
  this.open = false;
422
+ // Return focus to input/button when Escape key is used
423
+ if (this.filter) {
424
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus();
425
+ }
426
+ else {
427
+ const button = this.host.shadowRoot.querySelector('button');
428
+ button === null || button === void 0 ? void 0 : button.focus();
429
+ }
399
430
  }
400
431
  }
401
432
  // If the Dropdown gets closed,
@@ -406,6 +437,8 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
406
437
  this.inputElement.value = this.selectedOptions.length ? this.getValue() : '';
407
438
  }
408
439
  }
440
+ // Update the inert state of dropdown list when open state changes
441
+ this.updateDropdownListInertState();
409
442
  }
410
443
  handleDefaultValueChange(newValue) {
411
444
  if (newValue !== undefined && newValue !== null) {
@@ -453,6 +486,8 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
453
486
  if (form) {
454
487
  form.addEventListener('reset', this.resetInput);
455
488
  }
489
+ // Initialize inert state after rendering
490
+ this.updateDropdownListInertState();
456
491
  }
457
492
  disconnectedCallback() {
458
493
  const form = this.host.closest('form');
@@ -465,11 +500,24 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
465
500
  console.warn('Tegel Dropdown component: tdsAriaLabel prop is missing');
466
501
  }
467
502
  }
503
+ updateDropdownListInertState() {
504
+ if (this.dropdownList) {
505
+ if (this.open) {
506
+ this.dropdownList.removeAttribute('inert');
507
+ }
508
+ else {
509
+ this.dropdownList.setAttribute('inert', '');
510
+ }
511
+ }
512
+ }
468
513
  render() {
469
514
  appendHiddenInput(this.host, this.name, this.selectedOptions.join(','), this.disabled);
470
- return (h(Host, { key: '355b932acbd4bd73fd49f03fc97c45d2851d384c', class: {
515
+ // Generate unique IDs for associating labels and helpers with the input/button
516
+ const labelId = this.label ? `dropdown-label-${this.name || generateUniqueId()}` : undefined;
517
+ const helperId = this.helper ? `dropdown-helper-${this.name || generateUniqueId()}` : undefined;
518
+ return (h(Host, { key: 'aed0a485fc4634cdba2599fa9792fb6289a7459c', class: {
471
519
  [`tds-mode-variant-${this.modeVariant}`]: Boolean(this.modeVariant),
472
- } }, this.label && this.labelPosition === 'outside' && (h("div", { key: '6551ecaae468c210b4d984ab611ce6053c0e4793', class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '9942c7bc9940d319d8cf97dc17cd1241633921e2', class: {
520
+ } }, this.label && this.labelPosition === 'outside' && (h("div", { key: '39d11ac06547b133540f037a0c09ddc40b972cb5', id: labelId, class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '8ab624d380289699887b660d30512b2e892f71c0', class: {
473
521
  'dropdown-select': true,
474
522
  [this.size]: true,
475
523
  'disabled': this.disabled,
@@ -478,11 +526,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
478
526
  focus: this.filterFocus,
479
527
  disabled: this.disabled,
480
528
  error: this.error,
481
- } }, h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' && this.placeholder && (h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (h("div", { class: `
529
+ } }, h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' && this.placeholder && (h("div", { id: labelId, class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (h("div", { id: labelId, class: `
482
530
  label-inside-as-placeholder
483
531
  ${this.size}
484
532
  ${this.selectedOptions.length ? 'selected' : ''}
485
- ` }, this.label)), h("input", { "aria-label": this.tdsAriaLabel, "aria-disabled": this.disabled,
533
+ ` }, this.label)), h("input", { "aria-label": this.tdsAriaLabel, "aria-labelledby": labelId, "aria-describedby": helperId, "aria-disabled": this.disabled,
486
534
  // eslint-disable-next-line no-return-assign
487
535
  ref: (inputEl) => (this.inputElement = inputEl), class: {
488
536
  placeholder: this.labelPosition === 'inside',
@@ -503,11 +551,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
503
551
  }, class: {
504
552
  'clear-icon': true,
505
553
  'hide': !(this.open && this.inputElement.value !== ''),
506
- }, name: "cross", size: "16px" }), h("tds-icon", { tabIndex: 0, role: "button", "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", onClick: this.handleToggleOpen, onKeyDown: (event) => {
554
+ }, name: "cross", size: "16px" }), h("tds-icon", { tdsAriaHidden: true, role: "button", "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", onClick: this.handleToggleOpen, onKeyDown: (event) => {
507
555
  if (event.key === 'Enter') {
508
556
  this.handleToggleOpen();
509
557
  }
510
- }, class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { "aria-label": this.tdsAriaLabel, "aria-disabled": this.disabled, onClick: () => this.handleToggleOpen(), onKeyDown: (event) => {
558
+ }, class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { "aria-label": this.tdsAriaLabel, "aria-labelledby": labelId, "aria-describedby": helperId, "aria-disabled": this.disabled, onClick: () => this.handleToggleOpen(), onKeyDown: (event) => {
511
559
  if (event.key === 'Escape') {
512
560
  this.open = false;
513
561
  }
@@ -515,11 +563,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
515
563
  ${this.selectedOptions.length ? 'value' : 'placeholder'}
516
564
  ${this.open ? 'open' : 'closed'}
517
565
  ${this.error ? 'error' : ''}
518
- `, 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: `
566
+ `, disabled: this.disabled }, h("div", { class: `value-wrapper ${this.size}` }, this.label && this.labelPosition === 'inside' && this.placeholder && (h("div", { id: labelId, class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (h("div", { id: labelId, class: `
519
567
  label-inside-as-placeholder
520
568
  ${this.size}
521
569
  ${this.selectedOptions.length ? 'selected' : ''}
522
- ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'd0b201e483628f0152d4169dfe53eba25860bd8e', role: "listbox", "aria-label": this.tdsAriaLabel, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
570
+ ` }, this.label)), h("div", { class: `placeholder ${this.size}` }, this.selectedOptions.length ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '989c425c5a608444533e33ad83313aa56569c225', role: "listbox", "aria-label": this.tdsAriaLabel, "aria-hidden": this.open ? 'false' : 'true', inert: !this.open, "aria-orientation": "vertical", "aria-multiselectable": this.multiselect, ref: (element) => {
523
571
  this.dropdownList = element;
524
572
  }, class: {
525
573
  'dropdown-list': true,
@@ -530,11 +578,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
530
578
  'closed': !this.open,
531
579
  [`animation-enter-${this.animation}`]: this.animation !== 'none' && this.open,
532
580
  [`animation-exit-${this.animation}`]: this.animation !== 'none' && !this.open,
533
- } }, h("slot", { key: 'e18a6991f876c142ff21d6e15c121a8e450735ae', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '79b654db4e9a18b5a19e2a42d2fd06d7bea4fe6b', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: 'e0bef905f7e310a47e567ea6fa13e11923b54232', class: {
581
+ } }, h("slot", { key: '6e54bbb0eacf27cfdbf3b393f2c9e690adb394e8', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '4bdaf935cd213f63e7a8665b5d6f69ee0589d7b9', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: '112c76fa88eef7798b9b0d435ae03e62880a9ff8', id: helperId, class: {
534
582
  helper: true,
535
583
  error: this.error,
536
584
  disabled: this.disabled,
537
- } }, this.error && h("tds-icon", { key: '0ee7ab0c6c86e35ce5c0d1933e75237fb43d58d1', name: "error", size: "16px" }), this.helper))));
585
+ } }, this.error && h("tds-icon", { key: '055e681faca85a461b07619c42fa0eb48a6ec028', name: "error", size: "16px" }), this.helper))));
538
586
  }
539
587
  get host() { return this; }
540
588
  static get watchers() { return {