@ebrains/components 0.4.0-alpha.0 → 0.5.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 (516) hide show
  1. package/dist/cjs/analytics-223ea8e5.js +51 -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.cjs.entry.js +84 -0
  7. package/dist/cjs/eds-alert_17.cjs.entry.js +1392 -0
  8. package/dist/cjs/eds-avatar_4.cjs.entry.js +187 -0
  9. package/dist/cjs/eds-card-generic.cjs.entry.js +104 -0
  10. package/dist/cjs/eds-card-project.cjs.entry.js +4 -3
  11. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +3 -4
  14. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +2 -2
  16. package/dist/cjs/eds-components-section.cjs.entry.js +7 -3
  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-form.cjs.entry.js +361 -0
  21. package/dist/cjs/eds-frame.cjs.entry.js +91 -0
  22. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-input_7.cjs.entry.js +324 -0
  45. package/dist/cjs/eds-login.cjs.entry.js +60 -41
  46. package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-matomo-notice.cjs.entry.js +2 -3
  48. package/dist/cjs/eds-modal.cjs.entry.js +97 -0
  49. package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-pagination_2.cjs.entry.js +9 -10
  51. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  53. package/dist/cjs/eds-svg-repository.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-tab.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-tabs-content.cjs.entry.js +4 -4
  56. package/dist/cjs/eds-tabs.cjs.entry.js +3 -3
  57. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  58. package/dist/cjs/eds-tooltip.cjs.entry.js +3 -4
  59. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  60. package/dist/cjs/eds-user.cjs.entry.js +99 -0
  61. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +45 -0
  62. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  63. package/dist/cjs/index-f08e4f5c.js +42 -6
  64. package/dist/cjs/{keycloak-5aaa21af.js → keycloak-93fc0315.js} +225 -170
  65. package/dist/cjs/loader.cjs.js +1 -1
  66. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  67. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  68. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  69. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  70. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  71. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  72. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  73. package/dist/collection/collection-manifest.json +4 -1
  74. package/dist/collection/components/eds-accordion/eds-accordion.js +3 -3
  75. package/dist/collection/components/eds-alert/eds-alert.js +8 -5
  76. package/dist/collection/components/eds-avatar/eds-avatar.js +8 -6
  77. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  78. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +23 -29
  79. package/dist/collection/components/eds-button/eds-button.js +20 -25
  80. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  81. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  82. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  83. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  84. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -2
  85. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +3 -2
  86. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +2 -2
  87. package/dist/collection/components/eds-code-block/eds-code-block.js +3 -3
  88. package/dist/collection/components/eds-dropdown/eds-dropdown.js +3 -3
  89. package/dist/collection/components/eds-form/eds-form.js +32 -16
  90. package/dist/collection/components/eds-frame/eds-frame.js +1 -1
  91. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  92. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  93. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  94. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  95. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  96. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  97. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  98. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  107. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  108. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  109. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  110. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  111. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  112. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  113. package/dist/collection/components/eds-img/eds-img.js +13 -7
  114. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  115. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  116. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  117. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
  118. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  119. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +11 -2
  120. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  121. package/dist/collection/components/eds-link/eds-link.js +6 -3
  122. package/dist/collection/components/eds-logo/eds-logo.js +21 -2
  123. package/dist/collection/components/eds-modal/eds-modal.js +19 -24
  124. package/dist/collection/components/eds-navigator/eds-navigator.js +1 -1
  125. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  126. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  127. package/dist/collection/components/eds-rating/eds-rating.css +48 -0
  128. package/dist/collection/components/eds-rating/eds-rating.js +10 -8
  129. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  130. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  131. package/dist/collection/components/eds-steps/eds-steps.css +71 -0
  132. package/dist/collection/components/eds-steps/eds-steps.js +132 -0
  133. package/dist/collection/components/eds-steps/eds-steps.stories.js +35 -0
  134. package/dist/collection/components/eds-steps/eds-vertical-stepper.css +78 -0
  135. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +72 -0
  136. package/dist/collection/components/eds-switch/eds-switch.css +59 -0
  137. package/dist/collection/components/eds-switch/eds-switch.js +131 -0
  138. package/dist/collection/components/eds-switch/eds-switch.stories.js +38 -0
  139. package/dist/collection/components/eds-tab/eds-tab.js +1 -1
  140. package/dist/collection/components/eds-table/eds-table.js +8 -8
  141. package/dist/collection/components/eds-tag/eds-tag.js +22 -1
  142. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  143. package/dist/collection/components/eds-toast/eds-toast.js +1 -1
  144. package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
  145. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  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/design-tokens/token-list/token-list.js +1 -1
  155. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  156. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  157. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  158. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  159. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  160. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
  161. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  162. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  163. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
  164. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
  165. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  166. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  167. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  168. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  169. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  170. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  171. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +10 -4
  172. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  173. package/dist/collection/shared-ui/eds-header/eds-header.js +2 -75
  174. package/dist/collection/shared-ui/eds-login/eds-login.js +66 -58
  175. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +1 -1
  176. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  177. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
  178. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +3 -3
  179. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  180. package/dist/collection/shared-ui/eds-user/eds-user.js +27 -24
  181. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -1
  182. package/dist/collection/utils/analytics.js +85 -0
  183. package/dist/collection/utils/color.js +129 -0
  184. package/dist/collection/utils/global.js +8 -0
  185. package/dist/collection/utils/keycloak.js +11 -5
  186. package/dist/components/analytics.js +6 -1
  187. package/dist/components/color.js +0 -164
  188. package/dist/components/components.css +51 -0
  189. package/dist/components/components.esm.js +1 -1
  190. package/dist/components/correct-use-of-colors.js +1 -1
  191. package/dist/components/eds-accordion2.js +2 -3
  192. package/dist/components/eds-alert2.js +8 -5
  193. package/dist/components/eds-avatar2.js +3 -3
  194. package/dist/components/eds-block-break2.js +1 -1
  195. package/dist/components/eds-breadcrumb.js +23 -29
  196. package/dist/components/eds-button2.js +16 -14
  197. package/dist/components/eds-card-desc2.js +1 -1
  198. package/dist/components/eds-card-generic2.js +1 -2
  199. package/dist/components/eds-card-project.js +2 -2
  200. package/dist/components/eds-card-section.js +1 -1
  201. package/dist/components/eds-card-tags.js +1 -1
  202. package/dist/components/eds-card-title2.js +1 -1
  203. package/dist/components/eds-card-tool.js +1 -2
  204. package/dist/components/eds-card-wrapper.js +1 -1
  205. package/dist/components/eds-code-block2.js +2 -2
  206. package/dist/components/eds-components-section.js +7 -3
  207. package/dist/components/eds-docs-palettes.js +1 -1
  208. package/dist/components/eds-docs-tokens.js +1 -1
  209. package/dist/components/eds-dropdown2.js +2 -3
  210. package/dist/components/eds-footer2.js +1 -1
  211. package/dist/components/eds-form.js +32 -16
  212. package/dist/components/eds-frame.js +1 -1
  213. package/dist/components/eds-header.js +10 -48
  214. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  215. package/dist/components/eds-icon-arrow-right.js +1 -1
  216. package/dist/components/eds-icon-bluesky.js +1 -1
  217. package/dist/components/eds-icon-chevron-down.js +1 -1
  218. package/dist/components/eds-icon-chevron-left.js +1 -1
  219. package/dist/components/eds-icon-chevron-right.js +1 -1
  220. package/dist/components/eds-icon-chevron-up.js +1 -1
  221. package/dist/components/eds-icon-close.js +1 -1
  222. package/dist/components/eds-icon-copy.js +1 -1
  223. package/dist/components/eds-icon-eu.js +1 -1
  224. package/dist/components/eds-icon-facebook.js +1 -1
  225. package/dist/components/eds-icon-gitlab.js +1 -1
  226. package/dist/components/eds-icon-linkedin.js +1 -1
  227. package/dist/components/eds-icon-loader.js +1 -1
  228. package/dist/components/eds-icon-mastodon.js +1 -1
  229. package/dist/components/eds-icon-menu.js +1 -1
  230. package/dist/components/eds-icon-more.js +1 -1
  231. package/dist/components/eds-icon-search.js +1 -1
  232. package/dist/components/eds-icon-success.js +1 -1
  233. package/dist/components/eds-icon-twitter.js +1 -1
  234. package/dist/components/eds-icon-user.js +1 -1
  235. package/dist/components/eds-icon-youtube.js +1 -1
  236. package/dist/components/eds-img2.js +9 -4
  237. package/dist/components/eds-input-field2.js +2 -2
  238. package/dist/components/eds-input-footer2.js +1 -1
  239. package/dist/components/eds-input-label2.js +1 -1
  240. package/dist/components/eds-input-range2.js +2 -2
  241. package/dist/components/eds-input-search2.js +1 -1
  242. package/dist/components/eds-input-select2.js +11 -2
  243. package/dist/components/eds-input2.js +2 -2
  244. package/dist/components/eds-link2.js +5 -3
  245. package/dist/components/eds-login.js +60 -41
  246. package/dist/components/eds-logo-variations.js +1 -1
  247. package/dist/components/eds-logo2.js +4 -3
  248. package/dist/components/eds-matomo-notice.js +0 -1
  249. package/dist/components/eds-modal.js +10 -24
  250. package/dist/components/eds-navigator.js +1 -1
  251. package/dist/components/eds-pagination2.js +1 -1
  252. package/dist/components/eds-progress-bar2.js +1 -1
  253. package/dist/components/eds-rating.js +23 -9
  254. package/dist/components/eds-section-core2.js +1 -1
  255. package/dist/components/eds-section-heading2.js +2 -2
  256. package/dist/components/eds-social-networks2.js +1 -1
  257. package/dist/components/eds-steps.d.ts +11 -0
  258. package/dist/components/eds-steps.js +106 -0
  259. package/dist/components/eds-svg-repository.js +1 -1
  260. package/dist/components/eds-switch.d.ts +11 -0
  261. package/dist/components/eds-switch.js +57 -0
  262. package/dist/components/eds-tab2.js +1 -1
  263. package/dist/components/eds-table2.js +6 -7
  264. package/dist/components/eds-tabs-content.js +2 -3
  265. package/dist/components/eds-tabs.js +1 -2
  266. package/dist/components/eds-tag2.js +5 -1
  267. package/dist/components/eds-timeline.js +1 -1
  268. package/dist/components/eds-toast-manager.js +1 -1
  269. package/dist/components/eds-toast2.js +1 -1
  270. package/dist/components/eds-tooltip.js +1 -2
  271. package/dist/components/eds-trl.js +1 -1
  272. package/dist/components/eds-user-modal2.js +1 -1
  273. package/dist/components/eds-user.js +157 -1
  274. package/dist/components/eds-vertical-stepper.d.ts +11 -0
  275. package/dist/components/eds-vertical-stepper.js +86 -0
  276. package/dist/components/incorrect-use-of-colors.js +1 -1
  277. package/dist/components/keycloak.js +225 -170
  278. package/dist/components/logo-space.js +1 -1
  279. package/dist/components/logo-variations-horizontal2.js +1 -1
  280. package/dist/components/logo-variations-vertical2.js +1 -1
  281. package/dist/components/logo-wrong-usage.js +1 -1
  282. package/dist/components/p-030f67c1.entry.js +1 -0
  283. package/dist/components/p-06299762.entry.js +1 -0
  284. package/dist/components/p-0ab85eee.entry.js +1 -0
  285. package/dist/components/{p-b04eff31.entry.js → p-0bafc5ae.entry.js} +1 -1
  286. package/dist/components/p-0e0e1815.entry.js +1 -0
  287. package/dist/components/p-0e7bdd2c.entry.js +1 -0
  288. package/dist/components/p-1ed3fdb7.entry.js +1 -0
  289. package/dist/components/p-209fa119.entry.js +1 -0
  290. package/dist/components/p-2831a9d5.entry.js +1 -0
  291. package/dist/components/p-2c00bd76.entry.js +1 -0
  292. package/dist/components/p-38d70586.entry.js +1 -0
  293. package/dist/components/p-3babd772.entry.js +1 -0
  294. package/dist/components/p-4a12a131.entry.js +1 -0
  295. package/dist/components/p-505ddcda.entry.js +1 -0
  296. package/dist/components/{p-8ddc67a1.entry.js → p-59405ecf.entry.js} +1 -1
  297. package/dist/components/p-5980a142.entry.js +1 -0
  298. package/dist/components/p-599c7b97.entry.js +1 -0
  299. package/dist/components/{p-22762818.entry.js → p-65703520.entry.js} +1 -1
  300. package/dist/components/p-6af40c33.entry.js +1 -0
  301. package/dist/components/p-6df9db15.entry.js +1 -0
  302. package/dist/components/p-72b42d77.entry.js +1 -0
  303. package/dist/components/p-75795b05.entry.js +1 -0
  304. package/dist/components/{p-435a14c1.entry.js → p-759b2640.entry.js} +1 -1
  305. package/dist/components/p-80a185ba.entry.js +1 -0
  306. package/dist/components/p-81942665.entry.js +1 -0
  307. package/dist/components/p-86fbc239.entry.js +1 -0
  308. package/dist/components/p-89227919.js +1 -0
  309. package/dist/components/{p-c3b294a0.entry.js → p-89f600a3.entry.js} +1 -1
  310. package/dist/components/{p-ba6bafef.entry.js → p-8b583210.entry.js} +1 -1
  311. package/dist/components/p-8c4a0fc9.entry.js +1 -0
  312. package/dist/components/p-8d19a05b.entry.js +1 -0
  313. package/dist/components/p-8eab748d.js +1 -0
  314. package/dist/components/p-911d9b37.entry.js +1 -0
  315. package/dist/components/p-92e16cc9.entry.js +1 -0
  316. package/dist/components/p-96fe2267.entry.js +1 -0
  317. package/dist/components/p-9739def5.entry.js +1 -0
  318. package/dist/components/p-9826acae.entry.js +1 -0
  319. package/dist/components/{p-87830085.entry.js → p-9b441a1f.entry.js} +1 -1
  320. package/dist/components/{p-c72c8fb0.entry.js → p-a2621d66.entry.js} +1 -1
  321. package/dist/components/p-a535838c.entry.js +1 -0
  322. package/dist/components/p-a5b7d72d.entry.js +1 -0
  323. package/dist/components/p-a5d00633.entry.js +1 -0
  324. package/dist/components/p-a63bd0c9.entry.js +1 -0
  325. package/dist/components/{p-762c8c83.entry.js → p-a846dbca.entry.js} +1 -1
  326. package/dist/components/p-a927a455.entry.js +1 -0
  327. package/dist/components/p-aec9b8e1.entry.js +1 -0
  328. package/dist/components/{p-5398d652.entry.js → p-b1af5000.entry.js} +1 -1
  329. package/dist/components/{p-d571d530.entry.js → p-b1de9a6c.entry.js} +1 -1
  330. package/dist/components/{p-0910d733.entry.js → p-b3c1aef5.entry.js} +1 -1
  331. package/dist/components/p-b60ed774.entry.js +1 -0
  332. package/dist/components/p-b67aafe7.entry.js +1 -0
  333. package/dist/components/p-b79999d5.entry.js +1 -0
  334. package/dist/components/p-b80457ed.entry.js +1 -0
  335. package/dist/components/p-b860b4aa.entry.js +1 -0
  336. package/dist/components/p-c034c395.entry.js +1 -0
  337. package/dist/components/p-c5fa170d.entry.js +1 -0
  338. package/dist/components/p-d69ef196.entry.js +1 -0
  339. package/dist/components/p-de12396f.entry.js +1 -0
  340. package/dist/components/p-de2fbcfc.entry.js +1 -0
  341. package/dist/components/p-def72462.entry.js +1 -0
  342. package/dist/components/p-e2c250c5.entry.js +1 -0
  343. package/dist/components/p-eb0b93d5.js +1 -0
  344. package/dist/components/p-eeeb0d83.entry.js +1 -0
  345. package/dist/components/p-f08eac56.entry.js +1 -0
  346. package/dist/components/p-f1cd83da.entry.js +1 -0
  347. package/dist/components/{p-22e6d7d5.entry.js → p-f36f2aeb.entry.js} +1 -1
  348. package/dist/components/p-f5dafbc8.entry.js +1 -0
  349. package/dist/components/p-f7493f41.entry.js +1 -0
  350. package/dist/components/{p-dd6daa96.entry.js → p-fce25541.entry.js} +1 -1
  351. package/dist/components/primary.js +1 -1
  352. package/dist/components/primary2.js +1 -1
  353. package/dist/components/secondary.js +1 -1
  354. package/dist/components/secondary2.js +7 -7
  355. package/dist/components/support.js +1 -1
  356. package/dist/components/support2.js +3 -3
  357. package/dist/components/token-list2.js +1 -1
  358. package/dist/components/token-radii2.js +1 -1
  359. package/dist/components/token-ratios.js +1 -1
  360. package/dist/components/token-shadows2.js +1 -1
  361. package/dist/components/token-spacing.js +1 -1
  362. package/dist/components/token-typography.js +1 -1
  363. package/dist/esm/analytics-1cde8e4a.js +48 -0
  364. package/dist/esm/color-2554aad6.js +132 -0
  365. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  366. package/dist/esm/components.js +1 -1
  367. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  368. package/dist/esm/eds-accordion.entry.js +80 -0
  369. package/dist/esm/eds-alert_17.entry.js +1372 -0
  370. package/dist/esm/eds-avatar_4.entry.js +180 -0
  371. package/dist/esm/eds-card-generic.entry.js +100 -0
  372. package/dist/esm/eds-card-project.entry.js +3 -2
  373. package/dist/esm/eds-card-section.entry.js +1 -1
  374. package/dist/esm/eds-card-tags.entry.js +1 -1
  375. package/dist/esm/eds-card-tool.entry.js +2 -3
  376. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  377. package/dist/esm/eds-code-block.entry.js +2 -2
  378. package/dist/esm/eds-components-section.entry.js +7 -3
  379. package/dist/esm/eds-docs-palettes.entry.js +1 -1
  380. package/dist/esm/eds-docs-tokens.entry.js +1 -1
  381. package/dist/esm/eds-dropdown_2.entry.js +153 -0
  382. package/dist/esm/eds-form.entry.js +357 -0
  383. package/dist/esm/eds-frame.entry.js +87 -0
  384. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  385. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  386. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  387. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  388. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  389. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  390. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  391. package/dist/esm/eds-icon-close.entry.js +1 -1
  392. package/dist/esm/eds-icon-copy.entry.js +1 -1
  393. package/dist/esm/eds-icon-eu.entry.js +1 -1
  394. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  395. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  396. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  397. package/dist/esm/eds-icon-loader.entry.js +1 -1
  398. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  399. package/dist/esm/eds-icon-menu.entry.js +1 -1
  400. package/dist/esm/eds-icon-more.entry.js +1 -1
  401. package/dist/esm/eds-icon-search.entry.js +1 -1
  402. package/dist/esm/eds-icon-success.entry.js +1 -1
  403. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  404. package/dist/esm/eds-icon-user.entry.js +1 -1
  405. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  406. package/dist/esm/eds-input_7.entry.js +314 -0
  407. package/dist/esm/eds-login.entry.js +60 -41
  408. package/dist/esm/eds-logo-variations.entry.js +1 -1
  409. package/dist/esm/eds-matomo-notice.entry.js +1 -2
  410. package/dist/esm/eds-modal.entry.js +93 -0
  411. package/dist/esm/eds-navigator.entry.js +1 -1
  412. package/dist/esm/eds-pagination_2.entry.js +8 -9
  413. package/dist/esm/eds-progress-bar.entry.js +1 -1
  414. package/dist/esm/eds-section-core_2.entry.js +3 -3
  415. package/dist/esm/eds-svg-repository.entry.js +1 -1
  416. package/dist/esm/eds-tab.entry.js +1 -1
  417. package/dist/esm/eds-tabs-content.entry.js +3 -3
  418. package/dist/esm/eds-tabs.entry.js +2 -2
  419. package/dist/esm/eds-timeline.entry.js +1 -1
  420. package/dist/esm/eds-tooltip.entry.js +2 -3
  421. package/dist/esm/eds-trl.entry.js +1 -1
  422. package/dist/esm/eds-user.entry.js +95 -0
  423. package/dist/esm/eds-vertical-stepper.entry.js +41 -0
  424. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  425. package/dist/esm/index-e96badea.js +42 -6
  426. package/dist/esm/{keycloak-13893af6.js → keycloak-d502ec16.js} +225 -170
  427. package/dist/esm/loader.js +1 -1
  428. package/dist/esm/logo-space.entry.js +1 -1
  429. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  430. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  431. package/dist/esm/token-list_3.entry.js +3 -3
  432. package/dist/esm/token-ratios.entry.js +1 -1
  433. package/dist/esm/token-spacing.entry.js +1 -1
  434. package/dist/esm/token-typography.entry.js +1 -1
  435. package/dist/hydrate/index.js +900 -804
  436. package/dist/hydrate/index.mjs +900 -804
  437. package/dist/types/components/eds-alert/eds-alert.d.ts +1 -1
  438. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +9 -8
  439. package/dist/types/components/eds-button/eds-button.d.ts +2 -3
  440. package/dist/types/components/eds-form/eds-form.d.ts +0 -1
  441. package/dist/types/components/eds-img/eds-img.d.ts +3 -1
  442. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +6 -0
  443. package/dist/types/components/eds-logo/eds-logo.d.ts +1 -0
  444. package/dist/types/components/eds-modal/eds-modal.d.ts +2 -7
  445. package/dist/types/components/eds-rating/eds-rating.d.ts +1 -2
  446. package/dist/types/components/eds-steps/eds-steps.d.ts +39 -0
  447. package/dist/types/components/eds-steps/eds-steps.stories.d.ts +34 -0
  448. package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +22 -0
  449. package/dist/types/components/eds-switch/eds-switch.d.ts +25 -0
  450. package/dist/types/components/eds-switch/eds-switch.stories.d.ts +32 -0
  451. package/dist/types/components/eds-tag/eds-tag.d.ts +5 -0
  452. package/dist/types/components.d.ts +163 -82
  453. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +28 -1
  454. package/dist/types/shared-ui/eds-header/eds-header.d.ts +0 -20
  455. package/dist/types/shared-ui/eds-login/eds-login.d.ts +21 -18
  456. package/dist/types/shared-ui/eds-user/eds-user.d.ts +5 -5
  457. package/dist/types/utils/global.d.ts +1 -0
  458. package/dist/types/utils/keycloak.d.ts +2 -2
  459. package/package.json +1 -1
  460. package/dist/cjs/color-88793e49.js +0 -342
  461. package/dist/cjs/eds-accordion_33.cjs.entry.js +0 -2670
  462. package/dist/cjs/eds-rating.cjs.entry.js +0 -56
  463. package/dist/components/eds-user2.js +0 -156
  464. package/dist/components/p-005de86f.entry.js +0 -1
  465. package/dist/components/p-0c2e844e.entry.js +0 -1
  466. package/dist/components/p-145f13ad.entry.js +0 -1
  467. package/dist/components/p-16458a81.entry.js +0 -1
  468. package/dist/components/p-2851ff44.entry.js +0 -1
  469. package/dist/components/p-29648b47.entry.js +0 -1
  470. package/dist/components/p-297b2bc3.entry.js +0 -1
  471. package/dist/components/p-2dda1ec4.entry.js +0 -1
  472. package/dist/components/p-32cddd94.entry.js +0 -1
  473. package/dist/components/p-35ec730b.entry.js +0 -1
  474. package/dist/components/p-388b4966.entry.js +0 -1
  475. package/dist/components/p-4037ad48.entry.js +0 -1
  476. package/dist/components/p-490ba155.entry.js +0 -1
  477. package/dist/components/p-4932aab2.entry.js +0 -1
  478. package/dist/components/p-4a24c2ce.entry.js +0 -1
  479. package/dist/components/p-57c964c5.entry.js +0 -1
  480. package/dist/components/p-5a43503a.entry.js +0 -1
  481. package/dist/components/p-5aad9d3f.entry.js +0 -1
  482. package/dist/components/p-5fc68438.entry.js +0 -1
  483. package/dist/components/p-610db2b2.entry.js +0 -1
  484. package/dist/components/p-6378fb3e.entry.js +0 -1
  485. package/dist/components/p-673dce11.entry.js +0 -1
  486. package/dist/components/p-7802e966.entry.js +0 -1
  487. package/dist/components/p-832dc95a.entry.js +0 -1
  488. package/dist/components/p-846fc91c.entry.js +0 -1
  489. package/dist/components/p-855aa1a3.entry.js +0 -1
  490. package/dist/components/p-8c56e39a.entry.js +0 -1
  491. package/dist/components/p-a44a1abe.entry.js +0 -1
  492. package/dist/components/p-a4e9b68b.entry.js +0 -1
  493. package/dist/components/p-ab32b3fc.entry.js +0 -1
  494. package/dist/components/p-ac0112d5.entry.js +0 -1
  495. package/dist/components/p-acb16e1c.entry.js +0 -1
  496. package/dist/components/p-ae5dbd41.entry.js +0 -1
  497. package/dist/components/p-b86a4985.js +0 -1
  498. package/dist/components/p-bdd86a3c.entry.js +0 -1
  499. package/dist/components/p-bf0f851d.entry.js +0 -1
  500. package/dist/components/p-c2d369bc.entry.js +0 -1
  501. package/dist/components/p-c6038449.entry.js +0 -1
  502. package/dist/components/p-c9c417de.js +0 -1
  503. package/dist/components/p-d1670eec.entry.js +0 -1
  504. package/dist/components/p-d53b7a75.entry.js +0 -1
  505. package/dist/components/p-d6d86366.entry.js +0 -1
  506. package/dist/components/p-df94285c.entry.js +0 -1
  507. package/dist/components/p-e74834bc.entry.js +0 -1
  508. package/dist/components/p-f7a6ce69.entry.js +0 -1
  509. package/dist/esm/color-bb472c37.js +0 -338
  510. package/dist/esm/eds-accordion_33.entry.js +0 -2634
  511. package/dist/esm/eds-rating.entry.js +0 -52
  512. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/index.d.ts +0 -3
  513. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib/keycloak.d.ts +0 -30
  514. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib/render.d.ts +0 -8
  515. /package/dist/types/{Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib → utils}/analytics.d.ts +0 -0
  516. /package/dist/types/{Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/utils/src/lib → utils}/color.d.ts +0 -0
@@ -1,13 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$a } from './eds-avatar2.js';
3
- import { d as defineCustomElement$9 } from './eds-button2.js';
4
- import { d as defineCustomElement$8 } from './eds-dropdown2.js';
5
- import { d as defineCustomElement$7 } from './eds-icon-wrapper2.js';
6
- import { d as defineCustomElement$6 } from './eds-img2.js';
7
- import { d as defineCustomElement$5 } from './eds-link2.js';
8
- import { d as defineCustomElement$4 } from './eds-logo2.js';
9
- import { d as defineCustomElement$3 } from './eds-user2.js';
10
- import { d as defineCustomElement$2 } from './eds-user-modal2.js';
2
+ import { d as defineCustomElement$5 } from './eds-button2.js';
3
+ import { d as defineCustomElement$4 } from './eds-icon-wrapper2.js';
4
+ import { d as defineCustomElement$3 } from './eds-link2.js';
5
+ import { d as defineCustomElement$2 } from './eds-logo2.js';
11
6
 
12
7
  const edsHeaderCss = "";
13
8
  const EdsHeaderStyle0 = edsHeaderCss;
@@ -20,11 +15,7 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
20
15
  this.homeUrl = '/';
21
16
  this.links = undefined;
22
17
  this.inverseHeader = false;
23
- this.userFeature = false;
24
18
  this.menuEnabled = false;
25
- this.keycloakUrl = undefined;
26
- this.keycloakRealm = undefined;
27
- this.keycloakClientId = undefined;
28
19
  this.isMenuOpen = false;
29
20
  this.isUserMenuOpen = false;
30
21
  this.isAuthenticated = false;
@@ -97,8 +88,8 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
97
88
  return [];
98
89
  }
99
90
  render() {
100
- return (h("header", { key: 'b16e5e84ba7565ebf4ea5892a9a1af84fc94769d', class: `flex items-center justify-between relative z-10
101
- ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '00206a2714dedfe205151002cc10c430e75814fb', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: '25fc6207d61bb4cc06877dd0b15bf56392b50255', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '8d1ee2947db26e5acb556da845fe1b811a8d18b2', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, h("ul", { key: '5c70e48f3a617a6abe402659b37741e657440cbc', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "small", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), h("slot", { key: '773b60e90ecfe336fede86ea6e3b0ec2fd10bd72' }), this.userFeature ? (h("div", { class: "px-16" }, h("eds-user", { "keycloak-url": this.keycloakUrl, "keycloak-realm": this.keycloakRealm, "keycloak-client-id": this.keycloakClientId }))) : null, this.menuEnabled ? (h("div", { class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
91
+ return (h("header", { key: 'ce002da29cee5446f64694ba93ec67f89c180ac4', class: `flex items-center justify-between relative z-10
92
+ ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '579593f3180b27d129fd9ca380d6b74d0efcbd1e', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: 'c72d87a2ff7cd1ea2b0390cd364e376d1f52c67f', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '6755e304c48624049af8426d4d9b19d0cb156dda', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, h("ul", { key: '390f9b6c6c950719598eec88b4befb4224cb0c03', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "small", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), h("slot", { key: 'bc7b093739cc3058e4eb3d4eddbb0b49856b5710' }), this.menuEnabled ? (h("div", { class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
102
93
  }
103
94
  get hostEl() { return this; }
104
95
  static get style() { return EdsHeaderStyle0; }
@@ -106,11 +97,7 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
106
97
  "homeUrl": [513, "home-url"],
107
98
  "links": [1],
108
99
  "inverseHeader": [4, "inverse-header"],
109
- "userFeature": [4, "user-feature"],
110
100
  "menuEnabled": [4, "menu-enabled"],
111
- "keycloakUrl": [1, "keycloak-url"],
112
- "keycloakRealm": [1, "keycloak-realm"],
113
- "keycloakClientId": [1, "keycloak-client-id"],
114
101
  "isMenuOpen": [32],
115
102
  "isUserMenuOpen": [32],
116
103
  "isAuthenticated": [32]
@@ -119,54 +106,29 @@ function defineCustomElement$1() {
119
106
  if (typeof customElements === "undefined") {
120
107
  return;
121
108
  }
122
- const components = ["eds-header", "eds-avatar", "eds-button", "eds-dropdown", "eds-icon-wrapper", "eds-img", "eds-link", "eds-logo", "eds-user", "eds-user-modal"];
109
+ const components = ["eds-header", "eds-button", "eds-icon-wrapper", "eds-link", "eds-logo"];
123
110
  components.forEach(tagName => { switch (tagName) {
124
111
  case "eds-header":
125
112
  if (!customElements.get(tagName)) {
126
113
  customElements.define(tagName, EdsHeader$1);
127
114
  }
128
115
  break;
129
- case "eds-avatar":
130
- if (!customElements.get(tagName)) {
131
- defineCustomElement$a();
132
- }
133
- break;
134
116
  case "eds-button":
135
- if (!customElements.get(tagName)) {
136
- defineCustomElement$9();
137
- }
138
- break;
139
- case "eds-dropdown":
140
- if (!customElements.get(tagName)) {
141
- defineCustomElement$8();
142
- }
143
- break;
144
- case "eds-icon-wrapper":
145
- if (!customElements.get(tagName)) {
146
- defineCustomElement$7();
147
- }
148
- break;
149
- case "eds-img":
150
- if (!customElements.get(tagName)) {
151
- defineCustomElement$6();
152
- }
153
- break;
154
- case "eds-link":
155
117
  if (!customElements.get(tagName)) {
156
118
  defineCustomElement$5();
157
119
  }
158
120
  break;
159
- case "eds-logo":
121
+ case "eds-icon-wrapper":
160
122
  if (!customElements.get(tagName)) {
161
123
  defineCustomElement$4();
162
124
  }
163
125
  break;
164
- case "eds-user":
126
+ case "eds-link":
165
127
  if (!customElements.get(tagName)) {
166
128
  defineCustomElement$3();
167
129
  }
168
130
  break;
169
- case "eds-user-modal":
131
+ case "eds-logo":
170
132
  if (!customElements.get(tagName)) {
171
133
  defineCustomElement$2();
172
134
  }
@@ -8,7 +8,7 @@ const EdsIconArrowDiagonal$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconArr
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
  }, [0, "eds-icon-arrow-diagonal", {
14
14
  "addClass": [1, "add-class"]
@@ -8,7 +8,7 @@ const EdsIconArrowRight$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconArrowR
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
  }, [0, "eds-icon-arrow-right", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconBluesky$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconBluesky e
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
  }, [0, "eds-icon-bluesky", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconChevronDown$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChevr
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
  }, [0, "eds-icon-chevron-down", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconChevronLeft$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChevr
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
  }, [0, "eds-icon-chevron-left", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconChevronRight$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChev
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
  }, [0, "eds-icon-chevron-right", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconChevronUp$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconChevron
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
  }, [0, "eds-icon-chevron-up", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconClose$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconClose exten
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
  }, [0, "eds-icon-close", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconCopy$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconCopy extends
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
  }, [0, "eds-icon-copy", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconEu$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconEu extends HTM
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
  }, [0, "eds-icon-eu", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconFacebook$1 = /*@__PURE__*/ proxyCustomElement(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
  }, [0, "eds-icon-facebook", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconGitlab$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconGitlab ext
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
  }, [0, "eds-icon-gitlab", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconLinkedin$1 = /*@__PURE__*/ proxyCustomElement(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
  }, [0, "eds-icon-linkedin", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconLoader$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconLoader ext
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
  }, [0, "eds-icon-loader", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMastodon$1 = /*@__PURE__*/ proxyCustomElement(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
  }, [0, "eds-icon-mastodon", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMenu$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMenu extends
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
  }, [0, "eds-icon-menu", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMore$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMore extends
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
  }, [0, "eds-icon-more", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconSearch$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconSearch ext
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
  }, [0, "eds-icon-search", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconSuccess$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconSuccess e
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
  }, [0, "eds-icon-success", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconTwitter$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconTwitter e
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
  }, [0, "eds-icon-twitter", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconUser extends
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
  }, [0, "eds-icon-user", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconYoutube$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconYoutube e
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
  }, [0, "eds-icon-youtube", {
14
14
  "class": [1]
@@ -13,11 +13,16 @@ const EdsImg = /*@__PURE__*/ proxyCustomElement(class EdsImg extends HTMLElement
13
13
  this.loaded = true;
14
14
  this.showBg = false;
15
15
  };
16
+ // On error, remove the background effect so users know the image failed to load.
17
+ this.handleError = () => {
18
+ this.loaded = true;
19
+ this.showBg = false;
20
+ };
16
21
  this.handleTransitionEnd = () => {
17
22
  this.showBg = false;
18
23
  };
19
24
  this.src = undefined;
20
- this.alt = undefined;
25
+ this.alt = '';
21
26
  this.width = undefined;
22
27
  this.height = undefined;
23
28
  this.srcset = undefined;
@@ -40,14 +45,14 @@ const EdsImg = /*@__PURE__*/ proxyCustomElement(class EdsImg extends HTMLElement
40
45
  imgOpts['loading'] = 'lazy';
41
46
  imgOpts['decoding'] = 'async';
42
47
  }
43
- return (h("div", { key: 'fde8a77bb251e3be2ec3a42b8d83f585eae65b2c', class: {
48
+ return (h("div", { key: '733be8df2b9e3db1b5b13aaa47c16a9c26f345d7', class: {
44
49
  'items-center justify-center': true,
45
50
  'effect-bg-pattern': this.lazyload && this.showBg
46
- } }, 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: {
51
+ } }, 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: {
47
52
  'effect-opacity object-cover object-center': true,
48
53
  'opacity-100': this.loaded,
49
54
  'opacity-0': !this.loaded
50
- }, 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 })))));
55
+ }, 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 })))));
51
56
  }
52
57
  get imgElement() { return this; }
53
58
  static get style() { return EdsImgStyle0; }
@@ -66,11 +66,11 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
66
66
  icon: this.icon,
67
67
  checked: this.checked
68
68
  };
69
- return (h("div", { key: 'e1e4c68a8ca48b9526217b1c1eeaecbf3c73a652', class: "space-y-8" }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && h("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts)), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && h("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChange, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
69
+ return (h("div", { key: '6c2e228bc3940212ad4df6ed99bdd69b99342afb', class: "space-y-8" }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts)), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChange, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
70
70
  var _a, _b, _c;
71
71
  const opt = this.parsedOptions;
72
72
  return (h("eds-input-range", { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, name: "range-slider" }));
73
- })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '7c283d5b193f179cdefbb011862358e3c92685c5', name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
73
+ })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '16f2dd9061fc779b081c973e25d1bf9fb26fcf8b', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
74
74
  }
75
75
  static get style() { return EdsInputFieldStyle0; }
76
76
  }, [1, "eds-input-field", {
@@ -12,7 +12,7 @@ const EdsInputFooter = /*@__PURE__*/ proxyCustomElement(class EdsInputFooter ext
12
12
  this.link = undefined;
13
13
  }
14
14
  render() {
15
- 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))));
15
+ 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))));
16
16
  }
17
17
  }, [0, "eds-input-footer", {
18
18
  "name": [1],
@@ -10,7 +10,7 @@ const EdsInputLabel = /*@__PURE__*/ proxyCustomElement(class EdsInputLabel exten
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
  }, [0, "eds-input-label", {
16
16
  "label": [1],
@@ -26,9 +26,9 @@ const EdsInputRange = /*@__PURE__*/ proxyCustomElement(class EdsInputRange exten
26
26
  return this.inputElement;
27
27
  }
28
28
  render() {
29
- return (h("div", { key: '8927f714cae6dd2237202190eade7b31cc7adc03', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: '1b3ba13453992c84e00d3b3261a9d2008f45634f', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input",
29
+ return (h("div", { key: '6a70b857cfbeb152e6f099b6dfc91cc9fec5bf11', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: 'da4c0158b1d33804404f4373b3c55c53b5b2f53b', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input",
30
30
  //aria-describedby={describedBy}
31
- onInput: this.onInput }), h("p", { key: 'e04c275e51710ae09eec1603911446e1e65bf648', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
31
+ onInput: this.onInput }), h("p", { key: '66bc2e755e4eb38015e32441599a9f9bade7c679', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
32
32
  }
33
33
  get el() { return this; }
34
34
  }, [0, "eds-input-range", {
@@ -29,7 +29,7 @@ const EdsInputSearch = /*@__PURE__*/ proxyCustomElement(class EdsInputSearch ext
29
29
  return this.inputElement;
30
30
  }
31
31
  render() {
32
- return (h("div", { key: '4a6a629fcaefa3ec3bbfb577e1a1f85e8d4f0ee0', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: '7cb203fabdf6f1160d95d7ca125f0ca33affd1c6', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest" }), h("input", { key: 'fe32c40b6e438526b8ef6a74783a6455fb91a467', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", class: "search-input w-full py-6 input input-icon pl-36",
32
+ return (h("div", { key: 'df7ee546beed6eedfba5a19e0fdf349d9aaece90', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: '4663fdd0a9ba4eace47dc90f9c7f50fc2e6f7925', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest" }), h("input", { key: 'e3e72f3dea068cbab3d398de36dd09e4a7f1ce93', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", class: "search-input w-full py-6 input input-icon pl-36",
33
33
  //aria-describedby={describedBy}
34
34
  onInput: this.onInput, onChange: this.onChange })));
35
35
  }
@@ -32,6 +32,7 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
32
32
  this.loading = false;
33
33
  this.dynamicValueKey = 'value';
34
34
  this.dynamicLabelKey = 'label';
35
+ this.hasFetched = false;
35
36
  }
36
37
  componentWillLoad() {
37
38
  this.loadOptions();
@@ -48,6 +49,9 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
48
49
  async loadOptions() {
49
50
  // If the first option contains an "endpoint" key, assume dynamic fetch mode.
50
51
  if (this.options && this.options.length > 0 && this.options[0].endpoint) {
52
+ if (this.hasFetched) {
53
+ return;
54
+ }
51
55
  const config = this.options[0];
52
56
  const endpoint = config.endpoint;
53
57
  this.dynamicValueKey = config.value || 'value';
@@ -61,6 +65,7 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
61
65
  const data = await response.json();
62
66
  // Assume the API returns an array of objects.
63
67
  this.dynamicOptions = data;
68
+ this.hasFetched = true;
64
69
  }
65
70
  catch (error) {
66
71
  //console.error('Error fetching dynamic options:', error);
@@ -77,8 +82,11 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
77
82
  this.dynamicLabelKey = this.labelKey;
78
83
  }
79
84
  }
85
+ getValueByPath(obj, path) {
86
+ return path.split('.').reduce((acc, part) => acc && acc[part], obj);
87
+ }
80
88
  render() {
81
- return (h("div", { key: 'd37107564a86281b3a3920a5eb128f47f6fd4ceb', class: "relative" }, h("select", { key: 'a69cd907ef6732ec42a99fd46bbf9a52ef03735a', id: this.inputId || this.name, name: this.name, class: `input invalid:text-lightest pr-32 ${this.error ? 'input-error' : ''}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.hasMessage || this.error ? `${this.name}-error` : '', disabled: this.disabled || this.loading, required: this.required, onChange: this.handleChange }, h("option", { key: '8b84a2b7edd7e989411908b16f35c46853889d8e', value: "", disabled: true, hidden: true }, this.loading ? 'Loading options...' : `Please select ${this.name}`), this.dynamicOptions.map((option, index) => (h("option", { key: index, value: option[this.dynamicValueKey] }, option[this.dynamicLabelKey])))), h("span", { key: 'dbccb6161aafc2dc31cc6dd5b3d8c812545eab9a', class: `bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center ${this.disabled || this.loading ? 'text-lightest bg-transparent' : ''}` }, h("eds-icon-wrapper", { key: 'b0fd24cb54185d8558dfabcb94d05b6257caacd1', class: "w-20 h-20", icon: "chevron-right" }))));
89
+ return (h("div", { key: 'c1469a270fa5e775ac4d17f1c7e259d02477d7a2', class: "relative" }, h("select", { key: '3aab6ec60d386e51ce27c1cfc26059132d96957f', id: this.inputId || this.name, name: this.name, class: `input invalid:text-lightest pr-32 ${this.error ? 'input-error' : ''}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.hasMessage || this.error ? `${this.name}-error` : '', disabled: this.disabled || this.loading, required: this.required, onChange: this.handleChange }, h("option", { key: 'ee3aa20ed1b99bddd7bafa3aac43f3c06db07b8f', value: "", disabled: true, hidden: true }, this.loading ? 'Loading options...' : `Please select ${this.name}`), this.dynamicOptions.map((option, index) => (h("option", { key: index, value: this.getValueByPath(option, this.dynamicValueKey) }, this.getValueByPath(option, this.dynamicLabelKey))))), h("span", { key: '7e70051ac49efd053f00521b51ad19e88cf5cdb7', class: `bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center ${this.disabled || this.loading ? 'text-lightest bg-transparent' : ''}` }, h("eds-icon-wrapper", { key: '2ef2d0d744216a1f931ac0bfe1058f54c9af4402', class: "w-20 h-20", icon: "chevron-right" }))));
82
90
  }
83
91
  static get watchers() { return {
84
92
  "options": ["loadOptions"]
@@ -98,7 +106,8 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
98
106
  "dynamicOptions": [32],
99
107
  "loading": [32],
100
108
  "dynamicValueKey": [32],
101
- "dynamicLabelKey": [32]
109
+ "dynamicLabelKey": [32],
110
+ "hasFetched": [32]
102
111
  }, undefined, {
103
112
  "options": ["loadOptions"]
104
113
  }]);
@@ -50,12 +50,12 @@ const EdsInput = /*@__PURE__*/ proxyCustomElement(class EdsInput extends HTMLEle
50
50
  render() {
51
51
  const withIcon = !!this.icon;
52
52
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
53
- 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: `
53
+ 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: `
54
54
  ${this.extraClass || ''}
55
55
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
56
56
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
57
57
  ${this.error ? 'input-error' : ''}
58
- `, "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 }))));
58
+ `, "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 }))));
59
59
  }
60
60
  get el() { return this; }
61
61
  static get watchers() { return {
@@ -1,5 +1,4 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import './color.js';
3
2
  import { s as sendAnalytics } from './analytics.js';
4
3
  import { c as cva } from './index2.js';
5
4
  import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
@@ -184,7 +183,7 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
184
183
  }
185
184
  renderRightIcon() {
186
185
  if (this.icon && this.iconPos === 'right') {
187
- return (h("span", { class: !this.external && !this.label ? '' : 'flex' }, h("eds-icon-wrapper", { class: `
186
+ return (h("span", { class: !this.external && !this.label ? '' : 'flex ml-4' }, h("eds-icon-wrapper", { class: `
188
187
  flex inline-flex items-center justify-center
189
188
  ${this.size === 'large' ? 'h-32 w-32' : 'h-20 w-20'}
190
189
  `, icon: this.icon })));
@@ -192,6 +191,7 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
192
191
  return null;
193
192
  }
194
193
  render() {
194
+ // If the link is disabled, use a <span>; otherwise, use an <a> element.
195
195
  const ComponentType = this.disabled ? 'span' : 'a';
196
196
  const classes = linkStyles({
197
197
  intent: this.intent,
@@ -199,10 +199,12 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
199
199
  iconSmall: this.iconSmall,
200
200
  isActive: this.current
201
201
  });
202
+ // If no visible label is provided, ensure ariaLabel is set.
203
+ const computedAriaLabel = this.ariaLabel || this.label || 'link';
202
204
  const labelClasses = this.hideLabelOnSmallScreen
203
205
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
204
206
  : '';
205
- return (h(ComponentType, { key: '58eb3c1c5c192c2855424864c9e3e9c7a5fe3378', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.disabled ? 'true' : null, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: 'd4033ba589552f60f8dc7559434a3c035d226de4', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: 'ca520cc66febaf8c8ddfd2fd8ee8a13b71a3078d', class: labelClasses }, this.label), this.renderRightIcon())));
207
+ return (h(ComponentType, { key: '965b2bf54c59752e7ed3cafbc167a8f2d1a2a9b1', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": computedAriaLabel, "aria-disabled": this.disabled ? 'true' : null, "aria-current": this.current ? 'page' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: '7df72410c98bab3c0ef204e5cd33f1e069976d24', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: '208b4fa88695bd8e8ed961d4c7639b117341110c', class: labelClasses }, this.label), this.renderRightIcon())));
206
208
  }
207
209
  get el() { return this; }
208
210
  static get style() { return EdsLinkStyle0; }