@ebrains/components 2.0.0 → 2.1.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 (603) hide show
  1. package/dist/cjs/clone-846acfdd.js +5 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components-section.cjs.entry.js +2 -2
  4. package/dist/cjs/components.cjs.js +2 -2
  5. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  6. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  7. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  8. package/dist/cjs/edit-ff5b84d8.js +5 -0
  9. package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-accordion_33.cjs.entry.js} +3467 -157
  10. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  11. package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
  12. package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  14. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
  16. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-footer.cjs.entry.js +9 -3
  20. package/dist/cjs/eds-frame.cjs.entry.js +2 -2
  21. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-clone.cjs.entry.js +18 -0
  33. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  35. package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-edit.cjs.entry.js +3 -3
  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 +18 -0
  64. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-modal.cjs.entry.js +3 -3
  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 +2 -2
  70. package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
  71. package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
  72. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  73. package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
  74. package/dist/cjs/eds-tooltip.cjs.entry.js +2 -2
  75. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  76. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  77. package/dist/cjs/{index-88c8039f.js → index-0249a32e.js} +15 -28
  78. package/dist/cjs/loader.cjs.js +2 -2
  79. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  80. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  81. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  82. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  83. package/dist/cjs/svg-repository.cjs.entry.js +8 -4
  84. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  85. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  86. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  87. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  88. package/dist/cjs/view-80d5c6c8.js +5 -0
  89. package/dist/collection/collection-manifest.json +3 -0
  90. package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
  91. package/dist/collection/components/eds-alert/eds-alert.js +30 -3
  92. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  93. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  94. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  95. package/dist/collection/components/eds-button/eds-button.css +4 -0
  96. package/dist/collection/components/eds-button/eds-button.js +19 -8
  97. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  98. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  99. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  100. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  101. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  102. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  103. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  104. package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
  105. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  106. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  107. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  108. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +36 -0
  114. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  127. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  128. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  129. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  130. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  131. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.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 +1 -1
  137. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  138. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  139. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  140. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +36 -0
  141. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  142. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  143. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  144. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  145. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  146. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  147. package/dist/collection/components/eds-img/eds-img.js +2 -2
  148. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  149. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  150. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  151. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  152. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  153. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  154. package/dist/collection/components/eds-input-field/eds-input-field.js +3 -2
  155. package/dist/collection/components/eds-link/eds-link.js +27 -7
  156. package/dist/collection/components/eds-link/eds-link.stories.js +3 -1
  157. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  158. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  159. package/dist/collection/components/eds-nps/eds-npm.stories.js +36 -0
  160. package/dist/collection/components/eds-nps/eds-nps.css +73 -0
  161. package/dist/collection/components/eds-nps/eds-nps.js +163 -0
  162. package/dist/collection/components/eds-pagination/eds-pagination.css +4 -0
  163. package/dist/collection/components/eds-pagination/eds-pagination.js +130 -50
  164. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  165. package/dist/collection/components/eds-rating/eds-rating.js +25 -3
  166. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  167. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  168. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  169. package/dist/collection/components/eds-switch/eds-switch.css +15 -5
  170. package/dist/collection/components/eds-switch/eds-switch.js +26 -4
  171. package/dist/collection/components/eds-table/eds-table.js +38 -37
  172. package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
  173. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  174. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  175. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  176. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  177. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  178. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  179. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  180. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  181. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  182. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  183. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  184. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  185. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  186. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  187. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  188. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  189. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  190. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  191. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  192. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  193. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  194. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  195. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  196. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  197. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  198. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  199. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  200. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  201. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  202. package/dist/collection/shared-ui/eds-footer/eds-footer.js +8 -2
  203. package/dist/collection/shared-ui/eds-form/eds-form.js +26 -4
  204. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +1 -1
  205. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  206. package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
  207. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  208. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +26 -5
  209. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +89 -31
  210. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  211. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  212. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  213. package/dist/collection/utils/eds-form/formValidators.js +33 -0
  214. package/dist/components/clone.js +3 -0
  215. package/dist/components/components-section.js +1 -1
  216. package/dist/components/components.css +7 -9
  217. package/dist/components/components.esm.js +1 -1
  218. package/dist/components/correct-use-of-colors.js +1 -1
  219. package/dist/components/docs-palettes.js +1 -1
  220. package/dist/components/docs-tokens.js +1 -1
  221. package/dist/components/edit.js +1 -1
  222. package/dist/components/eds-accordion2.js +1 -1
  223. package/dist/components/eds-alert2.js +21 -5
  224. package/dist/components/eds-app-root.js +1 -1
  225. package/dist/components/eds-avatar2.js +1 -1
  226. package/dist/components/eds-block-break2.js +1 -1
  227. package/dist/components/eds-breadcrumb.js +1 -1
  228. package/dist/components/eds-button2.js +21 -10
  229. package/dist/components/eds-card-desc2.js +1 -1
  230. package/dist/components/eds-card-project.js +1 -1
  231. package/dist/components/eds-card-tags.js +1 -1
  232. package/dist/components/eds-card-title2.js +1 -1
  233. package/dist/components/eds-card-tool.js +1 -1
  234. package/dist/components/eds-code-block2.js +1 -1
  235. package/dist/components/eds-cookies-preference.js +1 -1
  236. package/dist/components/eds-dropdown2.js +2 -2
  237. package/dist/components/eds-feedback.js +1 -1
  238. package/dist/components/eds-footer2.js +8 -2
  239. package/dist/components/eds-form.js +80 -22
  240. package/dist/components/eds-frame.js +1 -1
  241. package/dist/components/eds-gauge.js +1 -1
  242. package/dist/components/eds-header.js +1 -1
  243. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  244. package/dist/components/eds-icon-arrow-right.js +1 -1
  245. package/dist/components/eds-icon-bin.js +1 -1
  246. package/dist/components/eds-icon-bluesky.js +1 -1
  247. package/dist/components/eds-icon-bookmark.js +1 -1
  248. package/dist/components/eds-icon-chevron-down.js +1 -1
  249. package/dist/components/eds-icon-chevron-left.js +1 -1
  250. package/dist/components/eds-icon-chevron-right.js +1 -1
  251. package/dist/components/eds-icon-chevron-up.js +1 -1
  252. package/dist/components/eds-icon-clone.d.ts +11 -0
  253. package/dist/components/eds-icon-clone.js +33 -0
  254. package/dist/components/eds-icon-close.js +1 -1
  255. package/dist/components/eds-icon-copy.js +1 -1
  256. package/dist/components/eds-icon-draft.js +1 -1
  257. package/dist/components/eds-icon-edit.js +1 -1
  258. package/dist/components/eds-icon-eu.js +1 -1
  259. package/dist/components/eds-icon-external.js +1 -1
  260. package/dist/components/eds-icon-facebook.js +1 -1
  261. package/dist/components/eds-icon-gitlab.js +1 -1
  262. package/dist/components/eds-icon-linkedin.js +1 -1
  263. package/dist/components/eds-icon-loader.js +1 -1
  264. package/dist/components/eds-icon-mastodon.js +1 -1
  265. package/dist/components/eds-icon-menu.js +1 -1
  266. package/dist/components/eds-icon-minus.js +1 -1
  267. package/dist/components/eds-icon-more.js +1 -1
  268. package/dist/components/eds-icon-paper.js +1 -1
  269. package/dist/components/eds-icon-plus.js +1 -1
  270. package/dist/components/eds-icon-portal.js +1 -1
  271. package/dist/components/eds-icon-private.js +1 -1
  272. package/dist/components/eds-icon-public.js +1 -1
  273. package/dist/components/eds-icon-search.js +1 -1
  274. package/dist/components/eds-icon-star.js +1 -1
  275. package/dist/components/eds-icon-start.js +1 -1
  276. package/dist/components/eds-icon-success.js +1 -1
  277. package/dist/components/eds-icon-thumbs-down.js +1 -1
  278. package/dist/components/eds-icon-thumbs-up.js +1 -1
  279. package/dist/components/eds-icon-tutorial.js +1 -1
  280. package/dist/components/eds-icon-twitter.js +1 -1
  281. package/dist/components/eds-icon-unknown.js +1 -1
  282. package/dist/components/eds-icon-updown.js +1 -1
  283. package/dist/components/eds-icon-user.js +1 -1
  284. package/dist/components/eds-icon-view.d.ts +11 -0
  285. package/dist/components/eds-icon-view.js +33 -0
  286. package/dist/components/eds-icon-youtube.js +1 -1
  287. package/dist/components/eds-img2.js +2 -2
  288. package/dist/components/eds-input-field2.js +4 -3
  289. package/dist/components/eds-input-footer2.js +1 -1
  290. package/dist/components/eds-input-label2.js +1 -1
  291. package/dist/components/eds-input-range2.js +1 -1
  292. package/dist/components/eds-input-search2.js +1 -1
  293. package/dist/components/eds-input-select2.js +2 -2
  294. package/dist/components/eds-input2.js +2 -2
  295. package/dist/components/eds-link2.js +27 -7
  296. package/dist/components/eds-logo2.js +1 -1
  297. package/dist/components/eds-modal.js +2 -2
  298. package/dist/components/eds-nps.d.ts +11 -0
  299. package/dist/components/eds-nps.js +6 -0
  300. package/dist/components/eds-nps2.js +120 -0
  301. package/dist/components/eds-pagination2.js +119 -52
  302. package/dist/components/eds-progress-bar2.js +1 -1
  303. package/dist/components/eds-rating2.js +25 -3
  304. package/dist/components/eds-section-core2.js +1 -1
  305. package/dist/components/eds-section-heading2.js +2 -2
  306. package/dist/components/eds-social-networks2.js +1 -1
  307. package/dist/components/eds-spinner2.js +1 -1
  308. package/dist/components/eds-switch.js +27 -5
  309. package/dist/components/eds-table2.js +45 -20
  310. package/dist/components/eds-tabs.js +90 -32
  311. package/dist/components/eds-tag2.js +1 -1
  312. package/dist/components/eds-timeline.js +1 -1
  313. package/dist/components/eds-toast-manager.js +1 -1
  314. package/dist/components/eds-tooltip.js +1 -1
  315. package/dist/components/eds-trl.js +8 -2
  316. package/dist/components/eds-user.js +3 -9
  317. package/dist/components/incorrect-use-of-colors.js +9 -3
  318. package/dist/components/logo-space.js +8 -2
  319. package/dist/components/logo-variations-horizontal2.js +1 -1
  320. package/dist/components/logo-variations-tabs.js +1 -1
  321. package/dist/components/logo-variations-vertical2.js +1 -1
  322. package/dist/components/logo-wrong-usage.js +1 -1
  323. package/dist/components/p-05654483.entry.js +1 -0
  324. package/dist/components/{p-9e53eca3.entry.js → p-09079c5c.entry.js} +1 -1
  325. package/dist/components/p-10997947.entry.js +1 -0
  326. package/dist/components/p-19e69c03.entry.js +1 -0
  327. package/dist/components/p-1ab1ea29.entry.js +1 -0
  328. package/dist/components/p-1bcf743d.entry.js +1 -0
  329. package/dist/components/{p-9d18d7b1.entry.js → p-1d18106d.entry.js} +1 -1
  330. package/dist/components/{p-adbd0d7b.entry.js → p-265150a1.entry.js} +1 -1
  331. package/dist/components/p-27c4a06e.js +1 -0
  332. package/dist/components/{p-e35e156d.entry.js → p-2e0c3fc4.entry.js} +1 -1
  333. package/dist/components/{p-6d3b5818.entry.js → p-2ef4dd11.entry.js} +1 -1
  334. package/dist/components/p-3360e1e2.entry.js +1 -0
  335. package/dist/components/{p-93e6ba0f.entry.js → p-38bc21e9.entry.js} +1 -1
  336. package/dist/components/p-3b29e0fd.entry.js +1 -0
  337. package/dist/components/p-42457a0f.entry.js +1 -0
  338. package/dist/components/p-4a6a72db.entry.js +1 -0
  339. package/dist/components/p-4b33909d.entry.js +1 -0
  340. package/dist/components/p-4bf4bc93.entry.js +1 -0
  341. package/dist/components/{p-773a119a.entry.js → p-4c84fcf4.entry.js} +1 -1
  342. package/dist/components/p-4eb2cf7f.js +1 -0
  343. package/dist/components/p-5367bb59.entry.js +1 -0
  344. package/dist/components/p-547a53d6.entry.js +1 -0
  345. package/dist/components/p-560fc3a4.entry.js +1 -0
  346. package/dist/components/p-5a58f1c1.entry.js +1 -0
  347. package/dist/components/p-5b55f951.entry.js +1 -0
  348. package/dist/components/p-5ba49cf2.entry.js +1 -0
  349. package/dist/components/p-5dd85979.entry.js +1 -0
  350. package/dist/components/{p-356846cd.entry.js → p-5f348b0e.entry.js} +1 -1
  351. package/dist/components/p-634b6ca2.entry.js +1 -0
  352. package/dist/components/{p-b073d78f.entry.js → p-64b7a6fc.entry.js} +1 -1
  353. package/dist/components/{p-02d94d2d.entry.js → p-6614881d.entry.js} +1 -1
  354. package/dist/components/{p-2839899a.entry.js → p-67ec46b4.entry.js} +1 -1
  355. package/dist/components/p-6b988c76.entry.js +1 -0
  356. package/dist/components/p-6cd6ff0c.entry.js +1 -0
  357. package/dist/components/{p-f6ca2aa6.entry.js → p-706a106c.entry.js} +1 -1
  358. package/dist/components/p-71ee4af2.entry.js +1 -0
  359. package/dist/components/{p-794f11e7.entry.js → p-743f9f8f.entry.js} +1 -1
  360. package/dist/components/p-789f54cb.entry.js +1 -0
  361. package/dist/components/{p-8c0b0121.entry.js → p-79afd8aa.entry.js} +1 -1
  362. package/dist/components/{p-b3a40663.entry.js → p-7a3f2576.entry.js} +1 -1
  363. package/dist/components/p-7a5623b5.entry.js +1 -0
  364. package/dist/components/p-7ca6db64.entry.js +1 -0
  365. package/dist/components/p-7fa46b01.entry.js +1 -0
  366. package/dist/components/{p-3e183368.entry.js → p-8627afc0.entry.js} +1 -1
  367. package/dist/components/p-86eff0cb.entry.js +1 -0
  368. package/dist/components/p-89048f87.entry.js +1 -0
  369. package/dist/components/p-8cf98230.entry.js +1 -0
  370. package/dist/components/{p-8dee879d.entry.js → p-8d363a3c.entry.js} +1 -1
  371. package/dist/components/p-9261d27c.entry.js +1 -0
  372. package/dist/components/p-97323c46.entry.js +1 -0
  373. package/dist/components/p-9b90296c.entry.js +1 -0
  374. package/dist/components/{p-1f5c19b9.entry.js → p-9c1c5e8d.entry.js} +1 -1
  375. package/dist/components/p-9cb14b1f.entry.js +1 -0
  376. package/dist/components/p-9f0a34b4.entry.js +1 -0
  377. package/dist/components/p-a8ca8346.entry.js +1 -0
  378. package/dist/components/{p-43468b0f.entry.js → p-ab3b0a53.entry.js} +1 -1
  379. package/dist/components/p-b0d38b78.entry.js +1 -0
  380. package/dist/components/{p-66f4cdd9.entry.js → p-b31babda.entry.js} +1 -1
  381. package/dist/components/p-b6ee4250.entry.js +1 -0
  382. package/dist/components/{p-0687532c.entry.js → p-b88a2267.entry.js} +1 -1
  383. package/dist/components/{p-024789cc.entry.js → p-b9a1aba3.entry.js} +1 -1
  384. package/dist/components/p-b9fdcb1b.entry.js +1 -0
  385. package/dist/components/{p-73c74835.entry.js → p-ba9f41de.entry.js} +1 -1
  386. package/dist/components/p-beacaa4f.entry.js +1 -0
  387. package/dist/components/p-bfa23535.entry.js +1 -0
  388. package/dist/components/p-c4ac0528.entry.js +1 -0
  389. package/dist/components/p-cb114bf4.entry.js +1 -0
  390. package/dist/components/p-cd05a97b.entry.js +1 -0
  391. package/dist/components/{p-3a331c68.entry.js → p-cd787744.entry.js} +1 -1
  392. package/dist/components/p-cdc1c8e8.entry.js +1 -0
  393. package/dist/components/{p-4e473b4e.entry.js → p-d1927da7.entry.js} +1 -1
  394. package/dist/components/{p-564431ad.entry.js → p-d1d1943b.entry.js} +1 -1
  395. package/dist/components/{p-543f2347.entry.js → p-d2e485a1.entry.js} +1 -1
  396. package/dist/components/{p-e2e7250a.entry.js → p-d95d7353.entry.js} +1 -1
  397. package/dist/components/{p-76905315.entry.js → p-e0ada7e0.entry.js} +1 -1
  398. package/dist/components/{p-70e8e66f.entry.js → p-e210ddbb.entry.js} +1 -1
  399. package/dist/components/p-e5892379.entry.js +1 -0
  400. package/dist/components/p-e8374410.entry.js +1 -0
  401. package/dist/components/p-e90da4ba.entry.js +1 -0
  402. package/dist/components/p-ec706eed.entry.js +1 -0
  403. package/dist/components/{p-28ae3f3a.js → p-efbc374c.js} +2 -2
  404. package/dist/components/p-f2abe4d8.js +1 -0
  405. package/dist/components/p-f32963ff.entry.js +9 -0
  406. package/dist/components/p-f40dd50d.entry.js +1 -0
  407. package/dist/components/p-f6012c17.entry.js +1 -0
  408. package/dist/components/p-fcba31fa.entry.js +1 -0
  409. package/dist/components/primary.js +1 -1
  410. package/dist/components/primary2.js +1 -1
  411. package/dist/components/secondary.js +1 -1
  412. package/dist/components/secondary2.js +7 -7
  413. package/dist/components/support.js +1 -1
  414. package/dist/components/support2.js +3 -3
  415. package/dist/components/svg-repository.js +13 -3
  416. package/dist/components/token-list2.js +1 -1
  417. package/dist/components/token-radii2.js +1 -1
  418. package/dist/components/token-ratios.js +1 -1
  419. package/dist/components/token-shadows2.js +1 -1
  420. package/dist/components/token-spacing.js +1 -1
  421. package/dist/components/token-typography.js +1 -1
  422. package/dist/components/view.js +3 -0
  423. package/dist/esm/clone-dab56639.js +3 -0
  424. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  425. package/dist/esm/components-section.entry.js +2 -2
  426. package/dist/esm/components.js +3 -3
  427. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  428. package/dist/esm/docs-palettes.entry.js +2 -2
  429. package/dist/esm/docs-tokens.entry.js +2 -2
  430. package/dist/esm/edit-3893a517.js +3 -0
  431. package/dist/esm/{eds-avatar_26.entry.js → eds-accordion_33.entry.js} +3462 -159
  432. package/dist/esm/eds-app-root.entry.js +2 -2
  433. package/dist/esm/eds-card-desc_2.entry.js +3 -3
  434. package/dist/esm/eds-card-generic.entry.js +1 -1
  435. package/dist/esm/eds-card-project.entry.js +2 -2
  436. package/dist/esm/eds-card-section.entry.js +1 -1
  437. package/dist/esm/eds-card-tags.entry.js +2 -2
  438. package/dist/esm/eds-card-tool.entry.js +2 -2
  439. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  440. package/dist/esm/eds-feedback.entry.js +2 -2
  441. package/dist/esm/eds-footer.entry.js +9 -3
  442. package/dist/esm/eds-frame.entry.js +2 -2
  443. package/dist/esm/eds-fullscreen-menu.entry.js +1 -1
  444. package/dist/esm/eds-gauge.entry.js +2 -2
  445. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  446. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  447. package/dist/esm/eds-icon-bin.entry.js +2 -2
  448. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  449. package/dist/esm/eds-icon-bookmark.entry.js +2 -2
  450. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  451. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  452. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  453. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  454. package/dist/esm/eds-icon-clone.entry.js +14 -0
  455. package/dist/esm/eds-icon-close.entry.js +2 -2
  456. package/dist/esm/eds-icon-copy.entry.js +2 -2
  457. package/dist/esm/eds-icon-draft.entry.js +2 -2
  458. package/dist/esm/eds-icon-edit.entry.js +3 -3
  459. package/dist/esm/eds-icon-eu.entry.js +2 -2
  460. package/dist/esm/eds-icon-external.entry.js +2 -2
  461. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  462. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  463. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  464. package/dist/esm/eds-icon-loader.entry.js +2 -2
  465. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  466. package/dist/esm/eds-icon-menu.entry.js +2 -2
  467. package/dist/esm/eds-icon-minus.entry.js +2 -2
  468. package/dist/esm/eds-icon-more.entry.js +2 -2
  469. package/dist/esm/eds-icon-paper.entry.js +2 -2
  470. package/dist/esm/eds-icon-plus.entry.js +2 -2
  471. package/dist/esm/eds-icon-portal.entry.js +2 -2
  472. package/dist/esm/eds-icon-private.entry.js +2 -2
  473. package/dist/esm/eds-icon-public.entry.js +2 -2
  474. package/dist/esm/eds-icon-search.entry.js +2 -2
  475. package/dist/esm/eds-icon-star.entry.js +2 -2
  476. package/dist/esm/eds-icon-start.entry.js +2 -2
  477. package/dist/esm/eds-icon-success.entry.js +2 -2
  478. package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
  479. package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
  480. package/dist/esm/eds-icon-tutorial.entry.js +2 -2
  481. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  482. package/dist/esm/eds-icon-unknown.entry.js +2 -2
  483. package/dist/esm/eds-icon-updown.entry.js +2 -2
  484. package/dist/esm/eds-icon-user.entry.js +2 -2
  485. package/dist/esm/eds-icon-view.entry.js +14 -0
  486. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  487. package/dist/esm/eds-modal.entry.js +3 -3
  488. package/dist/esm/eds-pie.entry.js +1 -1
  489. package/dist/esm/eds-progress-bar.entry.js +2 -2
  490. package/dist/esm/eds-section-core_2.entry.js +4 -4
  491. package/dist/esm/eds-social-networks.entry.js +2 -2
  492. package/dist/esm/eds-spinner.entry.js +2 -2
  493. package/dist/esm/eds-splash-screen.entry.js +1 -1
  494. package/dist/esm/eds-timeline.entry.js +2 -2
  495. package/dist/esm/eds-toast-manager.entry.js +2 -2
  496. package/dist/esm/eds-tooltip.entry.js +2 -2
  497. package/dist/esm/eds-trl.entry.js +2 -2
  498. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  499. package/dist/esm/{index-fdb33359.js → index-e84b871c.js} +15 -28
  500. package/dist/esm/loader.js +3 -3
  501. package/dist/esm/logo-space.entry.js +2 -2
  502. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  503. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  504. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  505. package/dist/esm/svg-repository.entry.js +8 -4
  506. package/dist/esm/token-list_3.entry.js +4 -4
  507. package/dist/esm/token-ratios.entry.js +2 -2
  508. package/dist/esm/token-spacing.entry.js +2 -2
  509. package/dist/esm/token-typography.entry.js +2 -2
  510. package/dist/esm/view-e900f2d4.js +3 -0
  511. package/dist/hydrate/index.js +690 -257
  512. package/dist/hydrate/index.mjs +690 -257
  513. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +3 -1
  514. package/dist/types/components/eds-alert/eds-alert.d.ts +6 -0
  515. package/dist/types/components/eds-button/eds-button.d.ts +1 -0
  516. package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +10 -0
  517. package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +10 -0
  518. package/dist/types/components/eds-link/eds-link.d.ts +1 -0
  519. package/dist/types/components/eds-nps/eds-npm.stories.d.ts +28 -0
  520. package/dist/types/components/eds-nps/eds-nps.d.ts +20 -0
  521. package/dist/types/components/eds-pagination/eds-pagination.d.ts +23 -2
  522. package/dist/types/components/eds-rating/eds-rating.d.ts +3 -1
  523. package/dist/types/components/eds-switch/eds-switch.d.ts +1 -0
  524. package/dist/types/components/eds-table/eds-table.d.ts +3 -4
  525. package/dist/types/components/eds-table/eds-table.stories.d.ts +7 -2
  526. package/dist/types/components.d.ts +133 -12
  527. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
  528. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +7 -9
  529. package/dist/types/utils/eds-form/formValidators.d.ts +1 -0
  530. package/package.json +1 -1
  531. package/dist/cjs/edit-5714c144.js +0 -5
  532. package/dist/cjs/eds-accordion.cjs.entry.js +0 -87
  533. package/dist/cjs/eds-alert.cjs.entry.js +0 -104
  534. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -145
  535. package/dist/cjs/eds-code-block.cjs.entry.js +0 -2489
  536. package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -125
  537. package/dist/cjs/eds-switch.cjs.entry.js +0 -46
  538. package/dist/components/p-023bc47c.entry.js +0 -1
  539. package/dist/components/p-02df910c.entry.js +0 -1
  540. package/dist/components/p-0be79e08.entry.js +0 -1
  541. package/dist/components/p-0e74d8b4.entry.js +0 -1
  542. package/dist/components/p-11efb1d1.entry.js +0 -1
  543. package/dist/components/p-1791ce82.entry.js +0 -1
  544. package/dist/components/p-19d586e6.entry.js +0 -1
  545. package/dist/components/p-2679926c.entry.js +0 -1
  546. package/dist/components/p-2d1a7471.entry.js +0 -1
  547. package/dist/components/p-2ff16a39.entry.js +0 -1
  548. package/dist/components/p-32e18e48.entry.js +0 -1
  549. package/dist/components/p-38e99d4b.entry.js +0 -1
  550. package/dist/components/p-4088ae0e.entry.js +0 -1
  551. package/dist/components/p-4277fb1a.entry.js +0 -1
  552. package/dist/components/p-42a73db4.entry.js +0 -1
  553. package/dist/components/p-44055e68.entry.js +0 -1
  554. package/dist/components/p-4a5d0dcd.entry.js +0 -1
  555. package/dist/components/p-4a7412ec.entry.js +0 -1
  556. package/dist/components/p-4b88d84c.entry.js +0 -1
  557. package/dist/components/p-50f43dfd.entry.js +0 -1
  558. package/dist/components/p-562afa88.entry.js +0 -1
  559. package/dist/components/p-5aa4065a.entry.js +0 -1
  560. package/dist/components/p-5ae1c931.entry.js +0 -1
  561. package/dist/components/p-634258e6.entry.js +0 -1
  562. package/dist/components/p-68f45098.entry.js +0 -1
  563. package/dist/components/p-73a44c48.entry.js +0 -1
  564. package/dist/components/p-7dbe791f.entry.js +0 -1
  565. package/dist/components/p-7ec52188.entry.js +0 -1
  566. package/dist/components/p-7fc84bb2.js +0 -1
  567. package/dist/components/p-82559816.entry.js +0 -1
  568. package/dist/components/p-85683b18.entry.js +0 -1
  569. package/dist/components/p-8681e5d8.entry.js +0 -1
  570. package/dist/components/p-877d13d9.entry.js +0 -1
  571. package/dist/components/p-911b1c0b.entry.js +0 -1
  572. package/dist/components/p-960aa103.entry.js +0 -1
  573. package/dist/components/p-996005b7.entry.js +0 -1
  574. package/dist/components/p-aa5e75b4.entry.js +0 -1
  575. package/dist/components/p-ae9393b6.entry.js +0 -1
  576. package/dist/components/p-af137162.entry.js +0 -1
  577. package/dist/components/p-b630e51a.entry.js +0 -1
  578. package/dist/components/p-bb9af709.entry.js +0 -1
  579. package/dist/components/p-c2dc3692.entry.js +0 -1
  580. package/dist/components/p-c91b4eec.entry.js +0 -1
  581. package/dist/components/p-caff3355.entry.js +0 -1
  582. package/dist/components/p-ce66ea37.entry.js +0 -1
  583. package/dist/components/p-d4f239d7.entry.js +0 -1
  584. package/dist/components/p-d7251d4d.entry.js +0 -1
  585. package/dist/components/p-deb9bbed.entry.js +0 -1
  586. package/dist/components/p-ed4d9bf5.entry.js +0 -1
  587. package/dist/components/p-ed7696a2.entry.js +0 -1
  588. package/dist/components/p-f2416727.entry.js +0 -1
  589. package/dist/components/p-f28b5da7.entry.js +0 -1
  590. package/dist/components/p-f3839914.entry.js +0 -1
  591. package/dist/components/p-f42b6251.entry.js +0 -1
  592. package/dist/components/p-f7a31196.entry.js +0 -1
  593. package/dist/components/p-f973c83b.entry.js +0 -1
  594. package/dist/components/p-fe167c78.entry.js +0 -9
  595. package/dist/esm/edit-1dc8d11b.js +0 -3
  596. package/dist/esm/eds-accordion.entry.js +0 -83
  597. package/dist/esm/eds-alert.entry.js +0 -100
  598. package/dist/esm/eds-breadcrumb.entry.js +0 -141
  599. package/dist/esm/eds-code-block.entry.js +0 -2485
  600. package/dist/esm/eds-matomo-notice.entry.js +0 -121
  601. package/dist/esm/eds-switch.entry.js +0 -42
  602. /package/dist/collection/shared-ui/eds-toast-manager/{eds-toast-manager.stories.js → eds-toast-manager.st.js} +0 -0
  603. /package/dist/types/shared-ui/eds-toast-manager/{eds-toast-manager.stories.d.ts → eds-toast-manager.st.d.ts} +0 -0
@@ -8,7 +8,7 @@ const EdsIconLoader$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconLoader ext
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '85bcc5308536901f4892e1bba6238be45f7036bf', class: this.class, innerHTML: loader });
11
+ return h("span", { key: '9383784da3e52d22395288f8eba5b6f4ee826aa5', class: this.class, innerHTML: loader });
12
12
  }
13
13
  }, [0, "eds-icon-loader", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMastodon$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMastodon
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'f5c6dcd896a1daa487ef1b05f3854157d9015b67', class: this.class, innerHTML: mastodon });
11
+ return h("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: mastodon });
12
12
  }
13
13
  }, [0, "eds-icon-mastodon", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMenu$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMenu extends
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'c510b51f8d67e1a94a56cd6482cc1af5d4b6b117', class: this.class, innerHTML: menu });
11
+ return h("span", { key: '15fa7c4b7d2dea5740d0926bb1ff6490b23667f8', class: this.class, innerHTML: menu });
12
12
  }
13
13
  }, [0, "eds-icon-menu", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMinus$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMinus exten
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'b6b9e5dd993f9a6b475674cf7d952d68841a1f0c', class: this.class, innerHTML: minus });
11
+ return h("span", { key: '0e8b57b9ae1a2e53ef6f50948c49b9a9218f66cc', class: this.class, innerHTML: minus });
12
12
  }
13
13
  }, [0, "eds-icon-minus", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconMore$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconMore extends
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'aac0251ad6695296eb383d05e4d3fdb953ac2b82', class: this.class, innerHTML: more });
11
+ return h("span", { key: '5f14cbe4b3ca88f7301c1561c092278b31d04326', class: this.class, innerHTML: more });
12
12
  }
13
13
  }, [0, "eds-icon-more", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconPaper$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPaper exten
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '27d2b36f47c4a58e90a4148fbb8568f81eaeb07c', class: this.class, innerHTML: paper });
11
+ return h("span", { key: 'b19c12426db0068934252c6197ba04789d42f5e2', class: this.class, innerHTML: paper });
12
12
  }
13
13
  }, [0, "eds-icon-paper", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconPlus$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPlus extends
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '9c4eca2f6cd5919b07694d8ae209d568da9ee8c2', class: this.class, innerHTML: plus });
11
+ return h("span", { key: '520b8d5a7d45f101ef526432b45e4407446685cd', class: this.class, innerHTML: plus });
12
12
  }
13
13
  }, [0, "eds-icon-plus", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconPortal$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPortal ext
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '7ab9673d6effd4caa728276e2d6927e3a08e2e9a', class: this.class, innerHTML: portal });
11
+ return h("span", { key: 'f9b20e12497e199b7f596f4f457167080e81ccd1', class: this.class, innerHTML: portal });
12
12
  }
13
13
  }, [0, "eds-icon-portal", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconPrivate$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPrivate e
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'abd96f1775b99dc252a2b4783c133bc7ab0e07cc', class: this.class, innerHTML: privat });
11
+ return h("span", { key: 'a342e11087242f9b37365bcbfec2036bd2009c85', class: this.class, innerHTML: privat });
12
12
  }
13
13
  }, [0, "eds-icon-private", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconPublic$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconPublic ext
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'c681e9c3a2e797225a6b4d7c21260cfbcd7b1a07', class: this.class, innerHTML: pub });
11
+ return h("span", { key: 'e53f2ac899326e460b27b91772da9d2bee873fb3', class: this.class, innerHTML: pub });
12
12
  }
13
13
  }, [0, "eds-icon-public", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconSearch$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconSearch ext
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '95fd209db33a21655b248b74933baf775aa6008f', class: this.class, innerHTML: search });
11
+ return h("span", { key: '6da0ae2a33a1680caecbaa6bbe1313329d32ef7e', class: this.class, innerHTML: search });
12
12
  }
13
13
  }, [0, "eds-icon-search", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconStar$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconStar extends
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '4d66d4107547dc9669a155587e5e9f214525c103', class: this.class, innerHTML: star });
11
+ return h("span", { key: '4c4243f9e6c5c02a2d70eda34b28efe1ba7c696b', class: this.class, innerHTML: star });
12
12
  }
13
13
  }, [0, "eds-icon-star", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconStart$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconStart exten
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'd8af71df9336e0a1d8763c5f5eea4f19da127785', class: this.class, innerHTML: start });
11
+ return h("span", { key: 'a788a6ded2b42ad1138be4f74464d4dc08dc485f', class: this.class, innerHTML: start });
12
12
  }
13
13
  }, [0, "eds-icon-start", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconSuccess$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconSuccess e
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'f427b541cef236f90f132b436d3cd617e5a9381c', class: this.class, innerHTML: success });
11
+ return h("span", { key: '68917ac759cd684a6f3f3f67cb174d7291841070', class: this.class, innerHTML: success });
12
12
  }
13
13
  }, [0, "eds-icon-success", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconThumbsDown$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconThumbs
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'b071c30d25352e18241561760669e099a2f22481', class: this.class, innerHTML: thumbsDown });
11
+ return h("span", { key: 'fb0abd584eb41fcdf76479aa2953da2ed6a9f8ed', class: this.class, innerHTML: thumbsDown });
12
12
  }
13
13
  }, [0, "eds-icon-thumbs-down", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconThumbsUp$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconThumbsUp
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'ccb23aecc8c918e8428b06f9599969868f97d0e4', class: this.class, innerHTML: thumbsUp });
11
+ return h("span", { key: '53bc35a16795640e1fc5ac9a5ddd66015b98adb3', class: this.class, innerHTML: thumbsUp });
12
12
  }
13
13
  }, [0, "eds-icon-thumbs-up", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconTutorial$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconTutorial
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '6c73e2842e44f4e921399d2d303818b9c5c4b1a3', class: this.class, innerHTML: tutorial });
11
+ return h("span", { key: 'bbe35e4b8e341eb54820a661c6a6200e83fd0f3f', class: this.class, innerHTML: tutorial });
12
12
  }
13
13
  }, [0, "eds-icon-tutorial", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconTwitter$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconTwitter e
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'db8fea43b7888da43821083ecc706a16c949932e', class: this.class, innerHTML: twitter });
11
+ return h("span", { key: 'de551285a98e6e5340769e9d1422acb2e7bc826f', class: this.class, innerHTML: twitter });
12
12
  }
13
13
  }, [0, "eds-icon-twitter", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconUnknown$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconUnknown e
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'a56cf8519a7969a8a51178a3424e36d4ae7dddbf', class: this.class, innerHTML: unknown });
11
+ return h("span", { key: 'c102d3ac082dab21cb23a322ded78d607ece10f5', class: this.class, innerHTML: unknown });
12
12
  }
13
13
  }, [0, "eds-icon-unknown", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconUpdown$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconUpdown ext
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '3efe71bda81efa13e277ebfae2d6d6f588964ee5', class: this.class, innerHTML: upDonw });
11
+ return h("span", { key: 'b2bf11e364727f13859be3c2ed00931ec3379d9d', class: this.class, innerHTML: upDonw });
12
12
  }
13
13
  }, [0, "eds-icon-updown", {
14
14
  "class": [1]
@@ -8,7 +8,7 @@ const EdsIconUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconUser extends
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'd2ab70229b5200b541a91d32ee0b7ea582a5f79d', class: this.class, innerHTML: user });
11
+ return h("span", { key: '24acd317006255e7a5b29bd70b667c8ca9271f6c', class: this.class, innerHTML: user });
12
12
  }
13
13
  }, [0, "eds-icon-user", {
14
14
  "class": [1]
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EdsIconView extends Components.EdsIconView, HTMLElement {}
4
+ export const EdsIconView: {
5
+ prototype: EdsIconView;
6
+ new (): EdsIconView;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,33 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as view } from './view.js';
3
+
4
+ const EdsIconView$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconView extends HTMLElement {
5
+ constructor() {
6
+ super();
7
+ this.__registerHost();
8
+ this.class = '';
9
+ }
10
+ render() {
11
+ return h("span", { key: '652ea6ae2a82611114e71ed2d2422ad579f7ab54', class: this.class, innerHTML: view });
12
+ }
13
+ }, [0, "eds-icon-view", {
14
+ "class": [1]
15
+ }]);
16
+ function defineCustomElement$1() {
17
+ if (typeof customElements === "undefined") {
18
+ return;
19
+ }
20
+ const components = ["eds-icon-view"];
21
+ components.forEach(tagName => { switch (tagName) {
22
+ case "eds-icon-view":
23
+ if (!customElements.get(tagName)) {
24
+ customElements.define(tagName, EdsIconView$1);
25
+ }
26
+ break;
27
+ } });
28
+ }
29
+
30
+ const EdsIconView = EdsIconView$1;
31
+ const defineCustomElement = defineCustomElement$1;
32
+
33
+ export { EdsIconView, defineCustomElement };
@@ -8,7 +8,7 @@ const EdsIconYoutube$1 = /*@__PURE__*/ proxyCustomElement(class EdsIconYoutube e
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: 'dd1f0043450c0970da5487a4c7c69859d3d97e2f', class: this.class, innerHTML: youtube });
11
+ return h("span", { key: '6f1d0b5e073ef4d754aecb600a8578fc59950496', class: this.class, innerHTML: youtube });
12
12
  }
13
13
  }, [0, "eds-icon-youtube", {
14
14
  "class": [1]
@@ -45,10 +45,10 @@ const EdsImg = /*@__PURE__*/ proxyCustomElement(class EdsImg extends HTMLElement
45
45
  imgOpts['loading'] = 'lazy';
46
46
  imgOpts['decoding'] = 'async';
47
47
  }
48
- return (h("div", { key: 'd40662545cefe458d307c9877c4a8804c4fb7406', class: {
48
+ return (h("div", { key: '605bff5657ca79678517527a9462b31608e5af7a', class: {
49
49
  'items-center justify-center': true,
50
50
  'effect-bg-pattern': this.lazyload && this.showBg
51
- } }, h("picture", { key: '94c28d57611eec83eb7ed03620de4b2449dd665c' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: 'd7b6e56937a19f558abb29bb1da2f04b945970c9', ref: (el) => (this.img = el), class: {
51
+ } }, h("picture", { key: '0d0def26688c1ec7214211d02875160965e2ce48' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: 'c9c307a5fdf25d9792db2a76f4d08fcd27b50401', ref: (el) => (this.img = el), class: {
52
52
  'effect-opacity object-cover object-center': true,
53
53
  'opacity-100': this.loaded,
54
54
  'opacity-0': !this.loaded
@@ -112,7 +112,7 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
112
112
  }
113
113
  render() {
114
114
  const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
115
- return (h("div", { key: 'bf31e95b0fad54062686ae178af0d6b552d04654' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), h("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
115
+ return (h("div", { key: '615165ebb5980d2da414ad4028e053b46358eb4e' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), h("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
116
116
  var _a, _b, _c;
117
117
  const rangeProps = {
118
118
  name: inputOpts.name,
@@ -125,11 +125,12 @@ const EdsInputField = /*@__PURE__*/ proxyCustomElement(class EdsInputField exten
125
125
  const opt = this.parsedOptions;
126
126
  const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
127
127
  return (h("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
128
- })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("div", { key: 'b47668a883a11da148a38a063ecf573e79a6d714', class: "mt-6" }, h("eds-input-footer", { key: '2c25baf0474a573f143b17bcaa19826fdc94dd7f', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
128
+ })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("div", { key: '4ca8edfb4538caab53e89f16008683aea28adfbc', class: "mt-6" }, h("eds-input-footer", { key: '68053a16f607a277a5c806f3c830b24acf3b1f50', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
129
129
  }
130
+ static get delegatesFocus() { return true; }
130
131
  get hostEl() { return this; }
131
132
  static get style() { return EdsInputFieldStyle0; }
132
- }, [1, "eds-input-field", {
133
+ }, [17, "eds-input-field", {
133
134
  "name": [1],
134
135
  "inputId": [1, "input-id"],
135
136
  "placeholder": [1],
@@ -16,7 +16,7 @@ const EdsInputFooter = /*@__PURE__*/ proxyCustomElement(class EdsInputFooter ext
16
16
  this.link = undefined;
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '08cb0dc972b0aee37260b5e606a4b162afa9100b' }, this.error && this.errorMessage && (h("div", { key: '5346af03e591f3ca2338979dc74a0b65fe2f93ba', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '072103ec3061a16992672ee92d20249dc1704e0e', icon: "warning" }), h("p", { key: '19f62274acb91ca32e5f9ee7247b27d5a63a95b7', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: 'e6c97c6dca2c5a7a1e62f56f2d74560861399553', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '528475a848b5fada0acc47dc4aa2e03b0b6e1872', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
19
+ return (h("div", { key: '58bce34f2ec417696ba03d6c8c0c77fa1d900f9a' }, this.error && this.errorMessage && (h("div", { key: 'be14dc0f6e9494c1ee436fd8f822112eab6d2ce2', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: 'aaa2010441b0bfe9445e4b6401115b29606ac507', icon: "warning" }), h("p", { key: '277ac1de538e873c7da9b592e60dfd276738025d', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '4f07c6efe398bb002322a35279e68b237eac860e', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '50d042530985eeafd7334b0bb38fd2c14aed0e3f', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
20
20
  }
21
21
  static get style() { return EdsInputFooterStyle0; }
22
22
  }, [1, "eds-input-footer", {
@@ -14,7 +14,7 @@ const EdsInputLabel = /*@__PURE__*/ proxyCustomElement(class EdsInputLabel exten
14
14
  this.disabled = false;
15
15
  }
16
16
  render() {
17
- return (h("label", { key: 'a5ecc454f7d0398d8bf265fb36ac903af4b15c4a', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'f6b710dcfe91623d048a95853097f963510ebb13' }, h("span", { key: 'e903f319f01b3592ca2ea8bbd5dbf83765942603', "aria-hidden": "true" }, "*"), h("span", { key: '4548229f02d0753855a0b58944e89ff4fe40665a', class: "sr-only" }, "required")))));
17
+ return (h("label", { key: '622cd7e26774448ca86c1168d0a287d7b61d3e29', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'c3162e765af70dd972e3cd0ca360cd3f52003f76' }, h("span", { key: '5bca5243c95399fefff4fa21b6c1477a287a3cb4', "aria-hidden": "true" }, "*"), h("span", { key: 'bc1c229ac387161e4aa314498dbbc77fbab62955', class: "sr-only" }, "required")))));
18
18
  }
19
19
  static get style() { return EdsInputLabelStyle0; }
20
20
  }, [1, "eds-input-label", {
@@ -43,7 +43,7 @@ const EdsInputRange = /*@__PURE__*/ proxyCustomElement(class EdsInputRange exten
43
43
  return this.inputElement;
44
44
  }
45
45
  render() {
46
- return (h("div", { key: 'd17d2e14f9c851c2c4b003ac36bae62240bc16d0', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: 'dccfa98f53c6283a09de624f32cc34aea2fafbfa', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), h("p", { key: '6064aa1f5bfbfc0e925dfec32ee727c5e530226a', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
46
+ return (h("div", { key: '51c9adb300d50eecb48de1547c0a0475692aa97b', class: "relative flex flex-col items-start" }, h("input", { key: '65ac18497d2a4307d7f5161951b87bb38cdad892', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), h("p", { key: '9b717fce31d2340f3b4bc4b5583e6b1e7764314f', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
47
47
  }
48
48
  get el() { return this; }
49
49
  static get watchers() { return {
@@ -64,7 +64,7 @@ const EdsInputSearch = /*@__PURE__*/ proxyCustomElement(class EdsInputSearch ext
64
64
  return this.inputElement;
65
65
  }
66
66
  render() {
67
- return (h("div", { key: '1084e1dad411bccc4b89fb61be91fbdaefedbe16', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'eaca5c71cf018cd95ba6debddcbbfa1457a32584', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: 'e0e888a6518abfb5f5b2a50fb89e2cec4c7ca78c', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
67
+ return (h("div", { key: '40f0faa26610671e0a89055e5a51fb17ab17c470', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: '910f6681ae719608c6f2787de4b3871742dd290a', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '77534918bd9f2bcd4014e5b201a4f7eb2c0753b4', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
68
68
  //onInput={this.onInput}
69
69
  onChange: this.onChange })));
70
70
  }
@@ -24,12 +24,12 @@ const EdsInputSelect = /*@__PURE__*/ proxyCustomElement(class EdsInputSelect ext
24
24
  const selectId = this.inputId || this.name;
25
25
  const placeholderText = this.placeholder || `Pick from the list`;
26
26
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
27
- return (h("div", { key: '8b02195c9cb94edae54d0eaeffc1d5985638e705', class: "relative" }, h("select", { key: 'ab86f95d44a22492309e39ea4ed299c7da5460f7', id: selectId, name: this.name, class: {
27
+ return (h("div", { key: 'f154a5f34a0d09cf6a02e24f13ed9af46532c76c', class: "relative" }, h("select", { key: '0982936337bcbec3e2b81f7edc1436506841c782', id: selectId, name: this.name, class: {
28
28
  input: true,
29
29
  'input-error': this.error,
30
30
  'px-4': true,
31
31
  'py-2': true
32
- }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: '285f9e5be9f469b21fa13c869e998fdaea4e33ad', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (h("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), h("span", { key: '0fced74f55c6da75e7f1aa3251fa59e8147e666f', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, h("eds-icon-wrapper", { key: '70e964580e89d001eb3537038f4e6a28ecba5840', class: "w-20 h-20", icon: "chevron-right" }))));
32
+ }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: '7656fa514dec6b8b05bbb8d02636bf5e2ee8d213', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (h("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), h("span", { key: '8464aa5ef3eab675f493b582736c25a7edd88224', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, h("eds-icon-wrapper", { key: '092271b13e4d496a85c55fbb5f1756805cd5d3de', class: "w-20 h-20", icon: "chevron-right" }))));
33
33
  }
34
34
  }, [0, "eds-input-select", {
35
35
  "inputId": [1, "input-id"],
@@ -51,7 +51,7 @@ const EdsInput = /*@__PURE__*/ proxyCustomElement(class EdsInput extends HTMLEle
51
51
  render() {
52
52
  const withIcon = !!this.icon;
53
53
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
54
- return (h("div", { key: 'f48593b92f28da7f3ea3282ebd0db0f6767ee7b6', class: "relative flex items-center" }, this.type === 'textarea' ? (h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (h("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
54
+ return (h("div", { key: 'a26224d6345099df6bc5110d42b701980603f7f7', class: "relative flex items-center" }, this.type === 'textarea' ? (h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (h("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
55
55
  ? {
56
56
  min: this.min,
57
57
  max: this.max,
@@ -62,7 +62,7 @@ const EdsInput = /*@__PURE__*/ proxyCustomElement(class EdsInput extends HTMLEle
62
62
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
63
63
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
64
64
  ${this.error ? 'input-error' : ''}
65
- `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (h("span", { key: '0391698008d36d0726ca52f9f5e3ad21136a9edb', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (h("eds-icon-wrapper", { key: 'dd4d8a5e02dd2557deef5441cbe29afdbea8a959', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
65
+ `, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (h("span", { key: 'beb48d08d18b5ca5b054b1b579e2f9527af222e9', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (h("eds-icon-wrapper", { key: '06948fe33c35c5830edd50a37411281865ef6d12', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
66
66
  }
67
67
  get el() { return this; }
68
68
  static get watchers() { return {
@@ -177,12 +177,34 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
177
177
  action: 'click'
178
178
  });
179
179
  }
180
+ handleKeyDown(event) {
181
+ if (this.disabled) {
182
+ return;
183
+ }
184
+ // Handle Enter and Space keys for activation
185
+ if (event.key === 'Enter' || event.key === ' ') {
186
+ event.preventDefault();
187
+ this.handleClick(event);
188
+ // For actual navigation, trigger the native link behavior
189
+ if (this.url && !this.disabled) {
190
+ if (this.external) {
191
+ window.open(this.url, '_blank', 'noopener,noreferrer');
192
+ }
193
+ else {
194
+ window.location.href = this.url;
195
+ }
196
+ }
197
+ }
198
+ }
180
199
  getLinkSize() {
200
+ if (this.intent === 'underline') {
201
+ return 'underline';
202
+ }
181
203
  return this.size;
182
204
  }
183
205
  renderLeftIcon() {
184
206
  if (this.icon && this.iconPos === 'left') {
185
- return (h("span", { class: !this.external && !this.label ? '' : 'flex' }, h("eds-icon-wrapper", { class: `
207
+ return (h("span", { class: "flex" }, h("eds-icon-wrapper", { "aria-hidden": "true", class: `
186
208
  flex inline-flex items-center justify-center
187
209
  ${this.size === 'large' ? 'h-24 w-24' : 'h-20 w-20'}
188
210
  `, icon: this.icon })));
@@ -191,7 +213,7 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
191
213
  }
192
214
  renderRightIcon() {
193
215
  if (this.icon && this.iconPos === 'right') {
194
- return (h("span", { class: !this.external && !this.label ? '' : 'flex' }, h("eds-icon-wrapper", { class: `
216
+ return (h("span", { class: "flex" }, h("eds-icon-wrapper", { "aria-hidden": "true", class: `
195
217
  flex inline-flex items-center justify-center
196
218
  ${this.size === 'large' ? 'h-24 w-24' : 'h-20 w-20'}
197
219
  `, icon: this.icon })));
@@ -199,8 +221,6 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
199
221
  return null;
200
222
  }
201
223
  render() {
202
- // If the link is disabled, use a <span>; otherwise, use an <a> element.
203
- const ComponentType = this.disabled ? 'span' : 'a';
204
224
  const classes = linkStyles({
205
225
  intent: this.intent,
206
226
  size: this.getLinkSize(),
@@ -208,12 +228,12 @@ const EdsLink = /*@__PURE__*/ proxyCustomElement(class EdsLink extends HTMLEleme
208
228
  isActive: this.current,
209
229
  hasIcon: !!this.icon
210
230
  });
211
- // If no visible label is provided, ensure ariaLabel is set.
212
- const computedAriaLabel = this.ariaLabel || this.label || 'link';
231
+ const isInteractive = !this.disabled;
232
+ const isIconOnly = !this.label || (this.hideLabelOnSmallScreen && this.icon);
213
233
  const labelClasses = this.hideLabelOnSmallScreen
214
234
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
215
235
  : '';
216
- return (h(ComponentType, { key: '19e7d05290f3dda2cc4e821c5625f7dd82198dcd', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": computedAriaLabel, "aria-disabled": this.disabled ? 'true' : null, "aria-current": this.current ? 'page' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: '36ce6891c07cf6e37acef3e6fecd3e96bcaa0312', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: '2455011e19a98939aec59768f09ae310ad03692b', class: labelClasses }, this.label), this.renderRightIcon())));
236
+ return (h("a", { key: '929b7318ec6475113125e40d789476df76e59e38', class: `${classes || ''} ${this.extraClass || ''}`, href: isInteractive ? this.url : undefined, target: this.external && isInteractive ? '_blank' : undefined, rel: this.external && isInteractive ? 'noopener noreferrer' : undefined, tabIndex: isInteractive ? 0 : -1, "aria-label": isIconOnly ? this.ariaLabel || 'Link' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.current ? 'page' : undefined, role: this.disabled ? 'link' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, h("span", { key: '4b965dcb07ebca43577b0dcd9f2d11495caa761a', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && h("span", { key: 'a4327fe130fb8c3962096eff3415ad62e19230f4', class: labelClasses }, this.label), this.renderRightIcon())));
217
237
  }
218
238
  get el() { return this; }
219
239
  static get style() { return EdsLinkStyle0; }
@@ -67,7 +67,7 @@ const EdsLogo = /*@__PURE__*/ proxyCustomElement(class EdsLogo extends HTMLEleme
67
67
  }
68
68
  render() {
69
69
  const logoContent = this.getLogo();
70
- return (h("a", { key: '717ea23a3d9156fd59abb808c3175194b6973d6b', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '794768d57ee14767a0475d949c24fafaa28bc924', innerHTML: logoContent })));
70
+ return (h("a", { key: 'fff2a45eb8b41f59026ff7033824484339e3c0a9', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: 'bc13988a739af1c94d5eadbabf558cbbb10927b8', innerHTML: logoContent })));
71
71
  }
72
72
  get el() { return this; }
73
73
  static get style() { return EdsLogoStyle0; }
@@ -120,9 +120,9 @@ const EdsModal$1 = /*@__PURE__*/ proxyCustomElement(class EdsModal extends HTMLE
120
120
  render() {
121
121
  // Generate a unique id for the title so we can reference it for aria-labelledby.
122
122
  const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
123
- return (h("div", { key: 'b2b2c3a433049b28ec58dd7ebd0c074597c9e5d4', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: '839115c4261e68289410b1a3e30eb28597cdae9e', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
123
+ return (h("div", { key: '14c35228e2aaf72d59f1766fd8e69fcd06ea5270', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: '34b5dad3a31cd9a66135ce9d93d48215712529b9', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
124
124
  ,
125
- onClick: () => this.close() })), h("div", { key: 'ffb82ca6bf618a842e5c6c5783caccac0b538f3d', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '8bd4b17956d04772ba690fce563aa929195cd3d0', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, h("span", { key: 'dcbdb579245e406d2fc4e4a44fb1828625e1e7aa', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '533c582543fa09ff1d7a7a8a1d1b608eb02d5c72', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '8d95e7649c535da3ddb4de5646579f12341a9e10', class: "pt-8 px-20 py-20" }, h("slot", { key: '7b9678ff3cedbef291ea8dea53ef30a96237a60c' })))));
125
+ onClick: () => this.close() })), h("div", { key: '5268780d170f080404d2c3ab0bb3f355b50895cb', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '20c094f3fb3cd31280118d687dec311a8aa59f57', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, h("span", { key: 'de7ff288945cd6e0a8c97d9c40cf02cc5ba4ea41', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: 'a46dc51081ad99856cfa81ccdf2ab060f644c7cb', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '45557580b90ae4f5d176eaa4805ce527d6e59eec', class: "pt-8 px-20 py-20" }, h("slot", { key: 'b67c888a32c615c5073768ec3cd4e342a34a84c6' })))));
126
126
  }
127
127
  get el() { return this; }
128
128
  static get style() { return EdsModalStyle0; }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EdsNps extends Components.EdsNps, HTMLElement {}
4
+ export const EdsNps: {
5
+ prototype: EdsNps;
6
+ new (): EdsNps;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { E as EdsNps$1, d as defineCustomElement$1 } from './eds-nps2.js';
2
+
3
+ const EdsNps = EdsNps$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { EdsNps, defineCustomElement };