cortex-react-components 1.56.3 → 1.57.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/{chunk-UBA3ZRKC.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-43TBC2ZH.mjs → chunk-266LJXBZ.mjs} +1 -1
- package/dist/{chunk-5YTDIEDJ.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-B4QA2TFN.mjs → chunk-2PGNGIFG.mjs} +1 -1
- package/dist/chunk-34BK5A3H.mjs +1 -0
- package/dist/{chunk-J6MXBTXI.mjs → chunk-65KHY3N2.mjs} +1 -1
- package/dist/{chunk-QYDMXCQU.mjs → chunk-7VF6TVAW.mjs} +1 -1
- package/dist/{chunk-SXSHRH5V.mjs → chunk-BGOXSZO2.mjs} +1 -1
- package/dist/{chunk-NOLDWELD.mjs → chunk-D44ZXHH4.mjs} +1 -1
- package/dist/{chunk-32GUWMNB.mjs → chunk-D7A7EUEW.mjs} +1 -1
- package/dist/{chunk-Z7CSQAWG.mjs → chunk-DCNOQTXQ.mjs} +1 -1
- package/dist/{chunk-RKVMVZU2.mjs → chunk-DQEHH4CP.mjs} +1 -1
- package/dist/chunk-E2GQ2UH4.mjs +1 -0
- package/dist/{chunk-67XI2VEX.mjs → chunk-F6DSJZ6G.mjs} +1 -1
- package/dist/{chunk-L67K44RY.mjs → chunk-FSYU6GF6.mjs} +1 -1
- package/dist/{chunk-JSNDDVUF.mjs → chunk-GFBRIWHO.mjs} +1 -1
- package/dist/{chunk-AAI2VZST.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/{chunk-VADDCWLR.mjs → chunk-KGFHW5KZ.mjs} +1 -1
- package/dist/{chunk-WBRVYXOC.mjs → chunk-NLU4IHO6.mjs} +1 -1
- package/dist/{chunk-KZIPZL2R.mjs → chunk-NUKPO5ZV.mjs} +1 -1
- package/dist/{chunk-F6O436OS.mjs → chunk-OPCNQTDN.mjs} +1 -1
- package/dist/{chunk-PKNQCNMD.mjs → chunk-OPV35HTE.mjs} +1 -1
- package/dist/chunk-P5QTMPTP.mjs +1 -0
- package/dist/chunk-PDUZAE2B.mjs +4 -0
- package/dist/chunk-PKAWVXZZ.mjs +4 -0
- package/dist/{chunk-KEUZSK3N.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-F55C2C5H.mjs → chunk-RQ23CZK5.mjs} +1 -1
- package/dist/{chunk-U7AONVNL.mjs → chunk-RXNOA32M.mjs} +1 -1
- package/dist/{chunk-IMFTPKPG.mjs → chunk-SEYRH7IM.mjs} +1 -1
- package/dist/{chunk-5JIRX57M.mjs → chunk-TZE7RZAV.mjs} +1 -1
- package/dist/{chunk-E7V3UXSY.mjs → chunk-WFGGJBQS.mjs} +1 -1
- package/dist/{chunk-OMRTVOZ4.mjs → chunk-XDWPQKFP.mjs} +1 -1
- package/dist/{chunk-Y73D5IQQ.mjs → chunk-XZLY4ZDO.mjs} +2 -2
- package/dist/{chunk-4PPO2TP6.mjs → chunk-YC53LS6B.mjs} +1 -1
- package/dist/{chunk-4B76XRQC.mjs → chunk-Z7GQVIJO.mjs} +1 -1
- package/dist/{chunk-26C6ONSL.mjs → chunk-ZWII7FHR.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +2 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.d.ts +1 -0
- package/dist/components/Blocks/CallToAction.js +2 -1
- package/dist/components/Blocks/CallToAction.mjs +2 -1
- package/dist/components/Blocks/CallToAction.stories.js +2 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +2 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +2 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +2 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +2 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +2 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +2 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +2 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +2 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +2 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +2 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +2 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +2 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +2 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +2 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +5 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +2 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +2 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +2 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +2 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +2 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +2 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +2 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +3 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +3 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +2 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +4 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -3
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +6 -5
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +2 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +2 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +2 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +2 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +8 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +13 -13
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +2 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +2 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +2 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +222 -221
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +6 -5
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +6 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +6 -5
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +2 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +2 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +2 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +2 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +2 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +4 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +4 -3
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +2 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +2 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +2 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.js +2 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +2 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +2 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +2 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +2 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5V2OYZ3Q.mjs +0 -4
- package/dist/chunk-6ZESQNYQ.mjs +0 -1
- package/dist/chunk-CELZCB5S.mjs +0 -1
- package/dist/chunk-OETJG2WV.mjs +0 -1
- package/dist/chunk-QU42VZ2D.mjs +0 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.57.0",
|
|
6
6
|
"description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
package/dist/chunk-5V2OYZ3Q.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as b}from"./chunk-SXSHRH5V.mjs";import{a as k,b as S}from"./chunk-VADDCWLR.mjs";import{a as w}from"./chunk-Y73D5IQQ.mjs";import{a as P}from"./chunk-BZAYEKYC.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as x}from"./chunk-S5VKLW23.mjs";import{a as h}from"./chunk-IMFTPKPG.mjs";import{a as g}from"./chunk-J6MXBTXI.mjs";import{a as v}from"./chunk-26C6ONSL.mjs";import{e as d}from"./chunk-CELZCB5S.mjs";import{a as u}from"./chunk-FCCL6W7R.mjs";import{a as N}from"./chunk-E6MYDQ3V.mjs";import{a as y}from"./chunk-F55C2C5H.mjs";import{a as s}from"./chunk-LCJIXE22.mjs";import{a as f}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import L from"next/image";import z from"next/link";import{jsx as a,jsxs as j}from"react/jsx-runtime";var Y=({dynamicServiceDetail:t,style:i})=>t.map((o,p)=>a(c,{id:o.slug,theme:p%2===0?"dark":"light",style:i,children:a("div",{className:"container",children:j("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[j("div",{className:n("w-full text-left"),children:[a("h2",{className:"text-3xl md:text-5xl text-primary",children:o.title}),a("div",{className:"mt-4 text-gray-700 text-lg",children:a(d,{enableGutter:!1,content:o.description,enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),a("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:a(z,{href:`/${o.slug}`,children:"Learn more"})})]}),o.icon&&typeof o.icon=="object"&&"type"in o.icon&&"iconName"in o.icon&&a("div",{className:n("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:a("i",{className:`${o.icon.type} fa-${o.icon.iconName} fa-10x w-1/2 h-full text-foreground fill-gradient-linear`,style:{width:"50%"}})})]})})},p));import{jsx as e,jsxs as r}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),D=({children:t})=>e("div",{children:r("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),I=()=>r(D,{children:[r("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(f,{children:r("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-6xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),T={highImpact:v,lowImpact:h,mediumImpact:g,sectionHero:x,dummy:I};function M({...t}){let i=t.style;return r("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(y,{isMenuOpen:!0,logoLight:P,logoDark:C,...t.header}),e(F,{...t.hero}),e(c,{theme:"light",style:i,children:e(b,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(R,{})}),e(c,{theme:"light",style:i,children:e(R,{})}),e(c,{theme:"dark",style:i,children:e(k,{...t.contact})}),e(c,{theme:"light",style:i,children:e(S,{...t.contact})}),e(c,{theme:"last",style:i,children:e(w,{...t.blog})}),e(N,{...t.footer})]})}var F=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let o=T[i];return o?e(o,{...t}):null},R=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:r("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[r("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(d,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(L,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:o,neighbours:p,shape:B,image:G,id:l})=>{let $=m=>r("div",{className:"select-none",children:[m&&typeof m=="object"&&e(u,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&e("div",{children:e(L,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:m})})]});if(i==="dark"&&o==="slide")return e("section",{id:l||"next-section",className:"sticky md:top-0 h-screen",children:r("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),r("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"dark-bottom"})]})]})});if(i==="light"&&o==="slide")return e("section",{id:l||"next-section",className:"sticky top-0 light pt-0 h-screen",children:r("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),r("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:l||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:r("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:l||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background min-h-[50vh]",children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:l||"next-section",className:"",children:r("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:l||"next-section",className:"",children:r("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{M as a,c as b,Y as c};
|
package/dist/chunk-6ZESQNYQ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as r}from"./chunk-CELZCB5S.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function d({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:c=!1}){let l=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},m);return p("div",{className:l,children:[s&&t("span",{className:"mb-[.625rem] block text-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary text-2xl md:text-4xl"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{d as a};
|
package/dist/chunk-CELZCB5S.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as j,j as E,k as H,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as b}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-2A6JF3LE.mjs";import{a as R}from"./chunk-4YJ3HV64.mjs";import{a as I}from"./chunk-2NFKSNJW.mjs";import{b as T}from"./chunk-BDX257W2.mjs";import{a as f}from"./chunk-SFLOMJ2U.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as x,jsxs as U}from"react/jsx-runtime";var F=({links:a,richText:e})=>x("div",{className:"container",children:U("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[x("div",{className:"max-w-[48rem] flex items-center",children:e&&x(u,{className:"mb-0",content:e,enableGutter:!1})}),x("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>x(b,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function B({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:l,link:p,className:d}){var k,v;let h={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return w("div",{className:o("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",l&&!a&&h[(l==null?void 0:l.card)==="default"?"solid":l==null?void 0:l.card],a&&"bg-foreground",l&&(l==null?void 0:l.card)==="outline"?"text-gray-900":"text-white",N[(k=l==null?void 0:l.width)!=null?k:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,d),children:[a&&n("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:o(a?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:n(q,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(l==null?void 0:l.card)==="default"?"solid":(v=l==null?void 0:l.card)!=null?v:"solid",iconSize:(l==null?void 0:l.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:c}),p&&p.url&&n("div",{className:"pt-6 h-full flex items-end justify-start",children:n("a",{className:"text-accent justify-start font-semibold uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(l==null?void 0:l.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var q=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),D(a)&&n("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"-mr-2 ml-1 mt-1":""),children:n(f,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[D(a)&&n("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(f,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:o("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:o("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as C}from"react/jsx-runtime";function z(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function de({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:l,subheading:p,content:d,statistic:h,buttonText:N,buttonHref:k}){let v={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return C("div",{className:o("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",v[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(O,{icon:t,heading:l,variant:a,iconSize:s})}),h&&m("div",{className:"mb-6",children:m("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:h})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:o("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:o(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:o("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),N&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(T,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:k,children:N})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var O=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?C("div",{className:"flex items-start gap-4 mb-2",children:[z(a)&&m("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(f,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?C("div",{className:"flex flex-col gap-4",children:[z(a)&&m("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(f,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as y,jsxs as K}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>K("section",{className:o(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&y("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&y("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&y("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:y(u,{content:e,enableGutter:!1})}),y("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,l)=>{var d;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return y(B,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:l},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(d=p())!=null?d:{type:"none",icon:null}},l)})})]});import Q,{Fragment as V}from"react";import{jsx as i}from"react/jsx-runtime";function g({nodes:a}){return i(V,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(Q.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,l)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:g({nodes:p.children})},d))},l))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let l of r.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return g({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,l=r==null?void 0:r.blockType;if(!r||!l)return null;switch(l){case"cta":return i(F,{...r},t);case"mediaBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(I,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":g({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as W}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?W("div",{className:o({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&g({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as P}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>P("div",{className:o("mx-auto my-8 w-full",a),children:P("div",{className:o("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:P(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,F as b,A as c,g as d,u as e,B as f,de as g};
|
package/dist/chunk-OETJG2WV.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./chunk-F6O436OS.mjs";import{a}from"./chunk-BZAYEKYC.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a as o}from"./chunk-5G43IH3C.mjs";import{a as t}from"./chunk-F55C2C5H.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:a,logoDark:m}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
|
package/dist/chunk-QU42VZ2D.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as k}from"./chunk-B4QA2TFN.mjs";import{a as b}from"./chunk-4B76XRQC.mjs";import{b as f,c as d}from"./chunk-CELZCB5S.mjs";import{a as m}from"./chunk-2A6JF3LE.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as F}from"react";import N from"next/image";import{jsx as s,jsxs as v}from"react/jsx-runtime";var C={content:k,cta:f,mediaBlock:m,collapsibleArea:b,imageBlock:m,features:d,reusableContentBlock:B},P=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?s("section",{id:"render-blocks",className:l(a.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in C){let g=C[n];if(n==="reusableContentBlock")return s(F,{children:s(P,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[s(p,{block:t,index:r}),s("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:s(g,{...t})})]},r)}return null})}):null},p=a=>{var i,t,r,n,o;if(!("theme"in a.block))return s("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=a.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[s(N,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&s("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return s("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as R,jsx as u,jsxs as A}from"react/jsx-runtime";var B=a=>{let{customId:e,reusableContent:i}=a;return typeof i=="object"&&i!==null?u(T,{blocks:i.layout}):u(R,{})},h={content:k,cta:f,mediaBlock:m,imageBlock:m,features:d},T=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?u(R,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in h){let y=h[n];if(y)return A("div",{className:"py-6 relative",children:[u(p,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(y,{...t})})]},r)}return null})}):null};export{B as a,P as b,p as c};
|