cortex-react-components 1.9.3 → 1.11.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-WBYDQI5A.mjs → chunk-3UMXC67W.mjs} +1 -1
- package/dist/chunk-3WPEAKCQ.mjs +4 -0
- package/dist/chunk-4DJ6HKHR.mjs +1 -0
- package/dist/{chunk-Q5YMFYZ3.mjs → chunk-5EX5KVLO.mjs} +1 -1
- package/dist/{chunk-EMAMVFAE.mjs → chunk-5TTFPIXL.mjs} +1 -1
- package/dist/chunk-6FHLIH4J.mjs +1 -0
- package/dist/chunk-7GHS5JRC.mjs +1 -0
- package/dist/chunk-A5OBDLSS.mjs +4 -0
- package/dist/{chunk-ADPXM7KO.mjs → chunk-CP6IA4YZ.mjs} +1 -1
- package/dist/{chunk-SEHMQA4F.mjs → chunk-CSUTG7F5.mjs} +1 -1
- package/dist/chunk-CW7WANDA.mjs +1 -0
- package/dist/chunk-DDEPPEJ7.mjs +1 -0
- package/dist/{chunk-SIAE3HCA.mjs → chunk-FXOJ7XKV.mjs} +1 -1
- package/dist/{chunk-I2PU2ABB.mjs → chunk-LBXZO7YT.mjs} +1 -1
- package/dist/{chunk-DSTBNR32.mjs → chunk-M5X4MWJX.mjs} +1 -1
- package/dist/{chunk-GQKIQZ5T.mjs → chunk-MESSAICX.mjs} +1 -1
- package/dist/chunk-PTX3WDAE.mjs +4 -0
- package/dist/chunk-Q5NQ35NR.mjs +4 -0
- package/dist/chunk-SPDBC32Z.mjs +1 -0
- package/dist/{chunk-SEQK34KQ.mjs → chunk-VY32UTE2.mjs} +1 -1
- package/dist/{chunk-YW2XZEQD.mjs → chunk-WQF47M5N.mjs} +1 -1
- package/dist/chunk-YCT3EQRB.mjs +4 -0
- package/dist/{chunk-K6HG237V.mjs → chunk-YOB6PYJG.mjs} +1 -1
- package/dist/{chunk-NN3TSSQT.mjs → chunk-YPP62UKD.mjs} +1 -1
- package/dist/chunk-Z4MPZSVH.mjs +1 -0
- package/dist/chunk-ZVSS2NJE.mjs +4 -0
- 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/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +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.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +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/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.d.ts +3 -2
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.d.ts +3 -2
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.d.ts +4 -2
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.d.ts +6 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +1 -0
- package/dist/components/HeaderFooter/index.js +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 +2 -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.js +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/Layouts/NewsGrid.js +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +4 -4
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/AnimatedBorder.d.ts +10 -0
- package/dist/components/Other/AnimatedBorder.js +4 -0
- package/dist/components/Other/AnimatedBorder.mjs +2 -0
- package/dist/components/Other/AnimatedBorder.stories.js +4 -0
- package/dist/components/Other/AnimatedBorder.stories.mjs +1 -0
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.d.ts +3 -0
- package/dist/components/Pages/LandingPage.js +4 -0
- package/dist/components/Pages/LandingPage.mjs +2 -0
- package/dist/components/Pages/LandingPage.stories.js +439 -0
- package/dist/components/Pages/LandingPage.stories.mjs +1 -0
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +192 -192
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.d.ts +3 -0
- package/dist/components/Pages/Website.js +4 -0
- package/dist/components/Pages/Website.mjs +1 -0
- package/dist/components/Pages/Website.stories.js +439 -0
- package/dist/components/Pages/Website.stories.mjs +1 -0
- package/dist/components/Payload/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +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/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/images/cortex-reply-bw.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-3D4VGUVF.mjs +0 -4
- package/dist/chunk-5FLNXLSS.mjs +0 -1
- package/dist/chunk-6RTJNPLU.mjs +0 -1
- package/dist/chunk-CPKQIUX4.mjs +0 -1
- package/dist/chunk-HXVVB4BC.mjs +0 -4
- package/dist/chunk-KRCSP6XJ.mjs +0 -1
- package/dist/chunk-MPXKAAKQ.mjs +0 -4
- package/dist/chunk-OG6YNFOF.mjs +0 -1
- package/dist/chunk-YG4SM7B5.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.11.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-3D4VGUVF.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as i}from"./chunk-3ZEL6VBT.mjs";import{a as c}from"./chunk-YG4SM7B5.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{a as o}from"./chunk-BZAYEKYC.mjs";import{useState as f,useEffect as g}from"react";import{Menu as p,X as d}from"lucide-react";import{Fragment as b,jsx as e,jsxs as t}from"react/jsx-runtime";function S({isMenuOpen:a,setIsMenuOpen:r}){let[s,l]=f(!1);g(()=>{let n=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]);let u=()=>{r&&r(!a)};return console.log("logo: ",o),e(b,{children:e("header",{className:`fixed top-0 left-0 right-0 z-50 mx-auto transition-all duration-300 ${s||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:e(i,{children:e("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:t("div",{className:"flex items-center justify-between bg-primary px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl",children:[e(c,{logoDark:m,logoLight:o}),t("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[e("li",{children:t("a",{href:"/services",className:"relative transition-colors group",children:["Services",e("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-primary transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),e("li",{children:t("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",e("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-primary transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),e("li",{children:t("a",{href:"/about",className:"relative transition-colors group",children:["About Us",e("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-primary transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),e("li",{children:t("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",e("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-primary transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),!s&&r&&e("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:u,children:a?e(d,{className:"w-6 h-6 text-white"}):e(p,{className:"w-6 h-6 text-white"})})]})})})})})}export{S as a};
|
package/dist/chunk-5FLNXLSS.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-CPKQIUX4.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:i=!0,imgClassName:s,media:m,staticImage:c}=r;return o("div",{className:e("",{container:i},t),children:o(a,{imgClassName:e("border border-border rounded-[0.8rem]",s),resource:m,src:c})})};export{p as a};
|
package/dist/chunk-6RTJNPLU.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as m}from"./chunk-YW2XZEQD.mjs";import{a as c}from"./chunk-YAH6C5YX.mjs";import{a as o}from"./chunk-CPKQIUX4.mjs";import p from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var y=({links:r,media:t,children:l,richText:a})=>i("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mb-8 z-10 relative flex items-center justify-center",children:i("div",{className:"max-w-[36.5rem] text-center",children:[l||a&&e(m,{className:"mb-6",content:a,enableGutter:!1}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:s},n)=>e("li",{children:e(c,{...s})},n))})]})}),i("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&e(o,{fill:!0,imgClassName:"-z-10 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})})]})]});export{y as a};
|
package/dist/chunk-CPKQIUX4.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./chunk-7WBETZEV.mjs";import{a as n}from"./chunk-TFWGOEV7.mjs";import{Fragment as s}from"react";import{jsx as t}from"react/jsx-runtime";var y=o=>{var a;let{className:d,htmlElement:m="div",resource:e}=o,r=typeof e=="object"&&((a=e==null?void 0:e.mimeType)==null?void 0:a.includes("video"));return t(m||s,{...m!==null?{className:d}:{},children:r?t(n,{...o}):t(i,{...o})})};export{y as a};
|
package/dist/chunk-HXVVB4BC.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as l}from"./chunk-6RTJNPLU.mjs";import{a as s}from"./chunk-OG6YNFOF.mjs";import{a as c}from"./chunk-KRCSP6XJ.mjs";import{a as u}from"./chunk-XWTX2W5V.mjs";import{a as t,b as i,c as o,e as m}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function p({...r}){return a("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(u,{...r.header}),a("div",{className:"relative",children:[r.hero&&r.hero.type==="lowImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),e("div",{className:"container py-8",children:a("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),a("div",{className:"space-y-6",children:[a(t,{children:[e(i,{children:e(o,{children:"Quick Actions"})}),a(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),a(t,{children:[e(i,{children:e(o,{children:"Resources"})}),e(m,{children:a("nav",{className:"flex flex-col space-y-2",children:[a("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),a("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),a("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{p as a};
|
package/dist/chunk-KRCSP6XJ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t}from"./chunk-YW2XZEQD.mjs";import{a}from"./chunk-CPKQIUX4.mjs";import l from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var d=({links:n,media:e,children:i,richText:o})=>m("div",{className:"relative bg-brand-one pb-12 pt-10",children:[e&&typeof e=="object"&&r(a,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:e}),e&&typeof e=="string"&&r("div",{children:r(l,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e})}),r("div",{className:"container mx-0 min-w-full relative z-9",children:r("div",{className:"text-brand-one-foreground px-16",children:i||o&&r(t,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});export{d as a};
|
package/dist/chunk-MPXKAAKQ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a}from"./chunk-3D4VGUVF.mjs";import{useState as l,useEffect as p}from"react";import{Menu as m,X as d,ChevronDown as w}from"lucide-react";import v from"next/image";var u="./cortex-reply-bw-TFX4Q54O.png";import{Fragment as f,jsx as e,jsxs as s}from"react/jsx-runtime";function E(){let[x,i]=l(!1),[F,n]=l(!1),[o,r]=l(!1),c=()=>{let t=document.getElementById("next-section");t&&t.scrollIntoView({behavior:"smooth"})};return p(()=>{let t=()=>{window.scrollY>100?(n(!0),r(!1)):n(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),p(()=>{let t=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),s(f,{children:[s("div",{className:"absolute inset-0 w-full h-full overflow-hidden",children:[s("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"/assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!x&&e("button",{className:"fixed top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{r(!o)},children:o?e(d,{className:"w-6 h-6 text-white"}):e(m,{className:"w-6 h-6 text-white"})}),e(a,{isMenuOpen:o}),e("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${F||o?"opacity-0":"opacity-100"}`}),s("div",{className:"absolute inset-0 z-10 flex flex-col items-center justify-center text-white text-center px-4",children:[e(v,{src:u,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto"}),e("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),e("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."}),e("div",{className:"absolute bottom-5 left-1/2 transform -translate-x-1/2 animate-bounce cursor-pointer hover:text-primary",onClick:c,children:e(w,{size:64})})]})]})}export{E as a};
|
package/dist/chunk-OG6YNFOF.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as r}from"./chunk-YW2XZEQD.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"container mx-0 min-w-full py-8 bg-muted",children:e("div",{className:"max-w-[48rem] px-16",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
package/dist/chunk-YG4SM7B5.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-WISCWNL2.mjs";import i from"next/image";import{jsx as l,jsxs as o}from"react/jsx-runtime";function s({logoLight:r,logoDark:t}){return o(a,{href:"/",className:"py-2",children:[l(i,{className:"logo-light dark:hidden",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}}),l(i,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}export{s as a};
|