@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
@@ -8,7 +8,7 @@ export class EdsIconTwitter {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '1a7ad8d7cbef70822ebda2f152d8b537df1eaf27', class: this.class, innerHTML: twitter });
11
+ return h("span", { key: 'c2ee643b5da517a53bd97ec6263161927ad229a7', class: this.class, innerHTML: twitter });
12
12
  }
13
13
  static get is() { return "eds-icon-twitter"; }
14
14
  static get properties() {
@@ -8,7 +8,7 @@ export class EdsIconYoutube {
8
8
  this.class = '';
9
9
  }
10
10
  render() {
11
- return h("span", { key: '2236f8f5ede15d7eef54f2fd4fe6ca81c996166f', class: this.class, innerHTML: youtube });
11
+ return h("span", { key: '0a6abd6b62e24c07b4338f0f1f6febbec876791f', class: this.class, innerHTML: youtube });
12
12
  }
13
13
  static get is() { return "eds-icon-youtube"; }
14
14
  static get properties() {
@@ -57,10 +57,10 @@ export class EdsImg {
57
57
  imgOpts['loading'] = 'lazy';
58
58
  imgOpts['decoding'] = 'async';
59
59
  }
60
- return (h("div", { key: 'de3328e21b2b038984e74c08cd757cd85c7a7e01', class: {
60
+ return (h("div", { key: '13ed3aa346c99321c609e49ce045b6361921350f', class: {
61
61
  'items-center justify-center': true,
62
62
  'effect-bg-pattern': this.lazyload && this.showBg
63
- } }, h("picture", { key: '4e623a25c64ce1b2c09adf3519f12bde04280ba3' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: '6d87af22189017aa1e158c01a8295c98381a1ba1', ref: (el) => (this.img = el), class: {
63
+ } }, h("picture", { key: '56aa0ed8fd1ef8f9faf6ad576dd05edc34139c9b' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: '78e3ed9adcfe423d48388bf30140f4b70649faf7', ref: (el) => (this.img = el), class: {
64
64
  'effect-opacity object-cover object-center': true,
65
65
  'opacity-100': this.loaded,
66
66
  'opacity-0': !this.loaded
@@ -47,12 +47,12 @@ export class EdsInput {
47
47
  render() {
48
48
  const withIcon = !!this.icon;
49
49
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
50
- return (h("div", { key: 'bb88b782042a37d2fcbd8a93f03056199d822559', 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", { 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, class: `
50
+ return (h("div", { key: '5c66c14b19aa3d5fc37e7a77a2d1194fa0be9b8c', 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", { 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, class: `
51
51
  ${this.extraClass || ''}
52
52
  input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
53
53
  ${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
54
54
  ${this.error ? 'input-error' : ''}
55
- `, "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: '7b1cc490731455d00d500308458e6b2cd320fccf', 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: 'ce4d5548bc0fa1e681e3b74b03d071d73d8372d5', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
55
+ `, "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: '4326db3729dea8bbddb7a109a90424aa832aded7', 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: 'df2f5598aedd36b9cb2ce886fb8ea08da58dc5ff', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
56
56
  }
57
57
  static get is() { return "eds-input"; }
58
58
  static get properties() {
@@ -11,7 +11,7 @@ export class EdsInputFooter {
11
11
  this.link = undefined;
12
12
  }
13
13
  render() {
14
- return (h("div", { key: 'c3dbdb05ce4cc9244a1ebc9f3ce5718742924ea1', class: "space-y-4 mt-4" }, this.error && this.errorMessage && (h("div", { key: 'ccfde4960e1bec5697774de57da1a7948b5112c4', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: 'cc7171c96a7251c064f7ce527fe715aaac9a74e2', icon: "warning" }), h("p", { key: '99893066c8aeac76793fef4d5cf6d5b34dbbc25f', class: "f-ui-04 ml-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '55a6881d02d06440e6adac174a43a1cd59adf34b', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: 'bb84693685aedbe7ba28551a1d944c0e1d8eda57', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
14
+ return (h("div", { key: 'd5424778da81d6558246efe97917d3e3ccfa9aaa', class: "space-y-4 mt-4" }, this.error && this.errorMessage && (h("div", { key: 'e915fc1f4719f48eca5a831ac72913d2f91f633b', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '9cc87cfd4955766947a2581604fe1e072f8d82a9', icon: "warning" }), h("p", { key: '564a2397fb7e8185e43e1c2be216c76060e7498e', class: "f-ui-04 ml-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '24e0702df7e5c2fe4ef0cc6755159fefe76b70a7', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '9e3720a3ded9d755afd7755104df0942246f1fbe', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
15
15
  }
16
16
  static get is() { return "eds-input-footer"; }
17
17
  static get properties() {
@@ -10,7 +10,7 @@ export class EdsInputLabel {
10
10
  this.disabled = false;
11
11
  }
12
12
  render() {
13
- return (h("label", { key: '815b70d78f4004afb77a0c01772f750478dea1b3', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: 'de2cba1c7e89632b3aac40de573d730cf38a85c6' }, h("span", { key: '58326fb23edd4521b0f1c6e67366e7c589217387', "aria-hidden": "true" }, "*"), h("span", { key: 'e2208159652c9244e49c2c3d476a099a442d28ac', class: "sr-only" }, "required")))));
13
+ return (h("label", { key: 'd700690a67a8348836aec27d2ff4f4d4ee18b9c8', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: '9b52c053652db132a9bdb2d9fc64c569a529c2d9' }, h("span", { key: 'cd17268b6048ebaa70dc7f905fc7f7bf3ed3fa34', "aria-hidden": "true" }, "*"), h("span", { key: '352d7b5ef080336a5c7b53e0b710d5b0d7aa0efe', class: "sr-only" }, "required")))));
14
14
  }
15
15
  static get is() { return "eds-input-label"; }
16
16
  static get properties() {
@@ -45,7 +45,7 @@ export class EdsInputRange {
45
45
  return this.inputElement;
46
46
  }
47
47
  render() {
48
- return (h("div", { key: '9901432821b3dbdbf67e3b905c75acd7095ec8e9', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: '44023ef4a7e3fec22666103ccec3e2346aea885d', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), h("p", { key: 'b74e14f619acbe7b98966bac8ea2c5206d05ad62', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
48
+ return (h("div", { key: '5c55f65e2acd6f4554af7d8ba513c9d9dfd445eb', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: '4fcd0d3d978ddba7929958dd22a283c2ba61ee48', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), h("p", { key: 'c63b223e6af149efb68cabbe5228e77b09ca2168', id: `desc_${this.name}`, class: "block f-ui-05 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: '2d74c44bf05f4ccbe81df14a3af112a763b01b5f', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'c7c7c479801a9c5e6da0b616448f7b89ba25b040', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '8e4954dc67ae59d46f2e3423325eccda0944363a', 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: '27d6871df962e2bd27eac38b1a105142b1b68bab', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'b4b497cb435c673a550b169dea93fbc7006d0c5e', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '1419cd8f5b8791b5b812c57ba649567e1b6ec0bb', 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 || `Please select ${this.name}`;
28
28
  const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
29
- return (h("div", { key: '0e1bf5f1ebf30d675e0b4927e7812a305f58d2b9', class: "relative" }, h("select", { key: 'b92542caca12d77e3160baa84760b37bbbe172c7', id: selectId, name: this.name, class: {
29
+ return (h("div", { key: '80cbdab87f5baa21df5edc857685c3af4dee3a58', class: "relative" }, h("select", { key: '4e8f84fd9dbc63df7981898cadc24450f48aa92a', 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: 'fa911a07fd0053f6c7e5044aac3e6d0846344899', 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: 'afa3c7ad3c583dec2ffc2fd5087d7695509a2a25', 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: '1bb2a24fc9798a7359b9b45019b1432ff2e50e70', 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: '54b90339cae4c5c80711793a8c68c4587e0c2495', 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: '6c9f0a0606f1d6f282c756f84ace7618584d5fa3', 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: '4524af72468d3b37c01b0252d4b6b2bf7454514e', class: "w-20 h-20", icon: "chevron-right" }))));
35
35
  }
36
36
  static get is() { return "eds-input-select"; }
37
37
  static get properties() {
@@ -1,50 +1,27 @@
1
1
  import { h } from "@stencil/core";
2
- /**
3
- * `EdsInputField` is a versatile form input component that supports various input types and customization options.
4
- *
5
- * Key Features:
6
- * - Supports multiple input types (text, checkbox, radio, select, file) with corresponding behaviors and styling.
7
- * - Provides options for validation, including required fields and max length.
8
- * - Allows custom messages and error handling with `message` and `errorMessage` props.
9
- * - Offers additional features like icons, labels, links, and hints to enhance user experience.
10
- *
11
- * This component provides a structured and configurable form input with additional features to suit various input requirements.
12
- */
13
2
  export class EdsInputField {
14
3
  constructor() {
15
4
  this.handleNativeInput = (ev) => {
16
5
  var _a;
17
- // 1) Call any passed-in handler
18
6
  (_a = this.onInput) === null || _a === void 0 ? void 0 : _a.call(this, ev);
19
7
  if (this.shouldEmitValue()) {
20
- // 2) Re-emit on host so Vue/others can catch it
21
8
  const newValue = ev.target.value;
22
- this.hostEl.dispatchEvent(new CustomEvent('oninput', {
23
- detail: { value: newValue },
24
- bubbles: false,
25
- composed: true
26
- }));
9
+ this.edsinput.emit({ value: newValue });
27
10
  }
28
11
  };
29
12
  this.handleNativeChange = (ev) => {
30
13
  var _a;
31
- (_a = this.onChange) === null || _a === void 0 ? void 0 : _a.call(this, ev);
14
+ (_a = this.onChangeNative) === null || _a === void 0 ? void 0 : _a.call(this, ev);
32
15
  if (this.shouldEmitValue()) {
33
16
  const target = ev.target;
34
- this.hostEl.dispatchEvent(new CustomEvent('onchange', {
35
- detail: { value: target.value },
36
- bubbles: false,
37
- composed: true
38
- }));
17
+ const value = target.value;
18
+ this.edschange.emit({ value });
39
19
  }
40
20
  };
41
21
  this.name = undefined;
42
22
  this.inputId = undefined;
43
23
  this.placeholder = undefined;
44
24
  this.disabled = false;
45
- this.onChange = undefined;
46
- this.onInput = undefined;
47
- this.type = 'text';
48
25
  this.required = false;
49
26
  this.label = undefined;
50
27
  this.hint = undefined;
@@ -57,22 +34,22 @@ export class EdsInputField {
57
34
  this.value = undefined;
58
35
  this.maxLength = undefined;
59
36
  this.options = undefined;
37
+ this.type = 'text';
38
+ this.onChangeNative = undefined;
39
+ this.onInput = undefined;
60
40
  this.exposeValueEvents = true;
61
41
  }
62
42
  shouldEmitValue() {
63
- // Never emit for password fields, and respect the exposeValueEvents prop
64
43
  return this.exposeValueEvents && this.type !== 'password';
65
44
  }
66
45
  get parsedOptions() {
67
- if (Array.isArray(this.options)) {
46
+ if (Array.isArray(this.options))
68
47
  return this.options;
69
- }
70
- else if (typeof this.options === 'string') {
48
+ if (typeof this.options === 'string') {
71
49
  try {
72
50
  return JSON.parse(this.options);
73
51
  }
74
52
  catch (_a) {
75
- // eslint-disable-next-line
76
53
  console.warn('Invalid options format');
77
54
  return [];
78
55
  }
@@ -94,7 +71,8 @@ export class EdsInputField {
94
71
  icon: this.icon,
95
72
  checked: this.checked
96
73
  };
97
- return (h("div", { key: '5243586c0bf3acc86d42684dbcd0288b3360b00c', class: "space-y-8" }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: (typeof this.value === 'string' ? this.value.split(',') : []).includes(String(option.value)) })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' })), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChange, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
74
+ return (h("div", { key: '2ff82dedd17922c5cb72fc30b7f616c7fafa7b07', class: "space-y-8" }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' &&
75
+ this.value.split(',').includes(String(option.value)) })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' })), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
98
76
  var _a, _b, _c;
99
77
  const rangeProps = {
100
78
  name: inputOpts.name,
@@ -107,7 +85,7 @@ export class EdsInputField {
107
85
  const opt = this.parsedOptions;
108
86
  const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
109
87
  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 })));
110
- })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: 'e4e1f28766471d5451f342aa4d60d58fca2ddd01', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
88
+ })()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '4b8513dcd713d56953934b158ba1b9182e1497a8', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
111
89
  }
112
90
  static get is() { return "eds-input-field"; }
113
91
  static get encapsulation() { return "shadow"; }
@@ -135,7 +113,7 @@ export class EdsInputField {
135
113
  "optional": false,
136
114
  "docs": {
137
115
  "tags": [],
138
- "text": "The `name` attribute for the input element. Required for form submissions."
116
+ "text": "The `name` attribute of the input element. Required for form submission."
139
117
  },
140
118
  "attribute": "name",
141
119
  "reflect": false
@@ -152,7 +130,7 @@ export class EdsInputField {
152
130
  "optional": true,
153
131
  "docs": {
154
132
  "tags": [],
155
- "text": "The unique `id` for the input element. Defaults to the `name` attribute if not provided."
133
+ "text": "The `id` attribute of the internal input element. Defaults to `name` if not set."
156
134
  },
157
135
  "attribute": "input-id",
158
136
  "reflect": false
@@ -169,7 +147,7 @@ export class EdsInputField {
169
147
  "optional": true,
170
148
  "docs": {
171
149
  "tags": [],
172
- "text": "The placeholder text for the input element."
150
+ "text": "Placeholder text for the input field."
173
151
  },
174
152
  "attribute": "placeholder",
175
153
  "reflect": false
@@ -186,70 +164,12 @@ export class EdsInputField {
186
164
  "optional": false,
187
165
  "docs": {
188
166
  "tags": [],
189
- "text": "If `true`, disables the input field."
167
+ "text": "If `true`, the input is disabled."
190
168
  },
191
169
  "attribute": "disabled",
192
170
  "reflect": false,
193
171
  "defaultValue": "false"
194
172
  },
195
- "onChange": {
196
- "type": "unknown",
197
- "mutable": false,
198
- "complexType": {
199
- "original": "(event: Event) => void",
200
- "resolved": "(event: Event) => void",
201
- "references": {
202
- "Event": {
203
- "location": "global",
204
- "id": "global::Event"
205
- }
206
- }
207
- },
208
- "required": false,
209
- "optional": true,
210
- "docs": {
211
- "tags": [],
212
- "text": "The `onChange` event handler for the input element."
213
- }
214
- },
215
- "onInput": {
216
- "type": "unknown",
217
- "mutable": false,
218
- "complexType": {
219
- "original": "(event: InputEvent) => void",
220
- "resolved": "(event: InputEvent) => void",
221
- "references": {
222
- "InputEvent": {
223
- "location": "global",
224
- "id": "global::InputEvent"
225
- }
226
- }
227
- },
228
- "required": false,
229
- "optional": true,
230
- "docs": {
231
- "tags": [],
232
- "text": "The `onInput` event handler for the input element."
233
- }
234
- },
235
- "type": {
236
- "type": "string",
237
- "mutable": false,
238
- "complexType": {
239
- "original": "string",
240
- "resolved": "string",
241
- "references": {}
242
- },
243
- "required": false,
244
- "optional": false,
245
- "docs": {
246
- "tags": [],
247
- "text": "The type of the input element. Defaults to `text`.\nSupported types: `text`, `checkbox`, `radio`, `select`, `file`, `search`, etc."
248
- },
249
- "attribute": "type",
250
- "reflect": false,
251
- "defaultValue": "'text'"
252
- },
253
173
  "required": {
254
174
  "type": "boolean",
255
175
  "mutable": false,
@@ -262,7 +182,7 @@ export class EdsInputField {
262
182
  "optional": false,
263
183
  "docs": {
264
184
  "tags": [],
265
- "text": "If `true`, the input field is required."
185
+ "text": "If `true`, the input is required."
266
186
  },
267
187
  "attribute": "required",
268
188
  "reflect": false,
@@ -280,7 +200,7 @@ export class EdsInputField {
280
200
  "optional": true,
281
201
  "docs": {
282
202
  "tags": [],
283
- "text": "The label text for the input field."
203
+ "text": "Label text for the input field."
284
204
  },
285
205
  "attribute": "label",
286
206
  "reflect": false
@@ -297,7 +217,7 @@ export class EdsInputField {
297
217
  "optional": true,
298
218
  "docs": {
299
219
  "tags": [],
300
- "text": "A short hint displayed alongside the input field."
220
+ "text": "Optional hint displayed next to the label."
301
221
  },
302
222
  "attribute": "hint",
303
223
  "reflect": false
@@ -314,7 +234,7 @@ export class EdsInputField {
314
234
  "optional": true,
315
235
  "docs": {
316
236
  "tags": [],
317
- "text": "The icon name to be displayed within the input field."
237
+ "text": "Optional icon name to display inside the input."
318
238
  },
319
239
  "attribute": "icon",
320
240
  "reflect": false
@@ -331,7 +251,7 @@ export class EdsInputField {
331
251
  "optional": true,
332
252
  "docs": {
333
253
  "tags": [],
334
- "text": "A link object containing the URL and label to display alongside the input field."
254
+ "text": "Optional link associated with the input (for help or docs)."
335
255
  }
336
256
  },
337
257
  "message": {
@@ -346,7 +266,7 @@ export class EdsInputField {
346
266
  "optional": true,
347
267
  "docs": {
348
268
  "tags": [],
349
- "text": "An additional message displayed below the input field."
269
+ "text": "Message shown below the input (e.g., additional info or validation message)."
350
270
  },
351
271
  "attribute": "message",
352
272
  "reflect": false
@@ -363,7 +283,7 @@ export class EdsInputField {
363
283
  "optional": false,
364
284
  "docs": {
365
285
  "tags": [],
366
- "text": "If `true`, marks the input field as having an error."
286
+ "text": "If `true`, renders the input with error styles."
367
287
  },
368
288
  "attribute": "error",
369
289
  "reflect": false,
@@ -381,7 +301,7 @@ export class EdsInputField {
381
301
  "optional": true,
382
302
  "docs": {
383
303
  "tags": [],
384
- "text": "If `true`, the input field is checked (for `checkbox` or `radio` types)."
304
+ "text": "If `true`, the checkbox/radio is checked."
385
305
  },
386
306
  "attribute": "checked",
387
307
  "reflect": false
@@ -398,7 +318,7 @@ export class EdsInputField {
398
318
  "optional": true,
399
319
  "docs": {
400
320
  "tags": [],
401
- "text": "The error message displayed when validation fails."
321
+ "text": "Error message text shown when validation fails."
402
322
  },
403
323
  "attribute": "error-message",
404
324
  "reflect": false
@@ -415,7 +335,7 @@ export class EdsInputField {
415
335
  "optional": true,
416
336
  "docs": {
417
337
  "tags": [],
418
- "text": "The value of the input field."
338
+ "text": "The value of the input. Can be `string` or `number`."
419
339
  },
420
340
  "attribute": "value",
421
341
  "reflect": false
@@ -432,7 +352,7 @@ export class EdsInputField {
432
352
  "optional": true,
433
353
  "docs": {
434
354
  "tags": [],
435
- "text": "The maximum length of the input value (for `text` types)."
355
+ "text": "The maximum allowed length for text input."
436
356
  },
437
357
  "attribute": "max-length",
438
358
  "reflect": false
@@ -449,11 +369,70 @@ export class EdsInputField {
449
369
  "optional": true,
450
370
  "docs": {
451
371
  "tags": [],
452
- "text": "Options for `checkbox`, `radio`, or `select` inputs. Can be a JSON string or an array of objects."
372
+ "text": "Options for select, checkbox, radio, or range inputs.\nCan be a JSON string or an array of `{ value, label }` objects."
453
373
  },
454
374
  "attribute": "options",
455
375
  "reflect": false
456
376
  },
377
+ "type": {
378
+ "type": "string",
379
+ "mutable": false,
380
+ "complexType": {
381
+ "original": "string",
382
+ "resolved": "string",
383
+ "references": {}
384
+ },
385
+ "required": false,
386
+ "optional": false,
387
+ "docs": {
388
+ "tags": [],
389
+ "text": "Type of the input: e.g., `text`, `checkbox`, `select`, `range`, etc."
390
+ },
391
+ "attribute": "type",
392
+ "reflect": false,
393
+ "defaultValue": "'text'"
394
+ },
395
+ "onChangeNative": {
396
+ "type": "unknown",
397
+ "mutable": false,
398
+ "complexType": {
399
+ "original": "(event: Event) => void",
400
+ "resolved": "(event: Event) => void",
401
+ "references": {
402
+ "Event": {
403
+ "location": "import",
404
+ "path": "@stencil/core",
405
+ "id": "../../../node_modules/@stencil/core/internal/stencil-core/index.d.ts::Event"
406
+ }
407
+ }
408
+ },
409
+ "required": false,
410
+ "optional": true,
411
+ "docs": {
412
+ "tags": [],
413
+ "text": "Native `onChange` handler for React/Vue wrappers.\nEnables use without manually attaching DOM event listeners."
414
+ }
415
+ },
416
+ "onInput": {
417
+ "type": "unknown",
418
+ "mutable": false,
419
+ "complexType": {
420
+ "original": "(event: InputEvent) => void",
421
+ "resolved": "(event: InputEvent) => void",
422
+ "references": {
423
+ "InputEvent": {
424
+ "location": "global",
425
+ "id": "global::InputEvent"
426
+ }
427
+ }
428
+ },
429
+ "required": false,
430
+ "optional": true,
431
+ "docs": {
432
+ "tags": [],
433
+ "text": "Native `onInput` handler for React/Vue wrappers.\nEnables use without manually attaching DOM event listeners."
434
+ }
435
+ },
457
436
  "exposeValueEvents": {
458
437
  "type": "boolean",
459
438
  "mutable": false,
@@ -466,7 +445,7 @@ export class EdsInputField {
466
445
  "optional": false,
467
446
  "docs": {
468
447
  "tags": [],
469
- "text": "Control whether the component emits value events (`oninput` / `onchange`).\nDefaults to `true`. Password fields are always suppressed for security."
448
+ "text": "If `true`, emits `edsChange` and `edsInput` events for external usage.\nSet to `false` to disable value emission entirely."
470
449
  },
471
450
  "attribute": "expose-value-events",
472
451
  "reflect": false,
@@ -474,5 +453,38 @@ export class EdsInputField {
474
453
  }
475
454
  };
476
455
  }
456
+ static get events() {
457
+ return [{
458
+ "method": "edsinput",
459
+ "name": "edsinput",
460
+ "bubbles": true,
461
+ "cancelable": true,
462
+ "composed": true,
463
+ "docs": {
464
+ "tags": [],
465
+ "text": "Emits on every user input (key press, typing, etc.).\nUse `event.detail.value` to access the new value."
466
+ },
467
+ "complexType": {
468
+ "original": "{ value: string }",
469
+ "resolved": "{ value: string; }",
470
+ "references": {}
471
+ }
472
+ }, {
473
+ "method": "edschange",
474
+ "name": "edschange",
475
+ "bubbles": true,
476
+ "cancelable": true,
477
+ "composed": true,
478
+ "docs": {
479
+ "tags": [],
480
+ "text": "Emits on blur or change event (e.g., selecting an option, leaving the field).\nUse `event.detail.value` to access the final value."
481
+ },
482
+ "complexType": {
483
+ "original": "{ value: string }",
484
+ "resolved": "{ value: string; }",
485
+ "references": {}
486
+ }
487
+ }];
488
+ }
477
489
  static get elementRef() { return "hostEl"; }
478
490
  }
@@ -216,7 +216,7 @@ export class EdsLink {
216
216
  const labelClasses = this.hideLabelOnSmallScreen
217
217
  ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
218
218
  : '';
219
- return (h(ComponentType, { key: 'ee6e8eeb12df62ee801164877a357c075590ebae', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": computedAriaLabel, "aria-disabled": this.disabled ? 'true' : null, "aria-current": this.current ? 'page' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: '7b35e3ddca346ff09730aa332b9f47b6d6707721', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: 'fe4201815e3791e6e3d6da8856d7a7a9e0211cfc', class: labelClasses }, this.label), this.renderRightIcon())));
219
+ return (h(ComponentType, { key: '8c7ab8b80b9765e83e4e57d59ba1b45fe36f15b7', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": computedAriaLabel, "aria-disabled": this.disabled ? 'true' : null, "aria-current": this.current ? 'page' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: '94284b425a331f6a56a3e63db89fed5fa1a207c1', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: '7496886c7c975d6795633c36b9cc8d31673d5a4b', class: labelClasses }, this.label), this.renderRightIcon())));
220
220
  }
221
221
  static get is() { return "eds-link"; }
222
222
  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: 'a23e44227ebaa3b999c961e1354c268f2c916a6f', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: 'cba53a54e6d31aabfa62ddcd8aa53bda56b8b706', innerHTML: logoContent })));
79
+ return (h("a", { key: 'ab11d53e1f417221dcca2de441c7b3efa96f99a5', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '0d4a6b970788534d34d55b28fe83407ce7c4e00e', 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: '3a2446813eebf215f2c7aafc26d5688f58020c54', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: '7081928b01c09e692cac0f61dbc58b4f5578271d', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
124
+ return (h("div", { key: 'affa340307adc5bdd637696b56a59e3f73cbf7e9', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'e4359b32052a155f879070deea34fbca2fb67e3b', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
125
125
  ,
126
- onClick: () => this.close() })), h("div", { key: '0fc5f4716022cb01c2da9a28738586710625c70f', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '8e4bdffba2f69b18e8846e4c2709c5c423b0a99e', 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: '6e0d237fc95c1b74b1b0c0456848684578367302', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '3499de216da4ba38edb66cdcd688872f51b41aaf', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: 'f723dded796961e925cc2b046c31e7345fd3e159', class: "pt-8 px-20 py-20" }, h("slot", { key: 'ffe1213b65e60dfaf7c220e3c7e3dd8495706dcf' })))));
126
+ onClick: () => this.close() })), h("div", { key: 'ba95f463e8c807e2ac2e900b3167191908ca2f5d', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '1fc4649d6ba728745e4f1ed73e8fb8bdac6eda59', 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: '731e7cb6c7aaa36bcda8d1c32bd1b8da9d85f253', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '89657ac29b27ce173569353f3101e998cb756eec', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '2e39edaa1f5cc5389873e203c3e4294de8b56678', class: "pt-8 px-20 py-20" }, h("slot", { key: '0fb09f52100042fc5f20f5f443a8f5cff381d944' })))));
127
127
  }
128
128
  static get is() { return "eds-modal"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -173,7 +173,7 @@ export class EdsPagination {
173
173
  }
174
174
  }
175
175
  render() {
176
- return (h("div", { key: '1d53f69179791434224f152503c0b81c4cfc7cd3' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '00ae324b49d62a74feee9d1cde21d67cd726ecf0', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: 'dedf2ce2700eae9d1386b305ec1d1904b133f992', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
176
+ return (h("div", { key: '6377e0187e461bcbeac835dd7cb83e93ef199865' }, this.total > 0 && this.mode === 'default' && (h("p", { key: 'ec2a6b6a40c76352743d012c51cda5d7fe1137df', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: '3a23e3d156f87167b0dacb4085870958ce19e793', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
177
177
  ? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
178
178
  : this.isFirstPage()
179
179
  ? '#'
@@ -39,7 +39,7 @@ export class EdsProgressBar {
39
39
  ]
40
40
  .filter(Boolean)
41
41
  .join(' ');
42
- return (h("div", { key: '8760afff9f85f05fec52b0a7fb668661e49dc06f', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: '06165b69fe7e170f4f61d9f95b5a44342d4ee67a', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '0c48e65c5a6cb0b4dff7a7e3e248052cdc29957d', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: 'fc6f7396cf741ba18d1b5d065bdd1b7bfff12abe', class: "text-default f-body-02" }, progressValue, "%"))));
42
+ return (h("div", { key: '3360c1a9e61c83fee5312d007f6d2965a8983eba', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: '7210dc5931f08626b286c30ae790a3a864533632', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '7586cd593b4e851f4605ad33b96781841ee0b1aa', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: '21fa3de543e5e717ed4fd76c689aa47c3fa6a853', 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"; }
@@ -39,7 +39,7 @@ export class EdsRating {
39
39
  this.rating.emit(rating);
40
40
  }
41
41
  render() {
42
- return (h("div", { key: '685ac01e4db577b07d00030b0c25e10b9b0defa8', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
42
+ return (h("div", { key: '6686575f0b8b9017bf19b105208f6adbfd46dabd', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
43
43
  const starRating = index + 1;
44
44
  const isSelected = starRating <= this.selectedRating;
45
45
  // Use the mapping text if available; otherwise, fall back to a generic label.