@npm_leadtech/legal-lib-components 7.5.1 → 7.5.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.
Files changed (189) hide show
  1. package/dist/css/styles.css +0 -38
  2. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +4 -0
  3. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +6 -0
  4. package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts → atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts} +1 -1
  5. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.js → BenefitRatafiaCard/BenefitRatafiaCard.styled.js} +4 -10
  6. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.ts → BenefitRatafiaCard/BenefitRatafiaCard.styled.ts} +4 -10
  7. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
  8. package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.d.ts → BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts} +1 -3
  9. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
  10. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +2 -0
  11. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +1 -0
  12. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
  13. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -2
  14. package/dist/src/components/atoms/Button/ButtonProps.types.js +0 -1
  15. package/dist/src/components/atoms/Button/ButtonProps.types.ts +16 -18
  16. package/dist/src/components/atoms/CardPane/CardPaneInfo.js +2 -2
  17. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -2
  18. package/dist/src/components/atoms/CardPane/CardPaneProps.types.d.ts +1 -0
  19. package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +1 -0
  20. package/dist/src/components/atoms/index.d.ts +1 -2
  21. package/dist/src/components/atoms/index.js +1 -2
  22. package/dist/src/components/atoms/index.ts +1 -2
  23. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  24. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
  25. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
  26. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
  27. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  28. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +12 -0
  29. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  30. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.js → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js} +32 -14
  31. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.ts → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts} +32 -14
  32. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +61 -0
  33. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  34. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  35. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +2 -0
  36. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +1 -0
  37. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +2 -0
  38. package/dist/src/components/molecules/TextInput/Input.d.ts +0 -2
  39. package/dist/src/components/molecules/TextInput/Input.js +3 -23
  40. package/dist/src/components/molecules/TextInput/Input.tsx +2 -41
  41. package/dist/src/components/molecules/TextInput/TextInput.js +9 -5
  42. package/dist/src/components/molecules/TextInput/TextInput.scss +0 -44
  43. package/dist/src/components/molecules/TextInput/TextInput.tsx +5 -7
  44. package/dist/src/components/molecules/TextInput/TextInputProps.types.d.ts +0 -2
  45. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +0 -2
  46. package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +0 -33
  47. package/dist/src/components/molecules/index.d.ts +1 -1
  48. package/dist/src/components/molecules/index.js +1 -1
  49. package/dist/src/components/molecules/index.ts +1 -1
  50. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +4 -0
  51. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +7 -0
  52. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  53. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.js → AboutUsContent/AboutUsContent.styled.js} +3 -3
  54. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.ts → AboutUsContent/AboutUsContent.styled.ts} +3 -3
  55. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
  56. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.d.ts → AboutUsContent/AboutUsContentProps.types.d.ts} +1 -1
  57. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.ts → AboutUsContent/AboutUsContentProps.types.ts} +1 -1
  58. package/dist/src/components/organisms/AboutUsContent/index.d.ts +2 -0
  59. package/dist/src/components/organisms/AboutUsContent/index.js +1 -0
  60. package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
  61. package/dist/src/components/organisms/index.d.ts +1 -1
  62. package/dist/src/components/organisms/index.js +1 -1
  63. package/dist/src/components/organisms/index.ts +1 -1
  64. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +2 -2
  65. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -2
  66. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -2
  67. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -2
  68. package/dist/src/components/pages/index.d.ts +0 -1
  69. package/dist/src/components/pages/index.js +0 -1
  70. package/dist/src/components/pages/index.ts +0 -1
  71. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +4 -0
  72. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +7 -0
  73. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  74. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.js → AboutUsSection/AboutUsSection.styled.js} +2 -2
  75. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.ts → AboutUsSection/AboutUsSection.styled.ts} +2 -2
  76. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
  77. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +6 -0
  78. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
  79. package/dist/src/components/sections/AboutUsSection/index.d.ts +2 -0
  80. package/dist/src/components/sections/AboutUsSection/index.js +1 -0
  81. package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
  82. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  83. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  84. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  85. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -1
  86. package/dist/src/components/sections/index.d.ts +1 -2
  87. package/dist/src/components/sections/index.js +1 -2
  88. package/dist/src/components/sections/index.ts +1 -2
  89. package/dist/tsconfig.build.tsbuildinfo +1 -1
  90. package/package.json +5 -8
  91. package/dist/images/svg/currencyDE.svg +0 -3
  92. package/dist/images/svg/currencyUS.svg +0 -3
  93. package/dist/images/svg/percent.svg +0 -3
  94. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +0 -3
  95. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +0 -5
  96. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +0 -24
  97. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +0 -8
  98. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +0 -1
  99. package/dist/src/components/atoms/BenefitCard/index.d.ts +0 -2
  100. package/dist/src/components/atoms/BenefitCard/index.js +0 -1
  101. package/dist/src/components/atoms/BenefitCard/index.ts +0 -2
  102. package/dist/src/components/atoms/CardBox/CardBox.d.ts +0 -3
  103. package/dist/src/components/atoms/CardBox/CardBox.js +0 -7
  104. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +0 -1
  105. package/dist/src/components/atoms/CardBox/CardBox.styled.js +0 -22
  106. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +0 -23
  107. package/dist/src/components/atoms/CardBox/CardBox.tsx +0 -23
  108. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +0 -10
  109. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +0 -10
  110. package/dist/src/components/atoms/CardBox/index.d.ts +0 -2
  111. package/dist/src/components/atoms/CardBox/index.js +0 -1
  112. package/dist/src/components/atoms/CardBox/index.ts +0 -2
  113. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +0 -6
  114. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +0 -6
  115. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +0 -29
  116. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +0 -8
  117. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +0 -3
  118. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +0 -23
  119. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +0 -6
  120. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +0 -3
  121. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +0 -1
  122. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +0 -30
  123. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +0 -31
  124. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +0 -14
  125. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +0 -4
  126. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +0 -15
  127. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +0 -38
  128. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +0 -20
  129. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +0 -22
  130. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +0 -10
  131. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +0 -11
  132. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +0 -8
  133. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +0 -4
  134. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +0 -1
  135. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +0 -29
  136. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +0 -30
  137. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +0 -20
  138. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -14
  139. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -34
  140. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +0 -1
  141. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +0 -4
  142. package/dist/src/components/molecules/SubscriptionCard/index.js +0 -2
  143. package/dist/src/components/molecules/SubscriptionCard/index.ts +0 -4
  144. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +0 -4
  145. package/dist/src/components/organisms/HeroContent/HeroContent.js +0 -7
  146. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +0 -1
  147. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +0 -23
  148. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +0 -1
  149. package/dist/src/components/organisms/HeroContent/index.d.ts +0 -2
  150. package/dist/src/components/organisms/HeroContent/index.js +0 -1
  151. package/dist/src/components/organisms/HeroContent/index.ts +0 -2
  152. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +0 -3
  153. package/dist/src/components/pages/PricingPage/PricingPage.js +0 -10
  154. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +0 -1
  155. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +0 -115
  156. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +0 -116
  157. package/dist/src/components/pages/PricingPage/PricingPage.tsx +0 -53
  158. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +0 -28
  159. package/dist/src/components/pages/PricingPage/PricingPageProps.js +0 -1
  160. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +0 -33
  161. package/dist/src/components/pages/PricingPage/index.d.ts +0 -2
  162. package/dist/src/components/pages/PricingPage/index.js +0 -2
  163. package/dist/src/components/pages/PricingPage/index.ts +0 -2
  164. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +0 -4
  165. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +0 -9
  166. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +0 -2
  167. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +0 -33
  168. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +0 -35
  169. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +0 -23
  170. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +0 -4
  171. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +0 -1
  172. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +0 -5
  173. package/dist/src/components/sections/CardBoxSection/index.d.ts +0 -2
  174. package/dist/src/components/sections/CardBoxSection/index.js +0 -1
  175. package/dist/src/components/sections/CardBoxSection/index.ts +0 -2
  176. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +0 -4
  177. package/dist/src/components/sections/HeroSection/HeroSection.js +0 -7
  178. package/dist/src/components/sections/HeroSection/HeroSection.tsx +0 -24
  179. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +0 -6
  180. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +0 -1
  181. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +0 -7
  182. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +0 -1
  183. package/dist/src/components/sections/HeroSection/index.d.ts +0 -2
  184. package/dist/src/components/sections/HeroSection/index.js +0 -1
  185. package/dist/src/components/sections/HeroSection/index.ts +0 -2
  186. /package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.js → BenefitRatafiaCard/BenefitRatafiaCardProps.types.js} +0 -0
  187. /package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.js +0 -0
  188. /package/dist/src/components/{atoms/CardBox/CardBoxProps.types.js → organisms/AboutUsContent/AboutUsContentProps.types.js} +0 -0
  189. /package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js → sections/AboutUsSection/AboutUsSectionProps.types.js} +0 -0
@@ -2154,23 +2154,6 @@ h2.react-datepicker__current-month {
2154
2154
  outline: none;
2155
2155
  background-color: var(--neutral-neutral-6);
2156
2156
  }
2157
- .e-text--has-prefix {
2158
- width: 100%;
2159
- }
2160
- @media (min-width: 575px) {
2161
- .e-text--has-prefix {
2162
- width: 50%;
2163
- }
2164
- }
2165
- .e-text--has-prefix .has-currency-prefix {
2166
- padding-left: 2rem;
2167
- }
2168
- .e-text--has-prefix .has-currency-suffix {
2169
- padding-right: 2rem;
2170
- }
2171
- .e-text--has-prefix .has-percent-suffix {
2172
- padding-left: 0.75rem;
2173
- }
2174
2157
  .e-text .input-icon {
2175
2158
  position: absolute;
2176
2159
  transform: translate(-15%, -65%);
@@ -2185,27 +2168,6 @@ h2.react-datepicker__current-month {
2185
2168
  background: none;
2186
2169
  border: none;
2187
2170
  }
2188
- .e-text .input-icon-currency-suffix {
2189
- position: absolute;
2190
- right: 10px;
2191
- bottom: 10px;
2192
- background: none;
2193
- border: none;
2194
- }
2195
- .e-text .input-icon-currency-prefix {
2196
- position: absolute;
2197
- left: 10px;
2198
- bottom: 10px;
2199
- background: none;
2200
- border: none;
2201
- }
2202
- .e-text .input-icon-percent-suffix {
2203
- position: absolute;
2204
- right: 10px;
2205
- bottom: 10px;
2206
- background: none;
2207
- border: none;
2208
- }
2209
2171
  .e-text .formgroup--input__button {
2210
2172
  align-self: flex-start;
2211
2173
  font-size: 0.75rem;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type BenefitRatafiaCardProps } from './BenefitRatafiaCardProps.types';
3
+ export declare const BenefitRatafiaCard: React.FC<BenefitRatafiaCardProps>;
4
+ export default BenefitRatafiaCard;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BenefitRatafiaCardStyled } from './BenefitRatafiaCard.styled';
3
+ export const BenefitRatafiaCard = ({ title, image, description }) => {
4
+ return (_jsxs(BenefitRatafiaCardStyled, { className: 'benefit-ratafia-card', children: [image !== null && _jsx("div", { className: 'benefit-ratafia-card__icon', children: image }), _jsxs("div", { className: 'benefit-ratafia-card__content', children: [_jsx("p", { className: 'sans-serif --big --bold-weight benefit-ratafia-card__content__title', children: title }), _jsx("p", { className: 'sans-serif --medium benefit-ratafia-card__content__description', children: description })] })] }));
5
+ };
6
+ export default BenefitRatafiaCard;
@@ -1 +1 @@
1
- export declare const PlanBoxPricingTextStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const BenefitRatafiaCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,6 +1,6 @@
1
1
  import { device } from '../../../globalStyles/breakpoints';
2
2
  import styled from 'styled-components';
3
- export const BenefitCardStyled = styled.div `
3
+ export const BenefitRatafiaCardStyled = styled.div `
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  align-items: flex-start;
@@ -12,10 +12,7 @@ export const BenefitCardStyled = styled.div `
12
12
 
13
13
  border-radius: var(--s-border-radius);
14
14
  background: rgba(255, 255, 255, 0.8);
15
-
16
- &.has-shadow {
17
- box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
18
- }
15
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
19
16
 
20
17
  @media ${device['landscape-tablets']} {
21
18
  flex-direction: row;
@@ -24,7 +21,7 @@ export const BenefitCardStyled = styled.div `
24
21
  flex-direction: column;
25
22
  }
26
23
 
27
- .benefit-card {
24
+ .benefit-ratafia-card {
28
25
  &__icon {
29
26
  display: flex;
30
27
  align-items: flex-start;
@@ -33,10 +30,7 @@ export const BenefitCardStyled = styled.div `
33
30
 
34
31
  border-radius: var(--s-border-radius);
35
32
  background: rgba(255, 255, 255, 0.8);
36
-
37
- &.has-shadow {
38
- box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
39
- }
33
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
40
34
 
41
35
  img {
42
36
  min-width: 32px;
@@ -1,7 +1,7 @@
1
1
  import { device } from '../../../globalStyles/breakpoints'
2
2
  import styled from 'styled-components'
3
3
 
4
- export const BenefitCardStyled = styled.div`
4
+ export const BenefitRatafiaCardStyled = styled.div`
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  align-items: flex-start;
@@ -13,10 +13,7 @@ export const BenefitCardStyled = styled.div`
13
13
 
14
14
  border-radius: var(--s-border-radius);
15
15
  background: rgba(255, 255, 255, 0.8);
16
-
17
- &.has-shadow {
18
- box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
19
- }
16
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
20
17
 
21
18
  @media ${device['landscape-tablets']} {
22
19
  flex-direction: row;
@@ -25,7 +22,7 @@ export const BenefitCardStyled = styled.div`
25
22
  flex-direction: column;
26
23
  }
27
24
 
28
- .benefit-card {
25
+ .benefit-ratafia-card {
29
26
  &__icon {
30
27
  display: flex;
31
28
  align-items: flex-start;
@@ -34,10 +31,7 @@ export const BenefitCardStyled = styled.div`
34
31
 
35
32
  border-radius: var(--s-border-radius);
36
33
  background: rgba(255, 255, 255, 0.8);
37
-
38
- &.has-shadow {
39
- box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
40
- }
34
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
41
35
 
42
36
  img {
43
37
  min-width: 32px;
@@ -0,0 +1,18 @@
1
+ import React from 'react'
2
+
3
+ import { type BenefitRatafiaCardProps } from './BenefitRatafiaCardProps.types'
4
+ import { BenefitRatafiaCardStyled } from './BenefitRatafiaCard.styled'
5
+
6
+ export const BenefitRatafiaCard: React.FC<BenefitRatafiaCardProps> = ({ title, image, description }) => {
7
+ return (
8
+ <BenefitRatafiaCardStyled className='benefit-ratafia-card'>
9
+ {image !== null && <div className='benefit-ratafia-card__icon'>{image}</div>}
10
+ <div className='benefit-ratafia-card__content'>
11
+ <p className='sans-serif --big --bold-weight benefit-ratafia-card__content__title'>{title}</p>
12
+ <p className='sans-serif --medium benefit-ratafia-card__content__description'>{description}</p>
13
+ </div>
14
+ </BenefitRatafiaCardStyled>
15
+ )
16
+ }
17
+
18
+ export default BenefitRatafiaCard
@@ -1,8 +1,6 @@
1
- export interface BenefitCardProps {
1
+ export interface BenefitRatafiaCardProps {
2
2
  id: string;
3
3
  title: string;
4
4
  image?: React.ReactNode;
5
5
  description: string;
6
- hasShadow?: boolean;
7
- hasBigFontSize?: boolean;
8
6
  }
@@ -0,0 +1,6 @@
1
+ export interface BenefitRatafiaCardProps {
2
+ id: string
3
+ title: string
4
+ image?: React.ReactNode
5
+ description: string
6
+ }
@@ -0,0 +1,2 @@
1
+ export { default as BenefitRatafiaCard } from './BenefitRatafiaCard';
2
+ export { type BenefitRatafiaCardProps } from './BenefitRatafiaCardProps.types';
@@ -0,0 +1 @@
1
+ export { default as BenefitRatafiaCard } from './BenefitRatafiaCard';
@@ -0,0 +1,2 @@
1
+ export { default as BenefitRatafiaCard } from './BenefitRatafiaCard'
2
+ export { type BenefitRatafiaCardProps } from './BenefitRatafiaCardProps.types'
@@ -1,4 +1,3 @@
1
- export type Colors = 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'tertiary2' | 'styleless' | 'transparent';
2
1
  export interface ButtonProps {
3
2
  label: string;
4
3
  dataQa: string;
@@ -9,7 +8,7 @@ export interface ButtonProps {
9
8
  noLinkNoFunc?: boolean;
10
9
  onClick?: (functionParameters?: any) => void;
11
10
  functionParameters?: any;
12
- color?: Colors;
11
+ color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'tertiary2' | 'styleless' | 'transparent';
13
12
  error?: boolean;
14
13
  disabled?: boolean;
15
14
  fluid?: boolean;
@@ -1,2 +1 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export {};
@@ -1,21 +1,4 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
-
3
- export type Colors =
4
- | 'primary'
5
- | 'primary2'
6
- | 'primary3'
7
- | 'primary4'
8
- | 'secondary'
9
- | 'secondary2'
10
- | 'secondary3'
11
- | 'secondary4'
12
- | 'secondaryIcon'
13
- | 'secondaryIconBold'
14
- | 'secondaryIconDark'
15
- | 'tertiary'
16
- | 'tertiary2'
17
- | 'styleless'
18
- | 'transparent'
19
2
  export interface ButtonProps {
20
3
  label: string
21
4
  dataQa: string
@@ -26,7 +9,22 @@ export interface ButtonProps {
26
9
  noLinkNoFunc?: boolean
27
10
  onClick?: (functionParameters?: any) => void
28
11
  functionParameters?: any
29
- color?: Colors
12
+ color?:
13
+ | 'primary'
14
+ | 'primary2'
15
+ | 'primary3'
16
+ | 'primary4'
17
+ | 'secondary'
18
+ | 'secondary2'
19
+ | 'secondary3'
20
+ | 'secondary4'
21
+ | 'secondaryIcon'
22
+ | 'secondaryIconBold'
23
+ | 'secondaryIconDark'
24
+ | 'tertiary'
25
+ | 'tertiary2'
26
+ | 'styleless'
27
+ | 'transparent'
30
28
  error?: boolean
31
29
  disabled?: boolean
32
30
  fluid?: boolean
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- const CardPaneInfo = ({ description, subdescription, id, title, handleClick }) => {
3
- const paneTitle = (_jsx(_Fragment, { children: handleClick ? (_jsx("button", { onClick: handleClick, className: 'pane--title pane--title--button', children: title })) : (_jsx("div", { className: 'pane--title', children: title })) }));
2
+ const CardPaneInfo = ({ dataQA, description, subdescription, id, title, handleClick }) => {
3
+ const paneTitle = (_jsx(_Fragment, { children: handleClick ? (_jsx("button", { onClick: handleClick, "data-qa": dataQA, className: 'pane--title pane--title--button', children: title })) : (_jsx("div", { className: 'pane--title', children: title })) }));
4
4
  if (description === 'Active' || description === 'Inactive') {
5
5
  let descriptionClass;
6
6
  if (description === 'Active') {
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { type CardPaneInfoProps } from './CardPaneProps.types'
4
4
 
5
- const CardPaneInfo: FC<CardPaneInfoProps> = ({ description, subdescription, id, title, handleClick }) => {
5
+ const CardPaneInfo: FC<CardPaneInfoProps> = ({ dataQA, description, subdescription, id, title, handleClick }) => {
6
6
  const paneTitle = (
7
7
  <>
8
8
  {handleClick ? (
9
- <button onClick={handleClick} className='pane--title pane--title--button'>
9
+ <button onClick={handleClick} data-qa={dataQA} className='pane--title pane--title--button'>
10
10
  {title}
11
11
  </button>
12
12
  ) : (
@@ -6,5 +6,6 @@ export interface CardPaneInfoProps {
6
6
  id: string;
7
7
  title: string;
8
8
  subdescription?: string;
9
+ dataQA?: string;
9
10
  handleClick?: () => void;
10
11
  }
@@ -7,5 +7,6 @@ export interface CardPaneInfoProps {
7
7
  id: string
8
8
  title: string
9
9
  subdescription?: string
10
+ dataQA?: string
10
11
  handleClick?: () => void
11
12
  }
@@ -1,13 +1,12 @@
1
1
  export * from './ActionButtonHeaderRatafiaCard';
2
2
  export * from './AddButton';
3
3
  export * from './BaseBox';
4
- export * from './BenefitCard';
4
+ export * from './BenefitRatafiaCard';
5
5
  export * from './BillCard';
6
6
  export * from './BottomOverlayMenu';
7
7
  export * from './BreadcrumItem';
8
8
  export * from './Button';
9
9
  export * from './ButtonIcon';
10
- export * from './CardBox';
11
10
  export * from './CardPane';
12
11
  export * from './Checkbox';
13
12
  export * from './ContactCard';
@@ -1,13 +1,12 @@
1
1
  export * from './ActionButtonHeaderRatafiaCard';
2
2
  export * from './AddButton';
3
3
  export * from './BaseBox';
4
- export * from './BenefitCard';
4
+ export * from './BenefitRatafiaCard';
5
5
  export * from './BillCard';
6
6
  export * from './BottomOverlayMenu';
7
7
  export * from './BreadcrumItem';
8
8
  export * from './Button';
9
9
  export * from './ButtonIcon';
10
- export * from './CardBox';
11
10
  export * from './CardPane';
12
11
  export * from './Checkbox';
13
12
  export * from './ContactCard';
@@ -1,13 +1,12 @@
1
1
  export * from './ActionButtonHeaderRatafiaCard'
2
2
  export * from './AddButton'
3
3
  export * from './BaseBox'
4
- export * from './BenefitCard'
4
+ export * from './BenefitRatafiaCard'
5
5
  export * from './BillCard'
6
6
  export * from './BottomOverlayMenu'
7
7
  export * from './BreadcrumItem'
8
8
  export * from './Button'
9
9
  export * from './ButtonIcon'
10
- export * from './CardBox'
11
10
  export * from './CardPane'
12
11
  export * from './Checkbox'
13
12
  export * from './ContactCard'
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { BenefitCard } from '../../atoms';
2
+ import { BenefitRatafiaCard } from '../../atoms';
3
3
  import { BenefitRatafiaCardListStyled } from './BenefitRatafiaCardList.styled';
4
4
  const BenefitRatafiaCardList = ({ benefits = [] }) => {
5
5
  if (benefits.length === 0)
6
6
  return null;
7
- return (_jsx(BenefitRatafiaCardListStyled, { className: 'benefit-ratafia-card-list', children: benefits.map((benefit) => (_jsx(BenefitCard, { ...benefit }, benefit.id))) }));
7
+ return (_jsx(BenefitRatafiaCardListStyled, { className: 'benefit-ratafia-card-list', children: benefits.map((benefit) => (_jsx(BenefitRatafiaCard, { ...benefit }, benefit.id))) }));
8
8
  };
9
9
  export default BenefitRatafiaCardList;
@@ -1,6 +1,6 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
- import { BenefitCard } from '../../atoms'
3
+ import { BenefitRatafiaCard } from '../../atoms'
4
4
  import { type BenefitRatafiaCardListProps } from './BenefitRatafiaCardListProps.types'
5
5
  import { BenefitRatafiaCardListStyled } from './BenefitRatafiaCardList.styled'
6
6
 
@@ -10,7 +10,7 @@ const BenefitRatafiaCardList: FC<BenefitRatafiaCardListProps> = ({ benefits = []
10
10
  return (
11
11
  <BenefitRatafiaCardListStyled className='benefit-ratafia-card-list'>
12
12
  {benefits.map((benefit) => (
13
- <BenefitCard key={benefit.id} {...benefit} />
13
+ <BenefitRatafiaCard key={benefit.id} {...benefit} />
14
14
  ))}
15
15
  </BenefitRatafiaCardListStyled>
16
16
  )
@@ -1,4 +1,4 @@
1
- import { type BenefitCardProps } from '../../atoms';
1
+ import { type BenefitRatafiaCardProps } from '../../atoms';
2
2
  export interface BenefitRatafiaCardListProps {
3
- benefits: BenefitCardProps[];
3
+ benefits: BenefitRatafiaCardProps[];
4
4
  }
@@ -1,5 +1,5 @@
1
- import { type BenefitCardProps } from '../../atoms'
1
+ import { type BenefitRatafiaCardProps } from '../../atoms'
2
2
 
3
3
  export interface BenefitRatafiaCardListProps {
4
- benefits: BenefitCardProps[]
4
+ benefits: BenefitRatafiaCardProps[]
5
5
  }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { FC } from 'react';
2
2
  import { RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types';
3
- declare const RatafiaSubscriptionCard: React.FC<RatafiaSubscriptionCardProps>;
3
+ declare const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps>;
4
4
  export default RatafiaSubscriptionCard;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms';
3
+ import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled';
4
+ import { stringSlugify } from '../../../utils/stringSlugify';
5
+ const RatafiaSubscriptionCard = ({ cardStyle = 'primary', iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, dataQa, handleClick }) => {
6
+ if (!title)
7
+ return null;
8
+ const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
9
+ const renderFeatures = (features, className) => features.map((feature) => (_jsxs("div", { className: `ratafia-card__feature ${className ?? ''}`, children: [feature.image?.url && _jsx(IconSvgURLWithThemeColor, { url: feature.image.url, height: '16', width: '16' }), _jsx(RichTextStrapi, { html: feature.title })] }, feature.title)));
10
+ return (_jsxs(RatafiaSubscriptionCardStyled, { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ratafia-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa: `${dataQa ?? 'ratafia-card-button'}`, givenClass: 'ratafia-card__button', color: buttonStyle, label: buttonText, noLink: true, onClick: handleClick }) }))] }));
11
+ };
12
+ export default RatafiaSubscriptionCard;
@@ -0,0 +1 @@
1
+ export declare const RatafiaSubscriptionCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,11 +1,11 @@
1
1
  import { device } from '../../../globalStyles/breakpoints';
2
2
  import styled from 'styled-components';
3
- export const SubscriptionCardStyled = styled.div `
3
+ export const RatafiaSubscriptionCardStyled = styled.div `
4
4
  display: flex;
5
5
  flex-flow: column nowrap;
6
6
  flex: 1;
7
7
  gap: 0.5rem;
8
- min-width: 379px;
8
+ min-width: 350px;
9
9
  padding: 1rem;
10
10
  border-radius: var(--s-border-radius);
11
11
 
@@ -26,7 +26,7 @@ export const SubscriptionCardStyled = styled.div `
26
26
  background-color: var(--primary-main-light-1);
27
27
  }
28
28
 
29
- .subscription-card__feature {
29
+ .ratafia-card__feature {
30
30
  &.ratafia-feature {
31
31
  background-color: var(--primary-main-light-6);
32
32
  }
@@ -40,18 +40,44 @@ export const SubscriptionCardStyled = styled.div `
40
40
  background-color: var(--secondary-main-dark-2);
41
41
  }
42
42
 
43
- .subscription-card__feature {
43
+ .ratafia-card__feature {
44
44
  &.ratafia-feature {
45
45
  background-color: var(--secondary-main-light-3);
46
46
  }
47
47
  }
48
48
 
49
- .subscription-card__button {
49
+ .ratafia-card__button {
50
50
  color: var(--others-black);
51
51
  }
52
52
  }
53
53
 
54
- .subscription-card {
54
+ .ratafia-card {
55
+ &__header {
56
+ display: flex;
57
+ flex-flow: row wrap;
58
+ align-items: center;
59
+ justify-content: space-between;
60
+ gap: 0.5rem var(--global-gap);
61
+
62
+ @media ${device.mobile} {
63
+ flex-direction: column;
64
+ align-items: start;
65
+ }
66
+ }
67
+
68
+ &__title {
69
+ display: flex;
70
+ flex-flow: row nowrap;
71
+ align-items: center;
72
+ gap: 0.5rem;
73
+ color: var(--neutral-neutral-1);
74
+ font-weight: bold;
75
+ }
76
+
77
+ &__price-text {
78
+ font-size: 0.875rem;
79
+ }
80
+
55
81
  &__body {
56
82
  display: flex;
57
83
  flex-flow: column;
@@ -67,18 +93,10 @@ export const SubscriptionCardStyled = styled.div `
67
93
  font-size: 0.875rem;
68
94
  text-align: left;
69
95
  padding: 0.25rem 0;
70
- border-radius: 4px;
71
-
72
- &.has-padding {
73
- padding-left: 0.5rem;
74
- }
75
96
 
76
97
  .icon-svg-with-theme-color {
77
98
  flex-basis: 1rem;
78
99
  margin-top: 0.2rem;
79
- display: inline-block;
80
- object-fit: contain;
81
- flex-shrink: 0;
82
100
  }
83
101
 
84
102
  &.ratafia-feature {
@@ -1,12 +1,12 @@
1
1
  import { device } from '../../../globalStyles/breakpoints'
2
2
  import styled from 'styled-components'
3
3
 
4
- export const SubscriptionCardStyled = styled.div`
4
+ export const RatafiaSubscriptionCardStyled = styled.div`
5
5
  display: flex;
6
6
  flex-flow: column nowrap;
7
7
  flex: 1;
8
8
  gap: 0.5rem;
9
- min-width: 379px;
9
+ min-width: 350px;
10
10
  padding: 1rem;
11
11
  border-radius: var(--s-border-radius);
12
12
 
@@ -27,7 +27,7 @@ export const SubscriptionCardStyled = styled.div`
27
27
  background-color: var(--primary-main-light-1);
28
28
  }
29
29
 
30
- .subscription-card__feature {
30
+ .ratafia-card__feature {
31
31
  &.ratafia-feature {
32
32
  background-color: var(--primary-main-light-6);
33
33
  }
@@ -41,18 +41,44 @@ export const SubscriptionCardStyled = styled.div`
41
41
  background-color: var(--secondary-main-dark-2);
42
42
  }
43
43
 
44
- .subscription-card__feature {
44
+ .ratafia-card__feature {
45
45
  &.ratafia-feature {
46
46
  background-color: var(--secondary-main-light-3);
47
47
  }
48
48
  }
49
49
 
50
- .subscription-card__button {
50
+ .ratafia-card__button {
51
51
  color: var(--others-black);
52
52
  }
53
53
  }
54
54
 
55
- .subscription-card {
55
+ .ratafia-card {
56
+ &__header {
57
+ display: flex;
58
+ flex-flow: row wrap;
59
+ align-items: center;
60
+ justify-content: space-between;
61
+ gap: 0.5rem var(--global-gap);
62
+
63
+ @media ${device.mobile} {
64
+ flex-direction: column;
65
+ align-items: start;
66
+ }
67
+ }
68
+
69
+ &__title {
70
+ display: flex;
71
+ flex-flow: row nowrap;
72
+ align-items: center;
73
+ gap: 0.5rem;
74
+ color: var(--neutral-neutral-1);
75
+ font-weight: bold;
76
+ }
77
+
78
+ &__price-text {
79
+ font-size: 0.875rem;
80
+ }
81
+
56
82
  &__body {
57
83
  display: flex;
58
84
  flex-flow: column;
@@ -68,18 +94,10 @@ export const SubscriptionCardStyled = styled.div`
68
94
  font-size: 0.875rem;
69
95
  text-align: left;
70
96
  padding: 0.25rem 0;
71
- border-radius: 4px;
72
-
73
- &.has-padding {
74
- padding-left: 0.5rem;
75
- }
76
97
 
77
98
  .icon-svg-with-theme-color {
78
99
  flex-basis: 1rem;
79
100
  margin-top: 0.2rem;
80
- display: inline-block;
81
- object-fit: contain;
82
- flex-shrink: 0;
83
101
  }
84
102
 
85
103
  &.ratafia-feature {