odaptos_design_system 1.4.225 → 1.4.227
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/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/PricingCard/PricingCard.tsx +3 -1
|
@@ -21,6 +21,7 @@ interface PricingCardProps {
|
|
|
21
21
|
onClick: () => void;
|
|
22
22
|
tier: 1 | 2 | 3 | 4;
|
|
23
23
|
yourPlanText?: string;
|
|
24
|
+
language?: 'en' | 'fr' | 'es';
|
|
24
25
|
}
|
|
25
|
-
export declare const PricingCard: ({ cardInfo: { title, description, monthlyPrice, yearlyPrice, featuredSectionTitle, }, cmsContent, isYearlyOrMonthly, interviewsNumber, featuresList, isDark, isHighlighted, highlightMessage, onClick, tier, yourPlanText, }: PricingCardProps) => React.JSX.Element;
|
|
26
|
+
export declare const PricingCard: ({ cardInfo: { title, description, monthlyPrice, yearlyPrice, featuredSectionTitle, }, cmsContent, isYearlyOrMonthly, interviewsNumber, featuresList, isDark, isHighlighted, highlightMessage, onClick, tier, yourPlanText, language, }: PricingCardProps) => React.JSX.Element;
|
|
26
27
|
export {};
|
|
@@ -11820,7 +11820,8 @@ const PricingCard = ({
|
|
|
11820
11820
|
highlightMessage = '',
|
|
11821
11821
|
onClick,
|
|
11822
11822
|
tier = 1,
|
|
11823
|
-
yourPlanText
|
|
11823
|
+
yourPlanText,
|
|
11824
|
+
language
|
|
11824
11825
|
}) => {
|
|
11825
11826
|
//Map the tier to the button text and variant
|
|
11826
11827
|
const buttonVariant = {
|
|
@@ -11873,7 +11874,7 @@ const PricingCard = ({
|
|
|
11873
11874
|
className: styles$B.mainContent
|
|
11874
11875
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11875
11876
|
style: {
|
|
11876
|
-
height: '
|
|
11877
|
+
height: language === 'fr' ? '20rem' : '18rem'
|
|
11877
11878
|
}
|
|
11878
11879
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11879
11880
|
className: styles$B.header
|