@ebrains/vue 0.9.0-beta → 0.9.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/.eslintrc.json +18 -0
  2. package/LICENSE +21 -0
  3. package/README.md +5 -1
  4. package/package.json +1 -1
  5. package/project.json +9 -0
  6. package/src/generated/components.ts +374 -0
  7. package/src/generated/vue-component-lib/utils.ts +236 -0
  8. package/src/index.ts +1 -0
  9. package/src/vue-shims.d.ts +5 -0
  10. package/tsconfig.json +18 -0
  11. package/tsconfig.lib.json +27 -0
  12. package/vite.config.ts +71 -0
  13. package/analytics-44b1416b-3vYuu4Xs.mjs +0 -28
  14. package/analytics-44b1416b-ol77SdQE.js +0 -1
  15. package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +0 -4
  16. package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +0 -1
  17. package/arrow-right-9322ba8a-DBcxNU_p.js +0 -3
  18. package/arrow-right-9322ba8a-DHq-_PPe.mjs +0 -6
  19. package/bluesky-cc5edd2d-DaFQc-pr.js +0 -12
  20. package/bluesky-cc5edd2d-DfuDDO5h.mjs +0 -15
  21. package/bookmark-c200037c-CIcZ51ZQ.js +0 -14
  22. package/bookmark-c200037c-ClkCtyRY.mjs +0 -17
  23. package/chevron-down-6144c823-DWGlv9eV.mjs +0 -13
  24. package/chevron-down-6144c823-D_8976Ke.js +0 -10
  25. package/chevron-left-ca6c66e1-DANhLw_T.mjs +0 -12
  26. package/chevron-left-ca6c66e1-uCH5SUhm.js +0 -9
  27. package/chevron-right-b88ed2d4-C7dkTMvP.js +0 -3
  28. package/chevron-right-b88ed2d4-CgEZBvy7.mjs +0 -6
  29. package/chevron-up-c66bd477-ByW7R48t.js +0 -10
  30. package/chevron-up-c66bd477-CETJkshq.mjs +0 -13
  31. package/close-87fc0d63-Cbd-ScJr.js +0 -3
  32. package/close-87fc0d63-DtDU2HIU.mjs +0 -6
  33. package/color-2554aad6-CCcV5UJZ.mjs +0 -131
  34. package/color-2554aad6-D1hFGX4H.js +0 -1
  35. package/color-primary-palette_6.entry-B00J5gKq.js +0 -1
  36. package/color-primary-palette_6.entry-DJl4iXuX.mjs +0 -300
  37. package/components-section.entry-Bp5Ot0Sn.js +0 -162
  38. package/components-section.entry-CMHPm3bn.mjs +0 -351
  39. package/copy-03b72cb6-B_WCNQrG.mjs +0 -6
  40. package/copy-03b72cb6-CZAFAegx.js +0 -3
  41. package/correct-use-of-colors.entry-BRM7osKs.js +0 -1
  42. package/correct-use-of-colors.entry-BcZ8MzKb.mjs +0 -59
  43. package/docs-palettes.entry-BoEjXr5K.js +0 -1
  44. package/docs-palettes.entry-CkVHcQbL.mjs +0 -22
  45. package/docs-tokens.entry-C22LSw0P.js +0 -1
  46. package/docs-tokens.entry-D38mtdPC.mjs +0 -30
  47. package/eds-accordion.entry-B25YfdGD.js +0 -4
  48. package/eds-accordion.entry-ivh1zjpt.mjs +0 -48
  49. package/eds-alert.entry-C0p3qeqh.js +0 -739
  50. package/eds-alert.entry-DOCbYqvG.mjs +0 -825
  51. package/eds-app-root.entry-AYVIYcb1.mjs +0 -25
  52. package/eds-app-root.entry-DfPrDdc_.js +0 -1
  53. package/eds-avatar_24.entry-BcY_4aZT.mjs +0 -33279
  54. package/eds-avatar_24.entry-DBYYqNco.js +0 -31821
  55. package/eds-breadcrumb.entry-BTYLNHlm.mjs +0 -104
  56. package/eds-breadcrumb.entry-Drb48V7S.js +0 -1
  57. package/eds-card-desc_3.entry-BlQBUPMR.js +0 -1
  58. package/eds-card-desc_3.entry-DtsrKQS6.mjs +0 -83
  59. package/eds-card-generic.entry-Dtfs4XKl.mjs +0 -56
  60. package/eds-card-generic.entry-w0E2hhjp.js +0 -1
  61. package/eds-card-project.entry-Cek2GMTn.js +0 -1
  62. package/eds-card-project.entry-Cy_NC5av.mjs +0 -44
  63. package/eds-card-section.entry-D1yKOTXz.mjs +0 -30
  64. package/eds-card-section.entry-DLE2WAV_.js +0 -1
  65. package/eds-card-tags.entry-CmRv-oB4.js +0 -1
  66. package/eds-card-tags.entry-Q9xxbeAG.mjs +0 -13
  67. package/eds-card-tool.entry-DF_jWDUL.js +0 -1
  68. package/eds-card-tool.entry-Dgi1G1RH.mjs +0 -56
  69. package/eds-card-wrapper.entry-DZZOVhcJ.js +0 -1
  70. package/eds-card-wrapper.entry-k-aNj4Ms.mjs +0 -24
  71. package/eds-code-block.entry-BjrDmUCm.mjs +0 -1623
  72. package/eds-code-block.entry-DoUacOW1.js +0 -9
  73. package/eds-cookies-preference.entry-B7gp0J-S.js +0 -1
  74. package/eds-cookies-preference.entry-DkA2HKmI.mjs +0 -20
  75. package/eds-feedback.entry-C9Ir38bt.mjs +0 -53
  76. package/eds-feedback.entry-GNZz9ODR.js +0 -1
  77. package/eds-frame.entry-CcmLaVze.mjs +0 -67
  78. package/eds-frame.entry-XyeUo6pB.js +0 -1
  79. package/eds-icon-arrow-diagonal.entry-B0dxbX_o.mjs +0 -13
  80. package/eds-icon-arrow-diagonal.entry-o5Ev_oO7.js +0 -1
  81. package/eds-icon-arrow-right.entry-DUHmdP-V.js +0 -1
  82. package/eds-icon-arrow-right.entry-DpdjX5aS.mjs +0 -13
  83. package/eds-icon-bluesky.entry-Bv0-EDnj.js +0 -1
  84. package/eds-icon-bluesky.entry-DkSAjnck.mjs +0 -13
  85. package/eds-icon-bookmark.entry-Bjzq8uze.js +0 -1
  86. package/eds-icon-bookmark.entry-C_0B6YJU.mjs +0 -13
  87. package/eds-icon-chevron-down.entry-BERHGaTB.js +0 -1
  88. package/eds-icon-chevron-down.entry-DnKTBqKv.mjs +0 -13
  89. package/eds-icon-chevron-left.entry-Bo8LqkIz.js +0 -1
  90. package/eds-icon-chevron-left.entry-DT2At_f6.mjs +0 -13
  91. package/eds-icon-chevron-right.entry-BFoMlLTp.mjs +0 -13
  92. package/eds-icon-chevron-right.entry-DyqeLE1B.js +0 -1
  93. package/eds-icon-chevron-up.entry-Bpy8lbif.js +0 -1
  94. package/eds-icon-chevron-up.entry-JSrFaEET.mjs +0 -13
  95. package/eds-icon-close.entry-CzIoe2p3.mjs +0 -13
  96. package/eds-icon-close.entry-cabdCuVg.js +0 -1
  97. package/eds-icon-copy.entry-C08qTrZl.mjs +0 -13
  98. package/eds-icon-copy.entry-CvpG2Kxo.js +0 -1
  99. package/eds-icon-eu.entry-ChZ09s02.mjs +0 -13
  100. package/eds-icon-eu.entry-H2skG2J6.js +0 -1
  101. package/eds-icon-external.entry-DKbmbXLG.mjs +0 -13
  102. package/eds-icon-external.entry-DVlEoMZl.js +0 -1
  103. package/eds-icon-facebook.entry-4bvKyXXu.mjs +0 -13
  104. package/eds-icon-facebook.entry-COSHMM4W.js +0 -1
  105. package/eds-icon-gitlab.entry-BXLfky5G.mjs +0 -13
  106. package/eds-icon-gitlab.entry-D_zX1Jsy.js +0 -1
  107. package/eds-icon-linkedin.entry-CjXcA0DQ.js +0 -1
  108. package/eds-icon-linkedin.entry-_3H4M1ch.mjs +0 -13
  109. package/eds-icon-loader.entry-BA-W8oxC.js +0 -1
  110. package/eds-icon-loader.entry-Cp3B6C_B.mjs +0 -13
  111. package/eds-icon-mastodon.entry-Bmb_O0hs.mjs +0 -13
  112. package/eds-icon-mastodon.entry-DUFdG1dJ.js +0 -1
  113. package/eds-icon-menu.entry-DOdmibhy.mjs +0 -13
  114. package/eds-icon-menu.entry-Qg4r_OkP.js +0 -1
  115. package/eds-icon-minus.entry-8htg5ASo.mjs +0 -13
  116. package/eds-icon-minus.entry-Diem-PL4.js +0 -1
  117. package/eds-icon-more.entry-BY-mI4ec.js +0 -1
  118. package/eds-icon-more.entry-DyWgD7vJ.mjs +0 -13
  119. package/eds-icon-paper.entry-BI3DMxCS.mjs +0 -13
  120. package/eds-icon-paper.entry-D2mmnsXf.js +0 -1
  121. package/eds-icon-plus.entry-B8KAaEGT.js +0 -1
  122. package/eds-icon-plus.entry-Ccr7jseH.mjs +0 -13
  123. package/eds-icon-portal.entry-BLhT9_Nz.js +0 -1
  124. package/eds-icon-portal.entry-D2iNYdZW.mjs +0 -13
  125. package/eds-icon-private.entry-CK2gzDym.mjs +0 -13
  126. package/eds-icon-private.entry-ToYtRpET.js +0 -1
  127. package/eds-icon-public.entry-BOnTLyd7.js +0 -1
  128. package/eds-icon-public.entry-N8tks7_E.mjs +0 -13
  129. package/eds-icon-search.entry-C9tMq1XC.js +0 -1
  130. package/eds-icon-search.entry-DuG-zesK.mjs +0 -13
  131. package/eds-icon-star.entry-B-PeifnZ.mjs +0 -13
  132. package/eds-icon-star.entry-CHoursjw.js +0 -1
  133. package/eds-icon-success.entry-BJm--l5m.mjs +0 -13
  134. package/eds-icon-success.entry-ED6eDDgi.js +0 -1
  135. package/eds-icon-thumbs-down.entry-BzEfZ1AX.mjs +0 -13
  136. package/eds-icon-thumbs-down.entry-zjkeVdJJ.js +0 -1
  137. package/eds-icon-thumbs-up.entry-CZJlAqFh.js +0 -1
  138. package/eds-icon-thumbs-up.entry-DutZ0Kki.mjs +0 -13
  139. package/eds-icon-tutorial.entry-DRMLIdl4.mjs +0 -13
  140. package/eds-icon-tutorial.entry-D_9AQ-6-.js +0 -1
  141. package/eds-icon-twitter.entry-CJhiAxNu.mjs +0 -13
  142. package/eds-icon-twitter.entry-DDsRqP6N.js +0 -1
  143. package/eds-icon-unknown.entry-57uXdegM.mjs +0 -13
  144. package/eds-icon-unknown.entry-7Mmqc2BG.js +0 -1
  145. package/eds-icon-updown.entry-BwdgdGgR.mjs +0 -13
  146. package/eds-icon-updown.entry-b0BvWM4f.js +0 -1
  147. package/eds-icon-user.entry-BJ7Wi5JO.mjs +0 -13
  148. package/eds-icon-user.entry-czB7LMt8.js +0 -1
  149. package/eds-icon-youtube.entry-BWP1dBVD.mjs +0 -13
  150. package/eds-icon-youtube.entry-v007UjBQ.js +0 -1
  151. package/eds-login_2.entry-BfzeZBGw.mjs +0 -981
  152. package/eds-login_2.entry-DmBDAFIz.js +0 -9
  153. package/eds-matomo-notice.entry-B-MlwGCp.mjs +0 -90
  154. package/eds-matomo-notice.entry-CCiq7z7U.js +0 -1
  155. package/eds-modal.entry-DU5qpx-i.js +0 -1
  156. package/eds-modal.entry-puAN0sn-.mjs +0 -96
  157. package/eds-pagination_2.entry-CuaStxZg.js +0 -1
  158. package/eds-pagination_2.entry-DWzfLRgF.mjs +0 -258
  159. package/eds-progress-bar.entry-BRTtAttw.mjs +0 -21
  160. package/eds-progress-bar.entry-qScp3MQj.js +0 -1
  161. package/eds-rating.entry-CEI0zBir.mjs +0 -61
  162. package/eds-rating.entry-DOTYJZZ6.js +0 -1
  163. package/eds-section-core_2.entry-BZpOdGAA.mjs +0 -39
  164. package/eds-section-core_2.entry-Cmly0OqW.js +0 -1
  165. package/eds-spinner.entry-C_3hil-u.js +0 -1
  166. package/eds-spinner.entry-DLqey9r7.mjs +0 -36
  167. package/eds-switch.entry-BPHya25S.mjs +0 -20
  168. package/eds-switch.entry-IoOUDh10.js +0 -1
  169. package/eds-tabs.entry-DEOntaY1.mjs +0 -7880
  170. package/eds-tabs.entry-lqdai_rD.js +0 -7777
  171. package/eds-timeline.entry-CC0zKwha.js +0 -7777
  172. package/eds-timeline.entry-c1YpsWVJ.mjs +0 -7822
  173. package/eds-toast-manager.entry-BvunvxZX.mjs +0 -36
  174. package/eds-toast-manager.entry-DMZSCFoE.js +0 -1
  175. package/eds-toast.entry-DW3toqwW.mjs +0 -61
  176. package/eds-toast.entry-rudQ7nhp.js +0 -3
  177. package/eds-tooltip.entry-CcGgCRMO.js +0 -1
  178. package/eds-tooltip.entry-CoHV78jm.mjs +0 -77
  179. package/eds-trl.entry-CQOb5dk-.mjs +0 -34
  180. package/eds-trl.entry-L0XqQYCq.js +0 -1
  181. package/eu-9ddde93a-BFtIQw9B.js +0 -28
  182. package/eu-9ddde93a-ft4szvR5.mjs +0 -31
  183. package/facebook-9cb5c17f-BcUhbrj6.mjs +0 -15
  184. package/facebook-9cb5c17f-Y_gvQ682.js +0 -12
  185. package/generated/components.d.ts +0 -41
  186. package/generated/vue-component-lib/utils.d.ts +0 -16
  187. package/incorrect-use-of-colors.entry-C1QG9658.js +0 -1
  188. package/incorrect-use-of-colors.entry-C3Qt3gSE.mjs +0 -42
  189. package/index-39c58238-BwYCDOHZ.mjs +0 -44
  190. package/index-39c58238-SQ-JC-LH.js +0 -1
  191. package/index-cHrGUVDM.js +0 -21
  192. package/index-xVeSZU9j.mjs +0 -3633
  193. package/index.d.ts +0 -1
  194. package/index.js +0 -1
  195. package/index.mjs +0 -43
  196. package/linkedin-e8650abb-BkDrkjzY.js +0 -26
  197. package/linkedin-e8650abb-DYMdsale.mjs +0 -29
  198. package/loader-c9628637-ChpnbJkv.mjs +0 -31
  199. package/loader-c9628637-Vj8Wt1e8.js +0 -28
  200. package/logo-color-7f1fd803-CFgbXdt8.mjs +0 -116
  201. package/logo-color-7f1fd803-DRD3vZVn.js +0 -113
  202. package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +0 -119
  203. package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +0 -116
  204. package/logo-space.entry-H3itdzkq.mjs +0 -19
  205. package/logo-space.entry-epl_-703.js +0 -6
  206. package/logo-variations-horizontal_2.entry-CKLOzzOx.mjs +0 -29
  207. package/logo-variations-horizontal_2.entry-k6KqYji6.js +0 -7
  208. package/logo-variations-tabs.entry-BpYl8Gpo.js +0 -1
  209. package/logo-variations-tabs.entry-Df5DuYk-.mjs +0 -22
  210. package/logo-white-no-bg-f382f86f-DXYn3NwV.js +0 -1011
  211. package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +0 -1022
  212. package/logo-wrong-usage.entry-Bkg9gp3h.mjs +0 -14
  213. package/logo-wrong-usage.entry-DhlWm8es.js +0 -1
  214. package/mastodon-3703ec61-C7iI4Hk0.mjs +0 -15
  215. package/mastodon-3703ec61-C9v6Olc-.js +0 -12
  216. package/menu-340ea948-BpnYX3gY.mjs +0 -12
  217. package/menu-340ea948-ZdelWVw3.js +0 -9
  218. package/minus-b30a7c71-BPAvqHzH.mjs +0 -12
  219. package/minus-b30a7c71-DqCTe6Qh.js +0 -9
  220. package/mono-53f70232-DGi2XDlR.mjs +0 -12
  221. package/mono-53f70232-DgAsWvoQ.js +0 -9
  222. package/more-4449d549-D4HA1cRq.js +0 -11
  223. package/more-4449d549-rI9hOpEp.mjs +0 -14
  224. package/paper-8e74ea31-BvGrc1Vo.mjs +0 -16
  225. package/paper-8e74ea31-C4CV6tlB.js +0 -13
  226. package/plus-89c07be2-BTXnjg5K.js +0 -10
  227. package/plus-89c07be2-DyT9I4-L.mjs +0 -13
  228. package/portal-d6c8ce56-Cj61ldo8.mjs +0 -19
  229. package/portal-d6c8ce56-NpSrdNZ_.js +0 -16
  230. package/private-1c25ff8e-D3Fo36q6.js +0 -23
  231. package/private-1c25ff8e-Dz82_Xf8.mjs +0 -26
  232. package/public-d4d8c585-BJKDD5F6.mjs +0 -17
  233. package/public-d4d8c585-lV6QxdPw.js +0 -14
  234. package/search-fbcd79c2-BMxCaeEk.js +0 -10
  235. package/search-fbcd79c2-rfV0PlHP.mjs +0 -13
  236. package/sharedUtils-a550989c-Ci3Tx3jc.mjs +0 -15
  237. package/sharedUtils-a550989c-m4pF1Vqy.js +0 -1
  238. package/star-0da9b5e9-B3-jr0yE.js +0 -3
  239. package/star-0da9b5e9-DX8_iFmu.mjs +0 -6
  240. package/success-443809da-BD23vltm.mjs +0 -19
  241. package/success-443809da-BUEhLsAD.js +0 -16
  242. package/svg-repository.entry-C1TKYvU7.mjs +0 -301
  243. package/svg-repository.entry-DxVwTMCv.js +0 -173
  244. package/thumbs-down-a18fd049-CzuBAj99.mjs +0 -6
  245. package/thumbs-down-a18fd049-DTNIbYbm.js +0 -3
  246. package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +0 -7
  247. package/thumbs-up-c19a71bc-w8Z8gegt.js +0 -4
  248. package/toastManager-d9eee791-CEYNwx25.mjs +0 -30
  249. package/toastManager-d9eee791-DvR_vUPI.js +0 -1
  250. package/token-list_3.entry-CABw7-9O.mjs +0 -247
  251. package/token-list_3.entry-CawIyAia.js +0 -1
  252. package/token-ratios.entry-BGWJSHfY.mjs +0 -25
  253. package/token-ratios.entry-B_FOHsNq.js +0 -1
  254. package/token-typography.entry-BHvTpH4i.mjs +0 -213
  255. package/token-typography.entry-FXRD_KVv.js +0 -2
  256. package/tutotial-150ee1fd-DFdyoHVA.mjs +0 -28
  257. package/tutotial-150ee1fd-DjN_JBL5.js +0 -25
  258. package/twitter-ac21b505-CGWVGWM9.mjs +0 -15
  259. package/twitter-ac21b505-DDdHS4hB.js +0 -12
  260. package/unknown-ed01a24c-B0AcMuip.js +0 -20
  261. package/unknown-ed01a24c-DonOUpIC.mjs +0 -23
  262. package/up-and-down-d747abee-CWoZjUyq.js +0 -10
  263. package/up-and-down-d747abee-D7g6H0T0.mjs +0 -13
  264. package/user-71ebdc15-BBKQbcQD.js +0 -14
  265. package/user-71ebdc15-CoHlCtJg.mjs +0 -17
  266. package/youtube-efbfbdc4-BLTH1Jl9.js +0 -12
  267. package/youtube-efbfbdc4-BfySbfjR.mjs +0 -15
@@ -1,21 +0,0 @@
1
- import { r as t, h as r } from "./index-xVeSZU9j.mjs";
2
- const a = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}", o = a, i = class {
3
- constructor(e) {
4
- t(this, e), this.value = 0;
5
- }
6
- /**
7
- * Method to update the progress value externally.
8
- * @param newValue The new progress value (0-100).
9
- */
10
- async updateValue(e) {
11
- this.value = Math.min(100, Math.max(0, e));
12
- }
13
- render() {
14
- const e = this.value;
15
- return r("div", { key: "9a7fa42058034305b22818d464e7b633d7831d67", role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e, "aria-valuetext": `${e}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, r("div", { key: "90b0ac9a538b575a30163c0dbbf437e1cfe8ce39", class: "inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02", style: { width: `${e}%` } }, e, "%"));
16
- }
17
- };
18
- i.style = o;
19
- export {
20
- i as eds_progress_bar
21
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-cHrGUVDM.js"),a=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}",o=a,t=class{constructor(e){r.registerInstance(this,e),this.value=0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=this.value;return r.h("div",{key:"9a7fa42058034305b22818d464e7b633d7831d67",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden"},r.h("div",{key:"90b0ac9a538b575a30163c0dbbf437e1cfe8ce39",class:"inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02",style:{width:`${e}%`}},e,"%"))}};t.style=o;exports.eds_progress_bar=t;
@@ -1,61 +0,0 @@
1
- import { r as s, c as n, h as i, g as o } from "./index-xVeSZU9j.mjs";
2
- const l = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", c = l, m = class {
3
- constructor(t) {
4
- s(this, t), this.rating = n(this, "rating", 7), this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
5
- }
6
- /**
7
- * Lifecycle method that runs when the component has fully loaded.
8
- * It emits a custom event for each `eds-button` element contained within the breadcrumb.
9
- */
10
- componentDidLoad() {
11
- this.el.shadowRoot.querySelectorAll("eds-button").forEach((e) => {
12
- this.emitContext(e);
13
- });
14
- }
15
- /**
16
- * Emits a custom event called `parentContext` for a given link element.
17
- * This event provides context information about the breadcrumb component.
18
- *
19
- * @param btnElement - The link element to which the event will be dispatched.
20
- */
21
- emitContext(t) {
22
- const e = new CustomEvent("parentContext", {
23
- detail: {
24
- componentName: this.el.tagName.toLowerCase(),
25
- identifier: this.selectedRating
26
- }
27
- });
28
- t.dispatchEvent(e);
29
- }
30
- /**
31
- * Handles the click event on a star.
32
- * @param rating - The selected rating value.
33
- */
34
- handleClick(t) {
35
- this.selectedRating = t, this.rating.emit(t);
36
- }
37
- render() {
38
- return i("div", { key: "2ab4f3dbc4cc3dd5272143e99c67b23086b03e18", role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (t, e) => {
39
- const a = e + 1, r = a <= this.selectedRating;
40
- return i("eds-button", {
41
- icon: this.ratingType,
42
- role: "radio",
43
- "aria-checked": r ? "true" : "false",
44
- "aria-label": this.ratingType,
45
- onClick: () => this.handleClick(a),
46
- tabIndex: this.selectedRating === 0 && e === 0 || r ? 0 : -1,
47
- intent: r ? "primary" : "ghost",
48
- size: "large",
49
- "extra-class": "p-2"
50
- // Optional padding or styling for the star button
51
- });
52
- }));
53
- }
54
- get el() {
55
- return o(this);
56
- }
57
- };
58
- m.style = c;
59
- export {
60
- m as eds_rating
61
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-cHrGUVDM.js"),s=":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}",o=s,n=class{constructor(e){r.registerInstance(this,e),this.rating=r.createEvent(this,"rating",7),this.ratingType="star",this.ratingCount=5,this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(t=>{this.emitContext(t)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});e.dispatchEvent(t)}handleClick(e){this.selectedRating=e,this.rating.emit(e)}render(){return r.h("div",{key:"2ab4f3dbc4cc3dd5272143e99c67b23086b03e18",role:"radiogroup",class:"stars flex space-x-1 my-8"},Array.from({length:this.ratingCount},(e,t)=>{const a=t+1,i=a<=this.selectedRating;return r.h("eds-button",{icon:this.ratingType,role:"radio","aria-checked":i?"true":"false","aria-label":this.ratingType,onClick:()=>this.handleClick(a),tabIndex:this.selectedRating===0&&t===0||i?0:-1,intent:i?"primary":"ghost",size:"large","extra-class":"p-2"})}))}get el(){return r.getElement(this)}};n.style=o;exports.eds_rating=n;
@@ -1,39 +0,0 @@
1
- import { r as t, h as s } from "./index-xVeSZU9j.mjs";
2
- const a = "", n = a, c = class {
3
- constructor(e) {
4
- t(this, e), this.tag = "section", this.sectionTitle = "", this.headingLevel = "h2";
5
- }
6
- render() {
7
- const e = this.tag;
8
- return s(e, { key: "39c4280156ca46b83538de499baa9b152360b1b4" }, s("eds-section-heading", { key: "34da742e606f0e9bb485faac8aba1519eccc8934", headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), s("slot", { key: "517b8ecc112565e8c6bb0bf85b02525deaa6f9df" }));
9
- }
10
- };
11
- c.style = n;
12
- const d = class {
13
- constructor(e) {
14
- t(this, e), this.sectionTitle = void 0, this.withContainer = !0, this.headingLevel = "h2", this.tag = "div", this.spacingLarge = !1;
15
- }
16
- getHeadingClass() {
17
- return {
18
- h1: "f-heading-01",
19
- h2: "f-heading-02",
20
- h3: "f-heading-03",
21
- h4: "f-heading-04",
22
- h5: "f-heading-05",
23
- h6: "f-heading-06"
24
- }[this.headingLevel];
25
- }
26
- render() {
27
- const e = this.tag, i = this.headingLevel;
28
- return s(e, { key: "961a672dc3b656b0a308131a2d334aca51df77f6", class: {
29
- "ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8": !0,
30
- container: this.withContainer,
31
- "pt-48": this.spacingLarge,
32
- "pt-28": !this.spacingLarge
33
- } }, s(i, { key: "42eb2ccfba8c83cf140967e39fead6ebddc3a279", class: this.getHeadingClass() }, this.sectionTitle));
34
- }
35
- };
36
- export {
37
- c as eds_section_core,
38
- d as eds_section_heading
39
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-cHrGUVDM.js"),a="",n=a,s=class{constructor(e){t.registerInstance(this,e),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){const e=this.tag;return t.h(e,{key:"39c4280156ca46b83538de499baa9b152360b1b4"},t.h("eds-section-heading",{key:"34da742e606f0e9bb485faac8aba1519eccc8934",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),t.h("slot",{key:"517b8ecc112565e8c6bb0bf85b02525deaa6f9df"}))}};s.style=n;const c=class{constructor(e){t.registerInstance(this,e),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){const e=this.tag,i=this.headingLevel;return t.h(e,{key:"961a672dc3b656b0a308131a2d334aca51df77f6",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},t.h(i,{key:"42eb2ccfba8c83cf140967e39fead6ebddc3a279",class:this.getHeadingClass()},this.sectionTitle))}};exports.eds_section_core=s;exports.eds_section_heading=c;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),r=":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}",n=r,t=class{constructor(s){e.registerInstance(this,s),this.size="1rem",this.thickness="10px",this.borderColor="var(--grey-400)",this.bottomColor="var(--grey-900)",this.background="var(--grey-200)",this.fullscreen=!1}render(){const s=Object.assign({width:this.size,height:this.size,border:`${this.thickness} solid ${this.borderColor}`,borderBottomColor:this.bottomColor},!this.fullscreen&&{display:"inline-block"}),i=this.fullscreen?{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"1000",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"};return e.h(e.Host,{key:"1e1e4ea2734fff8a680e55ca5163e69d2000a55d"},e.h("div",{key:"acf09f69d43404f317240c0d24e644ec0d046cd7",class:"spinner-overlay",style:i},e.h("span",{key:"3728629fdff738a0b753cd499dc26052b1e3cb7b",class:"spinner",style:s})))}};t.style=n;exports.eds_spinner=t;
@@ -1,36 +0,0 @@
1
- import { r as i, h as s, H as r } from "./index-xVeSZU9j.mjs";
2
- const n = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}", o = n, l = class {
3
- constructor(e) {
4
- i(this, e), this.size = "1rem", this.thickness = "10px", this.borderColor = "var(--grey-400)", this.bottomColor = "var(--grey-900)", this.background = "var(--grey-200)", this.fullscreen = !1;
5
- }
6
- render() {
7
- const e = Object.assign({ width: this.size, height: this.size, border: `${this.thickness} solid ${this.borderColor}`, borderBottomColor: this.bottomColor }, !this.fullscreen && { display: "inline-block" }), t = this.fullscreen ? {
8
- position: "fixed",
9
- top: "0",
10
- left: "0",
11
- width: "100vw",
12
- height: "100vh",
13
- zIndex: "9999999",
14
- backgroundColor: this.background,
15
- display: "flex",
16
- alignItems: "center",
17
- justifyContent: "center"
18
- } : {
19
- position: "absolute",
20
- top: "0",
21
- left: "0",
22
- width: "100%",
23
- height: "100%",
24
- zIndex: "1000",
25
- backgroundColor: this.background,
26
- display: "flex",
27
- alignItems: "center",
28
- justifyContent: "center"
29
- };
30
- return s(r, { key: "1e1e4ea2734fff8a680e55ca5163e69d2000a55d" }, s("div", { key: "acf09f69d43404f317240c0d24e644ec0d046cd7", class: "spinner-overlay", style: t }, s("span", { key: "3728629fdff738a0b753cd499dc26052b1e3cb7b", class: "spinner", style: e })));
31
- }
32
- };
33
- l.style = o;
34
- export {
35
- l as eds_spinner
36
- };
@@ -1,20 +0,0 @@
1
- import { r as s, c as i, h as e } from "./index-xVeSZU9j.mjs";
2
- const a = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}", c = a, l = class {
3
- constructor(t) {
4
- s(this, t), this.change = i(this, "change", 7), this.toggleSwitch = () => {
5
- this.disabled || (this.checked = !this.checked, this.change.emit(this.checked));
6
- }, this.checked = !1, this.disabled = !1, this.labelOn = "", this.labelOff = "";
7
- }
8
- render() {
9
- const t = this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch";
10
- return e("div", { key: "842d7ecb771ab848481c9f1f6a1aa2f5f04505a7", class: "switch-container" }, this.labelOff && e("span", { key: "f20f4293896dcbde94346e82d10ed748bdeae0f6", class: "switch-label switch-label--off" }, this.labelOff), e("button", { key: "ac485fe118bae7f6a42ddb9f7edeccba2224312c", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-label": t, class: {
11
- switch: !0,
12
- "switch--checked": this.checked,
13
- "switch--disabled": this.disabled
14
- }, onClick: this.toggleSwitch, disabled: this.disabled }, e("span", { key: "3701615162b3b8946fa5b9040e77dfa20b7de3fe", class: "switch-handle" })), this.labelOn && e("span", { key: "b57bd428c7d6818bcec1f069a920a7aa2a2e776d", class: "switch-label switch-label--on" }, this.labelOn));
15
- }
16
- };
17
- l.style = c;
18
- export {
19
- l as eds_switch
20
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),i=":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}",c=i,s=class{constructor(t){e.registerInstance(this,t),this.change=e.createEvent(this,"change",7),this.toggleSwitch=()=>{this.disabled||(this.checked=!this.checked,this.change.emit(this.checked))},this.checked=!1,this.disabled=!1,this.labelOn="",this.labelOff=""}render(){const t=this.labelOn||this.labelOff?this.checked?this.labelOn:this.labelOff:"Toggle switch";return e.h("div",{key:"842d7ecb771ab848481c9f1f6a1aa2f5f04505a7",class:"switch-container"},this.labelOff&&e.h("span",{key:"f20f4293896dcbde94346e82d10ed748bdeae0f6",class:"switch-label switch-label--off"},this.labelOff),e.h("button",{key:"ac485fe118bae7f6a42ddb9f7edeccba2224312c",type:"button",role:"switch","aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":t,class:{switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled},onClick:this.toggleSwitch,disabled:this.disabled},e.h("span",{key:"3701615162b3b8946fa5b9040e77dfa20b7de3fe",class:"switch-handle"})),this.labelOn&&e.h("span",{key:"b57bd428c7d6818bcec1f069a920a7aa2a2e776d",class:"switch-label switch-label--on"},this.labelOn))}};s.style=c;exports.eds_switch=s;