@ebrains/components 0.9.3-beta → 1.0.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 (535) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/{analytics-d8fb3fdd.js → analytics-28713bf7.js} +2 -2
  3. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  4. package/dist/cjs/components-section.cjs.entry.js +23 -17
  5. package/dist/cjs/components.cjs.js +2 -2
  6. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  7. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  8. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  9. package/dist/cjs/eds-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/eds-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
  13. package/dist/cjs/eds-card-project.cjs.entry.js +136 -8
  14. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-card-tool.cjs.entry.js +3 -3
  17. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-feedback.cjs.entry.js +7 -2
  20. package/dist/cjs/eds-frame.cjs.entry.js +3 -3
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-bookmark.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-external.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-matomo-notice.cjs.entry.js +10 -8
  58. package/dist/cjs/eds-pagination_2.cjs.entry.js +6 -6
  59. package/dist/cjs/eds-progress-bar.cjs.entry.js +32 -5
  60. package/dist/cjs/eds-rating.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  62. package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
  64. package/dist/cjs/eds-switch.cjs.entry.js +14 -6
  65. package/dist/cjs/eds-timeline.cjs.entry.js +3 -3
  66. package/dist/cjs/eds-toast-manager.cjs.entry.js +33 -4
  67. package/dist/cjs/eds-toast.cjs.entry.js +5 -4
  68. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  69. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  70. package/dist/cjs/{index-2f63169d.js → index-88c8039f.js} +37 -319
  71. package/dist/cjs/loader.cjs.js +2 -2
  72. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  73. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  74. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  75. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  76. package/dist/cjs/svg-repository.cjs.entry.js +2 -2
  77. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  78. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  79. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  80. package/dist/collection/collection-manifest.json +3 -3
  81. package/dist/collection/components/eds-accordion/eds-accordion.css +0 -8
  82. package/dist/collection/components/eds-alert/eds-alert.css +1 -575
  83. package/dist/collection/components/eds-alert/eds-alert.stories.js +3 -1
  84. package/dist/collection/components/eds-avatar/eds-avatar.css +40 -25
  85. package/dist/collection/components/eds-avatar/eds-avatar.js +11 -21
  86. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +5 -2
  87. package/dist/collection/components/eds-block-break/eds-block-break.css +2 -27
  88. package/dist/collection/components/eds-block-break/eds-block-break.js +9 -14
  89. package/dist/collection/components/eds-button/eds-button.css +318 -8312
  90. package/dist/collection/components/eds-button/eds-button.js +5 -59
  91. package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
  92. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +5 -7
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -20
  94. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +10 -1
  95. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  96. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  97. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  98. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
  99. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
  100. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
  101. package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
  102. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
  103. package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
  104. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +33 -156
  105. package/dist/collection/components/eds-input-field/eds-input-field.js +42 -15
  106. package/dist/collection/components/eds-link/eds-link.css +384 -6247
  107. package/dist/collection/components/eds-link/eds-link.js +2 -1
  108. package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +96 -61
  109. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +48 -3
  110. package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +3 -4
  111. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  112. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +5 -1
  113. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  114. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  115. package/dist/collection/components/eds-switch/eds-switch.css +13 -2
  116. package/dist/collection/components/eds-switch/eds-switch.js +13 -5
  117. package/dist/collection/components/eds-table/eds-table.js +4 -4
  118. package/dist/collection/components/eds-table/eds-table.stories.js +1 -11
  119. package/dist/collection/components/eds-tag/eds-tag.css +22 -12
  120. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  121. package/dist/collection/components/eds-timeline/eds-timeline.css +46 -7755
  122. package/dist/collection/components/eds-timeline/eds-timeline.js +4 -1
  123. package/dist/collection/components/eds-toast/eds-toast.js +7 -7
  124. package/dist/collection/components/eds-tooltip/eds-tooltip.css +89 -93
  125. package/dist/collection/components/eds-tooltip/eds-tooltip.js +6 -120
  126. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +5 -3
  127. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  128. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  129. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  130. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  131. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  132. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  133. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  134. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  135. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  136. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  137. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +1 -1
  138. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +1 -1
  139. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
  140. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  141. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  142. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  143. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  144. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  145. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  146. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  147. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  148. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  149. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  150. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  151. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  152. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  153. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  154. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  155. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +24 -1
  156. package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +9 -1
  157. package/dist/collection/shared-ui/eds-footer/eds-footer.css +4 -0
  158. package/dist/collection/shared-ui/eds-footer/eds-footer.js +46 -2
  159. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -3
  160. package/dist/collection/shared-ui/eds-form/eds-form.js +42 -10
  161. package/dist/collection/shared-ui/eds-frame/eds-frame.css +147 -115
  162. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  163. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +149 -117
  164. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
  165. package/dist/collection/shared-ui/eds-header/eds-header.css +178 -132
  166. package/dist/collection/shared-ui/eds-header/eds-header.js +21 -40
  167. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +6 -5
  168. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +8 -6
  169. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -0
  170. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  171. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.css +2 -35
  172. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.js +2 -2
  173. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.stories.js +1 -1
  174. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +4 -128
  175. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +1 -1
  176. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +268 -7686
  177. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +10 -10
  178. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +20 -10
  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.css +36 -7758
  181. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  182. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  183. package/dist/collection/utils/analytics.js +2 -2
  184. package/dist/collection/utils/color.js +8 -8
  185. package/dist/components/analytics.js +2 -2
  186. package/dist/components/components-section.js +22 -16
  187. package/dist/components/components.css +34 -516
  188. package/dist/components/components.esm.js +1 -1
  189. package/dist/components/correct-use-of-colors.js +1 -1
  190. package/dist/components/docs-palettes.js +1 -1
  191. package/dist/components/docs-tokens.js +1 -1
  192. package/dist/components/eds-accordion2.js +1 -1
  193. package/dist/components/eds-alert2.js +1 -1
  194. package/dist/components/eds-app-root.js +2 -20
  195. package/dist/components/eds-avatar2.js +4 -15
  196. package/dist/components/eds-block-break2.js +4 -4
  197. package/dist/components/eds-button2.js +6 -60
  198. package/dist/components/eds-card-desc2.js +2 -4
  199. package/dist/components/eds-card-generic2.js +2 -2
  200. package/dist/components/eds-card-project.js +131 -2
  201. package/dist/components/eds-card-tool.js +1 -1
  202. package/dist/components/eds-cookies-preference.js +1 -1
  203. package/dist/components/eds-feedback.js +7 -1
  204. package/dist/components/eds-footer2.js +7 -3
  205. package/dist/components/eds-form.js +17 -9
  206. package/dist/components/eds-frame.js +2 -2
  207. package/dist/components/eds-fullscreen-menu.js +1 -1
  208. package/dist/components/{eds-login.d.ts → eds-gauge.d.ts} +4 -4
  209. package/dist/components/eds-gauge.js +81 -0
  210. package/dist/components/eds-header.js +15 -34
  211. package/dist/components/eds-input-field2.js +26 -16
  212. package/dist/components/eds-input-select2.js +12 -84
  213. package/dist/components/eds-link2.js +3 -2
  214. package/dist/components/eds-matomo-notice2.js +8 -6
  215. package/dist/components/{eds-card-wrapper.d.ts → eds-pie.d.ts} +4 -4
  216. package/dist/components/eds-pie.js +127 -0
  217. package/dist/components/eds-progress-bar2.js +32 -4
  218. package/dist/components/eds-rating2.js +1 -1
  219. package/dist/components/eds-section-core2.js +3 -2
  220. package/dist/components/eds-section-heading2.js +2 -2
  221. package/dist/components/eds-social-networks2.js +1 -1
  222. package/dist/components/eds-spinner2.js +1 -1
  223. package/dist/components/eds-steps-v2.js +1 -1
  224. package/dist/components/eds-steps2.js +1 -1
  225. package/dist/components/eds-switch.js +13 -5
  226. package/dist/components/eds-table2.js +4 -4
  227. package/dist/components/eds-tabs.js +11 -11
  228. package/dist/components/eds-tag2.js +2 -2
  229. package/dist/components/eds-timeline.js +2 -2
  230. package/dist/components/eds-toast-manager.js +31 -2
  231. package/dist/components/eds-toast2.js +4 -3
  232. package/dist/components/eds-tooltip.js +7 -88
  233. package/dist/components/eds-trl.js +1 -1
  234. package/dist/components/eds-user.js +10 -4
  235. package/dist/components/incorrect-use-of-colors.js +1 -1
  236. package/dist/components/logo-space.js +1 -1
  237. package/dist/components/logo-variations-horizontal2.js +1 -1
  238. package/dist/components/logo-variations-tabs.js +1 -1
  239. package/dist/components/logo-variations-vertical2.js +1 -1
  240. package/dist/components/logo-wrong-usage.js +1 -1
  241. package/dist/components/p-019555e2.entry.js +1 -0
  242. package/dist/components/p-04b4e9d0.entry.js +1 -0
  243. package/dist/components/p-0863352c.entry.js +1 -0
  244. package/dist/components/p-0d6434e1.entry.js +1 -0
  245. package/dist/components/p-0e94a89f.entry.js +1 -0
  246. package/dist/components/p-0ed92872.entry.js +1 -0
  247. package/dist/components/{p-c4db0829.entry.js → p-0eeddc13.entry.js} +1 -1
  248. package/dist/components/p-100909ce.entry.js +1 -0
  249. package/dist/components/{p-892362e0.entry.js → p-10db551c.entry.js} +1 -1
  250. package/dist/components/{p-aa2e6fec.entry.js → p-124b8747.entry.js} +1 -1
  251. package/dist/components/p-14a223fe.entry.js +1 -0
  252. package/dist/components/{p-e089797c.entry.js → p-1661f33c.entry.js} +1 -1
  253. package/dist/components/{p-05b272e5.entry.js → p-18ceadd2.entry.js} +1 -1
  254. package/dist/components/p-223ba66e.entry.js +1 -0
  255. package/dist/components/{p-751497f4.entry.js → p-24dab785.entry.js} +1 -1
  256. package/dist/components/p-26d6679b.entry.js +1 -0
  257. package/dist/components/p-2810d568.entry.js +1 -0
  258. package/dist/components/p-28ae3f3a.js +2 -0
  259. package/dist/components/p-2b1b2026.entry.js +1 -0
  260. package/dist/components/p-2c571550.entry.js +1 -0
  261. package/dist/components/p-326d9e55.entry.js +1 -0
  262. package/dist/components/p-36d6134f.entry.js +1 -0
  263. package/dist/components/p-3c642a30.entry.js +1 -0
  264. package/dist/components/p-46619042.entry.js +1 -0
  265. package/dist/components/{p-75d37c48.entry.js → p-46a6ab04.entry.js} +1 -1
  266. package/dist/components/{p-d83d2815.entry.js → p-50ea5b07.entry.js} +1 -1
  267. package/dist/components/p-511b23ec.entry.js +1 -0
  268. package/dist/components/p-5462923d.entry.js +1 -0
  269. package/dist/components/p-6199b8c0.entry.js +1 -0
  270. package/dist/components/{p-888c3471.entry.js → p-624e653e.entry.js} +1 -1
  271. package/dist/components/{p-0b99fd3c.entry.js → p-682f7376.entry.js} +1 -1
  272. package/dist/components/p-6907a47c.entry.js +1 -0
  273. package/dist/components/p-6ba42d02.entry.js +1 -0
  274. package/dist/components/p-6e929acb.entry.js +1 -0
  275. package/dist/components/p-6ede7101.entry.js +1 -0
  276. package/dist/components/p-70bac015.entry.js +1 -0
  277. package/dist/components/p-7af6b832.entry.js +1 -0
  278. package/dist/components/p-7f31622d.entry.js +1 -0
  279. package/dist/components/p-822ac246.entry.js +1 -0
  280. package/dist/components/p-848506b8.entry.js +1 -0
  281. package/dist/components/p-84fd3e40.entry.js +1 -0
  282. package/dist/components/p-85634ad2.entry.js +1 -0
  283. package/dist/components/{p-7a550385.entry.js → p-8ad05566.entry.js} +1 -1
  284. package/dist/components/{p-037975af.entry.js → p-8b016d76.entry.js} +1 -1
  285. package/dist/components/p-8bdf5841.entry.js +1 -0
  286. package/dist/components/p-8ff39cef.entry.js +1 -0
  287. package/dist/components/{p-29ad9c73.entry.js → p-a4f552b2.entry.js} +1 -1
  288. package/dist/components/p-a81cba86.entry.js +1 -0
  289. package/dist/components/p-abb2ad00.entry.js +1 -0
  290. package/dist/components/{p-b8ba7e5c.entry.js → p-adbd0d7b.entry.js} +1 -1
  291. package/dist/components/p-affe2b55.entry.js +1 -0
  292. package/dist/components/p-b31591db.entry.js +1 -0
  293. package/dist/components/{p-7db75d62.entry.js → p-b4abff90.entry.js} +1 -1
  294. package/dist/components/{p-67c72c20.entry.js → p-b50fc0d7.entry.js} +1 -1
  295. package/dist/components/p-b7efd666.entry.js +1 -0
  296. package/dist/components/p-ba784274.entry.js +1 -0
  297. package/dist/components/p-bb9af709.entry.js +1 -0
  298. package/dist/components/p-bfc62d3e.entry.js +1 -0
  299. package/dist/components/p-c0b22803.entry.js +1 -0
  300. package/dist/components/p-cdd491f5.entry.js +1 -0
  301. package/dist/components/{p-688e07d6.entry.js → p-cde3d7a4.entry.js} +1 -1
  302. package/dist/components/p-cfccddc3.entry.js +1 -0
  303. package/dist/components/p-d15065c3.js +1 -0
  304. package/dist/components/p-d268c96b.entry.js +1 -0
  305. package/dist/components/p-d437bae2.entry.js +1 -0
  306. package/dist/components/p-d456e649.entry.js +1 -0
  307. package/dist/components/p-dae8f66a.entry.js +1 -0
  308. package/dist/components/p-e1791844.entry.js +1 -0
  309. package/dist/components/p-e82edd4a.entry.js +1 -0
  310. package/dist/components/p-e9f608a8.entry.js +1 -0
  311. package/dist/components/{p-55e3683c.entry.js → p-ea97a94e.entry.js} +1 -1
  312. package/dist/components/{p-e2b00067.entry.js → p-eac593ee.entry.js} +1 -1
  313. package/dist/components/p-f26fd186.entry.js +1 -0
  314. package/dist/components/{p-7ac9881e.entry.js → p-f2c23162.entry.js} +1 -1
  315. package/dist/components/p-fc4edb18.entry.js +1 -0
  316. package/dist/components/p-fe1cba17.entry.js +1 -0
  317. package/dist/components/primary.js +1 -1
  318. package/dist/components/primary2.js +1 -1
  319. package/dist/components/secondary.js +1 -1
  320. package/dist/components/secondary2.js +7 -7
  321. package/dist/components/support.js +1 -1
  322. package/dist/components/support2.js +3 -3
  323. package/dist/components/svg-repository.js +1 -1
  324. package/dist/components/token-list2.js +1 -1
  325. package/dist/components/token-radii2.js +1 -1
  326. package/dist/components/token-ratios.js +1 -1
  327. package/dist/components/token-shadows2.js +1 -1
  328. package/dist/components/token-spacing.js +1 -1
  329. package/dist/components/token-typography.js +1 -1
  330. package/dist/esm/{analytics-44b1416b.js → analytics-d99780e3.js} +2 -2
  331. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  332. package/dist/esm/components-section.entry.js +23 -17
  333. package/dist/esm/components.js +3 -3
  334. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  335. package/dist/esm/docs-palettes.entry.js +2 -2
  336. package/dist/esm/docs-tokens.entry.js +2 -2
  337. package/dist/esm/eds-accordion.entry.js +3 -3
  338. package/dist/esm/eds-alert.entry.js +2 -2
  339. package/dist/esm/eds-app-root.entry.js +2 -2
  340. package/dist/esm/eds-avatar_34.entry.js +2694 -0
  341. package/dist/esm/eds-card-project.entry.js +133 -5
  342. package/dist/esm/eds-card-section.entry.js +1 -1
  343. package/dist/esm/eds-card-tags.entry.js +1 -1
  344. package/dist/esm/eds-card-tool.entry.js +3 -3
  345. package/dist/esm/eds-code-block.entry.js +1 -1
  346. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  347. package/dist/esm/eds-feedback.entry.js +7 -2
  348. package/dist/esm/eds-frame.entry.js +3 -3
  349. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  350. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  351. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  352. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  353. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  354. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  355. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  356. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  357. package/dist/esm/eds-icon-close.entry.js +1 -1
  358. package/dist/esm/eds-icon-copy.entry.js +1 -1
  359. package/dist/esm/eds-icon-eu.entry.js +1 -1
  360. package/dist/esm/eds-icon-external.entry.js +1 -1
  361. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  362. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  363. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  364. package/dist/esm/eds-icon-loader.entry.js +1 -1
  365. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  366. package/dist/esm/eds-icon-menu.entry.js +1 -1
  367. package/dist/esm/eds-icon-minus.entry.js +1 -1
  368. package/dist/esm/eds-icon-more.entry.js +1 -1
  369. package/dist/esm/eds-icon-paper.entry.js +1 -1
  370. package/dist/esm/eds-icon-plus.entry.js +1 -1
  371. package/dist/esm/eds-icon-portal.entry.js +1 -1
  372. package/dist/esm/eds-icon-private.entry.js +1 -1
  373. package/dist/esm/eds-icon-public.entry.js +1 -1
  374. package/dist/esm/eds-icon-search.entry.js +1 -1
  375. package/dist/esm/eds-icon-star.entry.js +1 -1
  376. package/dist/esm/eds-icon-success.entry.js +1 -1
  377. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  378. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  379. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  380. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  381. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  382. package/dist/esm/eds-icon-updown.entry.js +1 -1
  383. package/dist/esm/eds-icon-user.entry.js +1 -1
  384. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  385. package/dist/esm/eds-matomo-notice.entry.js +10 -8
  386. package/dist/esm/eds-pagination_2.entry.js +6 -6
  387. package/dist/esm/eds-progress-bar.entry.js +32 -5
  388. package/dist/esm/eds-rating.entry.js +2 -2
  389. package/dist/esm/eds-section-core_2.entry.js +4 -4
  390. package/dist/esm/eds-spinner.entry.js +2 -2
  391. package/dist/esm/eds-splash-screen.entry.js +56 -0
  392. package/dist/esm/eds-switch.entry.js +14 -6
  393. package/dist/esm/eds-timeline.entry.js +3 -3
  394. package/dist/esm/eds-toast-manager.entry.js +32 -3
  395. package/dist/esm/eds-toast.entry.js +5 -4
  396. package/dist/esm/eds-trl.entry.js +2 -2
  397. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  398. package/dist/esm/{index-8a71b9a7.js → index-fdb33359.js} +37 -319
  399. package/dist/esm/loader.js +3 -3
  400. package/dist/esm/logo-space.entry.js +2 -2
  401. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  402. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  403. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  404. package/dist/esm/svg-repository.entry.js +2 -2
  405. package/dist/esm/token-list_3.entry.js +4 -4
  406. package/dist/esm/token-ratios.entry.js +2 -2
  407. package/dist/esm/token-typography.entry.js +2 -2
  408. package/dist/hydrate/index.js +815 -2882
  409. package/dist/hydrate/index.mjs +815 -2882
  410. package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
  411. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
  412. package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
  413. package/dist/types/components/eds-button/eds-button.d.ts +0 -1
  414. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
  415. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
  416. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
  417. package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
  418. package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
  419. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
  420. package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
  421. package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
  422. package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
  423. package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
  424. package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
  425. package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
  426. package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
  427. package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
  428. package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
  429. package/dist/types/components.d.ts +211 -241
  430. package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
  431. package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
  432. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
  433. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
  434. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
  435. package/dist/types/shared-ui/eds-header/eds-header.d.ts +5 -24
  436. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
  437. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
  438. package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
  439. package/package.json +14 -4
  440. package/dist/cjs/color-c00146a8.js +0 -134
  441. package/dist/cjs/eds-avatar_27.cjs.entry.js +0 -2404
  442. package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -78
  443. package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
  444. package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
  445. package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
  446. package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
  447. package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
  448. package/dist/cjs/toastManager-4e9535f3.js +0 -33
  449. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
  450. package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
  451. package/dist/components/color.js +0 -132
  452. package/dist/components/eds-card-wrapper.js +0 -49
  453. package/dist/components/eds-login.js +0 -6
  454. package/dist/components/eds-login2.js +0 -2076
  455. package/dist/components/p-05549a74.entry.js +0 -1
  456. package/dist/components/p-0e378e0e.entry.js +0 -1
  457. package/dist/components/p-13efafb9.js +0 -1
  458. package/dist/components/p-1ec25dc2.entry.js +0 -1
  459. package/dist/components/p-202f78cc.entry.js +0 -1
  460. package/dist/components/p-22b76c3c.entry.js +0 -1
  461. package/dist/components/p-22f9e720.js +0 -1
  462. package/dist/components/p-24300934.entry.js +0 -1
  463. package/dist/components/p-25f1cc6c.entry.js +0 -1
  464. package/dist/components/p-31ca07fd.entry.js +0 -1
  465. package/dist/components/p-342bc3d8.entry.js +0 -1
  466. package/dist/components/p-35068b80.entry.js +0 -1
  467. package/dist/components/p-3950debe.entry.js +0 -1
  468. package/dist/components/p-3d74d4b1.entry.js +0 -1
  469. package/dist/components/p-42f19373.entry.js +0 -1
  470. package/dist/components/p-4ecaedbc.entry.js +0 -1
  471. package/dist/components/p-5055eb25.entry.js +0 -1
  472. package/dist/components/p-5646902d.entry.js +0 -1
  473. package/dist/components/p-5ff68e7d.entry.js +0 -1
  474. package/dist/components/p-63cc5d3d.entry.js +0 -1
  475. package/dist/components/p-6506cf52.entry.js +0 -1
  476. package/dist/components/p-6aa17003.entry.js +0 -1
  477. package/dist/components/p-6e273e0f.entry.js +0 -1
  478. package/dist/components/p-6fcb754e.entry.js +0 -1
  479. package/dist/components/p-70c9af1e.entry.js +0 -1
  480. package/dist/components/p-7180a36b.entry.js +0 -1
  481. package/dist/components/p-7351cad3.entry.js +0 -1
  482. package/dist/components/p-75cc9f9e.entry.js +0 -1
  483. package/dist/components/p-7a31c31f.entry.js +0 -1
  484. package/dist/components/p-7cb60f9c.entry.js +0 -1
  485. package/dist/components/p-8a4d9b9b.entry.js +0 -1
  486. package/dist/components/p-8b7f5204.entry.js +0 -1
  487. package/dist/components/p-8db820ef.entry.js +0 -1
  488. package/dist/components/p-ae4f5e3a.entry.js +0 -1
  489. package/dist/components/p-b024183c.entry.js +0 -1
  490. package/dist/components/p-b115c3f1.entry.js +0 -1
  491. package/dist/components/p-b3a3ae59.entry.js +0 -1
  492. package/dist/components/p-b4595a9e.entry.js +0 -1
  493. package/dist/components/p-b817dceb.entry.js +0 -1
  494. package/dist/components/p-b8ca2127.entry.js +0 -1
  495. package/dist/components/p-ba6cc102.entry.js +0 -1
  496. package/dist/components/p-c51b5f04.entry.js +0 -1
  497. package/dist/components/p-c5a7d2b1.entry.js +0 -1
  498. package/dist/components/p-c5c782e7.entry.js +0 -1
  499. package/dist/components/p-c5f98369.entry.js +0 -1
  500. package/dist/components/p-c604063d.entry.js +0 -1
  501. package/dist/components/p-c9a19e93.entry.js +0 -1
  502. package/dist/components/p-cccacbd3.js +0 -2
  503. package/dist/components/p-d164a75d.entry.js +0 -1
  504. package/dist/components/p-d4c920fa.entry.js +0 -1
  505. package/dist/components/p-d82cc261.entry.js +0 -1
  506. package/dist/components/p-da6e49a9.entry.js +0 -1
  507. package/dist/components/p-dcd4de1f.entry.js +0 -1
  508. package/dist/components/p-e8a2d709.entry.js +0 -1
  509. package/dist/components/p-ea942740.entry.js +0 -1
  510. package/dist/components/p-eb0b93d5.js +0 -1
  511. package/dist/components/p-ece20356.entry.js +0 -1
  512. package/dist/components/p-ed6fd4b8.entry.js +0 -1
  513. package/dist/components/p-f3822d6b.entry.js +0 -1
  514. package/dist/components/p-f539febe.entry.js +0 -1
  515. package/dist/components/p-f7f4b247.entry.js +0 -1
  516. package/dist/components/p-fdbfa776.entry.js +0 -1
  517. package/dist/components/p-fe27f4a9.entry.js +0 -1
  518. package/dist/components/toastManager.js +0 -31
  519. package/dist/esm/color-2554aad6.js +0 -132
  520. package/dist/esm/eds-avatar_27.entry.js +0 -2374
  521. package/dist/esm/eds-card-desc_2.entry.js +0 -73
  522. package/dist/esm/eds-card-generic.entry.js +0 -88
  523. package/dist/esm/eds-card-wrapper.entry.js +0 -28
  524. package/dist/esm/eds-login_2.entry.js +0 -2095
  525. package/dist/esm/eds-tabs.entry.js +0 -126
  526. package/dist/esm/eds-tooltip.entry.js +0 -105
  527. package/dist/esm/toastManager-d9eee791.js +0 -31
  528. package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
  529. package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
  530. /package/dist/collection/components/eds-section/eds-section-core/{eds-section-core.stories.js → eds-section-core.donotstories.js} +0 -0
  531. /package/dist/collection/components/eds-timeline/{eds-timeline.stories.js → eds-timeline.donot-stories.js} +0 -0
  532. /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
  533. /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
  534. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
  535. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
@@ -5,7 +5,7 @@ import { d as defineCustomElement$4 } from './eds-icon-wrapper2.js';
5
5
  import { d as defineCustomElement$3 } from './eds-link2.js';
6
6
  import { d as defineCustomElement$2 } from './eds-logo2.js';
7
7
 
8
- const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
8
+ const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
9
9
  const EdsHeaderStyle0 = edsHeaderCss;
10
10
 
11
11
  const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTMLElement {
@@ -16,7 +16,7 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
16
16
  this.toggleheadermenu = createEvent(this, "toggleheadermenu", 7);
17
17
  this.homeUrl = '/';
18
18
  this.links = undefined;
19
- this.inverseHeader = false;
19
+ this.headerVariant = 'default';
20
20
  this.menuEnabled = false;
21
21
  this.isMenuOpen = false;
22
22
  this.isUserMenuOpen = false;
@@ -26,62 +26,43 @@ const EdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class EdsHeader extends HTM
26
26
  var _a;
27
27
  this.isAuthenticated = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.authenticated;
28
28
  }
29
- /**
30
- * Lifecycle method that runs when the component has fully loaded.
31
- * It emits a custom event for each `eds-link` element contained within the breadcrumb.
32
- */
33
29
  componentDidLoad() {
34
- // Emit context for each eds-link element after the component is fully loaded
35
30
  const links = this.hostEl.querySelectorAll('eds-link');
36
- links.forEach((link) => {
37
- this.emitContext(link);
38
- });
31
+ links.forEach((link) => this.emitContext(link));
39
32
  }
40
- /**
41
- * Emits a custom event called `parentContext` for a given link element.
42
- * This event provides context information about the breadcrumb component.
43
- *
44
- * @param linkElement - The link element to which the event will be dispatched.
45
- */
46
33
  emitContext(linkElement) {
47
34
  const event = new CustomEvent('parentContext', {
48
- detail: {
49
- componentName: this.hostEl.tagName.toLowerCase(),
50
- identifier: null
51
- }
35
+ detail: { componentName: this.hostEl.tagName.toLowerCase(), identifier: null }
52
36
  });
53
37
  linkElement.dispatchEvent(event);
54
38
  }
55
- /** Emits an event to open or close the menu */
56
39
  handleToggleMenu() {
57
40
  this.toggleheadermenu.emit(!this.isMenuOpen);
58
41
  }
59
- /**
60
- * Toggles the visibility of the user menu.
61
- * Opens the user menu if closed, and closes it if open.
62
- */
63
42
  toggleUserMenu() {
64
43
  this.isUserMenuOpen = !this.isUserMenuOpen;
65
44
  }
66
- /**
67
- * Parses the `links` prop into an array of link objects.
68
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
69
- *
70
- * @returns {any[]} Array of parsed link objects
71
- */
72
45
  get parsedLinks() {
73
46
  return parseData(this.links);
74
47
  }
75
48
  render() {
76
- return (h("header", { key: 'a0679671c9ed9659fb8393f69dcf1b902ab9f25f', class: `flex items-center justify-between relative z-10
77
- ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, h("div", { key: '115780a93b21d638cb7abf32ed365966bf4c0a6e', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: 'e0dfbb999e87178c1992c692edd791fbe239886b', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '283bab0cfd25a47ffc7007bf24a98dbc3c138d2d', 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: 'fb2fa5863a04869a9922218ac13d287e7120afd8', 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: "large", 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: 'c5d15841fc49af502fea717dbc36d81721d7688d' }), 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));
49
+ // Define classes based on headerVariant
50
+ const variantClasses = {
51
+ default: 'text-default bg-dark',
52
+ inverse: 'text-default bg-inverse',
53
+ strong: 'text-inverse bg-strongest'
54
+ };
55
+ const classes = variantClasses[this.headerVariant] || variantClasses.default;
56
+ // Logo color variant: default and inverse use 'color', strong uses 'color-white'
57
+ const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
58
+ return (h("header", { key: '3c6ae4789993e140ee8a00e7f32c8ff3a2793b87', class: `flex items-center justify-between relative z-10 ${classes}` }, h("div", { key: 'a406f073ae110622ad8930c61438b46d16553362', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: '19c91de446b76f76e97f160c0af538db2637ffdc', type: logoType, href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '921c87b668b25abc8117014880c9669a96c04122', 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: 'b0de4a0eaafb7409eeedc77104b39fed8a55441b', 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: "large", 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: '2b3d292703b8b7083a7ae1dcfbefbd091d5a744b' }), this.menuEnabled && (h("div", { key: '10d16f0f0ecdc450acf900dd8d7d7b439deb8dcd', class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { key: '2e62e0a57bf008d0e566988011beab9a09f7774d', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
78
59
  }
79
60
  get hostEl() { return this; }
80
61
  static get style() { return EdsHeaderStyle0; }
81
62
  }, [1, "eds-header", {
82
63
  "homeUrl": [513, "home-url"],
83
64
  "links": [1],
84
- "inverseHeader": [4, "inverse-header"],
65
+ "headerVariant": [513, "header-variant"],
85
66
  "menuEnabled": [4, "menu-enabled"],
86
67
  "isMenuOpen": [32],
87
68
  "isUserMenuOpen": [32],
@@ -19,23 +19,27 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
19
19
  var _a;
20
20
  // 1) Call any passed-in handler
21
21
  (_a = this.onInput) === null || _a === void 0 ? void 0 : _a.call(this, ev);
22
- // 2) Re-emit on host so Vue/others can catch it
23
- const newValue = ev.target.value;
24
- this.hostEl.dispatchEvent(new CustomEvent('oninput', {
25
- detail: { value: newValue },
26
- bubbles: true,
27
- composed: true
28
- }));
22
+ if (this.shouldEmitValue()) {
23
+ // 2) Re-emit on host so Vue/others can catch it
24
+ const newValue = ev.target.value;
25
+ this.hostEl.dispatchEvent(new CustomEvent('oninput', {
26
+ detail: { value: newValue },
27
+ bubbles: false,
28
+ composed: true
29
+ }));
30
+ }
29
31
  };
30
32
  this.handleNativeChange = (ev) => {
31
33
  var _a;
32
34
  (_a = this.onChange) === null || _a === void 0 ? void 0 : _a.call(this, ev);
33
- const target = ev.target;
34
- this.hostEl.dispatchEvent(new CustomEvent('onchange', {
35
- detail: { value: target.value },
36
- bubbles: true,
37
- composed: true
38
- }));
35
+ if (this.shouldEmitValue()) {
36
+ const target = ev.target;
37
+ this.hostEl.dispatchEvent(new CustomEvent('onchange', {
38
+ detail: { value: target.value },
39
+ bubbles: false,
40
+ composed: true
41
+ }));
42
+ }
39
43
  };
40
44
  this.name = undefined;
41
45
  this.inputId = undefined;
@@ -56,6 +60,11 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
56
60
  this.value = undefined;
57
61
  this.maxLength = undefined;
58
62
  this.options = undefined;
63
+ this.exposeValueEvents = true;
64
+ }
65
+ shouldEmitValue() {
66
+ // Never emit for password fields, and respect the exposeValueEvents prop
67
+ return this.exposeValueEvents && this.type !== 'password';
59
68
  }
60
69
  get parsedOptions() {
61
70
  if (Array.isArray(this.options)) {
@@ -88,7 +97,7 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
88
97
  icon: this.icon,
89
98
  checked: this.checked
90
99
  };
91
- return (h("div", { key: 'e99cf5640a713e6289549f61ec20755513ddbcc2', 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, checked: (typeof this.value === 'string' ? this.value.split(',') : []).includes(String(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, { value: this.value, checked: this.value === 'on' })), 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' ? ((() => {
100
+ return (h("div", { key: '5243586c0bf3acc86d42684dbcd0288b3360b00c', 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, checked: (typeof this.value === 'string' ? this.value.split(',') : []).includes(String(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, { value: this.value, checked: this.value === 'on' })), 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' ? ((() => {
92
101
  var _a, _b, _c;
93
102
  const rangeProps = {
94
103
  name: inputOpts.name,
@@ -101,7 +110,7 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
101
110
  const opt = this.parsedOptions;
102
111
  const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
103
112
  return (h("eds-input-range", Object.assign({}, rangeProps, { 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, value: numberValue })));
104
- })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: 'b9a8995ad04d0c5edfd3c0896c55c56704fecb38', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
113
+ })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: 'e4e1f28766471d5451f342aa4d60d58fca2ddd01', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
105
114
  }
106
115
  get hostEl() { return this; }
107
116
  static get style() { return EdsInputFieldStyle0; }
@@ -124,7 +133,8 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
124
133
  "errorMessage": [1, "error-message"],
125
134
  "value": [8],
126
135
  "maxLength": [2, "max-length"],
127
- "options": [1]
136
+ "options": [1],
137
+ "exposeValueEvents": [4, "expose-value-events"]
128
138
  }]);
129
139
  function defineCustomElement() {
130
140
  if (typeof customElements === "undefined") {
@@ -1,21 +1,14 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { t as toast } from './toastManager.js';
3
2
  import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
4
3
 
5
4
  const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect extends HTMLElement {
6
5
  constructor() {
7
6
  super();
8
7
  this.__registerHost();
9
- this.changeEvent = createEvent(this, "changeEvent", 7);
10
- /**
11
- * Event handler for the select input's change event.
12
- * Emits the selected value.
13
- *
14
- * @param event The change event from the select input.
15
- */
8
+ this.edsselect = createEvent(this, "edsselect", 7);
16
9
  this.handleChange = (event) => {
17
10
  const target = event.target;
18
- this.changeEvent.emit(target.value);
11
+ this.edsselect.emit(target.value);
19
12
  };
20
13
  this.inputId = undefined;
21
14
  this.name = undefined;
@@ -25,75 +18,19 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
25
18
  this.error = false;
26
19
  this.required = false;
27
20
  this.options = [];
28
- this.labelKey = 'label';
29
- this.valueKey = 'value';
30
21
  this.value = undefined;
31
- this.dynamicOptions = [];
32
- this.loading = false;
33
- this.dynamicValueKey = 'value';
34
- this.dynamicLabelKey = 'label';
35
- this.hasFetched = false;
36
- }
37
- componentWillLoad() {
38
- this.loadOptions();
39
- }
40
- /**
41
- * Watches for changes in the `options` prop and loads the options accordingly.
42
- *
43
- * If the first object in the options array contains an "endpoint" key,
44
- * the component will fetch options from the specified endpoint using the configured keys.
45
- * Otherwise, it will treat the options as static.
46
- *
47
- * @async
48
- */
49
- async loadOptions() {
50
- // If the first option contains an "endpoint" key, assume dynamic fetch mode.
51
- if (this.options && this.options.length > 0 && this.options[0].endpoint) {
52
- if (this.hasFetched) {
53
- return;
54
- }
55
- const config = this.options[0];
56
- const endpoint = config.endpoint;
57
- this.dynamicValueKey = config.value || 'value';
58
- this.dynamicLabelKey = config.label || 'label';
59
- this.loading = true;
60
- try {
61
- const response = await fetch(endpoint);
62
- if (!response.ok) {
63
- toast.show(`<eds-input-select> HTTP error! Status: ${response.status}`, 'error');
64
- }
65
- const data = await response.json();
66
- // Assume the API returns an array of objects.
67
- this.dynamicOptions = data;
68
- this.hasFetched = true;
69
- }
70
- catch (error) {
71
- //console.error('Error fetching dynamic options:', error);
72
- toast.show(`<eds-input-select> Error fetching dynamic options ${error}`, 'error');
73
- }
74
- finally {
75
- this.loading = false;
76
- }
77
- }
78
- else {
79
- // No dynamic configuration found, assume static options.
80
- this.dynamicOptions = this.options;
81
- this.dynamicValueKey = this.valueKey;
82
- this.dynamicLabelKey = this.labelKey;
83
- }
84
- }
85
- getValueByPath(obj, path) {
86
- return path.split('.').reduce((acc, part) => acc && acc[part], obj);
87
22
  }
88
23
  render() {
89
- return (h("div", { key: '1fa3ad5de7ad829f49c9a12b0ac3f42e91aef37e', class: "relative", "aria-busy": this.loading ? 'true' : 'false' }, h("select", { key: '988d82773e794b131c4b1283949db0767e9d38a8', 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: '62377a7228da11569a3e0d2af1e72e61fb90ef50', value: "", disabled: true, hidden: true }, this.loading ? 'Loading options...' : `Please select ${this.name}`), this.dynamicOptions.map((option, index) => {
90
- const optionValue = this.getValueByPath(option, this.dynamicValueKey);
91
- return (h("option", { key: index, value: optionValue, selected: optionValue === this.value }, this.getValueByPath(option, this.dynamicLabelKey)));
92
- })), h("span", { key: 'f16a73e1fd3be27c221456b359088e8daf3f2e9b', 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: '5654f534af4c9ae58e7e4157535a932c3d062a9c', class: "w-20 h-20", icon: "chevron-right" }))));
24
+ const selectId = this.inputId || this.name;
25
+ const placeholderText = this.placeholder || `Please select ${this.name}`;
26
+ const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
27
+ return (h("div", { key: '0e1bf5f1ebf30d675e0b4927e7812a305f58d2b9', class: "relative" }, h("select", { key: 'b92542caca12d77e3160baa84760b37bbbe172c7', id: selectId, name: this.name, class: {
28
+ input: true,
29
+ 'input-error': this.error,
30
+ 'px-4': true,
31
+ 'py-2': true
32
+ }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: 'fa911a07fd0053f6c7e5044aac3e6d0846344899', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (h("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), h("span", { key: 'afa3c7ad3c583dec2ffc2fd5087d7695509a2a25', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, h("eds-icon-wrapper", { key: '1bb2a24fc9798a7359b9b45019b1432ff2e50e70', class: "w-20 h-20", icon: "chevron-right" }))));
93
33
  }
94
- static get watchers() { return {
95
- "options": ["loadOptions"]
96
- }; }
97
34
  }, [0, "eds-input-select", {
98
35
  "inputId": [1, "input-id"],
99
36
  "name": [1],
@@ -103,16 +40,7 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
103
40
  "error": [4],
104
41
  "required": [4],
105
42
  "options": [16],
106
- "labelKey": [1, "label-key"],
107
- "valueKey": [1, "value-key"],
108
- "value": [8],
109
- "dynamicOptions": [32],
110
- "loading": [32],
111
- "dynamicValueKey": [32],
112
- "dynamicLabelKey": [32],
113
- "hasFetched": [32]
114
- }, undefined, {
115
- "options": ["loadOptions"]
43
+ "value": [8]
116
44
  }]);
117
45
  function defineCustomElement() {
118
46
  if (typeof customElements === "undefined") {