@zenpatient-org/healthspan-marketing-ui 0.2.75 → 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 (180) 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.d.ts +1 -2
  45. package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +0 -1
  46. package/dist/components/PlayButton/PlayButton.d.ts +1 -2
  47. package/dist/components/PriceDisplay/PriceDisplay.d.ts +1 -2
  48. package/dist/components/Pricing/Pricing.d.ts +0 -1
  49. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +1 -2
  50. package/dist/components/Pricing/types.d.ts +3 -4
  51. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -2
  52. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -2
  53. package/dist/components/ProductGalleryCard/types.d.ts +1 -2
  54. package/dist/components/ProductListing/ProductListing.d.ts +2 -3
  55. package/dist/components/ProductPairs/ProductPairs.d.ts +0 -1
  56. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -3
  57. package/dist/components/Quote/Quote.d.ts +1 -2
  58. package/dist/components/StepsCarousel/StepsCarousel.d.ts +1 -2
  59. package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -2
  60. package/dist/components/Tabs/Tabs.d.ts +1 -2
  61. package/dist/components/Tabs/TabsWithFade.d.ts +0 -1
  62. package/dist/components/Tabs/types.d.ts +1 -2
  63. package/dist/components/Tag/Tag.d.ts +2 -3
  64. package/dist/components/TextButton/TextButton.d.ts +2 -3
  65. package/dist/components/TextInput/TextInput.d.ts +0 -1
  66. package/dist/components/Typography/Typography.d.ts +2 -2
  67. package/dist/lib/useSwiper.d.ts +2 -3
  68. package/dist/modules/BasicImageText/BasicImageText.d.ts +1 -2
  69. package/dist/modules/Benefits/Benefits.d.ts +0 -1
  70. package/dist/modules/CallToAction/CallToAction.d.ts +0 -1
  71. package/dist/modules/Callback/Callback.d.ts +1 -2
  72. package/dist/modules/Claims/Claims.d.ts +0 -1
  73. package/dist/modules/Compare/Compare.d.ts +0 -1
  74. package/dist/modules/Compare/types.d.ts +2 -3
  75. package/dist/modules/Comparison/Comparison.d.ts +2 -3
  76. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -2
  77. package/dist/modules/ComparisonV2/ComparisonV2.d.ts +1 -2
  78. package/dist/modules/ContentHighlight/ContentHighlight.d.ts +1 -2
  79. package/dist/modules/Curiosity/Curiosity.d.ts +0 -1
  80. package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +1 -2
  81. package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +0 -1
  82. package/dist/modules/ExpandingDetails/types.d.ts +0 -1
  83. package/dist/modules/FAQModule/FAQModule.d.ts +0 -1
  84. package/dist/modules/FAQModule/types.d.ts +0 -1
  85. package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +2 -3
  86. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +1 -2
  87. package/dist/modules/FollowTheScience/FollowTheScience.d.ts +0 -1
  88. package/dist/modules/HSModal/HSModal.d.ts +0 -1
  89. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +0 -1
  90. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +0 -1
  91. package/dist/modules/HSModal/types.d.ts +0 -1
  92. package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
  93. package/dist/modules/HSModal/useHSModal.es.js +1 -1
  94. package/dist/modules/HighestStandards/HighestStandards.d.ts +0 -1
  95. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +0 -1
  96. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +0 -1
  97. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +1 -2
  98. package/dist/modules/HighestStandards/types.d.ts +0 -1
  99. package/dist/modules/Highlight/Highlight.d.ts +1 -2
  100. package/dist/modules/HowItWorks/components/Content/Content.d.ts +0 -1
  101. package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +0 -1
  102. package/dist/modules/ImageWithText/ImageWithText.d.ts +0 -1
  103. package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +0 -1
  104. package/dist/modules/ImageWithText/types.d.ts +1 -2
  105. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -3
  106. package/dist/modules/IndividualProductCard/components/Features/Features.d.ts +1 -2
  107. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +1 -2
  108. package/dist/modules/IndividualProductCard/types.d.ts +2 -3
  109. package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +0 -1
  110. package/dist/modules/IndividualProductCardV2/types.d.ts +0 -1
  111. package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +0 -1
  112. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +0 -1
  113. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +0 -1
  114. package/dist/modules/LongevityPathways/types.d.ts +0 -1
  115. package/dist/modules/OptimalHealth/OptimalHealth.d.ts +2 -3
  116. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +1 -2
  117. package/dist/modules/OurProcess/OurProcess.d.ts +3 -4
  118. package/dist/modules/PairedProducts/PairedProducts.d.ts +1 -2
  119. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -2
  120. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -2
  121. package/dist/modules/ProductsDisplay/types.d.ts +1 -2
  122. package/dist/modules/ProductsDisplay/useProductsData.d.ts +3 -4
  123. package/dist/modules/ProgramDetails/ProgramDetails.d.ts +0 -1
  124. package/dist/modules/ProgramDetails/components/Features/Features.d.ts +1 -2
  125. package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +0 -1
  126. package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +1 -2
  127. package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +1 -2
  128. package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +1 -2
  129. package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +1 -2
  130. package/dist/modules/ResearchFilters/ResearchFilters.d.ts +1 -2
  131. package/dist/modules/ResearchStudies/ResearchStudies.d.ts +1 -2
  132. package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +1 -2
  133. package/dist/modules/Reviews/Reviews.d.ts +0 -1
  134. package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +0 -1
  135. package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +1 -2
  136. package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +1 -2
  137. package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +1 -2
  138. package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +1 -2
  139. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +2 -3
  140. package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +1 -2
  141. package/dist/modules/StillHaveQuestions/constants.d.ts +0 -1
  142. package/dist/modules/Studies/Studies.d.ts +2 -3
  143. package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +1 -2
  144. package/dist/modules/Testimonial/Testimonial.d.ts +1 -2
  145. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +0 -1
  146. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +0 -1
  147. package/dist/modules/TextTwoImages/TextTwoImages.d.ts +1 -2
  148. package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +1 -2
  149. package/dist/modules/TotalCare/TotalCare.d.ts +3 -4
  150. package/dist/modules/TrackProgress/TrackProgress.d.ts +0 -1
  151. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +0 -1
  152. package/dist/modules/TypesOfTests/TypesOfTests.d.ts +2 -3
  153. package/dist/modules/YourProtocol/YourProtocol.d.ts +3 -4
  154. package/dist/modules/YourProtocol/types.d.ts +0 -1
  155. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.cjs.js +1 -1
  156. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.es.js +2 -2
  157. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.cjs.js +19 -19
  158. package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.es.js +270 -270
  159. package/dist/node_modules/gsap/CustomEase.cjs.js +1 -1
  160. package/dist/node_modules/gsap/CustomEase.es.js +2 -2
  161. package/dist/node_modules/gsap/Draggable.cjs.js +1 -1
  162. package/dist/node_modules/gsap/Draggable.es.js +6 -6
  163. package/dist/node_modules/gsap/Flip.cjs.js +1 -1
  164. package/dist/node_modules/gsap/Flip.es.js +6 -6
  165. package/dist/node_modules/gsap/Observer.cjs.js +1 -1
  166. package/dist/node_modules/gsap/Observer.es.js +2 -2
  167. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +1 -1
  168. package/dist/node_modules/gsap/ScrollTrigger.es.js +2 -2
  169. package/dist/node_modules/gsap/utils/matrix.cjs.js +1 -1
  170. package/dist/node_modules/gsap/utils/matrix.es.js +2 -2
  171. package/dist/pageComponents/Banner/Banner.d.ts +1 -2
  172. package/dist/pageComponents/Footer/Footer.d.ts +0 -1
  173. package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +0 -1
  174. package/dist/types/articles.d.ts +0 -1
  175. package/dist/utils/isHsIcon.d.ts +0 -1
  176. package/package.json +38 -38
  177. package/dist/components/Checkbox/assets/checkbox-checkmark.svg.cjs.js +0 -1
  178. package/dist/components/Checkbox/assets/checkbox-checkmark.svg.es.js +0 -5
  179. package/dist/components/Checkbox/assets/checkbox-dash.svg.cjs.js +0 -1
  180. package/dist/components/Checkbox/assets/checkbox-dash.svg.es.js +0 -5
@@ -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,5 +1,5 @@
1
- import { default as React, ElementType } from 'react';
2
-
1
+ import type React from 'react';
2
+ import type { ElementType } from 'react';
3
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 {
@@ -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
  };
@@ -1,5 +1,4 @@
1
1
  import { TResearchArticleView } from '../../types/articles';
2
-
3
2
  type TResearchEssentialReadingsProps = {
4
3
  readings: Array<TResearchArticleView>;
5
4
  };
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare function ReadingCard({ title, link, image, date, label, readTime }: TResearchArticleView): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import { TResearchArticleView } from '../../types/articles';
1
+ import type { TResearchArticleView } from '../../types/articles';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  type TResearchFeatured = {
5
4
  highlightedArticle: TResearchArticleView;
6
5
  articles: Array<TResearchArticleView>;
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare const FeaturedArticle: ({ image, date, readTime, title, link, trackingEvent, trackingLocation, }: TResearchArticleView) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare const HighlightedArticle: ({ label, image, date, title, link }: TResearchArticleView) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import { TTab } from '../../components/Tabs';
1
+ import { type TTab } from '../../components/Tabs';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  export type TResearchFilters = {
5
4
  tabs: Array<TTab<string>>;
6
5
  activeTab: string;
@@ -1,6 +1,5 @@
1
- import { TResearchArticleView } from '../../types/articles';
1
+ import type { TResearchArticleView } from '../../types/articles';
2
2
  import { EAnalyticsEvent } from '../../types/analytics';
3
-
4
3
  type ResearchStudiesProps = {
5
4
  title: string;
6
5
  backButton?: {
@@ -1,3 +1,2 @@
1
- import { TResearchArticleView } from '../../../../types/articles';
2
-
1
+ import type { TResearchArticleView } from '../../../../types/articles';
3
2
  export declare function StudyCard({ title, link, image, date, label, readTime, trackingEvent, trackingLocation, }: TResearchArticleView): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { TReviewCard } from './types';
2
-
3
2
  type ReviewsProps = {
4
3
  rating?: {
5
4
  stars?: number;
@@ -1,3 +1,2 @@
1
1
  import { TReviewCard } from '../../types';
2
-
3
2
  export declare const ReviewCard: ({ review }: TReviewCard) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { TReviewCard } from '../../types';
2
-
1
+ import type { TReviewCard } from '../../types';
3
2
  type ReviewListProps = {
4
3
  reviews: Array<TReviewCard>;
5
4
  page: number;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export type ScienceHeroCursorProps = {
4
3
  children: React.ReactNode;
5
4
  backgroundImage: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  type ScienceClientCursorProps = {
4
3
  children: React.ReactNode;
5
4
  backgroundImage: string;
@@ -1,5 +1,4 @@
1
- import { default as React } from 'react';
2
-
1
+ import React from 'react';
3
2
  export declare const ScienceServerCursor: ({ children }: {
4
3
  children: React.ReactNode;
5
4
  }) => React.ReactNode;