@ebrains/components 0.0.1-alpha.0 → 0.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. package/dist/cjs/{color-ac51ccf7.js → color-3ffe3072.js} +6 -6
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components.cjs.js +3 -30
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  5. package/dist/cjs/eds-accordion.cjs.entry.js +5 -4
  6. package/dist/cjs/eds-alert.cjs.entry.js +10 -9
  7. package/dist/cjs/{eds-accordion_23.cjs.entry.js → eds-avatar_17.cjs.entry.js} +353 -785
  8. package/dist/cjs/eds-card-desc_3.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-card-generic.cjs.entry.js +18 -6
  10. package/dist/cjs/eds-card-project.cjs.entry.js +5 -5
  11. package/dist/cjs/eds-card-section.cjs.entry.js +20 -8
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +3 -2
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +6 -5
  14. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +4 -34
  16. package/dist/cjs/eds-components-section.cjs.entry.js +45 -25
  17. package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-form.cjs.entry.js +96 -23
  20. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +3 -3
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +3 -3
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +3 -3
  24. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +3 -3
  25. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +3 -3
  26. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +3 -3
  27. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +3 -3
  28. package/dist/cjs/eds-icon-close.cjs.entry.js +3 -3
  29. package/dist/cjs/eds-icon-copy.cjs.entry.js +3 -3
  30. package/dist/cjs/eds-icon-eu.cjs.entry.js +3 -3
  31. package/dist/cjs/eds-icon-facebook.cjs.entry.js +3 -3
  32. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +3 -3
  33. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +3 -3
  34. package/dist/cjs/eds-icon-loader.cjs.entry.js +3 -3
  35. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +3 -3
  36. package/dist/cjs/eds-icon-menu.cjs.entry.js +3 -3
  37. package/dist/cjs/eds-icon-more.cjs.entry.js +3 -3
  38. package/dist/cjs/eds-icon-search.cjs.entry.js +3 -3
  39. package/dist/cjs/eds-icon-success.cjs.entry.js +3 -3
  40. package/dist/cjs/eds-icon-twitter.cjs.entry.js +3 -3
  41. package/dist/cjs/eds-icon-user.cjs.entry.js +3 -3
  42. package/dist/cjs/eds-icon-youtube.cjs.entry.js +3 -3
  43. package/dist/cjs/{eds-input-field.cjs.entry.js → eds-input_7.cjs.entry.js} +249 -5
  44. package/dist/cjs/eds-login.cjs.entry.js +3 -3
  45. package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
  46. package/dist/cjs/eds-matomo-notice.cjs.entry.js +7 -6
  47. package/dist/cjs/eds-modal.cjs.entry.js +45 -5
  48. package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
  49. package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +160 -2
  50. package/dist/cjs/eds-progress-bar.cjs.entry.js +3 -2
  51. package/dist/cjs/eds-rating.cjs.entry.js +3 -2
  52. package/dist/cjs/eds-section-core_2.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-svg-repository.cjs.entry.js +298 -4
  54. package/dist/cjs/eds-tab.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-tabs-content.cjs.entry.js +6 -6
  56. package/dist/cjs/eds-tabs.cjs.entry.js +32 -10
  57. package/dist/cjs/eds-timeline.cjs.entry.js +76 -0
  58. package/dist/cjs/eds-tooltip.cjs.entry.js +4 -3
  59. package/dist/cjs/eds-trl.cjs.entry.js +52 -0
  60. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  61. package/dist/cjs/{index-2cc3495f.js → index-f08e4f5c.js} +54 -37
  62. package/dist/cjs/{loader-5efe2c21.js → loader-72f9d178.js} +2 -5
  63. package/dist/cjs/loader.cjs.js +2 -2
  64. package/dist/cjs/logo-space.cjs.entry.js +5 -4
  65. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
  66. package/dist/cjs/logo-wrong-usage.cjs.entry.js +6 -5
  67. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  68. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  69. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  70. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  71. package/dist/collection/collection-manifest.json +3 -0
  72. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  73. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +13 -12
  74. package/dist/collection/components/eds-button/eds-button.js +3 -3
  75. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +21 -1
  76. package/dist/collection/components/eds-form/eds-form.css +10 -0
  77. package/dist/collection/components/eds-form/eds-form.js +111 -20
  78. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +140 -15
  79. package/dist/collection/components/eds-input-field/eds-input-field.css +16 -6
  80. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  81. package/dist/collection/components/eds-modal/eds-modal.css +8 -0
  82. package/dist/collection/components/eds-modal/eds-modal.js +42 -2
  83. package/dist/collection/components/eds-table/eds-table.css +4 -0
  84. package/dist/collection/components/eds-table/eds-table.js +69 -11
  85. package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
  86. package/dist/collection/components/eds-timeline/eds-timeline.js +99 -0
  87. package/dist/collection/components/eds-timeline/eds-timeline.stories.js +35 -0
  88. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  89. package/dist/collection/components/eds-trl/eds-trl.js +69 -0
  90. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  91. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  92. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  93. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  94. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  95. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  96. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  97. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -5
  98. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  99. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  100. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  101. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  102. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  103. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  104. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +3 -6
  105. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  106. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  107. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +44 -0
  108. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +7 -1
  109. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  110. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  111. package/dist/collection/eds-docs-ui/functional/overview.js +1 -1
  112. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  113. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  114. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  115. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +21 -1
  116. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +2 -54
  117. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +4 -13
  118. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +4 -0
  119. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  120. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -8
  121. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +40 -7
  122. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  123. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -3
  124. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
  125. package/dist/collection/shared-ui/eds-header/eds-header.js +10 -6
  126. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +16 -10
  127. package/dist/collection/shared-ui/eds-login/eds-login.js +3 -2
  128. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +4 -4
  129. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
  130. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +29 -8
  131. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +22 -4
  132. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
  133. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +48 -34
  134. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  135. package/dist/collection/shared-ui/eds-user/eds-user.js +12 -6
  136. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -11
  137. package/dist/components/analytics.js +6 -6
  138. package/dist/components/components.css +38 -0
  139. package/dist/components/components.esm.js +1 -47
  140. package/dist/components/correct-use-of-colors.js +1 -1
  141. package/dist/components/eds-accordion2.js +4 -3
  142. package/dist/components/eds-alert2.js +3 -2
  143. package/dist/components/eds-avatar2.js +3 -2
  144. package/dist/components/eds-block-break2.js +2 -1
  145. package/dist/components/eds-breadcrumb.js +15 -13
  146. package/dist/components/eds-button2.js +6 -4
  147. package/dist/components/eds-card-desc2.js +2 -1
  148. package/dist/components/eds-card-generic2.js +17 -4
  149. package/dist/components/eds-card-project.js +2 -1
  150. package/dist/components/eds-card-section.js +19 -7
  151. package/dist/components/eds-card-tags.js +2 -1
  152. package/dist/components/eds-card-title2.js +2 -1
  153. package/dist/components/eds-card-tool.js +4 -2
  154. package/dist/components/eds-code-block2.js +3 -33
  155. package/dist/components/eds-components-section.js +44 -24
  156. package/dist/components/eds-docs-palettes.js +1 -1
  157. package/dist/components/eds-docs-tokens.js +1 -1
  158. package/dist/components/eds-dropdown2.js +2 -1
  159. package/dist/components/eds-footer2.js +3 -2
  160. package/dist/components/eds-form.js +97 -22
  161. package/dist/components/eds-fullscreen-menu.js +2 -1
  162. package/dist/components/eds-header.js +9 -4
  163. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  164. package/dist/components/eds-icon-arrow-right.js +1 -1
  165. package/dist/components/eds-icon-bluesky.js +1 -1
  166. package/dist/components/eds-icon-chevron-down.js +1 -1
  167. package/dist/components/eds-icon-chevron-left.js +1 -1
  168. package/dist/components/eds-icon-chevron-right.js +1 -1
  169. package/dist/components/eds-icon-chevron-up.js +1 -1
  170. package/dist/components/eds-icon-close.js +1 -1
  171. package/dist/components/eds-icon-copy.js +1 -1
  172. package/dist/components/eds-icon-eu.js +1 -1
  173. package/dist/components/eds-icon-facebook.js +1 -1
  174. package/dist/components/eds-icon-gitlab.js +1 -1
  175. package/dist/components/eds-icon-linkedin.js +1 -1
  176. package/dist/components/eds-icon-loader.js +1 -1
  177. package/dist/components/eds-icon-mastodon.js +1 -1
  178. package/dist/components/eds-icon-menu.js +1 -1
  179. package/dist/components/eds-icon-more.js +1 -1
  180. package/dist/components/eds-icon-search.js +1 -1
  181. package/dist/components/eds-icon-success.js +1 -1
  182. package/dist/components/eds-icon-twitter.js +1 -1
  183. package/dist/components/eds-icon-user.js +1 -1
  184. package/dist/components/eds-icon-youtube.js +1 -1
  185. package/dist/components/eds-img2.js +2 -1
  186. package/dist/components/eds-input-field2.js +5 -4
  187. package/dist/components/eds-input-select2.js +70 -2
  188. package/dist/components/eds-link2.js +5 -3
  189. package/dist/components/eds-login.js +3 -2
  190. package/dist/components/eds-logo-variations.d.ts +11 -0
  191. package/dist/components/eds-logo-variations.js +60 -0
  192. package/dist/components/eds-logo2.js +6 -3
  193. package/dist/components/eds-matomo-notice.js +4 -2
  194. package/dist/components/eds-modal.js +44 -4
  195. package/dist/components/eds-pagination2.js +2 -1
  196. package/dist/components/eds-progress-bar.js +1 -40
  197. package/dist/components/{eds-progress-bar.entry.js → eds-progress-bar2.js} +26 -7
  198. package/dist/components/eds-rating.js +2 -1
  199. package/dist/components/eds-section-core2.js +2 -1
  200. package/dist/components/eds-social-networks.js +2 -2
  201. package/dist/components/eds-social-networks2.js +7 -6
  202. package/dist/components/eds-svg-repository.js +296 -2
  203. package/dist/components/eds-tab2.js +1 -1
  204. package/dist/components/eds-table2.js +38 -15
  205. package/dist/components/eds-tabs-content.js +5 -4
  206. package/dist/components/eds-tabs.js +31 -8
  207. package/dist/components/eds-tag2.js +3 -2
  208. package/dist/components/eds-timeline.d.ts +11 -0
  209. package/dist/components/eds-timeline.js +131 -0
  210. package/dist/components/eds-toast-manager.js +3 -2
  211. package/dist/components/eds-toast2.js +1 -1
  212. package/dist/components/eds-tooltip.js +3 -2
  213. package/dist/components/eds-trl.d.ts +11 -0
  214. package/dist/components/eds-trl.js +139 -0
  215. package/dist/components/eds-user-modal2.js +1 -4
  216. package/dist/components/eds-user2.js +12 -6
  217. package/dist/components/incorrect-use-of-colors.js +20 -2
  218. package/dist/components/index.esm.js +0 -1
  219. package/dist/components/index2.js +44 -399
  220. package/dist/components/keycloak.js +0 -10
  221. package/dist/components/loader.js +2 -5
  222. package/dist/components/logo-space.js +4 -3
  223. package/dist/components/logo-variations-horizontal.js +2 -49
  224. package/dist/components/logo-variations-horizontal2.js +37 -0
  225. package/dist/components/logo-variations-vertical.js +2 -49
  226. package/dist/components/logo-variations-vertical2.js +42 -0
  227. package/dist/components/logo-wrong-usage.js +5 -4
  228. package/dist/components/{p-9c05e349.entry.js → p-005de86f.entry.js} +1 -1
  229. package/dist/components/{p-877403df.entry.js → p-02e2a62f.entry.js} +1 -1
  230. package/dist/components/{p-3dbf2ac9.entry.js → p-0910d733.entry.js} +1 -1
  231. package/dist/components/{p-6bc00fad.entry.js → p-0c2e844e.entry.js} +1 -1
  232. package/dist/components/{p-378d371f.entry.js → p-145f13ad.entry.js} +1 -1
  233. package/dist/components/{p-0a195bfe.entry.js → p-16458a81.entry.js} +1 -1
  234. package/dist/components/p-2117611b.js +1 -0
  235. package/dist/components/{p-513bf756.entry.js → p-22762818.entry.js} +1 -1
  236. package/dist/components/{p-94b74ae8.entry.js → p-22e6d7d5.entry.js} +1 -1
  237. package/dist/components/p-22f9e720.js +1 -0
  238. package/dist/components/p-2851ff44.entry.js +1 -0
  239. package/dist/components/p-29648b47.entry.js +1 -0
  240. package/dist/components/p-297b2bc3.entry.js +1 -0
  241. package/dist/components/{p-4541cb5f.entry.js → p-2e8459ef.entry.js} +1 -1
  242. package/dist/components/p-32cddd94.entry.js +1 -0
  243. package/dist/components/{p-0611bbac.entry.js → p-32f282a9.entry.js} +1 -1
  244. package/dist/components/p-3617841d.entry.js +1 -0
  245. package/dist/components/p-373673ca.js +1 -0
  246. package/dist/components/{p-677f60bc.entry.js → p-388b4966.entry.js} +1 -1
  247. package/dist/components/p-3ff76976.entry.js +1 -0
  248. package/dist/components/{p-ff6b25a1.entry.js → p-4037ad48.entry.js} +1 -1
  249. package/dist/components/{p-c16b3c0c.entry.js → p-42b4ecff.entry.js} +1 -1
  250. package/dist/components/{p-fa1276cc.entry.js → p-435a14c1.entry.js} +1 -1
  251. package/dist/components/p-490ba155.entry.js +1 -0
  252. package/dist/components/p-4932aab2.entry.js +1 -0
  253. package/dist/components/p-4a24c2ce.entry.js +1 -0
  254. package/dist/components/p-52ac3456.entry.js +1 -0
  255. package/dist/components/{p-b544f216.entry.js → p-54c75346.entry.js} +1 -1
  256. package/dist/components/{p-11a4ef34.entry.js → p-57c964c5.entry.js} +1 -1
  257. package/dist/components/p-5a43503a.entry.js +1 -0
  258. package/dist/components/p-5aad9d3f.entry.js +1 -0
  259. package/dist/components/p-5afb626c.entry.js +1 -0
  260. package/dist/components/p-5d7af761.entry.js +1 -0
  261. package/dist/components/{p-2728a189.entry.js → p-5fc68438.entry.js} +1 -1
  262. package/dist/components/p-6378fb3e.entry.js +1 -0
  263. package/dist/components/p-673dce11.entry.js +1 -0
  264. package/dist/components/{p-c0afe524.entry.js → p-6fc62452.entry.js} +1 -1
  265. package/dist/components/p-7215789a.entry.js +1 -0
  266. package/dist/components/{p-36c0f3ee.entry.js → p-73bd0c97.entry.js} +1 -1
  267. package/dist/components/p-762c8c83.entry.js +1 -0
  268. package/dist/components/p-7802e966.entry.js +1 -0
  269. package/dist/components/p-79887c2c.entry.js +1 -0
  270. package/dist/components/{p-e9a1fb1e.js → p-7a8b9de5.js} +2 -2
  271. package/dist/components/p-846fc91c.entry.js +1 -0
  272. package/dist/components/p-84957b6d.entry.js +1 -0
  273. package/dist/components/{p-e69ff916.entry.js → p-87830085.entry.js} +1 -1
  274. package/dist/components/p-8c56e39a.entry.js +1 -0
  275. package/dist/components/p-96c4deda.entry.js +1 -0
  276. package/dist/components/p-a44a1abe.entry.js +1 -0
  277. package/dist/components/p-a4e9b68b.entry.js +1 -0
  278. package/dist/components/p-ac0112d5.entry.js +1 -0
  279. package/dist/components/p-acb16e1c.entry.js +1 -0
  280. package/dist/components/p-ae5dbd41.entry.js +1 -0
  281. package/dist/components/{p-6cb8c52d.entry.js → p-bdd86a3c.entry.js} +1 -1
  282. package/dist/components/{p-22ee5374.entry.js → p-be6c80da.entry.js} +1 -1
  283. package/dist/components/p-bf0f851d.entry.js +1 -0
  284. package/dist/components/{p-82453a66.entry.js → p-c2d369bc.entry.js} +1 -1
  285. package/dist/components/p-d1670eec.entry.js +1 -0
  286. package/dist/components/p-d1f6a722.entry.js +1 -0
  287. package/dist/components/p-d53b7a75.entry.js +1 -0
  288. package/dist/components/{p-c11d93cf.entry.js → p-d571d530.entry.js} +1 -1
  289. package/dist/components/{p-bad2a33a.entry.js → p-d6d86366.entry.js} +1 -1
  290. package/dist/components/p-d7a92efb.entry.js +1 -0
  291. package/dist/components/p-d9788b54.entry.js +1 -0
  292. package/dist/components/{p-606d8f86.entry.js → p-e20ed2c7.entry.js} +1 -1
  293. package/dist/components/{p-200ad980.entry.js → p-e6bfbf51.entry.js} +1 -1
  294. package/dist/components/{p-ddd005a3.entry.js → p-e74834bc.entry.js} +1 -1
  295. package/dist/components/{p-b94318f2.entry.js → p-f7a6ce69.entry.js} +1 -1
  296. package/dist/components/p-fd27e56c.entry.js +1 -0
  297. package/dist/components/primary.js +1 -1
  298. package/dist/components/primary2.js +1 -1
  299. package/dist/components/secondary.js +1 -1
  300. package/dist/components/secondary2.js +7 -7
  301. package/dist/components/support.js +1 -1
  302. package/dist/components/support2.js +3 -3
  303. package/dist/components/token-list2.js +1 -1
  304. package/dist/components/token-radii2.js +1 -1
  305. package/dist/components/token-ratios.js +1 -1
  306. package/dist/components/token-shadows2.js +1 -1
  307. package/dist/components/token-spacing.js +1 -1
  308. package/dist/components/token-typography.js +1 -1
  309. package/dist/esm/{color-49aa977d.js → color-0ba8ed56.js} +6 -6
  310. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  311. package/dist/esm/components.js +4 -31
  312. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  313. package/dist/esm/eds-accordion.entry.js +5 -4
  314. package/dist/esm/eds-alert.entry.js +4 -3
  315. package/dist/esm/{eds-accordion_23.entry.js → eds-avatar_17.entry.js} +348 -774
  316. package/dist/esm/eds-card-desc_3.entry.js +1 -1
  317. package/dist/esm/eds-card-generic.entry.js +17 -5
  318. package/dist/esm/eds-card-project.entry.js +3 -3
  319. package/dist/esm/eds-card-section.entry.js +20 -8
  320. package/dist/esm/eds-card-tags.entry.js +3 -2
  321. package/dist/esm/eds-card-tool.entry.js +5 -4
  322. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  323. package/dist/esm/eds-code-block.entry.js +4 -34
  324. package/dist/esm/eds-components-section.entry.js +45 -25
  325. package/dist/esm/eds-docs-palettes.entry.js +2 -2
  326. package/dist/esm/eds-docs-tokens.entry.js +2 -2
  327. package/dist/esm/eds-form.entry.js +96 -23
  328. package/dist/esm/eds-frame.entry.js +1 -1
  329. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  330. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  331. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  332. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  333. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  334. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  335. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  336. package/dist/esm/eds-icon-close.entry.js +2 -2
  337. package/dist/esm/eds-icon-copy.entry.js +2 -2
  338. package/dist/esm/eds-icon-eu.entry.js +2 -2
  339. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  340. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  341. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  342. package/dist/esm/eds-icon-loader.entry.js +2 -2
  343. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  344. package/dist/esm/eds-icon-menu.entry.js +2 -2
  345. package/dist/esm/eds-icon-more.entry.js +2 -2
  346. package/dist/esm/eds-icon-search.entry.js +2 -2
  347. package/dist/esm/eds-icon-success.entry.js +2 -2
  348. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  349. package/dist/esm/eds-icon-user.entry.js +2 -2
  350. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  351. package/dist/{components/eds-input-field.entry.js → esm/eds-input_7.entry.js} +244 -6
  352. package/dist/esm/eds-login.entry.js +3 -3
  353. package/dist/esm/eds-logo-variations.entry.js +23 -0
  354. package/dist/esm/eds-matomo-notice.entry.js +6 -5
  355. package/dist/esm/eds-modal.entry.js +45 -5
  356. package/dist/esm/eds-navigator.entry.js +1 -1
  357. package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +160 -3
  358. package/dist/esm/eds-progress-bar.entry.js +3 -2
  359. package/dist/esm/eds-rating.entry.js +3 -2
  360. package/dist/esm/eds-section-core_2.entry.js +1 -1
  361. package/dist/esm/eds-svg-repository.entry.js +297 -3
  362. package/dist/esm/eds-tab.entry.js +2 -2
  363. package/dist/esm/eds-tabs-content.entry.js +5 -5
  364. package/dist/esm/eds-tabs.entry.js +31 -9
  365. package/dist/esm/eds-timeline.entry.js +72 -0
  366. package/dist/esm/eds-tooltip.entry.js +4 -3
  367. package/dist/esm/eds-trl.entry.js +48 -0
  368. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  369. package/dist/esm/{index-f1426055.js → index-e96badea.js} +54 -37
  370. package/dist/esm/{loader-66341740.js → loader-c9628637.js} +2 -5
  371. package/dist/esm/loader.js +3 -3
  372. package/dist/esm/logo-space.entry.js +5 -4
  373. package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
  374. package/dist/esm/logo-wrong-usage.entry.js +6 -5
  375. package/dist/esm/token-list_3.entry.js +4 -4
  376. package/dist/esm/token-ratios.entry.js +2 -2
  377. package/dist/esm/token-spacing.entry.js +2 -2
  378. package/dist/esm/token-typography.entry.js +2 -2
  379. package/dist/hydrate/index.js +671 -223
  380. package/dist/hydrate/index.mjs +671 -223
  381. package/dist/stencil.config.js +4 -3
  382. package/dist/types/components/eds-accordion/eds-accordion.d.ts +2 -2
  383. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +1 -5
  384. package/dist/types/components/eds-button/eds-button.d.ts +2 -2
  385. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +2 -0
  386. package/dist/types/components/eds-form/eds-form.d.ts +8 -0
  387. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +106 -3
  388. package/dist/types/components/eds-modal/eds-modal.d.ts +16 -0
  389. package/dist/types/components/eds-table/eds-table.d.ts +9 -1
  390. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -67
  391. package/dist/types/components/eds-timeline/eds-timeline.d.ts +26 -0
  392. package/dist/types/components/eds-timeline/eds-timeline.stories.d.ts +24 -0
  393. package/dist/types/components/eds-trl/eds-trl.d.ts +12 -0
  394. package/dist/types/components.d.ts +255 -32
  395. package/dist/types/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.d.ts +0 -4
  396. package/dist/types/eds-docs-ui/eds-logo-variations/eds-logo-variations.d.ts +9 -0
  397. package/dist/types/eds-docs-ui/eds-svg-repository/eds-svg-repository.d.ts +2 -0
  398. package/dist/types/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.d.ts +1 -7
  399. package/dist/types/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.d.ts +1 -1
  400. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +6 -1
  401. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +20 -1
  402. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +8 -2
  403. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +29 -0
  404. package/dist/types/shared-ui/eds-header/eds-header.d.ts +7 -1
  405. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +9 -1
  406. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  407. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +13 -0
  408. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +18 -1
  409. package/dist/types/shared-ui/eds-user/eds-user.d.ts +1 -2
  410. package/package.json +3 -3
  411. package/dist/cjs/color-primary-palette.cjs.entry.js +0 -43
  412. package/dist/cjs/color-secondary-palette.cjs.entry.js +0 -68
  413. package/dist/cjs/color-support-palette.cjs.entry.js +0 -59
  414. package/dist/cjs/eds-avatar.cjs.entry.js +0 -73
  415. package/dist/cjs/eds-block-break.cjs.entry.js +0 -20
  416. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -152
  417. package/dist/cjs/eds-button.cjs.entry.js +0 -233
  418. package/dist/cjs/eds-card-desc.cjs.entry.js +0 -26
  419. package/dist/cjs/eds-card-title.cjs.entry.js +0 -56
  420. package/dist/cjs/eds-dropdown.cjs.entry.js +0 -129
  421. package/dist/cjs/eds-footer.cjs.entry.js +0 -49
  422. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -99
  423. package/dist/cjs/eds-header.cjs.entry.js +0 -96
  424. package/dist/cjs/eds-icon-wrapper.cjs.entry.js +0 -40
  425. package/dist/cjs/eds-img.cjs.entry.js +0 -57
  426. package/dist/cjs/eds-input-footer.cjs.entry.js +0 -21
  427. package/dist/cjs/eds-input-label.cjs.entry.js +0 -20
  428. package/dist/cjs/eds-input-range.cjs.entry.js +0 -39
  429. package/dist/cjs/eds-input-search.cjs.entry.js +0 -41
  430. package/dist/cjs/eds-input-select.cjs.entry.js +0 -30
  431. package/dist/cjs/eds-input.cjs.entry.js +0 -68
  432. package/dist/cjs/eds-link.cjs.entry.js +0 -211
  433. package/dist/cjs/eds-logo.cjs.entry.js +0 -76
  434. package/dist/cjs/eds-section-core.cjs.entry.js +0 -23
  435. package/dist/cjs/eds-section-heading.cjs.entry.js +0 -41
  436. package/dist/cjs/eds-social-networks.cjs.entry.js +0 -65
  437. package/dist/cjs/eds-table.cjs.entry.js +0 -142
  438. package/dist/cjs/eds-tag.cjs.entry.js +0 -44
  439. package/dist/cjs/eds-toast-manager.cjs.entry.js +0 -45
  440. package/dist/cjs/eds-toast.cjs.entry.js +0 -53
  441. package/dist/cjs/eds-user-modal.cjs.entry.js +0 -47
  442. package/dist/cjs/eds-user.cjs.entry.js +0 -90
  443. package/dist/cjs/gradient-primary-palette.cjs.entry.js +0 -45
  444. package/dist/cjs/gradient-secondary-palette.cjs.entry.js +0 -79
  445. package/dist/cjs/gradient-support-palette.cjs.entry.js +0 -63
  446. package/dist/cjs/index-1ff5f25c.js +0 -48
  447. package/dist/cjs/index-383d2951.js +0 -3449
  448. package/dist/cjs/index-96a4261e.js +0 -405
  449. package/dist/cjs/index-f62478aa.js +0 -1837
  450. package/dist/cjs/keycloak-940b83c1.js +0 -1910
  451. package/dist/cjs/logo-variations-horizontal.cjs.entry.js +0 -30
  452. package/dist/cjs/logo-variations-vertical.cjs.entry.js +0 -30
  453. package/dist/cjs/shadow-css-988e4292.js +0 -334
  454. package/dist/cjs/token-list.cjs.entry.js +0 -253
  455. package/dist/cjs/token-radii.cjs.entry.js +0 -25
  456. package/dist/cjs/token-shadows.cjs.entry.js +0 -34
  457. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.css +0 -0
  458. package/dist/components/app-globals-0f993ce5.js +0 -3
  459. package/dist/components/color-primary-palette.entry.js +0 -39
  460. package/dist/components/color-secondary-palette.entry.js +0 -64
  461. package/dist/components/color-support-palette.entry.js +0 -55
  462. package/dist/components/correct-use-of-colors.entry.js +0 -64
  463. package/dist/components/eds-accordion.entry.js +0 -88
  464. package/dist/components/eds-alert.entry.js +0 -91
  465. package/dist/components/eds-avatar.entry.js +0 -69
  466. package/dist/components/eds-block-break.entry.js +0 -16
  467. package/dist/components/eds-breadcrumb.entry.js +0 -148
  468. package/dist/components/eds-button.entry.js +0 -229
  469. package/dist/components/eds-card-desc.entry.js +0 -22
  470. package/dist/components/eds-card-generic.entry.js +0 -89
  471. package/dist/components/eds-card-project.entry.js +0 -63
  472. package/dist/components/eds-card-section.entry.js +0 -39
  473. package/dist/components/eds-card-tags.entry.js +0 -17
  474. package/dist/components/eds-card-title.entry.js +0 -52
  475. package/dist/components/eds-card-tool.entry.js +0 -75
  476. package/dist/components/eds-card-wrapper.entry.js +0 -28
  477. package/dist/components/eds-code-block.entry.js +0 -2468
  478. package/dist/components/eds-components-section.entry.js +0 -92
  479. package/dist/components/eds-docs-palettes.entry.js +0 -23
  480. package/dist/components/eds-docs-tokens.entry.js +0 -31
  481. package/dist/components/eds-dropdown.entry.js +0 -125
  482. package/dist/components/eds-footer.entry.js +0 -45
  483. package/dist/components/eds-form.entry.js +0 -245
  484. package/dist/components/eds-frame.entry.js +0 -87
  485. package/dist/components/eds-fullscreen-menu.entry.js +0 -95
  486. package/dist/components/eds-header.entry.js +0 -92
  487. package/dist/components/eds-icon-arrow-diagonal.entry.js +0 -14
  488. package/dist/components/eds-icon-arrow-right.entry.js +0 -14
  489. package/dist/components/eds-icon-bluesky.entry.js +0 -14
  490. package/dist/components/eds-icon-chevron-down.entry.js +0 -14
  491. package/dist/components/eds-icon-chevron-left.entry.js +0 -14
  492. package/dist/components/eds-icon-chevron-right.entry.js +0 -14
  493. package/dist/components/eds-icon-chevron-up.entry.js +0 -14
  494. package/dist/components/eds-icon-close.entry.js +0 -14
  495. package/dist/components/eds-icon-copy.entry.js +0 -14
  496. package/dist/components/eds-icon-eu.entry.js +0 -14
  497. package/dist/components/eds-icon-facebook.entry.js +0 -14
  498. package/dist/components/eds-icon-gitlab.entry.js +0 -14
  499. package/dist/components/eds-icon-linkedin.entry.js +0 -14
  500. package/dist/components/eds-icon-loader.entry.js +0 -14
  501. package/dist/components/eds-icon-mastodon.entry.js +0 -14
  502. package/dist/components/eds-icon-menu.entry.js +0 -14
  503. package/dist/components/eds-icon-more.entry.js +0 -14
  504. package/dist/components/eds-icon-search.entry.js +0 -14
  505. package/dist/components/eds-icon-success.entry.js +0 -14
  506. package/dist/components/eds-icon-twitter.entry.js +0 -14
  507. package/dist/components/eds-icon-user.entry.js +0 -14
  508. package/dist/components/eds-icon-wrapper.entry.js +0 -36
  509. package/dist/components/eds-icon-youtube.entry.js +0 -14
  510. package/dist/components/eds-img.entry.js +0 -53
  511. package/dist/components/eds-input-footer.entry.js +0 -17
  512. package/dist/components/eds-input-label.entry.js +0 -16
  513. package/dist/components/eds-input-range.entry.js +0 -35
  514. package/dist/components/eds-input-search.entry.js +0 -37
  515. package/dist/components/eds-input-select.entry.js +0 -26
  516. package/dist/components/eds-input.entry.js +0 -64
  517. package/dist/components/eds-link.entry.js +0 -207
  518. package/dist/components/eds-login.entry.js +0 -68
  519. package/dist/components/eds-logo.entry.js +0 -72
  520. package/dist/components/eds-matomo-notice.entry.js +0 -105
  521. package/dist/components/eds-modal.entry.js +0 -42
  522. package/dist/components/eds-navigator.entry.js +0 -39
  523. package/dist/components/eds-pagination.entry.js +0 -207
  524. package/dist/components/eds-rating.entry.js +0 -53
  525. package/dist/components/eds-section-core.entry.js +0 -19
  526. package/dist/components/eds-section-heading.entry.js +0 -37
  527. package/dist/components/eds-social-networks.entry.js +0 -61
  528. package/dist/components/eds-svg-repository.entry.js +0 -28
  529. package/dist/components/eds-tab.entry.js +0 -36
  530. package/dist/components/eds-table.entry.js +0 -138
  531. package/dist/components/eds-tabs-content.entry.js +0 -129
  532. package/dist/components/eds-tabs.entry.js +0 -118
  533. package/dist/components/eds-tag.entry.js +0 -40
  534. package/dist/components/eds-toast-manager.entry.js +0 -41
  535. package/dist/components/eds-toast.entry.js +0 -49
  536. package/dist/components/eds-tooltip.entry.js +0 -95
  537. package/dist/components/eds-user-modal.entry.js +0 -43
  538. package/dist/components/eds-user.entry.js +0 -86
  539. package/dist/components/gradient-primary-palette.entry.js +0 -41
  540. package/dist/components/gradient-secondary-palette.entry.js +0 -75
  541. package/dist/components/gradient-support-palette.entry.js +0 -59
  542. package/dist/components/incorrect-use-of-colors.entry.js +0 -46
  543. package/dist/components/index-144c9ae8.js +0 -46
  544. package/dist/components/index-360dc790.js +0 -401
  545. package/dist/components/index-a9afa43f.js +0 -1802
  546. package/dist/components/index-b384416e.js +0 -3023
  547. package/dist/components/index3.js +0 -46
  548. package/dist/components/index4.js +0 -1802
  549. package/dist/components/keycloak-b647d452.js +0 -1903
  550. package/dist/components/logo-space.entry.js +0 -16
  551. package/dist/components/logo-variations-horizontal.entry.js +0 -26
  552. package/dist/components/logo-variations-vertical.entry.js +0 -26
  553. package/dist/components/logo-wrong-usage.entry.js +0 -16
  554. package/dist/components/p-0a6262b7.entry.js +0 -1
  555. package/dist/components/p-145d8e4d.entry.js +0 -1
  556. package/dist/components/p-1a1b8e28.entry.js +0 -1
  557. package/dist/components/p-1d94d663.entry.js +0 -1
  558. package/dist/components/p-219d9f68.entry.js +0 -1
  559. package/dist/components/p-25eb1801.entry.js +0 -1
  560. package/dist/components/p-2b14f03a.entry.js +0 -1
  561. package/dist/components/p-3048bdec.entry.js +0 -1
  562. package/dist/components/p-42dfb426.entry.js +0 -1
  563. package/dist/components/p-49a5eef5.entry.js +0 -1
  564. package/dist/components/p-52a487ee.entry.js +0 -1
  565. package/dist/components/p-55444767.entry.js +0 -1
  566. package/dist/components/p-5b900a2c.entry.js +0 -1
  567. package/dist/components/p-5edc806a.entry.js +0 -1
  568. package/dist/components/p-64d4a6e0.entry.js +0 -1
  569. package/dist/components/p-6f601454.entry.js +0 -1
  570. package/dist/components/p-763cbe2f.entry.js +0 -1
  571. package/dist/components/p-77a81dfa.entry.js +0 -1
  572. package/dist/components/p-7a2b35b4.entry.js +0 -1
  573. package/dist/components/p-81d2a9be.entry.js +0 -1
  574. package/dist/components/p-8c1be2b6.entry.js +0 -1
  575. package/dist/components/p-923e4d23.entry.js +0 -1
  576. package/dist/components/p-9c74a5dd.entry.js +0 -1
  577. package/dist/components/p-abcdf35f.js +0 -1
  578. package/dist/components/p-ac083317.entry.js +0 -1
  579. package/dist/components/p-ad79cc3c.entry.js +0 -1
  580. package/dist/components/p-b4055691.entry.js +0 -1
  581. package/dist/components/p-bfd2fdf1.entry.js +0 -1
  582. package/dist/components/p-c3c61db1.entry.js +0 -1
  583. package/dist/components/p-caf2af08.entry.js +0 -1
  584. package/dist/components/p-d80de13e.entry.js +0 -1
  585. package/dist/components/p-e04097a2.entry.js +0 -1
  586. package/dist/components/p-e2e715a2.entry.js +0 -1
  587. package/dist/components/p-e639818b.entry.js +0 -1
  588. package/dist/components/p-e80f4f24.js +0 -1
  589. package/dist/components/p-ec95188c.entry.js +0 -1
  590. package/dist/components/p-f04946a5.entry.js +0 -1
  591. package/dist/components/shadow-css-423dab2c.js +0 -332
  592. package/dist/components/token-list.entry.js +0 -249
  593. package/dist/components/token-radii.entry.js +0 -21
  594. package/dist/components/token-ratios.entry.js +0 -25
  595. package/dist/components/token-shadows.entry.js +0 -30
  596. package/dist/components/token-spacing.entry.js +0 -12
  597. package/dist/components/token-typography.entry.js +0 -226
  598. package/dist/esm/color-primary-palette.entry.js +0 -39
  599. package/dist/esm/color-secondary-palette.entry.js +0 -64
  600. package/dist/esm/color-support-palette.entry.js +0 -55
  601. package/dist/esm/eds-avatar.entry.js +0 -69
  602. package/dist/esm/eds-block-break.entry.js +0 -16
  603. package/dist/esm/eds-breadcrumb.entry.js +0 -148
  604. package/dist/esm/eds-button.entry.js +0 -229
  605. package/dist/esm/eds-card-desc.entry.js +0 -22
  606. package/dist/esm/eds-card-title.entry.js +0 -52
  607. package/dist/esm/eds-dropdown.entry.js +0 -125
  608. package/dist/esm/eds-footer.entry.js +0 -45
  609. package/dist/esm/eds-fullscreen-menu.entry.js +0 -95
  610. package/dist/esm/eds-header.entry.js +0 -92
  611. package/dist/esm/eds-icon-wrapper.entry.js +0 -36
  612. package/dist/esm/eds-img.entry.js +0 -53
  613. package/dist/esm/eds-input-field.entry.js +0 -68
  614. package/dist/esm/eds-input-footer.entry.js +0 -17
  615. package/dist/esm/eds-input-label.entry.js +0 -16
  616. package/dist/esm/eds-input-range.entry.js +0 -35
  617. package/dist/esm/eds-input-search.entry.js +0 -37
  618. package/dist/esm/eds-input-select.entry.js +0 -26
  619. package/dist/esm/eds-input.entry.js +0 -64
  620. package/dist/esm/eds-link.entry.js +0 -207
  621. package/dist/esm/eds-logo.entry.js +0 -72
  622. package/dist/esm/eds-section-core.entry.js +0 -19
  623. package/dist/esm/eds-section-heading.entry.js +0 -37
  624. package/dist/esm/eds-social-networks.entry.js +0 -61
  625. package/dist/esm/eds-table.entry.js +0 -138
  626. package/dist/esm/eds-tag.entry.js +0 -40
  627. package/dist/esm/eds-toast-manager.entry.js +0 -41
  628. package/dist/esm/eds-toast.entry.js +0 -49
  629. package/dist/esm/eds-user-modal.entry.js +0 -43
  630. package/dist/esm/eds-user.entry.js +0 -86
  631. package/dist/esm/gradient-primary-palette.entry.js +0 -41
  632. package/dist/esm/gradient-secondary-palette.entry.js +0 -75
  633. package/dist/esm/gradient-support-palette.entry.js +0 -59
  634. package/dist/esm/index-144c9ae8.js +0 -46
  635. package/dist/esm/index-360dc790.js +0 -401
  636. package/dist/esm/index-a9afa43f.js +0 -1802
  637. package/dist/esm/index-b384416e.js +0 -3416
  638. package/dist/esm/keycloak-b647d452.js +0 -1903
  639. package/dist/esm/logo-variations-horizontal.entry.js +0 -26
  640. package/dist/esm/logo-variations-vertical.entry.js +0 -26
  641. package/dist/esm/shadow-css-423dab2c.js +0 -332
  642. package/dist/esm/toastManager-b716afd8.js +0 -31
  643. package/dist/esm/token-list.entry.js +0 -249
  644. package/dist/esm/token-radii.entry.js +0 -21
  645. package/dist/esm/token-shadows.entry.js +0 -30
  646. /package/dist/cjs/{toastManager-1fb1a402.js → toastManager-4e9535f3.js} +0 -0
  647. /package/dist/collection/shared-ui/eds-social-networks/{eds-social-network.css → eds-social-networks.css} +0 -0
  648. /package/dist/{components/toastManager-b716afd8.js → esm/toastManager-d9eee791.js} +0 -0
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class TokenSpacing {
6
6
  render() {
7
- return (h("div", { key: 'a5ba01206487d07014bfd41fbed4f2f80f7d067e', class: "w-full" }, h("ul", { key: 'be6eb0bbe85f40b123ea04e02d839412401e0e0d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '1617719d10e11cc1e36df8cdc368fb3f55536d9a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '3510583e1adc5029a2562b96f33e9f6453240da5', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'b01170621405035c36efe8e5858201b6d12b23e9', class: "spacing-sample m-32 bg-darker" }, h("span", { key: 'ce9639400a99d478a5e31f95c9482cec914e90af', class: "text-white" }, "Margin: 2rem / m-32")))), h("li", { key: '96dd43d6786acdcb5cf9c911ce39efce00b09a77', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'd8d9178f9f700eb5e752c87333d894a2392d72e9', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'f357493cdad00a69ec48dc3fb7854ba4b25579ab', class: "spacing-sample ml-64 bg-darker" }, h("span", { key: '6e5e8b20be76970dead72ca485fb5cc9a6e7c1f1', class: "text-white" }, "Margin Left: 4rem / ml-64")))), h("li", { key: '22fec87f6102e0577bf912508128c12716b48cb4', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'dee21a637d965b41cbdd9b4131ae7e6fc241d39a', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '43b150abac42ee2e189ec5fe8de64f5b43fba2c8', class: "spacing-sample mt-32 bg-darker" }, h("span", { key: '3789c91cd7db3332af5df28308c4d69ccda4623d', class: "text-white" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '07e7c1b44d09a873df7f4488381b561bd952b65f', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '898be718773fee0d091424178ff4302f2fbc137b', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '60ce8427ee0c6deeda95b385c6342ca1b6215bba', class: "spacing-sample p-32 bg-darker" }, h("span", { key: '97913f64a9c0b15b200811e59214e0d0b3d8837d', class: "text-white" }, "Padding: 2rem / p-32")))), h("li", { key: '01ba17c02dc6fb806a23ce4429091e0417d094c5', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '559de3d223e040d0e1edbff121b99e6218773917', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'a857560b3ad4d7a5a670d5db5baae3fcfbf18d21', class: "spacing-sample pt-32 bg-darker" }, h("span", { key: '5fff31ad7de22d84df6741c0f9a611164bbe5cc9', class: "text-white" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '6ac602257cb50ac1a05d78b477bc84fb25e89b4c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'a087fa3b78537b2c0e35b7e9c2693e972092d407', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '76265dd76d79f8eb33f20ae85794c70cf41dd38b', class: "spacing-sample pl-32 bg-darker" }, h("span", { key: 'fe6a57a3977218cb6f9ea10560650634080d0931', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
7
+ return (h("div", { key: '5f72b8386e92973faca8b22ebadcffa5b8ca8744', class: "w-full" }, h("ul", { key: '619cc2546059aaac566dc89f56b098f72f7c2bde', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'b90587543210e02a577854ce061472ef8f3bdc7a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'd98ea95c641209ba592aae8c695e278549840420', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '6dd84540a213d98fa09480eac823fe030dfb2404', class: "spacing-sample m-32 bg-darker" }, h("span", { key: 'ad0493ba8d97cdcc15535505db4d726d6f69bd38', class: "text-white" }, "Margin: 2rem / m-32")))), h("li", { key: 'a0914d288cdb4b9caef6956af0069cd0937ee019', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '95adc2b10d3962378de300e00b749b691fda88af', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '8bad94397c9fe8112b49933a508958000f9cd99d', class: "spacing-sample ml-64 bg-darker" }, h("span", { key: '04229385104243a5ce9a194c4f8056f7341a6736', class: "text-white" }, "Margin Left: 4rem / ml-64")))), h("li", { key: 'f34e1fd5ccafc528ed9359766deaa5c615a2e14b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '38e12800b2c8502ea2f9e912af929f71d3ec9699', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'f4e93d89576ab3de7f44ce3a85d9838f21bfa7f6', class: "spacing-sample mt-32 bg-darker" }, h("span", { key: 'e85e2e1c7c4c7e765dfafd25dc9f2c33b6bd5069', class: "text-white" }, "Margin Top: 2rem / mt-32")))), h("li", { key: 'b42299c17c024a5906bd09c80a2f309b461b6fde', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'f54a9e32893ac6f1b0384e79e2959d1e65a251e2', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '4209fa0c979a1d55d42d7b892bc94cc0f3788e88', class: "spacing-sample p-32 bg-darker" }, h("span", { key: '1d9249c56d3a42500dfb8cc1d3eae1f89e79cdcd', class: "text-white" }, "Padding: 2rem / p-32")))), h("li", { key: 'ad6f2e33e15c4c21bdfed8478b3d2faa905490fa', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '9950970e66b8a382e7b0158b54e980a5e5f45774', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '40e96cd046eaddf3a23387995affbfc399d171ae', class: "spacing-sample pt-32 bg-darker" }, h("span", { key: '2d120273f7a6d4429061d0ade2164ada9a14b506', class: "text-white" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '8c3327edc63f8959c0cb01cce0a8407bf3a605af', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'c0be38039770c54577f073e1a707110cd0807ab5', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'd8085da375e734ed11fe580f1a9004f6fddef679', class: "spacing-sample pl-32 bg-darker" }, h("span", { key: '029857c00659221390438d8477734d0f130d1b97', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
8
8
  }
9
9
  static get is() { return "token-spacing"; }
10
10
  }
@@ -5,7 +5,7 @@ import typography from "../../../../../../../../packages/assets/tokens/typograph
5
5
  */
6
6
  export class TokenTypography {
7
7
  render() {
8
- return (h("section", { key: '8a5867f30800adcc1e5ef9438f01b3a031110402', class: "w-full" }, h("ul", { key: 'd1fc83712676e6524bddc2e5d1bc50f0266b05eb', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
8
+ return (h("section", { key: '23815518d694435812ed3d7b9aab850043941b96', class: "w-full" }, h("ul", { key: '366ed5bc5933c5b8a563d33b70471f507a21386c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
9
9
  .filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
10
10
  .flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, h("div", { class: "mr-auto hidden lg:block", style: {
11
11
  fontFamily: typography.families.sans,
@@ -1,7 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { EdsComponentsOverview } from "../functional/overview";
3
3
  import { EdsDocsInstallation } from "../functional/installation";
4
- import { EdsDocsUsage } from "../functional/usage";
5
4
  import { EdsDocsReact } from "../functional/react";
6
5
  import { EdsDocsVue } from "../functional/vue";
7
6
  import { EdsDocsAngular } from "../functional/angular";
@@ -19,19 +18,17 @@ export class EdsComponentsSection {
19
18
  case 1:
20
19
  return h(EdsDocsInstallation, null);
21
20
  case 2:
22
- return h(EdsDocsUsage, null);
23
- case 3:
24
21
  return h(EdsDocsReact, null);
25
- case 4:
22
+ case 3:
26
23
  return h(EdsDocsVue, null);
27
- case 5:
24
+ case 4:
28
25
  return h(EdsDocsAngular, null);
29
26
  default:
30
27
  return h("p", null, "Content not available.");
31
28
  }
32
29
  }
33
30
  render() {
34
- return h("div", { key: '289db339f218b1f440badee9bb13c7bb20962c9c', class: "container" }, this.renderContent());
31
+ return h("div", { key: 'ce34514ab73daa5baa011bda56a13d6197f8bfd0', class: "container" }, this.renderContent());
35
32
  }
36
33
  static get is() { return "eds-components-section"; }
37
34
  static get properties() {
@@ -17,7 +17,7 @@ export class EdsDocsPalettes {
17
17
  }
18
18
  }
19
19
  render() {
20
- return h("div", { key: '480cc269ee31de61190b4ae7502c3c17e673c3f9', class: "container" }, this.renderContent());
20
+ return h("div", { key: '42f0a4598c64661d98054522e88366ec591a2cb3', class: "container" }, this.renderContent());
21
21
  }
22
22
  static get is() { return "eds-docs-palettes"; }
23
23
  static get properties() {
@@ -25,7 +25,7 @@ export class EdsDocsContent {
25
25
  }
26
26
  }
27
27
  render() {
28
- return h("div", { key: '64ee8c20ec7dca1ea1a742ef53f0315c81107ead', class: "container" }, this.renderContent());
28
+ return h("div", { key: '10708d591c4077e4e1fe94073322f01121253bdb', class: "container" }, this.renderContent());
29
29
  }
30
30
  static get is() { return "eds-docs-tokens"; }
31
31
  static get properties() {
@@ -0,0 +1,44 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * @internal
4
+ */
5
+ export class EdsLogoVariations {
6
+ constructor() {
7
+ this.tabIndex = undefined;
8
+ }
9
+ renderContent() {
10
+ switch (this.tabIndex) {
11
+ case 0:
12
+ return h("logo-variations-horizontal", null);
13
+ case 1:
14
+ return h("logo-variations-vertical", null);
15
+ default:
16
+ return h("p", null, "Content not available.");
17
+ }
18
+ }
19
+ render() {
20
+ return h("div", { key: '9d6ce0e75030d6e636aab423181b0ce999f6f1b0', class: "container" }, this.renderContent());
21
+ }
22
+ static get is() { return "eds-logo-variations"; }
23
+ static get properties() {
24
+ return {
25
+ "tabIndex": {
26
+ "type": "number",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "number",
30
+ "resolved": "number",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": false,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": "Active tab index to determine the content to display"
38
+ },
39
+ "attribute": "tab-index",
40
+ "reflect": false
41
+ }
42
+ };
43
+ }
44
+ }
@@ -13,6 +13,11 @@ export class EdsSvgRepository {
13
13
  icon: svgContent // Pass SVG content as innerHTML
14
14
  }));
15
15
  }
16
+ get hostWidth() {
17
+ // Instead of using window.innerWidth, use the parent element's width.
18
+ const containerWidth = this.hostEl.parentElement ? this.hostEl.parentElement.offsetWidth : 400;
19
+ return containerWidth;
20
+ }
16
21
  render() {
17
22
  const svgData = this.getSvgData();
18
23
  // Define table configuration
@@ -20,8 +25,9 @@ export class EdsSvgRepository {
20
25
  icon: { format: 'svg' },
21
26
  name: { format: 'bold' }
22
27
  };
23
- return (h("eds-table", { key: 'a13e24877de433c40b536cb5b74af4c0706aeecf', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true }));
28
+ return (h("eds-table", { key: 'a1d4a1db6f0886a43513fc34707cdd6140ab685d', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true, "host-width": this.hostWidth }));
24
29
  }
25
30
  static get is() { return "eds-svg-repository"; }
26
31
  static get encapsulation() { return "shadow"; }
32
+ static get elementRef() { return "hostEl"; }
27
33
  }
@@ -1,2 +1,2 @@
1
1
  import { h } from "@stencil/core";
2
- export const EdsDocsAngular = () => (h("div", null, h("h2", null, "Angular Wrappers"), h("p", null, "Learn how to use our components in a Angular Application."), h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Define the custom elements"), h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Angular Custom Elements Schema"), h("eds-code-block", { code: 'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";', language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" }, h("eds-code-block", { code: '\n<div class="container">\n <h1 class="f-heading-01">{{ title }}</h1>\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>', language: "javascript", "copy-label": "Copy Code" }))));
2
+ export const EdsDocsAngular = () => (h("div", null, h("h2", null, "Angular Wrappers"), h("p", null, "Learn how to use our components in a Angular Application."), h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Define the custom elements"), h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Angular Custom Elements Schema"), h("eds-code-block", { code: 'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";', language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" }, h("eds-code-block", { code: '\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>', language: "javascript", "copy-label": "Copy Code" }))));
@@ -1,2 +1,2 @@
1
1
  import { h } from "@stencil/core";
2
- export const EdsDocsInstallation = () => (h("div", null, h("p", null, "To start using the EBRAINS Design System, include the following scripts and styles in your project. You can also install it via npm for use with modern build tools."), h("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" }), h("p", null, "TBD")));
2
+ export const EdsDocsInstallation = () => (h("div", null, h("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" })), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/assets", language: "html", "copy-label": "Copy Code" })), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/react", language: "html", "copy-label": "Copy Code" }))));
@@ -1,2 +1,2 @@
1
1
  import { h } from "@stencil/core";
2
- export const EdsComponentsOverview = () => (h("div", { class: "static-content container" }, h("eds-alert", { message: "EBRAINS Design System makes it easy to implement and use its components across any framework or no framework at all. We\n accomplish this by using standardized web platform APIs and Web Components.", intent: "default" }), h("h2", null, "Load the module"), h("p", null, "Integrating EDSs components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the", ' ', h("code", null, "head"), "."), h("eds-code-block", { code: '<script type="module" href="https://unpkg.com/@ebrains/components@0.0.1/loader"/></script>', language: "javascript", "copy-label": "Copy Code" }), h("h2", null, "Load the styles"), h("p", null, "To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the", ' ', h("code", null, "head")), h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }), h("h2", null, "Load the fonts"), h("p", null, "To load the correct webfonts as well, add either one of these tags to the ", h("code", null, "head")), h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" }), h("h2", null, "Component Usage"), h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"), h("eds-code-block", { code: '<eds-button label="my bytton" intent="primary"></eds-button>', language: "html", "copy-label": "Copy Code" })));
2
+ export const EdsComponentsOverview = () => (h("div", { class: "static-content container" }, h("h2", null, "Load the module"), h("p", null, "Integrating EDSs components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the", ' ', h("code", null, "head"), "."), h("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }), h("h2", null, "Load the styles"), h("p", null, "To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the", ' ', h("code", null, "head")), h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }), h("div", { class: "my-4" }, h("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })), h("h2", null, "Load the fonts"), h("p", null, "To load the webfonts, add the tag below to the ", h("code", null, "head")), h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" }), h("h2", null, "Component Usage"), h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"), h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" })));
@@ -1,2 +1,2 @@
1
1
  import { h } from "@stencil/core";
2
- export const EdsDocsReact = () => (h("div", null, h("h2", null, "React Wrappers"), h("p", null, "Learn how to use our components in a React Application."), "Simple install the package below and check out the examples", h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" }, h("eds-code-block", { code: '\nimport { EdsHeader } from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n // Add any other properties your user object might have\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n \n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n \n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n const handleTabChange = (\n event: CustomEvent<{ index: number; name: string }>,\n ) => {\n console.log(event.detail);\n setActiveTabIndex(event.detail.index);\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.addEventListener("tabChange", handleTabChange as EventListener);\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.removeEventListener(\n "tabChange",\n handleTabChange as EventListener,\n );\n };\n }, []); // Empty dependency array ensures this runs only once after mounting\n\n return (\n <div id="main">\n <EdsHeader\n home-url="/"\n user-feature={false}\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n links="[\n { "label": "About", "url": "/about" },\n { "label": "Focus Areas", "url": "/focus-areas" },\n { "label": "News & Events", "url": "/news-and-events" },\n { "label": "Contact", "url": "/contact" }\n ]"\n ></EdsHeader>\n\n <div> \n User is{" "} {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n </div>\n </div>\n );\n}\n\nexport default App;\n', language: "javascript", "copy-label": "Copy Code" }))));
2
+ export const EdsDocsReact = () => (h("div", null, h("h2", null, "React Wrappers"), h("p", null, "Learn how to use our components in a React Application.Simple install the package below and check out the examples"), h("div", { class: "my-8" }, h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })), h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" }, h("eds-code-block", { code: '\nimport { EdsHeader } from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n \n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n \n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n const handleTabChange = (\n event: CustomEvent<{ index: number; name: string }>,\n ) => {\n console.log(event.detail);\n setActiveTabIndex(event.detail.index);\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.addEventListener("tabChange", handleTabChange as EventListener);\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.removeEventListener(\n "tabChange",\n handleTabChange as EventListener,\n );\n };\n }, []); // Empty dependency array ensures this runs only once after mounting\n\n return (\n <div id="main">\n <EdsHeader\n home-url="/"\n user-feature={false}\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n links="[\n { "label": "About", "url": "/about" },\n { "label": "Focus Areas", "url": "/focus-areas" },\n { "label": "News & Events", "url": "/news-and-events" },\n { "label": "Contact", "url": "/contact" }\n ]"\n ></EdsHeader>\n\n <div> \n User is{" "} {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n </div>\n </div>\n );\n}\n\nexport default App;\n', language: "javascript", "copy-label": "Copy Code" }))));
@@ -1,2 +1,2 @@
1
1
  import { h } from "@stencil/core";
2
- export const EdsDocsVue = () => (h("div", null, h("h2", null, "Vue Wrappers"), h("p", null, "Learn how to use our components in a Vue Application."), h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Define the custom elements"), h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }), h("eds-section-core", { "section-title": "Example Vue App", "heading-level": "h3" }, h("eds-code-block", { code: '\n<template>\n <h1 className="f-heading-02">Vue App</h1>\n\n <EdsHeader \n home-url="/" \n user-feature=false \n keycloak-url="http://localhost:8080" \n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app" \n links="[\n { "label": "About", "url": "/about" },\n { "label": "Focus Areas", "url": "/focus-areas" },\n { "label": "News & Events", "url": "/news-and-events" },\n { "label": "Contact", "url": "/contact" }\n ]">\n </EdsHeader>\n\n</template>\n\n<script>\n\nimport { EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: {\n EdsHeader,\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
2
+ export const EdsDocsVue = () => (h("div", null, h("h2", null, "Vue Wrappers"), h("p", null, "Learn how to use our components in a Vue Application."), h("p", null, "Simply install the latest version of our NPM package."), h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your \"main.ts\" file."), h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }), h("h2", null, "Passing Properties to Custom Elements Using the ", h("b", null, ".prop"), " Modifier in Vue Wrappers"), h("p", null, "When using Vue wrappers for Stencil components (or any custom elements), you might encounter issues with property names being altered due to HTML\u2019s attribute handling. By default, Vue binds values as HTML attributes, and HTML attributes are case-insensitive. This means that camelCase property names can be transformed into lowercase strings, which can prevent your component from receiving the correct data."), h("h3", null, "How to Use the ", h("b", null, ".prop"), " Modifier"), h("p", null, "When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here\u2019s an example of how to do it:"), h("div", { class: "mt-8" }, h("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })), h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }), h("div", { class: "mt-8" }, h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })), h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }), h("p", null, "Using the ", h("b", null, ".prop"), " modifier in Vue ensures that the data you pass to your custom elements is received as intended. It prevents Vue (and the browser) from transforming camelCase property names into lowercase attributes, thereby maintaining the correct data mapping in your Stencil components."), h("eds-section-core", { "section-title": "Example Vue App", "heading-level": "h3" }, h("eds-code-block", { code: '\n<template>\n <EdsHeader \n :inverseHeader.prop="true"\n :menuEnabled.prop="true">\n </EdsHeader>\n</template>\n\n<script>\n\nimport { EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: {\n EdsHeader,\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
@@ -5,7 +5,7 @@ import { vLogoMargins } from "../../../../../../../../packages/svgs/src/index";
5
5
  */
6
6
  export class LogoSpace {
7
7
  render() {
8
- return (h("div", { key: '696ba14bb0cd1e633937a4c493720ae5fe255c87', class: "container my-20" }, h("div", { key: '4509d6c00d141ad49852d21f1b065a12e16d7df7', class: "w-[300px]" }, h("div", { key: '28ebc1d66714ad8208feeed689b43f1e861ea1fd', class: "bg-dark" }, h("div", { key: 'fc23d1759745069b09c387e06c65e27c55b164a3', class: "logo-container", innerHTML: vLogoMargins })))));
8
+ return (h("div", { key: '004134f2770f755a3ae0d158b9ec6987a64dcc8b', class: "container my-20" }, h("div", { key: '49b57e44a4a68b5d6393ee3284af58d56aa5c014', class: "w-[300px]" }, h("div", { key: '4812ffe1b1df94ece0e2d391648aea812c7c9028', class: "bg-dark" }, h("div", { key: 'ce3bbecdba5bbabb14d1b0e197318cf4180f8699', class: "logo-container", innerHTML: vLogoMargins })))));
9
9
  }
10
10
  static get is() { return "logo-space"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -48,10 +48,30 @@
48
48
  width: 150px;
49
49
  }
50
50
 
51
- .w-\[300px\] {
51
+ .w-\[500px\] {
52
52
  width: 500px;
53
53
  }
54
54
 
55
+ @media (min-width: 750px) {
56
+ .md\:w-\[300px\] {
57
+ width: 300px;
58
+ }
59
+
60
+ .md\:w-\[500px\] {
61
+ width: 500px;
62
+ }
63
+ }
64
+
65
+ @media (min-width: 900px) {
66
+ .lg\:w-\[300px\] {
67
+ width: 300px;
68
+ }
69
+
70
+ .lg\:w-\[500px\] {
71
+ width: 500px;
72
+ }
73
+ }
74
+
55
75
  .coloured {
56
76
  background: linear-gradient(to left,
57
77
  #9CE142 0%,
@@ -2,22 +2,9 @@ import { h } from "@stencil/core";
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export class LogoVariations {
6
- constructor() {
7
- this.orientation = 'horizontal';
8
- this.type = undefined;
9
- }
5
+ export class LogoVariationsHorizontal {
10
6
  render() {
11
- if (this.type === 'coloured') {
12
- return (h("div", { class: "container my-16" }, h("div", { class: "coloured w-[300px]" }, h("eds-logo", { type: "no-bg", href: "#" }))));
13
- }
14
- if (this.type === 'black') {
15
- return (h("div", { class: "container my-16" }, h("div", { class: "bg-default w-[300px]" }, h("eds-logo", { type: "black", href: "#" }))));
16
- }
17
- if (this.type === 'color-white') {
18
- return (h("div", { class: "container my-16" }, h("div", { class: "w-[300px]" }, h("eds-logo", { type: "color-white", href: "#" }))));
19
- }
20
- return null;
7
+ return (h("div", { key: '577cade970766dbbbd654258efe78920d8c0dbaf' }, h("div", { key: '1c577dafe342384bffce716b4bcb9494685f2283', class: "container my-16" }, h("h3", { key: 'b9f78264dbbe144cc9c7823c48874b3618af3919', class: "f-heading03" }, "Coloured Background"), h("div", { key: 'c07b24eb1a3338d33a3b95c0228a1a7f297a0976', class: "coloured lg:w-[500px] md:w-[300px]" }, h("eds-logo", { key: 'ed173d7c59ae22ad55814cf64222a5ce52d108d4', type: "no-bg", href: "#" }))), h("div", { key: '7d939b469a8ce14f609e529121a830d9a47af857', class: "container my-16" }, h("h3", { key: 'f110490f66e3d27f204e289a5eb85461c13594fa', class: "f-heading03" }, "Black and White Background"), h("div", { key: 'd05bd8166d2a60aac723436b96e2451ae4459c04', class: "bg-default lg:w-[500px] md:w-[300px]" }, h("eds-logo", { key: 'ce24bb6db3038d781a4d1917012c0d4ed7f23b1a', type: "black", href: "#" }))), h("div", { key: '32fbbb1568604bdfd04c6ca6c14a558a3c490ed8', class: "container my-16" }, h("h3", { key: 'ef03e68319669f548c7826d6387072af8d3f5a66', class: "f-heading03" }, "Dark Background "), h("div", { key: 'a6b082f14400be771f43074c1f7f0bc348e77673', class: "lg:w-[500px] md:w-[300px]" }, h("eds-logo", { key: '569f77f1b43b4a65a39720017b34273d6f3d7baa', type: "color-white", href: "#" })))));
21
8
  }
22
9
  static get is() { return "logo-variations-horizontal"; }
23
10
  static get encapsulation() { return "shadow"; }
@@ -31,43 +18,4 @@ export class LogoVariations {
31
18
  "$": ["logo-variations-horizontal.css"]
32
19
  };
33
20
  }
34
- static get properties() {
35
- return {
36
- "orientation": {
37
- "type": "string",
38
- "mutable": false,
39
- "complexType": {
40
- "original": "'horizontal' | 'vertical'",
41
- "resolved": "\"horizontal\" | \"vertical\"",
42
- "references": {}
43
- },
44
- "required": false,
45
- "optional": false,
46
- "docs": {
47
- "tags": [],
48
- "text": ""
49
- },
50
- "attribute": "orientation",
51
- "reflect": false,
52
- "defaultValue": "'horizontal'"
53
- },
54
- "type": {
55
- "type": "string",
56
- "mutable": false,
57
- "complexType": {
58
- "original": "'coloured' | 'black' | 'color-white'",
59
- "resolved": "\"black\" | \"color-white\" | \"coloured\"",
60
- "references": {}
61
- },
62
- "required": false,
63
- "optional": false,
64
- "docs": {
65
- "tags": [],
66
- "text": "The type of logo variation to display.\nAvailable options: \"coloured\", \"mono\", \"dark\"."
67
- },
68
- "attribute": "type",
69
- "reflect": false
70
- }
71
- };
72
- }
73
21
  }
@@ -2,22 +2,13 @@ import { h } from "@stencil/core";
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export class LogoVariations {
5
+ export class LogoVariationsVertical {
6
6
  constructor() {
7
- this.orientation = 'horizontal';
7
+ this.orientation = 'vertical';
8
8
  this.type = undefined;
9
9
  }
10
10
  render() {
11
- if (this.type === 'coloured') {
12
- return (h("div", { class: "container my-16" }, h("div", { class: "coloured w-[200px]" }, h("eds-logo", { orientation: "vertical", type: "no-bg", href: "#" }))));
13
- }
14
- if (this.type === 'black') {
15
- return (h("div", { class: "container my-16" }, h("div", { class: "bg-default w-[200px]" }, h("eds-logo", { orientation: "vertical", type: "black", href: "#" }))));
16
- }
17
- if (this.type === 'color-white') {
18
- return (h("div", { class: "container my-16" }, h("div", { class: "w-[200px]" }, h("eds-logo", { orientation: "vertical", type: "color-white", href: "#" }))));
19
- }
20
- return null;
11
+ return (h("div", { key: '70bc4a46031bb4456ba28bef27efbbfe5e7cf6f2' }, h("div", { key: '84ab774067350c75982d41b6d97500e19d3fe5e5', class: "container my-16" }, h("h3", { key: 'c080f9b4cfa18a3a48fb703f749c62531a322267', class: "f-heading03" }, "Coloured Background"), h("div", { key: 'a9a871769d76e97c879f49437187ca553a633dd2', class: "coloured w-[200px]" }, h("eds-logo", { key: '668f2607e0394ab1b25ddfbef4cd3e3880e1b4f9', orientation: "vertical", type: "no-bg", href: "#" }))), h("div", { key: 'd1674061f47b242930599337d605b51831214d7a', class: "container my-16" }, h("h3", { key: '8b1470587ad99fdf379c0c4b4646098d14f087e8', class: "f-heading03" }, "Black and White Background"), h("div", { key: 'bbb9997369a93ce84450a7d289948049fcfa5bf6', class: "bg-default w-[200px]" }, h("eds-logo", { key: '4f3dc6ad9f9db6f605d54df3c8adecea051cf34e', orientation: "vertical", type: "black", href: "#" }))), h("div", { key: '0f54fde04fbef65477809b45371ac15914b1433b', class: "container my-16" }, h("h3", { key: '5c46f1d7b09bf3e113e2733531611943ad21be4e', class: "f-heading03" }, "Dark Background "), h("div", { key: '88609875109aae85cb5333426a3bc270314d9fb5', class: "w-[200px]" }, h("eds-logo", { key: '0eeeba0006e25a8a4f0c4fb5c0d38b089e0a22f4', orientation: "vertical", type: "color-white", href: "#" })))));
21
12
  }
22
13
  static get is() { return "logo-variations-vertical"; }
23
14
  static get encapsulation() { return "shadow"; }
@@ -49,7 +40,7 @@ export class LogoVariations {
49
40
  },
50
41
  "attribute": "orientation",
51
42
  "reflect": false,
52
- "defaultValue": "'horizontal'"
43
+ "defaultValue": "'vertical'"
53
44
  },
54
45
  "type": {
55
46
  "type": "string",
@@ -127,6 +127,10 @@
127
127
  grid-template-columns: repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);
128
128
  grid-gap: var(--inner-gutter);
129
129
  }
130
+ .grid-col-span-12 {
131
+ --container-grid-columns: 12;
132
+ grid-column: span 12 / span 12;
133
+ }
130
134
 
131
135
  .gap-y-8 {
132
136
  row-gap: 0.5rem;
@@ -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: '0cc57b3da3fe93da5d212efe04c5276588388b3c', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("span", { key: '3c3ef2133b759fd191ee78a28e91219677ddf6f3', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '2a6fff275d938440878a4303968b4d9ec51d1317', class: "example" }, h("div", { key: 'bb1a5e1d55c0faf369c8f8210e07f96991d03a7e', class: "bg-dark " }, h("div", { key: 'a15bfd5f135d36f8d7e142bebddef547d03e9106', class: "no-other-bg-color logo", innerHTML: hLogoColor })), h("p", { key: '9e9e8c6afb8a6f232ad940869c439b5385bab7f8', class: "f-ui-02" }, "Do not use with backgrounds that make legibility difficult"))), h("span", { key: 'a0262fc388cdb5bb479e8e19b452cb26d7ad50f4', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '38e0cae361c255a179fcd1e40034f09c7f68efdb', class: "example" }, h("div", { key: 'd86cd1dacf5be058fd7f55434c1c641975d7cff2', class: "no-other-color p-16" }, h("div", { key: 'e1bec738b42a1b7a69149cf7fab1aa83c67b71a6', class: "logo non-brand-color", innerHTML: hLogoColor })), h("p", { key: 'fe1f4b002855fbd9c85c3964bed82f7d3e8391d2', class: "f-ui-02" }, "Do not apply other colors"))), h("span", { key: '8f15d66b424bb696d11bbfd67260dab8235cca55', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '9802174be7268b50897eb8577e5f2a7e852146c9', class: "example" }, h("div", { key: 'c9004c582f5da37657181f13cf094193fd5ccd82', class: "bg-light p-16" }, h("div", { key: '0f9c62403a7e0621bc050e8682de264ea38dd252', class: "logo distorted", innerHTML: hLogoColor })), h("p", { key: '2f69f536dbe34278a08e6fa8b08fec081f398a6c', class: "f-ui-02" }, "Do not deform the logo"))), h("span", { key: 'a281c7860d69a146f3f9c4f747586b3720ab8c5f', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '31768e18513607222c5f6e3761137279bf915db3', class: "example" }, h("div", { key: '8a8c6db62f993ed0faf09c52af76a60aa0abe595', class: "bg-white p-16" }, h("div", { key: '8584bada781120c4e8e6f78df096e2bf146a2932', class: "logo effects", innerHTML: hLogoColor })), h("p", { key: 'b39ce49cd867643dbdbd11553a842e4493d89e46', class: "f-ui-02" }, "Do not apply effects"))), h("span", { key: '08f767b3c8fca22783b19abfb153b5f137cf195b', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '1d580e1a3d4b1ff8c599856ef93b8d0b15a690f3', class: "example" }, h("div", { key: 'be79457c738d824fa45f77bd5d8a6ec59144a2e6', class: "bg-white p-16" }, h("div", { key: 'b68491897de72c967d6f55e80b49ca9d38a61703', class: "logo rotated", innerHTML: hLogoColor })), h("p", { key: '48a366d2ebb4692755a50e869ea14db016bbf9e0', class: "f-ui-02" }, "Do not rotate the logo"))), h("span", { key: '90385d5ea27b23818c403afcdf4f66ab6e9ad4ee', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '092eb2ddb731efb0661d175cfd1bc9e62d0a56bf', class: "example" }, h("div", { key: '6c5193fa3e17537d7835e57b74d54502d82a4ab8', class: "bg-light p-16" }, h("div", { key: '3df00f23cfc582861a085d6c45ed749d89843701', class: "logo outlined", innerHTML: hLogoColor })), h("p", { key: '915bfa520f6d489f5700bdb1e708b53e9bde589a', class: "f-ui-02" }, "Do not apply outlines"))), h("span", { key: 'dfc1b5ba8f88c8697536aed0d1fa9693b97b655d', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }), h("span", { key: '71c7ad168cc56681f365ec7741f86ea84b196dea', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'e81d58479a79dce6264b8c9723849e97bcb4af8d', class: "example" }, h("div", { key: 'ff81ea921d7807964af169993a10d67ad6f318ed', class: "bg-accent p-16" }, h("div", { key: 'c3fb1fe5e8df1b72d853b66649b7f272858976ed', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: 'ed303d7fd8674a0cdc8f93a247bd81a1cbdacacb', 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("ul", { key: 'e2fbd7802c153f970a457011a5dcaf3163d6290f', class: "container grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("span", { key: '07d6a5b930dd8ae652e63310c4232e8c3e6858b2', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '5d3dd01a67f41f839e79aa3d449ba319dcc0209c', class: "example" }, h("div", { key: '6b51ea71b6b4072ec6c66223a4f92c1232e8691a', class: "bg-dark " }, h("div", { key: '03a476635bc1112f1ea2d4ed10df0415ead7f0f8', class: "no-other-bg-color logo", innerHTML: hLogoColor })), h("p", { key: '084116335e9f8ed4c9d2a04a9551097dc2a53c4a', class: "f-ui-02" }, "Do not use with backgrounds that make legibility difficult"))), h("span", { key: 'e67f1bdeee28928f4f6f8fb5d1e0b59160edd949', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'b0e909eb57a6771b32a93dd0932ef5b848a19ff2', class: "example" }, h("div", { key: '19bc9f29ddbffd1c308cb429100f0af3d58237a1', class: "no-other-color p-16" }, h("div", { key: '301c5cb926b9ad167f1ba096f99a874577617fb1', class: "logo non-brand-color", innerHTML: hLogoColor })), h("p", { key: 'b41ab53c2af9efeafb46d41a515eba2f801d49e4', class: "f-ui-02" }, "Do not apply other colors"))), h("span", { key: '826ae54f62c5a3880adf1833dbc19bbb9e1ec6f2', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '092d5fc3176845532ecf577c66d6e3a349ebfe45', class: "example" }, h("div", { key: '1d1d3cc86e728fc21f898c59ff1511c5fa728f9f', class: "bg-light p-16" }, h("div", { key: 'df05102398d3de9916a23d0998529d8ca8a66257', class: "logo distorted", innerHTML: hLogoColor })), h("p", { key: '377e38a762855d563d087eb275481de6a17ddbbb', class: "f-ui-02" }, "Do not deform the logo"))), h("span", { key: '766c4ea568c8bf2fa1efa207ff5f602e5128aef3', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: 'cf4e883370c0ee284167bea7f2c0c603932d1682', class: "example" }, h("div", { key: 'de160646456f91316bf966db6568c20ff382dd3b', class: "bg-white p-16" }, h("div", { key: '5aa03093e5e483547919eaeca58643e54a286405', class: "logo effects", innerHTML: hLogoColor })), h("p", { key: 'aa65e295008001d6fe2b2168d8f7f43a770ec8e3', class: "f-ui-02" }, "Do not apply effects"))), h("span", { key: 'd0eb2536e430b6e9fdb9a37d638d5c31ee81e205', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '43ec87b4632c2709404aff9d3e7bbcb2910426ca', class: "example" }, h("div", { key: '36cd6dc2b23070e5c7fdfc09444d3ccbb8681216', class: "bg-white p-16" }, h("div", { key: 'a1077b322d113220e05ee3edce627c60547cb49a', class: "logo rotated", innerHTML: hLogoColor })), h("p", { key: '86c384f5cf362d16bd6ac5ac8448e3e0d591fa18', class: "f-ui-02" }, "Do not rotate the logo"))), h("span", { key: 'b267f6024a4e7bad6348d323606922888db5264b', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '0bd0c5d62e454ce133a187e7d3917afc0c26c551', class: "example" }, h("div", { key: '71e4c1681cfbb64970237b410e0925a0f22e1141', class: "bg-light p-16" }, h("div", { key: '01ab5d75102b9f476fecebcc31c975f6d4720c12', class: "logo outlined", innerHTML: hLogoColor })), h("p", { key: '0734a049d710d1f6406989668f60da1249e29c7b', class: "f-ui-02" }, "Do not apply outlines"))), h("span", { key: '830b7b2a8cdf6dfc7f395dc92db42fbe626a7ae4', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }), h("span", { key: 'ca40bb4ea839eacf62e93f7fbec41f076f7b12a6', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, h("div", { key: '641a963ba81294eefe8fc00dd0a3bdca91af94a2', class: "example" }, h("div", { key: '70691be08e9081899fb2928d5d287aaebef3b399', class: "bg-accent p-16" }, h("div", { key: '556135fd6596b530bf959bb9984641f185cd9f96', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: '7eaded302e41fc1d04f2033add829dfaba6e8012', class: "f-ui-02" }, "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"; }
@@ -21,13 +21,24 @@ export class EdsCardSection {
21
21
  * @returns {any[]} An array of parsed card objects.
22
22
  */
23
23
  get parsedCards() {
24
- try {
25
- return JSON.parse(this.cards);
24
+ // If it's already an array, return it immediately.
25
+ if (Array.isArray(this.cards)) {
26
+ return this.cards;
26
27
  }
27
- catch (e) {
28
- //console.error('Error parsing links JSON', e);
29
- return [];
28
+ if (typeof this.cards === 'object') {
29
+ return this.cards;
30
30
  }
31
+ else if (typeof this.cards === 'string') {
32
+ try {
33
+ return JSON.parse(this.cards);
34
+ }
35
+ catch (e) {
36
+ // eslint-disable-next-line
37
+ console.error('Error parsing links prop:', e);
38
+ return [];
39
+ }
40
+ }
41
+ return [];
31
42
  }
32
43
  /**
33
44
  * Renders the card section as a grid layout.
@@ -37,7 +48,7 @@ export class EdsCardSection {
37
48
  * @returns {JSX.Element} The rendered section containing a list of cards.
38
49
  */
39
50
  render() {
40
- return (h("section", { key: '587f8d95e27862e855a7aab3d157b3b26c12181e', class: "w-full" }, h("ul", { key: 'e655546e5e92dbbfb5640f448409584b4f83a98d', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (h("li", { class: `grid-col-span-12 md:grid-col-span-${this.cols} flex flex-col` }, h("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
51
+ return (h("section", { key: 'c02b0e71ae4658e2f568e9428a9c61455aeb8ccd', class: "w-full" }, h("ul", { key: '7f5d952d5cc5044c2ec23ca6b6b627901c40ab81', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (h("li", { class: `grid-col-span-12 md:grid-col-span-${this.cols} flex flex-col` }, h("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
41
52
  }
42
53
  static get is() { return "eds-card-section"; }
43
54
  static get encapsulation() { return "shadow"; }
@@ -57,8 +68,8 @@ export class EdsCardSection {
57
68
  "type": "string",
58
69
  "mutable": false,
59
70
  "complexType": {
60
- "original": "string",
61
- "resolved": "string",
71
+ "original": "string | { title: string; description: string; tags: string; url: string }[]",
72
+ "resolved": "string | { title: string; description: string; tags: string; url: string; }[]",
62
73
  "references": {}
63
74
  },
64
75
  "required": false,
@@ -2,6 +2,7 @@ export default {
2
2
  title: 'Shared UI/Card Section',
3
3
  component: 'eds-card-section',
4
4
  argTypes: {
5
+ // For the string variant, we set the control to 'text'
5
6
  cards: {
6
7
  control: 'text',
7
8
  description: 'JSON string representing an array of card objects, each with properties like title, description, avatar, image, etc.'
@@ -16,6 +17,7 @@ export default {
16
17
  }
17
18
  },
18
19
  args: {
20
+ // Default args for the string variant
19
21
  cards: JSON.stringify([
20
22
  {
21
23
  title: 'The Future of AI in Healthcare',
@@ -57,18 +59,49 @@ export default {
57
59
  lazyload: true
58
60
  }
59
61
  }
60
- // Additional cards can be added here
61
62
  ]),
62
63
  cols: 4,
63
64
  extraClass: ''
64
65
  },
65
66
  parameters: {}
66
67
  };
67
- export const Default = {
68
+ // Variant 1: Passing cards as a JSON string (text control)
69
+ export const WithString = {
68
70
  render: (args) => `
69
- <eds-card-section
70
- cards='${args.cards}'
71
- cols="${args.cols}"
72
- class="${args.extraClass}"
73
- ></eds-card-section>`
71
+ <eds-card-section
72
+ cards='${args.cards}'
73
+ cols="${args.cols}"
74
+ class="${args.extraClass}"
75
+ ></eds-card-section>
76
+ `
77
+ };
78
+ // Variant 2: Passing cards as an object (object control)
79
+ export const WithObject = {
80
+ render: (args) => {
81
+ // Create the custom element
82
+ const cardSection = document.createElement('eds-card-section');
83
+ // Set the properties directly as objects
84
+ cardSection.cards = args.cards;
85
+ cardSection.cols = args.cols;
86
+ if (args.extraClass) {
87
+ cardSection.className = args.extraClass;
88
+ }
89
+ return cardSection;
90
+ },
91
+ args: {
92
+ // Override the default for this variant so that the cards are provided as an array of objects
93
+ cards: [
94
+ { title: 'Card1', description: 'Description1', tags: 'tag1,tag2', url: '/link1' },
95
+ { title: 'Card2', description: 'Description2', tags: 'tag3', url: '/link2' }
96
+ ],
97
+ cols: 4,
98
+ extraClass: ''
99
+ },
100
+ argTypes: {
101
+ // Change the control type for this variant to 'object'
102
+ cards: {
103
+ control: 'object',
104
+ description: 'An array of card objects, each with properties like title, description, avatar, image, etc.'
105
+ }
106
+ }
74
107
  };
@@ -47,7 +47,7 @@ export class EdsFooter {
47
47
  * @returns {JSX.Element} The rendered JSX for the footer component.
48
48
  */
49
49
  render() {
50
- return (h("footer", { key: '1dbb78de159046a38845022365c462f3bb13ba54', 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: '0883cc43b6c9237208530d14be4c58d005142502', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, h("div", { key: '30e4c3d89c2729efea1ad5ba334e59e886c3069d', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'c4fe60606ab60985a3e3ea2314ff76c53f3810ae', class: "flex items-center gap-x-12" }, h("a", { key: 'd4c4bae43531410080af951544fd0a9d1406c7c4', 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: '0752c2014acfe5f1f5908591c4d374effbf57d10', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg" }))), h("div", { key: '3390ef0afd14969dc59d5fbe00a5cf01c79c4bca', class: "f-ui-04 text-light order-last w-full lg:order-none lg:w-auto" }, h("p", { key: '03c91e4b89bd170044ee1ad3cf1f51cd780c0527' }, this.fundedBy), h("div", { key: 'ddc93ed3151a6a7e1f2d3509da138c4862d96337', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap" }, h("span", { key: '7fe59d9f83c0f8ed081338f478c5939d84e3ee36', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.hasCookiesSetUp && (h("button", { key: '2081e8305c78eba85d149a08097eebced197a5c3', class: "effect-focus !no-underline underline-offset-4 hover:!underline", onClick: () => this.toggleCookiesPopup() }, this.cookiesPreference)))), h("div", { key: '5b73083bdddd6c2ee7632446b19a41f14ee55858', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
50
+ return (h("footer", { key: '8d3d1b5d2acd76f56b2bc12539cb7d277b4dcd7f', 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: '7d6e3a414ec8e8f8e2b795faf639948f8819f5cb', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, h("div", { key: '9a475fd146ac0e1bc78c43940ee24ec31212fcb9', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, h("div", { key: '4b465113cdb882f919fba15e944eb56edbe3c570', class: "flex items-center gap-x-12" }, h("a", { key: '1a8ad1ee5f4dfb77da036b03d0770cba8e5d725e', 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: '4714ea1a01b7b7eef8b3af0c04ffe793d51c4d5e', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg" }))), h("div", { key: 'c4db6bab70e570e337c82136a0d9d6dad01c1039', class: "f-ui-04 text-light order-last w-full lg:order-none lg:w-auto" }, h("p", { key: '0b030a92c12a3a96fe2baacc13ac21f5bd708a50' }, this.fundedBy), h("div", { key: '4714d0ccf0e3912ae330a6f39ed3607caf2b51a4', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap" }, h("span", { key: 'b4bc2d45871c7d1f9de1d6090959b12fd5246f01', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.hasCookiesSetUp && (h("button", { key: '98b56eee7be6bc1558821933cebf2853b3bb68fc', class: "effect-focus !no-underline underline-offset-4 hover:!underline", onClick: () => this.toggleCookiesPopup() }, this.cookiesPreference)))), h("div", { key: 'f4bf4a0c99f3be920dd15f68e6f7e390cd85ecce', 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
51
  }
52
52
  static get is() { return "eds-footer"; }
53
53
  static get originalStyleUrls() {
@@ -4,7 +4,8 @@ import { h } from "@stencil/core";
4
4
  * It provides a responsive, full-window overlay menu with navigation links and additional options.
5
5
  * This component is suitable for mobile and small screens, where a fullscreen menu enhances user navigation.
6
6
  *
7
- * ## Key Features:
7
+ * ## Key Features
8
+ *
8
9
  * - **Links and Menu Links**: Allows configurable primary and secondary navigation links.
9
10
  * - **Event-Driven Open/Close**: Listens for a `toggleMenu` event to open or close the menu, emitted by the `eds-header` component.
10
11
  * - **Responsive Behavior**: Automatically closes the menu when the screen width is larger than a specified breakpoint (1024px).
@@ -112,8 +113,8 @@ export class EdsFullscreenMenu {
112
113
  "type": "string",
113
114
  "mutable": false,
114
115
  "complexType": {
115
- "original": "string",
116
- "resolved": "string",
116
+ "original": "string | { label: string; url: string; icon?: string; external?: boolean }[]",
117
+ "resolved": "string | { label: string; url: string; icon?: string; external?: boolean; }[]",
117
118
  "references": {}
118
119
  },
119
120
  "required": false,