@ebrains/components 0.9.1-beta → 0.9.3-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 (528) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  2. package/dist/cjs/components-section.cjs.entry.js +1 -1
  3. package/dist/cjs/components.cjs.js +1 -1
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  5. package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
  6. package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
  7. package/dist/cjs/eds-accordion.cjs.entry.js +2 -2
  8. package/dist/cjs/eds-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  10. package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-avatar_27.cjs.entry.js} +168 -45
  11. package/dist/cjs/eds-card-desc_2.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-login_2.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-matomo-notice.cjs.entry.js +3 -3
  58. package/dist/cjs/eds-pagination_2.cjs.entry.js +5 -5
  59. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  60. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  62. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  63. package/dist/cjs/eds-switch.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  66. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  67. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  68. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  69. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  70. package/dist/cjs/index-2f63169d.js +2 -6
  71. package/dist/cjs/loader.cjs.js +1 -1
  72. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  73. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  74. package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
  75. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  76. package/dist/cjs/svg-repository.cjs.entry.js +1 -1
  77. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  78. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  79. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  80. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  81. package/dist/collection/components/eds-alert/eds-alert.js +2 -2
  82. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  83. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  84. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +7 -8
  85. package/dist/collection/components/eds-button/eds-button.js +1 -1
  86. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  87. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  88. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  89. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  90. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  91. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  92. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  93. package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
  94. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  95. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  96. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  97. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  98. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  124. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  125. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  126. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  127. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  128. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  129. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  130. package/dist/collection/components/eds-img/eds-img.js +2 -2
  131. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  132. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  133. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  134. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  135. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  136. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  137. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  138. package/dist/collection/components/eds-link/eds-link.js +1 -1
  139. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  140. package/dist/collection/components/eds-modal/eds-modal.css +47 -1
  141. package/dist/collection/components/eds-modal/eds-modal.js +52 -30
  142. package/dist/collection/components/eds-modal/eds-modal.stories.js +24 -15
  143. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  144. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  145. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  146. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  147. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  148. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  149. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  150. package/dist/collection/components/eds-table/eds-table.js +4 -4
  151. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  152. package/dist/collection/components/eds-timeline/eds-timeline.css +12 -15
  153. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  154. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  155. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  156. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  157. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  158. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  159. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  160. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  161. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  162. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  163. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  164. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  165. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  169. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  170. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  171. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  172. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  173. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  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.js +1 -1
  176. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  177. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  178. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  179. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  180. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  181. package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
  182. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -8
  183. package/dist/collection/shared-ui/eds-form/eds-form.js +3 -3
  184. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +11 -2
  185. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  186. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
  187. package/dist/collection/shared-ui/eds-header/eds-header.js +5 -5
  188. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -0
  189. package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
  190. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +3 -3
  191. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +3 -9
  192. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  193. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +26 -2
  194. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +3 -3
  195. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +79 -0
  196. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +12 -15
  197. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
  198. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  199. package/dist/collection/shared-ui/eds-user/eds-user.css +12 -15
  200. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  201. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  202. package/dist/components/components-section.js +1 -1
  203. package/dist/components/components.css +12 -15
  204. package/dist/components/components.esm.js +1 -1
  205. package/dist/components/correct-use-of-colors.js +1 -1
  206. package/dist/components/docs-palettes.js +1 -1
  207. package/dist/components/docs-tokens.js +1 -1
  208. package/dist/components/eds-accordion2.js +2 -2
  209. package/dist/components/eds-alert2.js +2 -2
  210. package/dist/components/eds-app-root.js +1 -1
  211. package/dist/components/eds-avatar2.js +1 -1
  212. package/dist/components/eds-block-break2.js +1 -1
  213. package/dist/components/eds-breadcrumb.js +7 -8
  214. package/dist/components/eds-button2.js +1 -1
  215. package/dist/components/eds-card-desc2.js +1 -1
  216. package/dist/components/eds-card-project.js +1 -1
  217. package/dist/components/eds-card-tags.js +1 -1
  218. package/dist/components/eds-card-title2.js +1 -1
  219. package/dist/components/eds-card-tool.js +1 -1
  220. package/dist/components/eds-card-wrapper.js +1 -1
  221. package/dist/components/eds-code-block2.js +1 -1
  222. package/dist/components/eds-cookies-preference.js +1 -1
  223. package/dist/components/eds-dropdown2.js +2 -2
  224. package/dist/components/eds-feedback.js +1 -1
  225. package/dist/components/eds-footer2.js +2 -2
  226. package/dist/components/eds-form.js +3 -3
  227. package/dist/components/eds-frame.js +1 -1
  228. package/dist/components/eds-fullscreen-menu.js +1 -1
  229. package/dist/components/eds-header.js +4 -4
  230. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  231. package/dist/components/eds-icon-arrow-right.js +1 -1
  232. package/dist/components/eds-icon-bluesky.js +1 -1
  233. package/dist/components/eds-icon-bookmark.js +1 -1
  234. package/dist/components/eds-icon-chevron-down.js +1 -1
  235. package/dist/components/eds-icon-chevron-left.js +1 -1
  236. package/dist/components/eds-icon-chevron-right.js +1 -1
  237. package/dist/components/eds-icon-chevron-up.js +1 -1
  238. package/dist/components/eds-icon-close.js +1 -1
  239. package/dist/components/eds-icon-copy.js +1 -1
  240. package/dist/components/eds-icon-eu.js +1 -1
  241. package/dist/components/eds-icon-external.js +1 -1
  242. package/dist/components/eds-icon-facebook.js +1 -1
  243. package/dist/components/eds-icon-gitlab.js +1 -1
  244. package/dist/components/eds-icon-linkedin.js +1 -1
  245. package/dist/components/eds-icon-loader.js +1 -1
  246. package/dist/components/eds-icon-mastodon.js +1 -1
  247. package/dist/components/eds-icon-menu.js +1 -1
  248. package/dist/components/eds-icon-minus.js +1 -1
  249. package/dist/components/eds-icon-more.js +1 -1
  250. package/dist/components/eds-icon-paper.js +1 -1
  251. package/dist/components/eds-icon-plus.js +1 -1
  252. package/dist/components/eds-icon-portal.js +1 -1
  253. package/dist/components/eds-icon-private.js +1 -1
  254. package/dist/components/eds-icon-public.js +1 -1
  255. package/dist/components/eds-icon-search.js +1 -1
  256. package/dist/components/eds-icon-star.js +1 -1
  257. package/dist/components/eds-icon-success.js +1 -1
  258. package/dist/components/eds-icon-thumbs-down.js +1 -1
  259. package/dist/components/eds-icon-thumbs-up.js +1 -1
  260. package/dist/components/eds-icon-tutorial.js +1 -1
  261. package/dist/components/eds-icon-twitter.js +1 -1
  262. package/dist/components/eds-icon-unknown.js +1 -1
  263. package/dist/components/eds-icon-updown.js +1 -1
  264. package/dist/components/eds-icon-user.js +1 -1
  265. package/dist/components/eds-icon-youtube.js +1 -1
  266. package/dist/components/eds-img2.js +2 -2
  267. package/dist/components/eds-input-field2.js +2 -2
  268. package/dist/components/eds-input-footer2.js +1 -1
  269. package/dist/components/eds-input-label2.js +1 -1
  270. package/dist/components/eds-input-range2.js +1 -1
  271. package/dist/components/eds-input-search2.js +1 -1
  272. package/dist/components/eds-input-select2.js +2 -2
  273. package/dist/components/eds-input2.js +2 -2
  274. package/dist/components/eds-link2.js +1 -1
  275. package/dist/components/eds-login2.js +1 -1
  276. package/dist/components/eds-logo2.js +1 -1
  277. package/dist/components/eds-matomo-notice2.js +3 -3
  278. package/dist/components/eds-modal.js +37 -15
  279. package/dist/components/eds-pagination2.js +1 -1
  280. package/dist/components/eds-progress-bar2.js +1 -1
  281. package/dist/components/eds-rating2.js +1 -1
  282. package/dist/components/eds-section-core2.js +1 -1
  283. package/dist/components/eds-section-heading2.js +2 -2
  284. package/dist/components/eds-social-networks2.js +1 -1
  285. package/dist/components/eds-spinner2.js +1 -1
  286. package/dist/components/eds-steps-v2.js +4 -4
  287. package/dist/components/eds-switch.js +2 -2
  288. package/dist/components/eds-table2.js +4 -4
  289. package/dist/components/eds-tabs.js +2 -2
  290. package/dist/components/eds-tag2.js +1 -1
  291. package/dist/components/eds-timeline.js +2 -2
  292. package/dist/components/eds-toast-manager.js +1 -1
  293. package/dist/components/eds-tooltip.js +1 -1
  294. package/dist/components/eds-trl.js +1 -1
  295. package/dist/components/eds-user.js +2 -2
  296. package/dist/components/incorrect-use-of-colors.js +1 -1
  297. package/dist/components/logo-space.js +1 -1
  298. package/dist/components/logo-variations-horizontal2.js +1 -1
  299. package/dist/components/logo-variations-tabs.js +1 -1
  300. package/dist/components/logo-variations-vertical2.js +1 -1
  301. package/dist/components/logo-wrong-usage.js +1 -1
  302. package/dist/components/{p-4620ebf5.entry.js → p-037975af.entry.js} +1 -1
  303. package/dist/components/p-05549a74.entry.js +1 -0
  304. package/dist/components/p-05b272e5.entry.js +1 -0
  305. package/dist/components/p-0b99fd3c.entry.js +1 -0
  306. package/dist/components/p-0e378e0e.entry.js +1 -0
  307. package/dist/components/p-1ec25dc2.entry.js +1 -0
  308. package/dist/components/{p-1309a74c.entry.js → p-202f78cc.entry.js} +1 -1
  309. package/dist/components/{p-2c1be2bb.entry.js → p-22b76c3c.entry.js} +1 -1
  310. package/dist/components/p-24300934.entry.js +1 -0
  311. package/dist/components/p-25f1cc6c.entry.js +1 -0
  312. package/dist/components/{p-d94a44b9.entry.js → p-29ad9c73.entry.js} +1 -1
  313. package/dist/components/p-31ca07fd.entry.js +1 -0
  314. package/dist/components/p-342bc3d8.entry.js +1 -0
  315. package/dist/components/p-35068b80.entry.js +1 -0
  316. package/dist/components/p-3950debe.entry.js +1 -0
  317. package/dist/components/p-3d74d4b1.entry.js +1 -0
  318. package/dist/components/{p-91440d2f.entry.js → p-42f19373.entry.js} +1 -1
  319. package/dist/components/{p-e42eb100.entry.js → p-4ecaedbc.entry.js} +1 -1
  320. package/dist/components/p-5055eb25.entry.js +1 -0
  321. package/dist/components/{p-21a746a4.entry.js → p-55e3683c.entry.js} +1 -1
  322. package/dist/components/p-5646902d.entry.js +1 -0
  323. package/dist/components/p-5ff68e7d.entry.js +1 -0
  324. package/dist/components/p-63cc5d3d.entry.js +1 -0
  325. package/dist/components/p-6506cf52.entry.js +1 -0
  326. package/dist/components/{p-ea089f4e.entry.js → p-67c72c20.entry.js} +1 -1
  327. package/dist/components/{p-063b0683.entry.js → p-688e07d6.entry.js} +1 -1
  328. package/dist/components/p-6aa17003.entry.js +1 -0
  329. package/dist/components/p-6e273e0f.entry.js +1 -0
  330. package/dist/components/p-6fcb754e.entry.js +1 -0
  331. package/dist/components/{p-622dd2a1.entry.js → p-70c9af1e.entry.js} +1 -1
  332. package/dist/components/{p-18eb23ff.entry.js → p-7180a36b.entry.js} +1 -1
  333. package/dist/components/p-7351cad3.entry.js +1 -0
  334. package/dist/components/{p-4e8a317b.entry.js → p-751497f4.entry.js} +1 -1
  335. package/dist/components/p-75cc9f9e.entry.js +1 -0
  336. package/dist/components/{p-3a7be9a7.entry.js → p-75d37c48.entry.js} +1 -1
  337. package/dist/components/{p-c99745a8.entry.js → p-7a31c31f.entry.js} +1 -1
  338. package/dist/components/{p-3f480c3c.entry.js → p-7a550385.entry.js} +1 -1
  339. package/dist/components/{p-941240b5.entry.js → p-7ac9881e.entry.js} +1 -1
  340. package/dist/components/{p-e710c860.entry.js → p-7cb60f9c.entry.js} +1 -1
  341. package/dist/components/{p-c8abff96.entry.js → p-7db75d62.entry.js} +1 -1
  342. package/dist/components/p-888c3471.entry.js +1 -0
  343. package/dist/components/{p-cccff1e3.entry.js → p-892362e0.entry.js} +1 -1
  344. package/dist/components/{p-1aab55cf.entry.js → p-8a4d9b9b.entry.js} +1 -1
  345. package/dist/components/p-8b7f5204.entry.js +1 -0
  346. package/dist/components/p-8db820ef.entry.js +1 -0
  347. package/dist/components/{p-c86243a3.entry.js → p-aa2e6fec.entry.js} +1 -1
  348. package/dist/components/p-ae4f5e3a.entry.js +1 -0
  349. package/dist/components/p-b024183c.entry.js +1 -0
  350. package/dist/components/{p-0ce924b1.entry.js → p-b115c3f1.entry.js} +1 -1
  351. package/dist/components/p-b3a3ae59.entry.js +1 -0
  352. package/dist/components/p-b4595a9e.entry.js +1 -0
  353. package/dist/components/{p-f48a4313.entry.js → p-b817dceb.entry.js} +1 -1
  354. package/dist/components/p-b8ca2127.entry.js +1 -0
  355. package/dist/components/{p-ff7acb55.entry.js → p-ba6cc102.entry.js} +1 -1
  356. package/dist/components/{p-c935aa46.entry.js → p-c4db0829.entry.js} +1 -1
  357. package/dist/components/p-c51b5f04.entry.js +1 -0
  358. package/dist/components/{p-94b1f974.entry.js → p-c5a7d2b1.entry.js} +1 -1
  359. package/dist/components/p-c5f98369.entry.js +1 -0
  360. package/dist/components/p-c604063d.entry.js +1 -0
  361. package/dist/components/p-c9a19e93.entry.js +1 -0
  362. package/dist/components/p-d164a75d.entry.js +1 -0
  363. package/dist/components/{p-526cdc57.entry.js → p-d4c920fa.entry.js} +1 -1
  364. package/dist/components/p-d82cc261.entry.js +1 -0
  365. package/dist/components/{p-e64cd6f7.entry.js → p-d83d2815.entry.js} +1 -1
  366. package/dist/components/p-da6e49a9.entry.js +1 -0
  367. package/dist/components/{p-6dc26e53.entry.js → p-e089797c.entry.js} +1 -1
  368. package/dist/components/{p-9a1a6df1.entry.js → p-e2b00067.entry.js} +1 -1
  369. package/dist/components/p-e8a2d709.entry.js +1 -0
  370. package/dist/components/{p-8527ef5f.entry.js → p-ea942740.entry.js} +1 -1
  371. package/dist/components/p-ece20356.entry.js +1 -0
  372. package/dist/components/p-ed6fd4b8.entry.js +1 -0
  373. package/dist/components/{p-7fa88255.entry.js → p-f3822d6b.entry.js} +1 -1
  374. package/dist/components/p-f539febe.entry.js +1 -0
  375. package/dist/components/p-f7f4b247.entry.js +1 -0
  376. package/dist/components/p-fdbfa776.entry.js +1 -0
  377. package/dist/components/p-fe27f4a9.entry.js +1 -0
  378. package/dist/components/primary.js +1 -1
  379. package/dist/components/primary2.js +1 -1
  380. package/dist/components/secondary.js +1 -1
  381. package/dist/components/secondary2.js +7 -7
  382. package/dist/components/support.js +1 -1
  383. package/dist/components/support2.js +3 -3
  384. package/dist/components/svg-repository.js +1 -1
  385. package/dist/components/token-list2.js +1 -1
  386. package/dist/components/token-radii2.js +1 -1
  387. package/dist/components/token-ratios.js +1 -1
  388. package/dist/components/token-shadows2.js +1 -1
  389. package/dist/components/token-spacing.js +1 -1
  390. package/dist/components/token-typography.js +1 -1
  391. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  392. package/dist/esm/components-section.entry.js +1 -1
  393. package/dist/esm/components.js +1 -1
  394. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  395. package/dist/esm/docs-palettes.entry.js +1 -1
  396. package/dist/esm/docs-tokens.entry.js +1 -1
  397. package/dist/esm/eds-accordion.entry.js +2 -2
  398. package/dist/esm/eds-alert.entry.js +2 -2
  399. package/dist/esm/eds-app-root.entry.js +1 -1
  400. package/dist/esm/{eds-avatar_26.entry.js → eds-avatar_27.entry.js} +168 -46
  401. package/dist/esm/eds-card-desc_2.entry.js +2 -2
  402. package/dist/esm/eds-card-project.entry.js +1 -1
  403. package/dist/esm/eds-card-tags.entry.js +1 -1
  404. package/dist/esm/eds-card-tool.entry.js +1 -1
  405. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  406. package/dist/esm/eds-code-block.entry.js +1 -1
  407. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  408. package/dist/esm/eds-feedback.entry.js +1 -1
  409. package/dist/esm/eds-frame.entry.js +1 -1
  410. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  411. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  412. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  413. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  414. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  415. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  416. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  417. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  418. package/dist/esm/eds-icon-close.entry.js +1 -1
  419. package/dist/esm/eds-icon-copy.entry.js +1 -1
  420. package/dist/esm/eds-icon-eu.entry.js +1 -1
  421. package/dist/esm/eds-icon-external.entry.js +1 -1
  422. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  423. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  424. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  425. package/dist/esm/eds-icon-loader.entry.js +1 -1
  426. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  427. package/dist/esm/eds-icon-menu.entry.js +1 -1
  428. package/dist/esm/eds-icon-minus.entry.js +1 -1
  429. package/dist/esm/eds-icon-more.entry.js +1 -1
  430. package/dist/esm/eds-icon-paper.entry.js +1 -1
  431. package/dist/esm/eds-icon-plus.entry.js +1 -1
  432. package/dist/esm/eds-icon-portal.entry.js +1 -1
  433. package/dist/esm/eds-icon-private.entry.js +1 -1
  434. package/dist/esm/eds-icon-public.entry.js +1 -1
  435. package/dist/esm/eds-icon-search.entry.js +1 -1
  436. package/dist/esm/eds-icon-star.entry.js +1 -1
  437. package/dist/esm/eds-icon-success.entry.js +1 -1
  438. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  439. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  440. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  441. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  442. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  443. package/dist/esm/eds-icon-updown.entry.js +1 -1
  444. package/dist/esm/eds-icon-user.entry.js +1 -1
  445. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  446. package/dist/esm/eds-login_2.entry.js +1 -1
  447. package/dist/esm/eds-matomo-notice.entry.js +3 -3
  448. package/dist/esm/eds-pagination_2.entry.js +5 -5
  449. package/dist/esm/eds-progress-bar.entry.js +1 -1
  450. package/dist/esm/eds-rating.entry.js +1 -1
  451. package/dist/esm/eds-section-core_2.entry.js +3 -3
  452. package/dist/esm/eds-spinner.entry.js +1 -1
  453. package/dist/esm/eds-switch.entry.js +2 -2
  454. package/dist/esm/eds-tabs.entry.js +2 -2
  455. package/dist/esm/eds-timeline.entry.js +2 -2
  456. package/dist/esm/eds-toast-manager.entry.js +1 -1
  457. package/dist/esm/eds-tooltip.entry.js +1 -1
  458. package/dist/esm/eds-trl.entry.js +1 -1
  459. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  460. package/dist/esm/index-8a71b9a7.js +2 -6
  461. package/dist/esm/loader.js +1 -1
  462. package/dist/esm/logo-space.entry.js +1 -1
  463. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  464. package/dist/esm/logo-variations-tabs.entry.js +1 -1
  465. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  466. package/dist/esm/svg-repository.entry.js +1 -1
  467. package/dist/esm/token-list_3.entry.js +3 -3
  468. package/dist/esm/token-ratios.entry.js +1 -1
  469. package/dist/esm/token-typography.entry.js +1 -1
  470. package/dist/hydrate/index.js +187 -166
  471. package/dist/hydrate/index.mjs +187 -166
  472. package/dist/stencil.config.js +1 -1
  473. package/dist/types/components/eds-modal/eds-modal.d.ts +12 -12
  474. package/dist/types/components/eds-modal/eds-modal.stories.d.ts +17 -0
  475. package/dist/types/components.d.ts +15 -15
  476. package/dist/types/shared-ui/eds-header/eds-header.d.ts +1 -1
  477. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -5
  478. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +48 -0
  479. package/package.json +1 -1
  480. package/dist/cjs/eds-modal.cjs.entry.js +0 -109
  481. package/dist/collection/shared-ui/eds-login/eds-login.stories.js +0 -37
  482. package/dist/components/p-0467ceb5.entry.js +0 -1
  483. package/dist/components/p-20b3a999.entry.js +0 -1
  484. package/dist/components/p-20e9ae7f.entry.js +0 -1
  485. package/dist/components/p-29e807f5.entry.js +0 -1
  486. package/dist/components/p-35ed7ebf.entry.js +0 -1
  487. package/dist/components/p-376b706b.entry.js +0 -1
  488. package/dist/components/p-3932d0af.entry.js +0 -1
  489. package/dist/components/p-3af94671.entry.js +0 -1
  490. package/dist/components/p-41e89554.entry.js +0 -1
  491. package/dist/components/p-435a8942.entry.js +0 -1
  492. package/dist/components/p-4c7852f8.entry.js +0 -1
  493. package/dist/components/p-52913e2e.entry.js +0 -1
  494. package/dist/components/p-6404e157.entry.js +0 -1
  495. package/dist/components/p-66bb44c9.entry.js +0 -1
  496. package/dist/components/p-78fa7132.entry.js +0 -1
  497. package/dist/components/p-7dce734a.entry.js +0 -1
  498. package/dist/components/p-83936521.entry.js +0 -1
  499. package/dist/components/p-8653bc36.entry.js +0 -1
  500. package/dist/components/p-8baa7e01.entry.js +0 -1
  501. package/dist/components/p-8e3c6c63.entry.js +0 -1
  502. package/dist/components/p-923f67b5.entry.js +0 -1
  503. package/dist/components/p-93093977.entry.js +0 -1
  504. package/dist/components/p-97e95520.entry.js +0 -1
  505. package/dist/components/p-9873ebec.entry.js +0 -1
  506. package/dist/components/p-9dc879c9.entry.js +0 -1
  507. package/dist/components/p-a1d55013.entry.js +0 -1
  508. package/dist/components/p-a56f0579.entry.js +0 -1
  509. package/dist/components/p-a8b0fe92.entry.js +0 -1
  510. package/dist/components/p-acc4d234.entry.js +0 -1
  511. package/dist/components/p-b0b37831.entry.js +0 -1
  512. package/dist/components/p-b299b89a.entry.js +0 -1
  513. package/dist/components/p-b2b46793.entry.js +0 -1
  514. package/dist/components/p-b76aa402.entry.js +0 -1
  515. package/dist/components/p-b931a634.entry.js +0 -1
  516. package/dist/components/p-b96fc468.entry.js +0 -1
  517. package/dist/components/p-bab07ba6.entry.js +0 -1
  518. package/dist/components/p-cd624044.entry.js +0 -1
  519. package/dist/components/p-cdc36ea8.entry.js +0 -1
  520. package/dist/components/p-d525ed36.entry.js +0 -1
  521. package/dist/components/p-dbcf1f0e.entry.js +0 -1
  522. package/dist/components/p-dcc08064.entry.js +0 -1
  523. package/dist/components/p-eebf7ebf.entry.js +0 -1
  524. package/dist/components/p-efc73304.entry.js +0 -1
  525. package/dist/components/p-f13e9ab1.entry.js +0 -1
  526. package/dist/components/p-f4ce515a.entry.js +0 -1
  527. package/dist/esm/eds-modal.entry.js +0 -105
  528. package/dist/types/shared-ui/eds-login/eds-login.stories.d.ts +0 -33
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-cccacbd3.js";const o=class{constructor(a){e(this,a),this.isAuthenticated=!1}componentWillLoad(){const e=new Promise((e=>{document.addEventListener("initKeycloak",(a=>{e(a.detail)}),{once:!0})})),a=new Promise((e=>{document.addEventListener("authStatusChanged",(a=>{var o;this.isAuthenticated=null===(o=a.detail)||void 0===o?void 0:o.authenticated,e(a.detail)}),{once:!0})}));this.combinedInitPromise=Promise.all([e,a])}render(){return a("div",{key:"7b0b74c02f9fa25dc3d3e5a0fd10d8b4c3a59ffe"},a("eds-splash-screen",{key:"e1fabb47903b011c397af3a8da59130e8455280f",inverse:!0,initPromise:this.combinedInitPromise}),a("eds-login",{key:"30d8ca5116c5b8a18972df9c55bd4a947226d682","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),a("main",{key:"16ead78b24f561049fb12609b23bff028262d9d5"},a("h1",null,this.isAuthenticated?"Welcome, authenticated user!":"Please log in.")))}};export{o as eds_app_root}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{m as r}from"./p-86bb73dc.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"e615c57f7195878310f596124ede34304fcce5e1",class:this.class,innerHTML:r})}};export{e as eds_icon_minus}
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-cccacbd3.js";const c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],s=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],d=class{constructor(a){e(this,a)}render(){return a("div",{key:"80253e3c155668ddc9ff17644feba21c6bbda657",class:"container"},a("eds-alert",{key:"6ebf1dbef8a8f24dd55b113225780d3763f240df",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),a("div",{key:"749dff3be5134a9f314b285c11610eea9a4f4600",class:"flex"},a("div",{key:"d46d147fb0b9fab7a7965015892de54f34d69e11",class:"w-full"},a("ul",{key:"acb6ad9453e4e1324255a021bf42e52af29eae4f",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),a("div",{key:"42dc313b4347957c970f072167173ab564a8d4c0",class:"w-full"},a("ul",{key:"89328173141957bedfe051dbba174eaa0ff903d2",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{d as incorrect_use_of_colors}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{c}from"./p-5d046674.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"418c8476ddb31b876a047a7e9de8841865ea5b81",class:this.class,innerHTML:c})}};export{e as eds_icon_chevron_right}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-cccacbd3.js";import{s as a}from"./p-13efafb9.js";import{p as s}from"./p-69c5074b.js";const n=class{constructor(e){t(this,e),this.currentPage=void 0,this.lastPage=void 0,this.perPage=10,this.total=0,this.url="",this.mode="default",this.prevLabel="Prev",this.nextLabel="Next",this.prevUrl="",this.nextUrl="",this.links=[]}componentWillLoad(){"default"===this.mode&&this.generateLinks()}componentDidLoad(){this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach((t=>{this.emitContext(t)}))}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}onPageOrLastPageChange(){"default"===this.mode&&this.generateLinks()}isFirstPage(){return 1===this.currentPage}isLastPage(){return this.currentPage===this.lastPage}generateLink(t){const e=this.url.includes("?");return{ariaLabel:`Page ${t}`,url:`${this.url}${e?"&":"?"}page=${t}`,label:t.toString(),current:this.currentPage===t,disabled:!1}}generateLinks(){this.lastPage&&this.lastPage>5?this.links=this.getPaginationGenerator(this.currentPage||1,this.lastPage).map((t=>"number"==typeof t?this.generateLink(t):t)):this.lastPage&&(this.links=Array.from({length:this.lastPage}).map(((t,e)=>this.generateLink(e+1))))}getPaginationGenerator(t,e){const i=[];if(e<=5)for(let t=1;t<=e;t++)i.push(t);else{i.push(1),t-1>2&&i.push("...");for(let a=Math.max(2,t-1);a<=Math.min(e-1,t+1);a++)i.push(a);t+1<e-1&&i.push("..."),i.push(e)}return i}pageResults(){return this.total>0?this.total>this.perPage?`${this.perPage*((this.currentPage||1)-1)+1} - ${this.perPage*(this.currentPage||1)>=this.total?this.total:this.perPage*(this.currentPage||1)} of ${this.total}`:`${this.total}`:""}handlePageClick(t,e){if("navigator"!==this.mode&&(t.preventDefault(),e!==this.currentPage)){this.links=this.links.map((t=>"object"==typeof t?Object.assign(Object.assign({},t),{current:parseInt(t.label)===e}):t));const t=new CustomEvent("page",{detail:e,bubbles:!0,composed:!0});this.hostEl.dispatchEvent(t),this.currentPage=e}}render(){return e("div",{key:"b33415e05457ccc78ea3744a1baa9affbf38ca4a"},this.total>0&&"default"===this.mode&&e("p",{key:"e555e94a3fd13cf0d57108bd2cca3fb97cd0c688",class:"f-ui-03 text-lightest mb-28 w-full text-center"},e("span",{key:"c63f1d5aa6154a23d714c74dcd9a0a75b68df579",class:"sr-only"},"Results:"),this.pageResults()),"navigator"===this.mode||this.lastPage&&this.lastPage>1?e("nav",{"aria-label":"Pagination"},e("ul",{class:"flex items-center justify-center gap-x-8"},e("li",{class:"mr-auto"},e("eds-link",{label:this.prevLabel,url:"navigator"===this.mode?this.prevUrl||"#":this.isFirstPage()?"#":this.generateLink(this.currentPage-1).url,disabled:"navigator"===this.mode?!this.prevUrl:this.isFirstPage(),"aria-label":"Previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pr-12",onClick:t=>{"default"===this.mode&&(this.isFirstPage()?t.preventDefault():this.handlePageClick(t,(this.currentPage||1)-1))}})),"default"===this.mode&&this.links.map(((t,i)=>e("li",{key:i,class:"f-ui-02 flex h-36 items-center justify-center"},"string"==typeof t?e("span",{class:"flex items-center justify-center"},t):e("eds-link",{url:t.url,"aria-label":t.ariaLabel,label:t.label,current:t.current,size:"small",class:"!p-8",intent:t.current?"secondary":"ghost",onClick:e=>this.handlePageClick(e,parseInt(t.label))})))),e("li",{class:"ml-auto"},e("eds-link",{label:this.nextLabel,url:"navigator"===this.mode?this.nextUrl||"#":this.isLastPage()?"#":this.generateLink(this.currentPage+1).url,disabled:"navigator"===this.mode?!this.nextUrl:this.isLastPage(),"aria-label":"Next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors",onClick:t=>{"default"===this.mode&&(this.isLastPage()?t.preventDefault():this.handlePageClick(t,(this.currentPage||1)+1))}})))):null)}get hostEl(){return i(this)}static get watchers(){return{currentPage:["onPageOrLastPageChange"],lastPage:["onPageOrLastPageChange"]}}};n.style="ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{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:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";const r=class{constructor(e){t(this,e),this.handleResize=()=>{this.updateContainerWidth()},this.data=null,this.endpoint=null,this.config={},this.rowsPerPage=10,this.paginationEnabled=!0,this.searchEnabled=!1,this.hostWidth=void 0,this.columnSize="default",this.tbData=[],this.columns=[],this.currentPage=1,this.parsedConfig={},this.totalRows=0,this.searchQuery="",this.containerWidth=0}handleDataChange(){this.parseData()}handleConfigChange(){this.parseConfig()}componentWillLoad(){this.parseConfig(),this.data?this.parseData():this.endpoint&&this.fetchData()}componentDidLoad(){this.updateContainerWidth(),window.addEventListener("resize",this.handleResize),this.setupPaginationListener()}componentDidUpdate(){this.setupPaginationListener()}disconnectedCallback(){window.removeEventListener("resize",this.handleResize)}updateContainerWidth(){this.containerWidth=this.hostWidth&&""!==this.hostWidth.trim()?Number(this.hostWidth):this.hostEl.parentElement instanceof HTMLElement?this.hostEl.parentElement.getBoundingClientRect().width:400}parseData(){try{this.tbData=s(this.data),this.totalRows=this.tbData.length,this.updateColumns(),this.currentPage=1}catch(t){console.error("Failed to parse data:",t),this.tbData=[]}}parseConfig(){try{this.parsedConfig="string"==typeof this.config?JSON.parse(this.config):this.config}catch(t){console.error("Failed to parse config:",t),this.parsedConfig={}}}async fetchData(){try{const t=await fetch(this.endpoint),e=await t.json();this.data=e}catch(t){console.error("Failed to fetch data:",t)}}setupPaginationListener(){if(!this.shouldEnablePagination())return;const t=this.hostEl.shadowRoot.querySelector("eds-pagination");t&&!t.hasAttribute("listener-attached")&&(t.addEventListener("page",(t=>this.handlePageChange(t.detail))),t.setAttribute("listener-attached","true"))}getFilteredRows(){return this.tbData.filter((t=>Object.values(t).some((t=>t.toString().toLowerCase().includes(this.searchQuery.toLowerCase())))))}getPaginatedRows(){const t=this.getFilteredRows();this.totalRows=t.length;const e=(this.currentPage-1)*this.rowsPerPage;return t.slice(e,e+this.rowsPerPage)}handlePageChange(t){this.currentPage=t,a({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/eds-pagination`,name:`${t}`||"",action:"page"})}handleSearch(t){this.searchQuery=t.target.value,this.currentPage=1}renderCell(t,i){var a;const s=null===(a=this.parsedConfig[i])||void 0===a?void 0:a.format;return"uppercase"===s?null==t?void 0:t.toString().toUpperCase():"svg"===s?e("div",{innerHTML:t}):"bold"===s?e("strong",null,t):"code"===s?e("code",null,t):t}shouldEnablePagination(){return this.paginationEnabled&&this.totalRows>this.rowsPerPage}updateColumns(){this.columns=this.tbData.length>0?Object.keys(this.tbData[0]):[]}getVisibleColumnsCount(){return this.columns.filter((t=>{var e;return!(null===(e=this.parsedConfig[t])||void 0===e?void 0:e.hidden)})).length}divisionFactor(){let t=1;return"medium"===this.columnSize?t=2:"large"===this.columnSize&&(t=4),t}render(){const t=this.hostWidth&&""!==this.hostWidth.trim()?Number(this.hostWidth):this.containerWidth||400,i=this.getVisibleColumnsCount(),a=i>0?Math.floor(t/i*this.divisionFactor()):100,s=this.getPaginatedRows(),n=Math.ceil(this.totalRows/this.rowsPerPage);return e("div",{key:"43add2309d8e2c85c98676709cd87fc07e4de017"},this.searchEnabled&&e("div",{key:"1213d8aaa8a2402bd1705e03375d17f570877d5e"},e("eds-input-field",{key:1,name:"search","aria-label":"Search",type:"text",placeholder:"Search...",onInput:t=>this.handleSearch(t)})),e("div",{key:"a2ec6392ed99a527e4de46a9018bc1ea9b383ecb",class:"mt-20"},e("table",{key:"ef79ce872f0cb1439dd6a7987f24cac005ac23ea",class:"block overflow-x-auto mt-6 p-0"},e("thead",{key:"0853a09e45f748b4bc85e319cbb08efd97426617"},e("tr",{key:"64e114ae3661a027e9ab744ba45801d98f2faee9",class:"m-0 p-0 border border-softer even:bg-inverse-softer"},this.columns.map((t=>{var i;return!(null===(i=this.parsedConfig[t])||void 0===i?void 0:i.hidden)&&e("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words",style:{minWidth:a-4+"px"}},t)})))),e("tbody",{key:"1afd468551bab11221bbfc70d0f19f4e105e7432"},s.map((t=>e("tr",{class:"m-0 p-0 border border-softer even:bg-inverse-softer"},this.columns.map((i=>{var s;return!(null===(s=this.parsedConfig[i])||void 0===s?void 0:s.hidden)&&e("td",{class:"text-center border border-softer m-0 py-8 f-ui-2 break-words",style:{minWidth:a-4+"px"}},this.renderCell(t[i],i))})))))))),this.shouldEnablePagination()&&e("div",{key:"c415ded700580eec2464a72a1659bd8be5bcacb3",class:"mt-20"},e("eds-pagination",{key:"81088574b7c7fd254e07761ceed6cd1d69c2f2ed",currentPage:this.currentPage,lastPage:n,perPage:this.rowsPerPage,total:this.totalRows,mode:"default"})))}get hostEl(){return i(this)}static get watchers(){return{data:["handleDataChange","parseData"],config:["handleConfigChange"]}}};r.style="table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";export{n as eds_pagination,r as eds_table}
@@ -1 +0,0 @@
1
- import{r as s,h as c}from"./p-cccacbd3.js";import{t as r}from"./p-373119b3.js";const t=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"cd91bfb2003e955cfb02b5efc28e13b54cc3b7e6",class:this.class,innerHTML:r})}};export{t as eds_icon_twitter}
@@ -1 +0,0 @@
1
- import{r as s,h as r}from"./p-cccacbd3.js";import{u as c}from"./p-46d0716d.js";const t=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"15fa7c4b7d2dea5740d0926bb1ff6490b23667f8",class:this.class,innerHTML:c})}};export{t as eds_icon_user}
@@ -1 +0,0 @@
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}
@@ -1 +0,0 @@
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}
@@ -1 +0,0 @@
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}
@@ -1 +0,0 @@
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,105 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-8a71b9a7.js';
2
- import { s as sendAnalytics } from './analytics-44b1416b.js';
3
-
4
- const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.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}}";
5
- const EdsModalStyle0 = edsModalCss;
6
-
7
- const EdsModal = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.isOpen = false;
11
- this.heading = '';
12
- this.truncate = true;
13
- this.truncateLines = '1';
14
- this.position = 'middle';
15
- }
16
- getTruncateClass() {
17
- return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
18
- }
19
- /**
20
- * Returns the Tailwind CSS classes to position the modal based on the `position` prop.
21
- *
22
- * @private
23
- * @returns {string} The concatenated CSS classes for modal positioning.
24
- */
25
- getModalPositionClasses() {
26
- switch (this.position) {
27
- case 'top':
28
- return 'md:left-1/2 top-20 md:-translate-x-1/2';
29
- case 'bottom':
30
- return 'md:left-1/2 bottom-20 md:-translate-x-1/2';
31
- case 'left':
32
- return 'left-20 top-1/2 -translate-y-1/2';
33
- case 'right':
34
- return 'right-20 top-1/2 -translate-y-1/2';
35
- case 'middle':
36
- default:
37
- return 'md:left-1/2 top-1/2 md:-translate-x-1/2 -translate-y-1/2';
38
- }
39
- }
40
- /**
41
- * Opens the modal.
42
- */
43
- async open() {
44
- var _a;
45
- this.isOpen = true;
46
- sendAnalytics({
47
- category: 'ui-component',
48
- parentContext: null,
49
- tag: this.el.tagName.toLowerCase(),
50
- name: ((_a = this.heading) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
51
- action: 'opened'
52
- });
53
- }
54
- /**
55
- * Closes the modal.
56
- */
57
- async close() {
58
- var _a;
59
- this.isOpen = false;
60
- sendAnalytics({
61
- category: 'ui-component',
62
- parentContext: null,
63
- tag: this.el.tagName.toLowerCase(),
64
- name: ((_a = this.heading) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
65
- action: 'closed'
66
- });
67
- }
68
- /**
69
- * Toggles the modal open or closed.
70
- */
71
- async toggle() {
72
- this.isOpen = !this.isOpen;
73
- }
74
- /**
75
- * Listens for global custom events to open the modal.
76
- */
77
- handleGlobalOpen() {
78
- this.open();
79
- }
80
- /**
81
- * Listens for global custom events to close the modal.
82
- */
83
- handleGlobalClose() {
84
- this.close();
85
- }
86
- /**
87
- * Closes the modal when the Escape key is pressed.
88
- */
89
- handleKeyDown(event) {
90
- if (this.isOpen && event.key === 'Escape') {
91
- this.close();
92
- }
93
- }
94
- render() {
95
- // Generate a unique id for the title so we can reference it for aria-labelledby.
96
- const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
97
- return (h("div", { key: '3965b74182a1015d34ebc0d5692ab89de44774e6', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'c0df46234deb0945ba266e8f36a0b3944bd6d7bd', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
98
- ,
99
- onClick: () => this.close() })), h("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` }, h("div", { key: '80102734c692934c486fd2e2d707286dd5660c69', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, h("span", { key: 'b98138881f6eb4ee1fad3614eda4c91e5349b563', id: titleId, class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '82f08e8ec6cbcb291c5d984ae97622d364bff5d0', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), h("div", { key: '2ea2fc21a8b734c40b1de4a20025a50f7369d375', class: "pt-8" }, h("slot", { key: 'ca0fa40b4076af9eea37c6b088d26751173e815c' })))));
100
- }
101
- get el() { return getElement(this); }
102
- };
103
- EdsModal.style = EdsModalStyle0;
104
-
105
- export { EdsModal as eds_modal };
@@ -1,33 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- keycloakUrl: {
6
- control: string;
7
- description: string;
8
- };
9
- keycloakRealm: {
10
- control: string;
11
- description: string;
12
- };
13
- keycloakClientId: {
14
- control: string;
15
- description: string;
16
- };
17
- };
18
- args: {
19
- keycloakUrl: string;
20
- keycloakRealm: string;
21
- keycloakClientId: string;
22
- };
23
- parameters: {};
24
- };
25
- export default _default;
26
- export declare const Default: {
27
- render: (args: any) => string;
28
- args: {
29
- keycloakUrl: string;
30
- keycloakRealm: string;
31
- keycloakClientId: string;
32
- };
33
- };