odaptos_design_system 1.4.224 → 1.4.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.
- package/dist/PricingCard/PricingCard.d.ts +2 -1
- package/dist/odaptos_design_system.cjs.development.js +7 -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 +7 -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 = {
|
|
@@ -11871,7 +11872,11 @@ const PricingCard = ({
|
|
|
11871
11872
|
color: "#fff"
|
|
11872
11873
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
11873
11874
|
className: styles$B.mainContent
|
|
11874
|
-
}, /*#__PURE__*/React__default.createElement("div",
|
|
11875
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11876
|
+
style: {
|
|
11877
|
+
height: language === 'fr' ? '26rem' : '24rem'
|
|
11878
|
+
}
|
|
11879
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11875
11880
|
className: styles$B.header
|
|
11876
11881
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11877
11882
|
className: styles$B.header_top
|