@ebrains/components 3.0.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 (427) 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_52.cjs.entry.js → eds-accordion_53.cjs.entry.js} +1095 -336
  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-feedback.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-gauge.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +35 -32
  14. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-input-search.cjs.entry.js +76 -0
  23. package/dist/cjs/eds-modal.cjs.entry.js +18 -9
  24. package/dist/cjs/eds-pie.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  26. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-trl-badge.cjs.entry.js +184 -0
  29. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  30. package/dist/cjs/index-50bc1aa4.js +10 -2
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/logo-space.cjs.entry.js +58 -1
  33. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  34. package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
  35. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  36. package/dist/cjs/svg-repository.cjs.entry.js +1 -1
  37. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  38. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  39. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  40. package/dist/cjs/token-typography.cjs.entry.js +8 -2
  41. package/dist/collection/collection-manifest.json +4 -1
  42. package/dist/collection/components/eds-accordion/eds-accordion.css +3 -2
  43. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -5
  44. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +7 -19
  45. package/dist/collection/components/eds-alert/eds-alert.css +14 -0
  46. package/dist/collection/components/eds-alert/eds-alert.js +2 -1
  47. package/dist/collection/components/eds-alert/eds-alert.stories.js +19 -147
  48. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  49. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +2 -2
  50. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  51. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  52. package/dist/collection/components/eds-button/eds-button.css +15 -0
  53. package/dist/collection/components/eds-button/eds-button.js +17 -14
  54. package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
  55. package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +2 -5
  56. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  57. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  58. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +10 -1
  59. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +2 -5
  60. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +4 -1
  61. package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +2 -5
  62. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -4
  63. package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +6 -7
  64. package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +6 -7
  65. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  66. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +2 -2
  67. package/dist/collection/components/eds-code-block/eds-code-block.css +72 -106
  68. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  69. package/dist/collection/components/eds-dropdown/eds-dropdown.js +30 -4
  70. package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
  71. package/dist/collection/components/eds-footer/eds-footer.css +143 -203
  72. package/dist/collection/components/eds-footer/eds-footer.js +176 -74
  73. package/dist/collection/components/eds-footer/eds-footer.stories.js +109 -17
  74. package/dist/collection/components/eds-form/eds-form.css +493 -1
  75. package/dist/collection/components/eds-form/eds-form.js +256 -14
  76. package/dist/collection/components/eds-form/eds-form.stories.js +110 -3
  77. package/dist/collection/components/eds-frame/eds-frame.js +1 -1
  78. package/dist/collection/components/eds-header/eds-header.js +1 -1
  79. package/dist/collection/components/eds-header/eds-header.stories.js +26 -12
  80. package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +20 -1
  81. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  82. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  83. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  84. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  85. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  86. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  87. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  88. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  89. package/dist/collection/components/eds-img/eds-img.js +2 -2
  90. package/dist/collection/components/eds-img/eds-img.stories.js +29 -52
  91. package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +7 -4
  92. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +20 -2
  93. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +39 -0
  94. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +2 -1
  95. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +17 -5
  96. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  97. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +15 -5
  98. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  99. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.stories.js +30 -0
  100. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +6 -2
  101. package/dist/collection/components/eds-input-field/eds-input-field.css +219 -0
  102. package/dist/collection/components/eds-input-field/eds-input-field.js +16 -5
  103. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +105 -125
  104. package/dist/collection/components/eds-input-file/eds-input-file.js +5 -3
  105. package/dist/collection/components/eds-link/eds-link.js +4 -8
  106. package/dist/collection/components/eds-link/eds-link.stories.js +13 -8
  107. package/dist/collection/components/eds-logo/eds-logo.js +13 -66
  108. package/dist/collection/components/eds-logo/eds-logo.stories.js +36 -17
  109. package/dist/collection/components/eds-modal/eds-modal.js +18 -9
  110. package/dist/collection/components/eds-modal/eds-modal.stories.js +11 -8
  111. package/dist/collection/components/eds-nps/eds-nps.css +32 -0
  112. package/dist/collection/components/eds-nps/eds-nps.js +3 -3
  113. package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
  114. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -8
  115. package/dist/collection/components/eds-rating/eds-rating.css +9 -0
  116. package/dist/collection/components/eds-rating/eds-rating.js +2 -2
  117. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  118. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  119. package/dist/collection/components/eds-sidebar/eds-sidebar.js +2 -2
  120. package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
  121. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  122. package/dist/collection/components/eds-steps/eds-steps.css +56 -25
  123. package/dist/collection/components/eds-steps/eds-steps.js +27 -7
  124. package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +93 -28
  125. package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +57 -10
  126. package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +80 -17
  127. package/dist/collection/components/eds-switch/eds-switch.css +26 -3
  128. package/dist/collection/components/eds-switch/eds-switch.js +10 -7
  129. package/dist/collection/components/eds-switch/eds-switch.stories.js +20 -1
  130. package/dist/collection/components/eds-table/eds-table.css +21 -4
  131. package/dist/collection/components/eds-table/eds-table.js +16 -51
  132. package/dist/collection/components/eds-table/eds-table.stories.js +7 -115
  133. package/dist/collection/components/eds-tabs/eds-tabs.css +7 -1
  134. package/dist/collection/components/eds-tabs/eds-tabs.js +49 -18
  135. package/dist/collection/components/eds-tabs/eds-tabs.stories.js +2 -2
  136. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  137. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  138. package/dist/collection/components/eds-toast/eds-toast.css +146 -0
  139. package/dist/collection/components/eds-toast/eds-toast.js +106 -4
  140. package/dist/collection/components/eds-toast/eds-toast.stories.js +102 -5
  141. package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
  142. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  143. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +7 -1
  144. package/dist/collection/components/eds-user/eds-user.js +2 -5
  145. package/dist/collection/components/eds-user/eds-user.stories.js +8 -11
  146. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  147. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  148. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  149. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  150. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  151. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  152. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  153. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  154. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  155. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  156. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  157. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  158. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  159. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  160. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  161. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -2
  162. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  163. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +58 -1
  164. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  165. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  166. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  167. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  168. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  169. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  170. package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.css +19 -0
  171. package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +34 -31
  172. package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +166 -0
  173. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +69 -7
  174. package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.css +205 -0
  175. package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.js +253 -0
  176. package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +2 -2
  177. package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +1 -3
  178. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +23 -102
  179. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +7 -1
  180. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
  181. package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +213 -0
  182. package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +706 -0
  183. package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +90 -0
  184. package/dist/collection/shared-ui/eds-trl-badge/ebrains-mark.js +26 -0
  185. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.css +22 -0
  186. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.js +324 -0
  187. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +99 -0
  188. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  189. package/dist/collection/utils/eds-form/formValidators.js +2 -1
  190. package/dist/collection/utils/eds-form/safeFormat.js +35 -0
  191. package/dist/components/components-section.js +1 -1
  192. package/dist/components/components.css +12 -11
  193. package/dist/components/components.esm.js +1 -1
  194. package/dist/components/correct-use-of-colors.js +1 -1
  195. package/dist/components/docs-palettes.js +1 -1
  196. package/dist/components/docs-tokens.js +1 -1
  197. package/dist/components/eds-accordion2.js +3 -6
  198. package/dist/components/eds-alert2.js +3 -2
  199. package/dist/components/eds-app-root.js +1 -1
  200. package/dist/components/eds-avatar2.js +1 -1
  201. package/dist/components/eds-block-break2.js +1 -1
  202. package/dist/components/eds-breadcrumb.js +1 -1
  203. package/dist/components/eds-button2.js +16 -13
  204. package/dist/components/eds-card-app.js +2 -5
  205. package/dist/components/eds-card-cta.js +3 -6
  206. package/dist/components/eds-card-desc2.js +1 -1
  207. package/dist/components/eds-card-feature.js +2 -5
  208. package/dist/components/eds-card-generic2.js +2 -4
  209. package/dist/components/eds-card-hero.js +6 -7
  210. package/dist/components/eds-card-stat.js +6 -7
  211. package/dist/components/eds-card-title2.js +1 -1
  212. package/dist/components/eds-code-block2.js +2 -2
  213. package/dist/components/eds-cookies-preference.js +1 -1
  214. package/dist/components/eds-dropdown2.js +30 -4
  215. package/dist/components/eds-feedback.js +1 -1
  216. package/dist/components/eds-footer2.js +118 -24
  217. package/dist/components/eds-form.js +146 -45
  218. package/dist/components/eds-frame.js +1 -1
  219. package/dist/components/eds-gauge.js +1 -1
  220. package/dist/components/eds-gitlab-contributors.js +35 -32
  221. package/dist/components/eds-global-search.js +55 -70
  222. package/dist/components/eds-header.js +1 -1
  223. package/dist/components/eds-icon-bluesky.js +1 -1
  224. package/dist/components/eds-icon-eu.js +1 -1
  225. package/dist/components/eds-icon-facebook.js +1 -1
  226. package/dist/components/eds-icon-gitlab.js +1 -1
  227. package/dist/components/eds-icon-linkedin.js +1 -1
  228. package/dist/components/eds-icon-mastodon.js +1 -1
  229. package/dist/components/eds-icon-twitter.js +1 -1
  230. package/dist/components/eds-icon-wrapper2.js +5 -2
  231. package/dist/components/eds-icon-youtube.js +1 -1
  232. package/dist/components/eds-img2.js +2 -2
  233. package/dist/components/eds-input-dropzone2.js +7 -4
  234. package/dist/components/eds-input-field2.js +31 -26
  235. package/dist/components/eds-input-file2.js +5 -3
  236. package/dist/components/eds-input-footer2.js +39 -3
  237. package/dist/components/eds-input-label2.js +2 -2
  238. package/dist/components/eds-input-range2.js +15 -5
  239. package/dist/components/eds-input-search.js +100 -1
  240. package/dist/components/eds-input-select2.js +6 -2
  241. package/dist/components/eds-input2.js +4 -2
  242. package/dist/components/eds-kg-learning-resources.d.ts +11 -0
  243. package/dist/components/eds-kg-learning-resources.js +217 -0
  244. package/dist/components/eds-kg-web-services-select2.js +18 -24
  245. package/dist/components/eds-link2.js +3 -7
  246. package/dist/components/eds-logo2.js +4 -22
  247. package/dist/components/eds-matomo-notice2.js +8 -2
  248. package/dist/components/eds-modal.js +18 -9
  249. package/dist/components/eds-nps2.js +4 -4
  250. package/dist/components/eds-pagination2.js +2 -2
  251. package/dist/components/eds-pie.js +2 -2
  252. package/dist/components/eds-progress-bar.js +1 -8
  253. package/dist/components/eds-rating2.js +3 -3
  254. package/dist/components/eds-search-select.d.ts +11 -0
  255. package/dist/components/eds-search-select.js +6 -0
  256. package/dist/components/eds-search-select2.js +382 -0
  257. package/dist/components/eds-section-core2.js +1 -1
  258. package/dist/components/eds-section-heading2.js +2 -2
  259. package/dist/components/eds-sidebar.js +2 -2
  260. package/dist/components/eds-social-networks2.js +1 -1
  261. package/dist/components/eds-spinner2.js +1 -1
  262. package/dist/components/eds-steps-v2.js +41 -11
  263. package/dist/components/eds-steps2.js +28 -8
  264. package/dist/components/eds-switch2.js +8 -5
  265. package/dist/components/eds-table2.js +30 -54
  266. package/dist/components/eds-tabs.js +50 -19
  267. package/dist/components/eds-tag2.js +1 -1
  268. package/dist/components/eds-timeline.js +1 -1
  269. package/dist/components/eds-toast-manager.js +1 -1
  270. package/dist/components/eds-toast2.js +39 -3
  271. package/dist/components/eds-tooltip2.js +1 -1
  272. package/dist/components/eds-trl-badge.d.ts +11 -0
  273. package/dist/components/eds-trl-badge.js +207 -0
  274. package/dist/components/eds-user.js +1 -4
  275. package/dist/components/incorrect-use-of-colors.js +1 -1
  276. package/dist/components/logo-space.js +76 -25
  277. package/dist/components/logo-variations-horizontal2.js +1 -1
  278. package/dist/components/logo-variations-tabs.js +1 -1
  279. package/dist/components/logo-variations-vertical2.js +1 -1
  280. package/dist/components/logo-wrong-usage.js +1 -1
  281. package/dist/components/p-05e96609.entry.js +1 -0
  282. package/dist/components/p-0d778d10.entry.js +1 -0
  283. package/dist/components/{p-d2576747.entry.js → p-114f6d54.entry.js} +1 -1
  284. package/dist/components/p-1534204d.entry.js +1 -0
  285. package/dist/components/p-337d4ee3.entry.js +9 -0
  286. package/dist/components/p-340bc935.entry.js +1 -0
  287. package/dist/components/{p-a6dc1f88.entry.js → p-37ef07d9.entry.js} +1 -1
  288. package/dist/components/p-39dbb964.entry.js +1 -0
  289. package/dist/components/{p-dfe93385.entry.js → p-3f66bc26.entry.js} +1 -1
  290. package/dist/components/p-43f9e64f.entry.js +1 -0
  291. package/dist/components/p-46cc6c1a.entry.js +1 -0
  292. package/dist/components/{p-773bd015.entry.js → p-4b8a7979.entry.js} +1 -1
  293. package/dist/components/p-6b94b2ec.entry.js +1 -0
  294. package/dist/components/p-6d965fef.entry.js +1 -0
  295. package/dist/components/{p-d16b5363.entry.js → p-6e370182.entry.js} +1 -1
  296. package/dist/components/{p-7b93a385.entry.js → p-6ffe581c.entry.js} +1 -1
  297. package/dist/components/p-726637b1.entry.js +1 -0
  298. package/dist/components/{p-a63e14bb.entry.js → p-86ccc09f.entry.js} +1 -1
  299. package/dist/components/{p-c2fc62f7.entry.js → p-8755a21b.entry.js} +1 -1
  300. package/dist/components/{p-0d7aee0b.entry.js → p-8ab461e2.entry.js} +1 -1
  301. package/dist/components/p-8cb162b8.entry.js +1 -0
  302. package/dist/components/p-8cdbc280.entry.js +1 -0
  303. package/dist/components/{p-940a2d42.entry.js → p-8e034c4e.entry.js} +1 -1
  304. package/dist/components/p-9f649fa3.entry.js +1 -0
  305. package/dist/components/{p-d1b3aa52.entry.js → p-a26dad9b.entry.js} +1 -1
  306. package/dist/components/p-a2d6a9ca.entry.js +1 -0
  307. package/dist/components/p-afabe1be.entry.js +1 -0
  308. package/dist/components/{p-c46675c8.entry.js → p-b1519098.entry.js} +1 -1
  309. package/dist/components/{p-04e9c2d7.entry.js → p-b1a10842.entry.js} +1 -1
  310. package/dist/components/{p-7aa4edef.entry.js → p-b4023b45.entry.js} +1 -1
  311. package/dist/components/p-c53b3563.entry.js +1 -0
  312. package/dist/components/p-c7d612d1.entry.js +1 -0
  313. package/dist/components/p-dc9aef22.entry.js +1 -0
  314. package/dist/components/{p-f364296f.entry.js → p-f66a7cf9.entry.js} +1 -1
  315. package/dist/components/p-f97f62f2.entry.js +1 -0
  316. package/dist/components/primary.js +1 -1
  317. package/dist/components/primary2.js +1 -1
  318. package/dist/components/secondary.js +1 -1
  319. package/dist/components/secondary2.js +7 -7
  320. package/dist/components/support.js +1 -1
  321. package/dist/components/support2.js +3 -3
  322. package/dist/components/svg-repository.js +19 -25
  323. package/dist/components/token-list2.js +1 -1
  324. package/dist/components/token-radii2.js +1 -1
  325. package/dist/components/token-ratios.js +1 -1
  326. package/dist/components/token-shadows2.js +1 -1
  327. package/dist/components/token-spacing.js +1 -1
  328. package/dist/components/token-typography.js +8 -2
  329. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  330. package/dist/esm/components-section.entry.js +1 -1
  331. package/dist/esm/components.js +1 -1
  332. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  333. package/dist/esm/docs-palettes.entry.js +1 -1
  334. package/dist/esm/docs-tokens.entry.js +1 -1
  335. package/dist/esm/{eds-accordion_52.entry.js → eds-accordion_53.entry.js} +1094 -336
  336. package/dist/esm/eds-app-root.entry.js +1 -1
  337. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  338. package/dist/esm/eds-feedback.entry.js +1 -1
  339. package/dist/esm/eds-frame.entry.js +1 -1
  340. package/dist/esm/eds-gauge.entry.js +1 -1
  341. package/dist/esm/eds-gitlab-contributors.entry.js +35 -32
  342. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  343. package/dist/esm/eds-icon-eu.entry.js +1 -1
  344. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  345. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  346. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  347. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  348. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  349. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  350. package/dist/{components/eds-input-search2.js → esm/eds-input-search.entry.js} +9 -39
  351. package/dist/esm/eds-modal.entry.js +18 -9
  352. package/dist/esm/eds-pie.entry.js +2 -2
  353. package/dist/esm/eds-section-core_2.entry.js +3 -3
  354. package/dist/esm/eds-timeline.entry.js +1 -1
  355. package/dist/esm/eds-toast-manager.entry.js +1 -1
  356. package/dist/esm/eds-trl-badge.entry.js +180 -0
  357. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  358. package/dist/esm/index-870ab08f.js +10 -2
  359. package/dist/esm/loader.js +1 -1
  360. package/dist/esm/logo-space.entry.js +58 -1
  361. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  362. package/dist/esm/logo-variations-tabs.entry.js +1 -1
  363. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  364. package/dist/esm/svg-repository.entry.js +1 -1
  365. package/dist/esm/token-list_3.entry.js +3 -3
  366. package/dist/esm/token-ratios.entry.js +1 -1
  367. package/dist/esm/token-spacing.entry.js +1 -1
  368. package/dist/esm/token-typography.entry.js +8 -2
  369. package/dist/hydrate/index.js +1616 -397
  370. package/dist/hydrate/index.mjs +1616 -397
  371. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +4 -8
  372. package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -73
  373. package/dist/types/components/eds-button/eds-button.d.ts +1 -1
  374. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +1 -0
  375. package/dist/types/components/eds-footer/eds-footer.d.ts +84 -55
  376. package/dist/types/components/eds-footer/eds-footer.stories.d.ts +62 -1
  377. package/dist/types/components/eds-form/eds-form.d.ts +66 -0
  378. package/dist/types/components/eds-form/eds-form.stories.d.ts +63 -0
  379. package/dist/types/components/eds-header/eds-header.stories.d.ts +6 -6
  380. package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +8 -0
  381. package/dist/types/components/eds-img/eds-img.stories.d.ts +6 -20
  382. package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +7 -0
  383. package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.stories.d.ts +36 -0
  384. package/dist/types/components/eds-input-field/eds-input-field.stories.d.ts +97 -38
  385. package/dist/types/components/eds-link/eds-link.stories.d.ts +9 -6
  386. package/dist/types/components/eds-logo/eds-logo.d.ts +11 -28
  387. package/dist/types/components/eds-logo/eds-logo.stories.d.ts +22 -2
  388. package/dist/types/components/eds-steps/eds-steps.d.ts +7 -0
  389. package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +14 -1
  390. package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +40 -9
  391. package/dist/types/components/eds-switch/eds-switch.d.ts +6 -2
  392. package/dist/types/components/eds-switch/eds-switch.stories.d.ts +8 -0
  393. package/dist/types/components/eds-table/eds-table.d.ts +8 -14
  394. package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -107
  395. package/dist/types/components/eds-tabs/eds-tabs.d.ts +10 -0
  396. package/dist/types/components/eds-toast/eds-toast.d.ts +33 -1
  397. package/dist/types/components/eds-toast/eds-toast.stories.d.ts +49 -1
  398. package/dist/types/components/eds-user/eds-user.d.ts +0 -2
  399. package/dist/types/components/eds-user/eds-user.stories.d.ts +5 -9
  400. package/dist/types/components.d.ts +715 -144
  401. package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +12 -0
  402. package/dist/types/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.d.ts +60 -0
  403. package/dist/types/shared-ui/eds-search-select/eds-search-select.d.ts +98 -0
  404. package/dist/types/shared-ui/eds-search-select/eds-search-select.stories.d.ts +81 -0
  405. package/dist/types/shared-ui/eds-trl-badge/ebrains-mark.d.ts +7 -0
  406. package/dist/types/shared-ui/eds-trl-badge/eds-trl-badge.d.ts +54 -0
  407. package/dist/types/shared-ui/eds-trl-badge/eds-trl-badge.stories.d.ts +112 -0
  408. package/dist/types/utils/eds-form/safeFormat.d.ts +21 -0
  409. package/package.json +1 -1
  410. package/dist/components/p-0fe10e6c.entry.js +0 -1
  411. package/dist/components/p-18e852e1.entry.js +0 -1
  412. package/dist/components/p-3ccd6948.entry.js +0 -1
  413. package/dist/components/p-3d3841d6.entry.js +0 -1
  414. package/dist/components/p-3f38df99.entry.js +0 -1
  415. package/dist/components/p-527e71d0.entry.js +0 -1
  416. package/dist/components/p-55047f7f.entry.js +0 -9
  417. package/dist/components/p-64c23098.entry.js +0 -1
  418. package/dist/components/p-74b9c9a8.entry.js +0 -1
  419. package/dist/components/p-878f65a6.entry.js +0 -1
  420. package/dist/components/p-92f6d9c0.entry.js +0 -1
  421. package/dist/components/p-9eedf771.entry.js +0 -1
  422. package/dist/components/p-b4355cec.entry.js +0 -1
  423. package/dist/components/p-d2f17fac.entry.js +0 -1
  424. package/dist/components/p-db5eea95.entry.js +0 -1
  425. package/dist/components/p-e205c269.entry.js +0 -1
  426. package/dist/components/p-f55dd314.entry.js +0 -1
  427. package/dist/components/p-f88b5f21.entry.js +0 -1
@@ -18,7 +18,10 @@ declare const _default: {
18
18
  description: string;
19
19
  };
20
20
  icon: {
21
- control: string;
21
+ control: {
22
+ type: string;
23
+ };
24
+ options: string[];
22
25
  description: string;
23
26
  };
24
27
  expanded: {
@@ -65,13 +68,6 @@ export declare const WithIconInverse: {
65
68
  icon: string;
66
69
  };
67
70
  };
68
- export declare const Expanded: {
69
- render: (args: any) => string;
70
- args: {
71
- title: string;
72
- description: string;
73
- };
74
- };
75
71
  export declare const WithSlotComponent: {
76
72
  render: (args: any) => string;
77
73
  args: {
@@ -21,7 +21,10 @@ declare const _default: {
21
21
  description: string;
22
22
  };
23
23
  icon: {
24
- control: string;
24
+ control: {
25
+ type: string;
26
+ };
27
+ options: string[];
25
28
  description: string;
26
29
  };
27
30
  dismissible: {
@@ -41,6 +44,7 @@ declare const _default: {
41
44
  message: string;
42
45
  intent: string;
43
46
  direction: string;
47
+ icon: string;
44
48
  dismissible: boolean;
45
49
  };
46
50
  };
@@ -48,79 +52,9 @@ export default _default;
48
52
  export declare const Default: {
49
53
  render: (args: any) => string;
50
54
  };
51
- export declare const Warning: {
52
- render: (args: any) => string;
53
- args: {
54
- message: string;
55
- icon: string;
56
- };
57
- };
58
- export declare const Error: {
59
- render: (args: any) => string;
60
- args: {
61
- message: string;
62
- icon: string;
63
- };
64
- };
65
- export declare const Success: {
66
- render: (args: any) => string;
67
- args: {
68
- message: string;
69
- icon: string;
70
- };
71
- };
72
- export declare const Brand: {
73
- render: (args: any) => string;
74
- args: {
75
- message: string;
76
- icon: string;
77
- };
78
- };
79
- export declare const WithLink: {
80
- render: (args: any) => string;
81
- args: {
82
- message: string;
83
- intent: string;
84
- };
85
- };
86
- export declare const WithButton: {
87
- render: (args: any) => string;
88
- args: {
89
- message: string;
90
- icon: string;
91
- };
92
- };
93
- export declare const Dismissible: {
94
- render: (args: any) => string;
95
- args: {
96
- message: string;
97
- icon: string;
98
- };
99
- };
100
- export declare const WithCustomIcon: {
101
- render: (args: any) => string;
102
- args: {
103
- message: string;
104
- intent: string;
105
- icon: string;
106
- };
107
- };
108
- export declare const NoIcon: {
109
- render: (args: any) => string;
110
- args: {
111
- message: string;
112
- };
113
- };
114
- export declare const Vertical: {
115
- render: (args: any) => string;
116
- args: {
117
- message: string;
118
- icon: string;
119
- };
120
- };
121
- export declare const SlotContent: {
55
+ export declare const AllIntents: {
122
56
  render: () => string;
123
57
  };
124
- export declare const AllIntents: {
58
+ export declare const SlotContent: {
125
59
  render: () => string;
126
60
  };
@@ -41,7 +41,7 @@ export declare class EdsButton {
41
41
  * - 'cta': CTA link style with monospace font (gray text that turns green on hover)
42
42
  * - 'cta-brand': CTA link style with monospace font (always green)
43
43
  */
44
- intent: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
44
+ intent: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandLight' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
45
45
  /**
46
46
  * A boolean indicating whether the button is in a loading state.
47
47
  */
@@ -96,6 +96,7 @@ export declare class EdsDropdown {
96
96
  }>;
97
97
  private panelEl?;
98
98
  private dropdownContent?;
99
+ private buttonEl?;
99
100
  private focusableItems;
100
101
  close(): Promise<void>;
101
102
  /**
@@ -1,86 +1,115 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  /**
3
- * `EdsFooter` is a footer component designed for the EBRAINS platform, featuring social links,
4
- * legal information, and an optional cookie preferences button. It includes a "Back to top"
5
- * button and displays an acknowledgment for Horizon Europe funding.
3
+ * Shape of a single column passed via the `columns` prop. Each link is
4
+ * either a navigable href, plain text (no href), or a built-in
5
+ * `action` that wires into the component's existing events. The
6
+ * `action: 'cookies'` value emits the `cookies` event the consumer
7
+ * page listens for (same plumbing as the legacy `enableCookiesSettings`
8
+ * affordance) — this lets the cookies link live in the Legal column
9
+ * exactly like the original eds-docs design without re-implementing
10
+ * the consent dispatcher.
11
+ */
12
+ export interface EdsFooterLink {
13
+ label: string;
14
+ href?: string;
15
+ external?: boolean;
16
+ action?: 'cookies';
17
+ }
18
+ export interface EdsFooterColumn {
19
+ heading: string;
20
+ links: EdsFooterLink[];
21
+ }
22
+ /**
23
+ * `EdsFooter` is the EBRAINS-wide footer component.
24
+ *
25
+ * Renders a 4-column layout matching the eds-docs landing footer:
26
+ * [ Brand (EU flag + funding text + copyright) | Resources | Community | Legal ]
6
27
  *
7
- * Key Features:
8
- * - Social Network Links: Optionally display a section for social media links.
9
- * - Legal and Funding Information: Includes text for legal disclaimers and funding acknowledgments.
10
- * - Cookie Preferences: Optionally display a "Cookies Preferences" button.
11
- * - Back to Top Button: Smoothly scrolls the page back to the top when clicked.
28
+ * Defaults are designed so a consumer that writes `<eds-footer></eds-footer>`
29
+ * with no props gets the full canonical EBRAINS footer rendered same
30
+ * brand block, same link columns, same dark theme as the eds-docs
31
+ * landing page. The previous minimal-strip footer is replaced; consumers
32
+ * that need different link content pass the `columns` prop (array or
33
+ * JSON-stringified array for HTML attribute use).
12
34
  *
13
- * This component is ideal for maintaining consistent branding, legal disclaimers, and navigational elements
14
- * across the EBRAINS platform, with options for social links and a "Back to top" button.
35
+ * Configurability without breakage:
36
+ * - All previous props remain (`social`, `variant`, `fundedBy`,
37
+ * `rightsReserved`, `enableScrollTop`, `enableCookiesSettings`,
38
+ * `cookiesPreferences`, `backToTopAriaLabel`). Their meanings are
39
+ * preserved.
40
+ * - New `columns` prop is optional — omit it for the defaults.
41
+ * - The `enableCookiesSettings` toggle now decides whether any column
42
+ * link with `action: 'cookies'` is rendered (default false; pass
43
+ * true to surface the Cookie Preferences entry in the Legal column).
15
44
  */
16
45
  export declare class EdsFooter {
17
- /**
18
- * Determines if the social network section should be displayed.
19
- * Adds top padding when true.
20
- * @type {boolean}
21
- */
46
+ /** Show the eds-social-networks section above the main grid. */
22
47
  social: boolean;
23
48
  /**
24
- * Controls the visual variant of the footer.
25
- * - 'default': Light background with dark text
26
- * - 'inverse': Dark/black background with white text
27
- * @type {'default' | 'inverse'}
49
+ * Theme variant. Defaults to `inverse` (dark) because the canonical
50
+ * EBRAINS footer design uses a dark backdrop with light text. Pass
51
+ * `variant="default"` for the light-on-light treatment if an app's
52
+ * page palette demands it.
28
53
  */
29
54
  variant: 'default' | 'inverse';
30
- /**
31
- * Controls the display of the "Back to Top" button.
32
- * When true, the button appears in the footer.
33
- * @type {boolean}
34
- */
55
+ /** Float a "Back to top" button at the top-right of the footer. */
35
56
  enableScrollTop: boolean;
36
- /**
37
- * Controls the display of the "Founded By" text.
38
- * @type {string}
39
- */
57
+ /** "EBRAINS is funded by…" line shown next to the EU flag in the brand column. */
40
58
  fundedBy: string;
41
- /**
42
- * Controls the display of the "Rights Reserved" text.
43
- * @type {string}
44
- */
59
+ /** "© {year} EBRAINS. All rights reserved." line shown below the funding text. */
45
60
  rightsReserved: string;
46
- /**
47
- * Controls the display of the "Cookies preferences" text.
48
- * @type {string}
49
- */
61
+ /** Label used for any link with `action: 'cookies'` — overrides the column's `label`. */
50
62
  cookiesPreferences: string;
51
63
  /**
52
- * Controls the display of the "Cookies preferences" link.
53
- * @type {string}
64
+ * When false, any column link with `action: 'cookies'` is hidden.
65
+ * Default false so adding the footer to a page without a Matomo
66
+ * notice / cookie banner doesn't surface a non-functional link.
67
+ * Set true once you've also mounted `<eds-matomo-notice>` on the page.
54
68
  */
55
69
  enableCookiesSettings: boolean;
56
- /**
57
- * Controls the display of the "Back to Top" aria label text.
58
- * @type {string}
59
- */
70
+ /** ARIA label for the "Back to top" floating button. */
60
71
  backToTopAriaLabel: string;
61
72
  /**
62
- * State to control whether the eds-matomo-notice popup is visible.
73
+ * Custom link columns. Accepts an array (Vue/React/JS bindings) OR
74
+ * a JSON-stringified array (HTML attribute use). When omitted, the
75
+ * canonical EBRAINS-wide columns above are used.
76
+ *
77
+ * Shape: see EdsFooterColumn / EdsFooterLink at the top of this file.
63
78
  */
64
- showMatomoNotice: boolean;
65
- cookies: EventEmitter;
79
+ columns?: EdsFooterColumn[] | string;
66
80
  /**
67
- * Reference to the host element.
81
+ * Parsed columns derived from the `columns` prop. Re-computed whenever
82
+ * the prop changes (Watcher below) so dynamic updates from a parent
83
+ * framework work without forcing a full remount.
68
84
  */
85
+ resolvedColumns: EdsFooterColumn[];
86
+ cookies: EventEmitter;
69
87
  el: HTMLElement;
70
88
  private backBtn?;
71
- componentDidLoad(): void;
72
- handleScroll(): void;
89
+ componentWillLoad(): void;
90
+ onColumnsChange(value: EdsFooterColumn[] | string | undefined): void;
73
91
  /**
74
- * Scrolls the page smoothly back to the top.
75
- * Called when the "Back to top" button is clicked.
76
- * @private
92
+ * Resolve the `columns` prop to a usable array.
93
+ * - undefined / null → defaults
94
+ * - JSON-parseable str → parsed array
95
+ * - already an array → used as-is
96
+ * - anything else (malformed JSON, wrong shape) → defaults + console warning
97
+ *
98
+ * Defensive parsing so a typo in a Hugo template's attribute doesn't
99
+ * render an empty footer in production. Failure logs a warning but
100
+ * keeps the footer working with sensible defaults.
77
101
  */
102
+ private parseColumns;
103
+ componentDidLoad(): void;
104
+ handleScroll(): void;
78
105
  private backToTop;
79
- toggleCookiesConsent(): void;
106
+ private emitCookies;
80
107
  /**
81
- * Renders the footer component with optional sections and elements,
82
- * including social network links, a Horizon Europe funding acknowledgment, and
83
- * legal links such as "Cookies Preferences" and copyright information.
108
+ * Render one link inside a column.
109
+ * - `action: 'cookies'` button-like anchor that fires the cookies event
110
+ * - `href` present → real anchor (target=_blank when `external`)
111
+ * - neither → plain text span (e.g. "MIT License")
84
112
  */
113
+ private renderLink;
85
114
  render(): any;
86
115
  }
@@ -2,6 +2,11 @@ declare const _default: {
2
2
  title: string;
3
3
  component: string;
4
4
  argTypes: {
5
+ variant: {
6
+ control: string;
7
+ options: string[];
8
+ description: string;
9
+ };
5
10
  social: {
6
11
  control: string;
7
12
  description: string;
@@ -30,8 +35,13 @@ declare const _default: {
30
35
  control: string;
31
36
  description: string;
32
37
  };
38
+ columns: {
39
+ control: string;
40
+ description: string;
41
+ };
33
42
  };
34
43
  args: {
44
+ variant: string;
35
45
  social: boolean;
36
46
  fundedBy: string;
37
47
  rightsReserved: string;
@@ -39,10 +49,61 @@ declare const _default: {
39
49
  enableCookiesSettings: boolean;
40
50
  cookiesPreferences: string;
41
51
  backToTopAriaLabel: string;
52
+ columns: any;
42
53
  };
43
- parameters: {};
44
54
  };
45
55
  export default _default;
56
+ /**
57
+ * Default — what a consumer gets from `<eds-footer></eds-footer>`
58
+ * with no overrides. Dark theme, EBRAINS canonical link columns,
59
+ * EU funding ack + copyright.
60
+ *
61
+ * Leave `columns` null in the controls panel to see the canonical
62
+ * defaults baked into the component; set it to a JSON array (use the
63
+ * object editor) to live-preview an override.
64
+ */
46
65
  export declare const Default: {
47
66
  render: (args: any) => string;
48
67
  };
68
+ /**
69
+ * Custom link columns — pre-fills the `columns` control with a
70
+ * sensible non-EBRAINS example so the Storybook JSON editor opens
71
+ * with something realistic to mutate. Edit headings, links, hrefs,
72
+ * `external`, and `action` directly in the Controls panel to see
73
+ * the footer re-render.
74
+ *
75
+ * Shape: `[{ heading, links: [{ label, href?, external?, action? }] }]`
76
+ * - `href` present → renders as an anchor (target=_blank if `external`)
77
+ * - `href` absent → renders as plain text (e.g. "MIT License")
78
+ * - `action: 'cookies'` → fires the `cookies` event (gated by
79
+ * enable-cookies-settings)
80
+ */
81
+ export declare const CustomColumns: {
82
+ args: {
83
+ enableCookiesSettings: boolean;
84
+ columns: ({
85
+ heading: string;
86
+ links: ({
87
+ label: string;
88
+ href: string;
89
+ external?: undefined;
90
+ } | {
91
+ label: string;
92
+ href: string;
93
+ external: boolean;
94
+ })[];
95
+ } | {
96
+ heading: string;
97
+ links: ({
98
+ label: string;
99
+ href: string;
100
+ action?: undefined;
101
+ } | {
102
+ label: string;
103
+ action: string;
104
+ href?: undefined;
105
+ })[];
106
+ })[];
107
+ };
108
+ render: (args: any) => string;
109
+ };
@@ -24,6 +24,38 @@ export declare class EdsForm {
24
24
  * The description displayed below the title.
25
25
  */
26
26
  description?: string;
27
+ /**
28
+ * Small mono eyebrow shown above the title in the `brand` hero header
29
+ * (e.g. a programme or category label). Brand style only.
30
+ */
31
+ eyebrow?: string;
32
+ /**
33
+ * Optional "time to complete" hint shown as a meta chip in the `brand`
34
+ * hero header (e.g. "~6 minutes"). Brand style only.
35
+ */
36
+ estimatedTime?: string;
37
+ /**
38
+ * Completion percentage (0–100) shown as a "X% complete" chip in the `brand`
39
+ * hero — the single-page equivalent of the multi-step progress. Host-driven
40
+ * (e.g. filled required fields); omit/undefined to hide. Brand style only.
41
+ */
42
+ progress?: number;
43
+ /**
44
+ * Optional expiry label shown as a meta chip in the `brand` hero
45
+ * (e.g. "Closes Jun 28, 2026"). Brand style only.
46
+ */
47
+ expires?: string;
48
+ /**
49
+ * Optional submission-policy label shown as a meta chip in the `brand`
50
+ * hero (e.g. "You can submit this form only once."). Brand style only.
51
+ */
52
+ policy?: string;
53
+ /**
54
+ * Show the "GDPR compliant" meta chip in the `brand` hero header. Default OFF
55
+ * — it's an unverified compliance claim, so it must be opted into explicitly
56
+ * (per form) rather than advertised on every brand form.
57
+ */
58
+ gdpr?: boolean;
27
59
  /**
28
60
  * If `true`, includes the current form URL in the submission data.
29
61
  */
@@ -80,9 +112,31 @@ export declare class EdsForm {
80
112
  * - "brand": EBRAINS branded form with left border and shadow
81
113
  */
82
114
  formStyle: 'default' | 'shadow' | 'brand';
115
+ /**
116
+ * Lifecycle state for the brand style (drives the hero eyebrow, glow tint and
117
+ * expiry meta-chip colour). "closed" additionally disables every field,
118
+ * desaturates the body and replaces the submit with a dead "Submissions
119
+ * closed" footer. No effect outside form-style="brand".
120
+ * - "open": accepting submissions (default)
121
+ * - "expiring": accepting but closing soon (amber)
122
+ * - "closed": expired / not accepting (red, read-only)
123
+ */
124
+ status: 'open' | 'expiring' | 'closed';
125
+ /**
126
+ * Autosave state shown at the left of the brand footer (host-driven). The dot
127
+ * pulses grey while saving and settles green when saved.
128
+ */
129
+ saveStatus: 'idle' | 'saving' | 'saved' | 'error';
130
+ /**
131
+ * Autosave label next to the dot (e.g. "Saved 5:01 PM"). Empty hides the
132
+ * whole save-state cluster. Brand footer only.
133
+ */
134
+ saveLabel?: string;
83
135
  values: {
84
136
  [key: string]: any;
85
137
  };
138
+ /** Inline "clear everything you've typed?" confirm in the footer. */
139
+ showClearConfirm: boolean;
86
140
  /**
87
141
  * Indicates whether the form is currently submitting.
88
142
  */
@@ -106,6 +160,8 @@ export declare class EdsForm {
106
160
  value?: any;
107
161
  message?: string;
108
162
  success?: boolean;
163
+ /** True when this change came from the Clear button (host may skip autosave). */
164
+ cleared?: boolean;
109
165
  }>;
110
166
  /**
111
167
  * Reference to the host element.
@@ -138,5 +194,15 @@ export declare class EdsForm {
138
194
  private get groupedFields();
139
195
  private renderField;
140
196
  getData(): Promise<FormData>;
197
+ /**
198
+ * Render the form/step description with a small, safe subset of inline
199
+ * formatting so authors can add links and emphasis:
200
+ * **bold** → <strong>
201
+ * [label](url) → <a> (only http/https/mailto; others render as text)
202
+ * blank line / \n → paragraph / line break
203
+ * HTML is escaped FIRST, so author text can never inject markup — only the
204
+ * whitelisted patterns above produce tags.
205
+ */
206
+ private formatDescription;
141
207
  render(): any;
142
208
  }
@@ -10,6 +10,10 @@ declare const _default: {
10
10
  control: string;
11
11
  description: string;
12
12
  };
13
+ eyebrow: {
14
+ control: string;
15
+ description: string;
16
+ };
13
17
  fields: {
14
18
  control: string;
15
19
  description: string;
@@ -39,9 +43,52 @@ declare const _default: {
39
43
  options: string[];
40
44
  description: string;
41
45
  };
46
+ clearBtn: {
47
+ control: string;
48
+ description: string;
49
+ };
50
+ clearBtnLabel: {
51
+ control: string;
52
+ description: string;
53
+ };
42
54
  formStyle: {
43
55
  control: string;
44
56
  options: string[];
57
+ description: string;
58
+ };
59
+ status: {
60
+ control: string;
61
+ options: string[];
62
+ description: string;
63
+ };
64
+ expires: {
65
+ control: string;
66
+ description: string;
67
+ };
68
+ policy: {
69
+ control: string;
70
+ description: string;
71
+ };
72
+ estimatedTime: {
73
+ control: string;
74
+ description: string;
75
+ };
76
+ progress: {
77
+ control: string;
78
+ description: string;
79
+ };
80
+ gdpr: {
81
+ control: string;
82
+ description: string;
83
+ };
84
+ saveStatus: {
85
+ control: string;
86
+ options: string[];
87
+ description: string;
88
+ };
89
+ saveLabel: {
90
+ control: string;
91
+ description: string;
45
92
  };
46
93
  };
47
94
  };
@@ -49,3 +96,19 @@ export default _default;
49
96
  export declare const Default: any;
50
97
  export declare const WithGroups: any;
51
98
  export declare const WithInitData: any;
99
+ /**
100
+ * The full brand experience: dark hero (eyebrow · title · description) with the
101
+ * meta strip — progress, expiry, policy, estimated time, GDPR badge — a light
102
+ * sectioned body, and the footer with autosave state, required-fields note,
103
+ * Clear text-link (inline confirm) and the pill submit.
104
+ */
105
+ export declare const Brand: any;
106
+ /** Expiring lifecycle: amber glow, "· Closing soon" eyebrow suffix, warn-toned expiry chip. */
107
+ export declare const BrandExpiring: any;
108
+ /** Closed lifecycle: red glow, "· Closed" eyebrow, danger expiry chip, read-only
109
+ * body and the locked footer ("Submissions closed" + disabled submit). */
110
+ export declare const BrandClosed: any;
111
+ /** Autosave footer states — flip `saveStatus` (saving/saved/error) in the controls. */
112
+ export declare const BrandAutosave: any;
113
+ /** Non-brand styles show `estimatedTime` too — as a quiet mono chip above the title. */
114
+ export declare const EstimatedTimeChip: any;
@@ -2,7 +2,7 @@ declare const _default: {
2
2
  title: string;
3
3
  component: string;
4
4
  argTypes: {
5
- homeUrl: {
5
+ url: {
6
6
  control: string;
7
7
  description: string;
8
8
  };
@@ -10,11 +10,11 @@ declare const _default: {
10
10
  control: string;
11
11
  description: string;
12
12
  };
13
- menuEnabled: {
13
+ menu: {
14
14
  control: string;
15
15
  description: string;
16
16
  };
17
- headerVariant: {
17
+ variant: {
18
18
  control: {
19
19
  type: string;
20
20
  };
@@ -23,13 +23,13 @@ declare const _default: {
23
23
  };
24
24
  };
25
25
  args: {
26
- homeUrl: string;
26
+ url: string;
27
27
  links: {
28
28
  label: string;
29
29
  url: string;
30
30
  }[];
31
- menuEnabled: boolean;
32
- headerVariant: string;
31
+ menu: boolean;
32
+ variant: string;
33
33
  };
34
34
  };
35
35
  export default _default;
@@ -2,5 +2,13 @@ import { IconName } from '../../utils/icons';
2
2
  export declare class EdsIconWrapper {
3
3
  name: IconName;
4
4
  size: 16 | 20 | 24 | 32;
5
+ /**
6
+ * Accessible label for the icon. Set this when the icon conveys meaning on its
7
+ * own (e.g. a standalone status/action icon) — it is exposed as `role="img"` +
8
+ * `aria-label`. When omitted, the icon is treated as decorative and hidden from
9
+ * assistive technology (`aria-hidden`), which is correct when it sits next to a
10
+ * text label that already describes it.
11
+ */
12
+ label?: string;
5
13
  render(): any;
6
14
  }
@@ -46,31 +46,17 @@ declare const _default: {
46
46
  height: number;
47
47
  srcset: string;
48
48
  sizes: string;
49
- formats: {
50
- type: string;
51
- srcset: string;
52
- media: string;
53
- }[];
49
+ formats: any[];
54
50
  lazyload: boolean;
55
51
  withBg: boolean;
56
52
  };
57
- parameters: {};
58
53
  };
59
54
  export default _default;
55
+ /**
56
+ * Default — a single image driven entirely by `src`. `formats` is empty, so
57
+ * whatever you type into the `src` control is exactly what renders. Paste any
58
+ * direct image URL (e.g. a .jpg/.png/.webp) to try it.
59
+ */
60
60
  export declare const Default: {
61
61
  render: (args: any) => HTMLEdsImgElement;
62
- args: {
63
- src: string;
64
- alt: string;
65
- width: number;
66
- height: number;
67
- sizes: string;
68
- formats: {
69
- type: string;
70
- srcset: string;
71
- media: string;
72
- }[];
73
- lazyload: boolean;
74
- withBg: boolean;
75
- };
76
62
  };