@scania/tegel 1.14.0 → 1.15.0-component-versioning-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/dist/cjs/index-ca8040ad.js +52 -44
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/tagName-f24f57ce.js +119 -0
  4. package/dist/cjs/tds-accordion-item.cjs.entry.js +6 -3
  5. package/dist/cjs/tds-banner.cjs.entry.js +4 -2
  6. package/dist/cjs/tds-card.cjs.entry.js +8 -5
  7. package/dist/cjs/tds-core-header-item.cjs.entry.js +20 -0
  8. package/dist/cjs/tds-datetime.cjs.entry.js +5 -2
  9. package/dist/cjs/tds-dropdown-option.cjs.entry.js +5 -3
  10. package/dist/cjs/tds-dropdown.cjs.entry.js +7 -5
  11. package/dist/cjs/tds-folder-tabs.cjs.entry.js +4 -2
  12. package/dist/cjs/tds-footer-group.cjs.entry.js +5 -3
  13. package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +3 -1
  14. package/dist/cjs/tds-header-cell.cjs.entry.js +6 -4
  15. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +2 -2
  16. package/dist/cjs/tds-header-dropdown.cjs.entry.js +5 -3
  17. package/dist/cjs/tds-header-hamburger.cjs.entry.js +3 -1
  18. package/dist/cjs/{tds-core-header-item_2.cjs.entry.js → tds-header-item.cjs.entry.js} +5 -17
  19. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +3 -1
  20. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +3 -3
  21. package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +4 -1
  22. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +4 -1
  23. package/dist/cjs/tds-header-launcher.cjs.entry.js +4 -2
  24. package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
  25. package/dist/cjs/tds-inline-tabs.cjs.entry.js +12 -3
  26. package/dist/cjs/tds-message.cjs.entry.js +5 -2
  27. package/dist/cjs/tds-modal.cjs.entry.js +3 -1
  28. package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
  29. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +16 -5
  30. package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -2
  31. package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -2
  32. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +3 -1
  33. package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +6 -4
  34. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +5 -3
  35. package/dist/cjs/tds-side-menu-user-image.cjs.entry.js +22 -0
  36. package/dist/cjs/{tds-side-menu-user-image_2.cjs.entry.js → tds-side-menu-user-label.cjs.entry.js} +0 -16
  37. package/dist/cjs/tds-side-menu-user.cjs.entry.js +4 -1
  38. package/dist/cjs/tds-slider.cjs.entry.js +10 -7
  39. package/dist/cjs/tds-step.cjs.entry.js +5 -3
  40. package/dist/cjs/tds-table-body-input-wrapper.cjs.entry.js +4 -2
  41. package/dist/cjs/tds-table-body-row.cjs.entry.js +4 -2
  42. package/dist/cjs/tds-table-footer.cjs.entry.js +11 -2
  43. package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +4 -2
  44. package/dist/cjs/tds-table-header.cjs.entry.js +4 -2
  45. package/dist/cjs/tds-table-toolbar.cjs.entry.js +11 -2
  46. package/dist/cjs/tds-table.cjs.entry.js +10 -3
  47. package/dist/cjs/tds-text-field.cjs.entry.js +7 -5
  48. package/dist/cjs/tds-textarea.cjs.entry.js +6 -3
  49. package/dist/cjs/tds-toast.cjs.entry.js +5 -3
  50. package/dist/cjs/tds-tooltip.cjs.entry.js +4 -2
  51. package/dist/cjs/tegel.cjs.js +1 -1
  52. package/dist/collection/components/accordion/accordion-item/accordion-item.js +6 -3
  53. package/dist/collection/components/banner/banner.js +4 -2
  54. package/dist/collection/components/card/card.css +24 -0
  55. package/dist/collection/components/card/card.js +25 -4
  56. package/dist/collection/components/datetime/datetime.js +6 -3
  57. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +5 -3
  58. package/dist/collection/components/dropdown/dropdown.js +7 -5
  59. package/dist/collection/components/footer/footer-group/footer-group.js +5 -3
  60. package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +3 -1
  61. package/dist/collection/components/header/header-dropdown/header-dropdown.js +5 -3
  62. package/dist/collection/components/header/header-hamburger/header-hamburger.js +3 -1
  63. package/dist/collection/components/header/header-item/header-item.js +5 -3
  64. package/dist/collection/components/header/header-launcher/header-launcher.js +4 -2
  65. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +3 -1
  66. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +4 -1
  67. package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +4 -1
  68. package/dist/collection/components/message/message.js +5 -2
  69. package/dist/collection/components/modal/modal.js +3 -1
  70. package/dist/collection/components/popover-canvas/popover-canvas.js +4 -2
  71. package/dist/collection/components/popover-menu/popover-menu.js +4 -2
  72. package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +3 -1
  73. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +6 -4
  74. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -3
  75. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +4 -1
  76. package/dist/collection/components/side-menu/side-menu.js +3 -3
  77. package/dist/collection/components/slider/slider.js +11 -8
  78. package/dist/collection/components/stepper/step/step.js +5 -3
  79. package/dist/collection/components/stepper/stepper.js +1 -1
  80. package/dist/collection/components/table/table/table.js +11 -4
  81. package/dist/collection/components/table/table-body-input-wrapper/table-body-input-wrapper.js +4 -2
  82. package/dist/collection/components/table/table-body-row/table-body-row.js +4 -2
  83. package/dist/collection/components/table/table-footer/table-footer.js +11 -2
  84. package/dist/collection/components/table/table-header/table-header.js +4 -2
  85. package/dist/collection/components/table/table-header-cell/table-header-cell.js +6 -4
  86. package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +4 -2
  87. package/dist/collection/components/table/table-toolbar/table-toolbar.js +11 -2
  88. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +4 -2
  89. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +0 -4
  90. package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +1 -0
  91. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +29 -2
  92. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +0 -4
  93. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +1 -0
  94. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +33 -4
  95. package/dist/collection/components/text-field/text-field.js +7 -5
  96. package/dist/collection/components/textarea/textarea.js +6 -3
  97. package/dist/collection/components/toast/toast.js +5 -3
  98. package/dist/collection/components/tooltip/tooltip.js +4 -2
  99. package/dist/collection/utils/tagName.js +33 -0
  100. package/dist/components/p-a74b6809.js +117 -0
  101. package/dist/components/tds-accordion-item.js +7 -10
  102. package/dist/components/tds-banner.js +5 -9
  103. package/dist/components/tds-card.js +10 -12
  104. package/dist/components/tds-checkbox.js +89 -1
  105. package/dist/components/tds-core-header-item.js +30 -1
  106. package/dist/components/tds-datetime.js +6 -9
  107. package/dist/components/tds-divider.js +33 -1
  108. package/dist/components/tds-dropdown-option.js +6 -16
  109. package/dist/components/tds-dropdown.js +8 -12
  110. package/dist/components/tds-folder-tabs.js +5 -9
  111. package/dist/components/tds-footer-group.js +6 -10
  112. package/dist/components/tds-header-brand-symbol.js +4 -14
  113. package/dist/components/tds-header-cell.js +7 -11
  114. package/dist/components/tds-header-dropdown-list-item.js +39 -1
  115. package/dist/components/tds-header-dropdown-list.js +99 -1
  116. package/dist/components/tds-header-dropdown.js +6 -34
  117. package/dist/components/tds-header-hamburger.js +4 -20
  118. package/dist/components/tds-header-item.js +70 -1
  119. package/dist/components/tds-header-launcher-button.js +39 -1
  120. package/dist/components/tds-header-launcher-list-item.js +5 -8
  121. package/dist/components/tds-header-launcher-list.js +5 -8
  122. package/dist/components/tds-header-launcher.js +5 -39
  123. package/dist/components/tds-icon.js +63 -1
  124. package/dist/components/tds-inline-tab.js +1 -1
  125. package/dist/components/tds-inline-tabs.js +14 -10
  126. package/dist/components/tds-message.js +6 -9
  127. package/dist/components/tds-modal.js +4 -8
  128. package/dist/components/tds-navigation-tab.js +1 -1
  129. package/dist/components/tds-navigation-tabs.js +18 -12
  130. package/dist/components/tds-popover-canvas.js +66 -1
  131. package/dist/components/tds-popover-core.js +1998 -1
  132. package/dist/components/tds-popover-menu.js +5 -9
  133. package/dist/components/tds-side-menu-close-button.js +4 -8
  134. package/dist/components/tds-side-menu-collapse-button.js +7 -11
  135. package/dist/components/tds-side-menu-dropdown.js +6 -16
  136. package/dist/components/tds-side-menu-item.js +88 -1
  137. package/dist/components/tds-side-menu-user-image.js +35 -1
  138. package/dist/components/tds-side-menu-user-label.js +35 -1
  139. package/dist/components/tds-side-menu-user.js +5 -14
  140. package/dist/components/tds-slider.js +11 -14
  141. package/dist/components/tds-step.js +6 -10
  142. package/dist/components/tds-table-body-input-wrapper.js +5 -9
  143. package/dist/components/tds-table-body-row.js +5 -9
  144. package/dist/components/tds-table-footer.js +12 -9
  145. package/dist/components/tds-table-header-input-wrapper.js +5 -9
  146. package/dist/components/tds-table-header.js +5 -9
  147. package/dist/components/tds-table-toolbar.js +12 -9
  148. package/dist/components/tds-table.js +10 -3
  149. package/dist/components/tds-text-field.js +8 -12
  150. package/dist/components/tds-textarea.js +7 -10
  151. package/dist/components/tds-toast.js +6 -10
  152. package/dist/components/tds-tooltip.js +5 -9
  153. package/dist/esm/index-51d04e39.js +52 -44
  154. package/dist/esm/loader.js +1 -1
  155. package/dist/esm/tagName-0d04643f.js +117 -0
  156. package/dist/esm/tds-accordion-item.entry.js +7 -4
  157. package/dist/esm/tds-banner.entry.js +4 -2
  158. package/dist/esm/tds-card.entry.js +8 -5
  159. package/dist/esm/tds-core-header-item.entry.js +16 -0
  160. package/dist/esm/tds-datetime.entry.js +6 -3
  161. package/dist/esm/tds-dropdown-option.entry.js +5 -3
  162. package/dist/esm/tds-dropdown.entry.js +7 -5
  163. package/dist/esm/tds-folder-tabs.entry.js +4 -2
  164. package/dist/esm/tds-footer-group.entry.js +5 -3
  165. package/dist/esm/tds-header-brand-symbol.entry.js +3 -1
  166. package/dist/esm/tds-header-cell.entry.js +6 -4
  167. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  168. package/dist/esm/tds-header-dropdown.entry.js +5 -3
  169. package/dist/esm/tds-header-hamburger.entry.js +3 -1
  170. package/dist/esm/{tds-core-header-item_2.entry.js → tds-header-item.entry.js} +6 -17
  171. package/dist/esm/tds-header-launcher-button.entry.js +3 -1
  172. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  173. package/dist/esm/tds-header-launcher-list-item.entry.js +5 -2
  174. package/dist/esm/tds-header-launcher-list.entry.js +5 -2
  175. package/dist/esm/tds-header-launcher.entry.js +4 -2
  176. package/dist/esm/tds-inline-tab.entry.js +1 -1
  177. package/dist/esm/tds-inline-tabs.entry.js +12 -3
  178. package/dist/esm/tds-message.entry.js +6 -3
  179. package/dist/esm/tds-modal.entry.js +3 -1
  180. package/dist/esm/tds-navigation-tab.entry.js +1 -1
  181. package/dist/esm/tds-navigation-tabs.entry.js +16 -5
  182. package/dist/esm/tds-popover-canvas.entry.js +4 -2
  183. package/dist/esm/tds-popover-menu.entry.js +4 -2
  184. package/dist/esm/tds-side-menu-close-button.entry.js +3 -1
  185. package/dist/esm/tds-side-menu-collapse-button.entry.js +6 -4
  186. package/dist/esm/tds-side-menu-dropdown.entry.js +5 -3
  187. package/dist/esm/tds-side-menu-user-image.entry.js +18 -0
  188. package/dist/esm/{tds-side-menu-user-image_2.entry.js → tds-side-menu-user-label.entry.js} +1 -16
  189. package/dist/esm/tds-side-menu-user.entry.js +5 -2
  190. package/dist/esm/tds-slider.entry.js +11 -8
  191. package/dist/esm/tds-step.entry.js +5 -3
  192. package/dist/esm/tds-table-body-input-wrapper.entry.js +4 -2
  193. package/dist/esm/tds-table-body-row.entry.js +4 -2
  194. package/dist/esm/tds-table-footer.entry.js +11 -2
  195. package/dist/esm/tds-table-header-input-wrapper.entry.js +4 -2
  196. package/dist/esm/tds-table-header.entry.js +4 -2
  197. package/dist/esm/tds-table-toolbar.entry.js +11 -2
  198. package/dist/esm/tds-table.entry.js +10 -3
  199. package/dist/esm/tds-text-field.entry.js +7 -5
  200. package/dist/esm/tds-textarea.entry.js +7 -4
  201. package/dist/esm/tds-toast.entry.js +5 -3
  202. package/dist/esm/tds-tooltip.entry.js +4 -2
  203. package/dist/esm/tegel.js +1 -1
  204. package/dist/tegel/p-07b525fa.entry.js +1 -0
  205. package/dist/tegel/p-0a2f8635.entry.js +1 -0
  206. package/dist/tegel/p-0efe32ef.entry.js +1 -0
  207. package/dist/tegel/p-101d5ad9.entry.js +1 -0
  208. package/dist/tegel/{p-6c26e66f.entry.js → p-24d62f73.entry.js} +1 -1
  209. package/dist/tegel/p-2d9011d4.entry.js +1 -0
  210. package/dist/tegel/p-30a2b7a9.entry.js +1 -0
  211. package/dist/tegel/p-3bb5f47b.entry.js +1 -0
  212. package/dist/tegel/p-3c937615.entry.js +1 -0
  213. package/dist/tegel/p-3f12d4a8.entry.js +1 -0
  214. package/dist/tegel/p-57d8aa8f.entry.js +1 -0
  215. package/dist/tegel/p-589289a1.entry.js +1 -0
  216. package/dist/tegel/p-58b552d6.entry.js +1 -0
  217. package/dist/tegel/p-5fed1ea6.entry.js +1 -0
  218. package/dist/tegel/p-61d1cf24.entry.js +1 -0
  219. package/dist/tegel/p-63991699.entry.js +1 -0
  220. package/dist/tegel/p-7546a139.entry.js +1 -0
  221. package/dist/tegel/p-7711d485.entry.js +1 -0
  222. package/dist/tegel/p-790367cd.entry.js +1 -0
  223. package/dist/tegel/{p-80edba0f.entry.js → p-7c75d8d3.entry.js} +1 -1
  224. package/dist/tegel/p-8064b3ed.entry.js +1 -0
  225. package/dist/tegel/p-80d28081.entry.js +1 -0
  226. package/dist/tegel/p-82481096.entry.js +1 -0
  227. package/dist/tegel/p-859e3ebf.js +1 -0
  228. package/dist/tegel/p-8deb6ba6.entry.js +1 -0
  229. package/dist/tegel/p-8f30a9cd.entry.js +1 -0
  230. package/dist/tegel/p-904e90d6.entry.js +1 -0
  231. package/dist/tegel/p-980a153a.entry.js +1 -0
  232. package/dist/tegel/p-980fe7c8.entry.js +1 -0
  233. package/dist/tegel/p-9aa5875a.entry.js +1 -0
  234. package/dist/tegel/p-a74b6809.js +1 -0
  235. package/dist/tegel/p-afb182fc.entry.js +1 -0
  236. package/dist/tegel/p-b543f063.entry.js +1 -0
  237. package/dist/tegel/p-b71d6a39.entry.js +1 -0
  238. package/dist/tegel/p-b834b254.entry.js +1 -0
  239. package/dist/tegel/p-b8970b91.entry.js +1 -0
  240. package/dist/tegel/p-bf65f439.entry.js +1 -0
  241. package/dist/tegel/p-c002a601.entry.js +1 -0
  242. package/dist/tegel/p-c0381ba7.entry.js +1 -0
  243. package/dist/tegel/p-ccad7d42.entry.js +1 -0
  244. package/dist/tegel/p-cde009d8.entry.js +1 -0
  245. package/dist/tegel/p-df945483.entry.js +1 -0
  246. package/dist/tegel/p-e5a9ec95.entry.js +1 -0
  247. package/dist/tegel/p-e7fac8ad.entry.js +1 -0
  248. package/dist/tegel/p-e9d824f5.entry.js +1 -0
  249. package/dist/tegel/p-edbf6bf4.entry.js +1 -0
  250. package/dist/tegel/p-ef8e4959.entry.js +1 -0
  251. package/dist/tegel/{p-56dfd78a.entry.js → p-f3f1f357.entry.js} +1 -1
  252. package/dist/tegel/{p-f841f094.entry.js → p-fc7a7f06.entry.js} +1 -1
  253. package/dist/tegel/tegel.esm.js +1 -1
  254. package/dist/types/Users/rhyme/projects/scania/tegel/packages/core/.stencil/src/utils/tagNames.d.ts +4 -0
  255. package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +1 -0
  256. package/dist/types/components/card/card.d.ts +2 -1
  257. package/dist/types/components/datetime/datetime.d.ts +1 -0
  258. package/dist/types/components/header/header-launcher-list/header-launcher-list.d.ts +1 -0
  259. package/dist/types/components/header/header-launcher-list-item/header-launcher-list-item.d.ts +1 -0
  260. package/dist/types/components/message/message.d.ts +1 -0
  261. package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +1 -0
  262. package/dist/types/components/slider/slider.d.ts +1 -0
  263. package/dist/types/components/stepper/step/step.d.ts +1 -1
  264. package/dist/types/components/table/table/table.d.ts +1 -0
  265. package/dist/types/components/table/table-footer/table-footer.d.ts +1 -0
  266. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +1 -1
  267. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +1 -0
  268. package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +3 -0
  269. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +3 -0
  270. package/dist/types/components/textarea/textarea.d.ts +1 -0
  271. package/dist/types/components.d.ts +18 -0
  272. package/dist/types/utils/tagName.d.ts +5 -0
  273. package/package.json +2 -9
  274. package/dist/components/p-0676aa23.js +0 -76
  275. package/dist/components/p-09d36119.js +0 -37
  276. package/dist/components/p-0c3cab16.js +0 -90
  277. package/dist/components/p-30de8ac4.js +0 -32
  278. package/dist/components/p-3e74be57.js +0 -65
  279. package/dist/components/p-8e74bb22.js +0 -57
  280. package/dist/components/p-a9609e88.js +0 -72
  281. package/dist/components/p-cfb1b588.js +0 -41
  282. package/dist/components/p-dc461e7b.js +0 -2000
  283. package/dist/components/p-dddaa520.js +0 -37
  284. package/dist/components/p-e46088d9.js +0 -35
  285. package/dist/components/p-e4d7c655.js +0 -91
  286. package/dist/components/p-fcec766c.js +0 -101
  287. package/dist/tegel/p-06d2fa56.entry.js +0 -1
  288. package/dist/tegel/p-0a4fe3db.entry.js +0 -1
  289. package/dist/tegel/p-0f38bea7.entry.js +0 -1
  290. package/dist/tegel/p-1a2f3852.entry.js +0 -1
  291. package/dist/tegel/p-1bc2c73c.entry.js +0 -1
  292. package/dist/tegel/p-2b030cef.entry.js +0 -1
  293. package/dist/tegel/p-2da2c193.entry.js +0 -1
  294. package/dist/tegel/p-36e88ce8.entry.js +0 -1
  295. package/dist/tegel/p-480c6c28.entry.js +0 -1
  296. package/dist/tegel/p-4ab7461e.entry.js +0 -1
  297. package/dist/tegel/p-4bab99d5.entry.js +0 -1
  298. package/dist/tegel/p-54a105a4.entry.js +0 -1
  299. package/dist/tegel/p-578f6d73.entry.js +0 -1
  300. package/dist/tegel/p-588a05aa.entry.js +0 -1
  301. package/dist/tegel/p-5a891dd2.entry.js +0 -1
  302. package/dist/tegel/p-5d0e8f1e.entry.js +0 -1
  303. package/dist/tegel/p-631dde03.entry.js +0 -1
  304. package/dist/tegel/p-6938329a.entry.js +0 -1
  305. package/dist/tegel/p-7d83ba98.entry.js +0 -1
  306. package/dist/tegel/p-91225c7a.entry.js +0 -1
  307. package/dist/tegel/p-930e767e.entry.js +0 -1
  308. package/dist/tegel/p-9332c225.js +0 -1
  309. package/dist/tegel/p-98f5b520.entry.js +0 -1
  310. package/dist/tegel/p-9de400f4.entry.js +0 -1
  311. package/dist/tegel/p-a9654cd4.entry.js +0 -1
  312. package/dist/tegel/p-a97dd06a.entry.js +0 -1
  313. package/dist/tegel/p-ac09f8d4.entry.js +0 -1
  314. package/dist/tegel/p-ada411aa.entry.js +0 -1
  315. package/dist/tegel/p-b34cf70d.entry.js +0 -1
  316. package/dist/tegel/p-b4c7099f.entry.js +0 -1
  317. package/dist/tegel/p-b8593b29.entry.js +0 -1
  318. package/dist/tegel/p-b9ac3122.entry.js +0 -1
  319. package/dist/tegel/p-c12eaac3.entry.js +0 -1
  320. package/dist/tegel/p-c18b2746.entry.js +0 -1
  321. package/dist/tegel/p-c22c761c.entry.js +0 -1
  322. package/dist/tegel/p-c917d8be.entry.js +0 -1
  323. package/dist/tegel/p-dcbd977f.entry.js +0 -1
  324. package/dist/tegel/p-e237cdcc.entry.js +0 -1
  325. package/dist/tegel/p-e6a5dda4.entry.js +0 -1
  326. package/dist/tegel/p-e7108828.entry.js +0 -1
  327. package/dist/tegel/p-f0d46e61.entry.js +0 -1
  328. package/dist/tegel/p-f823777e.entry.js +0 -1
  329. package/dist/cjs/{isHeadingElement-4f06b688.js → getPreviousNestedChildOfSiblingsMatching-4e700df1.js} +12 -12
  330. package/dist/esm/{isHeadingElement-8efea284.js → getPreviousNestedChildOfSiblingsMatching-a6fcb512.js} +12 -12
@@ -1,6 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
- const navigationTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-inline-tabs-horizontal-divider-background);opacity:var(--tds-inline-tabs-horizontal-divider-opacity);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
4
+ const navigationTabsCss = ":host{box-sizing:border-box;display:flex;background-color:var(--tds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:\" \";display:block;border-bottom:1px solid var(--tds-inline-tabs-horizontal-divider-background);opacity:var(--tds-inline-tabs-horizontal-divider-opacity);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none;gap:16px}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:1}:host .scroll-left-button{left:0;z-index:1}:host .scroll-right-button,:host .scroll-left-button{color:var(--tds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--tds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--tds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--tds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--tds-folder-tabs-scroll-btn-color)}";
4
5
  const TdsNavigationTabsStyle0 = navigationTabsCss;
5
6
 
6
7
  const TdsNavigationTabs = class {
@@ -63,6 +64,7 @@ const TdsNavigationTabs = class {
63
64
  this.modeVariant = 'primary';
64
65
  this.defaultSelectedIndex = 0;
65
66
  this.selectedIndex = undefined;
67
+ this.leftPadding = 32;
66
68
  this.showLeftScroll = false;
67
69
  this.showRightScroll = false;
68
70
  }
@@ -115,8 +117,10 @@ const TdsNavigationTabs = class {
115
117
  child.classList.remove('last');
116
118
  child.classList.remove('first');
117
119
  });
118
- this.children[0].classList.add('first');
119
- this.children[this.children.length - 1].classList.add('last');
120
+ if (this.children.length > 0) {
121
+ this.children[0].classList.add('first');
122
+ this.children[this.children.length - 1].classList.add('last');
123
+ }
120
124
  }
121
125
  initializeSelectedTab() {
122
126
  if (this.selectedIndex === undefined) {
@@ -140,12 +144,18 @@ const TdsNavigationTabs = class {
140
144
  this.showRightScroll = false;
141
145
  }
142
146
  }
147
+ applyCustomLeftPadding() {
148
+ if (this.navWrapperElement) {
149
+ this.navWrapperElement.style.paddingLeft = `${this.leftPadding}px`;
150
+ }
151
+ }
143
152
  handleSlotChange() {
144
153
  this.initializeTabs();
145
154
  this.addEventListenerToTabs();
146
155
  this.initializeSelectedTab();
147
156
  this.updateScrollButtons();
148
157
  this.addResizeObserver();
158
+ this.applyCustomLeftPadding(); // Apply custom left padding to the wrapper
149
159
  }
150
160
  connectedCallback() {
151
161
  this.initializeTabs();
@@ -161,9 +171,10 @@ const TdsNavigationTabs = class {
161
171
  this.removeEventListenerFromTabs();
162
172
  }
163
173
  render() {
164
- return (h(Host, { key: 'eaf7fd47f5f4132d7920d5deafb659828cab01e9', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '1fe0e2f45e6cf32175a3ef6c556aa63ba3b46b97', class: "wrapper", ref: (el) => {
174
+ const prefixedTagNames = getPrefixedTagNames(this.host);
175
+ return (h(Host, { key: 'fc517a4647224414ac6b1643b7ff3cb94810e69c', role: "list", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { key: '4a26e80281ecc5a791a8c5eee623fdc8a1630f68', class: "wrapper", ref: (el) => {
165
176
  this.navWrapperElement = el;
166
- } }, h("button", { key: 'fa71abb901a1c6ab70dde90d759d9aa537a72ec2', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("tds-icon", { key: '0aff4668869fa761e03e8c81ed054561787beb49', name: "chevron_left", size: "20px" })), h("slot", { key: '169f8b9eb18a33fb4fc739863eaf4a730e066c83', onSlotchange: () => this.handleSlotChange() }), h("button", { key: '9c9757d3c818191ce5aec5bbd64699c04dfc07db', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("tds-icon", { key: 'e38ac8674d9e3e4aeaa67bd888cd411002353634', name: "chevron_right", size: "20px" })))));
177
+ }, style: { paddingLeft: `${this.leftPadding}px` } }, h("button", { key: '6b60e0b9635abf48ca821f8e157b2dff42f8ea24', class: `scroll-left-button ${this.showLeftScroll ? 'show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h(prefixedTagNames.tdsIcon, { key: 'eccc37fc81804e909bec8a77279fee3eb156aaa2', name: "chevron_left", size: "20px" })), h("slot", { key: 'f48ae4ce1f825415a5c70d86a73caad8411b9bec', onSlotchange: () => this.handleSlotChange() }), h("button", { key: 'd0fca82d30d9e354edd26147be75f03fbabdedc0', class: `scroll-right-button ${this.showRightScroll ? 'show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h(prefixedTagNames.tdsIcon, { key: 'bc9270c86e3bfbdfb9168f12865d294f2e7fba3a', name: "chevron_right", size: "20px" })))));
167
178
  }
168
179
  get host() { return getElement(this); }
169
180
  static get watchers() { return {
@@ -1,5 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
  import { i as inheritAttributes } from './inheritAttributes-d21e267b.js';
3
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
3
4
 
4
5
  const popoverCanvasCss = ".tds-popover-canvas.sc-tds-popover-canvas{box-sizing:border-box;display:inline-block;color:var(--tds-popover-canvas-color);background-color:var(--tds-popover-canvas-background);box-shadow:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;z-index:900}.tds-popover-canvas.sc-tds-popover-canvas *.sc-tds-popover-canvas{box-sizing:border-box}";
5
6
  const TdsPopoverCanvasStyle0 = popoverCanvasCss;
@@ -27,12 +28,13 @@ const TdsPopoverCanvas = class {
27
28
  }
28
29
  render() {
29
30
  var _a;
30
- return (h(Host, { key: '6585164269ddef7083e5aed2bcfa4ea5ab7d32ba' }, h("tds-popover-core", Object.assign({ key: '9470ac2faa94611ece2c9394717a7bb9d63eb5b1' }, this.inheritedAttributes, { class: {
31
+ const prefixedTagNames = getPrefixedTagNames(this.host);
32
+ return (h(Host, { key: '20f9ec1ff4aa412411f04c1448ab218846b3daff' }, h(prefixedTagNames.tdsPopoverCore, Object.assign({ key: 'c40d4551a718074f8c1508ac37c92e757c550c06' }, this.inheritedAttributes, { class: {
31
33
  'tds-popover-canvas': true,
32
34
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
33
35
  }, selector: this.selector, referenceEl: this.referenceEl, show: this.show, placement: this.placement, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, modifiers: this.modifiers, trigger: 'click', ref: (el) => {
34
36
  this.childRef = el;
35
- } }), h("div", { key: '330a63a0ef5c9f057d877dae9977b8bc25987771' }, h("slot", { key: '38787385e51260e4a140f83d5eb22f03deb6e30e' })))));
37
+ } }), h("div", { key: '64101f87fa1f0d22962ddcc1337dafedd3dbd454' }, h("slot", { key: '4c0a7a20eece3cb14465d599821ff0467672476d' })))));
36
38
  }
37
39
  get host() { return getElement(this); }
38
40
  };
@@ -1,5 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
  import { i as inheritAttributes } from './inheritAttributes-d21e267b.js';
3
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
3
4
 
4
5
  const popoverMenuCss = ".tds-popover-menu.sc-tds-popover-menu{box-sizing:border-box;overflow:hidden;width:160px;background-color:var(--tds-popover-menu-background);padding:16px 6px;box-shadow:0 3px 3px rgba(0, 0, 0, 0.15), 0 -1px 1px rgba(0, 0, 0, 0.1);border-radius:4px;z-index:900}.tds-popover-menu.sc-tds-popover-menu *.sc-tds-popover-menu{box-sizing:border-box}.tds-popover-menu.fluid-width.sc-tds-popover-menu{width:unset}tds-popover-core.sc-tds-popover-menu{padding:6px 0 !important}.sc-tds-popover-menu-s>tds-divider{display:block;padding:6px !important}";
5
6
  const TdsPopoverMenuStyle0 = popoverMenuCss;
@@ -27,13 +28,14 @@ const TdsPopoverMenu = class {
27
28
  }
28
29
  render() {
29
30
  var _a;
30
- return (h(Host, { key: '36c12148ce4507dd4b157fff5be30760d2374bdd' }, h("tds-popover-core", { key: '92d5abfd7e7213dcb22c92fa401a21dfeef76edd', class: {
31
+ const prefixedTagNames = getPrefixedTagNames(this.host);
32
+ return (h(Host, { key: '175101f0b9f5df56fa56a2a15d43468d5065129a' }, h(prefixedTagNames.tdsPopoverCore, { key: '91613f80d57750fe7f1a5957e5b3c359708f85b2', class: {
31
33
  'tds-popover-menu': true,
32
34
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
33
35
  'fluid-width': this.fluidWidth,
34
36
  }, selector: this.selector, referenceEl: this.referenceEl, show: this.show, placement: this.placement, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, ref: (el) => {
35
37
  this.childRef = el;
36
- } }, h("div", { key: '6b3a893d1d0a9c32a3846c7216a4fdac92a4222c', role: "list" }, h("slot", { key: 'cae075f5e187b5f59638f6f2a9ff8c38e716bcbb' })))));
38
+ } }, h("div", { key: 'a5ee1d312e2608e134924e584f0c7b81a79b7401', role: "list" }, h("slot", { key: '27ca85a642e2ca45a36522d1917ba01042c5f347' })))));
37
39
  }
38
40
  get host() { return getElement(this); }
39
41
  };
@@ -1,5 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
2
  import { i as inheritAriaAttributes } from './inheritAriaAttributes-04f2f252.js';
3
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
3
4
  import './inheritAttributes-d21e267b.js';
4
5
 
5
6
  const sideMenuCloseButtonCss = ":host button{height:64px;width:100%;text-align:left;padding:0 24px;border:none;background-color:var(--tds-sidebar-side-menu-background-cover);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color);display:flex;align-items:center;border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host button:hover{cursor:pointer;background-color:var(--tds-sidebar-item-state-hover)}:host button:focus-visible{cursor:pointer;border:1px solid var(--tds-sidebar-side-menu-single-subitem-selected-border-color)}";
@@ -10,8 +11,9 @@ const TdsSideMenuCloseButton = class {
10
11
  registerInstance(this, hostRef);
11
12
  }
12
13
  render() {
14
+ const prefixedTagNames = getPrefixedTagNames(this.host);
13
15
  const buttonProps = Object.assign({ 'aria-label': 'Close' }, inheritAriaAttributes(this.host));
14
- return (h(Host, { key: '1dff25b895f341657373ab020116e5c4c0f7af67' }, h("button", Object.assign({ key: 'e2c3af974cfc7f9c9e0ec5b64c199fcda0408279' }, buttonProps), h("tds-icon", { key: 'aa56689766fe0c49e8d8d591c9f741a24dd85cc8', name: "cross", size: "20px" }))));
16
+ return (h(Host, { key: 'b8d9efa8e96a192966ead2a13898665f82b3fc2d' }, h("button", Object.assign({ key: '39f2161c9d6330bb9d0ca2245b2e6b63622fd9a6' }, buttonProps), h(prefixedTagNames.tdsIcon, { key: 'a3e98760aef2bf5bced8a96cae2e01067ab5a61c', name: "cross", size: "20px" }))));
15
17
  }
16
18
  get host() { return getElement(this); }
17
19
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const sideMenuCollapseButtonCss = ":host{position:sticky;bottom:0;display:none;height:68px;border-top:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top)}:host .icon{transform:rotateZ(90deg);transition:all 0.2s ease-in-out;width:20px;height:20px}:host .state-collapsed .icon{transform:translateX(-50%) rotateZ(90deg) rotateX(180deg);color:var(--tds-sidebar-side-menu-single-item-color);margin-left:0;position:absolute;left:50%}@media (min-width: 992px){:host{display:block}}";
4
5
  const TdsSideMenuCollapseButtonStyle0 = sideMenuCollapseButtonCss;
@@ -32,14 +33,15 @@ const TdsSideMenuCollapseButton = class {
32
33
  this.collapsed = this.sideMenuEl.collapsed;
33
34
  }
34
35
  render() {
35
- return (h(Host, { key: '15266cdc6a39373563c89553817e1a6777f01f1c', role: "button", tabindex: "0", onClick: () => {
36
+ const prefixedTagNames = getPrefixedTagNames(this.host);
37
+ return (h(Host, { key: '716bdffd158c839bca8c35073866d5c8983277c1', role: "button", tabindex: "0", onClick: () => {
36
38
  this.handleClick();
37
- } }, h("div", { key: '813da1c78798289b4eed8342b6c00a837ae04b24', class: {
39
+ } }, h("div", { key: 'e8d943133fdbc74d31e8e2f824ae7b2a47426f9d', class: {
38
40
  'wrapper': true,
39
41
  'state-collapsed': this.collapsed,
40
- } }, h("tds-side-menu-item", { key: '44321406d890c741fff0ad1df9576588a6658ea5', class: {
42
+ } }, h(prefixedTagNames.tdsSideMenuItem, { key: '13be747559758d11dba4a5a8be20762385155b86', class: {
41
43
  button: true,
42
- } }, h("a", { key: '7e214b15daa5dac9df931a5d15f6ed80a52b5f7d' }, h("svg", { key: '61928c3ba4c6e2357a426f0c0ca1a0de86365b6a', class: "icon", slot: "icon", fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '5cbbfe5239506f994a0b17f11cae1ded3c1f643e', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 1.975a1 1 0 0 1 1 1v20.3l9.311-9.312a1 1 0 0 1 1.415 1.414l-9.887 9.887a2.6 2.6 0 0 1-3.677 0l-9.887-9.887a1 1 0 1 1 1.414-1.414L15 23.274V2.975a1 1 0 0 1 1-1ZM5.188 28.001a1 1 0 0 0 0 2h21.62a1 1 0 1 0 0-2H5.188Z", fill: "currentColor" })), !this.collapsed && h("slot", { key: 'b63370f60320b46557e7d40cfad048e29c60109f' }))))));
44
+ } }, h("a", { key: '2660af6cc804011bcbd9838b00949001002170c4' }, h("svg", { key: '10bfa3c93ab0ca8f0dc7fc5a84198bf37dc4f968', class: "icon", slot: "icon", fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '5f77a44d3c22512f93d8c1bbcca0f650594c8be7', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 1.975a1 1 0 0 1 1 1v20.3l9.311-9.312a1 1 0 0 1 1.415 1.414l-9.887 9.887a2.6 2.6 0 0 1-3.677 0l-9.887-9.887a1 1 0 1 1 1.414-1.414L15 23.274V2.975a1 1 0 0 1 1-1ZM5.188 28.001a1 1 0 0 0 0 2h21.62a1 1 0 1 0 0-2H5.188Z", fill: "currentColor" })), !this.collapsed && h("slot", { key: '0bb583b4f58f7933a55d515636b524ceb2ccb891' }))))));
43
45
  }
44
46
  get host() { return getElement(this); }
45
47
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const sideMenuDropdownCss = ":host{display:block}:host .wrapper{display:flex;flex-direction:column}:host .dropdown-icon{margin-left:auto;transition:all 0.2s ease-in-out}:host .state-open .dropdown-icon{transform:rotateZ(180deg)}:host .state-open .menu{display:block}:host .state-collapsed .menu{--side-menu-width:69px;position:absolute;left:var(--side-menu-width);box-shadow:var(--tds-nav-dropdown-menu-box);background-color:var(--tds-sidebar-side-menu-subnav-background)}:host .state-collapsed .menu .heading-collapsed{all:unset;box-sizing:border-box;padding:16px 24px 15px;min-height:48px;display:flex;align-items:center;border-bottom:1px solid var(--tds-sidebar-side-menu-bottom-menu-border-top);font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host :not(.state-collapsed) .menu ::slotted(tds-side-menu-dropdown-list){width:100%}:host .menu{display:none;flex-direction:column}";
4
5
  const TdsSideMenuDropdownStyle0 = sideMenuDropdownCss;
@@ -50,13 +51,14 @@ const TdsSideMenuDropdown = class {
50
51
  this.open = this.defaultOpen;
51
52
  }
52
53
  render() {
53
- return (h(Host, { key: '1bad48953f08e903e9179dae839c93b249f93266' }, h("div", { key: '7e8020738796fb8c449f76a3d1aef801151e4e63', class: {
54
+ const prefixedTagNames = getPrefixedTagNames(this.host);
55
+ return (h(Host, { key: 'd61a2cd774e95646ec3f0c00a13404907cedecf1' }, h("div", { key: 'ab794f2a74f5d43d4f80ff84ac6a89abd4d8751d', class: {
54
56
  'wrapper': true,
55
57
  'state-open': this.getIsOpenState(),
56
58
  'state-collapsed': this.collapsed,
57
- } }, h("tds-side-menu-item", { key: 'e4420aba88077e36b1cc7cd10958459d79a463f4', class: "button", active: this.getIsOpenState(), selected: this.selected, onClick: () => {
59
+ } }, h(prefixedTagNames.tdsSideMenuItem, { key: 'e6b558615f822a452d63f174e1c83c80e4c07558', class: "button", active: this.getIsOpenState(), selected: this.selected, onClick: () => {
58
60
  this.open = !this.open;
59
- } }, h("button", { key: '483ac0b103bf54f63c67cf2d78ed9e82703ba331' }, h("slot", { key: 'ec027d3c88569c79d0dde6c51f8dc1056dee6284', name: "icon" }), !this.collapsed && (h(Fragment, { key: 'f71caa474565871d170653153c8daa7ddead5f17' }, this.buttonLabel, h("slot", { key: '487db682801ce910cd65dc6d3ef481bff888574e', name: "label" }), h("tds-icon", { key: 'dc75ac7be7eedf85fec97cd3fdbbf786cebe8907', class: "dropdown-icon", name: "chevron_down", size: "16px" }))))), h("div", { key: 'e321069727d205d0623cd72fb922c3101f9d2e08', class: "menu" }, this.collapsed && (h("h3", { key: '7d5a73c051a700f0568d63ae62ce2737cdb57dd8', class: "heading-collapsed" }, this.buttonLabel, h("slot", { key: '9c831576869cac930e8fe9edcbfc86dfede01a47', name: "label" }))), h("slot", { key: '7db68bb3f46cdc24fa44c375f0d6bec82c317be4' })))));
61
+ } }, h("button", { key: 'b9c9f561847d6b48ce83807fadc07192a42b11e3' }, h("slot", { key: 'e0ecb003ae2d04f0c7f01b357ab831ac2eb68d03', name: "icon" }), !this.collapsed && (h(Fragment, { key: 'f9fc33e944f4b56f86c7495084d32091d61fafa5' }, this.buttonLabel, h("slot", { key: 'c5494b6dd481897c452c8e45e21f35d0260f8703', name: "label" }), h(prefixedTagNames.tdsIcon, { key: '1a11f0ed9d78d15d4e68667ed79353af6a6255c9', class: "dropdown-icon", name: "chevron_down", size: "16px" }))))), h("div", { key: '75ef7b1e15e926813dabd29cb6f68b17774bbf4d', class: "menu" }, this.collapsed && (h("h3", { key: '89a41eed8483f37deb9391293584e93959d03532', class: "heading-collapsed" }, this.buttonLabel, h("slot", { key: '1c0cbdd49a1226ee5311a733ab24064ee3032604', name: "label" }))), h("slot", { key: '5850c21ffe901c0e8ed848d21106ff63653dce0a' })))));
60
62
  }
61
63
  get host() { return getElement(this); }
62
64
  };
@@ -0,0 +1,18 @@
1
+ import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
+
3
+ const sideMenuUserImageCss = ":host img,:host ::slotted(*){width:34px;height:34px;border-radius:50%}";
4
+ const TdsSideMenuUserImageStyle0 = sideMenuUserImageCss;
5
+
6
+ const TdsSideMenuUserImage = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.src = undefined;
10
+ this.alt = undefined;
11
+ }
12
+ render() {
13
+ return (h(Host, { key: 'cd4bcc9ba4ce93b20e39ab0782136518a99899a3' }, h("slot", { key: '09bf0b847a54c03474e9d5dcaad8d0a5a347dbfc' }), this.src && h("img", { key: '8d74e3733d69ac50f4fe07557b91aec07aa74605', src: this.src, alt: this.alt })));
14
+ }
15
+ };
16
+ TdsSideMenuUserImage.style = TdsSideMenuUserImageStyle0;
17
+
18
+ export { TdsSideMenuUserImage as tds_side_menu_user_image };
@@ -1,20 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
2
2
 
3
- const sideMenuUserImageCss = ":host img,:host ::slotted(*){width:34px;height:34px;border-radius:50%}";
4
- const TdsSideMenuUserImageStyle0 = sideMenuUserImageCss;
5
-
6
- const TdsSideMenuUserImage = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.src = undefined;
10
- this.alt = undefined;
11
- }
12
- render() {
13
- return (h(Host, { key: 'cd4bcc9ba4ce93b20e39ab0782136518a99899a3' }, h("slot", { key: '09bf0b847a54c03474e9d5dcaad8d0a5a347dbfc' }), this.src && h("img", { key: '8d74e3733d69ac50f4fe07557b91aec07aa74605', src: this.src, alt: this.alt })));
14
- }
15
- };
16
- TdsSideMenuUserImage.style = TdsSideMenuUserImageStyle0;
17
-
18
3
  const sideMenuUserLabelCss = ":host{display:block;font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);color:var(--tds-sidebar-side-menu-single-item-color)}:host .subheading{color:var(--tds-grey-500)}";
19
4
  const TdsSideMenuUserLabelStyle0 = sideMenuUserLabelCss;
20
5
 
@@ -30,4 +15,4 @@ const TdsSideMenuUserLabel = class {
30
15
  };
31
16
  TdsSideMenuUserLabel.style = TdsSideMenuUserLabelStyle0;
32
17
 
33
- export { TdsSideMenuUserImage as tds_side_menu_user_image, TdsSideMenuUserLabel as tds_side_menu_user_label };
18
+ export { TdsSideMenuUserLabel as tds_side_menu_user_label };
@@ -1,4 +1,5 @@
1
- import { r as registerInstance, h, H as Host } from './index-51d04e39.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const sideMenuUserCss = ":host{display:flex;align-items:center;gap:12px;height:68px}:host tds-side-menu-user-image{margin-left:-4px}";
4
5
  const TdsSideMenuUserStyle0 = sideMenuUserCss;
@@ -12,8 +13,10 @@ const TdsSideMenuUser = class {
12
13
  this.imgAlt = undefined;
13
14
  }
14
15
  render() {
15
- return (h(Host, { key: '061364f66ad366cbfb421fa0609020564bd36e83' }, h("tds-side-menu-user-image", { key: '01ae0ecb3a011a6a8f50566dc5b683fb56f8d387', src: this.imgSrc, alt: this.imgAlt }, h("slot", { key: '5265cabfa2a7533f7e6c8a9a47b1691f8991d3f0', name: "image" })), h("tds-side-menu-user-label", { key: '525ac1f1593b048c266733e24d5dd3f5632ce197', heading: this.heading, subheading: this.subheading })));
16
+ const prefixedTagNames = getPrefixedTagNames(this.host);
17
+ return (h(Host, { key: '378797df81d1a0cdec4a7ad12813dcd2d57a8017' }, h(prefixedTagNames.tdsSideMenuUserImage, { key: 'faa47521346c55bfa10d27c2aabd9a9224ec1f88', src: this.imgSrc, alt: this.imgAlt }, h("slot", { key: '0863342a90fb83e8afc04d763181532c65f86060', name: "image" })), h(prefixedTagNames.tdsSideMenuUserLabel, { key: '7f5782f7a00fa2741d24f4d371da8f48e76b8267', heading: this.heading, subheading: this.subheading })));
16
18
  }
19
+ get host() { return getElement(this); }
17
20
  };
18
21
  TdsSideMenuUser.style = TdsSideMenuUserStyle0;
19
22
 
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-51d04e39.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-51d04e39.js';
2
2
  import { g as generateUniqueId } from './generateUniqueId-7934d315.js';
3
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
3
4
 
4
5
  const sliderCss = "tds-slider{box-sizing:border-box;width:100%}tds-slider *{box-sizing:border-box}tds-slider input[type=range].tds-slider-native-element{display:none}.tds-slider-wrapper{width:100%}.tds-slider-wrapper.read-only{pointer-events:none}.tds-slider{width:100%;display:flex;flex-wrap:nowrap;padding-top:65px}.tds-slider .tds-slider-inner{width:100%;height:20px;position:relative}.tds-slider .tds-slider__controls{position:relative;top:-25px}.tds-slider .tds-slider__controls .tds-slider__control{cursor:pointer}.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-minus{padding:18px 18px 18px 0}.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-plus{padding:18px 0 18px 18px}.tds-slider .tds-slider__input-values{position:relative;top:-25px;display:flex;flex-wrap:nowrap;align-items:center}.tds-slider .tds-slider__input-values .tds-slider__input-value{user-select:none;padding:18px;color:var(--tds-grey-700);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}.tds-slider .tds-slider__input-values .tds-slider__input-value.min-value{padding-left:0}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper{background-color:var(--tds-slider-inputfield-background);display:flex;align-items:center;justify-content:center;border-radius:4px 4px 0 0}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-slider-input-inputfield-color);border:0;background-color:transparent;text-align:center;padding:12px;box-shadow:inset 0 -1px 0 var(--tds-slider-inputfield-box-shadow);border-radius:4px 4px 0 0}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:hover{box-shadow:inset 0 -1px 0 var(--tds-grey-600)}.tds-slider .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field:focus{box-shadow:inset 0 -2px 0 var(--tds-blue-400);outline:0}.tds-slider label{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);user-select:none;position:absolute;color:var(--tds-slider-label-color);padding-bottom:16px;transform:translateY(-100%)}.tds-slider label.offset{padding-bottom:34px}.tds-slider .tds-slider__value{font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls);user-select:none;border-radius:4px;padding:8px;position:absolute;transform:translate(-50%, -100%);top:-24px;background-color:var(--tds-slider-value-tooltip-background);color:var(--tds-slider-value-tooltip-color)}.tds-slider .tds-slider__value svg{color:var(--tds-slider-value-tooltip-background);position:absolute;left:50%;transform:translateX(-50%);top:34px}.tds-slider .tds-slider__thumb{position:absolute}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner{width:20px;height:20px;border-radius:100%;background-color:var(--tds-slider-thumb-color);position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);cursor:pointer}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner::before{content:\" \";display:none;width:48px;height:48px;background-color:var(--tds-slider-thumb-color);position:absolute;border-radius:100%;top:50%;left:50%;transform:translate(-50%, -50%)}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner:hover::before{display:block;opacity:0.08}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner.pressed{width:24px;height:24px}.tds-slider .tds-slider__thumb .tds-slider__thumb-inner.pressed::before{display:block;opacity:0.16 !important}.tds-slider .tds-slider__value-dividers-wrapper{position:relative;width:100%;pointer-events:none}.tds-slider .tds-slider__value-dividers{pointer-events:none;position:absolute;display:flex;justify-content:space-between;width:100%}.tds-slider .tds-slider__value-dividers .tds-slider__value-divider{transform:translateY(-50%);height:16px;background-color:var(--tds-slider-divider-color);color:var(--tds-slider-divider-values-color);width:1px}.tds-slider .tds-slider__value-dividers .tds-slider__value-divider span{display:block;user-select:none;color:var(-tds-grey-700);font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);position:relative;top:-7px;left:50%;transform:translate(-50%, -100%);width:50px;text-align:center}.tds-slider .tds-slider__track{width:100%;height:2px;border-radius:1px;background-color:var(--tds-slider-track-color);position:relative}.tds-slider .tds-slider__track:focus{outline:0}.tds-slider .tds-slider__track:focus .tds-slider__thumb .tds-slider__thumb-inner{width:24px;height:24px}.tds-slider .tds-slider__track:focus .tds-slider__thumb .tds-slider__thumb-inner::before{display:block;opacity:0.08}.tds-slider .tds-slider__track .tds-slider__track-fill{background-color:var(--tds-slider-track-fill-color);border-radius:2px;height:4px;position:absolute;left:0;top:-1px}.tds-slider.disabled{cursor:not-allowed}.tds-slider.disabled>*{pointer-events:none}.tds-slider.disabled label{color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__controls .tds-slider__control{cursor:default}.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-minus svg,.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-plus svg{fill:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__input-values .tds-slider__input-value{color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__input-values .tds-slider__input-field-wrapper{pointer-events:none}.tds-slider.disabled .tds-slider__input-values .tds-slider__input-field-wrapper input.tds-slider__input-field{color:var(--tds-slider-disabled);pointer-events:none}.tds-slider.disabled .tds-slider__value{display:none}.tds-slider.disabled .tds-slider__track .tds-slider__track-fill{background-color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__value-dividers .tds-slider__value-divider span{color:var(--tds-slider-disabled)}.tds-slider.disabled .tds-slider__thumb{pointer-events:none}.tds-slider.disabled .tds-slider__thumb .tds-slider__thumb-inner{background-color:var(--tds-slider-disabled);cursor:default}.tds-slider.tds-slider-small .tds-slider__thumb .tds-slider__thumb-inner{width:16px;height:16px}.tds-slider.tds-slider-small .tds-slider__thumb .tds-slider__thumb-inner::before{width:40px;height:40px}.tds-slider.tds-slider-small .tds-slider__thumb .tds-slider__thumb-inner.pressed{width:20px;height:20px}.tds-slider .tds-slider__controls .tds-slider__control{cursor:default}.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-minus tds-icon,.tds-slider .tds-slider__controls .tds-slider__control.tds-slider__control-plus tds-icon{color:var(--tds-slider-controls-color)}.tds-slider.disabled .tds-slider__controls .tds-slider__control{cursor:default}.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-minus tds-icon,.tds-slider.disabled .tds-slider__controls .tds-slider__control.tds-slider__control-plus tds-icon{color:var(--tds-slider-disabled)}";
5
6
  const TdsSliderStyle0 = sliderCss;
@@ -296,25 +297,27 @@ const TdsSlider = class {
296
297
  this.updateTrack();
297
298
  }
298
299
  render() {
299
- return (h("div", { key: '943840a77d7cb7f6c394bc2fcd25b36e9a6b5369', class: {
300
+ const prefixedTagNames = getPrefixedTagNames(this.host);
301
+ return (h("div", { key: 'd676666417f2124dd55ca83f8d8823b47dca5275', class: {
300
302
  'tds-slider-wrapper': true,
301
303
  'read-only': this.readOnly,
302
- } }, h("input", { key: '9f009acc794cfdf37f7a459ae00defc447949436', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, value: this.value, disabled: this.disabled }), h("div", { key: 'e23f338ee45c0416c02568be5ef538708c71a3c2', class: {
304
+ } }, h("input", { key: '1cb6a822d82f5bfd0234dbc20cf46ee178ef4f3f', class: "tds-slider-native-element", type: "range", name: this.name, min: this.min, max: this.max, value: this.value, disabled: this.disabled }), h("div", { key: '25ee1da1072d4081404310fefcf6156ac1545bb6', class: {
303
305
  'tds-slider': true,
304
306
  'disabled': this.disabled,
305
307
  'tds-slider-small': this.useSmall,
306
308
  }, ref: (el) => {
307
309
  this.wrapperElement = el;
308
- } }, h("label", { key: '959ee49ec8483ead245abff393c2e89c5c20ee06', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'c1844b647050d9873d0abc95c3a43dc2f2090020', class: "tds-slider__input-values" }, h("div", { key: 'c725f1db4ef669ed6033f9e5b105f6401245263e', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '9b1f41eed1e3df5574d9454e42875e6365d4d200', class: "tds-slider__controls" }, h("div", { key: '0518f6daaead7ac4b4ed4ca177cb592ce3331260', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h("tds-icon", { key: 'e82506df9a4dd9073e485da2e4457c26188c4a17', name: "minus", size: "16px" })))), h("div", { key: '212769a9fca717328cfc7e7159bc01f65d5313a2', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: '8158e5b300c4085146900ed5b56ef5748852e137', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: '57f7c51c9f538fba5083ffdd7b805212a7726ed4', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '8e25f27e20a07410fbf7ac70600e14663fe4cf0a', class: "tds-slider__track", ref: (el) => {
310
+ } }, h("label", { key: '9f613d2362d32772238e4f9cf4cc21333fa610bb', class: this.showTickNumbers && 'offset' }, this.label), this.useInput && (h("div", { key: 'ebbcd4682a5563b5781b0aeeeeac2e56f6a79fbd', class: "tds-slider__input-values" }, h("div", { key: '3b0b92b1408f79864825be16dc851b12183bb799', class: "tds-slider__input-value min-value" }, this.min))), this.useControls && (h("div", { key: '6d36e25c24c5fe18200f65703a018b92726b3dee', class: "tds-slider__controls" }, h("div", { key: 'fb4de7652d093df433e2be7cc06a7b9a9421ed58', class: "tds-slider__control tds-slider__control-minus", onClick: (event) => this.stepLeft(event) }, h(prefixedTagNames.tdsIcon, { key: '6a0f6fd30de791dfe2bcab654a9368707cc5ff4c', name: "minus", size: "16px" })))), h("div", { key: '0a49a454753cae2f4e49bc5cdfe4094201e0f41b', class: "tds-slider-inner" }, this.tickValues.length > 0 && (h("div", { key: 'c920f993c2bf263ecaea5fa6b3904a34e8b94fe8', class: "tds-slider__value-dividers-wrapper" }, h("div", { key: 'ed326517f7c3338c88d3314c5848960de2882447', class: "tds-slider__value-dividers" }, this.tickValues.map((value) => (h("div", { class: "tds-slider__value-divider" }, this.showTickNumbers && h("span", null, value))))))), h("div", { key: '5170894e75bd459c9dc5e6010a8312b611c664e8', class: "tds-slider__track", ref: (el) => {
309
311
  this.trackElement = el;
310
- }, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: 'cb48279c9b6b7f91754a0d0504d38977e80d6454', class: "tds-slider__track-fill", ref: (el) => {
312
+ }, tabindex: this.disabled ? '-1' : '0' }, h("div", { key: '55e94d65579e662b3b92a43418524f348ef4c69c', class: "tds-slider__track-fill", ref: (el) => {
311
313
  this.trackFillElement = el;
312
- } }), h("div", { key: 'e4d05479a9067ee506578b522c56719c006036fc', class: "tds-slider__thumb", ref: (el) => {
314
+ } }), h("div", { key: 'a8129aaa54e8a03f254e8858e98427fa3f99f452', class: "tds-slider__thumb", ref: (el) => {
313
315
  this.thumbElement = el;
314
- }, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: '6487f63ad6f2ff00cbdd4e1c10bc9d4ec4550137', class: "tds-slider__value" }, this.value, h("svg", { key: '5c89ff40a9ccab1e48d1867a69835206313bf4c1', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd661c16c25e293a54fd6f98989655252e06a5d31', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '977ed57e0a9d115152dd08bdd656c5d6c858d633', class: "tds-slider__thumb-inner", ref: (el) => {
316
+ }, onMouseDown: () => this.grabThumb(), onTouchStart: () => this.grabThumb() }, this.tooltip && (h("div", { key: '1d478384f0b6c31d4a2766a3a627cdd4574cd79e', class: "tds-slider__value" }, this.value, h("svg", { key: '343f422c8042eacbb37737913dcfd4e065a03679', width: "18", height: "14", viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5057f976f09b5f176f2c1489e6ab94aed8dc0472', d: "M8.15882 12.6915L0.990487 1.54076C0.562658 0.875246 1.0405 0 1.83167 0H16.1683C16.9595 0 17.4373 0.875246 17.0095 1.54076L9.84118 12.6915C9.44754 13.3038 8.55246 13.3038 8.15882 12.6915Z", fill: "currentColor" })))), h("div", { key: '8ed0d33b1b5be47b9e231d88bf2ea9fa8d7a9199', class: "tds-slider__thumb-inner", ref: (el) => {
315
317
  this.thumbInnerElement = el;
316
- } })))), this.useInput && (h("div", { key: '026b89aea3e01f0d6621d95260db43ba96834181', class: "tds-slider__input-values" }, h("div", { key: '9c58cc92d072760adbef4fa1c49c2766f48a4a3b', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '7a35238569b9ded1481ea48a868a985426ec4cef', class: "tds-slider__input-field-wrapper" }, h("input", { key: '51ba5b59604cfff6aa6a8bad6c59f3f706a8f3e4', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { key: '4d10cc417985b3ae3739120b508e781e79a315d0', class: "tds-slider__controls" }, h("div", { key: '9a422c72b65fc9888fd472c36a20df99bb4b50f4', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h("tds-icon", { key: '808969d21cb085de199f1d8af307aa9a412c2b4d', name: "plus", size: "16px" })))))));
318
+ } })))), this.useInput && (h("div", { key: '17cdc0c35da1c5355edcacec51a84146ba052350', class: "tds-slider__input-values" }, h("div", { key: 'af0f7c10aa16cc44789c827f7eee086fa4abfc70', class: "tds-slider__input-value", onClick: (event) => this.stepLeft(event) }, this.max), h("div", { key: '6879810e310ab9f036cd37cd907f704470334cb8', class: "tds-slider__input-field-wrapper" }, h("input", { key: '4ea73453907e378ec31fa2c99517d7ba16af5d5a', size: this.calculateInputSizeFromMax(), class: "tds-slider__input-field", value: this.value, readOnly: this.readOnly, onBlur: (event) => this.updateSliderValueOnInputChange(event), onKeyDown: (event) => this.handleInputFieldEnterPress(event), type: "number", min: this.min, max: this.max })))), this.useControls && (h("div", { key: '9afa97d14e9e9b44c0f412462b302d160051161d', class: "tds-slider__controls" }, h("div", { key: 'efd5e7f9b2f3287e5294bebc51739c6b07876ec7', class: "tds-slider__control tds-slider__control-plus", onClick: (event) => this.stepRight(event) }, h(prefixedTagNames.tdsIcon, { key: '5d0fd79876dab01667cf73dcd816a9198e33bd85', name: "plus", size: "16px" })))))));
317
319
  }
320
+ get host() { return getElement(this); }
318
321
  static get watchers() { return {
319
322
  "value": ["handleValueUpdate"]
320
323
  }; }
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const stepCss = ":host{position:relative;display:table-cell}:host [role=listitem]{display:flex;justify-content:start;flex-direction:row;align-items:center;gap:8px}:host [role=listitem].text-below{flex-direction:column}:host [role=listitem].lg{padding:0 20px;font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls)}:host [role=listitem].lg .content-container{height:30px;min-width:30px}:host [role=listitem].lg .content-container tds-icon{vertical-align:bottom}:host [role=listitem].lg .content-container .index-container{vertical-align:sub}:host [role=listitem].lg.vertical::after{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:36px;width:1px;top:40px;left:36px}:host [role=listitem].lg.horizontal::after{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;left:calc(50% + 24px);right:0;top:18px}:host [role=listitem].lg.horizontal::before{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;right:calc(50% + 24px);left:0;top:18px}:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::after{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:16px;width:10px;left:auto;right:-10px}:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::before{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:16px;width:10px;left:-10px;right:auto}:host [role=listitem].sm{padding:0 20px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls)}:host [role=listitem].sm .index-container{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline}:host [role=listitem].sm .content-container{height:24px;min-width:24px}:host [role=listitem].sm .tds-step-icon{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline;margin-top:-2px}:host [role=listitem].sm.vertical::after{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:20px;width:1px;top:34px;left:32px}:host [role=listitem].sm.vertical::before{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:20px;width:1px;top:34px;left:32px}:host [role=listitem].sm.horizontal::after{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;left:calc(50% + 16px + 8px);right:0;top:13px}:host [role=listitem].sm.horizontal::before{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;left:0;right:calc(50% + 24px);top:13px}:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::after{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:13px;width:10px;left:auto;right:-10px}:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::before{content:\" \";position:absolute;background-color:var(--tds-stepper-icon-step-background-after);opacity:0.16;height:1px;top:13px;width:10px;left:-10px;right:auto}:host [role=listitem] .content-container{border-radius:100px;border:1px solid var(--tds-stepper-icon-background);text-align:center;position:relative}:host [role=listitem] .content-container.error{border-color:var(--tds-negative);color:var(--tds-negative)}:host [role=listitem] .content-container.success{background-color:var(--tds-positive);border-color:var(--tds-positive);color:var(--tds-white)}:host [role=listitem] .content-container.upcoming{background-color:transparent;border-color:var(--tds-stepper-label-border-color-upcoming);color:var(--tds-stepper-label-text-color-upcoming);opacity:var(--tds-stepper-label-text-opacity-upcoming)}:host [role=listitem] .label{text-align:center}:host [role=listitem] .label.lg{font:var(--tds-detail-01);letter-spacing:var(--tds-detail-01-ls)}:host [role=listitem] .label.sm{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls)}:host [role=listitem] .label.upcoming{color:var(--tds-stepper-label-text-color-upcoming);opacity:var(--tds-stepper-label-text-opacity-upcoming)}:host(:last-of-type) [role=listitem].horizontal{padding-right:0}:host(:last-of-type) [role=listitem].sm::after,:host(:last-of-type) [role=listitem].lg::after{display:none}:host(:last-of-type) [role=listitem].sm.vertical::before{display:none}:host(:first-of-type) [role=listitem].horizontal{padding-left:0}:host(:first-of-type) [role=listitem].sm::before,:host(:first-of-type) [role=listitem].lg::before{display:none}";
4
5
  const TdsStepStyle0 = stepCss;
@@ -21,7 +22,7 @@ const TdsStep = class {
21
22
  }
22
23
  /* Needs to be onload to do this on any updates. */
23
24
  componentWillLoad() {
24
- this.stepperEl = this.el.closest('tds-stepper');
25
+ this.stepperEl = this.host.closest('tds-stepper');
25
26
  this.orientation = this.stepperEl.orientation;
26
27
  this.labelPosition = this.stepperEl.labelPosition;
27
28
  this.size = this.stepperEl.size;
@@ -41,9 +42,10 @@ const TdsStep = class {
41
42
  }
42
43
  }
43
44
  render() {
44
- return (h(Host, { key: '6c7a2673bbe13e518f2052cac2b8bcc948c7c5ea' }, h("div", { key: '7df6c87c7743fcd539abcbde7c2396ba8d7fa4d6', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: 'b2902e638345c79401405b9c16dd6f4d196c8bac', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h("tds-icon", { class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'b35127501be3ab9cc6f3bf0b9f54709f0d98ec36', class: `label ${this.size} ${this.state}` }, h("slot", { key: '43499d45d42401e384b8c9f20885873d23351110', name: "label" }))))));
45
+ const prefixedTagNames = getPrefixedTagNames(this.host);
46
+ return (h(Host, { key: '52a70297ba2b6f186916f597e2e6f355fea93d50' }, h("div", { key: 'e6abd1a5dc488b03a16451e162ea9b6911e36875', role: "listitem", class: `${this.size} ${this.orientation} text-${this.labelPosition} ${this.hideLabels ? 'hide-labels' : ''}` }, h("span", { key: 'e98b565719a767a03386f9e351be40c3843ae7f2', class: `${this.state} content-container` }, this.state === 'success' || this.state === 'error' ? (h(prefixedTagNames.tdsIcon, { class: 'tds-step-icon', name: this.state === 'success' ? 'tick' : 'warning', size: this.size === 'lg' ? '20px' : '16px' })) : (h("span", { class: "index-container" }, this.index))), !this.hideLabels && (h("div", { key: 'eb6814fb3f3b932de0ea2adaa02e8d350db105b0', class: `label ${this.size} ${this.state}` }, h("slot", { key: '8e3c42eaa55d71e278f73ac7c920510fc182f00b', name: "label" }))))));
45
47
  }
46
- get el() { return getElement(this); }
48
+ get host() { return getElement(this); }
47
49
  };
48
50
  TdsStep.style = TdsStepStyle0;
49
51
 
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const tableBodyInputWrapperCss = ":host{position:relative}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.show-icon) ::slotted(input){padding-right:var(--tds-spacing-element-24)}:host(:hover) tds-icon{display:inline-block}:host(:hover) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}tds-icon.edit-icon{display:none;position:absolute;right:10px;top:1px;pointer-events:none;cursor:pointer}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);color:var(--tds-table-color);background-color:transparent;height:48px;border-radius:0;border:0;border-bottom:2px solid transparent;width:100%;cursor:pointer}::slotted(input)::placeholder{color:var(--tds-table-color)}::slotted(input:disabled){background-color:var(--tds-table-input-background-disabled)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";
4
5
  const TdsTableBodyInputWrapperStyle0 = tableBodyInputWrapperCss;
@@ -68,11 +69,12 @@ const TdsTableBodyInputWrapper = class {
68
69
  }
69
70
  }
70
71
  render() {
71
- return (h(Host, { key: 'c40a17a264d914934ea4f0e5c4a27b58f06d8055', class: {
72
+ const prefixedTagNames = getPrefixedTagNames(this.host);
73
+ return (h(Host, { key: '05e41154f07408493f682755fcfce90b16540f05', class: {
72
74
  'focused-input-wrapper': this.inputFocused,
73
75
  'show-icon': this.showIcon,
74
76
  'tds-table__compact': this.compactDesign,
75
- } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "edit-icon", slot: "icon", size: "16px", name: "edit" })) : null));
77
+ } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h(prefixedTagNames.tdsIcon, { class: "edit-icon", slot: "icon", size: "16px", name: "edit" })) : null));
76
78
  }
77
79
  get host() { return getElement(this); }
78
80
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const tableBodyRowCss = ":host(.tds-table__row){box-sizing:border-box;display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host(.tds-table__row) *{box-sizing:border-box}:host(.tds-table__row) .tds-table__body-cell--checkbox{min-width:48px;width:48px;padding:0}:host(.tds-table__row:hover){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)}";
4
5
  const TdsTableBodyRowStyle0 = tableBodyRowCss;
@@ -51,12 +52,13 @@ const TdsTableBodyRow = class {
51
52
  });
52
53
  }
53
54
  render() {
54
- return (h(Host, { key: '2b99a5336354cb5e7e2e7ef9c81bac76a55c6895', class: {
55
+ const prefixedTagNames = getPrefixedTagNames(this.host);
56
+ return (h(Host, { key: '0ac4875938275167c52bdb1a66fc54158c61a76d', class: {
55
57
  'tds-table__row': true,
56
58
  'tds-table__row--selected': this.selected,
57
59
  'tds-table__compact': this.compactDesign,
58
60
  'tds-table--divider': this.verticalDividers,
59
- } }, this.multiselect && (h("td", { key: '049e91ea474a539b6fbe344db4aed9de42297f3d', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '2af9307e3143db71cae028c1cc2116382b20f4c9', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '2eff0d398eb53934ca0b152d25422a5febbbffbb' })));
61
+ } }, this.multiselect && (h("td", { key: 'c7207da4609b85ae7d2af89df17a06021ed4d5dc', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h(prefixedTagNames.tdsCheckbox, { key: '46d7c610a47b1318d0d30d689bcdcfde5761727c', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: '06e607ab15a8f5610f67be5afd2a46ed0f96c4b4' })));
60
62
  }
61
63
  get host() { return getElement(this); }
62
64
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:48px}: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 16px}:host .tds-table__footer-cell .tds-table__pagination{height:48px;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__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:54px;height:30px;border:none;border-radius:4px;transition:background-color 250ms ease;margin-right:4px;padding-left:16px}: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:32px;width:32px;border-radius:4px;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:20px;width:20px;fill:var(--tds-table-color)}:host(.tds-table--compact){height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:24px}: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
5
  const TdsTableFooterStyle0 = tableFooterCss;
@@ -99,11 +100,19 @@ const TdsTableFooter = class {
99
100
  });
100
101
  this.storeLastCorrectValue(this.paginationValue);
101
102
  }
103
+ getStyles() {
104
+ const styles = {};
105
+ if (this.horizontalScrollWidth) {
106
+ styles.width = `${this.horizontalScrollWidth}px`;
107
+ }
108
+ return styles;
109
+ }
102
110
  render() {
103
- return (h(Host, { key: 'fe6221e5dd2ec57e63afefc5e45c0b3f5ad85d8f', class: {
111
+ const prefixedTagNames = getPrefixedTagNames(this.host);
112
+ return (h(Host, { key: '2b1679b41dc9820424351c33e85591f36818d1e1', class: {
104
113
  'tds-table--compact': this.compactDesign,
105
114
  'footer__horizontal-scroll': !!this.horizontalScrollWidth,
106
- }, style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {} }, h("tr", { key: '6f6bfca5e7719084b2c4564b86806f6eb7867601', class: "tds-table__footer-row" }, h("td", { key: '2c4389dfa2c028798246a5c4d8b9bdcc05a780f2', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '0831e596963e20222feee940fb7d7d489f832b5e', class: "tds-table__pagination" }, h("div", { key: '1129e67d9b69b06a1fadde589f9ad37a1bd9fcca', class: "tds-table__row-selector" }), h("div", { key: '81e685df813d615027470d4c84c468bb2c5fccca', class: "tds-table__page-selector" }, h("input", { key: '4b116837ae02fcbf6b51b940587ae6159d40f5cb', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '927af4715b33f50679aef3ec5eccc5fd4044add7', class: "tds-table__footer-text" }, "of ", h("span", { key: '2d89421fbbbb0828623465f39edc506b9bfa82da' }, this.pages), " pages"), h("button", { key: '37916d812b7b4510b088b382f48b2d9f04d212b2', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: 'd89ac980f4c48fe6c14610f27ccc05e43994631e', name: "chevron_left", size: "20px" })), h("button", { key: '246b17fc6ff26e3830d5a359a4a5de844bc93a1b', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: '6fa3441ed75b484974e50ee41ea1444bea7c30e2', name: "chevron_right", size: "20px" })))))))));
115
+ }, style: this.getStyles() }, h("tr", { key: '153812eec84fce53dc6dc8ac7ca0ef80dfd76213', class: "tds-table__footer-row" }, h("td", { key: '8393249d6dc9f5758e7b4fa83d7cfcbde59dbc77', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: 'cbd30e634548f1019ccd1bc15512a6b65ff13034', class: "tds-table__pagination" }, h("div", { key: '1c4a05e5ee585ca96b632082cdc34b7d5e520447', class: "tds-table__row-selector" }), h("div", { key: 'aaa98355f48907c761157c79d6676a357b431e98', class: "tds-table__page-selector" }, h("input", { key: '8bea9cd1dd079ec4062a0fc1a72b57d5aafbdf69', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '75c510c649be650ad2c52d894eee1f99ceed9d96', class: "tds-table__footer-text" }, "of ", h("span", { key: 'cbdf2851142771260e5f2ded77fac0313e326e69' }, this.pages), " pages"), h("button", { key: 'e881d7d94881aef373551e37b9371a9f6b4d5332', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h(prefixedTagNames.tdsIcon, { key: 'efb8d1f38cb9cea4fccc9b9df0649837d44dfa46', name: "chevron_left", size: "20px" })), h("button", { key: '6017258d6ec87aea2e34739c17d63d1e0762c2d6', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h(prefixedTagNames.tdsIcon, { key: 'c020cb98076c8c5e26cb9d4a78f0600272e4ebf5', name: "chevron_right", size: "20px" })))))))));
107
116
  }
108
117
  get host() { return getElement(this); }
109
118
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const tableHeaderInputWrapperCss = ":host{position:relative}:host(:hover) tds-icon{display:inline-block}:host(.focused-input-wrapper) tds-icon{display:inline-block}:host(.focused-input-wrapper) ::slotted(input:not(:focus)){background-color:var(--tds-table-input-background-hover)}:host(.show-icon) ::slotted(input){padding-left:35px}tds-icon.search-icon{color:var(--tds-table-input-header-icon);position:absolute;left:15px;top:1px}::slotted(input){box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-table-color);padding-left:var(--tds-spacing-element-16);padding-right:var(--tds-spacing-element-16);height:48px;border-radius:0;background-color:transparent;border:0;border-bottom:2px solid transparent}::slotted(input)::placeholder{color:var(--tds-table-input-header-placeholder)}::slotted(input:focus){outline:none;background-color:var(--tds-table-input-header-background-focus);border-bottom:2px solid var(--tds-text-field-bar)}:host(.tds-table__compact) ::slotted(input){height:32px;}";
4
5
  const TdsTableHeaderInputWrapperStyle0 = tableHeaderInputWrapperCss;
@@ -68,11 +69,12 @@ const TdsTableHeaderInputWrapper = class {
68
69
  }
69
70
  }
70
71
  render() {
71
- return (h(Host, { key: '43243a6c8e1a0ef0f18d9f1f1d4cd4cba6bc15b4', class: {
72
+ const prefixedTagNames = getPrefixedTagNames(this.host);
73
+ return (h(Host, { key: '379cdc2f1c18f2a15919e9d2b431f192f2e719d5', class: {
72
74
  'focused-input-wrapper': this.inputFocused,
73
75
  'show-icon': this.showIcon,
74
76
  'tds-table__compact': this.compactDesign,
75
- } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h("tds-icon", { class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
77
+ } }, this.renderSlot ? h("slot", { onSlotchange: () => this.handleSlotChange() }) : null, this.showIcon ? (h(prefixedTagNames.tdsIcon, { class: "search-icon", slot: "icon", size: "16px", name: "search" })) : null));
76
78
  }
77
79
  get host() { return getElement(this); }
78
80
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const tableHeaderCss = ":host{box-sizing:border-box;display:table-header-group}:host *{box-sizing:border-box}:host .tds-table__header-cell--checkbox{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);display:table-cell;text-align:left;color:var(--tds-table-color);background-color:var(--tds-table-header-background);border-bottom:1px solid var(--tds-table-divider);height:48px;box-sizing:border-box;overflow:hidden;transition:background-color 200ms ease;min-width:unset;width:48px;padding:0;border-top-left-radius:4px}:host .tds-form-label--table{width:100%;height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:48px;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input{display:none}:host .tds-table__expand-control-container .tds-expandable-row-icon{height:20px;width:20px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__expand-control-container .tds-expandable-row-icon--opened{transform:rotate(180deg)}:host ::slotted(tds-header-cell:hover){background-color:var(--tds-table-header-background-hover)}:host(.tds-table--compact) .tds-table__header-cell--checkbox{height:32px}:host(.tds-table--compact) .tds-form-label--table{height:32px}:host(.tds-table--divider) .tds-table__header-cell--checkbox{border-right:1px solid var(--tds-table-divider)}:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox{border-top-left-radius:0}";
4
5
  const TdsTableHeaderStyle0 = tableHeaderCss;
@@ -85,11 +86,12 @@ const TdsTableHeaderRow = class {
85
86
  });
86
87
  }
87
88
  render() {
88
- return (h(Host, { key: '5f212887d3d35e32240e9745d62685b7024100e1', class: {
89
+ const prefixedTagNames = getPrefixedTagNames(this.host);
90
+ return (h(Host, { key: 'c6b52b1d3a4758d2f633b63276491d54378997d0', class: {
89
91
  'tds-table--compact': this.compactDesign,
90
92
  'tds-table--divider': this.verticalDividers,
91
93
  'tds-table--toolbar-available': this.enableToolbarDesign,
92
- } }, h("tr", { key: '1a40af0dddfb627c39ae5df47aedc80eb1006f04' }, this.multiselect && (h("th", { key: '17d16e6bf8964b30e0ce93a76c436112ac0a6540', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '98f282baf5a0b4a929ad04c850319e04955090a0', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '9d8115deb1403df121309d32a166ccc6eac685d5', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '7cc0e1c0d3d7ec9f4bef917a5b8346cca8bc58ae', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: '2f7aa3bd3acdd69f1f2a20d3525ad5901f0ac239' }))));
94
+ } }, h("tr", { key: '4f9c9077abe94dd132d70c3b1917b5ee321bb86c' }, this.multiselect && (h("th", { key: '93fe6f0b820002e877368a406a1f27993f8c76d9', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '0ee069d210c5bf362585034db083d675e20790d9', class: "tds-form-label tds-form-label--table" }, h(prefixedTagNames.tdsCheckbox, { key: '8a1db3dd87cf767823c4a20a9d7c4fd25e9c595c', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '2a141bca63ff69c3572f18e83ba67c375b11b988', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: 'b5cfad23823fbddf0136ea696ec5870f114075f6' }))));
93
95
  }
94
96
  get host() { return getElement(this); }
95
97
  };
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-51d04e39.js';
2
+ import { g as getPrefixedTagNames } from './tagName-0d04643f.js';
2
3
 
3
4
  const tableToolbarCss = ":host{box-sizing:border-box;display:table-caption;position:relative;background-color:var(--tds-table-toolbar-background);color:var(--tds-table-color);padding:0 var(--tds-spacing-element-16);height:64px;border-top-left-radius:4px;border-top-right-radius:4px}:host *{box-sizing:border-box}:host .tds-table__upper-bar-flex{width:100%;height:100%;display:flex;justify-content:space-between}:host .tds-table__title{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls);padding-top:var(--tds-spacing-element-16);text-align:left}:host .tds-table__actionbar,:host slot[name=end]::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
5
  const TdsTableToolbarStyle0 = tableToolbarCss;
@@ -58,11 +59,19 @@ const TdsTableToolbar = class {
58
59
  tdsTableSearchBar.classList.remove('tds-table__searchbar--active');
59
60
  }
60
61
  }
62
+ getStyles() {
63
+ const styles = {};
64
+ if (this.horizontalScrollWidth) {
65
+ styles.width = `${this.horizontalScrollWidth}px`;
66
+ }
67
+ return styles;
68
+ }
61
69
  render() {
62
- return (h(Host, { key: '9c864dc219ed17a50a4d84881c676e05b3e0ef92', class: {
70
+ const prefixedTagNames = getPrefixedTagNames(this.host);
71
+ return (h(Host, { key: '017e5a33806f969620e47af13c1abd4d5cc73c1e', class: {
63
72
  'tds-table--compact': this.compactDesign,
64
73
  'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
65
- }, style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {} }, h("div", { key: '035b5a5396344e3d682fb5370a4e1c0484045579', class: "tds-table__upper-bar-flex" }, h("caption", { key: 'f1f5ba362eda8a0ae25fb63c89a25fe3606365c9', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'b94a83cf81e1aaa06d1b29a4e9207c99bccbbbbc', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '358798e484d1892acb6a4e7e3b30702002ba860d', class: "tds-table__searchbar" }, h("input", { key: 'f062bf19e13e312ee9089324bdfc6d4e2e9a1db4', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: '9e874b39910b2d32b0a3193b14e01ed5f681b928', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '38d5a1b800d849b66a0c35d01d496fc4708f53c2', name: "search", size: "20px" })))), h("slot", { key: 'f362385a5719c51dbce2b213774b6397ede8714b', name: "end" })))));
74
+ }, style: this.getStyles() }, h("div", { key: '8a2e0b3ff1cb452706d4a01818f6159749dbb89a', class: "tds-table__upper-bar-flex" }, h("caption", { key: '91dcfc3b3e1a6f88a816c8aaadd6160bd9ad9474', class: "tds-table__title" }, this.tableTitle), h("div", { key: '62b725ed18e7406d2635c62ae057abb6cf214cba', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '0dc45e13a7185194002e25a9116b6535307d6412', class: "tds-table__searchbar" }, h("input", { key: '6f147fde17c9c01c58ed2178c084a5be48c84186', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: 'd2b540ca62e3b4c3a917b2283510760be12e0b2a', class: "tds-table__searchbar-icon" }, h(prefixedTagNames.tdsIcon, { key: '39b663fbe530f36568e282768ed7b5630722fb01', name: "search", size: "20px" })))), h("slot", { key: '19474502d0d73d1c3a7b899a8a21cc269bd8efe8', name: "end" })))));
66
75
  }
67
76
  get host() { return getElement(this); }
68
77
  };
@@ -49,6 +49,13 @@ const TdsTable = class {
49
49
  });
50
50
  return selectedRowsData;
51
51
  }
52
+ getStyles() {
53
+ const styles = {};
54
+ if (this.horizontalScrollWidth) {
55
+ styles.width = `${this.horizontalScrollWidth}px`;
56
+ }
57
+ return styles;
58
+ }
52
59
  multiselectChanged(newValue) {
53
60
  this.emitInternalTdsPropChange('multiselect', newValue);
54
61
  }
@@ -79,11 +86,11 @@ const TdsTable = class {
79
86
  }
80
87
  }
81
88
  render() {
82
- return (h(Host, { key: 'da929268a984ca0e81843132b2fafd6c79bec3b3', class: {
89
+ return (h(Host, { key: '580c1c90c9f4556b16037c3200ae739a891bea88', class: {
83
90
  'tds-table--responsive': this.responsive,
84
91
  'tds-mode-variant-primary': this.modeVariant === 'primary',
85
92
  'tds-mode-variant-secondary': this.modeVariant === 'secondary',
86
- } }, h("table", { key: '2ba662d97bc834a7a0d6d71338fc7c322bc15741', style: this.horizontalScrollWidth ? { width: this.horizontalScrollWidth } : {}, class: {
93
+ } }, h("table", { key: 'f2e9d248c5e93e6d83cfcd74408f99ed54c1ae95', style: this.getStyles(), class: {
87
94
  'tds-table': true,
88
95
  'tds-table--compact': this.compactDesign,
89
96
  'tds-table--divider': this.verticalDividers,
@@ -94,7 +101,7 @@ const TdsTable = class {
94
101
  'tds-table--horizontal-scroll-toolbar-compact': this.enableHorizontalScrollToolbarDesign && this.compactDesign,
95
102
  'tds-table--horizontal-scroll-footer': this.enableHorizontalScrollFooterDesign && !this.compactDesign,
96
103
  'tds-table--horizontal-scroll-footer-compact': this.enableHorizontalScrollFooterDesign && this.compactDesign,
97
- } }, h("slot", { key: 'c95e71aeaac2f4378d440bb23ff890c9c4a76fdf' }))));
104
+ } }, h("slot", { key: '74edfe5bc755d4a7880b1368452f2906ebc5346a' }))));
98
105
  }
99
106
  get host() { return getElement(this); }
100
107
  static get watchers() { return {