cortex-react-components 1.58.8 → 1.58.9

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 (203) hide show
  1. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  2. package/dist/{chunk-4NXJ76O5.mjs → chunk-2RVL66MW.mjs} +1 -1
  3. package/dist/{chunk-OJPHYSRN.mjs → chunk-2SU53XDR.mjs} +1 -1
  4. package/dist/{chunk-3DFRWKIF.mjs → chunk-2U53LYZN.mjs} +1 -1
  5. package/dist/{chunk-EEKJDWGI.mjs → chunk-2W4IMTIV.mjs} +1 -1
  6. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  7. package/dist/{chunk-DJBBBN5I.mjs → chunk-5DBGTQXM.mjs} +1 -1
  8. package/dist/{chunk-5X4PB3FA.mjs → chunk-5FTK7M24.mjs} +1 -1
  9. package/dist/{chunk-SOXWIWAO.mjs → chunk-5VBW5FB7.mjs} +1 -1
  10. package/dist/{chunk-D3YYAZOY.mjs → chunk-67JKMTJF.mjs} +1 -1
  11. package/dist/{chunk-LGM6MCN3.mjs → chunk-7OBH6AB6.mjs} +1 -1
  12. package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  13. package/dist/chunk-CFAC7SPP.mjs +1 -0
  14. package/dist/{chunk-34X6LQ6U.mjs → chunk-DJUA7Y5M.mjs} +1 -1
  15. package/dist/{chunk-GPG2PNPR.mjs → chunk-E5JYGW3N.mjs} +1 -1
  16. package/dist/{chunk-RI6VIXR6.mjs → chunk-E7435ZAX.mjs} +1 -1
  17. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  18. package/dist/chunk-G6JBMV6L.mjs +1 -0
  19. package/dist/{chunk-5NOCE5PC.mjs → chunk-IXQCI4MS.mjs} +1 -1
  20. package/dist/{chunk-VHNDMY6M.mjs → chunk-KCNRSNZG.mjs} +1 -1
  21. package/dist/{chunk-EJNRZ4WV.mjs → chunk-KIRUMRMR.mjs} +1 -1
  22. package/dist/chunk-L2QAYSRV.mjs +4 -0
  23. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  24. package/dist/{chunk-PDC45KCW.mjs → chunk-MSOWUU4F.mjs} +1 -1
  25. package/dist/{chunk-IIWZASBB.mjs → chunk-OAPZSHCC.mjs} +1 -1
  26. package/dist/{chunk-OHCQJVFB.mjs → chunk-OD73JG7G.mjs} +1 -1
  27. package/dist/{chunk-GB6KVID5.mjs → chunk-OH22UHIS.mjs} +1 -1
  28. package/dist/{chunk-65RRHBNH.mjs → chunk-OH2S6BBQ.mjs} +1 -1
  29. package/dist/{chunk-KLCZHZKQ.mjs → chunk-S7I4XJS6.mjs} +1 -1
  30. package/dist/{chunk-2SAIVBET.mjs → chunk-SKE7TSLO.mjs} +1 -1
  31. package/dist/{chunk-TZE7RZAV.mjs → chunk-SMD2U5NY.mjs} +1 -1
  32. package/dist/{chunk-I5RCZXFX.mjs → chunk-SYL22HOJ.mjs} +1 -1
  33. package/dist/{chunk-HVPBVC33.mjs → chunk-SZ4YPF72.mjs} +1 -1
  34. package/dist/{chunk-D7A7EUEW.mjs → chunk-T67YJGQO.mjs} +1 -1
  35. package/dist/{chunk-BIYVBANC.mjs → chunk-X6ZPGBTM.mjs} +1 -1
  36. package/dist/{chunk-6IRYD7Q7.mjs → chunk-XNAHLO24.mjs} +1 -1
  37. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  38. package/dist/{chunk-OYHKHCKZ.mjs → chunk-ZOHEYTN6.mjs} +1 -1
  39. package/dist/components/Blocks/Banner.js +1 -1
  40. package/dist/components/Blocks/Banner.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.js +1 -1
  42. package/dist/components/Blocks/CallToAction.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  44. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  45. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  46. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  47. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  48. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  49. package/dist/components/Blocks/Content.js +1 -1
  50. package/dist/components/Blocks/Content.mjs +1 -1
  51. package/dist/components/Blocks/Content.stories.js +1 -1
  52. package/dist/components/Blocks/Content.stories.mjs +1 -1
  53. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  54. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  55. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  56. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  57. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  58. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  59. package/dist/components/Blocks/RelatedPosts.js +1 -1
  60. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  61. package/dist/components/Blocks/RenderBlocks.js +1 -1
  62. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  63. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  64. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  65. package/dist/components/Blocks/index.js +1 -1
  66. package/dist/components/Blocks/index.mjs +1 -1
  67. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  68. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  69. package/dist/components/CRM/index.mjs +1 -1
  70. package/dist/components/Cards/ContentCard.js +1 -1
  71. package/dist/components/Cards/ContentCard.mjs +1 -1
  72. package/dist/components/Cards/ContentCard.stories.js +1 -1
  73. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  74. package/dist/components/Cards/FeatureCard.js +1 -1
  75. package/dist/components/Cards/FeatureCard.mjs +1 -1
  76. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  77. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  78. package/dist/components/Cards/index.js +2 -2
  79. package/dist/components/Cards/index.mjs +1 -1
  80. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  81. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  82. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  83. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  84. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  85. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  86. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  87. package/dist/components/Heros/HighImpact/index.js +1 -1
  88. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  89. package/dist/components/Heros/LowImpact/index.js +1 -1
  90. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  91. package/dist/components/Heros/MediumImpact/index.js +1 -1
  92. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  93. package/dist/components/Heros/RenderHero.js +1 -1
  94. package/dist/components/Heros/RenderHero.mjs +1 -1
  95. package/dist/components/Heros/index.js +1 -1
  96. package/dist/components/Heros/index.mjs +1 -1
  97. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  98. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  99. package/dist/components/Holidays/index.mjs +1 -1
  100. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  101. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  102. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  103. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  104. package/dist/components/Layouts/Print.js +1 -1
  105. package/dist/components/Layouts/Print.mjs +1 -1
  106. package/dist/components/Layouts/Print.stories.js +1 -1
  107. package/dist/components/Layouts/Print.stories.mjs +1 -1
  108. package/dist/components/Layouts/SlideShow.js +1 -1
  109. package/dist/components/Layouts/SlideShow.mjs +1 -1
  110. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  111. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  112. package/dist/components/Layouts/index.js +3 -3
  113. package/dist/components/Layouts/index.mjs +1 -1
  114. package/dist/components/Payload/Card/index.mjs +1 -1
  115. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  116. package/dist/components/Payload/Media/index.mjs +1 -1
  117. package/dist/components/Payload/RichText/index.js +1 -1
  118. package/dist/components/Payload/RichText/index.mjs +1 -1
  119. package/dist/components/Payload/RichText/serialize.js +1 -1
  120. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  121. package/dist/components/Payload/RichText.stories.js +1 -1
  122. package/dist/components/Payload/RichText.stories.mjs +1 -1
  123. package/dist/components/Payload/index.js +1 -1
  124. package/dist/components/Payload/index.mjs +1 -1
  125. package/dist/components/index.js +3 -3
  126. package/dist/components/index.mjs +1 -1
  127. package/dist/globals.css +1 -1
  128. package/dist/index.js +6 -6
  129. package/dist/index.mjs +1 -1
  130. package/dist/metafile-cjs.json +1 -1
  131. package/dist/metafile-esm.json +1 -1
  132. package/dist/pages/Blog.js +1 -1
  133. package/dist/pages/Blog.mjs +1 -1
  134. package/dist/pages/Blog.stories.js +1 -1
  135. package/dist/pages/Blog.stories.mjs +1 -1
  136. package/dist/pages/Documentation.mjs +1 -1
  137. package/dist/pages/Documentation.stories.mjs +1 -1
  138. package/dist/pages/IndexPage.mjs +1 -1
  139. package/dist/pages/IndexPage.stories.mjs +1 -1
  140. package/dist/pages/Intranet.mjs +1 -1
  141. package/dist/pages/Intranet.stories.mjs +1 -1
  142. package/dist/pages/LandingPage.js +2 -2
  143. package/dist/pages/LandingPage.mjs +1 -1
  144. package/dist/pages/LandingPage.stories.js +2 -2
  145. package/dist/pages/LandingPage.stories.mjs +1 -1
  146. package/dist/pages/Page.js +1 -1
  147. package/dist/pages/Page.mjs +1 -1
  148. package/dist/pages/Page.stories.js +20 -20
  149. package/dist/pages/Page.stories.mjs +1 -1
  150. package/dist/pages/Printable.stories.js +1 -1
  151. package/dist/pages/Printable.stories.mjs +1 -1
  152. package/dist/pages/Publish.js +1 -1
  153. package/dist/pages/Publish.mjs +1 -1
  154. package/dist/pages/Publish.stories.js +1 -1
  155. package/dist/pages/Publish.stories.mjs +1 -1
  156. package/dist/pages/Website.js +1 -1
  157. package/dist/pages/Website.mjs +1 -1
  158. package/dist/pages/Website.stories.js +1 -1
  159. package/dist/pages/Website.stories.mjs +1 -1
  160. package/dist/sections/AboutSection.js +1 -1
  161. package/dist/sections/AboutSection.mjs +1 -1
  162. package/dist/sections/AboutSection.stories.js +1 -1
  163. package/dist/sections/AboutSection.stories.mjs +1 -1
  164. package/dist/sections/BlogDetail.js +1 -1
  165. package/dist/sections/BlogDetail.mjs +1 -1
  166. package/dist/sections/BlogDetail.stories.js +1 -1
  167. package/dist/sections/BlogDetail.stories.mjs +1 -1
  168. package/dist/sections/BlogList.js +2 -2
  169. package/dist/sections/BlogList.mjs +1 -1
  170. package/dist/sections/BlogList.stories.js +2 -2
  171. package/dist/sections/BlogList.stories.mjs +1 -1
  172. package/dist/sections/ContactSection.js +1 -1
  173. package/dist/sections/ContactSection.mjs +1 -1
  174. package/dist/sections/ContactSection.stories.js +1 -1
  175. package/dist/sections/ContactSection.stories.mjs +1 -1
  176. package/dist/sections/ImageSection.stories.js +1 -1
  177. package/dist/sections/ImageSection.stories.mjs +1 -1
  178. package/dist/sections/PageSections.js +3 -3
  179. package/dist/sections/PageSections.mjs +1 -1
  180. package/dist/sections/PageSections.stories.js +3 -3
  181. package/dist/sections/PageSections.stories.mjs +1 -1
  182. package/dist/sections/PricingSection.js +1 -1
  183. package/dist/sections/PricingSection.mjs +1 -1
  184. package/dist/sections/PricingSection.stories.js +1 -1
  185. package/dist/sections/PricingSection.stories.mjs +1 -1
  186. package/dist/sections/ServiceDetail.js +1 -1
  187. package/dist/sections/ServiceDetail.mjs +1 -1
  188. package/dist/sections/ServiceDetailSection.js +1 -1
  189. package/dist/sections/ServiceDetailSection.mjs +1 -1
  190. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  191. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  192. package/dist/sections/ServiceSection.js +1 -1
  193. package/dist/sections/ServiceSection.mjs +1 -1
  194. package/dist/sections/ServiceSection.stories.js +1 -1
  195. package/dist/sections/ServiceSection.stories.mjs +1 -1
  196. package/dist/sections/form/index.js +1 -1
  197. package/dist/sections/form/index.mjs +1 -1
  198. package/dist/sections/index.js +2 -2
  199. package/dist/sections/index.mjs +1 -1
  200. package/package.json +1 -1
  201. package/dist/chunk-4BFLJVX2.mjs +0 -1
  202. package/dist/chunk-7F7S63JI.mjs +0 -4
  203. package/dist/chunk-CHZM24IX.mjs +0 -1
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-CHZM24IX.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-7F7S63JI.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import c from"next/image";import{FaEnvelope as g,FaPhoneFlip as v}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function y(a){let{sectionHeading:t,image:s}=a;return i("div",{className:"relative w-full light py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden md:w-[56%] md:rounded-r-5",children:e(c,{src:s.src,alt:s.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(m,{children:e("div",{className:"ml-auto md:w-1/2",children:i("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(n,{...t,invert:!0})}),e(l,{})]})})})]})}function S(a){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:i("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[i("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:a.locations&&a.locations.map((t,s)=>{var o;return i("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:t.title}),i("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((d,p)=>e("p",{children:d},p))," ",t.mails&&i("p",{className:"flex items-center space-x-2",children:[e(g,{className:"pr-2 text-primary size-auto"}),e("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&i("p",{className:"flex items-center space-x-2",children:[e(v,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},s)})})]})})})})}export{y as a,S as b};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as f}from"./chunk-CTKUF2I6.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as r}from"react/jsx-runtime";var t={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),email:m.string().email(t.email).required(t.required),subject:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),message:m.string().min(2,t.tooShort).max(300,t.tooLong).required(t.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return e(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:s})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),s())},children:({errors:a,touched:s,values:o,handleChange:n,handleBlur:c,isSubmitting:l,handleSubmit:x})=>r("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[r("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:n,onBlur:c,disabled:l,icon:e(N,{className:"text-primary"}),className:i(u,a.name&&s.name&&g)}),a.name&&s.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),r("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:n,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.email&&s.email&&g)}),a.email&&s.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),r("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:n,onBlur:c,disabled:l,className:i(u,a.subject&&s.subject&&g)}),a.subject&&s.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),r("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:n,onBlur:c,disabled:l,icon:e(y,{}),className:i(u,a.message&&s.message&&g)}),a.message&&s.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2 light",children:e(v,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:e("span",{children:"Send"})})})]})})}function w(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function y(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
@@ -1 +0,0 @@
1
- import{f as s}from"./chunk-VHNDMY6M.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:r,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[r&&t("span",{className:"mb-[.625rem] block font-bold uppercase text-accent md:text-md",children:r}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(s,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};