@zenpatient-org/healthspan-marketing-ui 0.2.74 → 0.2.76

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 (186) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +1 -2
  2. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +1 -2
  3. package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +0 -1
  4. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
  5. package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +0 -1
  6. package/dist/components/AnchorLinks/AnchorLinks.d.ts +0 -1
  7. package/dist/components/AnchorLinks/types.d.ts +0 -1
  8. package/dist/components/Benefit/Benefit.d.ts +1 -2
  9. package/dist/components/Button/Button.d.ts +2 -3
  10. package/dist/components/Callback/Callback.d.ts +2 -3
  11. package/dist/components/Callback/constants.d.ts +2 -3
  12. package/dist/components/Checkbox/Checkbox.cjs.js +1 -1
  13. package/dist/components/Checkbox/Checkbox.d.ts +1 -2
  14. package/dist/components/Checkbox/Checkbox.es.js +34 -42
  15. package/dist/components/Checkbox/checkbox.module.css +15 -4
  16. package/dist/components/ClaimBlock/ClaimBlock.d.ts +1 -2
  17. package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +0 -1
  18. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +0 -1
  19. package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +0 -1
  20. package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +0 -1
  21. package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +3 -4
  22. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +1 -2
  23. package/dist/components/ComplexTooltip/types.d.ts +1 -2
  24. package/dist/components/ContentTabs/ContentTabs.d.ts +2 -3
  25. package/dist/components/Cursor/Cursor.d.ts +1 -2
  26. package/dist/components/Cursor/components/ClientCursor.d.ts +1 -2
  27. package/dist/components/Cursor/components/ServerCursor.d.ts +1 -2
  28. package/dist/components/FAQComponent/FAQComponent.d.ts +0 -1
  29. package/dist/components/FAQComponent/types.d.ts +0 -1
  30. package/dist/components/FAQComponentItem/FAQComponentItem.d.ts +0 -1
  31. package/dist/components/FAQComponentItem/types.d.ts +1 -2
  32. package/dist/components/FilterError/FilterError.d.ts +0 -1
  33. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -2
  34. package/dist/components/HighlightCard/HighlightCard.d.ts +1 -2
  35. package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +3 -4
  36. package/dist/components/Icon/Icon.d.ts +0 -1
  37. package/dist/components/Icon/iconsMap.d.ts +0 -1
  38. package/dist/components/IconBracket/IconBracket.d.ts +0 -1
  39. package/dist/components/IconBracket/types.d.ts +0 -1
  40. package/dist/components/IconButton/IconButton.d.ts +2 -3
  41. package/dist/components/ImageGallery/ImageGallery.d.ts +0 -1
  42. package/dist/components/ImageGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
  43. package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +1 -2
  44. package/dist/components/Label/Label.cjs.js +1 -1
  45. package/dist/components/Label/Label.d.ts +1 -2
  46. package/dist/components/Label/Label.es.js +6 -5
  47. package/dist/components/Label/label.module.css +14 -0
  48. package/dist/components/Label/types.d.ts +1 -1
  49. package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +0 -1
  50. package/dist/components/PlayButton/PlayButton.d.ts +1 -2
  51. package/dist/components/PriceDisplay/PriceDisplay.d.ts +1 -2
  52. package/dist/components/Pricing/Pricing.d.ts +0 -1
  53. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +1 -2
  54. package/dist/components/Pricing/types.d.ts +3 -4
  55. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -2
  56. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -2
  57. package/dist/components/ProductGalleryCard/types.d.ts +1 -2
  58. package/dist/components/ProductListing/ProductListing.d.ts +2 -3
  59. package/dist/components/ProductPairs/ProductPairs.d.ts +0 -1
  60. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -3
  61. package/dist/components/Quote/Quote.d.ts +1 -2
  62. package/dist/components/StepsCarousel/StepsCarousel.d.ts +1 -2
  63. package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -2
  64. package/dist/components/Tabs/Tabs.d.ts +1 -2
  65. package/dist/components/Tabs/TabsWithFade.d.ts +0 -1
  66. package/dist/components/Tabs/types.d.ts +1 -2
  67. package/dist/components/Tag/Tag.d.ts +2 -3
  68. package/dist/components/TextButton/TextButton.d.ts +2 -3
  69. package/dist/components/TextInput/TextInput.d.ts +0 -1
  70. package/dist/components/Typography/Typography.d.ts +3 -3
  71. package/dist/components/Typography/typography.module.css +12 -3
  72. package/dist/lib/useSwiper.d.ts +2 -3
  73. package/dist/modules/BasicImageText/BasicImageText.d.ts +1 -2
  74. package/dist/modules/Benefits/Benefits.d.ts +0 -1
  75. package/dist/modules/CallToAction/CallToAction.d.ts +0 -1
  76. package/dist/modules/Callback/Callback.d.ts +1 -2
  77. package/dist/modules/Claims/Claims.d.ts +0 -1
  78. package/dist/modules/Compare/Compare.d.ts +0 -1
  79. package/dist/modules/Compare/types.d.ts +2 -3
  80. package/dist/modules/Comparison/Comparison.d.ts +2 -3
  81. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -2
  82. package/dist/modules/ComparisonV2/ComparisonV2.d.ts +1 -2
  83. package/dist/modules/ContentHighlight/ContentHighlight.d.ts +1 -2
  84. package/dist/modules/Curiosity/Curiosity.d.ts +0 -1
  85. package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +1 -2
  86. package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +0 -1
  87. package/dist/modules/ExpandingDetails/types.d.ts +0 -1
  88. package/dist/modules/FAQModule/FAQModule.d.ts +0 -1
  89. package/dist/modules/FAQModule/types.d.ts +0 -1
  90. package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +2 -3
  91. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +1 -2
  92. package/dist/modules/FollowTheScience/FollowTheScience.d.ts +0 -1
  93. package/dist/modules/HSModal/HSModal.d.ts +0 -1
  94. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +0 -1
  95. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +0 -1
  96. package/dist/modules/HSModal/types.d.ts +0 -1
  97. package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
  98. package/dist/modules/HSModal/useHSModal.es.js +1 -1
  99. package/dist/modules/HighestStandards/HighestStandards.d.ts +0 -1
  100. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +0 -1
  101. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +0 -1
  102. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +1 -2
  103. package/dist/modules/HighestStandards/types.d.ts +0 -1
  104. package/dist/modules/Highlight/Highlight.d.ts +1 -2
  105. package/dist/modules/HowItWorks/components/Content/Content.d.ts +0 -1
  106. package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +0 -1
  107. package/dist/modules/ImageWithText/ImageWithText.d.ts +0 -1
  108. package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +0 -1
  109. package/dist/modules/ImageWithText/types.d.ts +1 -2
  110. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -3
  111. package/dist/modules/IndividualProductCard/components/Features/Features.d.ts +1 -2
  112. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +1 -2
  113. package/dist/modules/IndividualProductCard/types.d.ts +2 -3
  114. package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +0 -1
  115. package/dist/modules/IndividualProductCardV2/types.d.ts +0 -1
  116. package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +0 -1
  117. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +0 -1
  118. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +0 -1
  119. package/dist/modules/LongevityPathways/types.d.ts +0 -1
  120. package/dist/modules/OptimalHealth/OptimalHealth.d.ts +2 -3
  121. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +1 -2
  122. package/dist/modules/OurProcess/OurProcess.d.ts +3 -4
  123. package/dist/modules/PairedProducts/PairedProducts.d.ts +1 -2
  124. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -2
  125. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -2
  126. package/dist/modules/ProductsDisplay/types.d.ts +1 -2
  127. package/dist/modules/ProductsDisplay/useProductsData.d.ts +3 -4
  128. package/dist/modules/ProgramDetails/ProgramDetails.d.ts +0 -1
  129. package/dist/modules/ProgramDetails/components/Features/Features.d.ts +1 -2
  130. package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +0 -1
  131. package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +1 -2
  132. package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +1 -2
  133. package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +1 -2
  134. package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +1 -2
  135. package/dist/modules/ResearchFilters/ResearchFilters.d.ts +1 -2
  136. package/dist/modules/ResearchStudies/ResearchStudies.d.ts +1 -2
  137. package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +1 -2
  138. package/dist/modules/Reviews/Reviews.d.ts +0 -1
  139. package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +0 -1
  140. package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +1 -2
  141. package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +1 -2
  142. package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +1 -2
  143. package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +1 -2
  144. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +2 -3
  145. package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +1 -2
  146. package/dist/modules/StillHaveQuestions/constants.d.ts +0 -1
  147. package/dist/modules/Studies/Studies.d.ts +2 -3
  148. package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +1 -2
  149. package/dist/modules/Testimonial/Testimonial.d.ts +1 -2
  150. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +0 -1
  151. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +0 -1
  152. package/dist/modules/TextTwoImages/TextTwoImages.d.ts +1 -2
  153. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +1 -2
  154. package/dist/modules/TotalCare/TotalCare.d.ts +3 -4
  155. package/dist/modules/TrackProgress/TrackProgress.d.ts +0 -1
  156. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +0 -1
  157. package/dist/modules/TypesOfTests/TypesOfTests.d.ts +2 -3
  158. package/dist/modules/YourProtocol/YourProtocol.d.ts +3 -4
  159. package/dist/modules/YourProtocol/types.d.ts +0 -1
  160. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.cjs.js +1 -1
  161. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.es.js +2 -2
  162. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.cjs.js +19 -19
  163. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.es.js +270 -270
  164. package/dist/node_modules/gsap/CustomEase.cjs.js +1 -1
  165. package/dist/node_modules/gsap/CustomEase.es.js +2 -2
  166. package/dist/node_modules/gsap/Draggable.cjs.js +1 -1
  167. package/dist/node_modules/gsap/Draggable.es.js +6 -6
  168. package/dist/node_modules/gsap/Flip.cjs.js +1 -1
  169. package/dist/node_modules/gsap/Flip.es.js +6 -6
  170. package/dist/node_modules/gsap/Observer.cjs.js +1 -1
  171. package/dist/node_modules/gsap/Observer.es.js +2 -2
  172. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +1 -1
  173. package/dist/node_modules/gsap/ScrollTrigger.es.js +2 -2
  174. package/dist/node_modules/gsap/utils/matrix.cjs.js +1 -1
  175. package/dist/node_modules/gsap/utils/matrix.es.js +2 -2
  176. package/dist/pageComponents/Banner/Banner.d.ts +1 -2
  177. package/dist/pageComponents/Footer/Footer.d.ts +0 -1
  178. package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +0 -1
  179. package/dist/styles/core.css +1 -1
  180. package/dist/types/articles.d.ts +0 -1
  181. package/dist/utils/isHsIcon.d.ts +0 -1
  182. package/package.json +38 -38
  183. package/dist/components/Checkbox/assets/checkbox-checkmark.svg.cjs.js +0 -1
  184. package/dist/components/Checkbox/assets/checkbox-checkmark.svg.es.js +0 -5
  185. package/dist/components/Checkbox/assets/checkbox-dash.svg.cjs.js +0 -1
  186. package/dist/components/Checkbox/assets/checkbox-dash.svg.es.js +0 -5
@@ -1,6 +1,5 @@
1
- import { ButtonProps } from '../Button';
2
- import { ETypeBadge } from '../TypeBadge';
3
-
1
+ import { type ButtonProps } from '../Button';
2
+ import { type ETypeBadge } from '../TypeBadge';
4
3
  type ProductListingProps = {
5
4
  name: string;
6
5
  description: string;
@@ -1,5 +1,4 @@
1
1
  import { TProductGalleryCardView } from '../ProductGalleryCard';
2
-
3
2
  type ProductPairsProps = {
4
3
  productCards: Array<TProductGalleryCardView>;
5
4
  };
@@ -1,6 +1,5 @@
1
- import { default as React, ButtonHTMLAttributes } from 'react';
2
- import { TOrientation } from './types';
3
-
1
+ import React, { ButtonHTMLAttributes } from 'react';
2
+ import type { TOrientation } from './types';
4
3
  export type PropgressButtonBaseProps = {
5
4
  orientation: TOrientation;
6
5
  disabled?: boolean;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export type QuoteProps = {
4
3
  color: 'indigo' | 'ochre' | 'grey' | 'solar';
5
4
  quote: string;
@@ -1,5 +1,4 @@
1
- import { TColorScheme } from '../../types/common';
2
-
1
+ import type { TColorScheme } from '../../types/common';
3
2
  export type TStepsCarouselView = Array<{
4
3
  name?: string;
5
4
  title: string;
@@ -1,6 +1,5 @@
1
- import { LabelProps } from '../Label';
1
+ import { type LabelProps } from '../Label';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  export type CompressedStudyCardProps = {
5
4
  compressed: true;
6
5
  title: string;
@@ -1,6 +1,5 @@
1
- import { ForwardedRef, ReactElement } from 'react';
1
+ import { type ForwardedRef, type ReactElement } from 'react';
2
2
  import { TTabs } from './types';
3
-
4
3
  export declare const Tabs: <T extends string | number>(props: TTabs<T> & {
5
4
  ref?: ForwardedRef<HTMLDivElement>;
6
5
  }) => ReactElement;
@@ -1,3 +1,2 @@
1
1
  import { TTabs } from './types';
2
-
3
2
  export declare function TabsWithFade<T extends string>(tabsProps: TTabs<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { EIconName } from '../Icon';
3
-
2
+ import { type EIconName } from '../Icon';
4
3
  export type TTab<T extends string | number> = {
5
4
  value: T;
6
5
  label: ReactNode;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { EIconName } from '../Icon';
3
-
1
+ import type { ReactNode } from 'react';
2
+ import { type EIconName } from '../Icon';
4
3
  type Props = {
5
4
  children: ReactNode;
6
5
  value?: string;
@@ -1,6 +1,5 @@
1
- import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType } from 'react';
2
- import { EIconName } from '../Icon';
3
-
1
+ import { type AnchorHTMLAttributes, type ButtonHTMLAttributes, type ElementType } from 'react';
2
+ import { type EIconName } from '../Icon';
4
3
  type Size = 'sm' | 'lg';
5
4
  type BaseButtonProps = {
6
5
  inverted?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { ChangeEvent, KeyboardEvent } from 'react';
2
-
3
2
  export type TTextInputProps = {
4
3
  placeholder?: string;
5
4
  variant?: 'primary' | 'primary-invert';
@@ -1,6 +1,6 @@
1
- import { default as React, ElementType } from 'react';
2
-
3
- export type TypographyVariant = 'displayXl' | 'displayLg' | 'displayMd' | 'displaySm' | 'displayXs' | 'headingXl' | 'headingLg' | 'headingMd' | 'headingSm' | 'headingXs' | 'headingXxs' | 'preambleLg' | 'preambleMd' | 'preambleSm' | 'bodyXl' | 'bodyLg' | 'bodyMd' | 'bodySm' | 'bodyXs' | 'linkLg' | 'linkMd' | 'linkSm' | 'linkXs' | 'labelXl' | 'labelLg' | 'labelMd' | 'labelSm' | 'labelXs' | 'profileXl' | 'profileLg' | 'profileMd' | 'profileSm';
1
+ import type React from 'react';
2
+ import type { ElementType } from 'react';
3
+ export type TypographyVariant = 'displayXl' | 'displayLg' | 'displayMd' | 'displaySm' | 'displayXs' | 'headingXl' | 'headingLg' | 'headingMd' | 'headingSm' | 'headingXs' | 'headingXxs' | 'preambleLg' | 'preambleMd' | 'preambleSm' | 'bodyXl' | 'bodyLg' | 'bodyMd' | 'bodySm' | 'bodyXs' | 'linkLg' | 'linkMd' | 'linkSm' | 'linkXs' | 'labelXl' | 'labelLg' | 'labelMd' | 'labelSm' | 'labelXs' | 'labelXxs' | 'profileXl' | 'profileLg' | 'profileMd' | 'profileSm';
4
4
  type FontWeight = 'regular' | 'medium';
5
5
  export interface TypographyProps {
6
6
  defaultVariant: TypographyVariant;
@@ -273,6 +273,15 @@
273
273
  font-size: var(--font-size-xxs);
274
274
  }
275
275
 
276
+ .labelXxs {
277
+ font-family: var(--font-default), sans-serif;
278
+ line-height: var(--line-height-xs);
279
+ letter-spacing: var(--letter-spacing-null);
280
+ font-weight: var(--font-weight-regular);
281
+ font-style: normal;
282
+ font-size: var(--font-size-xxxs);
283
+ }
284
+
276
285
  .labelEmphasis {
277
286
  font-family: var(--font-decorative), monospace;
278
287
  text-transform: uppercase;
@@ -644,7 +653,7 @@
644
653
  font-style: normal;
645
654
  font-size: var(--font-size-heading-lg);
646
655
  }
647
-
656
+
648
657
  .profileLg {
649
658
  font-family: var(--font-default), sans-serif;
650
659
  line-height: var(--line-height-sm);
@@ -653,7 +662,7 @@
653
662
  font-style: normal;
654
663
  font-size: var(--font-size-xxl);
655
664
  }
656
-
665
+
657
666
  .profileMd {
658
667
  font-family: var(--font-default), sans-serif;
659
668
  line-height: var(--line-height-sm);
@@ -662,7 +671,7 @@
662
671
  font-style: normal;
663
672
  font-size: var(--font-size-lg);
664
673
  }
665
-
674
+
666
675
  .profileSm {
667
676
  font-family: var(--font-default), sans-serif;
668
677
  line-height: var(--line-height-xs);
@@ -1,6 +1,5 @@
1
- import { default as React } from 'react';
2
- import { Swiper as SwiperType } from 'swiper';
3
-
1
+ import React from 'react';
2
+ import type { Swiper as SwiperType } from 'swiper';
4
3
  export type BaseSwiperReturnProps = {
5
4
  swiper: SwiperType | null;
6
5
  setSwiper: React.Dispatch<React.SetStateAction<SwiperType | null>>;
@@ -1,5 +1,4 @@
1
- import { ReactNode } from 'react';
2
-
1
+ import { type ReactNode } from 'react';
3
2
  export type BasicImageTextProps = {
4
3
  imagePosition: 'left' | 'right';
5
4
  title: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  type Props = {
4
3
  label: string;
5
4
  title: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export type CallToActionProps = {
4
3
  subtitle: ReactNode;
5
4
  titleTop: ReactNode;
@@ -1,5 +1,4 @@
1
- import { CallbackSize, CallbackShape } from '../../components/Callback';
2
-
1
+ import { type CallbackSize, type CallbackShape } from '../../components/Callback';
3
2
  export type CallbackModuleProps = {
4
3
  title: string;
5
4
  description: string;
@@ -1,5 +1,4 @@
1
1
  import { ClaimBlockProps } from '../../components/ClaimBlock';
2
-
3
2
  export type ClaimsProps = {
4
3
  text?: string;
5
4
  button?: {
@@ -1,3 +1,2 @@
1
1
  import { CompareView } from './types';
2
-
3
2
  export declare const Compare: ({ label, title, leftElement, rightElement }: CompareView) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { PricingElementView } from '../../components/Pricing';
3
-
1
+ import { type ReactNode } from 'react';
2
+ import { type PricingElementView } from '../../components/Pricing';
4
3
  export type CompareView = {
5
4
  label?: string;
6
5
  title: ReactNode;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { ComparisonData } from './types';
3
-
1
+ import type { ReactNode } from 'react';
2
+ import type { ComparisonData } from './types';
4
3
  export type ComparisonProps = {
5
4
  title: ReactNode;
6
5
  comparison: ComparisonData;
@@ -1,5 +1,4 @@
1
- import { ComparisonData } from '../../types';
2
-
1
+ import type { ComparisonData } from '../../types';
3
2
  type ComparisonMobileViewProps = {
4
3
  comparison: ComparisonData;
5
4
  className?: string;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  import { ComparisonV2Column } from './types';
3
-
4
3
  export type ComparisonV2Props = {
5
4
  title: ReactNode;
6
5
  description?: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export type ContentHighlightProps = {
4
3
  label?: string;
5
4
  title: React.ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { CompressedStudyCardProps } from '../../components/StudyGridCard/StudyGridCard';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  type Props = {
5
4
  title: React.ReactNode;
6
5
  description?: string;
@@ -1,3 +1,2 @@
1
- import { TCursorImageBlockProps } from './types';
2
-
1
+ import type { TCursorImageBlockProps } from './types';
3
2
  export declare const CursorImageBlock: ({ title, description, cursorLabel, link, image }: TCursorImageBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { ExpandingDetailsProps } from './types';
2
-
3
2
  export declare const ExpandingDetails: ({ colorScheme, label, title, sections }: ExpandingDetailsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { TColorScheme } from '../../types/common';
3
-
4
3
  export type ExpandingDetailsProps = {
5
4
  colorScheme: TColorScheme;
6
5
  label?: string;
@@ -1,3 +1,2 @@
1
1
  import { TFaqView } from './types';
2
-
3
2
  export declare const FAQModule: ({ title, questions }: TFaqView) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export type TFaqItemView = {
4
3
  title: string;
5
4
  content: ReactNode;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { TFeature } from './types';
3
-
1
+ import type { ReactNode } from 'react';
2
+ import type { TFeature } from './types';
4
3
  type Props = {
5
4
  title: ReactNode;
6
5
  features: ReadonlyArray<TFeature>;
@@ -1,5 +1,4 @@
1
- import { TFeature } from '../../types';
2
-
1
+ import type { TFeature } from '../../types';
3
2
  type Props = {
4
3
  feature: TFeature;
5
4
  type: 'primary' | 'secondary';
@@ -1,4 +1,3 @@
1
-
2
1
  export type TargetedProgramsProps = {
3
2
  labelText: string;
4
3
  benefits: Array<{
@@ -1,4 +1,3 @@
1
1
  import { TMailchimpModal } from './types';
2
-
3
2
  export type HSModalProps = TMailchimpModal;
4
3
  export declare const HSModal: (props: HSModalProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,2 @@
1
1
  import { TMailchimpModal } from '../../types';
2
-
3
2
  export declare const MailchimpModal: ({ title, description, buttonText, image, layout, colorScheme, onCloseCallback, onClickCallback, cancelButtonText, tags, placeholder, trackingEvent, trackingLocation, }: Omit<TMailchimpModal, "id" | "type">) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { EAnalyticsEvent } from '../../../../../../types/analytics';
2
-
3
2
  export declare const Newsletter: ({ buttonText, colorScheme, onCloseCallback, cancelButtonText, tags, onClickCallback, placeholder, trackingEvent, trackingLocation, }: {
4
3
  buttonText: string;
5
4
  colorScheme: "light" | "dark";
@@ -1,5 +1,4 @@
1
1
  import { EAnalyticsEvent } from '../../types/analytics';
2
-
3
2
  type TimerTrigger = {
4
3
  type: 'timer';
5
4
  delay: number;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),y=7*24*60*60*1e3,a="healthspanClosedModalList",f=()=>{try{return JSON.parse(localStorage.getItem(a)||"{}")}catch{return{}}},i=e=>{localStorage.setItem(a,JSON.stringify(e))},p=e=>{const o=f()[e];return!o||Date.now()>o},w=({id:e,initiallyOpen:l=!1,trigger:o,onCloseCallback:c,onClickCallback:u})=>{const[n,M]=s.useState(l),r=s.useCallback(()=>{p(e)&&M(!0)},[e]),d=s.useCallback(()=>{M(!1);const t=f();t[e]=Date.now()+y,i(t),c==null||c()},[e,c]),E=s.useCallback(()=>{u==null||u()},[u]);s.useEffect(()=>{if((o==null?void 0:o.type)==="timer"&&!n){const t=setTimeout(()=>{r()},o.delay*1e3);return()=>clearTimeout(t)}},[o,n,r]),s.useEffect(()=>{if(!n)return;const t=window.getComputedStyle(document.body).overflow;document.body.style.overflow="hidden";const S=O=>{O.key==="Escape"&&d()};return document.addEventListener("keydown",S),()=>{document.body.style.overflow=t,document.removeEventListener("keydown",S)}},[n,d,e]);const m=s.useCallback(t=>{t.target===t.currentTarget&&d()},[d]);return{isOpen:n,openModal:r,closeModal:d,handleClick:E,handleOverlayClick:m}};exports.CLOSED_MODALS_KEY=a;exports.REOPEN_TIMEOUT_MS=y;exports.useHSModal=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),y=10080*60*1e3,a="healthspanClosedModalList",f=()=>{try{return JSON.parse(localStorage.getItem(a)||"{}")}catch{return{}}},i=e=>{localStorage.setItem(a,JSON.stringify(e))},p=e=>{const o=f()[e];return!o||Date.now()>o},w=({id:e,initiallyOpen:l=!1,trigger:o,onCloseCallback:c,onClickCallback:u})=>{const[n,M]=s.useState(l),r=s.useCallback(()=>{p(e)&&M(!0)},[e]),d=s.useCallback(()=>{M(!1);const t=f();t[e]=Date.now()+y,i(t),c==null||c()},[e,c]),E=s.useCallback(()=>{u==null||u()},[u]);s.useEffect(()=>{if((o==null?void 0:o.type)==="timer"&&!n){const t=setTimeout(()=>{r()},o.delay*1e3);return()=>clearTimeout(t)}},[o,n,r]),s.useEffect(()=>{if(!n)return;const t=window.getComputedStyle(document.body).overflow;document.body.style.overflow="hidden";const S=O=>{O.key==="Escape"&&d()};return document.addEventListener("keydown",S),()=>{document.body.style.overflow=t,document.removeEventListener("keydown",S)}},[n,d,e]);const m=s.useCallback(t=>{t.target===t.currentTarget&&d()},[d]);return{isOpen:n,openModal:r,closeModal:d,handleClick:E,handleOverlayClick:m}};exports.CLOSED_MODALS_KEY=a;exports.REOPEN_TIMEOUT_MS=y;exports.useHSModal=w;
@@ -1,5 +1,5 @@
1
1
  import { useState as E, useCallback as c, useEffect as f } from "react";
2
- const h = 7 * 24 * 60 * 60 * 1e3, l = "healthspanClosedModalList", M = () => {
2
+ const h = 10080 * 60 * 1e3, l = "healthspanClosedModalList", M = () => {
3
3
  try {
4
4
  return JSON.parse(localStorage.getItem(l) || "{}");
5
5
  } catch {
@@ -1,3 +1,2 @@
1
1
  import { THighestStandards } from './types';
2
-
3
2
  export declare const HighestStandards: ({ title, description, image, background, accordionItems }: THighestStandards) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { TTabsMenu } from './types';
2
-
3
2
  export declare const TabsMenu: ({ items }: TTabsMenu) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { TTabsMenuItem } from './types';
2
-
3
2
  export declare const TabsMenuItem: ({ title, content, isOpen, index, onClick }: TTabsMenuItem) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { ReactNode } from 'react';
2
-
1
+ import type { ReactNode } from 'react';
3
2
  export type TTabsMenuItem = {
4
3
  title: string;
5
4
  content: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export type THighestStandards = {
4
3
  title: ReactNode;
5
4
  description: string;
@@ -1,5 +1,4 @@
1
- import { HighlightCardProps } from '../../components/HighlightCard';
2
-
1
+ import type { HighlightCardProps } from '../../components/HighlightCard';
3
2
  export type HighlightProps = {
4
3
  title?: string;
5
4
  subtitle?: string;
@@ -1,5 +1,4 @@
1
1
  import { BaseSwiperReturnProps } from '../../../../lib/useSwiper';
2
-
3
2
  type ContentProps = {
4
3
  items: Array<{
5
4
  title: string;
@@ -1,6 +1,5 @@
1
1
  import { ETypeBadge } from '../../components/TypeBadge';
2
2
  import { TButtonWithColors } from '../ImageWithText/types';
3
-
4
3
  type TColor = 'black' | 'white' | 'solar' | 'indigo';
5
4
  export type ImageWithBenefitsProps = {
6
5
  image: string;
@@ -1,3 +1,2 @@
1
1
  import { TImageWithTextProps } from './types';
2
-
3
2
  export declare const ImageWithText: ({ image, text, title, view, colorScheme, textColor, mobileTextColor, titleColor, mobileTitleColor, titleHighlightColor, mobileTitleHighlightColor, mobileImage, button, }: TImageWithTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { TButtonWithColors } from '../../types';
2
-
3
2
  export declare const ButtonWithColors: (button: TButtonWithColors) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,7 +1,6 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  import { TColorScheme } from '../../types/common';
3
3
  import { ButtonVariant } from '../../components/Button/Button';
4
-
5
4
  export type TImageWithTextView = 'plain' | 'complex' | 'plain_with_title';
6
5
  export type TButtonWithColors = {
7
6
  label?: string;
@@ -1,10 +1,9 @@
1
- import { ButtonProps } from '../../components/Button';
2
- import { TextButtonProps } from '../../components/TextButton';
1
+ import { type ButtonProps } from '../../components/Button';
2
+ import { type TextButtonProps } from '../../components/TextButton';
3
3
  import { TProductFeature, TProductPlan } from './types';
4
4
  import { EAnalyticsEvent } from '../../types/analytics';
5
5
  import { QuoteProps } from '../../components/Quote';
6
6
  import { TPlainFeaturesGroupProps } from '../../components/PlainFeaturesGroup/PlainFeaturesGroup';
7
-
8
7
  type IndividualProductCardProps = {
9
8
  zenpatientId: string;
10
9
  name: string;
@@ -1,5 +1,4 @@
1
- import { TProductFeature } from '../../types';
2
-
1
+ import { type TProductFeature } from '../../types';
3
2
  type FeaturesProps = {
4
3
  features: Array<TProductFeature>;
5
4
  };
@@ -1,5 +1,4 @@
1
- import { TProductPlan } from '../../types';
2
-
1
+ import { type TProductPlan } from '../../types';
3
2
  type PlanCardProps = {
4
3
  plan: TProductPlan;
5
4
  onSelect: (planId: TProductPlan['id']) => void;
@@ -1,6 +1,5 @@
1
- import { ETypeBadge } from '../../components/TypeBadge';
2
- import { LabelColor } from '../../components/Label';
3
-
1
+ import type { ETypeBadge } from '../../components/TypeBadge';
2
+ import type { LabelColor } from '../../components/Label';
4
3
  export type TProductFeature = {
5
4
  label: string;
6
5
  labelSuperscript?: number;
@@ -1,3 +1,2 @@
1
1
  import { TIndividualProductCardV2View } from './types';
2
-
3
2
  export declare const IndividualProductCardV2: (props: TIndividualProductCardV2View) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { ETypeBadge } from '../../components/TypeBadge';
2
2
  import { EIconName } from '../../components/Icon/constants';
3
3
  import { TAdvancedGalleryView } from '../../components/AdvancedGallery';
4
-
5
4
  export type TTypeBadge = 'senescence' | 'supplements' | 'outline' | 'energy' | 'metabolism' | 'labs';
6
5
  export type TProductFeature = {
7
6
  label: string;
@@ -1,3 +1,2 @@
1
1
  import { TIngredientHighlight } from './types';
2
-
3
2
  export declare const IngredientHighlight: ({ items }: TIngredientHighlight) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { TIngredient } from './types';
2
-
3
2
  export declare const Ingredient: ({ title, description, isOpen, index, onClick }: TIngredient) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { TLongevityPathways } from './types';
2
-
3
2
  export declare const LongevityPathways: ({ view, label, title, carousel }: TLongevityPathways) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { TAdvancedImageView } from '../../components/ComplexImageCarousel';
3
-
4
3
  export type TLongevityPathways = {
5
4
  view: 'simple' | 'complex';
6
5
  label: string;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { TClockImages } from './types';
3
-
1
+ import type { ReactNode } from 'react';
2
+ import type { TClockImages } from './types';
4
3
  type OptimalHealthProps = {
5
4
  title: ReactNode;
6
5
  description: string;
@@ -1,5 +1,4 @@
1
- import { TClockImages } from '../../types';
2
-
1
+ import type { TClockImages } from '../../types';
3
2
  type ClockImagesProps = {
4
3
  images: TClockImages;
5
4
  };
@@ -1,7 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { TStepsCarouselView } from '../../components/StepsCarousel';
3
- import { TColorScheme } from '../../types/common';
4
-
1
+ import type { ReactNode } from 'react';
2
+ import { type TStepsCarouselView } from '../../components/StepsCarousel';
3
+ import type { TColorScheme } from '../../types/common';
5
4
  export type OurProcessProps = {
6
5
  title: ReactNode;
7
6
  label: string;
@@ -1,5 +1,4 @@
1
- import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
-
1
+ import type { TProductGalleryCardView } from '../../components/ProductGalleryCard';
3
2
  type PairedProductsProps = {
4
3
  title: string;
5
4
  button: {
@@ -1,3 +1,2 @@
1
- import { TProductsDisplay } from './types';
2
-
1
+ import type { TProductsDisplay } from './types';
3
2
  export declare const ProductsDisplay: ({ labelText, productDisplays }: TProductsDisplay) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { TTab } from '../../../../components/Tabs';
2
-
1
+ import { type TTab } from '../../../../components/Tabs';
3
2
  type Props<T extends string | number> = {
4
3
  label?: string;
5
4
  tabs: TTab<T>[];
@@ -1,5 +1,4 @@
1
- import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
-
1
+ import type { TProductGalleryCardView } from '../../components/ProductGalleryCard';
3
2
  export type TProductsDisplayView = {
4
3
  title: string;
5
4
  description?: string;
@@ -1,7 +1,6 @@
1
- import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
- import { TTab } from '../../components/Tabs';
3
- import { TProductsDisplayView } from './types';
4
-
1
+ import type { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
+ import type { TTab } from '../../components/Tabs';
3
+ import type { TProductsDisplayView } from './types';
5
4
  type UseProductsReceiveProps = {
6
5
  productDisplays: Array<TProductsDisplayView>;
7
6
  };
@@ -1,5 +1,4 @@
1
1
  import { TProgramDetailsFeature } from './types';
2
-
3
2
  type ProgramDetailsProps = {
4
3
  label?: string;
5
4
  description: string;
@@ -1,5 +1,4 @@
1
- import { TProgramDetailsFeature } from '../../types';
2
-
1
+ import { type TProgramDetailsFeature } from '../../types';
3
2
  type FeaturesProps = {
4
3
  features: Array<TProgramDetailsFeature>;
5
4
  };