@ebrains/vue 0.3.0-alpha.0 → 0.4.0-alpha.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/{color-0ba8ed56-BVeDdJAE.js → color-bb472c37-CKu54kOY.js} +1 -1
- package/{color-0ba8ed56-D-UJpBQL.mjs → color-bb472c37-DDERsxdk.mjs} +6 -6
- package/{color-primary-palette_6.entry-_ANGnnBl.js → color-primary-palette_6.entry-BB6740d4.js} +1 -1
- package/{color-primary-palette_6.entry-WwN9tuB9.mjs → color-primary-palette_6.entry-CSDWEKLH.mjs} +1 -1
- package/{correct-use-of-colors.entry-B312hpv9.js → correct-use-of-colors.entry-LuyuqIQ9.js} +1 -1
- package/{correct-use-of-colors.entry-BjxRVkfm.mjs → correct-use-of-colors.entry-hvZ1z3tc.mjs} +1 -1
- package/eds-accordion_33.entry-DFgdjlJE.mjs +31360 -0
- package/eds-accordion_33.entry-DlnbmQ6R.js +29468 -0
- package/{eds-card-project.entry-D7P4K88F.js → eds-card-project.entry-BQ-dH8vM.js} +1 -1
- package/{eds-card-project.entry-Ckgpwy2Y.mjs → eds-card-project.entry-C3eyu1U0.mjs} +2 -2
- package/{eds-card-section.entry-B90kv8Pj.js → eds-card-section.entry-DU-1TB0I.js} +1 -1
- package/{eds-card-section.entry-DnktDeDm.mjs → eds-card-section.entry-Dxk-Ob_Y.mjs} +6 -6
- package/eds-card-tags.entry-CIu6lD0P.mjs +13 -0
- package/eds-card-tags.entry-YPPBWdFq.js +1 -0
- package/{eds-card-tool.entry-CmRu6pmc.mjs → eds-card-tool.entry-1_RNWh8n.mjs} +2 -2
- package/{eds-card-tool.entry-CbreK2xg.js → eds-card-tool.entry-DgBqQucY.js} +1 -1
- package/{eds-card-wrapper.entry-rBHdbwzh.js → eds-card-wrapper.entry-BfCDGeFs.js} +1 -1
- package/{eds-card-wrapper.entry-Buesg37A.mjs → eds-card-wrapper.entry-C4pNRjIj.mjs} +2 -2
- package/{eds-code-block.entry-DKnuVY85.mjs → eds-code-block.entry-B2xATQ7r.mjs} +87 -46
- package/{eds-code-block.entry-M3x0FsRB.js → eds-code-block.entry-DQEDpAjn.js} +3 -3
- package/{eds-components-section.entry-BEBky2Me.js → eds-components-section.entry-D08woahG.js} +1 -1
- package/{eds-components-section.entry-BAWU9rKy.mjs → eds-components-section.entry-DR-984-3.mjs} +1 -1
- package/{eds-docs-palettes.entry-etHagd2P.mjs → eds-docs-palettes.entry-B0yU2ZpL.mjs} +1 -1
- package/{eds-docs-palettes.entry-D3DdXkoo.js → eds-docs-palettes.entry-qKOj3XU9.js} +1 -1
- package/{eds-docs-tokens.entry-CIGNTs97.mjs → eds-docs-tokens.entry-BVHiM7cK.mjs} +1 -1
- package/{eds-docs-tokens.entry--gW4Z293.js → eds-docs-tokens.entry-BtRXzjrp.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-abxXXnCe.js → eds-icon-arrow-diagonal.entry-DjDB--sU.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-CEffhVkn.mjs → eds-icon-arrow-diagonal.entry-E5xC3m8H.mjs} +1 -1
- package/{eds-icon-arrow-right.entry-DrA5pZ5q.mjs → eds-icon-arrow-right.entry-DaXIkUew.mjs} +1 -1
- package/{eds-icon-arrow-right.entry-4zl098Gq.js → eds-icon-arrow-right.entry-odZ8U-W2.js} +1 -1
- package/{eds-icon-bluesky.entry-CRey5aEK.mjs → eds-icon-bluesky.entry-B3yW2mUC.mjs} +1 -1
- package/{eds-icon-bluesky.entry-BDD9os2p.js → eds-icon-bluesky.entry-Dppj9cuC.js} +1 -1
- package/{eds-icon-chevron-down.entry-DA_Mq25N.js → eds-icon-chevron-down.entry-CidjiGQS.js} +1 -1
- package/{eds-icon-chevron-down.entry-DCd5FfEN.mjs → eds-icon-chevron-down.entry-xWODzTE-.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-Lmfmw6QC.mjs → eds-icon-chevron-left.entry-CJyHE01I.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-CiGlPKup.js → eds-icon-chevron-left.entry-DjJj-hmG.js} +1 -1
- package/{eds-icon-chevron-right.entry-DMwxsQGs.js → eds-icon-chevron-right.entry-D8RyOADq.js} +1 -1
- package/{eds-icon-chevron-right.entry-B2HI3b59.mjs → eds-icon-chevron-right.entry-iy6d6tux.mjs} +1 -1
- package/{eds-icon-chevron-up.entry-CwavCcA0.mjs → eds-icon-chevron-up.entry-TKCdY_T3.mjs} +1 -1
- package/{eds-icon-chevron-up.entry-D9pmuoVK.js → eds-icon-chevron-up.entry-ezV-v92v.js} +1 -1
- package/{eds-icon-close.entry-pxvkbolY.mjs → eds-icon-close.entry-Brv3Uxu1.mjs} +1 -1
- package/{eds-icon-close.entry-JIzBTjIa.js → eds-icon-close.entry-CE-Nory7.js} +1 -1
- package/{eds-icon-copy.entry-Ccrvu27o.js → eds-icon-copy.entry-Bpe3I5b6.js} +1 -1
- package/{eds-icon-copy.entry-Begn9c9I.mjs → eds-icon-copy.entry-DQioS3t7.mjs} +1 -1
- package/{eds-icon-eu.entry-C0ZIqXHV.js → eds-icon-eu.entry-BzmYOiKL.js} +1 -1
- package/{eds-icon-eu.entry-CLI94rkv.mjs → eds-icon-eu.entry-KylDo55P.mjs} +1 -1
- package/{eds-icon-facebook.entry-BIZwxPBr.js → eds-icon-facebook.entry-DWZ02rD5.js} +1 -1
- package/{eds-icon-facebook.entry-o2SylrAp.mjs → eds-icon-facebook.entry-DpS2m4v2.mjs} +1 -1
- package/{eds-icon-gitlab.entry-BJi35Zov.js → eds-icon-gitlab.entry-D8PM12SK.js} +1 -1
- package/{eds-icon-gitlab.entry-BWfZkXKF.mjs → eds-icon-gitlab.entry-JX-5azIw.mjs} +1 -1
- package/{eds-icon-linkedin.entry-Z4gD9HGr.mjs → eds-icon-linkedin.entry-BylIVu8G.mjs} +1 -1
- package/{eds-icon-linkedin.entry-B4ev6evD.js → eds-icon-linkedin.entry-CstoPbTS.js} +1 -1
- package/{eds-icon-loader.entry-BFeh0vtX.js → eds-icon-loader.entry-CaGFh0gM.js} +1 -1
- package/{eds-icon-loader.entry-DgIgWpYk.mjs → eds-icon-loader.entry-DZyUa8Na.mjs} +1 -1
- package/{eds-icon-mastodon.entry-C_2paQis.mjs → eds-icon-mastodon.entry-BIckHn_q.mjs} +1 -1
- package/{eds-icon-mastodon.entry-BLCaUfQY.js → eds-icon-mastodon.entry-DxNG__-Y.js} +1 -1
- package/{eds-icon-menu.entry-CNtaXAOo.mjs → eds-icon-menu.entry-C9N6s8Oa.mjs} +1 -1
- package/{eds-icon-menu.entry-CzF-GJXn.js → eds-icon-menu.entry-DwN-ZAWi.js} +1 -1
- package/{eds-icon-more.entry-C-v0Cjp9.js → eds-icon-more.entry-68jT9AEw.js} +1 -1
- package/{eds-icon-more.entry-4gqxzs_k.mjs → eds-icon-more.entry-MUkUL_e2.mjs} +1 -1
- package/{eds-icon-search.entry-D070uKfZ.mjs → eds-icon-search.entry-CcwwFnns.mjs} +1 -1
- package/{eds-icon-search.entry-iLCAU3Et.js → eds-icon-search.entry-CrfMqbyi.js} +1 -1
- package/{eds-icon-success.entry-Ci0RTnP5.mjs → eds-icon-success.entry-BUzsze9h.mjs} +1 -1
- package/{eds-icon-success.entry-DSukl_w-.js → eds-icon-success.entry-CACuZjP6.js} +1 -1
- package/{eds-icon-twitter.entry-D6I83zuS.mjs → eds-icon-twitter.entry-B1Iw69NW.mjs} +1 -1
- package/{eds-icon-twitter.entry-I9FRjdSE.js → eds-icon-twitter.entry-BbStwaGv.js} +1 -1
- package/{eds-icon-user.entry-BI7Uw3Pp.mjs → eds-icon-user.entry-CNo6pger.mjs} +1 -1
- package/{eds-icon-user.entry-DcLB78T6.js → eds-icon-user.entry-vYVsxfK7.js} +1 -1
- package/{eds-icon-youtube.entry-CR4ml_RW.mjs → eds-icon-youtube.entry-CBU7Dvkh.mjs} +1 -1
- package/{eds-icon-youtube.entry-DAke-XDg.js → eds-icon-youtube.entry-CmCAFp7D.js} +1 -1
- package/{eds-login.entry-DOeyfoyM.js → eds-login.entry-Bfztcsrc.js} +1 -1
- package/{eds-login.entry-DmJw6ABI.mjs → eds-login.entry-XqWPWCDL.mjs} +1 -1
- package/{eds-logo-variations.entry-U65PDVhE.js → eds-logo-variations.entry-CUD-M_Fd.js} +1 -1
- package/{eds-logo-variations.entry-o4lyGmhR.mjs → eds-logo-variations.entry-Cy_fbJLx.mjs} +1 -1
- package/{eds-matomo-notice.entry-tzuOtKT9.js → eds-matomo-notice.entry-CytVSgYS.js} +1 -1
- package/{eds-matomo-notice.entry-y5SvHzsZ.mjs → eds-matomo-notice.entry-kSuLDx9K.mjs} +2 -2
- package/{eds-navigator.entry-DixbL3UY.js → eds-navigator.entry-BJTqtqld.js} +1 -1
- package/{eds-navigator.entry-CvKDpQVM.mjs → eds-navigator.entry-DdzcXSRW.mjs} +1 -1
- package/{eds-pagination_2.entry-CRrIKRa-.mjs → eds-pagination_2.entry-B5PLo2Uu.mjs} +23 -15
- package/eds-pagination_2.entry-DUsG8tcv.js +1 -0
- package/{eds-progress-bar.entry-Bmjv2r3W.js → eds-progress-bar.entry-BBFsASiy.js} +1 -1
- package/{eds-progress-bar.entry-sdqDGSI3.mjs → eds-progress-bar.entry-DdqH0plT.mjs} +1 -1
- package/{eds-rating.entry-J5lQt6oj.mjs → eds-rating.entry-CErokyKU.mjs} +6 -8
- package/{eds-rating.entry-dK5fopCq.js → eds-rating.entry-p9oWKCkQ.js} +1 -1
- package/{eds-section-core_2.entry-cwkrHET8.mjs → eds-section-core_2.entry-D3HYngR_.mjs} +1 -1
- package/{eds-section-core_2.entry-DBjBQ_AT.js → eds-section-core_2.entry-D_nLUa29.js} +1 -1
- package/{eds-svg-repository.entry-UvAba6M3.mjs → eds-svg-repository.entry-C-kayEdW.mjs} +1 -1
- package/{eds-svg-repository.entry-BEJBJ538.js → eds-svg-repository.entry-in72TP_1.js} +1 -1
- package/{eds-tab.entry-CR1nFyrH.mjs → eds-tab.entry-BKYSiEkl.mjs} +1 -1
- package/{eds-tab.entry-uQka8MTr.js → eds-tab.entry-BUzZWKac.js} +1 -1
- package/{eds-tabs-content.entry-BKT7-iAV.mjs → eds-tabs-content.entry-3cyCQAth.mjs} +2 -2
- package/{eds-tabs-content.entry-CTM0EjTl.js → eds-tabs-content.entry-Cg7U8c5D.js} +1 -1
- package/{eds-tabs.entry-BKx8xHJ8.mjs → eds-tabs.entry-B8q09in2.mjs} +2 -2
- package/{eds-tabs.entry-BWxSN8SV.js → eds-tabs.entry-DS6qBEo7.js} +1 -1
- package/eds-timeline.entry-DEcov8mq.js +1 -0
- package/{eds-timeline.entry-B7jxBFA4.mjs → eds-timeline.entry-DhHSQScv.mjs} +7 -7
- package/{eds-tooltip.entry-DJqN6_P4.mjs → eds-tooltip.entry-BTunlfGS.mjs} +14 -6
- package/eds-tooltip.entry-sjwuhdKF.js +1 -0
- package/eds-trl.entry-BHrlC_5O.js +1 -0
- package/eds-trl.entry-Bt28XH55.mjs +34 -0
- package/generated/components.d.ts +0 -1
- package/{incorrect-use-of-colors.entry-DsNEjuWo.mjs → incorrect-use-of-colors.entry-DkY89xG1.mjs} +1 -1
- package/{incorrect-use-of-colors.entry-D7xAYXu2.js → incorrect-use-of-colors.entry-e4VhTVHS.js} +1 -1
- package/index-D2H_BflF.js +21 -0
- package/{index-Dg2DO7q4.mjs → index-I5Asbjce.mjs} +245 -299
- package/index.js +1 -1
- package/index.mjs +22 -23
- package/{logo-space.entry-DC5fUroI.js → logo-space.entry-DsM5jXgX.js} +1 -1
- package/{logo-space.entry-Cf-keXHv.mjs → logo-space.entry-GnVq-srD.mjs} +1 -1
- package/{logo-variations-horizontal_2.entry-BWau6qh4.js → logo-variations-horizontal_2.entry-BeQ_r9Li.js} +1 -1
- package/{logo-variations-horizontal_2.entry-xvJ8Iiu5.mjs → logo-variations-horizontal_2.entry-CC7tj8Hr.mjs} +1 -1
- package/{logo-wrong-usage.entry-RcSb8NIe.mjs → logo-wrong-usage.entry-Ct1Ae63m.mjs} +1 -1
- package/{logo-wrong-usage.entry-sU8NISwX.js → logo-wrong-usage.entry-DkqcMaqp.js} +1 -1
- package/package.json +1 -4
- package/{token-list_3.entry-CheMK1r_.mjs → token-list_3.entry-CReCwFzO.mjs} +1 -1
- package/{token-list_3.entry-BkOkChEb.js → token-list_3.entry-DaIOT7_R.js} +1 -1
- package/{token-ratios.entry-rSMXHIix.mjs → token-ratios.entry-Dh8kvz8R.mjs} +1 -1
- package/{token-ratios.entry-Dfz4q4qy.js → token-ratios.entry-aBiRsmfr.js} +1 -1
- package/{token-spacing.entry-DvopunO1.mjs → token-spacing.entry-C5HX4qPq.mjs} +1 -1
- package/{token-spacing.entry-ByzbVlGi.js → token-spacing.entry-DDiMRsNO.js} +1 -1
- package/{token-typography.entry-CExckWkx.mjs → token-typography.entry-CIETKadf.mjs} +1 -1
- package/{token-typography.entry-AjIHL4M4.js → token-typography.entry-DG-4k5gY.js} +1 -1
- package/eds-accordion.entry-RvtdAQT0.mjs +0 -58
- package/eds-accordion.entry-h9ApF51u.js +0 -4
- package/eds-alert.entry-C6VZ3ss6.js +0 -608
- package/eds-alert.entry-D5o-ZjCb.mjs +0 -688
- package/eds-avatar_17.entry-08AUpBqo.mjs +0 -15630
- package/eds-avatar_17.entry-BQZz43q9.js +0 -14540
- package/eds-card-desc_3.entry-D7hiMZ09.mjs +0 -87
- package/eds-card-desc_3.entry-Dxs_izUN.js +0 -1
- package/eds-card-generic.entry-0IAAHjtS.mjs +0 -63
- package/eds-card-generic.entry-DZYZP5oa.js +0 -1
- package/eds-card-tags.entry-CnHitp9l.js +0 -1
- package/eds-card-tags.entry-XboLA5-P.mjs +0 -13
- package/eds-form.entry-D8FLPsaS.js +0 -7153
- package/eds-form.entry-zewjTpaa.mjs +0 -7319
- package/eds-frame.entry-BlOnLCrI.js +0 -1
- package/eds-frame.entry-SCGm_pju.mjs +0 -74
- package/eds-input_7.entry-BV0VagCj.js +0 -7167
- package/eds-input_7.entry-CRNkC-uR.mjs +0 -7368
- package/eds-modal.entry-B7Ph4m3y.js +0 -1
- package/eds-modal.entry-BW8crUoC.mjs +0 -65
- package/eds-pagination_2.entry-DoZ-NFBH.js +0 -1
- package/eds-timeline.entry-D9KWrb_r.js +0 -1
- package/eds-tooltip.entry-CfhqHRxF.js +0 -1
- package/eds-trl.entry-COK7rgVS.mjs +0 -36
- package/eds-trl.entry-CoySvAJL.js +0 -1
- package/index-Dvww9rdy.js +0 -21
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-Dg2DO7q4.mjs";
|
|
2
|
-
import { c as n } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
3
|
-
const 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, o = class {
|
|
4
|
-
constructor(e) {
|
|
5
|
-
i(this, e), this.description = void 0, this.descClass = "f-ui-03-light", this.truncate = !0, this.truncateLines = "3";
|
|
6
|
-
}
|
|
7
|
-
getTruncateClass() {
|
|
8
|
-
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : "";
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return t("p", { key: "017c115ebff999c74cff1eaeb5c63f97e0f6554d", class: `text-light ${this.descClass}` }, t("span", { key: "f87b9b3d593e417ef351882f426d24c0b206ccab", class: this.getTruncateClass() }, this.description));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
o.style = r;
|
|
15
|
-
const l = "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}", s = l, f = class {
|
|
16
|
-
constructor(e) {
|
|
17
|
-
i(this, e), this.url = void 0, this.titleClass = void 0, this.headingLevel = "h3", this.externalLink = !1, this.cardTitle = void 0, this.hierarchy = !0;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Dynamically generate the title class based on the heading level.
|
|
21
|
-
*/
|
|
22
|
-
getTitleClass() {
|
|
23
|
-
return `f-heading-${(this.hierarchy ? {
|
|
24
|
-
h1: "05",
|
|
25
|
-
h2: "05",
|
|
26
|
-
h3: "05",
|
|
27
|
-
h4: "05",
|
|
28
|
-
h5: "05",
|
|
29
|
-
h6: "06"
|
|
30
|
-
} : {
|
|
31
|
-
h1: "01",
|
|
32
|
-
h2: "02",
|
|
33
|
-
h3: "03",
|
|
34
|
-
h4: "04",
|
|
35
|
-
h5: "05",
|
|
36
|
-
h6: "06"
|
|
37
|
-
})[this.headingLevel]}`;
|
|
38
|
-
}
|
|
39
|
-
/*private getTag() {
|
|
40
|
-
if (this.url) {
|
|
41
|
-
return 'a';
|
|
42
|
-
}
|
|
43
|
-
return 'span';
|
|
44
|
-
}*/
|
|
45
|
-
render() {
|
|
46
|
-
const e = this.headingLevel;
|
|
47
|
-
return t(e, { key: "8aee3bcb0e04508dd21a03ea0f695e040f37c767", class: this.getTitleClass() }, t("a", { key: "c5fa27fe86037ed6b039c156aecdf1acc9c7c8bc", 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));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
f.style = s;
|
|
51
|
-
const h = ".f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-1{padding-top:0.0625rem;padding-bottom:0.0625rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", d = h, g = n(
|
|
52
|
-
["f-ui-05 py-1 px-4 border-2 rounded-pill"],
|
|
53
|
-
// Base classes
|
|
54
|
-
{
|
|
55
|
-
variants: {
|
|
56
|
-
intent: {
|
|
57
|
-
default: "border-default",
|
|
58
|
-
strong: "text-inverse bg-strongest border-default",
|
|
59
|
-
accent: "text-[#0034CB] border-[#0034CB]",
|
|
60
|
-
weak: "text-light bg-strongest-soft border-transparent",
|
|
61
|
-
inverse: "border-inverse text-inverse",
|
|
62
|
-
"inverse-strong": "bg-inverse border-inverse text-lighter"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
defaultVariants: {
|
|
66
|
-
intent: "default"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
), c = class {
|
|
70
|
-
constructor(e) {
|
|
71
|
-
i(this, e), this.label = void 0, this.intent = "default";
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Render the component.
|
|
75
|
-
* @returns The rendered HTML for the tag component with the applied styles and label.
|
|
76
|
-
*/
|
|
77
|
-
render() {
|
|
78
|
-
const e = g({ intent: this.intent });
|
|
79
|
-
return t("span", { key: "546bd7eb2c78760edc12cd7bb3ede5f6ab9099f3", class: e }, this.label);
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
c.style = d;
|
|
83
|
-
export {
|
|
84
|
-
o as eds_card_desc,
|
|
85
|
-
f as eds_card_title,
|
|
86
|
-
c as eds_tag
|
|
87
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-Dvww9rdy.js"),a=require("./index-39c58238-SQ-JC-LH.js"),o=".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}",l=o,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:"017c115ebff999c74cff1eaeb5c63f97e0f6554d",class:`text-light ${this.descClass}`},t.h("span",{key:"f87b9b3d593e417ef351882f426d24c0b206ccab",class:this.getTruncateClass()},this.description))}};i.style=l;const s="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}",f=s,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:"8aee3bcb0e04508dd21a03ea0f695e040f37c767",class:this.getTitleClass()},t.h("a",{key:"c5fa27fe86037ed6b039c156aecdf1acc9c7c8bc",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=f;const h=".f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-1{padding-top:0.0625rem;padding-bottom:0.0625rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}",d=h,g=a.cva(["f-ui-05 py-1 px-4 border-2 rounded-pill"],{variants:{intent:{default:"border-default",strong:"text-inverse bg-strongest border-default",accent:"text-[#0034CB] border-[#0034CB]",weak:"text-light bg-strongest-soft border-transparent",inverse:"border-inverse text-inverse","inverse-strong":"bg-inverse border-inverse text-lighter"}},defaultVariants:{intent:"default"}}),r=class{constructor(e){t.registerInstance(this,e),this.label=void 0,this.intent="default"}render(){const e=g({intent:this.intent});return t.h("span",{key:"546bd7eb2c78760edc12cd7bb3ede5f6ab9099f3",class:e},this.label)}};r.style=d;exports.eds_card_desc=i;exports.eds_card_title=n;exports.eds_tag=r;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { r, h as t, g as s } from "./index-Dg2DO7q4.mjs";
|
|
2
|
-
import { s as a } from "./color-0ba8ed56-D-UJpBQL.mjs";
|
|
3
|
-
const 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-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}", n = o, d = class {
|
|
4
|
-
constructor(e) {
|
|
5
|
-
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;
|
|
6
|
-
}
|
|
7
|
-
componentWillLoad() {
|
|
8
|
-
if (this.image)
|
|
9
|
-
try {
|
|
10
|
-
typeof this.image == "object" ? this.parsedImage = this.image : typeof this.image == "string" && (this.parsedImage = JSON.parse(this.image));
|
|
11
|
-
} catch (e) {
|
|
12
|
-
console.error("Error parsing image prop:", e), this.parsedImage = {};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
handleParentContext(e) {
|
|
16
|
-
e.target === this.el && (this.parentContext = e.detail, e.stopPropagation());
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Parses the `tags` prop into an array of link objects.
|
|
20
|
-
* Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
|
|
21
|
-
*
|
|
22
|
-
* @returns {any[]} Array of parsed link objects
|
|
23
|
-
*/
|
|
24
|
-
get parsedTags() {
|
|
25
|
-
if (typeof this.tags == "object")
|
|
26
|
-
return this.tags;
|
|
27
|
-
if (typeof this.tags == "string")
|
|
28
|
-
try {
|
|
29
|
-
return JSON.parse(this.tags);
|
|
30
|
-
} catch (e) {
|
|
31
|
-
return console.error("Error parsing tags prop:", e), [];
|
|
32
|
-
}
|
|
33
|
-
return [];
|
|
34
|
-
}
|
|
35
|
-
articleClasses() {
|
|
36
|
-
return [
|
|
37
|
-
this.description ? this.tiny ? "min-h-120" : "min-h-156" : "h-auto",
|
|
38
|
-
this.bg ? "bg-inverse" : "bg-default",
|
|
39
|
-
this.withHover ? "effect-shadow hover:shadow-hover cursor-pointer" : "",
|
|
40
|
-
"border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"
|
|
41
|
-
].join(" ");
|
|
42
|
-
}
|
|
43
|
-
handleClick() {
|
|
44
|
-
var e;
|
|
45
|
-
a({
|
|
46
|
-
category: "ui-component",
|
|
47
|
-
parentContext: this.parentContext,
|
|
48
|
-
tag: this.el.tagName.toLowerCase(),
|
|
49
|
-
name: ((e = this.cardTitle) === null || e === void 0 ? void 0 : e.toLowerCase()) || "",
|
|
50
|
-
action: "click"
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
render() {
|
|
54
|
-
return t("article", { key: "17d1f00f232a4436756fa3846684bbae8c716036", class: this.articleClasses(), onClick: () => this.handleClick() }, t("eds-card-title", { key: "d99ee1716c4e308a3ea446f0f7cedfaeac30f2ed", "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: "c5bdc76e68a8d660609630aa8184ec3a9508ab61", 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: "fa993e3c60d357eb0d9a63e612bdd2bf026e7a85", class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((e, i) => t("eds-tag", { key: i, intent: e.style, label: e.label }))), " ");
|
|
55
|
-
}
|
|
56
|
-
get el() {
|
|
57
|
-
return s(this);
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
d.style = n;
|
|
61
|
-
export {
|
|
62
|
-
d as eds_card_generic
|
|
63
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-Dvww9rdy.js"),s=require("./color-0ba8ed56-BVeDdJAE.js"),a=".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-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}",o=a,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(){if(typeof this.tags=="object")return this.tags;if(typeof this.tags=="string")try{return JSON.parse(this.tags)}catch(e){return console.error("Error parsing tags prop:",e),[]}return[]}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:"17d1f00f232a4436756fa3846684bbae8c716036",class:this.articleClasses(),onClick:()=>this.handleClick()},t.h("eds-card-title",{key:"d99ee1716c4e308a3ea446f0f7cedfaeac30f2ed","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:"c5bdc76e68a8d660609630aa8184ec3a9508ab61",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:"fa993e3c60d357eb0d9a63e612bdd2bf026e7a85",class:"flex flex-wrap gap-y-4"},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=o;exports.eds_card_generic=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-Dvww9rdy.js"),r=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}",c=r,a=class{constructor(e){s.registerInstance(this,e),this.accent=!1,this.tags=[]}render(){return s.h("div",{key:"b201dc6df5e809d828a055fb5f01fe798e228361",class:"flex flex-wrap gap-y-4"},this.tags.map((e,t)=>s.h("eds-tag",{key:t,intent:this.accent?"accent":"default",label:e})))}};a.style=c;exports.eds_card_tags=a;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as t, h as a } from "./index-Dg2DO7q4.mjs";
|
|
2
|
-
const r = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}", c = r, d = class {
|
|
3
|
-
constructor(s) {
|
|
4
|
-
t(this, s), this.accent = !1, this.tags = [];
|
|
5
|
-
}
|
|
6
|
-
render() {
|
|
7
|
-
return a("div", { key: "b201dc6df5e809d828a055fb5f01fe798e228361", class: "flex flex-wrap gap-y-4" }, this.tags.map((s, e) => a("eds-tag", { key: e, intent: this.accent ? "accent" : "default", label: s })));
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
d.style = c;
|
|
11
|
-
export {
|
|
12
|
-
d as eds_card_tags
|
|
13
|
-
};
|