@ebrains/components 0.0.1-alpha.0 → 0.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. package/dist/cjs/{color-ac51ccf7.js → color-3ffe3072.js} +6 -6
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components.cjs.js +3 -30
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  5. package/dist/cjs/eds-accordion.cjs.entry.js +5 -4
  6. package/dist/cjs/eds-alert.cjs.entry.js +10 -9
  7. package/dist/cjs/{eds-accordion_23.cjs.entry.js → eds-avatar_17.cjs.entry.js} +353 -785
  8. package/dist/cjs/eds-card-desc_3.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-card-generic.cjs.entry.js +18 -6
  10. package/dist/cjs/eds-card-project.cjs.entry.js +5 -5
  11. package/dist/cjs/eds-card-section.cjs.entry.js +20 -8
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +3 -2
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +6 -5
  14. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +4 -34
  16. package/dist/cjs/eds-components-section.cjs.entry.js +45 -25
  17. package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-form.cjs.entry.js +96 -23
  20. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +3 -3
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +3 -3
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +3 -3
  24. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +3 -3
  25. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +3 -3
  26. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +3 -3
  27. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +3 -3
  28. package/dist/cjs/eds-icon-close.cjs.entry.js +3 -3
  29. package/dist/cjs/eds-icon-copy.cjs.entry.js +3 -3
  30. package/dist/cjs/eds-icon-eu.cjs.entry.js +3 -3
  31. package/dist/cjs/eds-icon-facebook.cjs.entry.js +3 -3
  32. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +3 -3
  33. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +3 -3
  34. package/dist/cjs/eds-icon-loader.cjs.entry.js +3 -3
  35. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +3 -3
  36. package/dist/cjs/eds-icon-menu.cjs.entry.js +3 -3
  37. package/dist/cjs/eds-icon-more.cjs.entry.js +3 -3
  38. package/dist/cjs/eds-icon-search.cjs.entry.js +3 -3
  39. package/dist/cjs/eds-icon-success.cjs.entry.js +3 -3
  40. package/dist/cjs/eds-icon-twitter.cjs.entry.js +3 -3
  41. package/dist/cjs/eds-icon-user.cjs.entry.js +3 -3
  42. package/dist/cjs/eds-icon-youtube.cjs.entry.js +3 -3
  43. package/dist/cjs/{eds-input-field.cjs.entry.js → eds-input_7.cjs.entry.js} +249 -5
  44. package/dist/cjs/eds-login.cjs.entry.js +3 -3
  45. package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
  46. package/dist/cjs/eds-matomo-notice.cjs.entry.js +7 -6
  47. package/dist/cjs/eds-modal.cjs.entry.js +45 -5
  48. package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
  49. package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +160 -2
  50. package/dist/cjs/eds-progress-bar.cjs.entry.js +3 -2
  51. package/dist/cjs/eds-rating.cjs.entry.js +3 -2
  52. package/dist/cjs/eds-section-core_2.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-svg-repository.cjs.entry.js +298 -4
  54. package/dist/cjs/eds-tab.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-tabs-content.cjs.entry.js +6 -6
  56. package/dist/cjs/eds-tabs.cjs.entry.js +32 -10
  57. package/dist/cjs/eds-timeline.cjs.entry.js +76 -0
  58. package/dist/cjs/eds-tooltip.cjs.entry.js +4 -3
  59. package/dist/cjs/eds-trl.cjs.entry.js +52 -0
  60. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  61. package/dist/cjs/{index-2cc3495f.js → index-f08e4f5c.js} +54 -37
  62. package/dist/cjs/{loader-5efe2c21.js → loader-72f9d178.js} +2 -5
  63. package/dist/cjs/loader.cjs.js +2 -2
  64. package/dist/cjs/logo-space.cjs.entry.js +5 -4
  65. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
  66. package/dist/cjs/logo-wrong-usage.cjs.entry.js +6 -5
  67. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  68. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  69. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  70. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  71. package/dist/collection/collection-manifest.json +3 -0
  72. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  73. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +13 -12
  74. package/dist/collection/components/eds-button/eds-button.js +3 -3
  75. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +21 -1
  76. package/dist/collection/components/eds-form/eds-form.css +10 -0
  77. package/dist/collection/components/eds-form/eds-form.js +111 -20
  78. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +140 -15
  79. package/dist/collection/components/eds-input-field/eds-input-field.css +16 -6
  80. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  81. package/dist/collection/components/eds-modal/eds-modal.css +8 -0
  82. package/dist/collection/components/eds-modal/eds-modal.js +42 -2
  83. package/dist/collection/components/eds-table/eds-table.css +4 -0
  84. package/dist/collection/components/eds-table/eds-table.js +69 -11
  85. package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
  86. package/dist/collection/components/eds-timeline/eds-timeline.js +99 -0
  87. package/dist/collection/components/eds-timeline/eds-timeline.stories.js +35 -0
  88. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  89. package/dist/collection/components/eds-trl/eds-trl.js +69 -0
  90. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  91. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  92. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  93. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  94. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  95. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  96. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  97. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -5
  98. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  99. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  100. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  101. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  102. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  103. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  104. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +3 -6
  105. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  106. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  107. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +44 -0
  108. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +7 -1
  109. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  110. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  111. package/dist/collection/eds-docs-ui/functional/overview.js +1 -1
  112. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  113. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  114. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  115. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +21 -1
  116. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +2 -54
  117. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +4 -13
  118. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +4 -0
  119. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  120. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -8
  121. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +40 -7
  122. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  123. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -3
  124. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
  125. package/dist/collection/shared-ui/eds-header/eds-header.js +10 -6
  126. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +16 -10
  127. package/dist/collection/shared-ui/eds-login/eds-login.js +3 -2
  128. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +4 -4
  129. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
  130. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +29 -8
  131. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +22 -4
  132. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
  133. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +48 -34
  134. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  135. package/dist/collection/shared-ui/eds-user/eds-user.js +12 -6
  136. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -11
  137. package/dist/components/analytics.js +6 -6
  138. package/dist/components/components.css +38 -0
  139. package/dist/components/components.esm.js +1 -47
  140. package/dist/components/correct-use-of-colors.js +1 -1
  141. package/dist/components/eds-accordion2.js +4 -3
  142. package/dist/components/eds-alert2.js +3 -2
  143. package/dist/components/eds-avatar2.js +3 -2
  144. package/dist/components/eds-block-break2.js +2 -1
  145. package/dist/components/eds-breadcrumb.js +15 -13
  146. package/dist/components/eds-button2.js +6 -4
  147. package/dist/components/eds-card-desc2.js +2 -1
  148. package/dist/components/eds-card-generic2.js +17 -4
  149. package/dist/components/eds-card-project.js +2 -1
  150. package/dist/components/eds-card-section.js +19 -7
  151. package/dist/components/eds-card-tags.js +2 -1
  152. package/dist/components/eds-card-title2.js +2 -1
  153. package/dist/components/eds-card-tool.js +4 -2
  154. package/dist/components/eds-code-block2.js +3 -33
  155. package/dist/components/eds-components-section.js +44 -24
  156. package/dist/components/eds-docs-palettes.js +1 -1
  157. package/dist/components/eds-docs-tokens.js +1 -1
  158. package/dist/components/eds-dropdown2.js +2 -1
  159. package/dist/components/eds-footer2.js +3 -2
  160. package/dist/components/eds-form.js +97 -22
  161. package/dist/components/eds-fullscreen-menu.js +2 -1
  162. package/dist/components/eds-header.js +9 -4
  163. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  164. package/dist/components/eds-icon-arrow-right.js +1 -1
  165. package/dist/components/eds-icon-bluesky.js +1 -1
  166. package/dist/components/eds-icon-chevron-down.js +1 -1
  167. package/dist/components/eds-icon-chevron-left.js +1 -1
  168. package/dist/components/eds-icon-chevron-right.js +1 -1
  169. package/dist/components/eds-icon-chevron-up.js +1 -1
  170. package/dist/components/eds-icon-close.js +1 -1
  171. package/dist/components/eds-icon-copy.js +1 -1
  172. package/dist/components/eds-icon-eu.js +1 -1
  173. package/dist/components/eds-icon-facebook.js +1 -1
  174. package/dist/components/eds-icon-gitlab.js +1 -1
  175. package/dist/components/eds-icon-linkedin.js +1 -1
  176. package/dist/components/eds-icon-loader.js +1 -1
  177. package/dist/components/eds-icon-mastodon.js +1 -1
  178. package/dist/components/eds-icon-menu.js +1 -1
  179. package/dist/components/eds-icon-more.js +1 -1
  180. package/dist/components/eds-icon-search.js +1 -1
  181. package/dist/components/eds-icon-success.js +1 -1
  182. package/dist/components/eds-icon-twitter.js +1 -1
  183. package/dist/components/eds-icon-user.js +1 -1
  184. package/dist/components/eds-icon-youtube.js +1 -1
  185. package/dist/components/eds-img2.js +2 -1
  186. package/dist/components/eds-input-field2.js +5 -4
  187. package/dist/components/eds-input-select2.js +70 -2
  188. package/dist/components/eds-link2.js +5 -3
  189. package/dist/components/eds-login.js +3 -2
  190. package/dist/components/eds-logo-variations.d.ts +11 -0
  191. package/dist/components/eds-logo-variations.js +60 -0
  192. package/dist/components/eds-logo2.js +6 -3
  193. package/dist/components/eds-matomo-notice.js +4 -2
  194. package/dist/components/eds-modal.js +44 -4
  195. package/dist/components/eds-pagination2.js +2 -1
  196. package/dist/components/eds-progress-bar.js +1 -40
  197. package/dist/components/{eds-progress-bar.entry.js → eds-progress-bar2.js} +26 -7
  198. package/dist/components/eds-rating.js +2 -1
  199. package/dist/components/eds-section-core2.js +2 -1
  200. package/dist/components/eds-social-networks.js +2 -2
  201. package/dist/components/eds-social-networks2.js +7 -6
  202. package/dist/components/eds-svg-repository.js +296 -2
  203. package/dist/components/eds-tab2.js +1 -1
  204. package/dist/components/eds-table2.js +38 -15
  205. package/dist/components/eds-tabs-content.js +5 -4
  206. package/dist/components/eds-tabs.js +31 -8
  207. package/dist/components/eds-tag2.js +3 -2
  208. package/dist/components/eds-timeline.d.ts +11 -0
  209. package/dist/components/eds-timeline.js +131 -0
  210. package/dist/components/eds-toast-manager.js +3 -2
  211. package/dist/components/eds-toast2.js +1 -1
  212. package/dist/components/eds-tooltip.js +3 -2
  213. package/dist/components/eds-trl.d.ts +11 -0
  214. package/dist/components/eds-trl.js +139 -0
  215. package/dist/components/eds-user-modal2.js +1 -4
  216. package/dist/components/eds-user2.js +12 -6
  217. package/dist/components/incorrect-use-of-colors.js +20 -2
  218. package/dist/components/index.esm.js +0 -1
  219. package/dist/components/index2.js +44 -399
  220. package/dist/components/keycloak.js +0 -10
  221. package/dist/components/loader.js +2 -5
  222. package/dist/components/logo-space.js +4 -3
  223. package/dist/components/logo-variations-horizontal.js +2 -49
  224. package/dist/components/logo-variations-horizontal2.js +37 -0
  225. package/dist/components/logo-variations-vertical.js +2 -49
  226. package/dist/components/logo-variations-vertical2.js +42 -0
  227. package/dist/components/logo-wrong-usage.js +5 -4
  228. package/dist/components/{p-9c05e349.entry.js → p-005de86f.entry.js} +1 -1
  229. package/dist/components/{p-877403df.entry.js → p-02e2a62f.entry.js} +1 -1
  230. package/dist/components/{p-3dbf2ac9.entry.js → p-0910d733.entry.js} +1 -1
  231. package/dist/components/{p-6bc00fad.entry.js → p-0c2e844e.entry.js} +1 -1
  232. package/dist/components/{p-378d371f.entry.js → p-145f13ad.entry.js} +1 -1
  233. package/dist/components/{p-0a195bfe.entry.js → p-16458a81.entry.js} +1 -1
  234. package/dist/components/p-2117611b.js +1 -0
  235. package/dist/components/{p-513bf756.entry.js → p-22762818.entry.js} +1 -1
  236. package/dist/components/{p-94b74ae8.entry.js → p-22e6d7d5.entry.js} +1 -1
  237. package/dist/components/p-22f9e720.js +1 -0
  238. package/dist/components/p-2851ff44.entry.js +1 -0
  239. package/dist/components/p-29648b47.entry.js +1 -0
  240. package/dist/components/p-297b2bc3.entry.js +1 -0
  241. package/dist/components/{p-4541cb5f.entry.js → p-2e8459ef.entry.js} +1 -1
  242. package/dist/components/p-32cddd94.entry.js +1 -0
  243. package/dist/components/{p-0611bbac.entry.js → p-32f282a9.entry.js} +1 -1
  244. package/dist/components/p-3617841d.entry.js +1 -0
  245. package/dist/components/p-373673ca.js +1 -0
  246. package/dist/components/{p-677f60bc.entry.js → p-388b4966.entry.js} +1 -1
  247. package/dist/components/p-3ff76976.entry.js +1 -0
  248. package/dist/components/{p-ff6b25a1.entry.js → p-4037ad48.entry.js} +1 -1
  249. package/dist/components/{p-c16b3c0c.entry.js → p-42b4ecff.entry.js} +1 -1
  250. package/dist/components/{p-fa1276cc.entry.js → p-435a14c1.entry.js} +1 -1
  251. package/dist/components/p-490ba155.entry.js +1 -0
  252. package/dist/components/p-4932aab2.entry.js +1 -0
  253. package/dist/components/p-4a24c2ce.entry.js +1 -0
  254. package/dist/components/p-52ac3456.entry.js +1 -0
  255. package/dist/components/{p-b544f216.entry.js → p-54c75346.entry.js} +1 -1
  256. package/dist/components/{p-11a4ef34.entry.js → p-57c964c5.entry.js} +1 -1
  257. package/dist/components/p-5a43503a.entry.js +1 -0
  258. package/dist/components/p-5aad9d3f.entry.js +1 -0
  259. package/dist/components/p-5afb626c.entry.js +1 -0
  260. package/dist/components/p-5d7af761.entry.js +1 -0
  261. package/dist/components/{p-2728a189.entry.js → p-5fc68438.entry.js} +1 -1
  262. package/dist/components/p-6378fb3e.entry.js +1 -0
  263. package/dist/components/p-673dce11.entry.js +1 -0
  264. package/dist/components/{p-c0afe524.entry.js → p-6fc62452.entry.js} +1 -1
  265. package/dist/components/p-7215789a.entry.js +1 -0
  266. package/dist/components/{p-36c0f3ee.entry.js → p-73bd0c97.entry.js} +1 -1
  267. package/dist/components/p-762c8c83.entry.js +1 -0
  268. package/dist/components/p-7802e966.entry.js +1 -0
  269. package/dist/components/p-79887c2c.entry.js +1 -0
  270. package/dist/components/{p-e9a1fb1e.js → p-7a8b9de5.js} +2 -2
  271. package/dist/components/p-846fc91c.entry.js +1 -0
  272. package/dist/components/p-84957b6d.entry.js +1 -0
  273. package/dist/components/{p-e69ff916.entry.js → p-87830085.entry.js} +1 -1
  274. package/dist/components/p-8c56e39a.entry.js +1 -0
  275. package/dist/components/p-96c4deda.entry.js +1 -0
  276. package/dist/components/p-a44a1abe.entry.js +1 -0
  277. package/dist/components/p-a4e9b68b.entry.js +1 -0
  278. package/dist/components/p-ac0112d5.entry.js +1 -0
  279. package/dist/components/p-acb16e1c.entry.js +1 -0
  280. package/dist/components/p-ae5dbd41.entry.js +1 -0
  281. package/dist/components/{p-6cb8c52d.entry.js → p-bdd86a3c.entry.js} +1 -1
  282. package/dist/components/{p-22ee5374.entry.js → p-be6c80da.entry.js} +1 -1
  283. package/dist/components/p-bf0f851d.entry.js +1 -0
  284. package/dist/components/{p-82453a66.entry.js → p-c2d369bc.entry.js} +1 -1
  285. package/dist/components/p-d1670eec.entry.js +1 -0
  286. package/dist/components/p-d1f6a722.entry.js +1 -0
  287. package/dist/components/p-d53b7a75.entry.js +1 -0
  288. package/dist/components/{p-c11d93cf.entry.js → p-d571d530.entry.js} +1 -1
  289. package/dist/components/{p-bad2a33a.entry.js → p-d6d86366.entry.js} +1 -1
  290. package/dist/components/p-d7a92efb.entry.js +1 -0
  291. package/dist/components/p-d9788b54.entry.js +1 -0
  292. package/dist/components/{p-606d8f86.entry.js → p-e20ed2c7.entry.js} +1 -1
  293. package/dist/components/{p-200ad980.entry.js → p-e6bfbf51.entry.js} +1 -1
  294. package/dist/components/{p-ddd005a3.entry.js → p-e74834bc.entry.js} +1 -1
  295. package/dist/components/{p-b94318f2.entry.js → p-f7a6ce69.entry.js} +1 -1
  296. package/dist/components/p-fd27e56c.entry.js +1 -0
  297. package/dist/components/primary.js +1 -1
  298. package/dist/components/primary2.js +1 -1
  299. package/dist/components/secondary.js +1 -1
  300. package/dist/components/secondary2.js +7 -7
  301. package/dist/components/support.js +1 -1
  302. package/dist/components/support2.js +3 -3
  303. package/dist/components/token-list2.js +1 -1
  304. package/dist/components/token-radii2.js +1 -1
  305. package/dist/components/token-ratios.js +1 -1
  306. package/dist/components/token-shadows2.js +1 -1
  307. package/dist/components/token-spacing.js +1 -1
  308. package/dist/components/token-typography.js +1 -1
  309. package/dist/esm/{color-49aa977d.js → color-0ba8ed56.js} +6 -6
  310. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  311. package/dist/esm/components.js +4 -31
  312. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  313. package/dist/esm/eds-accordion.entry.js +5 -4
  314. package/dist/esm/eds-alert.entry.js +4 -3
  315. package/dist/esm/{eds-accordion_23.entry.js → eds-avatar_17.entry.js} +348 -774
  316. package/dist/esm/eds-card-desc_3.entry.js +1 -1
  317. package/dist/esm/eds-card-generic.entry.js +17 -5
  318. package/dist/esm/eds-card-project.entry.js +3 -3
  319. package/dist/esm/eds-card-section.entry.js +20 -8
  320. package/dist/esm/eds-card-tags.entry.js +3 -2
  321. package/dist/esm/eds-card-tool.entry.js +5 -4
  322. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  323. package/dist/esm/eds-code-block.entry.js +4 -34
  324. package/dist/esm/eds-components-section.entry.js +45 -25
  325. package/dist/esm/eds-docs-palettes.entry.js +2 -2
  326. package/dist/esm/eds-docs-tokens.entry.js +2 -2
  327. package/dist/esm/eds-form.entry.js +96 -23
  328. package/dist/esm/eds-frame.entry.js +1 -1
  329. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  330. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  331. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  332. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  333. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  334. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  335. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  336. package/dist/esm/eds-icon-close.entry.js +2 -2
  337. package/dist/esm/eds-icon-copy.entry.js +2 -2
  338. package/dist/esm/eds-icon-eu.entry.js +2 -2
  339. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  340. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  341. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  342. package/dist/esm/eds-icon-loader.entry.js +2 -2
  343. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  344. package/dist/esm/eds-icon-menu.entry.js +2 -2
  345. package/dist/esm/eds-icon-more.entry.js +2 -2
  346. package/dist/esm/eds-icon-search.entry.js +2 -2
  347. package/dist/esm/eds-icon-success.entry.js +2 -2
  348. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  349. package/dist/esm/eds-icon-user.entry.js +2 -2
  350. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  351. package/dist/{components/eds-input-field.entry.js → esm/eds-input_7.entry.js} +244 -6
  352. package/dist/esm/eds-login.entry.js +3 -3
  353. package/dist/esm/eds-logo-variations.entry.js +23 -0
  354. package/dist/esm/eds-matomo-notice.entry.js +6 -5
  355. package/dist/esm/eds-modal.entry.js +45 -5
  356. package/dist/esm/eds-navigator.entry.js +1 -1
  357. package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +160 -3
  358. package/dist/esm/eds-progress-bar.entry.js +3 -2
  359. package/dist/esm/eds-rating.entry.js +3 -2
  360. package/dist/esm/eds-section-core_2.entry.js +1 -1
  361. package/dist/esm/eds-svg-repository.entry.js +297 -3
  362. package/dist/esm/eds-tab.entry.js +2 -2
  363. package/dist/esm/eds-tabs-content.entry.js +5 -5
  364. package/dist/esm/eds-tabs.entry.js +31 -9
  365. package/dist/esm/eds-timeline.entry.js +72 -0
  366. package/dist/esm/eds-tooltip.entry.js +4 -3
  367. package/dist/esm/eds-trl.entry.js +48 -0
  368. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  369. package/dist/esm/{index-f1426055.js → index-e96badea.js} +54 -37
  370. package/dist/esm/{loader-66341740.js → loader-c9628637.js} +2 -5
  371. package/dist/esm/loader.js +3 -3
  372. package/dist/esm/logo-space.entry.js +5 -4
  373. package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
  374. package/dist/esm/logo-wrong-usage.entry.js +6 -5
  375. package/dist/esm/token-list_3.entry.js +4 -4
  376. package/dist/esm/token-ratios.entry.js +2 -2
  377. package/dist/esm/token-spacing.entry.js +2 -2
  378. package/dist/esm/token-typography.entry.js +2 -2
  379. package/dist/hydrate/index.js +671 -223
  380. package/dist/hydrate/index.mjs +671 -223
  381. package/dist/stencil.config.js +4 -3
  382. package/dist/types/components/eds-accordion/eds-accordion.d.ts +2 -2
  383. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +1 -5
  384. package/dist/types/components/eds-button/eds-button.d.ts +2 -2
  385. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +2 -0
  386. package/dist/types/components/eds-form/eds-form.d.ts +8 -0
  387. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +106 -3
  388. package/dist/types/components/eds-modal/eds-modal.d.ts +16 -0
  389. package/dist/types/components/eds-table/eds-table.d.ts +9 -1
  390. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -67
  391. package/dist/types/components/eds-timeline/eds-timeline.d.ts +26 -0
  392. package/dist/types/components/eds-timeline/eds-timeline.stories.d.ts +24 -0
  393. package/dist/types/components/eds-trl/eds-trl.d.ts +12 -0
  394. package/dist/types/components.d.ts +255 -32
  395. package/dist/types/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.d.ts +0 -4
  396. package/dist/types/eds-docs-ui/eds-logo-variations/eds-logo-variations.d.ts +9 -0
  397. package/dist/types/eds-docs-ui/eds-svg-repository/eds-svg-repository.d.ts +2 -0
  398. package/dist/types/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.d.ts +1 -7
  399. package/dist/types/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.d.ts +1 -1
  400. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +6 -1
  401. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +20 -1
  402. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +8 -2
  403. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +29 -0
  404. package/dist/types/shared-ui/eds-header/eds-header.d.ts +7 -1
  405. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +9 -1
  406. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  407. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +13 -0
  408. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +18 -1
  409. package/dist/types/shared-ui/eds-user/eds-user.d.ts +1 -2
  410. package/package.json +3 -3
  411. package/dist/cjs/color-primary-palette.cjs.entry.js +0 -43
  412. package/dist/cjs/color-secondary-palette.cjs.entry.js +0 -68
  413. package/dist/cjs/color-support-palette.cjs.entry.js +0 -59
  414. package/dist/cjs/eds-avatar.cjs.entry.js +0 -73
  415. package/dist/cjs/eds-block-break.cjs.entry.js +0 -20
  416. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -152
  417. package/dist/cjs/eds-button.cjs.entry.js +0 -233
  418. package/dist/cjs/eds-card-desc.cjs.entry.js +0 -26
  419. package/dist/cjs/eds-card-title.cjs.entry.js +0 -56
  420. package/dist/cjs/eds-dropdown.cjs.entry.js +0 -129
  421. package/dist/cjs/eds-footer.cjs.entry.js +0 -49
  422. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -99
  423. package/dist/cjs/eds-header.cjs.entry.js +0 -96
  424. package/dist/cjs/eds-icon-wrapper.cjs.entry.js +0 -40
  425. package/dist/cjs/eds-img.cjs.entry.js +0 -57
  426. package/dist/cjs/eds-input-footer.cjs.entry.js +0 -21
  427. package/dist/cjs/eds-input-label.cjs.entry.js +0 -20
  428. package/dist/cjs/eds-input-range.cjs.entry.js +0 -39
  429. package/dist/cjs/eds-input-search.cjs.entry.js +0 -41
  430. package/dist/cjs/eds-input-select.cjs.entry.js +0 -30
  431. package/dist/cjs/eds-input.cjs.entry.js +0 -68
  432. package/dist/cjs/eds-link.cjs.entry.js +0 -211
  433. package/dist/cjs/eds-logo.cjs.entry.js +0 -76
  434. package/dist/cjs/eds-section-core.cjs.entry.js +0 -23
  435. package/dist/cjs/eds-section-heading.cjs.entry.js +0 -41
  436. package/dist/cjs/eds-social-networks.cjs.entry.js +0 -65
  437. package/dist/cjs/eds-table.cjs.entry.js +0 -142
  438. package/dist/cjs/eds-tag.cjs.entry.js +0 -44
  439. package/dist/cjs/eds-toast-manager.cjs.entry.js +0 -45
  440. package/dist/cjs/eds-toast.cjs.entry.js +0 -53
  441. package/dist/cjs/eds-user-modal.cjs.entry.js +0 -47
  442. package/dist/cjs/eds-user.cjs.entry.js +0 -90
  443. package/dist/cjs/gradient-primary-palette.cjs.entry.js +0 -45
  444. package/dist/cjs/gradient-secondary-palette.cjs.entry.js +0 -79
  445. package/dist/cjs/gradient-support-palette.cjs.entry.js +0 -63
  446. package/dist/cjs/index-1ff5f25c.js +0 -48
  447. package/dist/cjs/index-383d2951.js +0 -3449
  448. package/dist/cjs/index-96a4261e.js +0 -405
  449. package/dist/cjs/index-f62478aa.js +0 -1837
  450. package/dist/cjs/keycloak-940b83c1.js +0 -1910
  451. package/dist/cjs/logo-variations-horizontal.cjs.entry.js +0 -30
  452. package/dist/cjs/logo-variations-vertical.cjs.entry.js +0 -30
  453. package/dist/cjs/shadow-css-988e4292.js +0 -334
  454. package/dist/cjs/token-list.cjs.entry.js +0 -253
  455. package/dist/cjs/token-radii.cjs.entry.js +0 -25
  456. package/dist/cjs/token-shadows.cjs.entry.js +0 -34
  457. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.css +0 -0
  458. package/dist/components/app-globals-0f993ce5.js +0 -3
  459. package/dist/components/color-primary-palette.entry.js +0 -39
  460. package/dist/components/color-secondary-palette.entry.js +0 -64
  461. package/dist/components/color-support-palette.entry.js +0 -55
  462. package/dist/components/correct-use-of-colors.entry.js +0 -64
  463. package/dist/components/eds-accordion.entry.js +0 -88
  464. package/dist/components/eds-alert.entry.js +0 -91
  465. package/dist/components/eds-avatar.entry.js +0 -69
  466. package/dist/components/eds-block-break.entry.js +0 -16
  467. package/dist/components/eds-breadcrumb.entry.js +0 -148
  468. package/dist/components/eds-button.entry.js +0 -229
  469. package/dist/components/eds-card-desc.entry.js +0 -22
  470. package/dist/components/eds-card-generic.entry.js +0 -89
  471. package/dist/components/eds-card-project.entry.js +0 -63
  472. package/dist/components/eds-card-section.entry.js +0 -39
  473. package/dist/components/eds-card-tags.entry.js +0 -17
  474. package/dist/components/eds-card-title.entry.js +0 -52
  475. package/dist/components/eds-card-tool.entry.js +0 -75
  476. package/dist/components/eds-card-wrapper.entry.js +0 -28
  477. package/dist/components/eds-code-block.entry.js +0 -2468
  478. package/dist/components/eds-components-section.entry.js +0 -92
  479. package/dist/components/eds-docs-palettes.entry.js +0 -23
  480. package/dist/components/eds-docs-tokens.entry.js +0 -31
  481. package/dist/components/eds-dropdown.entry.js +0 -125
  482. package/dist/components/eds-footer.entry.js +0 -45
  483. package/dist/components/eds-form.entry.js +0 -245
  484. package/dist/components/eds-frame.entry.js +0 -87
  485. package/dist/components/eds-fullscreen-menu.entry.js +0 -95
  486. package/dist/components/eds-header.entry.js +0 -92
  487. package/dist/components/eds-icon-arrow-diagonal.entry.js +0 -14
  488. package/dist/components/eds-icon-arrow-right.entry.js +0 -14
  489. package/dist/components/eds-icon-bluesky.entry.js +0 -14
  490. package/dist/components/eds-icon-chevron-down.entry.js +0 -14
  491. package/dist/components/eds-icon-chevron-left.entry.js +0 -14
  492. package/dist/components/eds-icon-chevron-right.entry.js +0 -14
  493. package/dist/components/eds-icon-chevron-up.entry.js +0 -14
  494. package/dist/components/eds-icon-close.entry.js +0 -14
  495. package/dist/components/eds-icon-copy.entry.js +0 -14
  496. package/dist/components/eds-icon-eu.entry.js +0 -14
  497. package/dist/components/eds-icon-facebook.entry.js +0 -14
  498. package/dist/components/eds-icon-gitlab.entry.js +0 -14
  499. package/dist/components/eds-icon-linkedin.entry.js +0 -14
  500. package/dist/components/eds-icon-loader.entry.js +0 -14
  501. package/dist/components/eds-icon-mastodon.entry.js +0 -14
  502. package/dist/components/eds-icon-menu.entry.js +0 -14
  503. package/dist/components/eds-icon-more.entry.js +0 -14
  504. package/dist/components/eds-icon-search.entry.js +0 -14
  505. package/dist/components/eds-icon-success.entry.js +0 -14
  506. package/dist/components/eds-icon-twitter.entry.js +0 -14
  507. package/dist/components/eds-icon-user.entry.js +0 -14
  508. package/dist/components/eds-icon-wrapper.entry.js +0 -36
  509. package/dist/components/eds-icon-youtube.entry.js +0 -14
  510. package/dist/components/eds-img.entry.js +0 -53
  511. package/dist/components/eds-input-footer.entry.js +0 -17
  512. package/dist/components/eds-input-label.entry.js +0 -16
  513. package/dist/components/eds-input-range.entry.js +0 -35
  514. package/dist/components/eds-input-search.entry.js +0 -37
  515. package/dist/components/eds-input-select.entry.js +0 -26
  516. package/dist/components/eds-input.entry.js +0 -64
  517. package/dist/components/eds-link.entry.js +0 -207
  518. package/dist/components/eds-login.entry.js +0 -68
  519. package/dist/components/eds-logo.entry.js +0 -72
  520. package/dist/components/eds-matomo-notice.entry.js +0 -105
  521. package/dist/components/eds-modal.entry.js +0 -42
  522. package/dist/components/eds-navigator.entry.js +0 -39
  523. package/dist/components/eds-pagination.entry.js +0 -207
  524. package/dist/components/eds-rating.entry.js +0 -53
  525. package/dist/components/eds-section-core.entry.js +0 -19
  526. package/dist/components/eds-section-heading.entry.js +0 -37
  527. package/dist/components/eds-social-networks.entry.js +0 -61
  528. package/dist/components/eds-svg-repository.entry.js +0 -28
  529. package/dist/components/eds-tab.entry.js +0 -36
  530. package/dist/components/eds-table.entry.js +0 -138
  531. package/dist/components/eds-tabs-content.entry.js +0 -129
  532. package/dist/components/eds-tabs.entry.js +0 -118
  533. package/dist/components/eds-tag.entry.js +0 -40
  534. package/dist/components/eds-toast-manager.entry.js +0 -41
  535. package/dist/components/eds-toast.entry.js +0 -49
  536. package/dist/components/eds-tooltip.entry.js +0 -95
  537. package/dist/components/eds-user-modal.entry.js +0 -43
  538. package/dist/components/eds-user.entry.js +0 -86
  539. package/dist/components/gradient-primary-palette.entry.js +0 -41
  540. package/dist/components/gradient-secondary-palette.entry.js +0 -75
  541. package/dist/components/gradient-support-palette.entry.js +0 -59
  542. package/dist/components/incorrect-use-of-colors.entry.js +0 -46
  543. package/dist/components/index-144c9ae8.js +0 -46
  544. package/dist/components/index-360dc790.js +0 -401
  545. package/dist/components/index-a9afa43f.js +0 -1802
  546. package/dist/components/index-b384416e.js +0 -3023
  547. package/dist/components/index3.js +0 -46
  548. package/dist/components/index4.js +0 -1802
  549. package/dist/components/keycloak-b647d452.js +0 -1903
  550. package/dist/components/logo-space.entry.js +0 -16
  551. package/dist/components/logo-variations-horizontal.entry.js +0 -26
  552. package/dist/components/logo-variations-vertical.entry.js +0 -26
  553. package/dist/components/logo-wrong-usage.entry.js +0 -16
  554. package/dist/components/p-0a6262b7.entry.js +0 -1
  555. package/dist/components/p-145d8e4d.entry.js +0 -1
  556. package/dist/components/p-1a1b8e28.entry.js +0 -1
  557. package/dist/components/p-1d94d663.entry.js +0 -1
  558. package/dist/components/p-219d9f68.entry.js +0 -1
  559. package/dist/components/p-25eb1801.entry.js +0 -1
  560. package/dist/components/p-2b14f03a.entry.js +0 -1
  561. package/dist/components/p-3048bdec.entry.js +0 -1
  562. package/dist/components/p-42dfb426.entry.js +0 -1
  563. package/dist/components/p-49a5eef5.entry.js +0 -1
  564. package/dist/components/p-52a487ee.entry.js +0 -1
  565. package/dist/components/p-55444767.entry.js +0 -1
  566. package/dist/components/p-5b900a2c.entry.js +0 -1
  567. package/dist/components/p-5edc806a.entry.js +0 -1
  568. package/dist/components/p-64d4a6e0.entry.js +0 -1
  569. package/dist/components/p-6f601454.entry.js +0 -1
  570. package/dist/components/p-763cbe2f.entry.js +0 -1
  571. package/dist/components/p-77a81dfa.entry.js +0 -1
  572. package/dist/components/p-7a2b35b4.entry.js +0 -1
  573. package/dist/components/p-81d2a9be.entry.js +0 -1
  574. package/dist/components/p-8c1be2b6.entry.js +0 -1
  575. package/dist/components/p-923e4d23.entry.js +0 -1
  576. package/dist/components/p-9c74a5dd.entry.js +0 -1
  577. package/dist/components/p-abcdf35f.js +0 -1
  578. package/dist/components/p-ac083317.entry.js +0 -1
  579. package/dist/components/p-ad79cc3c.entry.js +0 -1
  580. package/dist/components/p-b4055691.entry.js +0 -1
  581. package/dist/components/p-bfd2fdf1.entry.js +0 -1
  582. package/dist/components/p-c3c61db1.entry.js +0 -1
  583. package/dist/components/p-caf2af08.entry.js +0 -1
  584. package/dist/components/p-d80de13e.entry.js +0 -1
  585. package/dist/components/p-e04097a2.entry.js +0 -1
  586. package/dist/components/p-e2e715a2.entry.js +0 -1
  587. package/dist/components/p-e639818b.entry.js +0 -1
  588. package/dist/components/p-e80f4f24.js +0 -1
  589. package/dist/components/p-ec95188c.entry.js +0 -1
  590. package/dist/components/p-f04946a5.entry.js +0 -1
  591. package/dist/components/shadow-css-423dab2c.js +0 -332
  592. package/dist/components/token-list.entry.js +0 -249
  593. package/dist/components/token-radii.entry.js +0 -21
  594. package/dist/components/token-ratios.entry.js +0 -25
  595. package/dist/components/token-shadows.entry.js +0 -30
  596. package/dist/components/token-spacing.entry.js +0 -12
  597. package/dist/components/token-typography.entry.js +0 -226
  598. package/dist/esm/color-primary-palette.entry.js +0 -39
  599. package/dist/esm/color-secondary-palette.entry.js +0 -64
  600. package/dist/esm/color-support-palette.entry.js +0 -55
  601. package/dist/esm/eds-avatar.entry.js +0 -69
  602. package/dist/esm/eds-block-break.entry.js +0 -16
  603. package/dist/esm/eds-breadcrumb.entry.js +0 -148
  604. package/dist/esm/eds-button.entry.js +0 -229
  605. package/dist/esm/eds-card-desc.entry.js +0 -22
  606. package/dist/esm/eds-card-title.entry.js +0 -52
  607. package/dist/esm/eds-dropdown.entry.js +0 -125
  608. package/dist/esm/eds-footer.entry.js +0 -45
  609. package/dist/esm/eds-fullscreen-menu.entry.js +0 -95
  610. package/dist/esm/eds-header.entry.js +0 -92
  611. package/dist/esm/eds-icon-wrapper.entry.js +0 -36
  612. package/dist/esm/eds-img.entry.js +0 -53
  613. package/dist/esm/eds-input-field.entry.js +0 -68
  614. package/dist/esm/eds-input-footer.entry.js +0 -17
  615. package/dist/esm/eds-input-label.entry.js +0 -16
  616. package/dist/esm/eds-input-range.entry.js +0 -35
  617. package/dist/esm/eds-input-search.entry.js +0 -37
  618. package/dist/esm/eds-input-select.entry.js +0 -26
  619. package/dist/esm/eds-input.entry.js +0 -64
  620. package/dist/esm/eds-link.entry.js +0 -207
  621. package/dist/esm/eds-logo.entry.js +0 -72
  622. package/dist/esm/eds-section-core.entry.js +0 -19
  623. package/dist/esm/eds-section-heading.entry.js +0 -37
  624. package/dist/esm/eds-social-networks.entry.js +0 -61
  625. package/dist/esm/eds-table.entry.js +0 -138
  626. package/dist/esm/eds-tag.entry.js +0 -40
  627. package/dist/esm/eds-toast-manager.entry.js +0 -41
  628. package/dist/esm/eds-toast.entry.js +0 -49
  629. package/dist/esm/eds-user-modal.entry.js +0 -43
  630. package/dist/esm/eds-user.entry.js +0 -86
  631. package/dist/esm/gradient-primary-palette.entry.js +0 -41
  632. package/dist/esm/gradient-secondary-palette.entry.js +0 -75
  633. package/dist/esm/gradient-support-palette.entry.js +0 -59
  634. package/dist/esm/index-144c9ae8.js +0 -46
  635. package/dist/esm/index-360dc790.js +0 -401
  636. package/dist/esm/index-a9afa43f.js +0 -1802
  637. package/dist/esm/index-b384416e.js +0 -3416
  638. package/dist/esm/keycloak-b647d452.js +0 -1903
  639. package/dist/esm/logo-variations-horizontal.entry.js +0 -26
  640. package/dist/esm/logo-variations-vertical.entry.js +0 -26
  641. package/dist/esm/shadow-css-423dab2c.js +0 -332
  642. package/dist/esm/toastManager-b716afd8.js +0 -31
  643. package/dist/esm/token-list.entry.js +0 -249
  644. package/dist/esm/token-radii.entry.js +0 -21
  645. package/dist/esm/token-shadows.entry.js +0 -30
  646. /package/dist/cjs/{toastManager-1fb1a402.js → toastManager-4e9535f3.js} +0 -0
  647. /package/dist/collection/shared-ui/eds-social-networks/{eds-social-network.css → eds-social-networks.css} +0 -0
  648. /package/dist/{components/toastManager-b716afd8.js → esm/toastManager-d9eee791.js} +0 -0
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-383d2951.js');
6
-
7
- const shadows = {
8
- small: '0px 1.5px 2px rgba(0, 0, 0, 0.1)',
9
- hover: '0px 0px 16px rgba(0, 0, 0, 0.2)',
10
- accent: '0px 0px 12px rgba(0, 201, 89, 0.6)',
11
- podium: '0px 0px 8px 8px rgb(0 0 0 / 25%);',
12
- border: '0 10px 10px rgba(0, 0, 0, 0.15);',
13
- 'border-top': '0 -10px 10px rgba(0, 0, 0, 0.15);'
14
- };
15
-
16
- const dropShadows = {
17
- small: '0px 0px 16px rgba(0, 0, 0, 0.3)'
18
- };
19
-
20
- const shadowTokens = {
21
- shadows,
22
- dropShadows
23
- };
24
-
25
- const TokenShadows = class {
26
- constructor(hostRef) {
27
- index.registerInstance(this, hostRef);
28
- }
29
- render() {
30
- return (index.h("section", { key: '019be87dca82cd1edd392ef0758b8a2e37d09ff6', class: "w-full mt-28" }, index.h("ul", { key: 'ade136beb8b25087e26c3f2300b463aa3fda1e41', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, index.h("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, index.h("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), index.h("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
31
- }
32
- };
33
-
34
- exports.token_shadows = TokenShadows;
@@ -1,3 +0,0 @@
1
- const globalScripts = () => {};
2
-
3
- export { globalScripts as g };
@@ -1,39 +0,0 @@
1
- import { r as registerInstance, h } from './index-b384416e.js';
2
-
3
- const ColorPrimaryPalette = class {
4
- constructor(hostRef) {
5
- registerInstance(this, hostRef);
6
- // Primary palette data
7
- this.colors = [
8
- {
9
- rgb: 'R156 G225 B66',
10
- cmyk: 'C52 M0 Y98 K0',
11
- hex: '#9CE142',
12
- pantoneC: 'PANTONE 367 C',
13
- pantoneU: 'PANTONE 374 U',
14
- background: '#9CE142'
15
- },
16
- {
17
- rgb: 'R0 G201 B89',
18
- cmyk: 'C75 M0 Y80 K0',
19
- hex: '#00C959',
20
- pantoneC: 'PANTONE 7480 C',
21
- pantoneU: 'PANTONE 7481 U',
22
- background: '#00C959'
23
- },
24
- {
25
- rgb: 'R0 G165 B149',
26
- cmyk: 'C78 M8 Y49 K0',
27
- hex: '#00A595',
28
- pantoneC: 'PANTONE 3272 C',
29
- pantoneU: 'PANTONE 3275 U',
30
- background: '#00A595'
31
- }
32
- ];
33
- }
34
- render() {
35
- 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))))))));
36
- }
37
- };
38
-
39
- export { ColorPrimaryPalette as color_primary_palette };
@@ -1,64 +0,0 @@
1
- import { r as registerInstance, h } from './index-b384416e.js';
2
-
3
- const ColorSecondaryPalette = class {
4
- constructor(hostRef) {
5
- registerInstance(this, hostRef);
6
- // Secondary palette data
7
- this.colors = [
8
- {
9
- rgb: 'R63 G169 B245',
10
- cmyk: 'C68 M13 Y0 K0',
11
- hex: '#3FA9F5',
12
- pantoneC: 'PANTONE 298 C',
13
- pantoneU: 'PANTONE 298 U',
14
- background: '#3FA9F5'
15
- },
16
- {
17
- rgb: 'R6 G68 B244',
18
- cmyk: 'C92 M60 Y0 K0',
19
- hex: '#0644F4',
20
- pantoneC: 'PANTONE 2728 C',
21
- pantoneU: 'PANTONE 2935 U',
22
- background: '#0644F4'
23
- },
24
- {
25
- rgb: 'R196 G97 B255',
26
- cmyk: 'C52 M67 Y0 K0',
27
- hex: '#C461FF',
28
- pantoneC: 'PANTONE 252 C',
29
- pantoneU: 'PANTONE 252 U',
30
- background: '#C461FF'
31
- },
32
- {
33
- rgb: 'R93 G61 B249',
34
- cmyk: 'C83 M78 Y0 K0',
35
- hex: '#5D3DF9',
36
- pantoneC: 'PANTONE 266 C',
37
- pantoneU: 'PANTONE 2735 U',
38
- background: '#5D3DF9'
39
- },
40
- {
41
- rgb: 'R255 G165 B67',
42
- cmyk: 'C0 M43 Y76 K0',
43
- hex: '#FFA543',
44
- pantoneC: 'PANTONE 804 C',
45
- pantoneU: 'PANTONE 136 U',
46
- background: '#FFA543'
47
- },
48
- {
49
- rgb: 'R255 G77 B104',
50
- cmyk: 'C0 M81 Y42 K0',
51
- hex: '#FF4D68',
52
- pantoneC: 'PANTONE 1785 C',
53
- pantoneU: 'PANTONE 185 U',
54
- background: '#FF4D68'
55
- }
56
- ];
57
- this.show = undefined;
58
- }
59
- render() {
60
- 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))))))));
61
- }
62
- };
63
-
64
- export { ColorSecondaryPalette as color_secondary_palette };
@@ -1,55 +0,0 @@
1
- import { r as registerInstance, h } from './index-b384416e.js';
2
-
3
- const ColorSupportPalette = class {
4
- constructor(hostRef) {
5
- registerInstance(this, hostRef);
6
- // Support palette data
7
- this.colors = [
8
- {
9
- rgb: 'R20 G20 B20',
10
- cmyk: 'C78 M69 Y61 K87',
11
- hex: '#141414',
12
- pantoneC: '',
13
- pantoneU: '',
14
- background: '#141414'
15
- },
16
- {
17
- rgb: 'R56 G56 B56',
18
- cmyk: 'C68 M58 Y55 K63',
19
- hex: '#383838',
20
- pantoneC: 'PANTONE 447 C',
21
- pantoneU: 'PANTONE Neutral Black U',
22
- background: '#383838'
23
- },
24
- {
25
- rgb: 'R204 G204 B204',
26
- cmyk: 'C23 M17 Y18 K0',
27
- hex: '#CCCCCC',
28
- pantoneC: 'PANTONE Cool Gray 2 C',
29
- pantoneU: 'PANTONE Cool Gray 2 U',
30
- background: '#CCCCCC'
31
- },
32
- {
33
- rgb: 'R230 G230 B230',
34
- cmyk: 'C12 M8 Y9 K0',
35
- hex: '#E6E6E6',
36
- pantoneC: 'PANTONE 663 C',
37
- pantoneU: 'PANTONE 649 U',
38
- background: '#E6E6E6'
39
- },
40
- {
41
- rgb: 'R255 G255 B255',
42
- cmyk: 'C0 M0 Y0 K0',
43
- hex: '#FFFFFF',
44
- pantoneC: '',
45
- pantoneU: '',
46
- background: '#FFFFFF'
47
- }
48
- ];
49
- }
50
- render() {
51
- 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'))))))));
52
- }
53
- };
54
-
55
- export { ColorSupportPalette as color_support_palette };
@@ -1,64 +0,0 @@
1
- import { r as registerInstance, h } from './index-b384416e.js';
2
-
3
- const primary = [
4
- {
5
- background: '#9CE142'
6
- },
7
- {
8
- background: '#00C959'
9
- },
10
- {
11
- background: '#00A595'
12
- }
13
- ];
14
- const support = [
15
- {
16
- background: '#141414'
17
- },
18
- {
19
- background: '#383838'
20
- },
21
- {
22
- background: '#CCCCCC'
23
- },
24
- {
25
- background: '#E6E6E6'
26
- },
27
- {
28
- background: '#FFFFFF'
29
- }
30
- ];
31
- const blue = [
32
- {
33
- background: '#3FA9F5'
34
- },
35
- {
36
- background: '#0644F4'
37
- }
38
- ];
39
- const purple = [
40
- {
41
- background: '#C461FF'
42
- },
43
- {
44
- background: '#5D3DF9'
45
- }
46
- ];
47
- const red = [
48
- {
49
- background: '#FFA543'
50
- },
51
- {
52
- background: '#FF4D68'
53
- }
54
- ];
55
- const CorrectUseOfColors = class {
56
- constructor(hostRef) {
57
- registerInstance(this, hostRef);
58
- }
59
- render() {
60
- return (h("div", { key: '74aa6fcf077ee0f8ffb30e48b388699565d027ae', class: "container" }, h("p", { key: '2d1ce73998a1fe581f2e0084b0d14b12896b9ea9', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '56f7b3bf0f26487ce0f3742d4cac82f9cd78cd80', label: "primary", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", h("eds-link", { key: 'af2f1c9dc2f3ce3e53ddaa4d116841201815369c', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), h("div", { key: 'df3f4033ee166a0eb59f5e6d34c6573a74cb0a41', class: "flex" }, h("div", { key: '4805b4ab6c53e01d303df8683e6e279da29749fa', class: "w-full" }, h("ul", { key: '80e5def16148d8377731cb92f865eeacd2558750', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'f0dcc515f6b9dcfcaeb65f0d9a68bd8c81e85e76', class: "w-full" }, h("ul", { key: '507ddd79c0ccf5dfcfca36de9b9d7ad2a3c2fff4', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '696a40e2fde6810d4652768e6e3aa94b785073a7', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '69999f902476bce4b6e3d67264b4c707b07b7501', label: "purple", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", h("eds-link", { key: '51321fa3a7c219dec8f43559c97a9b8654f45bbd', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), h("div", { key: 'f0c8a66e81cd968b40b6b40547118d29957822ed', class: "flex" }, h("div", { key: 'e5df5ea36c4953943eec98b252d8f7cb16ba7691', class: "w-full" }, h("ul", { key: '8786457bdfd058c75bd4100398549ad4cf54a974', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '8c2c4be0b5cef8219cfdfffe2bba7da6745af720', class: "w-full" }, h("ul", { key: '4bb7edfb7048522b18c338b0190760e755a7859f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: 'cde93ab4d8198cf0f1e04c8af9617c2a1afc8804', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'ce6d84aa369f1509e9ef2d9418282d1307aba27e', label: "blue", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", h("eds-link", { key: '9033315eae2e61ee1f50c473c5171bba151b9f26', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), h("div", { key: '3b28d87bd0824e84b8a1b36c50f36f214dd6f58f', class: "flex" }, h("div", { key: '3a088d08c67c43fb5a4bf70a703f8a0667c40877', class: "w-full" }, h("ul", { key: 'd773d5c724306bfdffcfb8685cabbc570f2c347b', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '526015f7431ade04dcc569b71fe9b0d7ee853fb9', class: "w-full" }, h("ul", { key: 'ea6f0569fac6c7678df0f431605a1b52c2cf3198', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: 'ea15819fa41c0f0303a849ba50dbf889f7b06171', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'd1a5d00980846fb31014b9bc9631fe6fecc406ab', label: "redish", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block" }), "and", h("eds-link", { key: 'b5111ad668077a29d2b89caf182ce1d6f7c83941', label: "support", size: "small", intent: "ghost", icon: "arrow-right", url: "../color-palette/#support-palette", "extra-class": "inline-block" }), "color palettes."), h("div", { key: '3418135ed8af2a53b819c062c4090513c706895c', class: "flex" }, h("div", { key: 'e304ed3c2895a699b703cae1041bc1f495d4df9d', class: "w-full" }, h("ul", { key: '9bd9ec31d7239b5adcd48842ae7507bc9a4f938c', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'a5d47f7a62e5d5af432915cb43a3ecfd84ee9ef3', class: "w-full" }, h("ul", { key: '9fb1be5f4635f01482db671998990b688d63d310', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
61
- }
62
- };
63
-
64
- export { CorrectUseOfColors as correct_use_of_colors };
@@ -1,88 +0,0 @@
1
- import { r as registerInstance, a as createEvent, h, g as getElement } from './index-b384416e.js';
2
-
3
- const edsAccordionCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-36{min-height:2.25rem}.min-h-44{min-height:2.75rem}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-20{padding-top:1.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}";
4
-
5
- const EdsAccordion = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.accordionChange = createEvent(this, "accordionChange", 7);
9
- /**
10
- * Handles the click event on the accordion header to toggle expansion.
11
- * Toggles the `isExpanded` state and emits the `accordionChange` event.
12
- */
13
- this.handleClick = () => {
14
- this.isExpanded = !this.isExpanded;
15
- this.accordionChange.emit(this.isExpanded);
16
- this.setPanelHeight();
17
- };
18
- /**
19
- * Calculates and sets the panel height based on the content height
20
- * and adjusts based on the `shortContent` and `isExpanded` states.
21
- */
22
- this.setPanelHeight = () => {
23
- if (this.childContentRef) {
24
- this.shortContent =
25
- this.wrapperRef.scrollWidth > 830 && !this.description
26
- ? this.childContentRef.scrollHeight <= 80
27
- : this.childContentRef.scrollHeight <= 20;
28
- this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0;
29
- }
30
- };
31
- this.title = undefined;
32
- this.description = undefined;
33
- this.switchBg = true;
34
- this.expanded = false;
35
- this.clampText = true;
36
- this.minHeightContent = false;
37
- this.isExpanded = this.expanded;
38
- this.panelHeight = 0;
39
- this.shortContent = false;
40
- }
41
- /**
42
- * Lifecycle method that sets up the initial panel height and adds a resize event listener
43
- * to recalculate height on window resize.
44
- */
45
- componentDidLoad() {
46
- this.setPanelHeight();
47
- // Emit context for each eds-link element after the component is fully loaded
48
- const btn = this.el.shadowRoot.querySelector('eds-button');
49
- this.emitContext(btn);
50
- window.addEventListener('resize', this.setPanelHeight);
51
- }
52
- /**
53
- * Emits a custom event called `parentContext` for a given link element.
54
- * This event provides context information about the breadcrumb component.
55
- *
56
- * @param linkElement - The link element to which the event will be dispatched.
57
- */
58
- emitContext(linkElement) {
59
- const event = new CustomEvent('parentContext', {
60
- detail: {
61
- componentName: this.el.tagName.toLowerCase(),
62
- identifier: null
63
- }
64
- });
65
- linkElement.dispatchEvent(event);
66
- }
67
- /**
68
- * Lifecycle method that cleans up the resize event listener when the component is removed.
69
- */
70
- disconnectedCallback() {
71
- window.removeEventListener('resize', this.setPanelHeight);
72
- }
73
- /**
74
- * Renders the accordion structure, including header, content, description, and any slotted content.
75
- * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
76
- */
77
- render() {
78
- const minHeightContentClass = this.minHeightContent ? 'min-h-56' : '';
79
- return (h("div", { key: 'fc5727e75b74058ee2ce86f99f77cf0b09fca4aa', ref: (el) => (this.wrapperRef = el), class: `container flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
80
- ${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
81
- ${this.switchBg ? 'hover:bg-inverse' : ''}
82
- ${minHeightContentClass}` }, h("h3", { key: 'e58c2839cf6ee75be7752acc5c54497fe8bf3dde', class: "mr-auto f-heading-06 text-left absolute inset-x-16 top-16 line-clamp-1" }, this.title), h("div", { key: '55724b741d8654b66da22c88a764cca1af240e78', class: "ml-auto" }, h("eds-button", { key: '9020e6cf183bdbc6dc83fe5c7d387f53e248bc98', id: "accordionId", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-controls": "accordionId", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '2e0510604a57a9f4c9aee0de3c9b295e22946363', class: `w-full` }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: 'f39f19fe2e1a6489853b5fea2ac2da2b9e954787', id: "sectionId", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: '91c64ddbc22197fb929f55f8b6a9022c92ed729e', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-20`, "aria-hidden": !this.isExpanded }, h("span", { key: 'c1c496948b8bfdc22573b9ec83dfbaab484db901', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '758757e3cb9d4d71ecfab9764cffda697fabeaf8' })))))));
83
- }
84
- get el() { return getElement(this); }
85
- };
86
- EdsAccordion.style = edsAccordionCss;
87
-
88
- export { EdsAccordion as eds_accordion };
@@ -1,91 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-b384416e.js';
2
- import { c as cva } from './index-144c9ae8.js';
3
-
4
- const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*, ::before, ::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n::before,\n::after {\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n:root {\n --inner-gutter: 8px;\n}\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n:root {\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n@media (min-width: 750px) {\n :root {\n}\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n@media (min-width: 1024px) {\n :root {\n}\n}\n.f-ui-01 b, .f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n@media (min-width: 750px) {\n .md\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-x-0 > *::before {\n content: none;\n }\n .md\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n@media (min-width: 900px) {\n .lg\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-x-0 > *::before {\n content: none;\n }\n .lg\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1 );\n }\n\n &::after {\n content: '';\n }\n}\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n.w-full {\n width: 100%;\n}\n.flex-row {\n flex-direction: row;\n}\n.items-center {\n align-items: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n.rounded-lg {\n border-radius: 16px;\n}\n.bg-dark {\n background-color: var(--grey-300);\n}\n.bg-error {\n background-color: var(--red-200);\n}\n.bg-success {\n background-color: var(--green-200);\n}\n.bg-warning {\n background-color: var(--yellow-200);\n}\n.p-16 {\n padding: 1rem;\n}\n.p-20 {\n padding: 1.25rem;\n}\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.pr-12 {\n padding-right: 0.75rem;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n[class*=underline-] {\n text-decoration-line: underline;\n}\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05 );\n}\n";
5
-
6
- const alertStyles = cva(['w-full bg-dark rounded-lg border-inside after:border-softest after:rounded-lg'], {
7
- variants: {
8
- intent: {
9
- default: '',
10
- warning: 'bg-warning',
11
- error: 'bg-error',
12
- success: 'bg-success'
13
- },
14
- direction: {
15
- vertical: 'space-y-12',
16
- horizontal: 'flex flex-row items-center justify-between gap-x-12'
17
- },
18
- withBtn: {
19
- false: '',
20
- true: ''
21
- }
22
- },
23
- compoundVariants: [
24
- {
25
- direction: 'horizontal',
26
- withBtn: true,
27
- class: 'px-20 pr-12 py-12'
28
- },
29
- {
30
- direction: 'horizontal',
31
- withBtn: false,
32
- class: 'p-20'
33
- },
34
- {
35
- direction: 'vertical',
36
- withBtn: true,
37
- class: 'p-16'
38
- },
39
- {
40
- direction: 'vertical',
41
- withBtn: false,
42
- class: 'px-12 py-20'
43
- }
44
- ],
45
- defaultVariants: {
46
- intent: 'default',
47
- direction: 'horizontal'
48
- }
49
- });
50
- const EdsAlert = class {
51
- constructor(hostRef) {
52
- registerInstance(this, hostRef);
53
- this.message = undefined;
54
- this.pressableLabel = undefined;
55
- this.pressableUrl = undefined;
56
- this.direction = 'horizontal';
57
- this.intent = 'default';
58
- this.withBtn = false;
59
- }
60
- componentWillLoad() {
61
- this.withBtn = Boolean(this.pressableLabel);
62
- }
63
- componentDidLoad() {
64
- // Query all 'eds-link' elements, including those inside shadow DOM
65
- const links = this.el.shadowRoot.querySelectorAll('eds-link');
66
- links.forEach((link) => {
67
- this.emitContext(link);
68
- });
69
- }
70
- emitContext(linkElement) {
71
- const event = new CustomEvent('parentContext', {
72
- detail: {
73
- componentName: this.el.tagName.toLowerCase(),
74
- identifier: null
75
- }
76
- });
77
- linkElement.dispatchEvent(event);
78
- }
79
- render() {
80
- return (h("div", { key: '99518cd34cbfc04691f2f827b53105ef88c03af8', class: alertStyles({
81
- intent: this.intent,
82
- direction: this.direction,
83
- withBtn: this.withBtn
84
- }), role: "alert" }, h("p", { key: '7eca97c849473bb4c8472d11243dc5eb9dded61f', class: "f-ui-01 py-8" }, this.message), this.withBtn &&
85
- (this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary" })) : null)));
86
- }
87
- get el() { return getElement(this); }
88
- };
89
- EdsAlert.style = edsAlertCss;
90
-
91
- export { EdsAlert as eds_alert };
@@ -1,69 +0,0 @@
1
- import { r as registerInstance, h } from './index-b384416e.js';
2
- import { g as gradientBGColorVariants } from './index-360dc790.js';
3
- import './index-144c9ae8.js';
4
-
5
- const edsAvatarCss = ".border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border: 2px solid rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px;\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-inverse {\n &::after {\n border: 2px solid rgba(255, 255, 255, 0.3);\n }\n\n &::after {\n content: '';\n }\n}\n\n.aspect-1x1 {\n aspect-ratio: 1/1;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.px-4 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.rounded-pill {\n border-radius: 100px;\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xs {\n border-radius: 4px;\n}\n\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-darker {\n background-color: var(--grey-400);\n}\n\n.bg-stronger {\n background-color: var(--grey-900);\n}\n\n.bg-strongest {\n background-color: var(--black);\n}\n\n.text-accent {\n color: var(--green-500);\n}\n\n.text-default {\n color: var(--black);\n}\n\n.\\!no-underline {\n text-decoration-line: none !important;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.w-32 {\n width: 2rem;\n}\n\n.w-44 {\n width: 2.75rem;\n}\n\n.w-\\[54px\\] {\n width: 54px;\n}";
6
-
7
- const EdsAvatar = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.firstName = undefined;
11
- this.lastName = undefined;
12
- this.picture = undefined;
13
- this.initials = undefined;
14
- this.color = undefined;
15
- this.rounded = false;
16
- this.initialsStrong = false;
17
- }
18
- /**
19
- * Computed initials based on the provided `initials` prop or derived from `firstName` and `lastName`.
20
- * @returns {string | undefined} Initials for display in the avatar.
21
- */
22
- get computedInitials() {
23
- if (this.initials) {
24
- return (this.initials.match(/.{1,3}/g) || [])[0] || '';
25
- }
26
- else if (this.firstName && this.lastName) {
27
- return `${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase();
28
- }
29
- return undefined;
30
- }
31
- /**
32
- * Computes the CSS classes for the avatar container based on provided props like `rounded`, `color`, and `picture`.
33
- * @returns {string} List of CSS classes to apply to the avatar container.
34
- */
35
- get containerClasses() {
36
- return [
37
- 'border-inside',
38
- 'aspect-1x1',
39
- 'flex',
40
- 'items-center',
41
- 'justify-center',
42
- 'overflow-hidden',
43
- this.picture ? '' : 'px-4',
44
- this.rounded ? 'rounded-pill border-inside-pill w-32' : 'w-[54px] rounded-sm',
45
- this.color ? 'border-inside-inverse' : '',
46
- this.color === 'grey'
47
- ? 'bg-dark'
48
- : this.color && !this.picture
49
- ? gradientBGColorVariants({
50
- color: this.color,
51
- direction: 'top',
52
- pseudo: false
53
- })
54
- : !this.picture
55
- ? 'bg-strongest text-accent'
56
- : ''
57
- ].join(' ');
58
- }
59
- /**
60
- * Renders the avatar component. Displays either an image using `eds-img` or initials depending on whether `picture` or `computedInitials` is set.
61
- * @returns {JSX.Element} The rendered avatar component.
62
- */
63
- render() {
64
- return (h("div", { key: '716279a35cc9235da991563d5f84d2dedbdae001', class: this.containerClasses }, this.picture ? (h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
65
- }
66
- };
67
- EdsAvatar.style = edsAvatarCss;
68
-
69
- export { EdsAvatar as eds_avatar };
@@ -1,16 +0,0 @@
1
- import { r as registerInstance, h } from './index-b384416e.js';
2
-
3
- const edsBlockBreakCss = ".border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.border-t-2{border-top-width:2px}";
4
-
5
- const EdsBlockBreak = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.extraClass = '';
9
- }
10
- render() {
11
- return h("hr", { key: '85b5253d4abb77072424452d2ff6a0d631e67652', class: `border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}` });
12
- }
13
- };
14
- EdsBlockBreak.style = edsBlockBreakCss;
15
-
16
- export { EdsBlockBreak as eds_block_break };