@ebrains/components 0.7.0-alpha.0 → 0.8.0-alpha.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 (564) hide show
  1. package/README.md +370 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  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/eds-accordion_17.cjs.entry.js +1468 -0
  6. package/dist/cjs/eds-alert.cjs.entry.js +11 -4
  7. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  8. package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
  9. package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
  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-card-wrapper.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-components-section.cjs.entry.js +34 -20
  17. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-form.cjs.entry.js +211 -146
  22. package/dist/cjs/eds-frame.cjs.entry.js +3 -3
  23. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-chevron-up.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-eu.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-input_7.cjs.entry.js +357 -0
  49. package/dist/cjs/eds-login_2.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-modal.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
  53. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  56. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-svg-repository.cjs.entry.js +5 -1
  58. package/dist/cjs/eds-switch.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-timeline.cjs.entry.js +5 -1
  61. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  62. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  63. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  64. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  65. package/dist/cjs/index-2f63169d.js +14 -22
  66. package/dist/cjs/loader.cjs.js +1 -1
  67. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  68. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  69. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  70. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  71. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  72. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  73. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  74. package/dist/collection/collection-manifest.json +3 -4
  75. package/dist/collection/components/eds-accordion/eds-accordion.css +12 -8
  76. package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
  77. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
  78. package/dist/collection/components/eds-alert/eds-alert.css +223 -91
  79. package/dist/collection/components/eds-alert/eds-alert.js +28 -3
  80. package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
  81. package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
  82. package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
  83. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
  84. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  85. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
  86. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
  87. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
  88. package/dist/collection/components/eds-button/eds-button.css +8420 -6638
  89. package/dist/collection/components/eds-button/eds-button.js +1 -1
  90. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +4 -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-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  94. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
  95. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -1
  96. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  97. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  98. package/dist/collection/components/eds-code-block/eds-code-block.css +30 -3
  99. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  100. package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
  101. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  102. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  103. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  104. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +4 -4
  106. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  120. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  121. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  122. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  123. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  124. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  125. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  126. package/dist/collection/components/eds-img/eds-img.js +2 -2
  127. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  128. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  129. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +5 -5
  130. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +8 -10
  131. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
  132. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
  133. package/dist/collection/components/eds-input-field/eds-input-field.css +651 -52
  134. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  135. package/dist/collection/components/eds-link/eds-link.css +12 -204
  136. package/dist/collection/components/eds-link/eds-link.js +5 -5
  137. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  138. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  139. package/dist/collection/components/eds-pagination/eds-pagination.css +137 -109
  140. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  141. package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
  142. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  143. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  144. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  145. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +3 -3
  146. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  147. package/dist/collection/components/eds-steps/eds-steps.js +48 -1
  148. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  149. package/dist/collection/components/eds-table/eds-table.js +42 -27
  150. package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
  151. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  152. package/dist/collection/components/eds-timeline/eds-timeline.css +7758 -0
  153. package/dist/collection/components/eds-timeline/eds-timeline.js +12 -1
  154. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  155. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  156. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  157. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  158. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  159. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  160. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  161. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  162. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  163. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  164. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  165. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  169. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  170. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
  171. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  172. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  173. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
  174. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.css +5 -0
  175. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +11 -1
  176. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  177. package/dist/collection/eds-docs-ui/functional/overview.js +18 -1
  178. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  179. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  180. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  181. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  182. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  183. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  184. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +1 -6
  185. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
  186. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  187. package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
  188. package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
  189. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
  190. package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
  191. package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +7 -6
  192. package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
  193. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
  194. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +2 -2
  195. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +1 -1
  196. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
  197. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
  198. package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
  199. package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
  200. package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
  201. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
  202. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
  203. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  204. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +361 -0
  205. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
  206. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +32 -48
  207. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
  208. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  209. package/dist/collection/shared-ui/eds-user/eds-user.css +7758 -0
  210. package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
  211. package/dist/collection/shared-ui/eds-user/eds-user.stories.js +1 -1
  212. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  213. package/dist/components/components.css +32 -48
  214. package/dist/components/components.esm.js +1 -1
  215. package/dist/components/correct-use-of-colors.js +1 -1
  216. package/dist/components/eds-accordion2.js +10 -8
  217. package/dist/components/eds-alert2.js +12 -4
  218. package/dist/components/eds-app-root.js +1 -1
  219. package/dist/components/eds-avatar2.js +13 -8
  220. package/dist/components/eds-block-break2.js +1 -1
  221. package/dist/components/eds-breadcrumb.js +6 -2
  222. package/dist/components/eds-button2.js +2 -2
  223. package/dist/components/eds-card-desc2.js +1 -1
  224. package/dist/components/eds-card-generic2.js +1 -1
  225. package/dist/components/eds-card-project.js +1 -1
  226. package/dist/components/eds-card-tags.js +1 -1
  227. package/dist/components/eds-card-title2.js +1 -1
  228. package/dist/components/eds-card-tool.js +1 -1
  229. package/dist/components/eds-card-wrapper.js +1 -1
  230. package/dist/components/eds-code-block2.js +1 -1
  231. package/dist/components/eds-components-section.js +58 -32
  232. package/dist/components/eds-cookies-preference.js +2 -3
  233. package/dist/components/eds-docs-palettes.js +1 -1
  234. package/dist/components/eds-docs-tokens.js +1 -1
  235. package/dist/components/eds-dropdown2.js +4 -3
  236. package/dist/components/eds-feedback.js +1 -1
  237. package/dist/components/eds-footer2.js +13 -6
  238. package/dist/components/eds-form.js +234 -189
  239. package/dist/components/eds-frame.js +3 -3
  240. package/dist/components/eds-fullscreen-menu.js +4 -3
  241. package/dist/components/eds-header.js +5 -4
  242. package/dist/components/eds-icon-arrow-diagonal.js +3 -3
  243. package/dist/components/eds-icon-arrow-right.js +1 -1
  244. package/dist/components/eds-icon-bluesky.js +1 -1
  245. package/dist/components/eds-icon-chevron-down.js +1 -1
  246. package/dist/components/eds-icon-chevron-left.js +1 -1
  247. package/dist/components/eds-icon-chevron-right.js +1 -1
  248. package/dist/components/eds-icon-chevron-up.js +1 -1
  249. package/dist/components/eds-icon-close.js +1 -1
  250. package/dist/components/eds-icon-copy.js +1 -1
  251. package/dist/components/eds-icon-eu.js +1 -1
  252. package/dist/components/eds-icon-facebook.js +1 -1
  253. package/dist/components/eds-icon-gitlab.js +1 -1
  254. package/dist/components/eds-icon-linkedin.js +1 -1
  255. package/dist/components/eds-icon-loader.js +1 -1
  256. package/dist/components/eds-icon-mastodon.js +1 -1
  257. package/dist/components/eds-icon-menu.js +1 -1
  258. package/dist/components/eds-icon-more.js +1 -1
  259. package/dist/components/eds-icon-search.js +1 -1
  260. package/dist/components/eds-icon-star.js +1 -1
  261. package/dist/components/eds-icon-success.js +1 -1
  262. package/dist/components/eds-icon-thumbs-down.js +1 -1
  263. package/dist/components/eds-icon-thumbs-up.js +1 -1
  264. package/dist/components/eds-icon-twitter.js +1 -1
  265. package/dist/components/eds-icon-user.js +1 -1
  266. package/dist/components/eds-icon-youtube.js +1 -1
  267. package/dist/components/eds-img2.js +2 -2
  268. package/dist/components/eds-input-field2.js +3 -3
  269. package/dist/components/eds-input-footer2.js +1 -1
  270. package/dist/components/eds-input-label2.js +1 -1
  271. package/dist/components/eds-input-range2.js +1 -3
  272. package/dist/components/eds-input-search2.js +24 -2
  273. package/dist/components/eds-input-select2.js +1 -1
  274. package/dist/components/eds-input2.js +2 -2
  275. package/dist/components/eds-link2.js +6 -6
  276. package/dist/components/eds-login2.js +1 -1
  277. package/dist/components/eds-logo-variations.js +1 -1
  278. package/dist/components/eds-logo2.js +1 -1
  279. package/dist/components/eds-matomo-notice2.js +32 -4
  280. package/dist/components/eds-modal.js +2 -2
  281. package/dist/components/eds-pagination2.js +1 -1
  282. package/dist/components/eds-progress-bar2.js +1 -1
  283. package/dist/components/eds-rating2.js +1 -1
  284. package/dist/components/eds-section-core2.js +1 -1
  285. package/dist/components/eds-section-heading2.js +3 -3
  286. package/dist/components/eds-social-networks2.js +1 -1
  287. package/dist/components/eds-spinner2.js +1 -1
  288. package/dist/components/{eds-form-v2.d.ts → eds-steps-v2.d.ts} +4 -4
  289. package/dist/components/eds-steps-v2.js +137 -0
  290. package/dist/components/eds-steps.js +1 -92
  291. package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
  292. package/dist/components/eds-svg-repository.js +5 -1
  293. package/dist/components/eds-switch.js +2 -2
  294. package/dist/components/eds-table2.js +41 -26
  295. package/dist/components/eds-tabs.js +2 -2
  296. package/dist/components/eds-tag2.js +1 -1
  297. package/dist/components/eds-timeline.js +7 -2
  298. package/dist/components/eds-toast-manager.js +1 -1
  299. package/dist/components/eds-tooltip.js +1 -1
  300. package/dist/components/eds-trl.js +1 -1
  301. package/dist/components/eds-user.js +26 -9
  302. package/dist/components/incorrect-use-of-colors.js +1 -1
  303. package/dist/components/logo-space.js +1 -1
  304. package/dist/components/logo-variations-horizontal2.js +1 -1
  305. package/dist/components/logo-variations-vertical2.js +1 -1
  306. package/dist/components/logo-wrong-usage.js +1 -1
  307. package/dist/components/{p-62f2f274.entry.js → p-01cb7ceb.entry.js} +1 -1
  308. package/dist/components/p-03a38eab.entry.js +1 -0
  309. package/dist/components/p-05d8fdc3.entry.js +1 -0
  310. package/dist/components/{p-8b70a350.entry.js → p-07ba7c89.entry.js} +1 -1
  311. package/dist/components/p-0918a2e2.entry.js +1 -0
  312. package/dist/components/p-096d3274.entry.js +1 -0
  313. package/dist/components/{p-ad746789.entry.js → p-0f73391d.entry.js} +1 -1
  314. package/dist/components/p-10a318e0.entry.js +1 -0
  315. package/dist/components/p-16e0b902.entry.js +1 -0
  316. package/dist/components/{p-5e63e8a5.entry.js → p-18e10983.entry.js} +1 -1
  317. package/dist/components/p-215f3b21.entry.js +1 -0
  318. package/dist/components/{p-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
  319. package/dist/components/{p-c935aa46.entry.js → p-24507e71.entry.js} +1 -1
  320. package/dist/components/p-30075622.entry.js +1 -0
  321. package/dist/components/p-32a7f571.entry.js +1 -0
  322. package/dist/components/p-376b706b.entry.js +1 -0
  323. package/dist/components/{p-fba4080d.entry.js → p-3f0fd469.entry.js} +1 -1
  324. package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
  325. package/dist/components/p-4675ac16.entry.js +1 -0
  326. package/dist/components/p-46c9a35e.entry.js +1 -0
  327. package/dist/components/{p-2354daeb.entry.js → p-4aefc66e.entry.js} +1 -1
  328. package/dist/components/p-4bcf6077.entry.js +1 -0
  329. package/dist/components/{p-56ec190f.entry.js → p-4d295eb7.entry.js} +1 -1
  330. package/dist/components/{p-9eb2e870.entry.js → p-4df00ba5.entry.js} +1 -1
  331. package/dist/components/p-5cf480a8.entry.js +1 -0
  332. package/dist/components/p-5d26f527.entry.js +1 -0
  333. package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
  334. package/dist/components/p-64f6f07e.entry.js +1 -0
  335. package/dist/components/p-69e5af42.entry.js +1 -0
  336. package/dist/components/p-6a73ac42.entry.js +1 -0
  337. package/dist/components/p-70201ae6.entry.js +1 -0
  338. package/dist/components/p-7ba154c5.entry.js +1 -0
  339. package/dist/components/p-7ba4ca15.entry.js +1 -0
  340. package/dist/components/p-84faf1b3.entry.js +1 -0
  341. package/dist/components/p-8527ef5f.entry.js +1 -0
  342. package/dist/components/{p-066f6d27.entry.js → p-8803ecf9.entry.js} +1 -1
  343. package/dist/components/p-8baa7e01.entry.js +1 -0
  344. package/dist/components/p-8cf4ee6e.entry.js +1 -0
  345. package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
  346. package/dist/components/p-9873ebec.entry.js +1 -0
  347. package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
  348. package/dist/components/p-9e2a0f5a.entry.js +1 -0
  349. package/dist/components/p-9f4ad4e4.entry.js +1 -0
  350. package/dist/components/{p-a91ab66e.entry.js → p-a02c5c4a.entry.js} +1 -1
  351. package/dist/components/p-a0abe772.entry.js +1 -0
  352. package/dist/components/p-a1d55013.entry.js +1 -0
  353. package/dist/components/{p-4cd69983.entry.js → p-a6bf9bf8.entry.js} +1 -1
  354. package/dist/components/p-abaf04e1.entry.js +1 -0
  355. package/dist/components/p-ae60f98b.entry.js +1 -0
  356. package/dist/components/p-b299b89a.entry.js +1 -0
  357. package/dist/components/p-b2f0f40b.entry.js +1 -0
  358. package/dist/components/p-b4332c34.entry.js +1 -0
  359. package/dist/components/p-b47d115d.entry.js +1 -0
  360. package/dist/components/p-c86243a3.entry.js +1 -0
  361. package/dist/components/p-cdc36ea8.entry.js +1 -0
  362. package/dist/components/p-ceac6200.entry.js +1 -0
  363. package/dist/components/{p-5520a3b6.entry.js → p-cee891dc.entry.js} +1 -1
  364. package/dist/components/p-d06faa08.entry.js +1 -0
  365. package/dist/components/{p-a5c61d1c.entry.js → p-d17ea8af.entry.js} +1 -1
  366. package/dist/components/p-d2159cc9.entry.js +1 -0
  367. package/dist/components/p-d895d036.entry.js +1 -0
  368. package/dist/components/{p-b80a9020.entry.js → p-db970de6.entry.js} +1 -1
  369. package/dist/components/p-e343cd31.entry.js +1 -0
  370. package/dist/components/{p-c06d4f14.entry.js → p-e3811d4b.entry.js} +1 -1
  371. package/dist/components/p-e8bd6106.entry.js +1 -0
  372. package/dist/components/p-e96a5c8e.entry.js +1 -0
  373. package/dist/components/{p-ff7acb55.entry.js → p-f223a835.entry.js} +1 -1
  374. package/dist/components/{p-e64cd6f7.entry.js → p-f2e66c82.entry.js} +1 -1
  375. package/dist/components/p-fec4cba7.entry.js +1 -0
  376. package/dist/components/primary.js +1 -1
  377. package/dist/components/primary2.js +1 -1
  378. package/dist/components/secondary.js +1 -1
  379. package/dist/components/secondary2.js +7 -7
  380. package/dist/components/support.js +1 -1
  381. package/dist/components/support2.js +3 -3
  382. package/dist/components/token-list2.js +1 -1
  383. package/dist/components/token-radii2.js +1 -1
  384. package/dist/components/token-ratios.js +1 -1
  385. package/dist/components/token-shadows2.js +1 -1
  386. package/dist/components/token-spacing.js +1 -1
  387. package/dist/components/token-typography.js +1 -1
  388. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  389. package/dist/esm/components.js +1 -1
  390. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  391. package/dist/esm/eds-accordion_17.entry.js +1448 -0
  392. package/dist/esm/eds-alert.entry.js +11 -4
  393. package/dist/esm/eds-app-root.entry.js +1 -1
  394. package/dist/esm/eds-breadcrumb.entry.js +6 -2
  395. package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
  396. package/dist/esm/eds-card-generic.entry.js +1 -1
  397. package/dist/esm/eds-card-project.entry.js +1 -1
  398. package/dist/esm/eds-card-tags.entry.js +1 -1
  399. package/dist/esm/eds-card-tool.entry.js +1 -1
  400. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  401. package/dist/esm/eds-code-block.entry.js +1 -1
  402. package/dist/esm/eds-components-section.entry.js +34 -20
  403. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  404. package/dist/esm/eds-docs-palettes.entry.js +1 -1
  405. package/dist/esm/eds-docs-tokens.entry.js +1 -1
  406. package/dist/esm/eds-feedback.entry.js +1 -1
  407. package/dist/esm/eds-form.entry.js +209 -144
  408. package/dist/esm/eds-frame.entry.js +3 -3
  409. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  410. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  411. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  412. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  413. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  414. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  415. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  416. package/dist/esm/eds-icon-close.entry.js +1 -1
  417. package/dist/esm/eds-icon-copy.entry.js +1 -1
  418. package/dist/esm/eds-icon-eu.entry.js +1 -1
  419. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  420. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  421. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  422. package/dist/esm/eds-icon-loader.entry.js +1 -1
  423. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  424. package/dist/esm/eds-icon-menu.entry.js +1 -1
  425. package/dist/esm/eds-icon-more.entry.js +1 -1
  426. package/dist/esm/eds-icon-search.entry.js +1 -1
  427. package/dist/esm/eds-icon-star.entry.js +1 -1
  428. package/dist/esm/eds-icon-success.entry.js +1 -1
  429. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  430. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  431. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  432. package/dist/esm/eds-icon-user.entry.js +1 -1
  433. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  434. package/dist/esm/eds-input_7.entry.js +347 -0
  435. package/dist/esm/eds-login_2.entry.js +1 -1
  436. package/dist/esm/eds-logo-variations.entry.js +1 -1
  437. package/dist/esm/eds-modal.entry.js +2 -2
  438. package/dist/esm/eds-pagination_2.entry.js +398 -0
  439. package/dist/esm/eds-progress-bar.entry.js +1 -1
  440. package/dist/esm/eds-rating.entry.js +1 -1
  441. package/dist/esm/eds-section-core_2.entry.js +4 -4
  442. package/dist/esm/eds-spinner.entry.js +1 -1
  443. package/dist/esm/eds-svg-repository.entry.js +5 -1
  444. package/dist/esm/eds-switch.entry.js +2 -2
  445. package/dist/esm/eds-tabs.entry.js +2 -2
  446. package/dist/esm/eds-timeline.entry.js +5 -1
  447. package/dist/esm/eds-toast-manager.entry.js +1 -1
  448. package/dist/esm/eds-tooltip.entry.js +1 -1
  449. package/dist/esm/eds-trl.entry.js +1 -1
  450. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  451. package/dist/esm/index-8a71b9a7.js +14 -22
  452. package/dist/esm/loader.js +1 -1
  453. package/dist/esm/logo-space.entry.js +1 -1
  454. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  455. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  456. package/dist/esm/token-list_3.entry.js +3 -3
  457. package/dist/esm/token-ratios.entry.js +1 -1
  458. package/dist/esm/token-spacing.entry.js +1 -1
  459. package/dist/esm/token-typography.entry.js +1 -1
  460. package/dist/hydrate/index.js +551 -748
  461. package/dist/hydrate/index.mjs +551 -748
  462. package/dist/stencil.config.js +2 -7
  463. package/dist/types/components/eds-accordion/eds-accordion.d.ts +4 -2
  464. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
  465. package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
  466. package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
  467. package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
  468. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
  469. package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
  470. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
  471. package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +1 -1
  472. package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +13 -0
  473. package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +21 -0
  474. package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
  475. package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
  476. package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
  477. package/dist/types/components/eds-table/eds-table.d.ts +5 -1
  478. package/dist/types/components.d.ts +234 -301
  479. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -6
  480. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
  481. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
  482. package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +1 -1
  483. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -0
  484. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
  485. package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
  486. package/package.json +3 -3
  487. package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
  488. package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
  489. package/dist/cjs/eds-steps.cjs.entry.js +0 -55
  490. package/dist/cjs/eds-user.cjs.entry.js +0 -29
  491. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
  492. package/dist/cjs/formUtils-4315a99c.js +0 -228
  493. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
  494. package/dist/collection/components/eds-form/eds-form.css +0 -7153
  495. package/dist/collection/components/eds-form/eds-form.js +0 -609
  496. package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
  497. package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
  498. package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
  499. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
  500. package/dist/components/eds-form-v2.js +0 -317
  501. package/dist/components/eds-vertical-stepper.d.ts +0 -11
  502. package/dist/components/eds-vertical-stepper.js +0 -86
  503. package/dist/components/formUtils.js +0 -223
  504. package/dist/components/p-033480b2.entry.js +0 -1
  505. package/dist/components/p-117d180f.entry.js +0 -1
  506. package/dist/components/p-20e9ae7f.entry.js +0 -1
  507. package/dist/components/p-2b31ca60.entry.js +0 -1
  508. package/dist/components/p-3368cfd5.entry.js +0 -1
  509. package/dist/components/p-33c5b937.entry.js +0 -1
  510. package/dist/components/p-3af94671.entry.js +0 -1
  511. package/dist/components/p-43b3579a.entry.js +0 -1
  512. package/dist/components/p-467fe746.entry.js +0 -1
  513. package/dist/components/p-46a6042d.entry.js +0 -1
  514. package/dist/components/p-4a860d5b.entry.js +0 -1
  515. package/dist/components/p-4ac27fe7.entry.js +0 -1
  516. package/dist/components/p-4b2e6f03.entry.js +0 -1
  517. package/dist/components/p-552b6a50.entry.js +0 -1
  518. package/dist/components/p-56b4e0fe.entry.js +0 -1
  519. package/dist/components/p-5aff1ea0.entry.js +0 -1
  520. package/dist/components/p-5c12a0df.entry.js +0 -1
  521. package/dist/components/p-60e7e745.entry.js +0 -1
  522. package/dist/components/p-6404e157.entry.js +0 -1
  523. package/dist/components/p-6fd0c3b3.entry.js +0 -1
  524. package/dist/components/p-77cc7c02.entry.js +0 -1
  525. package/dist/components/p-79c14cf1.entry.js +0 -1
  526. package/dist/components/p-7dd81017.entry.js +0 -1
  527. package/dist/components/p-7e0dd5d8.entry.js +0 -1
  528. package/dist/components/p-80dba155.js +0 -1
  529. package/dist/components/p-8154d013.entry.js +0 -1
  530. package/dist/components/p-86eed1b7.entry.js +0 -1
  531. package/dist/components/p-8e548691.entry.js +0 -1
  532. package/dist/components/p-90503a64.entry.js +0 -1
  533. package/dist/components/p-90f85604.entry.js +0 -1
  534. package/dist/components/p-94698510.entry.js +0 -1
  535. package/dist/components/p-950ecb1c.entry.js +0 -1
  536. package/dist/components/p-9b9fba38.entry.js +0 -1
  537. package/dist/components/p-9dc879c9.entry.js +0 -1
  538. package/dist/components/p-9ebc84d6.entry.js +0 -1
  539. package/dist/components/p-a56f0579.entry.js +0 -1
  540. package/dist/components/p-a6cd418e.entry.js +0 -1
  541. package/dist/components/p-a8dd1953.entry.js +0 -1
  542. package/dist/components/p-ab292dd5.entry.js +0 -1
  543. package/dist/components/p-c12d9350.entry.js +0 -1
  544. package/dist/components/p-c3dda942.entry.js +0 -1
  545. package/dist/components/p-c6b32753.entry.js +0 -1
  546. package/dist/components/p-dbcf1f0e.entry.js +0 -1
  547. package/dist/components/p-dcc08064.entry.js +0 -1
  548. package/dist/components/p-e9a533e0.entry.js +0 -1
  549. package/dist/components/p-eac63c82.entry.js +0 -1
  550. package/dist/components/p-f5959676.entry.js +0 -1
  551. package/dist/components/p-fc619588.entry.js +0 -1
  552. package/dist/components/p-fcc32210.entry.js +0 -1
  553. package/dist/esm/eds-accordion_22.entry.js +0 -1934
  554. package/dist/esm/eds-dropdown.entry.js +0 -121
  555. package/dist/esm/eds-user.entry.js +0 -25
  556. package/dist/esm/eds-vertical-stepper.entry.js +0 -41
  557. package/dist/esm/formUtils-ac68474d.js +0 -223
  558. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
  559. package/dist/types/components/eds-form/eds-form.d.ts +0 -148
  560. package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
  561. package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
  562. /package/dist/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
  563. /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +0 -0
  564. /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.d.ts +0 -0
@@ -0,0 +1,361 @@
1
+ /*
2
+ Remove the default font size and weight for headings.
3
+ */
4
+ h1,
5
+ h2,
6
+ h3,
7
+ h4,
8
+ h5,
9
+ h6 {
10
+ font-size: inherit;
11
+ font-weight: inherit;
12
+ }
13
+
14
+ blockquote,
15
+ dl,
16
+ dd,
17
+ h1,
18
+ h2,
19
+ h3,
20
+ h4,
21
+ h5,
22
+ h6,
23
+ hr,
24
+ figure,
25
+ p,
26
+ pre {
27
+ margin: 0;
28
+ }
29
+
30
+ .steps {
31
+ position: sticky;
32
+ margin-left: 16px;
33
+ border-left: 1px solid var(--soft-color, #ddd);
34
+ /* replace var() with your color if needed */
35
+ padding-left: 23px;
36
+ counter-reset: step;
37
+ }
38
+
39
+ /* Style for h3 headings inside the steps */
40
+ .steps h3 {
41
+ counter-increment: step;
42
+ font-size: var(--f-heading-05-fontSize);
43
+ font-weight: var(--f-heading-05-fontWeight);
44
+ line-height: var(--f-heading-05-lineHeight);
45
+ position: relative;
46
+ }
47
+
48
+ .steps h3::before {
49
+ content: counter(step);
50
+ position: absolute;
51
+ left: -40px;
52
+ top: 0;
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ width: 32px;
57
+ height: 32px;
58
+ font-size: 1rem;
59
+ border: 1px solid #ccc;
60
+ /* adjust border style as needed */
61
+ background: var(--grey-900);
62
+ /* adjust background color as needed */
63
+ color: #fff;
64
+ /* adjust text color as needed */
65
+ border-radius: 50%;
66
+ }
67
+
68
+ /* Style for h4 headings inside the steps */
69
+ .steps h4 {
70
+ counter-increment: step;
71
+ font-size: var(--f-heading-06-fontSize);
72
+ font-weight: var(--f-heading-06-fontWeight);
73
+ line-height: var(--f-heading-06-lineHeight);
74
+ position: relative;
75
+ }
76
+
77
+ .steps h4::before {
78
+ content: counter(step);
79
+ position: absolute;
80
+ left: -40px;
81
+ top: 0;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ width: 30px;
86
+ height: 30px;
87
+ font-size: 0.875rem;
88
+ border: 1px solid #ccc;
89
+ background: #333;
90
+ color: #fff;
91
+ border-radius: 50%;
92
+ }
93
+
94
+ /* Style for blockquotes inside the steps */
95
+ .steps blockquote {
96
+ margin-top: 16px;
97
+ margin-bottom: 16px;
98
+ font-style: italic;
99
+ color: #aaa;
100
+ padding-left: 6px;
101
+ }
102
+
103
+ .steps-img-placeholder {
104
+ width: 100%;
105
+ height: 200px;
106
+ /* Adjust the height as needed */
107
+ background: linear-gradient(to bottom, #9CE142, #00C959, #00A595);
108
+ /* Optionally add border, padding or any other styles */
109
+ }
110
+
111
+ .bg-gradient-to-b {
112
+ background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
113
+ }
114
+
115
+ .from-\[\#9CE142\] {
116
+ --tw-gradient-from: #9CE142 var(--tw-gradient-from-position);
117
+ --tw-gradient-to: rgb(156 225 66 / 0) var(--tw-gradient-to-position);
118
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
119
+ }
120
+
121
+ .via-\[\#00C959\] {
122
+ --tw-gradient-to: rgb(0 201 89 / 0) var(--tw-gradient-to-position);
123
+ --tw-gradient-stops: var(--tw-gradient-from), #00C959 var(--tw-gradient-via-position), var(--tw-gradient-to);
124
+ }
125
+
126
+ .to-\[\#00A595\] {
127
+ --tw-gradient-to: #00A595 var(--tw-gradient-to-position);
128
+ }
129
+
130
+ .bg-\[\#00A595\] {
131
+ --tw-bg-opacity: 1;
132
+ background-color: rgb(0 165 149 / var(--tw-bg-opacity));
133
+ }
134
+
135
+ .relative {
136
+ position: relative;
137
+ }
138
+
139
+ .f-heading-02 {
140
+ font-family: var(--f-heading-02-fontFamily);
141
+ font-weight: var(--f-heading-02-fontWeight);
142
+ font-size: var(--f-heading-02-fontSize);
143
+ line-height: var(--f-heading-02-lineHeight);
144
+ letter-spacing: var(--f-heading-02-letterSpacing);
145
+ }
146
+
147
+ .f-heading-03 {
148
+ font-family: var(--f-heading-03-fontFamily);
149
+ font-weight: var(--f-heading-03-fontWeight);
150
+ font-size: var(--f-heading-03-fontSize);
151
+ line-height: var(--f-heading-03-lineHeight);
152
+ letter-spacing: var(--f-heading-03-letterSpacing);
153
+ }
154
+
155
+ .f-heading-04 {
156
+ font-family: var(--f-heading-04-fontFamily);
157
+ font-weight: var(--f-heading-04-fontWeight);
158
+ font-size: var(--f-heading-04-fontSize);
159
+ line-height: var(--f-heading-04-lineHeight);
160
+ letter-spacing: var(--f-heading-04-letterSpacing);
161
+ }
162
+
163
+ .f-heading-05 {
164
+ font-family: var(--f-heading-05-fontFamily);
165
+ font-weight: var(--f-heading-05-fontWeight);
166
+ font-size: var(--f-heading-05-fontSize);
167
+ line-height: var(--f-heading-05-lineHeight);
168
+ letter-spacing: var(--f-heading-05-letterSpacing);
169
+ }
170
+
171
+ .f-heading-06 {
172
+ font-family: var(--f-heading-06-fontFamily);
173
+ font-weight: var(--f-heading-06-fontWeight);
174
+ font-size: var(--f-heading-06-fontSize);
175
+ line-height: var(--f-heading-06-lineHeight);
176
+ letter-spacing: var(--f-heading-06-letterSpacing);
177
+ }
178
+
179
+ .f-body-01 {
180
+ font-family: var(--f-body-01-fontFamily);
181
+ font-weight: var(--f-body-01-fontWeight);
182
+ font-size: var(--f-body-01-fontSize);
183
+ line-height: var(--f-body-01-lineHeight);
184
+ letter-spacing: var(--f-body-01-letterSpacing);
185
+ }
186
+
187
+ .f-body-02 {
188
+ font-family: var(--f-body-02-fontFamily);
189
+ font-weight: var(--f-body-02-fontWeight);
190
+ font-size: var(--f-body-02-fontSize);
191
+ line-height: var(--f-body-02-lineHeight);
192
+ letter-spacing: var(--f-body-02-letterSpacing);
193
+ }
194
+
195
+ .f-ui-01 {
196
+ font-family: var(--f-ui-01-fontFamily);
197
+ font-weight: var(--f-ui-01-fontWeight);
198
+ font-size: var(--f-ui-01-fontSize);
199
+ line-height: var(--f-ui-01-lineHeight);
200
+ letter-spacing: var(--f-ui-01-letterSpacing);
201
+ }
202
+
203
+ .bg-dark {
204
+ background-color: var(--grey-300);
205
+ }
206
+
207
+ .bg-strong {
208
+ background-color: var(--grey-700);
209
+ }
210
+
211
+ .text-default {
212
+ color: var(--black);
213
+ }
214
+
215
+ .text-error {
216
+ color: var(--red-700);
217
+ }
218
+
219
+ .text-extra-light {
220
+ color: var(--grey-300);
221
+ }
222
+
223
+ .text-inverse {
224
+ color: var(--white);
225
+ }
226
+
227
+ .text-light {
228
+ color: var(--grey-700);
229
+ }
230
+
231
+ .text-lighter {
232
+ color: var(--grey-600);
233
+ }
234
+
235
+ .text-lightest {
236
+ color: var(--grey-500);
237
+ }
238
+
239
+ .w-full {
240
+ width: 100%;
241
+ }
242
+
243
+ .h-52 {
244
+ height: 3.25rem;
245
+ }
246
+
247
+ .h-96 {
248
+ height: 6rem;
249
+ }
250
+
251
+ .h-\[200px\] {
252
+ height: 200px;
253
+ }
254
+
255
+ .my-16 {
256
+ margin-top: 1rem;
257
+ margin-bottom: 1rem;
258
+ }
259
+
260
+ .my-20 {
261
+ margin-top: 1.25rem;
262
+ margin-bottom: 1.25rem;
263
+ }
264
+
265
+ .mb-10 {
266
+ margin-bottom: 0.625rem;
267
+ }
268
+
269
+ .mb-12 {
270
+ margin-bottom: 0.75rem;
271
+ }
272
+
273
+ .mb-28 {
274
+ margin-bottom: 1.75rem;
275
+ }
276
+
277
+ .border-softer {
278
+ border: 2px solid rgba(0, 0, 0, .1);
279
+ }
280
+
281
+ .relative {
282
+ position: relative;
283
+ }
284
+
285
+ .flex {
286
+ display: flex;
287
+ }
288
+
289
+ .inline-flex {
290
+ display: inline-flex;
291
+ }
292
+
293
+ .grow {
294
+ flex-grow: 1;
295
+ }
296
+
297
+ .rounded {
298
+ border-radius: 0.25rem;
299
+ }
300
+
301
+ .rounded-lg {
302
+ border-radius: 16px;
303
+ }
304
+
305
+ .border-2 {
306
+ border-width: 2px;
307
+ }
308
+
309
+ .p-8 {
310
+ padding: 0.5rem;
311
+ }
312
+
313
+ .p-16 {
314
+ padding: 1rem;
315
+ }
316
+
317
+ .p-24 {
318
+ padding: 1.5rem;
319
+ }
320
+
321
+ .p-48 {
322
+ padding: 3rem;
323
+ }
324
+
325
+ .bg-default {
326
+ background-color: var(--grey-200);
327
+ }
328
+
329
+ .bg-inverse {
330
+ background-color: var(--white);
331
+ }
332
+
333
+ .top-2 {
334
+ top: 0.125rem;
335
+ }
336
+
337
+ .bottom-2 {
338
+ bottom: 0.125rem;
339
+ }
340
+
341
+ .left-2 {
342
+ left: 0.125rem;
343
+ }
344
+
345
+ .right-2 {
346
+ right: 0.125rem;
347
+ }
348
+
349
+ .-translate-x-1\/2 {
350
+ --tw-translate-x: -50%;
351
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
352
+ }
353
+
354
+ .-translate-y-1\/2 {
355
+ --tw-translate-y: -50%;
356
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
357
+ }
358
+
359
+ .bg-opacity-90 {
360
+ --tw-bg-opacity: 0.9;
361
+ }
@@ -0,0 +1,219 @@
1
+ import { h } from "@stencil/core";
2
+ import { parseData } from "../../utils/sharedUtils";
3
+ export class EdsStepsV2 {
4
+ constructor() {
5
+ this.handleNext = () => {
6
+ this.activeStep = this.activeStep + 1;
7
+ if (this.activeStep < this.parsedSteps.length) {
8
+ this.step.emit(this.activeStep);
9
+ }
10
+ };
11
+ this.handleBack = () => {
12
+ if (this.activeStep > 0) {
13
+ this.activeStep = this.activeStep - 1;
14
+ this.step.emit(this.activeStep);
15
+ }
16
+ };
17
+ this.steps = [];
18
+ this.type = 'static';
19
+ this.imageSrc = undefined;
20
+ this.bg = true;
21
+ this.message = undefined;
22
+ this.activeStep = 0;
23
+ }
24
+ componentDidLoad() {
25
+ var _a;
26
+ if (this.type === 'linear') {
27
+ const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
28
+ btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => {
29
+ this.emitContext(btn);
30
+ });
31
+ }
32
+ }
33
+ activeStepChanged(newValue) {
34
+ setTimeout(() => {
35
+ var _a;
36
+ const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
37
+ if (activeStepContainer) {
38
+ const btns = activeStepContainer.querySelectorAll('eds-button');
39
+ btns.forEach((btn) => {
40
+ this.emitContext(btn);
41
+ });
42
+ }
43
+ }, 50);
44
+ }
45
+ emitContext(linkElement) {
46
+ const event = new CustomEvent('parentContext', {
47
+ detail: {
48
+ componentName: this.el.tagName.toLowerCase(),
49
+ identifier: this.activeStep
50
+ }
51
+ });
52
+ linkElement.dispatchEvent(event);
53
+ }
54
+ articleClasses() {
55
+ return [
56
+ this.bg ? 'bg-inverse' : 'bg-default',
57
+ 'border-softer effect-focus-within relative rounded-lg border-2 p-16'
58
+ ].join(' ');
59
+ }
60
+ handleStepClick(index) {
61
+ this.step.emit(index);
62
+ // In linear mode, update the active step on header click.
63
+ if (this.type === 'linear') {
64
+ this.activeStep = index;
65
+ }
66
+ }
67
+ /**
68
+ * Parses the steps property into an array of Step objects.
69
+ */
70
+ get parsedSteps() {
71
+ return parseData(this.steps);
72
+ }
73
+ render() {
74
+ const steps = this.parsedSteps;
75
+ return (h("div", { key: '06d6c64cd4389908276a6b0c738700c315d693af', class: this.articleClasses() }, this.imageSrc ? (h("div", { class: "mb-28" }, h("eds-img", { src: this.imageSrc, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (h("div", { class: "mb-28 w-full bg-[#00A595] relative" }, h("div", { class: "text-inverse f-heading-04 p-24 md:p-48" }, this.message)))), this.type === 'linear' ? (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("div", { class: "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' })))))))) : (
76
+ // Static mode: show all steps with their content.
77
+ h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16", innerHTML: step.content })))))))));
78
+ }
79
+ static get is() { return "eds-steps-v2"; }
80
+ static get encapsulation() { return "shadow"; }
81
+ static get originalStyleUrls() {
82
+ return {
83
+ "$": ["eds-steps-v2.css"]
84
+ };
85
+ }
86
+ static get styleUrls() {
87
+ return {
88
+ "$": ["eds-steps-v2.css"]
89
+ };
90
+ }
91
+ static get properties() {
92
+ return {
93
+ "steps": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "string | Step[]",
98
+ "resolved": "Step[] | string",
99
+ "references": {
100
+ "Step": {
101
+ "location": "local",
102
+ "path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/shared-ui/eds-steps-v2/eds-steps-v2.tsx",
103
+ "id": "../../../packages/components/src/shared-ui/eds-steps-v2/eds-steps-v2.tsx::Step"
104
+ }
105
+ }
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": "JSON string or an array of step objects.\nExample:\n'[\n { \"title\": \"Step One\", \"content\": \"Details for step one\" },\n { \"title\": \"Step Two\", \"content\": \"Details for step two\" }\n]'"
112
+ },
113
+ "attribute": "steps",
114
+ "reflect": false,
115
+ "defaultValue": "[]"
116
+ },
117
+ "type": {
118
+ "type": "string",
119
+ "mutable": false,
120
+ "complexType": {
121
+ "original": "'static' | 'linear'",
122
+ "resolved": "\"linear\" | \"static\"",
123
+ "references": {}
124
+ },
125
+ "required": false,
126
+ "optional": false,
127
+ "docs": {
128
+ "tags": [],
129
+ "text": "The type of stepper. Default is \"static\" (all steps visible, no navigation buttons).\nUse \"linear\" if only one step should be visible at a time."
130
+ },
131
+ "attribute": "type",
132
+ "reflect": false,
133
+ "defaultValue": "'static'"
134
+ },
135
+ "imageSrc": {
136
+ "type": "string",
137
+ "mutable": false,
138
+ "complexType": {
139
+ "original": "string",
140
+ "resolved": "string",
141
+ "references": {}
142
+ },
143
+ "required": false,
144
+ "optional": true,
145
+ "docs": {
146
+ "tags": [],
147
+ "text": "Optional image source to display above the steps."
148
+ },
149
+ "attribute": "image-src",
150
+ "reflect": false
151
+ },
152
+ "bg": {
153
+ "type": "boolean",
154
+ "mutable": false,
155
+ "complexType": {
156
+ "original": "boolean",
157
+ "resolved": "boolean",
158
+ "references": {}
159
+ },
160
+ "required": false,
161
+ "optional": false,
162
+ "docs": {
163
+ "tags": [],
164
+ "text": "If true, apply a background class to the container."
165
+ },
166
+ "attribute": "bg",
167
+ "reflect": false,
168
+ "defaultValue": "true"
169
+ },
170
+ "message": {
171
+ "type": "string",
172
+ "mutable": false,
173
+ "complexType": {
174
+ "original": "string",
175
+ "resolved": "string",
176
+ "references": {}
177
+ },
178
+ "required": false,
179
+ "optional": true,
180
+ "docs": {
181
+ "tags": [],
182
+ "text": "Optional message to display inside the placeholder if no image is provided."
183
+ },
184
+ "attribute": "message",
185
+ "reflect": false
186
+ }
187
+ };
188
+ }
189
+ static get states() {
190
+ return {
191
+ "activeStep": {}
192
+ };
193
+ }
194
+ static get events() {
195
+ return [{
196
+ "method": "step",
197
+ "name": "step",
198
+ "bubbles": true,
199
+ "cancelable": true,
200
+ "composed": true,
201
+ "docs": {
202
+ "tags": [],
203
+ "text": "Emits when a step is clicked, providing the step's index."
204
+ },
205
+ "complexType": {
206
+ "original": "number",
207
+ "resolved": "number",
208
+ "references": {}
209
+ }
210
+ }];
211
+ }
212
+ static get elementRef() { return "el"; }
213
+ static get watchers() {
214
+ return [{
215
+ "propName": "activeStep",
216
+ "methodName": "activeStepChanged"
217
+ }];
218
+ }
219
+ }