@npm_leadtech/legal-lib-components 5.3.14 → 5.3.21

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 (203) hide show
  1. package/dist/css/styles.css +0 -1075
  2. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +3 -5
  3. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +3 -5
  4. package/dist/src/components/atoms/index.d.ts +0 -1
  5. package/dist/src/components/atoms/index.js +0 -1
  6. package/dist/src/components/atoms/index.ts +0 -1
  7. package/dist/src/components/molecules/Article/Article.js +2 -3
  8. package/dist/src/components/molecules/Article/Article.scss +0 -17
  9. package/dist/src/components/molecules/Article/Article.tsx +2 -17
  10. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
  11. package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
  12. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
  13. package/dist/src/components/molecules/index.d.ts +0 -1
  14. package/dist/src/components/molecules/index.js +0 -1
  15. package/dist/src/components/molecules/index.ts +0 -1
  16. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  17. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
  18. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
  19. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
  20. package/dist/src/components/organisms/index.d.ts +0 -1
  21. package/dist/src/components/organisms/index.js +0 -1
  22. package/dist/src/components/organisms/index.ts +0 -1
  23. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
  24. package/dist/src/components/{organisms/ContactContent/ContactContent.styled.d.ts → sections/AboutUsSection/AboutUsSection.styled.d.ts} +1 -1
  25. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +53 -0
  26. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +54 -0
  27. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
  28. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +3 -3
  29. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
  30. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +97 -0
  31. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +98 -0
  32. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +21 -5
  33. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +6 -3
  34. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -3
  35. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
  36. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +1 -0
  37. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +51 -0
  38. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +52 -0
  39. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
  40. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
  41. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +1 -0
  42. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +54 -0
  43. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +55 -0
  44. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
  45. package/dist/src/components/sections/BlogSection/BlogSection.js +4 -4
  46. package/dist/src/components/{atoms/ContactCard/ContactCard.styled.d.ts → sections/BlogSection/BlogSection.styled.d.ts} +1 -1
  47. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +32 -0
  48. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +33 -0
  49. package/dist/src/components/sections/BlogSection/BlogSection.tsx +8 -11
  50. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
  51. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
  52. package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
  53. package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +1 -0
  54. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +89 -0
  55. package/dist/src/components/sections/ContactSection/{ContactSection.scss → ContactSection.styled.ts} +9 -9
  56. package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
  57. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  58. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +1 -0
  59. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +27 -0
  60. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +28 -0
  61. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
  62. package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
  63. package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +1 -0
  64. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +29 -0
  65. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +30 -0
  66. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
  67. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
  68. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +1 -0
  69. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +56 -0
  70. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +57 -0
  71. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
  72. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +2 -1
  73. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +1 -0
  74. package/dist/src/components/{molecules/ContactCardList/ContactCardList.styled.js → sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js} +5 -4
  75. package/dist/src/components/{molecules/ContactCardList/ContactCardList.styled.ts → sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts} +5 -4
  76. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +3 -2
  77. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
  78. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +1 -0
  79. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +10 -0
  80. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +11 -0
  81. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
  82. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
  83. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +1 -0
  84. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +24 -0
  85. package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.scss → HowGetYourFormsSection.styled.ts} +7 -8
  86. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
  87. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
  88. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +1 -0
  89. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +39 -0
  90. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +40 -0
  91. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +6 -3
  92. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
  93. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +1 -0
  94. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +40 -0
  95. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +41 -0
  96. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
  97. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
  98. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +1 -0
  99. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +106 -0
  100. package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.scss → LearnMoreSection.styled.ts} +12 -12
  101. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
  102. package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
  103. package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +1 -0
  104. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +121 -0
  105. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +122 -0
  106. package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
  107. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
  108. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +1 -0
  109. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +46 -0
  110. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +47 -0
  111. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
  112. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
  113. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +1 -0
  114. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +43 -0
  115. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +44 -0
  116. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
  117. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  118. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +1 -0
  119. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +55 -0
  120. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +56 -0
  121. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -4
  122. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
  123. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +1 -0
  124. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +70 -0
  125. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +71 -0
  126. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
  127. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
  128. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +1 -0
  129. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +10 -0
  130. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +11 -0
  131. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
  132. package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
  133. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +1 -0
  134. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +23 -0
  135. package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts} +5 -5
  136. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
  137. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
  138. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +1 -0
  139. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +63 -0
  140. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +64 -0
  141. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
  142. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
  143. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +1 -0
  144. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +36 -0
  145. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +37 -0
  146. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +3 -4
  147. package/dist/src/custom.d.ts +1 -1
  148. package/dist/src/globalStyles/styles.scss +0 -25
  149. package/dist/tsconfig.build.tsbuildinfo +1 -1
  150. package/package.json +1 -1
  151. package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
  152. package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +0 -4
  153. package/dist/src/components/atoms/ContactCard/ContactCard.js +0 -6
  154. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +0 -38
  155. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +0 -39
  156. package/dist/src/components/atoms/ContactCard/ContactCard.tsx +0 -38
  157. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +0 -9
  158. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +0 -1
  159. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +0 -9
  160. package/dist/src/components/atoms/ContactCard/index.d.ts +0 -2
  161. package/dist/src/components/atoms/ContactCard/index.js +0 -1
  162. package/dist/src/components/atoms/ContactCard/index.ts +0 -2
  163. package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +0 -4
  164. package/dist/src/components/molecules/ContactCardList/ContactCardList.js +0 -7
  165. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +0 -1
  166. package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +0 -17
  167. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +0 -4
  168. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +0 -1
  169. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +0 -5
  170. package/dist/src/components/molecules/ContactCardList/index.d.ts +0 -2
  171. package/dist/src/components/molecules/ContactCardList/index.js +0 -1
  172. package/dist/src/components/molecules/ContactCardList/index.ts +0 -2
  173. package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +0 -4
  174. package/dist/src/components/organisms/ContactContent/ContactContent.js +0 -9
  175. package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +0 -28
  176. package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +0 -29
  177. package/dist/src/components/organisms/ContactContent/ContactContent.tsx +0 -20
  178. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +0 -6
  179. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +0 -1
  180. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +0 -7
  181. package/dist/src/components/organisms/ContactContent/index.d.ts +0 -2
  182. package/dist/src/components/organisms/ContactContent/index.js +0 -1
  183. package/dist/src/components/organisms/ContactContent/index.ts +0 -2
  184. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
  185. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -36
  186. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +0 -50
  187. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +0 -57
  188. package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
  189. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +0 -26
  190. package/dist/src/components/sections/FaqSection/FaqSection.scss +0 -31
  191. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -57
  192. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +0 -15
  193. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +0 -12
  194. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +0 -41
  195. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +0 -41
  196. package/dist/src/components/sections/LegalSection/LegalSection.scss +0 -120
  197. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +0 -47
  198. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +0 -42
  199. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +0 -53
  200. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +0 -69
  201. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +0 -11
  202. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +0 -62
  203. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +0 -35
@@ -1,9 +1,7 @@
1
1
  import styled from 'styled-components';
2
2
  export const RichTextStrapiStyled = styled.div `
3
- &.richt-text-strapi {
4
- & ul li,
5
- ol li {
6
- margin-bottom: 1rem;
7
- }
3
+ ul li,
4
+ ol li {
5
+ margin-bottom: 1rem;
8
6
  }
9
7
  `;
@@ -1,10 +1,8 @@
1
1
  import styled from 'styled-components'
2
2
 
3
3
  export const RichTextStrapiStyled = styled.div`
4
- &.richt-text-strapi {
5
- & ul li,
6
- ol li {
7
- margin-bottom: 1rem;
8
- }
4
+ ul li,
5
+ ol li {
6
+ margin-bottom: 1rem;
9
7
  }
10
8
  `
@@ -9,7 +9,6 @@ export * from './Button';
9
9
  export * from './ButtonIcon';
10
10
  export * from './CardPane';
11
11
  export * from './Checkbox';
12
- export * from './ContactCard';
13
12
  export * from './DatePickerCustom';
14
13
  export * from './DialogMenuIcon';
15
14
  export * from './Disclaimer';
@@ -9,7 +9,6 @@ export * from './Button';
9
9
  export * from './ButtonIcon';
10
10
  export * from './CardPane';
11
11
  export * from './Checkbox';
12
- export * from './ContactCard';
13
12
  export * from './DatePickerCustom';
14
13
  export * from './DialogMenuIcon';
15
14
  export * from './Disclaimer';
@@ -9,7 +9,6 @@ export * from './Button'
9
9
  export * from './ButtonIcon'
10
10
  export * from './CardPane'
11
11
  export * from './Checkbox'
12
- export * from './ContactCard'
13
12
  export * from './DatePickerCustom'
14
13
  export * from './DialogMenuIcon'
15
14
  export * from './Disclaimer'
@@ -1,8 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import ArrowRight from '../../../../images/svg/arrow-right-24px-outlined.svg';
3
2
  import { Button } from '../../atoms';
4
3
  // import './Article.scss'
5
- const Article = ({ imageUrl, title, articleUrl, summary, isCategoryProductPage }) => {
6
- return (_jsxs("div", { className: 'article', children: [_jsx("img", { src: imageUrl, className: 'image', loading: 'lazy', alt: title }), _jsxs("div", { className: 'information', children: [_jsx("a", { href: articleUrl, target: '_blank', rel: 'noreferrer', children: _jsxs("p", { className: 'title sans-serif --big', children: [title, " "] }) }), _jsx("div", { className: 'summary', children: summary }), isCategoryProductPage ? (_jsxs("div", { className: 'button-image-container', children: [_jsx(Button, { givenClass: 'thinner-letter', color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true }), _jsx("img", { className: 'article__arrow-right', src: ArrowRight, alt: '' })] })) : (_jsx(Button, { color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true }))] })] }));
4
+ const Article = ({ imageUrl, title, articleUrl, summary }) => {
5
+ return (_jsxs("div", { className: 'article', children: [_jsx("img", { src: imageUrl, className: 'image', loading: 'lazy', alt: title }), _jsxs("div", { className: 'information', children: [_jsx("a", { href: articleUrl, target: '_blank', rel: 'noreferrer', children: _jsxs("p", { className: 'title sans-serif --big', children: [title, " "] }) }), _jsx("div", { className: 'summary', children: summary }), _jsx(Button, { color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true })] })] }));
7
6
  };
8
7
  export default Article;
@@ -62,22 +62,5 @@
62
62
  margin-top: 0;
63
63
  }
64
64
  }
65
-
66
- .button-image-container {
67
- align-items: center;
68
- margin: 1rem 0 2rem 0;
69
- display: flex;
70
-
71
- .thinner-letter {
72
- font-family: $font-sans;
73
- font-size: 16px;
74
- font-weight: 400;
75
- line-height: 22px;
76
- letter-spacing: -0.3px;
77
- text-align: left;
78
- margin: 0;
79
- padding: 0 1rem 0 0;
80
- }
81
- }
82
65
  }
83
66
  }
@@ -1,11 +1,10 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
- import ArrowRight from '../../../../images/svg/arrow-right-24px-outlined.svg'
4
3
  import { type ArticleProps } from './ArticleProps.types'
5
4
  import { Button } from '../../atoms'
6
5
  // import './Article.scss'
7
6
 
8
- const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary, isCategoryProductPage }) => {
7
+ const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary }) => {
9
8
  return (
10
9
  <div className='article'>
11
10
  <img src={imageUrl} className='image' loading='lazy' alt={title} />
@@ -14,21 +13,7 @@ const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary, isCat
14
13
  <p className='title sans-serif --big'>{title} </p>
15
14
  </a>
16
15
  <div className='summary'>{summary}</div>
17
- {isCategoryProductPage ? (
18
- <div className='button-image-container'>
19
- <Button
20
- givenClass='thinner-letter'
21
- color='tertiary'
22
- label={'Read more'}
23
- dataQa='article-read-more'
24
- link={articleUrl}
25
- isExternal
26
- />
27
- <img className='article__arrow-right' src={ArrowRight} alt=''></img>
28
- </div>
29
- ) : (
30
- <Button color='tertiary' label={'Read more'} dataQa='article-read-more' link={articleUrl} isExternal />
31
- )}
16
+ <Button color='tertiary' label={'Read more'} dataQa='article-read-more' link={articleUrl} isExternal />
32
17
  </div>
33
18
  </div>
34
19
  )
@@ -4,5 +4,4 @@ export interface ArticleProps {
4
4
  articleUrl: string;
5
5
  summary: string;
6
6
  id: string;
7
- isCategoryProductPage: boolean;
8
7
  }
@@ -4,5 +4,4 @@ export interface ArticleProps {
4
4
  articleUrl: string
5
5
  summary: string
6
6
  id: string
7
- isCategoryProductPage: boolean
8
7
  }
@@ -64,7 +64,7 @@
64
64
  }
65
65
 
66
66
  &.primary {
67
- background-color: get-color(neutral, neutral-6);
67
+ background-color: var(--neutral-neutral-6);
68
68
 
69
69
  .icon-svg-with-theme-color {
70
70
  background-color: get-color(primary, main-light-1);
@@ -9,7 +9,6 @@ export * from './BottomOverlay';
9
9
  export * from './BoxForm';
10
10
  export * from './Breadcrumb';
11
11
  export * from './ContactBox';
12
- export * from './ContactCardList';
13
12
  export * from './ContinueEditingBanner';
14
13
  export * from './CountDownMessage';
15
14
  export * from './EmailContactBox';
@@ -9,7 +9,6 @@ export * from './BottomOverlay';
9
9
  export * from './BoxForm';
10
10
  export * from './Breadcrumb';
11
11
  export * from './ContactBox';
12
- export * from './ContactCardList';
13
12
  export * from './ContinueEditingBanner';
14
13
  export * from './CountDownMessage';
15
14
  export * from './EmailContactBox';
@@ -9,7 +9,6 @@ export * from './BottomOverlay'
9
9
  export * from './BoxForm'
10
10
  export * from './Breadcrumb'
11
11
  export * from './ContactBox'
12
- export * from './ContactCardList'
13
12
  export * from './ContinueEditingBanner'
14
13
  export * from './CountDownMessage'
15
14
  export * from './EmailContactBox'
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Article } from '../../molecules';
3
3
  // import './ArticlesList.scss'
4
- const ArticlesList = ({ articles = [], isCategoryProductPage = false }) => {
4
+ const ArticlesList = ({ articles = [] }) => {
5
5
  if (articles?.length === 0)
6
6
  return null;
7
- return (_jsx("div", { className: 'articles_wrapper', children: articles.map((article) => (_jsx(Article, { ...article, isCategoryProductPage: isCategoryProductPage }, `article_${article?.id}`))) }));
7
+ return (_jsx("div", { className: 'articles_wrapper', children: articles.map((article) => (_jsx(Article, { ...article }, `article_${article?.id}`))) }));
8
8
  };
9
9
  export default ArticlesList;
@@ -5,13 +5,13 @@ import { Article, type ArticleProps } from '../../molecules'
5
5
  import { type ArticlesListProps } from './ArticlesListProps.types'
6
6
  // import './ArticlesList.scss'
7
7
 
8
- const ArticlesList: FC<ArticlesListProps> = ({ articles = [], isCategoryProductPage = false }) => {
8
+ const ArticlesList: FC<ArticlesListProps> = ({ articles = [] }) => {
9
9
  if (articles?.length === 0) return null
10
10
 
11
11
  return (
12
12
  <div className='articles_wrapper'>
13
13
  {articles.map((article: ArticleProps) => (
14
- <Article key={`article_${article?.id}`} {...article} isCategoryProductPage={isCategoryProductPage} />
14
+ <Article key={`article_${article?.id}`} {...article} />
15
15
  ))}
16
16
  </div>
17
17
  )
@@ -1,5 +1,4 @@
1
1
  import { type ArticleProps } from '../../molecules';
2
2
  export interface ArticlesListProps {
3
3
  articles: ArticleProps[];
4
- isCategoryProductPage?: boolean;
5
4
  }
@@ -2,5 +2,4 @@ import { type ArticleProps } from '../../molecules'
2
2
 
3
3
  export interface ArticlesListProps {
4
4
  articles: ArticleProps[]
5
- isCategoryProductPage?: boolean
6
5
  }
@@ -3,7 +3,6 @@ export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
5
5
  export * from './CardFunctionality';
6
- export * from './ContactContent';
7
6
  export * from './ContactJumbotron';
8
7
  export * from './CookiePolicyBar';
9
8
  export * from './ErrorContentRatafia';
@@ -3,7 +3,6 @@ export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
5
5
  export * from './CardFunctionality';
6
- export * from './ContactContent';
7
6
  export * from './ContactJumbotron';
8
7
  export * from './CookiePolicyBar';
9
8
  export * from './ErrorContentRatafia';
@@ -3,7 +3,6 @@ export * from './Accordion'
3
3
  export * from './ArticlesList'
4
4
  export * from './AsSeeInContent'
5
5
  export * from './CardFunctionality'
6
- export * from './ContactContent'
7
6
  export * from './ContactJumbotron'
8
7
  export * from './CookiePolicyBar'
9
8
  export * from './ErrorContentRatafia'
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { AboutUsContent } from '../../organisms/AboutUsContent';
3
- // import './AboutUsSection.scss'
3
+ import { AboutUsSectionStyled } from './AboutUsSection.styled';
4
4
  const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
5
- return (_jsx("div", { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
5
+ return (_jsx(AboutUsSectionStyled, { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
6
6
  };
7
7
  export default AboutUsSection;
@@ -1 +1 @@
1
- export declare const ContactContentStyled: 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 AboutUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,53 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const AboutUsSectionStyled = styled.div `
4
+ padding-top: 1.125rem;
5
+ background: var(--primary-main-light-6);
6
+ margin-bottom: 3rem;
7
+
8
+ @media ${device.laptop} {
9
+ margin-bottom: 5rem;
10
+ }
11
+
12
+ .about-us-section {
13
+ &__title {
14
+ text-align: center;
15
+ margin-bottom: 1rem;
16
+ &__text {
17
+ text-transform: uppercase;
18
+ font-size: 0.8rem;
19
+ line-height: 1.2;
20
+ font-weight: 700;
21
+ font-family: var(--font-sans);
22
+ color: var(--neutral-neutral-2);
23
+ padding-bottom: 0.5rem;
24
+ border-bottom: 1px solid var(--neutral-neutral-3);
25
+ }
26
+ }
27
+
28
+ &__sub-title {
29
+ margin-bottom: 1.5rem;
30
+ text-align: center;
31
+ font-size: 2rem;
32
+ line-height: 1.2;
33
+ letter-spacing: -0.4px;
34
+ font-weight: 400;
35
+ font-family: var(--font-serif);
36
+ color: var(--neutral-neutral-1);
37
+
38
+ @media ${device['landscape-tablets']} {
39
+ font-size: 2.3rem;
40
+ max-width: $sm;
41
+ margin: 0 auto 2rem auto;
42
+ }
43
+
44
+ @media ${device.desktop} {
45
+ max-width: 792px;
46
+ }
47
+
48
+ @media ${device.laptop} {
49
+ font-size: 3rem;
50
+ }
51
+ }
52
+ }
53
+ `;
@@ -0,0 +1,54 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const AboutUsSectionStyled = styled.div`
5
+ padding-top: 1.125rem;
6
+ background: var(--primary-main-light-6);
7
+ margin-bottom: 3rem;
8
+
9
+ @media ${device.laptop} {
10
+ margin-bottom: 5rem;
11
+ }
12
+
13
+ .about-us-section {
14
+ &__title {
15
+ text-align: center;
16
+ margin-bottom: 1rem;
17
+ &__text {
18
+ text-transform: uppercase;
19
+ font-size: 0.8rem;
20
+ line-height: 1.2;
21
+ font-weight: 700;
22
+ font-family: var(--font-sans);
23
+ color: var(--neutral-neutral-2);
24
+ padding-bottom: 0.5rem;
25
+ border-bottom: 1px solid var(--neutral-neutral-3);
26
+ }
27
+ }
28
+
29
+ &__sub-title {
30
+ margin-bottom: 1.5rem;
31
+ text-align: center;
32
+ font-size: 2rem;
33
+ line-height: 1.2;
34
+ letter-spacing: -0.4px;
35
+ font-weight: 400;
36
+ font-family: var(--font-serif);
37
+ color: var(--neutral-neutral-1);
38
+
39
+ @media ${device['landscape-tablets']} {
40
+ font-size: 2.3rem;
41
+ max-width: $sm;
42
+ margin: 0 auto 2rem auto;
43
+ }
44
+
45
+ @media ${device.desktop} {
46
+ max-width: 792px;
47
+ }
48
+
49
+ @media ${device.laptop} {
50
+ font-size: 3rem;
51
+ }
52
+ }
53
+ }
54
+ `
@@ -3,11 +3,11 @@ import React, { type FC } from 'react'
3
3
 
4
4
  import { AboutUsContent } from '../../organisms/AboutUsContent'
5
5
  import { type AboutUsSectionProps } from './AboutUsSectionProps.types'
6
- // import './AboutUsSection.scss'
6
+ import { AboutUsSectionStyled } from './AboutUsSection.styled'
7
7
 
8
8
  const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAboutUs }) => {
9
9
  return (
10
- <div className='about-us-section'>
10
+ <AboutUsSectionStyled className='about-us-section'>
11
11
  <div className='wrapper wrapper--responsive'>
12
12
  <div className='about-us-section__title'>
13
13
  <span className='about-us-section__title__text'>{title}</span>
@@ -18,7 +18,7 @@ const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAbout
18
18
  {contentAboutUs.children}
19
19
  </AboutUsContent>
20
20
  </div>
21
- </div>
21
+ </AboutUsSectionStyled>
22
22
  )
23
23
  }
24
24
 
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AsSeeInContent, ContactContent } from '../../organisms';
3
- // import './AsSeeInSection.scss'
2
+ import { AsSeeInContent } from '../../organisms';
3
+ import { AsSeeInSectionStyled } from './AsSeeInSection.styled';
4
4
  const AsSeeInSection = ({ title, contentAsSeeIn, contactSectionTitle, contactSectionText, contactSectionBlocks }) => {
5
5
  if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
6
6
  return null;
7
7
  }
8
- return (_jsxs("section", { className: 'as-seen-in-section-box', children: [_jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }), _jsx(ContactContent, { title: contactSectionTitle, text: contactSectionText, contactCards: contactSectionBlocks })] }));
8
+ return (_jsxs(AsSeeInSectionStyled, { className: 'as-seen-in-section-box', children: [_jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }), Array.isArray(contactSectionBlocks) && contactSectionBlocks.length > 0 && (_jsxs("div", { className: 'contact-us-section', children: [_jsx("h2", { className: 'contact-us-section__title', children: contactSectionTitle }), _jsx("p", { className: 'contact-us-section__text', children: contactSectionText }), Array.isArray(contactSectionBlocks) && (_jsx("div", { className: 'contact-us-section-blocks', children: contactSectionBlocks.map((item, index) => (_jsxs("div", { className: 'contact-us-section-blocks__item', children: [_jsx("div", { className: 'contact-us-section-blocks__item__image', children: item.image }), _jsx("div", { className: 'contact-us-section-blocks__item__title', children: item.title }), _jsx("p", { className: 'contact-us-section-blocks__item__text', children: item.body })] }, index))) }))] }))] }));
9
9
  };
10
10
  export default AsSeeInSection;
@@ -0,0 +1 @@
1
+ export declare const AsSeeInSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,97 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const AsSeeInSectionStyled = styled.section `
4
+ flex-shrink: 0;
5
+ background-color: get-color(secondary, main-light-5);
6
+
7
+ @media ${device.laptop} {
8
+ margin-top: 12rem;
9
+ }
10
+
11
+ .as-seen-in-section {
12
+ display: flex;
13
+ flex-direction: column;
14
+ box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
15
+ background: get-color(others, white);
16
+ transform: translateY(-5rem);
17
+ padding: 1.5rem 0;
18
+
19
+ @media ${device.laptop} {
20
+ transform: translateY(-50%);
21
+ }
22
+
23
+ &__title {
24
+ color: var(--neutral-neutral-2);
25
+ text-align: center;
26
+ font-size: 32px;
27
+ font-family: var(--font-serif);
28
+ font-style: normal;
29
+ font-weight: 400;
30
+ line-height: 42px;
31
+ letter-spacing: -0.3px;
32
+ margin: 1rem 0;
33
+ }
34
+ }
35
+
36
+ .contact-us-section {
37
+ display: flex;
38
+ flex-direction: column;
39
+ transform: translateY(-5rem);
40
+ color: var(--neutral-neutral-1);
41
+ margin-top: 1rem;
42
+
43
+ &__title {
44
+ text-align: center;
45
+ font-size: 32px;
46
+ font-family: $font-serif;
47
+ font-style: normal;
48
+ font-weight: 400;
49
+ line-height: 42px;
50
+ letter-spacing: -0.3px;
51
+ margin: 1rem 0;
52
+ }
53
+
54
+ &__text {
55
+ text-align: center;
56
+ font-style: normal;
57
+ font-weight: 400;
58
+ margin: 0 0 2rem 0;
59
+ }
60
+
61
+ &-blocks {
62
+ display: flex;
63
+ justify-content: center;
64
+ flex-direction: column;
65
+ gap: 1rem;
66
+
67
+ @media ${device.laptop} {
68
+ flex-direction: row;
69
+ gap: 2.5rem;
70
+ }
71
+
72
+ &__item {
73
+ display: flex;
74
+ flex-direction: column;
75
+ align-items: center;
76
+ background-color: white;
77
+ box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
78
+ border-radius: 0.25rem;
79
+ min-width: 200px;
80
+ padding: 1rem;
81
+
82
+ &__image {
83
+ width: 2rem;
84
+ }
85
+
86
+ &__title {
87
+ margin-top: 1rem;
88
+ line-height: 1rem;
89
+ }
90
+
91
+ &__text {
92
+ font-size: 14px;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ `;
@@ -0,0 +1,98 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const AsSeeInSectionStyled = styled.section`
5
+ flex-shrink: 0;
6
+ background-color: get-color(secondary, main-light-5);
7
+
8
+ @media ${device.laptop} {
9
+ margin-top: 12rem;
10
+ }
11
+
12
+ .as-seen-in-section {
13
+ display: flex;
14
+ flex-direction: column;
15
+ box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
16
+ background: get-color(others, white);
17
+ transform: translateY(-5rem);
18
+ padding: 1.5rem 0;
19
+
20
+ @media ${device.laptop} {
21
+ transform: translateY(-50%);
22
+ }
23
+
24
+ &__title {
25
+ color: var(--neutral-neutral-2);
26
+ text-align: center;
27
+ font-size: 32px;
28
+ font-family: var(--font-serif);
29
+ font-style: normal;
30
+ font-weight: 400;
31
+ line-height: 42px;
32
+ letter-spacing: -0.3px;
33
+ margin: 1rem 0;
34
+ }
35
+ }
36
+
37
+ .contact-us-section {
38
+ display: flex;
39
+ flex-direction: column;
40
+ transform: translateY(-5rem);
41
+ color: var(--neutral-neutral-1);
42
+ margin-top: 1rem;
43
+
44
+ &__title {
45
+ text-align: center;
46
+ font-size: 32px;
47
+ font-family: $font-serif;
48
+ font-style: normal;
49
+ font-weight: 400;
50
+ line-height: 42px;
51
+ letter-spacing: -0.3px;
52
+ margin: 1rem 0;
53
+ }
54
+
55
+ &__text {
56
+ text-align: center;
57
+ font-style: normal;
58
+ font-weight: 400;
59
+ margin: 0 0 2rem 0;
60
+ }
61
+
62
+ &-blocks {
63
+ display: flex;
64
+ justify-content: center;
65
+ flex-direction: column;
66
+ gap: 1rem;
67
+
68
+ @media ${device.laptop} {
69
+ flex-direction: row;
70
+ gap: 2.5rem;
71
+ }
72
+
73
+ &__item {
74
+ display: flex;
75
+ flex-direction: column;
76
+ align-items: center;
77
+ background-color: white;
78
+ box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
79
+ border-radius: 0.25rem;
80
+ min-width: 200px;
81
+ padding: 1rem;
82
+
83
+ &__image {
84
+ width: 2rem;
85
+ }
86
+
87
+ &__title {
88
+ margin-top: 1rem;
89
+ line-height: 1rem;
90
+ }
91
+
92
+ &__text {
93
+ font-size: 14px;
94
+ }
95
+ }
96
+ }
97
+ }
98
+ `