@zenpatient-org/healthspan-marketing-ui 0.2.84 → 0.2.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +2 -1
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +2 -1
- package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +1 -0
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +2 -1
- package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +1 -0
- package/dist/components/AnchorLinks/AnchorLinks.d.ts +1 -0
- package/dist/components/AnchorLinks/types.d.ts +1 -0
- package/dist/components/Benefit/Benefit.d.ts +2 -1
- package/dist/components/Button/Button.d.ts +3 -2
- package/dist/components/Callback/Callback.d.ts +3 -2
- package/dist/components/Callback/constants.d.ts +3 -2
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/ClaimBlock/ClaimBlock.d.ts +2 -1
- package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +1 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +1 -0
- package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +1 -0
- package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +1 -0
- package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +4 -3
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +2 -1
- package/dist/components/ComplexTooltip/types.d.ts +2 -1
- package/dist/components/ContentTabs/ContentTabs.d.ts +3 -2
- package/dist/components/Cursor/Cursor.d.ts +2 -1
- package/dist/components/Cursor/components/ClientCursor.d.ts +2 -1
- package/dist/components/Cursor/components/ServerCursor.d.ts +2 -1
- package/dist/components/FAQComponent/FAQComponent.d.ts +1 -0
- package/dist/components/FAQComponent/types.d.ts +1 -0
- package/dist/components/FAQComponentItem/FAQComponentItem.d.ts +1 -0
- package/dist/components/FAQComponentItem/types.d.ts +2 -1
- package/dist/components/FeaturesList/FeaturesList.d.ts +2 -1
- package/dist/components/FeaturesList/types.d.ts +2 -1
- package/dist/components/FilterError/FilterError.d.ts +1 -0
- package/dist/components/FilterMenu/FilterMenu.d.ts +2 -1
- package/dist/components/HighlightCard/HighlightCard.d.ts +2 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +4 -3
- package/dist/components/Icon/Icon.d.ts +1 -0
- package/dist/components/Icon/iconsMap.d.ts +1 -0
- package/dist/components/IconBracket/IconBracket.d.ts +1 -0
- package/dist/components/IconBracket/types.d.ts +1 -0
- package/dist/components/IconButton/IconButton.d.ts +3 -2
- package/dist/components/ImageGallery/ImageGallery.d.ts +1 -0
- package/dist/components/ImageGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +2 -1
- package/dist/components/ImageGallery/imageGallery.module.css +3 -2
- package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +2 -1
- package/dist/components/Label/Label.d.ts +2 -1
- package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +1 -0
- package/dist/components/PlayButton/PlayButton.d.ts +2 -1
- package/dist/components/PriceDisplay/PriceDisplay.d.ts +2 -1
- package/dist/components/Pricing/Pricing.d.ts +1 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +2 -1
- package/dist/components/Pricing/types.d.ts +4 -3
- package/dist/components/ProductGallery/ProductGallery.d.ts +2 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +2 -1
- package/dist/components/ProductGalleryCard/types.d.ts +2 -1
- package/dist/components/ProductListing/ProductListing.d.ts +3 -2
- package/dist/components/ProductPairs/ProductPairs.d.ts +1 -0
- package/dist/components/ProgressButton/ProgressButton.d.ts +3 -2
- package/dist/components/Quote/Quote.d.ts +2 -1
- package/dist/components/SmartCallout/SmartCallout.d.ts +1 -0
- package/dist/components/StepsCarousel/StepsCarousel.d.ts +2 -1
- package/dist/components/StudyGridCard/StudyGridCard.d.ts +2 -1
- package/dist/components/Tabs/Tabs.d.ts +2 -1
- package/dist/components/Tabs/TabsWithFade.d.ts +1 -0
- package/dist/components/Tabs/types.d.ts +2 -1
- package/dist/components/Tag/Tag.d.ts +3 -2
- package/dist/components/TextButton/TextButton.d.ts +3 -2
- package/dist/components/TextInput/TextInput.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +2 -2
- package/dist/lib/useSwiper.d.ts +3 -2
- package/dist/modules/BasicImageText/BasicImageText.d.ts +2 -1
- package/dist/modules/Benefits/Benefits.d.ts +1 -0
- package/dist/modules/CallToAction/CallToAction.d.ts +1 -0
- package/dist/modules/Callback/Callback.d.ts +2 -1
- package/dist/modules/Claims/Claims.d.ts +1 -0
- package/dist/modules/Compare/Compare.d.ts +1 -0
- package/dist/modules/Compare/types.d.ts +3 -2
- package/dist/modules/Comparison/Comparison.d.ts +3 -2
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +2 -1
- package/dist/modules/ComparisonV2/ComparisonV2.d.ts +2 -1
- package/dist/modules/ContentHighlight/ContentHighlight.d.ts +2 -1
- package/dist/modules/Curiosity/Curiosity.d.ts +1 -0
- package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +2 -1
- package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +1 -0
- package/dist/modules/ExpandingDetails/types.d.ts +1 -0
- package/dist/modules/FAQModule/FAQModule.d.ts +1 -0
- package/dist/modules/FAQModule/types.d.ts +1 -0
- package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +3 -2
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +2 -1
- package/dist/modules/FollowTheScience/FollowTheScience.d.ts +1 -0
- package/dist/modules/HSModal/HSModal.d.ts +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +1 -0
- package/dist/modules/HSModal/types.d.ts +1 -0
- package/dist/modules/HSModal/useHSModal.cjs.js +1 -1
- package/dist/modules/HSModal/useHSModal.es.js +1 -1
- package/dist/modules/HighestStandards/HighestStandards.d.ts +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +1 -0
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +2 -1
- package/dist/modules/HighestStandards/types.d.ts +1 -0
- package/dist/modules/Highlight/Highlight.d.ts +2 -1
- package/dist/modules/HowItWorks/components/Content/Content.d.ts +1 -0
- package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +1 -0
- package/dist/modules/ImageWithText/ImageWithText.d.ts +1 -0
- package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +1 -0
- package/dist/modules/ImageWithText/types.d.ts +2 -1
- package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +3 -2
- package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +2 -1
- package/dist/modules/IndividualProductCard/types.d.ts +3 -2
- package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +1 -0
- package/dist/modules/IndividualProductCardV2/types.d.ts +1 -0
- package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +1 -0
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +1 -0
- package/dist/modules/LongevityPathways/LongevityPathways.d.ts +1 -0
- package/dist/modules/LongevityPathways/types.d.ts +1 -0
- package/dist/modules/OptimalHealth/OptimalHealth.d.ts +3 -2
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +2 -1
- package/dist/modules/OurProcess/OurProcess.d.ts +4 -3
- package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +2 -1
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +2 -1
- package/dist/modules/ProductsDisplay/types.d.ts +2 -1
- package/dist/modules/ProductsDisplay/useProductsData.d.ts +4 -3
- package/dist/modules/ProgramDetails/ProgramDetails.d.ts +1 -0
- package/dist/modules/ProgramDetails/components/Features/Features.d.ts +2 -1
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +1 -0
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +2 -1
- package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +2 -1
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +2 -1
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +2 -1
- package/dist/modules/ResearchFilters/ResearchFilters.d.ts +2 -1
- package/dist/modules/ResearchStudies/ResearchStudies.d.ts +2 -1
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +2 -1
- package/dist/modules/Reviews/Reviews.d.ts +1 -0
- package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +1 -0
- package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +2 -1
- package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +2 -1
- package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +2 -1
- package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +2 -1
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +3 -2
- package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +2 -1
- package/dist/modules/StillHaveQuestions/constants.d.ts +1 -0
- package/dist/modules/Studies/Studies.d.ts +3 -2
- package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +2 -1
- package/dist/modules/Testimonial/Testimonial.d.ts +2 -1
- package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +1 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +1 -0
- package/dist/modules/TextTwoImages/TextTwoImages.d.ts +2 -1
- package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +2 -1
- package/dist/modules/TotalCare/TotalCare.d.ts +4 -3
- package/dist/modules/TrackProgress/TrackProgress.d.ts +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +1 -0
- package/dist/modules/TypesOfTests/TypesOfTests.d.ts +3 -2
- package/dist/modules/YourProtocol/YourProtocol.d.ts +4 -3
- package/dist/modules/YourProtocol/types.d.ts +1 -0
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.cjs.js +1 -1
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/WistiaPlayerWrapper-KYHM7EWK.es.js +2 -2
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.cjs.js +19 -19
- package/dist/node_modules/@wistia/wistia-player-react/dist/mjs/wistia-player-PKAEVX5L.es.js +270 -270
- package/dist/node_modules/gsap/CustomEase.cjs.js +1 -1
- package/dist/node_modules/gsap/CustomEase.es.js +2 -2
- package/dist/node_modules/gsap/Draggable.cjs.js +1 -1
- package/dist/node_modules/gsap/Draggable.es.js +6 -6
- package/dist/node_modules/gsap/Flip.cjs.js +1 -1
- package/dist/node_modules/gsap/Flip.es.js +6 -6
- package/dist/node_modules/gsap/Observer.cjs.js +1 -1
- package/dist/node_modules/gsap/Observer.es.js +2 -2
- package/dist/node_modules/gsap/ScrollTrigger.cjs.js +1 -1
- package/dist/node_modules/gsap/ScrollTrigger.es.js +2 -2
- package/dist/node_modules/gsap/utils/matrix.cjs.js +1 -1
- package/dist/node_modules/gsap/utils/matrix.es.js +2 -2
- package/dist/pageComponents/Banner/Banner.d.ts +2 -1
- package/dist/pageComponents/Footer/Footer.d.ts +1 -0
- package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +1 -0
- package/dist/types/articles.d.ts +1 -0
- package/dist/utils/isHsIcon.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import {
|
|
1
|
+
import { default as React, ElementType, ButtonHTMLAttributes, AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { EIconName } from '../Icon';
|
|
3
3
|
import { TAnalyticsEvent } from '../../types/analytics';
|
|
4
|
+
|
|
4
5
|
export type ButtonVariant = 'primary' | 'primary-invert' | 'secondary' | 'tertiary' | 'muted' | 'muted-invert' | 'ghost';
|
|
5
6
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
6
7
|
interface BaseButtonProps {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ButtonProps } from '../Button';
|
|
2
|
+
import { CallbackShape, CallbackSize } from './types';
|
|
3
|
+
|
|
3
4
|
export type CallbackProps = {
|
|
4
5
|
image: string;
|
|
5
6
|
title: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { TypographyVariant } from '../Typography';
|
|
2
|
+
import { CallbackSize } from './types';
|
|
3
|
+
|
|
3
4
|
export declare const TITLE_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
|
|
4
5
|
export declare const DESC_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
|
|
5
6
|
export declare const PRICE_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { PopoverPosition, PositionTransform } from 'react-tiny-popover';
|
|
3
|
+
import { CommonComplexTooltipProps } from './types';
|
|
4
|
+
|
|
4
5
|
type ComplexTooltipProps = {
|
|
5
6
|
children: ReactElement;
|
|
6
7
|
trigger: 'hover' | 'click';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { EIconName } from '../Icon';
|
|
3
|
+
import { TColorScheme } from '../../types/common';
|
|
4
|
+
|
|
4
5
|
export type TContentTab = {
|
|
5
6
|
label: string;
|
|
6
7
|
description: ReactNode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TypographyProps } from '../Typography';
|
|
3
|
+
import { TColorScheme } from '../../types/common';
|
|
4
|
+
|
|
4
5
|
type Props = {
|
|
5
6
|
title: ReactNode;
|
|
6
7
|
label?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType } from 'react';
|
|
2
|
+
import { EIconName } from '../Icon';
|
|
3
|
+
|
|
3
4
|
type ButtonVariant = 'emphasis' | 'emphasis-invert' | 'muted' | 'muted-invert' | 'ghost';
|
|
4
5
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
5
6
|
interface BaseButtonProps {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.secondary {
|
|
17
|
-
padding:
|
|
17
|
+
padding-bottom: 5px;
|
|
18
|
+
overflow: hidden;
|
|
18
19
|
background-color: var(--color-bg-base-light);
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.secondary .imageWrapper {
|
|
47
|
-
aspect-ratio:
|
|
48
|
+
aspect-ratio: initial;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
.image {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ButtonProps } from '../Button';
|
|
2
|
+
import { LabelColor } from '../Label';
|
|
3
|
+
import { ETypeBadge } from '../TypeBadge';
|
|
4
|
+
|
|
4
5
|
export type PricingElementView = {
|
|
5
6
|
zenpatientId: string;
|
|
6
7
|
label: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import
|
|
1
|
+
import { default as React, ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { TOrientation } from './types';
|
|
3
|
+
|
|
3
4
|
export type PropgressButtonBaseProps = {
|
|
4
5
|
orientation: TOrientation;
|
|
5
6
|
disabled?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ForwardedRef, ReactElement } from 'react';
|
|
2
2
|
import { TTabs } from './types';
|
|
3
|
+
|
|
3
4
|
export declare const Tabs: <T extends string | number>(props: TTabs<T> & {
|
|
4
5
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
5
6
|
}) => ReactElement;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType } from 'react';
|
|
2
|
+
import { EIconName } from '../Icon';
|
|
3
|
+
|
|
3
4
|
type Size = 'sm' | 'lg';
|
|
4
5
|
type BaseButtonProps = {
|
|
5
6
|
inverted?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { default as React, ElementType } from 'react';
|
|
2
|
+
|
|
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 {
|
package/dist/lib/useSwiper.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Swiper as SwiperType } from 'swiper';
|
|
3
|
+
|
|
3
4
|
export type BaseSwiperReturnProps = {
|
|
4
5
|
swiper: SwiperType | null;
|
|
5
6
|
setSwiper: React.Dispatch<React.SetStateAction<SwiperType | null>>;
|