@ebrains/components 0.9.3-beta → 1.0.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 (535) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/{analytics-d8fb3fdd.js → analytics-28713bf7.js} +2 -2
  3. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  4. package/dist/cjs/components-section.cjs.entry.js +23 -17
  5. package/dist/cjs/components.cjs.js +2 -2
  6. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  7. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  8. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  9. package/dist/cjs/eds-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/eds-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
  13. package/dist/cjs/eds-card-project.cjs.entry.js +136 -8
  14. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-card-tool.cjs.entry.js +3 -3
  17. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-feedback.cjs.entry.js +7 -2
  20. package/dist/cjs/eds-frame.cjs.entry.js +3 -3
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-matomo-notice.cjs.entry.js +10 -8
  58. package/dist/cjs/eds-pagination_2.cjs.entry.js +6 -6
  59. package/dist/cjs/eds-progress-bar.cjs.entry.js +32 -5
  60. package/dist/cjs/eds-rating.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  62. package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
  64. package/dist/cjs/eds-switch.cjs.entry.js +14 -6
  65. package/dist/cjs/eds-timeline.cjs.entry.js +3 -3
  66. package/dist/cjs/eds-toast-manager.cjs.entry.js +33 -4
  67. package/dist/cjs/eds-toast.cjs.entry.js +5 -4
  68. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  69. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  70. package/dist/cjs/{index-2f63169d.js → index-88c8039f.js} +37 -319
  71. package/dist/cjs/loader.cjs.js +2 -2
  72. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  73. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  74. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  75. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  76. package/dist/cjs/svg-repository.cjs.entry.js +2 -2
  77. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  78. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  79. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  80. package/dist/collection/collection-manifest.json +3 -3
  81. package/dist/collection/components/eds-accordion/eds-accordion.css +0 -8
  82. package/dist/collection/components/eds-alert/eds-alert.css +1 -575
  83. package/dist/collection/components/eds-alert/eds-alert.stories.js +3 -1
  84. package/dist/collection/components/eds-avatar/eds-avatar.css +40 -25
  85. package/dist/collection/components/eds-avatar/eds-avatar.js +11 -21
  86. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +5 -2
  87. package/dist/collection/components/eds-block-break/eds-block-break.css +2 -27
  88. package/dist/collection/components/eds-block-break/eds-block-break.js +9 -14
  89. package/dist/collection/components/eds-button/eds-button.css +318 -8312
  90. package/dist/collection/components/eds-button/eds-button.js +5 -59
  91. package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
  92. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +5 -7
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -20
  94. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +10 -1
  95. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  96. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  97. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  98. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
  99. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
  100. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
  101. package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
  102. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
  103. package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
  104. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +33 -156
  105. package/dist/collection/components/eds-input-field/eds-input-field.js +42 -15
  106. package/dist/collection/components/eds-link/eds-link.css +384 -6247
  107. package/dist/collection/components/eds-link/eds-link.js +2 -1
  108. package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +96 -61
  109. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +48 -3
  110. package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +3 -4
  111. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  112. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +5 -1
  113. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  114. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  115. package/dist/collection/components/eds-switch/eds-switch.css +13 -2
  116. package/dist/collection/components/eds-switch/eds-switch.js +13 -5
  117. package/dist/collection/components/eds-table/eds-table.js +4 -4
  118. package/dist/collection/components/eds-table/eds-table.stories.js +1 -11
  119. package/dist/collection/components/eds-tag/eds-tag.css +22 -12
  120. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  121. package/dist/collection/components/eds-timeline/eds-timeline.css +46 -7755
  122. package/dist/collection/components/eds-timeline/eds-timeline.js +4 -1
  123. package/dist/collection/components/eds-toast/eds-toast.js +7 -7
  124. package/dist/collection/components/eds-tooltip/eds-tooltip.css +89 -93
  125. package/dist/collection/components/eds-tooltip/eds-tooltip.js +6 -120
  126. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +5 -3
  127. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  128. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  129. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  130. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  131. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  132. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  133. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  134. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  135. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  136. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  137. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +1 -1
  138. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +1 -1
  139. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
  140. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  141. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  142. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  143. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  144. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  145. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  146. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  147. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  148. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  149. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  150. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  151. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  152. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  153. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  154. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  155. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +24 -1
  156. package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +9 -1
  157. package/dist/collection/shared-ui/eds-footer/eds-footer.css +4 -0
  158. package/dist/collection/shared-ui/eds-footer/eds-footer.js +46 -2
  159. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -3
  160. package/dist/collection/shared-ui/eds-form/eds-form.js +42 -10
  161. package/dist/collection/shared-ui/eds-frame/eds-frame.css +147 -115
  162. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  163. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +149 -117
  164. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
  165. package/dist/collection/shared-ui/eds-header/eds-header.css +178 -132
  166. package/dist/collection/shared-ui/eds-header/eds-header.js +21 -40
  167. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +6 -5
  168. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +8 -6
  169. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -0
  170. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  171. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.css +2 -35
  172. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.js +2 -2
  173. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.stories.js +1 -1
  174. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +4 -128
  175. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +1 -1
  176. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +268 -7686
  177. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +10 -10
  178. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +20 -10
  179. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  180. package/dist/collection/shared-ui/eds-user/eds-user.css +36 -7758
  181. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  182. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  183. package/dist/collection/utils/analytics.js +2 -2
  184. package/dist/collection/utils/color.js +8 -8
  185. package/dist/components/analytics.js +2 -2
  186. package/dist/components/components-section.js +22 -16
  187. package/dist/components/components.css +34 -516
  188. package/dist/components/components.esm.js +1 -1
  189. package/dist/components/correct-use-of-colors.js +1 -1
  190. package/dist/components/docs-palettes.js +1 -1
  191. package/dist/components/docs-tokens.js +1 -1
  192. package/dist/components/eds-accordion2.js +1 -1
  193. package/dist/components/eds-alert2.js +1 -1
  194. package/dist/components/eds-app-root.js +2 -20
  195. package/dist/components/eds-avatar2.js +4 -15
  196. package/dist/components/eds-block-break2.js +4 -4
  197. package/dist/components/eds-button2.js +6 -60
  198. package/dist/components/eds-card-desc2.js +2 -4
  199. package/dist/components/eds-card-generic2.js +2 -2
  200. package/dist/components/eds-card-project.js +131 -2
  201. package/dist/components/eds-card-tool.js +1 -1
  202. package/dist/components/eds-cookies-preference.js +1 -1
  203. package/dist/components/eds-feedback.js +7 -1
  204. package/dist/components/eds-footer2.js +7 -3
  205. package/dist/components/eds-form.js +17 -9
  206. package/dist/components/eds-frame.js +2 -2
  207. package/dist/components/eds-fullscreen-menu.js +1 -1
  208. package/dist/components/{eds-login.d.ts → eds-gauge.d.ts} +4 -4
  209. package/dist/components/eds-gauge.js +81 -0
  210. package/dist/components/eds-header.js +15 -34
  211. package/dist/components/eds-input-field2.js +26 -16
  212. package/dist/components/eds-input-select2.js +12 -84
  213. package/dist/components/eds-link2.js +3 -2
  214. package/dist/components/eds-matomo-notice2.js +8 -6
  215. package/dist/components/{eds-card-wrapper.d.ts → eds-pie.d.ts} +4 -4
  216. package/dist/components/eds-pie.js +127 -0
  217. package/dist/components/eds-progress-bar2.js +32 -4
  218. package/dist/components/eds-rating2.js +1 -1
  219. package/dist/components/eds-section-core2.js +3 -2
  220. package/dist/components/eds-section-heading2.js +2 -2
  221. package/dist/components/eds-social-networks2.js +1 -1
  222. package/dist/components/eds-spinner2.js +1 -1
  223. package/dist/components/eds-steps-v2.js +1 -1
  224. package/dist/components/eds-steps2.js +1 -1
  225. package/dist/components/eds-switch.js +13 -5
  226. package/dist/components/eds-table2.js +4 -4
  227. package/dist/components/eds-tabs.js +11 -11
  228. package/dist/components/eds-tag2.js +2 -2
  229. package/dist/components/eds-timeline.js +2 -2
  230. package/dist/components/eds-toast-manager.js +31 -2
  231. package/dist/components/eds-toast2.js +4 -3
  232. package/dist/components/eds-tooltip.js +7 -88
  233. package/dist/components/eds-trl.js +1 -1
  234. package/dist/components/eds-user.js +10 -4
  235. package/dist/components/incorrect-use-of-colors.js +1 -1
  236. package/dist/components/logo-space.js +1 -1
  237. package/dist/components/logo-variations-horizontal2.js +1 -1
  238. package/dist/components/logo-variations-tabs.js +1 -1
  239. package/dist/components/logo-variations-vertical2.js +1 -1
  240. package/dist/components/logo-wrong-usage.js +1 -1
  241. package/dist/components/p-019555e2.entry.js +1 -0
  242. package/dist/components/p-04b4e9d0.entry.js +1 -0
  243. package/dist/components/p-0863352c.entry.js +1 -0
  244. package/dist/components/p-0d6434e1.entry.js +1 -0
  245. package/dist/components/p-0e94a89f.entry.js +1 -0
  246. package/dist/components/p-0ed92872.entry.js +1 -0
  247. package/dist/components/{p-c4db0829.entry.js → p-0eeddc13.entry.js} +1 -1
  248. package/dist/components/p-100909ce.entry.js +1 -0
  249. package/dist/components/{p-892362e0.entry.js → p-10db551c.entry.js} +1 -1
  250. package/dist/components/{p-aa2e6fec.entry.js → p-124b8747.entry.js} +1 -1
  251. package/dist/components/p-14a223fe.entry.js +1 -0
  252. package/dist/components/{p-e089797c.entry.js → p-1661f33c.entry.js} +1 -1
  253. package/dist/components/{p-05b272e5.entry.js → p-18ceadd2.entry.js} +1 -1
  254. package/dist/components/p-223ba66e.entry.js +1 -0
  255. package/dist/components/{p-751497f4.entry.js → p-24dab785.entry.js} +1 -1
  256. package/dist/components/p-26d6679b.entry.js +1 -0
  257. package/dist/components/p-2810d568.entry.js +1 -0
  258. package/dist/components/p-28ae3f3a.js +2 -0
  259. package/dist/components/p-2b1b2026.entry.js +1 -0
  260. package/dist/components/p-2c571550.entry.js +1 -0
  261. package/dist/components/p-326d9e55.entry.js +1 -0
  262. package/dist/components/p-36d6134f.entry.js +1 -0
  263. package/dist/components/p-3c642a30.entry.js +1 -0
  264. package/dist/components/p-46619042.entry.js +1 -0
  265. package/dist/components/{p-75d37c48.entry.js → p-46a6ab04.entry.js} +1 -1
  266. package/dist/components/{p-d83d2815.entry.js → p-50ea5b07.entry.js} +1 -1
  267. package/dist/components/p-511b23ec.entry.js +1 -0
  268. package/dist/components/p-5462923d.entry.js +1 -0
  269. package/dist/components/p-6199b8c0.entry.js +1 -0
  270. package/dist/components/{p-888c3471.entry.js → p-624e653e.entry.js} +1 -1
  271. package/dist/components/{p-0b99fd3c.entry.js → p-682f7376.entry.js} +1 -1
  272. package/dist/components/p-6907a47c.entry.js +1 -0
  273. package/dist/components/p-6ba42d02.entry.js +1 -0
  274. package/dist/components/p-6e929acb.entry.js +1 -0
  275. package/dist/components/p-6ede7101.entry.js +1 -0
  276. package/dist/components/p-70bac015.entry.js +1 -0
  277. package/dist/components/p-7af6b832.entry.js +1 -0
  278. package/dist/components/p-7f31622d.entry.js +1 -0
  279. package/dist/components/p-822ac246.entry.js +1 -0
  280. package/dist/components/p-848506b8.entry.js +1 -0
  281. package/dist/components/p-84fd3e40.entry.js +1 -0
  282. package/dist/components/p-85634ad2.entry.js +1 -0
  283. package/dist/components/{p-7a550385.entry.js → p-8ad05566.entry.js} +1 -1
  284. package/dist/components/{p-037975af.entry.js → p-8b016d76.entry.js} +1 -1
  285. package/dist/components/p-8bdf5841.entry.js +1 -0
  286. package/dist/components/p-8ff39cef.entry.js +1 -0
  287. package/dist/components/{p-29ad9c73.entry.js → p-a4f552b2.entry.js} +1 -1
  288. package/dist/components/p-a81cba86.entry.js +1 -0
  289. package/dist/components/p-abb2ad00.entry.js +1 -0
  290. package/dist/components/{p-b8ba7e5c.entry.js → p-adbd0d7b.entry.js} +1 -1
  291. package/dist/components/p-affe2b55.entry.js +1 -0
  292. package/dist/components/p-b31591db.entry.js +1 -0
  293. package/dist/components/{p-7db75d62.entry.js → p-b4abff90.entry.js} +1 -1
  294. package/dist/components/{p-67c72c20.entry.js → p-b50fc0d7.entry.js} +1 -1
  295. package/dist/components/p-b7efd666.entry.js +1 -0
  296. package/dist/components/p-ba784274.entry.js +1 -0
  297. package/dist/components/p-bb9af709.entry.js +1 -0
  298. package/dist/components/p-bfc62d3e.entry.js +1 -0
  299. package/dist/components/p-c0b22803.entry.js +1 -0
  300. package/dist/components/p-cdd491f5.entry.js +1 -0
  301. package/dist/components/{p-688e07d6.entry.js → p-cde3d7a4.entry.js} +1 -1
  302. package/dist/components/p-cfccddc3.entry.js +1 -0
  303. package/dist/components/p-d15065c3.js +1 -0
  304. package/dist/components/p-d268c96b.entry.js +1 -0
  305. package/dist/components/p-d437bae2.entry.js +1 -0
  306. package/dist/components/p-d456e649.entry.js +1 -0
  307. package/dist/components/p-dae8f66a.entry.js +1 -0
  308. package/dist/components/p-e1791844.entry.js +1 -0
  309. package/dist/components/p-e82edd4a.entry.js +1 -0
  310. package/dist/components/p-e9f608a8.entry.js +1 -0
  311. package/dist/components/{p-55e3683c.entry.js → p-ea97a94e.entry.js} +1 -1
  312. package/dist/components/{p-e2b00067.entry.js → p-eac593ee.entry.js} +1 -1
  313. package/dist/components/p-f26fd186.entry.js +1 -0
  314. package/dist/components/{p-7ac9881e.entry.js → p-f2c23162.entry.js} +1 -1
  315. package/dist/components/p-fc4edb18.entry.js +1 -0
  316. package/dist/components/p-fe1cba17.entry.js +1 -0
  317. package/dist/components/primary.js +1 -1
  318. package/dist/components/primary2.js +1 -1
  319. package/dist/components/secondary.js +1 -1
  320. package/dist/components/secondary2.js +7 -7
  321. package/dist/components/support.js +1 -1
  322. package/dist/components/support2.js +3 -3
  323. package/dist/components/svg-repository.js +1 -1
  324. package/dist/components/token-list2.js +1 -1
  325. package/dist/components/token-radii2.js +1 -1
  326. package/dist/components/token-ratios.js +1 -1
  327. package/dist/components/token-shadows2.js +1 -1
  328. package/dist/components/token-spacing.js +1 -1
  329. package/dist/components/token-typography.js +1 -1
  330. package/dist/esm/{analytics-44b1416b.js → analytics-d99780e3.js} +2 -2
  331. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  332. package/dist/esm/components-section.entry.js +23 -17
  333. package/dist/esm/components.js +3 -3
  334. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  335. package/dist/esm/docs-palettes.entry.js +2 -2
  336. package/dist/esm/docs-tokens.entry.js +2 -2
  337. package/dist/esm/eds-accordion.entry.js +3 -3
  338. package/dist/esm/eds-alert.entry.js +2 -2
  339. package/dist/esm/eds-app-root.entry.js +2 -2
  340. package/dist/esm/eds-avatar_34.entry.js +2694 -0
  341. package/dist/esm/eds-card-project.entry.js +133 -5
  342. package/dist/esm/eds-card-section.entry.js +1 -1
  343. package/dist/esm/eds-card-tags.entry.js +1 -1
  344. package/dist/esm/eds-card-tool.entry.js +3 -3
  345. package/dist/esm/eds-code-block.entry.js +1 -1
  346. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  347. package/dist/esm/eds-feedback.entry.js +7 -2
  348. package/dist/esm/eds-frame.entry.js +3 -3
  349. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  350. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  351. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  352. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  353. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  354. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  355. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  356. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  357. package/dist/esm/eds-icon-close.entry.js +1 -1
  358. package/dist/esm/eds-icon-copy.entry.js +1 -1
  359. package/dist/esm/eds-icon-eu.entry.js +1 -1
  360. package/dist/esm/eds-icon-external.entry.js +1 -1
  361. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  362. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  363. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  364. package/dist/esm/eds-icon-loader.entry.js +1 -1
  365. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  366. package/dist/esm/eds-icon-menu.entry.js +1 -1
  367. package/dist/esm/eds-icon-minus.entry.js +1 -1
  368. package/dist/esm/eds-icon-more.entry.js +1 -1
  369. package/dist/esm/eds-icon-paper.entry.js +1 -1
  370. package/dist/esm/eds-icon-plus.entry.js +1 -1
  371. package/dist/esm/eds-icon-portal.entry.js +1 -1
  372. package/dist/esm/eds-icon-private.entry.js +1 -1
  373. package/dist/esm/eds-icon-public.entry.js +1 -1
  374. package/dist/esm/eds-icon-search.entry.js +1 -1
  375. package/dist/esm/eds-icon-star.entry.js +1 -1
  376. package/dist/esm/eds-icon-success.entry.js +1 -1
  377. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  378. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  379. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  380. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  381. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  382. package/dist/esm/eds-icon-updown.entry.js +1 -1
  383. package/dist/esm/eds-icon-user.entry.js +1 -1
  384. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  385. package/dist/esm/eds-matomo-notice.entry.js +10 -8
  386. package/dist/esm/eds-pagination_2.entry.js +6 -6
  387. package/dist/esm/eds-progress-bar.entry.js +32 -5
  388. package/dist/esm/eds-rating.entry.js +2 -2
  389. package/dist/esm/eds-section-core_2.entry.js +4 -4
  390. package/dist/esm/eds-spinner.entry.js +2 -2
  391. package/dist/esm/eds-splash-screen.entry.js +56 -0
  392. package/dist/esm/eds-switch.entry.js +14 -6
  393. package/dist/esm/eds-timeline.entry.js +3 -3
  394. package/dist/esm/eds-toast-manager.entry.js +32 -3
  395. package/dist/esm/eds-toast.entry.js +5 -4
  396. package/dist/esm/eds-trl.entry.js +2 -2
  397. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  398. package/dist/esm/{index-8a71b9a7.js → index-fdb33359.js} +37 -319
  399. package/dist/esm/loader.js +3 -3
  400. package/dist/esm/logo-space.entry.js +2 -2
  401. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  402. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  403. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  404. package/dist/esm/svg-repository.entry.js +2 -2
  405. package/dist/esm/token-list_3.entry.js +4 -4
  406. package/dist/esm/token-ratios.entry.js +2 -2
  407. package/dist/esm/token-typography.entry.js +2 -2
  408. package/dist/hydrate/index.js +815 -2882
  409. package/dist/hydrate/index.mjs +815 -2882
  410. package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
  411. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
  412. package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
  413. package/dist/types/components/eds-button/eds-button.d.ts +0 -1
  414. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
  415. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
  416. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
  417. package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
  418. package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
  419. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
  420. package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
  421. package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
  422. package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
  423. package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
  424. package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
  425. package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
  426. package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
  427. package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
  428. package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
  429. package/dist/types/components.d.ts +211 -241
  430. package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
  431. package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
  432. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
  433. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
  434. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
  435. package/dist/types/shared-ui/eds-header/eds-header.d.ts +5 -24
  436. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
  437. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
  438. package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
  439. package/package.json +14 -4
  440. package/dist/cjs/color-c00146a8.js +0 -134
  441. package/dist/cjs/eds-avatar_27.cjs.entry.js +0 -2404
  442. package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -78
  443. package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
  444. package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
  445. package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
  446. package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
  447. package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
  448. package/dist/cjs/toastManager-4e9535f3.js +0 -33
  449. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
  450. package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
  451. package/dist/components/color.js +0 -132
  452. package/dist/components/eds-card-wrapper.js +0 -49
  453. package/dist/components/eds-login.js +0 -6
  454. package/dist/components/eds-login2.js +0 -2076
  455. package/dist/components/p-05549a74.entry.js +0 -1
  456. package/dist/components/p-0e378e0e.entry.js +0 -1
  457. package/dist/components/p-13efafb9.js +0 -1
  458. package/dist/components/p-1ec25dc2.entry.js +0 -1
  459. package/dist/components/p-202f78cc.entry.js +0 -1
  460. package/dist/components/p-22b76c3c.entry.js +0 -1
  461. package/dist/components/p-22f9e720.js +0 -1
  462. package/dist/components/p-24300934.entry.js +0 -1
  463. package/dist/components/p-25f1cc6c.entry.js +0 -1
  464. package/dist/components/p-31ca07fd.entry.js +0 -1
  465. package/dist/components/p-342bc3d8.entry.js +0 -1
  466. package/dist/components/p-35068b80.entry.js +0 -1
  467. package/dist/components/p-3950debe.entry.js +0 -1
  468. package/dist/components/p-3d74d4b1.entry.js +0 -1
  469. package/dist/components/p-42f19373.entry.js +0 -1
  470. package/dist/components/p-4ecaedbc.entry.js +0 -1
  471. package/dist/components/p-5055eb25.entry.js +0 -1
  472. package/dist/components/p-5646902d.entry.js +0 -1
  473. package/dist/components/p-5ff68e7d.entry.js +0 -1
  474. package/dist/components/p-63cc5d3d.entry.js +0 -1
  475. package/dist/components/p-6506cf52.entry.js +0 -1
  476. package/dist/components/p-6aa17003.entry.js +0 -1
  477. package/dist/components/p-6e273e0f.entry.js +0 -1
  478. package/dist/components/p-6fcb754e.entry.js +0 -1
  479. package/dist/components/p-70c9af1e.entry.js +0 -1
  480. package/dist/components/p-7180a36b.entry.js +0 -1
  481. package/dist/components/p-7351cad3.entry.js +0 -1
  482. package/dist/components/p-75cc9f9e.entry.js +0 -1
  483. package/dist/components/p-7a31c31f.entry.js +0 -1
  484. package/dist/components/p-7cb60f9c.entry.js +0 -1
  485. package/dist/components/p-8a4d9b9b.entry.js +0 -1
  486. package/dist/components/p-8b7f5204.entry.js +0 -1
  487. package/dist/components/p-8db820ef.entry.js +0 -1
  488. package/dist/components/p-ae4f5e3a.entry.js +0 -1
  489. package/dist/components/p-b024183c.entry.js +0 -1
  490. package/dist/components/p-b115c3f1.entry.js +0 -1
  491. package/dist/components/p-b3a3ae59.entry.js +0 -1
  492. package/dist/components/p-b4595a9e.entry.js +0 -1
  493. package/dist/components/p-b817dceb.entry.js +0 -1
  494. package/dist/components/p-b8ca2127.entry.js +0 -1
  495. package/dist/components/p-ba6cc102.entry.js +0 -1
  496. package/dist/components/p-c51b5f04.entry.js +0 -1
  497. package/dist/components/p-c5a7d2b1.entry.js +0 -1
  498. package/dist/components/p-c5c782e7.entry.js +0 -1
  499. package/dist/components/p-c5f98369.entry.js +0 -1
  500. package/dist/components/p-c604063d.entry.js +0 -1
  501. package/dist/components/p-c9a19e93.entry.js +0 -1
  502. package/dist/components/p-cccacbd3.js +0 -2
  503. package/dist/components/p-d164a75d.entry.js +0 -1
  504. package/dist/components/p-d4c920fa.entry.js +0 -1
  505. package/dist/components/p-d82cc261.entry.js +0 -1
  506. package/dist/components/p-da6e49a9.entry.js +0 -1
  507. package/dist/components/p-dcd4de1f.entry.js +0 -1
  508. package/dist/components/p-e8a2d709.entry.js +0 -1
  509. package/dist/components/p-ea942740.entry.js +0 -1
  510. package/dist/components/p-eb0b93d5.js +0 -1
  511. package/dist/components/p-ece20356.entry.js +0 -1
  512. package/dist/components/p-ed6fd4b8.entry.js +0 -1
  513. package/dist/components/p-f3822d6b.entry.js +0 -1
  514. package/dist/components/p-f539febe.entry.js +0 -1
  515. package/dist/components/p-f7f4b247.entry.js +0 -1
  516. package/dist/components/p-fdbfa776.entry.js +0 -1
  517. package/dist/components/p-fe27f4a9.entry.js +0 -1
  518. package/dist/components/toastManager.js +0 -31
  519. package/dist/esm/color-2554aad6.js +0 -132
  520. package/dist/esm/eds-avatar_27.entry.js +0 -2374
  521. package/dist/esm/eds-card-desc_2.entry.js +0 -73
  522. package/dist/esm/eds-card-generic.entry.js +0 -88
  523. package/dist/esm/eds-card-wrapper.entry.js +0 -28
  524. package/dist/esm/eds-login_2.entry.js +0 -2095
  525. package/dist/esm/eds-tabs.entry.js +0 -126
  526. package/dist/esm/eds-tooltip.entry.js +0 -105
  527. package/dist/esm/toastManager-d9eee791.js +0 -31
  528. package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
  529. package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
  530. /package/dist/collection/components/eds-section/eds-section-core/{eds-section-core.stories.js → eds-section-core.donotstories.js} +0 -0
  531. /package/dist/collection/components/eds-timeline/{eds-timeline.stories.js → eds-timeline.donot-stories.js} +0 -0
  532. /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
  533. /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
  534. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
  535. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{p as e}from"./p-b73410de.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"e9baa8e9d467104fdeac600678b800787ef7d736",class:this.class,innerHTML:e})}};export{a as eds_icon_paper}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{l as c}from"./p-2117611b.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"808ce738f7812024a52b4875ae3d9070bc75c02d",class:this.class,innerHTML:c})}};export{a as eds_icon_loader}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as a,g as s}from"./p-cccacbd3.js";import{m as n,a as o}from"./p-13efafb9.js";const i=class{constructor(a){t(this,a),this.consent=e(this,"consent",7),this.heading="Analytics Consent",this.description="We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.",this.optOutMessage="You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.",this.forceShow=!1,this.showNotice=!0}toggleCookiesConsent(){this.showNotice=!this.showNotice}hasCookieConsent(){return!!document.cookie.split("; ").find((t=>t.startsWith("mtm_consent=")))}optedOut(){return!!document.cookie.split("; ").find((t=>t.startsWith("mtm_consent_removed")))}getStorageKey(){return`${window.location.host}-matomo-deferred`}componentWillLoad(){if("out"===localStorage.getItem(`${window.location.host}-matomo-consent-given`)||this.optedOut())this.showNotice=!1;else if(this.forceShow)this.showNotice=!0;else if(this.hasCookieConsent())this.showNotice=!1;else{const t=sessionStorage.getItem(this.getStorageKey());this.showNotice=!t}}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((t=>{this.emitContext(t)}))}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}optInAnalytics(){n(),localStorage.removeItem(`${window.location.host}-matomo-consent-given`),this.hideNotice(),this.consent.emit("in")}optOutAnalytics(){o(),this.hideNotice(),this.consent.emit("out")}noThanks(){localStorage.setItem(`${window.location.host}-matomo-consent-given`,"out"),this.hideNotice()}deferDecision(){sessionStorage.setItem(this.getStorageKey(),"true"),this.hideNotice(),this.consent.emit("defer")}keepMeIn(){this.hideNotice()}hideNotice(){this.showNotice=!1}render(){return this.showNotice?a("div",{class:"fixed bottom-0 p-8 z-[999999] grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center"},a("eds-accordion",{title:this.heading,description:this.hasCookieConsent()?this.optOutMessage:this.description,switchBg:!0,expanded:!0},this.hasCookieConsent()?a("div",{class:"flex items-center gap-4"},this.optedOut()?a("eds-button",{intent:"primary",label:"Opt me in again","aria-label":"Opt me in again",onClick:()=>this.optInAnalytics()}):a("eds-button",{intent:"primary",label:"Keep Me In","aria-label":"Keep Me In",onClick:()=>this.keepMeIn()}),a("eds-button",{intent:"ghostInverse",label:"Opt-out","aria-label":"Opt-out from analytics",onClick:()=>this.optOutAnalytics()})):a("div",{class:"flex items-center gap-4"},a("eds-button",{intent:"primary",label:"I agree","aria-label":"Opt-in for analytics",onClick:()=>this.optInAnalytics()}),a("eds-button",{intent:"ghost",label:"No, thanks","aria-label":"Opt-out from analytics",onClick:()=>this.noThanks()}),a("eds-button",{intent:"ghost",label:"Ask me later","aria-label":"Defer analytics decision",onClick:()=>this.deferDecision()})))):null}get el(){return s(this)}};i.style=".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}";export{i as eds_matomo_notice}
@@ -1 +0,0 @@
1
- import{r as e,h as c}from"./p-cccacbd3.js";const a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],s=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],o=class{constructor(c){e(this,c)}render(){return c("div",{key:"1cfc3c78012371498476886214e85fbf6e387626",class:"container"},c("eds-alert",{key:"33449eeae0bca270a82d32de75d5d7c54d8b8c6c",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),c("div",{key:"d436f34bf074c175c6308b822c820604a5e272bc",class:"flex"},c("div",{key:"5f839c0f214b774f13af1499fe3e5f8485f959c5",class:"w-full"},c("ul",{key:"5cbb81288c0e61431aed523d77f2c6d231c8ce7e",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map((e=>c("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},c("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),c("div",{key:"3622c7c8376208843d3e59c6548e41d9ca8c2b21",class:"w-full"},c("ul",{key:"d74e34f45e1d377be5f1087a345dee219b1fc5a3",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map((e=>c("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},c("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{o as incorrect_use_of_colors}
@@ -1 +0,0 @@
1
- import{r as c,h as r}from"./p-cccacbd3.js";import{a as s}from"./p-c8e7c854.js";const a=class{constructor(r){c(this,r),this.class=""}render(){return r("span",{key:"557b38fd6253b4a29c4cf2ec2b9f79355ceca358",class:this.class,innerHTML:s})}};export{a as eds_icon_arrow_right}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{t as e}from"./p-c776b6f8.js";const r=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"eee2fdd0cdf1e9735e90f34c6bb090f3df67eb49",class:this.class,innerHTML:e})}};export{r as eds_icon_thumbs_up}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{p as c}from"./p-c1e4ef92.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"c9f384bf790dd2eef9b84e757403106209f05c04",class:this.class,innerHTML:c})}};export{e as eds_icon_portal}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{p as r}from"./p-024c7937.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"94970e6d7f414cde04a3dae305f3dda43f477e55",class:this.class,innerHTML:r})}};export{e as eds_icon_public}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as s}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.tiny=!1,this.withBg=!0,this.withHover=!0}hasSlot(e){return e?!!this.el.querySelector(`[slot="${e}"]`):!!this.el.querySelector(":not([slot])")}render(){const e=[this.tiny?"min-h-120":"min-h-156",this.withBg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ");return t("article",{key:"7a191039487c388e752c964c8fd47fb397943994",class:e},t("slot",{key:"ac497c9f36089467abcb6b52e3e356405616dfd6"}),this.hasSlot("footer")&&t("div",{key:"eba2425d01514dffa83ec4b4fdfe1878719addd8",class:"mt-auto"},t("slot",{key:"57f799838be78cdc8b61b9071d68f913b8eef51b",name:"footer"})))}get el(){return s(this)}};export{r as eds_card_wrapper}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as r}from"./p-cccacbd3.js";const i=class{constructor(t){e(this,t),this.frameLabel=void 0,this.frameSrc=void 0,this.urlLabel="Open",this.errorMessage="Could not load the requested content. Please check the URL or try again later.",this.url=void 0,this.intent="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});e.dispatchEvent(t)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-auto"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch(e){this.iframeError=!0}}render(){return t("div",{key:"69d47526ffca56defb1e9da214c46822fa963c14",class:this.articleClasses()},t("div",{key:"cab7cd55b15afaa77a4f4b713c55a6776dcb6a2d",class:"effect-height flex items-center justify-between py-8 px-12"},t("span",{key:"99b5499c4bf992cc7101d6ea6812000283a34968",class:"f-ui-02"},this.frameLabel),this.iframeError?null:t("eds-link",{label:this.urlLabel,url:this.url,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),t("div",{key:"275490ec93896eafe8a7042b86769b1f96e8bc8f",class:"border-softer"},this.iframeError?t("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):t("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return r(this)}};i.style=".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";export{i as eds_frame}
@@ -1 +0,0 @@
1
- import{r as s,h as e}from"./p-cccacbd3.js";import{b as r}from"./p-81899237.js";const a=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"4eba69bfec926b7a3490feee15b5947a8ab8a7b9",class:this.class,innerHTML:r})}};export{a as eds_icon_bluesky}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{m as r}from"./p-29041952.js";const o=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"546f5d7c76d57c07c34b6455cb1df4fea6c57302",class:this.class,innerHTML:r})}};export{o as eds_icon_more}
@@ -1 +0,0 @@
1
- import{r as e,h as i}from"./p-cccacbd3.js";const t=class{constructor(i){e(this,i),this.description=void 0,this.descClass="f-ui-03-light",this.truncate=!0,this.truncateLines="3"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return i("p",{key:"3ea345f69bed29135df8231c79eaea0f06e813df",class:`text-light ${this.descClass}`},i("span",{key:"99c383485ec0852be81a05fe0999cb429fee4a27",class:this.getTruncateClass()},this.description))}};t.style=".f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.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}";const a=class{constructor(i){e(this,i),this.url=void 0,this.titleClass=void 0,this.headingLevel="h3",this.externalLink=!1,this.cardTitle=void 0,this.hierarchy=!0}getTitleClass(){return`f-heading-${(this.hierarchy?{h1:"05",h2:"05",h3:"05",h4:"05",h5:"05",h6:"06"}:{h1:"01",h2:"02",h3:"03",h4:"04",h5:"05",h6:"06"})[this.headingLevel]}`}render(){return i(this.headingLevel,{key:"9914950b1581456a3a875ed7383975710c05fa7f",class:this.getTitleClass()},i("a",{key:"9b3298d8bacd8fbaecd8c714329ef5e6ac7192c7",class:"break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.cardTitle))}};a.style="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.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)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}";export{t as eds_card_desc,a as eds_card_title}
@@ -1 +0,0 @@
1
- import{r as e,h as s}from"./p-cccacbd3.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"f07162204271dca0f1ec8a3d309ab9d38a9fff4f"},s("eds-section-heading",{key:"c4db2a67151fcec22306f624b071725518292e65",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),s("slot",{key:"e610f4777f1b334e20482862504085f5317a63df"}))}};t.style="";const i=class{constructor(s){e(this,s),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){return s(this.tag,{key:"efa6dd7e228db2b86961efdff9b5dd9729a1a24b",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},s(this.headingLevel,{key:"dd50f0fe3baf084c71dc4c8fa745484645a58f76",class:this.getHeadingClass()},this.sectionTitle))}};export{t as eds_section_core,i as eds_section_heading}
@@ -1 +0,0 @@
1
- import{r as t,h as e}from"./p-cccacbd3.js";const l=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("div",null,e("h2",null,"Primary Palette"),e("color-primary-palette",null),e("h2",null,"Secondary Palette"),e("color-secondary-palette",null),e("h2",null,"Support Palette"),e("color-support-palette",null));case 1:return e("div",null,e("h2",null,"Primary Palette"),e("gradient-primary-palette",null),e("h2",null,"Secondary Palette"),e("gradient-secondary-palette",null),e("h2",null,"Support Palette"),e("gradient-support-palette",null));default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"41ac7248f45204f420ab2954e26529577e2cb27f",class:"container"},this.renderContent())}};export{l as docs_palettes}
@@ -1 +0,0 @@
1
- import{r as s,h as e}from"./p-cccacbd3.js";import{g as r}from"./p-50e27321.js";const t=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"280eb778fd7028ef60305eee614213f8a39a35f2",class:this.class,innerHTML:r})}};export{t as eds_icon_gitlab}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{p as r}from"./p-694fc085.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"d03d51d5aee837edab83aa71cf82fd415a8c71c3",class:this.class,innerHTML:r})}};export{a as eds_icon_private}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{s as r}from"./p-b822abb7.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"8b5d4cfeedf6d7e9bea48d7ba892527d484c858d",class:this.class,innerHTML:r})}};export{e as eds_icon_success}
@@ -1 +0,0 @@
1
- import{r as c,h as s}from"./p-cccacbd3.js";import{m as r}from"./p-aefcb641.js";const a=class{constructor(s){c(this,s),this.class=""}render(){return s("span",{key:"f9dcfa2e4c9cc938f3fd994ca3637c80f0495028",class:this.class,innerHTML:r})}};export{a as eds_icon_menu}
@@ -1 +0,0 @@
1
- import{r as i,c as e,h as t,g as n}from"./p-cccacbd3.js";import{p as a}from"./p-69c5074b.js";const f=class{constructor(t){i(this,t),this.rating=e(this,"rating",7),this.type="star",this.count=5,this.label="Rate your Experience!",this.description="This is a description!",this.textMapping=["Very Poor","Poor","Average","Good","Excellent"],this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((i=>{this.emitContext(i)}))}emitContext(i){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});i.dispatchEvent(e)}get parsedMappings(){return a(this.textMapping)}ratingUpdated(i){this.selectedRating=i.detail}render(){return t("div",{key:"a8cf97bdcd7957b98dfca11e178361acf667c23c",class:"grid inline"},t("h1",{key:"231bb9f49dc6084045a392b1d93c9b4454bbf268",class:"f-heading-01 my-4"},this.label),t("p",{key:"a70274de05139c8ab40b5a4a2e599dc14b3d3a9f",class:"f-body-01 text-light"},this.description),t("eds-rating",{key:"5353b7616112591240819e4b762790224a1b7cc7","rating-type":this.type,"rating-count":this.count}),this.selectedRating>0&&this.parsedMappings[this.selectedRating-1]&&t("span",{key:"e5f8f10fb052a6de080b61cf78c309a55d081576",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}get el(){return n(this)}};f.style="h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.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)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}";export{f as eds_feedback}
@@ -1 +0,0 @@
1
- import{r as s,h as a}from"./p-cccacbd3.js";import{s as r}from"./p-2066b033.js";const c=class{constructor(a){s(this,a),this.class=""}render(){return a("span",{key:"2c35a35b31a988ffa690816a8699d2aac43dd916",class:this.class,innerHTML:r})}};export{c as eds_icon_search}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{p as c}from"./p-cdf19579.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"7510fb2b948a83c216a375f2a84a16b10b38054e",class:this.class,innerHTML:c})}};export{a as eds_icon_plus}
@@ -1 +0,0 @@
1
- import{h as e,r as n}from"./p-cccacbd3.js";const t=()=>e("div",{class:"static-content container"},e("h2",null,"Load the module"),e("p",null,"Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you’re working on a simple HTML page, you can start using the components immediately by adding the tags below to the"," ",e("code",null,"head"),"."),e("eds-code-block",{code:"<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n<\/script>",language:"javascript","copy-label":"Copy Code"}),e("p",null,"This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),e("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("p",null,"Once included, components can be used in your markup like any other regular HTML elements:"),e("eds-code-block",{code:'<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>',language:"html","copy-label":"Copy Code"}),e("h2",null,"Load the styles"),e("p",null,"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the"," ",e("code",null,"head")),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"To directly use only the produced variables add the tag below to the ",e("code",null,"head")),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"Note that, loading the predefined CSS framework above,"," ",e("b",null,"automatically loads the fonts so you can skip loading them separately"),". If you wish, however, to load the fonts, add the tag below to the ",e("code",null,"head")),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"})),s=()=>e("div",null,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."),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/components",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/assets",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/react",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/vue",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/angular",language:"html","copy-label":"Copy Code"}))),o=()=>e("div",null,e("h2",null,"React Wrappers"),e("p",null,"To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),e("eds-code-block",{code:"npm install @ebrains/react",language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example React App","heading-level":"h3"},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."),e("eds-code-block",{code:"\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n",language:"javascript","copy-label":"Copy Code"}))),a=()=>e("div",null,e("h2",null,"Vue Wrappers"),e("p",null,"To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),e("eds-code-block",{code:"npm install @ebrains/vue",language:"javascript","copy-label":"Copy Code"}),e("h2",null,"Passing Properties to Custom Elements Using the ",e("b",null,".prop")," Modifier in Vue Wrappers"),e("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("h3",null,"How to Use the ",e("b",null,".prop")," Modifier"),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:"),e("div",{class:"my-8"},e("eds-alert",{message:"This may lead to issues because Vue binds these as attributes .",intent:"error"})),e("eds-code-block",{code:'<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>',language:"javascript","copy-label":"Copy Code"}),e("div",{class:"my-8"},e("eds-alert",{message:"Use the .prop modifier to ensure properties are passed correctly.",intent:"default"})),e("eds-code-block",{code:'<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>',language:"javascript","copy-label":"Copy Code"}),e("p",null,"Using the ",e("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("eds-section-core",{"section-title":"Example Vue App","heading-level":"h3"},e("eds-code-block",{code:'\n<template>\n <div>\n <EdsHeader></EdsHeader>\n \x3c!-- render the splash until we manually hide it --\x3e\n <EdsSplashScreen inverse="false" />\n\n \x3c!-- then show main UI --\x3e\n <div v-if="!splashVisible" class="container my-16">\n <EdsSteps \n :steps="JSON.stringify(stepsdata)"\n type="linear"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: { EdsHeader, EdsSplashScreen, EdsSteps },\n data() {\n return {\n stepsdata: [\n { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },\n { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }\n ],\n splashVisible: true\n };\n },\n methods: {\n delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n async initialize() {\n try {\n // simulate your init work\n await this.delay(2000);\n\n // fire the built-in event that EdsSplashScreen listens for\n window.dispatchEvent(new Event("hideSplash"));\n } catch (e) {\n console.error("Init error", e);\n window.dispatchEvent(new Event("hideSplash"));\n } finally {\n // show the rest of the app\n this.splashVisible = false;\n }\n }\n },\n mounted() {\n this.initialize();\n }\n};\n<\/script>\n',language:"javascript","copy-label":"Copy Code"}))),l=()=>e("div",null,e("h2",null,"Angular Wrappers"),e("p",null,"To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),e("eds-code-block",{code:"npm install @ebrains/angular",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Define the custom elements"),e("eds-code-block",{code:"import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Angular Custom Elements Schema"),e("eds-code-block",{code:'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";',language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example Angular App","heading-level":"h3"},e("eds-code-block",{code:'\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>',language:"javascript","copy-label":"Copy Code"}))),i=class{constructor(e){n(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e(t,null);case 1:return e(s,null);case 2:return e(o,null);case 3:return e(a,null);case 4:return e(l,null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"ee1dd33b05afae12511c5876db4e8bd771117853",class:"container"},this.renderContent())}};export{i as components_section}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{b as c}from"./p-05754401.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"5978393f7c5bdc6a1a23b85ded49503dacab3ff2",class:this.class,innerHTML:c})}};export{a as eds_icon_bookmark}
@@ -1 +0,0 @@
1
- import{r as e,h as t}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.value=0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=this.value;return t("div",{key:"0f47fedbf9d44887f65b399e184215f0937b1df1",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden"},t("div",{key:"a2d095d778842c969832ea6b1ba7f7ef917d1390",class:"inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02",style:{width:`${e}%`}},e,"%"))}};r.style=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}";export{r as eds_progress_bar}
@@ -1 +0,0 @@
1
- import{r as c,h as s}from"./p-cccacbd3.js";import{c as e}from"./p-ece618b3.js";const r=class{constructor(s){c(this,s),this.class=""}render(){return s("span",{key:"8a2d0acc90ce3515e059818d704d7ce427cdd56e",class:this.class,innerHTML:e})}};export{r as eds_icon_chevron_left}