@ebrains/components 2.1.0 → 2.3.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 (608) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  2. package/dist/cjs/components-section.cjs.entry.js +4 -6
  3. package/dist/cjs/components.cjs.js +2 -2
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  5. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  6. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  7. package/dist/cjs/download-9d17d025.js +20 -0
  8. package/dist/cjs/{eds-accordion_33.cjs.entry.js → eds-accordion_36.cjs.entry.js} +590 -110
  9. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  10. package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
  11. package/dist/cjs/eds-card-generic.cjs.entry.js +3 -3
  12. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  13. package/dist/cjs/eds-card-section.cjs.entry.js +2 -2
  14. package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  16. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-footer.cjs.entry.js +3 -5
  19. package/dist/cjs/eds-frame.cjs.entry.js +2 -2
  20. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +9 -4
  21. package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
  22. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-clone.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  33. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
  35. package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-edit.cjs.entry.js +2 -2
  37. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
  39. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  43. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  44. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  45. package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
  46. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  47. package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
  49. package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
  50. package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
  51. package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  53. package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
  57. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
  62. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-icon-view.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-modal.cjs.entry.js +4 -4
  66. package/dist/cjs/eds-pie.cjs.entry.js +1 -1
  67. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  68. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  69. package/dist/cjs/eds-social-networks.cjs.entry.js +3 -5
  70. package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
  71. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  72. package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
  73. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  74. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  75. package/dist/cjs/{index-0249a32e.js → index-50bc1aa4.js} +8 -11
  76. package/dist/cjs/loader.cjs.js +2 -2
  77. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  78. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  79. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  80. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  81. package/dist/cjs/svg-repository.cjs.entry.js +4 -20
  82. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  83. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  84. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  85. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  86. package/dist/collection/collection-manifest.json +2 -0
  87. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  88. package/dist/collection/components/eds-alert/eds-alert.js +2 -2
  89. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  90. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  91. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  92. package/dist/collection/components/eds-button/eds-button.js +1 -1
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  94. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  95. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  96. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +8 -0
  97. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  98. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  99. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  100. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  101. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  102. package/dist/collection/components/eds-dropdown/eds-dropdown.js +127 -11
  103. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  104. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  105. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  106. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +36 -0
  115. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  127. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  128. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  129. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  130. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  131. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  133. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  134. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  135. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  136. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  137. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  138. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  139. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
  140. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  141. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  142. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  143. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  144. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  145. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  146. package/dist/collection/components/eds-img/eds-img.js +2 -2
  147. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  148. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  149. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  150. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  151. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  152. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  153. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  154. package/dist/collection/components/eds-link/eds-link.js +1 -1
  155. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  156. package/dist/collection/components/eds-modal/eds-modal.css +41 -22
  157. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  158. package/dist/collection/components/eds-nps/eds-nps.js +4 -4
  159. package/dist/collection/components/eds-pagination/eds-pagination.css +12 -0
  160. package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
  161. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  162. package/dist/collection/components/eds-rating/eds-rating.js +2 -2
  163. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  164. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  165. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  166. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  167. package/dist/collection/components/eds-table/eds-table.css +4 -0
  168. package/dist/collection/components/eds-table/eds-table.js +8 -6
  169. package/dist/collection/components/eds-tag/eds-tag.js +3 -3
  170. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  171. package/dist/collection/components/eds-tooltip/eds-tooltip.css +5 -0
  172. package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
  173. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  174. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  175. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  176. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  177. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  178. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  179. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  180. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  181. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  182. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  183. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +1 -1
  184. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  185. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  186. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  187. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  188. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  189. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  190. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  191. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  192. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  193. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  194. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  195. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  196. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  197. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  198. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +1 -1
  199. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  200. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  201. package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -6
  202. package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
  203. package/dist/collection/shared-ui/eds-form/eds-form.js +128 -7
  204. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +32 -3
  205. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  206. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
  207. package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +222 -0
  208. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +309 -0
  209. package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +277 -0
  210. package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
  211. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
  212. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
  213. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
  214. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
  215. package/dist/collection/shared-ui/eds-steps/eds-steps.css +138 -92
  216. package/dist/collection/shared-ui/eds-steps/eds-steps.js +265 -40
  217. package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
  218. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +47 -34
  219. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +227 -19
  220. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
  221. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
  222. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  223. package/dist/collection/shared-ui/eds-user/eds-user.js +82 -1
  224. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  225. package/dist/collection/utils/eds-form/formValidators.js +4 -3
  226. package/dist/components/components-section.js +3 -5
  227. package/dist/components/components.css +3 -3
  228. package/dist/components/components.esm.js +1 -1
  229. package/dist/components/correct-use-of-colors.js +1 -1
  230. package/dist/components/docs-palettes.js +1 -1
  231. package/dist/components/docs-tokens.js +1 -1
  232. package/dist/components/download.js +18 -0
  233. package/dist/components/eds-accordion2.js +2 -2
  234. package/dist/components/eds-alert2.js +2 -2
  235. package/dist/components/eds-app-root.js +1 -1
  236. package/dist/components/eds-avatar2.js +1 -1
  237. package/dist/components/eds-block-break2.js +1 -1
  238. package/dist/components/eds-breadcrumb.js +1 -1
  239. package/dist/components/eds-button2.js +1 -1
  240. package/dist/components/eds-card-desc2.js +1 -1
  241. package/dist/components/eds-card-generic2.js +2 -2
  242. package/dist/components/eds-card-project.js +1 -1
  243. package/dist/components/eds-card-section.js +1 -1
  244. package/dist/components/eds-card-tags.js +1 -1
  245. package/dist/components/eds-card-title2.js +1 -1
  246. package/dist/components/eds-card-tool.js +1 -1
  247. package/dist/components/eds-code-block2.js +1 -1
  248. package/dist/components/eds-cookies-preference.js +1 -1
  249. package/dist/components/eds-dropdown2.js +53 -7
  250. package/dist/components/eds-feedback.js +1 -1
  251. package/dist/components/eds-footer2.js +2 -4
  252. package/dist/components/eds-form.js +61 -11
  253. package/dist/components/eds-frame.js +1 -1
  254. package/dist/components/eds-fullscreen-menu.js +8 -3
  255. package/dist/components/eds-gauge.js +1 -1
  256. package/dist/components/eds-global-search.d.ts +11 -0
  257. package/dist/components/eds-global-search.js +262 -0
  258. package/dist/components/eds-header.js +1 -1
  259. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  260. package/dist/components/eds-icon-arrow-right.js +1 -1
  261. package/dist/components/eds-icon-bin.js +1 -1
  262. package/dist/components/eds-icon-bluesky.js +1 -1
  263. package/dist/components/eds-icon-bookmark.js +1 -1
  264. package/dist/components/eds-icon-chevron-down.js +1 -1
  265. package/dist/components/eds-icon-chevron-left.js +1 -1
  266. package/dist/components/eds-icon-chevron-right.js +1 -1
  267. package/dist/components/eds-icon-chevron-up.js +1 -1
  268. package/dist/components/eds-icon-clone.js +1 -1
  269. package/dist/components/eds-icon-close.js +1 -1
  270. package/dist/components/eds-icon-copy.js +1 -1
  271. package/dist/components/eds-icon-download.d.ts +11 -0
  272. package/dist/components/eds-icon-download.js +33 -0
  273. package/dist/components/eds-icon-draft.js +1 -1
  274. package/dist/components/eds-icon-edit.js +1 -1
  275. package/dist/components/eds-icon-eu.js +1 -1
  276. package/dist/components/eds-icon-external.js +1 -1
  277. package/dist/components/eds-icon-facebook.js +1 -1
  278. package/dist/components/eds-icon-gitlab.js +1 -1
  279. package/dist/components/eds-icon-linkedin.js +1 -1
  280. package/dist/components/eds-icon-loader.js +1 -1
  281. package/dist/components/eds-icon-mastodon.js +1 -1
  282. package/dist/components/eds-icon-menu.js +1 -1
  283. package/dist/components/eds-icon-minus.js +1 -1
  284. package/dist/components/eds-icon-more.js +1 -1
  285. package/dist/components/eds-icon-paper.js +1 -1
  286. package/dist/components/eds-icon-plus.js +1 -1
  287. package/dist/components/eds-icon-portal.js +1 -1
  288. package/dist/components/eds-icon-private.js +1 -1
  289. package/dist/components/eds-icon-public.js +1 -1
  290. package/dist/components/eds-icon-search.js +1 -1
  291. package/dist/components/eds-icon-star.js +1 -1
  292. package/dist/components/eds-icon-start.js +1 -1
  293. package/dist/components/eds-icon-success.js +1 -1
  294. package/dist/components/eds-icon-thumbs-down.js +1 -1
  295. package/dist/components/eds-icon-thumbs-up.js +1 -1
  296. package/dist/components/eds-icon-tutorial.js +1 -1
  297. package/dist/components/eds-icon-twitter.js +1 -1
  298. package/dist/components/eds-icon-unknown.js +1 -1
  299. package/dist/components/eds-icon-updown.js +1 -1
  300. package/dist/components/eds-icon-user.js +1 -1
  301. package/dist/components/eds-icon-view.js +1 -1
  302. package/dist/components/eds-icon-youtube.js +1 -1
  303. package/dist/components/eds-img2.js +2 -2
  304. package/dist/components/eds-input-field2.js +2 -2
  305. package/dist/components/eds-input-footer2.js +1 -1
  306. package/dist/components/eds-input-label2.js +1 -1
  307. package/dist/components/eds-input-range2.js +1 -1
  308. package/dist/components/eds-input-search2.js +1 -1
  309. package/dist/components/eds-input-select2.js +2 -2
  310. package/dist/components/eds-input2.js +2 -2
  311. package/dist/components/eds-link2.js +1 -1
  312. package/dist/components/eds-logo2.js +1 -1
  313. package/dist/components/eds-modal.js +3 -3
  314. package/dist/components/eds-nps2.js +4 -4
  315. package/dist/components/eds-pagination2.js +3 -3
  316. package/dist/components/eds-progress-bar2.js +1 -1
  317. package/dist/components/eds-rating2.js +2 -2
  318. package/dist/components/eds-section-core2.js +1 -1
  319. package/dist/components/eds-section-heading2.js +2 -2
  320. package/dist/components/eds-social-networks2.js +2 -4
  321. package/dist/components/eds-spinner2.js +1 -1
  322. package/dist/components/eds-steps-v2.js +67 -13
  323. package/dist/components/eds-steps2.js +85 -35
  324. package/dist/components/eds-switch.js +2 -2
  325. package/dist/components/eds-table2.js +36 -28
  326. package/dist/components/eds-tabs.js +2 -2
  327. package/dist/components/eds-tag2.js +1 -1
  328. package/dist/components/eds-timeline.js +1 -1
  329. package/dist/components/eds-toast-manager.js +1 -1
  330. package/dist/components/eds-tooltip.js +1 -50
  331. package/dist/components/eds-tooltip2.js +52 -0
  332. package/dist/components/eds-trl.js +33 -27
  333. package/dist/components/eds-user.js +20 -2
  334. package/dist/components/incorrect-use-of-colors.js +1 -1
  335. package/dist/components/logo-space.js +31 -25
  336. package/dist/components/logo-variations-horizontal2.js +1 -1
  337. package/dist/components/logo-variations-tabs.js +1 -1
  338. package/dist/components/logo-variations-vertical2.js +1 -1
  339. package/dist/components/logo-wrong-usage.js +1 -1
  340. package/dist/components/p-03714413.entry.js +1 -0
  341. package/dist/components/{p-67ec46b4.entry.js → p-06428b6c.entry.js} +1 -1
  342. package/dist/components/{p-7a3f2576.entry.js → p-067a184b.entry.js} +1 -1
  343. package/dist/components/p-097665cb.entry.js +1 -0
  344. package/dist/components/p-09f1b358.entry.js +1 -0
  345. package/dist/components/p-0da7d1c9.js +1 -0
  346. package/dist/components/p-1297d926.entry.js +1 -0
  347. package/dist/components/p-1928711b.entry.js +1 -0
  348. package/dist/components/{p-2ef4dd11.entry.js → p-1fad228f.entry.js} +1 -1
  349. package/dist/components/p-204f97de.entry.js +1 -0
  350. package/dist/components/p-20e385b8.entry.js +1 -0
  351. package/dist/components/{p-8627afc0.entry.js → p-219842c0.entry.js} +1 -1
  352. package/dist/components/p-21b5ca1f.entry.js +1 -0
  353. package/dist/components/{p-efbc374c.js → p-271c61ff.js} +1 -1
  354. package/dist/components/p-290b3d61.entry.js +1 -0
  355. package/dist/components/p-2db9f80a.entry.js +1 -0
  356. package/dist/components/p-354857a8.entry.js +1 -0
  357. package/dist/components/p-37a3d3ba.entry.js +1 -0
  358. package/dist/components/p-3a295312.entry.js +1 -0
  359. package/dist/components/p-3ff1f198.entry.js +1 -0
  360. package/dist/components/p-404b4dec.entry.js +1 -0
  361. package/dist/components/p-422c08a9.entry.js +1 -0
  362. package/dist/components/p-44cc0966.entry.js +1 -0
  363. package/dist/components/p-473aeaa0.entry.js +1 -0
  364. package/dist/components/p-4b2d40d4.entry.js +1 -0
  365. package/dist/components/{p-d1927da7.entry.js → p-4beb1e06.entry.js} +1 -1
  366. package/dist/components/p-4faa0047.entry.js +1 -0
  367. package/dist/components/p-552125e3.entry.js +1 -0
  368. package/dist/components/p-5db8003b.entry.js +1 -0
  369. package/dist/components/p-5ea2afdf.entry.js +1 -0
  370. package/dist/components/p-5f2bb217.entry.js +1 -0
  371. package/dist/components/p-65d1c8e9.entry.js +1 -0
  372. package/dist/components/p-67823a16.entry.js +1 -0
  373. package/dist/components/p-69db1210.entry.js +1 -0
  374. package/dist/components/p-701dc6d8.entry.js +1 -0
  375. package/dist/components/{p-e5892379.entry.js → p-71e9b1e9.entry.js} +1 -1
  376. package/dist/components/p-71f4afdf.entry.js +1 -0
  377. package/dist/components/p-73daee37.entry.js +1 -0
  378. package/dist/components/p-77143afc.entry.js +1 -0
  379. package/dist/components/p-7a137d91.entry.js +1 -0
  380. package/dist/components/p-7a34b267.entry.js +1 -0
  381. package/dist/components/{p-b31babda.entry.js → p-7ada2015.entry.js} +1 -1
  382. package/dist/components/p-81cce4f8.entry.js +1 -0
  383. package/dist/components/{p-d2e485a1.entry.js → p-83dde536.entry.js} +1 -1
  384. package/dist/components/p-84a04d37.entry.js +1 -0
  385. package/dist/components/p-8d66718e.entry.js +1 -0
  386. package/dist/components/p-9154e892.entry.js +1 -0
  387. package/dist/components/{p-5f348b0e.entry.js → p-9385c5fd.entry.js} +1 -1
  388. package/dist/components/p-98501e25.entry.js +1 -0
  389. package/dist/components/p-98d79948.entry.js +1 -0
  390. package/dist/components/p-9992fbdb.entry.js +1 -0
  391. package/dist/components/{p-b88a2267.entry.js → p-9c68934f.entry.js} +1 -1
  392. package/dist/components/{p-b9a1aba3.entry.js → p-a258d382.entry.js} +1 -1
  393. package/dist/components/p-a82fc224.entry.js +1 -0
  394. package/dist/components/p-ad0519b7.entry.js +1 -0
  395. package/dist/components/p-b15b11de.entry.js +9 -0
  396. package/dist/components/p-b56a3fc9.entry.js +1 -0
  397. package/dist/components/{p-09079c5c.entry.js → p-b9b6ac74.entry.js} +1 -1
  398. package/dist/components/p-b9bd1209.entry.js +1 -0
  399. package/dist/components/{p-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
  400. package/dist/components/{p-2e0c3fc4.entry.js → p-c12b0af1.entry.js} +1 -1
  401. package/dist/components/{p-265150a1.entry.js → p-c51b90c2.entry.js} +1 -1
  402. package/dist/components/{p-d95d7353.entry.js → p-c5d6c2a5.entry.js} +1 -1
  403. package/dist/components/p-c6f5d9df.entry.js +1 -0
  404. package/dist/components/p-c770c97b.entry.js +1 -0
  405. package/dist/components/{p-706a106c.entry.js → p-c8cba3a9.entry.js} +1 -1
  406. package/dist/components/{p-64b7a6fc.entry.js → p-ca91952b.entry.js} +1 -1
  407. package/dist/components/p-cba7d276.entry.js +1 -0
  408. package/dist/components/p-cffb13fa.entry.js +1 -0
  409. package/dist/components/p-d3cbc8f9.entry.js +1 -0
  410. package/dist/components/{p-743f9f8f.entry.js → p-d650c6c3.entry.js} +1 -1
  411. package/dist/components/p-d6a6879c.entry.js +1 -0
  412. package/dist/components/p-d9e02227.entry.js +1 -0
  413. package/dist/components/{p-79afd8aa.entry.js → p-da96c7cd.entry.js} +1 -1
  414. package/dist/components/{p-e210ddbb.entry.js → p-dd34feaa.entry.js} +1 -1
  415. package/dist/components/p-df18ffd1.entry.js +1 -0
  416. package/dist/components/p-e3b89fab.entry.js +1 -0
  417. package/dist/components/p-e696531f.entry.js +1 -0
  418. package/dist/components/{p-4c84fcf4.entry.js → p-e7b7179f.entry.js} +1 -1
  419. package/dist/components/p-e8bc4649.entry.js +1 -0
  420. package/dist/components/p-ef86f330.entry.js +1 -0
  421. package/dist/components/p-f5470900.entry.js +1 -0
  422. package/dist/components/p-ff433e09.entry.js +1 -0
  423. package/dist/components/primary.js +1 -1
  424. package/dist/components/primary2.js +1 -1
  425. package/dist/components/secondary.js +1 -1
  426. package/dist/components/secondary2.js +7 -7
  427. package/dist/components/support.js +1 -1
  428. package/dist/components/support2.js +3 -3
  429. package/dist/components/svg-repository.js +32 -42
  430. package/dist/components/token-list2.js +1 -1
  431. package/dist/components/token-radii2.js +1 -1
  432. package/dist/components/token-ratios.js +1 -1
  433. package/dist/components/token-shadows2.js +1 -1
  434. package/dist/components/token-spacing.js +1 -1
  435. package/dist/components/token-typography.js +1 -1
  436. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  437. package/dist/esm/components-section.entry.js +4 -6
  438. package/dist/esm/components.js +3 -3
  439. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  440. package/dist/esm/docs-palettes.entry.js +2 -2
  441. package/dist/esm/docs-tokens.entry.js +2 -2
  442. package/dist/esm/download-47746956.js +18 -0
  443. package/dist/esm/{eds-accordion_33.entry.js → eds-accordion_36.entry.js} +588 -111
  444. package/dist/esm/eds-app-root.entry.js +2 -2
  445. package/dist/esm/eds-card-desc_2.entry.js +3 -3
  446. package/dist/esm/eds-card-generic.entry.js +3 -3
  447. package/dist/esm/eds-card-project.entry.js +2 -2
  448. package/dist/esm/eds-card-section.entry.js +2 -2
  449. package/dist/esm/eds-card-tags.entry.js +2 -2
  450. package/dist/esm/eds-card-tool.entry.js +2 -2
  451. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  452. package/dist/esm/eds-feedback.entry.js +2 -2
  453. package/dist/esm/eds-footer.entry.js +3 -5
  454. package/dist/esm/eds-frame.entry.js +2 -2
  455. package/dist/esm/eds-fullscreen-menu.entry.js +9 -4
  456. package/dist/esm/eds-gauge.entry.js +2 -2
  457. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  458. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  459. package/dist/esm/eds-icon-bin.entry.js +2 -2
  460. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  461. package/dist/esm/eds-icon-bookmark.entry.js +2 -2
  462. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  463. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  464. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  465. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  466. package/dist/esm/eds-icon-clone.entry.js +2 -2
  467. package/dist/esm/eds-icon-close.entry.js +2 -2
  468. package/dist/esm/eds-icon-copy.entry.js +2 -2
  469. package/dist/esm/eds-icon-download.entry.js +14 -0
  470. package/dist/esm/eds-icon-draft.entry.js +2 -2
  471. package/dist/esm/eds-icon-edit.entry.js +2 -2
  472. package/dist/esm/eds-icon-eu.entry.js +2 -2
  473. package/dist/esm/eds-icon-external.entry.js +2 -2
  474. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  475. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  476. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  477. package/dist/esm/eds-icon-loader.entry.js +2 -2
  478. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  479. package/dist/esm/eds-icon-menu.entry.js +2 -2
  480. package/dist/esm/eds-icon-minus.entry.js +2 -2
  481. package/dist/esm/eds-icon-more.entry.js +2 -2
  482. package/dist/esm/eds-icon-paper.entry.js +2 -2
  483. package/dist/esm/eds-icon-plus.entry.js +2 -2
  484. package/dist/esm/eds-icon-portal.entry.js +2 -2
  485. package/dist/esm/eds-icon-private.entry.js +2 -2
  486. package/dist/esm/eds-icon-public.entry.js +2 -2
  487. package/dist/esm/eds-icon-search.entry.js +2 -2
  488. package/dist/esm/eds-icon-star.entry.js +2 -2
  489. package/dist/esm/eds-icon-start.entry.js +2 -2
  490. package/dist/esm/eds-icon-success.entry.js +2 -2
  491. package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
  492. package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
  493. package/dist/esm/eds-icon-tutorial.entry.js +2 -2
  494. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  495. package/dist/esm/eds-icon-unknown.entry.js +2 -2
  496. package/dist/esm/eds-icon-updown.entry.js +2 -2
  497. package/dist/esm/eds-icon-user.entry.js +2 -2
  498. package/dist/esm/eds-icon-view.entry.js +2 -2
  499. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  500. package/dist/esm/eds-modal.entry.js +4 -4
  501. package/dist/esm/eds-pie.entry.js +1 -1
  502. package/dist/esm/eds-progress-bar.entry.js +2 -2
  503. package/dist/esm/eds-section-core_2.entry.js +4 -4
  504. package/dist/esm/eds-social-networks.entry.js +3 -5
  505. package/dist/esm/eds-splash-screen.entry.js +1 -1
  506. package/dist/esm/eds-timeline.entry.js +2 -2
  507. package/dist/esm/eds-toast-manager.entry.js +2 -2
  508. package/dist/esm/eds-trl.entry.js +2 -2
  509. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  510. package/dist/esm/{index-e84b871c.js → index-870ab08f.js} +8 -11
  511. package/dist/esm/loader.js +3 -3
  512. package/dist/esm/logo-space.entry.js +2 -2
  513. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  514. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  515. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  516. package/dist/esm/svg-repository.entry.js +3 -19
  517. package/dist/esm/token-list_3.entry.js +4 -4
  518. package/dist/esm/token-ratios.entry.js +2 -2
  519. package/dist/esm/token-spacing.entry.js +2 -2
  520. package/dist/esm/token-typography.entry.js +2 -2
  521. package/dist/hydrate/index.js +679 -236
  522. package/dist/hydrate/index.mjs +679 -236
  523. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +1 -0
  524. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +27 -6
  525. package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
  526. package/dist/types/components/eds-table/eds-table.d.ts +20 -4
  527. package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
  528. package/dist/types/components.d.ts +455 -55
  529. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
  530. package/dist/types/shared-ui/eds-form/eds-form.d.ts +18 -1
  531. package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
  532. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
  533. package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +72 -0
  534. package/dist/types/shared-ui/eds-global-search/eds-global-search.stories.d.ts +40 -0
  535. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
  536. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
  537. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
  538. package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +73 -24
  539. package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
  540. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +44 -19
  541. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
  542. package/dist/types/shared-ui/eds-user/eds-user.d.ts +9 -0
  543. package/dist/types/types/global.d.ts +11 -0
  544. package/package.json +1 -1
  545. package/dist/cjs/eds-spinner.cjs.entry.js +0 -88
  546. package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
  547. package/dist/components/p-05654483.entry.js +0 -1
  548. package/dist/components/p-10997947.entry.js +0 -1
  549. package/dist/components/p-19e69c03.entry.js +0 -1
  550. package/dist/components/p-1ab1ea29.entry.js +0 -1
  551. package/dist/components/p-1bcf743d.entry.js +0 -1
  552. package/dist/components/p-1d18106d.entry.js +0 -1
  553. package/dist/components/p-3360e1e2.entry.js +0 -1
  554. package/dist/components/p-38bc21e9.entry.js +0 -1
  555. package/dist/components/p-3b29e0fd.entry.js +0 -1
  556. package/dist/components/p-42457a0f.entry.js +0 -1
  557. package/dist/components/p-4a6a72db.entry.js +0 -1
  558. package/dist/components/p-4b33909d.entry.js +0 -1
  559. package/dist/components/p-4bf4bc93.entry.js +0 -1
  560. package/dist/components/p-5367bb59.entry.js +0 -1
  561. package/dist/components/p-547a53d6.entry.js +0 -1
  562. package/dist/components/p-560fc3a4.entry.js +0 -1
  563. package/dist/components/p-5a58f1c1.entry.js +0 -1
  564. package/dist/components/p-5b55f951.entry.js +0 -1
  565. package/dist/components/p-5ba49cf2.entry.js +0 -1
  566. package/dist/components/p-5dd85979.entry.js +0 -1
  567. package/dist/components/p-634b6ca2.entry.js +0 -1
  568. package/dist/components/p-6614881d.entry.js +0 -1
  569. package/dist/components/p-6b988c76.entry.js +0 -1
  570. package/dist/components/p-6cd6ff0c.entry.js +0 -1
  571. package/dist/components/p-71ee4af2.entry.js +0 -1
  572. package/dist/components/p-789f54cb.entry.js +0 -1
  573. package/dist/components/p-7a5623b5.entry.js +0 -1
  574. package/dist/components/p-7ca6db64.entry.js +0 -1
  575. package/dist/components/p-7fa46b01.entry.js +0 -1
  576. package/dist/components/p-86eff0cb.entry.js +0 -1
  577. package/dist/components/p-89048f87.entry.js +0 -1
  578. package/dist/components/p-8cf98230.entry.js +0 -1
  579. package/dist/components/p-8d363a3c.entry.js +0 -1
  580. package/dist/components/p-9261d27c.entry.js +0 -1
  581. package/dist/components/p-97323c46.entry.js +0 -1
  582. package/dist/components/p-9b90296c.entry.js +0 -1
  583. package/dist/components/p-9cb14b1f.entry.js +0 -1
  584. package/dist/components/p-9f0a34b4.entry.js +0 -1
  585. package/dist/components/p-a8ca8346.entry.js +0 -1
  586. package/dist/components/p-ab3b0a53.entry.js +0 -1
  587. package/dist/components/p-b0d38b78.entry.js +0 -1
  588. package/dist/components/p-b6ee4250.entry.js +0 -1
  589. package/dist/components/p-b9fdcb1b.entry.js +0 -1
  590. package/dist/components/p-ba9f41de.entry.js +0 -1
  591. package/dist/components/p-beacaa4f.entry.js +0 -1
  592. package/dist/components/p-bfa23535.entry.js +0 -1
  593. package/dist/components/p-c4ac0528.entry.js +0 -1
  594. package/dist/components/p-cb114bf4.entry.js +0 -1
  595. package/dist/components/p-cd05a97b.entry.js +0 -1
  596. package/dist/components/p-cd787744.entry.js +0 -1
  597. package/dist/components/p-cdc1c8e8.entry.js +0 -1
  598. package/dist/components/p-d1d1943b.entry.js +0 -1
  599. package/dist/components/p-e0ada7e0.entry.js +0 -1
  600. package/dist/components/p-e8374410.entry.js +0 -1
  601. package/dist/components/p-e90da4ba.entry.js +0 -1
  602. package/dist/components/p-ec706eed.entry.js +0 -1
  603. package/dist/components/p-f32963ff.entry.js +0 -9
  604. package/dist/components/p-f40dd50d.entry.js +0 -1
  605. package/dist/components/p-f6012c17.entry.js +0 -1
  606. package/dist/components/p-fcba31fa.entry.js +0 -1
  607. package/dist/esm/eds-spinner.entry.js +0 -84
  608. package/dist/esm/eds-tooltip.entry.js +0 -34
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0249a32e.js');
5
+ const index = require('./index-50bc1aa4.js');
6
6
 
7
7
  const colors = {
8
8
  tokens: {
@@ -244,7 +244,7 @@ const TokenList = class {
244
244
  render() {
245
245
  // Check if `show` prop is provided; if not, display all sections
246
246
  const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
247
- return (index.h("section", { key: 'b8b778fe87179f77bb71705d89026c500b0293fb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
247
+ return (index.h("section", { key: 'db196307702df28bf9e2f7fb0b87298bf84baabb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
248
248
  // Only render sections that exist in `colors`
249
249
  sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
250
250
  }
@@ -264,7 +264,7 @@ const TokenRadii = class {
264
264
  index.registerInstance(this, hostRef);
265
265
  }
266
266
  render() {
267
- return (index.h("section", { key: '584f5f90e1e3813692870fbd8fd382956729dbf1', class: "w-full mt-28" }, index.h("ul", { key: '81786b7835d62739d6ec034609e77209e15e3b38', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-4 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-3 border-soft rounded-${key}` }, index.h("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), index.h("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
267
+ return (index.h("section", { key: 'bdd584d53625299e4faa9a28f6f259bc5587b125', class: "w-full mt-28" }, index.h("ul", { key: '3076e4efcca5749cc07e69df70ce2658d6186ec6', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-4 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-3 border-soft rounded-${key}` }, index.h("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), index.h("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
268
268
  }
269
269
  };
270
270
 
@@ -291,7 +291,7 @@ const TokenShadows = class {
291
291
  index.registerInstance(this, hostRef);
292
292
  }
293
293
  render() {
294
- return (index.h("section", { key: '8ca055cb3616c9bc3f6e8c1032671ff53a540156', class: "w-full mt-28" }, index.h("ul", { key: '7b72868285aaffe0f31628b5ab142e39aaccd964', class: "not-prose 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]" })))))))));
294
+ return (index.h("section", { key: 'a2fbc57c2153391bc53b47a263488118ca3aa01a', class: "w-full mt-28" }, index.h("ul", { key: 'e4e2d6cbc8d1510ede2b678b24ce8b34b838888f', class: "not-prose 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]" })))))))));
295
295
  }
296
296
  };
297
297
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0249a32e.js');
5
+ const index = require('./index-50bc1aa4.js');
6
6
 
7
7
  const ratios = {
8
8
  '1x1': '1/1',
@@ -18,7 +18,7 @@ const TokenRatios = class {
18
18
  index.registerInstance(this, hostRef);
19
19
  }
20
20
  render() {
21
- return (index.h("section", { key: '255775984f1d0edd52f48814776dfb5739b4885e', class: "w-full" }, index.h("eds-section-core", { key: '7fd28e74db00800fcaa4adb13dd6b0b9cace371d', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, index.h("ul", { key: '1e4c0af9a699e69c5bc6c86df821c457bb20614a', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
21
+ return (index.h("section", { key: '83fc87fd64531611114fe47d977dc54b6af1d327', class: "w-full" }, index.h("eds-section-core", { key: 'b0b72d4f387cd48f4905c68b9f05ac3058d359c1', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, index.h("ul", { key: 'af5677bb15a4ffb008fd90bdfdfb1b757a36e138', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
22
22
  aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
23
23
  width: '100%', // Full width to show the aspect ratio correctly
24
24
  maxWidth: '300px'
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0249a32e.js');
5
+ const index = require('./index-50bc1aa4.js');
6
6
 
7
7
  const TokenSpacing = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (index.h("div", { key: '9967174337c771b175eb51d9cd77ec227071178e', class: "w-full" }, index.h("ul", { key: 'db8df572ea997ea83600cb522c761ec5c99788bc', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, index.h("li", { key: '25a7b31970e56ce8ff62c81a69daac121984d9d6', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '1a1dfa005e39237c2fedb210c0082293770387c6', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: '473024ed6927d1a140eee0e021af92790c3ec5b0', class: "spacing-sample m-16 bg-strong" }, index.h("span", { key: '7b691bf830943134160396ddcd8f71e419eb29e2', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), index.h("li", { key: '38f1d4d7e78b1efdbc55cf732b6be2ac3a62b5b7', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '3a0fc8cdfa13bf0998a4829c36a74b17a6ee2314', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'ec730379e1041a68c9d980bb6b5d4b16560debb0', class: "spacing-sample ml-64 bg-strong" }, index.h("span", { key: 'fd6f3ab787f1d43fb0b060e8408a1464eacd9875', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), index.h("li", { key: '60a45420ca9cd7f4dab1524c8d6be31b39295b0c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: 'ec433621396341959df05dd4becf2844c4266ea5', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'e2ae2d3a3f0eb5226fae09d70eff099ed79ca0e6', class: "spacing-sample mt-32 bg-strong" }, index.h("span", { key: '1da10931bb4dae62a1a1c020c89463634a3c1630', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), index.h("li", { key: 'f2f6ff5c992df7d4d426a3488cb7aa7ad9b7bc85', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '23700500e04f2ec99fb5329092b7e430f7ac4274', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'bc304e082326c02787a62681fa86d20382fbb2d7', class: "spacing-sample p-32 bg-strong" }, index.h("span", { key: '32692a307c58603ac232bb1004b88e0b5bff0c3d', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), index.h("li", { key: '6fc5032427724389d29d200347e3f5de984d6ec5', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: 'f66687c53866291f4f455153e34813d53bbb6d68', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'c4305cf37d1f08f50be085664d9a4da0c4859805', class: "spacing-sample pt-32 bg-strong" }, index.h("span", { key: '4bd0c2056950a34d119c11ffd04e1dce1b8136c5', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), index.h("li", { key: '67053133a6c121e02b7cab1da4cf4bc025dcc28d', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: 'dc7c1198e284eb0d71d183017e99fca72c3fb2a7', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: '3e69f16b8673007197f18b736e07a9e2c86e7eeb', class: "spacing-sample pl-32 bg-strong" }, index.h("span", { key: '5a112de1bf2ce66ea278da76b8890aff02cce8af', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
12
+ return (index.h("div", { key: '46cb6fe655e9f8b8688f44e2351f3992e8011b2a', class: "w-full" }, index.h("ul", { key: '9d7205ee2e0b3b0386284dc282fcc5375c43ec26', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, index.h("li", { key: 'b3e9d62bb934c1b413712b182cfdf015484db525', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '78c8a23dcacfd216a6159da8af3809607ef29702', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: '92a2938c5bdcb38456d96077f78993c711bc789f', class: "spacing-sample m-16 bg-strong" }, index.h("span", { key: '7738363bee7cc25863bec922f55224044af61b6e', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), index.h("li", { key: '96c1f622b7e4136cebd53862b79bbc17ad484a25', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: 'ff4357650e10f9e7a61903c3c9f6a4f4d60d8c73', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'cd07be06a51604f81f2868786028066f834cd87d', class: "spacing-sample ml-64 bg-strong" }, index.h("span", { key: 'ded579013d8765c7802862b57cf2bf7ae03f1b99', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), index.h("li", { key: 'a8e244c95f027993755fa567d900ff88ed08669b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: 'e3662c064d089089ebb796aadede38bbd7ebe69d', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'f168cbeaec417b0eccd66ed60f2776bdffdb7bfb', class: "spacing-sample mt-32 bg-strong" }, index.h("span", { key: '696ec848f217896ae3fc06bf07546fe735d6ccd8', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), index.h("li", { key: '5e5d4a63fd7e28114a87dfa5789f5213b6c057f3', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '14cb262cc18f340e72a922dc793244c17fa9fb05', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: '791781717dc851f2e174277c557212e7e5c15b7a', class: "spacing-sample p-32 bg-strong" }, index.h("span", { key: 'd1df2d8f2520746e49ec9c85d8e17cf5569c4bc5', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), index.h("li", { key: '312e2c71672a05cc54cd492297a1cdcb2b11a395', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '8cd16bfafd2345b68e50a46c08c7a8f2430ee6ef', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: '8f7e910d8fc43b596b35f3e72a48646e9550e8ba', class: "spacing-sample pt-32 bg-strong" }, index.h("span", { key: '509c712085a239a435fc11f8ea7a6c9c788be60c', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), index.h("li", { key: 'b99c86cd7dd23e7c091dd2c70ec42133d9d2e2ef', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { key: '0e61fb5d7bf779eddc16c9627d6ca0ff6cf702e1', class: "container p-8 item-center border-2 border-soft" }, index.h("div", { key: 'e65eb20ca88e563ae43eb0c208feacf7e310870f', class: "spacing-sample pl-32 bg-strong" }, index.h("span", { key: '2a40e6977caccb37173f60de613c1a72b02f6d3e', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
13
13
  }
14
14
  };
15
15
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0249a32e.js');
5
+ const index = require('./index-50bc1aa4.js');
6
6
 
7
7
  const headings = {
8
8
  'heading-01': {
@@ -207,7 +207,7 @@ const TokenTypography = class {
207
207
  index.registerInstance(this, hostRef);
208
208
  }
209
209
  render() {
210
- return (index.h("section", { key: 'b638ddc335ade66f9eb0af8752f56945270fc5ee', class: "w-full" }, index.h("ul", { key: '40f638bc0eccdcc79aecaf5da8fc9c1332122d49', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
210
+ return (index.h("section", { key: 'ff15f73114d16107a766fe6fe8342315cf2fa542', class: "w-full" }, index.h("ul", { key: '22e8e89e792fee03f1957e5705fca1938771b9ac', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
211
211
  .filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
212
212
  .flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, index.h("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, index.h("div", { class: "mr-auto hidden lg:block", style: {
213
213
  fontFamily: typography.families.sans,
@@ -32,6 +32,7 @@
32
32
  "components/eds-icons/eds-icon-clone/eds-icon-clone.js",
33
33
  "components/eds-icons/eds-icon-close/eds-icon-close.js",
34
34
  "components/eds-icons/eds-icon-copy/eds-icon-copy.js",
35
+ "components/eds-icons/eds-icon-download/eds-icon-download.js",
35
36
  "components/eds-icons/eds-icon-draft/eds-icon-draft.js",
36
37
  "components/eds-icons/eds-icon-edit/eds-icon-edit.js",
37
38
  "components/eds-icons/eds-icon-eu/eds-icon-eu.js",
@@ -116,6 +117,7 @@
116
117
  "shared-ui/eds-form/eds-form.js",
117
118
  "shared-ui/eds-frame/eds-frame.js",
118
119
  "shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js",
120
+ "shared-ui/eds-global-search/eds-global-search.js",
119
121
  "shared-ui/eds-header/eds-header.js",
120
122
  "shared-ui/eds-matomo-notice/eds-matomo-notice.js",
121
123
  "shared-ui/eds-social-networks/eds-social-networks.js",
@@ -84,10 +84,10 @@ export class EdsAccordion {
84
84
  * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
85
85
  */
86
86
  render() {
87
- return (h("div", { key: '1abfd8bfea763bc10e6f17148dbc252d0c3ffdea', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
87
+ return (h("div", { key: 'd162692cb9a99b6a1b9b736b828214c9d425046e', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
88
88
  ${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
89
89
  ${this.switchBg ? 'hover:bg-inverse' : ''}
90
- ${this.description ? 'min-h-56' : ''}` }, h("h3", { key: '137a3311195d51f46c6677558219828e5f4d06b5', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), h("div", { key: '0fc6d493fd61726a53a8c4311bd183eb3ad5b270', class: "ml-auto" }, h("eds-button", { key: 'cb8182e05c5c11950c0e624ce6b11e27a4d506ab', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '084bfb116dcccadf7253ca8ac8de6a1e1d4aa41f', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: 'c332a210fa4ce90f1974098ff790a7600dfb1721', id: "accordionSection", "aria-labelledby": "accordionHeader", "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: '842bc3bc7a968ef5a428a97327f38253e8a32888', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, h("span", { key: '7c8fa8040da18cc2c128b42cdf9e75bfffe4c439', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '852837c0c8c9d8a36f6263f7a943f50d82563a3c' })))))));
90
+ ${this.description ? 'min-h-56' : ''}` }, h("h3", { key: '3770e241daa7e4696c5481c97965fb2ebe0b17f9', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), h("div", { key: '56b7b70d16cf3f944bf3cec878bd15c3e18b399b', class: "ml-auto" }, h("eds-button", { key: '4b770831f155f7e77a424b9dd3ec0a8708a0859f', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: 'c75c4d840bc8be25ee7590d90e3290faf090fdf0', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: 'b78b8f7fa93a85c886136cac8119d7b94de2a129', id: "accordionSection", "aria-labelledby": "accordionHeader", "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: '75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, h("span", { key: 'e08cefc1d6fe7f3d162de86a17646d88a8686d83', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '77d3a7fb997a9f313e3013a17f87c28f7ff8adad' })))))));
91
91
  }
92
92
  static get is() { return "eds-accordion"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -102,12 +102,12 @@ export class EdsAlert {
102
102
  }
103
103
  render() {
104
104
  const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
105
- return (h("div", { key: '2d22944e7ae86cf2523c194e20215a3d986083d9', class: alertStyles({
105
+ return (h("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
106
106
  intent: this.intent,
107
107
  brd: this.brd,
108
108
  direction: this.direction,
109
109
  withBtn: this.withBtn
110
- }), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, h("p", { key: 'b6c22446b0d87fb01a3cb882fe205ef48ea60b05', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (h("div", { key: '8414820eb7b65c83459cfb90adef3ea696e42444', id: "alert-action" }, this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (h("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
110
+ }), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, h("p", { key: 'fb3a1d216279b4076b09ef9544d37c5229b4d706', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (h("div", { key: 'a5edd833ae3924f41edb17068090eeeb4e9f9cfd', id: "alert-action" }, this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (h("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
111
111
  }
112
112
  static get is() { return "eds-alert"; }
113
113
  static get encapsulation() { return "shadow"; }
@@ -64,7 +64,7 @@ export class EdsAvatar {
64
64
  * @returns {JSX.Element} The rendered avatar component.
65
65
  */
66
66
  render() {
67
- return (h("div", { key: '34e86e50b1176efd8ae0cd9b30cd3823527d7eee', 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))));
67
+ return (h("div", { key: 'd29c110e340567236716e77c4f003bec5c70ee63', 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))));
68
68
  }
69
69
  static get is() { return "eds-avatar"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class EdsBlockBreak {
7
7
  this.inverse = false;
8
8
  }
9
9
  render() {
10
- return h("hr", { key: '688e11c730af1193f28db196cd144c6dd2efc3c6', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
10
+ return h("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
11
11
  }
12
12
  static get is() { return "eds-block-break"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -123,7 +123,7 @@ export class EdsBreadcrumb {
123
123
  */
124
124
  render() {
125
125
  const itemsToRender = this.getTruncatedItems();
126
- return (h("nav", { key: '0625a234ec9f5095abbeaafa11e56bceb0432764', "aria-label": "Breadcrumb" }, h("ol", { key: '3898a4b048eca6c606a6948b26ec25a608cb908e', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
126
+ return (h("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, h("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
127
127
  const isLast = index === itemsToRender.length - 1;
128
128
  return (h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
129
129
  const { fullLabel } = this.getLabels(item, isLast);
@@ -178,7 +178,7 @@ export class EdsButton {
178
178
  });
179
179
  const ElementType = this.elementType;
180
180
  const isInteractive = !this.disabled && !this.loading;
181
- return (h(Host, { key: '835cc81d3563abf1b5cb4c21165de1ef726d1e43' }, h(ElementType, { key: 'df05b2b2152e707e5fdd6028c5f557097d7e2b04', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (h("span", { key: '27c7473403e7c1bfd3dfc270151d44dbb639ceb3', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (h("span", { key: 'f52496884816bc299fb76c1afae5e4798bf642d2', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, h("span", { key: 'd42bf2c229f6956a1e0dbe64aa6c79ad5608ca5c', class: "loader", style: {
181
+ return (h(Host, { key: 'fe91be3eb9c2a3ece800097392462b3bd76f1264' }, h(ElementType, { key: 'aa1d4e0544beff8759d232d0e897ffdbcd584ea5', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (h("span", { key: '2b55edc1b986950ba03a759cffd7346c8611ac0a', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (h("span", { key: '5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, h("span", { key: '2746ef996f0835c76c4ef2cbd39103ad4d07c21f', class: "loader", style: {
182
182
  border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
183
183
  borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
184
184
  } }))), this.icon ? (h("eds-icon-wrapper", { class: `
@@ -20,7 +20,7 @@ export class EdsCardDesc {
20
20
  return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
21
21
  }
22
22
  render() {
23
- return (h("p", { key: '302734334d08002f94c269977ebda7762fd19843', class: "text-light f-ui-03-light" }, h("span", { key: '925f6cea41068b62d22902f33d80d700d0975f39', class: this.getTruncateClass() }, this.description)));
23
+ return (h("p", { key: '1e2ae9b46a477adb8a249a0a06c963d3e44ff297', class: "text-light f-ui-03-light" }, h("span", { key: '072222b2b2249a772c1e26f566d7ac863dd6a1dd', class: this.getTruncateClass() }, this.description)));
24
24
  }
25
25
  static get is() { return "eds-card-desc"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class EdsCardTags {
8
8
  this.tags = [];
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '2acec4bb37d05bb40910cdd198e2ffac9f16610d', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
11
+ return (h("div", { key: 'dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
12
12
  }
13
13
  static get is() { return "eds-card-tags"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class EdsCardTitle {
43
43
  render() {
44
44
  //const Tag = this.getTag();
45
45
  const Heading = this.headingLevel;
46
- return (h(Heading, { key: 'f3a72db6143e59ef04e589397126dcbf5b4d2d47', class: this.getTitleClass() }, h("a", { key: '4fe1c9af922959b26824f01a0e5b52137c3854f2', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
46
+ return (h(Heading, { key: '1fd3f080c09f94d7b7175d51b9d8e38bb0b76286', class: this.getTitleClass() }, h("a", { key: 'dd06cbecbc9eaef8052f34eae28ae17c5f92c918', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
47
47
  }
48
48
  static get is() { return "eds-card-title"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -81,6 +81,10 @@
81
81
  display: flex;
82
82
  }
83
83
 
84
+ .flex-wrap {
85
+ flex-wrap: wrap;
86
+ }
87
+
84
88
  .inline-flex {
85
89
  display: inline-flex;
86
90
  }
@@ -130,6 +134,10 @@
130
134
  order: -9999;
131
135
  }
132
136
 
137
+ .mb-8 {
138
+ margin-bottom: 0.5rem;
139
+ }
140
+
133
141
  .mb-10 {
134
142
  margin-bottom: 0.625rem;
135
143
  }
@@ -85,7 +85,7 @@ export class EdsCardGeneric {
85
85
  });
86
86
  }
87
87
  render() {
88
- return (h("article", { key: '0d0a2bfb5ab1f08cdada2180977ff7bd77594030', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '4c262de23e15ee9112b8562d22fb5a35cf59938f', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '867cbc0ee0b24aa3acbfed5d7efbffc11ea85ccd', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '66fe518e05e4fcaf99ea815b0c2f3d525a2a9989', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
88
+ return (h("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), h("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description && (h("eds-card-desc", { key: '7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0', "truncate-lines": "3", description: this.description }))), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '63cc046648dbf7d56909b2478d6c15b14e8d9ae4', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label, size: tag.size })))), ' '));
89
89
  }
90
90
  static get is() { return "eds-card-generic"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class EdsCardProject {
55
55
  this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
56
56
  ].join(' ');
57
57
  const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
58
- return (h("article", { key: 'b4587158532ddc495a1cda29941b69934b93c7d3', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '96ab6c6b9f5e89db0ca29c678c0ff3d7643976de', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '6b1e39c1b3445c2eff43f03efc0d14307e044428', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: 'a5a2c5916c35dec35d261da0bf10a3905ce0452e', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '65f034e9ae8f7abbc37fb8fc3b03a440467c33f5', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '690f9157169e6344af51407fca8c25f7cf35ac74', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: '651b1f0424b45348c854b7ec98e4dae1e4952bbd', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: 'b761288da975f05bb558b0e60767292c20e767e8', class: imageClasses }, h("div", { key: 'bf027b4359774454d9f866f4bb17872a1c0ba724', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '19b4c37dcbe7c463afd3ece46d5c348c681771c8', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
58
+ return (h("article", { key: '65af57bfbe558b895f74dd4d088c243a25c7265d', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: 'cf0e9f71cd617a44facf7e35cdf78774e41b3eb1', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '82870bbaf7203ac92f25ca241186ba7a32b784d5', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: '0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '3586446f9ad1bb190c93cd54d7e53d6e835b8e37', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '750c707f04d12ddd1d38aa0377b47f8804070535', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: '01fbeebd88ee60feede3b21db177b3691ffc2808', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: 'c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513', class: imageClasses }, h("div", { key: '04d4828b6648470543ddde09d935aaa7c6133d7e', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: 'cde6eb483641c02abb6c229470f07aa5b08fbf9b', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
59
59
  }
60
60
  static get is() { return "eds-card-project"; }
61
61
  static get properties() {
@@ -64,7 +64,7 @@ export class EdsCardTool {
64
64
  });
65
65
  }
66
66
  render() {
67
- return (h("article", { key: '2ae8e814b1509d167912424bb5093dba780f70e7', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '1d0e4312589a917bc96b2c2dd3455ad0edc54b25', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '70b074fa7755e20627c50383e1a04a684dd1bab6', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'eb5b236057ef9044701d9662cdc2fa359d5c8053', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
67
+ return (h("article", { key: '00f417ee065537f8b30bc73e5ad9ca0d69b3aed3', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '9d8156f655c9344c872631b75cfcaf52fdf23347', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: 'da7aa3d0d9f7995a824fd7720342e6dd4d94224f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '3e3001ec404a0bbca84deafc89de6aab8bf2fe45', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
68
68
  }
69
69
  static get is() { return "eds-card-tool"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class EdsGauge {
43
43
  const textStyle = {
44
44
  fontSize: `${fontSize}px`
45
45
  };
46
- return (h("div", { key: '798a7345ee5c3eeb59b5fe29a39827ce347dc756', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, h("div", { key: 'f255f7036a5b11de88fbb32648388905932eb56e', class: "absolute bg-inverse rounded-full", style: maskStyle }), h("div", { key: '2a6dd1d88b32cb2c534f253703a8caa0099f2a43', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: 'ccbf1852d2f43b925f565c7117aca4a878e7f636', class: "f-body-01 text-default", style: textStyle }, clamped))));
46
+ return (h("div", { key: '8834b0fc3cb78c0e7926392d04229d67d8deab90', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, h("div", { key: 'f9ad68bd6bf19bceb46df1cfe16cdbbc2375099c', class: "absolute bg-inverse rounded-full", style: maskStyle }), h("div", { key: '64a2ba3ba2f104fa018f81949cdabc0fc53eea42', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: 'ae66f977802793f4e10210e75ddfa53839a9ff6e', class: "f-body-01 text-default", style: textStyle }, clamped))));
47
47
  }
48
48
  static get is() { return "eds-gauge"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -80,7 +80,7 @@ export class EdsCodeBlock {
80
80
  return this.code; // Fallback if language is not provided or unsupported
81
81
  }
82
82
  render() {
83
- return (h("div", { key: '3cfaec27c58d05868313150f1a358ff64c8eafbd', class: "relative bg-stronger rounded-sm" }, h("div", { key: 'ed91821385f30305348750dbfffec5fdd7b4dbb8', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '3e419585214883c878a8e84c440dbd29d590002d', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '051fa9c714d5c077d5d96ec9b92f8a744ec123bc', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: '707950ce89cb0c24b1afac42a8801d13659b6bab', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: '59923dd4c16cfecafffa2edaaac5ef7579c3f128', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '8c708992c04029d71685ad8922383ecdda05ac3c', innerHTML: this.getHighlightedCode() })))));
83
+ return (h("div", { key: '2c5addd195dc8d930db643e95ecc52410dd94052', class: "relative bg-stronger rounded-sm" }, h("div", { key: 'aea2d891f9e5d57d4b8390cff4597cb8edd163a1', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '41e2d463bde145f901eae42dda68091a9a42e3ef', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '7285b81dd936c770b09b4a36bed8c8ba2a87da99', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: 'a12d74735064478480544cc4b5cf14d7b028b1a8', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: '2fcde4f271059ac98cb3b1b6bffbf4564ccf795b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '68a8b83f492e7b0eb2916a063e28a4293e6a988f', innerHTML: this.getHighlightedCode() })))));
84
84
  }
85
85
  static get is() { return "eds-code-block"; }
86
86
  static get encapsulation() { return "shadow"; }
@@ -3,13 +3,23 @@ import { h } from "@stencil/core";
3
3
  /**
4
4
  * `EdsDropdown` is a versatile dropdown component that provides a list of items
5
5
  * that appear upon clicking the dropdown button. It supports various customization options,
6
- * such as positioning, styling, and keyboard accessibility.
6
+ * such as positioning, styling, keyboard accessibility, and automatic closing behavior.
7
7
  *
8
- * Key features include:
9
- * - Configurable dropdown position (left or right) and offset.
10
- * - Customizable intent styles (e.g., primary, secondary).
11
- * - Keyboard navigation with support for up and down arrow keys.
12
- * - Option to use as a navigation menu or standard dropdown.
8
+ * ## Key Features:
9
+ * - Configurable dropdown position (left or right) and offset
10
+ * - Customizable intent styles (e.g., primary, secondary)
11
+ * - Keyboard navigation with support for up and down arrow keys
12
+ * - Automatic closing on clicks inside the dropdown panel
13
+ * - Flexible opt-in/opt-out mechanisms for closing behavior
14
+ * - Option to use as a navigation menu or standard dropdown
15
+ *
16
+ * ## Auto-Close Behavior:
17
+ * By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
18
+ * This includes links, buttons, custom elements, or any other clickable content.
19
+ *
20
+ * ## Data Attributes:
21
+ * - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
22
+ * - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
13
23
  *
14
24
  * This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
15
25
  */
@@ -20,10 +30,12 @@ export class EdsDropdown {
20
30
  * Toggles the visibility of the dropdown and manages focus.
21
31
  */
22
32
  this.handleClick = () => {
23
- var _a;
33
+ var _a, _b;
24
34
  this.isOpen = !this.isOpen;
25
35
  if (this.isOpen) {
26
- this.focusIndex = 0;
36
+ // refresh focusables each open in case slot changed
37
+ this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
38
+ this.focusIndex = this.focusableItems.length ? 0 : -1;
27
39
  this.focusItem();
28
40
  }
29
41
  else {
@@ -34,7 +46,7 @@ export class EdsDropdown {
34
46
  category: 'ui-component',
35
47
  parentContext: null,
36
48
  tag: this.host.tagName.toLowerCase(),
37
- name: ((_a = this.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
49
+ name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
38
50
  action: this.isOpen ? 'expanded' : 'collapsed'
39
51
  });
40
52
  };
@@ -46,9 +58,14 @@ export class EdsDropdown {
46
58
  this.dropdownPos = 'left';
47
59
  this.dropdownOffset = true;
48
60
  this.intent = 'tertiary';
61
+ this.autoClose = true;
62
+ this.noCloseSelector = '[data-dropdown-no-close]';
49
63
  this.isOpen = false;
50
64
  this.focusIndex = -1;
51
65
  }
66
+ async close() {
67
+ this.closeDropdown();
68
+ }
52
69
  /**
53
70
  * Closes the dropdown when a click occurs outside of it.
54
71
  * @param {Event} e - The click event.
@@ -108,19 +125,55 @@ export class EdsDropdown {
108
125
  var _a;
109
126
  this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
110
127
  }
128
+ handleHostInternalClick(ev) {
129
+ var _a;
130
+ if (!this.isOpen || !this.panelEl) {
131
+ return;
132
+ }
133
+ const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
134
+ const clickedInsidePanel = path.includes(this.panelEl);
135
+ if (!clickedInsidePanel) {
136
+ return;
137
+ }
138
+ // Check if element has explicit close attribute
139
+ const hasCloseAttribute = path.some((t) => {
140
+ var _a;
141
+ const n = t;
142
+ return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
143
+ });
144
+ // If element has data-dropdown-close, always close regardless of autoClose setting
145
+ if (hasCloseAttribute) {
146
+ setTimeout(() => this.closeDropdown(), 0);
147
+ return;
148
+ }
149
+ // If autoClose is disabled and no explicit close attribute, don't close
150
+ if (!this.autoClose) {
151
+ return;
152
+ }
153
+ // Auto-close mode: close unless clicked element opts out
154
+ const shouldNotClose = path.some((t) => {
155
+ var _a;
156
+ const n = t;
157
+ return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
158
+ });
159
+ if (!shouldNotClose) {
160
+ // Defer to allow the item's own click (e.g., router navigation) to run first
161
+ setTimeout(() => this.closeDropdown(), 0);
162
+ }
163
+ }
111
164
  /**
112
165
  * Renders the dropdown component and displays its content when open.
113
166
  * @returns {JSX.Element} The rendered dropdown component.
114
167
  */
115
168
  render() {
116
- return (h("div", { key: '31e8b1fd4e146cbcad4d74bd78dff1cd1e1950bd', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: '7021a0b0ff66780a324d7d9d1f6cff250ab64178', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: '904fd2a7f727a8b3966eab6cf9ebdb0efa474ae0', role: "menu", class: {
169
+ return (h("div", { key: 'e31acbda3428f47fe32cfe550cf00c53374da215', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, h("eds-button", { key: 'ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), h("nav", { key: '59f8533409171401ed73eac8d307e4eafbde9209', ref: (el) => (this.panelEl = el), role: "menu", class: {
117
170
  'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
118
171
  'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
119
172
  'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
120
173
  'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
121
174
  'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
122
175
  'rounded-lg': this.rounded
123
- }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: 'b416621930c7117775fef2ee91bdca0f660302f5' }))));
176
+ }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, h("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
124
177
  }
125
178
  static get is() { return "eds-dropdown"; }
126
179
  static get encapsulation() { return "shadow"; }
@@ -322,6 +375,42 @@ export class EdsDropdown {
322
375
  "attribute": "intent",
323
376
  "reflect": false,
324
377
  "defaultValue": "'tertiary'"
378
+ },
379
+ "autoClose": {
380
+ "type": "boolean",
381
+ "mutable": false,
382
+ "complexType": {
383
+ "original": "boolean",
384
+ "resolved": "boolean",
385
+ "references": {}
386
+ },
387
+ "required": false,
388
+ "optional": false,
389
+ "docs": {
390
+ "tags": [],
391
+ "text": "Auto-close dropdown prop - when true, any click inside the panel closes the dropdown"
392
+ },
393
+ "attribute": "auto-close",
394
+ "reflect": false,
395
+ "defaultValue": "true"
396
+ },
397
+ "noCloseSelector": {
398
+ "type": "string",
399
+ "mutable": false,
400
+ "complexType": {
401
+ "original": "string",
402
+ "resolved": "string",
403
+ "references": {}
404
+ },
405
+ "required": false,
406
+ "optional": false,
407
+ "docs": {
408
+ "tags": [],
409
+ "text": "Opt-out attribute - elements with this attribute won't trigger auto-close"
410
+ },
411
+ "attribute": "no-close-selector",
412
+ "reflect": false,
413
+ "defaultValue": "'[data-dropdown-no-close]'"
325
414
  }
326
415
  };
327
416
  }
@@ -349,6 +438,27 @@ export class EdsDropdown {
349
438
  }
350
439
  }];
351
440
  }
441
+ static get methods() {
442
+ return {
443
+ "close": {
444
+ "complexType": {
445
+ "signature": "() => Promise<void>",
446
+ "parameters": [],
447
+ "references": {
448
+ "Promise": {
449
+ "location": "global",
450
+ "id": "global::Promise"
451
+ }
452
+ },
453
+ "return": "Promise<void>"
454
+ },
455
+ "docs": {
456
+ "text": "",
457
+ "tags": []
458
+ }
459
+ }
460
+ };
461
+ }
352
462
  static get elementRef() { return "host"; }
353
463
  static get listeners() {
354
464
  return [{
@@ -363,6 +473,12 @@ export class EdsDropdown {
363
473
  "target": "window",
364
474
  "capture": false,
365
475
  "passive": false
476
+ }, {
477
+ "name": "click",
478
+ "method": "handleHostInternalClick",
479
+ "target": undefined,
480
+ "capture": false,
481
+ "passive": false
366
482
  }];
367
483
  }
368
484
  }
@@ -8,7 +8,7 @@ export class EdsIconChevronDown {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '5547e9d98f781dc03e88a014f726b3a402e6425d', class: this.class, innerHTML: chevronDown });
11
+ return h("span", { key: '49925425ac1fd676eb96b973b1419f1f2aec1c81', class: this.class, innerHTML: chevronDown });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-down"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronLeft {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '49925425ac1fd676eb96b973b1419f1f2aec1c81', class: this.class, innerHTML: chevronLeft });
11
+ return h("span", { key: '38d849e3d7e2b2f5e7df8a5624bcf988b3046b11', class: this.class, innerHTML: chevronLeft });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-left"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronRight {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'e9abd378d28d9e2251e530f97a11973ea558fbe2', class: this.class, innerHTML: chevronRight });
11
+ return h("span", { key: '5368c37dc49fa654d75f42a774a9a3ad93db5261', class: this.class, innerHTML: chevronRight });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-right"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconChevronUp {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'f81db967bf78d75a4a8e572cda6427046603f0a6', class: this.class, innerHTML: chevronUp });
11
+ return h("span", { key: '6479f32960c973174c4577beef2f7df7b0baebd4', class: this.class, innerHTML: chevronUp });
12
12
  }
13
13
  static get is() { return "eds-icon-chevron-up"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconArrowDiagonal {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'ef60986a4391dffcbb2a66109f217f3cec95a5fc', class: this.class, innerHTML: arrowDiagonal });
11
+ return h("span", { key: 'f638b55d0ab199bbd7a52d099aa1242410ae1892', class: this.class, innerHTML: arrowDiagonal });
12
12
  }
13
13
  static get is() { return "eds-icon-arrow-diagonal"; }
14
14
  static get properties() {