cortex-react-components 1.58.15 → 1.58.17
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-WS7KVMBD.mjs → chunk-2DRA2JUL.mjs} +1 -1
- package/dist/{chunk-OJPHYSRN.mjs → chunk-2SU53XDR.mjs} +1 -1
- package/dist/{chunk-GS6REPGR.mjs → chunk-33XQWQMI.mjs} +1 -1
- package/dist/{chunk-5R6RDKPM.mjs → chunk-54KD76ZN.mjs} +1 -1
- package/dist/{chunk-NAFLGLUH.mjs → chunk-5DXRJRTM.mjs} +1 -1
- package/dist/{chunk-PSS2FETK.mjs → chunk-5RWBSILW.mjs} +1 -1
- package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-DAGQN4Z6.mjs → chunk-AKDRRMRI.mjs} +1 -1
- package/dist/{chunk-7BDOJ7CJ.mjs → chunk-BOHSY6NI.mjs} +2 -2
- package/dist/{chunk-Z4ZT6GYG.mjs → chunk-BYZ4NRRL.mjs} +1 -1
- package/dist/chunk-CPYGWXVD.mjs +4 -0
- package/dist/{chunk-L2QAYSRV.mjs → chunk-D4DEMLBK.mjs} +1 -1
- package/dist/{chunk-DFB6DJCW.mjs → chunk-D7A7EUEW.mjs} +1 -1
- package/dist/{chunk-GDPMCDFU.mjs → chunk-DRGHFIP7.mjs} +1 -1
- package/dist/{chunk-DVG7V2D5.mjs → chunk-FWPFJZ32.mjs} +1 -1
- package/dist/{chunk-LJUAZXPJ.mjs → chunk-GMMOYW6M.mjs} +1 -1
- package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
- package/dist/{chunk-DBTRHKQY.mjs → chunk-HO2PBXWH.mjs} +1 -1
- package/dist/{chunk-HIKVPWXI.mjs → chunk-HPP3UQ6U.mjs} +1 -1
- package/dist/{chunk-PIQO2JYU.mjs → chunk-HRDTKV2Q.mjs} +1 -1
- package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
- package/dist/{chunk-HAZDK6PL.mjs → chunk-LHZJP2HP.mjs} +1 -1
- package/dist/{chunk-Q7ZHHNBX.mjs → chunk-NVOQGYLH.mjs} +1 -1
- package/dist/{chunk-ICUYDAWD.mjs → chunk-OBWF5RTH.mjs} +1 -1
- package/dist/{chunk-ODFTG4RA.mjs → chunk-OIMBQDJ4.mjs} +1 -1
- package/dist/chunk-OSVVVAXG.mjs +1 -0
- package/dist/{chunk-VCFSXB6G.mjs → chunk-PIP466DA.mjs} +1 -1
- package/dist/{chunk-GZTFQGAM.mjs → chunk-PKPTHSFC.mjs} +1 -1
- package/dist/chunk-PQD3U3OE.mjs +4 -0
- package/dist/{chunk-L2NSGMYJ.mjs → chunk-PQM5NMX3.mjs} +1 -1
- package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
- package/dist/{chunk-F55C2C5H.mjs → chunk-RQ23CZK5.mjs} +1 -1
- package/dist/{chunk-3BBZH3T3.mjs → chunk-TZE7RZAV.mjs} +1 -1
- package/dist/{chunk-UHGT3C3Z.mjs → chunk-U4XJNVLC.mjs} +1 -1
- package/dist/{chunk-GF5MPF6G.mjs → chunk-UXSOHV6O.mjs} +1 -1
- package/dist/{chunk-JBCEMKJL.mjs → chunk-VXKAXALA.mjs} +1 -1
- package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.js +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.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/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -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 +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +2 -2
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +5 -5
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +7 -7
- 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 +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -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 +2 -2
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +2 -2
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +212 -212
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +2 -2
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +2 -2
- package/dist/sections/BlogList.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 +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +2 -2
- 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 +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +2 -2
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-43ACYIK2.mjs +0 -4
- package/dist/chunk-ETMOSNVH.mjs +0 -1
- package/dist/chunk-J6LNPBSP.mjs +0 -4
package/dist/chunk-43ACYIK2.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{f as m}from"./chunk-J6LNPBSP.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-FCCL6W7R.mjs";import{a as c}from"./chunk-4YUYG6QU.mjs";import h from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var x=({links:r,media:t,children:l,richText:a})=>e("div",{children:i("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[i("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[l||a&&e(m,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},p)=>e("li",{children:e(o,{...n})},p))})]}),i("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(c,{className:"text-black z-10",position:"header"})]})});export{x as a};
|
package/dist/chunk-ETMOSNVH.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-SV7NMNDI.mjs";import{f as l,g as m}from"./chunk-J6LNPBSP.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as p}from"react/jsx-runtime";function v({services:a,className:f,title:r,content:i}){let d={settings:{width:"full",card:"light"}};return p("div",{className:"pb-4 md:pb-0",children:[p("div",{className:o("w-full text-left prose"),children:[r&&e("h2",{className:"text-primary",children:r}),e("div",{className:"pb-12 ",children:i&&e(l,{enableGutter:!1,content:i,enableProse:!1,className:o("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-between gap-y-4",children:a.map((t,s)=>e("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],s),className:"w-full h-[44vh] md:h-[40vh] md:px-4 md:w-1/2 lg:w-1/3",children:e(m,{...d,icon:{type:"none"},title:t.title,image:t.image,content:t.content,link:t.link})},s))})]})}export{v as a};
|
package/dist/chunk-J6LNPBSP.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as b}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-L2QAYSRV.mjs";import{a as F}from"./chunk-2A6JF3LE.mjs";import{a as D}from"./chunk-4YJ3HV64.mjs";import{a as R}from"./chunk-Z2PPN7EJ.mjs";import{b as I}from"./chunk-BDX257W2.mjs";import{a as x}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as q}from"react";import{jsx as d,jsxs as w}from"react/jsx-runtime";var ie=({links:a,richText:e})=>d("div",{className:"container",children:w("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:[d("div",{className:"max-w-[48rem] flex items-center",children:e&&d(f,{className:"mb-0",content:e,enableGutter:!1})}),d("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>d(b,{size:"lg",...t},s))})]})}),z=({links:a,richText:e})=>{let[t,s]=q(!1),c="accent",r=()=>s(!0),o=()=>s(!1),u=n=>{n.target===n.currentTarget&&o()};return w("div",{className:l("relative isolate overflow-hidden",c==="accent"?"bg-accent":"bg-black"),children:[d("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:w("div",{className:"mx-auto max-w-2xl text-center prose",children:[e&&d(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:e,enableGutter:!1}),d("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:d("div",{className:"flex flex-col gap-8 text-white",children:(a||[]).map(({link:n},y)=>(n==null?void 0:n.url)==="/contact"?d("div",{onClick:r,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",c==="accent"?"border-white bg-accent":"border-accent bg-black"),children:n.label},y):d(b,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",c==="accent"?"border-white bg-accent":"border-accent bg-black"),...n},y))})})]})}),t&&d("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:w("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[d("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),d(S,{})," "]})})]})};import K from"next/image";import{jsx as p,jsxs as B}from"react/jsx-runtime";function A(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function C({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:u,className:n}){var k,v;let y={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 B("a",{href:(u==null?void 0:u.url)||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 pb-4":"p-8",o&&!a&&y[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",N[(k=o==null?void 0:o.width)!=null?k:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,n),children:[a&&p("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0 pt-2",children:p(K,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),B("div",{className:l(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&&p("div",{className:"mb-4 text-primary uppercase font-light",children:s}),p("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:p(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:(o==null?void 0:o.card)==="default"?"solid":(v=o==null?void 0:o.card)!=null?v:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&p("div",{className:"mb-6",children:p("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&p(f,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&p("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:c}),(o==null?void 0:o.card)==="radial"&&p("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"?B("div",{className:"flex items-start justify-between w-full mb-2",children:[p("div",{className:l(t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),A(a)&&p("div",{className:l("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:p(x,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?B("div",{className:"flex flex-col gap-4",children:[A(a)&&p("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:p(x,{type:a.type,iconName:a.iconName,size:"4x"})}),p("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl text-white"),children:e})]}):p("div",{className:"flex items-center gap-4 mb-2",children:p("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as P}from"react/jsx-runtime";function M(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function he({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:u,content:n,statistic:y,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:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return P("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",v[a],a==="outline"?"text-gray-900":"text-white",e,j[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(V,{icon:t,heading:o,variant:a,iconSize:s})}),y&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:y})}),u&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),n&&typeof n=="object"&&m("div",{className:l("space-y-6"),children:m(f,{enableGutter:!1,content:n,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),n&&typeof n=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:n}),N&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(I,{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 V=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?P("div",{className:"flex items-start gap-4 mb-2",children:[M(a)&&m("div",{className:l("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(x,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?P("div",{className:"flex flex-col gap-4",children:[M(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(x,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("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:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as g,jsxs as L}from"react/jsx-runtime";var E=({title:a,description:e,features:t,id:s,nested:c=!1})=>L("section",{className:l(c?"w-full":"container",""),children:[L("div",{className:"prose prose:max-w-none",children:[a&&g("h2",{className:"mb-6 mt-0 text-primary",id:s||"",children:a}),e&&typeof e=="string"&&g("p",{className:"mb-5 text-foreground",children:e}),e&&typeof e=="object"&&g("div",{className:"mb-5 text-foreground",children:g(f,{content:e,enableGutter:!1})})]}),g("div",{className:`grid gap-6 mt-6 md:grid-cols-${t?t.length>2?2:t.length:1} lg:grid-cols-${t?t.length>3?3:t.length:1}`,children:t&&t.map((r,o)=>{var n;let u=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return g(C,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:o},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(n=u())!=null?n:{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as i}from"react/jsx-runtime";function h({nodes:a}){return i(Y,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(W.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,o)=>i("tr",{children:r.children.map((u,n)=>i("td",{children:h({nodes:u.children})},n))},o))})},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 o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return h({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(z,{...r},t);case"mediaBlock":return i(F,{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(D,{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(H,{className:"col-start-2 mb-4",...r},t);case"code":return i(R,{className:"col-start-2",...r},t);case"features":return i(E,{...r,nested:!0},t);case"reusableContentBlock":h({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 Z}from"react/jsx-runtime";var f=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Z("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&h({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as T}from"react/jsx-runtime";var H=({className:a,content:e,style:t})=>T("div",{className:l("mx-auto my-8 w-full",a),children:T("div",{className:l("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:T(f,{content:e,enableGutter:!1,enableProse:!1})})});export{H as a,ie as b,z as c,E as d,h as e,f,C as g,he as h};
|