@scania/tegel 1.39.0 → 1.40.0-stencil-core-4.38.1-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 (548) hide show
  1. package/dist/cjs/index-Cpz8G-hs.js +2379 -0
  2. package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
  3. package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +3 -6
  5. package/dist/cjs/tds-accordion-item.cjs.entry.js +10 -7
  6. package/dist/cjs/tds-accordion.cjs.entry.js +4 -5
  7. package/dist/cjs/tds-badge.cjs.entry.js +6 -5
  8. package/dist/cjs/tds-banner.cjs.entry.js +18 -14
  9. package/dist/cjs/tds-block.cjs.entry.js +4 -5
  10. package/dist/cjs/tds-body-cell.cjs.entry.js +5 -11
  11. package/dist/cjs/tds-breadcrumb.cjs.entry.js +3 -5
  12. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +2 -6
  13. package/dist/cjs/tds-button_2.cjs.entry.js +15 -14
  14. package/dist/cjs/tds-card.cjs.entry.js +28 -19
  15. package/dist/cjs/tds-checkbox.cjs.entry.js +13 -15
  16. package/dist/cjs/tds-chip.cjs.entry.js +19 -16
  17. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +11 -12
  18. package/dist/cjs/tds-datetime.cjs.entry.js +29 -25
  19. package/dist/cjs/tds-dropdown_2.cjs.entry.js +65 -58
  20. package/dist/cjs/tds-folder-tab.cjs.entry.js +5 -8
  21. package/dist/cjs/tds-folder-tabs.cjs.entry.js +15 -15
  22. package/dist/cjs/tds-footer-group.cjs.entry.js +8 -13
  23. package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
  24. package/dist/cjs/tds-footer.cjs.entry.js +7 -9
  25. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +3 -6
  26. package/dist/cjs/tds-header-cell.cjs.entry.js +19 -23
  27. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +7 -8
  28. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +3 -10
  29. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +6 -9
  30. package/dist/cjs/tds-header-dropdown.cjs.entry.js +12 -16
  31. package/dist/cjs/tds-header-hamburger.cjs.entry.js +5 -9
  32. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +7 -9
  33. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +3 -6
  34. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +4 -7
  35. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +5 -9
  36. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +3 -6
  37. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +4 -7
  38. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +3 -5
  39. package/dist/cjs/tds-header-launcher.cjs.entry.js +8 -13
  40. package/dist/cjs/tds-header-title.cjs.entry.js +4 -7
  41. package/dist/cjs/tds-header.cjs.entry.js +5 -8
  42. package/dist/cjs/tds-icon.cjs.entry.js +11 -13
  43. package/dist/cjs/tds-inline-tab.cjs.entry.js +6 -8
  44. package/dist/cjs/tds-inline-tabs.cjs.entry.js +17 -16
  45. package/dist/cjs/tds-link.cjs.entry.js +7 -7
  46. package/dist/cjs/tds-message.cjs.entry.js +16 -16
  47. package/dist/cjs/tds-modal.cjs.entry.js +20 -20
  48. package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -7
  49. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +18 -17
  50. package/dist/cjs/tds-popover-canvas.cjs.entry.js +19 -13
  51. package/dist/cjs/tds-popover-core.cjs.entry.js +40 -36
  52. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -7
  53. package/dist/cjs/tds-popover-menu.cjs.entry.js +18 -13
  54. package/dist/cjs/tds-radio-button.cjs.entry.js +12 -15
  55. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +5 -8
  56. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +6 -9
  57. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +6 -8
  58. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +4 -7
  59. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +8 -10
  60. package/dist/cjs/tds-side-menu-item.cjs.entry.js +9 -9
  61. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +3 -6
  62. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +5 -13
  63. package/dist/cjs/tds-side-menu-user.cjs.entry.js +3 -10
  64. package/dist/cjs/tds-side-menu.cjs.entry.js +15 -12
  65. package/dist/cjs/tds-slider.cjs.entry.js +47 -32
  66. package/dist/cjs/tds-spinner.cjs.entry.js +5 -6
  67. package/dist/cjs/tds-step.cjs.entry.js +4 -12
  68. package/dist/cjs/tds-stepper.cjs.entry.js +13 -6
  69. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
  70. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +18 -14
  71. package/dist/cjs/tds-table-body-row.cjs.entry.js +7 -7
  72. package/dist/cjs/tds-table-body.cjs.entry.js +9 -13
  73. package/dist/cjs/tds-table-footer.cjs.entry.js +24 -20
  74. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
  75. package/dist/cjs/tds-table-header.cjs.entry.js +7 -8
  76. package/dist/cjs/tds-table-toolbar.cjs.entry.js +7 -7
  77. package/dist/cjs/tds-table.cjs.entry.js +21 -7
  78. package/dist/cjs/tds-tag.cjs.entry.js +6 -8
  79. package/dist/cjs/tds-text-field.cjs.entry.js +29 -18
  80. package/dist/cjs/tds-textarea.cjs.entry.js +19 -16
  81. package/dist/cjs/tds-toast.cjs.entry.js +19 -19
  82. package/dist/cjs/tds-toggle.cjs.entry.js +16 -17
  83. package/dist/cjs/tds-tooltip.cjs.entry.js +21 -19
  84. package/dist/cjs/tegel.cjs.js +7 -8
  85. package/dist/collection/collection-manifest.json +2 -2
  86. package/dist/collection/components/accordion/accordion-item/accordion-item.css +9 -34
  87. package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
  88. package/dist/collection/components/accordion/accordion.js +8 -2
  89. package/dist/collection/components/badge/badge.js +16 -4
  90. package/dist/collection/components/banner/banner.js +39 -18
  91. package/dist/collection/components/block/block.js +8 -2
  92. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
  93. package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
  94. package/dist/collection/components/button/button.css +14 -14
  95. package/dist/collection/components/button/button.js +44 -19
  96. package/dist/collection/components/card/card.js +64 -28
  97. package/dist/collection/components/checkbox/checkbox.js +41 -22
  98. package/dist/collection/components/chip/chip.css +23 -15
  99. package/dist/collection/components/chip/chip.js +41 -19
  100. package/dist/collection/components/datetime/datetime.css +21 -96
  101. package/dist/collection/components/datetime/datetime.js +77 -38
  102. package/dist/collection/components/divider/divider.js +9 -3
  103. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +1 -1
  104. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +34 -21
  105. package/dist/collection/components/dropdown/dropdown.js +91 -55
  106. package/dist/collection/components/footer/footer-group/footer-group.js +13 -11
  107. package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
  108. package/dist/collection/components/footer/footer.js +7 -4
  109. package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
  110. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
  111. package/dist/collection/components/header/header-dropdown/header-dropdown.css +5 -0
  112. package/dist/collection/components/header/header-dropdown/header-dropdown.js +22 -15
  113. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +5 -3
  114. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.css +5 -3
  115. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +10 -4
  116. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +17 -15
  117. package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -6
  118. package/dist/collection/components/header/header-item/header-item.css +12 -5
  119. package/dist/collection/components/header/header-item/header-item.js +11 -4
  120. package/dist/collection/components/header/header-launcher/header-launcher.js +7 -7
  121. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +10 -5
  122. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -4
  123. package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
  124. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
  125. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
  126. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
  127. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
  128. package/dist/collection/components/header/header-title/header-title.css +2 -0
  129. package/dist/collection/components/header/header-title/header-title.js +1 -1
  130. package/dist/collection/components/header/header.js +1 -1
  131. package/dist/collection/components/icon/icon.js +27 -16
  132. package/dist/collection/components/link/link.js +14 -5
  133. package/dist/collection/components/message/message.css +9 -9
  134. package/dist/collection/components/message/message.js +35 -18
  135. package/dist/collection/components/modal/modal.js +46 -25
  136. package/dist/collection/components/popover-canvas/popover-canvas.js +49 -18
  137. package/dist/collection/components/popover-core/popover-core.js +61 -30
  138. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +6 -3
  139. package/dist/collection/components/popover-menu/popover-menu.js +46 -18
  140. package/dist/collection/components/radio-button/radio-button.js +37 -21
  141. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
  142. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
  143. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +19 -10
  144. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
  145. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +1 -0
  146. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +6 -3
  147. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +1 -0
  148. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +11 -4
  149. package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
  150. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +17 -15
  151. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +9 -9
  152. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +9 -9
  153. package/dist/collection/components/side-menu/side-menu.js +22 -10
  154. package/dist/collection/components/slider/slider.js +98 -44
  155. package/dist/collection/components/spinner/spinner.js +9 -3
  156. package/dist/collection/components/stepper/step/step.js +13 -12
  157. package/dist/collection/components/stepper/stepper.js +28 -6
  158. package/dist/collection/components/table/table/table.js +49 -12
  159. package/dist/collection/components/table/table-body/table-body.js +7 -8
  160. package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -13
  161. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +5 -2
  162. package/dist/collection/components/table/table-body-row/table-body-row.js +14 -5
  163. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +34 -15
  164. package/dist/collection/components/table/table-footer/table-footer.js +39 -20
  165. package/dist/collection/components/table/table-header/table-header.js +18 -8
  166. package/dist/collection/components/table/table-header-cell/table-header-cell.js +41 -28
  167. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +8 -3
  168. package/dist/collection/components/table/table-toolbar/table-toolbar.js +14 -5
  169. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +6 -4
  170. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +29 -16
  171. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +11 -12
  172. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +6 -3
  173. package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +9 -2
  174. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +33 -17
  175. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +6 -3
  176. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +35 -19
  177. package/dist/collection/components/tag/tag.js +13 -6
  178. package/dist/collection/components/text-field/text-field.js +128 -36
  179. package/dist/collection/components/textarea/textarea.js +71 -31
  180. package/dist/collection/components/toast/toast.js +45 -24
  181. package/dist/collection/components/toggle/toggle.js +40 -22
  182. package/dist/collection/components/tooltip/tooltip.js +53 -26
  183. package/dist/collection/utils/dom.js +7 -0
  184. package/dist/components/index.js +1790 -1
  185. package/dist/components/{p-f04f04b5.js → p-B569z5eW.js} +25 -15
  186. package/dist/components/{p-ad6babcd.js → p-BHBgkUfr.js} +15 -11
  187. package/dist/components/{p-9ad61cb5.js → p-BhLq7lgx.js} +8 -7
  188. package/dist/components/{p-de36fc8a.js → p-BiyghEA7.js} +40 -42
  189. package/dist/components/{p-92c2da85.js → p-BxmFjTxG.js} +14 -10
  190. package/dist/components/{p-927cf777.js → p-CMsPXG7a.js} +8 -9
  191. package/dist/components/{p-b390ece5.js → p-CPDv0bBc.js} +16 -14
  192. package/dist/components/{p-44f5b5e1.js → p-Ca3wGDna.js} +18 -16
  193. package/dist/components/p-ChCWm6If.js +95 -0
  194. package/dist/components/{p-859e3ebf.js → p-CuIyaNyT.js} +1 -1
  195. package/dist/components/{p-072bf53a.js → p-D1ati-pM.js} +14 -12
  196. package/dist/components/{p-40253725.js → p-DnzQe_HU.js} +27 -21
  197. package/dist/components/{p-b609e7a7.js → p-DuxH3vDC.js} +8 -9
  198. package/dist/components/{p-c4318e35.js → p-Ee9QeMgy.js} +41 -26
  199. package/dist/components/{p-6eecf159.js → p-FqP1yGh_.js} +10 -7
  200. package/dist/components/{p-71c3dfe9.js → p-HRj1DOvh.js} +12 -9
  201. package/dist/components/{p-3b58a9f3.js → p-Ip9G3co9.js} +39 -22
  202. package/dist/components/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  203. package/dist/components/{p-d0cf68be.js → p-QnvG_QPu.js} +10 -9
  204. package/dist/components/{p-d3866be7.js → p-X1sPx4t5.js} +45 -37
  205. package/dist/components/tds-accordion-item.js +16 -9
  206. package/dist/components/tds-accordion.js +9 -6
  207. package/dist/components/tds-badge.js +11 -6
  208. package/dist/components/tds-banner.js +24 -16
  209. package/dist/components/tds-block.js +9 -6
  210. package/dist/components/tds-body-cell.js +10 -12
  211. package/dist/components/tds-breadcrumb.js +8 -6
  212. package/dist/components/tds-breadcrumbs.js +7 -7
  213. package/dist/components/tds-button.js +1 -1
  214. package/dist/components/tds-card.js +36 -23
  215. package/dist/components/tds-checkbox.js +1 -1
  216. package/dist/components/tds-chip.js +24 -17
  217. package/dist/components/tds-core-header-item.js +1 -1
  218. package/dist/components/tds-datetime.js +35 -27
  219. package/dist/components/tds-divider.js +1 -1
  220. package/dist/components/tds-dropdown-option.js +1 -1
  221. package/dist/components/tds-dropdown.js +1 -1
  222. package/dist/components/tds-folder-tab.js +10 -9
  223. package/dist/components/tds-folder-tabs.js +21 -17
  224. package/dist/components/tds-footer-group.js +14 -15
  225. package/dist/components/tds-footer-item.js +8 -7
  226. package/dist/components/tds-footer.js +12 -10
  227. package/dist/components/tds-header-brand-symbol.js +10 -9
  228. package/dist/components/tds-header-cell.js +25 -25
  229. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  230. package/dist/components/tds-header-dropdown-list-user.js +8 -11
  231. package/dist/components/tds-header-dropdown-list.js +1 -1
  232. package/dist/components/tds-header-dropdown.js +22 -22
  233. package/dist/components/tds-header-hamburger.js +12 -12
  234. package/dist/components/tds-header-item.js +1 -1
  235. package/dist/components/tds-header-launcher-button.js +1 -1
  236. package/dist/components/tds-header-launcher-grid-item.js +8 -7
  237. package/dist/components/tds-header-launcher-grid-title.js +9 -8
  238. package/dist/components/tds-header-launcher-grid.js +9 -9
  239. package/dist/components/tds-header-launcher-list-item.js +9 -8
  240. package/dist/components/tds-header-launcher-list-title.js +9 -8
  241. package/dist/components/tds-header-launcher-list.js +9 -7
  242. package/dist/components/tds-header-launcher.js +18 -19
  243. package/dist/components/tds-header-title.js +9 -8
  244. package/dist/components/tds-header.js +9 -8
  245. package/dist/components/tds-icon.js +1 -1
  246. package/dist/components/tds-inline-tab.js +11 -9
  247. package/dist/components/tds-inline-tabs.js +23 -18
  248. package/dist/components/tds-link.js +12 -8
  249. package/dist/components/tds-message.js +22 -18
  250. package/dist/components/tds-modal.js +26 -22
  251. package/dist/components/tds-navigation-tab.js +10 -8
  252. package/dist/components/tds-navigation-tabs.js +24 -19
  253. package/dist/components/tds-popover-canvas.js +1 -1
  254. package/dist/components/tds-popover-core.js +1 -1
  255. package/dist/components/tds-popover-menu-item.js +10 -8
  256. package/dist/components/tds-popover-menu.js +24 -15
  257. package/dist/components/tds-radio-button.js +17 -16
  258. package/dist/components/tds-side-menu-close-button.js +10 -9
  259. package/dist/components/tds-side-menu-collapse-button.js +12 -11
  260. package/dist/components/tds-side-menu-dropdown-list-item.js +11 -9
  261. package/dist/components/tds-side-menu-dropdown-list.js +9 -8
  262. package/dist/components/tds-side-menu-dropdown.js +15 -13
  263. package/dist/components/tds-side-menu-item.js +1 -1
  264. package/dist/components/tds-side-menu-overlay.js +8 -7
  265. package/dist/components/tds-side-menu-user-image.js +1 -1
  266. package/dist/components/tds-side-menu-user-label.js +1 -1
  267. package/dist/components/tds-side-menu-user.js +10 -13
  268. package/dist/components/tds-side-menu.js +20 -13
  269. package/dist/components/tds-slider.js +56 -37
  270. package/dist/components/tds-spinner.js +10 -7
  271. package/dist/components/tds-step.js +10 -14
  272. package/dist/components/tds-stepper.js +18 -7
  273. package/dist/components/tds-table-body-input-wrapper.js +10 -8
  274. package/dist/components/tds-table-body-row-expandable.js +23 -15
  275. package/dist/components/tds-table-body-row.js +13 -9
  276. package/dist/components/tds-table-body.js +14 -14
  277. package/dist/components/tds-table-footer.js +33 -25
  278. package/dist/components/tds-table-header-input-wrapper.js +10 -8
  279. package/dist/components/tds-table-header.js +13 -10
  280. package/dist/components/tds-table-toolbar.js +13 -9
  281. package/dist/components/tds-table.js +26 -8
  282. package/dist/components/tds-tag.js +11 -9
  283. package/dist/components/tds-text-field.js +1 -1
  284. package/dist/components/tds-textarea.js +27 -20
  285. package/dist/components/tds-toast.js +25 -21
  286. package/dist/components/tds-toggle.js +21 -18
  287. package/dist/components/tds-tooltip.js +1 -1
  288. package/dist/esm/index-Cl9XBhQW.js +2350 -0
  289. package/dist/esm/{inheritAriaAttributes-04f2f252.js → inheritAriaAttributes-DyLhgCIg.js} +1 -1
  290. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  291. package/dist/esm/loader.js +3 -4
  292. package/dist/esm/tds-accordion-item.entry.js +10 -5
  293. package/dist/esm/tds-accordion.entry.js +4 -3
  294. package/dist/esm/tds-badge.entry.js +6 -3
  295. package/dist/esm/tds-banner.entry.js +18 -12
  296. package/dist/esm/tds-block.entry.js +4 -3
  297. package/dist/esm/tds-body-cell.entry.js +5 -9
  298. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  299. package/dist/esm/tds-breadcrumbs.entry.js +2 -4
  300. package/dist/esm/tds-button_2.entry.js +15 -12
  301. package/dist/esm/tds-card.entry.js +28 -17
  302. package/dist/esm/tds-checkbox.entry.js +13 -13
  303. package/dist/esm/tds-chip.entry.js +19 -14
  304. package/dist/esm/tds-core-header-item_2.entry.js +11 -10
  305. package/dist/esm/tds-datetime.entry.js +29 -23
  306. package/dist/esm/tds-dropdown_2.entry.js +65 -56
  307. package/dist/esm/tds-folder-tab.entry.js +5 -6
  308. package/dist/esm/tds-folder-tabs.entry.js +15 -13
  309. package/dist/esm/tds-footer-group.entry.js +8 -11
  310. package/dist/esm/tds-footer-item.entry.js +3 -4
  311. package/dist/esm/tds-footer.entry.js +7 -7
  312. package/dist/esm/tds-header-brand-symbol.entry.js +3 -4
  313. package/dist/esm/tds-header-cell.entry.js +19 -21
  314. package/dist/esm/tds-header-dropdown-list-item.entry.js +7 -6
  315. package/dist/esm/tds-header-dropdown-list-user.entry.js +3 -8
  316. package/dist/esm/tds-header-dropdown-list.entry.js +6 -7
  317. package/dist/esm/tds-header-dropdown.entry.js +12 -14
  318. package/dist/esm/tds-header-hamburger.entry.js +5 -7
  319. package/dist/esm/tds-header-launcher-button.entry.js +7 -7
  320. package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -4
  321. package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -5
  322. package/dist/esm/tds-header-launcher-grid.entry.js +5 -7
  323. package/dist/esm/tds-header-launcher-list-item.entry.js +3 -4
  324. package/dist/esm/tds-header-launcher-list-title.entry.js +4 -5
  325. package/dist/esm/tds-header-launcher-list.entry.js +3 -3
  326. package/dist/esm/tds-header-launcher.entry.js +8 -11
  327. package/dist/esm/tds-header-title.entry.js +4 -5
  328. package/dist/esm/tds-header.entry.js +5 -6
  329. package/dist/esm/tds-icon.entry.js +11 -11
  330. package/dist/esm/tds-inline-tab.entry.js +6 -6
  331. package/dist/esm/tds-inline-tabs.entry.js +17 -14
  332. package/dist/esm/tds-link.entry.js +7 -5
  333. package/dist/esm/tds-message.entry.js +16 -14
  334. package/dist/esm/tds-modal.entry.js +20 -18
  335. package/dist/esm/tds-navigation-tab.entry.js +5 -5
  336. package/dist/esm/tds-navigation-tabs.entry.js +18 -15
  337. package/dist/esm/tds-popover-canvas.entry.js +19 -11
  338. package/dist/esm/tds-popover-core.entry.js +40 -34
  339. package/dist/esm/tds-popover-menu-item.entry.js +5 -5
  340. package/dist/esm/tds-popover-menu.entry.js +18 -11
  341. package/dist/esm/tds-radio-button.entry.js +12 -13
  342. package/dist/esm/tds-side-menu-close-button.entry.js +5 -6
  343. package/dist/esm/tds-side-menu-collapse-button.entry.js +6 -7
  344. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +6 -6
  345. package/dist/esm/tds-side-menu-dropdown-list.entry.js +4 -5
  346. package/dist/esm/tds-side-menu-dropdown.entry.js +8 -8
  347. package/dist/esm/tds-side-menu-item.entry.js +9 -7
  348. package/dist/esm/tds-side-menu-overlay.entry.js +3 -4
  349. package/dist/esm/tds-side-menu-user-image_2.entry.js +5 -11
  350. package/dist/esm/tds-side-menu-user.entry.js +3 -8
  351. package/dist/esm/tds-side-menu.entry.js +15 -10
  352. package/dist/esm/tds-slider.entry.js +47 -30
  353. package/dist/esm/tds-spinner.entry.js +5 -4
  354. package/dist/esm/tds-step.entry.js +4 -10
  355. package/dist/esm/tds-stepper.entry.js +13 -4
  356. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  357. package/dist/esm/tds-table-body-row-expandable.entry.js +18 -12
  358. package/dist/esm/tds-table-body-row.entry.js +7 -5
  359. package/dist/esm/tds-table-body.entry.js +9 -11
  360. package/dist/esm/tds-table-footer.entry.js +24 -18
  361. package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
  362. package/dist/esm/tds-table-header.entry.js +7 -6
  363. package/dist/esm/tds-table-toolbar.entry.js +7 -5
  364. package/dist/esm/tds-table.entry.js +21 -5
  365. package/dist/esm/tds-tag.entry.js +6 -6
  366. package/dist/esm/tds-text-field.entry.js +29 -16
  367. package/dist/esm/tds-textarea.entry.js +19 -14
  368. package/dist/esm/tds-toast.entry.js +19 -17
  369. package/dist/esm/tds-toggle.entry.js +16 -15
  370. package/dist/esm/tds-tooltip.entry.js +21 -17
  371. package/dist/esm/tegel.js +5 -5
  372. package/dist/tegel/{p-6e57997e.entry.js → p-03d1456f.entry.js} +1 -1
  373. package/dist/tegel/p-07c5665c.entry.js +1 -0
  374. package/dist/tegel/p-08d8a464.entry.js +1 -0
  375. package/dist/tegel/{p-b734b309.entry.js → p-0a3bd804.entry.js} +1 -1
  376. package/dist/tegel/{p-72006dd7.entry.js → p-0ab44df9.entry.js} +1 -1
  377. package/dist/tegel/p-0e8721cf.entry.js +1 -0
  378. package/dist/tegel/p-1371f357.entry.js +1 -0
  379. package/dist/tegel/p-147d2c33.entry.js +1 -0
  380. package/dist/tegel/p-250a843a.entry.js +1 -0
  381. package/dist/tegel/p-2b89b750.entry.js +1 -0
  382. package/dist/tegel/p-2c5e101e.entry.js +1 -0
  383. package/dist/tegel/p-2ebac517.entry.js +1 -0
  384. package/dist/tegel/{p-2f9b15f6.entry.js → p-36ea4775.entry.js} +1 -1
  385. package/dist/tegel/p-37873e68.entry.js +1 -0
  386. package/dist/tegel/p-37aa4516.entry.js +1 -0
  387. package/dist/tegel/p-3910b9e0.entry.js +1 -0
  388. package/dist/tegel/p-39f80d1b.entry.js +1 -0
  389. package/dist/tegel/{p-3022d31d.entry.js → p-3c409856.entry.js} +1 -1
  390. package/dist/tegel/p-3e1edb21.entry.js +1 -0
  391. package/dist/tegel/p-3e27eee0.entry.js +1 -0
  392. package/dist/tegel/p-3f0c978a.entry.js +1 -0
  393. package/dist/tegel/p-41fa3671.entry.js +1 -0
  394. package/dist/tegel/{p-bcdf13e0.entry.js → p-449e8c13.entry.js} +1 -1
  395. package/dist/tegel/p-4b711300.entry.js +1 -0
  396. package/dist/tegel/p-4ebf13bf.entry.js +1 -0
  397. package/dist/tegel/{p-525c81b1.entry.js → p-57def79e.entry.js} +1 -1
  398. package/dist/tegel/p-599ae54d.entry.js +1 -0
  399. package/dist/tegel/{p-650b98bf.entry.js → p-59a1c10f.entry.js} +1 -1
  400. package/dist/tegel/p-5d64b236.entry.js +1 -0
  401. package/dist/tegel/p-6066b5be.entry.js +1 -0
  402. package/dist/tegel/p-620b157a.entry.js +1 -0
  403. package/dist/tegel/p-624a8ca4.entry.js +1 -0
  404. package/dist/tegel/p-628798d4.entry.js +1 -0
  405. package/dist/tegel/p-63646981.entry.js +1 -0
  406. package/dist/tegel/{p-87740f23.entry.js → p-69bf3133.entry.js} +1 -1
  407. package/dist/tegel/{p-d0f09796.entry.js → p-6cad127c.entry.js} +1 -1
  408. package/dist/tegel/{p-c465f9b8.entry.js → p-6d3447b7.entry.js} +1 -1
  409. package/dist/tegel/p-71943f32.entry.js +1 -0
  410. package/dist/tegel/p-7ba0b456.entry.js +1 -0
  411. package/dist/tegel/p-802e8d8a.entry.js +1 -0
  412. package/dist/tegel/p-80be1071.entry.js +1 -0
  413. package/dist/tegel/p-8501b0d7.entry.js +1 -0
  414. package/dist/tegel/{p-87219f00.entry.js → p-8ad8234f.entry.js} +1 -1
  415. package/dist/tegel/p-8d4d136f.entry.js +1 -0
  416. package/dist/tegel/{p-ecb34850.entry.js → p-8d98759c.entry.js} +1 -1
  417. package/dist/tegel/p-902183d7.entry.js +1 -0
  418. package/dist/tegel/p-936d77e4.entry.js +1 -0
  419. package/dist/tegel/p-942df5c4.entry.js +1 -0
  420. package/dist/tegel/{p-fbffe3aa.entry.js → p-99f46fe1.entry.js} +1 -1
  421. package/dist/tegel/p-9b7ad650.entry.js +1 -0
  422. package/dist/tegel/{p-3a92d554.entry.js → p-9c62f888.entry.js} +1 -1
  423. package/dist/tegel/p-9f25060e.entry.js +1 -0
  424. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  425. package/dist/tegel/p-Cl9XBhQW.js +2 -0
  426. package/dist/tegel/{p-0bd4c19c.js → p-Q3W78DlP.js} +1 -1
  427. package/dist/tegel/p-a08baed5.entry.js +1 -0
  428. package/dist/tegel/p-a30159f5.entry.js +1 -0
  429. package/dist/tegel/{p-c7b0253c.entry.js → p-a3ef627e.entry.js} +1 -1
  430. package/dist/tegel/{p-bb1d069f.entry.js → p-a595dba7.entry.js} +1 -1
  431. package/dist/tegel/p-aaacbe31.entry.js +1 -0
  432. package/dist/tegel/p-b0f44fd9.entry.js +1 -0
  433. package/dist/tegel/p-b2bfe0fb.entry.js +1 -0
  434. package/dist/tegel/{p-eff87481.entry.js → p-b4df0131.entry.js} +1 -1
  435. package/dist/tegel/p-b509c734.entry.js +1 -0
  436. package/dist/tegel/{p-0cfe8671.entry.js → p-b82a11bf.entry.js} +1 -1
  437. package/dist/tegel/p-bbea0ac6.entry.js +1 -0
  438. package/dist/tegel/p-c0114238.entry.js +1 -0
  439. package/dist/tegel/p-c578be27.entry.js +1 -0
  440. package/dist/tegel/p-d5041602.entry.js +1 -0
  441. package/dist/tegel/p-dfd5a301.entry.js +1 -0
  442. package/dist/tegel/{p-5dd2aac8.entry.js → p-e22a2a9b.entry.js} +1 -1
  443. package/dist/tegel/p-e25343d7.entry.js +1 -0
  444. package/dist/tegel/p-e2ce7b37.entry.js +1 -0
  445. package/dist/tegel/p-e4d0d1cb.entry.js +1 -0
  446. package/dist/tegel/{p-bdc913a0.entry.js → p-e853d304.entry.js} +1 -1
  447. package/dist/tegel/p-eb479100.entry.js +1 -0
  448. package/dist/tegel/{p-3ec01fb3.entry.js → p-ec41cf1e.entry.js} +1 -1
  449. package/dist/tegel/p-ec60f391.entry.js +1 -0
  450. package/dist/tegel/p-ee227187.entry.js +1 -0
  451. package/dist/tegel/{p-336f2de3.entry.js → p-ee500e52.entry.js} +1 -1
  452. package/dist/tegel/p-f42f851e.entry.js +1 -0
  453. package/dist/tegel/p-f6cf2d52.entry.js +1 -0
  454. package/dist/tegel/tegel.css +4 -4
  455. package/dist/tegel/tegel.esm.js +1 -1
  456. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  457. package/dist/types/components/table/table-body-input-wrapper/table-body-input-wrapper.d.ts +1 -1
  458. package/dist/types/components/text-field/text-field.d.ts +5 -1
  459. package/dist/types/components.d.ts +560 -2
  460. package/dist/types/stencil-public-runtime.d.ts +78 -5
  461. package/dist/types/utils/dom.d.ts +2 -0
  462. package/package.json +5 -3
  463. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  464. package/dist/cjs/index-ca8040ad.js +0 -2039
  465. package/dist/components/p-28ef5186.js +0 -1507
  466. package/dist/components/p-c8dc3566.js +0 -91
  467. package/dist/esm/app-globals-0f993ce5.js +0 -3
  468. package/dist/esm/index-51d04e39.js +0 -2009
  469. package/dist/tegel/p-08f63e5d.entry.js +0 -1
  470. package/dist/tegel/p-0cac9ea6.entry.js +0 -1
  471. package/dist/tegel/p-177386d5.entry.js +0 -1
  472. package/dist/tegel/p-1859156f.entry.js +0 -1
  473. package/dist/tegel/p-1b471db7.entry.js +0 -1
  474. package/dist/tegel/p-1bbef1a5.entry.js +0 -1
  475. package/dist/tegel/p-1c75f8a7.entry.js +0 -1
  476. package/dist/tegel/p-2049fab2.js +0 -2
  477. package/dist/tegel/p-22b6223e.entry.js +0 -1
  478. package/dist/tegel/p-23fb4dee.entry.js +0 -1
  479. package/dist/tegel/p-25f4b4ca.entry.js +0 -1
  480. package/dist/tegel/p-27c2f109.entry.js +0 -1
  481. package/dist/tegel/p-2c9ea0be.entry.js +0 -1
  482. package/dist/tegel/p-303acf88.entry.js +0 -1
  483. package/dist/tegel/p-30901c4d.entry.js +0 -1
  484. package/dist/tegel/p-35293420.entry.js +0 -1
  485. package/dist/tegel/p-3ebe93ff.entry.js +0 -1
  486. package/dist/tegel/p-462a6049.entry.js +0 -1
  487. package/dist/tegel/p-46c9af0f.entry.js +0 -1
  488. package/dist/tegel/p-4a666337.entry.js +0 -1
  489. package/dist/tegel/p-5bca9fe7.entry.js +0 -1
  490. package/dist/tegel/p-601a74ad.entry.js +0 -1
  491. package/dist/tegel/p-614bcd4b.entry.js +0 -1
  492. package/dist/tegel/p-628dc7f7.entry.js +0 -1
  493. package/dist/tegel/p-6a615ac1.entry.js +0 -1
  494. package/dist/tegel/p-7013249b.entry.js +0 -1
  495. package/dist/tegel/p-704682d6.entry.js +0 -1
  496. package/dist/tegel/p-7caad569.entry.js +0 -1
  497. package/dist/tegel/p-7cb9790d.entry.js +0 -1
  498. package/dist/tegel/p-7d427dff.entry.js +0 -1
  499. package/dist/tegel/p-83e6e31f.entry.js +0 -1
  500. package/dist/tegel/p-84de314b.entry.js +0 -1
  501. package/dist/tegel/p-86e99fdb.entry.js +0 -1
  502. package/dist/tegel/p-8ae4e03c.entry.js +0 -1
  503. package/dist/tegel/p-8c2695af.entry.js +0 -1
  504. package/dist/tegel/p-9099d978.entry.js +0 -1
  505. package/dist/tegel/p-9b0c886e.entry.js +0 -1
  506. package/dist/tegel/p-9b2257f3.entry.js +0 -1
  507. package/dist/tegel/p-a6238890.entry.js +0 -1
  508. package/dist/tegel/p-a66a4a4e.entry.js +0 -1
  509. package/dist/tegel/p-a829417c.entry.js +0 -1
  510. package/dist/tegel/p-aec3e4cf.entry.js +0 -1
  511. package/dist/tegel/p-af63a774.entry.js +0 -1
  512. package/dist/tegel/p-b20f250b.entry.js +0 -1
  513. package/dist/tegel/p-b2b9561f.entry.js +0 -1
  514. package/dist/tegel/p-bb9445ff.entry.js +0 -1
  515. package/dist/tegel/p-bcd5e06d.entry.js +0 -1
  516. package/dist/tegel/p-bd935506.entry.js +0 -1
  517. package/dist/tegel/p-c15eba7d.entry.js +0 -1
  518. package/dist/tegel/p-c4f701f6.entry.js +0 -1
  519. package/dist/tegel/p-c61ecc8e.entry.js +0 -1
  520. package/dist/tegel/p-cf7af8f2.entry.js +0 -1
  521. package/dist/tegel/p-d184a3f0.entry.js +0 -1
  522. package/dist/tegel/p-debd6adc.entry.js +0 -1
  523. package/dist/tegel/p-e1255160.js +0 -1
  524. package/dist/tegel/p-f2232281.entry.js +0 -1
  525. package/dist/tegel/p-f4b5e80b.entry.js +0 -1
  526. package/dist/tegel/p-f9c17612.entry.js +0 -1
  527. package/loader/package.json +0 -11
  528. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  529. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  530. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  531. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  532. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  533. /package/dist/components/{p-a1181b1f.js → p-CBZ6wC3m.js} +0 -0
  534. /package/dist/components/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  535. /package/dist/components/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  536. /package/dist/components/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  537. /package/dist/components/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  538. /package/dist/components/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
  539. /package/dist/esm/{dfs-1e574d5f.js → dfs-CLF3diNe.js} +0 -0
  540. /package/dist/esm/{generateUniqueId-7934d315.js → generateUniqueId-Cn4f8w1e.js} +0 -0
  541. /package/dist/esm/{getAriaInvalid-a9944cb9.js → getAriaInvalid-wEP_nEaO.js} +0 -0
  542. /package/dist/esm/{hasSlot-d52114d0.js → hasSlot-DDX6uFcm.js} +0 -0
  543. /package/dist/esm/{inheritAttributes-d21e267b.js → inheritAttributes-CF8bH08v.js} +0 -0
  544. /package/dist/tegel/{p-3fe9cbbf.js → p-CF8bH08v.js} +0 -0
  545. /package/dist/tegel/{p-52bf0fdf.js → p-CLF3diNe.js} +0 -0
  546. /package/dist/tegel/{p-11648030.js → p-Cn4f8w1e.js} +0 -0
  547. /package/dist/tegel/{p-ae110fc2.js → p-DDX6uFcm.js} +0 -0
  548. /package/dist/tegel/{p-bbf9492a.js → p-wEP_nEaO.js} +0 -0
@@ -1,8 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { g as generateUniqueId } from './p-11648030.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { g as generateUniqueId } from './p-Cn4f8w1e.js';
3
3
 
4
4
  const tableBodyRowExpandableCss = ":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .tds-table__row,:host .tds-table__row-extend{display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host .tds-table__row--expanded{border-bottom:none}:host .tds-table__row:hover,:host .tds-table__row-extend:hover{background-color:var(--tds-table-body-row-background-hover)}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .tds-table__expand-control-container .tds-table__expand-input{all:unset;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}:host .tds-table__expand-control-container .tds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__row-expand{display:none;transition:background-color 200ms ease}:host .tds-table__row-expand--expanded{border-bottom:1px solid var(--tds-table-divider)}:host .tds-table__row-expand .tds-table__cell-expand{max-width:1px;overflow:auto;padding:16px 16px 16px 66px;color:var(--tds-table-color)}:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible{overflow:visible}:host .tds-table__row-expand .tds-table__cell-expand--overflow-hidden{overflow:hidden}:host(.tds-table__row-expand--active) .tds-table__row{background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon{transform:rotate(180deg)}:host(.tds-table__row-expand--active) .tds-table__row-expand{background-color:var(--tds-table-body-row-background-selected);display:table-row}:host(.tds-table__compact) .tds-table__expand-control-container{height:30px}:host(.tds-table__compact) .tds-table__row-expand .tds-table__cell-expand{padding:8px 16px 8px 66px}:host(.tds-table__row--hidden){display:none}:host(.tds-table--divider) .tds-table__cell--expand{border-right:1px solid var(--tds-table-divider)}";
5
- const TdsTableBodyRowExpandableStyle0 = tableBodyRowExpandableCss;
6
5
 
7
6
  const relevantTableProps = [
8
7
  'verticalDividers',
@@ -11,18 +10,27 @@ const relevantTableProps = [
11
10
  'modeVariant',
12
11
  ];
13
12
  const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRowExpandable extends H {
14
- constructor() {
13
+ constructor(registerHost) {
15
14
  super();
16
- this.__registerHost();
15
+ if (registerHost !== false) {
16
+ this.__registerHost();
17
+ }
17
18
  this.__attachShadow();
18
19
  this.internalTdsRowExpanded = createEvent(this, "internalTdsRowExpanded", 6);
19
20
  this.tdsChange = createEvent(this, "tdsChange", 6);
21
+ /** In case that automatic count of columns does not work, user can manually set this one.
22
+ * Take in mind that expandable control is column too */
20
23
  this.colSpan = null;
24
+ /** ID for the table row. Randomly generated if not specified. */
21
25
  this.rowId = generateUniqueId();
22
- this.expanded = undefined;
26
+ /** Controls the overflow behavior of the expandable row content */
23
27
  this.overflow = 'auto';
28
+ /** Sets isExpanded state to true or false internally */
29
+ /** Enables auto-collapse of other expandable rows when one row is expanded */
24
30
  this.autoCollapse = false;
31
+ /** Aria label for the expand button, providing an accessible description */
25
32
  this.tdsAriaLabelExpandButton = '';
33
+ /** Sets isExpanded state to true or fals internally */
26
34
  this.isExpanded = false;
27
35
  this.tableId = '';
28
36
  this.columnsNumber = null;
@@ -102,33 +110,33 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
102
110
  this.sendValue();
103
111
  }
104
112
  render() {
105
- return (h(Host, { key: '36be80e7cd0916cb8e196f52676281fcabc1996e', class: {
113
+ return (h(Host, { key: '3d289d00082c284257728cec4f0ddcfc63dda863', class: {
106
114
  'tds-table__row': true,
107
115
  'tds-table__row-expand--active': this.isExpanded,
108
116
  'tds-table__compact': this.compactDesign,
109
117
  'tds-table--divider': this.verticalDividers,
110
- } }, h("tr", { key: '868377d055d9d66fcf1824ed811e4a56f67b79e0', id: `expandable-content-${this.rowId}`, class: {
118
+ } }, h("tr", { key: '246ee336a3ab871346e1fcf81f02109121dc9657', id: `expandable-content-${this.rowId}`, class: {
111
119
  'tds-table__row': true,
112
120
  'tds-table__row--expanded': this.isExpanded,
113
- }, part: "row" }, h("td", { key: '059858ff5293deda48d039fdc81dd4a5d8ae6fce', class: {
121
+ }, part: "row" }, h("td", { key: 'b727b78965a4bdf0b6cf8ff7e8460d3dfae8327e', class: {
114
122
  'tds-table__cell-expand': true,
115
- } }, 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: {
123
+ } }, 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: {
116
124
  'tds-table__row-expand': true,
117
125
  'tds-table__row-expand--expanded': this.isExpanded,
118
- }, part: "expand-row" }, h("td", { key: 'b72d532f22b5c7c0bc7c7b23caf5887d4228b9d0', class: {
126
+ }, part: "expand-row" }, h("td", { key: '2fcafe17b33ce39b5e1a3b149434006a70f6b8f3', class: {
119
127
  'tds-table__cell-expand': true,
120
128
  'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
121
129
  'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
122
- }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '256a827b43a8099b9ea4e5a5a43023ff9bf0b828', style: {
130
+ }, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: 'b696b23d127e32a8017692b03de1ce8ee9497dcb', style: {
123
131
  overflow: this.overflow,
124
- } }, h("slot", { key: '6bbc0eeca7b7a654da9c1b7da6992aa8928e1974', name: "expand-row" }))))));
132
+ } }, h("slot", { key: 'e64e00778fd7c85618ae4cbc19d232e2acb873b5', name: "expand-row" }))))));
125
133
  }
126
134
  get host() { return this; }
127
135
  static get watchers() { return {
128
136
  "expanded": ["watchExpanded"]
129
137
  }; }
130
- static get style() { return TdsTableBodyRowExpandableStyle0; }
131
- }, [1, "tds-table-body-row-expandable", {
138
+ static get style() { return tableBodyRowExpandableCss; }
139
+ }, [257, "tds-table-body-row-expandable", {
132
140
  "colSpan": [2, "col-span"],
133
141
  "rowId": [513, "row-id"],
134
142
  "expanded": [516],
@@ -1,8 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-44f5b5e1.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$2 } from './p-Ca3wGDna.js';
3
3
 
4
4
  const tableBodyRowCss = ":host(.tds-table__row){box-sizing:border-box;display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host(.tds-table__row) *{box-sizing:border-box}:host(.tds-table__row) .tds-table__body-cell--checkbox{min-width:48px;width:48px;padding:0}:host(.tds-table__row:hover){border-bottom:1px solid var(--tds-table-divider-hover)}:host(.tds-table__row:hover){background-color:var(--tds-table-body-row-background-hover)}:host(.tds-table__row--selected){background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row--selected:hover){background-color:var(--tds-table-body-row-background-selected-hover)}:host(.tds-table__row--hidden){display:none}:host(.tds-table__row--expended){width:100%;background-color:pink}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host(.tds-table__compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__body-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table__row--clickable){cursor:pointer}:host(.tds-table__row--clickable:focus-visible){outline:var(--focus-outline, 2px solid blue)}";
5
- const TdsTableBodyRowStyle0 = tableBodyRowCss;
6
5
 
7
6
  const relevantTableProps = [
8
7
  'multiselect',
@@ -10,14 +9,19 @@ const relevantTableProps = [
10
9
  'compactDesign',
11
10
  ];
12
11
  const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow extends H {
13
- constructor() {
12
+ constructor(registerHost) {
14
13
  super();
15
- this.__registerHost();
14
+ if (registerHost !== false) {
15
+ this.__registerHost();
16
+ }
16
17
  this.__attachShadow();
17
18
  this.tdsSelect = createEvent(this, "tdsSelect", 6);
18
19
  this.tdsClick = createEvent(this, "tdsClick", 6);
20
+ /** Marks the row as selected, used for multiselect table. */
19
21
  this.selected = false;
22
+ /** Marks the row as disabled, used for multiselect table. */
20
23
  this.disabled = false;
24
+ /** Makes the row clickable and tabbable for accessibility purposes. */
21
25
  this.clickable = false;
22
26
  this.multiselect = false;
23
27
  this.mainCheckBoxStatus = false;
@@ -75,17 +79,17 @@ const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow
75
79
  }
76
80
  }
77
81
  render() {
78
- return (h(Host, { key: '13b790e1c4586e110853125bb2856166f8090cc3', tabindex: this.clickable ? '0' : null, class: {
82
+ return (h(Host, { key: '6bf3fee7c066bc4686c9aa0ecba45c04ca7b2aae', tabindex: this.clickable ? '0' : null, class: {
79
83
  'tds-table__row': true,
80
84
  'tds-table__row--selected': this.selected,
81
85
  'tds-table__compact': this.compactDesign,
82
86
  'tds-table--divider': this.verticalDividers,
83
87
  'tds-table__row--clickable': this.clickable,
84
- }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '3a966516c5a227907f9530d047e6e1c19eb5362c', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '90811b5dd064a36dfe9363dae55376fb7b4ca78d', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '4a16bce9add5ec4b9e4119e5361d556f5ee104f9' })));
88
+ }, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e), role: "row" }, this.multiselect && (h("td", { key: '845e64408b938254887c7ec840eae48fc4ed01e3', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '817ef05632a9b2704148a0c9ce190b360b9cec3b', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '50cf1a5aeae24aaceeb813f432abe8e75ad53857' })));
85
89
  }
86
90
  get host() { return this; }
87
- static get style() { return TdsTableBodyRowStyle0; }
88
- }, [1, "tds-table-body-row", {
91
+ static get style() { return tableBodyRowCss; }
92
+ }, [257, "tds-table-body-row", {
89
93
  "selected": [516],
90
94
  "disabled": [516],
91
95
  "clickable": [516],
@@ -1,7 +1,6 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
2
 
3
3
  const tableBodyCss = ":host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell,tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell{background-color:transparent}";
4
- const TdsTableBodyStyle0 = tableBodyCss;
5
4
 
6
5
  const relevantTableProps = [
7
6
  'multiselect',
@@ -9,23 +8,24 @@ const relevantTableProps = [
9
8
  'zebraMode',
10
9
  ];
11
10
  const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody extends H {
12
- constructor() {
11
+ constructor(registerHost) {
13
12
  super();
14
- this.__registerHost();
15
- this.bodyCheckBoxClicked = () => {
16
- const numberOfRows = this.host.getElementsByClassName('tds-table__row').length;
17
- const numberOfRowsSelected = this.host.getElementsByClassName('tds-table__row--selected').length;
18
- this.mainCheckboxStatus = numberOfRows === numberOfRowsSelected;
19
- };
13
+ if (registerHost !== false) {
14
+ this.__registerHost();
15
+ }
20
16
  this.multiselect = false;
21
17
  this.enablePaginationTableBody = false;
22
18
  this.expandableRows = false;
23
19
  this.multiselectArray = [];
24
- this.multiselectArrayJSON = undefined;
25
20
  this.mainCheckboxStatus = false;
26
21
  this.columnsNumber = 0;
27
22
  this.zebraMode = 'none';
28
23
  this.tableId = '';
24
+ this.bodyCheckBoxClicked = () => {
25
+ const numberOfRows = this.host.getElementsByClassName('tds-table__row').length;
26
+ const numberOfRowsSelected = this.host.getElementsByClassName('tds-table__row--selected').length;
27
+ this.mainCheckboxStatus = numberOfRows === numberOfRowsSelected;
28
+ };
29
29
  }
30
30
  internalTdsPropChangeListener(event) {
31
31
  if (this.tableId === event.detail.tableId) {
@@ -63,16 +63,16 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
63
63
  }
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: '22e2e49b6db83c7c71e1e674b3dbfcb1ffd04e66', "data-selected-rows": this.multiselectArrayJSON, class: {
66
+ return (h(Host, { key: 'f9472ae9b1dcad43aab101811dfe858dea4851e9', "data-selected-rows": this.multiselectArrayJSON, class: {
67
67
  'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
68
68
  'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
69
69
  'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
70
70
  'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
71
- } }, h("slot", { key: 'deb2aa129f332b48f7b9a38b0de25c2076fd86d9' })));
71
+ } }, h("slot", { key: '61a0ec649d2f7f51ca386c46335a6ae018c993d0' })));
72
72
  }
73
73
  get host() { return this; }
74
- static get style() { return TdsTableBodyStyle0; }
75
- }, [4, "tds-table-body", {
74
+ static get style() { return tableBodyCss; }
75
+ }, [260, "tds-table-body", {
76
76
  "multiselect": [32],
77
77
  "enablePaginationTableBody": [32],
78
78
  "expandableRows": [32],
@@ -1,11 +1,10 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$5 } from './p-44f5b5e1.js';
3
- import { d as defineCustomElement$4 } from './p-de36fc8a.js';
4
- import { d as defineCustomElement$3 } from './p-c4318e35.js';
5
- import { d as defineCustomElement$2 } from './p-b390ece5.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$5 } from './p-Ca3wGDna.js';
3
+ import { d as defineCustomElement$4 } from './p-BiyghEA7.js';
4
+ import { d as defineCustomElement$3 } from './p-Ee9QeMgy.js';
5
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
6
6
 
7
7
  const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:var(--tds-spacing-element-48)}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-48);display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page{display:flex;align-items:center;margin-right:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p{margin-right:var(--tds-spacing-element-8)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:74px;height:30px;border:none;border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;margin-right:var(--tds-spacing-element-4);padding-left:var(--tds-spacing-element-16)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:var(--tds-spacing-element-32);width:var(--tds-spacing-element-32);border-radius:var(--tds-spacing-element-4);transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:var(--tds-spacing-element-20);width:var(--tds-spacing-element-20);fill:var(--tds-table-color)}:host(.tds-table--compact){height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:var(--tds-spacing-element-32)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:var(--tds-spacing-element-24)}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}:host(.footer__horizontal-scroll){display:inline-table;position:absolute;margin-top:10px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
8
- const TdsTableFooterStyle0 = tableFooterCss;
9
8
 
10
9
  const relevantTableProps = [
11
10
  'compactDesign',
@@ -15,11 +14,32 @@ function removeShakeAnimation(e) {
15
14
  e.target.classList.remove('tds-table__page-selector-input--shake');
16
15
  }
17
16
  const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter extends H {
18
- constructor() {
17
+ constructor(registerHost) {
19
18
  super();
20
- this.__registerHost();
19
+ if (registerHost !== false) {
20
+ this.__registerHost();
21
+ }
21
22
  this.__attachShadow();
22
23
  this.tdsPagination = createEvent(this, "tdsPagination", 7);
24
+ /** Enable pagination and show pagination controls */
25
+ this.pagination = false;
26
+ /** Sets the pagination number. */
27
+ this.paginationValue = 1;
28
+ /** Enable rows per page dropdown */
29
+ this.rowsperpage = true;
30
+ /** Set available rows per page values */
31
+ this.rowsPerPageValues = [10, 25, 50];
32
+ /** Sets the number of pages. */
33
+ this.pages = null;
34
+ /** <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails. */
35
+ this.cols = null;
36
+ /** State that memorize number of columns to display colSpan correctly - set from parent level */
37
+ this.columnsNumber = 0;
38
+ /* Sets the footer to use compact design. */
39
+ this.compactDesign = false;
40
+ this.tableId = '';
41
+ this.horizontalScrollWidth = null;
42
+ this.rowsPerPageValue = this.rowsPerPageValues[0];
23
43
  this.emitTdsPagination = () => {
24
44
  if (this.rowsperpage) {
25
45
  this.tdsPagination.emit({
@@ -63,18 +83,6 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
63
83
  this.emitTdsPagination();
64
84
  this.storeLastCorrectValue(this.paginationValue);
65
85
  };
66
- this.pagination = false;
67
- this.paginationValue = 1;
68
- this.rowsperpage = true;
69
- this.rowsPerPageValues = [10, 25, 50];
70
- this.pages = null;
71
- this.cols = null;
72
- this.columnsNumber = 0;
73
- this.compactDesign = false;
74
- this.lastCorrectValue = undefined;
75
- this.tableId = '';
76
- this.horizontalScrollWidth = null;
77
- this.rowsPerPageValue = this.rowsPerPageValues[0];
78
86
  }
79
87
  internalTdsPropChangeListener(event) {
80
88
  if (this.tableId === event.detail.tableId) {
@@ -139,16 +147,16 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
139
147
  }
140
148
  render() {
141
149
  var _a;
142
- return (h(Host, { key: 'fd6a5604adc116a78c9723ce3f16535ea6fa7edf', class: {
150
+ return (h(Host, { key: 'd064beda251b663ad3afccebc98fb4718e3f1d09', class: {
143
151
  'tds-table--compact': this.compactDesign,
144
152
  'footer__horizontal-scroll': !!this.horizontalScrollWidth,
145
- }, 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) => {
153
+ }, style: this.getStyles() }, h("tr", { key: '02d6c97e498e44ad70c86fd08cc665a8b89e2a07', class: "tds-table__footer-row" }, h("td", { key: 'e9d64ea0f3be240867d886973a40c557fe9899da', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '4a8f3f921a4e103a1a14e368a4702cd8f6ceb18b', class: "tds-table__pagination" }, h("div", { key: 'c536fb9916071677bf20f033ebb184d469aa0774', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '5a935d6c92a574e1ea0a081e955916526ec9da45', class: "rows-per-page" }, h("p", { key: 'ae9f908bc6803a814236a56e5801857a1989df54' }, "Rows per page"), h("tds-dropdown", { key: '1bcac2201accc7d613250c8f38b77ddc04bfb463', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
146
154
  return (h("tds-dropdown-option", { value: `${value}` }, value));
147
- }))))), 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" })))))))));
155
+ }))))), h("div", { key: '08f90bbe4dd64812b95de4be540c65afea1a5d7c', class: "tds-table__page-selector" }, h("input", { key: '4e780ad0a24f39df03edc044d110b6278589a61a', 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: '538690df3c6bef86bf14fe8b7c967b89257e5cb7', class: "tds-table__footer-text" }, "of ", h("span", { key: 'ec38ac0b07103bea8aec7ba3e7e88d73c2a756cb' }, this.pages), " pages"), h("button", { key: 'f196e4b87144a6e66a6a3d0451ca0d4ba32bd1af', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: '80041ff46837e3ba072b740cf79d1cf9bbf21b63', name: "skip_backwards", size: "20px" })), h("button", { key: 'c51d570daeb97dbe2cae4e344eb51b97d88bb10a', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'bc02c69dc75f412fac63d952458d0ea06530593c', name: "chevron_left", size: "20px" })), h("button", { key: 'df29a47121d892642b24533a0e132d1f2d13d545', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'b2ae455a7a62c647f5c79cfc8f41bcae4b41b12d', name: "chevron_right", size: "20px" })), h("button", { key: 'd333d73217b7ed86841810bd342e2dd3152ef560', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '9d94abd5c17bc50b6a33c21dcc74b2689d514f2a', name: "skip_forward", size: "20px" })))))))));
148
156
  }
149
157
  get host() { return this; }
150
- static get style() { return TdsTableFooterStyle0; }
151
- }, [1, "tds-table-footer", {
158
+ static get style() { return tableFooterCss; }
159
+ }, [257, "tds-table-footer", {
152
160
  "pagination": [516],
153
161
  "paginationValue": [1538, "pagination-value"],
154
162
  "rowsperpage": [516],
@@ -1,15 +1,17 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-b390ece5.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
3
3
 
4
4
  const tableHeaderInputWrapperCss = ":host{position:relative}:host(:hover) tds-icon{display:inline-block}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.focused-input-wrapper) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}:host(.show-icon) ::slotted(input){padding-left:35px}tds-icon.search-icon{color:var(--tds-table-input-header-icon);position:absolute;left:15px;top:1px}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);height:48px;border-radius:0;background-color:transparent;border:0;border-bottom:2px solid transparent}::slotted(input)::placeholder{color:var(--tds-table-input-header-placeholder)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-header-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";
5
- const TdsTableHeaderInputWrapperStyle0 = tableHeaderInputWrapperCss;
6
5
 
7
6
  const relevantTableProps = ['compactDesign'];
8
7
  const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderInputWrapper extends H {
9
- constructor() {
8
+ constructor(registerHost) {
10
9
  super();
11
- this.__registerHost();
10
+ if (registerHost !== false) {
11
+ this.__registerHost();
12
+ }
12
13
  this.__attachShadow();
14
+ /** Controls if the search icon is shown */
13
15
  this.showIcon = true;
14
16
  this.renderSlot = true;
15
17
  this.inputFocused = false;
@@ -71,15 +73,15 @@ const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsT
71
73
  }
72
74
  }
73
75
  render() {
74
- return (h(Host, { key: 'e92640dc4c88b52574960d7234b377d7e5eaaa8e', class: {
76
+ return (h(Host, { key: '62070c88b54c313b2db10890023db32f0eaf66b5', class: {
75
77
  'focused-input-wrapper': this.inputFocused,
76
78
  'show-icon': this.showIcon,
77
79
  'tds-table__compact': this.compactDesign,
78
80
  } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { svgTitle: "search", class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
79
81
  }
80
82
  get host() { return this; }
81
- static get style() { return TdsTableHeaderInputWrapperStyle0; }
82
- }, [1, "tds-table-header-input-wrapper", {
83
+ static get style() { return tableHeaderInputWrapperCss; }
84
+ }, [257, "tds-table-header-input-wrapper", {
83
85
  "showIcon": [4, "show-icon"],
84
86
  "compactDesign": [4, "compact-design"],
85
87
  "renderSlot": [32],
@@ -1,8 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-44f5b5e1.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$2 } from './p-Ca3wGDna.js';
3
3
 
4
4
  const tableHeaderCss = ":host{box-sizing:border-box;display:table-header-group}:host *{box-sizing:border-box}:host .tds-table__header-cell--checkbox{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-divider);height:48px;box-sizing:border-box;overflow:hidden;transition:background-color 200ms ease;min-width:unset;width:48px;padding:0;border-top-left-radius:4px}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:48px;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input{display:none}:host .tds-table__expand-control-container .tds-expandable-row-icon{height:20px;width:20px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__expand-control-container .tds-expandable-row-icon--opened{transform:rotate(180deg)}:host ::slotted(tds-header-cell:hover){background-color:var(--tds-table-header-background-hover)}:host(.tds-table--compact) .tds-table__header-cell--checkbox{height:32px}:host(.tds-table--compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__header-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox{border-top-left-radius:0}";
5
- const TdsTableHeaderStyle0 = tableHeaderCss;
6
5
 
7
6
  const relevantTableProps = [
8
7
  'multiselect',
@@ -12,14 +11,18 @@ const relevantTableProps = [
12
11
  'noMinWidth',
13
12
  ];
14
13
  const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderRow extends H {
15
- constructor() {
14
+ constructor(registerHost) {
16
15
  super();
17
- this.__registerHost();
16
+ if (registerHost !== false) {
17
+ this.__registerHost();
18
+ }
18
19
  this.__attachShadow();
19
20
  this.tdsSelectAll = createEvent(this, "tdsSelectAll", 6);
21
+ /** @deprecated Deprecated, use selected instead. */
20
22
  this.allSelected = false;
21
- this.selected = undefined;
23
+ /** Prop for controlling the enabled/disabled state of the "All selected"-checkbox. */
22
24
  this.disabled = false;
25
+ /** Prop for controlling the indeterminate state of the "All selected"-checkbox. */
23
26
  this.indeterminate = false;
24
27
  this.multiselect = false;
25
28
  this.expandableRows = false;
@@ -88,15 +91,15 @@ const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderR
88
91
  });
89
92
  }
90
93
  render() {
91
- return (h(Host, { key: '968ef371db492d005ac3156d8b4a15de0966d117', class: {
94
+ return (h(Host, { key: '6c1cc431846a627cab836e62a551f9f5d6558a9d', class: {
92
95
  'tds-table--compact': this.compactDesign,
93
96
  'tds-table--divider': this.verticalDividers,
94
97
  'tds-table--toolbar-available': this.enableToolbarDesign,
95
- } }, 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' }))));
98
+ } }, 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' }))));
96
99
  }
97
100
  get host() { return this; }
98
- static get style() { return TdsTableHeaderStyle0; }
99
- }, [1, "tds-table-header", {
101
+ static get style() { return tableHeaderCss; }
102
+ }, [257, "tds-table-header", {
100
103
  "allSelected": [1540, "all-selected"],
101
104
  "selected": [1540],
102
105
  "disabled": [1540],
@@ -1,8 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { d as defineCustomElement$2 } from './p-b390ece5.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
3
3
 
4
4
  const tableToolbarCss = ":host{box-sizing:border-box;display:table-caption;position:relative;background-color:var(--tds-table-toolbar-background);color:var(--tds-table-color);padding:0 var(--tds-spacing-element-16);height:64px;border-top-left-radius:4px;border-top-right-radius:4px}:host *{box-sizing:border-box}:host .tds-table__upper-bar-flex{width:100%;height:100%;display:flex;justify-content:space-between}:host .tds-table__actionbar-left{display:flex}:host .tds-table__title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);padding-top:var(--tds-spacing-element-16);text-align:left;margin-right:var(--tds-spacing-element-8)}:host .tds-table__actionbar,:host slot[name=end]::slotted(*),:host slot[name=start]::slotted(*){display:flex;align-self:center}:host .tds-table__searchbar{display:flex;align-self:center;position:relative;height:40px;width:40px;border-radius:4px 4px 0 0;transition:background-color 250ms ease, width 250ms ease;overflow:hidden;background-color:transparent}:host .tds-table__searchbar::after{content:\"\";width:100%;height:2px;position:absolute;bottom:0;background-color:var(--tds-blue-400);transform:scaleX(0);transition:transform 150ms ease}:host .tds-table__searchbar:focus-within::after{transform:scaleX(100%)}:host .tds-table__searchbar:focus-within,:host .tds-table__searchbar.tds-table__searchbar--active{width:208px;background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:focus-within:hover,:host .tds-table__searchbar.tds-table__searchbar--active:hover{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar .tds-table__searchbar-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);z-index:1;width:100%;height:100%;border:none;padding:0 36px 0 16px;background-color:transparent;outline:none;cursor:pointer}:host .tds-table__searchbar .tds-table__searchbar-input :focus{background-color:var(--tds-table-toolbar-searchbar-background)}:host .tds-table__searchbar:hover{background-color:var(--tds-table-toolbar-searchbar-background-hover)}:host .tds-table__searchbar .tds-table__searchbar-icon{z-index:0;position:absolute;right:9px;top:9px;width:20px;height:20px}:host(.toolbar__horizontal-scroll){position:absolute;top:var(--tds-spacing-element-16)}:host(.tds-table--compact){height:56px}";
5
- const TdsTableToolbarStyle0 = tableToolbarCss;
6
5
 
7
6
  const relevantTableProps = [
8
7
  'compactDesign',
@@ -11,13 +10,18 @@ const relevantTableProps = [
11
10
  'horizontalScrollWidth',
12
11
  ];
13
12
  const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar extends H {
14
- constructor() {
13
+ constructor(registerHost) {
15
14
  super();
16
- this.__registerHost();
15
+ if (registerHost !== false) {
16
+ this.__registerHost();
17
+ }
17
18
  this.__attachShadow();
18
19
  this.tdsFilter = createEvent(this, "tdsFilter", 7);
20
+ /** Adds title to the Table */
19
21
  this.tableTitle = '';
22
+ /** Enables preview of searchbar */
20
23
  this.filter = false;
24
+ /** Aria label for the search input, providing an accessible description */
21
25
  this.tdsSearchAriaLabel = '';
22
26
  this.verticalDividers = false;
23
27
  this.compactDesign = false;
@@ -73,14 +77,14 @@ const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar
73
77
  return styles;
74
78
  }
75
79
  render() {
76
- return (h(Host, { key: '76acde1b3c55f421cedae9bf932f923813272fe3', class: {
80
+ return (h(Host, { key: 'e7ce21fcad3bfbc9f93088f777855baa9c6e3869', class: {
77
81
  'tds-table--compact': this.compactDesign,
78
82
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
79
- }, 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" })))));
83
+ }, 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" })))));
80
84
  }
81
85
  get host() { return this; }
82
- static get style() { return TdsTableToolbarStyle0; }
83
- }, [1, "tds-table-toolbar", {
86
+ static get style() { return tableToolbarCss; }
87
+ }, [257, "tds-table-toolbar", {
84
88
  "tableTitle": [513, "table-title"],
85
89
  "filter": [516],
86
90
  "tdsSearchAriaLabel": [1, "tds-search-aria-label"],
@@ -1,24 +1,42 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
2
- import { g as generateUniqueId } from './p-11648030.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
+ import { g as generateUniqueId } from './p-Cn4f8w1e.js';
3
3
 
4
4
  const tableCss = ":host{--tds-scrollbar-width-standard:thin;--tds-scrollbar-width:10px;--tds-scrollbar-height:10px;--tds-scrollbar-thumb-border-width:3px;--tds-scrollbar-thumb-border-hover-width:2px}body{scrollbar-width:thin}:host,.tds-table{border-collapse:collapse;display:table;box-sizing:border-box}:host *,.tds-table *{box-sizing:border-box}:host(.tds-table--responsive),.tds-table--responsive{width:100%}.tds-table--horizontal-scroll{display:block;overflow-x:scroll;white-space:nowrap}.tds-table--horizontal-scroll:hover::-webkit-scrollbar-thumb{border:var(--tds-scrollbar-thumb-border-hover-width) solid transparent;background:var(--tds-scrollbar-hover-thumb-color);background-clip:padding-box}.tds-table--horizontal-scroll::-webkit-scrollbar{height:var(--tds-scrollbar-height)}.tds-table--horizontal-scroll::-webkit-scrollbar-track{background:var(--tds-scrollbar-track-color)}.tds-table--horizontal-scroll::-webkit-scrollbar-thumb{border-radius:40px;background:var(--tds-scrollbar-thumb-color);border:var(--tds-scrollbar-thumb-border-width) solid transparent;background-clip:padding-box}.tds-table--horizontal-scroll::-webkit-scrollbar-button{height:0;width:0}@supports not selector(::-webkit-scrollbar){.tds-table--horizontal-scroll{scrollbar-color:var(--tds-scrollbar-thumb-color) var(--tds-scrollbar-track-color);scrollbar-width:var(--tds-scrollbar-width-standard)}}.tds-table--horizontal-scroll-toolbar{margin-top:64px}.tds-table--horizontal-scroll-toolbar-compact{margin-top:56px}.tds-table--horizontal-scroll-footer{margin-bottom:49px}.tds-table--horizontal-scroll-footer-compact{margin-bottom:33px}";
5
- const TdsTableStyle0 = tableCss;
6
5
 
7
6
  const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
8
- constructor() {
7
+ constructor(registerHost) {
9
8
  super();
10
- this.__registerHost();
9
+ if (registerHost !== false) {
10
+ this.__registerHost();
11
+ }
11
12
  this.__attachShadow();
12
13
  this.internalTdsTablePropChange = createEvent(this, "internalTdsTablePropChange", 6);
14
+ /** Enables style with vertical dividers between columns */
13
15
  this.verticalDividers = false;
16
+ /** Enables style where Table toolbar, rows and footer are less high */
14
17
  this.compactDesign = false;
15
- this.noMinWidth = undefined;
18
+ // TODO: Due to unknown reason, one of this items has to be left as is.
19
+ // If all are false, it seems like emitting is not properly done and it affects other events in Table.
20
+ // Try setting it and observe text-align set on header cell
21
+ /** Enables multiselect feature of Table */
16
22
  this.multiselect = false;
23
+ /** Enables extended row feature of Table */
17
24
  this.expandableRows = false;
25
+ /** Enables Table to take 100% available width with equal spacing of columns */
18
26
  this.responsive = false;
27
+ /** Variant of the component, based on current mode. */
19
28
  this.modeVariant = null;
29
+ /** Enables zebra stripe mode on the table rows or columns. */
20
30
  this.zebraMode = 'none';
31
+ /** Width of the table, used as the constraint for horizontal scrolling.
32
+ * **NOTE**: this will disable usage of the responsive flag
33
+ * */
21
34
  this.horizontalScrollWidth = null;
35
+ /** ID used for internal Table functionality and events, must be unique.
36
+ *
37
+ * **NOTE**: If you're listening for Table events, you need to set this ID yourself to identify the Table,
38
+ * as the default ID is random and will be different every time.
39
+ */
22
40
  this.tableId = generateUniqueId();
23
41
  this.enableHorizontalScrollToolbarDesign = false;
24
42
  this.enableHorizontalScrollFooterDesign = false;
@@ -120,8 +138,8 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
120
138
  "modeVariant": ["modeVariantChanged"],
121
139
  "horizontalScrollWidth": ["widthChanged"]
122
140
  }; }
123
- static get style() { return TdsTableStyle0; }
124
- }, [1, "tds-table", {
141
+ static get style() { return tableCss; }
142
+ }, [257, "tds-table", {
125
143
  "verticalDividers": [516, "vertical-dividers"],
126
144
  "compactDesign": [516, "compact-design"],
127
145
  "noMinWidth": [516, "no-min-width"],
@@ -1,15 +1,17 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
- import { h as hasSlot } from './p-ae110fc2.js';
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+ import { h as hasSlot } from './p-DDX6uFcm.js';
3
3
 
4
4
  const tagCss = ".sc-tds-tag-h{box-sizing:border-box;display:inline-flex;align-items:center;border-radius:4px;background-color:var(--tds-tag-neutral-background);color:var(--tds-tag-neutral-color);gap:4px}.sc-tds-tag-h *.sc-tds-tag{box-sizing:border-box}.lg.sc-tds-tag-h{padding:4px}.sm.sc-tds-tag-h{border-radius:2px;padding:2px 4px;font:var(--tds-detail-05)}.success.sc-tds-tag-h{background-color:var(--tds-tag-success-background);color:var(--tds-tag-success-color)}.warning.sc-tds-tag-h{background-color:var(--tds-tag-warning-background);color:var(--tds-tag-warning-color)}.new.sc-tds-tag-h{background-color:var(--tds-tag-new-background);color:var(--tds-tag-new-color)}.neutral.sc-tds-tag-h{background-color:var(--tds-tag-neutral-background);color:var(--tds-tag-neutral-color)}.information.sc-tds-tag-h{background-color:var(--tds-tag-information-background);color:var(--tds-tag-information-color)}.error.sc-tds-tag-h{background-color:var(--tds-tag-error-background);color:var(--tds-tag-error-color)}.tds-tag__content.sc-tds-tag{display:flex;align-items:center;gap:inherit}";
5
- const TdsTagStyle0 = tagCss;
6
5
 
7
6
  const TdsTag$1 = /*@__PURE__*/ proxyCustomElement(class TdsTag extends H {
8
- constructor() {
7
+ constructor(registerHost) {
9
8
  super();
10
- this.__registerHost();
11
- this.text = undefined;
9
+ if (registerHost !== false) {
10
+ this.__registerHost();
11
+ }
12
+ /** Sets the size of the tag */
12
13
  this.size = 'lg';
14
+ /** Sets the variant mode of the tag */
13
15
  this.variant = 'Neutral';
14
16
  }
15
17
  render() {
@@ -18,11 +20,11 @@ const TdsTag$1 = /*@__PURE__*/ proxyCustomElement(class TdsTag extends H {
18
20
  [`${this.size.toLowerCase()}`]: true,
19
21
  [`${this.variant.toLowerCase()}`]: true,
20
22
  });
21
- 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))));
23
+ 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))));
22
24
  }
23
25
  get host() { return this; }
24
- static get style() { return TdsTagStyle0; }
25
- }, [6, "tds-tag", {
26
+ static get style() { return tagCss; }
27
+ }, [262, "tds-tag", {
26
28
  "text": [1],
27
29
  "size": [1],
28
30
  "variant": [1]
@@ -1,4 +1,4 @@
1
- import { T as TdsTextField$1, d as defineCustomElement$1 } from './p-3b58a9f3.js';
1
+ import { T as TdsTextField$1, d as defineCustomElement$1 } from './p-Ip9G3co9.js';
2
2
 
3
3
  const TdsTextField = TdsTextField$1;
4
4
  const defineCustomElement = defineCustomElement$1;