@ebrains/vue 2.3.1 → 2.4.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 (244) hide show
  1. package/{color-primary-palette_6.entry-DrH0oCGM.mjs → color-primary-palette_6.entry-BOQwdLOL.mjs} +15 -15
  2. package/color-primary-palette_6.entry-CphaMLXx.js +1 -0
  3. package/{components-section.entry-BfONYWjk.mjs → components-section.entry-BJYh6ZqK.mjs} +56 -30
  4. package/components-section.entry-SAshGWUQ.js +170 -0
  5. package/{correct-use-of-colors.entry-DHWb2jEj.js → correct-use-of-colors.entry-D3snQrWZ.js} +1 -1
  6. package/{correct-use-of-colors.entry-BQyBCd9s.mjs → correct-use-of-colors.entry-DVEr3HqJ.mjs} +4 -4
  7. package/{docs-palettes.entry-B5ymfyqq.mjs → docs-palettes.entry-BTA6W3QT.mjs} +2 -2
  8. package/{docs-palettes.entry-f4oFC9pT.js → docs-palettes.entry-DxC7NOsr.js} +1 -1
  9. package/docs-tokens.entry-DagpB_GP.mjs +30 -0
  10. package/{docs-tokens.entry-C30AEFLf.js → docs-tokens.entry-oggXM1pO.js} +1 -1
  11. package/{eds-accordion_36.entry-D_s5vq31.js → eds-accordion_37.entry-BkfprXPq.js} +15 -15
  12. package/{eds-accordion_36.entry-OIRzmPqH.mjs → eds-accordion_37.entry-DNB5z1By.mjs} +768 -485
  13. package/eds-app-root.entry-DWceNqaI.mjs +25 -0
  14. package/eds-app-root.entry-DwSccINb.js +1 -0
  15. package/{eds-card-desc_2.entry-CEdehyoF.js → eds-card-desc_2.entry-BQoTS_bc.js} +1 -1
  16. package/{eds-card-desc_2.entry-JSaiGlWo.mjs → eds-card-desc_2.entry-BdPjFGDv.mjs} +6 -6
  17. package/{eds-card-generic.entry-q2hRndNN.js → eds-card-generic.entry-BG30NrVC.js} +1 -1
  18. package/{eds-card-generic.entry-CE3mg-AA.mjs → eds-card-generic.entry-DQyM_JK3.mjs} +2 -2
  19. package/{eds-card-project.entry-DRDKqRkj.mjs → eds-card-project.entry-BP8js0cs.mjs} +2 -2
  20. package/{eds-card-project.entry-XdMxPIjJ.js → eds-card-project.entry-CxRgjzSU.js} +1 -1
  21. package/{eds-card-section.entry-C25vEF76.mjs → eds-card-section.entry-60FytOvD.mjs} +1 -1
  22. package/{eds-card-section.entry-Cm-ZV6Cx.js → eds-card-section.entry-Bb1b2kXs.js} +1 -1
  23. package/eds-card-tags.entry-BGqUXLzd.js +1 -0
  24. package/eds-card-tags.entry-BUNzTY40.mjs +13 -0
  25. package/{eds-card-tool.entry-CajyPzSy.mjs → eds-card-tool.entry-CTrtXWIl.mjs} +5 -5
  26. package/{eds-card-tool.entry-BveA8TjH.js → eds-card-tool.entry-CgBUFQvK.js} +1 -1
  27. package/{eds-cookies-preference.entry-DaKfLqmp.js → eds-cookies-preference.entry-BEZvv_bO.js} +1 -1
  28. package/{eds-cookies-preference.entry-8lSpYPIu.mjs → eds-cookies-preference.entry-DSJu8rVy.mjs} +2 -2
  29. package/{eds-feedback.entry-D2JBpbuO.mjs → eds-feedback.entry-CYjOZU2u.mjs} +7 -7
  30. package/{eds-feedback.entry-L3lpUzUa.js → eds-feedback.entry-PhMRcsAz.js} +1 -1
  31. package/{eds-footer.entry-Bjxl2Jps.js → eds-footer.entry-BLO8Z8dm.js} +1 -1
  32. package/{eds-footer.entry-lgz63hSP.mjs → eds-footer.entry-DJcfJ44W.mjs} +3 -3
  33. package/{eds-frame.entry-DdG1oAra.js → eds-frame.entry-D6iN0ONY.js} +1 -1
  34. package/{eds-frame.entry-BtnzcxcH.mjs → eds-frame.entry-UqcFm5St.mjs} +4 -4
  35. package/{eds-fullscreen-menu.entry-DAZhoTND.mjs → eds-fullscreen-menu.entry-C3qvhFVx.mjs} +1 -1
  36. package/{eds-fullscreen-menu.entry-DvDq0ito.js → eds-fullscreen-menu.entry-DXlx2Lpo.js} +1 -1
  37. package/{eds-gauge.entry-DK8rYXuW.mjs → eds-gauge.entry-B9FaNkGa.mjs} +6 -6
  38. package/{eds-gauge.entry-CfR1mVTp.js → eds-gauge.entry-DqaT7lFS.js} +1 -1
  39. package/eds-icon-arrow-diagonal.entry-DySYlKqV.js +1 -0
  40. package/eds-icon-arrow-diagonal.entry-GE_pmZ4M.mjs +13 -0
  41. package/eds-icon-arrow-right.entry-DZDiZjVp.js +1 -0
  42. package/{eds-icon-arrow-right.entry-BTH9oT9d.mjs → eds-icon-arrow-right.entry-_9LK65G0.mjs} +2 -2
  43. package/eds-icon-bin.entry-CdE4XPTw.js +1 -0
  44. package/eds-icon-bin.entry-Df1FGDU7.mjs +13 -0
  45. package/eds-icon-bluesky.entry-CDjaUbNs.mjs +13 -0
  46. package/eds-icon-bluesky.entry-DVIcePaf.js +1 -0
  47. package/{eds-icon-bookmark.entry-CatvnZ8D.js → eds-icon-bookmark.entry-DAm3kHsU.js} +1 -1
  48. package/eds-icon-bookmark.entry-k01Ff1Oe.mjs +13 -0
  49. package/eds-icon-chevron-down.entry-DbCpzoam.js +1 -0
  50. package/eds-icon-chevron-down.entry-_wlrhDN7.mjs +13 -0
  51. package/eds-icon-chevron-left.entry-5vMf3rwM.js +1 -0
  52. package/eds-icon-chevron-left.entry-C_g0I3ns.mjs +13 -0
  53. package/{eds-icon-chevron-right.entry-3iaetQU7.js → eds-icon-chevron-right.entry-BFgLwsQN.js} +1 -1
  54. package/eds-icon-chevron-right.entry-KR8mJaVH.mjs +13 -0
  55. package/eds-icon-chevron-up.entry-DD2QAGhe.js +1 -0
  56. package/eds-icon-chevron-up.entry-YcI_aq54.mjs +13 -0
  57. package/eds-icon-clone.entry-BVjtDocE.js +1 -0
  58. package/eds-icon-clone.entry-Cit8bjr_.mjs +13 -0
  59. package/eds-icon-close.entry-91pdPk8B.mjs +13 -0
  60. package/{eds-icon-close.entry-CVZtnr71.js → eds-icon-close.entry-DRoUNakG.js} +1 -1
  61. package/{eds-icon-copy.entry-DJlXZz7u.mjs → eds-icon-copy.entry-BeQbVTte.mjs} +2 -2
  62. package/{eds-icon-copy.entry-BdVqL5HQ.js → eds-icon-copy.entry-D-qdH0v-.js} +1 -1
  63. package/eds-icon-download.entry-8f2hE3Wk.js +1 -0
  64. package/{eds-icon-download.entry-BRgYY00f.mjs → eds-icon-download.entry-CqmyxqMK.mjs} +2 -2
  65. package/{eds-icon-draft.entry-D0pZIef2.js → eds-icon-draft.entry-CvTTExoQ.js} +1 -1
  66. package/eds-icon-draft.entry-p_FvZEte.mjs +13 -0
  67. package/eds-icon-edit.entry-DSqvYywl.mjs +13 -0
  68. package/{eds-icon-edit.entry-BLEILlWL.js → eds-icon-edit.entry-Dfga3i7A.js} +1 -1
  69. package/eds-icon-eu.entry-BksCB1p-.mjs +13 -0
  70. package/eds-icon-eu.entry-DfZOtmmu.js +1 -0
  71. package/eds-icon-external.entry-Cba3vYMZ.js +1 -0
  72. package/eds-icon-external.entry-DXPLNlb8.mjs +13 -0
  73. package/eds-icon-facebook.entry-BxfGg1sV.mjs +13 -0
  74. package/{eds-icon-facebook.entry-DEsgrVAe.js → eds-icon-facebook.entry-Cz586EbT.js} +1 -1
  75. package/eds-icon-gitlab.entry-B591a00C.mjs +13 -0
  76. package/eds-icon-gitlab.entry-CYblReWf.js +1 -0
  77. package/eds-icon-linkedin.entry-D9QYZu6H.mjs +13 -0
  78. package/eds-icon-linkedin.entry-Dd3HEXfb.js +1 -0
  79. package/{eds-icon-loader.entry-CjtBdDRx.js → eds-icon-loader.entry-BYxjWiaj.js} +1 -1
  80. package/eds-icon-loader.entry-DGjEV9J2.mjs +13 -0
  81. package/eds-icon-mastodon.entry-B3FVNRhj.js +1 -0
  82. package/eds-icon-mastodon.entry-CT3QrNt6.mjs +13 -0
  83. package/eds-icon-menu.entry-D43Jpiyp.mjs +13 -0
  84. package/eds-icon-menu.entry-DkL8ibuz.js +1 -0
  85. package/eds-icon-minus.entry-BZPH2F97.mjs +13 -0
  86. package/eds-icon-minus.entry-fRd4oviG.js +1 -0
  87. package/eds-icon-more.entry-8v6an2De.js +1 -0
  88. package/eds-icon-more.entry-BpNx8P0t.mjs +13 -0
  89. package/eds-icon-paper.entry-BELU8IU8.js +1 -0
  90. package/eds-icon-paper.entry-DSO9eH0G.mjs +13 -0
  91. package/{eds-icon-plus.entry-Dmukl4FF.js → eds-icon-plus.entry-CQhtpmRy.js} +1 -1
  92. package/eds-icon-plus.entry-MVxMMz6e.mjs +13 -0
  93. package/{eds-icon-portal.entry-DEranrXL.js → eds-icon-portal.entry-BmJb8gBx.js} +1 -1
  94. package/eds-icon-portal.entry-HaN33ioB.mjs +13 -0
  95. package/eds-icon-private.entry-BWdUc1He.mjs +13 -0
  96. package/{eds-icon-private.entry-uZ04Kx8T.js → eds-icon-private.entry-BnLhFTAh.js} +1 -1
  97. package/eds-icon-public.entry-Cgz1G--U.mjs +13 -0
  98. package/eds-icon-public.entry-pcvu6TZY.js +1 -0
  99. package/{eds-icon-search.entry-D1MRPqBb.mjs → eds-icon-search.entry-C6vweC7V.mjs} +2 -2
  100. package/eds-icon-search.entry-DRX1I1aW.js +1 -0
  101. package/eds-icon-star.entry-B1CF_Mh_.js +1 -0
  102. package/eds-icon-star.entry-BLz5zBwg.mjs +13 -0
  103. package/eds-icon-start.entry-BoZaGNzw.mjs +13 -0
  104. package/{eds-icon-start.entry-BOGqI_Zx.js → eds-icon-start.entry-C50Agi-9.js} +1 -1
  105. package/{eds-icon-success.entry-KtxWn1RS.js → eds-icon-success.entry-CrxtGbCf.js} +1 -1
  106. package/{eds-icon-success.entry-CkZ-hQg_.mjs → eds-icon-success.entry-DDnYxvwi.mjs} +2 -2
  107. package/{eds-icon-thumbs-down.entry-4MLWZzFs.js → eds-icon-thumbs-down.entry-C0rt6NlO.js} +1 -1
  108. package/eds-icon-thumbs-down.entry-e_s6jUvJ.mjs +13 -0
  109. package/eds-icon-thumbs-up.entry-C8kliA9f.js +1 -0
  110. package/eds-icon-thumbs-up.entry-Cr4UVZKl.mjs +13 -0
  111. package/eds-icon-tutorial.entry-CfKSueo5.mjs +13 -0
  112. package/eds-icon-tutorial.entry-DZoBAv-J.js +1 -0
  113. package/{eds-icon-twitter.entry-CBQzsZQg.js → eds-icon-twitter.entry-CgUolH9h.js} +1 -1
  114. package/{eds-icon-twitter.entry-CsGrYx_N.mjs → eds-icon-twitter.entry-yL3V9zK9.mjs} +2 -2
  115. package/{eds-icon-unknown.entry-IdG8hRR5.js → eds-icon-unknown.entry-CCffuSg9.js} +1 -1
  116. package/eds-icon-unknown.entry-O_oyB62p.mjs +13 -0
  117. package/eds-icon-updown.entry-Cn0L81-O.mjs +13 -0
  118. package/eds-icon-updown.entry-Co8bbRL-.js +1 -0
  119. package/{eds-icon-user.entry-Cub0XchX.js → eds-icon-user.entry-BBGlRV8h.js} +1 -1
  120. package/eds-icon-user.entry-DFOA60OK.mjs +13 -0
  121. package/eds-icon-view.entry-C9mWTpId.js +1 -0
  122. package/eds-icon-view.entry-CJDDwYhj.mjs +13 -0
  123. package/{eds-icon-youtube.entry-B-MgX6q3.mjs → eds-icon-youtube.entry-CJ2yib4z.mjs} +2 -2
  124. package/{eds-icon-youtube.entry-BaNHFvIO.js → eds-icon-youtube.entry-zJkuN0Ha.js} +1 -1
  125. package/{eds-modal.entry-sR4mB0iD.js → eds-modal.entry-DSKTTXbi.js} +1 -1
  126. package/{eds-modal.entry-D-mwZo-T.mjs → eds-modal.entry-iuA_Dv6u.mjs} +4 -4
  127. package/{eds-pie.entry-Ao341DGu.mjs → eds-pie.entry-BNNg5Uy9.mjs} +1 -1
  128. package/{eds-pie.entry-C6II_yNh.js → eds-pie.entry-CwHUZk_D.js} +1 -1
  129. package/{eds-progress-bar.entry-BFTP8aYS.mjs → eds-progress-bar.entry-C6sYa7zC.mjs} +4 -4
  130. package/{eds-progress-bar.entry-DGXjsgeL.js → eds-progress-bar.entry-Df5QC5hU.js} +1 -1
  131. package/{eds-section-core_2.entry-BKg81SPT.js → eds-section-core_2.entry-BHFLQDNZ.js} +1 -1
  132. package/{eds-section-core_2.entry-BTgmBGl8.mjs → eds-section-core_2.entry-BfD74zD1.mjs} +4 -4
  133. package/{eds-social-networks.entry-xLqCID8a.js → eds-social-networks.entry-C1UjTjzy.js} +1 -1
  134. package/{eds-social-networks.entry-D8eDVJPb.mjs → eds-social-networks.entry-DtxQyPKc.mjs} +5 -5
  135. package/{eds-splash-screen.entry-ClPuRKUl.js → eds-splash-screen.entry-CbZCkZVP.js} +1 -1
  136. package/{eds-splash-screen.entry-DmCV3MXi.mjs → eds-splash-screen.entry-daVskXHP.mjs} +1 -1
  137. package/{eds-timeline.entry-W8FoF5oJ.mjs → eds-timeline.entry-Bncxm3FP.mjs} +5 -5
  138. package/{eds-timeline.entry-BaQUehpq.js → eds-timeline.entry-z2JO79Q1.js} +1 -1
  139. package/{eds-toast-manager.entry-DUVenNyT.mjs → eds-toast-manager.entry-CAB7cRIu.mjs} +5 -5
  140. package/{eds-toast-manager.entry-DWl9fgn0.js → eds-toast-manager.entry-htheZ_oW.js} +1 -1
  141. package/{eds-trl.entry-D6vG2mWW.mjs → eds-trl.entry-nODOXoOe.mjs} +6 -6
  142. package/{eds-trl.entry-DBwTKTxt.js → eds-trl.entry-sGcsMXET.js} +1 -1
  143. package/generated/components.d.ts +1 -0
  144. package/incorrect-use-of-colors.entry-DUvNvRlf.mjs +42 -0
  145. package/incorrect-use-of-colors.entry-gfSE0npU.js +1 -0
  146. package/{index-D2V9qb42.mjs → index-N8k1JVST.mjs} +109 -99
  147. package/{index-D7ZVgmVD.js → index-bRbMyfm4.js} +7 -7
  148. package/index.js +1 -1
  149. package/index.mjs +10 -9
  150. package/{logo-space.entry-Co_MaYMy.mjs → logo-space.entry-B41IYYB_.mjs} +8 -8
  151. package/{logo-space.entry-CMTLV21z.js → logo-space.entry-Dn8wfVqX.js} +2 -2
  152. package/{logo-variations-horizontal_2.entry-CAfr9XEN.mjs → logo-variations-horizontal_2.entry-BlU_k7B6.mjs} +6 -6
  153. package/{logo-variations-horizontal_2.entry-BAN1YWPa.js → logo-variations-horizontal_2.entry-DSDJVo-i.js} +3 -3
  154. package/{logo-variations-tabs.entry-DT1PF7O4.mjs → logo-variations-tabs.entry-DDYauQRa.mjs} +4 -4
  155. package/logo-variations-tabs.entry-Dn8VKv0h.js +1 -0
  156. package/{logo-wrong-usage.entry-CnFwuEO4.js → logo-wrong-usage.entry-BwhhCaRy.js} +1 -1
  157. package/{logo-wrong-usage.entry-DY5zb6ul.mjs → logo-wrong-usage.entry-R3cbzLYI.mjs} +5 -5
  158. package/package.json +1 -1
  159. package/{svg-repository.entry-D06o8plo.js → svg-repository.entry-BEi81-kD.js} +2 -2
  160. package/{svg-repository.entry-ox1iNbzZ.mjs → svg-repository.entry-WogeII7U.mjs} +20 -20
  161. package/{token-list_3.entry-0hJzShZ3.js → token-list_3.entry-BnwJpJY0.js} +1 -1
  162. package/{token-list_3.entry-BWuV9Gkz.mjs → token-list_3.entry-_-blcolT.mjs} +12 -12
  163. package/token-ratios.entry-BnRo15gr.js +1 -0
  164. package/{token-ratios.entry-D9oauoqY.mjs → token-ratios.entry-Dc9r_eDH.mjs} +2 -2
  165. package/token-spacing.entry-3xyP1x5C.js +1 -0
  166. package/token-spacing.entry-DdsgShJ2.mjs +12 -0
  167. package/{token-typography.entry-DgYpzqvE.js → token-typography.entry-DCQiD4uQ.js} +2 -2
  168. package/{token-typography.entry-DzlUlv-t.mjs → token-typography.entry-DgEU446w.mjs} +2 -2
  169. package/{up-and-down-d747abee-CWoZjUyq.js → up-and-down-8b69ca97-DOjnLWEi.js} +1 -1
  170. package/color-primary-palette_6.entry-CfQGGuRD.js +0 -1
  171. package/components-section.entry-DGZRQBlO.js +0 -159
  172. package/docs-tokens.entry-BqCJ_bR2.mjs +0 -30
  173. package/eds-app-root.entry-B2qjnCKZ.mjs +0 -25
  174. package/eds-app-root.entry-DsYNcKto.js +0 -1
  175. package/eds-card-tags.entry-D999lMh0.mjs +0 -13
  176. package/eds-card-tags.entry-DvklSkOA.js +0 -1
  177. package/eds-icon-arrow-diagonal.entry-CXOMAu9e.mjs +0 -13
  178. package/eds-icon-arrow-diagonal.entry-DaV9bL-M.js +0 -1
  179. package/eds-icon-arrow-right.entry-DR_GKz4u.js +0 -1
  180. package/eds-icon-bin.entry-B3Pqgz5d.mjs +0 -13
  181. package/eds-icon-bin.entry-C8xRiMW-.js +0 -1
  182. package/eds-icon-bluesky.entry-D6Ur1xha.js +0 -1
  183. package/eds-icon-bluesky.entry-dIkmKjZq.mjs +0 -13
  184. package/eds-icon-bookmark.entry-MgB9aDYp.mjs +0 -13
  185. package/eds-icon-chevron-down.entry-DCKfsEzK.js +0 -1
  186. package/eds-icon-chevron-down.entry-JIk8kgjp.mjs +0 -13
  187. package/eds-icon-chevron-left.entry-Cejb7CVs.mjs +0 -13
  188. package/eds-icon-chevron-left.entry-Cpvz8_qB.js +0 -1
  189. package/eds-icon-chevron-right.entry-DlEcC-dY.mjs +0 -13
  190. package/eds-icon-chevron-up.entry-BxklMpW7.js +0 -1
  191. package/eds-icon-chevron-up.entry-CQz9dAna.mjs +0 -13
  192. package/eds-icon-clone.entry-Cj8jelGI.mjs +0 -13
  193. package/eds-icon-clone.entry-pNMtVvVy.js +0 -1
  194. package/eds-icon-close.entry-vsUXoSdD.mjs +0 -13
  195. package/eds-icon-download.entry-CUqWSODa.js +0 -1
  196. package/eds-icon-draft.entry-9l1r2S0_.mjs +0 -13
  197. package/eds-icon-edit.entry-Fw9tQGLT.mjs +0 -13
  198. package/eds-icon-eu.entry-S2sljASu.js +0 -1
  199. package/eds-icon-eu.entry-tLS0bERD.mjs +0 -13
  200. package/eds-icon-external.entry-7gQYFOgK.mjs +0 -13
  201. package/eds-icon-external.entry-DMreALlL.js +0 -1
  202. package/eds-icon-facebook.entry-BVfjOI-r.mjs +0 -13
  203. package/eds-icon-gitlab.entry-BZHD0dyy.js +0 -1
  204. package/eds-icon-gitlab.entry-BxpM3-zK.mjs +0 -13
  205. package/eds-icon-linkedin.entry-BFb_55Kg.js +0 -1
  206. package/eds-icon-linkedin.entry-xthdjkIl.mjs +0 -13
  207. package/eds-icon-loader.entry-BmCBWSnQ.mjs +0 -13
  208. package/eds-icon-mastodon.entry-BsU1549V.js +0 -1
  209. package/eds-icon-mastodon.entry-CTY46s8O.mjs +0 -13
  210. package/eds-icon-menu.entry-BQE60FWM.js +0 -1
  211. package/eds-icon-menu.entry-CM_oV7jr.mjs +0 -13
  212. package/eds-icon-minus.entry-4uG0EFSV.mjs +0 -13
  213. package/eds-icon-minus.entry-Dj8YNAz6.js +0 -1
  214. package/eds-icon-more.entry-BC7vBEMh.mjs +0 -13
  215. package/eds-icon-more.entry-BqnW_B0X.js +0 -1
  216. package/eds-icon-paper.entry-2HOzYzPp.mjs +0 -13
  217. package/eds-icon-paper.entry-CamD3jYB.js +0 -1
  218. package/eds-icon-plus.entry-Fze8JWzj.mjs +0 -13
  219. package/eds-icon-portal.entry-Bf7uGtTv.mjs +0 -13
  220. package/eds-icon-private.entry--VmMOwfZ.mjs +0 -13
  221. package/eds-icon-public.entry-BosU_BdI.js +0 -1
  222. package/eds-icon-public.entry-cH-eMcFb.mjs +0 -13
  223. package/eds-icon-search.entry-DXMAgZtb.js +0 -1
  224. package/eds-icon-star.entry-BCztkxPy.mjs +0 -13
  225. package/eds-icon-star.entry-DcrtQrp6.js +0 -1
  226. package/eds-icon-start.entry-BligjraL.mjs +0 -13
  227. package/eds-icon-thumbs-down.entry-ZPrwU1lc.mjs +0 -13
  228. package/eds-icon-thumbs-up.entry-Bq_-hCP9.js +0 -1
  229. package/eds-icon-thumbs-up.entry-CNfdKYCe.mjs +0 -13
  230. package/eds-icon-tutorial.entry-i2jr4Oh6.js +0 -1
  231. package/eds-icon-tutorial.entry-iIVFjAdC.mjs +0 -13
  232. package/eds-icon-unknown.entry-bdjmAxgB.mjs +0 -13
  233. package/eds-icon-updown.entry-CLfhJP-T.mjs +0 -13
  234. package/eds-icon-updown.entry-CW02FgUY.js +0 -1
  235. package/eds-icon-user.entry-BP2yTD78.mjs +0 -13
  236. package/eds-icon-view.entry-C2TAG_UB.js +0 -1
  237. package/eds-icon-view.entry-DFYbsvF3.mjs +0 -13
  238. package/incorrect-use-of-colors.entry-Cl2NX0X-.js +0 -1
  239. package/incorrect-use-of-colors.entry-DnHqa9-r.mjs +0 -42
  240. package/logo-variations-tabs.entry-Bgh0bg85.js +0 -1
  241. package/token-ratios.entry-6CAy6F1y.js +0 -1
  242. package/token-spacing.entry-CG_jcajr.js +0 -1
  243. package/token-spacing.entry-DIG10-RZ.mjs +0 -12
  244. /package/{up-and-down-d747abee-D7g6H0T0.mjs → up-and-down-8b69ca97-D7g6H0T0.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { r as d, h as e } from "./index-D2V9qb42.mjs";
2
- const c = {
1
+ import { r as d, h as e } from "./index-N8k1JVST.mjs";
2
+ const l = {
3
3
  tokens: {
4
4
  // grey
5
5
  "grey-100": "#f8f8f8",
@@ -168,7 +168,7 @@ const c = {
168
168
  }
169
169
  getTextColor(r) {
170
170
  if (r.startsWith("rgba") || r.startsWith("rgb")) {
171
- const t = r.replace(/rgba?\(/, "").replace(")", "").split(",").map((l) => parseFloat(l.trim())), s = t[0], a = t[1], o = t[2];
171
+ const t = r.replace(/rgba?\(/, "").replace(")", "").split(",").map((c) => parseFloat(c.trim())), s = t[0], a = t[1], o = t[2];
172
172
  return (0.299 * s + 0.587 * a + 0.114 * o) / 255 > 0.5 ? "text-default" : "text-inverse";
173
173
  } else if (r.startsWith("#")) {
174
174
  const t = r.replace("#", ""), s = parseInt(t.substring(0, 2), 16), a = parseInt(t.substring(2, 4), 16), o = parseInt(t.substring(4, 6), 16);
@@ -177,19 +177,19 @@ const c = {
177
177
  return "text-default";
178
178
  }
179
179
  resolveColor(r) {
180
- return c.tokens[r] ? c.tokens[r] : r;
180
+ return l.tokens[r] ? l.tokens[r] : r;
181
181
  }
182
182
  renderSection(r, t) {
183
183
  if (r === "tokens") {
184
184
  const s = this.groupTokensByCategory(t);
185
185
  return Object.entries(s).map(([, a]) => e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((o) => {
186
- const n = Object.keys(o)[0], l = this.resolveColor(o[n]), g = this.getTextColor(l);
187
- return e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height items-center justify-between p-16 hidden lg:flex", style: { backgroundColor: l } }, e("span", { class: `${g} f-body-02` }, n), e("div", { class: "inline-flex" }, e("eds-code-block", { code: l, language: "hex", class: "min-w-[210px] mr-4" }), e("eds-code-block", { language: "css", code: `var(--${n})`, class: "min-w-[210px]" }))), e("div", { class: "effect-height items-center justify-between p-16 block lg:hidden", style: { backgroundColor: l } }, e("span", { class: `${g} f-body-02` }, n), e("div", { class: "inline block" }, e("eds-code-block", { code: l, class: "min-w-[210px] mb-4" }), e("eds-code-block", { code: `var(--${n})`, class: "min-w-[210px]" }))));
186
+ const n = Object.keys(o)[0], c = this.resolveColor(o[n]), g = this.getTextColor(c);
187
+ return e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height items-center justify-between p-16 hidden lg:flex", style: { backgroundColor: c } }, e("span", { class: `${g} f-body-02` }, n), e("div", { class: "inline-flex" }, e("eds-code-block", { code: c, language: "hex", class: "min-w-[210px] mr-4" }), e("eds-code-block", { language: "css", code: `var(--${n})`, class: "min-w-[210px]" }))), e("div", { class: "effect-height items-center justify-between p-16 block lg:hidden", style: { backgroundColor: c } }, e("span", { class: `${g} f-body-02` }, n), e("div", { class: "inline block" }, e("eds-code-block", { code: c, class: "min-w-[210px] mb-4" }), e("eds-code-block", { code: `var(--${n})`, class: "min-w-[210px]" }))));
188
188
  })));
189
189
  }
190
190
  return e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(t).map(([s, a]) => {
191
- const o = this.resolveColor(a), n = this.getTextColor(o), l = o.startsWith("#") || o.startsWith("rgb") ? { backgroundColor: o } : { border: `2px solid ${o}` };
192
- return e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col" }, e("div", { class: "effect-height block lg:flex items-center justify-between p-16", style: l }, e("div", { class: "w-full flex" }, e("span", { class: `${n} mr-auto font-bold` }, s), e("span", { class: `${n} ml-auto mr-4 font-bold` }, a)), e("span", { class: `${n}` }, r === "background" ? e("eds-code-block", { code: `bg-${s}`, class: "min-w-[210px] mr-4" }) : e("eds-code-block", { code: `${r}-${s}`, class: r === "border" ? "min-w-[250px] mr-4" : "min-w-[210px] mr-4" }))));
191
+ const o = this.resolveColor(a), n = this.getTextColor(o), c = o.startsWith("#") || o.startsWith("rgb") ? { backgroundColor: o } : { border: `2px solid ${o}` };
192
+ return e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col" }, e("div", { class: "effect-height block lg:flex items-center justify-between p-16", style: c }, e("div", { class: "w-full flex" }, e("span", { class: `${n} mr-auto font-bold` }, s), e("span", { class: `${n} ml-auto mr-4 font-bold` }, a)), e("span", { class: `${n}` }, r === "background" ? e("eds-code-block", { code: `bg-${s}`, class: "min-w-[210px] mr-4" }) : e("eds-code-block", { code: `${r}-${s}`, class: r === "border" ? "min-w-[250px] mr-4" : "min-w-[210px] mr-4" }))));
193
193
  }));
194
194
  }
195
195
  groupTokensByCategory(r) {
@@ -200,8 +200,8 @@ const c = {
200
200
  }), t;
201
201
  }
202
202
  render() {
203
- const r = this.show ? { [this.show]: c[this.show] } : c;
204
- return e("section", { key: "c8634946d5cd2813e8ed6eb3ee7a5071a8e80449", class: "w-full mt-28" }, Object.entries(r).map(([t, s]) => (
203
+ const r = this.show ? { [this.show]: l[this.show] } : l;
204
+ return e("section", { key: "2fcc5dd08b84b47b561c6f32f49c65b90560069f", class: "w-full mt-28" }, Object.entries(r).map(([t, s]) => (
205
205
  // Only render sections that exist in `colors`
206
206
  s ? this.renderSection(t, s) : null
207
207
  )));
@@ -218,7 +218,7 @@ const c = {
218
218
  d(this, r);
219
219
  }
220
220
  render() {
221
- return e("section", { key: "a274ee157395f49f9f224ef496813ea5c3b8503c", class: "w-full mt-28" }, e("ul", { key: "d2d6dbee8ef7e54dc1a85eb400c37b5910928e58", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(f).map(([r, t]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${r}` }, e("eds-code-block", { language: "Utility Class", code: `rounded-${r}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), e("eds-code-block", { code: `border-radius:${t}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))));
221
+ return e("section", { key: "2afbed04fa53695bfc13275ab6d6f77d314e4d14", class: "w-full mt-28" }, e("ul", { key: "87490ba0d46027993d10cdf5f5deef419cc147c1", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(f).map(([r, t]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${r}` }, e("eds-code-block", { language: "Utility Class", code: `rounded-${r}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), e("eds-code-block", { code: `border-radius:${t}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))));
222
222
  }
223
223
  }, i = {
224
224
  small: "0px 1.5px 2px rgba(0, 0, 0, 0.1)",
@@ -237,7 +237,7 @@ const c = {
237
237
  d(this, r);
238
238
  }
239
239
  render() {
240
- return e("section", { key: "44c305a74ba522938b27fe4a8deba5e18e752e72", class: "w-full mt-28" }, e("ul", { key: "8fa403e44506eb4847f1651a7fd519b9c5f336b8", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(b).map(([r, t]) => Object.entries(t).map(([s, a]) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, e("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: a } }, e("eds-code-block", { code: `${r}-${s}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), e("eds-code-block", { code: `${a}`, language: "css", class: "ml-auto min-w-[200px]" })))))));
240
+ return e("section", { key: "56dcf320ff3ee79c493757a3cfe27c1f7bca33d9", class: "w-full mt-28" }, e("ul", { key: "8113c23d2eaab9abd28acb618c9599d5be1262a6", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(b).map(([r, t]) => Object.entries(t).map(([s, a]) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, e("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: a } }, e("eds-code-block", { code: `${r}-${s}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), e("eds-code-block", { code: `${a}`, language: "css", class: "ml-auto min-w-[200px]" })))))));
241
241
  }
242
242
  };
243
243
  export {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-bRbMyfm4.js"),s={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},a=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"4dcf52cac610208030db8af7681cfee611f02a62",class:"w-full"},e.h("eds-section-core",{key:"cb571aba92bc59c7b458281258362ca91becc09b",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},e.h("ul",{key:"734f5db424dce811f5b6508c49c9f4c9ea4f4474",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(s).map(([t,c])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{class:"container ratio-box flex items-center justify-center text-center border-2 border-soft",style:{aspectRatio:c.replace("/",":"),width:"100%",maxWidth:"300px"}},e.h("span",{class:"text-default font-bold mr-auto"},"aspect-",t),e.h("span",{class:"mt-2 text-sm ml-auto"},c)))))))}};exports.token_ratios=a;
@@ -1,4 +1,4 @@
1
- import { r as c, h as e } from "./index-D2V9qb42.mjs";
1
+ import { r as c, h as e } from "./index-N8k1JVST.mjs";
2
2
  const a = {
3
3
  "1x1": "1/1",
4
4
  "21x9": "21/9",
@@ -11,7 +11,7 @@ const a = {
11
11
  c(this, t);
12
12
  }
13
13
  render() {
14
- return e("section", { key: "01282f48cbcd27d349565fc5b87bd50159441e1f", class: "w-full" }, e("eds-section-core", { key: "ff586dcefa969a84732fbbac7f237089ec8d358d", tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, e("ul", { key: "f3c879e4105194896fd3fb8d98c39ee614973c24", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(a).map(([t, s]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
14
+ return e("section", { key: "4dcf52cac610208030db8af7681cfee611f02a62", class: "w-full" }, e("eds-section-core", { key: "cb571aba92bc59c7b458281258362ca91becc09b", tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, e("ul", { key: "734f5db424dce811f5b6508c49c9f4c9ea4f4474", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(a).map(([t, s]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
15
15
  aspectRatio: s.replace("/", ":"),
16
16
  // Cast to string to resolve TypeScript error
17
17
  width: "100%",
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-bRbMyfm4.js"),a=class{constructor(c){e.registerInstance(this,c)}render(){return e.h("div",{key:"45442561f72445e84c257ebc9d30f2147303427a",class:"w-full"},e.h("ul",{key:"cca0cba4260ddebb2b0f1e39a9cc96d067d3fa73",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"8c38c0e0802683d9ba2cb38dff013aa02650bbe0",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"406aac1f24a9a812b7405b5e323e3cb73574fb79",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"ec7f90ce92020a91b57e28545ede5d782d4a7dcc",class:"spacing-sample m-16 bg-strong"},e.h("span",{key:"e84d0c8ccc0c6be14ca41bceece9cc63a8137dfb",class:"f-body-01 text-inverse"},"Margin: 1rem / m-16")))),e.h("li",{key:"dce507afa0eac9ddd430d8b2034b943e844a9b32",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"cc986ee89d249ac351c6ed81650668a8ba8ab139",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"1778c2032e322a0cde34987e5ecaaeec38933892",class:"spacing-sample ml-64 bg-strong"},e.h("span",{key:"8ee98a9847db2baf69adf1e5919ecefa86a1dea8",class:"f-body-01 text-inverse"},"Margin Left: 4rem / ml-64")))),e.h("li",{key:"589485906ebebf8fdc348e995e6aae0dcd4124fd",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"b94fe2cd4f93f7e52fc82423d728f5ffd3cb7dd1",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"5c6ed8a3c4573eb4f7644e18a4e6c10cab958e2a",class:"spacing-sample mt-32 bg-strong"},e.h("span",{key:"bec15bc9092c36295bf012f82fd34e8eee5954cf",class:"f-body-01 text-inverse"},"Margin Top: 2rem / mt-32")))),e.h("li",{key:"e9568891252c4597431f117f0f8c9136d30c3658",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"1fac252cd3bfd2cb1f9aa3b419e04f570f57f4e8",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"d59e7e5f180ab164837c5b94cf3f61a7084a6385",class:"spacing-sample p-32 bg-strong"},e.h("span",{key:"73dc397292ae7ff9c532b4c6c9f2a42c35945493",class:"f-body-01 text-inverse"},"Padding: 2rem / p-32")))),e.h("li",{key:"af9c0e9fb5fd5c314d34f2cf6b2bdc9a63133c0d",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"498a46c66ec671f41681f458615d69a741784761",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"6e511b973ff53d748e99728fb1b186796437bbca",class:"spacing-sample pt-32 bg-strong"},e.h("span",{key:"cae79c38937cae94930fa8750fb308ab4329de45",class:"f-body-01 text-inverse"},"Padding Top: 2rem / pt-32")))),e.h("li",{key:"67e0ec47dfcbaf8c51969973137c4ba87ee6337d",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"aa8003ce3db28c8697d57728c02797324dffbf1f",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"aeaa333a1e0fbfaf5d2fcc49c4e8180e94b91b03",class:"spacing-sample pl-32 bg-strong"},e.h("span",{key:"708a18ad1ebeb0a24fcea4d06aa42c024bb2258a",class:"f-body-01 text-inverse"},"Padding Left: 2rem / pl-32"))))))}};exports.token_spacing=a;
@@ -0,0 +1,12 @@
1
+ import { r as a, h as e } from "./index-N8k1JVST.mjs";
2
+ const d = class {
3
+ constructor(c) {
4
+ a(this, c);
5
+ }
6
+ render() {
7
+ return e("div", { key: "45442561f72445e84c257ebc9d30f2147303427a", class: "w-full" }, e("ul", { key: "cca0cba4260ddebb2b0f1e39a9cc96d067d3fa73", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, e("li", { key: "8c38c0e0802683d9ba2cb38dff013aa02650bbe0", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "406aac1f24a9a812b7405b5e323e3cb73574fb79", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "ec7f90ce92020a91b57e28545ede5d782d4a7dcc", class: "spacing-sample m-16 bg-strong" }, e("span", { key: "e84d0c8ccc0c6be14ca41bceece9cc63a8137dfb", class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), e("li", { key: "dce507afa0eac9ddd430d8b2034b943e844a9b32", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "cc986ee89d249ac351c6ed81650668a8ba8ab139", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "1778c2032e322a0cde34987e5ecaaeec38933892", class: "spacing-sample ml-64 bg-strong" }, e("span", { key: "8ee98a9847db2baf69adf1e5919ecefa86a1dea8", class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), e("li", { key: "589485906ebebf8fdc348e995e6aae0dcd4124fd", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "b94fe2cd4f93f7e52fc82423d728f5ffd3cb7dd1", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "5c6ed8a3c4573eb4f7644e18a4e6c10cab958e2a", class: "spacing-sample mt-32 bg-strong" }, e("span", { key: "bec15bc9092c36295bf012f82fd34e8eee5954cf", class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), e("li", { key: "e9568891252c4597431f117f0f8c9136d30c3658", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "1fac252cd3bfd2cb1f9aa3b419e04f570f57f4e8", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "d59e7e5f180ab164837c5b94cf3f61a7084a6385", class: "spacing-sample p-32 bg-strong" }, e("span", { key: "73dc397292ae7ff9c532b4c6c9f2a42c35945493", class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), e("li", { key: "af9c0e9fb5fd5c314d34f2cf6b2bdc9a63133c0d", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "498a46c66ec671f41681f458615d69a741784761", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "6e511b973ff53d748e99728fb1b186796437bbca", class: "spacing-sample pt-32 bg-strong" }, e("span", { key: "cae79c38937cae94930fa8750fb308ab4329de45", class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), e("li", { key: "67e0ec47dfcbaf8c51969973137c4ba87ee6337d", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "aa8003ce3db28c8697d57728c02797324dffbf1f", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "aeaa333a1e0fbfaf5d2fcc49c4e8180e94b91b03", class: "spacing-sample pl-32 bg-strong" }, e("span", { key: "708a18ad1ebeb0a24fcea4d06aa42c024bb2258a", class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32"))))));
8
+ }
9
+ };
10
+ export {
11
+ d as token_spacing
12
+ };
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.js"),s={"heading-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"42px",lineHeight:"100%",letterSpacing:"-0.01em"},md:{fontSize:"48px"},lg:{fontSize:"72px"},xl:{fontSize:"83px"}},"heading-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"48px"},xl:{fontSize:"60px"}},"heading-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"42px"}},"heading-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"36px"}},"heading-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"110%",letterSpacing:"-0.01em"}},"heading-06":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"22px",lineHeight:"120%"}}},l={"body-01":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"20px",lineHeight:"140%",letterSpacing:"-0.01em"}},"body-02":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"17px",lineHeight:"150%"}}},f={"ui-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"18px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"14px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.01em"}},"ui-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"100%",letterSpacing:"-0.01em"}},"ui-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"10px",lineHeight:"110%",letterSpacing:"-0.01em"}},caption:{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"120%"}}},c={"display-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"150px"}}},a={families:{sans:"Inter, Helvetica, Arial, sans-serif"},typesets:{...s,...l,...f,...c}},g=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"234d2f000995c4dbd180a2c80d4ead037c8f76ad",class:"w-full"},e.h("ul",{key:"7a4b29e3ecbb07c04c401fdbb473a4b122440e24",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(a.typesets).filter(([t])=>t!=="displays").flatMap(([t,o])=>Object.entries(o).map(([n,i])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{class:"w-full p-4 block lg:flex items-center border border-soft rounded"},e.h("div",{class:"mr-auto hidden lg:block",style:{fontFamily:a.families.sans,fontWeight:i.fontWeight,fontSize:i.fontSize,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing}},e.h("span",{class:"text-default font-bold"},`${t} (${n})`)),e.h("div",{class:"mr-auto block lg:hidden p-4"},e.h("span",{class:"text-default f-heading-05"},`${t} (${n})`)),e.h("div",{class:"ml-auto"},e.h("eds-code-block",{code:[i.fontSize&&`font-size: ${i.fontSize};`,i.lineHeight&&`line-height: ${i.lineHeight};`,i.letterSpacing&&`letter-spacing: ${i.letterSpacing};`,i.fontWeight&&`font-weight: ${i.fontWeight};`,i.fontFamily&&`font-family: ${i.fontFamily};`].filter(Boolean).join(`
2
- `),language:"css",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`f-${t}`,language:"Utility Class",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`${n}:f-${t}`,language:"Screen",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontFamily)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontWeight)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontSize)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-lineHeight)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-letterSpacing)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:"--sans: Inter, Helvetica, Arial, sans-serif;",class:"min-w-[250px] mb-4"}))))))))}};exports.token_typography=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-bRbMyfm4.js"),s={"heading-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"42px",lineHeight:"100%",letterSpacing:"-0.01em"},md:{fontSize:"48px"},lg:{fontSize:"72px"},xl:{fontSize:"83px"}},"heading-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"48px"},xl:{fontSize:"60px"}},"heading-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"42px"}},"heading-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"36px"}},"heading-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"110%",letterSpacing:"-0.01em"}},"heading-06":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"22px",lineHeight:"120%"}}},l={"body-01":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"20px",lineHeight:"140%",letterSpacing:"-0.01em"}},"body-02":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"17px",lineHeight:"150%"}}},f={"ui-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"18px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"14px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.01em"}},"ui-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"100%",letterSpacing:"-0.01em"}},"ui-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"10px",lineHeight:"110%",letterSpacing:"-0.01em"}},caption:{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"120%"}}},g={"display-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"150px"}}},a={families:{sans:"Inter, Helvetica, Arial, sans-serif"},typesets:{...s,...l,...f,...g}},c=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"859a416f39219fa58601b57eab3d3ceeceb072fa",class:"w-full"},e.h("ul",{key:"3c29d182685328e8bf1ae8b46909426c2b2164cf",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(a.typesets).filter(([t])=>t!=="displays").flatMap(([t,o])=>Object.entries(o).map(([n,i])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{class:"w-full p-4 block lg:flex items-center border border-soft rounded"},e.h("div",{class:"mr-auto hidden lg:block",style:{fontFamily:a.families.sans,fontWeight:i.fontWeight,fontSize:i.fontSize,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing}},e.h("span",{class:"text-default font-bold"},`${t} (${n})`)),e.h("div",{class:"mr-auto block lg:hidden p-4"},e.h("span",{class:"text-default f-heading-05"},`${t} (${n})`)),e.h("div",{class:"ml-auto"},e.h("eds-code-block",{code:[i.fontSize&&`font-size: ${i.fontSize};`,i.lineHeight&&`line-height: ${i.lineHeight};`,i.letterSpacing&&`letter-spacing: ${i.letterSpacing};`,i.fontWeight&&`font-weight: ${i.fontWeight};`,i.fontFamily&&`font-family: ${i.fontFamily};`].filter(Boolean).join(`
2
+ `),language:"css",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`f-${t}`,language:"Utility Class",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`${n}:f-${t}`,language:"Screen",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontFamily)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontWeight)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontSize)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-lineHeight)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-letterSpacing)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:"--sans: Inter, Helvetica, Arial, sans-serif;",class:"min-w-[250px] mb-4"}))))))))}};exports.token_typography=c;
@@ -1,4 +1,4 @@
1
- import { r as s, h as e } from "./index-D2V9qb42.mjs";
1
+ import { r as s, h as e } from "./index-N8k1JVST.mjs";
2
2
  const l = {
3
3
  "heading-01": {
4
4
  sm: {
@@ -192,7 +192,7 @@ const l = {
192
192
  s(this, t);
193
193
  }
194
194
  render() {
195
- return e("section", { key: "234d2f000995c4dbd180a2c80d4ead037c8f76ad", class: "w-full" }, e("ul", { key: "7a4b29e3ecbb07c04c401fdbb473a4b122440e24", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(a.typesets).filter(([t]) => t !== "displays").flatMap(([t, o]) => Object.entries(o).map(([n, i]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, e("div", { class: "mr-auto hidden lg:block", style: {
195
+ return e("section", { key: "859a416f39219fa58601b57eab3d3ceeceb072fa", class: "w-full" }, e("ul", { key: "3c29d182685328e8bf1ae8b46909426c2b2164cf", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(a.typesets).filter(([t]) => t !== "displays").flatMap(([t, o]) => Object.entries(o).map(([n, i]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, e("div", { class: "mr-auto hidden lg:block", style: {
196
196
  fontFamily: a.families.sans,
197
197
  fontWeight: i.fontWeight,
198
198
  fontSize: i.fontSize,
@@ -7,4 +7,4 @@
7
7
  >
8
8
  <path d="M10 3L15 8L5 8L10 3Z" fill="currentColor" />
9
9
  <path d="M10 17L5 12L15 12L10 17Z" fill="currentColor" />
10
- </svg>`;exports.upDonw=t;
10
+ </svg>`;exports.upDown=t;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.js"),n=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R156 G225 B66",cmyk:"C52 M0 Y98 K0",hex:"#9CE142",pantoneC:"PANTONE 367 C",pantoneU:"PANTONE 374 U",background:"#9CE142"},{rgb:"R0 G201 B89",cmyk:"C75 M0 Y80 K0",hex:"#00C959",pantoneC:"PANTONE 7480 C",pantoneU:"PANTONE 7481 U",background:"#00C959"},{rgb:"R0 G165 B149",cmyk:"C78 M8 Y49 K0",hex:"#00A595",pantoneC:"PANTONE 3272 C",pantoneU:"PANTONE 3275 U",background:"#00A595"}]}render(){return e.h("ul",{key:"b51f8df9e8481654c410a4564554e6af65e5995c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}},e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.rgb),e.h("span",{class:"f-body-02 w-full"},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.pantoneC),e.h("span",{class:"f-body-02"},a.pantoneU))))))}},f=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R63 G169 B245",cmyk:"C68 M13 Y0 K0",hex:"#3FA9F5",pantoneC:"PANTONE 298 C",pantoneU:"PANTONE 298 U",background:"#3FA9F5"},{rgb:"R6 G68 B244",cmyk:"C92 M60 Y0 K0",hex:"#0644F4",pantoneC:"PANTONE 2728 C",pantoneU:"PANTONE 2935 U",background:"#0644F4"},{rgb:"R196 G97 B255",cmyk:"C52 M67 Y0 K0",hex:"#C461FF",pantoneC:"PANTONE 252 C",pantoneU:"PANTONE 252 U",background:"#C461FF"},{rgb:"R93 G61 B249",cmyk:"C83 M78 Y0 K0",hex:"#5D3DF9",pantoneC:"PANTONE 266 C",pantoneU:"PANTONE 2735 U",background:"#5D3DF9"},{rgb:"R255 G165 B67",cmyk:"C0 M43 Y76 K0",hex:"#FFA543",pantoneC:"PANTONE 804 C",pantoneU:"PANTONE 136 U",background:"#FFA543"},{rgb:"R255 G77 B104",cmyk:"C0 M81 Y42 K0",hex:"#FF4D68",pantoneC:"PANTONE 1785 C",pantoneU:"PANTONE 185 U",background:"#FF4D68"}],this.show=void 0}render(){return e.h("ul",{key:"c7b2a9406709dc3584e8e6f6c57a79ea5a9974c3",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}},e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.rgb),e.h("span",{class:"f-body-02 w-full"},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.pantoneC),e.h("span",{class:"f-body-02"},a.pantoneU))))))}},l=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R20 G20 B20",cmyk:"C78 M69 Y61 K87",hex:"#141414",pantoneC:"",pantoneU:"",background:"#141414"},{rgb:"R56 G56 B56",cmyk:"C68 M58 Y55 K63",hex:"#383838",pantoneC:"PANTONE 447 C",pantoneU:"PANTONE Neutral Black U",background:"#383838"},{rgb:"R204 G204 B204",cmyk:"C23 M17 Y18 K0",hex:"#CCCCCC",pantoneC:"PANTONE Cool Gray 2 C",pantoneU:"PANTONE Cool Gray 2 U",background:"#CCCCCC"},{rgb:"R230 G230 B230",cmyk:"C12 M8 Y9 K0",hex:"#E6E6E6",pantoneC:"PANTONE 663 C",pantoneU:"PANTONE 649 U",background:"#E6E6E6"},{rgb:"R255 G255 B255",cmyk:"C0 M0 Y0 K0",hex:"#FFFFFF",pantoneC:"",pantoneU:"",background:"#FFFFFF"}]}getTextColor(a){if(a.startsWith("#")){const c=a.slice(1),s=parseInt(c.substring(0,2),16),d=parseInt(c.substring(2,4),16),o=parseInt(c.substring(4,6),16);return(.299*s+.587*d+.114*o)/255>.5?"text-default":"text-inverse"}if(/rgb/i.test(a)){const c=a.replace(/rgba?\(/i,"").replace(")","").split(",").map(b=>parseFloat(b.trim())),[s,d,o]=c;return(.299*s+.587*d+.114*o)/255>.5?"text-default":"text-inverse"}return"text-default"}render(){return e.h("ul",{key:"50f93b8bc9ee54e78eb23a21764afb0be5e3ea6c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map(a=>{const c=this.getTextColor(a.background);return e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}},e.h("div",{class:"grid"},e.h("span",{class:`f-body-02 ${c}`},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"},class:c})),e.h("div",{class:"grid"},e.h("span",{class:`f-body-02 ${c}`},a.pantoneC),e.h("span",{class:`f-body-02 ${c}`},a.pantoneU))))}))}},r=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R156 G225 B66",cmyk:"C52 M0 Y98 K0",hex:"#9CE142",pantoneC:"PANTONE 367 C",pantoneU:"PANTONE 374 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"},{rgb:"R0 G201 B89",cmyk:"C75 M0 Y80 K0",hex:"#00C959",pantoneC:"PANTONE 7480 C",pantoneU:"PANTONE 7481 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"},{rgb:"R0 G165 B149",cmyk:"C78 M8 Y49 K0",hex:"#00A595",pantoneC:"PANTONE 3272 C",pantoneU:"PANTONE 3275 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"}]}render(){return e.h("ul",{key:"f3653cb822e88d5914f12a84342603ad3dfb6af0",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16",style:{background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"}},this.colors.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16"},e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.rgb),e.h("span",{class:"f-body-02 w-full"},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.pantoneC),e.h("span",{class:"f-body-02"},a.pantoneU))))))}},i=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R63 G169 B245",cmyk:"C68 M13 Y0 K0",hex:"#3FA9F5",pantoneC:"PANTONE 298 C",pantoneU:"PANTONE 298 U",background:"linear-gradient(to bottom, #3FA9F5, #3FA9F5)"},{rgb:"R6 G68 B244",cmyk:"C92 M60 Y0 K0",hex:"#0644F4",pantoneC:"PANTONE 2728 C",pantoneU:"PANTONE 2935 U",background:"linear-gradient(to bottom, #3FA9F5, #0644F4)"},{rgb:"R196 G97 B255",cmyk:"C52 M67 Y0 K0",hex:"#C461FF",pantoneC:"PANTONE 252 C",pantoneU:"PANTONE 252 U",background:"linear-gradient(to bottom, #C461FF, #C461FF)"},{rgb:"R93 G61 B249",cmyk:"C83 M78 Y0 K0",hex:"#5D3DF9",pantoneC:"PANTONE 266 C",pantoneU:"PANTONE 2735 U",background:"linear-gradient(to bottom, #C461FF, #5D3DF9)"},{rgb:"R255 G165 B67",cmyk:"C0 M43 Y76 K0",hex:"#FFA543",pantoneC:"PANTONE 804 C",pantoneU:"PANTONE 136 U",background:"linear-gradient(to bottom, #FFA543, #FFA543)"},{rgb:"R255 G77 B104",cmyk:"C0 M81 Y42 K0",hex:"#FF4D68",pantoneC:"PANTONE 1785 C",pantoneU:"PANTONE 185 U",background:"linear-gradient(to bottom, #FFA543, #FF4D68)"}]}render(){return e.h("div",{key:"068872a235a7b4a3bb1b5d49fe3c26014c317995"},e.h("ul",{key:"f2ef5ac747e40b62eda116125b2ec1da32b00c9e",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"5c700c0e2794b38e6448709ac4eda002805fed43",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"185747db12912d6fbb672e6c2a3a6a28b533f483",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[0].background}},e.h("div",{key:"bf2818f7382f1f86989c4e63c1a27abcf6630f77",class:"grid"},e.h("span",{key:"21418b3761bfff72fa4e0893e233e7e4e3784940",class:"f-body-02"},this.colors[0].rgb),e.h("span",{key:"a87087d4c32e323ec6f6cb44607bfe106de8e37d",class:"f-body-02 w-full"},this.colors[0].cmyk),e.h("eds-code-block",{key:"7a4b6263093b9046f09ec51aa91b1391096d420e",code:this.colors[0].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"a1aa7b145ce29f5b3e193bd46510b1fd25f59e44",class:"grid"},e.h("span",{key:"81ee23a025329d756a120872df9a7d9204209adf",class:"f-body-02"},this.colors[0].pantoneC),e.h("span",{key:"f32a3efb2f2b987201684ab83bdaef467ea0a262",class:"f-body-02"},this.colors[0].pantoneU))),e.h("div",{key:"41364b3de70ccec9c37aec1dc448c3a47ead60a9",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[1].background}},e.h("div",{key:"b3f90be4ee360322051d26ffef7e09a63a8dfc87",class:"grid"},e.h("span",{key:"09f4313220f9d93d578e5fa10ac1b399863244d2",class:"f-body-02"},this.colors[1].rgb),e.h("span",{key:"0261f9fd84a18c46ece5d982f7158e5a5f638909",class:"f-body-02 w-full"},this.colors[1].cmyk),e.h("eds-code-block",{key:"d04ecab2e1f63580ab95c69e4a70293c0358fea8",code:this.colors[1].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"d188c38f611530259dfdef7cd75da4bdca0d2257",class:"grid"},e.h("span",{key:"7378b85e8948ef41d5b2140a09768394ac95cb38",class:"f-body-02"},this.colors[1].pantoneC),e.h("span",{key:"9e27beba8e19af3b05702d5b82b04db636d815ac",class:"f-body-02"},this.colors[1].pantoneU))))),e.h("eds-block-break",{key:"56644448031fb2a4e26b79dfff46d8ada641e7b1"}),e.h("ul",{key:"2d6213ff4091ca2f9cb77854beafa34886c3ed42",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"717be10bad4a00a04644a09dfcaed2e583327e21",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"381ff7e46bc6508bf2b956b8b0ab61e154d70341",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[2].background}},e.h("div",{key:"0dcbea6ed615f5b99c9d8bfde699bda1aba7d574",class:"grid"},e.h("span",{key:"b8c02c0590f264d68927b17ffa30e9a7af865baf",class:"f-body-02"},this.colors[2].rgb),e.h("span",{key:"20b702c1743d53a3ecc13c1f105a43fc175c9fde",class:"f-body-02 w-full"},this.colors[2].cmyk),e.h("eds-code-block",{key:"1b10b51df54537b0d236f8a0c1e85415a83a9762",code:this.colors[2].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"381a0109027379acee17ba106778d0a6af2418de",class:"grid"},e.h("span",{key:"79be72de7ba1588ac6bbead48c014279500c67e5",class:"f-body-02"},this.colors[2].pantoneC),e.h("span",{key:"ff2e674caa413fe8eda95b9e683ff3264955a699",class:"f-body-02"},this.colors[2].pantoneU))),e.h("div",{key:"839e80c29b1f45e1141b5ca7ee14a8164f0d59f4",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[3].background}},e.h("div",{key:"d1cf88212f2c5cf0a8a3fc95e6f28b576af209bb",class:"grid"},e.h("span",{key:"599b3fe538135f04b93e2e9a9ae5884e6fe66307",class:"f-body-02"},this.colors[3].rgb),e.h("span",{key:"fe3989bf9061ee14ba325fdfe61d190e45a8d715",class:"f-body-02 w-full"},this.colors[3].cmyk),e.h("eds-code-block",{key:"b5edf416ce3443e33784270ae786117dca54484e",code:this.colors[3].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"6337a21286045759e3b8858d225226bd67ccda95",class:"grid"},e.h("span",{key:"cfe45c5f93fe75f7a7d75de09ca74e247b5f9f3c",class:"f-body-02"},this.colors[3].pantoneC),e.h("span",{key:"266110a2ccf1a77b76c8795e609b69b933d71e34",class:"f-body-02"},this.colors[3].pantoneU))))),e.h("eds-block-break",{key:"5edf56c8f60ca932f25cf4794898ceb09dffc490"}),e.h("ul",{key:"e28256a79065796bba19fa8557d1ad4937dbc43a",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"0d900d8923731c12436819da4bb78495c82c61e4",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"23e00e8340a1a7c4339db354778785bcfcfc34be",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[4].background}},e.h("div",{key:"ff202435e451358b08d02fbe5ed085cb61bb27e2",class:"grid"},e.h("span",{key:"6710617d3369d48fbd7b0d50e5cee98816ce7b92",class:"f-body-02"},this.colors[4].rgb),e.h("span",{key:"998e0c640f8b090da7662743a857ac0ee0ea4e0a",class:"f-body-02 w-full"},this.colors[4].cmyk),e.h("eds-code-block",{key:"ff4a789b3dbed8d20a636403b2ad921c7c4dc7b8",code:this.colors[4].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"e5d5fef837f2f1b1ba36746da1806eba8396d288",class:"grid"},e.h("span",{key:"ed1302507a2760b27c1aaed2d48899b04d166d66",class:"f-body-02"},this.colors[4].pantoneC),e.h("span",{key:"89bda8fc8cd7e150bde7263edc8fc4631e6831be",class:"f-body-02"},this.colors[4].pantoneU))),e.h("div",{key:"689354344f53850640da266e14d6b622429eb1ff",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[5].background}},e.h("div",{key:"ace17479948837f012514a27392dad21f8c801e8",class:"grid"},e.h("span",{key:"dd776f7884fa45d50204c0b10b4d2b6cac3eca5a",class:"f-body-02"},this.colors[5].rgb),e.h("span",{key:"7e44097339748f3309502391ab77dc5bd447b053",class:"f-body-02 w-full"},this.colors[5].cmyk),e.h("eds-code-block",{key:"c656dc07828b4548faaae6d0071cd02639016d54",code:this.colors[5].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"cab214dadb52b79f24efdc607fe0507eccb94644",class:"grid"},e.h("span",{key:"2282a82817bc3cbb25f08e943fd086fa458ef34a",class:"f-body-02"},this.colors[5].pantoneC),e.h("span",{key:"06bf558a5387c5512b28fbbef644769fc8cf5b37",class:"f-body-02"},this.colors[5].pantoneU))))))}},h=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R20 G20 B20",cmyk:"C78 M69 Y61 K87",hex:"#141414",pantoneC:"",pantoneU:"",background:"#141414"},{rgb:"R56 G56 B56",cmyk:"C68 M58 Y55 K63",hex:"#383838",pantoneC:"PANTONE 447 C",pantoneU:"PANTONE Neutral Black U",background:"#383838"},{rgb:"R204 G204 B204",cmyk:"C23 M17 Y18 K0",hex:"#CCCCCC",pantoneC:"PANTONE Cool Gray 2 C",pantoneU:"PANTONE Cool Gray 2 U",background:"linear-gradient(to bottom, #CCCCCC, #CCCCCC)"},{rgb:"R230 G230 B230",cmyk:"C12 M8 Y9 K0",hex:"#E6E6E6",pantoneC:"PANTONE 663 C",pantoneU:"PANTONE 649 U",background:"linear-gradient(to bottom, #CCCCCC, #E6E6E6)"},{rgb:"R255 G255 B255",cmyk:"C0 M0 Y0 K0",hex:"#FFFFFF",pantoneC:"",pantoneU:"",background:"#FFFFFF"}]}render(){return e.h("ul",{key:"3d8000d8778c4f6f35f8feca3c54fb2d535bc09f",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"28143c46226cc5452c009346ec23ab016d78c675",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"57bbdd2b971ef3235e14f5b175e7e15696b68a28",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[0].background}},e.h("div",{key:"24c7d800175b4b453b06795b1e759c6819b35607",class:"grid"},e.h("span",{key:"16653d8c729d81156d1df461de0fded8aa7d8e93",class:"f-body-02"},this.colors[0].rgb),e.h("span",{key:"4b4a537f3896f2a7b986172feb5d08cf05355714",class:"f-body-02 w-full"},this.colors[0].cmyk),e.h("eds-code-block",{key:"b6d4d3472e18e03a373b2667a785ef9e735dfaec",code:this.colors[0].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"8e85ec4998995bbdde92a2afc1939f0c2deabee5",class:"grid"},e.h("span",{key:"e5815876cb2a5e0790cb2a5ea9e132a24b677880",class:"f-body-02"},this.colors[0].pantoneC||"N/A"),e.h("span",{key:"745a25fc7b57801a4aef526001359e6427b6efd1",class:"f-body-02"},this.colors[0].pantoneU||"N/A")))),e.h("li",{key:"cb10855c01a39e52b4d651a1df440b6e9dc86a62",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"56d0b50121ad6386d0f91c24cb73a8bc9596a720",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[1].background}},e.h("div",{key:"bed562bf4fabe0599e315ff86fbf17aba5ee3d74",class:"grid"},e.h("span",{key:"bdb88a23996aeca2cf8da34d534ed1e2e1098890",class:"f-body-02"},this.colors[1].rgb),e.h("span",{key:"5c55cd02843963393abbf393a851fff3790c1905",class:"f-body-02 w-full"},this.colors[1].cmyk),e.h("eds-code-block",{key:"f11febc9e05590d48879d93cd3b823bbbb7bc878",code:this.colors[1].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"79119e208137848015ff77ae326afe1fb5cfc0d3",class:"grid"},e.h("span",{key:"7dfeb3a9e103f208986888f967384c5ba3ed4d4c",class:"f-body-02"},this.colors[1].pantoneC||"N/A"),e.h("span",{key:"205cf6b9473d9d236fac83aa2b6eb458ecd1aee5",class:"f-body-02"},this.colors[1].pantoneU||"N/A")))),e.h("li",{key:"16406e3fa39372ebb6c32a2bbf506427fc047c13",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"4d44f5f7771164d581b7883698a8c891c9615a1f",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[2].background}},e.h("div",{key:"95b07ece22975f09f30fdff39dff685e71ad94e7",class:"grid"},e.h("span",{key:"9144a8c71d1e198b5a46bb1b6d3a4b7937b980d0",class:"f-body-02"},this.colors[2].rgb),e.h("span",{key:"7be418e7bec46b05decfe58bd04bdb0cbc2f9c4f",class:"f-body-02 w-full"},this.colors[2].cmyk),e.h("eds-code-block",{key:"61050dd447d35dcd1388785cadb809b9936460ff",code:this.colors[2].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"87289e9f27972a7ac01f95dfdc780b2a63840246",class:"grid"},e.h("span",{key:"e2d37a0132d667f3a95a248f5b5a26cd55b7bed0",class:"f-body-02"},this.colors[2].pantoneC),e.h("span",{key:"58d126103e9bf1dc68ba22fdc6e8a2d24ed18693",class:"f-body-02"},this.colors[2].pantoneU))),e.h("div",{key:"0ca5402553a62bb66b9d5271b2f6d9bdc03b9aa5",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[3].background}},e.h("div",{key:"4934962684a70ea4ab804bd2435f6b184d7f52c8",class:"grid"},e.h("span",{key:"1a891700e10b5fc4eafd7f2a42d901b949bac2e7",class:"f-body-02"},this.colors[3].rgb),e.h("span",{key:"99ebfc2392e11e67a3739796b4606ec6cee12ef3",class:"f-body-02 w-full"},this.colors[3].cmyk),e.h("eds-code-block",{key:"13f9e44bc9b34cbdfb93a5a97ada482627e11a92",code:this.colors[3].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"2c2a179f5073ead1646e114d76b4c26f48d998b5",class:"grid"},e.h("span",{key:"aba72113f0e47ec564bfb8dc1695d74cc0dacf0b",class:"f-body-02"},this.colors[3].pantoneC),e.h("span",{key:"4a113554b101bcf1db71eff702914e2de6bb5876",class:"f-body-02"},this.colors[3].pantoneU)))),e.h("li",{key:"78085204312fd78071a88d329c1085cd4615fe95",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"edc490c0d48ecdfa8be56ba2921ff7f5a6f74ee1",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[4].background}},e.h("div",{key:"5f8ff231f7752ad50a8bebdbaccfc63543a8e16b",class:"grid"},e.h("span",{key:"22c0035742e6dd5e2c02c59e67b5769ce97324cf",class:"f-body-02"},this.colors[4].rgb),e.h("span",{key:"87215ff0541f7891b74082bd63c59e3e65db1998",class:"f-body-02 w-full"},this.colors[4].cmyk),e.h("eds-code-block",{key:"f96e95f761998e790c44c9b62f9b4eab4007f985",code:this.colors[4].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"9b31a9dd4b8cc239c9b66c7adbc312bdd827b93e",class:"grid"},e.h("span",{key:"c271cd470251c490af7a47726477ff1ad924ca1e",class:"f-body-02"},this.colors[4].pantoneC||"N/A"),e.h("span",{key:"1fe724e0c13e01af88619953dada47e659a234a4",class:"f-body-02"},this.colors[4].pantoneU||"N/A")))))}};exports.color_primary_palette=n;exports.color_secondary_palette=f;exports.color_support_palette=l;exports.gradient_primary_palette=r;exports.gradient_secondary_palette=i;exports.gradient_support_palette=h;
@@ -1,159 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.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 ",e.h("b",null,"with or 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
- import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js';
3
- // Define custom elements
4
- defineCustomElements(window);
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 label="my bytton" intent="primary"></eds-button>',language:"html","copy-label":"Copy Code"}),e.h("h2",null,"Load the variables and styles"),e.h("p",null,"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the"," ",e.h("code",null,"head"),". This approach is recommended when you’re working solely with the web components and want minimal integration. That said, the components are configured to require only these CSS variables and nothing more."),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,"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"),". Use this when you want quick access to ready-made utilities for building your own components or applications and you do not wish to dive deep to css configurations."),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 either the variables or the predefined CSS framework above,"," ",e.h("b",null,"automatically loads the fonts so you can skip loading them separately"),".")),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/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"})),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/svgs",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:`
6
- import React, { useMemo, useState } from 'react';
7
- import {
8
- EdsHeader,
9
- EdsSplashScreen,
10
- EdsMatomoNotice,
11
- EdsSteps
12
- } from '@ebrains/react';
13
- import './app.css';
14
-
15
- // simulate 2s
16
- function fakeInit(): Promise<void> {
17
- return new Promise(resolve => setTimeout(resolve, 2000));
18
- }
19
-
20
- export function App() {
21
- // 1) create init promise
22
- const initPromise = useMemo(() => fakeInit(), []);
23
-
24
- // 2) is splash still visible
25
- const [splashVisible, setSplashVisible] = useState(true);
26
- const [initError, setInitError] = useState<string | null>(null);
27
-
28
- // 3) show the UI after the splash has hidden
29
- const showApp = !splashVisible && !initError;
30
-
31
- return (
32
- <div>
33
- {splashVisible && (
34
- <EdsSplashScreen
35
- inverse={false}
36
- initPromise={initPromise}
37
- onSplash={(e: CustomEvent) => {
38
- if (e.detail.type === 'hidden') {
39
- setSplashVisible(false);
40
- } else if (e.detail.type === 'error') {
41
- setInitError(e.detail.message);
42
- setSplashVisible(false);
43
- }
44
- }}
45
- />
46
- )}
47
-
48
- {initError && (
49
- <div className='error'>
50
- Failed to initialize: {initError}
51
- </div>
52
- )}
53
-
54
- {/* Show App only when ready */}
55
- {showApp && (
56
- <>
57
- <EdsHeader></EdsHeader>
58
- <EdsSteps
59
- steps={[
60
- {
61
- title: 'Introduction',
62
- content: 'Begin by familiarizing yourself with the overall process.'
63
- },
64
- {
65
- title: 'Process Overview',
66
- content: 'Review the detailed steps and understand the workflow.'
67
- }
68
- ]}
69
- type='linear'
70
- />
71
-
72
- <EdsMatomoNotice />
73
-
74
- <div id='root'></div>
75
- </>
76
- )}
77
- </div>
78
- );
79
- }
80
- export default App;
81
- `,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
82
- message="This is a default informational alert."
83
- intent="default"
84
- :pressableLabel="Press Me"
85
- :pressableUrl="https://ebrains.eu"
86
- ></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
87
- message="This is a default informational alert."
88
- intent="default"
89
- :pressableLabel.prop="Press Me"
90
- :pressableUrl.prop="https://ebrains.eu"
91
- ></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:`
92
- <template>
93
- <div>
94
- <EdsHeader></EdsHeader>
95
- <!-- render the splash until we manually hide it -->
96
- <EdsSplashScreen inverse="false" />
97
-
98
- <!-- then show main UI -->
99
- <div v-if="!splashVisible" class="container my-16">
100
- <EdsSteps
101
- :steps="JSON.stringify(stepsdata)"
102
- type="linear"
103
- />
104
- </div>
105
- </div>
106
- </template>
107
-
108
- <script>
109
- import { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";
110
-
111
- export default {
112
- name: "App",
113
- components: { EdsHeader, EdsSplashScreen, EdsSteps },
114
- data() {
115
- return {
116
- stepsdata: [
117
- { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },
118
- { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }
119
- ],
120
- splashVisible: true
121
- };
122
- },
123
- methods: {
124
- delay(ms) {
125
- return new Promise(resolve => setTimeout(resolve, ms));
126
- },
127
- async initialize() {
128
- try {
129
- // simulate your init work
130
- await this.delay(2000);
131
-
132
- // fire the built-in event that EdsSplashScreen listens for
133
- window.dispatchEvent(new Event("hideSplash"));
134
- } catch (e) {
135
- console.error("Init error", e);
136
- window.dispatchEvent(new Event("hideSplash"));
137
- } finally {
138
- // show the rest of the app
139
- this.splashVisible = false;
140
- }
141
- }
142
- },
143
- mounted() {
144
- this.initialize();
145
- }
146
- };
147
- <\/script>
148
- `,language:"javascript","copy-label":"Copy Code"}))),l=()=>e.h("div",null,e.h("h2",null,"Angular Wrappers"),e.h("p",null,"To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples. The Angular Stencil output type used for this package = `standalone`."),e.h("eds-code-block",{code:"npm install @ebrains/angular",language:"javascript","copy-label":"Copy Code"}),e.h("p",null,"Install the components dependency as this important for the angular package to work properly."),e.h("eds-code-block",{code:"npm install @ebrains/components",language:"javascript","copy-label":"Copy Code"}),e.h("p",null,"Define the custom elements"),e.h("eds-code-block",{code:`import { defineCustomElements } from '@ebrains/components/loader';
149
- defineCustomElements();`,language:"javascript","copy-label":"Copy Code"}),e.h("eds-section-core",{"section-title":"Example Angular App","heading-level":"h3"},e.h("eds-code-block",{code:`
150
- <div class="container">
151
- <eds-breadcrumb
152
- intent="tertiary"
153
- items="[
154
- { "label": "Home", "url": "#" },
155
- { "label": "Products", "url": "#" },
156
- ]">
157
- </eds-breadcrumb>
158
- <eds-footer></eds-footer>
159
- </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:"7c35270931bb242311baaa8b2d45f15135f72410",class:"container"},this.renderContent())}};exports.components_section=i;
@@ -1,30 +0,0 @@
1
- import { r as n, h as e } from "./index-D2V9qb42.mjs";
2
- const s = class {
3
- constructor(t) {
4
- n(this, t), this.tabIndex = void 0;
5
- }
6
- renderContent() {
7
- switch (this.tabIndex) {
8
- case 0:
9
- return e("token-list", { show: "background" });
10
- case 1:
11
- return e("token-list", { show: "text" });
12
- case 2:
13
- return e("token-list", { show: "border" });
14
- case 3:
15
- return e("token-radii", null);
16
- case 4:
17
- return e("token-list", { show: "outline" });
18
- case 5:
19
- return e("token-shadows", null);
20
- default:
21
- return e("p", null, "Content not available.");
22
- }
23
- }
24
- render() {
25
- return e("div", { key: "9afe4f5912087e80d327a7c79a69be68b1ffa677", class: "container" }, this.renderContent());
26
- }
27
- };
28
- export {
29
- s as docs_tokens
30
- };
@@ -1,25 +0,0 @@
1
- import { r as c, h as e } from "./index-D2V9qb42.mjs";
2
- const r = class {
3
- constructor(i) {
4
- c(this, i), this.isAuthenticated = !1;
5
- }
6
- componentWillLoad() {
7
- const i = new Promise((a) => {
8
- document.addEventListener("initKeycloak", (t) => {
9
- a(t.detail);
10
- }, { once: !0 });
11
- }), n = new Promise((a) => {
12
- document.addEventListener("authStatusChanged", (t) => {
13
- var s;
14
- this.isAuthenticated = (s = t.detail) === null || s === void 0 ? void 0 : s.authenticated, a(t.detail);
15
- }, { once: !0 });
16
- });
17
- this.combinedInitPromise = Promise.all([i, n]);
18
- }
19
- render() {
20
- return e("div", { key: "814465ac49c8f5688bc8b1006723a531c925c030" }, e("eds-splash-screen", { key: "578982c4b01714129ebf0e7c415bdacea10061f8", inverse: !0, initPromise: this.combinedInitPromise }), e("eds-login", { key: "abc4ef7fed629bc2eda0e2f14f5165b83851794d", "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), e("main", { key: "1fb96900889c942ec0beb120e1ed869a9d78c6fa" }, this.isAuthenticated ? e("h1", null, "Welcome, authenticated user!") : e("h1", null, "Please log in.")));
21
- }
22
- };
23
- export {
24
- r as eds_app_root
25
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.js"),s=class{constructor(i){e.registerInstance(this,i),this.isAuthenticated=!1}componentWillLoad(){const i=new Promise(a=>{document.addEventListener("initKeycloak",t=>{a(t.detail)},{once:!0})}),c=new Promise(a=>{document.addEventListener("authStatusChanged",t=>{var n;this.isAuthenticated=(n=t.detail)===null||n===void 0?void 0:n.authenticated,a(t.detail)},{once:!0})});this.combinedInitPromise=Promise.all([i,c])}render(){return e.h("div",{key:"814465ac49c8f5688bc8b1006723a531c925c030"},e.h("eds-splash-screen",{key:"578982c4b01714129ebf0e7c415bdacea10061f8",inverse:!0,initPromise:this.combinedInitPromise}),e.h("eds-login",{key:"abc4ef7fed629bc2eda0e2f14f5165b83851794d","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),e.h("main",{key:"1fb96900889c942ec0beb120e1ed869a9d78c6fa"},this.isAuthenticated?e.h("h1",null,"Welcome, authenticated user!"):e.h("h1",null,"Please log in.")))}};exports.eds_app_root=s;
@@ -1,13 +0,0 @@
1
- import { r as t, h as s } from "./index-D2V9qb42.mjs";
2
- const r = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}", c = r, d = class {
3
- constructor(a) {
4
- t(this, a), this.accent = !1, this.tags = [];
5
- }
6
- render() {
7
- return s("div", { key: "dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861", class: "flex flex-wrap gap-y-4" }, this.tags.map((a, e) => s("eds-tag", { key: e, intent: this.accent ? "accent" : "default", label: a })));
8
- }
9
- };
10
- d.style = c;
11
- export {
12
- d as eds_card_tags
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-D7ZVgmVD.js"),r=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}",c=r,s=class{constructor(e){a.registerInstance(this,e),this.accent=!1,this.tags=[]}render(){return a.h("div",{key:"dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861",class:"flex flex-wrap gap-y-4"},this.tags.map((e,t)=>a.h("eds-tag",{key:t,intent:this.accent?"accent":"default",label:e})))}};s.style=c;exports.eds_card_tags=s;
@@ -1,13 +0,0 @@
1
- import { r as s, h as a } from "./index-D2V9qb42.mjs";
2
- import { a as o } from "./arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs";
3
- const c = class {
4
- constructor(r) {
5
- s(this, r), this.class = "";
6
- }
7
- render() {
8
- return a("span", { key: "4dd5fc5be465494e8546404231cfdb63609e64f1", class: this.class, innerHTML: o });
9
- }
10
- };
11
- export {
12
- c as eds_icon_arrow_diagonal
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-D7ZVgmVD.js"),s=require("./arrow-diagonal-black-8f0494c3-DqsB6ni-.js"),a=class{constructor(e){r.registerInstance(this,e),this.class=""}render(){return r.h("span",{key:"4dd5fc5be465494e8546404231cfdb63609e64f1",class:this.class,innerHTML:s.arrowDiagonal})}};exports.eds_icon_arrow_diagonal=a;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-D7ZVgmVD.js"),s=require("./arrow-right-9322ba8a-DBcxNU_p.js"),t=class{constructor(e){r.registerInstance(this,e),this.class=""}render(){return r.h("span",{key:"64d0cb03ab1a33096ad9e3b7219a2e758707a1d5",class:this.class,innerHTML:s.arrowRight})}};exports.eds_icon_arrow_right=t;
@@ -1,13 +0,0 @@
1
- import { r, h as n } from "./index-D2V9qb42.mjs";
2
- import { b as a } from "./bin-37cad2f0-BqMIoPCV.mjs";
3
- const i = class {
4
- constructor(s) {
5
- r(this, s), this.class = "";
6
- }
7
- render() {
8
- return n("span", { key: "9a7b52f2a2006bd83418d6b4bb2834bffa79305c", class: this.class, innerHTML: a });
9
- }
10
- };
11
- export {
12
- i as eds_icon_bin
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-D7ZVgmVD.js"),n=require("./bin-37cad2f0-Bvf97PEl.js"),r=class{constructor(e){s.registerInstance(this,e),this.class=""}render(){return s.h("span",{key:"9a7b52f2a2006bd83418d6b4bb2834bffa79305c",class:this.class,innerHTML:n.bin})}};exports.eds_icon_bin=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.js"),r=require("./bluesky-cc5edd2d-DaFQc-pr.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"4f21c5659e92ea08e1f464d23e351fbfef6e347d",class:this.class,innerHTML:r.bluesky})}};exports.eds_icon_bluesky=t;
@@ -1,13 +0,0 @@
1
- import { r as e, h as r } from "./index-D2V9qb42.mjs";
2
- import { b as t } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
3
- const a = class {
4
- constructor(s) {
5
- e(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "4f21c5659e92ea08e1f464d23e351fbfef6e347d", class: this.class, innerHTML: t });
9
- }
10
- };
11
- export {
12
- a as eds_icon_bluesky
13
- };
@@ -1,13 +0,0 @@
1
- import { r, h as a } from "./index-D2V9qb42.mjs";
2
- import { b as o } from "./bookmark-c200037c-ClkCtyRY.mjs";
3
- const e = class {
4
- constructor(s) {
5
- r(this, s), this.class = "";
6
- }
7
- render() {
8
- return a("span", { key: "48b2e81ac7f597b50d13a7a0a753894ac18022cd", class: this.class, innerHTML: o });
9
- }
10
- };
11
- export {
12
- e as eds_icon_bookmark
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.js"),s=require("./chevron-down-6144c823-D_8976Ke.js"),r=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"ea6e2250c63af2a7f3ed1d50e6514a28e5629e6d",class:this.class,innerHTML:s.chevronDown})}};exports.eds_icon_chevron_down=r;
@@ -1,13 +0,0 @@
1
- import { r as e, h as r } from "./index-D2V9qb42.mjs";
2
- import { c as n } from "./chevron-down-6144c823-DWGlv9eV.mjs";
3
- const a = class {
4
- constructor(s) {
5
- e(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "ea6e2250c63af2a7f3ed1d50e6514a28e5629e6d", class: this.class, innerHTML: n });
9
- }
10
- };
11
- export {
12
- a as eds_icon_chevron_down
13
- };
@@ -1,13 +0,0 @@
1
- import { r as e, h as r } from "./index-D2V9qb42.mjs";
2
- import { c as t } from "./chevron-left-ca6c66e1-DANhLw_T.mjs";
3
- const o = class {
4
- constructor(s) {
5
- e(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "8847183f6f31439d94f87a24ee01697babe53ecf", class: this.class, innerHTML: t });
9
- }
10
- };
11
- export {
12
- o as eds_icon_chevron_left
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D7ZVgmVD.js"),r=require("./chevron-left-ca6c66e1-uCH5SUhm.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"8847183f6f31439d94f87a24ee01697babe53ecf",class:this.class,innerHTML:r.chevronLeft})}};exports.eds_icon_chevron_left=t;