@ebrains/components 0.8.0-alpha.0 → 0.9.1-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (587) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -366
  3. package/dist/cjs/bookmark-c61853d9.js +18 -0
  4. package/dist/cjs/color-primary-palette_6.cjs.entry.js +44 -31
  5. package/dist/cjs/{eds-components-section.cjs.entry.js → components-section.cjs.entry.js} +22 -17
  6. package/dist/cjs/components.cjs.js +1 -1
  7. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  8. package/dist/cjs/{eds-docs-palettes.cjs.entry.js → docs-palettes.cjs.entry.js} +3 -3
  9. package/dist/cjs/{eds-docs-tokens.cjs.entry.js → docs-tokens.cjs.entry.js} +3 -3
  10. package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
  11. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  12. package/dist/cjs/{eds-accordion_17.cjs.entry.js → eds-avatar_26.cjs.entry.js} +1031 -218
  13. package/dist/cjs/{eds-card-desc_3.cjs.entry.js → eds-card-desc_2.cjs.entry.js} +0 -35
  14. package/dist/cjs/eds-card-generic.cjs.entry.js +2 -2
  15. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-frame.cjs.entry.js +5 -11
  18. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
  20. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-external.cjs.entry.js +18 -0
  24. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
  31. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
  33. package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
  34. package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
  35. package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
  36. package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
  37. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
  43. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
  45. package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
  46. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-login_2.cjs.entry.js +23 -14
  49. package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
  50. package/dist/cjs/eds-modal.cjs.entry.js +9 -9
  51. package/dist/cjs/eds-pagination_2.cjs.entry.js +5 -5
  52. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  55. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-switch.cjs.entry.js +4 -4
  57. package/dist/cjs/eds-tabs.cjs.entry.js +5 -5
  58. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  60. package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  62. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  63. package/dist/cjs/index-2f63169d.js +76 -40
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  66. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +4 -4
  67. package/dist/cjs/{eds-logo-variations.cjs.entry.js → logo-variations-tabs.cjs.entry.js} +3 -3
  68. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  69. package/dist/cjs/minus-1da6a98a.js +13 -0
  70. package/dist/cjs/paper-0d6302f6.js +17 -0
  71. package/dist/cjs/plus-d0e00ad0.js +14 -0
  72. package/dist/cjs/portal-46212559.js +20 -0
  73. package/dist/cjs/private-38835fe7.js +27 -0
  74. package/dist/cjs/public-b519b1f6.js +18 -0
  75. package/dist/cjs/{eds-svg-repository.cjs.entry.js → svg-repository.cjs.entry.js} +30 -29
  76. package/dist/cjs/token-list_3.cjs.entry.js +5 -5
  77. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  78. package/dist/cjs/token-typography.cjs.entry.js +3 -3
  79. package/dist/cjs/tutotial-7855df3c.js +29 -0
  80. package/dist/cjs/unknown-6814e551.js +24 -0
  81. package/dist/cjs/up-and-down-d71df67d.js +14 -0
  82. package/dist/collection/collection-manifest.json +16 -5
  83. package/dist/collection/components/eds-accordion/eds-accordion.css +6 -4
  84. package/dist/collection/components/eds-accordion/eds-accordion.js +5 -5
  85. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +1 -1
  86. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +8 -1
  87. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +5 -0
  88. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  89. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
  90. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  91. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  92. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  93. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +36 -0
  94. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  95. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  96. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  97. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +36 -0
  98. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
  100. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
  101. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
  102. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
  103. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
  104. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
  110. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
  111. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
  112. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  113. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  114. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  115. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  116. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  117. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  118. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  119. package/dist/collection/components/eds-img/eds-img.js +2 -2
  120. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -21
  121. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  122. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  123. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +59 -2
  124. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  125. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
  126. package/dist/collection/components/eds-input-field/eds-input-field.js +37 -5
  127. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +1 -0
  128. package/dist/collection/components/eds-link/eds-link.css +18 -6
  129. package/dist/collection/components/eds-link/eds-link.js +17 -9
  130. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  131. package/dist/collection/components/eds-modal/eds-modal.css +32 -1
  132. package/dist/collection/components/eds-modal/eds-modal.js +9 -9
  133. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  134. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  135. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  136. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  137. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +5 -2
  138. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  139. package/dist/collection/components/eds-switch/eds-switch.js +5 -5
  140. package/dist/collection/components/eds-table/eds-table.js +4 -4
  141. package/dist/collection/components/eds-tag/eds-tag.css +45 -0
  142. package/dist/collection/components/eds-tag/eds-tag.js +31 -5
  143. package/dist/collection/components/eds-tag/eds-tag.stories.js +11 -4
  144. package/dist/collection/components/eds-timeline/eds-timeline.css +51 -13
  145. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  146. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  147. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  148. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  149. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  150. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +31 -18
  151. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  152. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  153. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  154. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  155. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  156. package/dist/collection/eds-docs-ui/{eds-components-section/eds-components-section.js → components-section/components-section.js} +13 -13
  157. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
  158. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
  159. package/dist/collection/eds-docs-ui/{functional → components-section/functional}/overview.js +2 -2
  160. package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
  161. package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
  162. package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
  163. package/dist/collection/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.js → design-tokens/docs-tokens/docs-tokens.js} +3 -3
  164. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +3 -3
  165. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  166. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  167. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  168. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  169. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +3 -3
  170. package/dist/collection/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.js → docs-palettes/docs-palettes.js} +3 -3
  171. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +144 -43
  172. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  173. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +149 -68
  174. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  175. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +158 -53
  176. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  177. package/dist/collection/eds-docs-ui/{eds-logo-variations/eds-logo-variations.js → logo/logo-variations-tabs/logo-variations.js} +3 -3
  178. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +199 -169
  179. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  180. package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.js → svg-repository/svg-repository.js} +5 -5
  181. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  182. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +8 -0
  183. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  184. package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
  185. package/dist/collection/shared-ui/eds-form/eds-form.js +46 -11
  186. package/dist/collection/shared-ui/eds-frame/eds-frame.js +28 -31
  187. package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +12 -12
  188. package/dist/collection/shared-ui/eds-header/eds-header.js +2 -2
  189. package/dist/collection/shared-ui/eds-login/eds-login.js +4 -1
  190. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +3 -3
  191. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +3 -3
  192. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +25 -13
  193. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +51 -13
  194. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +5 -5
  195. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  196. package/dist/collection/shared-ui/eds-user/eds-user.css +51 -13
  197. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  198. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  199. package/dist/collection/utils/eds-form/formUtils.js +4 -34
  200. package/dist/components/bookmark.js +16 -0
  201. package/dist/components/{eds-logo-variations.d.ts → components-section.d.ts} +4 -4
  202. package/dist/components/{eds-components-section.js → components-section.js} +27 -22
  203. package/dist/components/components.css +51 -13
  204. package/dist/components/components.esm.js +1 -1
  205. package/dist/components/correct-use-of-colors.js +1 -1
  206. package/dist/components/{eds-svg-repository.d.ts → docs-palettes.d.ts} +4 -4
  207. package/dist/components/{eds-docs-palettes.js → docs-palettes.js} +8 -8
  208. package/dist/components/docs-tokens.d.ts +11 -0
  209. package/dist/components/{eds-docs-tokens.js → docs-tokens.js} +8 -8
  210. package/dist/components/eds-accordion2.js +6 -6
  211. package/dist/components/eds-app-root.js +1 -1
  212. package/dist/components/eds-breadcrumb.js +8 -1
  213. package/dist/components/eds-card-generic2.js +2 -2
  214. package/dist/components/eds-cookies-preference.js +1 -1
  215. package/dist/components/eds-feedback.js +2 -2
  216. package/dist/components/eds-footer2.js +2 -2
  217. package/dist/components/eds-form.js +50 -45
  218. package/dist/components/eds-frame.js +7 -13
  219. package/dist/components/eds-header.js +2 -2
  220. package/dist/components/eds-icon-bluesky.js +1 -1
  221. package/dist/components/{eds-docs-palettes.d.ts → eds-icon-bookmark.d.ts} +4 -4
  222. package/dist/components/eds-icon-bookmark.js +33 -0
  223. package/dist/components/eds-icon-close.js +1 -1
  224. package/dist/components/eds-icon-copy.js +1 -1
  225. package/dist/components/eds-icon-eu.js +1 -1
  226. package/dist/components/eds-icon-external.d.ts +11 -0
  227. package/dist/components/eds-icon-external.js +33 -0
  228. package/dist/components/eds-icon-facebook.js +1 -1
  229. package/dist/components/eds-icon-gitlab.js +1 -1
  230. package/dist/components/eds-icon-linkedin.js +1 -1
  231. package/dist/components/eds-icon-loader.js +1 -1
  232. package/dist/components/eds-icon-mastodon.js +1 -1
  233. package/dist/components/eds-icon-menu.js +1 -1
  234. package/dist/components/eds-icon-minus.d.ts +11 -0
  235. package/dist/components/eds-icon-minus.js +33 -0
  236. package/dist/components/eds-icon-more.js +1 -1
  237. package/dist/components/eds-icon-paper.d.ts +11 -0
  238. package/dist/components/eds-icon-paper.js +33 -0
  239. package/dist/components/eds-icon-plus.d.ts +11 -0
  240. package/dist/components/eds-icon-plus.js +33 -0
  241. package/dist/components/{eds-docs-tokens.d.ts → eds-icon-portal.d.ts} +4 -4
  242. package/dist/components/eds-icon-portal.js +33 -0
  243. package/dist/components/eds-icon-private.d.ts +11 -0
  244. package/dist/components/eds-icon-private.js +33 -0
  245. package/dist/components/eds-icon-public.d.ts +11 -0
  246. package/dist/components/eds-icon-public.js +33 -0
  247. package/dist/components/eds-icon-search.js +1 -1
  248. package/dist/components/eds-icon-star.js +1 -1
  249. package/dist/components/eds-icon-success.js +1 -1
  250. package/dist/components/eds-icon-thumbs-down.js +1 -1
  251. package/dist/components/eds-icon-thumbs-up.js +1 -1
  252. package/dist/components/eds-icon-tutorial.d.ts +11 -0
  253. package/dist/components/eds-icon-tutorial.js +33 -0
  254. package/dist/components/eds-icon-twitter.js +1 -1
  255. package/dist/components/eds-icon-unknown.d.ts +11 -0
  256. package/dist/components/eds-icon-unknown.js +33 -0
  257. package/dist/components/eds-icon-updown.d.ts +11 -0
  258. package/dist/components/eds-icon-updown.js +33 -0
  259. package/dist/components/eds-icon-user.js +1 -1
  260. package/dist/components/eds-icon-youtube.js +1 -1
  261. package/dist/components/eds-img2.js +2 -2
  262. package/dist/components/eds-input-field2.js +37 -5
  263. package/dist/components/eds-input-footer2.js +1 -1
  264. package/dist/components/eds-input-label2.js +1 -1
  265. package/dist/components/eds-input-range2.js +26 -3
  266. package/dist/components/eds-input-search2.js +1 -1
  267. package/dist/components/eds-input-select2.js +4 -1
  268. package/dist/components/eds-input2.js +3 -5
  269. package/dist/components/eds-link2.js +18 -10
  270. package/dist/components/eds-login2.js +1 -1
  271. package/dist/components/eds-logo2.js +1 -1
  272. package/dist/components/eds-matomo-notice2.js +3 -3
  273. package/dist/components/eds-modal.js +10 -10
  274. package/dist/components/eds-pagination2.js +1 -1
  275. package/dist/components/eds-progress-bar2.js +1 -1
  276. package/dist/components/eds-rating2.js +1 -1
  277. package/dist/components/eds-section-core2.js +1 -1
  278. package/dist/components/eds-section-heading2.js +2 -2
  279. package/dist/components/eds-social-networks2.js +3 -3
  280. package/dist/components/eds-spinner2.js +1 -1
  281. package/dist/components/eds-splash-screen2.js +25 -14
  282. package/dist/components/eds-switch.js +4 -4
  283. package/dist/components/eds-table2.js +4 -4
  284. package/dist/components/eds-tabs.js +6 -6
  285. package/dist/components/eds-tag2.js +15 -6
  286. package/dist/components/eds-timeline.js +2 -2
  287. package/dist/components/eds-toast-manager.js +1 -1
  288. package/dist/components/eds-tooltip.js +1 -1
  289. package/dist/components/eds-trl.js +1 -1
  290. package/dist/components/eds-user.js +12 -18
  291. package/dist/components/incorrect-use-of-colors.js +1 -1
  292. package/dist/components/logo-space.js +69 -3
  293. package/dist/components/logo-variations-horizontal2.js +2 -2
  294. package/dist/components/logo-variations-tabs.d.ts +11 -0
  295. package/dist/components/{eds-logo-variations.js → logo-variations-tabs.js} +8 -8
  296. package/dist/components/logo-variations-vertical2.js +2 -2
  297. package/dist/components/logo-wrong-usage.js +2 -2
  298. package/dist/components/minus.js +11 -0
  299. package/dist/components/p-024c7937.js +1 -0
  300. package/dist/components/p-0467ceb5.entry.js +1 -0
  301. package/dist/components/p-05754401.js +1 -0
  302. package/dist/components/p-063b0683.entry.js +1 -0
  303. package/dist/components/p-0ce924b1.entry.js +1 -0
  304. package/dist/components/{p-07ba7c89.entry.js → p-1309a74c.entry.js} +1 -1
  305. package/dist/components/p-18eb23ff.entry.js +1 -0
  306. package/dist/components/p-1aab55cf.entry.js +1 -0
  307. package/dist/components/p-1b2913c8.js +1 -0
  308. package/dist/components/p-20b3a999.entry.js +1 -0
  309. package/dist/components/p-20e9ae7f.entry.js +1 -0
  310. package/dist/components/p-29e807f5.entry.js +1 -0
  311. package/dist/components/{p-d17ea8af.entry.js → p-2c1be2bb.entry.js} +1 -1
  312. package/dist/components/p-35ed7ebf.entry.js +1 -0
  313. package/dist/components/p-3932d0af.entry.js +1 -0
  314. package/dist/components/{p-4d295eb7.entry.js → p-3a7be9a7.entry.js} +1 -1
  315. package/dist/components/p-3af94671.entry.js +1 -0
  316. package/dist/components/p-41e89554.entry.js +1 -0
  317. package/dist/components/p-435a8942.entry.js +1 -0
  318. package/dist/components/p-4620ebf5.entry.js +1 -0
  319. package/dist/components/p-4c7852f8.entry.js +1 -0
  320. package/dist/components/p-4e8a317b.entry.js +1 -0
  321. package/dist/components/{p-0f73391d.entry.js → p-526cdc57.entry.js} +1 -1
  322. package/dist/components/p-52913e2e.entry.js +1 -0
  323. package/dist/components/p-6404e157.entry.js +1 -0
  324. package/dist/components/p-66bb44c9.entry.js +1 -0
  325. package/dist/components/p-694fc085.js +1 -0
  326. package/dist/components/p-6dc26e53.entry.js +1 -0
  327. package/dist/components/p-7198c024.js +1 -0
  328. package/dist/components/p-78fa7132.entry.js +1 -0
  329. package/dist/components/p-7dce734a.entry.js +1 -0
  330. package/dist/components/{p-01cb7ceb.entry.js → p-7fa88255.entry.js} +1 -1
  331. package/dist/components/p-83936521.entry.js +1 -0
  332. package/dist/components/p-8653bc36.entry.js +1 -0
  333. package/dist/components/p-86bb73dc.js +1 -0
  334. package/dist/components/p-8e3c6c63.entry.js +1 -0
  335. package/dist/components/p-923f67b5.entry.js +1 -0
  336. package/dist/components/p-93093977.entry.js +1 -0
  337. package/dist/components/{p-a02c5c4a.entry.js → p-941240b5.entry.js} +1 -1
  338. package/dist/components/{p-abaf04e1.entry.js → p-94b1f974.entry.js} +1 -1
  339. package/dist/components/p-97e95520.entry.js +1 -0
  340. package/dist/components/{p-4df00ba5.entry.js → p-9a1a6df1.entry.js} +1 -1
  341. package/dist/components/p-9dc879c9.entry.js +1 -0
  342. package/dist/components/p-a56f0579.entry.js +1 -0
  343. package/dist/components/p-a8b0fe92.entry.js +1 -0
  344. package/dist/components/p-acc4d234.entry.js +1 -0
  345. package/dist/components/p-b0b37831.entry.js +1 -0
  346. package/dist/components/p-b2b46793.entry.js +1 -0
  347. package/dist/components/p-b73410de.js +1 -0
  348. package/dist/components/p-b76aa402.entry.js +1 -0
  349. package/dist/components/p-b931a634.entry.js +1 -0
  350. package/dist/components/p-b96fc468.entry.js +1 -0
  351. package/dist/components/p-bab07ba6.entry.js +1 -0
  352. package/dist/components/p-c1e4ef92.js +1 -0
  353. package/dist/components/{p-9cbcccf8.entry.js → p-c5c782e7.entry.js} +1 -1
  354. package/dist/components/p-c8abff96.entry.js +1 -0
  355. package/dist/components/{p-24507e71.entry.js → p-c935aa46.entry.js} +1 -1
  356. package/dist/components/p-c99745a8.entry.js +1 -0
  357. package/dist/components/p-cccff1e3.entry.js +1 -0
  358. package/dist/components/p-cd624044.entry.js +1 -0
  359. package/dist/components/p-cdf19579.js +1 -0
  360. package/dist/components/{p-7ba154c5.entry.js → p-d525ed36.entry.js} +1 -1
  361. package/dist/components/p-d94a44b9.entry.js +1 -0
  362. package/dist/components/p-d962849c.js +1 -0
  363. package/dist/components/p-dbcf1f0e.entry.js +1 -0
  364. package/dist/components/p-dcc08064.entry.js +1 -0
  365. package/dist/components/p-e42eb100.entry.js +1 -0
  366. package/dist/components/{p-f2e66c82.entry.js → p-e64cd6f7.entry.js} +1 -1
  367. package/dist/components/{p-5cf480a8.entry.js → p-e710c860.entry.js} +1 -1
  368. package/dist/components/p-ea089f4e.entry.js +1 -0
  369. package/dist/components/p-eebf7ebf.entry.js +1 -0
  370. package/dist/components/p-efc73304.entry.js +1 -0
  371. package/dist/components/p-f13e9ab1.entry.js +1 -0
  372. package/dist/components/p-f48a4313.entry.js +1 -0
  373. package/dist/components/p-f4ce515a.entry.js +1 -0
  374. package/dist/components/{p-f223a835.entry.js → p-ff7acb55.entry.js} +1 -1
  375. package/dist/components/paper.js +15 -0
  376. package/dist/components/plus.js +12 -0
  377. package/dist/components/portal.js +18 -0
  378. package/dist/components/primary.js +1 -1
  379. package/dist/components/primary2.js +1 -1
  380. package/dist/components/private.js +25 -0
  381. package/dist/components/public.js +16 -0
  382. package/dist/components/secondary.js +1 -1
  383. package/dist/components/secondary2.js +7 -7
  384. package/dist/components/support.js +31 -18
  385. package/dist/components/support2.js +3 -3
  386. package/dist/components/svg-repository.d.ts +11 -0
  387. package/dist/components/{eds-svg-repository.js → svg-repository.js} +34 -33
  388. package/dist/components/token-list2.js +3 -3
  389. package/dist/components/token-radii2.js +1 -1
  390. package/dist/components/token-ratios.js +1 -1
  391. package/dist/components/token-shadows2.js +1 -1
  392. package/dist/components/token-spacing.js +1 -1
  393. package/dist/components/token-typography.js +3 -3
  394. package/dist/components/tutotial.js +27 -0
  395. package/dist/components/unknown.js +22 -0
  396. package/dist/components/up-and-down.js +12 -0
  397. package/dist/esm/bookmark-c200037c.js +16 -0
  398. package/dist/esm/color-primary-palette_6.entry.js +44 -31
  399. package/dist/esm/{eds-components-section.entry.js → components-section.entry.js} +22 -17
  400. package/dist/esm/components.js +1 -1
  401. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  402. package/dist/esm/{eds-docs-palettes.entry.js → docs-palettes.entry.js} +3 -3
  403. package/dist/esm/{eds-docs-tokens.entry.js → docs-tokens.entry.js} +3 -3
  404. package/dist/esm/eds-accordion.entry.js +82 -0
  405. package/dist/esm/eds-app-root.entry.js +1 -1
  406. package/dist/esm/{eds-accordion_17.entry.js → eds-avatar_26.entry.js} +1022 -218
  407. package/dist/esm/{eds-card-desc_3.entry.js → eds-card-desc_2.entry.js} +1 -35
  408. package/dist/esm/eds-card-generic.entry.js +2 -2
  409. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  410. package/dist/esm/eds-feedback.entry.js +2 -2
  411. package/dist/esm/eds-frame.entry.js +5 -11
  412. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  413. package/dist/esm/eds-icon-bookmark.entry.js +14 -0
  414. package/dist/esm/eds-icon-close.entry.js +1 -1
  415. package/dist/esm/eds-icon-copy.entry.js +1 -1
  416. package/dist/esm/eds-icon-eu.entry.js +1 -1
  417. package/dist/esm/eds-icon-external.entry.js +14 -0
  418. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  419. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  420. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  421. package/dist/esm/eds-icon-loader.entry.js +1 -1
  422. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  423. package/dist/esm/eds-icon-menu.entry.js +1 -1
  424. package/dist/esm/eds-icon-minus.entry.js +14 -0
  425. package/dist/esm/eds-icon-more.entry.js +1 -1
  426. package/dist/esm/eds-icon-paper.entry.js +14 -0
  427. package/dist/esm/eds-icon-plus.entry.js +14 -0
  428. package/dist/esm/eds-icon-portal.entry.js +14 -0
  429. package/dist/esm/eds-icon-private.entry.js +14 -0
  430. package/dist/esm/eds-icon-public.entry.js +14 -0
  431. package/dist/esm/eds-icon-search.entry.js +1 -1
  432. package/dist/esm/eds-icon-star.entry.js +1 -1
  433. package/dist/esm/eds-icon-success.entry.js +1 -1
  434. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  435. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  436. package/dist/esm/eds-icon-tutorial.entry.js +14 -0
  437. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  438. package/dist/esm/eds-icon-unknown.entry.js +14 -0
  439. package/dist/esm/eds-icon-updown.entry.js +14 -0
  440. package/dist/esm/eds-icon-user.entry.js +1 -1
  441. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  442. package/dist/esm/eds-login_2.entry.js +23 -14
  443. package/dist/esm/eds-matomo-notice.entry.js +119 -0
  444. package/dist/esm/eds-modal.entry.js +9 -9
  445. package/dist/esm/eds-pagination_2.entry.js +5 -5
  446. package/dist/esm/eds-progress-bar.entry.js +1 -1
  447. package/dist/esm/eds-rating.entry.js +1 -1
  448. package/dist/esm/eds-section-core_2.entry.js +3 -3
  449. package/dist/esm/eds-spinner.entry.js +1 -1
  450. package/dist/esm/eds-switch.entry.js +4 -4
  451. package/dist/esm/eds-tabs.entry.js +5 -5
  452. package/dist/esm/eds-timeline.entry.js +2 -2
  453. package/dist/esm/eds-toast-manager.entry.js +1 -1
  454. package/dist/esm/eds-tooltip.entry.js +1 -1
  455. package/dist/esm/eds-trl.entry.js +1 -1
  456. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  457. package/dist/esm/index-8a71b9a7.js +76 -40
  458. package/dist/esm/loader.js +1 -1
  459. package/dist/esm/logo-space.entry.js +2 -2
  460. package/dist/esm/logo-variations-horizontal_2.entry.js +4 -4
  461. package/dist/esm/{eds-logo-variations.entry.js → logo-variations-tabs.entry.js} +3 -3
  462. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  463. package/dist/esm/minus-b30a7c71.js +11 -0
  464. package/dist/esm/paper-8e74ea31.js +15 -0
  465. package/dist/esm/plus-89c07be2.js +12 -0
  466. package/dist/esm/portal-d6c8ce56.js +18 -0
  467. package/dist/esm/private-1c25ff8e.js +25 -0
  468. package/dist/esm/public-d4d8c585.js +16 -0
  469. package/dist/esm/{eds-svg-repository.entry.js → svg-repository.entry.js} +29 -28
  470. package/dist/esm/token-list_3.entry.js +5 -5
  471. package/dist/esm/token-ratios.entry.js +1 -1
  472. package/dist/esm/token-typography.entry.js +3 -3
  473. package/dist/esm/tutotial-150ee1fd.js +27 -0
  474. package/dist/esm/unknown-ed01a24c.js +22 -0
  475. package/dist/esm/up-and-down-d747abee.js +12 -0
  476. package/dist/hydrate/index.js +1163 -631
  477. package/dist/hydrate/index.mjs +1163 -631
  478. package/dist/stencil.config.js +17 -2
  479. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +11 -1
  480. package/dist/types/components/eds-accordion/eds-accordion.d.ts +1 -1
  481. package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
  482. package/dist/types/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.d.ts +10 -0
  483. package/dist/types/components/eds-icons/eds-icon-external/eds-icon-external.d.ts +10 -0
  484. package/dist/types/components/eds-icons/eds-icon-minus/eds-icon-minus.d.ts +10 -0
  485. package/dist/types/components/eds-icons/eds-icon-paper/eds-icon-paper.d.ts +10 -0
  486. package/dist/types/components/eds-icons/eds-icon-plus/eds-icon-plus.d.ts +10 -0
  487. package/dist/types/components/eds-icons/eds-icon-portal/eds-icon-portal.d.ts +10 -0
  488. package/dist/types/components/eds-icons/eds-icon-private/eds-icon-private.d.ts +10 -0
  489. package/dist/types/components/eds-icons/eds-icon-public/eds-icon-public.d.ts +10 -0
  490. package/dist/types/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.d.ts +10 -0
  491. package/dist/types/components/eds-icons/eds-icon-unknown/eds-icon-unknown.d.ts +10 -0
  492. package/dist/types/components/eds-icons/eds-icon-updown/eds-icon-updown.d.ts +10 -0
  493. package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +0 -2
  494. package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +12 -0
  495. package/dist/types/components/eds-input-field/eds-input-field.d.ts +3 -0
  496. package/dist/types/components/eds-modal/eds-modal.d.ts +1 -1
  497. package/dist/types/components/eds-section/eds-section-heading/eds-section-heading.d.ts +3 -0
  498. package/dist/types/components/eds-switch/eds-switch.d.ts +1 -1
  499. package/dist/types/components/eds-tag/eds-tag.d.ts +5 -1
  500. package/dist/types/components/eds-tag/eds-tag.stories.d.ts +7 -0
  501. package/dist/types/components.d.ts +404 -237
  502. package/dist/types/eds-docs-ui/colors/color-palette/support.d.ts +1 -0
  503. package/dist/types/eds-docs-ui/{eds-logo-variations/eds-logo-variations.d.ts → components-section/components-section.d.ts} +1 -1
  504. package/dist/types/eds-docs-ui/components-section/functional/angular.d.ts +2 -0
  505. package/dist/types/eds-docs-ui/components-section/functional/installation.d.ts +2 -0
  506. package/dist/types/eds-docs-ui/components-section/functional/overview.d.ts +2 -0
  507. package/dist/types/eds-docs-ui/components-section/functional/react.d.ts +2 -0
  508. package/dist/types/eds-docs-ui/components-section/functional/usage.d.ts +2 -0
  509. package/dist/types/eds-docs-ui/components-section/functional/vue.d.ts +2 -0
  510. package/dist/types/eds-docs-ui/{eds-docs-tokens/eds-docs-tokens.d.ts → design-tokens/docs-tokens/docs-tokens.d.ts} +1 -1
  511. package/dist/types/eds-docs-ui/{eds-docs-palettes/eds-docs-palettes.d.ts → docs-palettes/docs-palettes.d.ts} +1 -1
  512. package/dist/types/eds-docs-ui/{eds-components-section/eds-components-section.d.ts → logo/logo-variations-tabs/logo-variations.d.ts} +1 -1
  513. package/dist/types/eds-docs-ui/{eds-svg-repository/eds-svg-repository.d.ts → svg-repository/svg-repository.d.ts} +1 -1
  514. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
  515. package/dist/types/shared-ui/eds-frame/eds-frame.d.ts +10 -9
  516. package/dist/types/shared-ui/eds-frame/eds-frame.stories.d.ts +3 -3
  517. package/dist/types/shared-ui/eds-login/eds-login.d.ts +3 -0
  518. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +1 -1
  519. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  520. package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +2 -0
  521. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +1 -1
  522. package/dist/types/utils/eds-form/formUtils.d.ts +1 -1
  523. package/package.json +4 -4
  524. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -139
  525. package/dist/cjs/eds-form.cjs.entry.js +0 -409
  526. package/dist/cjs/eds-input_7.cjs.entry.js +0 -357
  527. package/dist/cjs/token-spacing.cjs.entry.js +0 -16
  528. package/dist/collection/eds-docs-ui/functional/angular.js +0 -2
  529. package/dist/collection/eds-docs-ui/functional/installation.js +0 -2
  530. package/dist/collection/eds-docs-ui/functional/react.js +0 -2
  531. package/dist/collection/eds-docs-ui/functional/usage.js +0 -2
  532. package/dist/collection/eds-docs-ui/functional/vue.js +0 -2
  533. package/dist/components/eds-components-section.d.ts +0 -11
  534. package/dist/components/p-03a38eab.entry.js +0 -1
  535. package/dist/components/p-05d8fdc3.entry.js +0 -1
  536. package/dist/components/p-0918a2e2.entry.js +0 -1
  537. package/dist/components/p-096d3274.entry.js +0 -1
  538. package/dist/components/p-10a318e0.entry.js +0 -1
  539. package/dist/components/p-16e0b902.entry.js +0 -1
  540. package/dist/components/p-18e10983.entry.js +0 -1
  541. package/dist/components/p-215f3b21.entry.js +0 -1
  542. package/dist/components/p-30075622.entry.js +0 -1
  543. package/dist/components/p-32a7f571.entry.js +0 -1
  544. package/dist/components/p-3f0fd469.entry.js +0 -1
  545. package/dist/components/p-4675ac16.entry.js +0 -1
  546. package/dist/components/p-46c9a35e.entry.js +0 -1
  547. package/dist/components/p-4aefc66e.entry.js +0 -1
  548. package/dist/components/p-4bcf6077.entry.js +0 -1
  549. package/dist/components/p-5d26f527.entry.js +0 -1
  550. package/dist/components/p-64f6f07e.entry.js +0 -1
  551. package/dist/components/p-69e5af42.entry.js +0 -1
  552. package/dist/components/p-6a73ac42.entry.js +0 -1
  553. package/dist/components/p-70201ae6.entry.js +0 -1
  554. package/dist/components/p-7ba4ca15.entry.js +0 -1
  555. package/dist/components/p-84faf1b3.entry.js +0 -1
  556. package/dist/components/p-8803ecf9.entry.js +0 -1
  557. package/dist/components/p-8cf4ee6e.entry.js +0 -1
  558. package/dist/components/p-9e2a0f5a.entry.js +0 -1
  559. package/dist/components/p-9f4ad4e4.entry.js +0 -1
  560. package/dist/components/p-a0abe772.entry.js +0 -1
  561. package/dist/components/p-a6bf9bf8.entry.js +0 -1
  562. package/dist/components/p-ae60f98b.entry.js +0 -1
  563. package/dist/components/p-b2f0f40b.entry.js +0 -1
  564. package/dist/components/p-b4332c34.entry.js +0 -1
  565. package/dist/components/p-b47d115d.entry.js +0 -1
  566. package/dist/components/p-ceac6200.entry.js +0 -1
  567. package/dist/components/p-cee891dc.entry.js +0 -1
  568. package/dist/components/p-d06faa08.entry.js +0 -1
  569. package/dist/components/p-d2159cc9.entry.js +0 -1
  570. package/dist/components/p-d895d036.entry.js +0 -1
  571. package/dist/components/p-db970de6.entry.js +0 -1
  572. package/dist/components/p-e343cd31.entry.js +0 -1
  573. package/dist/components/p-e3811d4b.entry.js +0 -1
  574. package/dist/components/p-e8bd6106.entry.js +0 -1
  575. package/dist/components/p-e96a5c8e.entry.js +0 -1
  576. package/dist/components/p-fec4cba7.entry.js +0 -1
  577. package/dist/esm/eds-breadcrumb.entry.js +0 -135
  578. package/dist/esm/eds-form.entry.js +0 -405
  579. package/dist/esm/eds-input_7.entry.js +0 -347
  580. package/dist/esm/token-spacing.entry.js +0 -12
  581. package/dist/types/eds-docs-ui/functional/angular.d.ts +0 -2
  582. package/dist/types/eds-docs-ui/functional/installation.d.ts +0 -2
  583. package/dist/types/eds-docs-ui/functional/overview.d.ts +0 -2
  584. package/dist/types/eds-docs-ui/functional/react.d.ts +0 -2
  585. package/dist/types/eds-docs-ui/functional/usage.d.ts +0 -2
  586. package/dist/types/eds-docs-ui/functional/vue.d.ts +0 -2
  587. /package/dist/collection/eds-docs-ui/{eds-svg-repository/eds-svg-repository.css → svg-repository/svg-repository.css} +0 -0
@@ -10,7 +10,7 @@ export class EdsInputLabel {
10
10
  this.disabled = false;
11
11
  }
12
12
  render() {
13
- return (h("label", { key: 'cbbf9b07e719c2307ca90fdf4fb9ba1cf82098d3', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: '328b0d8759007afd19323a2bd80e002b4e38b4d8' }, h("span", { key: 'bfc323e8ee81238f194fd081dbe4bb3bb801412e', "aria-hidden": "true" }, "*"), h("span", { key: 'c1231c12beecd218dad357c5c622cbd7c5acd692', class: "sr-only" }, "required")))));
13
+ return (h("label", { key: '632b2634e219c2a1d8fdc5710c95c80601b0b2ee', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'd1cb546dca2dcd44dedb7f00d7f432a47c9dc517' }, h("span", { key: '08346b3153d32b3fd4ea63f9e27278ec51b2e5b3', "aria-hidden": "true" }, "*"), h("span", { key: 'e364bfb64126e1f704c903528e9a3118d8828227', class: "sr-only" }, "required")))));
14
14
  }
15
15
  static get is() { return "eds-input-label"; }
16
16
  static get properties() {
@@ -11,6 +11,11 @@ export class EdsInputRange {
11
11
  const target = e.target;
12
12
  this.sliderVal = parseInt(target.value, 10); // Update the slider value dynamically
13
13
  };
14
+ this.onChange = (e) => {
15
+ const target = e.target;
16
+ this.sliderVal = parseInt(target.value, 10); // Update the slider value dynamically
17
+ this.edsrange.emit(this.sliderVal);
18
+ };
14
19
  this.name = undefined;
15
20
  this.inputId = 'range';
16
21
  this.disabled = false;
@@ -18,7 +23,18 @@ export class EdsInputRange {
18
23
  this.min = 0;
19
24
  this.max = 100;
20
25
  this.step = 1;
21
- this.sliderVal = this.max % 2 === 0 ? this.max / 2 : Math.ceil(this.max / 2);
26
+ this.value = undefined;
27
+ this.sliderVal = undefined;
28
+ }
29
+ componentWillLoad() {
30
+ this.sliderVal =
31
+ this.value !== undefined ? this.value : this.max % 2 === 0 ? this.max / 2 : Math.ceil(this.max / 2);
32
+ }
33
+ // Keep the internal state in sync when the passed value changes.
34
+ onValueChange(newVal) {
35
+ if (newVal !== undefined) {
36
+ this.sliderVal = newVal;
37
+ }
22
38
  }
23
39
  componentDidLoad() {
24
40
  // Assign the native input element after the component loads
@@ -29,7 +45,7 @@ export class EdsInputRange {
29
45
  return this.inputElement;
30
46
  }
31
47
  render() {
32
- return (h("div", { key: '4303ce0031e42249382a049f2214ac9a310f4c1d', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: '25c349147fd3b5673bf9ea42f9c9a8477d178bd2', 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 }), h("p", { key: 'e21351977aed715d157bb7577a59cec095f221e9', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
48
+ return (h("div", { key: '6d0d2daa8e4a727765259ac14709837c5ed23955', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: 'd2e2ca171ff99f106130a0ba6cbcdd413de0b371', 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: '078def92e74b4056555d968fbc767693af15b100', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
33
49
  }
34
50
  static get is() { return "eds-input-range"; }
35
51
  static get properties() {
@@ -158,6 +174,23 @@ export class EdsInputRange {
158
174
  "attribute": "step",
159
175
  "reflect": false,
160
176
  "defaultValue": "1"
177
+ },
178
+ "value": {
179
+ "type": "number",
180
+ "mutable": false,
181
+ "complexType": {
182
+ "original": "number",
183
+ "resolved": "number",
184
+ "references": {}
185
+ },
186
+ "required": false,
187
+ "optional": true,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": "The externally provided preset value from init-data."
191
+ },
192
+ "attribute": "value",
193
+ "reflect": false
161
194
  }
162
195
  };
163
196
  }
@@ -166,6 +199,24 @@ export class EdsInputRange {
166
199
  "sliderVal": {}
167
200
  };
168
201
  }
202
+ static get events() {
203
+ return [{
204
+ "method": "edsrange",
205
+ "name": "edsrange",
206
+ "bubbles": true,
207
+ "cancelable": true,
208
+ "composed": true,
209
+ "docs": {
210
+ "tags": [],
211
+ "text": ""
212
+ },
213
+ "complexType": {
214
+ "original": "any",
215
+ "resolved": "any",
216
+ "references": {}
217
+ }
218
+ }];
219
+ }
169
220
  static get methods() {
170
221
  return {
171
222
  "getInputElement": {
@@ -192,4 +243,10 @@ export class EdsInputRange {
192
243
  };
193
244
  }
194
245
  static get elementRef() { return "el"; }
246
+ static get watchers() {
247
+ return [{
248
+ "propName": "value",
249
+ "methodName": "onValueChange"
250
+ }];
251
+ }
195
252
  }
@@ -66,7 +66,7 @@ export class EdsInputSearch {
66
66
  return this.inputElement;
67
67
  }
68
68
  render() {
69
- return (h("div", { key: 'cd0d0f878ddfdd9de78844a9fe7f54c1afc01f00', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: '51580657eebca704fda0c40acfbac435bbd843ae', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: 'db878dfcad30f8a4a718d4f8b0184c27366038e8', 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: `search-input w-full rounded-sm f-body-01 pl-36 px-6 py-6 gap-x-12 block appearance-none border-0 effect-color effect-focus ${this.decorate}`,
69
+ return (h("div", { key: '6258597f79cddca1995825142e26eafc560a553a', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'e7379f4b8fe1f749153da3eaaeef4a8ac690b21f', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '2c37c1e6a0b7c60507fdb62de441109be6ea0888', 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}`,
70
70
  //onInput={this.onInput}
71
71
  onChange: this.onChange })));
72
72
  }
@@ -102,7 +102,10 @@ export class EdsInputSelect {
102
102
  return path.split('.').reduce((acc, part) => acc && acc[part], obj);
103
103
  }
104
104
  render() {
105
- return (h("div", { key: 'cf167d50401aec809a3c399886feecb854f8a038', class: "relative", "aria-busy": this.loading ? 'true' : 'false' }, h("select", { key: '74d9a2404616824c98f9625ff1fdd1d82fbc22d9', id: this.inputId || this.name, name: this.name, class: `input invalid:text-lightest pr-32 ${this.error ? 'input-error' : ''}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.hasMessage || this.error ? `${this.name}-error` : '', disabled: this.disabled || this.loading, required: this.required, onChange: this.handleChange }, h("option", { key: '237f4e20cd20d4fe9e35afe21eaa5537d12c583a', value: "", disabled: true, hidden: true }, this.loading ? 'Loading options...' : `Please select ${this.name}`), this.dynamicOptions.map((option, index) => (h("option", { key: index, value: this.getValueByPath(option, this.dynamicValueKey) }, this.getValueByPath(option, this.dynamicLabelKey))))), h("span", { key: '481eddf49aa0f78fa6534f65484fbff953ca2c59', class: `bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center ${this.disabled || this.loading ? 'text-lightest bg-transparent' : ''}` }, h("eds-icon-wrapper", { key: '5b73e8c045df38fa1260a4f5c940c0148a41b4c8', class: "w-20 h-20", icon: "chevron-right" }))));
105
+ return (h("div", { key: 'cc940456a2e0ce84f3b1c05d83a8b37db076c38d', class: "relative", "aria-busy": this.loading ? 'true' : 'false' }, h("select", { key: '105ee19d398aee3df6a6bdde282d4930f4391bc1', id: this.inputId || this.name, name: this.name, class: `input invalid:text-lightest pr-32 ${this.error ? 'input-error' : ''}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.hasMessage || this.error ? `${this.name}-error` : '', disabled: this.disabled || this.loading, required: this.required, onChange: this.handleChange }, h("option", { key: '057fd3d0305d390dff0b5b8e0bf40d803cab7b02', value: "", disabled: true, hidden: true }, this.loading ? 'Loading options...' : `Please select ${this.name}`), this.dynamicOptions.map((option, index) => {
106
+ const optionValue = this.getValueByPath(option, this.dynamicValueKey);
107
+ return (h("option", { key: index, value: optionValue, selected: optionValue === this.value }, this.getValueByPath(option, this.dynamicLabelKey)));
108
+ })), h("span", { key: '39a047ac87650db1402db082379b4f4169d5116e', class: `bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center ${this.disabled || this.loading ? 'text-lightest bg-transparent' : ''}` }, h("eds-icon-wrapper", { key: 'bee0a8b2a54d855452fb547347c5888cae9f4024', class: "w-20 h-20", icon: "chevron-right" }))));
106
109
  }
107
110
  static get is() { return "eds-input-select"; }
108
111
  static get properties() {
@@ -12,6 +12,28 @@ import { h } from "@stencil/core";
12
12
  */
13
13
  export class EdsInputField {
14
14
  constructor() {
15
+ this.handleNativeInput = (ev) => {
16
+ var _a;
17
+ // 1) Call any passed-in handler
18
+ (_a = this.onInput) === null || _a === void 0 ? void 0 : _a.call(this, ev);
19
+ // 2) Re-emit on host so Vue/others can catch it
20
+ const newValue = ev.target.value;
21
+ this.hostEl.dispatchEvent(new CustomEvent('oninput', {
22
+ detail: { value: newValue },
23
+ bubbles: true,
24
+ composed: true
25
+ }));
26
+ };
27
+ this.handleNativeChange = (ev) => {
28
+ var _a;
29
+ (_a = this.onChange) === null || _a === void 0 ? void 0 : _a.call(this, ev);
30
+ const target = ev.target;
31
+ this.hostEl.dispatchEvent(new CustomEvent('onchange', {
32
+ detail: { value: target.value },
33
+ bubbles: true,
34
+ composed: true
35
+ }));
36
+ };
15
37
  this.name = undefined;
16
38
  this.inputId = undefined;
17
39
  this.placeholder = undefined;
@@ -54,8 +76,8 @@ export class EdsInputField {
54
76
  id: this.inputId,
55
77
  placeholder: this.placeholder,
56
78
  disabled: this.disabled,
57
- onChange: this.onChange,
58
- onInput: this.onInput,
79
+ onInput: this.handleNativeInput,
80
+ onChange: this.handleNativeChange,
59
81
  type: this.type,
60
82
  required: this.required,
61
83
  value: this.value,
@@ -63,11 +85,20 @@ export class EdsInputField {
63
85
  icon: this.icon,
64
86
  checked: this.checked
65
87
  };
66
- return (h("div", { key: 'ef0defab1a025c7764c3e0c085968924c0d77dda', class: "space-y-8" }, 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-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts)), 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.onChange, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
88
+ return (h("div", { key: 'd8d68bdff663749f22dcd25986a22b0459346f0d', class: "space-y-8" }, 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-2", 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("eds-input-label", { name: `${this.name}-${option.value}`, label: 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.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.onChange, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
67
89
  var _a, _b, _c;
90
+ const rangeProps = {
91
+ name: inputOpts.name,
92
+ inputId: inputOpts.id || inputOpts.name,
93
+ disabled: inputOpts.disabled,
94
+ required: inputOpts.required,
95
+ onInput: inputOpts.onInput,
96
+ onChange: inputOpts.onChange
97
+ };
68
98
  const opt = this.parsedOptions;
69
- return (h("eds-input-range", { 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, name: "range-slider" }));
70
- })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '1bbe8ffc01260083f33ce7747c55836d7507ffc0', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
99
+ const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
100
+ 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 })));
101
+ })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: 'ecf472d91e754c93899d3bbece01f03babfbe985', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
71
102
  }
72
103
  static get is() { return "eds-input-field"; }
73
104
  static get encapsulation() { return "shadow"; }
@@ -416,4 +447,5 @@ export class EdsInputField {
416
447
  }
417
448
  };
418
449
  }
450
+ static get elementRef() { return "hostEl"; }
419
451
  }
@@ -50,6 +50,7 @@ const Template = (args) => {
50
50
  ${args.required ? `required="${args.required}"` : ''}
51
51
  ${args.label ? `label="${args.label}"` : ''}
52
52
  ${args.hint ? `hint="${args.hint}"` : ''}
53
+ ${args.link ? `link="${args.link}"` : ''}
53
54
  ${args.icon ? `icon="${args.icon}"` : ''}
54
55
  ${linkJson ? `link='${linkJson}'` : ''}
55
56
  ${args.message ? `message="${args.message}"` : ''}
@@ -5657,9 +5657,18 @@ input[type="range"]::-webkit-slider-thumb {
5657
5657
  margin-top: 0.5rem;
5658
5658
  margin-bottom: 0.5rem;
5659
5659
  }
5660
+ .-ml-8 {
5661
+ margin-left: -0.5rem;
5662
+ }
5660
5663
  .-ml-16 {
5661
5664
  margin-left: -1rem;
5662
5665
  }
5666
+ .-mr-4 {
5667
+ margin-right: -0.25rem;
5668
+ }
5669
+ .-mr-8 {
5670
+ margin-right: -0.5rem;
5671
+ }
5663
5672
  .-mr-16 {
5664
5673
  margin-right: -1rem;
5665
5674
  }
@@ -5690,14 +5699,14 @@ input[type="range"]::-webkit-slider-thumb {
5690
5699
  .ml-auto {
5691
5700
  margin-left: auto;
5692
5701
  }
5693
- .mr-4 {
5694
- margin-right: 0.25rem;
5702
+ .mr-0 {
5703
+ margin-right: 0rem;
5695
5704
  }
5696
- .-mr-4 {
5697
- margin-right: -0.25rem;
5705
+ .mr-2 {
5706
+ margin-right: 0.125rem;
5698
5707
  }
5699
- .-mr-8 {
5700
- margin-right: -0.5rem;
5708
+ .mr-4 {
5709
+ margin-right: 0.25rem;
5701
5710
  }
5702
5711
  .mr-8 {
5703
5712
  margin-right: 0.5rem;
@@ -5858,6 +5867,9 @@ input[type="range"]::-webkit-slider-thumb {
5858
5867
  .h-full {
5859
5868
  height: 100%;
5860
5869
  }
5870
+ .\!min-h-0 {
5871
+ min-height: 0rem !important;
5872
+ }
5861
5873
  .\!min-h-20 {
5862
5874
  min-height: 1.25rem !important;
5863
5875
  }
@@ -40,15 +40,15 @@ const linkStyles = cva([
40
40
  // aria-disabled:line-through
41
41
  ],
42
42
  blueish: [
43
- '-top-1 !px-0 !py-0 !min-h-20 text-[#0034CB] decoration-[#0034CB] underline underline-offset-4 ',
43
+ '!px-0 !py-0 !min-h-20 text-[#0034CB] decoration-[#0034CB] underline underline-offset-4',
44
44
  'effect-focus focus-visible:rounded-xs',
45
- 'hover:before:opacity-100 focus-visible:before:opacity-0',
45
+ 'hover:no-underline',
46
46
  'aria-disabled:bg-transparent aria-disabled:no-underline'
47
- // aria-disabled:line-through
47
+ //aria-disabled:line-through
48
48
  ],
49
49
  underline: [
50
- 'decoration-accent underline underline-offset-4 !py-0',
51
- 'hover:no-underline effect-focus focus-visible:rounded-xs'
50
+ 'decoration-accent underline underline-offset-4 !px-0 !py-0',
51
+ 'hover:no-underline effect-focus focus-visible:rounded-xs !min-h-0'
52
52
  ]
53
53
  },
54
54
  iconSmall: {
@@ -59,8 +59,12 @@ const linkStyles = cva([
59
59
  true: '',
60
60
  false: ''
61
61
  },
62
+ hasIcon: {
63
+ true: '',
64
+ false: ''
65
+ },
62
66
  size: {
63
- underline: 'f-body-02',
67
+ underline: 'f-body-02 ',
64
68
  small: 'min-h-36 f-ui-02 px-12',
65
69
  large: 'min-h-44 f-ui-01 px-16'
66
70
  }
@@ -76,6 +80,8 @@ const linkStyles = cva([
76
80
  size: 'large',
77
81
  class: 'pr-8'
78
82
  },
83
+ { intent: 'blueish', hasIcon: true, class: '-mr-4 -top-1' },
84
+ { intent: 'underline', hasIcon: true, class: '-mr-4 -top-1' },
79
85
  // Active state
80
86
  {
81
87
  intent: 'primary',
@@ -117,7 +123,8 @@ const linkStyles = cva([
117
123
  //intent: 'primary',
118
124
  isActive: false,
119
125
  iconSmall: false,
120
- size: 'small'
126
+ size: 'small',
127
+ hasIcon: false
121
128
  }
122
129
  });
123
130
  /**
@@ -200,14 +207,15 @@ export class EdsLink {
200
207
  intent: this.intent,
201
208
  size: this.getLinkSize(),
202
209
  iconSmall: this.iconSmall,
203
- isActive: this.current
210
+ isActive: this.current,
211
+ hasIcon: !!this.icon
204
212
  });
205
213
  // If no visible label is provided, ensure ariaLabel is set.
206
214
  const computedAriaLabel = this.ariaLabel || this.label || 'link';
207
215
  const labelClasses = this.hideLabelOnSmallScreen
208
216
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
209
217
  : '';
210
- return (h(ComponentType, { key: 'c9ff2d213a68f1391482897d4b5563b9b6e696b8', 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: 'd46d94fa6974c608bda4495cef5fd0853c13cd0b', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: '36d5bc8ceb45a1d079653ff66b1a2a8ce2abb664', class: labelClasses }, this.label), this.renderRightIcon())));
218
+ return (h(ComponentType, { key: 'ef4f274fc66857b4d247449b4aba9a7f45da5eef', 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: '44d300a455e51718fdb2d2414ce472b3a9a3a393', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: 'ebd8528be9d2c7ccfba0cb75476823ac1deade68', class: labelClasses }, this.label), this.renderRightIcon())));
211
219
  }
212
220
  static get is() { return "eds-link"; }
213
221
  static get encapsulation() { return "shadow"; }
@@ -76,7 +76,7 @@ export class EdsLogo {
76
76
  }
77
77
  render() {
78
78
  const logoContent = this.getLogo();
79
- return (h("a", { key: '62d8a900a9836192aecc5333216006186677b2e1', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '54ef695a28d2d27aec7b0e37abb985b6550739d7', innerHTML: logoContent })));
79
+ return (h("a", { key: '5656cc942833ab3f5511ab634c502d694e982db7', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '3e0763fdd94b7624182af3aee50b314c81f064d6', innerHTML: logoContent })));
80
80
  }
81
81
  static get is() { return "eds-logo"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -38,6 +38,14 @@
38
38
  z-index: 50;
39
39
  }
40
40
 
41
+ .z-50 {
42
+ z-index: 50;
43
+ }
44
+
45
+ .z-9999999 {
46
+ z-index: 9999999;
47
+ }
48
+
41
49
  .max-w-full {
42
50
  max-width: 100%;
43
51
  }
@@ -224,4 +232,27 @@
224
232
  display: -webkit-box;
225
233
  -webkit-box-orient: vertical;
226
234
  -webkit-line-clamp: 4;
227
- }
235
+ }
236
+
237
+ @media (min-width: 750px) {
238
+ .md\:left-1\/2 {
239
+ left: 50%;
240
+ }
241
+ .md\:flex {
242
+ display: flex;
243
+ }
244
+ .md\:hidden {
245
+ display: none;
246
+ }
247
+ .md\:-translate-x-1\/2 {
248
+ --tw-translate-x: -50%;
249
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
250
+ }
251
+ .md\:-translate-y-1\/2 {
252
+ --tw-translate-y: -50%;
253
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
254
+ }
255
+ .md\:gap-y-12 {
256
+ row-gap: 0.75rem;
257
+ }
258
+ }
@@ -13,7 +13,7 @@ import { h } from "@stencil/core";
13
13
  export class EdsModal {
14
14
  constructor() {
15
15
  this.isOpen = false;
16
- this.title = '';
16
+ this.heading = '';
17
17
  this.truncate = true;
18
18
  this.truncateLines = '1';
19
19
  this.position = 'middle';
@@ -30,16 +30,16 @@ export class EdsModal {
30
30
  getModalPositionClasses() {
31
31
  switch (this.position) {
32
32
  case 'top':
33
- return 'left-1/2 top-20 -translate-x-1/2';
33
+ return 'md:left-1/2 top-20 md:-translate-x-1/2';
34
34
  case 'bottom':
35
- return 'left-1/2 bottom-20 -translate-x-1/2';
35
+ return 'md:left-1/2 bottom-20 md:-translate-x-1/2';
36
36
  case 'left':
37
37
  return 'left-20 top-1/2 -translate-y-1/2';
38
38
  case 'right':
39
39
  return 'right-20 top-1/2 -translate-y-1/2';
40
40
  case 'middle':
41
41
  default:
42
- return 'left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2';
42
+ return 'md:left-1/2 top-1/2 md:-translate-x-1/2 -translate-y-1/2';
43
43
  }
44
44
  }
45
45
  /**
@@ -52,7 +52,7 @@ export class EdsModal {
52
52
  category: 'ui-component',
53
53
  parentContext: null,
54
54
  tag: this.el.tagName.toLowerCase(),
55
- name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
55
+ name: ((_a = this.heading) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
56
56
  action: 'opened'
57
57
  });
58
58
  }
@@ -66,7 +66,7 @@ export class EdsModal {
66
66
  category: 'ui-component',
67
67
  parentContext: null,
68
68
  tag: this.el.tagName.toLowerCase(),
69
- name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
69
+ name: ((_a = this.heading) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
70
70
  action: 'closed'
71
71
  });
72
72
  }
@@ -99,9 +99,9 @@ export class EdsModal {
99
99
  render() {
100
100
  // Generate a unique id for the title so we can reference it for aria-labelledby.
101
101
  const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
102
- return (h("div", { key: '456972d43bddeec93053c1518ca35dff028f0416', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-50 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'f3b84d1086f70f7863691835fe8984a4ff091b8f', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
102
+ return (h("div", { key: '3965b74182a1015d34ebc0d5692ab89de44774e6', 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: 'c0df46234deb0945ba266e8f36a0b3944bd6d7bd', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
103
103
  ,
104
- onClick: () => this.close() })), h("div", { key: '5038d3564881f4580e63a1afd883affa0aee8750', class: `container max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '4ce4d6f11afc552579a35f23901bc79e2ae19274', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, h("span", { key: 'a9475d9cdcd4d3a1d68bce973f672621a30c53d4', id: titleId, class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.title), h("eds-button", { key: 'c1e32fb266333856de6f0e63757fca02778330a9', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), h("div", { key: '58b1d9a3228516a1de31a81c6cd3a2696c65ce5f', class: "pt-8" }, h("slot", { key: '0d81e88fcaa138bd746cc894543f264e4a3afb2f' })))));
104
+ onClick: () => this.close() })), h("div", { key: '7fd65a4651ca67101b3a3e08ffd439070ccb8a96', class: `container max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '80102734c692934c486fd2e2d707286dd5660c69', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, h("span", { key: 'b98138881f6eb4ee1fad3614eda4c91e5349b563', id: titleId, class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '82f08e8ec6cbcb291c5d984ae97622d364bff5d0', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), h("div", { key: '2ea2fc21a8b734c40b1de4a20025a50f7369d375', class: "pt-8" }, h("slot", { key: 'ca0fa40b4076af9eea37c6b088d26751173e815c' })))));
105
105
  }
106
106
  static get is() { return "eds-modal"; }
107
107
  static get encapsulation() { return "shadow"; }
@@ -117,7 +117,7 @@ export class EdsModal {
117
117
  }
118
118
  static get properties() {
119
119
  return {
120
- "title": {
120
+ "heading": {
121
121
  "type": "string",
122
122
  "mutable": false,
123
123
  "complexType": {
@@ -173,7 +173,7 @@ export class EdsPagination {
173
173
  }
174
174
  }
175
175
  render() {
176
- return (h("div", { key: '4ebae5738982b21456e2852babeef2f5e2b4b1e0' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '9c18413928a471adb2b6964c78ea3339f251c81b', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: '3d9d08eaaf7944ef1a6aba9b0912b7d9ebb58e28', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
176
+ return (h("div", { key: 'b33415e05457ccc78ea3744a1baa9affbf38ca4a' }, this.total > 0 && this.mode === 'default' && (h("p", { key: 'e555e94a3fd13cf0d57108bd2cca3fb97cd0c688', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: 'c63f1d5aa6154a23d714c74dcd9a0a75b68df579', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
177
177
  ? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
178
178
  : this.isFirstPage()
179
179
  ? '#'
@@ -12,7 +12,7 @@ export class EdsProgressBar {
12
12
  }
13
13
  render() {
14
14
  const progressValue = this.value;
15
- return (h("div", { key: '259c247cbf6269d1118b652c70cc45e6ea9192b5', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, h("div", { key: 'e6141a6aa1eb8d1f9562028d95f6dfffc2777b11', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
15
+ return (h("div", { key: '9a7fa42058034305b22818d464e7b633d7831d67', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, h("div", { key: '90b0ac9a538b575a30163c0dbbf437e1cfe8ce39', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
16
16
  }
17
17
  static get is() { return "eds-progress-bar"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class EdsRating {
39
39
  this.rating.emit(rating);
40
40
  }
41
41
  render() {
42
- return (h("div", { key: '34344f12d4ca8a80fe7c96537d417c199421e139', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
42
+ return (h("div", { key: '2ab4f3dbc4cc3dd5272143e99c67b23086b03e18', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
43
43
  const starRating = index + 1;
44
44
  const isSelected = starRating <= this.selectedRating;
45
45
  // Use the mapping text if available; otherwise, fall back to a generic label.
@@ -17,7 +17,7 @@ export class EdsSectionCore {
17
17
  }
18
18
  render() {
19
19
  const TagType = this.tag; // Set dynamic tag type (div or section)
20
- return (h(TagType, { key: '81d5d6f6010c56bb217b32fa520fdaf96e1c7adc' }, h("eds-section-heading", { key: 'c47dda41c2f553ef87f432109ead4bd0debcd99c', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '9276798e2c581440c46ff9914809e87203a86b1b' })));
20
+ return (h(TagType, { key: '39c4280156ca46b83538de499baa9b152360b1b4' }, h("eds-section-heading", { key: '34da742e606f0e9bb485faac8aba1519eccc8934', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '517b8ecc112565e8c6bb0bf85b02525deaa6f9df' })));
21
21
  }
22
22
  static get is() { return "eds-section-core"; }
23
23
  static get originalStyleUrls() {
@@ -9,6 +9,9 @@ import { h } from "@stencil/core";
9
9
  *
10
10
  * This component is suitable for structuring page sections with visually distinct and accessible headings.
11
11
  */
12
+ /**
13
+ * @internal
14
+ */
12
15
  export class EdsSectionHeading {
13
16
  constructor() {
14
17
  this.sectionTitle = undefined;
@@ -33,12 +36,12 @@ export class EdsSectionHeading {
33
36
  render() {
34
37
  const TagType = this.tag; // Dynamically set tag type for the container
35
38
  const HeadingTag = this.headingLevel; // Dynamically set heading level
36
- return (h(TagType, { key: '6741f5bbede7d44109c5e60f92290d4b2eda4d42', class: {
39
+ return (h(TagType, { key: '346654c0118e056276162b42723c6c163712ab4f', class: {
37
40
  'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
38
41
  container: this.withContainer,
39
42
  'pt-48': this.spacingLarge,
40
43
  'pt-28': !this.spacingLarge
41
- } }, h(HeadingTag, { key: 'cc65df919db1dc1d5725116ce1ab473319185901', class: this.getHeadingClass() }, this.sectionTitle)));
44
+ } }, h(HeadingTag, { key: 'c7d17fc22b3926495c799da0bc8bde7dc949e46a', class: this.getHeadingClass() }, this.sectionTitle)));
42
45
  }
43
46
  static get is() { return "eds-section-heading"; }
44
47
  static get properties() {
@@ -37,7 +37,7 @@ export class EdsSpinner {
37
37
  alignItems: 'center',
38
38
  justifyContent: 'center'
39
39
  };
40
- return (h(Host, { key: '49a825afb039ee46b26609eea60109e0a060c104' }, h("div", { key: '6445a4e7f1e7c553bdee660c42f1db0e011443f2', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '07feeb7736e6d306e2b7baf5d253b2ce96bb2c9e', class: "spinner", style: spinnerStyle }))));
40
+ return (h(Host, { key: '1e1e4ea2734fff8a680e55ca5163e69d2000a55d' }, h("div", { key: 'acf09f69d43404f317240c0d24e644ec0d046cd7', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '3728629fdff738a0b753cd499dc26052b1e3cb7b', class: "spinner", style: spinnerStyle }))));
41
41
  }
42
42
  static get is() { return "eds-spinner"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class EdsSwitch {
6
6
  return;
7
7
  }
8
8
  this.checked = !this.checked;
9
- this.change.emit(this.checked);
9
+ this.toggle.emit(this.checked);
10
10
  };
11
11
  this.checked = false;
12
12
  this.disabled = false;
@@ -16,11 +16,11 @@ export class EdsSwitch {
16
16
  render() {
17
17
  // Compute an accessible name based on state.
18
18
  const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
19
- return (h("div", { key: 'd9e216919a58d90017b6fec249e7fc811c4fb681', class: "switch-container" }, this.labelOff && h("span", { key: '161bca12a4c6eebf4240ea0bdd07fd1acba35228', class: "switch-label switch-label--off" }, this.labelOff), h("button", { key: '855477e89765d01d5a52f3d9db279a1e5c56ea9d', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
19
+ return (h("div", { key: '842d7ecb771ab848481c9f1f6a1aa2f5f04505a7', class: "switch-container" }, this.labelOff && h("span", { key: 'f20f4293896dcbde94346e82d10ed748bdeae0f6', class: "switch-label switch-label--off" }, this.labelOff), h("button", { key: 'ac485fe118bae7f6a42ddb9f7edeccba2224312c', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
20
20
  switch: true,
21
21
  'switch--checked': this.checked,
22
22
  'switch--disabled': this.disabled
23
- }, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '4486e5f54ee75b95fd174291e1f5d67e181f3243', class: "switch-handle" })), this.labelOn && h("span", { key: '702e5385f6e941dcb67eecdd766725c4b04b8b7c', class: "switch-label switch-label--on" }, this.labelOn)));
23
+ }, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '3701615162b3b8946fa5b9040e77dfa20b7de3fe', class: "switch-handle" })), this.labelOn && h("span", { key: 'b57bd428c7d6818bcec1f069a920a7aa2a2e776d', class: "switch-label switch-label--on" }, this.labelOn)));
24
24
  }
25
25
  static get is() { return "eds-switch"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -112,8 +112,8 @@ export class EdsSwitch {
112
112
  }
113
113
  static get events() {
114
114
  return [{
115
- "method": "change",
116
- "name": "change",
115
+ "method": "toggle",
116
+ "name": "toggle",
117
117
  "bubbles": true,
118
118
  "cancelable": true,
119
119
  "composed": true,
@@ -174,15 +174,15 @@ export class EdsTable {
174
174
  const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
175
175
  const paginatedRows = this.getPaginatedRows();
176
176
  const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
177
- return (h("div", { key: 'a9df6351c49bb17abebfaf3640c71a7c7d15cb61' }, this.searchEnabled && (h("div", { key: 'feb5708050593e791835456e6d2244332cee6062' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
177
+ return (h("div", { key: '43add2309d8e2c85c98676709cd87fc07e4de017' }, this.searchEnabled && (h("div", { key: '1213d8aaa8a2402bd1705e03375d17f570877d5e' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
178
178
  // @ts-ignore
179
- onInput: (event) => this.handleSearch(event) }))), h("div", { key: '88dcb3d9e984a77f54735fa352c811dbf4745838', class: "mt-20" }, h("table", { key: '32ff7b76066a96bce51f885e8339c258fdecd0c6', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: '9f4bbf0725c618c8c2f8a3b90d6d2f2a7f9c0186' }, h("tr", { key: 'd8f24a31aad07b667ae9cc06257ddddf529f8e31', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
179
+ onInput: (event) => this.handleSearch(event) }))), h("div", { key: 'a2ec6392ed99a527e4de46a9018bc1ea9b383ecb', class: "mt-20" }, h("table", { key: 'ef79ce872f0cb1439dd6a7987f24cac005ac23ea', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: '0853a09e45f748b4bc85e319cbb08efd97426617' }, h("tr", { key: '64e114ae3661a027e9ab744ba45801d98f2faee9', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
180
180
  var _a;
181
181
  return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, column));
182
- }))), h("tbody", { key: '932e2f9cbd51d1115eef42f8b1acb7bb58ccdab7' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
182
+ }))), h("tbody", { key: '1afd468551bab11221bbfc70d0f19f4e105e7432' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
183
183
  var _a;
184
184
  return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[column], column)));
185
- }))))))), this.shouldEnablePagination() && (h("div", { key: '6368d38cec298dc8efa1a790d6b0cb93357f0ae5', class: "mt-20" }, h("eds-pagination", { key: '2183eb4a6861a0e42538706bd0c9fe10a1e5d8bd', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
185
+ }))))))), this.shouldEnablePagination() && (h("div", { key: 'c415ded700580eec2464a72a1659bd8be5bcacb3', class: "mt-20" }, h("eds-pagination", { key: '81088574b7c7fd254e07761ceed6cd1d69c2f2ed', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
186
186
  }
187
187
  static get is() { return "eds-table"; }
188
188
  static get encapsulation() { return "shadow"; }