@npm_leadtech/legal-lib-components 7.0.15 → 7.0.16

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.
@@ -5,6 +5,6 @@ import { PlanBoxPricingSubscriptionCard } from '../../molecules';
5
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("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
- 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' }) })] }));
8
+ pricingPlanContent?.plans?.map((plan) => _jsx(PlanBoxPricingSubscriptionCard, { ...plan }, plan?.id)) })] }), _jsx(CardBoxMinimalSection, { cards: helpResourcesCards }), _jsx("div", { className: 'wrapper wrapper--responsive', children: _jsxs("div", { className: 'benefits', children: [benefitsContent?.title && _jsx("h2", { className: 'benefits__title', children: benefitsContent.title }), _jsx("div", { className: 'benefits__cards', children: benefitsContent?.benefitsList?.length > 0 &&
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
  };
@@ -3,6 +3,8 @@ import styled from 'styled-components';
3
3
  export const PricingPageStyled = styled.div `
4
4
  width: 100%;
5
5
  .pricing-plans {
6
+ padding-left: 1.5rem;
7
+ padding-right: 1.5rem;
6
8
  align-items: center;
7
9
  display: flex;
8
10
  flex-flow: column nowrap;
@@ -16,6 +18,26 @@ export const PricingPageStyled = styled.div `
16
18
  line-height: 32px;
17
19
  letter-spacing: -0.3px;
18
20
  margin-top: 48px;
21
+ text-align: center;
22
+ }
23
+
24
+ .subscription-card__feature {
25
+ margin-bottom: 1rem;
26
+ &.ratafia-feature {
27
+ padding: 0.5rem;
28
+ }
29
+ }
30
+
31
+ .subscription-card__button {
32
+ flex: inherit;
33
+ }
34
+
35
+ .primary {
36
+ .subscription-card__feature {
37
+ &.ratafia-feature {
38
+ background-color: var(--primary-main-light-5);
39
+ }
40
+ }
19
41
  }
20
42
  &__cards {
21
43
  display: flex;
@@ -33,10 +55,13 @@ export const PricingPageStyled = styled.div `
33
55
  display: flex;
34
56
  flex-direction: column;
35
57
  align-items: center;
58
+ padding-left: 1.5rem;
59
+ padding-right: 1.5rem;
36
60
  &__content {
37
61
  display: flex;
38
62
  flex-direction: column;
39
63
  align-items: center;
64
+ text-align: center;
40
65
 
41
66
  h2 {
42
67
  color: var(--Neutral-800, var(--neutral-neutral-1));
@@ -55,6 +80,8 @@ export const PricingPageStyled = styled.div `
55
80
  background: var(--primary-main-light-6);
56
81
  border-radius: 16px;
57
82
  margin-top: 48px;
83
+ padding-left: 1.5rem;
84
+ padding-right: 1.5rem;
58
85
  &__title {
59
86
  color: var(--Neutral-800, var(--neutral-neutral-1));
60
87
  font-size: 28px;
@@ -4,6 +4,8 @@ import styled from 'styled-components'
4
4
  export const PricingPageStyled = styled.div`
5
5
  width: 100%;
6
6
  .pricing-plans {
7
+ padding-left: 1.5rem;
8
+ padding-right: 1.5rem;
7
9
  align-items: center;
8
10
  display: flex;
9
11
  flex-flow: column nowrap;
@@ -17,6 +19,26 @@ export const PricingPageStyled = styled.div`
17
19
  line-height: 32px;
18
20
  letter-spacing: -0.3px;
19
21
  margin-top: 48px;
22
+ text-align: center;
23
+ }
24
+
25
+ .subscription-card__feature {
26
+ margin-bottom: 1rem;
27
+ &.ratafia-feature {
28
+ padding: 0.5rem;
29
+ }
30
+ }
31
+
32
+ .subscription-card__button {
33
+ flex: inherit;
34
+ }
35
+
36
+ .primary {
37
+ .subscription-card__feature {
38
+ &.ratafia-feature {
39
+ background-color: var(--primary-main-light-5);
40
+ }
41
+ }
20
42
  }
21
43
  &__cards {
22
44
  display: flex;
@@ -34,10 +56,13 @@ export const PricingPageStyled = styled.div`
34
56
  display: flex;
35
57
  flex-direction: column;
36
58
  align-items: center;
59
+ padding-left: 1.5rem;
60
+ padding-right: 1.5rem;
37
61
  &__content {
38
62
  display: flex;
39
63
  flex-direction: column;
40
64
  align-items: center;
65
+ text-align: center;
41
66
 
42
67
  h2 {
43
68
  color: var(--Neutral-800, var(--neutral-neutral-1));
@@ -56,6 +81,8 @@ export const PricingPageStyled = styled.div`
56
81
  background: var(--primary-main-light-6);
57
82
  border-radius: 16px;
58
83
  margin-top: 48px;
84
+ padding-left: 1.5rem;
85
+ padding-right: 1.5rem;
59
86
  &__title {
60
87
  color: var(--Neutral-800, var(--neutral-neutral-1));
61
88
  font-size: 28px;
@@ -25,13 +25,15 @@ export const PricingPage: React.FC<PricingPageProps> = ({
25
25
  </div>
26
26
  </div>
27
27
  <CardBoxMinimalSection cards={helpResourcesCards} />
28
- <div className='benefits wrapper wrapper--responsive'>
29
- {benefitsContent?.title && <h2 className='benefits__title'>{benefitsContent.title}</h2>}
30
- <div className='benefits__cards'>
31
- {benefitsContent?.benefitsList?.length > 0 &&
32
- benefitsContent?.benefitsList?.map((benefit) => (
33
- <BenefitCard hasShadow={false} key={benefit?.id} {...benefit} />
34
- ))}
28
+ <div className='wrapper wrapper--responsive'>
29
+ <div className='benefits'>
30
+ {benefitsContent?.title && <h2 className='benefits__title'>{benefitsContent.title}</h2>}
31
+ <div className='benefits__cards'>
32
+ {benefitsContent?.benefitsList?.length > 0 &&
33
+ benefitsContent?.benefitsList?.map((benefit) => (
34
+ <BenefitCard hasShadow={false} key={benefit?.id} {...benefit} />
35
+ ))}
36
+ </div>
35
37
  </div>
36
38
  </div>
37
39
  <div className='support-section'>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.0.15",
3
+ "version": "7.0.16",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",