cortex-react-components 1.11.1 → 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.
Files changed (118) hide show
  1. package/dist/{chunk-OEM7RQ4Q.mjs → chunk-5EX5KVLO.mjs} +1 -1
  2. package/dist/{chunk-MFCXNXQ5.mjs → chunk-5PD7YZ3V.mjs} +1 -1
  3. package/dist/{chunk-Q3HKMCDA.mjs → chunk-5TTFPIXL.mjs} +1 -1
  4. package/dist/{chunk-ODLDYXPZ.mjs → chunk-6FHLIH4J.mjs} +1 -1
  5. package/dist/{chunk-D7VI7GHN.mjs → chunk-7V56HKKJ.mjs} +1 -1
  6. package/dist/{chunk-VTC2WEYO.mjs → chunk-ADICCM6Y.mjs} +1 -1
  7. package/dist/{chunk-FHRWUBJS.mjs → chunk-BYXLOV2Z.mjs} +1 -1
  8. package/dist/{chunk-IB72MBM7.mjs → chunk-CP6IA4YZ.mjs} +1 -1
  9. package/dist/{chunk-N7Z6I6KY.mjs → chunk-CSUTG7F5.mjs} +1 -1
  10. package/dist/{chunk-QRNJ7O2L.mjs → chunk-CW7WANDA.mjs} +1 -1
  11. package/dist/chunk-D2AABOJM.mjs +1 -0
  12. package/dist/{chunk-RPSDBRAG.mjs → chunk-DSTWQW3O.mjs} +1 -1
  13. package/dist/chunk-FNCXXX4V.mjs +1 -0
  14. package/dist/{chunk-D43ENVPX.mjs → chunk-IPHHUHS3.mjs} +1 -1
  15. package/dist/{chunk-IH3RVXY6.mjs → chunk-JG5NJABD.mjs} +1 -1
  16. package/dist/{chunk-UN4YL2CJ.mjs → chunk-KDTPVITC.mjs} +1 -1
  17. package/dist/{chunk-Q24IVBS5.mjs → chunk-L2V7M5EM.mjs} +1 -1
  18. package/dist/{chunk-IE2A7UT3.mjs → chunk-LBKMUSVR.mjs} +1 -1
  19. package/dist/chunk-LKCIMTS6.mjs +1 -0
  20. package/dist/{chunk-CQHNH3XJ.mjs → chunk-LKMZ5ROU.mjs} +1 -1
  21. package/dist/{chunk-63BUZTVI.mjs → chunk-MESSAICX.mjs} +1 -1
  22. package/dist/chunk-MRAO4LPD.mjs +1 -0
  23. package/dist/{chunk-YCT3EQRB.mjs → chunk-O72RP6UB.mjs} +1 -1
  24. package/dist/{chunk-GLKHI35O.mjs → chunk-PVOG5PVP.mjs} +1 -1
  25. package/dist/chunk-SEFPOIPK.mjs +1 -0
  26. package/dist/{chunk-55BPPKDS.mjs → chunk-SPDBC32Z.mjs} +1 -1
  27. package/dist/chunk-SV7NMNDI.mjs +1 -0
  28. package/dist/{chunk-2CXNNW54.mjs → chunk-V6EHJ5M6.mjs} +1 -1
  29. package/dist/{chunk-H2TB2T6H.mjs → chunk-VQGKJUW5.mjs} +1 -1
  30. package/dist/{chunk-KVLKXXVS.mjs → chunk-VY32UTE2.mjs} +1 -1
  31. package/dist/{chunk-FEBVOLWP.mjs → chunk-WMZYFRHZ.mjs} +1 -1
  32. package/dist/{chunk-NSUCU5DU.mjs → chunk-WQF47M5N.mjs} +1 -1
  33. package/dist/{chunk-RQKTHY3B.mjs → chunk-YPP62UKD.mjs} +1 -1
  34. package/dist/components/Blocks/Banner.mjs +1 -1
  35. package/dist/components/Blocks/CallToAction.mjs +1 -1
  36. package/dist/components/Blocks/Content.mjs +1 -1
  37. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  38. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  39. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  40. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  41. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  42. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  43. package/dist/components/Blocks/index.mjs +1 -1
  44. package/dist/components/Cards/PricingCard.d.ts +10 -0
  45. package/dist/components/Cards/PricingCard.js +1 -0
  46. package/dist/components/Cards/PricingCard.mjs +1 -0
  47. package/dist/components/Cards/PricingCard.stories.js +1 -0
  48. package/dist/components/Cards/PricingCard.stories.mjs +1 -0
  49. package/dist/components/Cards/ServiceCard.d.ts +8 -0
  50. package/dist/components/Cards/ServiceCard.js +4 -0
  51. package/dist/components/Cards/ServiceCard.mjs +1 -0
  52. package/dist/components/Cards/ServiceCard.stories.js +4 -0
  53. package/dist/components/Cards/ServiceCard.stories.mjs +1 -0
  54. package/dist/components/Cards/index.mjs +1 -1
  55. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  56. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  57. package/dist/components/HeaderFooter/SectionHeading.d.ts +19 -0
  58. package/dist/components/HeaderFooter/SectionHeading.js +4 -0
  59. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -0
  60. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  61. package/dist/components/HeaderFooter/index.mjs +1 -1
  62. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  63. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  64. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  65. package/dist/components/Heros/PostHero/index.mjs +1 -1
  66. package/dist/components/Heros/RenderHero.mjs +1 -1
  67. package/dist/components/Heros/index.mjs +1 -1
  68. package/dist/components/Layouts/NewsGrid.mjs +1 -1
  69. package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
  70. package/dist/components/Layouts/index.mjs +1 -1
  71. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  72. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  73. package/dist/components/Menus/SidebarRight.mjs +1 -1
  74. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  75. package/dist/components/Menus/index.mjs +1 -1
  76. package/dist/components/Pages/Documentation.mjs +1 -1
  77. package/dist/components/Pages/Documentation.stories.mjs +1 -1
  78. package/dist/components/Pages/IndexPage.mjs +1 -1
  79. package/dist/components/Pages/IndexPage.stories.mjs +1 -1
  80. package/dist/components/Pages/Intranet.mjs +1 -1
  81. package/dist/components/Pages/Intranet.stories.mjs +1 -1
  82. package/dist/components/Pages/LandingPage.mjs +1 -1
  83. package/dist/components/Pages/LandingPage.stories.mjs +1 -1
  84. package/dist/components/Pages/Page.mjs +1 -1
  85. package/dist/components/Pages/Page.stories.mjs +1 -1
  86. package/dist/components/Pages/Website.mjs +1 -1
  87. package/dist/components/Pages/Website.stories.mjs +1 -1
  88. package/dist/components/Payload/Card/index.mjs +1 -1
  89. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  90. package/dist/components/Payload/Media/index.mjs +1 -1
  91. package/dist/components/Payload/RichText/index.mjs +1 -1
  92. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  93. package/dist/components/Payload/index.mjs +1 -1
  94. package/dist/components/index.mjs +1 -1
  95. package/dist/components/ui/index.mjs +1 -1
  96. package/dist/components/ui/sidebar.mjs +1 -1
  97. package/dist/globals.css +1 -1
  98. package/dist/index.mjs +1 -1
  99. package/dist/metafile-cjs.json +1 -1
  100. package/dist/metafile-esm.json +1 -1
  101. package/dist/sections/PricingSection.d.ts +7 -0
  102. package/dist/sections/PricingSection.js +4 -0
  103. package/dist/sections/PricingSection.mjs +1 -0
  104. package/dist/sections/PricingSection.stories.js +4 -0
  105. package/dist/sections/PricingSection.stories.mjs +1 -0
  106. package/dist/sections/ServiceSection.d.ts +7 -0
  107. package/dist/sections/ServiceSection.js +4 -0
  108. package/dist/sections/ServiceSection.mjs +1 -0
  109. package/dist/sections/ServiceSection.stories.js +4 -0
  110. package/dist/sections/ServiceSection.stories.mjs +1 -0
  111. package/dist/utils/AOSInit.css +1 -0
  112. package/dist/utils/AOSInit.d.ts +2 -0
  113. package/dist/utils/AOSInit.js +8 -0
  114. package/dist/utils/AOSInit.mjs +8 -0
  115. package/dist/utils/setStaggeredDelay.d.ts +10 -0
  116. package/dist/utils/setStaggeredDelay.js +1 -0
  117. package/dist/utils/setStaggeredDelay.mjs +1 -0
  118. package/package.json +4 -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.11.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",