@zenpatient-org/healthspan-marketing-ui 0.2.85 → 0.2.87
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 +1 -2
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +1 -2
- package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +0 -1
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
- package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +0 -1
- package/dist/components/AnchorLinks/AnchorLinks.d.ts +0 -1
- package/dist/components/AnchorLinks/types.d.ts +0 -1
- package/dist/components/Benefit/Benefit.d.ts +1 -2
- package/dist/components/Button/Button.d.ts +2 -3
- package/dist/components/Callback/Callback.d.ts +2 -3
- package/dist/components/Callback/constants.d.ts +2 -3
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/ClaimBlock/ClaimBlock.d.ts +1 -2
- package/dist/components/ComplexImageCarousel/ComplexCarousel/ComplexCarousel.d.ts +0 -1
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +0 -1
- package/dist/components/ComplexImageCarousel/SimpleImageCarousel/SimpleImageCarousel.d.ts +0 -1
- package/dist/components/ComplexImageCarousel/useComplexImageCarousel.d.ts +0 -1
- package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +3 -4
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +1 -2
- package/dist/components/ComplexTooltip/types.d.ts +1 -2
- package/dist/components/ContentTabs/ContentTabs.d.ts +2 -3
- package/dist/components/ContentTabs/contentTabs.module.css +1 -0
- package/dist/components/Cursor/Cursor.d.ts +1 -2
- package/dist/components/Cursor/components/ClientCursor.d.ts +1 -2
- package/dist/components/Cursor/components/ServerCursor.d.ts +1 -2
- package/dist/components/FAQComponent/FAQComponent.d.ts +0 -1
- package/dist/components/FAQComponent/types.d.ts +0 -1
- package/dist/components/FAQComponentItem/FAQComponentItem.d.ts +0 -1
- package/dist/components/FAQComponentItem/types.d.ts +1 -2
- package/dist/components/FeaturesList/FeaturesList.d.ts +1 -2
- package/dist/components/FeaturesList/types.d.ts +1 -2
- package/dist/components/FilterError/FilterError.d.ts +0 -1
- package/dist/components/FilterMenu/FilterMenu.d.ts +1 -2
- package/dist/components/HighlightCard/HighlightCard.d.ts +1 -2
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +3 -4
- package/dist/components/Icon/Icon.d.ts +0 -1
- package/dist/components/Icon/iconsMap.d.ts +0 -1
- package/dist/components/IconBracket/IconBracket.d.ts +0 -1
- package/dist/components/IconBracket/types.d.ts +0 -1
- package/dist/components/IconButton/IconButton.d.ts +2 -3
- package/dist/components/ImageGallery/ImageGallery.d.ts +0 -1
- package/dist/components/ImageGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +1 -2
- package/dist/components/ImageGallery/imageGallery.module.css +4 -0
- package/dist/components/InfiniteScroll/InfiniteScroll.d.ts +1 -2
- package/dist/components/Label/Label.d.ts +1 -2
- package/dist/components/PlainFeaturesGroup/PlainFeaturesGroup.d.ts +0 -1
- package/dist/components/PlayButton/PlayButton.d.ts +1 -2
- package/dist/components/PriceDisplay/PriceDisplay.d.ts +1 -2
- package/dist/components/Pricing/Pricing.d.ts +0 -1
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +1 -2
- package/dist/components/Pricing/types.d.ts +3 -4
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -2
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -2
- package/dist/components/ProductGalleryCard/types.d.ts +1 -2
- package/dist/components/ProductListing/ProductListing.d.ts +2 -3
- package/dist/components/ProductPairs/ProductPairs.d.ts +0 -1
- package/dist/components/ProgressButton/ProgressButton.d.ts +2 -3
- package/dist/components/Quote/Quote.d.ts +1 -2
- package/dist/components/SmartCallout/SmartCallout.d.ts +0 -1
- package/dist/components/StepsCarousel/StepsCarousel.d.ts +1 -2
- package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +1 -2
- package/dist/components/Tabs/TabsWithFade.d.ts +0 -1
- package/dist/components/Tabs/types.d.ts +1 -2
- package/dist/components/Tag/Tag.d.ts +2 -3
- package/dist/components/TextButton/TextButton.d.ts +2 -3
- package/dist/components/TextInput/TextInput.d.ts +0 -1
- package/dist/components/Typography/Typography.d.ts +2 -2
- package/dist/icons/arrow/arrow-forward-thin.svg +1 -1
- package/dist/icons/arrow/arrow-forward-thin.svg.cjs.js +1 -1
- package/dist/icons/arrow/arrow-forward-thin.svg.es.js +1 -1
- package/dist/lib/useSwiper.d.ts +2 -3
- package/dist/modules/BasicImageText/BasicImageText.cjs.js +1 -1
- package/dist/modules/BasicImageText/BasicImageText.d.ts +1 -2
- package/dist/modules/BasicImageText/BasicImageText.es.js +36 -34
- package/dist/modules/BasicImageText/basicImageText.module.css +48 -27
- package/dist/modules/Benefits/Benefits.d.ts +0 -1
- package/dist/modules/CallToAction/CallToAction.d.ts +0 -1
- package/dist/modules/Callback/Callback.d.ts +1 -2
- package/dist/modules/Claims/Claims.d.ts +0 -1
- package/dist/modules/Compare/Compare.d.ts +0 -1
- package/dist/modules/Compare/types.d.ts +2 -3
- package/dist/modules/Comparison/Comparison.d.ts +2 -3
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -2
- package/dist/modules/ComparisonV2/ComparisonV2.d.ts +1 -2
- package/dist/modules/ComparisonV2/comparisonV2.module.css +17 -2
- package/dist/modules/ContentHighlight/ContentHighlight.d.ts +1 -2
- package/dist/modules/Curiosity/Curiosity.d.ts +0 -1
- package/dist/modules/CursorImageBlock/CursorImageBlock.d.ts +1 -2
- package/dist/modules/ExpandingDetails/ExpandingDetails.d.ts +0 -1
- package/dist/modules/ExpandingDetails/types.d.ts +0 -1
- package/dist/modules/FAQModule/FAQModule.d.ts +0 -1
- package/dist/modules/FAQModule/types.d.ts +0 -1
- package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +2 -3
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.d.ts +1 -2
- package/dist/modules/FollowTheScience/FollowTheScience.d.ts +0 -1
- package/dist/modules/HSModal/HSModal.d.ts +0 -1
- package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +0 -1
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +0 -1
- package/dist/modules/HSModal/types.d.ts +0 -1
- 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 +0 -1
- package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.d.ts +0 -1
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.d.ts +0 -1
- package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/types.d.ts +1 -2
- package/dist/modules/HighestStandards/types.d.ts +0 -1
- package/dist/modules/Highlight/Highlight.d.ts +1 -2
- package/dist/modules/HowItWorks/components/Content/Content.d.ts +0 -1
- package/dist/modules/ImageWithBenefits/ImageWithBenefits.d.ts +0 -1
- package/dist/modules/ImageWithText/ImageWithText.d.ts +0 -1
- package/dist/modules/ImageWithText/components/ButtonWithColors/ButtonWithColors.d.ts +0 -1
- package/dist/modules/ImageWithText/types.d.ts +1 -2
- package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +2 -3
- package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +1 -2
- package/dist/modules/IndividualProductCard/types.d.ts +2 -3
- package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.d.ts +0 -1
- package/dist/modules/IndividualProductCardV2/types.d.ts +0 -1
- package/dist/modules/IngredientHighlight/IngredientHighlight.d.ts +0 -1
- package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.d.ts +0 -1
- package/dist/modules/LongevityPathways/LongevityPathways.d.ts +0 -1
- package/dist/modules/LongevityPathways/types.d.ts +0 -1
- package/dist/modules/OptimalHealth/OptimalHealth.d.ts +2 -3
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.d.ts +1 -2
- package/dist/modules/OurProcess/OurProcess.d.ts +3 -4
- package/dist/modules/PairedProducts/PairedProducts.d.ts +1 -2
- package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -2
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -2
- package/dist/modules/ProductsDisplay/types.d.ts +1 -2
- package/dist/modules/ProductsDisplay/useProductsData.d.ts +3 -4
- package/dist/modules/ProgramDetails/ProgramDetails.cjs.js +1 -1
- package/dist/modules/ProgramDetails/ProgramDetails.d.ts +0 -1
- package/dist/modules/ProgramDetails/ProgramDetails.es.js +6 -6
- package/dist/modules/ProgramDetails/components/Features/Features.d.ts +1 -2
- package/dist/modules/ProgramDetails/programDetails.module.css +27 -0
- package/dist/modules/ResearchEssentialReadings/ResearchEssentialReadings.d.ts +0 -1
- package/dist/modules/ResearchEssentialReadings/components/ReadingCard/ReadingCard.d.ts +1 -2
- package/dist/modules/ResearchFeatured/ResearchFeatured.d.ts +1 -2
- package/dist/modules/ResearchFeatured/components/FeaturedArticle/FeaturedArticle.d.ts +1 -2
- package/dist/modules/ResearchFeatured/components/HighlightedArticle/HighlightedArticle.d.ts +1 -2
- package/dist/modules/ResearchFilters/ResearchFilters.d.ts +1 -2
- package/dist/modules/ResearchStudies/ResearchStudies.d.ts +1 -2
- package/dist/modules/ResearchStudies/components/StudyCard/StudyCard.d.ts +1 -2
- package/dist/modules/Reviews/Reviews.d.ts +0 -1
- package/dist/modules/Reviews/components/ReviewCard/ReviewCard.d.ts +0 -1
- package/dist/modules/Reviews/components/ReviewList/ReviewList.d.ts +1 -2
- package/dist/modules/ScienceHero/ScienceHeroCursor.d.ts +1 -2
- package/dist/modules/ScienceHero/components/ScienceClientCursor.d.ts +1 -2
- package/dist/modules/ScienceHero/components/ScienceServerCursor.d.ts +1 -2
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +2 -3
- package/dist/modules/StillHaveQuestions/StillHaveQuestions.d.ts +1 -2
- package/dist/modules/StillHaveQuestions/constants.d.ts +0 -1
- package/dist/modules/Studies/Studies.d.ts +2 -3
- package/dist/modules/TargetedPrograms/TargetedPrograms.d.ts +1 -2
- package/dist/modules/Testimonial/Testimonial.d.ts +1 -2
- package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +0 -1
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +0 -1
- package/dist/modules/TextTwoImages/TextTwoImages.d.ts +1 -2
- package/dist/modules/ThreeCardsWithHero/ThreeCardsWithHero.d.ts +1 -2
- package/dist/modules/TotalCare/TotalCare.d.ts +3 -4
- package/dist/modules/TotalCare/totalCare.module.css +29 -3
- package/dist/modules/TrackProgress/TrackProgress.d.ts +0 -1
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +0 -1
- package/dist/modules/TypesOfTests/TypesOfTests.d.ts +2 -3
- package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
- package/dist/modules/YourProtocol/YourProtocol.d.ts +3 -4
- package/dist/modules/YourProtocol/YourProtocol.es.js +18 -9
- package/dist/modules/YourProtocol/types.d.ts +0 -1
- package/dist/modules/YourProtocol/yourProtocol.module.css +146 -44
- 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 +1 -2
- package/dist/pageComponents/Footer/Footer.d.ts +0 -1
- package/dist/pageComponents/ScrollingFeatures/ScrollingFeatures.d.ts +0 -1
- package/dist/types/articles.d.ts +0 -1
- package/dist/utils/isHsIcon.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EIconName } from '../Icon';
|
|
1
|
+
import React, { type ElementType, type ButtonHTMLAttributes, type AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { type EIconName } from '../Icon';
|
|
3
3
|
import { TAnalyticsEvent } from '../../types/analytics';
|
|
4
|
-
|
|
5
4
|
export type ButtonVariant = 'primary' | 'primary-invert' | 'secondary' | 'tertiary' | 'muted' | 'muted-invert' | 'ghost';
|
|
6
5
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
7
6
|
interface BaseButtonProps {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '../Button';
|
|
2
|
-
import { CallbackShape, CallbackSize } from './types';
|
|
3
|
-
|
|
1
|
+
import { type ButtonProps } from '../Button';
|
|
2
|
+
import type { CallbackShape, CallbackSize } from './types';
|
|
4
3
|
export type CallbackProps = {
|
|
5
4
|
image: string;
|
|
6
5
|
title: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TypographyVariant } from '../Typography';
|
|
2
|
-
import { CallbackSize } from './types';
|
|
3
|
-
|
|
1
|
+
import type { TypographyVariant } from '../Typography';
|
|
2
|
+
import type { CallbackSize } from './types';
|
|
4
3
|
export declare const TITLE_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
|
|
5
4
|
export declare const DESC_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
|
|
6
5
|
export declare const PRICE_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { PopoverPosition, PositionTransform } from 'react-tiny-popover';
|
|
3
|
-
import { CommonComplexTooltipProps } from './types';
|
|
4
|
-
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
import { type PopoverPosition, type PositionTransform } from 'react-tiny-popover';
|
|
3
|
+
import type { CommonComplexTooltipProps } from './types';
|
|
5
4
|
type ComplexTooltipProps = {
|
|
6
5
|
children: ReactElement;
|
|
7
6
|
trigger: 'hover' | 'click';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { EIconName } from '../Icon';
|
|
3
|
-
import { TColorScheme } from '../../types/common';
|
|
4
|
-
|
|
2
|
+
import { type EIconName } from '../Icon';
|
|
3
|
+
import type { TColorScheme } from '../../types/common';
|
|
5
4
|
export type TContentTab = {
|
|
6
5
|
label: string;
|
|
7
6
|
description: ReactNode;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TypographyProps } from '../Typography';
|
|
3
|
-
import { TColorScheme } from '../../types/common';
|
|
4
|
-
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type TypographyProps } from '../Typography';
|
|
3
|
+
import type { TColorScheme } from '../../types/common';
|
|
5
4
|
type Props = {
|
|
6
5
|
title: ReactNode;
|
|
7
6
|
label?: 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 ButtonVariant = 'emphasis' | 'emphasis-invert' | 'muted' | 'muted-invert' | 'ghost';
|
|
5
4
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
6
5
|
interface BaseButtonProps {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ButtonProps } from '../Button';
|
|
2
|
-
import { LabelColor } from '../Label';
|
|
3
|
-
import { ETypeBadge } from '../TypeBadge';
|
|
4
|
-
|
|
1
|
+
import { type ButtonProps } from '../Button';
|
|
2
|
+
import { type LabelColor } from '../Label';
|
|
3
|
+
import { type ETypeBadge } from '../TypeBadge';
|
|
5
4
|
export type PricingElementView = {
|
|
6
5
|
zenpatientId: string;
|
|
7
6
|
label: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
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,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,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,5 @@
|
|
|
1
|
-
import
|
|
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,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M18.7452 64.0048H109.255" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
<path d="M72.4844 27.2344L109.254 64.0039L72.4844 100.773" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
4
|
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=i(c),a=e=>o.createElement("svg",{width:
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=i(c),a=e=>o.createElement("svg",{width:24,height:24,viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M18.7452 64.0048H109.255",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M72.4844 27.2344L109.254 64.0039L72.4844 100.773",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"}));exports.default=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
const t = (r) => /* @__PURE__ */ e.createElement("svg", { width:
|
|
2
|
+
const t = (r) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 128 128", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ e.createElement("path", { d: "M18.7452 64.0048H109.255", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M72.4844 27.2344L109.254 64.0039L72.4844 100.773", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
3
3
|
export {
|
|
4
4
|
t as default
|
|
5
5
|
};
|
package/dist/lib/useSwiper.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../src/modules/BasicImageText/basicImageText.module.css"),d=require("../../components/Typography/Typography.cjs.js"),p=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),n=require("../../components/Button/Button.cjs.js"),y={solar:"color-text-primary-brand-solar",indigo:"color-text-primary-brand-indigo",primary:"color-text-primary",inverted:"color-text-primary-inverted"},j=({imagePosition:t,title:m,description:r,image:o,button:a,label:l,labelColor:h,mobileImage:g,colorScheme:s,buttonColor:c})=>{const x=h||(s==="dark"?"inverted":"primary");return e.jsx("section",{className:i.root,"data-color-scheme":s,children:e.jsxs("div",{className:i.container,"data-image-position":t,children:[e.jsxs("div",{className:i.textContainer,children:[l&&e.jsx(d.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,className:i.label,color:y[x],children:l}),e.jsxs("div",{className:i.titleContainer,children:[e.jsx(p.HighlightedTitle,{colorScheme:s==="dark"?"dark":"light",className:i.title,defaultVariant:"displayMd",mobileVariant:"headingXl",title:m}),e.jsx("div",{className:i.mobileImageContainer,children:e.jsx("img",{src:g,alt:"",className:i.mobileImage})}),r&&e.jsx(d.Typography,{className:i.description,defaultVariant:"bodyLg",mobileVariant:"bodyMd",children:r})]}),(a==null?void 0:a.link)&&e.jsxs("div",{className:i.buttonContainer,children:[e.jsx("div",{className:i.buttonDesktop,children:e.jsx(n.Button,{as:"a",href:a==null?void 0:a.link,variant:c||"secondary",size:"lg",children:(a==null?void 0:a.text)||"Get Started"})}),e.jsx("div",{className:i.buttonMobile,children:e.jsx(n.Button,{as:"a",href:a==null?void 0:a.link,variant:c||"secondary",size:"sm",children:(a==null?void 0:a.text)||"Get Started"})})]})]}),e.jsx("div",{className:i.imageContainer,children:e.jsx("img",{src:o,alt:"",className:i.image})})]})})};exports.BasicImageText=j;
|