@ebrains/vue 1.2.0 → 1.4.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-primary-palette_6.entry-BXRbIYQI.js +1 -0
- package/{color-primary-palette_6.entry-DrWA6jLu.mjs → color-primary-palette_6.entry-CvT9Ya5U.mjs} +21 -21
- package/{components-section.entry-Cwgpz04I.js → components-section.entry-CWKDKHtQ.js} +2 -2
- package/{components-section.entry-C7pCeahb.mjs → components-section.entry-DxoI4HY4.mjs} +2 -2
- package/{correct-use-of-colors.entry-DJtltvDn.mjs → correct-use-of-colors.entry-C5sWpTko.mjs} +2 -2
- package/{correct-use-of-colors.entry-BDu34tJ8.js → correct-use-of-colors.entry-DF18kIaK.js} +1 -1
- package/{docs-palettes.entry-BNlHniKu.js → docs-palettes.entry-BWpyXx-T.js} +1 -1
- package/{docs-palettes.entry-CbBIA9pN.mjs → docs-palettes.entry-lOvWFgf-.mjs} +2 -2
- package/{docs-tokens.entry-7RQd9ha3.js → docs-tokens.entry-Bv54B_2f.js} +1 -1
- package/{docs-tokens.entry-j3z4Vi2D.mjs → docs-tokens.entry-C1506Ctj.mjs} +2 -2
- package/{eds-accordion.entry-K1VYvTsF.js → eds-accordion.entry-Df1wwL9c.js} +1 -1
- package/{eds-accordion.entry-XGE_bTo3.mjs → eds-accordion.entry-RqLUu_aX.mjs} +1 -1
- package/{eds-alert.entry-BUW7EyL8.mjs → eds-alert.entry-CbLdoVL6.mjs} +1 -1
- package/{eds-alert.entry-C2gdvOWN.js → eds-alert.entry-Du5kP3mG.js} +1 -1
- package/eds-app-root.entry-6U1IUxaV.js +1 -0
- package/eds-app-root.entry-C1L4rDyg.mjs +25 -0
- package/{eds-avatar_28.entry-W_rkIwiU.mjs → eds-avatar_29.entry-BUOXv9To.mjs} +389 -313
- package/{eds-avatar_28.entry-CIvRf2Z8.js → eds-avatar_29.entry-CjNZgyQq.js} +11 -9
- package/{eds-breadcrumb.entry-K9dpBvmJ.mjs → eds-breadcrumb.entry-CLUX3Y0B.mjs} +1 -1
- package/{eds-breadcrumb.entry-B1p3OoEB.js → eds-breadcrumb.entry-Dml0f2Up.js} +1 -1
- package/{eds-card-desc_2.entry-DvVazM5B.js → eds-card-desc_2.entry-Dqgd6Zi8.js} +1 -1
- package/{eds-card-desc_2.entry-C3L3BUaf.mjs → eds-card-desc_2.entry-ZED1q0dr.mjs} +1 -1
- package/{eds-card-generic.entry-Cf-DdAXt.mjs → eds-card-generic.entry-BGXNIjXC.mjs} +1 -1
- package/{eds-card-generic.entry-DO8OnbOl.js → eds-card-generic.entry-D7VnEfUv.js} +1 -1
- package/{eds-card-project.entry-DWFw0WMt.js → eds-card-project.entry-Cq2NyFI-.js} +1 -1
- package/{eds-card-project.entry-5yKpd6o0.mjs → eds-card-project.entry-Dl0CS7vm.mjs} +1 -1
- package/{eds-card-section.entry-B5zN2gH1.js → eds-card-section.entry-DGruSi5l.js} +1 -1
- package/{eds-card-section.entry-CjIZCL7E.mjs → eds-card-section.entry-DT-_pAUK.mjs} +1 -1
- package/{eds-card-tags.entry-mOuG6IC-.mjs → eds-card-tags.entry-C7NrBbP8.mjs} +1 -1
- package/{eds-card-tags.entry-DoeMGhOe.js → eds-card-tags.entry-ClsT3xfY.js} +1 -1
- package/{eds-card-tool.entry-_jn05Wfb.mjs → eds-card-tool.entry-LuekCyVO.mjs} +1 -1
- package/{eds-card-tool.entry-DHcuWwM-.js → eds-card-tool.entry-z0fP74r5.js} +1 -1
- package/{eds-code-block.entry-DZpQeq0s.js → eds-code-block.entry-BR4uNheU.js} +1 -1
- package/{eds-code-block.entry-M3dcOLIF.mjs → eds-code-block.entry-BiL7xPb5.mjs} +1 -1
- package/{eds-cookies-preference.entry-zFjsvydc.mjs → eds-cookies-preference.entry-7DUvxDvw.mjs} +5 -5
- package/{eds-cookies-preference.entry-BvefnEvv.js → eds-cookies-preference.entry-DxYNSyjz.js} +1 -1
- package/{eds-feedback.entry-SNZ7sV31.js → eds-feedback.entry-BYmUBprW.js} +1 -1
- package/{eds-feedback.entry-DcCJFil-.mjs → eds-feedback.entry-C1M_2DF2.mjs} +5 -5
- package/{eds-frame.entry-BdrA2bT5.js → eds-frame.entry-Djc8vEPI.js} +1 -1
- package/{eds-frame.entry-BLCK8tz-.mjs → eds-frame.entry-g6FsDvwR.mjs} +2 -2
- package/{eds-gauge.entry-CKzIpfnS.js → eds-gauge.entry-Dg_w6UKG.js} +1 -1
- package/{eds-gauge.entry-jvnnNUo6.mjs → eds-gauge.entry-DnkcGo5U.mjs} +1 -1
- package/{eds-icon-arrow-diagonal.entry-A_pdljqB.js → eds-icon-arrow-diagonal.entry-BThKfy6M.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-Dw776laB.mjs → eds-icon-arrow-diagonal.entry-DfER6mGO.mjs} +1 -1
- package/{eds-icon-arrow-right.entry-DZ_TSpkX.js → eds-icon-arrow-right.entry-BQoCCX7s.js} +1 -1
- package/{eds-icon-arrow-right.entry-C9G_Fcl_.mjs → eds-icon-arrow-right.entry-CvUL2IEH.mjs} +1 -1
- package/{eds-icon-bluesky.entry-BHcyMtLt.js → eds-icon-bluesky.entry-DtLvqCfL.js} +1 -1
- package/{eds-icon-bluesky.entry-CqWobB9J.mjs → eds-icon-bluesky.entry-pOakWVwm.mjs} +1 -1
- package/{eds-icon-bookmark.entry-HX4lLYqS.mjs → eds-icon-bookmark.entry-CAbcBSOw.mjs} +1 -1
- package/{eds-icon-bookmark.entry-DzVxEKHw.js → eds-icon-bookmark.entry-DxEJgwKd.js} +1 -1
- package/{eds-icon-chevron-down.entry-IIq8mNIh.js → eds-icon-chevron-down.entry-CfN_CVQg.js} +1 -1
- package/{eds-icon-chevron-down.entry-DC2xCevc.mjs → eds-icon-chevron-down.entry-Cn8FNSj1.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-DMOkczA8.mjs → eds-icon-chevron-left.entry-KccXzPrS.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-Dj-O8Mya.js → eds-icon-chevron-left.entry-pFEqXjQr.js} +1 -1
- package/{eds-icon-chevron-right.entry-M1NdBwk3.js → eds-icon-chevron-right.entry-Dq3Uar1F.js} +1 -1
- package/{eds-icon-chevron-right.entry-BPU6csRU.mjs → eds-icon-chevron-right.entry-dm-TCY2y.mjs} +1 -1
- package/{eds-icon-chevron-up.entry-xoUkajLs.js → eds-icon-chevron-up.entry-7njN-pDK.js} +1 -1
- package/{eds-icon-chevron-up.entry-e20CUTEz.mjs → eds-icon-chevron-up.entry-DZeteF2a.mjs} +1 -1
- package/{eds-icon-close.entry-tSX6jomh.js → eds-icon-close.entry-DI2JTTCg.js} +1 -1
- package/{eds-icon-close.entry-Baot7vVC.mjs → eds-icon-close.entry-S2eX7MJN.mjs} +1 -1
- package/{eds-icon-copy.entry-w4y5xFGj.mjs → eds-icon-copy.entry-BwDCx4LA.mjs} +1 -1
- package/{eds-icon-copy.entry-BUAIVm12.js → eds-icon-copy.entry-CvgDlhN9.js} +1 -1
- package/{eds-icon-eu.entry-j3nnswOb.mjs → eds-icon-eu.entry-DAkHQ7Xw.mjs} +1 -1
- package/{eds-icon-eu.entry-DVt8OKqO.js → eds-icon-eu.entry-DS-Jji5x.js} +1 -1
- package/{eds-icon-external.entry-B3fDgHC5.mjs → eds-icon-external.entry-D2b2sLm2.mjs} +1 -1
- package/{eds-icon-external.entry-CObo8gSp.js → eds-icon-external.entry-c4JKvZw1.js} +1 -1
- package/{eds-icon-facebook.entry-DfLPuCdk.mjs → eds-icon-facebook.entry-B46aASQF.mjs} +1 -1
- package/{eds-icon-facebook.entry-FyG1_UVR.js → eds-icon-facebook.entry-DGwJAZfT.js} +1 -1
- package/{eds-icon-gitlab.entry-BehGu9ri.mjs → eds-icon-gitlab.entry-BCxrsdS_.mjs} +1 -1
- package/{eds-icon-gitlab.entry-fdqyvp56.js → eds-icon-gitlab.entry-Ctq954TL.js} +1 -1
- package/{eds-icon-linkedin.entry-l3XVDZau.js → eds-icon-linkedin.entry-B_zROU0d.js} +1 -1
- package/{eds-icon-linkedin.entry-BYDgtuO6.mjs → eds-icon-linkedin.entry-CkviXGQC.mjs} +1 -1
- package/{eds-icon-loader.entry-Do9987GS.mjs → eds-icon-loader.entry-BItAXUxT.mjs} +1 -1
- package/{eds-icon-loader.entry-CEOhaiM6.js → eds-icon-loader.entry-CEZn4VxW.js} +1 -1
- package/{eds-icon-mastodon.entry-Se2jWlV7.mjs → eds-icon-mastodon.entry-BzqTkzQ0.mjs} +1 -1
- package/{eds-icon-mastodon.entry-Dbt53FIG.js → eds-icon-mastodon.entry-qCWJ_x5W.js} +1 -1
- package/{eds-icon-menu.entry-Dw2AHxMT.js → eds-icon-menu.entry-BUmP_hTD.js} +1 -1
- package/{eds-icon-menu.entry-K_64W1sA.mjs → eds-icon-menu.entry-C6A0c2hG.mjs} +1 -1
- package/{eds-icon-minus.entry-BUuG1-KE.mjs → eds-icon-minus.entry-DMTMoQb0.mjs} +1 -1
- package/{eds-icon-minus.entry-DWfhk08H.js → eds-icon-minus.entry-DTHZwwvT.js} +1 -1
- package/{eds-icon-more.entry-BiU14saz.js → eds-icon-more.entry-CcJ9pB-o.js} +1 -1
- package/{eds-icon-more.entry-DeitvEya.mjs → eds-icon-more.entry-PDClpir4.mjs} +1 -1
- package/{eds-icon-paper.entry-CLU8P3am.js → eds-icon-paper.entry-B7ZesD_k.js} +1 -1
- package/{eds-icon-paper.entry-CXtF4YoS.mjs → eds-icon-paper.entry-Bfr8U_5Z.mjs} +1 -1
- package/{eds-icon-plus.entry-BKMWbPk7.js → eds-icon-plus.entry-B9dO_yv1.js} +1 -1
- package/{eds-icon-plus.entry-Dhwui2Kk.mjs → eds-icon-plus.entry-qBIxMO6w.mjs} +1 -1
- package/{eds-icon-portal.entry-whuMe-F4.mjs → eds-icon-portal.entry-BkZn2UlW.mjs} +1 -1
- package/{eds-icon-portal.entry-DxGM72p7.js → eds-icon-portal.entry-D68nVjL8.js} +1 -1
- package/{eds-icon-private.entry-BRR-Whf8.js → eds-icon-private.entry-B-BOsFV3.js} +1 -1
- package/{eds-icon-private.entry-DvW9Pno6.mjs → eds-icon-private.entry-CPudUW3y.mjs} +1 -1
- package/{eds-icon-public.entry-CamNLLgA.js → eds-icon-public.entry-BEuGmGDm.js} +1 -1
- package/{eds-icon-public.entry-BqV48rE8.mjs → eds-icon-public.entry-l-c12-ot.mjs} +1 -1
- package/{eds-icon-search.entry-uOoHRcc3.js → eds-icon-search.entry-CyujB3B2.js} +1 -1
- package/{eds-icon-search.entry-DFx68SNV.mjs → eds-icon-search.entry-xwA-HYjT.mjs} +1 -1
- package/{eds-icon-star.entry-DGVy7Acz.js → eds-icon-star.entry-CnkWJzkZ.js} +1 -1
- package/{eds-icon-star.entry-Cx31j8jH.mjs → eds-icon-star.entry-kHi0LUqR.mjs} +1 -1
- package/{eds-icon-success.entry-C2iwNe7M.mjs → eds-icon-success.entry-Crhf7xIP.mjs} +1 -1
- package/{eds-icon-success.entry-L-6KxNv_.js → eds-icon-success.entry-yuF-uDaQ.js} +1 -1
- package/{eds-icon-thumbs-down.entry-Bzg03090.mjs → eds-icon-thumbs-down.entry-DBKBcj-i.mjs} +1 -1
- package/{eds-icon-thumbs-down.entry-H_L3G0Qc.js → eds-icon-thumbs-down.entry-kYL2vKmH.js} +1 -1
- package/{eds-icon-thumbs-up.entry-CGsU22Uo.mjs → eds-icon-thumbs-up.entry-0CMBOdab.mjs} +1 -1
- package/{eds-icon-thumbs-up.entry-CtlESMZe.js → eds-icon-thumbs-up.entry-z9R1lFQb.js} +1 -1
- package/{eds-icon-tutorial.entry-0KlIsV_C.mjs → eds-icon-tutorial.entry-Dez96InA.mjs} +1 -1
- package/{eds-icon-tutorial.entry-eZ7jGnOp.js → eds-icon-tutorial.entry-JKXn5Erp.js} +1 -1
- package/{eds-icon-twitter.entry-Cn4V89u2.mjs → eds-icon-twitter.entry-CMGpTPzq.mjs} +1 -1
- package/{eds-icon-twitter.entry-DhBDne94.js → eds-icon-twitter.entry-bMXEypFu.js} +1 -1
- package/{eds-icon-unknown.entry-WV-gVCVW.mjs → eds-icon-unknown.entry-BXU4Bg9C.mjs} +1 -1
- package/{eds-icon-unknown.entry-euVB8GBQ.js → eds-icon-unknown.entry-DQ3C8FEA.js} +1 -1
- package/{eds-icon-updown.entry-BugenFBf.mjs → eds-icon-updown.entry-B8IWgmtI.mjs} +1 -1
- package/{eds-icon-updown.entry-CACq6JHQ.js → eds-icon-updown.entry-Cna08qxN.js} +1 -1
- package/{eds-icon-user.entry-iBxC9737.mjs → eds-icon-user.entry-B1bMKs8B.mjs} +1 -1
- package/{eds-icon-user.entry-dO7iZ0Cx.js → eds-icon-user.entry-CJFYXCKO.js} +1 -1
- package/{eds-icon-youtube.entry-zumkO4fA.js → eds-icon-youtube.entry-DnJcjmle.js} +1 -1
- package/{eds-icon-youtube.entry-C9W4k_s3.mjs → eds-icon-youtube.entry-pSBbdBV8.mjs} +1 -1
- package/{eds-matomo-notice.entry-CQirqE_4.js → eds-matomo-notice.entry-DXgylTlk.js} +1 -1
- package/{eds-matomo-notice.entry-CjyG4-EZ.mjs → eds-matomo-notice.entry-DvvvlaFb.mjs} +1 -1
- package/{eds-pie.entry-DYNe4PYX.js → eds-pie.entry-Cu2uq_3h.js} +1 -1
- package/{eds-pie.entry-BmBUruFw.mjs → eds-pie.entry-D_jCamhX.mjs} +1 -1
- package/{eds-progress-bar.entry-BXcu_prb.mjs → eds-progress-bar.entry-C4pfvwx1.mjs} +4 -4
- package/{eds-progress-bar.entry-Cjqp0Kwg.js → eds-progress-bar.entry-CC1dOWe1.js} +1 -1
- package/{eds-rating.entry-D2UhQaPd.mjs → eds-rating.entry-B1SkHc9j.mjs} +2 -2
- package/{eds-rating.entry-BvDI78HF.js → eds-rating.entry-Cub8-CYo.js} +1 -1
- package/{eds-section-core_2.entry-C0cGmGRM.mjs → eds-section-core_2.entry-JzPcyWhJ.mjs} +9 -9
- package/eds-section-core_2.entry-MI92_AWE.js +1 -0
- package/{eds-spinner.entry-CBeSDny0.js → eds-spinner.entry-BEiBPrum.js} +1 -1
- package/{eds-spinner.entry-DgIsxAng.mjs → eds-spinner.entry-DyS6vswP.mjs} +5 -5
- package/{eds-splash-screen.entry-DbA7qdl8.mjs → eds-splash-screen.entry-DlAoDuzU.mjs} +1 -1
- package/{eds-splash-screen.entry-Deeo7BfB.js → eds-splash-screen.entry-V4n8Dvfm.js} +1 -1
- package/{eds-switch.entry-CP6uuyWY.mjs → eds-switch.entry-Bo0okWHX.mjs} +9 -9
- package/{eds-switch.entry-BwO-kuJd.js → eds-switch.entry-KL8zZeak.js} +1 -1
- package/{eds-timeline.entry-D7WkN46r.js → eds-timeline.entry-Cxyvzy8x.js} +1 -1
- package/{eds-timeline.entry-BD5tfzB4.mjs → eds-timeline.entry-DBu98TrB.mjs} +5 -5
- package/{eds-toast-manager.entry-B_xF4nhP.js → eds-toast-manager.entry-C5zTIL5J.js} +1 -1
- package/{eds-toast-manager.entry-B5OH6VQt.mjs → eds-toast-manager.entry-pv7Pcl6B.mjs} +2 -2
- package/{eds-tooltip.entry-8DmPgiya.js → eds-tooltip.entry-DdyCiR00.js} +1 -1
- package/{eds-tooltip.entry-CGm5L18V.mjs → eds-tooltip.entry-DffUxKpF.mjs} +2 -2
- package/eds-trl.entry-B0NOKbaT.mjs +34 -0
- package/{eds-trl.entry-DJmeDq92.js → eds-trl.entry-a4az0XAJ.js} +1 -1
- package/generated/components.d.ts +2 -0
- package/incorrect-use-of-colors.entry-BbWaxWJ2.js +1 -0
- package/{incorrect-use-of-colors.entry-BUl-g-9b.mjs → incorrect-use-of-colors.entry-CX3u3L-Z.mjs} +2 -2
- package/index-BK320cEL.js +21 -0
- package/{index-DlF3mhYp.mjs → index-DpUTWZFA.mjs} +412 -400
- package/index.js +1 -1
- package/index.mjs +30 -28
- package/{logo-space.entry-DlW71ecZ.mjs → logo-space.entry-Cow8tI7Y.mjs} +8 -8
- package/{logo-space.entry-BEakqZjv.js → logo-space.entry-dS1l_4Wh.js} +2 -2
- package/{logo-variations-horizontal_2.entry-DKm5neSg.js → logo-variations-horizontal_2.entry-Bzol9fjc.js} +3 -3
- package/{logo-variations-horizontal_2.entry-DgdtCdH6.mjs → logo-variations-horizontal_2.entry-DBafIDHo.mjs} +10 -10
- package/logo-variations-tabs.entry-BLa1GqF6.js +1 -0
- package/{logo-variations-tabs.entry-BpMbJUfT.mjs → logo-variations-tabs.entry-D4uKKqh0.mjs} +5 -5
- package/{logo-wrong-usage.entry-TyewhaS3.js → logo-wrong-usage.entry-BkwO7Dgm.js} +1 -1
- package/{logo-wrong-usage.entry-dhlCSGo4.mjs → logo-wrong-usage.entry-C0ylWAnU.mjs} +2 -2
- package/package.json +1 -1
- package/{svg-repository.entry-BJiV4WBq.mjs → svg-repository.entry-DHYfAu5N.mjs} +9 -9
- package/{svg-repository.entry-Brhc-5cS.js → svg-repository.entry-TP5g_TK_.js} +2 -2
- package/{token-list_3.entry-DVABZ5Nq.mjs → token-list_3.entry-BrA3OWSV.mjs} +4 -4
- package/{token-list_3.entry-DIghLBVw.js → token-list_3.entry-VmEoB2Ng.js} +1 -1
- package/{token-ratios.entry-BJI_gvbW.js → token-ratios.entry-BjY2DyCo.js} +1 -1
- package/{token-ratios.entry-BsKRnvCA.mjs → token-ratios.entry-vmg0sh70.mjs} +2 -2
- package/token-spacing.entry-B9xNfUfE.js +1 -0
- package/token-spacing.entry-BOxK1TIH.mjs +12 -0
- package/{token-typography.entry-DY6BWv55.mjs → token-typography.entry-B0aoPZEB.mjs} +2 -2
- package/{token-typography.entry-D1mEIcSS.js → token-typography.entry-DU8aU6Rt.js} +1 -1
- package/color-primary-palette_6.entry-CEsBIhd_.js +0 -1
- package/eds-app-root.entry-CbiJsAWc.js +0 -1
- package/eds-app-root.entry-Dx05XJze.mjs +0 -25
- package/eds-section-core_2.entry-D9dSp32j.js +0 -1
- package/eds-toast.entry-5VerBELs.mjs +0 -61
- package/eds-toast.entry-B79TcSYL.js +0 -3
- package/eds-trl.entry-BWKM05Zn.mjs +0 -34
- package/incorrect-use-of-colors.entry-CZoP7lAo.js +0 -1
- package/index-oRFAnZQN.js +0 -21
- package/logo-variations-tabs.entry-hRkNKrnQ.js +0 -1
- package/token-spacing.entry-Cyhv1Vla.js +0 -1
- package/token-spacing.entry-kdGFG1Tc.mjs +0 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BK320cEL.js"),b=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R156 G225 B66",cmyk:"C52 M0 Y98 K0",hex:"#9CE142",pantoneC:"PANTONE 367 C",pantoneU:"PANTONE 374 U",background:"#9CE142"},{rgb:"R0 G201 B89",cmyk:"C75 M0 Y80 K0",hex:"#00C959",pantoneC:"PANTONE 7480 C",pantoneU:"PANTONE 7481 U",background:"#00C959"},{rgb:"R0 G165 B149",cmyk:"C78 M8 Y49 K0",hex:"#00A595",pantoneC:"PANTONE 3272 C",pantoneU:"PANTONE 3275 U",background:"#00A595"}]}render(){return e.h("ul",{key:"dca9faa5b584c6927687845d7ef33ac5e7554e5c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}},e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.rgb),e.h("span",{class:"f-body-02 w-full"},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.pantoneC),e.h("span",{class:"f-body-02"},a.pantoneU))))))}},l=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R63 G169 B245",cmyk:"C68 M13 Y0 K0",hex:"#3FA9F5",pantoneC:"PANTONE 298 C",pantoneU:"PANTONE 298 U",background:"#3FA9F5"},{rgb:"R6 G68 B244",cmyk:"C92 M60 Y0 K0",hex:"#0644F4",pantoneC:"PANTONE 2728 C",pantoneU:"PANTONE 2935 U",background:"#0644F4"},{rgb:"R196 G97 B255",cmyk:"C52 M67 Y0 K0",hex:"#C461FF",pantoneC:"PANTONE 252 C",pantoneU:"PANTONE 252 U",background:"#C461FF"},{rgb:"R93 G61 B249",cmyk:"C83 M78 Y0 K0",hex:"#5D3DF9",pantoneC:"PANTONE 266 C",pantoneU:"PANTONE 2735 U",background:"#5D3DF9"},{rgb:"R255 G165 B67",cmyk:"C0 M43 Y76 K0",hex:"#FFA543",pantoneC:"PANTONE 804 C",pantoneU:"PANTONE 136 U",background:"#FFA543"},{rgb:"R255 G77 B104",cmyk:"C0 M81 Y42 K0",hex:"#FF4D68",pantoneC:"PANTONE 1785 C",pantoneU:"PANTONE 185 U",background:"#FF4D68"}],this.show=void 0}render(){return e.h("ul",{key:"4759c4ec0d107c4a70d300b9e3d72c36044fb200",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}},e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.rgb),e.h("span",{class:"f-body-02 w-full"},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.pantoneC),e.h("span",{class:"f-body-02"},a.pantoneU))))))}},f=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R20 G20 B20",cmyk:"C78 M69 Y61 K87",hex:"#141414",pantoneC:"",pantoneU:"",background:"#141414"},{rgb:"R56 G56 B56",cmyk:"C68 M58 Y55 K63",hex:"#383838",pantoneC:"PANTONE 447 C",pantoneU:"PANTONE Neutral Black U",background:"#383838"},{rgb:"R204 G204 B204",cmyk:"C23 M17 Y18 K0",hex:"#CCCCCC",pantoneC:"PANTONE Cool Gray 2 C",pantoneU:"PANTONE Cool Gray 2 U",background:"#CCCCCC"},{rgb:"R230 G230 B230",cmyk:"C12 M8 Y9 K0",hex:"#E6E6E6",pantoneC:"PANTONE 663 C",pantoneU:"PANTONE 649 U",background:"#E6E6E6"},{rgb:"R255 G255 B255",cmyk:"C0 M0 Y0 K0",hex:"#FFFFFF",pantoneC:"",pantoneU:"",background:"#FFFFFF"}]}getTextColor(a){if(a.startsWith("#")){const c=a.slice(1),s=parseInt(c.substring(0,2),16),d=parseInt(c.substring(2,4),16),o=parseInt(c.substring(4,6),16);return(.299*s+.587*d+.114*o)/255>.5?"text-default":"text-inverse"}if(/rgb/i.test(a)){const c=a.replace(/rgba?\(/i,"").replace(")","").split(",").map(n=>parseFloat(n.trim())),[s,d,o]=c;return(.299*s+.587*d+.114*o)/255>.5?"text-default":"text-inverse"}return"text-default"}render(){return e.h("ul",{key:"869a21a9a286ba36e5df1cef926e1c119ce35645",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},this.colors.map(a=>{const c=this.getTextColor(a.background);return e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}},e.h("div",{class:"grid"},e.h("span",{class:`f-body-02 ${c}`},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"},class:c})),e.h("div",{class:"grid"},e.h("span",{class:`f-body-02 ${c}`},a.pantoneC),e.h("span",{class:`f-body-02 ${c}`},a.pantoneU))))}))}},r=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R156 G225 B66",cmyk:"C52 M0 Y98 K0",hex:"#9CE142",pantoneC:"PANTONE 367 C",pantoneU:"PANTONE 374 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"},{rgb:"R0 G201 B89",cmyk:"C75 M0 Y80 K0",hex:"#00C959",pantoneC:"PANTONE 7480 C",pantoneU:"PANTONE 7481 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"},{rgb:"R0 G165 B149",cmyk:"C78 M8 Y49 K0",hex:"#00A595",pantoneC:"PANTONE 3272 C",pantoneU:"PANTONE 3275 U",background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"}]}render(){return e.h("ul",{key:"a527107bb4bab3981790adacf1b354da1fa41602",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16",style:{background:"linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"}},this.colors.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height flex items-center justify-between p-16"},e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.rgb),e.h("span",{class:"f-body-02 w-full"},a.cmyk),e.h("eds-code-block",{code:a.hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{class:"grid"},e.h("span",{class:"f-body-02"},a.pantoneC),e.h("span",{class:"f-body-02"},a.pantoneU))))))}},i=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R63 G169 B245",cmyk:"C68 M13 Y0 K0",hex:"#3FA9F5",pantoneC:"PANTONE 298 C",pantoneU:"PANTONE 298 U",background:"linear-gradient(to bottom, #3FA9F5, #3FA9F5)"},{rgb:"R6 G68 B244",cmyk:"C92 M60 Y0 K0",hex:"#0644F4",pantoneC:"PANTONE 2728 C",pantoneU:"PANTONE 2935 U",background:"linear-gradient(to bottom, #3FA9F5, #0644F4)"},{rgb:"R196 G97 B255",cmyk:"C52 M67 Y0 K0",hex:"#C461FF",pantoneC:"PANTONE 252 C",pantoneU:"PANTONE 252 U",background:"linear-gradient(to bottom, #C461FF, #C461FF)"},{rgb:"R93 G61 B249",cmyk:"C83 M78 Y0 K0",hex:"#5D3DF9",pantoneC:"PANTONE 266 C",pantoneU:"PANTONE 2735 U",background:"linear-gradient(to bottom, #C461FF, #5D3DF9)"},{rgb:"R255 G165 B67",cmyk:"C0 M43 Y76 K0",hex:"#FFA543",pantoneC:"PANTONE 804 C",pantoneU:"PANTONE 136 U",background:"linear-gradient(to bottom, #FFA543, #FFA543)"},{rgb:"R255 G77 B104",cmyk:"C0 M81 Y42 K0",hex:"#FF4D68",pantoneC:"PANTONE 1785 C",pantoneU:"PANTONE 185 U",background:"linear-gradient(to bottom, #FFA543, #FF4D68)"}]}render(){return e.h("div",{key:"74f7edbba10e5d4db5a2f661b73b0fb918e46b68"},e.h("ul",{key:"b9045ef69060083d97bd3eb3a3c6b717f4fe1f34",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"a72a7d04c335ab12eeb9cafaa2e6f2faf54b8b96",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"34c60280372817adbd8f5f516a5825f5a21438e4",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[0].background}},e.h("div",{key:"46e9b34908507069d975d766a5e696a6ab47b990",class:"grid"},e.h("span",{key:"ebeb484c14c82b35811bb66111dcdd67549d1a46",class:"f-body-02"},this.colors[0].rgb),e.h("span",{key:"b7fa5ce2837e11ff98f470f5907d4a7a47ed288a",class:"f-body-02 w-full"},this.colors[0].cmyk),e.h("eds-code-block",{key:"6e65b43c564a308f6b183e463f6b2ca28cbac2a7",code:this.colors[0].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"03b3bf61023ea3314dfa1a8bedfa5f72f47a21d2",class:"grid"},e.h("span",{key:"4d1a77980d823f96a6b47abd9496062802532fb7",class:"f-body-02"},this.colors[0].pantoneC),e.h("span",{key:"60c0d9436d3210518dd931e5b46e0687992611f2",class:"f-body-02"},this.colors[0].pantoneU))),e.h("div",{key:"9ac430429109809eb270b58d07423fbb4f12f06d",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[1].background}},e.h("div",{key:"6e12590eb03638ff0a05cb1fc21c793b202be508",class:"grid"},e.h("span",{key:"ca3267c62171da901fa7397ab755913d8244fa05",class:"f-body-02"},this.colors[1].rgb),e.h("span",{key:"d3e34e06994849c667d2ce4aed6660d0052b51bc",class:"f-body-02 w-full"},this.colors[1].cmyk),e.h("eds-code-block",{key:"10090042d6f423dc0ba69bbebbbc261a8f83177b",code:this.colors[1].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"e51f480cfbce6505657be18f64e206f17292b75b",class:"grid"},e.h("span",{key:"e52d1565df7f85edf31815330139542ad685d5bb",class:"f-body-02"},this.colors[1].pantoneC),e.h("span",{key:"c82c6476a00d3d86f175d84a991799e4b8be0339",class:"f-body-02"},this.colors[1].pantoneU))))),e.h("eds-block-break",{key:"9f9454dd27f53c76e055b75bd35718170934161c"}),e.h("ul",{key:"f0cd0c2956b005dff53e840780ec883e79e54d29",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"0051eca25a27a4617642ee62495b5070b39303e1",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"e635251200247329d546f6832b45c15f68e16ada",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[2].background}},e.h("div",{key:"ae1fbc5eab2f291f01a67ea2c175e916994a23cc",class:"grid"},e.h("span",{key:"89b9565bb0eaceb4306cc2fb8112005e1ecac2ec",class:"f-body-02"},this.colors[2].rgb),e.h("span",{key:"789381481f744ceeb4db49ffdcae1992e24411e7",class:"f-body-02 w-full"},this.colors[2].cmyk),e.h("eds-code-block",{key:"17ef5171b93ddae1a653e4e24931a4dd8133e327",code:this.colors[2].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"683d59c2d9ef6c7be6cddce3e861b88362c9d92b",class:"grid"},e.h("span",{key:"049567ea731c85be8ee92a1e367d8bed0d53a948",class:"f-body-02"},this.colors[2].pantoneC),e.h("span",{key:"e9abe0895de0438db939a081f84dd4a95de56b33",class:"f-body-02"},this.colors[2].pantoneU))),e.h("div",{key:"e2d6d0aaf225da7a4b92a539106a4995e0a97e90",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[3].background}},e.h("div",{key:"5327980f01b127a695ebc19f2ea9edf99b674078",class:"grid"},e.h("span",{key:"c44c7dfd09520b00a4faa2723a797e2e6e893816",class:"f-body-02"},this.colors[3].rgb),e.h("span",{key:"50ed833cf9d0b281d0ee2c06ca6e9074b82de399",class:"f-body-02 w-full"},this.colors[3].cmyk),e.h("eds-code-block",{key:"d8545dfbeec83ce4e04695b52c85e1e4ea8d125e",code:this.colors[3].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"3a88aa95a18ff30a5694c73dfce9b27cdbfb22cc",class:"grid"},e.h("span",{key:"72245f6f7992657f4801571258c0b474a0b00f26",class:"f-body-02"},this.colors[3].pantoneC),e.h("span",{key:"1d24a4ce4f9456268030f45fb5320f71de235483",class:"f-body-02"},this.colors[3].pantoneU))))),e.h("eds-block-break",{key:"911c0de727c6dfbe9e0d83b572ea2637a54481f6"}),e.h("ul",{key:"a09572c51f87e28b3b90b5ac9936d1c0c109a780",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"0228ebc07d1402fd16def4e3596d80f971b3d437",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"6041ecff1c8ec57284ea167a39573a572c266c19",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[4].background}},e.h("div",{key:"eb2a7c48b057c022302c9a2d4101bbf3c062afb9",class:"grid"},e.h("span",{key:"e4de44d68f477e93a9fe992cd4e8008c71db775c",class:"f-body-02"},this.colors[4].rgb),e.h("span",{key:"4e5c3774c71fe464173005df581f867a683b8f32",class:"f-body-02 w-full"},this.colors[4].cmyk),e.h("eds-code-block",{key:"aa9462ae6d2feb2f1caddff60b0e36593a2363ac",code:this.colors[4].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"ef2cbd394e055499a1b8050d61618d4469cfe12f",class:"grid"},e.h("span",{key:"15e103271c649e90d5f9e8891bd94da5c91855c2",class:"f-body-02"},this.colors[4].pantoneC),e.h("span",{key:"6a19b5ba5340ff0fe4eb91869f502ed0d33dc423",class:"f-body-02"},this.colors[4].pantoneU))),e.h("div",{key:"fd71cdb93d40856025ff743330a1849829f13ea1",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[5].background}},e.h("div",{key:"fb0aa74276a6210ea690892ac4cb295975c1631c",class:"grid"},e.h("span",{key:"25292c9f2f2417f7fd8e6db1d3419663ef5bf831",class:"f-body-02"},this.colors[5].rgb),e.h("span",{key:"1bca86d8036ac0923e6014b36177974e135799a0",class:"f-body-02 w-full"},this.colors[5].cmyk),e.h("eds-code-block",{key:"142843c1ac15d4fdda1d5c2a96d11503ac99c2c9",code:this.colors[5].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"6c05bf3278967860f4c36a6c4711be70ba9989c4",class:"grid"},e.h("span",{key:"32459a9b07699f3291ce29dcffaa12faffe6006a",class:"f-body-02"},this.colors[5].pantoneC),e.h("span",{key:"b9cd8ea5b74262c3268981137639c953cbfa512f",class:"f-body-02"},this.colors[5].pantoneU))))))}},h=class{constructor(a){e.registerInstance(this,a),this.colors=[{rgb:"R20 G20 B20",cmyk:"C78 M69 Y61 K87",hex:"#141414",pantoneC:"",pantoneU:"",background:"#141414"},{rgb:"R56 G56 B56",cmyk:"C68 M58 Y55 K63",hex:"#383838",pantoneC:"PANTONE 447 C",pantoneU:"PANTONE Neutral Black U",background:"#383838"},{rgb:"R204 G204 B204",cmyk:"C23 M17 Y18 K0",hex:"#CCCCCC",pantoneC:"PANTONE Cool Gray 2 C",pantoneU:"PANTONE Cool Gray 2 U",background:"linear-gradient(to bottom, #CCCCCC, #CCCCCC)"},{rgb:"R230 G230 B230",cmyk:"C12 M8 Y9 K0",hex:"#E6E6E6",pantoneC:"PANTONE 663 C",pantoneU:"PANTONE 649 U",background:"linear-gradient(to bottom, #CCCCCC, #E6E6E6)"},{rgb:"R255 G255 B255",cmyk:"C0 M0 Y0 K0",hex:"#FFFFFF",pantoneC:"",pantoneU:"",background:"#FFFFFF"}]}render(){return e.h("ul",{key:"7df69f04c7056874f1adc148bc558eebb3ad5ce0",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"6022b06412004891f8878ef083f8b720561b21c4",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"baa50bd7d36783a3c906bf34cf4782883d07fd15",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[0].background}},e.h("div",{key:"8676a93e699a766cf14c933f782e255945cd6b33",class:"grid"},e.h("span",{key:"812287677e887e635f2256afcc747008b3b67e87",class:"f-body-02"},this.colors[0].rgb),e.h("span",{key:"4818cfaa20c82c2ea7fe2058159aab5d4a7585d2",class:"f-body-02 w-full"},this.colors[0].cmyk),e.h("eds-code-block",{key:"3366a3a92d136f057350048698ea552d2abb528f",code:this.colors[0].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"7d65d5e2f1e283fbbda8542fdb1238bc01419176",class:"grid"},e.h("span",{key:"97f249218107af11869a10c80c29a32ecf37fed4",class:"f-body-02"},this.colors[0].pantoneC||"N/A"),e.h("span",{key:"ef213856451374a9709ac600360a92b07596fbb6",class:"f-body-02"},this.colors[0].pantoneU||"N/A")))),e.h("li",{key:"6e7b366c0b441e4738d1ec1c148ded1fb4e32750",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"e1c6c78fb4bc1aa509abd179bbca4eb9cc92d927",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[1].background}},e.h("div",{key:"8596e8b03c79c16fe7fcbcbde6d66618cd9eb31c",class:"grid"},e.h("span",{key:"daf3bbd648cc5b23c24ea04e4f63bf5224100637",class:"f-body-02"},this.colors[1].rgb),e.h("span",{key:"36279d0a36a908d94bf69cd4626f697ddcf8a4a5",class:"f-body-02 w-full"},this.colors[1].cmyk),e.h("eds-code-block",{key:"968dd60e01ed0ca4c12859883f39eae13bc241d2",code:this.colors[1].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"8adc5a48de6c7662d5bfd7f580b539cdb2724966",class:"grid"},e.h("span",{key:"aba8dc8c327f186cd71251c5d759a8d2bab22d76",class:"f-body-02"},this.colors[1].pantoneC||"N/A"),e.h("span",{key:"4f00ac84c957f17f640fdf99fe7bc0f8d5a4729d",class:"f-body-02"},this.colors[1].pantoneU||"N/A")))),e.h("li",{key:"f60cc305104ff06e7e3138122605719fdf44211a",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"16055cb2c78f2cab4c2a8ee5abf0ff180ce1818c",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[2].background}},e.h("div",{key:"cb9015c5139a9e4bc4d83c81e4c624418ba91e57",class:"grid"},e.h("span",{key:"e6071179b0d5ee6a327bae62e8cb797be4613a48",class:"f-body-02"},this.colors[2].rgb),e.h("span",{key:"f82c6c24daedeed9976b40e15e68b0f8cf0e0237",class:"f-body-02 w-full"},this.colors[2].cmyk),e.h("eds-code-block",{key:"38c572026fb438735393f080475ce007f1d6d87a",code:this.colors[2].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"a348ef327a39997ef3b76d5c98dd0e485e71ceec",class:"grid"},e.h("span",{key:"f8d5156c502542206b83b8f402085b3e8f0cbbaf",class:"f-body-02"},this.colors[2].pantoneC),e.h("span",{key:"d1ce2dc56c8f256a1e139a6a22ddfe922f374617",class:"f-body-02"},this.colors[2].pantoneU))),e.h("div",{key:"c37b60531e00b73b27a9d687f256906aa702fc33",class:"effect-height flex items-center justify-between p-16",style:{background:this.colors[3].background}},e.h("div",{key:"5664705a651d08bbc912dc2c54a5836b7b110756",class:"grid"},e.h("span",{key:"983856d8e4b220111545618290fc646d9441255d",class:"f-body-02"},this.colors[3].rgb),e.h("span",{key:"4889da92a9135b03cf4a3261bf56dbb5f0676732",class:"f-body-02 w-full"},this.colors[3].cmyk),e.h("eds-code-block",{key:"7a05d96a8850a939aae04055d6687c4f0b099627",code:this.colors[3].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"6d2a643019c9157caa657022ffd186cbce545051",class:"grid"},e.h("span",{key:"d6d4e56c980b989317059c5564d6734d882cb340",class:"f-body-02"},this.colors[3].pantoneC),e.h("span",{key:"27d832aebcf959f279b31479011ad580eca1738e",class:"f-body-02"},this.colors[3].pantoneU)))),e.h("li",{key:"4883a16496f89bb91be092dd30c396b5da80b022",class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{key:"0961b636d4700899d85a96559163a22cea529a3c",class:"effect-height flex items-center justify-between p-16",style:{backgroundColor:this.colors[4].background}},e.h("div",{key:"7dfe7f6f7ce9a0ef94f2e4fb5a238efbf4d79000",class:"grid"},e.h("span",{key:"de249cb619dc0b304e02137d3acca2372542d894",class:"f-body-02"},this.colors[4].rgb),e.h("span",{key:"e61f26f9cb320b5c89a869cc136b77e188883271",class:"f-body-02 w-full"},this.colors[4].cmyk),e.h("eds-code-block",{key:"6f42200391ca34de7059bb58487072e142a1e426",code:this.colors[4].hex,style:{minWidth:"150px",marginRight:"5px"}})),e.h("div",{key:"cc46304bf53b13ff4895589d728e8db931a4410d",class:"grid"},e.h("span",{key:"1e7f7cef5a61e4644b2ffd4853a764e3d5894fa9",class:"f-body-02"},this.colors[4].pantoneC||"N/A"),e.h("span",{key:"30eb901e47311d9bce77ec1a05f29d43fb41dd70",class:"f-body-02"},this.colors[4].pantoneU||"N/A")))))}};exports.color_primary_palette=b;exports.color_secondary_palette=l;exports.color_support_palette=f;exports.gradient_primary_palette=r;exports.gradient_secondary_palette=i;exports.gradient_support_palette=h;
|
package/{color-primary-palette_6.entry-DrWA6jLu.mjs → color-primary-palette_6.entry-CvT9Ya5U.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as s, h as e } from "./index-
|
|
2
|
-
const
|
|
1
|
+
import { r as s, h as e } from "./index-DpUTWZFA.mjs";
|
|
2
|
+
const f = class {
|
|
3
3
|
constructor(a) {
|
|
4
4
|
s(this, a), this.colors = [
|
|
5
5
|
{
|
|
@@ -29,7 +29,7 @@ const l = class {
|
|
|
29
29
|
];
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return e("ul", { key: "
|
|
32
|
+
return e("ul", { key: "dca9faa5b584c6927687845d7ef33ac5e7554e5c", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } }, e("div", { class: "grid" }, e("span", { class: "f-body-02" }, a.rgb), e("span", { class: "f-body-02 w-full" }, a.cmyk), e("eds-code-block", { code: a.hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { class: "grid" }, e("span", { class: "f-body-02" }, a.pantoneC), e("span", { class: "f-body-02" }, a.pantoneU))))));
|
|
33
33
|
}
|
|
34
34
|
}, r = class {
|
|
35
35
|
constructor(a) {
|
|
@@ -85,7 +85,7 @@ const l = class {
|
|
|
85
85
|
], this.show = void 0;
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return e("ul", { key: "
|
|
88
|
+
return e("ul", { key: "4759c4ec0d107c4a70d300b9e3d72c36044fb200", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } }, e("div", { class: "grid" }, e("span", { class: "f-body-02" }, a.rgb), e("span", { class: "f-body-02 w-full" }, a.cmyk), e("eds-code-block", { code: a.hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { class: "grid" }, e("span", { class: "f-body-02" }, a.pantoneC), e("span", { class: "f-body-02" }, a.pantoneU))))));
|
|
89
89
|
}
|
|
90
90
|
}, i = class {
|
|
91
91
|
constructor(a) {
|
|
@@ -120,17 +120,17 @@ const l = class {
|
|
|
120
120
|
}
|
|
121
121
|
getTextColor(a) {
|
|
122
122
|
if (a.startsWith("#")) {
|
|
123
|
-
const c = a.slice(1), d = parseInt(c.substring(0, 2), 16), o = parseInt(c.substring(2, 4), 16),
|
|
124
|
-
return (0.299 * d + 0.587 * o + 0.114 *
|
|
123
|
+
const c = a.slice(1), d = parseInt(c.substring(0, 2), 16), o = parseInt(c.substring(2, 4), 16), t = parseInt(c.substring(4, 6), 16);
|
|
124
|
+
return (0.299 * d + 0.587 * o + 0.114 * t) / 255 > 0.5 ? "text-default" : "text-inverse";
|
|
125
125
|
}
|
|
126
126
|
if (/rgb/i.test(a)) {
|
|
127
|
-
const c = a.replace(/rgba?\(/i, "").replace(")", "").split(",").map((n) => parseFloat(n.trim())), [d, o,
|
|
128
|
-
return (0.299 * d + 0.587 * o + 0.114 *
|
|
127
|
+
const c = a.replace(/rgba?\(/i, "").replace(")", "").split(",").map((n) => parseFloat(n.trim())), [d, o, t] = c;
|
|
128
|
+
return (0.299 * d + 0.587 * o + 0.114 * t) / 255 > 0.5 ? "text-default" : "text-inverse";
|
|
129
129
|
}
|
|
130
130
|
return "text-default";
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return e("ul", { key: "
|
|
133
|
+
return e("ul", { key: "869a21a9a286ba36e5df1cef926e1c119ce35645", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((a) => {
|
|
134
134
|
const c = this.getTextColor(a.background);
|
|
135
135
|
return e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } }, e("div", { class: "grid" }, e("span", { class: `f-body-02 ${c}` }, a.cmyk), e("eds-code-block", { code: a.hex, style: { minWidth: "150px", marginRight: "5px" }, class: c })), e("div", { class: "grid" }, e("span", { class: `f-body-02 ${c}` }, a.pantoneC), e("span", { class: `f-body-02 ${c}` }, a.pantoneU))));
|
|
136
136
|
}));
|
|
@@ -165,7 +165,7 @@ const l = class {
|
|
|
165
165
|
];
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return e("ul", { key: "
|
|
168
|
+
return e("ul", { key: "a527107bb4bab3981790adacf1b354da1fa41602", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
169
169
|
background: "linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)"
|
|
170
170
|
} }, this.colors.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height flex items-center justify-between p-16" }, e("div", { class: "grid" }, e("span", { class: "f-body-02" }, a.rgb), e("span", { class: "f-body-02 w-full" }, a.cmyk), e("eds-code-block", { code: a.hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { class: "grid" }, e("span", { class: "f-body-02" }, a.pantoneC), e("span", { class: "f-body-02" }, a.pantoneU))))));
|
|
171
171
|
}
|
|
@@ -223,19 +223,19 @@ const l = class {
|
|
|
223
223
|
];
|
|
224
224
|
}
|
|
225
225
|
render() {
|
|
226
|
-
return e("div", { key: "
|
|
226
|
+
return e("div", { key: "74f7edbba10e5d4db5a2f661b73b0fb918e46b68" }, e("ul", { key: "b9045ef69060083d97bd3eb3a3c6b717f4fe1f34", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, e("li", { key: "a72a7d04c335ab12eeb9cafaa2e6f2faf54b8b96", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "34c60280372817adbd8f5f516a5825f5a21438e4", class: "effect-height flex items-center justify-between p-16", style: {
|
|
227
227
|
background: this.colors[0].background
|
|
228
|
-
} }, e("div", { key: "
|
|
228
|
+
} }, e("div", { key: "46e9b34908507069d975d766a5e696a6ab47b990", class: "grid" }, e("span", { key: "ebeb484c14c82b35811bb66111dcdd67549d1a46", class: "f-body-02" }, this.colors[0].rgb), e("span", { key: "b7fa5ce2837e11ff98f470f5907d4a7a47ed288a", class: "f-body-02 w-full" }, this.colors[0].cmyk), e("eds-code-block", { key: "6e65b43c564a308f6b183e463f6b2ca28cbac2a7", code: this.colors[0].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "03b3bf61023ea3314dfa1a8bedfa5f72f47a21d2", class: "grid" }, e("span", { key: "4d1a77980d823f96a6b47abd9496062802532fb7", class: "f-body-02" }, this.colors[0].pantoneC), e("span", { key: "60c0d9436d3210518dd931e5b46e0687992611f2", class: "f-body-02" }, this.colors[0].pantoneU))), e("div", { key: "9ac430429109809eb270b58d07423fbb4f12f06d", class: "effect-height flex items-center justify-between p-16", style: {
|
|
229
229
|
background: this.colors[1].background
|
|
230
|
-
} }, e("div", { key: "
|
|
230
|
+
} }, e("div", { key: "6e12590eb03638ff0a05cb1fc21c793b202be508", class: "grid" }, e("span", { key: "ca3267c62171da901fa7397ab755913d8244fa05", class: "f-body-02" }, this.colors[1].rgb), e("span", { key: "d3e34e06994849c667d2ce4aed6660d0052b51bc", class: "f-body-02 w-full" }, this.colors[1].cmyk), e("eds-code-block", { key: "10090042d6f423dc0ba69bbebbbc261a8f83177b", code: this.colors[1].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "e51f480cfbce6505657be18f64e206f17292b75b", class: "grid" }, e("span", { key: "e52d1565df7f85edf31815330139542ad685d5bb", class: "f-body-02" }, this.colors[1].pantoneC), e("span", { key: "c82c6476a00d3d86f175d84a991799e4b8be0339", class: "f-body-02" }, this.colors[1].pantoneU))))), e("eds-block-break", { key: "9f9454dd27f53c76e055b75bd35718170934161c" }), e("ul", { key: "f0cd0c2956b005dff53e840780ec883e79e54d29", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, e("li", { key: "0051eca25a27a4617642ee62495b5070b39303e1", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "e635251200247329d546f6832b45c15f68e16ada", class: "effect-height flex items-center justify-between p-16", style: {
|
|
231
231
|
background: this.colors[2].background
|
|
232
|
-
} }, e("div", { key: "
|
|
232
|
+
} }, e("div", { key: "ae1fbc5eab2f291f01a67ea2c175e916994a23cc", class: "grid" }, e("span", { key: "89b9565bb0eaceb4306cc2fb8112005e1ecac2ec", class: "f-body-02" }, this.colors[2].rgb), e("span", { key: "789381481f744ceeb4db49ffdcae1992e24411e7", class: "f-body-02 w-full" }, this.colors[2].cmyk), e("eds-code-block", { key: "17ef5171b93ddae1a653e4e24931a4dd8133e327", code: this.colors[2].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "683d59c2d9ef6c7be6cddce3e861b88362c9d92b", class: "grid" }, e("span", { key: "049567ea731c85be8ee92a1e367d8bed0d53a948", class: "f-body-02" }, this.colors[2].pantoneC), e("span", { key: "e9abe0895de0438db939a081f84dd4a95de56b33", class: "f-body-02" }, this.colors[2].pantoneU))), e("div", { key: "e2d6d0aaf225da7a4b92a539106a4995e0a97e90", class: "effect-height flex items-center justify-between p-16", style: {
|
|
233
233
|
background: this.colors[3].background
|
|
234
|
-
} }, e("div", { key: "
|
|
234
|
+
} }, e("div", { key: "5327980f01b127a695ebc19f2ea9edf99b674078", class: "grid" }, e("span", { key: "c44c7dfd09520b00a4faa2723a797e2e6e893816", class: "f-body-02" }, this.colors[3].rgb), e("span", { key: "50ed833cf9d0b281d0ee2c06ca6e9074b82de399", class: "f-body-02 w-full" }, this.colors[3].cmyk), e("eds-code-block", { key: "d8545dfbeec83ce4e04695b52c85e1e4ea8d125e", code: this.colors[3].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "3a88aa95a18ff30a5694c73dfce9b27cdbfb22cc", class: "grid" }, e("span", { key: "72245f6f7992657f4801571258c0b474a0b00f26", class: "f-body-02" }, this.colors[3].pantoneC), e("span", { key: "1d24a4ce4f9456268030f45fb5320f71de235483", class: "f-body-02" }, this.colors[3].pantoneU))))), e("eds-block-break", { key: "911c0de727c6dfbe9e0d83b572ea2637a54481f6" }), e("ul", { key: "a09572c51f87e28b3b90b5ac9936d1c0c109a780", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, e("li", { key: "0228ebc07d1402fd16def4e3596d80f971b3d437", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "6041ecff1c8ec57284ea167a39573a572c266c19", class: "effect-height flex items-center justify-between p-16", style: {
|
|
235
235
|
background: this.colors[4].background
|
|
236
|
-
} }, e("div", { key: "
|
|
236
|
+
} }, e("div", { key: "eb2a7c48b057c022302c9a2d4101bbf3c062afb9", class: "grid" }, e("span", { key: "e4de44d68f477e93a9fe992cd4e8008c71db775c", class: "f-body-02" }, this.colors[4].rgb), e("span", { key: "4e5c3774c71fe464173005df581f867a683b8f32", class: "f-body-02 w-full" }, this.colors[4].cmyk), e("eds-code-block", { key: "aa9462ae6d2feb2f1caddff60b0e36593a2363ac", code: this.colors[4].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "ef2cbd394e055499a1b8050d61618d4469cfe12f", class: "grid" }, e("span", { key: "15e103271c649e90d5f9e8891bd94da5c91855c2", class: "f-body-02" }, this.colors[4].pantoneC), e("span", { key: "6a19b5ba5340ff0fe4eb91869f502ed0d33dc423", class: "f-body-02" }, this.colors[4].pantoneU))), e("div", { key: "fd71cdb93d40856025ff743330a1849829f13ea1", class: "effect-height flex items-center justify-between p-16", style: {
|
|
237
237
|
background: this.colors[5].background
|
|
238
|
-
} }, e("div", { key: "
|
|
238
|
+
} }, e("div", { key: "fb0aa74276a6210ea690892ac4cb295975c1631c", class: "grid" }, e("span", { key: "25292c9f2f2417f7fd8e6db1d3419663ef5bf831", class: "f-body-02" }, this.colors[5].rgb), e("span", { key: "1bca86d8036ac0923e6014b36177974e135799a0", class: "f-body-02 w-full" }, this.colors[5].cmyk), e("eds-code-block", { key: "142843c1ac15d4fdda1d5c2a96d11503ac99c2c9", code: this.colors[5].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "6c05bf3278967860f4c36a6c4711be70ba9989c4", class: "grid" }, e("span", { key: "32459a9b07699f3291ce29dcffaa12faffe6006a", class: "f-body-02" }, this.colors[5].pantoneC), e("span", { key: "b9cd8ea5b74262c3268981137639c953cbfa512f", class: "f-body-02" }, this.colors[5].pantoneU))))));
|
|
239
239
|
}
|
|
240
240
|
}, g = class {
|
|
241
241
|
constructor(a) {
|
|
@@ -283,15 +283,15 @@ const l = class {
|
|
|
283
283
|
];
|
|
284
284
|
}
|
|
285
285
|
render() {
|
|
286
|
-
return e("ul", { key: "
|
|
286
|
+
return e("ul", { key: "7df69f04c7056874f1adc148bc558eebb3ad5ce0", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, e("li", { key: "6022b06412004891f8878ef083f8b720561b21c4", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "baa50bd7d36783a3c906bf34cf4782883d07fd15", class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, e("div", { key: "8676a93e699a766cf14c933f782e255945cd6b33", class: "grid" }, e("span", { key: "812287677e887e635f2256afcc747008b3b67e87", class: "f-body-02" }, this.colors[0].rgb), e("span", { key: "4818cfaa20c82c2ea7fe2058159aab5d4a7585d2", class: "f-body-02 w-full" }, this.colors[0].cmyk), e("eds-code-block", { key: "3366a3a92d136f057350048698ea552d2abb528f", code: this.colors[0].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "7d65d5e2f1e283fbbda8542fdb1238bc01419176", class: "grid" }, e("span", { key: "97f249218107af11869a10c80c29a32ecf37fed4", class: "f-body-02" }, this.colors[0].pantoneC || "N/A"), e("span", { key: "ef213856451374a9709ac600360a92b07596fbb6", class: "f-body-02" }, this.colors[0].pantoneU || "N/A")))), e("li", { key: "6e7b366c0b441e4738d1ec1c148ded1fb4e32750", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "e1c6c78fb4bc1aa509abd179bbca4eb9cc92d927", class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, e("div", { key: "8596e8b03c79c16fe7fcbcbde6d66618cd9eb31c", class: "grid" }, e("span", { key: "daf3bbd648cc5b23c24ea04e4f63bf5224100637", class: "f-body-02" }, this.colors[1].rgb), e("span", { key: "36279d0a36a908d94bf69cd4626f697ddcf8a4a5", class: "f-body-02 w-full" }, this.colors[1].cmyk), e("eds-code-block", { key: "968dd60e01ed0ca4c12859883f39eae13bc241d2", code: this.colors[1].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "8adc5a48de6c7662d5bfd7f580b539cdb2724966", class: "grid" }, e("span", { key: "aba8dc8c327f186cd71251c5d759a8d2bab22d76", class: "f-body-02" }, this.colors[1].pantoneC || "N/A"), e("span", { key: "4f00ac84c957f17f640fdf99fe7bc0f8d5a4729d", class: "f-body-02" }, this.colors[1].pantoneU || "N/A")))), e("li", { key: "f60cc305104ff06e7e3138122605719fdf44211a", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "16055cb2c78f2cab4c2a8ee5abf0ff180ce1818c", class: "effect-height flex items-center justify-between p-16", style: {
|
|
287
287
|
background: this.colors[2].background
|
|
288
|
-
} }, e("div", { key: "
|
|
288
|
+
} }, e("div", { key: "cb9015c5139a9e4bc4d83c81e4c624418ba91e57", class: "grid" }, e("span", { key: "e6071179b0d5ee6a327bae62e8cb797be4613a48", class: "f-body-02" }, this.colors[2].rgb), e("span", { key: "f82c6c24daedeed9976b40e15e68b0f8cf0e0237", class: "f-body-02 w-full" }, this.colors[2].cmyk), e("eds-code-block", { key: "38c572026fb438735393f080475ce007f1d6d87a", code: this.colors[2].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "a348ef327a39997ef3b76d5c98dd0e485e71ceec", class: "grid" }, e("span", { key: "f8d5156c502542206b83b8f402085b3e8f0cbbaf", class: "f-body-02" }, this.colors[2].pantoneC), e("span", { key: "d1ce2dc56c8f256a1e139a6a22ddfe922f374617", class: "f-body-02" }, this.colors[2].pantoneU))), e("div", { key: "c37b60531e00b73b27a9d687f256906aa702fc33", class: "effect-height flex items-center justify-between p-16", style: {
|
|
289
289
|
background: this.colors[3].background
|
|
290
|
-
} }, e("div", { key: "
|
|
290
|
+
} }, e("div", { key: "5664705a651d08bbc912dc2c54a5836b7b110756", class: "grid" }, e("span", { key: "983856d8e4b220111545618290fc646d9441255d", class: "f-body-02" }, this.colors[3].rgb), e("span", { key: "4889da92a9135b03cf4a3261bf56dbb5f0676732", class: "f-body-02 w-full" }, this.colors[3].cmyk), e("eds-code-block", { key: "7a05d96a8850a939aae04055d6687c4f0b099627", code: this.colors[3].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "6d2a643019c9157caa657022ffd186cbce545051", class: "grid" }, e("span", { key: "d6d4e56c980b989317059c5564d6734d882cb340", class: "f-body-02" }, this.colors[3].pantoneC), e("span", { key: "27d832aebcf959f279b31479011ad580eca1738e", class: "f-body-02" }, this.colors[3].pantoneU)))), e("li", { key: "4883a16496f89bb91be092dd30c396b5da80b022", class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { key: "0961b636d4700899d85a96559163a22cea529a3c", class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, e("div", { key: "7dfe7f6f7ce9a0ef94f2e4fb5a238efbf4d79000", class: "grid" }, e("span", { key: "de249cb619dc0b304e02137d3acca2372542d894", class: "f-body-02" }, this.colors[4].rgb), e("span", { key: "e61f26f9cb320b5c89a869cc136b77e188883271", class: "f-body-02 w-full" }, this.colors[4].cmyk), e("eds-code-block", { key: "6f42200391ca34de7059bb58487072e142a1e426", code: this.colors[4].hex, style: { minWidth: "150px", marginRight: "5px" } })), e("div", { key: "cc46304bf53b13ff4895589d728e8db931a4410d", class: "grid" }, e("span", { key: "1e7f7cef5a61e4644b2ffd4853a764e3d5894fa9", class: "f-body-02" }, this.colors[4].pantoneC || "N/A"), e("span", { key: "30eb901e47311d9bce77ec1a05f29d43fb41dd70", class: "f-body-02" }, this.colors[4].pantoneU || "N/A")))));
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
export {
|
|
294
|
-
|
|
294
|
+
f as color_primary_palette,
|
|
295
295
|
r as color_secondary_palette,
|
|
296
296
|
i as color_support_palette,
|
|
297
297
|
y as gradient_primary_palette,
|
|
@@ -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-BK320cEL.js"),t=()=>e.h("div",{class:"static-content container"},e.h("h2",null,"Load the module"),e.h("p",null,"Integrating the EBRAINS UI Components to a project ",e.h("b",null,"with or without a JavaScript framework")," is straight forward. If you’re working on a simple HTML page, you can start using the components immediately by adding the tags below to the ",e.h("code",null,"head"),"."),e.h("eds-code-block",{code:`<script type='module'>
|
|
2
2
|
import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js';
|
|
3
3
|
// Define custom elements
|
|
4
4
|
defineCustomElements(window);
|
|
@@ -159,4 +159,4 @@ defineCustomElements();`,language:"javascript","copy-label":"Copy Code"}),e.h("e
|
|
|
159
159
|
]">
|
|
160
160
|
</eds-breadcrumb>
|
|
161
161
|
<eds-footer></eds-footer>
|
|
162
|
-
</div>`,language:"javascript","copy-label":"Copy Code"}))),i=class{constructor(n){e.registerInstance(this,n),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h(t,null);case 1:return e.h(s,null);case 2:return e.h(o,null);case 3:return e.h(a,null);case 4:return e.h(l,null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"
|
|
162
|
+
</div>`,language:"javascript","copy-label":"Copy Code"}))),i=class{constructor(n){e.registerInstance(this,n),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e.h(t,null);case 1:return e.h(s,null);case 2:return e.h(o,null);case 3:return e.h(a,null);case 4:return e.h(l,null);default:return e.h("p",null,"Content not available.")}}render(){return e.h("div",{key:"493e3acd6d92f206d931af6406c9e1f42404c91d",class:"container"},this.renderContent())}};exports.components_section=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, h as e } from "./index-
|
|
1
|
+
import { r as t, h as e } from "./index-DpUTWZFA.mjs";
|
|
2
2
|
const s = () => e(
|
|
3
3
|
"div",
|
|
4
4
|
{ class: "static-content container" },
|
|
@@ -352,7 +352,7 @@ defineCustomElements();`, language: "javascript", "copy-label": "Copy Code" }),
|
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
render() {
|
|
355
|
-
return e("div", { key: "
|
|
355
|
+
return e("div", { key: "493e3acd6d92f206d931af6406c9e1f42404c91d", class: "container" }, this.renderContent());
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
export {
|
package/{correct-use-of-colors.entry-DJtltvDn.mjs → correct-use-of-colors.entry-C5sWpTko.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-
|
|
1
|
+
import { r as c, h as e } from "./index-DpUTWZFA.mjs";
|
|
2
2
|
const s = [
|
|
3
3
|
{
|
|
4
4
|
background: "#9CE142"
|
|
@@ -51,7 +51,7 @@ const s = [
|
|
|
51
51
|
c(this, l);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return e("div", { key: "
|
|
54
|
+
return e("div", { key: "28d23c1c4938faeda8dcb1dee2781f2699fec1e4", class: "container" }, e("p", { key: "aa95599c281f69ddf8d701a3aea0023ad2896f7b", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "9dd65e4f8c1bb626245146437038ac8994590014", 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: "e7cb83cd12a9227e63680793da991f74801824ac", 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: "a5a562f406f498a56d1558085d8c9ced9aa03950", class: "flex" }, e("div", { key: "5b9d8055ef5a2bda94046296312ba33bf8e6c5f6", class: "w-full" }, e("ul", { key: "2cb3969aa88ba595611bccaba6f5727245be1e9a", 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: "a5aa66122430d9bb7c1e602c9f9caa3206539ebc", class: "w-full" }, e("ul", { key: "6fc4319d823fcd503e51c30f51ac4e641a3e26cb", 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: "c6300f7ce011a590b7d2cd669bc723b57db95cfb", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "435c9b84ed36852025dc6cc5145e4e7f16a27b85", 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: "bce35bdd3f967da492756c32a60e4d5a6d955ae5", 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: "9a125394479b45c3bf6e3b0ee84aeeaa810979df", class: "flex" }, e("div", { key: "85b337713bdb2a8df04802708483c451c47c3bfb", class: "w-full" }, e("ul", { key: "7ecaa983023ace254ce45821d25d7ad31c33a03a", 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: "ebd9dd35d96f26e710f4ba8d73bb137f380bc4f7", class: "w-full" }, e("ul", { key: "6a55067d2de6661a60ddc72d01ca689d3310fa9e", 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: "982fec24d95cdb1975b34f1fb212f088dd9778d4", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "064a8ce0228f618a81136fdf9db083ac0147c189", 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: "9a71a6928fc842f41a531d56c3d07b663c5b97a5", 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: "687304a89d420fd90e2af3998a4c9c9e8d65589b", class: "flex" }, e("div", { key: "3a85f4c1a31c7d53d5530de7dcaab462e5469d22", class: "w-full" }, e("ul", { key: "eed3d8bc0cfff01f076d49c8329ec15284cc186f", 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: "0107d348aef7cf518f85ab4b6da2279ff88cc164", class: "w-full" }, e("ul", { key: "6e0bea6067919913beeb22b9f21e1e4159aadc17", 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: "ed1fc0df515ab765a5fc0150e6de20be7e17f529", class: "f-body-01" }, "This guide demonstrates the correct usage of the", e("eds-link", { key: "6528243a7c1f3670bbc26a0dfb9082b664684ce0", 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: "41edce302c91862655dfc88c53b007c79de65dbd", 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: "ff5f2d3300515caeef697e53427f93743332330f", class: "flex" }, e("div", { key: "4dbedd35ca5c3e0c9cfcb4b64cb57b50f95dc5fb", class: "w-full" }, e("ul", { key: "0fb5f50e2d8864b444cbbbee040fb7202d63edf2", 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: "42ef75b3373aaf6440930a5acdbb06ce2f879b16", class: "w-full" }, e("ul", { key: "f0d9e29b7aa325a9df35e2cbb0efbcec838d8bd3", 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
55
|
}
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
@@ -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-BK320cEL.js"),c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],a=[{background:"#141414"},{background:"#383838"},{background:"#CCCCCC"},{background:"#E6E6E6"},{background:"#FFFFFF"}],s=[{background:"#3FA9F5"},{background:"#0644F4"}],d=[{background:"#C461FF"},{background:"#5D3DF9"}],t=[{background:"#FFA543"},{background:"#FF4D68"}],o=class{constructor(l){e.registerInstance(this,l)}render(){return e.h("div",{key:"28d23c1c4938faeda8dcb1dee2781f2699fec1e4",class:"container"},e.h("p",{key:"aa95599c281f69ddf8d701a3aea0023ad2896f7b",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"9dd65e4f8c1bb626245146437038ac8994590014",label:"primary",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"e7cb83cd12a9227e63680793da991f74801824ac",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"a5a562f406f498a56d1558085d8c9ced9aa03950",class:"flex"},e.h("div",{key:"5b9d8055ef5a2bda94046296312ba33bf8e6c5f6",class:"w-full"},e.h("ul",{key:"2cb3969aa88ba595611bccaba6f5727245be1e9a",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"a5aa66122430d9bb7c1e602c9f9caa3206539ebc",class:"w-full"},e.h("ul",{key:"6fc4319d823fcd503e51c30f51ac4e641a3e26cb",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))),e.h("p",{key:"c6300f7ce011a590b7d2cd669bc723b57db95cfb",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"435c9b84ed36852025dc6cc5145e4e7f16a27b85",label:"purple",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"bce35bdd3f967da492756c32a60e4d5a6d955ae5",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"9a125394479b45c3bf6e3b0ee84aeeaa810979df",class:"flex"},e.h("div",{key:"85b337713bdb2a8df04802708483c451c47c3bfb",class:"w-full"},e.h("ul",{key:"7ecaa983023ace254ce45821d25d7ad31c33a03a",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[225px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"ebd9dd35d96f26e710f4ba8d73bb137f380bc4f7",class:"w-full"},e.h("ul",{key:"6a55067d2de6661a60ddc72d01ca689d3310fa9e",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))),e.h("p",{key:"982fec24d95cdb1975b34f1fb212f088dd9778d4",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"064a8ce0228f618a81136fdf9db083ac0147c189",label:"blue",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"9a71a6928fc842f41a531d56c3d07b663c5b97a5",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"687304a89d420fd90e2af3998a4c9c9e8d65589b",class:"flex"},e.h("div",{key:"3a85f4c1a31c7d53d5530de7dcaab462e5469d22",class:"w-full"},e.h("ul",{key:"eed3d8bc0cfff01f076d49c8329ec15284cc186f",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[225px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"0107d348aef7cf518f85ab4b6da2279ff88cc164",class:"w-full"},e.h("ul",{key:"6e0bea6067919913beeb22b9f21e1e4159aadc17",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))),e.h("p",{key:"ed1fc0df515ab765a5fc0150e6de20be7e17f529",class:"f-body-01"},"This guide demonstrates the correct usage of the",e.h("eds-link",{key:"6528243a7c1f3670bbc26a0dfb9082b664684ce0",label:"redish",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#primary-palette","extra-class":"inline-block ml-4"}),"and",e.h("eds-link",{key:"41edce302c91862655dfc88c53b007c79de65dbd",label:"support",size:"small",intent:"underline",icon:"chevron-right",url:"../color-palette/#support-palette","extra-class":"inline-block ml-4"}),"color palettes."),e.h("div",{key:"ff5f2d3300515caeef697e53427f93743332330f",class:"flex"},e.h("div",{key:"4dbedd35ca5c3e0c9cfcb4b64cb57b50f95dc5fb",class:"w-full"},e.h("ul",{key:"0fb5f50e2d8864b444cbbbee040fb7202d63edf2",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},t.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[225px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}}))))),e.h("div",{key:"42ef75b3373aaf6440930a5acdbb06ce2f879b16",class:"w-full"},e.h("ul",{key:"f0d9e29b7aa325a9df35e2cbb0efbcec838d8bd3",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(l=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:l.background}})))))))}};exports.correct_use_of_colors=o;
|
|
@@ -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-BK320cEL.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:"dd41d9bbba79fd09d2ca5b0db7bd9427f2ef3f05",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-DpUTWZFA.mjs";
|
|
2
2
|
const r = class {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
l(this, t), this.tabIndex = void 0;
|
|
@@ -14,7 +14,7 @@ const r = class {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return e("div", { key: "
|
|
17
|
+
return e("div", { key: "dd41d9bbba79fd09d2ca5b0db7bd9427f2ef3f05", class: "container" }, this.renderContent());
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
@@ -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-BK320cEL.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:"abc5bf722ee15d7c9b2a1ca0b34644a0d628d578",class:"container"},this.renderContent())}};exports.docs_tokens=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as e } from "./index-
|
|
1
|
+
import { r as n, h as e } from "./index-DpUTWZFA.mjs";
|
|
2
2
|
const s = class {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
n(this, t), this.tabIndex = void 0;
|
|
@@ -22,7 +22,7 @@ const s = class {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return e("div", { key: "
|
|
25
|
+
return e("div", { key: "abc5bf722ee15d7c9b2a1ca0b34644a0d628d578", class: "container" }, this.renderContent());
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
@@ -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-BK320cEL.js"),o=require("./analytics-d99780e3-DgvAss6l.js"),r="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-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}",a=r,n=class{constructor(i){e.registerInstance(this,i),this.accordion=e.createEvent(this,"accordion",7),this.handleClick=()=>{var t;this.isExpanded=!this.isExpanded,this.accordion.emit(this.isExpanded),this.setPanelHeight(),o.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((t=this.heading)===null||t===void 0?void 0:t.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.heading=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:"addeb5f79d497efcd3eab9f849890adf48a5e275",ref:i=>this.wrapperRef=i,class:`flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2
2
|
${this.switchBg&&this.isExpanded?"bg-inverse":"bg-default"}
|
|
3
3
|
${this.switchBg?"hover:bg-inverse":""}
|
|
4
4
|
${this.description?"min-h-56":""}`},e.h("h3",{key:"c522c074c205e471f9e95991a03f703bec8d3219",ref:i=>this.headerRef=i,class:"mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40"},this.heading),e.h("div",{key:"5ee474856bf9a3cdc732c27c6fccb68c24e0dc3b",class:"ml-auto"},e.h("eds-button",{key:"a274b1d82f30607f61103433aa6ceb745464f530",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:"69a638f2dc3c5ebff95fc4049c47abd4884b13ad",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:"820f39174c6e6d42e7c4407a2a4175fb077f86ac",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:"3d9ea33856d350434d26c07ddc9d230e28d8c344",ref:i=>this.childContentRef=i,class:"accordion-content effect-color pt-4","aria-hidden":!this.isExpanded},e.h("span",{key:"1d0761d7894d5ba4d7c7f5051031857555ce0b0c",class:`${!this.isExpanded&&this.clampText?"line-clamp-2":""}`},e.h("slot",{key:"ed31f44736a8ce85a7df4216b2f90c2ca7d9b873"}))))))}get el(){return e.getElement(this)}};n.style=a;exports.eds_accordion=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, c as o, h as e, g as r } from "./index-
|
|
1
|
+
import { r as n, c as o, h as e, g as r } from "./index-DpUTWZFA.mjs";
|
|
2
2
|
import { s as a } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
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-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
4
|
constructor(i) {
|
|
@@ -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-BK320cEL.js"),i=require("./index-39c58238-SQ-JC-LH.js"),a=`*,
|
|
2
2
|
::before,
|
|
3
3
|
::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BK320cEL.js"),s=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})}),n=new Promise(a=>{document.addEventListener("authStatusChanged",t=>{var d;this.isAuthenticated=(d=t.detail)===null||d===void 0?void 0:d.authenticated,a(t.detail)},{once:!0})});this.combinedInitPromise=Promise.all([i,n])}render(){return e.h("div",{key:"2cf0a4aa07959e806ac503bc7db3fd0bc1c49b6e"},e.h("eds-splash-screen",{key:"9617591de350dad2db54ca96b7afd61fab08488c",inverse:!0,initPromise:this.combinedInitPromise}),e.h("eds-login",{key:"8265386d716cc3bd9dde828d7fcfb9e5952d9df2","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),e.h("main",{key:"cae96307e0f7188a3422d64b1f8bfed2ae94d628"},this.isAuthenticated?e.h("h1",null,"Welcome, authenticated user!"):e.h("h1",null,"Please log in.")))}};exports.eds_app_root=s;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { r as n, h as e } from "./index-DpUTWZFA.mjs";
|
|
2
|
+
const c = class {
|
|
3
|
+
constructor(i) {
|
|
4
|
+
n(this, i), this.isAuthenticated = !1;
|
|
5
|
+
}
|
|
6
|
+
componentWillLoad() {
|
|
7
|
+
const i = new Promise((a) => {
|
|
8
|
+
document.addEventListener("initKeycloak", (t) => {
|
|
9
|
+
a(t.detail);
|
|
10
|
+
}, { once: !0 });
|
|
11
|
+
}), s = new Promise((a) => {
|
|
12
|
+
document.addEventListener("authStatusChanged", (t) => {
|
|
13
|
+
var d;
|
|
14
|
+
this.isAuthenticated = (d = t.detail) === null || d === void 0 ? void 0 : d.authenticated, a(t.detail);
|
|
15
|
+
}, { once: !0 });
|
|
16
|
+
});
|
|
17
|
+
this.combinedInitPromise = Promise.all([i, s]);
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return e("div", { key: "2cf0a4aa07959e806ac503bc7db3fd0bc1c49b6e" }, e("eds-splash-screen", { key: "9617591de350dad2db54ca96b7afd61fab08488c", inverse: !0, initPromise: this.combinedInitPromise }), e("eds-login", { key: "8265386d716cc3bd9dde828d7fcfb9e5952d9df2", "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), e("main", { key: "cae96307e0f7188a3422d64b1f8bfed2ae94d628" }, this.isAuthenticated ? e("h1", null, "Welcome, authenticated user!") : e("h1", null, "Please log in.")));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
c as eds_app_root
|
|
25
|
+
};
|