@scania/tegel 1.41.0-stencil-core-beta.0 → 1.42.0-input-decimal-fix-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 (508) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-ca8040ad.js +2039 -0
  3. package/dist/cjs/{inheritAriaAttributes-D_xFGssc.js → inheritAriaAttributes-dedbbc57.js} +1 -1
  4. package/dist/cjs/{isHeadingElement-DihKNeqS.js → isHeadingElement-4f06b688.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +6 -3
  6. package/dist/cjs/tds-accordion-item.cjs.entry.js +6 -9
  7. package/dist/cjs/tds-accordion.cjs.entry.js +5 -4
  8. package/dist/cjs/tds-badge.cjs.entry.js +5 -6
  9. package/dist/cjs/tds-banner.cjs.entry.js +14 -18
  10. package/dist/cjs/tds-block.cjs.entry.js +5 -4
  11. package/dist/cjs/tds-body-cell.cjs.entry.js +9 -3
  12. package/dist/cjs/tds-breadcrumb.cjs.entry.js +5 -3
  13. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +6 -2
  14. package/dist/cjs/tds-button_2.cjs.entry.js +12 -13
  15. package/dist/cjs/tds-card.cjs.entry.js +19 -28
  16. package/dist/cjs/tds-checkbox.cjs.entry.js +15 -13
  17. package/dist/cjs/tds-chip.cjs.entry.js +15 -18
  18. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +8 -7
  19. package/dist/cjs/tds-datetime.cjs.entry.js +23 -27
  20. package/dist/cjs/tds-dropdown_2.cjs.entry.js +43 -34
  21. package/dist/cjs/tds-folder-tab.cjs.entry.js +6 -3
  22. package/dist/cjs/tds-folder-tabs.cjs.entry.js +13 -13
  23. package/dist/cjs/tds-footer-group.cjs.entry.js +10 -5
  24. package/dist/cjs/tds-footer-item.cjs.entry.js +5 -2
  25. package/dist/cjs/tds-footer.cjs.entry.js +7 -5
  26. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +5 -2
  27. package/dist/cjs/tds-header-cell.cjs.entry.js +22 -18
  28. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +5 -4
  29. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +9 -2
  30. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +8 -5
  31. package/dist/cjs/tds-header-dropdown.cjs.entry.js +12 -8
  32. package/dist/cjs/tds-header-hamburger.cjs.entry.js +8 -4
  33. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +8 -6
  34. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +5 -2
  35. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +6 -3
  36. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +8 -4
  37. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +5 -2
  38. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +6 -3
  39. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +4 -2
  40. package/dist/cjs/tds-header-launcher.cjs.entry.js +11 -6
  41. package/dist/cjs/tds-header-title.cjs.entry.js +5 -2
  42. package/dist/cjs/tds-header.cjs.entry.js +7 -4
  43. package/dist/cjs/tds-icon.cjs.entry.js +12 -10
  44. package/dist/cjs/tds-inline-tab.cjs.entry.js +5 -3
  45. package/dist/cjs/tds-inline-tabs.cjs.entry.js +13 -14
  46. package/dist/cjs/tds-link.cjs.entry.js +5 -5
  47. package/dist/cjs/tds-message.cjs.entry.js +13 -13
  48. package/dist/cjs/tds-modal.cjs.entry.js +18 -18
  49. package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -3
  50. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +13 -14
  51. package/dist/cjs/tds-popover-canvas.cjs.entry.js +10 -16
  52. package/dist/cjs/tds-popover-core.cjs.entry.js +35 -39
  53. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -3
  54. package/dist/cjs/tds-popover-menu.cjs.entry.js +10 -15
  55. package/dist/cjs/tds-radio-button.cjs.entry.js +14 -11
  56. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +7 -4
  57. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +6 -3
  58. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +5 -3
  59. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -2
  60. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +7 -5
  61. package/dist/cjs/tds-side-menu-item.cjs.entry.js +6 -6
  62. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +5 -2
  63. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +11 -3
  64. package/dist/cjs/tds-side-menu-user.cjs.entry.js +9 -2
  65. package/dist/cjs/tds-side-menu.cjs.entry.js +12 -15
  66. package/dist/cjs/tds-slider.cjs.entry.js +24 -39
  67. package/dist/cjs/tds-spinner.cjs.entry.js +5 -4
  68. package/dist/cjs/tds-step.cjs.entry.js +11 -3
  69. package/dist/cjs/tds-stepper.cjs.entry.js +6 -13
  70. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +5 -3
  71. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +7 -11
  72. package/dist/cjs/tds-table-body-row.cjs.entry.js +5 -5
  73. package/dist/cjs/tds-table-body.cjs.entry.js +11 -7
  74. package/dist/cjs/tds-table-footer.cjs.entry.js +17 -21
  75. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +5 -3
  76. package/dist/cjs/tds-table-header.cjs.entry.js +6 -5
  77. package/dist/cjs/tds-table-toolbar.cjs.entry.js +5 -5
  78. package/dist/cjs/tds-table.cjs.entry.js +7 -21
  79. package/dist/cjs/tds-tag.cjs.entry.js +7 -5
  80. package/dist/cjs/tds-text-field.cjs.entry.js +58 -42
  81. package/dist/cjs/tds-textarea.cjs.entry.js +13 -16
  82. package/dist/cjs/tds-toast.cjs.entry.js +16 -16
  83. package/dist/cjs/tds-toggle.cjs.entry.js +14 -13
  84. package/dist/cjs/tds-tooltip.cjs.entry.js +17 -19
  85. package/dist/cjs/tegel.cjs.js +8 -7
  86. package/dist/collection/collection-manifest.json +2 -2
  87. package/dist/collection/components/accordion/accordion-item/accordion-item.js +6 -24
  88. package/dist/collection/components/accordion/accordion.js +2 -8
  89. package/dist/collection/components/badge/badge.js +4 -16
  90. package/dist/collection/components/banner/banner.js +18 -39
  91. package/dist/collection/components/block/block.js +2 -8
  92. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -4
  93. package/dist/collection/components/breadcrumbs/breadcrumbs.js +5 -4
  94. package/dist/collection/components/button/button.js +19 -44
  95. package/dist/collection/components/card/card.js +28 -64
  96. package/dist/collection/components/checkbox/checkbox.js +22 -41
  97. package/dist/collection/components/chip/chip.js +19 -41
  98. package/dist/collection/components/datetime/datetime.js +37 -76
  99. package/dist/collection/components/divider/divider.js +2 -8
  100. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +12 -16
  101. package/dist/collection/components/dropdown/dropdown.js +50 -86
  102. package/dist/collection/components/footer/footer-group/footer-group.js +8 -10
  103. package/dist/collection/components/footer/footer.js +2 -5
  104. package/dist/collection/components/header/header-dropdown/header-dropdown.js +12 -19
  105. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +2 -4
  106. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -8
  107. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +14 -16
  108. package/dist/collection/components/header/header-hamburger/header-hamburger.js +5 -4
  109. package/dist/collection/components/header/header-item/header-item.js +2 -9
  110. package/dist/collection/components/header/header-launcher/header-launcher.js +5 -5
  111. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +4 -9
  112. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +3 -0
  113. package/dist/collection/components/icon/icon.js +15 -26
  114. package/dist/collection/components/link/link.js +3 -12
  115. package/dist/collection/components/message/message.js +16 -33
  116. package/dist/collection/components/modal/modal.js +23 -44
  117. package/dist/collection/components/popover-canvas/popover-canvas.js +15 -46
  118. package/dist/collection/components/popover-core/popover-core.js +29 -60
  119. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +1 -4
  120. package/dist/collection/components/popover-menu/popover-menu.js +15 -43
  121. package/dist/collection/components/radio-button/radio-button.js +20 -36
  122. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
  123. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +7 -16
  124. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +1 -4
  125. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -9
  126. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +14 -16
  127. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  128. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  129. package/dist/collection/components/side-menu/side-menu.js +10 -22
  130. package/dist/collection/components/slider/slider.js +36 -90
  131. package/dist/collection/components/spinner/spinner.js +2 -8
  132. package/dist/collection/components/stepper/step/step.js +11 -12
  133. package/dist/collection/components/stepper/stepper.js +6 -28
  134. package/dist/collection/components/table/table/table.js +12 -49
  135. package/dist/collection/components/table/table-body/table-body.js +6 -5
  136. package/dist/collection/components/table/table-body-cell/table-body-cell.js +11 -16
  137. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +1 -4
  138. package/dist/collection/components/table/table-body-row/table-body-row.js +3 -12
  139. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +8 -27
  140. package/dist/collection/components/table/table-footer/table-footer.js +17 -36
  141. package/dist/collection/components/table/table-header/table-header.js +6 -16
  142. package/dist/collection/components/table/table-header-cell/table-header-cell.js +27 -40
  143. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +2 -7
  144. package/dist/collection/components/table/table-toolbar/table-toolbar.js +3 -12
  145. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -4
  146. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +14 -27
  147. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +1 -4
  148. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +15 -31
  149. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +1 -4
  150. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +15 -31
  151. package/dist/collection/components/tag/tag.js +5 -12
  152. package/dist/collection/components/text-field/text-field.css +8 -0
  153. package/dist/collection/components/text-field/text-field.js +124 -104
  154. package/dist/collection/components/textarea/textarea.js +28 -68
  155. package/dist/collection/components/toast/toast.js +21 -42
  156. package/dist/collection/components/toggle/toggle.js +19 -37
  157. package/dist/collection/components/tooltip/tooltip.js +24 -51
  158. package/dist/components/index.js +1 -1825
  159. package/dist/components/{p-DnzQe_HU.js → p-04a014cf.js} +19 -25
  160. package/dist/components/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
  161. package/dist/components/{p-Ip9G3co9.js → p-152b0078.js} +64 -50
  162. package/dist/components/{p-BxmFjTxG.js → p-1dafdc8c.js} +7 -11
  163. package/dist/components/p-28ef5186.js +1507 -0
  164. package/dist/components/{p-X1sPx4t5.js → p-3308d5fa.js} +36 -44
  165. package/dist/components/{p-FqP1yGh_.js → p-381677ec.js} +6 -9
  166. package/dist/components/{p-CMsPXG7a.js → p-3f2187a4.js} +8 -7
  167. package/dist/components/{p-Ca3wGDna.js → p-44f5b5e1.js} +16 -18
  168. package/dist/components/{p-BhQM9_yR.js → p-5ea0ae00.js} +37 -35
  169. package/dist/components/{p-B569z5eW.js → p-63552d0e.js} +12 -22
  170. package/dist/components/{p-SqXsUd-b.js → p-6ef207b2.js} +16 -15
  171. package/dist/components/{p-BHBgkUfr.js → p-7c3348eb.js} +8 -12
  172. package/dist/components/{p-CuIyaNyT.js → p-859e3ebf.js} +1 -1
  173. package/dist/components/{p-QnvG_QPu.js → p-9336db16.js} +8 -9
  174. package/dist/components/{p-DuxH3vDC.js → p-bff614d5.js} +8 -7
  175. package/dist/components/{p-ChCWm6If.js → p-c62b61fe.js} +11 -15
  176. package/dist/components/{p-D1ati-pM.js → p-d10d21bd.js} +11 -13
  177. package/dist/components/{p-HRj1DOvh.js → p-de86852a.js} +6 -9
  178. package/dist/components/{p-BhLq7lgx.js → p-e1622f4a.js} +6 -7
  179. package/dist/components/{p-CPDv0bBc.js → p-f7d94947.js} +13 -15
  180. package/dist/components/tds-accordion-item.js +8 -15
  181. package/dist/components/tds-accordion.js +6 -9
  182. package/dist/components/tds-badge.js +6 -11
  183. package/dist/components/tds-banner.js +16 -24
  184. package/dist/components/tds-block.js +6 -9
  185. package/dist/components/tds-body-cell.js +10 -8
  186. package/dist/components/tds-breadcrumb.js +6 -8
  187. package/dist/components/tds-breadcrumbs.js +7 -7
  188. package/dist/components/tds-button.js +1 -1
  189. package/dist/components/tds-card.js +23 -36
  190. package/dist/components/tds-checkbox.js +1 -1
  191. package/dist/components/tds-chip.js +16 -23
  192. package/dist/components/tds-core-header-item.js +1 -1
  193. package/dist/components/tds-datetime.js +25 -33
  194. package/dist/components/tds-divider.js +1 -1
  195. package/dist/components/tds-dropdown-option.js +1 -1
  196. package/dist/components/tds-dropdown.js +1 -1
  197. package/dist/components/tds-folder-tab.js +7 -8
  198. package/dist/components/tds-folder-tabs.js +15 -19
  199. package/dist/components/tds-footer-group.js +12 -11
  200. package/dist/components/tds-footer-item.js +6 -7
  201. package/dist/components/tds-footer.js +8 -10
  202. package/dist/components/tds-header-brand-symbol.js +8 -9
  203. package/dist/components/tds-header-cell.js +24 -24
  204. package/dist/components/tds-header-dropdown-list-item.js +1 -1
  205. package/dist/components/tds-header-dropdown-list-user.js +10 -7
  206. package/dist/components/tds-header-dropdown-list.js +1 -1
  207. package/dist/components/tds-header-dropdown.js +18 -18
  208. package/dist/components/tds-header-hamburger.js +11 -11
  209. package/dist/components/tds-header-item.js +1 -1
  210. package/dist/components/tds-header-launcher-button.js +1 -1
  211. package/dist/components/tds-header-launcher-grid-item.js +6 -7
  212. package/dist/components/tds-header-launcher-grid-title.js +7 -8
  213. package/dist/components/tds-header-launcher-grid.js +8 -8
  214. package/dist/components/tds-header-launcher-list-item.js +7 -8
  215. package/dist/components/tds-header-launcher-list-title.js +7 -8
  216. package/dist/components/tds-header-launcher-list.js +6 -8
  217. package/dist/components/tds-header-launcher.js +17 -16
  218. package/dist/components/tds-header-title.js +6 -7
  219. package/dist/components/tds-header.js +7 -8
  220. package/dist/components/tds-icon.js +1 -1
  221. package/dist/components/tds-inline-tab.js +6 -8
  222. package/dist/components/tds-inline-tabs.js +15 -20
  223. package/dist/components/tds-link.js +6 -10
  224. package/dist/components/tds-message.js +15 -19
  225. package/dist/components/tds-modal.js +20 -24
  226. package/dist/components/tds-navigation-tab.js +6 -8
  227. package/dist/components/tds-navigation-tabs.js +15 -20
  228. package/dist/components/tds-popover-canvas.js +1 -1
  229. package/dist/components/tds-popover-core.js +1 -1
  230. package/dist/components/tds-popover-menu-item.js +6 -8
  231. package/dist/components/tds-popover-menu.js +12 -21
  232. package/dist/components/tds-radio-button.js +15 -16
  233. package/dist/components/tds-side-menu-close-button.js +8 -9
  234. package/dist/components/tds-side-menu-collapse-button.js +8 -9
  235. package/dist/components/tds-side-menu-dropdown-list-item.js +6 -8
  236. package/dist/components/tds-side-menu-dropdown-list.js +6 -7
  237. package/dist/components/tds-side-menu-dropdown.js +10 -12
  238. package/dist/components/tds-side-menu-item.js +1 -1
  239. package/dist/components/tds-side-menu-overlay.js +6 -7
  240. package/dist/components/tds-side-menu-user-image.js +1 -1
  241. package/dist/components/tds-side-menu-user-label.js +1 -1
  242. package/dist/components/tds-side-menu-user.js +12 -9
  243. package/dist/components/tds-side-menu.js +13 -20
  244. package/dist/components/tds-slider.js +29 -48
  245. package/dist/components/tds-spinner.js +6 -9
  246. package/dist/components/tds-step.js +13 -9
  247. package/dist/components/tds-stepper.js +7 -18
  248. package/dist/components/tds-table-body-input-wrapper.js +7 -9
  249. package/dist/components/tds-table-body-row-expandable.js +8 -16
  250. package/dist/components/tds-table-body-row.js +7 -11
  251. package/dist/components/tds-table-body.js +12 -12
  252. package/dist/components/tds-table-footer.js +22 -30
  253. package/dist/components/tds-table-header-input-wrapper.js +7 -9
  254. package/dist/components/tds-table-header.js +8 -11
  255. package/dist/components/tds-table-toolbar.js +7 -11
  256. package/dist/components/tds-table.js +8 -26
  257. package/dist/components/tds-tag.js +8 -10
  258. package/dist/components/tds-text-field.js +1 -1
  259. package/dist/components/tds-textarea.js +17 -24
  260. package/dist/components/tds-toast.js +18 -22
  261. package/dist/components/tds-toggle.js +15 -18
  262. package/dist/components/tds-tooltip.js +1 -1
  263. package/dist/esm/app-globals-0f993ce5.js +3 -0
  264. package/dist/esm/index-51d04e39.js +2009 -0
  265. package/dist/esm/{inheritAriaAttributes-DyLhgCIg.js → inheritAriaAttributes-04f2f252.js} +1 -1
  266. package/dist/esm/{isHeadingElement-BQco7VNg.js → isHeadingElement-8efea284.js} +1 -1
  267. package/dist/esm/loader.js +4 -3
  268. package/dist/esm/tds-accordion-item.entry.js +4 -9
  269. package/dist/esm/tds-accordion.entry.js +3 -4
  270. package/dist/esm/tds-badge.entry.js +3 -6
  271. package/dist/esm/tds-banner.entry.js +12 -18
  272. package/dist/esm/tds-block.entry.js +3 -4
  273. package/dist/esm/tds-body-cell.entry.js +7 -3
  274. package/dist/esm/tds-breadcrumb.entry.js +3 -3
  275. package/dist/esm/tds-breadcrumbs.entry.js +4 -2
  276. package/dist/esm/tds-button_2.entry.js +10 -13
  277. package/dist/esm/tds-card.entry.js +17 -28
  278. package/dist/esm/tds-checkbox.entry.js +13 -13
  279. package/dist/esm/tds-chip.entry.js +13 -18
  280. package/dist/esm/tds-core-header-item_2.entry.js +6 -7
  281. package/dist/esm/tds-datetime.entry.js +21 -27
  282. package/dist/esm/tds-dropdown_2.entry.js +41 -34
  283. package/dist/esm/tds-folder-tab.entry.js +4 -3
  284. package/dist/esm/tds-folder-tabs.entry.js +11 -13
  285. package/dist/esm/tds-footer-group.entry.js +8 -5
  286. package/dist/esm/tds-footer-item.entry.js +3 -2
  287. package/dist/esm/tds-footer.entry.js +5 -5
  288. package/dist/esm/tds-header-brand-symbol.entry.js +3 -2
  289. package/dist/esm/tds-header-cell.entry.js +20 -18
  290. package/dist/esm/tds-header-dropdown-list-item.entry.js +3 -4
  291. package/dist/esm/tds-header-dropdown-list-user.entry.js +7 -2
  292. package/dist/esm/tds-header-dropdown-list.entry.js +6 -5
  293. package/dist/esm/tds-header-dropdown.entry.js +10 -8
  294. package/dist/esm/tds-header-hamburger.entry.js +6 -4
  295. package/dist/esm/tds-header-launcher-button.entry.js +6 -6
  296. package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -2
  297. package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -3
  298. package/dist/esm/tds-header-launcher-grid.entry.js +6 -4
  299. package/dist/esm/tds-header-launcher-list-item.entry.js +3 -2
  300. package/dist/esm/tds-header-launcher-list-title.entry.js +4 -3
  301. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  302. package/dist/esm/tds-header-launcher.entry.js +9 -6
  303. package/dist/esm/tds-header-title.entry.js +3 -2
  304. package/dist/esm/tds-header.entry.js +5 -4
  305. package/dist/esm/tds-icon.entry.js +10 -10
  306. package/dist/esm/tds-inline-tab.entry.js +3 -3
  307. package/dist/esm/tds-inline-tabs.entry.js +11 -14
  308. package/dist/esm/tds-link.entry.js +3 -5
  309. package/dist/esm/tds-message.entry.js +11 -13
  310. package/dist/esm/tds-modal.entry.js +16 -18
  311. package/dist/esm/tds-navigation-tab.entry.js +3 -3
  312. package/dist/esm/tds-navigation-tabs.entry.js +11 -14
  313. package/dist/esm/tds-popover-canvas.entry.js +8 -16
  314. package/dist/esm/tds-popover-core.entry.js +33 -39
  315. package/dist/esm/tds-popover-menu-item.entry.js +3 -3
  316. package/dist/esm/tds-popover-menu.entry.js +8 -15
  317. package/dist/esm/tds-radio-button.entry.js +12 -11
  318. package/dist/esm/tds-side-menu-close-button.entry.js +5 -4
  319. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -3
  320. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +3 -3
  321. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -2
  322. package/dist/esm/tds-side-menu-dropdown.entry.js +5 -5
  323. package/dist/esm/tds-side-menu-item.entry.js +4 -6
  324. package/dist/esm/tds-side-menu-overlay.entry.js +3 -2
  325. package/dist/esm/tds-side-menu-user-image_2.entry.js +9 -3
  326. package/dist/esm/tds-side-menu-user.entry.js +7 -2
  327. package/dist/esm/tds-side-menu.entry.js +10 -15
  328. package/dist/esm/tds-slider.entry.js +22 -39
  329. package/dist/esm/tds-spinner.entry.js +3 -4
  330. package/dist/esm/tds-step.entry.js +9 -3
  331. package/dist/esm/tds-stepper.entry.js +4 -13
  332. package/dist/esm/tds-table-body-input-wrapper.entry.js +3 -3
  333. package/dist/esm/tds-table-body-row-expandable.entry.js +5 -11
  334. package/dist/esm/tds-table-body-row.entry.js +3 -5
  335. package/dist/esm/tds-table-body.entry.js +9 -7
  336. package/dist/esm/tds-table-footer.entry.js +15 -21
  337. package/dist/esm/tds-table-header-input-wrapper.entry.js +3 -3
  338. package/dist/esm/tds-table-header.entry.js +4 -5
  339. package/dist/esm/tds-table-toolbar.entry.js +3 -5
  340. package/dist/esm/tds-table.entry.js +5 -21
  341. package/dist/esm/tds-tag.entry.js +5 -5
  342. package/dist/esm/tds-text-field.entry.js +56 -42
  343. package/dist/esm/tds-textarea.entry.js +11 -16
  344. package/dist/esm/tds-toast.entry.js +14 -16
  345. package/dist/esm/tds-toggle.entry.js +12 -13
  346. package/dist/esm/tds-tooltip.entry.js +15 -19
  347. package/dist/esm/tegel.js +5 -5
  348. package/dist/tegel/p-0672ddfc.entry.js +1 -0
  349. package/dist/tegel/p-08ad6a21.entry.js +1 -0
  350. package/dist/tegel/p-08f63e5d.entry.js +1 -0
  351. package/dist/tegel/{p-206d4703.entry.js → p-09cd056c.entry.js} +1 -1
  352. package/dist/tegel/{p-Q3W78DlP.js → p-0bd4c19c.js} +1 -1
  353. package/dist/tegel/{p-d8a35537.entry.js → p-0cfe8671.entry.js} +1 -1
  354. package/dist/tegel/{p-954e6cf0.entry.js → p-0e772ad7.entry.js} +1 -1
  355. package/dist/tegel/{p-b9cb2eef.entry.js → p-133351b5.entry.js} +1 -1
  356. package/dist/tegel/p-177386d5.entry.js +1 -0
  357. package/dist/tegel/p-17bc1e49.entry.js +1 -0
  358. package/dist/tegel/p-1859156f.entry.js +1 -0
  359. package/dist/tegel/p-1b471db7.entry.js +1 -0
  360. package/dist/tegel/p-1f4267a8.entry.js +1 -0
  361. package/dist/tegel/p-2049fab2.js +2 -0
  362. package/dist/tegel/{p-192332e7.entry.js → p-24a76927.entry.js} +1 -1
  363. package/dist/tegel/{p-b5deab8e.entry.js → p-2766b46f.entry.js} +1 -1
  364. package/dist/tegel/p-28f85555.entry.js +1 -0
  365. package/dist/tegel/{p-299e0e56.entry.js → p-2faeb483.entry.js} +1 -1
  366. package/dist/tegel/p-304f5a5c.entry.js +1 -0
  367. package/dist/tegel/p-354d3986.entry.js +1 -0
  368. package/dist/tegel/p-379df59b.entry.js +1 -0
  369. package/dist/tegel/{p-a74d375a.entry.js → p-3c348fcb.entry.js} +1 -1
  370. package/dist/tegel/p-3c97cb45.entry.js +1 -0
  371. package/dist/tegel/p-3e6d65ee.entry.js +1 -0
  372. package/dist/tegel/p-445fa788.entry.js +1 -0
  373. package/dist/tegel/p-464469fe.entry.js +1 -0
  374. package/dist/tegel/{p-5bea354f.entry.js → p-4b5e15cc.entry.js} +1 -1
  375. package/dist/tegel/p-4de2807c.entry.js +1 -0
  376. package/dist/tegel/{p-73c9a5b3.entry.js → p-51a17707.entry.js} +1 -1
  377. package/dist/tegel/p-52689019.entry.js +1 -0
  378. package/dist/tegel/p-57a28f62.entry.js +1 -0
  379. package/dist/tegel/p-5c8fd75e.entry.js +1 -0
  380. package/dist/tegel/{p-0ac95ef0.entry.js → p-646d1df4.entry.js} +1 -1
  381. package/dist/tegel/{p-d659aefa.entry.js → p-650b98bf.entry.js} +1 -1
  382. package/dist/tegel/{p-996f0ac5.entry.js → p-655051b6.entry.js} +1 -1
  383. package/dist/tegel/p-6b340718.entry.js +1 -0
  384. package/dist/tegel/{p-3de8e52b.entry.js → p-72006dd7.entry.js} +1 -1
  385. package/dist/tegel/{p-08ef673e.entry.js → p-743d4f07.entry.js} +1 -1
  386. package/dist/tegel/{p-3a5588b2.entry.js → p-771f53c2.entry.js} +1 -1
  387. package/dist/tegel/{p-fa8a4f27.entry.js → p-77cfb0ef.entry.js} +1 -1
  388. package/dist/tegel/p-7887bdbb.entry.js +1 -0
  389. package/dist/tegel/p-7b598e60.entry.js +1 -0
  390. package/dist/tegel/p-7ef50e7f.entry.js +1 -0
  391. package/dist/tegel/{p-15c69748.entry.js → p-87219f00.entry.js} +1 -1
  392. package/dist/tegel/{p-c7c4f528.entry.js → p-88bb1059.entry.js} +1 -1
  393. package/dist/tegel/{p-e777d558.entry.js → p-8a4837ae.entry.js} +1 -1
  394. package/dist/tegel/p-8c2695af.entry.js +1 -0
  395. package/dist/tegel/{p-Bx66i7RU.js → p-9332c225.js} +1 -1
  396. package/dist/tegel/{p-fb59d675.entry.js → p-987f8f0f.entry.js} +1 -1
  397. package/dist/tegel/p-9b635e01.entry.js +1 -0
  398. package/dist/tegel/p-9f187848.entry.js +1 -0
  399. package/dist/tegel/p-9fdc8fa5.entry.js +1 -0
  400. package/dist/tegel/{p-4489b7d5.entry.js → p-a090bd2f.entry.js} +1 -1
  401. package/dist/tegel/p-a56436c8.entry.js +1 -0
  402. package/dist/tegel/p-ab00e6e4.entry.js +1 -0
  403. package/dist/tegel/p-b210d23c.entry.js +1 -0
  404. package/dist/tegel/{p-20b5c366.entry.js → p-b734b309.entry.js} +1 -1
  405. package/dist/tegel/p-b7abb81f.entry.js +1 -0
  406. package/dist/tegel/p-bcd5e06d.entry.js +1 -0
  407. package/dist/tegel/p-c0cbc9f5.entry.js +1 -0
  408. package/dist/tegel/{p-648df3a1.entry.js → p-c163d44f.entry.js} +1 -1
  409. package/dist/tegel/p-c23a3f12.entry.js +1 -0
  410. package/dist/tegel/{p-bc4d68b0.entry.js → p-c2e514b4.entry.js} +1 -1
  411. package/dist/tegel/{p-de9f2a0d.entry.js → p-c6968db1.entry.js} +1 -1
  412. package/dist/tegel/p-ca16f1ed.entry.js +1 -0
  413. package/dist/tegel/p-ca32a270.entry.js +1 -0
  414. package/dist/tegel/p-cc962b6c.entry.js +1 -0
  415. package/dist/tegel/{p-7cec9df0.entry.js → p-ceed0476.entry.js} +1 -1
  416. package/dist/tegel/p-cf717912.entry.js +1 -0
  417. package/dist/tegel/{p-d2b7c692.entry.js → p-cfd7ed1a.entry.js} +1 -1
  418. package/dist/tegel/{p-e1daba90.entry.js → p-d1d45942.entry.js} +1 -1
  419. package/dist/tegel/p-d7cdbc4e.entry.js +1 -0
  420. package/dist/tegel/p-e1255160.js +1 -0
  421. package/dist/tegel/p-e5b796e7.entry.js +1 -0
  422. package/dist/tegel/p-e6e9d11f.entry.js +1 -0
  423. package/dist/tegel/p-e8b58680.entry.js +1 -0
  424. package/dist/tegel/p-eb91e33b.entry.js +1 -0
  425. package/dist/tegel/{p-1f255f25.entry.js → p-f2318c88.entry.js} +1 -1
  426. package/dist/tegel/{p-d03f33c0.entry.js → p-f31f56fe.entry.js} +1 -1
  427. package/dist/tegel/p-f3c32d4d.entry.js +1 -0
  428. package/dist/tegel/p-f7e8b26c.entry.js +1 -0
  429. package/dist/tegel/p-f8a37d39.entry.js +1 -0
  430. package/dist/tegel/{p-2a1342d8.entry.js → p-fd15ced7.entry.js} +1 -1
  431. package/dist/tegel/tegel.esm.js +1 -1
  432. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  433. package/dist/types/components/text-field/text-field.d.ts +12 -1
  434. package/dist/types/components.d.ts +21 -542
  435. package/dist/types/stencil-public-runtime.d.ts +4 -86
  436. package/loader/package.json +11 -0
  437. package/package.json +2 -2
  438. package/dist/cjs/index-CxAGLnpY.js +0 -2414
  439. package/dist/esm/index-BqRtRha-.js +0 -2385
  440. package/dist/tegel/p-03ff8648.entry.js +0 -1
  441. package/dist/tegel/p-11159349.entry.js +0 -1
  442. package/dist/tegel/p-26907beb.entry.js +0 -1
  443. package/dist/tegel/p-312c49f8.entry.js +0 -1
  444. package/dist/tegel/p-342052b9.entry.js +0 -1
  445. package/dist/tegel/p-3557fbdf.entry.js +0 -1
  446. package/dist/tegel/p-3806a0e4.entry.js +0 -1
  447. package/dist/tegel/p-3ba30c59.entry.js +0 -1
  448. package/dist/tegel/p-3bd99720.entry.js +0 -1
  449. package/dist/tegel/p-41084e54.entry.js +0 -1
  450. package/dist/tegel/p-41242d2e.entry.js +0 -1
  451. package/dist/tegel/p-43f6c149.entry.js +0 -1
  452. package/dist/tegel/p-4e58b98d.entry.js +0 -1
  453. package/dist/tegel/p-503abc18.entry.js +0 -1
  454. package/dist/tegel/p-5eed2dae.entry.js +0 -1
  455. package/dist/tegel/p-6253f1d8.entry.js +0 -1
  456. package/dist/tegel/p-6301a8b5.entry.js +0 -1
  457. package/dist/tegel/p-65d43cfd.entry.js +0 -1
  458. package/dist/tegel/p-6d4e71fd.entry.js +0 -1
  459. package/dist/tegel/p-7ef6db3c.entry.js +0 -1
  460. package/dist/tegel/p-81314f19.entry.js +0 -1
  461. package/dist/tegel/p-88d3bbbd.entry.js +0 -1
  462. package/dist/tegel/p-8a5df42a.entry.js +0 -1
  463. package/dist/tegel/p-8f1bbe70.entry.js +0 -1
  464. package/dist/tegel/p-9296f0d1.entry.js +0 -1
  465. package/dist/tegel/p-9fed9d16.entry.js +0 -1
  466. package/dist/tegel/p-BqRtRha-.js +0 -2
  467. package/dist/tegel/p-a13ecd87.entry.js +0 -1
  468. package/dist/tegel/p-a8d29ac5.entry.js +0 -1
  469. package/dist/tegel/p-abe630f5.entry.js +0 -1
  470. package/dist/tegel/p-b2934101.entry.js +0 -1
  471. package/dist/tegel/p-b2d9244a.entry.js +0 -1
  472. package/dist/tegel/p-b901a7e3.entry.js +0 -1
  473. package/dist/tegel/p-bbcab377.entry.js +0 -1
  474. package/dist/tegel/p-c2ae97bb.entry.js +0 -1
  475. package/dist/tegel/p-ca437b9a.entry.js +0 -1
  476. package/dist/tegel/p-d0c0c8f3.entry.js +0 -1
  477. package/dist/tegel/p-d1f9c4fd.entry.js +0 -1
  478. package/dist/tegel/p-d67ff384.entry.js +0 -1
  479. package/dist/tegel/p-dec2ede0.entry.js +0 -1
  480. package/dist/tegel/p-e5166678.entry.js +0 -1
  481. package/dist/tegel/p-e643c9b3.entry.js +0 -1
  482. package/dist/tegel/p-f0c912af.entry.js +0 -1
  483. package/dist/tegel/p-f3da2bf5.entry.js +0 -1
  484. package/dist/tegel/p-f46be246.entry.js +0 -1
  485. package/dist/tegel/p-f5a7d350.entry.js +0 -1
  486. package/dist/tegel/p-fa19eac0.entry.js +0 -1
  487. package/dist/tegel/p-ff6da1f1.entry.js +0 -1
  488. /package/dist/cjs/{dfs-Clg9RCmq.js → dfs-84f7f63e.js} +0 -0
  489. /package/dist/cjs/{generateUniqueId-ComXTAM_.js → generateUniqueId-e3fc9863.js} +0 -0
  490. /package/dist/cjs/{getAriaInvalid-Bdg4qUb_.js → getAriaInvalid-66a2eade.js} +0 -0
  491. /package/dist/cjs/{hasSlot-D-DVNhGg.js → hasSlot-1c90e9ba.js} +0 -0
  492. /package/dist/cjs/{inheritAttributes-CGw91JfB.js → inheritAttributes-ff9ad737.js} +0 -0
  493. /package/dist/components/{p-Cn4f8w1e.js → p-11648030.js} +0 -0
  494. /package/dist/components/{p-CF8bH08v.js → p-3fe9cbbf.js} +0 -0
  495. /package/dist/components/{p-CLF3diNe.js → p-52bf0fdf.js} +0 -0
  496. /package/dist/components/{p-CBZ6wC3m.js → p-a1181b1f.js} +0 -0
  497. /package/dist/components/{p-DDX6uFcm.js → p-ae110fc2.js} +0 -0
  498. /package/dist/components/{p-wEP_nEaO.js → p-bbf9492a.js} +0 -0
  499. /package/dist/esm/{dfs-CLF3diNe.js → dfs-1e574d5f.js} +0 -0
  500. /package/dist/esm/{generateUniqueId-Cn4f8w1e.js → generateUniqueId-7934d315.js} +0 -0
  501. /package/dist/esm/{getAriaInvalid-wEP_nEaO.js → getAriaInvalid-a9944cb9.js} +0 -0
  502. /package/dist/esm/{hasSlot-DDX6uFcm.js → hasSlot-d52114d0.js} +0 -0
  503. /package/dist/esm/{inheritAttributes-CF8bH08v.js → inheritAttributes-d21e267b.js} +0 -0
  504. /package/dist/tegel/{p-Cn4f8w1e.js → p-11648030.js} +0 -0
  505. /package/dist/tegel/{p-CF8bH08v.js → p-3fe9cbbf.js} +0 -0
  506. /package/dist/tegel/{p-CLF3diNe.js → p-52bf0fdf.js} +0 -0
  507. /package/dist/tegel/{p-DDX6uFcm.js → p-ae110fc2.js} +0 -0
  508. /package/dist/tegel/{p-wEP_nEaO.js → p-bbf9492a.js} +0 -0
@@ -1,7 +1,8 @@
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';
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';
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;
5
6
 
6
7
  const relevantTableProps = [
7
8
  'multiselect',
@@ -9,19 +10,14 @@ const relevantTableProps = [
9
10
  'compactDesign',
10
11
  ];
11
12
  const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow extends H {
12
- constructor(registerHost) {
13
+ constructor() {
13
14
  super();
14
- if (registerHost !== false) {
15
- this.__registerHost();
16
- }
15
+ this.__registerHost();
17
16
  this.__attachShadow();
18
17
  this.tdsSelect = createEvent(this, "tdsSelect", 6);
19
18
  this.tdsClick = createEvent(this, "tdsClick", 6);
20
- /** Marks the row as selected, used for multiselect table. */
21
19
  this.selected = false;
22
- /** Marks the row as disabled, used for multiselect table. */
23
20
  this.disabled = false;
24
- /** Makes the row clickable and tabbable for accessibility purposes. */
25
21
  this.clickable = false;
26
22
  this.multiselect = false;
27
23
  this.mainCheckBoxStatus = false;
@@ -88,8 +84,8 @@ const TdsTableBodyRow$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBodyRow
88
84
  }, 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' })));
89
85
  }
90
86
  get host() { return this; }
91
- static get style() { return tableBodyRowCss; }
92
- }, [257, "tds-table-body-row", {
87
+ static get style() { return TdsTableBodyRowStyle0; }
88
+ }, [1, "tds-table-body-row", {
93
89
  "selected": [516],
94
90
  "disabled": [516],
95
91
  "clickable": [516],
@@ -1,6 +1,7 @@
1
- import { p as proxyCustomElement, H, h, a as Host } from './index.js';
1
+ import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.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;
4
5
 
5
6
  const relevantTableProps = [
6
7
  'multiselect',
@@ -8,24 +9,23 @@ const relevantTableProps = [
8
9
  'zebraMode',
9
10
  ];
10
11
  const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody extends H {
11
- constructor(registerHost) {
12
+ constructor() {
12
13
  super();
13
- if (registerHost !== false) {
14
- this.__registerHost();
15
- }
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
+ };
16
20
  this.multiselect = false;
17
21
  this.enablePaginationTableBody = false;
18
22
  this.expandableRows = false;
19
23
  this.multiselectArray = [];
24
+ this.multiselectArrayJSON = undefined;
20
25
  this.mainCheckboxStatus = false;
21
26
  this.columnsNumber = 0;
22
27
  this.zebraMode = 'none';
23
28
  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) {
@@ -71,8 +71,8 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
71
71
  } }, h("slot", { key: '61a0ec649d2f7f51ca386c46335a6ae018c993d0' })));
72
72
  }
73
73
  get host() { return this; }
74
- static get style() { return tableBodyCss; }
75
- }, [260, "tds-table-body", {
74
+ static get style() { return TdsTableBodyStyle0; }
75
+ }, [4, "tds-table-body", {
76
76
  "multiselect": [32],
77
77
  "enablePaginationTableBody": [32],
78
78
  "expandableRows": [32],
@@ -1,10 +1,11 @@
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-BhQM9_yR.js';
4
- import { d as defineCustomElement$3 } from './p-SqXsUd-b.js';
5
- import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
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-5ea0ae00.js';
4
+ import { d as defineCustomElement$3 } from './p-6ef207b2.js';
5
+ import { d as defineCustomElement$2 } from './p-f7d94947.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;
8
9
 
9
10
  const relevantTableProps = [
10
11
  'compactDesign',
@@ -14,32 +15,11 @@ function removeShakeAnimation(e) {
14
15
  e.target.classList.remove('tds-table__page-selector-input--shake');
15
16
  }
16
17
  const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter extends H {
17
- constructor(registerHost) {
18
+ constructor() {
18
19
  super();
19
- if (registerHost !== false) {
20
- this.__registerHost();
21
- }
20
+ this.__registerHost();
22
21
  this.__attachShadow();
23
22
  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];
43
23
  this.emitTdsPagination = () => {
44
24
  if (this.rowsperpage) {
45
25
  this.tdsPagination.emit({
@@ -83,6 +63,18 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
83
63
  this.emitTdsPagination();
84
64
  this.storeLastCorrectValue(this.paginationValue);
85
65
  };
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];
86
78
  }
87
79
  internalTdsPropChangeListener(event) {
88
80
  if (this.tableId === event.detail.tableId) {
@@ -155,8 +147,8 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
155
147
  }))))), 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" })))))))));
156
148
  }
157
149
  get host() { return this; }
158
- static get style() { return tableFooterCss; }
159
- }, [257, "tds-table-footer", {
150
+ static get style() { return TdsTableFooterStyle0; }
151
+ }, [1, "tds-table-footer", {
160
152
  "pagination": [516],
161
153
  "paginationValue": [1538, "pagination-value"],
162
154
  "rowsperpage": [516],
@@ -1,17 +1,15 @@
1
- import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
- import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
1
+ import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
+ import { d as defineCustomElement$2 } from './p-f7d94947.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;
5
6
 
6
7
  const relevantTableProps = ['compactDesign'];
7
8
  const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderInputWrapper extends H {
8
- constructor(registerHost) {
9
+ constructor() {
9
10
  super();
10
- if (registerHost !== false) {
11
- this.__registerHost();
12
- }
11
+ this.__registerHost();
13
12
  this.__attachShadow();
14
- /** Controls if the search icon is shown */
15
13
  this.showIcon = true;
16
14
  this.renderSlot = true;
17
15
  this.inputFocused = false;
@@ -80,8 +78,8 @@ const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsT
80
78
  } }, 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));
81
79
  }
82
80
  get host() { return this; }
83
- static get style() { return tableHeaderInputWrapperCss; }
84
- }, [257, "tds-table-header-input-wrapper", {
81
+ static get style() { return TdsTableHeaderInputWrapperStyle0; }
82
+ }, [1, "tds-table-header-input-wrapper", {
85
83
  "showIcon": [4, "show-icon"],
86
84
  "compactDesign": [4, "compact-design"],
87
85
  "renderSlot": [32],
@@ -1,7 +1,8 @@
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';
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';
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;
5
6
 
6
7
  const relevantTableProps = [
7
8
  'multiselect',
@@ -11,18 +12,14 @@ const relevantTableProps = [
11
12
  'noMinWidth',
12
13
  ];
13
14
  const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderRow extends H {
14
- constructor(registerHost) {
15
+ constructor() {
15
16
  super();
16
- if (registerHost !== false) {
17
- this.__registerHost();
18
- }
17
+ this.__registerHost();
19
18
  this.__attachShadow();
20
19
  this.tdsSelectAll = createEvent(this, "tdsSelectAll", 6);
21
- /** @deprecated Deprecated, use selected instead. */
22
20
  this.allSelected = false;
23
- /** Prop for controlling the enabled/disabled state of the "All selected"-checkbox. */
21
+ this.selected = undefined;
24
22
  this.disabled = false;
25
- /** Prop for controlling the indeterminate state of the "All selected"-checkbox. */
26
23
  this.indeterminate = false;
27
24
  this.multiselect = false;
28
25
  this.expandableRows = false;
@@ -98,8 +95,8 @@ const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderR
98
95
  } }, 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' }))));
99
96
  }
100
97
  get host() { return this; }
101
- static get style() { return tableHeaderCss; }
102
- }, [257, "tds-table-header", {
98
+ static get style() { return TdsTableHeaderStyle0; }
99
+ }, [1, "tds-table-header", {
103
100
  "allSelected": [1540, "all-selected"],
104
101
  "selected": [1540],
105
102
  "disabled": [1540],
@@ -1,7 +1,8 @@
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';
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-f7d94947.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;
5
6
 
6
7
  const relevantTableProps = [
7
8
  'compactDesign',
@@ -10,18 +11,13 @@ const relevantTableProps = [
10
11
  'horizontalScrollWidth',
11
12
  ];
12
13
  const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar extends H {
13
- constructor(registerHost) {
14
+ constructor() {
14
15
  super();
15
- if (registerHost !== false) {
16
- this.__registerHost();
17
- }
16
+ this.__registerHost();
18
17
  this.__attachShadow();
19
18
  this.tdsFilter = createEvent(this, "tdsFilter", 7);
20
- /** Adds title to the Table */
21
19
  this.tableTitle = '';
22
- /** Enables preview of searchbar */
23
20
  this.filter = false;
24
- /** Aria label for the search input, providing an accessible description */
25
21
  this.tdsSearchAriaLabel = '';
26
22
  this.verticalDividers = false;
27
23
  this.compactDesign = false;
@@ -83,8 +79,8 @@ const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar
83
79
  }, 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" })))));
84
80
  }
85
81
  get host() { return this; }
86
- static get style() { return tableToolbarCss; }
87
- }, [257, "tds-table-toolbar", {
82
+ static get style() { return TdsTableToolbarStyle0; }
83
+ }, [1, "tds-table-toolbar", {
88
84
  "tableTitle": [513, "table-title"],
89
85
  "filter": [516],
90
86
  "tdsSearchAriaLabel": [1, "tds-search-aria-label"],
@@ -1,42 +1,24 @@
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';
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';
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;
5
6
 
6
7
  const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
7
- constructor(registerHost) {
8
+ constructor() {
8
9
  super();
9
- if (registerHost !== false) {
10
- this.__registerHost();
11
- }
10
+ this.__registerHost();
12
11
  this.__attachShadow();
13
12
  this.internalTdsTablePropChange = createEvent(this, "internalTdsTablePropChange", 6);
14
- /** Enables style with vertical dividers between columns */
15
13
  this.verticalDividers = false;
16
- /** Enables style where Table toolbar, rows and footer are less high */
17
14
  this.compactDesign = false;
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 */
15
+ this.noMinWidth = undefined;
22
16
  this.multiselect = false;
23
- /** Enables extended row feature of Table */
24
17
  this.expandableRows = false;
25
- /** Enables Table to take 100% available width with equal spacing of columns */
26
18
  this.responsive = false;
27
- /** Variant of the component, based on current mode. */
28
19
  this.modeVariant = null;
29
- /** Enables zebra stripe mode on the table rows or columns. */
30
20
  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
- * */
34
21
  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
- */
40
22
  this.tableId = generateUniqueId();
41
23
  this.enableHorizontalScrollToolbarDesign = false;
42
24
  this.enableHorizontalScrollFooterDesign = false;
@@ -138,8 +120,8 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
138
120
  "modeVariant": ["modeVariantChanged"],
139
121
  "horizontalScrollWidth": ["widthChanged"]
140
122
  }; }
141
- static get style() { return tableCss; }
142
- }, [257, "tds-table", {
123
+ static get style() { return TdsTableStyle0; }
124
+ }, [1, "tds-table", {
143
125
  "verticalDividers": [516, "vertical-dividers"],
144
126
  "compactDesign": [516, "compact-design"],
145
127
  "noMinWidth": [516, "no-min-width"],
@@ -1,17 +1,15 @@
1
- import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
- import { h as hasSlot } from './p-DDX6uFcm.js';
1
+ import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
2
+ import { h as hasSlot } from './p-ae110fc2.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;
5
6
 
6
7
  const TdsTag$1 = /*@__PURE__*/ proxyCustomElement(class TdsTag extends H {
7
- constructor(registerHost) {
8
+ constructor() {
8
9
  super();
9
- if (registerHost !== false) {
10
- this.__registerHost();
11
- }
12
- /** Sets the size of the tag */
10
+ this.__registerHost();
11
+ this.text = undefined;
13
12
  this.size = 'lg';
14
- /** Sets the variant mode of the tag */
15
13
  this.variant = 'Neutral';
16
14
  }
17
15
  render() {
@@ -23,8 +21,8 @@ const TdsTag$1 = /*@__PURE__*/ proxyCustomElement(class TdsTag extends H {
23
21
  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))));
24
22
  }
25
23
  get host() { return this; }
26
- static get style() { return tagCss; }
27
- }, [262, "tds-tag", {
24
+ static get style() { return TdsTagStyle0; }
25
+ }, [6, "tds-tag", {
28
26
  "text": [1],
29
27
  "size": [1],
30
28
  "variant": [1]
@@ -1,4 +1,4 @@
1
- import { T as TdsTextField$1, d as defineCustomElement$1 } from './p-Ip9G3co9.js';
1
+ import { T as TdsTextField$1, d as defineCustomElement$1 } from './p-152b0078.js';
2
2
 
3
3
  const TdsTextField = TdsTextField$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,47 +1,40 @@
1
- import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
2
- import { g as generateUniqueId } from './p-Cn4f8w1e.js';
3
- import { g as getAriaInvalid } from './p-wEP_nEaO.js';
4
- import { d as defineCustomElement$4 } from './p-CPDv0bBc.js';
5
- import { d as defineCustomElement$3 } from './p-X1sPx4t5.js';
6
- import { d as defineCustomElement$2 } from './p-DnzQe_HU.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h } from './p-28ef5186.js';
2
+ import { g as generateUniqueId } from './p-11648030.js';
3
+ import { g as getAriaInvalid } from './p-bbf9492a.js';
4
+ import { d as defineCustomElement$4 } from './p-f7d94947.js';
5
+ import { d as defineCustomElement$3 } from './p-3308d5fa.js';
6
+ import { d as defineCustomElement$2 } from './p-04a014cf.js';
7
7
 
8
8
  const textareaCss = ".textarea-container.sc-tds-textarea{border-radius:4px 4px 0 0;position:relative;box-sizing:border-box;height:auto;width:100%;min-width:208px;display:inline-flex;background-color:transparent;flex-flow:row wrap;border-bottom:0}.textarea-container.no-min-width.sc-tds-textarea{min-width:unset}.textarea-container.sc-tds-textarea .textarea-wrapper.sc-tds-textarea{position:relative;width:unset;min-width:100%}.textarea-input.sc-tds-textarea{border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-textarea-color);background-color:var(--tds-textarea-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16);display:block;resize:vertical;border-bottom:1px solid var(--tds-textarea-border-bottom);transition:border-bottom-color 200ms ease}.textarea-input.sc-tds-textarea:read-only{background-color:var(--tds-textarea-read-only-background)}.textarea-input.sc-tds-textarea::placeholder{opacity:1;color:var(--tds-textarea-placeholder);transition:color 200ms ease}.textarea-input.sc-tds-textarea:disabled{background-color:var(--tds-textarea-disabled-background);color:var(--tds-textarea-disabled-color);cursor:not-allowed}.textarea-input.sc-tds-textarea:disabled::placeholder{color:var(--tds-textarea-disabled-placeholder)}.textarea-input.sc-tds-textarea::-webkit-resizer{display:none}.textarea-input.sc-tds-textarea:hover{border-bottom-color:var(--tds-textarea-border-bottom-hover)}.textarea-input.sc-tds-textarea:hover::placeholder{color:var(--tds-textarea-placeholder-hover)}.textarea-input.sc-tds-textarea:focus{outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1;border-radius:0;border-bottom:1px solid transparent}.textarea-resizer-icon.sc-tds-textarea{color:var(--tds-textarea-resize-icon);position:absolute;display:block;bottom:2px;right:1px;padding-bottom:2px;padding-right:2px;pointer-events:none;background-color:var(--tds-textarea-background)}.textarea-resizer-icon.sc-tds-textarea svg.sc-tds-textarea{display:block}.textarea-label.sc-tds-textarea{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;z-index:1;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-textarea-label-color)}.textarea-container.textarea-label-inside.sc-tds-textarea .textarea-label.sc-tds-textarea{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);transition:0.1s ease all;color:var(--tds-textarea-label-inside-color);position:absolute;top:var(--tds-spacing-element-20);left:var(--tds-spacing-element-16)}.textarea-container.textarea-label-inside.textarea-disabled.sc-tds-textarea .textarea-label.sc-tds-textarea{color:var(--tds-textarea-disabled-label)}.textarea-container.textarea-label-inside.sc-tds-textarea .textarea-input.sc-tds-textarea::placeholder{color:transparent}.textarea-container.textarea-label-inside.sc-tds-textarea .textarea-input.sc-tds-textarea .sc-tds-textarea::placeholder{color:transparent}.textarea-container.textarea-label-inside.sc-tds-textarea .textarea-input.sc-tds-textarea:focus::placeholder{transition:color 0.35s ease;color:var(--tds-textarea-placeholder)}.textarea-container.textarea-focus.textarea-label-inside.sc-tds-textarea .textarea-label.sc-tds-textarea{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);top:var(--tds-spacing-element-8)}.textarea-container.textarea-data.textarea-label-inside.sc-tds-textarea .textarea-label.sc-tds-textarea{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);top:var(--tds-spacing-element-8)}.textarea-textcounter.sc-tds-textarea{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-textarea-textcounter);float:right;flex-basis:100%;text-align:right;padding-top:var(--tds-spacing-element-4)}.textarea-textcounter.sc-tds-textarea .textfield-textcounter-divider.sc-tds-textarea{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-textarea-textcounter-divider)}.textarea-helper.sc-tds-textarea{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;gap:8px;align-items:center;padding-top:var(--tds-spacing-element-4);color:var(--tds-textarea-helper);flex-grow:2;flex-basis:auto}.textarea-helper.sc-tds-textarea~.textarea-textcounter.sc-tds-textarea{flex-basis:auto}.textarea-success.sc-tds-textarea .textarea-input.sc-tds-textarea{border-bottom-color:var(--tds-textarea-border-bottom-success)}.textarea-error.sc-tds-textarea .textarea-input.sc-tds-textarea{border-bottom-color:var(--tds-textarea-border-bottom-error)}.textarea-error.sc-tds-textarea .textarea-helper.sc-tds-textarea{color:var(--tds-textarea-helper-error)}.textarea-disabled.sc-tds-textarea{cursor:not-allowed}.textarea-disabled.sc-tds-textarea .textarea-input.sc-tds-textarea{border-bottom-color:transparent;pointer-events:none;user-select:none}.textarea-disabled.sc-tds-textarea .textarea-label.sc-tds-textarea{color:var(--tds-textarea-disabled-label)}.textarea-disabled.sc-tds-textarea .textarea-helper.sc-tds-textarea{color:var(--tds-textarea-helper-disabled)}.textarea-disabled.sc-tds-textarea .textarea-textcounter.sc-tds-textarea{color:var(--tds-textarea-textcounter-disabled)}.textarea-disabled.sc-tds-textarea .textarea-textcounter.sc-tds-textarea .textfield-textcounter-divider.sc-tds-textarea{color:var(--tds-textarea-textcounter-disabled)}.textarea-icon__readonly.sc-tds-textarea{display:none;position:absolute;right:18px;top:18px;color:var(--tds-textarea-icon-read-only-color)}.textarea-icon__readonly-label.sc-tds-textarea{display:none;position:absolute;right:18px;top:48px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);padding:8px;color:var(--tds-textarea-icon-read-only-label-color);background-color:var(--tds-textarea-icon-read-only-label-background);white-space:nowrap;border-radius:4px 0 4px 4px}.textarea-readonly.sc-tds-textarea .textarea-icon__readonly.sc-tds-textarea{display:block}.textarea-readonly.sc-tds-textarea .textarea-input.sc-tds-textarea{border-bottom-color:var(--tds-textarea-border-bottom-read-only-color)}.textarea-readonly.sc-tds-textarea .textfield-container.sc-tds-textarea{background-color:transparent}.textarea-readonly.sc-tds-textarea:has(.textarea-icon__readonly) .textarea-input.sc-tds-textarea{padding-right:54px}";
9
+ const TdsTextareaStyle0 = textareaCss;
9
10
 
10
11
  const TdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextarea extends H {
11
- constructor(registerHost) {
12
+ constructor() {
12
13
  super();
13
- if (registerHost !== false) {
14
- this.__registerHost();
15
- }
14
+ this.__registerHost();
16
15
  this.tdsChange = createEvent(this, "tdsChange", 6);
17
16
  this.tdsBlur = createEvent(this, "tdsBlur", 6);
18
17
  this.tdsInput = createEvent(this, "tdsInput", 6);
19
18
  this.tdsFocus = createEvent(this, "tdsFocus", 6);
20
19
  this.uuid = generateUniqueId();
21
- /** Label text */
22
20
  this.label = '';
23
- /** Name attribute */
24
21
  this.name = '';
25
- /** Position of the label for the Textarea. */
22
+ this.helper = undefined;
23
+ this.cols = undefined;
24
+ this.rows = undefined;
26
25
  this.labelPosition = 'no-label';
27
- /** Placeholder text */
28
26
  this.placeholder = '';
29
- /** Value of the input text */
30
27
  this.value = '';
31
- /** Set input in disabled state */
32
28
  this.disabled = false;
33
- /** Set input in readonly state */
34
29
  this.readOnly = false;
35
- /** Hide the readonly icon */
36
30
  this.hideReadOnlyIcon = false;
37
- /** Error state of input */
38
31
  this.state = 'default';
39
- /** Mode variant of the Textarea */
32
+ this.maxLength = undefined;
40
33
  this.modeVariant = null;
41
- /** Control of autofocus */
42
34
  this.autofocus = false;
43
- /** Unset minimum width of 208px. */
44
35
  this.noMinWidth = false;
36
+ this.tdsAriaLabel = undefined;
37
+ this.focusInput = undefined;
45
38
  }
46
39
  handleChange(event) {
47
40
  this.tdsChange.emit(event);
@@ -104,8 +97,8 @@ const TdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextarea extends
104
97
  }, 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))));
105
98
  }
106
99
  get host() { return this; }
107
- static get style() { return textareaCss; }
108
- }, [258, "tds-textarea", {
100
+ static get style() { return TdsTextareaStyle0; }
101
+ }, [2, "tds-textarea", {
109
102
  "label": [1],
110
103
  "name": [1],
111
104
  "helper": [1],
@@ -1,30 +1,17 @@
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
- import { h as hasSlot } from './p-DDX6uFcm.js';
4
- import { d as defineCustomElement$2 } from './p-CPDv0bBc.js';
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';
3
+ import { h as hasSlot } from './p-ae110fc2.js';
4
+ import { d as defineCustomElement$2 } from './p-f7d94947.js';
5
5
 
6
6
  const toastCss = ":host(.hide){display:none;visibility:hidden}:host{z-index:800}:host .wrapper{display:flex;width:348px;background-color:var(--tds-toast-background-color);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-toast-color-info)}:host .wrapper.information tds-icon{color:var(--tds-toast-color-info)}:host .wrapper.success{border-left:4px solid var(--tds-toast-color-success)}:host .wrapper.success tds-icon{color:var(--tds-toast-color-success)}:host .wrapper.error{border-left:4px solid var(--tds-toast-color-error)}:host .wrapper.error tds-icon{color:var(--tds-toast-color-error)}:host .wrapper.warning{border-left:4px solid var(--tds-toast-color-warning)}:host .wrapper.warning tds-icon{color:var(--tds-toast-icon-color-warning)}:host .wrapper button.close{height:20px;width:20px;display:flex;align-items:center;justify-content:center;margin:14px 14px 0 22px;border:none;background:transparent}:host .wrapper button.close:hover{cursor:pointer}:host .wrapper button.close: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 .wrapper button.close tds-icon{color:var(--tds-toast-dissmiss-color);padding:0}:host tds-icon{padding:14px 0 0 12px}:host .content{padding:16px 0 16px 10px;display:flex;flex-direction:column;flex:1;max-width:250px;word-break:break-word}:host .content .header-subheader{display:flex;flex-direction:column;gap:4px}:host .content .header,:host .content slot[name=header]::slotted(*){font:var(--tds-headline-07) !important;letter-spacing:var(--tds-headline-07-ls) !important;color:var(--tds-toast-headline-color)}:host .content .subheader,:host .content slot[name=subheader]::slotted(*){color:var(--tds-toast-subheadline-color);font:var(--tds-detail-02) !important;letter-spacing:var(--tds-detail-02-ls) !important}:host .content .subheader.no-link slot::slotted(*),:host .content slot[name=subheader]::slotted(*).no-link slot::slotted(*){padding-bottom:0}:host .content .toast-bottom{padding-top:12px}:host .tds-mode-variant-primary{--tds-toast-background:var(--tds-toast-background-primary)}:host .tds-mode-variant-secondary{--tds-toast-background:var(--tds-toast-background-secondary)}";
7
+ const TdsToastStyle0 = toastCss;
7
8
 
8
9
  const TdsToast$1 = /*@__PURE__*/ proxyCustomElement(class TdsToast extends H {
9
- constructor(registerHost) {
10
+ constructor() {
10
11
  super();
11
- if (registerHost !== false) {
12
- this.__registerHost();
13
- }
12
+ this.__registerHost();
14
13
  this.__attachShadow();
15
14
  this.tdsClose = createEvent(this, "tdsClose", 7);
16
- /** ID for the Toast. Randomly generated if not specified. */
17
- this.toastId = generateUniqueId();
18
- /** Type of Toast. */
19
- this.variant = 'information';
20
- /** Hides the Toast. */
21
- this.hidden = false;
22
- /** Enables the close button. */
23
- this.closable = true;
24
- /** ARIA role for the Toast. */
25
- this.toastRole = 'alert';
26
- /** ARIA live for the Toast. */
27
- this.tdsAriaLive = 'polite';
28
15
  this.getIconName = () => {
29
16
  switch (this.variant) {
30
17
  case 'information':
@@ -55,6 +42,15 @@ const TdsToast$1 = /*@__PURE__*/ proxyCustomElement(class TdsToast extends H {
55
42
  this.hidden = false;
56
43
  }
57
44
  };
45
+ this.toastId = generateUniqueId();
46
+ this.header = undefined;
47
+ this.subheader = undefined;
48
+ this.variant = 'information';
49
+ this.hidden = false;
50
+ this.closable = true;
51
+ this.toastRole = 'alert';
52
+ this.tdsCloseAriaLabel = undefined;
53
+ this.tdsAriaLive = 'polite';
58
54
  }
59
55
  /** Hides the Toast. */
60
56
  async hideToast() {
@@ -81,8 +77,8 @@ const TdsToast$1 = /*@__PURE__*/ proxyCustomElement(class TdsToast extends H {
81
77
  ${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" }))))));
82
78
  }
83
79
  get host() { return this; }
84
- static get style() { return toastCss; }
85
- }, [257, "tds-toast", {
80
+ static get style() { return TdsToastStyle0; }
81
+ }, [1, "tds-toast", {
86
82
  "toastId": [1, "toast-id"],
87
83
  "header": [1],
88
84
  "subheader": [1],