@npm_leadtech/legal-lib-components 7.0.1 → 7.0.3

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.
Files changed (181) hide show
  1. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +4 -0
  2. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +6 -0
  3. package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts → atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts} +1 -1
  4. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.js → BenefitRatafiaCard/BenefitRatafiaCard.styled.js} +5 -11
  5. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.ts → BenefitRatafiaCard/BenefitRatafiaCard.styled.ts} +5 -11
  6. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
  7. package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.d.ts → BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts} +1 -3
  8. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
  9. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +2 -0
  10. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +1 -0
  11. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
  12. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -2
  13. package/dist/src/components/atoms/Button/ButtonProps.types.js +0 -1
  14. package/dist/src/components/atoms/Button/ButtonProps.types.ts +16 -18
  15. package/dist/src/components/atoms/index.d.ts +1 -2
  16. package/dist/src/components/atoms/index.js +1 -2
  17. package/dist/src/components/atoms/index.ts +1 -2
  18. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  19. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
  20. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
  21. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
  22. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
  23. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +11 -0
  24. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +11 -0
  25. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +18 -1
  26. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.d.ts +1 -0
  27. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +1 -0
  28. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  29. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +12 -0
  30. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  31. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.js → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js} +32 -14
  32. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.ts → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts} +32 -14
  33. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +61 -0
  34. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  35. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  36. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +2 -0
  37. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +1 -0
  38. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +2 -0
  39. package/dist/src/components/molecules/index.d.ts +1 -1
  40. package/dist/src/components/molecules/index.js +1 -1
  41. package/dist/src/components/molecules/index.ts +1 -1
  42. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +4 -0
  43. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +7 -0
  44. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  45. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.js → AboutUsContent/AboutUsContent.styled.js} +3 -3
  46. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.ts → AboutUsContent/AboutUsContent.styled.ts} +3 -3
  47. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
  48. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.d.ts → AboutUsContent/AboutUsContentProps.types.d.ts} +1 -1
  49. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.ts → AboutUsContent/AboutUsContentProps.types.ts} +1 -1
  50. package/dist/src/components/organisms/AboutUsContent/index.d.ts +2 -0
  51. package/dist/src/components/organisms/AboutUsContent/index.js +1 -0
  52. package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
  53. package/dist/src/components/organisms/index.d.ts +1 -1
  54. package/dist/src/components/organisms/index.js +1 -1
  55. package/dist/src/components/organisms/index.ts +1 -1
  56. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  57. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +5 -2
  58. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +3 -2
  59. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -2
  60. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +4 -0
  61. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +7 -0
  62. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  63. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.js → AboutUsSection/AboutUsSection.styled.js} +2 -2
  64. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.ts → AboutUsSection/AboutUsSection.styled.ts} +2 -2
  65. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
  66. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +6 -0
  67. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
  68. package/dist/src/components/sections/AboutUsSection/index.d.ts +2 -0
  69. package/dist/src/components/sections/AboutUsSection/index.js +1 -0
  70. package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
  71. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  72. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  73. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  74. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -1
  75. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +5 -3
  76. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +45 -0
  77. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +45 -0
  78. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +5 -2
  79. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.d.ts +1 -1
  80. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +1 -1
  81. package/dist/src/components/sections/index.d.ts +1 -2
  82. package/dist/src/components/sections/index.js +1 -2
  83. package/dist/src/components/sections/index.ts +1 -2
  84. package/dist/tsconfig.build.tsbuildinfo +1 -1
  85. package/package.json +4 -6
  86. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +0 -3
  87. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +0 -5
  88. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +0 -24
  89. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +0 -8
  90. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +0 -1
  91. package/dist/src/components/atoms/BenefitCard/index.d.ts +0 -2
  92. package/dist/src/components/atoms/BenefitCard/index.js +0 -1
  93. package/dist/src/components/atoms/BenefitCard/index.ts +0 -2
  94. package/dist/src/components/atoms/CardBox/CardBox.d.ts +0 -3
  95. package/dist/src/components/atoms/CardBox/CardBox.js +0 -7
  96. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +0 -1
  97. package/dist/src/components/atoms/CardBox/CardBox.styled.js +0 -22
  98. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +0 -23
  99. package/dist/src/components/atoms/CardBox/CardBox.tsx +0 -23
  100. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +0 -9
  101. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +0 -9
  102. package/dist/src/components/atoms/CardBox/index.d.ts +0 -2
  103. package/dist/src/components/atoms/CardBox/index.js +0 -1
  104. package/dist/src/components/atoms/CardBox/index.ts +0 -2
  105. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +0 -6
  106. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +0 -6
  107. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +0 -29
  108. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +0 -8
  109. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +0 -3
  110. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +0 -23
  111. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +0 -6
  112. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +0 -3
  113. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +0 -1
  114. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +0 -30
  115. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +0 -31
  116. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +0 -14
  117. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +0 -4
  118. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +0 -15
  119. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +0 -38
  120. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +0 -20
  121. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +0 -22
  122. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +0 -10
  123. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +0 -11
  124. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +0 -8
  125. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +0 -4
  126. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +0 -1
  127. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +0 -29
  128. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +0 -30
  129. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +0 -20
  130. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -14
  131. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -34
  132. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +0 -1
  133. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +0 -4
  134. package/dist/src/components/molecules/SubscriptionCard/index.js +0 -2
  135. package/dist/src/components/molecules/SubscriptionCard/index.ts +0 -4
  136. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +0 -4
  137. package/dist/src/components/organisms/HeroContent/HeroContent.js +0 -7
  138. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +0 -1
  139. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +0 -23
  140. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +0 -1
  141. package/dist/src/components/organisms/HeroContent/index.d.ts +0 -2
  142. package/dist/src/components/organisms/HeroContent/index.js +0 -1
  143. package/dist/src/components/organisms/HeroContent/index.ts +0 -2
  144. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +0 -3
  145. package/dist/src/components/pages/PricingPage/PricingPage.js +0 -10
  146. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +0 -1
  147. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +0 -98
  148. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +0 -99
  149. package/dist/src/components/pages/PricingPage/PricingPage.tsx +0 -47
  150. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +0 -29
  151. package/dist/src/components/pages/PricingPage/PricingPageProps.js +0 -1
  152. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +0 -33
  153. package/dist/src/components/pages/PricingPage/index.d.ts +0 -1
  154. package/dist/src/components/pages/PricingPage/index.js +0 -1
  155. package/dist/src/components/pages/PricingPage/index.ts +0 -1
  156. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +0 -4
  157. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +0 -9
  158. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +0 -2
  159. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +0 -33
  160. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +0 -35
  161. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +0 -23
  162. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +0 -4
  163. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +0 -1
  164. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +0 -5
  165. package/dist/src/components/sections/CardBoxSection/index.d.ts +0 -2
  166. package/dist/src/components/sections/CardBoxSection/index.js +0 -1
  167. package/dist/src/components/sections/CardBoxSection/index.ts +0 -2
  168. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +0 -4
  169. package/dist/src/components/sections/HeroSection/HeroSection.js +0 -7
  170. package/dist/src/components/sections/HeroSection/HeroSection.tsx +0 -24
  171. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +0 -6
  172. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +0 -1
  173. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +0 -7
  174. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +0 -1
  175. package/dist/src/components/sections/HeroSection/index.d.ts +0 -2
  176. package/dist/src/components/sections/HeroSection/index.js +0 -1
  177. package/dist/src/components/sections/HeroSection/index.ts +0 -2
  178. /package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.js → BenefitRatafiaCard/BenefitRatafiaCardProps.types.js} +0 -0
  179. /package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.js +0 -0
  180. /package/dist/src/components/{atoms/CardBox/CardBoxProps.types.js → organisms/AboutUsContent/AboutUsContentProps.types.js} +0 -0
  181. /package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js → sections/AboutUsSection/AboutUsSectionProps.types.js} +0 -0
@@ -1,2 +0,0 @@
1
- export { default as HeroContent } from './HeroContent';
2
- export { type HeroContentProps } from './HeroContentPropsProps.types';
@@ -1 +0,0 @@
1
- export { default as HeroContent } from './HeroContent';
@@ -1,2 +0,0 @@
1
- export { default as HeroContent } from './HeroContent'
2
- export { type HeroContentProps } from './HeroContentPropsProps.types'
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { PricingPageProps } from './PricingPageProps';
3
- export declare const PricingPage: React.FC<PricingPageProps>;
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { CardBoxFeaturedSection, CardBoxMinimalSection, FaqSection, HeroSection } from '../../sections';
3
- import { BenefitCard } from '../../atoms';
4
- import { PlanBoxPricingSubscriptionCard } from '../../molecules';
5
- import { PricingPageStyled } from './PricingPage.styled';
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("div", { 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("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' })] }));
10
- };
@@ -1 +0,0 @@
1
- export declare const PricingPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,98 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const PricingPageStyled = styled.div `
4
- width: 100%;
5
- .pricing-plans {
6
- align-items: center;
7
- display: flex;
8
- flex-flow: column nowrap;
9
- gap: 2rem;
10
- margin-bottom: 48px;
11
- &__title {
12
- color: var(--Neutral-800, var(--neutral-neutral-1));
13
- font-size: 28px;
14
- font-style: normal;
15
- font-weight: 700;
16
- line-height: 32px;
17
- letter-spacing: -0.3px;
18
- margin-top: 48px;
19
- }
20
- &__cards {
21
- display: flex;
22
- flex-direction: column;
23
- gap: 32px;
24
-
25
- @media ${device.desktop} {
26
- flex-direction: row;
27
- }
28
- }
29
- }
30
-
31
- .support-section {
32
- margin-top: 48px;
33
- display: flex;
34
- flex-direction: column;
35
- align-items: center;
36
- &__content {
37
- display: flex;
38
- flex-direction: column;
39
- align-items: center;
40
-
41
- h2 {
42
- color: var(--Neutral-800, var(--neutral-neutral-1));
43
- font-size: 28px;
44
- font-style: normal;
45
- font-weight: 700;
46
- line-height: 32px;
47
- letter-spacing: -0.3px;
48
- margin-bottom: 24px;
49
- }
50
- }
51
- }
52
-
53
- .outer {
54
- display: flex;
55
- align-items: center;
56
- justify-content: center;
57
- }
58
-
59
- .benefits {
60
- padding: 48px;
61
- background: var(--primary-main-light-6);
62
- border-radius: 16px;
63
- margin-top: 48px;
64
- &__title {
65
- color: var(--Neutral-800, var(--neutral-neutral-1));
66
- font-size: 28px;
67
- font-style: normal;
68
- font-weight: 700;
69
- line-height: 32px;
70
- letter-spacing: -0.3px;
71
- margin-bottom: 40px;
72
- }
73
- &__cards {
74
- display: flex;
75
- gap: 16px;
76
- flex-direction: column;
77
- width: 100%;
78
-
79
- @media ${device.desktop} {
80
- flex-direction: row;
81
- }
82
- }
83
- }
84
- .faqs-section {
85
- max-width: inherit;
86
- align-items: center;
87
- padding-bottom: 80px;
88
- padding-top: 48px;
89
- background: var(--neutral-neutral-6);
90
- > div {
91
- width: 100%;
92
- @media ${device.desktop} {
93
- width: auto;
94
- min-width: 1115px;
95
- }
96
- }
97
- }
98
- `;
@@ -1,99 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const PricingPageStyled = styled.div`
5
- width: 100%;
6
- .pricing-plans {
7
- align-items: center;
8
- display: flex;
9
- flex-flow: column nowrap;
10
- gap: 2rem;
11
- margin-bottom: 48px;
12
- &__title {
13
- color: var(--Neutral-800, var(--neutral-neutral-1));
14
- font-size: 28px;
15
- font-style: normal;
16
- font-weight: 700;
17
- line-height: 32px;
18
- letter-spacing: -0.3px;
19
- margin-top: 48px;
20
- }
21
- &__cards {
22
- display: flex;
23
- flex-direction: column;
24
- gap: 32px;
25
-
26
- @media ${device.desktop} {
27
- flex-direction: row;
28
- }
29
- }
30
- }
31
-
32
- .support-section {
33
- margin-top: 48px;
34
- display: flex;
35
- flex-direction: column;
36
- align-items: center;
37
- &__content {
38
- display: flex;
39
- flex-direction: column;
40
- align-items: center;
41
-
42
- h2 {
43
- color: var(--Neutral-800, var(--neutral-neutral-1));
44
- font-size: 28px;
45
- font-style: normal;
46
- font-weight: 700;
47
- line-height: 32px;
48
- letter-spacing: -0.3px;
49
- margin-bottom: 24px;
50
- }
51
- }
52
- }
53
-
54
- .outer {
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- }
59
-
60
- .benefits {
61
- padding: 48px;
62
- background: var(--primary-main-light-6);
63
- border-radius: 16px;
64
- margin-top: 48px;
65
- &__title {
66
- color: var(--Neutral-800, var(--neutral-neutral-1));
67
- font-size: 28px;
68
- font-style: normal;
69
- font-weight: 700;
70
- line-height: 32px;
71
- letter-spacing: -0.3px;
72
- margin-bottom: 40px;
73
- }
74
- &__cards {
75
- display: flex;
76
- gap: 16px;
77
- flex-direction: column;
78
- width: 100%;
79
-
80
- @media ${device.desktop} {
81
- flex-direction: row;
82
- }
83
- }
84
- }
85
- .faqs-section {
86
- max-width: inherit;
87
- align-items: center;
88
- padding-bottom: 80px;
89
- padding-top: 48px;
90
- background: var(--neutral-neutral-6);
91
- > div {
92
- width: 100%;
93
- @media ${device.desktop} {
94
- width: auto;
95
- min-width: 1115px;
96
- }
97
- }
98
- }
99
- `
@@ -1,47 +0,0 @@
1
- import React from 'react'
2
-
3
- import { CardBoxFeaturedSection, CardBoxMinimalSection, FaqSection, HeroSection } from '../../sections'
4
- import { BenefitCard } from '../../atoms'
5
- import { PlanBoxPricingSubscriptionCard } from '../../molecules'
6
- import { PricingPageProps } from './PricingPageProps'
7
- import { PricingPageStyled } from './PricingPage.styled'
8
-
9
- export const PricingPage: React.FC<PricingPageProps> = ({
10
- benefitsContent,
11
- faqsContent,
12
- helpResourcesCards,
13
- pricingPlanContent,
14
- pricingSection,
15
- supportContent
16
- }) => {
17
- return (
18
- <PricingPageStyled>
19
- {pricingSection != null && <HeroSection {...pricingSection} />}
20
- <div className='pricing-plans wrapper wrapper--responsive'>
21
- {pricingPlanContent?.title && <div className='pricing-plans__title'>{pricingPlanContent.title}</div>}
22
- <div className='pricing-plans__cards'>
23
- {pricingPlanContent?.plans?.length > 0 &&
24
- pricingPlanContent?.plans?.map((plan) => <PlanBoxPricingSubscriptionCard key={plan?.id} {...plan} />)}
25
- </div>
26
- </div>
27
- <CardBoxMinimalSection cards={helpResourcesCards} />
28
- <div className='benefits wrapper wrapper--responsive'>
29
- {benefitsContent?.title && <div className='benefits__title'>{benefitsContent.title}</div>}
30
- <div className='benefits__cards'>
31
- {benefitsContent?.cards?.length > 0 &&
32
- benefitsContent?.cards?.map((card) => <BenefitCard hasShadow={false} key={card?.id} {...card} />)}
33
- </div>
34
- </div>
35
- <div className='support-section'>
36
- {supportContent?.title && (
37
- <div className='support-section__content'>
38
- <h2>{supportContent.title}</h2>
39
- {supportContent.description}
40
- </div>
41
- )}
42
- <CardBoxFeaturedSection cards={supportContent.cards} />
43
- </div>
44
- <FaqSection groups={faqsContent?.groups} givenClass='faqs-section' />
45
- </PricingPageStyled>
46
- )
47
- }
@@ -1,29 +0,0 @@
1
- import { BenefitCardProps, CardBoxProps } from 'src/components/atoms';
2
- import { FaqGroupProps } from 'src/components/organisms';
3
- import { HeroSectionProps } from 'src/components/sections';
4
- import { PlanBoxPricingSubscriptionCardProps } from 'src/components/molecules';
5
- interface BenefitContent {
6
- title: string;
7
- cards: BenefitCardProps[];
8
- }
9
- interface FaqsContent {
10
- groups: FaqGroupProps[];
11
- }
12
- interface PricingPlanContent {
13
- title: string;
14
- plans: PlanBoxPricingSubscriptionCardProps[];
15
- }
16
- interface SupportContent {
17
- title: string;
18
- description: string;
19
- cards: CardBoxProps[];
20
- }
21
- export interface PricingPageProps {
22
- benefitsContent: BenefitContent;
23
- faqsContent: FaqsContent;
24
- helpResourcesCards: CardBoxProps[];
25
- supportContent: SupportContent;
26
- pricingPlanContent: PricingPlanContent;
27
- pricingSection: HeroSectionProps;
28
- }
29
- export {};
@@ -1,33 +0,0 @@
1
- import { BenefitCardProps, CardBoxProps } from 'src/components/atoms'
2
- import { FaqGroupProps } from 'src/components/organisms'
3
- import { HeroSectionProps } from 'src/components/sections'
4
- import { PlanBoxPricingSubscriptionCardProps } from 'src/components/molecules'
5
-
6
- interface BenefitContent {
7
- title: string
8
- cards: BenefitCardProps[]
9
- }
10
-
11
- interface FaqsContent {
12
- groups: FaqGroupProps[]
13
- }
14
-
15
- interface PricingPlanContent {
16
- title: string
17
- plans: PlanBoxPricingSubscriptionCardProps[]
18
- }
19
-
20
- interface SupportContent {
21
- title: string
22
- description: string
23
- cards: CardBoxProps[]
24
- }
25
-
26
- export interface PricingPageProps {
27
- benefitsContent: BenefitContent
28
- faqsContent: FaqsContent
29
- helpResourcesCards: CardBoxProps[]
30
- supportContent: SupportContent
31
- pricingPlanContent: PricingPlanContent
32
- pricingSection: HeroSectionProps
33
- }
@@ -1 +0,0 @@
1
- export { PricingPage } from './PricingPage';
@@ -1 +0,0 @@
1
- export { PricingPage } from './PricingPage';
@@ -1 +0,0 @@
1
- export { PricingPage } from './PricingPage'
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { type CardBoxSectionProps } from './CardBoxSectionProps';
3
- export declare const CardBoxMinimalSection: React.FC<CardBoxSectionProps>;
4
- export declare const CardBoxFeaturedSection: React.FC<CardBoxSectionProps>;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled';
3
- import { CardBox } from '../../atoms';
4
- export const CardBoxMinimalSection = ({ cards }) => {
5
- return (_jsx(CardBoxMinimalSectionStyled, { children: cards?.map(({ text, icon }, index) => _jsx(CardBox, { text: text, icon: icon }, `${index}-${text}`)) }));
6
- };
7
- export const CardBoxFeaturedSection = ({ cards }) => {
8
- return (_jsx(CardBoxFeaturedSectionStyled, { children: cards?.map(({ text, icon }, index) => (_jsx(CardBox, { text: text, icon: icon, padding: '16px', gap: '0.5rem', borderRadius: '8px' }, `${index}-${text}`))) }));
9
- };
@@ -1,2 +0,0 @@
1
- export declare const CardBoxMinimalSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const CardBoxFeaturedSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,33 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const CardBoxMinimalSectionStyled = styled.div `
4
- display: flex;
5
- flex-direction: column;
6
- justify-content: center;
7
- padding: 48px 24px;
8
- gap: 16px;
9
- align-self: stretch;
10
- background: var(--neutral-neutral-6);
11
-
12
- @media ${device['landscape-tablets']} {
13
- flex-direction: row;
14
- }
15
- `;
16
- export const CardBoxFeaturedSectionStyled = styled.div `
17
- display: flex;
18
- flex-direction: column;
19
- justify-content: center;
20
- padding: 24px 24px;
21
- gap: 16px;
22
- background: var(--neutral-neutral-6);
23
- border-radius: 16px;
24
- margin-bottom: 80px;
25
- margin-top: 32px;
26
- @media ${device.desktop} {
27
- min-width: 1200px;
28
- }
29
-
30
- @media ${device['landscape-tablets']} {
31
- flex-direction: row;
32
- }
33
- `;
@@ -1,35 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const CardBoxMinimalSectionStyled = styled.div`
5
- display: flex;
6
- flex-direction: column;
7
- justify-content: center;
8
- padding: 48px 24px;
9
- gap: 16px;
10
- align-self: stretch;
11
- background: var(--neutral-neutral-6);
12
-
13
- @media ${device['landscape-tablets']} {
14
- flex-direction: row;
15
- }
16
- `
17
-
18
- export const CardBoxFeaturedSectionStyled = styled.div`
19
- display: flex;
20
- flex-direction: column;
21
- justify-content: center;
22
- padding: 24px 24px;
23
- gap: 16px;
24
- background: var(--neutral-neutral-6);
25
- border-radius: 16px;
26
- margin-bottom: 80px;
27
- margin-top: 32px;
28
- @media ${device.desktop} {
29
- min-width: 1200px;
30
- }
31
-
32
- @media ${device['landscape-tablets']} {
33
- flex-direction: row;
34
- }
35
- `
@@ -1,23 +0,0 @@
1
- import React from 'react'
2
-
3
- import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled'
4
- import { CardBox } from '../../atoms'
5
- import { type CardBoxSectionProps } from './CardBoxSectionProps'
6
-
7
- export const CardBoxMinimalSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
8
- return (
9
- <CardBoxMinimalSectionStyled>
10
- {cards?.map(({ text, icon }, index) => <CardBox key={`${index}-${text}`} text={text} icon={icon} />)}
11
- </CardBoxMinimalSectionStyled>
12
- )
13
- }
14
-
15
- export const CardBoxFeaturedSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
16
- return (
17
- <CardBoxFeaturedSectionStyled>
18
- {cards?.map(({ text, icon }, index) => (
19
- <CardBox key={`${index}-${text}`} text={text} icon={icon} padding='16px' gap='0.5rem' borderRadius='8px' />
20
- ))}
21
- </CardBoxFeaturedSectionStyled>
22
- )
23
- }
@@ -1,4 +0,0 @@
1
- import { CardBoxProps } from 'src/components/atoms';
2
- export interface CardBoxSectionProps {
3
- cards: CardBoxProps[];
4
- }
@@ -1,5 +0,0 @@
1
- import { CardBoxProps } from 'src/components/atoms'
2
-
3
- export interface CardBoxSectionProps {
4
- cards: CardBoxProps[]
5
- }
@@ -1,2 +0,0 @@
1
- export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
2
- export { type CardBoxSectionProps } from './CardBoxSectionProps';
@@ -1 +0,0 @@
1
- export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
@@ -1,2 +0,0 @@
1
- export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection'
2
- export { type CardBoxSectionProps } from './CardBoxSectionProps'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type HeroSectionProps } from './HeroSectionProps.types';
3
- declare const HeroSection: FC<HeroSectionProps>;
4
- export default HeroSection;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { HeroContent } from '../../organisms/HeroContent';
3
- import { HeroSectionStyled } from './HeroSectionStyled.styled';
4
- const HeroSection = ({ title, subTitle, content }) => {
5
- return (_jsx(HeroSectionStyled, { className: 'hero-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'hero-section__title', children: _jsx("span", { className: 'hero-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'hero-section__sub-title', children: subTitle }), _jsx(HeroContent, { image: content.image, button: content?.button, children: content.children })] }) }));
6
- };
7
- export default HeroSection;
@@ -1,24 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { HeroContent } from '../../organisms/HeroContent'
4
- import { type HeroSectionProps } from './HeroSectionProps.types'
5
- import { HeroSectionStyled } from './HeroSectionStyled.styled'
6
-
7
- const HeroSection: FC<HeroSectionProps> = ({ title, subTitle, content }) => {
8
- return (
9
- <HeroSectionStyled className='hero-section'>
10
- <div className='wrapper wrapper--responsive'>
11
- <div className='hero-section__title'>
12
- <span className='hero-section__title__text'>{title}</span>
13
- </div>
14
- {Boolean(subTitle) && <h1 className='hero-section__sub-title'>{subTitle}</h1>}
15
-
16
- <HeroContent image={content.image} button={content?.button}>
17
- {content.children}
18
- </HeroContent>
19
- </div>
20
- </HeroSectionStyled>
21
- )
22
- }
23
-
24
- export default HeroSection
@@ -1,6 +0,0 @@
1
- import { type HeroContentProps } from '../../organisms/HeroContent';
2
- export interface HeroSectionProps {
3
- title: string;
4
- subTitle?: string;
5
- content: HeroContentProps;
6
- }
@@ -1,7 +0,0 @@
1
- import { type HeroContentProps } from '../../organisms/HeroContent'
2
-
3
- export interface HeroSectionProps {
4
- title: string
5
- subTitle?: string
6
- content: HeroContentProps
7
- }
@@ -1 +0,0 @@
1
- export declare const HeroSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,2 +0,0 @@
1
- export { default as HeroSection } from './HeroSection';
2
- export { type HeroSectionProps } from './HeroSectionProps.types';
@@ -1 +0,0 @@
1
- export { default as HeroSection } from './HeroSection';
@@ -1,2 +0,0 @@
1
- export { default as HeroSection } from './HeroSection'
2
- export { type HeroSectionProps } from './HeroSectionProps.types'