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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/README.md +1 -1
  2. package/bookmark-c200037c-CIcZ51ZQ.js +14 -0
  3. package/bookmark-c200037c-ClkCtyRY.mjs +17 -0
  4. package/color-primary-palette_6.entry-B00J5gKq.js +1 -0
  5. package/color-primary-palette_6.entry-DJl4iXuX.mjs +300 -0
  6. package/{eds-components-section.entry-DpGQLUDG.js → components-section.entry-Bp5Ot0Sn.js} +109 -87
  7. package/{eds-components-section.entry-CZzJEdYb.mjs → components-section.entry-CMHPm3bn.mjs} +124 -94
  8. package/correct-use-of-colors.entry-BRM7osKs.js +1 -0
  9. package/correct-use-of-colors.entry-BcZ8MzKb.mjs +59 -0
  10. package/{eds-docs-palettes.entry-CvUsZJGt.js → docs-palettes.entry-BoEjXr5K.js} +1 -1
  11. package/{eds-docs-palettes.entry-DF_rAbne.mjs → docs-palettes.entry-CkVHcQbL.mjs} +3 -3
  12. package/{eds-docs-tokens.entry-C3AfntXW.js → docs-tokens.entry-C22LSw0P.js} +1 -1
  13. package/{eds-docs-tokens.entry-gPy71iZA.mjs → docs-tokens.entry-D38mtdPC.mjs} +4 -4
  14. package/eds-accordion.entry-B25YfdGD.js +4 -0
  15. package/eds-accordion.entry-ivh1zjpt.mjs +48 -0
  16. package/{eds-alert.entry-C7iR6Wau.js → eds-alert.entry-C0p3qeqh.js} +1 -1
  17. package/{eds-alert.entry-DHikCbw_.mjs → eds-alert.entry-DOCbYqvG.mjs} +1 -1
  18. package/{eds-app-root.entry-YPigXe8_.mjs → eds-app-root.entry-AYVIYcb1.mjs} +4 -4
  19. package/{eds-app-root.entry-rafdbiL3.js → eds-app-root.entry-DfPrDdc_.js} +1 -1
  20. package/{eds-accordion_17.entry-BhCBvhXC.mjs → eds-avatar_24.entry-BcY_4aZT.mjs} +8532 -387
  21. package/{eds-accordion_17.entry-BBnyn6EM.js → eds-avatar_24.entry-DBYYqNco.js} +7821 -29
  22. package/{eds-breadcrumb.entry-Bfc36jaR.mjs → eds-breadcrumb.entry-BTYLNHlm.mjs} +1 -1
  23. package/{eds-breadcrumb.entry-D065WE8j.js → eds-breadcrumb.entry-Drb48V7S.js} +1 -1
  24. package/{eds-card-desc_3.entry-CPmEcD7h.js → eds-card-desc_3.entry-BlQBUPMR.js} +1 -1
  25. package/{eds-card-desc_3.entry-BJP_Vvul.mjs → eds-card-desc_3.entry-DtsrKQS6.mjs} +5 -5
  26. package/{eds-card-generic.entry-Bn3saq5k.mjs → eds-card-generic.entry-Dtfs4XKl.mjs} +1 -1
  27. package/{eds-card-generic.entry-Ct8aLaT_.js → eds-card-generic.entry-w0E2hhjp.js} +1 -1
  28. package/{eds-card-project.entry-B7s198sC.js → eds-card-project.entry-Cek2GMTn.js} +1 -1
  29. package/{eds-card-project.entry-CkmokKaR.mjs → eds-card-project.entry-Cy_NC5av.mjs} +1 -1
  30. package/{eds-card-section.entry-DKP7IjIj.mjs → eds-card-section.entry-D1yKOTXz.mjs} +1 -1
  31. package/{eds-card-section.entry-CE7UQ8HN.js → eds-card-section.entry-DLE2WAV_.js} +1 -1
  32. package/{eds-card-tags.entry-wvkOqT1r.js → eds-card-tags.entry-CmRv-oB4.js} +1 -1
  33. package/{eds-card-tags.entry-BNqaohHu.mjs → eds-card-tags.entry-Q9xxbeAG.mjs} +1 -1
  34. package/{eds-card-tool.entry-Df_qlYY5.js → eds-card-tool.entry-DF_jWDUL.js} +1 -1
  35. package/{eds-card-tool.entry-CR4SuPPR.mjs → eds-card-tool.entry-Dgi1G1RH.mjs} +1 -1
  36. package/{eds-card-wrapper.entry-DwcKQUDS.js → eds-card-wrapper.entry-DZZOVhcJ.js} +1 -1
  37. package/{eds-card-wrapper.entry-CosNbMgP.mjs → eds-card-wrapper.entry-k-aNj4Ms.mjs} +1 -1
  38. package/{eds-code-block.entry-Bfp7Moc7.mjs → eds-code-block.entry-BjrDmUCm.mjs} +1 -1
  39. package/{eds-code-block.entry-D5kDIIPG.js → eds-code-block.entry-DoUacOW1.js} +1 -1
  40. package/{eds-cookies-preference.entry-DUwpfJG0.js → eds-cookies-preference.entry-B7gp0J-S.js} +1 -1
  41. package/{eds-cookies-preference.entry-ivi_kdZs.mjs → eds-cookies-preference.entry-DkA2HKmI.mjs} +2 -2
  42. package/eds-feedback.entry-C9Ir38bt.mjs +53 -0
  43. package/eds-feedback.entry-GNZz9ODR.js +1 -0
  44. package/{eds-frame.entry-BEG9Cq6f.mjs → eds-frame.entry-CcmLaVze.mjs} +9 -15
  45. package/eds-frame.entry-XyeUo6pB.js +1 -0
  46. package/{eds-icon-arrow-diagonal.entry-6WVlNQjt.mjs → eds-icon-arrow-diagonal.entry-B0dxbX_o.mjs} +1 -1
  47. package/{eds-icon-arrow-diagonal.entry-zBfSFnaZ.js → eds-icon-arrow-diagonal.entry-o5Ev_oO7.js} +1 -1
  48. package/{eds-icon-arrow-right.entry-B01PWxxn.js → eds-icon-arrow-right.entry-DUHmdP-V.js} +1 -1
  49. package/{eds-icon-arrow-right.entry-CPfwKb_P.mjs → eds-icon-arrow-right.entry-DpdjX5aS.mjs} +1 -1
  50. package/{eds-icon-bluesky.entry-DbVUYLJG.js → eds-icon-bluesky.entry-Bv0-EDnj.js} +1 -1
  51. package/eds-icon-bluesky.entry-DkSAjnck.mjs +13 -0
  52. package/eds-icon-bookmark.entry-Bjzq8uze.js +1 -0
  53. package/eds-icon-bookmark.entry-C_0B6YJU.mjs +13 -0
  54. package/{eds-icon-chevron-down.entry-YrhsZIQb.js → eds-icon-chevron-down.entry-BERHGaTB.js} +1 -1
  55. package/{eds-icon-chevron-down.entry-dCeiKlud.mjs → eds-icon-chevron-down.entry-DnKTBqKv.mjs} +1 -1
  56. package/{eds-icon-chevron-left.entry-CVk_b9kc.js → eds-icon-chevron-left.entry-Bo8LqkIz.js} +1 -1
  57. package/{eds-icon-chevron-left.entry-CudVsOqq.mjs → eds-icon-chevron-left.entry-DT2At_f6.mjs} +1 -1
  58. package/{eds-icon-chevron-right.entry-Dg5UFoCU.mjs → eds-icon-chevron-right.entry-BFoMlLTp.mjs} +1 -1
  59. package/{eds-icon-chevron-right.entry-r7aVtAwm.js → eds-icon-chevron-right.entry-DyqeLE1B.js} +1 -1
  60. package/{eds-icon-chevron-up.entry-C-WjO0ys.js → eds-icon-chevron-up.entry-Bpy8lbif.js} +1 -1
  61. package/{eds-icon-chevron-up.entry-CEfRA3Cn.mjs → eds-icon-chevron-up.entry-JSrFaEET.mjs} +1 -1
  62. package/eds-icon-close.entry-CzIoe2p3.mjs +13 -0
  63. package/{eds-icon-close.entry-eRRe-idl.js → eds-icon-close.entry-cabdCuVg.js} +1 -1
  64. package/{eds-icon-copy.entry-Bv6gVwBn.mjs → eds-icon-copy.entry-C08qTrZl.mjs} +2 -2
  65. package/{eds-icon-copy.entry-B41dL0Pk.js → eds-icon-copy.entry-CvpG2Kxo.js} +1 -1
  66. package/eds-icon-eu.entry-ChZ09s02.mjs +13 -0
  67. package/eds-icon-eu.entry-H2skG2J6.js +1 -0
  68. package/eds-icon-external.entry-DKbmbXLG.mjs +13 -0
  69. package/eds-icon-external.entry-DVlEoMZl.js +1 -0
  70. package/{eds-icon-facebook.entry-CxuQ9T-z.mjs → eds-icon-facebook.entry-4bvKyXXu.mjs} +2 -2
  71. package/{eds-icon-facebook.entry-tLxBj2-p.js → eds-icon-facebook.entry-COSHMM4W.js} +1 -1
  72. package/eds-icon-gitlab.entry-BXLfky5G.mjs +13 -0
  73. package/{eds-icon-gitlab.entry-Bz32Y093.js → eds-icon-gitlab.entry-D_zX1Jsy.js} +1 -1
  74. package/{eds-icon-linkedin.entry-BOJB8PtD.js → eds-icon-linkedin.entry-CjXcA0DQ.js} +1 -1
  75. package/{eds-icon-linkedin.entry-C-OLKK80.mjs → eds-icon-linkedin.entry-_3H4M1ch.mjs} +2 -2
  76. package/eds-icon-loader.entry-BA-W8oxC.js +1 -0
  77. package/eds-icon-loader.entry-Cp3B6C_B.mjs +13 -0
  78. package/eds-icon-mastodon.entry-Bmb_O0hs.mjs +13 -0
  79. package/{eds-icon-mastodon.entry-DYjzOc_S.js → eds-icon-mastodon.entry-DUFdG1dJ.js} +1 -1
  80. package/eds-icon-menu.entry-DOdmibhy.mjs +13 -0
  81. package/eds-icon-menu.entry-Qg4r_OkP.js +1 -0
  82. package/eds-icon-minus.entry-8htg5ASo.mjs +13 -0
  83. package/eds-icon-minus.entry-Diem-PL4.js +1 -0
  84. package/{eds-icon-more.entry-BdtfLgCV.js → eds-icon-more.entry-BY-mI4ec.js} +1 -1
  85. package/eds-icon-more.entry-DyWgD7vJ.mjs +13 -0
  86. package/eds-icon-paper.entry-BI3DMxCS.mjs +13 -0
  87. package/eds-icon-paper.entry-D2mmnsXf.js +1 -0
  88. package/eds-icon-plus.entry-B8KAaEGT.js +1 -0
  89. package/eds-icon-plus.entry-Ccr7jseH.mjs +13 -0
  90. package/eds-icon-portal.entry-BLhT9_Nz.js +1 -0
  91. package/eds-icon-portal.entry-D2iNYdZW.mjs +13 -0
  92. package/eds-icon-private.entry-CK2gzDym.mjs +13 -0
  93. package/eds-icon-private.entry-ToYtRpET.js +1 -0
  94. package/eds-icon-public.entry-BOnTLyd7.js +1 -0
  95. package/eds-icon-public.entry-N8tks7_E.mjs +13 -0
  96. package/{eds-icon-search.entry-Cw8zssoR.js → eds-icon-search.entry-C9tMq1XC.js} +1 -1
  97. package/{eds-icon-search.entry-CnqQ_vud.mjs → eds-icon-search.entry-DuG-zesK.mjs} +2 -2
  98. package/{eds-icon-star.entry-BqWtt_VJ.mjs → eds-icon-star.entry-B-PeifnZ.mjs} +2 -2
  99. package/{eds-icon-star.entry-DhcygAni.js → eds-icon-star.entry-CHoursjw.js} +1 -1
  100. package/eds-icon-success.entry-BJm--l5m.mjs +13 -0
  101. package/{eds-icon-success.entry-59uCWiA1.js → eds-icon-success.entry-ED6eDDgi.js} +1 -1
  102. package/{eds-icon-thumbs-down.entry-BOvmhFfL.mjs → eds-icon-thumbs-down.entry-BzEfZ1AX.mjs} +2 -2
  103. package/{eds-icon-thumbs-down.entry-BNUoStSy.js → eds-icon-thumbs-down.entry-zjkeVdJJ.js} +1 -1
  104. package/{eds-icon-thumbs-up.entry-Bn3MBFif.js → eds-icon-thumbs-up.entry-CZJlAqFh.js} +1 -1
  105. package/{eds-icon-thumbs-up.entry-B5dIuh3_.mjs → eds-icon-thumbs-up.entry-DutZ0Kki.mjs} +2 -2
  106. package/eds-icon-tutorial.entry-DRMLIdl4.mjs +13 -0
  107. package/eds-icon-tutorial.entry-D_9AQ-6-.js +1 -0
  108. package/eds-icon-twitter.entry-CJhiAxNu.mjs +13 -0
  109. package/{eds-icon-twitter.entry-CGsi8ynP.js → eds-icon-twitter.entry-DDsRqP6N.js} +1 -1
  110. package/eds-icon-unknown.entry-57uXdegM.mjs +13 -0
  111. package/eds-icon-unknown.entry-7Mmqc2BG.js +1 -0
  112. package/eds-icon-updown.entry-BwdgdGgR.mjs +13 -0
  113. package/eds-icon-updown.entry-b0BvWM4f.js +1 -0
  114. package/eds-icon-user.entry-BJ7Wi5JO.mjs +13 -0
  115. package/eds-icon-user.entry-czB7LMt8.js +1 -0
  116. package/eds-icon-youtube.entry-BWP1dBVD.mjs +13 -0
  117. package/eds-icon-youtube.entry-v007UjBQ.js +1 -0
  118. package/{eds-login_2.entry-Be8tUQNx.mjs → eds-login_2.entry-BfzeZBGw.mjs} +106 -93
  119. package/{eds-login_2.entry-CiL5geMY.js → eds-login_2.entry-DmBDAFIz.js} +3 -3
  120. package/eds-matomo-notice.entry-B-MlwGCp.mjs +90 -0
  121. package/eds-matomo-notice.entry-CCiq7z7U.js +1 -0
  122. package/eds-modal.entry-DU5qpx-i.js +1 -0
  123. package/eds-modal.entry-puAN0sn-.mjs +96 -0
  124. package/{eds-pagination_2.entry-BcBkkuEq.js → eds-pagination_2.entry-CuaStxZg.js} +1 -1
  125. package/{eds-pagination_2.entry-B2q_5PRD.mjs → eds-pagination_2.entry-DWzfLRgF.mjs} +8 -8
  126. package/{eds-progress-bar.entry-BWnPK-6o.mjs → eds-progress-bar.entry-BRTtAttw.mjs} +2 -2
  127. package/{eds-progress-bar.entry-DMTDcZv8.js → eds-progress-bar.entry-qScp3MQj.js} +1 -1
  128. package/{eds-rating.entry-CtRb0a5R.mjs → eds-rating.entry-CEI0zBir.mjs} +2 -2
  129. package/{eds-rating.entry-CPCGEHHj.js → eds-rating.entry-DOTYJZZ6.js} +1 -1
  130. package/{eds-section-core_2.entry-BrIavUCN.mjs → eds-section-core_2.entry-BZpOdGAA.mjs} +9 -9
  131. package/{eds-section-core_2.entry-rRmNlbQR.js → eds-section-core_2.entry-Cmly0OqW.js} +1 -1
  132. package/{eds-spinner.entry-BQ7NYZow.js → eds-spinner.entry-C_3hil-u.js} +1 -1
  133. package/{eds-spinner.entry-D58XgaXt.mjs → eds-spinner.entry-DLqey9r7.mjs} +2 -2
  134. package/{eds-switch.entry-CgstZWMb.mjs → eds-switch.entry-BPHya25S.mjs} +5 -5
  135. package/{eds-switch.entry-CAzboLuJ.js → eds-switch.entry-IoOUDh10.js} +1 -1
  136. package/{eds-tabs.entry-2CrdvmEM.mjs → eds-tabs.entry-DEOntaY1.mjs} +37 -19
  137. package/{eds-tabs.entry-CxValIYM.js → eds-tabs.entry-lqdai_rD.js} +37 -19
  138. package/{eds-timeline.entry-CFAb5Cd0.js → eds-timeline.entry-CC0zKwha.js} +37 -19
  139. package/{eds-timeline.entry-D9ZihmLu.mjs → eds-timeline.entry-c1YpsWVJ.mjs} +37 -19
  140. package/{eds-toast-manager.entry-mR3GXeEW.mjs → eds-toast-manager.entry-BvunvxZX.mjs} +6 -6
  141. package/{eds-toast-manager.entry-DNRGmKI4.js → eds-toast-manager.entry-DMZSCFoE.js} +1 -1
  142. package/{eds-toast.entry-ubt1S3Kw.mjs → eds-toast.entry-DW3toqwW.mjs} +1 -1
  143. package/{eds-toast.entry-BRfHKFao.js → eds-toast.entry-rudQ7nhp.js} +1 -1
  144. package/{eds-tooltip.entry-BS9OaOdx.js → eds-tooltip.entry-CcGgCRMO.js} +1 -1
  145. package/{eds-tooltip.entry-D0rqB_RZ.mjs → eds-tooltip.entry-CoHV78jm.mjs} +6 -6
  146. package/eds-trl.entry-CQOb5dk-.mjs +34 -0
  147. package/{eds-trl.entry-D_xUUWvL.js → eds-trl.entry-L0XqQYCq.js} +1 -1
  148. package/generated/components.d.ts +0 -2
  149. package/incorrect-use-of-colors.entry-C1QG9658.js +1 -0
  150. package/incorrect-use-of-colors.entry-C3Qt3gSE.mjs +42 -0
  151. package/index-cHrGUVDM.js +21 -0
  152. package/{index-DeCYK9qM.mjs → index-xVeSZU9j.mjs} +177 -143
  153. package/index.js +1 -1
  154. package/index.mjs +27 -29
  155. package/logo-space.entry-H3itdzkq.mjs +19 -0
  156. package/logo-space.entry-epl_-703.js +6 -0
  157. package/logo-variations-horizontal_2.entry-CKLOzzOx.mjs +29 -0
  158. package/logo-variations-horizontal_2.entry-k6KqYji6.js +7 -0
  159. package/{eds-logo-variations.entry-DGWNGIvb.js → logo-variations-tabs.entry-BpYl8Gpo.js} +1 -1
  160. package/{eds-logo-variations.entry-CBy11DlE.mjs → logo-variations-tabs.entry-Df5DuYk-.mjs} +4 -4
  161. package/logo-wrong-usage.entry-Bkg9gp3h.mjs +14 -0
  162. package/logo-wrong-usage.entry-DhlWm8es.js +1 -0
  163. package/minus-b30a7c71-BPAvqHzH.mjs +12 -0
  164. package/minus-b30a7c71-DqCTe6Qh.js +9 -0
  165. package/package.json +1 -1
  166. package/paper-8e74ea31-BvGrc1Vo.mjs +16 -0
  167. package/paper-8e74ea31-C4CV6tlB.js +13 -0
  168. package/plus-89c07be2-BTXnjg5K.js +10 -0
  169. package/plus-89c07be2-DyT9I4-L.mjs +13 -0
  170. package/portal-d6c8ce56-Cj61ldo8.mjs +19 -0
  171. package/portal-d6c8ce56-NpSrdNZ_.js +16 -0
  172. package/private-1c25ff8e-D3Fo36q6.js +23 -0
  173. package/private-1c25ff8e-Dz82_Xf8.mjs +26 -0
  174. package/public-d4d8c585-BJKDD5F6.mjs +17 -0
  175. package/public-d4d8c585-lV6QxdPw.js +14 -0
  176. package/{eds-svg-repository.entry-D1rRUteH.mjs → svg-repository.entry-C1TKYvU7.mjs} +89 -88
  177. package/{eds-svg-repository.entry-B3RrcJof.js → svg-repository.entry-DxVwTMCv.js} +12 -31
  178. package/{token-list_3.entry-uSQm6z8I.mjs → token-list_3.entry-CABw7-9O.mjs} +16 -16
  179. package/token-list_3.entry-CawIyAia.js +1 -0
  180. package/{token-ratios.entry-BiuicosE.mjs → token-ratios.entry-BGWJSHfY.mjs} +2 -2
  181. package/token-ratios.entry-B_FOHsNq.js +1 -0
  182. package/{token-typography.entry-sTlt7Bpz.mjs → token-typography.entry-BHvTpH4i.mjs} +4 -4
  183. package/{token-typography.entry-Dn6NRvAR.js → token-typography.entry-FXRD_KVv.js} +2 -2
  184. package/tutotial-150ee1fd-DFdyoHVA.mjs +28 -0
  185. package/tutotial-150ee1fd-DjN_JBL5.js +25 -0
  186. package/unknown-ed01a24c-B0AcMuip.js +20 -0
  187. package/unknown-ed01a24c-DonOUpIC.mjs +23 -0
  188. package/up-and-down-d747abee-CWoZjUyq.js +10 -0
  189. package/up-and-down-d747abee-D7g6H0T0.mjs +13 -0
  190. package/color-primary-palette_6.entry-8IScvoTJ.mjs +0 -300
  191. package/color-primary-palette_6.entry-8sRpfe4E.js +0 -1
  192. package/correct-use-of-colors.entry-CfU46fhX.js +0 -1
  193. package/correct-use-of-colors.entry-ClTcY5vo.mjs +0 -59
  194. package/eds-feedback.entry-Cii4Bgav.mjs +0 -53
  195. package/eds-feedback.entry-mS5rXykK.js +0 -1
  196. package/eds-form.entry-CNUo4guS.mjs +0 -226
  197. package/eds-form.entry-DmOYblLu.js +0 -1
  198. package/eds-frame.entry-MuWFMQ5l.js +0 -1
  199. package/eds-icon-bluesky.entry-DKFty2p_.mjs +0 -13
  200. package/eds-icon-close.entry-Cec0LlPI.mjs +0 -13
  201. package/eds-icon-eu.entry-CIYspbep.js +0 -1
  202. package/eds-icon-eu.entry-C_SYaSos.mjs +0 -13
  203. package/eds-icon-gitlab.entry-B4Y3IL_W.mjs +0 -13
  204. package/eds-icon-loader.entry-Cnugn2v_.mjs +0 -13
  205. package/eds-icon-loader.entry-OpxpC-qI.js +0 -1
  206. package/eds-icon-mastodon.entry-DfYxTk7y.mjs +0 -13
  207. package/eds-icon-menu.entry-4XLLYwtu.js +0 -1
  208. package/eds-icon-menu.entry-iM24FuKl.mjs +0 -13
  209. package/eds-icon-more.entry-BIN9jdzF.mjs +0 -13
  210. package/eds-icon-success.entry-C0jA8lzW.mjs +0 -13
  211. package/eds-icon-twitter.entry-CRA6F5rZ.mjs +0 -13
  212. package/eds-icon-user.entry-BQ64yR1z.js +0 -1
  213. package/eds-icon-user.entry-D-nrmq6-.mjs +0 -13
  214. package/eds-icon-youtube.entry-BCw69oaj.js +0 -1
  215. package/eds-icon-youtube.entry-DTLtxuVC.mjs +0 -13
  216. package/eds-input_7.entry-CSdmlGYi.mjs +0 -7971
  217. package/eds-input_7.entry-DdKDkmAq.js +0 -7766
  218. package/eds-modal.entry-B3qjw7GE.mjs +0 -96
  219. package/eds-modal.entry-KkENKOHe.js +0 -1
  220. package/eds-trl.entry-CwmhIRgh.mjs +0 -34
  221. package/incorrect-use-of-colors.entry-B5KDlGuR.mjs +0 -42
  222. package/incorrect-use-of-colors.entry-_H77f9zg.js +0 -1
  223. package/index-QKKBbj1_.js +0 -21
  224. package/logo-space.entry-CGNHFbPE.js +0 -1
  225. package/logo-space.entry-NVMguJha.mjs +0 -14
  226. package/logo-variations-horizontal_2.entry-CoHmkNBR.mjs +0 -29
  227. package/logo-variations-horizontal_2.entry-CykdymGd.js +0 -7
  228. package/logo-wrong-usage.entry-BozirNNs.mjs +0 -14
  229. package/logo-wrong-usage.entry-DCJHE7Y8.js +0 -1
  230. package/token-list_3.entry-D8dKORAJ.js +0 -1
  231. package/token-ratios.entry-CaKfU99x.js +0 -1
  232. package/token-spacing.entry-B9inIBOK.mjs +0 -12
  233. package/token-spacing.entry-BV0NaRVV.js +0 -1
@@ -1,128 +1,150 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-QKKBbj1_.js"),t=()=>e.h("div",{class:"static-content container"},e.h("h2",null,"Load the module"),e.h("p",null,"Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you’re working on a simple HTML page, you can start using the components immediately by adding the tags below to the"," ",e.h("code",null,"head"),"."),e.h("eds-code-block",{code:`<script type='module'>
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),t=()=>e.h("div",{class:"static-content container"},e.h("h2",null,"Load the module"),e.h("p",null,"Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you’re working on a simple HTML page, you can start using the components immediately by adding the tags below to the"," ",e.h("code",null,"head"),"."),e.h("eds-code-block",{code:`<script type='module'>
2
2
  import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js';
3
3
  // Define custom elements
4
4
  defineCustomElements(window);
5
5
  <\/script>`,language:"javascript","copy-label":"Copy Code"}),e.h("p",null,"This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),e.h("eds-steps",{steps:[{title:"Import the Loader Module",content:"The script imports the defineCustomElements function from the Stencil-generated loader module hosted at a CDN. This module contains the registration logic for all your custom components."},{title:"Register Custom Elements",content:"Calling defineCustomElements(window) loops through the available components and registers each one with the browser using customElements.define(). This makes your custom elements available in the DOM."},{title:"Lazy Loading in Action",content:"Although all components are registered on startup, their implementation code is lazy-loaded. This means a component's code is only fetched when it is first used, optimizing the initial load time."},{title:"Optimized Performance",content:"By registering components early and lazy-loading their implementations, the script helps maintain a fast startup while ensuring that all custom elements are ready for use when needed."}]}),e.h("p",null,"Once included, components can be used in your markup like any other regular HTML elements:"),e.h("eds-code-block",{code:`<eds-button
6
6
  label="my bytton"
7
7
  intent="primary">
8
- </eds-button>`,language:"html","copy-label":"Copy Code"}),e.h("h2",null,"Load the styles"),e.h("p",null,"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the"," ",e.h("code",null,"head")),e.h("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',language:"css","copy-label":"Copy Code"}),e.h("p",null,"Note that, loading the predefined CSS framework above,"," ",e.h("b",null,"automatically loads the fonts so you can skip loading them separately"),". If you wish, however, to load the fonts, add the tag below to the ",e.h("code",null,"head")),e.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"})),s=()=>e.h("div",null,e.h("p",null,"Before proceeding, ensure that Node.js is installed on your machine—you can download the latest version from the official website. If your project doesn’t 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."),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/components",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/assets",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/react",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/vue",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/angular",language:"html","copy-label":"Copy Code"}))),a=()=>e.h("div",null,e.h("h2",null,"React Wrappers"),e.h("p",null,"To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),e.h("eds-code-block",{code:"npm install @ebrains/react",language:"javascript","copy-label":"Copy Code"}),e.h("eds-section-core",{"section-title":"Example React App","heading-level":"h3"},e.h("eds-code-block",{code:`
8
+ </eds-button>`,language:"html","copy-label":"Copy Code"}),e.h("h2",null,"Load the styles"),e.h("p",null,"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the"," ",e.h("code",null,"head")),e.h("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',language:"css","copy-label":"Copy Code"}),e.h("p",null,"To directly use only the produced variables add the tag below to the ",e.h("code",null,"head")),e.h("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>',language:"css","copy-label":"Copy Code"}),e.h("p",null,"Note that, loading the predefined CSS framework above,"," ",e.h("b",null,"automatically loads the fonts so you can skip loading them separately"),". If you wish, however, to load the fonts, add the tag below to the ",e.h("code",null,"head")),e.h("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>',language:"css","copy-label":"Copy Code"})),s=()=>e.h("div",null,e.h("p",null,"Before proceeding, ensure that Node.js is installed on your machine—you can download the latest version from the official website. If your project doesn’t 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."),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/components",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/assets",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/react",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/vue",language:"html","copy-label":"Copy Code"})),e.h("div",{class:"my-8"},e.h("eds-code-block",{code:"npm install @ebrains/angular",language:"html","copy-label":"Copy Code"}))),o=()=>e.h("div",null,e.h("h2",null,"React Wrappers"),e.h("p",null,"To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),e.h("eds-code-block",{code:"npm install @ebrains/react",language:"javascript","copy-label":"Copy Code"}),e.h("eds-section-core",{"section-title":"Example React App","heading-level":"h3"},e.h("p",null,"This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),e.h("eds-code-block",{code:`
9
+ import React, { useMemo, useState } from 'react';
9
10
  import {
10
- EdsHeader,
11
- EdsFullscreenMenu,
12
- EdsUser
13
- } from "@ebrains/react";
11
+ EdsHeader
12
+ EdsSplashScreen,
13
+ EdsMatomoNotice,
14
+ EdsSteps
15
+ } from '@ebrains/react';
16
+ import './app.css';
14
17
 
15
- interface User {
16
- firstname: string;
17
- lastname: string;
18
- // Add any other properties your user object might have
18
+ // simulate 2s
19
+ function fakeInit(): Promise<void> {
20
+ return new Promise(resolve => setTimeout(resolve, 2000));
19
21
  }
20
22
 
21
- interface AuthStatus {
22
- authenticated: boolean;
23
- user: User | null;
24
- }
25
-
26
- import { useEffect, useState } from "react";
27
-
28
23
  export function App() {
29
- const [authStatus, setAuthStatus] = useState<AuthStatus>({
30
- authenticated: false,
31
- user: null,
32
- });
33
- const [activeTabIndex, setActiveTabIndex] = useState<number>(0);
34
-
35
- // Use useEffect to render Stencil components dynamically after the component mounts
36
- useEffect(() => {
37
- const handleAuthStatusChange = (event: CustomEvent) => {
38
- console.log(event.detail);
39
- setAuthStatus(event.detail); // Set the entire object
40
- };
24
+ // 1) create init promise
25
+ const initPromise = useMemo(() => fakeInit(), []);
41
26
 
42
- document.addEventListener(
43
- "authStatusChanged",
44
- handleAuthStatusChange as EventListener,
45
- );
27
+ // 2) is splash still visible
28
+ const [splashVisible, setSplashVisible] = useState(true);
29
+ const [initError, setInitError] = useState<string | null>(null);
46
30
 
47
- return () => {
48
- document.removeEventListener(
49
- "authStatusChanged",
50
- handleAuthStatusChange as EventListener,
51
- );
52
- };
53
- }, []);
31
+ // 3) show the UI after the splash has hidden
32
+ const showApp = !splashVisible && !initError;
54
33
 
55
34
  return (
56
35
  <div>
57
- <EdsHeader
58
- homeUrl="/"
59
- menuEnabled={true}
60
- inverseHeader={false}
61
- links={[
62
- { label: "About", url: "#" },
63
- { label: "Focus Areas", url: "#" },
64
- { label: "News & Events", url: "#" },
65
- { label: "Contact", url: "#" }
66
- ]}
67
- >
68
- <div className="px-16">
69
- <EdsUser
70
- keycloak-url="http://localhost:8080"
71
- keycloak-realm="nigeor-realm"
72
- keycloak-client-id="stencil-app"
73
- ></EdsUser>
36
+ {splashVisible && (
37
+ <EdsSplashScreen
38
+ inverse={false}
39
+ initPromise={initPromise}
40
+ onSplash={(e: CustomEvent) => {
41
+ if (e.detail.type === 'hidden') {
42
+ setSplashVisible(false);
43
+ } else if (e.detail.type === 'error') {
44
+ setInitError(e.detail.message);
45
+ setSplashVisible(false);
46
+ }
47
+ }}
48
+ />
49
+ )}
50
+
51
+ {initError && (
52
+ <div className='error'>
53
+ Failed to initialize: {initError}
74
54
  </div>
75
- </EdsHeader>
55
+ )}
56
+
57
+ {/* Show App only when ready */}
58
+ {showApp && (
59
+ <>
60
+ <EdsHeader></EdsHeader>
61
+ <EdsSteps
62
+ steps={[
63
+ {
64
+ title: 'Introduction',
65
+ content: 'Begin by familiarizing yourself with the overall process.'
66
+ },
67
+ {
68
+ title: 'Process Overview',
69
+ content: 'Review the detailed steps and understand the workflow.'
70
+ }
71
+ ]}
72
+ type='linear'
73
+ />
76
74
 
77
- <EdsFullscreenMenu
78
- home-url="/"
79
- links={[
80
- { label: "About", url: "#" },
81
- { label: "Focus Areas", url: "#" },
82
- { label: "News & Events", url: "#" },
83
- { label: "Contact", url: "#" }
84
- ]}
85
- ></EdsFullscreenMenu>
86
-
87
- <div>
88
- User is{" "}
89
- {authStatus.authenticated ? "authenticated" : "not authenticated"}
90
- </div>
91
- {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}
75
+ <EdsMatomoNotice />
92
76
 
93
- <div id="main"></div>
77
+ <div id='root'></div>
78
+ </>
79
+ )}
94
80
  </div>
95
81
  );
96
82
  }
97
-
98
83
  export default App;
99
-
100
- `,language:"javascript","copy-label":"Copy Code"}))),o=()=>e.h("div",null,e.h("h2",null,"Vue Wrappers"),e.h("p",null,"To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),e.h("eds-code-block",{code:"npm install @ebrains/vue",language:"javascript","copy-label":"Copy Code"}),e.h("h2",null,"Passing Properties to Custom Elements Using the ",e.h("b",null,".prop")," Modifier in Vue Wrappers"),e.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’s 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."),e.h("h3",null,"How to Use the ",e.h("b",null,".prop")," Modifier"),e.h("p",null,"When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here’s an example of how to do it:"),e.h("div",{class:"my-8"},e.h("eds-alert",{message:"This may lead to issues because Vue binds these as attributes .",intent:"error"})),e.h("eds-code-block",{code:`<EdsAlert
84
+ `,language:"javascript","copy-label":"Copy Code"}))),a=()=>e.h("div",null,e.h("h2",null,"Vue Wrappers"),e.h("p",null,"To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),e.h("eds-code-block",{code:"npm install @ebrains/vue",language:"javascript","copy-label":"Copy Code"}),e.h("h2",null,"Passing Properties to Custom Elements Using the ",e.h("b",null,".prop")," Modifier in Vue Wrappers"),e.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’s 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."),e.h("h3",null,"How to Use the ",e.h("b",null,".prop")," Modifier"),e.h("p",null,"When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here’s an example of how to do it:"),e.h("div",{class:"my-8"},e.h("eds-alert",{message:"This may lead to issues because Vue binds these as attributes .",intent:"error"})),e.h("eds-code-block",{code:`<EdsAlert
101
85
  message="This is a default informational alert."
102
86
  intent="default"
103
87
  :pressableLabel="Press Me"
104
88
  :pressableUrl="https://ebrains.eu"
105
- ></EdsAlert>`,language:"javascript","copy-label":"Copy Code"}),e.h("div",{class:"my-8"},e.h("eds-alert",{message:"Use the .prop modifier to ensure properties are passed correctly.",intent:"success"})),e.h("eds-code-block",{code:`<EdsAlert
89
+ ></EdsAlert>`,language:"javascript","copy-label":"Copy Code"}),e.h("div",{class:"my-8"},e.h("eds-alert",{message:"Use the .prop modifier to ensure properties are passed correctly.",intent:"default"})),e.h("eds-code-block",{code:`<EdsAlert
106
90
  message="This is a default informational alert."
107
91
  intent="default"
108
92
  :pressableLabel.prop="Press Me"
109
93
  :pressableUrl.prop="https://ebrains.eu"
110
94
  ></EdsAlert>`,language:"javascript","copy-label":"Copy Code"}),e.h("p",null,"Using the ",e.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."),e.h("eds-section-core",{"section-title":"Example Vue App","heading-level":"h3"},e.h("eds-code-block",{code:`
111
95
  <template>
112
- <EdsHeader
113
- :inverseHeader.prop="true"
114
- :menuEnabled.prop="true">
115
- </EdsHeader>
96
+ <div>
97
+ <EdsHeader></EdsHeader>
98
+ <!-- render the splash until we manually hide it -->
99
+ <EdsSplashScreen inverse="false" />
100
+
101
+ <!-- then show main UI -->
102
+ <div v-if="!splashVisible" class="container my-16">
103
+ <EdsSteps
104
+ :steps="JSON.stringify(stepsdata)"
105
+ type="linear"
106
+ />
107
+ </div>
108
+ </div>
116
109
  </template>
117
110
 
118
111
  <script>
119
-
120
- import { EdsHeader } from "@ebrains/vue";
112
+ import { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";
121
113
 
122
114
  export default {
123
115
  name: "App",
124
- components: {
125
- EdsHeader,
116
+ components: { EdsHeader, EdsSplashScreen, EdsSteps },
117
+ data() {
118
+ return {
119
+ stepsdata: [
120
+ { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },
121
+ { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }
122
+ ],
123
+ splashVisible: true
124
+ };
125
+ },
126
+ methods: {
127
+ delay(ms) {
128
+ return new Promise(resolve => setTimeout(resolve, ms));
129
+ },
130
+ async initialize() {
131
+ try {
132
+ // simulate your init work
133
+ await this.delay(2000);
134
+
135
+ // fire the built-in event that EdsSplashScreen listens for
136
+ window.dispatchEvent(new Event("hideSplash"));
137
+ } catch (e) {
138
+ console.error("Init error", e);
139
+ window.dispatchEvent(new Event("hideSplash"));
140
+ } finally {
141
+ // show the rest of the app
142
+ this.splashVisible = false;
143
+ }
144
+ }
145
+ },
146
+ mounted() {
147
+ this.initialize();
126
148
  }
127
149
  };
128
150
  <\/script>
@@ -137,4 +159,4 @@ defineCustomElements();`,language:"javascript","copy-label":"Copy Code"}),e.h("p
137
159
  ]">
138
160
  </eds-breadcrumb>
139
161
  <eds-footer></eds-footer>
140
- </div>`,language:"javascript","copy-label":"Copy Code"}))),r=class{constructor(n){e.registerInstance(this,n),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h(t,null);case 1:return e.h(s,null);case 2:return e.h(a,null);case 3:return e.h(o,null);case 4:return e.h(l,null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"85fff494e98ff10bbcc630487a75d345e7cce78c",class:"container"},this.renderContent())}};exports.eds_components_section=r;
162
+ </div>`,language:"javascript","copy-label":"Copy Code"}))),i=class{constructor(n){e.registerInstance(this,n),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h(t,null);case 1:return e.h(s,null);case 2:return e.h(o,null);case 3:return e.h(a,null);case 4:return e.h(l,null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"ee8facfaad3786770fd3ea39f1db7922a67ffd3e",class:"container"},this.renderContent())}};exports.components_section=i;
@@ -1,4 +1,4 @@
1
- import { r as t, h as e } from "./index-DeCYK9qM.mjs";
1
+ import { r as t, h as e } from "./index-xVeSZU9j.mjs";
2
2
  const s = () => e(
3
3
  "div",
4
4
  { class: "static-content container" },
@@ -49,6 +49,13 @@ const s = () => e(
49
49
  e("code", null, "head")
50
50
  ),
51
51
  e("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
52
+ e(
53
+ "p",
54
+ null,
55
+ "To directly use only the produced variables add the tag below to the ",
56
+ e("code", null, "head")
57
+ ),
58
+ e("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>', language: "css", "copy-label": "Copy Code" }),
52
59
  e(
53
60
  "p",
54
61
  null,
@@ -58,8 +65,8 @@ const s = () => e(
58
65
  ". If you wish, however, to load the fonts, add the tag below to the ",
59
66
  e("code", null, "head")
60
67
  ),
61
- e("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" })
62
- ), a = () => e(
68
+ e("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })
69
+ ), o = () => e(
63
70
  "div",
64
71
  null,
65
72
  e("p", null, "Before proceeding, ensure that Node.js is installed on your machine—you can download the latest version from the official website. If your project doesn’t 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."),
@@ -88,7 +95,7 @@ const s = () => e(
88
95
  { class: "my-8" },
89
96
  e("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" })
90
97
  )
91
- ), o = () => e(
98
+ ), a = () => e(
92
99
  "div",
93
100
  null,
94
101
  e("h2", null, "React Wrappers"),
@@ -97,98 +104,83 @@ const s = () => e(
97
104
  e(
98
105
  "eds-section-core",
99
106
  { "section-title": "Example React App", "heading-level": "h3" },
107
+ e("p", null, "This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),
100
108
  e("eds-code-block", { code: `
109
+ import React, { useMemo, useState } from 'react';
101
110
  import {
102
- EdsHeader,
103
- EdsFullscreenMenu,
104
- EdsUser
105
- } from "@ebrains/react";
106
-
107
- interface User {
108
- firstname: string;
109
- lastname: string;
110
- // Add any other properties your user object might have
111
- }
111
+ EdsHeader
112
+ EdsSplashScreen,
113
+ EdsMatomoNotice,
114
+ EdsSteps
115
+ } from '@ebrains/react';
116
+ import './app.css';
112
117
 
113
- interface AuthStatus {
114
- authenticated: boolean;
115
- user: User | null;
118
+ // simulate 2s
119
+ function fakeInit(): Promise<void> {
120
+ return new Promise(resolve => setTimeout(resolve, 2000));
116
121
  }
117
122
 
118
- import { useEffect, useState } from "react";
119
-
120
123
  export function App() {
121
- const [authStatus, setAuthStatus] = useState<AuthStatus>({
122
- authenticated: false,
123
- user: null,
124
- });
125
- const [activeTabIndex, setActiveTabIndex] = useState<number>(0);
124
+ // 1) create init promise
125
+ const initPromise = useMemo(() => fakeInit(), []);
126
126
 
127
- // Use useEffect to render Stencil components dynamically after the component mounts
128
- useEffect(() => {
129
- const handleAuthStatusChange = (event: CustomEvent) => {
130
- console.log(event.detail);
131
- setAuthStatus(event.detail); // Set the entire object
132
- };
133
-
134
- document.addEventListener(
135
- "authStatusChanged",
136
- handleAuthStatusChange as EventListener,
137
- );
127
+ // 2) is splash still visible
128
+ const [splashVisible, setSplashVisible] = useState(true);
129
+ const [initError, setInitError] = useState<string | null>(null);
138
130
 
139
- return () => {
140
- document.removeEventListener(
141
- "authStatusChanged",
142
- handleAuthStatusChange as EventListener,
143
- );
144
- };
145
- }, []);
131
+ // 3) show the UI after the splash has hidden
132
+ const showApp = !splashVisible && !initError;
146
133
 
147
134
  return (
148
135
  <div>
149
- <EdsHeader
150
- homeUrl="/"
151
- menuEnabled={true}
152
- inverseHeader={false}
153
- links={[
154
- { label: "About", url: "#" },
155
- { label: "Focus Areas", url: "#" },
156
- { label: "News & Events", url: "#" },
157
- { label: "Contact", url: "#" }
158
- ]}
159
- >
160
- <div className="px-16">
161
- <EdsUser
162
- keycloak-url="http://localhost:8080"
163
- keycloak-realm="nigeor-realm"
164
- keycloak-client-id="stencil-app"
165
- ></EdsUser>
136
+ {splashVisible && (
137
+ <EdsSplashScreen
138
+ inverse={false}
139
+ initPromise={initPromise}
140
+ onSplash={(e: CustomEvent) => {
141
+ if (e.detail.type === 'hidden') {
142
+ setSplashVisible(false);
143
+ } else if (e.detail.type === 'error') {
144
+ setInitError(e.detail.message);
145
+ setSplashVisible(false);
146
+ }
147
+ }}
148
+ />
149
+ )}
150
+
151
+ {initError && (
152
+ <div className='error'>
153
+ Failed to initialize: {initError}
166
154
  </div>
167
- </EdsHeader>
155
+ )}
156
+
157
+ {/* Show App only when ready */}
158
+ {showApp && (
159
+ <>
160
+ <EdsHeader></EdsHeader>
161
+ <EdsSteps
162
+ steps={[
163
+ {
164
+ title: 'Introduction',
165
+ content: 'Begin by familiarizing yourself with the overall process.'
166
+ },
167
+ {
168
+ title: 'Process Overview',
169
+ content: 'Review the detailed steps and understand the workflow.'
170
+ }
171
+ ]}
172
+ type='linear'
173
+ />
168
174
 
169
- <EdsFullscreenMenu
170
- home-url="/"
171
- links={[
172
- { label: "About", url: "#" },
173
- { label: "Focus Areas", url: "#" },
174
- { label: "News & Events", url: "#" },
175
- { label: "Contact", url: "#" }
176
- ]}
177
- ></EdsFullscreenMenu>
178
-
179
- <div>
180
- User is{" "}
181
- {authStatus.authenticated ? "authenticated" : "not authenticated"}
182
- </div>
183
- {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}
175
+ <EdsMatomoNotice />
184
176
 
185
- <div id="main"></div>
177
+ <div id='root'></div>
178
+ </>
179
+ )}
186
180
  </div>
187
181
  );
188
182
  }
189
-
190
183
  export default App;
191
-
192
184
  `, language: "javascript", "copy-label": "Copy Code" })
193
185
  )
194
186
  ), l = () => e(
@@ -227,7 +219,7 @@ export default App;
227
219
  e(
228
220
  "div",
229
221
  { class: "my-8" },
230
- e("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })
222
+ e("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "default" })
231
223
  ),
232
224
  e("eds-code-block", { code: `<EdsAlert
233
225
  message="This is a default informational alert."
@@ -247,26 +239,64 @@ export default App;
247
239
  { "section-title": "Example Vue App", "heading-level": "h3" },
248
240
  e("eds-code-block", { code: `
249
241
  <template>
250
- <EdsHeader
251
- :inverseHeader.prop="true"
252
- :menuEnabled.prop="true">
253
- </EdsHeader>
242
+ <div>
243
+ <EdsHeader></EdsHeader>
244
+ <!-- render the splash until we manually hide it -->
245
+ <EdsSplashScreen inverse="false" />
246
+
247
+ <!-- then show main UI -->
248
+ <div v-if="!splashVisible" class="container my-16">
249
+ <EdsSteps
250
+ :steps="JSON.stringify(stepsdata)"
251
+ type="linear"
252
+ />
253
+ </div>
254
+ </div>
254
255
  </template>
255
256
 
256
257
  <script>
257
-
258
- import { EdsHeader } from "@ebrains/vue";
258
+ import { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";
259
259
 
260
260
  export default {
261
261
  name: "App",
262
- components: {
263
- EdsHeader,
262
+ components: { EdsHeader, EdsSplashScreen, EdsSteps },
263
+ data() {
264
+ return {
265
+ stepsdata: [
266
+ { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },
267
+ { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }
268
+ ],
269
+ splashVisible: true
270
+ };
271
+ },
272
+ methods: {
273
+ delay(ms) {
274
+ return new Promise(resolve => setTimeout(resolve, ms));
275
+ },
276
+ async initialize() {
277
+ try {
278
+ // simulate your init work
279
+ await this.delay(2000);
280
+
281
+ // fire the built-in event that EdsSplashScreen listens for
282
+ window.dispatchEvent(new Event("hideSplash"));
283
+ } catch (e) {
284
+ console.error("Init error", e);
285
+ window.dispatchEvent(new Event("hideSplash"));
286
+ } finally {
287
+ // show the rest of the app
288
+ this.splashVisible = false;
289
+ }
290
+ }
291
+ },
292
+ mounted() {
293
+ this.initialize();
264
294
  }
265
295
  };
266
296
  <\/script>
267
297
  `, language: "javascript", "copy-label": "Copy Code" })
268
298
  )
269
- ), r = () => e(
299
+ ), i = () => e(
270
300
  "div",
271
301
  null,
272
302
  e("h2", null, "Angular Wrappers"),
@@ -292,7 +322,7 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
292
322
  <eds-footer></eds-footer>
293
323
  </div>`, language: "javascript", "copy-label": "Copy Code" })
294
324
  )
295
- ), c = class {
325
+ ), d = class {
296
326
  constructor(n) {
297
327
  t(this, n), this.tabIndex = void 0;
298
328
  }
@@ -301,21 +331,21 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
301
331
  case 0:
302
332
  return e(s, null);
303
333
  case 1:
304
- return e(a, null);
305
- case 2:
306
334
  return e(o, null);
335
+ case 2:
336
+ return e(a, null);
307
337
  case 3:
308
338
  return e(l, null);
309
339
  case 4:
310
- return e(r, null);
340
+ return e(i, null);
311
341
  default:
312
342
  return e("p", null, "Content not available.");
313
343
  }
314
344
  }
315
345
  render() {
316
- return e("div", { key: "85fff494e98ff10bbcc630487a75d345e7cce78c", class: "container" }, this.renderContent());
346
+ return e("div", { key: "ee8facfaad3786770fd3ea39f1db7922a67ffd3e", class: "container" }, this.renderContent());
317
347
  }
318
348
  };
319
349
  export {
320
- c as eds_components_section
350
+ d as components_section
321
351
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],a=[{background:"#141414"},{background:"#383838"},{background:"#CCCCCC"},{background:"#E6E6E6"},{background:"#FFFFFF"}],s=[{background:"#3FA9F5"},{background:"#0644F4"}],d=[{background:"#C461FF"},{background:"#5D3DF9"}],t=[{background:"#FFA543"},{background:"#FF4D68"}],o=class{constructor(l){e.registerInstance(this,l)}render(){return e.h("div",{key:"966cb542b868e89c3f2538548e8a1ca8e20ea8d8",class:"container"},e.h("p",{key:"3c595ffa9a2de45b681924354486309004d4ceaf",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"1d1fded0f8cf78cec9e364e5b6844598b55f3f86",label:"primary",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"abae691bb80eca1019f97375997b1aa6a577ba8b",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"251e6d8ad16d70974b67fa044d53abd1be79ccac",class:"flex"},e.h("div",{key:"de5b9b6720aababb693421663c52db85cee1b5fc",class:"w-full"},e.h("ul",{key:"a61f669f45c2f9d3b53d87bacc222a4274f93d34",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"e7787d0ae843d7767ecac3267f11325dcfecf948",class:"w-full"},e.h("ul",{key:"0d740ad8178c88175939d32a4f84d518f587e43a",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))),e.h("p",{key:"6c59b2c574f5039baafd91a2939fbbb307732500",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"03e9ca7b0831c2b1d1908001324a38147ecea835",label:"purple",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"021affd3b5db00ccb5ef0d51de4552c5d3a11f44",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"b7a5c4c10adab099c57ed70c0d2186d791aa70ec",class:"flex"},e.h("div",{key:"3732c49a47158c206e1b40fc5425e555487ec757",class:"w-full"},e.h("ul",{key:"54a5d35510bd77397d1418aa2638cf310534e986",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[225px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"048de44bd69a7b6ecefe3188d76821e4d5145620",class:"w-full"},e.h("ul",{key:"e3f8cadce4b9a575e1d844958cfccf20a19db681",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))),e.h("p",{key:"14d7f9c88ae769d6feb2a8344f8b45b40d4ae095",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"810bdfa6fd175f9d483129b70bbae469051e0e0d",label:"blue",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"fb8a9712f8e1ae1cffbb85c79f7e9c2657f867db",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"1df0919bb4c75ee251d7f5c8cf95bb2e2e990242",class:"flex"},e.h("div",{key:"5a898462aa680267f4ac35aefb98e60b7f486c63",class:"w-full"},e.h("ul",{key:"ad6f3e6ccde7d225be344efbc176064fc89aa796",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[225px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"8dd6e01b989c8589be6b553c85f0512c268ac369",class:"w-full"},e.h("ul",{key:"c36937d99efd585c4e8a37b80de5bce82374186c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))),e.h("p",{key:"452c68d1c797de34e531d7c734d350fcc36ae2f2",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"17453c9d78c20583c989281672c0f41bbe8d036f",label:"redish",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"3e78eb924b6a857674d50d4a209e4843f76e5fc3",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"ae3e2a703633013f632df3a75f45ec932ce5e13b",class:"flex"},e.h("div",{key:"4a0f256fa355dcbd6d6fc0e95e81a6c2821c917d",class:"w-full"},e.h("ul",{key:"8aaf611ed9b87b86d0c1b47b1e37cb01989838b2",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},t.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[225px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"112e50da1627a671fbca843111becf51cd02ebc5",class:"w-full"},e.h("ul",{key:"14033bd08a9d16bd0b6cfe8b87acc2a841c48a29",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))))}};exports.correct_use_of_colors=o;