odaptos_design_system 2.0.214 → 2.0.215
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/Molecules/PricingCard/PricingCard.d.ts +2 -1
- package/dist/odaptos_design_system.cjs.development.js +3 -2
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +3 -2
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/PricingCard/PricingCard.tsx +10 -6
|
@@ -19,7 +19,8 @@ interface PricingCardProps {
|
|
|
19
19
|
yourPlanText?: string;
|
|
20
20
|
className?: string;
|
|
21
21
|
isYearly?: boolean;
|
|
22
|
+
isFreeTrialDisplayed?: boolean;
|
|
22
23
|
currency?: '$' | '€';
|
|
23
24
|
}
|
|
24
|
-
export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, }: PricingCardProps) => React.JSX.Element;
|
|
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;
|
|
25
26
|
export {};
|
|
@@ -50725,7 +50725,8 @@ const PricingCard = ({
|
|
|
50725
50725
|
yourPlanText,
|
|
50726
50726
|
className,
|
|
50727
50727
|
isYearly = false,
|
|
50728
|
-
currency = '$'
|
|
50728
|
+
currency = '$',
|
|
50729
|
+
isFreeTrialDisplayed = true
|
|
50729
50730
|
}) => {
|
|
50730
50731
|
const buttonText = {
|
|
50731
50732
|
1: cmsContent.startFree,
|
|
@@ -50840,7 +50841,7 @@ const PricingCard = ({
|
|
|
50840
50841
|
className: styles$J.button,
|
|
50841
50842
|
disabled: yourPlanText ? true : false,
|
|
50842
50843
|
onClick: onClick
|
|
50843
|
-
})), /*#__PURE__*/React__default.createElement(Text, {
|
|
50844
|
+
})), isFreeTrialDisplayed && /*#__PURE__*/React__default.createElement(Text, {
|
|
50844
50845
|
text: cmsContent.freeTrialDays ?? `30-day Free trial`,
|
|
50845
50846
|
italic: true,
|
|
50846
50847
|
size: "base",
|