@ebrains/components 0.4.0-alpha.0 → 0.6.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (565) hide show
  1. package/dist/cjs/analytics-d8fb3fdd.js +60 -0
  2. package/dist/cjs/color-c00146a8.js +134 -0
  3. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  4. package/dist/cjs/components.cjs.js +1 -1
  5. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  6. package/dist/cjs/eds-accordion_13.cjs.entry.js +911 -0
  7. package/dist/cjs/eds-alert.cjs.entry.js +97 -0
  8. package/dist/cjs/eds-block-break.cjs.entry.js +21 -0
  9. package/dist/cjs/eds-breadcrumb.cjs.entry.js +149 -0
  10. package/dist/cjs/eds-card-project.cjs.entry.js +4 -3
  11. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-card-tool.cjs.entry.js +3 -4
  13. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-code-block.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-components-section.cjs.entry.js +7 -3
  16. package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
  17. package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-dropdown_2.cjs.entry.js +158 -0
  20. package/dist/cjs/eds-footer.cjs.entry.js +41 -0
  21. package/dist/cjs/eds-form.cjs.entry.js +361 -0
  22. package/dist/cjs/eds-frame.cjs.entry.js +91 -0
  23. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +100 -0
  24. package/dist/cjs/eds-header.cjs.entry.js +97 -0
  25. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-input_7.cjs.entry.js +324 -0
  48. package/dist/cjs/eds-link.cjs.entry.js +214 -0
  49. package/dist/cjs/eds-login.cjs.entry.js +60 -41
  50. package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-logo.cjs.entry.js +78 -0
  52. package/dist/cjs/eds-modal.cjs.entry.js +97 -0
  53. package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-pagination_2.cjs.entry.js +9 -10
  55. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-rating.cjs.entry.js +10 -8
  57. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  58. package/dist/cjs/eds-social-networks.cjs.entry.js +66 -0
  59. package/dist/cjs/eds-steps.cjs.entry.js +65 -0
  60. package/dist/cjs/eds-svg-repository.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-switch.cjs.entry.js +38 -0
  62. package/dist/cjs/eds-tab.cjs.entry.js +1 -1
  63. package/dist/cjs/eds-tabs-content.cjs.entry.js +4 -4
  64. package/dist/cjs/eds-tabs.cjs.entry.js +3 -3
  65. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  66. package/dist/cjs/eds-tooltip.cjs.entry.js +3 -4
  67. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  68. package/dist/cjs/eds-user.cjs.entry.js +99 -0
  69. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +45 -0
  70. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  71. package/dist/cjs/index-f08e4f5c.js +76 -8
  72. package/dist/cjs/{keycloak-5aaa21af.js → keycloak-93fc0315.js} +225 -170
  73. package/dist/cjs/loader.cjs.js +1 -1
  74. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  75. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  76. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  77. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  78. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  79. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  80. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  81. package/dist/collection/collection-manifest.json +6 -2
  82. package/dist/collection/components/eds-accordion/eds-accordion.js +3 -3
  83. package/dist/collection/components/eds-alert/eds-alert.js +8 -5
  84. package/dist/collection/components/eds-avatar/eds-avatar.js +8 -6
  85. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  86. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +23 -29
  87. package/dist/collection/components/eds-button/eds-button.js +9 -9
  88. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  89. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  90. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  91. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  92. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -2
  93. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +3 -2
  94. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +2 -2
  95. package/dist/collection/components/eds-code-block/eds-code-block.js +3 -3
  96. package/dist/collection/components/eds-dropdown/eds-dropdown.js +3 -3
  97. package/dist/collection/components/eds-form/eds-form.js +32 -16
  98. package/dist/collection/components/eds-frame/eds-frame.js +1 -1
  99. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  100. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  101. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  102. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  115. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  116. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  117. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  118. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  119. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  120. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  121. package/dist/collection/components/eds-img/eds-img.js +13 -7
  122. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  123. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  124. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  125. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
  126. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  127. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +11 -2
  128. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  129. package/dist/collection/components/eds-link/eds-link.css +6793 -6676
  130. package/dist/collection/components/eds-link/eds-link.js +6 -3
  131. package/dist/collection/components/eds-logo/eds-logo.js +21 -2
  132. package/dist/collection/components/eds-matomo-notice/eds-matomo-notice.js +207 -0
  133. package/dist/collection/{shared-ui → components}/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
  134. package/dist/collection/components/eds-modal/eds-modal.js +19 -24
  135. package/dist/collection/components/eds-navigator/eds-navigator.js +1 -1
  136. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  137. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  138. package/dist/collection/components/eds-rating/eds-rating.css +48 -0
  139. package/dist/collection/components/eds-rating/eds-rating.js +10 -8
  140. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  141. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  142. package/dist/collection/components/eds-steps/eds-steps.css +126 -0
  143. package/dist/collection/components/eds-steps/eds-steps.js +133 -0
  144. package/dist/collection/components/eds-steps/eds-steps.stories.js +35 -0
  145. package/dist/collection/components/eds-steps/eds-vertical-stepper.css +78 -0
  146. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +72 -0
  147. package/dist/collection/components/eds-switch/eds-switch.css +59 -0
  148. package/dist/collection/components/eds-switch/eds-switch.js +131 -0
  149. package/dist/collection/components/eds-switch/eds-switch.stories.js +38 -0
  150. package/dist/collection/components/eds-tab/eds-tab.js +1 -1
  151. package/dist/collection/components/eds-table/eds-table.js +8 -8
  152. package/dist/collection/components/eds-tag/eds-tag.js +4 -14
  153. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  154. package/dist/collection/components/eds-toast/eds-toast.css +91 -0
  155. package/dist/collection/components/eds-toast/eds-toast.js +18 -9
  156. package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
  157. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  158. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  159. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  160. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  161. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  162. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  163. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  164. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  165. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  169. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  170. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  171. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  172. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
  173. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  174. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  175. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
  176. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
  177. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  178. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  179. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  180. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  181. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  182. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  183. package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +236 -140
  184. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -13
  185. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +2 -2
  186. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
  187. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +87 -0
  188. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
  189. package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -53
  190. package/dist/collection/shared-ui/eds-header/eds-header.js +2 -75
  191. package/dist/collection/shared-ui/eds-login/eds-login.js +66 -58
  192. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  193. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
  194. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +3 -3
  195. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +1 -1
  196. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +2 -1
  197. package/dist/collection/shared-ui/eds-user/eds-user.js +27 -24
  198. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -1
  199. package/dist/collection/utils/analytics.js +85 -0
  200. package/dist/collection/utils/color.js +129 -0
  201. package/dist/collection/utils/global.js +8 -0
  202. package/dist/collection/utils/keycloak.js +11 -5
  203. package/dist/components/analytics.js +15 -2
  204. package/dist/components/color.js +0 -164
  205. package/dist/components/components.css +571 -0
  206. package/dist/components/components.esm.js +1 -1
  207. package/dist/components/correct-use-of-colors.js +1 -1
  208. package/dist/components/eds-accordion2.js +2 -3
  209. package/dist/components/eds-alert2.js +8 -5
  210. package/dist/components/eds-avatar2.js +3 -3
  211. package/dist/components/eds-block-break2.js +1 -1
  212. package/dist/components/eds-breadcrumb.js +23 -29
  213. package/dist/components/eds-button2.js +2 -4
  214. package/dist/components/eds-card-desc2.js +1 -1
  215. package/dist/components/eds-card-generic2.js +1 -2
  216. package/dist/components/eds-card-project.js +2 -2
  217. package/dist/components/eds-card-section.js +4 -4
  218. package/dist/components/eds-card-tags.js +1 -1
  219. package/dist/components/eds-card-title2.js +1 -1
  220. package/dist/components/eds-card-tool.js +1 -2
  221. package/dist/components/eds-card-wrapper.js +1 -1
  222. package/dist/components/eds-code-block2.js +2 -2
  223. package/dist/components/eds-components-section.js +7 -3
  224. package/dist/components/eds-cookies-preference.d.ts +11 -0
  225. package/dist/components/eds-cookies-preference.js +88 -0
  226. package/dist/components/eds-docs-palettes.js +1 -1
  227. package/dist/components/eds-docs-tokens.js +1 -1
  228. package/dist/components/eds-dropdown2.js +2 -3
  229. package/dist/components/eds-footer2.js +3 -13
  230. package/dist/components/eds-form.js +32 -16
  231. package/dist/components/eds-frame.js +1 -1
  232. package/dist/components/eds-header.js +10 -48
  233. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  234. package/dist/components/eds-icon-arrow-right.js +1 -1
  235. package/dist/components/eds-icon-bluesky.js +1 -1
  236. package/dist/components/eds-icon-chevron-down.js +1 -1
  237. package/dist/components/eds-icon-chevron-left.js +1 -1
  238. package/dist/components/eds-icon-chevron-right.js +1 -1
  239. package/dist/components/eds-icon-chevron-up.js +1 -1
  240. package/dist/components/eds-icon-close.js +1 -1
  241. package/dist/components/eds-icon-copy.js +1 -1
  242. package/dist/components/eds-icon-eu.js +1 -1
  243. package/dist/components/eds-icon-facebook.js +1 -1
  244. package/dist/components/eds-icon-gitlab.js +1 -1
  245. package/dist/components/eds-icon-linkedin.js +1 -1
  246. package/dist/components/eds-icon-loader.js +1 -1
  247. package/dist/components/eds-icon-mastodon.js +1 -1
  248. package/dist/components/eds-icon-menu.js +1 -1
  249. package/dist/components/eds-icon-more.js +1 -1
  250. package/dist/components/eds-icon-search.js +1 -1
  251. package/dist/components/eds-icon-success.js +1 -1
  252. package/dist/components/eds-icon-twitter.js +1 -1
  253. package/dist/components/eds-icon-user.js +1 -1
  254. package/dist/components/eds-icon-youtube.js +1 -1
  255. package/dist/components/eds-img2.js +9 -4
  256. package/dist/components/eds-input-field2.js +2 -2
  257. package/dist/components/eds-input-footer2.js +1 -1
  258. package/dist/components/eds-input-label2.js +1 -1
  259. package/dist/components/eds-input-range2.js +2 -2
  260. package/dist/components/eds-input-search2.js +1 -1
  261. package/dist/components/eds-input-select2.js +11 -2
  262. package/dist/components/eds-input2.js +2 -2
  263. package/dist/components/eds-link2.js +6 -4
  264. package/dist/components/eds-login.js +60 -41
  265. package/dist/components/eds-logo-variations.js +1 -1
  266. package/dist/components/eds-logo2.js +4 -3
  267. package/dist/components/eds-matomo-notice.js +1 -141
  268. package/dist/components/eds-matomo-notice2.js +127 -0
  269. package/dist/components/eds-modal.js +10 -24
  270. package/dist/components/eds-navigator.js +1 -1
  271. package/dist/components/eds-pagination2.js +1 -1
  272. package/dist/components/eds-progress-bar2.js +1 -1
  273. package/dist/components/eds-rating.js +23 -9
  274. package/dist/components/eds-section-core2.js +1 -1
  275. package/dist/components/eds-section-heading2.js +2 -2
  276. package/dist/components/eds-social-networks2.js +1 -1
  277. package/dist/components/eds-steps.d.ts +11 -0
  278. package/dist/components/eds-steps.js +107 -0
  279. package/dist/components/eds-svg-repository.js +1 -1
  280. package/dist/components/eds-switch.d.ts +11 -0
  281. package/dist/components/eds-switch.js +57 -0
  282. package/dist/components/eds-tab2.js +1 -1
  283. package/dist/components/eds-table2.js +6 -7
  284. package/dist/components/eds-tabs-content.js +2 -3
  285. package/dist/components/eds-tabs.js +1 -2
  286. package/dist/components/eds-tag2.js +1 -5
  287. package/dist/components/eds-timeline.js +1 -1
  288. package/dist/components/eds-toast-manager.js +4 -3
  289. package/dist/components/eds-toast2.js +13 -10
  290. package/dist/components/eds-tooltip.js +1 -2
  291. package/dist/components/eds-trl.js +1 -1
  292. package/dist/components/eds-user-modal2.js +1 -1
  293. package/dist/components/eds-user.js +157 -1
  294. package/dist/components/eds-vertical-stepper.d.ts +11 -0
  295. package/dist/components/eds-vertical-stepper.js +86 -0
  296. package/dist/components/incorrect-use-of-colors.js +1 -1
  297. package/dist/components/keycloak.js +225 -170
  298. package/dist/components/logo-space.js +1 -1
  299. package/dist/components/logo-variations-horizontal2.js +1 -1
  300. package/dist/components/logo-variations-vertical2.js +1 -1
  301. package/dist/components/logo-wrong-usage.js +1 -1
  302. package/dist/components/p-045681d7.entry.js +1 -0
  303. package/dist/components/p-06299762.entry.js +1 -0
  304. package/dist/components/p-0a3b2576.entry.js +1 -0
  305. package/dist/components/p-0ab85eee.entry.js +1 -0
  306. package/dist/components/p-0e7bdd2c.entry.js +1 -0
  307. package/dist/components/p-10b81c47.entry.js +1 -0
  308. package/dist/components/p-13efafb9.js +1 -0
  309. package/dist/components/p-1ae529f3.entry.js +1 -0
  310. package/dist/components/p-1ed3fdb7.entry.js +1 -0
  311. package/dist/components/p-21d42cf3.entry.js +1 -0
  312. package/dist/components/p-2831a9d5.entry.js +1 -0
  313. package/dist/components/p-2c00bd76.entry.js +1 -0
  314. package/dist/components/p-34a65e58.entry.js +1 -0
  315. package/dist/components/p-38d70586.entry.js +1 -0
  316. package/dist/components/p-3a7aa1eb.entry.js +1 -0
  317. package/dist/components/p-42d3c324.entry.js +1 -0
  318. package/dist/components/p-4a12a131.entry.js +1 -0
  319. package/dist/components/p-4b3fbd6d.entry.js +1 -0
  320. package/dist/components/p-4ea027ac.entry.js +1 -0
  321. package/dist/components/p-5097066f.entry.js +1 -0
  322. package/dist/components/p-5980a142.entry.js +1 -0
  323. package/dist/components/p-599c7b97.entry.js +1 -0
  324. package/dist/components/p-5a2b8b6c.entry.js +1 -0
  325. package/dist/components/p-5ff31f14.entry.js +1 -0
  326. package/dist/components/{p-22762818.entry.js → p-65703520.entry.js} +1 -1
  327. package/dist/components/p-659ed449.entry.js +1 -0
  328. package/dist/components/p-6af40c33.entry.js +1 -0
  329. package/dist/components/p-6df9db15.entry.js +1 -0
  330. package/dist/components/{p-435a14c1.entry.js → p-759b2640.entry.js} +1 -1
  331. package/dist/components/p-7b3b26b0.entry.js +1 -0
  332. package/dist/components/p-80a185ba.entry.js +1 -0
  333. package/dist/components/p-81942665.entry.js +1 -0
  334. package/dist/components/p-86fbc239.entry.js +1 -0
  335. package/dist/components/p-88751c8b.entry.js +1 -0
  336. package/dist/components/{p-c3b294a0.entry.js → p-89f600a3.entry.js} +1 -1
  337. package/dist/components/p-8c4a0fc9.entry.js +1 -0
  338. package/dist/components/p-8eab748d.js +1 -0
  339. package/dist/components/p-911d9b37.entry.js +1 -0
  340. package/dist/components/{p-ba6bafef.entry.js → p-9579f9c2.entry.js} +1 -1
  341. package/dist/components/p-96fe2267.entry.js +1 -0
  342. package/dist/components/p-9739def5.entry.js +1 -0
  343. package/dist/components/{p-87830085.entry.js → p-9b441a1f.entry.js} +1 -1
  344. package/dist/components/{p-c72c8fb0.entry.js → p-a2621d66.entry.js} +1 -1
  345. package/dist/components/p-a535838c.entry.js +1 -0
  346. package/dist/components/p-a5b7d72d.entry.js +1 -0
  347. package/dist/components/p-a5d00633.entry.js +1 -0
  348. package/dist/components/p-a63bd0c9.entry.js +1 -0
  349. package/dist/components/{p-762c8c83.entry.js → p-a846dbca.entry.js} +1 -1
  350. package/dist/components/p-a927a455.entry.js +1 -0
  351. package/dist/components/p-aec9b8e1.entry.js +1 -0
  352. package/dist/components/{p-5398d652.entry.js → p-b1af5000.entry.js} +1 -1
  353. package/dist/components/{p-d571d530.entry.js → p-b1de9a6c.entry.js} +1 -1
  354. package/dist/components/{p-0910d733.entry.js → p-b3c1aef5.entry.js} +1 -1
  355. package/dist/components/p-b50c8d49.entry.js +1 -0
  356. package/dist/components/p-b60ed774.entry.js +1 -0
  357. package/dist/components/p-b67aafe7.entry.js +1 -0
  358. package/dist/components/p-b79999d5.entry.js +1 -0
  359. package/dist/components/p-b80457ed.entry.js +1 -0
  360. package/dist/components/p-b860b4aa.entry.js +1 -0
  361. package/dist/components/{p-8ddc67a1.entry.js → p-bd43d83c.entry.js} +1 -1
  362. package/dist/components/p-c034c395.entry.js +1 -0
  363. package/dist/components/p-c5fa170d.entry.js +1 -0
  364. package/dist/components/p-c683be2c.entry.js +1 -0
  365. package/dist/components/p-d2a0b896.entry.js +1 -0
  366. package/dist/components/p-d56d9dda.entry.js +1 -0
  367. package/dist/components/p-d5850ab3.entry.js +1 -0
  368. package/dist/components/p-de12396f.entry.js +1 -0
  369. package/dist/components/p-de2fbcfc.entry.js +1 -0
  370. package/dist/components/p-e2c250c5.entry.js +1 -0
  371. package/dist/components/p-e334f5bc.entry.js +1 -0
  372. package/dist/components/p-eb0b93d5.js +1 -0
  373. package/dist/components/p-f1cd83da.entry.js +1 -0
  374. package/dist/components/{p-22e6d7d5.entry.js → p-f36f2aeb.entry.js} +1 -1
  375. package/dist/components/p-f5dafbc8.entry.js +1 -0
  376. package/dist/components/p-f7493f41.entry.js +1 -0
  377. package/dist/components/p-fad10768.entry.js +1 -0
  378. package/dist/components/{p-dd6daa96.entry.js → p-fce25541.entry.js} +1 -1
  379. package/dist/components/primary.js +1 -1
  380. package/dist/components/primary2.js +1 -1
  381. package/dist/components/secondary.js +1 -1
  382. package/dist/components/secondary2.js +7 -7
  383. package/dist/components/support.js +1 -1
  384. package/dist/components/support2.js +3 -3
  385. package/dist/components/token-list2.js +1 -1
  386. package/dist/components/token-radii2.js +1 -1
  387. package/dist/components/token-ratios.js +1 -1
  388. package/dist/components/token-shadows2.js +1 -1
  389. package/dist/components/token-spacing.js +1 -1
  390. package/dist/components/token-typography.js +1 -1
  391. package/dist/esm/analytics-44b1416b.js +56 -0
  392. package/dist/esm/color-2554aad6.js +132 -0
  393. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  394. package/dist/esm/components.js +1 -1
  395. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  396. package/dist/esm/eds-accordion_13.entry.js +895 -0
  397. package/dist/esm/eds-alert.entry.js +93 -0
  398. package/dist/esm/eds-block-break.entry.js +17 -0
  399. package/dist/esm/eds-breadcrumb.entry.js +145 -0
  400. package/dist/esm/eds-card-project.entry.js +3 -2
  401. package/dist/esm/eds-card-tags.entry.js +1 -1
  402. package/dist/esm/eds-card-tool.entry.js +2 -3
  403. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  404. package/dist/esm/eds-code-block.entry.js +2 -2
  405. package/dist/esm/eds-components-section.entry.js +7 -3
  406. package/dist/esm/eds-cookies-preference.entry.js +35 -0
  407. package/dist/esm/eds-docs-palettes.entry.js +1 -1
  408. package/dist/esm/eds-docs-tokens.entry.js +1 -1
  409. package/dist/esm/eds-dropdown_2.entry.js +153 -0
  410. package/dist/esm/eds-footer.entry.js +37 -0
  411. package/dist/esm/eds-form.entry.js +357 -0
  412. package/dist/esm/eds-frame.entry.js +87 -0
  413. package/dist/esm/eds-fullscreen-menu.entry.js +96 -0
  414. package/dist/esm/eds-header.entry.js +93 -0
  415. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  416. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  417. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  418. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  419. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  420. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  421. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  422. package/dist/esm/eds-icon-close.entry.js +1 -1
  423. package/dist/esm/eds-icon-copy.entry.js +1 -1
  424. package/dist/esm/eds-icon-eu.entry.js +1 -1
  425. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  426. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  427. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  428. package/dist/esm/eds-icon-loader.entry.js +1 -1
  429. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  430. package/dist/esm/eds-icon-menu.entry.js +1 -1
  431. package/dist/esm/eds-icon-more.entry.js +1 -1
  432. package/dist/esm/eds-icon-search.entry.js +1 -1
  433. package/dist/esm/eds-icon-success.entry.js +1 -1
  434. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  435. package/dist/esm/eds-icon-user.entry.js +1 -1
  436. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  437. package/dist/esm/eds-input_7.entry.js +314 -0
  438. package/dist/esm/eds-link.entry.js +210 -0
  439. package/dist/esm/eds-login.entry.js +60 -41
  440. package/dist/esm/eds-logo-variations.entry.js +1 -1
  441. package/dist/esm/eds-logo.entry.js +74 -0
  442. package/dist/esm/eds-modal.entry.js +93 -0
  443. package/dist/esm/eds-navigator.entry.js +1 -1
  444. package/dist/esm/eds-pagination_2.entry.js +8 -9
  445. package/dist/esm/eds-progress-bar.entry.js +1 -1
  446. package/dist/esm/eds-rating.entry.js +10 -8
  447. package/dist/esm/eds-section-core_2.entry.js +3 -3
  448. package/dist/esm/eds-social-networks.entry.js +62 -0
  449. package/dist/esm/eds-steps.entry.js +61 -0
  450. package/dist/esm/eds-svg-repository.entry.js +1 -1
  451. package/dist/esm/eds-switch.entry.js +34 -0
  452. package/dist/esm/eds-tab.entry.js +1 -1
  453. package/dist/esm/eds-tabs-content.entry.js +3 -3
  454. package/dist/esm/eds-tabs.entry.js +2 -2
  455. package/dist/esm/eds-timeline.entry.js +1 -1
  456. package/dist/esm/eds-tooltip.entry.js +2 -3
  457. package/dist/esm/eds-trl.entry.js +1 -1
  458. package/dist/esm/eds-user.entry.js +95 -0
  459. package/dist/esm/eds-vertical-stepper.entry.js +41 -0
  460. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  461. package/dist/esm/index-e96badea.js +76 -8
  462. package/dist/esm/{keycloak-13893af6.js → keycloak-d502ec16.js} +225 -170
  463. package/dist/esm/loader.js +1 -1
  464. package/dist/esm/logo-space.entry.js +1 -1
  465. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  466. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  467. package/dist/esm/token-list_3.entry.js +3 -3
  468. package/dist/esm/token-ratios.entry.js +1 -1
  469. package/dist/esm/token-spacing.entry.js +1 -1
  470. package/dist/esm/token-typography.entry.js +1 -1
  471. package/dist/hydrate/index.js +1067 -959
  472. package/dist/hydrate/index.mjs +1067 -959
  473. package/dist/types/components/eds-alert/eds-alert.d.ts +1 -1
  474. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +9 -8
  475. package/dist/types/components/eds-button/eds-button.d.ts +3 -2
  476. package/dist/types/components/eds-form/eds-form.d.ts +0 -1
  477. package/dist/types/components/eds-img/eds-img.d.ts +3 -1
  478. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +6 -0
  479. package/dist/types/components/eds-logo/eds-logo.d.ts +1 -0
  480. package/dist/types/components/eds-matomo-notice/eds-matomo-notice.d.ts +53 -0
  481. package/dist/types/components/eds-modal/eds-modal.d.ts +2 -7
  482. package/dist/types/components/eds-rating/eds-rating.d.ts +1 -2
  483. package/dist/types/components/eds-steps/eds-steps.d.ts +38 -0
  484. package/dist/types/components/eds-steps/eds-steps.stories.d.ts +34 -0
  485. package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +22 -0
  486. package/dist/types/components/eds-switch/eds-switch.d.ts +25 -0
  487. package/dist/types/components/eds-switch/eds-switch.stories.d.ts +32 -0
  488. package/dist/types/components/eds-tag/eds-tag.d.ts +1 -20
  489. package/dist/types/components/eds-toast/eds-toast.d.ts +4 -5
  490. package/dist/types/components.d.ts +256 -162
  491. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +33 -6
  492. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -1
  493. package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +27 -0
  494. package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.st.d.ts +27 -0
  495. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +2 -15
  496. package/dist/types/shared-ui/eds-header/eds-header.d.ts +0 -20
  497. package/dist/types/shared-ui/eds-login/eds-login.d.ts +21 -18
  498. package/dist/types/shared-ui/eds-user/eds-user.d.ts +5 -5
  499. package/dist/types/utils/global.d.ts +1 -0
  500. package/dist/types/utils/keycloak.d.ts +2 -2
  501. package/package.json +1 -1
  502. package/dist/cjs/color-88793e49.js +0 -342
  503. package/dist/cjs/eds-accordion_33.cjs.entry.js +0 -2670
  504. package/dist/cjs/eds-card-section.cjs.entry.js +0 -55
  505. package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -110
  506. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +0 -164
  507. package/dist/components/eds-user2.js +0 -156
  508. package/dist/components/p-005de86f.entry.js +0 -1
  509. package/dist/components/p-0c2e844e.entry.js +0 -1
  510. package/dist/components/p-145f13ad.entry.js +0 -1
  511. package/dist/components/p-16458a81.entry.js +0 -1
  512. package/dist/components/p-2851ff44.entry.js +0 -1
  513. package/dist/components/p-29648b47.entry.js +0 -1
  514. package/dist/components/p-297b2bc3.entry.js +0 -1
  515. package/dist/components/p-2dda1ec4.entry.js +0 -1
  516. package/dist/components/p-32cddd94.entry.js +0 -1
  517. package/dist/components/p-35ec730b.entry.js +0 -1
  518. package/dist/components/p-388b4966.entry.js +0 -1
  519. package/dist/components/p-4037ad48.entry.js +0 -1
  520. package/dist/components/p-490ba155.entry.js +0 -1
  521. package/dist/components/p-4932aab2.entry.js +0 -1
  522. package/dist/components/p-4a24c2ce.entry.js +0 -1
  523. package/dist/components/p-57c964c5.entry.js +0 -1
  524. package/dist/components/p-5a43503a.entry.js +0 -1
  525. package/dist/components/p-5aad9d3f.entry.js +0 -1
  526. package/dist/components/p-5fc68438.entry.js +0 -1
  527. package/dist/components/p-610db2b2.entry.js +0 -1
  528. package/dist/components/p-6378fb3e.entry.js +0 -1
  529. package/dist/components/p-673dce11.entry.js +0 -1
  530. package/dist/components/p-7802e966.entry.js +0 -1
  531. package/dist/components/p-832dc95a.entry.js +0 -1
  532. package/dist/components/p-846fc91c.entry.js +0 -1
  533. package/dist/components/p-855aa1a3.entry.js +0 -1
  534. package/dist/components/p-8c56e39a.entry.js +0 -1
  535. package/dist/components/p-a44a1abe.entry.js +0 -1
  536. package/dist/components/p-a4e9b68b.entry.js +0 -1
  537. package/dist/components/p-ab32b3fc.entry.js +0 -1
  538. package/dist/components/p-ac0112d5.entry.js +0 -1
  539. package/dist/components/p-acb16e1c.entry.js +0 -1
  540. package/dist/components/p-ae5dbd41.entry.js +0 -1
  541. package/dist/components/p-b04eff31.entry.js +0 -1
  542. package/dist/components/p-b86a4985.js +0 -1
  543. package/dist/components/p-bdd86a3c.entry.js +0 -1
  544. package/dist/components/p-bf0f851d.entry.js +0 -1
  545. package/dist/components/p-c2d369bc.entry.js +0 -1
  546. package/dist/components/p-c6038449.entry.js +0 -1
  547. package/dist/components/p-c9c417de.js +0 -1
  548. package/dist/components/p-d1670eec.entry.js +0 -1
  549. package/dist/components/p-d53b7a75.entry.js +0 -1
  550. package/dist/components/p-d6d86366.entry.js +0 -1
  551. package/dist/components/p-df94285c.entry.js +0 -1
  552. package/dist/components/p-e74834bc.entry.js +0 -1
  553. package/dist/components/p-f7a6ce69.entry.js +0 -1
  554. package/dist/esm/color-bb472c37.js +0 -338
  555. package/dist/esm/eds-accordion_33.entry.js +0 -2634
  556. package/dist/esm/eds-card-section.entry.js +0 -51
  557. package/dist/esm/eds-matomo-notice.entry.js +0 -106
  558. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/index.d.ts +0 -3
  559. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib/keycloak.d.ts +0 -30
  560. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib/render.d.ts +0 -8
  561. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -77
  562. /package/dist/collection/{shared-ui → components}/eds-matomo-notice/eds-matomo-notice.css +0 -0
  563. /package/dist/types/{shared-ui → components}/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -0
  564. /package/dist/types/{Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib → utils}/analytics.d.ts +0 -0
  565. /package/dist/types/{Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib → utils}/color.d.ts +0 -0
@@ -8,7 +8,7 @@ export class EdsCardTags {
8
8
  this.tags = [];
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '60a129de62d45736eba0884cc24c9738f3a0f55c', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
11
+ return (h("div", { key: '272d53abb9be9086881cb2f8e99f7fb7aae1bb59', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
12
12
  }
13
13
  static get is() { return "eds-card-tags"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class EdsCardTitle {
43
43
  render() {
44
44
  //const Tag = this.getTag();
45
45
  const Heading = this.headingLevel;
46
- return (h(Heading, { key: 'a654161b2c53e944eaefb21be7189a5e0acb06cf', class: this.getTitleClass() }, h("a", { key: '868fd911c1a8c366d726e886bfc7827487013e27', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
46
+ return (h(Heading, { key: 'bb97dc6dd53adda14ef251b2ec32952791438986', class: this.getTitleClass() }, h("a", { key: '37b6ac0668257d27fb3f03a6225a2d48e1fd1f79', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
47
47
  }
48
48
  static get is() { return "eds-card-title"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,7 @@ export class EdsCardWrapper {
21
21
  this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
22
22
  'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
23
23
  ].join(' ');
24
- return (h("article", { key: '7c12b1d147f061e189b5dda5d517ec4eae0c3691', class: articleClasses }, h("slot", { key: 'f506bad73ed38ae36931f88f7d7c5f5d94705e4f' }), this.hasSlot('footer') && (h("div", { key: '783f480be269e4a2f61aa8d4396e757fe41bfcc6', class: "mt-auto" }, h("slot", { key: 'f07ddaa2d930518a5c8ac82efab3cb0dd6647bdd', name: "footer" })))));
24
+ return (h("article", { key: 'f21cc9703011026652765b399e2b87b1ef80d220', class: articleClasses }, h("slot", { key: '9a37adad73d2d49edcc9ca9222d5b188202c5612' }), this.hasSlot('footer') && (h("div", { key: '87addfc052ed4ae33736724fbd8fbc8aca873b4d', class: "mt-auto" }, h("slot", { key: '2e48677f42ac2aa951bc1a82afa9291fea3ddd72', name: "footer" })))));
25
25
  }
26
26
  static get is() { return "eds-card-wrapper"; }
27
27
  static get properties() {
@@ -1,4 +1,4 @@
1
- import { sendAnalytics } from "../../../../../../../../packages/utils/src/index";
1
+ import { sendAnalytics } from "../../../utils/analytics";
2
2
  import { h } from "@stencil/core";
3
3
  /**
4
4
  * `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
@@ -98,7 +98,7 @@ export class EdsCardGeneric {
98
98
  });
99
99
  }
100
100
  render() {
101
- return (h("article", { key: '5b498abfc65206fe89c9e54e673a81e1b6ed37d5', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '61a0c6076957e39ab2a059c8587fc2e716e470bc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '6df3c08512acf60e22001867ab5691aa19f67961', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '712193c8afac6744e2512d8b760daf2c850987b9', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
101
+ return (h("article", { key: 'dcb7cea87bfb52f8886f7ee3dbc3484d615bc00c', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '94dd6ff2679ce9ac4d25ec921cd1162b1584e4fd', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '433c4fe3a518153d89d48af54455286fa415a688', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '97b75afb4b8de1183d4b212054ff556ba3db8fcb', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
102
102
  }
103
103
  static get is() { return "eds-card-generic"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
- import { sendAnalytics, gradientBGColorVariants } from "../../../../../../../../packages/utils/src/index";
2
+ import { sendAnalytics } from "../../../utils/analytics";
3
+ import { gradientBGColorVariants } from "../../../utils/color";
3
4
  /**
4
5
  * @internal
5
6
  */
@@ -55,7 +56,7 @@ export class EdsCardProject {
55
56
  this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
56
57
  ].join(' ');
57
58
  const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
58
- return (h("article", { key: '6af49754300ded8748ac3f40175e262480054969', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '91e8501312957c44d9dc075f2ec3a9e5a5d425cb', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '44e3cf2d67255bb5669b6c721741ed060ba599e7', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: '0cf1d124b975e4d7223bab58db0d5861d348ceb2', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '85e1158691ae876bc0f3c6d0c5557f394ae935cb', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '9ffdc9f14709600b623c3a5f878b2700864ced79', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'ecc5e55430df355c13420add9969855d1d54c27f', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '97de7a06a13d9843cb18fe4eb19303f436e2ce16', class: imageClasses }, h("div", { key: '532d3c8252316a68976b4587c3d5b63167c0c598', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '37ee3dbbc99ec8c9139b0a89f9c725768eac5f6d', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
59
+ return (h("article", { key: '98c5dbd033ec05d08965559e00f32d9fe18698ef', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: 'e083c43e38c3c24fcd996a90267f7cd92d3651b3', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '37de1e46023b533fd8595a3077c4e68c11fb01af', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: 'ee31ae2804d2c17c82e8f4c0c3269ac8254331df', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: 'c6f74ba9b5b522f713e25d3339f541efa68cdddd', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: 'ab18e55046777cf4a4f58ebd057641db9b9e0328', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: '3714ee86a74dce7f33a8f953fd726db349ba9271', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '2818d15f7ab671b7b2dfb34ec3085b390150f38d', class: imageClasses }, h("div", { key: '5166feef3674631298f699449b956655f38f0db9', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '86555a43491da5b2aa3b287e539e603a2c2adaf3', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
59
60
  }
60
61
  static get is() { return "eds-card-project"; }
61
62
  static get properties() {
@@ -1,4 +1,4 @@
1
- import { sendAnalytics } from "../../../../../../../../packages/utils/src/index";
1
+ import { sendAnalytics } from "../../../utils/analytics";
2
2
  import { h } from "@stencil/core";
3
3
  /**
4
4
  * @internal
@@ -64,7 +64,7 @@ export class EdsCardTool {
64
64
  });
65
65
  }
66
66
  render() {
67
- return (h("article", { key: 'b46c0464688e45ab29f5b58b6cd2e22ed28e1034', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: 'a4da791280db14754b445b1a52e33cc9a25f765e', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '86f7c6c80b83f244ba7d07d820d5793e1dda2933', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '46307b57160f908aa7066b2a636c4db38e0e7a8e', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
67
+ return (h("article", { key: 'da61b384e966b148cd1f77eec59671bc4d92e259', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '00702d032bc25f52b2a2c98255ceb60a1d314f4d', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: 'd2b135ed422fb64f142af71330dc666e2f0c2b1f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '54111e90175754cb0c1f2eb339e86926914ca0e7', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
68
68
  }
69
69
  static get is() { return "eds-card-tool"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import "prismjs/components/prism-bash"; // Add support for Bash/Shell
5
5
  import "prismjs/components/prism-yaml"; // Add YAML support
6
6
  //import 'prismjs/components/prism-html';
7
7
  import "prismjs/components/prism-css";
8
- //import { sendAnalytics } from '@ebrains/utils';
8
+ //import { sendAnalytics } from '../../utils/analytics';
9
9
  /**
10
10
  * A component that displays a code block with syntax highlighting.
11
11
  *
@@ -76,11 +76,11 @@ export class EdsCodeBlock {
76
76
  return Prism.highlight(this.code, Prism.languages[this.language], this.language);
77
77
  }
78
78
  // eslint-disable-next-line
79
- console.warn(`Unsupported or missing language: ${this.language}`);
79
+ //console.warn(`Unsupported or missing language: ${this.language}`);
80
80
  return this.code; // Fallback if language is not provided or unsupported
81
81
  }
82
82
  render() {
83
- return (h("div", { key: '00eba9265ee17605f699d1e5606013b68e900b29', class: "relative bg-stronger rounded-sm" }, h("div", { key: '1192584f04de5ff74e91c88597a3360b92053456', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '3666b6529a16a8cc64f448527db4ddee08f977a3', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: 'f222d95a2e548429f6c4de96a7646e3cef1f360f', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: '8c539deda773909c01a41eb04ee51380c0a9c4bb', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: '99541dedb32c543da5e780ffee4460333fbb3724', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '4e6ae6fcfae3de8c1fe5ad9d22309e0c8bee0c2c', innerHTML: this.getHighlightedCode() })))));
83
+ return (h("div", { key: 'cb379e82bcf71345945b0b88397650ecd4992770', class: "relative bg-stronger rounded-sm" }, h("div", { key: '945046d4fd747cd64a83155b421a897e380cc612', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '3f6c7e996101f0bb83fb8c9e6991a205a0b268c8', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '8ad9beb61058f29e688f6777233c61f7fb3ccfe8', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: 'a4f9a07906e1c2d9febb7ae789a3eed76dc422e9', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: 'e31339126dd3cc885511aaa2bdf6f06f3a113c74', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '7efacd276f26a00f0f61793f6b8748259e1614b5', innerHTML: this.getHighlightedCode() })))));
84
84
  }
85
85
  static get is() { return "eds-code-block"; }
86
86
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
- import { sendAnalytics } from "../../../../../../../packages/utils/src/index";
1
+ import { sendAnalytics } from "../../utils/analytics";
2
2
  import { h } from "@stencil/core";
3
3
  /**
4
4
  * `EdsDropdown` is a versatile dropdown component that provides a list of items
@@ -108,14 +108,14 @@ export class EdsDropdown {
108
108
  * @returns {JSX.Element} The rendered dropdown component.
109
109
  */
110
110
  render() {
111
- return (h("div", { key: '809cb733330db434f94f854ed4d1ee375f598297', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: 'c80f2930b335708a2a01d06b565673597bd8d926', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: '7b3ccb2ab29474a4795d5491960e0713aefcd624', class: {
111
+ return (h("div", { key: '84f4cea78ea1c40c7897a356fe03ac83922fccb8', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: '99dc51632dc82830054502a2d6d77d9fcefe9337', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: 'a63613a7ecf709fd1d22d77da4b2d286905fef3e', role: "menu", class: {
112
112
  'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
113
113
  'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
114
114
  'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
115
115
  'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
116
116
  'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
117
117
  'rounded-lg': this.rounded
118
- }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: 'c514c5dca893708fd1660a61cfeb1607229bbff5' }))));
118
+ }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: 'dda70b865ed03dc7ad36a32934587bbcb0a16c1b' }))));
119
119
  }
120
120
  static get is() { return "eds-dropdown"; }
121
121
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { toast } from "../../utils/toastManager";
3
+ import { sendAnalytics } from "../../utils/analytics";
3
4
  /**
4
5
  * `EdsForm` is a comprehensive form component designed to handle form submission with validation,
5
6
  * error handling, and customizable fields. It offers several options for handling alerts and
@@ -60,13 +61,20 @@ export class EdsForm {
60
61
  this.hasError = Object.keys(newErrors).length > 0;
61
62
  };
62
63
  this.handleSubmit = async (e) => {
63
- var _a;
64
+ var _a, _b, _c;
64
65
  e.preventDefault();
65
66
  if (this.isSubmitting) {
66
67
  return;
67
68
  }
68
69
  this.validateForm();
69
70
  if (this.hasError) {
71
+ sendAnalytics({
72
+ category: 'ui-component',
73
+ parentContext: null,
74
+ tag: this.el.tagName.toLowerCase(),
75
+ name: `${(_a = this.submitBtnLabel) === null || _a === void 0 ? void 0 : _a.toLowerCase()}/error` || '',
76
+ action: 'click'
77
+ });
70
78
  this.alertMessage = this.errorMessage;
71
79
  return;
72
80
  }
@@ -87,7 +95,7 @@ export class EdsForm {
87
95
  formData.set('form_url', window.location.href);
88
96
  }
89
97
  if (this.authUser) {
90
- formData.set('form_user', (_a = this.authUser) === null || _a === void 0 ? void 0 : _a.email);
98
+ formData.set('form_user', (_b = this.authUser) === null || _b === void 0 ? void 0 : _b.email);
91
99
  }
92
100
  /*const formDataObject = Object.fromEntries((formData as any).entries());
93
101
  console.log(JSON.stringify(formDataObject));*/
@@ -113,6 +121,13 @@ export class EdsForm {
113
121
  //this.alertMessage = data.message || this.successMessage;
114
122
  toast.show(data.message || this.successMessage, 'success');
115
123
  this.formEl.reset();
124
+ sendAnalytics({
125
+ category: 'ui-component',
126
+ parentContext: null,
127
+ tag: this.el.tagName.toLowerCase(),
128
+ name: `${(_c = this.submitBtnLabel) === null || _c === void 0 ? void 0 : _c.toLowerCase()}/success` || '',
129
+ action: 'click'
130
+ });
116
131
  }
117
132
  catch (err) {
118
133
  this.hasError = true;
@@ -153,20 +168,21 @@ export class EdsForm {
153
168
  componentDidLoad() {
154
169
  this.parseFields(this.fields);
155
170
  // Emit context for each eds-link element after the component is fully loaded
156
- const links = this.el.querySelectorAll('eds-button');
171
+ /*const links = this.el.querySelectorAll('eds-button');
157
172
  links.forEach((link) => {
158
- this.emitContext(link);
159
- });
160
- }
161
- emitContext(linkElement) {
162
- const event = new CustomEvent('parentContext', {
163
- detail: {
164
- componentName: this.el.tagName.toLowerCase(),
165
- identifier: null
166
- }
167
- });
168
- linkElement.dispatchEvent(event);
173
+ this.emitContext(link);
174
+ });*/
169
175
  }
176
+ /*emitContext(linkElement: HTMLElement) {
177
+ const event = new CustomEvent<ParentContextDetail>('parentContext', {
178
+ detail: {
179
+ componentName: this.el.tagName.toLowerCase(),
180
+ identifier: null
181
+ }
182
+ });
183
+
184
+ linkElement.dispatchEvent(event);
185
+ }*/
170
186
  // Visibility helper
171
187
  isFieldVisible(field) {
172
188
  if (!field.condition) {
@@ -331,13 +347,13 @@ export class EdsForm {
331
347
  render() {
332
348
  const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
333
349
  const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
334
- return (h("form", { key: '0a106caa8aa9f056b55acf6fecfbc7090c4411d2', ref: (el) => (this.formEl = el), enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, h("div", { key: '3478d82640378d9a1c0c09394453e2118b1b3ca9' }, h("slot", { key: '9bc37f54c03b2b0f831da917b6ce6bab2ec11084' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
350
+ return (h("form", { key: '3d4ae34d48c0551f9de6dacb50ceee15b487b5de', ref: (el) => (this.formEl = el), enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, h("div", { key: '344c56dcba3de5a1b55255d794a78fb0f19d04b5' }, h("slot", { key: '3ca6d203458d67fa66840fac55f94d71acc2ee4d' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
335
351
  var _a, _b;
336
352
  if (!this.isFieldVisible(field)) {
337
353
  return null;
338
354
  }
339
355
  return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
340
- })), this.submitBtn && (h("div", { key: 'ca221e8c5c18cf4a107581736728f84cea7831d0', class: "mt-20" }, h("eds-button", { key: 'eef3cf052beb62703c1df74d142650194d60c501', intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || (this.coupleAuth && !this.isAuthenticated), loading: this.isSubmitting, onClick: (e) => this.handleSubmit(e) }), this.coupleAuth && !this.isAuthenticated ? (h("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage)) : null)), this.alertMessage && (this.formSubmitted || this.hasError) && (h("div", { key: '69861c8776b99e26a08585a5a8c893c85a2d9999', class: "mt-20" }, h("eds-alert", { key: 'b4d225d8efcbe6cde95789c367f0ecf94f217c9c', message: this.alertMessage, intent: this.hasError ? 'error' : 'success', direction: "horizontal" })))));
356
+ })), this.submitBtn && (h("div", { key: '22915285f3522f6d260e358eea964c59a9557a55', class: "mt-20" }, h("eds-button", { key: '9e2191ba8cc49d7ac2a6588c0fa468214773c791', intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || (this.coupleAuth && !this.isAuthenticated), loading: this.isSubmitting, onClick: (e) => this.handleSubmit(e) }), this.coupleAuth && !this.isAuthenticated ? (h("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage)) : null)), this.alertMessage && (this.formSubmitted || this.hasError) && (h("div", { key: '8045c3dff26286a6735157b82afd56ec9001ba14', class: "mt-20" }, h("eds-alert", { key: 'dc8c8f74e8aada9023f110bb862afee1fb629601', message: this.alertMessage, intent: this.hasError ? 'error' : 'success', direction: "horizontal" })))));
341
357
  }
342
358
  static get is() { return "eds-form"; }
343
359
  static get originalStyleUrls() {
@@ -91,7 +91,7 @@ export class EdsFrame {
91
91
  return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
92
92
  }
93
93
  render() {
94
- return (h("div", { key: '0c3a43efc1a125af5999af88c4eb071b5c3bc6c5', class: this.articleClasses() }, h("div", { key: '32303d5e2c2f3b01efe1ceaf828346f873bea6b6', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '75f7f6750413dad4af2ea62c12ffb994491d5d01', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '1fd99f6eda026814910b0cd93635616b7d3ffe09', class: "border-softer border-t-2" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
94
+ return (h("div", { key: '20786dd40414d29f98d496e29720bd78b9d7cf8e', class: this.articleClasses() }, h("div", { key: '208612330c9d2872c68aeb310e164c8a915a51ef', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: 'ada2a40384ffaffadc8887580aa6184422008a68', class: "f-ui-02" }, this.frameLabel), !this.iframeError ? (h("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3', class: "border-softer border-t-2" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
95
95
  }
96
96
  static get is() { return "eds-frame"; }
97
97
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronDown {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'bc01e9e10033245e02403b6b919911018eef9919', class: this.class, innerHTML: chevronDown });
11
+ return h("span", { key: 'fa8022d27b91e909d4cd5522c6d0406be698a412', class: this.class, innerHTML: chevronDown });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-down"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronLeft {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'd74bd0b2ddfd5bd61c97309aebb71d7c29f0cf43', class: this.class, innerHTML: chevronLeft });
11
+ return h("span", { key: 'c723d7f1bbd596063ae7e66123b8038af5320a54', class: this.class, innerHTML: chevronLeft });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-left"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronRight {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '998491aed74bd3edd1fb8545f85ab52cf2703b3f', class: this.class, innerHTML: chevronRight });
11
+ return h("span", { key: 'f770cd9151077e8708c76d2082613c65a20c420f', class: this.class, innerHTML: chevronRight });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-right"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronUp {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'd0723afa766fc6dac454ec84602bd50ba4e49950', class: this.class, innerHTML: chevronUp });
11
+ return h("span", { key: '40d18a840277f2aba5d314a36fca5c1f8fd99cc6', class: this.class, innerHTML: chevronUp });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-up"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconArrowDiagonal {
8
8
  this.addClass = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '08ebdce5cfbe75bf4bfab8f72493e2178be55c3c', class: this.addClass, innerHTML: arrowDiagonal });
11
+ return h("span", { key: 'd85a4d425e0c255efe4763d4a13f13b6ff727c2c', class: this.addClass, innerHTML: arrowDiagonal });
12
12
  }
13
13
  static get is() { return "eds-icon-arrow-diagonal"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconArrowRight {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '6d704324784e6c3d9c221dcaf83bd86a8a6a94ab', class: this.class, innerHTML: arrowRight });
11
+ return h("span", { key: '4a2b33b86753acab8270a45c7b250603b128bc88', class: this.class, innerHTML: arrowRight });
12
12
  }
13
13
  static get is() { return "eds-icon-arrow-right"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconClose {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '365ad476b1be9c708e73598cad1dd42a908fa1cd', class: this.class, innerHTML: close });
11
+ return h("span", { key: '947f6615e8ee155be98b379a9c771cc0d453becd', class: this.class, innerHTML: close });
12
12
  }
13
13
  static get is() { return "eds-icon-close"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconCopy {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '770c34b98ec0e0a7e16de4d7b5b41b4afec9911e', class: this.class, innerHTML: copy });
11
+ return h("span", { key: '1e23d4493d5a1d07bc794da20cc4e445a87d56b0', class: this.class, innerHTML: copy });
12
12
  }
13
13
  static get is() { return "eds-icon-copy"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconEu {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'cc6e5f7d7333ff7ed4a6f716e0ee90806fa782f9', class: this.class, innerHTML: euSvg });
11
+ return h("span", { key: '14254e1b9d43562e6f3f943de22aa8dd4d89a044', class: this.class, innerHTML: euSvg });
12
12
  }
13
13
  static get is() { return "eds-icon-eu"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconGitlab {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '5a91cfc15c4dec2b50ce57fb0f1d6cc8f57b03e8', class: this.class, innerHTML: gitlabBlack });
11
+ return h("span", { key: '128f9265dfc1aee95586ba0a3fd20dd131678893', class: this.class, innerHTML: gitlabBlack });
12
12
  }
13
13
  static get is() { return "eds-icon-gitlab"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconLoader {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '260c4eeb69ff79d943571c1461346b9019ea513a', class: this.class, innerHTML: loader });
11
+ return h("span", { key: 'f11c60068baa2d2398056b3d7f04129d9deb4517', class: this.class, innerHTML: loader });
12
12
  }
13
13
  static get is() { return "eds-icon-loader"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconMenu {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '9d15be28017eb074a69846a2a639861de997130b', class: this.class, innerHTML: menu });
11
+ return h("span", { key: '0084602c8e870b70caa66479f71bed3bd0cce94e', class: this.class, innerHTML: menu });
12
12
  }
13
13
  static get is() { return "eds-icon-menu"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconMore {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '0f7d61104f8f2b0a83c5b60a6ce81c6ab91ecb9c', class: this.class, innerHTML: more });
11
+ return h("span", { key: 'dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4', class: this.class, innerHTML: more });
12
12
  }
13
13
  static get is() { return "eds-icon-more"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconSearch {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '6795d973d3a1fff27c2fd6181235d0284abaf3b7', class: this.class, innerHTML: search });
11
+ return h("span", { key: '42acc730afd956c2884b0789b3ea37ccf323630b', class: this.class, innerHTML: search });
12
12
  }
13
13
  static get is() { return "eds-icon-search"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconSuccess {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '15e428fd72496249adfe372847d5c683cd3412b1', class: this.class, innerHTML: success });
11
+ return h("span", { key: '8b5d4cfeedf6d7e9bea48d7ba892527d484c858d', class: this.class, innerHTML: success });
12
12
  }
13
13
  static get is() { return "eds-icon-success"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconUser {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: user });
11
+ return h("span", { key: 'cb31d12146ff577195650b502f51005092404a30', class: this.class, innerHTML: user });
12
12
  }
13
13
  static get is() { return "eds-icon-user"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconBluesky {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '8b5d4cfeedf6d7e9bea48d7ba892527d484c858d', class: this.class, innerHTML: bluesky });
11
+ return h("span", { key: '845a157678b9d059b2c9bd8a6265d3a62f33c31a', class: this.class, innerHTML: bluesky });
12
12
  }
13
13
  static get is() { return "eds-icon-bluesky"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconFacebook {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'f859db4f8b6679e138e6d72d1d0f5e5bd1bcf997', class: this.class, innerHTML: facebook });
11
+ return h("span", { key: '902598891dfe926f92ce5d30dc135896c6eccd43', class: this.class, innerHTML: facebook });
12
12
  }
13
13
  static get is() { return "eds-icon-facebook"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconLinkedin {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'b8e0661a74a92c72b6db109cb48db12da48dcf92', class: this.class, innerHTML: linkedin });
11
+ return h("span", { key: '0f9675a371ca7bb460882c04bf2bb0c103273a0d', class: this.class, innerHTML: linkedin });
12
12
  }
13
13
  static get is() { return "eds-icon-linkedin"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconMastodon {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '902598891dfe926f92ce5d30dc135896c6eccd43', class: this.class, innerHTML: mastodon });
11
+ return h("span", { key: '1f68e5d0b6f8455f40bf94f6095eceff00b7887e', class: this.class, innerHTML: mastodon });
12
12
  }
13
13
  static get is() { return "eds-icon-mastodon"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconTwitter {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'cfa2d903e79d5a17fb7511e078c0d26bd6d3abd6', class: this.class, innerHTML: twitter });
11
+ return h("span", { key: 'a06ab2e79a1ec7603244ec09649ccc2c9ea1950c', class: this.class, innerHTML: twitter });
12
12
  }
13
13
  static get is() { return "eds-icon-twitter"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconYoutube {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'ecd12a21c5797f93f7d8abe67803b27862967b2f', class: this.class, innerHTML: youtube });
11
+ return h("span", { key: '4eba69bfec926b7a3490feee15b5947a8ab8a7b9', class: this.class, innerHTML: youtube });
12
12
  }
13
13
  static get is() { return "eds-icon-youtube"; }
14
14
  static get properties() {
@@ -25,11 +25,16 @@ export class EdsImg {
25
25
  this.loaded = true;
26
26
  this.showBg = false;
27
27
  };
28
+ // On error, remove the background effect so users know the image failed to load.
29
+ this.handleError = () => {
30
+ this.loaded = true;
31
+ this.showBg = false;
32
+ };
28
33
  this.handleTransitionEnd = () => {
29
34
  this.showBg = false;
30
35
  };
31
36
  this.src = undefined;
32
- this.alt = undefined;
37
+ this.alt = '';
33
38
  this.width = undefined;
34
39
  this.height = undefined;
35
40
  this.srcset = undefined;
@@ -52,14 +57,14 @@ export class EdsImg {
52
57
  imgOpts['loading'] = 'lazy';
53
58
  imgOpts['decoding'] = 'async';
54
59
  }
55
- return (h("div", { key: 'fde8a77bb251e3be2ec3a42b8d83f585eae65b2c', class: {
60
+ return (h("div", { key: '733be8df2b9e3db1b5b13aaa47c16a9c26f345d7', class: {
56
61
  'items-center justify-center': true,
57
62
  'effect-bg-pattern': this.lazyload && this.showBg
58
- } }, h("picture", { key: 'e512cbd9134f14f5418856cf451cddfb93ca1760' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: '98339035b8d055d8bb8de654ce1f4ba410ef3865', ref: (el) => (this.img = el), class: {
63
+ } }, h("picture", { key: '3a6a0289bcf8a2851278eb6c6fbe64bfe7004014' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: 'b5d92e20a28f67a13d926f081b5f85dbd981ff78', ref: (el) => (this.img = el), class: {
59
64
  'effect-opacity object-cover object-center': true,
60
65
  'opacity-100': this.loaded,
61
66
  'opacity-0': !this.loaded
62
- }, width: this.width, height: this.height, sizes: this.sizes, src: this.src, srcSet: this.srcset, alt: this.alt }, imgOpts, { onLoad: this.handleLoad, onTransitionEnd: this.handleTransitionEnd })))));
67
+ }, width: this.width, height: this.height, sizes: this.sizes, src: this.src, srcSet: this.srcset, alt: this.alt }, imgOpts, { onLoad: this.handleLoad, onError: this.handleError, onTransitionEnd: this.handleTransitionEnd })))));
63
68
  }
64
69
  static get is() { return "eds-img"; }
65
70
  static get encapsulation() { return "shadow"; }
@@ -101,13 +106,14 @@ export class EdsImg {
101
106
  "references": {}
102
107
  },
103
108
  "required": false,
104
- "optional": true,
109
+ "optional": false,
105
110
  "docs": {
106
111
  "tags": [],
107
- "text": "The alternative text for the image."
112
+ "text": "The alternative text for the image.\nDefaults to an empty string so that decorative images are ignored by assistive technologies."
108
113
  },
109
114
  "attribute": "alt",
110
- "reflect": false
115
+ "reflect": false,
116
+ "defaultValue": "''"
111
117
  },
112
118
  "width": {
113
119
  "type": "number",
@@ -48,12 +48,12 @@ export class EdsInput {
48
48
  render() {
49
49
  const withIcon = !!this.icon;
50
50
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
51
- return (h("div", { key: 'aed6c5b0bc70ed712c74041b1bafce771c0da2d3', class: "relative flex items-center" }, this.type === 'textarea' ? (h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (h("input", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined, class: `
51
+ return (h("div", { key: 'e67c7566fe5a1574d6ff0fff61178b163c5881f9', class: "relative flex items-center" }, this.type === 'textarea' ? (h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (h("input", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined, class: `
52
52
  ${this.extraClass || ''}
53
53
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
54
54
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
55
55
  ${this.error ? 'input-error' : ''}
56
- `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === 'textarea' && (h("span", { key: '2a95bcd05820c60e428c9e5de3cc2c3fc6ceb3db', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (h("eds-icon-wrapper", { key: 'd20b1b17f45c77e1e7ad63ca5cb12db777074601', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
56
+ `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === 'textarea' && (h("span", { key: '35bc563715e65073898259d12b4ef2c467b14439', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (h("eds-icon-wrapper", { key: '54cab667a1b8b1bb906c2359cdbd2fb23171ba8b', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
57
57
  }
58
58
  static get is() { return "eds-input"; }
59
59
  static get properties() {
@@ -11,7 +11,7 @@ export class EdsInputFooter {
11
11
  this.link = undefined;
12
12
  }
13
13
  render() {
14
- return (h("div", { key: '9ce8da179446c0302754f1285b3733d928da042f', class: "space-y-4" }, this.error && this.errorMessage && (h("div", { key: 'aab7e8ded78e48864b2245603c3987a6ec3f3959', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '152a06328c6cbb40f0d52310ac3ce761de21a26c', icon: "warning" }), h("p", { key: '658825aa4649ad83a150a0dc92d37f1b078de4c3', class: "f-ui-04 ml-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '378ae9ef876e087f66302547958af4543262a441', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: 'cd396f03bdbd12a47544a44de17cfce35b8d206a', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
14
+ return (h("div", { key: 'c088f6c9bf4c3ca1efce1a1ff41ece8d4f8a6756', class: "space-y-4" }, this.error && this.errorMessage && (h("div", { key: '7404a329f2b5da7f9444f986178c5e4dbbe838ad', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '8f9d83b1d8dda824cac17d9c2ce3cb6cc5a58945', icon: "warning" }), h("p", { key: 'f223076bc18088e264b4888d18bb9673f803d875', class: "f-ui-04 ml-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '40bdbc35ba4985802177d7f9b2c44f893e4cb40c', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: 'e6297a49f63ce2ab14bac8df0186fb42fab4416d', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
15
15
  }
16
16
  static get is() { return "eds-input-footer"; }
17
17
  static get properties() {
@@ -10,7 +10,7 @@ export class EdsInputLabel {
10
10
  this.disabled = false;
11
11
  }
12
12
  render() {
13
- return (h("label", { key: 'd83f8267317c2d5ef500460e938b166c0e6517b1', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: '85ad9e44af342c191d8aa7aeb7e4c6288c544d6d' }, h("span", { key: 'b350ee023f80bc9d5f24ef2fac9f74b2461d27b9', "aria-hidden": "true" }, "*"), h("span", { key: 'af55a83d8998ac70817cb2f7cebfb74f276a6387', class: "sr-only" }, "required")))));
13
+ return (h("label", { key: '38be7206acfad300657a99218c3138e91069d710', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: '1e80610f66d51a1c46918086bb5b5153c0e35a3c' }, h("span", { key: '83d15d62c0539f1847746b4a2b9c9971b4852da8', "aria-hidden": "true" }, "*"), h("span", { key: '3f45f5a436c41cf7e55570a2abe8844c8daa7525', class: "sr-only" }, "required")))));
14
14
  }
15
15
  static get is() { return "eds-input-label"; }
16
16
  static get properties() {