@forjacms/sections 1.8.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{altcha-J8QlF6y1.js → altcha-qYgkTlqS.js} +1 -1
- package/dist/cjs/forja-blog.cjs.entry.js +2 -2
- package/dist/cjs/forja-contact.cjs.entry.js +3 -3
- package/dist/cjs/forja-cta.cjs.entry.js +2 -2
- package/dist/cjs/forja-divider.cjs.entry.js +1 -1
- package/dist/cjs/forja-faq.cjs.entry.js +2 -2
- package/dist/cjs/forja-features.cjs.entry.js +2 -2
- package/dist/cjs/forja-footer.cjs.entry.js +1 -1
- package/dist/cjs/forja-gallery.cjs.entry.js +2 -2
- package/dist/cjs/forja-hero.cjs.entry.js +2 -2
- package/dist/cjs/forja-legal.cjs.entry.js +2 -2
- package/dist/cjs/forja-logo-cloud.cjs.entry.js +2 -2
- package/dist/cjs/forja-nav.cjs.entry.js +1 -1
- package/dist/cjs/forja-newsletter.cjs.entry.js +3 -3
- package/dist/cjs/forja-portfolio.cjs.entry.js +2 -2
- package/dist/cjs/forja-pricing.cjs.entry.js +2 -2
- package/dist/cjs/forja-projects.cjs.entry.js +2 -2
- package/dist/cjs/forja-section-renderer.cjs.entry.js +2 -2
- package/dist/cjs/forja-sections.cjs.js +2 -2
- package/dist/cjs/forja-stats.cjs.entry.js +2 -2
- package/dist/cjs/forja-tag-cloud.cjs.entry.js +2 -2
- package/dist/cjs/forja-team.cjs.entry.js +2 -2
- package/dist/cjs/forja-testimonials.cjs.entry.js +2 -2
- package/dist/cjs/forja-text-block.cjs.entry.js +2 -2
- package/dist/cjs/forja-timeline.cjs.entry.js +2 -2
- package/dist/cjs/forja-video.cjs.entry.js +2 -2
- package/dist/cjs/{index-DPGUrkdx.js → index-B3c9OiDB.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{sanitize-CW5vDvZT.js → sanitize-BoXpHTrY.js} +37 -30
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components/forja-blog.js +1 -1
- package/dist/components/forja-contact.js +1 -1
- package/dist/components/forja-cta.js +1 -1
- package/dist/components/forja-divider.js +1 -1
- package/dist/components/forja-faq.js +1 -1
- package/dist/components/forja-features.js +1 -1
- package/dist/components/forja-footer.js +1 -1
- package/dist/components/forja-gallery.js +1 -1
- package/dist/components/forja-hero.js +1 -1
- package/dist/components/forja-legal.js +1 -1
- package/dist/components/forja-logo-cloud.js +1 -1
- package/dist/components/forja-nav.js +1 -1
- package/dist/components/forja-newsletter.js +1 -1
- package/dist/components/forja-portfolio.js +1 -1
- package/dist/components/forja-pricing.js +1 -1
- package/dist/components/forja-projects.js +1 -1
- package/dist/components/forja-section-renderer.js +1 -1
- package/dist/components/forja-stats.js +1 -1
- package/dist/components/forja-tag-cloud.js +1 -1
- package/dist/components/forja-team.js +1 -1
- package/dist/components/forja-testimonials.js +1 -1
- package/dist/components/forja-text-block.js +1 -1
- package/dist/components/forja-timeline.js +1 -1
- package/dist/components/forja-video.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-D6KWgfCs.js → p-Bz80byMy.js} +1 -1
- package/dist/{forja-sections/p-0ZAX27KB.js → components/p-CaOQG4Ax.js} +1 -1
- package/dist/esm/{altcha-BaQIumM3.js → altcha-Cf2_S7eu.js} +1 -1
- package/dist/esm/forja-blog.entry.js +2 -2
- package/dist/esm/forja-contact.entry.js +3 -3
- package/dist/esm/forja-cta.entry.js +2 -2
- package/dist/esm/forja-divider.entry.js +1 -1
- package/dist/esm/forja-faq.entry.js +2 -2
- package/dist/esm/forja-features.entry.js +2 -2
- package/dist/esm/forja-footer.entry.js +1 -1
- package/dist/esm/forja-gallery.entry.js +2 -2
- package/dist/esm/forja-hero.entry.js +2 -2
- package/dist/esm/forja-legal.entry.js +2 -2
- package/dist/esm/forja-logo-cloud.entry.js +2 -2
- package/dist/esm/forja-nav.entry.js +1 -1
- package/dist/esm/forja-newsletter.entry.js +3 -3
- package/dist/esm/forja-portfolio.entry.js +2 -2
- package/dist/esm/forja-pricing.entry.js +2 -2
- package/dist/esm/forja-projects.entry.js +2 -2
- package/dist/esm/forja-section-renderer.entry.js +2 -2
- package/dist/esm/forja-sections.js +3 -3
- package/dist/esm/forja-stats.entry.js +2 -2
- package/dist/esm/forja-tag-cloud.entry.js +2 -2
- package/dist/esm/forja-team.entry.js +2 -2
- package/dist/esm/forja-testimonials.entry.js +2 -2
- package/dist/esm/forja-text-block.entry.js +2 -2
- package/dist/esm/forja-timeline.entry.js +2 -2
- package/dist/esm/forja-video.entry.js +2 -2
- package/dist/esm/{index-CJAmAUMU.js → index-b35Z3PNE.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{sanitize-D6KWgfCs.js → sanitize-Bz80byMy.js} +37 -30
- package/dist/forja-sections/forja-sections.esm.js +1 -1
- package/dist/forja-sections/p-0530e9f1.entry.js +1 -0
- package/dist/forja-sections/{p-ad7f6525.entry.js → p-19fb29ee.entry.js} +1 -1
- package/dist/forja-sections/{p-3224ea53.entry.js → p-1c537b1f.entry.js} +1 -1
- package/dist/forja-sections/{p-775468ac.entry.js → p-3083e5e4.entry.js} +1 -1
- package/dist/forja-sections/{p-6815a0d9.entry.js → p-30b42b76.entry.js} +1 -1
- package/dist/forja-sections/{p-19cb5c13.entry.js → p-3adeb7c0.entry.js} +1 -1
- package/dist/forja-sections/{p-aca042d7.entry.js → p-3ccceab2.entry.js} +1 -1
- package/dist/forja-sections/{p-34e5af78.entry.js → p-4519f57e.entry.js} +1 -1
- package/dist/forja-sections/p-522b0e80.entry.js +1 -0
- package/dist/forja-sections/{p-d5673a61.entry.js → p-5b54ff54.entry.js} +1 -1
- package/dist/forja-sections/{p-32b758b2.entry.js → p-7ac58976.entry.js} +1 -1
- package/dist/forja-sections/{p-815198d8.entry.js → p-7edd3b79.entry.js} +1 -1
- package/dist/forja-sections/{p-a9ea393f.entry.js → p-7ede311b.entry.js} +1 -1
- package/dist/forja-sections/{p-e9687bdd.entry.js → p-8d08860d.entry.js} +1 -1
- package/dist/forja-sections/{p-5af07298.entry.js → p-9346b8fb.entry.js} +1 -1
- package/dist/forja-sections/{p-4b27f8f1.entry.js → p-9889743e.entry.js} +1 -1
- package/dist/forja-sections/{p-D6KWgfCs.js → p-Bz80byMy.js} +1 -1
- package/dist/{components/p-B8qlvoCH.js → forja-sections/p-DZQAlGL3.js} +1 -1
- package/dist/forja-sections/{p-c4a6fd86.entry.js → p-a35a57e0.entry.js} +1 -1
- package/dist/forja-sections/{p-b022f97f.entry.js → p-b1bc4876.entry.js} +1 -1
- package/dist/forja-sections/{p-eb4d3343.entry.js → p-c6724a19.entry.js} +1 -1
- package/dist/forja-sections/{p-fd21a4d6.entry.js → p-cfed094a.entry.js} +1 -1
- package/dist/forja-sections/{p-6b63cd9e.entry.js → p-d54b7e23.entry.js} +1 -1
- package/dist/forja-sections/{p-a5608f61.entry.js → p-e69ea9da.entry.js} +1 -1
- package/dist/forja-sections/{p-0c90861f.entry.js → p-ebf87435.entry.js} +1 -1
- package/dist/forja-sections/{p-3ce9384a.entry.js → p-f504b533.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/package.json +4 -4
- package/dist/forja-sections/p-65db9305.entry.js +0 -1
- package/dist/forja-sections/p-a32ca48d.entry.js +0 -1
- /package/dist/components/{p-B8rQMNWH.js → p-4VcdhKkr.js} +0 -0
- /package/dist/forja-sections/{p-CJAmAUMU.js → p-b35Z3PNE.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as o,p as a,H as
|
|
1
|
+
import{t as o,p as a,H as l,h as s}from"./p-4VcdhKkr.js";import{s as e}from"./p-Bz80byMy.js";import{s as t}from"./p-CTbyYfdB.js";const c=a(class extends l{constructor(o){super(),!1!==o&&this.__registerHost()}render(){const o=this.logos&&this.logos.length>0,a=["forja-logo-cloud",this.grayscale&&"forja-logo-cloud--grayscale"].filter(Boolean).join(" ");return s("section",{key:"32a98374780f2f556321baa7978d7746bb815e11",class:a,"aria-label":t(this.sectionTitle,"Partners")},s("slot",{key:"d422f40488b640e8b5c4d7b8a2d66bd144fc8150",name:"before"}),this.sectionTitle&&s("h2",{key:"e432f9ea6ea33ce8500eabca8d64ec6c6cf2608f",class:"forja-logo-cloud__title"},this.sectionTitle),this.text&&s("div",{key:"f0c18aa34a98a9789baafb30ce2d3fdaf3be45ce",class:"forja-logo-cloud__text",innerHTML:e(this.text)}),o?s("ul",{class:"forja-logo-cloud__grid",role:"list","data-columns":this.columns},this.logos.map((o=>s("li",{class:"forja-logo-cloud__item"},o.href?s("a",{href:o.href,class:"forja-logo-cloud__link",target:"_blank",rel:"noopener"},s("img",{src:o.imageUrl,alt:o.alt,class:"forja-logo-cloud__image",loading:"lazy"})):s("img",{src:o.imageUrl,alt:o.alt,class:"forja-logo-cloud__image",loading:"lazy"}))))):s("slot",null),s("slot",{key:"190222aa2c2d029d4c1f8fa1c21a42fa1e801795",name:"after"}))}},[260,"forja-logo-cloud",{sectionTitle:[1,"section-title"],text:[1],logos:[16],columns:[2],grayscale:[4]}]);function r(){"undefined"!=typeof customElements&&["forja-logo-cloud"].forEach((a=>{"forja-logo-cloud"===a&&(customElements.get(o(a))||customElements.define(o(a),c))}))}r();const f=c,i=r;export{f as ForjaLogoCloud,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as o,H as a,c as n,h as t}from"./p-
|
|
1
|
+
import{t as e,p as o,H as a,c as n,h as t}from"./p-4VcdhKkr.js";const r=o(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.forjaThemeToggle=n(this,"forjaThemeToggle"),this.forjaLocaleChange=n(this,"forjaLocaleChange"),this.homeHref="/",this.showThemeToggle=!0,this.mobileOpen=!1,this.localeDropdownOpen=!1,this.toggleMobile=()=>{this.mobileOpen=!this.mobileOpen},this.toggleLocaleDropdown=()=>{this.localeDropdownOpen=!this.localeDropdownOpen},this.selectLocale=e=>{this.localeDropdownOpen=!1,this.forjaLocaleChange.emit(e)},this.handleThemeToggle=()=>{this.forjaThemeToggle.emit()}}renderNavLink(e){return t("a",{href:e.href,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,class:"forja-nav__link"},e.title)}renderDesktopItem(e){return e.children&&e.children.length>0?t("div",{class:"forja-nav__dropdown"},t("a",{href:e.href,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,class:"forja-nav__link"},e.title),t("div",{class:"forja-nav__dropdown-menu"},e.children.map((e=>t("a",{href:e.href,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,class:"forja-nav__dropdown-item"},e.title))))):this.renderNavLink(e)}renderThemeToggle(){return this.showThemeToggle?t("button",{type:"button","aria-label":"Toggle dark mode",class:"forja-nav__theme-toggle",onClick:this.handleThemeToggle},t("svg",{class:"forja-nav__icon-moon",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t("path",{d:"M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z"})),t("svg",{class:"forja-nav__icon-sun",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t("circle",{cx:"12",cy:"12",r:"5"}),t("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),t("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),t("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),t("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),t("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),t("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),t("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),t("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"}))):null}renderLocaleSwitcher(){return!this.locales||this.locales.length<=1?null:t("div",{class:"forja-nav__locale-switcher"},t("button",{type:"button","aria-label":"Switch language",class:"forja-nav__locale-toggle",onClick:this.toggleLocaleDropdown},this.currentLocale||"en"),this.localeDropdownOpen&&t("div",{class:"forja-nav__locale-dropdown"},this.locales.map((e=>t("button",{type:"button",class:"forja-nav__locale-option"+(e.code===this.currentLocale?" forja-nav__locale-option--active":""),onClick:()=>this.selectLocale(e.code)},e.name)))))}render(){const e=this.items||[];return t("nav",{key:"d53286c5cb8ab3a53d319bfc4f56261f14bbd0e7",class:"forja-nav","aria-label":"Main navigation"},t("div",{key:"f6ddbb63413194a4c9b65f28685c856794da9085",class:"forja-nav__container"},this.siteName&&t("a",{key:"18bf629d717e2bf64da5705900bde85958a4efcc",href:this.homeHref,class:"forja-nav__brand"},this.siteName),t("div",{key:"60df3ad46c3d3d8c69ad94956d40e50713143fe1",class:"forja-nav__desktop"},e.map((e=>this.renderDesktopItem(e))),this.renderLocaleSwitcher(),this.renderThemeToggle()),t("button",{key:"5a11fece72449bb05dfab14a49dc0e4cb08b3030",type:"button","aria-label":"Toggle navigation",class:"forja-nav__hamburger",onClick:this.toggleMobile},t("svg",{key:"19ca0c78e8a9d2c0566f5722e058fe6bfdfa5e26",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t("line",{key:"1a61567b4a0e80d1b924a8ddd82e6565e9c87896",x1:"3",y1:"12",x2:"21",y2:"12"}),t("line",{key:"d57ae9589e5369942d48698b0842bd3390130747",x1:"3",y1:"6",x2:"21",y2:"6"}),t("line",{key:"dc58d5f24249e2989ce33f7a366d6926a7408496",x1:"3",y1:"18",x2:"21",y2:"18"})))),this.mobileOpen&&t("div",{key:"c2ae6b8da7095d8851196fc22b2e10bf7abce3b9",class:"forja-nav__mobile"},e.map((e=>t("a",{href:e.href,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,class:"forja-nav__mobile-link"},e.title))),this.renderThemeToggle()))}},[0,"forja-nav",{siteName:[1,"site-name"],homeHref:[1,"home-href"],items:[16],locales:[16],currentLocale:[1,"current-locale"],showThemeToggle:[4,"show-theme-toggle"],mobileOpen:[32],localeDropdownOpen:[32]}]);function i(){"undefined"!=typeof customElements&&["forja-nav"].forEach((o=>{"forja-nav"===o&&(customElements.get(e(o))||customElements.define(e(o),r))}))}i();const s=r,l=i;export{s as ForjaNav,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as a,c as s,h as r}from"./p-
|
|
1
|
+
import{t as e,p as t,H as a,c as s,h as r}from"./p-4VcdhKkr.js";import{s as o}from"./p-Bz80byMy.js";import{a as i,s as l}from"./p-CTbyYfdB.js";import{a as c,r as f}from"./p-CaOQG4Ax.js";const n=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.forjaSubmit=s(this,"forjaSubmit"),this.buttonText="Subscribe",this.botProtection="none",this.botProtectionUnsolved=!1,this.handleSubmit=e=>{e.preventDefault();const t=e.target;!this.requiresAltcha||c(t)?(this.botProtectionUnsolved=!1,this.forjaSubmit.emit(new FormData(t))):this.botProtectionUnsolved=!0}}get requiresAltcha(){return"mandatory"===this.botProtection}render(){const e=i(this.sectionTitle,"newsletter-email"),t=i(this.sectionTitle,"newsletter-name");return r("section",{key:"1eebd751804580bc44881d70692d79090869429e",class:"forja-newsletter","aria-label":l(this.sectionTitle,"Newsletter")},r("slot",{key:"26aa48a4902487a440f6f528c4b624593f3dae2f",name:"before"}),this.sectionTitle&&r("h2",{key:"0c2ec6c385a03c4aaaf5f514ca4b780c46160875",class:"forja-newsletter__title"},this.sectionTitle),this.text&&r("div",{key:"d010e38b4a0bd89f63400f2718a1d99e83e691ab",class:"forja-newsletter__text",innerHTML:o(this.text)}),r("form",{key:"b94227214cc56bd347531f282dcadfe6a14a9121",class:"forja-newsletter__form",action:this.formAction,method:this.formAction?"post":void 0,onSubmit:this.handleSubmit},this.showName&&r("div",{key:"d9d4935d8cf5596c5cf0537dcf8bce8a607a0fbb",class:"forja-newsletter__field"},r("label",{key:"8d1cb78490566709d251b3eac84631efc7bd3b8b",class:"forja-newsletter__label",htmlFor:t},"Name"),r("input",{key:"fed5928d28416aca59de23a94b6ff536822a4e2b",id:t,name:"name",type:"text",class:"forja-newsletter__input"})),r("div",{key:"862e08935374349422fa20ce513dd490eb1a9e4f",class:"forja-newsletter__field"},r("label",{key:"9fcabeca3d01a4d5f23317abe2b97b8149396d07",class:"forja-newsletter__label",htmlFor:e},"Email"),r("input",{key:"d19c80b577109b978fa53a56847b4c1d35acefb0",id:e,name:"email",type:"email",class:"forja-newsletter__input",required:!0,"aria-required":"true"})),this.requiresAltcha&&f(this.altchaChallengeUrl,"forja-newsletter-altcha"),this.botProtectionUnsolved&&r("p",{key:"863c705d1edfe9ab99441af7daf6feb01e66286f",class:"forja-newsletter__error",role:"alert","data-testid":"forja-newsletter-altcha-error"},"Please complete the verification before submitting."),r("button",{key:"e0923cd8919914c04853adfe24982cf45118c913",type:"submit",class:"forja-newsletter__submit"},this.buttonText)),r("slot",{key:"38f8f6b4f0dee4eeedb79f030a7d50a6302a71a2",name:"after"}))}},[260,"forja-newsletter",{sectionTitle:[1,"section-title"],text:[1],buttonText:[1,"button-text"],formAction:[1,"form-action"],showName:[4,"show-name"],botProtection:[1,"bot-protection"],altchaChallengeUrl:[1,"altcha-challenge-url"],botProtectionUnsolved:[32]}]);function d(){"undefined"!=typeof customElements&&["forja-newsletter"].forEach((t=>{"forja-newsletter"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}d();const b=n,h=d;export{b as ForjaNewsletter,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as o,p as s,H as r,h as l}from"./p-
|
|
1
|
+
import{t as o,p as s,H as r,h as l}from"./p-4VcdhKkr.js";import{s as t}from"./p-Bz80byMy.js";import{s as i}from"./p-CTbyYfdB.js";const a=s(class extends r{constructor(o){super(),!1!==o&&this.__registerHost()}renderExperiences(){return this.experiences&&0!==this.experiences.length?l("div",{class:"forja-portfolio__experiences"},l("h3",{class:"forja-portfolio__group-title"},"Experience"),l("ol",{class:"forja-portfolio__list"},this.experiences.map((o=>l("li",{class:"forja-portfolio__entry"},l("article",{class:"forja-portfolio__card"},o.logoUrl&&l("img",{src:o.logoUrl,alt:"",class:"forja-portfolio__logo",loading:"lazy"}),l("div",{class:"forja-portfolio__details"},l("h4",{class:"forja-portfolio__role"},o.role),l("p",{class:"forja-portfolio__company"},o.company),o.period&&l("time",{class:"forja-portfolio__period"},o.period),o.description&&l("div",{class:"forja-portfolio__description",innerHTML:t(o.description)})))))))):null}renderEducation(){return this.education&&0!==this.education.length?l("div",{class:"forja-portfolio__education"},l("h3",{class:"forja-portfolio__group-title"},"Education"),l("ol",{class:"forja-portfolio__list"},this.education.map((o=>l("li",{class:"forja-portfolio__entry"},l("article",{class:"forja-portfolio__card"},l("div",{class:"forja-portfolio__details"},l("h4",{class:"forja-portfolio__role"},o.degree),l("p",{class:"forja-portfolio__company"},o.institution),o.period&&l("time",{class:"forja-portfolio__period"},o.period),o.description&&l("div",{class:"forja-portfolio__description",innerHTML:t(o.description)})))))))):null}renderSkills(){if(!this.skills||0===this.skills.length)return null;const o=this.skills.reduce(((o,s)=>{const r=s.category||"General";return o[r]||(o[r]=[]),o[r].push(s),o}),{});return l("div",{class:"forja-portfolio__skills"},l("h3",{class:"forja-portfolio__group-title"},"Skills"),Object.entries(o).map((([s,r])=>l("div",{class:"forja-portfolio__skill-group"},Object.keys(o).length>1&&l("h4",{class:"forja-portfolio__skill-category"},s),l("ul",{class:"forja-portfolio__skill-list","data-columns":this.columns},r.map((o=>l("li",{class:"forja-portfolio__skill"},o.name))))))))}render(){return l("section",{key:"63f3b34c130f4a095b33d171af54368df52e29bf",class:"forja-portfolio","aria-label":i(this.sectionTitle,"Portfolio")},l("slot",{key:"00bdd66a9c499f502140368cf561f8814487b3b6",name:"before"}),this.sectionTitle&&l("h2",{key:"5c9612c2fac3865df9de34f085d0c29b80c4d644",class:"forja-portfolio__title"},this.sectionTitle),this.text&&l("div",{key:"8c1fa3dbf2297ffcaea0ca2262617d2a484e0cb5",class:"forja-portfolio__text",innerHTML:t(this.text)}),this.renderExperiences(),this.renderEducation(),this.renderSkills(),l("slot",{key:"fb754d6ce902396f664d99b7493937e0eb122a93",name:"after"}))}},[260,"forja-portfolio",{sectionTitle:[1,"section-title"],text:[1],experiences:[16],education:[16],skills:[16],columns:[2]}]);function e(){"undefined"!=typeof customElements&&["forja-portfolio"].forEach((s=>{"forja-portfolio"===s&&(customElements.get(o(s))||customElements.define(o(s),a))}))}e();const f=a,c=e;export{f as ForjaPortfolio,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as i,p as s,H as e,h as
|
|
1
|
+
import{t as i,p as s,H as e,h as c}from"./p-4VcdhKkr.js";import{s as r}from"./p-Bz80byMy.js";import{s as a}from"./p-CTbyYfdB.js";const t=s(class extends e{constructor(i){super(),!1!==i&&this.__registerHost()}render(){const i=this.tiers&&this.tiers.length>0;return c("section",{key:"0fa9667baca6787cb1582a4a1bf02ea75ebc5c03",class:"forja-pricing","aria-label":a(this.sectionTitle,"Pricing")},c("slot",{key:"acb3184a17e40f128bb4173023fe94b0e909f96f",name:"before"}),(this.sectionTitle||this.text)&&c("div",{key:"e8933bfc5fc73375546d36b75fa6b4b33876da00",class:"forja-pricing__header"},this.sectionTitle&&c("h2",{key:"8c91a9833c83e0bbb025a75e4b0143becf7f6b99",class:"forja-pricing__title"},this.sectionTitle),this.text&&c("div",{key:"1fb8805e9555f246cc0d12d74f73c549c2f7c377",class:"forja-pricing__text",innerHTML:r(this.text)})),c("div",{class:"forja-pricing__tiers",role:"list","data-columns":this.columns},i?this.tiers.map((i=>c("div",{class:"forja-pricing__tier"+(i.highlighted?" forja-pricing__tier--highlighted":""),role:"listitem"},c("h3",{class:"forja-pricing__tier-name"},i.name),c("div",{class:"forja-pricing__price"},c("span",{class:"forja-pricing__amount"},i.price),i.period&&c("span",{class:"forja-pricing__period"},i.period)),i.description&&c("p",{class:"forja-pricing__description"},i.description),i.features&&i.features.length>0&&c("ul",{class:"forja-pricing__features"},i.features.map((i=>c("li",{class:"forja-pricing__feature"},i)))),i.buttonText&&i.buttonHref&&c("a",{href:i.buttonHref,class:"forja-pricing__cta"},i.buttonText)))):c("slot",null)),c("slot",{key:"c8d3a75d234e7bf5eafbf540f31d24bcf412ee6c",name:"after"}))}},[260,"forja-pricing",{sectionTitle:[1,"section-title"],text:[1],tiers:[16],columns:[2]}]);function f(){"undefined"!=typeof customElements&&["forja-pricing"].forEach((s=>{"forja-pricing"===s&&(customElements.get(i(s))||customElements.define(i(s),t))}))}f();const o=t,n=f;export{o as ForjaPricing,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as s,p as t,H as a,h as e}from"./p-
|
|
1
|
+
import{t as s,p as t,H as a,h as e}from"./p-4VcdhKkr.js";import{s as c}from"./p-Bz80byMy.js";import{s as o}from"./p-CTbyYfdB.js";const r=t(class extends a{constructor(s){super(),!1!==s&&this.__registerHost()}render(){const s=this.items&&this.items.length>0;return e("section",{key:"119d627bafc46c00ba92d2cf15e45f9a21d58a75",class:"forja-projects","aria-label":o(this.sectionTitle,"Projects")},e("slot",{key:"169d7ff003c11cd6f8f19a95103becb8ac3c8059",name:"before"}),this.sectionTitle&&e("h2",{key:"586f008cae7843cdbaf25b35c2471d4b78f67fc4",class:"forja-projects__title"},this.sectionTitle),this.text&&e("div",{key:"3d1a2e7c20609d6abafcc11150dc788edaf51a8d",class:"forja-projects__text",innerHTML:c(this.text)}),s?e("div",{class:"forja-projects__grid",role:"list","data-columns":this.columns},this.items.map((s=>e("article",{class:"forja-projects__card",role:"listitem"},s.imageUrl&&e("img",{src:s.imageUrl,alt:"",class:"forja-projects__image",loading:"lazy"}),e("div",{class:"forja-projects__content"},e("div",{class:"forja-projects__header"},e("h3",{class:"forja-projects__name"},s.href?e("a",{href:s.href,class:"forja-projects__link"},s.title):s.title),s.status&&e("span",{class:"forja-projects__status"},s.status)),s.description&&e("div",{class:"forja-projects__description",innerHTML:c(s.description)}),s.tags&&s.tags.length>0&&e("ul",{class:"forja-projects__tags"},s.tags.map((s=>e("li",{class:"forja-projects__tag"},s))))))))):e("slot",null),e("slot",{key:"ff07a71746a1db326a13cbb2c3c83017e3b56b81",name:"after"}))}},[260,"forja-projects",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2]}]);function f(){"undefined"!=typeof customElements&&["forja-projects"].forEach((t=>{"forja-projects"===t&&(customElements.get(s(t))||customElements.define(s(t),r))}))}f();const i=r,l=f;export{i as ForjaProjects,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as o,h as r}from"./p-
|
|
1
|
+
import{t,p as e,H as o,h as r}from"./p-4VcdhKkr.js";import{s}from"./p-Bz80byMy.js";const a={Hero:"forja-hero",Features:"forja-features",Cta:"forja-cta",Gallery:"forja-gallery",Testimonials:"forja-testimonials",Pricing:"forja-pricing",Faq:"forja-faq",Contact:"forja-contact",Stats:"forja-stats",Team:"forja-team",Timeline:"forja-timeline",LogoCloud:"forja-logo-cloud",Newsletter:"forja-newsletter",Video:"forja-video",Divider:"forja-divider",Text:"forja-text-block",Portfolio:"forja-portfolio",TagCloud:"forja-tag-cloud",Projects:"forja-projects",Blog:"forja-blog",Legal:"forja-legal"},i=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}render(){const t=a[this.sectionType];return t?r(t,{sectionTitle:this.sectionTitle,text:this.text,imageUrl:this.imageUrl,imageAlt:this.imageAlt,buttonText:this.buttonText,buttonHref:this.buttonHref,items:this.items},r("slot",null)):r("section",{class:"forja-custom"},this.sectionTitle&&r("h2",{class:"forja-custom__title"},this.sectionTitle),this.text&&r("div",{class:"forja-custom__text",innerHTML:s(this.text)}),r("slot",null))}},[260,"forja-section-renderer",{sectionType:[1,"section-type"],sectionTitle:[1,"section-title"],text:[1],imageUrl:[1,"image-url"],imageAlt:[1,"image-alt"],buttonText:[1,"button-text"],buttonHref:[1,"button-href"],items:[16],settings:[16]}]);function l(){"undefined"!=typeof customElements&&["forja-section-renderer"].forEach((e=>{"forja-section-renderer"===e&&(customElements.get(t(e))||customElements.define(t(e),i))}))}l();const n=i,f=l;export{n as ForjaSectionRenderer,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as s,p as t,H as a,h as e}from"./p-
|
|
1
|
+
import{t as s,p as t,H as a,h as e}from"./p-4VcdhKkr.js";import{s as o}from"./p-Bz80byMy.js";import{s as f}from"./p-CTbyYfdB.js";const c=t(class extends a{constructor(s){super(),!1!==s&&this.__registerHost()}render(){const s=this.items&&this.items.length>0,t=["forja-stats",this.statsStyle&&"forja-stats--"+this.statsStyle].filter(Boolean).join(" ");return e("section",{key:"16d26cffee661393f90a1195ff57c4b30c66bc15",class:t,"aria-label":f(this.sectionTitle,"Statistics")},e("slot",{key:"51e46f4d758f9342bfe2aed682b8a4ff1f1e269d",name:"before"}),this.sectionTitle&&e("h2",{key:"2e1be227a21fd525516d900243160a1a27717dbe",class:"forja-stats__title"},this.sectionTitle),this.text&&e("div",{key:"dd85a0cd774a9414279ed3fe9a08596ad87e9deb",class:"forja-stats__text",innerHTML:o(this.text)}),s?e("dl",{class:"forja-stats__list","data-columns":this.columns},this.items.map((s=>e("div",{class:"forja-stats__item"},e("dd",{class:"forja-stats__value"},s.value),e("dt",{class:"forja-stats__label"},s.label))))):e("slot",null),e("slot",{key:"06f60fda6b1fcd094c5c8884590166fe596bd6ad",name:"after"}))}},[260,"forja-stats",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2],statsStyle:[1,"stats-style"]}]);function i(){"undefined"!=typeof customElements&&["forja-stats"].forEach((t=>{"forja-stats"===t&&(customElements.get(s(t))||customElements.define(s(t),c))}))}i();const l=c,d=i;export{l as ForjaStats,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a,p as s,H as t,h as l}from"./p-
|
|
1
|
+
import{t as a,p as s,H as t,h as l}from"./p-4VcdhKkr.js";import{s as e}from"./p-Bz80byMy.js";import{s as o}from"./p-CTbyYfdB.js";const c=s(class extends t{constructor(a){super(),!1!==a&&this.__registerHost()}render(){const a=this.tags&&this.tags.length>0;return l("section",{key:"30388284d5f25b7cc10c074bf710b4a375ef57b1",class:"forja-tag-cloud","aria-label":o(this.sectionTitle,"Tags")},l("slot",{key:"492399e2cb8e3b0da1324d205d7a66fff097e9ba",name:"before"}),this.sectionTitle&&l("h2",{key:"e3797744d9a6d6d1775fb10190a439d2c45e633f",class:"forja-tag-cloud__title"},this.sectionTitle),this.text&&l("div",{key:"f21a62fb8fa9711116eb7aad508f6d685b245f6e",class:"forja-tag-cloud__text",innerHTML:e(this.text)}),a?l("nav",{class:"forja-tag-cloud__nav","aria-label":"Tags"},l("ul",{class:"forja-tag-cloud__list",role:"list"},this.tags.map((a=>l("li",{class:"forja-tag-cloud__item"},a.href?l("a",{href:a.href,class:"forja-tag-cloud__tag"},l("span",{class:"forja-tag-cloud__label"},a.label),null!=a.count&&l("span",{class:"forja-tag-cloud__count","aria-label":a.count+" items"},"(",a.count,")")):l("span",{class:"forja-tag-cloud__tag"},l("span",{class:"forja-tag-cloud__label"},a.label),null!=a.count&&l("span",{class:"forja-tag-cloud__count","aria-label":a.count+" items"},"(",a.count,")"))))))):l("slot",null),l("slot",{key:"98f74d72091ce7a6cf83ace8cbef942ae79dd7e8",name:"after"}))}},[260,"forja-tag-cloud",{sectionTitle:[1,"section-title"],text:[1],tags:[16]}]);function f(){"undefined"!=typeof customElements&&["forja-tag-cloud"].forEach((s=>{"forja-tag-cloud"===s&&(customElements.get(a(s))||customElements.define(a(s),c))}))}f();const r=c,d=f;export{r as ForjaTagCloud,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as s,H as a,h as t}from"./p-
|
|
1
|
+
import{t as e,p as s,H as a,h as t}from"./p-4VcdhKkr.js";import{s as o}from"./p-Bz80byMy.js";import{s as c}from"./p-CTbyYfdB.js";const r=s(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.showRole=!0,this.showBio=!0}render(){const e=this.members&&this.members.length>0;return t("section",{key:"ea2d15e45c674d472ec5a15898e96c3594e94339",class:"forja-team","aria-label":c(this.sectionTitle,"Team")},t("slot",{key:"f383085ab54f1bfc96163725468c2fd23f78ccd1",name:"before"}),this.sectionTitle&&t("h2",{key:"ce535389de00e3c85eda72f45aac8122eaf0e315",class:"forja-team__title"},this.sectionTitle),this.text&&t("div",{key:"092692887fcae1f16af695f0aa576079ee0fab22",class:"forja-team__text",innerHTML:o(this.text)}),e?t("ul",{class:"forja-team__grid",role:"list","data-columns":this.columns},this.members.map((e=>t("li",{class:"forja-team__member"},e.imageUrl&&t("figure",{class:"forja-team__photo"},t("img",{src:e.imageUrl,alt:e.name,class:"forja-team__image",loading:"lazy"})),t("h3",{class:"forja-team__name"},e.name),this.showRole&&e.role&&t("p",{class:"forja-team__role"},e.role),this.showBio&&e.bio&&t("p",{class:"forja-team__bio"},e.bio))))):t("slot",null),t("slot",{key:"345b8cb5ba4322d9a39b087fa5b7a3647c9f8b3e",name:"after"}))}},[260,"forja-team",{sectionTitle:[1,"section-title"],text:[1],members:[16],columns:[2],showRole:[4,"show-role"],showBio:[4,"show-bio"]}]);function i(){"undefined"!=typeof customElements&&["forja-team"].forEach((s=>{"forja-team"===s&&(customElements.get(e(s))||customElements.define(e(s),r))}))}i();const f=r,m=i;export{f as ForjaTeam,m as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as s,p as t,H as a,h as e}from"./p-
|
|
1
|
+
import{t as s,p as t,H as a,h as e}from"./p-4VcdhKkr.js";import{s as i}from"./p-Bz80byMy.js";import{s as o}from"./p-CTbyYfdB.js";const l=t(class extends a{constructor(s){super(),!1!==s&&this.__registerHost()}render(){const s=this.items&&this.items.length>0;return e("section",{key:"4cd7db1d63d4841f6907c1d4b765cdf873993ed0",class:"forja-testimonials","aria-label":o(this.sectionTitle,"Testimonials")},e("slot",{key:"52906ccd7177f318637f84ea3a00950e5ed05cc0",name:"before"}),this.sectionTitle&&e("h2",{key:"bdab4a7059ec36ff2451472dac1a3255d5064a1a",class:"forja-testimonials__title"},this.sectionTitle),this.text&&e("div",{key:"26408ec662085ace7ef3d57569750829163f006d",class:"forja-testimonials__text",innerHTML:i(this.text)}),e("div",{class:"forja-testimonials__list",role:"list","data-columns":this.columns},s?this.items.map((s=>e("blockquote",{class:"forja-testimonials__item",role:"listitem"},e("p",{class:"forja-testimonials__quote"},s.quote),e("footer",{class:"forja-testimonials__attribution"},s.avatarUrl&&e("img",{src:s.avatarUrl,alt:"",class:"forja-testimonials__avatar",loading:"lazy"}),e("cite",{class:"forja-testimonials__author"},e("span",{class:"forja-testimonials__name"},s.author),s.role&&e("span",{class:"forja-testimonials__role"},s.role)))))):e("slot",null)),e("slot",{key:"871d917e08a3c7e375d9bcab16265e891ec1c1ce",name:"after"}))}},[260,"forja-testimonials",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2]}]);function c(){"undefined"!=typeof customElements&&["forja-testimonials"].forEach((t=>{"forja-testimonials"===t&&(customElements.get(s(t))||customElements.define(s(t),l))}))}c();const n=l,r=c;export{n as ForjaTestimonials,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as s,h as o}from"./p-
|
|
1
|
+
import{t,p as e,H as s,h as o}from"./p-4VcdhKkr.js";import{s as a}from"./p-Bz80byMy.js";import{s as c}from"./p-CTbyYfdB.js";const f=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.width="default",this.alignment="left"}render(){return o("section",{key:"acd5fa21ff60f2d9cb58b47f5f315232fe911ded",class:["forja-text","forja-text--"+this.width,"forja-text--"+this.alignment].join(" "),"aria-label":c(this.sectionTitle,"Content")},o("slot",{key:"23f5c5889e2c7c2f715fb4692d535381992593b5",name:"before"}),this.sectionTitle&&o("h2",{key:"400dee8b59d1e7225829a6b3343c25ebdc254748",class:"forja-text__title"},this.sectionTitle),this.text?o("div",{class:"forja-text__content",innerHTML:a(this.text)}):o("div",{class:"forja-text__content"},o("slot",null)),o("slot",{key:"053bd1a5cf2325211486a40e98c4c4878372a85e",name:"after"}))}},[260,"forja-text-block",{sectionTitle:[1,"section-title"],text:[1],width:[1],alignment:[1]}]);function n(){"undefined"!=typeof customElements&&["forja-text-block"].forEach((e=>{"forja-text-block"===e&&(customElements.get(t(e))||customElements.define(t(e),f))}))}n();const r=f,i=n;export{r as ForjaTextBlock,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as s,h as i}from"./p-
|
|
1
|
+
import{t as e,p as t,H as s,h as i}from"./p-4VcdhKkr.js";import{s as a}from"./p-Bz80byMy.js";import{s as l}from"./p-CTbyYfdB.js";const n=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.layout="vertical",this.showDates=!0}render(){const e=this.events&&this.events.length>0;return i("section",{key:"66d51cf72ef9810181e94598c5548ce030f38000",class:["forja-timeline","forja-timeline--"+this.layout].join(" "),"aria-label":l(this.sectionTitle,"Timeline")},i("slot",{key:"4ab32a6ed128de236776736bf6827ec5c4cb3e81",name:"before"}),this.sectionTitle&&i("h2",{key:"dadfa8106adbeb8d8e9235d85fa1fd09b43e6403",class:"forja-timeline__title"},this.sectionTitle),this.text&&i("div",{key:"44e8678d051475a3d0bfd2cb74914920dd8a87d2",class:"forja-timeline__text",innerHTML:a(this.text)}),e?i("ol",{class:"forja-timeline__list"},this.events.map((e=>i("li",{class:"forja-timeline__item"},this.showDates&&e.date&&i("time",{class:"forja-timeline__date"},e.date),i("h3",{class:"forja-timeline__event-title"},e.title),e.text&&i("div",{class:"forja-timeline__event-text",innerHTML:a(e.text)}))))):i("slot",null),i("slot",{key:"60c0f3db4c8d00bfa49199058822eaf83fecbc4c",name:"after"}))}},[260,"forja-timeline",{sectionTitle:[1,"section-title"],text:[1],events:[16],layout:[1],showDates:[4,"show-dates"]}]);function o(){"undefined"!=typeof customElements&&["forja-timeline"].forEach((t=>{"forja-timeline"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}o();const c=n,f=o;export{c as ForjaTimeline,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as s,h as o}from"./p-
|
|
1
|
+
import{t as e,p as t,H as s,h as o}from"./p-4VcdhKkr.js";import{s as a}from"./p-Bz80byMy.js";import{s as i}from"./p-CTbyYfdB.js";const d=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.provider="youtube",this.autoplay=!1,this.aspectRatio="16:9"}getAspectClass(){return{"16:9":"forja-video--16-9","4:3":"forja-video--4-3","1:1":"forja-video--1-1"}[this.aspectRatio]||"forja-video--16-9"}isSelfHosted(){return"self-hosted"===this.provider}render(){const e=["forja-video",this.getAspectClass()].join(" ");return o("section",{key:"92b7b2eeb9dbd52e247a7d70107ffbf693ffaf0f",class:e,"aria-label":i(this.sectionTitle,"Video")},o("slot",{key:"c68fc47e18569abfb4443f8d651669c0e31d8dba",name:"before"}),this.sectionTitle&&o("h2",{key:"1120b255666256f2ca82c4c6c18317c917a3a7ec",class:"forja-video__title"},this.sectionTitle),this.text&&o("div",{key:"fe22b0b6e8c3da99bff6294214d00237067b656b",class:"forja-video__text",innerHTML:a(this.text)}),this.videoUrl&&o("figure",{key:"a58dc5b318f4f8d2a9192d1ccf19dda4af485e8a",class:"forja-video__container"},this.isSelfHosted()?o("video",{class:"forja-video__player",src:this.videoUrl,controls:!0,autoplay:this.autoplay},o("track",{kind:"captions"})):o("iframe",{class:"forja-video__embed",src:this.autoplay?this.videoUrl+"?autoplay=1":this.videoUrl,title:this.sectionTitle||"Embedded video",allowFullScreen:!0,loading:"lazy"})),o("slot",{key:"58adbc175cda23db8067b3bc61ac93aa1cf4b77f",name:"after"}))}},[260,"forja-video",{sectionTitle:[1,"section-title"],text:[1],videoUrl:[1,"video-url"],provider:[1],autoplay:[4],aspectRatio:[1,"aspect-ratio"]}]);function r(){"undefined"!=typeof customElements&&["forja-video"].forEach((t=>{"forja-video"===t&&(customElements.get(e(t))||customElements.define(e(t),d))}))}r();const c=d,f=r;export{c as ForjaVideo,f as defineCustomElement}
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-4VcdhKkr.js";export{a as sectionId,s as sectionLabel}from"./p-CTbyYfdB.js";const e={CookieConsent:"Cookie Consent",PrivacyPolicy:"Privacy Policy",TermsOfService:"Terms of Service",Imprint:"Imprint",Disclaimer:"Disclaimer"};export{e as LEGAL_DOC_TYPE_LABELS}
|