cortex-react-components 1.11.0 → 1.12.0
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-3QQFCCOW.mjs +1 -0
- package/dist/chunk-5PD7YZ3V.mjs +1 -0
- package/dist/{chunk-ZVSS2NJE.mjs → chunk-7V56HKKJ.mjs} +1 -1
- package/dist/chunk-A24IEDVI.mjs +1 -0
- package/dist/chunk-ADICCM6Y.mjs +1 -0
- package/dist/chunk-BYXLOV2Z.mjs +4 -0
- package/dist/chunk-D2AABOJM.mjs +1 -0
- package/dist/{chunk-NUOP7T5Z.mjs → chunk-DSTWQW3O.mjs} +1 -1
- package/dist/chunk-FNCXXX4V.mjs +1 -0
- package/dist/{chunk-3UMXC67W.mjs → chunk-JG5NJABD.mjs} +1 -1
- package/dist/chunk-KDTPVITC.mjs +1 -0
- package/dist/{chunk-M5X4MWJX.mjs → chunk-L2V7M5EM.mjs} +1 -1
- package/dist/chunk-LKCIMTS6.mjs +1 -0
- package/dist/chunk-MRAO4LPD.mjs +1 -0
- package/dist/{chunk-YCT3EQRB.mjs → chunk-O72RP6UB.mjs} +1 -1
- package/dist/{chunk-A5OBDLSS.mjs → chunk-PVOG5PVP.mjs} +1 -1
- package/dist/chunk-SEFPOIPK.mjs +1 -0
- package/dist/chunk-SV7NMNDI.mjs +1 -0
- package/dist/chunk-V6EHJ5M6.mjs +4 -0
- package/dist/{chunk-FXOJ7XKV.mjs → chunk-VQGKJUW5.mjs} +1 -1
- package/dist/chunk-X6QN5C6U.mjs +1 -0
- 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/PricingCard.d.ts +10 -0
- package/dist/components/Cards/PricingCard.js +1 -0
- package/dist/components/Cards/PricingCard.mjs +1 -0
- package/dist/components/Cards/PricingCard.stories.js +1 -0
- package/dist/components/Cards/PricingCard.stories.mjs +1 -0
- package/dist/components/Cards/ServiceCard.d.ts +8 -0
- package/dist/components/Cards/ServiceCard.js +4 -0
- package/dist/components/Cards/ServiceCard.mjs +1 -0
- package/dist/components/Cards/ServiceCard.stories.js +4 -0
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -0
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.d.ts +19 -0
- package/dist/components/HeaderFooter/SectionHeading.js +4 -0
- package/dist/components/HeaderFooter/SectionHeading.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.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.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +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 +11 -0
- package/dist/components/Heros/SectionHero/index.js +1 -0
- package/dist/components/Heros/SectionHero/index.mjs +1 -0
- package/dist/components/Heros/index.d.ts +1 -0
- package/dist/components/Heros/index.js +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/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/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +1 -1
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +182 -182
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.d.ts +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +200 -200
- package/dist/components/Pages/Website.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.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hero-3-N2CBGEV6.jpg +0 -0
- package/dist/image-hero1-V6MPFDQ6.webp +0 -0
- package/dist/images/hero/hero-3.js +1 -0
- package/dist/images/hero/hero-3.mjs +1 -0
- package/dist/images/hero/image-hero1.js +1 -0
- package/dist/images/hero/image-hero1.mjs +1 -0
- package/dist/images/hero/pattern-1.js +1 -0
- package/dist/images/hero/pattern-1.mjs +1 -0
- package/dist/images/hero/pattern-2.js +1 -0
- package/dist/images/hero/pattern-2.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/dist/pattern-1-EKFV67R7.png +0 -0
- package/dist/pattern-2-6AZH7ORR.png +0 -0
- package/dist/sections/PricingSection.d.ts +7 -0
- package/dist/sections/PricingSection.js +4 -0
- package/dist/sections/PricingSection.mjs +1 -0
- package/dist/sections/PricingSection.stories.js +4 -0
- package/dist/sections/PricingSection.stories.mjs +1 -0
- package/dist/sections/ServiceSection.d.ts +7 -0
- package/dist/sections/ServiceSection.js +4 -0
- package/dist/sections/ServiceSection.mjs +1 -0
- package/dist/sections/ServiceSection.stories.js +4 -0
- package/dist/sections/ServiceSection.stories.mjs +1 -0
- package/dist/utils/AOSInit.css +1 -0
- package/dist/utils/AOSInit.d.ts +2 -0
- package/dist/utils/AOSInit.js +8 -0
- package/dist/utils/AOSInit.mjs +8 -0
- package/dist/utils/setStaggeredDelay.d.ts +10 -0
- package/dist/utils/setStaggeredDelay.js +1 -0
- package/dist/utils/setStaggeredDelay.mjs +1 -0
- package/package.json +4 -1
- package/dist/chunk-DDEPPEJ7.mjs +0 -1
- package/dist/chunk-LBXZO7YT.mjs +0 -1
- package/dist/chunk-PTX3WDAE.mjs +0 -4
- package/dist/chunk-Q5NQ35NR.mjs +0 -4
- package/dist/chunk-Z4MPZSVH.mjs +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use client";import{b as oa,c as da}from"../chunk-D2WXBUVJ.mjs";var aa=oa((J,U)=>{"use strict";(function(h,e){typeof J=="object"&&typeof U=="object"?U.exports=e():typeof define=="function"&&define.amd?define([],e):typeof J=="object"?J.AOS=e():h.AOS=e()})(J,function(){return function(h){function e(o){if(n[o])return n[o].exports;var l=n[o]={exports:{},id:o,loaded:!1};return h[o].call(l.exports,l,l.exports,e),l.loaded=!0,l.exports}var n={};return e.m=h,e.c=n,e.p="dist/",e(0)}([function(h,e,n){"use strict";function o(d){return d&&d.__esModule?d:{default:d}}var l=Object.assign||function(d){for(var x=1;x<arguments.length;x++){var A=arguments[x];for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&(d[D]=A[D])}return d},m=n(1),w=(o(m),n(6)),s=o(w),b=n(7),i=o(b),y=n(8),r=o(y),f=n(9),z=o(f),O=n(10),X=o(O),B=n(11),F=o(B),K=n(14),C=o(K),S=[],Z=!1,p={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},_=function(){var d=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(d&&(Z=!0),Z)return S=(0,F.default)(S,p),(0,X.default)(S,p.once),S},P=function(){S=(0,C.default)(),_()},t=function(){S.forEach(function(d,x){d.node.removeAttribute("data-aos"),d.node.removeAttribute("data-aos-easing"),d.node.removeAttribute("data-aos-duration"),d.node.removeAttribute("data-aos-delay")})},a=function(d){return d===!0||d==="mobile"&&z.default.mobile()||d==="phone"&&z.default.phone()||d==="tablet"&&z.default.tablet()||typeof d=="function"&&d()===!0},u=function(d){p=l(p,d),S=(0,C.default)();var x=document.all&&!window.atob;return a(p.disable)||x?t():(p.disableMutationObserver||r.default.isSupported()||(console.info(`
|
|
5
|
+
aos: MutationObserver is not supported on this browser,
|
|
6
|
+
code mutations observing has been disabled.
|
|
7
|
+
You may have to call "refreshHard()" by yourself.
|
|
8
|
+
`),p.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",p.easing),document.querySelector("body").setAttribute("data-aos-duration",p.duration),document.querySelector("body").setAttribute("data-aos-delay",p.delay),p.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):p.startEvent==="load"?window.addEventListener(p.startEvent,function(){_(!0)}):document.addEventListener(p.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("orientationchange",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)(function(){(0,X.default)(S,p.once)},p.throttleDelay)),p.disableMutationObserver||r.default.ready("[data-aos]",P),S)};h.exports={init:u,refresh:_,refreshHard:P}},function(h,e){},,,,,function(h,e){(function(n){"use strict";function o(a,u,d){function x(c){var j=M,$=N;return M=N=void 0,H=c,k=a.apply($,j)}function A(c){return H=c,v=setTimeout(I,u),Y?x(c):k}function D(c){var j=c-q,$=c-H,V=u-j;return L?P(V,T-$):V}function W(c){var j=c-q,$=c-H;return q===void 0||j>=u||j<0||L&&$>=T}function I(){var c=t();return W(c)?Q(c):void(v=setTimeout(I,D(c)))}function Q(c){return v=void 0,g&&M?x(c):(M=N=void 0,k)}function R(){v!==void 0&&clearTimeout(v),H=0,M=q=N=v=void 0}function G(){return v===void 0?k:Q(t())}function E(){var c=t(),j=W(c);if(M=arguments,N=this,q=c,j){if(v===void 0)return A(q);if(L)return v=setTimeout(I,u),x(q)}return v===void 0&&(v=setTimeout(I,u)),k}var M,N,T,k,v,q,H=0,Y=!1,L=!1,g=!0;if(typeof a!="function")throw new TypeError(y);return u=b(u)||0,m(d)&&(Y=!!d.leading,L="maxWait"in d,T=L?_(b(d.maxWait)||0,u):T,g="trailing"in d?!!d.trailing:g),E.cancel=R,E.flush=G,E}function l(a,u,d){var x=!0,A=!0;if(typeof a!="function")throw new TypeError(y);return m(d)&&(x="leading"in d?!!d.leading:x,A="trailing"in d?!!d.trailing:A),o(a,u,{leading:x,maxWait:u,trailing:A})}function m(a){var u=typeof a=="undefined"?"undefined":i(a);return!!a&&(u=="object"||u=="function")}function w(a){return!!a&&(typeof a=="undefined"?"undefined":i(a))=="object"}function s(a){return(typeof a=="undefined"?"undefined":i(a))=="symbol"||w(a)&&p.call(a)==f}function b(a){if(typeof a=="number")return a;if(s(a))return r;if(m(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=m(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=a.replace(z,"");var d=X.test(a);return d||B.test(a)?F(a.slice(2),d?2:8):O.test(a)?r:+a}var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y="Expected a function",r=NaN,f="[object Symbol]",z=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,B=/^0o[0-7]+$/i,F=parseInt,K=(typeof n=="undefined"?"undefined":i(n))=="object"&&n&&n.Object===Object&&n,C=(typeof self=="undefined"?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,S=K||C||Function("return this")(),Z=Object.prototype,p=Z.toString,_=Math.max,P=Math.min,t=function(){return S.Date.now()};h.exports=l}).call(e,function(){return this}())},function(h,e){(function(n){"use strict";function o(t,a,u){function d(g){var c=E,j=M;return E=M=void 0,q=g,T=t.apply(j,c)}function x(g){return q=g,k=setTimeout(W,a),H?d(g):T}function A(g){var c=g-v,j=g-q,$=a-c;return Y?_($,N-j):$}function D(g){var c=g-v,j=g-q;return v===void 0||c>=a||c<0||Y&&j>=N}function W(){var g=P();return D(g)?I(g):void(k=setTimeout(W,A(g)))}function I(g){return k=void 0,L&&E?d(g):(E=M=void 0,T)}function Q(){k!==void 0&&clearTimeout(k),q=0,E=v=M=k=void 0}function R(){return k===void 0?T:I(P())}function G(){var g=P(),c=D(g);if(E=arguments,M=this,v=g,c){if(k===void 0)return x(v);if(Y)return k=setTimeout(W,a),d(v)}return k===void 0&&(k=setTimeout(W,a)),T}var E,M,N,T,k,v,q=0,H=!1,Y=!1,L=!0;if(typeof t!="function")throw new TypeError(i);return a=s(a)||0,l(u)&&(H=!!u.leading,Y="maxWait"in u,N=Y?p(s(u.maxWait)||0,a):N,L="trailing"in u?!!u.trailing:L),G.cancel=Q,G.flush=R,G}function l(t){var a=typeof t=="undefined"?"undefined":b(t);return!!t&&(a=="object"||a=="function")}function m(t){return!!t&&(typeof t=="undefined"?"undefined":b(t))=="object"}function w(t){return(typeof t=="undefined"?"undefined":b(t))=="symbol"||m(t)&&Z.call(t)==r}function s(t){if(typeof t=="number")return t;if(w(t))return y;if(l(t)){var a=typeof t.valueOf=="function"?t.valueOf():t;t=l(a)?a+"":a}if(typeof t!="string")return t===0?t:+t;t=t.replace(f,"");var u=O.test(t);return u||X.test(t)?B(t.slice(2),u?2:8):z.test(t)?y:+t}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="Expected a function",y=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,X=/^0o[0-7]+$/i,B=parseInt,F=(typeof n=="undefined"?"undefined":b(n))=="object"&&n&&n.Object===Object&&n,K=(typeof self=="undefined"?"undefined":b(self))=="object"&&self&&self.Object===Object&&self,C=F||K||Function("return this")(),S=Object.prototype,Z=S.toString,p=Math.max,_=Math.min,P=function(){return C.Date.now()};h.exports=o}).call(e,function(){return this}())},function(h,e){"use strict";function n(b){var i=void 0,y=void 0,r=void 0;for(i=0;i<b.length;i+=1)if(y=b[i],y.dataset&&y.dataset.aos||(r=y.children&&n(y.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function m(b,i){var y=window.document,r=o(),f=new r(w);s=i,f.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function w(b){b&&b.forEach(function(i){var y=Array.prototype.slice.call(i.addedNodes),r=Array.prototype.slice.call(i.removedNodes),f=y.concat(r);if(n(f))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:l,ready:m}},function(h,e){"use strict";function n(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function y(r,f){for(var z=0;z<f.length;z++){var O=f[z];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(r,O.key,O)}}return function(r,f,z){return f&&y(r.prototype,f),z&&y(r,z),r}}(),m=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,w=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,b=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=function(){function y(){n(this,y)}return l(y,[{key:"phone",value:function(){var r=o();return!(!m.test(r)&&!w.test(r.substr(0,4)))}},{key:"mobile",value:function(){var r=o();return!(!s.test(r)&&!b.test(r.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),y}();e.default=new i},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(l,m,w){var s=l.node.getAttribute("data-aos-once");m>l.position?l.node.classList.add("aos-animate"):typeof s!="undefined"&&(s==="false"||!w&&s!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,m){var w=window.pageYOffset,s=window.innerHeight;l.forEach(function(b,i){n(b,s+w,m)})};e.default=o},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),m=o(l),w=function(s,b){return s.forEach(function(i,y){i.node.classList.add("aos-init"),i.position=(0,m.default)(i.node,b.offset)}),s};e.default=w},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(13),m=o(l),w=function(s,b){var i=0,y=0,r=window.innerHeight,f={offset:s.getAttribute("data-aos-offset"),anchor:s.getAttribute("data-aos-anchor"),anchorPlacement:s.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(y=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(s=document.querySelectorAll(f.anchor)[0]),i=(0,m.default)(s).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=s.offsetHeight/2;break;case"bottom-bottom":i+=s.offsetHeight;break;case"top-center":i+=r/2;break;case"bottom-center":i+=r/2+s.offsetHeight;break;case"center-center":i+=r/2+s.offsetHeight/2;break;case"top-top":i+=r;break;case"bottom-top":i+=s.offsetHeight+r;break;case"center-top":i+=s.offsetHeight/2+r}return f.anchorPlacement||f.offset||isNaN(b)||(y=b),i+y};e.default=w},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){for(var l=0,m=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),m+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:m,left:l}};e.default=n},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};e.default=n}])})});var ta=da(aa());import{useEffect as sa}from"react";function la(){return sa(()=>{ta.default.init({duration:1e3,offset:0,once:!0})},[]),null}export{la as AOSInit};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get a staggered delay value from an array of delay values.
|
|
3
|
+
* Example: Given 8 cards and stagger timing (8n + 1) - 1,9,17,25 series,
|
|
4
|
+
* this function will return the appropriate delay value.
|
|
5
|
+
*
|
|
6
|
+
* @param {delayValues} number[] - An array of delay values.
|
|
7
|
+
* @param {index} number - The index to determine the delay value.
|
|
8
|
+
* @returns {number} - The calculated delay value.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getStaggeredDelay: (delayValues: (number | string)[], index: number) => string | number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var l=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var n in e)l(t,n,{get:e[n],enumerable:!0})},o=(t,e,n,g)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!s.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(g=a(e,r))||g.enumerable});return t};var D=t=>o(l({},"__esModule",{value:!0}),t);var d={};u(d,{getStaggeredDelay:()=>b});module.exports=D(d);var b=(t,e)=>t[e%t.length];0&&(module.exports={getStaggeredDelay});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-SV7NMNDI.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as getStaggeredDelay};
|
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.
|
|
5
|
+
"version": "1.12.0",
|
|
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",
|
|
@@ -50,11 +50,13 @@
|
|
|
50
50
|
"@storybook/test": "^8.4.7",
|
|
51
51
|
"@storybook/theming": "^8.4.7",
|
|
52
52
|
"@testing-library/react": "^16.1.0",
|
|
53
|
+
"@types/aos": "^3.0.7",
|
|
53
54
|
"@types/node": "^22.10.2",
|
|
54
55
|
"@types/react": "^19.0.2",
|
|
55
56
|
"@types/react-dom": "^19.0.2",
|
|
56
57
|
"@vitejs/plugin-react": "^4.3.4",
|
|
57
58
|
"@vitest/coverage-v8": "^2.1.8",
|
|
59
|
+
"aos": "^2.3.4",
|
|
58
60
|
"autoprefixer": "^10.4.20",
|
|
59
61
|
"css-loader": "^7.1.2",
|
|
60
62
|
"esbuild-plugin-preserve-directives": "^0.0.11",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"msw-storybook-addon": "^2.0.4",
|
|
69
71
|
"postcss": "^8.4.49",
|
|
70
72
|
"postcss-loader": "^8.1.1",
|
|
73
|
+
"postcss-nesting": "^13.0.1",
|
|
71
74
|
"react": "^19.0.0",
|
|
72
75
|
"react-dom": "^19.0.0",
|
|
73
76
|
"semantic-release": "^24.2.0",
|
package/dist/chunk-DDEPPEJ7.mjs
DELETED
|
@@ -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-LBXZO7YT.mjs";import{a as i}from"./chunk-SPDBC32Z.mjs";import{a as o}from"./chunk-PTX3WDAE.mjs";import{a as t}from"./chunk-Z4MPZSVH.mjs";import{a}from"./chunk-YCT3EQRB.mjs";import{jsx as e,jsxs as u}from"react/jsx-runtime";function n({...r}){return u("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(a,{isMenuOpen:!0,logoLight:p,logoDark:d}),r.hero&&r.hero.type==="lowImpact"&&e(i,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(t,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(o,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(m,{...r.hero})]})}export{n as a};
|
package/dist/chunk-LBXZO7YT.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as g}from"./chunk-CW7WANDA.mjs";import{a as p}from"./chunk-JUV4GZ2N.mjs";import s from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var u=({post:v})=>{let{categories:o,meta:{image:i}={},populatedAuthors:a,publishedAt:n,title:f}=v;return t("div",{className:"relative -mt-[10.4rem] flex items-end",children:[e("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-white pb-8",children:t("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[e("div",{className:"uppercase text-sm mb-6",children:o==null?void 0:o.map((m,l)=>{if(typeof m=="object"&&m!==null){let{title:c}=m,d=c||"Untitled category",r=l===o.length-1;return t(s.Fragment,{children:[d,!r&&e(s.Fragment,{children:", \xA0"})]},l)}return null})}),e("div",{className:"",children:e("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:f})}),t("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[e("div",{className:"flex flex-col gap-4",children:a&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Author"}),a.map((m,l)=>{let{name:c}=m,d=l===a.length-1,r=l===a.length-2;return t(s.Fragment,{children:[c,r&&a.length>2&&e(s.Fragment,{children:", "}),r&&a.length===2&&e(s.Fragment,{children:" "}),!d&&a.length>1&&e(s.Fragment,{children:"and "})]},l)})]})}),n&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:n,children:p(n)})]})]})]})}),t("div",{className:"min-h-[80vh] select-none",children:[i&&typeof i!="string"&&e(g,{fill:!0,imgClassName:"-z-10 object-cover",resource:i}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-black to-transparent"})]})]})};export{u as a};
|
package/dist/chunk-PTX3WDAE.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{d as c}from"./chunk-WQF47M5N.mjs";import{a as s}from"./chunk-YAH6C5YX.mjs";import{a as o}from"./chunk-CW7WANDA.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:l,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mb-8 z-10 relative flex items-center justify-center",children:a("div",{className:"max-w-[36.5rem] text-center",children:[l||i&&e(c,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:i,enableGutter:!1}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:m},n)=>e("li",{children:e(s,{...m})},n))})]})}),a("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&e(o,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-accent-900/0 dark:to-accent-900"})]})]});export{y as a};
|
package/dist/chunk-Q5NQ35NR.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as d}from"./chunk-YCT3EQRB.mjs";import{useState as i,useEffect as u}from"react";import{Menu as p,X as w,ChevronDown as g}from"lucide-react";import x from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function E({logoVideo:a,logoLight:m,logoDark:v}){console.log("logoVideo",a);let[r,n]=i(!1),[f,c]=i(!1),[l,s]=i(!1),h=()=>{let t=document.getElementById("next-section");t&&t.scrollIntoView({behavior:"smooth"})};return u(()=>{let t=()=>{window.scrollY>100?(c(!0),s(!1)):(c(!1),s(!0))};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),u(()=>{let t=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),o("div",{className:"relative h-screen",children:[o("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[o("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!r&&e("button",{className:"fixed top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{s(!l)},children:l?e(w,{className:"w-6 h-6 text-white"}):e(p,{className:"w-6 h-6 text-white"})}),e("div",{className:"fixed top-0 left-0 right-0 z-50",children:e(d,{isMenuOpen:r,logoLight:m,logoDark:v})}),e("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${f||l?"opacity-0":"opacity-100"}`}),o("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(x,{src:a,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),o("div",{children:[e("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),e("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),e("div",{className:"flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:h,children:e(g,{size:64})})})]})]})}export{E as a};
|
package/dist/chunk-Z4MPZSVH.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as i}from"./chunk-WQF47M5N.mjs";import{a}from"./chunk-CW7WANDA.mjs";import m from"next/image";import{jsx as r,jsxs as n}from"react/jsx-runtime";var d=({links:l,media:e,children:t,richText:o})=>n("div",{className:"relative bg-brand-one pb-12 pt-10",children:[e&&typeof e=="object"&&r(a,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:e}),e&&typeof e=="string"&&r("div",{children:r(m,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e})}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:t||o&&r(i,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});export{d as a};
|