@ebrains/vue 0.9.1-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 (263) hide show
  1. package/.eslintrc.json +18 -0
  2. package/package.json +1 -1
  3. package/project.json +9 -0
  4. package/src/generated/components.ts +374 -0
  5. package/src/generated/vue-component-lib/utils.ts +236 -0
  6. package/src/index.ts +1 -0
  7. package/src/vue-shims.d.ts +5 -0
  8. package/tsconfig.json +18 -0
  9. package/tsconfig.lib.json +27 -0
  10. package/vite.config.ts +71 -0
  11. package/analytics-44b1416b-3vYuu4Xs.mjs +0 -28
  12. package/analytics-44b1416b-ol77SdQE.js +0 -1
  13. package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +0 -4
  14. package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +0 -1
  15. package/arrow-right-9322ba8a-DBcxNU_p.js +0 -3
  16. package/arrow-right-9322ba8a-DHq-_PPe.mjs +0 -6
  17. package/bluesky-cc5edd2d-DaFQc-pr.js +0 -12
  18. package/bluesky-cc5edd2d-DfuDDO5h.mjs +0 -15
  19. package/bookmark-c200037c-CIcZ51ZQ.js +0 -14
  20. package/bookmark-c200037c-ClkCtyRY.mjs +0 -17
  21. package/chevron-down-6144c823-DWGlv9eV.mjs +0 -13
  22. package/chevron-down-6144c823-D_8976Ke.js +0 -10
  23. package/chevron-left-ca6c66e1-DANhLw_T.mjs +0 -12
  24. package/chevron-left-ca6c66e1-uCH5SUhm.js +0 -9
  25. package/chevron-right-b88ed2d4-C7dkTMvP.js +0 -3
  26. package/chevron-right-b88ed2d4-CgEZBvy7.mjs +0 -6
  27. package/chevron-up-c66bd477-ByW7R48t.js +0 -10
  28. package/chevron-up-c66bd477-CETJkshq.mjs +0 -13
  29. package/close-87fc0d63-Cbd-ScJr.js +0 -3
  30. package/close-87fc0d63-DtDU2HIU.mjs +0 -6
  31. package/color-2554aad6-CCcV5UJZ.mjs +0 -131
  32. package/color-2554aad6-D1hFGX4H.js +0 -1
  33. package/color-primary-palette_6.entry-DNCYKab1.js +0 -1
  34. package/color-primary-palette_6.entry-DrUcl0_Y.mjs +0 -300
  35. package/components-section.entry-BC6fAK4x.mjs +0 -351
  36. package/components-section.entry-Dpc-I4Dk.js +0 -162
  37. package/copy-03b72cb6-B_WCNQrG.mjs +0 -6
  38. package/copy-03b72cb6-CZAFAegx.js +0 -3
  39. package/correct-use-of-colors.entry-BIOVttVR.mjs +0 -59
  40. package/correct-use-of-colors.entry-D4g8NP4t.js +0 -1
  41. package/docs-palettes.entry-Af1cfpJK.js +0 -1
  42. package/docs-palettes.entry-CxxKTQmL.mjs +0 -22
  43. package/docs-tokens.entry-CSj74lMT.mjs +0 -30
  44. package/docs-tokens.entry-DbqTlBjk.js +0 -1
  45. package/eds-accordion.entry-66EwvfyQ.js +0 -4
  46. package/eds-accordion.entry-BAszhx2J.mjs +0 -48
  47. package/eds-alert.entry-B5fyoE-3.mjs +0 -825
  48. package/eds-alert.entry-D0UbYNdF.js +0 -739
  49. package/eds-app-root.entry-COtx8lgi.js +0 -1
  50. package/eds-app-root.entry-DaEWCpgJ.mjs +0 -25
  51. package/eds-avatar_26.entry-B5sFgktG.js +0 -31841
  52. package/eds-avatar_26.entry-D44mROee.mjs +0 -33438
  53. package/eds-card-desc_2.entry-B6UCTFjF.mjs +0 -53
  54. package/eds-card-desc_2.entry-CRAnQEYT.js +0 -1
  55. package/eds-card-generic.entry-BTkPV7Vy.mjs +0 -56
  56. package/eds-card-generic.entry-CO_LOs7j.js +0 -1
  57. package/eds-card-project.entry-DHpOvYZ4.mjs +0 -44
  58. package/eds-card-project.entry-DaYgAAhK.js +0 -1
  59. package/eds-card-section.entry-Cj1iWta9.js +0 -1
  60. package/eds-card-section.entry-Ckc5tKfn.mjs +0 -30
  61. package/eds-card-tags.entry-CC8HHmu1.js +0 -1
  62. package/eds-card-tags.entry-DTOC83TO.mjs +0 -13
  63. package/eds-card-tool.entry-BnSmQnIO.mjs +0 -56
  64. package/eds-card-tool.entry-DbRFRI44.js +0 -1
  65. package/eds-card-wrapper.entry-DqbihYMe.js +0 -1
  66. package/eds-card-wrapper.entry-pXRtDlUm.mjs +0 -24
  67. package/eds-code-block.entry-DOOwL4C5.js +0 -9
  68. package/eds-code-block.entry-DzjesAvq.mjs +0 -1623
  69. package/eds-cookies-preference.entry-BEg8_L1i.mjs +0 -20
  70. package/eds-cookies-preference.entry-DNieltJt.js +0 -1
  71. package/eds-feedback.entry-BPC8n5Vn.js +0 -1
  72. package/eds-feedback.entry-CamM3PGo.mjs +0 -53
  73. package/eds-frame.entry-BTSVnilU.mjs +0 -67
  74. package/eds-frame.entry-CxtCcM_D.js +0 -1
  75. package/eds-icon-arrow-diagonal.entry-Bi8IA-JD.mjs +0 -13
  76. package/eds-icon-arrow-diagonal.entry-CkydmAtM.js +0 -1
  77. package/eds-icon-arrow-right.entry-Bec767Po.mjs +0 -13
  78. package/eds-icon-arrow-right.entry-DnSc-hGl.js +0 -1
  79. package/eds-icon-bluesky.entry-CJ_G1Kz6.mjs +0 -13
  80. package/eds-icon-bluesky.entry-CKsxnx_w.js +0 -1
  81. package/eds-icon-bookmark.entry-CgY2a3NE.js +0 -1
  82. package/eds-icon-bookmark.entry-CxHfI52-.mjs +0 -13
  83. package/eds-icon-chevron-down.entry-BlFjZjFS.js +0 -1
  84. package/eds-icon-chevron-down.entry-MP6nKKWS.mjs +0 -13
  85. package/eds-icon-chevron-left.entry-B87gvMYL.mjs +0 -13
  86. package/eds-icon-chevron-left.entry-D0wG_pW7.js +0 -1
  87. package/eds-icon-chevron-right.entry-CBd-dMhk.mjs +0 -13
  88. package/eds-icon-chevron-right.entry-CK9NLouO.js +0 -1
  89. package/eds-icon-chevron-up.entry-B96ccoIQ.mjs +0 -13
  90. package/eds-icon-chevron-up.entry-CKC11GWB.js +0 -1
  91. package/eds-icon-close.entry-C82RssRf.js +0 -1
  92. package/eds-icon-close.entry-DKpCci_h.mjs +0 -13
  93. package/eds-icon-copy.entry-BLIFnGI7.mjs +0 -13
  94. package/eds-icon-copy.entry-DJvo9Oo3.js +0 -1
  95. package/eds-icon-eu.entry-CIiUxa85.mjs +0 -13
  96. package/eds-icon-eu.entry-fpbE22vn.js +0 -1
  97. package/eds-icon-external.entry-Bg3Jbh4o.mjs +0 -13
  98. package/eds-icon-external.entry-DB0_JlLk.js +0 -1
  99. package/eds-icon-facebook.entry-CqhEjMDs.js +0 -1
  100. package/eds-icon-facebook.entry-Cvcx9mzY.mjs +0 -13
  101. package/eds-icon-gitlab.entry-DkWowBSx.js +0 -1
  102. package/eds-icon-gitlab.entry-ZIUW3Too.mjs +0 -13
  103. package/eds-icon-linkedin.entry-zCYN0yJN.mjs +0 -13
  104. package/eds-icon-linkedin.entry-zJM5VYX8.js +0 -1
  105. package/eds-icon-loader.entry-D3A9DYDv.js +0 -1
  106. package/eds-icon-loader.entry-DgDDBLQe.mjs +0 -13
  107. package/eds-icon-mastodon.entry-B2ln6jUP.mjs +0 -13
  108. package/eds-icon-mastodon.entry-CQi1OZdh.js +0 -1
  109. package/eds-icon-menu.entry-BqYXrP_P.js +0 -1
  110. package/eds-icon-menu.entry-CRdmUv3E.mjs +0 -13
  111. package/eds-icon-minus.entry-C6oGK2_g.mjs +0 -13
  112. package/eds-icon-minus.entry-CmEXvebI.js +0 -1
  113. package/eds-icon-more.entry-BIQGWWip.js +0 -1
  114. package/eds-icon-more.entry-aXbszIap.mjs +0 -13
  115. package/eds-icon-paper.entry-Bh5C64H8.mjs +0 -13
  116. package/eds-icon-paper.entry-LgapgnWg.js +0 -1
  117. package/eds-icon-plus.entry-BR1mOml3.mjs +0 -13
  118. package/eds-icon-plus.entry-DlX5VFJR.js +0 -1
  119. package/eds-icon-portal.entry-C2DFez0R.js +0 -1
  120. package/eds-icon-portal.entry-CMARk8X7.mjs +0 -13
  121. package/eds-icon-private.entry-BwvhDAIy.mjs +0 -13
  122. package/eds-icon-private.entry-CbexBFUk.js +0 -1
  123. package/eds-icon-public.entry-D91FTOc3.mjs +0 -13
  124. package/eds-icon-public.entry-DQzoAi-2.js +0 -1
  125. package/eds-icon-search.entry-D6gOTsOF.js +0 -1
  126. package/eds-icon-search.entry-DVhN8_Ah.mjs +0 -13
  127. package/eds-icon-star.entry-CBJGqbz6.mjs +0 -13
  128. package/eds-icon-star.entry-CIhSd8HY.js +0 -1
  129. package/eds-icon-success.entry-VMJ6qL6H.mjs +0 -13
  130. package/eds-icon-success.entry-yZ0mp_pH.js +0 -1
  131. package/eds-icon-thumbs-down.entry-CfZk-XIH.js +0 -1
  132. package/eds-icon-thumbs-down.entry-CirzFHNd.mjs +0 -13
  133. package/eds-icon-thumbs-up.entry-C205X1kc.js +0 -1
  134. package/eds-icon-thumbs-up.entry-CyPLJvn-.mjs +0 -13
  135. package/eds-icon-tutorial.entry-Do4rIMaY.mjs +0 -13
  136. package/eds-icon-tutorial.entry-Dsyw0BBK.js +0 -1
  137. package/eds-icon-twitter.entry-D0QvrckP.mjs +0 -13
  138. package/eds-icon-twitter.entry-Dxbad6Ap.js +0 -1
  139. package/eds-icon-unknown.entry-Ml0duWB3.mjs +0 -13
  140. package/eds-icon-unknown.entry-p9JzenHC.js +0 -1
  141. package/eds-icon-updown.entry-CD8350rr.mjs +0 -13
  142. package/eds-icon-updown.entry-CX-0FN1w.js +0 -1
  143. package/eds-icon-user.entry-BL2cTAJm.js +0 -1
  144. package/eds-icon-user.entry-CoG-FatJ.mjs +0 -13
  145. package/eds-icon-youtube.entry-BLYOdnDv.js +0 -1
  146. package/eds-icon-youtube.entry-BuoKDZ5t.mjs +0 -13
  147. package/eds-login_2.entry-BLdyPn8z.js +0 -9
  148. package/eds-login_2.entry-vwx33ALN.mjs +0 -981
  149. package/eds-matomo-notice.entry-BcVjYajg.js +0 -1
  150. package/eds-matomo-notice.entry-DidLaLXw.mjs +0 -90
  151. package/eds-modal.entry-B31KFXpt.js +0 -1
  152. package/eds-modal.entry-CXNV__T1.mjs +0 -96
  153. package/eds-pagination_2.entry-C5PQOTQJ.js +0 -1
  154. package/eds-pagination_2.entry-CDArkgFj.mjs +0 -258
  155. package/eds-progress-bar.entry-D-pHajo4.mjs +0 -21
  156. package/eds-progress-bar.entry-DG0GXmeq.js +0 -1
  157. package/eds-rating.entry-C1Ek7Xei.mjs +0 -61
  158. package/eds-rating.entry-ftEmF4Qw.js +0 -1
  159. package/eds-section-core_2.entry-BpzqlBXJ.js +0 -1
  160. package/eds-section-core_2.entry-kmq9d4JE.mjs +0 -39
  161. package/eds-spinner.entry-DTgScdkA.js +0 -1
  162. package/eds-spinner.entry-a3Wjf-Vo.mjs +0 -36
  163. package/eds-switch.entry-CMr4qwoV.js +0 -1
  164. package/eds-switch.entry-Cztu_2n9.mjs +0 -20
  165. package/eds-tabs.entry-0DJ99piw.js +0 -7797
  166. package/eds-tabs.entry-DBHkSmJZ.mjs +0 -7900
  167. package/eds-timeline.entry-8DYAeWK9.js +0 -7797
  168. package/eds-timeline.entry-Cj0sAIIZ.mjs +0 -7842
  169. package/eds-toast-manager.entry-CSZROgRS.js +0 -1
  170. package/eds-toast-manager.entry-Cp-uvJ6e.mjs +0 -36
  171. package/eds-toast.entry-DxditNG2.mjs +0 -61
  172. package/eds-toast.entry-w5mMLqEh.js +0 -3
  173. package/eds-tooltip.entry-BkTKzXVD.js +0 -1
  174. package/eds-tooltip.entry-DiID9ZC6.mjs +0 -77
  175. package/eds-trl.entry-BEZPY301.js +0 -1
  176. package/eds-trl.entry-BrkymCLA.mjs +0 -34
  177. package/eu-9ddde93a-BFtIQw9B.js +0 -28
  178. package/eu-9ddde93a-ft4szvR5.mjs +0 -31
  179. package/facebook-9cb5c17f-BcUhbrj6.mjs +0 -15
  180. package/facebook-9cb5c17f-Y_gvQ682.js +0 -12
  181. package/generated/components.d.ts +0 -40
  182. package/generated/vue-component-lib/utils.d.ts +0 -16
  183. package/incorrect-use-of-colors.entry-D_MDnOxK.mjs +0 -42
  184. package/incorrect-use-of-colors.entry-HDLgRpVT.js +0 -1
  185. package/index-39c58238-BwYCDOHZ.mjs +0 -44
  186. package/index-39c58238-SQ-JC-LH.js +0 -1
  187. package/index-CMP6-ecb.mjs +0 -3622
  188. package/index-RvcWEz0j.js +0 -21
  189. package/index.d.ts +0 -1
  190. package/index.js +0 -1
  191. package/index.mjs +0 -42
  192. package/linkedin-e8650abb-BkDrkjzY.js +0 -26
  193. package/linkedin-e8650abb-DYMdsale.mjs +0 -29
  194. package/loader-c9628637-ChpnbJkv.mjs +0 -31
  195. package/loader-c9628637-Vj8Wt1e8.js +0 -28
  196. package/logo-color-7f1fd803-CFgbXdt8.mjs +0 -116
  197. package/logo-color-7f1fd803-DRD3vZVn.js +0 -113
  198. package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +0 -119
  199. package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +0 -116
  200. package/logo-space.entry-B05IQf3M.mjs +0 -19
  201. package/logo-space.entry-DtPQz2nj.js +0 -6
  202. package/logo-variations-horizontal_2.entry-BUcAWE9P.js +0 -7
  203. package/logo-variations-horizontal_2.entry-CuIHzZ_5.mjs +0 -29
  204. package/logo-variations-tabs.entry-BFQf55Y1.js +0 -1
  205. package/logo-variations-tabs.entry-nnh_qtBx.mjs +0 -22
  206. package/logo-white-no-bg-f382f86f-DXYn3NwV.js +0 -1011
  207. package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +0 -1022
  208. package/logo-wrong-usage.entry-CBpe4g63.js +0 -1
  209. package/logo-wrong-usage.entry-CQ3WROz1.mjs +0 -14
  210. package/mastodon-3703ec61-C7iI4Hk0.mjs +0 -15
  211. package/mastodon-3703ec61-C9v6Olc-.js +0 -12
  212. package/menu-340ea948-BpnYX3gY.mjs +0 -12
  213. package/menu-340ea948-ZdelWVw3.js +0 -9
  214. package/minus-b30a7c71-BPAvqHzH.mjs +0 -12
  215. package/minus-b30a7c71-DqCTe6Qh.js +0 -9
  216. package/mono-53f70232-DGi2XDlR.mjs +0 -12
  217. package/mono-53f70232-DgAsWvoQ.js +0 -9
  218. package/more-4449d549-D4HA1cRq.js +0 -11
  219. package/more-4449d549-rI9hOpEp.mjs +0 -14
  220. package/paper-8e74ea31-BvGrc1Vo.mjs +0 -16
  221. package/paper-8e74ea31-C4CV6tlB.js +0 -13
  222. package/plus-89c07be2-BTXnjg5K.js +0 -10
  223. package/plus-89c07be2-DyT9I4-L.mjs +0 -13
  224. package/portal-d6c8ce56-Cj61ldo8.mjs +0 -19
  225. package/portal-d6c8ce56-NpSrdNZ_.js +0 -16
  226. package/private-1c25ff8e-D3Fo36q6.js +0 -23
  227. package/private-1c25ff8e-Dz82_Xf8.mjs +0 -26
  228. package/public-d4d8c585-BJKDD5F6.mjs +0 -17
  229. package/public-d4d8c585-lV6QxdPw.js +0 -14
  230. package/search-fbcd79c2-BMxCaeEk.js +0 -10
  231. package/search-fbcd79c2-rfV0PlHP.mjs +0 -13
  232. package/sharedUtils-a550989c-Ci3Tx3jc.mjs +0 -15
  233. package/sharedUtils-a550989c-m4pF1Vqy.js +0 -1
  234. package/star-0da9b5e9-B3-jr0yE.js +0 -3
  235. package/star-0da9b5e9-DX8_iFmu.mjs +0 -6
  236. package/success-443809da-BD23vltm.mjs +0 -19
  237. package/success-443809da-BUEhLsAD.js +0 -16
  238. package/svg-repository.entry-CtZ9pBKr.mjs +0 -301
  239. package/svg-repository.entry-qTZFd69I.js +0 -173
  240. package/thumbs-down-a18fd049-CzuBAj99.mjs +0 -6
  241. package/thumbs-down-a18fd049-DTNIbYbm.js +0 -3
  242. package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +0 -7
  243. package/thumbs-up-c19a71bc-w8Z8gegt.js +0 -4
  244. package/toastManager-d9eee791-CEYNwx25.mjs +0 -30
  245. package/toastManager-d9eee791-DvR_vUPI.js +0 -1
  246. package/token-list_3.entry-91wGiwGz.js +0 -1
  247. package/token-list_3.entry-C4RxixtE.mjs +0 -247
  248. package/token-ratios.entry-BmUxaqAu.js +0 -1
  249. package/token-ratios.entry-BvmPBjyB.mjs +0 -25
  250. package/token-typography.entry-DFkDpqQO.mjs +0 -213
  251. package/token-typography.entry-DvZ1QVjt.js +0 -2
  252. package/tutotial-150ee1fd-DFdyoHVA.mjs +0 -28
  253. package/tutotial-150ee1fd-DjN_JBL5.js +0 -25
  254. package/twitter-ac21b505-CGWVGWM9.mjs +0 -15
  255. package/twitter-ac21b505-DDdHS4hB.js +0 -12
  256. package/unknown-ed01a24c-B0AcMuip.js +0 -20
  257. package/unknown-ed01a24c-DonOUpIC.mjs +0 -23
  258. package/up-and-down-d747abee-CWoZjUyq.js +0 -10
  259. package/up-and-down-d747abee-D7g6H0T0.mjs +0 -13
  260. package/user-71ebdc15-BBKQbcQD.js +0 -14
  261. package/user-71ebdc15-CoHlCtJg.mjs +0 -17
  262. package/youtube-efbfbdc4-BLTH1Jl9.js +0 -12
  263. package/youtube-efbfbdc4-BfySbfjR.mjs +0 -15
@@ -1,39 +0,0 @@
1
- import { r as t, h as s } from "./index-CMP6-ecb.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: "346654c0118e056276162b42723c6c163712ab4f", 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: "c7d17fc22b3926495c799da0bc8bde7dc949e46a", 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 e=require("./index-RvcWEz0j.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-CMP6-ecb.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 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-RvcWEz0j.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.toggle=e.createEvent(this,"toggle",7),this.toggleSwitch=()=>{this.disabled||(this.checked=!this.checked,this.toggle.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;
@@ -1,20 +0,0 @@
1
- import { r as s, c as i, h as e } from "./index-CMP6-ecb.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.toggle = i(this, "toggle", 7), this.toggleSwitch = () => {
5
- this.disabled || (this.checked = !this.checked, this.toggle.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
- };