odaptos_design_system 2.0.225 → 2.0.226

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.
@@ -21,6 +21,7 @@ interface PricingCardProps {
21
21
  isYearly?: boolean;
22
22
  isFreeTrialDisplayed?: boolean;
23
23
  currency?: '$' | '€';
24
+ isFromMarketing?: boolean;
24
25
  }
25
- export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, isFreeTrialDisplayed, }: PricingCardProps) => React.JSX.Element;
26
+ export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, isFreeTrialDisplayed, isFromMarketing, }: PricingCardProps) => React.JSX.Element;
26
27
  export {};
@@ -72651,9 +72651,15 @@ const PricingCard = ({
72651
72651
  className,
72652
72652
  isYearly = false,
72653
72653
  currency = '$',
72654
- isFreeTrialDisplayed = true
72654
+ isFreeTrialDisplayed = true,
72655
+ isFromMarketing = false
72655
72656
  }) => {
72656
- const buttonText = {
72657
+ const buttonText = isFromMarketing ? {
72658
+ 1: cmsContent.startFree,
72659
+ 2: cmsContent.startFree,
72660
+ 3: cmsContent.startFree,
72661
+ 4: cmsContent.ContactUs
72662
+ } : {
72657
72663
  1: cmsContent.ContactUs,
72658
72664
  2: cmsContent.ContactUs,
72659
72665
  3: cmsContent.ContactUs,