@npm_leadtech/legal-lib-components 7.5.4 → 7.5.6

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 (180) 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} +4 -10
  5. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.ts → BenefitRatafiaCard/BenefitRatafiaCard.styled.ts} +4 -10
  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/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  23. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +12 -0
  24. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  25. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.js → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js} +32 -14
  26. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.ts → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts} +32 -14
  27. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +61 -0
  28. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  29. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  30. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +2 -0
  31. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +1 -0
  32. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +2 -0
  33. package/dist/src/components/molecules/index.d.ts +1 -1
  34. package/dist/src/components/molecules/index.js +1 -1
  35. package/dist/src/components/molecules/index.ts +1 -1
  36. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +4 -0
  37. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +7 -0
  38. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  39. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.js → AboutUsContent/AboutUsContent.styled.js} +3 -3
  40. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.ts → AboutUsContent/AboutUsContent.styled.ts} +3 -3
  41. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
  42. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.d.ts → AboutUsContent/AboutUsContentProps.types.d.ts} +1 -1
  43. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.ts → AboutUsContent/AboutUsContentProps.types.ts} +1 -1
  44. package/dist/src/components/organisms/AboutUsContent/index.d.ts +2 -0
  45. package/dist/src/components/organisms/AboutUsContent/index.js +1 -0
  46. package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
  47. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
  48. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +81 -32
  49. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.ts +81 -32
  50. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +27 -4
  51. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +7 -1
  52. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +8 -1
  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 +2 -2
  57. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -2
  58. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -2
  59. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -2
  60. package/dist/src/components/pages/index.d.ts +0 -1
  61. package/dist/src/components/pages/index.js +0 -1
  62. package/dist/src/components/pages/index.ts +0 -1
  63. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +4 -0
  64. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +7 -0
  65. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  66. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.js → AboutUsSection/AboutUsSection.styled.js} +2 -2
  67. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.ts → AboutUsSection/AboutUsSection.styled.ts} +2 -2
  68. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
  69. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +6 -0
  70. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
  71. package/dist/src/components/sections/AboutUsSection/index.d.ts +2 -0
  72. package/dist/src/components/sections/AboutUsSection/index.js +1 -0
  73. package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
  74. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  75. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  76. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  77. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -1
  78. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +1 -1
  79. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +5 -0
  80. package/dist/src/components/sections/index.d.ts +1 -2
  81. package/dist/src/components/sections/index.js +1 -2
  82. package/dist/src/components/sections/index.ts +1 -2
  83. package/dist/tsconfig.build.tsbuildinfo +1 -1
  84. package/package.json +5 -8
  85. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +0 -3
  86. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +0 -5
  87. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +0 -24
  88. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +0 -8
  89. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +0 -1
  90. package/dist/src/components/atoms/BenefitCard/index.d.ts +0 -2
  91. package/dist/src/components/atoms/BenefitCard/index.js +0 -1
  92. package/dist/src/components/atoms/BenefitCard/index.ts +0 -2
  93. package/dist/src/components/atoms/CardBox/CardBox.d.ts +0 -3
  94. package/dist/src/components/atoms/CardBox/CardBox.js +0 -7
  95. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +0 -1
  96. package/dist/src/components/atoms/CardBox/CardBox.styled.js +0 -22
  97. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +0 -23
  98. package/dist/src/components/atoms/CardBox/CardBox.tsx +0 -23
  99. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +0 -10
  100. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +0 -10
  101. package/dist/src/components/atoms/CardBox/index.d.ts +0 -2
  102. package/dist/src/components/atoms/CardBox/index.js +0 -1
  103. package/dist/src/components/atoms/CardBox/index.ts +0 -2
  104. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +0 -6
  105. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +0 -6
  106. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +0 -29
  107. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +0 -8
  108. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +0 -3
  109. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +0 -23
  110. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +0 -6
  111. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +0 -3
  112. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +0 -1
  113. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +0 -30
  114. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +0 -31
  115. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +0 -14
  116. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +0 -4
  117. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +0 -15
  118. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +0 -38
  119. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +0 -20
  120. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +0 -22
  121. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +0 -10
  122. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +0 -11
  123. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +0 -8
  124. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +0 -4
  125. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +0 -1
  126. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +0 -29
  127. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +0 -30
  128. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +0 -20
  129. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -14
  130. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -34
  131. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +0 -1
  132. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +0 -4
  133. package/dist/src/components/molecules/SubscriptionCard/index.js +0 -2
  134. package/dist/src/components/molecules/SubscriptionCard/index.ts +0 -4
  135. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +0 -4
  136. package/dist/src/components/organisms/HeroContent/HeroContent.js +0 -7
  137. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +0 -1
  138. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +0 -23
  139. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +0 -1
  140. package/dist/src/components/organisms/HeroContent/index.d.ts +0 -2
  141. package/dist/src/components/organisms/HeroContent/index.js +0 -1
  142. package/dist/src/components/organisms/HeroContent/index.ts +0 -2
  143. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +0 -3
  144. package/dist/src/components/pages/PricingPage/PricingPage.js +0 -10
  145. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +0 -1
  146. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +0 -127
  147. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +0 -128
  148. package/dist/src/components/pages/PricingPage/PricingPage.tsx +0 -53
  149. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +0 -28
  150. package/dist/src/components/pages/PricingPage/PricingPageProps.js +0 -1
  151. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +0 -33
  152. package/dist/src/components/pages/PricingPage/index.d.ts +0 -2
  153. package/dist/src/components/pages/PricingPage/index.js +0 -2
  154. package/dist/src/components/pages/PricingPage/index.ts +0 -2
  155. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +0 -4
  156. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +0 -9
  157. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +0 -2
  158. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +0 -33
  159. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +0 -35
  160. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +0 -23
  161. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +0 -4
  162. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +0 -1
  163. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +0 -5
  164. package/dist/src/components/sections/CardBoxSection/index.d.ts +0 -2
  165. package/dist/src/components/sections/CardBoxSection/index.js +0 -1
  166. package/dist/src/components/sections/CardBoxSection/index.ts +0 -2
  167. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +0 -4
  168. package/dist/src/components/sections/HeroSection/HeroSection.js +0 -7
  169. package/dist/src/components/sections/HeroSection/HeroSection.tsx +0 -24
  170. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +0 -6
  171. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +0 -1
  172. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +0 -7
  173. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +0 -1
  174. package/dist/src/components/sections/HeroSection/index.d.ts +0 -2
  175. package/dist/src/components/sections/HeroSection/index.js +0 -1
  176. package/dist/src/components/sections/HeroSection/index.ts +0 -2
  177. /package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.js → BenefitRatafiaCard/BenefitRatafiaCardProps.types.js} +0 -0
  178. /package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.js +0 -0
  179. /package/dist/src/components/{atoms/CardBox/CardBoxProps.types.js → organisms/AboutUsContent/AboutUsContentProps.types.js} +0 -0
  180. /package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js → sections/AboutUsSection/AboutUsSectionProps.types.js} +0 -0
@@ -1,30 +0,0 @@
1
- import { device } from '../../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const RatafiaCardHeaderStyled = styled.div`
5
- display: flex;
6
- flex-flow: row wrap;
7
- align-items: center;
8
- justify-content: space-between;
9
- gap: 0.5rem var(--global-gap);
10
-
11
- @media ${device.mobile} {
12
- flex-direction: column;
13
- align-items: start;
14
- }
15
-
16
- .subscription-card {
17
- &__title {
18
- display: flex;
19
- flex-flow: row nowrap;
20
- align-items: center;
21
- gap: 0.5rem;
22
- color: var(--neutral-neutral-1);
23
- font-weight: bold;
24
- }
25
-
26
- &__price-text {
27
- font-size: 0.875rem;
28
- }
29
- }
30
- `
@@ -1,20 +0,0 @@
1
- import React from 'react'
2
-
3
- import { IconSvgURLWithThemeColor, RichTextStrapi } from '../../../atoms'
4
- import { RatafiaCardHeaderStyled } from './RatafiaCardHeader.styled'
5
-
6
- export const RatafiaCardHeader: React.FC<{ title: string; iconTitle?: { url: string }; priceText?: string }> = ({
7
- title,
8
- iconTitle,
9
- priceText
10
- }) => (
11
- <RatafiaCardHeaderStyled>
12
- {title ?? (
13
- <div className='subscription-card__title'>
14
- {iconTitle?.url && <IconSvgURLWithThemeColor url={iconTitle.url} height='26' width='26' />}
15
- <RichTextStrapi html={title} />
16
- </div>
17
- )}
18
- {priceText && <div className='subscription-card__price-text'>{priceText}</div>}
19
- </RatafiaCardHeaderStyled>
20
- )
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { CardBody } from '../CardBody';
3
- import { CardFooter } from '../CardFooter';
4
- import { RatafiaCardHeader } from './RatafiaCardHeader';
5
- import { SubscriptionCardStyled } from '../SubscriptionCard.styled';
6
- import { stringSlugify } from '../../../../utils/stringSlugify';
7
- const RatafiaSubscriptionCard = ({ buttonText, cardStyle = 'primary', features, dataQa, handleClick, iconTitle, priceText, title }) => {
8
- if (!title)
9
- return null;
10
- const finalCardClass = cardStyle ? stringSlugify(cardStyle) : 'primary';
11
- const finalButtonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
12
- return (_jsxs(SubscriptionCardStyled, { className: `subscription-card ${finalCardClass}`, children: [_jsx(RatafiaCardHeader, { title: title, iconTitle: iconTitle, priceText: priceText }), _jsx("hr", {}), _jsx(CardBody, { features: features }), _jsx(CardFooter, { buttonText: buttonText, dataQa: dataQa, onClick: handleClick, buttonStyle: finalButtonStyle })] }));
13
- };
14
- export default RatafiaSubscriptionCard;
@@ -1,34 +0,0 @@
1
- import React from 'react'
2
-
3
- import { CardBody } from '../CardBody'
4
- import { CardFooter } from '../CardFooter'
5
- import { RatafiaCardHeader } from './RatafiaCardHeader'
6
- import { RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
7
- import { SubscriptionCardStyled } from '../SubscriptionCard.styled'
8
- import { stringSlugify } from '../../../../utils/stringSlugify'
9
-
10
- const RatafiaSubscriptionCard: React.FC<RatafiaSubscriptionCardProps> = ({
11
- buttonText,
12
- cardStyle = 'primary',
13
- features,
14
- dataQa,
15
- handleClick,
16
- iconTitle,
17
- priceText,
18
- title
19
- }) => {
20
- if (!title) return null
21
-
22
- const finalCardClass = cardStyle ? stringSlugify(cardStyle) : 'primary'
23
- const finalButtonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
24
- return (
25
- <SubscriptionCardStyled className={`subscription-card ${finalCardClass}`}>
26
- <RatafiaCardHeader title={title} iconTitle={iconTitle} priceText={priceText} />
27
- <hr />
28
- <CardBody features={features} />
29
- <CardFooter buttonText={buttonText} dataQa={dataQa} onClick={handleClick} buttonStyle={finalButtonStyle} />
30
- </SubscriptionCardStyled>
31
- )
32
- }
33
-
34
- export default RatafiaSubscriptionCard
@@ -1 +0,0 @@
1
- export declare const SubscriptionCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,4 +0,0 @@
1
- export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard/RatafiaSubscriptionCard';
2
- export { type RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types';
3
- export { default as PlanBoxPricingSubscriptionCard } from './PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard';
4
- export { type PlanBoxPricingSubscriptionCardProps } from './PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types';
@@ -1,2 +0,0 @@
1
- export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard/RatafiaSubscriptionCard';
2
- export { default as PlanBoxPricingSubscriptionCard } from './PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard';
@@ -1,4 +0,0 @@
1
- export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard/RatafiaSubscriptionCard'
2
- export { type RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types'
3
- export { default as PlanBoxPricingSubscriptionCard } from './PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard'
4
- export { type PlanBoxPricingSubscriptionCardProps } from './PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type HeroContentProps } from './HeroContentPropsProps.types';
3
- declare const HeroContent: FC<HeroContentProps>;
4
- export default HeroContent;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms';
3
- import { HeroContentStyled } from './HeroContent.styled';
4
- const HeroContent = ({ children, image, button }) => {
5
- return (_jsxs(HeroContentStyled, { children: [_jsx("div", { className: 'hero-content__image', children: image }), _jsxs("div", { className: 'hero-content__body', children: [children, button != null && (_jsx("div", { className: 'hero-content__body__button', children: _jsx(Button, { ...button }) }))] })] }));
6
- };
7
- export default HeroContent;
@@ -1 +0,0 @@
1
- export declare const HeroContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,23 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { Button } from '../../atoms'
4
- import { type HeroContentProps } from './HeroContentPropsProps.types'
5
- import { HeroContentStyled } from './HeroContent.styled'
6
-
7
- const HeroContent: FC<HeroContentProps> = ({ children, image, button }) => {
8
- return (
9
- <HeroContentStyled>
10
- <div className={'hero-content__image'}>{image}</div>
11
- <div className={'hero-content__body'}>
12
- {children}
13
- {button != null && (
14
- <div className={'hero-content__body__button'}>
15
- <Button {...button} />
16
- </div>
17
- )}
18
- </div>
19
- </HeroContentStyled>
20
- )
21
- }
22
-
23
- export default HeroContent
@@ -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("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 }), _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
- };
@@ -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,127 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const PricingPageStyled = styled.div `
4
- width: 100%;
5
- .hero-section {
6
- .hero-content__image {
7
- .gatsby-image-wrapper {
8
- min-height: 360px;
9
- max-height: 360px;
10
- @media ${device['portrait-tablets']} {
11
- min-height: auto;
12
- }
13
- }
14
- }
15
- }
16
-
17
- .pricing-plans {
18
- padding-left: 1.5rem;
19
- padding-right: 1.5rem;
20
- align-items: center;
21
- display: flex;
22
- flex-flow: column nowrap;
23
- gap: 2rem;
24
- margin-bottom: 48px;
25
- &__title {
26
- color: var(--Neutral-800, var(--neutral-neutral-1));
27
- font-size: 28px;
28
- font-style: normal;
29
- font-weight: 700;
30
- line-height: 32px;
31
- letter-spacing: -0.3px;
32
- margin-top: 48px;
33
- text-align: center;
34
- }
35
-
36
- .subscription-card__feature {
37
- margin-bottom: 1rem;
38
- &.ratafia-feature {
39
- padding: 0.5rem;
40
- }
41
- }
42
-
43
- .subscription-card__button {
44
- flex: inherit;
45
- }
46
-
47
- .primary {
48
- .subscription-card__feature {
49
- &.ratafia-feature {
50
- background-color: var(--primary-main-light-5);
51
- }
52
- }
53
- }
54
- &__cards {
55
- display: flex;
56
- flex-direction: column;
57
- gap: 32px;
58
-
59
- @media ${device.desktop} {
60
- flex-direction: row;
61
- }
62
- }
63
- }
64
-
65
- .support-section {
66
- margin-top: 48px;
67
- display: flex;
68
- flex-direction: column;
69
- align-items: center;
70
- padding-left: 1.5rem;
71
- padding-right: 1.5rem;
72
- &__content {
73
- display: flex;
74
- flex-direction: column;
75
- align-items: center;
76
- text-align: center;
77
-
78
- h2 {
79
- color: var(--Neutral-800, var(--neutral-neutral-1));
80
- font-size: 28px;
81
- font-style: normal;
82
- font-weight: 700;
83
- line-height: 32px;
84
- letter-spacing: -0.3px;
85
- margin-bottom: 24px;
86
- }
87
- }
88
- }
89
-
90
- .benefits {
91
- padding: 48px;
92
- background: var(--primary-main-light-6);
93
- border-radius: 16px;
94
- margin-top: 48px;
95
- padding-left: 1.5rem;
96
- padding-right: 1.5rem;
97
- &__title {
98
- color: var(--Neutral-800, var(--neutral-neutral-1));
99
- font-size: 28px;
100
- font-style: normal;
101
- font-weight: 700;
102
- line-height: 32px;
103
- letter-spacing: -0.3px;
104
- margin-bottom: 40px;
105
- }
106
- &__cards {
107
- display: flex;
108
- gap: 16px;
109
- flex-direction: column;
110
- width: 100%;
111
-
112
- @media ${device.laptop} {
113
- flex-direction: row;
114
- }
115
- }
116
- }
117
- .faqs-section {
118
- max-width: inherit;
119
- align-items: center;
120
- padding-bottom: 80px;
121
- padding-top: 48px;
122
- background: var(--neutral-neutral-6);
123
- &__content {
124
- max-width: 1200px;
125
- }
126
- }
127
- `;
@@ -1,128 +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
- .hero-section {
7
- .hero-content__image {
8
- .gatsby-image-wrapper {
9
- min-height: 360px;
10
- max-height: 360px;
11
- @media ${device['portrait-tablets']} {
12
- min-height: auto;
13
- }
14
- }
15
- }
16
- }
17
-
18
- .pricing-plans {
19
- padding-left: 1.5rem;
20
- padding-right: 1.5rem;
21
- align-items: center;
22
- display: flex;
23
- flex-flow: column nowrap;
24
- gap: 2rem;
25
- margin-bottom: 48px;
26
- &__title {
27
- color: var(--Neutral-800, var(--neutral-neutral-1));
28
- font-size: 28px;
29
- font-style: normal;
30
- font-weight: 700;
31
- line-height: 32px;
32
- letter-spacing: -0.3px;
33
- margin-top: 48px;
34
- text-align: center;
35
- }
36
-
37
- .subscription-card__feature {
38
- margin-bottom: 1rem;
39
- &.ratafia-feature {
40
- padding: 0.5rem;
41
- }
42
- }
43
-
44
- .subscription-card__button {
45
- flex: inherit;
46
- }
47
-
48
- .primary {
49
- .subscription-card__feature {
50
- &.ratafia-feature {
51
- background-color: var(--primary-main-light-5);
52
- }
53
- }
54
- }
55
- &__cards {
56
- display: flex;
57
- flex-direction: column;
58
- gap: 32px;
59
-
60
- @media ${device.desktop} {
61
- flex-direction: row;
62
- }
63
- }
64
- }
65
-
66
- .support-section {
67
- margin-top: 48px;
68
- display: flex;
69
- flex-direction: column;
70
- align-items: center;
71
- padding-left: 1.5rem;
72
- padding-right: 1.5rem;
73
- &__content {
74
- display: flex;
75
- flex-direction: column;
76
- align-items: center;
77
- text-align: center;
78
-
79
- h2 {
80
- color: var(--Neutral-800, var(--neutral-neutral-1));
81
- font-size: 28px;
82
- font-style: normal;
83
- font-weight: 700;
84
- line-height: 32px;
85
- letter-spacing: -0.3px;
86
- margin-bottom: 24px;
87
- }
88
- }
89
- }
90
-
91
- .benefits {
92
- padding: 48px;
93
- background: var(--primary-main-light-6);
94
- border-radius: 16px;
95
- margin-top: 48px;
96
- padding-left: 1.5rem;
97
- padding-right: 1.5rem;
98
- &__title {
99
- color: var(--Neutral-800, var(--neutral-neutral-1));
100
- font-size: 28px;
101
- font-style: normal;
102
- font-weight: 700;
103
- line-height: 32px;
104
- letter-spacing: -0.3px;
105
- margin-bottom: 40px;
106
- }
107
- &__cards {
108
- display: flex;
109
- gap: 16px;
110
- flex-direction: column;
111
- width: 100%;
112
-
113
- @media ${device.laptop} {
114
- flex-direction: row;
115
- }
116
- }
117
- }
118
- .faqs-section {
119
- max-width: inherit;
120
- align-items: center;
121
- padding-bottom: 80px;
122
- padding-top: 48px;
123
- background: var(--neutral-neutral-6);
124
- &__content {
125
- max-width: 1200px;
126
- }
127
- }
128
- `
@@ -1,53 +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 && <h2 className='pricing-plans__title'>{pricingPlanContent.title}</h2>}
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='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>
37
- </div>
38
- </div>
39
- <div className='support-section'>
40
- {supportContent?.title && (
41
- <div className='support-section__content'>
42
- <h2>{supportContent.title}</h2>
43
- {supportContent.description}
44
- </div>
45
- )}
46
- <CardBoxFeaturedSection cards={supportContent?.benefitsList} />
47
- </div>
48
- <div className='faqs-section'>
49
- <FaqSection groups={faqsContent?.faqItems} givenClass='faqs-section__content wrapper wrapper--responsive' />
50
- </div>
51
- </PricingPageStyled>
52
- )
53
- }
@@ -1,28 +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
- export interface BenefitContentProps {
6
- title: string;
7
- benefitsList: BenefitCardProps[];
8
- }
9
- export interface FaqsContentProps {
10
- faqItems: FaqGroupProps[];
11
- }
12
- export interface PricingPlanContentProps {
13
- title: string;
14
- plans: PlanBoxPricingSubscriptionCardProps[];
15
- }
16
- export interface SupportContentProps {
17
- title: string;
18
- description: string;
19
- benefitsList: CardBoxProps[];
20
- }
21
- export interface PricingPageProps {
22
- benefitsContent: BenefitContentProps;
23
- faqsContent: FaqsContentProps;
24
- helpResourcesCards: CardBoxProps[];
25
- supportContent: SupportContentProps;
26
- pricingPlanContent: PricingPlanContentProps;
27
- pricingSection: HeroSectionProps;
28
- }
@@ -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
- export interface BenefitContentProps {
7
- title: string
8
- benefitsList: BenefitCardProps[]
9
- }
10
-
11
- export interface FaqsContentProps {
12
- faqItems: FaqGroupProps[]
13
- }
14
-
15
- export interface PricingPlanContentProps {
16
- title: string
17
- plans: PlanBoxPricingSubscriptionCardProps[]
18
- }
19
-
20
- export interface SupportContentProps {
21
- title: string
22
- description: string
23
- benefitsList: CardBoxProps[]
24
- }
25
-
26
- export interface PricingPageProps {
27
- benefitsContent: BenefitContentProps
28
- faqsContent: FaqsContentProps
29
- helpResourcesCards: CardBoxProps[]
30
- supportContent: SupportContentProps
31
- pricingPlanContent: PricingPlanContentProps
32
- pricingSection: HeroSectionProps
33
- }
@@ -1,2 +0,0 @@
1
- export { PricingPage } from './PricingPage';
2
- export * from './PricingPageProps';
@@ -1,2 +0,0 @@
1
- export { PricingPage } from './PricingPage';
2
- export * from './PricingPageProps';
@@ -1,2 +0,0 @@
1
- export { PricingPage } from './PricingPage'
2
- export * from './PricingPageProps'
@@ -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, id }) => _jsx(CardBox, { text: text, icon: icon }, id)) }));
6
- };
7
- export const CardBoxFeaturedSection = ({ cards }) => {
8
- return (_jsx(CardBoxFeaturedSectionStyled, { children: cards?.map(({ text, icon, id }) => (_jsx(CardBox, { text: text, icon: icon, padding: '16px', gap: '0.5rem', borderRadius: '8px' }, id))) }));
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
- `;