@ebrains/components 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/dist/cjs/components-section.cjs.entry.js +1 -1
  2. package/dist/cjs/components.cjs.js +1 -1
  3. package/dist/cjs/eds-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/eds-alert.cjs.entry.js +2 -2
  5. package/dist/cjs/{eds-avatar_34.cjs.entry.js → eds-avatar_28.cjs.entry.js} +494 -523
  6. package/dist/cjs/eds-breadcrumb.cjs.entry.js +145 -0
  7. package/dist/cjs/eds-card-desc_2.cjs.entry.js +77 -0
  8. package/dist/cjs/eds-card-generic.cjs.entry.js +92 -0
  9. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  10. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-gauge.cjs.entry.js +60 -0
  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-bluesky.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-pie.cjs.entry.js +106 -0
  51. package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-rating.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  54. package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-switch.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-tooltip.cjs.entry.js +32 -0
  57. package/dist/cjs/index-88c8039f.js +28 -4
  58. package/dist/cjs/loader.cjs.js +1 -1
  59. package/dist/cjs/token-spacing.cjs.entry.js +16 -0
  60. package/dist/collection/collection-manifest.json +1 -1
  61. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
  62. package/dist/collection/components/eds-alert/eds-alert.js +2 -2
  63. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  64. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  65. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  66. package/dist/collection/components/eds-button/eds-button.js +1 -1
  67. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  68. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  69. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  70. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  71. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  72. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  73. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  74. package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
  75. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  76. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  77. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  78. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  79. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  80. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  81. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  82. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  83. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  84. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  85. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  86. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  87. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  88. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  89. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  90. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  91. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  92. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  93. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  94. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  95. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  96. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  97. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  98. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  99. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  100. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  101. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  102. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  103. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  104. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  105. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  106. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  107. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  108. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  109. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  110. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  111. package/dist/collection/components/eds-img/eds-img.js +2 -2
  112. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  113. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  114. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  115. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  116. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  117. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  118. package/dist/collection/components/eds-input-field/eds-input-field.js +121 -109
  119. package/dist/collection/components/eds-link/eds-link.js +1 -1
  120. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  121. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  122. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  123. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  124. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  125. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  126. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  127. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  128. package/dist/collection/components/eds-switch/eds-switch.js +2 -2
  129. package/dist/collection/components/eds-table/eds-table.css +5 -0
  130. package/dist/collection/components/eds-table/eds-table.js +171 -22
  131. package/dist/collection/eds-docs-ui/components-section/functional/react.js +1 -1
  132. package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
  133. package/dist/collection/shared-ui/eds-form/eds-form.js +35 -3
  134. package/dist/collection/shared-ui/eds-steps/eds-steps.js +2 -2
  135. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +17 -0
  136. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +20 -2
  137. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  138. package/dist/components/components-section.js +1 -1
  139. package/dist/components/components.css +7 -0
  140. package/dist/components/components.esm.js +1 -1
  141. package/dist/components/eds-accordion2.js +2 -2
  142. package/dist/components/eds-alert2.js +2 -2
  143. package/dist/components/eds-avatar2.js +1 -1
  144. package/dist/components/eds-block-break2.js +1 -1
  145. package/dist/components/eds-breadcrumb.js +1 -1
  146. package/dist/components/eds-button2.js +1 -1
  147. package/dist/components/eds-card-desc2.js +1 -1
  148. package/dist/components/eds-card-project.js +1 -1
  149. package/dist/components/eds-card-tags.js +1 -1
  150. package/dist/components/eds-card-title2.js +1 -1
  151. package/dist/components/eds-card-tool.js +1 -1
  152. package/dist/components/eds-code-block2.js +1 -1
  153. package/dist/components/eds-dropdown2.js +2 -2
  154. package/dist/components/eds-footer2.js +2 -2
  155. package/dist/components/eds-form.js +15 -3
  156. package/dist/components/eds-gauge.js +1 -1
  157. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  158. package/dist/components/eds-icon-arrow-right.js +1 -1
  159. package/dist/components/eds-icon-bluesky.js +1 -1
  160. package/dist/components/eds-icon-bookmark.js +1 -1
  161. package/dist/components/eds-icon-chevron-down.js +1 -1
  162. package/dist/components/eds-icon-chevron-left.js +1 -1
  163. package/dist/components/eds-icon-chevron-right.js +1 -1
  164. package/dist/components/eds-icon-chevron-up.js +1 -1
  165. package/dist/components/eds-icon-close.js +1 -1
  166. package/dist/components/eds-icon-copy.js +1 -1
  167. package/dist/components/eds-icon-eu.js +1 -1
  168. package/dist/components/eds-icon-external.js +1 -1
  169. package/dist/components/eds-icon-facebook.js +1 -1
  170. package/dist/components/eds-icon-gitlab.js +1 -1
  171. package/dist/components/eds-icon-linkedin.js +1 -1
  172. package/dist/components/eds-icon-loader.js +1 -1
  173. package/dist/components/eds-icon-mastodon.js +1 -1
  174. package/dist/components/eds-icon-menu.js +1 -1
  175. package/dist/components/eds-icon-minus.js +1 -1
  176. package/dist/components/eds-icon-more.js +1 -1
  177. package/dist/components/eds-icon-paper.js +1 -1
  178. package/dist/components/eds-icon-plus.js +1 -1
  179. package/dist/components/eds-icon-portal.js +1 -1
  180. package/dist/components/eds-icon-private.js +1 -1
  181. package/dist/components/eds-icon-public.js +1 -1
  182. package/dist/components/eds-icon-search.js +1 -1
  183. package/dist/components/eds-icon-star.js +1 -1
  184. package/dist/components/eds-icon-success.js +1 -1
  185. package/dist/components/eds-icon-thumbs-down.js +1 -1
  186. package/dist/components/eds-icon-thumbs-up.js +1 -1
  187. package/dist/components/eds-icon-tutorial.js +1 -1
  188. package/dist/components/eds-icon-twitter.js +1 -1
  189. package/dist/components/eds-icon-unknown.js +1 -1
  190. package/dist/components/eds-icon-updown.js +1 -1
  191. package/dist/components/eds-icon-user.js +1 -1
  192. package/dist/components/eds-icon-youtube.js +1 -1
  193. package/dist/components/eds-img2.js +2 -2
  194. package/dist/components/eds-input-field2.js +18 -27
  195. package/dist/components/eds-input-footer2.js +1 -1
  196. package/dist/components/eds-input-label2.js +1 -1
  197. package/dist/components/eds-input-range2.js +1 -1
  198. package/dist/components/eds-input-search2.js +1 -1
  199. package/dist/components/eds-input-select2.js +2 -2
  200. package/dist/components/eds-input2.js +2 -2
  201. package/dist/components/eds-link2.js +1 -1
  202. package/dist/components/eds-logo2.js +1 -1
  203. package/dist/components/eds-modal.js +2 -2
  204. package/dist/components/eds-pagination2.js +1 -1
  205. package/dist/components/eds-progress-bar2.js +1 -1
  206. package/dist/components/eds-rating2.js +1 -1
  207. package/dist/components/eds-section-core2.js +1 -1
  208. package/dist/components/eds-section-heading2.js +2 -2
  209. package/dist/components/eds-spinner2.js +1 -1
  210. package/dist/components/eds-steps-v2.js +5 -3
  211. package/dist/components/eds-steps2.js +2 -2
  212. package/dist/components/eds-switch.js +2 -2
  213. package/dist/components/eds-table2.js +85 -25
  214. package/dist/components/eds-user.js +1 -1
  215. package/dist/components/p-023bc47c.entry.js +1 -0
  216. package/dist/components/p-11efb1d1.entry.js +1 -0
  217. package/dist/components/p-14679a86.entry.js +1 -0
  218. package/dist/components/p-158c95bc.entry.js +1 -0
  219. package/dist/components/p-177103fd.entry.js +1 -0
  220. package/dist/components/{p-bfc62d3e.entry.js → p-17d39d66.entry.js} +1 -1
  221. package/dist/components/p-19d586e6.entry.js +1 -0
  222. package/dist/components/p-1de8401b.entry.js +1 -0
  223. package/dist/components/{p-8ad05566.entry.js → p-1f5c19b9.entry.js} +1 -1
  224. package/dist/components/p-233d3577.entry.js +1 -0
  225. package/dist/components/p-321a950b.entry.js +1 -0
  226. package/dist/components/p-38c9aee7.entry.js +1 -0
  227. package/dist/components/p-42295abe.entry.js +1 -0
  228. package/dist/components/p-424e91b3.entry.js +1 -0
  229. package/dist/components/p-43cff423.entry.js +1 -0
  230. package/dist/components/p-45f21238.entry.js +1 -0
  231. package/dist/components/p-4bdf1589.entry.js +1 -0
  232. package/dist/components/p-4dcdd4d9.entry.js +1 -0
  233. package/dist/components/p-4fad9296.entry.js +1 -0
  234. package/dist/components/p-50f43dfd.entry.js +1 -0
  235. package/dist/components/p-563d56c0.entry.js +1 -0
  236. package/dist/components/p-5827fd52.entry.js +1 -0
  237. package/dist/components/{p-7af6b832.entry.js → p-590fb0e7.entry.js} +1 -1
  238. package/dist/components/p-5c5dfc4a.entry.js +1 -0
  239. package/dist/components/p-66f4cdd9.entry.js +1 -0
  240. package/dist/components/p-6dc6f729.entry.js +1 -0
  241. package/dist/components/p-6f9ab63c.entry.js +1 -0
  242. package/dist/components/p-7502b8b4.entry.js +1 -0
  243. package/dist/components/p-750e3ec8.entry.js +1 -0
  244. package/dist/components/p-8c0b0121.entry.js +1 -0
  245. package/dist/components/p-95518776.entry.js +1 -0
  246. package/dist/components/p-99d9bb29.entry.js +1 -0
  247. package/dist/components/p-9a4b5746.entry.js +1 -0
  248. package/dist/components/p-9c823b5e.entry.js +1 -0
  249. package/dist/components/p-9d64d1fd.entry.js +1 -0
  250. package/dist/components/p-ab4447f6.entry.js +1 -0
  251. package/dist/components/p-b073d78f.entry.js +1 -0
  252. package/dist/components/{p-8b016d76.entry.js → p-b5e64725.entry.js} +1 -1
  253. package/dist/components/p-b630e51a.entry.js +1 -0
  254. package/dist/components/p-c91b4eec.entry.js +1 -0
  255. package/dist/components/{p-0eeddc13.entry.js → p-d05a09df.entry.js} +1 -1
  256. package/dist/components/{p-84fd3e40.entry.js → p-d0b1e963.entry.js} +1 -1
  257. package/dist/components/p-d25364db.entry.js +1 -0
  258. package/dist/components/p-d3bb444a.entry.js +1 -0
  259. package/dist/components/p-d4f239d7.entry.js +1 -0
  260. package/dist/components/{p-a81cba86.entry.js → p-deb9bbed.entry.js} +1 -1
  261. package/dist/components/p-df772a35.entry.js +1 -0
  262. package/dist/components/p-e5113509.entry.js +1 -0
  263. package/dist/components/p-e8f0d7fc.entry.js +1 -0
  264. package/dist/components/{p-abb2ad00.entry.js → p-f189be4f.entry.js} +1 -1
  265. package/dist/components/p-f221eca2.entry.js +1 -0
  266. package/dist/components/p-f2416727.entry.js +1 -0
  267. package/dist/components/{p-50ea5b07.entry.js → p-f7716080.entry.js} +1 -1
  268. package/dist/components/p-fd85675b.entry.js +1 -0
  269. package/dist/components/{p-ea97a94e.entry.js → p-fe167c78.entry.js} +2 -2
  270. package/dist/components/p-ffccfeb6.entry.js +1 -0
  271. package/dist/esm/components-section.entry.js +1 -1
  272. package/dist/esm/components.js +1 -1
  273. package/dist/esm/eds-accordion.entry.js +2 -2
  274. package/dist/esm/eds-alert.entry.js +2 -2
  275. package/dist/esm/{eds-avatar_34.entry.js → eds-avatar_28.entry.js} +494 -517
  276. package/dist/esm/eds-breadcrumb.entry.js +141 -0
  277. package/dist/esm/eds-card-desc_2.entry.js +72 -0
  278. package/dist/esm/eds-card-generic.entry.js +88 -0
  279. package/dist/esm/eds-card-project.entry.js +1 -1
  280. package/dist/esm/eds-card-tags.entry.js +1 -1
  281. package/dist/esm/eds-card-tool.entry.js +1 -1
  282. package/dist/esm/eds-code-block.entry.js +1 -1
  283. package/dist/esm/eds-gauge.entry.js +56 -0
  284. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  285. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  286. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  287. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  288. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  289. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  290. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  291. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  292. package/dist/esm/eds-icon-close.entry.js +1 -1
  293. package/dist/esm/eds-icon-copy.entry.js +1 -1
  294. package/dist/esm/eds-icon-eu.entry.js +1 -1
  295. package/dist/esm/eds-icon-external.entry.js +1 -1
  296. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  297. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  298. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  299. package/dist/esm/eds-icon-loader.entry.js +1 -1
  300. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  301. package/dist/esm/eds-icon-menu.entry.js +1 -1
  302. package/dist/esm/eds-icon-minus.entry.js +1 -1
  303. package/dist/esm/eds-icon-more.entry.js +1 -1
  304. package/dist/esm/eds-icon-paper.entry.js +1 -1
  305. package/dist/esm/eds-icon-plus.entry.js +1 -1
  306. package/dist/esm/eds-icon-portal.entry.js +1 -1
  307. package/dist/esm/eds-icon-private.entry.js +1 -1
  308. package/dist/esm/eds-icon-public.entry.js +1 -1
  309. package/dist/esm/eds-icon-search.entry.js +1 -1
  310. package/dist/esm/eds-icon-star.entry.js +1 -1
  311. package/dist/esm/eds-icon-success.entry.js +1 -1
  312. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  313. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  314. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  315. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  316. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  317. package/dist/esm/eds-icon-updown.entry.js +1 -1
  318. package/dist/esm/eds-icon-user.entry.js +1 -1
  319. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  320. package/dist/esm/eds-pie.entry.js +102 -0
  321. package/dist/esm/eds-progress-bar.entry.js +1 -1
  322. package/dist/esm/eds-rating.entry.js +1 -1
  323. package/dist/esm/eds-section-core_2.entry.js +3 -3
  324. package/dist/esm/eds-spinner.entry.js +1 -1
  325. package/dist/esm/eds-switch.entry.js +2 -2
  326. package/dist/esm/eds-tooltip.entry.js +28 -0
  327. package/dist/esm/index-fdb33359.js +28 -4
  328. package/dist/esm/loader.js +1 -1
  329. package/dist/esm/token-spacing.entry.js +12 -0
  330. package/dist/hydrate/index.js +201 -148
  331. package/dist/hydrate/index.mjs +201 -148
  332. package/dist/types/components/eds-input-field/eds-input-field.d.ts +47 -72
  333. package/dist/types/components/eds-table/eds-table.d.ts +69 -0
  334. package/dist/types/components.d.ts +114 -78
  335. package/dist/types/shared-ui/eds-form/eds-form.d.ts +3 -0
  336. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +2 -0
  337. package/package.json +1 -1
  338. package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -403
  339. package/dist/components/p-04b4e9d0.entry.js +0 -1
  340. package/dist/components/p-0863352c.entry.js +0 -1
  341. package/dist/components/p-0d6434e1.entry.js +0 -1
  342. package/dist/components/p-0e94a89f.entry.js +0 -1
  343. package/dist/components/p-100909ce.entry.js +0 -1
  344. package/dist/components/p-124b8747.entry.js +0 -1
  345. package/dist/components/p-14a223fe.entry.js +0 -1
  346. package/dist/components/p-18ceadd2.entry.js +0 -1
  347. package/dist/components/p-26d6679b.entry.js +0 -1
  348. package/dist/components/p-2b1b2026.entry.js +0 -1
  349. package/dist/components/p-3c642a30.entry.js +0 -1
  350. package/dist/components/p-46619042.entry.js +0 -1
  351. package/dist/components/p-511b23ec.entry.js +0 -1
  352. package/dist/components/p-5462923d.entry.js +0 -1
  353. package/dist/components/p-6199b8c0.entry.js +0 -1
  354. package/dist/components/p-624e653e.entry.js +0 -1
  355. package/dist/components/p-6ba42d02.entry.js +0 -1
  356. package/dist/components/p-6e929acb.entry.js +0 -1
  357. package/dist/components/p-6ede7101.entry.js +0 -1
  358. package/dist/components/p-70bac015.entry.js +0 -1
  359. package/dist/components/p-822ac246.entry.js +0 -1
  360. package/dist/components/p-848506b8.entry.js +0 -1
  361. package/dist/components/p-85634ad2.entry.js +0 -1
  362. package/dist/components/p-8bdf5841.entry.js +0 -1
  363. package/dist/components/p-8ff39cef.entry.js +0 -1
  364. package/dist/components/p-affe2b55.entry.js +0 -1
  365. package/dist/components/p-b31591db.entry.js +0 -1
  366. package/dist/components/p-b7efd666.entry.js +0 -1
  367. package/dist/components/p-ba784274.entry.js +0 -1
  368. package/dist/components/p-c0b22803.entry.js +0 -1
  369. package/dist/components/p-cdd491f5.entry.js +0 -1
  370. package/dist/components/p-d268c96b.entry.js +0 -1
  371. package/dist/components/p-d437bae2.entry.js +0 -1
  372. package/dist/components/p-d456e649.entry.js +0 -1
  373. package/dist/components/p-dae8f66a.entry.js +0 -1
  374. package/dist/components/p-e1791844.entry.js +0 -1
  375. package/dist/components/p-e82edd4a.entry.js +0 -1
  376. package/dist/components/p-e9f608a8.entry.js +0 -1
  377. package/dist/components/p-f26fd186.entry.js +0 -1
  378. package/dist/components/p-fe1cba17.entry.js +0 -1
  379. package/dist/esm/eds-pagination_2.entry.js +0 -398
@@ -0,0 +1,141 @@
1
+ import { r as registerInstance, h, g as getElement } from './index-fdb33359.js';
2
+ import { p as parseData } from './sharedUtils-a550989c.js';
3
+
4
+ const edsBreadcrumbCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}";
5
+ const EdsBreadcrumbStyle0 = edsBreadcrumbCss;
6
+
7
+ const EdsBreadcrumb = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ /**
11
+ * Updates the maximum number of visible items and tracks if the screen is small.
12
+ */
13
+ this.updateScreenSize = () => {
14
+ const width = window.innerWidth;
15
+ if (width < 769) {
16
+ this.maxVisibleItems = 3;
17
+ }
18
+ else if (width <= 1024) {
19
+ this.maxVisibleItems = 3;
20
+ }
21
+ else if (width <= 1280) {
22
+ this.maxVisibleItems = 3;
23
+ }
24
+ else if (width <= 2200) {
25
+ this.maxVisibleItems = 4;
26
+ }
27
+ else {
28
+ this.maxVisibleItems = 6;
29
+ }
30
+ };
31
+ this.items = [];
32
+ this.intent = 'ghost';
33
+ this.parsedItems = [];
34
+ this.isSmallScreen = false;
35
+ this.maxVisibleItems = 6;
36
+ }
37
+ /**
38
+ * Watches for changes to the `items` prop and parses it.
39
+ */
40
+ parseItems(newValue) {
41
+ this.parsedItems = parseData(newValue);
42
+ }
43
+ /**
44
+ * Lifecycle method that runs when the component is about to be loaded.
45
+ * It parses the initial `items` prop value.
46
+ */
47
+ componentWillLoad() {
48
+ this.parseItems(this.items);
49
+ this.updateScreenSize();
50
+ window.addEventListener('resize', this.updateScreenSize);
51
+ }
52
+ disconnectedCallback() {
53
+ window.removeEventListener('resize', this.updateScreenSize);
54
+ }
55
+ /**
56
+ * Lifecycle method that runs when the component has fully loaded.
57
+ * It emits a custom event for each `eds-link` element contained within the breadcrumb.
58
+ */
59
+ componentDidLoad() {
60
+ var _a;
61
+ const links = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-link');
62
+ links === null || links === void 0 ? void 0 : links.forEach((link) => {
63
+ this.emitContext(link);
64
+ });
65
+ }
66
+ /**
67
+ * Emits a custom event called `parentContext` for a given link element.
68
+ * This event provides context information about the breadcrumb component.
69
+ *
70
+ * @param linkElement - The link element to which the event will be dispatched.
71
+ */
72
+ emitContext(linkElement) {
73
+ const event = new CustomEvent('parentContext', {
74
+ detail: {
75
+ componentName: this.el.tagName.toLowerCase(),
76
+ identifier: null
77
+ }
78
+ });
79
+ linkElement.dispatchEvent(event);
80
+ }
81
+ /**
82
+ * Returns breadcrumb items with potential truncation if there are too many.
83
+ * It inserts an ellipsis item where necessary.
84
+ */
85
+ getTruncatedItems() {
86
+ const totalItems = this.parsedItems.length;
87
+ const ellipsis = { label: '...', url: '', isHidden: true };
88
+ if (totalItems > this.maxVisibleItems) {
89
+ const firstItem = this.parsedItems[0];
90
+ const lastItems = this.parsedItems.slice(-2);
91
+ if (this.maxVisibleItems === 3) {
92
+ return [firstItem, ellipsis, ...lastItems];
93
+ }
94
+ else if (this.maxVisibleItems === 4) {
95
+ const middleItem = this.parsedItems[Math.floor(totalItems / 2)];
96
+ return [firstItem, middleItem, ellipsis, ...lastItems];
97
+ }
98
+ }
99
+ return this.parsedItems;
100
+ }
101
+ /**
102
+ * Helper to determine the display label and full label.
103
+ * If the label is longer than 15 characters and the item is not the current (last) item,
104
+ * we display a truncated version but use the full label for aria attributes.
105
+ */
106
+ getLabels(item, isCurrent) {
107
+ if (!isCurrent && item.label.length > 15) {
108
+ return { displayLabel: `${item.label.slice(0, 15)}...`, fullLabel: item.label };
109
+ }
110
+ return { displayLabel: item.label, fullLabel: item.label };
111
+ }
112
+ /**
113
+ * Render method for the breadcrumb component.
114
+ * It creates a navigation element with an ordered list of breadcrumb links.
115
+ * The last link is marked as the current page.
116
+ */
117
+ render() {
118
+ const itemsToRender = this.getTruncatedItems();
119
+ return (h("nav", { key: 'db769320b42e627fffd71676c1e0551646f1de70', "aria-label": "Breadcrumb" }, h("ol", { key: '6cef8ed43cabcee73cb4ad4fb26f809d0690c0ec', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
120
+ const isLast = index === itemsToRender.length - 1;
121
+ return (h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
122
+ const { fullLabel } = this.getLabels(item, isLast);
123
+ const linkIntent = isLast
124
+ ? this.intent === 'strong'
125
+ ? 'weak'
126
+ : this.intent === 'weak'
127
+ ? 'strong'
128
+ : this.intent
129
+ : this.intent;
130
+ return (h("eds-link", Object.assign({ label: fullLabel, url: item.url, intent: linkIntent, disabled: isLast, current: isLast, "aria-label": fullLabel, size: "small", "icon-small": "false" }, (isLast ? { 'aria-current': 'page' } : {}))));
131
+ })()) : (h("eds-link", { label: "...", url: "#", intent: "strong", current: false, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" })), !isLast && !item.isHidden && (h("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }))));
132
+ }))));
133
+ }
134
+ get el() { return getElement(this); }
135
+ static get watchers() { return {
136
+ "items": ["parseItems"]
137
+ }; }
138
+ };
139
+ EdsBreadcrumb.style = EdsBreadcrumbStyle0;
140
+
141
+ export { EdsBreadcrumb as eds_breadcrumb };
@@ -0,0 +1,72 @@
1
+ import { r as registerInstance, h } from './index-fdb33359.js';
2
+
3
+ const edsCardDescCss = ".f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}";
4
+ const EdsCardDescStyle0 = edsCardDescCss;
5
+
6
+ const EdsCardDesc = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.description = undefined;
10
+ this.truncate = true;
11
+ this.truncateLines = '3';
12
+ }
13
+ getTruncateClass() {
14
+ return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
15
+ }
16
+ render() {
17
+ return (h("p", { key: '2421ea469339e3d56fc5c0ebbec213eeb1a2a9cf', class: "text-light f-ui-03-light" }, h("span", { key: 'd024adda16a85bf2913803c06eb05af3b4af6bb9', class: this.getTruncateClass() }, this.description)));
18
+ }
19
+ };
20
+ EdsCardDesc.style = EdsCardDescStyle0;
21
+
22
+ const edsCardTitleCss = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}";
23
+ const EdsCardTitleStyle0 = edsCardTitleCss;
24
+
25
+ const EdsCardTitle = class {
26
+ constructor(hostRef) {
27
+ registerInstance(this, hostRef);
28
+ this.url = undefined;
29
+ this.titleClass = undefined;
30
+ this.headingLevel = 'h3';
31
+ this.externalLink = false;
32
+ this.cardTitle = undefined;
33
+ this.hierarchy = true;
34
+ }
35
+ /**
36
+ * Dynamically generate the title class based on the heading level.
37
+ */
38
+ getTitleClass() {
39
+ const levelMap = this.hierarchy
40
+ ? {
41
+ h1: '05',
42
+ h2: '05',
43
+ h3: '05',
44
+ h4: '05',
45
+ h5: '05',
46
+ h6: '06'
47
+ }
48
+ : {
49
+ h1: '01',
50
+ h2: '02',
51
+ h3: '03',
52
+ h4: '04',
53
+ h5: '05',
54
+ h6: '06'
55
+ };
56
+ return `f-heading-${levelMap[this.headingLevel]}`;
57
+ }
58
+ /*private getTag() {
59
+ if (this.url) {
60
+ return 'a';
61
+ }
62
+ return 'span';
63
+ }*/
64
+ render() {
65
+ //const Tag = this.getTag();
66
+ const Heading = this.headingLevel;
67
+ return (h(Heading, { key: '494d8b7ea90ccb93cf0395374951e90c89a59d3a', class: this.getTitleClass() }, h("a", { key: 'ab739472fd796767cd6e7ab4f4c09bcf24ec200a', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
68
+ }
69
+ };
70
+ EdsCardTitle.style = EdsCardTitleStyle0;
71
+
72
+ export { EdsCardDesc as eds_card_desc, EdsCardTitle as eds_card_title };
@@ -0,0 +1,88 @@
1
+ import { r as registerInstance, h, g as getElement } from './index-fdb33359.js';
2
+ import { p as parseData } from './sharedUtils-a550989c.js';
3
+ import { s as sendAnalytics } from './analytics-d99780e3.js';
4
+
5
+ const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
6
+ const EdsCardGenericStyle0 = edsCardGenericCss;
7
+
8
+ const EdsCardGeneric = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.parentContext = null; // Accepts the entire event detail or null
12
+ this.cardTitle = undefined;
13
+ this.url = undefined;
14
+ this.description = undefined;
15
+ this.image = undefined;
16
+ this.avatar = undefined;
17
+ this.shortAbbreviation = undefined;
18
+ this.headingLevel = 'h3';
19
+ this.tags = [];
20
+ this.tiny = false;
21
+ this.bg = true;
22
+ this.withHover = true;
23
+ this.hierarchy = true;
24
+ this.parsedImage = null;
25
+ }
26
+ componentWillLoad() {
27
+ if (this.image) {
28
+ try {
29
+ if (typeof this.image === 'object') {
30
+ // If image is already an object, assign it directly
31
+ this.parsedImage = this.image;
32
+ }
33
+ else if (typeof this.image === 'string') {
34
+ // If image is a string, try to parse it
35
+ this.parsedImage = JSON.parse(this.image);
36
+ }
37
+ }
38
+ catch (error) {
39
+ // eslint-disable-next-line
40
+ console.error('Error parsing image prop:', error);
41
+ this.parsedImage = {}; // Assign a fallback empty object in case of an error
42
+ }
43
+ }
44
+ }
45
+ handleParentContext(event) {
46
+ if (event.target !== this.el) {
47
+ // Ignore the event if it's not targeted at this specific instance
48
+ return;
49
+ }
50
+ //console.log(event.detail);
51
+ this.parentContext = event.detail;
52
+ event.stopPropagation();
53
+ }
54
+ /**
55
+ * Parses the `tags` prop into an array of link objects.
56
+ * Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
57
+ *
58
+ * @returns {any[]} Array of parsed link objects
59
+ */
60
+ get parsedTags() {
61
+ return parseData(this.tags);
62
+ }
63
+ articleClasses() {
64
+ return [
65
+ this.description ? (this.tiny ? 'min-h-120' : 'min-h-156') : 'h-auto',
66
+ this.bg ? 'bg-inverse' : 'bg-default',
67
+ this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
68
+ 'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
69
+ ].join(' ');
70
+ }
71
+ handleClick() {
72
+ var _a;
73
+ sendAnalytics({
74
+ category: 'ui-component',
75
+ parentContext: this.parentContext,
76
+ tag: this.el.tagName.toLowerCase(),
77
+ name: ((_a = this.cardTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
78
+ action: 'click'
79
+ });
80
+ }
81
+ render() {
82
+ return (h("article", { key: '440a448c841370838c0c66610bd1266b46f66541', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '292d93a9a993c6dcbfd276097a21d3984b1794c4', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '4b304cc3c65a42b3b1bcbebd9968c45e79cdabf7', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '40388913b1abb9308f42469956342efdbb48d508', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
83
+ }
84
+ get el() { return getElement(this); }
85
+ };
86
+ EdsCardGeneric.style = EdsCardGenericStyle0;
87
+
88
+ export { EdsCardGeneric as eds_card_generic };
@@ -184,7 +184,7 @@ const EdsCardProject = class {
184
184
  this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
185
185
  ].join(' ');
186
186
  const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
187
- return (h("article", { key: '7a69b9f5fc30ce389267a064e82aa2cf78b676d1', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '8495c7b6655418741b1d208f06f003d4ec2eaf79', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '803b274d099072e055c484e818732a48ff27ebab', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: '18b1d058c9d92e3df264c5f60cec0adc8f14f19e', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '1854001686cae69c50a97ed50534ae4329d3017a', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: 'a5e741ce22ace338988a1a0d6f0d5c2740eb685b', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'c1136aef565b3a35bee7d7c254434b6c06f3cf65', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '531cb24eafadd52397a138735436e0501b45cf76', class: imageClasses }, h("div", { key: 'c692a10bfa0032d4e43fe35090e38dde3e0401f3', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '490983736b4cd9de3b2cfbafe11be15802746afe', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
187
+ return (h("article", { key: '8b4707ad7689824c50db3112b5844e28beb31533', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '5cb7673378ab23826202b34034247145b7289bda', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '8111b523840c8b363bbb422c1f314ce07057ea92', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: 'a326e1384873edb9bfc86c33e3abeb95064cc8db', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '5e2de62642363533a950f3e923e3f4dfc64c56c1', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '424fed86ec4e714dc5f3644d85e5670d8be56d7f', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'b6961cc23835a9b3d1abae47e1c4224a29255164', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '69564e0c65f6422a6ccc3957a8080e7e494461bb', class: imageClasses }, h("div", { key: 'e47a21a5356459936b6f528a3aba50240851fcf2', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: 'f64af6387cdef28619aa8a0465d4a50ec3a95007', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
188
188
  }
189
189
  get el() { return getElement(this); }
190
190
  };
@@ -10,7 +10,7 @@ const EdsCardTags = class {
10
10
  this.tags = [];
11
11
  }
12
12
  render() {
13
- return (h("div", { key: '7547e8ffafc22884fb26e7b5cd1da49e588fc590', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
13
+ return (h("div", { key: '5da9fcbc472476a7b438451e563586643a818bc0', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
14
14
  }
15
15
  };
16
16
  EdsCardTags.style = EdsCardTagsStyle0;
@@ -66,7 +66,7 @@ const EdsCardTool = class {
66
66
  });
67
67
  }
68
68
  render() {
69
- return (h("article", { key: 'b3f0c0f3588304fb36f1c395b69b723edbfa8c95', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '12f9d1363b3d171912eb00117d99056065fbcb33', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '780c4b035e0fff1911ee4b8b04a0729cd182d877', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'a6878ba6bb2086a334282b10750234f4251c6334', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
69
+ return (h("article", { key: '465a4593a4d28c5bfcef7325be7674b6301bc275', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: '5d6c13f582bd89f03d95aa9027b83d8d4c4184ca', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '4872956b7d97e222abd8e429c73a7e97fe1f7a06', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '10c20ab24e836c06ba2da070cbcf21cf11537e17', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
70
70
  }
71
71
  get el() { return getElement(this); }
72
72
  };
@@ -2476,7 +2476,7 @@ const EdsCodeBlock = class {
2476
2476
  return this.code; // Fallback if language is not provided or unsupported
2477
2477
  }
2478
2478
  render() {
2479
- return (h("div", { key: '6c1a418d4cf1d02ea9216f9196cbbdbfdf7f7315', class: "relative bg-stronger rounded-sm" }, h("div", { key: '118cfa439e27f3b6c8ed7f3308535a744c1fac29', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '5c557849fb320c69ec830f7028f9e0ee7099d5f1', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: 'c11a154a82a8b3eaff418f235a7820209579554b', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: '9537d56544ca139ea847d34091c093c7f852f12c', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: '8cc48bb7da216db0e181587a33c25dc88b91bbbc', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: '7fd391c14a4344fd7e98ad5d32283a498085064d', innerHTML: this.getHighlightedCode() })))));
2479
+ return (h("div", { key: '7550f1c5e29a9be39614404d51dfec9a7aa194a9', class: "relative bg-stronger rounded-sm" }, h("div", { key: '8e654051ec6105e051af723e056b4151afc4305c', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, h("code", { innerHTML: this.getHighlightedCode() }))), h("span", { key: '1f558301727adb451524850b352844d7658f33a8', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, h("eds-icon-wrapper", { key: '7def1f38f949c32d6138d88a0a7edf9655852491', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), h("span", { key: '9eabcd54f3bcdc1c4627a7ca7e22fd38e9755ca6', class: "sr-only" }, "Copy Code")), this.language && (h("pre", { key: 'd15dce4b1692bf1956e1b3cb3586dde4d9561f1b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, h("code", { key: 'ad7eb7b40aaab69b6bc929c632ce4736fe3c39a5', innerHTML: this.getHighlightedCode() })))));
2480
2480
  }
2481
2481
  get el() { return getElement(this); }
2482
2482
  };
@@ -0,0 +1,56 @@
1
+ import { r as registerInstance, h } from './index-fdb33359.js';
2
+
3
+ const edsGaugeCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.text-default{color:var(--black)}";
4
+ const EdsGaugeStyle0 = edsGaugeCss;
5
+
6
+ const BACKGROUND_VARIANTS = {
7
+ default: '#f2f2f2',
8
+ dark: '#d8d8d8',
9
+ strong: '#666666',
10
+ black: '#000000'
11
+ };
12
+ const EdsGauge = class {
13
+ constructor(hostRef) {
14
+ registerInstance(this, hostRef);
15
+ this.size = 100;
16
+ this.valueMin = 0;
17
+ this.valueMax = 100;
18
+ this.value = 60;
19
+ this.thickness = 0.1;
20
+ this.variant = 'default';
21
+ }
22
+ render() {
23
+ // Clamp thickness to [0,1]
24
+ const thicknessClamped = Math.min(Math.max(this.thickness, 0.1), 0.2);
25
+ // Normalize value within [valueMin, valueMax]
26
+ const clamped = Math.min(Math.max(this.value, this.valueMin), this.valueMax);
27
+ const range = this.valueMax - this.valueMin || 1;
28
+ const ratio = (clamped - this.valueMin) / range;
29
+ // Use the smaller of width/height as diameter
30
+ const diameter = this.size;
31
+ const angle = ratio * 360;
32
+ const ringThickness = thicknessClamped * diameter;
33
+ const innerDiameter = diameter - ringThickness * 2;
34
+ const fontSize = diameter * 0.2;
35
+ // Determine background color for empty portion
36
+ const emptyColor = BACKGROUND_VARIANTS[this.variant] || BACKGROUND_VARIANTS.default;
37
+ const containerStyle = {
38
+ width: `${diameter}px`,
39
+ height: `${diameter}px`,
40
+ background: `conic-gradient(#00e766 0deg ${angle}deg, ${emptyColor} ${angle}deg 360deg)`
41
+ };
42
+ const maskStyle = {
43
+ width: `${innerDiameter}px`,
44
+ height: `${innerDiameter}px`,
45
+ top: `${ringThickness}px`,
46
+ left: `${ringThickness}px`
47
+ };
48
+ const textStyle = {
49
+ fontSize: `${fontSize}px`
50
+ };
51
+ return (h("div", { key: '2918e034b24749fd1fcad84f4a8614043c6a9ea2', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, h("div", { key: 'a24d393bfcdbd45019f7a560c4af0330c720af0c', class: "absolute bg-inverse rounded-full", style: maskStyle }), h("div", { key: '712fc9211b6e90afdf7063a4e6a6af74ec88dfdd', class: "absolute inset-0 flex items-center justify-center" }, h("span", { key: '88d3ffc3fea9ff77247b4ecbb4af3a6ac39c1cb4', class: "f-body-01 text-default", style: textStyle }, clamped))));
52
+ }
53
+ };
54
+ EdsGauge.style = EdsGaugeStyle0;
55
+
56
+ export { EdsGauge as eds_gauge };
@@ -7,7 +7,7 @@ const EdsIconArrowDiagonal = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '1c7405c12d1741c3dcfe117a04ea4ef5af200590', class: this.class, innerHTML: arrowDiagonal });
10
+ return h("span", { key: 'd178d36fd0888a40da0873bfd8abe862770e06e9', class: this.class, innerHTML: arrowDiagonal });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconArrowRight = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '557b38fd6253b4a29c4cf2ec2b9f79355ceca358', class: this.class, innerHTML: arrowRight });
10
+ return h("span", { key: '4a2b33b86753acab8270a45c7b250603b128bc88', class: this.class, innerHTML: arrowRight });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconBluesky = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '4eba69bfec926b7a3490feee15b5947a8ab8a7b9', class: this.class, innerHTML: bluesky });
10
+ return h("span", { key: '68917ac759cd684a6f3f3f67cb174d7291841070', class: this.class, innerHTML: bluesky });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconBookmark = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '5978393f7c5bdc6a1a23b85ded49503dacab3ff2', class: this.class, innerHTML: bookmark });
10
+ return h("span", { key: '61dd6e752db1c28d082d80aba71267f4e971492d', class: this.class, innerHTML: bookmark });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconChevronDown = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '6c98bd673a1562fda009e95e4e4562d1e7f0ccfd', class: this.class, innerHTML: chevronDown });
10
+ return h("span", { key: 'fa8022d27b91e909d4cd5522c6d0406be698a412', class: this.class, innerHTML: chevronDown });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconChevronLeft = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '8a2d0acc90ce3515e059818d704d7ce427cdd56e', class: this.class, innerHTML: chevronLeft });
10
+ return h("span", { key: 'c723d7f1bbd596063ae7e66123b8038af5320a54', class: this.class, innerHTML: chevronLeft });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconChevronRight = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '8632a351612a4be6e47d4ff483717a2bda99a008', class: this.class, innerHTML: chevronRight });
10
+ return h("span", { key: 'f770cd9151077e8708c76d2082613c65a20c420f', class: this.class, innerHTML: chevronRight });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconChevronUp = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: 'cc552d780188b225d16fd18ec33a22b0fbbd9660', class: this.class, innerHTML: chevronUp });
10
+ return h("span", { key: '40d18a840277f2aba5d314a36fca5c1f8fd99cc6', class: this.class, innerHTML: chevronUp });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconClose = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '907eaa5d70add8ad62e9f071aacce359682969fe', class: this.class, innerHTML: close });
10
+ return h("span", { key: '8e4dedef0fe684fdd6078db8005661e49207da55', class: this.class, innerHTML: close });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconCopy = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: 'e31c2cd317654999670526469111fff23f66a6b4', class: this.class, innerHTML: copy });
10
+ return h("span", { key: 'ff014a9761d8380a9fd8c97d3dd483b8d6fc786c', class: this.class, innerHTML: copy });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconEu = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '94c3dbf77824b2e51627b8e2a2de9b7cfb1f24e0', class: this.class, innerHTML: euSvg });
10
+ return h("span", { key: '3888f0338df2496c334d95dbcb52a0e39906362d', class: this.class, innerHTML: euSvg });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconExternal = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '099d0118c7a4bfa2d8b5c21f45162080b31a2f7c', class: this.class, innerHTML: arrowDiagonal });
10
+ return h("span", { key: '58d51f84a7b6326ef117a905f2c50d4fff6369c5', class: this.class, innerHTML: arrowDiagonal });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconFacebook = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '72eb0709ccbfc7830ab146f936a2587407feb0bb', class: this.class, innerHTML: facebook });
10
+ return h("span", { key: '3ea80799436c93b1c02ad177bd48910409aebf51', class: this.class, innerHTML: facebook });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconGitlab = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '280eb778fd7028ef60305eee614213f8a39a35f2', class: this.class, innerHTML: gitlabBlack });
10
+ return h("span", { key: 'a2f423ed9227463e27c0c698e6b4bba44cdc6263', class: this.class, innerHTML: gitlabBlack });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconLinkedin = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '5388b5cef5d643984157e0bed9263e83934dc7e3', class: this.class, innerHTML: linkedin });
10
+ return h("span", { key: '88852ca054a7e637efc7fe5b01f343a9b1798e41', class: this.class, innerHTML: linkedin });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconLoader = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '808ce738f7812024a52b4875ae3d9070bc75c02d', class: this.class, innerHTML: loader });
10
+ return h("span", { key: '283c8842f0f755074521fdcbae46969d87b86312', class: this.class, innerHTML: loader });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconMastodon = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: 'b998a568e6f0f7811a4984817177c76842127298', class: this.class, innerHTML: mastodon });
10
+ return h("span", { key: '5a5a90094c1f974dc7932654e97de04975e675bb', class: this.class, innerHTML: mastodon });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconMenu = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: 'f9dcfa2e4c9cc938f3fd994ca3637c80f0495028', class: this.class, innerHTML: menu });
10
+ return h("span", { key: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: menu });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconMinus = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '76fe78207051b486030fc1ef778d55ecfec2c3d2', class: this.class, innerHTML: minus });
10
+ return h("span", { key: 'e76f56aaba4a67096e6314e61d53bc2512941552', class: this.class, innerHTML: minus });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconMore = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: '546f5d7c76d57c07c34b6455cb1df4fea6c57302', class: this.class, innerHTML: more });
10
+ return h("span", { key: 'cb31d12146ff577195650b502f51005092404a30', class: this.class, innerHTML: more });
11
11
  }
12
12
  };
13
13
 
@@ -7,7 +7,7 @@ const EdsIconPaper = class {
7
7
  this.class = '';
8
8
  }
9
9
  render() {
10
- return h("span", { key: 'e9baa8e9d467104fdeac600678b800787ef7d736', class: this.class, innerHTML: paper });
10
+ return h("span", { key: 'abc728a23571f7cc24f6d9d1dc5c72c397983aa3', class: this.class, innerHTML: paper });
11
11
  }
12
12
  };
13
13