cortex-react-components 1.53.12 → 1.53.14

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.
Files changed (157) hide show
  1. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  2. package/dist/{chunk-JGFNFHZM.mjs → chunk-4AZETAFM.mjs} +1 -1
  3. package/dist/{chunk-ZARUYNTS.mjs → chunk-4HHJDVW4.mjs} +1 -1
  4. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  5. package/dist/{chunk-Q3MPLEUO.mjs → chunk-5IJXIGOD.mjs} +1 -1
  6. package/dist/{chunk-5AAERLK4.mjs → chunk-5UXQDLO3.mjs} +1 -1
  7. package/dist/chunk-63USUVEH.mjs +1 -0
  8. package/dist/{chunk-WP5GREDV.mjs → chunk-6MQT5DPQ.mjs} +1 -1
  9. package/dist/{chunk-UELQEYEC.mjs → chunk-CJNVJYUE.mjs} +1 -1
  10. package/dist/chunk-DPZBRGJ3.mjs +1 -0
  11. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  12. package/dist/{chunk-R7CSR27B.mjs → chunk-FJGFNXYG.mjs} +1 -1
  13. package/dist/chunk-G3XMLLE4.mjs +1 -0
  14. package/dist/{chunk-LCBC4XAC.mjs → chunk-GFGZH4RJ.mjs} +1 -1
  15. package/dist/{chunk-TCIVDDHE.mjs → chunk-GMBPMUQQ.mjs} +1 -1
  16. package/dist/{chunk-T5H436I7.mjs → chunk-HQRZM7KW.mjs} +1 -1
  17. package/dist/{chunk-FGGYIUGW.mjs → chunk-IG4JCLBN.mjs} +1 -1
  18. package/dist/{chunk-WZLEEZ5C.mjs → chunk-IT7DSLCX.mjs} +1 -1
  19. package/dist/{chunk-CF7XDPTT.mjs → chunk-J4IAKATI.mjs} +1 -1
  20. package/dist/{chunk-S7I4XJS6.mjs → chunk-KLCZHZKQ.mjs} +1 -1
  21. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  22. package/dist/{chunk-7H5RA3LZ.mjs → chunk-NVHXLA3F.mjs} +1 -1
  23. package/dist/{chunk-7XB4Y3U2.mjs → chunk-OGKJF5LR.mjs} +1 -1
  24. package/dist/{chunk-UBPBLCZE.mjs → chunk-QPX7LU4K.mjs} +1 -1
  25. package/dist/{chunk-UOXUFOIU.mjs → chunk-SFJOK6GO.mjs} +1 -1
  26. package/dist/{chunk-MGGXJ6E5.mjs → chunk-TC2FT75Z.mjs} +1 -1
  27. package/dist/{chunk-F572VPA4.mjs → chunk-TIQZZL2R.mjs} +1 -1
  28. package/dist/chunk-TXB5Y6PG.mjs +4 -0
  29. package/dist/{chunk-LI37GQGD.mjs → chunk-U6KDWQ65.mjs} +1 -1
  30. package/dist/{chunk-ZMTWB7GE.mjs → chunk-UKFELWQL.mjs} +1 -1
  31. package/dist/{chunk-SQTEG7N4.mjs → chunk-UVMDKG6E.mjs} +1 -1
  32. package/dist/{chunk-NMVLT3F5.mjs → chunk-UWCJNBSM.mjs} +1 -1
  33. package/dist/{chunk-GSKQEJUW.mjs → chunk-VSNDROOR.mjs} +1 -1
  34. package/dist/{chunk-SYRLP2F4.mjs → chunk-WX6QASHL.mjs} +1 -1
  35. package/dist/{chunk-RMSUXBP2.mjs → chunk-XHIXSMLB.mjs} +1 -1
  36. package/dist/{chunk-Y2SNB25S.mjs → chunk-Y4KHZRYM.mjs} +1 -1
  37. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  38. package/dist/components/Blocks/Banner.mjs +1 -1
  39. package/dist/components/Blocks/CallToAction.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  41. package/dist/components/Blocks/Content.mjs +1 -1
  42. package/dist/components/Blocks/Content.stories.mjs +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  44. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  45. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  46. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  47. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  48. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  49. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  50. package/dist/components/Blocks/index.mjs +1 -1
  51. package/dist/components/Cards/ContentCard.mjs +1 -1
  52. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  53. package/dist/components/Cards/FeatureCard.mjs +1 -1
  54. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  55. package/dist/components/Cards/index.mjs +1 -1
  56. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  57. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  58. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  59. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  60. package/dist/components/HeaderFooter/index.mjs +1 -1
  61. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  62. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  63. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  64. package/dist/components/Heros/RenderHero.mjs +1 -1
  65. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  66. package/dist/components/Heros/index.mjs +1 -1
  67. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  68. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  69. package/dist/components/Holidays/index.mjs +1 -1
  70. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  71. package/dist/components/Layouts/NewsList.js +1 -1
  72. package/dist/components/Layouts/NewsList.mjs +1 -1
  73. package/dist/components/Layouts/NewsList.stories.js +1 -1
  74. package/dist/components/Layouts/NewsList.stories.mjs +1 -1
  75. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  76. package/dist/components/Layouts/Print.mjs +1 -1
  77. package/dist/components/Layouts/Print.stories.mjs +1 -1
  78. package/dist/components/Layouts/SlideShow.mjs +1 -1
  79. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  80. package/dist/components/Layouts/index.mjs +1 -1
  81. package/dist/components/Menus/Filter.js +1 -1
  82. package/dist/components/Menus/Filter.mjs +1 -1
  83. package/dist/components/Menus/Filter.stories.js +1 -1
  84. package/dist/components/Menus/Filter.stories.mjs +1 -1
  85. package/dist/components/Menus/Pagination.js +1 -1
  86. package/dist/components/Menus/Pagination.mjs +1 -1
  87. package/dist/components/Menus/Pagination.stories.js +1 -1
  88. package/dist/components/Menus/Pagination.stories.mjs +1 -1
  89. package/dist/components/Menus/index.js +1 -1
  90. package/dist/components/Menus/index.mjs +1 -1
  91. package/dist/components/Other/index.mjs +1 -1
  92. package/dist/components/Payload/Card/index.mjs +1 -1
  93. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  94. package/dist/components/Payload/Media/index.mjs +1 -1
  95. package/dist/components/Payload/RichText/index.mjs +1 -1
  96. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  97. package/dist/components/Payload/RichText.stories.mjs +1 -1
  98. package/dist/components/Payload/index.mjs +1 -1
  99. package/dist/components/index.js +1 -1
  100. package/dist/components/index.mjs +1 -1
  101. package/dist/globals.css +1 -1
  102. package/dist/index.js +8 -8
  103. package/dist/index.mjs +1 -1
  104. package/dist/metafile-cjs.json +1 -1
  105. package/dist/metafile-esm.json +1 -1
  106. package/dist/pages/Blog.mjs +1 -1
  107. package/dist/pages/Blog.stories.mjs +1 -1
  108. package/dist/pages/Documentation.mjs +1 -1
  109. package/dist/pages/Documentation.stories.mjs +1 -1
  110. package/dist/pages/IndexPage.mjs +1 -1
  111. package/dist/pages/IndexPage.stories.mjs +1 -1
  112. package/dist/pages/Intranet.mjs +1 -1
  113. package/dist/pages/Intranet.stories.mjs +1 -1
  114. package/dist/pages/LandingPage.js +1 -1
  115. package/dist/pages/LandingPage.mjs +1 -1
  116. package/dist/pages/LandingPage.stories.js +3 -3
  117. package/dist/pages/LandingPage.stories.mjs +1 -1
  118. package/dist/pages/Page.mjs +1 -1
  119. package/dist/pages/Page.stories.mjs +1 -1
  120. package/dist/pages/Printable.stories.mjs +1 -1
  121. package/dist/pages/Publish.mjs +1 -1
  122. package/dist/pages/Publish.stories.mjs +1 -1
  123. package/dist/pages/Website.mjs +1 -1
  124. package/dist/pages/Website.stories.mjs +1 -1
  125. package/dist/sections/AboutSection.mjs +1 -1
  126. package/dist/sections/AboutSection.stories.mjs +1 -1
  127. package/dist/sections/BlogDetail.mjs +1 -1
  128. package/dist/sections/BlogDetail.stories.mjs +1 -1
  129. package/dist/sections/BlogList.mjs +1 -1
  130. package/dist/sections/BlogList.stories.mjs +1 -1
  131. package/dist/sections/BlogListSection.js +1 -1
  132. package/dist/sections/BlogListSection.mjs +1 -1
  133. package/dist/sections/BlogListSection.stories.js +1 -1
  134. package/dist/sections/BlogListSection.stories.mjs +1 -1
  135. package/dist/sections/ContactSection.mjs +1 -1
  136. package/dist/sections/ContactSection.stories.mjs +1 -1
  137. package/dist/sections/ImageSection.stories.mjs +1 -1
  138. package/dist/sections/PageSections.js +1 -1
  139. package/dist/sections/PageSections.mjs +1 -1
  140. package/dist/sections/PageSections.stories.js +3 -3
  141. package/dist/sections/PageSections.stories.mjs +1 -1
  142. package/dist/sections/PricingSection.mjs +1 -1
  143. package/dist/sections/PricingSection.stories.mjs +1 -1
  144. package/dist/sections/ServiceDetailSection.mjs +1 -1
  145. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  146. package/dist/sections/ServiceSection.js +1 -1
  147. package/dist/sections/ServiceSection.mjs +1 -1
  148. package/dist/sections/ServiceSection.stories.js +1 -1
  149. package/dist/sections/ServiceSection.stories.mjs +1 -1
  150. package/dist/sections/form/index.mjs +1 -1
  151. package/dist/sections/index.js +3 -3
  152. package/dist/sections/index.mjs +1 -1
  153. package/package.json +1 -1
  154. package/dist/chunk-3ILIKZIF.mjs +0 -1
  155. package/dist/chunk-KJ2C7CBU.mjs +0 -4
  156. package/dist/chunk-VV7TUGRV.mjs +0 -1
  157. package/dist/chunk-XYLYPBZO.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.53.12",
5
+ "version": "1.53.14",
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 p}from"./chunk-SV7NMNDI.mjs";import{e as s,f as m}from"./chunk-NMVLT3F5.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as f}from"react/jsx-runtime";function N({services:a,className:d,title:o,content:l}){let c={settings:{width:"full",card:"light"}};return f(n,{className:"py-8 h-1/2",children:[f("div",{className:r("w-full text-left"),children:[o&&e("h2",{className:"text-3xl md:text-5xl text-primary",children:o}),e("p",{className:"mt-4 text-gray-700 text-lg",children:l&&e(s,{enableGutter:!1,content:l,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),a&&a.length>0&&e("div",{className:"-mx-4 flex h-[32rem] flex-wrap justify-between pt-6 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,{...c,icon:{type:"none"},title:t.title,image:t.image,content:t.content,link:t.link})},i))})]})}export{N as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{b as a}from"./chunk-BDX257W2.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{useState as h}from"react";import{useSearchParams as u,usePathname as l,useRouter as d}from"next/navigation";import{jsx as s}from"react/jsx-runtime";function x({types:r}){let[o,c]=h(r&&r[0].href),f=u(),m=l(),{replace:p}=d();function i(e){let t=new URLSearchParams(f);e?t.set("type",e):t.delete("type"),c(e),p(`${m}?${t.toString()}`)}return s("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:r&&r.map((e,t)=>s(a,{variant:e.href===o?"default":"ghost",className:n("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",e.href===o&&"bg-accent text-accent-foreground"),onClick:()=>i(e.href),children:e.label},t))})}export{x as a};
@@ -1 +0,0 @@
1
- import{c as v}from"./chunk-YNNW2C2U.mjs";import f from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function w({blogs:a,base:i}){return e("div",{children:a&&a.length>0&&e("div",{className:"grid gap-10 lg:gap-10",children:a.map((l,g)=>e(x,{post:l,id:g,base:i},g))})})}var x=({post:a,id:i,base:l})=>{var d,n,c,p;let{slug:g,meta:r,authors:m,categories:b,title:h,publishedAt:N}=a;return t("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[t("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[e(f,{src:((d=r==null?void 0:r.image)==null?void 0:d.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((n=r==null?void 0:r.image)==null?void 0:n.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),e("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),t("div",{children:[t("div",{className:"flex items-center gap-x-4 text-xs",children:[e("time",{dateTime:(c=a.publishedAt)!=null?c:void 0,className:"text-foreground",children:v((p=a.publishedAt)!=null?p:"")}),a.categories&&a.categories.map((s,o)=>e("a",{href:`#${s}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:s.title},o))]}),e("div",{className:"group relative max-w-xl",children:e("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:t("a",{href:`/${l}/${a.slug}`||"#",children:[e("span",{className:"absolute inset-0"}),a.title]})})}),e("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:m&&m.map((s,o)=>{var u;return t("div",{className:"relative flex items-center gap-x-4",children:[s.profilePicture?e("img",{alt:s.name||"Author",src:((u=s.profilePicture)==null?void 0:u.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):e("div",{className:"size-10 rounded-full bg-gray-50"})," ",e("div",{className:"text-sm/6",children:t("p",{className:"text-foreground pr-6",children:[e("span",{className:"absolute inset-0"}),s.name]})})]},o)})})]})]},i)};export{w as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-VV7TUGRV.mjs";import{a as r}from"./chunk-WZLEEZ5C.mjs";import{a as o}from"./chunk-KJ2C7CBU.mjs";import{a as e}from"./chunk-TXXFXCXB.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as g}from"react/jsx-runtime";function b({blogs:l,pages:m,categories:t,types:s,base:p}){return i("section",{children:i(n,{children:g("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[g("div",{children:[s&&i(o,{types:s}),i(a,{blogs:l,base:p}),i(r,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(e,{links:t.links,title:t.title})})})]})})})}export{b as a};