@scania/tegel 1.47.2 → 1.48.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 (554) hide show
  1. package/README.md +4 -0
  2. package/dist/cjs/index-DGsdvbvx.js +2521 -0
  3. package/dist/cjs/{inheritAriaAttributes-dedbbc57.js → inheritAriaAttributes-D_xFGssc.js} +1 -1
  4. package/dist/cjs/{isHeadingElement-4f06b688.js → isHeadingElement-DihKNeqS.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +3 -6
  6. package/dist/cjs/tds-accordion-item.cjs.entry.js +10 -7
  7. package/dist/cjs/tds-accordion.cjs.entry.js +5 -6
  8. package/dist/cjs/tds-badge.cjs.entry.js +13 -8
  9. package/dist/cjs/tds-banner.cjs.entry.js +19 -15
  10. package/dist/cjs/tds-block.cjs.entry.js +5 -6
  11. package/dist/cjs/tds-body-cell.cjs.entry.js +4 -9
  12. package/dist/cjs/tds-breadcrumb.cjs.entry.js +4 -6
  13. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +3 -7
  14. package/dist/cjs/tds-button_2.cjs.entry.js +15 -14
  15. package/dist/cjs/tds-card.cjs.entry.js +29 -20
  16. package/dist/cjs/tds-checkbox.cjs.entry.js +17 -17
  17. package/dist/cjs/tds-chip.cjs.entry.js +19 -16
  18. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +9 -10
  19. package/dist/cjs/tds-datetime.cjs.entry.js +30 -24
  20. package/dist/cjs/tds-dropdown_2.cjs.entry.js +67 -62
  21. package/dist/cjs/tds-folder-tab.cjs.entry.js +4 -7
  22. package/dist/cjs/tds-folder-tabs.cjs.entry.js +40 -38
  23. package/dist/cjs/tds-footer-group.cjs.entry.js +8 -11
  24. package/dist/cjs/tds-footer-item.cjs.entry.js +3 -6
  25. package/dist/cjs/tds-footer.cjs.entry.js +6 -8
  26. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +3 -6
  27. package/dist/cjs/tds-header-cell.cjs.entry.js +20 -23
  28. package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +5 -6
  29. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +3 -10
  30. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +6 -9
  31. package/dist/cjs/tds-header-dropdown.cjs.entry.js +9 -13
  32. package/dist/cjs/tds-header-hamburger.cjs.entry.js +5 -9
  33. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +7 -9
  34. package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +3 -6
  35. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +4 -7
  36. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +5 -9
  37. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +3 -6
  38. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +4 -7
  39. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -4
  40. package/dist/cjs/tds-header-launcher.cjs.entry.js +7 -12
  41. package/dist/cjs/tds-header-title.cjs.entry.js +3 -6
  42. package/dist/cjs/tds-header.cjs.entry.js +5 -8
  43. package/dist/cjs/tds-icon.cjs.entry.js +14 -17
  44. package/dist/cjs/tds-inline-tab.cjs.entry.js +4 -6
  45. package/dist/cjs/tds-inline-tabs.cjs.entry.js +42 -39
  46. package/dist/cjs/tds-link.cjs.entry.js +6 -6
  47. package/dist/cjs/tds-message.cjs.entry.js +14 -14
  48. package/dist/cjs/tds-modal.cjs.entry.js +93 -47
  49. package/dist/cjs/tds-navigation-tab.cjs.entry.js +4 -6
  50. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +43 -40
  51. package/dist/cjs/tds-popover-canvas.cjs.entry.js +17 -11
  52. package/dist/cjs/tds-popover-core.cjs.entry.js +53 -40
  53. package/dist/cjs/tds-popover-menu-item.cjs.entry.js +4 -6
  54. package/dist/cjs/tds-popover-menu.cjs.entry.js +16 -11
  55. package/dist/cjs/tds-radio-button.cjs.entry.js +12 -15
  56. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +5 -8
  57. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +4 -7
  58. package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +4 -6
  59. package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +3 -6
  60. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +6 -7
  61. package/dist/cjs/tds-side-menu-item.cjs.entry.js +7 -7
  62. package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +3 -6
  63. package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +5 -13
  64. package/dist/cjs/tds-side-menu-user.cjs.entry.js +3 -10
  65. package/dist/cjs/tds-side-menu.cjs.entry.js +22 -15
  66. package/dist/cjs/tds-slider.cjs.entry.js +43 -26
  67. package/dist/cjs/tds-spinner.cjs.entry.js +5 -6
  68. package/dist/cjs/tds-step.cjs.entry.js +4 -12
  69. package/dist/cjs/tds-stepper.cjs.entry.js +26 -11
  70. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -6
  71. package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +15 -9
  72. package/dist/cjs/tds-table-body-row.cjs.entry.js +6 -6
  73. package/dist/cjs/tds-table-body.cjs.entry.js +8 -11
  74. package/dist/cjs/tds-table-footer.cjs.entry.js +23 -18
  75. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -6
  76. package/dist/cjs/tds-table-header.cjs.entry.js +6 -7
  77. package/dist/cjs/tds-table-toolbar.cjs.entry.js +6 -6
  78. package/dist/cjs/tds-table.cjs.entry.js +46 -16
  79. package/dist/cjs/tds-tag.cjs.entry.js +6 -8
  80. package/dist/cjs/tds-text-field.cjs.entry.js +24 -15
  81. package/dist/cjs/tds-textarea.cjs.entry.js +18 -13
  82. package/dist/cjs/tds-toast.cjs.entry.js +17 -17
  83. package/dist/cjs/tds-toggle.cjs.entry.js +14 -15
  84. package/dist/cjs/tds-tooltip.cjs.entry.js +20 -18
  85. package/dist/cjs/tegel.cjs.js +7 -8
  86. package/dist/collection/assets/icons/scania/microphone.svg +4 -0
  87. package/dist/collection/assets/icons/scania/microphone_inactive.svg +7 -0
  88. package/dist/collection/assets/icons/scania/notification_snooze.svg +6 -0
  89. package/dist/collection/assets/icons/scania/paperclip.svg +3 -0
  90. package/dist/collection/collection-manifest.json +2 -2
  91. package/dist/collection/components/accordion/accordion-item/accordion-item.js +24 -6
  92. package/dist/collection/components/accordion/accordion.js +8 -2
  93. package/dist/collection/components/badge/badge.js +16 -4
  94. package/dist/collection/components/banner/banner.js +41 -19
  95. package/dist/collection/components/block/block.js +8 -2
  96. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +4 -1
  97. package/dist/collection/components/breadcrumbs/breadcrumbs.js +4 -5
  98. package/dist/collection/components/button/button.js +44 -19
  99. package/dist/collection/components/card/card.js +64 -28
  100. package/dist/collection/components/checkbox/checkbox.js +41 -22
  101. package/dist/collection/components/chip/chip.css +4 -0
  102. package/dist/collection/components/chip/chip.js +41 -19
  103. package/dist/collection/components/datetime/datetime.js +78 -37
  104. package/dist/collection/components/divider/divider.js +8 -2
  105. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +31 -25
  106. package/dist/collection/components/dropdown/dropdown.js +90 -50
  107. package/dist/collection/components/footer/footer-group/footer-group.js +12 -8
  108. package/dist/collection/components/footer/footer.js +5 -2
  109. package/dist/collection/components/header/header-dropdown/header-dropdown.js +19 -12
  110. package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +4 -2
  111. package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +8 -2
  112. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +16 -14
  113. package/dist/collection/components/header/header-hamburger/header-hamburger.js +4 -5
  114. package/dist/collection/components/header/header-item/header-item.js +9 -2
  115. package/dist/collection/components/header/header-launcher/header-launcher.js +5 -5
  116. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +9 -4
  117. package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +0 -3
  118. package/dist/collection/components/icon/icon.js +29 -16
  119. package/dist/collection/components/icon/scaniaIconsArray.js +2 -252
  120. package/dist/collection/components/icon/tratonIconsArray.js +2 -32
  121. package/dist/collection/components/link/link.js +12 -3
  122. package/dist/collection/components/message/message.css +6 -6
  123. package/dist/collection/components/message/message.js +33 -16
  124. package/dist/collection/components/modal/modal.js +119 -51
  125. package/dist/collection/components/popover-canvas/popover-canvas.js +48 -16
  126. package/dist/collection/components/popover-core/popover-core.js +63 -30
  127. package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +4 -1
  128. package/dist/collection/components/popover-menu/popover-menu.js +45 -16
  129. package/dist/collection/components/radio-button/radio-button.css +14 -14
  130. package/dist/collection/components/radio-button/radio-button.js +36 -20
  131. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +5 -3
  132. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +16 -6
  133. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +4 -1
  134. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +9 -2
  135. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +16 -14
  136. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +8 -8
  137. package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +8 -8
  138. package/dist/collection/components/side-menu/side-menu.js +22 -10
  139. package/dist/collection/components/slider/slider.js +90 -36
  140. package/dist/collection/components/spinner/spinner.js +8 -2
  141. package/dist/collection/components/stepper/step/step.css +65 -16
  142. package/dist/collection/components/stepper/step/step.js +12 -11
  143. package/dist/collection/components/stepper/stepper.js +28 -6
  144. package/dist/collection/components/table/table/table.js +49 -12
  145. package/dist/collection/components/table/table-body/table-body.js +5 -5
  146. package/dist/collection/components/table/table-body-cell/table-body-cell.js +18 -11
  147. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +4 -1
  148. package/dist/collection/components/table/table-body-row/table-body-row.js +12 -3
  149. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +27 -8
  150. package/dist/collection/components/table/table-footer/table-footer.js +37 -17
  151. package/dist/collection/components/table/table-header/table-header.js +16 -6
  152. package/dist/collection/components/table/table-header-cell/table-header-cell.js +43 -28
  153. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +7 -2
  154. package/dist/collection/components/table/table-toolbar/table-toolbar.js +12 -3
  155. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +4 -2
  156. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +50 -37
  157. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +4 -1
  158. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +55 -39
  159. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +4 -1
  160. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +56 -40
  161. package/dist/collection/components/tag/tag.js +12 -5
  162. package/dist/collection/components/text-field/text-field.js +94 -36
  163. package/dist/collection/components/textarea/textarea.js +69 -27
  164. package/dist/collection/components/toast/toast.js +42 -21
  165. package/dist/collection/components/toggle/toggle.js +37 -19
  166. package/dist/collection/components/tooltip/tooltip.js +53 -25
  167. package/dist/components/index.d.ts +2 -0
  168. package/dist/components/index.js +1 -1
  169. package/dist/components/p-9AbeYlK8.js +1 -0
  170. package/dist/components/p-BFcLEwMn.js +1 -0
  171. package/dist/components/p-BWqvStj8.js +1 -0
  172. package/dist/components/p-BfVaBQQ6.js +1 -0
  173. package/dist/components/p-BrDlXJ4P.js +1 -0
  174. package/dist/components/p-BuqEW3pN.js +1 -0
  175. package/dist/components/p-C0fx1H4h.js +1 -0
  176. package/dist/components/p-CBZ6wC3m.js +1 -0
  177. package/dist/components/p-CLzENrFV.js +1 -0
  178. package/dist/components/p-CWEJdWOg.js +1 -0
  179. package/dist/components/p-Civ53ZSy.js +1 -0
  180. package/dist/components/p-CuIyaNyT.js +1 -0
  181. package/dist/components/p-D0Aaqu_c.js +1 -0
  182. package/dist/components/p-DC6RGvDS.js +1 -0
  183. package/dist/components/p-Dgt5K9eM.js +1 -0
  184. package/dist/components/p-Dh34QRlJ.js +1 -0
  185. package/dist/components/p-MrnWQiwK.js +1 -0
  186. package/dist/components/p-OdH1OynJ.js +1 -0
  187. package/dist/{tegel/p-0bd4c19c.js → components/p-Q3W78DlP.js} +1 -1
  188. package/dist/components/p-Zx1hN-_O.js +1 -0
  189. package/dist/components/p-dspMBqQE.js +1 -0
  190. package/dist/components/tds-accordion-item.js +1 -98
  191. package/dist/components/tds-accordion.js +1 -44
  192. package/dist/components/tds-badge.js +1 -76
  193. package/dist/components/tds-banner.js +1 -93
  194. package/dist/components/tds-block.js +1 -63
  195. package/dist/components/tds-body-cell.js +1 -131
  196. package/dist/components/tds-breadcrumb.js +1 -38
  197. package/dist/components/tds-breadcrumbs.js +1 -41
  198. package/dist/components/tds-button.js +1 -6
  199. package/dist/components/tds-card.js +1 -112
  200. package/dist/components/tds-checkbox.js +1 -6
  201. package/dist/components/tds-chip.js +1 -120
  202. package/dist/components/tds-core-header-item.js +1 -6
  203. package/dist/components/tds-datetime.js +1 -198
  204. package/dist/components/tds-divider.js +1 -6
  205. package/dist/components/tds-dropdown-option.js +1 -6
  206. package/dist/components/tds-dropdown.js +1 -6
  207. package/dist/components/tds-folder-tab.js +1 -74
  208. package/dist/components/tds-folder-tabs.js +1 -228
  209. package/dist/components/tds-footer-group.js +1 -87
  210. package/dist/components/tds-footer-item.js +1 -44
  211. package/dist/components/tds-footer.js +1 -47
  212. package/dist/components/tds-header-brand-symbol.js +1 -52
  213. package/dist/components/tds-header-cell.js +1 -187
  214. package/dist/components/tds-header-dropdown-list-item.js +1 -6
  215. package/dist/components/tds-header-dropdown-list-user.js +1 -45
  216. package/dist/components/tds-header-dropdown-list.js +1 -6
  217. package/dist/components/tds-header-dropdown.js +1 -127
  218. package/dist/components/tds-header-hamburger.js +1 -59
  219. package/dist/components/tds-header-item.js +1 -6
  220. package/dist/components/tds-header-launcher-button.js +1 -6
  221. package/dist/components/tds-header-launcher-grid-item.js +1 -35
  222. package/dist/components/tds-header-launcher-grid-title.js +1 -36
  223. package/dist/components/tds-header-launcher-grid.js +1 -58
  224. package/dist/components/tds-header-launcher-list-item.js +1 -41
  225. package/dist/components/tds-header-launcher-list-title.js +1 -37
  226. package/dist/components/tds-header-launcher-list.js +1 -38
  227. package/dist/components/tds-header-launcher.js +1 -134
  228. package/dist/components/tds-header-title.js +1 -35
  229. package/dist/components/tds-header.js +1 -74
  230. package/dist/components/tds-icon.js +1 -6
  231. package/dist/components/tds-inline-tab.js +1 -68
  232. package/dist/components/tds-inline-tabs.js +1 -234
  233. package/dist/components/tds-link.js +1 -64
  234. package/dist/components/tds-message.js +1 -84
  235. package/dist/components/tds-modal.js +1 -262
  236. package/dist/components/tds-navigation-tab.js +1 -65
  237. package/dist/components/tds-navigation-tabs.js +1 -240
  238. package/dist/components/tds-popover-canvas.js +1 -6
  239. package/dist/components/tds-popover-core.js +1 -6
  240. package/dist/components/tds-popover-menu-item.js +1 -41
  241. package/dist/components/tds-popover-menu.js +1 -84
  242. package/dist/components/tds-radio-button.js +1 -70
  243. package/dist/components/tds-side-menu-close-button.js +1 -53
  244. package/dist/components/tds-side-menu-collapse-button.js +1 -74
  245. package/dist/components/tds-side-menu-dropdown-list-item.js +1 -78
  246. package/dist/components/tds-side-menu-dropdown-list.js +1 -49
  247. package/dist/components/tds-side-menu-dropdown.js +1 -113
  248. package/dist/components/tds-side-menu-item.js +1 -6
  249. package/dist/components/tds-side-menu-overlay.js +1 -35
  250. package/dist/components/tds-side-menu-user-image.js +1 -6
  251. package/dist/components/tds-side-menu-user-label.js +1 -6
  252. package/dist/components/tds-side-menu-user.js +1 -56
  253. package/dist/components/tds-side-menu.js +1 -193
  254. package/dist/components/tds-slider.js +1 -545
  255. package/dist/components/tds-spinner.js +1 -39
  256. package/dist/components/tds-step.js +1 -86
  257. package/dist/components/tds-stepper.js +1 -95
  258. package/dist/components/tds-table-body-input-wrapper.js +1 -130
  259. package/dist/components/tds-table-body-row-expandable.js +1 -175
  260. package/dist/components/tds-table-body-row.js +1 -125
  261. package/dist/components/tds-table-body.js +1 -108
  262. package/dist/components/tds-table-footer.js +1 -210
  263. package/dist/components/tds-table-header-input-wrapper.js +1 -112
  264. package/dist/components/tds-table-header.js +1 -144
  265. package/dist/components/tds-table-toolbar.js +1 -119
  266. package/dist/components/tds-table.js +1 -168
  267. package/dist/components/tds-tag.js +1 -48
  268. package/dist/components/tds-text-field.js +1 -6
  269. package/dist/components/tds-textarea.js +1 -156
  270. package/dist/components/tds-toast.js +1 -117
  271. package/dist/components/tds-toggle.js +1 -86
  272. package/dist/components/tds-tooltip.js +1 -6
  273. package/dist/esm/index-9xxNGlso.js +2492 -0
  274. package/dist/{components/p-0bd4c19c.js → esm/inheritAriaAttributes-DyLhgCIg.js} +1 -1
  275. package/dist/esm/{isHeadingElement-8efea284.js → isHeadingElement-BQco7VNg.js} +1 -1
  276. package/dist/esm/loader.js +3 -4
  277. package/dist/esm/tds-accordion-item.entry.js +10 -5
  278. package/dist/esm/tds-accordion.entry.js +5 -4
  279. package/dist/esm/tds-badge.entry.js +13 -6
  280. package/dist/esm/tds-banner.entry.js +19 -13
  281. package/dist/esm/tds-block.entry.js +5 -4
  282. package/dist/esm/tds-body-cell.entry.js +4 -7
  283. package/dist/esm/tds-breadcrumb.entry.js +4 -4
  284. package/dist/esm/tds-breadcrumbs.entry.js +3 -5
  285. package/dist/esm/tds-button_2.entry.js +15 -12
  286. package/dist/esm/tds-card.entry.js +29 -18
  287. package/dist/esm/tds-checkbox.entry.js +17 -15
  288. package/dist/esm/tds-chip.entry.js +19 -14
  289. package/dist/esm/tds-core-header-item_2.entry.js +9 -8
  290. package/dist/esm/tds-datetime.entry.js +30 -22
  291. package/dist/esm/tds-dropdown_2.entry.js +67 -60
  292. package/dist/esm/tds-folder-tab.entry.js +4 -5
  293. package/dist/esm/tds-folder-tabs.entry.js +40 -36
  294. package/dist/esm/tds-footer-group.entry.js +8 -9
  295. package/dist/esm/tds-footer-item.entry.js +3 -4
  296. package/dist/esm/tds-footer.entry.js +6 -6
  297. package/dist/esm/tds-header-brand-symbol.entry.js +3 -4
  298. package/dist/esm/tds-header-cell.entry.js +20 -21
  299. package/dist/esm/tds-header-dropdown-list-item.entry.js +5 -4
  300. package/dist/esm/tds-header-dropdown-list-user.entry.js +3 -8
  301. package/dist/esm/tds-header-dropdown-list.entry.js +6 -7
  302. package/dist/esm/tds-header-dropdown.entry.js +9 -11
  303. package/dist/esm/tds-header-hamburger.entry.js +5 -7
  304. package/dist/esm/tds-header-launcher-button.entry.js +7 -7
  305. package/dist/esm/tds-header-launcher-grid-item.entry.js +3 -4
  306. package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -5
  307. package/dist/esm/tds-header-launcher-grid.entry.js +5 -7
  308. package/dist/esm/tds-header-launcher-list-item.entry.js +3 -4
  309. package/dist/esm/tds-header-launcher-list-title.entry.js +4 -5
  310. package/dist/esm/tds-header-launcher-list.entry.js +2 -2
  311. package/dist/esm/tds-header-launcher.entry.js +7 -10
  312. package/dist/esm/tds-header-title.entry.js +3 -4
  313. package/dist/esm/tds-header.entry.js +5 -6
  314. package/dist/esm/tds-icon.entry.js +14 -15
  315. package/dist/esm/tds-inline-tab.entry.js +4 -4
  316. package/dist/esm/tds-inline-tabs.entry.js +42 -37
  317. package/dist/esm/tds-link.entry.js +6 -4
  318. package/dist/esm/tds-message.entry.js +14 -12
  319. package/dist/esm/tds-modal.entry.js +93 -45
  320. package/dist/esm/tds-navigation-tab.entry.js +4 -4
  321. package/dist/esm/tds-navigation-tabs.entry.js +43 -38
  322. package/dist/esm/tds-popover-canvas.entry.js +17 -9
  323. package/dist/esm/tds-popover-core.entry.js +53 -38
  324. package/dist/esm/tds-popover-menu-item.entry.js +4 -4
  325. package/dist/esm/tds-popover-menu.entry.js +16 -9
  326. package/dist/esm/tds-radio-button.entry.js +12 -13
  327. package/dist/esm/tds-side-menu-close-button.entry.js +5 -6
  328. package/dist/esm/tds-side-menu-collapse-button.entry.js +4 -5
  329. package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +4 -4
  330. package/dist/esm/tds-side-menu-dropdown-list.entry.js +3 -4
  331. package/dist/esm/tds-side-menu-dropdown.entry.js +6 -5
  332. package/dist/esm/tds-side-menu-item.entry.js +7 -5
  333. package/dist/esm/tds-side-menu-overlay.entry.js +3 -4
  334. package/dist/esm/tds-side-menu-user-image_2.entry.js +5 -11
  335. package/dist/esm/tds-side-menu-user.entry.js +3 -8
  336. package/dist/esm/tds-side-menu.entry.js +22 -13
  337. package/dist/esm/tds-slider.entry.js +43 -24
  338. package/dist/esm/tds-spinner.entry.js +5 -4
  339. package/dist/esm/tds-step.entry.js +4 -10
  340. package/dist/esm/tds-stepper.entry.js +26 -9
  341. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -4
  342. package/dist/esm/tds-table-body-row-expandable.entry.js +15 -7
  343. package/dist/esm/tds-table-body-row.entry.js +6 -4
  344. package/dist/esm/tds-table-body.entry.js +8 -9
  345. package/dist/esm/tds-table-footer.entry.js +23 -16
  346. package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -4
  347. package/dist/esm/tds-table-header.entry.js +6 -5
  348. package/dist/esm/tds-table-toolbar.entry.js +6 -4
  349. package/dist/esm/tds-table.entry.js +46 -14
  350. package/dist/esm/tds-tag.entry.js +6 -6
  351. package/dist/esm/tds-text-field.entry.js +24 -13
  352. package/dist/esm/tds-textarea.entry.js +18 -11
  353. package/dist/esm/tds-toast.entry.js +17 -15
  354. package/dist/esm/tds-toggle.entry.js +14 -13
  355. package/dist/esm/tds-tooltip.entry.js +20 -16
  356. package/dist/esm/tegel.js +5 -5
  357. package/dist/tegel/assets/icons/scania/microphone.svg +4 -0
  358. package/dist/tegel/assets/icons/scania/microphone_inactive.svg +7 -0
  359. package/dist/tegel/assets/icons/scania/notification_snooze.svg +6 -0
  360. package/dist/tegel/assets/icons/scania/paperclip.svg +3 -0
  361. package/dist/tegel/{p-304f5a5c.entry.js → p-103beac4.entry.js} +1 -1
  362. package/dist/tegel/{p-c66b99a8.entry.js → p-1171b918.entry.js} +1 -1
  363. package/dist/tegel/p-121afb33.entry.js +1 -0
  364. package/dist/tegel/{p-fc26fb72.entry.js → p-17500423.entry.js} +1 -1
  365. package/dist/tegel/{p-8e930da5.entry.js → p-182d7066.entry.js} +1 -1
  366. package/dist/tegel/p-19103b43.entry.js +1 -0
  367. package/dist/tegel/p-19e70185.entry.js +1 -0
  368. package/dist/tegel/p-1b235896.entry.js +1 -0
  369. package/dist/tegel/p-1d160cef.entry.js +1 -0
  370. package/dist/tegel/p-1d403667.entry.js +1 -0
  371. package/dist/tegel/p-1f343c1c.entry.js +1 -0
  372. package/dist/tegel/p-21da22c7.entry.js +1 -0
  373. package/dist/tegel/p-21ee8076.entry.js +1 -0
  374. package/dist/tegel/{p-8a4837ae.entry.js → p-22d1d304.entry.js} +1 -1
  375. package/dist/tegel/{p-2faeb483.entry.js → p-26d6f766.entry.js} +1 -1
  376. package/dist/tegel/{p-4a7c213f.entry.js → p-2ab5a886.entry.js} +1 -1
  377. package/dist/tegel/{p-066e9613.entry.js → p-2e70052a.entry.js} +1 -1
  378. package/dist/tegel/{p-4a10393b.entry.js → p-37d10816.entry.js} +1 -1
  379. package/dist/tegel/p-38e72fb9.entry.js +1 -0
  380. package/dist/tegel/p-3a4c94fa.entry.js +1 -0
  381. package/dist/tegel/{p-15ae9443.entry.js → p-3a9793ef.entry.js} +1 -1
  382. package/dist/tegel/p-3c706eea.entry.js +1 -0
  383. package/dist/tegel/p-3d11fc11.entry.js +1 -0
  384. package/dist/tegel/{p-26408506.entry.js → p-408ccb20.entry.js} +1 -1
  385. package/dist/tegel/p-41ce0d20.entry.js +1 -0
  386. package/dist/tegel/{p-17893043.entry.js → p-4748cad9.entry.js} +1 -1
  387. package/dist/tegel/{p-25c4e6f6.entry.js → p-52e8c108.entry.js} +1 -1
  388. package/dist/tegel/{p-79fb0088.entry.js → p-567cbbe3.entry.js} +1 -1
  389. package/dist/tegel/{p-caadaf33.entry.js → p-5fc5e8b2.entry.js} +1 -1
  390. package/dist/tegel/{p-d031a7ca.entry.js → p-652d5980.entry.js} +1 -1
  391. package/dist/tegel/{p-08c993f3.entry.js → p-66404c24.entry.js} +1 -1
  392. package/dist/tegel/p-6952323d.entry.js +1 -0
  393. package/dist/tegel/p-722edda3.entry.js +1 -0
  394. package/dist/tegel/p-7aedca1d.entry.js +1 -0
  395. package/dist/tegel/p-7d54c68f.entry.js +1 -0
  396. package/dist/tegel/{p-ce6faf0e.entry.js → p-7f41c308.entry.js} +1 -1
  397. package/dist/tegel/{p-3ba2e575.entry.js → p-826bfbff.entry.js} +1 -1
  398. package/dist/tegel/{p-133351b5.entry.js → p-82743378.entry.js} +1 -1
  399. package/dist/tegel/p-85b3d6a6.entry.js +1 -0
  400. package/dist/tegel/{p-f1d58cbf.entry.js → p-85e2b8b8.entry.js} +1 -1
  401. package/dist/tegel/p-873dd581.entry.js +1 -0
  402. package/dist/tegel/p-88deac25.entry.js +1 -0
  403. package/dist/tegel/p-892bdb23.entry.js +1 -0
  404. package/dist/tegel/p-8eaea9b6.entry.js +1 -0
  405. package/dist/tegel/p-8f271e98.entry.js +1 -0
  406. package/dist/tegel/{p-508a55c0.entry.js → p-8fdf0d7e.entry.js} +1 -1
  407. package/dist/tegel/p-92ee76ea.entry.js +1 -0
  408. package/dist/tegel/p-936a7ca6.entry.js +1 -0
  409. package/dist/tegel/p-97c3349e.entry.js +1 -0
  410. package/dist/tegel/p-9a6a1e5a.entry.js +1 -0
  411. package/dist/tegel/p-9b2663c2.entry.js +1 -0
  412. package/dist/tegel/p-9xxNGlso.js +2 -0
  413. package/dist/tegel/{p-9332c225.js → p-Bx66i7RU.js} +1 -1
  414. package/dist/tegel/p-CF8bH08v.js +1 -0
  415. package/dist/tegel/p-CLF3diNe.js +1 -0
  416. package/dist/tegel/p-Cn4f8w1e.js +1 -0
  417. package/dist/tegel/p-DDX6uFcm.js +1 -0
  418. package/dist/tegel/p-Q3W78DlP.js +1 -0
  419. package/dist/tegel/p-a4fc2b2c.entry.js +1 -0
  420. package/dist/tegel/{p-27369d6a.entry.js → p-a6415b2c.entry.js} +1 -1
  421. package/dist/tegel/p-a7c5f9e5.entry.js +1 -0
  422. package/dist/tegel/{p-106dd3e9.entry.js → p-a9a60c38.entry.js} +1 -1
  423. package/dist/tegel/{p-ab067071.entry.js → p-a9f3bec2.entry.js} +1 -1
  424. package/dist/tegel/{p-a00ad341.entry.js → p-c2ffb85d.entry.js} +1 -1
  425. package/dist/tegel/p-c405daa1.entry.js +1 -0
  426. package/dist/tegel/p-c612b88f.entry.js +1 -0
  427. package/dist/tegel/{p-10340b85.entry.js → p-c681502a.entry.js} +1 -1
  428. package/dist/tegel/p-c8a575f1.entry.js +1 -0
  429. package/dist/tegel/p-c8d602b9.entry.js +1 -0
  430. package/dist/tegel/{p-2766b46f.entry.js → p-cc482c30.entry.js} +1 -1
  431. package/dist/tegel/p-d0c0f219.entry.js +1 -0
  432. package/dist/tegel/p-d79a1010.entry.js +1 -0
  433. package/dist/tegel/p-daab519f.entry.js +1 -0
  434. package/dist/tegel/{p-dc93c6e5.entry.js → p-dad64a2f.entry.js} +1 -1
  435. package/dist/tegel/p-dbfcc2a9.entry.js +1 -0
  436. package/dist/tegel/p-df943c9e.entry.js +1 -0
  437. package/dist/tegel/{p-608997fa.entry.js → p-dfa11d82.entry.js} +1 -1
  438. package/dist/tegel/p-e13d59c1.entry.js +1 -0
  439. package/dist/tegel/p-e4a3e0f4.entry.js +1 -0
  440. package/dist/tegel/p-e64bc780.entry.js +1 -0
  441. package/dist/tegel/{p-300af79f.entry.js → p-e8be1c01.entry.js} +1 -1
  442. package/dist/tegel/p-ea500860.entry.js +1 -0
  443. package/dist/tegel/{p-576a60ff.entry.js → p-ee9667d7.entry.js} +1 -1
  444. package/dist/tegel/p-f25d7602.entry.js +1 -0
  445. package/dist/tegel/p-f67dd00a.entry.js +1 -0
  446. package/dist/tegel/{p-f097adce.entry.js → p-f98f7716.entry.js} +1 -1
  447. package/dist/tegel/p-wEP_nEaO.js +1 -0
  448. package/dist/tegel/tegel.css +2 -2
  449. package/dist/tegel/tegel.esm.js +1 -1
  450. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +1 -1
  451. package/dist/types/components/modal/modal.d.ts +7 -0
  452. package/dist/types/components/slider/slider-stories-setup.d.ts +1 -1
  453. package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +2 -2
  454. package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +2 -2
  455. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +2 -2
  456. package/dist/types/components.d.ts +1206 -150
  457. package/dist/types/stencil-public-runtime.d.ts +196 -8
  458. package/dist/types/types/ScaniaIcons.d.ts +1 -1
  459. package/package.json +9 -4
  460. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  461. package/dist/cjs/index-ca8040ad.js +0 -2039
  462. package/dist/components/p-0f9ce30b.js +0 -37
  463. package/dist/components/p-28ef5186.js +0 -1507
  464. package/dist/components/p-32351d04.js +0 -37
  465. package/dist/components/p-381677ec.js +0 -46
  466. package/dist/components/p-49b20476.js +0 -82
  467. package/dist/components/p-4c0aa33f.js +0 -117
  468. package/dist/components/p-4f672d4f.js +0 -112
  469. package/dist/components/p-542226b2.js +0 -110
  470. package/dist/components/p-5725d7a2.js +0 -113
  471. package/dist/components/p-5bb5f233.js +0 -220
  472. package/dist/components/p-859e3ebf.js +0 -68
  473. package/dist/components/p-871223b7.js +0 -719
  474. package/dist/components/p-a1181b1f.js +0 -16
  475. package/dist/components/p-ae4ca8c3.js +0 -165
  476. package/dist/components/p-d5461a3c.js +0 -59
  477. package/dist/components/p-e0997ae2.js +0 -41
  478. package/dist/components/p-e1622f4a.js +0 -32
  479. package/dist/components/p-e62ed985.js +0 -2100
  480. package/dist/components/p-f086ba26.js +0 -84
  481. package/dist/components/p-f6685f1b.js +0 -93
  482. package/dist/components/p-f8db4031.js +0 -103
  483. package/dist/esm/app-globals-0f993ce5.js +0 -3
  484. package/dist/esm/dfs-1e574d5f.js +0 -27
  485. package/dist/esm/generateUniqueId-7934d315.js +0 -26
  486. package/dist/esm/getAriaInvalid-a9944cb9.js +0 -23
  487. package/dist/esm/hasSlot-d52114d0.js +0 -9
  488. package/dist/esm/index-51d04e39.js +0 -2009
  489. package/dist/esm/inheritAriaAttributes-04f2f252.js +0 -76
  490. package/dist/esm/inheritAttributes-d21e267b.js +0 -25
  491. package/dist/tegel/p-0684b6d3.entry.js +0 -1
  492. package/dist/tegel/p-078217d1.entry.js +0 -1
  493. package/dist/tegel/p-07d16763.entry.js +0 -1
  494. package/dist/tegel/p-0e3fcc9f.entry.js +0 -1
  495. package/dist/tegel/p-1073fb33.entry.js +0 -1
  496. package/dist/tegel/p-123e6e54.entry.js +0 -1
  497. package/dist/tegel/p-15b9a73b.entry.js +0 -1
  498. package/dist/tegel/p-2049fab2.js +0 -2
  499. package/dist/tegel/p-225c73b6.entry.js +0 -1
  500. package/dist/tegel/p-38725623.entry.js +0 -1
  501. package/dist/tegel/p-3c348fcb.entry.js +0 -1
  502. package/dist/tegel/p-419212b5.entry.js +0 -1
  503. package/dist/tegel/p-4abe96b6.entry.js +0 -1
  504. package/dist/tegel/p-51118061.entry.js +0 -1
  505. package/dist/tegel/p-57a2d4de.entry.js +0 -1
  506. package/dist/tegel/p-5b80467f.entry.js +0 -1
  507. package/dist/tegel/p-5bab691f.entry.js +0 -1
  508. package/dist/tegel/p-63f77d7c.entry.js +0 -1
  509. package/dist/tegel/p-6bb6425c.entry.js +0 -1
  510. package/dist/tegel/p-739068bf.entry.js +0 -1
  511. package/dist/tegel/p-87219f00.entry.js +0 -1
  512. package/dist/tegel/p-91af9dc5.entry.js +0 -1
  513. package/dist/tegel/p-947ec2b0.entry.js +0 -1
  514. package/dist/tegel/p-9772750e.entry.js +0 -1
  515. package/dist/tegel/p-9f154997.entry.js +0 -1
  516. package/dist/tegel/p-a15280db.entry.js +0 -1
  517. package/dist/tegel/p-a2aaf61c.entry.js +0 -1
  518. package/dist/tegel/p-aa795666.entry.js +0 -1
  519. package/dist/tegel/p-b7e0917f.entry.js +0 -1
  520. package/dist/tegel/p-bc697ea7.entry.js +0 -1
  521. package/dist/tegel/p-bf40233e.entry.js +0 -1
  522. package/dist/tegel/p-c05f61d6.entry.js +0 -1
  523. package/dist/tegel/p-c163d44f.entry.js +0 -1
  524. package/dist/tegel/p-c2ab817d.entry.js +0 -1
  525. package/dist/tegel/p-c4719b10.entry.js +0 -1
  526. package/dist/tegel/p-c7be09fc.entry.js +0 -1
  527. package/dist/tegel/p-c8fd6b3b.entry.js +0 -1
  528. package/dist/tegel/p-da72f897.entry.js +0 -1
  529. package/dist/tegel/p-ded1191e.entry.js +0 -1
  530. package/dist/tegel/p-e1255160.js +0 -1
  531. package/dist/tegel/p-e2a6c30c.entry.js +0 -1
  532. package/dist/tegel/p-e2db17a5.entry.js +0 -1
  533. package/dist/tegel/p-e40d454d.entry.js +0 -1
  534. package/dist/tegel/p-e53da1e5.entry.js +0 -1
  535. package/dist/tegel/p-e64c36a3.entry.js +0 -1
  536. package/dist/tegel/p-ebf13d81.entry.js +0 -1
  537. package/dist/tegel/p-ede87410.entry.js +0 -1
  538. package/dist/tegel/p-f3cf4eba.entry.js +0 -1
  539. package/loader/package.json +0 -11
  540. /package/dist/cjs/{dfs-84f7f63e.js → dfs-Clg9RCmq.js} +0 -0
  541. /package/dist/cjs/{generateUniqueId-e3fc9863.js → generateUniqueId-ComXTAM_.js} +0 -0
  542. /package/dist/cjs/{getAriaInvalid-66a2eade.js → getAriaInvalid-Bdg4qUb_.js} +0 -0
  543. /package/dist/cjs/{hasSlot-1c90e9ba.js → hasSlot-D-DVNhGg.js} +0 -0
  544. /package/dist/cjs/{inheritAttributes-ff9ad737.js → inheritAttributes-CGw91JfB.js} +0 -0
  545. /package/dist/{tegel/p-3fe9cbbf.js → components/p-CF8bH08v.js} +0 -0
  546. /package/dist/{tegel/p-52bf0fdf.js → components/p-CLF3diNe.js} +0 -0
  547. /package/dist/{tegel/p-11648030.js → components/p-Cn4f8w1e.js} +0 -0
  548. /package/dist/{tegel/p-ae110fc2.js → components/p-DDX6uFcm.js} +0 -0
  549. /package/dist/{tegel/p-bbf9492a.js → components/p-wEP_nEaO.js} +0 -0
  550. /package/dist/{components/p-52bf0fdf.js → esm/dfs-CLF3diNe.js} +0 -0
  551. /package/dist/{components/p-11648030.js → esm/generateUniqueId-Cn4f8w1e.js} +0 -0
  552. /package/dist/{components/p-bbf9492a.js → esm/getAriaInvalid-wEP_nEaO.js} +0 -0
  553. /package/dist/{components/p-ae110fc2.js → esm/hasSlot-DDX6uFcm.js} +0 -0
  554. /package/dist/{components/p-3fe9cbbf.js → esm/inheritAttributes-CF8bH08v.js} +0 -0
@@ -1,8 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
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;
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)}`;
6
5
 
7
6
  const relevantTableProps = [
8
7
  'verticalDividers',
@@ -15,12 +14,19 @@ const TdsTableBodyRowExpandable = class {
15
14
  registerInstance(this, hostRef);
16
15
  this.internalTdsRowExpanded = createEvent(this, "internalTdsRowExpanded", 6);
17
16
  this.tdsChange = createEvent(this, "tdsChange", 6);
17
+ /** In case that automatic count of columns does not work, user can manually set this one.
18
+ * Take in mind that expandable control is column too */
18
19
  this.colSpan = null;
20
+ /** ID for the table row. Randomly generated if not specified. */
19
21
  this.rowId = generateUniqueId();
20
- this.expanded = undefined;
22
+ /** Controls the overflow behavior of the expandable row content */
21
23
  this.overflow = 'auto';
24
+ /** Sets isExpanded state to true or false internally */
25
+ /** Enables auto-collapse of other expandable rows when one row is expanded */
22
26
  this.autoCollapse = false;
27
+ /** Aria label for the expand button, providing an accessible description */
23
28
  this.tdsAriaLabelExpandButton = '';
29
+ /** Sets isExpanded state to true or fals internally */
24
30
  this.isExpanded = false;
25
31
  this.tableId = '';
26
32
  this.columnsNumber = null;
@@ -130,9 +136,11 @@ const TdsTableBodyRowExpandable = class {
130
136
  }
131
137
  get host() { return getElement(this); }
132
138
  static get watchers() { return {
133
- "expanded": ["watchExpanded"]
139
+ "expanded": [{
140
+ "watchExpanded": 0
141
+ }]
134
142
  }; }
135
143
  };
136
- TdsTableBodyRowExpandable.style = TdsTableBodyRowExpandableStyle0;
144
+ TdsTableBodyRowExpandable.style = tableBodyRowExpandableCss();
137
145
 
138
146
  export { TdsTableBodyRowExpandable as tds_table_body_row_expandable };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
3
- 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)}";
4
- const TdsTableBodyRowStyle0 = tableBodyRowCss;
3
+ 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
4
 
6
5
  const relevantTableProps = [
7
6
  'multiselect',
@@ -13,8 +12,11 @@ const TdsTableBodyRow = class {
13
12
  registerInstance(this, hostRef);
14
13
  this.tdsSelect = createEvent(this, "tdsSelect", 6);
15
14
  this.tdsClick = createEvent(this, "tdsClick", 6);
15
+ /** Marks the row as selected, used for multiselect table. */
16
16
  this.selected = false;
17
+ /** Marks the row as disabled, used for multiselect table. */
17
18
  this.disabled = false;
19
+ /** Makes the row clickable and tabbable for accessibility purposes. */
18
20
  this.clickable = false;
19
21
  this.multiselect = false;
20
22
  this.mainCheckBoxStatus = false;
@@ -85,6 +87,6 @@ const TdsTableBodyRow = class {
85
87
  }
86
88
  get host() { return getElement(this); }
87
89
  };
88
- TdsTableBodyRow.style = TdsTableBodyRowStyle0;
90
+ TdsTableBodyRow.style = tableBodyRowCss();
89
91
 
90
92
  export { TdsTableBodyRow as tds_table_body_row };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
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;
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}`;
5
4
 
6
5
  const relevantTableProps = [
7
6
  'multiselect',
@@ -11,11 +10,6 @@ const relevantTableProps = [
11
10
  const TdsTableBody = class {
12
11
  constructor(hostRef) {
13
12
  registerInstance(this, hostRef);
14
- this.bodyCheckBoxClicked = () => {
15
- const numberOfRows = this.host.getElementsByClassName('tds-table__row').length;
16
- const numberOfRowsSelected = this.host.getElementsByClassName('tds-table__row--selected').length;
17
- this.mainCheckboxStatus = numberOfRows === numberOfRowsSelected;
18
- };
19
13
  this.multiselect = false;
20
14
  this.enablePaginationTableBody = false;
21
15
  this.expandableRows = false;
@@ -25,6 +19,11 @@ const TdsTableBody = class {
25
19
  this.columnsNumber = 0;
26
20
  this.zebraMode = 'none';
27
21
  this.tableId = '';
22
+ this.bodyCheckBoxClicked = () => {
23
+ const numberOfRows = this.host.getElementsByClassName('tds-table__row').length;
24
+ const numberOfRowsSelected = this.host.getElementsByClassName('tds-table__row--selected').length;
25
+ this.mainCheckboxStatus = numberOfRows === numberOfRowsSelected;
26
+ };
28
27
  }
29
28
  internalTdsPropChangeListener(event) {
30
29
  if (this.tableId === event.detail.tableId) {
@@ -75,6 +74,6 @@ const TdsTableBody = class {
75
74
  }
76
75
  get host() { return getElement(this); }
77
76
  };
78
- TdsTableBody.style = TdsTableBodyStyle0;
77
+ TdsTableBody.style = tableBodyCss();
79
78
 
80
79
  export { TdsTableBody as tds_table_body };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
3
- 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)}}";
4
- const TdsTableFooterStyle0 = tableFooterCss;
3
+ 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)}}`;
5
4
 
6
5
  const relevantTableProps = [
7
6
  'compactDesign',
@@ -14,6 +13,26 @@ const TdsTableFooter = class {
14
13
  constructor(hostRef) {
15
14
  registerInstance(this, hostRef);
16
15
  this.tdsPagination = createEvent(this, "tdsPagination", 7);
16
+ /** Enable pagination and show pagination controls */
17
+ this.pagination = false;
18
+ /** Sets the pagination number. */
19
+ this.paginationValue = 1;
20
+ /** Enable rows per page dropdown */
21
+ this.rowsperpage = true;
22
+ /** Set available rows per page values */
23
+ this.rowsPerPageValues = [10, 25, 50];
24
+ /** Sets the number of pages. */
25
+ this.pages = 0;
26
+ /** <b>Client override</b> Used to set the column span of the footer. Use as fallback if the automatic count of columns fails. */
27
+ this.cols = null;
28
+ /** State that memorize number of columns to display colSpan correctly - set from parent level */
29
+ this.columnsNumber = 0;
30
+ /* Sets the footer to use compact design. */
31
+ this.compactDesign = false;
32
+ this.lastCorrectValue = 1;
33
+ this.tableId = '';
34
+ this.horizontalScrollWidth = null;
35
+ this.rowsPerPageValue = this.rowsPerPageValues[0];
17
36
  this.emitTdsPagination = () => {
18
37
  if (this.rowsperpage) {
19
38
  this.tdsPagination.emit({
@@ -57,18 +76,6 @@ const TdsTableFooter = class {
57
76
  this.emitTdsPagination();
58
77
  this.storeLastCorrectValue(this.paginationValue);
59
78
  };
60
- this.pagination = false;
61
- this.paginationValue = 1;
62
- this.rowsperpage = true;
63
- this.rowsPerPageValues = [10, 25, 50];
64
- this.pages = 0;
65
- this.cols = null;
66
- this.columnsNumber = 0;
67
- this.compactDesign = false;
68
- this.lastCorrectValue = 1;
69
- this.tableId = '';
70
- this.horizontalScrollWidth = null;
71
- this.rowsPerPageValue = this.rowsPerPageValues[0];
72
79
  }
73
80
  internalTdsPropChangeListener(event) {
74
81
  if (this.tableId === event.detail.tableId) {
@@ -149,6 +156,6 @@ const TdsTableFooter = class {
149
156
  }
150
157
  get host() { return getElement(this); }
151
158
  };
152
- TdsTableFooter.style = TdsTableFooterStyle0;
159
+ TdsTableFooter.style = tableFooterCss();
153
160
 
154
161
  export { TdsTableFooter as tds_table_footer };
@@ -1,12 +1,12 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
3
- 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;}";
4
- const TdsTableHeaderInputWrapperStyle0 = tableHeaderInputWrapperCss;
3
+ 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
4
 
6
5
  const relevantTableProps = ['compactDesign'];
7
6
  const TdsTableHeaderInputWrapper = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
9
+ /** Controls if the search icon is shown */
10
10
  this.showIcon = true;
11
11
  this.renderSlot = true;
12
12
  this.inputFocused = false;
@@ -76,6 +76,6 @@ const TdsTableHeaderInputWrapper = class {
76
76
  }
77
77
  get host() { return getElement(this); }
78
78
  };
79
- TdsTableHeaderInputWrapper.style = TdsTableHeaderInputWrapperStyle0;
79
+ TdsTableHeaderInputWrapper.style = tableHeaderInputWrapperCss();
80
80
 
81
81
  export { TdsTableHeaderInputWrapper as tds_table_header_input_wrapper };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
3
- 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}";
4
- const TdsTableHeaderStyle0 = tableHeaderCss;
3
+ 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
4
 
6
5
  const relevantTableProps = [
7
6
  'multiselect',
@@ -14,9 +13,11 @@ const TdsTableHeaderRow = class {
14
13
  constructor(hostRef) {
15
14
  registerInstance(this, hostRef);
16
15
  this.tdsSelectAll = createEvent(this, "tdsSelectAll", 6);
16
+ /** @deprecated Deprecated, use selected instead. */
17
17
  this.allSelected = false;
18
- this.selected = undefined;
18
+ /** Prop for controlling the enabled/disabled state of the "All selected"-checkbox. */
19
19
  this.disabled = false;
20
+ /** Prop for controlling the indeterminate state of the "All selected"-checkbox. */
20
21
  this.indeterminate = false;
21
22
  this.multiselect = false;
22
23
  this.expandableRows = false;
@@ -99,6 +100,6 @@ const TdsTableHeaderRow = class {
99
100
  }
100
101
  get host() { return getElement(this); }
101
102
  };
102
- TdsTableHeaderRow.style = TdsTableHeaderStyle0;
103
+ TdsTableHeaderRow.style = tableHeaderCss();
103
104
 
104
105
  export { TdsTableHeaderRow as tds_table_header };
@@ -1,7 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
2
 
3
- 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}";
4
- const TdsTableToolbarStyle0 = tableToolbarCss;
3
+ 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
4
 
6
5
  const relevantTableProps = [
7
6
  'compactDesign',
@@ -13,8 +12,11 @@ const TdsTableToolbar = class {
13
12
  constructor(hostRef) {
14
13
  registerInstance(this, hostRef);
15
14
  this.tdsFilter = createEvent(this, "tdsFilter", 7);
15
+ /** Adds title to the Table */
16
16
  this.tableTitle = '';
17
+ /** Enables preview of searchbar */
17
18
  this.filter = false;
19
+ /** Aria label for the search input, providing an accessible description */
18
20
  this.tdsSearchAriaLabel = '';
19
21
  this.verticalDividers = false;
20
22
  this.compactDesign = false;
@@ -79,6 +81,6 @@ const TdsTableToolbar = class {
79
81
  }
80
82
  get host() { return getElement(this); }
81
83
  };
82
- TdsTableToolbar.style = TdsTableToolbarStyle0;
84
+ TdsTableToolbar.style = tableToolbarCss();
83
85
 
84
86
  export { TdsTableToolbar as tds_table_toolbar };
@@ -1,22 +1,38 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
3
3
 
4
- const tableCss = ":host,:root{--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-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;
4
+ const tableCss = () => `:host,:root{--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-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}`;
6
5
 
7
6
  const TdsTable = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
10
9
  this.internalTdsTablePropChange = createEvent(this, "internalTdsTablePropChange", 6);
10
+ /** Enables style with vertical dividers between columns */
11
11
  this.verticalDividers = false;
12
+ /** Enables style where Table toolbar, rows and footer are less high */
12
13
  this.compactDesign = false;
13
- this.noMinWidth = undefined;
14
+ // TODO: Due to unknown reason, one of this items has to be left as is.
15
+ // If all are false, it seems like emitting is not properly done and it affects other events in Table.
16
+ // Try setting it and observe text-align set on header cell
17
+ /** Enables multiselect feature of Table */
14
18
  this.multiselect = false;
19
+ /** Enables extended row feature of Table */
15
20
  this.expandableRows = false;
21
+ /** Enables Table to take 100% available width with equal spacing of columns */
16
22
  this.responsive = false;
23
+ /** Variant of the component, based on current mode. */
17
24
  this.modeVariant = null;
25
+ /** Enables zebra stripe mode on the table rows or columns. */
18
26
  this.zebraMode = 'none';
27
+ /** Width of the table, used as the constraint for horizontal scrolling.
28
+ * **NOTE**: this will disable usage of the responsive flag
29
+ * */
19
30
  this.horizontalScrollWidth = null;
31
+ /** ID used for internal Table functionality and events, must be unique.
32
+ *
33
+ * **NOTE**: If you're listening for Table events, you need to set this ID yourself to identify the Table,
34
+ * as the default ID is random and will be different every time.
35
+ */
20
36
  this.tableId = generateUniqueId();
21
37
  this.enableHorizontalScrollToolbarDesign = false;
22
38
  this.enableHorizontalScrollFooterDesign = false;
@@ -111,16 +127,32 @@ const TdsTable = class {
111
127
  }
112
128
  get host() { return getElement(this); }
113
129
  static get watchers() { return {
114
- "multiselect": ["multiselectChanged"],
115
- "expandableRows": ["enableExpandableRowsChanged"],
116
- "compactDesign": ["compactDesignChanged"],
117
- "verticalDividers": ["verticalDividersChanged"],
118
- "noMinWidth": ["noMinWidthChanged"],
119
- "zebraMode": ["zebraModeChanged"],
120
- "modeVariant": ["modeVariantChanged"],
121
- "horizontalScrollWidth": ["widthChanged"]
130
+ "multiselect": [{
131
+ "multiselectChanged": 0
132
+ }],
133
+ "expandableRows": [{
134
+ "enableExpandableRowsChanged": 0
135
+ }],
136
+ "compactDesign": [{
137
+ "compactDesignChanged": 0
138
+ }],
139
+ "verticalDividers": [{
140
+ "verticalDividersChanged": 0
141
+ }],
142
+ "noMinWidth": [{
143
+ "noMinWidthChanged": 0
144
+ }],
145
+ "zebraMode": [{
146
+ "zebraModeChanged": 0
147
+ }],
148
+ "modeVariant": [{
149
+ "modeVariantChanged": 0
150
+ }],
151
+ "horizontalScrollWidth": [{
152
+ "widthChanged": 0
153
+ }]
122
154
  }; }
123
155
  };
124
- TdsTable.style = TdsTableStyle0;
156
+ TdsTable.style = tableCss();
125
157
 
126
158
  export { TdsTable as tds_table };
@@ -1,14 +1,14 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
- import { h as hasSlot } from './hasSlot-d52114d0.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-9xxNGlso.js';
2
+ import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
3
3
 
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;
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}`;
6
5
 
7
6
  const TdsTag = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
10
- this.text = undefined;
9
+ /** Sets the size of the tag */
11
10
  this.size = 'lg';
11
+ /** Sets the variant mode of the tag */
12
12
  this.variant = 'Neutral';
13
13
  }
14
14
  render() {
@@ -21,6 +21,6 @@ const TdsTag = class {
21
21
  }
22
22
  get host() { return getElement(this); }
23
23
  };
24
- TdsTag.style = TdsTagStyle0;
24
+ TdsTag.style = tagCss();
25
25
 
26
26
  export { TdsTag as tds_tag };
@@ -1,10 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-51d04e39.js';
2
- import { h as hasSlot } from './hasSlot-d52114d0.js';
3
- import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
4
- import { g as getAriaInvalid } from './getAriaInvalid-a9944cb9.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-9xxNGlso.js';
2
+ import { h as hasSlot } from './hasSlot-DDX6uFcm.js';
3
+ import { g as generateUniqueId } from './generateUniqueId-Cn4f8w1e.js';
4
+ import { g as getAriaInvalid } from './getAriaInvalid-wEP_nEaO.js';
5
5
 
6
- const textFieldCss = ".text-field-input-lg.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16)}.text-field-input-lg.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-lg.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-lg.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-lg.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-md.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-md.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-md.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-md.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-md.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-sm.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-sm.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-sm.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-sm.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-sm.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-container.sc-tds-text-field{border-radius:4px 4px 0 0;display:flex;position:relative;height:56px;box-sizing:border-box;background-color:var(--tds-text-field-background);border-bottom:1px solid var(--tds-text-field-border-bottom);border-top:1px solid transparent;transition:border-bottom-color 200ms ease}.text-field-container.sc-tds-text-field:hover{border-bottom-color:var(--tds-text-field-border-bottom-hover)}.form-text-field-md.sc-tds-text-field .text-field-container.sc-tds-text-field{height:48px}.form-text-field-sm.sc-tds-text-field .text-field-container.sc-tds-text-field{height:40px}.text-field-container.sc-tds-text-field:focus-within{border:2px solid var(--tds-focus-outline-color);margin:0 -2px}.text-field-input-container.sc-tds-text-field{position:relative;width:100%}.text-field-data.sc-tds-text-field,.text-field-input.sc-tds-text-field{color:var(--tds-text-field-data-color)}.text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-text-field-label-color)}.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);position:absolute;pointer-events:none;color:var(--tds-text-field-label-inside-color);left:16px}.form-text-field.sc-tds-text-field{display:block;min-width:208px}.form-text-field-nomin.sc-tds-text-field{min-width:auto}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field{padding-top:var(--tds-spacing-element-24);padding-bottom:15px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:20px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:12px}.text-field-helper.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;gap:8px;justify-content:space-between;flex-basis:100%;padding-top:var(--tds-spacing-element-4);color:var(--tds-text-field-helper)}.text-field-helper.sc-tds-text-field .text-field-textcounter.sc-tds-text-field{margin-left:auto}.form-text-field-disabled.sc-tds-text-field .text-field-container.sc-tds-text-field{cursor:not-allowed;border-bottom-color:transparent}.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-prefix.sc-tds-text-field>*.sc-tds-text-field,.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-suffix.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-ps-color-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-disabled)}.text-field-icon__readonly.sc-tds-text-field{display:none;position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--tds-text-field-icon-read-only-label-color)}.text-field-icon__readonly.sc-tds-text-field .tds-tooltip.sc-tds-text-field{min-width:150px}.form-text-field-readonly.sc-tds-text-field{user-select:auto;caret-color:transparent;cursor:default}.form-text-field-readonly.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-readonly)}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field:hover~.text-field-icon__readonly-label.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-input.sc-tds-text-field{background-color:transparent}.form-text-field-readonly.sc-tds-text-field:has(.text-field-icon__readonly) .text-field-input.sc-tds-text-field{padding-right:54px}.form-text-field-success.sc-tds-text-field:not(.form-text-field-readonly) .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-success)}.form-text-field-error.sc-tds-text-field:not(.form-text-field-readonly) .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-error)}.form-text-field-error.sc-tds-text-field:not(.form-text-field-readonly) .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-error)}.text-field-helper-error-state.sc-tds-text-field{display:flex;gap:8px;flex-wrap:nowrap}.text-field-textcounter-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-disabled)}.text-field-textcounter.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-text-field-textcounter);float:right}.text-field-textcounter.text-field-textcounter-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-disabled)}.text-field-textcounter.text-field-textcounter-divider.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider)}.text-field-textcounter.text-field-textcounter-divider-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider-disabled)}.text-field-slot-wrap-prefix.sc-tds-text-field,.text-field-slot-wrap-suffix.sc-tds-text-field{align-self:center;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);margin:0 0 0 14px;color:var(--tds-text-field-ps-color)}.text-field-slot-wrap-prefix.sc-tds-text-field-s>:not(tds-icon),.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 0 0 2px}.text-field-slot-wrap-prefix.text-field-error.sc-tds-text-field,.text-field-slot-wrap-suffix.text-field-error.sc-tds-text-field{color:var(--tds-text-field-ps-color-error)}.text-field-slot-wrap-suffix.sc-tds-text-field{margin:0 14px 0 0}.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 2px 0 0}.text-field-input-no-arrows.sc-tds-text-field{appearance:textfield}.text-field-input-no-arrows.sc-tds-text-field::-webkit-outer-spin-button,.text-field-input-no-arrows.sc-tds-text-field::-webkit-inner-spin-button{appearance:none;margin:0}";
7
- const TdsTextFieldStyle0 = textFieldCss;
6
+ const textFieldCss = () => `.text-field-input-lg.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16)}.text-field-input-lg.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-lg.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-lg.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-lg.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-md.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-md.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-md.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-md.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-md.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-sm.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-sm.sc-tds-text-field::placeholder{color:var(--tds-text-field-placeholder)}.text-field-input-sm.sc-tds-text-field:disabled{user-select:none;pointer-events:none;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-sm.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-sm.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-container.sc-tds-text-field{border-radius:4px 4px 0 0;display:flex;position:relative;height:56px;box-sizing:border-box;background-color:var(--tds-text-field-background);border-bottom:1px solid var(--tds-text-field-border-bottom);border-top:1px solid transparent;transition:border-bottom-color 200ms ease}.text-field-container.sc-tds-text-field:hover{border-bottom-color:var(--tds-text-field-border-bottom-hover)}.form-text-field-md.sc-tds-text-field .text-field-container.sc-tds-text-field{height:48px}.form-text-field-sm.sc-tds-text-field .text-field-container.sc-tds-text-field{height:40px}.text-field-container.sc-tds-text-field:focus-within{border:2px solid var(--tds-focus-outline-color);margin:0 -2px}.text-field-input-container.sc-tds-text-field{position:relative;width:100%}.text-field-data.sc-tds-text-field,.text-field-input.sc-tds-text-field{color:var(--tds-text-field-data-color)}.text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-text-field-label-color)}.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);position:absolute;pointer-events:none;color:var(--tds-text-field-label-inside-color);left:16px}.form-text-field.sc-tds-text-field{display:block;min-width:208px}.form-text-field-nomin.sc-tds-text-field{min-width:auto}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field{padding-top:var(--tds-spacing-element-24);padding-bottom:15px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:20px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder)}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:12px}.text-field-helper.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;gap:8px;justify-content:space-between;flex-basis:100%;padding-top:var(--tds-spacing-element-4);color:var(--tds-text-field-helper)}.text-field-helper.sc-tds-text-field .text-field-textcounter.sc-tds-text-field{margin-left:auto}.form-text-field-disabled.sc-tds-text-field .text-field-container.sc-tds-text-field{cursor:not-allowed;border-bottom-color:transparent}.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-prefix.sc-tds-text-field>*.sc-tds-text-field,.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-suffix.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-ps-color-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-disabled)}.text-field-icon__readonly.sc-tds-text-field{display:none;position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--tds-text-field-icon-read-only-label-color)}.text-field-icon__readonly.sc-tds-text-field .tds-tooltip.sc-tds-text-field{min-width:150px}.form-text-field-readonly.sc-tds-text-field{user-select:auto;caret-color:transparent;cursor:default}.form-text-field-readonly.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-readonly)}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field:hover~.text-field-icon__readonly-label.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-input.sc-tds-text-field{background-color:transparent}.form-text-field-readonly.sc-tds-text-field:has(.text-field-icon__readonly) .text-field-input.sc-tds-text-field{padding-right:54px}.form-text-field-success.sc-tds-text-field:not(.form-text-field-readonly) .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-success)}.form-text-field-error.sc-tds-text-field:not(.form-text-field-readonly) .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-error)}.form-text-field-error.sc-tds-text-field:not(.form-text-field-readonly) .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-error)}.text-field-helper-error-state.sc-tds-text-field{display:flex;gap:8px;flex-wrap:nowrap}.text-field-textcounter-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-disabled)}.text-field-textcounter.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-text-field-textcounter);float:right}.text-field-textcounter.text-field-textcounter-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-disabled)}.text-field-textcounter.text-field-textcounter-divider.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider)}.text-field-textcounter.text-field-textcounter-divider-disabled.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider-disabled)}.text-field-slot-wrap-prefix.sc-tds-text-field,.text-field-slot-wrap-suffix.sc-tds-text-field{align-self:center;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);margin:0 0 0 14px;color:var(--tds-text-field-ps-color)}.text-field-slot-wrap-prefix.sc-tds-text-field-s>:not(tds-icon),.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 0 0 2px}.text-field-slot-wrap-prefix.text-field-error.sc-tds-text-field,.text-field-slot-wrap-suffix.text-field-error.sc-tds-text-field{color:var(--tds-text-field-ps-color-error)}.text-field-slot-wrap-suffix.sc-tds-text-field{margin:0 14px 0 0}.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 2px 0 0}.text-field-input-no-arrows.sc-tds-text-field{appearance:textfield}.text-field-input-no-arrows.sc-tds-text-field::-webkit-outer-spin-button,.text-field-input-no-arrows.sc-tds-text-field::-webkit-inner-spin-button{appearance:none;margin:0}`;
8
7
 
9
8
  const TdsTextField = class {
10
9
  constructor(hostRef) {
@@ -15,29 +14,41 @@ const TdsTextField = class {
15
14
  this.tdsBlur = createEvent(this, "tdsBlur", 6);
16
15
  this.tdsError = createEvent(this, "tdsError", 6);
17
16
  this.uuid = generateUniqueId();
17
+ /** Which input type, text, password or similar */
18
18
  this.type = 'text';
19
+ /** Position of the label for the Text Field. */
19
20
  this.labelPosition = 'no-label';
21
+ /** Label text */
20
22
  this.label = '';
21
- this.min = undefined;
22
- this.max = undefined;
23
- this.step = undefined;
24
- this.helper = undefined;
23
+ /** Placeholder text */
25
24
  this.placeholder = '';
25
+ /** Value of the input text */
26
26
  this.value = '';
27
+ /** Set input in disabled state */
27
28
  this.disabled = false;
29
+ /** Set input in readonly state */
28
30
  this.readOnly = false;
31
+ /** Hides the read-only icon in the Text Field. Requires Read Only to be enabled. */
29
32
  this.hideReadOnlyIcon = false;
33
+ /** Size of the input */
30
34
  this.size = 'lg';
35
+ /** Mode variant of the Text Field */
31
36
  this.modeVariant = null;
37
+ /** Unset minimum width of 208px. */
32
38
  this.noMinWidth = false;
39
+ /** Name property */
33
40
  this.name = '';
41
+ /** Error state of input */
34
42
  this.state = 'default';
35
- this.maxLength = undefined;
43
+ /** Autofocus for input */
36
44
  this.autofocus = false;
37
- this.tdsAriaLabel = undefined;
45
+ /** Makes the text field required */
38
46
  this.required = false;
47
+ /** Value to be used for the text field's autocomplete attribute */
39
48
  this.autocomplete = 'off';
49
+ /** Hides the native arrows on number input type */
40
50
  this.hideNumberArrows = false;
51
+ /** Listen to the focus state of the input */
41
52
  this.focusInput = false;
42
53
  }
43
54
  handleChange(event) {
@@ -156,6 +167,6 @@ const TdsTextField = class {
156
167
  }
157
168
  get host() { return getElement(this); }
158
169
  };
159
- TdsTextField.style = TdsTextFieldStyle0;
170
+ TdsTextField.style = textFieldCss();
160
171
 
161
172
  export { TdsTextField as tds_text_field };