@ebrains/components 2.1.0 → 2.3.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 (608) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  2. package/dist/cjs/components-section.cjs.entry.js +4 -6
  3. package/dist/cjs/components.cjs.js +2 -2
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  5. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  6. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  7. package/dist/cjs/download-9d17d025.js +20 -0
  8. package/dist/cjs/{eds-accordion_33.cjs.entry.js → eds-accordion_36.cjs.entry.js} +590 -110
  9. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  10. package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
  11. package/dist/cjs/eds-card-generic.cjs.entry.js +3 -3
  12. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  13. package/dist/cjs/eds-card-section.cjs.entry.js +2 -2
  14. package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  16. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-footer.cjs.entry.js +3 -5
  19. package/dist/cjs/eds-frame.cjs.entry.js +2 -2
  20. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +9 -4
  21. package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
  22. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-clone.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  33. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
  35. package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-edit.cjs.entry.js +2 -2
  37. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
  39. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  43. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  44. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  45. package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
  46. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  47. package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
  49. package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
  50. package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
  51. package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  53. package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
  57. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
  62. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-icon-view.cjs.entry.js +2 -2
  64. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-modal.cjs.entry.js +4 -4
  66. package/dist/cjs/eds-pie.cjs.entry.js +1 -1
  67. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  68. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  69. package/dist/cjs/eds-social-networks.cjs.entry.js +3 -5
  70. package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
  71. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  72. package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
  73. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  74. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  75. package/dist/cjs/{index-0249a32e.js → index-50bc1aa4.js} +8 -11
  76. package/dist/cjs/loader.cjs.js +2 -2
  77. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  78. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  79. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  80. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  81. package/dist/cjs/svg-repository.cjs.entry.js +4 -20
  82. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  83. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  84. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  85. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  86. package/dist/collection/collection-manifest.json +2 -0
  87. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  88. package/dist/collection/components/eds-alert/eds-alert.js +2 -2
  89. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  90. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  91. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  92. package/dist/collection/components/eds-button/eds-button.js +1 -1
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  94. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  95. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  96. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +8 -0
  97. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  98. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  99. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  100. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  101. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  102. package/dist/collection/components/eds-dropdown/eds-dropdown.js +127 -11
  103. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  104. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  105. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  106. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +36 -0
  115. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  127. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  128. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  129. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  130. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  131. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  133. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  134. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  135. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  136. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  137. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  138. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  139. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
  140. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  141. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  142. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  143. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  144. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  145. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  146. package/dist/collection/components/eds-img/eds-img.js +2 -2
  147. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  148. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  149. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  150. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  151. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  152. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  153. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  154. package/dist/collection/components/eds-link/eds-link.js +1 -1
  155. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  156. package/dist/collection/components/eds-modal/eds-modal.css +41 -22
  157. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  158. package/dist/collection/components/eds-nps/eds-nps.js +4 -4
  159. package/dist/collection/components/eds-pagination/eds-pagination.css +12 -0
  160. package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
  161. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  162. package/dist/collection/components/eds-rating/eds-rating.js +2 -2
  163. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  164. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  165. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  166. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  167. package/dist/collection/components/eds-table/eds-table.css +4 -0
  168. package/dist/collection/components/eds-table/eds-table.js +8 -6
  169. package/dist/collection/components/eds-tag/eds-tag.js +3 -3
  170. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  171. package/dist/collection/components/eds-tooltip/eds-tooltip.css +5 -0
  172. package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
  173. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  174. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  175. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  176. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  177. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  178. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  179. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  180. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  181. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  182. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  183. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +1 -1
  184. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  185. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  186. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  187. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  188. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  189. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  190. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  191. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  192. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  193. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  194. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  195. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  196. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  197. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  198. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +1 -1
  199. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  200. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  201. package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -6
  202. package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
  203. package/dist/collection/shared-ui/eds-form/eds-form.js +128 -7
  204. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +32 -3
  205. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  206. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
  207. package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +222 -0
  208. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +309 -0
  209. package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +277 -0
  210. package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
  211. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
  212. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
  213. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
  214. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
  215. package/dist/collection/shared-ui/eds-steps/eds-steps.css +138 -92
  216. package/dist/collection/shared-ui/eds-steps/eds-steps.js +265 -40
  217. package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
  218. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +47 -34
  219. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +227 -19
  220. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
  221. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
  222. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  223. package/dist/collection/shared-ui/eds-user/eds-user.js +82 -1
  224. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  225. package/dist/collection/utils/eds-form/formValidators.js +4 -3
  226. package/dist/components/components-section.js +3 -5
  227. package/dist/components/components.css +3 -3
  228. package/dist/components/components.esm.js +1 -1
  229. package/dist/components/correct-use-of-colors.js +1 -1
  230. package/dist/components/docs-palettes.js +1 -1
  231. package/dist/components/docs-tokens.js +1 -1
  232. package/dist/components/download.js +18 -0
  233. package/dist/components/eds-accordion2.js +2 -2
  234. package/dist/components/eds-alert2.js +2 -2
  235. package/dist/components/eds-app-root.js +1 -1
  236. package/dist/components/eds-avatar2.js +1 -1
  237. package/dist/components/eds-block-break2.js +1 -1
  238. package/dist/components/eds-breadcrumb.js +1 -1
  239. package/dist/components/eds-button2.js +1 -1
  240. package/dist/components/eds-card-desc2.js +1 -1
  241. package/dist/components/eds-card-generic2.js +2 -2
  242. package/dist/components/eds-card-project.js +1 -1
  243. package/dist/components/eds-card-section.js +1 -1
  244. package/dist/components/eds-card-tags.js +1 -1
  245. package/dist/components/eds-card-title2.js +1 -1
  246. package/dist/components/eds-card-tool.js +1 -1
  247. package/dist/components/eds-code-block2.js +1 -1
  248. package/dist/components/eds-cookies-preference.js +1 -1
  249. package/dist/components/eds-dropdown2.js +53 -7
  250. package/dist/components/eds-feedback.js +1 -1
  251. package/dist/components/eds-footer2.js +2 -4
  252. package/dist/components/eds-form.js +61 -11
  253. package/dist/components/eds-frame.js +1 -1
  254. package/dist/components/eds-fullscreen-menu.js +8 -3
  255. package/dist/components/eds-gauge.js +1 -1
  256. package/dist/components/eds-global-search.d.ts +11 -0
  257. package/dist/components/eds-global-search.js +262 -0
  258. package/dist/components/eds-header.js +1 -1
  259. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  260. package/dist/components/eds-icon-arrow-right.js +1 -1
  261. package/dist/components/eds-icon-bin.js +1 -1
  262. package/dist/components/eds-icon-bluesky.js +1 -1
  263. package/dist/components/eds-icon-bookmark.js +1 -1
  264. package/dist/components/eds-icon-chevron-down.js +1 -1
  265. package/dist/components/eds-icon-chevron-left.js +1 -1
  266. package/dist/components/eds-icon-chevron-right.js +1 -1
  267. package/dist/components/eds-icon-chevron-up.js +1 -1
  268. package/dist/components/eds-icon-clone.js +1 -1
  269. package/dist/components/eds-icon-close.js +1 -1
  270. package/dist/components/eds-icon-copy.js +1 -1
  271. package/dist/components/eds-icon-download.d.ts +11 -0
  272. package/dist/components/eds-icon-download.js +33 -0
  273. package/dist/components/eds-icon-draft.js +1 -1
  274. package/dist/components/eds-icon-edit.js +1 -1
  275. package/dist/components/eds-icon-eu.js +1 -1
  276. package/dist/components/eds-icon-external.js +1 -1
  277. package/dist/components/eds-icon-facebook.js +1 -1
  278. package/dist/components/eds-icon-gitlab.js +1 -1
  279. package/dist/components/eds-icon-linkedin.js +1 -1
  280. package/dist/components/eds-icon-loader.js +1 -1
  281. package/dist/components/eds-icon-mastodon.js +1 -1
  282. package/dist/components/eds-icon-menu.js +1 -1
  283. package/dist/components/eds-icon-minus.js +1 -1
  284. package/dist/components/eds-icon-more.js +1 -1
  285. package/dist/components/eds-icon-paper.js +1 -1
  286. package/dist/components/eds-icon-plus.js +1 -1
  287. package/dist/components/eds-icon-portal.js +1 -1
  288. package/dist/components/eds-icon-private.js +1 -1
  289. package/dist/components/eds-icon-public.js +1 -1
  290. package/dist/components/eds-icon-search.js +1 -1
  291. package/dist/components/eds-icon-star.js +1 -1
  292. package/dist/components/eds-icon-start.js +1 -1
  293. package/dist/components/eds-icon-success.js +1 -1
  294. package/dist/components/eds-icon-thumbs-down.js +1 -1
  295. package/dist/components/eds-icon-thumbs-up.js +1 -1
  296. package/dist/components/eds-icon-tutorial.js +1 -1
  297. package/dist/components/eds-icon-twitter.js +1 -1
  298. package/dist/components/eds-icon-unknown.js +1 -1
  299. package/dist/components/eds-icon-updown.js +1 -1
  300. package/dist/components/eds-icon-user.js +1 -1
  301. package/dist/components/eds-icon-view.js +1 -1
  302. package/dist/components/eds-icon-youtube.js +1 -1
  303. package/dist/components/eds-img2.js +2 -2
  304. package/dist/components/eds-input-field2.js +2 -2
  305. package/dist/components/eds-input-footer2.js +1 -1
  306. package/dist/components/eds-input-label2.js +1 -1
  307. package/dist/components/eds-input-range2.js +1 -1
  308. package/dist/components/eds-input-search2.js +1 -1
  309. package/dist/components/eds-input-select2.js +2 -2
  310. package/dist/components/eds-input2.js +2 -2
  311. package/dist/components/eds-link2.js +1 -1
  312. package/dist/components/eds-logo2.js +1 -1
  313. package/dist/components/eds-modal.js +3 -3
  314. package/dist/components/eds-nps2.js +4 -4
  315. package/dist/components/eds-pagination2.js +3 -3
  316. package/dist/components/eds-progress-bar2.js +1 -1
  317. package/dist/components/eds-rating2.js +2 -2
  318. package/dist/components/eds-section-core2.js +1 -1
  319. package/dist/components/eds-section-heading2.js +2 -2
  320. package/dist/components/eds-social-networks2.js +2 -4
  321. package/dist/components/eds-spinner2.js +1 -1
  322. package/dist/components/eds-steps-v2.js +67 -13
  323. package/dist/components/eds-steps2.js +85 -35
  324. package/dist/components/eds-switch.js +2 -2
  325. package/dist/components/eds-table2.js +36 -28
  326. package/dist/components/eds-tabs.js +2 -2
  327. package/dist/components/eds-tag2.js +1 -1
  328. package/dist/components/eds-timeline.js +1 -1
  329. package/dist/components/eds-toast-manager.js +1 -1
  330. package/dist/components/eds-tooltip.js +1 -50
  331. package/dist/components/eds-tooltip2.js +52 -0
  332. package/dist/components/eds-trl.js +33 -27
  333. package/dist/components/eds-user.js +20 -2
  334. package/dist/components/incorrect-use-of-colors.js +1 -1
  335. package/dist/components/logo-space.js +31 -25
  336. package/dist/components/logo-variations-horizontal2.js +1 -1
  337. package/dist/components/logo-variations-tabs.js +1 -1
  338. package/dist/components/logo-variations-vertical2.js +1 -1
  339. package/dist/components/logo-wrong-usage.js +1 -1
  340. package/dist/components/p-03714413.entry.js +1 -0
  341. package/dist/components/{p-67ec46b4.entry.js → p-06428b6c.entry.js} +1 -1
  342. package/dist/components/{p-7a3f2576.entry.js → p-067a184b.entry.js} +1 -1
  343. package/dist/components/p-097665cb.entry.js +1 -0
  344. package/dist/components/p-09f1b358.entry.js +1 -0
  345. package/dist/components/p-0da7d1c9.js +1 -0
  346. package/dist/components/p-1297d926.entry.js +1 -0
  347. package/dist/components/p-1928711b.entry.js +1 -0
  348. package/dist/components/{p-2ef4dd11.entry.js → p-1fad228f.entry.js} +1 -1
  349. package/dist/components/p-204f97de.entry.js +1 -0
  350. package/dist/components/p-20e385b8.entry.js +1 -0
  351. package/dist/components/{p-8627afc0.entry.js → p-219842c0.entry.js} +1 -1
  352. package/dist/components/p-21b5ca1f.entry.js +1 -0
  353. package/dist/components/{p-efbc374c.js → p-271c61ff.js} +1 -1
  354. package/dist/components/p-290b3d61.entry.js +1 -0
  355. package/dist/components/p-2db9f80a.entry.js +1 -0
  356. package/dist/components/p-354857a8.entry.js +1 -0
  357. package/dist/components/p-37a3d3ba.entry.js +1 -0
  358. package/dist/components/p-3a295312.entry.js +1 -0
  359. package/dist/components/p-3ff1f198.entry.js +1 -0
  360. package/dist/components/p-404b4dec.entry.js +1 -0
  361. package/dist/components/p-422c08a9.entry.js +1 -0
  362. package/dist/components/p-44cc0966.entry.js +1 -0
  363. package/dist/components/p-473aeaa0.entry.js +1 -0
  364. package/dist/components/p-4b2d40d4.entry.js +1 -0
  365. package/dist/components/{p-d1927da7.entry.js → p-4beb1e06.entry.js} +1 -1
  366. package/dist/components/p-4faa0047.entry.js +1 -0
  367. package/dist/components/p-552125e3.entry.js +1 -0
  368. package/dist/components/p-5db8003b.entry.js +1 -0
  369. package/dist/components/p-5ea2afdf.entry.js +1 -0
  370. package/dist/components/p-5f2bb217.entry.js +1 -0
  371. package/dist/components/p-65d1c8e9.entry.js +1 -0
  372. package/dist/components/p-67823a16.entry.js +1 -0
  373. package/dist/components/p-69db1210.entry.js +1 -0
  374. package/dist/components/p-701dc6d8.entry.js +1 -0
  375. package/dist/components/{p-e5892379.entry.js → p-71e9b1e9.entry.js} +1 -1
  376. package/dist/components/p-71f4afdf.entry.js +1 -0
  377. package/dist/components/p-73daee37.entry.js +1 -0
  378. package/dist/components/p-77143afc.entry.js +1 -0
  379. package/dist/components/p-7a137d91.entry.js +1 -0
  380. package/dist/components/p-7a34b267.entry.js +1 -0
  381. package/dist/components/{p-b31babda.entry.js → p-7ada2015.entry.js} +1 -1
  382. package/dist/components/p-81cce4f8.entry.js +1 -0
  383. package/dist/components/{p-d2e485a1.entry.js → p-83dde536.entry.js} +1 -1
  384. package/dist/components/p-84a04d37.entry.js +1 -0
  385. package/dist/components/p-8d66718e.entry.js +1 -0
  386. package/dist/components/p-9154e892.entry.js +1 -0
  387. package/dist/components/{p-5f348b0e.entry.js → p-9385c5fd.entry.js} +1 -1
  388. package/dist/components/p-98501e25.entry.js +1 -0
  389. package/dist/components/p-98d79948.entry.js +1 -0
  390. package/dist/components/p-9992fbdb.entry.js +1 -0
  391. package/dist/components/{p-b88a2267.entry.js → p-9c68934f.entry.js} +1 -1
  392. package/dist/components/{p-b9a1aba3.entry.js → p-a258d382.entry.js} +1 -1
  393. package/dist/components/p-a82fc224.entry.js +1 -0
  394. package/dist/components/p-ad0519b7.entry.js +1 -0
  395. package/dist/components/p-b15b11de.entry.js +9 -0
  396. package/dist/components/p-b56a3fc9.entry.js +1 -0
  397. package/dist/components/{p-09079c5c.entry.js → p-b9b6ac74.entry.js} +1 -1
  398. package/dist/components/p-b9bd1209.entry.js +1 -0
  399. package/dist/components/{p-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
  400. package/dist/components/{p-2e0c3fc4.entry.js → p-c12b0af1.entry.js} +1 -1
  401. package/dist/components/{p-265150a1.entry.js → p-c51b90c2.entry.js} +1 -1
  402. package/dist/components/{p-d95d7353.entry.js → p-c5d6c2a5.entry.js} +1 -1
  403. package/dist/components/p-c6f5d9df.entry.js +1 -0
  404. package/dist/components/p-c770c97b.entry.js +1 -0
  405. package/dist/components/{p-706a106c.entry.js → p-c8cba3a9.entry.js} +1 -1
  406. package/dist/components/{p-64b7a6fc.entry.js → p-ca91952b.entry.js} +1 -1
  407. package/dist/components/p-cba7d276.entry.js +1 -0
  408. package/dist/components/p-cffb13fa.entry.js +1 -0
  409. package/dist/components/p-d3cbc8f9.entry.js +1 -0
  410. package/dist/components/{p-743f9f8f.entry.js → p-d650c6c3.entry.js} +1 -1
  411. package/dist/components/p-d6a6879c.entry.js +1 -0
  412. package/dist/components/p-d9e02227.entry.js +1 -0
  413. package/dist/components/{p-79afd8aa.entry.js → p-da96c7cd.entry.js} +1 -1
  414. package/dist/components/{p-e210ddbb.entry.js → p-dd34feaa.entry.js} +1 -1
  415. package/dist/components/p-df18ffd1.entry.js +1 -0
  416. package/dist/components/p-e3b89fab.entry.js +1 -0
  417. package/dist/components/p-e696531f.entry.js +1 -0
  418. package/dist/components/{p-4c84fcf4.entry.js → p-e7b7179f.entry.js} +1 -1
  419. package/dist/components/p-e8bc4649.entry.js +1 -0
  420. package/dist/components/p-ef86f330.entry.js +1 -0
  421. package/dist/components/p-f5470900.entry.js +1 -0
  422. package/dist/components/p-ff433e09.entry.js +1 -0
  423. package/dist/components/primary.js +1 -1
  424. package/dist/components/primary2.js +1 -1
  425. package/dist/components/secondary.js +1 -1
  426. package/dist/components/secondary2.js +7 -7
  427. package/dist/components/support.js +1 -1
  428. package/dist/components/support2.js +3 -3
  429. package/dist/components/svg-repository.js +32 -42
  430. package/dist/components/token-list2.js +1 -1
  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 +1 -1
  436. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  437. package/dist/esm/components-section.entry.js +4 -6
  438. package/dist/esm/components.js +3 -3
  439. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  440. package/dist/esm/docs-palettes.entry.js +2 -2
  441. package/dist/esm/docs-tokens.entry.js +2 -2
  442. package/dist/esm/download-47746956.js +18 -0
  443. package/dist/esm/{eds-accordion_33.entry.js → eds-accordion_36.entry.js} +588 -111
  444. package/dist/esm/eds-app-root.entry.js +2 -2
  445. package/dist/esm/eds-card-desc_2.entry.js +3 -3
  446. package/dist/esm/eds-card-generic.entry.js +3 -3
  447. package/dist/esm/eds-card-project.entry.js +2 -2
  448. package/dist/esm/eds-card-section.entry.js +2 -2
  449. package/dist/esm/eds-card-tags.entry.js +2 -2
  450. package/dist/esm/eds-card-tool.entry.js +2 -2
  451. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  452. package/dist/esm/eds-feedback.entry.js +2 -2
  453. package/dist/esm/eds-footer.entry.js +3 -5
  454. package/dist/esm/eds-frame.entry.js +2 -2
  455. package/dist/esm/eds-fullscreen-menu.entry.js +9 -4
  456. package/dist/esm/eds-gauge.entry.js +2 -2
  457. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  458. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  459. package/dist/esm/eds-icon-bin.entry.js +2 -2
  460. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  461. package/dist/esm/eds-icon-bookmark.entry.js +2 -2
  462. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  463. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  464. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  465. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  466. package/dist/esm/eds-icon-clone.entry.js +2 -2
  467. package/dist/esm/eds-icon-close.entry.js +2 -2
  468. package/dist/esm/eds-icon-copy.entry.js +2 -2
  469. package/dist/esm/eds-icon-download.entry.js +14 -0
  470. package/dist/esm/eds-icon-draft.entry.js +2 -2
  471. package/dist/esm/eds-icon-edit.entry.js +2 -2
  472. package/dist/esm/eds-icon-eu.entry.js +2 -2
  473. package/dist/esm/eds-icon-external.entry.js +2 -2
  474. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  475. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  476. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  477. package/dist/esm/eds-icon-loader.entry.js +2 -2
  478. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  479. package/dist/esm/eds-icon-menu.entry.js +2 -2
  480. package/dist/esm/eds-icon-minus.entry.js +2 -2
  481. package/dist/esm/eds-icon-more.entry.js +2 -2
  482. package/dist/esm/eds-icon-paper.entry.js +2 -2
  483. package/dist/esm/eds-icon-plus.entry.js +2 -2
  484. package/dist/esm/eds-icon-portal.entry.js +2 -2
  485. package/dist/esm/eds-icon-private.entry.js +2 -2
  486. package/dist/esm/eds-icon-public.entry.js +2 -2
  487. package/dist/esm/eds-icon-search.entry.js +2 -2
  488. package/dist/esm/eds-icon-star.entry.js +2 -2
  489. package/dist/esm/eds-icon-start.entry.js +2 -2
  490. package/dist/esm/eds-icon-success.entry.js +2 -2
  491. package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
  492. package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
  493. package/dist/esm/eds-icon-tutorial.entry.js +2 -2
  494. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  495. package/dist/esm/eds-icon-unknown.entry.js +2 -2
  496. package/dist/esm/eds-icon-updown.entry.js +2 -2
  497. package/dist/esm/eds-icon-user.entry.js +2 -2
  498. package/dist/esm/eds-icon-view.entry.js +2 -2
  499. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  500. package/dist/esm/eds-modal.entry.js +4 -4
  501. package/dist/esm/eds-pie.entry.js +1 -1
  502. package/dist/esm/eds-progress-bar.entry.js +2 -2
  503. package/dist/esm/eds-section-core_2.entry.js +4 -4
  504. package/dist/esm/eds-social-networks.entry.js +3 -5
  505. package/dist/esm/eds-splash-screen.entry.js +1 -1
  506. package/dist/esm/eds-timeline.entry.js +2 -2
  507. package/dist/esm/eds-toast-manager.entry.js +2 -2
  508. package/dist/esm/eds-trl.entry.js +2 -2
  509. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  510. package/dist/esm/{index-e84b871c.js → index-870ab08f.js} +8 -11
  511. package/dist/esm/loader.js +3 -3
  512. package/dist/esm/logo-space.entry.js +2 -2
  513. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  514. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  515. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  516. package/dist/esm/svg-repository.entry.js +3 -19
  517. package/dist/esm/token-list_3.entry.js +4 -4
  518. package/dist/esm/token-ratios.entry.js +2 -2
  519. package/dist/esm/token-spacing.entry.js +2 -2
  520. package/dist/esm/token-typography.entry.js +2 -2
  521. package/dist/hydrate/index.js +679 -236
  522. package/dist/hydrate/index.mjs +679 -236
  523. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +1 -0
  524. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +27 -6
  525. package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
  526. package/dist/types/components/eds-table/eds-table.d.ts +20 -4
  527. package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
  528. package/dist/types/components.d.ts +455 -55
  529. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
  530. package/dist/types/shared-ui/eds-form/eds-form.d.ts +18 -1
  531. package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
  532. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
  533. package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +72 -0
  534. package/dist/types/shared-ui/eds-global-search/eds-global-search.stories.d.ts +40 -0
  535. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
  536. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
  537. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
  538. package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +73 -24
  539. package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
  540. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +44 -19
  541. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
  542. package/dist/types/shared-ui/eds-user/eds-user.d.ts +9 -0
  543. package/dist/types/types/global.d.ts +11 -0
  544. package/package.json +1 -1
  545. package/dist/cjs/eds-spinner.cjs.entry.js +0 -88
  546. package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
  547. package/dist/components/p-05654483.entry.js +0 -1
  548. package/dist/components/p-10997947.entry.js +0 -1
  549. package/dist/components/p-19e69c03.entry.js +0 -1
  550. package/dist/components/p-1ab1ea29.entry.js +0 -1
  551. package/dist/components/p-1bcf743d.entry.js +0 -1
  552. package/dist/components/p-1d18106d.entry.js +0 -1
  553. package/dist/components/p-3360e1e2.entry.js +0 -1
  554. package/dist/components/p-38bc21e9.entry.js +0 -1
  555. package/dist/components/p-3b29e0fd.entry.js +0 -1
  556. package/dist/components/p-42457a0f.entry.js +0 -1
  557. package/dist/components/p-4a6a72db.entry.js +0 -1
  558. package/dist/components/p-4b33909d.entry.js +0 -1
  559. package/dist/components/p-4bf4bc93.entry.js +0 -1
  560. package/dist/components/p-5367bb59.entry.js +0 -1
  561. package/dist/components/p-547a53d6.entry.js +0 -1
  562. package/dist/components/p-560fc3a4.entry.js +0 -1
  563. package/dist/components/p-5a58f1c1.entry.js +0 -1
  564. package/dist/components/p-5b55f951.entry.js +0 -1
  565. package/dist/components/p-5ba49cf2.entry.js +0 -1
  566. package/dist/components/p-5dd85979.entry.js +0 -1
  567. package/dist/components/p-634b6ca2.entry.js +0 -1
  568. package/dist/components/p-6614881d.entry.js +0 -1
  569. package/dist/components/p-6b988c76.entry.js +0 -1
  570. package/dist/components/p-6cd6ff0c.entry.js +0 -1
  571. package/dist/components/p-71ee4af2.entry.js +0 -1
  572. package/dist/components/p-789f54cb.entry.js +0 -1
  573. package/dist/components/p-7a5623b5.entry.js +0 -1
  574. package/dist/components/p-7ca6db64.entry.js +0 -1
  575. package/dist/components/p-7fa46b01.entry.js +0 -1
  576. package/dist/components/p-86eff0cb.entry.js +0 -1
  577. package/dist/components/p-89048f87.entry.js +0 -1
  578. package/dist/components/p-8cf98230.entry.js +0 -1
  579. package/dist/components/p-8d363a3c.entry.js +0 -1
  580. package/dist/components/p-9261d27c.entry.js +0 -1
  581. package/dist/components/p-97323c46.entry.js +0 -1
  582. package/dist/components/p-9b90296c.entry.js +0 -1
  583. package/dist/components/p-9cb14b1f.entry.js +0 -1
  584. package/dist/components/p-9f0a34b4.entry.js +0 -1
  585. package/dist/components/p-a8ca8346.entry.js +0 -1
  586. package/dist/components/p-ab3b0a53.entry.js +0 -1
  587. package/dist/components/p-b0d38b78.entry.js +0 -1
  588. package/dist/components/p-b6ee4250.entry.js +0 -1
  589. package/dist/components/p-b9fdcb1b.entry.js +0 -1
  590. package/dist/components/p-ba9f41de.entry.js +0 -1
  591. package/dist/components/p-beacaa4f.entry.js +0 -1
  592. package/dist/components/p-bfa23535.entry.js +0 -1
  593. package/dist/components/p-c4ac0528.entry.js +0 -1
  594. package/dist/components/p-cb114bf4.entry.js +0 -1
  595. package/dist/components/p-cd05a97b.entry.js +0 -1
  596. package/dist/components/p-cd787744.entry.js +0 -1
  597. package/dist/components/p-cdc1c8e8.entry.js +0 -1
  598. package/dist/components/p-d1d1943b.entry.js +0 -1
  599. package/dist/components/p-e0ada7e0.entry.js +0 -1
  600. package/dist/components/p-e8374410.entry.js +0 -1
  601. package/dist/components/p-e90da4ba.entry.js +0 -1
  602. package/dist/components/p-ec706eed.entry.js +0 -1
  603. package/dist/components/p-f32963ff.entry.js +0 -9
  604. package/dist/components/p-f40dd50d.entry.js +0 -1
  605. package/dist/components/p-f6012c17.entry.js +0 -1
  606. package/dist/components/p-fcba31fa.entry.js +0 -1
  607. package/dist/esm/eds-spinner.entry.js +0 -84
  608. package/dist/esm/eds-tooltip.entry.js +0 -34
@@ -19,13 +19,17 @@ import { getFormInitData } from "../../utils/eds-form/formUtils";
19
19
  export class EdsForm {
20
20
  constructor() {
21
21
  this.name = 'eds-form';
22
+ this.title = 'Form Title';
23
+ this.description = 'Form Description';
22
24
  this.setFormUrl = true;
23
25
  this.formBtn = true;
24
26
  this.formBtnLabel = 'Submit';
27
+ this.buttonIntent = 'primary';
25
28
  this.errorMessage = 'Some fields in your form are incorrect.';
26
29
  this.fields = [];
27
30
  this.groups = [];
28
31
  this.initData = {};
32
+ this.formStyle = 'default';
29
33
  this.values = {};
30
34
  this.isSubmitting = false;
31
35
  this.hasError = false;
@@ -147,6 +151,7 @@ export class EdsForm {
147
151
  return formData;
148
152
  }
149
153
  makeFormData() {
154
+ var _a;
150
155
  const formData = new FormData();
151
156
  // Add the form name
152
157
  formData.append('form_name', this.name);
@@ -158,6 +163,41 @@ export class EdsForm {
158
163
  // Append each key-value pair to the FormData object.
159
164
  formData.append(key, this.values[key]);
160
165
  });
166
+ // 2) Only do the (slower) DOM scan if we actually have file fields in the config
167
+ const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
168
+ if (hasFileField && this.formEl) {
169
+ // Find file inputs inside each eds-input-field's shadowRoot
170
+ const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
171
+ hosts.forEach((host) => {
172
+ const root = host.shadowRoot;
173
+ if (!root)
174
+ return;
175
+ const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
176
+ console.log(fileInputs);
177
+ fileInputs.forEach((fi) => {
178
+ const name = fi.name;
179
+ const files = fi.files ? Array.from(fi.files) : [];
180
+ if (files.length > 0) {
181
+ // Append each file under the same field name (backend can use request.files.getlist(name))
182
+ files.forEach((file) => formData.append(name, file));
183
+ }
184
+ else {
185
+ // If you need to ensure presence even when empty, uncomment:
186
+ // formData.append(name, new Blob([], { type: 'application/octet-stream' }), '');
187
+ }
188
+ });
189
+ });
190
+ // (Optional) mark that this payload includes files (handy in logs / policies)
191
+ // formData.set('_has_files', '1');
192
+ }
193
+ formData.forEach((value, key) => {
194
+ if (value instanceof File) {
195
+ console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
196
+ }
197
+ else {
198
+ console.log(`Field: ${key}, Value: ${value}`);
199
+ }
200
+ });
161
201
  return formData;
162
202
  }
163
203
  handleChange(e, field) {
@@ -268,11 +308,11 @@ export class EdsForm {
268
308
  message: `${field.name} updated`
269
309
  });
270
310
  }
271
- handleSubmit() {
311
+ handleSubmit(e) {
272
312
  var _a, _b;
273
- if (this.isSubmitting) {
313
+ e === null || e === void 0 ? void 0 : e.preventDefault();
314
+ if (this.isSubmitting)
274
315
  return;
275
- }
276
316
  this.isSubmitting = true;
277
317
  this.validateForm();
278
318
  if (this.hasError) {
@@ -323,10 +363,15 @@ export class EdsForm {
323
363
  }
324
364
  get groupedFields() {
325
365
  const map = {};
326
- // initialize buckets for each group
366
+ // initialize buckets for each declared group
327
367
  this.parsedGroups.forEach((g) => (map[g.id] = []));
368
+ // always keep an ungrouped bucket
328
369
  map['__ungrouped'] = [];
370
+ // only bucket fields that are currently visible
329
371
  this.parsedFields.forEach((f) => {
372
+ if (!this.isFieldVisible(f)) {
373
+ return;
374
+ }
330
375
  const gid = f.groupId || '__ungrouped';
331
376
  if (!map[gid]) {
332
377
  map[gid] = [];
@@ -347,7 +392,7 @@ export class EdsForm {
347
392
  return (h("div", { class: "form-group rating-field", key: field.name }, h("div", { class: "flex justify-between" }, field && (h("eds-input-label", { name: `rating-${field.name}`, label: field.label, disabled: field.disabled, required: field.required }))), h("eds-rating", { id: `rating-${field.name}`, "rating-type": field.ratingType, "rating-count": field.ratingCount, "selected-rating": val, onRating: (e) => this.handleRating(e, field) }), h("div", { class: "mt-6" }, h("eds-input-footer", { id: `${field.name}-footer`, name: field.name, message: field.message, "error-message": (_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.join('<br/>'), error: !!this.errors[field.name], link: field.link }))));
348
393
  }
349
394
  else if (field.type === 'nps') {
350
- return (h("div", { class: "form-group nps-field", key: field.name }, h("div", { class: "flex justify-between" }, field && (h("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), h("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), h("div", { class: "mt-6" }, h("eds-input-footer", { id: `${field.name}-footer`, name: field.name, message: field.message, "error-message": (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br/>'), error: !!this.errors[field.name], link: field.link }))));
395
+ return (h("div", { class: "form-group nps-field", key: field.name }, h("div", { class: "flex justify-between" }, field && (h("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), h("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), h("div", { class: "mt-6" }, h("eds-input-footer", { id: `${field.name}-footer`, name: field.name, "error-message": (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br/>'), error: !!this.errors[field.name] }))));
351
396
  }
352
397
  return (h("eds-input-field", { key: field.name, name: field.name, label: field.label, placeholder: field.placeholder, type: field.type, value: this.values[field.name], required: field.required, hint: field.hint, message: field.message, error: !!this.errors[field.name], errorMessage: (_c = this.errors[field.name]) === null || _c === void 0 ? void 0 : _c.join('<br/>'), options: field.options, onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field) }));
353
398
  }
@@ -358,9 +403,13 @@ export class EdsForm {
358
403
  const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
359
404
  //const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
360
405
  const buckets = this.groupedFields;
361
- return (h("form", { key: 'a66997f39b5be347a4d502f77bcd1da9d1a274ac', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: 'f8800d2ebe64b3279234ab8ebe20e535dc822872' }, h("slot", { key: 'b4194073b281dec35a79a6cc974fdf7476a67807' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
406
+ // build the shadow/bg classes if formStyle="shadow"
407
+ const styleClasses = this.formStyle === 'shadow'
408
+ ? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
409
+ : '';
410
+ return (h("form", { key: 'a2e7de988c60301b92f6b756702bfcc78e9f3d90', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '22172631522aa6094d8b163b0774c57ef4404d60', class: "flex flex-col gap-y-24" }, this.title && (h("span", { key: '0597bbacbaf5f3d9ec1ab938cf755a10baafdf21', role: "heading", class: "f-heading-04" }, this.title)), this.description && h("span", { key: '5e636072bc2692071bd0b518af721999cc8b511e', class: "f-body-02 text-light" }, this.description), h("slot", { key: '79d21172208eb77ec6460e817d3c7bc3a680c806' })), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
362
411
  .filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
363
- .map((g) => (h("div", { class: "container mt-20", key: g.id }, h("span", { class: "f-body-02" }, h("b", null, g.title)), h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), h("div", { key: '2fc83ebb6b0a472f6853618602c37ee83adae9ff', class: "flex flex-col mt-20 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f)))), this.formBtn && (h("div", { key: '91b569b1a4513945f3228c374ae45b52ea17f91d', class: "mt-32" }, h("eds-button", { key: '1a8feaecd5a7f292f8aeae3db900700b4f7fb8d4', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
412
+ .map((g) => (h("div", { class: "mt-32", key: g.id }, h("span", { class: "f-body-02" }, h("b", null, g.title)), h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), h("div", { key: 'b99941e53dec1c8c4e167d8588d6e86793838d1a', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (h("div", { key: '27365a4d7d8150ff4e94ffb3d27d011400c8c412', class: "mt-32" }, h("eds-button", { key: '66f89292b95d9549e3718d7e499b0724762127c6', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
364
413
  }
365
414
  static get is() { return "eds-form"; }
366
415
  static get encapsulation() { return "shadow"; }
@@ -394,6 +443,42 @@ export class EdsForm {
394
443
  "reflect": false,
395
444
  "defaultValue": "'eds-form'"
396
445
  },
446
+ "title": {
447
+ "type": "string",
448
+ "mutable": false,
449
+ "complexType": {
450
+ "original": "string",
451
+ "resolved": "string",
452
+ "references": {}
453
+ },
454
+ "required": false,
455
+ "optional": false,
456
+ "docs": {
457
+ "tags": [],
458
+ "text": "The title displayed above the form."
459
+ },
460
+ "attribute": "title",
461
+ "reflect": false,
462
+ "defaultValue": "'Form Title'"
463
+ },
464
+ "description": {
465
+ "type": "string",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "string",
469
+ "resolved": "string",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": true,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": "The description displayed below the title."
477
+ },
478
+ "attribute": "description",
479
+ "reflect": false,
480
+ "defaultValue": "'Form Description'"
481
+ },
397
482
  "setFormUrl": {
398
483
  "type": "boolean",
399
484
  "mutable": false,
@@ -448,6 +533,24 @@ export class EdsForm {
448
533
  "reflect": false,
449
534
  "defaultValue": "'Submit'"
450
535
  },
536
+ "buttonIntent": {
537
+ "type": "string",
538
+ "mutable": false,
539
+ "complexType": {
540
+ "original": "'primary' | 'secondary' | 'tertiary' | 'ghost'",
541
+ "resolved": "\"ghost\" | \"primary\" | \"secondary\" | \"tertiary\"",
542
+ "references": {}
543
+ },
544
+ "required": false,
545
+ "optional": true,
546
+ "docs": {
547
+ "tags": [],
548
+ "text": "Variant/style intent for the submit button (e.g., primary, secondary, tertiary, ghost)."
549
+ },
550
+ "attribute": "button-intent",
551
+ "reflect": false,
552
+ "defaultValue": "'primary'"
553
+ },
451
554
  "errorMessage": {
452
555
  "type": "string",
453
556
  "mutable": false,
@@ -517,6 +620,24 @@ export class EdsForm {
517
620
  "text": "The init data the form will attempt to populate in the provided fields."
518
621
  },
519
622
  "defaultValue": "{}"
623
+ },
624
+ "formStyle": {
625
+ "type": "string",
626
+ "mutable": false,
627
+ "complexType": {
628
+ "original": "'default' | 'shadow'",
629
+ "resolved": "\"default\" | \"shadow\"",
630
+ "references": {}
631
+ },
632
+ "required": false,
633
+ "optional": false,
634
+ "docs": {
635
+ "tags": [],
636
+ "text": "Choose between default layout or an always-shadow style.\nWhen \"shadow\", the form gets the same effect-shadow + shadow-hover classes"
637
+ },
638
+ "attribute": "form-style",
639
+ "reflect": false,
640
+ "defaultValue": "'default'"
520
641
  }
521
642
  };
522
643
  }
@@ -4,6 +4,8 @@ export default {
4
4
  component: 'eds-form',
5
5
  argTypes: {
6
6
  name: { control: 'text', description: 'Form name', defaultValue: 'extended-form' },
7
+ title: { control: 'text', description: 'Form title displayed above the form' },
8
+ description: { control: 'text', description: 'Form description displayed below the title' },
7
9
  fields: {
8
10
  control: 'object',
9
11
  description: 'Form fields as JSON array'
@@ -21,23 +23,38 @@ export default {
21
23
  control: 'text',
22
24
  description: 'Form button Label',
23
25
  defaultValue: 'Validate'
26
+ },
27
+ buttonIntent: {
28
+ control: { type: 'select' },
29
+ options: ['primary', 'secondary', 'tertiary', 'ghost'],
30
+ description: 'Variant/style intent for the submit button'
31
+ },
32
+ formStyle: {
33
+ control: 'select',
34
+ options: ['default', 'shadow']
24
35
  }
25
36
  }
26
37
  };
27
38
  const Template = (args) => html `
28
39
  <eds-form
29
40
  name="${args.name}"
41
+ title="${args.title}"
42
+ description="${args.description}"
30
43
  .fields=${args.fields}
31
44
  .groups=${args.groups}
32
45
  .initData=${args.initData}
33
46
  .setFormUrl=${args.setFormUrl}
34
47
  form-btn="${args.formBtn}"
35
48
  form-btn-label="${args.formBtnLabel}"
49
+ button-intent="${args.buttonIntent}"
50
+ form-style="${args.formStyle}"
36
51
  ></eds-form>
37
52
  `;
38
53
  export const Default = Template.bind({});
39
54
  Default.args = {
40
55
  name: 'extended-form',
56
+ title: 'User Details',
57
+ description: 'Please fill out the form below.',
41
58
  fields: [
42
59
  { name: 'username', label: 'Username', type: 'text', required: true, maxlength: 10, placeholder: 'Username' },
43
60
  { name: 'email', label: 'Email', type: 'email', required: true },
@@ -91,12 +108,17 @@ Default.args = {
91
108
  disabled: true
92
109
  }
93
110
  ],
111
+ setFormUrl: true,
94
112
  formBtn: true,
95
- formBtnLabel: 'Validate'
113
+ formBtnLabel: 'Validate',
114
+ buttonIntent: 'primary',
115
+ formStyle: 'default'
96
116
  };
97
117
  export const WithGroups = Template.bind({});
98
118
  WithGroups.args = {
99
119
  name: 'grouped-form',
120
+ title: 'Grouped Form',
121
+ description: 'Form with grouped fields',
100
122
  fields: [
101
123
  { name: 'firstName', label: 'First Name', type: 'text', required: true, groupId: 'personal' },
102
124
  { name: 'lastName', label: 'Last Name', type: 'text', required: true, groupId: 'personal' },
@@ -106,12 +128,17 @@ WithGroups.args = {
106
128
  { id: 'personal', title: 'Personal Info' },
107
129
  { id: 'comments', title: 'Comments' }
108
130
  ],
131
+ setFormUrl: true,
109
132
  formBtn: true,
110
- formBtnLabel: 'Submit'
133
+ formBtnLabel: 'Submit',
134
+ buttonIntent: 'secondary',
135
+ formStyle: 'default'
111
136
  };
112
137
  export const WithInitData = Template.bind({});
113
138
  WithInitData.args = {
114
139
  name: 'prefill-form',
140
+ title: 'Prefilled Form',
141
+ description: 'Form with initial values',
115
142
  fields: [
116
143
  { name: 'username', label: 'Username', type: 'text', required: true },
117
144
  { name: 'email', label: 'Email', type: 'email', required: true }
@@ -123,5 +150,7 @@ WithInitData.args = {
123
150
  },
124
151
  setFormUrl: false,
125
152
  formBtn: true,
126
- formBtnLabel: 'Save'
153
+ formBtnLabel: 'Save',
154
+ buttonIntent: 'ghost',
155
+ formStyle: 'default'
127
156
  };
@@ -84,7 +84,7 @@ export class EdsFrame {
84
84
  }
85
85
  }
86
86
  render() {
87
- return (h("div", { key: '9f5b6280292996b66fb3380678fae7748aba8cb3', class: this.articleClasses() }, h("div", { key: '6e4f6e0ce9b44fe94ff4622285258747503d9034', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '36bb5a7b005b4c23a7042e5cf06769efe29b07db', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '9d64e26eaa9e79d68e13d6a0faf67c8ca68d2097', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
87
+ return (h("div", { key: '7b4f5eb19460a178b98586aa38088e3dc5625671', class: this.articleClasses() }, h("div", { key: '98aefbd4cab33f14c9aa3152c122a11b24df4a02', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: 'd0cdd2f3354bddc99030ee5215f2bc24b139a261', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '030c560bbd0209160c92bc2d152f8d42484dc86b', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
88
88
  }
89
89
  static get is() { return "eds-frame"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -21,11 +21,16 @@ export class EdsFullscreenMenu {
21
21
  this.isMenuOpen = false;
22
22
  }
23
23
  /**
24
- * Listens for the toggleMenu event to open or close the menu.
25
- * This event is emitted by the eds-header component.
24
+ * Listens on `body` for `toggleheadermenu` to open/close the menu.
25
+ * The event detail should be a boolean (`true` = open, `false` = close).
26
+ *
27
+ * @example
28
+ * ```js
29
+ * document.body.dispatchEvent(new CustomEvent('toggleheadermenu', { detail: true }));
30
+ * ```
26
31
  */
27
32
  handleToggleMenu(event) {
28
- this.isMenuOpen = event.detail; // Set isMenuOpen based on the event payload
33
+ this.isMenuOpen = !!event.detail;
29
34
  }
30
35
  /** Opens the menu */
31
36
  openMenu() {
@@ -89,15 +94,23 @@ export class EdsFullscreenMenu {
89
94
  "type": "string",
90
95
  "mutable": false,
91
96
  "complexType": {
92
- "original": "string | { label: string; url: string; icon?: string; external?: boolean }[]",
93
- "resolved": "string | { label: string; url: string; icon?: string; external?: boolean; }[]",
94
- "references": {}
97
+ "original": "string | LinkItem[]",
98
+ "resolved": "LinkItem[] | string",
99
+ "references": {
100
+ "LinkItem": {
101
+ "location": "global",
102
+ "id": "global::LinkItem"
103
+ }
104
+ }
95
105
  },
96
106
  "required": false,
97
107
  "optional": false,
98
108
  "docs": {
99
- "tags": [],
100
- "text": "JSON string representing the links for primary navigation.\nEach link should include `label`, `url`, and optionally an `icon`."
109
+ "tags": [{
110
+ "name": "example",
111
+ "text": "links='[{\"label\":\"Home\",\"url\":\"/\"},{\"label\":\"Docs\",\"url\":\"/docs\",\"icon\":\"book\"}]'"
112
+ }],
113
+ "text": "Primary navigation links.\nAccepts a JSON string or array of objects `{ label, url, icon?, external? }`."
101
114
  },
102
115
  "attribute": "links",
103
116
  "reflect": false
@@ -113,8 +126,14 @@ export class EdsFullscreenMenu {
113
126
  "required": false,
114
127
  "optional": false,
115
128
  "docs": {
116
- "tags": [],
117
- "text": "JSON string representing the extra menu links a user wants for smaill screens navigation.\nEach link should include `label`, `url`."
129
+ "tags": [{
130
+ "name": "example",
131
+ "text": "menu-links='[{\"label\":\"Help\",\"url\":\"/help\"},{\"label\":\"Contact\",\"url\":\"/contact\"}]'"
132
+ }, {
133
+ "name": "attr",
134
+ "text": "menu-links"
135
+ }],
136
+ "text": "Secondary navigation links (extra menu items for small screens).\nAccepts a JSON string or array of objects `{ label, url }`."
118
137
  },
119
138
  "attribute": "menu-links",
120
139
  "reflect": false
@@ -130,8 +149,14 @@ export class EdsFullscreenMenu {
130
149
  "required": false,
131
150
  "optional": false,
132
151
  "docs": {
133
- "tags": [],
134
- "text": ""
152
+ "tags": [{
153
+ "name": "default",
154
+ "text": "\"/\""
155
+ }, {
156
+ "name": "attr",
157
+ "text": "home-url"
158
+ }],
159
+ "text": "URL for the logo link in the header."
135
160
  },
136
161
  "attribute": "home-url",
137
162
  "reflect": false,
@@ -148,8 +173,14 @@ export class EdsFullscreenMenu {
148
173
  "required": false,
149
174
  "optional": false,
150
175
  "docs": {
151
- "tags": [],
152
- "text": ""
176
+ "tags": [{
177
+ "name": "default",
178
+ "text": "false"
179
+ }, {
180
+ "name": "attr",
181
+ "text": "inverse-header"
182
+ }],
183
+ "text": "When true, uses an inverse (dark) header background."
153
184
  },
154
185
  "attribute": "inverse-header",
155
186
  "reflect": false,
@@ -170,8 +201,11 @@ export class EdsFullscreenMenu {
170
201
  "cancelable": true,
171
202
  "composed": true,
172
203
  "docs": {
173
- "tags": [],
174
- "text": "Event to signal menu open/close actions"
204
+ "tags": [{
205
+ "name": "event",
206
+ "text": "menuClose"
207
+ }],
208
+ "text": "Emitted when the menu is closed (via UI or resize)."
175
209
  },
176
210
  "complexType": {
177
211
  "original": "void",
@@ -0,0 +1,222 @@
1
+ :host {
2
+ display: block;
3
+ width: 100%;
4
+ }
5
+
6
+ p {
7
+ margin: 0;
8
+ }
9
+
10
+ ol,
11
+ ul,
12
+ menu {
13
+ list-style: none;
14
+ margin: 0;
15
+ padding: 0;
16
+ }
17
+
18
+ .search-wrapper {
19
+ position: relative;
20
+ width: 100%;
21
+ }
22
+
23
+ .search-dropdown {
24
+ position: absolute;
25
+ top: calc(100% + 8px);
26
+ left: 0;
27
+ right: 0;
28
+ background: white;
29
+ border: 1px solid #e0e0e0;
30
+ border-radius: 8px;
31
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
32
+ max-height: 500px;
33
+ overflow: hidden;
34
+ z-index: 9999;
35
+ display: flex;
36
+ flex-direction: column;
37
+ }
38
+
39
+ /* States */
40
+ .dropdown-state {
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: center;
44
+ gap: 8px;
45
+ padding: 24px;
46
+ color: #616161;
47
+ font-size: 14px;
48
+ }
49
+
50
+ /* Results List */
51
+ .dropdown-results {
52
+ list-style: none;
53
+ margin: 0;
54
+ overflow-y: auto;
55
+ overflow-x: hidden;
56
+ max-height: 440px;
57
+ }
58
+
59
+ .result-item {
60
+ padding: 10px 14px;
61
+ cursor: pointer;
62
+ transition: background-color 0.15s ease;
63
+ border-left: 3px solid transparent;
64
+ overflow: hidden;
65
+ word-wrap: break-word;
66
+ word-break: break-word;
67
+ }
68
+
69
+ .result-item:hover,
70
+ .result-item--selected {
71
+ background-color: var(--grey-200);
72
+ border-left-color: var(--green-600);
73
+ }
74
+
75
+ .result-header {
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: space-between;
79
+ }
80
+
81
+ .result-snippet {
82
+ font-size: 13px;
83
+ color: #616161;
84
+ line-height: 1.4;
85
+ margin: 0;
86
+ overflow: hidden;
87
+ display: -webkit-box;
88
+ -webkit-line-clamp: 2;
89
+ -webkit-box-orient: vertical;
90
+ }
91
+
92
+ /* Footer */
93
+ .dropdown-footer {
94
+ border-top: 1px solid #e0e0e0;
95
+ padding: 8px 16px;
96
+ background: #fafafa;
97
+ flex-shrink: 0;
98
+ }
99
+
100
+ .footer-hint {
101
+ font-size: 11px;
102
+ color: #757575;
103
+ display: flex;
104
+ align-items: center;
105
+ gap: 4px;
106
+ flex-wrap: wrap;
107
+ }
108
+
109
+ kbd {
110
+ display: inline-block;
111
+ padding: 2px 5px;
112
+ font-size: 10px;
113
+ font-family: monospace;
114
+ line-height: 1;
115
+ color: #424242;
116
+ background-color: #f5f5f5;
117
+ border: 1px solid #bdbdbd;
118
+ border-radius: 3px;
119
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
120
+ }
121
+
122
+ /* Scrollbar */
123
+ .dropdown-results::-webkit-scrollbar {
124
+ width: 8px;
125
+ }
126
+
127
+ .dropdown-results::-webkit-scrollbar-track {
128
+ background: #f5f5f5;
129
+ }
130
+
131
+ .dropdown-results::-webkit-scrollbar-thumb {
132
+ background: #bdbdbd;
133
+ border-radius: 4px;
134
+ }
135
+
136
+ .dropdown-results::-webkit-scrollbar-thumb:hover {
137
+ background: #9e9e9e;
138
+ }
139
+
140
+ .flex {
141
+ display: flex;
142
+ }
143
+
144
+ .inline-flex {
145
+ display: inline-flex;
146
+ }
147
+
148
+ .text-center {
149
+ text-align: center;
150
+ }
151
+
152
+ .justify-center {
153
+ justify-content: center;
154
+ }
155
+
156
+ .justify-between {
157
+ justify-content: space-between;
158
+ }
159
+
160
+ .text-error {
161
+ color: var(--red-700);
162
+ }
163
+
164
+ .text-lighter {
165
+ color: var(--grey-600);
166
+ }
167
+
168
+ .text-lightest {
169
+ color: var(--grey-500);
170
+ }
171
+
172
+ .ml-4 {
173
+ margin-left: 0.25rem;
174
+ }
175
+
176
+ .ml-8 {
177
+ margin-left: 0.5rem;
178
+ }
179
+
180
+ .ml-16 {
181
+ margin-left: 1rem;
182
+ }
183
+
184
+ .p-16 {
185
+ padding: 1rem;
186
+ }
187
+
188
+ .p-64 {
189
+ padding: 4rem;
190
+ }
191
+
192
+ .f-body-02 {
193
+ font-family: var(--f-body-02-fontFamily);
194
+ font-weight: var(--f-body-02-fontWeight);
195
+ font-size: var(--f-body-02-fontSize);
196
+ line-height: var(--f-body-02-lineHeight);
197
+ letter-spacing: var(--f-body-02-letterSpacing);
198
+ }
199
+
200
+ .f-ui-03 {
201
+ font-family: var(--f-ui-03-fontFamily);
202
+ font-weight: var(--f-ui-03-fontWeight);
203
+ font-size: var(--f-ui-03-fontSize);
204
+ line-height: var(--f-ui-03-lineHeight);
205
+ letter-spacing: var(--f-ui-03-letterSpacing);
206
+ }
207
+
208
+ .f-ui-03-light {
209
+ font-family: var(--f-ui-03-light-fontFamily);
210
+ font-weight: var(--f-ui-03-light-fontWeight);
211
+ font-size: var(--f-ui-03-light-fontSize);
212
+ line-height: var(--f-ui-03-light-lineHeight);
213
+ letter-spacing: var(--f-ui-03-light-letterSpacing);
214
+ }
215
+
216
+ .f-ui-04 {
217
+ font-family: var(--f-ui-04-fontFamily);
218
+ font-weight: var(--f-ui-04-fontWeight);
219
+ font-size: var(--f-ui-04-fontSize);
220
+ line-height: var(--f-ui-04-lineHeight);
221
+ letter-spacing: var(--f-ui-04-letterSpacing);
222
+ }