@ebrains/vue 0.9.3-beta → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/analytics-d99780e3-Bay18Oil.mjs +28 -0
- package/analytics-d99780e3-DgvAss6l.js +1 -0
- package/{color-primary-palette_6.entry-CloKiAKI.mjs → color-primary-palette_6.entry-CfNmHzNO.mjs} +15 -15
- package/color-primary-palette_6.entry-c48Fqrz0.js +1 -0
- package/{components-section.entry-BZl-upvI.js → components-section.entry-3yJF6nRH.js} +5 -5
- package/{components-section.entry-DEtf0V8r.mjs → components-section.entry-oQTYayXm.mjs} +28 -19
- package/{correct-use-of-colors.entry-CvrVVhIA.mjs → correct-use-of-colors.entry-7fOSokhJ.mjs} +2 -2
- package/{correct-use-of-colors.entry-ajROARV6.js → correct-use-of-colors.entry-DEdyB_h5.js} +1 -1
- package/{docs-palettes.entry-CegYRhKo.js → docs-palettes.entry-6ekOz4GT.js} +1 -1
- package/{docs-palettes.entry-OWUmgE8-.mjs → docs-palettes.entry-Bz96UO-K.mjs} +2 -2
- package/{docs-tokens.entry-D720jRIB.mjs → docs-tokens.entry-D-hRYpqk.mjs} +2 -2
- package/{docs-tokens.entry-BIwcLv8t.js → docs-tokens.entry-DjHB8v2C.js} +1 -1
- package/{eds-accordion.entry-D5Qn9bWB.js → eds-accordion.entry-Czj2ZwpQ.js} +1 -1
- package/{eds-accordion.entry-Ct4upGzD.mjs → eds-accordion.entry-D1L8fv2r.mjs} +5 -5
- package/eds-alert.entry-BqEeR0Xw.js +165 -0
- package/eds-alert.entry-DAeVRXua.mjs +251 -0
- package/{eds-app-root.entry-DPM5X6uN.mjs → eds-app-root.entry-BBbgNK8b.mjs} +2 -2
- package/{eds-app-root.entry-C-CwU-8Y.js → eds-app-root.entry-BrJeEAVb.js} +1 -1
- package/{eds-timeline.entry-AsApD57a.mjs → eds-avatar_34.entry-1U84FvGQ.mjs} +7346 -3065
- package/{eds-tabs.entry-DRJv1vVW.mjs → eds-avatar_34.entry-iuvkwQW_.js} +5138 -2826
- package/eds-card-project.entry-Cd7tP9g4.mjs +170 -0
- package/eds-card-project.entry-CewRPvW7.js +1 -0
- package/{eds-card-section.entry-BWDrARpV.js → eds-card-section.entry-BU4fC9y5.js} +1 -1
- package/{eds-card-section.entry-CXFOGMeJ.mjs → eds-card-section.entry-CQLG4D0D.mjs} +1 -1
- package/{eds-card-tags.entry-Debtxwjy.mjs → eds-card-tags.entry-BKuk3O8k.mjs} +1 -1
- package/{eds-card-tags.entry-Do7oGWtS.js → eds-card-tags.entry-DOV6K1FD.js} +1 -1
- package/{eds-card-tool.entry-CXluEgpO.mjs → eds-card-tool.entry-DpfInwr3.mjs} +5 -5
- package/{eds-card-tool.entry-kxsYfCOl.js → eds-card-tool.entry-LSjtu5k_.js} +1 -1
- package/{eds-code-block.entry-BIGwear1.mjs → eds-code-block.entry-Bz1Pbg4W.mjs} +1 -1
- package/{eds-code-block.entry-B2tVEczx.js → eds-code-block.entry-DG1tMA_4.js} +1 -1
- package/{eds-cookies-preference.entry-mbjVkbaf.js → eds-cookies-preference.entry-0J8XlEDN.js} +1 -1
- package/{eds-cookies-preference.entry-BwTBWuc7.mjs → eds-cookies-preference.entry-DgP6pxkr.mjs} +2 -2
- package/{eds-feedback.entry-CxE8Mda2.js → eds-feedback.entry-Cmn3G5sR.js} +1 -1
- package/{eds-feedback.entry-DQZP2iFN.mjs → eds-feedback.entry-CxyxT-OD.mjs} +10 -9
- package/eds-frame.entry-Dh_T8O60.mjs +67 -0
- package/eds-frame.entry-LDVXpjkU.js +1 -0
- package/{eds-icon-arrow-diagonal.entry-BzMthIH3.js → eds-icon-arrow-diagonal.entry-C6AHMuMB.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-D0nObc1G.mjs → eds-icon-arrow-diagonal.entry-C75xEcUs.mjs} +1 -1
- package/{eds-icon-arrow-right.entry-BGLDpWIT.mjs → eds-icon-arrow-right.entry-DOsVz4oP.mjs} +1 -1
- package/{eds-icon-arrow-right.entry-DPLcd0Dg.js → eds-icon-arrow-right.entry-VMROpz2J.js} +1 -1
- package/{eds-icon-bluesky.entry-bnwTCSoD.js → eds-icon-bluesky.entry-BmSl31Ky.js} +1 -1
- package/{eds-icon-bluesky.entry-ZXTtFyYw.mjs → eds-icon-bluesky.entry-C9skxio2.mjs} +1 -1
- package/{eds-icon-bookmark.entry-vBTnOEht.js → eds-icon-bookmark.entry-DdUP23Uu.js} +1 -1
- package/{eds-icon-bookmark.entry-BV8nKCLz.mjs → eds-icon-bookmark.entry-xWgHPpg-.mjs} +1 -1
- package/{eds-icon-chevron-down.entry-BNSIoEMh.js → eds-icon-chevron-down.entry-DNY1bk_l.js} +1 -1
- package/{eds-icon-chevron-down.entry-9YeZRA_B.mjs → eds-icon-chevron-down.entry-ut52sjbR.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-Bm5LaJAt.mjs → eds-icon-chevron-left.entry-Bi82EnZL.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-BBKqN2RH.js → eds-icon-chevron-left.entry-nzi05fTd.js} +1 -1
- package/{eds-icon-chevron-right.entry-CieI-tuC.js → eds-icon-chevron-right.entry-CBW3L3p8.js} +1 -1
- package/{eds-icon-chevron-right.entry-ChbDkmms.mjs → eds-icon-chevron-right.entry-Dc_uRypg.mjs} +1 -1
- package/{eds-icon-chevron-up.entry-D3DkXrLO.mjs → eds-icon-chevron-up.entry-CO7nzD9J.mjs} +1 -1
- package/{eds-icon-chevron-up.entry-BqkKRoL-.js → eds-icon-chevron-up.entry-Cc10e7Ce.js} +1 -1
- package/{eds-icon-close.entry-DQv18xqh.mjs → eds-icon-close.entry-CvXUDttz.mjs} +1 -1
- package/{eds-icon-close.entry-4xYgUnOY.js → eds-icon-close.entry-Dw7ZUnkQ.js} +1 -1
- package/{eds-icon-copy.entry-C7-kaujN.mjs → eds-icon-copy.entry-DV4qtIA7.mjs} +1 -1
- package/{eds-icon-copy.entry-DQl13_LK.js → eds-icon-copy.entry-x46asO9P.js} +1 -1
- package/{eds-icon-eu.entry-DR5lezcj.mjs → eds-icon-eu.entry-BaEbXLNS.mjs} +1 -1
- package/{eds-icon-eu.entry-B8fNjCUv.js → eds-icon-eu.entry-D2CoGoAF.js} +1 -1
- package/{eds-icon-external.entry-BaIofxzF.js → eds-icon-external.entry-C0Zm0isI.js} +1 -1
- package/{eds-icon-external.entry-DvY_6Ld0.mjs → eds-icon-external.entry-CckFcmA1.mjs} +1 -1
- package/{eds-icon-facebook.entry-D7FANZCQ.mjs → eds-icon-facebook.entry-CIiiUf27.mjs} +1 -1
- package/{eds-icon-facebook.entry-Do2GEkmS.js → eds-icon-facebook.entry-DwUcANz7.js} +1 -1
- package/{eds-icon-gitlab.entry-p78Zzlxs.js → eds-icon-gitlab.entry-CuKUR41Q.js} +1 -1
- package/{eds-icon-gitlab.entry-D7FC3Vn4.mjs → eds-icon-gitlab.entry-PCSE_PYe.mjs} +1 -1
- package/{eds-icon-linkedin.entry-BYQGxGkX.js → eds-icon-linkedin.entry-Bpoynapn.js} +1 -1
- package/{eds-icon-linkedin.entry-CchbiOIO.mjs → eds-icon-linkedin.entry-C9xqBwJ1.mjs} +1 -1
- package/{eds-icon-loader.entry-C8zfXt5G.mjs → eds-icon-loader.entry-CkIiBDsV.mjs} +1 -1
- package/{eds-icon-loader.entry-Cw7oYrm3.js → eds-icon-loader.entry-dxgwIFD3.js} +1 -1
- package/{eds-icon-mastodon.entry-C_TXVQJB.js → eds-icon-mastodon.entry-7CmZhvNG.js} +1 -1
- package/{eds-icon-mastodon.entry-BOgFKnbj.mjs → eds-icon-mastodon.entry-k86mWfUp.mjs} +1 -1
- package/{eds-icon-menu.entry-Dl7Xqhc3.mjs → eds-icon-menu.entry-7zPtmR24.mjs} +1 -1
- package/{eds-icon-menu.entry-BtdrFvM4.js → eds-icon-menu.entry-CFIbaI5j.js} +1 -1
- package/{eds-icon-minus.entry-BA5Al4_F.js → eds-icon-minus.entry-B4ntnZW_.js} +1 -1
- package/{eds-icon-minus.entry-Bfm78Q48.mjs → eds-icon-minus.entry-fPsoVmGR.mjs} +1 -1
- package/{eds-icon-more.entry-mAUgJoHF.js → eds-icon-more.entry-D_HCuwKk.js} +1 -1
- package/{eds-icon-more.entry-CHzRpt-L.mjs → eds-icon-more.entry-DyH3sCa4.mjs} +1 -1
- package/{eds-icon-paper.entry-DEiOlvnw.mjs → eds-icon-paper.entry-BQlPnCrf.mjs} +1 -1
- package/{eds-icon-paper.entry-DtE79_lg.js → eds-icon-paper.entry-CHAw7mqA.js} +1 -1
- package/{eds-icon-plus.entry-BCc2gk-Y.js → eds-icon-plus.entry-QOVehJoq.js} +1 -1
- package/{eds-icon-plus.entry-DxdfImnp.mjs → eds-icon-plus.entry-zTfrWeuu.mjs} +1 -1
- package/{eds-icon-portal.entry-DgJxnehb.js → eds-icon-portal.entry-CbJqS4OZ.js} +1 -1
- package/{eds-icon-portal.entry-DygPWj8q.mjs → eds-icon-portal.entry-SlgbRrHY.mjs} +1 -1
- package/{eds-icon-private.entry-BtxnzDjj.js → eds-icon-private.entry-DSIHrQEv.js} +1 -1
- package/{eds-icon-private.entry-ClDqtUa4.mjs → eds-icon-private.entry-uHBGM_wp.mjs} +1 -1
- package/{eds-icon-public.entry-BKL5QMPS.js → eds-icon-public.entry-Cj1hddsF.js} +1 -1
- package/{eds-icon-public.entry-D0qOA8dF.mjs → eds-icon-public.entry-_sTE1w2W.mjs} +1 -1
- package/{eds-icon-search.entry-BPeHLF3h.js → eds-icon-search.entry-CXVkIZak.js} +1 -1
- package/{eds-icon-search.entry-iegCSWzH.mjs → eds-icon-search.entry-DIww9BJF.mjs} +1 -1
- package/{eds-icon-star.entry-BP6oBKRH.mjs → eds-icon-star.entry-B3WySZM_.mjs} +1 -1
- package/{eds-icon-star.entry-DSHqvj6t.js → eds-icon-star.entry-B464U0ht.js} +1 -1
- package/{eds-icon-success.entry-DoaW0KlM.js → eds-icon-success.entry-BhRuLH3J.js} +1 -1
- package/{eds-icon-success.entry-B2vqFpAU.mjs → eds-icon-success.entry-HesFgi8E.mjs} +1 -1
- package/{eds-icon-thumbs-down.entry-CmV8Km2F.mjs → eds-icon-thumbs-down.entry-CbL3623r.mjs} +1 -1
- package/{eds-icon-thumbs-down.entry-CFMyu-CY.js → eds-icon-thumbs-down.entry-DVK5ACMh.js} +1 -1
- package/{eds-icon-thumbs-up.entry-DhfFxKPT.mjs → eds-icon-thumbs-up.entry-C2QZ3OSz.mjs} +1 -1
- package/{eds-icon-thumbs-up.entry-8RPnzfnW.js → eds-icon-thumbs-up.entry-MDqpoPcO.js} +1 -1
- package/{eds-icon-tutorial.entry-B3NRKCnl.mjs → eds-icon-tutorial.entry-DRB27GWh.mjs} +1 -1
- package/{eds-icon-tutorial.entry-ImfBSV9b.js → eds-icon-tutorial.entry-xaf63POz.js} +1 -1
- package/{eds-icon-twitter.entry-Da3X1sWO.mjs → eds-icon-twitter.entry-CYCIFfgj.mjs} +1 -1
- package/{eds-icon-twitter.entry-BLvpOiN-.js → eds-icon-twitter.entry-CcpEPKUu.js} +1 -1
- package/{eds-icon-unknown.entry--9_uerA-.js → eds-icon-unknown.entry-kYRE4en_.js} +1 -1
- package/{eds-icon-unknown.entry-DH3YcJSO.mjs → eds-icon-unknown.entry-ksugYL8s.mjs} +1 -1
- package/{eds-icon-updown.entry-BU4FzzAC.js → eds-icon-updown.entry-3_UTqXet.js} +1 -1
- package/{eds-icon-updown.entry-D6t6TWtG.mjs → eds-icon-updown.entry-DrW4QdWY.mjs} +1 -1
- package/{eds-icon-user.entry-yNOw7Z1J.js → eds-icon-user.entry-BimbLh7T.js} +1 -1
- package/{eds-icon-user.entry-pb-JM7tE.mjs → eds-icon-user.entry-CMjrRV4a.mjs} +1 -1
- package/{eds-icon-youtube.entry-CNH9Mxfw.js → eds-icon-youtube.entry-BepDLIVw.js} +1 -1
- package/{eds-icon-youtube.entry-CIx5D-1i.mjs → eds-icon-youtube.entry-CGXXdMzx.mjs} +1 -1
- package/{eds-matomo-notice.entry-cucI3F6F.js → eds-matomo-notice.entry-BnbhjXrV.js} +1 -1
- package/{eds-matomo-notice.entry-DD0R8UUN.mjs → eds-matomo-notice.entry-DQLfTEH4.mjs} +26 -24
- package/{eds-pagination_2.entry-Cmqe9RbB.mjs → eds-pagination_2.entry-BK--gyZ0.mjs} +8 -8
- package/{eds-pagination_2.entry-DFO92YFs.js → eds-pagination_2.entry-De883ILy.js} +1 -1
- package/eds-progress-bar.entry-CnzFrS-7.js +1 -0
- package/eds-progress-bar.entry-UWeq2B4o.mjs +39 -0
- package/{eds-rating.entry-BJZaV3ft.js → eds-rating.entry-D48_hoBw.js} +1 -1
- package/{eds-rating.entry-BaneuoOA.mjs → eds-rating.entry-ScrHbfrp.mjs} +2 -2
- package/{eds-section-core_2.entry-dmjdE4gJ.mjs → eds-section-core_2.entry-D3FNm7II.mjs} +9 -9
- package/eds-section-core_2.entry-DshZ38Q9.js +1 -0
- package/{eds-spinner.entry-Cdu4PTNJ.js → eds-spinner.entry-CAKA3YkP.js} +1 -1
- package/{eds-spinner.entry-BwIR2ZO2.mjs → eds-spinner.entry-KZWQRAHb.mjs} +5 -5
- package/eds-splash-screen.entry-B7f2rbAn.mjs +39 -0
- package/eds-splash-screen.entry-YJ_mGQYU.js +1 -0
- package/eds-switch.entry-CKv4fbm-.js +1 -0
- package/eds-switch.entry-DbBUxVI8.mjs +29 -0
- package/eds-timeline.entry-BE-6PK5Q.js +1 -0
- package/eds-timeline.entry-uFV4mRmh.mjs +46 -0
- package/eds-toast-manager.entry-BKIf0Xw3.js +1 -0
- package/eds-toast-manager.entry-CXL8sMaG.mjs +61 -0
- package/{eds-toast.entry-B1RS9m4v.js → eds-toast.entry-a-RIjL18.js} +2 -2
- package/{eds-toast.entry-BNYlJ84c.mjs → eds-toast.entry-oZ1Juhqm.mjs} +6 -6
- package/eds-trl.entry-Bw8w42hZ.mjs +34 -0
- package/eds-trl.entry-DmSx4bnn.js +1 -0
- package/generated/components.d.ts +2 -2
- package/incorrect-use-of-colors.entry-BlDQxmUQ.mjs +42 -0
- package/incorrect-use-of-colors.entry-CglkFNGU.js +1 -0
- package/index-BvZ-fq9l.mjs +3486 -0
- package/index-CJvr9v3B.js +21 -0
- package/index.js +1 -1
- package/index.mjs +18 -18
- package/{logo-space.entry-GOUZQmu9.mjs → logo-space.entry-D1gv5Jv7.mjs} +5 -5
- package/{logo-space.entry-DxZ7v-wS.js → logo-space.entry-d5Tx6GSR.js} +2 -2
- package/{logo-variations-horizontal_2.entry-CRdycvC5.js → logo-variations-horizontal_2.entry-CiMlktdv.js} +3 -3
- package/{logo-variations-horizontal_2.entry-DimbU2IU.mjs → logo-variations-horizontal_2.entry-DPHzlUCt.mjs} +10 -10
- package/{logo-variations-tabs.entry-Uc3TLufg.mjs → logo-variations-tabs.entry-BYi6NRAo.mjs} +3 -3
- package/{logo-variations-tabs.entry-5kLk6tXo.js → logo-variations-tabs.entry-CcSRDFWV.js} +1 -1
- package/{logo-wrong-usage.entry-CYcqaVbn.mjs → logo-wrong-usage.entry-9iDssoCI.mjs} +5 -5
- package/{logo-wrong-usage.entry-13RSC-bu.js → logo-wrong-usage.entry-gsDvZ1sn.js} +1 -1
- package/package.json +1 -1
- package/{svg-repository.entry-IIRiiFbB.mjs → svg-repository.entry-BtksDklW.mjs} +11 -11
- package/{svg-repository.entry-Ck1z1CpA.js → svg-repository.entry-_-HISW99.js} +2 -2
- package/{token-list_3.entry-CQ9aUIVd.mjs → token-list_3.entry-CNkWD89P.mjs} +4 -4
- package/{token-list_3.entry-CLlUT7ge.js → token-list_3.entry-CRZq4och.js} +1 -1
- package/token-ratios.entry-CL40j9gF.js +1 -0
- package/{token-ratios.entry-DkgSpwqw.mjs → token-ratios.entry-D4aHLsX-.mjs} +5 -5
- package/{token-typography.entry-CgJdJgCR.js → token-typography.entry-D17oZHbh.js} +1 -1
- package/{token-typography.entry-CrMCS1R0.mjs → token-typography.entry-ayRMMiOe.mjs} +2 -2
- package/analytics-44b1416b-3vYuu4Xs.mjs +0 -28
- package/analytics-44b1416b-ol77SdQE.js +0 -1
- package/color-2554aad6-CCcV5UJZ.mjs +0 -131
- package/color-2554aad6-D1hFGX4H.js +0 -1
- package/color-primary-palette_6.entry-DnBuZqiu.js +0 -1
- package/eds-alert.entry-D9ClanEp.js +0 -739
- package/eds-alert.entry-D9R2BeLM.mjs +0 -825
- package/eds-avatar_27.entry-7vAHtj7m.mjs +0 -33545
- package/eds-avatar_27.entry-CnmtSNAS.js +0 -31838
- package/eds-card-desc_2.entry-1GoZmzeQ.mjs +0 -53
- package/eds-card-desc_2.entry-BfOXVZi0.js +0 -1
- package/eds-card-generic.entry-BKpFgWlR.js +0 -1
- package/eds-card-generic.entry-CT7jqo3p.mjs +0 -56
- package/eds-card-project.entry-BbLZfxAE.js +0 -1
- package/eds-card-project.entry-O11d3day.mjs +0 -44
- package/eds-card-wrapper.entry-DnHxiCgs.js +0 -1
- package/eds-card-wrapper.entry-Dyrfqp6K.mjs +0 -24
- package/eds-frame.entry-BzGgy3Ya.mjs +0 -67
- package/eds-frame.entry-CGFInzxQ.js +0 -1
- package/eds-login_2.entry-shWfmpH4.mjs +0 -981
- package/eds-login_2.entry-swrZnwUp.js +0 -9
- package/eds-progress-bar.entry-CIkJEHf9.mjs +0 -21
- package/eds-progress-bar.entry-CUoQ0OmO.js +0 -1
- package/eds-section-core_2.entry-wnSqKsfm.js +0 -1
- package/eds-switch.entry-8g9JkW0c.js +0 -1
- package/eds-switch.entry-BOxsYeYC.mjs +0 -20
- package/eds-tabs.entry-CdlLmrmB.js +0 -7794
- package/eds-timeline.entry-MDj5oqZG.js +0 -7794
- package/eds-toast-manager.entry-Bri3h_MP.mjs +0 -36
- package/eds-toast-manager.entry-zrDxthPz.js +0 -1
- package/eds-tooltip.entry-B6UpJ0wf.js +0 -1
- package/eds-tooltip.entry-Ci5te9B_.mjs +0 -77
- package/eds-trl.entry-CuUDfGYw.js +0 -1
- package/eds-trl.entry-Dz7LP4G1.mjs +0 -34
- package/incorrect-use-of-colors.entry-CYXsk3TR.mjs +0 -42
- package/incorrect-use-of-colors.entry-CfmdbA7l.js +0 -1
- package/index-7ljGsgwC.js +0 -21
- package/index-l365C9dI.mjs +0 -3617
- package/toastManager-d9eee791-CEYNwx25.mjs +0 -30
- package/toastManager-d9eee791-DvR_vUPI.js +0 -1
- package/token-ratios.entry-Dtrkv16c.js +0 -1
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-l365C9dI.mjs";
|
|
2
|
-
const n = ".f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}", a = n, r = class {
|
|
3
|
-
constructor(e) {
|
|
4
|
-
i(this, e), this.description = void 0, this.descClass = "f-ui-03-light", this.truncate = !0, this.truncateLines = "3";
|
|
5
|
-
}
|
|
6
|
-
getTruncateClass() {
|
|
7
|
-
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : "";
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return t("p", { key: "3ea345f69bed29135df8231c79eaea0f06e813df", class: `text-light ${this.descClass}` }, t("span", { key: "99c383485ec0852be81a05fe0999cb429fee4a27", class: this.getTruncateClass() }, this.description));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
r.style = a;
|
|
14
|
-
const h = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}", l = h, f = class {
|
|
15
|
-
constructor(e) {
|
|
16
|
-
i(this, e), this.url = void 0, this.titleClass = void 0, this.headingLevel = "h3", this.externalLink = !1, this.cardTitle = void 0, this.hierarchy = !0;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Dynamically generate the title class based on the heading level.
|
|
20
|
-
*/
|
|
21
|
-
getTitleClass() {
|
|
22
|
-
return `f-heading-${(this.hierarchy ? {
|
|
23
|
-
h1: "05",
|
|
24
|
-
h2: "05",
|
|
25
|
-
h3: "05",
|
|
26
|
-
h4: "05",
|
|
27
|
-
h5: "05",
|
|
28
|
-
h6: "06"
|
|
29
|
-
} : {
|
|
30
|
-
h1: "01",
|
|
31
|
-
h2: "02",
|
|
32
|
-
h3: "03",
|
|
33
|
-
h4: "04",
|
|
34
|
-
h5: "05",
|
|
35
|
-
h6: "06"
|
|
36
|
-
})[this.headingLevel]}`;
|
|
37
|
-
}
|
|
38
|
-
/*private getTag() {
|
|
39
|
-
if (this.url) {
|
|
40
|
-
return 'a';
|
|
41
|
-
}
|
|
42
|
-
return 'span';
|
|
43
|
-
}*/
|
|
44
|
-
render() {
|
|
45
|
-
const e = this.headingLevel;
|
|
46
|
-
return t(e, { key: "9914950b1581456a3a875ed7383975710c05fa7f", class: this.getTitleClass() }, t("a", { key: "9b3298d8bacd8fbaecd8c714329ef5e6ac7192c7", class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? "_blank" : void 0, rel: this.externalLink ? "noopener noreferrer" : void 0 }, this.cardTitle));
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
f.style = l;
|
|
50
|
-
export {
|
|
51
|
-
r as eds_card_desc,
|
|
52
|
-
f as eds_card_title
|
|
53
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-7ljGsgwC.js"),a=".f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}",r=a,i=class{constructor(e){t.registerInstance(this,e),this.description=void 0,this.descClass="f-ui-03-light",this.truncate=!0,this.truncateLines="3"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return t.h("p",{key:"3ea345f69bed29135df8231c79eaea0f06e813df",class:`text-light ${this.descClass}`},t.h("span",{key:"99c383485ec0852be81a05fe0999cb429fee4a27",class:this.getTruncateClass()},this.description))}};i.style=r;const h="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}",l=h,n=class{constructor(e){t.registerInstance(this,e),this.url=void 0,this.titleClass=void 0,this.headingLevel="h3",this.externalLink=!1,this.cardTitle=void 0,this.hierarchy=!0}getTitleClass(){return`f-heading-${(this.hierarchy?{h1:"05",h2:"05",h3:"05",h4:"05",h5:"05",h6:"06"}:{h1:"01",h2:"02",h3:"03",h4:"04",h5:"05",h6:"06"})[this.headingLevel]}`}render(){const e=this.headingLevel;return t.h(e,{key:"9914950b1581456a3a875ed7383975710c05fa7f",class:this.getTitleClass()},t.h("a",{key:"9b3298d8bacd8fbaecd8c714329ef5e6ac7192c7",class:"break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.cardTitle))}};n.style=l;exports.eds_card_desc=i;exports.eds_card_title=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-7ljGsgwC.js"),a=require("./sharedUtils-a550989c-m4pF1Vqy.js"),s=require("./analytics-44b1416b-ol77SdQE.js"),o=".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}",n=o,i=class{constructor(e){t.registerInstance(this,e),this.parentContext=null,this.cardTitle=void 0,this.url=void 0,this.description=void 0,this.image=void 0,this.avatar=void 0,this.shortAbbreviation=void 0,this.headingLevel="h3",this.tags=[],this.tiny=!1,this.bg=!0,this.withHover=!0,this.hierarchy=!0,this.parsedImage=null}componentWillLoad(){if(this.image)try{typeof this.image=="object"?this.parsedImage=this.image:typeof this.image=="string"&&(this.parsedImage=JSON.parse(this.image))}catch(e){console.error("Error parsing image prop:",e),this.parsedImage={}}}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}get parsedTags(){return a.parseData(this.tags)}articleClasses(){return[this.description?this.tiny?"min-h-120":"min-h-156":"h-auto",this.bg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ")}handleClick(){var e;s.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.cardTitle)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}render(){return t.h("article",{key:"440a448c841370838c0c66610bd1266b46f66541",class:this.articleClasses(),onClick:()=>this.handleClick()},t.h("eds-card-title",{key:"292d93a9a993c6dcbfd276097a21d3984b1794c4","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,hierarchy:this.hierarchy}),this.description&&t.h("eds-card-desc",{key:"4b304cc3c65a42b3b1bcbebd9968c45e79cdabf7",class:"mt-8","truncate-lines":"3",description:this.description}),this.parsedImage?t.h("eds-img",Object.assign({class:"mt-8"},this.parsedImage)):this.avatar||this.shortAbbreviation?t.h("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,t.h("div",{key:"8bdcbbe2982a450843e9ada727e3f6eb62872ae1",class:"flex flex-wrap gap-y-4 gap-x-1"},this.parsedTags.map((e,r)=>t.h("eds-tag",{key:r,intent:e.style,label:e.label})))," ")}get el(){return t.getElement(this)}};i.style=n;exports.eds_card_generic=i;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { r, h as t, g as a } from "./index-l365C9dI.mjs";
|
|
2
|
-
import { p as s } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
|
-
import { s as o } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
4
|
-
const n = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}", d = n, h = class {
|
|
5
|
-
constructor(e) {
|
|
6
|
-
r(this, e), this.parentContext = null, this.cardTitle = void 0, this.url = void 0, this.description = void 0, this.image = void 0, this.avatar = void 0, this.shortAbbreviation = void 0, this.headingLevel = "h3", this.tags = [], this.tiny = !1, this.bg = !0, this.withHover = !0, this.hierarchy = !0, this.parsedImage = null;
|
|
7
|
-
}
|
|
8
|
-
componentWillLoad() {
|
|
9
|
-
if (this.image)
|
|
10
|
-
try {
|
|
11
|
-
typeof this.image == "object" ? this.parsedImage = this.image : typeof this.image == "string" && (this.parsedImage = JSON.parse(this.image));
|
|
12
|
-
} catch (e) {
|
|
13
|
-
console.error("Error parsing image prop:", e), this.parsedImage = {};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
handleParentContext(e) {
|
|
17
|
-
e.target === this.el && (this.parentContext = e.detail, e.stopPropagation());
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Parses the `tags` prop into an array of link objects.
|
|
21
|
-
* Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
|
|
22
|
-
*
|
|
23
|
-
* @returns {any[]} Array of parsed link objects
|
|
24
|
-
*/
|
|
25
|
-
get parsedTags() {
|
|
26
|
-
return s(this.tags);
|
|
27
|
-
}
|
|
28
|
-
articleClasses() {
|
|
29
|
-
return [
|
|
30
|
-
this.description ? this.tiny ? "min-h-120" : "min-h-156" : "h-auto",
|
|
31
|
-
this.bg ? "bg-inverse" : "bg-default",
|
|
32
|
-
this.withHover ? "effect-shadow hover:shadow-hover cursor-pointer" : "",
|
|
33
|
-
"border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"
|
|
34
|
-
].join(" ");
|
|
35
|
-
}
|
|
36
|
-
handleClick() {
|
|
37
|
-
var e;
|
|
38
|
-
o({
|
|
39
|
-
category: "ui-component",
|
|
40
|
-
parentContext: this.parentContext,
|
|
41
|
-
tag: this.el.tagName.toLowerCase(),
|
|
42
|
-
name: ((e = this.cardTitle) === null || e === void 0 ? void 0 : e.toLowerCase()) || "",
|
|
43
|
-
action: "click"
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
return t("article", { key: "440a448c841370838c0c66610bd1266b46f66541", class: this.articleClasses(), onClick: () => this.handleClick() }, t("eds-card-title", { key: "292d93a9a993c6dcbfd276097a21d3984b1794c4", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && t("eds-card-desc", { key: "4b304cc3c65a42b3b1bcbebd9968c45e79cdabf7", class: "mt-8", "truncate-lines": "3", description: this.description }), this.parsedImage ? t("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage)) : this.avatar || this.shortAbbreviation ? t("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation }) : null, t("div", { key: "8bdcbbe2982a450843e9ada727e3f6eb62872ae1", class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((e, i) => t("eds-tag", { key: i, intent: e.style, label: e.label }))), " ");
|
|
48
|
-
}
|
|
49
|
-
get el() {
|
|
50
|
-
return a(this);
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
h.style = d;
|
|
54
|
-
export {
|
|
55
|
-
h as eds_card_generic
|
|
56
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7ljGsgwC.js"),r=require("./analytics-44b1416b-ol77SdQE.js"),d=require("./color-2554aad6-D1hFGX4H.js"),l=class{constructor(t){e.registerInstance(this,t),this.image=void 0,this.editorialTitle=void 0,this.headingLevel="h3",this.categoryTitle=void 0,this.color=void 0,this.bgOnHover=!1,this.vertical=!1,this.titleProject=void 0,this.url=void 0,this.parsedImage=null}componentWillLoad(){if(this.image)try{this.parsedImage=JSON.parse(this.image)}catch{}}handleClick(t){var i;t.preventDefault(),r.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((i=this.titleProject)===null||i===void 0?void 0:i.toLowerCase())||"",action:"click"})}render(){var t;const i=["min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",this.color?d.gradientBGColorVariants({color:this.color,hover:this.bgOnHover,class:"before:border-2 before:rounded-lg before:border-softest"}):"bg-default",this.bgOnHover&&this.color?"effect-background bg-default focus-within:bg-transparent hover:bg-transparent":"effect-background hover:bg-default",this.vertical?"flex-col gap-y-16":"flex-col gap-x-16 gap-y-12 lg:flex-row"].join(" "),a=this.vertical?"":"max-w-120 @md:max-w-192 order-first w-full lg:order-last";return e.h("article",{key:"1ffb83f3e694811d5f3d4c8235c50591bca4dec5",class:i,onClick:s=>this.handleClick(s)},e.h("div",{key:"e8d7f04e95722dc8ec8bcb7f90b2b8495b8c13ef",class:`flex grow flex-col ${this.vertical?"min-h-156":""}`},e.h("div",{key:"5ab94ee81425c5f7a143e7f1eb7981da6508e307",class:"lg:max-w-[720px]"},e.h("eds-card-title",{key:"d303425849c5df81c0b72e096313a96031d1c435","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.titleProject,url:this.url}),this.editorialTitle&&e.h("span",{key:"3d4c6b9422d02e4d40d29d7875e3fc651d2f7bd4",class:`block ${this.vertical?"f-ui-02":"mt-4 f-heading-06"}`},this.editorialTitle)),this.categoryTitle&&e.h("div",{key:"2b14dee584d20e90dac0da3b93dff1dbc6f36470",class:"mt-auto flex items-center gap-x-12 pt-12"},((t=this.categoryTitle)===null||t===void 0?void 0:t.length)&&e.h("eds-tag",{key:"cd02551d76731563ebdad89a141f70cbce5bca76",label:this.categoryTitle}))),this.parsedImage&&e.h("div",{key:"5b5cae3820ab870a7588d801151390be494d5c7e",class:a},e.h("div",{key:"e7bb9f3b090f5497b315a4d2495592cfbe5a4aa0",class:"aspect-1x1 w-full"},e.h("eds-img",Object.assign({key:"8fdecaed876c671a08067fdb272f4932b67ae406",sizes:this.vertical?this.parsedImage.sizes||"":"192px"},this.parsedImage)))))}get el(){return e.getElement(this)}};exports.eds_card_project=l;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { r, h as e, g as d } from "./index-l365C9dI.mjs";
|
|
2
|
-
import { s as l } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
3
|
-
import { g as c } from "./color-2554aad6-CCcV5UJZ.mjs";
|
|
4
|
-
const h = class {
|
|
5
|
-
constructor(t) {
|
|
6
|
-
r(this, t), this.image = void 0, this.editorialTitle = void 0, this.headingLevel = "h3", this.categoryTitle = void 0, this.color = void 0, this.bgOnHover = !1, this.vertical = !1, this.titleProject = void 0, this.url = void 0, this.parsedImage = null;
|
|
7
|
-
}
|
|
8
|
-
componentWillLoad() {
|
|
9
|
-
if (this.image)
|
|
10
|
-
try {
|
|
11
|
-
this.parsedImage = JSON.parse(this.image);
|
|
12
|
-
} catch {
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
handleClick(t) {
|
|
16
|
-
var a;
|
|
17
|
-
t.preventDefault(), l({
|
|
18
|
-
category: "ui-component",
|
|
19
|
-
tag: this.el.tagName.toLowerCase(),
|
|
20
|
-
name: ((a = this.titleProject) === null || a === void 0 ? void 0 : a.toLowerCase()) || "",
|
|
21
|
-
action: "click"
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
var t;
|
|
26
|
-
const a = [
|
|
27
|
-
"min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",
|
|
28
|
-
this.color ? c({
|
|
29
|
-
color: this.color,
|
|
30
|
-
hover: this.bgOnHover,
|
|
31
|
-
class: "before:border-2 before:rounded-lg before:border-softest"
|
|
32
|
-
}) : "bg-default",
|
|
33
|
-
this.bgOnHover && this.color ? "effect-background bg-default focus-within:bg-transparent hover:bg-transparent" : "effect-background hover:bg-default",
|
|
34
|
-
this.vertical ? "flex-col gap-y-16" : "flex-col gap-x-16 gap-y-12 lg:flex-row"
|
|
35
|
-
].join(" "), i = this.vertical ? "" : "max-w-120 @md:max-w-192 order-first w-full lg:order-last";
|
|
36
|
-
return e("article", { key: "1ffb83f3e694811d5f3d4c8235c50591bca4dec5", class: a, onClick: (s) => this.handleClick(s) }, e("div", { key: "e8d7f04e95722dc8ec8bcb7f90b2b8495b8c13ef", class: `flex grow flex-col ${this.vertical ? "min-h-156" : ""}` }, e("div", { key: "5ab94ee81425c5f7a143e7f1eb7981da6508e307", class: "lg:max-w-[720px]" }, e("eds-card-title", { key: "d303425849c5df81c0b72e096313a96031d1c435", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.titleProject, url: this.url }), this.editorialTitle && e("span", { key: "3d4c6b9422d02e4d40d29d7875e3fc651d2f7bd4", class: `block ${this.vertical ? "f-ui-02" : "mt-4 f-heading-06"}` }, this.editorialTitle)), this.categoryTitle && e("div", { key: "2b14dee584d20e90dac0da3b93dff1dbc6f36470", class: "mt-auto flex items-center gap-x-12 pt-12" }, ((t = this.categoryTitle) === null || t === void 0 ? void 0 : t.length) && e("eds-tag", { key: "cd02551d76731563ebdad89a141f70cbce5bca76", label: this.categoryTitle }))), this.parsedImage && e("div", { key: "5b5cae3820ab870a7588d801151390be494d5c7e", class: i }, e("div", { key: "e7bb9f3b090f5497b315a4d2495592cfbe5a4aa0", class: "aspect-1x1 w-full" }, e("eds-img", Object.assign({ key: "8fdecaed876c671a08067fdb272f4932b67ae406", sizes: this.vertical ? this.parsedImage.sizes || "" : "192px" }, this.parsedImage)))));
|
|
37
|
-
}
|
|
38
|
-
get el() {
|
|
39
|
-
return d(this);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
h as eds_card_project
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-7ljGsgwC.js"),r=class{constructor(e){t.registerInstance(this,e),this.tiny=!1,this.withBg=!0,this.withHover=!0}hasSlot(e){return e?!!this.el.querySelector(`[slot="${e}"]`):!!this.el.querySelector(":not([slot])")}render(){const e=[this.tiny?"min-h-120":"min-h-156",this.withBg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ");return t.h("article",{key:"7a191039487c388e752c964c8fd47fb397943994",class:e},t.h("slot",{key:"ac497c9f36089467abcb6b52e3e356405616dfd6"}),this.hasSlot("footer")&&t.h("div",{key:"eba2425d01514dffa83ec4b4fdfe1878719addd8",class:"mt-auto"},t.h("slot",{key:"57f799838be78cdc8b61b9071d68f913b8eef51b",name:"footer"})))}get el(){return t.getElement(this)}};exports.eds_card_wrapper=r;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { r, h as t, g as s } from "./index-l365C9dI.mjs";
|
|
2
|
-
const i = class {
|
|
3
|
-
constructor(e) {
|
|
4
|
-
r(this, e), this.tiny = !1, this.withBg = !0, this.withHover = !0;
|
|
5
|
-
}
|
|
6
|
-
hasSlot(e) {
|
|
7
|
-
return e ? !!this.el.querySelector(`[slot="${e}"]`) : !!this.el.querySelector(":not([slot])");
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
const e = [
|
|
11
|
-
this.tiny ? "min-h-120" : "min-h-156",
|
|
12
|
-
this.withBg ? "bg-inverse" : "bg-default",
|
|
13
|
-
this.withHover ? "effect-shadow hover:shadow-hover cursor-pointer" : "",
|
|
14
|
-
"border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"
|
|
15
|
-
].join(" ");
|
|
16
|
-
return t("article", { key: "7a191039487c388e752c964c8fd47fb397943994", class: e }, t("slot", { key: "ac497c9f36089467abcb6b52e3e356405616dfd6" }), this.hasSlot("footer") && t("div", { key: "eba2425d01514dffa83ec4b4fdfe1878719addd8", class: "mt-auto" }, t("slot", { key: "57f799838be78cdc8b61b9071d68f913b8eef51b", name: "footer" })));
|
|
17
|
-
}
|
|
18
|
-
get el() {
|
|
19
|
-
return s(this);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
i as eds_card_wrapper
|
|
24
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { r as i, h as e, g as a } from "./index-l365C9dI.mjs";
|
|
2
|
-
const o = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}", n = o, s = class {
|
|
3
|
-
constructor(r) {
|
|
4
|
-
i(this, r), this.frameLabel = void 0, this.frameSrc = void 0, this.urlLabel = "Open", this.errorMessage = "Could not load the requested content. Please check the URL or try again later.", this.url = void 0, this.intent = "strong", this.size = "auto", this.iframeError = !1;
|
|
5
|
-
}
|
|
6
|
-
componentWillLoad() {
|
|
7
|
-
this.checkIframeAvailability();
|
|
8
|
-
}
|
|
9
|
-
componentDidLoad() {
|
|
10
|
-
this.el.querySelectorAll("eds-link").forEach((t) => {
|
|
11
|
-
this.emitContext(t);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
16
|
-
* This event provides context information about the breadcrumb component.
|
|
17
|
-
*
|
|
18
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
19
|
-
*/
|
|
20
|
-
emitContext(r) {
|
|
21
|
-
const t = new CustomEvent("parentContext", {
|
|
22
|
-
detail: {
|
|
23
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
24
|
-
identifier: this.frameLabel
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
r.dispatchEvent(t);
|
|
28
|
-
}
|
|
29
|
-
articleClasses() {
|
|
30
|
-
return [
|
|
31
|
-
"bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2",
|
|
32
|
-
"w-full h-auto"
|
|
33
|
-
].join(" ");
|
|
34
|
-
}
|
|
35
|
-
getFrameHeight() {
|
|
36
|
-
switch (this.size) {
|
|
37
|
-
case "sm":
|
|
38
|
-
return "100px";
|
|
39
|
-
case "md":
|
|
40
|
-
return "200px";
|
|
41
|
-
case "lg":
|
|
42
|
-
return "400px";
|
|
43
|
-
case "xl":
|
|
44
|
-
return "700px";
|
|
45
|
-
default:
|
|
46
|
-
return "auto";
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
async checkIframeAvailability() {
|
|
50
|
-
try {
|
|
51
|
-
if (!(await fetch(this.frameSrc, { method: "GET" })).ok)
|
|
52
|
-
throw new Error("Failed to load");
|
|
53
|
-
} catch {
|
|
54
|
-
this.iframeError = !0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
render() {
|
|
58
|
-
return e("div", { key: "69d47526ffca56defb1e9da214c46822fa963c14", class: this.articleClasses() }, e("div", { key: "cab7cd55b15afaa77a4f4b713c55a6776dcb6a2d", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "99b5499c4bf992cc7101d6ea6812000283a34968", class: "f-ui-02" }, this.frameLabel), this.iframeError ? null : e("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: !0, disabled: !1, icon: "arrow-diagonal" })), e("div", { key: "275490ec93896eafe8a7042b86769b1f96e8bc8f", class: "border-softer" }, this.iframeError ? e("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage) : e("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: !0 })));
|
|
59
|
-
}
|
|
60
|
-
get el() {
|
|
61
|
-
return a(this);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
s.style = n;
|
|
65
|
-
export {
|
|
66
|
-
s as eds_frame
|
|
67
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7ljGsgwC.js"),a=".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}",o=a,i=class{constructor(t){e.registerInstance(this,t),this.frameLabel=void 0,this.frameSrc=void 0,this.urlLabel="Open",this.errorMessage="Could not load the requested content. Please check the URL or try again later.",this.url=void 0,this.intent="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(r=>{this.emitContext(r)})}emitContext(t){const r=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});t.dispatchEvent(r)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-auto"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch{this.iframeError=!0}}render(){return e.h("div",{key:"69d47526ffca56defb1e9da214c46822fa963c14",class:this.articleClasses()},e.h("div",{key:"cab7cd55b15afaa77a4f4b713c55a6776dcb6a2d",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"99b5499c4bf992cc7101d6ea6812000283a34968",class:"f-ui-02"},this.frameLabel),this.iframeError?null:e.h("eds-link",{label:this.urlLabel,url:this.url,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),e.h("div",{key:"275490ec93896eafe8a7042b86769b1f96e8bc8f",class:"border-softer"},this.iframeError?e.h("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):e.h("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return e.getElement(this)}};i.style=o;exports.eds_frame=i;
|