@ebrains/vue 0.8.0-alpha.0 → 0.9.0-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.
- package/README.md +1 -1
- package/bookmark-c200037c-CIcZ51ZQ.js +14 -0
- package/bookmark-c200037c-ClkCtyRY.mjs +17 -0
- package/color-primary-palette_6.entry-B00J5gKq.js +1 -0
- package/color-primary-palette_6.entry-DJl4iXuX.mjs +300 -0
- package/{eds-components-section.entry-DpGQLUDG.js → components-section.entry-Bp5Ot0Sn.js} +109 -87
- package/{eds-components-section.entry-CZzJEdYb.mjs → components-section.entry-CMHPm3bn.mjs} +124 -94
- package/correct-use-of-colors.entry-BRM7osKs.js +1 -0
- package/correct-use-of-colors.entry-BcZ8MzKb.mjs +59 -0
- package/{eds-docs-palettes.entry-CvUsZJGt.js → docs-palettes.entry-BoEjXr5K.js} +1 -1
- package/{eds-docs-palettes.entry-DF_rAbne.mjs → docs-palettes.entry-CkVHcQbL.mjs} +3 -3
- package/{eds-docs-tokens.entry-C3AfntXW.js → docs-tokens.entry-C22LSw0P.js} +1 -1
- package/{eds-docs-tokens.entry-gPy71iZA.mjs → docs-tokens.entry-D38mtdPC.mjs} +4 -4
- package/eds-accordion.entry-B25YfdGD.js +4 -0
- package/eds-accordion.entry-ivh1zjpt.mjs +48 -0
- package/{eds-alert.entry-C7iR6Wau.js → eds-alert.entry-C0p3qeqh.js} +1 -1
- package/{eds-alert.entry-DHikCbw_.mjs → eds-alert.entry-DOCbYqvG.mjs} +1 -1
- package/{eds-app-root.entry-YPigXe8_.mjs → eds-app-root.entry-AYVIYcb1.mjs} +4 -4
- package/{eds-app-root.entry-rafdbiL3.js → eds-app-root.entry-DfPrDdc_.js} +1 -1
- package/{eds-accordion_17.entry-BhCBvhXC.mjs → eds-avatar_24.entry-BcY_4aZT.mjs} +8532 -387
- package/{eds-accordion_17.entry-BBnyn6EM.js → eds-avatar_24.entry-DBYYqNco.js} +7821 -29
- package/{eds-breadcrumb.entry-Bfc36jaR.mjs → eds-breadcrumb.entry-BTYLNHlm.mjs} +1 -1
- package/{eds-breadcrumb.entry-D065WE8j.js → eds-breadcrumb.entry-Drb48V7S.js} +1 -1
- package/{eds-card-desc_3.entry-CPmEcD7h.js → eds-card-desc_3.entry-BlQBUPMR.js} +1 -1
- package/{eds-card-desc_3.entry-BJP_Vvul.mjs → eds-card-desc_3.entry-DtsrKQS6.mjs} +5 -5
- package/{eds-card-generic.entry-Bn3saq5k.mjs → eds-card-generic.entry-Dtfs4XKl.mjs} +1 -1
- package/{eds-card-generic.entry-Ct8aLaT_.js → eds-card-generic.entry-w0E2hhjp.js} +1 -1
- package/{eds-card-project.entry-B7s198sC.js → eds-card-project.entry-Cek2GMTn.js} +1 -1
- package/{eds-card-project.entry-CkmokKaR.mjs → eds-card-project.entry-Cy_NC5av.mjs} +1 -1
- package/{eds-card-section.entry-DKP7IjIj.mjs → eds-card-section.entry-D1yKOTXz.mjs} +1 -1
- package/{eds-card-section.entry-CE7UQ8HN.js → eds-card-section.entry-DLE2WAV_.js} +1 -1
- package/{eds-card-tags.entry-wvkOqT1r.js → eds-card-tags.entry-CmRv-oB4.js} +1 -1
- package/{eds-card-tags.entry-BNqaohHu.mjs → eds-card-tags.entry-Q9xxbeAG.mjs} +1 -1
- package/{eds-card-tool.entry-Df_qlYY5.js → eds-card-tool.entry-DF_jWDUL.js} +1 -1
- package/{eds-card-tool.entry-CR4SuPPR.mjs → eds-card-tool.entry-Dgi1G1RH.mjs} +1 -1
- package/{eds-card-wrapper.entry-DwcKQUDS.js → eds-card-wrapper.entry-DZZOVhcJ.js} +1 -1
- package/{eds-card-wrapper.entry-CosNbMgP.mjs → eds-card-wrapper.entry-k-aNj4Ms.mjs} +1 -1
- package/{eds-code-block.entry-Bfp7Moc7.mjs → eds-code-block.entry-BjrDmUCm.mjs} +1 -1
- package/{eds-code-block.entry-D5kDIIPG.js → eds-code-block.entry-DoUacOW1.js} +1 -1
- package/{eds-cookies-preference.entry-DUwpfJG0.js → eds-cookies-preference.entry-B7gp0J-S.js} +1 -1
- package/{eds-cookies-preference.entry-ivi_kdZs.mjs → eds-cookies-preference.entry-DkA2HKmI.mjs} +2 -2
- package/eds-feedback.entry-C9Ir38bt.mjs +53 -0
- package/eds-feedback.entry-GNZz9ODR.js +1 -0
- package/{eds-frame.entry-BEG9Cq6f.mjs → eds-frame.entry-CcmLaVze.mjs} +9 -15
- package/eds-frame.entry-XyeUo6pB.js +1 -0
- package/{eds-icon-arrow-diagonal.entry-6WVlNQjt.mjs → eds-icon-arrow-diagonal.entry-B0dxbX_o.mjs} +1 -1
- package/{eds-icon-arrow-diagonal.entry-zBfSFnaZ.js → eds-icon-arrow-diagonal.entry-o5Ev_oO7.js} +1 -1
- package/{eds-icon-arrow-right.entry-B01PWxxn.js → eds-icon-arrow-right.entry-DUHmdP-V.js} +1 -1
- package/{eds-icon-arrow-right.entry-CPfwKb_P.mjs → eds-icon-arrow-right.entry-DpdjX5aS.mjs} +1 -1
- package/{eds-icon-bluesky.entry-DbVUYLJG.js → eds-icon-bluesky.entry-Bv0-EDnj.js} +1 -1
- package/eds-icon-bluesky.entry-DkSAjnck.mjs +13 -0
- package/eds-icon-bookmark.entry-Bjzq8uze.js +1 -0
- package/eds-icon-bookmark.entry-C_0B6YJU.mjs +13 -0
- package/{eds-icon-chevron-down.entry-YrhsZIQb.js → eds-icon-chevron-down.entry-BERHGaTB.js} +1 -1
- package/{eds-icon-chevron-down.entry-dCeiKlud.mjs → eds-icon-chevron-down.entry-DnKTBqKv.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-CVk_b9kc.js → eds-icon-chevron-left.entry-Bo8LqkIz.js} +1 -1
- package/{eds-icon-chevron-left.entry-CudVsOqq.mjs → eds-icon-chevron-left.entry-DT2At_f6.mjs} +1 -1
- package/{eds-icon-chevron-right.entry-Dg5UFoCU.mjs → eds-icon-chevron-right.entry-BFoMlLTp.mjs} +1 -1
- package/{eds-icon-chevron-right.entry-r7aVtAwm.js → eds-icon-chevron-right.entry-DyqeLE1B.js} +1 -1
- package/{eds-icon-chevron-up.entry-C-WjO0ys.js → eds-icon-chevron-up.entry-Bpy8lbif.js} +1 -1
- package/{eds-icon-chevron-up.entry-CEfRA3Cn.mjs → eds-icon-chevron-up.entry-JSrFaEET.mjs} +1 -1
- package/eds-icon-close.entry-CzIoe2p3.mjs +13 -0
- package/{eds-icon-close.entry-eRRe-idl.js → eds-icon-close.entry-cabdCuVg.js} +1 -1
- package/{eds-icon-copy.entry-Bv6gVwBn.mjs → eds-icon-copy.entry-C08qTrZl.mjs} +2 -2
- package/{eds-icon-copy.entry-B41dL0Pk.js → eds-icon-copy.entry-CvpG2Kxo.js} +1 -1
- package/eds-icon-eu.entry-ChZ09s02.mjs +13 -0
- package/eds-icon-eu.entry-H2skG2J6.js +1 -0
- package/eds-icon-external.entry-DKbmbXLG.mjs +13 -0
- package/eds-icon-external.entry-DVlEoMZl.js +1 -0
- package/{eds-icon-facebook.entry-CxuQ9T-z.mjs → eds-icon-facebook.entry-4bvKyXXu.mjs} +2 -2
- package/{eds-icon-facebook.entry-tLxBj2-p.js → eds-icon-facebook.entry-COSHMM4W.js} +1 -1
- package/eds-icon-gitlab.entry-BXLfky5G.mjs +13 -0
- package/{eds-icon-gitlab.entry-Bz32Y093.js → eds-icon-gitlab.entry-D_zX1Jsy.js} +1 -1
- package/{eds-icon-linkedin.entry-BOJB8PtD.js → eds-icon-linkedin.entry-CjXcA0DQ.js} +1 -1
- package/{eds-icon-linkedin.entry-C-OLKK80.mjs → eds-icon-linkedin.entry-_3H4M1ch.mjs} +2 -2
- package/eds-icon-loader.entry-BA-W8oxC.js +1 -0
- package/eds-icon-loader.entry-Cp3B6C_B.mjs +13 -0
- package/eds-icon-mastodon.entry-Bmb_O0hs.mjs +13 -0
- package/{eds-icon-mastodon.entry-DYjzOc_S.js → eds-icon-mastodon.entry-DUFdG1dJ.js} +1 -1
- package/eds-icon-menu.entry-DOdmibhy.mjs +13 -0
- package/eds-icon-menu.entry-Qg4r_OkP.js +1 -0
- package/eds-icon-minus.entry-8htg5ASo.mjs +13 -0
- package/eds-icon-minus.entry-Diem-PL4.js +1 -0
- package/{eds-icon-more.entry-BdtfLgCV.js → eds-icon-more.entry-BY-mI4ec.js} +1 -1
- package/eds-icon-more.entry-DyWgD7vJ.mjs +13 -0
- package/eds-icon-paper.entry-BI3DMxCS.mjs +13 -0
- package/eds-icon-paper.entry-D2mmnsXf.js +1 -0
- package/eds-icon-plus.entry-B8KAaEGT.js +1 -0
- package/eds-icon-plus.entry-Ccr7jseH.mjs +13 -0
- package/eds-icon-portal.entry-BLhT9_Nz.js +1 -0
- package/eds-icon-portal.entry-D2iNYdZW.mjs +13 -0
- package/eds-icon-private.entry-CK2gzDym.mjs +13 -0
- package/eds-icon-private.entry-ToYtRpET.js +1 -0
- package/eds-icon-public.entry-BOnTLyd7.js +1 -0
- package/eds-icon-public.entry-N8tks7_E.mjs +13 -0
- package/{eds-icon-search.entry-Cw8zssoR.js → eds-icon-search.entry-C9tMq1XC.js} +1 -1
- package/{eds-icon-search.entry-CnqQ_vud.mjs → eds-icon-search.entry-DuG-zesK.mjs} +2 -2
- package/{eds-icon-star.entry-BqWtt_VJ.mjs → eds-icon-star.entry-B-PeifnZ.mjs} +2 -2
- package/{eds-icon-star.entry-DhcygAni.js → eds-icon-star.entry-CHoursjw.js} +1 -1
- package/eds-icon-success.entry-BJm--l5m.mjs +13 -0
- package/{eds-icon-success.entry-59uCWiA1.js → eds-icon-success.entry-ED6eDDgi.js} +1 -1
- package/{eds-icon-thumbs-down.entry-BOvmhFfL.mjs → eds-icon-thumbs-down.entry-BzEfZ1AX.mjs} +2 -2
- package/{eds-icon-thumbs-down.entry-BNUoStSy.js → eds-icon-thumbs-down.entry-zjkeVdJJ.js} +1 -1
- package/{eds-icon-thumbs-up.entry-Bn3MBFif.js → eds-icon-thumbs-up.entry-CZJlAqFh.js} +1 -1
- package/{eds-icon-thumbs-up.entry-B5dIuh3_.mjs → eds-icon-thumbs-up.entry-DutZ0Kki.mjs} +2 -2
- package/eds-icon-tutorial.entry-DRMLIdl4.mjs +13 -0
- package/eds-icon-tutorial.entry-D_9AQ-6-.js +1 -0
- package/eds-icon-twitter.entry-CJhiAxNu.mjs +13 -0
- package/{eds-icon-twitter.entry-CGsi8ynP.js → eds-icon-twitter.entry-DDsRqP6N.js} +1 -1
- package/eds-icon-unknown.entry-57uXdegM.mjs +13 -0
- package/eds-icon-unknown.entry-7Mmqc2BG.js +1 -0
- package/eds-icon-updown.entry-BwdgdGgR.mjs +13 -0
- package/eds-icon-updown.entry-b0BvWM4f.js +1 -0
- package/eds-icon-user.entry-BJ7Wi5JO.mjs +13 -0
- package/eds-icon-user.entry-czB7LMt8.js +1 -0
- package/eds-icon-youtube.entry-BWP1dBVD.mjs +13 -0
- package/eds-icon-youtube.entry-v007UjBQ.js +1 -0
- package/{eds-login_2.entry-Be8tUQNx.mjs → eds-login_2.entry-BfzeZBGw.mjs} +106 -93
- package/{eds-login_2.entry-CiL5geMY.js → eds-login_2.entry-DmBDAFIz.js} +3 -3
- package/eds-matomo-notice.entry-B-MlwGCp.mjs +90 -0
- package/eds-matomo-notice.entry-CCiq7z7U.js +1 -0
- package/eds-modal.entry-DU5qpx-i.js +1 -0
- package/eds-modal.entry-puAN0sn-.mjs +96 -0
- package/{eds-pagination_2.entry-BcBkkuEq.js → eds-pagination_2.entry-CuaStxZg.js} +1 -1
- package/{eds-pagination_2.entry-B2q_5PRD.mjs → eds-pagination_2.entry-DWzfLRgF.mjs} +8 -8
- package/{eds-progress-bar.entry-BWnPK-6o.mjs → eds-progress-bar.entry-BRTtAttw.mjs} +2 -2
- package/{eds-progress-bar.entry-DMTDcZv8.js → eds-progress-bar.entry-qScp3MQj.js} +1 -1
- package/{eds-rating.entry-CtRb0a5R.mjs → eds-rating.entry-CEI0zBir.mjs} +2 -2
- package/{eds-rating.entry-CPCGEHHj.js → eds-rating.entry-DOTYJZZ6.js} +1 -1
- package/{eds-section-core_2.entry-BrIavUCN.mjs → eds-section-core_2.entry-BZpOdGAA.mjs} +9 -9
- package/{eds-section-core_2.entry-rRmNlbQR.js → eds-section-core_2.entry-Cmly0OqW.js} +1 -1
- package/{eds-spinner.entry-BQ7NYZow.js → eds-spinner.entry-C_3hil-u.js} +1 -1
- package/{eds-spinner.entry-D58XgaXt.mjs → eds-spinner.entry-DLqey9r7.mjs} +2 -2
- package/{eds-switch.entry-CgstZWMb.mjs → eds-switch.entry-BPHya25S.mjs} +5 -5
- package/{eds-switch.entry-CAzboLuJ.js → eds-switch.entry-IoOUDh10.js} +1 -1
- package/{eds-tabs.entry-2CrdvmEM.mjs → eds-tabs.entry-DEOntaY1.mjs} +37 -19
- package/{eds-tabs.entry-CxValIYM.js → eds-tabs.entry-lqdai_rD.js} +37 -19
- package/{eds-timeline.entry-CFAb5Cd0.js → eds-timeline.entry-CC0zKwha.js} +37 -19
- package/{eds-timeline.entry-D9ZihmLu.mjs → eds-timeline.entry-c1YpsWVJ.mjs} +37 -19
- package/{eds-toast-manager.entry-mR3GXeEW.mjs → eds-toast-manager.entry-BvunvxZX.mjs} +6 -6
- package/{eds-toast-manager.entry-DNRGmKI4.js → eds-toast-manager.entry-DMZSCFoE.js} +1 -1
- package/{eds-toast.entry-ubt1S3Kw.mjs → eds-toast.entry-DW3toqwW.mjs} +1 -1
- package/{eds-toast.entry-BRfHKFao.js → eds-toast.entry-rudQ7nhp.js} +1 -1
- package/{eds-tooltip.entry-BS9OaOdx.js → eds-tooltip.entry-CcGgCRMO.js} +1 -1
- package/{eds-tooltip.entry-D0rqB_RZ.mjs → eds-tooltip.entry-CoHV78jm.mjs} +6 -6
- package/eds-trl.entry-CQOb5dk-.mjs +34 -0
- package/{eds-trl.entry-D_xUUWvL.js → eds-trl.entry-L0XqQYCq.js} +1 -1
- package/generated/components.d.ts +0 -2
- package/incorrect-use-of-colors.entry-C1QG9658.js +1 -0
- package/incorrect-use-of-colors.entry-C3Qt3gSE.mjs +42 -0
- package/index-cHrGUVDM.js +21 -0
- package/{index-DeCYK9qM.mjs → index-xVeSZU9j.mjs} +177 -143
- package/index.js +1 -1
- package/index.mjs +27 -29
- package/logo-space.entry-H3itdzkq.mjs +19 -0
- package/logo-space.entry-epl_-703.js +6 -0
- package/logo-variations-horizontal_2.entry-CKLOzzOx.mjs +29 -0
- package/logo-variations-horizontal_2.entry-k6KqYji6.js +7 -0
- package/{eds-logo-variations.entry-DGWNGIvb.js → logo-variations-tabs.entry-BpYl8Gpo.js} +1 -1
- package/{eds-logo-variations.entry-CBy11DlE.mjs → logo-variations-tabs.entry-Df5DuYk-.mjs} +4 -4
- package/logo-wrong-usage.entry-Bkg9gp3h.mjs +14 -0
- package/logo-wrong-usage.entry-DhlWm8es.js +1 -0
- package/minus-b30a7c71-BPAvqHzH.mjs +12 -0
- package/minus-b30a7c71-DqCTe6Qh.js +9 -0
- package/package.json +1 -1
- package/paper-8e74ea31-BvGrc1Vo.mjs +16 -0
- package/paper-8e74ea31-C4CV6tlB.js +13 -0
- package/plus-89c07be2-BTXnjg5K.js +10 -0
- package/plus-89c07be2-DyT9I4-L.mjs +13 -0
- package/portal-d6c8ce56-Cj61ldo8.mjs +19 -0
- package/portal-d6c8ce56-NpSrdNZ_.js +16 -0
- package/private-1c25ff8e-D3Fo36q6.js +23 -0
- package/private-1c25ff8e-Dz82_Xf8.mjs +26 -0
- package/public-d4d8c585-BJKDD5F6.mjs +17 -0
- package/public-d4d8c585-lV6QxdPw.js +14 -0
- package/{eds-svg-repository.entry-D1rRUteH.mjs → svg-repository.entry-C1TKYvU7.mjs} +89 -88
- package/{eds-svg-repository.entry-B3RrcJof.js → svg-repository.entry-DxVwTMCv.js} +12 -31
- package/{token-list_3.entry-uSQm6z8I.mjs → token-list_3.entry-CABw7-9O.mjs} +16 -16
- package/token-list_3.entry-CawIyAia.js +1 -0
- package/{token-ratios.entry-BiuicosE.mjs → token-ratios.entry-BGWJSHfY.mjs} +2 -2
- package/token-ratios.entry-B_FOHsNq.js +1 -0
- package/{token-typography.entry-sTlt7Bpz.mjs → token-typography.entry-BHvTpH4i.mjs} +4 -4
- package/{token-typography.entry-Dn6NRvAR.js → token-typography.entry-FXRD_KVv.js} +2 -2
- package/tutotial-150ee1fd-DFdyoHVA.mjs +28 -0
- package/tutotial-150ee1fd-DjN_JBL5.js +25 -0
- package/unknown-ed01a24c-B0AcMuip.js +20 -0
- package/unknown-ed01a24c-DonOUpIC.mjs +23 -0
- package/up-and-down-d747abee-CWoZjUyq.js +10 -0
- package/up-and-down-d747abee-D7g6H0T0.mjs +13 -0
- package/color-primary-palette_6.entry-8IScvoTJ.mjs +0 -300
- package/color-primary-palette_6.entry-8sRpfe4E.js +0 -1
- package/correct-use-of-colors.entry-CfU46fhX.js +0 -1
- package/correct-use-of-colors.entry-ClTcY5vo.mjs +0 -59
- package/eds-feedback.entry-Cii4Bgav.mjs +0 -53
- package/eds-feedback.entry-mS5rXykK.js +0 -1
- package/eds-form.entry-CNUo4guS.mjs +0 -226
- package/eds-form.entry-DmOYblLu.js +0 -1
- package/eds-frame.entry-MuWFMQ5l.js +0 -1
- package/eds-icon-bluesky.entry-DKFty2p_.mjs +0 -13
- package/eds-icon-close.entry-Cec0LlPI.mjs +0 -13
- package/eds-icon-eu.entry-CIYspbep.js +0 -1
- package/eds-icon-eu.entry-C_SYaSos.mjs +0 -13
- package/eds-icon-gitlab.entry-B4Y3IL_W.mjs +0 -13
- package/eds-icon-loader.entry-Cnugn2v_.mjs +0 -13
- package/eds-icon-loader.entry-OpxpC-qI.js +0 -1
- package/eds-icon-mastodon.entry-DfYxTk7y.mjs +0 -13
- package/eds-icon-menu.entry-4XLLYwtu.js +0 -1
- package/eds-icon-menu.entry-iM24FuKl.mjs +0 -13
- package/eds-icon-more.entry-BIN9jdzF.mjs +0 -13
- package/eds-icon-success.entry-C0jA8lzW.mjs +0 -13
- package/eds-icon-twitter.entry-CRA6F5rZ.mjs +0 -13
- package/eds-icon-user.entry-BQ64yR1z.js +0 -1
- package/eds-icon-user.entry-D-nrmq6-.mjs +0 -13
- package/eds-icon-youtube.entry-BCw69oaj.js +0 -1
- package/eds-icon-youtube.entry-DTLtxuVC.mjs +0 -13
- package/eds-input_7.entry-CSdmlGYi.mjs +0 -7971
- package/eds-input_7.entry-DdKDkmAq.js +0 -7766
- package/eds-modal.entry-B3qjw7GE.mjs +0 -96
- package/eds-modal.entry-KkENKOHe.js +0 -1
- package/eds-trl.entry-CwmhIRgh.mjs +0 -34
- package/incorrect-use-of-colors.entry-B5KDlGuR.mjs +0 -42
- package/incorrect-use-of-colors.entry-_H77f9zg.js +0 -1
- package/index-QKKBbj1_.js +0 -21
- package/logo-space.entry-CGNHFbPE.js +0 -1
- package/logo-space.entry-NVMguJha.mjs +0 -14
- package/logo-variations-horizontal_2.entry-CoHmkNBR.mjs +0 -29
- package/logo-variations-horizontal_2.entry-CykdymGd.js +0 -7
- package/logo-wrong-usage.entry-BozirNNs.mjs +0 -14
- package/logo-wrong-usage.entry-DCJHE7Y8.js +0 -1
- package/token-list_3.entry-D8dKORAJ.js +0 -1
- package/token-ratios.entry-CaKfU99x.js +0 -1
- package/token-spacing.entry-B9inIBOK.mjs +0 -12
- package/token-spacing.entry-BV0NaRVV.js +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { r as c, h as e } from "./index-xVeSZU9j.mjs";
|
|
2
|
+
const s = [
|
|
3
|
+
{
|
|
4
|
+
background: "#9CE142"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
background: "#00C959"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
background: "#00A595"
|
|
11
|
+
}
|
|
12
|
+
], a = [
|
|
13
|
+
{
|
|
14
|
+
background: "#141414"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
background: "#383838"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
background: "#CCCCCC"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
background: "#E6E6E6"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
background: "#FFFFFF"
|
|
27
|
+
}
|
|
28
|
+
], d = [
|
|
29
|
+
{
|
|
30
|
+
background: "#3FA9F5"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
background: "#0644F4"
|
|
34
|
+
}
|
|
35
|
+
], t = [
|
|
36
|
+
{
|
|
37
|
+
background: "#C461FF"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
background: "#5D3DF9"
|
|
41
|
+
}
|
|
42
|
+
], o = [
|
|
43
|
+
{
|
|
44
|
+
background: "#FFA543"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
background: "#FF4D68"
|
|
48
|
+
}
|
|
49
|
+
], n = class {
|
|
50
|
+
constructor(l) {
|
|
51
|
+
c(this, l);
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return e("div", { key: "966cb542b868e89c3f2538548e8a1ca8e20ea8d8", class: "container" }, e("p", { key: "3c595ffa9a2de45b681924354486309004d4ceaf", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "1d1fded0f8cf78cec9e364e5b6844598b55f3f86", label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", e("eds-link", { key: "abae691bb80eca1019f97375997b1aa6a577ba8b", label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), e("div", { key: "251e6d8ad16d70974b67fa044d53abd1be79ccac", class: "flex" }, e("div", { key: "de5b9b6720aababb693421663c52db85cee1b5fc", class: "w-full" }, e("ul", { key: "a61f669f45c2f9d3b53d87bacc222a4274f93d34", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, s.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "e7787d0ae843d7767ecac3267f11325dcfecf948", class: "w-full" }, e("ul", { key: "0d740ad8178c88175939d32a4f84d518f587e43a", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))), e("p", { key: "6c59b2c574f5039baafd91a2939fbbb307732500", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "03e9ca7b0831c2b1d1908001324a38147ecea835", label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", e("eds-link", { key: "021affd3b5db00ccb5ef0d51de4552c5d3a11f44", label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), e("div", { key: "b7a5c4c10adab099c57ed70c0d2186d791aa70ec", class: "flex" }, e("div", { key: "3732c49a47158c206e1b40fc5425e555487ec757", class: "w-full" }, e("ul", { key: "54a5d35510bd77397d1418aa2638cf310534e986", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, t.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "048de44bd69a7b6ecefe3188d76821e4d5145620", class: "w-full" }, e("ul", { key: "e3f8cadce4b9a575e1d844958cfccf20a19db681", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))), e("p", { key: "14d7f9c88ae769d6feb2a8344f8b45b40d4ae095", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "810bdfa6fd175f9d483129b70bbae469051e0e0d", label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", e("eds-link", { key: "fb8a9712f8e1ae1cffbb85c79f7e9c2657f867db", label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), e("div", { key: "1df0919bb4c75ee251d7f5c8cf95bb2e2e990242", class: "flex" }, e("div", { key: "5a898462aa680267f4ac35aefb98e60b7f486c63", class: "w-full" }, e("ul", { key: "ad6f3e6ccde7d225be344efbc176064fc89aa796", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "8dd6e01b989c8589be6b553c85f0512c268ac369", class: "w-full" }, e("ul", { key: "c36937d99efd585c4e8a37b80de5bce82374186c", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))), e("p", { key: "452c68d1c797de34e531d7c734d350fcc36ae2f2", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "17453c9d78c20583c989281672c0f41bbe8d036f", label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", e("eds-link", { key: "3e78eb924b6a857674d50d4a209e4843f76e5fc3", label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), e("div", { key: "ae3e2a703633013f632df3a75f45ec932ce5e13b", class: "flex" }, e("div", { key: "4a0f256fa355dcbd6d6fc0e95e81a6c2821c917d", class: "w-full" }, e("ul", { key: "8aaf611ed9b87b86d0c1b47b1e37cb01989838b2", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, o.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } }))))), e("div", { key: "112e50da1627a671fbca843111becf51cd02ebc5", class: "w-full" }, e("ul", { key: "14033bd08a9d16bd0b6cfe8b87acc2a841c48a29", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((l) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: l.background } })))))));
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
n as correct_use_of_colors
|
|
59
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),l=class{constructor(t){e.registerInstance(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h("div",null,e.h("h2",null,"Primary Palette"),e.h("color-primary-palette",null),e.h("h2",null,"Secondary Palette"),e.h("color-secondary-palette",null),e.h("h2",null,"Support Palette"),e.h("color-support-palette",null));case 1:return e.h("div",null,e.h("h2",null,"Primary Palette"),e.h("gradient-primary-palette",null),e.h("h2",null,"Secondary Palette"),e.h("gradient-secondary-palette",null),e.h("h2",null,"Support Palette"),e.h("gradient-support-palette",null));default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"f985628b9ea3f02a511e2facbda99b54f0723acf",class:"container"},this.renderContent())}};exports.docs_palettes=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as e } from "./index-
|
|
1
|
+
import { r as l, h as e } from "./index-xVeSZU9j.mjs";
|
|
2
2
|
const r = class {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
l(this, t), this.tabIndex = void 0;
|
|
@@ -14,9 +14,9 @@ const r = class {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return e("div", { key: "
|
|
17
|
+
return e("div", { key: "f985628b9ea3f02a511e2facbda99b54f0723acf", class: "container" }, this.renderContent());
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
21
|
-
r as
|
|
21
|
+
r as docs_palettes
|
|
22
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),n=class{constructor(t){e.registerInstance(this,t),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h("token-list",{show:"background"});case 1:return e.h("token-list",{show:"text"});case 2:return e.h("token-list",{show:"border"});case 3:return e.h("token-radii",null);case 4:return e.h("token-list",{show:"outline"});case 5:return e.h("token-shadows",null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"29810a0ace60d2e5a0fc84d6715fc2fc89d6187f",class:"container"},this.renderContent())}};exports.docs_tokens=n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as n, h as e } from "./index-
|
|
2
|
-
const
|
|
1
|
+
import { r as n, h as e } from "./index-xVeSZU9j.mjs";
|
|
2
|
+
const s = class {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
n(this, t), this.tabIndex = void 0;
|
|
5
5
|
}
|
|
@@ -22,9 +22,9 @@ const r = class {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return e("div", { key: "
|
|
25
|
+
return e("div", { key: "29810a0ace60d2e5a0fc84d6715fc2fc89d6187f", class: "container" }, this.renderContent());
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
s as docs_tokens
|
|
30
30
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),o=require("./analytics-44b1416b-ol77SdQE.js"),a="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}",r=a,n=class{constructor(t){e.registerInstance(this,t),this.accordion=e.createEvent(this,"accordion",7),this.handleClick=()=>{var i;this.isExpanded=!this.isExpanded,this.accordion.emit(this.isExpanded),this.setPanelHeight(),o.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((i=this.title)===null||i===void 0?void 0:i.toLowerCase())||"",action:this.isExpanded?"expanded":"collapsed"})},this.setPanelHeight=()=>{this.childContentRef&&(this.shortContent=this.wrapperRef.scrollWidth>830&&!this.description?this.childContentRef.scrollHeight<=80:this.childContentRef.scrollHeight<=20,this.panelHeight=this.isExpanded&&!this.shortContent?this.childContentRef.scrollHeight:0),this.headerRef&&(this.headerHeight=this.headerRef.scrollHeight-30)},this.title=void 0,this.description=void 0,this.switchBg=!0,this.expanded=!1,this.clampText=!0,this.isExpanded=this.expanded,this.panelHeight=0,this.shortContent=!1,this.headerHeight=0}componentDidLoad(){this.setPanelHeight(),window.addEventListener("resize",this.setPanelHeight)}disconnectedCallback(){window.removeEventListener("resize",this.setPanelHeight)}render(){return e.h("div",{key:"db04fa9db1f53e95a7ac758656b32e75281f5749",ref:t=>this.wrapperRef=t,class:`flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2
|
+
${this.switchBg&&this.isExpanded?"bg-inverse":"bg-default"}
|
|
3
|
+
${this.switchBg?"hover:bg-inverse":""}
|
|
4
|
+
${this.description?"min-h-56":""}`},e.h("h3",{key:"a6fc54388e0eab3ddfb81dfb5907c55a1d6d40e1",ref:t=>this.headerRef=t,class:"mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40"},this.title),e.h("div",{key:"96a1e4ae2849300e6cd3c737357a7e6e9a0439d5",class:"ml-auto"},e.h("eds-button",{key:"ca53eed446f9bc7a96182da9e9e3a45b1c63dba2",id:"toggleAccordion",intent:"tertiary","aria-expanded":this.isExpanded||this.shortContent,"aria-label":"Toggle accordion","aria-controls":"accordionSection",class:"effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none",onClick:this.handleClick,icon:"chevron-down"})),e.h("div",{key:"2e1c52759fa07ecf63fed47f79c0384a79cd81c6",class:"w-full",style:Number.isFinite(this.headerHeight)?{marginTop:`${this.headerHeight}px`}:{}},this.description?e.h("span",{class:`text-light ${!this.isExpanded&&this.clampText?"line-clamp-1":""}`},this.description):null,e.h("section",{key:"6ca819b2d9cb989f0942b98f32cd7243771b6ae9",id:"accordionSection",role:"region","aria-labelledby":"accordionHeader","aria-hidden":!this.isExpanded,class:`z-1 effect-height relative h-0 w-full ${!this.isExpanded&&this.clampText?"overflow-hidden":""}`,style:{height:this.isExpanded?"auto":"0"}},e.h("div",{key:"aa33297747aca21c3b3ed33eb3eabc2998192aeb",ref:t=>this.childContentRef=t,class:"accordion-content effect-color pt-4","aria-hidden":!this.isExpanded},e.h("span",{key:"af5b6e2218419a3c95e21e7e432696b073b7752b",class:`${!this.isExpanded&&this.clampText?"line-clamp-2":""}`},e.h("slot",{key:"2a9d1ef2d2537c831b28fbecb02a6125a1412019"}))))))}get el(){return e.getElement(this)}};n.style=r;exports.eds_accordion=n;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { r as n, c as a, h as e, g as o } from "./index-xVeSZU9j.mjs";
|
|
2
|
+
import { s as r } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
3
|
+
const d = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", s = d, l = class {
|
|
4
|
+
constructor(i) {
|
|
5
|
+
n(this, i), this.accordion = a(this, "accordion", 7), this.handleClick = () => {
|
|
6
|
+
var t;
|
|
7
|
+
this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), r({
|
|
8
|
+
category: "ui-component",
|
|
9
|
+
parentContext: null,
|
|
10
|
+
tag: this.el.tagName.toLowerCase(),
|
|
11
|
+
name: ((t = this.title) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
|
|
12
|
+
action: this.isExpanded ? "expanded" : "collapsed"
|
|
13
|
+
});
|
|
14
|
+
}, this.setPanelHeight = () => {
|
|
15
|
+
this.childContentRef && (this.shortContent = this.wrapperRef.scrollWidth > 830 && !this.description ? this.childContentRef.scrollHeight <= 80 : this.childContentRef.scrollHeight <= 20, this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0), this.headerRef && (this.headerHeight = this.headerRef.scrollHeight - 30);
|
|
16
|
+
}, this.title = void 0, this.description = void 0, this.switchBg = !0, this.expanded = !1, this.clampText = !0, this.isExpanded = this.expanded, this.panelHeight = 0, this.shortContent = !1, this.headerHeight = 0;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Lifecycle method that sets up the initial panel height and adds a resize event listener
|
|
20
|
+
* to recalculate height on window resize.
|
|
21
|
+
*/
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
this.setPanelHeight(), window.addEventListener("resize", this.setPanelHeight);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lifecycle method that cleans up the resize event listener when the component is removed.
|
|
27
|
+
*/
|
|
28
|
+
disconnectedCallback() {
|
|
29
|
+
window.removeEventListener("resize", this.setPanelHeight);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Renders the accordion structure, including header, content, description, and any slotted content.
|
|
33
|
+
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
34
|
+
*/
|
|
35
|
+
render() {
|
|
36
|
+
return e("div", { key: "db04fa9db1f53e95a7ac758656b32e75281f5749", ref: (i) => this.wrapperRef = i, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
37
|
+
${this.switchBg && this.isExpanded ? "bg-inverse" : "bg-default"}
|
|
38
|
+
${this.switchBg ? "hover:bg-inverse" : ""}
|
|
39
|
+
${this.description ? "min-h-56" : ""}` }, e("h3", { key: "a6fc54388e0eab3ddfb81dfb5907c55a1d6d40e1", ref: (i) => this.headerRef = i, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.title), e("div", { key: "96a1e4ae2849300e6cd3c737357a7e6e9a0439d5", class: "ml-auto" }, e("eds-button", { key: "ca53eed446f9bc7a96182da9e9e3a45b1c63dba2", id: "toggleAccordion", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none", onClick: this.handleClick, icon: "chevron-down" })), e("div", { key: "2e1c52759fa07ecf63fed47f79c0384a79cd81c6", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? e("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, e("section", { key: "6ca819b2d9cb989f0942b98f32cd7243771b6ae9", id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? "overflow-hidden" : ""}`, style: { height: this.isExpanded ? "auto" : "0" } }, e("div", { key: "aa33297747aca21c3b3ed33eb3eabc2998192aeb", ref: (i) => this.childContentRef = i, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, e("span", { key: "af5b6e2218419a3c95e21e7e432696b073b7752b", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, e("slot", { key: "2a9d1ef2d2537c831b28fbecb02a6125a1412019" }))))));
|
|
40
|
+
}
|
|
41
|
+
get el() {
|
|
42
|
+
return o(this);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
l.style = s;
|
|
46
|
+
export {
|
|
47
|
+
l as eds_accordion
|
|
48
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),r=require("./index-39c58238-SQ-JC-LH.js"),o=`:root {
|
|
2
2
|
font-optical-sizing: auto;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as o, h as e } from "./index-
|
|
2
|
-
const
|
|
1
|
+
import { r as o, h as e } from "./index-xVeSZU9j.mjs";
|
|
2
|
+
const c = class {
|
|
3
3
|
constructor(i) {
|
|
4
4
|
o(this, i), this.isAuthenticated = !1;
|
|
5
5
|
}
|
|
@@ -17,9 +17,9 @@ const d = class {
|
|
|
17
17
|
this.combinedInitPromise = Promise.all([i, n]);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return e("div", { key: "
|
|
20
|
+
return e("div", { key: "7b0b74c02f9fa25dc3d3e5a0fd10d8b4c3a59ffe" }, e("eds-splash-screen", { key: "e1fabb47903b011c397af3a8da59130e8455280f", inverse: !0, initPromise: this.combinedInitPromise }), e("eds-login", { key: "30d8ca5116c5b8a18972df9c55bd4a947226d682", "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), e("main", { key: "16ead78b24f561049fb12609b23bff028262d9d5" }, this.isAuthenticated ? e("h1", null, "Welcome, authenticated user!") : e("h1", null, "Please log in.")));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
c as eds_app_root
|
|
25
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),o=class{constructor(i){e.registerInstance(this,i),this.isAuthenticated=!1}componentWillLoad(){const i=new Promise(a=>{document.addEventListener("initKeycloak",t=>{a(t.detail)},{once:!0})}),s=new Promise(a=>{document.addEventListener("authStatusChanged",t=>{var n;this.isAuthenticated=(n=t.detail)===null||n===void 0?void 0:n.authenticated,a(t.detail)},{once:!0})});this.combinedInitPromise=Promise.all([i,s])}render(){return e.h("div",{key:"7b0b74c02f9fa25dc3d3e5a0fd10d8b4c3a59ffe"},e.h("eds-splash-screen",{key:"e1fabb47903b011c397af3a8da59130e8455280f",inverse:!0,initPromise:this.combinedInitPromise}),e.h("eds-login",{key:"30d8ca5116c5b8a18972df9c55bd4a947226d682","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),e.h("main",{key:"16ead78b24f561049fb12609b23bff028262d9d5"},this.isAuthenticated?e.h("h1",null,"Welcome, authenticated user!"):e.h("h1",null,"Please log in.")))}};exports.eds_app_root=o;
|