@ebrains/components 2.2.0 → 2.3.1

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 (627) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  2. package/dist/cjs/components-section.cjs.entry.js +2 -2
  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/{eds-accordion_34.cjs.entry.js → eds-accordion_36.cjs.entry.js} +460 -69
  8. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  9. package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
  10. package/dist/cjs/eds-card-generic.cjs.entry.js +3 -3
  11. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-card-section.cjs.entry.js +2 -2
  13. package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
  14. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  16. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-footer.cjs.entry.js +5 -3
  18. package/dist/cjs/eds-frame.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +8 -2
  20. package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-clone.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  33. package/dist/cjs/eds-icon-download.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
  35. package/dist/cjs/eds-icon-edit.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  37. package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  39. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  43. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  44. package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
  45. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  46. package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
  47. package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
  49. package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
  50. package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
  51. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
  53. package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
  57. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  62. package/dist/cjs/eds-icon-view.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-modal.cjs.entry.js +4 -4
  65. package/dist/cjs/eds-pie.cjs.entry.js +1 -1
  66. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  67. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  68. package/dist/cjs/eds-social-networks.cjs.entry.js +2 -2
  69. package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
  70. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  71. package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
  72. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  73. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  74. package/dist/cjs/{index-0249a32e.js → index-50bc1aa4.js} +4 -7
  75. package/dist/cjs/loader.cjs.js +2 -2
  76. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  77. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  78. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  79. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  80. package/dist/cjs/svg-repository.cjs.entry.js +2 -2
  81. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  82. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  83. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  84. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  85. package/dist/collection/collection-manifest.json +15 -14
  86. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  87. package/dist/collection/components/eds-alert/eds-alert.js +2 -2
  88. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  89. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  90. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  91. package/dist/collection/components/eds-button/eds-button.js +1 -1
  92. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  94. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  95. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +8 -0
  96. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  97. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  98. package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.js +4 -4
  99. package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.js +1 -1
  100. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  101. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  102. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  103. package/dist/collection/components/eds-dropdown/eds-dropdown.js +127 -11
  104. package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.js +1 -1
  105. package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.stories.js +1 -1
  106. package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.js +4 -2
  107. package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.stories.js +1 -1
  108. package/dist/collection/{shared-ui → components}/eds-form/eds-form.js +47 -10
  109. package/dist/collection/{shared-ui → components}/eds-form/eds-form.stories.js +1 -1
  110. package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.js +1 -1
  111. package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.stories.js +1 -1
  112. package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.js +51 -1
  113. package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +1 -1
  114. package/dist/collection/{shared-ui → components}/eds-header/eds-header.js +4 -18
  115. package/dist/collection/{shared-ui → components}/eds-header/eds-header.stories.js +1 -1
  116. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  117. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  118. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  119. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  127. package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +1 -1
  128. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  129. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  130. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  131. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  133. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  134. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  135. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  136. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  137. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  138. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  139. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  140. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  141. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  142. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  143. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  144. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
  145. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  146. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  147. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  148. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  149. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  150. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  151. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  152. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
  153. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  154. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  155. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  156. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  157. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  158. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  159. package/dist/collection/components/eds-img/eds-img.js +2 -2
  160. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  161. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  162. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  163. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  164. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  165. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  166. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  167. package/dist/collection/components/eds-link/eds-link.js +1 -1
  168. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  169. package/dist/collection/components/eds-modal/eds-modal.css +41 -22
  170. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  171. package/dist/collection/components/eds-nps/eds-npm.stories.js +1 -1
  172. package/dist/collection/components/eds-nps/eds-nps.js +2 -2
  173. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  174. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  175. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  176. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  177. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  178. package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.js +1 -1
  179. package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.js +1 -1
  180. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  181. package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.js +1 -1
  182. package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.css +3 -1
  183. package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.js +37 -6
  184. package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.stories.js +1 -1
  185. package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.css +3 -1
  186. package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.js +40 -8
  187. package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.js +1 -1
  188. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  189. package/dist/collection/components/eds-table/eds-table.js +3 -3
  190. package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.js +2 -2
  191. package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.stories.js +1 -1
  192. package/dist/collection/components/eds-tag/eds-tag.js +3 -3
  193. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  194. package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.js +1 -1
  195. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  196. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  197. package/dist/collection/{shared-ui → components}/eds-user/eds-user.js +49 -2
  198. package/dist/collection/{shared-ui → components}/eds-user/eds-user.stories.js +1 -1
  199. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  200. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  201. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  202. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  203. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  204. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  205. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  206. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  207. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  208. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  209. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  210. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  211. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  212. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  213. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  214. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  215. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  216. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  217. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  218. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  219. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  220. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  221. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  222. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  223. package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +222 -0
  224. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +309 -0
  225. package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +277 -0
  226. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  227. package/dist/components/components-section.js +1 -1
  228. package/dist/components/components.css +310 -0
  229. package/dist/components/components.esm.js +1 -1
  230. package/dist/components/correct-use-of-colors.js +1 -1
  231. package/dist/components/docs-palettes.js +1 -1
  232. package/dist/components/docs-tokens.js +1 -1
  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 +4 -2
  252. package/dist/components/eds-form.js +38 -7
  253. package/dist/components/eds-frame.js +1 -1
  254. package/dist/components/eds-fullscreen-menu.js +11 -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 +5 -10
  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.js +1 -1
  272. package/dist/components/eds-icon-draft.js +1 -1
  273. package/dist/components/eds-icon-edit.js +1 -1
  274. package/dist/components/eds-icon-eu.js +1 -1
  275. package/dist/components/eds-icon-external.js +1 -1
  276. package/dist/components/eds-icon-facebook.js +1 -1
  277. package/dist/components/eds-icon-gitlab.js +1 -1
  278. package/dist/components/eds-icon-linkedin.js +1 -1
  279. package/dist/components/eds-icon-loader.js +1 -1
  280. package/dist/components/eds-icon-mastodon.js +1 -1
  281. package/dist/components/eds-icon-menu.js +1 -1
  282. package/dist/components/eds-icon-minus.js +1 -1
  283. package/dist/components/eds-icon-more.js +1 -1
  284. package/dist/components/eds-icon-paper.js +1 -1
  285. package/dist/components/eds-icon-plus.js +1 -1
  286. package/dist/components/eds-icon-portal.js +1 -1
  287. package/dist/components/eds-icon-private.js +1 -1
  288. package/dist/components/eds-icon-public.js +1 -1
  289. package/dist/components/eds-icon-search.js +1 -1
  290. package/dist/components/eds-icon-star.js +1 -1
  291. package/dist/components/eds-icon-start.js +1 -1
  292. package/dist/components/eds-icon-success.js +1 -1
  293. package/dist/components/eds-icon-thumbs-down.js +1 -1
  294. package/dist/components/eds-icon-thumbs-up.js +1 -1
  295. package/dist/components/eds-icon-tutorial.js +1 -1
  296. package/dist/components/eds-icon-twitter.js +1 -1
  297. package/dist/components/eds-icon-unknown.js +1 -1
  298. package/dist/components/eds-icon-updown.js +1 -1
  299. package/dist/components/eds-icon-user.js +1 -1
  300. package/dist/components/eds-icon-view.js +1 -1
  301. package/dist/components/eds-icon-youtube.js +1 -1
  302. package/dist/components/eds-img2.js +2 -2
  303. package/dist/components/eds-input-field2.js +2 -2
  304. package/dist/components/eds-input-footer2.js +1 -1
  305. package/dist/components/eds-input-label2.js +1 -1
  306. package/dist/components/eds-input-range2.js +1 -1
  307. package/dist/components/eds-input-search2.js +1 -1
  308. package/dist/components/eds-input-select2.js +2 -2
  309. package/dist/components/eds-input2.js +2 -2
  310. package/dist/components/eds-link2.js +1 -1
  311. package/dist/components/eds-logo2.js +1 -1
  312. package/dist/components/eds-modal.js +3 -3
  313. package/dist/components/eds-nps2.js +2 -2
  314. package/dist/components/eds-pagination2.js +1 -1
  315. package/dist/components/eds-progress-bar2.js +1 -1
  316. package/dist/components/eds-rating2.js +1 -1
  317. package/dist/components/eds-section-core2.js +1 -1
  318. package/dist/components/eds-section-heading2.js +2 -2
  319. package/dist/components/eds-social-networks2.js +1 -1
  320. package/dist/components/eds-spinner2.js +1 -1
  321. package/dist/components/eds-steps-v2.js +39 -7
  322. package/dist/components/eds-steps2.js +36 -5
  323. package/dist/components/eds-switch.js +2 -2
  324. package/dist/components/eds-table2.js +3 -3
  325. package/dist/components/eds-tabs.js +2 -2
  326. package/dist/components/eds-tag2.js +1 -1
  327. package/dist/components/eds-timeline.js +1 -1
  328. package/dist/components/eds-toast-manager.js +1 -1
  329. package/dist/components/eds-tooltip2.js +1 -1
  330. package/dist/components/eds-trl.js +1 -1
  331. package/dist/components/eds-user.js +12 -2
  332. package/dist/components/incorrect-use-of-colors.js +1 -1
  333. package/dist/components/logo-space.js +1 -1
  334. package/dist/components/logo-variations-horizontal2.js +1 -1
  335. package/dist/components/logo-variations-tabs.js +1 -1
  336. package/dist/components/logo-variations-vertical2.js +1 -1
  337. package/dist/components/logo-wrong-usage.js +1 -1
  338. package/dist/components/p-004801b2.entry.js +1 -0
  339. package/dist/components/p-02648f82.entry.js +1 -0
  340. package/dist/components/{p-a5fd4fc9.entry.js → p-0798d50d.entry.js} +1 -1
  341. package/dist/components/p-09f1b358.entry.js +1 -0
  342. package/dist/components/p-0ec9dcf5.entry.js +1 -0
  343. package/dist/components/p-0fb8511d.entry.js +1 -0
  344. package/dist/components/p-127870d7.entry.js +1 -0
  345. package/dist/components/p-12e153fb.entry.js +1 -0
  346. package/dist/components/p-1f80e708.entry.js +1 -0
  347. package/dist/components/{p-870001ee.entry.js → p-21b5ca1f.entry.js} +1 -1
  348. package/dist/components/p-24683124.entry.js +1 -0
  349. package/dist/components/{p-efbc374c.js → p-271c61ff.js} +1 -1
  350. package/dist/components/p-2bfcb3cf.entry.js +1 -0
  351. package/dist/components/{p-c66f4dd8.entry.js → p-2d6ca1c5.entry.js} +1 -1
  352. package/dist/components/p-2efa0ba6.entry.js +1 -0
  353. package/dist/components/p-33a639b5.entry.js +1 -0
  354. package/dist/components/p-36b17bf2.entry.js +1 -0
  355. package/dist/components/{p-dd28ab38.entry.js → p-398255ff.entry.js} +1 -1
  356. package/dist/components/p-3c478e74.entry.js +1 -0
  357. package/dist/components/{p-8fb1eb43.entry.js → p-447e436c.entry.js} +1 -1
  358. package/dist/components/p-44d33938.entry.js +1 -0
  359. package/dist/components/p-4995b8b2.entry.js +1 -0
  360. package/dist/components/{p-d1927da7.entry.js → p-4beb1e06.entry.js} +1 -1
  361. package/dist/components/p-53343ea1.entry.js +1 -0
  362. package/dist/components/p-54e29971.entry.js +1 -0
  363. package/dist/components/p-56447243.entry.js +1 -0
  364. package/dist/components/p-56cc4a15.entry.js +1 -0
  365. package/dist/components/p-5ddcec77.entry.js +1 -0
  366. package/dist/components/p-5e8142ed.entry.js +1 -0
  367. package/dist/components/p-70f5e9f5.entry.js +1 -0
  368. package/dist/components/p-714445de.entry.js +1 -0
  369. package/dist/components/p-7436a99a.entry.js +1 -0
  370. package/dist/components/{p-28ec52a7.entry.js → p-75b40e57.entry.js} +1 -1
  371. package/dist/components/{p-5479e43b.entry.js → p-76330532.entry.js} +1 -1
  372. package/dist/components/p-772d6ca9.entry.js +1 -0
  373. package/dist/components/p-79044ab6.entry.js +1 -0
  374. package/dist/components/{p-b31babda.entry.js → p-7ada2015.entry.js} +1 -1
  375. package/dist/components/{p-6a2d1e11.entry.js → p-7b0496b1.entry.js} +1 -1
  376. package/dist/components/{p-36db7db0.entry.js → p-7c7aaa95.entry.js} +1 -1
  377. package/dist/components/p-81ba0feb.entry.js +1 -0
  378. package/dist/components/p-82b357f7.entry.js +1 -0
  379. package/dist/components/{p-8eced026.entry.js → p-838d6773.entry.js} +1 -1
  380. package/dist/components/{p-d2e485a1.entry.js → p-83dde536.entry.js} +1 -1
  381. package/dist/components/p-84239973.entry.js +1 -0
  382. package/dist/components/p-85dfbfd3.entry.js +1 -0
  383. package/dist/components/{p-4c618a35.entry.js → p-963feadd.entry.js} +1 -1
  384. package/dist/components/p-a155c283.entry.js +1 -0
  385. package/dist/components/p-a4080044.entry.js +1 -0
  386. package/dist/components/p-abd40167.entry.js +1 -0
  387. package/dist/components/p-ae41414e.entry.js +1 -0
  388. package/dist/components/p-afb55d52.entry.js +1 -0
  389. package/dist/components/p-b471922f.entry.js +1 -0
  390. package/dist/components/p-b4c2c58d.entry.js +9 -0
  391. package/dist/components/{p-8edd07db.entry.js → p-b522fa70.entry.js} +1 -1
  392. package/dist/components/p-b6fc1a7d.entry.js +1 -0
  393. package/dist/components/p-b8a36d0f.entry.js +1 -0
  394. package/dist/components/{p-d3391236.entry.js → p-b8b4c01e.entry.js} +1 -1
  395. package/dist/components/p-bb4633ec.entry.js +1 -0
  396. package/dist/components/p-bc59e5ff.entry.js +1 -0
  397. package/dist/components/{p-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
  398. package/dist/components/{p-64b7a6fc.entry.js → p-ca91952b.entry.js} +1 -1
  399. package/dist/components/p-cdabb63e.entry.js +1 -0
  400. package/dist/components/{p-1b032aa8.entry.js → p-ce3b6043.entry.js} +1 -1
  401. package/dist/components/p-d3fa440f.entry.js +1 -0
  402. package/dist/components/{p-79afd8aa.entry.js → p-da96c7cd.entry.js} +1 -1
  403. package/dist/components/p-dacd8c26.entry.js +1 -0
  404. package/dist/components/p-ddec1f12.entry.js +1 -0
  405. package/dist/components/p-df18ffd1.entry.js +1 -0
  406. package/dist/components/p-e2bc6329.entry.js +1 -0
  407. package/dist/components/{p-4db384d9.entry.js → p-e614c8e8.entry.js} +1 -1
  408. package/dist/components/p-e6819f4d.entry.js +1 -0
  409. package/dist/components/p-e8d0a2db.entry.js +1 -0
  410. package/dist/components/{p-ff902c98.entry.js → p-e9a6f693.entry.js} +1 -1
  411. package/dist/components/p-eaf5d057.entry.js +1 -0
  412. package/dist/components/p-eb57d477.entry.js +1 -0
  413. package/dist/components/p-efdc6fd7.entry.js +1 -0
  414. package/dist/components/p-f013c0ac.entry.js +1 -0
  415. package/dist/components/p-f1ead3b3.entry.js +1 -0
  416. package/dist/components/p-f227bac5.entry.js +1 -0
  417. package/dist/components/{p-50d7eed9.entry.js → p-f2b12631.entry.js} +1 -1
  418. package/dist/components/{p-265150a1.entry.js → p-fda3df86.entry.js} +1 -1
  419. package/dist/components/{p-58c8c0d7.entry.js → p-fe2bb83e.entry.js} +1 -1
  420. package/dist/components/primary.js +1 -1
  421. package/dist/components/primary2.js +1 -1
  422. package/dist/components/secondary.js +1 -1
  423. package/dist/components/secondary2.js +7 -7
  424. package/dist/components/support.js +1 -1
  425. package/dist/components/support2.js +3 -3
  426. package/dist/components/svg-repository.js +1 -1
  427. package/dist/components/token-list2.js +1 -1
  428. package/dist/components/token-radii2.js +1 -1
  429. package/dist/components/token-ratios.js +1 -1
  430. package/dist/components/token-shadows2.js +1 -1
  431. package/dist/components/token-spacing.js +1 -1
  432. package/dist/components/token-typography.js +1 -1
  433. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  434. package/dist/esm/components-section.entry.js +2 -2
  435. package/dist/esm/components.js +3 -3
  436. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  437. package/dist/esm/docs-palettes.entry.js +2 -2
  438. package/dist/esm/docs-tokens.entry.js +2 -2
  439. package/dist/esm/{eds-accordion_34.entry.js → eds-accordion_36.entry.js} +459 -70
  440. package/dist/esm/eds-app-root.entry.js +2 -2
  441. package/dist/esm/eds-card-desc_2.entry.js +3 -3
  442. package/dist/esm/eds-card-generic.entry.js +3 -3
  443. package/dist/esm/eds-card-project.entry.js +2 -2
  444. package/dist/esm/eds-card-section.entry.js +2 -2
  445. package/dist/esm/eds-card-tags.entry.js +2 -2
  446. package/dist/esm/eds-card-tool.entry.js +2 -2
  447. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  448. package/dist/esm/eds-feedback.entry.js +2 -2
  449. package/dist/esm/eds-footer.entry.js +5 -3
  450. package/dist/esm/eds-frame.entry.js +2 -2
  451. package/dist/esm/eds-fullscreen-menu.entry.js +8 -2
  452. package/dist/esm/eds-gauge.entry.js +2 -2
  453. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  454. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  455. package/dist/esm/eds-icon-bin.entry.js +2 -2
  456. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  457. package/dist/esm/eds-icon-bookmark.entry.js +2 -2
  458. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  459. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  460. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  461. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  462. package/dist/esm/eds-icon-clone.entry.js +2 -2
  463. package/dist/esm/eds-icon-close.entry.js +2 -2
  464. package/dist/esm/eds-icon-copy.entry.js +2 -2
  465. package/dist/esm/eds-icon-download.entry.js +2 -2
  466. package/dist/esm/eds-icon-draft.entry.js +2 -2
  467. package/dist/esm/eds-icon-edit.entry.js +2 -2
  468. package/dist/esm/eds-icon-eu.entry.js +2 -2
  469. package/dist/esm/eds-icon-external.entry.js +2 -2
  470. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  471. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  472. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  473. package/dist/esm/eds-icon-loader.entry.js +2 -2
  474. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  475. package/dist/esm/eds-icon-menu.entry.js +2 -2
  476. package/dist/esm/eds-icon-minus.entry.js +2 -2
  477. package/dist/esm/eds-icon-more.entry.js +2 -2
  478. package/dist/esm/eds-icon-paper.entry.js +2 -2
  479. package/dist/esm/eds-icon-plus.entry.js +2 -2
  480. package/dist/esm/eds-icon-portal.entry.js +2 -2
  481. package/dist/esm/eds-icon-private.entry.js +2 -2
  482. package/dist/esm/eds-icon-public.entry.js +2 -2
  483. package/dist/esm/eds-icon-search.entry.js +2 -2
  484. package/dist/esm/eds-icon-star.entry.js +2 -2
  485. package/dist/esm/eds-icon-start.entry.js +2 -2
  486. package/dist/esm/eds-icon-success.entry.js +2 -2
  487. package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
  488. package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
  489. package/dist/esm/eds-icon-tutorial.entry.js +2 -2
  490. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  491. package/dist/esm/eds-icon-unknown.entry.js +2 -2
  492. package/dist/esm/eds-icon-updown.entry.js +2 -2
  493. package/dist/esm/eds-icon-user.entry.js +2 -2
  494. package/dist/esm/eds-icon-view.entry.js +2 -2
  495. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  496. package/dist/esm/eds-modal.entry.js +4 -4
  497. package/dist/esm/eds-pie.entry.js +1 -1
  498. package/dist/esm/eds-progress-bar.entry.js +2 -2
  499. package/dist/esm/eds-section-core_2.entry.js +4 -4
  500. package/dist/esm/eds-social-networks.entry.js +2 -2
  501. package/dist/esm/eds-splash-screen.entry.js +1 -1
  502. package/dist/esm/eds-timeline.entry.js +2 -2
  503. package/dist/esm/eds-toast-manager.entry.js +2 -2
  504. package/dist/esm/eds-trl.entry.js +2 -2
  505. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  506. package/dist/esm/{index-e84b871c.js → index-870ab08f.js} +4 -7
  507. package/dist/esm/loader.js +3 -3
  508. package/dist/esm/logo-space.entry.js +2 -2
  509. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  510. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  511. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  512. package/dist/esm/svg-repository.entry.js +2 -2
  513. package/dist/esm/token-list_3.entry.js +4 -4
  514. package/dist/esm/token-ratios.entry.js +2 -2
  515. package/dist/esm/token-spacing.entry.js +2 -2
  516. package/dist/esm/token-typography.entry.js +2 -2
  517. package/dist/hydrate/index.js +540 -185
  518. package/dist/hydrate/index.mjs +540 -185
  519. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +1 -0
  520. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +27 -6
  521. package/dist/types/{shared-ui → components}/eds-form/eds-form.d.ts +2 -2
  522. package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
  523. package/dist/types/{shared-ui → components}/eds-header/eds-header.d.ts +0 -2
  524. package/dist/types/{shared-ui → components}/eds-steps/eds-steps.d.ts +2 -1
  525. package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.d.ts +2 -0
  526. package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
  527. package/dist/types/{shared-ui → components}/eds-user/eds-user.d.ts +4 -0
  528. package/dist/types/components.d.ts +176 -33
  529. package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +72 -0
  530. package/dist/types/shared-ui/eds-global-search/eds-global-search.stories.d.ts +40 -0
  531. package/dist/types/types/global.d.ts +11 -0
  532. package/package.json +1 -1
  533. package/dist/cjs/eds-spinner.cjs.entry.js +0 -88
  534. package/dist/components/p-0452fe52.entry.js +0 -1
  535. package/dist/components/p-04f288b1.entry.js +0 -1
  536. package/dist/components/p-06951aa3.entry.js +0 -1
  537. package/dist/components/p-101392d0.entry.js +0 -1
  538. package/dist/components/p-171f8e6b.entry.js +0 -1
  539. package/dist/components/p-19e69c03.entry.js +0 -1
  540. package/dist/components/p-2f712656.entry.js +0 -1
  541. package/dist/components/p-3097c321.entry.js +0 -1
  542. package/dist/components/p-38b0ea8d.entry.js +0 -1
  543. package/dist/components/p-3b551ade.entry.js +0 -9
  544. package/dist/components/p-3fa4a703.entry.js +0 -1
  545. package/dist/components/p-3fa54526.entry.js +0 -1
  546. package/dist/components/p-42680319.entry.js +0 -1
  547. package/dist/components/p-4d207d0e.entry.js +0 -1
  548. package/dist/components/p-5367bb59.entry.js +0 -1
  549. package/dist/components/p-5a88cdc2.entry.js +0 -1
  550. package/dist/components/p-5b574bb2.entry.js +0 -1
  551. package/dist/components/p-5ec9fc29.entry.js +0 -1
  552. package/dist/components/p-5f350866.entry.js +0 -1
  553. package/dist/components/p-5ff10b6f.entry.js +0 -1
  554. package/dist/components/p-6420754e.entry.js +0 -1
  555. package/dist/components/p-6614881d.entry.js +0 -1
  556. package/dist/components/p-68a2cd95.entry.js +0 -1
  557. package/dist/components/p-6b988c76.entry.js +0 -1
  558. package/dist/components/p-7032a73b.entry.js +0 -1
  559. package/dist/components/p-7272628d.entry.js +0 -1
  560. package/dist/components/p-78c348e2.entry.js +0 -1
  561. package/dist/components/p-7a5623b5.entry.js +0 -1
  562. package/dist/components/p-7fa46b01.entry.js +0 -1
  563. package/dist/components/p-86eff0cb.entry.js +0 -1
  564. package/dist/components/p-88eeaeca.entry.js +0 -1
  565. package/dist/components/p-8b7910d2.entry.js +0 -1
  566. package/dist/components/p-8cf98230.entry.js +0 -1
  567. package/dist/components/p-8ef68d8a.entry.js +0 -1
  568. package/dist/components/p-9261d27c.entry.js +0 -1
  569. package/dist/components/p-94a223ec.entry.js +0 -1
  570. package/dist/components/p-9cb14b1f.entry.js +0 -1
  571. package/dist/components/p-a6586448.entry.js +0 -1
  572. package/dist/components/p-ad7d603b.entry.js +0 -1
  573. package/dist/components/p-b24ef7f7.entry.js +0 -1
  574. package/dist/components/p-baa2df0b.entry.js +0 -1
  575. package/dist/components/p-bfe9d934.entry.js +0 -1
  576. package/dist/components/p-c1943b8f.entry.js +0 -1
  577. package/dist/components/p-da0e9a75.entry.js +0 -1
  578. package/dist/components/p-dbe11048.entry.js +0 -1
  579. package/dist/components/p-e42ac312.entry.js +0 -1
  580. package/dist/components/p-e6c3f38c.entry.js +0 -1
  581. package/dist/components/p-e7c37e5b.entry.js +0 -1
  582. package/dist/components/p-e8374410.entry.js +0 -1
  583. package/dist/components/p-e90da4ba.entry.js +0 -1
  584. package/dist/components/p-e9cd3c4b.entry.js +0 -1
  585. package/dist/components/p-ebd59113.entry.js +0 -1
  586. package/dist/components/p-f092b706.entry.js +0 -1
  587. package/dist/components/p-f29e7506.entry.js +0 -1
  588. package/dist/components/p-f40dd50d.entry.js +0 -1
  589. package/dist/components/p-fc099d59.entry.js +0 -1
  590. package/dist/components/p-fda3da92.entry.js +0 -1
  591. package/dist/esm/eds-spinner.entry.js +0 -84
  592. /package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.css +0 -0
  593. /package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.css +0 -0
  594. /package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.css +0 -0
  595. /package/dist/collection/{shared-ui → components}/eds-form/eds-form.css +0 -0
  596. /package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.css +0 -0
  597. /package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.css +0 -0
  598. /package/dist/collection/{shared-ui → components}/eds-header/eds-header.css +0 -0
  599. /package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.css +0 -0
  600. /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.css +0 -0
  601. /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.js +0 -0
  602. /package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.css +0 -0
  603. /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.css +0 -0
  604. /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.js +0 -0
  605. /package/dist/collection/{shared-ui → components}/eds-user/eds-user.css +0 -0
  606. /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.d.ts +0 -0
  607. /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.d.ts +0 -0
  608. /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.d.ts +0 -0
  609. /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.stories.d.ts +0 -0
  610. /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.d.ts +0 -0
  611. /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.stories.d.ts +0 -0
  612. /package/dist/types/{shared-ui → components}/eds-form/eds-form.stories.d.ts +0 -0
  613. /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.d.ts +0 -0
  614. /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.stories.d.ts +0 -0
  615. /package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -0
  616. /package/dist/types/{shared-ui → components}/eds-header/eds-header.stories.d.ts +0 -0
  617. /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.d.ts +0 -0
  618. /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.d.ts +0 -0
  619. /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.d.ts +0 -0
  620. /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.d.ts +0 -0
  621. /package/dist/types/{shared-ui → components}/eds-steps/eds-steps.stories.d.ts +0 -0
  622. /package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.d.ts +0 -0
  623. /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.d.ts +0 -0
  624. /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.stories.d.ts +0 -0
  625. /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.d.ts +0 -0
  626. /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.d.ts +0 -0
  627. /package/dist/types/{shared-ui → components}/eds-user/eds-user.stories.d.ts +0 -0
@@ -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
  const analytics = require('./analytics-28713bf7.js');
7
7
  const index$1 = require('./index-ab9fbefe.js');
8
8
  const sharedUtils = require('./sharedUtils-8e287250.js');
@@ -79,10 +79,10 @@ const EdsAccordion = class {
79
79
  * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
80
80
  */
81
81
  render() {
82
- return (index.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
82
+ return (index.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
83
83
  ${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
84
84
  ${this.switchBg ? 'hover:bg-inverse' : ''}
85
- ${this.description ? 'min-h-56' : ''}` }, index.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), index.h("div", { key: '0fc6d493fd61726a53a8c4311bd183eb3ad5b270', class: "ml-auto" }, index.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" })), index.h("div", { key: '084bfb116dcccadf7253ca8ac8de6a1e1d4aa41f', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (index.h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, index.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' } }, index.h("div", { key: '842bc3bc7a968ef5a428a97327f38253e8a32888', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, index.h("span", { key: '7c8fa8040da18cc2c128b42cdf9e75bfffe4c439', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, index.h("slot", { key: '852837c0c8c9d8a36f6263f7a943f50d82563a3c' })))))));
85
+ ${this.description ? 'min-h-56' : ''}` }, index.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), index.h("div", { key: '56b7b70d16cf3f944bf3cec878bd15c3e18b399b', class: "ml-auto" }, index.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" })), index.h("div", { key: 'c75c4d840bc8be25ee7590d90e3290faf090fdf0', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (index.h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, index.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' } }, index.h("div", { key: '75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, index.h("span", { key: 'e08cefc1d6fe7f3d162de86a17646d88a8686d83', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, index.h("slot", { key: '77d3a7fb997a9f313e3013a17f87c28f7ff8adad' })))))));
86
86
  }
87
87
  get el() { return index.getElement(this); }
88
88
  };
@@ -183,12 +183,12 @@ const EdsAlert = class {
183
183
  }
184
184
  render() {
185
185
  const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
186
- return (index.h("div", { key: '2d22944e7ae86cf2523c194e20215a3d986083d9', class: alertStyles({
186
+ return (index.h("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
187
187
  intent: this.intent,
188
188
  brd: this.brd,
189
189
  direction: this.direction,
190
190
  withBtn: this.withBtn
191
- }), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, index.h("p", { key: 'b6c22446b0d87fb01a3cb882fe205ef48ea60b05', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (index.h("div", { key: '8414820eb7b65c83459cfb90adef3ea696e42444', id: "alert-action" }, this.pressableUrl ? (index.h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (index.h("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
191
+ }), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, index.h("p", { key: 'fb3a1d216279b4076b09ef9544d37c5229b4d706', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (index.h("div", { key: 'a5edd833ae3924f41edb17068090eeeb4e9f9cfd', id: "alert-action" }, this.pressableUrl ? (index.h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (index.h("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
192
192
  }
193
193
  get el() { return index.getElement(this); }
194
194
  };
@@ -251,7 +251,7 @@ const EdsAvatar = class {
251
251
  * @returns {JSX.Element} The rendered avatar component.
252
252
  */
253
253
  render() {
254
- return (index.h("div", { key: '34e86e50b1176efd8ae0cd9b30cd3823527d7eee', class: this.containerClasses }, this.picture ? (index.h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (index.h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
254
+ return (index.h("div", { key: 'd29c110e340567236716e77c4f003bec5c70ee63', class: this.containerClasses }, this.picture ? (index.h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (index.h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
255
255
  }
256
256
  };
257
257
  EdsAvatar.style = EdsAvatarStyle0;
@@ -265,7 +265,7 @@ const EdsBlockBreak = class {
265
265
  this.inverse = false;
266
266
  }
267
267
  render() {
268
- return index.h("hr", { key: '688e11c730af1193f28db196cd144c6dd2efc3c6', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
268
+ return index.h("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
269
269
  }
270
270
  };
271
271
  EdsBlockBreak.style = EdsBlockBreakStyle0;
@@ -385,7 +385,7 @@ const EdsBreadcrumb = class {
385
385
  */
386
386
  render() {
387
387
  const itemsToRender = this.getTruncatedItems();
388
- return (index.h("nav", { key: '0625a234ec9f5095abbeaafa11e56bceb0432764', "aria-label": "Breadcrumb" }, index.h("ol", { key: '3898a4b048eca6c606a6948b26ec25a608cb908e', class: "flex items-center space-x-2" }, itemsToRender.map((item, index$1) => {
388
+ return (index.h("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, index.h("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index$1) => {
389
389
  const isLast = index$1 === itemsToRender.length - 1;
390
390
  return (index.h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
391
391
  const { fullLabel } = this.getLabels(item, isLast);
@@ -575,7 +575,7 @@ const EdsButton = class {
575
575
  });
576
576
  const ElementType = this.elementType;
577
577
  const isInteractive = !this.disabled && !this.loading;
578
- return (index.h(index.Host, { key: '835cc81d3563abf1b5cb4c21165de1ef726d1e43' }, index.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 && (index.h("span", { key: '27c7473403e7c1bfd3dfc270151d44dbb639ceb3', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (index.h("span", { key: 'f52496884816bc299fb76c1afae5e4798bf642d2', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, index.h("span", { key: 'd42bf2c229f6956a1e0dbe64aa6c79ad5608ca5c', class: "loader", style: {
578
+ return (index.h(index.Host, { key: 'fe91be3eb9c2a3ece800097392462b3bd76f1264' }, index.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 && (index.h("span", { key: '2b55edc1b986950ba03a759cffd7346c8611ac0a', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (index.h("span", { key: '5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, index.h("span", { key: '2746ef996f0835c76c4ef2cbd39103ad4d07c21f', class: "loader", style: {
579
579
  border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
580
580
  borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
581
581
  } }))), this.icon ? (index.h("eds-icon-wrapper", { class: `
@@ -3064,7 +3064,7 @@ const EdsCodeBlock = class {
3064
3064
  return this.code; // Fallback if language is not provided or unsupported
3065
3065
  }
3066
3066
  render() {
3067
- return (index.h("div", { key: '3cfaec27c58d05868313150f1a358ff64c8eafbd', class: "relative bg-stronger rounded-sm" }, index.h("div", { key: 'ed91821385f30305348750dbfffec5fdd7b4dbb8', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (index.h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (index.h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, index.h("code", { innerHTML: this.getHighlightedCode() }))), index.h("span", { key: '3e419585214883c878a8e84c440dbd29d590002d', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, index.h("eds-icon-wrapper", { key: '051fa9c714d5c077d5d96ec9b92f8a744ec123bc', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), index.h("span", { key: '707950ce89cb0c24b1afac42a8801d13659b6bab', class: "sr-only" }, "Copy Code")), this.language && (index.h("pre", { key: '59923dd4c16cfecafffa2edaaac5ef7579c3f128', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, index.h("code", { key: '8c708992c04029d71685ad8922383ecdda05ac3c', innerHTML: this.getHighlightedCode() })))));
3067
+ return (index.h("div", { key: '2c5addd195dc8d930db643e95ecc52410dd94052', class: "relative bg-stronger rounded-sm" }, index.h("div", { key: 'aea2d891f9e5d57d4b8390cff4597cb8edd163a1', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (index.h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (index.h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, index.h("code", { innerHTML: this.getHighlightedCode() }))), index.h("span", { key: '41e2d463bde145f901eae42dda68091a9a42e3ef', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, index.h("eds-icon-wrapper", { key: '7285b81dd936c770b09b4a36bed8c8ba2a87da99', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), index.h("span", { key: 'a12d74735064478480544cc4b5cf14d7b028b1a8', class: "sr-only" }, "Copy Code")), this.language && (index.h("pre", { key: '2fcde4f271059ac98cb3b1b6bffbf4564ccf795b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, index.h("code", { key: '68a8b83f492e7b0eb2916a063e28a4293e6a988f', innerHTML: this.getHighlightedCode() })))));
3068
3068
  }
3069
3069
  get el() { return index.getElement(this); }
3070
3070
  };
@@ -3082,10 +3082,12 @@ const EdsDropdown = class {
3082
3082
  * Toggles the visibility of the dropdown and manages focus.
3083
3083
  */
3084
3084
  this.handleClick = () => {
3085
- var _a;
3085
+ var _a, _b;
3086
3086
  this.isOpen = !this.isOpen;
3087
3087
  if (this.isOpen) {
3088
- this.focusIndex = 0;
3088
+ // refresh focusables each open in case slot changed
3089
+ this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
3090
+ this.focusIndex = this.focusableItems.length ? 0 : -1;
3089
3091
  this.focusItem();
3090
3092
  }
3091
3093
  else {
@@ -3096,7 +3098,7 @@ const EdsDropdown = class {
3096
3098
  category: 'ui-component',
3097
3099
  parentContext: null,
3098
3100
  tag: this.host.tagName.toLowerCase(),
3099
- name: ((_a = this.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
3101
+ name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
3100
3102
  action: this.isOpen ? 'expanded' : 'collapsed'
3101
3103
  });
3102
3104
  };
@@ -3108,9 +3110,14 @@ const EdsDropdown = class {
3108
3110
  this.dropdownPos = 'left';
3109
3111
  this.dropdownOffset = true;
3110
3112
  this.intent = 'tertiary';
3113
+ this.autoClose = true;
3114
+ this.noCloseSelector = '[data-dropdown-no-close]';
3111
3115
  this.isOpen = false;
3112
3116
  this.focusIndex = -1;
3113
3117
  }
3118
+ async close() {
3119
+ this.closeDropdown();
3120
+ }
3114
3121
  /**
3115
3122
  * Closes the dropdown when a click occurs outside of it.
3116
3123
  * @param {Event} e - The click event.
@@ -3170,19 +3177,55 @@ const EdsDropdown = class {
3170
3177
  var _a;
3171
3178
  this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
3172
3179
  }
3180
+ handleHostInternalClick(ev) {
3181
+ var _a;
3182
+ if (!this.isOpen || !this.panelEl) {
3183
+ return;
3184
+ }
3185
+ const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
3186
+ const clickedInsidePanel = path.includes(this.panelEl);
3187
+ if (!clickedInsidePanel) {
3188
+ return;
3189
+ }
3190
+ // Check if element has explicit close attribute
3191
+ const hasCloseAttribute = path.some((t) => {
3192
+ var _a;
3193
+ const n = t;
3194
+ return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
3195
+ });
3196
+ // If element has data-dropdown-close, always close regardless of autoClose setting
3197
+ if (hasCloseAttribute) {
3198
+ setTimeout(() => this.closeDropdown(), 0);
3199
+ return;
3200
+ }
3201
+ // If autoClose is disabled and no explicit close attribute, don't close
3202
+ if (!this.autoClose) {
3203
+ return;
3204
+ }
3205
+ // Auto-close mode: close unless clicked element opts out
3206
+ const shouldNotClose = path.some((t) => {
3207
+ var _a;
3208
+ const n = t;
3209
+ return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
3210
+ });
3211
+ if (!shouldNotClose) {
3212
+ // Defer to allow the item's own click (e.g., router navigation) to run first
3213
+ setTimeout(() => this.closeDropdown(), 0);
3214
+ }
3215
+ }
3173
3216
  /**
3174
3217
  * Renders the dropdown component and displays its content when open.
3175
3218
  * @returns {JSX.Element} The rendered dropdown component.
3176
3219
  */
3177
3220
  render() {
3178
- return (index.h("div", { key: '31e8b1fd4e146cbcad4d74bd78dff1cd1e1950bd', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, index.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" }), index.h("nav", { key: '904fd2a7f727a8b3966eab6cf9ebdb0efa474ae0', role: "menu", class: {
3221
+ return (index.h("div", { key: 'e31acbda3428f47fe32cfe550cf00c53374da215', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, index.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" }), index.h("nav", { key: '59f8533409171401ed73eac8d307e4eafbde9209', ref: (el) => (this.panelEl = el), role: "menu", class: {
3179
3222
  '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,
3180
3223
  'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
3181
3224
  'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
3182
3225
  'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
3183
3226
  'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
3184
3227
  'rounded-lg': this.rounded
3185
- }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, index.h("slot", { key: 'b416621930c7117775fef2ee91bdca0f660302f5' }))));
3228
+ }, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, index.h("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
3186
3229
  }
3187
3230
  get host() { return index.getElement(this); }
3188
3231
  };
@@ -3407,8 +3450,8 @@ const EdsForm = class {
3407
3450
  index.registerInstance(this, hostRef);
3408
3451
  this.form = index.createEvent(this, "form", 7);
3409
3452
  this.name = 'eds-form';
3410
- this.title = undefined;
3411
- this.description = undefined;
3453
+ this.title = 'Form Title';
3454
+ this.description = 'Form Description';
3412
3455
  this.setFormUrl = true;
3413
3456
  this.formBtn = true;
3414
3457
  this.formBtnLabel = 'Submit';
@@ -3539,6 +3582,7 @@ const EdsForm = class {
3539
3582
  return formData;
3540
3583
  }
3541
3584
  makeFormData() {
3585
+ var _a;
3542
3586
  const formData = new FormData();
3543
3587
  // Add the form name
3544
3588
  formData.append('form_name', this.name);
@@ -3550,6 +3594,36 @@ const EdsForm = class {
3550
3594
  // Append each key-value pair to the FormData object.
3551
3595
  formData.append(key, this.values[key]);
3552
3596
  });
3597
+ // 2) Only do the (slower) DOM scan if we actually have file fields in the config
3598
+ const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
3599
+ if (hasFileField && this.formEl) {
3600
+ // Find file inputs inside each eds-input-field's shadowRoot
3601
+ const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
3602
+ hosts.forEach((host) => {
3603
+ const root = host.shadowRoot;
3604
+ if (!root)
3605
+ return;
3606
+ const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
3607
+ console.log(fileInputs);
3608
+ fileInputs.forEach((fi) => {
3609
+ const name = fi.name;
3610
+ const files = fi.files ? Array.from(fi.files) : [];
3611
+ if (files.length > 0) {
3612
+ // Append each file under the same field name (backend can use request.files.getlist(name))
3613
+ files.forEach((file) => formData.append(name, file));
3614
+ }
3615
+ });
3616
+ });
3617
+ // (Optional) mark that this payload includes files (handy in logs / policies)
3618
+ // formData.set('_has_files', '1');
3619
+ }
3620
+ /*formData.forEach((value, key) => {
3621
+ if (value instanceof File) {
3622
+ console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
3623
+ } else {
3624
+ console.log(`Field: ${key}, Value: ${value}`);
3625
+ }
3626
+ });*/
3553
3627
  return formData;
3554
3628
  }
3555
3629
  handleChange(e, field) {
@@ -3660,11 +3734,11 @@ const EdsForm = class {
3660
3734
  message: `${field.name} updated`
3661
3735
  });
3662
3736
  }
3663
- handleSubmit() {
3737
+ handleSubmit(e) {
3664
3738
  var _a, _b;
3665
- if (this.isSubmitting) {
3739
+ e === null || e === void 0 ? void 0 : e.preventDefault();
3740
+ if (this.isSubmitting)
3666
3741
  return;
3667
- }
3668
3742
  this.isSubmitting = true;
3669
3743
  this.validateForm();
3670
3744
  if (this.hasError) {
@@ -3759,9 +3833,9 @@ const EdsForm = class {
3759
3833
  const styleClasses = this.formStyle === 'shadow'
3760
3834
  ? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
3761
3835
  : '';
3762
- return (index.h("form", { key: 'ecf49eb81f18b444d059d3bdea4600f4ae594ea9', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, index.h("div", { key: '65137fb770f274431c7906326cdf49e0fee73b18', class: "flex flex-col gap-y-24" }, this.title && (index.h("span", { key: 'e4c5b4a7883c4569a657cc234f18f995480ec8df', role: "heading", class: "f-heading-04" }, this.title)), this.description && index.h("span", { key: '65528e4600127f1cff4ce0e5be6f8a6bddc4c864', class: "f-body-02 text-light" }, this.description), index.h("slot", { key: '6230035a050386763723c2b60bd5e81b912762d7' })), hiddenFields.map((field, index$1) => (index.h("eds-input", { key: index$1, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
3836
+ return (index.h("form", { key: '0b7014a7e6c641f2abc6217d919583dafce50067', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, index.h("div", { key: '3beaa87c72ac60e37bf5c7093b8a3f5b54c9eb4b', class: "flex flex-col gap-y-24" }, this.title && (index.h("span", { key: '5d07685b0e31419d442765c230f9cd2373ce2773', role: "heading", class: "f-heading-04" }, this.title)), this.description && index.h("span", { key: '13fe635ea00fa3c950951f1df37549fa75341666', class: "f-body-02 text-light" }, this.description), index.h("slot", { key: '5e62b8844536ef127ce2565e4167766bf6d5ba4d' })), hiddenFields.map((field, index$1) => (index.h("eds-input", { key: index$1, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
3763
3837
  .filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
3764
- .map((g) => (index.h("div", { class: "container mt-32", key: g.id }, index.h("span", { class: "f-body-02" }, index.h("b", null, g.title)), index.h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), index.h("div", { key: '8116d30248f8461a842365470da9915200531028', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (index.h("div", { key: 'e2f1d3ca6a9f6a3b44c45e576150505c49e41dd1', class: "mt-32" }, index.h("eds-button", { key: 'e312bf08b5db526c00497fafaa9476a225919aaf', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
3838
+ .map((g) => (index.h("div", { class: "mt-32", key: g.id }, index.h("span", { class: "f-body-02" }, index.h("b", null, g.title)), index.h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), index.h("div", { key: '831b919b0784a671596678392fe5aa0433af35a5', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (index.h("div", { key: 'bdddee0aa0899c9cea3ce737f30f1e25ce8d95c5', class: "mt-32" }, index.h("eds-button", { key: 'f9a61383079b998dc98558d85b93e30aa32a3eeb', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
3765
3839
  }
3766
3840
  get el() { return index.getElement(this); }
3767
3841
  static get watchers() { return {
@@ -3771,6 +3845,174 @@ const EdsForm = class {
3771
3845
  };
3772
3846
  EdsForm.style = EdsFormStyle0;
3773
3847
 
3848
+ const edsGlobalSearchCss = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:10px 14px;cursor:pointer;transition:background-color 0.15s ease;border-left:3px solid transparent;overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background-color:var(--grey-200);border-left-color:var(--green-600)}.result-header{display:flex;align-items:center;justify-content:space-between}.result-snippet{font-size:13px;color:#616161;line-height:1.4;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dropdown-footer{border-top:1px solid #e0e0e0;padding:8px 16px;background:#fafafa;flex-shrink:0}.footer-hint{font-size:11px;color:#757575;display:flex;align-items:center;gap:4px;flex-wrap:wrap}kbd{display:inline-block;padding:2px 5px;font-size:10px;font-family:monospace;line-height:1;color:#424242;background-color:#f5f5f5;border:1px solid #bdbdbd;border-radius:3px;box-shadow:0 1px 0 rgba(0, 0, 0, 0.1)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:#f5f5f5}.dropdown-results::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}";
3849
+ const EdsGlobalSearchStyle0 = edsGlobalSearchCss;
3850
+
3851
+ const EdsGlobalSearch = class {
3852
+ constructor(hostRef) {
3853
+ index.registerInstance(this, hostRef);
3854
+ this.resultSelected = index.createEvent(this, "resultSelected", 7);
3855
+ this.searchClosed = index.createEvent(this, "searchClosed", 7);
3856
+ this.handleInput = (event) => {
3857
+ var _a;
3858
+ const target = event.target;
3859
+ this.query = target.value;
3860
+ if (this.debounceTimer) {
3861
+ clearTimeout(this.debounceTimer);
3862
+ }
3863
+ if (!this.query.trim()) {
3864
+ this.results = [];
3865
+ this.hasSearched = false;
3866
+ this.showDropdown = false;
3867
+ return;
3868
+ }
3869
+ analytics.sendAnalytics({
3870
+ category: 'shared-ui',
3871
+ parentContext: null,
3872
+ tag: this.el.tagName.toLowerCase(),
3873
+ name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
3874
+ 'unknow seach input query',
3875
+ action: 'click',
3876
+ });
3877
+ this.debounceTimer = window.setTimeout(() => {
3878
+ this.runSearch();
3879
+ }, this.debounceDelay);
3880
+ };
3881
+ this.apiEndpoint = '/api/v1/global-search';
3882
+ this.placeholder = 'Search Handbook + Design...';
3883
+ this.limit = 20;
3884
+ this.debounceDelay = 300;
3885
+ this.query = '';
3886
+ this.results = [];
3887
+ this.loading = false;
3888
+ this.error = '';
3889
+ this.hasSearched = false;
3890
+ this.showDropdown = false;
3891
+ this.selectedIndex = -1;
3892
+ }
3893
+ componentDidLoad() {
3894
+ // Focus input if needed
3895
+ if (this.inputRef) {
3896
+ this.inputRef.focus();
3897
+ }
3898
+ }
3899
+ disconnectedCallback() {
3900
+ if (this.debounceTimer) {
3901
+ clearTimeout(this.debounceTimer);
3902
+ }
3903
+ }
3904
+ handleDocumentClick(event) {
3905
+ const path = event.composedPath();
3906
+ if (!path.includes(this.el)) {
3907
+ this.showDropdown = false;
3908
+ this.selectedIndex = -1;
3909
+ }
3910
+ }
3911
+ handleKeydown(event) {
3912
+ if (!this.showDropdown || this.results.length === 0) {
3913
+ if (event.key === 'Escape') {
3914
+ this.searchClosed.emit();
3915
+ }
3916
+ return;
3917
+ }
3918
+ switch (event.key) {
3919
+ case 'ArrowDown':
3920
+ event.preventDefault();
3921
+ this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
3922
+ this.scrollToSelected();
3923
+ break;
3924
+ case 'ArrowUp':
3925
+ event.preventDefault();
3926
+ this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
3927
+ this.scrollToSelected();
3928
+ break;
3929
+ case 'Enter':
3930
+ event.preventDefault();
3931
+ if (this.selectedIndex >= 0 &&
3932
+ this.selectedIndex < this.results.length) {
3933
+ this.selectResult(this.results[this.selectedIndex]);
3934
+ }
3935
+ break;
3936
+ case 'Escape':
3937
+ this.showDropdown = false;
3938
+ this.selectedIndex = -1;
3939
+ this.searchClosed.emit();
3940
+ break;
3941
+ }
3942
+ }
3943
+ async runSearch() {
3944
+ var _a;
3945
+ const query = this.query.trim();
3946
+ if (!query) {
3947
+ this.results = [];
3948
+ this.hasSearched = false;
3949
+ this.showDropdown = false;
3950
+ return;
3951
+ }
3952
+ this.loading = true;
3953
+ this.error = '';
3954
+ try {
3955
+ const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
3956
+ if (!response.ok) {
3957
+ throw new Error('Search failed');
3958
+ }
3959
+ const data = await response.json();
3960
+ this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
3961
+ this.hasSearched = true;
3962
+ this.showDropdown = true;
3963
+ this.selectedIndex = -1;
3964
+ }
3965
+ catch (err) {
3966
+ console.error('Search error:', err);
3967
+ this.error = 'Search failed. Please try again.';
3968
+ this.results = [];
3969
+ this.showDropdown = true;
3970
+ }
3971
+ finally {
3972
+ this.loading = false;
3973
+ }
3974
+ }
3975
+ selectResult(result) {
3976
+ this.resultSelected.emit(result);
3977
+ this.searchClosed.emit();
3978
+ analytics.sendAnalytics({
3979
+ category: 'shared-ui',
3980
+ parentContext: null,
3981
+ tag: this.el.tagName.toLowerCase(),
3982
+ name: `search-select: ${result.url}` || 'unknow search result selection',
3983
+ action: 'click',
3984
+ });
3985
+ window.open(result.url, '_blank', 'noopener,noreferrer');
3986
+ }
3987
+ scrollToSelected() {
3988
+ if (this.selectedIndex >= 0 && this.dropdownRef) {
3989
+ const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
3990
+ if (selectedItem) {
3991
+ selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
3992
+ }
3993
+ }
3994
+ }
3995
+ stripHtml(html) {
3996
+ const div = document.createElement('div');
3997
+ div.innerHTML = html;
3998
+ return div.textContent || div.innerText || '';
3999
+ }
4000
+ get hasResults() {
4001
+ return this.results.length > 0;
4002
+ }
4003
+ get showEmpty() {
4004
+ return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
4005
+ }
4006
+ render() {
4007
+ return (index.h("div", { key: 'e3c15463b46aa6349efb86e4907d6f7bfabf682f', class: "search-wrapper" }, index.h("eds-input-field", { key: 'f2164163925534652c62541b3e954d4bb66510bc', icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && (index.h("div", { key: 'f592d322fb3d1556743edc39713c8dbaa6449fa6', class: "search-dropdown", ref: (el) => (this.dropdownRef = el) }, this.loading && (index.h("div", { key: '4d3171271b27f70650bbded9cb7c0b76799dc1a1', class: "flex text-center justify-center p-64" }, index.h("eds-spinner", { key: '74fed5cf70ba698468dd2ca03dc5ff4eb7aeb7db', variant: "primary", size: "sm" }))), this.error && !this.loading && (index.h("div", { key: '481fd52e321ff02ca61cc0877a61f577b6a1ebd7', class: "flex text-center justify-center p-16" }, index.h("span", { key: '073d2a12b960b3309e0ab597c41d36f946615ed6', class: "text-error f-body-02" }, this.error))), this.showEmpty && (index.h("div", { key: '7b031eec1e6720f4cda6bc107ebc6f64f1c6e35f', class: "dropdown-state" }, index.h("eds-icon-wrapper", { key: '3ce91c3dcdaf27bd85f7ea4c855bab58b1208355', icon: "search" }), index.h("div", { key: 'c1a9b0c3f62fc568fa9d34d41730da8960bcdd54' }, index.h("p", { key: 'd3b87b4a6b06e81e5c62e817b924f762974c589e', class: "f-body-02" }, "No results found"), index.h("p", { key: '67fde47420811b9eaef805d9e6aa1b3515c74251', class: "f-ui-04 text-lightest" }, "Try different keywords")))), this.hasResults && !this.loading && (index.h("ul", { key: 'ba3a77467ba5e709bdf95dc793c316a18a135b64', class: "dropdown-results" }, this.results.map((result, index$1) => (index.h("li", { key: result.id, "data-index": index$1, class: {
4008
+ 'result-item': true,
4009
+ 'result-item--selected': index$1 === this.selectedIndex,
4010
+ }, onClick: () => this.selectResult(result), onMouseEnter: () => (this.selectedIndex = index$1) }, index.h("div", { class: "result-header" }, index.h("span", { class: "f-body-02" }, result.title)), index.h("div", { class: "inline" }, index.h("eds-tag", { intent: "accent", label: result.source }), result.section && (index.h("span", { class: "result-badge" }, result.section)), index.h("span", { class: "f-ui-03-light text-lighter ml-8" }, result.url)), result.snippet && (index.h("p", { class: "result-snippet" }, this.stripHtml(result.snippet)))))))), this.hasResults && !this.loading && (index.h("div", { key: 'ccdceeb06f423b28868dbf5ec2a11c5b84c651d7', class: "dropdown-footer" }, index.h("span", { key: 'e9dfb424b4dd277b11c6a630c673ec6368b09ef2', class: "footer-hint" }, index.h("kbd", { key: '4d045d4356b035c6efc7e029ea9e1f5bb4828b6b' }, "\u2191"), " ", index.h("kbd", { key: '5ee2913fe448ad3763ca9a70f474bfa9fcd3aad9' }, "\u2193"), " navigate \u2022 ", index.h("kbd", { key: 'd745261bb53ecffae5ff41d53e349fd74d37b955' }, "\u21B5"), " select \u2022", ' ', index.h("kbd", { key: 'baa93b7af9e8ae8994f8e73c1bf7942f659b0491' }, "esc"), " close")))))));
4011
+ }
4012
+ get el() { return index.getElement(this); }
4013
+ };
4014
+ EdsGlobalSearch.style = EdsGlobalSearchStyle0;
4015
+
3774
4016
  const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
3775
4017
  const EdsHeaderStyle0 = edsHeaderCss;
3776
4018
 
@@ -3784,14 +4026,10 @@ const EdsHeader = class {
3784
4026
  this.menuEnabled = false;
3785
4027
  this.isMenuOpen = false;
3786
4028
  this.isUserMenuOpen = false;
3787
- this.isAuthenticated = false;
3788
- }
3789
- onAuthStatusChanged(event) {
3790
- var _a;
3791
- this.isAuthenticated = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.authenticated;
3792
4029
  }
3793
4030
  componentDidLoad() {
3794
- const links = this.hostEl.querySelectorAll('eds-link');
4031
+ var _a, _b;
4032
+ const links = (_b = (_a = this.hostEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-link')) !== null && _b !== void 0 ? _b : [];
3795
4033
  links.forEach((link) => this.emitContext(link));
3796
4034
  }
3797
4035
  emitContext(linkElement) {
@@ -3819,7 +4057,7 @@ const EdsHeader = class {
3819
4057
  const classes = variantClasses[this.headerVariant] || variantClasses.default;
3820
4058
  // Logo color variant: default and inverse use 'color', strong uses 'color-white'
3821
4059
  const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
3822
- return (index.h("header", { key: 'a0f5bb7d9e850e9414db804019674d6bcbc8ea0b', class: `flex items-center justify-between relative z-10 ${classes}` }, index.h("div", { key: '678d5b1583e6fa47c0eac8ce734e8ec34cd76ad9', class: "mr-auto w-[200px] h-[85px]" }, index.h("eds-logo", { key: '12ce9c42b266bbddfd75d2a8f0097708480a2490', type: logoType, href: this.homeUrl })), this.parsedLinks && (index.h("nav", { key: 'eb388b679d4e268dc7fc011bc2a6406a619287c8', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, index.h("ul", { key: 'c3f8689bb257166c50dd678287c8ad4f54eb315a', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (index.h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), index.h("slot", { key: '3f689a811a60052393a795937a908cf7d0604cc6' }), this.menuEnabled && (index.h("div", { key: '506b953b455b72085d83bdaafc6855992075ddbe', class: "md:hidden flex overflow-hidden px-16" }, index.h("eds-button", { key: '5b526affd813549a6142efab255d6486a5e2dd66', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
4060
+ return (index.h("header", { key: '33f041754210d5fce8b190e63a6f19ac62262cfd', role: "banner", class: `flex items-center justify-between relative z-10 ${classes}` }, index.h("div", { key: '596d4b9cbb08fa95aa9b715599290ac91aff3f77', class: "mr-auto w-[200px] h-[85px]" }, index.h("eds-logo", { key: 'd13e83eca926b82f7406d5efb3f16555c25c167c', type: logoType, href: this.homeUrl })), this.parsedLinks && (index.h("nav", { key: 'e120bef9e976e75d523bd6d1e65e8aecd7c6a694', role: "navigation", "aria-label": "Primary", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, index.h("ul", { key: 'ea3db252b028340a007a18b4cb1fb995fefd51b0', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (index.h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), index.h("slot", { key: '47dfb8dcd8e77bd908236aef0cc0c3c5542de11e', name: "actions" }), this.menuEnabled && (index.h("div", { key: 'a6f4a3fb9834696d39a6831098c12f1a5a519a6b', class: "md:hidden flex overflow-hidden px-16" }, index.h("eds-button", { key: '2c6586152953caa33911d19fa69d3518cb73fc41', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
3823
4061
  }
3824
4062
  get hostEl() { return index.getElement(this); }
3825
4063
  };
@@ -3901,10 +4139,10 @@ const EdsImg = class {
3901
4139
  imgOpts['loading'] = 'lazy';
3902
4140
  imgOpts['decoding'] = 'async';
3903
4141
  }
3904
- return (index.h("div", { key: 'fec0dcf2ec178a953f4ced8a71b037030983670d', class: {
4142
+ return (index.h("div", { key: 'c164d1584476f9fb101abb9e1233bed40c782eb9', class: {
3905
4143
  'items-center justify-center': true,
3906
4144
  'effect-bg-pattern': this.lazyload && this.showBg
3907
- } }, index.h("picture", { key: '0df010a6ed50519be0a2017bf12db7d1ab2fb208' }, this.formats.map((format) => (index.h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), index.h("img", Object.assign({ key: 'ea4275b2cc6be0cce5ab63f97d05454e3c4ee1dc', ref: (el) => (this.img = el), class: {
4145
+ } }, index.h("picture", { key: '70e20db2fe9bdf1a494313c6896e835ff3222f3c' }, this.formats.map((format) => (index.h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), index.h("img", Object.assign({ key: '164d758ed706139d2d4562775a91c9518c437d28', ref: (el) => (this.img = el), class: {
3908
4146
  'effect-opacity object-cover object-center': true,
3909
4147
  'opacity-100': this.loaded,
3910
4148
  'opacity-0': !this.loaded
@@ -3963,7 +4201,7 @@ const EdsInput = class {
3963
4201
  render() {
3964
4202
  const withIcon = !!this.icon;
3965
4203
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
3966
- return (index.h("div", { key: '0a6386205f78655569bf93960a4e2664563e4014', class: "relative flex items-center" }, this.type === 'textarea' ? (index.h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (index.h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (index.h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (index.h("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
4204
+ return (index.h("div", { key: '069d8ed6f23b2d98bbc24b727cad0cbc94d1a956', class: "relative flex items-center" }, this.type === 'textarea' ? (index.h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (index.h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (index.h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (index.h("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
3967
4205
  ? {
3968
4206
  min: this.min,
3969
4207
  max: this.max,
@@ -3974,7 +4212,7 @@ const EdsInput = class {
3974
4212
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
3975
4213
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
3976
4214
  ${this.error ? 'input-error' : ''}
3977
- `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (index.h("span", { key: 'c78bf1501f682cde9a193ea6726baf2433566516', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (index.h("eds-icon-wrapper", { key: 'c07e7d5d8394292cf365f32838dfd837ccf168d6', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
4215
+ `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (index.h("span", { key: '2295538938128173047a5c81166cbee3d652cf25', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (index.h("eds-icon-wrapper", { key: '70a5bc0c9019c25499c4c65ece50ddb602eb3345', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
3978
4216
  }
3979
4217
  get el() { return index.getElement(this); }
3980
4218
  static get watchers() { return {
@@ -4085,7 +4323,7 @@ const EdsInputField = class {
4085
4323
  }
4086
4324
  render() {
4087
4325
  const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
4088
- return (index.h("div", { key: 'eaa1d9c1095204c82bd01eab0f19f80eeee64d05' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (index.h("fieldset", { class: "space-y-4 mt-8" }, index.h("div", { class: "flex justify-between mb-4" }, this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (index.h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (index.h("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, index.h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), index.h("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (index.h("div", { class: "flex items-center gap-x-8" }, index.h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (index.h("div", null, index.h("div", { class: "flex justify-between mb-4" }, this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (index.h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (index.h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (index.h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (index.h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
4326
+ return (index.h("div", { key: '75e326788d214bcbdd0b4b5204ac309a3e76f6eb' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (index.h("fieldset", { class: "space-y-4" }, index.h("div", { class: "flex justify-between mb-4" }, this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (index.h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (index.h("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, index.h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), index.h("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (index.h("div", { class: "flex items-center gap-x-8" }, index.h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (index.h("div", null, index.h("div", { class: "flex justify-between mb-4" }, this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (index.h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (index.h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (index.h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (index.h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
4089
4327
  var _a, _b, _c;
4090
4328
  const rangeProps = {
4091
4329
  name: inputOpts.name,
@@ -4098,7 +4336,7 @@ const EdsInputField = class {
4098
4336
  const opt = this.parsedOptions;
4099
4337
  const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
4100
4338
  return (index.h("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
4101
- })()) : (index.h("eds-input", Object.assign({}, inputOpts))))), index.h("div", { key: '60e6c848d41591b2e9ec8c5cf8dd656ec8562c38', class: "mt-6" }, index.h("eds-input-footer", { key: 'e9298e01dbab9aa6a98a486286b32024766348d1', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
4339
+ })()) : (index.h("eds-input", Object.assign({}, inputOpts))))), index.h("div", { key: '83d2deb40af000499d6d12e33f33b7435372ff30', class: "mt-6" }, index.h("eds-input-footer", { key: '21035705fd8ef6dbe8d208d4e0b88467a4d4cb09', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
4102
4340
  }
4103
4341
  static get delegatesFocus() { return true; }
4104
4342
  get hostEl() { return index.getElement(this); }
@@ -4118,7 +4356,7 @@ const EdsInputFooter = class {
4118
4356
  this.link = undefined;
4119
4357
  }
4120
4358
  render() {
4121
- return (index.h("div", { key: '54571d8f3c08a7a4f12e40728e02a7210ab0d345' }, this.error && this.errorMessage && (index.h("div", { key: 'db35f0c0dfa931d55d57a9c4ad3fffaeb4cea914', id: `error_${this.name}`, class: "text-error flex items-center" }, index.h("eds-icon-wrapper", { key: '63e401d86876829d8d2bbab887a66ef0dbd1837f', icon: "warning" }), index.h("p", { key: '81f8b0819a7cb119353c8ac38ab1df0cafb9d36f', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && index.h("p", { key: 'e5018623e2d8578864dc1f0b06d54e4a60ff9020', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (index.h("a", { key: 'e7b6bde26ae02cf07ac8b8e6461282a4ba1355ed', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
4359
+ return (index.h("div", { key: 'f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f' }, this.error && this.errorMessage && (index.h("div", { key: '780480b021c958a4d429b13a190ed630df98f539', id: `error_${this.name}`, class: "text-error flex items-center" }, index.h("eds-icon-wrapper", { key: '3577ebdde2d337e393d7ae41b0b55d3eac046149', icon: "warning" }), index.h("p", { key: 'c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && index.h("p", { key: '57833b0f0f58d36773401eaa0f37fd820ebe094c', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (index.h("a", { key: '2330e747a9274c6b9bcadf5ae4a770cfbab78b27', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
4122
4360
  }
4123
4361
  };
4124
4362
  EdsInputFooter.style = EdsInputFooterStyle0;
@@ -4135,7 +4373,7 @@ const EdsInputLabel = class {
4135
4373
  this.disabled = false;
4136
4374
  }
4137
4375
  render() {
4138
- return (index.h("label", { key: '90e0659383fd3be9a166457de5429385fe3bfe02', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (index.h("span", { key: '4d417c45dd636bfd5872d846e5eb89ff3694a4d4' }, index.h("span", { key: '3924011891ee03e530fe25b269bf4231f3acd9cb', "aria-hidden": "true" }, "*"), index.h("span", { key: '2f343b6b4ab4cbd538189cfa404210cf676eefe7', class: "sr-only" }, "required")))));
4376
+ return (index.h("label", { key: '4760fa1b6a66b4ba30b689e65acc9f66e944210d', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (index.h("span", { key: 'db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a' }, index.h("span", { key: '0c6f4ee8daab357ff4da750241c472b126cfbb98', "aria-hidden": "true" }, "*"), index.h("span", { key: 'ad18af56b0f20be3c9ee7280c0610c958adfdb87', class: "sr-only" }, "required")))));
4139
4377
  }
4140
4378
  };
4141
4379
  EdsInputLabel.style = EdsInputLabelStyle0;
@@ -4182,7 +4420,7 @@ const EdsInputRange = class {
4182
4420
  return this.inputElement;
4183
4421
  }
4184
4422
  render() {
4185
- return (index.h("div", { key: '3fa2ef579847e66bcacc35afe202192b78a06975', class: "relative flex flex-col items-start" }, index.h("input", { key: '669cc03e44dfa1ae8eae758f82f41939de1be625', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), index.h("p", { key: 'b3865e1bfacb423da277f4b76dfd0f3294f96cc6', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
4423
+ return (index.h("div", { key: '7592e5f4c1154281fb0577af739451ea0f16dc17', class: "relative flex flex-col items-start" }, index.h("input", { key: '8d5d0b3b5b51665a340304ba56f6fd6b053d3c5f', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), index.h("p", { key: 'c040d2a7e6aae8662e33d393bf1e93b0c8c254dc', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
4186
4424
  }
4187
4425
  get el() { return index.getElement(this); }
4188
4426
  static get watchers() { return {
@@ -4251,7 +4489,7 @@ const EdsInputSearch = class {
4251
4489
  return this.inputElement;
4252
4490
  }
4253
4491
  render() {
4254
- return (index.h("div", { key: 'ad7c42baf7c54ede5dca7dd2a6916557f46d33d6', class: "relative flex items-center" }, index.h("eds-icon-wrapper", { key: '6de80c397bae5e541de1ce3c2937bed860b58363', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), index.h("input", { key: '9637c5569c97061fde3735ecb58b6a6f81a10e15', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
4492
+ return (index.h("div", { key: 'e5065d821db5f66b4ddfccb84e911f8c9148d12c', class: "relative flex items-center" }, index.h("eds-icon-wrapper", { key: 'e661107b6202d7529209c67622a9f27bb15de2fc', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), index.h("input", { key: '1633e9108da6b675f1bcbddbbcb88e67843dddbf', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
4255
4493
  //onInput={this.onInput}
4256
4494
  onChange: this.onChange })));
4257
4495
  }
@@ -4280,12 +4518,12 @@ const EdsInputSelect = class {
4280
4518
  const selectId = this.inputId || this.name;
4281
4519
  const placeholderText = this.placeholder || `Pick from the list`;
4282
4520
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
4283
- return (index.h("div", { key: '06be08db809ec9970ca4d7bdbdcdf1c8f2bc8840', class: "relative" }, index.h("select", { key: 'e4319592e6c2f0c71e0dc75ca2d854506bda70bc', id: selectId, name: this.name, class: {
4521
+ return (index.h("div", { key: '640bbcca727ad0c511238335197bc533869f6229', class: "relative" }, index.h("select", { key: '75efd5a9c7951fce245a7ee8b89c35d712d06c08', id: selectId, name: this.name, class: {
4284
4522
  input: true,
4285
4523
  'input-error': this.error,
4286
4524
  'px-4': true,
4287
4525
  'py-2': true
4288
- }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, index.h("option", { key: 'a0ece38948f84a10ea8cd4c0a01b3f8b9730c7ef', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index$1) => (index.h("option", { key: index$1, value: opt.value, selected: opt.value === this.value }, opt.label)))), index.h("span", { key: '8ce085e43d0ba6340e52b0666dc0a31abbf1a2f9', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, index.h("eds-icon-wrapper", { key: '8b91b3fa3a819d04ede5d7816fcb2f04e66fd03b', class: "w-20 h-20", icon: "chevron-right" }))));
4526
+ }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, index.h("option", { key: 'e8723f0f947dc8e07660a34d49eb769e4bebfd06', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index$1) => (index.h("option", { key: index$1, value: opt.value, selected: opt.value === this.value }, opt.label)))), index.h("span", { key: '23531f90fcaa854a8abff796e2879648987a56b9', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, index.h("eds-icon-wrapper", { key: '6e836b9606c1444d8e97b78ebe1ea4cf092070e3', class: "w-20 h-20", icon: "chevron-right" }))));
4289
4527
  }
4290
4528
  };
4291
4529
 
@@ -4517,7 +4755,7 @@ const EdsLink = class {
4517
4755
  const labelClasses = this.hideLabelOnSmallScreen
4518
4756
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
4519
4757
  : '';
4520
- return (index.h("a", { key: 'bc82c9ea21f98ed71c812c8366ba8368c3ac5bf4', class: `${classes || ''} ${this.extraClass || ''}`, href: isInteractive ? this.url : undefined, target: this.external && isInteractive ? '_blank' : undefined, rel: this.external && isInteractive ? 'noopener noreferrer' : undefined, tabIndex: isInteractive ? 0 : -1, "aria-label": isIconOnly ? this.ariaLabel || 'Link' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.current ? 'page' : undefined, role: this.disabled ? 'link' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, index.h("span", { key: 'eed89377d27a476a7d7e70a8c40f3100b8089a0b', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && index.h("span", { key: 'c6d09f0c54e092e53350014d6d89b67c35a8be71', class: labelClasses }, this.label), this.renderRightIcon())));
4758
+ return (index.h("a", { key: '5c190b2b079dfecb003883a8b25d3c258697c4d6', class: `${classes || ''} ${this.extraClass || ''}`, href: isInteractive ? this.url : undefined, target: this.external && isInteractive ? '_blank' : undefined, rel: this.external && isInteractive ? 'noopener noreferrer' : undefined, tabIndex: isInteractive ? 0 : -1, "aria-label": isIconOnly ? this.ariaLabel || 'Link' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.current ? 'page' : undefined, role: this.disabled ? 'link' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, index.h("span", { key: 'f4e89354ea8e252a26c85a560af9e7cfed7f8287', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && index.h("span", { key: 'ca10c283dd14c3e3830baddec7ba193522a02e7c', class: labelClasses }, this.label), this.renderRightIcon())));
4521
4759
  }
4522
4760
  get el() { return index.getElement(this); }
4523
4761
  };
@@ -4585,7 +4823,7 @@ const EdsLogo = class {
4585
4823
  }
4586
4824
  render() {
4587
4825
  const logoContent = this.getLogo();
4588
- return (index.h("a", { key: 'e5c4e4701d698282dc85561c8c434f0790fb2401', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, index.h("div", { key: '32cc8649fe67b6c4a874b5c1aaa6d4d793b4c4c7', innerHTML: logoContent })));
4826
+ return (index.h("a", { key: '735f3592da7eed337c528731c28c6e708bbfcf82', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, index.h("div", { key: '5db166d68cb6e193d3dbc2a8ba4b54eae99aac44', innerHTML: logoContent })));
4589
4827
  }
4590
4828
  get el() { return index.getElement(this); }
4591
4829
  };
@@ -4776,12 +5014,12 @@ const EdsNps = class {
4776
5014
  render() {
4777
5015
  const count = this.max - this.min + 1;
4778
5016
  //onst fallback = 0;
4779
- return (index.h("div", { key: '3831baab086cbf44a3d1511885f15bbab23c9cd2', class: "eds-nps" }, index.h("eds-input-label", { key: 'f9bd8a812d1b65a634dfaa7aae704218dc79468c', id: "nps-question", name: "nps-question", label: this.question }), index.h("div", { key: '398f5225c5b4071c2570a74a9e642f5059bb7813', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
5017
+ return (index.h("div", { key: '19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25', class: "eds-nps" }, index.h("eds-input-label", { key: '046239977d2dc639eabfc60a67df62011833a983', id: "nps-question", name: "nps-question", label: this.question }), index.h("div", { key: 'e296b8ff3a081f42263ee0c0a28ef3f304b1e1c0', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
4780
5018
  const val = this.min + i;
4781
5019
  const isSelected = val === this.selectedValue;
4782
5020
  const tabIndex = isSelected ? 0 : -1;
4783
5021
  return (index.h("div", { class: "grid-col-span-1", key: val }, index.h("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
4784
- })), index.h("div", { key: '0acafaae3f2ce522ffbc245c5733ca509d4bf3c1', class: "flex justify-between mt-8" }, index.h("span", { key: '001e0be00b07ae2e831ea6af0c577a5eeecb9a56', class: "f-ui-04 text-light ml-4" }, this.leftLabel), index.h("span", { key: '99a12d89ea577fb2bb9c34241a2b9f0f254c284a', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
5022
+ })), index.h("div", { key: '305bc5b2d162fc40fc56557291d37e29498563a2', class: "flex justify-between mt-8" }, index.h("span", { key: '7fe2191db8cacabed26f451ac0175f23ede3317e', class: "f-ui-04 text-light ml-4" }, this.leftLabel), index.h("span", { key: 'a85aca88d4de2897d7ba04578cf57a844c660675', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
4785
5023
  }
4786
5024
  get el() { return index.getElement(this); }
4787
5025
  };
@@ -5028,7 +5266,7 @@ const EdsPagination = class {
5028
5266
  }
5029
5267
  render() {
5030
5268
  const navigableIndex = -1; // Track index for keyboard navigation
5031
- return (index.h("div", { key: '9379c40daaca176e67fb59918f1ca387cb4759b9' }, this.total > 0 && this.mode === 'default' && (index.h("p", { key: 'd09f7f6b7de136987d5b52564bc60afb3775299a', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, index.h("span", { key: '4af8f097a79c8fb0495838f06424f43e5e5dcddc', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (index.h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, index.h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, index.h("li", { class: "mr-auto" }, this.useButtons ? (index.h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, index.h("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
5269
+ return (index.h("div", { key: '1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259' }, this.total > 0 && this.mode === 'default' && (index.h("p", { key: '87b18c6b1fc475e335f829a4f61b7a8883dc7b9e', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, index.h("span", { key: 'd5af6f58fc41d83c7e9519bbaa76fb31e6cbb522', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (index.h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, index.h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, index.h("li", { class: "mr-auto" }, this.useButtons ? (index.h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, index.h("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
5032
5270
  if (this.mode === 'default' && !this.isFirstPage()) {
5033
5271
  this.handlePageClick(event, (this.currentPage || 1) - 1);
5034
5272
  }
@@ -5121,7 +5359,7 @@ const EdsRating = class {
5121
5359
  this.onSelect(next);
5122
5360
  }
5123
5361
  render() {
5124
- return (index.h("div", { key: 'a7fc18897f2901f60432432899da18861e76edf6', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index$1) => {
5362
+ return (index.h("div", { key: '8dcde2afdc0db27d3f6be48f1d58cc7c7f88b0f0', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index$1) => {
5125
5363
  const starRating = index$1 + 1;
5126
5364
  const isSelected = starRating <= this.selectedRating;
5127
5365
  // Use the mapping text if available; otherwise, fall back to a generic label.
@@ -5134,7 +5372,88 @@ const EdsRating = class {
5134
5372
  };
5135
5373
  EdsRating.style = EdsRatingStyle0;
5136
5374
 
5137
- const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}";
5375
+ const edsSpinnerCss = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}";
5376
+ const EdsSpinnerStyle0 = edsSpinnerCss;
5377
+
5378
+ const EdsSpinner = class {
5379
+ constructor(hostRef) {
5380
+ index.registerInstance(this, hostRef);
5381
+ this.size = 'md';
5382
+ this.variant = 'secondary';
5383
+ this.message = undefined;
5384
+ this.background = 'var(--grey-200)';
5385
+ this.fullscreen = false;
5386
+ }
5387
+ get spinnerSize() {
5388
+ switch (this.size) {
5389
+ case 'xs':
5390
+ return '1rem';
5391
+ case 'sm':
5392
+ return '4rem';
5393
+ case 'lg':
5394
+ return '8rem';
5395
+ case 'xl':
5396
+ return '10rem';
5397
+ case 'md':
5398
+ default:
5399
+ return '6rem';
5400
+ }
5401
+ }
5402
+ get spinnerThickness() {
5403
+ switch (this.size) {
5404
+ case 'xs':
5405
+ return '4px';
5406
+ case 'sm':
5407
+ return '8px';
5408
+ case 'lg':
5409
+ return '16px';
5410
+ case 'xl':
5411
+ return '20px';
5412
+ case 'md':
5413
+ default:
5414
+ return '12px';
5415
+ }
5416
+ }
5417
+ render() {
5418
+ // derive colors from variant
5419
+ const borderColor = this.variant === 'primary' ? 'var(--grey-900)' : 'var(--grey-400)';
5420
+ const bottomColor = this.variant === 'primary' ? 'var(--green-400)' : 'var(--grey-900)';
5421
+ const spinnerStyle = Object.assign({ width: this.spinnerSize, height: this.spinnerSize, border: `${this.spinnerThickness} solid ${borderColor}`, borderBottomColor: bottomColor }, (!this.fullscreen && { display: 'inline-block' }));
5422
+ // Overlay style: use fixed positioning for fullscreen,
5423
+ // and absolute positioning for inline mode.
5424
+ const overlayStyle = this.fullscreen
5425
+ ? {
5426
+ position: 'fixed',
5427
+ top: '0',
5428
+ left: '0',
5429
+ width: '100vw',
5430
+ height: '100vh',
5431
+ zIndex: '9999999',
5432
+ backgroundColor: this.background,
5433
+ display: 'flex',
5434
+ flexDirection: 'column',
5435
+ alignItems: 'center',
5436
+ justifyContent: 'center'
5437
+ }
5438
+ : {
5439
+ position: 'absolute',
5440
+ top: '0',
5441
+ left: '0',
5442
+ width: '100%',
5443
+ height: '100%',
5444
+ //zIndex: '1000',
5445
+ backgroundColor: this.background,
5446
+ display: 'flex',
5447
+ flexDirection: 'column',
5448
+ alignItems: 'center',
5449
+ justifyContent: 'center'
5450
+ };
5451
+ return (index.h(index.Host, { key: 'e4c2f4762d214028c2e97666040e05ad5651debf' }, index.h("div", { key: 'e12572cb0195a84402847b0fc723ad2198196661', class: "spinner-overlay", style: overlayStyle }, index.h("span", { key: '6aa3b28a4e79951a5bbb46f6d7d845baf3761d14', class: "spinner", style: spinnerStyle }), this.message && index.h("p", { key: '5817378b525ecb8d8a211105b73a2db00067fbe3', class: "f-body-01" }, this.message))));
5452
+ }
5453
+ };
5454
+ EdsSpinner.style = EdsSpinnerStyle0;
5455
+
5456
+ const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}";
5138
5457
  const EdsStepsStyle0 = edsStepsCss;
5139
5458
 
5140
5459
  const EdsSteps = class {
@@ -5144,9 +5463,26 @@ const EdsSteps = class {
5144
5463
  this.finished = index.createEvent(this, "finished", 7);
5145
5464
  this.next = index.createEvent(this, "next", 7);
5146
5465
  this.back = index.createEvent(this, "back", 7);
5466
+ this.handleTitleClick = (index) => {
5467
+ // 1) If clicking the current title, keep your existing toggle behavior
5468
+ if (index === this.activeStep) {
5469
+ this.activeStep = this.activeStep === index ? -1 : index;
5470
+ this.step.emit(this.activeStep);
5471
+ return;
5472
+ }
5473
+ // 2) In linear mode, block jumping *forward* when current step is gated
5474
+ const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
5475
+ if (forwardBlocked) {
5476
+ return;
5477
+ } // do nothing when Next/Finish would be disabled
5478
+ // 3) Allow jumping back or forward when not gated
5479
+ this.activeStep = index;
5480
+ this.step.emit(this.activeStep);
5481
+ };
5147
5482
  this.handleNext = () => {
5148
5483
  const lastIndex = this.parsedSteps.length - 1;
5149
5484
  if (this.activeStep >= lastIndex) {
5485
+ this.activeStep = -1;
5150
5486
  this.finished.emit();
5151
5487
  return;
5152
5488
  }
@@ -5216,9 +5552,23 @@ const EdsSteps = class {
5216
5552
  ? !!this.disableNext[index] // per-step
5217
5553
  : index === this.activeStep && !!this.disableNext; // only active step
5218
5554
  }
5219
- /** Render the semantic heading element */
5220
- renderHeading(title) {
5555
+ /** Render the semantic heading element as a clickable control only in linear mode */
5556
+ renderHeading(title, index$1) {
5221
5557
  const Tag = this.headingLevel;
5558
+ const isOpen = this.activeStep === index$1;
5559
+ if (this.type === 'linear') {
5560
+ const forwardBlocked = index$1 > this.activeStep && this.isNextDisabledFor(this.activeStep);
5561
+ const onKey = (e) => {
5562
+ if (forwardBlocked) {
5563
+ return;
5564
+ }
5565
+ if (e.key === 'Enter' || e.key === ' ') {
5566
+ e.preventDefault();
5567
+ this.handleTitleClick(index$1);
5568
+ }
5569
+ };
5570
+ return (index.h(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index$1}`, onClick: () => !forwardBlocked && this.handleTitleClick(index$1), onKeyDown: onKey }, title));
5571
+ }
5222
5572
  return index.h(Tag, null, title);
5223
5573
  }
5224
5574
  render() {
@@ -5226,11 +5576,11 @@ const EdsSteps = class {
5226
5576
  if (this.type === 'linear') {
5227
5577
  return (index.h("div", { class: "steps" }, steps.map((step, index$1) => {
5228
5578
  const isLast = index$1 === steps.length - 1;
5229
- return (index.h("div", { class: "step mb-28", key: index$1 }, this.renderHeading(step.title), this.activeStep === index$1 && (index.h("div", { class: "content grid gap-y-16" }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), index.h("div", { class: "flex items-center mt-16" }, index.h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index$1 === 0, class: index$1 === 0 ? 'hidden' : 'block', size: "small" }), index.h("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index$1), size: "small", class: "ml-8" })), index.h("slot", { name: `actions-${index$1}` })))));
5579
+ return (index.h("div", { class: "step mb-28", key: index$1 }, this.renderHeading(step.title, index$1), this.activeStep === index$1 && (index.h("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index$1}` }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), index.h("div", { class: "flex items-center mt-16" }, index.h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index$1 === 0, class: index$1 === 0 ? 'hidden' : 'block', size: "small" }), index.h("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index$1), size: "small", class: "ml-8" })), index.h("slot", { name: `actions-${index$1}` })))));
5230
5580
  })));
5231
5581
  }
5232
5582
  // Static: no navigation buttons
5233
- return (index.h("div", { class: "steps" }, steps.map((step, index$1) => (index.h("div", { class: "step mb-28", key: index$1 }, this.renderHeading(step.title), index.h("div", { class: "content" }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: index$1 === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
5583
+ return (index.h("div", { class: "steps" }, steps.map((step, index$1) => (index.h("div", { class: "step mb-28", key: index$1 }, this.renderHeading(step.title, index$1), index.h("div", { class: "content", id: `eds-step-panel-${index$1}` }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: index$1 === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
5234
5584
  }
5235
5585
  get el() { return index.getElement(this); }
5236
5586
  static get watchers() { return {
@@ -5239,7 +5589,7 @@ const EdsSteps = class {
5239
5589
  };
5240
5590
  EdsSteps.style = EdsStepsStyle0;
5241
5591
 
5242
- const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}";
5592
+ const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}";
5243
5593
  const EdsStepsV2Style0 = edsStepsV2Css;
5244
5594
 
5245
5595
  const EdsStepsV2 = class {
@@ -5249,14 +5599,29 @@ const EdsStepsV2 = class {
5249
5599
  this.finished = index.createEvent(this, "finished", 7);
5250
5600
  this.next = index.createEvent(this, "next", 7);
5251
5601
  this.back = index.createEvent(this, "back", 7);
5602
+ this.handleTitleClick = (index) => {
5603
+ // If clicking the same title, keep your existing toggle behavior
5604
+ if (index === this.activeStep) {
5605
+ this.activeStep = this.activeStep === index ? -1 : index;
5606
+ this.step.emit(this.activeStep);
5607
+ return;
5608
+ }
5609
+ // Block *forward* jumps when progression is gated by disableNext (boolean)
5610
+ const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
5611
+ if (forwardBlocked) {
5612
+ return;
5613
+ }
5614
+ // Allow back (or forward when not gated)
5615
+ this.activeStep = index;
5616
+ this.step.emit(this.activeStep);
5617
+ };
5252
5618
  this.handleNext = () => {
5253
5619
  const lastIndex = this.parsedSteps.length - 1;
5254
5620
  if (this.activeStep >= lastIndex) {
5255
- // Finish
5256
5621
  this.finished.emit();
5622
+ this.activeStep = -1; // collapse last step
5257
5623
  return;
5258
5624
  }
5259
- // Next
5260
5625
  const target = this.activeStep + 1;
5261
5626
  this.next.emit(target);
5262
5627
  if (!this.disableNext) {
@@ -5327,16 +5692,33 @@ const EdsStepsV2 = class {
5327
5692
  get parsedSteps() {
5328
5693
  return sharedUtils.parseData(this.steps);
5329
5694
  }
5695
+ isNextDisabledForCurrent() {
5696
+ return !!this.disableNext;
5697
+ }
5330
5698
  /** Render the semantic heading element */
5331
- renderHeading(title) {
5699
+ renderHeading(title, index$1) {
5332
5700
  const Tag = this.headingLevel;
5333
- return index.h(Tag, null, title);
5701
+ if (this.type === 'linear') {
5702
+ const isOpen = this.activeStep === index$1;
5703
+ const forwardBlocked = index$1 > this.activeStep && this.isNextDisabledForCurrent();
5704
+ const onKey = (e) => {
5705
+ if (forwardBlocked) {
5706
+ return;
5707
+ }
5708
+ if (e.key === 'Enter' || e.key === ' ') {
5709
+ e.preventDefault();
5710
+ this.handleTitleClick(index$1);
5711
+ }
5712
+ };
5713
+ return (index.h(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index$1}`, onClick: () => !forwardBlocked && this.handleTitleClick(index$1), onKeyDown: onKey }, title));
5714
+ }
5715
+ return index.h(Tag, { class: "eds-steps__title" }, title);
5334
5716
  }
5335
5717
  render() {
5336
5718
  const steps = this.parsedSteps;
5337
- return (index.h("div", { key: '1ff00f17a85e9a3a9d7bef23694560acd77e7ee4', class: this.articleClasses() }, this.imageSrc ? (index.h("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, index.h("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (index.h("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, index.h("div", { class: "p-24" }, index.h("span", { class: "text-inverse f-heading-04 " }, this.message))))), index.h("div", { key: 'a0328e80df5d9447cfa5378eb9e45925f1f68c69', class: "pb-20 px-8" }, this.type === 'linear' ? (index.h("div", { class: "steps" }, steps.map((step, index$1) => (index.h("div", { class: index$1 === 0 ? 'step' : 'step space-y-16', key: index$1 }, this.renderHeading(step.title), this.activeStep === index$1 && (index.h("div", { class: "content grid gap-y-16" }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: index$1 === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), index.h("div", { class: "flex items-center" }, index.h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index$1 === 0, class: index$1 === 0 ? 'hidden' : 'block', size: "small" }), index.h("eds-button", { label: index$1 === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
5719
+ return (index.h("div", { key: 'b486aa34dfab4902cd6569cc2ce228104ca536cd', class: this.articleClasses() }, this.imageSrc ? (index.h("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, index.h("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (index.h("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, index.h("div", { class: "p-24" }, index.h("span", { class: "text-inverse f-heading-04 " }, this.message))))), index.h("div", { key: 'e2a928ecb67caed4885c9e364621b422249610f1', class: "pb-20 px-8" }, this.type === 'linear' ? (index.h("div", { class: "steps" }, steps.map((step, index$1) => (index.h("div", { class: index$1 === 0 ? 'step' : 'step space-y-16', key: index$1 }, this.renderHeading(step.title, index$1), this.activeStep === index$1 && (index.h("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index$1}` }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: index$1 === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), index.h("div", { class: "flex items-center" }, index.h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index$1 === 0, class: index$1 === 0 ? 'hidden' : 'block', size: "small" }), index.h("eds-button", { label: index$1 === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
5338
5720
  // Static mode: show all steps with their content.
5339
- index.h("div", { class: "steps space-y-8" }, steps.map((step, index$1) => (index.h("div", { class: "step", key: index$1 }, this.renderHeading(step.title), index.h("div", { class: "content" }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: index$1 === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
5721
+ index.h("div", { class: "steps space-y-8" }, steps.map((step, index$1) => (index.h("div", { class: "step", key: index$1 }, this.renderHeading(step.title, index$1), index.h("div", { class: "content", id: `eds-step-panel-${index$1}` }, index.h("slot", { name: `step-${index$1}` }, index.h("div", { class: index$1 === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
5340
5722
  }
5341
5723
  get el() { return index.getElement(this); }
5342
5724
  static get watchers() { return {
@@ -5395,11 +5777,11 @@ const EdsSwitch = class {
5395
5777
  : this.labelOff
5396
5778
  : 'Toggle switch'
5397
5779
  : undefined;
5398
- return (index.h("div", { key: '95a833cbe8e736d7e747f6fdd8504dd8c169ea60', class: "switch-container" }, this.labelOff && (index.h("span", { key: 'a88de63c35409ab244a6cba5bd70a10728a08b2a', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), index.h("button", { key: 'd6573f05164f2b57063e9a97c3b983f32700bd7a', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
5780
+ return (index.h("div", { key: '34573e6f2b377e168039a13afb4d5fe981f575ad', class: "switch-container" }, this.labelOff && (index.h("span", { key: '1728e1aac88d275cd6bee0aaf50e93e3a421944d', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), index.h("button", { key: '5d35387a9bf808923bd94f5d64528cca1e4055d5', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
5399
5781
  switch: true,
5400
5782
  'switch--checked': this.checked,
5401
5783
  'switch--disabled': this.disabled
5402
- }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, index.h("span", { key: '35e6da3bb76779bfaad04d8990dec419524fb543', class: "switch-handle" })), this.labelOn && (index.h("span", { key: 'b14243d9d45dbdddb9473ad2c5696e07be9831d3', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
5784
+ }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, index.h("span", { key: 'd8e0e1e3b562b4ac894998641cb7c813578e1a3f', class: "switch-handle" })), this.labelOn && (index.h("span", { key: '86b56fbbc537e9f08d11a509a1cb0e19d8dc3c39', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
5403
5785
  }
5404
5786
  get el() { return index.getElement(this); }
5405
5787
  };
@@ -5630,7 +6012,7 @@ const EdsTable = class {
5630
6012
  const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
5631
6013
  const paginatedRows = this.getPaginatedRows();
5632
6014
  const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
5633
- return (index.h("div", { key: '67cfdabc741af13585699e43e67ba0d204a60706' }, this.searchEnabled && (index.h("div", { key: '208240b9832f9b2e9645cc9d7315a43bd47b54b3' }, index.h("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), index.h("div", { key: '893924497d1535b7d29bc0b64ba48f4a3e366c43', class: "mt-20" }, index.h("table", { key: 'a019fa4f2886d4c2aa4bddc88dc7b6d7aa63fdcb', class: "block overflow-x-auto mt-6 p-0" }, index.h("thead", { key: 'a6360fea59c605878e443a23cf45d0f8a9644140' }, index.h("tr", { key: '09702e8838f32c52bf6314b59ec598c6fa55d609', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
6015
+ return (index.h("div", { key: '0c986dec22a52676b110fad1f7f82ef792da796e' }, this.searchEnabled && (index.h("div", { key: '855c5c3d6c2b86e75a210c0296524bc8029e37f2' }, index.h("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), index.h("div", { key: '62b18340bbf992dba888c2d24ff306ada8a1a985', class: "mt-20" }, index.h("table", { key: '656dd0dd7f99611c2bd9beea4cd1f37f57da1384', class: "block overflow-x-auto mt-6 p-0" }, index.h("thead", { key: '1278ea89f588aa52c215c32bcc03c424e4501fed' }, index.h("tr", { key: '186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
5634
6016
  var _a;
5635
6017
  if (col === 'actions') {
5636
6018
  return (index.h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
@@ -5639,7 +6021,7 @@ const EdsTable = class {
5639
6021
  return (index.h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
5640
6022
  }
5641
6023
  return null;
5642
- }))), index.h("tbody", { key: '5cdb3697e6c84921a823b40714a497f02c82e360' }, paginatedRows.map((row) => (index.h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
6024
+ }))), index.h("tbody", { key: 'b27bd372efe64469d2a5001dc6d5b464eb419217' }, paginatedRows.map((row) => (index.h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
5643
6025
  var _a;
5644
6026
  if (col === 'actions') {
5645
6027
  return (index.h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, index.h("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
@@ -5654,7 +6036,7 @@ const EdsTable = class {
5654
6036
  return (index.h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
5655
6037
  }
5656
6038
  return null;
5657
- }))))))), this.shouldEnablePagination() && (index.h("div", { key: 'f5af2cd6e65c3ed55ec2810ec4b1e3f891866271', class: "mt-20" }, index.h("eds-pagination", { key: '32965384707df502fb197712c73bb290e38ce040', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
6039
+ }))))))), this.shouldEnablePagination() && (index.h("div", { key: 'd442153f48c85c6de1a0752d1348d8814811faed', class: "mt-20" }, index.h("eds-pagination", { key: '4c48c96eacb112002b0110e85dce0dab94350dfb', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
5658
6040
  }
5659
6041
  get hostEl() { return index.getElement(this); }
5660
6042
  static get watchers() { return {
@@ -5829,12 +6211,12 @@ const EdsTabs = class {
5829
6211
  }
5830
6212
  }
5831
6213
  render() {
5832
- return (index.h("div", { key: '7cb51cf475d45ee3e43877ee4d42565f5930613a', id: `${this.identifier}` }, index.h("div", { key: '4f3c6d23f9084f07e5728b72310b96798d20b724', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, index.h("nav", { key: '4d55e72e9f437cef8be06931445f619196a973a7', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index$1) => {
6214
+ return (index.h("div", { key: '29c8adfbd79bae86919e8b72f13d9a8a4d1c1d41', id: `${this.identifier}` }, index.h("div", { key: '94ec3243a35be9db63846b253133fd323fb3759c', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, index.h("nav", { key: '52c337db80f21714a7d3da26b21663c34f5dd836', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index$1) => {
5833
6215
  const TabComponent = 'button';
5834
6216
  const tabProps = this.getTabOptions(tab.active, index$1);
5835
6217
  const isActive = index$1 === this.activeIndex;
5836
6218
  return (index.h(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index$1}`, id: `tab-${index$1}`, ref: (el) => this.setTabRef(el, index$1), onClick: () => this.handleTabClick(index$1, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index$1) }), tab.label || tab.ariaLabel));
5837
- }))), index.h("div", { key: 'e75f877da39c25e912853fea5dc2438fc15c67b5', class: "tab-panels" }, this.parsedTabs.map((_, index$1) => (index.h("div", { role: "tabpanel", id: `panel-${index$1}`, "aria-labelledby": `tab-${index$1}`, hidden: index$1 !== this.activeIndex, tabIndex: index$1 === this.activeIndex ? 0 : -1, class: "effect-focus" }, index.h("slot", { name: `panel-${index$1}` })))))));
6219
+ }))), index.h("div", { key: '9462805200c71ebac037ac5933c156eb9c25ed5c', class: "tab-panels" }, this.parsedTabs.map((_, index$1) => (index.h("div", { role: "tabpanel", id: `panel-${index$1}`, "aria-labelledby": `tab-${index$1}`, hidden: index$1 !== this.activeIndex, tabIndex: index$1 === this.activeIndex ? 0 : -1, class: "effect-focus" }, index.h("slot", { name: `panel-${index$1}` })))))));
5838
6220
  }
5839
6221
  get el() { return index.getElement(this); }
5840
6222
  static get watchers() { return {
@@ -5879,7 +6261,7 @@ const EdsTag = class {
5879
6261
  }
5880
6262
  render() {
5881
6263
  const classes = tagStyles({ intent: this.intent, size: this.size });
5882
- return index.h("span", { key: 'e3fe041e8783a7d1bb5a281eb154e3c07851da38', class: classes }, this.label);
6264
+ return index.h("span", { key: '6a229183bdaf96687e1f71ca3938a22c1259546e', class: classes }, this.label);
5883
6265
  }
5884
6266
  };
5885
6267
  EdsTag.style = EdsTagStyle0;
@@ -5975,7 +6357,7 @@ const EdsTooltip = class {
5975
6357
  }
5976
6358
  render() {
5977
6359
  const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
5978
- return (index.h("div", { key: '135df7d17db03fb3bb7bbcc50ad9ee5d84a2bca2', class: "relative w-full inline-block group" }, index.h("slot", { key: '4c12874eeb942e33f9c62ea6f1077fd051f683b6' }), index.h("div", { key: '8bb7173d16889b2ae550dc0269d9e47e1dae00ac', class: `absolute ${positionClass}
6360
+ return (index.h("div", { key: '67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b', class: "relative w-full inline-block group" }, index.h("slot", { key: 'b304174862dd4d5ca93418ecb0d2b4fc2c80427c' }), index.h("div", { key: 'fcd874d53d0e17b7d3be2c6552571f82fbde6506', class: `absolute ${positionClass}
5979
6361
  rounded-xs bg-strongest text-inverse
5980
6362
  f-ui-03-light pointer-events-none
5981
6363
  z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
@@ -5996,7 +6378,9 @@ const EdsUser = class {
5996
6378
  };
5997
6379
  this.user = undefined;
5998
6380
  this.intent = 'tertiary';
6381
+ this.dropdownLabel = 'Account';
5999
6382
  this.expanded = false;
6383
+ this.shortMode = false;
6000
6384
  }
6001
6385
  /**
6002
6386
  * Helper getter to ensure we work with a User object.
@@ -6020,10 +6404,15 @@ const EdsUser = class {
6020
6404
  const initials = `${((_a = user.given_name) === null || _a === void 0 ? void 0 : _a.charAt(0)) || ''}${((_b = user.family_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}`.toUpperCase();
6021
6405
  return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
6022
6406
  }
6407
+ async closeDropdown() {
6408
+ var _a;
6409
+ await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
6410
+ this.expanded = false;
6411
+ }
6023
6412
  render() {
6024
6413
  const user = this.parsedUser;
6025
6414
  const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
6026
- return (index.h("div", { key: '965387104c4bd6cd3223c08f16d90146c098594c', class: "block" }, index.h("div", { key: '37fe5539cb058112ebe0d910439acb55b5abccd8', class: "flex items-center" }, index.h("eds-dropdown", { key: '17afc8dbae191aec1202ba04d85c41ed656a8c5b', label: `Hi, ${user.preferred_username}`, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, index.h("div", { key: '0228c1728b0b73e2504d2608339f9be408be09b8', class: "min-w-[280px] p-8" }, index.h("div", { key: 'b83148ff8249bde91842b036da5506f9f5cbb145', class: "flex gap-x-16" }, index.h("eds-avatar", { key: '243a05bae2e4e592dc386b1897d824232d0bcfa6', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), index.h("div", { key: '6938f54621aa89e61aa6639e8c88af4e262e0fec', class: "max-w-full" }, user.name && index.h("p", { key: '224ce5cf6819a9dd0c3794410a94da30cc4213bf', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && index.h("p", { key: '096ac761149763ef4305ef5e9bf1f4b593a0fe4f', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && index.h("p", { key: '79f7da3c6c5efc1f521991c403184cf050b3d2e7', class: "f-ui-03-light text-light mt-4" }, user.email))), index.h("div", { key: '52ce98bcc290902605ebd427ee8ab72ac9af3d62', class: "text-default flex w-full flex-col gap-y-8" }, index.h("slot", { key: '88d1b250c434830347e0eb813214382ce899c485' })))))));
6415
+ return (index.h("div", { key: '62bb8a684095f97b6105acdb5d9803c66edba913', class: "block" }, index.h("div", { key: '350ff5d7b4f47686f7b39662b176f24e719d54e3', class: "flex items-center" }, index.h("eds-dropdown", { key: 'e3b196b127572d038b5ae6bbf00330911ca41e94', ref: (el) => (this.dropdownEl = el), label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, index.h("div", { key: 'a311fd57839b87054afc7aca9c40ce5772b1350b', class: "min-w-[280px] p-8" }, index.h("div", { key: 'bc8c5b7147718def37bab1adb2715f9ff0074822', class: "flex gap-x-16", "data-dropdown-no-close": true }, index.h("eds-avatar", { key: 'c9207d4ecab0507981bb047ee6c59ee4400b5121', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), index.h("div", { key: 'c6ec78d935ee851ef5e8080bf30a7ff9c4603bf1', class: "max-w-full" }, user.name && index.h("p", { key: 'c39af63002f1449b049d4be13927da5d51599aca', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && index.h("p", { key: 'd8eaa141490abb1ad917e2da03d4a588ef6d6779', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && index.h("p", { key: '904aef6596a85ae438b98bd5ab67c7c7e2299d75', class: "f-ui-03-light text-light mt-4" }, user.email))), index.h("div", { key: '0cd0a2d8cc59d8b054f36188b4c18182e6a7f919', class: "text-default flex w-full flex-col gap-y-8" }, index.h("slot", { key: 'a41332bcf086d01a458218b74a1812dc55911925' })))))));
6027
6416
  }
6028
6417
  get hostEl() { return index.getElement(this); }
6029
6418
  };
@@ -6038,6 +6427,7 @@ exports.eds_button = EdsButton;
6038
6427
  exports.eds_code_block = EdsCodeBlock;
6039
6428
  exports.eds_dropdown = EdsDropdown;
6040
6429
  exports.eds_form = EdsForm;
6430
+ exports.eds_global_search = EdsGlobalSearch;
6041
6431
  exports.eds_header = EdsHeader;
6042
6432
  exports.eds_icon_wrapper = EdsIconWrapper;
6043
6433
  exports.eds_img = EdsImg;
@@ -6054,6 +6444,7 @@ exports.eds_matomo_notice = EdsMatomoNotice;
6054
6444
  exports.eds_nps = EdsNps;
6055
6445
  exports.eds_pagination = EdsPagination;
6056
6446
  exports.eds_rating = EdsRating;
6447
+ exports.eds_spinner = EdsSpinner;
6057
6448
  exports.eds_steps = EdsSteps;
6058
6449
  exports.eds_steps_v2 = EdsStepsV2;
6059
6450
  exports.eds_switch = EdsSwitch;