@scania/tegel 1.38.0 → 1.40.0-table-pagination-rowsperpage-reset-bug-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 (444) hide show
  1. package/dist/cjs/getAriaInvalid-66a2eade.js +25 -0
  2. package/dist/cjs/index-ca8040ad.js +6 -10
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
  5. package/dist/cjs/tds-body-cell.cjs.entry.js +2 -2
  6. package/dist/cjs/tds-button_2.cjs.entry.js +92 -0
  7. package/dist/cjs/tds-card.cjs.entry.js +10 -3
  8. package/dist/cjs/tds-chip.cjs.entry.js +1 -1
  9. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +4 -4
  10. package/dist/cjs/tds-datetime.cjs.entry.js +2 -2
  11. package/dist/cjs/tds-dropdown_2.cjs.entry.js +56 -23
  12. package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
  13. package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
  14. package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
  15. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  16. package/dist/cjs/tds-footer.cjs.entry.js +2 -2
  17. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +1 -1
  18. package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
  19. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +3 -3
  20. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +1 -1
  21. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  22. package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -4
  23. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  24. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  25. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +1 -1
  26. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +1 -1
  29. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +1 -1
  31. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  32. package/dist/cjs/tds-header-title.cjs.entry.js +1 -1
  33. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-icon.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-inline-tab.cjs.entry.js +3 -3
  36. package/dist/cjs/tds-inline-tabs.cjs.entry.js +3 -3
  37. package/dist/cjs/tds-link.cjs.entry.js +3 -3
  38. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  39. package/dist/cjs/tds-modal.cjs.entry.js +2 -2
  40. package/dist/cjs/tds-navigation-tab.cjs.entry.js +3 -3
  41. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +4 -4
  42. package/dist/cjs/tds-popover-canvas.cjs.entry.js +6 -3
  43. package/dist/cjs/tds-popover-core.cjs.entry.js +1 -1
  44. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +2 -2
  45. package/dist/cjs/tds-popover-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/tds-radio-button.cjs.entry.js +1 -1
  47. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  48. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -6
  49. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +3 -3
  50. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +2 -2
  51. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +3 -3
  52. package/dist/cjs/tds-side-menu-item.cjs.entry.js +3 -3
  53. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +1 -1
  54. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +2 -2
  55. package/dist/cjs/tds-side-menu-user.cjs.entry.js +1 -1
  56. package/dist/cjs/tds-slider.cjs.entry.js +39 -10
  57. package/dist/cjs/tds-spinner.cjs.entry.js +1 -1
  58. package/dist/cjs/tds-step.cjs.entry.js +1 -1
  59. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +1 -1
  60. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -7
  61. package/dist/cjs/tds-table-body-row.cjs.entry.js +2 -2
  62. package/dist/cjs/tds-table-body.cjs.entry.js +2 -2
  63. package/dist/cjs/tds-table-footer.cjs.entry.js +21 -5
  64. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
  65. package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
  66. package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
  67. package/dist/cjs/tds-tag.cjs.entry.js +1 -1
  68. package/dist/cjs/tds-text-field.cjs.entry.js +8 -5
  69. package/dist/cjs/tds-textarea.cjs.entry.js +5 -3
  70. package/dist/cjs/tds-toast.cjs.entry.js +4 -4
  71. package/dist/cjs/tds-toggle.cjs.entry.js +3 -3
  72. package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
  73. package/dist/cjs/tegel.cjs.js +1 -1
  74. package/dist/collection/components/accordion/accordion-item/accordion-item.css +9 -30
  75. package/dist/collection/components/button/button.css +14 -14
  76. package/dist/collection/components/card/card.css +12 -0
  77. package/dist/collection/components/card/card.js +45 -2
  78. package/dist/collection/components/chip/chip.css +23 -15
  79. package/dist/collection/components/datetime/datetime.css +21 -96
  80. package/dist/collection/components/datetime/datetime.js +1 -1
  81. package/dist/collection/components/divider/divider.js +1 -1
  82. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +1 -1
  83. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +13 -3
  84. package/dist/collection/components/dropdown/dropdown.js +56 -20
  85. package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
  86. package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
  87. package/dist/collection/components/footer/footer.js +2 -2
  88. package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
  89. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
  90. package/dist/collection/components/header/header-dropdown/header-dropdown.css +5 -0
  91. package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
  92. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
  93. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +5 -3
  94. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
  95. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
  96. package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
  97. package/dist/collection/components/header/header-item/header-item.css +15 -8
  98. package/dist/collection/components/header/header-item/header-item.js +2 -2
  99. package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
  100. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
  101. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
  102. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
  103. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
  104. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
  105. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
  106. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  107. package/dist/collection/components/header/header-title/header-title.js +1 -1
  108. package/dist/collection/components/header/header.js +1 -1
  109. package/dist/collection/components/icon/icon.js +1 -1
  110. package/dist/collection/components/link/link.css +13 -15
  111. package/dist/collection/components/link/link.js +2 -2
  112. package/dist/collection/components/message/message.css +9 -9
  113. package/dist/collection/components/message/message.js +2 -2
  114. package/dist/collection/components/modal/modal.js +2 -2
  115. package/dist/collection/components/popover-canvas/popover-canvas.css +1 -1
  116. package/dist/collection/components/popover-canvas/popover-canvas.js +26 -10
  117. package/dist/collection/components/popover-core/popover-core.js +1 -1
  118. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
  119. package/dist/collection/components/popover-menu/popover-menu.js +3 -3
  120. package/dist/collection/components/radio-button/radio-button.js +1 -1
  121. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  122. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -6
  123. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
  124. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
  125. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +84 -5
  126. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
  127. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +82 -5
  128. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
  129. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
  130. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
  131. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
  132. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
  133. package/dist/collection/components/slider/slider.css +24 -28
  134. package/dist/collection/components/slider/slider.js +38 -9
  135. package/dist/collection/components/spinner/spinner.js +1 -1
  136. package/dist/collection/components/stepper/step/step.js +1 -1
  137. package/dist/collection/components/table/table-body/table-body.js +2 -2
  138. package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
  139. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -1
  140. package/dist/collection/components/table/table-body-row/table-body-row.js +2 -2
  141. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +7 -7
  142. package/dist/collection/components/table/table-footer/table-footer.js +24 -5
  143. package/dist/collection/components/table/table-header/table-header.js +2 -2
  144. package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
  145. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
  146. package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
  147. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
  148. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
  149. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +11 -12
  150. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
  151. package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +9 -2
  152. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
  153. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +1 -1
  154. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
  155. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +4 -4
  156. package/dist/collection/components/tag/tag.js +1 -1
  157. package/dist/collection/components/text-field/text-field.js +46 -7
  158. package/dist/collection/components/textarea/textarea.js +5 -3
  159. package/dist/collection/components/toast/toast.css +7 -7
  160. package/dist/collection/components/toast/toast.js +3 -3
  161. package/dist/collection/components/toggle/toggle.js +3 -3
  162. package/dist/collection/components/tooltip/tooltip.js +2 -2
  163. package/dist/collection/utils/getAriaInvalid.js +21 -0
  164. package/dist/components/{p-40253725.js → p-04a014cf.js} +3 -3
  165. package/dist/components/{p-ea381f94.js → p-1dafdc8c.js} +3 -3
  166. package/dist/components/{p-94bfc9f4.js → p-2a2d66fe.js} +45 -21
  167. package/dist/components/{p-d3866be7.js → p-3308d5fa.js} +1 -1
  168. package/dist/components/{p-6eecf159.js → p-381677ec.js} +1 -1
  169. package/dist/components/p-3a7e4d0d.js +192 -0
  170. package/dist/components/{p-927cf777.js → p-3f2187a4.js} +1 -1
  171. package/dist/components/{p-df84759a.js → p-63552d0e.js} +8 -4
  172. package/dist/components/{p-d64878cb.js → p-6ef207b2.js} +15 -5
  173. package/dist/components/{p-6adb1ce3.js → p-7c3348eb.js} +4 -4
  174. package/dist/components/{p-d0cf68be.js → p-9336db16.js} +1 -1
  175. package/dist/components/p-bbf9492a.js +23 -0
  176. package/dist/components/{p-b609e7a7.js → p-bff614d5.js} +1 -1
  177. package/dist/components/p-c62b61fe.js +91 -0
  178. package/dist/components/{p-63437b77.js → p-d10d21bd.js} +4 -4
  179. package/dist/components/{p-71c3dfe9.js → p-de86852a.js} +3 -3
  180. package/dist/components/{p-9ad61cb5.js → p-e1622f4a.js} +1 -1
  181. package/dist/components/{p-b390ece5.js → p-f7d94947.js} +1 -1
  182. package/dist/components/tds-accordion-item.js +2 -2
  183. package/dist/components/tds-banner.js +1 -1
  184. package/dist/components/tds-body-cell.js +2 -2
  185. package/dist/components/tds-button.js +1 -89
  186. package/dist/components/tds-card.js +27 -6
  187. package/dist/components/tds-chip.js +1 -1
  188. package/dist/components/tds-core-header-item.js +1 -1
  189. package/dist/components/tds-datetime.js +3 -3
  190. package/dist/components/tds-divider.js +1 -1
  191. package/dist/components/tds-dropdown-option.js +1 -1
  192. package/dist/components/tds-dropdown.js +1 -1
  193. package/dist/components/tds-folder-tab.js +2 -2
  194. package/dist/components/tds-folder-tabs.js +3 -3
  195. package/dist/components/tds-footer-group.js +4 -4
  196. package/dist/components/tds-footer-item.js +1 -1
  197. package/dist/components/tds-footer.js +2 -2
  198. package/dist/components/tds-header-brand-symbol.js +3 -3
  199. package/dist/components/tds-header-cell.js +2 -2
  200. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  201. package/dist/components/tds-header-dropdown-list-user.js +1 -1
  202. package/dist/components/tds-header-dropdown-list.js +1 -1
  203. package/dist/components/tds-header-dropdown.js +9 -9
  204. package/dist/components/tds-header-hamburger.js +4 -4
  205. package/dist/components/tds-header-item.js +1 -1
  206. package/dist/components/tds-header-launcher-button.js +1 -1
  207. package/dist/components/tds-header-launcher-grid-item.js +1 -1
  208. package/dist/components/tds-header-launcher-grid-title.js +1 -1
  209. package/dist/components/tds-header-launcher-grid.js +1 -1
  210. package/dist/components/tds-header-launcher-list-item.js +2 -2
  211. package/dist/components/tds-header-launcher-list-title.js +1 -1
  212. package/dist/components/tds-header-launcher-list.js +2 -2
  213. package/dist/components/tds-header-launcher.js +8 -8
  214. package/dist/components/tds-header-title.js +1 -1
  215. package/dist/components/tds-header.js +1 -1
  216. package/dist/components/tds-icon.js +1 -1
  217. package/dist/components/tds-inline-tab.js +3 -3
  218. package/dist/components/tds-inline-tabs.js +4 -4
  219. package/dist/components/tds-link.js +3 -3
  220. package/dist/components/tds-message.js +4 -4
  221. package/dist/components/tds-modal.js +3 -3
  222. package/dist/components/tds-navigation-tab.js +3 -3
  223. package/dist/components/tds-navigation-tabs.js +5 -5
  224. package/dist/components/tds-popover-canvas.js +1 -1
  225. package/dist/components/tds-popover-core.js +1 -1
  226. package/dist/components/tds-popover-menu-item.js +2 -2
  227. package/dist/components/tds-popover-menu.js +4 -4
  228. package/dist/components/tds-radio-button.js +1 -1
  229. package/dist/components/tds-side-menu-close-button.js +2 -2
  230. package/dist/components/tds-side-menu-collapse-button.js +5 -7
  231. package/dist/components/tds-side-menu-dropdown-list-item.js +3 -3
  232. package/dist/components/tds-side-menu-dropdown-list.js +2 -2
  233. package/dist/components/tds-side-menu-dropdown.js +5 -5
  234. package/dist/components/tds-side-menu-item.js +1 -1
  235. package/dist/components/tds-side-menu-overlay.js +1 -1
  236. package/dist/components/tds-side-menu-user-image.js +1 -1
  237. package/dist/components/tds-side-menu-user-label.js +1 -1
  238. package/dist/components/tds-side-menu-user.js +3 -3
  239. package/dist/components/tds-slider.js +59 -12
  240. package/dist/components/tds-spinner.js +1 -1
  241. package/dist/components/tds-step.js +2 -2
  242. package/dist/components/tds-table-body-input-wrapper.js +2 -2
  243. package/dist/components/tds-table-body-row-expandable.js +7 -7
  244. package/dist/components/tds-table-body-row.js +2 -2
  245. package/dist/components/tds-table-body.js +2 -2
  246. package/dist/components/tds-table-footer.js +27 -9
  247. package/dist/components/tds-table-header-input-wrapper.js +2 -2
  248. package/dist/components/tds-table-header.js +2 -2
  249. package/dist/components/tds-table-toolbar.js +3 -3
  250. package/dist/components/tds-tag.js +1 -1
  251. package/dist/components/tds-text-field.js +1 -185
  252. package/dist/components/tds-textarea.js +8 -6
  253. package/dist/components/tds-toast.js +5 -5
  254. package/dist/components/tds-toggle.js +3 -3
  255. package/dist/components/tds-tooltip.js +1 -1
  256. package/dist/esm/getAriaInvalid-a9944cb9.js +23 -0
  257. package/dist/esm/index-51d04e39.js +6 -10
  258. package/dist/esm/loader.js +1 -1
  259. package/dist/esm/tds-accordion-item.entry.js +1 -1
  260. package/dist/esm/tds-body-cell.entry.js +2 -2
  261. package/dist/esm/tds-button_2.entry.js +87 -0
  262. package/dist/esm/tds-card.entry.js +10 -3
  263. package/dist/esm/tds-chip.entry.js +1 -1
  264. package/dist/esm/tds-core-header-item_2.entry.js +4 -4
  265. package/dist/esm/tds-datetime.entry.js +2 -2
  266. package/dist/esm/tds-dropdown_2.entry.js +56 -23
  267. package/dist/esm/tds-folder-tab.entry.js +2 -2
  268. package/dist/esm/tds-folder-tabs.entry.js +2 -2
  269. package/dist/esm/tds-footer-group.entry.js +3 -3
  270. package/dist/esm/tds-footer-item.entry.js +1 -1
  271. package/dist/esm/tds-footer.entry.js +2 -2
  272. package/dist/esm/tds-header-brand-symbol.entry.js +1 -1
  273. package/dist/esm/tds-header-cell.entry.js +1 -1
  274. package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -3
  275. package/dist/esm/tds-header-dropdown-list-user.entry.js +1 -1
  276. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  277. package/dist/esm/tds-header-dropdown.entry.js +4 -4
  278. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  279. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  280. package/dist/esm/tds-header-launcher-grid-item.entry.js +1 -1
  281. package/dist/esm/tds-header-launcher-grid-title.entry.js +1 -1
  282. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  283. package/dist/esm/tds-header-launcher-list-item.entry.js +1 -1
  284. package/dist/esm/tds-header-launcher-list-title.entry.js +1 -1
  285. package/dist/esm/tds-header-launcher-list.entry.js +1 -1
  286. package/dist/esm/tds-header-launcher.entry.js +2 -2
  287. package/dist/esm/tds-header-title.entry.js +1 -1
  288. package/dist/esm/tds-header.entry.js +1 -1
  289. package/dist/esm/tds-icon.entry.js +1 -1
  290. package/dist/esm/tds-inline-tab.entry.js +3 -3
  291. package/dist/esm/tds-inline-tabs.entry.js +3 -3
  292. package/dist/esm/tds-link.entry.js +3 -3
  293. package/dist/esm/tds-message.entry.js +3 -3
  294. package/dist/esm/tds-modal.entry.js +2 -2
  295. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  296. package/dist/esm/tds-navigation-tabs.entry.js +4 -4
  297. package/dist/esm/tds-popover-canvas.entry.js +6 -3
  298. package/dist/esm/tds-popover-core.entry.js +1 -1
  299. package/dist/esm/tds-popover-menu-item.entry.js +2 -2
  300. package/dist/esm/tds-popover-menu.entry.js +3 -3
  301. package/dist/esm/tds-radio-button.entry.js +1 -1
  302. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  303. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -6
  304. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
  305. package/dist/esm/tds-side-menu-dropdown-list.entry.js +2 -2
  306. package/dist/esm/tds-side-menu-dropdown.entry.js +3 -3
  307. package/dist/esm/tds-side-menu-item.entry.js +3 -3
  308. package/dist/esm/tds-side-menu-overlay.entry.js +1 -1
  309. package/dist/esm/tds-side-menu-user-image_2.entry.js +2 -2
  310. package/dist/esm/tds-side-menu-user.entry.js +1 -1
  311. package/dist/esm/tds-slider.entry.js +39 -10
  312. package/dist/esm/tds-spinner.entry.js +1 -1
  313. package/dist/esm/tds-step.entry.js +1 -1
  314. package/dist/esm/tds-table-body-input-wrapper.entry.js +1 -1
  315. package/dist/esm/tds-table-body-row-expandable.entry.js +7 -7
  316. package/dist/esm/tds-table-body-row.entry.js +2 -2
  317. package/dist/esm/tds-table-body.entry.js +2 -2
  318. package/dist/esm/tds-table-footer.entry.js +21 -5
  319. package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
  320. package/dist/esm/tds-table-header.entry.js +2 -2
  321. package/dist/esm/tds-table-toolbar.entry.js +2 -2
  322. package/dist/esm/tds-tag.entry.js +1 -1
  323. package/dist/esm/tds-text-field.entry.js +8 -5
  324. package/dist/esm/tds-textarea.entry.js +6 -4
  325. package/dist/esm/tds-toast.entry.js +4 -4
  326. package/dist/esm/tds-toggle.entry.js +3 -3
  327. package/dist/esm/tds-tooltip.entry.js +2 -2
  328. package/dist/esm/tegel.js +1 -1
  329. package/dist/tegel/{p-aec3e4cf.entry.js → p-08ad6a21.entry.js} +1 -1
  330. package/dist/tegel/{p-3022d31d.entry.js → p-09cd056c.entry.js} +1 -1
  331. package/dist/tegel/p-0c9a51d9.entry.js +1 -0
  332. package/dist/tegel/p-0e772ad7.entry.js +1 -0
  333. package/dist/tegel/{p-5dd2aac8.entry.js → p-133351b5.entry.js} +1 -1
  334. package/dist/tegel/{p-d184a3f0.entry.js → p-17bc1e49.entry.js} +1 -1
  335. package/dist/tegel/p-1859156f.entry.js +1 -0
  336. package/dist/tegel/{p-9b0c886e.entry.js → p-1f4267a8.entry.js} +1 -1
  337. package/dist/tegel/{p-61a1dc59.entry.js → p-24a76927.entry.js} +1 -1
  338. package/dist/tegel/{p-6e57997e.entry.js → p-2766b46f.entry.js} +1 -1
  339. package/dist/tegel/p-28f85555.entry.js +1 -0
  340. package/dist/tegel/{p-bcdf13e0.entry.js → p-2faeb483.entry.js} +1 -1
  341. package/dist/tegel/p-304f5a5c.entry.js +1 -0
  342. package/dist/tegel/{p-bdc913a0.entry.js → p-3450dd6c.entry.js} +1 -1
  343. package/dist/tegel/{p-6a615ac1.entry.js → p-3462a7cc.entry.js} +1 -1
  344. package/dist/tegel/{p-a829417c.entry.js → p-354d3986.entry.js} +1 -1
  345. package/dist/tegel/p-3c348fcb.entry.js +1 -0
  346. package/dist/tegel/{p-f2232281.entry.js → p-3c97cb45.entry.js} +1 -1
  347. package/dist/tegel/{p-23fb4dee.entry.js → p-3e6d65ee.entry.js} +1 -1
  348. package/dist/tegel/p-445fa788.entry.js +1 -0
  349. package/dist/tegel/{p-c15eba7d.entry.js → p-464469fe.entry.js} +1 -1
  350. package/dist/tegel/p-4b5e15cc.entry.js +1 -0
  351. package/dist/tegel/p-4de2807c.entry.js +1 -0
  352. package/dist/tegel/p-51a17707.entry.js +1 -0
  353. package/dist/tegel/{p-a6238890.entry.js → p-52689019.entry.js} +1 -1
  354. package/dist/tegel/p-55f9c79a.entry.js +1 -0
  355. package/dist/tegel/{p-0cac9ea6.entry.js → p-57a28f62.entry.js} +1 -1
  356. package/dist/tegel/p-5c8fd75e.entry.js +1 -0
  357. package/dist/tegel/{p-1bbef1a5.entry.js → p-646d1df4.entry.js} +1 -1
  358. package/dist/tegel/p-655051b6.entry.js +1 -0
  359. package/dist/tegel/{p-7013249b.entry.js → p-6b340718.entry.js} +1 -1
  360. package/dist/tegel/p-743d4f07.entry.js +1 -0
  361. package/dist/tegel/p-771f53c2.entry.js +1 -0
  362. package/dist/tegel/p-77cfb0ef.entry.js +1 -0
  363. package/dist/tegel/p-7887bdbb.entry.js +1 -0
  364. package/dist/tegel/{p-86e99fdb.entry.js → p-7b598e60.entry.js} +1 -1
  365. package/dist/tegel/{p-a66a4a4e.entry.js → p-7ef50e7f.entry.js} +1 -1
  366. package/dist/tegel/p-88bb1059.entry.js +1 -0
  367. package/dist/tegel/{p-debd6adc.entry.js → p-8a4837ae.entry.js} +1 -1
  368. package/dist/tegel/{p-bb1d069f.entry.js → p-987f8f0f.entry.js} +1 -1
  369. package/dist/tegel/{p-bd935506.entry.js → p-9f187848.entry.js} +1 -1
  370. package/dist/tegel/{p-614bcd4b.entry.js → p-9fdc8fa5.entry.js} +1 -1
  371. package/dist/tegel/{p-c7b0253c.entry.js → p-a090bd2f.entry.js} +1 -1
  372. package/dist/tegel/p-a472f649.entry.js +1 -0
  373. package/dist/tegel/p-a4cbb541.entry.js +1 -0
  374. package/dist/tegel/{p-25f4b4ca.entry.js → p-a56436c8.entry.js} +1 -1
  375. package/dist/tegel/{p-9b2257f3.entry.js → p-a8abc8d9.entry.js} +1 -1
  376. package/dist/tegel/p-ab00e6e4.entry.js +1 -0
  377. package/dist/tegel/p-b210d23c.entry.js +1 -0
  378. package/dist/tegel/{p-704682d6.entry.js → p-b7abb81f.entry.js} +1 -1
  379. package/dist/tegel/p-bbf9492a.js +1 -0
  380. package/dist/tegel/{p-7cb9790d.entry.js → p-c0cbc9f5.entry.js} +1 -1
  381. package/dist/tegel/p-c163d44f.entry.js +1 -0
  382. package/dist/tegel/{p-9099d978.entry.js → p-c23a3f12.entry.js} +1 -1
  383. package/dist/tegel/{p-db38b4f2.entry.js → p-c2e514b4.entry.js} +1 -1
  384. package/dist/tegel/{p-eff87481.entry.js → p-c6968db1.entry.js} +1 -1
  385. package/dist/tegel/p-ca16f1ed.entry.js +1 -0
  386. package/dist/tegel/p-ca32a270.entry.js +1 -0
  387. package/dist/tegel/p-cc962b6c.entry.js +1 -0
  388. package/dist/tegel/{p-525c81b1.entry.js → p-ceed0476.entry.js} +1 -1
  389. package/dist/tegel/p-cf717912.entry.js +1 -0
  390. package/dist/tegel/{p-d0f09796.entry.js → p-d1d45942.entry.js} +1 -1
  391. package/dist/tegel/{p-f4b5e80b.entry.js → p-d7cdbc4e.entry.js} +1 -1
  392. package/dist/tegel/{p-b2b9561f.entry.js → p-e6e9d11f.entry.js} +1 -1
  393. package/dist/tegel/p-e8b58680.entry.js +1 -0
  394. package/dist/tegel/{p-fbffe3aa.entry.js → p-f2318c88.entry.js} +1 -1
  395. package/dist/tegel/{p-3ec01fb3.entry.js → p-f31f56fe.entry.js} +1 -1
  396. package/dist/tegel/{p-84de314b.entry.js → p-f3c32d4d.entry.js} +1 -1
  397. package/dist/tegel/p-f8a37d39.entry.js +1 -0
  398. package/dist/tegel/{p-3a92d554.entry.js → p-fd15ced7.entry.js} +1 -1
  399. package/dist/tegel/tegel.css +4 -4
  400. package/dist/tegel/tegel.esm.js +1 -1
  401. package/dist/types/components/card/card.d.ts +10 -0
  402. package/dist/types/components/dropdown/dropdown.d.ts +4 -0
  403. package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -1
  404. package/dist/types/components/slider/slider.d.ts +2 -0
  405. package/dist/types/components/table/table-footer/table-footer.d.ts +1 -0
  406. package/dist/types/components/text-field/text-field.d.ts +5 -1
  407. package/dist/types/components/textarea/textarea.d.ts +1 -0
  408. package/dist/types/components.d.ts +44 -4
  409. package/dist/types/utils/getAriaInvalid.d.ts +14 -0
  410. package/package.json +4 -2
  411. package/dist/cjs/tds-button.cjs.entry.js +0 -67
  412. package/dist/cjs/tds-divider.cjs.entry.js +0 -31
  413. package/dist/esm/tds-button.entry.js +0 -63
  414. package/dist/esm/tds-divider.entry.js +0 -27
  415. package/dist/tegel/p-06d3490c.entry.js +0 -1
  416. package/dist/tegel/p-1c75f8a7.entry.js +0 -1
  417. package/dist/tegel/p-22b6223e.entry.js +0 -1
  418. package/dist/tegel/p-25d026a6.entry.js +0 -1
  419. package/dist/tegel/p-27c2f109.entry.js +0 -1
  420. package/dist/tegel/p-303acf88.entry.js +0 -1
  421. package/dist/tegel/p-397c8969.entry.js +0 -1
  422. package/dist/tegel/p-3ebe93ff.entry.js +0 -1
  423. package/dist/tegel/p-462a6049.entry.js +0 -1
  424. package/dist/tegel/p-46c9af0f.entry.js +0 -1
  425. package/dist/tegel/p-49364819.entry.js +0 -1
  426. package/dist/tegel/p-4a77edf1.entry.js +0 -1
  427. package/dist/tegel/p-5734c6ef.entry.js +0 -1
  428. package/dist/tegel/p-5bca9fe7.entry.js +0 -1
  429. package/dist/tegel/p-5c077bb9.entry.js +0 -1
  430. package/dist/tegel/p-601a74ad.entry.js +0 -1
  431. package/dist/tegel/p-7caad569.entry.js +0 -1
  432. package/dist/tegel/p-7d427dff.entry.js +0 -1
  433. package/dist/tegel/p-8ae4e03c.entry.js +0 -1
  434. package/dist/tegel/p-a0591e58.entry.js +0 -1
  435. package/dist/tegel/p-a74cb560.entry.js +0 -1
  436. package/dist/tegel/p-a98767ea.entry.js +0 -1
  437. package/dist/tegel/p-abad3489.entry.js +0 -1
  438. package/dist/tegel/p-ae438c2e.entry.js +0 -1
  439. package/dist/tegel/p-b20f250b.entry.js +0 -1
  440. package/dist/tegel/p-b994e7ac.entry.js +0 -1
  441. package/dist/tegel/p-bb9445ff.entry.js +0 -1
  442. package/dist/tegel/p-cd5103e3.entry.js +0 -1
  443. package/dist/tegel/p-cf7af8f2.entry.js +0 -1
  444. package/dist/tegel/p-f9c17612.entry.js +0 -1
@@ -101,26 +101,26 @@ export class TdsTableBodyRowExpandable {
101
101
  this.sendValue();
102
102
  }
103
103
  render() {
104
- return (h(Host, { key: '36be80e7cd0916cb8e196f52676281fcabc1996e', class: {
104
+ return (h(Host, { key: '3d289d00082c284257728cec4f0ddcfc63dda863', class: {
105
105
  'tds-table__row': true,
106
106
  'tds-table__row-expand--active': this.isExpanded,
107
107
  'tds-table__compact': this.compactDesign,
108
108
  'tds-table--divider': this.verticalDividers,
109
- } }, h("tr", { key: '868377d055d9d66fcf1824ed811e4a56f67b79e0', id: `expandable-content-${this.rowId}`, class: {
109
+ } }, h("tr", { key: '246ee336a3ab871346e1fcf81f02109121dc9657', id: `expandable-content-${this.rowId}`, class: {
110
110
  'tds-table__row': true,
111
111
  'tds-table__row--expanded': this.isExpanded,
112
- }, part: "row" }, h("td", { key: '059858ff5293deda48d039fdc81dd4a5d8ae6fce', class: {
112
+ }, part: "row" }, h("td", { key: 'b727b78965a4bdf0b6cf8ff7e8460d3dfae8327e', class: {
113
113
  'tds-table__cell-expand': true,
114
- } }, h("label", { key: '6e05d93a509cb77cb3fd76f3d869b820b5d83163', class: "tds-table__expand-control-container" }, h("input", { key: 'ed7091d4dfdac43c082ee63548c7bff2e87379dd', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: '84622275a00b28685834e0de8552f5c7a36bc983', class: "tds-expendable-row-icon" }, h("svg", { key: '633d1030453895343295b30142410ece7f15dec3', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'e4d21588ca0bb6fbcd68af3a7afb48bafe180bc1', "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: '5c66154a24fe8d21bb6b9d91930ad7efd4cb1ec5' })), h("tr", { key: '1417c7143b8aaafbb2143557e53443cde9afcbde', class: {
114
+ } }, h("label", { key: 'c878be3429a3145b62b242f2e3d9c90ec0a74257', class: "tds-table__expand-control-container" }, h("input", { key: '6b99ef165e359012f83f7e298d9f83319493fc52', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded, "aria-expanded": this.isExpanded ? 'true' : 'false', "aria-controls": `expandable-content-${this.rowId}`, "aria-label": this.tdsAriaLabelExpandButton }), h("span", { key: 'ec9e1aefc553362c0c3e15cb99118a9c2dfffd04', class: "tds-expendable-row-icon" }, h("svg", { key: '84b3270e5f1bfc7671adcea34d862fe0485f40a8', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: 'fc04209a4a2d35c19c7c74875c0ab302077abbf2', "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: '0c16341da217fbe920241a97b179335cb61e2364' })), h("tr", { key: 'a83ca5c30ec4945dfee096a408db4d1d240d3643', class: {
115
115
  'tds-table__row-expand': true,
116
116
  'tds-table__row-expand--expanded': this.isExpanded,
117
- }, part: "expand-row" }, h("td", { key: 'b72d532f22b5c7c0bc7c7b23caf5887d4228b9d0', class: {
117
+ }, part: "expand-row" }, h("td", { key: '2fcafe17b33ce39b5e1a3b149434006a70f6b8f3', class: {
118
118
  'tds-table__cell-expand': true,
119
119
  'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
120
120
  'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
121
- }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '256a827b43a8099b9ea4e5a5a43023ff9bf0b828', style: {
121
+ }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'b696b23d127e32a8017692b03de1ce8ee9497dcb', style: {
122
122
  overflow: this.overflow,
123
- } }, h("slot", { key: '6bbc0eeca7b7a654da9c1b7da6992aa8928e1974', name: "expand-row" }))))));
123
+ } }, h("slot", { key: 'e64e00778fd7c85618ae4cbc19d232e2acb873b5', name: "expand-row" }))))));
124
124
  }
125
125
  static get is() { return "tds-table-body-row-expandable"; }
126
126
  static get encapsulation() { return "shadow"; }
@@ -62,7 +62,16 @@ export class TdsTableFooter {
62
62
  this.lastCorrectValue = undefined;
63
63
  this.tableId = '';
64
64
  this.horizontalScrollWidth = null;
65
- this.rowsPerPageValue = this.rowsPerPageValues[0];
65
+ this.rowsPerPageValue = 10;
66
+ }
67
+ handleRowsPerPageValuesChange(newValues) {
68
+ if (newValues && newValues.length > 0) {
69
+ const [firstValue] = newValues;
70
+ this.rowsPerPageValue = firstValue;
71
+ }
72
+ else {
73
+ this.rowsPerPageValue = 10;
74
+ }
66
75
  }
67
76
  internalTdsPropChangeListener(event) {
68
77
  if (this.tableId === event.detail.tableId) {
@@ -84,6 +93,10 @@ export class TdsTableFooter {
84
93
  relevantTableProps.forEach((tablePropName) => {
85
94
  this[tablePropName] = this.tableEl[tablePropName];
86
95
  });
96
+ if (this.rowsPerPageValues && this.rowsPerPageValues.length > 0) {
97
+ const [firstValue] = this.rowsPerPageValues;
98
+ this.rowsPerPageValue = firstValue;
99
+ }
87
100
  this.storeLastCorrectValue(this.paginationValue);
88
101
  /** Get the number of columns. */
89
102
  const numberOfColumns = this.host.parentElement.querySelector('tds-table-header').childElementCount;
@@ -127,12 +140,12 @@ export class TdsTableFooter {
127
140
  }
128
141
  render() {
129
142
  var _a;
130
- return (h(Host, { key: 'fd6a5604adc116a78c9723ce3f16535ea6fa7edf', class: {
143
+ return (h(Host, { key: '2c46b5c5014166113f685788af020bcba1b2869f', class: {
131
144
  'tds-table--compact': this.compactDesign,
132
145
  'footer__horizontal-scroll': !!this.horizontalScrollWidth,
133
- }, style: this.getStyles() }, h("tr", { key: '5ec3649f1e76f54a1d09cc023f52f165bf55a175', class: "tds-table__footer-row" }, h("td", { key: '0815d2e9083b0b3793dbf3572869b76c2445396e', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '3bdc6acf5b034f8ee141e1fde58e32cb76e7ab33', class: "tds-table__pagination" }, h("div", { key: 'd8bd734bb3890593404d7950b5cb353e0af1b37f', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '0cc09dd7662a2ceba454fb1e1c3eb3a389e9eb4d', class: "rows-per-page" }, h("p", { key: '57ae73ac509c9cd7ce9c93ae60737724035fb376' }, "Rows per page"), h("tds-dropdown", { key: '6fc1d8794bb2cecc406d9143c1e501733a990993', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
134
- return (h("tds-dropdown-option", { value: `${value}` }, value));
135
- }))))), h("div", { key: '71e30ccac9cb36acf61f46de47fc39d4b45c49d3', class: "tds-table__page-selector" }, h("input", { key: 'fe99cbdae18c4b297e0823de2f2a5529f24ed7f4', 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: 'd49b93524aeaddacd2e6c431d8f191fd87c768be', class: "tds-table__footer-text" }, "of ", h("span", { key: '1d6f7429e0837f200db90259e1e23cb879643756' }, this.pages), " pages"), h("button", { key: 'b5e0a8d72a1e7ff35570dfd2c131735f91ebb824', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '06ffe814de254c6c194ab88d89fe5f6da5239c44', name: "skip_backwards", size: "20px" })), h("button", { key: '271a59221429937f24873f984526fe55dd12c874', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'b2231b490bdd4234d62399f2785edf3136789af5', name: "chevron_left", size: "20px" })), h("button", { key: '6b06a0fad602d8593bb834672e934afb00d45edf', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '384751f9299ce4078e35fc15be37d2d529ddeffa', name: "chevron_right", size: "20px" })), h("button", { key: 'cf0fa5f2967d7f249ffbd548039e8021e4121bec', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '6da11c4f01f58a7e39698b7a91034567527464e6', name: "skip_forward", size: "20px" })))))))));
146
+ }, style: this.getStyles() }, h("tr", { key: '66dea3a67c4c724eee59b7886485c29eaeb1c995', class: "tds-table__footer-row" }, h("td", { key: 'b8fbaeb53719f062ddcd87960a039f99dd315111', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '796c83eefdf5a4fb2b6bc387d922754bdd80612f', class: "tds-table__pagination" }, h("div", { key: '6b05406d46d8747e58ee6983d327875aef331b8d', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: 'daba514a486f6fb784aecd298a00640cd2cb7c2c', class: "rows-per-page" }, h("p", { key: '5cfd2155ae41419c5146e11b3babf08a15c3a817' }, "Rows per page"), h("tds-dropdown", { key: 'a2539bf691b65e4814f50451dcfb6fd410f1d54d', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => (h("tds-dropdown-option", { value: `${value}` }, value))))))), h("div", { key: '2c658adfcf0cfcb153ac2d6d120e74ac9582cece', class: "tds-table__page-selector" }, h("input", { key: '3c2409d3968ecd59f1e798de6c11d6529f062fd7', ref: (element) => {
147
+ this.inputElement = element;
148
+ }, 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: '604237229c5b80a5804cd0788f6bf6743056ae76', class: "tds-table__footer-text" }, "of ", h("span", { key: 'd3e2c9268983ee9f5f938204a327e0b4830ea67d' }, this.pages), " pages"), h("button", { key: '2ab558f2dba5fecbea05951d093ca77228dfcbc3', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '2c1b81648966a02eb80355a7f5938e77cea202db', name: "skip_backwards", size: "20px" })), h("button", { key: '0760561d3cb59835da69b0b30fb9a7701b5bca34', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '87dd5c3ef9cf67bf704fb23ee64a4c34a5488beb', name: "chevron_left", size: "20px" })), h("button", { key: '2167b1d9e645cfab30a5584474dbb1c48ca612bb', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '7adf9f40a448b5ef1db7d31ef5518b556e790f61', name: "chevron_right", size: "20px" })), h("button", { key: 'c7dc62e498e8f1efdd6543f33fb1e42217e5544c', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '272d0496e3da2b45f1ff658094d68237d7af4504', name: "skip_forward", size: "20px" })))))))));
136
149
  }
137
150
  static get is() { return "tds-table-footer"; }
138
151
  static get encapsulation() { return "shadow"; }
@@ -285,6 +298,12 @@ export class TdsTableFooter {
285
298
  }];
286
299
  }
287
300
  static get elementRef() { return "host"; }
301
+ static get watchers() {
302
+ return [{
303
+ "propName": "rowsPerPageValues",
304
+ "methodName": "handleRowsPerPageValuesChange"
305
+ }];
306
+ }
288
307
  static get listeners() {
289
308
  return [{
290
309
  "name": "internalTdsTablePropChange",
@@ -82,11 +82,11 @@ export class TdsTableHeaderRow {
82
82
  });
83
83
  }
84
84
  render() {
85
- return (h(Host, { key: '968ef371db492d005ac3156d8b4a15de0966d117', class: {
85
+ return (h(Host, { key: '6c1cc431846a627cab836e62a551f9f5d6558a9d', 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: 'cc9fdb8e36b29c4dccf01961060df330fb50c6f2' }, this.multiselect && (h("th", { key: 'e306755b170ef4edc6d3c2f32941dfbb51eefaf6', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '2903d76304e4f3428aa63ba7e0aa65e48d21f232', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: 'd9acae7cae023f412395663c607b3293ce40a2e2', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: 'cea8e7da2c5a4a728ea55ead114f790674fc1a0c', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '5ad238c2ceaabc721970c28ea9d58ecedac8152d' }))));
89
+ } }, h("tr", { key: 'fe66a0019ffef72437ef0312e07d8e23b0c8f728' }, this.multiselect && (h("th", { key: 'a132d706ef3650e6909a2b1bd90ed51b53a8fe02', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: 'a4a62796419d0f77a9a9b035a2493ec7cc184e9f', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '2b9e308d8098b8e2825936f6ff2ab0e1ec0e8897', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '916a17bb35705db77de44bee119c579dd55c2d8f', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '79d44597fcb6fa6d2e94197c57a1c9dded7e9f3d' }))));
90
90
  }
91
91
  static get is() { return "tds-table-header"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -113,7 +113,7 @@ export class TdsTableHeaderCell {
113
113
  return 'none';
114
114
  }
115
115
  render() {
116
- return (h(Host, { key: 'c832982801653ad4ed4be858fa88f6d3d3de02ef', class: {
116
+ return (h(Host, { key: 'f128527938679fe448019802ea76cda1a57d75be', class: {
117
117
  'tds-table__header-cell': true,
118
118
  'tds-table__header-cell--sortable': this.sortable,
119
119
  '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: 'e92640dc4c88b52574960d7234b377d7e5eaaa8e', class: {
66
+ return (h(Host, { key: '62070c88b54c313b2db10890023db32f0eaf66b5', class: {
67
67
  'focused-input-wrapper': this.inputFocused,
68
68
  'show-icon': this.showIcon,
69
69
  'tds-table__compact': this.compactDesign,
@@ -68,10 +68,10 @@ export class TdsTableToolbar {
68
68
  return styles;
69
69
  }
70
70
  render() {
71
- return (h(Host, { key: '76acde1b3c55f421cedae9bf932f923813272fe3', class: {
71
+ return (h(Host, { key: 'e7ce21fcad3bfbc9f93088f777855baa9c6e3869', class: {
72
72
  'tds-table--compact': this.compactDesign,
73
73
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
74
- }, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: 'e6fe2f411ebde77befeb99992b5157bba3651fbf', class: "tds-table__upper-bar-flex" }, h("div", { key: 'f61dc1de54a73c28a2ef10dcae2a5a629ae76c57', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: 'ca50269d08eab742cb759d371937739fd0a87eff', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '275b233ff233a9f90d936553fa31015f72f21899', name: "start" })), h("div", { key: 'd2ed2b7918e8f8d8e23c34bd8114ee1e69cdb681', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'cd0bd112e3ab6b31c96e10bc4b2eb32715766d58', class: "tds-table__searchbar" }, h("input", { key: '3dbcdf5394477fb55d41c2ee0ddcea1e50ffcd64', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '0a34bfd7cd50c88604af01dfc9bef1adae7d8999', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '98a376c6db7d249e060dafffef18c9345730e25c', name: "search", size: "20px" })))), h("slot", { key: 'e4400d9ddb0f6435315569e1f64f34bc04d8054f', name: "end" })))));
74
+ }, style: this.getStyles(), "aria-labelledby": "table-toolbar-title" }, h("div", { key: '7310ec2851d440ba6529eb2d48bb20bcb508429f', class: "tds-table__upper-bar-flex" }, h("div", { key: '5b901252d433968edb04de20a25ea9c09bb39b4b', class: "tds-table__actionbar-left" }, this.tableTitle && (h("caption", { key: '661f8de9fe38cd72b098251b027c7e6f554033e5', id: "table-toolbar-title", class: "tds-table__title" }, this.tableTitle)), h("slot", { key: '8d00d01e2ac92c75f95dc6ae89e7b8769cde6dc1', name: "start" })), h("div", { key: 'fd28cb512ed5ad997cdb1f0b1dff8f7489f95db5', class: "tds-table__actionbar" }, this.filter && (h("div", { key: 'fb2649d623a21eeb1a8c3ed5c512d02d7bbb2efc', class: "tds-table__searchbar" }, h("input", { key: '9cd1284bec12081a2e99996eb6bd160ac926b751', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event), "aria-label": this.tdsSearchAriaLabel }), h("span", { key: '015060f9c59d06c430fabb0acabb8b476a477616', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '5f990c7f452a46bb0471dd658f24afd848d029e9', name: "search", size: "20px" })))), h("slot", { key: 'a91b2aee680ef316d2fdd46d46bfe9ec3eb3e314', name: "end" })))));
75
75
  }
76
76
  static get is() { return "tds-table-toolbar"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -35,10 +35,10 @@ export class TdsFolderTab {
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '19a42f7143a8f32130642bd50dd6817f871fdf20', "aria-selected": this.selected }, h("div", { key: '51bef3bebff5e13d7c949529919865780d8b33de', class: {
38
+ return (h(Host, { key: '6e0c3e477f033d6d0038d61d55f87d818abcef6e', "aria-selected": this.selected }, h("div", { key: '06f1e0abdbb9bcce20807d67784a0c82754e4d8a', class: {
39
39
  selected: this.selected,
40
40
  disabled: this.disabled,
41
- }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: '2b661d3518f047f7bd0e50a121987eb62c5d42e8' }))));
41
+ }, style: { width: `${this.tabWidth}px` } }, h("slot", { key: 'bef9798df6d9e27873ac28b481f1b61342dde861' }))));
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: 'c56bf987e23ade8b30cd2470ab1ed0f4273bd191', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'afab8a86427918d5ac4bbc17dd2a436a986df577', class: "wrapper", ref: (el) => {
165
+ return (h(Host, { key: '8c8c4916fe50279d530f99d21fef8f4ceb89fe55', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '5850bbcf52dfadf7a08dbe420916d98ed6d14b41', class: "wrapper", ref: (el) => {
166
166
  this.navWrapperElement = el;
167
- } }, h("button", { key: '0b82a953932e888d05478d82944c90768f97bb36', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: '50cd22c5be43ae452e0896b449570774c3ab0151', name: "chevron_left", size: "20px" })), h("slot", { key: '3cb17dddc8592241c467167b3a0028355f2b7d5e', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '23c289b70d723b2d0705692835a510b8a650fcfa', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: 'fff2bfcbcf916d1b391aa25ee5f6fda3c8e63d23', name: "chevron_right", size: "20px" })))));
167
+ } }, h("button", { key: '9506486a1d6a2415bc8213cf1c0ab8c7789ad82c', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, disabled: !this.showLeftScroll, onClick: () => this.scrollLeft() }, h("tds-icon", { key: 'e721ba34d2d703bd0ee2fe833e7859f282b6b332', name: "chevron_left", size: "20px" })), h("slot", { key: 'ee2558c4a7d35d8d6355df59b735344151742884', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '6ac20fbd52634a08bd6ef369a45fe0ebb7de9d5d', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, disabled: !this.showRightScroll, onClick: () => this.scrollRight() }, h("tds-icon", { key: '20a1096cec8ef7e121200f469761fac9a2a5086d', name: "chevron_right", size: "20px" })))));
168
168
  }
169
169
  static get is() { return "tds-folder-tabs"; }
170
170
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@
11
11
  /* !important is needed here to prevent this from being overwritten by our CSS-reset. */
12
12
  font: var(--tds-headline-07) !important;
13
13
  letter-spacing: var(--tds-headline-07-ls) !important;
14
- color: var(--tds-navigation-tabs-tab-color);
14
+ color: var(--tds-inline-tabs-tab-color);
15
15
  text-decoration: none;
16
16
  display: block;
17
17
  position: relative;
@@ -20,19 +20,20 @@
20
20
  background-color: transparent;
21
21
  border: 0;
22
22
  width: 100%;
23
- padding: 20px 4px;
23
+ padding: 20px 0;
24
24
  }
25
25
  :host ::slotted(*:focus-visible)::before {
26
- outline: 2px solid var(--tds-focus-outline-color);
27
- box-shadow: 0 0 0 1px var(--tds-white);
28
- outline-offset: 1px;
29
- z-index: 1;
30
26
  content: "";
31
27
  position: absolute;
32
28
  left: 0;
33
29
  right: 0;
34
30
  top: 3px;
35
31
  bottom: 3px;
32
+ outline: 2px solid var(--tds-blue-400);
33
+ outline: 2px solid var(--tds-focus-outline-color);
34
+ box-shadow: 0 0 0 1px var(--tds-white);
35
+ outline-offset: 1px;
36
+ z-index: 1;
36
37
  }
37
38
  :host .inline-tab-item:not(.selected)::after {
38
39
  width: 0%;
@@ -40,7 +41,6 @@
40
41
  }
41
42
  :host .inline-tab-item {
42
43
  position: relative;
43
- margin-right: 32px;
44
44
  }
45
45
  :host .inline-tab-item:hover {
46
46
  cursor: pointer;
@@ -71,19 +71,18 @@
71
71
  width: 100%;
72
72
  background-color: var(--tds-inline-tabs-tab-indicator-background-active);
73
73
  }
74
- :host .disabled::after {
75
- content: none;
76
- }
77
74
  :host .disabled ::slotted(*) {
78
75
  color: var(--tds-inline-tabs-tab-color-disabled);
79
76
  }
77
+ :host .disabled::after {
78
+ content: none;
79
+ }
80
80
  :host .disabled ::slotted(*:hover) {
81
- color: var(--tds-inline-tabs-tab-color-disabled);
82
81
  cursor: not-allowed;
82
+ color: var(--tds-inline-tabs-tab-color-disabled);
83
83
  }
84
84
  :host .disabled ::slotted(*:focus-visible) {
85
85
  outline: none;
86
- box-shadow: none;
87
86
  }
88
87
 
89
88
  :host(.last) {
@@ -30,11 +30,11 @@ export class TdsInlineTab {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '496b56fa31a50e26ceea5275e29873d030ea2937', "aria-selected": this.selected }, h("div", { key: 'c67bfb892ea721b1ad329e00453fe62dcf4681c0', class: {
33
+ return (h(Host, { key: '2c62341f68893d4792956a5c0db9753fe567a6aa', "aria-selected": this.selected }, h("div", { key: '1502366122d56bae42b8b1cc9c9a3937b58ec32f', class: {
34
34
  'inline-tab-item': true,
35
35
  'selected': this.selected,
36
36
  'disabled': this.disabled,
37
- } }, h("slot", { key: 'bae7788e0625279f4eb82129da1256fbb7f1c95b' }))));
37
+ } }, h("slot", { key: 'f2b45d7f0dd38cae953f61e933189eef8d7a9452' }))));
38
38
  }
39
39
  static get is() { return "tds-inline-tab"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -65,13 +65,20 @@
65
65
  :host .scroll-left-button:active {
66
66
  background-color: var(--tds-folder-tabs-scroll-btn-background-active);
67
67
  }
68
- :host .scroll-right-button:focus,
69
- :host .scroll-left-button:focus {
68
+ :host .scroll-right-button:focus-visible::before,
69
+ :host .scroll-left-button:focus-visible::before {
70
+ content: "";
71
+ position: absolute;
72
+ inset: 3px;
70
73
  outline: 2px solid var(--tds-focus-outline-color);
71
74
  box-shadow: 0 0 0 1px var(--tds-white);
72
75
  outline-offset: 1px;
73
76
  z-index: 1;
74
77
  }
78
+ :host .scroll-right-button:focus-visible,
79
+ :host .scroll-left-button:focus-visible {
80
+ outline: 0;
81
+ }
75
82
  :host .scroll-right-button svg,
76
83
  :host .scroll-left-button svg {
77
84
  fill: var(--tds-folder-tabs-scroll-btn-color);
@@ -169,9 +169,9 @@ export class TdsInlineTabs {
169
169
  this.removeEventListenerFromTabs();
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: '9fa2d8cb54ac480fb5875432440506b0c12efaa5', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: 'aecb68d56088f84e271f3c829c84da4e732df9b8', class: "wrapper", ref: (el) => {
172
+ return (h(Host, { key: 'f33abd9071c85c0651a3ab93e3996ec44717e325', role: "tablist", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '8a5233b2a941a3a1e72dc45f93015b5e606663a8', class: "wrapper", ref: (el) => {
173
173
  this.navWrapperElement = el;
174
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '9b97d342cfe66209063b504b49480d587cd626d5', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a447ce946eb5bc02a2527f210322aa76ca5ad5b8', name: "chevron_left", size: "20px" })), h("slot", { key: '1df34e68bbea35ef76de48e7b8fe96b3a8655792', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '7c753dd66c173265c32a7b49197df12fbecc78d1', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'f76934b67470db5ff6ddb6fbae86f87fd3d0bdee', name: "chevron_right", size: "20px" })))));
174
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'f2a8051863cfa93f8b2a5c562fc5ebefcc36b195', "aria-label": this.tdsScrollLeftAriaLabel, class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: 'a93d1cb8ddc5486bbb15449c328a25f6e8e2b4cd', name: "chevron_left", size: "20px" })), h("slot", { key: 'e5b096420d72d12c861730fd9829baeba7cce625', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'f154a7b6553fe77e3f09da314403db5326df8e21', "aria-label": this.tdsScrollRightAriaLabel, class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '6832c693ab8a446a629788894f792f571c09cbe3', name: "chevron_right", size: "20px" })))));
175
175
  }
176
176
  static get is() { return "tds-inline-tabs"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -62,7 +62,7 @@
62
62
  background-color: var(--tds-navigation-tabs-tab-indicator-background-hover);
63
63
  z-index: 1;
64
64
  }
65
- :host .navigation-tab-item:focus-visible::after {
65
+ :host .navigation-tab-item:hover:focus-within::after {
66
66
  bottom: 3px;
67
67
  }
68
68
  :host .selected ::slotted(*) {
@@ -30,8 +30,8 @@ export class TdsNavigationTab {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '28ba6f5bedc4f2a31e5011e37bf92d3b38fa8abe' }, h("div", { key: 'ac5aad203d8a13dc42a8f9e99b2ccdd7c784c9af', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
34
- ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: 'da6292612753748f6cac68e0b282ecde642cb5b5' }))));
33
+ return (h(Host, { key: 'fe07e37cb49b89fcd4f84e09f0d281c058e2ef0f' }, h("div", { key: '243d283d090cae8d00cfafa15a95f099d9c7d2e8', class: `navigation-tab-item ${this.selected ? 'selected' : ''}
34
+ ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '9824df7626af1bedbc17f98c0cfe305b9546f235' }))));
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: '2fc278cacc04614ca43b70f52b12f79b31227fbb', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: '50357810903ea3bff83fde4478960de0866c7c15', class: "wrapper", ref: (el) => {
172
+ return (h(Host, { key: 'cdf0eff9acca827e372a58f5721ff9279b0360f4', role: "tablist", class: { [`tds-mode-variant-${this.modeVariant}`]: this.modeVariant !== null } }, h("div", { key: 'a8fafbc680fbdb0450db591e7f3ffda864946684', class: "wrapper", ref: (el) => {
173
173
  this.navWrapperElement = el;
174
- }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: 'b5b05a2f9bce1618c71594cf388dc83efce98915', "aria-label": this.tdsScrollLeftAriaLabel, class: {
174
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '402e0ca33fa71dced98cf8d86e26e3dba312fa7d', "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: 'aad19852d36ff8e1642ba464f9618a57ff37169c', name: "chevron_left", size: "20px" })), h("slot", { key: '3dcf0d7e6900df33a69863868a3a48dcb4aa8141', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '352539955226aecf92deb0c0db83c42a5b021e43', "aria-label": this.tdsScrollRightAriaLabel, class: {
177
+ }, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '2849a2da7c6ef133d173756778400baa2a51d58d', name: "chevron_left", size: "20px" })), h("slot", { key: '64081b7518abde00c8f1d80ff414849bccd1cb0b', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '916ba6b9107982f8b8763920bdf4e2bd99127943', "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: '0e3fe531374dd82b6ee5de1a5a1bea4a38e03500', name: "chevron_right", size: "20px" })))));
180
+ }, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: '26f84d67bc4b1eb04668464a74b655db1953d999', name: "chevron_right", size: "20px" })))));
181
181
  }
182
182
  static get is() { return "tds-navigation-tabs"; }
183
183
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class TdsTag {
15
15
  [`${this.size.toLowerCase()}`]: true,
16
16
  [`${this.variant.toLowerCase()}`]: true,
17
17
  });
18
- return (h(Host, { key: '4c7a4553eff385357169275ea607a9a0bcf1a729', class: getTagClasses() }, h("div", { key: 'f1a2c24dcbeef887a3086782573d506b7f31c395', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: 'e6e8eb20448f6ebb19c9ee8d6123134c0622feca', name: "prefix" }), h("span", { key: '74cead2674da0305a7366a38fe60a542218867ed' }, this.text))));
18
+ return (h(Host, { key: 'ce69caedf87367e14db73628ff7948fca1580073', class: getTagClasses() }, h("div", { key: 'fbdddb159c5e590cca490df2ff2bf53602fc3265', class: "tds-tag__content" }, hasPrefixSlot && h("slot", { key: '77e44bf68f83708da2bdf7dcf50878d43638df97', name: "prefix" }), h("span", { key: '27aa436683c94063a3a041c6679d622e5f621d92' }, this.text))));
19
19
  }
20
20
  static get is() { return "tds-tag"; }
21
21
  static get encapsulation() { return "scoped"; }
@@ -1,6 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import hasSlot from "../../utils/hasSlot";
3
3
  import generateUniqueId from "../../utils/generateUniqueId";
4
+ import { getAriaInvalid } from "../../utils/getAriaInvalid";
4
5
  /**
5
6
  * @slot prefix - Slot for the prefix in the component.
6
7
  * @slot suffix - Slot for the suffix in the component. Suffix is hidden when the input is in readonly state.
@@ -27,6 +28,8 @@ export class TdsTextField {
27
28
  this.maxLength = undefined;
28
29
  this.autofocus = false;
29
30
  this.tdsAriaLabel = undefined;
31
+ this.required = false;
32
+ this.autocomplete = 'off';
30
33
  this.focusInput = false;
31
34
  }
32
35
  handleChange(event) {
@@ -71,7 +74,7 @@ export class TdsTextField {
71
74
  var _a;
72
75
  const usesPrefixSlot = hasSlot('prefix', this.host);
73
76
  const usesSuffixSlot = hasSlot('suffix', this.host);
74
- return (h("div", { key: 'b9fa2b03ce2a0b196dc6083614420d6f83675e3d', class: {
77
+ return (h("div", { key: '3a072497874b410339fc3368f49b9048fdcc6641', class: {
75
78
  'form-text-field': true,
76
79
  'form-text-field-nomin': this.noMinWidth,
77
80
  'text-field-focus': this.focusInput && !this.disabled,
@@ -89,12 +92,12 @@ export class TdsTextField {
89
92
  'form-text-field-sm': this.size === 'sm',
90
93
  'form-text-field-error': this.state === 'error',
91
94
  'form-text-field-success': this.state === 'success',
92
- } }, this.labelPosition === 'outside' && (h("div", { key: '7110b867aba9a9ba62b796f67caeccf22a4a8060', class: "text-field-label-outside" }, h("label", { key: '6b0b6c7d17bb236f1203dfaf793ba0a3bc2d8efb', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: '5603d3e78b290a78d7c482a0dac7e1f0efb9af7f', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '9accb59dffa061d7947d4392310cb1717a395363', class: {
95
+ } }, this.labelPosition === 'outside' && (h("div", { key: '190b617811d0993b85b3df6951a41678bc51879e', class: "text-field-label-outside" }, h("label", { key: '6e5099cc43259b790d83d3f127e85463e58c9ac2', htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), h("div", { key: 'd5064e04015238d38a70b09c9eba4cbbb1da19cb', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '69af0c24b21e3edda262749538cc9775c501e115', class: {
93
96
  'text-field-slot-wrap-prefix': true,
94
97
  'text-field-error': this.state === 'error',
95
98
  'text-field-success': this.state === 'success',
96
99
  'text-field-default': this.state === 'default',
97
- } }, h("slot", { key: '739e089cdb9798dc108b68c4858c90bf75e18958', name: "prefix" }))), h("div", { key: 'e4229be4e4bf421319184e798b98afcbaa361413', class: "text-field-input-container" }, h("input", { key: 'f462b4c0d49e4e070090f6a14df52af66b87648d', ref: (inputEl) => {
100
+ } }, h("slot", { key: 'f397647f1458b1d132080cb15b92be60e2942459', name: "prefix" }))), h("div", { key: '33674576cce732cc66e7ca830669b7535aea7f00', class: "text-field-input-container" }, h("input", { key: 'a27eca3e8862b099475fd46c2182f86d7d110533', ref: (inputEl) => {
98
101
  this.textInput = inputEl;
99
102
  }, class: {
100
103
  'text-field-input': true,
@@ -109,13 +112,13 @@ export class TdsTextField {
109
112
  if (!this.readOnly) {
110
113
  this.handleBlur(event);
111
114
  }
112
- }, "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: 'ac16cff7856d65503fa30f7eb23d2936377e72d4', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: 'b70453ec36ca62f584b26b0e6dc4b3f0cde2ff54', class: {
115
+ }, "aria-invalid": getAriaInvalid(this.host, this.state), "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}`, required: this.required, autocomplete: this.autocomplete }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '7671a287273c976a1ad73032020838d6c4cedab0', class: "text-field-label-inside", htmlFor: `text-field-input-element-${this.uuid}` }, this.label))), usesSuffixSlot && (h("div", { key: '19a93786e8647aa1d2e5b9a9b80c71c250330d8d', class: {
113
116
  'text-field-slot-wrap-suffix': true,
114
117
  'text-field-error': this.state === 'error',
115
118
  'text-field-success': this.state === 'success',
116
119
  'text-field-default': this.state === 'default',
117
120
  'tds-u-display-none': this.readOnly,
118
- } }, h("slot", { key: '7e50b20d90a68f9af583b8f2ade5c742e2d52351', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '72e2cf4f2872d247ac6f28e935e8185aafef6dec', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: '171bdde8535c6bbd08eec60d87d9aa5bae1f98bd', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '05e7e8898ee3fcf81fb011aa2141092e8b749e37', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: '0c16d399b376d9aebed2aabf759cb7319c5745cf', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: '280eed9185c8cffa29e3cf62425f1f1f377f3abc', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: 'ddf07e469173a574a848cd2ff816bcc535940340', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: 'b5b06dba13fb8911828153341b631facfc016c88', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: 'a4c41817f19b32e575423d5bbe19c28a38031e6e', class: {
121
+ } }, h("slot", { key: 'dd76e5bb941bc791caa395206be040319e00a708', name: "suffix" }))), this.readOnly && !this.hideReadOnlyIcon && (h("span", { key: '2ba57774f40412b9a337ef7bf47ce65bcf44a704', class: "text-field-icon__readonly" }, h("tds-tooltip", { key: 'bfb0f704470e77f9ce6e11fe3d01af3dd8569015', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '28ded9080cb2abfe6a06b284af3807584f4dda02', id: "readonly-tooltip", name: "edit_inactive", size: "20px" })))), h("div", { key: '636205c9e69b3a2602ea0b8817a585e5cd4e16b2', "aria-live": "assertive" }, (this.helper || this.maxLength > 0) && (h("div", { key: '4ece49df31864f53d0fadc3709cd06d34da6830a', class: "text-field-helper", id: `text-field-helper-element-${this.uuid}` }, this.state === 'error' && (h("div", { key: 'ba1e7f916ebbfa6775b46febed47e4bf55af9fd3', class: "text-field-helper-error-state" }, !this.readOnly && h("tds-icon", { key: '45eb885352b32dd3483a1c01f4dbaa49fcfda8ba', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, !this.readOnly && this.maxLength > 0 && (h("span", { key: '9934f078456a0af683b0d1f8a997c5484e58868c', class: {
119
122
  'text-field-textcounter-divider': true,
120
123
  'text-field-textcounter-disabled': this.disabled,
121
124
  } }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, " / ", this.maxLength)))))));
@@ -138,8 +141,8 @@ export class TdsTextField {
138
141
  "type": "string",
139
142
  "mutable": false,
140
143
  "complexType": {
141
- "original": "'text' | 'password' | 'number'",
142
- "resolved": "\"number\" | \"password\" | \"text\"",
144
+ "original": "'text' | 'password' | 'number' | 'email' | 'tel'",
145
+ "resolved": "\"email\" | \"number\" | \"password\" | \"tel\" | \"text\"",
143
146
  "references": {}
144
147
  },
145
148
  "required": false,
@@ -470,6 +473,42 @@ export class TdsTextField {
470
473
  },
471
474
  "attribute": "tds-aria-label",
472
475
  "reflect": false
476
+ },
477
+ "required": {
478
+ "type": "boolean",
479
+ "mutable": false,
480
+ "complexType": {
481
+ "original": "boolean",
482
+ "resolved": "boolean",
483
+ "references": {}
484
+ },
485
+ "required": false,
486
+ "optional": false,
487
+ "docs": {
488
+ "tags": [],
489
+ "text": "Makes the text field required"
490
+ },
491
+ "attribute": "required",
492
+ "reflect": false,
493
+ "defaultValue": "false"
494
+ },
495
+ "autocomplete": {
496
+ "type": "string",
497
+ "mutable": false,
498
+ "complexType": {
499
+ "original": "string",
500
+ "resolved": "string",
501
+ "references": {}
502
+ },
503
+ "required": false,
504
+ "optional": false,
505
+ "docs": {
506
+ "tags": [],
507
+ "text": "Value to be used for the text field's autocomplete attribute"
508
+ },
509
+ "attribute": "autocomplete",
510
+ "reflect": false,
511
+ "defaultValue": "'off'"
473
512
  }
474
513
  };
475
514
  }
@@ -1,5 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  import generateUniqueId from "../../utils/generateUniqueId";
3
+ import { getAriaInvalid } from "../../utils/getAriaInvalid";
3
4
  export class TdsTextarea {
4
5
  constructor() {
5
6
  this.uuid = generateUniqueId();
@@ -60,7 +61,7 @@ export class TdsTextarea {
60
61
  }
61
62
  render() {
62
63
  var _a;
63
- return (h("div", { key: '873fc5866c777549e56d115e7bce64a62fdd5c0c', class: {
64
+ return (h("div", { key: '0e1e8c392e63be0a7e1724f3351e4859eb6501a7', class: {
64
65
  'textarea-container': true,
65
66
  'textarea-label-inside': this.labelPosition === 'inside',
66
67
  'textarea-focus': this.focusInput,
@@ -70,7 +71,7 @@ export class TdsTextarea {
70
71
  'textarea-data': this.value !== '',
71
72
  [`textarea-${this.state}`]: this.state === 'error' || this.state === 'success',
72
73
  'no-min-width': this.noMinWidth,
73
- } }, this.labelPosition !== 'no-label' && (h("label", { key: '09f5df4efb39b7e3eb71d8567adc5cffd374ad66', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '57bd6d6e2e7a1919d668625a675e4a20421af965', class: "textarea-wrapper" }, h("textarea", { key: '69955de378170f86c7a942d5f8101aa2ff9440f4', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
74
+ } }, this.labelPosition !== 'no-label' && (h("label", { key: '674206c9897b2e6f8ed4742e4bf4b9db5740a302', htmlFor: `textarea-element-${this.uuid}`, class: 'textarea-label' }, this.label)), h("div", { key: '808b87787dbdb3386bdf528051eb7ab991259e30', class: "textarea-wrapper" }, h("textarea", { key: 'bb9871a2b0f4d88ac150fb8b550c2d5001b9cc2d', id: `textarea-element-${this.uuid}`, class: 'textarea-input', ref: (inputEl) => {
74
75
  this.textEl = inputEl;
75
76
  }, 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) => {
76
77
  if (!this.readOnly) {
@@ -80,7 +81,7 @@ export class TdsTextarea {
80
81
  if (!this.readOnly) {
81
82
  this.handleBlur(event);
82
83
  }
83
- }, 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: '0fded8e72f3f6d8e6f53cb57df94f480df17ce53', class: "textarea-resizer-icon" }, h("svg", { key: '6b41ae06bbedfa5ba88991bc6856f80ca8a4b6f8', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'c4f731e7483bade2d0dbd545302afc278039a122', "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: '94bc8eed69418751ad240087201827a0ef0185b4', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: '231983d3994030724a06358f37dd0e53f91d78d4', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '9e7f16d10939227a5c8c87f00ddd653a58c094ad', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: '67222f0c93979caf49881c591cd99eb4c97ebdc1', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: 'cbde13084b090f7eea4bd80da47373ec941e1981', name: "error", size: "16px" })), this.helper), this.maxLength > 0 && (h("div", { key: '5895277b2e07f4c8f2990f624eb0797dffd0b1f0', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '97afedbb5aaf02461a38f39643298b6c2650c52f', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
84
+ }, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), "aria-invalid": getAriaInvalid(this.host, this.state), "aria-readonly": this.readOnly ? 'true' : 'false', "aria-label": this.tdsAriaLabel ? this.tdsAriaLabel : this.label, "aria-describedby": `textarea-helper-element-${this.uuid}` }), h("span", { key: 'f9fc9c3136ec57b6f0becd8602c6353f0c8848dd', class: "textarea-resizer-icon" }, h("svg", { key: '8b7f6fe75e111c7d4de27a1a6d30c430cd136753', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'f5857808dfc21333fc8d95c38c0a8e69823a6229', "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: 'df897e9b418dc4b7a2fefc152f0f850278695211', class: "textarea-icon__readonly" }, h("tds-tooltip", { key: 'd350ce47947ccd11fea39f06b5ae6e7cdba84ca9', placement: "top-end", text: "This field is non-editable", selector: "#readonly-tooltip" }), h("tds-icon", { key: '327fd5153c188dcc171d6cbed2727716148157b1', id: "readonly-tooltip", name: "edit_inactive", svgTitle: "inactive" })))), h("span", { key: '5625f2580ce1724b5462e00c8024fb7b9c3f3107', class: 'textarea-helper', "aria-live": "assertive", id: `textarea-helper-element-${this.uuid}` }, this.state === 'error' && this.helper && !this.readOnly && (h("tds-icon", { key: '2873a82b45675d1e09a07de357386b0ea83ed054', name: "error", size: "16px" })), this.helper), this.maxLength > 0 && (h("div", { key: '0a54c37e440f4740e373943bfd48001e8f8f39e6', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '53f25f455440e8383bd1dabba20cce266fe78074', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
84
85
  }
85
86
  static get is() { return "tds-textarea"; }
86
87
  static get encapsulation() { return "scoped"; }
@@ -503,4 +504,5 @@ export class TdsTextarea {
503
504
  }
504
505
  };
505
506
  }
507
+ static get elementRef() { return "host"; }
506
508
  }
@@ -13,25 +13,25 @@
13
13
  border-radius: 4px;
14
14
  }
15
15
  :host .wrapper.information {
16
- border-left: 4px solid var(--tds-toast-icon-color-info);
16
+ border-left: 4px solid var(--tds-toast-color-info);
17
17
  }
18
18
  :host .wrapper.information tds-icon {
19
- color: var(--tds-toast-icon-color-info);
19
+ color: var(--tds-toast-color-info);
20
20
  }
21
21
  :host .wrapper.success {
22
- border-left: 4px solid var(--tds-toast-icon-color-success);
22
+ border-left: 4px solid var(--tds-toast-color-success);
23
23
  }
24
24
  :host .wrapper.success tds-icon {
25
- color: var(--tds-toast-icon-color-success);
25
+ color: var(--tds-toast-color-success);
26
26
  }
27
27
  :host .wrapper.error {
28
- border-left: 4px solid var(--tds-toast-icon-color-error);
28
+ border-left: 4px solid var(--tds-toast-color-error);
29
29
  }
30
30
  :host .wrapper.error tds-icon {
31
- color: var(--tds-toast-icon-color-error);
31
+ color: var(--tds-toast-color-error);
32
32
  }
33
33
  :host .wrapper.warning {
34
- border-left: 4px solid var(--tds-toast-icon-color-warning);
34
+ border-left: 4px solid var(--tds-toast-color-warning);
35
35
  }
36
36
  :host .wrapper.warning tds-icon {
37
37
  color: var(--tds-toast-icon-color-warning);
@@ -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: 'b630cb558fea6c5b2d90f2ad1872429d86bc14c0', "aria-live": this.tdsAriaLive, toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
68
+ return (h(Host, { key: '09db24b58ba05daeba3e00ae880e86e700a43c2d', "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: '7ef66776e9ad60108fee1ba8b080b606c19d2543', class: `
71
+ } }, h("div", { key: '253a018ec0eea9e17f72200f52a38e71802f2902', class: `
72
72
  wrapper
73
- ${this.variant}` }, h("tds-icon", { key: '1010ab1efbad6a3e2315c8abbff7701e6398a21b', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: '292683b02d6db016d9ad39253ef0734dce245be7', class: `content` }, h("div", { key: 'c24661c9e1967e79bf0077389cf2dc03ec23ba62', class: "header-subheader" }, this.header && h("div", { key: 'f5e47f479a30fc2c5d37573e2d3b154f8a0400ab', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '141519b5effd90e894f206a16e94a824ebd77339', name: "header" }), this.subheader && h("div", { key: 'a41dd5610b6c2cead6a544f9ab0d8bdef8f5fff8', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '057233bcb1fd6c4abe7fbc1b396bc0649218fffa', name: "subheader" })), usesActionsSlot && (h("div", { key: '96a117a124c595fc46cf053d708e46c2ef47de5e', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: 'f2e390259a9fee09e54558a47e8dfdd604e5ef57', name: "actions" })))), this.closable && (h("button", { key: '878dec1fdc115fa5886577034d94ecf503e5b293', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: '207073210d39ceb50fe39ccd4101f7aeaa5cf8fc', name: "cross", size: "20px", svgTitle: "cross" }))))));
73
+ ${this.variant}` }, h("tds-icon", { key: '953f414876c38ffb05bc0c684850ab53df124b5e', name: this.getIconName(), size: "20px", svgTitle: this.getIconName() }), h("div", { key: 'eb1ec8eb50cf3e05ecd880c427804626d9e4c51b', class: `content` }, h("div", { key: '97a0f4cb5ec278ad6a22051328461a9e0e1ce0ff', class: "header-subheader" }, this.header && h("div", { key: 'b3ae30e072257f4a74e748e24991bbab72a80c01', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: '761fac1eda5bedd6c36d00be0548109c4f774af9', name: "header" }), this.subheader && h("div", { key: 'b4916a19416d8c0bfbdc0ef3d98fefda6ea96c86', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '62813da86efbf2ddf089a4931e11f774d6d27491', name: "subheader" })), usesActionsSlot && (h("div", { key: '93ec29dca445466da32ea2dc1c04bef76b8dc79e', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: 'fa9aeb95c9c569e77f85e3b65d993064e35dad81', name: "actions" })))), this.closable && (h("button", { key: '0d0aad78ebd983647774a2afdb593a7aa4e2dbf9', id: "my-button", "aria-label": this.tdsCloseAriaLabel, onClick: this.handleClose, class: "close" }, h("tds-icon", { key: 'df6e7efeef43689bf44c101d23e5ce725d087951', name: "cross", size: "20px", svgTitle: "cross" }))))));
74
74
  }
75
75
  static get is() { return "tds-toast"; }
76
76
  static get encapsulation() { return "shadow"; }