@ebrains/components 0.8.0-alpha.0 → 0.9.0-beta

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 (560) hide show
  1. package/dist/cjs/bookmark-c61853d9.js +18 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +44 -31
  3. package/dist/cjs/{eds-components-section.cjs.entry.js → components-section.cjs.entry.js} +22 -17
  4. package/dist/cjs/components.cjs.js +1 -1
  5. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  6. package/dist/cjs/{eds-docs-palettes.cjs.entry.js → docs-palettes.cjs.entry.js} +3 -3
  7. package/dist/cjs/{eds-docs-tokens.cjs.entry.js → docs-tokens.cjs.entry.js} +3 -3
  8. package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
  9. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  10. package/dist/cjs/{eds-accordion_17.cjs.entry.js → eds-avatar_24.cjs.entry.js} +848 -216
  11. package/dist/cjs/eds-card-desc_3.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  14. package/dist/cjs/eds-frame.cjs.entry.js +5 -11
  15. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
  17. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-icon-external.cjs.entry.js +18 -0
  21. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
  28. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
  30. package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
  31. package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
  32. package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
  33. package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
  34. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
  40. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
  42. package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
  43. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-login_2.cjs.entry.js +23 -14
  46. package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
  47. package/dist/cjs/eds-modal.cjs.entry.js +6 -6
  48. package/dist/cjs/eds-pagination_2.cjs.entry.js +5 -5
  49. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  52. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-switch.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  58. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  59. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  60. package/dist/cjs/index-2f63169d.js +74 -34
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  63. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +4 -4
  64. package/dist/cjs/{eds-logo-variations.cjs.entry.js → logo-variations-tabs.cjs.entry.js} +3 -3
  65. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  66. package/dist/cjs/minus-1da6a98a.js +13 -0
  67. package/dist/cjs/paper-0d6302f6.js +17 -0
  68. package/dist/cjs/plus-d0e00ad0.js +14 -0
  69. package/dist/cjs/portal-46212559.js +20 -0
  70. package/dist/cjs/private-38835fe7.js +27 -0
  71. package/dist/cjs/public-b519b1f6.js +18 -0
  72. package/dist/cjs/{eds-svg-repository.cjs.entry.js → svg-repository.cjs.entry.js} +30 -29
  73. package/dist/cjs/token-list_3.cjs.entry.js +5 -5
  74. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  75. package/dist/cjs/token-typography.cjs.entry.js +3 -3
  76. package/dist/cjs/tutotial-7855df3c.js +29 -0
  77. package/dist/cjs/unknown-6814e551.js +24 -0
  78. package/dist/cjs/up-and-down-d71df67d.js +14 -0
  79. package/dist/collection/collection-manifest.json +16 -5
  80. package/dist/collection/components/eds-accordion/eds-accordion.css +6 -4
  81. package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
  82. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +1 -1
  83. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
  84. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  85. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  86. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  87. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +36 -0
  88. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  89. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  90. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  91. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +36 -0
  92. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  93. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
  94. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
  95. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
  96. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
  97. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
  98. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
  104. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
  105. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
  106. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  107. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  108. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  109. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  110. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  111. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  112. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  113. package/dist/collection/components/eds-img/eds-img.js +2 -2
  114. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -21
  115. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  116. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  117. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +59 -2
  118. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  119. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
  120. package/dist/collection/components/eds-input-field/eds-input-field.js +37 -5
  121. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +1 -0
  122. package/dist/collection/components/eds-link/eds-link.css +12 -0
  123. package/dist/collection/components/eds-link/eds-link.js +17 -9
  124. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  125. package/dist/collection/components/eds-modal/eds-modal.css +32 -1
  126. package/dist/collection/components/eds-modal/eds-modal.js +5 -5
  127. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  128. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  129. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  130. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  131. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  132. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  133. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  134. package/dist/collection/components/eds-table/eds-table.js +4 -4
  135. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  136. package/dist/collection/components/eds-timeline/eds-timeline.css +35 -17
  137. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  138. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  139. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  140. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  141. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  142. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +31 -18
  143. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  144. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  145. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  146. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  147. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  148. package/dist/collection/eds-docs-ui/{eds-components-section/eds-components-section.js → components-section/components-section.js} +13 -13
  149. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
  150. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
  151. package/dist/collection/eds-docs-ui/{functional → components-section/functional}/overview.js +2 -2
  152. package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
  153. package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
  154. package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
  155. package/dist/collection/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.js → design-tokens/docs-tokens/docs-tokens.js} +3 -3
  156. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +3 -3
  157. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  158. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  159. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  160. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  161. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +3 -3
  162. package/dist/collection/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.js → docs-palettes/docs-palettes.js} +3 -3
  163. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +144 -43
  164. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  165. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +149 -68
  166. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  167. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +158 -53
  168. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  169. package/dist/collection/eds-docs-ui/{eds-logo-variations/eds-logo-variations.js → logo/logo-variations-tabs/logo-variations.js} +3 -3
  170. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +199 -169
  171. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  172. package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +5 -5
  173. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  174. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +8 -0
  175. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  176. package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
  177. package/dist/collection/shared-ui/eds-form/eds-form.js +46 -11
  178. package/dist/collection/shared-ui/eds-frame/eds-frame.js +28 -31
  179. package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +12 -12
  180. package/dist/collection/shared-ui/eds-header/eds-header.js +2 -2
  181. package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
  182. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  183. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +25 -13
  184. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +35 -17
  185. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
  186. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  187. package/dist/collection/shared-ui/eds-user/eds-user.css +35 -17
  188. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  189. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  190. package/dist/collection/utils/eds-form/formUtils.js +4 -34
  191. package/dist/components/bookmark.js +16 -0
  192. package/dist/components/{eds-logo-variations.d.ts → components-section.d.ts} +4 -4
  193. package/dist/components/{eds-components-section.js → components-section.js} +27 -22
  194. package/dist/components/components.css +35 -17
  195. package/dist/components/components.esm.js +1 -1
  196. package/dist/components/correct-use-of-colors.js +1 -1
  197. package/dist/components/{eds-svg-repository.d.ts → docs-palettes.d.ts} +4 -4
  198. package/dist/components/{eds-docs-palettes.js → docs-palettes.js} +8 -8
  199. package/dist/components/docs-tokens.d.ts +11 -0
  200. package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
  201. package/dist/components/eds-accordion2.js +2 -2
  202. package/dist/components/eds-app-root.js +1 -1
  203. package/dist/components/eds-cookies-preference.js +1 -1
  204. package/dist/components/eds-feedback.js +2 -2
  205. package/dist/components/eds-footer2.js +2 -2
  206. package/dist/components/eds-form.js +50 -45
  207. package/dist/components/eds-frame.js +7 -13
  208. package/dist/components/eds-header.js +2 -2
  209. package/dist/components/eds-icon-bluesky.js +1 -1
  210. package/dist/components/{eds-docs-palettes.d.ts → eds-icon-bookmark.d.ts} +4 -4
  211. package/dist/components/eds-icon-bookmark.js +33 -0
  212. package/dist/components/eds-icon-close.js +1 -1
  213. package/dist/components/eds-icon-copy.js +1 -1
  214. package/dist/components/eds-icon-eu.js +1 -1
  215. package/dist/components/eds-icon-external.d.ts +11 -0
  216. package/dist/components/eds-icon-external.js +33 -0
  217. package/dist/components/eds-icon-facebook.js +1 -1
  218. package/dist/components/eds-icon-gitlab.js +1 -1
  219. package/dist/components/eds-icon-linkedin.js +1 -1
  220. package/dist/components/eds-icon-loader.js +1 -1
  221. package/dist/components/eds-icon-mastodon.js +1 -1
  222. package/dist/components/eds-icon-menu.js +1 -1
  223. package/dist/components/eds-icon-minus.d.ts +11 -0
  224. package/dist/components/eds-icon-minus.js +33 -0
  225. package/dist/components/eds-icon-more.js +1 -1
  226. package/dist/components/eds-icon-paper.d.ts +11 -0
  227. package/dist/components/eds-icon-paper.js +33 -0
  228. package/dist/components/eds-icon-plus.d.ts +11 -0
  229. package/dist/components/eds-icon-plus.js +33 -0
  230. package/dist/components/{eds-docs-tokens.d.ts → eds-icon-portal.d.ts} +4 -4
  231. package/dist/components/eds-icon-portal.js +33 -0
  232. package/dist/components/eds-icon-private.d.ts +11 -0
  233. package/dist/components/eds-icon-private.js +33 -0
  234. package/dist/components/eds-icon-public.d.ts +11 -0
  235. package/dist/components/eds-icon-public.js +33 -0
  236. package/dist/components/eds-icon-search.js +1 -1
  237. package/dist/components/eds-icon-star.js +1 -1
  238. package/dist/components/eds-icon-success.js +1 -1
  239. package/dist/components/eds-icon-thumbs-down.js +1 -1
  240. package/dist/components/eds-icon-thumbs-up.js +1 -1
  241. package/dist/components/eds-icon-tutorial.d.ts +11 -0
  242. package/dist/components/eds-icon-tutorial.js +33 -0
  243. package/dist/components/eds-icon-twitter.js +1 -1
  244. package/dist/components/eds-icon-unknown.d.ts +11 -0
  245. package/dist/components/eds-icon-unknown.js +33 -0
  246. package/dist/components/eds-icon-updown.d.ts +11 -0
  247. package/dist/components/eds-icon-updown.js +33 -0
  248. package/dist/components/eds-icon-user.js +1 -1
  249. package/dist/components/eds-icon-youtube.js +1 -1
  250. package/dist/components/eds-img2.js +2 -2
  251. package/dist/components/eds-input-field2.js +37 -5
  252. package/dist/components/eds-input-footer2.js +1 -1
  253. package/dist/components/eds-input-label2.js +1 -1
  254. package/dist/components/eds-input-range2.js +26 -3
  255. package/dist/components/eds-input-search2.js +1 -1
  256. package/dist/components/eds-input-select2.js +4 -1
  257. package/dist/components/eds-input2.js +3 -5
  258. package/dist/components/eds-link2.js +18 -10
  259. package/dist/components/eds-login2.js +1 -1
  260. package/dist/components/eds-logo2.js +1 -1
  261. package/dist/components/eds-modal.js +6 -6
  262. package/dist/components/eds-pagination2.js +1 -1
  263. package/dist/components/eds-progress-bar2.js +1 -1
  264. package/dist/components/eds-rating2.js +1 -1
  265. package/dist/components/eds-section-core2.js +1 -1
  266. package/dist/components/eds-section-heading2.js +2 -2
  267. package/dist/components/eds-social-networks2.js +1 -1
  268. package/dist/components/eds-spinner2.js +1 -1
  269. package/dist/components/eds-splash-screen2.js +25 -14
  270. package/dist/components/eds-switch.js +2 -2
  271. package/dist/components/eds-table2.js +4 -4
  272. package/dist/components/eds-tabs.js +2 -2
  273. package/dist/components/eds-tag2.js +1 -1
  274. package/dist/components/eds-timeline.js +2 -2
  275. package/dist/components/eds-toast-manager.js +1 -1
  276. package/dist/components/eds-tooltip.js +1 -1
  277. package/dist/components/eds-trl.js +1 -1
  278. package/dist/components/eds-user.js +12 -18
  279. package/dist/components/incorrect-use-of-colors.js +1 -1
  280. package/dist/components/logo-space.js +69 -3
  281. package/dist/components/logo-variations-horizontal2.js +2 -2
  282. package/dist/components/logo-variations-tabs.d.ts +11 -0
  283. package/dist/components/{eds-logo-variations.js → logo-variations-tabs.js} +8 -8
  284. package/dist/components/logo-variations-vertical2.js +2 -2
  285. package/dist/components/logo-wrong-usage.js +2 -2
  286. package/dist/components/minus.js +11 -0
  287. package/dist/components/p-024c7937.js +1 -0
  288. package/dist/components/p-032f9f64.entry.js +1 -0
  289. package/dist/components/p-05754401.js +1 -0
  290. package/dist/components/{p-ceac6200.entry.js → p-058cf100.entry.js} +1 -1
  291. package/dist/components/p-063b0683.entry.js +1 -0
  292. package/dist/components/p-0ce924b1.entry.js +1 -0
  293. package/dist/components/p-18eb23ff.entry.js +1 -0
  294. package/dist/components/p-1aab55cf.entry.js +1 -0
  295. package/dist/components/p-1b2913c8.js +1 -0
  296. package/dist/components/p-1b4e9576.entry.js +1 -0
  297. package/dist/components/p-20b3a999.entry.js +1 -0
  298. package/dist/components/p-20e9ae7f.entry.js +1 -0
  299. package/dist/components/p-29e807f5.entry.js +1 -0
  300. package/dist/components/{p-d17ea8af.entry.js → p-2c1be2bb.entry.js} +1 -1
  301. package/dist/components/p-30a319d5.entry.js +1 -0
  302. package/dist/components/p-35ed7ebf.entry.js +1 -0
  303. package/dist/components/p-3932d0af.entry.js +1 -0
  304. package/dist/components/{p-4d295eb7.entry.js → p-3a7be9a7.entry.js} +1 -1
  305. package/dist/components/p-3af94671.entry.js +1 -0
  306. package/dist/components/p-41e89554.entry.js +1 -0
  307. package/dist/components/{p-07ba7c89.entry.js → p-424ba743.entry.js} +1 -1
  308. package/dist/components/p-435a8942.entry.js +1 -0
  309. package/dist/components/p-4c7852f8.entry.js +1 -0
  310. package/dist/components/p-4e8a317b.entry.js +1 -0
  311. package/dist/components/{p-0f73391d.entry.js → p-526cdc57.entry.js} +1 -1
  312. package/dist/components/p-52913e2e.entry.js +1 -0
  313. package/dist/components/{p-5cf480a8.entry.js → p-59d963d1.entry.js} +1 -1
  314. package/dist/components/p-6404e157.entry.js +1 -0
  315. package/dist/components/p-66bb44c9.entry.js +1 -0
  316. package/dist/components/p-694fc085.js +1 -0
  317. package/dist/components/p-6dc26e53.entry.js +1 -0
  318. package/dist/components/p-7198c024.js +1 -0
  319. package/dist/components/p-78fa7132.entry.js +1 -0
  320. package/dist/components/p-7dce734a.entry.js +1 -0
  321. package/dist/components/{p-01cb7ceb.entry.js → p-7fa88255.entry.js} +1 -1
  322. package/dist/components/p-83936521.entry.js +1 -0
  323. package/dist/components/{p-a6bf9bf8.entry.js → p-85ad681a.entry.js} +1 -1
  324. package/dist/components/p-8653bc36.entry.js +1 -0
  325. package/dist/components/p-86bb73dc.js +1 -0
  326. package/dist/components/p-8e3c6c63.entry.js +1 -0
  327. package/dist/components/p-923f67b5.entry.js +1 -0
  328. package/dist/components/p-93093977.entry.js +1 -0
  329. package/dist/components/{p-a02c5c4a.entry.js → p-941240b5.entry.js} +1 -1
  330. package/dist/components/p-97e95520.entry.js +1 -0
  331. package/dist/components/{p-4df00ba5.entry.js → p-9a1a6df1.entry.js} +1 -1
  332. package/dist/components/p-9dc879c9.entry.js +1 -0
  333. package/dist/components/p-a56f0579.entry.js +1 -0
  334. package/dist/components/p-a8b0fe92.entry.js +1 -0
  335. package/dist/components/p-acc4d234.entry.js +1 -0
  336. package/dist/components/p-b0b37831.entry.js +1 -0
  337. package/dist/components/p-b2b46793.entry.js +1 -0
  338. package/dist/components/p-b55b0091.entry.js +1 -0
  339. package/dist/components/p-b73410de.js +1 -0
  340. package/dist/components/p-b76aa402.entry.js +1 -0
  341. package/dist/components/p-b96fc468.entry.js +1 -0
  342. package/dist/components/p-bab07ba6.entry.js +1 -0
  343. package/dist/components/{p-abaf04e1.entry.js → p-bcbc7b7f.entry.js} +1 -1
  344. package/dist/components/p-c1e4ef92.js +1 -0
  345. package/dist/components/p-c8abff96.entry.js +1 -0
  346. package/dist/components/{p-24507e71.entry.js → p-c935aa46.entry.js} +1 -1
  347. package/dist/components/p-cccff1e3.entry.js +1 -0
  348. package/dist/components/p-cd624044.entry.js +1 -0
  349. package/dist/components/p-cdf19579.js +1 -0
  350. package/dist/components/{p-7ba154c5.entry.js → p-d525ed36.entry.js} +1 -1
  351. package/dist/components/p-d94a44b9.entry.js +1 -0
  352. package/dist/components/p-d962849c.js +1 -0
  353. package/dist/components/p-dbcf1f0e.entry.js +1 -0
  354. package/dist/components/p-dcc08064.entry.js +1 -0
  355. package/dist/components/{p-f2e66c82.entry.js → p-e64cd6f7.entry.js} +1 -1
  356. package/dist/components/p-ea089f4e.entry.js +1 -0
  357. package/dist/components/p-eebf7ebf.entry.js +1 -0
  358. package/dist/components/p-efc73304.entry.js +1 -0
  359. package/dist/components/p-f13e9ab1.entry.js +1 -0
  360. package/dist/components/p-f48a4313.entry.js +1 -0
  361. package/dist/components/{p-f223a835.entry.js → p-ff7acb55.entry.js} +1 -1
  362. package/dist/components/paper.js +15 -0
  363. package/dist/components/plus.js +12 -0
  364. package/dist/components/portal.js +18 -0
  365. package/dist/components/primary.js +1 -1
  366. package/dist/components/primary2.js +1 -1
  367. package/dist/components/private.js +25 -0
  368. package/dist/components/public.js +16 -0
  369. package/dist/components/secondary.js +1 -1
  370. package/dist/components/secondary2.js +7 -7
  371. package/dist/components/support.js +31 -18
  372. package/dist/components/support2.js +3 -3
  373. package/dist/components/svg-repository.d.ts +11 -0
  374. package/dist/components/{eds-svg-repository.js → svg-repository.js} +34 -33
  375. package/dist/components/token-list2.js +3 -3
  376. package/dist/components/token-radii2.js +1 -1
  377. package/dist/components/token-ratios.js +1 -1
  378. package/dist/components/token-shadows2.js +1 -1
  379. package/dist/components/token-spacing.js +1 -1
  380. package/dist/components/token-typography.js +3 -3
  381. package/dist/components/tutotial.js +27 -0
  382. package/dist/components/unknown.js +22 -0
  383. package/dist/components/up-and-down.js +12 -0
  384. package/dist/esm/bookmark-c200037c.js +16 -0
  385. package/dist/esm/color-primary-palette_6.entry.js +44 -31
  386. package/dist/esm/{eds-components-section.entry.js → components-section.entry.js} +22 -17
  387. package/dist/esm/components.js +1 -1
  388. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  389. package/dist/esm/{eds-docs-palettes.entry.js → docs-palettes.entry.js} +3 -3
  390. package/dist/esm/{eds-docs-tokens.entry.js → docs-tokens.entry.js} +3 -3
  391. package/dist/esm/eds-accordion.entry.js +82 -0
  392. package/dist/esm/eds-app-root.entry.js +1 -1
  393. package/dist/esm/{eds-accordion_17.entry.js → eds-avatar_24.entry.js} +841 -216
  394. package/dist/esm/eds-card-desc_3.entry.js +1 -1
  395. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  396. package/dist/esm/eds-feedback.entry.js +2 -2
  397. package/dist/esm/eds-frame.entry.js +5 -11
  398. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  399. package/dist/esm/eds-icon-bookmark.entry.js +14 -0
  400. package/dist/esm/eds-icon-close.entry.js +1 -1
  401. package/dist/esm/eds-icon-copy.entry.js +1 -1
  402. package/dist/esm/eds-icon-eu.entry.js +1 -1
  403. package/dist/esm/eds-icon-external.entry.js +14 -0
  404. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  405. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  406. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  407. package/dist/esm/eds-icon-loader.entry.js +1 -1
  408. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  409. package/dist/esm/eds-icon-menu.entry.js +1 -1
  410. package/dist/esm/eds-icon-minus.entry.js +14 -0
  411. package/dist/esm/eds-icon-more.entry.js +1 -1
  412. package/dist/esm/eds-icon-paper.entry.js +14 -0
  413. package/dist/esm/eds-icon-plus.entry.js +14 -0
  414. package/dist/esm/eds-icon-portal.entry.js +14 -0
  415. package/dist/esm/eds-icon-private.entry.js +14 -0
  416. package/dist/esm/eds-icon-public.entry.js +14 -0
  417. package/dist/esm/eds-icon-search.entry.js +1 -1
  418. package/dist/esm/eds-icon-star.entry.js +1 -1
  419. package/dist/esm/eds-icon-success.entry.js +1 -1
  420. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  421. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  422. package/dist/esm/eds-icon-tutorial.entry.js +14 -0
  423. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  424. package/dist/esm/eds-icon-unknown.entry.js +14 -0
  425. package/dist/esm/eds-icon-updown.entry.js +14 -0
  426. package/dist/esm/eds-icon-user.entry.js +1 -1
  427. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  428. package/dist/esm/eds-login_2.entry.js +23 -14
  429. package/dist/esm/eds-matomo-notice.entry.js +119 -0
  430. package/dist/esm/eds-modal.entry.js +6 -6
  431. package/dist/esm/eds-pagination_2.entry.js +5 -5
  432. package/dist/esm/eds-progress-bar.entry.js +1 -1
  433. package/dist/esm/eds-rating.entry.js +1 -1
  434. package/dist/esm/eds-section-core_2.entry.js +3 -3
  435. package/dist/esm/eds-spinner.entry.js +1 -1
  436. package/dist/esm/eds-switch.entry.js +2 -2
  437. package/dist/esm/eds-tabs.entry.js +2 -2
  438. package/dist/esm/eds-timeline.entry.js +2 -2
  439. package/dist/esm/eds-toast-manager.entry.js +1 -1
  440. package/dist/esm/eds-tooltip.entry.js +1 -1
  441. package/dist/esm/eds-trl.entry.js +1 -1
  442. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  443. package/dist/esm/index-8a71b9a7.js +74 -34
  444. package/dist/esm/loader.js +1 -1
  445. package/dist/esm/logo-space.entry.js +2 -2
  446. package/dist/esm/logo-variations-horizontal_2.entry.js +4 -4
  447. package/dist/esm/{eds-logo-variations.entry.js → logo-variations-tabs.entry.js} +3 -3
  448. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  449. package/dist/esm/minus-b30a7c71.js +11 -0
  450. package/dist/esm/paper-8e74ea31.js +15 -0
  451. package/dist/esm/plus-89c07be2.js +12 -0
  452. package/dist/esm/portal-d6c8ce56.js +18 -0
  453. package/dist/esm/private-1c25ff8e.js +25 -0
  454. package/dist/esm/public-d4d8c585.js +16 -0
  455. package/dist/esm/{eds-svg-repository.entry.js → svg-repository.entry.js} +29 -28
  456. package/dist/esm/token-list_3.entry.js +5 -5
  457. package/dist/esm/token-ratios.entry.js +1 -1
  458. package/dist/esm/token-typography.entry.js +3 -3
  459. package/dist/esm/tutotial-150ee1fd.js +27 -0
  460. package/dist/esm/unknown-ed01a24c.js +22 -0
  461. package/dist/esm/up-and-down-d747abee.js +12 -0
  462. package/dist/hydrate/index.js +1122 -609
  463. package/dist/hydrate/index.mjs +1122 -609
  464. package/dist/stencil.config.js +1 -1
  465. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +11 -1
  466. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
  467. package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +10 -0
  468. package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +10 -0
  469. package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +10 -0
  470. package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +10 -0
  471. package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +10 -0
  472. package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +10 -0
  473. package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +10 -0
  474. package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +10 -0
  475. package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +10 -0
  476. package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +10 -0
  477. package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +10 -0
  478. package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +0 -2
  479. package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +12 -0
  480. package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
  481. package/dist/types/components.d.ts +364 -173
  482. package/dist/types/eds-docs-ui/colors/color-palette/support.d.ts +1 -0
  483. package/dist/types/eds-docs-ui/{eds-logo-variations/eds-logo-variations.d.ts → components-section/components-section.d.ts} +1 -1
  484. package/dist/types/eds-docs-ui/components-section/functional/angular.d.ts +2 -0
  485. package/dist/types/eds-docs-ui/components-section/functional/installation.d.ts +2 -0
  486. package/dist/types/eds-docs-ui/components-section/functional/overview.d.ts +2 -0
  487. package/dist/types/eds-docs-ui/components-section/functional/react.d.ts +2 -0
  488. package/dist/types/eds-docs-ui/components-section/functional/usage.d.ts +2 -0
  489. package/dist/types/eds-docs-ui/components-section/functional/vue.d.ts +2 -0
  490. package/dist/types/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.d.ts → design-tokens/docs-tokens/docs-tokens.d.ts} +1 -1
  491. package/dist/types/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.d.ts → docs-palettes/docs-palettes.d.ts} +1 -1
  492. package/dist/types/eds-docs-ui/{eds-components-section/eds-components-section.d.ts → logo/logo-variations-tabs/logo-variations.d.ts} +1 -1
  493. package/dist/types/eds-docs-ui/{eds-svg-repository/eds-svg-repository.d.ts → svg-repository/svg-repository.d.ts} +1 -1
  494. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
  495. package/dist/types/shared-ui/eds-frame/eds-frame.d.ts +10 -9
  496. package/dist/types/shared-ui/eds-frame/eds-frame.stories.d.ts +3 -3
  497. package/dist/types/shared-ui/eds-login/eds-login.d.ts +3 -0
  498. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
  499. package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
  500. package/package.json +4 -4
  501. package/README.md +0 -370
  502. package/dist/cjs/eds-form.cjs.entry.js +0 -409
  503. package/dist/cjs/eds-input_7.cjs.entry.js +0 -357
  504. package/dist/cjs/token-spacing.cjs.entry.js +0 -16
  505. package/dist/collection/eds-docs-ui/functional/angular.js +0 -2
  506. package/dist/collection/eds-docs-ui/functional/installation.js +0 -2
  507. package/dist/collection/eds-docs-ui/functional/react.js +0 -2
  508. package/dist/collection/eds-docs-ui/functional/usage.js +0 -2
  509. package/dist/collection/eds-docs-ui/functional/vue.js +0 -2
  510. package/dist/components/eds-components-section.d.ts +0 -11
  511. package/dist/components/p-03a38eab.entry.js +0 -1
  512. package/dist/components/p-05d8fdc3.entry.js +0 -1
  513. package/dist/components/p-0918a2e2.entry.js +0 -1
  514. package/dist/components/p-096d3274.entry.js +0 -1
  515. package/dist/components/p-10a318e0.entry.js +0 -1
  516. package/dist/components/p-16e0b902.entry.js +0 -1
  517. package/dist/components/p-18e10983.entry.js +0 -1
  518. package/dist/components/p-215f3b21.entry.js +0 -1
  519. package/dist/components/p-30075622.entry.js +0 -1
  520. package/dist/components/p-32a7f571.entry.js +0 -1
  521. package/dist/components/p-3f0fd469.entry.js +0 -1
  522. package/dist/components/p-4675ac16.entry.js +0 -1
  523. package/dist/components/p-46c9a35e.entry.js +0 -1
  524. package/dist/components/p-4aefc66e.entry.js +0 -1
  525. package/dist/components/p-4bcf6077.entry.js +0 -1
  526. package/dist/components/p-5d26f527.entry.js +0 -1
  527. package/dist/components/p-64f6f07e.entry.js +0 -1
  528. package/dist/components/p-69e5af42.entry.js +0 -1
  529. package/dist/components/p-6a73ac42.entry.js +0 -1
  530. package/dist/components/p-70201ae6.entry.js +0 -1
  531. package/dist/components/p-7ba4ca15.entry.js +0 -1
  532. package/dist/components/p-84faf1b3.entry.js +0 -1
  533. package/dist/components/p-8803ecf9.entry.js +0 -1
  534. package/dist/components/p-8cf4ee6e.entry.js +0 -1
  535. package/dist/components/p-9e2a0f5a.entry.js +0 -1
  536. package/dist/components/p-9f4ad4e4.entry.js +0 -1
  537. package/dist/components/p-a0abe772.entry.js +0 -1
  538. package/dist/components/p-ae60f98b.entry.js +0 -1
  539. package/dist/components/p-b2f0f40b.entry.js +0 -1
  540. package/dist/components/p-b4332c34.entry.js +0 -1
  541. package/dist/components/p-cee891dc.entry.js +0 -1
  542. package/dist/components/p-d06faa08.entry.js +0 -1
  543. package/dist/components/p-d2159cc9.entry.js +0 -1
  544. package/dist/components/p-d895d036.entry.js +0 -1
  545. package/dist/components/p-db970de6.entry.js +0 -1
  546. package/dist/components/p-e343cd31.entry.js +0 -1
  547. package/dist/components/p-e3811d4b.entry.js +0 -1
  548. package/dist/components/p-e8bd6106.entry.js +0 -1
  549. package/dist/components/p-e96a5c8e.entry.js +0 -1
  550. package/dist/components/p-fec4cba7.entry.js +0 -1
  551. package/dist/esm/eds-form.entry.js +0 -405
  552. package/dist/esm/eds-input_7.entry.js +0 -347
  553. package/dist/esm/token-spacing.entry.js +0 -12
  554. package/dist/types/eds-docs-ui/functional/angular.d.ts +0 -2
  555. package/dist/types/eds-docs-ui/functional/installation.d.ts +0 -2
  556. package/dist/types/eds-docs-ui/functional/overview.d.ts +0 -2
  557. package/dist/types/eds-docs-ui/functional/react.d.ts +0 -2
  558. package/dist/types/eds-docs-ui/functional/usage.d.ts +0 -2
  559. package/dist/types/eds-docs-ui/functional/vue.d.ts +0 -2
  560. /package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.css → svg-repository/svg-repository.css} +0 -0
@@ -5,7 +5,7 @@ import { hLogoColor } from "../../../../../../../../packages/svgs/src/index";
5
5
  */
6
6
  export class LogoWrongUsage {
7
7
  render() {
8
- return (h("ul", { key: 'f5aef262ac65790a1f86ea7eb8a80fc093406798', class: "container grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("span", { key: '150bcdb8502a137f54415e24618cf39d0f098c28', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '7df94271a37ae57dc021390f6f16637ea3c6948e', class: "example" }, h("div", { key: '8b4bff581312ed63a5812b9bd7c93bbae6137809', class: "bg-dark " }, h("div", { key: '78fd9855901f2da1392006dbbcaec5537586ef9d', class: "no-other-bg-color logo", innerHTML: hLogoColor })), h("p", { key: '5bbf1ae6a4b6b4f9c1a5a310c0c5b123b24f3581', class: "f-ui-02" }, "Do not use with backgrounds that make legibility difficult"))), h("span", { key: '7d1c8346857b6366b69e9ad6bc910adfed8b6213', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '3df57b6e370e166e63b36aa45901800de51bedc5', class: "example" }, h("div", { key: 'dc1983f4b8faad9d3c23ad612a1c01462bf033b0', class: "no-other-color p-16" }, h("div", { key: '42f985c970bce2bfa9590f64458e6987500d6036', class: "logo non-brand-color", innerHTML: hLogoColor })), h("p", { key: '9f44984a151b0720f2be17074bdd3c0d42c8210a', class: "f-ui-02" }, "Do not apply other colors"))), h("span", { key: 'd6481a9e1f79c892e54853f3137e5724a42c2479', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'fd550421e565543c1aaff054a86733a585ce9b9b', class: "example" }, h("div", { key: '3b677e85c9b3cb237e10a212187ba192b711fd53', class: "bg-light p-16" }, h("div", { key: '958733b94eca4e7e27dc5ac3e74f2c745198f37d', class: "logo distorted", innerHTML: hLogoColor })), h("p", { key: '9f4d3fc90cf8143480fb143a8932f91185a62f4c', class: "f-ui-02" }, "Do not deform the logo"))), h("span", { key: '7254597b2dbcb94118547e3b640c79c3bbd3e7ff', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '4caef2a8c103ecfc8ff91e40b8c5255571984d14', class: "example" }, h("div", { key: 'c93ae6b7c3d58700300fe01b398e4e57728fb314', class: "bg-white p-16" }, h("div", { key: '92916204870722a6da1f45d3d09505589763390b', class: "logo effects", innerHTML: hLogoColor })), h("p", { key: 'f9295bc1f1b1de2c575d934588f95dee6fc81143', class: "f-ui-02" }, "Do not apply effects"))), h("span", { key: '1b8488e14728799e81205823d2a964cf8e6f9baf', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'd3be08fe47ce2fd20dee086553cd16950fb6f964', class: "example" }, h("div", { key: '76713df96cca42778f26b580e790dd3fcfb0abee', class: "bg-white p-16" }, h("div", { key: 'db1a9153dc37119255fa75ea0491daea09545d61', class: "logo rotated", innerHTML: hLogoColor })), h("p", { key: '95b0f06f728a846119bd6844207e93d068dabcc6', class: "f-ui-02" }, "Do not rotate the logo"))), h("span", { key: '92c5de7b7834ae8a14548712239ec22667d2fb5c', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '64533bc4e04c802b4cedc6866c168eaac72c2550', class: "example" }, h("div", { key: 'd630811a1c2ae0a252a7e1bdf7383440e6aa417a', class: "bg-light p-16" }, h("div", { key: '525f7eaebf6e0a75b4ea91c2795f13a7837ebb54', class: "logo outlined", innerHTML: hLogoColor })), h("p", { key: '455855e6657b98d55b0f637548a88ed312130007', class: "f-ui-02" }, "Do not apply outlines"))), h("span", { key: 'a0c54e90591e693fb705d085c21b281e0468bc6e', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }), h("span", { key: 'af1f7db921096e0a20372ad028bf8eb6522ec736', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'ba754fd4de6ea65d74f8215aee158c3657b42b23', class: "example" }, h("div", { key: '91b10cf3ad9ce224546f5c67ddd10a6009a6278d', class: "bg-accent p-16" }, h("div", { key: '1ea0aa874d42426a0e4762532a1b5aaa8c7fc671', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: '3219f17362a76b5694e44c34d9405c04e378d7fd', class: "f-ui-02" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones")))));
8
+ return (h("div", { key: '3abc03c4b2592a3138a60c80c390ff12ac79c92e', class: "container" }, h("ul", { key: 'be3a492fe05ef05b96bfc66833f7ac30d596cf7c', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '60f3aa76849d2793907b27ad6ed0584f27896dc1', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '7c0c0f86de1354651d42f11c865ea4e68d7fd5f6', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), h("p", { key: '6c1e0b7bc964a2b062ddd539f740622ed5cf9ef8', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: '4dbf231814d5994d3075ca55b8a18006eb3b487e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'ee1964d4fe1390daa4c3446370d6efd183ec80e2', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), h("p", { key: '509d867602f88bfd2ce5030e78005eb96993e22b', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '40b486fdcf816d6cc3943b3444014a145798889f', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'cc64549a8aaf14eac2ed57543ca7bbca39fd7686', class: "mx-auto distorted logo", innerHTML: hLogoColor }), h("p", { key: 'e8fdc70352a2084d5bc7255059addb232f055f63', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: '375278f35b81a58f00f0a5702d156774b8d5f5a0', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '4c4d4f2e3a8b4111b2f444a744f366c276f1869f', class: "mx-auto effects logo", innerHTML: hLogoColor }), h("p", { key: 'c3bf1ab4f4244a345ab5babbce4f4de78b696ac6', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: '5fe3b28dba45127dc391d8101402834f09a61976', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'e4e36e3539813527c339e0e46a66661d8d9fd412', class: "mx-auto rotated logo", innerHTML: hLogoColor }), h("p", { key: '6d48a5cc5a0917047ba8377da80a24f42d3d16d1', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: '9e55f909b1fc0fcbc9b3a1e6d57257f4972f7632', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'c1867f7232957dc5022936f2174039e4d02e6ad7', class: "mx-auto outlined logo", innerHTML: hLogoColor }), h("p", { key: 'd0769904f374ae87e5e283135854dbfb7b448663', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '0955a1f0e63fdc260e990ce995f8d1e1546bfdf4', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '4f9ad9e2a5d3ba7125284b1657db0cad282480ce', class: "mx-auto" }, h("div", { key: 'd1a2ef07750991919768bd699a8e8c2cd2801254', class: "bg-accent p-16" }, h("div", { key: '291732a9a1463be409989c10def40eafb4e89ee2', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: 'b9946ad16af5c474a06179be04966dfaba6c81c3', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
9
9
  }
10
10
  static get is() { return "logo-wrong-usage"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -3,7 +3,7 @@ import * as svgs from "../../../../../../../packages/svgs/src/index";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export class EdsSvgRepository {
6
+ export class SvgRepository {
7
7
  // Convert SVG data to a format usable by `eds-table`
8
8
  getSvgData() {
9
9
  return Object.entries(svgs)
@@ -25,18 +25,18 @@ export class EdsSvgRepository {
25
25
  icon: { format: 'svg' },
26
26
  name: { format: 'bold' }
27
27
  };
28
- return (h("div", { key: '8b10e6b478c9a2354f4cf418dacb33d5629585ac', class: "full-width" }, h("eds-table", { key: '04ea0a3bc8d72f42225290210aa0bda441e14b95', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
28
+ return (h("div", { key: 'f9b58e4ab1104753ef5e26fa70af162d9e5ddb1c', class: "full-width" }, h("eds-table", { key: 'fe21b6043cc0fc6f96cb8359f3e7ace75d3f4639', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
29
29
  }
30
- static get is() { return "eds-svg-repository"; }
30
+ static get is() { return "svg-repository"; }
31
31
  static get encapsulation() { return "shadow"; }
32
32
  static get originalStyleUrls() {
33
33
  return {
34
- "$": ["eds-svg-repository.css"]
34
+ "$": ["svg-repository.css"]
35
35
  };
36
36
  }
37
37
  static get styleUrls() {
38
38
  return {
39
- "$": ["eds-svg-repository.css"]
39
+ "$": ["svg-repository.css"]
40
40
  };
41
41
  }
42
42
  static get elementRef() { return "hostEl"; }
@@ -25,7 +25,7 @@ export class EdsCookiesPreference {
25
25
  }
26
26
  }
27
27
  render() {
28
- return (h("div", { key: '13e1244d4e151f091eaca1d22dbed009bcb97786' }, h("eds-link", { key: '4cfc54b447c93824f98da1f990a28fdb61018afe', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
28
+ return (h("div", { key: 'fe3330180b8f3a5ff6b02156f5d76afb8cdf7edd' }, h("eds-link", { key: 'c5d63e486cb63bcb28b89babe606ac1eae525fe0', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
29
29
  }
30
30
  static get is() { return "eds-cookies-preference"; }
31
31
  static get originalStyleUrls() {
@@ -50,6 +50,14 @@ pre {
50
50
  letter-spacing: var(--f-body-01-letterSpacing);
51
51
  }
52
52
 
53
+ .f-heading-01 {
54
+ font-family: var(--f-heading-01-fontFamily);
55
+ font-weight: var(--f-heading-01-fontWeight);
56
+ font-size: var(--f-heading-01-fontSize);
57
+ line-height: var(--f-heading-01-lineHeight);
58
+ letter-spacing: var(--f-heading-01-letterSpacing);
59
+ }
60
+
53
61
  .f-heading-02 {
54
62
  font-family: var(--f-heading-02-fontFamily);
55
63
  font-weight: var(--f-heading-02-fontWeight);
@@ -47,7 +47,7 @@ export class EdsFeedback {
47
47
  this.selectedRating = e.detail;
48
48
  }
49
49
  render() {
50
- return (h("div", { key: '3cdbbc2eb256ca4f2008f03e90ae9aacb6afbaac', class: "grid inline" }, h("p", { key: 'afb5aa7ab4a8c3117a4db0a5cbeca0195ccec3e8', class: "f-heading-03 my-4" }, this.label), h("p", { key: '9b1b83b31d05d10943bcf9e9a413686caa9e49a7', class: "f-body-02 text-light" }, this.description), h("eds-rating", { key: '4535006f72ee21d168d9b42da6a5c3528417d2f4', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'b90b59aaae1e2bc6071e1488f332d0c154bdb25a', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
50
+ return (h("div", { key: '5fbf2af8386c318134b64c1323553bc00ee2fe2c', class: "grid inline" }, h("h1", { key: 'f5ec1e3cbbfa9c1d549a69c76e01609253c6dfea', class: "f-heading-01 my-4" }, this.label), h("p", { key: '60348466e10a5295fdb861f512c1037cdf8fbf27', class: "f-body-01 text-light" }, this.description), h("eds-rating", { key: 'ed559e7844c20081e82ccc0cddd4a34691a7ad1d', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'b4ab49d3c936649c75714ef2cd9fc09f9a213437', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
51
51
  }
52
52
  static get is() { return "eds-feedback"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -41,9 +41,9 @@ export class EdsFooter {
41
41
  * @returns {JSX.Element} The rendered JSX for the footer component.
42
42
  */
43
43
  render() {
44
- return (h("footer", { key: '97ad163716ff16e519a37a9d69895ec1813a1d28', class: `pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '170923d5155be90a814adaf5ec503d6f3c097fba', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '21d0e035b5d3163530af6dcd23b908689696e8dc', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: '4a1926948db9d4717396a07fef924a10c3f28480', class: "flex items-center gap-x-12" }, h("a", { key: '91f122ffc396a19233d8b1b443db83e7eb272afc', 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: 'a159fed1d2f11be99143d1858cc8b40687d121e0', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'c1d69e25e663e8a25ef9f333bcd555863a2afe40' }, h("div", { key: 'a7d7895bfc18565aa8b98c751f99365de5e33532', class: "f-ui-04 text-light" }, h("p", { key: 'bb7a341fb7471e0cdcf3cd3bbe2bbb1f42296535' }, this.fundedBy), h("div", { key: '2abd03a76d5c89f004e8da425f03e9152e4f2290', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '21e042b3b5a7b09c1ad92daf7ce191714a157892', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: "Cookies preferences", intent: "weak", "extra-class": "f-ui-04 ml-4 cursor-pointer effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline", onClick: () => {
44
+ return (h("footer", { key: '63daf387ac4ae4d3aea75345d1599b0cce0aa28e', class: `pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '31a6ca4ea417c61d0e927092cf6dffb18bfd9547', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '91ff15aa4b47ae73642d0c36e569fd598a9f2ac9', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: '57b332abdbc53662253f00add0491779c7421e5e', class: "flex items-center gap-x-12" }, h("a", { key: 'c9b659030dfeb3d1485219e1882a9ff1dde4cd42', 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: 'cbd71badd41f5c1c1220c5d0042651eda2a73e51', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'a012c699d5088292d171432b074eb61dd160e22f' }, h("div", { key: '1e4ab16ccb53b12468b3d53f30d671a35cc625ce', class: "f-ui-04 text-light" }, h("p", { key: 'f31aadca310d2a24153c135f1f49f96dbe69c768' }, this.fundedBy), h("div", { key: 'cb885e8666536e4e940309cc1fb0b79725ec737e', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '328fc8376cb062846dc665278a6e00c0c19cc7f4', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: "Cookies preferences", intent: "weak", "extra-class": "f-ui-04 ml-4 cursor-pointer effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline", onClick: () => {
45
45
  this.toggleCookiesConsent();
46
- } })) : null))), h("div", { key: '9bce0373f2b427b1244916c88a2cabefe41e7b14', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": "Back to Top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
46
+ } })) : null))), h("div", { key: '4965f9293058a1d750f5aa6598e829152b37f34d', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": "Back to Top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
47
47
  }
48
48
  static get is() { return "eds-footer"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -45,8 +45,7 @@ export class EdsForm {
45
45
  }
46
46
  }
47
47
  get shouldFormProcessInitData() {
48
- var _a;
49
- return !!((_a = this.initData) === null || _a === void 0 ? void 0 : _a._id);
48
+ return !!this.initData;
50
49
  }
51
50
  parseFields(newValue) {
52
51
  this.parsedFields = parseData(newValue);
@@ -136,22 +135,57 @@ export class EdsForm {
136
135
  });
137
136
  return formData;
138
137
  }
138
+ makeFormData() {
139
+ const formData = new FormData();
140
+ // Add the form name
141
+ formData.append('form_name', this.name);
142
+ // Add the form URL
143
+ if (this.setFormUrl && typeof window !== 'undefined') {
144
+ formData.set('form_url', window.location.href);
145
+ }
146
+ Object.keys(this.values).forEach((key) => {
147
+ // Append each key-value pair to the FormData object.
148
+ formData.append(key, this.values[key]);
149
+ });
150
+ return formData;
151
+ }
139
152
  handleChange(e, field) {
140
153
  const target = e.target;
141
- this.values = Object.assign(Object.assign({}, this.values), { [field.name]: target.value });
142
- // Emit an input event with message and current form values
154
+ if (target.type === 'checkbox') {
155
+ // Get the current comma separated string or default to an empty string.
156
+ const currentStr = this.values[field.name] || '';
157
+ // Convert the string into an array. If the string is empty, we get an empty array.
158
+ let valuesArray = currentStr ? currentStr.split(',') : [];
159
+ if (target.checked) {
160
+ // Only add if it's not already in the array.
161
+ if (!valuesArray.includes(target.value)) {
162
+ valuesArray.push(target.value);
163
+ }
164
+ }
165
+ else {
166
+ // Remove the value from the array if the checkbox is unchecked.
167
+ valuesArray = valuesArray.filter((item) => item !== target.value);
168
+ }
169
+ // Reassemble the comma separated string and update your form values.
170
+ this.values = Object.assign(Object.assign({}, this.values), { [field.name]: valuesArray.join(',') });
171
+ }
172
+ else {
173
+ // Handle non-checkbox input normally.
174
+ this.values = Object.assign(Object.assign({}, this.values), { [field.name]: target.value });
175
+ }
176
+ // Emit the updated form state.
143
177
  this.form.emit({
144
178
  event: 'change',
145
179
  field: field.name,
146
- value: target.value,
180
+ value: target.type === 'checkbox' ? this.values[field.name] : target.value,
147
181
  message: `${field.name} updated`,
148
- data: this.getFormData()
182
+ data: this.makeFormData()
149
183
  });
150
184
  }
151
185
  handleInput(e, field) {
152
186
  const target = e.target;
153
187
  // Update the field's value in state.
154
- this.values = Object.assign(Object.assign({}, this.values), { [field.name]: target.value });
188
+ //this.values = { ...this.values, [field.name]: target.value };
155
189
  // Create a copy of the current errors.
156
190
  const newErrors = Object.assign({}, this.errors);
157
191
  // Use the utility to validate the field.
@@ -174,12 +208,13 @@ export class EdsForm {
174
208
  this.isSubmitting = true;
175
209
  this.validateForm();
176
210
  if (this.hasError) {
211
+ this.isSubmitting = false;
177
212
  this.form.emit({
178
213
  event: 'submit',
179
214
  validated: false,
180
215
  success: false,
181
216
  message: this.errorMessage,
182
- data: this.getFormData()
217
+ data: this.makeFormData()
183
218
  }); // Emit form status submit false validation error
184
219
  sendAnalytics({
185
220
  category: 'ui-component',
@@ -221,13 +256,13 @@ export class EdsForm {
221
256
  render() {
222
257
  const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
223
258
  const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
224
- return (h("form", { key: '695438941134ef6a3c43b70008b1904b03700743', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '870ff661aded11c890e4f144a970c5ab5120a61f' }, h("slot", { key: 'b1070ccc8984afe457d28a6bbf52255dcbbc9b33' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
259
+ return (h("form", { key: '2f5651942cd01c0574b5a5f08483480c285472cb', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '0dab281f049f6afb8cfbad146076d7f3015b8c17' }, h("slot", { key: '661b26b05023480447f87aa03e2f21b814355d00' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
225
260
  var _a, _b;
226
261
  if (!this.isFieldVisible(field)) {
227
262
  return null;
228
263
  }
229
- 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.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
230
- })), this.formBtn && (h("div", { key: '80e0af076f3c57124f8a1f6718a0d45cfd45c0cd', class: "mt-20" }, h("eds-button", { key: '51dd28fb2a6610983e50ddb60409b3acf18dba1b', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
264
+ return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, 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.handleInput(e, field), onChange: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
265
+ })), this.formBtn && (h("div", { key: '3f250271116962a060359cf462b053234f059bd1', class: "mt-20" }, h("eds-button", { key: 'b234af290bcae3205c874edb4796e484320a5475', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
231
266
  }
232
267
  static get is() { return "eds-form"; }
233
268
  static get encapsulation() { return "shadow"; }
@@ -13,13 +13,16 @@ import { h } from "@stencil/core";
13
13
  *
14
14
  * Ideal for showcasing embedded content within an application, especially when previewing external resources.
15
15
  */
16
+ /**
17
+ * @internal
18
+ */
16
19
  export class EdsFrame {
17
20
  constructor() {
18
21
  this.frameLabel = undefined;
19
- this.urlLabel = 'Open in Storybook';
20
- this.errorMessage = 'Could not load the requested Storybook content. Please check the URL or try again later.';
21
- this.storybookUrl = undefined;
22
- this.storyPath = undefined;
22
+ this.frameSrc = undefined;
23
+ this.urlLabel = 'Open';
24
+ this.errorMessage = 'Could not load the requested content. Please check the URL or try again later.';
25
+ this.url = undefined;
23
26
  this.intent = 'strong';
24
27
  this.size = 'auto';
25
28
  this.iframeError = false;
@@ -80,14 +83,8 @@ export class EdsFrame {
80
83
  this.iframeError = true;
81
84
  }
82
85
  }
83
- get storyLink() {
84
- return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
85
- }
86
- get frameSrc() {
87
- return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
88
- }
89
86
  render() {
90
- return (h("div", { key: '387b8a4cb8f300a5a6b82287369f123b33613616', class: this.articleClasses() }, h("div", { key: '8db6b1b5aecdaf2722786db85b2d3cf5b4bccac4', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '696cb266ffbaeb8325c274c646668ba0d8beb751', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '9841812873efe999746eb008dd5e606e89efdb71', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
87
+ return (h("div", { key: 'b26229611868992daf5f4ca5037e1e10b2540ee5', class: this.articleClasses() }, h("div", { key: '4cf9ff78b27ce7f88db50feccc9d267c2e727a2c', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: 'bf2c1607d3fcbbf152691ec4e6134e737f6d1082', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: 'd9f059766c509d7325ea734c63e29d7995cc8065', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
91
88
  }
92
89
  static get is() { return "eds-frame"; }
93
90
  static get encapsulation() { return "shadow"; }
@@ -120,7 +117,7 @@ export class EdsFrame {
120
117
  "attribute": "frame-label",
121
118
  "reflect": false
122
119
  },
123
- "urlLabel": {
120
+ "frameSrc": {
124
121
  "type": "string",
125
122
  "mutable": false,
126
123
  "complexType": {
@@ -128,17 +125,16 @@ export class EdsFrame {
128
125
  "resolved": "string",
129
126
  "references": {}
130
127
  },
131
- "required": false,
132
- "optional": true,
128
+ "required": true,
129
+ "optional": false,
133
130
  "docs": {
134
131
  "tags": [],
135
- "text": "The label for the external link at the top right of the frame. Defaults to 'Open in Storybook'."
132
+ "text": "The frame src url to be displayed."
136
133
  },
137
- "attribute": "url-label",
138
- "reflect": false,
139
- "defaultValue": "'Open in Storybook'"
134
+ "attribute": "frame-src",
135
+ "reflect": false
140
136
  },
141
- "errorMessage": {
137
+ "urlLabel": {
142
138
  "type": "string",
143
139
  "mutable": false,
144
140
  "complexType": {
@@ -150,13 +146,13 @@ export class EdsFrame {
150
146
  "optional": true,
151
147
  "docs": {
152
148
  "tags": [],
153
- "text": "The error message displayed if the iframe fails to load."
149
+ "text": "The label for the external link at the top right of the frame. Defaults to 'Open'."
154
150
  },
155
- "attribute": "error-message",
151
+ "attribute": "url-label",
156
152
  "reflect": false,
157
- "defaultValue": "'Could not load the requested Storybook content. Please check the URL or try again later.'"
153
+ "defaultValue": "'Open'"
158
154
  },
159
- "storybookUrl": {
155
+ "errorMessage": {
160
156
  "type": "string",
161
157
  "mutable": false,
162
158
  "complexType": {
@@ -164,16 +160,17 @@ export class EdsFrame {
164
160
  "resolved": "string",
165
161
  "references": {}
166
162
  },
167
- "required": true,
168
- "optional": false,
163
+ "required": false,
164
+ "optional": true,
169
165
  "docs": {
170
166
  "tags": [],
171
- "text": "The base URL of the Storybook instance."
167
+ "text": "The error message displayed if the iframe fails to load."
172
168
  },
173
- "attribute": "storybook-url",
174
- "reflect": false
169
+ "attribute": "error-message",
170
+ "reflect": false,
171
+ "defaultValue": "'Could not load the requested content. Please check the URL or try again later.'"
175
172
  },
176
- "storyPath": {
173
+ "url": {
177
174
  "type": "string",
178
175
  "mutable": false,
179
176
  "complexType": {
@@ -185,9 +182,9 @@ export class EdsFrame {
185
182
  "optional": false,
186
183
  "docs": {
187
184
  "tags": [],
188
- "text": "The story path identifier used to generate the iframe URL."
185
+ "text": "The base URL of the external reference."
189
186
  },
190
- "attribute": "story-path",
187
+ "attribute": "url",
191
188
  "reflect": false
192
189
  },
193
190
  "intent": {
@@ -7,17 +7,17 @@ export default {
7
7
  control: 'text',
8
8
  description: 'The label of the frame. This is displayed as the title.'
9
9
  },
10
- urlLabel: {
10
+ frameSrc: {
11
11
  control: 'text',
12
- description: 'The label for the URL link.'
12
+ description: 'The source of the frame.'
13
13
  },
14
- storybookUrl: {
14
+ urlLabel: {
15
15
  control: 'text',
16
- description: 'The base URL for Storybook (e.g., https://gitlab-org.gitlab.io/gitlab-ui).'
16
+ description: 'The label for the URL link.'
17
17
  },
18
- storyPath: {
18
+ url: {
19
19
  control: 'text',
20
- description: 'The story path to display (e.g., base-card--default).'
20
+ description: 'The base URL for the reference (e.g., https://gitlab-org.gitlab.io/gitlab-ui).'
21
21
  },
22
22
  size: {
23
23
  control: { type: 'select' },
@@ -31,12 +31,12 @@ export default {
31
31
  }
32
32
  }
33
33
  };
34
- const Template = ({ frameLabel, urlLabel, storybookUrl, storyPath, intent, size }) => html `
34
+ const Template = ({ frameLabel, frameSrc, urlLabel, url, intent, size }) => html `
35
35
  <eds-frame
36
36
  frame-label=${frameLabel}
37
+ frame-src=${frameSrc}
37
38
  url-label=${urlLabel}
38
- storybook-url=${storybookUrl}
39
- story-path=${storyPath}
39
+ url=${url}
40
40
  intent=${intent}
41
41
  size=${size}
42
42
  ></eds-frame>
@@ -44,9 +44,9 @@ const Template = ({ frameLabel, urlLabel, storybookUrl, storyPath, intent, size
44
44
  export const Default = Template.bind({});
45
45
  Default.args = {
46
46
  frameLabel: 'Default Frame',
47
+ frameSrc: 'https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/base-accordion--docs',
47
48
  urlLabel: 'Visit Storybook',
48
- storybookUrl: 'https://gitlab-org.gitlab.io/gitlab-ui',
49
- storyPath: 'base-card--default',
49
+ url: 'https://gitlab-org.gitlab.io/gitlab-ui',
50
50
  intent: 'primary',
51
- size: 'auto'
51
+ size: 'xl'
52
52
  };
@@ -74,8 +74,8 @@ export class EdsHeader {
74
74
  return parseData(this.links);
75
75
  }
76
76
  render() {
77
- return (h("header", { key: '7b98b945005f538f43432cbd5ad405fd90985506', class: `flex items-center justify-between relative z-10
78
- ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '2a7f0026a12abd316bf3511746706b16368a5c20', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: '9f4d19c9cb68c11baf1fb76c1bb702722648233f', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '47ed93a21fec15c4d8bc93658d49749f9aba915d', 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: 'da6f7ef405e0ac3779ea631a098e090a442e8266', 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: "large", 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: '7b6fe4135500c87b0eba724f7ff9df7c10d54f5b' }), 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: 'eabb97331efd8b4aee5e1f249ebc60d38926eb5e', class: `flex items-center justify-between relative z-10
78
+ ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: 'b561941a2e10252a45526e565e9711be6a0d2f41', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: 'fa1350f9b9584f7b5d128facd8077efcf117abe7', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '6cc3c1b32250b671b394f0ac65b52e9b4491c57f', 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: 'ce1277ca3a9082e1b639ae42b96bbc1d3d665edc', 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: "large", 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: '7a1d67916c63dcab3d46d1223805a3c20af65d97' }), 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));
79
79
  }
80
80
  static get is() { return "eds-header"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,9 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { login, logout, isAuthenticated, getUser, initKeycloak, checkServerAvailability } from "../../utils/keycloak";
3
3
  import { toast } from "../../utils/toastManager";
4
+ /**
5
+ * @internal
6
+ */
4
7
  export class EdsLogin {
5
8
  constructor() {
6
9
  /**
@@ -85,7 +88,7 @@ export class EdsLogin {
85
88
  }
86
89
  }
87
90
  render() {
88
- return (h("div", { key: 'dace7b16af2f945e4981c9ef139f4c2ae94e130c', class: "block" }, !this.authenticated && (h("eds-button", { key: 'a8d0bd545e8ae4a159b5977d50d05ae27dec7df3', label: "Login", intent: "primary", "extra-class": "text-default", "aria-label": "Login", triggerClick: this.handleLogin.bind(this) }))));
91
+ return (h("div", { key: 'ac10895096f36f2fb3a79622972d5a8c519685eb', class: "block" }, !this.authenticated && (h("eds-button", { key: '55aab5ee63214d6a1ccdefc303273df99aa309cf', label: "Login", intent: "primary", "extra-class": "text-default", "aria-label": "Login", triggerClick: this.handleLogin.bind(this) }))));
89
92
  }
90
93
  static get is() { return "eds-login"; }
91
94
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class EdsSocialNetworks {
53
53
  * @returns {JSX.Element} The rendered JSX for the component.
54
54
  */
55
55
  render() {
56
- return (h("div", { key: '6dba77a15e8259a12d1d6a22c00ab764a213611d' }, h("p", { key: '15fe6ee8597b359e25b8936c9e3506b91abaca11', class: "f-ui-02" }, this.title), h("ul", { key: 'b2e6dfa5c671a871df7a5a85f9a02f5822c8fd28', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
56
+ return (h("div", { key: '213e6e637f2097165429ed584fb24b0251826627' }, h("p", { key: '060717f30e5ecb2e8128933b761b058eafc7ce6a', class: "f-ui-02" }, this.title), h("ul", { key: '7d8cbd7a92d8785058be18899e42da7495eedfc5', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
57
57
  }
58
58
  static get is() { return "eds-social-networks"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -5,21 +5,27 @@ export class EdsSplashScreen {
5
5
  this.initPromise = undefined;
6
6
  this.isVisible = true;
7
7
  }
8
+ // When the component loads, check if there is a promise.
8
9
  componentWillLoad() {
9
- // If an initialization promise is provided, wait for it.
10
10
  if (this.initPromise) {
11
- this.initPromise
12
- .then(() => {
13
- // eslint-disable-next-line
14
- console.log('Promises resolved');
15
- this.hideSplash();
16
- })
17
- .catch((error) => {
18
- // eslint-disable-next-line
19
- console.error('Initialization error:', error);
20
- this.splash.emit({ type: 'error', message: error.message || 'Unknown error' });
21
- //this.hideSplash();
22
- });
11
+ this.handleInitPromise(this.initPromise);
12
+ }
13
+ }
14
+ // Watch for changes on initPromise.
15
+ async watchInitPromise(newPromise) {
16
+ if (newPromise) {
17
+ this.handleInitPromise(newPromise);
18
+ }
19
+ }
20
+ async handleInitPromise(promise) {
21
+ try {
22
+ await promise;
23
+ //console.log('Promises resolved');
24
+ this.hideSplash();
25
+ }
26
+ catch (error) {
27
+ //console.error('Initialization error:', error);
28
+ this.splash.emit({ type: 'error', message: error.message || 'Unknown error' });
23
29
  }
24
30
  }
25
31
  handleHideSplash() {
@@ -112,6 +118,12 @@ export class EdsSplashScreen {
112
118
  }
113
119
  }];
114
120
  }
121
+ static get watchers() {
122
+ return [{
123
+ "propName": "initPromise",
124
+ "methodName": "watchInitPromise"
125
+ }];
126
+ }
115
127
  static get listeners() {
116
128
  return [{
117
129
  "name": "hideSplash",