@ebrains/components 0.0.1-alpha.0 → 0.3.0-alpha.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 (648) hide show
  1. package/dist/cjs/{color-ac51ccf7.js → color-3ffe3072.js} +6 -6
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components.cjs.js +3 -30
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  5. package/dist/cjs/eds-accordion.cjs.entry.js +5 -4
  6. package/dist/cjs/eds-alert.cjs.entry.js +10 -9
  7. package/dist/cjs/{eds-accordion_23.cjs.entry.js → eds-avatar_17.cjs.entry.js} +353 -785
  8. package/dist/cjs/eds-card-desc_3.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-card-generic.cjs.entry.js +18 -6
  10. package/dist/cjs/eds-card-project.cjs.entry.js +5 -5
  11. package/dist/cjs/eds-card-section.cjs.entry.js +20 -8
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +3 -2
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +6 -5
  14. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +4 -34
  16. package/dist/cjs/eds-components-section.cjs.entry.js +45 -25
  17. package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-form.cjs.entry.js +96 -23
  20. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +3 -3
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +3 -3
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +3 -3
  24. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +3 -3
  25. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +3 -3
  26. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +3 -3
  27. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +3 -3
  28. package/dist/cjs/eds-icon-close.cjs.entry.js +3 -3
  29. package/dist/cjs/eds-icon-copy.cjs.entry.js +3 -3
  30. package/dist/cjs/eds-icon-eu.cjs.entry.js +3 -3
  31. package/dist/cjs/eds-icon-facebook.cjs.entry.js +3 -3
  32. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +3 -3
  33. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +3 -3
  34. package/dist/cjs/eds-icon-loader.cjs.entry.js +3 -3
  35. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +3 -3
  36. package/dist/cjs/eds-icon-menu.cjs.entry.js +3 -3
  37. package/dist/cjs/eds-icon-more.cjs.entry.js +3 -3
  38. package/dist/cjs/eds-icon-search.cjs.entry.js +3 -3
  39. package/dist/cjs/eds-icon-success.cjs.entry.js +3 -3
  40. package/dist/cjs/eds-icon-twitter.cjs.entry.js +3 -3
  41. package/dist/cjs/eds-icon-user.cjs.entry.js +3 -3
  42. package/dist/cjs/eds-icon-youtube.cjs.entry.js +3 -3
  43. package/dist/cjs/{eds-input-field.cjs.entry.js → eds-input_7.cjs.entry.js} +249 -5
  44. package/dist/cjs/eds-login.cjs.entry.js +3 -3
  45. package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
  46. package/dist/cjs/eds-matomo-notice.cjs.entry.js +7 -6
  47. package/dist/cjs/eds-modal.cjs.entry.js +45 -5
  48. package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
  49. package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +160 -2
  50. package/dist/cjs/eds-progress-bar.cjs.entry.js +3 -2
  51. package/dist/cjs/eds-rating.cjs.entry.js +3 -2
  52. package/dist/cjs/eds-section-core_2.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-svg-repository.cjs.entry.js +298 -4
  54. package/dist/cjs/eds-tab.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-tabs-content.cjs.entry.js +6 -6
  56. package/dist/cjs/eds-tabs.cjs.entry.js +32 -10
  57. package/dist/cjs/eds-timeline.cjs.entry.js +76 -0
  58. package/dist/cjs/eds-tooltip.cjs.entry.js +4 -3
  59. package/dist/cjs/eds-trl.cjs.entry.js +52 -0
  60. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  61. package/dist/cjs/{index-2cc3495f.js → index-f08e4f5c.js} +54 -37
  62. package/dist/cjs/{loader-5efe2c21.js → loader-72f9d178.js} +2 -5
  63. package/dist/cjs/loader.cjs.js +2 -2
  64. package/dist/cjs/logo-space.cjs.entry.js +5 -4
  65. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
  66. package/dist/cjs/logo-wrong-usage.cjs.entry.js +6 -5
  67. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  68. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  69. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  70. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  71. package/dist/collection/collection-manifest.json +3 -0
  72. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  73. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +13 -12
  74. package/dist/collection/components/eds-button/eds-button.js +3 -3
  75. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +21 -1
  76. package/dist/collection/components/eds-form/eds-form.css +10 -0
  77. package/dist/collection/components/eds-form/eds-form.js +111 -20
  78. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +140 -15
  79. package/dist/collection/components/eds-input-field/eds-input-field.css +16 -6
  80. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  81. package/dist/collection/components/eds-modal/eds-modal.css +8 -0
  82. package/dist/collection/components/eds-modal/eds-modal.js +42 -2
  83. package/dist/collection/components/eds-table/eds-table.css +4 -0
  84. package/dist/collection/components/eds-table/eds-table.js +69 -11
  85. package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
  86. package/dist/collection/components/eds-timeline/eds-timeline.js +99 -0
  87. package/dist/collection/components/eds-timeline/eds-timeline.stories.js +35 -0
  88. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  89. package/dist/collection/components/eds-trl/eds-trl.js +69 -0
  90. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  91. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  92. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  93. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  94. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  95. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  96. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  97. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -5
  98. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  99. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  100. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  101. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  102. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  103. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  104. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +3 -6
  105. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  106. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  107. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +44 -0
  108. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +7 -1
  109. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  110. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  111. package/dist/collection/eds-docs-ui/functional/overview.js +1 -1
  112. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  113. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  114. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  115. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +21 -1
  116. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +2 -54
  117. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +4 -13
  118. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +4 -0
  119. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  120. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -8
  121. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +40 -7
  122. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  123. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -3
  124. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
  125. package/dist/collection/shared-ui/eds-header/eds-header.js +10 -6
  126. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +16 -10
  127. package/dist/collection/shared-ui/eds-login/eds-login.js +3 -2
  128. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +4 -4
  129. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
  130. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +29 -8
  131. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +22 -4
  132. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
  133. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +48 -34
  134. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  135. package/dist/collection/shared-ui/eds-user/eds-user.js +12 -6
  136. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -11
  137. package/dist/components/analytics.js +6 -6
  138. package/dist/components/components.css +38 -0
  139. package/dist/components/components.esm.js +1 -47
  140. package/dist/components/correct-use-of-colors.js +1 -1
  141. package/dist/components/eds-accordion2.js +4 -3
  142. package/dist/components/eds-alert2.js +3 -2
  143. package/dist/components/eds-avatar2.js +3 -2
  144. package/dist/components/eds-block-break2.js +2 -1
  145. package/dist/components/eds-breadcrumb.js +15 -13
  146. package/dist/components/eds-button2.js +6 -4
  147. package/dist/components/eds-card-desc2.js +2 -1
  148. package/dist/components/eds-card-generic2.js +17 -4
  149. package/dist/components/eds-card-project.js +2 -1
  150. package/dist/components/eds-card-section.js +19 -7
  151. package/dist/components/eds-card-tags.js +2 -1
  152. package/dist/components/eds-card-title2.js +2 -1
  153. package/dist/components/eds-card-tool.js +4 -2
  154. package/dist/components/eds-code-block2.js +3 -33
  155. package/dist/components/eds-components-section.js +44 -24
  156. package/dist/components/eds-docs-palettes.js +1 -1
  157. package/dist/components/eds-docs-tokens.js +1 -1
  158. package/dist/components/eds-dropdown2.js +2 -1
  159. package/dist/components/eds-footer2.js +3 -2
  160. package/dist/components/eds-form.js +97 -22
  161. package/dist/components/eds-fullscreen-menu.js +2 -1
  162. package/dist/components/eds-header.js +9 -4
  163. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  164. package/dist/components/eds-icon-arrow-right.js +1 -1
  165. package/dist/components/eds-icon-bluesky.js +1 -1
  166. package/dist/components/eds-icon-chevron-down.js +1 -1
  167. package/dist/components/eds-icon-chevron-left.js +1 -1
  168. package/dist/components/eds-icon-chevron-right.js +1 -1
  169. package/dist/components/eds-icon-chevron-up.js +1 -1
  170. package/dist/components/eds-icon-close.js +1 -1
  171. package/dist/components/eds-icon-copy.js +1 -1
  172. package/dist/components/eds-icon-eu.js +1 -1
  173. package/dist/components/eds-icon-facebook.js +1 -1
  174. package/dist/components/eds-icon-gitlab.js +1 -1
  175. package/dist/components/eds-icon-linkedin.js +1 -1
  176. package/dist/components/eds-icon-loader.js +1 -1
  177. package/dist/components/eds-icon-mastodon.js +1 -1
  178. package/dist/components/eds-icon-menu.js +1 -1
  179. package/dist/components/eds-icon-more.js +1 -1
  180. package/dist/components/eds-icon-search.js +1 -1
  181. package/dist/components/eds-icon-success.js +1 -1
  182. package/dist/components/eds-icon-twitter.js +1 -1
  183. package/dist/components/eds-icon-user.js +1 -1
  184. package/dist/components/eds-icon-youtube.js +1 -1
  185. package/dist/components/eds-img2.js +2 -1
  186. package/dist/components/eds-input-field2.js +5 -4
  187. package/dist/components/eds-input-select2.js +70 -2
  188. package/dist/components/eds-link2.js +5 -3
  189. package/dist/components/eds-login.js +3 -2
  190. package/dist/components/eds-logo-variations.d.ts +11 -0
  191. package/dist/components/eds-logo-variations.js +60 -0
  192. package/dist/components/eds-logo2.js +6 -3
  193. package/dist/components/eds-matomo-notice.js +4 -2
  194. package/dist/components/eds-modal.js +44 -4
  195. package/dist/components/eds-pagination2.js +2 -1
  196. package/dist/components/eds-progress-bar.js +1 -40
  197. package/dist/components/{eds-progress-bar.entry.js → eds-progress-bar2.js} +26 -7
  198. package/dist/components/eds-rating.js +2 -1
  199. package/dist/components/eds-section-core2.js +2 -1
  200. package/dist/components/eds-social-networks.js +2 -2
  201. package/dist/components/eds-social-networks2.js +7 -6
  202. package/dist/components/eds-svg-repository.js +296 -2
  203. package/dist/components/eds-tab2.js +1 -1
  204. package/dist/components/eds-table2.js +38 -15
  205. package/dist/components/eds-tabs-content.js +5 -4
  206. package/dist/components/eds-tabs.js +31 -8
  207. package/dist/components/eds-tag2.js +3 -2
  208. package/dist/components/eds-timeline.d.ts +11 -0
  209. package/dist/components/eds-timeline.js +131 -0
  210. package/dist/components/eds-toast-manager.js +3 -2
  211. package/dist/components/eds-toast2.js +1 -1
  212. package/dist/components/eds-tooltip.js +3 -2
  213. package/dist/components/eds-trl.d.ts +11 -0
  214. package/dist/components/eds-trl.js +139 -0
  215. package/dist/components/eds-user-modal2.js +1 -4
  216. package/dist/components/eds-user2.js +12 -6
  217. package/dist/components/incorrect-use-of-colors.js +20 -2
  218. package/dist/components/index.esm.js +0 -1
  219. package/dist/components/index2.js +44 -399
  220. package/dist/components/keycloak.js +0 -10
  221. package/dist/components/loader.js +2 -5
  222. package/dist/components/logo-space.js +4 -3
  223. package/dist/components/logo-variations-horizontal.js +2 -49
  224. package/dist/components/logo-variations-horizontal2.js +37 -0
  225. package/dist/components/logo-variations-vertical.js +2 -49
  226. package/dist/components/logo-variations-vertical2.js +42 -0
  227. package/dist/components/logo-wrong-usage.js +5 -4
  228. package/dist/components/{p-9c05e349.entry.js → p-005de86f.entry.js} +1 -1
  229. package/dist/components/{p-877403df.entry.js → p-02e2a62f.entry.js} +1 -1
  230. package/dist/components/{p-3dbf2ac9.entry.js → p-0910d733.entry.js} +1 -1
  231. package/dist/components/{p-6bc00fad.entry.js → p-0c2e844e.entry.js} +1 -1
  232. package/dist/components/{p-378d371f.entry.js → p-145f13ad.entry.js} +1 -1
  233. package/dist/components/{p-0a195bfe.entry.js → p-16458a81.entry.js} +1 -1
  234. package/dist/components/p-2117611b.js +1 -0
  235. package/dist/components/{p-513bf756.entry.js → p-22762818.entry.js} +1 -1
  236. package/dist/components/{p-94b74ae8.entry.js → p-22e6d7d5.entry.js} +1 -1
  237. package/dist/components/p-22f9e720.js +1 -0
  238. package/dist/components/p-2851ff44.entry.js +1 -0
  239. package/dist/components/p-29648b47.entry.js +1 -0
  240. package/dist/components/p-297b2bc3.entry.js +1 -0
  241. package/dist/components/{p-4541cb5f.entry.js → p-2e8459ef.entry.js} +1 -1
  242. package/dist/components/p-32cddd94.entry.js +1 -0
  243. package/dist/components/{p-0611bbac.entry.js → p-32f282a9.entry.js} +1 -1
  244. package/dist/components/p-3617841d.entry.js +1 -0
  245. package/dist/components/p-373673ca.js +1 -0
  246. package/dist/components/{p-677f60bc.entry.js → p-388b4966.entry.js} +1 -1
  247. package/dist/components/p-3ff76976.entry.js +1 -0
  248. package/dist/components/{p-ff6b25a1.entry.js → p-4037ad48.entry.js} +1 -1
  249. package/dist/components/{p-c16b3c0c.entry.js → p-42b4ecff.entry.js} +1 -1
  250. package/dist/components/{p-fa1276cc.entry.js → p-435a14c1.entry.js} +1 -1
  251. package/dist/components/p-490ba155.entry.js +1 -0
  252. package/dist/components/p-4932aab2.entry.js +1 -0
  253. package/dist/components/p-4a24c2ce.entry.js +1 -0
  254. package/dist/components/p-52ac3456.entry.js +1 -0
  255. package/dist/components/{p-b544f216.entry.js → p-54c75346.entry.js} +1 -1
  256. package/dist/components/{p-11a4ef34.entry.js → p-57c964c5.entry.js} +1 -1
  257. package/dist/components/p-5a43503a.entry.js +1 -0
  258. package/dist/components/p-5aad9d3f.entry.js +1 -0
  259. package/dist/components/p-5afb626c.entry.js +1 -0
  260. package/dist/components/p-5d7af761.entry.js +1 -0
  261. package/dist/components/{p-2728a189.entry.js → p-5fc68438.entry.js} +1 -1
  262. package/dist/components/p-6378fb3e.entry.js +1 -0
  263. package/dist/components/p-673dce11.entry.js +1 -0
  264. package/dist/components/{p-c0afe524.entry.js → p-6fc62452.entry.js} +1 -1
  265. package/dist/components/p-7215789a.entry.js +1 -0
  266. package/dist/components/{p-36c0f3ee.entry.js → p-73bd0c97.entry.js} +1 -1
  267. package/dist/components/p-762c8c83.entry.js +1 -0
  268. package/dist/components/p-7802e966.entry.js +1 -0
  269. package/dist/components/p-79887c2c.entry.js +1 -0
  270. package/dist/components/{p-e9a1fb1e.js → p-7a8b9de5.js} +2 -2
  271. package/dist/components/p-846fc91c.entry.js +1 -0
  272. package/dist/components/p-84957b6d.entry.js +1 -0
  273. package/dist/components/{p-e69ff916.entry.js → p-87830085.entry.js} +1 -1
  274. package/dist/components/p-8c56e39a.entry.js +1 -0
  275. package/dist/components/p-96c4deda.entry.js +1 -0
  276. package/dist/components/p-a44a1abe.entry.js +1 -0
  277. package/dist/components/p-a4e9b68b.entry.js +1 -0
  278. package/dist/components/p-ac0112d5.entry.js +1 -0
  279. package/dist/components/p-acb16e1c.entry.js +1 -0
  280. package/dist/components/p-ae5dbd41.entry.js +1 -0
  281. package/dist/components/{p-6cb8c52d.entry.js → p-bdd86a3c.entry.js} +1 -1
  282. package/dist/components/{p-22ee5374.entry.js → p-be6c80da.entry.js} +1 -1
  283. package/dist/components/p-bf0f851d.entry.js +1 -0
  284. package/dist/components/{p-82453a66.entry.js → p-c2d369bc.entry.js} +1 -1
  285. package/dist/components/p-d1670eec.entry.js +1 -0
  286. package/dist/components/p-d1f6a722.entry.js +1 -0
  287. package/dist/components/p-d53b7a75.entry.js +1 -0
  288. package/dist/components/{p-c11d93cf.entry.js → p-d571d530.entry.js} +1 -1
  289. package/dist/components/{p-bad2a33a.entry.js → p-d6d86366.entry.js} +1 -1
  290. package/dist/components/p-d7a92efb.entry.js +1 -0
  291. package/dist/components/p-d9788b54.entry.js +1 -0
  292. package/dist/components/{p-606d8f86.entry.js → p-e20ed2c7.entry.js} +1 -1
  293. package/dist/components/{p-200ad980.entry.js → p-e6bfbf51.entry.js} +1 -1
  294. package/dist/components/{p-ddd005a3.entry.js → p-e74834bc.entry.js} +1 -1
  295. package/dist/components/{p-b94318f2.entry.js → p-f7a6ce69.entry.js} +1 -1
  296. package/dist/components/p-fd27e56c.entry.js +1 -0
  297. package/dist/components/primary.js +1 -1
  298. package/dist/components/primary2.js +1 -1
  299. package/dist/components/secondary.js +1 -1
  300. package/dist/components/secondary2.js +7 -7
  301. package/dist/components/support.js +1 -1
  302. package/dist/components/support2.js +3 -3
  303. package/dist/components/token-list2.js +1 -1
  304. package/dist/components/token-radii2.js +1 -1
  305. package/dist/components/token-ratios.js +1 -1
  306. package/dist/components/token-shadows2.js +1 -1
  307. package/dist/components/token-spacing.js +1 -1
  308. package/dist/components/token-typography.js +1 -1
  309. package/dist/esm/{color-49aa977d.js → color-0ba8ed56.js} +6 -6
  310. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  311. package/dist/esm/components.js +4 -31
  312. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  313. package/dist/esm/eds-accordion.entry.js +5 -4
  314. package/dist/esm/eds-alert.entry.js +4 -3
  315. package/dist/esm/{eds-accordion_23.entry.js → eds-avatar_17.entry.js} +348 -774
  316. package/dist/esm/eds-card-desc_3.entry.js +1 -1
  317. package/dist/esm/eds-card-generic.entry.js +17 -5
  318. package/dist/esm/eds-card-project.entry.js +3 -3
  319. package/dist/esm/eds-card-section.entry.js +20 -8
  320. package/dist/esm/eds-card-tags.entry.js +3 -2
  321. package/dist/esm/eds-card-tool.entry.js +5 -4
  322. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  323. package/dist/esm/eds-code-block.entry.js +4 -34
  324. package/dist/esm/eds-components-section.entry.js +45 -25
  325. package/dist/esm/eds-docs-palettes.entry.js +2 -2
  326. package/dist/esm/eds-docs-tokens.entry.js +2 -2
  327. package/dist/esm/eds-form.entry.js +96 -23
  328. package/dist/esm/eds-frame.entry.js +1 -1
  329. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  330. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  331. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  332. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  333. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  334. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  335. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  336. package/dist/esm/eds-icon-close.entry.js +2 -2
  337. package/dist/esm/eds-icon-copy.entry.js +2 -2
  338. package/dist/esm/eds-icon-eu.entry.js +2 -2
  339. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  340. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  341. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  342. package/dist/esm/eds-icon-loader.entry.js +2 -2
  343. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  344. package/dist/esm/eds-icon-menu.entry.js +2 -2
  345. package/dist/esm/eds-icon-more.entry.js +2 -2
  346. package/dist/esm/eds-icon-search.entry.js +2 -2
  347. package/dist/esm/eds-icon-success.entry.js +2 -2
  348. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  349. package/dist/esm/eds-icon-user.entry.js +2 -2
  350. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  351. package/dist/{components/eds-input-field.entry.js → esm/eds-input_7.entry.js} +244 -6
  352. package/dist/esm/eds-login.entry.js +3 -3
  353. package/dist/esm/eds-logo-variations.entry.js +23 -0
  354. package/dist/esm/eds-matomo-notice.entry.js +6 -5
  355. package/dist/esm/eds-modal.entry.js +45 -5
  356. package/dist/esm/eds-navigator.entry.js +1 -1
  357. package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +160 -3
  358. package/dist/esm/eds-progress-bar.entry.js +3 -2
  359. package/dist/esm/eds-rating.entry.js +3 -2
  360. package/dist/esm/eds-section-core_2.entry.js +1 -1
  361. package/dist/esm/eds-svg-repository.entry.js +297 -3
  362. package/dist/esm/eds-tab.entry.js +2 -2
  363. package/dist/esm/eds-tabs-content.entry.js +5 -5
  364. package/dist/esm/eds-tabs.entry.js +31 -9
  365. package/dist/esm/eds-timeline.entry.js +72 -0
  366. package/dist/esm/eds-tooltip.entry.js +4 -3
  367. package/dist/esm/eds-trl.entry.js +48 -0
  368. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  369. package/dist/esm/{index-f1426055.js → index-e96badea.js} +54 -37
  370. package/dist/esm/{loader-66341740.js → loader-c9628637.js} +2 -5
  371. package/dist/esm/loader.js +3 -3
  372. package/dist/esm/logo-space.entry.js +5 -4
  373. package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
  374. package/dist/esm/logo-wrong-usage.entry.js +6 -5
  375. package/dist/esm/token-list_3.entry.js +4 -4
  376. package/dist/esm/token-ratios.entry.js +2 -2
  377. package/dist/esm/token-spacing.entry.js +2 -2
  378. package/dist/esm/token-typography.entry.js +2 -2
  379. package/dist/hydrate/index.js +671 -223
  380. package/dist/hydrate/index.mjs +671 -223
  381. package/dist/stencil.config.js +4 -3
  382. package/dist/types/components/eds-accordion/eds-accordion.d.ts +2 -2
  383. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +1 -5
  384. package/dist/types/components/eds-button/eds-button.d.ts +2 -2
  385. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +2 -0
  386. package/dist/types/components/eds-form/eds-form.d.ts +8 -0
  387. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +106 -3
  388. package/dist/types/components/eds-modal/eds-modal.d.ts +16 -0
  389. package/dist/types/components/eds-table/eds-table.d.ts +9 -1
  390. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -67
  391. package/dist/types/components/eds-timeline/eds-timeline.d.ts +26 -0
  392. package/dist/types/components/eds-timeline/eds-timeline.stories.d.ts +24 -0
  393. package/dist/types/components/eds-trl/eds-trl.d.ts +12 -0
  394. package/dist/types/components.d.ts +255 -32
  395. package/dist/types/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.d.ts +0 -4
  396. package/dist/types/eds-docs-ui/eds-logo-variations/eds-logo-variations.d.ts +9 -0
  397. package/dist/types/eds-docs-ui/eds-svg-repository/eds-svg-repository.d.ts +2 -0
  398. package/dist/types/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.d.ts +1 -7
  399. package/dist/types/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.d.ts +1 -1
  400. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +6 -1
  401. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +20 -1
  402. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +8 -2
  403. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +29 -0
  404. package/dist/types/shared-ui/eds-header/eds-header.d.ts +7 -1
  405. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +9 -1
  406. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  407. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +13 -0
  408. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +18 -1
  409. package/dist/types/shared-ui/eds-user/eds-user.d.ts +1 -2
  410. package/package.json +3 -3
  411. package/dist/cjs/color-primary-palette.cjs.entry.js +0 -43
  412. package/dist/cjs/color-secondary-palette.cjs.entry.js +0 -68
  413. package/dist/cjs/color-support-palette.cjs.entry.js +0 -59
  414. package/dist/cjs/eds-avatar.cjs.entry.js +0 -73
  415. package/dist/cjs/eds-block-break.cjs.entry.js +0 -20
  416. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -152
  417. package/dist/cjs/eds-button.cjs.entry.js +0 -233
  418. package/dist/cjs/eds-card-desc.cjs.entry.js +0 -26
  419. package/dist/cjs/eds-card-title.cjs.entry.js +0 -56
  420. package/dist/cjs/eds-dropdown.cjs.entry.js +0 -129
  421. package/dist/cjs/eds-footer.cjs.entry.js +0 -49
  422. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -99
  423. package/dist/cjs/eds-header.cjs.entry.js +0 -96
  424. package/dist/cjs/eds-icon-wrapper.cjs.entry.js +0 -40
  425. package/dist/cjs/eds-img.cjs.entry.js +0 -57
  426. package/dist/cjs/eds-input-footer.cjs.entry.js +0 -21
  427. package/dist/cjs/eds-input-label.cjs.entry.js +0 -20
  428. package/dist/cjs/eds-input-range.cjs.entry.js +0 -39
  429. package/dist/cjs/eds-input-search.cjs.entry.js +0 -41
  430. package/dist/cjs/eds-input-select.cjs.entry.js +0 -30
  431. package/dist/cjs/eds-input.cjs.entry.js +0 -68
  432. package/dist/cjs/eds-link.cjs.entry.js +0 -211
  433. package/dist/cjs/eds-logo.cjs.entry.js +0 -76
  434. package/dist/cjs/eds-section-core.cjs.entry.js +0 -23
  435. package/dist/cjs/eds-section-heading.cjs.entry.js +0 -41
  436. package/dist/cjs/eds-social-networks.cjs.entry.js +0 -65
  437. package/dist/cjs/eds-table.cjs.entry.js +0 -142
  438. package/dist/cjs/eds-tag.cjs.entry.js +0 -44
  439. package/dist/cjs/eds-toast-manager.cjs.entry.js +0 -45
  440. package/dist/cjs/eds-toast.cjs.entry.js +0 -53
  441. package/dist/cjs/eds-user-modal.cjs.entry.js +0 -47
  442. package/dist/cjs/eds-user.cjs.entry.js +0 -90
  443. package/dist/cjs/gradient-primary-palette.cjs.entry.js +0 -45
  444. package/dist/cjs/gradient-secondary-palette.cjs.entry.js +0 -79
  445. package/dist/cjs/gradient-support-palette.cjs.entry.js +0 -63
  446. package/dist/cjs/index-1ff5f25c.js +0 -48
  447. package/dist/cjs/index-383d2951.js +0 -3449
  448. package/dist/cjs/index-96a4261e.js +0 -405
  449. package/dist/cjs/index-f62478aa.js +0 -1837
  450. package/dist/cjs/keycloak-940b83c1.js +0 -1910
  451. package/dist/cjs/logo-variations-horizontal.cjs.entry.js +0 -30
  452. package/dist/cjs/logo-variations-vertical.cjs.entry.js +0 -30
  453. package/dist/cjs/shadow-css-988e4292.js +0 -334
  454. package/dist/cjs/token-list.cjs.entry.js +0 -253
  455. package/dist/cjs/token-radii.cjs.entry.js +0 -25
  456. package/dist/cjs/token-shadows.cjs.entry.js +0 -34
  457. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.css +0 -0
  458. package/dist/components/app-globals-0f993ce5.js +0 -3
  459. package/dist/components/color-primary-palette.entry.js +0 -39
  460. package/dist/components/color-secondary-palette.entry.js +0 -64
  461. package/dist/components/color-support-palette.entry.js +0 -55
  462. package/dist/components/correct-use-of-colors.entry.js +0 -64
  463. package/dist/components/eds-accordion.entry.js +0 -88
  464. package/dist/components/eds-alert.entry.js +0 -91
  465. package/dist/components/eds-avatar.entry.js +0 -69
  466. package/dist/components/eds-block-break.entry.js +0 -16
  467. package/dist/components/eds-breadcrumb.entry.js +0 -148
  468. package/dist/components/eds-button.entry.js +0 -229
  469. package/dist/components/eds-card-desc.entry.js +0 -22
  470. package/dist/components/eds-card-generic.entry.js +0 -89
  471. package/dist/components/eds-card-project.entry.js +0 -63
  472. package/dist/components/eds-card-section.entry.js +0 -39
  473. package/dist/components/eds-card-tags.entry.js +0 -17
  474. package/dist/components/eds-card-title.entry.js +0 -52
  475. package/dist/components/eds-card-tool.entry.js +0 -75
  476. package/dist/components/eds-card-wrapper.entry.js +0 -28
  477. package/dist/components/eds-code-block.entry.js +0 -2468
  478. package/dist/components/eds-components-section.entry.js +0 -92
  479. package/dist/components/eds-docs-palettes.entry.js +0 -23
  480. package/dist/components/eds-docs-tokens.entry.js +0 -31
  481. package/dist/components/eds-dropdown.entry.js +0 -125
  482. package/dist/components/eds-footer.entry.js +0 -45
  483. package/dist/components/eds-form.entry.js +0 -245
  484. package/dist/components/eds-frame.entry.js +0 -87
  485. package/dist/components/eds-fullscreen-menu.entry.js +0 -95
  486. package/dist/components/eds-header.entry.js +0 -92
  487. package/dist/components/eds-icon-arrow-diagonal.entry.js +0 -14
  488. package/dist/components/eds-icon-arrow-right.entry.js +0 -14
  489. package/dist/components/eds-icon-bluesky.entry.js +0 -14
  490. package/dist/components/eds-icon-chevron-down.entry.js +0 -14
  491. package/dist/components/eds-icon-chevron-left.entry.js +0 -14
  492. package/dist/components/eds-icon-chevron-right.entry.js +0 -14
  493. package/dist/components/eds-icon-chevron-up.entry.js +0 -14
  494. package/dist/components/eds-icon-close.entry.js +0 -14
  495. package/dist/components/eds-icon-copy.entry.js +0 -14
  496. package/dist/components/eds-icon-eu.entry.js +0 -14
  497. package/dist/components/eds-icon-facebook.entry.js +0 -14
  498. package/dist/components/eds-icon-gitlab.entry.js +0 -14
  499. package/dist/components/eds-icon-linkedin.entry.js +0 -14
  500. package/dist/components/eds-icon-loader.entry.js +0 -14
  501. package/dist/components/eds-icon-mastodon.entry.js +0 -14
  502. package/dist/components/eds-icon-menu.entry.js +0 -14
  503. package/dist/components/eds-icon-more.entry.js +0 -14
  504. package/dist/components/eds-icon-search.entry.js +0 -14
  505. package/dist/components/eds-icon-success.entry.js +0 -14
  506. package/dist/components/eds-icon-twitter.entry.js +0 -14
  507. package/dist/components/eds-icon-user.entry.js +0 -14
  508. package/dist/components/eds-icon-wrapper.entry.js +0 -36
  509. package/dist/components/eds-icon-youtube.entry.js +0 -14
  510. package/dist/components/eds-img.entry.js +0 -53
  511. package/dist/components/eds-input-footer.entry.js +0 -17
  512. package/dist/components/eds-input-label.entry.js +0 -16
  513. package/dist/components/eds-input-range.entry.js +0 -35
  514. package/dist/components/eds-input-search.entry.js +0 -37
  515. package/dist/components/eds-input-select.entry.js +0 -26
  516. package/dist/components/eds-input.entry.js +0 -64
  517. package/dist/components/eds-link.entry.js +0 -207
  518. package/dist/components/eds-login.entry.js +0 -68
  519. package/dist/components/eds-logo.entry.js +0 -72
  520. package/dist/components/eds-matomo-notice.entry.js +0 -105
  521. package/dist/components/eds-modal.entry.js +0 -42
  522. package/dist/components/eds-navigator.entry.js +0 -39
  523. package/dist/components/eds-pagination.entry.js +0 -207
  524. package/dist/components/eds-rating.entry.js +0 -53
  525. package/dist/components/eds-section-core.entry.js +0 -19
  526. package/dist/components/eds-section-heading.entry.js +0 -37
  527. package/dist/components/eds-social-networks.entry.js +0 -61
  528. package/dist/components/eds-svg-repository.entry.js +0 -28
  529. package/dist/components/eds-tab.entry.js +0 -36
  530. package/dist/components/eds-table.entry.js +0 -138
  531. package/dist/components/eds-tabs-content.entry.js +0 -129
  532. package/dist/components/eds-tabs.entry.js +0 -118
  533. package/dist/components/eds-tag.entry.js +0 -40
  534. package/dist/components/eds-toast-manager.entry.js +0 -41
  535. package/dist/components/eds-toast.entry.js +0 -49
  536. package/dist/components/eds-tooltip.entry.js +0 -95
  537. package/dist/components/eds-user-modal.entry.js +0 -43
  538. package/dist/components/eds-user.entry.js +0 -86
  539. package/dist/components/gradient-primary-palette.entry.js +0 -41
  540. package/dist/components/gradient-secondary-palette.entry.js +0 -75
  541. package/dist/components/gradient-support-palette.entry.js +0 -59
  542. package/dist/components/incorrect-use-of-colors.entry.js +0 -46
  543. package/dist/components/index-144c9ae8.js +0 -46
  544. package/dist/components/index-360dc790.js +0 -401
  545. package/dist/components/index-a9afa43f.js +0 -1802
  546. package/dist/components/index-b384416e.js +0 -3023
  547. package/dist/components/index3.js +0 -46
  548. package/dist/components/index4.js +0 -1802
  549. package/dist/components/keycloak-b647d452.js +0 -1903
  550. package/dist/components/logo-space.entry.js +0 -16
  551. package/dist/components/logo-variations-horizontal.entry.js +0 -26
  552. package/dist/components/logo-variations-vertical.entry.js +0 -26
  553. package/dist/components/logo-wrong-usage.entry.js +0 -16
  554. package/dist/components/p-0a6262b7.entry.js +0 -1
  555. package/dist/components/p-145d8e4d.entry.js +0 -1
  556. package/dist/components/p-1a1b8e28.entry.js +0 -1
  557. package/dist/components/p-1d94d663.entry.js +0 -1
  558. package/dist/components/p-219d9f68.entry.js +0 -1
  559. package/dist/components/p-25eb1801.entry.js +0 -1
  560. package/dist/components/p-2b14f03a.entry.js +0 -1
  561. package/dist/components/p-3048bdec.entry.js +0 -1
  562. package/dist/components/p-42dfb426.entry.js +0 -1
  563. package/dist/components/p-49a5eef5.entry.js +0 -1
  564. package/dist/components/p-52a487ee.entry.js +0 -1
  565. package/dist/components/p-55444767.entry.js +0 -1
  566. package/dist/components/p-5b900a2c.entry.js +0 -1
  567. package/dist/components/p-5edc806a.entry.js +0 -1
  568. package/dist/components/p-64d4a6e0.entry.js +0 -1
  569. package/dist/components/p-6f601454.entry.js +0 -1
  570. package/dist/components/p-763cbe2f.entry.js +0 -1
  571. package/dist/components/p-77a81dfa.entry.js +0 -1
  572. package/dist/components/p-7a2b35b4.entry.js +0 -1
  573. package/dist/components/p-81d2a9be.entry.js +0 -1
  574. package/dist/components/p-8c1be2b6.entry.js +0 -1
  575. package/dist/components/p-923e4d23.entry.js +0 -1
  576. package/dist/components/p-9c74a5dd.entry.js +0 -1
  577. package/dist/components/p-abcdf35f.js +0 -1
  578. package/dist/components/p-ac083317.entry.js +0 -1
  579. package/dist/components/p-ad79cc3c.entry.js +0 -1
  580. package/dist/components/p-b4055691.entry.js +0 -1
  581. package/dist/components/p-bfd2fdf1.entry.js +0 -1
  582. package/dist/components/p-c3c61db1.entry.js +0 -1
  583. package/dist/components/p-caf2af08.entry.js +0 -1
  584. package/dist/components/p-d80de13e.entry.js +0 -1
  585. package/dist/components/p-e04097a2.entry.js +0 -1
  586. package/dist/components/p-e2e715a2.entry.js +0 -1
  587. package/dist/components/p-e639818b.entry.js +0 -1
  588. package/dist/components/p-e80f4f24.js +0 -1
  589. package/dist/components/p-ec95188c.entry.js +0 -1
  590. package/dist/components/p-f04946a5.entry.js +0 -1
  591. package/dist/components/shadow-css-423dab2c.js +0 -332
  592. package/dist/components/token-list.entry.js +0 -249
  593. package/dist/components/token-radii.entry.js +0 -21
  594. package/dist/components/token-ratios.entry.js +0 -25
  595. package/dist/components/token-shadows.entry.js +0 -30
  596. package/dist/components/token-spacing.entry.js +0 -12
  597. package/dist/components/token-typography.entry.js +0 -226
  598. package/dist/esm/color-primary-palette.entry.js +0 -39
  599. package/dist/esm/color-secondary-palette.entry.js +0 -64
  600. package/dist/esm/color-support-palette.entry.js +0 -55
  601. package/dist/esm/eds-avatar.entry.js +0 -69
  602. package/dist/esm/eds-block-break.entry.js +0 -16
  603. package/dist/esm/eds-breadcrumb.entry.js +0 -148
  604. package/dist/esm/eds-button.entry.js +0 -229
  605. package/dist/esm/eds-card-desc.entry.js +0 -22
  606. package/dist/esm/eds-card-title.entry.js +0 -52
  607. package/dist/esm/eds-dropdown.entry.js +0 -125
  608. package/dist/esm/eds-footer.entry.js +0 -45
  609. package/dist/esm/eds-fullscreen-menu.entry.js +0 -95
  610. package/dist/esm/eds-header.entry.js +0 -92
  611. package/dist/esm/eds-icon-wrapper.entry.js +0 -36
  612. package/dist/esm/eds-img.entry.js +0 -53
  613. package/dist/esm/eds-input-field.entry.js +0 -68
  614. package/dist/esm/eds-input-footer.entry.js +0 -17
  615. package/dist/esm/eds-input-label.entry.js +0 -16
  616. package/dist/esm/eds-input-range.entry.js +0 -35
  617. package/dist/esm/eds-input-search.entry.js +0 -37
  618. package/dist/esm/eds-input-select.entry.js +0 -26
  619. package/dist/esm/eds-input.entry.js +0 -64
  620. package/dist/esm/eds-link.entry.js +0 -207
  621. package/dist/esm/eds-logo.entry.js +0 -72
  622. package/dist/esm/eds-section-core.entry.js +0 -19
  623. package/dist/esm/eds-section-heading.entry.js +0 -37
  624. package/dist/esm/eds-social-networks.entry.js +0 -61
  625. package/dist/esm/eds-table.entry.js +0 -138
  626. package/dist/esm/eds-tag.entry.js +0 -40
  627. package/dist/esm/eds-toast-manager.entry.js +0 -41
  628. package/dist/esm/eds-toast.entry.js +0 -49
  629. package/dist/esm/eds-user-modal.entry.js +0 -43
  630. package/dist/esm/eds-user.entry.js +0 -86
  631. package/dist/esm/gradient-primary-palette.entry.js +0 -41
  632. package/dist/esm/gradient-secondary-palette.entry.js +0 -75
  633. package/dist/esm/gradient-support-palette.entry.js +0 -59
  634. package/dist/esm/index-144c9ae8.js +0 -46
  635. package/dist/esm/index-360dc790.js +0 -401
  636. package/dist/esm/index-a9afa43f.js +0 -1802
  637. package/dist/esm/index-b384416e.js +0 -3416
  638. package/dist/esm/keycloak-b647d452.js +0 -1903
  639. package/dist/esm/logo-variations-horizontal.entry.js +0 -26
  640. package/dist/esm/logo-variations-vertical.entry.js +0 -26
  641. package/dist/esm/shadow-css-423dab2c.js +0 -332
  642. package/dist/esm/toastManager-b716afd8.js +0 -31
  643. package/dist/esm/token-list.entry.js +0 -249
  644. package/dist/esm/token-radii.entry.js +0 -21
  645. package/dist/esm/token-shadows.entry.js +0 -30
  646. /package/dist/cjs/{toastManager-1fb1a402.js → toastManager-4e9535f3.js} +0 -0
  647. /package/dist/collection/shared-ui/eds-social-networks/{eds-social-network.css → eds-social-networks.css} +0 -0
  648. /package/dist/{components/toastManager-b716afd8.js → esm/toastManager-d9eee791.js} +0 -0
@@ -60,8 +60,10 @@
60
60
  "components/eds-tab/eds-tab.js",
61
61
  "components/eds-table/eds-table.js",
62
62
  "components/eds-tag/eds-tag.js",
63
+ "components/eds-timeline/eds-timeline.js",
63
64
  "components/eds-toast/eds-toast.js",
64
65
  "components/eds-tooltip/eds-tooltip.js",
66
+ "components/eds-trl/eds-trl.js",
65
67
  "eds-docs-ui/colors/color-palette/primary.js",
66
68
  "eds-docs-ui/colors/color-palette/secondary.js",
67
69
  "eds-docs-ui/colors/color-palette/support.js",
@@ -79,6 +81,7 @@
79
81
  "eds-docs-ui/eds-components-section/eds-components-section.js",
80
82
  "eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js",
81
83
  "eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js",
84
+ "eds-docs-ui/eds-logo-variations/eds-logo-variations.js",
82
85
  "eds-docs-ui/eds-svg-repository/eds-svg-repository.js",
83
86
  "eds-docs-ui/logo/logo-space/logo-space.js",
84
87
  "eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js",
@@ -90,10 +90,10 @@ export class EdsAccordion {
90
90
  */
91
91
  render() {
92
92
  const minHeightContentClass = this.minHeightContent ? 'min-h-56' : '';
93
- return (h("div", { key: 'fc5727e75b74058ee2ce86f99f77cf0b09fca4aa', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
93
+ return (h("div", { key: '1f8ea188c4b39f6d1a8d10cdbf43d3df88d1281f', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
94
94
  ${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
95
95
  ${this.switchBg ? 'hover:bg-inverse' : ''}
96
- ${minHeightContentClass}` }, h("h3", { key: 'e58c2839cf6ee75be7752acc5c54497fe8bf3dde', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), h("div", { key: '55724b741d8654b66da22c88a764cca1af240e78', class: "ml-auto" }, h("eds-button", { key: '9020e6cf183bdbc6dc83fe5c7d387f53e248bc98', id: "accordionId", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-controls": "accordionId", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '2e0510604a57a9f4c9aee0de3c9b295e22946363', class: `w-full` }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: 'f39f19fe2e1a6489853b5fea2ac2da2b9e954787', id: "sectionId", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '91c64ddbc22197fb929f55f8b6a9022c92ed729e', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, h("span", { key: 'c1c496948b8bfdc22573b9ec83dfbaab484db901', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '758757e3cb9d4d71ecfab9764cffda697fabeaf8' })))))));
96
+ ${minHeightContentClass}` }, h("h3", { key: '4490bdc1a18b99850e8db8ae1c38fcb37912ec0d', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), h("div", { key: '82df433a9cc6805a735300fd1bb52f41c639c992', class: "ml-auto" }, h("eds-button", { key: '9965d5eecfa02fbea08c23c44d325417767f6495', id: "accordionId", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-controls": "accordionId", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '7ab8d2d07d55fa05c5e5647d1d00d1165f0d40ce', class: `w-full` }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: 'cb122dd5433d7012cba6f3769f79e92a155c45d7', id: "sectionId", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '0c2e1d9b38f21f0cb7f50aa3923edcc448418e3f', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, h("span", { key: 'd119c88d54e8d5e83d4cc3d4d16d1cd53d689bc7', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: 'b2a6917ec65bc808389a2d1c77cd1183f00cbaa1' })))))));
97
97
  }
98
98
  static get is() { return "eds-accordion"; }
99
99
  static get encapsulation() { return "shadow"; }
@@ -38,22 +38,23 @@ export class EdsBreadcrumb {
38
38
  this.maxVisibleItems = 6;
39
39
  }
40
40
  /**
41
- * Watch for changes to the `items` prop and parse it when it changes.
42
- * Converts the `items` string into an array of objects if it is a JSON string.
43
- * If the format is invalid, it logs an error and sets an empty array.
44
- *
45
- * @param newValue - The new value for the `items` prop.
41
+ * Watches for changes to the `items` prop and parses it.
46
42
  */
47
43
  parseItems(newValue) {
48
- try {
49
- if (typeof newValue === 'string') {
50
- this.parsedItems = JSON.parse(newValue);
44
+ if (typeof newValue === 'string') {
45
+ try {
46
+ const parsed = JSON.parse(newValue);
47
+ this.parsedItems = Array.isArray(parsed) ? parsed : [];
51
48
  }
52
- else {
53
- this.parsedItems = newValue;
49
+ catch (e) {
50
+ console.error('Error parsing breadcrumb items:', e);
51
+ this.parsedItems = [];
54
52
  }
55
53
  }
56
- catch (e) {
54
+ else if (Array.isArray(newValue)) {
55
+ this.parsedItems = newValue;
56
+ }
57
+ else {
57
58
  this.parsedItems = [];
58
59
  }
59
60
  }
@@ -141,7 +142,7 @@ export class EdsBreadcrumb {
141
142
  */
142
143
  render() {
143
144
  const itemsToRender = this.getTruncatedItems();
144
- return (h("nav", { key: 'b3f515670374a7451981638d658f8e37f07ab10c', "aria-label": "Breadcrumb" }, h("ol", { key: '999b2035f3c996016e753be3826881a11054e184', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
145
+ return (h("nav", { key: '1491f7e548ba859e0661129de2ec320552a2bb42', "aria-label": "Breadcrumb" }, h("ol", { key: '93525aad588295e9f2a3f02d143824c7c58ea512', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
145
146
  const isLast = index === itemsToRender.length - 1;
146
147
  return (h("li", { class: "flex items-center" }, !item.isHidden ? (h("eds-link", { label: item.label, url: item.url, intent: this.intent, current: isLast, "aria-label": item.label, size: "small", "icon-small": "false" })) : (h("span", { class: "truncate px-2 ", "aria-hidden": "true" }, "...")), !isLast && !item.isHidden && (h("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }))));
147
148
  }))));
@@ -226,7 +226,7 @@ export class EdsButton {
226
226
  show: !this.loading
227
227
  });
228
228
  const ElementType = this.elementType;
229
- return (h(ElementType, { key: '04381724e90b1f71960832e705f3a1db46e3a200', "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.elementType === 'button' ? this.disabled : undefined, disabled: this.elementType === 'button' ? this.disabled : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event) }, this.label && h("span", { key: 'f9b77e3a0eee7afa676fa2b7a4bdce8b3ac124cd', class: this.loading ? 'opacity-0' : '' }, this.label), this.loading && (h("span", { key: '0e645a9f7c3d8e87f209ccd1a556ead976143094', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: 'e7810efb3f5e9853f67afb9491f35b19509700e9', class: "loader", style: {
229
+ return (h(ElementType, { key: '1053db0332f574db35e58453d789567eaf235d30', "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.elementType === 'button' ? this.disabled : undefined, disabled: this.elementType === 'button' ? this.disabled : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event) }, this.label && h("span", { key: 'ff95b889b008075d46b89a1d23e51ad8afa20918', class: this.loading ? 'opacity-0' : '' }, this.label), this.loading && (h("span", { key: '942f3fffcaef08defd3d0ef0dbb275b9d189c907', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: '91e53dcee9d4f2a842ea922498c9da7f15ffe109', class: "loader", style: {
230
230
  border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
231
231
  borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
232
232
  } }))), this.icon ? h("eds-icon-wrapper", { class: iconClasses, icon: this.icon }) : null));
@@ -254,7 +254,7 @@ export class EdsButton {
254
254
  "references": {}
255
255
  },
256
256
  "required": false,
257
- "optional": true,
257
+ "optional": false,
258
258
  "docs": {
259
259
  "tags": [],
260
260
  "text": "The label text to be displayed inside the button."
@@ -306,7 +306,7 @@ export class EdsButton {
306
306
  "references": {}
307
307
  },
308
308
  "required": false,
309
- "optional": true,
309
+ "optional": false,
310
310
  "docs": {
311
311
  "tags": [],
312
312
  "text": "The visual intent or style of the button.\nOptions include 'primary', 'secondary', 'tertiary', 'ghost', and 'ghostInverse'."
@@ -14,6 +14,7 @@ import { h } from "@stencil/core";
14
14
  */
15
15
  export class EdsCardGeneric {
16
16
  constructor() {
17
+ this.parentContext = null; // Accepts the entire event detail or null
17
18
  this.cardTitle = undefined;
18
19
  this.url = undefined;
19
20
  this.description = undefined;
@@ -47,6 +48,15 @@ export class EdsCardGeneric {
47
48
  }
48
49
  }
49
50
  }
51
+ handleParentContext(event) {
52
+ if (event.target !== this.el) {
53
+ // Ignore the event if it's not targeted at this specific instance
54
+ return;
55
+ }
56
+ //console.log(event.detail);
57
+ this.parentContext = event.detail;
58
+ event.stopPropagation();
59
+ }
50
60
  /**
51
61
  * Parses the `tags` prop into an array of link objects.
52
62
  * Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
@@ -81,13 +91,14 @@ export class EdsCardGeneric {
81
91
  var _a;
82
92
  sendAnalytics({
83
93
  category: 'ui-component',
94
+ parentContext: this.parentContext,
84
95
  tag: this.el.tagName.toLowerCase(),
85
96
  name: ((_a = this.cardTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
86
97
  action: 'click'
87
98
  });
88
99
  }
89
100
  render() {
90
- return (h("article", { key: 'e8965da0703c85bcba94c324028c0d8c0b6c8e13', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '54b1fff3f3a32c26ef68cd33c85c2f2fd8a0fc52', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '8ee395e5f84e6bdf7651554d9806147d03a9324c', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'd73e14a888d2015a39f86913b6cc9428fda67f59', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
101
+ return (h("article", { key: '17d1f00f232a4436756fa3846684bbae8c716036', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: 'd99ee1716c4e308a3ea446f0f7cedfaeac30f2ed', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: 'c5bdc76e68a8d660609630aa8184ec3a9508ab61', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'fa993e3c60d357eb0d9a63e612bdd2bf026e7a85', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
91
102
  }
92
103
  static get is() { return "eds-card-generic"; }
93
104
  static get encapsulation() { return "shadow"; }
@@ -321,4 +332,13 @@ export class EdsCardGeneric {
321
332
  };
322
333
  }
323
334
  static get elementRef() { return "el"; }
335
+ static get listeners() {
336
+ return [{
337
+ "name": "parentContext",
338
+ "method": "handleParentContext",
339
+ "target": undefined,
340
+ "capture": false,
341
+ "passive": false
342
+ }];
343
+ }
324
344
  }
@@ -6193,6 +6193,16 @@
6193
6193
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
6194
6194
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
6195
6195
  }
6196
+ .space-y-4 {
6197
+ --tw-space-y-reverse: 0;
6198
+ margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
6199
+ margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
6200
+ }
6201
+ .space-y-8 {
6202
+ --tw-space-y-reverse: 0;
6203
+ margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
6204
+ margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
6205
+ }
6196
6206
  .overflow-hidden {
6197
6207
  overflow: hidden;
6198
6208
  }
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { toast } from "../../utils/toastManager";
2
3
  /**
3
4
  * `EdsForm` is a comprehensive form component designed to handle form submission with validation,
4
5
  * error handling, and customizable fields. It offers several options for handling alerts and
@@ -16,23 +17,50 @@ import { h } from "@stencil/core";
16
17
  export class EdsForm {
17
18
  constructor() {
18
19
  this.handleChange = (e, field) => {
19
- if (field.type === 'text') {
20
- const target = e.target;
21
- const { name, type, required, maxlength } = field;
22
- const value = target.value;
23
- const fieldErrors = this.validateField(name, value, type, required, maxlength);
20
+ const target = e.target;
21
+ // Update the field's value in state.
22
+ this.values = Object.assign(Object.assign({}, this.values), { [field.name]: target.value });
23
+ // Create a copy of the current errors.
24
+ const newErrors = Object.assign({}, this.errors);
25
+ // Validate only the changed field.
26
+ if (field.type === 'checkbox' || field.type === 'radio') {
27
+ if (field.options) {
28
+ // Validate group of checkboxes or radio buttons.
29
+ const fieldErrors = this.validateFieldGroup(field.name, field.type, field.required);
30
+ if (fieldErrors.length > 0) {
31
+ newErrors[field.name] = fieldErrors;
32
+ }
33
+ else {
34
+ delete newErrors[field.name];
35
+ }
36
+ }
37
+ else {
38
+ // Validate a single checkbox.
39
+ const fieldErrors = this.validateSingleBox(field.name, field.required);
40
+ if (fieldErrors.length > 0) {
41
+ newErrors[field.name] = fieldErrors;
42
+ }
43
+ else {
44
+ delete newErrors[field.name];
45
+ }
46
+ }
47
+ }
48
+ else {
49
+ // Validate standard text (or similar) inputs.
50
+ const fieldErrors = this.validateField(field.name, target.value, field.type, field.required, field.maxlength);
24
51
  if (fieldErrors.length > 0) {
25
- this.errors = Object.assign(Object.assign({}, this.errors), { [name]: fieldErrors });
26
- this.hasError = true;
52
+ newErrors[field.name] = fieldErrors;
27
53
  }
28
54
  else {
29
- delete this.errors[name];
30
- this.hasError = Object.keys(this.errors).length > 0;
55
+ delete newErrors[field.name];
31
56
  }
32
- this.alertMessage = null;
33
57
  }
58
+ // Update the errors state and hasError flag.
59
+ this.errors = newErrors;
60
+ this.hasError = Object.keys(newErrors).length > 0;
34
61
  };
35
62
  this.handleSubmit = async (e) => {
63
+ var _a;
36
64
  e.preventDefault();
37
65
  if (this.isSubmitting) {
38
66
  return;
@@ -58,6 +86,9 @@ export class EdsForm {
58
86
  if (this.setFormUrl && typeof window !== 'undefined') {
59
87
  formData.set('form_url', window.location.href);
60
88
  }
89
+ if (this.authUser) {
90
+ formData.set('form_user', (_a = this.authUser) === null || _a === void 0 ? void 0 : _a.email);
91
+ }
61
92
  /*const formDataObject = Object.fromEntries((formData as any).entries());
62
93
  console.log(JSON.stringify(formDataObject));*/
63
94
  const headers = this.coupleAuth
@@ -73,18 +104,21 @@ export class EdsForm {
73
104
  if (!response.ok) {
74
105
  const errorData = await response.json();
75
106
  this.hasError = true;
76
- this.alertMessage = errorData.error || this.errorMessage;
107
+ toast.show(errorData.error || this.errorMessage, 'error');
108
+ //this.alertMessage = errorData.error || this.errorMessage;
77
109
  return;
78
110
  }
79
111
  const data = await response.json();
80
112
  this.formSubmitted = true;
81
- this.alertMessage = data.message || this.successMessage;
113
+ //this.alertMessage = data.message || this.successMessage;
114
+ toast.show(data.message || this.successMessage, 'success');
82
115
  this.formEl.reset();
83
116
  }
84
117
  catch (err) {
85
118
  this.hasError = true;
86
119
  //when api is unreachable will trigger the error message
87
- this.alertMessage = `${this.errorMessage}:: ${err}`;
120
+ //this.alertMessage = `${err}`;
121
+ toast.show(`${err}`, 'error');
88
122
  }
89
123
  finally {
90
124
  this.isSubmitting = false;
@@ -97,9 +131,11 @@ export class EdsForm {
97
131
  this.submitBtnLabel = 'Submit';
98
132
  this.successMessage = 'Your message has been sent.';
99
133
  this.errorMessage = 'Some fields in your form are incorrect.';
134
+ this.submitBtnHintMessage = 'To participate, please sign in using your EBRAINS account. If you do not have an account yet, you can easily create one on the EBRAINS portal.';
100
135
  this.endpoint = undefined;
101
136
  this.name = 'form';
102
137
  this.fields = undefined;
138
+ this.values = {};
103
139
  this.coupleAuth = false;
104
140
  this.formSubmitted = false;
105
141
  this.hasError = false;
@@ -130,6 +166,14 @@ export class EdsForm {
130
166
  });
131
167
  linkElement.dispatchEvent(event);
132
168
  }
169
+ // Visibility helper
170
+ isFieldVisible(field) {
171
+ if (!field.condition) {
172
+ return true;
173
+ }
174
+ const parentValue = this.values[field.condition.field];
175
+ return parentValue === field.condition.value;
176
+ }
133
177
  // Validate individual fields dynamically
134
178
  validateField(name, value, type, required, maxLength) {
135
179
  const errors = [];
@@ -145,7 +189,11 @@ export class EdsForm {
145
189
  return errors;
146
190
  }
147
191
  validateFieldGroup(name, _type, required) {
148
- const groupElements = Array.from(this.formEl.querySelectorAll(`[name="${name}"]`));
192
+ // Find all eds-input-field components that contain this specific name
193
+ const groupFields = Array.from(this.formEl.querySelectorAll('eds-input-field')).filter((edsField) => { var _a, _b; return ((_b = (_a = edsField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`input[name="${name}"]`)) === null || _b === void 0 ? void 0 : _b.length) > 0; });
194
+ // Collect all input elements with the matching name inside those fields
195
+ const groupElements = groupFields.flatMap((edsField) => { var _a; return Array.from(((_a = edsField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`input[name="${name}"]`)) || []); });
196
+ //console.log(`validateFieldGroup - Found ${groupElements.length} elements for ${name}:`, groupElements);
149
197
  const isChecked = groupElements.some((el) => el.checked);
150
198
  const errors = [];
151
199
  if (required && !isChecked) {
@@ -154,8 +202,19 @@ export class EdsForm {
154
202
  return errors;
155
203
  }
156
204
  validateSingleBox(name, required) {
205
+ var _a;
157
206
  const errors = [];
158
- const checkboxElement = this.formEl.querySelector(`[name='${name}']`);
207
+ // Find the eds-input-field that contains the input
208
+ const edsField = Array.from(this.formEl.querySelectorAll('eds-input-field')).find((field) => { var _a; return (_a = field.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`[name="${name}"]`); });
209
+ // If not found, handle the error or return early.
210
+ if (!edsField) {
211
+ if (required) {
212
+ errors.push(`${name} is required.`);
213
+ }
214
+ return errors;
215
+ }
216
+ // Now query within the shadow root of the found component.
217
+ const checkboxElement = (_a = edsField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`[name="${name}"]`);
159
218
  if (required && checkboxElement && !checkboxElement.checked) {
160
219
  errors.push(`${name} is required.`);
161
220
  }
@@ -225,6 +284,18 @@ export class EdsForm {
225
284
  const values = checkboxes.map((checkbox) => checkbox.value);
226
285
  formData.append(input.name, values.join(',')); // Join multiple values with a comma
227
286
  }
287
+ else if (input.type === 'file') {
288
+ // Handle file uploads.
289
+ const fileInput = input;
290
+ if (fileInput.files && fileInput.files.length > 0) {
291
+ // If multiple files are allowed, you can append them all.
292
+ Array.from(fileInput.files).forEach((file) => {
293
+ // You can either append each file under the same name (if your backend expects an array)
294
+ // or you can give them unique names. Here we use the same name.
295
+ formData.append(fileInput.name, file);
296
+ });
297
+ }
298
+ }
228
299
  else {
229
300
  // Handle other input types
230
301
  formData.append(input.name, input.value);
@@ -240,12 +311,13 @@ export class EdsForm {
240
311
  render() {
241
312
  const hiddenFields = this.parseFields.filter((field) => field.type === 'hidden');
242
313
  const otherFields = this.parseFields.filter((field) => field.type !== 'hidden');
243
- return (h("form", { key: '8c3e1ba967145566e669ae821bc373d727f47ff7', ref: (el) => (this.formEl = el), enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, h("div", { key: '0cebec16d61d15b296fca220af6228744042aa30' }, h("slot", { key: '20c166f9d5905b228cb876d74b48c9d229d294e5' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
314
+ return (h("form", { key: 'fdb974998dfd27c0d857d0fbfbbe9e769e55d7bb', ref: (el) => (this.formEl = el), enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, h("div", { key: 'dfbe5adce9e5685736169e88408590088aba5b1e' }, h("slot", { key: 'f5c5356a8b87bf63fdd21901da81291c596f1487' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
244
315
  var _a, _b;
245
- return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'),
246
- // @ts-ignore
247
- onInput: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
248
- })), this.submitBtn && (h("div", { key: 'e7f2bfd9a6a9f5822553b421fc5e6e5cee53682c', class: "mt-20" }, h("eds-button", { key: 'da2663e6d033fd610e2a8b6bc66b1316b3f40f71', intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || (this.coupleAuth && !this.isAuthenticated), loading: this.isSubmitting, onClick: (e) => this.handleSubmit(e) }))), this.alertMessage && (this.formSubmitted || this.hasError) && (h("div", { key: '19c6803d24e9dd3d7299fe31f3536b48b1839eaa', class: "mt-20" }, h("eds-alert", { key: '0e613546e7a9d58ada6ce9dbf2a6da4b2a608359', message: this.alertMessage, intent: this.hasError ? 'error' : 'success', direction: "horizontal" })))));
316
+ if (!this.isFieldVisible(field)) {
317
+ return null;
318
+ }
319
+ return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
320
+ })), this.submitBtn && (h("div", { key: '2c3165a56d5bec9135a8695cae1b87981167c949', class: "mt-20" }, h("eds-button", { key: 'f311628ff58cd03ebbd0f7ccb0623df817d416da', intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || (this.coupleAuth && !this.isAuthenticated), loading: this.isSubmitting, onClick: (e) => this.handleSubmit(e) }), this.coupleAuth && !this.isAuthenticated ? (h("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage)) : null)), this.alertMessage && (this.formSubmitted || this.hasError) && (h("div", { key: '1c7adc93081294eb86b71e808933215fe04fa033', class: "mt-20" }, h("eds-alert", { key: 'd221dd0674be734a8b7382ea2eeb97509f6bc3a6', message: this.alertMessage, intent: this.hasError ? 'error' : 'success', direction: "horizontal" })))));
249
321
  }
250
322
  static get is() { return "eds-form"; }
251
323
  static get originalStyleUrls() {
@@ -368,6 +440,24 @@ export class EdsForm {
368
440
  "reflect": false,
369
441
  "defaultValue": "'Some fields in your form are incorrect.'"
370
442
  },
443
+ "submitBtnHintMessage": {
444
+ "type": "string",
445
+ "mutable": false,
446
+ "complexType": {
447
+ "original": "string",
448
+ "resolved": "string",
449
+ "references": {}
450
+ },
451
+ "required": false,
452
+ "optional": true,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": "The message displayed when the form submission fails."
456
+ },
457
+ "attribute": "submit-btn-hint-message",
458
+ "reflect": false,
459
+ "defaultValue": "'To participate, please sign in using your EBRAINS account. If you do not have an account yet, you can easily create one on the EBRAINS portal.'"
460
+ },
371
461
  "endpoint": {
372
462
  "type": "string",
373
463
  "mutable": false,
@@ -442,6 +532,7 @@ export class EdsForm {
442
532
  }
443
533
  static get states() {
444
534
  return {
535
+ "values": {},
445
536
  "formSubmitted": {},
446
537
  "hasError": {},
447
538
  "errors": {},