@npm_leadtech/legal-lib-components 7.0.1 → 7.0.2

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.
@@ -6,5 +6,5 @@ import { PricingPageStyled } from './PricingPage.styled';
6
6
  export const PricingPage = ({ benefitsContent, faqsContent, helpResourcesCards, pricingPlanContent, pricingSection, supportContent }) => {
7
7
  return (_jsxs(PricingPageStyled, { children: [pricingSection != null && _jsx(HeroSection, { ...pricingSection }), _jsxs("div", { className: 'pricing-plans wrapper wrapper--responsive', children: [pricingPlanContent?.title && _jsx("div", { className: 'pricing-plans__title', children: pricingPlanContent.title }), _jsx("div", { className: 'pricing-plans__cards', children: pricingPlanContent?.plans?.length > 0 &&
8
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("div", { className: 'benefits__title', children: benefitsContent.title }), _jsx("div", { className: 'benefits__cards', children: benefitsContent?.cards?.length > 0 &&
9
- benefitsContent?.cards?.map((card) => _jsx(BenefitCard, { hasShadow: false, ...card }, card?.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.cards })] }), _jsx(FaqSection, { groups: faqsContent?.groups, givenClass: 'faqs-section' })] }));
9
+ benefitsContent?.cards?.map((card) => _jsx(BenefitCard, { hasShadow: false, ...card }, card?.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.cards })] }), _jsx("div", { className: 'faqs-section', children: _jsx(FaqSection, { groups: faqsContent?.groups, givenClass: 'faqs-section__content wrapper wrapper--responsive' }) })] }));
10
10
  };
@@ -50,12 +50,6 @@ export const PricingPageStyled = styled.div `
50
50
  }
51
51
  }
52
52
 
53
- .outer {
54
- display: flex;
55
- align-items: center;
56
- justify-content: center;
57
- }
58
-
59
53
  .benefits {
60
54
  padding: 48px;
61
55
  background: var(--primary-main-light-6);
@@ -87,12 +81,8 @@ export const PricingPageStyled = styled.div `
87
81
  padding-bottom: 80px;
88
82
  padding-top: 48px;
89
83
  background: var(--neutral-neutral-6);
90
- > div {
91
- width: 100%;
92
- @media ${device.desktop} {
93
- width: auto;
94
- min-width: 1115px;
95
- }
84
+ &__content {
85
+ max-width: 1200px;
96
86
  }
97
87
  }
98
88
  `;
@@ -51,12 +51,6 @@ export const PricingPageStyled = styled.div`
51
51
  }
52
52
  }
53
53
 
54
- .outer {
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- }
59
-
60
54
  .benefits {
61
55
  padding: 48px;
62
56
  background: var(--primary-main-light-6);
@@ -88,12 +82,8 @@ export const PricingPageStyled = styled.div`
88
82
  padding-bottom: 80px;
89
83
  padding-top: 48px;
90
84
  background: var(--neutral-neutral-6);
91
- > div {
92
- width: 100%;
93
- @media ${device.desktop} {
94
- width: auto;
95
- min-width: 1115px;
96
- }
85
+ &__content {
86
+ max-width: 1200px;
97
87
  }
98
88
  }
99
89
  `
@@ -41,7 +41,9 @@ export const PricingPage: React.FC<PricingPageProps> = ({
41
41
  )}
42
42
  <CardBoxFeaturedSection cards={supportContent.cards} />
43
43
  </div>
44
- <FaqSection groups={faqsContent?.groups} givenClass='faqs-section' />
44
+ <div className='faqs-section'>
45
+ <FaqSection groups={faqsContent?.groups} givenClass='faqs-section__content wrapper wrapper--responsive' />
46
+ </div>
45
47
  </PricingPageStyled>
46
48
  )
47
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",