@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 +1 @@
1
- import{r as e,h as t,H as s}from"./p-cccacbd3.js";const i=class{constructor(t){e(this,t),this.size="1rem",this.thickness="10px",this.borderColor="var(--grey-400)",this.bottomColor="var(--grey-900)",this.background="var(--grey-200)",this.fullscreen=!1}render(){const e=Object.assign({width:this.size,height:this.size,border:`${this.thickness} solid ${this.borderColor}`,borderBottomColor:this.bottomColor},!this.fullscreen&&{display:"inline-block"});return t(s,{key:"49a825afb039ee46b26609eea60109e0a060c104"},t("div",{key:"6445a4e7f1e7c553bdee660c42f1db0e011443f2",class:"spinner-overlay",style:this.fullscreen?{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"1000",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}},t("span",{key:"07feeb7736e6d306e2b7baf5d253b2ce96bb2c9e",class:"spinner",style:e})))}};i.style=":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}";export{i as eds_spinner}
1
+ import{r as e,h as t,H as s}from"./p-cccacbd3.js";const i=class{constructor(t){e(this,t),this.size="1rem",this.thickness="10px",this.borderColor="var(--grey-400)",this.bottomColor="var(--grey-900)",this.background="var(--grey-200)",this.fullscreen=!1}render(){const e=Object.assign({width:this.size,height:this.size,border:`${this.thickness} solid ${this.borderColor}`,borderBottomColor:this.bottomColor},!this.fullscreen&&{display:"inline-block"});return t(s,{key:"1e1e4ea2734fff8a680e55ca5163e69d2000a55d"},t("div",{key:"acf09f69d43404f317240c0d24e644ec0d046cd7",class:"spinner-overlay",style:this.fullscreen?{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"1000",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}},t("span",{key:"3728629fdff738a0b753cd499dc26052b1e3cb7b",class:"spinner",style:e})))}};i.style=":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}";export{i as eds_spinner}
@@ -1 +1 @@
1
- import{r as e,h as s}from"./p-cccacbd3.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"81d5d6f6010c56bb217b32fa520fdaf96e1c7adc"},s("eds-section-heading",{key:"c47dda41c2f553ef87f432109ead4bd0debcd99c",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),s("slot",{key:"9276798e2c581440c46ff9914809e87203a86b1b"}))}};t.style="";const i=class{constructor(s){e(this,s),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){return s(this.tag,{key:"6741f5bbede7d44109c5e60f92290d4b2eda4d42",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},s(this.headingLevel,{key:"cc65df919db1dc1d5725116ce1ab473319185901",class:this.getHeadingClass()},this.sectionTitle))}};export{t as eds_section_core,i as eds_section_heading}
1
+ import{r as e,h as s}from"./p-cccacbd3.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"39c4280156ca46b83538de499baa9b152360b1b4"},s("eds-section-heading",{key:"34da742e606f0e9bb485faac8aba1519eccc8934",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),s("slot",{key:"517b8ecc112565e8c6bb0bf85b02525deaa6f9df"}))}};t.style="";const i=class{constructor(s){e(this,s),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){return s(this.tag,{key:"346654c0118e056276162b42723c6c163712ab4f",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},s(this.headingLevel,{key:"c7d17fc22b3926495c799da0bc8bde7dc949e46a",class:this.getHeadingClass()},this.sectionTitle))}};export{t as eds_section_core,i as eds_section_heading}
@@ -0,0 +1 @@
1
+ import{r as i,h as e}from"./p-cccacbd3.js";const n=class{constructor(e){i(this,e)}render(){return e("div",{key:"02941660c566920227b36481dd7d211ad0ae35cc",class:"container"},e("ul",{key:"a1859aafecdba011251097f758b38171278cac22",class:"not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"},e("li",{key:"c105a4f208a7b7f15c6e0b28aff947e14bd533b9",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"7b465faf996ae41431f505a81f86711988fcf680",class:"f-body-01 text-center my-4"},"#1 Coloured"),e("div",{key:"6e4ecd4347777a1fed5502129abe7247e2963923",class:"coloured"},e("eds-logo",{key:"8b129a330768f306d009bf93a4602d761559d0b8",type:"no-bg",href:"#"}))),e("li",{key:"451cadfdb5178acc0269988a06afb0e454a07833",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"7b9d5fc604ebea27478f9ea3f95bf353e3310132",class:"f-body-01 text-center my-4"},"#2 Black & White"),e("div",{key:"d3bb58f4f9c5c5e2d74511d7aac5375d221119e2",class:"bg-default"},e("eds-logo",{key:"bff3e05b114130b767cfecd65de33ba6ebf63778",type:"black",href:"#"}))),e("li",{key:"f7a627949d4c2e2a31f2e8c713a311c440c7d644",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"09f14d2777c7462c493953748b92cdadf971e67e",class:"f-body-01 text-center my-4"},"#3 Dark"),e("div",{key:"c7b79be6d031fb97e875525b848350a988879193"},e("eds-logo",{key:"8a7fcf5800747bca95402df008423fd57ef2ebde",type:"color-white",href:"#"})))))}};n.style='ol,ul,menu{list-style:none;margin:0;padding:0}.coloured{background:linear-gradient(to left,\n #9CE142 0%,\n #00C959 50%,\n #00A595 100%)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.text-center{text-align:center}.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}.grid-layout{--grid-columns:6;display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-6[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-6[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1)::before{inset-inline-start:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+6)::before{inset-inline-end:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)~*::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+6)::after{border-inline-end-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+6)::after{top:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)::after{bottom:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)~li::after{bottom:0}.grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.gap-y-8{row-gap:0.5rem}.flex{display:flex}.flex-col{flex-direction:column}.mx-auto{margin-left:auto;margin-right:auto}.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)}@media (min-width: 750px){.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:gap-y-12{row-gap:0.75rem}}@media (min-width: 900px){.lg\\:gap-y-16{row-gap:1rem}.lg\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1024px){.xl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1280px){.xxl\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.xxl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}';const a=class{constructor(e){i(this,e),this.orientation="vertical",this.type=void 0}render(){return e("div",{key:"e842e396933ee714f86a9443b55cd7045d12277e",class:"container"},e("ul",{key:"dfea7dc44294bfe2acbbfd580bff8908cbeb98bf",class:"not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"},e("li",{key:"fe44c472c10b814ff815c2a8cd7101adb0890872",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"5ed6f1029df41907ca8b27a51612a1078f353ade",class:"f-body-01 text-center my-4"},"#1 Coloured"),e("div",{key:"eae38dbd0f8d4b92f2768559dbe65d6c136ba746",class:"mx-auto coloured w-[300px]"},e("eds-logo",{key:"7a05dacc86c54c6ff51810b14c9dc99fad4e36b5",orientation:"vertical",type:"no-bg",href:"#"}))),e("li",{key:"4055ab71f60098acea7e27f2a8706c45aecb7097",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"340cfb0cbf6383d46eabd91b6fb591a003ec00f6",class:"f-body-01 text-center my-4"},"#2 Black & White"),e("div",{key:"d4158d0b6413cae236c333fe0ffdd77dbda22c88",class:"mx-auto bg-default w-[300px]"},e("eds-logo",{key:"a411c3438499758b68cf949a83d9097da70a11f0",orientation:"vertical",type:"black",href:"#"}))),e("li",{key:"a7a97185be422337fb333709c61fe7c435bc82f3",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},e("p",{key:"cef2acc75d1749cd93699a99a2d80aeaa61ed632",class:"f-body-01 text-center my-4"},"#3 Dark"),e("div",{key:"43be8f5ca418a93b58c8f3a52d04a6e50b5bb03b",class:"mx-auto w-[300px]"},e("eds-logo",{key:"b5453b1009c0aa5c799c417e5c13b30cfc647840",orientation:"vertical",type:"color-white",href:"#"})))))}};a.style='.coloured{background:linear-gradient(to left,\n #9CE142 0%,\n #00C959 50%,\n #00A595 100%)}ol,ul,menu{list-style:none;margin:0;padding:0}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.text-center{text-align:center}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.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}.grid-layout{--grid-columns:6;display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-6[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-6[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1)::before{inset-inline-start:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+6)::before{inset-inline-end:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)~*::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+6)::after{border-inline-end-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+6)::after{top:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)::after{bottom:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)~li::after{bottom:0}.grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.gap-y-8{row-gap:0.5rem}.flex{display:flex}.flex-col{flex-direction:column}.mx-auto{margin-left:auto;margin-right:auto}.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)}@media (min-width: 750px){.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:gap-y-12{row-gap:0.75rem}}@media (min-width: 900px){.lg\\:gap-y-16{row-gap:1rem}.lg\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1024px){.xl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1280px){.xxl\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.xxl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}';export{n as logo_variations_horizontal,a as logo_variations_vertical}
@@ -0,0 +1 @@
1
+ import{r as s,h as c}from"./p-cccacbd3.js";import{s as r}from"./p-b822abb7.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"e0e594e8a715e0cbaf87280f2b4c55b017dc07ba",class:this.class,innerHTML:r})}};export{e as eds_icon_success}
@@ -0,0 +1 @@
1
+ import{r as s,h as c}from"./p-cccacbd3.js";import{p as r}from"./p-cdf19579.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"75a9d03500e01cc9d5f7b19a5afd2491ad2e6fee",class:this.class,innerHTML:r})}};export{a as eds_icon_plus}
@@ -0,0 +1 @@
1
+ import{r as s,h as c}from"./p-cccacbd3.js";import{t as r}from"./p-c776b6f8.js";const t=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"d7f5361ec8f863891c79de15966d546bae782c0a",class:this.class,innerHTML:r})}};export{t as eds_icon_thumbs_up}
@@ -0,0 +1 @@
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,"To directly use only the produced variables 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/vars.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@latest/styles/base/fonts.css"/>',language:"css","copy-label":"Copy Code"})),s=()=>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"}))),o=()=>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("p",null,"This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),e("eds-code-block",{code:"\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n",language:"javascript","copy-label":"Copy Code"}))),a=()=>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:"default"})),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 <div>\n <EdsHeader></EdsHeader>\n \x3c!-- render the splash until we manually hide it --\x3e\n <EdsSplashScreen inverse="false" />\n\n \x3c!-- then show main UI --\x3e\n <div v-if="!splashVisible" class="container my-16">\n <EdsSteps \n :steps="JSON.stringify(stepsdata)"\n type="linear"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: { EdsHeader, EdsSplashScreen, EdsSteps },\n data() {\n return {\n stepsdata: [\n { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },\n { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }\n ],\n splashVisible: true\n };\n },\n methods: {\n delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n async initialize() {\n try {\n // simulate your init work\n await this.delay(2000);\n\n // fire the built-in event that EdsSplashScreen listens for\n window.dispatchEvent(new Event("hideSplash"));\n } catch (e) {\n console.error("Init error", e);\n window.dispatchEvent(new Event("hideSplash"));\n } finally {\n // show the rest of the app\n this.splashVisible = false;\n }\n }\n },\n mounted() {\n this.initialize();\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"}))),i=class{constructor(e){n(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e(t,null);case 1:return e(s,null);case 2:return e(o,null);case 3:return e(a,null);case 4:return e(l,null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"ee8facfaad3786770fd3ea39f1db7922a67ffd3e",class:"container"},this.renderContent())}};export{i as components_section}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,g as a}from"./p-cccacbd3.js";import{s as r}from"./p-13efafb9.js";const i=class{constructor(e){t(this,e),this.isOpen=!1,this.heading="",this.truncate=!0,this.truncateLines="1",this.position="middle"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}getModalPositionClasses(){switch(this.position){case"top":return"md:left-1/2 top-20 md:-translate-x-1/2";case"bottom":return"md:left-1/2 bottom-20 md:-translate-x-1/2";case"left":return"left-20 top-1/2 -translate-y-1/2";case"right":return"right-20 top-1/2 -translate-y-1/2";default:return"md:left-1/2 top-1/2 md:-translate-x-1/2 -translate-y-1/2"}}async open(){var t;this.isOpen=!0,r({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:(null===(t=this.heading)||void 0===t?void 0:t.toLowerCase())||"",action:"opened"})}async close(){var t;this.isOpen=!1,r({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:(null===(t=this.heading)||void 0===t?void 0:t.toLowerCase())||"",action:"closed"})}async toggle(){this.isOpen=!this.isOpen}handleGlobalOpen(){this.open()}handleGlobalClose(){this.close()}handleKeyDown(t){this.isOpen&&"Escape"===t.key&&this.close()}render(){const t=`modal-title-${this.el.tagName.toLowerCase()}`;return e("div",{key:"3965b74182a1015d34ebc0d5692ab89de44774e6",id:"eds-modal",class:(this.isOpen?"block":"hidden")+" fixed inset-0 z-9999999 flex",role:"dialog","aria-modal":"true","aria-labelledby":t},this.isOpen&&e("div",{key:"c0df46234deb0945ba266e8f36a0b3944bd6d7bd",class:"fixed inset-0 bg-dark bg-opacity-90",onClick:()=>this.close()}),e("div",{key:"7fd65a4651ca67101b3a3e08ffd439070ccb8a96",class:`container max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center`},e("div",{key:"80102734c692934c486fd2e2d707286dd5660c69",class:"flex justify-between items-center border-b-2 border-softer pb-8"},e("span",{key:"b98138881f6eb4ee1fad3614eda4c91e5349b563",id:t,class:`f-heading-04 text-lighter ${this.getTruncateClass()}`},this.heading),e("eds-button",{key:"82f08e8ec6cbcb291c5d984ae97622d364bff5d0",intent:"tertiary",icon:"close","aria-label":"Close modal",onClick:()=>this.close(),"extra-class":"ml-8"})),e("div",{key:"2ea2fc21a8b734c40b1de4a20025a50f7369d375",class:"pt-8"},e("slot",{key:"ca0fa40b4076af9eea37c6b088d26751173e815c"}))))}get el(){return a(this)}};i.style=".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999999{z-index:9999999}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-20{top:1.25rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";export{i as eds_modal}
@@ -1 +1 @@
1
- import{r as e,h as t}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.value=0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=this.value;return t("div",{key:"259c247cbf6269d1118b652c70cc45e6ea9192b5",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden"},t("div",{key:"e6141a6aa1eb8d1f9562028d95f6dfffc2777b11",class:"inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02",style:{width:`${e}%`}},e,"%"))}};r.style=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}";export{r as eds_progress_bar}
1
+ import{r as e,h as t}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.value=0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=this.value;return t("div",{key:"9a7fa42058034305b22818d464e7b633d7831d67",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden"},t("div",{key:"90b0ac9a538b575a30163c0dbbf437e1cfe8ce39",class:"inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02",style:{width:`${e}%`}},e,"%"))}};r.style=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}";export{r as eds_progress_bar}
@@ -0,0 +1,15 @@
1
+ const paper = ` <svg
2
+ width="20"
3
+ height="20"
4
+ viewBox="0 0 20 20"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ d="M11 17H4V3H16V12M11 17L16 12M11 17V12H16"
10
+ stroke="currentColor"
11
+ stroke-width="1.5"
12
+ />
13
+ </svg>`;
14
+
15
+ export { paper as p };
@@ -0,0 +1,12 @@
1
+ const plus = ` <svg
2
+ width="20"
3
+ height="20"
4
+ viewBox="0 0 20 20"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path d="M16 10H4" stroke="currentColor" stroke-width="2" />
9
+ <path d="M10 16L10 4" stroke="currentColor" stroke-width="2" />
10
+ </svg>`;
11
+
12
+ export { plus as p };
@@ -0,0 +1,18 @@
1
+ const portal = ` <svg
2
+ width="20"
3
+ height="20"
4
+ viewBox="0 0 20 20"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ d="M8 14.0806L8 11L3 11L3 9L8 9L8 5.91938L13.1008 10L8 14.0806Z"
10
+ fill="currentColor"
11
+ />
12
+ <path
13
+ d="M15 15L12 15L12 17L15 17C16.1046 17 17 16.1046 17 15L17 5C17 3.89543 16.1046 3 15 3L12 3L12 5L15 5L15 15Z"
14
+ fill="currentColor"
15
+ />
16
+ </svg>`;
17
+
18
+ export { portal as p };
@@ -35,7 +35,7 @@ const ColorPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorPrimaryP
35
35
  ];
36
36
  }
37
37
  render() {
38
- return (h("ul", { key: '153e3c0f00db6f824cb0f43b420645bcbd66632f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
38
+ return (h("ul", { key: '970e6baf4b258e9a0ed194316daf1c862d17733e', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
39
39
  }
40
40
  }, [0, "color-primary-palette"]);
41
41
  function defineCustomElement() {
@@ -35,7 +35,7 @@ const GradientPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class GradientPr
35
35
  ];
36
36
  }
37
37
  render() {
38
- return (h("ul", { key: '95d991a7331f3f75909421db363b0c30646dd9f7', class: "gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
38
+ return (h("ul", { key: '469fc7f19a4346b7e930095c489c0e89cc58e6df', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
39
39
  background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
40
40
  } }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
41
41
  }
@@ -0,0 +1,25 @@
1
+ const privat = ` <svg
2
+ width="12"
3
+ height="12"
4
+ viewBox="0 0 12 12"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ d="M8 5V3C8 1.89543 7.10457 1 6 1V1C4.89543 1 4 1.89543 4 3V5"
10
+ stroke="currentColor"
11
+ stroke-width="1.5"
12
+ />
13
+ <rect
14
+ x="2"
15
+ y="5"
16
+ width="8"
17
+ height="6"
18
+ rx="1"
19
+ stroke="currentColor"
20
+ stroke-width="1.5"
21
+ />
22
+ <circle cx="6" cy="8" r="1.5" fill="currentColor" />
23
+ </svg>`;
24
+
25
+ export { privat as p };
@@ -0,0 +1,16 @@
1
+ const pub = ` <svg
2
+ width="12"
3
+ height="12"
4
+ viewBox="0 0 12 12"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <circle cx="6" cy="3" r="2" stroke="currentColor" stroke-width="1.5" />
9
+ <path
10
+ d="M10 12V9C10 7.89543 9.10457 7 8 7H4C2.89543 7 2 7.89543 2 9V12"
11
+ stroke="currentColor"
12
+ stroke-width="1.5"
13
+ />
14
+ </svg>`;
15
+
16
+ export { pub as p };
@@ -60,7 +60,7 @@ const ColorSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorSecond
60
60
  this.show = undefined;
61
61
  }
62
62
  render() {
63
- return (h("ul", { key: 'b0af2cdf6524cf79ef8d28f37533d1f84812f174', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
63
+ return (h("ul", { key: '54f985b91b28ae253a06ec313872ccc81449bf51', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
64
64
  }
65
65
  }, [0, "color-secondary-palette", {
66
66
  "show": [1]
@@ -60,19 +60,19 @@ const GradientSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class Gradient
60
60
  ];
61
61
  }
62
62
  render() {
63
- return (h("div", { key: '95324cdbb1dc2eec5d1b47b5a88b69c9e2139535' }, h("ul", { key: 'deddb39135e4dee2c6b401eb543ea2169d606331', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '848cdd2984b1dc5b2c0672ab125fe951b9c7d30c', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'af8b2fd8be90d0fffe2334f66878a34b32fa148f', class: "effect-height flex items-center justify-between p-16", style: {
63
+ return (h("div", { key: 'bcfd5c5ca5a01138d27ae5f0867998bb40d526ac' }, h("ul", { key: '6f79d13b142488f1253ba77b0a044fd8ada8d297', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'e8e44a1ee3993564fc2331d0d9337a2e0ceaebc1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '229940b2fe6264429fb7627c9d3aa02e18e90b5a', class: "effect-height flex items-center justify-between p-16", style: {
64
64
  background: this.colors[0].background
65
- } }, h("div", { key: 'b796899ca009ee80c877e2e728639abcf2b46770', class: "grid" }, h("span", { key: '2ba29c5bb91fef4b817f853056701feb001bdca0', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '23e36499f1ba4dd08ac928c6fefc6d38f03f4724', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '11af3db24e81dc5382e8b3c64296e0416c3a2a5a', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '0bc7aa191c1ddd71c5e716ac07687c2412530bad', class: "grid" }, h("span", { key: '3b84d1f6f75c3fa401fc08597318cb24e00a6db3', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: 'beb7250e567791947e9ccda81cf99d4fd3c7e007', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: 'd5c6301370b862c3bd713188b468ed22f9377e9c', class: "effect-height flex items-center justify-between p-16", style: {
65
+ } }, h("div", { key: '0cf83c147dde777efe2783d2148e780ab328c978', class: "grid" }, h("span", { key: '06f893ff45abe7c1d3cb817fe5834a5176c93f06', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '3967e17ed980810d8b35b0d2b2e754f7b2e8b3e0', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '2adc489cee7b3a3a67f62493fb5e125fc1e75c04', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'cb27de2308afcaaaad82675c50573805e51f36f7', class: "grid" }, h("span", { key: '0655190c8a8d555ed0fec5c319ff349d9fefc4d0', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '2b75a99e922965547e9f86240c0db577ec0b9682', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: 'a8b7ef1c5309601366baffa2d3b48c6cd8893eb6', class: "effect-height flex items-center justify-between p-16", style: {
66
66
  background: this.colors[1].background
67
- } }, h("div", { key: '14958bec1bc69da8afcd5abbec40153900003aea', class: "grid" }, h("span", { key: '7efe478f1588fc12a88e74eb6385a9ac1e83f2d2', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: 'aaf8b133f495682cd5934be9719889fd6cd79d5f', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'ba3050a85770e74810686603510bbd439e9c48c2', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'cc133d0be620d1749317a2d46386c3b662c7e231', class: "grid" }, h("span", { key: '77a6292eec6c5b36a209d627e8ebe4b0d8978529', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: '4bbf9a51af72aecd3d8e40388d56f7ec04307e5b', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: 'd8bd95b4b6a4992490b8a28c88ba94524ed3f89d' }), h("ul", { key: 'dcd47948561897e2b9dd5052f542b6faece97160', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4c2780b54496da965860adb2a13b3874198d2c50', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '1817732e6c42366661ef95cc1efad7bb3443481d', class: "effect-height flex items-center justify-between p-16", style: {
67
+ } }, h("div", { key: 'fd01906e34a91984aa7ce6439abcf03673d70099', class: "grid" }, h("span", { key: 'd4e119028ad415d9a21988c2bf603011856bb78d', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '4ba9d26645884bc1fc75741ee40509af56a9e7ae', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '5be1c28b15b458fba099868b598ee513077562e0', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '8609b9e68f23aaec35e76b312a425c376d508892', class: "grid" }, h("span", { key: 'f5cbb2d867e1a66e8371ebd73503ac1cd208f51d', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: 'b72b8b23c5b1e136cb1114af22f34c6222b0d0f9', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '73e70749f132579efc19bccab4fff8b3e2d6979a' }), h("ul", { key: 'ae61acfb731129d85d3c5151ac08d676113a5971', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '2b59810dbc40db3dfca10a09ad524499ea87f0e9', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e66cdabf69654205b975801bbc5ff102982fba78', class: "effect-height flex items-center justify-between p-16", style: {
68
68
  background: this.colors[2].background
69
- } }, h("div", { key: 'fdb50c1ad5c1b19aa7d6b271857d63d7ff129d66', class: "grid" }, h("span", { key: '4b5f5b8e075d73329803b5ca1204c257e8e8d6c4', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '67a26de500956ca477aa2213e6ecf8bea6d7ecb0', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'f0cd24d68af26304da2bfc8755328ca9d319c1b9', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f45ddb2b08e36a64e0383289fe7e1e70d11bc725', class: "grid" }, h("span", { key: 'b5f5fd53de2e0fee6122c0797f3269dd0e70e9f3', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'cbe037d718989eaf0274463ed300e81415e701e9', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '64e866bab4859c8a35a08440bf4c855d3824d20a', class: "effect-height flex items-center justify-between p-16", style: {
69
+ } }, h("div", { key: '0f4d10150dc7694d7d4ccf59bc99a95216a00bc5', class: "grid" }, h("span", { key: '85bbcdc4ca9b1f35625c15f5e742c35599084456', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '0b5354d88e4ada3497bb20ae9138e3f23d31b5e7', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'a67ca35d57d13a66fcab132565c1a246e37f42e8', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '41322955767caa5ce439b142ccacdcb809ebc52e', class: "grid" }, h("span", { key: 'ab06d7acd75b1065d057a4ec8cd7af93cd91bb5c', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'ec63cad47f9021cfd1bed508721cc5772d037bd3', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'ce5898b0ff195f6033d28e68dfd981a1813a23a4', class: "effect-height flex items-center justify-between p-16", style: {
70
70
  background: this.colors[3].background
71
- } }, h("div", { key: '1060ff9082dc3fd0c1d76a7b1c348ee980d59d5d', class: "grid" }, h("span", { key: 'abe785e555f4ec227ae6fd5eda65431b63f69d84', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '43a7d7afd959c53d552225df797f308f2c6672c0', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '0238b051353f4d717d7e1fc8a2d038e03c337150', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'c922aca2c73e3d489f029edee6c21f2c741608bc', class: "grid" }, h("span", { key: 'fd09943b23b1c58efcb1f971fde59cdcdd6fb6d3', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '5a9e9d68d53c02c9a871efc71e384bfe4f3dc15e', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '708821f7228d40fa0a6af2ce906955e7d0a9134a' }), h("ul", { key: 'af9971a8abdf34a4397466712e6391496a4fbbfb', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'fc026fa3187ed8536a553a34eca496d60c0a3c28', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'd42c5c8620956085d632daa27f552935cc57c4f5', class: "effect-height flex items-center justify-between p-16", style: {
71
+ } }, h("div", { key: '1126fbf08d60b5840ba76e7d838d0ebfb47a0af9', class: "grid" }, h("span", { key: 'd18fbf24fcedb41638c626991e9ef3706cd0e4f7', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '9d7d1df13ce9ab7b447d72851a2f5f3b66cf1034', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '5f92ba3b52a56638b7469572614d75fde23a1516', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '4b17671dd5d18382d80ee52b8cbce51633d78603', class: "grid" }, h("span", { key: 'cc6a59b63bcd128d5adfd70d908cecba1324a717', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '1cf37dab03769794f85d09d8d331306fb24e2fb3', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '1e1888c860c39e5ac93c2dcd5ff9bf65e8c3b412' }), h("ul", { key: '46ee0e1cd0a80a6da7991ee9474e4db5841b1c52', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '59343e8799ddb56b0d14d3a9c43f4d43c5d82cba', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '5388a8eb55332a9a6d5b5fbe8bf022eb2a76d06c', class: "effect-height flex items-center justify-between p-16", style: {
72
72
  background: this.colors[4].background
73
- } }, h("div", { key: '3cd0f3371918e997facce06672764914a168e7b9', class: "grid" }, h("span", { key: '1111da42bd889d65bba8615cbb321c1ad6386a5b', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '172ea59eb6a729ba29341662dba089d665dfe921', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '7a56e5937a4ae52d5c55489d49379b04d99f1bc3', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '4a5fd644619823b3ae0e30cd60fa6d7bfc643047', class: "grid" }, h("span", { key: '15a2d7d98420c0ebb8fe3914bb1457e821a5a99a', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: '4e09b1d98588aba17283686303f02ddce63b9f79', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: '527816987ba5afd8d906ab1b1c92c1499bb0c82c', class: "effect-height flex items-center justify-between p-16", style: {
73
+ } }, h("div", { key: '0f57d835c53d5844a155c8cfb78b1b3d0d37aecd', class: "grid" }, h("span", { key: '65b91767f90901590ca0ca4d892bf4bf5ca215d2', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'c2c46be9bee84e4ca53929dc9a0f5b87f48ad3ed', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'c40e13a9f535d710cede159d555fac9bbddf7b4c', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '0ebf1113e44f4e2704465d286022b84ddd57c43e', class: "grid" }, h("span", { key: 'e8c7485dfe4b2d1e36eae2cb21ec624384e5c085', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: '7d875d8c15a4f7bee7c746d9f297bd910f4cc5a6', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: '27777683ba91c02274fd691b09a43c836e24aca3', class: "effect-height flex items-center justify-between p-16", style: {
74
74
  background: this.colors[5].background
75
- } }, h("div", { key: '5723ecebf48cb271b908892880b2e5916a2260d3', class: "grid" }, h("span", { key: '1f4bc5243c69d4d875100dea5678eca909a318d6', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: 'a0d7e3283b2c27c9c909174671f84f0e127fd47b', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: '80eb873c0ef3db0ab0fedb0b97fd6a55c77b7a9b', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '7ad8e2f8fd77fa22f8c960b9f60b93160d7b18e4', class: "grid" }, h("span", { key: '76d8a46dc70cabfb90314730a14cf613dd94e5a2', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: '6fba90e3c22c2a2cb79dc99345648fdce235a529', class: "f-body-02" }, this.colors[5].pantoneU)))))));
75
+ } }, h("div", { key: '4f9b082b9e6c5d679801446fa5a7b88d18b40147', class: "grid" }, h("span", { key: '6afd59aafb0f1b793a8f989f7d201a922951dacd', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: '2114f91de062deba17e69d9bff77670107ed3f91', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: '08f8b3155d932eed5b05f4dbfc0e3c6e23aa02b5', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '5459b32225dbf86021dd6a95e84b73bf14a74fe8', class: "grid" }, h("span", { key: 'bedfeaa4250c3bf74f267d50aecc0df93fbf21ad', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: '8cc7a7a1abef3dcccad63c600692bffa5df89837', class: "f-body-02" }, this.colors[5].pantoneU)))))));
76
76
  }
77
77
  }, [0, "gradient-secondary-palette"]);
78
78
  function defineCustomElement() {
@@ -6,16 +6,8 @@ const ColorSupportPalette = /*@__PURE__*/ proxyCustomElement(class ColorSupportP
6
6
  constructor() {
7
7
  super();
8
8
  this.__registerHost();
9
- // Support palette data
10
9
  this.colors = [
11
- {
12
- rgb: 'R20 G20 B20',
13
- cmyk: 'C78 M69 Y61 K87',
14
- hex: '#141414',
15
- pantoneC: '',
16
- pantoneU: '',
17
- background: '#141414'
18
- },
10
+ { rgb: 'R20 G20 B20', cmyk: 'C78 M69 Y61 K87', hex: '#141414', pantoneC: '', pantoneU: '', background: '#141414' },
19
11
  {
20
12
  rgb: 'R56 G56 B56',
21
13
  cmyk: 'C68 M58 Y55 K63',
@@ -40,18 +32,39 @@ const ColorSupportPalette = /*@__PURE__*/ proxyCustomElement(class ColorSupportP
40
32
  pantoneU: 'PANTONE 649 U',
41
33
  background: '#E6E6E6'
42
34
  },
43
- {
44
- rgb: 'R255 G255 B255',
45
- cmyk: 'C0 M0 Y0 K0',
46
- hex: '#FFFFFF',
47
- pantoneC: '',
48
- pantoneU: '',
49
- background: '#FFFFFF'
50
- }
35
+ { rgb: 'R255 G255 B255', cmyk: 'C0 M0 Y0 K0', hex: '#FFFFFF', pantoneC: '', pantoneU: '', background: '#FFFFFF' }
51
36
  ];
52
37
  }
38
+ getTextColor(value) {
39
+ // hex branch
40
+ if (value.startsWith('#')) {
41
+ const hex = value.slice(1);
42
+ const r = parseInt(hex.substring(0, 2), 16);
43
+ const g = parseInt(hex.substring(2, 4), 16);
44
+ const b = parseInt(hex.substring(4, 6), 16);
45
+ const brightness = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
46
+ return brightness > 0.5 ? 'text-default' : 'text-inverse';
47
+ }
48
+ // rgb(...) branch
49
+ if (/rgb/i.test(value)) {
50
+ const nums = value
51
+ .replace(/rgba?\(/i, '')
52
+ .replace(')', '')
53
+ .split(',')
54
+ .map((n) => parseFloat(n.trim()));
55
+ const [r, g, b] = nums;
56
+ const brightness = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
57
+ return brightness > 0.5 ? 'text-default' : 'text-inverse';
58
+ }
59
+ // fallback
60
+ return 'text-default';
61
+ }
53
62
  render() {
54
- return (h("ul", { key: 'c58041047c7d7993ac4e936051d40e1e8dda5263', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC || 'N/A'), h("span", { class: "f-body-02" }, color.pantoneU || 'N/A'))))))));
63
+ return (h("ul", { key: 'cf31dbb2778735cb95f40243f557e97c15cd29f0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
64
+ // compute once
65
+ const textClass = this.getTextColor(color.background);
66
+ return (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), h("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
67
+ })));
55
68
  }
56
69
  }, [0, "color-support-palette"]);
57
70
  function defineCustomElement() {
@@ -51,11 +51,11 @@ const GradientSupportPalette = /*@__PURE__*/ proxyCustomElement(class GradientSu
51
51
  ];
52
52
  }
53
53
  render() {
54
- return (h("ul", { key: '2d73e1f2954e7900990f3f1b92e088172c48d193', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'ddd095d39334d645bd69143f975c869c9061becf', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '8fdd52e523f612f65293cefa69cd1587722ea0b2', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: 'ba16ce258232ac4ff1dd57e69ce89eba2755ea4e', class: "grid" }, h("span", { key: 'e5bbd8438eedce22c00a570b5000bb2f9544f943', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '26bdb7eab2bf73b568d79a31d697d835a1a2c16d', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '63ed93911453afa708119d3bc237581fc14d859b', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'a99939016fee0fdcbfc8916ddabc70da990506b6', class: "grid" }, h("span", { key: 'f51ea8694129ef99920037fae8837b2c4f7552ce', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: '047e32f25dc6f2c8d8c0881c500e4485d20e9312', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: '8364ad80dc8a18b4315f9e39f8d364fe928e1334', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'f03dce05b8e864f63560d3ac02bdbc37c66f5c00', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: 'b6995567668ffafb14824bfcb2394dfbaff7f718', class: "grid" }, h("span", { key: 'eea29f050955e9cb036650af9760f4056ca2de29', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '4978ad35c6902267c8bbecb471ea479c2a08577b', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'e043773af3e73ebd7978c7f7bc7cbc0ca02f162c', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '3fa13de855940e4188818ff7031463b9d3915511', class: "grid" }, h("span", { key: '0c5f5c3ab2946033c7ff74f39b7a71380471d887', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: '4b21f7ed78add17b4d013c59aac12976670ef037', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: 'fce44ca75c9d2317b6fd9a1953db054b8d1ca4b3', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '4748c78922ae9c03cd457911b0e9e92c818545d8', class: "effect-height flex items-center justify-between p-16", style: {
54
+ return (h("ul", { key: 'd965ec67f29697480e0b7a6fea0743d946476153', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '7ae7f96aa9b3ce2a8d1fbc018b652a83e4f41e90', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '604c51b26cc5eec60e2e0125cda0cb60c82282f0', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: '083d7aa003c99b54dc0c62c5ba1603c2a2a75c0a', class: "grid" }, h("span", { key: '4bc89f70e22217fa58f1db0586a8d5ee0db8bdae', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'd8e1bb4f6ce3e173e31685fc4435be29d9eac4a4', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: 'e370e6ea2808161625aea5e9b1e6e4dd9d137f33', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '6caf8c42e6296081a3daaca0e52c2a2776d1ab46', class: "grid" }, h("span", { key: '48ac4de4d194ae630a8a14df56ff2670f2f37092', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: 'fd02781c816a152d92c1579dc9a3115eadb0690e', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: 'a8562d9fb6ff77fcc6b31952a2ead12f3e0e9b50', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '4578880af1de315101deb5b42c91769dc2ca7437', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: 'ed304eb3c8c3ccb769db7d769872ce075261cb17', class: "grid" }, h("span", { key: '956fe1115a5c1c4f6d2503737a46f0f1cbdc8e06', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '6beb1017eec40dd27351fda2ec1609987d46fb05', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'a9319b683d13670c827b3444484d5469142ef76d', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '1d4f1a48a18aee0a90dd04fb336352042014ce29', class: "grid" }, h("span", { key: 'f4b7df5e0cde451a5e650e11b9805cc5be0c9fec', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: '26d4869a2207e1386f72d2833aaf819c15006c34', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: 'ed2b1465825e249bff9f5df38649b331f19e0672', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '22182a6d9bb64ab5dcbc38e359c3a7d7f79f3090', class: "effect-height flex items-center justify-between p-16", style: {
55
55
  background: this.colors[2].background
56
- } }, h("div", { key: '9cff6d7998f301a7c97d939bf5c38e5687fb0bde', class: "grid" }, h("span", { key: 'a1561d5f9472d43e40bd054cf516458f89841c3f', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: 'b55020b6dbb423ec2151b81c185311229993ec83', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'ae4d929c795f5e12cb1f2f41aad3bfc9a1db47c7', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '3ba7d23eb05b4dcc97b8dd7204a93daca6e0e798', class: "grid" }, h("span", { key: '4c047aae61adb93550b0ce1da65387b6d57e745f', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '8d8776d142dd8f9378900dc152b32b5b3cfbe95e', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'd4d02de329e6d6407c8e360a7b1838395f7aab40', class: "effect-height flex items-center justify-between p-16", style: {
56
+ } }, h("div", { key: '28e2e772e7d12fbfdebec31f0aff6db397140132', class: "grid" }, h("span", { key: '872451c9846398641f1a592e8c166a6a51ee7298', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '84e28be1191f264e126c8579e26cbe6966010b4d', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'a4c3dc76652feefaf3a9eba5bb3694b8dbf96be8', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'ff3a6599da869d3f9e85cb94481206e7e6331988', class: "grid" }, h("span", { key: '37ef90488eb673fdac1221f7123daa87a5a75fcd', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '0a6fbb96f982a3e7c12af3787520335878faa9fe', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'b59aeb053ab1145e0d3bc163f4650cdf30afe7d4', class: "effect-height flex items-center justify-between p-16", style: {
57
57
  background: this.colors[3].background
58
- } }, h("div", { key: '50659022ed31e85fa46df11e33050430bc3a92db', class: "grid" }, h("span", { key: 'b2353739a0a09c5576eed0355a2c96913fb81a97', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: 'a40cd11295617a0b67bfe1ac49420d9918503a6d', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: 'd42fa64fbc856b2a52241650d6b74acd2b8642ee', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '341bd4f637751cefa429bc6c3aab0adc714830e6', class: "grid" }, h("span", { key: '728dfa47d7e92236cfb9c321fcd610a9cd3c4cd8', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '3f06c0d1468942e9999655d32b0b32454720ceae', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: '9bdd7ba9ccb255e8540b12ae33636a164f2d2da1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e700e5494922cdd1940a4002cab7fecfd407ce72', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '7dc4bfe5e3db4754f7e0c21005b36e16f32cf531', class: "grid" }, h("span", { key: '7faca86fa5a0477b8a136c39c9e6caac63bbaa27', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'b0dede7a2415df03772b15e32feb066f1dc18124', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '3903bcb378fc37313c79c187d2722a80773a6fdf', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'b15d2d0529d6ac65f549219155b0dc1f17c4e43e', class: "grid" }, h("span", { key: 'c7bc170b9f4b11552e5f5b7332fb3cc2db628dbf', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: '8c643a1a1590e3cf928835afc3a0a8c35dbe18f2', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
58
+ } }, h("div", { key: 'af020f1a66c2d0afcb2e2bdf189569e6d897ef32', class: "grid" }, h("span", { key: '3b2f895dccdeb5e2fb5aa505f19514f012d24426', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '9836a6ef47ed0dc8767a590212a23bfca2f74adf', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '3b274f716c6ca1381e4cc0136d18e167290bfa74', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'a41592e2172dc9f81e9d2f36328ff88de3f0954e', class: "grid" }, h("span", { key: 'fd7a06a256d3513bcf239fe9f778f3589895b9d5', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '991f38ea137b729c9e9e6c9e0031940151f6e9dc', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: '8efdd7d9f93cba4b9479e1d3face7cec94cf1af6', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '4223ec29cac4313dc261cb472bd880ae00279657', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '227dd5fab1add4083271b6e7f95c7d575d91252e', class: "grid" }, h("span", { key: 'e5b1aab8d67f7c67f231acd4156768f146320be3', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'fc4712e37494e8e30a48bc77a0ca61c94e24075d', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'a429c519e42e242d8ce8f661a513f7b5327ffce7', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '84f30a1620cacadf8c0bf1382333d74772f81f27', class: "grid" }, h("span", { key: '2b6dfc8e87517e4d0421ef0e5c2391a07f033600', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: 'c4cd5bc061ce4163a170568c0ed5934c7f30d75f', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
59
59
  }
60
60
  }, [0, "gradient-support-palette"]);
61
61
  function defineCustomElement() {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SvgRepository extends Components.SvgRepository, HTMLElement {}
4
+ export const SvgRepository: {
5
+ prototype: SvgRepository;
6
+ new (): SvgRepository;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -24,9 +24,19 @@ import { m as menu } from './menu.js';
24
24
  import { m as more } from './more.js';
25
25
  import { u as user } from './user.js';
26
26
  import { c as copy } from './copy.js';
27
+ import { u as unknown } from './unknown.js';
27
28
  import { t as thumbsUp } from './thumbs-up.js';
28
29
  import { t as thumbsDown } from './thumbs-down.js';
29
30
  import { s as star } from './star.js';
31
+ import { b as bookmark } from './bookmark.js';
32
+ import { m as minus } from './minus.js';
33
+ import { p as paper } from './paper.js';
34
+ import { p as plus } from './plus.js';
35
+ import { p as portal } from './portal.js';
36
+ import { p as privat } from './private.js';
37
+ import { p as pub } from './public.js';
38
+ import { t as tutorial } from './tutotial.js';
39
+ import { u as upDonw } from './up-and-down.js';
30
40
  import { d as defineCustomElement$c } from './eds-icon-wrapper2.js';
31
41
  import { d as defineCustomElement$b } from './eds-input2.js';
32
42
  import { d as defineCustomElement$a } from './eds-input-field2.js';
@@ -49,6 +59,8 @@ const color = ` <svg width="20" height="20" viewBox="0 0 36 36">
49
59
  <path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>
50
60
  </svg>`;
51
61
 
62
+ const arrowExternal = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5858 3H17V9.41421L14.5 6.91421L8.70712 12.7071L7.29291 11.2929L13.0858 5.5L10.5858 3Z" fill="currentColor"></path><path d="M8 4H5C3.89543 4 3 4.89543 3 6V15C3 16.1046 3.89543 17 5 17H14C15.1046 17 16 16.1046 16 15V12H14V15H5V6H8V4Z" fill="currentColor"></path></svg>`;
63
+
52
64
  const error = `<svg
53
65
  width="20"
54
66
  height="20"
@@ -233,27 +245,6 @@ const group = `<svg
233
245
  />
234
246
  </svg>`;
235
247
 
236
- const unknown = `<svg
237
- width="20"
238
- height="20"
239
- viewBox="0 0 20 20"
240
- fill="none"
241
- xmlns="http://www.w3.org/2000/svg"
242
- >
243
- <circle
244
- cx="10.0001"
245
- cy="10.0001"
246
- r="9.00007"
247
- fill="white"
248
- stroke="currentColor"
249
- stroke-width="2"
250
- />
251
- <path
252
- 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"
253
- fill="currentColor"
254
- />
255
- </svg>`;
256
-
257
248
  const svgs = /*#__PURE__*/Object.freeze({
258
249
  __proto__: null,
259
250
  twitter: twitter,
@@ -265,6 +256,7 @@ const svgs = /*#__PURE__*/Object.freeze({
265
256
  euSvg: euSvg,
266
257
  arrowRight: arrowRight,
267
258
  arrowDiagonal: arrowDiagonal,
259
+ bookmark: bookmark,
268
260
  chevronUp: chevronUp,
269
261
  chevronDown: chevronDown,
270
262
  chevronRight: chevronRight,
@@ -292,24 +284,33 @@ const svgs = /*#__PURE__*/Object.freeze({
292
284
  vLogoWhiteNoBg: vLogoWhiteNoBg,
293
285
  vLogoMargins: vLogoMargins,
294
286
  menu: menu,
287
+ minus: minus,
295
288
  more: more,
296
289
  failed: failed,
297
290
  filter: filter,
298
291
  group: group,
292
+ plus: plus,
293
+ paper: paper,
294
+ privat: privat,
295
+ pub: pub,
296
+ portal: portal,
299
297
  user: user,
298
+ upDonw: upDonw,
300
299
  search: search,
301
300
  success: success,
301
+ tutorial: tutorial,
302
302
  warning: warning,
303
303
  unknown: unknown,
304
304
  thumbsUp: thumbsUp,
305
305
  thumbsDown: thumbsDown,
306
- star: star
306
+ star: star,
307
+ external: arrowExternal
307
308
  });
308
309
 
309
- const edsSvgRepositoryCss = ":host,.full-width{display:block;width:100%}";
310
- const EdsSvgRepositoryStyle0 = edsSvgRepositoryCss;
310
+ const svgRepositoryCss = ":host,.full-width{display:block;width:100%}";
311
+ const SvgRepositoryStyle0 = svgRepositoryCss;
311
312
 
312
- const EdsSvgRepository$1 = /*@__PURE__*/ proxyCustomElement(class EdsSvgRepository extends HTMLElement {
313
+ const SvgRepository$1 = /*@__PURE__*/ proxyCustomElement(class SvgRepository extends HTMLElement {
313
314
  constructor() {
314
315
  super();
315
316
  this.__registerHost();
@@ -336,20 +337,20 @@ const EdsSvgRepository$1 = /*@__PURE__*/ proxyCustomElement(class EdsSvgReposito
336
337
  icon: { format: 'svg' },
337
338
  name: { format: 'bold' }
338
339
  };
339
- return (h("div", { key: '8b10e6b478c9a2354f4cf418dacb33d5629585ac', class: "full-width" }, h("eds-table", { key: '04ea0a3bc8d72f42225290210aa0bda441e14b95', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
340
+ return (h("div", { key: 'f9b58e4ab1104753ef5e26fa70af162d9e5ddb1c', class: "full-width" }, h("eds-table", { key: 'fe21b6043cc0fc6f96cb8359f3e7ace75d3f4639', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
340
341
  }
341
342
  get hostEl() { return this; }
342
- static get style() { return EdsSvgRepositoryStyle0; }
343
- }, [1, "eds-svg-repository"]);
343
+ static get style() { return SvgRepositoryStyle0; }
344
+ }, [1, "svg-repository"]);
344
345
  function defineCustomElement$1() {
345
346
  if (typeof customElements === "undefined") {
346
347
  return;
347
348
  }
348
- const components = ["eds-svg-repository", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-table"];
349
+ const components = ["svg-repository", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-table"];
349
350
  components.forEach(tagName => { switch (tagName) {
350
- case "eds-svg-repository":
351
+ case "svg-repository":
351
352
  if (!customElements.get(tagName)) {
352
- customElements.define(tagName, EdsSvgRepository$1);
353
+ customElements.define(tagName, SvgRepository$1);
353
354
  }
354
355
  break;
355
356
  case "eds-icon-wrapper":
@@ -410,7 +411,7 @@ function defineCustomElement$1() {
410
411
  } });
411
412
  }
412
413
 
413
- const EdsSvgRepository = EdsSvgRepository$1;
414
+ const SvgRepository = SvgRepository$1;
414
415
  const defineCustomElement = defineCustomElement$1;
415
416
 
416
- export { EdsSvgRepository, defineCustomElement };
417
+ export { SvgRepository, defineCustomElement };