@ebrains/components 0.5.0-alpha.0 → 0.7.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 (637) hide show
  1. package/dist/cjs/{analytics-223ea8e5.js → analytics-d8fb3fdd.js} +9 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components.cjs.js +2 -2
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  5. package/dist/cjs/eds-accordion_22.cjs.entry.js +1959 -0
  6. package/dist/cjs/eds-alert.cjs.entry.js +97 -0
  7. package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
  8. package/dist/cjs/eds-avatar_4.cjs.entry.js +2 -9
  9. package/dist/cjs/eds-breadcrumb.cjs.entry.js +135 -0
  10. package/dist/cjs/eds-card-generic.cjs.entry.js +5 -17
  11. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-card-section.cjs.entry.js +6 -22
  13. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
  19. package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
  20. package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
  21. package/dist/cjs/{eds-dropdown_2.cjs.entry.js → eds-dropdown.cjs.entry.js} +9 -42
  22. package/dist/cjs/eds-feedback.cjs.entry.js +66 -0
  23. package/dist/cjs/eds-form.cjs.entry.js +238 -255
  24. package/dist/cjs/eds-frame.cjs.entry.js +32 -32
  25. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  33. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  35. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  37. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  39. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  43. package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
  44. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  45. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
  46. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
  47. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  49. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  50. package/dist/{components/keycloak.js → cjs/eds-login_2.cjs.entry.js} +144 -1
  51. package/dist/cjs/eds-logo-variations.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-modal.cjs.entry.js +16 -4
  53. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-rating.cjs.entry.js +64 -0
  55. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  56. package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
  57. package/dist/cjs/eds-steps.cjs.entry.js +55 -0
  58. package/dist/cjs/eds-svg-repository.cjs.entry.js +9 -3
  59. package/dist/cjs/eds-switch.cjs.entry.js +38 -0
  60. package/dist/cjs/eds-tabs.cjs.entry.js +11 -25
  61. package/dist/cjs/eds-timeline.cjs.entry.js +4 -22
  62. package/dist/cjs/eds-toast-manager.cjs.entry.js +46 -0
  63. package/dist/cjs/eds-toast.cjs.entry.js +76 -0
  64. package/dist/cjs/eds-tooltip.cjs.entry.js +3 -3
  65. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  66. package/dist/cjs/eds-user.cjs.entry.js +9 -79
  67. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +2 -2
  68. package/dist/cjs/formUtils-4315a99c.js +228 -0
  69. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  70. package/dist/cjs/{index-f08e4f5c.js → index-2f63169d.js} +57 -28
  71. package/dist/cjs/loader.cjs.js +2 -2
  72. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  73. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  74. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  75. package/dist/cjs/sharedUtils-8e287250.js +21 -0
  76. package/dist/cjs/star-942eee9f.js +7 -0
  77. package/dist/cjs/thumbs-down-714036b1.js +7 -0
  78. package/dist/cjs/thumbs-up-411babb8.js +8 -0
  79. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  80. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  81. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  82. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  83. package/dist/collection/collection-manifest.json +10 -5
  84. package/dist/collection/components/eds-accordion/eds-accordion.js +7 -7
  85. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
  86. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +3 -17
  87. package/dist/collection/components/eds-button/eds-button.css +1 -19
  88. package/dist/collection/components/eds-button/eds-button.js +21 -16
  89. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +3 -15
  90. package/dist/collection/components/eds-dropdown/eds-dropdown.js +24 -2
  91. package/dist/collection/components/eds-form/eds-form.js +278 -268
  92. package/dist/collection/components/eds-form-v2/eds-form-v2.css +7153 -0
  93. package/dist/collection/components/eds-form-v2/eds-form-v2.js +405 -0
  94. package/dist/collection/components/eds-form-v2/eds-form-v2.stories.js +73 -0
  95. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  96. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  97. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  98. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
  110. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
  112. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
  113. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  114. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  115. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  116. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  117. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  118. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  119. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  120. package/dist/collection/components/eds-img/eds-img.js +2 -2
  121. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  122. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  123. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  124. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
  125. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +57 -9
  126. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
  127. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  128. package/dist/collection/components/eds-link/eds-link.css +6793 -6676
  129. package/dist/collection/components/eds-link/eds-link.js +1 -1
  130. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  131. package/dist/collection/components/eds-modal/eds-modal.js +26 -2
  132. package/dist/collection/components/eds-pagination/eds-pagination.js +3 -3
  133. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  134. package/dist/collection/components/eds-rating/eds-rating.css +31 -74
  135. package/dist/collection/components/eds-rating/eds-rating.js +44 -56
  136. package/dist/collection/components/eds-rating/eds-rating.stories.js +18 -51
  137. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  138. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  139. package/dist/collection/components/eds-spinner/eds-spinner.css +17 -0
  140. package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
  141. package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
  142. package/dist/collection/components/eds-steps/eds-steps.css +61 -6
  143. package/dist/collection/components/eds-steps/eds-steps.js +10 -19
  144. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +1 -1
  145. package/dist/collection/components/eds-switch/eds-switch.css +57 -58
  146. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  147. package/dist/collection/components/eds-table/eds-table.js +11 -8
  148. package/dist/collection/components/eds-table/eds-table.stories.js +11 -6
  149. package/dist/collection/components/eds-tag/eds-tag.js +4 -35
  150. package/dist/collection/components/eds-timeline/eds-timeline.js +3 -21
  151. package/dist/collection/components/eds-toast/eds-toast.css +91 -0
  152. package/dist/collection/components/eds-toast/eds-toast.js +18 -9
  153. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  154. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  155. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  156. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  157. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  158. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  159. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  160. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  161. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  162. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  163. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  164. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  165. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  169. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
  170. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  171. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  172. package/dist/collection/eds-docs-ui/eds-frame/eds-frame.css +113 -0
  173. package/dist/collection/{components → eds-docs-ui}/eds-frame/eds-frame.js +47 -76
  174. package/dist/collection/eds-docs-ui/eds-frame/eds-frame.stories.js +52 -0
  175. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
  176. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
  177. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  178. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  179. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  180. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  181. package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +236 -140
  182. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +12 -28
  183. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +2 -2
  184. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
  185. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +87 -0
  186. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
  187. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +155 -0
  188. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +191 -0
  189. package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +121 -0
  190. package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -53
  191. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +3 -28
  192. package/dist/collection/shared-ui/eds-header/eds-header.js +4 -20
  193. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -37
  194. package/dist/collection/shared-ui/eds-login/eds-login.js +34 -10
  195. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +78 -66
  196. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +6 -4
  197. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  198. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
  199. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +124 -0
  200. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
  201. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +7774 -0
  202. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +12 -25
  203. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +17 -30
  204. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +1 -1
  205. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +5 -1
  206. package/dist/collection/shared-ui/eds-user/eds-user.js +17 -150
  207. package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
  208. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
  209. package/dist/collection/utils/api.js +27 -0
  210. package/dist/collection/utils/eds-form/formUtils.js +95 -0
  211. package/dist/collection/utils/eds-form/formValidators.js +64 -0
  212. package/dist/collection/utils/eds-form/individualValidator.js +46 -0
  213. package/dist/collection/utils/eds-form/validateInput.js +23 -0
  214. package/dist/collection/utils/sharedUtils.js +17 -0
  215. package/dist/components/analytics.js +9 -1
  216. package/dist/components/components.css +501 -5
  217. package/dist/components/components.esm.js +1 -1
  218. package/dist/components/correct-use-of-colors.js +1 -1
  219. package/dist/components/eds-accordion2.js +5 -5
  220. package/dist/components/{eds-navigator.d.ts → eds-app-root.d.ts} +4 -4
  221. package/dist/components/eds-app-root.js +89 -0
  222. package/dist/components/eds-breadcrumb.js +3 -17
  223. package/dist/components/eds-button2.js +12 -16
  224. package/dist/components/eds-card-generic2.js +3 -15
  225. package/dist/components/eds-card-section.js +6 -22
  226. package/dist/components/eds-components-section.js +1 -1
  227. package/dist/components/eds-cookies-preference.d.ts +11 -0
  228. package/dist/components/eds-cookies-preference.js +88 -0
  229. package/dist/components/eds-docs-palettes.js +1 -1
  230. package/dist/components/eds-docs-tokens.js +1 -1
  231. package/dist/components/eds-dropdown2.js +8 -3
  232. package/dist/components/{eds-user-modal.d.ts → eds-feedback.d.ts} +4 -4
  233. package/dist/components/eds-feedback.js +105 -0
  234. package/dist/components/eds-footer2.js +3 -13
  235. package/dist/components/{eds-tab.d.ts → eds-form-v2.d.ts} +4 -4
  236. package/dist/components/eds-form-v2.js +317 -0
  237. package/dist/components/eds-form.js +240 -255
  238. package/dist/components/eds-frame.js +33 -34
  239. package/dist/components/eds-fullscreen-menu.js +3 -28
  240. package/dist/components/eds-header.js +4 -20
  241. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  242. package/dist/components/eds-icon-arrow-right.js +1 -1
  243. package/dist/components/eds-icon-bluesky.js +1 -1
  244. package/dist/components/eds-icon-chevron-down.js +1 -1
  245. package/dist/components/eds-icon-chevron-left.js +1 -1
  246. package/dist/components/eds-icon-chevron-right.js +1 -1
  247. package/dist/components/eds-icon-chevron-up.js +1 -1
  248. package/dist/components/eds-icon-close.js +1 -1
  249. package/dist/components/eds-icon-copy.js +1 -1
  250. package/dist/components/eds-icon-eu.js +1 -1
  251. package/dist/components/eds-icon-facebook.js +1 -1
  252. package/dist/components/eds-icon-gitlab.js +1 -1
  253. package/dist/components/eds-icon-linkedin.js +1 -1
  254. package/dist/components/eds-icon-loader.js +1 -1
  255. package/dist/components/eds-icon-mastodon.js +1 -1
  256. package/dist/components/eds-icon-menu.js +1 -1
  257. package/dist/components/eds-icon-more.js +1 -1
  258. package/dist/components/eds-icon-search.js +1 -1
  259. package/dist/components/{eds-tabs-content.d.ts → eds-icon-star.d.ts} +4 -4
  260. package/dist/components/eds-icon-star.js +33 -0
  261. package/dist/components/eds-icon-success.js +1 -1
  262. package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
  263. package/dist/components/eds-icon-thumbs-down.js +33 -0
  264. package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
  265. package/dist/components/eds-icon-thumbs-up.js +33 -0
  266. package/dist/components/eds-icon-twitter.js +1 -1
  267. package/dist/components/eds-icon-user.js +1 -1
  268. package/dist/components/eds-icon-youtube.js +1 -1
  269. package/dist/components/eds-img2.js +2 -2
  270. package/dist/components/eds-input-field2.js +2 -2
  271. package/dist/components/eds-input-footer2.js +1 -1
  272. package/dist/components/eds-input-label2.js +1 -1
  273. package/dist/components/eds-input-range2.js +2 -2
  274. package/dist/components/eds-input-search2.js +24 -9
  275. package/dist/components/eds-input-select2.js +1 -1
  276. package/dist/components/eds-input2.js +2 -2
  277. package/dist/components/eds-link2.js +2 -2
  278. package/dist/components/eds-login.js +1 -118
  279. package/dist/{cjs/keycloak-93fc0315.js → components/eds-login2.js} +128 -7
  280. package/dist/components/eds-logo-variations.js +1 -1
  281. package/dist/components/eds-logo2.js +1 -1
  282. package/dist/components/eds-matomo-notice.js +1 -140
  283. package/dist/components/eds-matomo-notice2.js +130 -0
  284. package/dist/components/eds-modal.js +15 -3
  285. package/dist/components/eds-pagination2.js +2 -2
  286. package/dist/components/eds-progress-bar2.js +1 -1
  287. package/dist/components/eds-rating.js +1 -84
  288. package/dist/components/eds-rating2.js +91 -0
  289. package/dist/components/eds-section-core2.js +1 -1
  290. package/dist/components/eds-section-heading2.js +2 -2
  291. package/dist/components/eds-social-networks2.js +1 -1
  292. package/dist/components/eds-spinner.d.ts +11 -0
  293. package/dist/components/eds-spinner.js +6 -0
  294. package/dist/components/eds-spinner2.js +72 -0
  295. package/dist/components/eds-splash-screen.d.ts +11 -0
  296. package/dist/components/eds-splash-screen.js +6 -0
  297. package/dist/components/eds-splash-screen2.js +78 -0
  298. package/dist/components/eds-steps.js +11 -20
  299. package/dist/components/eds-svg-repository.js +8 -2
  300. package/dist/components/eds-switch.js +2 -2
  301. package/dist/components/eds-table2.js +11 -8
  302. package/dist/components/eds-tabs.js +12 -31
  303. package/dist/components/eds-tag2.js +1 -9
  304. package/dist/components/eds-timeline.js +3 -21
  305. package/dist/components/eds-toast-manager.js +4 -3
  306. package/dist/components/eds-toast2.js +13 -10
  307. package/dist/components/eds-tooltip.js +1 -1
  308. package/dist/components/eds-trl.js +1 -1
  309. package/dist/components/eds-user.js +23 -105
  310. package/dist/components/eds-vertical-stepper.js +1 -1
  311. package/dist/components/formUtils.js +223 -0
  312. package/dist/components/incorrect-use-of-colors.js +1 -1
  313. package/dist/components/logo-space.js +1 -1
  314. package/dist/components/logo-variations-horizontal2.js +1 -1
  315. package/dist/components/logo-variations-vertical2.js +1 -1
  316. package/dist/components/logo-wrong-usage.js +1 -1
  317. package/dist/components/p-033480b2.entry.js +1 -0
  318. package/dist/components/{p-89f600a3.entry.js → p-0443ac40.entry.js} +1 -1
  319. package/dist/components/{p-a2621d66.entry.js → p-066f6d27.entry.js} +1 -1
  320. package/dist/components/p-0e0106fc.entry.js +1 -0
  321. package/dist/components/p-117d180f.entry.js +1 -0
  322. package/dist/components/{p-89227919.js → p-13efafb9.js} +1 -1
  323. package/dist/components/p-20e9ae7f.entry.js +1 -0
  324. package/dist/components/{p-a535838c.entry.js → p-2354daeb.entry.js} +1 -1
  325. package/dist/components/p-2b31ca60.entry.js +1 -0
  326. package/dist/components/p-3368cfd5.entry.js +1 -0
  327. package/dist/components/p-33c5b937.entry.js +1 -0
  328. package/dist/components/p-3af94671.entry.js +1 -0
  329. package/dist/components/{p-b1af5000.entry.js → p-43350dff.entry.js} +2 -2
  330. package/dist/components/p-43b3579a.entry.js +1 -0
  331. package/dist/components/p-467fe746.entry.js +1 -0
  332. package/dist/components/p-46a6042d.entry.js +1 -0
  333. package/dist/components/p-4a860d5b.entry.js +1 -0
  334. package/dist/components/p-4ac27fe7.entry.js +1 -0
  335. package/dist/components/p-4b2e6f03.entry.js +1 -0
  336. package/dist/components/p-4cd69983.entry.js +1 -0
  337. package/dist/components/p-5520a3b6.entry.js +1 -0
  338. package/dist/components/p-552b6a50.entry.js +1 -0
  339. package/dist/components/p-56b4e0fe.entry.js +1 -0
  340. package/dist/components/{p-f36f2aeb.entry.js → p-56ec190f.entry.js} +1 -1
  341. package/dist/components/p-5aff1ea0.entry.js +1 -0
  342. package/dist/components/p-5c12a0df.entry.js +1 -0
  343. package/dist/components/{p-72b42d77.entry.js → p-5e2216ae.entry.js} +1 -1
  344. package/dist/components/p-5e63e8a5.entry.js +1 -0
  345. package/dist/components/p-60e7e745.entry.js +1 -0
  346. package/dist/components/p-62f2f274.entry.js +1 -0
  347. package/dist/components/p-6404e157.entry.js +1 -0
  348. package/dist/components/p-69c5074b.js +1 -0
  349. package/dist/components/p-6fd0c3b3.entry.js +1 -0
  350. package/dist/components/p-77cc7c02.entry.js +1 -0
  351. package/dist/components/p-79c14cf1.entry.js +1 -0
  352. package/dist/components/{p-c034c395.entry.js → p-7dd81017.entry.js} +1 -1
  353. package/dist/components/p-7e0dd5d8.entry.js +1 -0
  354. package/dist/components/p-80dba155.js +1 -0
  355. package/dist/components/{p-b860b4aa.entry.js → p-8154d013.entry.js} +1 -1
  356. package/dist/components/p-86eed1b7.entry.js +1 -0
  357. package/dist/components/p-8b70a350.entry.js +1 -0
  358. package/dist/components/p-8e548691.entry.js +1 -0
  359. package/dist/components/p-90503a64.entry.js +1 -0
  360. package/dist/components/p-90f85604.entry.js +1 -0
  361. package/dist/components/p-94698510.entry.js +1 -0
  362. package/dist/components/p-950ecb1c.entry.js +1 -0
  363. package/dist/components/p-9b9fba38.entry.js +1 -0
  364. package/dist/components/p-9dc879c9.entry.js +1 -0
  365. package/dist/components/{p-b1de9a6c.entry.js → p-9eb2e870.entry.js} +1 -1
  366. package/dist/components/p-9ebc84d6.entry.js +1 -0
  367. package/dist/components/p-a56f0579.entry.js +1 -0
  368. package/dist/components/{p-0e0e1815.entry.js → p-a5c61d1c.entry.js} +1 -1
  369. package/dist/components/p-a6cd418e.entry.js +1 -0
  370. package/dist/components/{p-505ddcda.entry.js → p-a8dd1953.entry.js} +1 -1
  371. package/dist/components/p-a91ab66e.entry.js +1 -0
  372. package/dist/components/p-ab292dd5.entry.js +1 -0
  373. package/dist/components/p-ad746789.entry.js +1 -0
  374. package/dist/components/p-b80a9020.entry.js +1 -0
  375. package/dist/components/p-b8ba7e5c.entry.js +1 -0
  376. package/dist/components/p-ba720bf3.js +1 -0
  377. package/dist/components/p-c06d4f14.entry.js +1 -0
  378. package/dist/components/p-c12d9350.entry.js +1 -0
  379. package/dist/components/p-c3dda942.entry.js +1 -0
  380. package/dist/components/p-c6b32753.entry.js +1 -0
  381. package/dist/components/p-c776b6f8.js +1 -0
  382. package/dist/components/p-c935aa46.entry.js +1 -0
  383. package/dist/components/{p-7a8b9de5.js → p-cccacbd3.js} +2 -2
  384. package/dist/components/p-dbcf1f0e.entry.js +1 -0
  385. package/dist/components/p-dcc08064.entry.js +1 -0
  386. package/dist/components/p-dcd4de1f.entry.js +1 -0
  387. package/dist/components/p-e2d5a487.js +1 -0
  388. package/dist/components/p-e64cd6f7.entry.js +1 -0
  389. package/dist/components/p-e9a533e0.entry.js +1 -0
  390. package/dist/components/p-eac63c82.entry.js +1 -0
  391. package/dist/components/p-f5959676.entry.js +1 -0
  392. package/dist/components/{p-def72462.entry.js → p-f905ac92.entry.js} +1 -1
  393. package/dist/components/p-fba4080d.entry.js +1 -0
  394. package/dist/components/p-fc619588.entry.js +1 -0
  395. package/dist/components/p-fcc32210.entry.js +1 -0
  396. package/dist/components/{p-81942665.entry.js → p-ff7acb55.entry.js} +1 -1
  397. package/dist/components/primary.js +1 -1
  398. package/dist/components/primary2.js +1 -1
  399. package/dist/components/secondary.js +1 -1
  400. package/dist/components/secondary2.js +7 -7
  401. package/dist/components/sharedUtils.js +19 -0
  402. package/dist/components/star.js +5 -0
  403. package/dist/components/support.js +1 -1
  404. package/dist/components/support2.js +3 -3
  405. package/dist/components/thumbs-down.js +5 -0
  406. package/dist/components/thumbs-up.js +6 -0
  407. package/dist/components/token-list2.js +1 -1
  408. package/dist/components/token-radii2.js +1 -1
  409. package/dist/components/token-ratios.js +1 -1
  410. package/dist/components/token-shadows2.js +1 -1
  411. package/dist/components/token-spacing.js +1 -1
  412. package/dist/components/token-typography.js +1 -1
  413. package/dist/esm/{analytics-1cde8e4a.js → analytics-44b1416b.js} +9 -1
  414. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  415. package/dist/esm/components.js +3 -3
  416. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  417. package/dist/esm/eds-accordion_22.entry.js +1934 -0
  418. package/dist/esm/eds-alert.entry.js +93 -0
  419. package/dist/esm/eds-app-root.entry.js +33 -0
  420. package/dist/esm/eds-avatar_4.entry.js +2 -9
  421. package/dist/esm/eds-breadcrumb.entry.js +131 -0
  422. package/dist/esm/eds-card-generic.entry.js +5 -17
  423. package/dist/esm/eds-card-project.entry.js +2 -2
  424. package/dist/esm/eds-card-section.entry.js +6 -22
  425. package/dist/esm/eds-card-tags.entry.js +1 -1
  426. package/dist/esm/eds-card-tool.entry.js +2 -2
  427. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  428. package/dist/esm/eds-code-block.entry.js +1 -1
  429. package/dist/esm/eds-components-section.entry.js +2 -2
  430. package/dist/esm/eds-cookies-preference.entry.js +35 -0
  431. package/dist/esm/eds-docs-palettes.entry.js +2 -2
  432. package/dist/esm/eds-docs-tokens.entry.js +2 -2
  433. package/dist/esm/{eds-dropdown_2.entry.js → eds-dropdown.entry.js} +10 -42
  434. package/dist/esm/eds-feedback.entry.js +62 -0
  435. package/dist/esm/eds-form.entry.js +238 -255
  436. package/dist/esm/eds-frame.entry.js +32 -32
  437. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  438. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  439. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  440. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  441. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  442. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  443. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  444. package/dist/esm/eds-icon-close.entry.js +2 -2
  445. package/dist/esm/eds-icon-copy.entry.js +2 -2
  446. package/dist/esm/eds-icon-eu.entry.js +2 -2
  447. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  448. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  449. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  450. package/dist/esm/eds-icon-loader.entry.js +2 -2
  451. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  452. package/dist/esm/eds-icon-menu.entry.js +2 -2
  453. package/dist/esm/eds-icon-more.entry.js +2 -2
  454. package/dist/esm/eds-icon-search.entry.js +2 -2
  455. package/dist/esm/eds-icon-star.entry.js +14 -0
  456. package/dist/esm/eds-icon-success.entry.js +2 -2
  457. package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
  458. package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
  459. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  460. package/dist/esm/eds-icon-user.entry.js +2 -2
  461. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  462. package/dist/esm/{keycloak-d502ec16.js → eds-login_2.entry.js} +139 -1
  463. package/dist/esm/eds-logo-variations.entry.js +2 -2
  464. package/dist/esm/eds-modal.entry.js +16 -4
  465. package/dist/esm/eds-progress-bar.entry.js +2 -2
  466. package/dist/esm/eds-rating.entry.js +60 -0
  467. package/dist/esm/eds-section-core_2.entry.js +4 -4
  468. package/dist/esm/eds-spinner.entry.js +50 -0
  469. package/dist/esm/eds-steps.entry.js +51 -0
  470. package/dist/esm/eds-svg-repository.entry.js +9 -3
  471. package/dist/esm/eds-switch.entry.js +34 -0
  472. package/dist/esm/eds-tabs.entry.js +11 -25
  473. package/dist/esm/eds-timeline.entry.js +4 -22
  474. package/dist/esm/eds-toast-manager.entry.js +42 -0
  475. package/dist/esm/eds-toast.entry.js +72 -0
  476. package/dist/esm/eds-tooltip.entry.js +3 -3
  477. package/dist/esm/eds-trl.entry.js +2 -2
  478. package/dist/esm/eds-user.entry.js +9 -79
  479. package/dist/esm/eds-vertical-stepper.entry.js +2 -2
  480. package/dist/esm/formUtils-ac68474d.js +223 -0
  481. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  482. package/dist/esm/{index-e96badea.js → index-8a71b9a7.js} +57 -29
  483. package/dist/esm/loader.js +3 -3
  484. package/dist/esm/logo-space.entry.js +2 -2
  485. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  486. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  487. package/dist/esm/sharedUtils-a550989c.js +19 -0
  488. package/dist/esm/star-0da9b5e9.js +5 -0
  489. package/dist/esm/thumbs-down-a18fd049.js +5 -0
  490. package/dist/esm/thumbs-up-c19a71bc.js +6 -0
  491. package/dist/esm/token-list_3.entry.js +4 -4
  492. package/dist/esm/token-ratios.entry.js +2 -2
  493. package/dist/esm/token-spacing.entry.js +2 -2
  494. package/dist/esm/token-typography.entry.js +2 -2
  495. package/dist/hydrate/index.js +1556 -1192
  496. package/dist/hydrate/index.mjs +1556 -1192
  497. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +4 -1
  498. package/dist/types/components/eds-accordion/eds-accordion.d.ts +3 -3
  499. package/dist/types/components/eds-button/eds-button.d.ts +3 -1
  500. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -0
  501. package/dist/types/components/eds-form/eds-form.d.ts +52 -20
  502. package/dist/types/components/eds-form-v2/eds-form-v2.d.ts +99 -0
  503. package/dist/types/components/eds-form-v2/eds-form-v2.stories.d.ts +27 -0
  504. package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +10 -0
  505. package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +10 -0
  506. package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +10 -0
  507. package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +6 -1
  508. package/dist/types/components/eds-modal/eds-modal.d.ts +8 -0
  509. package/dist/types/components/eds-pagination/eds-pagination.d.ts +1 -1
  510. package/dist/types/components/eds-rating/eds-rating.d.ts +19 -11
  511. package/dist/types/components/eds-rating/eds-rating.stories.d.ts +13 -27
  512. package/dist/types/components/eds-spinner/eds-spinner.d.ts +27 -0
  513. package/dist/types/components/eds-spinner/eds-spinner.stories.d.ts +42 -0
  514. package/dist/types/components/eds-steps/eds-steps.d.ts +1 -2
  515. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -0
  516. package/dist/types/components/eds-tag/eds-tag.d.ts +1 -25
  517. package/dist/types/components/eds-toast/eds-toast.d.ts +4 -5
  518. package/dist/types/components.d.ts +689 -387
  519. package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.d.ts +26 -6
  520. package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.stories.d.ts +8 -13
  521. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +5 -5
  522. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -1
  523. package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +27 -0
  524. package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.st.d.ts +27 -0
  525. package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +56 -0
  526. package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +77 -0
  527. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +2 -15
  528. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +0 -28
  529. package/dist/types/shared-ui/eds-login/eds-login.d.ts +12 -1
  530. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +17 -48
  531. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +2 -1
  532. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +31 -0
  533. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.stories.d.ts +22 -0
  534. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +3 -3
  535. package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +5 -2
  536. package/dist/types/shared-ui/eds-toast-manager/eds-toast-manager.d.ts +3 -0
  537. package/dist/types/shared-ui/eds-user/eds-user.d.ts +12 -66
  538. package/dist/types/shared-ui/eds-user/eds-user.stories.d.ts +32 -0
  539. package/dist/types/shared-ui/examples/eds-app-root/eds-app-root.d.ts +9 -0
  540. package/dist/types/utils/api.d.ts +5 -0
  541. package/dist/types/utils/eds-form/formUtils.d.ts +38 -0
  542. package/dist/types/utils/eds-form/formValidators.d.ts +17 -0
  543. package/dist/types/utils/eds-form/individualValidator.d.ts +3 -0
  544. package/dist/types/utils/eds-form/validateInput.d.ts +10 -0
  545. package/dist/types/utils/sharedUtils.d.ts +1 -0
  546. package/package.json +3 -3
  547. package/dist/cjs/eds-accordion.cjs.entry.js +0 -84
  548. package/dist/cjs/eds-alert_17.cjs.entry.js +0 -1392
  549. package/dist/cjs/eds-input_7.cjs.entry.js +0 -324
  550. package/dist/cjs/eds-login.cjs.entry.js +0 -91
  551. package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -109
  552. package/dist/cjs/eds-navigator.cjs.entry.js +0 -43
  553. package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -386
  554. package/dist/cjs/eds-tab.cjs.entry.js +0 -40
  555. package/dist/cjs/eds-tabs-content.cjs.entry.js +0 -133
  556. package/dist/collection/components/eds-frame/eds-frame.stories.js +0 -68
  557. package/dist/collection/components/eds-navigator/eds-navigator.js +0 -147
  558. package/dist/collection/components/eds-navigator/eds-navigator.stories.js +0 -101
  559. package/dist/collection/components/eds-tab/eds-tab.js +0 -109
  560. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +0 -194
  561. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.stories.js +0 -112
  562. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +0 -109
  563. package/dist/components/eds-navigator.js +0 -75
  564. package/dist/components/eds-tab.js +0 -6
  565. package/dist/components/eds-tab2.js +0 -55
  566. package/dist/components/eds-tabs-content.js +0 -159
  567. package/dist/components/eds-user-modal.js +0 -6
  568. package/dist/components/eds-user-modal2.js +0 -87
  569. package/dist/components/p-030f67c1.entry.js +0 -1
  570. package/dist/components/p-06299762.entry.js +0 -1
  571. package/dist/components/p-0ab85eee.entry.js +0 -1
  572. package/dist/components/p-0bafc5ae.entry.js +0 -1
  573. package/dist/components/p-0e7bdd2c.entry.js +0 -1
  574. package/dist/components/p-1ed3fdb7.entry.js +0 -1
  575. package/dist/components/p-209fa119.entry.js +0 -1
  576. package/dist/components/p-2831a9d5.entry.js +0 -1
  577. package/dist/components/p-2c00bd76.entry.js +0 -1
  578. package/dist/components/p-38d70586.entry.js +0 -1
  579. package/dist/components/p-3babd772.entry.js +0 -1
  580. package/dist/components/p-4a12a131.entry.js +0 -1
  581. package/dist/components/p-59405ecf.entry.js +0 -1
  582. package/dist/components/p-5980a142.entry.js +0 -1
  583. package/dist/components/p-599c7b97.entry.js +0 -1
  584. package/dist/components/p-65703520.entry.js +0 -1
  585. package/dist/components/p-6af40c33.entry.js +0 -1
  586. package/dist/components/p-6df9db15.entry.js +0 -1
  587. package/dist/components/p-75795b05.entry.js +0 -1
  588. package/dist/components/p-759b2640.entry.js +0 -1
  589. package/dist/components/p-80a185ba.entry.js +0 -1
  590. package/dist/components/p-86fbc239.entry.js +0 -1
  591. package/dist/components/p-8b583210.entry.js +0 -1
  592. package/dist/components/p-8c4a0fc9.entry.js +0 -1
  593. package/dist/components/p-8d19a05b.entry.js +0 -1
  594. package/dist/components/p-8eab748d.js +0 -1
  595. package/dist/components/p-911d9b37.entry.js +0 -1
  596. package/dist/components/p-92e16cc9.entry.js +0 -1
  597. package/dist/components/p-96fe2267.entry.js +0 -1
  598. package/dist/components/p-9739def5.entry.js +0 -1
  599. package/dist/components/p-9826acae.entry.js +0 -1
  600. package/dist/components/p-9b441a1f.entry.js +0 -1
  601. package/dist/components/p-a5b7d72d.entry.js +0 -1
  602. package/dist/components/p-a5d00633.entry.js +0 -1
  603. package/dist/components/p-a63bd0c9.entry.js +0 -1
  604. package/dist/components/p-a846dbca.entry.js +0 -1
  605. package/dist/components/p-a927a455.entry.js +0 -1
  606. package/dist/components/p-aec9b8e1.entry.js +0 -1
  607. package/dist/components/p-b3c1aef5.entry.js +0 -1
  608. package/dist/components/p-b60ed774.entry.js +0 -1
  609. package/dist/components/p-b67aafe7.entry.js +0 -1
  610. package/dist/components/p-b79999d5.entry.js +0 -1
  611. package/dist/components/p-b80457ed.entry.js +0 -1
  612. package/dist/components/p-c5fa170d.entry.js +0 -1
  613. package/dist/components/p-d69ef196.entry.js +0 -1
  614. package/dist/components/p-de12396f.entry.js +0 -1
  615. package/dist/components/p-de2fbcfc.entry.js +0 -1
  616. package/dist/components/p-e2c250c5.entry.js +0 -1
  617. package/dist/components/p-eeeb0d83.entry.js +0 -1
  618. package/dist/components/p-f08eac56.entry.js +0 -1
  619. package/dist/components/p-f1cd83da.entry.js +0 -1
  620. package/dist/components/p-f5dafbc8.entry.js +0 -1
  621. package/dist/components/p-f7493f41.entry.js +0 -1
  622. package/dist/components/p-fce25541.entry.js +0 -1
  623. package/dist/esm/eds-accordion.entry.js +0 -80
  624. package/dist/esm/eds-alert_17.entry.js +0 -1372
  625. package/dist/esm/eds-input_7.entry.js +0 -314
  626. package/dist/esm/eds-login.entry.js +0 -87
  627. package/dist/esm/eds-matomo-notice.entry.js +0 -105
  628. package/dist/esm/eds-navigator.entry.js +0 -39
  629. package/dist/esm/eds-pagination_2.entry.js +0 -381
  630. package/dist/esm/eds-tab.entry.js +0 -36
  631. package/dist/esm/eds-tabs-content.entry.js +0 -129
  632. package/dist/types/components/eds-navigator/eds-navigator.d.ts +0 -42
  633. package/dist/types/components/eds-navigator/eds-navigator.stories.d.ts +0 -46
  634. package/dist/types/components/eds-tab/eds-tab.d.ts +0 -15
  635. package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.d.ts +0 -36
  636. package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.stories.d.ts +0 -16
  637. package/dist/types/shared-ui/eds-user-modal/eds-user-modal.d.ts +0 -47
@@ -0,0 +1,155 @@
1
+ /*
2
+ Remove the default font size and weight for headings.
3
+ */
4
+ h1,
5
+ h2,
6
+ h3,
7
+ h4,
8
+ h5,
9
+ h6 {
10
+ font-size: inherit;
11
+ font-weight: inherit;
12
+ }
13
+
14
+ /*
15
+ Removes the default spacing and border for appropriate elements.
16
+ */
17
+ blockquote,
18
+ dl,
19
+ dd,
20
+ h1,
21
+ h2,
22
+ h3,
23
+ h4,
24
+ h5,
25
+ h6,
26
+ hr,
27
+ figure,
28
+ p,
29
+ pre {
30
+ margin: 0;
31
+ }
32
+
33
+ .text-light {
34
+ color: var(--grey-700);
35
+ }
36
+
37
+ .text-lighter {
38
+ color: var(--grey-600);
39
+ }
40
+
41
+ .text-lightest {
42
+ color: var(--grey-500);
43
+ }
44
+
45
+ .f-body-01 {
46
+ font-family: var(--f-body-01-fontFamily);
47
+ font-weight: var(--f-body-01-fontWeight);
48
+ font-size: var(--f-body-01-fontSize);
49
+ line-height: var(--f-body-01-lineHeight);
50
+ letter-spacing: var(--f-body-01-letterSpacing);
51
+ }
52
+
53
+ .f-heading-02 {
54
+ font-family: var(--f-heading-02-fontFamily);
55
+ font-weight: var(--f-heading-02-fontWeight);
56
+ font-size: var(--f-heading-02-fontSize);
57
+ line-height: var(--f-heading-02-lineHeight);
58
+ letter-spacing: var(--f-heading-02-letterSpacing);
59
+ }
60
+
61
+ .f-heading-03 {
62
+ font-family: var(--f-heading-03-fontFamily);
63
+ font-weight: var(--f-heading-03-fontWeight);
64
+ font-size: var(--f-heading-03-fontSize);
65
+ line-height: var(--f-heading-03-lineHeight);
66
+ letter-spacing: var(--f-heading-03-letterSpacing);
67
+ }
68
+
69
+ .f-heading-04 {
70
+ font-family: var(--f-heading-04-fontFamily);
71
+ font-weight: var(--f-heading-04-fontWeight);
72
+ font-size: var(--f-heading-04-fontSize);
73
+ line-height: var(--f-heading-04-lineHeight);
74
+ letter-spacing: var(--f-heading-04-letterSpacing);
75
+ }
76
+
77
+ .f-heading-05 {
78
+ font-family: var(--f-heading-05-fontFamily);
79
+ font-weight: var(--f-heading-05-fontWeight);
80
+ font-size: var(--f-heading-05-fontSize);
81
+ line-height: var(--f-heading-05-lineHeight);
82
+ letter-spacing: var(--f-heading-05-letterSpacing);
83
+ }
84
+
85
+ .f-heading-06 {
86
+ font-family: var(--f-heading-06-fontFamily);
87
+ font-weight: var(--f-heading-06-fontWeight);
88
+ font-size: var(--f-heading-06-fontSize);
89
+ line-height: var(--f-heading-06-lineHeight);
90
+ letter-spacing: var(--f-heading-06-letterSpacing);
91
+ }
92
+
93
+ .f-body-01 {
94
+ font-family: var(--f-body-01-fontFamily);
95
+ font-weight: var(--f-body-01-fontWeight);
96
+ font-size: var(--f-body-01-fontSize);
97
+ line-height: var(--f-body-01-lineHeight);
98
+ letter-spacing: var(--f-body-01-letterSpacing);
99
+ }
100
+
101
+ .f-body-02 {
102
+ font-family: var(--f-body-02-fontFamily);
103
+ font-weight: var(--f-body-02-fontWeight);
104
+ font-size: var(--f-body-02-fontSize);
105
+ line-height: var(--f-body-02-lineHeight);
106
+ letter-spacing: var(--f-body-02-letterSpacing);
107
+ }
108
+
109
+ .f-ui-04 {
110
+ font-family: var(--f-ui-04-fontFamily);
111
+ font-weight: var(--f-ui-04-fontWeight);
112
+ font-size: var(--f-ui-04-fontSize);
113
+ line-height: var(--f-ui-04-lineHeight);
114
+ letter-spacing: var(--f-ui-04-letterSpacing);
115
+ }
116
+
117
+ .inline {
118
+ display: inline;
119
+ }
120
+
121
+ .grid {
122
+ display: grid;
123
+ }
124
+
125
+ .flex {
126
+ display: flex;
127
+ }
128
+
129
+ .inline-flex {
130
+ display: inline-flex;
131
+ }
132
+
133
+ .flex-col {
134
+ flex-direction: column;
135
+ }
136
+
137
+ .my-4 {
138
+ margin-top: 0.25rem;
139
+ margin-bottom: 0.25rem;
140
+ }
141
+
142
+ .my-8 {
143
+ margin-top: 0.5rem;
144
+ margin-bottom: 0.5rem;
145
+ }
146
+
147
+ .my-16 {
148
+ margin-top: 1rem;
149
+ margin-bottom: 1rem;
150
+ }
151
+
152
+ .my-20 {
153
+ margin-top: 1.25rem;
154
+ margin-bottom: 1.25rem;
155
+ }
@@ -0,0 +1,191 @@
1
+ import { h } from "@stencil/core";
2
+ import { parseData } from "../../utils/sharedUtils";
3
+ export class EdsFeedback {
4
+ constructor() {
5
+ this.type = 'star';
6
+ this.count = 5;
7
+ this.label = 'Rate your Experience!';
8
+ this.description = 'This is a description!';
9
+ this.textMapping = ['Very Poor', 'Poor', 'Average', 'Good', 'Excellent'];
10
+ this.selectedRating = 0;
11
+ }
12
+ /**
13
+ * Lifecycle method that runs when the component has fully loaded.
14
+ * It emits a custom event for each `eds-button` element contained within the breadcrumb.
15
+ */
16
+ componentDidLoad() {
17
+ const btns = this.el.shadowRoot.querySelectorAll('eds-button');
18
+ btns.forEach((btn) => {
19
+ this.emitContext(btn);
20
+ });
21
+ }
22
+ /**
23
+ * Emits a custom event called `parentContext` for a given link element.
24
+ * This event provides context information about the breadcrumb component.
25
+ *
26
+ * @param btnElement - The link element to which the event will be dispatched.
27
+ */
28
+ emitContext(btnElement) {
29
+ const event = new CustomEvent('parentContext', {
30
+ detail: {
31
+ componentName: this.el.tagName.toLowerCase(),
32
+ identifier: this.selectedRating
33
+ }
34
+ });
35
+ btnElement.dispatchEvent(event);
36
+ }
37
+ /**
38
+ * Parses the `textMapping` prop into an array of strings.
39
+ */
40
+ get parsedMappings() {
41
+ return parseData(this.textMapping);
42
+ }
43
+ /**
44
+ * Listens for global custom events to open the modal.
45
+ */
46
+ ratingUpdated(e) {
47
+ this.selectedRating = e.detail;
48
+ }
49
+ render() {
50
+ return (h("div", { key: '125299e9780486a10213fc3c59b15e7a4fb62616', class: "grid inline" }, h("p", { key: '6a02d78d34a590bc213cd5bf311ec8bed44f8959', class: "f-heading-03 my-4" }, this.label), h("p", { key: '76146fbade2f864ba7b72429a85218ebf6a24ea7', class: "f-body-02 text-light" }, this.description), h("eds-rating", { key: '38e0ec9219adaf85f674fab6be471112f06e42ff', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'beab34888d3db63ca2ee374a2d10d407bfc948cc', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
51
+ }
52
+ static get is() { return "eds-feedback"; }
53
+ static get encapsulation() { return "shadow"; }
54
+ static get originalStyleUrls() {
55
+ return {
56
+ "$": ["eds-feedback.css"]
57
+ };
58
+ }
59
+ static get styleUrls() {
60
+ return {
61
+ "$": ["eds-feedback.css"]
62
+ };
63
+ }
64
+ static get properties() {
65
+ return {
66
+ "type": {
67
+ "type": "string",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "'star' | 'thumbs-up' | 'thumbs-down'",
71
+ "resolved": "\"star\" | \"thumbs-down\" | \"thumbs-up\"",
72
+ "references": {}
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": "The type of icon to display. Can be \"stars\" or \"thumbs\"."
79
+ },
80
+ "attribute": "type",
81
+ "reflect": false,
82
+ "defaultValue": "'star'"
83
+ },
84
+ "count": {
85
+ "type": "number",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "number",
89
+ "resolved": "number",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": "Number of stars in the rating system."
97
+ },
98
+ "attribute": "count",
99
+ "reflect": false,
100
+ "defaultValue": "5"
101
+ },
102
+ "label": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "string",
107
+ "resolved": "string",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": "Number of stars in the rating system."
115
+ },
116
+ "attribute": "label",
117
+ "reflect": false,
118
+ "defaultValue": "'Rate your Experience!'"
119
+ },
120
+ "description": {
121
+ "type": "string",
122
+ "mutable": false,
123
+ "complexType": {
124
+ "original": "string",
125
+ "resolved": "string",
126
+ "references": {}
127
+ },
128
+ "required": false,
129
+ "optional": false,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": "Number of stars in the rating system."
133
+ },
134
+ "attribute": "description",
135
+ "reflect": false,
136
+ "defaultValue": "'This is a description!'"
137
+ },
138
+ "textMapping": {
139
+ "type": "string",
140
+ "mutable": false,
141
+ "complexType": {
142
+ "original": "string | string[]",
143
+ "resolved": "string | string[]",
144
+ "references": {}
145
+ },
146
+ "required": false,
147
+ "optional": false,
148
+ "docs": {
149
+ "tags": [],
150
+ "text": "Mapping of text to star ratings."
151
+ },
152
+ "attribute": "text-mapping",
153
+ "reflect": false,
154
+ "defaultValue": "['Very Poor', 'Poor', 'Average', 'Good', 'Excellent']"
155
+ }
156
+ };
157
+ }
158
+ static get states() {
159
+ return {
160
+ "selectedRating": {}
161
+ };
162
+ }
163
+ static get events() {
164
+ return [{
165
+ "method": "rating",
166
+ "name": "rating",
167
+ "bubbles": true,
168
+ "cancelable": true,
169
+ "composed": true,
170
+ "docs": {
171
+ "tags": [],
172
+ "text": "Event emitted when the rating is changed."
173
+ },
174
+ "complexType": {
175
+ "original": "number",
176
+ "resolved": "number",
177
+ "references": {}
178
+ }
179
+ }];
180
+ }
181
+ static get elementRef() { return "el"; }
182
+ static get listeners() {
183
+ return [{
184
+ "name": "rating",
185
+ "method": "ratingUpdated",
186
+ "target": "body",
187
+ "capture": false,
188
+ "passive": false
189
+ }];
190
+ }
191
+ }
@@ -0,0 +1,121 @@
1
+ export default {
2
+ title: 'Shared Ui/Feedback',
3
+ component: 'eds-feedback',
4
+ argTypes: {
5
+ type: {
6
+ control: { type: 'select', options: ['star', 'thumbs-up', 'thumbs-down'] },
7
+ description: 'The type of icon to display.'
8
+ },
9
+ count: {
10
+ control: { type: 'number', min: 1 },
11
+ description: 'The total number of rating items.'
12
+ },
13
+ label: {
14
+ control: 'text',
15
+ description: 'The label text displayed above the rating component.'
16
+ },
17
+ description: {
18
+ control: 'text',
19
+ description: 'The description text below the label.'
20
+ },
21
+ textMapping: {
22
+ control: 'array',
23
+ description: 'An array of text mappings corresponding to each rating.'
24
+ }
25
+ },
26
+ args: {
27
+ type: 'star',
28
+ count: 5,
29
+ label: 'Rate your Experience!',
30
+ description: 'This is a description!',
31
+ textMapping: ['Very Poor', 'Poor', 'Average', 'Good', 'Excellent']
32
+ }
33
+ };
34
+ export const Default = {
35
+ render: (args) => `
36
+ <eds-feedback
37
+ type="${args.type}"
38
+ count="${args.count}"
39
+ label="${args.label}"
40
+ description="${args.description}"
41
+ text-mapping='${JSON.stringify(args.textMapping)}'
42
+ ></eds-feedback>
43
+ `
44
+ };
45
+ export const CustomTextMapping = {
46
+ render: (args) => `
47
+ <eds-feedback
48
+ type="${args.type}"
49
+ count="${args.count}"
50
+ label="${args.label}"
51
+ description="${args.description}"
52
+ text-mapping='${JSON.stringify(args.textMapping)}'
53
+ ></eds-feedback>
54
+ `,
55
+ args: {
56
+ label: 'Your Satisfaction Level',
57
+ description: 'Please select a rating:',
58
+ textMapping: ['Terrible', 'Bad', 'Okay', 'Good', 'Amazing']
59
+ }
60
+ };
61
+ export const ThumbsUp = {
62
+ render: (args) => `
63
+ <eds-feedback
64
+ type="${args.type}"
65
+ count="${args.count}"
66
+ label="${args.label}"
67
+ description="${args.description}"
68
+ text-mapping='${JSON.stringify(args.textMapping)}'
69
+ ></eds-feedback>
70
+ `,
71
+ args: {
72
+ type: 'thumbs-up',
73
+ label: 'How did we do?',
74
+ description: 'Give us your feedback by clicking on the icon:'
75
+ }
76
+ };
77
+ export const ThumbsDown = {
78
+ render: (args) => `
79
+ <eds-feedback
80
+ type="${args.type}"
81
+ count="${args.count}"
82
+ label="${args.label}"
83
+ description="${args.description}"
84
+ text-mapping='${JSON.stringify(args.textMapping)}'
85
+ ></eds-feedback>
86
+ `,
87
+ args: {
88
+ type: 'thumbs-down',
89
+ label: 'Let us know your thoughts',
90
+ description: 'Your feedback matters:'
91
+ }
92
+ };
93
+ export const TenItems = {
94
+ render: (args) => `
95
+ <eds-feedback
96
+ type="${args.type}"
97
+ count="${args.count}"
98
+ label="${args.label}"
99
+ description="${args.description}"
100
+ text-mapping='${JSON.stringify(args.textMapping)}'
101
+ ></eds-feedback>
102
+ `,
103
+ args: {
104
+ type: 'star',
105
+ count: 10,
106
+ label: 'Rate the Complexity',
107
+ description: '10-level rating system',
108
+ textMapping: [
109
+ 'Horrible',
110
+ 'Very Bad',
111
+ 'Bad',
112
+ 'Mediocre',
113
+ 'Below Average',
114
+ 'Average',
115
+ 'Above Average',
116
+ 'Good',
117
+ 'Very Good',
118
+ 'Excellent'
119
+ ]
120
+ }
121
+ };
@@ -25,19 +25,10 @@ export class EdsFooter {
25
25
  };
26
26
  this.extraClass = '';
27
27
  this.social = false;
28
- this.hasCookiesSetUp = false;
29
28
  this.enableScrollTop = false;
30
29
  this.fundedBy = 'EBRAINS is funded by the Horizon Europe Framework Programme.';
31
30
  this.rightsReserved = `${new Date().getFullYear()} EBRAINS. All rights reserved.`;
32
- this.cookiesPreference = 'Cookies Preferences';
33
- }
34
- /**
35
- * Toggles the cookie preferences popup, if available.
36
- * The actual implementation for handling cookie preferences should be defined here.
37
- * @private
38
- */
39
- toggleCookiesPopup() {
40
- // Implement logic for handling cookie preferences
31
+ this.showMatomoNotice = false;
41
32
  }
42
33
  /**
43
34
  * Renders the footer component with optional sections and elements,
@@ -47,7 +38,7 @@ export class EdsFooter {
47
38
  * @returns {JSX.Element} The rendered JSX for the footer component.
48
39
  */
49
40
  render() {
50
- return (h("footer", { key: 'ba6500548e8f719b8670063918c61b391ddb8387', class: `${this.extraClass} pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, h("div", { class: "container pb-20 xl:pb-40 " }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })), h("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" }))))) : null, h("div", { key: '1221cca6d40c4de8ed7ceefa84198817bf904630', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, h("div", { key: 'ad55b938fb2961074822d6bf458f0ea7a15baa84', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, h("div", { key: '91c13fdd98508a812e5dcfa86056b5adc035623d', class: "flex items-center gap-x-12" }, h("a", { key: '4ddd8715a5cabbff2209f8ceb389900c9eddcd74', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en" }, h("eds-img", { key: 'df5f16284084d9171cd3d567dd249a0ef98bde79', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg" }))), h("div", { key: '0ff4328cc30f06c1a85ffc726d5b6b0dc53e49b9', class: "f-ui-04 text-light order-last w-full lg:order-none lg:w-auto" }, h("p", { key: '2cb2b4f072a141e58c9a2185c9179d475f9690bd' }, this.fundedBy), h("div", { key: 'b31d1e18933fb1be11d8454f9a5301dedc839015', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap" }, h("span", { key: 'aab95785cfb2bc7d490ac9426ef5e421f9418dc9', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.hasCookiesSetUp && (h("button", { key: 'fbd5bf3560faf0ee34d740bda423595c3cd21ad8', class: "effect-focus !no-underline underline-offset-4 hover:!underline", onClick: () => this.toggleCookiesPopup() }, this.cookiesPreference)))), h("div", { key: '0427234b6679ae05b673a5c6efb8447306f61876', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
41
+ return (h("footer", { key: 'fc315d7ddfa4ede5514083d842bba36c991fef8a', class: `${this.extraClass} pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, h("div", { class: "container pb-20 xl:pb-40 " }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })), h("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" }))))) : null, h("div", { key: '9d00bf38cabc8cea80be80b0e26f57fa70e635fb', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, h("div", { key: '67342d2033716108d6b7137029709d0048dd06f2', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, h("div", { key: '44bbeddacf48ed1d3a8f716cb9a044f7175aabab', class: "flex items-center gap-x-12" }, h("a", { key: '34ce75ccde53cfd7771d7d325d989a23d148011f', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en", "aria-label": "Learn about Horizon 2020 funding" }, h("eds-img", { key: 'f06317200fe90580ca1d2d512e665252d11b4799', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: '6a81ccd4f5196c6567a60c6a43c468178154f9ad', class: "order-last w-full lg:order-none lg:w-auto" }, h("div", { key: 'e10de8b2e966cd0a2febcc8e8c5189b7694f856c', class: "f-ui-04 text-light" }, h("p", { key: '26f14c5c27859d1fea9985800d8e35023ca8ade9' }, this.fundedBy), h("div", { key: '7eabdf80c9c9e42793eff579c2ec92d934611bb2', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: 'abe3d9e7091e15f09782cdde3e59228f6e143805', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved)))), h("div", { key: '0c3371aec2ff5f9e348bef2171e4bc5a353960e2', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
51
42
  }
52
43
  static get is() { return "eds-footer"; }
53
44
  static get originalStyleUrls() {
@@ -104,27 +95,6 @@ export class EdsFooter {
104
95
  "reflect": false,
105
96
  "defaultValue": "false"
106
97
  },
107
- "hasCookiesSetUp": {
108
- "type": "boolean",
109
- "mutable": false,
110
- "complexType": {
111
- "original": "boolean",
112
- "resolved": "boolean",
113
- "references": {}
114
- },
115
- "required": false,
116
- "optional": false,
117
- "docs": {
118
- "tags": [{
119
- "name": "type",
120
- "text": "{boolean}"
121
- }],
122
- "text": "Controls the display of the \"Cookies Preferences\" button.\nWhen true, the button appears in the footer."
123
- },
124
- "attribute": "has-cookies-set-up",
125
- "reflect": false,
126
- "defaultValue": "false"
127
- },
128
98
  "enableScrollTop": {
129
99
  "type": "boolean",
130
100
  "mutable": false,
@@ -187,28 +157,12 @@ export class EdsFooter {
187
157
  "attribute": "rights-reserved",
188
158
  "reflect": false,
189
159
  "defaultValue": "`${new Date().getFullYear()} EBRAINS. All rights reserved.`"
190
- },
191
- "cookiesPreference": {
192
- "type": "string",
193
- "mutable": false,
194
- "complexType": {
195
- "original": "string",
196
- "resolved": "string",
197
- "references": {}
198
- },
199
- "required": false,
200
- "optional": false,
201
- "docs": {
202
- "tags": [{
203
- "name": "type",
204
- "text": "{string}"
205
- }],
206
- "text": "Controls the display of the \"Cookies Preference\" text."
207
- },
208
- "attribute": "cookies-preference",
209
- "reflect": false,
210
- "defaultValue": "'Cookies Preferences'"
211
160
  }
212
161
  };
213
162
  }
163
+ static get states() {
164
+ return {
165
+ "showMatomoNotice": {}
166
+ };
167
+ }
214
168
  }
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { parseData } from "../../utils/sharedUtils";
2
3
  /**
3
4
  * `eds-fullscreen-menu` is a fullscreen menu component designed for the EBRAINS platform.
4
5
  * It provides a responsive, full-window overlay menu with navigation links and additional options.
@@ -56,20 +57,7 @@ export class EdsFullscreenMenu {
56
57
  * @returns {any[]} Array of parsed link objects
57
58
  */
58
59
  get parsedLinks() {
59
- if (typeof this.links === 'object') {
60
- return this.links;
61
- }
62
- else if (typeof this.links === 'string') {
63
- try {
64
- return JSON.parse(this.links);
65
- }
66
- catch (e) {
67
- // eslint-disable-next-line
68
- console.error('Error parsing links prop:', e);
69
- return [];
70
- }
71
- }
72
- return [];
60
+ return parseData(this.links);
73
61
  }
74
62
  /**
75
63
  * Parses the `menuLinks` prop into an array of link objects.
@@ -78,20 +66,7 @@ export class EdsFullscreenMenu {
78
66
  * @returns {any[]} Array of parsed menu link objects
79
67
  */
80
68
  get parsedMenuLinks() {
81
- if (typeof this.menuLinks === 'object') {
82
- return this.menuLinks;
83
- }
84
- else if (typeof this.menuLinks === 'string') {
85
- try {
86
- return JSON.parse(this.menuLinks);
87
- }
88
- catch (e) {
89
- // eslint-disable-next-line
90
- console.error('Error parsing menuLinks prop:', e);
91
- return [];
92
- }
93
- }
94
- return [];
69
+ return parseData(this.menuLinks);
95
70
  }
96
71
  render() {
97
72
  return this.isMenuOpen ? (h("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, h("div", { class: "flex min-h-full flex-col" }, h("div", { class: `bg-default w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, h("div", { class: "mx-auto flex items-center justify-between" }, h("div", { class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), h("div", { class: "px-16" }, h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), h("div", { class: "py-16 px-16" }, h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" })))), h("eds-block-break", null), h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index) => (h("eds-link", { label: link.label, key: index, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" }))))), h("div", { class: "mt-auto" }, h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { parseData } from "../../utils/sharedUtils";
2
3
  /**
3
4
  * `EdsHeader` is a header component designed for the EBRAINS platform.
4
5
  * It provides a customizable and responsive navigation experience, tailored for both desktop and mobile views.
@@ -70,28 +71,11 @@ export class EdsHeader {
70
71
  * @returns {any[]} Array of parsed link objects
71
72
  */
72
73
  get parsedLinks() {
73
- // If it's already an array, return it immediately.
74
- if (Array.isArray(this.links)) {
75
- return this.links;
76
- }
77
- if (typeof this.links === 'object') {
78
- return this.links;
79
- }
80
- else if (typeof this.links === 'string') {
81
- try {
82
- return JSON.parse(this.links);
83
- }
84
- catch (e) {
85
- // eslint-disable-next-line
86
- console.error('Error parsing links prop:', e);
87
- return [];
88
- }
89
- }
90
- return [];
74
+ return parseData(this.links);
91
75
  }
92
76
  render() {
93
- return (h("header", { key: 'ce002da29cee5446f64694ba93ec67f89c180ac4', class: `flex items-center justify-between relative z-10
94
- ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '579593f3180b27d129fd9ca380d6b74d0efcbd1e', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: 'c72d87a2ff7cd1ea2b0390cd364e376d1f52c67f', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '6755e304c48624049af8426d4d9b19d0cb156dda', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, h("ul", { key: '390f9b6c6c950719598eec88b4befb4224cb0c03', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "small", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), h("slot", { key: 'bc7b093739cc3058e4eb3d4eddbb0b49856b5710' }), this.menuEnabled ? (h("div", { class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
77
+ return (h("header", { key: '2e39471507762066b258c72da9690f3001ca9a94', class: `flex items-center justify-between relative z-10
78
+ ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '75a52a092065c2f3f65f7d8a388b887d3991497e', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: '632c71d268929e06bc507573db21e04da4c60c67', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '2a1bb9a64ea5731ea3a8c1537b1d95b28b2368f5', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, h("ul", { key: '6cecbd7d268cd2aef5b7b117df422128c7dc994d', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "small", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), h("slot", { key: 'b352a1456858d5190a6268928d2f92ddebdf99c2' }), this.menuEnabled ? (h("div", { class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
95
79
  }
96
80
  static get is() { return "eds-header"; }
97
81
  static get originalStyleUrls() {