cortex-react-components 1.9.2 → 1.9.3
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-3D4VGUVF.mjs +4 -0
- package/dist/{chunk-H5UHZUPY.mjs → chunk-6RTJNPLU.mjs} +1 -1
- package/dist/chunk-A5EYIB3V.mjs +1 -0
- package/dist/{chunk-UK4C6QCG.mjs → chunk-DSTBNR32.mjs} +1 -1
- package/dist/{chunk-CNEP5MIZ.mjs → chunk-EMAMVFAE.mjs} +1 -1
- package/dist/{chunk-SHU3YEUD.mjs → chunk-HXVVB4BC.mjs} +1 -1
- package/dist/{chunk-B65LGTFM.mjs → chunk-I2PU2ABB.mjs} +1 -1
- package/dist/{chunk-D43ENVPX.mjs → chunk-IPHHUHS3.mjs} +1 -1
- package/dist/{chunk-MOZE34SM.mjs → chunk-KRCSP6XJ.mjs} +1 -1
- package/dist/{chunk-IE2A7UT3.mjs → chunk-LBKMUSVR.mjs} +1 -1
- package/dist/{chunk-CQHNH3XJ.mjs → chunk-LKMZ5ROU.mjs} +1 -1
- package/dist/{chunk-ZP62R7ER.mjs → chunk-MPXKAAKQ.mjs} +1 -1
- package/dist/{chunk-O6V6PM4N.mjs → chunk-NUOP7T5Z.mjs} +1 -1
- package/dist/{chunk-UHQCQUD5.mjs → chunk-OG6YNFOF.mjs} +1 -1
- package/dist/{chunk-6GCNE5AK.mjs → chunk-SEHMQA4F.mjs} +1 -1
- package/dist/{chunk-F4RFH25J.mjs → chunk-SEQK34KQ.mjs} +1 -1
- package/dist/{chunk-62NTFOV7.mjs → chunk-SIAE3HCA.mjs} +1 -1
- package/dist/{chunk-FEBVOLWP.mjs → chunk-WMZYFRHZ.mjs} +1 -1
- package/dist/chunk-WU3JMLSC.mjs +1 -0
- package/dist/{chunk-UWBQ2MHT.mjs → chunk-YW2XZEQD.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.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/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +4 -0
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -0
- 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.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.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.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/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.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.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/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/cortex-reply-27IMI3G7.png +0 -0
- package/dist/cortex-reply-dark-XPAJJJYY.png +0 -0
- package/dist/cortex-reply-gradient-LS56SYPD.png +0 -0
- package/dist/hooks/index.mjs +1 -1
- package/dist/images/cortex-reply-bw.js +1 -0
- package/dist/images/cortex-reply-bw.mjs +1 -0
- package/dist/images/cortex-reply-dark.js +1 -0
- package/dist/images/cortex-reply-dark.mjs +1 -0
- package/dist/images/cortex-reply-gradient.js +1 -0
- package/dist/images/cortex-reply-gradient.mjs +1 -0
- package/dist/images/cortex-reply-light.js +1 -0
- package/dist/images/cortex-reply-light.mjs +1 -0
- package/dist/images/cortex-reply.js +1 -0
- package/dist/images/cortex-reply.mjs +1 -0
- package/dist/index.js +4 -4
- 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-X6TCNLEE.mjs +0 -4
- /package/dist/{chunk-TDVKLSBH.mjs → chunk-BZAYEKYC.mjs} +0 -0
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.9.
|
|
5
|
+
"version": "1.9.3",
|
|
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-X6TCNLEE.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as i}from"./chunk-3ZEL6VBT.mjs";import{a}from"./chunk-TDVKLSBH.mjs";import{a as c}from"./chunk-YG4SM7B5.mjs";import{useState as m,useEffect as u}from"react";import{Menu as f,X as g}from"lucide-react";import{Fragment as p,jsx as e,jsxs as t}from"react/jsx-runtime";function y({isMenuOpen:r,setIsMenuOpen:o}){let[s,l]=m(!1);return u(()=>{let n=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),e(p,{children:e("header",{className:`fixed top-0 left-0 right-0 z-50 mx-auto transition-all duration-300 ${s||r?"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:a,logoLight:a}),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&&o&&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:()=>{o&&o(!r)},children:r?e(g,{className:"w-6 h-6 text-white"}):e(f,{className:"w-6 h-6 text-white"})})]})})})})})}export{y as a};
|
|
File without changes
|