@ebrains/components 1.1.0 → 1.3.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/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-avatar_28.cjs.entry.js +40 -41
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +48 -0
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +28 -11
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +24 -0
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +12 -4
- package/dist/collection/components/eds-input-field/eds-input-field.js +121 -109
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
- package/dist/collection/shared-ui/eds-form/eds-form.js +3 -3
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +4 -5
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +3 -3
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-input-field2.js +18 -27
- package/dist/components/eds-input-footer2.js +7 -2
- package/dist/components/eds-input-label2.js +7 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +1 -1
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/{p-6dc6f729.entry.js → p-0c465a1e.entry.js} +1 -1
- package/dist/components/{p-590fb0e7.entry.js → p-1c3f1440.entry.js} +1 -1
- package/dist/components/p-21cb7ef6.entry.js +1 -0
- package/dist/components/{p-10db551c.entry.js → p-3024b7cf.entry.js} +1 -1
- package/dist/components/{p-b50fc0d7.entry.js → p-33a5fa80.entry.js} +1 -1
- package/dist/components/p-41316de1.entry.js +1 -0
- package/dist/components/p-4185659c.entry.js +1 -0
- package/dist/components/{p-f7716080.entry.js → p-4188643f.entry.js} +1 -1
- package/dist/components/{p-46a6ab04.entry.js → p-463abb12.entry.js} +1 -1
- package/dist/components/p-4ffdf8ac.entry.js +1 -0
- package/dist/components/{p-cde3d7a4.entry.js → p-5873fcd0.entry.js} +1 -1
- package/dist/components/p-598f203e.entry.js +1 -0
- package/dist/components/{p-a4f552b2.entry.js → p-5ba5708a.entry.js} +1 -1
- package/dist/components/{p-1661f33c.entry.js → p-5f64fbb0.entry.js} +1 -1
- package/dist/components/{p-24dab785.entry.js → p-71f0c1ec.entry.js} +1 -1
- package/dist/components/p-77527268.entry.js +1 -0
- package/dist/components/{p-7f31622d.entry.js → p-776b21cf.entry.js} +1 -1
- package/dist/components/{p-2c571550.entry.js → p-835b48f4.entry.js} +1 -1
- package/dist/components/{p-d05a09df.entry.js → p-8ba5feea.entry.js} +1 -1
- package/dist/components/{p-17d39d66.entry.js → p-940c1a08.entry.js} +1 -1
- package/dist/components/{p-36d6134f.entry.js → p-94de9aaf.entry.js} +1 -1
- package/dist/components/{p-eac593ee.entry.js → p-9f35fe5f.entry.js} +1 -1
- package/dist/components/p-a6cdf11b.entry.js +1 -0
- package/dist/components/{p-df772a35.entry.js → p-b7a29cf7.entry.js} +1 -1
- package/dist/components/{p-fc4edb18.entry.js → p-bf1552ed.entry.js} +1 -1
- package/dist/components/{p-f2c23162.entry.js → p-c0900e8c.entry.js} +1 -1
- package/dist/components/{p-d0b1e963.entry.js → p-c3c61a32.entry.js} +1 -1
- package/dist/components/p-cd0fb6c7.entry.js +1 -0
- package/dist/components/{p-6907a47c.entry.js → p-fd4aed5a.entry.js} +1 -1
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-avatar_28.entry.js +40 -41
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-tooltip.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +92 -110
- package/dist/hydrate/index.mjs +92 -110
- package/dist/types/components/eds-input-elements/eds-input-footer/eds-input-footer.d.ts +23 -3
- package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +0 -3
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +47 -72
- package/dist/types/components.d.ts +104 -80
- package/package.json +1 -1
- package/dist/components/p-019555e2.entry.js +0 -1
- package/dist/components/p-0ed92872.entry.js +0 -1
- package/dist/components/p-223ba66e.entry.js +0 -1
- package/dist/components/p-2810d568.entry.js +0 -1
- package/dist/components/p-682f7376.entry.js +0 -1
- package/dist/components/p-b4abff90.entry.js +0 -1
- package/dist/components/p-d25364db.entry.js +0 -1
- package/dist/components/p-e6a0b8c2.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as n}from"./p-28ae3f3a.js";import{v as
|
|
1
|
+
import{r as i,h as n}from"./p-28ae3f3a.js";import{v as e}from"./p-9c5a453b.js";const l=class{constructor(n){i(this,n)}render(){return n("div",{key:"3b8bd597cdf444eee5bf07fb627c4538e5d679cc",class:"container"},n("ul",{key:"cba7e1a29b54f81a18c168b4b00568d40f2d4371",class:"not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"},n("li",{key:"ecc9fbea2532bed8b33987dc50ab32bf63150834",class:"grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},n("div",{key:"b75492b9024929b8f210ceb3e3300c4fb1791994",class:"logo-container mx-auto w-[300px]",innerHTML:e})),n("li",{key:"7de22236a86b8e6f10e5bd32922fab53c1ba12a8",class:"grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},n("div",{key:"e8c9f50e17751a17674d20c418d544f90a7ba35b",class:"text-center mt-16"},n("p",{key:"da441199660dc0601ccea107fbc8722f9b5a381f",class:"f-body-01"},"To ensure legibility, follow these minimum size guidelines:"),n("eds-table",{key:"01501a72a8bec05c19de3fdc3d0d101441db25b5",data:'[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]',config:'{\n "Media": { "format": "bold" }\n }'}))),n("li",{key:"ded8166e2ff4c9d0836e78b9bb48e291f9008a6c",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"})))}};l.style='ol,ul,menu{list-style:none;margin:0;padding:0}.text-center{text-align:center}.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}.grid-layout{--grid-columns:6;display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-6[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-6[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1)::before{inset-inline-start:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+6)::before{inset-inline-end:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)~*::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+6)::after{border-inline-end-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+6)::after{top:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)::after{bottom:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)~li::after{bottom:0}.grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.gap-y-8{row-gap:0.5rem}.flex{display:flex}.flex-col{flex-direction:column}.mx-auto{margin-left:auto;margin-right:auto}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}@media (min-width: 750px){.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:gap-y-12{row-gap:0.75rem}}@media (min-width: 900px){.lg\\:gap-y-16{row-gap:1rem}.lg\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1024px){.xl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1280px){.xxl\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.xxl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}.w-\\[150px\\]{width:150px}.w-\\[300px\\]{width:300px}';export{l as logo_space}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-28ae3f3a.js";const c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],s=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],l=class{constructor(a){e(this,a)}render(){return a("div",{key:"ed003f432493176392848de9448512f655ebfa9f",class:"container"},a("div",{key:"231dcfa8b0be673efb56dce00f499839d6877301",class:"mb-8"},a("eds-alert",{key:"5bbd8f9e057d9f9d48813b962c952aeba6e4e1aa",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"})),a("div",{key:"fb6ef214a96b60d1277c1326027f49b88fe2cab9",class:"flex"},a("div",{key:"46a8671c782e8b7bd51947cce8d0c42ab7ca46af",class:"w-full"},a("ul",{key:"dd84eaf26634432c50f41fc1dc0479ba52a9a6b1",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),a("div",{key:"3db312eb1ac27957f44497a729d6b8e5fa631d2f",class:"w-full"},a("ul",{key:"05ac3bf1478c21a5291bc8c492c59cb6240be4f9",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{l as incorrect_use_of_colors}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-28ae3f3a.js";import{h as l}from"./p-2692f93d.js";const r=class{constructor(a){e(this,a)}render(){return a("div",{key:"
|
|
1
|
+
import{r as e,h as a}from"./p-28ae3f3a.js";import{h as l}from"./p-2692f93d.js";const r=class{constructor(a){e(this,a)}render(){return a("div",{key:"ca22a0f8284bd418c0307e9b18443cf93dbd5ef7",class:"container"},a("ul",{key:"dae3e5fdf852e1684effe028fcb12f3a4a765c92",class:"not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"f938ed546e420f7f3c9629b3029623d8b0b3cb33",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"eecaba67c1506aa8192bdeb07dfe92417c200520",class:"mx-auto no-other-bg-color logo",innerHTML:l}),a("p",{key:"1057f9c302bc7e4b9ccdc5db8bdc5c92066b9efd",class:"f-ui-02 text-center"},"Do not use with backgrounds that make legibility difficult")),a("li",{key:"2b4ea9b064c01b08daa1a236f9f427aab55155df",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"9d42d01d4c2cacf71ab151bcd136a9b427ae2f61",class:"mx-auto no-other-color logo non-brand-color",innerHTML:l}),a("p",{key:"abc8b7da35ff02d255c7101b963216a6176876be",class:"f-ui-02 text-center"},"Do not apply other colors")),a("li",{key:"180f04ec0804841dff6aa1aadb4abcf39cd9795b",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"b28e00dd5e87f8dfa0115c2a617755d0ad3615bf",class:"mx-auto distorted logo",innerHTML:l}),a("p",{key:"93724268eeedcc799ec3c90087ce2e7ac61dc07e",class:"f-ui-02 text-center"},"Do not deform the logo")),a("li",{key:"5063815d8df9ed7eb13d83734f23978916ade66a",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"8f8624744ed71aebc2d42815f8012ed5c18c1cb7",class:"mx-auto effects logo",innerHTML:l}),a("p",{key:"14040538adcea3c5650ddb3e94a3a5186d009a2a",class:"f-ui-02 text-center"},"Do not apply effects")),a("li",{key:"a80a2e6f66d27bd28a52d9ea45aa3352519f8973",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"ab16f170fde233d8e05c8b93babc83f6a54fe4df",class:"mx-auto rotated logo",innerHTML:l}),a("p",{key:"12eb2d4f8c48b51397295e84fd13f9cdb7fe1291",class:"f-ui-02 text-center"},"Do not rotate the logo")),a("li",{key:"e93cc98bcb8594ea9cc715c3593bbbb05ef0a584",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"e06d8c08690e542a9906526f31083cd19d36377c",class:"mx-auto outlined logo",innerHTML:l}),a("p",{key:"28ffd7eb8d963d8fbaca70bdacb408d1ad2b5628",class:"f-ui-02 text-center"},"Do not apply outlines")),a("li",{key:"762de4272afb3425d05854efcebdbac901e3434e",class:"grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"},a("div",{key:"b886b389d207ffdb8b135fdc0fd26e5e72f40a42",class:"mx-auto"},a("div",{key:"2b03b5762338e7af827635e16f5a8da8a0322174",class:"bg-accent p-16"},a("div",{key:"c6db8ce985ce69f68973d59acabd846ec3b296ed",class:"text-inverse",innerHTML:l})),a("p",{key:"3c2424662345ce48f2db344a5efd0aa2dc5ef002",class:"f-ui-02 text-center"},"Do not use the green background for the logo version of the logo with backgrounds with the same tones")))))}};r.style='ol,ul,menu{list-style:none;margin:0;padding:0}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-center{text-align:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.logo{width:100%;height:auto}.bg-dark{background-color:#333}.bg-light{background-color:#f3f3f3}.bg-white{background-color:white}.non-brand-color{fill:purple;}.distorted{transform:scaleX(0.5)}.effects{filter:drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5))}.rotated{transform:rotate(15deg)}.no-other-bg-color{background-color:var(--purple-200)}.no-other-color{color:var(--red-700)}.outlined{stroke:red;stroke-width:2px;fill:none;}.custom-font{font-family:\'Comic Sans MS\', cursive;font-size:20px;color:#333;}.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}.grid-layout{--grid-columns:6;display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-6[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-6[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1)::before{inset-inline-start:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+6)::before{inset-inline-end:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-x"]>*:nth-child(6n+1):nth-last-child(-n+6)~*::before{border-bottom-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+6)::after{border-inline-end-width:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+6)::after{top:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)::after{bottom:0}.grid-cols-6[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(6n+1):nth-last-child(-n+6)~li::after{bottom:0}.grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.gap-y-8{row-gap:0.5rem}.flex{display:flex}.flex-col{flex-direction:column}.mx-auto{margin-left:auto;margin-right:auto}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}@media (min-width: 750px){.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:gap-y-12{row-gap:0.75rem}}@media (min-width: 900px){.lg\\:gap-y-16{row-gap:1rem}.lg\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1024px){.xl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}@media (min-width: 1280px){.xxl\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.xxl\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}}';export{r as logo_wrong_usage}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-28ae3f3a.js";const s=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("token-list",{show:"background"});case 1:return e("token-list",{show:"text"});case 2:return e("token-list",{show:"border"});case 3:return e("token-radii",null);case 4:return e("token-list",{show:"outline"});case 5:return e("token-shadows",null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"
|
|
1
|
+
import{r as t,h as e}from"./p-28ae3f3a.js";const s=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("token-list",{show:"background"});case 1:return e("token-list",{show:"text"});case 2:return e("token-list",{show:"border"});case 3:return e("token-radii",null);case 4:return e("token-list",{show:"outline"});case 5:return e("token-shadows",null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"abc5bf722ee15d7c9b2a1ca0b34644a0d628d578",class:"container"},this.renderContent())}};export{s as docs_tokens}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as n,g as t}from"./p-28ae3f3a.js";import{e as r}from"./p-0e6d43c5.js";import{h as e}from"./p-2692f93d.js";import{h as s,a as i,b as l,c as p,v as a,d as h,e as d,f as c,g as m}from"./p-83ff4a95.js";import{v as f}from"./p-9c5a453b.js";import{g as C}from"./p-50e27321.js";import{c as w}from"./p-1ded61bd.js";import{c as g}from"./p-4587d0ef.js";import{c as v}from"./p-5d046674.js";import{c as u}from"./p-ece618b3.js";import{a as b}from"./p-32e6c4df.js";import{a as L}from"./p-c8e7c854.js";import{t as j}from"./p-373119b3.js";import{l as k}from"./p-54b8f143.js";import{f as M}from"./p-4687b64c.js";import{y as x}from"./p-ecbb679f.js";import{m as H}from"./p-5ab1d64a.js";import{b as Z}from"./p-81899237.js";import{s as B}from"./p-2066b033.js";import{l as V}from"./p-2117611b.js";import{s as y}from"./p-b822abb7.js";import{c as W}from"./p-8983de37.js";import{m as D}from"./p-aefcb641.js";import{m as _}from"./p-29041952.js";import{u as z}from"./p-46d0716d.js";import{c as N}from"./p-0be28996.js";import{u as O}from"./p-d962849c.js";import{t as S}from"./p-c776b6f8.js";import{t as J}from"./p-ba720bf3.js";import{s as R}from"./p-e2d5a487.js";import{b as U}from"./p-05754401.js";import{m as E}from"./p-86bb73dc.js";import{p as q}from"./p-b73410de.js";import{p as A}from"./p-cdf19579.js";import{p as F}from"./p-c1e4ef92.js";import{p as G}from"./p-694fc085.js";import{p as I}from"./p-024c7937.js";import{t as K}from"./p-7198c024.js";import{u as P}from"./p-1b2913c8.js";const Q=Object.freeze({__proto__:null,twitter:j,linkedin:k,facebook:M,youtube:x,mastodon:H,bluesky:Z,euSvg:r,arrowRight:L,arrowDiagonal:b,bookmark:U,chevronUp:w,chevronDown:g,chevronRight:v,chevronLeft:u,check:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <rect width="20" height="20" rx="4" fill="currentColor" />\n <path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />\n </svg>',clear:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"\n fill="currentColor"\n />\n </svg>',close:W,completed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',copy:N,documentation:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <path\n d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n </svg>',download:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M5.91937 8H9V3H11V8H14.0806L10 13.1008L5.91937 8Z"\n fill="currentColor"\n />\n <path\n d="M5 15V12H3V15C3 16.1046 3.89543 17 5 17H15C16.1046 17 17 16.1046 17 15V12H15V15H5Z"\n fill="currentColor"\n />\n </svg>',error:'<svg\nwidth="20"\nheight="20"\nviewBox="0 0 20 20"\nfill="none"\nxmlns="http://www.w3.org/2000/svg"\n>\n<path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"\n stroke="currentColor"\n stroke-width="2"\n/>\n<path\n d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"\n stroke="currentColor"\n stroke-width="1.5"\n/>\n</svg>',gitlabColor:' <svg width="20" height="20" viewBox="0 0 36 36">\n <path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>\n <path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>\n <path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>\n <path fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>\n <path fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>\n <path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>\n <path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>\n </svg>',gitlabBlack:C,loader:V,hLogoColor:e,hLogoBlack:s,hLogoColorWhite:i,hLogoWhite:l,hLogoWhiteNoBg:p,vLogoColor:a,vLogoBlack:h,vLogoColorWhite:d,vLogoWhite:c,vLogoWhiteNoBg:m,vLogoMargins:f,menu:D,minus:E,more:_,failed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',filter:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n </svg>',group:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"\n fill="currentColor"\n />\n </svg>',plus:A,paper:q,privat:G,pub:I,portal:F,user:z,upDonw:P,search:B,success:y,tutorial:K,warning:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />\n <circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />\n </svg>',unknown:O,thumbsUp:S,thumbsDown:J,star:R,external:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5858 3H17V9.41421L14.5 6.91421L8.70712 12.7071L7.29291 11.2929L13.0858 5.5L10.5858 3Z" fill="currentColor"></path><path d="M8 4H5C3.89543 4 3 4.89543 3 6V15C3 16.1046 3.89543 17 5 17H14C15.1046 17 16 16.1046 16 15V12H14V15H5V6H8V4Z" fill="currentColor"></path></svg>'}),T=class{constructor(n){o(this,n)}getSvgData(){return Object.entries(Q).filter((([o])=>!o.toLowerCase().includes("logo")&&!o.toLowerCase().includes("eu"))).map((([o,n])=>({name:o,icon:n})))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const o=this.getSvgData();return n("div",{key:"48b9bd49dc2521db7fc1676544530f6bd9cd6287",class:"full-width"},n("eds-table",{key:"c3b5bdecde28ad6ec8a5172d883d49a8b0436f18","table-data":JSON.stringify(o),config:JSON.stringify({icon:{format:"svg"},name:{format:"bold"}}),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0}))}get hostEl(){return t(this)}};T.style=":host,.full-width{display:block;width:100%}";export{T as svg_repository}
|
|
1
|
+
import{r as o,h as n,g as t}from"./p-28ae3f3a.js";import{e as r}from"./p-0e6d43c5.js";import{h as e}from"./p-2692f93d.js";import{h as s,a as i,b as l,c as p,v as a,d as h,e as f,f as d,g as c}from"./p-83ff4a95.js";import{v as m}from"./p-9c5a453b.js";import{g as C}from"./p-50e27321.js";import{c as w}from"./p-1ded61bd.js";import{c as g}from"./p-4587d0ef.js";import{c as v}from"./p-5d046674.js";import{c as u}from"./p-ece618b3.js";import{a as b}from"./p-32e6c4df.js";import{a as L}from"./p-c8e7c854.js";import{t as j}from"./p-373119b3.js";import{l as k}from"./p-54b8f143.js";import{f as M}from"./p-4687b64c.js";import{y as x}from"./p-ecbb679f.js";import{m as H}from"./p-5ab1d64a.js";import{b as Z}from"./p-81899237.js";import{s as B}from"./p-2066b033.js";import{l as V}from"./p-2117611b.js";import{s as y}from"./p-b822abb7.js";import{c as W}from"./p-8983de37.js";import{m as D}from"./p-aefcb641.js";import{m as _}from"./p-29041952.js";import{u as z}from"./p-46d0716d.js";import{c as N}from"./p-0be28996.js";import{u as O}from"./p-d962849c.js";import{t as S}from"./p-c776b6f8.js";import{t as J}from"./p-ba720bf3.js";import{s as R}from"./p-e2d5a487.js";import{b as U}from"./p-05754401.js";import{m as E}from"./p-86bb73dc.js";import{p as q}from"./p-b73410de.js";import{p as A}from"./p-cdf19579.js";import{p as F}from"./p-c1e4ef92.js";import{p as G}from"./p-694fc085.js";import{p as I}from"./p-024c7937.js";import{t as K}from"./p-7198c024.js";import{u as P}from"./p-1b2913c8.js";const Q=Object.freeze({__proto__:null,twitter:j,linkedin:k,facebook:M,youtube:x,mastodon:H,bluesky:Z,euSvg:r,arrowRight:L,arrowDiagonal:b,bookmark:U,chevronUp:w,chevronDown:g,chevronRight:v,chevronLeft:u,check:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <rect width="20" height="20" rx="4" fill="currentColor" />\n <path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />\n </svg>',clear:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"\n fill="currentColor"\n />\n </svg>',close:W,completed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',copy:N,documentation:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <path\n d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n </svg>',download:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M5.91937 8H9V3H11V8H14.0806L10 13.1008L5.91937 8Z"\n fill="currentColor"\n />\n <path\n d="M5 15V12H3V15C3 16.1046 3.89543 17 5 17H15C16.1046 17 17 16.1046 17 15V12H15V15H5Z"\n fill="currentColor"\n />\n </svg>',error:'<svg\nwidth="20"\nheight="20"\nviewBox="0 0 20 20"\nfill="none"\nxmlns="http://www.w3.org/2000/svg"\n>\n<path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"\n stroke="currentColor"\n stroke-width="2"\n/>\n<path\n d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"\n stroke="currentColor"\n stroke-width="1.5"\n/>\n</svg>',gitlabColor:' <svg width="20" height="20" viewBox="0 0 36 36">\n <path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>\n <path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>\n <path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>\n <path fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>\n <path fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>\n <path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>\n <path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>\n </svg>',gitlabBlack:C,loader:V,hLogoColor:e,hLogoBlack:s,hLogoColorWhite:i,hLogoWhite:l,hLogoWhiteNoBg:p,vLogoColor:a,vLogoBlack:h,vLogoColorWhite:f,vLogoWhite:d,vLogoWhiteNoBg:c,vLogoMargins:m,menu:D,minus:E,more:_,failed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',filter:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n </svg>',group:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"\n fill="currentColor"\n />\n </svg>',plus:A,paper:q,privat:G,pub:I,portal:F,user:z,upDonw:P,search:B,success:y,tutorial:K,warning:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />\n <circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />\n </svg>',unknown:O,thumbsUp:S,thumbsDown:J,star:R,external:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5858 3H17V9.41421L14.5 6.91421L8.70712 12.7071L7.29291 11.2929L13.0858 5.5L10.5858 3Z" fill="currentColor"></path><path d="M8 4H5C3.89543 4 3 4.89543 3 6V15C3 16.1046 3.89543 17 5 17H14C15.1046 17 16 16.1046 16 15V12H14V15H5V6H8V4Z" fill="currentColor"></path></svg>'}),T=class{constructor(n){o(this,n)}getSvgData(){return Object.entries(Q).filter((([o])=>!o.toLowerCase().includes("logo")&&!o.toLowerCase().includes("eu"))).map((([o,n])=>({name:o,icon:n})))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const o=this.getSvgData();return n("div",{key:"c8c6a714522ff3e122b58c4bb931af7f95d281fa",class:"full-width"},n("eds-table",{key:"f3251327f43c5b18f7677738f37b60ff0e604c3f","table-data":JSON.stringify(o),config:JSON.stringify({icon:{format:"svg"},name:{format:"bold"}}),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0}))}get hostEl(){return t(this)}};T.style=":host,.full-width{display:block;width:100%}";export{T as svg_repository}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as c}from"./p-28ae3f3a.js";const a=class{constructor(c){e(this,c)}render(){return c("div",{key:"144e643ff3f26d09b932b3bfa2086164134728c0",class:"w-full"},c("ul",{key:"fabddc807bcd5cefbfced6391117e9eb065ffff0",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c("li",{key:"cc0fba19927a1c3ad33008dc1087ee75e0c9fe2d",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"328054d7cfe6a0678e9e592b91dba6a8524c2039",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"e50e3533e36feb7021cac8ac10cc9a05e7f24c0a",class:"spacing-sample m-16 bg-strong"},c("span",{key:"87165037495881426a3c9848953e049ec7e96b7a",class:"f-body-01 text-inverse"},"Margin: 1rem / m-16")))),c("li",{key:"a6a98204655e53b6ef9ce9f2fd90b561c79c185d",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"385ae898ce1f1f96cbb236ded619a05d8326c304",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"4e6c11ae90e22efa73fb6c9481ee2c1511365394",class:"spacing-sample ml-64 bg-strong"},c("span",{key:"a13a1886b5019ca48a19d24ba03b3caa1c51bc3f",class:"f-body-01 text-inverse"},"Margin Left: 4rem / ml-64")))),c("li",{key:"7b2f325ced5281668e6ece98d56caf864b34c7e8",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"3e1a69b9983bc993686426ec84dd70b4803538a6",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"66804ce21771e53210bc385ac8cefce4c554d188",class:"spacing-sample mt-32 bg-strong"},c("span",{key:"91cee3a9cf00777f1d2b4cde4ce484fcddef52f5",class:"f-body-01 text-inverse"},"Margin Top: 2rem / mt-32")))),c("li",{key:"9d9074db464e7ecc36977c69b0fdd053e8025dec",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"e6a2d7d1ded9c92ca41d211dca3dcca9f03ad707",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"c87e88d711ec5298525f1d901958a035837b3db0",class:"spacing-sample p-32 bg-strong"},c("span",{key:"6276cb3c19a8fd1262c5002e682099f13d38b512",class:"f-body-01 text-inverse"},"Padding: 2rem / p-32")))),c("li",{key:"c8614add23a4802ccbb3086c74ac2871ad0a0340",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"68b73e788596e32a696e012d08ec11cf479a5d45",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"b057f25cdeda7c6cc3f0ce21e199d84d90bb0bfa",class:"spacing-sample pt-32 bg-strong"},c("span",{key:"a72e385bdaed3c6c8a06fb7951f6b326eb8f2e4f",class:"f-body-01 text-inverse"},"Padding Top: 2rem / pt-32")))),c("li",{key:"11be77901177c2372b29076072dd7544f7371aa4",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},c("div",{key:"5606d88389c6aaa16a9941fefe2bc34e881b22a3",class:"container p-8 item-center border-2 border-soft"},c("div",{key:"1341d44c62567c8b5078046644cda8ddcec59809",class:"spacing-sample pl-32 bg-strong"},c("span",{key:"b9208571277fced609ea55a113a30dc7a424c2a8",class:"f-body-01 text-inverse"},"Padding Left: 2rem / pl-32"))))))}};export{a as token_spacing}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,g as r}from"./p-28ae3f3a.js";const i=class{constructor(t){e(this,t),this.frameLabel=void 0,this.frameSrc=void 0,this.urlLabel="Open",this.errorMessage="Could not load the requested content. Please check the URL or try again later.",this.url=void 0,this.intent="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});e.dispatchEvent(t)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-auto"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch(e){this.iframeError=!0}}render(){return t("div",{key:"
|
|
1
|
+
import{r as e,h as t,g as r}from"./p-28ae3f3a.js";const i=class{constructor(t){e(this,t),this.frameLabel=void 0,this.frameSrc=void 0,this.urlLabel="Open",this.errorMessage="Could not load the requested content. Please check the URL or try again later.",this.url=void 0,this.intent="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});e.dispatchEvent(t)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-auto"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch(e){this.iframeError=!0}}render(){return t("div",{key:"acfa57c701b5c683b3ff48ac2ff6a7c782977cd4",class:this.articleClasses()},t("div",{key:"d62b6f7f67e41a6c8f0948c9d94e991d83dbe273",class:"effect-height flex items-center justify-between py-8 px-12"},t("span",{key:"40618b0353599888578e08a5422da754f97455d0",class:"f-ui-02"},this.frameLabel),!this.iframeError&&this.url&&this.urlLabel?t("eds-link",{label:this.urlLabel,url:this.url,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"}):null),t("div",{key:"96656482b2732aa766d1bcb45f28189991adb493",class:"border-softer"},this.iframeError?t("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):t("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return r(this)}};i.style=".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1)}.border-2{border:1px solid rgba(0, 0, 0, .1)}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";export{i as eds_frame}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,g as a}from"./p-28ae3f3a.js";import{p as r}from"./p-69c5074b.js";const s=class{constructor(t){e(this,t),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){const t=r(e);this.parsedEvents=Array.isArray(t)?t.map((e=>Object.assign(Object.assign({},e),{completed:"true"===e.completed||!0===e.completed}))):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&"function"==typeof this.modalRef.open&&this.modalRef.open()}render(){return t("div",{key:"
|
|
1
|
+
import{r as e,h as t,g as a}from"./p-28ae3f3a.js";import{p as r}from"./p-69c5074b.js";const s=class{constructor(t){e(this,t),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){const t=r(e);this.parsedEvents=Array.isArray(t)?t.map((e=>Object.assign(Object.assign({},e),{completed:"true"===e.completed||!0===e.completed}))):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&"function"==typeof this.modalRef.open&&this.modalRef.open()}render(){return t("div",{key:"cac0d2731a21edeef728166f1e3e4cedd2a9d336",class:"max-w-sidebar mx-auto px-4 py-8"},t("div",{key:"ecfe58e3e5f54fbfcdfe898b0349af4838e59d4e",class:"relative"},t("div",{key:"b6e0fe316d79d80db8cd7d855c10b9f1db045f20",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),t("div",{key:"95b8ff805c7b6f2f2a4635cf67d0ec7dfa127871",class:"space-y-16"},this.parsedEvents.map(((e,a)=>t("div",{class:"relative flex"},t("div",{class:"w-1/2 "+(a%2==0?"pr-4":"")},a%2==0&&t("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),t("div",{class:"flex items-center justify-center relative"},t("div",e.completed?{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}:{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),t("div",{class:"w-1/2 "+(a%2!=0?"pl-4":"")},a%2!=0&&t("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)}))))))))}get el(){return a(this)}static get watchers(){return{events:["parseEvents"]}}};s.style=".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-right:auto}.px-4{padding-left:0.25rem;padding-right:0.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.relative{position:relative}.absolute{position:absolute}.flex{display:flex}.w-4{width:0.25rem}.pr-4{padding-right:0.25rem}.pl-4{padding-left:0.25rem}.w-1\\/2{width:50%}.left-1\\/2{left:50%}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bg-strong{background-color:var(--grey-700)}.h-full{height:100%}.z-0{z-index:0}.space-y-16>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.items-center{align-items:center}.justify-center{justify-content:center}.w-32{width:2rem}.h-32{height:2rem}.bg-accent{background-color:var(--green-500)}.rounded-full{border-radius:9999px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{s as eds_timeline}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as e,c as t,h as r,g as a}from"./p-28ae3f3a.js";const i=class{constructor(r){e(this,r),this.rating=t(this,"rating",7),this.ratingType="star",this.ratingCount=5,this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});e.dispatchEvent(t)}handleClick(e){this.selectedRating=e,this.rating.emit(e)}render(){return r("div",{key:"ece1af90e2dea3f69dfef822d7f4f55f76866cbd",role:"radiogroup",class:"stars flex space-x-1 my-8"},Array.from({length:this.ratingCount},((e,t)=>{const a=t+1,i=a<=this.selectedRating;return r("eds-button",{icon:this.ratingType,role:"radio","aria-checked":i?"true":"false","aria-label":this.ratingType,onClick:()=>this.handleClick(a),tabIndex:0===this.selectedRating&&0===t||i?0:-1,intent:i?"primary":"ghost",size:"large","extra-class":"p-2"})})))}get el(){return a(this)}};i.style=":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}";export{i as eds_rating}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-28ae3f3a.js";const r=class{constructor(t){e(this,t),this.value=0,this.rounded=!0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=Math.min(100,Math.max(0,this.value)),r=["outer","w-full","h-24","bg-default","border","border-softer","overflow-hidden",this.rounded?"rounded-lg":"","relative"].filter(Boolean).join(" "),a=["inner","h-full","transition-all","duration-300","bg-accent",e>0&&this.rounded?"rounded-lg":"","z-0"].filter(Boolean).join(" ");return t("div",{key:"
|
|
1
|
+
import{r as e,h as t}from"./p-28ae3f3a.js";const r=class{constructor(t){e(this,t),this.value=0,this.rounded=!0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=Math.min(100,Math.max(0,this.value)),r=["outer","w-full","h-24","bg-default","border","border-softer","overflow-hidden",this.rounded?"rounded-lg":"","relative"].filter(Boolean).join(" "),a=["inner","h-full","transition-all","duration-300","bg-accent",e>0&&this.rounded?"rounded-lg":"","z-0"].filter(Boolean).join(" ");return t("div",{key:"4d1905ce42ee1b539519c8bdbcc9cf8d8aad9f03",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:r},t("div",{key:"7feec42063d2111f68e9957e1b5ca5550df284d0",class:a,style:{width:`${e}%`}}),t("div",{key:"13ab32e048f0b9e68e8bef96775b5204b653ed95",class:"absolute inset-0 flex items-center justify-center pointer-events-none z-10"},t("span",{key:"e46641bd65faf5ae4fb3a3c0542d312c9e9f1565",class:"text-default f-body-02"},e,"%")))}};r.style=".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.absolute{position:absolute}.relative{position:relative}.z-0{z-index:0}.z-10{z-index:10}.inset-0{inset:0rem}.pointer-events-none{pointer-events:none}";export{r as eds_progress_bar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-28ae3f3a.js";const s={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},a=class{constructor(t){e(this,t)}render(){return t("section",{key:"
|
|
1
|
+
import{r as e,h as t}from"./p-28ae3f3a.js";const s={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},a=class{constructor(t){e(this,t)}render(){return t("section",{key:"0fb029d34cba573e04e15030b3fdd1497ac9974e",class:"w-full"},t("eds-section-core",{key:"d6914b95ef74d590d58b0c90600fc44f5d9d6678",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},t("ul",{key:"f08511f07380707795b810fd0f34c1acdc47d37d",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(s).map((([e,s])=>t("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},t("div",{class:"container ratio-box flex items-center justify-center text-center border-2 border-soft",style:{aspectRatio:s.replace("/",":"),width:"100%",maxWidth:"300px"}},t("span",{class:"text-default font-bold mr-auto"},"aspect-",e),t("span",{class:"mt-2 text-sm ml-auto"},s))))))))}};export{a as token_ratios}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r}from"./p-28ae3f3a.js";const t={tokens:{"grey-100":"#f8f8f8","grey-200":"#f2f2f2","grey-300":"#e6e6e6","grey-400":"#d8d8d8","grey-500":"#8c8c8c","grey-600":"#6e6e6e","grey-700":"#666666","grey-800":"#4d4d4d","grey-900":"#242424","green-100":"#eaffee","green-200":"#d3ffdc","green-300":"#9dffb4","green-400":"#63fb92","green-500":"#00e766","green-600":"#00c959","green-700":"#009d45","green-800":"#007734","green-900":"#004f23","yellow-100":"#fefee5","yellow-200":"#ffffcb","yellow-300":"#fdfdaa","yellow-400":"#ffff8b","yellow-500":"#ffff51","yellow-600":"#f3f30a","yellow-700":"#d7d72b","yellow-800":"#9a9a1e","yellow-900":"#636313","orange-100":"#fff4ee","orange-200":"#ffeade","orange-300":"#ffdcc5","orange-400":"#ffcca9","orange-500":"#ffb87e","orange-600":"#ffa543","orange-700":"#cb7f28","orange-800":"#995f1e","orange-900":"#653f14","red-100":"#feefef","red-200":"#ffe0e1","red-300":"#ffc7c9","red-400":"#ff9ea2","red-500":"#ff7a7f","red-600":"#ff4d68","red-700":"#d01111","red-800":"#a3001a","red-900":"#6f0011","purple-100":"#f9f3ff","purple-200":"#f4e8ff","purple-300":"#e9ceff","purple-400":"#ddb1ff","purple-500":"#d18fff","purple-600":"#c461ff","purple-700":"#af56e4","purple-800":"#8337b1","purple-900":"#3d1e4f","blue-100":"#eff0ff","blue-200":"#dee0ff","blue-300":"#caceff","blue-400":"#b2b8ff","blue-500":"#7a89f5","blue-600":"#2b69fc","blue-700":"#0034cb","blue-800":"#002799","blue-900":"#001a65","cyan-100":"#E0EEFF","cyan-200":"#D3E6FF","cyan-300":"#B5D8FF","cyan-400":"#92C8FF","cyan-500":"#6CBFFE","cyan-600":"#3FA9F5","cyan-700":"#267FBE","cyan-800":"#1F689B","cyan-900":"#15496D",black:"#000000",white:"#ffffff",transparent:"transparent",current:"currentColor"},border:{default:"black",inverse:"white","inverse-soft":"rgba(255, 255, 255, 0.3)","inverse-softer":"rgba(255, 255, 255, 0.15)",soft:"rgba(0, 0, 0, .15 )",softer:"rgba(0, 0, 0, .1 )",softest:"rgba(0, 0, 0, .05 )",accent:"green-500",error:"red-700",current:"currentColor",transparent:"transparent"},text:{inverse:"white",default:"black",current:"currentColor",transparent:"transparent",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300",success:"green-800",warning:"yellow-900",error:"red-700",accent:"green-500","on-gradient":"rgba(0, 0, 0, 0.55)"},background:{default:"grey-200",inverse:"white","inverse-soft":"rgba(255, 255, 255, .2)","inverse-softer":"rgba(255, 255, 255, .15)",dark:"grey-300",darker:"grey-400",strong:"grey-700","strong-dark":"grey-800",stronger:"grey-900",strongest:"black","strongest-soft":"rgba(0, 0, 0, .05)",accent:"green-500","accent-dark":"green-600","accent-darker":"green-800",success:"green-200",warning:"yellow-200",error:"red-200",current:"currentColor",transparent:"transparent",overlay:"rgba(0, 0, 0, 0.25)","on-gradient":"rgba(0, 0, 0, 0.1)","on-dark":"rgba(255, 255, 255, 0.2)"},underline:{accent:"green-500",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300"},outline:{default:"black",accent:"green-500"},gradients:{"gradient-01-top":"gradient-01-top","gradient-02-top":"gradient-02-top","gradient-03-top":"gradient-03-top","gradient-04-top":"gradient-04-top","gradient-01-bottom":"gradient-01-bottom","gradient-02-bottom":"gradient-02-bottom","gradient-03-bottom":"gradient-03-bottom","gradient-04-bottom":"gradient-04-bottom"}},a=class{constructor(r){e(this,r),this.show=void 0}getTextColor(e){if(e.startsWith("rgba")||e.startsWith("rgb")){const r=e.replace(/rgba?\(/,"").replace(")","").split(",").map((e=>parseFloat(e.trim())));return(.299*r[0]+.587*r[1]+.114*r[2])/255>.5?"text-default":"text-inverse"}if(e.startsWith("#")){const r=e.replace("#","");return(.299*parseInt(r.substring(0,2),16)+.587*parseInt(r.substring(2,4),16)+.114*parseInt(r.substring(4,6),16))/255>.5?"text-default":"text-inverse"}return"text-default"}resolveColor(e){return t.tokens[e]?t.tokens[e]:e}renderSection(e,t){if("tokens"===e){const e=this.groupTokensByCategory(t);return Object.entries(e).map((([,e])=>r("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.map((e=>{const t=Object.keys(e)[0],a=this.resolveColor(e[t]),s=this.getTextColor(a);return r("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},r("div",{class:"effect-height items-center justify-between p-16 hidden lg:flex",style:{backgroundColor:a}},r("span",{class:`${s} f-body-02`},t),r("div",{class:"inline-flex"},r("eds-code-block",{code:a,language:"hex",class:"min-w-[210px] mr-4"}),r("eds-code-block",{language:"css",code:`var(--${t})`,class:"min-w-[210px]"}))),r("div",{class:"effect-height items-center justify-between p-16 block lg:hidden",style:{backgroundColor:a}},r("span",{class:`${s} f-body-02`},t),r("div",{class:"inline block"},r("eds-code-block",{code:a,class:"min-w-[210px] mb-4"}),r("eds-code-block",{code:`var(--${t})`,class:"min-w-[210px]"}))))})))))}return r("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(t).map((([t,a])=>{const s=this.resolveColor(a),n=this.getTextColor(s),l=s.startsWith("#")||s.startsWith("rgb")?{backgroundColor:s}:{border:`2px solid ${s}`};return r("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},r("div",{class:"effect-height block lg:flex items-center justify-between p-16",style:l},r("div",{class:"w-full flex"},r("span",{class:`${n} mr-auto font-bold`},t),r("span",{class:`${n} ml-auto mr-4 font-bold`},a)),r("span",{class:`${n}`},r("eds-code-block","background"===e?{code:`bg-${t}`,class:"min-w-[210px] mr-4"}:{code:`${e}-${t}`,class:"border"===e?"min-w-[250px] mr-4":"min-w-[210px] mr-4"}))))})))}groupTokensByCategory(e){const r={};return Object.entries(e).forEach((([e,t])=>{const a=e.split("-")[0];r[a]||(r[a]=[]),r[a].push({[e]:t})})),r}render(){return r("section",{key:"
|
|
1
|
+
import{r as e,h as r}from"./p-28ae3f3a.js";const t={tokens:{"grey-100":"#f8f8f8","grey-200":"#f2f2f2","grey-300":"#e6e6e6","grey-400":"#d8d8d8","grey-500":"#8c8c8c","grey-600":"#6e6e6e","grey-700":"#666666","grey-800":"#4d4d4d","grey-900":"#242424","green-100":"#eaffee","green-200":"#d3ffdc","green-300":"#9dffb4","green-400":"#63fb92","green-500":"#00e766","green-600":"#00c959","green-700":"#009d45","green-800":"#007734","green-900":"#004f23","yellow-100":"#fefee5","yellow-200":"#ffffcb","yellow-300":"#fdfdaa","yellow-400":"#ffff8b","yellow-500":"#ffff51","yellow-600":"#f3f30a","yellow-700":"#d7d72b","yellow-800":"#9a9a1e","yellow-900":"#636313","orange-100":"#fff4ee","orange-200":"#ffeade","orange-300":"#ffdcc5","orange-400":"#ffcca9","orange-500":"#ffb87e","orange-600":"#ffa543","orange-700":"#cb7f28","orange-800":"#995f1e","orange-900":"#653f14","red-100":"#feefef","red-200":"#ffe0e1","red-300":"#ffc7c9","red-400":"#ff9ea2","red-500":"#ff7a7f","red-600":"#ff4d68","red-700":"#d01111","red-800":"#a3001a","red-900":"#6f0011","purple-100":"#f9f3ff","purple-200":"#f4e8ff","purple-300":"#e9ceff","purple-400":"#ddb1ff","purple-500":"#d18fff","purple-600":"#c461ff","purple-700":"#af56e4","purple-800":"#8337b1","purple-900":"#3d1e4f","blue-100":"#eff0ff","blue-200":"#dee0ff","blue-300":"#caceff","blue-400":"#b2b8ff","blue-500":"#7a89f5","blue-600":"#2b69fc","blue-700":"#0034cb","blue-800":"#002799","blue-900":"#001a65","cyan-100":"#E0EEFF","cyan-200":"#D3E6FF","cyan-300":"#B5D8FF","cyan-400":"#92C8FF","cyan-500":"#6CBFFE","cyan-600":"#3FA9F5","cyan-700":"#267FBE","cyan-800":"#1F689B","cyan-900":"#15496D",black:"#000000",white:"#ffffff",transparent:"transparent",current:"currentColor"},border:{default:"black",inverse:"white","inverse-soft":"rgba(255, 255, 255, 0.3)","inverse-softer":"rgba(255, 255, 255, 0.15)",soft:"rgba(0, 0, 0, .15 )",softer:"rgba(0, 0, 0, .1 )",softest:"rgba(0, 0, 0, .05 )",accent:"green-500",error:"red-700",current:"currentColor",transparent:"transparent"},text:{inverse:"white",default:"black",current:"currentColor",transparent:"transparent",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300",success:"green-800",warning:"yellow-900",error:"red-700",accent:"green-500","on-gradient":"rgba(0, 0, 0, 0.55)"},background:{default:"grey-200",inverse:"white","inverse-soft":"rgba(255, 255, 255, .2)","inverse-softer":"rgba(255, 255, 255, .15)",dark:"grey-300",darker:"grey-400",strong:"grey-700","strong-dark":"grey-800",stronger:"grey-900",strongest:"black","strongest-soft":"rgba(0, 0, 0, .05)",accent:"green-500","accent-dark":"green-600","accent-darker":"green-800",success:"green-200",warning:"yellow-200",error:"red-200",current:"currentColor",transparent:"transparent",overlay:"rgba(0, 0, 0, 0.25)","on-gradient":"rgba(0, 0, 0, 0.1)","on-dark":"rgba(255, 255, 255, 0.2)"},underline:{accent:"green-500",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300"},outline:{default:"black",accent:"green-500"},gradients:{"gradient-01-top":"gradient-01-top","gradient-02-top":"gradient-02-top","gradient-03-top":"gradient-03-top","gradient-04-top":"gradient-04-top","gradient-01-bottom":"gradient-01-bottom","gradient-02-bottom":"gradient-02-bottom","gradient-03-bottom":"gradient-03-bottom","gradient-04-bottom":"gradient-04-bottom"}},a=class{constructor(r){e(this,r),this.show=void 0}getTextColor(e){if(e.startsWith("rgba")||e.startsWith("rgb")){const r=e.replace(/rgba?\(/,"").replace(")","").split(",").map((e=>parseFloat(e.trim())));return(.299*r[0]+.587*r[1]+.114*r[2])/255>.5?"text-default":"text-inverse"}if(e.startsWith("#")){const r=e.replace("#","");return(.299*parseInt(r.substring(0,2),16)+.587*parseInt(r.substring(2,4),16)+.114*parseInt(r.substring(4,6),16))/255>.5?"text-default":"text-inverse"}return"text-default"}resolveColor(e){return t.tokens[e]?t.tokens[e]:e}renderSection(e,t){if("tokens"===e){const e=this.groupTokensByCategory(t);return Object.entries(e).map((([,e])=>r("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.map((e=>{const t=Object.keys(e)[0],a=this.resolveColor(e[t]),s=this.getTextColor(a);return r("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},r("div",{class:"effect-height items-center justify-between p-16 hidden lg:flex",style:{backgroundColor:a}},r("span",{class:`${s} f-body-02`},t),r("div",{class:"inline-flex"},r("eds-code-block",{code:a,language:"hex",class:"min-w-[210px] mr-4"}),r("eds-code-block",{language:"css",code:`var(--${t})`,class:"min-w-[210px]"}))),r("div",{class:"effect-height items-center justify-between p-16 block lg:hidden",style:{backgroundColor:a}},r("span",{class:`${s} f-body-02`},t),r("div",{class:"inline block"},r("eds-code-block",{code:a,class:"min-w-[210px] mb-4"}),r("eds-code-block",{code:`var(--${t})`,class:"min-w-[210px]"}))))})))))}return r("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(t).map((([t,a])=>{const s=this.resolveColor(a),n=this.getTextColor(s),l=s.startsWith("#")||s.startsWith("rgb")?{backgroundColor:s}:{border:`2px solid ${s}`};return r("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},r("div",{class:"effect-height block lg:flex items-center justify-between p-16",style:l},r("div",{class:"w-full flex"},r("span",{class:`${n} mr-auto font-bold`},t),r("span",{class:`${n} ml-auto mr-4 font-bold`},a)),r("span",{class:`${n}`},r("eds-code-block","background"===e?{code:`bg-${t}`,class:"min-w-[210px] mr-4"}:{code:`${e}-${t}`,class:"border"===e?"min-w-[250px] mr-4":"min-w-[210px] mr-4"}))))})))}groupTokensByCategory(e){const r={};return Object.entries(e).forEach((([e,t])=>{const a=e.split("-")[0];r[a]||(r[a]=[]),r[a].push({[e]:t})})),r}render(){return r("section",{key:"0ba9dbb1b98cb398c2eb989391f6e978f9dc21ef",class:"w-full mt-28"},Object.entries(this.show?{[this.show]:t[this.show]}:t).map((([e,r])=>r?this.renderSection(e,r):null)))}},s={xxs:"2px",xs:"4px",sm:"8px",md:"12px",lg:"16px",pill:"100px"},n=class{constructor(r){e(this,r)}render(){return r("section",{key:"0b0ccb9adcfa77ea898828ddbb244e959f93e2e4",class:"w-full mt-28"},r("ul",{key:"94f17ad36ec9fcc47b645e323c7e5a8f3e040dda",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(s).map((([e,t])=>r("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},r("div",{class:`w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${e}`},r("eds-code-block",{language:"Utility Class",code:`rounded-${e}`,class:"mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto"}),r("eds-code-block",{code:`border-radius:${t}`,language:"css",class:"mx-auto min-w-[200px] sm:max-w-[200px] ml-auto"})))))))}},l={shadows:{small:"0px 1.5px 2px rgba(0, 0, 0, 0.1)",hover:"0px 0px 16px rgba(0, 0, 0, 0.2)",accent:"0px 0px 12px rgba(0, 201, 89, 0.6)",podium:"0px 0px 8px 8px rgb(0 0 0 / 25%);",border:"0 10px 10px rgba(0, 0, 0, 0.15);","border-top":"0 -10px 10px rgba(0, 0, 0, 0.15);"},dropShadows:{small:"0px 0px 16px rgba(0, 0, 0, 0.3)"}},o=class{constructor(r){e(this,r)}render(){return r("section",{key:"18d2b4cdcc3b6d6ce8864a9c36e869be9b9e5cb4",class:"w-full mt-28"},r("ul",{key:"63e646788009d3315d2f4e03f1a780811486d9a0",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(l).map((([e,t])=>Object.entries(t).map((([t,a])=>r("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16"},r("div",{class:"w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft",style:{boxShadow:a}},r("eds-code-block",{code:`${e}-${t}`,language:"Utility Class",class:"mr-auto sm:mb-4 min-w-[200px]"}),r("eds-code-block",{code:`${a}`,language:"css",class:"ml-auto min-w-[200px]"})))))))))}};export{a as token_list,n as token_radii,o as token_shadows}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-28ae3f3a.js";const o=class{constructor(a){e(this,a),this.isAuthenticated=!1}componentWillLoad(){const e=new Promise((e=>{document.addEventListener("initKeycloak",(a=>{e(a.detail)}),{once:!0})})),a=new Promise((e=>{document.addEventListener("authStatusChanged",(a=>{var o;this.isAuthenticated=null===(o=a.detail)||void 0===o?void 0:o.authenticated,e(a.detail)}),{once:!0})}));this.combinedInitPromise=Promise.all([e,a])}render(){return a("div",{key:"2cf0a4aa07959e806ac503bc7db3fd0bc1c49b6e"},a("eds-splash-screen",{key:"9617591de350dad2db54ca96b7afd61fab08488c",inverse:!0,initPromise:this.combinedInitPromise}),a("eds-login",{key:"8265386d716cc3bd9dde828d7fcfb9e5952d9df2","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),a("main",{key:"cae96307e0f7188a3422d64b1f8bfed2ae94d628"},a("h1",null,this.isAuthenticated?"Welcome, authenticated user!":"Please log in.")))}};export{o as eds_app_root}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,r as n}from"./p-28ae3f3a.js";const t=()=>e("div",{class:"static-content container"},e("h2",null,"Load the module"),e("p",null,"Integrating the EBRAINS UI Components to a project ",e("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("code",null,"head"),"."),e("eds-code-block",{code:"<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n<\/script>",language:"javascript","copy-label":"Copy Code"}),e("p",null,"This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),e("eds-steps",{steps:[{title:"Import the Loader Module",content:"The script imports the defineCustomElements function from the Stencil-generated loader module hosted at a CDN. This module contains the registration logic for all your custom components."},{title:"Register Custom Elements",content:"Calling defineCustomElements(window) loops through the available components and registers each one with the browser using customElements.define(). This makes your custom elements available in the DOM."},{title:"Lazy Loading in Action",content:"Although all components are registered on startup, their implementation code is lazy-loaded. This means a component's code is only fetched when it is first used, optimizing the initial load time."},{title:"Optimized Performance",content:"By registering components early and lazy-loading their implementations, the script helps maintain a fast startup while ensuring that all custom elements are ready for use when needed."}]}),e("p",null,"Once included, components can be used in your markup like any other regular HTML elements:"),e("eds-code-block",{code:'<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>',language:"html","copy-label":"Copy Code"}),e("h2",null,"Load the variables and styles"),e("p",null,"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the"," ",e("code",null,"head"),". This approach is recommended when you’re working solely with the web components and want minimal integration. That said, the components are configured to require only these CSS variables and nothing more."),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the"," ",e("code",null,"head"),". Use this when you want quick access to ready-made utilities for building your own components or applications and you do not wish to dive deep to css configurations."),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"Note that, loading either the variables or the predefined CSS framework above,"," ",e("b",null,"automatically loads the fonts so you can skip loading them separately"),". If you wish, however, to load the fonts, add the tag below to the ",e("code",null,"head")),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>',language:"css","copy-label":"Copy Code"})),s=()=>e("div",null,e("p",null,"Before proceeding, ensure that Node.js is installed on your machine—you can download the latest version from the official website. If your project doesn’t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/components",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/react",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/vue",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/angular",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/assets",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/svgs",language:"html","copy-label":"Copy Code"}))),o=()=>e("div",null,e("h2",null,"React Wrappers"),e("p",null,"To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),e("eds-code-block",{code:"npm install @ebrains/react",language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example React App","heading-level":"h3"},e("p",null,"This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),e("eds-code-block",{code:"\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader,\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n",language:"javascript","copy-label":"Copy Code"}))),a=()=>e("div",null,e("h2",null,"Vue Wrappers"),e("p",null,"To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),e("eds-code-block",{code:"npm install @ebrains/vue",language:"javascript","copy-label":"Copy Code"}),e("h2",null,"Passing Properties to Custom Elements Using the ",e("b",null,".prop")," Modifier in Vue Wrappers"),e("p",null,"When using Vue wrappers for Stencil components (or any custom elements), you might encounter issues with property names being altered due to HTML’s attribute handling. By default, Vue binds values as HTML attributes, and HTML attributes are case-insensitive. This means that camelCase property names can be transformed into lowercase strings, which can prevent your component from receiving the correct data."),e("h3",null,"How to Use the ",e("b",null,".prop")," Modifier"),e("p",null,"When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here’s an example of how to do it:"),e("div",{class:"my-8"},e("eds-alert",{message:"This may lead to issues because Vue binds these as attributes .",intent:"error"})),e("eds-code-block",{code:'<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>',language:"javascript","copy-label":"Copy Code"}),e("div",{class:"my-8"},e("eds-alert",{message:"Use the .prop modifier to ensure properties are passed correctly.",intent:"default"})),e("eds-code-block",{code:'<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>',language:"javascript","copy-label":"Copy Code"}),e("p",null,"Using the ",e("b",null,".prop")," modifier in Vue ensures that the data you pass to your custom elements is received as intended. It prevents Vue (and the browser) from transforming camelCase property names into lowercase attributes, thereby maintaining the correct data mapping in your Stencil components."),e("eds-section-core",{"section-title":"Example Vue App","heading-level":"h3"},e("eds-code-block",{code:'\n<template>\n <div>\n <EdsHeader></EdsHeader>\n \x3c!-- render the splash until we manually hide it --\x3e\n <EdsSplashScreen inverse="false" />\n\n \x3c!-- then show main UI --\x3e\n <div v-if="!splashVisible" class="container my-16">\n <EdsSteps \n :steps="JSON.stringify(stepsdata)"\n type="linear"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: { EdsHeader, EdsSplashScreen, EdsSteps },\n data() {\n return {\n stepsdata: [\n { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },\n { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }\n ],\n splashVisible: true\n };\n },\n methods: {\n delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n async initialize() {\n try {\n // simulate your init work\n await this.delay(2000);\n\n // fire the built-in event that EdsSplashScreen listens for\n window.dispatchEvent(new Event("hideSplash"));\n } catch (e) {\n console.error("Init error", e);\n window.dispatchEvent(new Event("hideSplash"));\n } finally {\n // show the rest of the app\n this.splashVisible = false;\n }\n }\n },\n mounted() {\n this.initialize();\n }\n};\n<\/script>\n',language:"javascript","copy-label":"Copy Code"}))),l=()=>e("div",null,e("h2",null,"Angular Wrappers"),e("p",null,"To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples. The Angular Stencil output type used for this package = `standalone`."),e("eds-code-block",{code:"npm install @ebrains/angular",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Install the components dependency as this important for the angular package to work properly."),e("eds-code-block",{code:"npm install @ebrains/components",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Define the custom elements"),e("eds-code-block",{code:"import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();",language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example Angular App","heading-level":"h3"},e("eds-code-block",{code:'\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>',language:"javascript","copy-label":"Copy Code"}))),i=class{constructor(e){n(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e(t,null);case 1:return e(s,null);case 2:return e(o,null);case 3:return e(a,null);case 4:return e(l,null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"d68c9ede251456d88ef2a033691927c87c8ec163",class:"container"},this.renderContent())}};export{i as components_section}
|
|
1
|
+
import{h as e,r as n}from"./p-28ae3f3a.js";const t=()=>e("div",{class:"static-content container"},e("h2",null,"Load the module"),e("p",null,"Integrating the EBRAINS UI Components to a project ",e("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("code",null,"head"),"."),e("eds-code-block",{code:"<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n<\/script>",language:"javascript","copy-label":"Copy Code"}),e("p",null,"This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),e("eds-steps",{steps:[{title:"Import the Loader Module",content:"The script imports the defineCustomElements function from the Stencil-generated loader module hosted at a CDN. This module contains the registration logic for all your custom components."},{title:"Register Custom Elements",content:"Calling defineCustomElements(window) loops through the available components and registers each one with the browser using customElements.define(). This makes your custom elements available in the DOM."},{title:"Lazy Loading in Action",content:"Although all components are registered on startup, their implementation code is lazy-loaded. This means a component's code is only fetched when it is first used, optimizing the initial load time."},{title:"Optimized Performance",content:"By registering components early and lazy-loading their implementations, the script helps maintain a fast startup while ensuring that all custom elements are ready for use when needed."}]}),e("p",null,"Once included, components can be used in your markup like any other regular HTML elements:"),e("eds-code-block",{code:'<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>',language:"html","copy-label":"Copy Code"}),e("h2",null,"Load the variables and styles"),e("p",null,"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the"," ",e("code",null,"head"),". This approach is recommended when you’re working solely with the web components and want minimal integration. That said, the components are configured to require only these CSS variables and nothing more."),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the"," ",e("code",null,"head"),". Use this when you want quick access to ready-made utilities for building your own components or applications and you do not wish to dive deep to css configurations."),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>',language:"css","copy-label":"Copy Code"}),e("p",null,"Note that, loading either the variables or the predefined CSS framework above,"," ",e("b",null,"automatically loads the fonts so you can skip loading them separately"),". If you wish, however, to load the fonts, add the tag below to the ",e("code",null,"head")),e("eds-code-block",{code:'<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>',language:"css","copy-label":"Copy Code"})),s=()=>e("div",null,e("p",null,"Before proceeding, ensure that Node.js is installed on your machine—you can download the latest version from the official website. If your project doesn’t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/components",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/react",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/vue",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/angular",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/assets",language:"html","copy-label":"Copy Code"})),e("div",{class:"my-8"},e("eds-code-block",{code:"npm install @ebrains/svgs",language:"html","copy-label":"Copy Code"}))),o=()=>e("div",null,e("h2",null,"React Wrappers"),e("p",null,"To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),e("eds-code-block",{code:"npm install @ebrains/react",language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example React App","heading-level":"h3"},e("p",null,"This code displays a Stencil-based splash screen that stays visible until an initialization promise resolves (or errors), then hides itself and reveals the main React app content."),e("eds-code-block",{code:"\nimport React, { useMemo, useState } from 'react';\nimport {\n EdsHeader,\n EdsSplashScreen,\n EdsMatomoNotice,\n EdsSteps\n} from '@ebrains/react';\nimport './app.css';\n\n// simulate 2s\nfunction fakeInit(): Promise<void> {\n return new Promise(resolve => setTimeout(resolve, 2000));\n}\n\nexport function App() {\n // 1) create init promise\n const initPromise = useMemo(() => fakeInit(), []);\n\n // 2) is splash still visible\n const [splashVisible, setSplashVisible] = useState(true);\n const [initError, setInitError] = useState<string | null>(null);\n\n // 3) show the UI after the splash has hidden\n const showApp = !splashVisible && !initError;\n\n return (\n <div>\n {splashVisible && (\n <EdsSplashScreen\n inverse={false}\n initPromise={initPromise}\n onSplash={(e: CustomEvent) => {\n if (e.detail.type === 'hidden') {\n setSplashVisible(false);\n } else if (e.detail.type === 'error') {\n setInitError(e.detail.message);\n setSplashVisible(false);\n }\n }}\n />\n )}\n\n {initError && (\n <div className='error'>\n Failed to initialize: {initError}\n </div>\n )}\n\n {/* Show App only when ready */}\n {showApp && (\n <>\n <EdsHeader></EdsHeader>\n <EdsSteps\n steps={[\n {\n title: 'Introduction',\n content: 'Begin by familiarizing yourself with the overall process.'\n },\n {\n title: 'Process Overview',\n content: 'Review the detailed steps and understand the workflow.'\n }\n ]}\n type='linear'\n />\n\n <EdsMatomoNotice />\n\n <div id='root'></div>\n </>\n )}\n </div>\n );\n}\nexport default App;\n",language:"javascript","copy-label":"Copy Code"}))),a=()=>e("div",null,e("h2",null,"Vue Wrappers"),e("p",null,"To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),e("eds-code-block",{code:"npm install @ebrains/vue",language:"javascript","copy-label":"Copy Code"}),e("h2",null,"Passing Properties to Custom Elements Using the ",e("b",null,".prop")," Modifier in Vue Wrappers"),e("p",null,"When using Vue wrappers for Stencil components (or any custom elements), you might encounter issues with property names being altered due to HTML’s attribute handling. By default, Vue binds values as HTML attributes, and HTML attributes are case-insensitive. This means that camelCase property names can be transformed into lowercase strings, which can prevent your component from receiving the correct data."),e("h3",null,"How to Use the ",e("b",null,".prop")," Modifier"),e("p",null,"When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here’s an example of how to do it:"),e("div",{class:"my-8"},e("eds-alert",{message:"This may lead to issues because Vue binds these as attributes .",intent:"error"})),e("eds-code-block",{code:'<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>',language:"javascript","copy-label":"Copy Code"}),e("div",{class:"my-8"},e("eds-alert",{message:"Use the .prop modifier to ensure properties are passed correctly.",intent:"default"})),e("eds-code-block",{code:'<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>',language:"javascript","copy-label":"Copy Code"}),e("p",null,"Using the ",e("b",null,".prop")," modifier in Vue ensures that the data you pass to your custom elements is received as intended. It prevents Vue (and the browser) from transforming camelCase property names into lowercase attributes, thereby maintaining the correct data mapping in your Stencil components."),e("eds-section-core",{"section-title":"Example Vue App","heading-level":"h3"},e("eds-code-block",{code:'\n<template>\n <div>\n <EdsHeader></EdsHeader>\n \x3c!-- render the splash until we manually hide it --\x3e\n <EdsSplashScreen inverse="false" />\n\n \x3c!-- then show main UI --\x3e\n <div v-if="!splashVisible" class="container my-16">\n <EdsSteps \n :steps="JSON.stringify(stepsdata)"\n type="linear"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport { EdsSplashScreen, EdsSteps, EdsHeader } from "@ebrains/vue";\n\nexport default {\n name: "App",\n components: { EdsHeader, EdsSplashScreen, EdsSteps },\n data() {\n return {\n stepsdata: [\n { title: "Introduction", content: "Begin by familiarizing yourself with the overall process." },\n { title: "Process Overview", content: "Review the detailed steps and understand the workflow." }\n ],\n splashVisible: true\n };\n },\n methods: {\n delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n async initialize() {\n try {\n // simulate your init work\n await this.delay(2000);\n\n // fire the built-in event that EdsSplashScreen listens for\n window.dispatchEvent(new Event("hideSplash"));\n } catch (e) {\n console.error("Init error", e);\n window.dispatchEvent(new Event("hideSplash"));\n } finally {\n // show the rest of the app\n this.splashVisible = false;\n }\n }\n },\n mounted() {\n this.initialize();\n }\n};\n<\/script>\n',language:"javascript","copy-label":"Copy Code"}))),l=()=>e("div",null,e("h2",null,"Angular Wrappers"),e("p",null,"To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples. The Angular Stencil output type used for this package = `standalone`."),e("eds-code-block",{code:"npm install @ebrains/angular",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Install the components dependency as this important for the angular package to work properly."),e("eds-code-block",{code:"npm install @ebrains/components",language:"javascript","copy-label":"Copy Code"}),e("p",null,"Define the custom elements"),e("eds-code-block",{code:"import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();",language:"javascript","copy-label":"Copy Code"}),e("eds-section-core",{"section-title":"Example Angular App","heading-level":"h3"},e("eds-code-block",{code:'\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>',language:"javascript","copy-label":"Copy Code"}))),i=class{constructor(e){n(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e(t,null);case 1:return e(s,null);case 2:return e(o,null);case 3:return e(a,null);case 4:return e(l,null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"493e3acd6d92f206d931af6406c9e1f42404c91d",class:"container"},this.renderContent())}};export{i as components_section}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,g as e}from"./p-28ae3f3a.js";const a=new class{constructor(){this.toastManagerElement=null}init(t){this.toastManagerElement=t}show(t,s="default"){if(!this.toastManagerElement)return void console.error("ToastManager is not initialized. Ensure <eds-toast-manager> is rendered.");const e=new CustomEvent("show-toast",{detail:{message:t,intent:s}});this.toastManagerElement.dispatchEvent(e)}},i=class{constructor(s){t(this,s),this.toastId=0,this.toasts=[]}connectedCallback(){a.init(this.hostElement),this.hostElement.addEventListener("show-toast",(t=>{const{message:s,intent:e}=t.detail;this.addToast(s,e)}))}addToast(t,s){const e=this.toastId++;this.toasts=[...this.toasts,{id:e,message:t,intent:s}]}removeToast(t){this.toasts=this.toasts.filter((s=>s.id!==t))}render(){return s("div",{key:"
|
|
1
|
+
import{r as t,h as s,g as e}from"./p-28ae3f3a.js";const a=new class{constructor(){this.toastManagerElement=null}init(t){this.toastManagerElement=t}show(t,s="default"){if(!this.toastManagerElement)return void console.error("ToastManager is not initialized. Ensure <eds-toast-manager> is rendered.");const e=new CustomEvent("show-toast",{detail:{message:t,intent:s}});this.toastManagerElement.dispatchEvent(e)}},i=class{constructor(s){t(this,s),this.toastId=0,this.toasts=[]}connectedCallback(){a.init(this.hostElement),this.hostElement.addEventListener("show-toast",(t=>{const{message:s,intent:e}=t.detail;this.addToast(s,e)}))}addToast(t,s){const e=this.toastId++;this.toasts=[...this.toasts,{id:e,message:t,intent:s}]}removeToast(t){this.toasts=this.toasts.filter((s=>s.id!==t))}render(){return s("div",{key:"62a106f36d1693163c25aee615570967573bbbc9",class:"toast-container"},this.toasts.map((t=>s("div",{key:t.id},s("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)})))))}get hostElement(){return e(this)}};i.style=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}";export{i as eds_toast_manager}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as s}from"./p-28ae3f3a.js";const t=class{constructor(s){e(this,s),this.buttonText="Cookies Preferences",this.intent=void 0,this.showMatomoNotice=!1,this.noticeKey=0}toggleCookiesPopup(){sessionStorage.removeItem("matomo-deferred"),this.showMatomoNotice?this.noticeKey=this.noticeKey+1:this.showMatomoNotice=!0}render(){return s("div",{key:"
|
|
1
|
+
import{r as e,h as s}from"./p-28ae3f3a.js";const t=class{constructor(s){e(this,s),this.buttonText="Cookies Preferences",this.intent=void 0,this.showMatomoNotice=!1,this.noticeKey=0}toggleCookiesPopup(){sessionStorage.removeItem("matomo-deferred"),this.showMatomoNotice?this.noticeKey=this.noticeKey+1:this.showMatomoNotice=!0}render(){return s("div",{key:"4563e11542b6cab4f509ec25646a0e1f8380af6c"},s("eds-link",{key:"24185ecd7818920490c1ca5c742e0f1a884f27da",size:"small",intent:this.intent,label:this.buttonText,onClick:()=>this.toggleCookiesPopup()}),this.showMatomoNotice&&s("eds-matomo-notice",{"force-show":!0,key:this.noticeKey}))}};t.style="";export{t as eds_cookies_preference}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as s}from"./p-28ae3f3a.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"
|
|
1
|
+
import{r as e,h as s}from"./p-28ae3f3a.js";const t=class{constructor(s){e(this,s),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){return s(this.tag,{key:"0593fd387e636b25fd817a985db481b654ef169b"},s("eds-section-heading",{key:"98805f9d6bdeb1a10f351d6d8277e7fb877b0e63",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),s("slot",{key:"6432856b8bf5f311a42406f4c6126982b2e05cf1"}))}};t.style="";const i=class{constructor(s){e(this,s),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){return s(this.tag,{key:"4fa6ecdd941eb943faa7311e94d9b67b63273414",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},s(this.headingLevel,{key:"945d7d615601806d670ab666971bc6b07e1f442c",class:this.getHeadingClass()},this.sectionTitle))}};export{t as eds_section_core,i as eds_section_heading}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-28ae3f3a.js";const l=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("div",null,e("h2",null,"Primary Palette"),e("color-primary-palette",null),e("h2",null,"Secondary Palette"),e("color-secondary-palette",null),e("h2",null,"Support Palette"),e("color-support-palette",null));case 1:return e("div",null,e("h2",null,"Primary Palette"),e("gradient-primary-palette",null),e("h2",null,"Secondary Palette"),e("gradient-secondary-palette",null),e("h2",null,"Support Palette"),e("gradient-support-palette",null));default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"dd41d9bbba79fd09d2ca5b0db7bd9427f2ef3f05",class:"container"},this.renderContent())}};export{l as docs_palettes}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as i,h as t,g as n}from"./p-28ae3f3a.js";import{p as a}from"./p-69c5074b.js";const f=class{constructor(t){e(this,t),this.rating=i(this,"rating",7),this.headingLevel="h1",this.type="star",this.count=5,this.label="Rate your Experience!",this.description="This is a description!",this.textMapping=["Very Poor","Poor","Average","Good","Excellent"],this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((e=>{this.emitContext(e)}))}emitContext(e){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});e.dispatchEvent(i)}get parsedMappings(){return a(this.textMapping)}ratingUpdated(e){this.selectedRating=e.detail}render(){const e=this.headingLevel,i=`f-heading-${this.headingLevel.replace("h","").padStart(2,"0")} my-4`;return t("div",{key:"
|
|
1
|
+
import{r as e,c as i,h as t,g as n}from"./p-28ae3f3a.js";import{p as a}from"./p-69c5074b.js";const f=class{constructor(t){e(this,t),this.rating=i(this,"rating",7),this.headingLevel="h1",this.type="star",this.count=5,this.label="Rate your Experience!",this.description="This is a description!",this.textMapping=["Very Poor","Poor","Average","Good","Excellent"],this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((e=>{this.emitContext(e)}))}emitContext(e){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});e.dispatchEvent(i)}get parsedMappings(){return a(this.textMapping)}ratingUpdated(e){this.selectedRating=e.detail}render(){const e=this.headingLevel,i=`f-heading-${this.headingLevel.replace("h","").padStart(2,"0")} my-4`;return t("div",{key:"b51bb78eea70babd1b1ca98ed5e657184d8e459f",class:"grid inline"},t(e,{key:"eb84cce3a03aec99d0980ecd3c4aa4338f8d14e2",class:i},this.label),t("p",{key:"5923739b4a7e73dc1c83710fe1535d51d6289b02",class:"f-body-01 text-light"},this.description),t("eds-rating",{key:"08d4b80838bc758cfdcf6f909f4bb41ae00d4c40","rating-type":this.type,"rating-count":this.count}),this.selectedRating>0&&this.parsedMappings[this.selectedRating-1]&&t("span",{key:"849014d7a3c2ebf78b1de434d7ad92549c0ae2de",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}get el(){return n(this)}};f.style="h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.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)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}";export{f as eds_feedback}
|
|
@@ -35,7 +35,7 @@ const ColorPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorPrimaryP
|
|
|
35
35
|
];
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("ul", { key: '
|
|
38
|
+
return (h("ul", { key: 'dca9faa5b584c6927687845d7ef33ac5e7554e5c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
39
39
|
}
|
|
40
40
|
}, [0, "color-primary-palette"]);
|
|
41
41
|
function defineCustomElement() {
|
|
@@ -35,7 +35,7 @@ const GradientPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class GradientPr
|
|
|
35
35
|
];
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("ul", { key: '
|
|
38
|
+
return (h("ul", { key: 'a527107bb4bab3981790adacf1b354da1fa41602', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
39
39
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
40
40
|
} }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
41
41
|
}
|
|
@@ -60,7 +60,7 @@ const ColorSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorSecond
|
|
|
60
60
|
this.show = undefined;
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("ul", { key: '
|
|
63
|
+
return (h("ul", { key: '4759c4ec0d107c4a70d300b9e3d72c36044fb200', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
64
64
|
}
|
|
65
65
|
}, [0, "color-secondary-palette", {
|
|
66
66
|
"show": [1]
|
|
@@ -60,19 +60,19 @@ const GradientSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class Gradient
|
|
|
60
60
|
];
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '74f7edbba10e5d4db5a2f661b73b0fb918e46b68' }, h("ul", { key: 'b9045ef69060083d97bd3eb3a3c6b717f4fe1f34', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'a72a7d04c335ab12eeb9cafaa2e6f2faf54b8b96', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '34c60280372817adbd8f5f516a5825f5a21438e4', class: "effect-height flex items-center justify-between p-16", style: {
|
|
64
64
|
background: this.colors[0].background
|
|
65
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: '46e9b34908507069d975d766a5e696a6ab47b990', class: "grid" }, h("span", { key: 'ebeb484c14c82b35811bb66111dcdd67549d1a46', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'b7fa5ce2837e11ff98f470f5907d4a7a47ed288a', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '6e65b43c564a308f6b183e463f6b2ca28cbac2a7', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '03b3bf61023ea3314dfa1a8bedfa5f72f47a21d2', class: "grid" }, h("span", { key: '4d1a77980d823f96a6b47abd9496062802532fb7', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '60c0d9436d3210518dd931e5b46e0687992611f2', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: '9ac430429109809eb270b58d07423fbb4f12f06d', class: "effect-height flex items-center justify-between p-16", style: {
|
|
66
66
|
background: this.colors[1].background
|
|
67
|
-
} }, h("div", { key: '
|
|
67
|
+
} }, h("div", { key: '6e12590eb03638ff0a05cb1fc21c793b202be508', class: "grid" }, h("span", { key: 'ca3267c62171da901fa7397ab755913d8244fa05', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: 'd3e34e06994849c667d2ce4aed6660d0052b51bc', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '10090042d6f423dc0ba69bbebbbc261a8f83177b', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'e51f480cfbce6505657be18f64e206f17292b75b', class: "grid" }, h("span", { key: 'e52d1565df7f85edf31815330139542ad685d5bb', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: 'c82c6476a00d3d86f175d84a991799e4b8be0339', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '9f9454dd27f53c76e055b75bd35718170934161c' }), h("ul", { key: 'f0cd0c2956b005dff53e840780ec883e79e54d29', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '0051eca25a27a4617642ee62495b5070b39303e1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e635251200247329d546f6832b45c15f68e16ada', class: "effect-height flex items-center justify-between p-16", style: {
|
|
68
68
|
background: this.colors[2].background
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: 'ae1fbc5eab2f291f01a67ea2c175e916994a23cc', class: "grid" }, h("span", { key: '89b9565bb0eaceb4306cc2fb8112005e1ecac2ec', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '789381481f744ceeb4db49ffdcae1992e24411e7', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '17ef5171b93ddae1a653e4e24931a4dd8133e327', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '683d59c2d9ef6c7be6cddce3e861b88362c9d92b', class: "grid" }, h("span", { key: '049567ea731c85be8ee92a1e367d8bed0d53a948', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'e9abe0895de0438db939a081f84dd4a95de56b33', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'e2d6d0aaf225da7a4b92a539106a4995e0a97e90', class: "effect-height flex items-center justify-between p-16", style: {
|
|
70
70
|
background: this.colors[3].background
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '5327980f01b127a695ebc19f2ea9edf99b674078', class: "grid" }, h("span", { key: 'c44c7dfd09520b00a4faa2723a797e2e6e893816', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '50ed833cf9d0b281d0ee2c06ca6e9074b82de399', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: 'd8545dfbeec83ce4e04695b52c85e1e4ea8d125e', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '3a88aa95a18ff30a5694c73dfce9b27cdbfb22cc', class: "grid" }, h("span", { key: '72245f6f7992657f4801571258c0b474a0b00f26', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '1d24a4ce4f9456268030f45fb5320f71de235483', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '911c0de727c6dfbe9e0d83b572ea2637a54481f6' }), h("ul", { key: 'a09572c51f87e28b3b90b5ac9936d1c0c109a780', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '0228ebc07d1402fd16def4e3596d80f971b3d437', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '6041ecff1c8ec57284ea167a39573a572c266c19', class: "effect-height flex items-center justify-between p-16", style: {
|
|
72
72
|
background: this.colors[4].background
|
|
73
|
-
} }, h("div", { key: '
|
|
73
|
+
} }, h("div", { key: 'eb2a7c48b057c022302c9a2d4101bbf3c062afb9', class: "grid" }, h("span", { key: 'e4de44d68f477e93a9fe992cd4e8008c71db775c', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '4e5c3774c71fe464173005df581f867a683b8f32', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'aa9462ae6d2feb2f1caddff60b0e36593a2363ac', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'ef2cbd394e055499a1b8050d61618d4469cfe12f', class: "grid" }, h("span", { key: '15e103271c649e90d5f9e8891bd94da5c91855c2', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: '6a19b5ba5340ff0fe4eb91869f502ed0d33dc423', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: 'fd71cdb93d40856025ff743330a1849829f13ea1', class: "effect-height flex items-center justify-between p-16", style: {
|
|
74
74
|
background: this.colors[5].background
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: 'fb0aa74276a6210ea690892ac4cb295975c1631c', class: "grid" }, h("span", { key: '25292c9f2f2417f7fd8e6db1d3419663ef5bf831', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: '1bca86d8036ac0923e6014b36177974e135799a0', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: '142843c1ac15d4fdda1d5c2a96d11503ac99c2c9', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '6c05bf3278967860f4c36a6c4711be70ba9989c4', class: "grid" }, h("span", { key: '32459a9b07699f3291ce29dcffaa12faffe6006a', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: 'b9cd8ea5b74262c3268981137639c953cbfa512f', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
76
76
|
}
|
|
77
77
|
}, [0, "gradient-secondary-palette"]);
|
|
78
78
|
function defineCustomElement() {
|
|
@@ -60,7 +60,7 @@ const ColorSupportPalette = /*@__PURE__*/ proxyCustomElement(class ColorSupportP
|
|
|
60
60
|
return 'text-default';
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("ul", { key: '
|
|
63
|
+
return (h("ul", { key: '869a21a9a286ba36e5df1cef926e1c119ce35645', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
64
64
|
// compute once
|
|
65
65
|
const textClass = this.getTextColor(color.background);
|
|
66
66
|
return (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), h("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|