@npm_leadtech/legal-lib-components 7.0.12 → 7.0.13
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/src/components/atoms/BenefitCard/BenefitCard.js +1 -1
- package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +2 -2
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +1 -1
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +1 -1
- package/dist/src/components/pages/PricingPage/PricingPage.js +2 -2
- package/dist/src/components/pages/PricingPage/PricingPage.tsx +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { BenefitCardStyled } from './BenefitCardStyled.styled';
|
|
3
3
|
export const BenefitCard = ({ description, hasShadow = true, hasBigFontSize = true, title, image }) => {
|
|
4
|
-
return (_jsxs(BenefitCardStyled, { className: `benefit-card ${hasShadow && 'has-shadow'}`, children: [image !== null && _jsx("div", { className: `benefit-card__icon ${hasShadow && 'has-shadow'}`, children: image }), _jsxs("div", { className: 'benefit-card__content', children: [_jsx("
|
|
4
|
+
return (_jsxs(BenefitCardStyled, { className: `benefit-card ${hasShadow && 'has-shadow'}`, children: [image !== null && _jsx("div", { className: `benefit-card__icon ${hasShadow && 'has-shadow'}`, children: image }), _jsxs("div", { className: 'benefit-card__content', children: [_jsx("div", { className: `sans-serif ${hasBigFontSize && '--big'} --bold-weight benefit-card__content__title`, children: title }), _jsx("p", { className: 'sans-serif --medium benefit-ratafia-card__content__description', children: description })] })] }));
|
|
5
5
|
};
|
|
@@ -14,9 +14,9 @@ export const BenefitCard: React.FC<BenefitCardProps> = ({
|
|
|
14
14
|
<BenefitCardStyled className={`benefit-card ${hasShadow && 'has-shadow'}`}>
|
|
15
15
|
{image !== null && <div className={`benefit-card__icon ${hasShadow && 'has-shadow'}`}>{image}</div>}
|
|
16
16
|
<div className='benefit-card__content'>
|
|
17
|
-
<
|
|
17
|
+
<div className={`sans-serif ${hasBigFontSize && '--big'} --bold-weight benefit-card__content__title`}>
|
|
18
18
|
{title}
|
|
19
|
-
</
|
|
19
|
+
</div>
|
|
20
20
|
<p className='sans-serif --medium benefit-ratafia-card__content__description'>{description}</p>
|
|
21
21
|
</div>
|
|
22
22
|
</BenefitCardStyled>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { PlanBoxPricingCardHeaderStyled } from './PlanBoxPricingCardHeader.styled';
|
|
3
|
-
export const PlanBoxPricingCardHeader = ({ className, description, title }) => (_jsxs(PlanBoxPricingCardHeaderStyled, { children: [_jsx("
|
|
3
|
+
export const PlanBoxPricingCardHeader = ({ className, description, title }) => (_jsxs(PlanBoxPricingCardHeaderStyled, { children: [_jsx("h3", { className: `title-plan-box ${className}`, children: title }), _jsx("div", { className: 'description-plan-box', children: description })] }));
|
|
@@ -8,7 +8,7 @@ export const PlanBoxPricingCardHeader: React.FC<{ title: string; description?: s
|
|
|
8
8
|
title
|
|
9
9
|
}) => (
|
|
10
10
|
<PlanBoxPricingCardHeaderStyled>
|
|
11
|
-
<
|
|
11
|
+
<h3 className={`title-plan-box ${className}`}>{title}</h3>
|
|
12
12
|
<div className='description-plan-box'>{description}</div>
|
|
13
13
|
</PlanBoxPricingCardHeaderStyled>
|
|
14
14
|
)
|
|
@@ -4,7 +4,7 @@ import { BenefitCard } from '../../atoms';
|
|
|
4
4
|
import { PlanBoxPricingSubscriptionCard } from '../../molecules';
|
|
5
5
|
import { PricingPageStyled } from './PricingPage.styled';
|
|
6
6
|
export const PricingPage = ({ benefitsContent, faqsContent, helpResourcesCards, pricingPlanContent, pricingSection, supportContent }) => {
|
|
7
|
-
return (_jsxs(PricingPageStyled, { children: [pricingSection != null && _jsx(HeroSection, { ...pricingSection }), _jsxs("div", { className: 'pricing-plans wrapper wrapper--responsive', children: [pricingPlanContent?.title && _jsx("
|
|
8
|
-
pricingPlanContent?.plans?.map((plan) => _jsx(PlanBoxPricingSubscriptionCard, { ...plan }, plan?.id)) })] }), _jsx(CardBoxMinimalSection, { cards: helpResourcesCards }), _jsxs("div", { className: 'benefits wrapper wrapper--responsive', children: [benefitsContent?.title && _jsx("
|
|
7
|
+
return (_jsxs(PricingPageStyled, { children: [pricingSection != null && _jsx(HeroSection, { ...pricingSection }), _jsxs("div", { className: 'pricing-plans wrapper wrapper--responsive', children: [pricingPlanContent?.title && _jsx("h2", { className: 'pricing-plans__title', children: pricingPlanContent.title }), _jsx("div", { className: 'pricing-plans__cards', children: pricingPlanContent?.plans?.length > 0 &&
|
|
8
|
+
pricingPlanContent?.plans?.map((plan) => _jsx(PlanBoxPricingSubscriptionCard, { ...plan }, plan?.id)) })] }), _jsx(CardBoxMinimalSection, { cards: helpResourcesCards }), _jsxs("div", { className: 'benefits wrapper wrapper--responsive', children: [benefitsContent?.title && _jsx("h2", { className: 'benefits__title', children: benefitsContent.title }), _jsx("div", { className: 'benefits__cards', children: benefitsContent?.benefitsList?.length > 0 &&
|
|
9
9
|
benefitsContent?.benefitsList?.map((benefit) => (_jsx(BenefitCard, { hasShadow: false, ...benefit }, benefit?.id))) })] }), _jsxs("div", { className: 'support-section', children: [supportContent?.title && (_jsxs("div", { className: 'support-section__content', children: [_jsx("h2", { children: supportContent.title }), supportContent.description] })), _jsx(CardBoxFeaturedSection, { cards: supportContent?.benefitsList })] }), _jsx("div", { className: 'faqs-section', children: _jsx(FaqSection, { groups: faqsContent?.faqItems, givenClass: 'faqs-section__content wrapper wrapper--responsive' }) })] }));
|
|
10
10
|
};
|
|
@@ -18,7 +18,7 @@ export const PricingPage: React.FC<PricingPageProps> = ({
|
|
|
18
18
|
<PricingPageStyled>
|
|
19
19
|
{pricingSection != null && <HeroSection {...pricingSection} />}
|
|
20
20
|
<div className='pricing-plans wrapper wrapper--responsive'>
|
|
21
|
-
{pricingPlanContent?.title && <
|
|
21
|
+
{pricingPlanContent?.title && <h2 className='pricing-plans__title'>{pricingPlanContent.title}</h2>}
|
|
22
22
|
<div className='pricing-plans__cards'>
|
|
23
23
|
{pricingPlanContent?.plans?.length > 0 &&
|
|
24
24
|
pricingPlanContent?.plans?.map((plan) => <PlanBoxPricingSubscriptionCard key={plan?.id} {...plan} />)}
|
|
@@ -26,7 +26,7 @@ export const PricingPage: React.FC<PricingPageProps> = ({
|
|
|
26
26
|
</div>
|
|
27
27
|
<CardBoxMinimalSection cards={helpResourcesCards} />
|
|
28
28
|
<div className='benefits wrapper wrapper--responsive'>
|
|
29
|
-
{benefitsContent?.title && <
|
|
29
|
+
{benefitsContent?.title && <h2 className='benefits__title'>{benefitsContent.title}</h2>}
|
|
30
30
|
<div className='benefits__cards'>
|
|
31
31
|
{benefitsContent?.benefitsList?.length > 0 &&
|
|
32
32
|
benefitsContent?.benefitsList?.map((benefit) => (
|