@ebrains/components 2.0.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (649) hide show
  1. package/dist/cjs/clone-846acfdd.js +5 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components-section.cjs.entry.js +4 -6
  4. package/dist/cjs/components.cjs.js +2 -2
  5. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  6. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  7. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  8. package/dist/cjs/download-9d17d025.js +20 -0
  9. package/dist/cjs/edit-ff5b84d8.js +5 -0
  10. package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-accordion_34.cjs.entry.js} +3597 -203
  11. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
  13. package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  20. package/dist/cjs/eds-footer.cjs.entry.js +9 -5
  21. package/dist/cjs/eds-frame.cjs.entry.js +2 -2
  22. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +9 -4
  23. package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  33. package/dist/cjs/eds-icon-clone.cjs.entry.js +18 -0
  34. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  35. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
  37. package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-edit.cjs.entry.js +3 -3
  39. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  43. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  44. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  45. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  46. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  47. package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  49. package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
  50. package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
  51. package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
  53. package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
  57. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  62. package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-icon-view.cjs.entry.js +18 -0
  66. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  67. package/dist/cjs/eds-modal.cjs.entry.js +3 -3
  68. package/dist/cjs/eds-pie.cjs.entry.js +1 -1
  69. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  70. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  71. package/dist/cjs/eds-social-networks.cjs.entry.js +3 -5
  72. package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
  73. package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
  74. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  75. package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
  76. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  77. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  78. package/dist/cjs/{index-88c8039f.js → index-0249a32e.js} +19 -32
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  81. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  82. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  83. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  84. package/dist/cjs/svg-repository.cjs.entry.js +10 -22
  85. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  86. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  87. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  88. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  89. package/dist/cjs/view-80d5c6c8.js +5 -0
  90. package/dist/collection/collection-manifest.json +4 -0
  91. package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
  92. package/dist/collection/components/eds-alert/eds-alert.js +30 -3
  93. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  94. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  95. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  96. package/dist/collection/components/eds-button/eds-button.css +4 -0
  97. package/dist/collection/components/eds-button/eds-button.js +19 -8
  98. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  99. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  100. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  101. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  102. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  103. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  104. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  105. package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
  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 +36 -0
  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 +36 -0
  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 +1 -1
  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 +36 -0
  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 +3 -2
  157. package/dist/collection/components/eds-link/eds-link.js +27 -7
  158. package/dist/collection/components/eds-link/eds-link.stories.js +3 -1
  159. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  160. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  161. package/dist/collection/components/eds-nps/eds-npm.stories.js +36 -0
  162. package/dist/collection/components/eds-nps/eds-nps.css +73 -0
  163. package/dist/collection/components/eds-nps/eds-nps.js +163 -0
  164. package/dist/collection/components/eds-pagination/eds-pagination.css +16 -0
  165. package/dist/collection/components/eds-pagination/eds-pagination.js +131 -51
  166. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  167. package/dist/collection/components/eds-rating/eds-rating.js +25 -3
  168. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  169. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  170. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  171. package/dist/collection/components/eds-switch/eds-switch.css +15 -5
  172. package/dist/collection/components/eds-switch/eds-switch.js +26 -4
  173. package/dist/collection/components/eds-table/eds-table.css +4 -0
  174. package/dist/collection/components/eds-table/eds-table.js +42 -39
  175. package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
  176. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  177. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  178. package/dist/collection/components/eds-tooltip/eds-tooltip.css +5 -0
  179. package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
  180. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  181. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  182. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  183. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  184. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  185. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  186. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  187. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  188. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  189. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  190. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +1 -1
  191. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  192. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  193. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  194. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  195. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  196. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  197. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  198. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  199. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  200. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  201. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  202. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  203. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  204. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  205. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  206. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  207. package/dist/collection/shared-ui/eds-footer/eds-footer.js +13 -6
  208. package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
  209. package/dist/collection/shared-ui/eds-form/eds-form.js +110 -5
  210. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +33 -4
  211. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  212. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
  213. package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
  214. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
  215. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
  216. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
  217. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
  218. package/dist/collection/shared-ui/eds-steps/eds-steps.css +136 -92
  219. package/dist/collection/shared-ui/eds-steps/eds-steps.js +234 -40
  220. package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
  221. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +44 -33
  222. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +195 -19
  223. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
  224. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +26 -5
  225. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +89 -31
  226. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  227. package/dist/collection/shared-ui/eds-user/eds-user.js +35 -1
  228. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  229. package/dist/collection/utils/eds-form/formValidators.js +34 -0
  230. package/dist/components/clone.js +3 -0
  231. package/dist/components/components-section.js +3 -5
  232. package/dist/components/components.css +7 -12
  233. package/dist/components/components.esm.js +1 -1
  234. package/dist/components/correct-use-of-colors.js +1 -1
  235. package/dist/components/docs-palettes.js +1 -1
  236. package/dist/components/docs-tokens.js +1 -1
  237. package/dist/components/download.js +18 -0
  238. package/dist/components/edit.js +1 -1
  239. package/dist/components/eds-accordion2.js +1 -1
  240. package/dist/components/eds-alert2.js +21 -5
  241. package/dist/components/eds-app-root.js +1 -1
  242. package/dist/components/eds-avatar2.js +1 -1
  243. package/dist/components/eds-block-break2.js +1 -1
  244. package/dist/components/eds-breadcrumb.js +1 -1
  245. package/dist/components/eds-button2.js +21 -10
  246. package/dist/components/eds-card-desc2.js +1 -1
  247. package/dist/components/eds-card-project.js +1 -1
  248. package/dist/components/eds-card-tags.js +1 -1
  249. package/dist/components/eds-card-title2.js +1 -1
  250. package/dist/components/eds-card-tool.js +1 -1
  251. package/dist/components/eds-code-block2.js +1 -1
  252. package/dist/components/eds-cookies-preference.js +1 -1
  253. package/dist/components/eds-dropdown2.js +2 -2
  254. package/dist/components/eds-feedback.js +1 -1
  255. package/dist/components/eds-footer2.js +8 -4
  256. package/dist/components/eds-form.js +100 -24
  257. package/dist/components/eds-frame.js +1 -1
  258. package/dist/components/eds-fullscreen-menu.js +8 -3
  259. package/dist/components/eds-gauge.js +1 -1
  260. package/dist/components/eds-header.js +1 -1
  261. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  262. package/dist/components/eds-icon-arrow-right.js +1 -1
  263. package/dist/components/eds-icon-bin.js +1 -1
  264. package/dist/components/eds-icon-bluesky.js +1 -1
  265. package/dist/components/eds-icon-bookmark.js +1 -1
  266. package/dist/components/eds-icon-chevron-down.js +1 -1
  267. package/dist/components/eds-icon-chevron-left.js +1 -1
  268. package/dist/components/eds-icon-chevron-right.js +1 -1
  269. package/dist/components/eds-icon-chevron-up.js +1 -1
  270. package/dist/components/eds-icon-clone.d.ts +11 -0
  271. package/dist/components/eds-icon-clone.js +33 -0
  272. package/dist/components/eds-icon-close.js +1 -1
  273. package/dist/components/eds-icon-copy.js +1 -1
  274. package/dist/components/eds-icon-download.d.ts +11 -0
  275. package/dist/components/eds-icon-download.js +33 -0
  276. package/dist/components/eds-icon-draft.js +1 -1
  277. package/dist/components/eds-icon-edit.js +1 -1
  278. package/dist/components/eds-icon-eu.js +1 -1
  279. package/dist/components/eds-icon-external.js +1 -1
  280. package/dist/components/eds-icon-facebook.js +1 -1
  281. package/dist/components/eds-icon-gitlab.js +1 -1
  282. package/dist/components/eds-icon-linkedin.js +1 -1
  283. package/dist/components/eds-icon-loader.js +1 -1
  284. package/dist/components/eds-icon-mastodon.js +1 -1
  285. package/dist/components/eds-icon-menu.js +1 -1
  286. package/dist/components/eds-icon-minus.js +1 -1
  287. package/dist/components/eds-icon-more.js +1 -1
  288. package/dist/components/eds-icon-paper.js +1 -1
  289. package/dist/components/eds-icon-plus.js +1 -1
  290. package/dist/components/eds-icon-portal.js +1 -1
  291. package/dist/components/eds-icon-private.js +1 -1
  292. package/dist/components/eds-icon-public.js +1 -1
  293. package/dist/components/eds-icon-search.js +1 -1
  294. package/dist/components/eds-icon-star.js +1 -1
  295. package/dist/components/eds-icon-start.js +1 -1
  296. package/dist/components/eds-icon-success.js +1 -1
  297. package/dist/components/eds-icon-thumbs-down.js +1 -1
  298. package/dist/components/eds-icon-thumbs-up.js +1 -1
  299. package/dist/components/eds-icon-tutorial.js +1 -1
  300. package/dist/components/eds-icon-twitter.js +1 -1
  301. package/dist/components/eds-icon-unknown.js +1 -1
  302. package/dist/components/eds-icon-updown.js +1 -1
  303. package/dist/components/eds-icon-user.js +1 -1
  304. package/dist/components/eds-icon-view.d.ts +11 -0
  305. package/dist/components/eds-icon-view.js +33 -0
  306. package/dist/components/eds-icon-youtube.js +1 -1
  307. package/dist/components/eds-img2.js +2 -2
  308. package/dist/components/eds-input-field2.js +4 -3
  309. package/dist/components/eds-input-footer2.js +1 -1
  310. package/dist/components/eds-input-label2.js +1 -1
  311. package/dist/components/eds-input-range2.js +1 -1
  312. package/dist/components/eds-input-search2.js +1 -1
  313. package/dist/components/eds-input-select2.js +2 -2
  314. package/dist/components/eds-input2.js +2 -2
  315. package/dist/components/eds-link2.js +27 -7
  316. package/dist/components/eds-logo2.js +1 -1
  317. package/dist/components/eds-modal.js +2 -2
  318. package/dist/components/eds-nps.d.ts +11 -0
  319. package/dist/components/eds-nps.js +6 -0
  320. package/dist/components/eds-nps2.js +120 -0
  321. package/dist/components/eds-pagination2.js +120 -53
  322. package/dist/components/eds-progress-bar2.js +1 -1
  323. package/dist/components/eds-rating2.js +25 -3
  324. package/dist/components/eds-section-core2.js +1 -1
  325. package/dist/components/eds-section-heading2.js +2 -2
  326. package/dist/components/eds-social-networks2.js +2 -4
  327. package/dist/components/eds-spinner2.js +1 -1
  328. package/dist/components/eds-steps-v2.js +35 -13
  329. package/dist/components/eds-steps2.js +54 -35
  330. package/dist/components/eds-switch.js +27 -5
  331. package/dist/components/eds-table2.js +74 -41
  332. package/dist/components/eds-tabs.js +90 -32
  333. package/dist/components/eds-tag2.js +1 -1
  334. package/dist/components/eds-timeline.js +1 -1
  335. package/dist/components/eds-toast-manager.js +1 -1
  336. package/dist/components/eds-tooltip.js +1 -50
  337. package/dist/components/eds-tooltip2.js +52 -0
  338. package/dist/components/eds-trl.js +37 -25
  339. package/dist/components/eds-user.js +12 -10
  340. package/dist/components/incorrect-use-of-colors.js +9 -3
  341. package/dist/components/logo-space.js +35 -23
  342. package/dist/components/logo-variations-horizontal2.js +1 -1
  343. package/dist/components/logo-variations-tabs.js +1 -1
  344. package/dist/components/logo-variations-vertical2.js +1 -1
  345. package/dist/components/logo-wrong-usage.js +1 -1
  346. package/dist/components/p-0452fe52.entry.js +1 -0
  347. package/dist/components/p-04f288b1.entry.js +1 -0
  348. package/dist/components/p-06951aa3.entry.js +1 -0
  349. package/dist/components/p-0da7d1c9.js +1 -0
  350. package/dist/components/p-101392d0.entry.js +1 -0
  351. package/dist/components/{p-ed4d9bf5.entry.js → p-171f8e6b.entry.js} +1 -1
  352. package/dist/components/p-19e69c03.entry.js +1 -0
  353. package/dist/components/{p-e2e7250a.entry.js → p-1b032aa8.entry.js} +1 -1
  354. package/dist/components/{p-adbd0d7b.entry.js → p-265150a1.entry.js} +1 -1
  355. package/dist/components/p-27c4a06e.js +1 -0
  356. package/dist/components/p-28ec52a7.entry.js +1 -0
  357. package/dist/components/p-2f712656.entry.js +1 -0
  358. package/dist/components/p-3097c321.entry.js +1 -0
  359. package/dist/components/p-36db7db0.entry.js +1 -0
  360. package/dist/components/p-38b0ea8d.entry.js +1 -0
  361. package/dist/components/p-3b551ade.entry.js +9 -0
  362. package/dist/components/p-3fa4a703.entry.js +1 -0
  363. package/dist/components/p-3fa54526.entry.js +1 -0
  364. package/dist/components/p-42680319.entry.js +1 -0
  365. package/dist/components/{p-6d3b5818.entry.js → p-4c618a35.entry.js} +1 -1
  366. package/dist/components/p-4d207d0e.entry.js +1 -0
  367. package/dist/components/p-4db384d9.entry.js +1 -0
  368. package/dist/components/p-4eb2cf7f.js +1 -0
  369. package/dist/components/{p-70e8e66f.entry.js → p-50d7eed9.entry.js} +1 -1
  370. package/dist/components/p-5367bb59.entry.js +1 -0
  371. package/dist/components/{p-356846cd.entry.js → p-5479e43b.entry.js} +1 -1
  372. package/dist/components/{p-3e183368.entry.js → p-58c8c0d7.entry.js} +1 -1
  373. package/dist/components/p-5a88cdc2.entry.js +1 -0
  374. package/dist/components/p-5b574bb2.entry.js +1 -0
  375. package/dist/components/p-5ec9fc29.entry.js +1 -0
  376. package/dist/components/p-5f350866.entry.js +1 -0
  377. package/dist/components/p-5ff10b6f.entry.js +1 -0
  378. package/dist/components/p-6420754e.entry.js +1 -0
  379. package/dist/components/{p-b073d78f.entry.js → p-64b7a6fc.entry.js} +1 -1
  380. package/dist/components/{p-02d94d2d.entry.js → p-6614881d.entry.js} +1 -1
  381. package/dist/components/p-68a2cd95.entry.js +1 -0
  382. package/dist/components/{p-f6ca2aa6.entry.js → p-6a2d1e11.entry.js} +1 -1
  383. package/dist/components/p-6b988c76.entry.js +1 -0
  384. package/dist/components/p-7032a73b.entry.js +1 -0
  385. package/dist/components/p-7272628d.entry.js +1 -0
  386. package/dist/components/p-78c348e2.entry.js +1 -0
  387. package/dist/components/{p-8c0b0121.entry.js → p-79afd8aa.entry.js} +1 -1
  388. package/dist/components/p-7a5623b5.entry.js +1 -0
  389. package/dist/components/p-7fa46b01.entry.js +1 -0
  390. package/dist/components/p-86eff0cb.entry.js +1 -0
  391. package/dist/components/p-870001ee.entry.js +1 -0
  392. package/dist/components/p-88eeaeca.entry.js +1 -0
  393. package/dist/components/p-8b7910d2.entry.js +1 -0
  394. package/dist/components/p-8cf98230.entry.js +1 -0
  395. package/dist/components/{p-e35e156d.entry.js → p-8eced026.entry.js} +1 -1
  396. package/dist/components/{p-0687532c.entry.js → p-8edd07db.entry.js} +1 -1
  397. package/dist/components/p-8ef68d8a.entry.js +1 -0
  398. package/dist/components/p-8fb1eb43.entry.js +1 -0
  399. package/dist/components/p-9261d27c.entry.js +1 -0
  400. package/dist/components/{p-9d18d7b1.entry.js → p-94a223ec.entry.js} +1 -1
  401. package/dist/components/{p-1f5c19b9.entry.js → p-9c1c5e8d.entry.js} +1 -1
  402. package/dist/components/p-9cb14b1f.entry.js +1 -0
  403. package/dist/components/{p-024789cc.entry.js → p-a5fd4fc9.entry.js} +1 -1
  404. package/dist/components/p-a6586448.entry.js +1 -0
  405. package/dist/components/p-ad7d603b.entry.js +1 -0
  406. package/dist/components/p-b24ef7f7.entry.js +1 -0
  407. package/dist/components/{p-66f4cdd9.entry.js → p-b31babda.entry.js} +1 -1
  408. package/dist/components/p-baa2df0b.entry.js +1 -0
  409. package/dist/components/p-bfe9d934.entry.js +1 -0
  410. package/dist/components/p-c1943b8f.entry.js +1 -0
  411. package/dist/components/{p-b3a40663.entry.js → p-c66f4dd8.entry.js} +1 -1
  412. package/dist/components/{p-4e473b4e.entry.js → p-d1927da7.entry.js} +1 -1
  413. package/dist/components/{p-543f2347.entry.js → p-d2e485a1.entry.js} +1 -1
  414. package/dist/components/{p-794f11e7.entry.js → p-d3391236.entry.js} +1 -1
  415. package/dist/components/p-da0e9a75.entry.js +1 -0
  416. package/dist/components/p-dbe11048.entry.js +1 -0
  417. package/dist/components/{p-773a119a.entry.js → p-dd28ab38.entry.js} +1 -1
  418. package/dist/components/p-e42ac312.entry.js +1 -0
  419. package/dist/components/p-e6c3f38c.entry.js +1 -0
  420. package/dist/components/p-e7c37e5b.entry.js +1 -0
  421. package/dist/components/p-e8374410.entry.js +1 -0
  422. package/dist/components/p-e90da4ba.entry.js +1 -0
  423. package/dist/components/p-e9cd3c4b.entry.js +1 -0
  424. package/dist/components/p-ebd59113.entry.js +1 -0
  425. package/dist/components/{p-28ae3f3a.js → p-efbc374c.js} +2 -2
  426. package/dist/components/p-f092b706.entry.js +1 -0
  427. package/dist/components/p-f29e7506.entry.js +1 -0
  428. package/dist/components/p-f2abe4d8.js +1 -0
  429. package/dist/components/p-f40dd50d.entry.js +1 -0
  430. package/dist/components/p-fc099d59.entry.js +1 -0
  431. package/dist/components/p-fda3da92.entry.js +1 -0
  432. package/dist/components/{p-2839899a.entry.js → p-ff902c98.entry.js} +1 -1
  433. package/dist/components/primary.js +1 -1
  434. package/dist/components/primary2.js +1 -1
  435. package/dist/components/secondary.js +1 -1
  436. package/dist/components/secondary2.js +7 -7
  437. package/dist/components/support.js +1 -1
  438. package/dist/components/support2.js +3 -3
  439. package/dist/components/svg-repository.js +41 -41
  440. package/dist/components/token-list2.js +1 -1
  441. package/dist/components/token-radii2.js +1 -1
  442. package/dist/components/token-ratios.js +1 -1
  443. package/dist/components/token-shadows2.js +1 -1
  444. package/dist/components/token-spacing.js +1 -1
  445. package/dist/components/token-typography.js +1 -1
  446. package/dist/components/view.js +3 -0
  447. package/dist/esm/clone-dab56639.js +3 -0
  448. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  449. package/dist/esm/components-section.entry.js +4 -6
  450. package/dist/esm/components.js +3 -3
  451. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  452. package/dist/esm/docs-palettes.entry.js +2 -2
  453. package/dist/esm/docs-tokens.entry.js +2 -2
  454. package/dist/esm/download-47746956.js +18 -0
  455. package/dist/esm/edit-3893a517.js +3 -0
  456. package/dist/esm/{eds-avatar_26.entry.js → eds-accordion_34.entry.js} +3591 -205
  457. package/dist/esm/eds-app-root.entry.js +2 -2
  458. package/dist/esm/eds-card-desc_2.entry.js +3 -3
  459. package/dist/esm/eds-card-generic.entry.js +1 -1
  460. package/dist/esm/eds-card-project.entry.js +2 -2
  461. package/dist/esm/eds-card-section.entry.js +1 -1
  462. package/dist/esm/eds-card-tags.entry.js +2 -2
  463. package/dist/esm/eds-card-tool.entry.js +2 -2
  464. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  465. package/dist/esm/eds-feedback.entry.js +2 -2
  466. package/dist/esm/eds-footer.entry.js +9 -5
  467. package/dist/esm/eds-frame.entry.js +2 -2
  468. package/dist/esm/eds-fullscreen-menu.entry.js +9 -4
  469. package/dist/esm/eds-gauge.entry.js +2 -2
  470. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  471. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  472. package/dist/esm/eds-icon-bin.entry.js +2 -2
  473. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  474. package/dist/esm/eds-icon-bookmark.entry.js +2 -2
  475. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  476. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  477. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  478. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  479. package/dist/esm/eds-icon-clone.entry.js +14 -0
  480. package/dist/esm/eds-icon-close.entry.js +2 -2
  481. package/dist/esm/eds-icon-copy.entry.js +2 -2
  482. package/dist/esm/eds-icon-download.entry.js +14 -0
  483. package/dist/esm/eds-icon-draft.entry.js +2 -2
  484. package/dist/esm/eds-icon-edit.entry.js +3 -3
  485. package/dist/esm/eds-icon-eu.entry.js +2 -2
  486. package/dist/esm/eds-icon-external.entry.js +2 -2
  487. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  488. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  489. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  490. package/dist/esm/eds-icon-loader.entry.js +2 -2
  491. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  492. package/dist/esm/eds-icon-menu.entry.js +2 -2
  493. package/dist/esm/eds-icon-minus.entry.js +2 -2
  494. package/dist/esm/eds-icon-more.entry.js +2 -2
  495. package/dist/esm/eds-icon-paper.entry.js +2 -2
  496. package/dist/esm/eds-icon-plus.entry.js +2 -2
  497. package/dist/esm/eds-icon-portal.entry.js +2 -2
  498. package/dist/esm/eds-icon-private.entry.js +2 -2
  499. package/dist/esm/eds-icon-public.entry.js +2 -2
  500. package/dist/esm/eds-icon-search.entry.js +2 -2
  501. package/dist/esm/eds-icon-star.entry.js +2 -2
  502. package/dist/esm/eds-icon-start.entry.js +2 -2
  503. package/dist/esm/eds-icon-success.entry.js +2 -2
  504. package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
  505. package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
  506. package/dist/esm/eds-icon-tutorial.entry.js +2 -2
  507. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  508. package/dist/esm/eds-icon-unknown.entry.js +2 -2
  509. package/dist/esm/eds-icon-updown.entry.js +2 -2
  510. package/dist/esm/eds-icon-user.entry.js +2 -2
  511. package/dist/esm/eds-icon-view.entry.js +14 -0
  512. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  513. package/dist/esm/eds-modal.entry.js +3 -3
  514. package/dist/esm/eds-pie.entry.js +1 -1
  515. package/dist/esm/eds-progress-bar.entry.js +2 -2
  516. package/dist/esm/eds-section-core_2.entry.js +4 -4
  517. package/dist/esm/eds-social-networks.entry.js +3 -5
  518. package/dist/esm/eds-spinner.entry.js +2 -2
  519. package/dist/esm/eds-splash-screen.entry.js +1 -1
  520. package/dist/esm/eds-timeline.entry.js +2 -2
  521. package/dist/esm/eds-toast-manager.entry.js +2 -2
  522. package/dist/esm/eds-trl.entry.js +2 -2
  523. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  524. package/dist/esm/{index-fdb33359.js → index-e84b871c.js} +19 -32
  525. package/dist/esm/loader.js +3 -3
  526. package/dist/esm/logo-space.entry.js +2 -2
  527. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  528. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  529. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  530. package/dist/esm/svg-repository.entry.js +9 -21
  531. package/dist/esm/token-list_3.entry.js +4 -4
  532. package/dist/esm/token-ratios.entry.js +2 -2
  533. package/dist/esm/token-spacing.entry.js +2 -2
  534. package/dist/esm/token-typography.entry.js +2 -2
  535. package/dist/esm/view-e900f2d4.js +3 -0
  536. package/dist/hydrate/index.js +852 -327
  537. package/dist/hydrate/index.mjs +852 -327
  538. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +3 -1
  539. package/dist/types/components/eds-alert/eds-alert.d.ts +6 -0
  540. package/dist/types/components/eds-button/eds-button.d.ts +1 -0
  541. package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +10 -0
  542. package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
  543. package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +10 -0
  544. package/dist/types/components/eds-link/eds-link.d.ts +1 -0
  545. package/dist/types/components/eds-nps/eds-npm.stories.d.ts +28 -0
  546. package/dist/types/components/eds-nps/eds-nps.d.ts +20 -0
  547. package/dist/types/components/eds-pagination/eds-pagination.d.ts +23 -2
  548. package/dist/types/components/eds-rating/eds-rating.d.ts +3 -1
  549. package/dist/types/components/eds-switch/eds-switch.d.ts +1 -0
  550. package/dist/types/components/eds-table/eds-table.d.ts +23 -8
  551. package/dist/types/components/eds-table/eds-table.stories.d.ts +7 -2
  552. package/dist/types/components.d.ts +421 -41
  553. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
  554. package/dist/types/shared-ui/eds-form/eds-form.d.ts +18 -0
  555. package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
  556. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
  557. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
  558. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
  559. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
  560. package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +72 -24
  561. package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
  562. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +42 -19
  563. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
  564. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +7 -9
  565. package/dist/types/shared-ui/eds-user/eds-user.d.ts +5 -0
  566. package/dist/types/utils/eds-form/formValidators.d.ts +1 -0
  567. package/package.json +1 -1
  568. package/dist/cjs/edit-5714c144.js +0 -5
  569. package/dist/cjs/eds-accordion.cjs.entry.js +0 -87
  570. package/dist/cjs/eds-alert.cjs.entry.js +0 -104
  571. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -145
  572. package/dist/cjs/eds-code-block.cjs.entry.js +0 -2489
  573. package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -125
  574. package/dist/cjs/eds-switch.cjs.entry.js +0 -46
  575. package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
  576. package/dist/components/p-023bc47c.entry.js +0 -1
  577. package/dist/components/p-02df910c.entry.js +0 -1
  578. package/dist/components/p-0be79e08.entry.js +0 -1
  579. package/dist/components/p-0e74d8b4.entry.js +0 -1
  580. package/dist/components/p-11efb1d1.entry.js +0 -1
  581. package/dist/components/p-1791ce82.entry.js +0 -1
  582. package/dist/components/p-19d586e6.entry.js +0 -1
  583. package/dist/components/p-2679926c.entry.js +0 -1
  584. package/dist/components/p-2d1a7471.entry.js +0 -1
  585. package/dist/components/p-2ff16a39.entry.js +0 -1
  586. package/dist/components/p-32e18e48.entry.js +0 -1
  587. package/dist/components/p-38e99d4b.entry.js +0 -1
  588. package/dist/components/p-3a331c68.entry.js +0 -1
  589. package/dist/components/p-4088ae0e.entry.js +0 -1
  590. package/dist/components/p-4277fb1a.entry.js +0 -1
  591. package/dist/components/p-42a73db4.entry.js +0 -1
  592. package/dist/components/p-43468b0f.entry.js +0 -1
  593. package/dist/components/p-44055e68.entry.js +0 -1
  594. package/dist/components/p-4a5d0dcd.entry.js +0 -1
  595. package/dist/components/p-4a7412ec.entry.js +0 -1
  596. package/dist/components/p-4b88d84c.entry.js +0 -1
  597. package/dist/components/p-50f43dfd.entry.js +0 -1
  598. package/dist/components/p-562afa88.entry.js +0 -1
  599. package/dist/components/p-564431ad.entry.js +0 -1
  600. package/dist/components/p-5aa4065a.entry.js +0 -1
  601. package/dist/components/p-5ae1c931.entry.js +0 -1
  602. package/dist/components/p-634258e6.entry.js +0 -1
  603. package/dist/components/p-68f45098.entry.js +0 -1
  604. package/dist/components/p-73a44c48.entry.js +0 -1
  605. package/dist/components/p-73c74835.entry.js +0 -1
  606. package/dist/components/p-76905315.entry.js +0 -1
  607. package/dist/components/p-7dbe791f.entry.js +0 -1
  608. package/dist/components/p-7ec52188.entry.js +0 -1
  609. package/dist/components/p-7fc84bb2.js +0 -1
  610. package/dist/components/p-82559816.entry.js +0 -1
  611. package/dist/components/p-85683b18.entry.js +0 -1
  612. package/dist/components/p-8681e5d8.entry.js +0 -1
  613. package/dist/components/p-877d13d9.entry.js +0 -1
  614. package/dist/components/p-8dee879d.entry.js +0 -1
  615. package/dist/components/p-911b1c0b.entry.js +0 -1
  616. package/dist/components/p-93e6ba0f.entry.js +0 -1
  617. package/dist/components/p-960aa103.entry.js +0 -1
  618. package/dist/components/p-996005b7.entry.js +0 -1
  619. package/dist/components/p-9e53eca3.entry.js +0 -1
  620. package/dist/components/p-aa5e75b4.entry.js +0 -1
  621. package/dist/components/p-ae9393b6.entry.js +0 -1
  622. package/dist/components/p-af137162.entry.js +0 -1
  623. package/dist/components/p-b630e51a.entry.js +0 -1
  624. package/dist/components/p-bb9af709.entry.js +0 -1
  625. package/dist/components/p-c2dc3692.entry.js +0 -1
  626. package/dist/components/p-c91b4eec.entry.js +0 -1
  627. package/dist/components/p-caff3355.entry.js +0 -1
  628. package/dist/components/p-ce66ea37.entry.js +0 -1
  629. package/dist/components/p-d4f239d7.entry.js +0 -1
  630. package/dist/components/p-d7251d4d.entry.js +0 -1
  631. package/dist/components/p-deb9bbed.entry.js +0 -1
  632. package/dist/components/p-ed7696a2.entry.js +0 -1
  633. package/dist/components/p-f2416727.entry.js +0 -1
  634. package/dist/components/p-f28b5da7.entry.js +0 -1
  635. package/dist/components/p-f3839914.entry.js +0 -1
  636. package/dist/components/p-f42b6251.entry.js +0 -1
  637. package/dist/components/p-f7a31196.entry.js +0 -1
  638. package/dist/components/p-f973c83b.entry.js +0 -1
  639. package/dist/components/p-fe167c78.entry.js +0 -9
  640. package/dist/esm/edit-1dc8d11b.js +0 -3
  641. package/dist/esm/eds-accordion.entry.js +0 -83
  642. package/dist/esm/eds-alert.entry.js +0 -100
  643. package/dist/esm/eds-breadcrumb.entry.js +0 -141
  644. package/dist/esm/eds-code-block.entry.js +0 -2485
  645. package/dist/esm/eds-matomo-notice.entry.js +0 -121
  646. package/dist/esm/eds-switch.entry.js +0 -42
  647. package/dist/esm/eds-tooltip.entry.js +0 -34
  648. /package/dist/collection/shared-ui/eds-toast-manager/{eds-toast-manager.stories.js → eds-toast-manager.st.js} +0 -0
  649. /package/dist/types/shared-ui/eds-toast-manager/{eds-toast-manager.stories.d.ts → eds-toast-manager.st.d.ts} +0 -0
@@ -3,7 +3,7 @@ import { p as parseData } from './sharedUtils.js';
3
3
  import { d as defineCustomElement$2 } from './eds-button2.js';
4
4
  import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
5
5
 
6
- 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:0;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{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{content:counter(step);position:absolute;left:-40px;top:0;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}.mb-28{margin-bottom:1.75rem}";
6
+ 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}";
7
7
  const EdsStepsStyle0 = edsStepsCss;
8
8
 
9
9
  const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLElement {
@@ -12,33 +12,53 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
12
12
  this.__registerHost();
13
13
  this.__attachShadow();
14
14
  this.step = createEvent(this, "step", 7);
15
+ this.finished = createEvent(this, "finished", 7);
16
+ this.next = createEvent(this, "next", 7);
17
+ this.back = createEvent(this, "back", 7);
15
18
  this.handleNext = () => {
16
- this.activeStep = this.activeStep + 1;
17
- if (this.activeStep < this.parsedSteps.length) {
18
- this.step.emit(this.activeStep);
19
+ const lastIndex = this.parsedSteps.length - 1;
20
+ if (this.activeStep >= lastIndex) {
21
+ this.finished.emit();
22
+ return;
23
+ }
24
+ const target = this.activeStep + 1;
25
+ this.next.emit(target);
26
+ if (this.isNextDisabledFor(this.activeStep)) {
27
+ return;
28
+ } // block advance only if current is disabled
29
+ this.activeStep = target;
30
+ this.step.emit(this.activeStep);
31
+ // 2) if using the boolean form, clear it when moving away from a step
32
+ if (!Array.isArray(this.disableNext)) {
33
+ this.disableNext = false;
19
34
  }
20
35
  };
21
36
  this.handleBack = () => {
22
37
  if (this.activeStep > 0) {
23
- this.activeStep = this.activeStep - 1;
38
+ const target = this.activeStep - 1;
39
+ this.back.emit(target);
40
+ this.activeStep = target;
24
41
  this.step.emit(this.activeStep);
42
+ // also clear boolean form on back
43
+ if (!Array.isArray(this.disableNext)) {
44
+ this.disableNext = false;
45
+ }
25
46
  }
26
47
  };
27
48
  this.steps = [];
28
49
  this.type = 'static';
50
+ this.nextLabel = 'Next';
51
+ this.backLabel = 'Back';
52
+ this.finishLabel = 'Finish';
53
+ this.disableNext = false;
54
+ this.headingLevel = 'h4';
29
55
  this.activeStep = 0;
30
56
  }
31
- /**
32
- * Lifecycle method that runs when the component has fully loaded.
33
- * It emits a custom event for each `eds-button` element contained within the breadcrumb.
34
- */
35
57
  componentDidLoad() {
36
58
  var _a;
37
59
  if (this.type === 'linear') {
38
60
  const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
39
- btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => {
40
- this.emitContext(btn);
41
- });
61
+ btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
42
62
  }
43
63
  }
44
64
  activeStepChanged(newValue) {
@@ -46,19 +66,10 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
46
66
  var _a;
47
67
  const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
48
68
  if (activeStepContainer) {
49
- const btns = activeStepContainer.querySelectorAll('eds-button');
50
- btns.forEach((btn) => {
51
- this.emitContext(btn);
52
- });
69
+ activeStepContainer.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
53
70
  }
54
71
  }, 50);
55
72
  }
56
- /**
57
- * Emits a custom event called `parentContext` for a given link element.
58
- * This event provides context information about the breadcrumb component.
59
- *
60
- * @param linkElement - The link element to which the event will be dispatched.
61
- */
62
73
  emitContext(linkElement) {
63
74
  const event = new CustomEvent('parentContext', {
64
75
  detail: {
@@ -68,26 +79,29 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
68
79
  });
69
80
  linkElement.dispatchEvent(event);
70
81
  }
71
- handleStepClick(index) {
72
- this.step.emit(index);
73
- // In linear mode, update the active step on header click.
74
- if (this.type === 'linear') {
75
- this.activeStep = index;
76
- }
77
- }
78
- /**
79
- * Parse the JSON string into an array of steps.
80
- */
81
82
  get parsedSteps() {
82
83
  return parseData(this.steps);
83
84
  }
85
+ isNextDisabledFor(index) {
86
+ return Array.isArray(this.disableNext)
87
+ ? !!this.disableNext[index] // per-step
88
+ : index === this.activeStep && !!this.disableNext; // only active step
89
+ }
90
+ /** Render the semantic heading element */
91
+ renderHeading(title) {
92
+ const Tag = this.headingLevel;
93
+ return h(Tag, null, title);
94
+ }
84
95
  render() {
85
96
  const steps = this.parsedSteps;
86
97
  if (this.type === 'linear') {
87
- return (h("div", null, h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content })), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))));
98
+ return (h("div", { class: "steps" }, steps.map((step, index) => {
99
+ const isLast = index === steps.length - 1;
100
+ return (h("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), this.activeStep === index && (h("div", { class: "content grid gap-y-16" }, h("slot", { name: `step-${index}` }, h("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), h("div", { class: "flex items-center mt-16" }, h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), h("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), h("slot", { name: `actions-${index}` })))));
101
+ })));
88
102
  }
89
- // Static mode: show all steps with their content, no navigation buttons.
90
- return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", null, step.title), h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
103
+ // Static: no navigation buttons
104
+ return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), h("div", { class: "content" }, h("slot", { name: `step-${index}` }, h("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
91
105
  }
92
106
  get el() { return this; }
93
107
  static get watchers() { return {
@@ -97,6 +111,11 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
97
111
  }, [1, "eds-steps", {
98
112
  "steps": [1],
99
113
  "type": [1],
114
+ "nextLabel": [1, "next-label"],
115
+ "backLabel": [1, "back-label"],
116
+ "finishLabel": [1, "finish-label"],
117
+ "disableNext": [1028, "disable-next"],
118
+ "headingLevel": [513, "heading-level"],
100
119
  "activeStep": [32]
101
120
  }, undefined, {
102
121
  "activeStep": ["activeStepChanged"]
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { s as sendAnalytics } from './analytics.js';
3
3
 
4
- const edsSwitchCss = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}";
4
+ const edsSwitchCss = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}";
5
5
  const EdsSwitchStyle0 = edsSwitchCss;
6
6
 
7
7
  const EdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class EdsSwitch extends HTMLElement {
@@ -23,19 +23,41 @@ const EdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class EdsSwitch extends HTM
23
23
  action: 'checked'
24
24
  });
25
25
  };
26
+ this.handleKeyDown = (e) => {
27
+ if (this.disabled) {
28
+ return;
29
+ }
30
+ if (e.key === 'Enter' || e.key === ' ') {
31
+ e.preventDefault();
32
+ this.toggleSwitch();
33
+ }
34
+ };
26
35
  this.checked = false;
27
36
  this.disabled = false;
28
37
  this.labelOn = '';
29
38
  this.labelOff = '';
30
39
  }
31
40
  render() {
32
- // Compute an accessible name based on state.
33
- const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
34
- return (h("div", { key: '1de6f7afd451f5d0276b62ef7bbf817f132e4440', class: "switch-container" }, this.labelOff && h("span", { key: 'd2d1017d7d26537eb2e65fa74b1f86453edc93d2', class: "switch-label switch-label--off mr-8" }, this.labelOff), h("button", { key: 'ade3ba909f5744a2b87238da52fcc33f600721cf', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
41
+ const switchId = `switch-${Math.random().toString(36).substr(2, 9)}`;
42
+ const labelledBy = [];
43
+ if (this.labelOff) {
44
+ labelledBy.push(`${switchId}-off`);
45
+ }
46
+ if (this.labelOn) {
47
+ labelledBy.push(`${switchId}-on`);
48
+ }
49
+ const accessibleLabel = labelledBy.length === 0
50
+ ? this.labelOn || this.labelOff
51
+ ? this.checked
52
+ ? this.labelOn
53
+ : this.labelOff
54
+ : 'Toggle switch'
55
+ : undefined;
56
+ return (h("div", { key: '95a833cbe8e736d7e747f6fdd8504dd8c169ea60', class: "switch-container" }, this.labelOff && (h("span", { key: 'a88de63c35409ab244a6cba5bd70a10728a08b2a', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), 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: {
35
57
  switch: true,
36
58
  'switch--checked': this.checked,
37
59
  'switch--disabled': this.disabled
38
- }, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '64034f73021623f63523c7bb52ec5233ad291c55', class: "switch-handle" })), this.labelOn && h("span", { key: 'a96a35565ac28ed6a27855b90b180f15adb0e711', class: "switch-label switch-label--on ml-8" }, this.labelOn)));
60
+ }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: '35e6da3bb76779bfaad04d8990dec419524fb543', class: "switch-handle" })), this.labelOn && (h("span", { key: 'b14243d9d45dbdddb9473ad2c5696e07be9831d3', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
39
61
  }
40
62
  get el() { return this; }
41
63
  static get style() { return EdsSwitchStyle0; }
@@ -1,18 +1,20 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { s as sendAnalytics } from './analytics.js';
3
3
  import { p as parseData } from './sharedUtils.js';
4
- import { d as defineCustomElement$a } from './eds-icon-wrapper2.js';
5
- import { d as defineCustomElement$9 } from './eds-input2.js';
6
- import { d as defineCustomElement$8 } from './eds-input-field2.js';
7
- import { d as defineCustomElement$7 } from './eds-input-footer2.js';
8
- import { d as defineCustomElement$6 } from './eds-input-label2.js';
9
- import { d as defineCustomElement$5 } from './eds-input-range2.js';
10
- import { d as defineCustomElement$4 } from './eds-input-search2.js';
11
- import { d as defineCustomElement$3 } from './eds-input-select2.js';
12
- import { d as defineCustomElement$2 } from './eds-link2.js';
13
- import { d as defineCustomElement$1 } from './eds-pagination2.js';
4
+ import { d as defineCustomElement$c } from './eds-button2.js';
5
+ import { d as defineCustomElement$b } from './eds-icon-wrapper2.js';
6
+ import { d as defineCustomElement$a } from './eds-input2.js';
7
+ import { d as defineCustomElement$9 } from './eds-input-field2.js';
8
+ import { d as defineCustomElement$8 } from './eds-input-footer2.js';
9
+ import { d as defineCustomElement$7 } from './eds-input-label2.js';
10
+ import { d as defineCustomElement$6 } from './eds-input-range2.js';
11
+ import { d as defineCustomElement$5 } from './eds-input-search2.js';
12
+ import { d as defineCustomElement$4 } from './eds-input-select2.js';
13
+ import { d as defineCustomElement$3 } from './eds-link2.js';
14
+ import { d as defineCustomElement$2 } from './eds-pagination2.js';
15
+ import { d as defineCustomElement$1 } from './eds-tooltip2.js';
14
16
 
15
- const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
17
+ const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
16
18
  const EdsTableStyle0 = edsTableCss;
17
19
 
18
20
  const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLElement {
@@ -24,8 +26,33 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
24
26
  this.handleResize = () => {
25
27
  this.updateContainerWidth();
26
28
  };
29
+ this.onActionKeyDown = (e) => {
30
+ var _a;
31
+ if (e.key !== 'ArrowRight' && e.key !== 'ArrowLeft') {
32
+ return;
33
+ }
34
+ e.preventDefault();
35
+ const currentButton = e.target;
36
+ const toolbar = currentButton.closest('[role="toolbar"]');
37
+ if (!toolbar) {
38
+ return;
39
+ }
40
+ // Find all focusable action buttons in this row
41
+ const actionButtons = Array.from(toolbar.querySelectorAll('eds-button'));
42
+ const currentIndex = actionButtons.indexOf(currentButton);
43
+ if (currentIndex === -1) {
44
+ return;
45
+ }
46
+ let nextIndex;
47
+ if (e.key === 'ArrowRight') {
48
+ nextIndex = (currentIndex + 1) % actionButtons.length;
49
+ }
50
+ else {
51
+ nextIndex = (currentIndex - 1 + actionButtons.length) % actionButtons.length;
52
+ }
53
+ (_a = actionButtons[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
54
+ };
27
55
  this.data = null;
28
- this.endpoint = null;
29
56
  this.config = {};
30
57
  this.rowsPerPage = 10;
31
58
  this.paginationEnabled = true;
@@ -63,7 +90,7 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
63
90
  componentWillLoad() {
64
91
  this.parseConfig();
65
92
  this.handleActionsChange();
66
- this.data ? this.parseData() : this.endpoint && this.fetchData();
93
+ this.parseData();
67
94
  }
68
95
  componentDidLoad() {
69
96
  this.updateContainerWidth();
@@ -111,24 +138,13 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
111
138
  this.parsedConfig = {};
112
139
  }
113
140
  }
114
- async fetchData() {
115
- try {
116
- const response = await fetch(this.endpoint);
117
- const data = await response.json();
118
- this.data = data;
119
- }
120
- catch (error) {
121
- // eslint-disable-next-line
122
- console.error('Failed to fetch data:', error);
123
- }
124
- }
125
141
  setupPaginationListener() {
126
142
  if (!this.shouldEnablePagination()) {
127
143
  return;
128
144
  }
129
145
  const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
130
146
  if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
131
- paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail));
147
+ paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail.value));
132
148
  paginationEl.setAttribute('listener-attached', 'true');
133
149
  }
134
150
  }
@@ -176,7 +192,10 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
176
192
  const checked = !!row[boundField];
177
193
  return (h("eds-input-field", { name: `chc-${actionName}`, label: act.label, type: "checkbox", checked: checked, onChange: (e) => this.emitAction(act.name, row, e.target.checked) }));
178
194
  }
179
- return h("eds-link", { label: act.label, intent: "weak", onClick: () => this.emitAction(act.name, row) });
195
+ // Let all action buttons be focusable naturally
196
+ const showLabel = act.showLabel === true;
197
+ const btn = (h("eds-button", { icon: act.icon, label: showLabel ? act.label : null, iconPos: "left", pill: true, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(act.name, row) }));
198
+ return showLabel ? btn : h("eds-tooltip", { content: act.label }, btn);
180
199
  }
181
200
  emitAction(actionName, row, checked) {
182
201
  sendAnalytics({
@@ -222,7 +241,7 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
222
241
  const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
223
242
  const paginatedRows = this.getPaginatedRows();
224
243
  const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
225
- return (h("div", { key: '02339fab49389741529bd4333689e15c0409aecc' }, this.searchEnabled && (h("div", { key: 'a056734ff7bf25d8f561a185f8cf29742643c81d' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), h("div", { key: 'cbeb04c8d91034db5b7e6386e45c2dbc87d8f6ee', class: "mt-20" }, h("table", { key: 'd707ffd979bc80da882ea38ce2d43cb5dee0702e', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'b4087412a0da69f0b3177785fb71ef2ce1d481a6' }, h("tr", { key: 'eb4463081686841b3112cab121bf3aa4dcfffe31', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
244
+ return (h("div", { key: '67cfdabc741af13585699e43e67ba0d204a60706' }, this.searchEnabled && (h("div", { key: '208240b9832f9b2e9645cc9d7315a43bd47b54b3' }, h("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), h("div", { key: '893924497d1535b7d29bc0b64ba48f4a3e366c43', class: "mt-20" }, h("table", { key: 'a019fa4f2886d4c2aa4bddc88dc7b6d7aa63fdcb', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'a6360fea59c605878e443a23cf45d0f8a9644140' }, h("tr", { key: '09702e8838f32c52bf6314b59ec598c6fa55d609', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
226
245
  var _a;
227
246
  if (col === 'actions') {
228
247
  return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
@@ -231,17 +250,22 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
231
250
  return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
232
251
  }
233
252
  return null;
234
- }))), h("tbody", { key: '3c0de8287738ff638a46721ee4e0e07bceffed8f' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
253
+ }))), h("tbody", { key: '5cdb3697e6c84921a823b40714a497f02c82e360' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
235
254
  var _a;
236
255
  if (col === 'actions') {
237
- return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { style: { display: 'flex', gap: '0.5rem', justifyContent: 'center', flexWrap: 'wrap' } }, this.parsedActions.map((act) => (h("span", { style: { whiteSpace: 'nowrap' } }, this.renderSingleActionCell(act.name, row)))))));
256
+ return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
257
+ display: 'flex',
258
+ gap: '0.5rem',
259
+ justifyContent: 'center',
260
+ flexWrap: 'wrap'
261
+ } }, this.parsedActions.map((act) => (h("span", { style: { whiteSpace: 'nowrap' } }, this.renderSingleActionCell(act.name, row)))))));
238
262
  }
239
263
  if (!((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden)) {
240
264
  // Regular data cell
241
265
  return (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)));
242
266
  }
243
267
  return null;
244
- }))))))), this.shouldEnablePagination() && (h("div", { key: '27c640dfdd0906abeb7ec77dfb7fb1d052d50093', class: "mt-20" }, h("eds-pagination", { key: '0a74448e3f59098808d8ba1696b891c4ea9a37bc', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
268
+ }))))))), this.shouldEnablePagination() && (h("div", { key: 'f5af2cd6e65c3ed55ec2810ec4b1e3f891866271', class: "mt-20" }, h("eds-pagination", { key: '32965384707df502fb197712c73bb290e38ce040', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
245
269
  }
246
270
  get hostEl() { return this; }
247
271
  static get watchers() { return {
@@ -252,7 +276,6 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
252
276
  static get style() { return EdsTableStyle0; }
253
277
  }, [1, "eds-table", {
254
278
  "data": [1, "table-data"],
255
- "endpoint": [1],
256
279
  "config": [1],
257
280
  "rowsPerPage": [2, "rows-per-page"],
258
281
  "paginationEnabled": [4, "pagination-enabled"],
@@ -279,59 +302,69 @@ function defineCustomElement() {
279
302
  if (typeof customElements === "undefined") {
280
303
  return;
281
304
  }
282
- const components = ["eds-table", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination"];
305
+ const components = ["eds-table", "eds-button", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-tooltip"];
283
306
  components.forEach(tagName => { switch (tagName) {
284
307
  case "eds-table":
285
308
  if (!customElements.get(tagName)) {
286
309
  customElements.define(tagName, EdsTable);
287
310
  }
288
311
  break;
312
+ case "eds-button":
313
+ if (!customElements.get(tagName)) {
314
+ defineCustomElement$c();
315
+ }
316
+ break;
289
317
  case "eds-icon-wrapper":
290
318
  if (!customElements.get(tagName)) {
291
- defineCustomElement$a();
319
+ defineCustomElement$b();
292
320
  }
293
321
  break;
294
322
  case "eds-input":
295
323
  if (!customElements.get(tagName)) {
296
- defineCustomElement$9();
324
+ defineCustomElement$a();
297
325
  }
298
326
  break;
299
327
  case "eds-input-field":
300
328
  if (!customElements.get(tagName)) {
301
- defineCustomElement$8();
329
+ defineCustomElement$9();
302
330
  }
303
331
  break;
304
332
  case "eds-input-footer":
305
333
  if (!customElements.get(tagName)) {
306
- defineCustomElement$7();
334
+ defineCustomElement$8();
307
335
  }
308
336
  break;
309
337
  case "eds-input-label":
310
338
  if (!customElements.get(tagName)) {
311
- defineCustomElement$6();
339
+ defineCustomElement$7();
312
340
  }
313
341
  break;
314
342
  case "eds-input-range":
315
343
  if (!customElements.get(tagName)) {
316
- defineCustomElement$5();
344
+ defineCustomElement$6();
317
345
  }
318
346
  break;
319
347
  case "eds-input-search":
320
348
  if (!customElements.get(tagName)) {
321
- defineCustomElement$4();
349
+ defineCustomElement$5();
322
350
  }
323
351
  break;
324
352
  case "eds-input-select":
325
353
  if (!customElements.get(tagName)) {
326
- defineCustomElement$3();
354
+ defineCustomElement$4();
327
355
  }
328
356
  break;
329
357
  case "eds-link":
330
358
  if (!customElements.get(tagName)) {
331
- defineCustomElement$2();
359
+ defineCustomElement$3();
332
360
  }
333
361
  break;
334
362
  case "eds-pagination":
363
+ if (!customElements.get(tagName)) {
364
+ defineCustomElement$2();
365
+ }
366
+ break;
367
+ case "eds-tooltip":
335
368
  if (!customElements.get(tagName)) {
336
369
  defineCustomElement$1();
337
370
  }