@ebrains/vue 0.7.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 (259) hide show
  1. package/README.md +3 -3
  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/components-section.entry-Bp5Ot0Sn.js +162 -0
  7. package/{eds-components-section.entry-BgfCSxk1.mjs → components-section.entry-CMHPm3bn.mjs} +159 -122
  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-C1EcBwSy.js → docs-palettes.entry-BoEjXr5K.js} +1 -1
  11. package/{eds-docs-palettes.entry-TXbXKJJN.mjs → docs-palettes.entry-CkVHcQbL.mjs} +3 -3
  12. package/{eds-docs-tokens.entry-BJVBVsOy.js → docs-tokens.entry-C22LSw0P.js} +1 -1
  13. package/{eds-docs-tokens.entry-B1xc8BFa.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-DZcz_4Dj.js → eds-alert.entry-C0p3qeqh.js} +224 -93
  17. package/{eds-alert.entry-BqjTTCgj.mjs → eds-alert.entry-DOCbYqvG.mjs} +233 -96
  18. package/{eds-app-root.entry-DobAtes_.mjs → eds-app-root.entry-AYVIYcb1.mjs} +4 -4
  19. package/{eds-app-root.entry-Cz-9z7Za.js → eds-app-root.entry-DfPrDdc_.js} +1 -1
  20. package/{eds-accordion_22.entry-Lqf1NKBk.mjs → eds-avatar_24.entry-BcY_4aZT.mjs} +19408 -16304
  21. package/eds-avatar_24.entry-DBYYqNco.js +31821 -0
  22. package/{eds-breadcrumb.entry-N3NSBwJL.mjs → eds-breadcrumb.entry-BTYLNHlm.mjs} +11 -11
  23. package/eds-breadcrumb.entry-Drb48V7S.js +1 -0
  24. package/eds-card-desc_3.entry-BlQBUPMR.js +1 -0
  25. package/eds-card-desc_3.entry-DtsrKQS6.mjs +83 -0
  26. package/{eds-card-generic.entry-zKJ2hHOe.mjs → eds-card-generic.entry-Dtfs4XKl.mjs} +2 -2
  27. package/eds-card-generic.entry-w0E2hhjp.js +1 -0
  28. package/eds-card-project.entry-Cek2GMTn.js +1 -0
  29. package/{eds-card-project.entry-DDo4ZJs8.mjs → eds-card-project.entry-Cy_NC5av.mjs} +7 -7
  30. package/{eds-card-section.entry-C8nt6j3h.mjs → eds-card-section.entry-D1yKOTXz.mjs} +1 -1
  31. package/{eds-card-section.entry-CeznIbCo.js → eds-card-section.entry-DLE2WAV_.js} +1 -1
  32. package/eds-card-tags.entry-CmRv-oB4.js +1 -0
  33. package/eds-card-tags.entry-Q9xxbeAG.mjs +13 -0
  34. package/{eds-card-tool.entry-DnVIn9BX.js → eds-card-tool.entry-DF_jWDUL.js} +1 -1
  35. package/{eds-card-tool.entry-BewNCjRU.mjs → eds-card-tool.entry-Dgi1G1RH.mjs} +7 -7
  36. package/{eds-card-wrapper.entry-BzKcrwEf.js → eds-card-wrapper.entry-DZZOVhcJ.js} +1 -1
  37. package/{eds-card-wrapper.entry-DMj1bZ4i.mjs → eds-card-wrapper.entry-k-aNj4Ms.mjs} +4 -4
  38. package/{eds-code-block.entry-fqrA-Frf.mjs → eds-code-block.entry-BjrDmUCm.mjs} +2 -2
  39. package/{eds-code-block.entry-DUeN87Fw.js → eds-code-block.entry-DoUacOW1.js} +2 -2
  40. package/{eds-cookies-preference.entry-BGx0tglE.js → eds-cookies-preference.entry-B7gp0J-S.js} +1 -1
  41. package/{eds-cookies-preference.entry-B1a8qild.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-CcmLaVze.mjs +67 -0
  45. package/eds-frame.entry-XyeUo6pB.js +1 -0
  46. package/eds-icon-arrow-diagonal.entry-B0dxbX_o.mjs +13 -0
  47. package/eds-icon-arrow-diagonal.entry-o5Ev_oO7.js +1 -0
  48. package/{eds-icon-arrow-right.entry-BH0zDB1H.js → eds-icon-arrow-right.entry-DUHmdP-V.js} +1 -1
  49. package/eds-icon-arrow-right.entry-DpdjX5aS.mjs +13 -0
  50. package/{eds-icon-bluesky.entry-CDZCjWCh.js → eds-icon-bluesky.entry-Bv0-EDnj.js} +1 -1
  51. package/{eds-icon-bluesky.entry-DwvxMR1q.mjs → eds-icon-bluesky.entry-DkSAjnck.mjs} +1 -1
  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-BERHGaTB.js +1 -0
  55. package/eds-icon-chevron-down.entry-DnKTBqKv.mjs +13 -0
  56. package/eds-icon-chevron-left.entry-Bo8LqkIz.js +1 -0
  57. package/eds-icon-chevron-left.entry-DT2At_f6.mjs +13 -0
  58. package/{eds-icon-chevron-right.entry-BG7_qznz.mjs → eds-icon-chevron-right.entry-BFoMlLTp.mjs} +2 -2
  59. package/eds-icon-chevron-right.entry-DyqeLE1B.js +1 -0
  60. package/eds-icon-chevron-up.entry-Bpy8lbif.js +1 -0
  61. package/eds-icon-chevron-up.entry-JSrFaEET.mjs +13 -0
  62. package/eds-icon-close.entry-CzIoe2p3.mjs +13 -0
  63. package/{eds-icon-close.entry-DNhXNl8O.js → eds-icon-close.entry-cabdCuVg.js} +1 -1
  64. package/eds-icon-copy.entry-C08qTrZl.mjs +13 -0
  65. package/eds-icon-copy.entry-CvpG2Kxo.js +1 -0
  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--ctHhWkj.mjs → eds-icon-facebook.entry-4bvKyXXu.mjs} +1 -1
  71. package/{eds-icon-facebook.entry-Bjkse_bn.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-DUQcgTMM.js → eds-icon-gitlab.entry-D_zX1Jsy.js} +1 -1
  74. package/{eds-icon-linkedin.entry-D-D3hmxE.js → eds-icon-linkedin.entry-CjXcA0DQ.js} +1 -1
  75. package/{eds-icon-linkedin.entry-Cq13-Zdb.mjs → eds-icon-linkedin.entry-_3H4M1ch.mjs} +1 -1
  76. package/{eds-icon-loader.entry-rKBBXz_C.js → eds-icon-loader.entry-BA-W8oxC.js} +1 -1
  77. package/eds-icon-loader.entry-Cp3B6C_B.mjs +13 -0
  78. package/{eds-icon-mastodon.entry-OpdPcGQ7.mjs → eds-icon-mastodon.entry-Bmb_O0hs.mjs} +1 -1
  79. package/{eds-icon-mastodon.entry-CCn_r682.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-DUxzhro5.js → eds-icon-menu.entry-Qg4r_OkP.js} +1 -1
  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-CBDi0LJC.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-Bok3Oo0Q.js → eds-icon-search.entry-C9tMq1XC.js} +1 -1
  97. package/{eds-icon-search.entry-CvnFqzlk.mjs → eds-icon-search.entry-DuG-zesK.mjs} +2 -2
  98. package/eds-icon-star.entry-B-PeifnZ.mjs +13 -0
  99. package/{eds-icon-star.entry-CkeEbwgJ.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-DA4C5Hwg.js → eds-icon-success.entry-ED6eDDgi.js} +1 -1
  102. package/eds-icon-thumbs-down.entry-BzEfZ1AX.mjs +13 -0
  103. package/{eds-icon-thumbs-down.entry-BqEOrmiW.js → eds-icon-thumbs-down.entry-zjkeVdJJ.js} +1 -1
  104. package/{eds-icon-thumbs-up.entry-Dkqv6r_x.js → eds-icon-thumbs-up.entry-CZJlAqFh.js} +1 -1
  105. package/eds-icon-thumbs-up.entry-DutZ0Kki.mjs +13 -0
  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-CqalD8Wf.mjs → eds-icon-twitter.entry-CJhiAxNu.mjs} +1 -1
  109. package/{eds-icon-twitter.entry-BcZ2atce.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-DU8EF-lQ.mjs → eds-icon-user.entry-BJ7Wi5JO.mjs} +1 -1
  115. package/{eds-icon-user.entry-DpvoOnVA.js → eds-icon-user.entry-czB7LMt8.js} +1 -1
  116. package/{eds-icon-youtube.entry-vFg7QtYg.mjs → eds-icon-youtube.entry-BWP1dBVD.mjs} +1 -1
  117. package/{eds-icon-youtube.entry-DbPAn4pN.js → eds-icon-youtube.entry-v007UjBQ.js} +1 -1
  118. package/{eds-login_2.entry-DD8g9nqu.mjs → eds-login_2.entry-BfzeZBGw.mjs} +106 -93
  119. package/{eds-login_2.entry-6Hxmqih9.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-CuaStxZg.js +1 -0
  125. package/eds-pagination_2.entry-DWzfLRgF.mjs +258 -0
  126. package/{eds-progress-bar.entry-BP6AqtI7.mjs → eds-progress-bar.entry-BRTtAttw.mjs} +1 -1
  127. package/{eds-progress-bar.entry-23-I0rSz.js → eds-progress-bar.entry-qScp3MQj.js} +1 -1
  128. package/{eds-rating.entry-CHo7h3Y4.mjs → eds-rating.entry-CEI0zBir.mjs} +1 -1
  129. package/{eds-rating.entry-dDYfYR7o.js → eds-rating.entry-DOTYJZZ6.js} +1 -1
  130. package/{eds-section-core_2.entry-DTItYLUC.mjs → eds-section-core_2.entry-BZpOdGAA.mjs} +4 -4
  131. package/{eds-section-core_2.entry-BdnBCBit.js → eds-section-core_2.entry-Cmly0OqW.js} +1 -1
  132. package/{eds-spinner.entry-CXLe8IAk.js → eds-spinner.entry-C_3hil-u.js} +1 -1
  133. package/{eds-spinner.entry-BwTZAz8I.mjs → eds-spinner.entry-DLqey9r7.mjs} +1 -1
  134. package/{eds-switch.entry-DjT9dev_.mjs → eds-switch.entry-BPHya25S.mjs} +5 -5
  135. package/{eds-switch.entry-4a3DLV-c.js → eds-switch.entry-IoOUDh10.js} +1 -1
  136. package/{eds-tabs.entry-BYxiMlkR.mjs → eds-tabs.entry-DEOntaY1.mjs} +65 -63
  137. package/{eds-tabs.entry-DJKEg0Gs.js → eds-tabs.entry-lqdai_rD.js} +65 -63
  138. package/eds-timeline.entry-CC0zKwha.js +7777 -0
  139. package/eds-timeline.entry-c1YpsWVJ.mjs +7822 -0
  140. package/{eds-toast-manager.entry-BV-sP7cR.mjs → eds-toast-manager.entry-BvunvxZX.mjs} +2 -2
  141. package/{eds-toast-manager.entry-BopxpC3o.js → eds-toast-manager.entry-DMZSCFoE.js} +1 -1
  142. package/{eds-toast.entry-DDBTRdmP.mjs → eds-toast.entry-DW3toqwW.mjs} +1 -1
  143. package/{eds-toast.entry-DPibhM-Z.js → eds-toast.entry-rudQ7nhp.js} +1 -1
  144. package/{eds-tooltip.entry-Cf6bse_x.js → eds-tooltip.entry-CcGgCRMO.js} +1 -1
  145. package/{eds-tooltip.entry-B53fpM9t.mjs → eds-tooltip.entry-CoHV78jm.mjs} +7 -7
  146. package/{eds-trl.entry-C0cSVG_Q.mjs → eds-trl.entry-CQOb5dk-.mjs} +4 -4
  147. package/{eds-trl.entry-fYVgYPts.js → eds-trl.entry-L0XqQYCq.js} +1 -1
  148. package/generated/components.d.ts +1 -5
  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-E1PpO1J3.mjs → index-xVeSZU9j.mjs} +463 -456
  153. package/index.js +1 -1
  154. package/index.mjs +31 -35
  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-dLBnZPi7.js → logo-variations-tabs.entry-BpYl8Gpo.js} +1 -1
  160. package/logo-variations-tabs.entry-Df5DuYk-.mjs +22 -0
  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-DoYT85te.mjs → svg-repository.entry-C1TKYvU7.mjs} +94 -92
  177. package/{eds-svg-repository.entry-CKQ6S13R.js → svg-repository.entry-DxVwTMCv.js} +12 -31
  178. package/{token-list_3.entry-DJ-cqa3_.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-FKky7w4Z.mjs → token-ratios.entry-BGWJSHfY.mjs} +2 -2
  181. package/token-ratios.entry-B_FOHsNq.js +1 -0
  182. package/{token-typography.entry-CKyKPdVF.mjs → token-typography.entry-BHvTpH4i.mjs} +4 -4
  183. package/{token-typography.entry-CuHfxHRU.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-BDyyrFB5.mjs +0 -300
  191. package/color-primary-palette_6.entry-BhxgE7ff.js +0 -1
  192. package/correct-use-of-colors.entry-DXASqwFp.js +0 -1
  193. package/correct-use-of-colors.entry-z7k3YWpg.mjs +0 -59
  194. package/eds-accordion_22.entry-LksMmZ4o.js +0 -28813
  195. package/eds-avatar_4.entry-BYrgwmj2.mjs +0 -278
  196. package/eds-avatar_4.entry-Bqr0d5Cj.js +0 -149
  197. package/eds-breadcrumb.entry-elqbS74P.js +0 -1
  198. package/eds-card-generic.entry-D5pTUUco.js +0 -1
  199. package/eds-card-project.entry-e4n5lQbW.js +0 -1
  200. package/eds-card-tags.entry-Bl3YXNtv.js +0 -1
  201. package/eds-card-tags.entry-Do9kx7rP.mjs +0 -13
  202. package/eds-components-section.entry-CLJMns6h.js +0 -141
  203. package/eds-dropdown.entry-CMK8E_J2.mjs +0 -83
  204. package/eds-dropdown.entry-FqX7fOIb.js +0 -1
  205. package/eds-feedback.entry-B-Lue8P0.js +0 -1
  206. package/eds-feedback.entry-fz73-syB.mjs +0 -53
  207. package/eds-form.entry-0saB-Hm9.js +0 -7153
  208. package/eds-form.entry-BB1gfXVy.mjs +0 -7355
  209. package/eds-frame.entry-BvJCKWMT.mjs +0 -73
  210. package/eds-frame.entry-dX3nZxD0.js +0 -1
  211. package/eds-icon-arrow-diagonal.entry-BD3xdvR4.mjs +0 -13
  212. package/eds-icon-arrow-diagonal.entry-DkQFuVkT.js +0 -1
  213. package/eds-icon-arrow-right.entry-Diax6KZB.mjs +0 -13
  214. package/eds-icon-chevron-down.entry-CGsA1rJ0.js +0 -1
  215. package/eds-icon-chevron-down.entry-CiJcqZuh.mjs +0 -13
  216. package/eds-icon-chevron-left.entry-Dt2WsKob.mjs +0 -13
  217. package/eds-icon-chevron-left.entry-nBBudzCb.js +0 -1
  218. package/eds-icon-chevron-right.entry-CjhJFKog.js +0 -1
  219. package/eds-icon-chevron-up.entry-DfsbHKk1.mjs +0 -13
  220. package/eds-icon-chevron-up.entry-Dy81hGw-.js +0 -1
  221. package/eds-icon-close.entry-CpGzc34L.mjs +0 -13
  222. package/eds-icon-copy.entry-CsD2FpUS.mjs +0 -13
  223. package/eds-icon-copy.entry-DD2HXgFK.js +0 -1
  224. package/eds-icon-eu.entry-BRuCbl7O.mjs +0 -13
  225. package/eds-icon-eu.entry-ChKv8iZB.js +0 -1
  226. package/eds-icon-gitlab.entry-BDqNL5zl.mjs +0 -13
  227. package/eds-icon-loader.entry-DgpUjCng.mjs +0 -13
  228. package/eds-icon-menu.entry-B3mQ8ma1.mjs +0 -13
  229. package/eds-icon-more.entry-CDDxBiBM.mjs +0 -13
  230. package/eds-icon-star.entry-BRQ07hMQ.mjs +0 -13
  231. package/eds-icon-success.entry-nWUVTFzX.mjs +0 -13
  232. package/eds-icon-thumbs-down.entry-Dme-Ippn.mjs +0 -13
  233. package/eds-icon-thumbs-up.entry-Dp-eslmx.mjs +0 -13
  234. package/eds-logo-variations.entry-CDTTH-iG.mjs +0 -22
  235. package/eds-modal.entry-CV3bf08X.mjs +0 -96
  236. package/eds-modal.entry-DJybVbNk.js +0 -1
  237. package/eds-steps.entry-Nz_XqcUl.mjs +0 -28
  238. package/eds-steps.entry-ceVyrSe-.js +0 -1
  239. package/eds-timeline.entry-DKx-pd67.js +0 -1
  240. package/eds-timeline.entry-DOSKCjPH.mjs +0 -45
  241. package/eds-user.entry-hUkYJDp4.js +0 -1
  242. package/eds-user.entry-qM0swzIt.mjs +0 -26
  243. package/eds-vertical-stepper.entry-Bb6dUinj.mjs +0 -27
  244. package/eds-vertical-stepper.entry-CvadBA1x.js +0 -1
  245. package/formUtils-ac68474d-BDuxB0K8.js +0 -1
  246. package/formUtils-ac68474d-D2e59S7S.mjs +0 -122
  247. package/incorrect-use-of-colors.entry-B6fKAvAx.mjs +0 -42
  248. package/incorrect-use-of-colors.entry-DZ_SBoa8.js +0 -1
  249. package/index-D4alMZtT.js +0 -21
  250. package/logo-space.entry-BOh7Odfh.js +0 -1
  251. package/logo-space.entry-xGhYUj5r.mjs +0 -14
  252. package/logo-variations-horizontal_2.entry-BWlXcmRe.js +0 -7
  253. package/logo-variations-horizontal_2.entry-CIUDEw3Y.mjs +0 -29
  254. package/logo-wrong-usage.entry-CtPXf-5h.js +0 -1
  255. package/logo-wrong-usage.entry-D4aBJ6Wk.mjs +0 -14
  256. package/token-list_3.entry-DVoMZtdK.js +0 -1
  257. package/token-ratios.entry-JS-ffZPx.js +0 -1
  258. package/token-spacing.entry-Cf5LP8jh.mjs +0 -12
  259. package/token-spacing.entry-YJWgDaTr.js +0 -1
@@ -1,12 +1,12 @@
1
- import { r as t, h as e } from "./index-E1PpO1J3.mjs";
2
- const a = () => e(
1
+ import { r as t, h as e } from "./index-xVeSZU9j.mjs";
2
+ const s = () => e(
3
3
  "div",
4
4
  { class: "static-content container" },
5
5
  e("h2", null, "Load the module"),
6
6
  e(
7
7
  "p",
8
8
  null,
9
- "Integrating EDSs 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",
9
+ "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",
10
10
  " ",
11
11
  e("code", null, "head"),
12
12
  "."
@@ -16,6 +16,30 @@ const a = () => e(
16
16
  // Define custom elements
17
17
  defineCustomElements(window);
18
18
  <\/script>`, language: "javascript", "copy-label": "Copy Code" }),
19
+ e("p", null, "This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),
20
+ e("eds-steps", { steps: [
21
+ {
22
+ title: "Import the Loader Module",
23
+ 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."
24
+ },
25
+ {
26
+ title: "Register Custom Elements",
27
+ 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."
28
+ },
29
+ {
30
+ title: "Lazy Loading in Action",
31
+ 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."
32
+ },
33
+ {
34
+ title: "Optimized Performance",
35
+ 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."
36
+ }
37
+ ] }),
38
+ e("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
39
+ e("eds-code-block", { code: `<eds-button
40
+ label="my bytton"
41
+ intent="primary">
42
+ </eds-button>`, language: "html", "copy-label": "Copy Code" }),
19
43
  e("h2", null, "Load the styles"),
20
44
  e(
21
45
  "p",
@@ -26,25 +50,23 @@ const a = () => e(
26
50
  ),
27
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" }),
28
52
  e(
29
- "div",
30
- { class: "my-4" },
31
- e("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })
53
+ "p",
54
+ null,
55
+ "To directly use only the produced variables add the tag below to the ",
56
+ e("code", null, "head")
32
57
  ),
33
- e("h2", null, "Load the fonts"),
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" }),
34
59
  e(
35
60
  "p",
36
61
  null,
37
- "To load the webfonts, add the tag below to the ",
62
+ "Note that, loading the predefined CSS framework above,",
63
+ " ",
64
+ e("b", null, "automatically loads the fonts so you can skip loading them separately"),
65
+ ". If you wish, however, to load the fonts, add the tag below to the ",
38
66
  e("code", null, "head")
39
67
  ),
40
- 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" }),
41
- e("h2", null, "Component Usage"),
42
- e("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
43
- e("eds-code-block", { code: `<eds-button
44
- label="my bytton"
45
- intent="primary">
46
- </eds-button>`, language: "html", "copy-label": "Copy Code" })
47
- ), s = () => 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(
48
70
  "div",
49
71
  null,
50
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."),
@@ -73,123 +95,100 @@ const a = () => e(
73
95
  { class: "my-8" },
74
96
  e("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" })
75
97
  )
76
- ), o = () => e(
98
+ ), a = () => e(
77
99
  "div",
78
100
  null,
79
101
  e("h2", null, "React Wrappers"),
80
- e("p", null, "Learn how to use our components in a React Application.Simple install the package below and check out the examples"),
81
- e(
82
- "div",
83
- { class: "my-8" },
84
- e("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })
85
- ),
102
+ e("p", null, "To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),
103
+ e("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }),
86
104
  e(
87
105
  "eds-section-core",
88
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."),
89
108
  e("eds-code-block", { code: `
109
+ import React, { useMemo, useState } from 'react';
90
110
  import {
91
- EdsHeader,
92
- EdsFullscreenMenu,
93
- EdsUser
94
- } from "@ebrains/react";
111
+ EdsHeader
112
+ EdsSplashScreen,
113
+ EdsMatomoNotice,
114
+ EdsSteps
115
+ } from '@ebrains/react';
116
+ import './app.css';
95
117
 
96
- interface User {
97
- firstname: string;
98
- lastname: string;
99
- // Add any other properties your user object might have
118
+ // simulate 2s
119
+ function fakeInit(): Promise<void> {
120
+ return new Promise(resolve => setTimeout(resolve, 2000));
100
121
  }
101
122
 
102
- interface AuthStatus {
103
- authenticated: boolean;
104
- user: User | null;
105
- }
106
-
107
- import { useEffect, useState } from "react";
108
-
109
123
  export function App() {
110
- const [authStatus, setAuthStatus] = useState<AuthStatus>({
111
- authenticated: false,
112
- user: null,
113
- });
114
- const [activeTabIndex, setActiveTabIndex] = useState<number>(0);
124
+ // 1) create init promise
125
+ const initPromise = useMemo(() => fakeInit(), []);
115
126
 
116
- // Use useEffect to render Stencil components dynamically after the component mounts
117
- useEffect(() => {
118
- const handleAuthStatusChange = (event: CustomEvent) => {
119
- console.log(event.detail);
120
- setAuthStatus(event.detail); // Set the entire object
121
- };
122
-
123
- document.addEventListener(
124
- "authStatusChanged",
125
- handleAuthStatusChange as EventListener,
126
- );
127
+ // 2) is splash still visible
128
+ const [splashVisible, setSplashVisible] = useState(true);
129
+ const [initError, setInitError] = useState<string | null>(null);
127
130
 
128
- return () => {
129
- document.removeEventListener(
130
- "authStatusChanged",
131
- handleAuthStatusChange as EventListener,
132
- );
133
- };
134
- }, []);
131
+ // 3) show the UI after the splash has hidden
132
+ const showApp = !splashVisible && !initError;
135
133
 
136
134
  return (
137
135
  <div>
138
- <EdsHeader
139
- homeUrl="/"
140
- menuEnabled={true}
141
- inverseHeader={false}
142
- links={[
143
- { label: "About", url: "#" },
144
- { label: "Focus Areas", url: "#" },
145
- { label: "News & Events", url: "#" },
146
- { label: "Contact", url: "#" }
147
- ]}
148
- >
149
- <div className="px-16">
150
- <EdsUser
151
- keycloak-url="http://localhost:8080"
152
- keycloak-realm="nigeor-realm"
153
- keycloak-client-id="stencil-app"
154
- ></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}
155
154
  </div>
156
- </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
+ />
157
174
 
158
- <EdsFullscreenMenu
159
- home-url="/"
160
- links={[
161
- { label: "About", url: "#" },
162
- { label: "Focus Areas", url: "#" },
163
- { label: "News & Events", url: "#" },
164
- { label: "Contact", url: "#" }
165
- ]}
166
- ></EdsFullscreenMenu>
167
-
168
- <div>
169
- User is{" "}
170
- {authStatus.authenticated ? "authenticated" : "not authenticated"}
171
- </div>
172
- {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}
175
+ <EdsMatomoNotice />
173
176
 
174
- <div id="main"></div>
177
+ <div id='root'></div>
178
+ </>
179
+ )}
175
180
  </div>
176
181
  );
177
182
  }
178
-
179
183
  export default App;
180
-
181
184
  `, language: "javascript", "copy-label": "Copy Code" })
182
185
  )
183
186
  ), l = () => e(
184
187
  "div",
185
188
  null,
186
189
  e("h2", null, "Vue Wrappers"),
187
- e("p", null, "Learn how to use our components in a Vue Application."),
188
- e("p", null, "Simply install the latest version of our NPM package."),
190
+ e("p", null, "To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),
189
191
  e("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }),
190
- e("p", null, 'Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your "main.ts" file.'),
191
- e("eds-code-block", { code: `import { defineCustomElements } from '@ebrains/components/loader';
192
- defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
193
192
  e(
194
193
  "h2",
195
194
  null,
@@ -208,7 +207,7 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
208
207
  e("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:"),
209
208
  e(
210
209
  "div",
211
- { class: "mt-8" },
210
+ { class: "my-8" },
212
211
  e("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })
213
212
  ),
214
213
  e("eds-code-block", { code: `<EdsAlert
@@ -219,8 +218,8 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
219
218
  ></EdsAlert>`, language: "javascript", "copy-label": "Copy Code" }),
220
219
  e(
221
220
  "div",
222
- { class: "mt-8" },
223
- e("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })
221
+ { class: "my-8" },
222
+ e("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "default" })
224
223
  ),
225
224
  e("eds-code-block", { code: `<EdsAlert
226
225
  message="This is a default informational alert."
@@ -240,30 +239,68 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
240
239
  { "section-title": "Example Vue App", "heading-level": "h3" },
241
240
  e("eds-code-block", { code: `
242
241
  <template>
243
- <EdsHeader
244
- :inverseHeader.prop="true"
245
- :menuEnabled.prop="true">
246
- </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>
247
255
  </template>
248
256
 
249
257
  <script>
250
-
251
- import { EdsHeader } from "@ebrains/vue";
258
+ import { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";
252
259
 
253
260
  export default {
254
261
  name: "App",
255
- components: {
256
- 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();
257
294
  }
258
295
  };
259
296
  <\/script>
260
297
  `, language: "javascript", "copy-label": "Copy Code" })
261
298
  )
262
- ), r = () => e(
299
+ ), i = () => e(
263
300
  "div",
264
301
  null,
265
302
  e("h2", null, "Angular Wrappers"),
266
- e("p", null, "Learn how to use our components in a Angular Application."),
303
+ e("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),
267
304
  e("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }),
268
305
  e("p", null, "Define the custom elements"),
269
306
  e("eds-code-block", { code: `import { defineCustomElements } from '@ebrains/components/loader';
@@ -285,30 +322,30 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
285
322
  <eds-footer></eds-footer>
286
323
  </div>`, language: "javascript", "copy-label": "Copy Code" })
287
324
  )
288
- ), c = class {
325
+ ), d = class {
289
326
  constructor(n) {
290
327
  t(this, n), this.tabIndex = void 0;
291
328
  }
292
329
  renderContent() {
293
330
  switch (this.tabIndex) {
294
331
  case 0:
295
- return e(a, null);
296
- case 1:
297
332
  return e(s, null);
298
- case 2:
333
+ case 1:
299
334
  return e(o, null);
335
+ case 2:
336
+ return e(a, null);
300
337
  case 3:
301
338
  return e(l, null);
302
339
  case 4:
303
- return e(r, null);
340
+ return e(i, null);
304
341
  default:
305
342
  return e("p", null, "Content not available.");
306
343
  }
307
344
  }
308
345
  render() {
309
- return e("div", { key: "69eda93b8845c5fdf5edc0f58ede763866b5f8c7", class: "container" }, this.renderContent());
346
+ return e("div", { key: "ee8facfaad3786770fd3ea39f1db7922a67ffd3e", class: "container" }, this.renderContent());
310
347
  }
311
348
  };
312
349
  export {
313
- c as eds_components_section
350
+ d as components_section
314
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;
@@ -0,0 +1,59 @@
1
+ import { r as c, h as e } from "./index-xVeSZU9j.mjs";
2
+ const s = [
3
+ {
4
+ background: "#9CE142"
5
+ },
6
+ {
7
+ background: "#00C959"
8
+ },
9
+ {
10
+ background: "#00A595"
11
+ }
12
+ ], a = [
13
+ {
14
+ background: "#141414"
15
+ },
16
+ {
17
+ background: "#383838"
18
+ },
19
+ {
20
+ background: "#CCCCCC"
21
+ },
22
+ {
23
+ background: "#E6E6E6"
24
+ },
25
+ {
26
+ background: "#FFFFFF"
27
+ }
28
+ ], d = [
29
+ {
30
+ background: "#3FA9F5"
31
+ },
32
+ {
33
+ background: "#0644F4"
34
+ }
35
+ ], t = [
36
+ {
37
+ background: "#C461FF"
38
+ },
39
+ {
40
+ background: "#5D3DF9"
41
+ }
42
+ ], o = [
43
+ {
44
+ background: "#FFA543"
45
+ },
46
+ {
47
+ background: "#FF4D68"
48
+ }
49
+ ], n = class {
50
+ constructor(l) {
51
+ c(this, l);
52
+ }
53
+ render() {
54
+ return e("div", { key: "966cb542b868e89c3f2538548e8a1ca8e20ea8d8", class: "container" }, e("p", { key: "3c595ffa9a2de45b681924354486309004d4ceaf", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("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("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("div", { key: "251e6d8ad16d70974b67fa044d53abd1be79ccac", class: "flex" }, e("div", { key: "de5b9b6720aababb693421663c52db85cee1b5fc", class: "w-full" }, e("ul", { key: "a61f669f45c2f9d3b53d87bacc222a4274f93d34", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, s.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "e7787d0ae843d7767ecac3267f11325dcfecf948", class: "w-full" }, e("ul", { key: "0d740ad8178c88175939d32a4f84d518f587e43a", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))), e("p", { key: "6c59b2c574f5039baafd91a2939fbbb307732500", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("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("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("div", { key: "b7a5c4c10adab099c57ed70c0d2186d791aa70ec", class: "flex" }, e("div", { key: "3732c49a47158c206e1b40fc5425e555487ec757", class: "w-full" }, e("ul", { key: "54a5d35510bd77397d1418aa2638cf310534e986", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, t.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "048de44bd69a7b6ecefe3188d76821e4d5145620", class: "w-full" }, e("ul", { key: "e3f8cadce4b9a575e1d844958cfccf20a19db681", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))), e("p", { key: "14d7f9c88ae769d6feb2a8344f8b45b40d4ae095", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("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("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("div", { key: "1df0919bb4c75ee251d7f5c8cf95bb2e2e990242", class: "flex" }, e("div", { key: "5a898462aa680267f4ac35aefb98e60b7f486c63", class: "w-full" }, e("ul", { key: "ad6f3e6ccde7d225be344efbc176064fc89aa796", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "8dd6e01b989c8589be6b553c85f0512c268ac369", class: "w-full" }, e("ul", { key: "c36937d99efd585c4e8a37b80de5bce82374186c", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))), e("p", { key: "452c68d1c797de34e531d7c734d350fcc36ae2f2", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("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("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("div", { key: "ae3e2a703633013f632df3a75f45ec932ce5e13b", class: "flex" }, e("div", { key: "4a0f256fa355dcbd6d6fc0e95e81a6c2821c917d", class: "w-full" }, e("ul", { key: "8aaf611ed9b87b86d0c1b47b1e37cb01989838b2", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, o.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "112e50da1627a671fbca843111becf51cd02ebc5", class: "w-full" }, e("ul", { key: "14033bd08a9d16bd0b6cfe8b87acc2a841c48a29", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))));
55
+ }
56
+ };
57
+ export {
58
+ n as correct_use_of_colors
59
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),l=class{constructor(t){e.registerInstance(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h("div",null,e.h("h2",null,"Primary Palette"),e.h("color-primary-palette",null),e.h("h2",null,"Secondary Palette"),e.h("color-secondary-palette",null),e.h("h2",null,"Support Palette"),e.h("color-support-palette",null));case 1:return e.h("div",null,e.h("h2",null,"Primary Palette"),e.h("gradient-primary-palette",null),e.h("h2",null,"Secondary Palette"),e.h("gradient-secondary-palette",null),e.h("h2",null,"Support Palette"),e.h("gradient-support-palette",null));default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"80f0922a40e212252a858b019d88f104defc2632",class:"container"},this.renderContent())}};exports.eds_docs_palettes=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),l=class{constructor(t){e.registerInstance(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h("div",null,e.h("h2",null,"Primary Palette"),e.h("color-primary-palette",null),e.h("h2",null,"Secondary Palette"),e.h("color-secondary-palette",null),e.h("h2",null,"Support Palette"),e.h("color-support-palette",null));case 1:return e.h("div",null,e.h("h2",null,"Primary Palette"),e.h("gradient-primary-palette",null),e.h("h2",null,"Secondary Palette"),e.h("gradient-secondary-palette",null),e.h("h2",null,"Support Palette"),e.h("gradient-support-palette",null));default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"f985628b9ea3f02a511e2facbda99b54f0723acf",class:"container"},this.renderContent())}};exports.docs_palettes=l;
@@ -1,4 +1,4 @@
1
- import { r as l, h as e } from "./index-E1PpO1J3.mjs";
1
+ import { r as l, h as e } from "./index-xVeSZU9j.mjs";
2
2
  const r = class {
3
3
  constructor(t) {
4
4
  l(this, t), this.tabIndex = void 0;
@@ -14,9 +14,9 @@ const r = class {
14
14
  }
15
15
  }
16
16
  render() {
17
- return e("div", { key: "80f0922a40e212252a858b019d88f104defc2632", class: "container" }, this.renderContent());
17
+ return e("div", { key: "f985628b9ea3f02a511e2facbda99b54f0723acf", class: "container" }, this.renderContent());
18
18
  }
19
19
  };
20
20
  export {
21
- r as eds_docs_palettes
21
+ r as docs_palettes
22
22
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),n=class{constructor(t){e.registerInstance(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h("token-list",{show:"background"});case 1:return e.h("token-list",{show:"text"});case 2:return e.h("token-list",{show:"border"});case 3:return e.h("token-radii",null);case 4:return e.h("token-list",{show:"outline"});case 5:return e.h("token-shadows",null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"cf676cf54781de4a4f8b75d174201d24d30d3538",class:"container"},this.renderContent())}};exports.eds_docs_tokens=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),n=class{constructor(t){e.registerInstance(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h("token-list",{show:"background"});case 1:return e.h("token-list",{show:"text"});case 2:return e.h("token-list",{show:"border"});case 3:return e.h("token-radii",null);case 4:return e.h("token-list",{show:"outline"});case 5:return e.h("token-shadows",null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"29810a0ace60d2e5a0fc84d6715fc2fc89d6187f",class:"container"},this.renderContent())}};exports.docs_tokens=n;
@@ -1,5 +1,5 @@
1
- import { r as n, h as e } from "./index-E1PpO1J3.mjs";
2
- const r = class {
1
+ import { r as n, h as e } from "./index-xVeSZU9j.mjs";
2
+ const s = class {
3
3
  constructor(t) {
4
4
  n(this, t), this.tabIndex = void 0;
5
5
  }
@@ -22,9 +22,9 @@ const r = class {
22
22
  }
23
23
  }
24
24
  render() {
25
- return e("div", { key: "cf676cf54781de4a4f8b75d174201d24d30d3538", class: "container" }, this.renderContent());
25
+ return e("div", { key: "29810a0ace60d2e5a0fc84d6715fc2fc89d6187f", class: "container" }, this.renderContent());
26
26
  }
27
27
  };
28
28
  export {
29
- r as eds_docs_tokens
29
+ s as docs_tokens
30
30
  };
@@ -0,0 +1,4 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),o=require("./analytics-44b1416b-ol77SdQE.js"),a="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}",r=a,n=class{constructor(t){e.registerInstance(this,t),this.accordion=e.createEvent(this,"accordion",7),this.handleClick=()=>{var i;this.isExpanded=!this.isExpanded,this.accordion.emit(this.isExpanded),this.setPanelHeight(),o.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((i=this.title)===null||i===void 0?void 0:i.toLowerCase())||"",action:this.isExpanded?"expanded":"collapsed"})},this.setPanelHeight=()=>{this.childContentRef&&(this.shortContent=this.wrapperRef.scrollWidth>830&&!this.description?this.childContentRef.scrollHeight<=80:this.childContentRef.scrollHeight<=20,this.panelHeight=this.isExpanded&&!this.shortContent?this.childContentRef.scrollHeight:0),this.headerRef&&(this.headerHeight=this.headerRef.scrollHeight-30)},this.title=void 0,this.description=void 0,this.switchBg=!0,this.expanded=!1,this.clampText=!0,this.isExpanded=this.expanded,this.panelHeight=0,this.shortContent=!1,this.headerHeight=0}componentDidLoad(){this.setPanelHeight(),window.addEventListener("resize",this.setPanelHeight)}disconnectedCallback(){window.removeEventListener("resize",this.setPanelHeight)}render(){return e.h("div",{key:"db04fa9db1f53e95a7ac758656b32e75281f5749",ref:t=>this.wrapperRef=t,class:`flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
2
+ ${this.switchBg&&this.isExpanded?"bg-inverse":"bg-default"}
3
+ ${this.switchBg?"hover:bg-inverse":""}
4
+ ${this.description?"min-h-56":""}`},e.h("h3",{key:"a6fc54388e0eab3ddfb81dfb5907c55a1d6d40e1",ref:t=>this.headerRef=t,class:"mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40"},this.title),e.h("div",{key:"96a1e4ae2849300e6cd3c737357a7e6e9a0439d5",class:"ml-auto"},e.h("eds-button",{key:"ca53eed446f9bc7a96182da9e9e3a45b1c63dba2",id:"toggleAccordion",intent:"tertiary","aria-expanded":this.isExpanded||this.shortContent,"aria-label":"Toggle accordion","aria-controls":"accordionSection",class:"effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none",onClick:this.handleClick,icon:"chevron-down"})),e.h("div",{key:"2e1c52759fa07ecf63fed47f79c0384a79cd81c6",class:"w-full",style:Number.isFinite(this.headerHeight)?{marginTop:`${this.headerHeight}px`}:{}},this.description?e.h("span",{class:`text-light ${!this.isExpanded&&this.clampText?"line-clamp-1":""}`},this.description):null,e.h("section",{key:"6ca819b2d9cb989f0942b98f32cd7243771b6ae9",id:"accordionSection",role:"region","aria-labelledby":"accordionHeader","aria-hidden":!this.isExpanded,class:`z-1 effect-height relative h-0 w-full ${!this.isExpanded&&this.clampText?"overflow-hidden":""}`,style:{height:this.isExpanded?"auto":"0"}},e.h("div",{key:"aa33297747aca21c3b3ed33eb3eabc2998192aeb",ref:t=>this.childContentRef=t,class:"accordion-content effect-color pt-4","aria-hidden":!this.isExpanded},e.h("span",{key:"af5b6e2218419a3c95e21e7e432696b073b7752b",class:`${!this.isExpanded&&this.clampText?"line-clamp-2":""}`},e.h("slot",{key:"2a9d1ef2d2537c831b28fbecb02a6125a1412019"}))))))}get el(){return e.getElement(this)}};n.style=r;exports.eds_accordion=n;
@@ -0,0 +1,48 @@
1
+ import { r as n, c as a, h as e, g as o } from "./index-xVeSZU9j.mjs";
2
+ import { s as r } from "./analytics-44b1416b-3vYuu4Xs.mjs";
3
+ const d = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", s = d, l = class {
4
+ constructor(i) {
5
+ n(this, i), this.accordion = a(this, "accordion", 7), this.handleClick = () => {
6
+ var t;
7
+ this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), r({
8
+ category: "ui-component",
9
+ parentContext: null,
10
+ tag: this.el.tagName.toLowerCase(),
11
+ name: ((t = this.title) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
12
+ action: this.isExpanded ? "expanded" : "collapsed"
13
+ });
14
+ }, this.setPanelHeight = () => {
15
+ this.childContentRef && (this.shortContent = this.wrapperRef.scrollWidth > 830 && !this.description ? this.childContentRef.scrollHeight <= 80 : this.childContentRef.scrollHeight <= 20, this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0), this.headerRef && (this.headerHeight = this.headerRef.scrollHeight - 30);
16
+ }, this.title = void 0, this.description = void 0, this.switchBg = !0, this.expanded = !1, this.clampText = !0, this.isExpanded = this.expanded, this.panelHeight = 0, this.shortContent = !1, this.headerHeight = 0;
17
+ }
18
+ /**
19
+ * Lifecycle method that sets up the initial panel height and adds a resize event listener
20
+ * to recalculate height on window resize.
21
+ */
22
+ componentDidLoad() {
23
+ this.setPanelHeight(), window.addEventListener("resize", this.setPanelHeight);
24
+ }
25
+ /**
26
+ * Lifecycle method that cleans up the resize event listener when the component is removed.
27
+ */
28
+ disconnectedCallback() {
29
+ window.removeEventListener("resize", this.setPanelHeight);
30
+ }
31
+ /**
32
+ * Renders the accordion structure, including header, content, description, and any slotted content.
33
+ * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
34
+ */
35
+ render() {
36
+ return e("div", { key: "db04fa9db1f53e95a7ac758656b32e75281f5749", ref: (i) => this.wrapperRef = i, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
37
+ ${this.switchBg && this.isExpanded ? "bg-inverse" : "bg-default"}
38
+ ${this.switchBg ? "hover:bg-inverse" : ""}
39
+ ${this.description ? "min-h-56" : ""}` }, e("h3", { key: "a6fc54388e0eab3ddfb81dfb5907c55a1d6d40e1", ref: (i) => this.headerRef = i, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.title), e("div", { key: "96a1e4ae2849300e6cd3c737357a7e6e9a0439d5", class: "ml-auto" }, e("eds-button", { key: "ca53eed446f9bc7a96182da9e9e3a45b1c63dba2", id: "toggleAccordion", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none", onClick: this.handleClick, icon: "chevron-down" })), e("div", { key: "2e1c52759fa07ecf63fed47f79c0384a79cd81c6", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? e("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, e("section", { key: "6ca819b2d9cb989f0942b98f32cd7243771b6ae9", id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? "overflow-hidden" : ""}`, style: { height: this.isExpanded ? "auto" : "0" } }, e("div", { key: "aa33297747aca21c3b3ed33eb3eabc2998192aeb", ref: (i) => this.childContentRef = i, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, e("span", { key: "af5b6e2218419a3c95e21e7e432696b073b7752b", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, e("slot", { key: "2a9d1ef2d2537c831b28fbecb02a6125a1412019" }))))));
40
+ }
41
+ get el() {
42
+ return o(this);
43
+ }
44
+ };
45
+ l.style = s;
46
+ export {
47
+ l as eds_accordion
48
+ };