@ebrains/components 0.7.0-alpha.1 → 0.9.0-beta

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 (673) hide show
  1. package/dist/cjs/bookmark-c61853d9.js +18 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +44 -31
  3. package/dist/cjs/components-section.cjs.entry.js +139 -0
  4. package/dist/cjs/components.cjs.js +1 -1
  5. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  6. package/dist/cjs/{eds-docs-palettes.cjs.entry.js → docs-palettes.cjs.entry.js} +3 -3
  7. package/dist/cjs/{eds-docs-tokens.cjs.entry.js → docs-tokens.cjs.entry.js} +3 -3
  8. package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
  9. package/dist/cjs/eds-alert.cjs.entry.js +11 -4
  10. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-avatar_24.cjs.entry.js +2100 -0
  12. package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
  13. package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
  14. package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  22. package/dist/cjs/eds-frame.cjs.entry.js +7 -13
  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-bookmark.cjs.entry.js +18 -0
  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-external.cjs.entry.js +18 -0
  34. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
  38. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
  40. package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
  41. package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
  42. package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
  43. package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
  44. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
  50. package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
  51. package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
  52. package/dist/cjs/eds-login_2.cjs.entry.js +23 -14
  53. package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
  54. package/dist/cjs/eds-modal.cjs.entry.js +6 -6
  55. package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
  56. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  57. package/dist/cjs/eds-switch.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-timeline.cjs.entry.js +5 -1
  60. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  62. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  63. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  64. package/dist/cjs/index-2f63169d.js +82 -50
  65. package/dist/cjs/loader.cjs.js +1 -1
  66. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  67. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +4 -4
  68. package/dist/cjs/{eds-logo-variations.cjs.entry.js → logo-variations-tabs.cjs.entry.js} +3 -3
  69. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  70. package/dist/cjs/minus-1da6a98a.js +13 -0
  71. package/dist/cjs/paper-0d6302f6.js +17 -0
  72. package/dist/cjs/plus-d0e00ad0.js +14 -0
  73. package/dist/cjs/portal-46212559.js +20 -0
  74. package/dist/cjs/private-38835fe7.js +27 -0
  75. package/dist/cjs/public-b519b1f6.js +18 -0
  76. package/dist/cjs/{eds-svg-repository.cjs.entry.js → svg-repository.cjs.entry.js} +31 -26
  77. package/dist/cjs/token-list_3.cjs.entry.js +5 -5
  78. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  79. package/dist/cjs/token-typography.cjs.entry.js +3 -3
  80. package/dist/cjs/tutotial-7855df3c.js +29 -0
  81. package/dist/cjs/unknown-6814e551.js +24 -0
  82. package/dist/cjs/up-and-down-d71df67d.js +14 -0
  83. package/dist/collection/collection-manifest.json +19 -9
  84. package/dist/collection/components/eds-accordion/eds-accordion.css +18 -12
  85. package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
  86. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
  87. package/dist/collection/components/eds-alert/eds-alert.css +223 -91
  88. package/dist/collection/components/eds-alert/eds-alert.js +28 -3
  89. package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
  90. package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
  91. package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
  92. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
  93. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  94. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
  95. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
  96. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
  97. package/dist/collection/components/eds-button/eds-button.css +8420 -6638
  98. package/dist/collection/components/eds-button/eds-button.js +1 -1
  99. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +4 -1
  100. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  101. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  102. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  103. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
  104. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -1
  105. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  106. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  107. package/dist/collection/components/eds-code-block/eds-code-block.css +30 -3
  108. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  109. package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
  110. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  111. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  112. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  113. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +4 -4
  115. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
  117. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +36 -0
  121. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +36 -0
  125. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
  127. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
  128. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
  129. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
  130. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
  131. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  133. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  134. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  135. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  136. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
  137. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
  138. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
  139. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -21
  140. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  141. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +5 -5
  142. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +66 -11
  143. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
  144. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
  145. package/dist/collection/components/eds-input-field/eds-input-field.css +651 -52
  146. package/dist/collection/components/eds-input-field/eds-input-field.js +37 -5
  147. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +1 -0
  148. package/dist/collection/components/eds-link/eds-link.css +24 -204
  149. package/dist/collection/components/eds-link/eds-link.js +21 -13
  150. package/dist/collection/components/eds-modal/eds-modal.css +32 -1
  151. package/dist/collection/components/eds-modal/eds-modal.js +5 -5
  152. package/dist/collection/components/eds-pagination/eds-pagination.css +137 -109
  153. package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
  154. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +3 -3
  155. package/dist/collection/components/eds-steps/eds-steps.js +48 -1
  156. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  157. package/dist/collection/components/eds-table/eds-table.js +42 -27
  158. package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
  159. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  160. package/dist/collection/components/eds-timeline/eds-timeline.css +7776 -0
  161. package/dist/collection/components/eds-timeline/eds-timeline.js +12 -1
  162. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  163. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  164. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  165. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  166. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +31 -18
  167. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  168. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  169. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  170. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  171. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  172. package/dist/collection/eds-docs-ui/{eds-components-section/eds-components-section.js → components-section/components-section.js} +13 -13
  173. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
  174. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
  175. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +19 -0
  176. package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
  177. package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
  178. package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
  179. package/dist/collection/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.js → design-tokens/docs-tokens/docs-tokens.js} +3 -3
  180. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +3 -3
  181. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  182. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  183. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  184. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  185. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +3 -3
  186. package/dist/collection/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.js → docs-palettes/docs-palettes.js} +3 -3
  187. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +144 -43
  188. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  189. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +149 -68
  190. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  191. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +158 -53
  192. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  193. package/dist/collection/eds-docs-ui/{eds-logo-variations/eds-logo-variations.js → logo/logo-variations-tabs/logo-variations.js} +3 -3
  194. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +199 -169
  195. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  196. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.css +5 -0
  197. package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +13 -3
  198. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +1 -6
  199. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
  200. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +8 -0
  201. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  202. package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
  203. package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
  204. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
  205. package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
  206. package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +51 -15
  207. package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
  208. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
  209. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +29 -32
  210. package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +13 -13
  211. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
  212. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
  213. package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
  214. package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
  215. package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
  216. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
  217. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
  218. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  219. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +25 -13
  220. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +361 -0
  221. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
  222. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +63 -61
  223. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
  224. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  225. package/dist/collection/shared-ui/eds-user/eds-user.css +7776 -0
  226. package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
  227. package/dist/collection/shared-ui/eds-user/eds-user.stories.js +1 -1
  228. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  229. package/dist/collection/utils/eds-form/formUtils.js +4 -34
  230. package/dist/components/bookmark.js +16 -0
  231. package/dist/components/{eds-logo-variations.d.ts → components-section.d.ts} +4 -4
  232. package/dist/components/components-section.js +202 -0
  233. package/dist/components/components.css +63 -61
  234. package/dist/components/components.esm.js +1 -1
  235. package/dist/components/correct-use-of-colors.js +1 -1
  236. package/dist/components/{eds-svg-repository.d.ts → docs-palettes.d.ts} +4 -4
  237. package/dist/components/{eds-docs-palettes.js → docs-palettes.js} +8 -8
  238. package/dist/components/{eds-form-v2.d.ts → docs-tokens.d.ts} +4 -4
  239. package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
  240. package/dist/components/eds-accordion2.js +10 -8
  241. package/dist/components/eds-alert2.js +12 -4
  242. package/dist/components/eds-app-root.js +1 -1
  243. package/dist/components/eds-avatar2.js +13 -8
  244. package/dist/components/eds-block-break2.js +1 -1
  245. package/dist/components/eds-breadcrumb.js +6 -2
  246. package/dist/components/eds-button2.js +2 -2
  247. package/dist/components/eds-card-desc2.js +1 -1
  248. package/dist/components/eds-card-generic2.js +1 -1
  249. package/dist/components/eds-card-project.js +1 -1
  250. package/dist/components/eds-card-tags.js +1 -1
  251. package/dist/components/eds-card-title2.js +1 -1
  252. package/dist/components/eds-card-tool.js +1 -1
  253. package/dist/components/eds-card-wrapper.js +1 -1
  254. package/dist/components/eds-code-block2.js +1 -1
  255. package/dist/components/eds-cookies-preference.js +2 -3
  256. package/dist/components/eds-dropdown2.js +4 -3
  257. package/dist/components/eds-feedback.js +2 -2
  258. package/dist/components/eds-footer2.js +13 -6
  259. package/dist/components/eds-form.js +247 -197
  260. package/dist/components/eds-frame.js +9 -15
  261. package/dist/components/eds-fullscreen-menu.js +4 -3
  262. package/dist/components/eds-header.js +5 -4
  263. package/dist/components/eds-icon-arrow-diagonal.js +3 -3
  264. package/dist/components/eds-icon-arrow-right.js +1 -1
  265. package/dist/components/{eds-docs-palettes.d.ts → eds-icon-bookmark.d.ts} +4 -4
  266. package/dist/components/eds-icon-bookmark.js +33 -0
  267. package/dist/components/eds-icon-chevron-down.js +1 -1
  268. package/dist/components/eds-icon-chevron-left.js +1 -1
  269. package/dist/components/eds-icon-chevron-right.js +1 -1
  270. package/dist/components/eds-icon-chevron-up.js +1 -1
  271. package/dist/components/eds-icon-close.js +1 -1
  272. package/dist/components/eds-icon-copy.js +1 -1
  273. package/dist/components/eds-icon-eu.js +1 -1
  274. package/dist/components/eds-icon-external.d.ts +11 -0
  275. package/dist/components/eds-icon-external.js +33 -0
  276. package/dist/components/eds-icon-gitlab.js +1 -1
  277. package/dist/components/eds-icon-loader.js +1 -1
  278. package/dist/components/eds-icon-menu.js +1 -1
  279. package/dist/components/eds-icon-minus.d.ts +11 -0
  280. package/dist/components/eds-icon-minus.js +33 -0
  281. package/dist/components/eds-icon-more.js +1 -1
  282. package/dist/components/eds-icon-paper.d.ts +11 -0
  283. package/dist/components/eds-icon-paper.js +33 -0
  284. package/dist/components/eds-icon-plus.d.ts +11 -0
  285. package/dist/components/eds-icon-plus.js +33 -0
  286. package/dist/components/{eds-docs-tokens.d.ts → eds-icon-portal.d.ts} +4 -4
  287. package/dist/components/eds-icon-portal.js +33 -0
  288. package/dist/components/eds-icon-private.d.ts +11 -0
  289. package/dist/components/eds-icon-private.js +33 -0
  290. package/dist/components/eds-icon-public.d.ts +11 -0
  291. package/dist/components/eds-icon-public.js +33 -0
  292. package/dist/components/eds-icon-search.js +1 -1
  293. package/dist/components/eds-icon-star.js +1 -1
  294. package/dist/components/eds-icon-success.js +1 -1
  295. package/dist/components/eds-icon-thumbs-down.js +1 -1
  296. package/dist/components/eds-icon-thumbs-up.js +1 -1
  297. package/dist/components/eds-icon-tutorial.d.ts +11 -0
  298. package/dist/components/eds-icon-tutorial.js +33 -0
  299. package/dist/components/eds-icon-unknown.d.ts +11 -0
  300. package/dist/components/eds-icon-unknown.js +33 -0
  301. package/dist/components/eds-icon-updown.d.ts +11 -0
  302. package/dist/components/eds-icon-updown.js +33 -0
  303. package/dist/components/eds-input-field2.js +38 -6
  304. package/dist/components/eds-input-footer2.js +1 -1
  305. package/dist/components/eds-input-label2.js +1 -1
  306. package/dist/components/eds-input-range2.js +26 -5
  307. package/dist/components/eds-input-search2.js +24 -2
  308. package/dist/components/eds-input-select2.js +4 -1
  309. package/dist/components/eds-input2.js +3 -5
  310. package/dist/components/eds-link2.js +22 -14
  311. package/dist/components/eds-login2.js +1 -1
  312. package/dist/components/eds-matomo-notice2.js +32 -4
  313. package/dist/components/eds-modal.js +6 -6
  314. package/dist/components/eds-section-heading2.js +3 -3
  315. package/dist/components/eds-social-networks2.js +1 -1
  316. package/dist/components/eds-splash-screen2.js +25 -14
  317. package/dist/components/eds-steps-v2.d.ts +11 -0
  318. package/dist/components/eds-steps-v2.js +137 -0
  319. package/dist/components/eds-steps.js +1 -92
  320. package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
  321. package/dist/components/eds-switch.js +2 -2
  322. package/dist/components/eds-table2.js +41 -26
  323. package/dist/components/eds-tabs.js +2 -2
  324. package/dist/components/eds-tag2.js +1 -1
  325. package/dist/components/eds-timeline.js +7 -2
  326. package/dist/components/eds-toast-manager.js +1 -1
  327. package/dist/components/eds-tooltip.js +1 -1
  328. package/dist/components/eds-trl.js +1 -1
  329. package/dist/components/eds-user.js +36 -25
  330. package/dist/components/incorrect-use-of-colors.js +1 -1
  331. package/dist/components/logo-space.js +69 -3
  332. package/dist/components/logo-variations-horizontal2.js +2 -2
  333. package/dist/components/logo-variations-tabs.d.ts +11 -0
  334. package/dist/components/{eds-logo-variations.js → logo-variations-tabs.js} +8 -8
  335. package/dist/components/logo-variations-vertical2.js +2 -2
  336. package/dist/components/logo-wrong-usage.js +2 -2
  337. package/dist/components/minus.js +11 -0
  338. package/dist/components/p-024c7937.js +1 -0
  339. package/dist/components/p-032f9f64.entry.js +1 -0
  340. package/dist/components/p-05754401.js +1 -0
  341. package/dist/components/p-058cf100.entry.js +1 -0
  342. package/dist/components/p-063b0683.entry.js +1 -0
  343. package/dist/components/p-0ce924b1.entry.js +1 -0
  344. package/dist/components/p-18eb23ff.entry.js +1 -0
  345. package/dist/components/{p-43b3579a.entry.js → p-1aab55cf.entry.js} +1 -1
  346. package/dist/components/p-1b2913c8.js +1 -0
  347. package/dist/components/p-1b4e9576.entry.js +1 -0
  348. package/dist/components/p-20b3a999.entry.js +1 -0
  349. package/dist/components/{p-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
  350. package/dist/components/p-29e807f5.entry.js +1 -0
  351. package/dist/components/{p-a5c61d1c.entry.js → p-2c1be2bb.entry.js} +1 -1
  352. package/dist/components/p-30a319d5.entry.js +1 -0
  353. package/dist/components/p-35ed7ebf.entry.js +1 -0
  354. package/dist/components/p-376b706b.entry.js +1 -0
  355. package/dist/components/p-3932d0af.entry.js +1 -0
  356. package/dist/components/{p-56ec190f.entry.js → p-3a7be9a7.entry.js} +1 -1
  357. package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
  358. package/dist/components/p-41e89554.entry.js +1 -0
  359. package/dist/components/{p-8b70a350.entry.js → p-424ba743.entry.js} +1 -1
  360. package/dist/components/p-435a8942.entry.js +1 -0
  361. package/dist/components/p-4c7852f8.entry.js +1 -0
  362. package/dist/components/p-4e8a317b.entry.js +1 -0
  363. package/dist/components/{p-ad746789.entry.js → p-526cdc57.entry.js} +1 -1
  364. package/dist/components/p-52913e2e.entry.js +1 -0
  365. package/dist/components/{p-8e548691.entry.js → p-59d963d1.entry.js} +1 -1
  366. package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
  367. package/dist/components/p-66bb44c9.entry.js +1 -0
  368. package/dist/components/p-694fc085.js +1 -0
  369. package/dist/components/{p-5c12a0df.entry.js → p-6dc26e53.entry.js} +1 -1
  370. package/dist/components/p-7198c024.js +1 -0
  371. package/dist/components/p-78fa7132.entry.js +1 -0
  372. package/dist/components/p-7dce734a.entry.js +1 -0
  373. package/dist/components/{p-62f2f274.entry.js → p-7fa88255.entry.js} +1 -1
  374. package/dist/components/p-83936521.entry.js +1 -0
  375. package/dist/components/p-8527ef5f.entry.js +1 -0
  376. package/dist/components/{p-4cd69983.entry.js → p-85ad681a.entry.js} +1 -1
  377. package/dist/components/p-8653bc36.entry.js +1 -0
  378. package/dist/components/p-86bb73dc.js +1 -0
  379. package/dist/components/p-8baa7e01.entry.js +1 -0
  380. package/dist/components/p-8e3c6c63.entry.js +1 -0
  381. package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
  382. package/dist/components/p-923f67b5.entry.js +1 -0
  383. package/dist/components/p-93093977.entry.js +1 -0
  384. package/dist/components/{p-a91ab66e.entry.js → p-941240b5.entry.js} +1 -1
  385. package/dist/components/p-97e95520.entry.js +1 -0
  386. package/dist/components/p-9873ebec.entry.js +1 -0
  387. package/dist/components/{p-9eb2e870.entry.js → p-9a1a6df1.entry.js} +1 -1
  388. package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
  389. package/dist/components/p-a1d55013.entry.js +1 -0
  390. package/dist/components/p-a8b0fe92.entry.js +1 -0
  391. package/dist/components/p-acc4d234.entry.js +1 -0
  392. package/dist/components/p-b0b37831.entry.js +1 -0
  393. package/dist/components/p-b299b89a.entry.js +1 -0
  394. package/dist/components/p-b2b46793.entry.js +1 -0
  395. package/dist/components/p-b47d115d.entry.js +1 -0
  396. package/dist/components/p-b55b0091.entry.js +1 -0
  397. package/dist/components/p-b73410de.js +1 -0
  398. package/dist/components/p-b76aa402.entry.js +1 -0
  399. package/dist/components/p-b96fc468.entry.js +1 -0
  400. package/dist/components/p-bab07ba6.entry.js +1 -0
  401. package/dist/components/p-bcbc7b7f.entry.js +1 -0
  402. package/dist/components/p-c1e4ef92.js +1 -0
  403. package/dist/components/p-c86243a3.entry.js +1 -0
  404. package/dist/components/p-c8abff96.entry.js +1 -0
  405. package/dist/components/p-cccff1e3.entry.js +1 -0
  406. package/dist/components/p-cd624044.entry.js +1 -0
  407. package/dist/components/p-cdc36ea8.entry.js +1 -0
  408. package/dist/components/p-cdf19579.js +1 -0
  409. package/dist/components/p-d525ed36.entry.js +1 -0
  410. package/dist/components/p-d94a44b9.entry.js +1 -0
  411. package/dist/components/p-d962849c.js +1 -0
  412. package/dist/components/p-ea089f4e.entry.js +1 -0
  413. package/dist/components/p-eebf7ebf.entry.js +1 -0
  414. package/dist/components/p-efc73304.entry.js +1 -0
  415. package/dist/components/p-f13e9ab1.entry.js +1 -0
  416. package/dist/components/p-f48a4313.entry.js +1 -0
  417. package/dist/components/paper.js +15 -0
  418. package/dist/components/plus.js +12 -0
  419. package/dist/components/portal.js +18 -0
  420. package/dist/components/primary.js +1 -1
  421. package/dist/components/primary2.js +1 -1
  422. package/dist/components/private.js +25 -0
  423. package/dist/components/public.js +16 -0
  424. package/dist/components/secondary.js +1 -1
  425. package/dist/components/secondary2.js +7 -7
  426. package/dist/components/support.js +31 -18
  427. package/dist/components/support2.js +3 -3
  428. package/dist/components/svg-repository.d.ts +11 -0
  429. package/dist/components/{eds-svg-repository.js → svg-repository.js} +35 -30
  430. package/dist/components/token-list2.js +3 -3
  431. package/dist/components/token-radii2.js +1 -1
  432. package/dist/components/token-ratios.js +1 -1
  433. package/dist/components/token-shadows2.js +1 -1
  434. package/dist/components/token-spacing.js +1 -1
  435. package/dist/components/token-typography.js +3 -3
  436. package/dist/components/tutotial.js +27 -0
  437. package/dist/components/unknown.js +22 -0
  438. package/dist/components/up-and-down.js +12 -0
  439. package/dist/esm/bookmark-c200037c.js +16 -0
  440. package/dist/esm/color-primary-palette_6.entry.js +44 -31
  441. package/dist/esm/components-section.entry.js +135 -0
  442. package/dist/esm/components.js +1 -1
  443. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  444. package/dist/esm/{eds-docs-palettes.entry.js → docs-palettes.entry.js} +3 -3
  445. package/dist/esm/{eds-docs-tokens.entry.js → docs-tokens.entry.js} +3 -3
  446. package/dist/esm/eds-accordion.entry.js +82 -0
  447. package/dist/esm/eds-alert.entry.js +11 -4
  448. package/dist/esm/eds-app-root.entry.js +1 -1
  449. package/dist/esm/eds-avatar_24.entry.js +2073 -0
  450. package/dist/esm/eds-breadcrumb.entry.js +6 -2
  451. package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
  452. package/dist/esm/eds-card-generic.entry.js +1 -1
  453. package/dist/esm/eds-card-project.entry.js +1 -1
  454. package/dist/esm/eds-card-tags.entry.js +1 -1
  455. package/dist/esm/eds-card-tool.entry.js +1 -1
  456. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  457. package/dist/esm/eds-code-block.entry.js +1 -1
  458. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  459. package/dist/esm/eds-feedback.entry.js +2 -2
  460. package/dist/esm/eds-frame.entry.js +7 -13
  461. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  462. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  463. package/dist/esm/eds-icon-bookmark.entry.js +14 -0
  464. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  465. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  466. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  467. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  468. package/dist/esm/eds-icon-close.entry.js +1 -1
  469. package/dist/esm/eds-icon-copy.entry.js +1 -1
  470. package/dist/esm/eds-icon-eu.entry.js +1 -1
  471. package/dist/esm/eds-icon-external.entry.js +14 -0
  472. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  473. package/dist/esm/eds-icon-loader.entry.js +1 -1
  474. package/dist/esm/eds-icon-menu.entry.js +1 -1
  475. package/dist/esm/eds-icon-minus.entry.js +14 -0
  476. package/dist/esm/eds-icon-more.entry.js +1 -1
  477. package/dist/esm/eds-icon-paper.entry.js +14 -0
  478. package/dist/esm/eds-icon-plus.entry.js +14 -0
  479. package/dist/esm/eds-icon-portal.entry.js +14 -0
  480. package/dist/esm/eds-icon-private.entry.js +14 -0
  481. package/dist/esm/eds-icon-public.entry.js +14 -0
  482. package/dist/esm/eds-icon-search.entry.js +1 -1
  483. package/dist/esm/eds-icon-star.entry.js +1 -1
  484. package/dist/esm/eds-icon-success.entry.js +1 -1
  485. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  486. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  487. package/dist/esm/eds-icon-tutorial.entry.js +14 -0
  488. package/dist/esm/eds-icon-unknown.entry.js +14 -0
  489. package/dist/esm/eds-icon-updown.entry.js +14 -0
  490. package/dist/esm/eds-login_2.entry.js +23 -14
  491. package/dist/esm/eds-matomo-notice.entry.js +119 -0
  492. package/dist/esm/eds-modal.entry.js +6 -6
  493. package/dist/esm/eds-pagination_2.entry.js +398 -0
  494. package/dist/esm/eds-section-core_2.entry.js +3 -3
  495. package/dist/esm/eds-switch.entry.js +2 -2
  496. package/dist/esm/eds-tabs.entry.js +2 -2
  497. package/dist/esm/eds-timeline.entry.js +5 -1
  498. package/dist/esm/eds-toast-manager.entry.js +1 -1
  499. package/dist/esm/eds-tooltip.entry.js +1 -1
  500. package/dist/esm/eds-trl.entry.js +1 -1
  501. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  502. package/dist/esm/index-8a71b9a7.js +82 -50
  503. package/dist/esm/loader.js +1 -1
  504. package/dist/esm/logo-space.entry.js +2 -2
  505. package/dist/esm/logo-variations-horizontal_2.entry.js +4 -4
  506. package/dist/esm/{eds-logo-variations.entry.js → logo-variations-tabs.entry.js} +3 -3
  507. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  508. package/dist/esm/minus-b30a7c71.js +11 -0
  509. package/dist/esm/paper-8e74ea31.js +15 -0
  510. package/dist/esm/plus-89c07be2.js +12 -0
  511. package/dist/esm/portal-d6c8ce56.js +18 -0
  512. package/dist/esm/private-1c25ff8e.js +25 -0
  513. package/dist/esm/public-d4d8c585.js +16 -0
  514. package/dist/esm/{eds-svg-repository.entry.js → svg-repository.entry.js} +30 -25
  515. package/dist/esm/token-list_3.entry.js +5 -5
  516. package/dist/esm/token-ratios.entry.js +1 -1
  517. package/dist/esm/token-typography.entry.js +3 -3
  518. package/dist/esm/tutotial-150ee1fd.js +27 -0
  519. package/dist/esm/unknown-ed01a24c.js +22 -0
  520. package/dist/esm/up-and-down-d747abee.js +12 -0
  521. package/dist/hydrate/index.js +1492 -1176
  522. package/dist/hydrate/index.mjs +1492 -1176
  523. package/dist/stencil.config.js +1 -32
  524. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +11 -1
  525. package/dist/types/components/eds-accordion/eds-accordion.d.ts +4 -2
  526. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
  527. package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
  528. package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
  529. package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
  530. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
  531. package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
  532. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
  533. package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +1 -1
  534. package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +10 -0
  535. package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +10 -0
  536. package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +10 -0
  537. package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +10 -0
  538. package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +10 -0
  539. package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +10 -0
  540. package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +10 -0
  541. package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +10 -0
  542. package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +10 -0
  543. package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +10 -0
  544. package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +10 -0
  545. package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +0 -2
  546. package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +13 -0
  547. package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +33 -0
  548. package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
  549. package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
  550. package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
  551. package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
  552. package/dist/types/components/eds-table/eds-table.d.ts +5 -1
  553. package/dist/types/components.d.ts +594 -470
  554. package/dist/types/eds-docs-ui/colors/color-palette/support.d.ts +1 -0
  555. package/dist/types/eds-docs-ui/{eds-logo-variations/eds-logo-variations.d.ts → components-section/components-section.d.ts} +1 -1
  556. package/dist/types/eds-docs-ui/components-section/functional/angular.d.ts +2 -0
  557. package/dist/types/eds-docs-ui/components-section/functional/installation.d.ts +2 -0
  558. package/dist/types/eds-docs-ui/components-section/functional/overview.d.ts +2 -0
  559. package/dist/types/eds-docs-ui/components-section/functional/react.d.ts +2 -0
  560. package/dist/types/eds-docs-ui/components-section/functional/usage.d.ts +2 -0
  561. package/dist/types/eds-docs-ui/components-section/functional/vue.d.ts +2 -0
  562. package/dist/types/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.d.ts → design-tokens/docs-tokens/docs-tokens.d.ts} +1 -1
  563. package/dist/types/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.d.ts → docs-palettes/docs-palettes.d.ts} +1 -1
  564. package/dist/types/eds-docs-ui/{eds-components-section/eds-components-section.d.ts → logo/logo-variations-tabs/logo-variations.d.ts} +1 -1
  565. package/dist/types/eds-docs-ui/{eds-svg-repository/eds-svg-repository.d.ts → svg-repository/svg-repository.d.ts} +1 -1
  566. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -6
  567. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
  568. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
  569. package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +2 -1
  570. package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +10 -9
  571. package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.d.ts +3 -3
  572. package/dist/types/shared-ui/eds-login/eds-login.d.ts +3 -0
  573. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -0
  574. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
  575. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
  576. package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
  577. package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
  578. package/package.json +4 -4
  579. package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
  580. package/dist/cjs/eds-components-section.cjs.entry.js +0 -120
  581. package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
  582. package/dist/cjs/eds-form.cjs.entry.js +0 -344
  583. package/dist/cjs/eds-steps.cjs.entry.js +0 -55
  584. package/dist/cjs/eds-user.cjs.entry.js +0 -29
  585. package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
  586. package/dist/cjs/formUtils-4315a99c.js +0 -228
  587. package/dist/cjs/token-spacing.cjs.entry.js +0 -16
  588. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
  589. package/dist/collection/components/eds-form/eds-form.css +0 -7153
  590. package/dist/collection/components/eds-form/eds-form.js +0 -609
  591. package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
  592. package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
  593. package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
  594. package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
  595. package/dist/collection/eds-docs-ui/functional/angular.js +0 -2
  596. package/dist/collection/eds-docs-ui/functional/installation.js +0 -2
  597. package/dist/collection/eds-docs-ui/functional/overview.js +0 -2
  598. package/dist/collection/eds-docs-ui/functional/react.js +0 -2
  599. package/dist/collection/eds-docs-ui/functional/usage.js +0 -2
  600. package/dist/collection/eds-docs-ui/functional/vue.js +0 -2
  601. package/dist/components/eds-components-section.d.ts +0 -11
  602. package/dist/components/eds-components-section.js +0 -171
  603. package/dist/components/eds-form-v2.js +0 -317
  604. package/dist/components/eds-vertical-stepper.d.ts +0 -11
  605. package/dist/components/eds-vertical-stepper.js +0 -86
  606. package/dist/components/formUtils.js +0 -223
  607. package/dist/components/p-033480b2.entry.js +0 -1
  608. package/dist/components/p-066f6d27.entry.js +0 -1
  609. package/dist/components/p-117d180f.entry.js +0 -1
  610. package/dist/components/p-2354daeb.entry.js +0 -1
  611. package/dist/components/p-2b31ca60.entry.js +0 -1
  612. package/dist/components/p-3368cfd5.entry.js +0 -1
  613. package/dist/components/p-33c5b937.entry.js +0 -1
  614. package/dist/components/p-467fe746.entry.js +0 -1
  615. package/dist/components/p-46a6042d.entry.js +0 -1
  616. package/dist/components/p-4a860d5b.entry.js +0 -1
  617. package/dist/components/p-4ac27fe7.entry.js +0 -1
  618. package/dist/components/p-4b2e6f03.entry.js +0 -1
  619. package/dist/components/p-5520a3b6.entry.js +0 -1
  620. package/dist/components/p-552b6a50.entry.js +0 -1
  621. package/dist/components/p-56b4e0fe.entry.js +0 -1
  622. package/dist/components/p-5aff1ea0.entry.js +0 -1
  623. package/dist/components/p-5e63e8a5.entry.js +0 -1
  624. package/dist/components/p-60e7e745.entry.js +0 -1
  625. package/dist/components/p-6fd0c3b3.entry.js +0 -1
  626. package/dist/components/p-77cc7c02.entry.js +0 -1
  627. package/dist/components/p-79c14cf1.entry.js +0 -1
  628. package/dist/components/p-7dd81017.entry.js +0 -1
  629. package/dist/components/p-7e0dd5d8.entry.js +0 -1
  630. package/dist/components/p-80dba155.js +0 -1
  631. package/dist/components/p-8154d013.entry.js +0 -1
  632. package/dist/components/p-86eed1b7.entry.js +0 -1
  633. package/dist/components/p-90503a64.entry.js +0 -1
  634. package/dist/components/p-90f85604.entry.js +0 -1
  635. package/dist/components/p-94698510.entry.js +0 -1
  636. package/dist/components/p-950ecb1c.entry.js +0 -1
  637. package/dist/components/p-9b9fba38.entry.js +0 -1
  638. package/dist/components/p-9ebc84d6.entry.js +0 -1
  639. package/dist/components/p-a6cd418e.entry.js +0 -1
  640. package/dist/components/p-a8dd1953.entry.js +0 -1
  641. package/dist/components/p-ab292dd5.entry.js +0 -1
  642. package/dist/components/p-b80a9020.entry.js +0 -1
  643. package/dist/components/p-c06d4f14.entry.js +0 -1
  644. package/dist/components/p-c12d9350.entry.js +0 -1
  645. package/dist/components/p-c3dda942.entry.js +0 -1
  646. package/dist/components/p-c6b32753.entry.js +0 -1
  647. package/dist/components/p-e9a533e0.entry.js +0 -1
  648. package/dist/components/p-eac63c82.entry.js +0 -1
  649. package/dist/components/p-f5959676.entry.js +0 -1
  650. package/dist/components/p-fba4080d.entry.js +0 -1
  651. package/dist/components/p-fc619588.entry.js +0 -1
  652. package/dist/components/p-fcc32210.entry.js +0 -1
  653. package/dist/eds/components.js +0 -18
  654. package/dist/eds/components.js.map +0 -1
  655. package/dist/esm/eds-accordion_22.entry.js +0 -1934
  656. package/dist/esm/eds-components-section.entry.js +0 -116
  657. package/dist/esm/eds-dropdown.entry.js +0 -121
  658. package/dist/esm/eds-form.entry.js +0 -340
  659. package/dist/esm/eds-user.entry.js +0 -25
  660. package/dist/esm/eds-vertical-stepper.entry.js +0 -41
  661. package/dist/esm/formUtils-ac68474d.js +0 -223
  662. package/dist/esm/token-spacing.entry.js +0 -12
  663. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
  664. package/dist/types/components/eds-form/eds-form.d.ts +0 -148
  665. package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
  666. package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
  667. package/dist/types/eds-docs-ui/functional/angular.d.ts +0 -2
  668. package/dist/types/eds-docs-ui/functional/installation.d.ts +0 -2
  669. package/dist/types/eds-docs-ui/functional/overview.d.ts +0 -2
  670. package/dist/types/eds-docs-ui/functional/react.d.ts +0 -2
  671. package/dist/types/eds-docs-ui/functional/usage.d.ts +0 -2
  672. package/dist/types/eds-docs-ui/functional/vue.d.ts +0 -2
  673. /package/dist/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
@@ -1,25 +0,0 @@
1
- import { r as registerInstance, h, g as getElement } from './index-8a71b9a7.js';
2
-
3
- const EdsUser = class {
4
- constructor(hostRef) {
5
- registerInstance(this, hostRef);
6
- this.user = undefined;
7
- }
8
- /**
9
- * Lifecycle method that runs when the component is about to load.
10
- * It initializes authentication by calling the `initAuth` method.
11
- */
12
- async componentWillLoad() { }
13
- get initials() {
14
- var _a, _b, _c, _d, _e, _f, _g;
15
- const initials = `${((_b = (_a = this.user) === null || _a === void 0 ? void 0 : _a.given_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}${((_d = (_c = this.user) === null || _c === void 0 ? void 0 : _c.family_name) === null || _d === void 0 ? void 0 : _d.charAt(0)) || ''}`.toUpperCase();
16
- return initials || ((_g = (_f = (_e = this.user) === null || _e === void 0 ? void 0 : _e.name) === null || _f === void 0 ? void 0 : _f.charAt(0)) === null || _g === void 0 ? void 0 : _g.toUpperCase()) || '';
17
- }
18
- render() {
19
- var _a, _b, _c, _d, _e, _f;
20
- return (h("div", { key: '68bc37b43d006a35e088a647d41b2257fbef25a7', class: "block" }, h("div", { key: '3f4badcb645238de9ac8aaad78e1c132407f5b0d', class: "flex items-center" }, h("eds-dropdown", { key: '7f065f82c5845fd0ebc9c6b465ac56a695a99b77', label: `Welcome, ${(_a = this.user) === null || _a === void 0 ? void 0 : _a.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, h("div", { key: '2b1e9279c8d4feae16bf64c15837b61b945af447', class: "min-w-[280px] p-8" }, h("div", { key: 'efa9aef50bc1eb4961e53a89f6e07cc5ff78d67b', class: "flex gap-x-16 pb-16 border-b-2 border-softer" }, h("eds-avatar", { key: '2b78a6768ecb101138ab742d812d407e1b4fdd89', "first-name": (_b = this.user) === null || _b === void 0 ? void 0 : _b.given_name, "last-name": (_c = this.user) === null || _c === void 0 ? void 0 : _c.family_name, initials: this.initials, color: "grey", rounded: true, "initials-strong": true }), h("div", { key: 'd538dfe8df5e8af92fa204493b8b59b0d0e9f61a', class: "max-w-full" }, ((_d = this.user) === null || _d === void 0 ? void 0 : _d.name) && h("p", { key: 'a644c3cdda0ce7bf2f62438a3866692f4222efeb', class: "f-ui-01 text-default w-full text-ellipsis" }, this.user.name), ((_e = this.user) === null || _e === void 0 ? void 0 : _e.preferred_username) && (h("p", { key: '2a6cf5f0324d27ebdfd2b331e5f232c23e544ad5', class: "f-ui-03-light text-light mt-4" }, this.user.preferred_username)), ((_f = this.user) === null || _f === void 0 ? void 0 : _f.email) && h("p", { key: '02b9dd4f2999b68107eabc2c1e2a1bc3bb98f26a', class: "f-ui-03-light text-light mt-4" }, this.user.email))), h("div", { key: '3a68427dc603f0a3fb2652bfbea292eb718046dd', class: "text-default mt-16 flex w-full flex-col gap-y-8" }, h("div", { key: '3f3f617385efc57502794f78079b8486b6801425', class: "border-softer mb-10 border-b-2 pb-16" }, h("eds-link", { key: '62fbc143f710605c7d840277dc90054a1162831d', label: "My EBRAINS", "aria-label": "My EBRAINS", url: "https://www.ebrains.eu/dashboard", intent: "primary", "extra-class": "w-full", external: true })), h("eds-link", { key: 1, label: "Account Settings", url: "https://iam.ebrains.eu/auth/realms/hbp/account/", intent: "secondary", icon: "arrow-diagonal", external: true, "extra-class": "w-full" }), h("slot", { key: 'f48a4c872784b60e421fda6e48f67f4c85b101d7' })))))));
21
- }
22
- get hostEl() { return getElement(this); }
23
- };
24
-
25
- export { EdsUser as eds_user };
@@ -1,41 +0,0 @@
1
- import { r as registerInstance, h } from './index-8a71b9a7.js';
2
-
3
- const edsVerticalStepperCss = ":host{display:block}.stepper-container{margin:0 auto}.stepper{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.step{margin-bottom:24px}.step-label{counter-increment:step;font-size:1.25rem;font-weight:600;position:relative;margin-top:1em;margin-bottom:1em}.step-label::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.optional{font-size:0.8rem;color:#888;margin-left:8px}.step-content{margin-top:8px}.step-buttons{margin-top:12px}.step-buttons button{margin-right:8px;padding:6px 12px;font-size:0.875rem}.completed{padding:16px;border:1px solid #ddd;margin-top:16px;text-align:center}";
4
- const EdsVerticalStepperStyle0 = edsVerticalStepperCss;
5
-
6
- const EdsVerticalStepper = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.handleNext = () => {
10
- if (this.activeStep < this.parsedSteps.length) {
11
- this.activeStep = this.activeStep + 1;
12
- }
13
- };
14
- this.handleBack = () => {
15
- if (this.activeStep > 0) {
16
- this.activeStep = this.activeStep - 1;
17
- }
18
- };
19
- this.handleReset = () => {
20
- this.activeStep = 0;
21
- };
22
- this.steps = '[]';
23
- this.activeStep = 0;
24
- }
25
- get parsedSteps() {
26
- try {
27
- return JSON.parse(this.steps);
28
- }
29
- catch (error) {
30
- //console.error('Invalid steps JSON', error);
31
- return [];
32
- }
33
- }
34
- render() {
35
- const steps = this.parsedSteps;
36
- return (h("div", { key: '89344ad340f9eb8d20f463d3990ec4832cbdc900', class: "stepper-container" }, h("div", { key: 'da8d7fae2b30cfc93d04d5d8c3a61d95ccf91383', class: "stepper" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("div", { class: "step-label" }, h("span", null, step.label), index === steps.length - 1 && h("span", { class: "f-ui-03 text-lightest ml-4" }, "(Last step)")), this.activeStep === index && (h("div", { class: "step-content" }, h("p", null, step.description), h("div", { class: "step-buttons" }, h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', 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' })))))))), this.activeStep === steps.length && (h("div", { key: '1e3272723281d9a10603b4d1e79badfdd6591cc5', class: "" }, h("eds-alert", { key: '7cc81e7e7097891364ff9894d383fd7bb9f7fce4', intent: "success", message: "All steps completed - you're finished!" }), h("eds-button", { key: 'a4d68698fa7831c7e2b6afae435979ccac46a726', label: "Start again", onClick: this.handleReset, "extra-class": "mt-4" })))));
37
- }
38
- };
39
- EdsVerticalStepper.style = EdsVerticalStepperStyle0;
40
-
41
- export { EdsVerticalStepper as eds_vertical_stepper };
@@ -1,223 +0,0 @@
1
- // utils/validators.ts
2
- function validateField(name, value, type, required, maxLength) {
3
- const errors = [];
4
- if (required && !value) {
5
- errors.push(`${name} is required.`);
6
- }
7
- if (maxLength && typeof value === 'string' && value.length > maxLength) {
8
- errors.push(`${name} must be at most ${maxLength} characters.`);
9
- }
10
- if (type === 'email' && value && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value.toString())) {
11
- errors.push('Invalid email format.');
12
- }
13
- return errors;
14
- }
15
- function validateFieldGroup(name, required, formEl) {
16
- // Find all eds-input-field components that contain inputs with the given name.
17
- const groupFields = Array.from(formEl.querySelectorAll('eds-input-field')).filter((edsField) => { var _a, _b; return ((_b = (_a = edsField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`input[name="${name}"]`)) === null || _b === void 0 ? void 0 : _b.length) > 0; });
18
- // Collect all input elements with the matching name inside those components.
19
- const groupElements = groupFields.flatMap((edsField) => { var _a; return Array.from(((_a = edsField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`input[name="${name}"]`)) || []); });
20
- // Check if at least one input is checked.
21
- const isChecked = groupElements.some((el) => el.checked);
22
- const errors = [];
23
- if (required && !isChecked) {
24
- errors.push(`At least one option in ${name} is required.`);
25
- }
26
- return errors;
27
- }
28
- function validateSingleBox(name, required, formEl) {
29
- var _a;
30
- const errors = [];
31
- // Find the eds-input-field component containing the input with the given name.
32
- const edsField = Array.from(formEl.querySelectorAll('eds-input-field')).find((field) => { var _a; return (_a = field.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`[name="${name}"]`); });
33
- // If no such field is found and it's required, return an error.
34
- if (!edsField) {
35
- if (required) {
36
- errors.push(`${name} is required.`);
37
- }
38
- return errors;
39
- }
40
- // Query within the component's shadow root.
41
- const inputEl = (_a = edsField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`[name="${name}"]`);
42
- if (required && inputEl && !inputEl.checked) {
43
- errors.push(`${name} is required.`);
44
- }
45
- return errors;
46
- }
47
-
48
- /**
49
- * Finds the first input element for a given field name inside eds-input-field components.
50
- */
51
- function findFieldElement(formEl, name) {
52
- const elements = Array.from(formEl.querySelectorAll('eds-input-field'));
53
- for (const element of elements) {
54
- if (element.shadowRoot) {
55
- const input = element.shadowRoot.querySelector(`[name="${name}"]`);
56
- if (input) {
57
- return input;
58
- }
59
- }
60
- }
61
- return null;
62
- }
63
- /**
64
- * Validates all fields and returns an object containing the errors and a flag indicating any errors.
65
- */
66
- function validateFormFields(parsedFields, formEl, values,
67
- // eslint-disable-next-line
68
- isFieldVisible) {
69
- const errors = {};
70
- let hasError = false;
71
- parsedFields.forEach((field) => {
72
- // Only validate fields that are visible.
73
- if (!isFieldVisible(field, values)) {
74
- // If a field is hidden, clear its error.
75
- delete errors[field.name];
76
- return;
77
- }
78
- if (field.type !== 'hidden') {
79
- if ((field.type === 'checkbox' || field.type === 'radio') && !field.options) {
80
- // Single checkbox or radio without multiple options
81
- const fieldErrors = validateSingleBox(field.name, field.required, formEl);
82
- if (fieldErrors.length > 0) {
83
- errors[field.name] = fieldErrors;
84
- hasError = true;
85
- }
86
- }
87
- else if (field.options && (field.type === 'checkbox' || field.type === 'radio')) {
88
- // Checkbox or radio group with options
89
- const fieldErrors = validateFieldGroup(field.name, field.required, formEl);
90
- if (fieldErrors.length > 0) {
91
- errors[field.name] = fieldErrors;
92
- hasError = true;
93
- }
94
- }
95
- else {
96
- // For all other types, find the first matching element.
97
- const inputEl = findFieldElement(formEl, field.name);
98
- if (inputEl) {
99
- const value = inputEl.value;
100
- const fieldErrors = validateField(field.name, value, field.type, field.required, field.maxlength);
101
- if (fieldErrors.length > 0) {
102
- errors[field.name] = fieldErrors;
103
- hasError = true;
104
- }
105
- }
106
- }
107
- }
108
- });
109
- return { errors, hasError };
110
- }
111
-
112
- /**
113
- * Validates a field based on its type and returns an array of error messages.
114
- * @param field - The field configuration object.
115
- * @param value - The input value (if applicable).
116
- * @param formEl - The form element used for DOM queries.
117
- */
118
- function validateInputField(field, value, formEl) {
119
- if (field.type === 'checkbox' || field.type === 'radio') {
120
- if (field.options) {
121
- return validateFieldGroup(field.name, field.required, formEl);
122
- }
123
- return validateSingleBox(field.name, field.required, formEl);
124
- }
125
- return validateField(field.name, value, field.type, field.required, field.maxlength);
126
- }
127
-
128
- /**
129
- * Updates state values based on draft data and, after a delay, updates the corresponding DOM inputs.
130
- */
131
- function getFormInitData({ initData, parsedFields, currentValues, formEl, isFieldVisible }) {
132
- // Pass 1: Update state for all fields.
133
- const updatedValues = Object.assign({}, currentValues);
134
- parsedFields.forEach((field) => {
135
- const value = initData[field.name];
136
- if (value !== undefined) {
137
- updatedValues[field.name] = value;
138
- }
139
- });
140
- // Pass 2: Delay DOM updates to ensure nested fields are rendered.
141
- setTimeout(() => {
142
- parsedFields.forEach((field) => {
143
- // Only update if the field is visible.
144
- if (isFieldVisible(field, updatedValues)) {
145
- const value = initData[field.name];
146
- if (value !== undefined) {
147
- if (field.type === 'checkbox' || field.type === 'radio') {
148
- // Query all eds-input-field components and update matching inputs.
149
- const elements = Array.from(formEl.querySelectorAll('eds-input-field'));
150
- elements.forEach((element) => {
151
- if (element.shadowRoot) {
152
- const inputs = Array.from(element.shadowRoot.querySelectorAll(`[name="${field.name}"]`));
153
- // Convert stored comma-separated value into a trimmed array.
154
- const valuesArray = value.split(',').map((v) => v.trim());
155
- inputs.forEach((inputEl) => {
156
- // eslint-disable-next-line
157
- inputEl.checked = valuesArray.includes(inputEl.value);
158
- });
159
- }
160
- });
161
- }
162
- else {
163
- // For non-checkbox/radio inputs, update the first matching element using findFieldElement.
164
- const inputEl = findFieldElement(formEl, field.name);
165
- if (inputEl) {
166
- inputEl.value = value;
167
- }
168
- }
169
- }
170
- }
171
- });
172
- }, 50); // A 50ms delay to allow re-render
173
- return { updatedValues };
174
- }
175
- /**
176
- * Updates state values based on draft data and, after a delay, updates the corresponding DOM inputs.
177
- */
178
- function getFormDraftData({ draftData, parsedFields, currentValues, formEl, isFieldVisible }) {
179
- // Pass 1: Update state for all fields.
180
- const updatedValues = Object.assign({}, currentValues);
181
- parsedFields.forEach((field) => {
182
- const value = draftData[field.name];
183
- if (value !== undefined) {
184
- updatedValues[field.name] = value;
185
- }
186
- });
187
- // Pass 2: Delay DOM updates to ensure nested fields are rendered.
188
- setTimeout(() => {
189
- parsedFields.forEach((field) => {
190
- // Only update if the field is visible.
191
- if (isFieldVisible(field, updatedValues)) {
192
- const value = draftData[field.name];
193
- if (value !== undefined) {
194
- if (field.type === 'checkbox' || field.type === 'radio') {
195
- // Query all eds-input-field components and update matching inputs.
196
- const elements = Array.from(formEl.querySelectorAll('eds-input-field'));
197
- elements.forEach((element) => {
198
- if (element.shadowRoot) {
199
- const inputs = Array.from(element.shadowRoot.querySelectorAll(`[name="${field.name}"]`));
200
- // Convert stored comma-separated value into a trimmed array.
201
- const valuesArray = value.split(',').map((v) => v.trim());
202
- inputs.forEach((inputEl) => {
203
- // eslint-disable-next-line
204
- inputEl.checked = valuesArray.includes(inputEl.value);
205
- });
206
- }
207
- });
208
- }
209
- else {
210
- // For non-checkbox/radio inputs, update the first matching element using findFieldElement.
211
- const inputEl = findFieldElement(formEl, field.name);
212
- if (inputEl) {
213
- inputEl.value = value;
214
- }
215
- }
216
- }
217
- }
218
- });
219
- }, 50); // A 50ms delay to allow re-render
220
- return { updatedValues };
221
- }
222
-
223
- export { validateInputField as a, getFormDraftData as b, getFormInitData as g, validateFormFields as v };
@@ -1,12 +0,0 @@
1
- import { r as registerInstance, h } from './index-8a71b9a7.js';
2
-
3
- const TokenSpacing = class {
4
- constructor(hostRef) {
5
- registerInstance(this, hostRef);
6
- }
7
- render() {
8
- return (h("div", { key: '356476122714281daec61c548440aebde6539707', class: "w-full" }, h("ul", { key: '970f3773e8974095cc033f903f064184ce2efbf7', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '09633a00f33076131e1af2c84897fc5e427cb8fe', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '0f6fa253191124f68f38e252cbdd816b2e6a4fed', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '3ea0d517cda698486a86d84b08638e0571a83cbd', class: "spacing-sample m-32 bg-darker" }, h("span", { key: '705336858b45b26fc7949af2c06c7aa0caf06521', class: "text-white" }, "Margin: 2rem / m-32")))), h("li", { key: '0f6db988457ea76155bc8d0f7aa24a6a987b0faa', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '8eefc5b4f1c1decfb77d54b03ab3fd00a303142c', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'ee398d39118bf544bc6b02b4788b53f6625af2f8', class: "spacing-sample ml-64 bg-darker" }, h("span", { key: 'dfc2b6c02727298e8d307c26b00c77cbad7c741d', class: "text-white" }, "Margin Left: 4rem / ml-64")))), h("li", { key: 'f2f058f6576c56b4785675b173a5720bc8b8b5a2', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '79b1d6d5d1a5adf9168d48f21917fd5a45921d4d', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '037bc78f10b1aa70d8dd658d4d0f2f5c4689b9b4', class: "spacing-sample mt-32 bg-darker" }, h("span", { key: '44f1f4a3c85670448aa3888a28d9c977ca786f86', class: "text-white" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '7c20e01a04b1d76d4dcffc14f4df75f5021ece20', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '07a56f648b690e078b21070a55a605c02347d609', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '231c4279bdae8065ef24fec89eecb78651e04611', class: "spacing-sample p-32 bg-darker" }, h("span", { key: 'a07ed52edd29aa0aa6f6b3f246f5a9c0ae01a1d7', class: "text-white" }, "Padding: 2rem / p-32")))), h("li", { key: '9d03ce15cd0d729158e95aa57cfa16ffc198d61f', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '96166a0e3ecfd6c6a66c994964fa15bee8bde642', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '5ab66866c84be4bce570f0b88893b897e9055975', class: "spacing-sample pt-32 bg-darker" }, h("span", { key: '97a396c5d1411994f85e02da470c225a61ceecc3', class: "text-white" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '73e0a494873f0223be3631e317a0de839837c6c0', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'b6d16c13e18c51a9e458beb6a09ba8363016f78f', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '31ecca8519713956f36adeab4ec9d948366ef60c', class: "spacing-sample pl-32 bg-darker" }, h("span", { key: '5be84ed80ae0f13b350a69bced77af95ab9b9a12', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
9
- }
10
- };
11
-
12
- export { TokenSpacing as token_spacing };
@@ -1,32 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- description: {
6
- control: string;
7
- };
8
- descClass: {
9
- control: string;
10
- };
11
- truncate: {
12
- control: string;
13
- };
14
- truncateLines: {
15
- control: string;
16
- };
17
- };
18
- args: {
19
- description: string;
20
- descClass: string;
21
- truncate: boolean;
22
- truncateLines: string;
23
- };
24
- };
25
- export default _default;
26
- export declare const Default: {
27
- render: (args: any) => import("lit-html").TemplateResult<1>;
28
- args: {
29
- description: string;
30
- truncate: boolean;
31
- };
32
- };
@@ -1,148 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- interface User {
3
- token: string;
4
- email: string;
5
- name: string;
6
- [key: string]: any;
7
- }
8
- /**
9
- * `EdsForm` is a comprehensive form component designed to handle form submission with validation,
10
- * error handling, and customizable fields. It offers several options for handling alerts and
11
- * success/error messages and supports various input types and configurations.
12
- *
13
- * Key Features:
14
- * - Configurable validation for fields, including dynamic field validation.
15
- * - Customizable success and error messages displayed upon submission.
16
- * - Optionally includes a submit button, which can display a loading state during submission.
17
- * - Supports file upload, hidden fields, and dynamic field parsing.
18
- * - Emits `formSubmitting` event when the form is submitting.
19
- *
20
- * This component is ideal for implementing complex forms with specific validation and submission behaviors.
21
- */
22
- export declare class EdsForm {
23
- /**
24
- * If `true`, includes the current form URL in the submission data.
25
- */
26
- setFormUrl?: boolean;
27
- /**
28
- * If `true`, includes a submit button in the form.
29
- */
30
- submitBtn?: boolean;
31
- /**
32
- * If `true`, includes a submit button in the form.
33
- */
34
- submitBtnLabel?: string;
35
- /**
36
- * The message displayed when the form submission is successful.
37
- */
38
- successMessage?: string;
39
- /**
40
- * The message displayed when the form submission fails.
41
- */
42
- errorMessage?: string;
43
- /**
44
- * The message displayed when the form submission fails.
45
- */
46
- submitBtnHintMessage?: string;
47
- /**
48
- * The API endpoint where the form data will be submitted.
49
- */
50
- endpoint: string;
51
- /**
52
- * The name of the form, used for grouping inputs and identifying the form.
53
- */
54
- name: string;
55
- /**
56
- * A JSON string representing the fields in the form.
57
- * Example:
58
- * ```json
59
- * [
60
- * { "name": "email", "label": "Email", "type": "text", "required": true },
61
- * { "name": "password", "label": "Password", "type": "password", "required": true }
62
- * ]
63
- * ```
64
- */
65
- fields: string | any[];
66
- /**
67
- * Couping Auth and Submit button state
68
- * Submit button's state (disabled) is coupled with the Users' auth state - if user auth true then submit btn is enabled
69
- * This useful when the component is used as Survey and more types.
70
- */
71
- coupleAuth: boolean;
72
- /**
73
- * The user object containing user information.
74
- * This is populated after a successful authentication.
75
- */
76
- user?: User;
77
- /**
78
- * Whether the form is in draft mode.
79
- * Meaning it will attempt to post each input change invalidated.
80
- */
81
- draft?: boolean;
82
- /**
83
- * The draft data the form will attempt to populate in the provided fields.
84
- */
85
- draftData: {
86
- [key: string]: any;
87
- };
88
- values: {
89
- [key: string]: any;
90
- };
91
- /**
92
- * Tracks whether the form was successfully submitted.
93
- */
94
- formSubmitted: boolean;
95
- /**
96
- * Tracks whether the form has any errors.
97
- */
98
- hasError: boolean;
99
- /**
100
- * A dictionary of field names and their corresponding error messages.
101
- */
102
- errors: {
103
- [key: string]: string[];
104
- };
105
- /**
106
- * Indicates whether the form is currently submitting.
107
- */
108
- isSubmitting: boolean;
109
- /**
110
- * The alert message displayed after form submission or validation.
111
- */
112
- alertMessage: string | null;
113
- isAuthenticated: boolean;
114
- parsedFields: any[];
115
- form: EventEmitter<{
116
- event: 'input' | 'change' | 'submit';
117
- validated?: boolean;
118
- field?: string;
119
- value?: any;
120
- message?: string;
121
- success?: boolean;
122
- data: any;
123
- }>;
124
- /**
125
- * Reference to the host element.
126
- */
127
- el: HTMLElement;
128
- private formEl;
129
- componentWillLoad(): Promise<void>;
130
- componentDidLoad(): Promise<void>;
131
- get shouldFormAcceptDraft(): boolean;
132
- get shouldFormProcessDraft(): boolean;
133
- parseFields(newValue: string | any[]): void;
134
- loadDraft(): void;
135
- emitContext(linkElement: HTMLElement): void;
136
- isFieldVisible(field: any): boolean;
137
- validateForm(): void;
138
- populateFormWithDraftData(draftData: {
139
- [key: string]: any;
140
- }): void;
141
- getFormData(): FormData;
142
- handleChange(e: Event, field: any): void;
143
- handleInput(e: Event, field: any): void;
144
- handleSubmit(e: Event): Promise<void>;
145
- postFormDataWithoutValidation(): Promise<void>;
146
- render(): any;
147
- }
148
- export {};
@@ -1,42 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- name: {
6
- control: string;
7
- description: string;
8
- defaultValue: string;
9
- };
10
- endpoint: {
11
- control: string;
12
- description: string;
13
- defaultValue: string;
14
- };
15
- fields: {
16
- control: string;
17
- description: string;
18
- };
19
- successMessage: {
20
- control: string;
21
- description: string;
22
- defaultValue: string;
23
- };
24
- errorMessage: {
25
- control: string;
26
- description: string;
27
- defaultValue: string;
28
- };
29
- submitBtn: {
30
- control: string;
31
- description: string;
32
- defaultValue: boolean;
33
- };
34
- setFormUrl: {
35
- control: string;
36
- description: string;
37
- defaultValue: boolean;
38
- };
39
- };
40
- };
41
- export default _default;
42
- export declare const Default: any;
@@ -1,22 +0,0 @@
1
- export interface Step {
2
- label: string;
3
- description: string;
4
- }
5
- export declare class EdsVerticalStepper {
6
- /**
7
- * JSON string containing an array of steps.
8
- * Example:
9
- * '[
10
- * { "label": "Select campaign settings", "description": "For each ad campaign..." },
11
- * { "label": "Create an ad group", "description": "An ad group contains one or more ads..." },
12
- * { "label": "Create an ad", "description": "Try out different ad text..." }
13
- * ]'
14
- */
15
- steps: string;
16
- activeStep: number;
17
- private get parsedSteps();
18
- private handleNext;
19
- private handleBack;
20
- private handleReset;
21
- render(): any;
22
- }
@@ -1,2 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- export declare const EdsDocsAngular: FunctionalComponent;
@@ -1,2 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- export declare const EdsDocsInstallation: FunctionalComponent;
@@ -1,2 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- export declare const EdsComponentsOverview: FunctionalComponent;
@@ -1,2 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- export declare const EdsDocsReact: FunctionalComponent;
@@ -1,2 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- export declare const EdsDocsUsage: FunctionalComponent;
@@ -1,2 +0,0 @@
1
- import { FunctionalComponent } from '../../stencil-public-runtime';
2
- export declare const EdsDocsVue: FunctionalComponent;