@ebrains/components 2.3.1 → 2.4.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 (568) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  2. package/dist/cjs/components-section.cjs.entry.js +33 -24
  3. package/dist/cjs/components.cjs.js +1 -1
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  5. package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
  6. package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
  7. package/dist/cjs/{eds-accordion_36.cjs.entry.js → eds-accordion_37.cjs.entry.js} +661 -209
  8. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-card-desc_2.cjs.entry.js +2 -2
  10. package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-footer.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +8 -3
  19. package/dist/cjs/eds-gauge.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-bin.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-clone.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-download.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-draft.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-edit.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-icon-start.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  58. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  59. package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-icon-view.cjs.entry.js +1 -1
  62. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  63. package/dist/cjs/eds-modal.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  65. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  66. package/dist/cjs/eds-social-networks.cjs.entry.js +1 -1
  67. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  68. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  69. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  70. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  71. package/dist/cjs/index-50bc1aa4.js +2 -2
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  74. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  75. package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  77. package/dist/cjs/svg-repository.cjs.entry.js +3 -3
  78. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  79. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  80. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  81. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  82. package/dist/cjs/{up-and-down-d71df67d.js → up-and-down-6f179dd8.js} +2 -2
  83. package/dist/collection/collection-manifest.json +1 -0
  84. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  85. package/dist/collection/components/eds-alert/eds-alert.js +2 -2
  86. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  87. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  88. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  89. package/dist/collection/components/eds-button/eds-button.js +1 -19
  90. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  91. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  92. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  93. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  94. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  95. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  96. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  97. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  98. package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
  99. package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
  100. package/dist/collection/components/eds-footer/eds-footer.js +2 -2
  101. package/dist/collection/components/eds-form/eds-form.js +56 -16
  102. package/dist/collection/components/eds-frame/eds-frame.js +1 -1
  103. package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.js +8 -3
  104. package/dist/collection/components/eds-header/eds-header.css +5 -0
  105. package/dist/collection/components/eds-header/eds-header.js +1 -1
  106. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  107. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  108. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  109. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  127. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  128. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  129. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  130. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  131. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  133. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  134. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
  135. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  136. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  137. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  138. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  139. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  140. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +2 -2
  141. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  142. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
  143. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  144. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  145. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  146. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  147. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  148. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  149. package/dist/collection/components/eds-img/eds-img.js +2 -2
  150. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  151. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  152. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  153. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  154. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  155. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  156. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  157. package/dist/collection/components/eds-link/eds-link.js +15 -25
  158. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  159. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  160. package/dist/collection/components/eds-nps/eds-nps.js +66 -53
  161. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  162. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  163. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  164. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  165. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  166. package/dist/collection/components/eds-sidebar/eds-sidebar.css +458 -0
  167. package/dist/collection/components/eds-sidebar/eds-sidebar.js +299 -0
  168. package/dist/collection/components/eds-sidebar/eds-sidebar.stories.js +141 -0
  169. package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
  170. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  171. package/dist/collection/components/eds-steps/eds-steps.css +334 -10
  172. package/dist/collection/components/eds-steps/eds-steps.js +187 -101
  173. package/dist/collection/components/eds-steps/eds-steps.stories.js +21 -3
  174. package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +167 -3
  175. package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +177 -113
  176. package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +8 -1
  177. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  178. package/dist/collection/components/eds-table/eds-table.css +14 -0
  179. package/dist/collection/components/eds-table/eds-table.js +99 -9
  180. package/dist/collection/components/eds-tabs/eds-tabs.js +2 -2
  181. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  182. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  183. package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
  184. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  185. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  186. package/dist/collection/components/eds-user/eds-user.js +1 -1
  187. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  188. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  189. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  190. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  191. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  192. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  193. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  194. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  195. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  196. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
  197. package/dist/collection/eds-docs-ui/components-section/functional/vue.js +1 -1
  198. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  199. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  200. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  201. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  202. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  203. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  204. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  205. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  206. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  207. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  208. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  209. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  210. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  211. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  212. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  213. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +10 -12
  214. package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +2 -1
  215. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  216. package/dist/components/components-section.js +33 -24
  217. package/dist/components/components.css +315 -0
  218. package/dist/components/components.esm.js +1 -1
  219. package/dist/components/correct-use-of-colors.js +1 -1
  220. package/dist/components/docs-palettes.js +1 -1
  221. package/dist/components/docs-tokens.js +1 -1
  222. package/dist/components/eds-accordion2.js +2 -2
  223. package/dist/components/eds-alert2.js +2 -2
  224. package/dist/components/eds-app-root.js +1 -1
  225. package/dist/components/eds-avatar2.js +1 -1
  226. package/dist/components/eds-block-break2.js +1 -1
  227. package/dist/components/eds-breadcrumb.js +1 -1
  228. package/dist/components/eds-button2.js +1 -3
  229. package/dist/components/eds-card-desc2.js +1 -1
  230. package/dist/components/eds-card-generic2.js +1 -1
  231. package/dist/components/eds-card-project.js +1 -1
  232. package/dist/components/eds-card-tags.js +1 -1
  233. package/dist/components/eds-card-title2.js +1 -1
  234. package/dist/components/eds-card-tool.js +1 -1
  235. package/dist/components/eds-code-block2.js +1 -1
  236. package/dist/components/eds-cookies-preference.js +1 -1
  237. package/dist/components/eds-dropdown2.js +2 -2
  238. package/dist/components/eds-feedback.js +1 -1
  239. package/dist/components/eds-footer2.js +6 -12
  240. package/dist/components/eds-form.js +80 -34
  241. package/dist/components/eds-frame.js +1 -1
  242. package/dist/components/eds-fullscreen-menu.js +16 -17
  243. package/dist/components/eds-gauge.js +1 -1
  244. package/dist/components/eds-global-search.js +31 -27
  245. package/dist/components/eds-header.js +2 -2
  246. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  247. package/dist/components/eds-icon-arrow-right.js +1 -1
  248. package/dist/components/eds-icon-bin.js +1 -1
  249. package/dist/components/eds-icon-bluesky.js +1 -1
  250. package/dist/components/eds-icon-bookmark.js +1 -1
  251. package/dist/components/eds-icon-chevron-down.js +1 -1
  252. package/dist/components/eds-icon-chevron-left.js +1 -1
  253. package/dist/components/eds-icon-chevron-right.js +1 -1
  254. package/dist/components/eds-icon-chevron-up.js +1 -1
  255. package/dist/components/eds-icon-clone.js +1 -1
  256. package/dist/components/eds-icon-close.js +1 -1
  257. package/dist/components/eds-icon-copy.js +1 -1
  258. package/dist/components/eds-icon-download.js +1 -1
  259. package/dist/components/eds-icon-draft.js +1 -1
  260. package/dist/components/eds-icon-edit.js +1 -1
  261. package/dist/components/eds-icon-eu.js +1 -1
  262. package/dist/components/eds-icon-external.js +1 -1
  263. package/dist/components/eds-icon-facebook.js +1 -1
  264. package/dist/components/eds-icon-gitlab.js +1 -1
  265. package/dist/components/eds-icon-linkedin.js +1 -1
  266. package/dist/components/eds-icon-loader.js +1 -1
  267. package/dist/components/eds-icon-mastodon.js +1 -1
  268. package/dist/components/eds-icon-menu.js +1 -1
  269. package/dist/components/eds-icon-minus.js +1 -1
  270. package/dist/components/eds-icon-more.js +1 -1
  271. package/dist/components/eds-icon-paper.js +1 -1
  272. package/dist/components/eds-icon-plus.js +1 -1
  273. package/dist/components/eds-icon-portal.js +1 -1
  274. package/dist/components/eds-icon-private.js +1 -1
  275. package/dist/components/eds-icon-public.js +1 -1
  276. package/dist/components/eds-icon-search.js +1 -1
  277. package/dist/components/eds-icon-star.js +1 -1
  278. package/dist/components/eds-icon-start.js +1 -1
  279. package/dist/components/eds-icon-success.js +1 -1
  280. package/dist/components/eds-icon-thumbs-down.js +1 -1
  281. package/dist/components/eds-icon-thumbs-up.js +1 -1
  282. package/dist/components/eds-icon-tutorial.js +1 -1
  283. package/dist/components/eds-icon-twitter.js +1 -1
  284. package/dist/components/eds-icon-unknown.js +1 -1
  285. package/dist/components/eds-icon-updown.js +2 -2
  286. package/dist/components/eds-icon-user.js +1 -1
  287. package/dist/components/eds-icon-view.js +1 -1
  288. package/dist/components/eds-icon-youtube.js +1 -1
  289. package/dist/components/eds-img2.js +2 -2
  290. package/dist/components/eds-input-field2.js +22 -16
  291. package/dist/components/eds-input-footer2.js +9 -3
  292. package/dist/components/eds-input-label2.js +1 -1
  293. package/dist/components/eds-input-range2.js +1 -1
  294. package/dist/components/eds-input-search2.js +1 -1
  295. package/dist/components/eds-input-select2.js +2 -2
  296. package/dist/components/eds-input2.js +2 -2
  297. package/dist/components/eds-link2.js +14 -9
  298. package/dist/components/eds-logo2.js +1 -1
  299. package/dist/components/eds-modal.js +2 -2
  300. package/dist/components/eds-nps2.js +66 -53
  301. package/dist/components/eds-pagination2.js +1 -1
  302. package/dist/components/eds-progress-bar2.js +1 -1
  303. package/dist/components/eds-rating2.js +1 -1
  304. package/dist/components/eds-section-core2.js +1 -1
  305. package/dist/components/eds-section-heading2.js +2 -2
  306. package/dist/components/eds-sidebar.d.ts +11 -0
  307. package/dist/components/eds-sidebar.js +208 -0
  308. package/dist/components/eds-social-networks2.js +1 -1
  309. package/dist/components/eds-spinner2.js +1 -1
  310. package/dist/components/eds-steps-v2.js +133 -46
  311. package/dist/components/eds-steps2.js +130 -34
  312. package/dist/components/eds-switch.js +2 -2
  313. package/dist/components/eds-table2.js +65 -9
  314. package/dist/components/eds-tabs.js +2 -2
  315. package/dist/components/eds-tag2.js +1 -1
  316. package/dist/components/eds-timeline.js +1 -1
  317. package/dist/components/eds-toast-manager.js +1 -1
  318. package/dist/components/eds-tooltip2.js +1 -1
  319. package/dist/components/eds-trl.js +1 -1
  320. package/dist/components/eds-user.js +1 -1
  321. package/dist/components/incorrect-use-of-colors.js +1 -1
  322. package/dist/components/logo-space.js +1 -1
  323. package/dist/components/logo-variations-horizontal2.js +1 -1
  324. package/dist/components/logo-variations-tabs.js +1 -1
  325. package/dist/components/logo-variations-vertical2.js +1 -1
  326. package/dist/components/logo-wrong-usage.js +1 -1
  327. package/dist/components/{p-838d6773.entry.js → p-0e504247.entry.js} +1 -1
  328. package/dist/components/{p-b8b4c01e.entry.js → p-0f319eac.entry.js} +1 -1
  329. package/dist/components/{p-7b0496b1.entry.js → p-11bf02db.entry.js} +1 -1
  330. package/dist/components/{p-ca91952b.entry.js → p-15df046d.entry.js} +1 -1
  331. package/dist/components/p-15e5229b.entry.js +1 -0
  332. package/dist/components/{p-75b40e57.entry.js → p-1804a119.entry.js} +1 -1
  333. package/dist/components/p-19c628e6.entry.js +1 -0
  334. package/dist/components/p-19e241e9.entry.js +1 -0
  335. package/dist/components/p-1a674723.entry.js +9 -0
  336. package/dist/components/p-1dd6faeb.entry.js +1 -0
  337. package/dist/components/{p-e614c8e8.entry.js → p-21ed7e2e.entry.js} +1 -1
  338. package/dist/components/{p-2d6ca1c5.entry.js → p-2bd9605b.entry.js} +1 -1
  339. package/dist/components/{p-44d33938.entry.js → p-2d4f6e90.entry.js} +1 -1
  340. package/dist/components/p-2e3bd154.entry.js +1 -0
  341. package/dist/components/p-3004d956.entry.js +1 -0
  342. package/dist/components/p-313b04c9.entry.js +1 -0
  343. package/dist/components/p-31a3c6a2.entry.js +1 -0
  344. package/dist/components/p-3778e162.entry.js +1 -0
  345. package/dist/components/p-39548acc.entry.js +1 -0
  346. package/dist/components/p-3aac5c73.entry.js +1 -0
  347. package/dist/components/p-3d313fb5.entry.js +1 -0
  348. package/dist/components/p-43bc9224.entry.js +1 -0
  349. package/dist/components/p-48eaf544.entry.js +1 -0
  350. package/dist/components/{p-b522fa70.entry.js → p-4c2a8bf1.entry.js} +1 -1
  351. package/dist/components/{p-fe2bb83e.entry.js → p-4eaa7ba2.entry.js} +1 -1
  352. package/dist/components/p-5157eb25.entry.js +1 -0
  353. package/dist/components/{p-0798d50d.entry.js → p-59d2b2a9.entry.js} +1 -1
  354. package/dist/components/p-5c28d2d3.entry.js +1 -0
  355. package/dist/components/p-63d9ab86.entry.js +1 -0
  356. package/dist/components/p-640c4463.entry.js +1 -0
  357. package/dist/components/p-643eee62.entry.js +1 -0
  358. package/dist/components/p-64be8ed5.entry.js +1 -0
  359. package/dist/components/{p-e9a6f693.entry.js → p-67c3bedc.entry.js} +1 -1
  360. package/dist/components/{p-f2b12631.entry.js → p-70cbe02d.entry.js} +1 -1
  361. package/dist/components/p-7aa97ad6.entry.js +1 -0
  362. package/dist/components/{p-24683124.entry.js → p-7b160270.entry.js} +1 -1
  363. package/dist/components/p-83b26d8c.entry.js +1 -0
  364. package/dist/components/{p-e2bc6329.entry.js → p-85f866f0.entry.js} +1 -1
  365. package/dist/components/p-8779905b.entry.js +1 -0
  366. package/dist/components/p-88814860.entry.js +1 -0
  367. package/dist/components/{p-b471922f.entry.js → p-8998eec7.entry.js} +1 -1
  368. package/dist/components/p-8c42cefe.entry.js +1 -0
  369. package/dist/components/{p-bce8a58d.entry.js → p-8c520685.entry.js} +1 -1
  370. package/dist/components/p-8cba26bd.entry.js +1 -0
  371. package/dist/components/p-8ef830f5.entry.js +1 -0
  372. package/dist/components/p-942f4a95.entry.js +1 -0
  373. package/dist/components/p-9b05145b.entry.js +1 -0
  374. package/dist/components/{p-4beb1e06.entry.js → p-9d57b51f.entry.js} +1 -1
  375. package/dist/components/p-9e46df74.entry.js +1 -0
  376. package/dist/components/{p-76330532.entry.js → p-9fe2c4ba.entry.js} +1 -1
  377. package/dist/components/p-a38bb645.entry.js +1 -0
  378. package/dist/components/{p-df18ffd1.entry.js → p-a61dbad5.entry.js} +1 -1
  379. package/dist/components/{p-398255ff.entry.js → p-a78079b7.entry.js} +1 -1
  380. package/dist/components/p-a8e5591c.entry.js +1 -0
  381. package/dist/components/p-afceabd6.entry.js +1 -0
  382. package/dist/components/p-b00352ff.entry.js +1 -0
  383. package/dist/components/p-b93f983c.entry.js +1 -0
  384. package/dist/components/p-bb6a6de2.entry.js +1 -0
  385. package/dist/components/p-bc2204f3.entry.js +1 -0
  386. package/dist/components/p-be54a6c8.entry.js +1 -0
  387. package/dist/components/p-bef9bf37.entry.js +1 -0
  388. package/dist/components/p-c1ad7132.entry.js +1 -0
  389. package/dist/components/p-cb5e39d1.entry.js +1 -0
  390. package/dist/components/p-ccb6ad15.entry.js +1 -0
  391. package/dist/components/p-d090b9fa.entry.js +1 -0
  392. package/dist/components/p-d11f2808.entry.js +1 -0
  393. package/dist/components/p-d6e5a9fb.entry.js +1 -0
  394. package/dist/components/{p-ce3b6043.entry.js → p-d958e1f3.entry.js} +1 -1
  395. package/dist/components/{p-963feadd.entry.js → p-da7b4b6a.entry.js} +1 -1
  396. package/dist/components/p-dea41137.entry.js +1 -0
  397. package/dist/components/p-e01cf4f8.entry.js +1 -0
  398. package/dist/components/{p-54e29971.entry.js → p-e5a1118d.entry.js} +1 -1
  399. package/dist/components/p-eb818455.entry.js +1 -0
  400. package/dist/components/p-f061ff11.entry.js +1 -0
  401. package/dist/components/p-f0a330ef.entry.js +1 -0
  402. package/dist/components/p-f11e3f42.entry.js +1 -0
  403. package/dist/components/{p-7ada2015.entry.js → p-f24bfc6a.entry.js} +1 -1
  404. package/dist/components/primary.js +1 -1
  405. package/dist/components/primary2.js +1 -1
  406. package/dist/components/secondary.js +1 -1
  407. package/dist/components/secondary2.js +7 -7
  408. package/dist/components/support.js +1 -1
  409. package/dist/components/support2.js +3 -3
  410. package/dist/components/svg-repository.js +3 -3
  411. package/dist/components/token-list2.js +1 -1
  412. package/dist/components/token-radii2.js +1 -1
  413. package/dist/components/token-ratios.js +1 -1
  414. package/dist/components/token-shadows2.js +1 -1
  415. package/dist/components/token-spacing.js +1 -1
  416. package/dist/components/token-typography.js +1 -1
  417. package/dist/components/up-and-down.js +2 -2
  418. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  419. package/dist/esm/components-section.entry.js +33 -24
  420. package/dist/esm/components.js +1 -1
  421. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  422. package/dist/esm/docs-palettes.entry.js +1 -1
  423. package/dist/esm/docs-tokens.entry.js +1 -1
  424. package/dist/esm/{eds-accordion_36.entry.js → eds-accordion_37.entry.js} +661 -210
  425. package/dist/esm/eds-app-root.entry.js +1 -1
  426. package/dist/esm/eds-card-desc_2.entry.js +2 -2
  427. package/dist/esm/eds-card-generic.entry.js +1 -1
  428. package/dist/esm/eds-card-project.entry.js +1 -1
  429. package/dist/esm/eds-card-tags.entry.js +1 -1
  430. package/dist/esm/eds-card-tool.entry.js +1 -1
  431. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  432. package/dist/esm/eds-feedback.entry.js +1 -1
  433. package/dist/esm/eds-footer.entry.js +2 -2
  434. package/dist/esm/eds-frame.entry.js +1 -1
  435. package/dist/esm/eds-fullscreen-menu.entry.js +8 -3
  436. package/dist/esm/eds-gauge.entry.js +1 -1
  437. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  438. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  439. package/dist/esm/eds-icon-bin.entry.js +1 -1
  440. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  441. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  442. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  443. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  444. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  445. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  446. package/dist/esm/eds-icon-clone.entry.js +1 -1
  447. package/dist/esm/eds-icon-close.entry.js +1 -1
  448. package/dist/esm/eds-icon-copy.entry.js +1 -1
  449. package/dist/esm/eds-icon-download.entry.js +1 -1
  450. package/dist/esm/eds-icon-draft.entry.js +1 -1
  451. package/dist/esm/eds-icon-edit.entry.js +1 -1
  452. package/dist/esm/eds-icon-eu.entry.js +1 -1
  453. package/dist/esm/eds-icon-external.entry.js +1 -1
  454. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  455. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  456. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  457. package/dist/esm/eds-icon-loader.entry.js +1 -1
  458. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  459. package/dist/esm/eds-icon-menu.entry.js +1 -1
  460. package/dist/esm/eds-icon-minus.entry.js +1 -1
  461. package/dist/esm/eds-icon-more.entry.js +1 -1
  462. package/dist/esm/eds-icon-paper.entry.js +1 -1
  463. package/dist/esm/eds-icon-plus.entry.js +1 -1
  464. package/dist/esm/eds-icon-portal.entry.js +1 -1
  465. package/dist/esm/eds-icon-private.entry.js +1 -1
  466. package/dist/esm/eds-icon-public.entry.js +1 -1
  467. package/dist/esm/eds-icon-search.entry.js +1 -1
  468. package/dist/esm/eds-icon-star.entry.js +1 -1
  469. package/dist/esm/eds-icon-start.entry.js +1 -1
  470. package/dist/esm/eds-icon-success.entry.js +1 -1
  471. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  472. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  473. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  474. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  475. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  476. package/dist/esm/eds-icon-updown.entry.js +2 -2
  477. package/dist/esm/eds-icon-user.entry.js +1 -1
  478. package/dist/esm/eds-icon-view.entry.js +1 -1
  479. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  480. package/dist/esm/eds-modal.entry.js +2 -2
  481. package/dist/esm/eds-progress-bar.entry.js +1 -1
  482. package/dist/esm/eds-section-core_2.entry.js +3 -3
  483. package/dist/esm/eds-social-networks.entry.js +1 -1
  484. package/dist/esm/eds-timeline.entry.js +1 -1
  485. package/dist/esm/eds-toast-manager.entry.js +1 -1
  486. package/dist/esm/eds-trl.entry.js +1 -1
  487. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  488. package/dist/esm/index-870ab08f.js +2 -2
  489. package/dist/esm/loader.js +1 -1
  490. package/dist/esm/logo-space.entry.js +1 -1
  491. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  492. package/dist/esm/logo-variations-tabs.entry.js +1 -1
  493. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  494. package/dist/esm/svg-repository.entry.js +3 -3
  495. package/dist/esm/token-list_3.entry.js +3 -3
  496. package/dist/esm/token-ratios.entry.js +1 -1
  497. package/dist/esm/token-spacing.entry.js +1 -1
  498. package/dist/esm/token-typography.entry.js +1 -1
  499. package/dist/esm/{up-and-down-d747abee.js → up-and-down-8b69ca97.js} +2 -2
  500. package/dist/hydrate/index.js +827 -341
  501. package/dist/hydrate/index.mjs +827 -341
  502. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +2 -2
  503. package/dist/types/components/eds-button/eds-button.d.ts +0 -1
  504. package/dist/types/components/eds-form/eds-form.d.ts +1 -0
  505. package/dist/types/components/eds-link/eds-link.d.ts +0 -1
  506. package/dist/types/components/eds-nps/eds-nps.d.ts +5 -3
  507. package/dist/types/components/eds-sidebar/eds-sidebar.d.ts +50 -0
  508. package/dist/types/components/eds-sidebar/eds-sidebar.stories.d.ts +98 -0
  509. package/dist/types/components/eds-steps/eds-steps.d.ts +18 -69
  510. package/dist/types/components/eds-steps/eds-steps.stories.d.ts +18 -0
  511. package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +24 -52
  512. package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +8 -0
  513. package/dist/types/components/eds-table/eds-table.d.ts +8 -0
  514. package/dist/types/components.d.ts +143 -124
  515. package/package.json +1 -1
  516. package/dist/components/p-004801b2.entry.js +0 -1
  517. package/dist/components/p-02648f82.entry.js +0 -1
  518. package/dist/components/p-09f1b358.entry.js +0 -1
  519. package/dist/components/p-0ec9dcf5.entry.js +0 -1
  520. package/dist/components/p-0fb8511d.entry.js +0 -1
  521. package/dist/components/p-127870d7.entry.js +0 -1
  522. package/dist/components/p-12e153fb.entry.js +0 -1
  523. package/dist/components/p-1f80e708.entry.js +0 -1
  524. package/dist/components/p-21b5ca1f.entry.js +0 -1
  525. package/dist/components/p-2bfcb3cf.entry.js +0 -1
  526. package/dist/components/p-2efa0ba6.entry.js +0 -1
  527. package/dist/components/p-33a639b5.entry.js +0 -1
  528. package/dist/components/p-36b17bf2.entry.js +0 -1
  529. package/dist/components/p-3c478e74.entry.js +0 -1
  530. package/dist/components/p-447e436c.entry.js +0 -1
  531. package/dist/components/p-4995b8b2.entry.js +0 -1
  532. package/dist/components/p-53343ea1.entry.js +0 -1
  533. package/dist/components/p-56447243.entry.js +0 -1
  534. package/dist/components/p-56cc4a15.entry.js +0 -1
  535. package/dist/components/p-5ddcec77.entry.js +0 -1
  536. package/dist/components/p-5e8142ed.entry.js +0 -1
  537. package/dist/components/p-70f5e9f5.entry.js +0 -1
  538. package/dist/components/p-714445de.entry.js +0 -1
  539. package/dist/components/p-7436a99a.entry.js +0 -1
  540. package/dist/components/p-772d6ca9.entry.js +0 -1
  541. package/dist/components/p-79044ab6.entry.js +0 -1
  542. package/dist/components/p-7c7aaa95.entry.js +0 -1
  543. package/dist/components/p-81ba0feb.entry.js +0 -1
  544. package/dist/components/p-82b357f7.entry.js +0 -1
  545. package/dist/components/p-84239973.entry.js +0 -1
  546. package/dist/components/p-85dfbfd3.entry.js +0 -1
  547. package/dist/components/p-a155c283.entry.js +0 -1
  548. package/dist/components/p-a4080044.entry.js +0 -1
  549. package/dist/components/p-abd40167.entry.js +0 -1
  550. package/dist/components/p-ae41414e.entry.js +0 -1
  551. package/dist/components/p-afb55d52.entry.js +0 -1
  552. package/dist/components/p-b4c2c58d.entry.js +0 -9
  553. package/dist/components/p-b6fc1a7d.entry.js +0 -1
  554. package/dist/components/p-b8a36d0f.entry.js +0 -1
  555. package/dist/components/p-bb4633ec.entry.js +0 -1
  556. package/dist/components/p-bc59e5ff.entry.js +0 -1
  557. package/dist/components/p-cdabb63e.entry.js +0 -1
  558. package/dist/components/p-d3fa440f.entry.js +0 -1
  559. package/dist/components/p-dacd8c26.entry.js +0 -1
  560. package/dist/components/p-ddec1f12.entry.js +0 -1
  561. package/dist/components/p-e6819f4d.entry.js +0 -1
  562. package/dist/components/p-e8d0a2db.entry.js +0 -1
  563. package/dist/components/p-eaf5d057.entry.js +0 -1
  564. package/dist/components/p-eb57d477.entry.js +0 -1
  565. package/dist/components/p-efdc6fd7.entry.js +0 -1
  566. package/dist/components/p-f013c0ac.entry.js +0 -1
  567. package/dist/components/p-f1ead3b3.entry.js +0 -1
  568. /package/dist/components/{p-1b2913c8.js → p-553ca350.js} +0 -0
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
2
+ import { d as defineCustomElement$2 } from './eds-icon-wrapper2.js';
3
+ import { d as defineCustomElement$1 } from './eds-link2.js';
3
4
 
4
5
  const edsInputFooterCss = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.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)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}";
5
6
  const EdsInputFooterStyle0 = edsInputFooterCss;
@@ -16,7 +17,7 @@ const EdsInputFooter = /*@__PURE__*/ proxyCustomElement(class EdsInputFooter ext
16
17
  this.link = undefined;
17
18
  }
18
19
  render() {
19
- return (h("div", { key: 'f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f' }, this.error && this.errorMessage && (h("div", { key: '780480b021c958a4d429b13a190ed630df98f539', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '3577ebdde2d337e393d7ae41b0b55d3eac046149', icon: "warning" }), h("p", { key: 'c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '57833b0f0f58d36773401eaa0f37fd820ebe094c', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '2330e747a9274c6b9bcadf5ae4a770cfbab78b27', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
20
+ return (h("div", { key: 'ac60e5d56a86af64ea34445f9376c942258c9026' }, this.error && this.errorMessage && (h("div", { key: '25ff09f276f7028e1b2877133ab639b35cdebaba', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '2add9a34a966428af96598f3e8e07f9535da8728', icon: "warning" }), h("p", { key: 'bcb624339190c0585e960a0c4debc3fec2ada4eb', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '00944237618f325774f316faaf4620e5eb507289', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("eds-link", { key: '464c5a59e9c36a06f1cdae9be9e09a4f8b05d282', label: this.link.label, url: this.link.url, intent: "underline", size: "small", external: true }))));
20
21
  }
21
22
  static get style() { return EdsInputFooterStyle0; }
22
23
  }, [1, "eds-input-footer", {
@@ -30,7 +31,7 @@ function defineCustomElement() {
30
31
  if (typeof customElements === "undefined") {
31
32
  return;
32
33
  }
33
- const components = ["eds-input-footer", "eds-icon-wrapper"];
34
+ const components = ["eds-input-footer", "eds-icon-wrapper", "eds-link"];
34
35
  components.forEach(tagName => { switch (tagName) {
35
36
  case "eds-input-footer":
36
37
  if (!customElements.get(tagName)) {
@@ -38,6 +39,11 @@ function defineCustomElement() {
38
39
  }
39
40
  break;
40
41
  case "eds-icon-wrapper":
42
+ if (!customElements.get(tagName)) {
43
+ defineCustomElement$2();
44
+ }
45
+ break;
46
+ case "eds-link":
41
47
  if (!customElements.get(tagName)) {
42
48
  defineCustomElement$1();
43
49
  }
@@ -14,7 +14,7 @@ const EdsInputLabel = /*@__PURE__*/ proxyCustomElement(class EdsInputLabel exten
14
14
  this.disabled = false;
15
15
  }
16
16
  render() {
17
- return (h("label", { key: '4760fa1b6a66b4ba30b689e65acc9f66e944210d', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a' }, h("span", { key: '0c6f4ee8daab357ff4da750241c472b126cfbb98', "aria-hidden": "true" }, "*"), h("span", { key: 'ad18af56b0f20be3c9ee7280c0610c958adfdb87', class: "sr-only" }, "required")))));
17
+ return (h("label", { key: '8a421c62ddec859bd7837454aa664a116001fd31', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'ad49202fb172a182822587248c141e0f8d7bcc6f' }, h("span", { key: 'e682ff5f3ac83b8adce37c8c9893c2aa235c97b1', "aria-hidden": "true" }, "*"), h("span", { key: '343d2abb7c452fc2a6a67b04727237fea9519838', class: "sr-only" }, "required")))));
18
18
  }
19
19
  static get style() { return EdsInputLabelStyle0; }
20
20
  }, [1, "eds-input-label", {
@@ -43,7 +43,7 @@ const EdsInputRange = /*@__PURE__*/ proxyCustomElement(class EdsInputRange exten
43
43
  return this.inputElement;
44
44
  }
45
45
  render() {
46
- return (h("div", { key: '7592e5f4c1154281fb0577af739451ea0f16dc17', class: "relative flex flex-col items-start" }, 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 }), h("p", { key: 'c040d2a7e6aae8662e33d393bf1e93b0c8c254dc', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
46
+ return (h("div", { key: '27c60fe7ad5cf3cf8255129529ef64905c87b609', class: "relative flex flex-col items-start" }, h("input", { key: '8ef115e18b6afd956c57a30cd4b9ee45ecd79334', 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 }), h("p", { key: 'beb95f6aa032db57ec401839cea48ac1d3a1861d', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
47
47
  }
48
48
  get el() { return this; }
49
49
  static get watchers() { return {
@@ -64,7 +64,7 @@ const EdsInputSearch = /*@__PURE__*/ proxyCustomElement(class EdsInputSearch ext
64
64
  return this.inputElement;
65
65
  }
66
66
  render() {
67
- return (h("div", { key: 'e5065d821db5f66b4ddfccb84e911f8c9148d12c', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'e661107b6202d7529209c67622a9f27bb15de2fc', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), 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}`,
67
+ return (h("div", { key: '4057975b193458daff5cc779e7671f3aa8df82fb', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: '47366d7737c3c044aa97f6e5a5a76301c5f688ae', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '70195ba54b9afd1c953735899d6fbfd668f81c71', 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}`,
68
68
  //onInput={this.onInput}
69
69
  onChange: this.onChange })));
70
70
  }
@@ -24,12 +24,12 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
24
24
  const selectId = this.inputId || this.name;
25
25
  const placeholderText = this.placeholder || `Pick from the list`;
26
26
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
27
- return (h("div", { key: '640bbcca727ad0c511238335197bc533869f6229', class: "relative" }, h("select", { key: '75efd5a9c7951fce245a7ee8b89c35d712d06c08', id: selectId, name: this.name, class: {
27
+ return (h("div", { key: '5f73cb76010cac41f433921395aaf779765e298a', class: "relative" }, h("select", { key: '0705adad43076b6048900d5c62b8be2dff090270', id: selectId, name: this.name, class: {
28
28
  input: true,
29
29
  'input-error': this.error,
30
30
  'px-4': true,
31
31
  'py-2': true
32
- }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: 'e8723f0f947dc8e07660a34d49eb769e4bebfd06', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (h("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), 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" }, h("eds-icon-wrapper", { key: '6e836b9606c1444d8e97b78ebe1ea4cf092070e3', class: "w-20 h-20", icon: "chevron-right" }))));
32
+ }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: '6b2d7856821cfe804f63f6f289f78bd3f7a8273c', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (h("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), h("span", { key: '161692e967ed9c094feb171c6d067058dfafa146', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, h("eds-icon-wrapper", { key: '513a74b4753a08280326970dfbb16642b5c6b986', class: "w-20 h-20", icon: "chevron-right" }))));
33
33
  }
34
34
  }, [0, "eds-input-select", {
35
35
  "inputId": [1, "input-id"],
@@ -51,7 +51,7 @@ const EdsInput = /*@__PURE__*/ proxyCustomElement(class EdsInput extends HTMLEle
51
51
  render() {
52
52
  const withIcon = !!this.icon;
53
53
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
54
- return (h("div", { key: '069d8ed6f23b2d98bbc24b727cad0cbc94d1a956', class: "relative flex items-center" }, this.type === 'textarea' ? (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' ? (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) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (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'
54
+ return (h("div", { key: '10cacc49f2e61f8b357d1d0dd303822d7b3d7800', class: "relative flex items-center" }, this.type === 'textarea' ? (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' ? (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) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (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'
55
55
  ? {
56
56
  min: this.min,
57
57
  max: this.max,
@@ -62,7 +62,7 @@ const EdsInput = /*@__PURE__*/ proxyCustomElement(class EdsInput extends HTMLEle
62
62
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
63
63
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
64
64
  ${this.error ? 'input-error' : ''}
65
- `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (h("span", { key: '2295538938128173047a5c81166cbee3d652cf25', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (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 }))));
65
+ `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (h("span", { key: '2f17e830e7d5977c06dff45e248ec6d4bcf2885c', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (h("eds-icon-wrapper", { key: 'd171f505b869787c01945720489343a6d57e02bf', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
66
66
  }
67
67
  get el() { return this; }
68
68
  static get watchers() { return {
@@ -70,7 +70,6 @@ const linkStyles = cva([
70
70
  false: ''
71
71
  },
72
72
  size: {
73
- underline: 'f-body-02 ',
74
73
  small: 'min-h-36 f-ui-02 px-12',
75
74
  large: 'min-h-44 f-ui-01 px-16'
76
75
  }
@@ -123,6 +122,16 @@ const linkStyles = cva([
123
122
  intent: 'inverse',
124
123
  isActive: true,
125
124
  class: 'before:!opacity-100'
125
+ },
126
+ {
127
+ intent: 'underline',
128
+ size: 'small',
129
+ class: '!px-0 !py-0 !min-h-0 f-ui-02'
130
+ },
131
+ {
132
+ intent: 'underline',
133
+ size: 'large',
134
+ class: '!px-0 !py-0 !min-h-0 f-ui-01'
126
135
  }
127
136
  ],
128
137
  defaultVariants: {
@@ -140,7 +149,7 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
140
149
  this.__attachShadow();
141
150
  this.parentContext = null; // Accepts the entire event detail or null
142
151
  this.label = undefined;
143
- this.intent = undefined;
152
+ this.intent = 'primary';
144
153
  this.icon = undefined;
145
154
  this.iconPos = 'right';
146
155
  this.iconSmall = false;
@@ -152,7 +161,6 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
152
161
  this.ariaLabel = undefined;
153
162
  this.disabled = false;
154
163
  this.hideLabelOnSmallScreen = false;
155
- this.extraClass = undefined;
156
164
  }
157
165
  handleParentContext(event) {
158
166
  if (event.target !== this.el) {
@@ -197,9 +205,6 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
197
205
  }
198
206
  }
199
207
  getLinkSize() {
200
- if (this.intent === 'underline') {
201
- return 'underline';
202
- }
203
208
  return this.size;
204
209
  }
205
210
  renderLeftIcon() {
@@ -228,12 +233,13 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
228
233
  isActive: this.current,
229
234
  hasIcon: !!this.icon
230
235
  });
236
+ const safeUrl = typeof this.url === 'string' && this.url.length ? this.url : undefined;
231
237
  const isInteractive = !this.disabled;
232
238
  const isIconOnly = !this.label || (this.hideLabelOnSmallScreen && this.icon);
233
239
  const labelClasses = this.hideLabelOnSmallScreen
234
240
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
235
241
  : '';
236
- return (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) }, h("span", { key: 'f4e89354ea8e252a26c85a560af9e7cfed7f8287', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && h("span", { key: 'ca10c283dd14c3e3830baddec7ba193522a02e7c', class: labelClasses }, this.label), this.renderRightIcon())));
242
+ return (h("a", { key: '1ae7cb8fda0fdc0a4396504a4dfa13afa428d98f', class: `${classes || ''}`, href: isInteractive ? safeUrl : 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) }, h("span", { key: '7fc137758d974ba4a3a974f7b22587d3ca3b031e', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && h("span", { key: '7c79baae49579eef264ab6546aa3ac8e044dcb46', class: labelClasses }, this.label), this.renderRightIcon())));
237
243
  }
238
244
  get el() { return this; }
239
245
  static get style() { return EdsLinkStyle0; }
@@ -250,8 +256,7 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
250
256
  "url": [1],
251
257
  "ariaLabel": [1, "aria-label"],
252
258
  "disabled": [4],
253
- "hideLabelOnSmallScreen": [4, "hide-label-on-small-screen"],
254
- "extraClass": [1, "extra-class"]
259
+ "hideLabelOnSmallScreen": [4, "hide-label-on-small-screen"]
255
260
  }, [[0, "parentContext", "handleParentContext"]]]);
256
261
  function defineCustomElement() {
257
262
  if (typeof customElements === "undefined") {
@@ -67,7 +67,7 @@ const EdsLogo = /*@__PURE__*/ proxyCustomElement(class EdsLogo extends HTMLEleme
67
67
  }
68
68
  render() {
69
69
  const logoContent = this.getLogo();
70
- return (h("a", { key: '735f3592da7eed337c528731c28c6e708bbfcf82', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '5db166d68cb6e193d3dbc2a8ba4b54eae99aac44', innerHTML: logoContent })));
70
+ return (h("a", { key: '0a0d4dd69a1af10c1c571a56ed0f698d95652405', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '0d8ca0f9c647b3b12daf944b9c2919a93134bec2', innerHTML: logoContent })));
71
71
  }
72
72
  get el() { return this; }
73
73
  static get style() { return EdsLogoStyle0; }
@@ -120,9 +120,9 @@ const EdsModal$1 = /*@__PURE__*/ proxyCustomElement(class EdsModal extends HTMLE
120
120
  render() {
121
121
  // Generate a unique id for the title so we can reference it for aria-labelledby.
122
122
  const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
123
- return (h("div", { key: '084e8a793a54d3b94e9936aea3dddff6c5dbf31c', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'f1ba9240bd0427010e6439e4113a72c723e76735', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
123
+ return (h("div", { key: '6b7cbab7db29bb09415bb9538d69ac9a238a7776', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: '56f00980b2f843b5c1ce85502409d4711d89fad7', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
124
124
  ,
125
- onClick: () => this.close() })), h("div", { key: 'fdc9834811631f45218de181d8c8aac6437b6d8e', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '5c26633ad8dcccef085d8e44ae730d2a2aa8c8e8', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, h("span", { key: '469d306cad57cceebc01d7875bf7ff2b2677e25a', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '37234a6ba72ec0c2b02b245974b2902a18578f02', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '1b30473db862378b7d712b7a9b954a37ae61743f', class: "pt-8 px-20 py-20" }, h("slot", { key: 'e1ef78bbd750000172e3536f8d8b6584085869b6' })))));
125
+ onClick: () => this.close() })), h("div", { key: '687e1975bb8a17b0a6eb42038f72117dc71ca876', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '653886c1ee090152b0a9d8dbb6e554762496167f', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, h("span", { key: 'efefadd7e6630d9d9b498e68480a41b604c16c9f', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '79a156bd0640990911f1480a4e6becc7c4c20d7b', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '802a6cc72f1bb41e8f907baa8d37cb5a01baf0cf', class: "pt-8 px-20 py-20" }, h("slot", { key: '1a59aaa764e4c4ed972de7a700ddf8f716e40e58' })))));
126
126
  }
127
127
  get el() { return this; }
128
128
  static get style() { return EdsModalStyle0; }
@@ -14,71 +14,84 @@ const EdsNps = /*@__PURE__*/ proxyCustomElement(class EdsNps extends HTMLElement
14
14
  this.nps = createEvent(this, "nps", 7);
15
15
  this.min = 0;
16
16
  this.max = 10;
17
+ this.btnRefs = [];
18
+ this.onSelect = (value) => {
19
+ this.selectedValue = value;
20
+ this.nps.emit(value);
21
+ // Move focus to the selected button (like your rating component)
22
+ requestAnimationFrame(() => {
23
+ var _a, _b;
24
+ const idx = value - this.min;
25
+ (_b = (_a = this.btnRefs[idx]) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
26
+ });
27
+ };
28
+ this.handleKeyNav = (e) => {
29
+ const { key } = e;
30
+ const navigational = ['ArrowRight', 'ArrowLeft', 'Home', 'End', ' ', 'Enter'];
31
+ if (!navigational.includes(key)) {
32
+ return;
33
+ }
34
+ e.preventDefault();
35
+ const count = this.max - this.min + 1;
36
+ // Derive current index from selectedValue; if none, use 0 (first)
37
+ let currentIdx = this.selectedValue == null ? 0 : this.selectedValue - this.min;
38
+ switch (key) {
39
+ case 'ArrowRight':
40
+ currentIdx = Math.min(count - 1, currentIdx + 1);
41
+ this.setActiveByIndex(currentIdx, /*commit*/ false);
42
+ break;
43
+ case 'ArrowLeft':
44
+ currentIdx = Math.max(0, currentIdx - 1);
45
+ this.setActiveByIndex(currentIdx, /*commit*/ false);
46
+ break;
47
+ case 'Home':
48
+ this.setActiveByIndex(0, /*commit*/ false);
49
+ break;
50
+ case 'End':
51
+ this.setActiveByIndex(count - 1, /*commit*/ false);
52
+ break;
53
+ case ' ':
54
+ case 'Enter':
55
+ // Commit current focused item
56
+ this.onSelect(this.min + currentIdx);
57
+ break;
58
+ }
59
+ };
17
60
  this.question = undefined;
18
61
  this.leftLabel = undefined;
19
62
  this.rightLabel = undefined;
20
63
  this.selectedValue = null;
21
64
  }
22
- handleClick(value) {
65
+ /** Move visual highlight & roving tabindex; optionally commit selection */
66
+ setActiveByIndex(index, commit = false) {
67
+ var _a;
68
+ const value = this.min + index;
69
+ // Update highlight so focus movement is visible (like your rating)
23
70
  this.selectedValue = value;
24
- this.nps.emit(value);
25
- }
26
- handleKeyNav(e) {
27
- const radios = Array.from(this.el.shadowRoot.querySelectorAll('eds-button'));
28
- const currentIndex = radios.findIndex((r) => r.tabIndex === 0);
29
- switch (e.key) {
30
- case 'ArrowRight':
31
- case 'ArrowLeft': {
32
- e.preventDefault();
33
- const delta = e.key === 'ArrowRight' ? 1 : -1;
34
- const nextIndex = Math.min(this.max, Math.max(0, currentIndex + delta));
35
- this.activateRadio(radios, nextIndex);
36
- break;
37
- }
38
- case 'Home': {
39
- e.preventDefault();
40
- this.activateRadio(radios, 0);
41
- break;
42
- }
43
- case 'End': {
44
- e.preventDefault();
45
- this.activateRadio(radios, this.max);
46
- break;
47
- }
48
- case 'Enter':
49
- case ' ': {
50
- e.preventDefault();
51
- if (currentIndex >= 0) {
52
- this.handleClick(this.min + currentIndex);
53
- }
54
- break;
55
- }
56
- case 'Escape': {
57
- e.preventDefault();
58
- if (currentIndex >= 0) {
59
- radios[currentIndex].blur();
60
- }
61
- break;
62
- }
63
- default:
64
- return;
71
+ // Focus the button host (ensure eds-button forwards focus to its inner <button>)
72
+ const target = this.btnRefs[index];
73
+ typeof (target === null || target === void 0 ? void 0 : target.focusInner) === 'function' ? target.focusInner() : (_a = target === null || target === void 0 ? void 0 : target.focus) === null || _a === void 0 ? void 0 : _a.call(target);
74
+ if (commit) {
75
+ this.onSelect(value);
65
76
  }
66
77
  }
67
- activateRadio(radios, index) {
68
- const target = radios[index];
69
- const value = this.min + index;
70
- this.handleClick(value);
71
- target.focus();
72
- }
73
78
  render() {
74
79
  const count = this.max - this.min + 1;
75
- //onst fallback = 0;
76
- return (h("div", { key: '19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25', class: "eds-nps" }, h("eds-input-label", { key: '046239977d2dc639eabfc60a67df62011833a983', id: "nps-question", name: "nps-question", label: this.question }), 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) => {
80
+ return (h("div", { key: 'f5e19e0f750c0de6da3bae5713dca0e13eba85fc', class: "eds-nps" }, h("eds-input-label", { key: '3ff611a932976956735395fb531d9a800b554974', id: "nps-question", name: "nps-question", label: this.question }), h("div", { key: 'da0c3af26dd24d7dc618675aa7f197f55023230f', id: "nps-buttons", role: "radiogroup", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: this.handleKeyNav }, Array.from({ length: count }, (_, i) => {
77
81
  const val = this.min + i;
78
82
  const isSelected = val === this.selectedValue;
79
- const tabIndex = isSelected ? 0 : -1;
80
- return (h("div", { class: "grid-col-span-1", key: val }, 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) })));
81
- })), h("div", { key: '305bc5b2d162fc40fc56557291d37e29498563a2', class: "flex justify-between mt-8" }, h("span", { key: '7fe2191db8cacabed26f451ac0175f23ede3317e', class: "f-ui-04 text-light ml-4" }, this.leftLabel), h("span", { key: 'a85aca88d4de2897d7ba04578cf57a844c660675', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
83
+ // Roving tabindex: focusable is the selected; if none selected yet, first is focusable
84
+ const tabIndex = isSelected || (this.selectedValue == null && i === 0) ? 0 : -1;
85
+ return (h("div", { class: "grid-col-span-1", key: val }, h("eds-button", { ref: (el) => (this.btnRefs[i] = el), role: "radio", "aria-checked": isSelected ? 'true' : 'false', "aria-label": `${val}`,
86
+ // Use onClick so keyboard activation on inner <button> works natively
87
+ onClick: () => this.onSelect(val), tabIndex: tabIndex, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", label: `${val}`,
88
+ // Optional: keep highlight in sync when tabbing into the group
89
+ onFocus: () => {
90
+ // Only move highlight on initial focus or when roving; remove if you
91
+ // want focus without highlight.
92
+ this.selectedValue = val;
93
+ } })));
94
+ })), h("div", { key: '10b2f854cff8192e54ee30feb44ad4143c54ad10', class: "flex justify-between mt-8" }, h("span", { key: '361b421b368219f9d7aa6306d912913e9d401fa0', class: "f-ui-04 text-light ml-4" }, this.leftLabel), h("span", { key: '2969496e1b6f772fcdf49667f66eee6dee6760fa', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
82
95
  }
83
96
  get el() { return this; }
84
97
  static get style() { return EdsNpsStyle0; }
@@ -246,7 +246,7 @@ const EdsPagination = /*@__PURE__*/ proxyCustomElement(class EdsPagination exten
246
246
  }
247
247
  render() {
248
248
  const navigableIndex = -1; // Track index for keyboard navigation
249
- return (h("div", { key: '1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '87b18c6b1fc475e335f829a4f61b7a8883dc7b9e', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, h("span", { key: 'd5af6f58fc41d83c7e9519bbaa76fb31e6cbb522', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, h("li", { class: "mr-auto" }, this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, 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) => {
249
+ return (h("div", { key: '17128145803ac6af5f37d5e7c7f0576961c3e372' }, this.total > 0 && this.mode === 'default' && (h("p", { key: 'e50738bfadd0b115ed2d05b81199f0d4cfadda18', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, h("span", { key: '230f2306254d7c5fa2bfd354f308e4fa6b5c2994', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, h("li", { class: "mr-auto" }, this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, 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) => {
250
250
  if (this.mode === 'default' && !this.isFirstPage()) {
251
251
  this.handlePageClick(event, (this.currentPage || 1) - 1);
252
252
  }
@@ -46,7 +46,7 @@ const EdsProgressBar = /*@__PURE__*/ proxyCustomElement(class EdsProgressBar ext
46
46
  ]
47
47
  .filter(Boolean)
48
48
  .join(' ');
49
- return (h("div", { key: '38e64c698f6cf8c22a6ddf41476a6eda785e537e', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: 'a0a17695931c6e442d886ef773e2cee3a31ab720', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '6ee49e1cf553b0cc20a70a8b258a307e5282be97', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: '0485a3b6ce82ee2c309554e92c14a6dd03819bb2', class: "text-default f-body-02" }, progressValue, "%"))));
49
+ return (h("div", { key: 'a3a56c8ed86104fb26ce5a3f7d583d02705b59d0', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: 'ef56ff5501bfec77174a90dafabdd35210936c9d', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '69eec5cd3a6b8fec6defa621b69559da47df66a6', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: '7fdeea8fbe2e600daca350e67a27fbed9708c1e1', class: "text-default f-body-02" }, progressValue, "%"))));
50
50
  }
51
51
  static get style() { return EdsProgressBarStyle0; }
52
52
  }, [1, "eds-progress-bar", {
@@ -70,7 +70,7 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
70
70
  this.onSelect(next);
71
71
  }
72
72
  render() {
73
- return (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) => {
73
+ return (h("div", { key: '5d1cf924d2a59b4141eac1bd4f122c9cf640cf9c', 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) => {
74
74
  const starRating = index + 1;
75
75
  const isSelected = starRating <= this.selectedRating;
76
76
  // Use the mapping text if available; otherwise, fall back to a generic label.
@@ -15,7 +15,7 @@ const EdsSectionCore = /*@__PURE__*/ proxyCustomElement(class EdsSectionCore ext
15
15
  }
16
16
  render() {
17
17
  const TagType = this.tag; // Set dynamic tag type (div or section)
18
- return (h(TagType, { key: 'b27b48854fc7d537c131da2c23850b2b7b9b2368' }, h("eds-section-heading", { key: '7c3575d8c0295e2cd1c70a2748a25aa65d6892e6', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '66526792e818932d8e44ff927638560ce1b40cac' })));
18
+ return (h(TagType, { key: '3c75c9cda6a41c0d4243c3c111d7cc95f3efb97b' }, h("eds-section-heading", { key: '05b4d011aa1b8f489fe8aa0fd6d43b824da03370', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '1749580398e56d38d83d5f5fdd87f43867a554cb' })));
19
19
  }
20
20
  static get style() { return EdsSectionCoreStyle0; }
21
21
  }, [1, "eds-section-core", {
@@ -26,12 +26,12 @@ const EdsSectionHeading = /*@__PURE__*/ proxyCustomElement(class EdsSectionHeadi
26
26
  render() {
27
27
  const TagType = this.tag; // Dynamically set tag type for the container
28
28
  const HeadingTag = this.headingLevel; // Dynamically set heading level
29
- return (h(TagType, { key: 'efba0650ab65807f560c5676ead78b19b94e8b18', class: {
29
+ return (h(TagType, { key: '18614645f329d9ccfe6104b544ff306c6190173a', class: {
30
30
  'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
31
31
  container: this.withContainer,
32
32
  'pt-48': this.spacingLarge,
33
33
  'pt-28': !this.spacingLarge
34
- } }, h(HeadingTag, { key: '50e3a8d81b7fd5af96ef3a1dbb7e5bbacb73ef15', class: this.getHeadingClass() }, this.sectionTitle)));
34
+ } }, h(HeadingTag, { key: 'ce699077313e9ee8d8a66e68af667451351a35a6', class: this.getHeadingClass() }, this.sectionTitle)));
35
35
  }
36
36
  }, [0, "eds-section-heading", {
37
37
  "sectionTitle": [1, "section-title"],
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EdsSidebar extends Components.EdsSidebar, HTMLElement {}
4
+ export const EdsSidebar: {
5
+ prototype: EdsSidebar;
6
+ new (): EdsSidebar;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;