@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
@@ -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 index$1 = require('./index-ab9fbefe.js');
7
7
 
8
8
  const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*, ::before, ::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n::before,\n::after {\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n:root {\n --inner-gutter: 8px;\n}\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n:root {\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n@media (min-width: 750px) {\n :root {\n}\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n@media (min-width: 1024px) {\n :root {\n}\n}\n.f-ui-01 b, .f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n@media (min-width: 750px) {\n .md\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-x-0 > *::before {\n content: none;\n }\n .md\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n@media (min-width: 900px) {\n .lg\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-x-0 > *::before {\n content: none;\n }\n .lg\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1 );\n }\n\n &::after {\n content: '';\n }\n}\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n.w-full {\n width: 100%;\n}\n.flex-row {\n flex-direction: row;\n}\n.items-center {\n align-items: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n.rounded-lg {\n border-radius: 16px;\n}\n.bg-dark {\n background-color: var(--grey-300);\n}\n.bg-error {\n background-color: var(--red-200);\n}\n.bg-success {\n background-color: var(--green-200);\n}\n.bg-warning {\n background-color: var(--yellow-200);\n}\n.p-16 {\n padding: 1rem;\n}\n.p-20 {\n padding: 1.25rem;\n}\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.pr-12 {\n padding-right: 0.75rem;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n[class*=underline-] {\n text-decoration-line: underline;\n}\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05 );\n}\n";
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2f63169d.js');
6
+
7
+ const EdsAppRoot = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.isAuthenticated = false;
11
+ }
12
+ componentWillLoad() {
13
+ // Create a promise for the initKeycloak event.
14
+ const initKeycloakPromise = new Promise((resolve) => {
15
+ document.addEventListener('initKeycloak', (event) => {
16
+ //console.log('initKeycloak event received:', event.detail);
17
+ resolve(event.detail);
18
+ }, { once: true });
19
+ });
20
+ // Create a promise for the authStatusChanged event.
21
+ const authStatusPromise = new Promise((resolve) => {
22
+ document.addEventListener('authStatusChanged', (event) => {
23
+ var _a;
24
+ this.isAuthenticated = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.authenticated;
25
+ //console.log('authStatusChanged event received:', event.detail);
26
+ resolve(event.detail);
27
+ }, { once: true });
28
+ });
29
+ // Combine both promises. The splash screen will hide only when both have resolved.
30
+ this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
31
+ }
32
+ render() {
33
+ return (index.h("div", { key: 'f7ff644cea84bfc78190afcfa33f1f6d6c6de29a' }, index.h("eds-splash-screen", { key: '5e04f163eafe8f0d55394b8f508386bac013907e', inverse: true, initPromise: this.combinedInitPromise }), index.h("eds-login", { key: '94c9dc0546e48fe8f9e6fc17fde9dcbf75fbe3bc', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), index.h("main", { key: '975cfb32924ecf0a4bb7d8f4788792eae500e166' }, this.isAuthenticated ? index.h("h1", null, "Welcome, authenticated user!") : index.h("h1", null, "Please log in."))));
34
+ }
35
+ };
36
+
37
+ exports.eds_app_root = EdsAppRoot;
@@ -0,0 +1,180 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2f63169d.js');
6
+ const color = require('./color-c00146a8.js');
7
+ const index$1 = require('./index-ab9fbefe.js');
8
+
9
+ const edsAvatarCss = ".border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border: 2px solid rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px;\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-inverse {\n &::after {\n border: 2px solid rgba(255, 255, 255, 0.3);\n }\n\n &::after {\n content: '';\n }\n}\n\n.aspect-1x1 {\n aspect-ratio: 1/1;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.px-4 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.rounded-pill {\n border-radius: 100px;\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xs {\n border-radius: 4px;\n}\n\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-darker {\n background-color: var(--grey-400);\n}\n\n.bg-stronger {\n background-color: var(--grey-900);\n}\n\n.bg-strongest {\n background-color: var(--black);\n}\n\n.text-accent {\n color: var(--green-500);\n}\n\n.text-default {\n color: var(--black);\n}\n\n.\\!no-underline {\n text-decoration-line: none !important;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.w-32 {\n width: 2rem;\n}\n\n.w-44 {\n width: 2.75rem;\n}\n\n.w-\\[54px\\] {\n width: 54px;\n}";
10
+ const EdsAvatarStyle0 = edsAvatarCss;
11
+
12
+ const EdsAvatar = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.firstName = 'User';
16
+ this.lastName = 'Avatar';
17
+ this.picture = undefined;
18
+ this.initials = undefined;
19
+ this.color = undefined;
20
+ this.rounded = false;
21
+ this.initialsStrong = false;
22
+ }
23
+ /**
24
+ * Computed initials based on the provided `initials` prop or derived from `firstName` and `lastName`.
25
+ * @returns {string | undefined} Initials for display in the avatar.
26
+ */
27
+ get computedInitials() {
28
+ if (this.initials) {
29
+ return (this.initials.match(/.{1,3}/g) || [])[0] || '';
30
+ }
31
+ else if (this.firstName && this.lastName) {
32
+ return `${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase();
33
+ }
34
+ return undefined;
35
+ }
36
+ /**
37
+ * Computes the CSS classes for the avatar container based on provided props like `rounded`, `color`, and `picture`.
38
+ * @returns {string} List of CSS classes to apply to the avatar container.
39
+ */
40
+ get containerClasses() {
41
+ return [
42
+ 'border-inside',
43
+ 'aspect-1x1',
44
+ 'flex',
45
+ 'items-center',
46
+ 'justify-center',
47
+ 'overflow-hidden',
48
+ this.picture ? '' : 'px-4',
49
+ this.rounded ? 'rounded-pill border-inside-pill w-32' : 'w-[54px] rounded-sm',
50
+ this.color ? 'border-inside-inverse' : '',
51
+ this.color === 'grey'
52
+ ? 'bg-dark'
53
+ : this.color && !this.picture
54
+ ? color.gradientBGColorVariants({
55
+ color: this.color,
56
+ direction: 'top',
57
+ pseudo: false
58
+ })
59
+ : !this.picture
60
+ ? 'bg-strongest text-accent'
61
+ : ''
62
+ ].join(' ');
63
+ }
64
+ /**
65
+ * Renders the avatar component. Displays either an image using `eds-img` or initials depending on whether `picture` or `computedInitials` is set.
66
+ * @returns {JSX.Element} The rendered avatar component.
67
+ */
68
+ render() {
69
+ return (index.h("div", { key: '47ee5ffd12c0f90c536dea77b3ffa9120d67f37f', class: this.containerClasses }, this.picture ? (index.h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (index.h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
70
+ }
71
+ };
72
+ EdsAvatar.style = EdsAvatarStyle0;
73
+
74
+ const edsCardDescCss = ".f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.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
+ const EdsCardDescStyle0 = edsCardDescCss;
76
+
77
+ const EdsCardDesc = class {
78
+ constructor(hostRef) {
79
+ index.registerInstance(this, hostRef);
80
+ this.description = undefined;
81
+ this.descClass = 'f-ui-03-light';
82
+ this.truncate = true;
83
+ this.truncateLines = '3';
84
+ }
85
+ getTruncateClass() {
86
+ return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
87
+ }
88
+ render() {
89
+ return (index.h("p", { key: '71495cbd6ef4e7d66c4c22a37f8120624ecf57fb', class: `text-light ${this.descClass}` }, index.h("span", { key: '8708178f7b48cc1f31aac749f50fe92b72c39ab8', class: this.getTruncateClass() }, this.description)));
90
+ }
91
+ };
92
+ EdsCardDesc.style = EdsCardDescStyle0;
93
+
94
+ const edsCardTitleCss = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.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)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}";
95
+ const EdsCardTitleStyle0 = edsCardTitleCss;
96
+
97
+ const EdsCardTitle = class {
98
+ constructor(hostRef) {
99
+ index.registerInstance(this, hostRef);
100
+ this.url = undefined;
101
+ this.titleClass = undefined;
102
+ this.headingLevel = 'h3';
103
+ this.externalLink = false;
104
+ this.cardTitle = undefined;
105
+ this.hierarchy = true;
106
+ }
107
+ /**
108
+ * Dynamically generate the title class based on the heading level.
109
+ */
110
+ getTitleClass() {
111
+ const levelMap = this.hierarchy
112
+ ? {
113
+ h1: '05',
114
+ h2: '05',
115
+ h3: '05',
116
+ h4: '05',
117
+ h5: '05',
118
+ h6: '06'
119
+ }
120
+ : {
121
+ h1: '01',
122
+ h2: '02',
123
+ h3: '03',
124
+ h4: '04',
125
+ h5: '05',
126
+ h6: '06'
127
+ };
128
+ return `f-heading-${levelMap[this.headingLevel]}`;
129
+ }
130
+ /*private getTag() {
131
+ if (this.url) {
132
+ return 'a';
133
+ }
134
+ return 'span';
135
+ }*/
136
+ render() {
137
+ //const Tag = this.getTag();
138
+ const Heading = this.headingLevel;
139
+ return (index.h(Heading, { key: 'bb97dc6dd53adda14ef251b2ec32952791438986', class: this.getTitleClass() }, index.h("a", { key: '37b6ac0668257d27fb3f03a6225a2d48e1fd1f79', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
140
+ }
141
+ };
142
+ EdsCardTitle.style = EdsCardTitleStyle0;
143
+
144
+ const edsTagCss = ".f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-1{padding-top:0.0625rem;padding-bottom:0.0625rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}";
145
+ const EdsTagStyle0 = edsTagCss;
146
+
147
+ // Define the CVA for the tag styles
148
+ const tagStyles = index$1.cva(['f-ui-05 py-1 px-4 border-2 rounded-pill'], // Base classes
149
+ {
150
+ variants: {
151
+ intent: {
152
+ default: 'border-default',
153
+ strong: 'text-inverse bg-strongest border-default',
154
+ accent: 'text-[#0034CB] border-[#0034CB]',
155
+ weak: 'text-light bg-strongest-soft border-transparent',
156
+ inverse: 'border-inverse text-inverse',
157
+ 'inverse-strong': 'bg-inverse border-inverse text-lighter'
158
+ }
159
+ },
160
+ defaultVariants: {
161
+ intent: 'default'
162
+ }
163
+ });
164
+ const EdsTag = class {
165
+ constructor(hostRef) {
166
+ index.registerInstance(this, hostRef);
167
+ this.label = undefined;
168
+ this.intent = 'default';
169
+ }
170
+ render() {
171
+ const classes = tagStyles({ intent: this.intent });
172
+ return index.h("span", { key: '2f4b0011094538aaa0a7cc855eadc1b39c9dc028', class: classes }, this.label);
173
+ }
174
+ };
175
+ EdsTag.style = EdsTagStyle0;
176
+
177
+ exports.eds_avatar = EdsAvatar;
178
+ exports.eds_card_desc = EdsCardDesc;
179
+ exports.eds_card_title = EdsCardTitle;
180
+ exports.eds_tag = EdsTag;
@@ -2,7 +2,8 @@
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
8
  const edsBreadcrumbCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}";
8
9
  const EdsBreadcrumbStyle0 = edsBreadcrumbCss;
@@ -38,22 +39,7 @@ const EdsBreadcrumb = class {
38
39
  * Watches for changes to the `items` prop and parses it.
39
40
  */
40
41
  parseItems(newValue) {
41
- if (typeof newValue === 'string') {
42
- try {
43
- const parsed = JSON.parse(newValue);
44
- this.parsedItems = Array.isArray(parsed) ? parsed : [];
45
- }
46
- catch (e) {
47
- //console.error('Error parsing breadcrumb items:', e);
48
- this.parsedItems = [];
49
- }
50
- }
51
- else if (Array.isArray(newValue)) {
52
- this.parsedItems = newValue;
53
- }
54
- else {
55
- this.parsedItems = [];
56
- }
42
+ this.parsedItems = sharedUtils.parseData(newValue);
57
43
  }
58
44
  /**
59
45
  * Lifecycle method that runs when the component is about to be loaded.
@@ -131,7 +117,7 @@ const EdsBreadcrumb = class {
131
117
  */
132
118
  render() {
133
119
  const itemsToRender = this.getTruncatedItems();
134
- return (index.h("nav", { key: 'd177957e1b3218c21991bbdc9636a8e32befe990', "aria-label": "Breadcrumb" }, index.h("ol", { key: 'd10336ddee99b9fb84d17e53093c57c6a025982f', class: "flex items-center space-x-2" }, itemsToRender.map((item, index$1) => {
120
+ return (index.h("nav", { key: '02537ec4208124f8a5ba564f7487f6fad552f7da', "aria-label": "Breadcrumb" }, index.h("ol", { key: 'ac6e2ecd59a8ddef52e004d95fbb492f78a9b248', class: "flex items-center space-x-2" }, itemsToRender.map((item, index$1) => {
135
121
  const isLast = index$1 === itemsToRender.length - 1;
136
122
  return (index.h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
137
123
  const { displayLabel, fullLabel } = this.getLabels(item, isLast);
@@ -0,0 +1,92 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2f63169d.js');
6
+ const sharedUtils = require('./sharedUtils-8e287250.js');
7
+ const analytics = require('./analytics-d8fb3fdd.js');
8
+
9
+ const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
10
+ const EdsCardGenericStyle0 = edsCardGenericCss;
11
+
12
+ const EdsCardGeneric = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.parentContext = null; // Accepts the entire event detail or null
16
+ this.cardTitle = undefined;
17
+ this.url = undefined;
18
+ this.description = undefined;
19
+ this.image = undefined;
20
+ this.avatar = undefined;
21
+ this.shortAbbreviation = undefined;
22
+ this.headingLevel = 'h3';
23
+ this.tags = [];
24
+ this.tiny = false;
25
+ this.bg = true;
26
+ this.withHover = true;
27
+ this.hierarchy = true;
28
+ this.parsedImage = null;
29
+ }
30
+ componentWillLoad() {
31
+ if (this.image) {
32
+ try {
33
+ if (typeof this.image === 'object') {
34
+ // If image is already an object, assign it directly
35
+ this.parsedImage = this.image;
36
+ }
37
+ else if (typeof this.image === 'string') {
38
+ // If image is a string, try to parse it
39
+ this.parsedImage = JSON.parse(this.image);
40
+ }
41
+ }
42
+ catch (error) {
43
+ // eslint-disable-next-line
44
+ console.error('Error parsing image prop:', error);
45
+ this.parsedImage = {}; // Assign a fallback empty object in case of an error
46
+ }
47
+ }
48
+ }
49
+ handleParentContext(event) {
50
+ if (event.target !== this.el) {
51
+ // Ignore the event if it's not targeted at this specific instance
52
+ return;
53
+ }
54
+ //console.log(event.detail);
55
+ this.parentContext = event.detail;
56
+ event.stopPropagation();
57
+ }
58
+ /**
59
+ * Parses the `tags` prop into an array of link objects.
60
+ * Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
61
+ *
62
+ * @returns {any[]} Array of parsed link objects
63
+ */
64
+ get parsedTags() {
65
+ return sharedUtils.parseData(this.tags);
66
+ }
67
+ articleClasses() {
68
+ return [
69
+ this.description ? (this.tiny ? 'min-h-120' : 'min-h-156') : 'h-auto',
70
+ this.bg ? 'bg-inverse' : 'bg-default',
71
+ this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
72
+ 'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
73
+ ].join(' ');
74
+ }
75
+ handleClick() {
76
+ var _a;
77
+ analytics.sendAnalytics({
78
+ category: 'ui-component',
79
+ parentContext: this.parentContext,
80
+ tag: this.el.tagName.toLowerCase(),
81
+ name: ((_a = this.cardTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
82
+ action: 'click'
83
+ });
84
+ }
85
+ render() {
86
+ return (index.h("article", { key: '440a448c841370838c0c66610bd1266b46f66541', class: this.articleClasses(), onClick: () => this.handleClick() }, index.h("eds-card-title", { key: '292d93a9a993c6dcbfd276097a21d3984b1794c4', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (index.h("eds-card-desc", { key: '4b304cc3c65a42b3b1bcbebd9968c45e79cdabf7', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (index.h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (index.h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, index.h("div", { key: 'cb5c191f6c190fb6edb46446187dbf6b8c1b778b', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index$1) => (index.h("eds-tag", { key: index$1, intent: tag.style, label: tag.label })))), ' '));
87
+ }
88
+ get el() { return index.getElement(this); }
89
+ };
90
+ EdsCardGeneric.style = EdsCardGenericStyle0;
91
+
92
+ exports.eds_card_generic = EdsCardGeneric;
@@ -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
  const color = require('./color-c00146a8.js');
8
8
  require('./index-ab9fbefe.js');
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2f63169d.js');
6
+ const sharedUtils = require('./sharedUtils-8e287250.js');
7
+
8
+ const edsCardSectionCss = "ol,ul,menu{list-style:none;margin:0;padding:0}.w-full{width:100%}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.grid-cols-4[class*=\"grid-line-x\"][class*=\"grid-line-x\"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-4[class*=\"grid-line-xfull\"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-4[class*=\"grid-line-x\"]>*:nth-child(4n+1)::before{inset-inline-start:0}.grid-cols-4[class*=\"grid-line-x\"]>*:nth-child(4n+4)::before{inset-inline-end:0}.grid-cols-4[class*=\"grid-line-x\"]>*:nth-child(4n+1):nth-last-child(-n+4)::before{border-bottom-width:0}.grid-cols-4[class*=\"grid-line-x\"]>*:nth-child(4n+1):nth-last-child(-n+4)~*::before{border-bottom-width:0}.grid-cols-4[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-4[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(4n+4)::after{border-inline-end-width:0}.grid-cols-4[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(-n+4)::after{top:0}.grid-cols-4[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(4n+1):nth-last-child(-n+4)::after{bottom:0}.grid-cols-4[class*=\"grid-line-y\"][class*=\"grid-line-y\"]>*:nth-child(4n+1):nth-last-child(-n+4)~li::after{bottom:0}.grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:gap-y-12{row-gap:0.75rem}.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 750px){.md\\:grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.md\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.md\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-8-cols>*{--container-grid-columns:8}.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:w-\\[150px\\]{width:150px}.lg\\:w-auto{width:auto}.lg\\:max-w-\\[720px\\]{max-width:720px}.lg\\:flex-row{flex-direction:row}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:gap-y-16{row-gap:1rem}.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}.lg\\:\\!pl-12{padding-left:0.75rem !important}.lg\\:\\!pr-12{padding-right:0.75rem !important}}";
9
+ const EdsCardSectionStyle0 = edsCardSectionCss;
10
+
11
+ const EdsCardSection = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.cards = [];
15
+ this.occupyCols = 1;
16
+ }
17
+ /**
18
+ * Parses the `cards` JSON string prop into an array of card objects.
19
+ * If parsing fails, returns an empty array.
20
+ *
21
+ * @returns {any[]} An array of parsed card objects.
22
+ */
23
+ get parsedCards() {
24
+ return sharedUtils.parseData(this.cards);
25
+ }
26
+ /**
27
+ * Renders the card section as a grid layout.
28
+ * Each parsed card object is mapped to an `<eds-card-generic>` component,
29
+ * displaying card details such as title, description, avatar, etc.
30
+ *
31
+ * @returns {JSX.Element} The rendered section containing a list of cards.
32
+ */
33
+ render() {
34
+ return (index.h("section", { key: 'eb64be830a5a1b752fadd0a8a76be9240b70cfe8', class: "w-full" }, index.h("ul", { key: 'd4eb8d8492a67f7491535953e0e37172fc9e09ff', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (index.h("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, index.h("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
35
+ }
36
+ };
37
+ EdsCardSection.style = EdsCardSectionStyle0;
38
+
39
+ exports.eds_card_section = EdsCardSection;
@@ -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 edsCardTagsCss = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}";
8
8
  const EdsCardTagsStyle0 = edsCardTagsCss;
@@ -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 edsCardToolCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
@@ -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 EdsCardWrapper = class {
8
8
  constructor(hostRef) {
@@ -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
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
@@ -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 EdsComponentsOverview = () => (index.h("div", { class: "static-content container" },
8
8
  index.h("h2", null, "Load the module"),
@@ -113,7 +113,7 @@ const EdsComponentsSection = class {
113
113
  }
114
114
  }
115
115
  render() {
116
- return index.h("div", { key: '7e582a0eeafc2687229454532b5a7f66f91c1856', class: "container" }, this.renderContent());
116
+ return index.h("div", { key: '69eda93b8845c5fdf5edc0f58ede763866b5f8c7', class: "container" }, this.renderContent());
117
117
  }
118
118
  };
119
119
 
@@ -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 edsCookiesPreferenceCss = "";
8
8
  const EdsCookiesPreferenceStyle0 = edsCookiesPreferenceCss;
@@ -31,7 +31,7 @@ const EdsCookiesPreference = class {
31
31
  }
32
32
  }
33
33
  render() {
34
- return (index.h("div", { key: 'ca5d44522f94e9ea009c657c5eae6e357cd0d13a' }, index.h("eds-link", { key: '563a369e2ed44d08a6dd47922c1c1c888e81543a', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && index.h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
34
+ return (index.h("div", { key: '48f67648644ae9c8e645791ad3cbba5491866dc5' }, index.h("eds-link", { key: '50154721f0f44e811ebe362e18bcf8cfb77b8f64', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && index.h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
35
35
  }
36
36
  };
37
37
  EdsCookiesPreference.style = EdsCookiesPreferenceStyle0;
@@ -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 EdsDocsPalettes = class {
8
8
  constructor(hostRef) {
@@ -20,7 +20,7 @@ const EdsDocsPalettes = class {
20
20
  }
21
21
  }
22
22
  render() {
23
- return index.h("div", { key: 'e8cd71caa7b23cc4dc28c694ecb9f13e3fd4170a', class: "container" }, this.renderContent());
23
+ return index.h("div", { key: '80f0922a40e212252a858b019d88f104defc2632', 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
 
7
7
  const EdsDocsContent = class {
8
8
  constructor(hostRef) {
@@ -28,7 +28,7 @@ const EdsDocsContent = class {
28
28
  }
29
29
  }
30
30
  render() {
31
- return index.h("div", { key: 'b140f7650e5e01711dc0778b04af83f9d004efc7', class: "container" }, this.renderContent());
31
+ return index.h("div", { key: 'cf676cf54781de4a4f8b75d174201d24d30d3538', class: "container" }, this.renderContent());
32
32
  }
33
33
  };
34
34