@ebrains/components 2.3.0 → 2.3.1

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 (545) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  2. package/dist/cjs/components-section.cjs.entry.js +1 -1
  3. package/dist/cjs/components.cjs.js +1 -1
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  5. package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
  6. package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
  7. package/dist/cjs/eds-accordion_36.cjs.entry.js +42 -47
  8. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  10. package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-footer.cjs.entry.js +4 -2
  12. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +7 -1
  14. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-icon-bin.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-clone.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-download.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-draft.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-edit.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-start.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-icon-view.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-modal.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  59. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  60. package/dist/cjs/eds-social-networks.cjs.entry.js +1 -1
  61. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  62. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  63. package/dist/cjs/eds-trl.cjs.entry.js +1 -1
  64. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  65. package/dist/cjs/loader.cjs.js +1 -1
  66. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  67. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  68. package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
  69. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  70. package/dist/cjs/svg-repository.cjs.entry.js +1 -1
  71. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  72. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  73. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  74. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  75. package/dist/collection/collection-manifest.json +14 -14
  76. package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.js +4 -4
  77. package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.js +1 -1
  78. package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.js +1 -1
  79. package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.stories.js +1 -1
  80. package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.js +4 -2
  81. package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.stories.js +1 -1
  82. package/dist/collection/{shared-ui → components}/eds-form/eds-form.js +9 -10
  83. package/dist/collection/{shared-ui → components}/eds-form/eds-form.stories.js +1 -1
  84. package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.js +1 -1
  85. package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.stories.js +1 -1
  86. package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.js +51 -1
  87. package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +1 -1
  88. package/dist/collection/{shared-ui → components}/eds-header/eds-header.js +4 -18
  89. package/dist/collection/{shared-ui → components}/eds-header/eds-header.stories.js +1 -1
  90. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  91. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  92. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  93. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  94. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  95. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  96. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  97. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  98. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  105. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  106. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  107. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  108. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  114. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
  127. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  128. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  129. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  130. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  131. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  132. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  133. package/dist/collection/components/eds-img/eds-img.js +2 -2
  134. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  135. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  136. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  137. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  138. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  139. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  140. package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
  141. package/dist/collection/components/eds-link/eds-link.js +1 -1
  142. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  143. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  144. package/dist/collection/components/eds-nps/eds-npm.stories.js +1 -1
  145. package/dist/collection/components/eds-nps/eds-nps.js +2 -2
  146. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  147. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  148. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  149. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  150. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  151. package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.js +1 -1
  152. package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.js +1 -1
  153. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  154. package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.js +1 -1
  155. package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.js +4 -4
  156. package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.stories.js +1 -1
  157. package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.js +2 -2
  158. package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.js +1 -1
  159. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  160. package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.js +2 -2
  161. package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.stories.js +1 -1
  162. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  163. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  164. package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.js +1 -1
  165. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  166. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  167. package/dist/collection/{shared-ui → components}/eds-user/eds-user.js +1 -1
  168. package/dist/collection/{shared-ui → components}/eds-user/eds-user.stories.js +1 -1
  169. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  170. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  171. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  172. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  173. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  174. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  175. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  176. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  177. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  178. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  179. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  180. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  181. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  182. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  183. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  184. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  185. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  186. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  187. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  188. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  189. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  190. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  191. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  192. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  193. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +2 -2
  194. package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +1 -1
  195. package/dist/components/components-section.js +1 -1
  196. package/dist/components/components.css +307 -0
  197. package/dist/components/components.esm.js +1 -1
  198. package/dist/components/correct-use-of-colors.js +1 -1
  199. package/dist/components/docs-palettes.js +1 -1
  200. package/dist/components/docs-tokens.js +1 -1
  201. package/dist/components/eds-card-section.js +1 -1
  202. package/dist/components/eds-cookies-preference.js +1 -1
  203. package/dist/components/eds-feedback.js +1 -1
  204. package/dist/components/eds-footer2.js +4 -2
  205. package/dist/components/eds-form.js +9 -10
  206. package/dist/components/eds-frame.js +1 -1
  207. package/dist/components/eds-fullscreen-menu.js +11 -3
  208. package/dist/components/eds-global-search.js +2 -2
  209. package/dist/components/eds-header.js +5 -10
  210. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  211. package/dist/components/eds-icon-arrow-right.js +1 -1
  212. package/dist/components/eds-icon-bin.js +1 -1
  213. package/dist/components/eds-icon-bluesky.js +1 -1
  214. package/dist/components/eds-icon-bookmark.js +1 -1
  215. package/dist/components/eds-icon-chevron-down.js +1 -1
  216. package/dist/components/eds-icon-chevron-left.js +1 -1
  217. package/dist/components/eds-icon-chevron-right.js +1 -1
  218. package/dist/components/eds-icon-chevron-up.js +1 -1
  219. package/dist/components/eds-icon-clone.js +1 -1
  220. package/dist/components/eds-icon-close.js +1 -1
  221. package/dist/components/eds-icon-copy.js +1 -1
  222. package/dist/components/eds-icon-download.js +1 -1
  223. package/dist/components/eds-icon-draft.js +1 -1
  224. package/dist/components/eds-icon-edit.js +1 -1
  225. package/dist/components/eds-icon-eu.js +1 -1
  226. package/dist/components/eds-icon-external.js +1 -1
  227. package/dist/components/eds-icon-facebook.js +1 -1
  228. package/dist/components/eds-icon-gitlab.js +1 -1
  229. package/dist/components/eds-icon-linkedin.js +1 -1
  230. package/dist/components/eds-icon-loader.js +1 -1
  231. package/dist/components/eds-icon-mastodon.js +1 -1
  232. package/dist/components/eds-icon-menu.js +1 -1
  233. package/dist/components/eds-icon-minus.js +1 -1
  234. package/dist/components/eds-icon-more.js +1 -1
  235. package/dist/components/eds-icon-paper.js +1 -1
  236. package/dist/components/eds-icon-plus.js +1 -1
  237. package/dist/components/eds-icon-portal.js +1 -1
  238. package/dist/components/eds-icon-private.js +1 -1
  239. package/dist/components/eds-icon-public.js +1 -1
  240. package/dist/components/eds-icon-search.js +1 -1
  241. package/dist/components/eds-icon-star.js +1 -1
  242. package/dist/components/eds-icon-start.js +1 -1
  243. package/dist/components/eds-icon-success.js +1 -1
  244. package/dist/components/eds-icon-thumbs-down.js +1 -1
  245. package/dist/components/eds-icon-thumbs-up.js +1 -1
  246. package/dist/components/eds-icon-tutorial.js +1 -1
  247. package/dist/components/eds-icon-twitter.js +1 -1
  248. package/dist/components/eds-icon-unknown.js +1 -1
  249. package/dist/components/eds-icon-updown.js +1 -1
  250. package/dist/components/eds-icon-user.js +1 -1
  251. package/dist/components/eds-icon-view.js +1 -1
  252. package/dist/components/eds-icon-youtube.js +1 -1
  253. package/dist/components/eds-img2.js +2 -2
  254. package/dist/components/eds-input-field2.js +2 -2
  255. package/dist/components/eds-input-footer2.js +1 -1
  256. package/dist/components/eds-input-label2.js +1 -1
  257. package/dist/components/eds-input-range2.js +1 -1
  258. package/dist/components/eds-input-search2.js +1 -1
  259. package/dist/components/eds-input-select2.js +2 -2
  260. package/dist/components/eds-input2.js +2 -2
  261. package/dist/components/eds-link2.js +1 -1
  262. package/dist/components/eds-logo2.js +1 -1
  263. package/dist/components/eds-modal.js +2 -2
  264. package/dist/components/eds-nps2.js +2 -2
  265. package/dist/components/eds-pagination2.js +1 -1
  266. package/dist/components/eds-progress-bar2.js +1 -1
  267. package/dist/components/eds-rating2.js +1 -1
  268. package/dist/components/eds-section-core2.js +1 -1
  269. package/dist/components/eds-section-heading2.js +2 -2
  270. package/dist/components/eds-social-networks2.js +1 -1
  271. package/dist/components/eds-spinner2.js +1 -1
  272. package/dist/components/eds-steps2.js +2 -2
  273. package/dist/components/eds-switch.js +2 -2
  274. package/dist/components/eds-tabs.js +2 -2
  275. package/dist/components/eds-tag2.js +1 -1
  276. package/dist/components/eds-timeline.js +1 -1
  277. package/dist/components/eds-toast-manager.js +1 -1
  278. package/dist/components/eds-tooltip2.js +1 -1
  279. package/dist/components/eds-trl.js +1 -1
  280. package/dist/components/eds-user.js +1 -1
  281. package/dist/components/incorrect-use-of-colors.js +1 -1
  282. package/dist/components/logo-space.js +1 -1
  283. package/dist/components/logo-variations-horizontal2.js +1 -1
  284. package/dist/components/logo-variations-tabs.js +1 -1
  285. package/dist/components/logo-variations-vertical2.js +1 -1
  286. package/dist/components/logo-wrong-usage.js +1 -1
  287. package/dist/components/p-004801b2.entry.js +1 -0
  288. package/dist/components/p-02648f82.entry.js +1 -0
  289. package/dist/components/{p-a258d382.entry.js → p-0798d50d.entry.js} +1 -1
  290. package/dist/components/p-0ec9dcf5.entry.js +1 -0
  291. package/dist/components/p-0fb8511d.entry.js +1 -0
  292. package/dist/components/p-127870d7.entry.js +1 -0
  293. package/dist/components/p-12e153fb.entry.js +1 -0
  294. package/dist/components/p-1f80e708.entry.js +1 -0
  295. package/dist/components/p-24683124.entry.js +1 -0
  296. package/dist/components/p-2bfcb3cf.entry.js +1 -0
  297. package/dist/components/{p-067a184b.entry.js → p-2d6ca1c5.entry.js} +1 -1
  298. package/dist/components/p-2efa0ba6.entry.js +1 -0
  299. package/dist/components/p-33a639b5.entry.js +1 -0
  300. package/dist/components/p-36b17bf2.entry.js +1 -0
  301. package/dist/components/{p-e7b7179f.entry.js → p-398255ff.entry.js} +1 -1
  302. package/dist/components/p-3c478e74.entry.js +1 -0
  303. package/dist/components/{p-ad0519b7.entry.js → p-447e436c.entry.js} +1 -1
  304. package/dist/components/p-44d33938.entry.js +1 -0
  305. package/dist/components/p-4995b8b2.entry.js +1 -0
  306. package/dist/components/p-53343ea1.entry.js +1 -0
  307. package/dist/components/p-54e29971.entry.js +1 -0
  308. package/dist/components/p-56447243.entry.js +1 -0
  309. package/dist/components/p-56cc4a15.entry.js +1 -0
  310. package/dist/components/p-5ddcec77.entry.js +1 -0
  311. package/dist/components/p-5e8142ed.entry.js +1 -0
  312. package/dist/components/p-70f5e9f5.entry.js +1 -0
  313. package/dist/components/p-714445de.entry.js +1 -0
  314. package/dist/components/p-7436a99a.entry.js +1 -0
  315. package/dist/components/{p-1297d926.entry.js → p-75b40e57.entry.js} +1 -1
  316. package/dist/components/{p-9385c5fd.entry.js → p-76330532.entry.js} +1 -1
  317. package/dist/components/p-772d6ca9.entry.js +1 -0
  318. package/dist/components/p-79044ab6.entry.js +1 -0
  319. package/dist/components/{p-c8cba3a9.entry.js → p-7b0496b1.entry.js} +1 -1
  320. package/dist/components/{p-37a3d3ba.entry.js → p-7c7aaa95.entry.js} +1 -1
  321. package/dist/components/p-81ba0feb.entry.js +1 -0
  322. package/dist/components/p-82b357f7.entry.js +1 -0
  323. package/dist/components/{p-c12b0af1.entry.js → p-838d6773.entry.js} +1 -1
  324. package/dist/components/p-84239973.entry.js +1 -0
  325. package/dist/components/p-85dfbfd3.entry.js +1 -0
  326. package/dist/components/{p-1fad228f.entry.js → p-963feadd.entry.js} +1 -1
  327. package/dist/components/p-a155c283.entry.js +1 -0
  328. package/dist/components/p-a4080044.entry.js +1 -0
  329. package/dist/components/p-abd40167.entry.js +1 -0
  330. package/dist/components/p-ae41414e.entry.js +1 -0
  331. package/dist/components/p-afb55d52.entry.js +1 -0
  332. package/dist/components/{p-b9b6ac74.entry.js → p-b471922f.entry.js} +1 -1
  333. package/dist/components/p-b4c2c58d.entry.js +9 -0
  334. package/dist/components/{p-9c68934f.entry.js → p-b522fa70.entry.js} +1 -1
  335. package/dist/components/p-b6fc1a7d.entry.js +1 -0
  336. package/dist/components/p-b8a36d0f.entry.js +1 -0
  337. package/dist/components/{p-d650c6c3.entry.js → p-b8b4c01e.entry.js} +1 -1
  338. package/dist/components/p-bb4633ec.entry.js +1 -0
  339. package/dist/components/p-bc59e5ff.entry.js +1 -0
  340. package/dist/components/p-cdabb63e.entry.js +1 -0
  341. package/dist/components/{p-c5d6c2a5.entry.js → p-ce3b6043.entry.js} +1 -1
  342. package/dist/components/p-d3fa440f.entry.js +1 -0
  343. package/dist/components/p-dacd8c26.entry.js +1 -0
  344. package/dist/components/p-ddec1f12.entry.js +1 -0
  345. package/dist/components/{p-7a34b267.entry.js → p-e2bc6329.entry.js} +1 -1
  346. package/dist/components/{p-b9bd1209.entry.js → p-e614c8e8.entry.js} +1 -1
  347. package/dist/components/p-e6819f4d.entry.js +1 -0
  348. package/dist/components/p-e8d0a2db.entry.js +1 -0
  349. package/dist/components/{p-06428b6c.entry.js → p-e9a6f693.entry.js} +1 -1
  350. package/dist/components/p-eaf5d057.entry.js +1 -0
  351. package/dist/components/p-eb57d477.entry.js +1 -0
  352. package/dist/components/p-efdc6fd7.entry.js +1 -0
  353. package/dist/components/p-f013c0ac.entry.js +1 -0
  354. package/dist/components/p-f1ead3b3.entry.js +1 -0
  355. package/dist/components/p-f227bac5.entry.js +1 -0
  356. package/dist/components/{p-dd34feaa.entry.js → p-f2b12631.entry.js} +1 -1
  357. package/dist/components/{p-c51b90c2.entry.js → p-fda3df86.entry.js} +1 -1
  358. package/dist/components/{p-219842c0.entry.js → p-fe2bb83e.entry.js} +1 -1
  359. package/dist/components/primary.js +1 -1
  360. package/dist/components/primary2.js +1 -1
  361. package/dist/components/secondary.js +1 -1
  362. package/dist/components/secondary2.js +7 -7
  363. package/dist/components/support.js +1 -1
  364. package/dist/components/support2.js +3 -3
  365. package/dist/components/svg-repository.js +1 -1
  366. package/dist/components/token-list2.js +1 -1
  367. package/dist/components/token-radii2.js +1 -1
  368. package/dist/components/token-ratios.js +1 -1
  369. package/dist/components/token-shadows2.js +1 -1
  370. package/dist/components/token-spacing.js +1 -1
  371. package/dist/components/token-typography.js +1 -1
  372. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  373. package/dist/esm/components-section.entry.js +1 -1
  374. package/dist/esm/components.js +1 -1
  375. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  376. package/dist/esm/docs-palettes.entry.js +1 -1
  377. package/dist/esm/docs-tokens.entry.js +1 -1
  378. package/dist/esm/eds-accordion_36.entry.js +42 -47
  379. package/dist/esm/eds-card-section.entry.js +1 -1
  380. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  381. package/dist/esm/eds-feedback.entry.js +1 -1
  382. package/dist/esm/eds-footer.entry.js +4 -2
  383. package/dist/esm/eds-frame.entry.js +1 -1
  384. package/dist/esm/eds-fullscreen-menu.entry.js +7 -1
  385. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  386. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  387. package/dist/esm/eds-icon-bin.entry.js +1 -1
  388. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  389. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  390. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  391. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  392. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  393. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  394. package/dist/esm/eds-icon-clone.entry.js +1 -1
  395. package/dist/esm/eds-icon-close.entry.js +1 -1
  396. package/dist/esm/eds-icon-copy.entry.js +1 -1
  397. package/dist/esm/eds-icon-download.entry.js +1 -1
  398. package/dist/esm/eds-icon-draft.entry.js +1 -1
  399. package/dist/esm/eds-icon-edit.entry.js +1 -1
  400. package/dist/esm/eds-icon-eu.entry.js +1 -1
  401. package/dist/esm/eds-icon-external.entry.js +1 -1
  402. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  403. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  404. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  405. package/dist/esm/eds-icon-loader.entry.js +1 -1
  406. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  407. package/dist/esm/eds-icon-menu.entry.js +1 -1
  408. package/dist/esm/eds-icon-minus.entry.js +1 -1
  409. package/dist/esm/eds-icon-more.entry.js +1 -1
  410. package/dist/esm/eds-icon-paper.entry.js +1 -1
  411. package/dist/esm/eds-icon-plus.entry.js +1 -1
  412. package/dist/esm/eds-icon-portal.entry.js +1 -1
  413. package/dist/esm/eds-icon-private.entry.js +1 -1
  414. package/dist/esm/eds-icon-public.entry.js +1 -1
  415. package/dist/esm/eds-icon-search.entry.js +1 -1
  416. package/dist/esm/eds-icon-star.entry.js +1 -1
  417. package/dist/esm/eds-icon-start.entry.js +1 -1
  418. package/dist/esm/eds-icon-success.entry.js +1 -1
  419. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  420. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  421. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  422. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  423. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  424. package/dist/esm/eds-icon-updown.entry.js +1 -1
  425. package/dist/esm/eds-icon-user.entry.js +1 -1
  426. package/dist/esm/eds-icon-view.entry.js +1 -1
  427. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  428. package/dist/esm/eds-modal.entry.js +2 -2
  429. package/dist/esm/eds-progress-bar.entry.js +1 -1
  430. package/dist/esm/eds-section-core_2.entry.js +3 -3
  431. package/dist/esm/eds-social-networks.entry.js +1 -1
  432. package/dist/esm/eds-timeline.entry.js +1 -1
  433. package/dist/esm/eds-toast-manager.entry.js +1 -1
  434. package/dist/esm/eds-trl.entry.js +1 -1
  435. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  436. package/dist/esm/loader.js +1 -1
  437. package/dist/esm/logo-space.entry.js +1 -1
  438. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  439. package/dist/esm/logo-variations-tabs.entry.js +1 -1
  440. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  441. package/dist/esm/svg-repository.entry.js +1 -1
  442. package/dist/esm/token-list_3.entry.js +3 -3
  443. package/dist/esm/token-ratios.entry.js +1 -1
  444. package/dist/esm/token-spacing.entry.js +1 -1
  445. package/dist/esm/token-typography.entry.js +1 -1
  446. package/dist/hydrate/index.js +147 -143
  447. package/dist/hydrate/index.mjs +147 -143
  448. package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
  449. package/dist/types/{shared-ui → components}/eds-header/eds-header.d.ts +0 -2
  450. package/dist/types/components.d.ts +8 -6
  451. package/package.json +1 -1
  452. package/dist/components/p-03714413.entry.js +0 -1
  453. package/dist/components/p-097665cb.entry.js +0 -1
  454. package/dist/components/p-1928711b.entry.js +0 -1
  455. package/dist/components/p-204f97de.entry.js +0 -1
  456. package/dist/components/p-20e385b8.entry.js +0 -1
  457. package/dist/components/p-290b3d61.entry.js +0 -1
  458. package/dist/components/p-2db9f80a.entry.js +0 -1
  459. package/dist/components/p-354857a8.entry.js +0 -1
  460. package/dist/components/p-3a295312.entry.js +0 -1
  461. package/dist/components/p-3ff1f198.entry.js +0 -1
  462. package/dist/components/p-404b4dec.entry.js +0 -1
  463. package/dist/components/p-422c08a9.entry.js +0 -1
  464. package/dist/components/p-44cc0966.entry.js +0 -1
  465. package/dist/components/p-473aeaa0.entry.js +0 -1
  466. package/dist/components/p-4b2d40d4.entry.js +0 -1
  467. package/dist/components/p-4faa0047.entry.js +0 -1
  468. package/dist/components/p-552125e3.entry.js +0 -1
  469. package/dist/components/p-5db8003b.entry.js +0 -1
  470. package/dist/components/p-5ea2afdf.entry.js +0 -1
  471. package/dist/components/p-5f2bb217.entry.js +0 -1
  472. package/dist/components/p-65d1c8e9.entry.js +0 -1
  473. package/dist/components/p-67823a16.entry.js +0 -1
  474. package/dist/components/p-69db1210.entry.js +0 -1
  475. package/dist/components/p-701dc6d8.entry.js +0 -1
  476. package/dist/components/p-71e9b1e9.entry.js +0 -1
  477. package/dist/components/p-71f4afdf.entry.js +0 -1
  478. package/dist/components/p-73daee37.entry.js +0 -1
  479. package/dist/components/p-77143afc.entry.js +0 -1
  480. package/dist/components/p-7a137d91.entry.js +0 -1
  481. package/dist/components/p-81cce4f8.entry.js +0 -1
  482. package/dist/components/p-84a04d37.entry.js +0 -1
  483. package/dist/components/p-8d66718e.entry.js +0 -1
  484. package/dist/components/p-9154e892.entry.js +0 -1
  485. package/dist/components/p-98501e25.entry.js +0 -1
  486. package/dist/components/p-98d79948.entry.js +0 -1
  487. package/dist/components/p-9992fbdb.entry.js +0 -1
  488. package/dist/components/p-a82fc224.entry.js +0 -1
  489. package/dist/components/p-b15b11de.entry.js +0 -9
  490. package/dist/components/p-b56a3fc9.entry.js +0 -1
  491. package/dist/components/p-c6f5d9df.entry.js +0 -1
  492. package/dist/components/p-c770c97b.entry.js +0 -1
  493. package/dist/components/p-cba7d276.entry.js +0 -1
  494. package/dist/components/p-cffb13fa.entry.js +0 -1
  495. package/dist/components/p-d3cbc8f9.entry.js +0 -1
  496. package/dist/components/p-d6a6879c.entry.js +0 -1
  497. package/dist/components/p-d9e02227.entry.js +0 -1
  498. package/dist/components/p-e3b89fab.entry.js +0 -1
  499. package/dist/components/p-e696531f.entry.js +0 -1
  500. package/dist/components/p-e8bc4649.entry.js +0 -1
  501. package/dist/components/p-ef86f330.entry.js +0 -1
  502. package/dist/components/p-f5470900.entry.js +0 -1
  503. package/dist/components/p-ff433e09.entry.js +0 -1
  504. /package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.css +0 -0
  505. /package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.css +0 -0
  506. /package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.css +0 -0
  507. /package/dist/collection/{shared-ui → components}/eds-form/eds-form.css +0 -0
  508. /package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.css +0 -0
  509. /package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.css +0 -0
  510. /package/dist/collection/{shared-ui → components}/eds-header/eds-header.css +0 -0
  511. /package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.css +0 -0
  512. /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.css +0 -0
  513. /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.js +0 -0
  514. /package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.css +0 -0
  515. /package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.css +0 -0
  516. /package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.css +0 -0
  517. /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.css +0 -0
  518. /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.js +0 -0
  519. /package/dist/collection/{shared-ui → components}/eds-user/eds-user.css +0 -0
  520. /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.d.ts +0 -0
  521. /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.d.ts +0 -0
  522. /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.d.ts +0 -0
  523. /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.stories.d.ts +0 -0
  524. /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.d.ts +0 -0
  525. /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.stories.d.ts +0 -0
  526. /package/dist/types/{shared-ui → components}/eds-form/eds-form.d.ts +0 -0
  527. /package/dist/types/{shared-ui → components}/eds-form/eds-form.stories.d.ts +0 -0
  528. /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.d.ts +0 -0
  529. /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.stories.d.ts +0 -0
  530. /package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -0
  531. /package/dist/types/{shared-ui → components}/eds-header/eds-header.stories.d.ts +0 -0
  532. /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.d.ts +0 -0
  533. /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.d.ts +0 -0
  534. /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.d.ts +0 -0
  535. /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.d.ts +0 -0
  536. /package/dist/types/{shared-ui → components}/eds-steps/eds-steps.d.ts +0 -0
  537. /package/dist/types/{shared-ui → components}/eds-steps/eds-steps.stories.d.ts +0 -0
  538. /package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.d.ts +0 -0
  539. /package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.d.ts +0 -0
  540. /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.d.ts +0 -0
  541. /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.stories.d.ts +0 -0
  542. /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.d.ts +0 -0
  543. /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.d.ts +0 -0
  544. /package/dist/types/{shared-ui → components}/eds-user/eds-user.d.ts +0 -0
  545. /package/dist/types/{shared-ui → components}/eds-user/eds-user.stories.d.ts +0 -0
@@ -50,7 +50,7 @@ export class EdsInput {
50
50
  render() {
51
51
  const withIcon = !!this.icon;
52
52
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
53
- return (h("div", { key: '4c49edfceefe448b6f5bb29284f0b757342a6003', 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'
53
+ return (h("div", { key: '069d8ed6f23b2d98bbc24b727cad0cbc94d1a956', 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
54
  ? {
55
55
  min: this.min,
56
56
  max: this.max,
@@ -61,7 +61,7 @@ export class EdsInput {
61
61
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
62
62
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
63
63
  ${this.error ? 'input-error' : ''}
64
- `, "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: 'df877332c68d4783d5f0f8d8beb94c1859cd00da', 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: '94f7d3d75f5c578c10ab72b6140785b0b5988a13', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
64
+ `, "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: '2295538938128173047a5c81166cbee3d652cf25', 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: '70a5bc0c9019c25499c4c65ece50ddb602eb3345', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
65
65
  }
66
66
  static get is() { return "eds-input"; }
67
67
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsInputFooter {
8
8
  this.link = undefined;
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '4c3c1cc26e2b003f49b3cfd1c2388833c305781b' }, this.error && this.errorMessage && (h("div", { key: '7e14e3a77c99ee2700fd0cd8cb1e738c11e34823', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '700bc9b58a15e985903fc91abe4e41847d1cf761', icon: "warning" }), h("p", { key: 'a90a0fb49221c15125a54a0413a926174c065319', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '24d7c4fb5de1bb54237282edf6e51a16f0475474', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '2f01a63b36409dfddd19416777f88008f358b1cb', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
11
+ return (h("div", { key: 'f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f' }, this.error && this.errorMessage && (h("div", { key: '780480b021c958a4d429b13a190ed630df98f539', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '3577ebdde2d337e393d7ae41b0b55d3eac046149', icon: "warning" }), h("p", { key: 'c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '57833b0f0f58d36773401eaa0f37fd820ebe094c', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '2330e747a9274c6b9bcadf5ae4a770cfbab78b27', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
12
12
  }
13
13
  static get is() { return "eds-input-footer"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class EdsInputLabel {
7
7
  this.disabled = false;
8
8
  }
9
9
  render() {
10
- return (h("label", { key: '51cf53579cea9effbf421c4f4ab45ef63f6770bf', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: '381c4e1e014d43f726e997767c76565a1979e54a' }, h("span", { key: '08102ef7990f262bf56b6f5bcf70e2ef6ecb0670', "aria-hidden": "true" }, "*"), h("span", { key: '6d3c6f3af5a06c5a1ee2245240cb3fbbef6cf9a8', class: "sr-only" }, "required")))));
10
+ return (h("label", { key: '4760fa1b6a66b4ba30b689e65acc9f66e944210d', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a' }, h("span", { key: '0c6f4ee8daab357ff4da750241c472b126cfbb98', "aria-hidden": "true" }, "*"), h("span", { key: 'ad18af56b0f20be3c9ee7280c0610c958adfdb87', class: "sr-only" }, "required")))));
11
11
  }
12
12
  static get is() { return "eds-input-label"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@ export class EdsInputRange {
45
45
  return this.inputElement;
46
46
  }
47
47
  render() {
48
- return (h("div", { key: 'c4ce20af554533837b8fc3f7bf69bd649e26b574', class: "relative flex flex-col items-start" }, h("input", { key: '924b247fd81481e648bbf44fec22185284014254', 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: 'a3acfa464938748480e259cac4376a2be3512e6e', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
48
+ return (h("div", { key: '7592e5f4c1154281fb0577af739451ea0f16dc17', class: "relative flex flex-col items-start" }, h("input", { key: '8d5d0b3b5b51665a340304ba56f6fd6b053d3c5f', 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: 'c040d2a7e6aae8662e33d393bf1e93b0c8c254dc', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
49
49
  }
50
50
  static get is() { return "eds-input-range"; }
51
51
  static get properties() {
@@ -66,7 +66,7 @@ export class EdsInputSearch {
66
66
  return this.inputElement;
67
67
  }
68
68
  render() {
69
- return (h("div", { key: 'b1232c04e55c9f0bd7b864271ca855a3de242a73', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: '67e51a49b994fc00cb48f2b55f54217097f4d837', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: 'a6526f68a35145631254e4a0380a1298242c592e', 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}`,
69
+ return (h("div", { key: 'e5065d821db5f66b4ddfccb84e911f8c9148d12c', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'e661107b6202d7529209c67622a9f27bb15de2fc', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '1633e9108da6b675f1bcbddbbcb88e67843dddbf', 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
  }
@@ -26,12 +26,12 @@ export class EdsInputSelect {
26
26
  const selectId = this.inputId || this.name;
27
27
  const placeholderText = this.placeholder || `Pick from the list`;
28
28
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
29
- return (h("div", { key: 'b28b21c38ed5848cf08c0bc626f4ce32eddfb775', class: "relative" }, h("select", { key: '727f578d43cf12568d3d3b35548a30972fc46300', id: selectId, name: this.name, class: {
29
+ return (h("div", { key: '640bbcca727ad0c511238335197bc533869f6229', class: "relative" }, h("select", { key: '75efd5a9c7951fce245a7ee8b89c35d712d06c08', id: selectId, name: this.name, class: {
30
30
  input: true,
31
31
  'input-error': this.error,
32
32
  'px-4': true,
33
33
  'py-2': true
34
- }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: '9283f69f3c723d65243d8f38b92ee2fcd16d187e', 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: '63a0a9fc049f10141697028195aa28abb8d246f2', 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: 'aa756ea1d279a03ca7919518a15cd63b368a20a0', class: "w-20 h-20", icon: "chevron-right" }))));
34
+ }, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: 'e8723f0f947dc8e07660a34d49eb769e4bebfd06', 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: '23531f90fcaa854a8abff796e2879648987a56b9', 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: '6e836b9606c1444d8e97b78ebe1ea4cf092070e3', class: "w-20 h-20", icon: "chevron-right" }))));
35
35
  }
36
36
  static get is() { return "eds-input-select"; }
37
37
  static get properties() {
@@ -96,7 +96,7 @@ export class EdsInputField {
96
96
  }
97
97
  render() {
98
98
  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 } : {}));
99
- return (h("div", { key: '8351609cb76699040d692f3a99746970a1498bea' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4" }, h("div", { class: "flex justify-between mb-4" }, 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 mb-4" }, 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' ? ((() => {
99
+ return (h("div", { key: '75e326788d214bcbdd0b4b5204ac309a3e76f6eb' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4" }, h("div", { class: "flex justify-between mb-4" }, 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 mb-4" }, 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' ? ((() => {
100
100
  var _a, _b, _c;
101
101
  const rangeProps = {
102
102
  name: inputOpts.name,
@@ -109,7 +109,7 @@ export class EdsInputField {
109
109
  const opt = this.parsedOptions;
110
110
  const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
111
111
  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 })));
112
- })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("div", { key: '171ca8dfbf4b30a62a05d00f5296b1aaa3d964bd', class: "mt-6" }, h("eds-input-footer", { key: 'c6b7d0a9dc574a5e0dba1e62ff77934e96b4dec1', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
112
+ })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("div", { key: '83d2deb40af000499d6d12e33f33b7435372ff30', class: "mt-6" }, h("eds-input-footer", { key: '21035705fd8ef6dbe8d208d4e0b88467a4d4cb09', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
113
113
  }
114
114
  static get is() { return "eds-input-field"; }
115
115
  static get encapsulation() { return "shadow"; }
@@ -236,7 +236,7 @@ export class EdsLink {
236
236
  const labelClasses = this.hideLabelOnSmallScreen
237
237
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
238
238
  : '';
239
- return (h("a", { key: 'c09fd68443e1c98a1bfb679b669f9fecfb349548', 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: '5bf88be39965ca8693daa611b4ca9a85cefb30d3', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && h("span", { key: 'd92b36812200d809cbccfd9da7f2387a7de80699', class: labelClasses }, this.label), this.renderRightIcon())));
239
+ return (h("a", { key: '5c190b2b079dfecb003883a8b25d3c258697c4d6', 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: 'f4e89354ea8e252a26c85a560af9e7cfed7f8287', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && h("span", { key: 'ca10c283dd14c3e3830baddec7ba193522a02e7c', class: labelClasses }, this.label), this.renderRightIcon())));
240
240
  }
241
241
  static get is() { return "eds-link"; }
242
242
  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: '550cb4d73702a6a7053adfb5ebe67ff4201e98ad', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '141b0faa05a2d51d3ca97242aa910e53e910ad9d', innerHTML: logoContent })));
79
+ return (h("a", { key: '735f3592da7eed337c528731c28c6e708bbfcf82', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '5db166d68cb6e193d3dbc2a8ba4b54eae99aac44', innerHTML: logoContent })));
80
80
  }
81
81
  static get is() { return "eds-logo"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -121,9 +121,9 @@ export class EdsModal {
121
121
  render() {
122
122
  // Generate a unique id for the title so we can reference it for aria-labelledby.
123
123
  const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
124
- return (h("div", { key: 'e0f35ad87e3b21b98d8d37640f660f2fd490d748', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'cd0bc54ff3e25545709c26f19b2a30f838423250', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
124
+ return (h("div", { key: '084e8a793a54d3b94e9936aea3dddff6c5dbf31c', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'f1ba9240bd0427010e6439e4113a72c723e76735', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
125
125
  ,
126
- onClick: () => this.close() })), h("div", { key: '314c45094d1f3b7d1b725341a3294fdca9732a26', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '8401bca8601d7681d641c04d16a4efe7ba1a4a9f', 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: '9a761bf7dc2a97d192a0d280533e6bbcba1871d2', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '631a15d8b010215d68243bcd43ec5c45899474bf', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '6718fd42a10f6f861fb910e1b32d42607cf8b7bf', class: "pt-8 px-20 py-20" }, h("slot", { key: 'ac9289dd32dcd985d79c882cddb3203b57f42101' })))));
126
+ onClick: () => this.close() })), h("div", { key: 'fdc9834811631f45218de181d8c8aac6437b6d8e', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '5c26633ad8dcccef085d8e44ae730d2a2aa8c8e8', 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: '469d306cad57cceebc01d7875bf7ff2b2677e25a', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '37234a6ba72ec0c2b02b245974b2902a18578f02', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '1b30473db862378b7d712b7a9b954a37ae61743f', class: "pt-8 px-20 py-20" }, h("slot", { key: 'e1ef78bbd750000172e3536f8d8b6584085869b6' })))));
127
127
  }
128
128
  static get is() { return "eds-modal"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  // eds-nps.stories.ts
2
2
  export default {
3
- title: 'Components/NPS',
3
+ title: 'Components/Net Promoter Score',
4
4
  component: 'eds-nps',
5
5
  argTypes: {
6
6
  question: {
@@ -62,12 +62,12 @@ export class EdsNps {
62
62
  render() {
63
63
  const count = this.max - this.min + 1;
64
64
  //onst fallback = 0;
65
- return (h("div", { key: '51e0d272693fd42d1f239f8498d9a5744dead8d7', class: "eds-nps" }, h("eds-input-label", { key: 'f9d3b65985e221f9608da3aba22cc1dc4dd54417', id: "nps-question", name: "nps-question", label: this.question }), h("div", { key: '00b22eff70fd1dd3d210e17aaef5df2057f99bb7', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
65
+ return (h("div", { key: '19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25', class: "eds-nps" }, h("eds-input-label", { key: '046239977d2dc639eabfc60a67df62011833a983', id: "nps-question", name: "nps-question", label: this.question }), h("div", { key: 'e296b8ff3a081f42263ee0c0a28ef3f304b1e1c0', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
66
66
  const val = this.min + i;
67
67
  const isSelected = val === this.selectedValue;
68
68
  const tabIndex = isSelected ? 0 : -1;
69
69
  return (h("div", { class: "grid-col-span-1", key: val }, h("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
70
- })), h("div", { key: '7289bd6476a2080be3c02011240e2493b84079e5', class: "flex justify-between mt-8" }, h("span", { key: 'ebfcebd9aa3d11cf298e44987debd8edef1f6e40', class: "f-ui-04 text-light ml-4" }, this.leftLabel), h("span", { key: '002f9878b267439af9f83f9ffd1b52eaef46b929', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
70
+ })), h("div", { key: '305bc5b2d162fc40fc56557291d37e29498563a2', class: "flex justify-between mt-8" }, h("span", { key: '7fe2191db8cacabed26f451ac0175f23ede3317e', class: "f-ui-04 text-light ml-4" }, this.leftLabel), h("span", { key: 'a85aca88d4de2897d7ba04578cf57a844c660675', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
71
71
  }
72
72
  static get is() { return "eds-nps"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -248,7 +248,7 @@ export class EdsPagination {
248
248
  }
249
249
  render() {
250
250
  const navigableIndex = -1; // Track index for keyboard navigation
251
- return (h("div", { key: 'bf34cb68555555ef984592b261929cfb5ef93048' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '47b8034e6fd839151cdaff04d4df43fec520ce40', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, h("span", { key: 'd9d340393777b7b6e808fa21d38f691f1002b363', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, h("li", { class: "mr-auto" }, this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, h("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
251
+ return (h("div", { key: '1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '87b18c6b1fc475e335f829a4f61b7a8883dc7b9e', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, h("span", { key: 'd5af6f58fc41d83c7e9519bbaa76fb31e6cbb522', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, h("li", { class: "mr-auto" }, this.useButtons ? (h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, h("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
252
252
  if (this.mode === 'default' && !this.isFirstPage()) {
253
253
  this.handlePageClick(event, (this.currentPage || 1) - 1);
254
254
  }
@@ -39,7 +39,7 @@ export class EdsProgressBar {
39
39
  ]
40
40
  .filter(Boolean)
41
41
  .join(' ');
42
- return (h("div", { key: '6a0e7cb42770cecd023f07cd26a3e2716a9c9905', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: '854743f0fc1b916ec24c7e657349871f2175fc64', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '74d46ff06e9b41d81563b49c1939a989e32877d5', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: '0c5925f73934b71e96c6d006c4f7b3a21d144b74', class: "text-default f-body-02" }, progressValue, "%"))));
42
+ return (h("div", { key: '38e64c698f6cf8c22a6ddf41476a6eda785e537e', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: 'a0a17695931c6e442d886ef773e2cee3a31ab720', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '6ee49e1cf553b0cc20a70a8b258a307e5282be97', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: '0485a3b6ce82ee2c309554e92c14a6dd03819bb2', class: "text-default f-body-02" }, progressValue, "%"))));
43
43
  }
44
44
  static get is() { return "eds-progress-bar"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -60,7 +60,7 @@ export class EdsRating {
60
60
  this.onSelect(next);
61
61
  }
62
62
  render() {
63
- return (h("div", { key: '764b3b37545e97f028423fd5760b882e6151f767', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index) => {
63
+ return (h("div", { key: '8dcde2afdc0db27d3f6be48f1d58cc7c7f88b0f0', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index) => {
64
64
  const starRating = index + 1;
65
65
  const isSelected = starRating <= this.selectedRating;
66
66
  // Use the mapping text if available; otherwise, fall back to a generic label.
@@ -20,7 +20,7 @@ export class EdsSectionCore {
20
20
  }
21
21
  render() {
22
22
  const TagType = this.tag; // Set dynamic tag type (div or section)
23
- return (h(TagType, { key: '4765a07e798f1a622c25ec145c31345b27e1815d' }, h("eds-section-heading", { key: 'a320ac532863eaabbc1901ab5d9e9d0c14ae7556', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '8de34d1949c0a7d0d83f977d18d36f435444401d' })));
23
+ return (h(TagType, { key: 'b27b48854fc7d537c131da2c23850b2b7b9b2368' }, h("eds-section-heading", { key: '7c3575d8c0295e2cd1c70a2748a25aa65d6892e6', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '66526792e818932d8e44ff927638560ce1b40cac' })));
24
24
  }
25
25
  static get is() { return "eds-section-core"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -36,12 +36,12 @@ export class EdsSectionHeading {
36
36
  render() {
37
37
  const TagType = this.tag; // Dynamically set tag type for the container
38
38
  const HeadingTag = this.headingLevel; // Dynamically set heading level
39
- return (h(TagType, { key: '960224968ba731050d2b208a07c1faddc386746b', class: {
39
+ return (h(TagType, { key: 'efba0650ab65807f560c5676ead78b19b94e8b18', class: {
40
40
  'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
41
41
  container: this.withContainer,
42
42
  'pt-48': this.spacingLarge,
43
43
  'pt-28': !this.spacingLarge
44
- } }, h(HeadingTag, { key: 'fc93452bfe1bac130654a187d7d42ee18f273147', class: this.getHeadingClass() }, this.sectionTitle)));
44
+ } }, h(HeadingTag, { key: '50e3a8d81b7fd5af96ef3a1dbb7e5bbacb73ef15', class: this.getHeadingClass() }, this.sectionTitle)));
45
45
  }
46
46
  static get is() { return "eds-section-heading"; }
47
47
  static get properties() {
@@ -51,7 +51,7 @@ export class EdsSocialNetworks {
51
51
  * Each social network link uses the `eds-link` component with specific classes and styles.
52
52
  */
53
53
  render() {
54
- return (h("nav", { key: '907adc08d4e02f34994a057146a60b734d6ab81b', "aria-label": "Social media" }, h("p", { key: 'a3620851f2e31d662a812ac74e831f023d2646a4', class: "f-ui-02" }, this.heading), h("ul", { key: 'b8fece03b5ed995a9dba78cf0445a4eb46787bdc', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": `EBRAINS on ${network.label}`, url: network.url, icon: network.icon, intent: "strong" })))))));
54
+ return (h("nav", { key: 'fd46b4205a2f03697d14a5a274698726aa9f406a', "aria-label": "Social media" }, h("p", { key: 'b2b5bacadc28417e948832562fbf413ed812aa1a', class: "f-ui-02" }, this.heading), h("ul", { key: '675682966b92c971be9afddc39c632070192da77', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": `EBRAINS on ${network.label}`, url: network.url, icon: network.icon, intent: "strong" })))))));
55
55
  }
56
56
  static get is() { return "eds-social-networks"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,5 @@
1
1
  export default {
2
- title: 'Shared Ui/Social Networks',
2
+ title: 'Components/Social Networks',
3
3
  component: 'eds-social-networks',
4
4
  argTypes: {
5
5
  title: {
@@ -71,7 +71,7 @@ export class EdsSpinner {
71
71
  alignItems: 'center',
72
72
  justifyContent: 'center'
73
73
  };
74
- return (h(Host, { key: 'dbf06a1430e3a69314ec016937a9b3ba89229353' }, h("div", { key: '12a51b0eed154fd2c6b6ae4ce586630a8f61164a', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '0e63b80c45efec7b226b5f4277fe00e4f7bc4f1b', class: "spinner", style: spinnerStyle }), this.message && h("p", { key: '8625d4589ec26c9513d1dc7a53fa17b9874fcf3c', class: "f-body-01" }, this.message))));
74
+ return (h(Host, { key: 'e4c2f4762d214028c2e97666040e05ad5651debf' }, h("div", { key: 'e12572cb0195a84402847b0fc723ad2198196661', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '6aa3b28a4e79951a5bbb46f6d7d845baf3761d14', class: "spinner", style: spinnerStyle }), this.message && h("p", { key: '5817378b525ecb8d8a211105b73a2db00067fbe3', class: "f-body-01" }, this.message))));
75
75
  }
76
76
  static get is() { return "eds-spinner"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,5 @@
1
1
  export default {
2
- title: 'Shared Ui/Splash Screen',
2
+ title: 'Components/Splash Screen',
3
3
  component: 'eds-splash-screen',
4
4
  argTypes: {
5
5
  inverse: {
@@ -94,6 +94,7 @@ export class EdsSteps {
94
94
  /** Render the semantic heading element as a clickable control only in linear mode */
95
95
  renderHeading(title, index) {
96
96
  const Tag = this.headingLevel;
97
+ const isOpen = this.activeStep === index;
97
98
  if (this.type === 'linear') {
98
99
  const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
99
100
  const onKey = (e) => {
@@ -105,10 +106,9 @@ export class EdsSteps {
105
106
  this.handleTitleClick(index);
106
107
  }
107
108
  };
108
- const isOpen = this.activeStep === index;
109
109
  return (h(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
110
110
  }
111
- return h(Tag, { class: "eds-steps__title" }, title);
111
+ return h(Tag, null, title);
112
112
  }
113
113
  render() {
114
114
  const steps = this.parsedSteps;
@@ -144,8 +144,8 @@ export class EdsSteps {
144
144
  "references": {
145
145
  "Step": {
146
146
  "location": "local",
147
- "path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/shared-ui/eds-steps/eds-steps.tsx",
148
- "id": "../../../packages/components/src/shared-ui/eds-steps/eds-steps.tsx::Step"
147
+ "path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/components/eds-steps/eds-steps.tsx",
148
+ "id": "../../../packages/components/src/components/eds-steps/eds-steps.tsx::Step"
149
149
  }
150
150
  }
151
151
  },
@@ -1,5 +1,5 @@
1
1
  export default {
2
- title: 'Shared Ui/Steps',
2
+ title: 'Components/Steps',
3
3
  component: 'eds-steps',
4
4
  argTypes: {
5
5
  type: {
@@ -146,8 +146,8 @@ export class EdsStepsV2 {
146
146
  "references": {
147
147
  "Step": {
148
148
  "location": "local",
149
- "path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/shared-ui/eds-steps-v2/eds-steps-v2.tsx",
150
- "id": "../../../packages/components/src/shared-ui/eds-steps-v2/eds-steps-v2.tsx::Step"
149
+ "path": "/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/src/components/eds-steps-v2/eds-steps-v2.tsx",
150
+ "id": "../../../packages/components/src/components/eds-steps-v2/eds-steps-v2.tsx::Step"
151
151
  }
152
152
  }
153
153
  },
@@ -1,6 +1,6 @@
1
1
  import { html } from "lit-html";
2
2
  export default {
3
- title: 'Shared Ui/Steps V2',
3
+ title: 'Components/Steps V2',
4
4
  component: 'eds-steps-v2',
5
5
  argTypes: {
6
6
  steps: {
@@ -45,11 +45,11 @@ export class EdsSwitch {
45
45
  : this.labelOff
46
46
  : 'Toggle switch'
47
47
  : undefined;
48
- return (h("div", { key: 'd73bf797be76e256e065ab8b4fbe68a44802d3f1', class: "switch-container" }, this.labelOff && (h("span", { key: 'f4897e3d9948358a82bd61ea26c86e0d2eba81b5', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), h("button", { key: 'a01753fce0fedbf8a25d2cd64c662da8e69fef95', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
48
+ return (h("div", { key: '34573e6f2b377e168039a13afb4d5fe981f575ad', class: "switch-container" }, this.labelOff && (h("span", { key: '1728e1aac88d275cd6bee0aaf50e93e3a421944d', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), h("button", { key: '5d35387a9bf808923bd94f5d64528cca1e4055d5', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
49
49
  switch: true,
50
50
  'switch--checked': this.checked,
51
51
  'switch--disabled': this.disabled
52
- }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: 'eee315ce803b246cbe73e9d42635cbaa775febdb', class: "switch-handle" })), this.labelOn && (h("span", { key: 'f1229ffea8041dea2237a032292a4465fc76e216', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
52
+ }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: 'd8e0e1e3b562b4ac894998641cb7c813578e1a3f', class: "switch-handle" })), this.labelOn && (h("span", { key: '86b56fbbc537e9f08d11a509a1cb0e19d8dc3c39', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
53
53
  }
54
54
  static get is() { return "eds-switch"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -170,12 +170,12 @@ export class EdsTabs {
170
170
  }
171
171
  }
172
172
  render() {
173
- return (h("div", { key: 'bab7b3d6a9e6e66ab6476827ecc06a3e3c7244be', id: `${this.identifier}` }, h("div", { key: 'e20639e1842936b6c1fe24b19ca7f94ccc09d18f', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, h("nav", { key: 'e3f4e385e1bfb1f5abc75697697ab9a6a8124b6b', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
173
+ return (h("div", { key: '29c8adfbd79bae86919e8b72f13d9a8a4d1c1d41', id: `${this.identifier}` }, h("div", { key: '94ec3243a35be9db63846b253133fd323fb3759c', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, h("nav", { key: '52c337db80f21714a7d3da26b21663c34f5dd836', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
174
174
  const TabComponent = 'button';
175
175
  const tabProps = this.getTabOptions(tab.active, index);
176
176
  const isActive = index === this.activeIndex;
177
177
  return (h(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
178
- }))), h("div", { key: 'f958fca5abaeeba0b6fcc900b91fa1309508dc57', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, h("slot", { name: `panel-${index}` })))))));
178
+ }))), h("div", { key: '9462805200c71ebac037ac5933c156eb9c25ed5c', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, h("slot", { name: `panel-${index}` })))))));
179
179
  }
180
180
  static get is() { return "eds-tabs"; }
181
181
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,5 @@
1
1
  export default {
2
- title: 'Shared Ui/Tabs',
2
+ title: 'Components/Tabs',
3
3
  component: 'eds-tabs',
4
4
  argTypes: {
5
5
  tabs: {
@@ -36,7 +36,7 @@ export class EdsTag {
36
36
  }
37
37
  render() {
38
38
  const classes = tagStyles({ intent: this.intent, size: this.size });
39
- return h("span", { key: 'a00f436391013091c78f15bc53d91b0b01d8f4bb', class: classes }, this.label);
39
+ return h("span", { key: '6a229183bdaf96687e1f71ca3938a22c1259546e', class: classes }, this.label);
40
40
  }
41
41
  static get is() { return "eds-tag"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class EdsTimeline {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h("div", { key: '32a281ea95b422dce623838fb46b2baf2362618d', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '8709096bd0e6826888ded5656a68e88a60229927', class: "relative" }, h("div", { key: '41fab313fc2d44e63a5b83b90c24650e8d8de74e', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: '8b386581105a89c677fe374e8248f67bf3ec07cd', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
44
+ return (h("div", { key: '118942ecc019d14e75c72cad982da248d8f47502', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '30621fd1cedf9e020c4bbbd47855a8669a5d3cca', class: "relative" }, h("div", { key: 'ed510b0473a63810866a92f3effb26aab6e9ccc2', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: 'bf5ab0b6d50749aac5d226abaec7321ae6c2d276', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
45
45
  ? [{ label: 'completed', style: 'accent' }]
46
46
  : [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), h("div", { class: "flex items-center justify-center relative" }, event.completed ? (h("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (h("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), h("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
47
47
  ? [{ label: 'completed', style: 'accent' }]
@@ -31,7 +31,7 @@ export class EdsToastManager {
31
31
  this.toasts = this.toasts.filter((t) => t.id !== id);
32
32
  }
33
33
  render() {
34
- return (h("div", { key: '52a933209ce89505ae72ab7f300fd052d03200ed', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
34
+ return (h("div", { key: 'a0c485caf1b9b9394e87d62fac915d6cc181ae3d', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
35
35
  }
36
36
  static get is() { return "eds-toast-manager"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class EdsTooltip {
19
19
  }
20
20
  render() {
21
21
  const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
22
- return (h("div", { key: 'c2ae55fbf9fefb2748db770d98f12f679022a416', class: "relative w-full inline-block group" }, h("slot", { key: '5151e3269cb39d3caba960eee7155a3d5171c8cd' }), h("div", { key: '8956683d968d77d88133dc231975d258aca3d1d3', class: `absolute ${positionClass}
22
+ return (h("div", { key: '67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b', class: "relative w-full inline-block group" }, h("slot", { key: 'b304174862dd4d5ca93418ecb0d2b4fc2c80427c' }), h("div", { key: 'fcd874d53d0e17b7d3be2c6552571f82fbde6506', class: `absolute ${positionClass}
23
23
  rounded-xs bg-strongest text-inverse
24
24
  f-ui-03-light pointer-events-none
25
25
  z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
@@ -41,7 +41,7 @@ export class EdsTrl {
41
41
  Application: { format: 'code' },
42
42
  'Current TRL Stage': { format: 'text' }
43
43
  };
44
- return (h("div", { key: 'f83fab1ad31bef37b5239c67e635d26d22714e3f', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: '594b47098606f772f043da8171a11d5dcbb0513f', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
44
+ return (h("div", { key: 'abe7bb234b34fbd1465ccfe852d703a8682b7e27', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: '261d7f8fe032e8a9df55b1fd3432aa4f0378e1fb', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
45
45
  }
46
46
  static get is() { return "eds-trl"; }
47
47
  static get properties() {
@@ -46,7 +46,7 @@ export class EdsUser {
46
46
  render() {
47
47
  const user = this.parsedUser;
48
48
  const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
49
- return (h("div", { key: '68836f7fc63986d1ef1e5d1775258358db3418c6', class: "block" }, h("div", { key: '3b5be3d2d700ce3e1a800c33adde9b55bb07fda0', class: "flex items-center" }, h("eds-dropdown", { key: 'f3f97f19aac315031f428d190f1e143429bcd860', ref: (el) => (this.dropdownEl = el), label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, h("div", { key: '6a6bccaa4e8b0e68460ac50e3edc8d9fc3612e00', class: "min-w-[280px] p-8" }, h("div", { key: '97a9b4d9c0e0873162103461a542cf401be06c2f', class: "flex gap-x-16", "data-dropdown-no-close": true }, h("eds-avatar", { key: 'f89cee9f0ad6549e60ebb3ade437d1dd0c2e6eb6', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), h("div", { key: 'b9fc649a35280ecebe57955b85844f3a78c4db04', class: "max-w-full" }, user.name && h("p", { key: 'b2914fca3ddabc4d12fa2c6cee83a98505fd110a', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: '68ec348104e36b6fbf9c5fc47e254f3cfc4ca85b', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: '3b7720aaa30597a49acf61b6c3ff0c1f1cc3bfd8', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: '28cdba1fb361b84e9cb0a7ce904ec39cf13d022e', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: 'c1cddbb24c72749c4ea07e2e0311da61af6e9886' })))))));
49
+ return (h("div", { key: '62bb8a684095f97b6105acdb5d9803c66edba913', class: "block" }, h("div", { key: '350ff5d7b4f47686f7b39662b176f24e719d54e3', class: "flex items-center" }, h("eds-dropdown", { key: 'e3b196b127572d038b5ae6bbf00330911ca41e94', ref: (el) => (this.dropdownEl = el), label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, h("div", { key: 'a311fd57839b87054afc7aca9c40ce5772b1350b', class: "min-w-[280px] p-8" }, h("div", { key: 'bc8c5b7147718def37bab1adb2715f9ff0074822', class: "flex gap-x-16", "data-dropdown-no-close": true }, h("eds-avatar", { key: 'c9207d4ecab0507981bb047ee6c59ee4400b5121', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), h("div", { key: 'c6ec78d935ee851ef5e8080bf30a7ff9c4603bf1', class: "max-w-full" }, user.name && h("p", { key: 'c39af63002f1449b049d4be13927da5d51599aca', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: 'd8eaa141490abb1ad917e2da03d4a588ef6d6779', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: '904aef6596a85ae438b98bd5ab67c7c7e2299d75', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: '0cd0a2d8cc59d8b054f36188b4c18182e6a7f919', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: 'a41332bcf086d01a458218b74a1812dc55911925' })))))));
50
50
  }
51
51
  static get is() { return "eds-user"; }
52
52
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,5 @@
1
1
  export default {
2
- title: 'Shared Ui/User',
2
+ title: 'Components/User',
3
3
  component: 'eds-user',
4
4
  argTypes: {
5
5
  user: {
@@ -33,7 +33,7 @@ export class ColorPrimaryPalette {
33
33
  ];
34
34
  }
35
35
  render() {
36
- return (h("ul", { key: '1ccc8d65b69795afe88b003e6aa1d6eb0f6a8a71', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
36
+ return (h("ul", { key: 'b51f8df9e8481654c410a4564554e6af65e5995c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
37
37
  }
38
38
  static get is() { return "color-primary-palette"; }
39
39
  }
@@ -58,7 +58,7 @@ export class ColorSecondaryPalette {
58
58
  this.show = undefined;
59
59
  }
60
60
  render() {
61
- return (h("ul", { key: '0c2fe4671a0754b591462dfdc91f8772eb1478c5', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
61
+ return (h("ul", { key: 'c7b2a9406709dc3584e8e6f6c57a79ea5a9974c3', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
62
62
  }
63
63
  static get is() { return "color-secondary-palette"; }
64
64
  static get properties() {
@@ -58,7 +58,7 @@ export class ColorSupportPalette {
58
58
  return 'text-default';
59
59
  }
60
60
  render() {
61
- return (h("ul", { key: '1bafc64afc8d77db69e1847fdf05d2f8ca2d3ee0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
61
+ return (h("ul", { key: '50f93b8bc9ee54e78eb23a21764afb0be5e3ea6c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
62
62
  // compute once
63
63
  const textClass = this.getTextColor(color.background);
64
64
  return (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), h("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
@@ -33,7 +33,7 @@ export class GradientPrimaryPalette {
33
33
  ];
34
34
  }
35
35
  render() {
36
- return (h("ul", { key: 'd32c7b63fb32b92f89a9220e5cd5ff8164865913', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
36
+ return (h("ul", { key: 'f3653cb822e88d5914f12a84342603ad3dfb6af0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
37
37
  background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
38
38
  } }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
39
39
  }