@scania/tegel 1.24.0 → 1.25.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/dist/cjs/index-ca8040ad.js +4 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/tds-accordion-item.cjs.entry.js +7 -4
  4. package/dist/cjs/tds-badge.cjs.entry.js +9 -8
  5. package/dist/cjs/tds-banner.cjs.entry.js +6 -3
  6. package/dist/cjs/tds-block.cjs.entry.js +12 -6
  7. package/dist/cjs/tds-body-cell.cjs.entry.js +9 -6
  8. package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -2
  9. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +7 -1
  10. package/dist/cjs/tds-button.cjs.entry.js +13 -3
  11. package/dist/cjs/tds-card.cjs.entry.js +11 -7
  12. package/dist/cjs/tds-checkbox.cjs.entry.js +2 -2
  13. package/dist/cjs/tds-chip.cjs.entry.js +7 -2
  14. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +40 -3
  15. package/dist/cjs/tds-datetime.cjs.entry.js +20 -13
  16. package/dist/cjs/tds-divider.cjs.entry.js +1 -1
  17. package/dist/cjs/tds-dropdown_2.cjs.entry.js +240 -197
  18. package/dist/cjs/tds-folder-tab.cjs.entry.js +4 -2
  19. package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
  20. package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
  21. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  22. package/dist/cjs/tds-footer.cjs.entry.js +3 -1
  23. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
  25. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +2 -2
  26. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-dropdown.cjs.entry.js +3 -3
  29. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  31. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
  32. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
  33. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  36. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
  37. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  38. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  39. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/tds-inline-tab.cjs.entry.js +5 -2
  42. package/dist/cjs/tds-inline-tabs.cjs.entry.js +2 -2
  43. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  44. package/dist/cjs/tds-message.cjs.entry.js +6 -4
  45. package/dist/cjs/tds-modal.cjs.entry.js +4 -1
  46. package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
  47. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +8 -2
  48. package/dist/cjs/tds-popover-canvas.cjs.entry.js +2 -2
  49. package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
  50. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +3 -3
  51. package/dist/cjs/tds-popover-menu.cjs.entry.js +2 -2
  52. package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
  53. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  54. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -4
  55. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +2 -2
  56. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -2
  57. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +3 -3
  58. package/dist/cjs/tds-side-menu-item.cjs.entry.js +2 -2
  59. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
  60. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
  61. package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
  62. package/dist/cjs/tds-slider.cjs.entry.js +8 -8
  63. package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
  64. package/dist/cjs/tds-step.cjs.entry.js +1 -1
  65. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
  66. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -7
  67. package/dist/cjs/tds-table-body-row.cjs.entry.js +9 -6
  68. package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
  69. package/dist/cjs/tds-table-footer.cjs.entry.js +3 -3
  70. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  71. package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
  72. package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
  73. package/dist/cjs/tds-text-field.cjs.entry.js +8 -6
  74. package/dist/cjs/tds-textarea.cjs.entry.js +14 -12
  75. package/dist/cjs/tds-toast.cjs.entry.js +3 -3
  76. package/dist/cjs/tds-toggle.cjs.entry.js +13 -1
  77. package/dist/cjs/tds-tooltip-beta.cjs.entry.js +123 -0
  78. package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
  79. package/dist/cjs/tegel.cjs.js +1 -1
  80. package/dist/collection/collection-manifest.json +2 -1
  81. package/dist/collection/components/accordion/accordion-item/accordion-item.js +25 -4
  82. package/dist/collection/components/badge/badge.js +28 -8
  83. package/dist/collection/components/banner/banner.js +24 -3
  84. package/dist/collection/components/block/block.js +36 -7
  85. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +9 -10
  86. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +2 -2
  87. package/dist/collection/components/breadcrumbs/breadcrumbs.js +30 -1
  88. package/dist/collection/components/button/button.css +3 -3
  89. package/dist/collection/components/button/button.js +29 -2
  90. package/dist/collection/components/card/card.js +11 -7
  91. package/dist/collection/components/checkbox/checkbox.js +2 -2
  92. package/dist/collection/components/chip/chip.js +8 -3
  93. package/dist/collection/components/datetime/datetime.css +20 -0
  94. package/dist/collection/components/datetime/datetime.js +22 -15
  95. package/dist/collection/components/divider/divider.js +1 -1
  96. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +41 -16
  97. package/dist/collection/components/dropdown/dropdown.js +264 -239
  98. package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
  99. package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
  100. package/dist/collection/components/footer/footer.js +3 -1
  101. package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
  102. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
  103. package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
  104. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
  105. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
  106. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
  107. package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
  108. package/dist/collection/components/header/header-item/header-item.js +39 -2
  109. package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
  110. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
  111. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
  112. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
  113. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
  114. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
  115. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
  116. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  117. package/dist/collection/components/header/header-title/header-title.js +1 -1
  118. package/dist/collection/components/header/header.js +1 -1
  119. package/dist/collection/components/icon/icon.js +1 -1
  120. package/dist/collection/components/link/link.js +5 -5
  121. package/dist/collection/components/message/message.js +6 -4
  122. package/dist/collection/components/modal/modal.js +4 -1
  123. package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
  124. package/dist/collection/components/popover-core/popover-core.js +1 -1
  125. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.css +7 -1
  126. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
  127. package/dist/collection/components/popover-menu/popover-menu.js +2 -2
  128. package/dist/collection/components/radio-button/radio-button.js +1 -1
  129. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  130. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
  131. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
  132. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
  133. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
  134. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
  135. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
  136. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
  137. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
  138. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
  139. package/dist/collection/components/slider/slider.css +13 -0
  140. package/dist/collection/components/slider/slider.js +7 -7
  141. package/dist/collection/components/spinner/spinner.js +1 -1
  142. package/dist/collection/components/stepper/step/step.js +1 -1
  143. package/dist/collection/components/table/table-body/table-body.js +2 -2
  144. package/dist/collection/components/table/table-body-cell/table-body-cell.js +9 -6
  145. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  146. package/dist/collection/components/table/table-body-row/table-body-row.js +9 -6
  147. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
  148. package/dist/collection/components/table/table-footer/table-footer.js +3 -3
  149. package/dist/collection/components/table/table-header/table-header.js +2 -2
  150. package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
  151. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  152. package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
  153. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
  154. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
  155. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +5 -2
  156. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
  157. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
  158. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +8 -2
  159. package/dist/collection/components/text-field/text-field.js +9 -7
  160. package/dist/collection/components/textarea/textarea.js +14 -12
  161. package/dist/collection/components/toast/toast.js +3 -3
  162. package/dist/collection/components/toggle/toggle.js +30 -1
  163. package/dist/collection/components/tooltip/tooltip.js +2 -2
  164. package/dist/collection/components/tooltip-beta/tooltip-beta.css +40 -0
  165. package/dist/collection/components/tooltip-beta/tooltip-beta.js +319 -0
  166. package/dist/collection/types/Tooltip.js +1 -0
  167. package/dist/collection/utils/axeHelpers.js +3 -0
  168. package/dist/collection/utils/convertToString.js +14 -0
  169. package/dist/components/{p-0c3cab16.js → p-0e6efec9.js} +2 -2
  170. package/dist/components/{p-09d36119.js → p-265c3467.js} +1 -1
  171. package/dist/components/{p-aea7fa6b.js → p-29d19dc8.js} +3 -3
  172. package/dist/components/{p-4030e9bc.js → p-2a43e410.js} +39 -15
  173. package/dist/components/{p-fcec766c.js → p-34737ed9.js} +1 -1
  174. package/dist/components/{p-dddaa520.js → p-3e93886d.js} +1 -1
  175. package/dist/components/{p-5e1a9abc.js → p-4764a1d5.js} +1 -1
  176. package/dist/components/{p-8a2d7b2f.js → p-4c1e3344.js} +4 -4
  177. package/dist/components/{p-cfb1b588.js → p-8c849aa2.js} +2 -2
  178. package/dist/components/{p-e323cd2a.js → p-a2b7bdef.js} +1 -1
  179. package/dist/components/{p-4f1aa84f.js → p-a64dc22e.js} +207 -193
  180. package/dist/components/p-b1d21573.js +16 -0
  181. package/dist/components/{p-d921fe75.js → p-c65351ab.js} +2 -2
  182. package/dist/components/{p-0676aa23.js → p-d61bd22e.js} +40 -3
  183. package/dist/components/{p-30de8ac4.js → p-e49a0ceb.js} +1 -1
  184. package/dist/components/{p-e46088d9.js → p-e8d2dbbf.js} +1 -1
  185. package/dist/components/tds-accordion-item.js +9 -5
  186. package/dist/components/tds-badge.js +11 -8
  187. package/dist/components/tds-banner.js +8 -4
  188. package/dist/components/tds-block.js +14 -7
  189. package/dist/components/tds-body-cell.js +9 -6
  190. package/dist/components/tds-breadcrumb.js +3 -3
  191. package/dist/components/tds-breadcrumbs.js +10 -2
  192. package/dist/components/tds-button.js +14 -3
  193. package/dist/components/tds-card.js +12 -8
  194. package/dist/components/tds-checkbox.js +1 -1
  195. package/dist/components/tds-chip.js +7 -2
  196. package/dist/components/tds-core-header-item.js +1 -1
  197. package/dist/components/tds-datetime.js +21 -14
  198. package/dist/components/tds-divider.js +1 -1
  199. package/dist/components/tds-dropdown-option.js +1 -1
  200. package/dist/components/tds-dropdown.js +1 -1
  201. package/dist/components/tds-folder-tab.js +4 -2
  202. package/dist/components/tds-folder-tabs.js +3 -3
  203. package/dist/components/tds-footer-group.js +4 -4
  204. package/dist/components/tds-footer-item.js +1 -1
  205. package/dist/components/tds-footer.js +3 -1
  206. package/dist/components/tds-header-brand-symbol.js +3 -3
  207. package/dist/components/tds-header-cell.js +2 -2
  208. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  209. package/dist/components/tds-header-dropdown-list-user.js +1 -1
  210. package/dist/components/tds-header-dropdown-list.js +1 -1
  211. package/dist/components/tds-header-dropdown.js +8 -8
  212. package/dist/components/tds-header-hamburger.js +4 -4
  213. package/dist/components/tds-header-item.js +1 -1
  214. package/dist/components/tds-header-launcher-button.js +1 -1
  215. package/dist/components/tds-header-launcher-grid-item.js +1 -1
  216. package/dist/components/tds-header-launcher-grid-title.js +1 -1
  217. package/dist/components/tds-header-launcher-grid.js +1 -1
  218. package/dist/components/tds-header-launcher-list-item.js +2 -2
  219. package/dist/components/tds-header-launcher-list-title.js +1 -1
  220. package/dist/components/tds-header-launcher-list.js +2 -2
  221. package/dist/components/tds-header-launcher.js +8 -8
  222. package/dist/components/tds-header-title.js +1 -1
  223. package/dist/components/tds-header.js +1 -1
  224. package/dist/components/tds-icon.js +1 -1
  225. package/dist/components/tds-inline-tab.js +5 -2
  226. package/dist/components/tds-inline-tabs.js +3 -3
  227. package/dist/components/tds-link.js +5 -5
  228. package/dist/components/tds-message.js +7 -5
  229. package/dist/components/tds-modal.js +5 -2
  230. package/dist/components/tds-navigation-tab.js +2 -2
  231. package/dist/components/tds-navigation-tabs.js +9 -3
  232. package/dist/components/tds-popover-canvas.js +1 -1
  233. package/dist/components/tds-popover-core.js +1 -1
  234. package/dist/components/tds-popover-menu-item.js +3 -3
  235. package/dist/components/tds-popover-menu.js +3 -3
  236. package/dist/components/tds-radio-button.js +1 -1
  237. package/dist/components/tds-side-menu-close-button.js +2 -2
  238. package/dist/components/tds-side-menu-collapse-button.js +5 -5
  239. package/dist/components/tds-side-menu-dropdown-list-item.js +2 -2
  240. package/dist/components/tds-side-menu-dropdown-list.js +2 -2
  241. package/dist/components/tds-side-menu-dropdown.js +5 -5
  242. package/dist/components/tds-side-menu-item.js +1 -1
  243. package/dist/components/tds-side-menu-overlay.js +1 -1
  244. package/dist/components/tds-side-menu-user-image.js +1 -1
  245. package/dist/components/tds-side-menu-user-label.js +1 -1
  246. package/dist/components/tds-side-menu-user.js +3 -3
  247. package/dist/components/tds-slider.js +9 -9
  248. package/dist/components/tds-spinner.js +1 -1
  249. package/dist/components/tds-step.js +2 -2
  250. package/dist/components/tds-table-body-input-wrapper.js +2 -2
  251. package/dist/components/tds-table-body-row-expandable.js +7 -7
  252. package/dist/components/tds-table-body-row.js +10 -7
  253. package/dist/components/tds-table-body.js +2 -2
  254. package/dist/components/tds-table-footer.js +7 -7
  255. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  256. package/dist/components/tds-table-header.js +3 -3
  257. package/dist/components/tds-table-toolbar.js +3 -3
  258. package/dist/components/tds-text-field.js +9 -7
  259. package/dist/components/tds-textarea.js +15 -13
  260. package/dist/components/tds-toast.js +4 -4
  261. package/dist/components/tds-toggle.js +14 -1
  262. package/dist/components/tds-tooltip-beta.d.ts +11 -0
  263. package/dist/components/tds-tooltip-beta.js +149 -0
  264. package/dist/components/tds-tooltip.js +3 -3
  265. package/dist/esm/index-51d04e39.js +4 -0
  266. package/dist/esm/loader.js +1 -1
  267. package/dist/esm/tds-accordion-item.entry.js +7 -4
  268. package/dist/esm/tds-badge.entry.js +9 -8
  269. package/dist/esm/tds-banner.entry.js +6 -3
  270. package/dist/esm/tds-block.entry.js +12 -6
  271. package/dist/esm/tds-body-cell.entry.js +9 -6
  272. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  273. package/dist/esm/tds-breadcrumbs.entry.js +7 -1
  274. package/dist/esm/tds-button.entry.js +13 -3
  275. package/dist/esm/tds-card.entry.js +11 -7
  276. package/dist/esm/tds-checkbox.entry.js +2 -2
  277. package/dist/esm/tds-chip.entry.js +7 -2
  278. package/dist/esm/tds-core-header-item_2.entry.js +40 -3
  279. package/dist/esm/tds-datetime.entry.js +20 -13
  280. package/dist/esm/tds-divider.entry.js +1 -1
  281. package/dist/esm/tds-dropdown_2.entry.js +240 -197
  282. package/dist/esm/tds-folder-tab.entry.js +4 -2
  283. package/dist/esm/tds-folder-tabs.entry.js +2 -2
  284. package/dist/esm/tds-footer-group.entry.js +3 -3
  285. package/dist/esm/tds-footer-item.entry.js +1 -1
  286. package/dist/esm/tds-footer.entry.js +3 -1
  287. package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
  288. package/dist/esm/tds-header-cell.entry.js +1 -1
  289. package/dist/esm/tds-header-dropdown-list-item.entry.js +2 -2
  290. package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
  291. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  292. package/dist/esm/tds-header-dropdown.entry.js +3 -3
  293. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  294. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  295. package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
  296. package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
  297. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  298. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  299. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  300. package/dist/esm/tds-header-launcher-list.entry.js +1 -1
  301. package/dist/esm/tds-header-launcher.entry.js +2 -2
  302. package/dist/esm/tds-header-title.entry.js +1 -1
  303. package/dist/esm/tds-header.entry.js +1 -1
  304. package/dist/esm/tds-icon.entry.js +1 -1
  305. package/dist/esm/tds-inline-tab.entry.js +5 -2
  306. package/dist/esm/tds-inline-tabs.entry.js +2 -2
  307. package/dist/esm/tds-link.entry.js +5 -5
  308. package/dist/esm/tds-message.entry.js +6 -4
  309. package/dist/esm/tds-modal.entry.js +4 -1
  310. package/dist/esm/tds-navigation-tab.entry.js +2 -2
  311. package/dist/esm/tds-navigation-tabs.entry.js +8 -2
  312. package/dist/esm/tds-popover-canvas.entry.js +2 -2
  313. package/dist/esm/tds-popover-core.entry.js +1 -1
  314. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  315. package/dist/esm/tds-popover-menu.entry.js +2 -2
  316. package/dist/esm/tds-radio-button.entry.js +1 -1
  317. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  318. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -4
  319. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +2 -2
  320. package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
  321. package/dist/esm/tds-side-menu-dropdown.entry.js +3 -3
  322. package/dist/esm/tds-side-menu-item.entry.js +2 -2
  323. package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
  324. package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
  325. package/dist/esm/tds-side-menu-user.entry.js +1 -1
  326. package/dist/esm/tds-slider.entry.js +8 -8
  327. package/dist/esm/tds-spinner.entry.js +1 -1
  328. package/dist/esm/tds-step.entry.js +1 -1
  329. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
  330. package/dist/esm/tds-table-body-row-expandable.entry.js +7 -7
  331. package/dist/esm/tds-table-body-row.entry.js +9 -6
  332. package/dist/esm/tds-table-body.entry.js +2 -2
  333. package/dist/esm/tds-table-footer.entry.js +3 -3
  334. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  335. package/dist/esm/tds-table-header.entry.js +2 -2
  336. package/dist/esm/tds-table-toolbar.entry.js +2 -2
  337. package/dist/esm/tds-text-field.entry.js +8 -6
  338. package/dist/esm/tds-textarea.entry.js +14 -12
  339. package/dist/esm/tds-toast.entry.js +3 -3
  340. package/dist/esm/tds-toggle.entry.js +13 -1
  341. package/dist/esm/tds-tooltip-beta.entry.js +119 -0
  342. package/dist/esm/tds-tooltip.entry.js +2 -2
  343. package/dist/esm/tegel.js +1 -1
  344. package/dist/tegel/p-01edebef.entry.js +1 -0
  345. package/dist/tegel/p-035e58e6.entry.js +1 -0
  346. package/dist/tegel/p-065d6f83.entry.js +1 -0
  347. package/dist/tegel/p-0c1e632d.entry.js +1 -0
  348. package/dist/tegel/{p-4e3e2601.entry.js → p-168122a7.entry.js} +1 -1
  349. package/dist/tegel/{p-868435cd.entry.js → p-19eb4ae1.entry.js} +1 -1
  350. package/dist/tegel/p-1b390acb.entry.js +1 -0
  351. package/dist/tegel/{p-57f95a1b.entry.js → p-288a09ef.entry.js} +1 -1
  352. package/dist/tegel/{p-987084a5.entry.js → p-3204ae8f.entry.js} +1 -1
  353. package/dist/tegel/p-32be63ea.entry.js +1 -0
  354. package/dist/tegel/p-34b793c9.entry.js +1 -0
  355. package/dist/tegel/p-3c2f7033.entry.js +1 -0
  356. package/dist/tegel/p-46205cfb.entry.js +1 -0
  357. package/dist/tegel/p-4d5963d0.entry.js +1 -0
  358. package/dist/tegel/{p-088bfcd4.entry.js → p-4e298888.entry.js} +1 -1
  359. package/dist/tegel/p-4e33cbda.entry.js +1 -0
  360. package/dist/tegel/{p-c790ef93.entry.js → p-4ee344e5.entry.js} +1 -1
  361. package/dist/tegel/p-4f5f152a.entry.js +1 -0
  362. package/dist/tegel/p-4fe6512b.entry.js +1 -0
  363. package/dist/tegel/p-5242a1f6.entry.js +1 -0
  364. package/dist/tegel/{p-b4c7099f.entry.js → p-542d7b3e.entry.js} +1 -1
  365. package/dist/tegel/p-5a7110b8.entry.js +1 -0
  366. package/dist/tegel/p-5ba254ee.entry.js +1 -0
  367. package/dist/tegel/{p-9de400f4.entry.js → p-60b38806.entry.js} +1 -1
  368. package/dist/tegel/{p-6a52ed63.entry.js → p-64c80f14.entry.js} +1 -1
  369. package/dist/tegel/{p-ed02ad2b.entry.js → p-654785d2.entry.js} +1 -1
  370. package/dist/tegel/p-6f17d37f.entry.js +1 -0
  371. package/dist/tegel/p-70795d6e.entry.js +1 -0
  372. package/dist/tegel/p-72fd0083.entry.js +1 -0
  373. package/dist/tegel/{p-bcae4d3a.entry.js → p-74fc9c92.entry.js} +1 -1
  374. package/dist/tegel/p-77c79b91.entry.js +1 -0
  375. package/dist/tegel/{p-ff5cd75f.entry.js → p-77d457b8.entry.js} +1 -1
  376. package/dist/tegel/{p-1634247e.entry.js → p-78d5acd7.entry.js} +1 -1
  377. package/dist/tegel/{p-2e44b4e9.entry.js → p-7c4c65c9.entry.js} +1 -1
  378. package/dist/tegel/{p-2557b79b.entry.js → p-848c2732.entry.js} +1 -1
  379. package/dist/tegel/p-868757d9.entry.js +1 -0
  380. package/dist/tegel/p-8c8b9908.entry.js +1 -0
  381. package/dist/tegel/{p-ff7ae8a3.entry.js → p-93a4bd11.entry.js} +1 -1
  382. package/dist/tegel/{p-50fcdc56.entry.js → p-96635c10.entry.js} +1 -1
  383. package/dist/tegel/p-9e0b31a1.entry.js +1 -0
  384. package/dist/tegel/{p-91dcddd5.entry.js → p-a0fc0cc2.entry.js} +1 -1
  385. package/dist/tegel/p-a5e0f030.entry.js +1 -0
  386. package/dist/tegel/{p-aed1c5cf.entry.js → p-aa9d281b.entry.js} +1 -1
  387. package/dist/tegel/p-ae46766a.entry.js +1 -0
  388. package/dist/tegel/{p-f9325536.entry.js → p-aef6b130.entry.js} +1 -1
  389. package/dist/tegel/p-b35e7208.entry.js +1 -0
  390. package/dist/tegel/p-b39ffad4.entry.js +1 -0
  391. package/dist/tegel/p-b5ced8e5.entry.js +1 -0
  392. package/dist/tegel/{p-a642c800.entry.js → p-b6526302.entry.js} +1 -1
  393. package/dist/tegel/p-b686f1ad.entry.js +1 -0
  394. package/dist/tegel/{p-c18b2746.entry.js → p-b9576881.entry.js} +1 -1
  395. package/dist/tegel/p-b9f81e53.entry.js +1 -0
  396. package/dist/tegel/p-be1d1345.entry.js +1 -0
  397. package/dist/tegel/{p-0f38bea7.entry.js → p-bee533b5.entry.js} +1 -1
  398. package/dist/tegel/{p-7097a39a.entry.js → p-c56be8d1.entry.js} +1 -1
  399. package/dist/tegel/{p-4ab7461e.entry.js → p-c8404432.entry.js} +1 -1
  400. package/dist/tegel/{p-ac46b0a4.entry.js → p-ca93de01.entry.js} +1 -1
  401. package/dist/tegel/p-cc6c06e3.entry.js +1 -0
  402. package/dist/tegel/{p-220affa9.entry.js → p-cca85da0.entry.js} +1 -1
  403. package/dist/tegel/p-cde32bc6.entry.js +1 -0
  404. package/dist/tegel/p-d0abf078.entry.js +1 -0
  405. package/dist/tegel/p-d1112915.entry.js +1 -0
  406. package/dist/tegel/{p-a5a67770.entry.js → p-d267665e.entry.js} +1 -1
  407. package/dist/tegel/{p-6c26e66f.entry.js → p-d33cb2d1.entry.js} +1 -1
  408. package/dist/tegel/{p-bb129d43.entry.js → p-d47c744f.entry.js} +1 -1
  409. package/dist/tegel/p-d65dfe04.entry.js +1 -0
  410. package/dist/tegel/{p-6b405a0f.entry.js → p-d853f8c2.entry.js} +1 -1
  411. package/dist/tegel/p-d9511720.entry.js +1 -0
  412. package/dist/tegel/p-dcbc35af.entry.js +1 -0
  413. package/dist/tegel/{p-06d2fa56.entry.js → p-dfbbaefd.entry.js} +1 -1
  414. package/dist/tegel/p-ea3e071f.entry.js +1 -0
  415. package/dist/tegel/{p-9bf7f5cd.entry.js → p-ed17283a.entry.js} +1 -1
  416. package/dist/tegel/{p-c917d8be.entry.js → p-ee7f07ae.entry.js} +1 -1
  417. package/dist/tegel/p-ef3671d8.entry.js +1 -0
  418. package/dist/tegel/{p-f1c172a4.entry.js → p-f1b0211a.entry.js} +1 -1
  419. package/dist/tegel/{p-de540cc0.entry.js → p-fa07db58.entry.js} +1 -1
  420. package/dist/tegel/tegel.esm.js +1 -1
  421. package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +2 -0
  422. package/dist/types/components/badge/badge.d.ts +3 -0
  423. package/dist/types/components/banner/banner.d.ts +4 -0
  424. package/dist/types/components/block/block.d.ts +8 -1
  425. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +3 -0
  426. package/dist/types/components/button/button.d.ts +3 -0
  427. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  428. package/dist/types/components/datetime/datetime.d.ts +2 -2
  429. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +6 -2
  430. package/dist/types/components/dropdown/dropdown.d.ts +27 -24
  431. package/dist/types/components/header/header-item/header-item.d.ts +7 -0
  432. package/dist/types/components/toggle/toggle.d.ts +5 -0
  433. package/dist/types/components/tooltip-beta/tooltip-beta.d.ts +28 -0
  434. package/dist/types/components.d.ts +147 -23
  435. package/dist/types/types/Tooltip.d.ts +4 -0
  436. package/dist/types/utils/axeHelpers.d.ts +2 -0
  437. package/dist/types/utils/convertToString.d.ts +7 -0
  438. package/package.json +5 -5
  439. package/dist/tegel/p-062adc6d.entry.js +0 -1
  440. package/dist/tegel/p-0df92ce7.entry.js +0 -1
  441. package/dist/tegel/p-12303135.entry.js +0 -1
  442. package/dist/tegel/p-14f12f43.entry.js +0 -1
  443. package/dist/tegel/p-1a2f3852.entry.js +0 -1
  444. package/dist/tegel/p-1bc2c73c.entry.js +0 -1
  445. package/dist/tegel/p-26ae4a93.entry.js +0 -1
  446. package/dist/tegel/p-54a105a4.entry.js +0 -1
  447. package/dist/tegel/p-5a891dd2.entry.js +0 -1
  448. package/dist/tegel/p-5d0e8f1e.entry.js +0 -1
  449. package/dist/tegel/p-6938329a.entry.js +0 -1
  450. package/dist/tegel/p-6aabf7e1.entry.js +0 -1
  451. package/dist/tegel/p-7a83cf55.entry.js +0 -1
  452. package/dist/tegel/p-7d39487c.entry.js +0 -1
  453. package/dist/tegel/p-7d83ba98.entry.js +0 -1
  454. package/dist/tegel/p-845e1fca.entry.js +0 -1
  455. package/dist/tegel/p-930e767e.entry.js +0 -1
  456. package/dist/tegel/p-959a6780.entry.js +0 -1
  457. package/dist/tegel/p-9aefb942.entry.js +0 -1
  458. package/dist/tegel/p-9c2dfecc.entry.js +0 -1
  459. package/dist/tegel/p-a9654cd4.entry.js +0 -1
  460. package/dist/tegel/p-ad434031.entry.js +0 -1
  461. package/dist/tegel/p-b00bcf39.entry.js +0 -1
  462. package/dist/tegel/p-b9ac3122.entry.js +0 -1
  463. package/dist/tegel/p-b9e37cf2.entry.js +0 -1
  464. package/dist/tegel/p-bda3d846.entry.js +0 -1
  465. package/dist/tegel/p-cd5219ac.entry.js +0 -1
  466. package/dist/tegel/p-d1cbe5be.entry.js +0 -1
  467. package/dist/tegel/p-dcbd977f.entry.js +0 -1
  468. package/dist/tegel/p-dd060c11.entry.js +0 -1
  469. package/dist/tegel/p-e13935b6.entry.js +0 -1
  470. package/dist/tegel/p-e65dba91.entry.js +0 -1
  471. package/dist/tegel/p-e7108828.entry.js +0 -1
  472. package/dist/tegel/p-e86f2d31.entry.js +0 -1
  473. package/dist/tegel/p-e97a2700.entry.js +0 -1
  474. package/dist/tegel/p-ede11de8.entry.js +0 -1
  475. package/dist/tegel/p-f45d905c.entry.js +0 -1
  476. package/dist/tegel/p-f841f094.entry.js +0 -1
  477. package/dist/tegel/p-fc0079d2.entry.js +0 -1
@@ -10,7 +10,7 @@ export class TdsSideMenuUser {
10
10
  this.imgAlt = undefined;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '061364f66ad366cbfb421fa0609020564bd36e83' }, h("tds-side-menu-user-image", { key: '01ae0ecb3a011a6a8f50566dc5b683fb56f8d387', src: this.imgSrc, alt: this.imgAlt }, h("slot", { key: '5265cabfa2a7533f7e6c8a9a47b1691f8991d3f0', name: "image" })), h("tds-side-menu-user-label", { key: '525ac1f1593b048c266733e24d5dd3f5632ce197', heading: this.heading, subheading: this.subheading })));
13
+ return (h(Host, { key: 'a2e676265c9785f8a5b7b8a5215993e6e2e32920' }, h("tds-side-menu-user-image", { key: 'fb701c03e2eaa91219fc9cb73c6f4c74eb8283e8', src: this.imgSrc, alt: this.imgAlt }, h("slot", { key: '9843e8b1007289ff4195f72582c0999069d1dd39', name: "image" })), h("tds-side-menu-user-label", { key: 'e6f60cd03846a92e7174a08b1e6513f91e71f919', heading: this.heading, subheading: this.subheading })));
14
14
  }
15
15
  static get is() { return "tds-side-menu-user"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class TdsSideMenuUserImage {
12
12
  this.alt = undefined;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'cd4bcc9ba4ce93b20e39ab0782136518a99899a3' }, h("slot", { key: '09bf0b847a54c03474e9d5dcaad8d0a5a347dbfc' }), this.src && h("img", { key: '8d74e3733d69ac50f4fe07557b91aec07aa74605', src: this.src, alt: this.alt })));
15
+ return (h(Host, { key: 'ea8f9c51aefab60fd2c32cee1be0344ec3fc6751' }, h("slot", { key: 'ae8fb3c065544aeb6c4737789e1dfefd5eb3a947' }), this.src && h("img", { key: '7b0b888ccaef7e1f40e82eb46c3bc09b78c92d0f', src: this.src, alt: this.alt })));
16
16
  }
17
17
  static get is() { return "tds-side-menu-user-image"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class TdsSideMenuUserLabel {
5
5
  this.subheading = undefined;
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '5b26493d17e356fa885a7b615ed4bda03e751eb6' }, this.heading, this.subheading && h("div", { key: '2dc511289427ef2ea490fec0308119c42956113c', class: "subheading" }, this.subheading)));
8
+ return (h(Host, { key: '7bac8221992109403d3f0506b7f0125a0b77b6d4' }, this.heading, this.subheading && h("div", { key: 'b9137e36496fb7fc10da067ea61596da2a38fa9d', class: "subheading" }, this.subheading)));
9
9
  }
10
10
  static get is() { return "tds-side-menu-user-label"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -191,6 +191,16 @@ tds-slider input[type=range].tds-slider-native-element {
191
191
  position: relative;
192
192
  cursor: pointer;
193
193
  }
194
+ .tds-slider .tds-slider__track::after {
195
+ content: "";
196
+ position: absolute;
197
+ left: 0;
198
+ right: 0;
199
+ top: -10px;
200
+ bottom: -10px;
201
+ cursor: pointer;
202
+ z-index: 0;
203
+ }
194
204
  .tds-slider .tds-slider__track:focus {
195
205
  outline: 0;
196
206
  }
@@ -210,6 +220,9 @@ tds-slider input[type=range].tds-slider-native-element {
210
220
  left: 0;
211
221
  top: -1px;
212
222
  }
223
+ .tds-slider .tds-slider__track .tds-slider__thumb {
224
+ z-index: 1;
225
+ }
213
226
  .tds-slider.disabled {
214
227
  cursor: not-allowed;
215
228
  }
@@ -322,24 +322,24 @@ export class TdsSlider {
322
322
  }
323
323
  }
324
324
  render() {
325
- return (h("div", { key: 'ed4c71d1701e0711d8b01c015f137f6a3f10457e', class: {
325
+ return (h("div", { key: '0bc25504b575817a7fb374dcedf021bca0c31e1d', class: {
326
326
  'tds-slider-wrapper': true,
327
327
  'read-only': this.readOnly,
328
- } }, h("input", { key: '7d85ba109ec41e45a4ced646cfe092832b2013a7', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, value: this.value, disabled: this.disabled }), h("div", { key: '7c32efe653a6437068026e0b612bd1cdb0fd580d', class: {
328
+ } }, h("input", { key: '5d415abddae83b6faea5c1c7fc7a7fedbc2484aa', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, value: this.value, disabled: this.disabled }), h("div", { key: '55d2251ecc7ff0cc30ff39be15cb065932976c2a', class: {
329
329
  'tds-slider': true,
330
330
  'disabled': this.disabled,
331
331
  'tds-slider-small': this.useSmall,
332
332
  }, ref: (el) => {
333
333
  this.wrapperElement = el;
334
- } }, h("label", { key: '5561410214fda42ddb4553084f312de9943f825b', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: '37340de05febbca285f031bd8df7d9c2588e315d', class: "tds-slider__input-values" }, h("div", { key: 'e973831529eb93eb0b0da6c5f92bd838dfb9bcdb', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '1a710d2d1ffac7533f9bae2908d4341d3b40e2f0', class: "tds-slider__controls" }, h("div", { key: '0a741834782d8e69a7d55e6cd87a3fdf4938d744', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h("tds-icon", { key: '8c67943ac2e15d742726e76c2b4c029d15c20f32', name: "minus", size: "16px" })))), h("div", { key: '96c4229007fbe882e106bcc3deb34f504c9604e3', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: '905fc1a02070f5419f76ec5d60d8f55d89d4650b', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: 'd2ccbea1b6e26ab1855c81e71730bebea0da37d8', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '30c9b4bb6f59631d443345ee6d1edf1973a83d0b', class: "tds-slider__track", ref: (el) => {
334
+ } }, h("label", { key: 'b43f34bbc7cbd7f8082ce17ef0f2b115fb5b41aa', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: '30fcbd13672af1648cc74f48c6df7a1378f9f538', class: "tds-slider__input-values" }, h("div", { key: '5d41657b4ad6d062beba9fd0db6b709056245ec4', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '2ccc0bf2341ade649edfc24212ac5b2b59b21385', class: "tds-slider__controls" }, h("div", { key: 'ce7dcfd5686aadb18115926142e82f313951eb2f', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h("tds-icon", { key: '6e6e6e990cac821b21b7f23690bf26d1a973525a', name: "minus", size: "16px" })))), h("div", { key: 'e64d393d7fe8abf33aa7a75ce7db93ab64f5fcab', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: '85d36d8b772609e6cf72de94bf28ad0342d3558a', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '057feca60e9d4f5ba96f8ad83e937955c48b9ca4', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: 'de922947c8ec868eb652bebd508237f085a2b78a', class: "tds-slider__track", ref: (el) => {
335
335
  this.trackElement = el;
336
- }, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '7acbccae98c481c4cfaeb2dc66d67a2e19575b93', class: "tds-slider__track-fill", ref: (el) => {
336
+ }, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '0318d2221c4b2c5ce460113111d18f63113ac4ec', class: "tds-slider__track-fill", ref: (el) => {
337
337
  this.trackFillElement = el;
338
- } }), h("div", { key: '46a5c3135c5f765d5fb0845372dc3854586fa44d', class: "tds-slider__thumb", ref: (el) => {
338
+ } }), h("div", { key: 'ad87dc2827bb7ccd306d87f675654ae40a74aeb0', class: "tds-slider__thumb", ref: (el) => {
339
339
  this.thumbElement = el;
340
- }, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: 'd39cd29d1e6302f8bd4a3d827797f8822e24b84d', class: "tds-slider__value" }, this.value, h("svg", { key: '5946f90b70b2afb2efc7f3a3bc5817a82ac3ca4a', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '9456df642aca39b94b17bb529ca02e2d6a2fde6c', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: 'b4ca73a085f837d7e87e3334b8e58e5638125118', class: "tds-slider__thumb-inner", ref: (el) => {
340
+ }, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: 'a25f6c8f4f79a4395bf3f0e380546089407dde98', class: "tds-slider__value" }, this.value, h("svg", { key: 'eca8aa480f914cb7984efef83ccec4dde9a907b8', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '64dded325632c7178df7ca035cfbd61403d6b7d0', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '19e520735e16de7defc900e836c3303668a6a68b', class: "tds-slider__thumb-inner", ref: (el) => {
341
341
  this.thumbInnerElement = el;
342
- } })))), this.useInput && (h("div", { key: '6574286ac7764807fd1e18875d6fa39ab7f7b304', class: "tds-slider__input-values" }, h("div", { key: '57a92adf59551f551c4ae06355c276a69b34028a', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '0e1632ca8c9510177d349147749e3162aa46f219', class: "tds-slider__input-field-wrapper" }, h("input", { key: '094d194bce54d1073a5d657f7bc3f30107f5fe41', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { key: '207398a3fd02e11f09c70ebbb8b293d6c16afd1f', class: "tds-slider__controls" }, h("div", { key: 'ca93ce9a55d0db25a3eaefd6e4dbc53106afc895', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { key: '6ab123f8701fdd93580a61c500ae6da658b547fd', name: "plus", size: "16px" })))))));
342
+ } })))), this.useInput && (h("div", { key: '1ec5dab77cbe54a237cb5e951043378b18b25fe3', class: "tds-slider__input-values" }, h("div", { key: '8ce027db6a886c2aa2308b7f189cc9da69406146', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: 'a71a82d159456a59c2c92136d6b6c83faba5fdbf', class: "tds-slider__input-field-wrapper" }, h("input", { key: 'c6ef62b23580b1b6b41b7a35f9e1e7d98267b42d', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { key: '61acb8a3bd20557d89adcdb58eb08b0692be20ac', class: "tds-slider__controls" }, h("div", { key: '74d3353d1edc9406e51f29038e737d0558d983a7', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { key: '44ba3b91c185b97b7f5aeedf48155a24eb0f721f', name: "plus", size: "16px" })))))));
343
343
  }
344
344
  static get is() { return "tds-slider"; }
345
345
  static get originalStyleUrls() {
@@ -5,7 +5,7 @@ export class TdsSpinner {
5
5
  this.variant = 'standard';
6
6
  }
7
7
  render() {
8
- return (h("div", { key: 'cbefb74bd62350f66c0d5995f5c2f04ee51082db', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: 'c287462a00b740ffd8d68b02c1b658ebc7070476', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: '2af78cd10c8586de2d396e230746b5e744fe1060', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
8
+ return (h("div", { key: '95f9c4ff6ad75e990e037debeb13b20f4f9d0b81', "aria-live": "assertive", role: "status", "aria-label": "loading" }, h("svg", { key: '901c96e841db8498d6fe5f0ec42d10afabd02a84', class: `tds-spinner-svg tds-spinner-svg-${this.size}`, "aria-hidden": "true" }, h("circle", { key: 'a71da609265f82835d116bf7836521948355d2fd', class: `tds-spinner-circle tds-spinner-circle-${this.variant}` }))));
9
9
  }
10
10
  static get is() { return "tds-spinner"; }
11
11
  static get originalStyleUrls() {
@@ -39,7 +39,7 @@ export class TdsStep {
39
39
  }
40
40
  }
41
41
  render() {
42
- return (h(Host, { key: '6c7a2673bbe13e518f2052cac2b8bcc948c7c5ea' }, h("div", { key: '7df6c87c7743fcd539abcbde7c2396ba8d7fa4d6', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: 'b2902e638345c79401405b9c16dd6f4d196c8bac', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'b35127501be3ab9cc6f3bf0b9f54709f0d98ec36', class: `label ${this.size} ${this.state}` }, h("slot", { key: '43499d45d42401e384b8c9f20885873d23351110', name: "label" }))))));
42
+ return (h(Host, { key: '7797a3c6062a198dd291bd7fe30af307561c0cf2' }, h("div", { key: '5607a73ab02896e18005862029d868cc3e933c76', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: '443a1126ec4c8bf978c5d498cb044b5f551a53d1', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'd3d5aaed1f221bbdc6e90cbbbd89415e0ec83233', class: `label ${this.size} ${this.state}` }, h("slot", { key: 'b27f1910deacb6070c3702033351240762111235', name: "label" }))))));
43
43
  }
44
44
  static get is() { return "tds-step"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -60,12 +60,12 @@ export class TdsTableBody {
60
60
  }
61
61
  }
62
62
  render() {
63
- return (h(Host, { key: '0e5ac81e32535901ac4940316a474472368cca86', "data-selected-rows": this.multiselectArrayJSON, class: {
63
+ return (h(Host, { key: '0e0b165d1fe72aecfb3ab6f5afcf2c19b917e389', "data-selected-rows": this.multiselectArrayJSON, class: {
64
64
  'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
65
65
  'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
66
66
  'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
67
67
  'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
68
- } }, h("slot", { key: 'c43f3047fc836b0d7f147e00680befd56b25721c' })));
68
+ } }, h("slot", { key: 'abc4a35c7c216a7becde1dba32f0a9eadb9364c4' })));
69
69
  }
70
70
  static get is() { return "tds-table-body"; }
71
71
  static get originalStyleUrls() {
@@ -56,13 +56,16 @@ export class TdsTableBodyCell {
56
56
  }
57
57
  }
58
58
  connectedCallback() {
59
+ var _a;
59
60
  this.tableEl = this.host.closest('tds-table');
60
- this.tableId = this.tableEl.tableId;
61
+ this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
61
62
  }
62
63
  componentWillLoad() {
63
- relevantTableProps.forEach((tablePropName) => {
64
- this[tablePropName] = this.tableEl[tablePropName];
65
- });
64
+ if (this.tableEl) {
65
+ relevantTableProps.forEach((tablePropName) => {
66
+ this[tablePropName] = this.tableEl[tablePropName];
67
+ });
68
+ }
66
69
  if (this.textAlign) {
67
70
  this.textAlignState = this.textAlign;
68
71
  }
@@ -80,13 +83,13 @@ export class TdsTableBodyCell {
80
83
  // Conditionally set padding style
81
84
  padding: paddingStyle,
82
85
  };
83
- return (h(Host, { key: '30e53ca949c66ba4499463aa9e4710b48a5c6a2b', class: {
86
+ return (h(Host, { key: '1a20de405d23d807c9584791793ecc271354ef56', class: {
84
87
  'tds-table__body-cell': true,
85
88
  'tds-table__body-cell--hover': this.activeSorting,
86
89
  'tds-table__compact': this.compactDesign,
87
90
  'tds-table--divider': this.verticalDividers,
88
91
  'tds-table--no-min-width': this.noMinWidth,
89
- }, style: dynamicStyles }, this.cellValue, h("slot", { key: '800cc9978517c7486b87b603e3cff2d576e9a3fc' })));
92
+ }, style: dynamicStyles }, this.cellValue, h("slot", { key: '0954fdb9b7ab354dd9321602b6d4045afc72fc1f' })));
90
93
  }
91
94
  static get is() { return "tds-body-cell"; }
92
95
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class TdsTableBodyInputWrapper {
63
63
  }
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: 'c40a17a264d914934ea4f0e5c4a27b58f06d8055', class: {
66
+ return (h(Host, { key: '83dc46604d7d5607e22684a405224afcb21c463d', class: {
67
67
  'focused-input-wrapper': this.inputFocused,
68
68
  'show-icon': this.showIcon,
69
69
  'tds-table__compact': this.compactDesign,
@@ -56,22 +56,25 @@ export class TdsTableBodyRow {
56
56
  }
57
57
  }
58
58
  connectedCallback() {
59
+ var _a;
59
60
  this.tableEl = this.host.closest('tds-table');
60
- this.tableId = this.tableEl.tableId;
61
+ this.tableId = (_a = this.tableEl) === null || _a === void 0 ? void 0 : _a.tableId;
61
62
  }
62
63
  componentWillLoad() {
63
- relevantTableProps.forEach((tablePropName) => {
64
- this[tablePropName] = this.tableEl[tablePropName];
65
- });
64
+ if (this.tableEl) {
65
+ relevantTableProps.forEach((tablePropName) => {
66
+ this[tablePropName] = this.tableEl[tablePropName];
67
+ });
68
+ }
66
69
  }
67
70
  render() {
68
- return (h(Host, { key: '47571b7325bea2c32791792aee4813ce4364e8eb', tabindex: this.clickable ? '0' : null, class: {
71
+ return (h(Host, { key: 'fa5a532c518a73a9bc4fb3b94475bb6c7fb0530b', tabindex: this.clickable ? '0' : null, class: {
69
72
  'tds-table__row': true,
70
73
  'tds-table__row--selected': this.selected,
71
74
  'tds-table__compact': this.compactDesign,
72
75
  'tds-table--divider': this.verticalDividers,
73
76
  'tds-table__row--clickable': this.clickable,
74
- }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e) }, this.multiselect && (h("td", { key: 'ad8bb61ead16afe42e6100dc4fe842c058556a20', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '37844a08f73175f234168a016a9527d01ad2209e', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: 'e7beb86f278f2476f23c365197addd4f22ce2a69' })));
77
+ }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e) }, this.multiselect && (h("td", { key: 'dd524054a3b9db562b6ffb01a93175b4b8e8b5ff', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'ab960de6521b221af09a5ccdfc0142cd2bf1e72c', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '55a4c8f8397ca5d45676fbd3b9e3ab51ca5bc401' })));
75
78
  }
76
79
  static get is() { return "tds-table-body-row"; }
77
80
  static get encapsulation() { return "shadow"; }
@@ -100,26 +100,26 @@ export class TdsTableBodyRowExpandable {
100
100
  this.sendValue();
101
101
  }
102
102
  render() {
103
- return (h(Host, { key: '802679e89bc19447faa87010bd47d17447c08aca', class: {
103
+ return (h(Host, { key: '6eaab9070f782ad29c6733f1a012eda6720d5f2c', class: {
104
104
  'tds-table__row': true,
105
105
  'tds-table__row-expand--active': this.isExpanded,
106
106
  'tds-table__compact': this.compactDesign,
107
107
  'tds-table--divider': this.verticalDividers,
108
- } }, h("tr", { key: '1c089710478c5effb5f6eb727e22879a80e9003d', class: {
108
+ } }, h("tr", { key: '2dade2d71b2421e82ec4a78568d4a1b5b9d0bb60', class: {
109
109
  'tds-table__row': true,
110
110
  'tds-table__row--expanded': this.isExpanded,
111
- }, part: "row" }, h("td", { key: '6f2b7ad6cffef0c33b9cc177e423eb3edbb5b806', class: {
111
+ }, part: "row" }, h("td", { key: '5748b3aeab6adc7f5c2bb322aa706464b845d798', class: {
112
112
  'tds-table__cell-expand': true,
113
- } }, h("label", { key: 'bfe1cc4c8bb91c3e50b1cc3abb823ce22a8c8cad', class: "tds-table__expand-control-container" }, h("input", { key: '65be9c515bccfa2bd42dfdfa869b764ca863d009', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: 'fbf0df316c42061b1800c2db37a26ba6114a2037', class: "tds-expendable-row-icon" }, h("svg", { key: '26057fa763a2debe0ef180c4e7d7e96fdd4a08a7', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '4d66ac5c686c5c0c9ba3a02dff9d7a89f5f15e1a', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: 'b6b611bc514d9e3e74b7c275c407da8d7b1a5ef4' })), h("tr", { key: '8cb106ff4e548936195a6ffbb18739a07cd17ad1', class: {
113
+ } }, h("label", { key: '185b91d4dd5c5ecf2c2f246474a3147b65deede0', class: "tds-table__expand-control-container" }, h("input", { key: 'eb4f25a58fab25fd686fac95b41425b49b2bf591', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: '74c4bf376c53cdea707921610e383d3c4830f1a1', class: "tds-expendable-row-icon" }, h("svg", { key: '0b5a3c5fc2d86d4809d7a50153d835c06e61e5d4', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '009fac726b97fdf9d2b02b958ee6f62be275e65c', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '06614199b6fde8f643e0bdb34e51e5874e66d689' })), h("tr", { key: '6980ce96e91be2e3b1b96c5115a1aad52aeedf94', class: {
114
114
  'tds-table__row-expand': true,
115
115
  'tds-table__row-expand--expanded': this.isExpanded,
116
- }, part: "expand-row" }, h("td", { key: '248e880b6793a6a36eb738646a07d82d91e15e8b', class: {
116
+ }, part: "expand-row" }, h("td", { key: 'f539ee0187f3b5fa7600110d8655c78d1010afdf', class: {
117
117
  'tds-table__cell-expand': true,
118
118
  'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
119
119
  'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
120
- }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '7489853de5d7a2cbe0168f7e873f7bb0be01a215', style: {
120
+ }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '0af12e1435d9cce526565183f6281c99432d4de2', style: {
121
121
  overflow: this.overflow,
122
- } }, h("slot", { key: '3f4d7715c224969fb2d798432019c3e45685731f', name: "expand-row" }))))));
122
+ } }, h("slot", { key: 'cbfdcaed15bb00884c8c5f54b9eb52aab0c6870a', name: "expand-row" }))))));
123
123
  }
124
124
  static get is() { return "tds-table-body-row-expandable"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -127,12 +127,12 @@ export class TdsTableFooter {
127
127
  }
128
128
  render() {
129
129
  var _a;
130
- return (h(Host, { key: 'ef2cd69929908fa46254c82d0799c1b1a4ee52b3', class: {
130
+ return (h(Host, { key: '9b21be9df87785ac51f00fc0fc739fe4980d8d69', class: {
131
131
  'tds-table--compact': this.compactDesign,
132
132
  'footer__horizontal-scroll': !!this.horizontalScrollWidth,
133
- }, style: this.getStyles() }, h("tr", { key: 'f18eb0b2a49d1d8df9dacc998138dae4e5f8d256', class: "tds-table__footer-row" }, h("td", { key: 'abb1f6f2971c9fa9b68bfb856882817406d0d87f', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '8226ac0aee40b97cad90035ff9aba54b8365b960', class: "tds-table__pagination" }, h("div", { key: '9b604d5ccb7dbdac0cdb1bc96567d7b29d7fa250', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '716b6830e891305611ceb6213bd696298dbcfe12', class: "rows-per-page" }, h("p", { key: 'd6b7bfff5262fcf0174f6b2d92dcfdedda97dfc2' }, "Rows per page"), h("tds-dropdown", { key: '9da6799f30172a1628a4630aa5474456f6351089', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
133
+ }, style: this.getStyles() }, h("tr", { key: '3ec21be1dd53ab45ebeca5081a9c2f0597930dea', class: "tds-table__footer-row" }, h("td", { key: '739364c5f7417c3da2d8eefceb071e5c4df80e25', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: 'edb2e4cb6c893ad947feba4cdd4ca72c283bf6cf', class: "tds-table__pagination" }, h("div", { key: 'ab721dbd4e55d7e66b0ac1344a588e0d7e89ab6a', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: 'f77ccfd43490d91a4853f95177b37206ed091f4f', class: "rows-per-page" }, h("p", { key: 'a654e24545b62882588a765a1a6e9ff0929d7c85' }, "Rows per page"), h("tds-dropdown", { key: 'd72a44a2edb5ea7973bbeff68a7150d8f0b9cfdc', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
134
134
  return (h("tds-dropdown-option", { value: `${value}` }, value));
135
- }))))), h("div", { key: '73c5849886a0144c22b79d31b92a607d8f794483', class: "tds-table__page-selector" }, h("input", { key: 'a297fd5b739df5d4353b045a25ba6e480dbad03e', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: 'f6d1257c745638b2152843d52c494db23d26b2ca', class: "tds-table__footer-text" }, "of ", h("span", { key: '81b8c076cf322798709eafae1fad43b036127ada' }, this.pages), " pages"), h("button", { key: 'd9789d9d6ccd45f1d0c4e4d427c3ed1bb13e7440', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: 'dac60e50f54fd71ae1d89e21e6140bbcbbda6680', name: "skip_backwards", size: "20px" })), h("button", { key: '39810bac01a38c71427192beea48257b7d2dd2b1', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '2987abbbdc7be2c7485d7bfcabcafe94983f5f54', name: "chevron_left", size: "20px" })), h("button", { key: '2252c555a816a4014c130b05ae70d2e25893f460', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'a19c83f25082c82cdac308d3538c274bbce62826', name: "chevron_right", size: "20px" })), h("button", { key: 'e06ec885711559b6e7893d90ada5057292f624e0', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '6a8f4218a45cc5bdbb0c8b0711e802ce5f2dfed1', name: "skip_forward", size: "20px" })))))))));
135
+ }))))), h("div", { key: '74b3ca1895fac9a5f6c40c54cb3802d995a5af64', class: "tds-table__page-selector" }, h("input", { key: 'b1d32a9f834b09dd10c8d160c16d0c4acaa334b3', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '10eec5a6d55728121629358a669b4528a84b20b2', class: "tds-table__footer-text" }, "of ", h("span", { key: '74a89f18a367946a695f6df45cb879f755b52127' }, this.pages), " pages"), h("button", { key: '57c4e14b227692166ff22eb70ffd91f387156a0c', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '85af6d8297fb4d4a16d9569d3b32df843ecb9238', name: "skip_backwards", size: "20px" })), h("button", { key: 'ecbc0e6c623f0e34e0143a5525f85dad0a4ea503', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'd5c9f208529b0c2780f615e83eaa561287e45b57', name: "chevron_left", size: "20px" })), h("button", { key: '7451440c861a8e707dbe3ed138cd480403c9e063', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '09b034dca95d82c3eb1b0738e256580ed60c0be3', name: "chevron_right", size: "20px" })), h("button", { key: 'ed5ebd4705683f7a0693a31c4ced121d1f54f660', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: 'b96224ea1fd759bb944066fbb73bddd64e52ce1d', name: "skip_forward", size: "20px" })))))))));
136
136
  }
137
137
  static get is() { return "tds-table-footer"; }
138
138
  static get encapsulation() { return "shadow"; }
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
82
82
  });
83
83
  }
84
84
  render() {
85
- return (h(Host, { key: '08dd2d38a8df4e8715c780dde55d81d52a26b26f', class: {
85
+ return (h(Host, { key: 'e503496c4c86dd5ea411ac950195047efe2abd68', class: {
86
86
  'tds-table--compact': this.compactDesign,
87
87
  'tds-table--divider': this.verticalDividers,
88
88
  'tds-table--toolbar-available': this.enableToolbarDesign,
89
- } }, h("tr", { key: '5d5d3f8fa7293ce9e8b09fdb241225ce16e4b0d5' }, this.multiselect && (h("th", { key: '7b3034bd06348bc8df55a90fe13991f4910715a2', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '0cae18f657cb4121c8ed21437ff55cefa308a5ff', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '423b6ff577d3b65e7eb4f6e8a5f3f914d810904a', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '74eb896f4b1de85cf9b561b9aa10e6d9e309031c', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: 'a9b444c190c08a4eb53fa634281e2ff591046c5a' }))));
89
+ } }, h("tr", { key: '249ad4aee1ea1bf9ed989afcce31706f829f2372' }, this.multiselect && (h("th", { key: '4766432503a95018ab3af151d13a7cfe431bec20', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'e92d809b3c0e8aeab578c1d744def9dd2bfe9975', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'aed850f2651fcc65baa2d82ac7d33b59b502cedd', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: 'bb89288d56a3911eced41933ab32015c8e333722', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '505c660ccdeec2b563bad55322666c4b69222b7e' }))));
90
90
  }
91
91
  static get is() { return "tds-table-header"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -105,7 +105,7 @@ export class TdsTableHeaderCell {
105
105
  this.host.closest('tds-table').getElementsByTagName('tds-table-toolbar').length >= 1;
106
106
  }
107
107
  render() {
108
- return (h(Host, { key: 'c40924cf774a94e3f78d114eb91632fe57388ba2', class: {
108
+ return (h(Host, { key: '5bfbed888fd12522741f991542a308772799ceee', class: {
109
109
  'tds-table__header-cell': true,
110
110
  'tds-table__header-cell--sortable': this.sortable,
111
111
  'tds-table__header-cell--is-sorted': this.sortedByMyKey,
@@ -63,7 +63,7 @@ export class TdsTableHeaderInputWrapper {
63
63
  }
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: '733f9d487fd530eea4b597368c5ecdc46fd8dedd', class: {
66
+ return (h(Host, { key: '04c6b46892b719c0f66525ddcacae57dceb3b9ff', class: {
67
67
  'focused-input-wrapper': this.inputFocused,
68
68
  'show-icon': this.showIcon,
69
69
  'tds-table__compact': this.compactDesign,
@@ -63,10 +63,10 @@ export class TdsTableToolbar {
63
63
  return styles;
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: 'c3488722c0a27313efa13acafeab81ca23c6c765', class: {
66
+ return (h(Host, { key: '6350a9feb5812921105edb7bb5951d03d0c32a24', class: {
67
67
  'tds-table--compact': this.compactDesign,
68
68
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
69
- }, style: this.getStyles() }, h("div", { key: '688e2903c9b447cb0770a8ee15dc8d1c4d3608d3', class: "tds-table__upper-bar-flex" }, h("caption", { key: 'a9c57a3b3cdbc61d7176163310cd8acda8ed58a2', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'ae28004762b94923faa433a9f13245ab8595493b', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '0d85e682ee8a733fc61df0855ed1a56bd7356069', class: "tds-table__searchbar" }, h("input", { key: '50b9c945f34cb13d440ed448f8be58ea2900f9f7', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: 'eff520922329f0379f22cb31171b81887c6bbdf7', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '09c7d084aed40ec2a3a25dc1ca86d978b8ef39ec', name: "search", size: "20px" })))), h("slot", { key: '1b7dc61ec5ec9d5ac7e5ea116cedfd6a773d5628', name: "end" })))));
69
+ }, style: this.getStyles() }, h("div", { key: '1cb6c95719546ea0bbde729e6b26ab34dd3ae55f', class: "tds-table__upper-bar-flex" }, h("caption", { key: '37ca396778dbe93ca622564f4374a0561348c243', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'aa129f0aca461d85dfad97fa0682975787512d53', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '447cd5e4ad047f1424180e7456093b43f5b23e09', class: "tds-table__searchbar" }, h("input", { key: 'c9798ebec2c279516f34bb8c25912e7959c3abfd', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: 'a6c16f3162e654aff742634a4bb77eb8a886fbad', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: 'c1bcb6cfa93140a3e1b2cced582cdb62eb184623', name: "search", size: "20px" })))), h("slot", { key: 'fd86cec3c8e2cbd8c0198005883c1d2b64acd51b', name: "end" })))));
70
70
  }
71
71
  static get is() { return "tds-table-toolbar"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -17,8 +17,10 @@ export class TdsFolderTab {
17
17
  this.selected = selected;
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '37ae53ec0d9c0bc3674365d14d61c6b1fbafe168', role: "listitem" }, h("div", { key: 'a977243b499569668ef7428829644f3f2ca23033', class: `${this.disabled ? 'disabled' : ''}
21
- ${this.selected ? 'selected' : ''}`, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '1e8b9cc10f032a64ffef70bb061f57ddc8a4a1a5' }))));
20
+ return (h(Host, { key: '919cd453da1e3649fb5da8783ab8fabc47322d47', role: "listitem" }, h("div", { key: 'f00bf3eea1ee0d670d8989e23e27d6c54fbe7c17', class: {
21
+ selected: this.selected,
22
+ disabled: this.disabled,
23
+ }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '3e3bd62fd02c922fa0592dc0f2dae5a8b49d6c4c' }))));
22
24
  }
23
25
  static get is() { return "tds-folder-tab"; }
24
26
  static get encapsulation() { return "shadow"; }
@@ -160,9 +160,9 @@ export class TdsFolderTabs {
160
160
  this.removeEventListenerFromTabs();
161
161
  }
162
162
  render() {
163
- return (h(Host, { key: '3164044436f7029d85c4eed0ff7e0cc2b4e35752', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '59beaa0776ff83a30e84b69c5715a2f0d62ec6d9', class: "wrapper", ref: (el) => {
163
+ return (h(Host, { key: '19b773750f13304194341caf79242c7be95b41be', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '915b525f1d8fc67f3edf82f0841ea89cfd8424bc', class: "wrapper", ref: (el) => {
164
164
  this.navWrapperElement = el;
165
- } }, h("button", { key: '0bd461d469592983e08043c23e295c21df04c80f', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'd21448eea9cab4d73087fec72d29270b52bf0999', name: "chevron_left", size: "20px" })), h("slot", { key: 'efe348a98b964486a73d1aac235ce894277c6249', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'ea819f59668994e328410941b5b7455620ecb321', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'c52241bb7c77eabbdb8de5a19bb4400c32aa2062', name: "chevron_right", size: "20px" })))));
165
+ } }, h("button", { key: '806f5ce973b4b9bf842ae4c3fdf42c6160255db4', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '4762c8fcfb5f7bb9a67ce2515fc3cab557180ca8', name: "chevron_left", size: "20px" })), h("slot", { key: '498f04374cb1ad240df2a6e02830eba9bc6c3c8d', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '47f114815e98c22f26b021df2b5f53f4498ba24b', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'b4f3a0e137c84b996bdf7eb7e497e788637ac401', name: "chevron_right", size: "20px" })))));
166
166
  }
167
167
  static get is() { return "tds-folder-tabs"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -12,8 +12,11 @@ export class TdsInlineTab {
12
12
  this.selected = selected;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'd15c7d658b9f90d01743d8f4fe6d14714a73e3f8', role: "listitem" }, h("div", { key: 'cc3324aa2ee065c9c9fd78c0e55c5c096a975d4d', class: `inline-tab-item ${this.selected ? 'selected' : ''}
16
- ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '68bed317582717cb72d40f6b91d304a3a3df9d47' }))));
15
+ return (h(Host, { key: '4bb1d313b0d2b7e3bc612474201b0a3e06dd6555', role: "listitem" }, h("div", { key: 'c49a2745c5c6de9276807e670c9886130f5e5dbd', class: {
16
+ 'inline-tab-item': true,
17
+ 'selected': this.selected,
18
+ 'disabled': this.disabled,
19
+ } }, h("slot", { key: 'caa1851fd0a992f38e04fb4872e52c90a3731e6a' }))));
17
20
  }
18
21
  static get is() { return "tds-inline-tab"; }
19
22
  static get encapsulation() { return "shadow"; }
@@ -167,9 +167,9 @@ export class TdsInlineTabs {
167
167
  this.removeEventListenerFromTabs();
168
168
  }
169
169
  render() {
170
- return (h(Host, { key: '71f42e22f75a1fe4ca4f906b2151ed1a4c324e51', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '33e457be72862e642f2a867243f6325f94d210e8', class: "wrapper", ref: (el) => {
170
+ return (h(Host, { key: 'cd482509c07b6074d81a35eb9447ef561ce7c84a', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '63590b1fec8637f1000897f62962dae2efdcc05d', class: "wrapper", ref: (el) => {
171
171
  this.navWrapperElement = el;
172
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '786a1655c5efe5f2a079c62cb89300a99149c3fb', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'df2f3798cb6cb4ea446932cdf8ce84ac068c57ff', name: "chevron_left", size: "20px" })), h("slot", { key: 'b5e14ca573a2ac7a4e20defd05b412a941e72f0b', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'da0b823e674c5eacd325f69e98e14f4def9c477f', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '2bdd7110bb4b22c4dfabc1a5ef2acf9e7592b9b9', name: "chevron_right", size: "20px" })))));
172
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '349a8cc729442d4307f800c69abe36adeb7f7e0c', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'feacf20411c38c0b9d80b25a1a19ef89e812b81d', name: "chevron_left", size: "20px" })), h("slot", { key: '78727b46e6adc0c516cbbfb4dc072f59330c8635', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '580d1416f7329133c58f5bfaaa7169623e1dd001', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'f9d1c4f717303f0c1c2eb4b33b361be8fa2f15ab', name: "chevron_right", size: "20px" })))));
173
173
  }
174
174
  static get is() { return "tds-inline-tabs"; }
175
175
  static get encapsulation() { return "shadow"; }
@@ -12,8 +12,8 @@ export class TdsNavigationTab {
12
12
  this.selected = selected;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '46ce3b8e878eca4c970f29371cb17a0c7ec1789a', role: "listitem" }, h("div", { key: '51331675d8898d5bca9758ed9c09194c6dbfde23', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
16
- ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'd326748125d8e6a366268c581139bb859ef8feeb' }))));
15
+ return (h(Host, { key: '58749f71c75a0026b58645df3ccaa6ebd5e5dc9f', role: "listitem" }, h("div", { key: 'ed4cc04c74a69470c95f9ec3ba034c7ad6b9f2d3', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
16
+ ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'ee7c740413087d0da51bdfc8da4509d482f1faeb' }))));
17
17
  }
18
18
  static get is() { return "tds-navigation-tab"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -167,9 +167,15 @@ export class TdsNavigationTabs {
167
167
  this.removeEventListenerFromTabs();
168
168
  }
169
169
  render() {
170
- return (h(Host, { key: 'fa440271f692e4893d4374ccd081308b5b4623e5', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '434fba65da78ac84c018252c52440d20984ab7b3', class: "wrapper", ref: (el) => {
170
+ return (h(Host, { key: '0ca3544da4ef897b44bd2f55b0dc03edf7921818', role: "list", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '3eff9e0fc6b416171d0928e3e1933fed626fb3ec', class: "wrapper", ref: (el) => {
171
171
  this.navWrapperElement = el;
172
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '29d8d76a06c82f06b1c2aa15a3d023d238b05f10', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '1936dee5d3476a0d2c46b4d64a7a26848320c9d7', name: "chevron_left", size: "20px" })), h("slot", { key: '9e4cffce9188a7d517636e4b32ef8574a8bea78a', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '3af05aee3183425bdcd5c2f5f65f0c8920ba8622', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '075726ba4074a4e9452248115968d3b21104e929', name: "chevron_right", size: "20px" })))));
172
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '730023259356eec4ec037e56a495dfea4f8d469c', class: {
173
+ 'scroll-left-button': true,
174
+ 'show': this.showLeftScroll,
175
+ }, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '5e601f5e4a3aa308e5a5a636fc08c7b32387dbd9', name: "chevron_left", size: "20px" })), h("slot", { key: '43c9228e6c328b4cc651a9ffbd7dd8dbbfd592fe', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '7eca0796fed3a98043abbbe306c29eed10cd8c5d', class: {
176
+ 'scroll-right-button': true,
177
+ 'show': this.showRightScroll,
178
+ }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '9b84ae33c083f41ce6d8a83da1f1edb37c95de55', name: "chevron_right", size: "20px" })))));
173
179
  }
174
180
  static get is() { return "tds-navigation-tabs"; }
175
181
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,5 @@
1
- import hasSlot from "../../utils/hasSlot";
2
1
  import { h } from "@stencil/core";
2
+ import hasSlot from "../../utils/hasSlot";
3
3
  /**
4
4
  * @slot prefix - Slot for the prefix in the component.
5
5
  * @slot suffix - Slot for the suffix in the component. Suffix is hidden when the input is in readonly state.
@@ -54,7 +54,7 @@ export class TdsTextField {
54
54
  var _a;
55
55
  const usesPrefixSlot = hasSlot('prefix', this.host);
56
56
  const usesSuffixSlot = hasSlot('suffix', this.host);
57
- return (h("div", { key: 'fbbf85f381d4322a3806e26fd0d5fc99f418798d', class: {
57
+ return (h("div", { key: '9a746f9a955c02adbc1154e02dc82fc6062d4eeb', class: {
58
58
  'form-text-field': true,
59
59
  'form-text-field-nomin': this.noMinWidth,
60
60
  'text-field-focus': this.focusInput && !this.disabled,
@@ -68,12 +68,14 @@ export class TdsTextField {
68
68
  'form-text-field-sm': this.size === 'sm',
69
69
  'form-text-field-error': this.state === 'error',
70
70
  'form-text-field-success': this.state === 'success',
71
- } }, this.labelPosition === 'outside' && (h("div", { key: '56af5e0e26cd43abbbea49de990bc07c6bb5b18c', class: "text-field-label-outside" }, h("div", { key: '874e3561ccf253e30f6b09902d76174293a1f332' }, this.label))), h("div", { key: 'fc43c855f7f374a2761feda34a6374be1a37ff90', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '7b5590cf8cb856942e30fd80c3115bf133062998', class: {
71
+ } }, this.labelPosition === 'outside' && (h("div", { key: '4a6a898131f86115c6cbf07f6e67058ac548fdfb', class: "text-field-label-outside" }, h("div", { key: '868b1372153ac1d27e0d407a5199c8cb6659d21a' }, this.label))), h("div", { key: '917a0691663c81418cb8adfc2963e2514f6a228d', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: 'e11cb3a273a9899972b035b1296deda841145928', class: {
72
72
  'text-field-slot-wrap-prefix': true,
73
73
  'text-field-error': this.state === 'error',
74
74
  'text-field-success': this.state === 'success',
75
75
  'text-field-default': this.state === 'default',
76
- } }, h("slot", { key: 'df3ff67a7f8195e3317c6bef103ee19b98628fe3', name: "prefix" }))), h("div", { key: '7727642d6c2bc664785043f730d652a2ca21657c', class: "text-field-input-container" }, h("input", { key: '58ec947e5d401cc40224be16bd987c9d1a31237f', ref: (inputEl) => (this.textInput = inputEl), class: {
76
+ } }, h("slot", { key: 'a6336094ef22454c6d7b782b78690773dfcc444a', name: "prefix" }))), h("div", { key: 'cee83edde0b7189258aa7f1aaa3573d27b4e0d06', class: "text-field-input-container" }, h("input", { key: '27c52fc9ffa89f57578d152a5eaf8bd25c4b48d7', ref: (inputEl) => {
77
+ this.textInput = inputEl;
78
+ }, class: {
77
79
  'text-field-input': true,
78
80
  'text-field-input-sm': this.size === 'sm',
79
81
  'text-field-input-md': this.size === 'md',
@@ -86,16 +88,16 @@ export class TdsTextField {
86
88
  if (!this.readOnly) {
87
89
  this.handleBlur(event);
88
90
  }
89
- } }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '4ff4a198eea2803a08f3336c860a07788a4f7ca1', class: "text-field-label-inside" }, this.label))), h("div", { key: '734de1fb01e8f9c0a270af04d567b2fe0d891172', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: 'acd385a1e926ac1c66e4185e156ab47f796d3c5f', class: {
91
+ } }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '00fdc9f7231bb1991afb37d3477ac6267594ccb5', class: "text-field-label-inside" }, this.label))), h("div", { key: 'a5c349a2e3695122244feb4daacf9c0a523656d6', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: 'f4812d2d9162330bb9e9a480a6f1c6fb0f1603b4', class: {
90
92
  'text-field-slot-wrap-suffix': true,
91
93
  'text-field-error': this.state === 'error',
92
94
  'text-field-success': this.state === 'success',
93
95
  'text-field-default': this.state === 'default',
94
96
  'tds-u-display-none': this.readOnly,
95
- } }, h("slot", { key: '98e3ad6a1083ace81fd102a4386236321372158f', name: "suffix" }))), h("span", { key: 'c1020a1fb2ea2ec06f1cc3478328ff09f5dde12f', class: "text-field-icon__readonly" }, h("tds-icon", { key: '2fa99d139b21034cff9699f8ca359b85333c048b', name: "edit_inactive", size: "20px" })), h("span", { key: '1bef6d45afd4586fca10e188b2ccadd4504750fc', class: "text-field-icon__readonly-label" }, "This field is non-editable")), (this.helper || this.maxLength > 0) && (h("div", { key: 'b43c0ed2778672b5ea587214f45f353425030a45', class: "text-field-helper" }, this.state === 'error' && (h("div", { key: '6943b70f8ee2fe98a7ade493f62b1be9245c053b', class: "text-field-helper-error-state" }, h("tds-icon", { key: '1e4a5820aa41c0918aee84488476afa2d9bb27c4', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, this.maxLength > 0 && (h("div", { key: 'e0f6a4ba6b781e1307f5abba906abba9a6631a74', class: {
97
+ } }, h("slot", { key: '2583307a640ff3b1badd3b528db408bb9aeb4ca2', name: "suffix" }))), h("span", { key: '04fe8fb44155eacd3a2e24e84783f2145f244c9c', class: "text-field-icon__readonly" }, h("tds-icon", { key: '68a92868b1c5828c41f36eaddd97532e14a82f68', name: "edit_inactive", size: "20px" })), h("span", { key: 'a7f89ce9d3bab3b89787a9baf59c35dba06f023e', class: "text-field-icon__readonly-label" }, "This field is non-editable")), (this.helper || this.maxLength > 0) && (h("div", { key: 'ba89f1650e5ebbb45f0dbc06548ed86add1d4971', class: "text-field-helper" }, this.state === 'error' && (h("div", { key: 'dc9368caca14d7fdb4e0ad061181352daeae235b', class: "text-field-helper-error-state" }, h("tds-icon", { key: '07d99458b372b6edb1f9268dcc66f88840005a92', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, this.maxLength > 0 && (h("div", { key: 'c1d143899e66bddb364322537ab3940f7498d63d', class: {
96
98
  'text-field-textcounter': true,
97
99
  'text-field-textcounter-disabled': this.disabled,
98
- } }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: 'ae2a52268ca86705b853043fb35bc0da19c7e2ae', class: {
100
+ } }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '9bd585768330df043bdcba388fbfb13ec087522d', class: {
99
101
  'text-field-textcounter-divider': true,
100
102
  'text-field-textcounter-disabled': this.disabled,
101
103
  } }, ' ', "/", ' '), this.maxLength))))));
@@ -38,17 +38,19 @@ export class TdsTextarea {
38
38
  }
39
39
  render() {
40
40
  var _a;
41
- return (h("div", { key: 'fc3599b1d61b75327840068968001f2df6ec6b05', class: `
42
- textarea-container
43
- ${this.labelPosition === 'inside' ? 'textarea-label-inside' : ''}
44
- ${this.focusInput ? 'textarea-focus' : ''}
45
- ${this.disabled ? 'textarea-disabled' : ''}
46
- ${this.readOnly ? 'textarea-readonly' : ''}
47
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}
48
- ${this.value ? 'textarea-data' : ''}
49
- ${this.state === 'error' || this.state === 'success' ? `textarea-${this.state}` : ''}
50
- ${this.noMinWidth ? 'no-min-width' : ''}
51
- ` }, this.labelPosition !== 'no-label' && h("span", { key: '5ac3d5ef752a55f241865fe51bdb7aa96416731b', class: 'textarea-label' }, this.label), h("div", { key: '310c4a2a51391c366e17eca98ee22903d1620b16', class: "textarea-wrapper" }, h("textarea", { key: '4b83ff31486dea966a4a4a9df35d83043ad1a616', class: 'textarea-input', ref: (inputEl) => (this.textEl = inputEl), disabled: this.disabled, readonly: 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) => {
41
+ return (h("div", { key: '20555ab5f931d14f485a30e1dd817143ae5a5b88', class: {
42
+ 'textarea-container': true,
43
+ 'textarea-label-inside': this.labelPosition === 'inside',
44
+ 'textarea-focus': this.focusInput,
45
+ 'textarea-disabled': this.disabled,
46
+ 'textarea-readonly': this.readOnly,
47
+ [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null,
48
+ 'textarea-data': this.value !== '',
49
+ [`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
50
+ 'no-min-width': this.noMinWidth,
51
+ } }, this.labelPosition !== 'no-label' && h("span", { key: '5da3048c718ddb65116fdf42d4b11a5f0718c1db', class: 'textarea-label' }, this.label), h("div", { key: '5c7103748771190a3e761cf0f2979c92d68432b4', class: "textarea-wrapper" }, h("textarea", { key: '97a036edf21ec7dad9f52abea52562b6a55ca109', class: 'textarea-input', ref: (inputEl) => {
52
+ this.textEl = inputEl;
53
+ }, disabled: this.disabled, readonly: 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) => {
52
54
  if (!this.readOnly) {
53
55
  this.handleFocus(event);
54
56
  }
@@ -56,7 +58,7 @@ export class TdsTextarea {
56
58
  if (!this.readOnly) {
57
59
  this.handleBlur(event);
58
60
  }
59
- }, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event) }), h("span", { key: '7718db97412e86796819e23584037833d762d6ce', class: "textarea-resizer-icon" }, h("svg", { key: '2b59b518d8bb6a61f6cbbbfb9bd2ec67938e91b6', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '99c42c62b8e6a17c6acf6824d6e08ae88a3ed2bf', "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" }))), h("span", { key: '5c4a4cad4aa805df35ce264c34f9cdde678b1804', class: "textarea-icon__readonly" }, h("tds-icon", { key: 'c5fe3371e08431c38a3979c226f64b79c35fed23', name: "edit_inactive" })), h("span", { key: 'e4261be8ce8cf8fc9cba5f25e6d4c52de4503f67', class: "textarea-icon__readonly-label" }, "This field is non-editable")), h("span", { key: 'a58d64d87a5f971f3e51356a839beea73dfff4b4', class: 'textarea-helper' }, this.state === 'error' && h("tds-icon", { key: '39dfd4c2c356817e5f3b39af7f4e90334de79ac0', name: "error", size: "16px" }), this.helper), this.maxLength > 0 && (h("div", { key: '8df0493b694ddce5cd3669f00527329df2c29e06', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '8604248491d68a2b70531c028661573de48deb27', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
61
+ }, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event) }), h("span", { key: 'bc1422693b7be09e7057e11b76ae781d7b0f4fad', class: "textarea-resizer-icon" }, h("svg", { key: '3836f33d521ec1f35a6dceb3240a61bc750ca875', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '75f1a8d478002b9b3a1febd3ff433c14b4f6470f', "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" }))), h("span", { key: '43899208bb06e613eff34d4a9d73b7003d4e0df4', class: "textarea-icon__readonly" }, h("tds-icon", { key: 'd8610ee288753d67e20571fce9707d9b9f2e4ccc', name: "edit_inactive" })), h("span", { key: '208ada20b1053f93db759d7cc9c7dc653735135a', class: "textarea-icon__readonly-label" }, "This field is non-editable")), h("span", { key: 'f5aee4903c0bf3e7612af6dc84eab08ce0e09180', class: 'textarea-helper' }, this.state === 'error' && h("tds-icon", { key: '4581239d829a9e07dc91f3352042220ab3d334b0', name: "error", size: "16px" }), this.helper), this.maxLength > 0 && (h("div", { key: 'b06905f370babfe0470e914df045c72ef7e12041', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: 'd45f87ccf1ccf4198276b3e2c7fe465aeeb9fe17', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
60
62
  }
61
63
  static get is() { return "tds-textarea"; }
62
64
  static get encapsulation() { return "scoped"; }