@ebrains/components 0.7.0-alpha.1 → 0.8.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (566) hide show
  1. package/README.md +370 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  3. package/dist/cjs/components.cjs.js +1 -1
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  5. package/dist/cjs/eds-accordion_17.cjs.entry.js +1468 -0
  6. package/dist/cjs/eds-alert.cjs.entry.js +11 -4
  7. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  8. package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
  9. package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
  10. package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-components-section.cjs.entry.js +34 -20
  17. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-form.cjs.entry.js +211 -146
  22. package/dist/cjs/eds-frame.cjs.entry.js +3 -3
  23. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-eu.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-more.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-input_7.cjs.entry.js +357 -0
  49. package/dist/cjs/eds-login_2.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-modal.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
  53. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  56. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-svg-repository.cjs.entry.js +5 -1
  58. package/dist/cjs/eds-switch.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-timeline.cjs.entry.js +5 -1
  61. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  62. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  63. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  64. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  65. package/dist/cjs/index-2f63169d.js +14 -22
  66. package/dist/cjs/loader.cjs.js +1 -1
  67. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  68. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  69. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  70. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  71. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  72. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  73. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  74. package/dist/collection/collection-manifest.json +3 -4
  75. package/dist/collection/components/eds-accordion/eds-accordion.css +12 -8
  76. package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
  77. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
  78. package/dist/collection/components/eds-alert/eds-alert.css +223 -91
  79. package/dist/collection/components/eds-alert/eds-alert.js +28 -3
  80. package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
  81. package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
  82. package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
  83. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
  84. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  85. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
  86. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
  87. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
  88. package/dist/collection/components/eds-button/eds-button.css +8420 -6638
  89. package/dist/collection/components/eds-button/eds-button.js +1 -1
  90. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +4 -1
  91. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  92. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  94. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
  95. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -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-code-block/eds-code-block.css +30 -3
  99. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  100. package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
  101. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  102. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  103. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  104. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +4 -4
  106. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  120. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  121. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  122. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  123. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  124. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  125. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  126. package/dist/collection/components/eds-img/eds-img.js +2 -2
  127. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  128. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  129. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +5 -5
  130. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +8 -10
  131. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
  132. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
  133. package/dist/collection/components/eds-input-field/eds-input-field.css +651 -52
  134. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  135. package/dist/collection/components/eds-link/eds-link.css +12 -204
  136. package/dist/collection/components/eds-link/eds-link.js +5 -5
  137. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  138. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  139. package/dist/collection/components/eds-pagination/eds-pagination.css +137 -109
  140. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  141. package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
  142. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  143. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  144. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  145. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +3 -3
  146. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  147. package/dist/collection/components/eds-steps/eds-steps.js +48 -1
  148. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  149. package/dist/collection/components/eds-table/eds-table.js +42 -27
  150. package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
  151. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  152. package/dist/collection/components/eds-timeline/eds-timeline.css +7758 -0
  153. package/dist/collection/components/eds-timeline/eds-timeline.js +12 -1
  154. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  155. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  156. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  157. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  158. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  159. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  160. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  161. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  162. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  163. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  164. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  165. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  169. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  170. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
  171. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  172. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  173. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
  174. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.css +5 -0
  175. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +11 -1
  176. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  177. package/dist/collection/eds-docs-ui/functional/overview.js +18 -1
  178. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  179. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  180. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  181. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  182. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  183. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  184. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +1 -6
  185. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
  186. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  187. package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
  188. package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
  189. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
  190. package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
  191. package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +7 -6
  192. package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
  193. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
  194. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +2 -2
  195. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +1 -1
  196. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
  197. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
  198. package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
  199. package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
  200. package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
  201. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
  202. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
  203. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  204. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +361 -0
  205. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
  206. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +32 -48
  207. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
  208. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  209. package/dist/collection/shared-ui/eds-user/eds-user.css +7758 -0
  210. package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
  211. package/dist/collection/shared-ui/eds-user/eds-user.stories.js +1 -1
  212. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  213. package/dist/components/components.css +32 -48
  214. package/dist/components/components.esm.js +1 -1
  215. package/dist/components/correct-use-of-colors.js +1 -1
  216. package/dist/components/eds-accordion2.js +10 -8
  217. package/dist/components/eds-alert2.js +12 -4
  218. package/dist/components/eds-app-root.js +1 -1
  219. package/dist/components/eds-avatar2.js +13 -8
  220. package/dist/components/eds-block-break2.js +1 -1
  221. package/dist/components/eds-breadcrumb.js +6 -2
  222. package/dist/components/eds-button2.js +2 -2
  223. package/dist/components/eds-card-desc2.js +1 -1
  224. package/dist/components/eds-card-generic2.js +1 -1
  225. package/dist/components/eds-card-project.js +1 -1
  226. package/dist/components/eds-card-tags.js +1 -1
  227. package/dist/components/eds-card-title2.js +1 -1
  228. package/dist/components/eds-card-tool.js +1 -1
  229. package/dist/components/eds-card-wrapper.js +1 -1
  230. package/dist/components/eds-code-block2.js +1 -1
  231. package/dist/components/eds-components-section.js +58 -32
  232. package/dist/components/eds-cookies-preference.js +2 -3
  233. package/dist/components/eds-docs-palettes.js +1 -1
  234. package/dist/components/eds-docs-tokens.js +1 -1
  235. package/dist/components/eds-dropdown2.js +4 -3
  236. package/dist/components/eds-feedback.js +1 -1
  237. package/dist/components/eds-footer2.js +13 -6
  238. package/dist/components/eds-form.js +234 -189
  239. package/dist/components/eds-frame.js +3 -3
  240. package/dist/components/eds-fullscreen-menu.js +4 -3
  241. package/dist/components/eds-header.js +5 -4
  242. package/dist/components/eds-icon-arrow-diagonal.js +3 -3
  243. package/dist/components/eds-icon-arrow-right.js +1 -1
  244. package/dist/components/eds-icon-bluesky.js +1 -1
  245. package/dist/components/eds-icon-chevron-down.js +1 -1
  246. package/dist/components/eds-icon-chevron-left.js +1 -1
  247. package/dist/components/eds-icon-chevron-right.js +1 -1
  248. package/dist/components/eds-icon-chevron-up.js +1 -1
  249. package/dist/components/eds-icon-close.js +1 -1
  250. package/dist/components/eds-icon-copy.js +1 -1
  251. package/dist/components/eds-icon-eu.js +1 -1
  252. package/dist/components/eds-icon-facebook.js +1 -1
  253. package/dist/components/eds-icon-gitlab.js +1 -1
  254. package/dist/components/eds-icon-linkedin.js +1 -1
  255. package/dist/components/eds-icon-loader.js +1 -1
  256. package/dist/components/eds-icon-mastodon.js +1 -1
  257. package/dist/components/eds-icon-menu.js +1 -1
  258. package/dist/components/eds-icon-more.js +1 -1
  259. package/dist/components/eds-icon-search.js +1 -1
  260. package/dist/components/eds-icon-star.js +1 -1
  261. package/dist/components/eds-icon-success.js +1 -1
  262. package/dist/components/eds-icon-thumbs-down.js +1 -1
  263. package/dist/components/eds-icon-thumbs-up.js +1 -1
  264. package/dist/components/eds-icon-twitter.js +1 -1
  265. package/dist/components/eds-icon-user.js +1 -1
  266. package/dist/components/eds-icon-youtube.js +1 -1
  267. package/dist/components/eds-img2.js +2 -2
  268. package/dist/components/eds-input-field2.js +3 -3
  269. package/dist/components/eds-input-footer2.js +1 -1
  270. package/dist/components/eds-input-label2.js +1 -1
  271. package/dist/components/eds-input-range2.js +1 -3
  272. package/dist/components/eds-input-search2.js +24 -2
  273. package/dist/components/eds-input-select2.js +1 -1
  274. package/dist/components/eds-input2.js +2 -2
  275. package/dist/components/eds-link2.js +6 -6
  276. package/dist/components/eds-login2.js +1 -1
  277. package/dist/components/eds-logo-variations.js +1 -1
  278. package/dist/components/eds-logo2.js +1 -1
  279. package/dist/components/eds-matomo-notice2.js +32 -4
  280. package/dist/components/eds-modal.js +2 -2
  281. package/dist/components/eds-pagination2.js +1 -1
  282. package/dist/components/eds-progress-bar2.js +1 -1
  283. package/dist/components/eds-rating2.js +1 -1
  284. package/dist/components/eds-section-core2.js +1 -1
  285. package/dist/components/eds-section-heading2.js +3 -3
  286. package/dist/components/eds-social-networks2.js +1 -1
  287. package/dist/components/eds-spinner2.js +1 -1
  288. package/dist/components/{eds-form-v2.d.ts → eds-steps-v2.d.ts} +4 -4
  289. package/dist/components/eds-steps-v2.js +137 -0
  290. package/dist/components/eds-steps.js +1 -92
  291. package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
  292. package/dist/components/eds-svg-repository.js +5 -1
  293. package/dist/components/eds-switch.js +2 -2
  294. package/dist/components/eds-table2.js +41 -26
  295. package/dist/components/eds-tabs.js +2 -2
  296. package/dist/components/eds-tag2.js +1 -1
  297. package/dist/components/eds-timeline.js +7 -2
  298. package/dist/components/eds-toast-manager.js +1 -1
  299. package/dist/components/eds-tooltip.js +1 -1
  300. package/dist/components/eds-trl.js +1 -1
  301. package/dist/components/eds-user.js +26 -9
  302. package/dist/components/incorrect-use-of-colors.js +1 -1
  303. package/dist/components/logo-space.js +1 -1
  304. package/dist/components/logo-variations-horizontal2.js +1 -1
  305. package/dist/components/logo-variations-vertical2.js +1 -1
  306. package/dist/components/logo-wrong-usage.js +1 -1
  307. package/dist/components/{p-62f2f274.entry.js → p-01cb7ceb.entry.js} +1 -1
  308. package/dist/components/p-03a38eab.entry.js +1 -0
  309. package/dist/components/p-05d8fdc3.entry.js +1 -0
  310. package/dist/components/{p-8b70a350.entry.js → p-07ba7c89.entry.js} +1 -1
  311. package/dist/components/p-0918a2e2.entry.js +1 -0
  312. package/dist/components/p-096d3274.entry.js +1 -0
  313. package/dist/components/{p-ad746789.entry.js → p-0f73391d.entry.js} +1 -1
  314. package/dist/components/p-10a318e0.entry.js +1 -0
  315. package/dist/components/p-16e0b902.entry.js +1 -0
  316. package/dist/components/{p-5e63e8a5.entry.js → p-18e10983.entry.js} +1 -1
  317. package/dist/components/p-215f3b21.entry.js +1 -0
  318. package/dist/components/{p-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
  319. package/dist/components/{p-c935aa46.entry.js → p-24507e71.entry.js} +1 -1
  320. package/dist/components/p-30075622.entry.js +1 -0
  321. package/dist/components/p-32a7f571.entry.js +1 -0
  322. package/dist/components/p-376b706b.entry.js +1 -0
  323. package/dist/components/{p-fba4080d.entry.js → p-3f0fd469.entry.js} +1 -1
  324. package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
  325. package/dist/components/p-4675ac16.entry.js +1 -0
  326. package/dist/components/p-46c9a35e.entry.js +1 -0
  327. package/dist/components/{p-2354daeb.entry.js → p-4aefc66e.entry.js} +1 -1
  328. package/dist/components/p-4bcf6077.entry.js +1 -0
  329. package/dist/components/{p-56ec190f.entry.js → p-4d295eb7.entry.js} +1 -1
  330. package/dist/components/{p-9eb2e870.entry.js → p-4df00ba5.entry.js} +1 -1
  331. package/dist/components/p-5cf480a8.entry.js +1 -0
  332. package/dist/components/p-5d26f527.entry.js +1 -0
  333. package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
  334. package/dist/components/p-64f6f07e.entry.js +1 -0
  335. package/dist/components/p-69e5af42.entry.js +1 -0
  336. package/dist/components/p-6a73ac42.entry.js +1 -0
  337. package/dist/components/p-70201ae6.entry.js +1 -0
  338. package/dist/components/p-7ba154c5.entry.js +1 -0
  339. package/dist/components/p-7ba4ca15.entry.js +1 -0
  340. package/dist/components/p-84faf1b3.entry.js +1 -0
  341. package/dist/components/p-8527ef5f.entry.js +1 -0
  342. package/dist/components/{p-066f6d27.entry.js → p-8803ecf9.entry.js} +1 -1
  343. package/dist/components/p-8baa7e01.entry.js +1 -0
  344. package/dist/components/p-8cf4ee6e.entry.js +1 -0
  345. package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
  346. package/dist/components/p-9873ebec.entry.js +1 -0
  347. package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
  348. package/dist/components/p-9e2a0f5a.entry.js +1 -0
  349. package/dist/components/p-9f4ad4e4.entry.js +1 -0
  350. package/dist/components/{p-a91ab66e.entry.js → p-a02c5c4a.entry.js} +1 -1
  351. package/dist/components/p-a0abe772.entry.js +1 -0
  352. package/dist/components/p-a1d55013.entry.js +1 -0
  353. package/dist/components/{p-4cd69983.entry.js → p-a6bf9bf8.entry.js} +1 -1
  354. package/dist/components/p-abaf04e1.entry.js +1 -0
  355. package/dist/components/p-ae60f98b.entry.js +1 -0
  356. package/dist/components/p-b299b89a.entry.js +1 -0
  357. package/dist/components/p-b2f0f40b.entry.js +1 -0
  358. package/dist/components/p-b4332c34.entry.js +1 -0
  359. package/dist/components/p-b47d115d.entry.js +1 -0
  360. package/dist/components/p-c86243a3.entry.js +1 -0
  361. package/dist/components/p-cdc36ea8.entry.js +1 -0
  362. package/dist/components/p-ceac6200.entry.js +1 -0
  363. package/dist/components/{p-5520a3b6.entry.js → p-cee891dc.entry.js} +1 -1
  364. package/dist/components/p-d06faa08.entry.js +1 -0
  365. package/dist/components/{p-a5c61d1c.entry.js → p-d17ea8af.entry.js} +1 -1
  366. package/dist/components/p-d2159cc9.entry.js +1 -0
  367. package/dist/components/p-d895d036.entry.js +1 -0
  368. package/dist/components/{p-b80a9020.entry.js → p-db970de6.entry.js} +1 -1
  369. package/dist/components/p-e343cd31.entry.js +1 -0
  370. package/dist/components/{p-c06d4f14.entry.js → p-e3811d4b.entry.js} +1 -1
  371. package/dist/components/p-e8bd6106.entry.js +1 -0
  372. package/dist/components/p-e96a5c8e.entry.js +1 -0
  373. package/dist/components/{p-ff7acb55.entry.js → p-f223a835.entry.js} +1 -1
  374. package/dist/components/{p-e64cd6f7.entry.js → p-f2e66c82.entry.js} +1 -1
  375. package/dist/components/p-fec4cba7.entry.js +1 -0
  376. package/dist/components/primary.js +1 -1
  377. package/dist/components/primary2.js +1 -1
  378. package/dist/components/secondary.js +1 -1
  379. package/dist/components/secondary2.js +7 -7
  380. package/dist/components/support.js +1 -1
  381. package/dist/components/support2.js +3 -3
  382. package/dist/components/token-list2.js +1 -1
  383. package/dist/components/token-radii2.js +1 -1
  384. package/dist/components/token-ratios.js +1 -1
  385. package/dist/components/token-shadows2.js +1 -1
  386. package/dist/components/token-spacing.js +1 -1
  387. package/dist/components/token-typography.js +1 -1
  388. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  389. package/dist/esm/components.js +1 -1
  390. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  391. package/dist/esm/eds-accordion_17.entry.js +1448 -0
  392. package/dist/esm/eds-alert.entry.js +11 -4
  393. package/dist/esm/eds-app-root.entry.js +1 -1
  394. package/dist/esm/eds-breadcrumb.entry.js +6 -2
  395. package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
  396. package/dist/esm/eds-card-generic.entry.js +1 -1
  397. package/dist/esm/eds-card-project.entry.js +1 -1
  398. package/dist/esm/eds-card-tags.entry.js +1 -1
  399. package/dist/esm/eds-card-tool.entry.js +1 -1
  400. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  401. package/dist/esm/eds-code-block.entry.js +1 -1
  402. package/dist/esm/eds-components-section.entry.js +34 -20
  403. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  404. package/dist/esm/eds-docs-palettes.entry.js +1 -1
  405. package/dist/esm/eds-docs-tokens.entry.js +1 -1
  406. package/dist/esm/eds-feedback.entry.js +1 -1
  407. package/dist/esm/eds-form.entry.js +209 -144
  408. package/dist/esm/eds-frame.entry.js +3 -3
  409. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  410. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  411. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  412. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  413. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  414. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  415. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  416. package/dist/esm/eds-icon-close.entry.js +1 -1
  417. package/dist/esm/eds-icon-copy.entry.js +1 -1
  418. package/dist/esm/eds-icon-eu.entry.js +1 -1
  419. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  420. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  421. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  422. package/dist/esm/eds-icon-loader.entry.js +1 -1
  423. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  424. package/dist/esm/eds-icon-menu.entry.js +1 -1
  425. package/dist/esm/eds-icon-more.entry.js +1 -1
  426. package/dist/esm/eds-icon-search.entry.js +1 -1
  427. package/dist/esm/eds-icon-star.entry.js +1 -1
  428. package/dist/esm/eds-icon-success.entry.js +1 -1
  429. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  430. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  431. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  432. package/dist/esm/eds-icon-user.entry.js +1 -1
  433. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  434. package/dist/esm/eds-input_7.entry.js +347 -0
  435. package/dist/esm/eds-login_2.entry.js +1 -1
  436. package/dist/esm/eds-logo-variations.entry.js +1 -1
  437. package/dist/esm/eds-modal.entry.js +2 -2
  438. package/dist/esm/eds-pagination_2.entry.js +398 -0
  439. package/dist/esm/eds-progress-bar.entry.js +1 -1
  440. package/dist/esm/eds-rating.entry.js +1 -1
  441. package/dist/esm/eds-section-core_2.entry.js +4 -4
  442. package/dist/esm/eds-spinner.entry.js +1 -1
  443. package/dist/esm/eds-svg-repository.entry.js +5 -1
  444. package/dist/esm/eds-switch.entry.js +2 -2
  445. package/dist/esm/eds-tabs.entry.js +2 -2
  446. package/dist/esm/eds-timeline.entry.js +5 -1
  447. package/dist/esm/eds-toast-manager.entry.js +1 -1
  448. package/dist/esm/eds-tooltip.entry.js +1 -1
  449. package/dist/esm/eds-trl.entry.js +1 -1
  450. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  451. package/dist/esm/index-8a71b9a7.js +14 -22
  452. package/dist/esm/loader.js +1 -1
  453. package/dist/esm/logo-space.entry.js +1 -1
  454. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  455. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  456. package/dist/esm/token-list_3.entry.js +3 -3
  457. package/dist/esm/token-ratios.entry.js +1 -1
  458. package/dist/esm/token-spacing.entry.js +1 -1
  459. package/dist/esm/token-typography.entry.js +1 -1
  460. package/dist/hydrate/index.js +551 -748
  461. package/dist/hydrate/index.mjs +551 -748
  462. package/dist/stencil.config.js +2 -33
  463. package/dist/types/components/eds-accordion/eds-accordion.d.ts +4 -2
  464. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
  465. package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
  466. package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
  467. package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
  468. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
  469. package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
  470. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
  471. package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +1 -1
  472. package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +13 -0
  473. package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +21 -0
  474. package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
  475. package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
  476. package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
  477. package/dist/types/components/eds-table/eds-table.d.ts +5 -1
  478. package/dist/types/components.d.ts +234 -301
  479. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -6
  480. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
  481. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
  482. package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +1 -1
  483. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -0
  484. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
  485. package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
  486. package/package.json +3 -3
  487. package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
  488. package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
  489. package/dist/cjs/eds-steps.cjs.entry.js +0 -55
  490. package/dist/cjs/eds-user.cjs.entry.js +0 -29
  491. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
  492. package/dist/cjs/formUtils-4315a99c.js +0 -228
  493. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
  494. package/dist/collection/components/eds-form/eds-form.css +0 -7153
  495. package/dist/collection/components/eds-form/eds-form.js +0 -609
  496. package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
  497. package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
  498. package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
  499. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
  500. package/dist/components/eds-form-v2.js +0 -317
  501. package/dist/components/eds-vertical-stepper.d.ts +0 -11
  502. package/dist/components/eds-vertical-stepper.js +0 -86
  503. package/dist/components/formUtils.js +0 -223
  504. package/dist/components/p-033480b2.entry.js +0 -1
  505. package/dist/components/p-117d180f.entry.js +0 -1
  506. package/dist/components/p-20e9ae7f.entry.js +0 -1
  507. package/dist/components/p-2b31ca60.entry.js +0 -1
  508. package/dist/components/p-3368cfd5.entry.js +0 -1
  509. package/dist/components/p-33c5b937.entry.js +0 -1
  510. package/dist/components/p-3af94671.entry.js +0 -1
  511. package/dist/components/p-43b3579a.entry.js +0 -1
  512. package/dist/components/p-467fe746.entry.js +0 -1
  513. package/dist/components/p-46a6042d.entry.js +0 -1
  514. package/dist/components/p-4a860d5b.entry.js +0 -1
  515. package/dist/components/p-4ac27fe7.entry.js +0 -1
  516. package/dist/components/p-4b2e6f03.entry.js +0 -1
  517. package/dist/components/p-552b6a50.entry.js +0 -1
  518. package/dist/components/p-56b4e0fe.entry.js +0 -1
  519. package/dist/components/p-5aff1ea0.entry.js +0 -1
  520. package/dist/components/p-5c12a0df.entry.js +0 -1
  521. package/dist/components/p-60e7e745.entry.js +0 -1
  522. package/dist/components/p-6404e157.entry.js +0 -1
  523. package/dist/components/p-6fd0c3b3.entry.js +0 -1
  524. package/dist/components/p-77cc7c02.entry.js +0 -1
  525. package/dist/components/p-79c14cf1.entry.js +0 -1
  526. package/dist/components/p-7dd81017.entry.js +0 -1
  527. package/dist/components/p-7e0dd5d8.entry.js +0 -1
  528. package/dist/components/p-80dba155.js +0 -1
  529. package/dist/components/p-8154d013.entry.js +0 -1
  530. package/dist/components/p-86eed1b7.entry.js +0 -1
  531. package/dist/components/p-8e548691.entry.js +0 -1
  532. package/dist/components/p-90503a64.entry.js +0 -1
  533. package/dist/components/p-90f85604.entry.js +0 -1
  534. package/dist/components/p-94698510.entry.js +0 -1
  535. package/dist/components/p-950ecb1c.entry.js +0 -1
  536. package/dist/components/p-9b9fba38.entry.js +0 -1
  537. package/dist/components/p-9dc879c9.entry.js +0 -1
  538. package/dist/components/p-9ebc84d6.entry.js +0 -1
  539. package/dist/components/p-a56f0579.entry.js +0 -1
  540. package/dist/components/p-a6cd418e.entry.js +0 -1
  541. package/dist/components/p-a8dd1953.entry.js +0 -1
  542. package/dist/components/p-ab292dd5.entry.js +0 -1
  543. package/dist/components/p-c12d9350.entry.js +0 -1
  544. package/dist/components/p-c3dda942.entry.js +0 -1
  545. package/dist/components/p-c6b32753.entry.js +0 -1
  546. package/dist/components/p-dbcf1f0e.entry.js +0 -1
  547. package/dist/components/p-dcc08064.entry.js +0 -1
  548. package/dist/components/p-e9a533e0.entry.js +0 -1
  549. package/dist/components/p-eac63c82.entry.js +0 -1
  550. package/dist/components/p-f5959676.entry.js +0 -1
  551. package/dist/components/p-fc619588.entry.js +0 -1
  552. package/dist/components/p-fcc32210.entry.js +0 -1
  553. package/dist/eds/components.js +0 -18
  554. package/dist/eds/components.js.map +0 -1
  555. package/dist/esm/eds-accordion_22.entry.js +0 -1934
  556. package/dist/esm/eds-dropdown.entry.js +0 -121
  557. package/dist/esm/eds-user.entry.js +0 -25
  558. package/dist/esm/eds-vertical-stepper.entry.js +0 -41
  559. package/dist/esm/formUtils-ac68474d.js +0 -223
  560. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
  561. package/dist/types/components/eds-form/eds-form.d.ts +0 -148
  562. package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
  563. package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
  564. /package/dist/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
  565. /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +0 -0
  566. /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.d.ts +0 -0
@@ -17,7 +17,7 @@ const EdsCardDesc = /*@__PURE__*/ proxyCustomElement(class EdsCardDesc extends H
17
17
  return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
18
18
  }
19
19
  render() {
20
- return (h("p", { key: '71495cbd6ef4e7d66c4c22a37f8120624ecf57fb', class: `text-light ${this.descClass}` }, h("span", { key: '8708178f7b48cc1f31aac749f50fe92b72c39ab8', class: this.getTruncateClass() }, this.description)));
20
+ return (h("p", { key: '96ba520be4ef9acf871a6e992d5ea74aaf17c962', class: `text-light ${this.descClass}` }, h("span", { key: '951358bd0c992426175e3c1b3c580f2f9be4027f', class: this.getTruncateClass() }, this.description)));
21
21
  }
22
22
  static get style() { return EdsCardDescStyle0; }
23
23
  }, [1, "eds-card-desc", {
@@ -7,7 +7,7 @@ import { d as defineCustomElement$3 } from './eds-card-title2.js';
7
7
  import { d as defineCustomElement$2 } from './eds-img2.js';
8
8
  import { d as defineCustomElement$1 } from './eds-tag2.js';
9
9
 
10
- const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
10
+ const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
11
11
  const EdsCardGenericStyle0 = edsCardGenericCss;
12
12
 
13
13
  const EdsCardGeneric = /*@__PURE__*/ proxyCustomElement(class EdsCardGeneric extends HTMLElement {
@@ -59,7 +59,7 @@ const EdsCardProject$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardProject e
59
59
  this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
60
60
  ].join(' ');
61
61
  const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
62
- return (h("article", { key: '98c5dbd033ec05d08965559e00f32d9fe18698ef', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: 'e083c43e38c3c24fcd996a90267f7cd92d3651b3', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '37de1e46023b533fd8595a3077c4e68c11fb01af', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: 'ee31ae2804d2c17c82e8f4c0c3269ac8254331df', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: 'c6f74ba9b5b522f713e25d3339f541efa68cdddd', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: 'ab18e55046777cf4a4f58ebd057641db9b9e0328', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: '3714ee86a74dce7f33a8f953fd726db349ba9271', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '2818d15f7ab671b7b2dfb34ec3085b390150f38d', class: imageClasses }, h("div", { key: '5166feef3674631298f699449b956655f38f0db9', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '86555a43491da5b2aa3b287e539e603a2c2adaf3', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
62
+ return (h("article", { key: '067a30c2b0860d71dc13d1d3d875a7e288de842b', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '3e2e62ecc9ad5973c359b7bbceefd8c2ac682d0b', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: 'e07a666f80d6955b5cf16c18a999a756dcfe10f0', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: 'b1ef62c888e9d69f1146fc218a7012015ddc78e1', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '79cf1af876a0a358a9f65036a1ff1c4944604435', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: 'ce7e525b0bdbbc94d3e2ec8055c692be9d521042', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: '23e3527a3772970642dcb07a4abc381415132155', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '178ef2273b2506070c045c3f2e7a287d4b175414', class: imageClasses }, h("div", { key: 'f77fb56cd2ed1bdcafd07db9adcf0f7b6a44cdb7', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: 'b9734f48ab685280b801cfb75cc96f5aa109ca6f', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
63
63
  }
64
64
  get el() { return this; }
65
65
  }, [0, "eds-card-project", {
@@ -13,7 +13,7 @@ const EdsCardTags$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardTags extends
13
13
  this.tags = [];
14
14
  }
15
15
  render() {
16
- return (h("div", { key: '272d53abb9be9086881cb2f8e99f7fb7aae1bb59', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
16
+ return (h("div", { key: 'df8937e32907eb978f27565d04f7ca56f2485c87', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
17
17
  }
18
18
  static get style() { return EdsCardTagsStyle0; }
19
19
  }, [1, "eds-card-tags", {
@@ -47,7 +47,7 @@ const EdsCardTitle = /*@__PURE__*/ proxyCustomElement(class EdsCardTitle extends
47
47
  render() {
48
48
  //const Tag = this.getTag();
49
49
  const Heading = this.headingLevel;
50
- return (h(Heading, { key: 'bb97dc6dd53adda14ef251b2ec32952791438986', class: this.getTitleClass() }, h("a", { key: '37b6ac0668257d27fb3f03a6225a2d48e1fd1f79', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
50
+ return (h(Heading, { key: '57ce97f35ee52623d32fac0b6b1a576ca8b5aa70', class: this.getTitleClass() }, h("a", { key: '60fb313d2b8753974658f73aaddd359a63548a79', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
51
51
  }
52
52
  static get style() { return EdsCardTitleStyle0; }
53
53
  }, [1, "eds-card-title", {
@@ -73,7 +73,7 @@ const EdsCardTool$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardTool extends
73
73
  });
74
74
  }
75
75
  render() {
76
- return (h("article", { key: 'da61b384e966b148cd1f77eec59671bc4d92e259', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '00702d032bc25f52b2a2c98255ceb60a1d314f4d', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: 'd2b135ed422fb64f142af71330dc666e2f0c2b1f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '54111e90175754cb0c1f2eb339e86926914ca0e7', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
76
+ return (h("article", { key: '5ecce6667d066e78586f795ab260bed569434c4f', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: 'a6ff863ade669db7494c763d563809dbfddb3f2c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '6f5328fba79a564e6e0d737b2d64a31e50ea6434', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'b1a42a1db9274ebf1098143d56e1ad8a08825c4c', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
77
77
  }
78
78
  get el() { return this; }
79
79
  static get style() { return EdsCardToolStyle0; }
@@ -21,7 +21,7 @@ const EdsCardWrapper$1 = /*@__PURE__*/ proxyCustomElement(class EdsCardWrapper e
21
21
  this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
22
22
  'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
23
23
  ].join(' ');
24
- return (h("article", { key: 'f21cc9703011026652765b399e2b87b1ef80d220', class: articleClasses }, h("slot", { key: '9a37adad73d2d49edcc9ca9222d5b188202c5612' }), this.hasSlot('footer') && (h("div", { key: '87addfc052ed4ae33736724fbd8fbc8aca873b4d', class: "mt-auto" }, h("slot", { key: '2e48677f42ac2aa951bc1a82afa9291fea3ddd72', name: "footer" })))));
24
+ return (h("article", { key: 'b860e65a1a943216793a5ce2f5a08d01249fc671', class: articleClasses }, h("slot", { key: '3ea351da205f375ed746695762efc1f28d1fc3f0' }), this.hasSlot('footer') && (h("div", { key: '84d24bd248033d4855dd63dfa5042585ae61d64d', class: "mt-auto" }, h("slot", { key: 'c7a2530d70a93705097b9ac3b8be1a21551dd1fb', name: "footer" })))));
25
25
  }
26
26
  get el() { return this; }
27
27
  }, [4, "eds-card-wrapper", {
@@ -2479,7 +2479,7 @@ const EdsCodeBlock = /*@__PURE__*/ proxyCustomElement(class EdsCodeBlock extends
2479
2479
  return this.code; // Fallback if language is not provided or unsupported
2480
2480
  }
2481
2481
  render() {
2482
- return (h("div", { key: 'cb379e82bcf71345945b0b88397650ecd4992770', class: "relative bg-stronger rounded-sm" }, h("div", { key: '945046d4fd747cd64a83155b421a897e380cc612', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '3f6c7e996101f0bb83fb8c9e6991a205a0b268c8', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '8ad9beb61058f29e688f6777233c61f7fb3ccfe8', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: 'a4f9a07906e1c2d9febb7ae789a3eed76dc422e9', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: 'e31339126dd3cc885511aaa2bdf6f06f3a113c74', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '7efacd276f26a00f0f61793f6b8748259e1614b5', innerHTML: this.getHighlightedCode() })))));
2482
+ return (h("div", { key: '98f5fe5e215e87c1eb024969b5e4f3ae1bd0cb0d', class: "relative bg-stronger rounded-sm" }, h("div", { key: '173be873a0f41398bd080758d5a0bbdcc977dcf5', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: 'f8cb36cf89d19bf306c57168e61ccfde9a4d18ff', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '74f214c47dc647c2c254f3f9f96fba71e35133df', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: '74e628574b481d68c2d2132a12fd07bb62c86fde', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: '19d2b813b6e86451a8a9047b954d99340fc3cd85', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '974eb2e2ef0d7dc90e012e421d64bf5b735761d1', innerHTML: this.getHighlightedCode() })))));
2483
2483
  }
2484
2484
  get el() { return this; }
2485
2485
  static get style() { return EdsCodeBlockStyle0; }
@@ -1,35 +1,55 @@
1
1
  import { h, proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$7 } from './eds-alert2.js';
3
- import { d as defineCustomElement$6 } from './eds-code-block2.js';
4
- import { d as defineCustomElement$5 } from './eds-icon-wrapper2.js';
5
- import { d as defineCustomElement$4 } from './eds-link2.js';
6
- import { d as defineCustomElement$3 } from './eds-section-core2.js';
7
- import { d as defineCustomElement$2 } from './eds-section-heading2.js';
2
+ import { d as defineCustomElement$9 } from './eds-alert2.js';
3
+ import { d as defineCustomElement$8 } from './eds-button2.js';
4
+ import { d as defineCustomElement$7 } from './eds-code-block2.js';
5
+ import { d as defineCustomElement$6 } from './eds-icon-wrapper2.js';
6
+ import { d as defineCustomElement$5 } from './eds-link2.js';
7
+ import { d as defineCustomElement$4 } from './eds-section-core2.js';
8
+ import { d as defineCustomElement$3 } from './eds-section-heading2.js';
9
+ import { d as defineCustomElement$2 } from './eds-steps2.js';
8
10
 
9
11
  const EdsComponentsOverview = () => (h("div", { class: "static-content container" },
10
12
  h("h2", null, "Load the module"),
11
13
  h("p", null,
12
- "Integrating EDSs components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the",
14
+ "Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the",
13
15
  ' ',
14
16
  h("code", null, "head"),
15
17
  "."),
16
18
  h("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }),
19
+ h("p", null, "This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),
20
+ h("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
+ h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
39
+ h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" }),
17
40
  h("h2", null, "Load the styles"),
18
41
  h("p", null,
19
42
  "To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the",
20
43
  ' ',
21
44
  h("code", null, "head")),
22
45
  h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
23
- h("div", { class: "my-4" },
24
- h("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })),
25
- h("h2", null, "Load the fonts"),
26
46
  h("p", null,
27
- "To load the webfonts, add the tag below to the ",
47
+ "Note that, loading the predefined CSS framework above,",
48
+ ' ',
49
+ h("b", null, "automatically loads the fonts so you can skip loading them separately"),
50
+ ". If you wish, however, to load the fonts, add the tag below to the ",
28
51
  h("code", null, "head")),
29
- h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" }),
30
- h("h2", null, "Component Usage"),
31
- h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
32
- h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" })));
52
+ h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })));
33
53
 
34
54
  const EdsDocsInstallation = () => (h("div", null,
35
55
  h("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
@@ -46,19 +66,15 @@ const EdsDocsInstallation = () => (h("div", null,
46
66
 
47
67
  const EdsDocsReact = () => (h("div", null,
48
68
  h("h2", null, "React Wrappers"),
49
- h("p", null, "Learn how to use our components in a React Application.Simple install the package below and check out the examples"),
50
- h("div", { class: "my-8" },
51
- h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })),
69
+ h("p", null, "To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),
70
+ h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }),
52
71
  h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" },
53
72
  h("eds-code-block", { code: '\nimport {\n EdsHeader,\n EdsFullscreenMenu,\n EdsUser\n} from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n // Add any other properties your user object might have\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n };\n }, []);\n\n return (\n <div>\n <EdsHeader\n homeUrl="/"\n menuEnabled={true}\n inverseHeader={false}\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n >\n <div className="px-16">\n <EdsUser\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n ></EdsUser>\n </div>\n </EdsHeader>\n\n <EdsFullscreenMenu\n home-url="/"\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n ></EdsFullscreenMenu>\n \n <div>\n User is{" "}\n {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n\n <div id="main"></div>\n </div>\n );\n}\n\nexport default App;\n\n', language: "javascript", "copy-label": "Copy Code" }))));
54
73
 
55
74
  const EdsDocsVue = () => (h("div", null,
56
75
  h("h2", null, "Vue Wrappers"),
57
- h("p", null, "Learn how to use our components in a Vue Application."),
58
- h("p", null, "Simply install the latest version of our NPM package."),
76
+ h("p", null, "To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),
59
77
  h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }),
60
- h("p", null, "Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your \"main.ts\" file."),
61
- h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
62
78
  h("h2", null,
63
79
  "Passing Properties to Custom Elements Using the ",
64
80
  h("b", null, ".prop"),
@@ -69,10 +85,10 @@ const EdsDocsVue = () => (h("div", null,
69
85
  h("b", null, ".prop"),
70
86
  " Modifier"),
71
87
  h("p", null, "When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here\u2019s an example of how to do it:"),
72
- h("div", { class: "mt-8" },
88
+ h("div", { class: "my-8" },
73
89
  h("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })),
74
90
  h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
75
- h("div", { class: "mt-8" },
91
+ h("div", { class: "my-8" },
76
92
  h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })),
77
93
  h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
78
94
  h("p", null,
@@ -84,7 +100,7 @@ const EdsDocsVue = () => (h("div", null,
84
100
 
85
101
  const EdsDocsAngular = () => (h("div", null,
86
102
  h("h2", null, "Angular Wrappers"),
87
- h("p", null, "Learn how to use our components in a Angular Application."),
103
+ h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),
88
104
  h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }),
89
105
  h("p", null, "Define the custom elements"),
90
106
  h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
@@ -116,7 +132,7 @@ const EdsComponentsSection$1 = /*@__PURE__*/ proxyCustomElement(class EdsCompone
116
132
  }
117
133
  }
118
134
  render() {
119
- return h("div", { key: '69eda93b8845c5fdf5edc0f58ede763866b5f8c7', class: "container" }, this.renderContent());
135
+ return h("div", { key: '85fff494e98ff10bbcc630487a75d345e7cce78c', class: "container" }, this.renderContent());
120
136
  }
121
137
  }, [0, "eds-components-section", {
122
138
  "tabIndex": [2, "tab-index"]
@@ -125,7 +141,7 @@ function defineCustomElement$1() {
125
141
  if (typeof customElements === "undefined") {
126
142
  return;
127
143
  }
128
- const components = ["eds-components-section", "eds-alert", "eds-code-block", "eds-icon-wrapper", "eds-link", "eds-section-core", "eds-section-heading"];
144
+ const components = ["eds-components-section", "eds-alert", "eds-button", "eds-code-block", "eds-icon-wrapper", "eds-link", "eds-section-core", "eds-section-heading", "eds-steps"];
129
145
  components.forEach(tagName => { switch (tagName) {
130
146
  case "eds-components-section":
131
147
  if (!customElements.get(tagName)) {
@@ -134,30 +150,40 @@ function defineCustomElement$1() {
134
150
  break;
135
151
  case "eds-alert":
136
152
  if (!customElements.get(tagName)) {
137
- defineCustomElement$7();
153
+ defineCustomElement$9();
154
+ }
155
+ break;
156
+ case "eds-button":
157
+ if (!customElements.get(tagName)) {
158
+ defineCustomElement$8();
138
159
  }
139
160
  break;
140
161
  case "eds-code-block":
141
162
  if (!customElements.get(tagName)) {
142
- defineCustomElement$6();
163
+ defineCustomElement$7();
143
164
  }
144
165
  break;
145
166
  case "eds-icon-wrapper":
146
167
  if (!customElements.get(tagName)) {
147
- defineCustomElement$5();
168
+ defineCustomElement$6();
148
169
  }
149
170
  break;
150
171
  case "eds-link":
151
172
  if (!customElements.get(tagName)) {
152
- defineCustomElement$4();
173
+ defineCustomElement$5();
153
174
  }
154
175
  break;
155
176
  case "eds-section-core":
156
177
  if (!customElements.get(tagName)) {
157
- defineCustomElement$3();
178
+ defineCustomElement$4();
158
179
  }
159
180
  break;
160
181
  case "eds-section-heading":
182
+ if (!customElements.get(tagName)) {
183
+ defineCustomElement$3();
184
+ }
185
+ break;
186
+ case "eds-steps":
161
187
  if (!customElements.get(tagName)) {
162
188
  defineCustomElement$2();
163
189
  }
@@ -12,7 +12,6 @@ const EdsCookiesPreference$1 = /*@__PURE__*/ proxyCustomElement(class EdsCookies
12
12
  constructor() {
13
13
  super();
14
14
  this.__registerHost();
15
- this.__attachShadow();
16
15
  this.buttonText = 'Cookies Preferences';
17
16
  this.intent = undefined;
18
17
  this.showMatomoNotice = false;
@@ -34,10 +33,10 @@ const EdsCookiesPreference$1 = /*@__PURE__*/ proxyCustomElement(class EdsCookies
34
33
  }
35
34
  }
36
35
  render() {
37
- return (h("div", { key: '48f67648644ae9c8e645791ad3cbba5491866dc5' }, h("eds-link", { key: '50154721f0f44e811ebe362e18bcf8cfb77b8f64', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
36
+ return (h("div", { key: '13e1244d4e151f091eaca1d22dbed009bcb97786' }, h("eds-link", { key: '4cfc54b447c93824f98da1f990a28fdb61018afe', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
38
37
  }
39
38
  static get style() { return EdsCookiesPreferenceStyle0; }
40
- }, [1, "eds-cookies-preference", {
39
+ }, [0, "eds-cookies-preference", {
41
40
  "buttonText": [1, "button-text"],
42
41
  "intent": [1],
43
42
  "showMatomoNotice": [32],
@@ -26,7 +26,7 @@ const EdsDocsPalettes$1 = /*@__PURE__*/ proxyCustomElement(class EdsDocsPalettes
26
26
  }
27
27
  }
28
28
  render() {
29
- return h("div", { key: '80f0922a40e212252a858b019d88f104defc2632', class: "container" }, this.renderContent());
29
+ return h("div", { key: '480cc269ee31de61190b4ae7502c3c17e673c3f9', class: "container" }, this.renderContent());
30
30
  }
31
31
  }, [0, "eds-docs-palettes", {
32
32
  "tabIndex": [2, "tab-index"]
@@ -30,7 +30,7 @@ const EdsDocsContent = /*@__PURE__*/ proxyCustomElement(class EdsDocsContent ext
30
30
  }
31
31
  }
32
32
  render() {
33
- return h("div", { key: 'cf676cf54781de4a4f8b75d174201d24d30d3538', class: "container" }, this.renderContent());
33
+ return h("div", { key: '64ee8c20ec7dca1ea1a742ef53f0315c81107ead', class: "container" }, this.renderContent());
34
34
  }
35
35
  }, [0, "eds-docs-tokens", {
36
36
  "tabIndex": [2, "tab-index"]
@@ -51,7 +51,8 @@ const EdsDropdown = /*@__PURE__*/ proxyCustomElement(class EdsDropdown extends H
51
51
  * @param {Event} e - The click event.
52
52
  */
53
53
  handleWindowClick(e) {
54
- if (!this.host.contains(e.target)) {
54
+ const path = (e.composedPath && e.composedPath()) || [];
55
+ if (!path.includes(this.host)) {
55
56
  this.closeDropdown();
56
57
  this.dropdown.emit({ expanded: false });
57
58
  }
@@ -109,14 +110,14 @@ const EdsDropdown = /*@__PURE__*/ proxyCustomElement(class EdsDropdown extends H
109
110
  * @returns {JSX.Element} The rendered dropdown component.
110
111
  */
111
112
  render() {
112
- return (h("div", { key: '3edd3453afbd52ee9e3c4d925baa46e07cfdbfc0', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: '7c69acb6d6213af2cec8c1e00c68d83a5d23d676', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: '5048b1c3cb42418736d471c2331330afef49cbc5', role: "menu", class: {
113
+ return (h("div", { key: '03ab7911a018f273afdd58986fea1a0d9b86aa30', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: '4145f8e8918ef36121bb54ef4e614263b077e4d5', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: '5848addad59482f2c0b350739aa5440167379e86', role: "menu", class: {
113
114
  'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
114
115
  'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
115
116
  'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
116
117
  'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
117
118
  'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
118
119
  'rounded-lg': this.rounded
119
- }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: '842f316e9a7910aa8b34823e883c54c1979668d1' }))));
120
+ }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: '8427053528abc74e2acf9b544363870b57f98fef' }))));
120
121
  }
121
122
  get host() { return this; }
122
123
  static get style() { return EdsDropdownStyle0; }
@@ -58,7 +58,7 @@ const EdsFeedback$1 = /*@__PURE__*/ proxyCustomElement(class EdsFeedback extends
58
58
  this.selectedRating = e.detail;
59
59
  }
60
60
  render() {
61
- return (h("div", { key: '125299e9780486a10213fc3c59b15e7a4fb62616', class: "grid inline" }, h("p", { key: '6a02d78d34a590bc213cd5bf311ec8bed44f8959', class: "f-heading-03 my-4" }, this.label), h("p", { key: '76146fbade2f864ba7b72429a85218ebf6a24ea7', class: "f-body-02 text-light" }, this.description), h("eds-rating", { key: '38e0ec9219adaf85f674fab6be471112f06e42ff', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'beab34888d3db63ca2ee374a2d10d407bfc948cc', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
61
+ return (h("div", { key: '3cdbbc2eb256ca4f2008f03e90ae9aacb6afbaac', class: "grid inline" }, h("p", { key: 'afb5aa7ab4a8c3117a4db0a5cbeca0195ccec3e8', class: "f-heading-03 my-4" }, this.label), h("p", { key: '9b1b83b31d05d10943bcf9e9a413686caa9e49a7', class: "f-body-02 text-light" }, this.description), h("eds-rating", { key: '4535006f72ee21d168d9b42da6a5c3528417d2f4', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: 'b90b59aaae1e2bc6071e1488f332d0c154bdb25a', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
62
62
  }
63
63
  get el() { return this; }
64
64
  static get style() { return EdsFeedbackStyle0; }
@@ -1,17 +1,19 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$5 } from './eds-button2.js';
3
3
  import { d as defineCustomElement$4 } from './eds-icon-wrapper2.js';
4
4
  import { d as defineCustomElement$3 } from './eds-img2.js';
5
5
  import { d as defineCustomElement$2 } from './eds-link2.js';
6
6
  import { d as defineCustomElement$1 } from './eds-social-networks2.js';
7
7
 
8
- const edsFooterCss = "";
8
+ const edsFooterCss = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.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}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.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)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}";
9
9
  const EdsFooterStyle0 = edsFooterCss;
10
10
 
11
11
  const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLElement {
12
12
  constructor() {
13
13
  super();
14
14
  this.__registerHost();
15
+ this.__attachShadow();
16
+ this.cookies = createEvent(this, "cookies", 7);
15
17
  /**
16
18
  * Scrolls the page smoothly back to the top.
17
19
  * Called when the "Back to top" button is clicked.
@@ -20,13 +22,16 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
20
22
  this.backToTop = () => {
21
23
  window.scrollTo({ top: 0, behavior: 'smooth' });
22
24
  };
23
- this.extraClass = '';
24
25
  this.social = false;
25
26
  this.enableScrollTop = false;
26
27
  this.fundedBy = 'EBRAINS is funded by the Horizon Europe Framework Programme.';
27
28
  this.rightsReserved = `${new Date().getFullYear()} EBRAINS. All rights reserved.`;
29
+ this.enableCookiesSettings = false;
28
30
  this.showMatomoNotice = false;
29
31
  }
32
+ toggleCookiesConsent() {
33
+ this.cookies.emit('toggle');
34
+ }
30
35
  /**
31
36
  * Renders the footer component with optional sections and elements,
32
37
  * including social network links, a Horizon Europe funding acknowledgment, and
@@ -35,15 +40,17 @@ const EdsFooter = /*@__PURE__*/ proxyCustomElement(class EdsFooter extends HTMLE
35
40
  * @returns {JSX.Element} The rendered JSX for the footer component.
36
41
  */
37
42
  render() {
38
- return (h("footer", { key: 'fc315d7ddfa4ede5514083d842bba36c991fef8a', class: `${this.extraClass} pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, h("div", { class: "container pb-20 xl:pb-40 " }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })), h("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" }))))) : null, h("div", { key: '9d00bf38cabc8cea80be80b0e26f57fa70e635fb', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, h("div", { key: '67342d2033716108d6b7137029709d0048dd06f2', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, h("div", { key: '44bbeddacf48ed1d3a8f716cb9a044f7175aabab', class: "flex items-center gap-x-12" }, h("a", { key: '34ce75ccde53cfd7771d7d325d989a23d148011f', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en", "aria-label": "Learn about Horizon 2020 funding" }, h("eds-img", { key: 'f06317200fe90580ca1d2d512e665252d11b4799', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: '6a81ccd4f5196c6567a60c6a43c468178154f9ad', class: "order-last w-full lg:order-none lg:w-auto" }, h("div", { key: 'e10de8b2e966cd0a2febcc8e8c5189b7694f856c', class: "f-ui-04 text-light" }, h("p", { key: '26f14c5c27859d1fea9985800d8e35023ca8ade9' }, this.fundedBy), h("div", { key: '7eabdf80c9c9e42793eff579c2ec92d934611bb2', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: 'abe3d9e7091e15f09782cdde3e59228f6e143805', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved)))), h("div", { key: '0c3371aec2ff5f9e348bef2171e4bc5a353960e2', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
43
+ return (h("footer", { key: '97ad163716ff16e519a37a9d69895ec1813a1d28', class: `pb-banner` }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: '170923d5155be90a814adaf5ec503d6f3c097fba', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '21d0e035b5d3163530af6dcd23b908689696e8dc', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: '4a1926948db9d4717396a07fef924a10c3f28480', class: "flex items-center gap-x-12" }, h("a", { key: '91f122ffc396a19233d8b1b443db83e7eb272afc', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en", "aria-label": "Learn about Horizon 2020 funding" }, h("eds-img", { key: 'a159fed1d2f11be99143d1858cc8b40687d121e0', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'c1d69e25e663e8a25ef9f333bcd555863a2afe40' }, h("div", { key: 'a7d7895bfc18565aa8b98c751f99365de5e33532', class: "f-ui-04 text-light" }, h("p", { key: 'bb7a341fb7471e0cdcf3cd3bbe2bbb1f42296535' }, this.fundedBy), h("div", { key: '2abd03a76d5c89f004e8da425f03e9152e4f2290', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '21e042b3b5a7b09c1ad92daf7ce191714a157892', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: "Cookies preferences", intent: "weak", "extra-class": "f-ui-04 ml-4 cursor-pointer effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline", onClick: () => {
44
+ this.toggleCookiesConsent();
45
+ } })) : null))), h("div", { key: '9bce0373f2b427b1244916c88a2cabefe41e7b14', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": "Back to Top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
39
46
  }
40
47
  static get style() { return EdsFooterStyle0; }
41
- }, [0, "eds-footer", {
42
- "extraClass": [1, "extra-class"],
48
+ }, [1, "eds-footer", {
43
49
  "social": [4],
44
50
  "enableScrollTop": [4, "enable-scroll-top"],
45
51
  "fundedBy": [1, "funded-by"],
46
52
  "rightsReserved": [1, "rights-reserved"],
53
+ "enableCookiesSettings": [4, "enable-cookies-settings"],
47
54
  "showMatomoNotice": [32]
48
55
  }]);
49
56
  function defineCustomElement() {