@zenpatient-org/healthspan-marketing-ui 0.1.22 → 0.1.24

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 (208) hide show
  1. package/README.md +11 -1
  2. package/dist/components/Accordion/Accordion.cjs.js +1 -0
  3. package/dist/components/Accordion/Accordion.d.ts +8 -0
  4. package/dist/components/Accordion/Accordion.es.js +27 -0
  5. package/dist/components/Accordion/accordion.module.css.cjs.js +1 -0
  6. package/dist/components/Accordion/accordion.module.css.es.js +7 -0
  7. package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +1 -0
  8. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
  9. package/dist/components/Accordion/components/AccordionItem/AccordionItem.es.js +31 -0
  10. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +1 -0
  11. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +25 -0
  12. package/dist/components/Accordion/components/AccordionItem/index.d.ts +2 -0
  13. package/dist/components/Accordion/components/AccordionItem/types.d.ts +9 -0
  14. package/dist/components/Accordion/components/index.d.ts +1 -0
  15. package/dist/components/Accordion/index.d.ts +1 -0
  16. package/dist/components/Accordion/types.d.ts +6 -0
  17. package/dist/components/Button/Button.es.js +24 -6
  18. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -0
  19. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +3 -0
  20. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +135 -0
  21. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -0
  22. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -0
  23. package/dist/components/ComplexImageCarousel/index.d.ts +2 -0
  24. package/dist/components/ComplexImageCarousel/types.d.ts +10 -0
  25. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -1
  26. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +17 -15
  27. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
  28. package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
  29. package/dist/components/Icon/constants.cjs.js +1 -1
  30. package/dist/components/Icon/constants.d.ts +3 -0
  31. package/dist/components/Icon/constants.es.js +4 -1
  32. package/dist/components/Icon/iconsMap.cjs.js +1 -1
  33. package/dist/components/Icon/iconsMap.es.js +104 -98
  34. package/dist/components/IconBracket/IconBracket.cjs.js +1 -0
  35. package/dist/components/IconBracket/IconBracket.d.ts +3 -0
  36. package/dist/components/IconBracket/IconBracket.es.js +16 -0
  37. package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -0
  38. package/dist/components/IconBracket/iconBracket.module.css.es.js +9 -0
  39. package/dist/components/IconBracket/index.d.ts +1 -0
  40. package/dist/components/IconBracket/types.d.ts +8 -0
  41. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
  42. package/dist/components/Label/Label.es.js +9 -1
  43. package/dist/components/PlayButton/PlayButton.cjs.js +1 -0
  44. package/dist/components/PlayButton/PlayButton.d.ts +8 -0
  45. package/dist/components/PlayButton/PlayButton.es.js +9 -0
  46. package/dist/components/PlayButton/index.d.ts +1 -0
  47. package/dist/components/PlayButton/playButton.module.css.cjs.js +1 -0
  48. package/dist/components/PlayButton/playButton.module.css.es.js +11 -0
  49. package/dist/components/Pricing/Pricing.cjs.js +1 -0
  50. package/dist/components/Pricing/Pricing.d.ts +3 -0
  51. package/dist/components/Pricing/Pricing.es.js +41 -0
  52. package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
  53. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
  54. package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
  55. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
  56. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
  57. package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
  58. package/dist/components/Pricing/components/index.d.ts +1 -0
  59. package/dist/components/Pricing/index.d.ts +2 -0
  60. package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
  61. package/dist/components/Pricing/pricing.module.css.es.js +25 -0
  62. package/dist/components/Pricing/types.d.ts +17 -0
  63. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
  64. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +24 -3
  65. package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
  66. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -1
  67. package/dist/components/ProgressButton/ProgressButton.es.js +24 -12
  68. package/dist/components/RatingStars/RatingStars.cjs.js +1 -0
  69. package/dist/components/RatingStars/RatingStars.d.ts +6 -0
  70. package/dist/components/RatingStars/RatingStars.es.js +18 -0
  71. package/dist/components/RatingStars/index.d.ts +1 -0
  72. package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -0
  73. package/dist/components/RatingStars/ratingStars.module.css.es.js +13 -0
  74. package/dist/components/StepsCarousel/StepsCarousel.es.js +47 -13
  75. package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
  76. package/dist/components/Tabs/TabsWithFade.es.js +10 -1
  77. package/dist/components/Typography/Typography.es.js +8 -1
  78. package/dist/healthspan-marketing-ui.css +1 -1
  79. package/dist/icons/action/bracket-left.svg.cjs.js +1 -0
  80. package/dist/icons/action/bracket-left.svg.es.js +5 -0
  81. package/dist/icons/action/bracket-right.svg.cjs.js +1 -0
  82. package/dist/icons/action/bracket-right.svg.es.js +5 -0
  83. package/dist/icons/action/play.svg.cjs.js +1 -0
  84. package/dist/icons/action/play.svg.es.js +5 -0
  85. package/dist/modules/Benefits/Benefits.es.js +3 -26
  86. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +3 -27
  87. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +1 -10
  88. package/dist/modules/Compare/Compare.cjs.js +1 -0
  89. package/dist/modules/Compare/Compare.d.ts +3 -0
  90. package/dist/modules/Compare/Compare.es.js +26 -0
  91. package/dist/modules/Compare/compare.module.css.cjs.js +1 -0
  92. package/dist/modules/Compare/compare.module.css.es.js +13 -0
  93. package/dist/modules/Compare/index.d.ts +1 -0
  94. package/dist/modules/Compare/types.d.ts +9 -0
  95. package/dist/modules/Comparison/Comparison.es.js +20 -5
  96. package/dist/modules/FAQ/FAQ.cjs.js +1 -0
  97. package/dist/modules/FAQ/FAQ.d.ts +3 -0
  98. package/dist/modules/FAQ/FAQ.es.js +17 -0
  99. package/dist/modules/FAQ/faq.module.css.cjs.js +1 -0
  100. package/dist/modules/FAQ/faq.module.css.es.js +17 -0
  101. package/dist/modules/FAQ/index.d.ts +1 -0
  102. package/dist/modules/FAQ/types.d.ts +10 -0
  103. package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
  104. package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
  105. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
  106. package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
  107. package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -0
  108. package/dist/modules/ImageWithText/ImageWithText.d.ts +3 -0
  109. package/dist/modules/ImageWithText/ImageWithText.es.js +35 -0
  110. package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -0
  111. package/dist/modules/ImageWithText/imageWithText.module.css.es.js +21 -0
  112. package/dist/modules/ImageWithText/index.d.ts +1 -0
  113. package/dist/modules/ImageWithText/types.d.ts +9 -0
  114. package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -0
  115. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +3 -0
  116. package/dist/modules/LongevityPathways/LongevityPathways.es.js +19 -0
  117. package/dist/modules/LongevityPathways/index.d.ts +2 -0
  118. package/dist/modules/LongevityPathways/longevityPathways.module.css.cjs.js +1 -0
  119. package/dist/modules/LongevityPathways/longevityPathways.module.css.es.js +9 -0
  120. package/dist/modules/LongevityPathways/types.d.ts +9 -0
  121. package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
  122. package/dist/modules/OptimalHealth/OptimalHealth.es.js +24 -7
  123. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
  124. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
  125. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
  126. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
  127. package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
  128. package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
  129. package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
  130. package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
  131. package/dist/modules/OurProcess/OurProcess.es.js +17 -8
  132. package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -1
  133. package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -2
  134. package/dist/modules/PairedProducts/PairedProducts.es.js +1 -1
  135. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -0
  136. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +9 -0
  137. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +102 -0
  138. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -0
  139. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +29 -0
  140. package/dist/modules/SlidingTabsGallery/index.d.ts +1 -0
  141. package/dist/modules/Testimonial/Testimonial.cjs.js +1 -0
  142. package/dist/modules/Testimonial/Testimonial.d.ts +13 -0
  143. package/dist/modules/Testimonial/Testimonial.es.js +88 -0
  144. package/dist/modules/Testimonial/components/Product/Product.cjs.js +1 -0
  145. package/dist/modules/Testimonial/components/Product/Product.d.ts +7 -0
  146. package/dist/modules/Testimonial/components/Product/Product.es.js +23 -0
  147. package/dist/modules/Testimonial/components/Product/index.d.ts +1 -0
  148. package/dist/modules/Testimonial/components/Product/product.module.css.cjs.js +1 -0
  149. package/dist/modules/Testimonial/components/Product/product.module.css.es.js +17 -0
  150. package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -0
  151. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +3 -0
  152. package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -0
  153. package/dist/modules/Testimonial/components/TextCard/index.d.ts +1 -0
  154. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.cjs.js +1 -0
  155. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.es.js +13 -0
  156. package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -0
  157. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +11 -0
  158. package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +62 -0
  159. package/dist/modules/Testimonial/components/VideoCard/index.d.ts +1 -0
  160. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.cjs.js +1 -0
  161. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.es.js +17 -0
  162. package/dist/modules/Testimonial/index.d.ts +1 -0
  163. package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -0
  164. package/dist/modules/Testimonial/testimonial.module.css.es.js +25 -0
  165. package/dist/modules/Testimonial/types.d.ts +26 -0
  166. package/dist/modules/TrackProgress/TrackProgress.cjs.js +1 -0
  167. package/dist/modules/TrackProgress/TrackProgress.d.ts +10 -0
  168. package/dist/modules/TrackProgress/TrackProgress.es.js +24 -0
  169. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -0
  170. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +7 -0
  171. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +90 -0
  172. package/dist/modules/TrackProgress/components/TimelineContent/index.d.ts +1 -0
  173. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -0
  174. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +25 -0
  175. package/dist/modules/TrackProgress/index.d.ts +1 -0
  176. package/dist/modules/TrackProgress/trackProgress.module.css.cjs.js +1 -0
  177. package/dist/modules/TrackProgress/trackProgress.module.css.es.js +13 -0
  178. package/dist/modules/TrackProgress/types.d.ts +6 -0
  179. package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -1
  180. package/dist/modules/TypesOfTests/TypesOfTests.es.js +86 -47
  181. package/dist/modules/TypesOfTests/types.d.ts +4 -0
  182. package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -1
  183. package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +14 -12
  184. package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
  185. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
  186. package/dist/node_modules/@gsap/react/src/index.cjs.js +9 -0
  187. package/dist/node_modules/@gsap/react/src/index.es.js +29 -0
  188. package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
  189. package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
  190. package/dist/node_modules/gsap/Flip.cjs.js +8 -0
  191. package/dist/node_modules/gsap/Flip.es.js +525 -0
  192. package/dist/node_modules/gsap/Observer.cjs.js +8 -0
  193. package/dist/node_modules/gsap/Observer.es.js +242 -0
  194. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
  195. package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
  196. package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
  197. package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
  198. package/dist/node_modules/gsap/index.cjs.js +1 -0
  199. package/dist/node_modules/gsap/index.es.js +13 -0
  200. package/dist/node_modules/gsap/utils/matrix.cjs.js +8 -0
  201. package/dist/node_modules/gsap/utils/matrix.es.js +104 -0
  202. package/dist/pageComponents/Gradient/Gradient.d.ts +5 -0
  203. package/dist/pageComponents/Gradient/index.d.ts +1 -0
  204. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
  205. package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
  206. package/package.json +95 -4
  207. package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
  208. package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./gsap-core.cjs.js"),n=require("./CSSPlugin.cjs.js");var i=e.gsap.registerPlugin(n.CSSPlugin)||e.gsap;i.core.Tween;exports.TimelineLite=e.Timeline;exports.TimelineMax=e.Timeline;exports.TweenLite=e.Tween;exports.CSSPlugin=n.CSSPlugin;exports.default=i;exports.gsap=i;
@@ -0,0 +1,13 @@
1
+ import { gsap as e } from "./gsap-core.es.js";
2
+ import { Timeline as t, Timeline as o, Tween as l } from "./gsap-core.es.js";
3
+ import { CSSPlugin as i } from "./CSSPlugin.es.js";
4
+ var a = e.registerPlugin(i) || e;
5
+ a.core.Tween;
6
+ export {
7
+ i as CSSPlugin,
8
+ t as TimelineLite,
9
+ o as TimelineMax,
10
+ l as TweenLite,
11
+ a as default,
12
+ a as gsap
13
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!
2
+ * matrix 3.13.0
3
+ * https://gsap.com
4
+ *
5
+ * Copyright 2008-2025, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */var g,b,M,x,w,y,C,v,h="transform",N=h+"Origin",m,D=function(t){var o=t.ownerDocument||t;for(!(h in t.style)&&("msTransform"in t.style)&&(h="msTransform",N=h+"Origin");o.parentNode&&(o=o.parentNode););if(b=window,C=new _,o){g=o,M=o.documentElement,x=o.body,v=g.createElementNS("http://www.w3.org/2000/svg","g"),v.style.transform="none";var e=o.createElement("div"),s=o.createElement("div"),a=o&&(o.body||o.firstElementChild);a&&a.appendChild&&(a.appendChild(e),e.appendChild(s),e.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),m=s.offsetParent!==e,a.removeChild(e))}return o},G=function(t){for(var o,e;t&&t!==x;)e=t._gsap,e&&e.uncache&&e.get(t,"x"),e&&!e.scaleX&&!e.scaleY&&e.renderTransform&&(e.scaleX=e.scaleY=1e-4,e.renderTransform(1,e),o?o.push(e):o=[e]),t=t.parentNode;return o},B=[],A=[],P=function(){return b.pageYOffset||g.scrollTop||M.scrollTop||x.scrollTop||0},R=function(){return b.pageXOffset||g.scrollLeft||M.scrollLeft||x.scrollLeft||0},E=function(t){return t.ownerSVGElement||((t.tagName+"").toLowerCase()==="svg"?t:null)},I=function c(t){if(b.getComputedStyle(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return c(t)},T=function c(t,o){if(t.parentNode&&(g||D(t))){var e=E(t),s=e?e.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=e?o?"rect":"g":"div",r=o!==2?0:100,l=o===3?100:0,f="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",i=g.createElementNS?g.createElementNS(s.replace(/^https/,"http"),a):g.createElement(a);return o&&(e?(y||(y=c(t)),i.setAttribute("width",.01),i.setAttribute("height",.01),i.setAttribute("transform","translate("+r+","+l+")"),y.appendChild(i)):(w||(w=c(t),w.style.cssText=f),i.style.cssText=f+"width:0.1px;height:0.1px;top:"+l+"px;left:"+r+"px",w.appendChild(i))),i}throw"Need document and parent."},X=function(t){for(var o=new _,e=0;e<t.numberOfItems;e++)o.multiply(t.getItem(e).matrix);return o},F=function(t){var o=t.getCTM(),e;return o||(e=t.style[h],t.style[h]="none",t.appendChild(v),o=v.getCTM(),t.removeChild(v),e?t.style[h]=e:t.style.removeProperty(h.replace(/([A-Z])/g,"-$1").toLowerCase())),o||C.clone()},Y=function(t,o){var e=E(t),s=t===e,a=e?B:A,r=t.parentNode,l=r&&!e&&r.shadowRoot&&r.shadowRoot.appendChild?r.shadowRoot:r,f,i,n,d,p,u;if(t===b)return t;if(a.length||a.push(T(t,1),T(t,2),T(t,3)),f=e?y:w,e)s?(n=F(t),d=-n.e/n.a,p=-n.f/n.d,i=C):t.getBBox?(n=t.getBBox(),i=t.transform?t.transform.baseVal:{},i=i.numberOfItems?i.numberOfItems>1?X(i):i.getItem(0).matrix:C,d=i.a*n.x+i.c*n.y,p=i.b*n.x+i.d*n.y):(i=new _,d=p=0),o&&t.tagName.toLowerCase()==="g"&&(d=p=0),(s?e:r).appendChild(f),f.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+d)+","+(i.f+p)+")");else{if(d=p=0,m)for(i=t.offsetParent,n=t;n&&(n=n.parentNode)&&n!==i&&n.parentNode;)(b.getComputedStyle(n)[h]+"").length>4&&(d=n.offsetLeft,p=n.offsetTop,n=0);if(u=b.getComputedStyle(t),u.position!=="absolute"&&u.position!=="fixed")for(i=t.offsetParent;r&&r!==i;)d+=r.scrollLeft||0,p+=r.scrollTop||0,r=r.parentNode;n=f.style,n.top=t.offsetTop-p+"px",n.left=t.offsetLeft-d+"px",n[h]=u[h],n[N]=u[N],n.position=u.position==="fixed"?"fixed":"absolute",l.appendChild(f)}return f},S=function(t,o,e,s,a,r,l){return t.a=o,t.b=e,t.c=s,t.d=a,t.e=r,t.f=l,t},_=function(){function c(o,e,s,a,r,l){o===void 0&&(o=1),e===void 0&&(e=0),s===void 0&&(s=0),a===void 0&&(a=1),r===void 0&&(r=0),l===void 0&&(l=0),S(this,o,e,s,a,r,l)}var t=c.prototype;return t.inverse=function(){var e=this.a,s=this.b,a=this.c,r=this.d,l=this.e,f=this.f,i=e*r-s*a||1e-10;return S(this,r/i,-s/i,-a/i,e/i,(a*f-r*l)/i,-(e*f-s*l)/i)},t.multiply=function(e){var s=this.a,a=this.b,r=this.c,l=this.d,f=this.e,i=this.f,n=e.a,d=e.c,p=e.b,u=e.d,L=e.e,O=e.f;return S(this,n*s+p*r,n*a+p*l,d*s+u*r,d*a+u*l,f+L*s+O*r,i+L*a+O*l)},t.clone=function(){return new c(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(e){var s=this.a,a=this.b,r=this.c,l=this.d,f=this.e,i=this.f;return s===e.a&&a===e.b&&r===e.c&&l===e.d&&f===e.e&&i===e.f},t.apply=function(e,s){s===void 0&&(s={});var a=e.x,r=e.y,l=this.a,f=this.b,i=this.c,n=this.d,d=this.e,p=this.f;return s.x=a*l+r*i+d||0,s.y=a*f+r*n+p||0,s},c}();function V(c,t,o,e){if(!c||!c.parentNode||(g||D(c)).documentElement===c)return new _;var s=G(c),a=E(c),r=a?B:A,l=Y(c,o),f=r[0].getBoundingClientRect(),i=r[1].getBoundingClientRect(),n=r[2].getBoundingClientRect(),d=l.parentNode,p=!e&&I(c),u=new _((i.left-f.left)/100,(i.top-f.top)/100,(n.left-f.left)/100,(n.top-f.top)/100,f.left+(p?0:R()),f.top+(p?0:P()));if(d.removeChild(l),s)for(f=s.length;f--;)i=s[f],i.scaleX=i.scaleY=0,i.renderTransform(1,i);return t?u.inverse():u}exports.Matrix2D=_;exports._getCTM=F;exports._getDocScrollLeft=R;exports._getDocScrollTop=P;exports._isFixed=I;exports._setDoc=D;exports.getGlobalMatrix=V;
@@ -0,0 +1,104 @@
1
+ /*!
2
+ * matrix 3.13.0
3
+ * https://gsap.com
4
+ *
5
+ * Copyright 2008-2025, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */
9
+ var g, b, E, x, w, y, C, _, u = "transform", S = u + "Origin", D, m = function(t) {
10
+ var o = t.ownerDocument || t;
11
+ for (!(u in t.style) && ("msTransform" in t.style) && (u = "msTransform", S = u + "Origin"); o.parentNode && (o = o.parentNode); )
12
+ ;
13
+ if (b = window, C = new v(), o) {
14
+ g = o, E = o.documentElement, x = o.body, _ = g.createElementNS("http://www.w3.org/2000/svg", "g"), _.style.transform = "none";
15
+ var e = o.createElement("div"), s = o.createElement("div"), a = o && (o.body || o.firstElementChild);
16
+ a && a.appendChild && (a.appendChild(e), e.appendChild(s), e.setAttribute("style", "position:static;transform:translate3d(0,0,1px)"), D = s.offsetParent !== e, a.removeChild(e));
17
+ }
18
+ return o;
19
+ }, R = function(t) {
20
+ for (var o, e; t && t !== x; )
21
+ e = t._gsap, e && e.uncache && e.get(t, "x"), e && !e.scaleX && !e.scaleY && e.renderTransform && (e.scaleX = e.scaleY = 1e-4, e.renderTransform(1, e), o ? o.push(e) : o = [e]), t = t.parentNode;
22
+ return o;
23
+ }, B = [], A = [], P = function() {
24
+ return b.pageYOffset || g.scrollTop || E.scrollTop || x.scrollTop || 0;
25
+ }, I = function() {
26
+ return b.pageXOffset || g.scrollLeft || E.scrollLeft || x.scrollLeft || 0;
27
+ }, L = function(t) {
28
+ return t.ownerSVGElement || ((t.tagName + "").toLowerCase() === "svg" ? t : null);
29
+ }, X = function p(t) {
30
+ if (b.getComputedStyle(t).position === "fixed")
31
+ return !0;
32
+ if (t = t.parentNode, t && t.nodeType === 1)
33
+ return p(t);
34
+ }, T = function p(t, o) {
35
+ if (t.parentNode && (g || m(t))) {
36
+ var e = L(t), s = e ? e.getAttribute("xmlns") || "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", a = e ? o ? "rect" : "g" : "div", r = o !== 2 ? 0 : 100, c = o === 3 ? 100 : 0, f = "position:absolute;display:block;pointer-events:none;margin:0;padding:0;", i = g.createElementNS ? g.createElementNS(s.replace(/^https/, "http"), a) : g.createElement(a);
37
+ return o && (e ? (y || (y = p(t)), i.setAttribute("width", 0.01), i.setAttribute("height", 0.01), i.setAttribute("transform", "translate(" + r + "," + c + ")"), y.appendChild(i)) : (w || (w = p(t), w.style.cssText = f), i.style.cssText = f + "width:0.1px;height:0.1px;top:" + c + "px;left:" + r + "px", w.appendChild(i))), i;
38
+ }
39
+ throw "Need document and parent.";
40
+ }, Y = function(t) {
41
+ for (var o = new v(), e = 0; e < t.numberOfItems; e++)
42
+ o.multiply(t.getItem(e).matrix);
43
+ return o;
44
+ }, F = function(t) {
45
+ var o = t.getCTM(), e;
46
+ return o || (e = t.style[u], t.style[u] = "none", t.appendChild(_), o = _.getCTM(), t.removeChild(_), e ? t.style[u] = e : t.style.removeProperty(u.replace(/([A-Z])/g, "-$1").toLowerCase())), o || C.clone();
47
+ }, G = function(t, o) {
48
+ var e = L(t), s = t === e, a = e ? B : A, r = t.parentNode, c = r && !e && r.shadowRoot && r.shadowRoot.appendChild ? r.shadowRoot : r, f, i, n, l, d, h;
49
+ if (t === b)
50
+ return t;
51
+ if (a.length || a.push(T(t, 1), T(t, 2), T(t, 3)), f = e ? y : w, e)
52
+ s ? (n = F(t), l = -n.e / n.a, d = -n.f / n.d, i = C) : t.getBBox ? (n = t.getBBox(), i = t.transform ? t.transform.baseVal : {}, i = i.numberOfItems ? i.numberOfItems > 1 ? Y(i) : i.getItem(0).matrix : C, l = i.a * n.x + i.c * n.y, d = i.b * n.x + i.d * n.y) : (i = new v(), l = d = 0), o && t.tagName.toLowerCase() === "g" && (l = d = 0), (s ? e : r).appendChild(f), f.setAttribute("transform", "matrix(" + i.a + "," + i.b + "," + i.c + "," + i.d + "," + (i.e + l) + "," + (i.f + d) + ")");
53
+ else {
54
+ if (l = d = 0, D)
55
+ for (i = t.offsetParent, n = t; n && (n = n.parentNode) && n !== i && n.parentNode; )
56
+ (b.getComputedStyle(n)[u] + "").length > 4 && (l = n.offsetLeft, d = n.offsetTop, n = 0);
57
+ if (h = b.getComputedStyle(t), h.position !== "absolute" && h.position !== "fixed")
58
+ for (i = t.offsetParent; r && r !== i; )
59
+ l += r.scrollLeft || 0, d += r.scrollTop || 0, r = r.parentNode;
60
+ n = f.style, n.top = t.offsetTop - d + "px", n.left = t.offsetLeft - l + "px", n[u] = h[u], n[S] = h[S], n.position = h.position === "fixed" ? "fixed" : "absolute", c.appendChild(f);
61
+ }
62
+ return f;
63
+ }, N = function(t, o, e, s, a, r, c) {
64
+ return t.a = o, t.b = e, t.c = s, t.d = a, t.e = r, t.f = c, t;
65
+ }, v = /* @__PURE__ */ function() {
66
+ function p(o, e, s, a, r, c) {
67
+ o === void 0 && (o = 1), e === void 0 && (e = 0), s === void 0 && (s = 0), a === void 0 && (a = 1), r === void 0 && (r = 0), c === void 0 && (c = 0), N(this, o, e, s, a, r, c);
68
+ }
69
+ var t = p.prototype;
70
+ return t.inverse = function() {
71
+ var e = this.a, s = this.b, a = this.c, r = this.d, c = this.e, f = this.f, i = e * r - s * a || 1e-10;
72
+ return N(this, r / i, -s / i, -a / i, e / i, (a * f - r * c) / i, -(e * f - s * c) / i);
73
+ }, t.multiply = function(e) {
74
+ var s = this.a, a = this.b, r = this.c, c = this.d, f = this.e, i = this.f, n = e.a, l = e.c, d = e.b, h = e.d, O = e.e, M = e.f;
75
+ return N(this, n * s + d * r, n * a + d * c, l * s + h * r, l * a + h * c, f + O * s + M * r, i + O * a + M * c);
76
+ }, t.clone = function() {
77
+ return new p(this.a, this.b, this.c, this.d, this.e, this.f);
78
+ }, t.equals = function(e) {
79
+ var s = this.a, a = this.b, r = this.c, c = this.d, f = this.e, i = this.f;
80
+ return s === e.a && a === e.b && r === e.c && c === e.d && f === e.e && i === e.f;
81
+ }, t.apply = function(e, s) {
82
+ s === void 0 && (s = {});
83
+ var a = e.x, r = e.y, c = this.a, f = this.b, i = this.c, n = this.d, l = this.e, d = this.f;
84
+ return s.x = a * c + r * i + l || 0, s.y = a * f + r * n + d || 0, s;
85
+ }, p;
86
+ }();
87
+ function V(p, t, o, e) {
88
+ if (!p || !p.parentNode || (g || m(p)).documentElement === p)
89
+ return new v();
90
+ var s = R(p), a = L(p), r = a ? B : A, c = G(p, o), f = r[0].getBoundingClientRect(), i = r[1].getBoundingClientRect(), n = r[2].getBoundingClientRect(), l = c.parentNode, d = !e && X(p), h = new v((i.left - f.left) / 100, (i.top - f.top) / 100, (n.left - f.left) / 100, (n.top - f.top) / 100, f.left + (d ? 0 : I()), f.top + (d ? 0 : P()));
91
+ if (l.removeChild(c), s)
92
+ for (f = s.length; f--; )
93
+ i = s[f], i.scaleX = i.scaleY = 0, i.renderTransform(1, i);
94
+ return t ? h.inverse() : h;
95
+ }
96
+ export {
97
+ v as Matrix2D,
98
+ F as _getCTM,
99
+ I as _getDocScrollLeft,
100
+ P as _getDocScrollTop,
101
+ X as _isFixed,
102
+ m as _setDoc,
103
+ V as getGlobalMatrix
104
+ };
@@ -0,0 +1,5 @@
1
+ export type GradientVariant = 'blue' | 'gold' | 'orange';
2
+ export type GradientProps = {
3
+ variant: GradientVariant;
4
+ };
5
+ export declare function Gradient({ variant }: GradientProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { Gradient } from './Gradient';
@@ -0,0 +1 @@
1
+ export declare function StillHaveQuestions(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { StillHaveQuestions } from './StillHaveQuestions';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -9,13 +9,23 @@
9
9
  "dist"
10
10
  ],
11
11
  "scripts": {
12
- "dev": "vite",
12
+ "dev": "storybook dev -p 6006",
13
13
  "build": "vite build",
14
14
  "preview": "vite preview",
15
15
  "storybook": "storybook dev -p 6006",
16
16
  "build-storybook": "storybook build",
17
- "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
18
- "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
17
+ "type-check": "tsc --noEmit",
18
+ "lint": "eslint src",
19
+ "lint:fix": "eslint src --fix",
20
+ "format": "prettier --write .",
21
+ "check-format": "prettier --check .",
22
+ "prepare": "husky"
23
+ },
24
+ "lint-staged": {
25
+ "*.{ts,tsx,js,jsx}": [
26
+ "eslint --fix",
27
+ "prettier --write"
28
+ ]
19
29
  },
20
30
  "license": "MIT",
21
31
  "peerDependencies": {
@@ -35,9 +45,13 @@
35
45
  "@vitejs/plugin-react": "^4.4.1",
36
46
  "chromatic": "^11.28.2",
37
47
  "eslint": "^9.28.0",
48
+ "eslint-config-prettier": "^10.1.5",
38
49
  "eslint-plugin-react": "^7.37.5",
39
50
  "globals": "^16.2.0",
51
+ "husky": "^9.1.7",
52
+ "lint-staged": "^16.1.0",
40
53
  "postcss": "^8.5.3",
54
+ "prettier": "^3.5.3",
41
55
  "rollup-preserve-directives": "^1.1.3",
42
56
  "storybook": "^8.6.12",
43
57
  "typescript": "^5.8.3",
@@ -47,7 +61,9 @@
47
61
  "vite-plugin-svgr": "^4.3.0"
48
62
  },
49
63
  "dependencies": {
64
+ "@gsap/react": "^2.1.2",
50
65
  "@types/node": "^22.15.14",
66
+ "gsap": "^3.13.0",
51
67
  "react-tiny-popover": "^8.1.6",
52
68
  "swiper": "^11.2.8"
53
69
  },
@@ -197,6 +213,41 @@
197
213
  "import": "./dist/components/Benefit/Benefit.es.js",
198
214
  "require": "./dist/components/Benefit/Benefit.cjs.js"
199
215
  },
216
+ "./Pricing": {
217
+ "types": "./dist/components/Pricing/Pricing.d.ts",
218
+ "import": "./dist/components/Pricing/Pricing.es.js",
219
+ "require": "./dist/components/Pricing/Pricing.cjs.js"
220
+ },
221
+ "./ComplexImageCarousel": {
222
+ "types": "./dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts",
223
+ "import": "./dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js",
224
+ "require": "./dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js"
225
+ },
226
+ "./Accordion": {
227
+ "types": "./dist/components/Accordion/Accordion.d.ts",
228
+ "import": "./dist/components/Accordion/Accordion.es.js",
229
+ "require": "./dist/components/Accordion/Accordion.cjs.js"
230
+ },
231
+ "./IconBracket": {
232
+ "types": "./dist/components/IconBracket/IconBracket.d.ts",
233
+ "import": "./dist/components/IconBracket/IconBracket.es.js",
234
+ "require": "./dist/components/IconBracket/IconBracket.cjs.js"
235
+ },
236
+ "./ProductPairs": {
237
+ "types": "./dist/components/ProductPairs/ProductPairs.d.ts",
238
+ "import": "./dist/components/ProductPairs/ProductPairs.es.js",
239
+ "require": "./dist/components/ProductPairs/ProductPairs.cjs.js"
240
+ },
241
+ "./RatingStars": {
242
+ "types": "./dist/components/RatingStars/RatingStars.d.ts",
243
+ "import": "./dist/components/RatingStars/RatingStars.es.js",
244
+ "require": "./dist/components/RatingStars/RatingStars.cjs.js"
245
+ },
246
+ "./PlayButton": {
247
+ "types": "./dist/components/PlayButton/PlayButton.d.ts",
248
+ "import": "./dist/components/PlayButton/PlayButton.es.js",
249
+ "require": "./dist/components/PlayButton/PlayButton.cjs.js"
250
+ },
200
251
  "./CallbackModule": {
201
252
  "types": "./dist/modules/Callback/Callback.d.ts",
202
253
  "import": "./dist/modules/Callback/Callback.es.js",
@@ -242,6 +293,11 @@
242
293
  "import": "./dist/modules/ProductsDisplay/ProductsDisplay.es.js",
243
294
  "require": "./dist/modules/ProductsDisplay/ProductsDisplay.cjs.js"
244
295
  },
296
+ "./SlidingTabsGallery": {
297
+ "types": "./dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts",
298
+ "import": "./dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js",
299
+ "require": "./dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js"
300
+ },
245
301
  "./Studies": {
246
302
  "types": "./dist/modules/Studies/Studies.d.ts",
247
303
  "import": "./dist/modules/Studies/Studies.es.js",
@@ -267,6 +323,41 @@
267
323
  "import": "./dist/modules/Benefits/Benefits.es.js",
268
324
  "require": "./dist/modules/Benefits/Benefits.cjs.js"
269
325
  },
326
+ "./LongevityPathways": {
327
+ "types": "./dist/modules/LongevityPathways/LongevityPathways.d.ts",
328
+ "import": "./dist/modules/LongevityPathways/LongevityPathways.es.js",
329
+ "require": "./dist/modules/LongevityPathways/LongevityPathways.cjs.js"
330
+ },
331
+ "./Compare": {
332
+ "types": "./dist/modules/Compare/Compare.d.ts",
333
+ "import": "./dist/modules/Compare/Compare.es.js",
334
+ "require": "./dist/modules/Compare/Compare.cjs.js"
335
+ },
336
+ "./TypesOfTests": {
337
+ "types": "./dist/modules/TypesOfTests/TypesOfTests.d.ts",
338
+ "import": "./dist/modules/TypesOfTests/TypesOfTests.es.js",
339
+ "require": "./dist/modules/TypesOfTests/TypesOfTests.cjs.js"
340
+ },
341
+ "./PairedProducts": {
342
+ "types": "./dist/modules/PairedProducts/PairedProducts.d.ts",
343
+ "import": "./dist/modules/PairedProducts/PairedProducts.es.js",
344
+ "require": "./dist/modules/PairedProducts/PairedProducts.cjs.js"
345
+ },
346
+ "./Testimonial": {
347
+ "types": "./dist/modules/Testimonial/Testimonial.d.ts",
348
+ "import": "./dist/modules/Testimonial/Testimonial.es.js",
349
+ "require": "./dist/modules/Testimonial/Testimonial.cjs.js"
350
+ },
351
+ "./ImageWithText": {
352
+ "types": "./dist/modules/ImageWithText/ImageWithText.d.ts",
353
+ "import": "./dist/modules/ImageWithText/ImageWithText.es.js",
354
+ "require": "./dist/modules/ImageWithText/ImageWithText.cjs.js"
355
+ },
356
+ "./TrackProgress": {
357
+ "types": "./dist/modules/TrackProgress/TrackProgress.d.ts",
358
+ "import": "./dist/modules/TrackProgress/TrackProgress.es.js",
359
+ "require": "./dist/modules/TrackProgress/TrackProgress.cjs.js"
360
+ },
270
361
  "./dist/*.css": "./dist/*.css"
271
362
  }
272
363
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=e=>e&&window.innerWidth<=768?280:480;function o(){const e=typeof window<"u",[s,r]=t.useState(i(e));return t.useEffect(()=>{if(!e)return;const n=()=>r(i(e));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),s}exports.useResponsiveRadius=o;
@@ -1,13 +0,0 @@
1
- import { useState as r, useEffect as o } from "react";
2
- const t = (e) => e && window.innerWidth <= 768 ? 280 : 480;
3
- function u() {
4
- const e = typeof window < "u", [i, s] = r(t(e));
5
- return o(() => {
6
- if (!e) return;
7
- const n = () => s(t(e));
8
- return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
9
- }, [e]), i;
10
- }
11
- export {
12
- u as useResponsiveRadius
13
- };