cortex-react-components 1.13.0 → 1.13.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/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.13.0",
5
+ "version": "1.13.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",
@@ -1 +0,0 @@
1
- import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as p}from"./chunk-BZAYEKYC.mjs";import{a as m}from"./chunk-MLVUDDTJ.mjs";import{a as o}from"./chunk-FHRWUBJS.mjs";import{a as i}from"./chunk-55BPPKDS.mjs";import{a as t}from"./chunk-UN4YL2CJ.mjs";import{a}from"./chunk-O72RP6UB.mjs";import{jsx as r,jsxs as u}from"react/jsx-runtime";function n({...e}){return u("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[r(a,{isMenuOpen:!0,logoLight:p,logoDark:d}),e.hero&&e.hero.type==="lowImpact"&&r(i,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&r(t,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&r(o,{...e.hero}),e.hero&&e.hero.type==="postHero"&&r(m,{...e.hero})]})}export{n as a};
@@ -1 +0,0 @@
1
- import{a as c}from"./chunk-X6QN5C6U.mjs";import{a as s}from"./chunk-3ZEL6VBT.mjs";import{a as i}from"./chunk-WISCWNL2.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import m from"next/image";import p from"react";import{Fragment as g,jsx as e,jsxs as o}from"react/jsx-runtime";function h({title:a,breadcrumbItems:r,image:t=c.src}){return o("section",{className:"section-padding-primary -mt-[10.4rem] relative flex min-h-[250px] items-end",children:[e("div",{className:"absolute inset-0 z-0",children:e(m,{priority:!0,src:t,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),e(s,{children:o("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:[e("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&e(f,{breadcrumbItems:r})]})})]})}var l=n("h3 font-secondary");function f({breadcrumbItems:a}){return a&&a.length>0?e("nav",{"aria-label":"breadcrumb",children:e("ol",{className:"inline-flex items-center gap-5",children:a.map((r,t)=>e(p.Fragment,{children:r.href?o("li",{className:l,children:[e(i,{href:r.href,className:"transition-colors hover:text-primary",children:r.label}),e("span",{className:"ml-5",children:"/"})]}):e("li",{className:l,"aria-current":"page",children:r.label})},t))})}):e(g,{})}export{h as a};