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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist/cjs/{color-3ffe3072.js → color-88793e49.js} +2 -2
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  3. package/dist/cjs/components.cjs.js +1 -1
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  5. package/dist/cjs/{eds-alert_28.cjs.entry.js → eds-accordion_33.cjs.entry.js} +773 -162
  6. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  7. package/dist/cjs/eds-card-section.cjs.entry.js +18 -7
  8. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  10. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-code-block.cjs.entry.js +48 -1
  12. package/dist/cjs/eds-components-section.cjs.entry.js +44 -24
  13. package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-login.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
  17. package/dist/cjs/eds-matomo-notice.cjs.entry.js +1 -1
  18. package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +184 -9
  19. package/dist/cjs/eds-progress-bar.cjs.entry.js +29 -0
  20. package/dist/cjs/eds-rating.cjs.entry.js +5 -7
  21. package/dist/cjs/eds-svg-repository.cjs.entry.js +7 -1
  22. package/dist/cjs/eds-tabs-content.cjs.entry.js +3 -3
  23. package/dist/cjs/eds-tabs.cjs.entry.js +27 -6
  24. package/dist/cjs/eds-timeline.cjs.entry.js +77 -0
  25. package/dist/cjs/eds-tooltip.cjs.entry.js +11 -1
  26. package/dist/cjs/eds-trl.cjs.entry.js +51 -0
  27. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  28. package/dist/cjs/index-f08e4f5c.js +20 -44
  29. package/dist/cjs/loader.cjs.js +1 -1
  30. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  31. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
  32. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  33. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  34. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  35. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  36. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  37. package/dist/collection/collection-manifest.json +2 -1
  38. package/dist/collection/components/eds-accordion/eds-accordion.js +11 -20
  39. package/dist/collection/components/eds-alert/eds-alert.js +5 -7
  40. package/dist/collection/components/eds-alert/eds-alert.stories.js +4 -4
  41. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  42. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +24 -22
  43. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  44. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +14 -12
  45. package/dist/collection/components/eds-button/eds-button.js +3 -3
  46. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +9 -1
  47. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  48. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  49. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  50. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +14 -8
  51. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +1 -1
  52. package/dist/collection/components/eds-code-block/eds-code-block.js +57 -2
  53. package/dist/collection/components/eds-code-block/eds-code-block.stories.js +78 -0
  54. package/dist/collection/components/eds-dropdown/eds-dropdown.js +11 -21
  55. package/dist/collection/components/eds-form/eds-form.js +41 -31
  56. package/dist/collection/components/eds-form/eds-form.stories.js +0 -3
  57. package/dist/collection/components/eds-frame/eds-frame.stories.js +19 -18
  58. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +142 -14
  59. package/dist/collection/components/eds-link/eds-link.js +3 -4
  60. package/dist/collection/components/eds-modal/eds-modal.css +16 -0
  61. package/dist/collection/components/eds-modal/eds-modal.js +71 -29
  62. package/dist/collection/components/eds-modal/eds-modal.stories.js +34 -18
  63. package/dist/collection/components/eds-pagination/eds-pagination.js +13 -9
  64. package/dist/collection/components/eds-rating/eds-rating.js +8 -10
  65. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.stories.js +12 -11
  66. package/dist/collection/components/eds-table/eds-table.css +4 -0
  67. package/dist/collection/components/eds-table/eds-table.js +83 -12
  68. package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
  69. package/dist/collection/components/eds-timeline/eds-timeline.js +27 -16
  70. package/dist/collection/components/eds-toast/eds-toast.js +21 -0
  71. package/dist/collection/components/eds-tooltip/eds-tooltip.js +10 -1
  72. package/dist/collection/components/eds-trl/eds-trl.js +29 -22
  73. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  74. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  75. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  76. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  77. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  78. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  79. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  80. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -5
  81. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  82. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  83. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  84. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  85. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  86. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  87. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +3 -6
  88. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  89. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  90. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +44 -0
  91. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +7 -1
  92. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  93. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  94. package/dist/collection/eds-docs-ui/functional/overview.js +1 -1
  95. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  96. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  97. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  98. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +21 -1
  99. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +2 -54
  100. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +4 -13
  101. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +4 -0
  102. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  103. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +22 -10
  104. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +13 -11
  105. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  106. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -3
  107. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
  108. package/dist/collection/shared-ui/eds-header/eds-header.js +9 -5
  109. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +16 -10
  110. package/dist/collection/shared-ui/eds-login/eds-login.js +3 -2
  111. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +4 -4
  112. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
  113. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +29 -8
  114. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +22 -4
  115. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
  116. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +48 -34
  117. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  118. package/dist/collection/shared-ui/eds-user/eds-user.js +12 -6
  119. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -11
  120. package/dist/components/analytics.js +2 -2
  121. package/dist/components/components.css +29 -10
  122. package/dist/components/components.esm.js +1 -1
  123. package/dist/components/correct-use-of-colors.js +1 -1
  124. package/dist/components/eds-accordion2.js +12 -20
  125. package/dist/components/eds-alert2.js +5 -7
  126. package/dist/components/eds-avatar2.js +1 -1
  127. package/dist/components/eds-block-break2.js +1 -1
  128. package/dist/components/eds-breadcrumb.js +14 -12
  129. package/dist/components/eds-button2.js +1 -1
  130. package/dist/components/eds-card-desc2.js +1 -1
  131. package/dist/components/eds-card-generic2.js +3 -3
  132. package/dist/components/eds-card-section.js +18 -7
  133. package/dist/components/eds-card-tags.js +1 -1
  134. package/dist/components/eds-card-title2.js +1 -1
  135. package/dist/components/eds-card-wrapper.js +1 -1
  136. package/dist/components/eds-code-block2.js +48 -1
  137. package/dist/components/eds-components-section.js +44 -24
  138. package/dist/components/eds-docs-palettes.js +1 -1
  139. package/dist/components/eds-docs-tokens.js +1 -1
  140. package/dist/components/eds-dropdown2.js +12 -21
  141. package/dist/components/eds-footer2.js +1 -1
  142. package/dist/components/eds-form.js +37 -12
  143. package/dist/components/eds-header.js +6 -2
  144. package/dist/components/eds-input-select2.js +70 -2
  145. package/dist/components/eds-link2.js +3 -4
  146. package/dist/components/eds-login.js +3 -2
  147. package/dist/components/eds-logo-variations.d.ts +11 -0
  148. package/dist/components/eds-logo-variations.js +60 -0
  149. package/dist/components/eds-modal.js +56 -30
  150. package/dist/components/eds-pagination2.js +13 -9
  151. package/dist/components/eds-rating.js +6 -8
  152. package/dist/components/eds-social-networks.js +2 -2
  153. package/dist/components/eds-social-networks2.js +6 -6
  154. package/dist/components/eds-svg-repository.js +7 -1
  155. package/dist/components/eds-table2.js +50 -14
  156. package/dist/components/eds-tabs-content.js +2 -2
  157. package/dist/components/eds-tabs.js +26 -5
  158. package/dist/components/eds-timeline.js +24 -10
  159. package/dist/components/eds-toast-manager.js +1 -1
  160. package/dist/components/eds-toast2.js +21 -0
  161. package/dist/components/eds-tooltip.js +11 -1
  162. package/dist/components/eds-trl.js +94 -15
  163. package/dist/components/eds-user-modal2.js +1 -5
  164. package/dist/components/eds-user2.js +12 -6
  165. package/dist/components/incorrect-use-of-colors.js +20 -2
  166. package/dist/components/logo-space.js +1 -1
  167. package/dist/components/logo-variations-horizontal.js +2 -50
  168. package/dist/components/logo-variations-horizontal2.js +37 -0
  169. package/dist/components/logo-variations-vertical.js +2 -50
  170. package/dist/components/logo-variations-vertical2.js +42 -0
  171. package/dist/components/logo-wrong-usage.js +2 -2
  172. package/dist/components/p-005de86f.entry.js +1 -0
  173. package/dist/components/{p-5eb32f03.entry.js → p-0910d733.entry.js} +1 -1
  174. package/dist/components/{p-c9c3cc49.entry.js → p-22e6d7d5.entry.js} +1 -1
  175. package/dist/components/p-2851ff44.entry.js +1 -0
  176. package/dist/components/p-29648b47.entry.js +1 -0
  177. package/dist/components/p-2dda1ec4.entry.js +1 -0
  178. package/dist/components/{p-d9788b54.entry.js → p-35ec730b.entry.js} +1 -1
  179. package/dist/components/{p-bb60412b.entry.js → p-435a14c1.entry.js} +1 -1
  180. package/dist/components/{p-e6bfbf51.entry.js → p-5398d652.entry.js} +2 -2
  181. package/dist/components/p-57c964c5.entry.js +1 -0
  182. package/dist/components/p-5a43503a.entry.js +1 -0
  183. package/dist/components/{p-e20ed2c7.entry.js → p-610db2b2.entry.js} +1 -1
  184. package/dist/components/p-6378fb3e.entry.js +1 -0
  185. package/dist/components/p-762c8c83.entry.js +1 -0
  186. package/dist/components/p-7802e966.entry.js +1 -0
  187. package/dist/components/p-832dc95a.entry.js +1 -0
  188. package/dist/components/p-855aa1a3.entry.js +1 -0
  189. package/dist/components/{p-1bcfbaf1.entry.js → p-87830085.entry.js} +1 -1
  190. package/dist/components/p-8ddc67a1.entry.js +1 -0
  191. package/dist/components/p-ab32b3fc.entry.js +1 -0
  192. package/dist/components/p-ac0112d5.entry.js +1 -0
  193. package/dist/components/p-acb16e1c.entry.js +1 -0
  194. package/dist/components/p-ae5dbd41.entry.js +1 -0
  195. package/dist/components/p-b04eff31.entry.js +1 -0
  196. package/dist/components/p-b86a4985.js +1 -0
  197. package/dist/components/{p-9722811d.entry.js → p-ba6bafef.entry.js} +1 -1
  198. package/dist/components/{p-6fc62452.entry.js → p-c3b294a0.entry.js} +1 -1
  199. package/dist/components/p-c6038449.entry.js +1 -0
  200. package/dist/components/p-c72c8fb0.entry.js +1 -0
  201. package/dist/components/p-d53b7a75.entry.js +1 -0
  202. package/dist/components/{p-b717f95a.entry.js → p-d571d530.entry.js} +1 -1
  203. package/dist/components/p-dd6daa96.entry.js +1 -0
  204. package/dist/components/{p-73bd0c97.entry.js → p-df94285c.entry.js} +1 -1
  205. package/dist/components/primary.js +1 -1
  206. package/dist/components/primary2.js +1 -1
  207. package/dist/components/secondary.js +1 -1
  208. package/dist/components/secondary2.js +7 -7
  209. package/dist/components/support.js +1 -1
  210. package/dist/components/support2.js +3 -3
  211. package/dist/components/token-list2.js +1 -1
  212. package/dist/components/token-radii2.js +1 -1
  213. package/dist/components/token-ratios.js +1 -1
  214. package/dist/components/token-shadows2.js +1 -1
  215. package/dist/components/token-spacing.js +1 -1
  216. package/dist/components/token-typography.js +1 -1
  217. package/dist/esm/{color-0ba8ed56.js → color-bb472c37.js} +2 -2
  218. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  219. package/dist/esm/components.js +1 -1
  220. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  221. package/dist/esm/{eds-alert_28.entry.js → eds-accordion_33.entry.js} +767 -161
  222. package/dist/esm/eds-card-project.entry.js +1 -1
  223. package/dist/esm/eds-card-section.entry.js +18 -7
  224. package/dist/esm/eds-card-tags.entry.js +1 -1
  225. package/dist/esm/eds-card-tool.entry.js +1 -1
  226. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  227. package/dist/esm/eds-code-block.entry.js +49 -2
  228. package/dist/esm/eds-components-section.entry.js +44 -24
  229. package/dist/esm/eds-docs-palettes.entry.js +1 -1
  230. package/dist/esm/eds-docs-tokens.entry.js +1 -1
  231. package/dist/esm/eds-login.entry.js +1 -1
  232. package/dist/esm/eds-logo-variations.entry.js +23 -0
  233. package/dist/esm/eds-matomo-notice.entry.js +1 -1
  234. package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +184 -10
  235. package/dist/esm/eds-progress-bar.entry.js +25 -0
  236. package/dist/esm/eds-rating.entry.js +5 -7
  237. package/dist/esm/eds-svg-repository.entry.js +8 -2
  238. package/dist/esm/eds-tabs-content.entry.js +3 -3
  239. package/dist/esm/eds-tabs.entry.js +27 -6
  240. package/dist/esm/eds-timeline.entry.js +73 -0
  241. package/dist/esm/eds-tooltip.entry.js +11 -1
  242. package/dist/esm/eds-trl.entry.js +47 -0
  243. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  244. package/dist/esm/index-e96badea.js +20 -44
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/logo-space.entry.js +1 -1
  247. package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
  248. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  249. package/dist/esm/token-list_3.entry.js +3 -3
  250. package/dist/esm/token-ratios.entry.js +1 -1
  251. package/dist/esm/token-spacing.entry.js +1 -1
  252. package/dist/esm/token-typography.entry.js +1 -1
  253. package/dist/hydrate/index.js +1116 -783
  254. package/dist/hydrate/index.mjs +1116 -783
  255. package/dist/types/components/eds-accordion/eds-accordion.d.ts +5 -12
  256. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -18
  257. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +1 -5
  258. package/dist/types/components/eds-button/eds-button.d.ts +2 -2
  259. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +8 -0
  260. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +6 -2
  261. package/dist/types/components/eds-code-block/eds-code-block.d.ts +43 -3
  262. package/dist/types/components/eds-code-block/eds-code-block.stories.d.ts +54 -0
  263. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +0 -7
  264. package/dist/types/components/eds-form/eds-form.d.ts +3 -6
  265. package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
  266. package/dist/types/components/eds-frame/eds-frame.stories.d.ts +0 -2
  267. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +108 -2
  268. package/dist/types/components/eds-link/eds-link.d.ts +1 -1
  269. package/dist/types/components/eds-modal/eds-modal.d.ts +18 -3
  270. package/dist/types/components/eds-modal/eds-modal.stories.d.ts +9 -0
  271. package/dist/types/components/eds-rating/eds-rating.d.ts +4 -6
  272. package/dist/types/components/eds-section/eds-section-core/eds-section-core.stories.d.ts +0 -1
  273. package/dist/types/components/eds-table/eds-table.d.ts +9 -1
  274. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -67
  275. package/dist/types/components/eds-timeline/eds-timeline.d.ts +9 -12
  276. package/dist/types/components/eds-toast/eds-toast.d.ts +9 -0
  277. package/dist/types/components/eds-trl/eds-trl.d.ts +4 -1
  278. package/dist/types/components.d.ts +217 -56
  279. package/dist/types/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.d.ts +0 -4
  280. package/dist/types/eds-docs-ui/eds-logo-variations/eds-logo-variations.d.ts +9 -0
  281. package/dist/types/eds-docs-ui/eds-svg-repository/eds-svg-repository.d.ts +2 -0
  282. package/dist/types/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.d.ts +1 -7
  283. package/dist/types/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.d.ts +1 -1
  284. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +1 -1
  285. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +42 -2
  286. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +8 -2
  287. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +29 -0
  288. package/dist/types/shared-ui/eds-header/eds-header.d.ts +7 -1
  289. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +9 -1
  290. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  291. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +13 -0
  292. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +18 -1
  293. package/dist/types/shared-ui/eds-user/eds-user.d.ts +1 -2
  294. package/package.json +3 -3
  295. package/dist/cjs/eds-accordion.cjs.entry.js +0 -93
  296. package/dist/cjs/eds-block-break.cjs.entry.js +0 -21
  297. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -153
  298. package/dist/cjs/eds-footer.cjs.entry.js +0 -50
  299. package/dist/cjs/eds-frame.cjs.entry.js +0 -91
  300. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -100
  301. package/dist/cjs/eds-modal.cjs.entry.js +0 -86
  302. package/dist/cjs/eds-social-networks.cjs.entry.js +0 -66
  303. package/dist/cjs/eds-table.cjs.entry.js +0 -143
  304. package/dist/cjs/logo-variations-horizontal.cjs.entry.js +0 -31
  305. package/dist/cjs/logo-variations-vertical.cjs.entry.js +0 -31
  306. package/dist/collection/components/eds-trl/eds-trl.css +0 -0
  307. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.css +0 -0
  308. package/dist/components/p-02e2a62f.entry.js +0 -1
  309. package/dist/components/p-04e47e04.entry.js +0 -1
  310. package/dist/components/p-0a3b2576.entry.js +0 -1
  311. package/dist/components/p-0c99ef81.entry.js +0 -1
  312. package/dist/components/p-272d249f.entry.js +0 -1
  313. package/dist/components/p-2d8508cd.entry.js +0 -1
  314. package/dist/components/p-32f282a9.entry.js +0 -1
  315. package/dist/components/p-373673ca.js +0 -1
  316. package/dist/components/p-3a2e8ef3.entry.js +0 -1
  317. package/dist/components/p-3afafa59.entry.js +0 -1
  318. package/dist/components/p-3b40559e.entry.js +0 -1
  319. package/dist/components/p-42b4ecff.entry.js +0 -1
  320. package/dist/components/p-49958f77.entry.js +0 -1
  321. package/dist/components/p-54c75346.entry.js +0 -1
  322. package/dist/components/p-551c0b58.entry.js +0 -1
  323. package/dist/components/p-559b6ec9.entry.js +0 -1
  324. package/dist/components/p-5ae9722b.entry.js +0 -1
  325. package/dist/components/p-79887c2c.entry.js +0 -1
  326. package/dist/components/p-9000b245.entry.js +0 -1
  327. package/dist/components/p-96c4deda.entry.js +0 -1
  328. package/dist/components/p-b14ef448.entry.js +0 -1
  329. package/dist/components/p-b203eb1b.entry.js +0 -1
  330. package/dist/components/p-b33941a0.entry.js +0 -1
  331. package/dist/components/p-bca40434.entry.js +0 -1
  332. package/dist/components/p-df93db96.entry.js +0 -1
  333. package/dist/components/p-ebed87b8.entry.js +0 -1
  334. package/dist/components/p-ff5de62c.entry.js +0 -1
  335. package/dist/components/p-ffec8755.entry.js +0 -1
  336. package/dist/esm/eds-accordion.entry.js +0 -89
  337. package/dist/esm/eds-block-break.entry.js +0 -17
  338. package/dist/esm/eds-breadcrumb.entry.js +0 -149
  339. package/dist/esm/eds-footer.entry.js +0 -46
  340. package/dist/esm/eds-frame.entry.js +0 -87
  341. package/dist/esm/eds-fullscreen-menu.entry.js +0 -96
  342. package/dist/esm/eds-modal.entry.js +0 -82
  343. package/dist/esm/eds-social-networks.entry.js +0 -62
  344. package/dist/esm/eds-table.entry.js +0 -139
  345. package/dist/esm/logo-variations-horizontal.entry.js +0 -27
  346. package/dist/esm/logo-variations-vertical.entry.js +0 -27
  347. /package/dist/collection/shared-ui/eds-social-networks/{eds-social-network.css → eds-social-networks.css} +0 -0
@@ -2305,7 +2305,7 @@ class ColorPrimaryPalette {
2305
2305
  ];
2306
2306
  }
2307
2307
  render() {
2308
- return (hAsync("ul", { key: '20dce1081c2a9213d9df3bb19f14445881892809', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
2308
+ return (hAsync("ul", { key: '581f0978ebeda33a156d2baf3cc41a10897da1cf', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
2309
2309
  }
2310
2310
  static get cmpMeta() { return {
2311
2311
  "$flags$": 0,
@@ -2377,7 +2377,7 @@ class ColorSecondaryPalette {
2377
2377
  this.show = undefined;
2378
2378
  }
2379
2379
  render() {
2380
- return (hAsync("ul", { key: '1eb0e9d0b681be4049209e60ab72bfd36cb09731', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
2380
+ return (hAsync("ul", { key: '7f2e8e7efa207bedaa1e19c0f7d87459a5c22693', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
2381
2381
  }
2382
2382
  static get cmpMeta() { return {
2383
2383
  "$flags$": 0,
@@ -2442,7 +2442,7 @@ class ColorSupportPalette {
2442
2442
  ];
2443
2443
  }
2444
2444
  render() {
2445
- return (hAsync("ul", { key: 'c3dfdc3ab9ac3dcfbe1b82c7725d548d9f10a7ad', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC || 'N/A'), hAsync("span", { class: "f-body-02" }, color.pantoneU || 'N/A'))))))));
2445
+ return (hAsync("ul", { key: '6cd3d5f3128a49e9ac77abc11f46ca880bc6c195', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC || 'N/A'), hAsync("span", { class: "f-body-02" }, color.pantoneU || 'N/A'))))))));
2446
2446
  }
2447
2447
  static get cmpMeta() { return {
2448
2448
  "$flags$": 0,
@@ -2518,7 +2518,7 @@ class CorrectUseOfColors {
2518
2518
  registerInstance(this, hostRef);
2519
2519
  }
2520
2520
  render() {
2521
- return (hAsync("div", { key: 'c200227a9e2f169d0aa287867fbb8e37950ba1fc', class: "container" }, hAsync("p", { key: '8fb2fee0b58ee6ad9386bd7ab9b7defe77bf0ea8', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '779695d669a2dcea9dfa02ad98afbbbb40fd1c60', label: "primary", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", hAsync("eds-link", { key: '9adae0aedf1121fcae938fea0a190a4c6d919615', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), hAsync("div", { key: 'ba6f9af827fc2d961d3bbe6e525f322a1cd1915a', class: "flex" }, hAsync("div", { key: 'c7c0375674e317e44501061074498a4d61061815', class: "w-full" }, hAsync("ul", { key: '3b47359203802b385a3ebfb3112d358860bb3aef', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '4762b034c77712345d8dccbad21d670e0e4b00b8', class: "w-full" }, hAsync("ul", { key: '4378c6902da37592f8a793e106a43ddee1ef93c4', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: 'fbc81d54d8b403928b8ed06313b3c8cc43ed94ea', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '3cebed0ccba94099b7c7434009317ac5f2bd0b4c', label: "purple", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", hAsync("eds-link", { key: '022ecd8aee653634c17289be36406a57c50870e2', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), hAsync("div", { key: '199e32e4956d061d8900905ff5bb5f5de3e241aa', class: "flex" }, hAsync("div", { key: 'ff328c18717b9e8e59a556f1158d20c1ee81e7d8', class: "w-full" }, hAsync("ul", { key: 'e01f03ac9c1926e545cb7eed8bda7bbac85ec1df', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '9c916943b14e9c30dc4c378cd1f17e01898c07ba', class: "w-full" }, hAsync("ul", { key: 'f4ed3a0dbf49acf1f9377b88974a95aad039786e', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '4639f1444d9623cba363eeb5c2d8d31c878df248', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '06f173575af08f66a54cbecda06d8c8571831e14', label: "blue", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", hAsync("eds-link", { key: '27190261ee2836060d3a82ff8b1e99cf2a3a4418', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), hAsync("div", { key: '56b46450301b6ff4971d3d0a8db82e4490926a7d', class: "flex" }, hAsync("div", { key: '149dfb6f4888042bc3bc0155e13f0546619d0407', class: "w-full" }, hAsync("ul", { key: '170c840e01c036180d14b4ad3ff05a91d0d2a294', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '7bf3c17e287839feb7de1f9efb025468b6be01d5', class: "w-full" }, hAsync("ul", { key: '0933b22c83b1146fd3df7872168c46696612ee6f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '13d3cc503cec5ff8368bb067669fd40c39474ad9', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '3d56221761895007dca7959d41dc9c2de7d5bee9', label: "redish", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", hAsync("eds-link", { key: '816bfadc9f98d2f2ac59bc14df8d4160d89116b3', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), hAsync("div", { key: 'b6eab4a5bb07fd34b59c0e9460ad4aab06e424f6', class: "flex" }, hAsync("div", { key: 'd2779763b7a8ac3b9d718cb2c98dcfeb6b81e311', class: "w-full" }, hAsync("ul", { key: '269881df5e4209d3670ceae03c37182d5d17fe7f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, red$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'e014acde3e2676f4db049bd1df3f49fb68953470', class: "w-full" }, hAsync("ul", { key: '6881842a8f199741784d1a1382353ff271869ee0', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
2521
+ return (hAsync("div", { key: '33f38f14e5b6e7271ae26608fb1a1ed0c7930c7c', class: "container" }, hAsync("p", { key: '4857375e983add7d8e5e0a0d9896641774be018e', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '1c6bd69472074babf8f830fdba9be31e73afcd88', label: "primary", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: 'ae3429fadbea001f01731d3c15f28865d668a50a', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'd8c6b9ab88abbf6194a4fb26120244982b59c2c4', class: "flex" }, hAsync("div", { key: 'fc7f854940caabb9e032999f51732b64555e96e7', class: "w-full" }, hAsync("ul", { key: '99c6a2e47c683ac38f2a14feec80177c0cf1c174', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '91048e89cff083356c589c0f1bfecdd482e0c797', class: "w-full" }, hAsync("ul", { key: '6ee69388227089a5224a6d249c8e1eea4efde128', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: 'c0a8e42942f2655648aa2ec3ce74bbf8d043ba63', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '3f272298bcd7d0e6ad791edc408ef636349fbf7d', label: "purple", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '9a0b28f388483944aa4b053b9f8e807c1383431e', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: '27ab1cdb936918fafe122c5a569c83322043bb79', class: "flex" }, hAsync("div", { key: '037b9916ff3a3e8c2e9db64b650d44a57aedbcf9', class: "w-full" }, hAsync("ul", { key: '60f4f6290b31a29852fb934c678edcaa61c8e930', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '36397292a31417703736b3be5b77e17241675dd9', class: "w-full" }, hAsync("ul", { key: '20a9e6bb396c184c2718a18554eb1b4828817379', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '0b89819b9fce1dff39b06b70873d651b7a1c84ac', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '9b3e7d46ac8116ff5f47f895bb06e89cd49c4e03', label: "blue", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '94c3384e546bcae55d5634064a37436b4cdaab0f', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: '7e3fe503559fa6865b824fd7f93dfdf8ed368f34', class: "flex" }, hAsync("div", { key: '4ed98a3b92ba8b73e3cd67dec625b4b8dfb34ee1', class: "w-full" }, hAsync("ul", { key: '0ccfd018568eb834ae05771976122736f5944205', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'd2cef9f5bd8ce7fb103e22a8964cee88853c1162', class: "w-full" }, hAsync("ul", { key: '24301ce590bd1530316f351202bd76fafaa7dda5', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '748852527301ab6465b593f5f271dc6dcef9d198', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'f035467c04170412a1b06f05b8675b6be57e8aa2', label: "redish", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '6e4eb577c6582a160b8282b54a6edfc58f20926b', label: "support", size: "small", intent: "blueish", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: '9209fd1ab3092cd21dd81a3328171c8de4fb8bca', class: "flex" }, hAsync("div", { key: 'dc71b931a70fbd31a4f72814b23a1d97933bc721', class: "w-full" }, hAsync("ul", { key: 'd3f6f25439b6fbc8e8c08b39bf46de9ce52482fa', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, red$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '78d64d48a72836043c53e485269402bf566a5d98', class: "w-full" }, hAsync("ul", { key: '6eb824d03f4d0e2d3966963c899473e242b31dc6', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
2522
2522
  }
2523
2523
  static get cmpMeta() { return {
2524
2524
  "$flags$": 0,
@@ -2530,127 +2530,210 @@ class CorrectUseOfColors {
2530
2530
  }; }
2531
2531
  }
2532
2532
 
2533
- const edsAccordionCss = "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}.min-h-36{min-height:2.25rem}.min-h-44{min-height:2.75rem}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.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}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-20{padding-top:1.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.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)}.text-left{text-align:left}.text-center{text-align:center}";
2534
- var EdsAccordionStyle0 = edsAccordionCss;
2533
+ [
2534
+ ['eds-header', {
2535
+ 'home-url': '/',
2536
+ 'user-feature': 'false',
2537
+ 'keycloak-url': 'http://localhost:8080',
2538
+ 'keycloak-realm': 'nigeor-realm',
2539
+ 'keycloak-client-id': 'stencil-app',
2540
+ links: JSON.stringify([
2541
+ { label: 'About', url: '/about' },
2542
+ { label: 'Focus Areas', url: '/focus-areas' },
2543
+ { label: 'News & Events', url: '/news-and-events' },
2544
+ { label: 'Contact', url: '/contact' },
2545
+ ]),
2546
+ }],
2547
+ ['eds-block-break', {}],
2548
+ ['eds-footer', {}],
2549
+ ['eds-block-break', {}],
2550
+ ['eds-tabs', {
2551
+ tabs: JSON.stringify([
2552
+ { label: 'Home', url: '#', active: true, ariaLabel: 'Home Tab' },
2553
+ { label: 'Profile', url: '#', active: false, ariaLabel: 'Profile Tab' },
2554
+ { label: 'Settings', url: '#', active: false, ariaLabel: 'Settings Tab' },
2555
+ ]),
2556
+ }],
2557
+ ['eds-block-break', {}],
2558
+ ['eds-card-section', {
2559
+ cards: JSON.stringify([
2560
+ { title: 'Card 1', description: 'Description 1', tags: 'tag1, tag2', url: '/link1' },
2561
+ { title: 'Card 2', description: 'Description 2', tags: 'tag3', url: '/link2' },
2562
+ ]),
2563
+ cols: '4',
2564
+ }],
2565
+ ['eds-block-break', {}],
2566
+ ['eds-link', {
2567
+ label: 'Main Link Click Me',
2568
+ url: 'https://example.com',
2569
+ intent: 'primary'
2570
+ }],
2571
+ ['eds-block-break', {}],
2572
+ ['eds-avatar', { 'first-name': 'John', 'last-name': 'Doe' }],
2573
+ ['eds-block-break', {}],
2574
+ ['eds-breadcrumb', {
2575
+ items: JSON.stringify([
2576
+ { label: 'Home', url: '/' },
2577
+ { label: 'Products', url: '/products' },
2578
+ { label: 'Electronics', url: '/products/electronics' },
2579
+ { label: 'Laptops', url: '/products/electronics/laptops' },
2580
+ ]),
2581
+ intent: 'primary',
2582
+ }],
2583
+ ['eds-block-break', {}],
2584
+ ['eds-card-generic', {
2585
+ 'card-title': 'The Future of AI in Healthcare',
2586
+ url: 'https://example.com/ai-healthcare',
2587
+ description: 'Explore how AI is transforming the healthcare industry with cutting-edge technologies and research.',
2588
+ avatar: 'https://files.ebrains.eu/img/686e0edc-f3be-4d79-aa02-373c32c08d65/ebrains-logo-high-resolution.png?fit=max&q=80&fm=webp&crop=879%2C879%2C597%2C0&w=200',
2589
+ 'short-abbreviation': 'AI',
2590
+ 'heading-level': 'h2',
2591
+ tags: 'Technology,AI,Healthcare',
2592
+ tiny: 'false',
2593
+ bg: 'true',
2594
+ 'with-hover': 'true',
2595
+ }],
2596
+ ['eds-block-break', {}],
2597
+ ['eds-code-block', {
2598
+ code: 'Hello',
2599
+ language: 'javascript',
2600
+ }],
2601
+ ['eds-block-break', {}],
2602
+ ['eds-dropdown', {
2603
+ 'aria-label': 'More options',
2604
+ 'rounded-btn': 'true',
2605
+ 'dropdown-pos': 'right',
2606
+ 'dropdown-offset': 'true',
2607
+ }],
2608
+ ['eds-block-break', {}],
2609
+ ['eds-form', {
2610
+ name: 'extended-form',
2611
+ endpoint: 'http://127.0.0.1:5000/api/data',
2612
+ fields: JSON.stringify([
2613
+ { name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10 },
2614
+ { name: 'email', label: 'Email', type: 'email', required: true },
2615
+ { name: 'number', label: 'Number', type: 'number', required: true },
2616
+ { name: 'password', label: 'Password', type: 'password', required: true, maxlength: 50 },
2617
+ { name: 'date', label: 'Date', type: 'date', required: true },
2618
+ { name: 'file', label: 'File', type: 'file', required: false },
2619
+ { name: 'hiddenField', type: 'hidden', value: 'hiddenValue' },
2620
+ { name: 'bio', label: 'Biography', type: 'textarea', required: true, maxlength: 300 },
2621
+ { name: 'role', label: 'Role', type: 'select', required: true, options: [
2622
+ { label: 'Admin', value: 'admin' },
2623
+ { label: 'Editor', value: 'editor' },
2624
+ { label: 'Viewer', value: 'viewer' },
2625
+ ] },
2626
+ { name: 'preferences', type: 'checkbox', label: 'Select your preferences', options: [
2627
+ { value: 'option1', label: 'Option 1' },
2628
+ { value: 'option2', label: 'Option 2' },
2629
+ { value: 'option3', label: 'Option 3' },
2630
+ ], required: true },
2631
+ { name: 'gender', type: 'radio', label: 'Select your gender', options: [
2632
+ { value: 'female', label: 'Female' },
2633
+ { value: 'male', label: 'Male' },
2634
+ ], required: true },
2635
+ { name: 'newsletter', label: 'newsletter', type: 'checkbox', value: 'subscribe', required: true },
2636
+ { name: 'range', label: 'Range bar', type: 'range', min: '0', max: '10', step: '1', required: true },
2637
+ ]),
2638
+ 'success-message': 'Form submitted successfully!',
2639
+ 'error-message': 'Please fix the errors in the form.',
2640
+ 'submit-btn': 'true',
2641
+ 'small-alert': 'false',
2642
+ 'set-form-url': 'true',
2643
+ }],
2644
+ ['eds-block-break', {}],
2645
+ ['eds-img', {
2646
+ src: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg',
2647
+ alt: 'EBRAINS Bernstein Conference',
2648
+ width: '400',
2649
+ height: '225',
2650
+ srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1080w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1440w',
2651
+ sizes: '(max-width: 600px) 100vw, (max-width: 1200px) 50vw, 33vw',
2652
+ formats: JSON.stringify([
2653
+ { type: 'image/webp', srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.webp 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.webp 1080w' },
2654
+ { type: 'image/jpeg', srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1080w' },
2655
+ ]),
2656
+ lazyload: 'true',
2657
+ 'with-bg': 'true',
2658
+ }],
2659
+ ['eds-block-break', {}],
2660
+ ['eds-input-field', {
2661
+ name: 'username',
2662
+ 'input-id': 'username',
2663
+ label: 'Username',
2664
+ placeholder: 'Enter your username',
2665
+ required: 'true',
2666
+ hint: 'Your unique username',
2667
+ message: 'This field is required',
2668
+ 'error-message': 'Invalid username',
2669
+ type: 'text',
2670
+ }],
2671
+ ['eds-block-break', {}],
2672
+ ['eds-pagination', {
2673
+ 'current-page': '1',
2674
+ 'last-page': '10',
2675
+ 'per-page': '5',
2676
+ total: '50',
2677
+ mode: 'default',
2678
+ }],
2679
+ ['eds-block-break', {}],
2680
+ ['eds-progress-bar', { value: '75' }],
2681
+ ['eds-table', {
2682
+ data: JSON.stringify([
2683
+ { Property: 'username', Type: 'string', Required: 'Yes' },
2684
+ { Property: 'password', Type: 'string', Required: 'Yes' },
2685
+ { Property: 'email', Type: 'string', Required: 'No' },
2686
+ ]),
2687
+ config: JSON.stringify({
2688
+ Type: { format: 'uppercase' },
2689
+ Property: { format: 'code' },
2690
+ Required: { hidden: true },
2691
+ }),
2692
+ }],
2693
+ ['eds-block-break', {}],
2694
+ ['eds-tag', { label: 'Default Tag', intent: 'default' }],
2695
+ ];
2535
2696
 
2536
- /**
2537
- * `EdsAccordion` is a flexible, interactive component for expanding and collapsing content sections.
2538
- * It features a customizable header, optional description, and content area that can be dynamically expanded.
2539
- * This component supports a range of configurations, including background toggling, minimum height adjustments,
2540
- * and various styles to suit different layouts and display requirements.
2541
- *
2542
- * It includes an optional button or link element within the header, which can be customized for additional interactions.
2543
- *
2544
- * The `accordionChange` event is emitted when the accordion's expanded state changes, allowing parent components
2545
- * to track its open/close status.
2546
- *
2547
- * Key features include:
2548
- * - Header with customizable title
2549
- * - Expandable/collapsible content section
2550
- * - Background color switch on expand and hover
2551
- * - Compact layout option with reduced header height
2552
- * - Adjustable content height and text clamping
2553
- * - Emitted events for tracking changes in expansion state and context
2554
- */
2555
- class EdsAccordion {
2556
- constructor(hostRef) {
2557
- registerInstance(this, hostRef);
2558
- this.accordionChange = createEvent(this, "accordionChange", 7);
2559
- /**
2560
- * Handles the click event on the accordion header to toggle expansion.
2561
- * Toggles the `isExpanded` state and emits the `accordionChange` event.
2562
- */
2563
- this.handleClick = () => {
2564
- this.isExpanded = !this.isExpanded;
2565
- this.accordionChange.emit(this.isExpanded);
2566
- this.setPanelHeight();
2567
- };
2568
- /**
2569
- * Calculates and sets the panel height based on the content height
2570
- * and adjusts based on the `shortContent` and `isExpanded` states.
2571
- */
2572
- this.setPanelHeight = () => {
2573
- if (this.childContentRef) {
2574
- this.shortContent =
2575
- this.wrapperRef.scrollWidth > 830 && !this.description
2576
- ? this.childContentRef.scrollHeight <= 80
2577
- : this.childContentRef.scrollHeight <= 20;
2578
- this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0;
2579
- }
2580
- };
2581
- this.title = undefined;
2582
- this.description = undefined;
2583
- this.switchBg = true;
2584
- this.expanded = false;
2585
- this.clampText = true;
2586
- this.minHeightContent = false;
2587
- this.isExpanded = this.expanded;
2588
- this.panelHeight = 0;
2589
- this.shortContent = false;
2590
- }
2591
- /**
2592
- * Lifecycle method that sets up the initial panel height and adds a resize event listener
2593
- * to recalculate height on window resize.
2594
- */
2595
- componentDidLoad() {
2596
- this.setPanelHeight();
2597
- // Emit context for each eds-link element after the component is fully loaded
2598
- const btn = this.el.shadowRoot.querySelector('eds-button');
2599
- this.emitContext(btn);
2600
- window.addEventListener('resize', this.setPanelHeight);
2697
+ // Helper function to check if Matomo is initialized
2698
+ function isMatomoAvailable() {
2699
+ return typeof window !== 'undefined' && typeof window._paq !== 'undefined';
2700
+ }
2701
+ // General function to push data to Matomo
2702
+ function pushToMatomo(action, ...args) {
2703
+ //console.log('Pushing Matomo')
2704
+ if (isMatomoAvailable()) {
2705
+ window._paq.push([action, ...args]);
2601
2706
  }
2602
- /**
2603
- * Emits a custom event called `parentContext` for a given link element.
2604
- * This event provides context information about the breadcrumb component.
2605
- *
2606
- * @param linkElement - The link element to which the event will be dispatched.
2607
- */
2608
- emitContext(linkElement) {
2609
- const event = new CustomEvent('parentContext', {
2610
- detail: {
2611
- componentName: this.el.tagName.toLowerCase(),
2612
- identifier: null
2613
- }
2614
- });
2615
- linkElement.dispatchEvent(event);
2707
+ else {
2708
+ console.warn('Matomo is not available or not initialized.');
2616
2709
  }
2617
- /**
2618
- * Lifecycle method that cleans up the resize event listener when the component is removed.
2619
- */
2620
- disconnectedCallback() {
2621
- window.removeEventListener('resize', this.setPanelHeight);
2710
+ }
2711
+ // Function to send analytics data
2712
+ function sendAnalytics(eventData) {
2713
+ var _a;
2714
+ if (!isMatomoAvailable()) {
2715
+ console.warn('Matomo is not available or not initialized.');
2716
+ //console.log({ ...eventData });
2717
+ return;
2622
2718
  }
2623
- /**
2624
- * Renders the accordion structure, including header, content, description, and any slotted content.
2625
- * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
2626
- */
2627
- render() {
2628
- const minHeightContentClass = this.minHeightContent ? 'min-h-56' : '';
2629
- return (hAsync("div", { key: '1f8ea188c4b39f6d1a8d10cdbf43d3df88d1281f', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
2630
- ${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
2631
- ${this.switchBg ? 'hover:bg-inverse' : ''}
2632
- ${minHeightContentClass}` }, hAsync("h3", { key: '4490bdc1a18b99850e8db8ae1c38fcb37912ec0d', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), hAsync("div", { key: '82df433a9cc6805a735300fd1bb52f41c639c992', class: "ml-auto" }, hAsync("eds-button", { key: '9965d5eecfa02fbea08c23c44d325417767f6495', id: "accordionId", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-controls": "accordionId", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), hAsync("div", { key: '7ab8d2d07d55fa05c5e5647d1d00d1165f0d40ce', class: `w-full` }, this.description ? (hAsync("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, hAsync("section", { key: 'cb122dd5433d7012cba6f3769f79e92a155c45d7', id: "sectionId", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, hAsync("div", { key: '0c2e1d9b38f21f0cb7f50aa3923edcc448418e3f', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, hAsync("span", { key: 'd119c88d54e8d5e83d4cc3d4d16d1cd53d689bc7', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, hAsync("slot", { key: 'b2a6917ec65bc808389a2d1c77cd1183f00cbaa1' })))))));
2719
+ // Conditionally build the name field
2720
+ const nameParts = [];
2721
+ if ((_a = eventData.parentContext) === null || _a === void 0 ? void 0 : _a.componentName) {
2722
+ nameParts.push(eventData.parentContext.componentName);
2723
+ }
2724
+ nameParts.push(eventData.tag || 'unknown-tag');
2725
+ nameParts.push(eventData.name || 'unknown-name');
2726
+ const name = nameParts.join('/');
2727
+ //console.log('trackEvent', eventData.category, eventData.action, name)
2728
+ pushToMatomo('trackEvent', eventData.category, eventData.action, name);
2729
+ console.log(Object.assign({}, eventData));
2730
+ }
2731
+ // Function to opt-in the user
2732
+ function matomoOptIn() {
2733
+ if (isMatomoAvailable()) {
2734
+ window._paq.push(['rememberConsentGiven']);
2735
+ console.log('User has opted in to tracking');
2633
2736
  }
2634
- get el() { return getElement(this); }
2635
- static get style() { return EdsAccordionStyle0; }
2636
- static get cmpMeta() { return {
2637
- "$flags$": 9,
2638
- "$tagName$": "eds-accordion",
2639
- "$members$": {
2640
- "title": [1],
2641
- "description": [1],
2642
- "switchBg": [4, "switch-bg"],
2643
- "expanded": [4],
2644
- "clampText": [4, "clamp-text"],
2645
- "minHeightContent": [4, "min-height-content"],
2646
- "isExpanded": [32],
2647
- "panelHeight": [32],
2648
- "shortContent": [32]
2649
- },
2650
- "$listeners$": undefined,
2651
- "$lazyBundleId$": "-",
2652
- "$attrsToReflect$": []
2653
- }; }
2654
2737
  }
2655
2738
 
2656
2739
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
@@ -2698,455 +2781,360 @@ const cva = (base, config)=>{
2698
2781
  };
2699
2782
  };
2700
2783
 
2701
- 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";
2702
- var EdsAlertStyle0 = edsAlertCss;
2703
-
2704
- const alertStyles = cva(['w-full bg-dark rounded-lg border-inside after:border-softest after:rounded-lg'], {
2784
+ const GRADIANT_TOKENS = ['green', 'yellow', 'among-blue', 'purple'];
2785
+ const gradientBGColorVariants = cva([], {
2705
2786
  variants: {
2706
- intent: {
2707
- default: '',
2708
- warning: 'bg-warning',
2709
- error: 'bg-error',
2710
- success: 'bg-success'
2711
- },
2787
+ color: GRADIANT_TOKENS.reduce((acc, token) => (Object.assign(Object.assign({}, acc), { [token]: '' })), {}),
2712
2788
  direction: {
2713
- vertical: 'space-y-12',
2714
- horizontal: 'flex flex-row items-center justify-between gap-x-12'
2789
+ top: '',
2790
+ bottom: ''
2715
2791
  },
2716
- withBtn: {
2717
- false: '',
2718
- true: ''
2792
+ pseudo: {
2793
+ true: 'before:effect-opacity effect-bg-behind',
2794
+ false: ''
2795
+ },
2796
+ hover: {
2797
+ true: 'before:opacity-0 hover:before:opacity-100',
2798
+ false: ''
2719
2799
  }
2720
2800
  },
2721
2801
  compoundVariants: [
2802
+ // region GREEN
2722
2803
  {
2723
- direction: 'horizontal',
2724
- withBtn: true,
2725
- class: 'px-20 pr-12 py-12'
2804
+ color: 'green',
2805
+ direction: 'top',
2806
+ pseudo: true,
2807
+ className: 'before:bg-gradient-01-top'
2726
2808
  },
2727
2809
  {
2728
- direction: 'horizontal',
2729
- withBtn: false,
2730
- class: 'p-20'
2810
+ color: 'green',
2811
+ pseudo: true,
2812
+ direction: 'bottom',
2813
+ className: 'before:bg-gradient-01-bottom'
2731
2814
  },
2732
2815
  {
2733
- direction: 'vertical',
2734
- withBtn: true,
2735
- class: 'p-16'
2816
+ color: 'green',
2817
+ direction: 'top',
2818
+ pseudo: false,
2819
+ className: 'bg-gradient-01-top'
2736
2820
  },
2737
2821
  {
2738
- direction: 'vertical',
2739
- withBtn: false,
2740
- class: 'px-12 py-20'
2822
+ color: 'green',
2823
+ pseudo: false,
2824
+ direction: 'bottom',
2825
+ className: 'bg-gradient-01-bottom'
2826
+ },
2827
+ // endregion
2828
+ // region YELLOW
2829
+ {
2830
+ color: 'yellow',
2831
+ direction: 'top',
2832
+ pseudo: true,
2833
+ className: 'before:bg-gradient-02-top'
2834
+ },
2835
+ {
2836
+ color: 'yellow',
2837
+ direction: 'bottom',
2838
+ pseudo: true,
2839
+ className: 'before:bg-gradient-02-bottom'
2840
+ },
2841
+ {
2842
+ color: 'yellow',
2843
+ direction: 'top',
2844
+ pseudo: false,
2845
+ className: 'bg-gradient-02-top'
2846
+ },
2847
+ {
2848
+ color: 'yellow',
2849
+ direction: 'bottom',
2850
+ pseudo: false,
2851
+ className: 'bg-gradient-02-bottom'
2852
+ },
2853
+ // endregion
2854
+ // region PURPLE
2855
+ {
2856
+ color: 'purple',
2857
+ direction: 'top',
2858
+ pseudo: true,
2859
+ class: 'before:bg-gradient-03-top'
2860
+ },
2861
+ {
2862
+ color: 'purple',
2863
+ direction: 'bottom',
2864
+ pseudo: true,
2865
+ class: 'before:bg-gradient-03-bottom'
2866
+ },
2867
+ {
2868
+ color: 'purple',
2869
+ direction: 'top',
2870
+ pseudo: false,
2871
+ class: 'bg-gradient-03-top'
2872
+ },
2873
+ {
2874
+ color: 'purple',
2875
+ direction: 'bottom',
2876
+ pseudo: false,
2877
+ class: 'bg-gradient-03-bottom'
2878
+ },
2879
+ // endregion
2880
+ // region AMONG-BLUE
2881
+ {
2882
+ color: 'among-blue',
2883
+ direction: 'top',
2884
+ pseudo: true,
2885
+ class: 'before:bg-gradient-04-top'
2886
+ },
2887
+ {
2888
+ color: 'among-blue',
2889
+ direction: 'bottom',
2890
+ pseudo: true,
2891
+ class: 'before:bg-gradient-04-bottom'
2892
+ },
2893
+ {
2894
+ color: 'among-blue',
2895
+ direction: 'top',
2896
+ pseudo: false,
2897
+ class: 'bg-gradient-04-top'
2898
+ },
2899
+ {
2900
+ color: 'among-blue',
2901
+ direction: 'bottom',
2902
+ pseudo: false,
2903
+ class: 'bg-gradient-04-bottom'
2741
2904
  }
2905
+ // endregion
2742
2906
  ],
2743
2907
  defaultVariants: {
2744
- intent: 'default',
2745
- direction: 'horizontal'
2908
+ direction: 'top',
2909
+ pseudo: true
2746
2910
  }
2747
2911
  });
2912
+
2913
+ const edsAccordionCss = "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}.min-h-36{min-height:2.25rem}.min-h-44{min-height:2.75rem}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.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}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-20{padding-top:1.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.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)}.text-left{text-align:left}.text-center{text-align:center}";
2914
+ var EdsAccordionStyle0 = edsAccordionCss;
2915
+
2748
2916
  /**
2749
- * `EdsAlert` is a versatile alert component designed for displaying contextual messages.
2750
- * This component offers various configuration options to support different use cases, making it ideal for notifying users of information, warnings, errors, or successes.
2917
+ * `EdsAccordion` is a flexible, interactive component for expanding and collapsing content sections.
2918
+ * It features a customizable header, optional description, and content area that can be dynamically expanded.
2919
+ * This component supports a range of configurations, including background toggling, minimum height adjustments,
2920
+ * and various styles to suit different layouts and display requirements.
2751
2921
  *
2752
- * Key features include:
2753
- * - Customizable alert message with different visual intents (`default`, `warning`, `error`, `success`).
2754
- * - Configurable layout direction (`horizontal` or `vertical`) to accommodate various design requirements.
2755
- * - Optional pressable element (link or button) that allows users to interact with the alert.
2756
- * - Emits context events to allow parent components to track alert interactions.
2922
+ * It includes an optional button or link element within the header, which can be customized for additional interactions.
2757
2923
  *
2758
- * This component is styled with predefined CSS classes to ensure consistent appearance across different alert types and layout configurations.
2924
+ * The `accordionChange` event is emitted when the accordion's expanded state changes, allowing parent components
2925
+ * to track its open/close status.
2926
+ *
2927
+ * Key features include:
2928
+ * - Header with customizable title
2929
+ * - Expandable/collapsible content section
2930
+ * - Background color switch on expand and hover
2931
+ * - Compact layout option with reduced header height
2932
+ * - Adjustable content height and text clamping
2933
+ * - Emitted events for tracking changes in expansion state and context
2759
2934
  */
2760
- class EdsAlert {
2935
+ class EdsAccordion {
2761
2936
  constructor(hostRef) {
2762
2937
  registerInstance(this, hostRef);
2763
- this.message = undefined;
2764
- this.pressableLabel = undefined;
2765
- this.pressableUrl = undefined;
2766
- this.direction = 'horizontal';
2767
- this.intent = 'default';
2768
- this.withBtn = false;
2769
- }
2770
- componentWillLoad() {
2771
- this.withBtn = Boolean(this.pressableLabel);
2938
+ this.accordionChange = createEvent(this, "accordionChange", 7);
2939
+ /**
2940
+ * Handles the click event on the accordion header to toggle expansion.
2941
+ * Toggles the `isExpanded` state and emits the `accordionChange` event.
2942
+ */
2943
+ this.handleClick = () => {
2944
+ var _a;
2945
+ this.isExpanded = !this.isExpanded;
2946
+ this.accordionChange.emit(this.isExpanded);
2947
+ this.setPanelHeight();
2948
+ sendAnalytics({
2949
+ category: 'ui-component',
2950
+ parentContext: null,
2951
+ tag: this.el.tagName.toLowerCase(),
2952
+ name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
2953
+ action: this.isExpanded ? 'expanded' : 'collapsed'
2954
+ });
2955
+ };
2956
+ /**
2957
+ * Calculates and sets the panel height based on the content height
2958
+ * and adjusts based on the `shortContent` and `isExpanded` states.
2959
+ */
2960
+ this.setPanelHeight = () => {
2961
+ if (this.childContentRef) {
2962
+ this.shortContent =
2963
+ this.wrapperRef.scrollWidth > 830 && !this.description
2964
+ ? this.childContentRef.scrollHeight <= 80
2965
+ : this.childContentRef.scrollHeight <= 20;
2966
+ this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0;
2967
+ }
2968
+ };
2969
+ this.title = undefined;
2970
+ this.description = undefined;
2971
+ this.switchBg = true;
2972
+ this.expanded = false;
2973
+ this.clampText = true;
2974
+ this.minHeightContent = false;
2975
+ this.isExpanded = this.expanded;
2976
+ this.panelHeight = 0;
2977
+ this.shortContent = false;
2772
2978
  }
2979
+ /**
2980
+ * Lifecycle method that sets up the initial panel height and adds a resize event listener
2981
+ * to recalculate height on window resize.
2982
+ */
2773
2983
  componentDidLoad() {
2774
- // Query all 'eds-link' elements, including those inside shadow DOM
2775
- const links = this.el.shadowRoot.querySelectorAll('eds-link');
2776
- links.forEach((link) => {
2777
- this.emitContext(link);
2778
- });
2984
+ this.setPanelHeight();
2985
+ window.addEventListener('resize', this.setPanelHeight);
2779
2986
  }
2780
- emitContext(linkElement) {
2781
- const event = new CustomEvent('parentContext', {
2782
- detail: {
2783
- componentName: this.el.tagName.toLowerCase(),
2784
- identifier: null
2785
- }
2786
- });
2787
- linkElement.dispatchEvent(event);
2987
+ /**
2988
+ * Lifecycle method that cleans up the resize event listener when the component is removed.
2989
+ */
2990
+ disconnectedCallback() {
2991
+ window.removeEventListener('resize', this.setPanelHeight);
2788
2992
  }
2993
+ /**
2994
+ * Renders the accordion structure, including header, content, description, and any slotted content.
2995
+ * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
2996
+ */
2789
2997
  render() {
2790
- return (hAsync("div", { key: '99518cd34cbfc04691f2f827b53105ef88c03af8', class: alertStyles({
2791
- intent: this.intent,
2792
- direction: this.direction,
2793
- withBtn: this.withBtn
2794
- }), role: "alert" }, hAsync("p", { key: '7eca97c849473bb4c8472d11243dc5eb9dded61f', class: "f-ui-01 py-8" }, this.message), this.withBtn &&
2795
- (this.pressableUrl ? (hAsync("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary" })) : null)));
2998
+ const minHeightContentClass = this.minHeightContent ? 'min-h-56' : '';
2999
+ return (hAsync("div", { key: '14811b7517511999f97dc8d486f6c1138d89538b', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
3000
+ ${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
3001
+ ${this.switchBg ? 'hover:bg-inverse' : ''}
3002
+ ${minHeightContentClass}` }, hAsync("h3", { key: 'a55ab98b74555ab2ff470d824106d3ff2e9b7fec', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), hAsync("div", { key: 'b3a76425eed4d05404a51d8991070a12cd1609a1', class: "ml-auto" }, hAsync("eds-button", { key: '06ddefe21175e4bc28ef4477f5fd552689e1cd31', id: "accordionId", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-controls": "accordionId", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), hAsync("div", { key: '7330f2824689a61e82c42f00f79e12d4148df2f9', class: `w-full` }, this.description ? (hAsync("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, hAsync("section", { key: '533e8014f43ed6d50424f02bfb793456187badd9', id: "sectionId", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, hAsync("div", { key: '02a0fa8a79942cd2bc760eb62da9cb910252b6cd', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, hAsync("span", { key: '33edc6bc83eb4eaa49ae5482841ae642a60ffde8', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, hAsync("slot", { key: 'bbbc3fa2b8fc5be7f55d6a45f0f37dc569706ac8' })))))));
2796
3003
  }
2797
3004
  get el() { return getElement(this); }
2798
- static get style() { return EdsAlertStyle0; }
3005
+ static get style() { return EdsAccordionStyle0; }
2799
3006
  static get cmpMeta() { return {
2800
3007
  "$flags$": 9,
2801
- "$tagName$": "eds-alert",
3008
+ "$tagName$": "eds-accordion",
2802
3009
  "$members$": {
2803
- "message": [1],
2804
- "pressableLabel": [1, "pressable-label"],
2805
- "pressableUrl": [1, "pressable-url"],
2806
- "direction": [1],
2807
- "intent": [1],
2808
- "withBtn": [32]
2809
- },
2810
- "$listeners$": undefined,
2811
- "$lazyBundleId$": "-",
2812
- "$attrsToReflect$": []
2813
- }; }
2814
- }
2815
-
2816
- [
2817
- ['eds-header', {
2818
- 'home-url': '/',
2819
- 'user-feature': 'false',
2820
- 'keycloak-url': 'http://localhost:8080',
2821
- 'keycloak-realm': 'nigeor-realm',
2822
- 'keycloak-client-id': 'stencil-app',
2823
- links: JSON.stringify([
2824
- { label: 'About', url: '/about' },
2825
- { label: 'Focus Areas', url: '/focus-areas' },
2826
- { label: 'News & Events', url: '/news-and-events' },
2827
- { label: 'Contact', url: '/contact' },
2828
- ]),
2829
- }],
2830
- ['eds-block-break', {}],
2831
- ['eds-footer', {}],
2832
- ['eds-block-break', {}],
2833
- ['eds-tabs', {
2834
- tabs: JSON.stringify([
2835
- { label: 'Home', url: '#', active: true, ariaLabel: 'Home Tab' },
2836
- { label: 'Profile', url: '#', active: false, ariaLabel: 'Profile Tab' },
2837
- { label: 'Settings', url: '#', active: false, ariaLabel: 'Settings Tab' },
2838
- ]),
2839
- }],
2840
- ['eds-block-break', {}],
2841
- ['eds-card-section', {
2842
- cards: JSON.stringify([
2843
- { title: 'Card 1', description: 'Description 1', tags: 'tag1, tag2', url: '/link1' },
2844
- { title: 'Card 2', description: 'Description 2', tags: 'tag3', url: '/link2' },
2845
- ]),
2846
- cols: '4',
2847
- }],
2848
- ['eds-block-break', {}],
2849
- ['eds-link', {
2850
- label: 'Main Link Click Me',
2851
- url: 'https://example.com',
2852
- intent: 'primary'
2853
- }],
2854
- ['eds-block-break', {}],
2855
- ['eds-avatar', { 'first-name': 'John', 'last-name': 'Doe' }],
2856
- ['eds-block-break', {}],
2857
- ['eds-breadcrumb', {
2858
- items: JSON.stringify([
2859
- { label: 'Home', url: '/' },
2860
- { label: 'Products', url: '/products' },
2861
- { label: 'Electronics', url: '/products/electronics' },
2862
- { label: 'Laptops', url: '/products/electronics/laptops' },
2863
- ]),
2864
- intent: 'primary',
2865
- }],
2866
- ['eds-block-break', {}],
2867
- ['eds-card-generic', {
2868
- 'card-title': 'The Future of AI in Healthcare',
2869
- url: 'https://example.com/ai-healthcare',
2870
- description: 'Explore how AI is transforming the healthcare industry with cutting-edge technologies and research.',
2871
- avatar: 'https://files.ebrains.eu/img/686e0edc-f3be-4d79-aa02-373c32c08d65/ebrains-logo-high-resolution.png?fit=max&q=80&fm=webp&crop=879%2C879%2C597%2C0&w=200',
2872
- 'short-abbreviation': 'AI',
2873
- 'heading-level': 'h2',
2874
- tags: 'Technology,AI,Healthcare',
2875
- tiny: 'false',
2876
- bg: 'true',
2877
- 'with-hover': 'true',
2878
- }],
2879
- ['eds-block-break', {}],
2880
- ['eds-code-block', {
2881
- code: 'Hello',
2882
- language: 'javascript',
2883
- }],
2884
- ['eds-block-break', {}],
2885
- ['eds-dropdown', {
2886
- 'aria-label': 'More options',
2887
- 'rounded-btn': 'true',
2888
- 'dropdown-pos': 'right',
2889
- 'dropdown-offset': 'true',
2890
- }],
2891
- ['eds-block-break', {}],
2892
- ['eds-form', {
2893
- name: 'extended-form',
2894
- endpoint: 'http://127.0.0.1:5000/api/data',
2895
- fields: JSON.stringify([
2896
- { name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10 },
2897
- { name: 'email', label: 'Email', type: 'email', required: true },
2898
- { name: 'number', label: 'Number', type: 'number', required: true },
2899
- { name: 'password', label: 'Password', type: 'password', required: true, maxlength: 50 },
2900
- { name: 'date', label: 'Date', type: 'date', required: true },
2901
- { name: 'file', label: 'File', type: 'file', required: false },
2902
- { name: 'hiddenField', type: 'hidden', value: 'hiddenValue' },
2903
- { name: 'bio', label: 'Biography', type: 'textarea', required: true, maxlength: 300 },
2904
- { name: 'role', label: 'Role', type: 'select', required: true, options: [
2905
- { label: 'Admin', value: 'admin' },
2906
- { label: 'Editor', value: 'editor' },
2907
- { label: 'Viewer', value: 'viewer' },
2908
- ] },
2909
- { name: 'preferences', type: 'checkbox', label: 'Select your preferences', options: [
2910
- { value: 'option1', label: 'Option 1' },
2911
- { value: 'option2', label: 'Option 2' },
2912
- { value: 'option3', label: 'Option 3' },
2913
- ], required: true },
2914
- { name: 'gender', type: 'radio', label: 'Select your gender', options: [
2915
- { value: 'female', label: 'Female' },
2916
- { value: 'male', label: 'Male' },
2917
- ], required: true },
2918
- { name: 'newsletter', label: 'newsletter', type: 'checkbox', value: 'subscribe', required: true },
2919
- { name: 'range', label: 'Range bar', type: 'range', min: '0', max: '10', step: '1', required: true },
2920
- ]),
2921
- 'success-message': 'Form submitted successfully!',
2922
- 'error-message': 'Please fix the errors in the form.',
2923
- 'submit-btn': 'true',
2924
- 'small-alert': 'false',
2925
- 'set-form-url': 'true',
2926
- }],
2927
- ['eds-block-break', {}],
2928
- ['eds-img', {
2929
- src: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg',
2930
- alt: 'EBRAINS Bernstein Conference',
2931
- width: '400',
2932
- height: '225',
2933
- srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1080w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1440w',
2934
- sizes: '(max-width: 600px) 100vw, (max-width: 1200px) 50vw, 33vw',
2935
- formats: JSON.stringify([
2936
- { type: 'image/webp', srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.webp 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.webp 1080w' },
2937
- { type: 'image/jpeg', srcset: 'https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 720w, https://files.ebrains.eu/img/f999348c-beaa-40f8-ba60-230316d4a947/EBRAINS-BernsteinConference01.jpg 1080w' },
2938
- ]),
2939
- lazyload: 'true',
2940
- 'with-bg': 'true',
2941
- }],
2942
- ['eds-block-break', {}],
2943
- ['eds-input-field', {
2944
- name: 'username',
2945
- 'input-id': 'username',
2946
- label: 'Username',
2947
- placeholder: 'Enter your username',
2948
- required: 'true',
2949
- hint: 'Your unique username',
2950
- message: 'This field is required',
2951
- 'error-message': 'Invalid username',
2952
- type: 'text',
2953
- }],
2954
- ['eds-block-break', {}],
2955
- ['eds-pagination', {
2956
- 'current-page': '1',
2957
- 'last-page': '10',
2958
- 'per-page': '5',
2959
- total: '50',
2960
- mode: 'default',
2961
- }],
2962
- ['eds-block-break', {}],
2963
- ['eds-progress-bar', { value: '75' }],
2964
- ['eds-table', {
2965
- data: JSON.stringify([
2966
- { Property: 'username', Type: 'string', Required: 'Yes' },
2967
- { Property: 'password', Type: 'string', Required: 'Yes' },
2968
- { Property: 'email', Type: 'string', Required: 'No' },
2969
- ]),
2970
- config: JSON.stringify({
2971
- Type: { format: 'uppercase' },
2972
- Property: { format: 'code' },
2973
- Required: { hidden: true },
2974
- }),
2975
- }],
2976
- ['eds-block-break', {}],
2977
- ['eds-tag', { label: 'Default Tag', intent: 'default' }],
2978
- ];
2979
-
2980
- // Helper function to check if Matomo is initialized
2981
- function isMatomoAvailable() {
2982
- return typeof window !== 'undefined' && typeof window._paq !== 'undefined';
2983
- }
2984
- // General function to push data to Matomo
2985
- function pushToMatomo(action, ...args) {
2986
- console.log('Pushing Matomo');
2987
- if (isMatomoAvailable()) {
2988
- window._paq.push([action, ...args]);
2989
- }
2990
- else {
2991
- console.warn('Matomo is not available or not initialized.');
2992
- }
2993
- }
2994
- // Function to send analytics data
2995
- function sendAnalytics(eventData) {
2996
- var _a;
2997
- if (!isMatomoAvailable()) {
2998
- console.warn('Matomo is not available or not initialized.');
2999
- console.log(Object.assign({}, eventData));
3000
- return;
3001
- }
3002
- // Conditionally build the name field
3003
- const nameParts = [];
3004
- if ((_a = eventData.parentContext) === null || _a === void 0 ? void 0 : _a.componentName) {
3005
- nameParts.push(eventData.parentContext.componentName);
3006
- }
3007
- nameParts.push(eventData.tag || 'unknown-tag');
3008
- nameParts.push(eventData.name || 'unknown-name');
3009
- const name = nameParts.join('/');
3010
- //console.log('trackEvent', eventData.category, eventData.action, name)
3011
- pushToMatomo('trackEvent', eventData.category, eventData.action, name);
3012
- console.log(Object.assign({}, eventData));
3013
- }
3014
- // Function to opt-in the user
3015
- function matomoOptIn() {
3016
- if (isMatomoAvailable()) {
3017
- window._paq.push(['rememberConsentGiven']);
3018
- console.log('User has opted in to tracking');
3019
- }
3010
+ "title": [1],
3011
+ "description": [1],
3012
+ "switchBg": [4, "switch-bg"],
3013
+ "expanded": [4],
3014
+ "clampText": [4, "clamp-text"],
3015
+ "minHeightContent": [4, "min-height-content"],
3016
+ "isExpanded": [32],
3017
+ "panelHeight": [32],
3018
+ "shortContent": [32]
3019
+ },
3020
+ "$listeners$": undefined,
3021
+ "$lazyBundleId$": "-",
3022
+ "$attrsToReflect$": []
3023
+ }; }
3020
3024
  }
3021
3025
 
3022
- const GRADIANT_TOKENS = ['green', 'yellow', 'among-blue', 'purple'];
3023
- const gradientBGColorVariants = cva([], {
3026
+ 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";
3027
+ var EdsAlertStyle0 = edsAlertCss;
3028
+
3029
+ const alertStyles = cva(['w-full bg-dark rounded-lg border-inside after:border-softest after:rounded-lg'], {
3024
3030
  variants: {
3025
- color: GRADIANT_TOKENS.reduce((acc, token) => (Object.assign(Object.assign({}, acc), { [token]: '' })), {}),
3026
- direction: {
3027
- top: '',
3028
- bottom: ''
3031
+ intent: {
3032
+ default: '',
3033
+ warning: 'bg-warning',
3034
+ error: 'bg-error',
3035
+ success: 'bg-success'
3029
3036
  },
3030
- pseudo: {
3031
- true: 'before:effect-opacity effect-bg-behind',
3032
- false: ''
3037
+ direction: {
3038
+ vertical: 'space-y-12',
3039
+ horizontal: 'flex flex-row items-center justify-between gap-x-12'
3033
3040
  },
3034
- hover: {
3035
- true: 'before:opacity-0 hover:before:opacity-100',
3036
- false: ''
3041
+ withBtn: {
3042
+ false: '',
3043
+ true: ''
3037
3044
  }
3038
3045
  },
3039
3046
  compoundVariants: [
3040
- // region GREEN
3041
- {
3042
- color: 'green',
3043
- direction: 'top',
3044
- pseudo: true,
3045
- className: 'before:bg-gradient-01-top'
3046
- },
3047
- {
3048
- color: 'green',
3049
- pseudo: true,
3050
- direction: 'bottom',
3051
- className: 'before:bg-gradient-01-bottom'
3052
- },
3053
- {
3054
- color: 'green',
3055
- direction: 'top',
3056
- pseudo: false,
3057
- className: 'bg-gradient-01-top'
3058
- },
3059
- {
3060
- color: 'green',
3061
- pseudo: false,
3062
- direction: 'bottom',
3063
- className: 'bg-gradient-01-bottom'
3064
- },
3065
- // endregion
3066
- // region YELLOW
3067
- {
3068
- color: 'yellow',
3069
- direction: 'top',
3070
- pseudo: true,
3071
- className: 'before:bg-gradient-02-top'
3072
- },
3073
- {
3074
- color: 'yellow',
3075
- direction: 'bottom',
3076
- pseudo: true,
3077
- className: 'before:bg-gradient-02-bottom'
3078
- },
3079
- {
3080
- color: 'yellow',
3081
- direction: 'top',
3082
- pseudo: false,
3083
- className: 'bg-gradient-02-top'
3084
- },
3085
- {
3086
- color: 'yellow',
3087
- direction: 'bottom',
3088
- pseudo: false,
3089
- className: 'bg-gradient-02-bottom'
3090
- },
3091
- // endregion
3092
- // region PURPLE
3093
- {
3094
- color: 'purple',
3095
- direction: 'top',
3096
- pseudo: true,
3097
- class: 'before:bg-gradient-03-top'
3098
- },
3099
- {
3100
- color: 'purple',
3101
- direction: 'bottom',
3102
- pseudo: true,
3103
- class: 'before:bg-gradient-03-bottom'
3104
- },
3105
- {
3106
- color: 'purple',
3107
- direction: 'top',
3108
- pseudo: false,
3109
- class: 'bg-gradient-03-top'
3110
- },
3111
- {
3112
- color: 'purple',
3113
- direction: 'bottom',
3114
- pseudo: false,
3115
- class: 'bg-gradient-03-bottom'
3116
- },
3117
- // endregion
3118
- // region AMONG-BLUE
3119
3047
  {
3120
- color: 'among-blue',
3121
- direction: 'top',
3122
- pseudo: true,
3123
- class: 'before:bg-gradient-04-top'
3048
+ direction: 'horizontal',
3049
+ withBtn: true,
3050
+ class: 'px-20 pr-12 py-12'
3124
3051
  },
3125
3052
  {
3126
- color: 'among-blue',
3127
- direction: 'bottom',
3128
- pseudo: true,
3129
- class: 'before:bg-gradient-04-bottom'
3053
+ direction: 'horizontal',
3054
+ withBtn: false,
3055
+ class: 'p-20'
3130
3056
  },
3131
3057
  {
3132
- color: 'among-blue',
3133
- direction: 'top',
3134
- pseudo: false,
3135
- class: 'bg-gradient-04-top'
3058
+ direction: 'vertical',
3059
+ withBtn: true,
3060
+ class: 'p-16'
3136
3061
  },
3137
3062
  {
3138
- color: 'among-blue',
3139
- direction: 'bottom',
3140
- pseudo: false,
3141
- class: 'bg-gradient-04-bottom'
3063
+ direction: 'vertical',
3064
+ withBtn: false,
3065
+ class: 'px-12 py-20'
3142
3066
  }
3143
- // endregion
3144
3067
  ],
3145
3068
  defaultVariants: {
3146
- direction: 'top',
3147
- pseudo: true
3069
+ intent: 'default',
3070
+ direction: 'horizontal'
3148
3071
  }
3149
3072
  });
3073
+ /**
3074
+ * `EdsAlert` is a versatile alert component designed for displaying contextual messages.
3075
+ * This component offers various configuration options to support different use cases, making it ideal for notifying users of information, warnings, errors, or successes.
3076
+ *
3077
+ * Key features include:
3078
+ * - Customizable alert message with different visual intents (`default`, `warning`, `error`, `success`).
3079
+ * - Configurable layout direction (`horizontal` or `vertical`) to accommodate various design requirements.
3080
+ * - Optional pressable element (link or button) that allows users to interact with the alert.
3081
+ * - Emits context events to allow parent components to track alert interactions.
3082
+ *
3083
+ * This component is styled with predefined CSS classes to ensure consistent appearance across different alert types and layout configurations.
3084
+ */
3085
+ class EdsAlert {
3086
+ constructor(hostRef) {
3087
+ registerInstance(this, hostRef);
3088
+ this.message = undefined;
3089
+ this.pressableLabel = undefined;
3090
+ this.pressableUrl = undefined;
3091
+ this.direction = 'horizontal';
3092
+ this.intent = 'default';
3093
+ this.withBtn = false;
3094
+ }
3095
+ componentWillLoad() {
3096
+ this.withBtn = Boolean(this.pressableLabel);
3097
+ }
3098
+ componentDidLoad() {
3099
+ // Query all 'eds-link' elements, including those inside shadow DOM
3100
+ const lnk = this.el.shadowRoot.querySelector('eds-link');
3101
+ this.emitContext(lnk);
3102
+ }
3103
+ emitContext(linkElement) {
3104
+ const event = new CustomEvent('parentContext', {
3105
+ detail: {
3106
+ componentName: this.el.tagName.toLowerCase(),
3107
+ identifier: null
3108
+ }
3109
+ });
3110
+ linkElement.dispatchEvent(event);
3111
+ }
3112
+ render() {
3113
+ return (hAsync("div", { key: '089491004acd618827ef139a7c2ef486726cea9d', class: alertStyles({
3114
+ intent: this.intent,
3115
+ direction: this.direction,
3116
+ withBtn: this.withBtn
3117
+ }), role: "alert" }, hAsync("p", { key: '9a54555621b492f65b38ecd3cbb44660bf516e51', class: "f-ui-01 py-8" }, this.message), this.withBtn &&
3118
+ (this.pressableUrl ? (hAsync("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : null)));
3119
+ }
3120
+ get el() { return getElement(this); }
3121
+ static get style() { return EdsAlertStyle0; }
3122
+ static get cmpMeta() { return {
3123
+ "$flags$": 9,
3124
+ "$tagName$": "eds-alert",
3125
+ "$members$": {
3126
+ "message": [1],
3127
+ "pressableLabel": [1, "pressable-label"],
3128
+ "pressableUrl": [1, "pressable-url"],
3129
+ "direction": [1],
3130
+ "intent": [1],
3131
+ "withBtn": [32]
3132
+ },
3133
+ "$listeners$": undefined,
3134
+ "$lazyBundleId$": "-",
3135
+ "$attrsToReflect$": []
3136
+ }; }
3137
+ }
3150
3138
 
3151
3139
  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}";
3152
3140
  var EdsAvatarStyle0 = edsAvatarCss;
@@ -3220,7 +3208,7 @@ class EdsAvatar {
3220
3208
  * @returns {JSX.Element} The rendered avatar component.
3221
3209
  */
3222
3210
  render() {
3223
- return (hAsync("div", { key: '716279a35cc9235da991563d5f84d2dedbdae001', class: this.containerClasses }, this.picture ? (hAsync("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (hAsync("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
3211
+ return (hAsync("div", { key: '3ba716296c615d31ce7f3f41fd57e732adc530bf', class: this.containerClasses }, this.picture ? (hAsync("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (hAsync("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
3224
3212
  }
3225
3213
  static get style() { return EdsAvatarStyle0; }
3226
3214
  static get cmpMeta() { return {
@@ -3258,7 +3246,7 @@ class EdsBlockBreak {
3258
3246
  this.extraClass = '';
3259
3247
  }
3260
3248
  render() {
3261
- return hAsync("hr", { key: '85b5253d4abb77072424452d2ff6a0d631e67652', class: `border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}` });
3249
+ return hAsync("hr", { key: '58ffdece778da8f323dd130908254690b3f6c8d3', class: `border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}` });
3262
3250
  }
3263
3251
  static get style() { return EdsBlockBreakStyle0; }
3264
3252
  static get cmpMeta() { return {
@@ -3316,22 +3304,24 @@ class EdsBreadcrumb {
3316
3304
  this.maxVisibleItems = 6;
3317
3305
  }
3318
3306
  /**
3319
- * Watch for changes to the `items` prop and parse it when it changes.
3320
- * Converts the `items` string into an array of objects if it is a JSON string.
3321
- * If the format is invalid, it logs an error and sets an empty array.
3322
- *
3323
- * @param newValue - The new value for the `items` prop.
3307
+ * Watches for changes to the `items` prop and parses it.
3324
3308
  */
3325
3309
  parseItems(newValue) {
3326
- try {
3327
- if (typeof newValue === 'string') {
3328
- this.parsedItems = JSON.parse(newValue);
3310
+ if (typeof newValue === 'string') {
3311
+ try {
3312
+ const parsed = JSON.parse(newValue);
3313
+ this.parsedItems = Array.isArray(parsed) ? parsed : [];
3329
3314
  }
3330
- else {
3331
- this.parsedItems = newValue;
3315
+ catch (e) {
3316
+ // eslint-disable-next-line
3317
+ console.error('Error parsing breadcrumb items:', e);
3318
+ this.parsedItems = [];
3332
3319
  }
3333
3320
  }
3334
- catch (e) {
3321
+ else if (Array.isArray(newValue)) {
3322
+ this.parsedItems = newValue;
3323
+ }
3324
+ else {
3335
3325
  this.parsedItems = [];
3336
3326
  }
3337
3327
  }
@@ -3419,7 +3409,7 @@ class EdsBreadcrumb {
3419
3409
  */
3420
3410
  render() {
3421
3411
  const itemsToRender = this.getTruncatedItems();
3422
- return (hAsync("nav", { key: 'b3f515670374a7451981638d658f8e37f07ab10c', "aria-label": "Breadcrumb" }, hAsync("ol", { key: '999b2035f3c996016e753be3826881a11054e184', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
3412
+ return (hAsync("nav", { key: 'd66dd18fe856e4a8d82e47117d2de0288a9e3c56', "aria-label": "Breadcrumb" }, hAsync("ol", { key: 'b3a218032b312cb5973c1ca59ab7bedcfc07d676', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
3423
3413
  const isLast = index === itemsToRender.length - 1;
3424
3414
  return (hAsync("li", { class: "flex items-center" }, !item.isHidden ? (hAsync("eds-link", { label: item.label, url: item.url, intent: this.intent, current: isLast, "aria-label": item.label, size: "small", "icon-small": "false" })) : (hAsync("span", { class: "truncate px-2 ", "aria-hidden": "true" }, "...")), !isLast && !item.isHidden && (hAsync("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }))));
3425
3415
  }))));
@@ -3674,7 +3664,7 @@ class EdsButton {
3674
3664
  show: !this.loading
3675
3665
  });
3676
3666
  const ElementType = this.elementType;
3677
- return (hAsync(ElementType, { key: '04381724e90b1f71960832e705f3a1db46e3a200', "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.elementType === 'button' ? this.disabled : undefined, disabled: this.elementType === 'button' ? this.disabled : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event) }, this.label && hAsync("span", { key: 'f9b77e3a0eee7afa676fa2b7a4bdce8b3ac124cd', class: this.loading ? 'opacity-0' : '' }, this.label), this.loading && (hAsync("span", { key: '0e645a9f7c3d8e87f209ccd1a556ead976143094', class: "absolute inset-0 flex items-center justify-center" }, hAsync("span", { key: 'e7810efb3f5e9853f67afb9491f35b19509700e9', class: "loader", style: {
3667
+ return (hAsync(ElementType, { key: 'e571ed0d3e2f4aa262259afea7d44d19b5685be7', "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.elementType === 'button' ? this.disabled : undefined, disabled: this.elementType === 'button' ? this.disabled : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event) }, this.label && hAsync("span", { key: '8928bd512c6fb592ed8d2d25ad46213a5a7f4bf5', class: this.loading ? 'opacity-0' : '' }, this.label), this.loading && (hAsync("span", { key: '8fdb5947ef65c60e5cc47f04d8fbe2f8485aa6bf', class: "absolute inset-0 flex items-center justify-center" }, hAsync("span", { key: '5a6cf5d4f2debc279066cb49fa30da7b66f5532b', class: "loader", style: {
3678
3668
  border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
3679
3669
  borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
3680
3670
  } }))), this.icon ? hAsync("eds-icon-wrapper", { class: iconClasses, icon: this.icon }) : null));
@@ -3708,6 +3698,14 @@ class EdsButton {
3708
3698
  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}";
3709
3699
  var EdsCardDescStyle0 = edsCardDescCss;
3710
3700
 
3701
+ /**
3702
+ * `eds-card-desc` is a simple component that renders a card description.
3703
+ *
3704
+ * It displays a block of text with optional truncation applied using a CSS line clamp.
3705
+ * You can customize the description styling via the `descClass` property and control
3706
+ * whether or not the text is truncated and to how many lines.
3707
+ *
3708
+ */
3711
3709
  class EdsCardDesc {
3712
3710
  constructor(hostRef) {
3713
3711
  registerInstance(this, hostRef);
@@ -3720,7 +3718,7 @@ class EdsCardDesc {
3720
3718
  return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
3721
3719
  }
3722
3720
  render() {
3723
- return (hAsync("p", { key: '017c115ebff999c74cff1eaeb5c63f97e0f6554d', class: `text-light ${this.descClass}` }, hAsync("span", { key: 'f87b9b3d593e417ef351882f426d24c0b206ccab', class: this.getTruncateClass() }, this.description)));
3721
+ return (hAsync("p", { key: 'ca38bcc0895d5a0c87fda782ef455e45c4b53263', class: `text-light ${this.descClass}` }, hAsync("span", { key: '3108eec08a760b1db7ce1a7be05b68749f8f930b', class: this.getTruncateClass() }, this.description)));
3724
3722
  }
3725
3723
  static get style() { return EdsCardDescStyle0; }
3726
3724
  static get cmpMeta() { return {
@@ -3764,7 +3762,7 @@ class EdsCardGeneric {
3764
3762
  this.avatar = undefined;
3765
3763
  this.shortAbbreviation = undefined;
3766
3764
  this.headingLevel = 'h3';
3767
- this.tags = '';
3765
+ this.tags = [];
3768
3766
  this.tiny = false;
3769
3767
  this.bg = true;
3770
3768
  this.withHover = true;
@@ -3840,7 +3838,7 @@ class EdsCardGeneric {
3840
3838
  });
3841
3839
  }
3842
3840
  render() {
3843
- return (hAsync("article", { key: '17d1f00f232a4436756fa3846684bbae8c716036', class: this.articleClasses(), onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: 'd99ee1716c4e308a3ea446f0f7cedfaeac30f2ed', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (hAsync("eds-card-desc", { key: 'c5bdc76e68a8d660609630aa8184ec3a9508ab61', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (hAsync("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: 'fa993e3c60d357eb0d9a63e612bdd2bf026e7a85', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
3841
+ return (hAsync("article", { key: '5b498abfc65206fe89c9e54e673a81e1b6ed37d5', class: this.articleClasses(), onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: '61a0c6076957e39ab2a059c8587fc2e716e470bc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (hAsync("eds-card-desc", { key: '6df3c08512acf60e22001867ab5691aa19f67961', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (hAsync("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '712193c8afac6744e2512d8b760daf2c850987b9', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
3844
3842
  }
3845
3843
  get el() { return getElement(this); }
3846
3844
  static get style() { return EdsCardGenericStyle0; }
@@ -3855,7 +3853,7 @@ class EdsCardGeneric {
3855
3853
  "avatar": [1],
3856
3854
  "shortAbbreviation": [1, "short-abbreviation"],
3857
3855
  "headingLevel": [1, "heading-level"],
3858
- "tags": [8],
3856
+ "tags": [1],
3859
3857
  "tiny": [4],
3860
3858
  "bg": [4],
3861
3859
  "withHover": [4, "with-hover"],
@@ -3964,7 +3962,7 @@ var EdsCardSectionStyle0 = edsCardSectionCss;
3964
3962
  class EdsCardSection {
3965
3963
  constructor(hostRef) {
3966
3964
  registerInstance(this, hostRef);
3967
- this.cards = undefined;
3965
+ this.cards = [];
3968
3966
  this.cols = 4;
3969
3967
  }
3970
3968
  /**
@@ -3974,13 +3972,24 @@ class EdsCardSection {
3974
3972
  * @returns {any[]} An array of parsed card objects.
3975
3973
  */
3976
3974
  get parsedCards() {
3977
- try {
3978
- return JSON.parse(this.cards);
3975
+ // If it's already an array, return it immediately.
3976
+ if (Array.isArray(this.cards)) {
3977
+ return this.cards;
3978
+ }
3979
+ if (typeof this.cards === 'object') {
3980
+ return this.cards;
3979
3981
  }
3980
- catch (e) {
3981
- //console.error('Error parsing links JSON', e);
3982
- return [];
3982
+ else if (typeof this.cards === 'string') {
3983
+ try {
3984
+ return JSON.parse(this.cards);
3985
+ }
3986
+ catch (e) {
3987
+ // eslint-disable-next-line
3988
+ console.error('Error parsing cards prop:', e);
3989
+ return [];
3990
+ }
3983
3991
  }
3992
+ return [];
3984
3993
  }
3985
3994
  /**
3986
3995
  * Renders the card section as a grid layout.
@@ -3990,7 +3999,7 @@ class EdsCardSection {
3990
3999
  * @returns {JSX.Element} The rendered section containing a list of cards.
3991
4000
  */
3992
4001
  render() {
3993
- return (hAsync("section", { key: 'f8e6a03e37677623fad3c53327f6260920a5e914', class: "w-full" }, hAsync("ul", { key: '1da1bc3a5aecadd52b4d025d7d02dc252e47b34a', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (hAsync("li", { class: `grid-col-span-12 md:grid-col-span-${this.cols} flex flex-col` }, hAsync("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 })))))));
4002
+ return (hAsync("section", { key: 'da139da167230819e494a6426c2431f209a2e557', class: "w-full" }, hAsync("ul", { key: '3e8affe5c9aee91c4487480c72c437339265101a', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (hAsync("li", { class: `grid-col-span-12 md:grid-col-span-${this.cols} flex flex-col` }, hAsync("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 })))))));
3994
4003
  }
3995
4004
  static get style() { return EdsCardSectionStyle0; }
3996
4005
  static get cmpMeta() { return {
@@ -4019,7 +4028,7 @@ class EdsCardTags {
4019
4028
  this.tags = [];
4020
4029
  }
4021
4030
  render() {
4022
- return (hAsync("div", { key: 'b201dc6df5e809d828a055fb5f01fe798e228361', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
4031
+ return (hAsync("div", { key: '60a129de62d45736eba0884cc24c9738f3a0f55c', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
4023
4032
  }
4024
4033
  static get style() { return EdsCardTagsStyle0; }
4025
4034
  static get cmpMeta() { return {
@@ -4083,7 +4092,7 @@ class EdsCardTitle {
4083
4092
  render() {
4084
4093
  //const Tag = this.getTag();
4085
4094
  const Heading = this.headingLevel;
4086
- return (hAsync(Heading, { key: '8aee3bcb0e04508dd21a03ea0f695e040f37c767', class: this.getTitleClass() }, hAsync("a", { key: 'c5fa27fe86037ed6b039c156aecdf1acc9c7c8bc', 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)));
4095
+ return (hAsync(Heading, { key: 'a654161b2c53e944eaefb21be7189a5e0acb06cf', class: this.getTitleClass() }, hAsync("a", { key: '868fd911c1a8c366d726e886bfc7827487013e27', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
4087
4096
  }
4088
4097
  static get style() { return EdsCardTitleStyle0; }
4089
4098
  static get cmpMeta() { return {
@@ -4222,7 +4231,7 @@ class EdsCardWrapper {
4222
4231
  this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
4223
4232
  'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
4224
4233
  ].join(' ');
4225
- return (hAsync("article", { key: 'c52f6ad7873050c052b8c0e68b2c812d74f2ddf1', class: articleClasses }, hAsync("slot", { key: 'dac6f9fe339c8baa191ee2fd622332ddf25ec08d' }), this.hasSlot('footer') && (hAsync("div", { key: '301862515ba88f320d1af722bec6120bc3e7d723', class: "mt-auto" }, hAsync("slot", { key: '85d939150663a4586934413c9965aa92a9babeef', name: "footer" })))));
4234
+ return (hAsync("article", { key: '7c12b1d147f061e189b5dda5d517ec4eae0c3691', class: articleClasses }, hAsync("slot", { key: 'f506bad73ed38ae36931f88f7d7c5f5d94705e4f' }), this.hasSlot('footer') && (hAsync("div", { key: '783f480be269e4a2f61aa8d4396e757fe41bfcc6', class: "mt-auto" }, hAsync("slot", { key: 'f07ddaa2d930518a5c8ac82efab3cb0dd6647bdd', name: "footer" })))));
4226
4235
  }
4227
4236
  get el() { return getElement(this); }
4228
4237
  static get cmpMeta() { return {
@@ -6647,6 +6656,14 @@ Prism.languages.py = Prism.languages.python;
6647
6656
  const edsCodeBlockCss = ":host{display:block;font-family:var(--font-family, 'Courier New', monospace)}pre[class*=\"language-\"]{white-space:pre-wrap;word-break:break-word;}.language{font-weight:bold;text-transform:uppercase}pre{margin:0;border-radius:8px;color:var(--purple-200);overflow:auto}code{font-family:'Courier New', monospace}.token.keyword{color:var(--purple-500)}.token.string{color:var(--green-500)}.token.function{color:var(--cyan-500)}.token.comment{color:var(--grey-700)}.relative{position:relative}.bg-stronger{background-color:var(--grey-900)}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.p-0{padding:0rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.pl-8{padding-left:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mb-28{margin-bottom:1.75rem}.pb-16{padding-bottom:1rem}.pb-20{padding-bottom:1.25rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.pb-8{padding-bottom:0.5rem}.mt-16{margin-top:1rem}.mt-2{margin-top:0.125rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.w-20{width:1.25rem}.h-20{height:1.25rem}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-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)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}";
6648
6657
  var EdsCodeBlockStyle0 = edsCodeBlockCss;
6649
6658
 
6659
+ //import { sendAnalytics } from '@ebrains/utils';
6660
+ /**
6661
+ * A component that displays a code block with syntax highlighting.
6662
+ *
6663
+ * Uses Prism.js for syntax highlighting. Supports multiple languages such as JavaScript, HTML, CSS,
6664
+ * Python, Bash/Shell, and YAML.
6665
+ *
6666
+ * */
6650
6667
  class EdsCodeBlock {
6651
6668
  constructor(hostRef) {
6652
6669
  registerInstance(this, hostRef);
@@ -6654,12 +6671,58 @@ class EdsCodeBlock {
6654
6671
  this.language = undefined;
6655
6672
  this.copied = false;
6656
6673
  }
6674
+ /**
6675
+ * Copies the current code content to the clipboard and sets a temporary copied state.
6676
+ *
6677
+ * @private
6678
+ * @returns {void}
6679
+ */
6657
6680
  copyToClipboard() {
6658
6681
  navigator.clipboard.writeText(this.code).then(() => {
6659
6682
  this.copied = true;
6683
+ /*const analyticsName = this.createHumanFriendlyAnalyticsName(this.code, this.language);
6684
+ sendAnalytics({
6685
+ category: 'ui-component',
6686
+ parentContext: null,
6687
+ tag: this.el.tagName.toLowerCase(),
6688
+ name: analyticsName || '',
6689
+ action: 'copy'
6690
+ });*/
6660
6691
  setTimeout(() => (this.copied = false), 2000);
6661
6692
  });
6662
6693
  }
6694
+ /**
6695
+ * Utility function that creates a human-friendly analytics name based on the code and language.
6696
+ * It uses:
6697
+ * - The language (in uppercase)
6698
+ * - The number of non-empty lines in the code
6699
+ * - The first non-empty line of code (truncated to 30 characters, if needed)
6700
+ *
6701
+ * returns A descriptive analytics name.
6702
+ */
6703
+ /*private createHumanFriendlyAnalyticsName(code: string, language: string): string {
6704
+ // Count non-empty lines
6705
+ const lines = code.split('\n').filter(line => line.trim() !== '').length;
6706
+
6707
+ // Find the first non-empty line and trim it
6708
+ let firstNonEmptyLine = code.split('\n').find(line => line.trim() !== '');
6709
+ firstNonEmptyLine = firstNonEmptyLine ? firstNonEmptyLine.trim() : '';
6710
+
6711
+ // Truncate the snippet if it’s too long
6712
+ if (firstNonEmptyLine.length > 30) {
6713
+ firstNonEmptyLine = firstNonEmptyLine.substring(0, 30) + '...';
6714
+ }
6715
+
6716
+ return `CodeBlock:${language.toLowerCase()}|${lines}-line(s)|${firstNonEmptyLine.toLowerCase()}`;
6717
+ }*/
6718
+ /**
6719
+ * Returns the syntax-highlighted HTML for the code.
6720
+ * If the provided language is supported by Prism, this method returns the highlighted code.
6721
+ * Otherwise, it logs a warning and returns the raw code.
6722
+ *
6723
+ * @private
6724
+ * @returns {string} The highlighted HTML string for the code block.
6725
+ */
6663
6726
  getHighlightedCode() {
6664
6727
  if (this.language && Prism$1.languages[this.language]) {
6665
6728
  return Prism$1.highlight(this.code, Prism$1.languages[this.language], this.language);
@@ -6669,8 +6732,9 @@ class EdsCodeBlock {
6669
6732
  return this.code; // Fallback if language is not provided or unsupported
6670
6733
  }
6671
6734
  render() {
6672
- return (hAsync("div", { key: 'a99c0c8b9546b80bb3f9e21cd53c29540e8b6e06', class: "relative bg-stronger rounded-sm" }, hAsync("div", { key: '5856f9d30bb52f791e0d8bb03a6438bc01247f66', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (hAsync("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (hAsync("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, hAsync("code", { innerHTML: this.getHighlightedCode() }))), hAsync("span", { key: 'dfb0f69dbbd1032ace5afb7fe98d899816f36610', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, hAsync("eds-icon-wrapper", { key: 'b399384638265f9fcc9a824c47fe73c75bcade33', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), hAsync("span", { key: '47c2d00b2cf86b99522dbc438726e0fc57fb6a44', class: "sr-only" }, "Copy Code")), this.language && (hAsync("pre", { key: '038321e9d3d2a38963857ab8b719653f3e8385e3', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, hAsync("code", { key: '72be161dd9781d9bc2f4d9495969175f34c19249', innerHTML: this.getHighlightedCode() })))));
6735
+ return (hAsync("div", { key: '00eba9265ee17605f699d1e5606013b68e900b29', class: "relative bg-stronger rounded-sm" }, hAsync("div", { key: '1192584f04de5ff74e91c88597a3360b92053456', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (hAsync("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (hAsync("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, hAsync("code", { innerHTML: this.getHighlightedCode() }))), hAsync("span", { key: '3666b6529a16a8cc64f448527db4ddee08f977a3', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, hAsync("eds-icon-wrapper", { key: 'f222d95a2e548429f6c4de96a7646e3cef1f360f', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), hAsync("span", { key: '8c539deda773909c01a41eb04ee51380c0a9c4bb', class: "sr-only" }, "Copy Code")), this.language && (hAsync("pre", { key: '99541dedb32c543da5e780ffee4460333fbb3724', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, hAsync("code", { key: '4e6ae6fcfae3de8c1fe5ad9d22309e0c8bee0c2c', innerHTML: this.getHighlightedCode() })))));
6673
6736
  }
6737
+ get el() { return getElement(this); }
6674
6738
  static get style() { return EdsCodeBlockStyle0; }
6675
6739
  static get cmpMeta() { return {
6676
6740
  "$flags$": 9,
@@ -6687,54 +6751,76 @@ class EdsCodeBlock {
6687
6751
  }
6688
6752
 
6689
6753
  const EdsComponentsOverview = () => (hAsync("div", { class: "static-content container" },
6690
- hAsync("eds-alert", { message: "EBRAINS Design System makes it easy to implement and use its components across any framework or no framework at all. We\n accomplish this by using standardized web platform APIs and Web Components.", intent: "default" }),
6691
6754
  hAsync("h2", null, "Load the module"),
6692
6755
  hAsync("p", null,
6693
6756
  "Integrating EDSs components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the",
6694
6757
  ' ',
6695
6758
  hAsync("code", null, "head"),
6696
6759
  "."),
6697
- hAsync("eds-code-block", { code: '<script type="module" href="https://unpkg.com/@ebrains/components@0.0.1/loader"/></script>', language: "javascript", "copy-label": "Copy Code" }),
6760
+ hAsync("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }),
6698
6761
  hAsync("h2", null, "Load the styles"),
6699
6762
  hAsync("p", null,
6700
6763
  "To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the",
6701
6764
  ' ',
6702
6765
  hAsync("code", null, "head")),
6703
- hAsync("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
6766
+ hAsync("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
6767
+ hAsync("div", { class: "my-4" },
6768
+ hAsync("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })),
6704
6769
  hAsync("h2", null, "Load the fonts"),
6705
6770
  hAsync("p", null,
6706
- "To load the correct webfonts as well, add either one of these tags to the ",
6771
+ "To load the webfonts, add the tag below to the ",
6707
6772
  hAsync("code", null, "head")),
6708
6773
  hAsync("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" }),
6709
6774
  hAsync("h2", null, "Component Usage"),
6710
6775
  hAsync("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
6711
- hAsync("eds-code-block", { code: '<eds-button label="my bytton" intent="primary"></eds-button>', language: "html", "copy-label": "Copy Code" })));
6776
+ hAsync("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" })));
6712
6777
 
6713
6778
  const EdsDocsInstallation = () => (hAsync("div", null,
6714
- hAsync("p", null, "To start using the EBRAINS Design System, include the following scripts and styles in your project. You can also install it via npm for use with modern build tools."),
6715
- hAsync("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" }),
6716
- hAsync("p", null, "TBD")));
6717
-
6718
- const EdsDocsUsage = () => (hAsync("div", null,
6719
- hAsync("h1", null, "Usage with basic HTML "),
6720
- hAsync("p", null, "TBD")));
6779
+ hAsync("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
6780
+ hAsync("div", { class: "my-8" },
6781
+ hAsync("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" })),
6782
+ hAsync("div", { class: "my-8" },
6783
+ hAsync("eds-code-block", { code: "npm install @ebrains/assets", language: "html", "copy-label": "Copy Code" })),
6784
+ hAsync("div", { class: "my-8" },
6785
+ hAsync("eds-code-block", { code: "npm install @ebrains/react", language: "html", "copy-label": "Copy Code" }))));
6721
6786
 
6722
6787
  const EdsDocsReact = () => (hAsync("div", null,
6723
6788
  hAsync("h2", null, "React Wrappers"),
6724
- hAsync("p", null, "Learn how to use our components in a React Application."),
6725
- "Simple install the package below and check out the examples",
6726
- hAsync("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }),
6789
+ hAsync("p", null, "Learn how to use our components in a React Application.Simple install the package below and check out the examples"),
6790
+ hAsync("div", { class: "my-8" },
6791
+ hAsync("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })),
6727
6792
  hAsync("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" },
6728
- hAsync("eds-code-block", { code: '\nimport { EdsHeader } from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n // Add any other properties your user object might have\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n \n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n \n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n const handleTabChange = (\n event: CustomEvent<{ index: number; name: string }>,\n ) => {\n console.log(event.detail);\n setActiveTabIndex(event.detail.index);\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.addEventListener("tabChange", handleTabChange as EventListener);\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.removeEventListener(\n "tabChange",\n handleTabChange as EventListener,\n );\n };\n }, []); // Empty dependency array ensures this runs only once after mounting\n\n return (\n <div id="main">\n <EdsHeader\n home-url="/"\n user-feature={false}\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n links="[\n { "label": "About", "url": "/about" },\n { "label": "Focus Areas", "url": "/focus-areas" },\n { "label": "News & Events", "url": "/news-and-events" },\n { "label": "Contact", "url": "/contact" }\n ]"\n ></EdsHeader>\n\n <div> \n User is{" "} {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n </div>\n </div>\n );\n}\n\nexport default App;\n', language: "javascript", "copy-label": "Copy Code" }))));
6793
+ hAsync("eds-code-block", { code: '\nimport { EdsHeader } from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n \n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n \n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n const handleTabChange = (\n event: CustomEvent<{ index: number; name: string }>,\n ) => {\n console.log(event.detail);\n setActiveTabIndex(event.detail.index);\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.addEventListener("tabChange", handleTabChange as EventListener);\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n document.removeEventListener(\n "tabChange",\n handleTabChange as EventListener,\n );\n };\n }, []); // Empty dependency array ensures this runs only once after mounting\n\n return (\n <div id="main">\n <EdsHeader\n home-url="/"\n user-feature={false}\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n links="[\n { "label": "About", "url": "/about" },\n { "label": "Focus Areas", "url": "/focus-areas" },\n { "label": "News & Events", "url": "/news-and-events" },\n { "label": "Contact", "url": "/contact" }\n ]"\n ></EdsHeader>\n\n <div> \n User is{" "} {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n </div>\n </div>\n );\n}\n\nexport default App;\n', language: "javascript", "copy-label": "Copy Code" }))));
6729
6794
 
6730
6795
  const EdsDocsVue = () => (hAsync("div", null,
6731
6796
  hAsync("h2", null, "Vue Wrappers"),
6732
6797
  hAsync("p", null, "Learn how to use our components in a Vue Application."),
6798
+ hAsync("p", null, "Simply install the latest version of our NPM package."),
6733
6799
  hAsync("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }),
6734
- hAsync("p", null, "Define the custom elements"),
6800
+ hAsync("p", null, "Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your \"main.ts\" file."),
6735
6801
  hAsync("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
6802
+ hAsync("h2", null,
6803
+ "Passing Properties to Custom Elements Using the ",
6804
+ hAsync("b", null, ".prop"),
6805
+ " Modifier in Vue Wrappers"),
6806
+ hAsync("p", null, "When using Vue wrappers for Stencil components (or any custom elements), you might encounter issues with property names being altered due to HTML\u2019s attribute handling. By default, Vue binds values as HTML attributes, and HTML attributes are case-insensitive. This means that camelCase property names can be transformed into lowercase strings, which can prevent your component from receiving the correct data."),
6807
+ hAsync("h3", null,
6808
+ "How to Use the ",
6809
+ hAsync("b", null, ".prop"),
6810
+ " Modifier"),
6811
+ hAsync("p", null, "When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here\u2019s an example of how to do it:"),
6812
+ hAsync("div", { class: "mt-8" },
6813
+ hAsync("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })),
6814
+ hAsync("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
6815
+ hAsync("div", { class: "mt-8" },
6816
+ hAsync("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })),
6817
+ hAsync("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
6818
+ hAsync("p", null,
6819
+ "Using the ",
6820
+ hAsync("b", null, ".prop"),
6821
+ " modifier in Vue ensures that the data you pass to your custom elements is received as intended. It prevents Vue (and the browser) from transforming camelCase property names into lowercase attributes, thereby maintaining the correct data mapping in your Stencil components."),
6736
6822
  hAsync("eds-section-core", { "section-title": "Example Vue App", "heading-level": "h3" },
6737
- hAsync("eds-code-block", { code: '\n<template>\n <h1 className="f-heading-02">Vue App</h1>\n\n <EdsHeader \n home-url="/" \n user-feature=false \n keycloak-url="http://localhost:8080" \n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app" \n links="[\n { "label": "About", "url": "/about" },\n { "label": "Focus Areas", "url": "/focus-areas" },\n { "label": "News & Events", "url": "/news-and-events" },\n { "label": "Contact", "url": "/contact" }\n ]">\n </EdsHeader>\n\n</template>\n\n<script>\n\nimport { EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: {\n EdsHeader,\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
6823
+ hAsync("eds-code-block", { code: '\n<template>\n <EdsHeader \n :inverseHeader.prop="true"\n :menuEnabled.prop="true">\n </EdsHeader>\n</template>\n\n<script>\n\nimport { EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: {\n EdsHeader,\n }\n};\n</script>\n', language: "javascript", "copy-label": "Copy Code" }))));
6738
6824
 
6739
6825
  const EdsDocsAngular = () => (hAsync("div", null,
6740
6826
  hAsync("h2", null, "Angular Wrappers"),
@@ -6745,7 +6831,7 @@ const EdsDocsAngular = () => (hAsync("div", null,
6745
6831
  hAsync("p", null, "Angular Custom Elements Schema"),
6746
6832
  hAsync("eds-code-block", { code: 'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";', language: "javascript", "copy-label": "Copy Code" }),
6747
6833
  hAsync("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" },
6748
- hAsync("eds-code-block", { code: '\n<div class="container">\n <h1 class="f-heading-01">{{ title }}</h1>\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>', language: "javascript", "copy-label": "Copy Code" }))));
6834
+ hAsync("eds-code-block", { code: '\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>', language: "javascript", "copy-label": "Copy Code" }))));
6749
6835
 
6750
6836
  /**
6751
6837
  * @internal
@@ -6762,19 +6848,17 @@ class EdsComponentsSection {
6762
6848
  case 1:
6763
6849
  return hAsync(EdsDocsInstallation, null);
6764
6850
  case 2:
6765
- return hAsync(EdsDocsUsage, null);
6766
- case 3:
6767
6851
  return hAsync(EdsDocsReact, null);
6768
- case 4:
6852
+ case 3:
6769
6853
  return hAsync(EdsDocsVue, null);
6770
- case 5:
6854
+ case 4:
6771
6855
  return hAsync(EdsDocsAngular, null);
6772
6856
  default:
6773
6857
  return hAsync("p", null, "Content not available.");
6774
6858
  }
6775
6859
  }
6776
6860
  render() {
6777
- return hAsync("div", { key: 'faa14dc7bb5d966ea1328f60d8ca88b3c406ad51', class: "container" }, this.renderContent());
6861
+ return hAsync("div", { key: 'ce34514ab73daa5baa011bda56a13d6197f8bfd0', class: "container" }, this.renderContent());
6778
6862
  }
6779
6863
  static get cmpMeta() { return {
6780
6864
  "$flags$": 0,
@@ -6815,7 +6899,7 @@ class EdsDocsContent {
6815
6899
  }
6816
6900
  }
6817
6901
  render() {
6818
- return hAsync("div", { key: 'ef9cf093af7bc730b73f3561b36187f70aea29a7', class: "container" }, this.renderContent());
6902
+ return hAsync("div", { key: '10708d591c4077e4e1fe94073322f01121253bdb', class: "container" }, this.renderContent());
6819
6903
  }
6820
6904
  static get cmpMeta() { return {
6821
6905
  "$flags$": 0,
@@ -6848,7 +6932,7 @@ class EdsDocsPalettes {
6848
6932
  }
6849
6933
  }
6850
6934
  render() {
6851
- return hAsync("div", { key: 'c11e0de66c41770e7ebca46d3fb7ab11b454511e', class: "container" }, this.renderContent());
6935
+ return hAsync("div", { key: '42f0a4598c64661d98054522e88366ec591a2cb3', class: "container" }, this.renderContent());
6852
6936
  }
6853
6937
  static get cmpMeta() { return {
6854
6938
  "$flags$": 0,
@@ -6886,6 +6970,7 @@ class EdsDropdown {
6886
6970
  * Toggles the visibility of the dropdown and manages focus.
6887
6971
  */
6888
6972
  this.handleClick = () => {
6973
+ var _a;
6889
6974
  this.isOpen = !this.isOpen;
6890
6975
  if (this.isOpen) {
6891
6976
  this.focusIndex = 0;
@@ -6894,6 +6979,13 @@ class EdsDropdown {
6894
6979
  else {
6895
6980
  this.closeDropdown();
6896
6981
  }
6982
+ sendAnalytics({
6983
+ category: 'ui-component',
6984
+ parentContext: null,
6985
+ tag: this.host.tagName.toLowerCase(),
6986
+ name: ((_a = this.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
6987
+ action: this.isOpen ? 'expanded' : 'collapsed'
6988
+ });
6897
6989
  };
6898
6990
  this.icon = 'chevron-down';
6899
6991
  this.label = undefined;
@@ -6960,39 +7052,20 @@ class EdsDropdown {
6960
7052
  componentDidLoad() {
6961
7053
  var _a;
6962
7054
  this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
6963
- const btns = this.host.shadowRoot.querySelectorAll('eds-button');
6964
- btns.forEach((btn) => {
6965
- this.emitContext(btn);
6966
- });
6967
- }
6968
- /**
6969
- * Emits a custom event called `parentContext` for a given button element.
6970
- * Provides context information about the dropdown component.
6971
- *
6972
- * @param linkElement - The button element to which the event will be dispatched.
6973
- */
6974
- emitContext(linkElement) {
6975
- const event = new CustomEvent('parentContext', {
6976
- detail: {
6977
- componentName: this.host.tagName.toLowerCase(),
6978
- identifier: null
6979
- }
6980
- });
6981
- linkElement.dispatchEvent(event);
6982
7055
  }
6983
7056
  /**
6984
7057
  * Renders the dropdown component and displays its content when open.
6985
7058
  * @returns {JSX.Element} The rendered dropdown component.
6986
7059
  */
6987
7060
  render() {
6988
- return (hAsync("div", { key: 'd49e23ee208cfb000baba83795899487e4d94af7', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, hAsync("eds-button", { key: '6647007c34b47558873e470890893ae4f8e18b5c', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), hAsync("nav", { key: '41bbd4e2bf02345393aaa97101b2c3aca2fa4085', class: {
7061
+ return (hAsync("div", { key: '809cb733330db434f94f854ed4d1ee375f598297', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, hAsync("eds-button", { key: 'c80f2930b335708a2a01d06b565673597bd8d926', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), hAsync("nav", { key: '7b3ccb2ab29474a4795d5491960e0713aefcd624', class: {
6989
7062
  'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
6990
7063
  'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
6991
7064
  'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
6992
7065
  'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
6993
7066
  'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
6994
7067
  'rounded-lg': this.rounded
6995
- }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '714bad9f5a8ddf6d5ea246044a83b0a5102494c4' }))));
7068
+ }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: 'c514c5dca893708fd1660a61cfeb1607229bbff5' }))));
6996
7069
  }
6997
7070
  get host() { return getElement(this); }
6998
7071
  static get style() { return EdsDropdownStyle0; }
@@ -7069,7 +7142,7 @@ class EdsFooter {
7069
7142
  * @returns {JSX.Element} The rendered JSX for the footer component.
7070
7143
  */
7071
7144
  render() {
7072
- return (hAsync("footer", { key: 'efffa9b96cc2a094255fcb6d08ec45c7c7f09ec4', class: `${this.extraClass} pb-banner` }, this.social ? (hAsync("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, hAsync("div", { class: "container pb-20 xl:pb-40 " }, hAsync("div", { class: "grid-layout" }, hAsync("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, hAsync("eds-social-networks", { class: "mt-28" })), hAsync("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" }))))) : null, hAsync("div", { key: 'c3942c635dff3dc8cb47a21f20aca52acfaa3e18', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, hAsync("div", { key: '57e963272659ce2e63294c969f3724a03aef667e', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: 'c3e5cfe07fe9eb90450f7a87be1b95ed00ef38ce', class: "flex items-center gap-x-12" }, hAsync("a", { key: 'b0d0c65115b611f78d2b468559c16eb60f538907', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en" }, hAsync("eds-img", { key: '6cb5d067f07b456a8d828f3f42f2730e3e5374e0', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg" }))), hAsync("div", { key: 'e5b768b0fb96fcdcb786d33fc808368005935491', class: "f-ui-04 text-light order-last w-full lg:order-none lg:w-auto" }, hAsync("p", { key: '777263c2f4bde43d38690f41391eaf8e51d945fa' }, this.fundedBy), hAsync("div", { key: 'a415687d08edf8f3e03a6edce9c45f58662c8595', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap" }, hAsync("span", { key: 'c0b6498ad4f5e1f4f1945ebb971f9dd81cc74c77', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.hasCookiesSetUp && (hAsync("button", { key: '10133d180bfb0d8a6354ea2cbea318a2c46fc463', class: "effect-focus !no-underline underline-offset-4 hover:!underline", onClick: () => this.toggleCookiesPopup() }, this.cookiesPreference)))), hAsync("div", { key: '917d0980f91a8c42a75bae301b0a18e3777dd021', class: "ml-auto pl-12" }, this.enableScrollTop ? (hAsync("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
7145
+ return (hAsync("footer", { key: '8d3d1b5d2acd76f56b2bc12539cb7d277b4dcd7f', class: `${this.extraClass} pb-banner` }, this.social ? (hAsync("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, hAsync("div", { class: "container pb-20 xl:pb-40 " }, hAsync("div", { class: "grid-layout" }, hAsync("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, hAsync("eds-social-networks", { class: "mt-28" })), hAsync("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" }))))) : null, hAsync("div", { key: '7d6e3a414ec8e8f8e2b795faf639948f8819f5cb', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, hAsync("div", { key: '9a475fd146ac0e1bc78c43940ee24ec31212fcb9', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: '4b465113cdb882f919fba15e944eb56edbe3c570', class: "flex items-center gap-x-12" }, hAsync("a", { key: '1a8ad1ee5f4dfb77da036b03d0770cba8e5d725e', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en" }, hAsync("eds-img", { key: '4714ea1a01b7b7eef8b3af0c04ffe793d51c4d5e', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg" }))), hAsync("div", { key: 'c4db6bab70e570e337c82136a0d9d6dad01c1039', class: "f-ui-04 text-light order-last w-full lg:order-none lg:w-auto" }, hAsync("p", { key: '0b030a92c12a3a96fe2baacc13ac21f5bd708a50' }, this.fundedBy), hAsync("div", { key: '4714d0ccf0e3912ae330a6f39ed3607caf2b51a4', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap" }, hAsync("span", { key: 'b4bc2d45871c7d1f9de1d6090959b12fd5246f01', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.hasCookiesSetUp && (hAsync("button", { key: '98b56eee7be6bc1558821933cebf2853b3bb68fc', class: "effect-focus !no-underline underline-offset-4 hover:!underline", onClick: () => this.toggleCookiesPopup() }, this.cookiesPreference)))), hAsync("div", { key: 'f4bf4a0c99f3be920dd15f68e6f7e390cd85ecce', class: "ml-auto pl-12" }, this.enableScrollTop ? (hAsync("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
7073
7146
  }
7074
7147
  static get style() { return EdsFooterStyle0; }
7075
7148
  static get cmpMeta() { return {
@@ -7250,7 +7323,6 @@ class EdsForm {
7250
7323
  this.formSubmitting.emit(this.isSubmitting);
7251
7324
  }
7252
7325
  };
7253
- this.smallAlert = false;
7254
7326
  this.setFormUrl = true;
7255
7327
  this.submitBtn = true;
7256
7328
  this.submitBtnLabel = 'Submit';
@@ -7259,7 +7331,7 @@ class EdsForm {
7259
7331
  this.submitBtnHintMessage = 'To participate, please sign in using your EBRAINS account. If you do not have an account yet, you can easily create one on the EBRAINS portal.';
7260
7332
  this.endpoint = undefined;
7261
7333
  this.name = 'form';
7262
- this.fields = undefined;
7334
+ this.fields = [];
7263
7335
  this.values = {};
7264
7336
  this.coupleAuth = false;
7265
7337
  this.formSubmitted = false;
@@ -7269,6 +7341,7 @@ class EdsForm {
7269
7341
  this.alertMessage = null;
7270
7342
  this.isAuthenticated = false;
7271
7343
  this.authUser = undefined;
7344
+ this.parsedFields = [];
7272
7345
  }
7273
7346
  onAuthStatusChanged(event) {
7274
7347
  var _a;
@@ -7276,6 +7349,7 @@ class EdsForm {
7276
7349
  this.authUser = event.detail.user;
7277
7350
  }
7278
7351
  componentDidLoad() {
7352
+ this.parseFields(this.fields);
7279
7353
  // Emit context for each eds-link element after the component is fully loaded
7280
7354
  const links = this.el.querySelectorAll('eds-button');
7281
7355
  links.forEach((link) => {
@@ -7348,7 +7422,7 @@ class EdsForm {
7348
7422
  validateForm() {
7349
7423
  this.errors = {};
7350
7424
  this.hasError = false;
7351
- this.parseFields.forEach((field) => {
7425
+ this.parsedFields.forEach((field) => {
7352
7426
  if (field.type !== 'hidden') {
7353
7427
  if ((field.type === 'checkbox' || field.type === 'radio') && !field.options) {
7354
7428
  // Single checkbox validation
@@ -7430,27 +7504,48 @@ class EdsForm {
7430
7504
  });
7431
7505
  return formData;
7432
7506
  }
7433
- get parseFields() {
7434
- return JSON.parse(this.fields);
7507
+ parseFields(newValue) {
7508
+ try {
7509
+ if (typeof newValue === 'string') {
7510
+ this.parsedFields = JSON.parse(newValue);
7511
+ }
7512
+ else if (Array.isArray(newValue)) {
7513
+ this.parsedFields = newValue;
7514
+ }
7515
+ else if (newValue && typeof newValue === 'object') {
7516
+ // In case a single object is passed, wrap it in an array.
7517
+ this.parsedFields = newValue;
7518
+ }
7519
+ else {
7520
+ this.parsedFields = [];
7521
+ }
7522
+ }
7523
+ catch (error) {
7524
+ // eslint-disable-next-line
7525
+ console.error('Error parsing fields prop:', error);
7526
+ this.parsedFields = [];
7527
+ }
7435
7528
  }
7436
7529
  render() {
7437
- const hiddenFields = this.parseFields.filter((field) => field.type === 'hidden');
7438
- const otherFields = this.parseFields.filter((field) => field.type !== 'hidden');
7439
- return (hAsync("form", { key: 'fdb974998dfd27c0d857d0fbfbbe9e769e55d7bb', ref: (el) => (this.formEl = el), enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, hAsync("div", { key: 'dfbe5adce9e5685736169e88408590088aba5b1e' }, hAsync("slot", { key: 'f5c5356a8b87bf63fdd21901da81291c596f1487' }), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
7530
+ const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
7531
+ const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
7532
+ return (hAsync("form", { key: '0a106caa8aa9f056b55acf6fecfbc7090c4411d2', ref: (el) => (this.formEl = el), enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, hAsync("div", { key: '3478d82640378d9a1c0c09394453e2118b1b3ca9' }, hAsync("slot", { key: '9bc37f54c03b2b0f831da917b6ce6bab2ec11084' }), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
7440
7533
  var _a, _b;
7441
7534
  if (!this.isFieldVisible(field)) {
7442
7535
  return null;
7443
7536
  }
7444
7537
  return (hAsync("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, type: field.type, icon: field.icon || null, required: field.required, maxLength: field.maxlength, hint: field.hint, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
7445
- })), this.submitBtn && (hAsync("div", { key: '2c3165a56d5bec9135a8695cae1b87981167c949', class: "mt-20" }, hAsync("eds-button", { key: 'f311628ff58cd03ebbd0f7ccb0623df817d416da', intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || (this.coupleAuth && !this.isAuthenticated), loading: this.isSubmitting, onClick: (e) => this.handleSubmit(e) }), this.coupleAuth && !this.isAuthenticated ? (hAsync("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage)) : null)), this.alertMessage && (this.formSubmitted || this.hasError) && (hAsync("div", { key: '1c7adc93081294eb86b71e808933215fe04fa033', class: "mt-20" }, hAsync("eds-alert", { key: 'd221dd0674be734a8b7382ea2eeb97509f6bc3a6', message: this.alertMessage, intent: this.hasError ? 'error' : 'success', direction: "horizontal" })))));
7538
+ })), this.submitBtn && (hAsync("div", { key: 'ca221e8c5c18cf4a107581736728f84cea7831d0', class: "mt-20" }, hAsync("eds-button", { key: 'eef3cf052beb62703c1df74d142650194d60c501', intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || (this.coupleAuth && !this.isAuthenticated), loading: this.isSubmitting, onClick: (e) => this.handleSubmit(e) }), this.coupleAuth && !this.isAuthenticated ? (hAsync("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage)) : null)), this.alertMessage && (this.formSubmitted || this.hasError) && (hAsync("div", { key: '69861c8776b99e26a08585a5a8c893c85a2d9999', class: "mt-20" }, hAsync("eds-alert", { key: 'b4d225d8efcbe6cde95789c367f0ecf94f217c9c', message: this.alertMessage, intent: this.hasError ? 'error' : 'success', direction: "horizontal" })))));
7446
7539
  }
7447
7540
  get el() { return getElement(this); }
7541
+ static get watchers() { return {
7542
+ "fields": ["parseFields"]
7543
+ }; }
7448
7544
  static get style() { return EdsFormStyle0; }
7449
7545
  static get cmpMeta() { return {
7450
7546
  "$flags$": 4,
7451
7547
  "$tagName$": "eds-form",
7452
7548
  "$members$": {
7453
- "smallAlert": [4, "small-alert"],
7454
7549
  "setFormUrl": [4, "set-form-url"],
7455
7550
  "submitBtn": [4, "submit-btn"],
7456
7551
  "submitBtnLabel": [1, "submit-btn-label"],
@@ -7468,7 +7563,8 @@ class EdsForm {
7468
7563
  "isSubmitting": [32],
7469
7564
  "alertMessage": [32],
7470
7565
  "isAuthenticated": [32],
7471
- "authUser": [32]
7566
+ "authUser": [32],
7567
+ "parsedFields": [32]
7472
7568
  },
7473
7569
  "$listeners$": [[16, "authStatusChanged", "onAuthStatusChanged"]],
7474
7570
  "$lazyBundleId$": "-",
@@ -7601,7 +7697,8 @@ var EdsFullscreenMenuStyle0 = edsFullscreenMenuCss;
7601
7697
  * It provides a responsive, full-window overlay menu with navigation links and additional options.
7602
7698
  * This component is suitable for mobile and small screens, where a fullscreen menu enhances user navigation.
7603
7699
  *
7604
- * ## Key Features:
7700
+ * ## Key Features
7701
+ *
7605
7702
  * - **Links and Menu Links**: Allows configurable primary and secondary navigation links.
7606
7703
  * - **Event-Driven Open/Close**: Listens for a `toggleMenu` event to open or close the menu, emitted by the `eds-header` component.
7607
7704
  * - **Responsive Behavior**: Automatically closes the menu when the screen width is larger than a specified breakpoint (1024px).
@@ -7791,6 +7888,10 @@ class EdsHeader {
7791
7888
  * @returns {any[]} Array of parsed link objects
7792
7889
  */
7793
7890
  get parsedLinks() {
7891
+ // If it's already an array, return it immediately.
7892
+ if (Array.isArray(this.links)) {
7893
+ return this.links;
7894
+ }
7794
7895
  if (typeof this.links === 'object') {
7795
7896
  return this.links;
7796
7897
  }
@@ -7807,8 +7908,8 @@ class EdsHeader {
7807
7908
  return [];
7808
7909
  }
7809
7910
  render() {
7810
- return (hAsync("header", { key: 'bd3056a3d8ca0e8472e154eb3da9ba1aca6d1fa1', class: `flex items-center justify-between relative z-10
7811
- ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, hAsync("div", { key: '55db7995eab812785789ecc8441079ee5e07af76', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: '0464d045dc59d0f78a021a14ffa0254579052529', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (hAsync("nav", { key: '7ab1b2c20cf9d934a29480bd29736ced42ff5a20', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, hAsync("ul", { key: '7dca9e2715f3831ee806b0e354c19b65deac1490', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (hAsync("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "small", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), hAsync("slot", { key: 'd49985a1074f2daed9cab42fa5af8b0ec8cb6ec9' }), this.userFeature ? (hAsync("div", { class: "px-16" }, hAsync("eds-user", { "keycloak-url": this.keycloakUrl, "keycloak-realm": this.keycloakRealm, "keycloak-client-id": this.keycloakClientId }))) : null, this.menuEnabled ? (hAsync("div", { class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
7911
+ return (hAsync("header", { key: 'b16e5e84ba7565ebf4ea5892a9a1af84fc94769d', class: `flex items-center justify-between relative z-10
7912
+ ${this.inverseHeader ? 'text-inverse bg-strongest' : 'text-default bg-dark'}` }, hAsync("div", { key: '00206a2714dedfe205151002cc10c430e75814fb', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: '25fc6207d61bb4cc06877dd0b15bf56392b50255', type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), this.parsedLinks && (hAsync("nav", { key: '8d1ee2947db26e5acb556da845fe1b811a8d18b2', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, hAsync("ul", { key: '5c70e48f3a617a6abe402659b37741e657440cbc', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (hAsync("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "small", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), hAsync("slot", { key: '773b60e90ecfe336fede86ea6e3b0ec2fd10bd72' }), this.userFeature ? (hAsync("div", { class: "px-16" }, hAsync("eds-user", { "keycloak-url": this.keycloakUrl, "keycloak-realm": this.keycloakRealm, "keycloak-client-id": this.keycloakClientId }))) : null, this.menuEnabled ? (hAsync("div", { class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() }))) : null));
7812
7913
  }
7813
7914
  get hostEl() { return getElement(this); }
7814
7915
  static get style() { return EdsHeaderStyle0; }
@@ -10651,6 +10752,24 @@ class EdsInputSearch {
10651
10752
  }; }
10652
10753
  }
10653
10754
 
10755
+ /**
10756
+ * A custom select input component that supports both static and dynamic options.
10757
+ *
10758
+ * Options can be provided in two formats:
10759
+ * 1. Dynamic fetch configuration:
10760
+ * [
10761
+ * { endpoint: "http://localhost/api/applications", value: "_id", label: "title" }
10762
+ * ]
10763
+ * 2. Static options:
10764
+ * [
10765
+ * { value: "react", label: "React" },
10766
+ * { value: "angular", label: "Angular" },
10767
+ * { value: "vue", label: "Vue.js" },
10768
+ * // etc.
10769
+ * ]
10770
+ *
10771
+ * The component will automatically fetch data if a dynamic configuration is provided.
10772
+ */
10654
10773
  /**
10655
10774
  * @internal
10656
10775
  */
@@ -10658,6 +10777,12 @@ class EdsInputSelect {
10658
10777
  constructor(hostRef) {
10659
10778
  registerInstance(this, hostRef);
10660
10779
  this.changeEvent = createEvent(this, "changeEvent", 7);
10780
+ /**
10781
+ * Event handler for the select input's change event.
10782
+ * Emits the selected value.
10783
+ *
10784
+ * @param event The change event from the select input.
10785
+ */
10661
10786
  this.handleChange = (event) => {
10662
10787
  const target = event.target;
10663
10788
  this.changeEvent.emit(target.value);
@@ -10670,11 +10795,64 @@ class EdsInputSelect {
10670
10795
  this.error = false;
10671
10796
  this.required = false;
10672
10797
  this.options = [];
10798
+ this.labelKey = 'label';
10799
+ this.valueKey = 'value';
10673
10800
  this.value = undefined;
10801
+ this.dynamicOptions = [];
10802
+ this.loading = false;
10803
+ this.dynamicValueKey = 'value';
10804
+ this.dynamicLabelKey = 'label';
10805
+ }
10806
+ componentWillLoad() {
10807
+ this.loadOptions();
10808
+ }
10809
+ /**
10810
+ * Watches for changes in the `options` prop and loads the options accordingly.
10811
+ *
10812
+ * If the first object in the options array contains an "endpoint" key,
10813
+ * the component will fetch options from the specified endpoint using the configured keys.
10814
+ * Otherwise, it will treat the options as static.
10815
+ *
10816
+ * @async
10817
+ */
10818
+ async loadOptions() {
10819
+ // If the first option contains an "endpoint" key, assume dynamic fetch mode.
10820
+ if (this.options && this.options.length > 0 && this.options[0].endpoint) {
10821
+ const config = this.options[0];
10822
+ const endpoint = config.endpoint;
10823
+ this.dynamicValueKey = config.value || 'value';
10824
+ this.dynamicLabelKey = config.label || 'label';
10825
+ this.loading = true;
10826
+ try {
10827
+ const response = await fetch(endpoint);
10828
+ if (!response.ok) {
10829
+ toast.show(`<eds-input-select> HTTP error! Status: ${response.status}`, 'error');
10830
+ }
10831
+ const data = await response.json();
10832
+ // Assume the API returns an array of objects.
10833
+ this.dynamicOptions = data;
10834
+ }
10835
+ catch (error) {
10836
+ //console.error('Error fetching dynamic options:', error);
10837
+ toast.show(`<eds-input-select> Error fetching dynamic options ${error}`, 'error');
10838
+ }
10839
+ finally {
10840
+ this.loading = false;
10841
+ }
10842
+ }
10843
+ else {
10844
+ // No dynamic configuration found, assume static options.
10845
+ this.dynamicOptions = this.options;
10846
+ this.dynamicValueKey = this.valueKey;
10847
+ this.dynamicLabelKey = this.labelKey;
10848
+ }
10674
10849
  }
10675
10850
  render() {
10676
- return (hAsync("div", { key: '9aaa3bf4491078f5b5df6f5f0d3d5f3739f25716', class: "relative" }, hAsync("select", { key: '5f860de772d8d92eb36648bdaaca0c93146e8a68', id: this.inputId || this.name, name: this.name, class: `input invalid:text-lightest pr-32 ${this.error ? 'input-error' : ''}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.hasMessage || this.error ? `${this.name}-error` : '', disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '2d1e8fa6c5583e0580cbd92d731b731cdd7ecca8', value: "", disabled: true, hidden: true }, "Please select ", this.name), this.options.map((option, index) => (hAsync("option", { key: index, value: option.value }, option.label)))), hAsync("span", { key: 'f62edaae154ce443c964849689b5dc92d9303958', class: `bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center ${this.disabled ? 'text-lightest bg-transparent' : ''}` }, hAsync("eds-icon-wrapper", { key: '07d186b6e0a6742a4f6ce39dd275ff1a6f905927', class: "w-20 h-20", icon: "chevron-right" }))));
10851
+ return (hAsync("div", { key: 'd37107564a86281b3a3920a5eb128f47f6fd4ceb', class: "relative" }, hAsync("select", { key: 'a69cd907ef6732ec42a99fd46bbf9a52ef03735a', id: this.inputId || this.name, name: this.name, class: `input invalid:text-lightest pr-32 ${this.error ? 'input-error' : ''}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.hasMessage || this.error ? `${this.name}-error` : '', disabled: this.disabled || this.loading, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '8b84a2b7edd7e989411908b16f35c46853889d8e', value: "", disabled: true, hidden: true }, this.loading ? 'Loading options...' : `Please select ${this.name}`), this.dynamicOptions.map((option, index) => (hAsync("option", { key: index, value: option[this.dynamicValueKey] }, option[this.dynamicLabelKey])))), hAsync("span", { key: 'dbccb6161aafc2dc31cc6dd5b3d8c812545eab9a', class: `bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center ${this.disabled || this.loading ? 'text-lightest bg-transparent' : ''}` }, hAsync("eds-icon-wrapper", { key: 'b0fd24cb54185d8558dfabcb94d05b6257caacd1', class: "w-20 h-20", icon: "chevron-right" }))));
10677
10852
  }
10853
+ static get watchers() { return {
10854
+ "options": ["loadOptions"]
10855
+ }; }
10678
10856
  static get cmpMeta() { return {
10679
10857
  "$flags$": 0,
10680
10858
  "$tagName$": "eds-input-select",
@@ -10687,7 +10865,13 @@ class EdsInputSelect {
10687
10865
  "error": [4],
10688
10866
  "required": [4],
10689
10867
  "options": [16],
10690
- "value": [8]
10868
+ "labelKey": [1, "label-key"],
10869
+ "valueKey": [1, "value-key"],
10870
+ "value": [8],
10871
+ "dynamicOptions": [32],
10872
+ "loading": [32],
10873
+ "dynamicValueKey": [32],
10874
+ "dynamicLabelKey": [32]
10691
10875
  },
10692
10876
  "$listeners$": undefined,
10693
10877
  "$lazyBundleId$": "-",
@@ -10847,12 +11031,11 @@ class EdsLink {
10847
11031
  this.hideLabelOnSmallScreen = false;
10848
11032
  this.extraClass = undefined;
10849
11033
  }
10850
- handleBreadcrumbContext(event) {
11034
+ handleParentContext(event) {
10851
11035
  if (event.target !== this.el) {
10852
11036
  // Ignore the event if it's not targeted at this specific instance
10853
11037
  return;
10854
11038
  }
10855
- //console.log(event.detail);
10856
11039
  this.parentContext = event.detail;
10857
11040
  event.stopPropagation();
10858
11041
  }
@@ -10903,7 +11086,7 @@ class EdsLink {
10903
11086
  const labelClasses = this.hideLabelOnSmallScreen
10904
11087
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
10905
11088
  : '';
10906
- return (hAsync(ComponentType, { key: '287497bf5ba99fe467ba08d59f65d24204fbecbc', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.disabled ? 'true' : null, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, hAsync("span", { key: 'a244b21dffaad38cb149a925df1feb3d78beed03', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), hAsync("span", { key: '2ef69a91351ea622d6425699b90b45a0bd5989b1', class: labelClasses }, this.label), this.renderRightIcon())));
11089
+ return (hAsync(ComponentType, { key: '58eb3c1c5c192c2855424864c9e3e9c7a5fe3378', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": this.label || this.ariaLabel || undefined, "aria-disabled": this.disabled ? 'true' : null, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, hAsync("span", { key: 'd4033ba589552f60f8dc7559434a3c035d226de4', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), hAsync("span", { key: 'ca520cc66febaf8c8ddfd2fd8ee8a13b71a3078d', class: labelClasses }, this.label), this.renderRightIcon())));
10907
11090
  }
10908
11091
  get el() { return getElement(this); }
10909
11092
  static get style() { return EdsLinkStyle0; }
@@ -10926,7 +11109,7 @@ class EdsLink {
10926
11109
  "hideLabelOnSmallScreen": [4, "hide-label-on-small-screen"],
10927
11110
  "extraClass": [1, "extra-class"]
10928
11111
  },
10929
- "$listeners$": [[0, "parentContext", "handleBreadcrumbContext"]],
11112
+ "$listeners$": [[0, "parentContext", "handleParentContext"]],
10930
11113
  "$lazyBundleId$": "-",
10931
11114
  "$attrsToReflect$": []
10932
11115
  }; }
@@ -12892,10 +13075,10 @@ class EdsLogin {
12892
13075
  return this.authenticated ? 'Logout' : 'Login';
12893
13076
  }
12894
13077
  render() {
12895
- return (hAsync("div", { key: '3e9fdf8fa303948f00da83a1c8c1efc35e2c3c1a' }, hAsync("eds-button", { key: '452b1c6ba9dda0ae5570accedf5e61b8391aeadb', label: this.getBtnLabel(), intent: "primary", loading: false, disabled: false, pill: false, icon: "arrow-diagonal", size: "small", "icon-pos": "right", "aria-label": this.getBtnLabel(), "element-type": "button", triggerClick: this.authenticated ? this.handleLogout : this.handleLogin.bind(this) })));
13078
+ return (hAsync("eds-button", { key: '35f298ecf951d5b1087f988262ae7d312c5e2d38', label: this.getBtnLabel(), intent: "primary", "extra-class": "text-default", "aria-label": this.getBtnLabel(), triggerClick: this.authenticated ? this.handleLogout : this.handleLogin.bind(this) }));
12896
13079
  }
12897
13080
  static get cmpMeta() { return {
12898
- "$flags$": 0,
13081
+ "$flags$": 9,
12899
13082
  "$tagName$": "eds-login",
12900
13083
  "$members$": {
12901
13084
  "keycloakUrl": [1, "keycloak-url"],
@@ -13006,6 +13189,39 @@ class EdsLogo {
13006
13189
  }; }
13007
13190
  }
13008
13191
 
13192
+ /**
13193
+ * @internal
13194
+ */
13195
+ class EdsLogoVariations {
13196
+ constructor(hostRef) {
13197
+ registerInstance(this, hostRef);
13198
+ this.tabIndex = undefined;
13199
+ }
13200
+ renderContent() {
13201
+ switch (this.tabIndex) {
13202
+ case 0:
13203
+ return hAsync("logo-variations-horizontal", null);
13204
+ case 1:
13205
+ return hAsync("logo-variations-vertical", null);
13206
+ default:
13207
+ return hAsync("p", null, "Content not available.");
13208
+ }
13209
+ }
13210
+ render() {
13211
+ return hAsync("div", { key: '9d6ce0e75030d6e636aab423181b0ce999f6f1b0', class: "container" }, this.renderContent());
13212
+ }
13213
+ static get cmpMeta() { return {
13214
+ "$flags$": 0,
13215
+ "$tagName$": "eds-logo-variations",
13216
+ "$members$": {
13217
+ "tabIndex": [2, "tab-index"]
13218
+ },
13219
+ "$listeners$": undefined,
13220
+ "$lazyBundleId$": "-",
13221
+ "$attrsToReflect$": []
13222
+ }; }
13223
+ }
13224
+
13009
13225
  const edsMatomoNoticeCss = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-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))}.md\\:-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))}}";
13010
13226
  var EdsMatomoNoticeStyle0 = edsMatomoNoticeCss;
13011
13227
 
@@ -13122,7 +13338,7 @@ class EdsMatomoNotice {
13122
13338
  }; }
13123
13339
  }
13124
13340
 
13125
- 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%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.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}";
13341
+ 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}";
13126
13342
  var EdsModalStyle0 = edsModalCss;
13127
13343
 
13128
13344
  //import { sendAnalytics } from '@ebrains/utils';
@@ -13143,33 +13359,59 @@ class EdsModal {
13143
13359
  this.title = '';
13144
13360
  this.truncate = true;
13145
13361
  this.truncateLines = '1';
13362
+ this.position = 'middle';
13146
13363
  }
13147
13364
  getTruncateClass() {
13148
13365
  return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
13149
13366
  }
13367
+ /**
13368
+ * Returns the Tailwind CSS classes to position the modal based on the `position` prop.
13369
+ *
13370
+ * @private
13371
+ * @returns {string} The concatenated CSS classes for modal positioning.
13372
+ */
13373
+ getModalPositionClasses() {
13374
+ switch (this.position) {
13375
+ case 'top':
13376
+ return 'left-1/2 top-20 -translate-x-1/2';
13377
+ case 'bottom':
13378
+ return 'left-1/2 bottom-20 -translate-x-1/2';
13379
+ case 'left':
13380
+ return 'left-20 top-1/2 -translate-y-1/2';
13381
+ case 'right':
13382
+ return 'right-20 top-1/2 -translate-y-1/2';
13383
+ case 'middle':
13384
+ default:
13385
+ return 'left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2';
13386
+ }
13387
+ }
13150
13388
  /**
13151
13389
  * Opens the modal.
13152
13390
  */
13153
13391
  async open() {
13392
+ var _a;
13154
13393
  this.isOpen = true;
13155
- /*sendAnalytics({
13156
- category: 'ui-component',
13157
- tag: this.el.tagName.toLowerCase(),
13158
- name: this.title,
13159
- action: 'show'
13160
- });*/
13394
+ sendAnalytics({
13395
+ category: 'ui-component',
13396
+ parentContext: null,
13397
+ tag: this.el.tagName.toLowerCase(),
13398
+ name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
13399
+ action: 'opened'
13400
+ });
13161
13401
  }
13162
13402
  /**
13163
13403
  * Closes the modal.
13164
13404
  */
13165
13405
  async close() {
13406
+ var _a;
13166
13407
  this.isOpen = false;
13167
- /*sendAnalytics({
13168
- category: 'ui-component',
13169
- tag: this.el.tagName.toLowerCase(),
13170
- name: this.title,
13171
- action: 'hide'
13172
- });*/
13408
+ sendAnalytics({
13409
+ category: 'ui-component',
13410
+ parentContext: null,
13411
+ tag: this.el.tagName.toLowerCase(),
13412
+ name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
13413
+ action: 'closed'
13414
+ });
13173
13415
  }
13174
13416
  /**
13175
13417
  * Toggles the modal open or closed.
@@ -13183,30 +13425,27 @@ class EdsModal {
13183
13425
  */
13184
13426
  componentDidLoad() {
13185
13427
  // Emit context for each eds-link element after the component is fully loaded
13186
- const btns = this.el.shadowRoot.querySelectorAll('eds-button');
13187
- btns.forEach((btn) => {
13188
- this.emitContext(btn);
13189
- });
13428
+ //const btn = this.el.shadowRoot.querySelector('eds-button');
13429
+ //this.emitContext(btn);
13190
13430
  }
13191
13431
  /**
13192
13432
  * Emits a custom event called `parentContext` for a given button element.
13193
13433
  * This event provides context information about the eds-modal component.
13194
- *
13195
- * @param btnElement - The link element to which the event will be dispatched.
13196
13434
  */
13197
- emitContext(btnElement) {
13198
- const event = new CustomEvent('parentContext', {
13199
- detail: {
13200
- componentName: this.el.tagName.toLowerCase(),
13201
- identifier: null
13202
- }
13203
- });
13204
- btnElement.dispatchEvent(event);
13205
- }
13435
+ /*emitContext(btnElement: HTMLElement) {
13436
+ const event = new CustomEvent<ParentContextDetail>('parentContext', {
13437
+ detail: {
13438
+ componentName: this.el.tagName.toLowerCase(),
13439
+ identifier: null
13440
+ }
13441
+ });
13442
+
13443
+ btnElement.dispatchEvent(event);
13444
+ }*/
13206
13445
  render() {
13207
- return (hAsync("div", { key: '00816ecb900bd9b68b31fdf6e48bef0223f9e10a', class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-50 flex` }, this.isOpen && (hAsync("div", { key: '570fa8625f9ad4b1ea82633f11e2b289ab01b853', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
13446
+ return (hAsync("div", { key: 'eedcdc49c9f4a16ef4537ec02335757aa1143bd9', class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-50 flex` }, this.isOpen && (hAsync("div", { key: '2b24903b85895fd5eca389d6897aa85c892e762f', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
13208
13447
  ,
13209
- onClick: () => this.close() })), hAsync("div", { key: 'ff658c763e3fbc98123f13483076399966b10515', class: "max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center " }, hAsync("div", { key: 'd8b72acd90cc59ab1f82384aee4e311319f75aa9', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, hAsync("span", { key: 'ee61fc505c5a3eb93541d3762d37f28a5a788bae', class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.title), hAsync("eds-button", { key: '3832772417d05a162eb5f2c4d0733f0ee845ed1c', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), hAsync("div", { key: 'f71b38be8284a37d0d198df0a9858c64202b3d91', class: "pt-8" }, hAsync("slot", { key: '1f80948334e5b4e9fc00a3bf01c6fc402d8220c3' })))));
13448
+ onClick: () => this.close() })), hAsync("div", { key: 'd135a2d9eff1764b6335b9b16be54d8fec7d4112', class: `max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center` }, hAsync("div", { key: 'bc8ea6f95443f01d3e5b88953581e1f2eae4009c', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, hAsync("span", { key: '872b9a4bf44db478d38f18d3459a816c119f352d', class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.title), hAsync("eds-button", { key: 'bdf27a3f564d295383985cb1f0ce7df7f13a97fb', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), hAsync("div", { key: '600cc4d544d0a41d9d2be74aedbb0d2fe2028141', class: "pt-8" }, hAsync("slot", { key: '8ce560804a6d960b4075e4b6d1607dda6530c08d' })))));
13210
13449
  }
13211
13450
  get el() { return getElement(this); }
13212
13451
  static get style() { return EdsModalStyle0; }
@@ -13217,6 +13456,7 @@ class EdsModal {
13217
13456
  "title": [1],
13218
13457
  "truncate": [4],
13219
13458
  "truncateLines": [1, "truncate-lines"],
13459
+ "position": [1],
13220
13460
  "isOpen": [32],
13221
13461
  "open": [64],
13222
13462
  "close": [64],
@@ -13319,14 +13559,18 @@ class EdsPagination {
13319
13559
  componentDidLoad() {
13320
13560
  // Emit context for each eds-link element after the component is fully loaded
13321
13561
  const links = this.hostEl.shadowRoot.querySelectorAll('eds-link');
13322
- if (links.length > 0) {
13323
- // Emit context for the first link
13324
- this.emitContext(links[0]);
13325
- // Emit context for the last link, if it's different from the first
13326
- if (links.length > 1) {
13327
- this.emitContext(links[links.length - 1]);
13328
- }
13329
- }
13562
+ links.forEach((lnk) => {
13563
+ this.emitContext(lnk);
13564
+ });
13565
+ /*if (links.length > 0) {
13566
+ // Emit context for the first link
13567
+ this.emitContext(links[0]);
13568
+
13569
+ // Emit context for the last link, if it's different from the first
13570
+ if (links.length > 1) {
13571
+ this.emitContext(links[links.length - 1]);
13572
+ }
13573
+ }*/
13330
13574
  }
13331
13575
  /**
13332
13576
  * Emits a custom event called `parentContext` for a given link element.
@@ -13456,7 +13700,7 @@ class EdsPagination {
13456
13700
  }
13457
13701
  }
13458
13702
  render() {
13459
- return (hAsync("div", { key: '2385b59b0a8b2bbdc40bfc5032b846c0ec20065e' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: '6aea281a4df247874f354469bbabae039424ad9e', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, hAsync("span", { key: 'eeb5f0ea902505c3853a30d51026cef9d9785e48', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (hAsync("nav", { "aria-label": "Pagination" }, hAsync("ul", { class: "flex items-center justify-center gap-x-8" }, hAsync("li", { class: "mr-auto" }, hAsync("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
13703
+ return (hAsync("div", { key: '584e0918b070eac25a7c4bfceff59b000b60076c' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: 'c688bd8e1f1d15904fc274454093f03213f59e38', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, hAsync("span", { key: 'c2472919bad41f76e26d518da27509e545ed9db6', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (hAsync("nav", { "aria-label": "Pagination" }, hAsync("ul", { class: "flex items-center justify-center gap-x-8" }, hAsync("li", { class: "mr-auto" }, hAsync("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
13460
13704
  ? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
13461
13705
  : this.isFirstPage()
13462
13706
  ? '#'
@@ -13563,10 +13807,8 @@ class EdsRating {
13563
13807
  this.selectedRating = 0;
13564
13808
  }
13565
13809
  /**
13566
- * Parses the `links` prop into an array of link objects.
13567
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
13568
- *
13569
- * @returns {any[]} Array of parsed link objects
13810
+ * Parses the `textMapping` prop into an array of strings.
13811
+ * Returns an empty array if parsing fails.
13570
13812
  */
13571
13813
  get parsedMappings() {
13572
13814
  if (typeof this.textMapping === 'object') {
@@ -13578,7 +13820,7 @@ class EdsRating {
13578
13820
  }
13579
13821
  catch (e) {
13580
13822
  // eslint-disable-next-line
13581
- console.error('Error parsing links prop:', e);
13823
+ console.error('Error parsing textMapping prop:', e);
13582
13824
  return [];
13583
13825
  }
13584
13826
  }
@@ -13593,10 +13835,10 @@ class EdsRating {
13593
13835
  this.ratingChange.emit(rating);
13594
13836
  }
13595
13837
  render() {
13596
- return (hAsync("div", { key: '4ca6d5e0fb35d8ebce1acd5c1a7c6c857ba4f463', class: "relative w-full flex flex-col" }, hAsync("span", { key: '784b77f84098b8d88cd3872004b0208a4437c51b', class: "f-body-01" }, this.label), hAsync("div", { key: '6780db58d3c96046a99d383518cfe1db1e3f1c68', class: "stars" }, Array.from({ length: this.stars }, (_, index) => (hAsync("span", { class: {
13838
+ return (hAsync("div", { key: 'c9147c2635f091d93f329d2b56a5fee8dce9126c', class: "relative w-full flex flex-col" }, hAsync("span", { key: '39a84bc3d9bcd4b729a35737c883eca7144d13ac', class: "f-body-01" }, this.label), hAsync("div", { key: '3cb84acf399cac0b23393c71df2f2b36aab4f43e', class: "stars" }, Array.from({ length: this.stars }, (_, index) => (hAsync("span", { class: {
13597
13839
  star: true,
13598
13840
  filled: index < this.selectedRating
13599
- }, onClick: () => this.handleClick(index + 1) }, "\u2605")))), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: 'ce0eec3c29cf27bff86e3307a29a2c39c2167087', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
13841
+ }, onClick: () => this.handleClick(index + 1) }, "\u2605")))), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: '60605ec21b542825da0dad629fc1618d9cf63b25', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
13600
13842
  }
13601
13843
  static get style() { return EdsRatingStyle0; }
13602
13844
  static get cmpMeta() { return {
@@ -13605,7 +13847,7 @@ class EdsRating {
13605
13847
  "$members$": {
13606
13848
  "stars": [2],
13607
13849
  "label": [1],
13608
- "textMapping": [8, "text-mapping"],
13850
+ "textMapping": [1, "text-mapping"],
13609
13851
  "selectedRating": [32]
13610
13852
  },
13611
13853
  "$listeners$": undefined,
@@ -13711,14 +13953,14 @@ class EdsSectionHeading {
13711
13953
  }; }
13712
13954
  }
13713
13955
 
13714
- const edsSocialNetworkCss = "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}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.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{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
13715
- var EdsSocialNetworksStyle0 = edsSocialNetworkCss;
13956
+ const edsSocialNetworksCss = "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}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.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{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
13957
+ var EdsSocialNetworksStyle0 = edsSocialNetworksCss;
13716
13958
 
13717
13959
  /**
13718
13960
  * Component representing a list of social network links for EBRAINS.
13719
13961
  * Each link directs users to EBRAINS' profiles on various social networks.
13720
13962
  */
13721
- class EdsSocialNetwork {
13963
+ class EdsSocialNetworks {
13722
13964
  constructor(hostRef) {
13723
13965
  registerInstance(this, hostRef);
13724
13966
  /**
@@ -13769,7 +14011,7 @@ class EdsSocialNetwork {
13769
14011
  * @returns {JSX.Element} The rendered JSX for the component.
13770
14012
  */
13771
14013
  render() {
13772
- return (hAsync("div", { key: '6169559327b728fd0f3a51a2b8a6439f80fba8fc' }, hAsync("p", { key: 'df2e008500097af1b85660fe8b3fac122f5018a4', class: "f-ui-02" }, this.title), hAsync("ul", { key: 'df01a2802412c4db4e5442fdfc0b6ef3f15c4109', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (hAsync("li", { key: index }, hAsync("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
14014
+ return (hAsync("div", { key: 'a6a3e2084eb01def71f6fee67ebe8c5f4f613c89' }, hAsync("p", { key: '43b92e9c33f8abef6070a6a3cd77f7573e2ab454', class: "f-ui-02" }, this.title), hAsync("ul", { key: 'c0e0dfdeff373885f62250c8bf4385268410406c', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (hAsync("li", { key: index }, hAsync("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
13773
14015
  }
13774
14016
  static get style() { return EdsSocialNetworksStyle0; }
13775
14017
  static get cmpMeta() { return {
@@ -13800,6 +14042,11 @@ class EdsSvgRepository {
13800
14042
  icon: svgContent // Pass SVG content as innerHTML
13801
14043
  }));
13802
14044
  }
14045
+ get hostWidth() {
14046
+ // Instead of using window.innerWidth, use the parent element's width.
14047
+ const containerWidth = this.hostEl.parentElement ? this.hostEl.parentElement.offsetWidth : 400;
14048
+ return containerWidth;
14049
+ }
13803
14050
  render() {
13804
14051
  const svgData = this.getSvgData();
13805
14052
  // Define table configuration
@@ -13807,8 +14054,9 @@ class EdsSvgRepository {
13807
14054
  icon: { format: 'svg' },
13808
14055
  name: { format: 'bold' }
13809
14056
  };
13810
- return (hAsync("eds-table", { key: 'd5b4cdb69826e22d716bf9bf4ff7fb9ab1f65044', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true }));
14057
+ return (hAsync("eds-table", { key: 'a1d4a1db6f0886a43513fc34707cdd6140ab685d', data: JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true, "host-width": this.hostWidth }));
13811
14058
  }
14059
+ get hostEl() { return getElement(this); }
13812
14060
  static get cmpMeta() { return {
13813
14061
  "$flags$": 9,
13814
14062
  "$tagName$": "eds-svg-repository",
@@ -13867,7 +14115,7 @@ class EdsTab {
13867
14115
  }; }
13868
14116
  }
13869
14117
 
13870
- const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}";
14118
+ const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
13871
14119
  var EdsTableStyle0 = edsTableCss;
13872
14120
 
13873
14121
  /**
@@ -13884,13 +14132,14 @@ var EdsTableStyle0 = edsTableCss;
13884
14132
  class EdsTable {
13885
14133
  constructor(hostRef) {
13886
14134
  registerInstance(this, hostRef);
13887
- this.minWidth = 400; // Minimum width for components in px
13888
14135
  this.data = null;
13889
14136
  this.endpoint = null;
13890
14137
  this.config = {};
13891
14138
  this.rowsPerPage = 10;
13892
14139
  this.paginationEnabled = true;
13893
14140
  this.searchEnabled = false;
14141
+ this.hostWidth = undefined;
14142
+ this.columnSize = 'default';
13894
14143
  this.tableData = [];
13895
14144
  this.columns = [];
13896
14145
  this.currentPage = 1;
@@ -13969,10 +14218,24 @@ class EdsTable {
13969
14218
  }
13970
14219
  handlePageChange(newPage) {
13971
14220
  this.currentPage = newPage;
14221
+ sendAnalytics({
14222
+ category: 'ui-component',
14223
+ parentContext: null,
14224
+ tag: `${this.hostEl.tagName.toLowerCase()}/eds-pagination`,
14225
+ name: `${newPage}` || '',
14226
+ action: 'page'
14227
+ });
13972
14228
  }
13973
14229
  handleSearch(event) {
13974
14230
  this.searchQuery = event.target.value;
13975
14231
  this.currentPage = 1;
14232
+ /*sendAnalytics({
14233
+ category: 'ui-component',
14234
+ parentContext: null,
14235
+ tag: `${this.hostEl.tagName.toLowerCase()}/eds-input-field/search`,
14236
+ name: `${this.searchQuery}` || '',
14237
+ action: 'page'
14238
+ });*/
13976
14239
  }
13977
14240
  renderCell(value, column) {
13978
14241
  var _a;
@@ -13988,27 +14251,44 @@ class EdsTable {
13988
14251
  getVisibleColumnsCount() {
13989
14252
  return this.columns.filter((column) => { var _a; return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden); }).length;
13990
14253
  }
14254
+ divisionFactor() {
14255
+ let divisionFactor = 1;
14256
+ if (this.columnSize === 'medium') {
14257
+ divisionFactor = 2;
14258
+ }
14259
+ else if (this.columnSize === 'large') {
14260
+ divisionFactor = 4;
14261
+ }
14262
+ return divisionFactor;
14263
+ }
13991
14264
  render() {
14265
+ // Get the paginated rows and calculate the last page.
13992
14266
  const paginatedRows = this.getPaginatedRows();
13993
14267
  const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
13994
- // Calculate column width based on minWidth and number of columns
13995
- //const columnWidth = Math.max(this.minWidth / this.columns.length, 100);
13996
- // Use the visible column count to calculate the column width
14268
+ // Determine the number of visible columns (i.e., those not hidden via config)
13997
14269
  const visibleColumnsCount = this.getVisibleColumnsCount();
13998
- const columnWidth = visibleColumnsCount > 0 ? Math.max(this.minWidth / visibleColumnsCount, 100) : 100;
13999
- return (hAsync("div", { key: 'c5e50673eb1ed5cf00e0294885bf9cd6d13f9366', class: "container", style: { minWidth: `${this.minWidth}px` } }, hAsync("div", { key: '0e0814a8cb5ae1e11538a26cba630e59d39dde74' }, this.searchEnabled && (hAsync("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
14270
+ /// Calculate container width based on the optional prop or parent's measured width.
14271
+ const containerWidth = this.hostWidth && this.hostWidth.trim() !== ''
14272
+ ? Number(this.hostWidth)
14273
+ : this.hostEl.parentElement instanceof HTMLElement
14274
+ ? this.hostEl.parentElement.getBoundingClientRect().width
14275
+ : this.hostEl.getRootNode().host instanceof HTMLElement
14276
+ ? this.hostEl.getRootNode().host.getBoundingClientRect().width
14277
+ : 400;
14278
+ const columnWidth = visibleColumnsCount > 0 ? Math.floor((containerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
14279
+ return (hAsync("div", { key: '69fd87330d2049eeb91751c781c7aa753fa89883' }, this.searchEnabled && (hAsync("div", { key: '2f9680dd17b852b140fe560f7979e1dd58236c5a' }, hAsync("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
14000
14280
  // @ts-ignore
14001
- onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: '65e0c9057c313f220655ecd7692a83c932f441b3', class: "mt-20" }, hAsync("table", { key: '9e77153c2e0983f7598a21ef55ebcf3107655e09', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '38e5ac67ffae80d896c29357615d19b5dfcc52d3' }, hAsync("tr", { key: '526c5b30da0a2aa97bb90f5b473b3e9ea41dde6b', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
14281
+ onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: 'd67edb24308e526a3e860a90250d58cf8bfee9c8', class: "mt-20" }, hAsync("table", { key: '9a2ef219110e459ac670a0f9c2e62c600f6b5acd', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '81bae222447e805d06642dda19903d5bf99f2b01' }, hAsync("tr", { key: '582d7ea661823b81ccdf3adc9769fe53cf56f04c', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
14002
14282
  var _a;
14003
- return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (hAsync("th", { class: "m-0 px-20 py-8 border border-softer f-ui-02", style: { minWidth: `${columnWidth}px` } }, column));
14004
- }))), hAsync("tbody", { key: '5a10525ed86eac82291746be4c6cce5f65942d2d' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
14283
+ return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth}px` } }, column));
14284
+ }))), hAsync("tbody", { key: 'ce7f87e665c394c5e9f2201ef2658e888ea07948' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
14005
14285
  var _a;
14006
- return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (hAsync("td", { class: "text-center border border-softer m-0 px-20 py-8 f-ui-2", style: { minWidth: `${columnWidth}px` } }, this.renderCell(row[column], column)));
14007
- }))))))), hAsync("div", { key: 'af1183fd3e635c7d7ac982231adfdd9d892f6979', class: "mt-20" }, this.shouldEnablePagination() && (hAsync("eds-pagination", { key: 'a5de7f25054c2d67f0788bfd2bc37d07f46de02c', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
14286
+ return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (hAsync("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth}px` } }, this.renderCell(row[column], column)));
14287
+ }))))))), this.shouldEnablePagination() && (hAsync("div", { key: '0fe6aed0d03c3aa491cd1bb17cd3bdc1e35372a0', class: "mt-20" }, hAsync("eds-pagination", { key: '5192f3f4b2ee93d5864d1afed3341a122c826d97', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
14008
14288
  }
14009
14289
  get hostEl() { return getElement(this); }
14010
14290
  static get watchers() { return {
14011
- "data": ["handleDataChange"],
14291
+ "data": ["handleDataChange", "parseData"],
14012
14292
  "config": ["handleConfigChange"]
14013
14293
  }; }
14014
14294
  static get style() { return EdsTableStyle0; }
@@ -14022,6 +14302,8 @@ class EdsTable {
14022
14302
  "rowsPerPage": [2, "rows-per-page"],
14023
14303
  "paginationEnabled": [4, "pagination-enabled"],
14024
14304
  "searchEnabled": [4, "search-enabled"],
14305
+ "hostWidth": [1, "host-width"],
14306
+ "columnSize": [1, "column-size"],
14025
14307
  "tableData": [32],
14026
14308
  "columns": [32],
14027
14309
  "currentPage": [32],
@@ -14090,12 +14372,33 @@ class EdsTabs {
14090
14372
  this.setActiveIndex();
14091
14373
  this.tabChange.emit({ tabId: this.id, index: 0 });
14092
14374
  }
14375
+ /**
14376
+ * Parses the `links` prop into an array of link objects.
14377
+ * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
14378
+ *
14379
+ * @returns {any[]} Array of parsed link objects
14380
+ */
14381
+ /**
14382
+ * Parses the `links` prop into an array of link objects.
14383
+ * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
14384
+ *
14385
+ * @returns {any[]} Array of parsed link objects
14386
+ */
14093
14387
  parseTabs() {
14094
- try {
14095
- this.parsedTabs = JSON.parse(this.tabs);
14388
+ if (Array.isArray(this.tabs)) {
14389
+ this.parsedTabs = this.tabs;
14096
14390
  }
14097
- catch (error) {
14098
- //console.error('Invalid JSON format for tabs:', error);
14391
+ else if (typeof this.tabs === 'string') {
14392
+ try {
14393
+ this.parsedTabs = JSON.parse(this.tabs);
14394
+ }
14395
+ catch (e) {
14396
+ //console.error('Error parsing tabs prop:', e);
14397
+ this.parsedTabs = [];
14398
+ }
14399
+ }
14400
+ else {
14401
+ // If the type is not an array or string, assume an empty array.
14099
14402
  this.parsedTabs = [];
14100
14403
  }
14101
14404
  }
@@ -14145,7 +14448,7 @@ class EdsTabs {
14145
14448
  });
14146
14449
  }
14147
14450
  render() {
14148
- return (hAsync("div", { key: '25078703609dbdaa2025013d0e266b169c880c50', id: `${this.id}`, class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, hAsync("div", { key: '8aa1b4ab1f15692c912db3ee39486a59d634c6a5', class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, hAsync("nav", { key: '33728823ca0f039e1037a691da90b295cbe3f3ac', ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
14451
+ return (hAsync("div", { key: '540bb667084b36ae2151ec39ef6b54a9ac6a4c4a', id: `${this.id}`, class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, hAsync("div", { key: 'f0266d39c943b82725ded757cce0b35fb85fa874', class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, hAsync("nav", { key: 'fcedf94e6f6c14635291d9c8e6d672efc8055433', ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
14149
14452
  //const TabComponent = tab.active ? 'span' : 'a';
14150
14453
  const tabProps = this.getTabOptions(tab.active, index);
14151
14454
  return (hAsync("eds-tab", Object.assign({}, tabProps, { label: tab.label || tab.ariaLabel, url: tab.url, active: index === this.activeIndex, onClick: () => this.handleTabClick(index, tab.label) })));
@@ -14287,11 +14590,11 @@ class EdsTabsContent {
14287
14590
  });
14288
14591
  }
14289
14592
  render() {
14290
- return (hAsync("div", { key: 'b1bfb55fbdee21a10fcc600d4c3ce2842684c519', class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, hAsync("div", { key: '1d1aeb094b6c350355abec1bf74928561a1c0f2d', class: "scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, hAsync("nav", { key: '5d5b04ddf5ddb60c2a9b49d19f4efe026cc2557d', ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
14593
+ return (hAsync("div", { key: '7bc954d9251bd15b5e3a49d5c74b83805f802b07', class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, hAsync("div", { key: '1bfda380604f1eae1cc5be147a5e3e6b537e0396', class: "scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, hAsync("nav", { key: 'b2ed26b52fd629ec99b01c7dc8e612eae4f3886d', ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
14291
14594
  //const TabComponent = tab.active ? 'span' : 'a';
14292
14595
  const tabProps = this.getTabOptions(tab.active, index);
14293
14596
  return (hAsync("eds-tab", Object.assign({}, tabProps, { label: tab.label, url: tab.url, active: index === this.activeIndex, ariaLabel: tab.ariaLabel, onClick: () => this.handleTabClick(index, tab.label) })));
14294
- })), hAsync("slot", { key: '58e9281516d0a4485ba0779f9b79c0fa5e989166' }))));
14597
+ })), hAsync("slot", { key: '5072b877786a23358d540d6d242d5fbdb3c63d7f' }))));
14295
14598
  }
14296
14599
  get el() { return getElement(this); }
14297
14600
  static get watchers() { return {
@@ -14370,27 +14673,38 @@ class EdsTag {
14370
14673
  }; }
14371
14674
  }
14372
14675
 
14373
- /**
14374
- * @internal
14375
- */
14376
14676
  class EdsTimeline {
14377
14677
  constructor(hostRef) {
14378
14678
  registerInstance(this, hostRef);
14679
+ this.events = undefined;
14379
14680
  this.selectedEvent = null;
14380
14681
  this.parsedEvents = [];
14381
- this.events = undefined;
14382
14682
  }
14383
14683
  parseEvents(newValue) {
14384
- try {
14385
- const parsed = JSON.parse(newValue);
14386
- this.parsedEvents = Array.isArray(parsed)
14387
- ? parsed.map((event) => (Object.assign(Object.assign({}, event), { completed: event.completed === 'true' || event.completed === true // Ensure boolean conversion
14388
- })))
14389
- : [];
14684
+ let parsed;
14685
+ // If events is a string, try to parse it
14686
+ if (typeof newValue === 'string') {
14687
+ try {
14688
+ parsed = JSON.parse(newValue);
14689
+ }
14690
+ catch (e) {
14691
+ // eslint-disable-next-line
14692
+ console.error('Error parsing timeline events JSON', e);
14693
+ parsed = [];
14694
+ }
14390
14695
  }
14391
- catch (e) {
14392
- this.parsedEvents = [];
14696
+ // If events is already an array, use it directly
14697
+ else if (Array.isArray(newValue)) {
14698
+ parsed = newValue;
14393
14699
  }
14700
+ // Otherwise, default to an empty array
14701
+ else {
14702
+ parsed = [];
14703
+ }
14704
+ // Map over the parsed events to ensure boolean conversion for "completed"
14705
+ this.parsedEvents = Array.isArray(parsed)
14706
+ ? parsed.map((event) => (Object.assign(Object.assign({}, event), { completed: event.completed === 'true' || event.completed === true })))
14707
+ : [];
14394
14708
  }
14395
14709
  componentWillLoad() {
14396
14710
  this.parseEvents(this.events);
@@ -14417,7 +14731,7 @@ class EdsTimeline {
14417
14731
  }
14418
14732
  }
14419
14733
  render() {
14420
- return (hAsync("div", { key: '8f40212e04ab17cac2688df56b7330041a605a86', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '68421d4fce08e881e2494b5c504bd5db7570e34f', class: "relative" }, hAsync("div", { key: 'e43edd7fba6d30b3dd48ffb2b467ff24b46c8da7', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: '56dd7cebb5a2761547a5e24ec76652f7052906b2', class: "space-y-16" }, this.parsedEvents.map((event, index) => (hAsync("div", { class: "relative flex" }, hAsync("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
14734
+ return (hAsync("div", { key: '6016cb89d3fe3250482b42d8a0bf500fe18cee5d', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '994cc7af75950a0f09d108804efff796602aeb93', class: "relative" }, hAsync("div", { key: '77b15ae60feb380ea20c6466b49d0efd5d8f5180', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: '60bb384ce4eedd7bfc3b15a7a637e2b89318d619', class: "space-y-16" }, this.parsedEvents.map((event, index) => (hAsync("div", { class: "relative flex" }, hAsync("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
14421
14735
  ? [{ label: 'completed', style: 'accent' }]
14422
14736
  : [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), hAsync("div", { class: "flex items-center justify-center relative" }, event.completed ? (hAsync("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (hAsync("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), hAsync("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
14423
14737
  ? [{ label: 'completed', style: 'accent' }]
@@ -14468,6 +14782,27 @@ class EdsToast {
14468
14782
  this.duration = 5000;
14469
14783
  this.visible = true;
14470
14784
  }
14785
+ /**
14786
+ * Lifecycle method that sets up the initial panel height and adds a resize event listener
14787
+ * to recalculate height on window resize.
14788
+ */
14789
+ componentDidLoad() {
14790
+ // Emit context for each eds-button element after the component is fully loaded
14791
+ const btn = this.el.querySelector('eds-button');
14792
+ this.emitContext(btn);
14793
+ }
14794
+ /**
14795
+ * Emits a custom event called `parentContext` for a given button element.
14796
+ */
14797
+ emitContext(linkElement) {
14798
+ const event = new CustomEvent('parentContext', {
14799
+ detail: {
14800
+ componentName: this.el.tagName.toLowerCase(),
14801
+ identifier: null
14802
+ }
14803
+ });
14804
+ linkElement.dispatchEvent(event);
14805
+ }
14471
14806
  connectedCallback() {
14472
14807
  // Auto-dismiss the toast after the specified duration
14473
14808
  this.dismissTimeout = setTimeout(this.dismissToast, this.duration);
@@ -14531,7 +14866,7 @@ class EdsToastManager {
14531
14866
  this.toasts = this.toasts.filter((t) => t.id !== id);
14532
14867
  }
14533
14868
  render() {
14534
- return (hAsync("div", { key: '8fc238fb8e0b463c286ca21f2525cae8fd738684', class: "toast-container" }, this.toasts.map((t) => (hAsync("div", { key: t.id }, hAsync("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
14869
+ return (hAsync("div", { key: '459148404380e386117387f42183e24a069b2de6', class: "toast-container" }, this.toasts.map((t) => (hAsync("div", { key: t.id }, hAsync("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
14535
14870
  }
14536
14871
  get hostElement() { return getElement(this); }
14537
14872
  static get style() { return EdsToastManagerStyle0; }
@@ -14566,9 +14901,17 @@ class EdsTooltip {
14566
14901
  * Show the tooltip and update its position.
14567
14902
  */
14568
14903
  async showTooltip() {
14904
+ var _a;
14569
14905
  await this.updateTooltipPosition();
14570
14906
  this.isPositioned = true;
14571
14907
  this.isVisible = true;
14908
+ sendAnalytics({
14909
+ category: 'ui-component',
14910
+ parentContext: null,
14911
+ tag: this.el.tagName.toLowerCase(),
14912
+ name: ((_a = this.content) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
14913
+ action: 'hover'
14914
+ });
14572
14915
  }
14573
14916
  /**
14574
14917
  * Hide the tooltip.
@@ -14633,7 +14976,7 @@ class EdsTooltip {
14633
14976
  }
14634
14977
  }
14635
14978
  render() {
14636
- return (hAsync("div", { key: '5edce5e2ca66ef992ad22604a5017e5ab02f846b', class: "relative" }, hAsync("slot", { key: '74c9ef5978e023a45eb9c25c18f95f1875c19b13' }), this.isVisible && this.isPositioned && this.content && (hAsync("div", { key: '4cc3ea40bd81308eb7685b5c1065e8bd30f99191', class: "rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6", role: "tooltip", style: {
14979
+ return (hAsync("div", { key: '673ab0ee31378410f9c83bb5fd37b27d00a7b018', class: "relative" }, hAsync("slot", { key: '0c0138dfdf9aafecc1e0e925c84d4b0ca957f82d' }), this.isVisible && this.isPositioned && this.content && (hAsync("div", { key: '798d01cf631f2e5b3af9d9bb11a847041a6ee2ba', class: "rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6", role: "tooltip", style: {
14637
14980
  top: this.tooltipStyle.top,
14638
14981
  left: this.tooltipStyle.left,
14639
14982
  transform: this.tooltipStyle.transform
@@ -14657,9 +15000,6 @@ class EdsTooltip {
14657
15000
  }; }
14658
15001
  }
14659
15002
 
14660
- const edsTrlCss = "";
14661
- var EdsTrlStyle0 = edsTrlCss;
14662
-
14663
15003
  /**
14664
15004
  * @internal
14665
15005
  */
@@ -14669,13 +15009,23 @@ class EdsTrl {
14669
15009
  this.applications = undefined;
14670
15010
  }
14671
15011
  getParsedApplications() {
14672
- try {
14673
- return JSON.parse(this.applications || '[]');
15012
+ let apps = [];
15013
+ // If applications is a string, attempt to parse it as JSON.
15014
+ if (typeof this.applications === 'string') {
15015
+ try {
15016
+ apps = JSON.parse(this.applications || '[]');
15017
+ }
15018
+ catch (error) {
15019
+ // eslint-disable-next-line
15020
+ console.error('Invalid applications trl JSON', error);
15021
+ apps = [];
15022
+ }
14674
15023
  }
14675
- catch (error) {
14676
- //console.error('Invalid applications JSON', error);
14677
- return [];
15024
+ // If applications is already an array, use it directly.
15025
+ else if (Array.isArray(this.applications)) {
15026
+ apps = this.applications;
14678
15027
  }
15028
+ return apps;
14679
15029
  }
14680
15030
  calculateProgress(currentTrl) {
14681
15031
  const maxTrl = 9;
@@ -14683,12 +15033,18 @@ class EdsTrl {
14683
15033
  }
14684
15034
  render() {
14685
15035
  const apps = this.getParsedApplications();
14686
- if (apps.length === 0) {
14687
- return hAsync("p", null, "No applications to display.");
14688
- }
14689
- return (hAsync("div", { class: "container mx-auto px-4 py-8" }, hAsync("table", { class: "table-auto w-full border-collapse border border-gray-200" }, hAsync("thead", null, hAsync("tr", { class: "bg-gray-100" }, hAsync("th", { class: "border border-gray-300 px-4 py-2 text-left" }, "Application"), hAsync("th", { class: "border border-gray-300 px-4 py-2 text-left" }, "Current TRL Stage"), hAsync("th", { class: "border border-gray-300 px-4 py-2 text-left" }, "Progress"))), hAsync("tbody", null, apps.map((app) => (hAsync("tr", null, hAsync("td", { class: "border border-gray-300 px-4 py-2" }, app.name), hAsync("td", { class: "border border-gray-300 px-4 py-2" }, "TRL ", app.currentTrl), hAsync("td", { class: "border border-gray-300 px-4 py-2" }, hAsync("eds-progress-bar", { value: this.calculateProgress(app.currentTrl) })))))))));
15036
+ // Map applications into table-friendly data.
15037
+ const tableData = apps.map((app) => ({
15038
+ Application: app.name,
15039
+ 'Current TRL Stage': `TRL ${app.currentTrl}`,
15040
+ Progress: (hAsync("div", { class: "w-[200px]" }, hAsync("eds-progress-bar", { value: this.calculateProgress(app.currentTrl) })))
15041
+ }));
15042
+ const tableConfig = {
15043
+ Application: { format: 'code' },
15044
+ 'Current TRL Stage': { format: 'text' }
15045
+ };
15046
+ return (hAsync("div", { key: '868a7c45e6495d7a2ed8a4ad2974ac31f74535a6', class: "container mx-auto px-4 py-8" }, hAsync("eds-table", { key: 'ed3e2a949d0e1d66a5e80018fa5fcac9bbe64620', data: JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
14690
15047
  }
14691
- static get style() { return EdsTrlStyle0; }
14692
15048
  static get cmpMeta() { return {
14693
15049
  "$flags$": 0,
14694
15050
  "$tagName$": "eds-trl",
@@ -14729,6 +15085,7 @@ class EdsUser {
14729
15085
  this.handleLogout = () => {
14730
15086
  logout();
14731
15087
  this.authenticated = false;
15088
+ this.user = null;
14732
15089
  };
14733
15090
  this.keycloakUrl = undefined;
14734
15091
  this.keycloakRealm = undefined;
@@ -14743,9 +15100,15 @@ class EdsUser {
14743
15100
  * It initializes authentication by calling the `initAuth` method.
14744
15101
  */
14745
15102
  async componentWillLoad() {
15103
+ // Check if required props are provided (optional check)
15104
+ if (!this.keycloakUrl || !this.keycloakRealm || !this.keycloakClientId) {
15105
+ // eslint-disable-next-line
15106
+ console.error('Keycloak configuration props are missing.');
15107
+ return;
15108
+ }
14746
15109
  this.serverAvailable = await checkServerAvailability(`${this.keycloakUrl}/realms/${this.keycloakRealm}`);
14747
15110
  if (!this.serverAvailable) {
14748
- toast.show('Keycloak server is unavailable.', 'error');
15111
+ //toast.show('Keycloak server is unavailable.', 'error');
14749
15112
  return; // Do not proceed further
14750
15113
  }
14751
15114
  await this.initAuth();
@@ -14764,15 +15127,15 @@ class EdsUser {
14764
15127
  };
14765
15128
  await initKeycloak(keycloakConfig, true);
14766
15129
  // Set authentication state and fetch user data if authenticated
14767
- this.authenticated = isAuthenticated();
14768
- if (this.authenticated) {
15130
+ //this.authenticated = isAuthenticated();
15131
+ if (isAuthenticated()) {
14769
15132
  this.user = getUser();
15133
+ this.authenticated = true;
14770
15134
  }
14771
15135
  this.authStatusChanged.emit({
14772
15136
  authenticated: this.authenticated,
14773
15137
  user: this.user
14774
15138
  }); // Emit auth status change
14775
- toast.show(`Welcome back, ${this.user.username}`, 'success');
14776
15139
  }
14777
15140
  catch (error) {
14778
15141
  // eslint-disable-next-line
@@ -14785,7 +15148,7 @@ class EdsUser {
14785
15148
  if (!this.serverAvailable) {
14786
15149
  return null;
14787
15150
  }
14788
- return (hAsync("div", { class: "block" }, !this.authenticated ? (hAsync("eds-button", { label: "Login", intent: "primary", onClick: this.handleLogin.bind(this), class: "text-default" })) : (hAsync("div", { class: "flex items-center" }, hAsync("eds-dropdown", { label: `Welcome, ${(_a = this.user) === null || _a === void 0 ? void 0 : _a.username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, hAsync("eds-user-modal", { user: JSON.stringify(this.user), onLogout: this.handleLogout.bind(this) }))))));
15151
+ return (hAsync("div", { class: "block" }, !this.authenticated ? (hAsync("eds-button", { label: "Login", intent: "primary", onClick: this.handleLogin, "extra-class": "text-default" })) : (hAsync("div", { class: "flex items-center" }, hAsync("eds-dropdown", { label: `Welcome, ${(_a = this.user) === null || _a === void 0 ? void 0 : _a.username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, hAsync("eds-user-modal", { user: JSON.stringify(this.user), onLogout: this.handleLogout.bind(this) }))))));
14789
15152
  }
14790
15153
  get hostEl() { return getElement(this); }
14791
15154
  static get cmpMeta() { return {
@@ -14806,9 +15169,6 @@ class EdsUser {
14806
15169
  }; }
14807
15170
  }
14808
15171
 
14809
- const edsUserModalCss = "";
14810
- var EdsUserModalStyle0 = edsUserModalCss;
14811
-
14812
15172
  /**
14813
15173
  * @internal
14814
15174
  */
@@ -14841,13 +15201,12 @@ class EdsUserModal {
14841
15201
  }
14842
15202
  render() {
14843
15203
  var _a, _b, _c, _d, _e;
14844
- return (hAsync("div", { key: '70a619795f9f0e5ed619cce77c95b7661beb2c63', class: "min-w-[280px] p-8" }, hAsync("div", { key: '01bfe265178130ca0398592087f2420f7509d018', class: "flex gap-x-16 pb-16 border-b-2 border-softer" }, hAsync("eds-avatar", { key: 'fcb0cc8aa22e11763c342bc4247343485f6ded90', "first-name": (_a = this.parsedUser) === null || _a === void 0 ? void 0 : _a.firstname, "last-name": (_b = this.parsedUser) === null || _b === void 0 ? void 0 : _b.lastname, initials: this.initials, color: "grey", rounded: true, "initials-strong": true }), hAsync("div", { key: '70d5c334cc98e9bdc22e0129a7c3c0b8d616cb0d', class: "max-w-full" }, ((_c = this.parsedUser) === null || _c === void 0 ? void 0 : _c.fullname) && (hAsync("p", { key: 'f30cccaa393dd1274d156640ed649893de3f2a0b', class: "f-ui-01 text-default w-full text-ellipsis" }, this.parsedUser.fullname)), ((_d = this.parsedUser) === null || _d === void 0 ? void 0 : _d.username) && hAsync("p", { key: '5256c0bc39ca675b05d654c6d0ad72da948df58e', class: "f-ui-03-light text-light mt-4" }, this.parsedUser.username), ((_e = this.parsedUser) === null || _e === void 0 ? void 0 : _e.email) && hAsync("p", { key: '892a3d85052c62e11cd775c2d91c55f572df745b', class: "f-ui-03-light text-light mt-4" }, this.parsedUser.email))), hAsync("div", { key: '98e1f6605a8e312a1e7c340d21e0240a1e980e04', class: "text-default mt-16 flex w-full flex-col gap-y-8" }, hAsync("div", { key: 'd4ed22d8dc1bf4d1fd7c64b388e53df2a1e48957', class: "border-softer mb-10 border-b-2 pb-16" }, hAsync("eds-link", { key: '98d69c840a87b15d537442ca0c1f2890175532ff', label: "My EBRAINS", "aria-label": "My EBRAINS", url: "https://www.ebrains.eu/dashboard", intent: "primary", "extra-class": "w-full", external: true })), hAsync("eds-link", { key: 1, label: "Account Settings", url: "https://iam.ebrains.eu/auth/realms/hbp/account/", intent: "secondary", icon: "arrow-diagonal", external: true, "extra-class": "w-full" }), this.hasLogout && (hAsync("eds-link", { key: '8c3c341626f0ca5fd217aea8939d44c7cf3e0ed3', label: "Sign out", intent: "tertiary", "extra-class": "w-full justify-center", onClick: () => this.onLogout && this.onLogout() })))));
15204
+ return (hAsync("div", { key: 'ad99ddd7c2710ef90840a5571ab6a161178cacc0', class: "min-w-[280px] p-8" }, hAsync("div", { key: 'd1da12f3a965fa7503fb3e00566db0796b803352', class: "flex gap-x-16 pb-16 border-b-2 border-softer" }, hAsync("eds-avatar", { key: 'c3d3ca80a9d23cc88f8ee6801b29995138c9b7c6', "first-name": (_a = this.parsedUser) === null || _a === void 0 ? void 0 : _a.firstname, "last-name": (_b = this.parsedUser) === null || _b === void 0 ? void 0 : _b.lastname, initials: this.initials, color: "grey", rounded: true, "initials-strong": true }), hAsync("div", { key: '4efe378b3a9ce76d35e642db150be13d0434db72', class: "max-w-full" }, ((_c = this.parsedUser) === null || _c === void 0 ? void 0 : _c.fullname) && (hAsync("p", { key: '1068082a2894e3c3e3f77d1eea923f9c39d8766c', class: "f-ui-01 text-default w-full text-ellipsis" }, this.parsedUser.fullname)), ((_d = this.parsedUser) === null || _d === void 0 ? void 0 : _d.username) && hAsync("p", { key: 'b86e08b806a37c9957bca7f9ee268303e7ace134', class: "f-ui-03-light text-light mt-4" }, this.parsedUser.username), ((_e = this.parsedUser) === null || _e === void 0 ? void 0 : _e.email) && hAsync("p", { key: 'b3514920e1eb4906cb7f7705bfbc986166e84946', class: "f-ui-03-light text-light mt-4" }, this.parsedUser.email))), hAsync("div", { key: '61941fa0a19a19087da886a73d85d7e438d2c0b0', class: "text-default mt-16 flex w-full flex-col gap-y-8" }, hAsync("div", { key: '5ad2be1763726c9d794b78a2593106fd8ba1dc7b', class: "border-softer mb-10 border-b-2 pb-16" }, hAsync("eds-link", { key: 'dbe3a9de56bf5ccc26426ddb831f2d1a27a0e6ff', label: "My EBRAINS", "aria-label": "My EBRAINS", url: "https://www.ebrains.eu/dashboard", intent: "primary", "extra-class": "w-full", external: true })), hAsync("eds-link", { key: 1, label: "Account Settings", url: "https://iam.ebrains.eu/auth/realms/hbp/account/", intent: "secondary", icon: "arrow-diagonal", external: true, "extra-class": "w-full" }), this.hasLogout && (hAsync("eds-link", { key: '642890827e2fa6735bc616e680dbda481c2c0053', label: "Sign out", intent: "tertiary", "extra-class": "w-full justify-center", onClick: () => this.onLogout && this.onLogout() })))));
14845
15205
  }
14846
15206
  static get watchers() { return {
14847
15207
  "user": ["parseUserProp"],
14848
15208
  "links": ["parseLinksProp"]
14849
15209
  }; }
14850
- static get style() { return EdsUserModalStyle0; }
14851
15210
  static get cmpMeta() { return {
14852
15211
  "$flags$": 0,
14853
15212
  "$tagName$": "eds-user-modal",
@@ -14899,7 +15258,7 @@ class GradientPrimaryPalette {
14899
15258
  ];
14900
15259
  }
14901
15260
  render() {
14902
- return (hAsync("ul", { key: 'f943b364e509b687251bc9f75a6de5292f31533e', class: "gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
15261
+ return (hAsync("ul", { key: '922dbe263e6db86ed17d98d65d38e1d6f4ef25df', class: "gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
14903
15262
  background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
14904
15263
  } }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16" }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
14905
15264
  }
@@ -14972,19 +15331,19 @@ class GradientSecondaryPalette {
14972
15331
  ];
14973
15332
  }
14974
15333
  render() {
14975
- return (hAsync("div", { key: 'bdc18e3d665665553343829c723199b442e19d45' }, hAsync("ul", { key: 'd8eaca9e80b609d02bc8110f18df5e160df31a82', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'c5aebad3d86550c6cf1a838df3e8c9ec9747cb66', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '23b9e4b23e828626a764ef259015b9d257bc0c0a', class: "effect-height flex items-center justify-between p-16", style: {
15334
+ return (hAsync("div", { key: '29353679b15fce11ec2e357704cffd6a2d1389d4' }, hAsync("ul", { key: '7a262e1c8f17226c6639a00e1829d4f0927f988d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'f3dfcbe6da3ee882ae9100f95fe68788cd82195f', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '83e3ac5d6f64e18e38e179251d58ff3ed23019a3', class: "effect-height flex items-center justify-between p-16", style: {
14976
15335
  background: this.colors[0].background
14977
- } }, hAsync("div", { key: 'a91c4fa791b2047cc5269c7904a128850e4d0fb1', class: "grid" }, hAsync("span", { key: 'cf468a9a5668b8985bfb017c388700aa15004c14', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '562785dd94ded6d876aa99255996dcdb29ab1697', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '1864b7d5a62e7936b23c6db3aaf2265e1b7e9d05', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '21c102281f3d0190931f4c51ceec86bb6d47f329', class: "grid" }, hAsync("span", { key: 'f6f6afb11df2a294083285ddd4f571e36693490c', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: '0e14a45108fe727bb8be3035138eb5b814417062', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: '2d4142003fce425659f61711f1d6f1c99883753e', class: "effect-height flex items-center justify-between p-16", style: {
15336
+ } }, hAsync("div", { key: 'ebc2424dd2950cc2704351456d4d974051e0dd93', class: "grid" }, hAsync("span", { key: '3fdfb110070a8795a1bb1aea12447bc2556937cc', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '0b929d1ddd40e67bc8cd0248fc7bf0c0f8a11cb7', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '3f4ab8d6b91afeaba20c273b8ede74593d452bf0', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '80b6a23a151e6b71630071f2d51c03e6b8c957ff', class: "grid" }, hAsync("span", { key: 'c86531490e51f5559d4293bc75bb2477d23d1593', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: '5bbc4e02eb2845508c6de7715f5fe202a36249a5', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: '050d2770d4c2e6395dc5350c9f29860ecf3d7e46', class: "effect-height flex items-center justify-between p-16", style: {
14978
15337
  background: this.colors[1].background
14979
- } }, hAsync("div", { key: '4d2d09712751c9c9a6d65b5fa17b940c2052ab22', class: "grid" }, hAsync("span", { key: 'd114fd9cb9b365c5c671e5949437d666b82ad565', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '185b7450294ffe29066af38007e0c49ef63e076f', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '351efdce5d3fac3feaf0bf2f7893dc27c2d75342', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3bf2699a9868e389f992ff48d4c39d488a4abbfc', class: "grid" }, hAsync("span", { key: 'a681050804433e72304d96ec086fafb8cbc51173', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '95c9809b141e92a409a5a627ceb768520c9c4ece', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '66ef5f885a5c19fafa1b0fff70d1b9030a7134b0' }), hAsync("ul", { key: '64c01dd159b84674852efb2fe3745408bae602d8', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '3f26394aa89b38a2da75745a2e10cd667b384794', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '02175a5dee1685aa806f7f11f38b1fc10bc3e39f', class: "effect-height flex items-center justify-between p-16", style: {
15338
+ } }, hAsync("div", { key: '20a5a6748573d6e059ec81d00a737355cfd7f934', class: "grid" }, hAsync("span", { key: 'a63a0ea4301f11e4984f3749c087041acedb94b4', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: 'd986ecee52e15de1bbd58c48109f8c89d0cf19a2', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'd35bb3c1cb26aa9a3828cecfde1b32f428e8b1af', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '8a616b789a99d3721ccc1f102131c2aba1951106', class: "grid" }, hAsync("span", { key: '03d172bbc56a4535d20051bb2ab1bfb4c0889586', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '66f1656d1d41f1616175285cf8f7e7089c9f2657', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '85a7244a69f0d3af26ea5f148917183e2431140e' }), hAsync("ul", { key: 'eb44b6b21fc75b1fd22e1aee42fac1aa99155b0d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'ecb50392387996034d1f4211d5336d2071927844', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'f45bf292bf11cb440731ff7bc67e5b364cb7b6c1', class: "effect-height flex items-center justify-between p-16", style: {
14980
15339
  background: this.colors[2].background
14981
- } }, hAsync("div", { key: 'f32d9cfe7b4f685cd763c782978f74e5e9a89163', class: "grid" }, hAsync("span", { key: '553c770c44856f9cd9c1889469d23cda5f287cc0', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: 'bbf13e0c6a19b0e916fff6c9d327a647e7a6fbf8', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'b06f51bea3fc1e9163cc05db89394eba7043f6c7', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3aa123886f1a945552885d37698229f5cd0a2966', class: "grid" }, hAsync("span", { key: '3016782b49158e04f6d45ad64cee65b39e878fa4', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '21d1948bdaa6bfbb6089657f74ee8fa0ecbebace', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: 'f47d2389491869cd32b738a3b90018115afbcb54', class: "effect-height flex items-center justify-between p-16", style: {
15340
+ } }, hAsync("div", { key: '981db4da9bdbc0f60ba6e8fd83840101a815550f', class: "grid" }, hAsync("span", { key: 'd6aaf058991f0d7e1c4d5d7bfa17b0342880cb9c', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: 'cd63d8d64b9fa30f7a568125f61d3735c3596f0b', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'aca8d6c9668168c6d4b71cb5039e0af4cd419e30', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'ed16477727fe22372cbcd730c4e9cc67f5b35ed8', class: "grid" }, hAsync("span", { key: '4b6989756eb826d93b5b7d71e874f62914d221df', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: 'a4e3d7e9f3582a0fc5dfabbfc9feb5bb969c2933', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: 'd23b28073abf3c16b3f8d58744fb5f66877cdd94', class: "effect-height flex items-center justify-between p-16", style: {
14982
15341
  background: this.colors[3].background
14983
- } }, hAsync("div", { key: 'f1f01d85a7c3be1ad5ed8b853f79eedf6330e82e', class: "grid" }, hAsync("span", { key: 'f649a7e8e05bb5831c23a7411843cd98ed2ed96f', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '455e57d9ca09d6e77bdc0991712e808bdca0e6e5', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '7fb2003ba7dd3d1f24aebdd90c87bd805ad0cd3a', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'e0d3fedab453a4bec2d84aaf62b4a80c82a2db86', class: "grid" }, hAsync("span", { key: '5286c2010275bc886814b513cf4d84e7094621fd', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '3593537296fa34b31d417242664384f7a8d87583', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: '5cfec71639c53573ba390860973e8a2ba1fd5c44' }), hAsync("ul", { key: '117e15fcee91fc3f01af739bd73bfd34cdf56e7a', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '301626130c8f9737f05a3d4b070ff1fd6adf177f', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'c58c6cef85dbf3fb3fddd6bfceb0bf1d39590f5c', class: "effect-height flex items-center justify-between p-16", style: {
15342
+ } }, hAsync("div", { key: '1c96adb58e67d7cada4b4ba382ca2fcd37f0dfd8', class: "grid" }, hAsync("span", { key: 'beaab441ab5852d1141b509a161123ab0f743e7c', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: 'd2e57f4fd72ff1ef9c84f27e81c8c6b03ec50f66', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '48772cedf0b4ad119e14696e58203efce7bb3559', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '0e233bc33432cdd2149ab20b64464d03de22bcef', class: "grid" }, hAsync("span", { key: 'b0f41ae03bfd3bedf2ebd60b6a4b30c677395da0', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '433f30e367352cbd24668dac2ecf741b9f81febe', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: 'a862789d835c146d140b634782eefa7b48139597' }), hAsync("ul", { key: '9fe132435b11fa93057df3d747dfe36f04bfd997', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'e8438aedc62f4d0195a3c4c1c714ba99c6f7b67f', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '9928ba20be7b9100e437345a4c5b03bf6d495707', class: "effect-height flex items-center justify-between p-16", style: {
14984
15343
  background: this.colors[4].background
14985
- } }, hAsync("div", { key: 'f5a2a3cbfa9c62bf0073a176474b41a6fcf684a1', class: "grid" }, hAsync("span", { key: 'b4af0df345df2de8031bf404ebae2f048fd9c5c9', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '79e7576ed0036fb4339b12e8c4b3fe327685879d', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'b409249f4fb37f56251bb1305f4062d89bdf6b0e', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '84fe567c909d8c1f4923b9be35b7548a95a11eea', class: "grid" }, hAsync("span", { key: '6bf3c87341ab929749913400f1a2f9773bb03a97', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: '237e9a04a4c7dc25ed19d021dc292053034e8113', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: 'd2c85d6e08bdb41850d4a93b7a6e18b683583d8f', class: "effect-height flex items-center justify-between p-16", style: {
15344
+ } }, hAsync("div", { key: '1cd2d6a8ec580b4094335d3c56acfbb398a96c28', class: "grid" }, hAsync("span", { key: 'dbbd548a12bcc861526309132e685a97714de1d5', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '93d38512e45747e4277169ee3221c36f96862f29', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'b04c9679ea48bf89e70cc969ecd42984ce3c7286', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '4a6130bdeb963c9674100528e2ef24a2245acbab', class: "grid" }, hAsync("span", { key: '7f49f52d514e36d7886a1aecb3c92c7148dcf595', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: '0d9a53c5262183a24114f762175f1d9fe5299950', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: '26a6e6ca4a67e5ff01d4fcb75e40fdb1456ca62f', class: "effect-height flex items-center justify-between p-16", style: {
14986
15345
  background: this.colors[5].background
14987
- } }, hAsync("div", { key: '832782a24170ba86015d59bbc7e59654fe8e6537', class: "grid" }, hAsync("span", { key: '9b45e512e6068874f829260378f2e2545d098e05', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: '31c2ef651c4fd295921910828388d6aaeba21c9e', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: '3d238f2e4d97604c411f5ad38787cf2d6fc9771a', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'b96d4416fc2fb060ccc197020ae8ee8a2fc05aa5', class: "grid" }, hAsync("span", { key: '83b4399412447ab4c3ab43a75d6b82c069b37b76', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: '4af3fd1f49acae167a909e1ceb21203bdff66690', class: "f-body-02" }, this.colors[5].pantoneU)))))));
15346
+ } }, hAsync("div", { key: 'ff5052b9aa74a3edb7d3ba6d1c75b9073b969b31', class: "grid" }, hAsync("span", { key: 'b69e9f4646835b689fd46c6f84b8b35dba1500a1', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: 'a459cc1600cb4072e6d1cfbcae75d17cf14fbbfe', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: '55f9185213f01a7891a4e8ff54f4f26759370ef8', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '2f3bbbcdf402f0da4bade772b3cadb1b8cb3370c', class: "grid" }, hAsync("span", { key: '818372e4673ef5c8e35085702a559b744a5cbe8c', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: '2bc994826618735b82fd93fe039328a2ff4f6f95', class: "f-body-02" }, this.colors[5].pantoneU)))))));
14988
15347
  }
14989
15348
  static get cmpMeta() { return {
14990
15349
  "$flags$": 0,
@@ -15047,11 +15406,11 @@ class GradientSupportPalette {
15047
15406
  ];
15048
15407
  }
15049
15408
  render() {
15050
- return (hAsync("ul", { key: 'c7a9e89b9da867c127705056cdb10a6985bcfa43', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '47cd16f026680ac4885a87fda5a7334b51412236', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '4a400afaa3dada2350a4f0c22f68e31c68f8fbb5', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: 'b42a6ea902b8ceb2b59625dd505e8a9dd76eaef5', class: "grid" }, hAsync("span", { key: '50d914814be2695d1479e4503e6ba29494769333', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'c9c2900f6e5a03cce2d692270efeb6196f5247d9', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: 'bc07b6e90d9b426ef20bf0b61dfd1cf9ffeb9c28', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '29a0057038daa5a5eceb64607658c7016fd55dce', class: "grid" }, hAsync("span", { key: 'a94716477804b07614ffdc0fe543e8828ad39c24', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '83be94becd5d45b4547e204d89725b3b6ac2cf9f', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: '0ea4a2a1e82af5d75003a518d39cf256707e7bc9', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'fbf46dbacd066c848b32c0cc5450a27f27ac9fff', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: '1ee3cf46b024449c1ef3b574d444a7c46c681329', class: "grid" }, hAsync("span", { key: '9f330c8d91f92cdf265b533a6452b0bcbb750b59', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '8233d8e3edd2e56cf0c21ef41ad3fbc9304081d6', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'b5fe02b9ebba2007e79bea4dc626529dfb079387', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '9cc0560cd2b01ba2dd28cbcdd6498112824840ee', class: "grid" }, hAsync("span", { key: '239157d8d24f5ad8384479c2cb01c98b175d1ba9', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: '3bf35bb7d4d6b40469dcf7fad11e91280f509dcd', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: 'ce422b2cd0e6aa04b479fc65051a84a6df6b7885', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'be5b32ca29a572fe6259f1ce38cb619ff891dd10', class: "effect-height flex items-center justify-between p-16", style: {
15409
+ return (hAsync("ul", { key: 'e5444717497402cac34586943ffd10abd2e77148', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '84f6b65181b6f2237b7ef261445a2e58935975ab', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'b9eb17a05b1a479e46adf3908ede6d2a74e47e91', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: '74cb2cf74997cf993557cbf06158578a45439965', class: "grid" }, hAsync("span", { key: '29c00a82880aff024927e29c95fde61016553d5d', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'db89f95d9c30eb90ba6d7f9cd12c793f8a500b00', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: 'd050e9d7910ed8ac88f4f791a2c8a1edaadcb0ac', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'd2b688154a3d1f61df4dcc1f735eae9747011d01', class: "grid" }, hAsync("span", { key: '2a204759a52f881b2d6b0d40116bf00bbda3aed2', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '9023f33ba5182558f12dfb119ed4338649638bd7', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: '55a4cf54a4dbc1b5c7f9962c571cbb971cba0d93', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'b4190fda8834ddfe5e53e90d357cc1835e7d16ce', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: 'cf5415f31d46d7a966fa3da040aec720c0241673', class: "grid" }, hAsync("span", { key: '4fb475890391784e8be7c40d0c74c02a492739f7', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '02f5bd1fcb7be45141963bb1d723646195978d49', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '781791e59a86c8687d9afe6d729161acf05fc9dd', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'dd84d9b36892ff47481babfb2fbb8a9082f43219', class: "grid" }, hAsync("span", { key: 'df5ef60b6866f46bafcd93d8f82498090102a520', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: 'a8cf80fcb9f7fef12daf32055c61fdb33ee38d67', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: '2ed0376ad5484fadac08c530450e993fa6145328', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '30ba72591ea4537407b2220a85a961fce0fc54e5', class: "effect-height flex items-center justify-between p-16", style: {
15051
15410
  background: this.colors[2].background
15052
- } }, hAsync("div", { key: '316e83dc0cb32df5dc95bc926f628a17c83ee7ff', class: "grid" }, hAsync("span", { key: '137f7cd7f0bbac24cfc12cf7c9bc0f3cf79f697d', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '22b0307ccd12d25b42b8253b78a1b82a52bd5ebc', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: '1e27dd1221baeead37dda20d2869f446b1098655', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '6d2a34842470d26a49e56f1ac87991de251d437c', class: "grid" }, hAsync("span", { key: '7e2213e4f1f51e26779bb20ad5f5ad228c71be95', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '59424be94d66cb7fc4cc25f4b470179f145d31cf', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '3abe2e221fb94bfe2d3a1808496a195753e50b92', class: "effect-height flex items-center justify-between p-16", style: {
15411
+ } }, hAsync("div", { key: '641ea920703268846558c852fe087fa9546e14b7', class: "grid" }, hAsync("span", { key: 'f672422e13deb40e9dfaddd6f9855b2de28eab5b', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '008794c76fb2713438c198c914e718efbbfc7b5e', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'ee1cfa3a78f670c74e00e96b6415f85715334526', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '295c044bb9cc9ed3a85bb488225db4401f0ea542', class: "grid" }, hAsync("span", { key: '9d7dbf15fd44ce3d3e45a39324ad3a60d7ae30f0', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: 'd639d12c3215caf3f4f1e8a4ae062b540b6af50d', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '04e95d8b1a6f7dcdbc465263382e36d05f79d602', class: "effect-height flex items-center justify-between p-16", style: {
15053
15412
  background: this.colors[3].background
15054
- } }, hAsync("div", { key: '24502f470ddb1881655b6c19216f0702b3728d26', class: "grid" }, hAsync("span", { key: 'b0a86c800dafa141d5d665d1cfcf4dde204f9594', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '20309cdbfff6bb0953025e82c06343f83fd6f878', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'd83e2351a1f717716d339638b10bdc96d1acaeda', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '0fda1734b7ab96453af9316695c66bb03917d1f6', class: "grid" }, hAsync("span", { key: '692a1cecedf32db4783840ba0d6c5b9d7db3ee50', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: 'be23c5a7bd828f00d123cf20febea767cbe0f9b3', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: 'd584c32630f9b58355cf3b772ebdf8cdaac2d060', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '78f22604defd15a5d43e2eaa79e254b7415976b7', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: 'd216e68addbd780486b699672033c27ff68a8034', class: "grid" }, hAsync("span", { key: '1c26437a530d3b09c5a3e92cf14d243aa86c0956', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: 'e9ee2088dfad82523f799663e1b9a1aeaac2529b', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'f8ef23e2a5027609ddf4be44c7c3b1096586bd04', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '7f36d8b56cb6475c4a852d6aa7d242e1a241ca10', class: "grid" }, hAsync("span", { key: 'abe78109be71d80d68347ded8794d0bed31f66a0', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: 'd2e2343639db85544e1819b59460d0ef2b1c1317', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
15413
+ } }, hAsync("div", { key: 'e67079bbbdfa1853a2f069f08c52a8388cce688a', class: "grid" }, hAsync("span", { key: '43be6b7785066c0d51aa87e987fb672a758de8bb', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '791e968b11a9dafefac8fe0eda01b04ab4911802', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '5831fd1e75f8ed0d2edc29fbc439389275adf59e', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '09329acac8fbc33edada7a7c10c675631a240ea2', class: "grid" }, hAsync("span", { key: '42f70fa2578b40e189b95cd1d4c56ccd84cdce69', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '2b8dfefd1e2dff08aa17b234a04cff60e3eb9d7a', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: 'e3a39fb7ad23526623bfea88cdab8d320847365d', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'cfde16c94675c5c9b510e3752f875655c9d098e2', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: '1f8a8bd2e746c187323841ced84eec52d2c2f2f1', class: "grid" }, hAsync("span", { key: '920fc68ae73790a37c927dabf687ccaf5e248841', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '40205cf5666e6ba44ca07a09dc08e54f2f9cad56', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: '8a855110b362569cc9926a09772d12f133aa20b6', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'a69c90cfac79b0a7ba5fbd921117a12ce997c228', class: "grid" }, hAsync("span", { key: 'bc06aaaaececad3b81e4884380e17fe773f97570', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: '15baae3dafc6b53322e1a67956af1f533ea402f7', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
15055
15414
  }
15056
15415
  static get cmpMeta() { return {
15057
15416
  "$flags$": 0,
@@ -15097,10 +15456,6 @@ const incorrect = [
15097
15456
  ...purple,
15098
15457
  ...red
15099
15458
  ];
15100
- /**
15101
- * `CorrectUseOfColors` is a component that combines the primary palette and support palette
15102
- * to display the correct use of colors.
15103
- */
15104
15459
  /**
15105
15460
  * @internal
15106
15461
  */
@@ -15109,7 +15464,7 @@ class IncorrectUseOfColors {
15109
15464
  registerInstance(this, hostRef);
15110
15465
  }
15111
15466
  render() {
15112
- return (hAsync("div", { key: '024316623703e89a7d5d226a75c25c145be9b2c6', class: "container" }, hAsync("p", { key: 'c2ddb12f2d87bf1c5bb7f49bcf2b76d42ccfd310', class: "f-body-01" }, "Each of the four colour tones cannot be mixed in the same composition."), hAsync("div", { key: 'c5f1acb20614d5732836240dd65b23a8dd074447', class: "flex" }, hAsync("div", { key: 'cb2fb1c0355b744e53977c573383989be12fe1ad', class: "w-full" }, hAsync("ul", { key: '9ceb752231d8a7764221d45653c4ef73fad4573d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '494eaadc1547f91e11d93655b91424f98de6a635', class: "w-full" }, hAsync("ul", { key: '51de6e25df144ab9014ca95ad645a437b6469441', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
15467
+ return (hAsync("div", { key: '2e660e9a788e46e68d6695ae8aa475bbb1ca395e', class: "container" }, hAsync("eds-alert", { key: '1dc4552a33d88055a3a0c33eeb18c53a8379039a', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" }), hAsync("div", { key: 'fd6bf7f0205422b1bd3ceb3f8374d5a9a73aaca0', class: "flex" }, hAsync("div", { key: 'dae745447f5e9792136f059b1dcfc868e473dfd5', class: "w-full" }, hAsync("ul", { key: 'daeec7514f4027ec3f688f05fb4f1e027b846a81', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '1ca202afa9384e78e3ed9c0674e06c51184d3a5a', class: "w-full" }, hAsync("ul", { key: '7bdef2e7d64f3c5553193d127bac69ee89a93686', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
15113
15468
  }
15114
15469
  static get cmpMeta() { return {
15115
15470
  "$flags$": 0,
@@ -15132,7 +15487,7 @@ class LogoSpace {
15132
15487
  registerInstance(this, hostRef);
15133
15488
  }
15134
15489
  render() {
15135
- return (hAsync("div", { key: '941aa1eb81d139e0e9676481b9138bb52f7e83df', class: "container my-20" }, hAsync("div", { key: 'aebf776430ff757354b7ec6cb777c129d0052f22', class: "w-[300px]" }, hAsync("div", { key: '0ba420a45e374b736f360cbf165e1e7819a37184', class: "bg-dark" }, hAsync("div", { key: 'abc0532214cde00c7488dbf658891e36b034a307', class: "logo-container", innerHTML: vLogoMargins })))));
15490
+ return (hAsync("div", { key: '004134f2770f755a3ae0d158b9ec6987a64dcc8b', class: "container my-20" }, hAsync("div", { key: '49b57e44a4a68b5d6393ee3284af58d56aa5c014', class: "w-[300px]" }, hAsync("div", { key: '4812ffe1b1df94ece0e2d391648aea812c7c9028', class: "bg-dark" }, hAsync("div", { key: 'ce3bbecdba5bbabb14d1b0e197318cf4180f8699', class: "logo-container", innerHTML: vLogoMargins })))));
15136
15491
  }
15137
15492
  static get style() { return LogoSpaceStyle0; }
15138
15493
  static get cmpMeta() { return {
@@ -15145,38 +15500,24 @@ class LogoSpace {
15145
15500
  }; }
15146
15501
  }
15147
15502
 
15148
- const logoVariationsHorizontalCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.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)}.w-\\[150px\\]{width:150px}.w-\\[300px\\]{width:500px}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";
15503
+ const logoVariationsHorizontalCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.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)}.w-\\[150px\\]{width:150px}.w-\\[500px\\]{width:500px}@media (min-width: 750px){.md\\:w-\\[300px\\]{width:300px}.md\\:w-\\[500px\\]{width:500px}}@media (min-width: 900px){.lg\\:w-\\[300px\\]{width:300px}.lg\\:w-\\[500px\\]{width:500px}}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";
15149
15504
  var LogoVariationsHorizontalStyle0 = logoVariationsHorizontalCss;
15150
15505
 
15151
15506
  /**
15152
15507
  * @internal
15153
15508
  */
15154
- class LogoVariations$1 {
15509
+ class LogoVariationsHorizontal {
15155
15510
  constructor(hostRef) {
15156
15511
  registerInstance(this, hostRef);
15157
- this.orientation = 'horizontal';
15158
- this.type = undefined;
15159
15512
  }
15160
15513
  render() {
15161
- if (this.type === 'coloured') {
15162
- return (hAsync("div", { class: "container my-16" }, hAsync("div", { class: "coloured w-[300px]" }, hAsync("eds-logo", { type: "no-bg", href: "#" }))));
15163
- }
15164
- if (this.type === 'black') {
15165
- return (hAsync("div", { class: "container my-16" }, hAsync("div", { class: "bg-default w-[300px]" }, hAsync("eds-logo", { type: "black", href: "#" }))));
15166
- }
15167
- if (this.type === 'color-white') {
15168
- return (hAsync("div", { class: "container my-16" }, hAsync("div", { class: "w-[300px]" }, hAsync("eds-logo", { type: "color-white", href: "#" }))));
15169
- }
15170
- return null;
15514
+ return (hAsync("div", { key: '577cade970766dbbbd654258efe78920d8c0dbaf' }, hAsync("div", { key: '1c577dafe342384bffce716b4bcb9494685f2283', class: "container my-16" }, hAsync("h3", { key: 'b9f78264dbbe144cc9c7823c48874b3618af3919', class: "f-heading03" }, "Coloured Background"), hAsync("div", { key: 'c07b24eb1a3338d33a3b95c0228a1a7f297a0976', class: "coloured lg:w-[500px] md:w-[300px]" }, hAsync("eds-logo", { key: 'ed173d7c59ae22ad55814cf64222a5ce52d108d4', type: "no-bg", href: "#" }))), hAsync("div", { key: '7d939b469a8ce14f609e529121a830d9a47af857', class: "container my-16" }, hAsync("h3", { key: 'f110490f66e3d27f204e289a5eb85461c13594fa', class: "f-heading03" }, "Black and White Background"), hAsync("div", { key: 'd05bd8166d2a60aac723436b96e2451ae4459c04', class: "bg-default lg:w-[500px] md:w-[300px]" }, hAsync("eds-logo", { key: 'ce24bb6db3038d781a4d1917012c0d4ed7f23b1a', type: "black", href: "#" }))), hAsync("div", { key: '32fbbb1568604bdfd04c6ca6c14a558a3c490ed8', class: "container my-16" }, hAsync("h3", { key: 'ef03e68319669f548c7826d6387072af8d3f5a66', class: "f-heading03" }, "Dark Background "), hAsync("div", { key: 'a6b082f14400be771f43074c1f7f0bc348e77673', class: "lg:w-[500px] md:w-[300px]" }, hAsync("eds-logo", { key: '569f77f1b43b4a65a39720017b34273d6f3d7baa', type: "color-white", href: "#" })))));
15171
15515
  }
15172
15516
  static get style() { return LogoVariationsHorizontalStyle0; }
15173
15517
  static get cmpMeta() { return {
15174
15518
  "$flags$": 9,
15175
15519
  "$tagName$": "logo-variations-horizontal",
15176
- "$members$": {
15177
- "orientation": [1],
15178
- "type": [1]
15179
- },
15520
+ "$members$": undefined,
15180
15521
  "$listeners$": undefined,
15181
15522
  "$lazyBundleId$": "-",
15182
15523
  "$attrsToReflect$": []
@@ -15189,23 +15530,14 @@ var LogoVariationsVerticalStyle0 = logoVariationsVerticalCss;
15189
15530
  /**
15190
15531
  * @internal
15191
15532
  */
15192
- class LogoVariations {
15533
+ class LogoVariationsVertical {
15193
15534
  constructor(hostRef) {
15194
15535
  registerInstance(this, hostRef);
15195
- this.orientation = 'horizontal';
15536
+ this.orientation = 'vertical';
15196
15537
  this.type = undefined;
15197
15538
  }
15198
15539
  render() {
15199
- if (this.type === 'coloured') {
15200
- return (hAsync("div", { class: "container my-16" }, hAsync("div", { class: "coloured w-[200px]" }, hAsync("eds-logo", { orientation: "vertical", type: "no-bg", href: "#" }))));
15201
- }
15202
- if (this.type === 'black') {
15203
- return (hAsync("div", { class: "container my-16" }, hAsync("div", { class: "bg-default w-[200px]" }, hAsync("eds-logo", { orientation: "vertical", type: "black", href: "#" }))));
15204
- }
15205
- if (this.type === 'color-white') {
15206
- return (hAsync("div", { class: "container my-16" }, hAsync("div", { class: "w-[200px]" }, hAsync("eds-logo", { orientation: "vertical", type: "color-white", href: "#" }))));
15207
- }
15208
- return null;
15540
+ return (hAsync("div", { key: '70bc4a46031bb4456ba28bef27efbbfe5e7cf6f2' }, hAsync("div", { key: '84ab774067350c75982d41b6d97500e19d3fe5e5', class: "container my-16" }, hAsync("h3", { key: 'c080f9b4cfa18a3a48fb703f749c62531a322267', class: "f-heading03" }, "Coloured Background"), hAsync("div", { key: 'a9a871769d76e97c879f49437187ca553a633dd2', class: "coloured w-[200px]" }, hAsync("eds-logo", { key: '668f2607e0394ab1b25ddfbef4cd3e3880e1b4f9', orientation: "vertical", type: "no-bg", href: "#" }))), hAsync("div", { key: 'd1674061f47b242930599337d605b51831214d7a', class: "container my-16" }, hAsync("h3", { key: '8b1470587ad99fdf379c0c4b4646098d14f087e8', class: "f-heading03" }, "Black and White Background"), hAsync("div", { key: 'bbb9997369a93ce84450a7d289948049fcfa5bf6', class: "bg-default w-[200px]" }, hAsync("eds-logo", { key: '4f3dc6ad9f9db6f605d54df3c8adecea051cf34e', orientation: "vertical", type: "black", href: "#" }))), hAsync("div", { key: '0f54fde04fbef65477809b45371ac15914b1433b', class: "container my-16" }, hAsync("h3", { key: '5c46f1d7b09bf3e113e2733531611943ad21be4e', class: "f-heading03" }, "Dark Background "), hAsync("div", { key: '88609875109aae85cb5333426a3bc270314d9fb5', class: "w-[200px]" }, hAsync("eds-logo", { key: '0eeeba0006e25a8a4f0c4fb5c0d38b089e0a22f4', orientation: "vertical", type: "color-white", href: "#" })))));
15209
15541
  }
15210
15542
  static get style() { return LogoVariationsVerticalStyle0; }
15211
15543
  static get cmpMeta() { return {
@@ -15221,7 +15553,7 @@ class LogoVariations {
15221
15553
  }; }
15222
15554
  }
15223
15555
 
15224
- const logoWrongUsageCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.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-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.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)}.container{display:flex;flex-wrap:wrap;gap:16px}.example{width:200px;text-align:center;font-size:14px}.logo{width:100%;height:auto}.bg-dark{background-color:#333}.bg-light{background-color:#f3f3f3}.bg-white{background-color:white}.non-brand-color{fill:purple;}.distorted{transform:scaleX(1.5)}.effects{filter:drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5))}.rotated{transform:rotate(15deg)}.no-other-bg-color{background-color:var(--purple-200)}.no-other-color{color:var(--red-700)}.outlined{stroke:red;stroke-width:2px;fill:none;}.custom-font{font-family:'Comic Sans MS', cursive;font-size:20px;color:#333;}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.gap-y-8{row-gap:0.5rem}@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: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:flex{display:flex}.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}}@media (min-width: 750px){.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}}.flex-col{flex-direction:column}";
15556
+ const logoWrongUsageCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.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-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.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)}.container{display:flex;flex-wrap:wrap;gap:16px}.example{width:200px;text-align:center;font-size:14px}.logo{width:100%;height:auto}.bg-dark{background-color:#333}.bg-light{background-color:#f3f3f3}.bg-white{background-color:white}.non-brand-color{fill:purple;}.distorted{transform:scaleX(1.5)}.effects{filter:drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5))}.rotated{transform:rotate(15deg)}.no-other-bg-color{background-color:var(--purple-200)}.no-other-color{color:var(--red-700)}.outlined{stroke:red;stroke-width:2px;fill:none;}.custom-font{font-family:'Comic Sans MS', cursive;font-size:20px;color:#333;}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.gap-y-8{row-gap:0.5rem}@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: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:flex{display:flex}.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}}@media (min-width: 750px){.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}}.flex-col{flex-direction:column}";
15225
15557
  var LogoWrongUsageStyle0 = logoWrongUsageCss;
15226
15558
 
15227
15559
  /**
@@ -15232,7 +15564,7 @@ class LogoWrongUsage {
15232
15564
  registerInstance(this, hostRef);
15233
15565
  }
15234
15566
  render() {
15235
- return (hAsync("ul", { key: '9aa8a3f496e779f561e54a6ee656528b2e55a500', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("span", { key: '735e61f1189decb4fef74b5f9f481f94f51c304e', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '8d8859bef157051ca9493bac1fd35e0db80414c0', class: "example" }, hAsync("div", { key: '6ee9ce679339e1189439239889a60d8cba39c4b1', class: "bg-dark " }, hAsync("div", { key: '492054f20250a9572ac3c641d05bbb955c050be4', class: "no-other-bg-color logo", innerHTML: hLogoColor })), hAsync("p", { key: 'c9f49c3c44fb7446e6e4e02c1f79ac15827633ba', class: "f-ui-02" }, "Do not use with backgrounds that make legibility difficult"))), hAsync("span", { key: 'd5cbda2472d3396f08fdb600676852708991ce0f', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: 'dacbf3bcf4dd4914b4332a663a81732a196457f4', class: "example" }, hAsync("div", { key: '9f9bb9b86a840658cf7311a2b035dbadd6a3e0af', class: "no-other-color p-16" }, hAsync("div", { key: '9e96d60f66801638898c12b190640ae0dcc18d24', class: "logo non-brand-color", innerHTML: hLogoColor })), hAsync("p", { key: '5e0470cb9f81e4bba14104746715704fed2fddeb', class: "f-ui-02" }, "Do not apply other colors"))), hAsync("span", { key: '5e9e1943ab5d4cda7d6b4cb51b76f9da4370a50b', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '9821754465969edcf1ea98aa7a353ff04140612f', class: "example" }, hAsync("div", { key: '513bb5879746d5979cf7f5360ea60c97196e5379', class: "bg-light p-16" }, hAsync("div", { key: '25f615bf82c51f8601960cb705fa5983667a4943', class: "logo distorted", innerHTML: hLogoColor })), hAsync("p", { key: '636efd5a54620ca8248b5e1adbf453a7d5292d0f', class: "f-ui-02" }, "Do not deform the logo"))), hAsync("span", { key: 'a006b91c704b1df8f7adf1cad1d0033bd11378d8', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '6a494fdace1e6a2ff48e02a6a8a79f31ca101e02', class: "example" }, hAsync("div", { key: '09ea335ac52cb395cc3173263b4a956aba59cc4e', class: "bg-white p-16" }, hAsync("div", { key: '9acf37c882acb0a04fddc5754b8e91e6789f36ee', class: "logo effects", innerHTML: hLogoColor })), hAsync("p", { key: 'f648aefe81578e9768c24de085e53e2484c1bb7b', class: "f-ui-02" }, "Do not apply effects"))), hAsync("span", { key: '70f90abc0d6a3292101e29bdfc311ebb0192a585', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '9eb3aa4276d7b0a9f7c5e76ffa9fefe7f3def0a3', class: "example" }, hAsync("div", { key: '5a38e80d567d2c2faf08fbcb66a62c24973c3fea', class: "bg-white p-16" }, hAsync("div", { key: '7edbadc8850a9babefea43be9c5f9697021712d5', class: "logo rotated", innerHTML: hLogoColor })), hAsync("p", { key: '96d30acd52838a03f33fd6c8dcf89a72417ce925', class: "f-ui-02" }, "Do not rotate the logo"))), hAsync("span", { key: '41d476bd66b39e796f03c669945024720771216f', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '3fd7f690559195125d633097b578b1cc2ff4ccc1', class: "example" }, hAsync("div", { key: '684387318cfffdfbc5592486095a28a923e5af07', class: "bg-light p-16" }, hAsync("div", { key: '7593acd61c1ea52ce613a1f3395c8769a09f9aed', class: "logo outlined", innerHTML: hLogoColor })), hAsync("p", { key: '51d6d974c005a0b5059cd002dff682dc50cfb19a', class: "f-ui-02" }, "Do not apply outlines"))), hAsync("span", { key: '605db4b33b7aab4d0e81e30f658f639689a433b6', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }), hAsync("span", { key: '1dc1e6be701572fb7d31b435f8b25dbaf0bf30c8', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '30b239799a7d8acf93eba73d3d5dba3cc7117fb5', class: "example" }, hAsync("div", { key: '16a146193f1ec233f37a9472dfe5fa92de10864d', class: "bg-accent p-16" }, hAsync("div", { key: 'cc5924ad51847399ec52c2ece993bdd22305892f', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: 'bdcd59e968000ecd459b65aaa42e75fa9e06f8ef', class: "f-ui-02" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones")))));
15567
+ return (hAsync("ul", { key: 'e2fbd7802c153f970a457011a5dcaf3163d6290f', class: "container grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("span", { key: '07d6a5b930dd8ae652e63310c4232e8c3e6858b2', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '5d3dd01a67f41f839e79aa3d449ba319dcc0209c', class: "example" }, hAsync("div", { key: '6b51ea71b6b4072ec6c66223a4f92c1232e8691a', class: "bg-dark " }, hAsync("div", { key: '03a476635bc1112f1ea2d4ed10df0415ead7f0f8', class: "no-other-bg-color logo", innerHTML: hLogoColor })), hAsync("p", { key: '084116335e9f8ed4c9d2a04a9551097dc2a53c4a', class: "f-ui-02" }, "Do not use with backgrounds that make legibility difficult"))), hAsync("span", { key: 'e67f1bdeee28928f4f6f8fb5d1e0b59160edd949', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: 'b0e909eb57a6771b32a93dd0932ef5b848a19ff2', class: "example" }, hAsync("div", { key: '19bc9f29ddbffd1c308cb429100f0af3d58237a1', class: "no-other-color p-16" }, hAsync("div", { key: '301c5cb926b9ad167f1ba096f99a874577617fb1', class: "logo non-brand-color", innerHTML: hLogoColor })), hAsync("p", { key: 'b41ab53c2af9efeafb46d41a515eba2f801d49e4', class: "f-ui-02" }, "Do not apply other colors"))), hAsync("span", { key: '826ae54f62c5a3880adf1833dbc19bbb9e1ec6f2', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '092d5fc3176845532ecf577c66d6e3a349ebfe45', class: "example" }, hAsync("div", { key: '1d1d3cc86e728fc21f898c59ff1511c5fa728f9f', class: "bg-light p-16" }, hAsync("div", { key: 'df05102398d3de9916a23d0998529d8ca8a66257', class: "logo distorted", innerHTML: hLogoColor })), hAsync("p", { key: '377e38a762855d563d087eb275481de6a17ddbbb', class: "f-ui-02" }, "Do not deform the logo"))), hAsync("span", { key: '766c4ea568c8bf2fa1efa207ff5f602e5128aef3', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: 'cf4e883370c0ee284167bea7f2c0c603932d1682', class: "example" }, hAsync("div", { key: 'de160646456f91316bf966db6568c20ff382dd3b', class: "bg-white p-16" }, hAsync("div", { key: '5aa03093e5e483547919eaeca58643e54a286405', class: "logo effects", innerHTML: hLogoColor })), hAsync("p", { key: 'aa65e295008001d6fe2b2168d8f7f43a770ec8e3', class: "f-ui-02" }, "Do not apply effects"))), hAsync("span", { key: 'd0eb2536e430b6e9fdb9a37d638d5c31ee81e205', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '43ec87b4632c2709404aff9d3e7bbcb2910426ca', class: "example" }, hAsync("div", { key: '36cd6dc2b23070e5c7fdfc09444d3ccbb8681216', class: "bg-white p-16" }, hAsync("div", { key: 'a1077b322d113220e05ee3edce627c60547cb49a', class: "logo rotated", innerHTML: hLogoColor })), hAsync("p", { key: '86c384f5cf362d16bd6ac5ac8448e3e0d591fa18', class: "f-ui-02" }, "Do not rotate the logo"))), hAsync("span", { key: 'b267f6024a4e7bad6348d323606922888db5264b', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '0bd0c5d62e454ce133a187e7d3917afc0c26c551', class: "example" }, hAsync("div", { key: '71e4c1681cfbb64970237b410e0925a0f22e1141', class: "bg-light p-16" }, hAsync("div", { key: '01ab5d75102b9f476fecebcc31c975f6d4720c12', class: "logo outlined", innerHTML: hLogoColor })), hAsync("p", { key: '0734a049d710d1f6406989668f60da1249e29c7b', class: "f-ui-02" }, "Do not apply outlines"))), hAsync("span", { key: '830b7b2a8cdf6dfc7f395dc92db42fbe626a7ae4', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }), hAsync("span", { key: 'ca40bb4ea839eacf62e93f7fbec41f076f7b12a6', class: `grid-col-span-12 md:grid-col-span-4 flex flex-col` }, hAsync("div", { key: '641a963ba81294eefe8fc00dd0a3bdca91af94a2', class: "example" }, hAsync("div", { key: '70691be08e9081899fb2928d5d287aaebef3b399', class: "bg-accent p-16" }, hAsync("div", { key: '556135fd6596b530bf959bb9984641f185cd9f96', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: '7eaded302e41fc1d04f2033add829dfaba6e8012', class: "f-ui-02" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones")))));
15236
15568
  }
15237
15569
  static get style() { return LogoWrongUsageStyle0; }
15238
15570
  static get cmpMeta() { return {
@@ -15488,7 +15820,7 @@ class TokenList {
15488
15820
  render() {
15489
15821
  // Check if `show` prop is provided; if not, display all sections
15490
15822
  const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
15491
- return (hAsync("section", { key: '12f2874bbc9a74aea2a37e3c9314e85b5cf96d8c', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
15823
+ return (hAsync("section", { key: 'ac8573b341ad313eba0f9f082dcc72cfc81208b3', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
15492
15824
  // Only render sections that exist in `colors`
15493
15825
  sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
15494
15826
  }
@@ -15521,7 +15853,7 @@ class TokenRadii {
15521
15853
  registerInstance(this, hostRef);
15522
15854
  }
15523
15855
  render() {
15524
- return (hAsync("section", { key: '8b66cda1370f366c46ed2772ee0a5a18878cdc13', class: "w-full mt-28" }, hAsync("ul", { key: '652f4812de4a40c94646b25429b16683bfc8f54c', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, hAsync("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), hAsync("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
15856
+ return (hAsync("section", { key: '84dabcd5a39d49e116f8fc9e9b26e00455c7fbb3', class: "w-full mt-28" }, hAsync("ul", { key: 'a821c747c45b8898ab2e7626d2ead91814549335', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, hAsync("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), hAsync("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
15525
15857
  }
15526
15858
  static get cmpMeta() { return {
15527
15859
  "$flags$": 0,
@@ -15550,7 +15882,7 @@ class TokenRatios {
15550
15882
  registerInstance(this, hostRef);
15551
15883
  }
15552
15884
  render() {
15553
- return (hAsync("section", { key: 'd6df281aee2b33d5dd1087c9d06aff6656bf9145', class: "w-full" }, hAsync("eds-section-core", { key: 'fdf31da89f0fa75f5a724ae9bdb26d59dd22fe9e', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: '01473ff27842d278c1269870463fb0c1a0658406', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
15885
+ return (hAsync("section", { key: '9c4dc70bd40a40fbeedc88280ea3fdd4b2597e40', class: "w-full" }, hAsync("eds-section-core", { key: '039b72b762e48f62a4fa58d5af7803d0ed73bf6a', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: 'be3e37d842a24536488b7bc03f24399faa1304ff', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
15554
15886
  aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
15555
15887
  width: '100%', // Full width to show the aspect ratio correctly
15556
15888
  maxWidth: '300px'
@@ -15592,7 +15924,7 @@ class TokenShadows {
15592
15924
  registerInstance(this, hostRef);
15593
15925
  }
15594
15926
  render() {
15595
- return (hAsync("section", { key: '6651a6dcd282a9f9df84249c73ab08a6e8d83597', class: "w-full mt-28" }, hAsync("ul", { key: '12bda2b4a1306c9a8d1bc4f41da4edd5258e381f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, hAsync("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), hAsync("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
15927
+ return (hAsync("section", { key: '4575feac8b5bff23aed39733e638fbb62916988f', class: "w-full mt-28" }, hAsync("ul", { key: 'c9833aa0d698a7ec33911011ccb9227d43c8261a', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, hAsync("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), hAsync("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
15596
15928
  }
15597
15929
  static get cmpMeta() { return {
15598
15930
  "$flags$": 0,
@@ -15612,7 +15944,7 @@ class TokenSpacing {
15612
15944
  registerInstance(this, hostRef);
15613
15945
  }
15614
15946
  render() {
15615
- return (hAsync("div", { key: 'ae388def4474fbd6e9766c2e04eb382ac9022bb8', class: "w-full" }, hAsync("ul", { key: 'a2a51b9494dbd1bbb8b8d454117bc254e9602938', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '9e48e3551369f35ae6ec72d493ae888ebee3cceb', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '65b5b1192cdfef841bd4beed6eedf0068393ba8d', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '770870c171999d004aba77b6058fe32525b1703e', class: "spacing-sample m-32 bg-darker" }, hAsync("span", { key: 'fdba92dbc2c78e55481277c2858de4ea220b2397', class: "text-white" }, "Margin: 2rem / m-32")))), hAsync("li", { key: '9420b6110f30e9f3cff94d409362627d32782023', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '2e438e9ee4291d1326acb2630ccb55f981acfeaa', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'b199e19274f23490485347d2ef102741f583b612', class: "spacing-sample ml-64 bg-darker" }, hAsync("span", { key: '2cde99dd7d0bb469b7f69b852f20abc4f61d6a01', class: "text-white" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: 'b8cdd7b7245cd3e7c8fe59297b76f2e9e20a1c2e', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '0f9cf988220669a2ebe2e93d33d904ee045af74a', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '88f5a191b1f9878ae6012efd5ec7365cf2f28da4', class: "spacing-sample mt-32 bg-darker" }, hAsync("span", { key: 'af8f876d8cdc7620af861620173ea32fc706378f', class: "text-white" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: 'e65780c7ecfc9685791c40970350ba511e888283', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'c1a8e22fde087ac9f5e69602e23c8b7f429c0e3e', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '19aaa0273c1c818f1f6d57a0fd41d9be14aa4d1b', class: "spacing-sample p-32 bg-darker" }, hAsync("span", { key: '18cbdee711f04e90e663d93bd8b752ec0d0b33ee', class: "text-white" }, "Padding: 2rem / p-32")))), hAsync("li", { key: 'f2831db3170703786946a12a5b0c0e188c4f944a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '68ac92294defd683a3c49e38ce0f4366a8b91208', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '6bfd849d0f841d6fefb39d91a4be49ae1db8d43f', class: "spacing-sample pt-32 bg-darker" }, hAsync("span", { key: '7f3b5868baf86913d172b07347b15ca1e8901d21', class: "text-white" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: 'f3608f5562949c9fb82d987719753bc0b59ba999', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'fe9d90cf206906742000da310a53873ecefaa77c', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'd6590820496db0ba1009deea6a4b56c9195814e6', class: "spacing-sample pl-32 bg-darker" }, hAsync("span", { key: 'c65179e127861a66ca1c0d6ff429b07bc0d88945', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
15947
+ return (hAsync("div", { key: '5f72b8386e92973faca8b22ebadcffa5b8ca8744', class: "w-full" }, hAsync("ul", { key: '619cc2546059aaac566dc89f56b098f72f7c2bde', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'b90587543210e02a577854ce061472ef8f3bdc7a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'd98ea95c641209ba592aae8c695e278549840420', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '6dd84540a213d98fa09480eac823fe030dfb2404', class: "spacing-sample m-32 bg-darker" }, hAsync("span", { key: 'ad0493ba8d97cdcc15535505db4d726d6f69bd38', class: "text-white" }, "Margin: 2rem / m-32")))), hAsync("li", { key: 'a0914d288cdb4b9caef6956af0069cd0937ee019', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '95adc2b10d3962378de300e00b749b691fda88af', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '8bad94397c9fe8112b49933a508958000f9cd99d', class: "spacing-sample ml-64 bg-darker" }, hAsync("span", { key: '04229385104243a5ce9a194c4f8056f7341a6736', class: "text-white" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: 'f34e1fd5ccafc528ed9359766deaa5c615a2e14b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '38e12800b2c8502ea2f9e912af929f71d3ec9699', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'f4e93d89576ab3de7f44ce3a85d9838f21bfa7f6', class: "spacing-sample mt-32 bg-darker" }, hAsync("span", { key: 'e85e2e1c7c4c7e765dfafd25dc9f2c33b6bd5069', class: "text-white" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: 'b42299c17c024a5906bd09c80a2f309b461b6fde', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'f54a9e32893ac6f1b0384e79e2959d1e65a251e2', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '4209fa0c979a1d55d42d7b892bc94cc0f3788e88', class: "spacing-sample p-32 bg-darker" }, hAsync("span", { key: '1d9249c56d3a42500dfb8cc1d3eae1f89e79cdcd', class: "text-white" }, "Padding: 2rem / p-32")))), hAsync("li", { key: 'ad6f2e33e15c4c21bdfed8478b3d2faa905490fa', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '9950970e66b8a382e7b0158b54e980a5e5f45774', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '40e96cd046eaddf3a23387995affbfc399d171ae', class: "spacing-sample pt-32 bg-darker" }, hAsync("span", { key: '2d120273f7a6d4429061d0ade2164ada9a14b506', class: "text-white" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: '8c3327edc63f8959c0cb01cce0a8407bf3a605af', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'c0be38039770c54577f073e1a707110cd0807ab5', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'd8085da375e734ed11fe580f1a9004f6fddef679', class: "spacing-sample pl-32 bg-darker" }, hAsync("span", { key: '029857c00659221390438d8477734d0f130d1b97', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
15616
15948
  }
15617
15949
  static get cmpMeta() { return {
15618
15950
  "$flags$": 0,
@@ -15830,7 +16162,7 @@ class TokenTypography {
15830
16162
  registerInstance(this, hostRef);
15831
16163
  }
15832
16164
  render() {
15833
- return (hAsync("section", { key: '2078622c91b8906b71ee3aebdadcda0ac2c49512', class: "w-full" }, hAsync("ul", { key: 'fe9212731cddcd43e3d5f5518245911d9d4cd493', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
16165
+ return (hAsync("section", { key: '23815518d694435812ed3d7b9aab850043941b96', class: "w-full" }, hAsync("ul", { key: '366ed5bc5933c5b8a563d33b70471f507a21386c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
15834
16166
  .filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
15835
16167
  .flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, hAsync("div", { class: "mr-auto hidden lg:block", style: {
15836
16168
  fontFamily: typography.families.sans,
@@ -15921,6 +16253,7 @@ registerComponents([
15921
16253
  EdsLink,
15922
16254
  EdsLogin,
15923
16255
  EdsLogo,
16256
+ EdsLogoVariations,
15924
16257
  EdsMatomoNotice,
15925
16258
  EdsModal,
15926
16259
  EdsNavigator,
@@ -15929,7 +16262,7 @@ registerComponents([
15929
16262
  EdsRating,
15930
16263
  EdsSectionCore,
15931
16264
  EdsSectionHeading,
15932
- EdsSocialNetwork,
16265
+ EdsSocialNetworks,
15933
16266
  EdsSvgRepository,
15934
16267
  EdsTab,
15935
16268
  EdsTable,
@@ -15948,8 +16281,8 @@ registerComponents([
15948
16281
  GradientSupportPalette,
15949
16282
  IncorrectUseOfColors,
15950
16283
  LogoSpace,
15951
- LogoVariations$1,
15952
- LogoVariations,
16284
+ LogoVariationsHorizontal,
16285
+ LogoVariationsVertical,
15953
16286
  LogoWrongUsage,
15954
16287
  TokenList,
15955
16288
  TokenRadii,