cortex-react-components 1.54.0 → 1.54.1
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-PFB7MW22.mjs → chunk-2DF5ZKAG.mjs} +1 -1
- package/dist/{chunk-H43CXGFF.mjs → chunk-2FIKKDSZ.mjs} +1 -1
- package/dist/{chunk-ISIEEQBD.mjs → chunk-3RQU3OFX.mjs} +1 -1
- package/dist/{chunk-L6CVFUCJ.mjs → chunk-3X65XSM6.mjs} +1 -1
- package/dist/{chunk-O47VNDLK.mjs → chunk-43E5KRTM.mjs} +1 -1
- package/dist/{chunk-GQ2G2FNR.mjs → chunk-43TBC2ZH.mjs} +1 -1
- package/dist/{chunk-GT55S7K6.mjs → chunk-45HGNKX5.mjs} +1 -1
- package/dist/{chunk-GGZ34ZYH.mjs → chunk-4DE4TK4U.mjs} +1 -1
- package/dist/{chunk-2IKC7MAP.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-DFDLZHPN.mjs → chunk-7EXRMTRU.mjs} +1 -1
- package/dist/{chunk-QYDMXCQU.mjs → chunk-7VF6TVAW.mjs} +1 -1
- package/dist/{chunk-IO222G5L.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-JMIZ7FPM.mjs → chunk-FBIYWAGF.mjs} +1 -1
- package/dist/{chunk-XQAKLO5S.mjs → chunk-G4YQKCAV.mjs} +1 -1
- package/dist/{chunk-3BBZH3T3.mjs → chunk-GFD2CEES.mjs} +1 -1
- package/dist/{chunk-HRXZBU4F.mjs → chunk-GHOZSZTQ.mjs} +1 -1
- package/dist/{chunk-4ID5CQ4R.mjs → chunk-HNGHGHZB.mjs} +1 -1
- package/dist/{chunk-DFB6DJCW.mjs → chunk-HTB2SE74.mjs} +1 -1
- package/dist/{chunk-JAP54TFG.mjs → chunk-IARWKF3O.mjs} +1 -1
- package/dist/{chunk-E4Z4FGD7.mjs → chunk-IZRWPJLZ.mjs} +1 -1
- package/dist/{chunk-B7QEIV4X.mjs → chunk-JORETHIT.mjs} +1 -1
- package/dist/{chunk-4P7DODM4.mjs → chunk-K3MEPS57.mjs} +1 -1
- package/dist/{chunk-QMFZRG7O.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/chunk-LCJIXE22.mjs +1 -0
- package/dist/chunk-MW6UGIYC.mjs +1 -0
- package/dist/{chunk-D44ZXHH4.mjs → chunk-NOLDWELD.mjs} +1 -1
- package/dist/{chunk-2YN5QELO.mjs → chunk-PB6JUCYW.mjs} +1 -1
- package/dist/{chunk-LXEFSUQP.mjs → chunk-QJBYKPHK.mjs} +1 -1
- package/dist/chunk-S5VKLW23.mjs +1 -0
- package/dist/{chunk-RE32I7KH.mjs → chunk-SFYUSOHU.mjs} +1 -1
- package/dist/{chunk-72WO5QTU.mjs → chunk-TFS3B5C6.mjs} +1 -1
- package/dist/chunk-TU4NTK6E.mjs +1 -0
- package/dist/{chunk-23BDC5JG.mjs → chunk-UBA3ZRKC.mjs} +1 -1
- package/dist/{chunk-7Y22I53D.mjs → chunk-VQTWZRLF.mjs} +1 -1
- package/dist/{chunk-L6AP77ZB.mjs → chunk-WW2H6RR6.mjs} +1 -1
- package/dist/{chunk-PSCVOY3X.mjs → chunk-XVX24CGK.mjs} +1 -1
- package/dist/{chunk-DSWZKB4R.mjs → chunk-Z5YKLEUF.mjs} +1 -1
- package/dist/{chunk-KP52R5UJ.mjs → chunk-ZWXEDDFT.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapableArea.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsableArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- 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/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 +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +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/SectionHero/index.d.ts +0 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- 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/Other/PageShape.js +1 -1
- package/dist/components/Other/PageShape.mjs +1 -1
- package/dist/components/Other/index.js +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +7 -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 +11 -11
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +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 +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- 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 +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.mjs +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.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- 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.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +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.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +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 +3 -3
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-FC4BLPWZ.mjs +0 -1
- package/dist/chunk-SLKEHR4M.mjs +0 -1
- package/dist/chunk-SNRJPNBM.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.54.
|
|
5
|
+
"version": "1.54.1",
|
|
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-FC4BLPWZ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({position:e,className:s=""})=>{let o=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=o[Math.floor(Math.random()*o.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:i("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(s,"absolute -bottom-[2px] flex"),transform:o[0],children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return t("div",{className:"w-full h-[70px] md:h-[332px] z-20 ",children:i("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(s,"absolute "),style:{fontSize:0,float:"left"},transform:o[1],children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return t("div",{className:"w-full h-[70px] md:h-[332px] z-20 content-end block overflow-hidden",children:i("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(s,"relative "),style:{fontSize:0,float:"left"},transform:o[3],children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(s,"w-full block overflow-hidden"),transform:o[1],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(s,"w-full block overflow-hidden"),transform:o[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(s,"w-full block overflow-hidden"),transform:e==="bottom-left"?o[3]:o[2],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},r=({className:e})=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,r as b};
|
package/dist/chunk-SLKEHR4M.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk-DSWZKB4R.mjs";import{a as m}from"./chunk-PFB7MW22.mjs";import{a as d}from"./chunk-72WO5QTU.mjs";import{a as l}from"./chunk-FC4BLPWZ.mjs";import{a as c}from"./chunk-UESKYRNK.mjs";import n from"next/image";import{ChevronRightIcon as x,HomeIcon as u}from"@heroicons/react/20/solid";import{Fragment as g,jsx as o,jsxs as s}from"react/jsx-runtime";var b={highImpact:m,lowImpact:p,mediumImpact:d,sectionHero:f},S=a=>{let{type:e}=a||{};if(!e||e==="none")return null;let r=b[e];return r?o(r,{...a}):null};function v({breadcrumbItems:a}){if(a&&a.length>0){let e=a.filter(r=>r.label.toLowerCase()!=="home");return o("nav",{"aria-label":"Breadcrumb",className:"flex",children:s("ol",{role:"list",className:"flex items-center space-x-4",children:[o("li",{children:o("div",{children:s("a",{href:"/",className:"text-foreground hover:text-accent",children:[o(u,{"aria-hidden":"true",className:"size-5 shrink-0"}),o("span",{className:"sr-only",children:"Home"})]})})}),e.map((r,h)=>o("li",{children:s("div",{className:"flex items-center",children:[o(x,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?o("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):o("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},h))]})})}return o(g,{})}import{jsx as t,jsxs as i}from"react/jsx-runtime";var f=({title:a,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:a})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(n,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(n,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(l,{className:"text-black z-10",position:"header"})]})});function E({title:a,breadcrumbItems:e,image:r}){return i("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[t("div",{className:"absolute inset-0 z-0",children:r&&t(n,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),t("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),t(c,{children:i("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[t("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),e&&e.length>0&&t(v,{breadcrumbItems:e})]})})]})}export{f as a,E as b,S as c,v as d};
|
package/dist/chunk-SNRJPNBM.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk-SV7NMNDI.mjs";import{e as s,f as m}from"./chunk-L6AP77ZB.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function N({services:a,className:c,title:o,content:l}){let f={settings:{width:"full",card:"light"}};return d(n,{className:"py-8",children:[d("div",{className:r("w-full text-left"),children:[o&&e("h2",{className:"text-3xl md:text-5xl text-primary",children:o}),e("div",{className:"mt-4 text-gray-700 py-12 ",children:l&&e(s,{enableGutter:!1,content:l,enableProse:!1,className:r("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),a&&a.length>0&&e("div",{className:"-mx-4 flex h-[32rem] flex-wrap justify-between gap-y-4",children:a.map((t,i)=>e("div",{"data-aos":"fade-up","data-aos-delay":p([200,400,600],i),className:"w-full h-full md:px-4 md:w-1/2 lg:w-1/3",children:e(m,{...f,icon:{type:"none"},title:t.title,image:t.image,content:t.content,link:t.link})},i))})]})}export{N as a};
|