@ebrains/components 0.6.0-alpha.0 → 0.7.0-alpha.1

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 (631) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  2. package/dist/cjs/components.cjs.js +2 -2
  3. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  4. package/dist/cjs/eds-accordion_22.cjs.entry.js +1959 -0
  5. package/dist/cjs/eds-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
  7. package/dist/cjs/eds-avatar_4.cjs.entry.js +180 -0
  8. package/dist/cjs/eds-breadcrumb.cjs.entry.js +4 -18
  9. package/dist/cjs/eds-card-generic.cjs.entry.js +92 -0
  10. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-card-section.cjs.entry.js +39 -0
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
  20. package/dist/cjs/{eds-dropdown_2.cjs.entry.js → eds-dropdown.cjs.entry.js} +8 -41
  21. package/dist/cjs/eds-feedback.cjs.entry.js +66 -0
  22. package/dist/cjs/eds-form.cjs.entry.js +237 -254
  23. package/dist/cjs/eds-frame.cjs.entry.js +32 -32
  24. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  33. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  35. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  37. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  39. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
  43. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  44. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
  45. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
  46. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  47. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  49. package/dist/{components/keycloak.js → cjs/eds-login_2.cjs.entry.js} +144 -1
  50. package/dist/cjs/eds-logo-variations.cjs.entry.js +2 -2
  51. package/dist/cjs/eds-modal.cjs.entry.js +15 -3
  52. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  53. package/dist/cjs/eds-rating.cjs.entry.js +31 -25
  54. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  55. package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
  56. package/dist/cjs/eds-steps.cjs.entry.js +9 -19
  57. package/dist/cjs/eds-svg-repository.cjs.entry.js +9 -3
  58. package/dist/cjs/eds-switch.cjs.entry.js +3 -3
  59. package/dist/cjs/eds-tabs.cjs.entry.js +10 -24
  60. package/dist/cjs/eds-timeline.cjs.entry.js +4 -22
  61. package/dist/cjs/eds-toast-manager.cjs.entry.js +46 -0
  62. package/dist/cjs/eds-toast.cjs.entry.js +76 -0
  63. package/dist/cjs/eds-tooltip.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-user.cjs.entry.js +9 -79
  66. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +2 -2
  67. package/dist/cjs/formUtils-4315a99c.js +228 -0
  68. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  69. package/dist/cjs/{index-f08e4f5c.js → index-2f63169d.js} +51 -54
  70. package/dist/cjs/loader.cjs.js +2 -2
  71. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  72. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  73. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  74. package/dist/cjs/sharedUtils-8e287250.js +21 -0
  75. package/dist/cjs/star-942eee9f.js +7 -0
  76. package/dist/cjs/thumbs-down-714036b1.js +7 -0
  77. package/dist/cjs/thumbs-up-411babb8.js +8 -0
  78. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  79. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  80. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  81. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  82. package/dist/collection/collection-manifest.json +10 -6
  83. package/dist/collection/components/eds-accordion/eds-accordion.js +7 -7
  84. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
  85. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +3 -17
  86. package/dist/collection/components/eds-button/eds-button.css +1 -19
  87. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +3 -15
  88. package/dist/collection/components/eds-dropdown/eds-dropdown.js +24 -2
  89. package/dist/collection/components/eds-form/eds-form.js +278 -268
  90. package/dist/collection/components/eds-form-v2/eds-form-v2.css +7153 -0
  91. package/dist/collection/components/eds-form-v2/eds-form-v2.js +405 -0
  92. package/dist/collection/components/eds-form-v2/eds-form-v2.stories.js +73 -0
  93. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  94. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  95. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  96. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  97. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  98. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
  108. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
  110. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
  111. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  112. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  113. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  114. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  115. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  116. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  117. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  118. package/dist/collection/components/eds-img/eds-img.js +2 -2
  119. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  120. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  121. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  122. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
  123. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +57 -9
  124. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
  125. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  126. package/dist/collection/components/eds-link/eds-link.js +1 -1
  127. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  128. package/dist/collection/components/eds-modal/eds-modal.js +26 -2
  129. package/dist/collection/components/eds-pagination/eds-pagination.js +3 -3
  130. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  131. package/dist/collection/components/eds-rating/eds-rating.css +31 -74
  132. package/dist/collection/components/eds-rating/eds-rating.js +44 -56
  133. package/dist/collection/components/eds-rating/eds-rating.stories.js +18 -51
  134. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  135. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  136. package/dist/collection/components/eds-spinner/eds-spinner.css +17 -0
  137. package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
  138. package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
  139. package/dist/collection/components/eds-steps/eds-steps.css +1 -1
  140. package/dist/collection/components/eds-steps/eds-steps.js +8 -18
  141. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +1 -1
  142. package/dist/collection/components/eds-switch/eds-switch.css +57 -58
  143. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  144. package/dist/collection/components/eds-table/eds-table.js +11 -8
  145. package/dist/collection/components/eds-table/eds-table.stories.js +11 -6
  146. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  147. package/dist/collection/components/eds-timeline/eds-timeline.js +3 -21
  148. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  149. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  150. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  151. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  152. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  153. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  154. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  155. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  156. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  157. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  158. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  159. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  160. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  161. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  162. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  163. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  164. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
  165. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  166. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  167. package/dist/collection/eds-docs-ui/eds-frame/eds-frame.css +113 -0
  168. package/dist/collection/{components → eds-docs-ui}/eds-frame/eds-frame.js +47 -76
  169. package/dist/collection/eds-docs-ui/eds-frame/eds-frame.stories.js +52 -0
  170. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
  171. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
  172. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  173. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  174. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  175. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  176. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +3 -19
  177. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  178. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +155 -0
  179. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +191 -0
  180. package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +121 -0
  181. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  182. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +3 -28
  183. package/dist/collection/shared-ui/eds-header/eds-header.js +4 -20
  184. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -37
  185. package/dist/collection/shared-ui/eds-login/eds-login.js +34 -10
  186. package/dist/collection/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.js +32 -63
  187. package/dist/collection/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.stories.js +6 -4
  188. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  189. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
  190. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +124 -0
  191. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
  192. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +7774 -0
  193. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +12 -25
  194. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +17 -30
  195. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +4 -1
  196. package/dist/collection/shared-ui/eds-user/eds-user.js +17 -150
  197. package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
  198. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
  199. package/dist/collection/utils/api.js +27 -0
  200. package/dist/collection/utils/eds-form/formUtils.js +95 -0
  201. package/dist/collection/utils/eds-form/formValidators.js +64 -0
  202. package/dist/collection/utils/eds-form/individualValidator.js +46 -0
  203. package/dist/collection/utils/eds-form/validateInput.js +23 -0
  204. package/dist/collection/utils/sharedUtils.js +17 -0
  205. package/dist/components/components.css +48 -72
  206. package/dist/components/components.esm.js +1 -1
  207. package/dist/components/correct-use-of-colors.js +1 -1
  208. package/dist/components/eds-accordion2.js +5 -5
  209. package/dist/components/{eds-navigator.d.ts → eds-app-root.d.ts} +4 -4
  210. package/dist/components/eds-app-root.js +89 -0
  211. package/dist/components/eds-breadcrumb.js +3 -17
  212. package/dist/components/eds-button2.js +1 -1
  213. package/dist/components/eds-card-generic2.js +3 -15
  214. package/dist/components/eds-card-section.js +3 -19
  215. package/dist/components/eds-components-section.js +1 -1
  216. package/dist/components/eds-cookies-preference.js +1 -1
  217. package/dist/components/eds-docs-palettes.js +1 -1
  218. package/dist/components/eds-docs-tokens.js +1 -1
  219. package/dist/components/eds-dropdown2.js +8 -3
  220. package/dist/components/{eds-user-modal.d.ts → eds-feedback.d.ts} +4 -4
  221. package/dist/components/eds-feedback.js +105 -0
  222. package/dist/components/eds-footer2.js +1 -1
  223. package/dist/components/{eds-tab.d.ts → eds-form-v2.d.ts} +4 -4
  224. package/dist/{esm/eds-accordion_13.entry.js → components/eds-form-v2.js} +276 -854
  225. package/dist/components/eds-form.js +240 -255
  226. package/dist/components/eds-frame.js +33 -34
  227. package/dist/components/eds-fullscreen-menu.js +3 -28
  228. package/dist/components/eds-header.js +4 -20
  229. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  230. package/dist/components/eds-icon-arrow-right.js +1 -1
  231. package/dist/components/eds-icon-bluesky.js +1 -1
  232. package/dist/components/eds-icon-chevron-down.js +1 -1
  233. package/dist/components/eds-icon-chevron-left.js +1 -1
  234. package/dist/components/eds-icon-chevron-right.js +1 -1
  235. package/dist/components/eds-icon-chevron-up.js +1 -1
  236. package/dist/components/eds-icon-close.js +1 -1
  237. package/dist/components/eds-icon-copy.js +1 -1
  238. package/dist/components/eds-icon-eu.js +1 -1
  239. package/dist/components/eds-icon-facebook.js +1 -1
  240. package/dist/components/eds-icon-gitlab.js +1 -1
  241. package/dist/components/eds-icon-linkedin.js +1 -1
  242. package/dist/components/eds-icon-loader.js +1 -1
  243. package/dist/components/eds-icon-mastodon.js +1 -1
  244. package/dist/components/eds-icon-menu.js +1 -1
  245. package/dist/components/eds-icon-more.js +1 -1
  246. package/dist/components/eds-icon-search.js +1 -1
  247. package/dist/components/{eds-tabs-content.d.ts → eds-icon-star.d.ts} +4 -4
  248. package/dist/components/eds-icon-star.js +33 -0
  249. package/dist/components/eds-icon-success.js +1 -1
  250. package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
  251. package/dist/components/eds-icon-thumbs-down.js +33 -0
  252. package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
  253. package/dist/components/eds-icon-thumbs-up.js +33 -0
  254. package/dist/components/eds-icon-twitter.js +1 -1
  255. package/dist/components/eds-icon-user.js +1 -1
  256. package/dist/components/eds-icon-youtube.js +1 -1
  257. package/dist/components/eds-img2.js +2 -2
  258. package/dist/components/eds-input-field2.js +2 -2
  259. package/dist/components/eds-input-footer2.js +1 -1
  260. package/dist/components/eds-input-label2.js +1 -1
  261. package/dist/components/eds-input-range2.js +2 -2
  262. package/dist/components/eds-input-search2.js +24 -9
  263. package/dist/components/eds-input-select2.js +1 -1
  264. package/dist/components/eds-input2.js +2 -2
  265. package/dist/components/eds-link2.js +1 -1
  266. package/dist/components/eds-login.js +1 -118
  267. package/dist/{cjs/keycloak-93fc0315.js → components/eds-login2.js} +128 -7
  268. package/dist/components/eds-logo-variations.js +1 -1
  269. package/dist/components/eds-logo2.js +1 -1
  270. package/dist/components/eds-matomo-notice2.js +16 -13
  271. package/dist/components/eds-modal.js +15 -3
  272. package/dist/components/eds-pagination2.js +2 -2
  273. package/dist/components/eds-progress-bar2.js +1 -1
  274. package/dist/components/eds-rating.js +1 -84
  275. package/dist/components/eds-rating2.js +91 -0
  276. package/dist/components/eds-section-core2.js +1 -1
  277. package/dist/components/eds-section-heading2.js +2 -2
  278. package/dist/components/eds-social-networks2.js +1 -1
  279. package/dist/components/eds-spinner.d.ts +11 -0
  280. package/dist/components/eds-spinner.js +6 -0
  281. package/dist/components/eds-spinner2.js +72 -0
  282. package/dist/components/eds-splash-screen.d.ts +11 -0
  283. package/dist/components/eds-splash-screen.js +6 -0
  284. package/dist/components/eds-splash-screen2.js +78 -0
  285. package/dist/components/eds-steps.js +8 -18
  286. package/dist/components/eds-svg-repository.js +8 -2
  287. package/dist/components/eds-switch.js +2 -2
  288. package/dist/components/eds-table2.js +11 -8
  289. package/dist/components/eds-tabs.js +12 -31
  290. package/dist/components/eds-tag2.js +1 -1
  291. package/dist/components/eds-timeline.js +3 -21
  292. package/dist/components/eds-toast-manager.js +1 -1
  293. package/dist/components/eds-tooltip.js +1 -1
  294. package/dist/components/eds-trl.js +1 -1
  295. package/dist/components/eds-user.js +23 -105
  296. package/dist/components/eds-vertical-stepper.js +1 -1
  297. package/dist/components/formUtils.js +223 -0
  298. package/dist/components/incorrect-use-of-colors.js +1 -1
  299. package/dist/components/logo-space.js +1 -1
  300. package/dist/components/logo-variations-horizontal2.js +1 -1
  301. package/dist/components/logo-variations-vertical2.js +1 -1
  302. package/dist/components/logo-wrong-usage.js +1 -1
  303. package/dist/components/p-033480b2.entry.js +1 -0
  304. package/dist/components/{p-89f600a3.entry.js → p-0443ac40.entry.js} +1 -1
  305. package/dist/components/{p-a2621d66.entry.js → p-066f6d27.entry.js} +1 -1
  306. package/dist/components/p-0e0106fc.entry.js +1 -0
  307. package/dist/components/p-117d180f.entry.js +1 -0
  308. package/dist/components/p-20e9ae7f.entry.js +1 -0
  309. package/dist/components/{p-a535838c.entry.js → p-2354daeb.entry.js} +1 -1
  310. package/dist/components/{p-5097066f.entry.js → p-2b31ca60.entry.js} +1 -1
  311. package/dist/components/p-3368cfd5.entry.js +1 -0
  312. package/dist/components/p-33c5b937.entry.js +1 -0
  313. package/dist/components/p-3af94671.entry.js +1 -0
  314. package/dist/components/{p-b1af5000.entry.js → p-43350dff.entry.js} +2 -2
  315. package/dist/components/p-43b3579a.entry.js +1 -0
  316. package/dist/components/p-467fe746.entry.js +1 -0
  317. package/dist/components/p-46a6042d.entry.js +1 -0
  318. package/dist/components/p-4a860d5b.entry.js +1 -0
  319. package/dist/components/p-4ac27fe7.entry.js +1 -0
  320. package/dist/components/p-4b2e6f03.entry.js +1 -0
  321. package/dist/components/{p-b50c8d49.entry.js → p-4cd69983.entry.js} +1 -1
  322. package/dist/components/p-5520a3b6.entry.js +1 -0
  323. package/dist/components/p-552b6a50.entry.js +1 -0
  324. package/dist/components/p-56b4e0fe.entry.js +1 -0
  325. package/dist/components/{p-f36f2aeb.entry.js → p-56ec190f.entry.js} +1 -1
  326. package/dist/components/p-5aff1ea0.entry.js +1 -0
  327. package/dist/components/p-5c12a0df.entry.js +1 -0
  328. package/dist/components/{p-5ff31f14.entry.js → p-5e2216ae.entry.js} +1 -1
  329. package/dist/components/p-5e63e8a5.entry.js +1 -0
  330. package/dist/components/p-60e7e745.entry.js +1 -0
  331. package/dist/components/p-62f2f274.entry.js +1 -0
  332. package/dist/components/p-6404e157.entry.js +1 -0
  333. package/dist/components/p-69c5074b.js +1 -0
  334. package/dist/components/p-6fd0c3b3.entry.js +1 -0
  335. package/dist/components/p-77cc7c02.entry.js +1 -0
  336. package/dist/components/p-79c14cf1.entry.js +1 -0
  337. package/dist/components/{p-c034c395.entry.js → p-7dd81017.entry.js} +1 -1
  338. package/dist/components/p-7e0dd5d8.entry.js +1 -0
  339. package/dist/components/p-80dba155.js +1 -0
  340. package/dist/components/{p-b860b4aa.entry.js → p-8154d013.entry.js} +1 -1
  341. package/dist/components/p-86eed1b7.entry.js +1 -0
  342. package/dist/components/{p-d56d9dda.entry.js → p-8b70a350.entry.js} +1 -1
  343. package/dist/components/p-8e548691.entry.js +1 -0
  344. package/dist/components/p-90503a64.entry.js +1 -0
  345. package/dist/components/p-90f85604.entry.js +1 -0
  346. package/dist/components/p-94698510.entry.js +1 -0
  347. package/dist/components/p-950ecb1c.entry.js +1 -0
  348. package/dist/components/p-9b9fba38.entry.js +1 -0
  349. package/dist/components/p-9dc879c9.entry.js +1 -0
  350. package/dist/components/{p-b1de9a6c.entry.js → p-9eb2e870.entry.js} +1 -1
  351. package/dist/components/p-9ebc84d6.entry.js +1 -0
  352. package/dist/components/p-a56f0579.entry.js +1 -0
  353. package/dist/components/{p-88751c8b.entry.js → p-a5c61d1c.entry.js} +1 -1
  354. package/dist/components/p-a6cd418e.entry.js +1 -0
  355. package/dist/components/p-a8dd1953.entry.js +1 -0
  356. package/dist/components/{p-045681d7.entry.js → p-a91ab66e.entry.js} +1 -1
  357. package/dist/components/p-ab292dd5.entry.js +1 -0
  358. package/dist/components/p-ad746789.entry.js +1 -0
  359. package/dist/components/p-b80a9020.entry.js +1 -0
  360. package/dist/components/p-b8ba7e5c.entry.js +1 -0
  361. package/dist/components/p-ba720bf3.js +1 -0
  362. package/dist/components/p-c06d4f14.entry.js +1 -0
  363. package/dist/components/p-c12d9350.entry.js +1 -0
  364. package/dist/components/p-c3dda942.entry.js +1 -0
  365. package/dist/components/p-c6b32753.entry.js +1 -0
  366. package/dist/components/p-c776b6f8.js +1 -0
  367. package/dist/components/p-c935aa46.entry.js +1 -0
  368. package/dist/components/{p-7a8b9de5.js → p-cccacbd3.js} +2 -2
  369. package/dist/components/p-dbcf1f0e.entry.js +1 -0
  370. package/dist/components/p-dcc08064.entry.js +1 -0
  371. package/dist/components/p-dcd4de1f.entry.js +1 -0
  372. package/dist/components/p-e2d5a487.js +1 -0
  373. package/dist/components/p-e64cd6f7.entry.js +1 -0
  374. package/dist/components/p-e9a533e0.entry.js +1 -0
  375. package/dist/components/p-eac63c82.entry.js +1 -0
  376. package/dist/components/p-f5959676.entry.js +1 -0
  377. package/dist/components/{p-fad10768.entry.js → p-f905ac92.entry.js} +1 -1
  378. package/dist/components/p-fba4080d.entry.js +1 -0
  379. package/dist/components/p-fc619588.entry.js +1 -0
  380. package/dist/components/p-fcc32210.entry.js +1 -0
  381. package/dist/components/{p-81942665.entry.js → p-ff7acb55.entry.js} +1 -1
  382. package/dist/components/primary.js +1 -1
  383. package/dist/components/primary2.js +1 -1
  384. package/dist/components/secondary.js +1 -1
  385. package/dist/components/secondary2.js +7 -7
  386. package/dist/components/sharedUtils.js +19 -0
  387. package/dist/components/star.js +5 -0
  388. package/dist/components/support.js +1 -1
  389. package/dist/components/support2.js +3 -3
  390. package/dist/components/thumbs-down.js +5 -0
  391. package/dist/components/thumbs-up.js +6 -0
  392. package/dist/components/token-list2.js +1 -1
  393. package/dist/components/token-radii2.js +1 -1
  394. package/dist/components/token-ratios.js +1 -1
  395. package/dist/components/token-shadows2.js +1 -1
  396. package/dist/components/token-spacing.js +1 -1
  397. package/dist/components/token-typography.js +1 -1
  398. package/dist/eds/components.js +18 -0
  399. package/dist/eds/components.js.map +1 -0
  400. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  401. package/dist/esm/components.js +3 -3
  402. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  403. package/dist/esm/eds-accordion_22.entry.js +1934 -0
  404. package/dist/esm/eds-alert.entry.js +1 -1
  405. package/dist/esm/eds-app-root.entry.js +33 -0
  406. package/dist/esm/eds-avatar_4.entry.js +173 -0
  407. package/dist/esm/eds-breadcrumb.entry.js +4 -18
  408. package/dist/esm/eds-card-generic.entry.js +88 -0
  409. package/dist/esm/eds-card-project.entry.js +1 -1
  410. package/dist/esm/eds-card-section.entry.js +35 -0
  411. package/dist/esm/eds-card-tags.entry.js +1 -1
  412. package/dist/esm/eds-card-tool.entry.js +1 -1
  413. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  414. package/dist/esm/eds-code-block.entry.js +1 -1
  415. package/dist/esm/eds-components-section.entry.js +2 -2
  416. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  417. package/dist/esm/eds-docs-palettes.entry.js +2 -2
  418. package/dist/esm/eds-docs-tokens.entry.js +2 -2
  419. package/dist/esm/{eds-dropdown_2.entry.js → eds-dropdown.entry.js} +9 -41
  420. package/dist/esm/eds-feedback.entry.js +62 -0
  421. package/dist/esm/eds-form.entry.js +237 -254
  422. package/dist/esm/eds-frame.entry.js +32 -32
  423. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  424. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  425. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  426. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  427. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  428. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  429. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  430. package/dist/esm/eds-icon-close.entry.js +2 -2
  431. package/dist/esm/eds-icon-copy.entry.js +2 -2
  432. package/dist/esm/eds-icon-eu.entry.js +2 -2
  433. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  434. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  435. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  436. package/dist/esm/eds-icon-loader.entry.js +2 -2
  437. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  438. package/dist/esm/eds-icon-menu.entry.js +2 -2
  439. package/dist/esm/eds-icon-more.entry.js +2 -2
  440. package/dist/esm/eds-icon-search.entry.js +2 -2
  441. package/dist/esm/eds-icon-star.entry.js +14 -0
  442. package/dist/esm/eds-icon-success.entry.js +2 -2
  443. package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
  444. package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
  445. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  446. package/dist/esm/eds-icon-user.entry.js +2 -2
  447. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  448. package/dist/esm/{keycloak-d502ec16.js → eds-login_2.entry.js} +139 -1
  449. package/dist/esm/eds-logo-variations.entry.js +2 -2
  450. package/dist/esm/eds-modal.entry.js +15 -3
  451. package/dist/esm/eds-progress-bar.entry.js +2 -2
  452. package/dist/esm/eds-rating.entry.js +31 -25
  453. package/dist/esm/eds-section-core_2.entry.js +4 -4
  454. package/dist/esm/eds-spinner.entry.js +50 -0
  455. package/dist/esm/eds-steps.entry.js +9 -19
  456. package/dist/esm/eds-svg-repository.entry.js +9 -3
  457. package/dist/esm/eds-switch.entry.js +3 -3
  458. package/dist/esm/eds-tabs.entry.js +10 -24
  459. package/dist/esm/eds-timeline.entry.js +4 -22
  460. package/dist/esm/eds-toast-manager.entry.js +42 -0
  461. package/dist/esm/eds-toast.entry.js +72 -0
  462. package/dist/esm/eds-tooltip.entry.js +2 -2
  463. package/dist/esm/eds-trl.entry.js +2 -2
  464. package/dist/esm/eds-user.entry.js +9 -79
  465. package/dist/esm/eds-vertical-stepper.entry.js +2 -2
  466. package/dist/esm/formUtils-ac68474d.js +223 -0
  467. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  468. package/dist/esm/{index-e96badea.js → index-8a71b9a7.js} +51 -55
  469. package/dist/esm/loader.js +3 -3
  470. package/dist/esm/logo-space.entry.js +2 -2
  471. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  472. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  473. package/dist/esm/sharedUtils-a550989c.js +19 -0
  474. package/dist/esm/star-0da9b5e9.js +5 -0
  475. package/dist/esm/thumbs-down-a18fd049.js +5 -0
  476. package/dist/esm/thumbs-up-c19a71bc.js +6 -0
  477. package/dist/esm/token-list_3.entry.js +4 -4
  478. package/dist/esm/token-ratios.entry.js +2 -2
  479. package/dist/esm/token-spacing.entry.js +2 -2
  480. package/dist/esm/token-typography.entry.js +2 -2
  481. package/dist/hydrate/index.js +1353 -1001
  482. package/dist/hydrate/index.mjs +1353 -1001
  483. package/dist/stencil.config.js +26 -0
  484. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +4 -1
  485. package/dist/types/components/eds-accordion/eds-accordion.d.ts +3 -3
  486. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -0
  487. package/dist/types/components/eds-form/eds-form.d.ts +52 -20
  488. package/dist/types/components/eds-form-v2/eds-form-v2.d.ts +99 -0
  489. package/dist/types/components/eds-form-v2/eds-form-v2.stories.d.ts +27 -0
  490. package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +10 -0
  491. package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +10 -0
  492. package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +10 -0
  493. package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +6 -1
  494. package/dist/types/components/eds-modal/eds-modal.d.ts +8 -0
  495. package/dist/types/components/eds-pagination/eds-pagination.d.ts +1 -1
  496. package/dist/types/components/eds-rating/eds-rating.d.ts +19 -11
  497. package/dist/types/components/eds-rating/eds-rating.stories.d.ts +13 -27
  498. package/dist/types/components/eds-spinner/eds-spinner.d.ts +27 -0
  499. package/dist/types/components/eds-spinner/eds-spinner.stories.d.ts +42 -0
  500. package/dist/types/components/eds-steps/eds-steps.d.ts +1 -1
  501. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -0
  502. package/dist/types/components.d.ts +610 -321
  503. package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.d.ts +26 -6
  504. package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.stories.d.ts +8 -13
  505. package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +56 -0
  506. package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +77 -0
  507. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +0 -28
  508. package/dist/types/shared-ui/eds-login/eds-login.d.ts +12 -1
  509. package/dist/types/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.d.ts +5 -12
  510. package/dist/types/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.stories.d.ts +2 -1
  511. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +31 -0
  512. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.stories.d.ts +22 -0
  513. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +3 -3
  514. package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +5 -2
  515. package/dist/types/shared-ui/eds-toast-manager/eds-toast-manager.d.ts +3 -0
  516. package/dist/types/shared-ui/eds-user/eds-user.d.ts +12 -66
  517. package/dist/types/shared-ui/eds-user/eds-user.stories.d.ts +32 -0
  518. package/dist/types/shared-ui/examples/eds-app-root/eds-app-root.d.ts +9 -0
  519. package/dist/types/utils/api.d.ts +5 -0
  520. package/dist/types/utils/eds-form/formUtils.d.ts +38 -0
  521. package/dist/types/utils/eds-form/formValidators.d.ts +17 -0
  522. package/dist/types/utils/eds-form/individualValidator.d.ts +3 -0
  523. package/dist/types/utils/eds-form/validateInput.d.ts +10 -0
  524. package/dist/types/utils/sharedUtils.d.ts +1 -0
  525. package/package.json +3 -3
  526. package/dist/cjs/eds-accordion_13.cjs.entry.js +0 -911
  527. package/dist/cjs/eds-block-break.cjs.entry.js +0 -21
  528. package/dist/cjs/eds-footer.cjs.entry.js +0 -41
  529. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -100
  530. package/dist/cjs/eds-header.cjs.entry.js +0 -97
  531. package/dist/cjs/eds-input_7.cjs.entry.js +0 -324
  532. package/dist/cjs/eds-link.cjs.entry.js +0 -214
  533. package/dist/cjs/eds-login.cjs.entry.js +0 -91
  534. package/dist/cjs/eds-logo.cjs.entry.js +0 -78
  535. package/dist/cjs/eds-navigator.cjs.entry.js +0 -43
  536. package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -386
  537. package/dist/cjs/eds-social-networks.cjs.entry.js +0 -66
  538. package/dist/cjs/eds-tab.cjs.entry.js +0 -40
  539. package/dist/cjs/eds-tabs-content.cjs.entry.js +0 -133
  540. package/dist/collection/components/eds-frame/eds-frame.stories.js +0 -68
  541. package/dist/collection/components/eds-navigator/eds-navigator.js +0 -147
  542. package/dist/collection/components/eds-navigator/eds-navigator.stories.js +0 -101
  543. package/dist/collection/components/eds-tab/eds-tab.js +0 -109
  544. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +0 -194
  545. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.stories.js +0 -112
  546. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +0 -109
  547. package/dist/components/eds-navigator.js +0 -75
  548. package/dist/components/eds-tab.js +0 -6
  549. package/dist/components/eds-tab2.js +0 -55
  550. package/dist/components/eds-tabs-content.js +0 -159
  551. package/dist/components/eds-user-modal.js +0 -6
  552. package/dist/components/eds-user-modal2.js +0 -87
  553. package/dist/components/p-06299762.entry.js +0 -1
  554. package/dist/components/p-0a3b2576.entry.js +0 -1
  555. package/dist/components/p-0ab85eee.entry.js +0 -1
  556. package/dist/components/p-0e7bdd2c.entry.js +0 -1
  557. package/dist/components/p-10b81c47.entry.js +0 -1
  558. package/dist/components/p-1ae529f3.entry.js +0 -1
  559. package/dist/components/p-1ed3fdb7.entry.js +0 -1
  560. package/dist/components/p-21d42cf3.entry.js +0 -1
  561. package/dist/components/p-2831a9d5.entry.js +0 -1
  562. package/dist/components/p-2c00bd76.entry.js +0 -1
  563. package/dist/components/p-34a65e58.entry.js +0 -1
  564. package/dist/components/p-38d70586.entry.js +0 -1
  565. package/dist/components/p-3a7aa1eb.entry.js +0 -1
  566. package/dist/components/p-42d3c324.entry.js +0 -1
  567. package/dist/components/p-4a12a131.entry.js +0 -1
  568. package/dist/components/p-4b3fbd6d.entry.js +0 -1
  569. package/dist/components/p-4ea027ac.entry.js +0 -1
  570. package/dist/components/p-5980a142.entry.js +0 -1
  571. package/dist/components/p-599c7b97.entry.js +0 -1
  572. package/dist/components/p-5a2b8b6c.entry.js +0 -1
  573. package/dist/components/p-65703520.entry.js +0 -1
  574. package/dist/components/p-659ed449.entry.js +0 -1
  575. package/dist/components/p-6af40c33.entry.js +0 -1
  576. package/dist/components/p-6df9db15.entry.js +0 -1
  577. package/dist/components/p-759b2640.entry.js +0 -1
  578. package/dist/components/p-7b3b26b0.entry.js +0 -1
  579. package/dist/components/p-80a185ba.entry.js +0 -1
  580. package/dist/components/p-86fbc239.entry.js +0 -1
  581. package/dist/components/p-8c4a0fc9.entry.js +0 -1
  582. package/dist/components/p-8eab748d.js +0 -1
  583. package/dist/components/p-911d9b37.entry.js +0 -1
  584. package/dist/components/p-9579f9c2.entry.js +0 -1
  585. package/dist/components/p-96fe2267.entry.js +0 -1
  586. package/dist/components/p-9739def5.entry.js +0 -1
  587. package/dist/components/p-9b441a1f.entry.js +0 -1
  588. package/dist/components/p-a5b7d72d.entry.js +0 -1
  589. package/dist/components/p-a5d00633.entry.js +0 -1
  590. package/dist/components/p-a63bd0c9.entry.js +0 -1
  591. package/dist/components/p-a846dbca.entry.js +0 -1
  592. package/dist/components/p-a927a455.entry.js +0 -1
  593. package/dist/components/p-aec9b8e1.entry.js +0 -1
  594. package/dist/components/p-b3c1aef5.entry.js +0 -1
  595. package/dist/components/p-b60ed774.entry.js +0 -1
  596. package/dist/components/p-b67aafe7.entry.js +0 -1
  597. package/dist/components/p-b79999d5.entry.js +0 -1
  598. package/dist/components/p-b80457ed.entry.js +0 -1
  599. package/dist/components/p-bd43d83c.entry.js +0 -1
  600. package/dist/components/p-c5fa170d.entry.js +0 -1
  601. package/dist/components/p-c683be2c.entry.js +0 -1
  602. package/dist/components/p-d2a0b896.entry.js +0 -1
  603. package/dist/components/p-d5850ab3.entry.js +0 -1
  604. package/dist/components/p-de12396f.entry.js +0 -1
  605. package/dist/components/p-de2fbcfc.entry.js +0 -1
  606. package/dist/components/p-e2c250c5.entry.js +0 -1
  607. package/dist/components/p-e334f5bc.entry.js +0 -1
  608. package/dist/components/p-f1cd83da.entry.js +0 -1
  609. package/dist/components/p-f5dafbc8.entry.js +0 -1
  610. package/dist/components/p-f7493f41.entry.js +0 -1
  611. package/dist/components/p-fce25541.entry.js +0 -1
  612. package/dist/esm/eds-block-break.entry.js +0 -17
  613. package/dist/esm/eds-footer.entry.js +0 -37
  614. package/dist/esm/eds-fullscreen-menu.entry.js +0 -96
  615. package/dist/esm/eds-header.entry.js +0 -93
  616. package/dist/esm/eds-input_7.entry.js +0 -314
  617. package/dist/esm/eds-link.entry.js +0 -210
  618. package/dist/esm/eds-login.entry.js +0 -87
  619. package/dist/esm/eds-logo.entry.js +0 -74
  620. package/dist/esm/eds-navigator.entry.js +0 -39
  621. package/dist/esm/eds-pagination_2.entry.js +0 -381
  622. package/dist/esm/eds-social-networks.entry.js +0 -62
  623. package/dist/esm/eds-tab.entry.js +0 -36
  624. package/dist/esm/eds-tabs-content.entry.js +0 -129
  625. package/dist/types/components/eds-navigator/eds-navigator.d.ts +0 -42
  626. package/dist/types/components/eds-navigator/eds-navigator.stories.d.ts +0 -46
  627. package/dist/types/components/eds-tab/eds-tab.d.ts +0 -15
  628. package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.d.ts +0 -36
  629. package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.stories.d.ts +0 -16
  630. package/dist/types/shared-ui/eds-user-modal/eds-user-modal.d.ts +0 -47
  631. /package/dist/collection/{components → shared-ui}/eds-matomo-notice/eds-matomo-notice.css +0 -0
@@ -1,3 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2f63169d.js');
6
+ const toastManager = require('./toastManager-4e9535f3.js');
7
+
1
8
  /*
2
9
  * Copyright 2016 Red Hat, Inc. and/or its affiliates
3
10
  * and other contributors as indicated by the @author tags.
@@ -1945,4 +1952,140 @@ async function checkServerAvailability(url) {
1945
1952
  }
1946
1953
  }
1947
1954
 
1948
- export { logout as a, isAuthenticated as b, checkServerAvailability as c, getUser as g, initKeycloak as i, login as l };
1955
+ const EdsLogin = class {
1956
+ constructor(hostRef) {
1957
+ index.registerInstance(this, hostRef);
1958
+ this.keycloak = index.createEvent(this, "keycloak", 7);
1959
+ this.auth = index.createEvent(this, "auth", 7);
1960
+ /**
1961
+ * Handles user login by invoking the Keycloak `login` function.
1962
+ * Only triggers login if the user is not already authenticated.
1963
+ */
1964
+ this.handleLogin = async () => {
1965
+ if (!this.authenticated) {
1966
+ try {
1967
+ await login();
1968
+ }
1969
+ catch (error) {
1970
+ toastManager.toast.show(error.message, 'error');
1971
+ }
1972
+ }
1973
+ };
1974
+ /**
1975
+ * Handles user logout by invoking the Keycloak `logout` function.
1976
+ * Resets the `authenticated` state to `false` after logout.
1977
+ */
1978
+ this.handleLogout = async () => {
1979
+ try {
1980
+ await logout();
1981
+ }
1982
+ catch (error) {
1983
+ toastManager.toast.show(error.message, 'error');
1984
+ }
1985
+ this.authenticated = false;
1986
+ this.user = null;
1987
+ };
1988
+ this.keycloakUrl = undefined;
1989
+ this.keycloakRealm = undefined;
1990
+ this.keycloakClientId = undefined;
1991
+ this.authenticated = false;
1992
+ this.user = null;
1993
+ this.serverAvailable = false;
1994
+ }
1995
+ /**
1996
+ * Lifecycle method that runs when the component is about to load.
1997
+ * It initializes authentication by calling the `initAuth` method.
1998
+ */
1999
+ async componentWillLoad() {
2000
+ // Check if required props are provided (optional check)
2001
+ if (!this.keycloakUrl || !this.keycloakRealm || !this.keycloakClientId) {
2002
+ // eslint-disable-next-line
2003
+ console.error('Keycloak configuration props are missing.');
2004
+ return;
2005
+ }
2006
+ this.serverAvailable = await checkServerAvailability(`${this.keycloakUrl}/realms/${this.keycloakRealm}`);
2007
+ if (!this.serverAvailable) {
2008
+ toastManager.toast.show('Keycloak server is unavailable.', 'error');
2009
+ return; // Do not proceed further
2010
+ }
2011
+ await this.initAuth();
2012
+ }
2013
+ /**
2014
+ * Initializes the Keycloak authentication by configuring Keycloak with the provided props.
2015
+ * Sets the `authenticated` state and `user` data if the user is authenticated.
2016
+ * Emits `authStatusChanged` event with the authentication status.
2017
+ */
2018
+ async initAuth() {
2019
+ try {
2020
+ const res = await initKeycloak({
2021
+ url: this.keycloakUrl,
2022
+ realm: this.keycloakRealm,
2023
+ clientId: this.keycloakClientId
2024
+ }, true);
2025
+ this.keycloak.emit({
2026
+ init: res
2027
+ });
2028
+ if (isAuthenticated()) {
2029
+ this.user = getUser();
2030
+ this.authenticated = true;
2031
+ this.auth.emit({
2032
+ authenticated: this.authenticated,
2033
+ user: this.user
2034
+ }); // Emit auth status change
2035
+ }
2036
+ }
2037
+ catch (error) {
2038
+ toastManager.toast.show(error.message, 'error');
2039
+ }
2040
+ }
2041
+ render() {
2042
+ return (index.h("div", { key: '074566b791eeb9ea4a0558b4ed83a96e4b673356', class: "block" }, !this.authenticated && (index.h("eds-button", { key: '3a05ff97a90d73204eb77c5dad0d328294d72d3e', label: "Login", intent: "primary", "extra-class": "text-default", "aria-label": "Login", triggerClick: this.handleLogin.bind(this) }))));
2043
+ }
2044
+ };
2045
+
2046
+ const edsSplashScreenCss = ".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:200px;height:200px;margin-bottom:1rem}.content-container{position:relative;width:5rem;height:5rem;display:flex;align-items:center;justify-content:center}";
2047
+ const EdsSplashScreenStyle0 = edsSplashScreenCss;
2048
+
2049
+ const EdsSplashScreen = class {
2050
+ constructor(hostRef) {
2051
+ index.registerInstance(this, hostRef);
2052
+ this.splash = index.createEvent(this, "splash", 7);
2053
+ this.inverse = false;
2054
+ this.initPromise = undefined;
2055
+ this.isVisible = true;
2056
+ }
2057
+ componentWillLoad() {
2058
+ // If an initialization promise is provided, wait for it.
2059
+ if (this.initPromise) {
2060
+ this.initPromise
2061
+ .then(() => {
2062
+ // eslint-disable-next-line
2063
+ console.log('Promises resolved');
2064
+ this.hideSplash();
2065
+ })
2066
+ .catch((error) => {
2067
+ // eslint-disable-next-line
2068
+ console.error('Initialization error:', error);
2069
+ this.splash.emit({ type: 'error', message: error.message || 'Unknown error' });
2070
+ //this.hideSplash();
2071
+ });
2072
+ }
2073
+ }
2074
+ handleHideSplash() {
2075
+ this.hideSplash();
2076
+ }
2077
+ hideSplash() {
2078
+ this.isVisible = false;
2079
+ this.splash.emit({ type: 'hidden', message: 'Splash screen hidden successfully' });
2080
+ }
2081
+ render() {
2082
+ if (!this.isVisible) {
2083
+ return null;
2084
+ }
2085
+ return (index.h(index.Host, null, index.h("div", { class: "splash-overlay", style: { background: this.inverse ? 'black' : 'var(--grey-200)' } }, index.h("div", { class: "logo-container" }, this.inverse ? (index.h("eds-logo", { orientation: "vertical", type: "color-white" })) : (index.h("eds-logo", { orientation: "vertical", type: "color" }))), index.h("div", { class: "content-container" }, index.h("eds-spinner", { size: "1rem", thickness: "3px", "border-color": "var(--grey-400)", "bottom-color": "var(--grey-900)", background: "none", fullscreen: false })))));
2086
+ }
2087
+ };
2088
+ EdsSplashScreen.style = EdsSplashScreenStyle0;
2089
+
2090
+ exports.eds_login = EdsLogin;
2091
+ exports.eds_splash_screen = EdsSplashScreen;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
 
7
7
  const EdsLogoVariations = class {
8
8
  constructor(hostRef) {
@@ -20,7 +20,7 @@ const EdsLogoVariations = class {
20
20
  }
21
21
  }
22
22
  render() {
23
- return index.h("div", { key: '0494cbb3e7b4902e91a0c78c691bc3405b9f11cc', class: "container" }, this.renderContent());
23
+ return index.h("div", { key: '0b23fee608fcbe7059fce155bd65a0c0a4d16e07', class: "container" }, this.renderContent());
24
24
  }
25
25
  };
26
26
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
  const analytics = require('./analytics-d8fb3fdd.js');
7
7
 
8
8
  const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-20{top:1.25rem}.bottom-20{bottom:1.25rem}.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))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}";
@@ -75,6 +75,18 @@ const EdsModal = class {
75
75
  async toggle() {
76
76
  this.isOpen = !this.isOpen;
77
77
  }
78
+ /**
79
+ * Listens for global custom events to open the modal.
80
+ */
81
+ handleGlobalOpen() {
82
+ this.open();
83
+ }
84
+ /**
85
+ * Listens for global custom events to close the modal.
86
+ */
87
+ handleGlobalClose() {
88
+ this.close();
89
+ }
78
90
  /**
79
91
  * Closes the modal when the Escape key is pressed.
80
92
  */
@@ -86,9 +98,9 @@ const EdsModal = class {
86
98
  render() {
87
99
  // Generate a unique id for the title so we can reference it for aria-labelledby.
88
100
  const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
89
- return (index.h("div", { key: 'cd976fb0cd0c0663279dcd4dbd5823e26b6c32f7', class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-50 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (index.h("div", { key: '40a2febed5d0ec15d5370183c97cfd05abd72007', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
101
+ return (index.h("div", { key: '980f396b79c32a36005b5f7813cc52b2e97457fa', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-50 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (index.h("div", { key: 'a2e4bb022c17c66266809f1a8dd706523a6ff07b', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
90
102
  ,
91
- onClick: () => this.close() })), index.h("div", { key: '50f2c23d80a2007aca4d0a8911816141e43b71ee', class: `max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center` }, index.h("div", { key: 'e1cba5879bc488a99b896c48c8a780336b2195e7', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, index.h("span", { key: '8f018e3d2890346d23e7dcb115676051048bcacb', id: titleId, class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.title), index.h("eds-button", { key: '4ae4013dd45573648817ac95ee4370ed615aa6a0', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), index.h("div", { key: 'ac4e3d8f273d04ad02e0123c23b36b89bfc89db2', class: "pt-8" }, index.h("slot", { key: '60917e9f750bfd7948e580acc817cffe6424608a' })))));
103
+ onClick: () => this.close() })), index.h("div", { key: '53c0c2a9559a6a5116f88caa2a7d92810560521e', class: `container max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center` }, index.h("div", { key: '576b58f6bd78a969436c6a892f4dfec84a486cc4', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, index.h("span", { key: '63e682d4297a346426dc7559cf0d80e21cc51f4c', id: titleId, class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.title), index.h("eds-button", { key: 'eed35b30903d65694f2944431e7f387a8ef3f3e9', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), index.h("div", { key: '6c6e673640ed2ef2ae6139ae1931a4b0a0db9aa9', class: "pt-8" }, index.h("slot", { key: 'eaaf2c17470681dc799b74f5eaebbe2496564c0e' })))));
92
104
  }
93
105
  get el() { return index.getElement(this); }
94
106
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
 
7
7
  const edsProgressBarCss = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}";
8
8
  const EdsProgressBarStyle0 = edsProgressBarCss;
@@ -21,7 +21,7 @@ const EdsProgressBar = class {
21
21
  }
22
22
  render() {
23
23
  const progressValue = this.value;
24
- return (index.h("div", { key: '0f47fedbf9d44887f65b399e184215f0937b1df1', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, index.h("div", { key: 'a2d095d778842c969832ea6b1ba7f7ef917d1390', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
24
+ return (index.h("div", { key: '9a7fa42058034305b22818d464e7b633d7831d67', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, index.h("div", { key: '90b0ac9a538b575a30163c0dbbf437e1cfe8ce39', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
25
25
  }
26
26
  };
27
27
  EdsProgressBar.style = EdsProgressBarStyle0;
@@ -2,37 +2,43 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
 
7
- const edsRatingCss = ":host{display:inline-block;font-size:2rem}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}";
7
+ const edsRatingCss = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}";
8
8
  const EdsRatingStyle0 = edsRatingCss;
9
9
 
10
10
  const EdsRating = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
- this.ratingChange = index.createEvent(this, "ratingChange", 7);
14
- this.stars = 5;
15
- this.label = 'Rate your experience';
16
- this.textMapping = ['Very Poor', 'Poor', 'Average', 'Good', 'Excellent'];
13
+ this.rating = index.createEvent(this, "rating", 7);
14
+ this.ratingType = 'star';
15
+ this.ratingCount = 5;
17
16
  this.selectedRating = 0;
18
17
  }
19
18
  /**
20
- * Parses the `textMapping` prop into an array of strings.
19
+ * Lifecycle method that runs when the component has fully loaded.
20
+ * It emits a custom event for each `eds-button` element contained within the breadcrumb.
21
21
  */
22
- get parsedMappings() {
23
- if (typeof this.textMapping === 'object') {
24
- return this.textMapping;
25
- }
26
- else if (typeof this.textMapping === 'string') {
27
- try {
28
- return JSON.parse(this.textMapping);
29
- }
30
- catch (e) {
31
- //console.error('Error parsing textMapping prop:', e);
32
- return [];
22
+ componentDidLoad() {
23
+ const btns = this.el.shadowRoot.querySelectorAll('eds-button');
24
+ btns.forEach((btn) => {
25
+ this.emitContext(btn);
26
+ });
27
+ }
28
+ /**
29
+ * Emits a custom event called `parentContext` for a given link element.
30
+ * This event provides context information about the breadcrumb component.
31
+ *
32
+ * @param btnElement - The link element to which the event will be dispatched.
33
+ */
34
+ emitContext(btnElement) {
35
+ const event = new CustomEvent('parentContext', {
36
+ detail: {
37
+ componentName: this.el.tagName.toLowerCase(),
38
+ identifier: this.selectedRating
33
39
  }
34
- }
35
- return [];
40
+ });
41
+ btnElement.dispatchEvent(event);
36
42
  }
37
43
  /**
38
44
  * Handles the click event on a star.
@@ -40,18 +46,18 @@ const EdsRating = class {
40
46
  */
41
47
  handleClick(rating) {
42
48
  this.selectedRating = rating;
43
- this.ratingChange.emit(rating);
49
+ this.rating.emit(rating);
44
50
  }
45
51
  render() {
46
- return (index.h("div", { key: 'b613863ad54ae9b381a5741bce4b188eff806ef0', class: "relative w-full flex flex-col" }, index.h("span", { key: 'f35cef9c3691aab73995e2ca6e2554cc19bae837', class: "f-heading-05" }, this.label), index.h("div", { key: '37082eb4bbadf5c211c197f3f81501d0b0e61404', role: "radiogroup", "aria-label": this.label, class: "stars flex space-x-2" }, Array.from({ length: this.stars }, (_, index$1) => {
52
+ return (index.h("div", { key: '2ab4f3dbc4cc3dd5272143e99c67b23086b03e18', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index$1) => {
47
53
  const starRating = index$1 + 1;
48
54
  const isSelected = starRating <= this.selectedRating;
49
55
  // Use the mapping text if available; otherwise, fall back to a generic label.
50
- const mappingText = this.parsedMappings[starRating - 1] || `Rating ${starRating}`;
51
- return (index.h("eds-button", { label: "\u2605", role: "radio", "aria-checked": isSelected ? 'true' : 'false', "aria-label": mappingText, onClick: () => this.handleClick(starRating), tabIndex: this.selectedRating === 0 && index$1 === 0 ? 0 : isSelected ? 0 : -1, intent: isSelected ? 'primary' : 'ghost', size: "small", "extra-class": "p-2" // Optional padding or styling for the star button
56
+ return (index.h("eds-button", { icon: this.ratingType, role: "radio", "aria-checked": isSelected ? 'true' : 'false', "aria-label": this.ratingType, onClick: () => this.handleClick(starRating), tabIndex: this.selectedRating === 0 && index$1 === 0 ? 0 : isSelected ? 0 : -1, intent: isSelected ? 'primary' : 'ghost', size: "large", "extra-class": "p-2" // Optional padding or styling for the star button
52
57
  }));
53
- })), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (index.h("span", { key: '61b4b92e476cfa0dd9bf405cb080dedd995ff9c6', class: "f-ui-04 text-lighter mt-4" }, this.parsedMappings[this.selectedRating - 1]))));
58
+ })));
54
59
  }
60
+ get el() { return index.getElement(this); }
55
61
  };
56
62
  EdsRating.style = EdsRatingStyle0;
57
63
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
 
7
7
  const edsSectionCoreCss = "";
8
8
  const EdsSectionCoreStyle0 = edsSectionCoreCss;
@@ -16,7 +16,7 @@ const EdsSectionCore = class {
16
16
  }
17
17
  render() {
18
18
  const TagType = this.tag; // Set dynamic tag type (div or section)
19
- return (index.h(TagType, { key: 'e7ef9e7a589d8cde8aa54d73dff8421d74a7d0ac' }, index.h("eds-section-heading", { key: '379c6bc644612d3e0865ce2acd8eacb4d67c7769', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), index.h("slot", { key: '5828a28c2c8ac65fbc56652f733f148a0d0198b7' })));
19
+ return (index.h(TagType, { key: '39c4280156ca46b83538de499baa9b152360b1b4' }, index.h("eds-section-heading", { key: '34da742e606f0e9bb485faac8aba1519eccc8934', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), index.h("slot", { key: '517b8ecc112565e8c6bb0bf85b02525deaa6f9df' })));
20
20
  }
21
21
  };
22
22
  EdsSectionCore.style = EdsSectionCoreStyle0;
@@ -46,12 +46,12 @@ const EdsSectionHeading = class {
46
46
  render() {
47
47
  const TagType = this.tag; // Dynamically set tag type for the container
48
48
  const HeadingTag = this.headingLevel; // Dynamically set heading level
49
- return (index.h(TagType, { key: 'c15f83f8aaa4fb01c884fb1390965fcf9dbd61fb', class: {
49
+ return (index.h(TagType, { key: '766d3f317904f2d735b7b531cf6ad582f22084e3', class: {
50
50
  'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8 pb-20': true,
51
51
  container: this.withContainer,
52
52
  'pt-48': this.spacingLarge,
53
53
  'pt-28': !this.spacingLarge
54
- } }, index.h(HeadingTag, { key: 'e65e13820553eefa5aec8bc9740e5e9da828ac92', class: this.getHeadingClass() }, this.sectionTitle)));
54
+ } }, index.h(HeadingTag, { key: '41a9db3f627cf93f58d14cdebf3b991be6a6facf', class: this.getHeadingClass() }, this.sectionTitle)));
55
55
  }
56
56
  };
57
57
 
@@ -0,0 +1,54 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2f63169d.js');
6
+
7
+ const edsSpinnerCss = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}";
8
+ const EdsSpinnerStyle0 = edsSpinnerCss;
9
+
10
+ const EdsSpinner = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.size = '1rem';
14
+ this.thickness = '10px';
15
+ this.borderColor = 'var(--grey-400)';
16
+ this.bottomColor = 'var(--grey-900)';
17
+ this.background = 'var(--grey-200)';
18
+ this.fullscreen = false;
19
+ }
20
+ render() {
21
+ const spinnerStyle = Object.assign({ width: this.size, height: this.size, border: `${this.thickness} solid ${this.borderColor}`, borderBottomColor: this.bottomColor }, (!this.fullscreen && { display: 'inline-block' }));
22
+ // Overlay style: use fixed positioning for fullscreen,
23
+ // and absolute positioning for inline mode.
24
+ const overlayStyle = this.fullscreen
25
+ ? {
26
+ position: 'fixed',
27
+ top: '0',
28
+ left: '0',
29
+ width: '100vw',
30
+ height: '100vh',
31
+ zIndex: '9999999',
32
+ backgroundColor: this.background,
33
+ display: 'flex',
34
+ alignItems: 'center',
35
+ justifyContent: 'center'
36
+ }
37
+ : {
38
+ position: 'absolute',
39
+ top: '0',
40
+ left: '0',
41
+ width: '100%',
42
+ height: '100%',
43
+ zIndex: '1000',
44
+ backgroundColor: this.background,
45
+ display: 'flex',
46
+ alignItems: 'center',
47
+ justifyContent: 'center'
48
+ };
49
+ return (index.h(index.Host, { key: '1e1e4ea2734fff8a680e55ca5163e69d2000a55d' }, index.h("div", { key: 'acf09f69d43404f317240c0d24e644ec0d046cd7', class: "spinner-overlay", style: overlayStyle }, index.h("span", { key: '3728629fdff738a0b753cd499dc26052b1e3cb7b', class: "spinner", style: spinnerStyle }))));
50
+ }
51
+ };
52
+ EdsSpinner.style = EdsSpinnerStyle0;
53
+
54
+ exports.eds_spinner = EdsSpinner;
@@ -2,23 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
+ const sharedUtils = require('./sharedUtils-8e287250.js');
6
7
 
7
- const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}";
8
+ const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}";
8
9
  const EdsStepsStyle0 = edsStepsCss;
9
10
 
10
11
  const EdsSteps = class {
11
12
  constructor(hostRef) {
12
13
  index.registerInstance(this, hostRef);
13
- this.stepClick = index.createEvent(this, "stepClick", 7);
14
+ this.step = index.createEvent(this, "step", 7);
14
15
  this.handleNext = () => {
16
+ this.activeStep = this.activeStep + 1;
15
17
  if (this.activeStep < this.parsedSteps.length) {
16
- this.activeStep = this.activeStep + 1;
18
+ this.step.emit(this.activeStep);
17
19
  }
18
20
  };
19
21
  this.handleBack = () => {
20
22
  if (this.activeStep > 0) {
21
23
  this.activeStep = this.activeStep - 1;
24
+ this.step.emit(this.activeStep);
22
25
  }
23
26
  };
24
27
  this.steps = [];
@@ -26,7 +29,7 @@ const EdsSteps = class {
26
29
  this.activeStep = 0;
27
30
  }
28
31
  handleStepClick(index) {
29
- this.stepClick.emit(index);
32
+ this.step.emit(index);
30
33
  // In linear mode, update the active step on header click.
31
34
  if (this.type === 'linear') {
32
35
  this.activeStep = index;
@@ -36,21 +39,8 @@ const EdsSteps = class {
36
39
  * Parse the JSON string into an array of steps.
37
40
  */
38
41
  get parsedSteps() {
39
- if (typeof this.steps === 'string') {
40
- try {
41
- const stepsStr = this.steps;
42
- return JSON.parse(stepsStr);
43
- }
44
- catch (error) {
45
- //console.error('Invalid steps JSON', error);
46
- return [];
47
- }
48
- }
49
- return this.steps;
42
+ return sharedUtils.parseData(this.steps);
50
43
  }
51
- /*private handleReset = () => {
52
- this.activeStep = 0;
53
- };*/
54
44
  render() {
55
45
  const steps = this.parsedSteps;
56
46
  if (this.type === 'linear') {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
  const eu = require('./eu-b9665157.js');
7
7
  const logoColor = require('./logo-color-6c787ac1.js');
8
8
  const logoWhiteNoBg = require('./logo-white-no-bg-4a0e0f4b.js');
@@ -28,6 +28,9 @@ const menu = require('./menu-7050a6d1.js');
28
28
  const more = require('./more-1d3dd8bc.js');
29
29
  const user = require('./user-a3c2230f.js');
30
30
  const copy = require('./copy-53102d0c.js');
31
+ const thumbsUp = require('./thumbs-up-411babb8.js');
32
+ const thumbsDown = require('./thumbs-down-714036b1.js');
33
+ const star = require('./star-942eee9f.js');
31
34
 
32
35
  const color = ` <svg width="20" height="20" viewBox="0 0 36 36">
33
36
  <path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>
@@ -290,7 +293,10 @@ const svgs = /*#__PURE__*/Object.freeze({
290
293
  search: search.search,
291
294
  success: success.success,
292
295
  warning: warning,
293
- unknown: unknown
296
+ unknown: unknown,
297
+ thumbsUp: thumbsUp.thumbsUp,
298
+ thumbsDown: thumbsDown.thumbsDown,
299
+ star: star.star
294
300
  });
295
301
 
296
302
  const EdsSvgRepository = class {
@@ -318,7 +324,7 @@ const EdsSvgRepository = class {
318
324
  icon: { format: 'svg' },
319
325
  name: { format: 'bold' }
320
326
  };
321
- return (index.h("eds-table", { key: 'a7d7fa426da72e174880a300202390c1016b74df', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true, "host-width": this.hostWidth }));
327
+ return (index.h("eds-table", { key: 'e4c454638f02e043a5ad466ee95558be8723d214', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true, "host-width": this.hostWidth }));
322
328
  }
323
329
  get hostEl() { return index.getElement(this); }
324
330
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-f08e4f5c.js');
5
+ const index = require('./index-2f63169d.js');
6
6
 
7
7
  const edsSwitchCss = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}";
8
8
  const EdsSwitchStyle0 = edsSwitchCss;
@@ -26,11 +26,11 @@ const EdsSwitch = class {
26
26
  render() {
27
27
  // Compute an accessible name based on state.
28
28
  const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
29
- return (index.h("div", { key: 'd4c727cbb562921b2bcba269e84f25c359c7061b', class: "switch-container" }, this.labelOff && index.h("span", { key: '90b18fff27bd21501466deb5879e5fe6ff607043', class: "switch-label switch-label--off" }, this.labelOff), index.h("button", { key: '8675f5d9f972d3932710fa7f9b28f74f95a83003', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
29
+ return (index.h("div", { key: '624776d666ada7b31cb8e84b08380b888451b1a5', class: "switch-container" }, this.labelOff && index.h("span", { key: 'ced31e91b88f4cb032744bd846811dd012cb9dcd', class: "switch-label switch-label--off" }, this.labelOff), index.h("button", { key: '8cb4594687313076f18f30fc26062e1440ae0ab9', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
30
30
  switch: true,
31
31
  'switch--checked': this.checked,
32
32
  'switch--disabled': this.disabled
33
- }, onClick: this.toggleSwitch, disabled: this.disabled }, index.h("span", { key: '26aa30a01b10419c1665b1fd58b5696a02d1504a', class: "switch-handle" })), this.labelOn && index.h("span", { key: '3680d67555e9193a97e129c0639b411263e070a8', class: "switch-label switch-label--on" }, this.labelOn)));
33
+ }, onClick: this.toggleSwitch, disabled: this.disabled }, index.h("span", { key: '88897b4368c337ea2dc4a017a8503171117a2070', class: "switch-handle" })), this.labelOn && index.h("span", { key: 'bb66f4fd1d09935598d3e9485d3cdf28e182620e', class: "switch-label switch-label--on" }, this.labelOn)));
34
34
  }
35
35
  };
36
36
  EdsSwitch.style = EdsSwitchStyle0;