@ebrains/components 3.1.0 → 3.2.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 (347) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  2. package/dist/cjs/components-section.cjs.entry.js +1 -1
  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/docs-palettes.cjs.entry.js +1 -1
  6. package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
  7. package/dist/cjs/eds-accordion_53.cjs.entry.js +367 -248
  8. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  10. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +26 -30
  12. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-input-search.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-modal.cjs.entry.js +18 -9
  22. package/dist/cjs/eds-pie.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  24. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-trl-badge.cjs.entry.js +14 -11
  27. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/logo-space.cjs.entry.js +58 -1
  30. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  31. package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
  32. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  33. package/dist/cjs/svg-repository.cjs.entry.js +1 -1
  34. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  35. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  36. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  37. package/dist/cjs/token-typography.cjs.entry.js +8 -2
  38. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -5
  39. package/dist/collection/components/eds-alert/eds-alert.css +14 -0
  40. package/dist/collection/components/eds-alert/eds-alert.js +2 -1
  41. package/dist/collection/components/eds-button/eds-button.js +6 -10
  42. package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
  43. package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +2 -5
  44. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  45. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +2 -5
  46. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +4 -1
  47. package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +2 -5
  48. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -4
  49. package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +6 -7
  50. package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +6 -7
  51. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +2 -2
  52. package/dist/collection/components/eds-code-block/eds-code-block.css +72 -106
  53. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  54. package/dist/collection/components/eds-footer/eds-footer.js +23 -18
  55. package/dist/collection/components/eds-footer/eds-footer.stories.js +3 -4
  56. package/dist/collection/components/eds-form/eds-form.css +456 -0
  57. package/dist/collection/components/eds-form/eds-form.js +218 -14
  58. package/dist/collection/components/eds-form/eds-form.stories.js +110 -3
  59. package/dist/collection/components/eds-frame/eds-frame.js +1 -1
  60. package/dist/collection/components/eds-header/eds-header.js +1 -1
  61. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  62. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  63. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  64. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  65. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  66. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  67. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  68. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  69. package/dist/collection/components/eds-img/eds-img.js +2 -2
  70. package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +7 -4
  71. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  72. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +10 -0
  73. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  74. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +17 -5
  75. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  76. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +15 -5
  77. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  78. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +6 -2
  79. package/dist/collection/components/eds-input-field/eds-input-field.css +219 -0
  80. package/dist/collection/components/eds-input-field/eds-input-field.js +7 -2
  81. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +35 -7
  82. package/dist/collection/components/eds-input-file/eds-input-file.js +5 -3
  83. package/dist/collection/components/eds-link/eds-link.js +4 -8
  84. package/dist/collection/components/eds-logo/eds-logo.js +13 -66
  85. package/dist/collection/components/eds-logo/eds-logo.stories.js +36 -17
  86. package/dist/collection/components/eds-modal/eds-modal.js +18 -9
  87. package/dist/collection/components/eds-modal/eds-modal.stories.js +3 -1
  88. package/dist/collection/components/eds-nps/eds-nps.js +2 -2
  89. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  90. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -8
  91. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  92. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  93. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  94. package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
  95. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  96. package/dist/collection/components/eds-steps/eds-steps.css +56 -25
  97. package/dist/collection/components/eds-steps/eds-steps.js +27 -7
  98. package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +93 -28
  99. package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +57 -10
  100. package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +80 -17
  101. package/dist/collection/components/eds-switch/eds-switch.css +26 -3
  102. package/dist/collection/components/eds-switch/eds-switch.js +10 -7
  103. package/dist/collection/components/eds-switch/eds-switch.stories.js +20 -1
  104. package/dist/collection/components/eds-table/eds-table.js +1 -3
  105. package/dist/collection/components/eds-table/eds-table.stories.js +2 -6
  106. package/dist/collection/components/eds-tabs/eds-tabs.js +4 -11
  107. package/dist/collection/components/eds-tabs/eds-tabs.stories.js +2 -2
  108. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  109. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  110. package/dist/collection/components/eds-toast/eds-toast.css +146 -0
  111. package/dist/collection/components/eds-toast/eds-toast.js +106 -4
  112. package/dist/collection/components/eds-toast/eds-toast.stories.js +102 -5
  113. package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
  114. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  115. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +7 -1
  116. package/dist/collection/components/eds-user/eds-user.js +2 -5
  117. package/dist/collection/components/eds-user/eds-user.stories.js +8 -11
  118. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  119. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  120. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  121. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  122. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  123. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  124. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  125. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  126. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  127. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  128. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  129. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  130. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  131. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  132. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  133. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -2
  134. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  135. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +58 -1
  136. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  137. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  138. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  139. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  140. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  141. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  142. package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +26 -30
  143. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +18 -12
  144. package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.js +15 -19
  145. package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +2 -2
  146. package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +1 -3
  147. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
  148. package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +11 -1
  149. package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +37 -16
  150. package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +10 -5
  151. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.js +14 -11
  152. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +4 -1
  153. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  154. package/dist/collection/utils/eds-form/safeFormat.js +1 -5
  155. package/dist/components/components-section.js +1 -1
  156. package/dist/components/components.css +9 -7
  157. package/dist/components/components.esm.js +1 -1
  158. package/dist/components/correct-use-of-colors.js +1 -1
  159. package/dist/components/docs-palettes.js +1 -1
  160. package/dist/components/docs-tokens.js +1 -1
  161. package/dist/components/eds-accordion2.js +2 -5
  162. package/dist/components/eds-alert2.js +3 -2
  163. package/dist/components/eds-app-root.js +1 -1
  164. package/dist/components/eds-button2.js +5 -9
  165. package/dist/components/eds-card-app.js +2 -5
  166. package/dist/components/eds-card-cta.js +2 -5
  167. package/dist/components/eds-card-feature.js +2 -5
  168. package/dist/components/eds-card-generic2.js +2 -4
  169. package/dist/components/eds-card-hero.js +6 -7
  170. package/dist/components/eds-card-stat.js +6 -7
  171. package/dist/components/eds-card-title2.js +1 -1
  172. package/dist/components/eds-code-block2.js +2 -2
  173. package/dist/components/eds-cookies-preference.js +1 -1
  174. package/dist/components/eds-footer2.js +23 -18
  175. package/dist/components/eds-form.js +101 -38
  176. package/dist/components/eds-frame.js +1 -1
  177. package/dist/components/eds-gitlab-contributors.js +26 -30
  178. package/dist/components/eds-global-search.js +18 -12
  179. package/dist/components/eds-header.js +1 -1
  180. package/dist/components/eds-icon-bluesky.js +1 -1
  181. package/dist/components/eds-icon-eu.js +1 -1
  182. package/dist/components/eds-icon-facebook.js +1 -1
  183. package/dist/components/eds-icon-gitlab.js +1 -1
  184. package/dist/components/eds-icon-linkedin.js +1 -1
  185. package/dist/components/eds-icon-mastodon.js +1 -1
  186. package/dist/components/eds-icon-twitter.js +1 -1
  187. package/dist/components/eds-icon-youtube.js +1 -1
  188. package/dist/components/eds-img2.js +2 -2
  189. package/dist/components/eds-input-dropzone2.js +7 -4
  190. package/dist/components/eds-input-field2.js +8 -3
  191. package/dist/components/eds-input-file2.js +5 -3
  192. package/dist/components/eds-input-footer2.js +3 -7
  193. package/dist/components/eds-input-label2.js +2 -2
  194. package/dist/components/eds-input-range2.js +15 -5
  195. package/dist/components/eds-input-search.js +1 -1
  196. package/dist/components/eds-input-select2.js +6 -2
  197. package/dist/components/eds-input2.js +2 -2
  198. package/dist/components/eds-kg-learning-resources.js +15 -19
  199. package/dist/components/eds-kg-web-services-select2.js +2 -2
  200. package/dist/components/eds-link2.js +3 -7
  201. package/dist/components/eds-logo2.js +4 -22
  202. package/dist/components/eds-modal.js +18 -9
  203. package/dist/components/eds-nps2.js +2 -2
  204. package/dist/components/eds-pagination2.js +1 -1
  205. package/dist/components/eds-pie.js +2 -2
  206. package/dist/components/eds-progress-bar.js +1 -8
  207. package/dist/components/eds-rating2.js +1 -1
  208. package/dist/components/eds-search-select2.js +38 -17
  209. package/dist/components/eds-section-core2.js +1 -1
  210. package/dist/components/eds-section-heading2.js +2 -2
  211. package/dist/components/eds-social-networks2.js +1 -1
  212. package/dist/components/eds-spinner2.js +1 -1
  213. package/dist/components/eds-steps-v2.js +41 -11
  214. package/dist/components/eds-steps2.js +28 -8
  215. package/dist/components/eds-switch2.js +8 -5
  216. package/dist/components/eds-table2.js +1 -3
  217. package/dist/components/eds-tabs.js +4 -11
  218. package/dist/components/eds-tag2.js +1 -1
  219. package/dist/components/eds-timeline.js +1 -1
  220. package/dist/components/eds-toast-manager.js +1 -1
  221. package/dist/components/eds-toast2.js +39 -3
  222. package/dist/components/eds-tooltip2.js +1 -1
  223. package/dist/components/eds-trl-badge.js +14 -11
  224. package/dist/components/eds-user.js +1 -4
  225. package/dist/components/incorrect-use-of-colors.js +1 -1
  226. package/dist/components/logo-space.js +58 -1
  227. package/dist/components/logo-variations-horizontal2.js +1 -1
  228. package/dist/components/logo-variations-tabs.js +1 -1
  229. package/dist/components/logo-variations-vertical2.js +1 -1
  230. package/dist/components/logo-wrong-usage.js +1 -1
  231. package/dist/components/{p-d59d6fda.entry.js → p-05e96609.entry.js} +1 -1
  232. package/dist/components/p-0d778d10.entry.js +1 -0
  233. package/dist/components/{p-62f53e7a.entry.js → p-114f6d54.entry.js} +1 -1
  234. package/dist/components/p-1534204d.entry.js +1 -0
  235. package/dist/components/p-337d4ee3.entry.js +9 -0
  236. package/dist/components/p-340bc935.entry.js +1 -0
  237. package/dist/components/p-39dbb964.entry.js +1 -0
  238. package/dist/components/{p-25729ade.entry.js → p-3f66bc26.entry.js} +1 -1
  239. package/dist/components/p-43f9e64f.entry.js +1 -0
  240. package/dist/components/p-46cc6c1a.entry.js +1 -0
  241. package/dist/components/{p-e9e6ec19.entry.js → p-4b8a7979.entry.js} +1 -1
  242. package/dist/components/{p-bdcb71e1.entry.js → p-6b94b2ec.entry.js} +1 -1
  243. package/dist/components/p-6d965fef.entry.js +1 -0
  244. package/dist/components/{p-62580004.entry.js → p-6e370182.entry.js} +1 -1
  245. package/dist/components/p-6ffe581c.entry.js +1 -0
  246. package/dist/components/{p-e027bc90.entry.js → p-726637b1.entry.js} +1 -1
  247. package/dist/components/{p-8a483358.entry.js → p-86ccc09f.entry.js} +1 -1
  248. package/dist/components/{p-e71a4f29.entry.js → p-8755a21b.entry.js} +1 -1
  249. package/dist/components/{p-e4df206e.entry.js → p-8ab461e2.entry.js} +1 -1
  250. package/dist/components/p-8cb162b8.entry.js +1 -0
  251. package/dist/components/p-8cdbc280.entry.js +1 -0
  252. package/dist/components/{p-42791331.entry.js → p-8e034c4e.entry.js} +1 -1
  253. package/dist/components/p-9f649fa3.entry.js +1 -0
  254. package/dist/components/{p-f9a9fa34.entry.js → p-a26dad9b.entry.js} +1 -1
  255. package/dist/components/p-a2d6a9ca.entry.js +1 -0
  256. package/dist/components/p-afabe1be.entry.js +1 -0
  257. package/dist/components/{p-1fbcc480.entry.js → p-b1519098.entry.js} +1 -1
  258. package/dist/components/{p-12acc48d.entry.js → p-b4023b45.entry.js} +1 -1
  259. package/dist/components/p-c53b3563.entry.js +1 -0
  260. package/dist/components/p-c7d612d1.entry.js +1 -0
  261. package/dist/components/p-dc9aef22.entry.js +1 -0
  262. package/dist/components/{p-e339d0b5.entry.js → p-f66a7cf9.entry.js} +1 -1
  263. package/dist/components/{p-80a32e20.entry.js → p-f97f62f2.entry.js} +1 -1
  264. package/dist/components/primary.js +1 -1
  265. package/dist/components/primary2.js +1 -1
  266. package/dist/components/secondary.js +1 -1
  267. package/dist/components/secondary2.js +7 -7
  268. package/dist/components/support.js +1 -1
  269. package/dist/components/support2.js +3 -3
  270. package/dist/components/svg-repository.js +1 -1
  271. package/dist/components/token-list2.js +1 -1
  272. package/dist/components/token-radii2.js +1 -1
  273. package/dist/components/token-ratios.js +1 -1
  274. package/dist/components/token-shadows2.js +1 -1
  275. package/dist/components/token-spacing.js +1 -1
  276. package/dist/components/token-typography.js +8 -2
  277. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  278. package/dist/esm/components-section.entry.js +1 -1
  279. package/dist/esm/components.js +1 -1
  280. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  281. package/dist/esm/docs-palettes.entry.js +1 -1
  282. package/dist/esm/docs-tokens.entry.js +1 -1
  283. package/dist/esm/eds-accordion_53.entry.js +367 -248
  284. package/dist/esm/eds-app-root.entry.js +1 -1
  285. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  286. package/dist/esm/eds-frame.entry.js +1 -1
  287. package/dist/esm/eds-gitlab-contributors.entry.js +26 -30
  288. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  289. package/dist/esm/eds-icon-eu.entry.js +1 -1
  290. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  291. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  292. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  293. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  294. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  295. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  296. package/dist/esm/eds-input-search.entry.js +1 -1
  297. package/dist/esm/eds-modal.entry.js +18 -9
  298. package/dist/esm/eds-pie.entry.js +2 -2
  299. package/dist/esm/eds-section-core_2.entry.js +3 -3
  300. package/dist/esm/eds-timeline.entry.js +1 -1
  301. package/dist/esm/eds-toast-manager.entry.js +1 -1
  302. package/dist/esm/eds-trl-badge.entry.js +14 -11
  303. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  304. package/dist/esm/loader.js +1 -1
  305. package/dist/esm/logo-space.entry.js +58 -1
  306. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  307. package/dist/esm/logo-variations-tabs.entry.js +1 -1
  308. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  309. package/dist/esm/svg-repository.entry.js +1 -1
  310. package/dist/esm/token-list_3.entry.js +3 -3
  311. package/dist/esm/token-ratios.entry.js +1 -1
  312. package/dist/esm/token-spacing.entry.js +1 -1
  313. package/dist/esm/token-typography.entry.js +8 -2
  314. package/dist/hydrate/index.js +572 -368
  315. package/dist/hydrate/index.mjs +572 -368
  316. package/dist/types/components/eds-form/eds-form.d.ts +56 -0
  317. package/dist/types/components/eds-form/eds-form.stories.d.ts +63 -0
  318. package/dist/types/components/eds-logo/eds-logo.d.ts +11 -28
  319. package/dist/types/components/eds-logo/eds-logo.stories.d.ts +22 -2
  320. package/dist/types/components/eds-steps/eds-steps.d.ts +7 -0
  321. package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +14 -1
  322. package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +40 -9
  323. package/dist/types/components/eds-switch/eds-switch.d.ts +6 -2
  324. package/dist/types/components/eds-switch/eds-switch.stories.d.ts +8 -0
  325. package/dist/types/components/eds-toast/eds-toast.d.ts +33 -1
  326. package/dist/types/components/eds-toast/eds-toast.stories.d.ts +49 -1
  327. package/dist/types/components/eds-user/eds-user.d.ts +0 -2
  328. package/dist/types/components/eds-user/eds-user.stories.d.ts +5 -9
  329. package/dist/types/components.d.ts +210 -60
  330. package/package.json +1 -1
  331. package/dist/components/p-00ba405d.entry.js +0 -1
  332. package/dist/components/p-03342030.entry.js +0 -1
  333. package/dist/components/p-0e2bac0f.entry.js +0 -1
  334. package/dist/components/p-18399fe1.entry.js +0 -1
  335. package/dist/components/p-1e6f0572.entry.js +0 -1
  336. package/dist/components/p-27e093c3.entry.js +0 -1
  337. package/dist/components/p-3d1bb2fe.entry.js +0 -1
  338. package/dist/components/p-5ff4b1d0.entry.js +0 -1
  339. package/dist/components/p-6be1730a.entry.js +0 -1
  340. package/dist/components/p-786ff09b.entry.js +0 -1
  341. package/dist/components/p-85476a6f.entry.js +0 -9
  342. package/dist/components/p-c2127276.entry.js +0 -1
  343. package/dist/components/p-c3ee9163.entry.js +0 -1
  344. package/dist/components/p-c4cfbf98.entry.js +0 -1
  345. package/dist/components/p-c65082fe.entry.js +0 -1
  346. package/dist/components/p-cc096938.entry.js +0 -1
  347. package/dist/components/p-f4d2f882.entry.js +0 -1
@@ -243,7 +243,17 @@ export namespace Components {
243
243
  /**
244
244
  * The visual intent or style of the button. - 'primary': Brand black background with white text - 'secondary': Transparent/white background with black border and text - 'secondaryInverse': Transparent background with white border and white text (for dark backgrounds) - 'brand': Brand green background with black text (CTA style) - 'cta': CTA link style with monospace font (gray text that turns green on hover) - 'cta-brand': CTA link style with monospace font (always green)
245
245
  */
246
- "intent": 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandLight' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
246
+ "intent": | 'primary'
247
+ | 'secondary'
248
+ | 'secondaryInverse'
249
+ | 'ghost'
250
+ | 'ghostInverse'
251
+ | 'brand'
252
+ | 'brandLight'
253
+ | 'brandInverse'
254
+ | 'neutral'
255
+ | 'cta'
256
+ | 'cta-brand';
247
257
  /**
248
258
  * The label text to be displayed inside the button.
249
259
  */
@@ -738,6 +748,18 @@ export namespace Components {
738
748
  * The message displayed when the form submission fails.
739
749
  */
740
750
  "errorMessage"?: string;
751
+ /**
752
+ * Optional "time to complete" hint shown as a meta chip in the `brand` hero header (e.g. "~6 minutes"). Brand style only.
753
+ */
754
+ "estimatedTime"?: string;
755
+ /**
756
+ * Optional expiry label shown as a meta chip in the `brand` hero (e.g. "Closes Jun 28, 2026"). Brand style only.
757
+ */
758
+ "expires"?: string;
759
+ /**
760
+ * Small mono eyebrow shown above the title in the `brand` hero header (e.g. a programme or category label). Brand style only.
761
+ */
762
+ "eyebrow"?: string;
741
763
  /**
742
764
  * A JSON string representing the fields in the form. Example: ```json [ { "name": "email", "label": "Email", "type": "text", "required": true }, { "name": "password", "label": "Password", "type": "password", "required": true } ] ```
743
765
  */
@@ -754,6 +776,10 @@ export namespace Components {
754
776
  * Choose between default layout, shadow style, or brand style. - "default": Standard form layout - "shadow": Form with shadow effect - "brand": EBRAINS branded form with left border and shadow
755
777
  */
756
778
  "formStyle": 'default' | 'shadow' | 'brand';
779
+ /**
780
+ * Show the "GDPR compliant" meta chip in the `brand` hero header. Default OFF — it's an unverified compliance claim, so it must be opted into explicitly (per form) rather than advertised on every brand form.
781
+ */
782
+ "gdpr"?: boolean;
757
783
  "getData": () => Promise<FormData>;
758
784
  /**
759
785
  * New: list of groups, each with `{ id: string, title: string }`
@@ -767,11 +793,31 @@ export namespace Components {
767
793
  * The name of the form, used for grouping inputs and identifying the form.
768
794
  */
769
795
  "name": string;
796
+ /**
797
+ * Optional submission-policy label shown as a meta chip in the `brand` hero (e.g. "You can submit this form only once."). Brand style only.
798
+ */
799
+ "policy"?: string;
800
+ /**
801
+ * Completion percentage (0–100) shown as a "X% complete" chip in the `brand` hero — the single-page equivalent of the multi-step progress. Host-driven (e.g. filled required fields); omit/undefined to hide. Brand style only.
802
+ */
803
+ "progress"?: number;
804
+ /**
805
+ * Autosave label next to the dot (e.g. "Saved 5:01 PM"). Empty hides the whole save-state cluster. Brand footer only.
806
+ */
807
+ "saveLabel"?: string;
808
+ /**
809
+ * Autosave state shown at the left of the brand footer (host-driven). The dot pulses grey while saving and settles green when saved.
810
+ */
811
+ "saveStatus": 'idle' | 'saving' | 'saved' | 'error';
770
812
  "setData": (newData: { [key: string]: any; }) => Promise<void>;
771
813
  /**
772
814
  * If `true`, includes the current form URL in the submission data.
773
815
  */
774
816
  "setFormUrl"?: boolean;
817
+ /**
818
+ * Lifecycle state for the brand style (drives the hero eyebrow, glow tint and expiry meta-chip colour). "closed" additionally disables every field, desaturates the body and replaces the submit with a dead "Submissions closed" footer. No effect outside form-style="brand". - "open": accepting submissions (default) - "expiring": accepting but closing soon (amber) - "closed": expired / not accepting (red, read-only)
819
+ */
820
+ "status": 'open' | 'expiring' | 'closed';
775
821
  /**
776
822
  * The title displayed above the form.
777
823
  */
@@ -1537,7 +1583,19 @@ export namespace Components {
1537
1583
  /**
1538
1584
  * The visual style intent of the link. Options: 'primary', 'secondary', 'secondaryInverse', 'ghost', 'strong', 'weak', 'inverse', 'underline', 'underlineInverse', 'brand', 'brandInverse', 'cta', 'cta-brand'.
1539
1585
  */
1540
- "intent"?: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline' | 'underlineInverse' | 'brand' | 'brandInverse' | 'cta' | 'cta-brand';
1586
+ "intent"?: | 'primary'
1587
+ | 'secondary'
1588
+ | 'secondaryInverse'
1589
+ | 'ghost'
1590
+ | 'strong'
1591
+ | 'weak'
1592
+ | 'inverse'
1593
+ | 'underline'
1594
+ | 'underlineInverse'
1595
+ | 'brand'
1596
+ | 'brandInverse'
1597
+ | 'cta'
1598
+ | 'cta-brand';
1541
1599
  /**
1542
1600
  * The text label for the link.
1543
1601
  */
@@ -1556,28 +1614,23 @@ export namespace Components {
1556
1614
  "url"?: string;
1557
1615
  }
1558
1616
  /**
1559
- * `EdsLogo` is a logo component designed to display a clickable logo that can link to a specified URL.
1560
- * Key Features:
1561
- * - Supports various logo styles and orientations.
1562
- * - Emits a custom `matomoEvent` for tracking click interactions.
1617
+ * `EdsLogo` renders the clickable EBRAINS brand mark (inline SVG).
1563
1618
  * Props:
1564
- * - `href` (string): The URL to navigate to when the logo is clicked (defaults to the root path `/`).
1565
- * - `orientation` (string): The orientation of the logo (`horizontal` or `vertical`).
1566
- * - `type` (string): The style of the logo (`color`, `black`, `color-white`, `white`).
1567
- * Events:
1568
- * - `matomoEvent`: Emitted when the logo is clicked, carrying metadata for analytics tracking, including the event `category`, `tag`, `name`, and `action`.
1569
- * This component is ideal for navigation and branding, with options for style customization and interaction tracking.
1619
+ * - `variant` (attribute `type`): `'positive'` (dark logo for light
1620
+ * backgrounds) or `'negative'` (light logo for dark backgrounds).
1621
+ * - `href`: where the logo links to (defaults to `/`). The logo is the
1622
+ * click-to-home affordance in eds-header, eds-fullscreen-menu and the
1623
+ * eds-form brand hero.
1624
+ * Clicks emit an analytics event (category/tag/name/action).
1625
+ * NOTE: the SVG has a viewBox but no intrinsic width, so the host needs a
1626
+ * sized block parent to render (e.g. eds-header wraps it in a fixed-width
1627
+ * container).
1570
1628
  */
1571
1629
  interface EdsLogo {
1572
1630
  /**
1573
1631
  * The URL that the logo should link to. When clicked, the user will be navigated to this URL. Defaults to the root path ('/').
1574
1632
  */
1575
1633
  "href": string;
1576
- "label": string;
1577
- /**
1578
- * The orientation of the logo to display. - `"horizontal"` displays the logo horizontally. - `"vertical"` displays the logo vertically.
1579
- */
1580
- "orientation": 'horizontal' | 'vertical';
1581
1634
  /**
1582
1635
  * The visual variant of the logo. `'positive'` for dark logo on light backgrounds, `'negative'` for light logo on dark backgrounds.
1583
1636
  */
@@ -1990,6 +2043,10 @@ export namespace Components {
1990
2043
  }
1991
2044
  interface EdsStepsV2 {
1992
2045
  "backLabel": string;
2046
+ /**
2047
+ * Whether the stepper draws its own bordered card. Default true. Set to false when the host already provides the card chrome (e.g. a multi-step form whose form-style border lives on an outer wrapper) to avoid a double border.
2048
+ */
2049
+ "card": boolean;
1993
2050
  /**
1994
2051
  * Disable Next/Finish (boolean or per-step boolean[]). Also accepts a JSON array string.
1995
2052
  * @attr disable-next
@@ -2049,9 +2106,9 @@ export namespace Components {
2049
2106
  */
2050
2107
  "labelOn": string;
2051
2108
  /**
2052
- * Variant of the switch: 'toggle' (default) or 'segmented' (pill-style buttons)
2109
+ * Variant of the switch: - 'toggle' (default): the classic on/off switch - 'segmented': pill-style buttons — light container, green active pill - 'segmented-dark': pill-style buttons — white container with a hairline border and a dark (brand-black) active pill
2053
2110
  */
2054
- "variant": 'toggle' | 'segmented';
2111
+ "variant": 'toggle' | 'segmented' | 'segmented-dark';
2055
2112
  }
2056
2113
  /**
2057
2114
  * `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
@@ -2174,18 +2231,34 @@ export namespace Components {
2174
2231
  "events": string | any[];
2175
2232
  }
2176
2233
  interface EdsToast {
2234
+ /**
2235
+ * Show a dismiss (×) button regardless of `duration`. The `toast` variant already shows one whenever `duration` is set; set this for a persistent banner the user can still close.
2236
+ */
2237
+ "dismissible": boolean;
2177
2238
  /**
2178
2239
  * Determines the duration before the toast auto-dismisses (in milliseconds). If set, the toast will auto-dismiss and show a close button. If not set (or set to 0), it will persist without a close button.
2179
2240
  */
2180
2241
  "duration"?: number;
2242
+ /**
2243
+ * Bold heading shown above the message. Banner variant only.
2244
+ */
2245
+ "heading"?: string;
2246
+ /**
2247
+ * Leading icon name (from the EBRAINS icon set). Banner variant only. Falls back to a sensible default per intent when omitted.
2248
+ */
2249
+ "icon"?: string;
2181
2250
  /**
2182
2251
  * The visual intent or style of the toast, indicating the toast type.
2183
2252
  */
2184
- "intent": 'default' | 'success' | 'error' | 'warning' | 'brand' | 'brandInverse';
2253
+ "intent": 'default' | 'success' | 'error' | 'warning' | 'info' | 'neutral' | 'brand' | 'brandInverse';
2185
2254
  /**
2186
2255
  * The main message or text to be displayed in the toast.
2187
2256
  */
2188
2257
  "message": string;
2258
+ /**
2259
+ * Visual variant: - "toast": the classic compact pill (message + close). Default; used by the global toast manager. - "banner": a richer inline banner — leading icon in a tinted square, a bold heading over a mono message, a coloured left rail on a tinted surface, an optional actions slot and an optional dismiss button. Use for persistent, in-page status (form expiry, saved draft, etc.).
2260
+ */
2261
+ "variant": 'toast' | 'banner';
2189
2262
  }
2190
2263
  interface EdsToastManager {
2191
2264
  }
@@ -2813,6 +2886,8 @@ declare global {
2813
2886
  value?: any;
2814
2887
  message?: string;
2815
2888
  success?: boolean;
2889
+ /** True when this change came from the Clear button (host may skip autosave). */
2890
+ cleared?: boolean;
2816
2891
  };
2817
2892
  }
2818
2893
  /**
@@ -3170,17 +3245,17 @@ declare global {
3170
3245
  new (): HTMLEdsLinkElement;
3171
3246
  };
3172
3247
  /**
3173
- * `EdsLogo` is a logo component designed to display a clickable logo that can link to a specified URL.
3174
- * Key Features:
3175
- * - Supports various logo styles and orientations.
3176
- * - Emits a custom `matomoEvent` for tracking click interactions.
3248
+ * `EdsLogo` renders the clickable EBRAINS brand mark (inline SVG).
3177
3249
  * Props:
3178
- * - `href` (string): The URL to navigate to when the logo is clicked (defaults to the root path `/`).
3179
- * - `orientation` (string): The orientation of the logo (`horizontal` or `vertical`).
3180
- * - `type` (string): The style of the logo (`color`, `black`, `color-white`, `white`).
3181
- * Events:
3182
- * - `matomoEvent`: Emitted when the logo is clicked, carrying metadata for analytics tracking, including the event `category`, `tag`, `name`, and `action`.
3183
- * This component is ideal for navigation and branding, with options for style customization and interaction tracking.
3250
+ * - `variant` (attribute `type`): `'positive'` (dark logo for light
3251
+ * backgrounds) or `'negative'` (light logo for dark backgrounds).
3252
+ * - `href`: where the logo links to (defaults to `/`). The logo is the
3253
+ * click-to-home affordance in eds-header, eds-fullscreen-menu and the
3254
+ * eds-form brand hero.
3255
+ * Clicks emit an analytics event (category/tag/name/action).
3256
+ * NOTE: the SVG has a viewBox but no intrinsic width, so the host needs a
3257
+ * sized block parent to render (e.g. eds-header wraps it in a fixed-width
3258
+ * container).
3184
3259
  */
3185
3260
  interface HTMLEdsLogoElement extends Components.EdsLogo, HTMLStencilElement {
3186
3261
  }
@@ -4005,7 +4080,17 @@ declare namespace LocalJSX {
4005
4080
  /**
4006
4081
  * The visual intent or style of the button. - 'primary': Brand black background with white text - 'secondary': Transparent/white background with black border and text - 'secondaryInverse': Transparent background with white border and white text (for dark backgrounds) - 'brand': Brand green background with black text (CTA style) - 'cta': CTA link style with monospace font (gray text that turns green on hover) - 'cta-brand': CTA link style with monospace font (always green)
4007
4082
  */
4008
- "intent"?: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandLight' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
4083
+ "intent"?: | 'primary'
4084
+ | 'secondary'
4085
+ | 'secondaryInverse'
4086
+ | 'ghost'
4087
+ | 'ghostInverse'
4088
+ | 'brand'
4089
+ | 'brandLight'
4090
+ | 'brandInverse'
4091
+ | 'neutral'
4092
+ | 'cta'
4093
+ | 'cta-brand';
4009
4094
  /**
4010
4095
  * The label text to be displayed inside the button.
4011
4096
  */
@@ -4508,6 +4593,18 @@ declare namespace LocalJSX {
4508
4593
  * The message displayed when the form submission fails.
4509
4594
  */
4510
4595
  "errorMessage"?: string;
4596
+ /**
4597
+ * Optional "time to complete" hint shown as a meta chip in the `brand` hero header (e.g. "~6 minutes"). Brand style only.
4598
+ */
4599
+ "estimatedTime"?: string;
4600
+ /**
4601
+ * Optional expiry label shown as a meta chip in the `brand` hero (e.g. "Closes Jun 28, 2026"). Brand style only.
4602
+ */
4603
+ "expires"?: string;
4604
+ /**
4605
+ * Small mono eyebrow shown above the title in the `brand` hero header (e.g. a programme or category label). Brand style only.
4606
+ */
4607
+ "eyebrow"?: string;
4511
4608
  /**
4512
4609
  * A JSON string representing the fields in the form. Example: ```json [ { "name": "email", "label": "Email", "type": "text", "required": true }, { "name": "password", "label": "Password", "type": "password", "required": true } ] ```
4513
4610
  */
@@ -4524,6 +4621,10 @@ declare namespace LocalJSX {
4524
4621
  * Choose between default layout, shadow style, or brand style. - "default": Standard form layout - "shadow": Form with shadow effect - "brand": EBRAINS branded form with left border and shadow
4525
4622
  */
4526
4623
  "formStyle"?: 'default' | 'shadow' | 'brand';
4624
+ /**
4625
+ * Show the "GDPR compliant" meta chip in the `brand` hero header. Default OFF — it's an unverified compliance claim, so it must be opted into explicitly (per form) rather than advertised on every brand form.
4626
+ */
4627
+ "gdpr"?: boolean;
4527
4628
  /**
4528
4629
  * New: list of groups, each with `{ id: string, title: string }`
4529
4630
  */
@@ -4543,11 +4644,33 @@ declare namespace LocalJSX {
4543
4644
  value?: any;
4544
4645
  message?: string;
4545
4646
  success?: boolean;
4647
+ /** True when this change came from the Clear button (host may skip autosave). */
4648
+ cleared?: boolean;
4546
4649
  }>) => void;
4650
+ /**
4651
+ * Optional submission-policy label shown as a meta chip in the `brand` hero (e.g. "You can submit this form only once."). Brand style only.
4652
+ */
4653
+ "policy"?: string;
4654
+ /**
4655
+ * Completion percentage (0–100) shown as a "X% complete" chip in the `brand` hero — the single-page equivalent of the multi-step progress. Host-driven (e.g. filled required fields); omit/undefined to hide. Brand style only.
4656
+ */
4657
+ "progress"?: number;
4658
+ /**
4659
+ * Autosave label next to the dot (e.g. "Saved 5:01 PM"). Empty hides the whole save-state cluster. Brand footer only.
4660
+ */
4661
+ "saveLabel"?: string;
4662
+ /**
4663
+ * Autosave state shown at the left of the brand footer (host-driven). The dot pulses grey while saving and settles green when saved.
4664
+ */
4665
+ "saveStatus"?: 'idle' | 'saving' | 'saved' | 'error';
4547
4666
  /**
4548
4667
  * If `true`, includes the current form URL in the submission data.
4549
4668
  */
4550
4669
  "setFormUrl"?: boolean;
4670
+ /**
4671
+ * Lifecycle state for the brand style (drives the hero eyebrow, glow tint and expiry meta-chip colour). "closed" additionally disables every field, desaturates the body and replaces the submit with a dead "Submissions closed" footer. No effect outside form-style="brand". - "open": accepting submissions (default) - "expiring": accepting but closing soon (amber) - "closed": expired / not accepting (red, read-only)
4672
+ */
4673
+ "status"?: 'open' | 'expiring' | 'closed';
4551
4674
  /**
4552
4675
  * The title displayed above the form.
4553
4676
  */
@@ -5372,7 +5495,19 @@ declare namespace LocalJSX {
5372
5495
  /**
5373
5496
  * The visual style intent of the link. Options: 'primary', 'secondary', 'secondaryInverse', 'ghost', 'strong', 'weak', 'inverse', 'underline', 'underlineInverse', 'brand', 'brandInverse', 'cta', 'cta-brand'.
5374
5497
  */
5375
- "intent"?: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'strong' | 'weak' | 'inverse' | 'underline' | 'underlineInverse' | 'brand' | 'brandInverse' | 'cta' | 'cta-brand';
5498
+ "intent"?: | 'primary'
5499
+ | 'secondary'
5500
+ | 'secondaryInverse'
5501
+ | 'ghost'
5502
+ | 'strong'
5503
+ | 'weak'
5504
+ | 'inverse'
5505
+ | 'underline'
5506
+ | 'underlineInverse'
5507
+ | 'brand'
5508
+ | 'brandInverse'
5509
+ | 'cta'
5510
+ | 'cta-brand';
5376
5511
  /**
5377
5512
  * The text label for the link.
5378
5513
  */
@@ -5391,28 +5526,23 @@ declare namespace LocalJSX {
5391
5526
  "url"?: string;
5392
5527
  }
5393
5528
  /**
5394
- * `EdsLogo` is a logo component designed to display a clickable logo that can link to a specified URL.
5395
- * Key Features:
5396
- * - Supports various logo styles and orientations.
5397
- * - Emits a custom `matomoEvent` for tracking click interactions.
5529
+ * `EdsLogo` renders the clickable EBRAINS brand mark (inline SVG).
5398
5530
  * Props:
5399
- * - `href` (string): The URL to navigate to when the logo is clicked (defaults to the root path `/`).
5400
- * - `orientation` (string): The orientation of the logo (`horizontal` or `vertical`).
5401
- * - `type` (string): The style of the logo (`color`, `black`, `color-white`, `white`).
5402
- * Events:
5403
- * - `matomoEvent`: Emitted when the logo is clicked, carrying metadata for analytics tracking, including the event `category`, `tag`, `name`, and `action`.
5404
- * This component is ideal for navigation and branding, with options for style customization and interaction tracking.
5531
+ * - `variant` (attribute `type`): `'positive'` (dark logo for light
5532
+ * backgrounds) or `'negative'` (light logo for dark backgrounds).
5533
+ * - `href`: where the logo links to (defaults to `/`). The logo is the
5534
+ * click-to-home affordance in eds-header, eds-fullscreen-menu and the
5535
+ * eds-form brand hero.
5536
+ * Clicks emit an analytics event (category/tag/name/action).
5537
+ * NOTE: the SVG has a viewBox but no intrinsic width, so the host needs a
5538
+ * sized block parent to render (e.g. eds-header wraps it in a fixed-width
5539
+ * container).
5405
5540
  */
5406
5541
  interface EdsLogo {
5407
5542
  /**
5408
5543
  * The URL that the logo should link to. When clicked, the user will be navigated to this URL. Defaults to the root path ('/').
5409
5544
  */
5410
5545
  "href"?: string;
5411
- "label"?: string;
5412
- /**
5413
- * The orientation of the logo to display. - `"horizontal"` displays the logo horizontally. - `"vertical"` displays the logo vertically.
5414
- */
5415
- "orientation"?: 'horizontal' | 'vertical';
5416
5546
  /**
5417
5547
  * The visual variant of the logo. `'positive'` for dark logo on light backgrounds, `'negative'` for light logo on dark backgrounds.
5418
5548
  */
@@ -5831,6 +5961,10 @@ declare namespace LocalJSX {
5831
5961
  }
5832
5962
  interface EdsStepsV2 {
5833
5963
  "backLabel"?: string;
5964
+ /**
5965
+ * Whether the stepper draws its own bordered card. Default true. Set to false when the host already provides the card chrome (e.g. a multi-step form whose form-style border lives on an outer wrapper) to avoid a double border.
5966
+ */
5967
+ "card"?: boolean;
5834
5968
  /**
5835
5969
  * Disable Next/Finish (boolean or per-step boolean[]). Also accepts a JSON array string.
5836
5970
  * @attr disable-next
@@ -5910,9 +6044,9 @@ declare namespace LocalJSX {
5910
6044
  */
5911
6045
  "onUiswitch"?: (event: EdsSwitchCustomEvent<{ value: boolean }>) => void;
5912
6046
  /**
5913
- * Variant of the switch: 'toggle' (default) or 'segmented' (pill-style buttons)
6047
+ * Variant of the switch: - 'toggle' (default): the classic on/off switch - 'segmented': pill-style buttons — light container, green active pill - 'segmented-dark': pill-style buttons — white container with a hairline border and a dark (brand-black) active pill
5914
6048
  */
5915
- "variant"?: 'toggle' | 'segmented';
6049
+ "variant"?: 'toggle' | 'segmented' | 'segmented-dark';
5916
6050
  }
5917
6051
  /**
5918
6052
  * `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
@@ -6048,19 +6182,35 @@ declare namespace LocalJSX {
6048
6182
  "events"?: string | any[];
6049
6183
  }
6050
6184
  interface EdsToast {
6185
+ /**
6186
+ * Show a dismiss (×) button regardless of `duration`. The `toast` variant already shows one whenever `duration` is set; set this for a persistent banner the user can still close.
6187
+ */
6188
+ "dismissible"?: boolean;
6051
6189
  /**
6052
6190
  * Determines the duration before the toast auto-dismisses (in milliseconds). If set, the toast will auto-dismiss and show a close button. If not set (or set to 0), it will persist without a close button.
6053
6191
  */
6054
6192
  "duration"?: number;
6193
+ /**
6194
+ * Bold heading shown above the message. Banner variant only.
6195
+ */
6196
+ "heading"?: string;
6197
+ /**
6198
+ * Leading icon name (from the EBRAINS icon set). Banner variant only. Falls back to a sensible default per intent when omitted.
6199
+ */
6200
+ "icon"?: string;
6055
6201
  /**
6056
6202
  * The visual intent or style of the toast, indicating the toast type.
6057
6203
  */
6058
- "intent"?: 'default' | 'success' | 'error' | 'warning' | 'brand' | 'brandInverse';
6204
+ "intent"?: 'default' | 'success' | 'error' | 'warning' | 'info' | 'neutral' | 'brand' | 'brandInverse';
6059
6205
  /**
6060
6206
  * The main message or text to be displayed in the toast.
6061
6207
  */
6062
6208
  "message": string;
6063
6209
  "onToast"?: (event: EdsToastCustomEvent<{ visible: boolean; label: 'dismissed' | 'shown' }>) => void;
6210
+ /**
6211
+ * Visual variant: - "toast": the classic compact pill (message + close). Default; used by the global toast manager. - "banner": a richer inline banner — leading icon in a tinted square, a bold heading over a mono message, a coloured left rail on a tinted surface, an optional actions slot and an optional dismiss button. Use for persistent, in-page status (form expiry, saved draft, etc.).
6212
+ */
6213
+ "variant"?: 'toast' | 'banner';
6064
6214
  }
6065
6215
  interface EdsToastManager {
6066
6216
  }
@@ -6556,17 +6706,17 @@ declare module "@stencil/core" {
6556
6706
  */
6557
6707
  "eds-link": LocalJSX.EdsLink & JSXBase.HTMLAttributes<HTMLEdsLinkElement>;
6558
6708
  /**
6559
- * `EdsLogo` is a logo component designed to display a clickable logo that can link to a specified URL.
6560
- * Key Features:
6561
- * - Supports various logo styles and orientations.
6562
- * - Emits a custom `matomoEvent` for tracking click interactions.
6709
+ * `EdsLogo` renders the clickable EBRAINS brand mark (inline SVG).
6563
6710
  * Props:
6564
- * - `href` (string): The URL to navigate to when the logo is clicked (defaults to the root path `/`).
6565
- * - `orientation` (string): The orientation of the logo (`horizontal` or `vertical`).
6566
- * - `type` (string): The style of the logo (`color`, `black`, `color-white`, `white`).
6567
- * Events:
6568
- * - `matomoEvent`: Emitted when the logo is clicked, carrying metadata for analytics tracking, including the event `category`, `tag`, `name`, and `action`.
6569
- * This component is ideal for navigation and branding, with options for style customization and interaction tracking.
6711
+ * - `variant` (attribute `type`): `'positive'` (dark logo for light
6712
+ * backgrounds) or `'negative'` (light logo for dark backgrounds).
6713
+ * - `href`: where the logo links to (defaults to `/`). The logo is the
6714
+ * click-to-home affordance in eds-header, eds-fullscreen-menu and the
6715
+ * eds-form brand hero.
6716
+ * Clicks emit an analytics event (category/tag/name/action).
6717
+ * NOTE: the SVG has a viewBox but no intrinsic width, so the host needs a
6718
+ * sized block parent to render (e.g. eds-header wraps it in a fixed-width
6719
+ * container).
6570
6720
  */
6571
6721
  "eds-logo": LocalJSX.EdsLogo & JSXBase.HTMLAttributes<HTMLEdsLogoElement>;
6572
6722
  "eds-matomo-notice": LocalJSX.EdsMatomoNotice & JSXBase.HTMLAttributes<HTMLEdsMatomoNoticeElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebrains/components",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-271c61ff.js";import{y as e}from"./p-ecbb679f.js";const t=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"7ebb80fd84ed9ed7c227b1f1ddf213d0502160f9",class:this.class,innerHTML:e})}};export{t as eds_icon_youtube}
@@ -1 +0,0 @@
1
- import{r as e,h as c}from"./p-271c61ff.js";const a=class{constructor(c){e(this,c)}render(){return c("div",{key:"857d52883315b5be7edb90c89602b29f258cabda",class:"w-full"},c("ul",{key:"e1dbf5d8e227c9014183c2465bf281e554f7e35b",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c("li",{key:"85795c6c4ad2c4fc05cda1183a06dadc78521b45",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"e0d6a8712ab4d47dca6ca275c09592b8af381b20",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"cbfc5e4dcb4040b375d195246626d833d5b33057",class:"spacing-sample m-16 bg-strong"},c("span",{key:"8aa060bb7da7ffdbcd343c849f5e62c6db648fd7",class:"f-body-01 text-inverse"},"Margin: 1rem / m-16")))),c("li",{key:"f4e5e7a4eedac3a350f8c68adc5cdc8ba742166a",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"de4ce6ca17ba9c0a20a794e1ec55f2fcc1f0c440",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"52766704ac7cb4b1336d4283991c5204c7dece18",class:"spacing-sample ml-64 bg-strong"},c("span",{key:"60c2b72b390ac0b204cf10cf2c01907915e0b3a1",class:"f-body-01 text-inverse"},"Margin Left: 4rem / ml-64")))),c("li",{key:"1b7922c2a246a1a95e2e26e455b55ea7b5a2a3e9",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"7d43b9c4bc7ebd4883d9d7871b9fb02a2cece586",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"7afeb3b0db7c70f11e09b5df2d396ebfc4454f00",class:"spacing-sample mt-32 bg-strong"},c("span",{key:"3bccca0e93ad8accb3da8ce64c86ee70d2a6f255",class:"f-body-01 text-inverse"},"Margin Top: 2rem / mt-32")))),c("li",{key:"7cbdb2d1b0cd2f91c1b7a05d6654e89a26f74340",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"a47cb7cce3d8947d07ceff06fea30e19df12c6ec",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"2ee8dc2c52d8a689c12f0333cf7a4d0b36e572f7",class:"spacing-sample p-32 bg-strong"},c("span",{key:"2c19bbed58312c84d15ef45fc4bd5a699718b259",class:"f-body-01 text-inverse"},"Padding: 2rem / p-32")))),c("li",{key:"89283aab1c8e84f4d692e290e227d5b91e88cd56",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"e341336d74199f51d440ad01217816939b4877eb",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"6d59ec419924101b4b2d4daf1fa385cd7d921c2e",class:"spacing-sample pt-32 bg-strong"},c("span",{key:"378293318a5aa7c0c9fecb575e533aa97c7b0ecf",class:"f-body-01 text-inverse"},"Padding Top: 2rem / pt-32")))),c("li",{key:"a8e4328bb418b7b878aebfdfe4022e3054b5167e",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"421adc7f90db876dca2304f0c0f794c2b93b4536",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"ebb689a6011c3da5282eb3bb1cc1a0581af86e90",class:"spacing-sample pl-32 bg-strong"},c("span",{key:"8924318c5edcb5d78c37dc1a768e1b3e0fa775ed",class:"f-body-01 text-inverse"},"Padding Left: 2rem / pl-32"))))))}};export{a as token_spacing}
@@ -1 +0,0 @@
1
- import{r as e,h as c}from"./p-271c61ff.js";const a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],s=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],d=class{constructor(c){e(this,c)}render(){return c("div",{key:"2688817c691de1f39d1c25845642e99af13e1b00",class:"container"},c("div",{key:"823b5f324f9b7fe4143dd982e71f535b9c576dd6",class:"mb-8"},c("eds-alert",{key:"95cf4b07317e116636979fb2d72b4fe925b09fa2",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"})),c("div",{key:"d4bfceeb122dddf376808ae187379c07ed0e1a06",class:"flex"},c("div",{key:"82eac813cc9b29424640fb2517992e3384d19a6e",class:"w-full"},c("ul",{key:"da2ca77bd91a25c6a451910a6b3bf939e5e8abc9",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:"538560ac8db9f9d023a5afbf4cd67dff80f6e7b6",class:"w-full"},c("ul",{key:"4b601f722730fbe1cbb78c1185d79b34654d3f76",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{d as incorrect_use_of_colors}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-271c61ff.js";import{g as e}from"./p-50e27321.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"d1c7c0c1e3cae3b45377e305792192df46ef064a",class:this.class,innerHTML:e})}};export{c as eds_icon_gitlab}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-271c61ff.js";import{f as r}from"./p-4687b64c.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"798a3ad6a040dfce879fe62c0a32c83cbd529ad0",class:this.class,innerHTML:r})}};export{a as eds_icon_facebook}
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-271c61ff.js";const c=class{constructor(a){e(this,a),this.colors=[{rgb:"R156 G225 B66",cmyk:"C52 M0 Y98 K0",hex:"#9CE142",pantoneC:"PANTONE 367 C",pantoneU:"PANTONE 374 U",background:"#9CE142"},{rgb:"R0 G201 B89",cmyk:"C75 M0 Y80 K0",hex:"#00C959",pantoneC:"PANTONE 7480 C",pantoneU:"PANTONE 7481 U",background:"#00C959"},{rgb:"R0 G165 B149",cmyk:"C78 M8 Y49 K0",hex:"#00A595",pantoneC:"PANTONE 3272 C",pantoneU:"PANTONE 3275 U",background:"#00A595"}]}render(){return a("ul",{key:"baff427c72d8e73945459cd7988112758685e9dc",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}},a("div",{class:"grid"},a("span",{class:"f-body-02"},e.rgb),a("span",{class:"f-body-02 w-full"},e.cmyk),a("eds-code-block",{code:e.hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{class:"grid"},a("span",{class:"f-body-02"},e.pantoneC),a("span",{class:"f-body-02"},e.pantoneU)))))))}},d=class{constructor(a){e(this,a),this.colors=[{rgb:"R63 G169 B245",cmyk:"C68 M13 Y0 K0",hex:"#3FA9F5",pantoneC:"PANTONE 298 C",pantoneU:"PANTONE 298 U",background:"#3FA9F5"},{rgb:"R6 G68 B244",cmyk:"C92 M60 Y0 K0",hex:"#0644F4",pantoneC:"PANTONE 2728 C",pantoneU:"PANTONE 2935 U",background:"#0644F4"},{rgb:"R196 G97 B255",cmyk:"C52 M67 Y0 K0",hex:"#C461FF",pantoneC:"PANTONE 252 C",pantoneU:"PANTONE 252 U",background:"#C461FF"},{rgb:"R93 G61 B249",cmyk:"C83 M78 Y0 K0",hex:"#5D3DF9",pantoneC:"PANTONE 266 C",pantoneU:"PANTONE 2735 U",background:"#5D3DF9"},{rgb:"R255 G165 B67",cmyk:"C0 M43 Y76 K0",hex:"#FFA543",pantoneC:"PANTONE 804 C",pantoneU:"PANTONE 136 U",background:"#FFA543"},{rgb:"R255 G77 B104",cmyk:"C0 M81 Y42 K0",hex:"#FF4D68",pantoneC:"PANTONE 1785 C",pantoneU:"PANTONE 185 U",background:"#FF4D68"}],this.show=void 0}render(){return a("ul",{key:"f72b4b776eb902f9525ed7d8daf22f58e76adf6c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}},a("div",{class:"grid"},a("span",{class:"f-body-02"},e.rgb),a("span",{class:"f-body-02 w-full"},e.cmyk),a("eds-code-block",{code:e.hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{class:"grid"},a("span",{class:"f-body-02"},e.pantoneC),a("span",{class:"f-body-02"},e.pantoneU)))))))}},s=class{constructor(a){e(this,a),this.colors=[{rgb:"R20 G20 B20",cmyk:"C78 M69 Y61 K87",hex:"#141414",pantoneC:"",pantoneU:"",background:"#141414"},{rgb:"R56 G56 B56",cmyk:"C68 M58 Y55 K63",hex:"#383838",pantoneC:"PANTONE 447 C",pantoneU:"PANTONE Neutral Black U",background:"#383838"},{rgb:"R204 G204 B204",cmyk:"C23 M17 Y18 K0",hex:"#CCCCCC",pantoneC:"PANTONE Cool Gray 2 C",pantoneU:"PANTONE Cool Gray 2 U",background:"#CCCCCC"},{rgb:"R230 G230 B230",cmyk:"C12 M8 Y9 K0",hex:"#E6E6E6",pantoneC:"PANTONE 663 C",pantoneU:"PANTONE 649 U",background:"#E6E6E6"},{rgb:"R255 G255 B255",cmyk:"C0 M0 Y0 K0",hex:"#FFFFFF",pantoneC:"",pantoneU:"",background:"#FFFFFF"}]}getTextColor(e){if(e.startsWith("#")){const a=e.slice(1);return(.299*parseInt(a.substring(0,2),16)+.587*parseInt(a.substring(2,4),16)+.114*parseInt(a.substring(4,6),16))/255>.5?"text-default":"text-inverse"}if(/rgb/i.test(e)){const a=e.replace(/rgba?\(/i,"").replace(")","").split(",").map((e=>parseFloat(e.trim()))),[c,d,s]=a;return(.299*c+.587*d+.114*s)/255>.5?"text-default":"text-inverse"}return"text-default"}render(){return a("ul",{key:"0f2cc155ce4e73dc47272a4640834cb0ee2e22a5",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map((e=>{const c=this.getTextColor(e.background);return a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}},a("div",{class:"grid"},a("span",{class:`f-body-02 ${c}`},e.cmyk),a("eds-code-block",{code:e.hex,style:{minWidth:"150px",marginRight:"5px"},class:c})),a("div",{class:"grid"},a("span",{class:`f-body-02 ${c}`},e.pantoneC),a("span",{class:`f-body-02 ${c}`},e.pantoneU))))})))}},f=class{constructor(a){e(this,a),this.colors=[{rgb:"R156 G225 B66",cmyk:"C52 M0 Y98 K0",hex:"#9CE142",pantoneC:"PANTONE 367 C",pantoneU:"PANTONE 374 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"},{rgb:"R0 G201 B89",cmyk:"C75 M0 Y80 K0",hex:"#00C959",pantoneC:"PANTONE 7480 C",pantoneU:"PANTONE 7481 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"},{rgb:"R0 G165 B149",cmyk:"C78 M8 Y49 K0",hex:"#00A595",pantoneC:"PANTONE 3272 C",pantoneU:"PANTONE 3275 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"}]}render(){return a("ul",{key:"a8696a25aafbfb13acf0966545e33caf6f65545d",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16",style:{background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"}},this.colors.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"effect-height flex items-center justify-between p-16"},a("div",{class:"grid"},a("span",{class:"f-body-02"},e.rgb),a("span",{class:"f-body-02 w-full"},e.cmyk),a("eds-code-block",{code:e.hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{class:"grid"},a("span",{class:"f-body-02"},e.pantoneC),a("span",{class:"f-body-02"},e.pantoneU)))))))}},b=class{constructor(a){e(this,a),this.colors=[{rgb:"R63 G169 B245",cmyk:"C68 M13 Y0 K0",hex:"#3FA9F5",pantoneC:"PANTONE 298 C",pantoneU:"PANTONE 298 U",background:"linear-gradient(to bottom, #3FA9F5, #3FA9F5)"},{rgb:"R6 G68 B244",cmyk:"C92 M60 Y0 K0",hex:"#0644F4",pantoneC:"PANTONE 2728 C",pantoneU:"PANTONE 2935 U",background:"linear-gradient(to bottom, #3FA9F5, #0644F4)"},{rgb:"R196 G97 B255",cmyk:"C52 M67 Y0 K0",hex:"#C461FF",pantoneC:"PANTONE 252 C",pantoneU:"PANTONE 252 U",background:"linear-gradient(to bottom, #C461FF, #C461FF)"},{rgb:"R93 G61 B249",cmyk:"C83 M78 Y0 K0",hex:"#5D3DF9",pantoneC:"PANTONE 266 C",pantoneU:"PANTONE 2735 U",background:"linear-gradient(to bottom, #C461FF, #5D3DF9)"},{rgb:"R255 G165 B67",cmyk:"C0 M43 Y76 K0",hex:"#FFA543",pantoneC:"PANTONE 804 C",pantoneU:"PANTONE 136 U",background:"linear-gradient(to bottom, #FFA543, #FFA543)"},{rgb:"R255 G77 B104",cmyk:"C0 M81 Y42 K0",hex:"#FF4D68",pantoneC:"PANTONE 1785 C",pantoneU:"PANTONE 185 U",background:"linear-gradient(to bottom, #FFA543, #FF4D68)"}]}render(){return a("div",{key:"0ddb6899f2537c472edbdd0de348c4155a861fff"},a("ul",{key:"f5dc4b1ec2fac8da8266e89b3ee51b13bbf2ab6c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"f0c8c818f3fcf25c565890fc330f0381c5c0dbc6",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"b6df1db077f85646585b918b155e49ea139bcc82",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[0].background}},a("div",{key:"77d1cb3761d5d5d1f415e9b47a31fee3f246dd7c",class:"grid"},a("span",{key:"b1d79586fdd0126a44329a6478702803df065afc",class:"f-body-02"},this.colors[0].rgb),a("span",{key:"463fef5cd7531513f644605f4caba6218ddf08ad",class:"f-body-02 w-full"},this.colors[0].cmyk),a("eds-code-block",{key:"e0ecb4d4ec8c30f2de553d8763d50b7346c1148a",code:this.colors[0].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"1e8f1a7be1aa0418232458729a5bb85d2cb98e4f",class:"grid"},a("span",{key:"a82f7eed64466929d0c366ad0cac1dd8d07095b3",class:"f-body-02"},this.colors[0].pantoneC),a("span",{key:"78c94eaf3d621a16ebc17d210fd3f6baef0e70fe",class:"f-body-02"},this.colors[0].pantoneU))),a("div",{key:"4b21c9633426e2d49421e9e93adb920306aced13",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[1].background}},a("div",{key:"118a50630946847b09f2792fda6fc86f9c4b458e",class:"grid"},a("span",{key:"4143c24062fcd7b3313867eb4c13a8a83fbbd644",class:"f-body-02"},this.colors[1].rgb),a("span",{key:"5ef264bd694c497e2ba0348a36ef1789bcada833",class:"f-body-02 w-full"},this.colors[1].cmyk),a("eds-code-block",{key:"a1456423e9173eb95da41584ecded25d5c61766a",code:this.colors[1].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"e345d8cc8c51f2d9d1fea9b2c67051ce5ca8f358",class:"grid"},a("span",{key:"29b7d5bcfb5ac5f95474f053239a49e7fc91799f",class:"f-body-02"},this.colors[1].pantoneC),a("span",{key:"b446728afaa56156a254499d335c2a1c8e1b0148",class:"f-body-02"},this.colors[1].pantoneU))))),a("eds-block-break",{key:"b3d7bc7434cf9f707cd1827cb2dac72fe70d58e2"}),a("ul",{key:"c83274127086ebcb67f22d946480636059e313af",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"27fbee38a641a525a3dd02f4ad7b6b03fa2f59b5",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"34b924874118811fef752e975532fb6c56692b67",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[2].background}},a("div",{key:"1e28e76e270583923233a207dcf14f155ec1a056",class:"grid"},a("span",{key:"25ddba2af4b76aff1d3c28711052e23e1f924f35",class:"f-body-02"},this.colors[2].rgb),a("span",{key:"a2f75582478b7ac7cb5e5c954fbe6bc41c534714",class:"f-body-02 w-full"},this.colors[2].cmyk),a("eds-code-block",{key:"5ed9569671f7644be52a63735cd9f91dd0c38e45",code:this.colors[2].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"b6c65b860f91f5d1b0dea6320588807b54935260",class:"grid"},a("span",{key:"75fdc2677a0cf76e2fc458bf6ddafa8f25e47c25",class:"f-body-02"},this.colors[2].pantoneC),a("span",{key:"48a8182282ab4311ebe104ce812924261f350c52",class:"f-body-02"},this.colors[2].pantoneU))),a("div",{key:"40f5edd974eff3891f08fb4bb71e627a7fc6c3e3",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[3].background}},a("div",{key:"30e2c52d5dc2f14b2d31db28725602fa5db2c7cc",class:"grid"},a("span",{key:"f38624cf43d3afc08c6ddf7fda4c0d8c8302cabb",class:"f-body-02"},this.colors[3].rgb),a("span",{key:"7fa03e96c202c03376214cf874de48ad3059a819",class:"f-body-02 w-full"},this.colors[3].cmyk),a("eds-code-block",{key:"5668f67a60cf3c148b2f411b5e990409f1b2a63d",code:this.colors[3].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"944dbcbe0b74d5de3b7a6cb6249292c4f6198ce4",class:"grid"},a("span",{key:"f85d29f44844bad53e1a8272792909ee655c3d11",class:"f-body-02"},this.colors[3].pantoneC),a("span",{key:"a8565dd2fcd60b9e8f685ca91be4b91fd9310243",class:"f-body-02"},this.colors[3].pantoneU))))),a("eds-block-break",{key:"1736517e3b869da97268b88ca1e862e52afb72e3"}),a("ul",{key:"89c5251e7c56a1858f98f9877721aaf3818d3ce3",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"f1bf325f0f4c4ff13212dd40a957a0407a0e2a31",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"8f324cbb1e6c24f786135607d511cc6040582902",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[4].background}},a("div",{key:"1eb01383979ac6d4a0b61964a7bcd19887c8908f",class:"grid"},a("span",{key:"2aaf61cb79ca93c7303ea37b0e23f755bf933948",class:"f-body-02"},this.colors[4].rgb),a("span",{key:"5814e3e62806533329488aa61f3528d6add22db1",class:"f-body-02 w-full"},this.colors[4].cmyk),a("eds-code-block",{key:"e5a78ab4f2ee993cbf6f084314534b645b782dfa",code:this.colors[4].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"db666031e9fee9f2029992f776e1c468f5fb1ce7",class:"grid"},a("span",{key:"9888a56c6d738e2a175d89e6fe16fe5b4761fc56",class:"f-body-02"},this.colors[4].pantoneC),a("span",{key:"4337a6bedba3e7dbc09225a031c34f3e193d22bb",class:"f-body-02"},this.colors[4].pantoneU))),a("div",{key:"6cf755699eb3ff7f43b8694bb85fb4559372a0a3",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[5].background}},a("div",{key:"c9864bbfb228691b623c2713e3655de3fb871caa",class:"grid"},a("span",{key:"cc86cc9b24f429d7ebeca8ac8fff95346b8c149b",class:"f-body-02"},this.colors[5].rgb),a("span",{key:"e46c02239ec074fe15cb2979b500a0b7e0a17a56",class:"f-body-02 w-full"},this.colors[5].cmyk),a("eds-code-block",{key:"5325d7f9e4a8c28884ba1bc0147d549b42be68c6",code:this.colors[5].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"09af1ed381838dc60410fe2ba9116e4da0644307",class:"grid"},a("span",{key:"bde38ea3998629f7ee7cf4cfafd96bfd3e11fb3a",class:"f-body-02"},this.colors[5].pantoneC),a("span",{key:"f2da476b838b6124f8e1b77209fa1a524048e71a",class:"f-body-02"},this.colors[5].pantoneU))))))}},t=class{constructor(a){e(this,a),this.colors=[{rgb:"R20 G20 B20",cmyk:"C78 M69 Y61 K87",hex:"#141414",pantoneC:"",pantoneU:"",background:"#141414"},{rgb:"R56 G56 B56",cmyk:"C68 M58 Y55 K63",hex:"#383838",pantoneC:"PANTONE 447 C",pantoneU:"PANTONE Neutral Black U",background:"#383838"},{rgb:"R204 G204 B204",cmyk:"C23 M17 Y18 K0",hex:"#CCCCCC",pantoneC:"PANTONE Cool Gray 2 C",pantoneU:"PANTONE Cool Gray 2 U",background:"linear-gradient(to bottom, #CCCCCC, #CCCCCC)"},{rgb:"R230 G230 B230",cmyk:"C12 M8 Y9 K0",hex:"#E6E6E6",pantoneC:"PANTONE 663 C",pantoneU:"PANTONE 649 U",background:"linear-gradient(to bottom, #CCCCCC, #E6E6E6)"},{rgb:"R255 G255 B255",cmyk:"C0 M0 Y0 K0",hex:"#FFFFFF",pantoneC:"",pantoneU:"",background:"#FFFFFF"}]}render(){return a("ul",{key:"a74064ecc5a2d9646b76e50bd01fed9974cad718",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"2a79cfc1423158ebe2479e5f4160874c5c57bba0",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"f732817f063656d0f5083fbde7f53d78f4ce319b",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[0].background}},a("div",{key:"a780e52ac0812ba9f2d0933169a1ed408dcac017",class:"grid"},a("span",{key:"034c1c3f59ddb5d15b417eddd9049f61721c40e7",class:"f-body-02"},this.colors[0].rgb),a("span",{key:"d85bde05df7d5e756d2c4e106ab364e7c3ec3d30",class:"f-body-02 w-full"},this.colors[0].cmyk),a("eds-code-block",{key:"c4f3d8edad422dd905da51a2976b41df8833b2b2",code:this.colors[0].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"6b6055393c1c086ef6c71fde0a06646d32c2cc49",class:"grid"},a("span",{key:"7678ac503bbfe96a8c7e4ba0833e5872afc4bda4",class:"f-body-02"},this.colors[0].pantoneC||"N/A"),a("span",{key:"e3861166afbbdcb1057d7aedf0363be1650ffef2",class:"f-body-02"},this.colors[0].pantoneU||"N/A")))),a("li",{key:"51a63dafebd44287264876132b1a53c7ada24f59",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"26c3f5cd749a0ce810ce71283ba75292884c1802",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[1].background}},a("div",{key:"c2adcca45b3edb97cdc92f1bd177aee32c27d13b",class:"grid"},a("span",{key:"06ee04c8345bd3c7bee01f28ec79c839d3956812",class:"f-body-02"},this.colors[1].rgb),a("span",{key:"4118231fd5b280b10937136b05e420b3d4fa039d",class:"f-body-02 w-full"},this.colors[1].cmyk),a("eds-code-block",{key:"8053667bcbbe539b49a8fa490b28d7fed3c206fb",code:this.colors[1].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"ffbfe32727e433f64c2ca2fefb27348f46cdd123",class:"grid"},a("span",{key:"50199120a53270d4e9a2fdbfe7b0430fd810247e",class:"f-body-02"},this.colors[1].pantoneC||"N/A"),a("span",{key:"9f1b49b9e3e9cc941e4047362a531ac39fa4acf2",class:"f-body-02"},this.colors[1].pantoneU||"N/A")))),a("li",{key:"842be74ea7d2839282421c05c94de0ea08edc324",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"e36fa05852a0e97af9f6d30b4bc7ac0a03c5ca46",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[2].background}},a("div",{key:"7c20aa597afc6623e4f48c96a5dfe35fcc794417",class:"grid"},a("span",{key:"9de55f6cf867d5ca0f359c34df82ea9ea9944b41",class:"f-body-02"},this.colors[2].rgb),a("span",{key:"64ca513c8cb69fa0e8bf8decc3b9315f59e78adc",class:"f-body-02 w-full"},this.colors[2].cmyk),a("eds-code-block",{key:"fe4421e78d7c9f6b9fae2aab43046e68fa61b33a",code:this.colors[2].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"1913674915edca8c83213f405465670bd1dc53b1",class:"grid"},a("span",{key:"a53396290e785e8c055e152d15256388a278606b",class:"f-body-02"},this.colors[2].pantoneC),a("span",{key:"d175bc7681febbde0bfbcf9816c8077cef210de3",class:"f-body-02"},this.colors[2].pantoneU))),a("div",{key:"bbb39daa24f9881296be8b89fc5dd7d980acace6",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[3].background}},a("div",{key:"8d2c43ece12d3b50970df5843d038c4866eeb18e",class:"grid"},a("span",{key:"2e2fc983f867ef09fffb61c6f82d796c68c73b17",class:"f-body-02"},this.colors[3].rgb),a("span",{key:"4d9f460a5f6f5b8166f41eee37e15809b2abf943",class:"f-body-02 w-full"},this.colors[3].cmyk),a("eds-code-block",{key:"dfb80c0f00dc096561da4d5a85a98969e4568987",code:this.colors[3].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"1d7d6041de03afec92b41519d8422a998ce25465",class:"grid"},a("span",{key:"5298461da58d328376cc3448da7b3994dabe0abd",class:"f-body-02"},this.colors[3].pantoneC),a("span",{key:"a21f99e92de656addef78784d6c699ac17c82f36",class:"f-body-02"},this.colors[3].pantoneU)))),a("li",{key:"36b0e8aed142a859481083b733e2c72dbe88e2a7",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{key:"d6620556f763fc9b59ef96846c1121a78945e6df",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[4].background}},a("div",{key:"3be07bea07803e9103ccaa26582502a746f9d832",class:"grid"},a("span",{key:"25ead831ce5dab6e3c145b8610f6654d85bb185a",class:"f-body-02"},this.colors[4].rgb),a("span",{key:"f5993b7b320e904ee13f63152aa33dd82431c387",class:"f-body-02 w-full"},this.colors[4].cmyk),a("eds-code-block",{key:"b01544b8316df980372cc834a39a9adbf7ec2e26",code:this.colors[4].hex,style:{minWidth:"150px",marginRight:"5px"}})),a("div",{key:"e7b4641f2fd27c0742439164bd1f10b08c593f4f",class:"grid"},a("span",{key:"d4fe6aacd76c7aa6b0e5fa06ff553403b16d05b4",class:"f-body-02"},this.colors[4].pantoneC||"N/A"),a("span",{key:"a2eb07ff8a20e25ddf65e589285f016e1ecdc52e",class:"f-body-02"},this.colors[4].pantoneU||"N/A")))))}};export{c as color_primary_palette,d as color_secondary_palette,s as color_support_palette,f as gradient_primary_palette,b as gradient_secondary_palette,t as gradient_support_palette}
@@ -1 +0,0 @@
1
- import{r as i,h as e}from"./p-271c61ff.js";const n=class{constructor(e){i(this,e)}render(){return e("div",{key:"bfd9df144e3cabfc1b2198909208d4d41b1d06b8",class:"container"},e("ul",{key:"318197fcbbf5ea30a3b7786c670dc6a3484063fe",class:"not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"},e("li",{key:"7014dddeec695952b9b4041bacc7b509abd4425c",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"8be13e6c9f214d23941aae09653e6bae85536805",class:"f-body-01 text-center my-4"},"#1 Positive"),e("div",{key:"a3eb696587b0fe2eaea6e6f02c6512d75b2319f4",class:"coloured"},e("eds-logo",{key:"530e57935491b485a8f1ab983c5c74aa62699e33",variant:"positive",href:"#"}))),e("li",{key:"1664f259390ded9c4084a8734b275a24e4add82e",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"c24b35b76fe5cd95462c3f5c435a445b4eed731d",class:"f-body-01 text-center my-4"},"#2 Negative"),e("div",{key:"0ef846b5bc472e082151994428a681e8ef888919",class:"bg-default"},e("eds-logo",{key:"647cbedbffc487740dda470fada93c7c4bfe88b7",variant:"negative",href:"#"})))))}};n.style='ol,ul,menu{list-style:none;margin:0;padding:0}.coloured{background:linear-gradient(to left,\n #9CE142 0%,\n #00C959 50%,\n #00A595 100%)}.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)}.text-center{text-align:center}.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}.grid-layout{--grid-columns:6;display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-6[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-6[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1)::before{inset-inline-start:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+6)::before{inset-inline-end:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)~*::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+6)::after{border-inline-end-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+6)::after{top:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)::after{bottom:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)~li::after{bottom:0}.grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.gap-y-8{row-gap:0.5rem}.flex{display:flex}.flex-col{flex-direction:column}.mx-auto{margin-left:auto;margin-right:auto}.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)}@media (min-width: 750px){.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:gap-y-12{row-gap:0.75rem}}@media (min-width: 900px){.lg\\:gap-y-16{row-gap:1rem}.lg\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1024px){.xl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1280px){.xxl\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.xxl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}';const r=class{constructor(e){i(this,e),this.orientation="vertical",this.type=void 0}render(){return e("div",{key:"7707346060f598bc4a33ed1b25591907bd1ed86f",class:"container"},e("ul",{key:"988427e4445b7238666a8865b40e39106574a020",class:"not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"},e("li",{key:"09ebe2c5e0c4a17451cff4fa7f8d14f8dadccfb2",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"b761f45824056d8022b25851dc92ec477ba5dd90",class:"f-body-01 text-center my-4"},"#1 Positive"),e("div",{key:"b1d0c459aa5fe60c07d23d216873e8792a9b0bdb",class:"mx-auto coloured w-[300px]"},e("eds-logo",{key:"579c9c3bfe2156153d0a695ed164b5c143435935",orientation:"vertical",variant:"positive",href:"#"}))),e("li",{key:"e9392a9b97c7fee407bc49dbf1baf5844c002f4a",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"5335419cfe66e2454eebe227dcbb844bd9c28d65",class:"f-body-01 text-center my-4"},"#2 Negative"),e("div",{key:"85f26cc36d343225c543f55ebff8435b7c3b8128",class:"mx-auto bg-default w-[300px]"},e("eds-logo",{key:"e50ba165a491eda6dbdf386cb7c82cfdb69aa7a7",orientation:"vertical",variant:"negative",href:"#"})))))}};r.style='.coloured{background:linear-gradient(to left,\n #9CE142 0%,\n #00C959 50%,\n #00A595 100%)}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.text-center{text-align:center}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.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}.grid-layout{--grid-columns:6;display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-6[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-6[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1)::before{inset-inline-start:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+6)::before{inset-inline-end:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)~*::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+6)::after{border-inline-end-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+6)::after{top:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)::after{bottom:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)~li::after{bottom:0}.grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.gap-y-8{row-gap:0.5rem}.flex{display:flex}.flex-col{flex-direction:column}.mx-auto{margin-left:auto;margin-right:auto}.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)}@media (min-width: 750px){.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:gap-y-12{row-gap:0.75rem}}@media (min-width: 900px){.lg\\:gap-y-16{row-gap:1rem}.lg\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1024px){.xl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1280px){.xxl\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.xxl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}';export{n as logo_variations_horizontal,r as logo_variations_vertical}
@@ -1 +0,0 @@
1
- import{r as s,h as e}from"./p-271c61ff.js";const t=class{constructor(e){s(this,e),this.buttonText="Cookies Preferences",this.intent="secondary",this.showMatomoNotice=!1,this.noticeKey=0}toggleCookiesPopup(){sessionStorage.removeItem("matomo-deferred"),this.showMatomoNotice?this.noticeKey=this.noticeKey+1:this.showMatomoNotice=!0}render(){return e("div",{key:"0a1f75fe95820dd8f994193f86b52b684f5fd240"},e("eds-link",{key:"d3b5740fa53b30a39296b23cd95da1ad2d8d730d",size:"small",intent:this.intent,label:this.buttonText,onClick:()=>this.toggleCookiesPopup()}),this.showMatomoNotice&&e("eds-matomo-notice",{"force-show":!0,key:this.noticeKey}))}};t.style="";export{t as eds_cookies_preference}
@@ -1 +0,0 @@
1
- import{r as e,h as o}from"./p-271c61ff.js";const s=class{constructor(o){e(this,o),this.isAuthenticated=!1}componentWillLoad(){const e=new Promise((e=>{document.addEventListener("initKeycloak",(o=>{e(o.detail)}),{once:!0})})),o=new Promise((e=>{document.addEventListener("authStatusChanged",(o=>{var s;this.isAuthenticated=null===(s=o.detail)||void 0===s?void 0:s.authenticated,e(o.detail)}),{once:!0})}));this.combinedInitPromise=Promise.all([e,o])}render(){return o("div",{key:"c9192fb7e315fa8fe41c9ee512f4573951865208"},o("eds-splash-screen",{key:"e3d413597cc370692c593abd4017d97e1c172219",inverse:!0,initPromise:this.combinedInitPromise}),o("eds-login",{key:"2821e64738053db4809663aa918f98c4df358201","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),o("main",{key:"4680b74ec0f74b8060b020f726f6696b41b43a9e"},o("h1",null,this.isAuthenticated?"Welcome, authenticated user!":"Please log in.")))}};export{s as eds_app_root}
@@ -1 +0,0 @@
1
- import{r,h as t}from"./p-271c61ff.js";const e=class{constructor(t){r(this,t),this.accessToken=void 0,this.projectId="3360",this.apiUrl="https://gitlab.ebrains.eu/api/v4",this.path=void 0,this.limit=50,this.minCommits=1,this.showStats=!0,this.columns="4",this.sortBy="commits",this.contributors=[],this.loading=!0,this.error=""}async componentWillLoad(){await this.fetchContributors()}getProjectIds(){return this.projectId.split(",").map((r=>r.trim())).filter((r=>r.length>0))}async fetchCommitsByPathForProject(r){const t=[];let e=1;for(;;){const o=`${this.apiUrl}/projects/${encodeURIComponent(r)}/repository/commits?path=${encodeURIComponent(this.path)}&per_page=100&page=${e}`,i=await fetch(o,{headers:{"PRIVATE-TOKEN":this.accessToken}});if(!i.ok)throw new Error(`GitLab API error: ${i.status} ${i.statusText}`);const s=await i.json();if(0===s.length)break;if(t.push(...s),s.length<100)break;e++}const o=new Map;for(const r of t){const t=r.author_email.toLowerCase();o.has(t)?o.get(t).commits++:o.set(t,{name:r.author_name,email:r.author_email,commits:1})}return Array.from(o.values()).map((r=>({name:r.name,email:r.email,commits:r.commits,additions:0,deletions:0})))}async fetchContributorsForProject(r){if(this.path&&"1505"===r)return await this.fetchCommitsByPathForProject(r);{const t=await fetch(`${this.apiUrl}/projects/${encodeURIComponent(r)}/repository/contributors?per_page=100`,{headers:{"PRIVATE-TOKEN":this.accessToken}});if(!t.ok)throw new Error(`GitLab API error: ${t.status} ${t.statusText}`);return await t.json()}}async fetchContributors(){if(!this.accessToken)return this.error="Access token is required for internal projects",void(this.loading=!1);try{this.loading=!0,this.error="";const r=this.getProjectIds();let t=[];for(const e of r){const r=await this.fetchContributorsForProject(e);t.push(...r)}const e=t.filter((r=>{if(r.commits<this.minCommits)return!1;const t=r.email.toLowerCase(),e=r.name.toLowerCase();return!["gitlab-ci","gitlab ci","noreply@gitlab","bot@","automation@"].some((r=>t.includes(r)||e.includes(r)))})),o=this.aggregateContributors(e);o.sort("commits"===this.sortBy?(r,t)=>t.commits-r.commits:(r,t)=>r.username.localeCompare(t.username)),this.contributors=o.slice(0,this.limit),this.loading=!1}catch(r){this.error=r instanceof Error?r.message:"Failed to fetch contributors",this.loading=!1,console.error("Error fetching GitLab contributors:",r)}}extractUsernameFromEmail(r){return r&&r.includes("@")?r.split("@")[0]:r||"unknown"}aggregateContributors(r){const t=new Map;for(const e of r){const r=this.extractUsernameFromEmail(e.email),o=r.toLowerCase();if(t.has(o)){const r=t.get(o);r.commits+=e.commits,r.additions+=e.additions,r.deletions+=e.deletions}else t.set(o,Object.assign(Object.assign({},e),{username:r}))}return Array.from(t.values())}parseName(r){const t=r.trim().split(" ");return 1===t.length?{firstName:t[0],lastName:""}:{firstName:t[0],lastName:t.slice(1).join(" ")}}formatNumber(r){return r>=1e3?`${(r/1e3).toFixed(1)}K`:r.toString()}render(){return this.loading?t("div",{class:"loading",role:"status","aria-live":"polite"},t("eds-spinner",{size:"sm",variant:"primary",background:"transparent",message:"Loading contributors..."})):this.error?t("eds-alert",{message:"Error loading contributors",intent:"error"}):0===this.contributors.length?t("eds-alert",{message:"No contributors found for this project.",intent:"error"}):t("div",{class:"w-full"},t("div",{class:"grid gap-6 w-full "+("2"===this.columns?"grid-cols-1 sm:grid-cols-2":"3"===this.columns?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3":"4"===this.columns?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4":"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5")},this.contributors.map((r=>{const{firstName:e,lastName:o}=this.parseName(r.name);return t("div",{class:"contributor-card flex flex-row gap-4 p-5 bg-white border border-gray-200 rounded-lg transition-all duration-200",key:r.email},t("div",{class:"flex-shrink-0"},t("eds-avatar",{firstName:e,lastName:o,color:"black"})),t("div",{class:"min-w-0 flex flex-col gap-2"},t("span",{class:"f-ui-01 text-default pb-2 m-0 whitespace-nowrap overflow-hidden text-ellipsis"},"@",r.username),t("div",{class:"flex flex-col gap-2 mt-auto"},t("div",{class:"flex items-center gap-2 font-semibold"},t("span",{class:"text-light"},this.formatNumber(r.commits)),t("span",{class:"text-lighter"},1===r.commits?"commit":"commits")))))}))))}};e.style=".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}.flex{display:flex}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.grid{display:grid}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.gap-2{gap:0.5rem;}.gap-4{gap:1rem;}.gap-6{gap:1.5rem;}.p-5{padding:1.25rem;}.p-12{padding:3rem;}.pb-2{padding-bottom:0.25rem;}.pb-4{padding-bottom:1rem;}.mb-6{margin-bottom:1.5rem;}.m-0{margin:0}.mt-auto{margin-top:auto}.w-full{width:100%}.min-w-0{min-width:0}.text-xs{font-size:0.75rem;line-height:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-semibold{font-weight:600}.whitespace-nowrap{white-space:nowrap}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.no-underline{text-decoration:none}.text-gray-600{color:var(--eds-color-gray-600, #4b5563)}.text-gray-900{color:var(--eds-color-gray-900, #111827)}.border-gray-200{border-color:var(--eds-color-gray-200, #e5e7eb)}.bg-white{background-color:var(--eds-color-white, #ffffff)}.text-primary-600{color:var(--eds-color-primary-600, #2563eb)}.hover\\:text-primary-600:hover{color:var(--eds-color-primary-600, #2563eb)}.border-primary-300{border-color:var(--eds-color-primary-300, #93c5fd)}.hover\\:border-primary-300:hover{border-color:var(--eds-color-primary-300, #93c5fd)}.text-success-600{color:var(--eds-color-success-600, #16a34a)}.text-error-600{color:var(--eds-color-error-600, #dc2626)}.border{border-width:1px}.border-b{border-bottom-width:1px}.rounded-lg{border-radius:var(--eds-radius-lg, 0.5rem);}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-200{transition-duration:200ms}.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}.hover\\:shadow-md:hover{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}.-translate-y-0\\.5{transform:translateY(-0.125rem);}.hover\\:-translate-y-0\\.5:hover{transform:translateY(-0.125rem)}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}@media (min-width: 640px){.sm\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 768px){.md\\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media (min-width: 1024px){.lg\\:grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.lg\\:grid-cols-5{grid-template-columns:repeat(5, minmax(0, 1fr))}}.contributor-card{will-change:transform, box-shadow, border-color}.loading{position:relative;min-height:8rem;padding:1rem 1.25rem;color:var(--grey-dark, #7A7B7A);font-size:0.9375rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.25rem;background-color:rgba(0, 0, 0, 0.02)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}";export{e as eds_gitlab_contributors}