@ebrains/components 0.8.0-alpha.0 → 0.9.1-beta

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 (587) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -366
  3. package/dist/cjs/bookmark-c61853d9.js +18 -0
  4. package/dist/cjs/color-primary-palette_6.cjs.entry.js +44 -31
  5. package/dist/cjs/{eds-components-section.cjs.entry.js → components-section.cjs.entry.js} +22 -17
  6. package/dist/cjs/components.cjs.js +1 -1
  7. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  8. package/dist/cjs/{eds-docs-palettes.cjs.entry.js → docs-palettes.cjs.entry.js} +3 -3
  9. package/dist/cjs/{eds-docs-tokens.cjs.entry.js → docs-tokens.cjs.entry.js} +3 -3
  10. package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
  11. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  12. package/dist/cjs/{eds-accordion_17.cjs.entry.js → eds-avatar_26.cjs.entry.js} +1031 -218
  13. package/dist/cjs/{eds-card-desc_3.cjs.entry.js → eds-card-desc_2.cjs.entry.js} +0 -35
  14. package/dist/cjs/eds-card-generic.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-frame.cjs.entry.js +5 -11
  18. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
  20. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-external.cjs.entry.js +18 -0
  24. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
  31. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
  33. package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
  34. package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
  35. package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
  36. package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
  37. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
  43. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
  45. package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
  46. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-login_2.cjs.entry.js +23 -14
  49. package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
  50. package/dist/cjs/eds-modal.cjs.entry.js +9 -9
  51. package/dist/cjs/eds-pagination_2.cjs.entry.js +5 -5
  52. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  55. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-switch.cjs.entry.js +4 -4
  57. package/dist/cjs/eds-tabs.cjs.entry.js +5 -5
  58. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  60. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  62. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  63. package/dist/cjs/index-2f63169d.js +76 -40
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  66. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +4 -4
  67. package/dist/cjs/{eds-logo-variations.cjs.entry.js → logo-variations-tabs.cjs.entry.js} +3 -3
  68. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  69. package/dist/cjs/minus-1da6a98a.js +13 -0
  70. package/dist/cjs/paper-0d6302f6.js +17 -0
  71. package/dist/cjs/plus-d0e00ad0.js +14 -0
  72. package/dist/cjs/portal-46212559.js +20 -0
  73. package/dist/cjs/private-38835fe7.js +27 -0
  74. package/dist/cjs/public-b519b1f6.js +18 -0
  75. package/dist/cjs/{eds-svg-repository.cjs.entry.js → svg-repository.cjs.entry.js} +30 -29
  76. package/dist/cjs/token-list_3.cjs.entry.js +5 -5
  77. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  78. package/dist/cjs/token-typography.cjs.entry.js +3 -3
  79. package/dist/cjs/tutotial-7855df3c.js +29 -0
  80. package/dist/cjs/unknown-6814e551.js +24 -0
  81. package/dist/cjs/up-and-down-d71df67d.js +14 -0
  82. package/dist/collection/collection-manifest.json +16 -5
  83. package/dist/collection/components/eds-accordion/eds-accordion.css +6 -4
  84. package/dist/collection/components/eds-accordion/eds-accordion.js +5 -5
  85. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +1 -1
  86. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +8 -1
  87. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +5 -0
  88. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  89. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
  90. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  91. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  92. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  93. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +36 -0
  94. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  95. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  96. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  97. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +36 -0
  98. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
  100. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
  101. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
  102. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
  103. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
  104. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
  110. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
  111. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
  112. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  113. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  114. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  115. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  116. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  117. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  118. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  119. package/dist/collection/components/eds-img/eds-img.js +2 -2
  120. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -21
  121. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  122. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  123. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +59 -2
  124. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  125. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
  126. package/dist/collection/components/eds-input-field/eds-input-field.js +37 -5
  127. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +1 -0
  128. package/dist/collection/components/eds-link/eds-link.css +18 -6
  129. package/dist/collection/components/eds-link/eds-link.js +17 -9
  130. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  131. package/dist/collection/components/eds-modal/eds-modal.css +32 -1
  132. package/dist/collection/components/eds-modal/eds-modal.js +9 -9
  133. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  134. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  135. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  136. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  137. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +5 -2
  138. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  139. package/dist/collection/components/eds-switch/eds-switch.js +5 -5
  140. package/dist/collection/components/eds-table/eds-table.js +4 -4
  141. package/dist/collection/components/eds-tag/eds-tag.css +45 -0
  142. package/dist/collection/components/eds-tag/eds-tag.js +31 -5
  143. package/dist/collection/components/eds-tag/eds-tag.stories.js +11 -4
  144. package/dist/collection/components/eds-timeline/eds-timeline.css +51 -13
  145. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  146. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  147. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  148. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  149. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  150. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +31 -18
  151. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  152. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  153. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  154. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  155. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  156. package/dist/collection/eds-docs-ui/{eds-components-section/eds-components-section.js → components-section/components-section.js} +13 -13
  157. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
  158. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
  159. package/dist/collection/eds-docs-ui/{functional → components-section/functional}/overview.js +2 -2
  160. package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
  161. package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
  162. package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
  163. package/dist/collection/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.js → design-tokens/docs-tokens/docs-tokens.js} +3 -3
  164. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +3 -3
  165. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  169. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +3 -3
  170. package/dist/collection/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.js → docs-palettes/docs-palettes.js} +3 -3
  171. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +144 -43
  172. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  173. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +149 -68
  174. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  175. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +158 -53
  176. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  177. package/dist/collection/eds-docs-ui/{eds-logo-variations/eds-logo-variations.js → logo/logo-variations-tabs/logo-variations.js} +3 -3
  178. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +199 -169
  179. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  180. package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +5 -5
  181. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  182. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +8 -0
  183. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  184. package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
  185. package/dist/collection/shared-ui/eds-form/eds-form.js +46 -11
  186. package/dist/collection/shared-ui/eds-frame/eds-frame.js +28 -31
  187. package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +12 -12
  188. package/dist/collection/shared-ui/eds-header/eds-header.js +2 -2
  189. package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
  190. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +3 -3
  191. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +3 -3
  192. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +25 -13
  193. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +51 -13
  194. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +5 -5
  195. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  196. package/dist/collection/shared-ui/eds-user/eds-user.css +51 -13
  197. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  198. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  199. package/dist/collection/utils/eds-form/formUtils.js +4 -34
  200. package/dist/components/bookmark.js +16 -0
  201. package/dist/components/{eds-logo-variations.d.ts → components-section.d.ts} +4 -4
  202. package/dist/components/{eds-components-section.js → components-section.js} +27 -22
  203. package/dist/components/components.css +51 -13
  204. package/dist/components/components.esm.js +1 -1
  205. package/dist/components/correct-use-of-colors.js +1 -1
  206. package/dist/components/{eds-svg-repository.d.ts → docs-palettes.d.ts} +4 -4
  207. package/dist/components/{eds-docs-palettes.js → docs-palettes.js} +8 -8
  208. package/dist/components/docs-tokens.d.ts +11 -0
  209. package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
  210. package/dist/components/eds-accordion2.js +6 -6
  211. package/dist/components/eds-app-root.js +1 -1
  212. package/dist/components/eds-breadcrumb.js +8 -1
  213. package/dist/components/eds-card-generic2.js +2 -2
  214. package/dist/components/eds-cookies-preference.js +1 -1
  215. package/dist/components/eds-feedback.js +2 -2
  216. package/dist/components/eds-footer2.js +2 -2
  217. package/dist/components/eds-form.js +50 -45
  218. package/dist/components/eds-frame.js +7 -13
  219. package/dist/components/eds-header.js +2 -2
  220. package/dist/components/eds-icon-bluesky.js +1 -1
  221. package/dist/components/{eds-docs-palettes.d.ts → eds-icon-bookmark.d.ts} +4 -4
  222. package/dist/components/eds-icon-bookmark.js +33 -0
  223. package/dist/components/eds-icon-close.js +1 -1
  224. package/dist/components/eds-icon-copy.js +1 -1
  225. package/dist/components/eds-icon-eu.js +1 -1
  226. package/dist/components/eds-icon-external.d.ts +11 -0
  227. package/dist/components/eds-icon-external.js +33 -0
  228. package/dist/components/eds-icon-facebook.js +1 -1
  229. package/dist/components/eds-icon-gitlab.js +1 -1
  230. package/dist/components/eds-icon-linkedin.js +1 -1
  231. package/dist/components/eds-icon-loader.js +1 -1
  232. package/dist/components/eds-icon-mastodon.js +1 -1
  233. package/dist/components/eds-icon-menu.js +1 -1
  234. package/dist/components/eds-icon-minus.d.ts +11 -0
  235. package/dist/components/eds-icon-minus.js +33 -0
  236. package/dist/components/eds-icon-more.js +1 -1
  237. package/dist/components/eds-icon-paper.d.ts +11 -0
  238. package/dist/components/eds-icon-paper.js +33 -0
  239. package/dist/components/eds-icon-plus.d.ts +11 -0
  240. package/dist/components/eds-icon-plus.js +33 -0
  241. package/dist/components/{eds-docs-tokens.d.ts → eds-icon-portal.d.ts} +4 -4
  242. package/dist/components/eds-icon-portal.js +33 -0
  243. package/dist/components/eds-icon-private.d.ts +11 -0
  244. package/dist/components/eds-icon-private.js +33 -0
  245. package/dist/components/eds-icon-public.d.ts +11 -0
  246. package/dist/components/eds-icon-public.js +33 -0
  247. package/dist/components/eds-icon-search.js +1 -1
  248. package/dist/components/eds-icon-star.js +1 -1
  249. package/dist/components/eds-icon-success.js +1 -1
  250. package/dist/components/eds-icon-thumbs-down.js +1 -1
  251. package/dist/components/eds-icon-thumbs-up.js +1 -1
  252. package/dist/components/eds-icon-tutorial.d.ts +11 -0
  253. package/dist/components/eds-icon-tutorial.js +33 -0
  254. package/dist/components/eds-icon-twitter.js +1 -1
  255. package/dist/components/eds-icon-unknown.d.ts +11 -0
  256. package/dist/components/eds-icon-unknown.js +33 -0
  257. package/dist/components/eds-icon-updown.d.ts +11 -0
  258. package/dist/components/eds-icon-updown.js +33 -0
  259. package/dist/components/eds-icon-user.js +1 -1
  260. package/dist/components/eds-icon-youtube.js +1 -1
  261. package/dist/components/eds-img2.js +2 -2
  262. package/dist/components/eds-input-field2.js +37 -5
  263. package/dist/components/eds-input-footer2.js +1 -1
  264. package/dist/components/eds-input-label2.js +1 -1
  265. package/dist/components/eds-input-range2.js +26 -3
  266. package/dist/components/eds-input-search2.js +1 -1
  267. package/dist/components/eds-input-select2.js +4 -1
  268. package/dist/components/eds-input2.js +3 -5
  269. package/dist/components/eds-link2.js +18 -10
  270. package/dist/components/eds-login2.js +1 -1
  271. package/dist/components/eds-logo2.js +1 -1
  272. package/dist/components/eds-matomo-notice2.js +3 -3
  273. package/dist/components/eds-modal.js +10 -10
  274. package/dist/components/eds-pagination2.js +1 -1
  275. package/dist/components/eds-progress-bar2.js +1 -1
  276. package/dist/components/eds-rating2.js +1 -1
  277. package/dist/components/eds-section-core2.js +1 -1
  278. package/dist/components/eds-section-heading2.js +2 -2
  279. package/dist/components/eds-social-networks2.js +3 -3
  280. package/dist/components/eds-spinner2.js +1 -1
  281. package/dist/components/eds-splash-screen2.js +25 -14
  282. package/dist/components/eds-switch.js +4 -4
  283. package/dist/components/eds-table2.js +4 -4
  284. package/dist/components/eds-tabs.js +6 -6
  285. package/dist/components/eds-tag2.js +15 -6
  286. package/dist/components/eds-timeline.js +2 -2
  287. package/dist/components/eds-toast-manager.js +1 -1
  288. package/dist/components/eds-tooltip.js +1 -1
  289. package/dist/components/eds-trl.js +1 -1
  290. package/dist/components/eds-user.js +12 -18
  291. package/dist/components/incorrect-use-of-colors.js +1 -1
  292. package/dist/components/logo-space.js +69 -3
  293. package/dist/components/logo-variations-horizontal2.js +2 -2
  294. package/dist/components/logo-variations-tabs.d.ts +11 -0
  295. package/dist/components/{eds-logo-variations.js → logo-variations-tabs.js} +8 -8
  296. package/dist/components/logo-variations-vertical2.js +2 -2
  297. package/dist/components/logo-wrong-usage.js +2 -2
  298. package/dist/components/minus.js +11 -0
  299. package/dist/components/p-024c7937.js +1 -0
  300. package/dist/components/p-0467ceb5.entry.js +1 -0
  301. package/dist/components/p-05754401.js +1 -0
  302. package/dist/components/p-063b0683.entry.js +1 -0
  303. package/dist/components/p-0ce924b1.entry.js +1 -0
  304. package/dist/components/{p-07ba7c89.entry.js → p-1309a74c.entry.js} +1 -1
  305. package/dist/components/p-18eb23ff.entry.js +1 -0
  306. package/dist/components/p-1aab55cf.entry.js +1 -0
  307. package/dist/components/p-1b2913c8.js +1 -0
  308. package/dist/components/p-20b3a999.entry.js +1 -0
  309. package/dist/components/p-20e9ae7f.entry.js +1 -0
  310. package/dist/components/p-29e807f5.entry.js +1 -0
  311. package/dist/components/{p-d17ea8af.entry.js → p-2c1be2bb.entry.js} +1 -1
  312. package/dist/components/p-35ed7ebf.entry.js +1 -0
  313. package/dist/components/p-3932d0af.entry.js +1 -0
  314. package/dist/components/{p-4d295eb7.entry.js → p-3a7be9a7.entry.js} +1 -1
  315. package/dist/components/p-3af94671.entry.js +1 -0
  316. package/dist/components/p-41e89554.entry.js +1 -0
  317. package/dist/components/p-435a8942.entry.js +1 -0
  318. package/dist/components/p-4620ebf5.entry.js +1 -0
  319. package/dist/components/p-4c7852f8.entry.js +1 -0
  320. package/dist/components/p-4e8a317b.entry.js +1 -0
  321. package/dist/components/{p-0f73391d.entry.js → p-526cdc57.entry.js} +1 -1
  322. package/dist/components/p-52913e2e.entry.js +1 -0
  323. package/dist/components/p-6404e157.entry.js +1 -0
  324. package/dist/components/p-66bb44c9.entry.js +1 -0
  325. package/dist/components/p-694fc085.js +1 -0
  326. package/dist/components/p-6dc26e53.entry.js +1 -0
  327. package/dist/components/p-7198c024.js +1 -0
  328. package/dist/components/p-78fa7132.entry.js +1 -0
  329. package/dist/components/p-7dce734a.entry.js +1 -0
  330. package/dist/components/{p-01cb7ceb.entry.js → p-7fa88255.entry.js} +1 -1
  331. package/dist/components/p-83936521.entry.js +1 -0
  332. package/dist/components/p-8653bc36.entry.js +1 -0
  333. package/dist/components/p-86bb73dc.js +1 -0
  334. package/dist/components/p-8e3c6c63.entry.js +1 -0
  335. package/dist/components/p-923f67b5.entry.js +1 -0
  336. package/dist/components/p-93093977.entry.js +1 -0
  337. package/dist/components/{p-a02c5c4a.entry.js → p-941240b5.entry.js} +1 -1
  338. package/dist/components/{p-abaf04e1.entry.js → p-94b1f974.entry.js} +1 -1
  339. package/dist/components/p-97e95520.entry.js +1 -0
  340. package/dist/components/{p-4df00ba5.entry.js → p-9a1a6df1.entry.js} +1 -1
  341. package/dist/components/p-9dc879c9.entry.js +1 -0
  342. package/dist/components/p-a56f0579.entry.js +1 -0
  343. package/dist/components/p-a8b0fe92.entry.js +1 -0
  344. package/dist/components/p-acc4d234.entry.js +1 -0
  345. package/dist/components/p-b0b37831.entry.js +1 -0
  346. package/dist/components/p-b2b46793.entry.js +1 -0
  347. package/dist/components/p-b73410de.js +1 -0
  348. package/dist/components/p-b76aa402.entry.js +1 -0
  349. package/dist/components/p-b931a634.entry.js +1 -0
  350. package/dist/components/p-b96fc468.entry.js +1 -0
  351. package/dist/components/p-bab07ba6.entry.js +1 -0
  352. package/dist/components/p-c1e4ef92.js +1 -0
  353. package/dist/components/{p-9cbcccf8.entry.js → p-c5c782e7.entry.js} +1 -1
  354. package/dist/components/p-c8abff96.entry.js +1 -0
  355. package/dist/components/{p-24507e71.entry.js → p-c935aa46.entry.js} +1 -1
  356. package/dist/components/p-c99745a8.entry.js +1 -0
  357. package/dist/components/p-cccff1e3.entry.js +1 -0
  358. package/dist/components/p-cd624044.entry.js +1 -0
  359. package/dist/components/p-cdf19579.js +1 -0
  360. package/dist/components/{p-7ba154c5.entry.js → p-d525ed36.entry.js} +1 -1
  361. package/dist/components/p-d94a44b9.entry.js +1 -0
  362. package/dist/components/p-d962849c.js +1 -0
  363. package/dist/components/p-dbcf1f0e.entry.js +1 -0
  364. package/dist/components/p-dcc08064.entry.js +1 -0
  365. package/dist/components/p-e42eb100.entry.js +1 -0
  366. package/dist/components/{p-f2e66c82.entry.js → p-e64cd6f7.entry.js} +1 -1
  367. package/dist/components/{p-5cf480a8.entry.js → p-e710c860.entry.js} +1 -1
  368. package/dist/components/p-ea089f4e.entry.js +1 -0
  369. package/dist/components/p-eebf7ebf.entry.js +1 -0
  370. package/dist/components/p-efc73304.entry.js +1 -0
  371. package/dist/components/p-f13e9ab1.entry.js +1 -0
  372. package/dist/components/p-f48a4313.entry.js +1 -0
  373. package/dist/components/p-f4ce515a.entry.js +1 -0
  374. package/dist/components/{p-f223a835.entry.js → p-ff7acb55.entry.js} +1 -1
  375. package/dist/components/paper.js +15 -0
  376. package/dist/components/plus.js +12 -0
  377. package/dist/components/portal.js +18 -0
  378. package/dist/components/primary.js +1 -1
  379. package/dist/components/primary2.js +1 -1
  380. package/dist/components/private.js +25 -0
  381. package/dist/components/public.js +16 -0
  382. package/dist/components/secondary.js +1 -1
  383. package/dist/components/secondary2.js +7 -7
  384. package/dist/components/support.js +31 -18
  385. package/dist/components/support2.js +3 -3
  386. package/dist/components/svg-repository.d.ts +11 -0
  387. package/dist/components/{eds-svg-repository.js → svg-repository.js} +34 -33
  388. package/dist/components/token-list2.js +3 -3
  389. package/dist/components/token-radii2.js +1 -1
  390. package/dist/components/token-ratios.js +1 -1
  391. package/dist/components/token-shadows2.js +1 -1
  392. package/dist/components/token-spacing.js +1 -1
  393. package/dist/components/token-typography.js +3 -3
  394. package/dist/components/tutotial.js +27 -0
  395. package/dist/components/unknown.js +22 -0
  396. package/dist/components/up-and-down.js +12 -0
  397. package/dist/esm/bookmark-c200037c.js +16 -0
  398. package/dist/esm/color-primary-palette_6.entry.js +44 -31
  399. package/dist/esm/{eds-components-section.entry.js → components-section.entry.js} +22 -17
  400. package/dist/esm/components.js +1 -1
  401. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  402. package/dist/esm/{eds-docs-palettes.entry.js → docs-palettes.entry.js} +3 -3
  403. package/dist/esm/{eds-docs-tokens.entry.js → docs-tokens.entry.js} +3 -3
  404. package/dist/esm/eds-accordion.entry.js +82 -0
  405. package/dist/esm/eds-app-root.entry.js +1 -1
  406. package/dist/esm/{eds-accordion_17.entry.js → eds-avatar_26.entry.js} +1022 -218
  407. package/dist/esm/{eds-card-desc_3.entry.js → eds-card-desc_2.entry.js} +1 -35
  408. package/dist/esm/eds-card-generic.entry.js +2 -2
  409. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  410. package/dist/esm/eds-feedback.entry.js +2 -2
  411. package/dist/esm/eds-frame.entry.js +5 -11
  412. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  413. package/dist/esm/eds-icon-bookmark.entry.js +14 -0
  414. package/dist/esm/eds-icon-close.entry.js +1 -1
  415. package/dist/esm/eds-icon-copy.entry.js +1 -1
  416. package/dist/esm/eds-icon-eu.entry.js +1 -1
  417. package/dist/esm/eds-icon-external.entry.js +14 -0
  418. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  419. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  420. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  421. package/dist/esm/eds-icon-loader.entry.js +1 -1
  422. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  423. package/dist/esm/eds-icon-menu.entry.js +1 -1
  424. package/dist/esm/eds-icon-minus.entry.js +14 -0
  425. package/dist/esm/eds-icon-more.entry.js +1 -1
  426. package/dist/esm/eds-icon-paper.entry.js +14 -0
  427. package/dist/esm/eds-icon-plus.entry.js +14 -0
  428. package/dist/esm/eds-icon-portal.entry.js +14 -0
  429. package/dist/esm/eds-icon-private.entry.js +14 -0
  430. package/dist/esm/eds-icon-public.entry.js +14 -0
  431. package/dist/esm/eds-icon-search.entry.js +1 -1
  432. package/dist/esm/eds-icon-star.entry.js +1 -1
  433. package/dist/esm/eds-icon-success.entry.js +1 -1
  434. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  435. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  436. package/dist/esm/eds-icon-tutorial.entry.js +14 -0
  437. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  438. package/dist/esm/eds-icon-unknown.entry.js +14 -0
  439. package/dist/esm/eds-icon-updown.entry.js +14 -0
  440. package/dist/esm/eds-icon-user.entry.js +1 -1
  441. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  442. package/dist/esm/eds-login_2.entry.js +23 -14
  443. package/dist/esm/eds-matomo-notice.entry.js +119 -0
  444. package/dist/esm/eds-modal.entry.js +9 -9
  445. package/dist/esm/eds-pagination_2.entry.js +5 -5
  446. package/dist/esm/eds-progress-bar.entry.js +1 -1
  447. package/dist/esm/eds-rating.entry.js +1 -1
  448. package/dist/esm/eds-section-core_2.entry.js +3 -3
  449. package/dist/esm/eds-spinner.entry.js +1 -1
  450. package/dist/esm/eds-switch.entry.js +4 -4
  451. package/dist/esm/eds-tabs.entry.js +5 -5
  452. package/dist/esm/eds-timeline.entry.js +2 -2
  453. package/dist/esm/eds-toast-manager.entry.js +1 -1
  454. package/dist/esm/eds-tooltip.entry.js +1 -1
  455. package/dist/esm/eds-trl.entry.js +1 -1
  456. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  457. package/dist/esm/index-8a71b9a7.js +76 -40
  458. package/dist/esm/loader.js +1 -1
  459. package/dist/esm/logo-space.entry.js +2 -2
  460. package/dist/esm/logo-variations-horizontal_2.entry.js +4 -4
  461. package/dist/esm/{eds-logo-variations.entry.js → logo-variations-tabs.entry.js} +3 -3
  462. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  463. package/dist/esm/minus-b30a7c71.js +11 -0
  464. package/dist/esm/paper-8e74ea31.js +15 -0
  465. package/dist/esm/plus-89c07be2.js +12 -0
  466. package/dist/esm/portal-d6c8ce56.js +18 -0
  467. package/dist/esm/private-1c25ff8e.js +25 -0
  468. package/dist/esm/public-d4d8c585.js +16 -0
  469. package/dist/esm/{eds-svg-repository.entry.js → svg-repository.entry.js} +29 -28
  470. package/dist/esm/token-list_3.entry.js +5 -5
  471. package/dist/esm/token-ratios.entry.js +1 -1
  472. package/dist/esm/token-typography.entry.js +3 -3
  473. package/dist/esm/tutotial-150ee1fd.js +27 -0
  474. package/dist/esm/unknown-ed01a24c.js +22 -0
  475. package/dist/esm/up-and-down-d747abee.js +12 -0
  476. package/dist/hydrate/index.js +1163 -631
  477. package/dist/hydrate/index.mjs +1163 -631
  478. package/dist/stencil.config.js +17 -2
  479. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +11 -1
  480. package/dist/types/components/eds-accordion/eds-accordion.d.ts +1 -1
  481. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
  482. package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +10 -0
  483. package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +10 -0
  484. package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +10 -0
  485. package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +10 -0
  486. package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +10 -0
  487. package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +10 -0
  488. package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +10 -0
  489. package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +10 -0
  490. package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +10 -0
  491. package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +10 -0
  492. package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +10 -0
  493. package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +0 -2
  494. package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +12 -0
  495. package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
  496. package/dist/types/components/eds-modal/eds-modal.d.ts +1 -1
  497. package/dist/types/components/eds-section/eds-section-heading/eds-section-heading.d.ts +3 -0
  498. package/dist/types/components/eds-switch/eds-switch.d.ts +1 -1
  499. package/dist/types/components/eds-tag/eds-tag.d.ts +5 -1
  500. package/dist/types/components/eds-tag/eds-tag.stories.d.ts +7 -0
  501. package/dist/types/components.d.ts +404 -237
  502. package/dist/types/eds-docs-ui/colors/color-palette/support.d.ts +1 -0
  503. package/dist/types/eds-docs-ui/{eds-logo-variations/eds-logo-variations.d.ts → components-section/components-section.d.ts} +1 -1
  504. package/dist/types/eds-docs-ui/components-section/functional/angular.d.ts +2 -0
  505. package/dist/types/eds-docs-ui/components-section/functional/installation.d.ts +2 -0
  506. package/dist/types/eds-docs-ui/components-section/functional/overview.d.ts +2 -0
  507. package/dist/types/eds-docs-ui/components-section/functional/react.d.ts +2 -0
  508. package/dist/types/eds-docs-ui/components-section/functional/usage.d.ts +2 -0
  509. package/dist/types/eds-docs-ui/components-section/functional/vue.d.ts +2 -0
  510. package/dist/types/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.d.ts → design-tokens/docs-tokens/docs-tokens.d.ts} +1 -1
  511. package/dist/types/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.d.ts → docs-palettes/docs-palettes.d.ts} +1 -1
  512. package/dist/types/eds-docs-ui/{eds-components-section/eds-components-section.d.ts → logo/logo-variations-tabs/logo-variations.d.ts} +1 -1
  513. package/dist/types/eds-docs-ui/{eds-svg-repository/eds-svg-repository.d.ts → svg-repository/svg-repository.d.ts} +1 -1
  514. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
  515. package/dist/types/shared-ui/eds-frame/eds-frame.d.ts +10 -9
  516. package/dist/types/shared-ui/eds-frame/eds-frame.stories.d.ts +3 -3
  517. package/dist/types/shared-ui/eds-login/eds-login.d.ts +3 -0
  518. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +1 -1
  519. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  520. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
  521. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +1 -1
  522. package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
  523. package/package.json +4 -4
  524. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -139
  525. package/dist/cjs/eds-form.cjs.entry.js +0 -409
  526. package/dist/cjs/eds-input_7.cjs.entry.js +0 -357
  527. package/dist/cjs/token-spacing.cjs.entry.js +0 -16
  528. package/dist/collection/eds-docs-ui/functional/angular.js +0 -2
  529. package/dist/collection/eds-docs-ui/functional/installation.js +0 -2
  530. package/dist/collection/eds-docs-ui/functional/react.js +0 -2
  531. package/dist/collection/eds-docs-ui/functional/usage.js +0 -2
  532. package/dist/collection/eds-docs-ui/functional/vue.js +0 -2
  533. package/dist/components/eds-components-section.d.ts +0 -11
  534. package/dist/components/p-03a38eab.entry.js +0 -1
  535. package/dist/components/p-05d8fdc3.entry.js +0 -1
  536. package/dist/components/p-0918a2e2.entry.js +0 -1
  537. package/dist/components/p-096d3274.entry.js +0 -1
  538. package/dist/components/p-10a318e0.entry.js +0 -1
  539. package/dist/components/p-16e0b902.entry.js +0 -1
  540. package/dist/components/p-18e10983.entry.js +0 -1
  541. package/dist/components/p-215f3b21.entry.js +0 -1
  542. package/dist/components/p-30075622.entry.js +0 -1
  543. package/dist/components/p-32a7f571.entry.js +0 -1
  544. package/dist/components/p-3f0fd469.entry.js +0 -1
  545. package/dist/components/p-4675ac16.entry.js +0 -1
  546. package/dist/components/p-46c9a35e.entry.js +0 -1
  547. package/dist/components/p-4aefc66e.entry.js +0 -1
  548. package/dist/components/p-4bcf6077.entry.js +0 -1
  549. package/dist/components/p-5d26f527.entry.js +0 -1
  550. package/dist/components/p-64f6f07e.entry.js +0 -1
  551. package/dist/components/p-69e5af42.entry.js +0 -1
  552. package/dist/components/p-6a73ac42.entry.js +0 -1
  553. package/dist/components/p-70201ae6.entry.js +0 -1
  554. package/dist/components/p-7ba4ca15.entry.js +0 -1
  555. package/dist/components/p-84faf1b3.entry.js +0 -1
  556. package/dist/components/p-8803ecf9.entry.js +0 -1
  557. package/dist/components/p-8cf4ee6e.entry.js +0 -1
  558. package/dist/components/p-9e2a0f5a.entry.js +0 -1
  559. package/dist/components/p-9f4ad4e4.entry.js +0 -1
  560. package/dist/components/p-a0abe772.entry.js +0 -1
  561. package/dist/components/p-a6bf9bf8.entry.js +0 -1
  562. package/dist/components/p-ae60f98b.entry.js +0 -1
  563. package/dist/components/p-b2f0f40b.entry.js +0 -1
  564. package/dist/components/p-b4332c34.entry.js +0 -1
  565. package/dist/components/p-b47d115d.entry.js +0 -1
  566. package/dist/components/p-ceac6200.entry.js +0 -1
  567. package/dist/components/p-cee891dc.entry.js +0 -1
  568. package/dist/components/p-d06faa08.entry.js +0 -1
  569. package/dist/components/p-d2159cc9.entry.js +0 -1
  570. package/dist/components/p-d895d036.entry.js +0 -1
  571. package/dist/components/p-db970de6.entry.js +0 -1
  572. package/dist/components/p-e343cd31.entry.js +0 -1
  573. package/dist/components/p-e3811d4b.entry.js +0 -1
  574. package/dist/components/p-e8bd6106.entry.js +0 -1
  575. package/dist/components/p-e96a5c8e.entry.js +0 -1
  576. package/dist/components/p-fec4cba7.entry.js +0 -1
  577. package/dist/esm/eds-breadcrumb.entry.js +0 -135
  578. package/dist/esm/eds-form.entry.js +0 -405
  579. package/dist/esm/eds-input_7.entry.js +0 -347
  580. package/dist/esm/token-spacing.entry.js +0 -12
  581. package/dist/types/eds-docs-ui/functional/angular.d.ts +0 -2
  582. package/dist/types/eds-docs-ui/functional/installation.d.ts +0 -2
  583. package/dist/types/eds-docs-ui/functional/overview.d.ts +0 -2
  584. package/dist/types/eds-docs-ui/functional/react.d.ts +0 -2
  585. package/dist/types/eds-docs-ui/functional/usage.d.ts +0 -2
  586. package/dist/types/eds-docs-ui/functional/vue.d.ts +0 -2
  587. /package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.css → svg-repository/svg-repository.css} +0 -0
@@ -1 +0,0 @@
1
- import{h as e,r as n}from"./p-cccacbd3.js";const t=()=>e("div",{class:"static-content container"},e("h2",null,"Load the module"),e("p",null,"Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you’re working on a simple HTML page, you can start using the components immediately by adding the tags below to the"," ",e("code",null,"head"),"."),e("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"}),e("p",null,"This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),e("eds-steps",{steps:[{title:"Import the Loader Module",content:"The script imports the defineCustomElements function from the Stencil-generated loader module hosted at a CDN. This module contains the registration logic for all your custom components."},{title:"Register Custom Elements",content:"Calling defineCustomElements(window) loops through the available components and registers each one with the browser using customElements.define(). This makes your custom elements available in the DOM."},{title:"Lazy Loading in Action",content:"Although all components are registered on startup, their implementation code is lazy-loaded. This means a component's code is only fetched when it is first used, optimizing the initial load time."},{title:"Optimized Performance",content:"By registering components early and lazy-loading their implementations, the script helps maintain a fast startup while ensuring that all custom elements are ready for use when needed."}]}),e("p",null,"Once included, components can be used in your markup like any other regular HTML elements:"),e("eds-code-block",{code:'<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>',language:"html","copy-label":"Copy Code"}),e("h2",null,"Load the styles"),e("p",null,"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the"," ",e("code",null,"head")),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"Note that, loading the predefined CSS framework above,"," ",e("b",null,"automatically loads the fonts so you can skip loading them separately"),". If you wish, however, to load the fonts, add the tag below to the ",e("code",null,"head")),e("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"})),a=()=>e("div",null,e("p",null,"Before proceeding, ensure that Node.js is installed on your machine—you can download the latest version from the official website. If your project doesn’t 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."),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/components",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/assets",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/react",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/vue",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/angular",language:"html","copy-label":"Copy Code"}))),s=()=>e("div",null,e("h2",null,"React Wrappers"),e("p",null,"To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),e("eds-code-block",{code:"npm install @ebrains/react",language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example React App","heading-level":"h3"},e("eds-code-block",{code:'\nimport {\n EdsHeader,\n EdsFullscreenMenu,\n EdsUser\n} 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 const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n };\n }, []);\n\n return (\n <div>\n <EdsHeader\n homeUrl="/"\n menuEnabled={true}\n inverseHeader={false}\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n >\n <div className="px-16">\n <EdsUser\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n ></EdsUser>\n </div>\n </EdsHeader>\n\n <EdsFullscreenMenu\n home-url="/"\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n ></EdsFullscreenMenu>\n \n <div>\n User is{" "}\n {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n\n <div id="main"></div>\n </div>\n );\n}\n\nexport default App;\n\n',language:"javascript","copy-label":"Copy Code"}))),o=()=>e("div",null,e("h2",null,"Vue Wrappers"),e("p",null,"To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),e("eds-code-block",{code:"npm install @ebrains/vue",language:"javascript","copy-label":"Copy Code"}),e("h2",null,"Passing Properties to Custom Elements Using the ",e("b",null,".prop")," Modifier in Vue Wrappers"),e("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’s 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."),e("h3",null,"How to Use the ",e("b",null,".prop")," Modifier"),e("p",null,"When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here’s an example of how to do it:"),e("div",{class:"my-8"},e("eds-alert",{message:"This may lead to issues because Vue binds these as attributes .",intent:"error"})),e("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"}),e("div",{class:"my-8"},e("eds-alert",{message:"Use the .prop modifier to ensure properties are passed correctly.",intent:"success"})),e("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"}),e("p",null,"Using the ",e("b",null,".prop")," 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."),e("eds-section-core",{"section-title":"Example Vue App","heading-level":"h3"},e("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"}))),l=()=>e("div",null,e("h2",null,"Angular Wrappers"),e("p",null,"To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),e("eds-code-block",{code:"npm install @ebrains/angular",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Define the custom elements"),e("eds-code-block",{code:"import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Angular Custom Elements Schema"),e("eds-code-block",{code:'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";',language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example Angular App","heading-level":"h3"},e("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"}))),r=class{constructor(e){n(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e(t,null);case 1:return e(a,null);case 2:return e(s,null);case 3:return e(o,null);case 4:return e(l,null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"85fff494e98ff10bbcc630487a75d345e7cce78c",class:"container"},this.renderContent())}};export{r as eds_components_section}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{b as r}from"./p-81899237.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"79800c239aca2980caac99b21bc5ed025801f11b",class:this.class,innerHTML:r})}};export{a as eds_icon_bluesky}
@@ -1 +0,0 @@
1
- import{r as e,h as t}from"./p-cccacbd3.js";const l=class{constructor(t){e(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return t("div",null,t("h2",null,"Primary Palette"),t("color-primary-palette",null),t("h2",null,"Secondary Palette"),t("color-secondary-palette",null),t("h2",null,"Support Palette"),t("color-support-palette",null));case 1:return t("div",null,t("h2",null,"Primary Palette"),t("gradient-primary-palette",null),t("h2",null,"Secondary Palette"),t("gradient-secondary-palette",null),t("h2",null,"Support Palette"),t("gradient-support-palette",null));default:return t("p",null,"Content not available.")}}render(){return t("div",{key:"480cc269ee31de61190b4ae7502c3c17e673c3f9",class:"container"},this.renderContent())}};export{l as eds_docs_palettes}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as i}from"./p-cccacbd3.js";import{p as s}from"./p-69c5074b.js";const n=class{constructor(t){e(this,t),this.updateScreenSize=()=>{const e=window.innerWidth;e<769||e<=1024?(this.maxVisibleItems=3,this.isSmallScreen=!0):e<=2200?(this.maxVisibleItems=4,this.isSmallScreen=!1):(this.maxVisibleItems=6,this.isSmallScreen=!1)},this.items=[],this.intent="ghost",this.parsedItems=[],this.isSmallScreen=!1,this.maxVisibleItems=6}parseItems(e){this.parsedItems=s(e)}componentWillLoad(){this.parseItems(this.items),this.updateScreenSize(),window.addEventListener("resize",this.updateScreenSize)}disconnectedCallback(){window.removeEventListener("resize",this.updateScreenSize)}componentDidLoad(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelectorAll("eds-link");null==t||t.forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}getTruncatedItems(){const e=this.parsedItems.length,t={label:"...",url:"",isHidden:!0};if(e>this.maxVisibleItems){const i=this.parsedItems[0],s=this.parsedItems.slice(-2);if(3===this.maxVisibleItems)return[i,t,...s];if(4===this.maxVisibleItems)return[i,this.parsedItems[Math.floor(e/2)],t,...s]}return this.parsedItems}getLabels(e,t){return!t&&e.label.length>15?{displayLabel:`${e.label.slice(0,15)}...`,fullLabel:e.label}:{displayLabel:e.label,fullLabel:e.label}}render(){const e=this.getTruncatedItems();return t("nav",{key:"75bb5629a10de2a2a7bd0b2bbef04e5f699f5fe2","aria-label":"Breadcrumb"},t("ol",{key:"7a5cc115b70d60bc878aa3d865802662f30948c1",class:"flex items-center space-x-2"},e.map(((i,s)=>{const n=s===e.length-1;return t("li",{class:"flex items-center"},i.isHidden?t("span",{class:"truncate px-2","aria-hidden":"true"},"..."):(()=>{const{displayLabel:e,fullLabel:s}=this.getLabels(i,n);return t("eds-link",Object.assign({label:e,url:i.url,intent:this.intent,current:n,"aria-label":s,size:"small","icon-small":"false"},n?{"aria-current":"page"}:{}))})(),!n&&!i.isHidden&&t("eds-icon-wrapper",{icon:"chevron-right",class:"w-20 h-20"}))}))))}get el(){return i(this)}static get watchers(){return{items:["parseItems"]}}};n.style="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}";export{n as eds_breadcrumb}
@@ -1 +0,0 @@
1
- import{r as e,h as t}from"./p-cccacbd3.js";import{c as i}from"./p-112122d6.js";const a=class{constructor(t){e(this,t),this.description=void 0,this.descClass="f-ui-03-light",this.truncate=!0,this.truncateLines="3"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return t("p",{key:"96ba520be4ef9acf871a6e992d5ea74aaf17c962",class:`text-light ${this.descClass}`},t("span",{key:"951358bd0c992426175e3c1b3c580f2f9be4027f",class:this.getTruncateClass()},this.description))}};a.style=".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}";const r=class{constructor(t){e(this,t),this.url=void 0,this.titleClass=void 0,this.headingLevel="h3",this.externalLink=!1,this.cardTitle=void 0,this.hierarchy=!0}getTitleClass(){return`f-heading-${(this.hierarchy?{h1:"05",h2:"05",h3:"05",h4:"05",h5:"05",h6:"06"}:{h1:"01",h2:"02",h3:"03",h4:"04",h5:"05",h6:"06"})[this.headingLevel]}`}render(){return t(this.headingLevel,{key:"57ce97f35ee52623d32fac0b6b1a576ca8b5aa70",class:this.getTitleClass()},t("a",{key:"60fb313d2b8753974658f73aaddd359a63548a79",class:"break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.cardTitle))}};r.style="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}";const n=i(["f-ui-05 py-1 px-4 border-2 rounded-pill"],{variants:{intent:{default:"border-default",strong:"text-inverse bg-strongest border-default",accent:"text-[#0034CB] border-[#0034CB]",weak:"text-light bg-strongest-soft border-transparent",inverse:"border-inverse text-inverse","inverse-strong":"bg-inverse border-inverse text-lighter"}},defaultVariants:{intent:"default"}}),o=class{constructor(t){e(this,t),this.label=void 0,this.intent="default"}render(){const e=n({intent:this.intent});return t("span",{key:"314cc7432e8a56cf4676982180ada160c7b14746",class:e},this.label)}};o.style=".f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-1{padding-top:0.0625rem;padding-bottom:0.0625rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}";export{a as eds_card_desc,r as eds_card_title,o as eds_tag}
@@ -1 +0,0 @@
1
- import{r as n,h as o,g as t}from"./p-cccacbd3.js";import{e as r}from"./p-0e6d43c5.js";import{h as e}from"./p-2692f93d.js";import{h as s,a as i,b as l,c as h,v as C,d as a,e as p,f as d,g as c}from"./p-83ff4a95.js";import{v as w}from"./p-9c5a453b.js";import{g}from"./p-50e27321.js";import{c as f}from"./p-1ded61bd.js";import{c as m}from"./p-4587d0ef.js";import{c as v}from"./p-5d046674.js";import{c as u}from"./p-ece618b3.js";import{a as b}from"./p-32e6c4df.js";import{a as k}from"./p-c8e7c854.js";import{t as M}from"./p-373119b3.js";import{l as L}from"./p-54b8f143.js";import{f as j}from"./p-4687b64c.js";import{y as x}from"./p-ecbb679f.js";import{m as Z}from"./p-5ab1d64a.js";import{b as B}from"./p-81899237.js";import{s as H}from"./p-2066b033.js";import{l as V}from"./p-2117611b.js";import{s as y}from"./p-b822abb7.js";import{c as W}from"./p-8983de37.js";import{m as _}from"./p-aefcb641.js";import{m as z}from"./p-29041952.js";import{u as D}from"./p-46d0716d.js";import{c as N}from"./p-0be28996.js";import{t as O}from"./p-c776b6f8.js";import{t as S}from"./p-ba720bf3.js";import{s as J}from"./p-e2d5a487.js";const R=Object.freeze({__proto__:null,twitter:M,linkedin:L,facebook:j,youtube:x,mastodon:Z,bluesky:B,euSvg:r,arrowRight:k,arrowDiagonal:b,chevronUp:f,chevronDown:m,chevronRight:v,chevronLeft:u,check:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <rect width="20" height="20" rx="4" fill="currentColor" />\n <path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />\n </svg>',clear:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"\n fill="currentColor"\n />\n </svg>',close:W,completed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',copy:N,documentation:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <path\n d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n </svg>',download:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M5.91937 8H9V3H11V8H14.0806L10 13.1008L5.91937 8Z"\n fill="currentColor"\n />\n <path\n d="M5 15V12H3V15C3 16.1046 3.89543 17 5 17H15C16.1046 17 17 16.1046 17 15V12H15V15H5Z"\n fill="currentColor"\n />\n </svg>',error:'<svg\nwidth="20"\nheight="20"\nviewBox="0 0 20 20"\nfill="none"\nxmlns="http://www.w3.org/2000/svg"\n>\n<path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"\n stroke="currentColor"\n stroke-width="2"\n/>\n<path\n d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"\n stroke="currentColor"\n stroke-width="1.5"\n/>\n</svg>',gitlabColor:' <svg width="20" height="20" viewBox="0 0 36 36">\n <path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>\n <path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>\n <path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>\n <path fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>\n <path fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>\n <path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>\n <path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>\n </svg>',gitlabBlack:g,loader:V,hLogoColor:e,hLogoBlack:s,hLogoColorWhite:i,hLogoWhite:l,hLogoWhiteNoBg:h,vLogoColor:C,vLogoBlack:a,vLogoColorWhite:p,vLogoWhite:d,vLogoWhiteNoBg:c,vLogoMargins:w,menu:_,more:z,failed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',filter:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n </svg>',group:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"\n fill="currentColor"\n />\n </svg>',user:D,search:H,success:y,warning:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />\n <circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />\n </svg>',unknown:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M8.78976 12.086V11.9135C8.79306 11.3215 8.8442 10.8495 8.94319 10.4977C9.04547 10.1458 9.19395 9.86167 9.38863 9.64515C9.5833 9.42864 9.81757 9.23242 10.0914 9.0565C10.296 8.92118 10.4791 8.78078 10.6408 8.63531C10.8025 8.48984 10.9312 8.32915 11.0268 8.15323C11.1225 7.97392 11.1704 7.77433 11.1704 7.55443C11.1704 7.321 11.1159 7.11632 11.0071 6.9404C10.8982 6.76448 10.7513 6.62916 10.5666 6.53444C10.3851 6.43971 10.1838 6.39235 9.96275 6.39235C9.74828 6.39235 9.54536 6.4414 9.35398 6.53951C9.16261 6.63424 9.00588 6.77632 8.8838 6.96578C8.76171 7.15184 8.69572 7.38358 8.68582 7.66099H6.6665C6.683 6.98438 6.84138 6.42618 7.14164 5.98638C7.4419 5.5432 7.83949 5.21336 8.33442 4.99684C8.82935 4.77694 9.37543 4.66699 9.97265 4.66699C10.6293 4.66699 11.21 4.77863 11.7148 5.00191C12.2196 5.22181 12.6156 5.54151 12.9026 5.96101C13.1897 6.38051 13.3332 6.88627 13.3332 7.47831C13.3332 7.87412 13.2689 8.22596 13.1402 8.53382C13.0148 8.83829 12.8383 9.10894 12.6106 9.34575C12.383 9.57918 12.114 9.79062 11.8039 9.98007C11.5432 10.1391 11.3288 10.3048 11.1605 10.4774C10.9955 10.6499 10.8718 10.8495 10.7893 11.0762C10.7101 11.3028 10.6688 11.5819 10.6655 11.9135V12.086H8.78976ZM9.76972 15.3338C9.43977 15.3338 9.15766 15.2153 8.92339 14.9785C8.69242 14.7383 8.57859 14.4508 8.58189 14.1159C8.57859 13.7843 8.69242 13.5001 8.92339 13.2633C9.15766 13.0265 9.43977 12.9081 9.76972 12.9081C10.0832 12.9081 10.3587 13.0265 10.5963 13.2633C10.8338 13.5001 10.9543 13.7843 10.9576 14.1159C10.9543 14.3391 10.8965 14.5438 10.7843 14.7299C10.6754 14.9126 10.5319 15.0597 10.3537 15.1714C10.1756 15.2796 9.98089 15.3338 9.76972 15.3338Z"\n fill="currentColor"\n />\n </svg>',thumbsUp:O,thumbsDown:S,star:J}),U=class{constructor(o){n(this,o)}getSvgData(){return Object.entries(R).filter((([n])=>!n.toLowerCase().includes("logo")&&!n.toLowerCase().includes("eu"))).map((([n,o])=>({name:n,icon:o})))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const n=this.getSvgData();return o("div",{key:"8b10e6b478c9a2354f4cf418dacb33d5629585ac",class:"full-width"},o("eds-table",{key:"04ea0a3bc8d72f42225290210aa0bda441e14b95","table-data":JSON.stringify(n),config:JSON.stringify({icon:{format:"svg"},name:{format:"bold"}}),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0}))}get hostEl(){return t(this)}};U.style=":host,.full-width{display:block;width:100%}";export{U as eds_svg_repository}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{s as r}from"./p-e2d5a487.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"f9dcfa2e4c9cc938f3fd994ca3637c80f0495028",class:this.class,innerHTML:r})}};export{a as eds_icon_star}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{t}from"./p-373119b3.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"e0e594e8a715e0cbaf87280f2b4c55b017dc07ba",class:this.class,innerHTML:t})}};export{c as eds_icon_twitter}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-cccacbd3.js";import{s as n}from"./p-13efafb9.js";import{p as r}from"./p-69c5074b.js";function o(t,i,e,s,n){const r=[];return s&&!i&&r.push(`${t} is required.`),n&&"string"==typeof i&&i.length>n&&r.push(`${t} must be at most ${n} characters.`),"email"===e&&i&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i.toString())&&r.push("Invalid email format."),r}function a(t,i,e){const s=Array.from(e.querySelectorAll("eds-input-field")).filter((i=>{var e,s;return(null===(s=null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelectorAll(`input[name="${t}"]`))||void 0===s?void 0:s.length)>0})).flatMap((i=>{var e;return Array.from((null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelectorAll(`input[name="${t}"]`))||[])})).some((t=>t.checked)),n=[];return i&&!s&&n.push(`At least one option in ${t} is required.`),n}function d(t,i,e){var s;const n=[],r=Array.from(e.querySelectorAll("eds-input-field")).find((i=>{var e;return null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelector(`[name="${t}"]`)}));if(!r)return i&&n.push(`${t} is required.`),n;const o=null===(s=r.shadowRoot)||void 0===s?void 0:s.querySelector(`[name="${t}"]`);return i&&o&&!o.checked&&n.push(`${t} is required.`),n}function c(t,i){const e=Array.from(t.querySelectorAll("eds-input-field"));for(const t of e)if(t.shadowRoot){const e=t.shadowRoot.querySelector(`[name="${i}"]`);if(e)return e}return null}const l=class{constructor(e){t(this,e),this.form=i(this,"form",7),this.name="eds-form",this.setFormUrl=!0,this.formBtn=!0,this.formBtnLabel="Submit",this.errorMessage="Some fields in your form are incorrect.",this.fields=[],this.initData={},this.values={},this.isSubmitting=!1,this.hasError=!1,this.errors={},this.parsedFields=[]}componentWillLoad(){this.parseFields(this.fields),this.el.querySelectorAll("eds-button").forEach((t=>{this.emitContext(t)}))}componentDidLoad(){this.shouldFormProcessInitData&&this.populateFormWithInitData(this.initData)}get shouldFormProcessInitData(){var t;return!!(null===(t=this.initData)||void 0===t?void 0:t._id)}parseFields(t){this.parsedFields=r(t)}emitContext(t){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(i)}isFieldVisible(t){return!t.condition||this.values[t.condition.field]===t.condition.value}validateForm(){const{errors:t,hasError:i}=function(t,i,e){const s={};let n=!1;return t.forEach((t=>{if(((t,i)=>!t.condition||i[t.condition.field]===t.condition.value)(t,e)){if("hidden"!==t.type)if("checkbox"!==t.type&&"radio"!==t.type||t.options)if(!t.options||"checkbox"!==t.type&&"radio"!==t.type){const e=c(i,t.name);if(e){const i=o(t.name,e.value,t.type,t.required,t.maxlength);i.length>0&&(s[t.name]=i,n=!0)}}else{const e=a(t.name,t.required,i);e.length>0&&(s[t.name]=e,n=!0)}else{const e=d(t.name,t.required,i);e.length>0&&(s[t.name]=e,n=!0)}}else delete s[t.name]})),{errors:s,hasError:n}}(this.parsedFields,this.formEl,this.values);this.errors=t,this.hasError=i}populateFormWithInitData(t){const{updatedValues:i}=function({initData:t,parsedFields:i,currentValues:e,formEl:s,isFieldVisible:n}){const r=Object.assign({},e);return i.forEach((i=>{const e=t[i.name];void 0!==e&&(r[i.name]=e)})),setTimeout((()=>{i.forEach((i=>{if(n(i,r)){const e=t[i.name];if(void 0!==e)if("checkbox"===i.type||"radio"===i.type)Array.from(s.querySelectorAll("eds-input-field")).forEach((t=>{if(t.shadowRoot){const s=Array.from(t.shadowRoot.querySelectorAll(`[name="${i.name}"]`)),n=e.split(",").map((t=>t.trim()));s.forEach((t=>{t.checked=n.includes(t.value)}))}}));else{const t=c(s,i.name);t&&(t.value=e)}}}))}),50),{updatedValues:r}}({initData:t,parsedFields:this.parsedFields,currentValues:this.values,formEl:this.formEl,isFieldVisible:(t,i)=>!t.condition||i[t.condition.field]===t.condition.value});this.values=i}getFormData(){const t=new FormData;return t.append("form_name",this.name),this.setFormUrl&&"undefined"!=typeof window&&t.set("form_url",window.location.href),Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((i=>{if(i.shadowRoot){const e=i.shadowRoot.querySelector("input, textarea, select");if(e&&e.name)if("checkbox"===e.type||"radio"===e.type){const s=Array.from(i.shadowRoot.querySelectorAll(`input[name="${e.name}"]:checked`)).map((t=>t.value));t.append(e.name,s.join(","))}else if("file"===e.type){const i=e;i.files&&i.files.length>0&&Array.from(i.files).forEach((e=>{t.append(i.name,e)}))}else t.append(e.name,e.value)}})),t}handleChange(t,i){const e=t.target;this.values=Object.assign(Object.assign({},this.values),{[i.name]:e.value}),this.form.emit({event:"change",field:i.name,value:e.value,message:`${i.name} updated`,data:this.getFormData()})}handleInput(t,i){const e=t.target;this.values=Object.assign(Object.assign({},this.values),{[i.name]:e.value});const s=Object.assign({},this.errors),n=function(t,i,e){return"checkbox"===t.type||"radio"===t.type?t.options?a(t.name,t.required,e):d(t.name,t.required,e):o(t.name,i,t.type,t.required,t.maxlength)}(i,e.value,this.formEl);n.length>0?s[i.name]=n:delete s[i.name],this.errors=s,this.hasError=Object.keys(s).length>0}handleSubmit(){var t,i;if(!this.isSubmitting){if(this.isSubmitting=!0,this.validateForm(),this.hasError)return this.form.emit({event:"submit",validated:!1,success:!1,message:this.errorMessage,data:this.getFormData()}),void n({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${null===(t=this.formBtnLabel)||void 0===t?void 0:t.toLowerCase()}/non-validated`||"",action:"click"});this.form.emit({event:"submit",success:!0,validated:!0,message:"Form data validated successfully",data:this.getFormData()}),n({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:`${null===(i=this.formBtnLabel)||void 0===i?void 0:i.toLowerCase()}/validated`||"",action:"click"}),this.errors={},this.formEl.reset(),this.isSubmitting=!1}}render(){const t=this.parsedFields.filter((t=>"hidden"===t.type)),i=this.parsedFields.filter((t=>"hidden"!==t.type));return e("form",{key:"695438941134ef6a3c43b70008b1904b03700743",ref:t=>this.formEl=t,autocomplete:"on",onSubmit:this.handleSubmit},e("div",{key:"870ff661aded11c890e4f144a970c5ab5120a61f"},e("slot",{key:"b1070ccc8984afe457d28a6bbf52255dcbbc9b33"}),t.map(((t,i)=>e("eds-input",{key:i,type:"hidden",name:t.name,value:t.value}))),i.map(((t,i)=>{var s,n;return this.isFieldVisible(t)?e("eds-input-field",{key:i,name:t.name,id:`${this.name}_${t.name}`,label:t.label,type:t.type,icon:t.icon||null,required:t.required,maxLength:t.maxlength,hint:t.hint,error:(null===(s=this.errors[t.name])||void 0===s?void 0:s.length)>0,errorMessage:null===(n=this.errors[t.name])||void 0===n?void 0:n.join("<br />"),onInput:i=>this.handleInput(i,t),onChange:i=>this.handleChange(i,t),class:i>0?"mt-20":"",options:t.options}):null}))),this.formBtn&&e("div",{key:"80e0af076f3c57124f8a1f6718a0d45cfd45c0cd",class:"mt-20"},e("eds-button",{key:"51dd28fb2a6610983e50ddb60409b3acf18dba1b",intent:"primary",label:this.formBtnLabel,disabled:this.isSubmitting,loading:this.isSubmitting,onClick:()=>this.handleSubmit()})))}get el(){return s(this)}static get watchers(){return{fields:["parseFields"]}}};l.style=".mt-20{margin-top:1.25rem}";export{l as eds_form}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as r}from"./p-cccacbd3.js";const i=class{constructor(t){e(this,t),this.frameLabel=void 0,this.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});e.dispatchEvent(t)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-auto"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch(e){this.iframeError=!0}}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return t("div",{key:"387b8a4cb8f300a5a6b82287369f123b33613616",class:this.articleClasses()},t("div",{key:"8db6b1b5aecdaf2722786db85b2d3cf5b4bccac4",class:"effect-height flex items-center justify-between py-8 px-12"},t("span",{key:"696cb266ffbaeb8325c274c646668ba0d8beb751",class:"f-ui-02"},this.frameLabel),this.iframeError?null:t("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),t("div",{key:"9841812873efe999746eb008dd5e606e89efdb71",class:"border-softer"},this.iframeError?t("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):t("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return r(this)}};i.style=".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.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)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";export{i as eds_frame}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{l as r}from"./p-54b8f143.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"39c4f238655f348f385886861ce5f0c5098f39ec",class:this.class,innerHTML:r})}};export{e as eds_icon_linkedin}
@@ -1 +0,0 @@
1
- import{r,h as e}from"./p-cccacbd3.js";import{v as a}from"./p-9c5a453b.js";const t=class{constructor(e){r(this,e)}render(){return e("div",{key:"6d1dd1a42531168fa253a2627100be4d15befa01",class:"container my-20"},e("div",{key:"f405531b79f871634d0b7f2b8d164c5bfc5296e0",class:"w-[300px]"},e("div",{key:"29eb549e14b00c6936bb397e2f60dfb7728a261f",class:"bg-dark"},e("div",{key:"34c5784a90267142e604e59e6db480b4603d0760",class:"logo-container",innerHTML:a}))))}};t.style=".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:300px}";export{t as logo_space}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{e as c}from"./p-0e6d43c5.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"b05d83668879b6f05e20bb569f98b5614b134594",class:this.class,innerHTML:c})}};export{e as eds_icon_eu}
@@ -1 +0,0 @@
1
- import{r as c,h as e}from"./p-cccacbd3.js";const a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],s=class{constructor(e){c(this,e)}render(){return e("div",{key:"8a29f5c3fe2ab920f00d640b797828d11f7fcba9",class:"container"},e("eds-alert",{key:"0ce8c5013e9fa6ffd800a559a67de190ecc1a4bb",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),e("div",{key:"ba82246769b20e6cd15cd70fef6df808d08e3b30",class:"flex"},e("div",{key:"af9b08aa76f58fff8d8aace808dc3871c4462275",class:"w-full"},e("ul",{key:"5ad431baa554ed4c3db78f8eb3da82fff2a9ca9c",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map((c=>e("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}})))))),e("div",{key:"4e222c4aa8943835c43e0908ccf8b1acbb22bb46",class:"w-full"},e("ul",{key:"6bd9ac71cc5c4dc99b3779154aa6222c2dd5b43d",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map((c=>e("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}}))))))))}};export{s as incorrect_use_of_colors}
@@ -1 +0,0 @@
1
- import{r as e,h as c}from"./p-cccacbd3.js";const a=class{constructor(c){e(this,c)}render(){return c("div",{key:"a5ba01206487d07014bfd41fbed4f2f80f7d067e",class:"w-full"},c("ul",{key:"be6eb0bbe85f40b123ea04e02d839412401e0e0d",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},c("li",{key:"1617719d10e11cc1e36df8cdc368fb3f55536d9a",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"3510583e1adc5029a2562b96f33e9f6453240da5",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"b01170621405035c36efe8e5858201b6d12b23e9",class:"spacing-sample m-32 bg-darker"},c("span",{key:"ce9639400a99d478a5e31f95c9482cec914e90af",class:"text-white"},"Margin: 2rem / m-32")))),c("li",{key:"96dd43d6786acdcb5cf9c911ce39efce00b09a77",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"d8d9178f9f700eb5e752c87333d894a2392d72e9",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"f357493cdad00a69ec48dc3fb7854ba4b25579ab",class:"spacing-sample ml-64 bg-darker"},c("span",{key:"6e5e8b20be76970dead72ca485fb5cc9a6e7c1f1",class:"text-white"},"Margin Left: 4rem / ml-64")))),c("li",{key:"22fec87f6102e0577bf912508128c12716b48cb4",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"dee21a637d965b41cbdd9b4131ae7e6fc241d39a",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"43b150abac42ee2e189ec5fe8de64f5b43fba2c8",class:"spacing-sample mt-32 bg-darker"},c("span",{key:"3789c91cd7db3332af5df28308c4d69ccda4623d",class:"text-white"},"Margin Top: 2rem / mt-32")))),c("li",{key:"07e7c1b44d09a873df7f4488381b561bd952b65f",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"898be718773fee0d091424178ff4302f2fbc137b",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"60ce8427ee0c6deeda95b385c6342ca1b6215bba",class:"spacing-sample p-32 bg-darker"},c("span",{key:"97913f64a9c0b15b200811e59214e0d0b3d8837d",class:"text-white"},"Padding: 2rem / p-32")))),c("li",{key:"01ba17c02dc6fb806a23ce4429091e0417d094c5",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"559de3d223e040d0e1edbff121b99e6218773917",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"a857560b3ad4d7a5a670d5db5baae3fcfbf18d21",class:"spacing-sample pt-32 bg-darker"},c("span",{key:"5fff31ad7de22d84df6741c0f9a611164bbe5cc9",class:"text-white"},"Padding Top: 2rem / pt-32")))),c("li",{key:"6ac602257cb50ac1a05d78b477bc84fb25e89b4c",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"a087fa3b78537b2c0e35b7e9c2693e972092d407",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"76265dd76d79f8eb33f20ae85794c70cf41dd38b",class:"spacing-sample pl-32 bg-darker"},c("span",{key:"fe6a57a3977218cb6f9ea10560650634080d0931",class:"text-white"},"Padding Left: 2rem / pl-32"))))))}};export{a as token_spacing}
@@ -1,135 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-8a71b9a7.js';
2
- import { p as parseData } from './sharedUtils-a550989c.js';
3
-
4
- const edsBreadcrumbCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}";
5
- const EdsBreadcrumbStyle0 = edsBreadcrumbCss;
6
-
7
- const EdsBreadcrumb = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- /**
11
- * Updates the maximum number of visible items and tracks if the screen is small.
12
- */
13
- this.updateScreenSize = () => {
14
- const width = window.innerWidth;
15
- if (width < 769) {
16
- this.maxVisibleItems = 3;
17
- this.isSmallScreen = true;
18
- }
19
- else if (width <= 1024) {
20
- this.maxVisibleItems = 3;
21
- this.isSmallScreen = true;
22
- }
23
- else if (width <= 2200) {
24
- this.maxVisibleItems = 4;
25
- this.isSmallScreen = false;
26
- }
27
- else {
28
- this.maxVisibleItems = 6;
29
- this.isSmallScreen = false;
30
- }
31
- };
32
- this.items = [];
33
- this.intent = 'ghost';
34
- this.parsedItems = [];
35
- this.isSmallScreen = false;
36
- this.maxVisibleItems = 6;
37
- }
38
- /**
39
- * Watches for changes to the `items` prop and parses it.
40
- */
41
- parseItems(newValue) {
42
- this.parsedItems = parseData(newValue);
43
- }
44
- /**
45
- * Lifecycle method that runs when the component is about to be loaded.
46
- * It parses the initial `items` prop value.
47
- */
48
- componentWillLoad() {
49
- this.parseItems(this.items);
50
- this.updateScreenSize();
51
- window.addEventListener('resize', this.updateScreenSize);
52
- }
53
- disconnectedCallback() {
54
- window.removeEventListener('resize', this.updateScreenSize);
55
- }
56
- /**
57
- * Lifecycle method that runs when the component has fully loaded.
58
- * It emits a custom event for each `eds-link` element contained within the breadcrumb.
59
- */
60
- componentDidLoad() {
61
- var _a;
62
- const links = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-link');
63
- links === null || links === void 0 ? void 0 : links.forEach((link) => {
64
- this.emitContext(link);
65
- });
66
- }
67
- /**
68
- * Emits a custom event called `parentContext` for a given link element.
69
- * This event provides context information about the breadcrumb component.
70
- *
71
- * @param linkElement - The link element to which the event will be dispatched.
72
- */
73
- emitContext(linkElement) {
74
- const event = new CustomEvent('parentContext', {
75
- detail: {
76
- componentName: this.el.tagName.toLowerCase(),
77
- identifier: null
78
- }
79
- });
80
- linkElement.dispatchEvent(event);
81
- }
82
- /**
83
- * Returns breadcrumb items with potential truncation if there are too many.
84
- * It inserts an ellipsis item where necessary.
85
- */
86
- getTruncatedItems() {
87
- const totalItems = this.parsedItems.length;
88
- const ellipsis = { label: '...', url: '', isHidden: true };
89
- if (totalItems > this.maxVisibleItems) {
90
- const firstItem = this.parsedItems[0];
91
- const lastItems = this.parsedItems.slice(-2);
92
- if (this.maxVisibleItems === 3) {
93
- return [firstItem, ellipsis, ...lastItems];
94
- }
95
- else if (this.maxVisibleItems === 4) {
96
- const middleItem = this.parsedItems[Math.floor(totalItems / 2)];
97
- return [firstItem, middleItem, ellipsis, ...lastItems];
98
- }
99
- }
100
- return this.parsedItems;
101
- }
102
- /**
103
- * Helper to determine the display label and full label.
104
- * If the label is longer than 15 characters and the item is not the current (last) item,
105
- * we display a truncated version but use the full label for aria attributes.
106
- */
107
- getLabels(item, isCurrent) {
108
- if (!isCurrent && item.label.length > 15) {
109
- return { displayLabel: `${item.label.slice(0, 15)}...`, fullLabel: item.label };
110
- }
111
- return { displayLabel: item.label, fullLabel: item.label };
112
- }
113
- /**
114
- * Render method for the breadcrumb component.
115
- * It creates a navigation element with an ordered list of breadcrumb links.
116
- * The last link is marked as the current page.
117
- */
118
- render() {
119
- const itemsToRender = this.getTruncatedItems();
120
- return (h("nav", { key: '75bb5629a10de2a2a7bd0b2bbef04e5f699f5fe2', "aria-label": "Breadcrumb" }, h("ol", { key: '7a5cc115b70d60bc878aa3d865802662f30948c1', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
121
- const isLast = index === itemsToRender.length - 1;
122
- return (h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
123
- const { displayLabel, fullLabel } = this.getLabels(item, isLast);
124
- return (h("eds-link", Object.assign({ label: displayLabel, url: item.url, intent: this.intent, current: isLast, "aria-label": fullLabel, size: "small", "icon-small": "false" }, (isLast ? { 'aria-current': 'page' } : {}))));
125
- })()) : (h("span", { class: "truncate px-2", "aria-hidden": "true" }, "...")), !isLast && !item.isHidden && (h("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }))));
126
- }))));
127
- }
128
- get el() { return getElement(this); }
129
- static get watchers() { return {
130
- "items": ["parseItems"]
131
- }; }
132
- };
133
- EdsBreadcrumb.style = EdsBreadcrumbStyle0;
134
-
135
- export { EdsBreadcrumb as eds_breadcrumb };