@npm_leadtech/legal-lib-components 5.7.8 → 5.9.0

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 (250) hide show
  1. package/dist/css/styles.css +184 -2175
  2. package/dist/images/componentsSvg/RatafiaIcon24px.d.ts +6 -0
  3. package/dist/images/componentsSvg/RatafiaIcon24px.js +2 -0
  4. package/dist/images/componentsSvg/RatafiaIcon24px.tsx +18 -0
  5. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +5 -1
  6. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +14 -0
  7. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +14 -0
  8. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +10 -1
  9. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +1 -0
  10. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +1 -0
  11. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
  12. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +1 -0
  13. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +69 -0
  14. package/dist/src/components/molecules/AccordionItem/{AccordionItem.scss → AccordionItem.styled.ts} +3 -3
  15. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +3 -4
  16. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
  17. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +1 -0
  18. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +7 -0
  19. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +8 -0
  20. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
  21. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
  22. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +1 -0
  23. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +28 -0
  24. package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.scss → AlsoKnownAs.styled.ts} +4 -4
  25. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
  26. package/dist/src/components/molecules/Article/Article.js +3 -4
  27. package/dist/src/components/molecules/Article/Article.styled.d.ts +1 -0
  28. package/dist/src/components/molecules/Article/Article.styled.js +65 -0
  29. package/dist/src/components/molecules/Article/{Article.scss → Article.styled.ts} +10 -27
  30. package/dist/src/components/molecules/Article/Article.tsx +5 -20
  31. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
  32. package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
  33. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
  34. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +1 -0
  35. package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.scss → BaseBoxList.styled.js} +5 -6
  36. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.ts +26 -0
  37. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +6 -2
  38. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  39. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +1 -0
  40. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +15 -0
  41. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +16 -0
  42. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
  43. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
  44. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +1 -0
  45. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +50 -0
  46. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +51 -0
  47. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
  48. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
  49. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +1 -0
  50. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +94 -0
  51. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +95 -0
  52. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
  53. package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
  54. package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +1 -0
  55. package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +127 -0
  56. package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +128 -0
  57. package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
  58. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
  59. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +1 -0
  60. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +10 -0
  61. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +11 -0
  62. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
  63. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +2 -1
  64. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +1 -0
  65. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +45 -0
  66. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +46 -0
  67. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +3 -2
  68. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +2 -1
  69. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +1 -0
  70. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +38 -0
  71. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +39 -0
  72. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +4 -3
  73. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
  74. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +1 -0
  75. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +34 -0
  76. package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.scss → EmailContactBox.styled.ts} +3 -3
  77. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
  78. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +2 -1
  79. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +1 -0
  80. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +13 -0
  81. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +14 -0
  82. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +2 -1
  83. package/dist/src/components/molecules/FaqItem/FaqItem.js +5 -6
  84. package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +1 -0
  85. package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +61 -0
  86. package/dist/src/components/molecules/FaqItem/{FaqItem.scss → FaqItem.styled.ts} +4 -5
  87. package/dist/src/components/molecules/FaqItem/FaqItem.tsx +9 -10
  88. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
  89. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +1 -0
  90. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +9 -0
  91. package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.scss → FeatureRatafiaCardList.styled.ts} +4 -2
  92. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
  93. package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
  94. package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +1 -0
  95. package/dist/src/components/molecules/Feedback/Feedback.styled.js +114 -0
  96. package/dist/src/components/molecules/Feedback/Feedback.styled.ts +115 -0
  97. package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
  98. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
  99. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +1 -0
  100. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +109 -0
  101. package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.scss → FreeDocModalContent.styled.ts} +10 -10
  102. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
  103. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
  104. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +1 -0
  105. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +32 -0
  106. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +33 -0
  107. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
  108. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
  109. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +1 -0
  110. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +20 -0
  111. package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.scss → KeyFactCardListRatafia.styled.ts} +3 -3
  112. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
  113. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
  114. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +1 -0
  115. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +33 -0
  116. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +34 -0
  117. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
  118. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
  119. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +1 -0
  120. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +30 -0
  121. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +31 -0
  122. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
  123. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
  124. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +1 -0
  125. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +69 -0
  126. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +70 -0
  127. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
  128. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
  129. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +1 -0
  130. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +74 -0
  131. package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.scss → MoreDocsDesktop.styled.ts} +9 -8
  132. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
  133. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
  134. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +1 -0
  135. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +72 -0
  136. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +73 -0
  137. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
  138. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
  139. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +1 -0
  140. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +35 -0
  141. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +36 -0
  142. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
  143. package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
  144. package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +1 -0
  145. package/dist/src/components/molecules/Pagination/Pagination.styled.js +63 -0
  146. package/dist/src/components/molecules/Pagination/Pagination.styled.ts +64 -0
  147. package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
  148. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +2 -1
  149. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +1 -0
  150. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +59 -0
  151. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +60 -0
  152. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +3 -2
  153. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
  154. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +1 -0
  155. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +32 -0
  156. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +33 -0
  157. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
  158. package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
  159. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +1 -0
  160. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +34 -0
  161. package/dist/src/components/molecules/PopularDocs/{PopularDocs.scss → PopularDocs.styled.ts} +7 -6
  162. package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
  163. package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
  164. package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +1 -0
  165. package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +189 -0
  166. package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +190 -0
  167. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +6 -3
  168. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -1
  169. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  170. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +93 -0
  171. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +94 -0
  172. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +3 -2
  173. package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
  174. package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +1 -0
  175. package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +139 -0
  176. package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +140 -0
  177. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
  178. package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
  179. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +1 -0
  180. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +104 -0
  181. package/dist/src/components/molecules/StepGetForm/{StepGetForm.scss → StepGetForm.styled.ts} +13 -13
  182. package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
  183. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +2 -1
  184. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +1 -0
  185. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +19 -0
  186. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +20 -0
  187. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +3 -2
  188. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
  189. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +1 -0
  190. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +6 -0
  191. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +7 -0
  192. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
  193. package/dist/src/components/molecules/TextInput/TextInput.js +0 -1
  194. package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -1
  195. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
  196. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +1 -0
  197. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +14 -0
  198. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +15 -0
  199. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
  200. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +2 -1
  201. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +1 -0
  202. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +107 -0
  203. package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.scss → TypeModulesList.styled.ts} +11 -11
  204. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +3 -2
  205. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
  206. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +1 -0
  207. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +64 -0
  208. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +65 -0
  209. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +8 -3
  210. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  211. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
  212. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
  213. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
  214. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
  215. package/dist/src/components/sections/BlogSection/BlogSection.js +4 -5
  216. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -21
  217. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -21
  218. package/dist/src/components/sections/BlogSection/BlogSection.tsx +6 -10
  219. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
  220. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
  221. package/dist/src/custom.d.ts +1 -1
  222. package/dist/src/globalStyles/styles.scss +3 -43
  223. package/dist/tsconfig.build.tsbuildinfo +1 -1
  224. package/package.json +1 -1
  225. package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
  226. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +0 -7
  227. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +0 -16
  228. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +0 -49
  229. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +0 -93
  230. package/dist/src/components/molecules/BoxForm/BoxForm.scss +0 -129
  231. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +0 -7
  232. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +0 -42
  233. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +0 -37
  234. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +0 -14
  235. package/dist/src/components/molecules/Feedback/Feedback.scss +0 -109
  236. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +0 -31
  237. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +0 -32
  238. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +0 -69
  239. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +0 -71
  240. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +0 -33
  241. package/dist/src/components/molecules/Pagination/Pagination.scss +0 -62
  242. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +0 -60
  243. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +0 -33
  244. package/dist/src/components/molecules/PricingCard/PricingCard.scss +0 -186
  245. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
  246. package/dist/src/components/molecules/Snackbar/Snackbar.scss +0 -135
  247. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +0 -5
  248. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +0 -14
  249. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +0 -63
  250. package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ interface RatafiaIcon24pxProps {
3
+ className: string;
4
+ }
5
+ export declare const RatafiaIcon24px: FC<RatafiaIcon24pxProps>;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export const RatafiaIcon24px = ({ className }) => (_jsx("svg", { width: '17', height: '16', viewBox: '0 0 17 16', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', children: _jsx("g", { id: 'Icon/Symbol/AI_24px', children: _jsx("path", { id: 'path', fillRule: 'evenodd', clipRule: 'evenodd', d: 'M13.6732 1.14034C13.4454 0.509208 12.5528 0.509208 12.3251 1.14034L11.9922 2.06282C11.9198 2.26336 11.7619 2.42127 11.5614 2.49363L10.6389 2.82651C10.0078 3.05426 10.0078 3.94684 10.6389 4.17458L11.5614 4.50746C11.7619 4.57982 11.9198 4.73773 11.9922 4.93827L12.3251 5.86075C12.5528 6.49189 13.4454 6.49188 13.6732 5.86075L14.006 4.93827C14.0784 4.73773 14.2363 4.57982 14.4369 4.50746L15.3593 4.17458C15.9905 3.94684 15.9905 3.05426 15.3593 2.82651L14.4369 2.49363C14.2363 2.42127 14.0784 2.26336 14.006 2.06282L13.6732 1.14034ZM8.53354 4.24146C8.07805 2.97919 6.29289 2.97919 5.8374 4.24146L5.07821 6.34533C4.93348 6.74641 4.61768 7.06222 4.21659 7.20695L2.11272 7.96613C0.850447 8.42162 0.850449 10.2068 2.11272 10.6623L4.21659 11.4215C4.61768 11.5662 4.93348 11.882 5.07821 12.2831L5.8374 14.387C6.29289 15.6492 8.07805 15.6492 8.53354 14.387L9.29272 12.2831C9.43745 11.882 9.75326 11.5662 10.1543 11.4215L12.2582 10.6623C13.5205 10.2068 13.5205 8.42162 12.2582 7.96613L10.1543 7.20695C9.75326 7.06222 9.43745 6.74641 9.29272 6.34533L8.53354 4.24146Z', fill: '#078080' }) }) }));
@@ -0,0 +1,18 @@
1
+ import React, { type FC } from 'react'
2
+ interface RatafiaIcon24pxProps {
3
+ className: string
4
+ }
5
+
6
+ export const RatafiaIcon24px: FC<RatafiaIcon24pxProps> = ({ className }: RatafiaIcon24pxProps) => (
7
+ <svg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'>
8
+ <g id='Icon/Symbol/AI_24px'>
9
+ <path
10
+ id='path'
11
+ fillRule='evenodd'
12
+ clipRule='evenodd'
13
+ d='M13.6732 1.14034C13.4454 0.509208 12.5528 0.509208 12.3251 1.14034L11.9922 2.06282C11.9198 2.26336 11.7619 2.42127 11.5614 2.49363L10.6389 2.82651C10.0078 3.05426 10.0078 3.94684 10.6389 4.17458L11.5614 4.50746C11.7619 4.57982 11.9198 4.73773 11.9922 4.93827L12.3251 5.86075C12.5528 6.49189 13.4454 6.49188 13.6732 5.86075L14.006 4.93827C14.0784 4.73773 14.2363 4.57982 14.4369 4.50746L15.3593 4.17458C15.9905 3.94684 15.9905 3.05426 15.3593 2.82651L14.4369 2.49363C14.2363 2.42127 14.0784 2.26336 14.006 2.06282L13.6732 1.14034ZM8.53354 4.24146C8.07805 2.97919 6.29289 2.97919 5.8374 4.24146L5.07821 6.34533C4.93348 6.74641 4.61768 7.06222 4.21659 7.20695L2.11272 7.96613C0.850447 8.42162 0.850449 10.2068 2.11272 10.6623L4.21659 11.4215C4.61768 11.5662 4.93348 11.882 5.07821 12.2831L5.8374 14.387C6.29289 15.6492 8.07805 15.6492 8.53354 14.387L9.29272 12.2831C9.43745 11.882 9.75326 11.5662 10.1543 11.4215L12.2582 10.6623C13.5205 10.2068 13.5205 8.42162 12.2582 7.96613L10.1543 7.20695C9.75326 7.06222 9.43745 6.74641 9.29272 6.34533L8.53354 4.24146Z'
14
+ fill='#078080'
15
+ />
16
+ </g>
17
+ </svg>
18
+ )
@@ -2,14 +2,18 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { DocumentStatusStyled } from './DocumentStatus.styled';
3
3
  import { Done24px } from '../../../../images/componentsSvg/Done24px';
4
4
  import { NewRelease24p } from '../../../../images/componentsSvg/NewRelease24p';
5
+ import { RatafiaIcon24px } from '../../../../images/componentsSvg/RatafiaIcon24px';
5
6
  import { Time24px } from '../../../../images/componentsSvg/Time24px';
6
- const DocumentStatus = ({ type, statusCompletedText, statusNewText, statusInProgressText }) => {
7
+ const DocumentStatus = ({ type, statusCompletedText, statusNewText, statusInProgressText, statusAIReviewedText }) => {
7
8
  if (type === 'complete' || type === 'downloaded' || type === 'pdf_processing' || type === 'pdf_generated') {
8
9
  return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-completed', children: [_jsx(Done24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusCompletedText })] }));
9
10
  }
10
11
  if (type === 'new') {
11
12
  return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-new', children: [_jsx(NewRelease24p, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusNewText })] }));
12
13
  }
14
+ if (type === 'ai_reviewed') {
15
+ return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-ai-reviewed', children: [_jsx(RatafiaIcon24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusAIReviewedText })] }));
16
+ }
13
17
  return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --in-progress', children: [_jsx(Time24px, { className: 'icon' }), _jsx("span", { className: 'sans-serif --small', children: statusInProgressText })] }));
14
18
  };
15
19
  export default DocumentStatus;
@@ -61,5 +61,19 @@ export const DocumentStatusStyled = styled.div `
61
61
  margin-right: 1.4rem;
62
62
  }
63
63
  }
64
+
65
+ &.--is-ai-reviewed {
66
+ padding: 0.25rem;
67
+ gap: 0.25rem;
68
+ background-color: var(--primary-main-light-5);
69
+ border-color: var(--primary-main-light-3);
70
+ color: var(--primary-main);
71
+
72
+ svg {
73
+ path {
74
+ fill: var(--primary-main);
75
+ }
76
+ }
77
+ }
64
78
  }
65
79
  `;
@@ -62,5 +62,19 @@ export const DocumentStatusStyled = styled.div`
62
62
  margin-right: 1.4rem;
63
63
  }
64
64
  }
65
+
66
+ &.--is-ai-reviewed {
67
+ padding: 0.25rem;
68
+ gap: 0.25rem;
69
+ background-color: var(--primary-main-light-5);
70
+ border-color: var(--primary-main-light-3);
71
+ color: var(--primary-main);
72
+
73
+ svg {
74
+ path {
75
+ fill: var(--primary-main);
76
+ }
77
+ }
78
+ }
65
79
  }
66
80
  `
@@ -4,13 +4,15 @@ import { type DocumentStatusProps } from './DocumentStatusProps.types'
4
4
  import { DocumentStatusStyled } from './DocumentStatus.styled'
5
5
  import { Done24px } from '../../../../images/componentsSvg/Done24px'
6
6
  import { NewRelease24p } from '../../../../images/componentsSvg/NewRelease24p'
7
+ import { RatafiaIcon24px } from '../../../../images/componentsSvg/RatafiaIcon24px'
7
8
  import { Time24px } from '../../../../images/componentsSvg/Time24px'
8
9
 
9
10
  const DocumentStatus: FC<DocumentStatusProps> = ({
10
11
  type,
11
12
  statusCompletedText,
12
13
  statusNewText,
13
- statusInProgressText
14
+ statusInProgressText,
15
+ statusAIReviewedText
14
16
  }) => {
15
17
  if (type === 'complete' || type === 'downloaded' || type === 'pdf_processing' || type === 'pdf_generated') {
16
18
  return (
@@ -26,6 +28,13 @@ const DocumentStatus: FC<DocumentStatusProps> = ({
26
28
  </DocumentStatusStyled>
27
29
  )
28
30
  }
31
+ if (type === 'ai_reviewed') {
32
+ return (
33
+ <DocumentStatusStyled data-testid='document-status' className={'document-status --is-ai-reviewed'}>
34
+ <RatafiaIcon24px className='icon' /> <span className={'sans-serif --small'}>{statusAIReviewedText}</span>
35
+ </DocumentStatusStyled>
36
+ )
37
+ }
29
38
  return (
30
39
  <DocumentStatusStyled data-testid='document-status' className={'document-status --in-progress'}>
31
40
  <Time24px className='icon' />
@@ -3,4 +3,5 @@ export interface DocumentStatusProps {
3
3
  statusCompletedText: string;
4
4
  statusNewText: string;
5
5
  statusInProgressText: string;
6
+ statusAIReviewedText: string;
6
7
  }
@@ -3,4 +3,5 @@ export interface DocumentStatusProps {
3
3
  statusCompletedText: string
4
4
  statusNewText: string
5
5
  statusInProgressText: string
6
+ statusAIReviewedText: string
6
7
  }
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  /* eslint-disable @typescript-eslint/no-unused-expressions */
4
4
  import { useEffect, useRef } from 'react';
5
5
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context';
6
- // import './AccordionItem.scss'
6
+ import { AccordionItemStyled } from './AccordionItem.styled';
7
7
  export const AccordionItem = ({ accordionRightContent, children, defaultHeightItem = 416, index, isOpen, onClick, title }) => {
8
8
  const contenReftHeight = useRef(null);
9
9
  const { state } = useStateDataAccordionItem(index);
@@ -14,7 +14,7 @@ export const AccordionItem = ({ accordionRightContent, children, defaultHeightIt
14
14
  dispatch({ type: 'unlocked', accordionItem: index, resetAction: 'default' });
15
15
  }
16
16
  }, [state.locked.actionType]);
17
- return (_jsxs("div", { className: 'accordion__container', children: [_jsxs("button", { className: `accordion__button
17
+ return (_jsxs(AccordionItemStyled, { className: 'accordion__container', children: [_jsxs("button", { className: `accordion__button
18
18
  ${state.handler === 'success' ? '--success' : ''}
19
19
  ${state.locked.isLocked ? '--locked' : ''}`, onClick: () => {
20
20
  !state.locked.isLocked && onClick();
@@ -0,0 +1 @@
1
+ export declare const AccordionItemStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,69 @@
1
+ import styled from 'styled-components';
2
+ export const AccordionItemStyled = styled.div `
3
+ overflow: hidden;
4
+ border-bottom: 1px solid var(--neutral-neutral-4);
5
+
6
+ &:first-child {
7
+ border-top: 1px solid var(--neutral-neutral-4);
8
+ }
9
+
10
+ &:last-child {
11
+ border-bottom-left-radius: 4px;
12
+ border-bottom-right-radius: 4px;
13
+ }
14
+
15
+ .accordion__button {
16
+ border-right: 1px solid var(--neutral-neutral-4);
17
+ border-left: 1px solid var(--neutral-neutral-4);
18
+ width: 100%;
19
+ text-align: left;
20
+ padding: 1rem 1.5rem;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: space-between;
24
+ background: var(--neutral-neutral-6);
25
+ border-bottom: none;
26
+ border-top: none;
27
+ cursor: pointer;
28
+ font-family: Inter;
29
+ font-size: 16px;
30
+ font-style: normal;
31
+ font-weight: 400;
32
+ line-height: 22px;
33
+ letter-spacing: -0.3px;
34
+
35
+ &.--success {
36
+ background: #eff7f5;
37
+ }
38
+
39
+ &.--locked {
40
+ cursor: not-allowed;
41
+ }
42
+
43
+ &:not(.--locked):hover {
44
+ background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
45
+ }
46
+ }
47
+
48
+ .accordion__title {
49
+ color: var(--primary-main-dark-1);
50
+ font-family: Inter;
51
+ font-size: 18px;
52
+ font-style: normal;
53
+ font-weight: 700;
54
+ line-height: 24px;
55
+ letter-spacing: -0.3px;
56
+
57
+ &.--locked {
58
+ color: var(--neutral-neutral-2);
59
+ }
60
+ }
61
+
62
+ .accordion__content {
63
+ padding: 0 1.5rem;
64
+ transition: height 0.7s ease-in-out;
65
+ border-right: 1px solid var(--neutral-neutral-4);
66
+ border-left: 1px solid var(--neutral-neutral-4);
67
+ border-bottom: none;
68
+ }
69
+ `;
@@ -1,6 +1,6 @@
1
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import styled from 'styled-components'
2
2
 
3
- .accordion__container {
3
+ export const AccordionItemStyled = styled.div`
4
4
  overflow: hidden;
5
5
  border-bottom: 1px solid var(--neutral-neutral-4);
6
6
 
@@ -67,4 +67,4 @@
67
67
  border-left: 1px solid var(--neutral-neutral-4);
68
68
  border-bottom: none;
69
69
  }
70
- }
70
+ `
@@ -4,8 +4,7 @@ import React, { useEffect, useRef } from 'react'
4
4
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context'
5
5
 
6
6
  import { type AccordionItemProps } from './AccordionItemProps.types'
7
-
8
- // import './AccordionItem.scss'
7
+ import { AccordionItemStyled } from './AccordionItem.styled'
9
8
 
10
9
  export const AccordionItem = ({
11
10
  accordionRightContent,
@@ -28,7 +27,7 @@ export const AccordionItem = ({
28
27
  }, [state.locked.actionType])
29
28
 
30
29
  return (
31
- <div className='accordion__container'>
30
+ <AccordionItemStyled className='accordion__container'>
32
31
  <button
33
32
  className={`accordion__button
34
33
  ${state.handler === 'success' ? '--success' : ''}
@@ -48,6 +47,6 @@ export const AccordionItem = ({
48
47
  >
49
48
  {children}
50
49
  </div>
51
- </div>
50
+ </AccordionItemStyled>
52
51
  )
53
52
  }
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { ActionButtonHeaderRatafiaCard } from '../../atoms';
3
- // import './ActionButtonHeaderRatafiaCardList.scss'
3
+ import { ActionButtonHeaderRatafiaCardListStyled } from './ActionButtonHeaderRatafiaCardList.styled';
4
4
  const ActionButtonHeaderRatafiaCardList = ({ actionButtons }) => {
5
5
  if (actionButtons.length === 0)
6
6
  return null;
7
- return (_jsx("div", { className: 'action-button-header-ratafia-card-list', children: actionButtons.map((actionButton) => (_jsx(ActionButtonHeaderRatafiaCard, { ...actionButton }, actionButton.id))) }));
7
+ return (_jsx(ActionButtonHeaderRatafiaCardListStyled, { className: 'action-button-header-ratafia-card-list', children: actionButtons.map((actionButton) => (_jsx(ActionButtonHeaderRatafiaCard, { ...actionButton }, actionButton.id))) }));
8
8
  };
9
9
  export default ActionButtonHeaderRatafiaCardList;
@@ -0,0 +1 @@
1
+ export declare const ActionButtonHeaderRatafiaCardListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,7 @@
1
+ import styled from 'styled-components';
2
+ export const ActionButtonHeaderRatafiaCardListStyled = styled.div `
3
+ display: flex;
4
+ align-items: center;
5
+ gap: 1rem;
6
+ border-radius: 4px 4px 0 0;
7
+ `;
@@ -0,0 +1,8 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const ActionButtonHeaderRatafiaCardListStyled = styled.div`
4
+ display: flex;
5
+ align-items: center;
6
+ gap: 1rem;
7
+ border-radius: 4px 4px 0 0;
8
+ `
@@ -2,17 +2,17 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { ActionButtonHeaderRatafiaCard } from '../../atoms'
4
4
  import { type ActionButtonHeaderRatafiaCardListProps } from './ActionButtonHeaderRatafiaCardListProps.types'
5
- // import './ActionButtonHeaderRatafiaCardList.scss'
5
+ import { ActionButtonHeaderRatafiaCardListStyled } from './ActionButtonHeaderRatafiaCardList.styled'
6
6
 
7
7
  const ActionButtonHeaderRatafiaCardList: FC<ActionButtonHeaderRatafiaCardListProps> = ({ actionButtons }) => {
8
8
  if (actionButtons.length === 0) return null
9
9
 
10
10
  return (
11
- <div className='action-button-header-ratafia-card-list'>
11
+ <ActionButtonHeaderRatafiaCardListStyled className='action-button-header-ratafia-card-list'>
12
12
  {actionButtons.map((actionButton) => (
13
13
  <ActionButtonHeaderRatafiaCard key={actionButton.id} {...actionButton} />
14
14
  ))}
15
- </div>
15
+ </ActionButtonHeaderRatafiaCardListStyled>
16
16
  )
17
17
  }
18
18
  export default ActionButtonHeaderRatafiaCardList
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { AlsoKnownAsStyled } from './AlsoKnownAs.styled';
2
3
  import { DocumentTag } from '../../atoms';
3
4
  import { SymbolDoc } from '../../../../images/componentsSvg/SymbolDoc';
4
- // import './AlsoKnownAs.scss'
5
5
  const AlsoKnownAs = ({ title = '', documents = [] }) => {
6
6
  if (documents.length === 0)
7
7
  return null;
8
- return (_jsxs("div", { className: 'also-known-as', children: [_jsxs("p", { className: 'title', children: [_jsx(SymbolDoc, {}), _jsx("span", { className: 'text', children: title })] }), documents.map((item) => (_jsx(DocumentTag, { text: item }, item)))] }));
8
+ return (_jsxs(AlsoKnownAsStyled, { className: 'also-known-as', children: [_jsxs("p", { className: 'title', children: [_jsx(SymbolDoc, {}), _jsx("span", { className: 'text', children: title })] }), documents.map((item) => (_jsx(DocumentTag, { text: item }, item)))] }));
9
9
  };
10
10
  export default AlsoKnownAs;
@@ -0,0 +1 @@
1
+ export declare const AlsoKnownAsStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,28 @@
1
+ import styled from 'styled-components';
2
+ export const AlsoKnownAsStyled = styled.div `
3
+ display: flex;
4
+ align-items: center;
5
+ gap: calc(1rem / 2);
6
+ flex-wrap: wrap;
7
+
8
+ .title {
9
+ display: flex;
10
+ align-items: center;
11
+ gap: calc(1rem / 4);
12
+ flex-wrap: nowrap;
13
+
14
+ svg {
15
+ width: 18px;
16
+ height: 18px;
17
+ fill: var(--secondary-main-dark-1);
18
+ }
19
+
20
+ .text {
21
+ color: var(--Neutral-600, #6d7275);
22
+ font-size: 0.875rem;
23
+ line-height: 18px;
24
+ letter-spacing: -0.3px;
25
+ white-space: nowrap;
26
+ }
27
+ }
28
+ `;
@@ -1,6 +1,6 @@
1
- @import '../../../globalStyles/variables.scss';
1
+ import styled from 'styled-components'
2
2
 
3
- .also-known-as {
3
+ export const AlsoKnownAsStyled = styled.div`
4
4
  display: flex;
5
5
  align-items: center;
6
6
  gap: calc(1rem / 2);
@@ -15,7 +15,7 @@
15
15
  svg {
16
16
  width: 18px;
17
17
  height: 18px;
18
- fill: get-color('secondary', 'main-dark-1');
18
+ fill: var(--secondary-main-dark-1);
19
19
  }
20
20
 
21
21
  .text {
@@ -26,4 +26,4 @@
26
26
  white-space: nowrap;
27
27
  }
28
28
  }
29
- }
29
+ `
@@ -1,15 +1,15 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
3
  import { type AlsoKnownAsProps } from './AlsoKnownAsProps.types'
4
+ import { AlsoKnownAsStyled } from './AlsoKnownAs.styled'
4
5
  import { DocumentTag } from '../../atoms'
5
6
  import { SymbolDoc } from '../../../../images/componentsSvg/SymbolDoc'
6
- // import './AlsoKnownAs.scss'
7
7
 
8
8
  const AlsoKnownAs: FC<AlsoKnownAsProps> = ({ title = '', documents = [] }) => {
9
9
  if (documents.length === 0) return null
10
10
 
11
11
  return (
12
- <div className='also-known-as'>
12
+ <AlsoKnownAsStyled className='also-known-as'>
13
13
  <p className='title'>
14
14
  <SymbolDoc />
15
15
  <span className='text'>{title}</span>
@@ -17,7 +17,7 @@ const AlsoKnownAs: FC<AlsoKnownAsProps> = ({ title = '', documents = [] }) => {
17
17
  {documents.map((item) => (
18
18
  <DocumentTag key={item} text={item} />
19
19
  ))}
20
- </div>
20
+ </AlsoKnownAsStyled>
21
21
  )
22
22
  }
23
23
 
@@ -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';
2
+ import { ArticleStyled } from './Article.styled';
3
3
  import { Button } from '../../atoms';
4
- // 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(ArticleStyled, { 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;
@@ -0,0 +1 @@
1
+ export declare const ArticleStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,65 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const ArticleStyled = styled.div `
4
+ display: flex;
5
+ flex-flow: row wrap;
6
+ flex: 1 1 0;
7
+ border-radius: var(--global-border-radius);
8
+ box-shadow: var(--box-shadow-small);
9
+ max-width: $md;
10
+ margin: 1rem 0;
11
+
12
+ @media ${device.laptop} {
13
+ margin: 0 0.5rem;
14
+ }
15
+
16
+ .image {
17
+ object-fit: cover;
18
+ object-position: 25%;
19
+ height: 13em;
20
+ width: 100%;
21
+
22
+ @media ${device['landscape-tablets']} {
23
+ width: 35%;
24
+ height: auto;
25
+ }
26
+ }
27
+
28
+ .information {
29
+ width: 100%;
30
+ padding: 1rem 1.5rem 0;
31
+ text-align: left;
32
+ max-width: 100%;
33
+
34
+ @media ${device['landscape-tablets']} {
35
+ width: 65%;
36
+ height: 100%;
37
+ }
38
+
39
+ .title {
40
+ font-weight: bold;
41
+ }
42
+
43
+ .summary {
44
+ color: #6d7275;
45
+ margin: 0.5rem 0;
46
+ display: -webkit-box;
47
+ -webkit-line-clamp: 5;
48
+ -webkit-box-orient: vertical;
49
+ overflow: hidden;
50
+ text-overflow: ellipsis;
51
+
52
+ @media ${device['landscape-tablets']} {
53
+ margin: 0;
54
+ padding: 0.5rem 0;
55
+ }
56
+ }
57
+
58
+ .e-button {
59
+ margin: 2.5rem 0 1rem -1rem;
60
+ @media ${device.laptop} {
61
+ margin-top: 0;
62
+ }
63
+ }
64
+ }
65
+ `;
@@ -1,16 +1,16 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
3
 
4
- .article {
4
+ export const ArticleStyled = styled.div`
5
5
  display: flex;
6
6
  flex-flow: row wrap;
7
7
  flex: 1 1 0;
8
8
  border-radius: var(--global-border-radius);
9
- box-shadow: $box-shadow-small;
9
+ box-shadow: var(--box-shadow-small);
10
10
  max-width: $md;
11
11
  margin: 1rem 0;
12
12
 
13
- @include laptop {
13
+ @media ${device.laptop} {
14
14
  margin: 0 0.5rem;
15
15
  }
16
16
 
@@ -20,7 +20,7 @@
20
20
  height: 13em;
21
21
  width: 100%;
22
22
 
23
- @include landscape-tablets {
23
+ @media ${device['landscape-tablets']} {
24
24
  width: 35%;
25
25
  height: auto;
26
26
  }
@@ -32,7 +32,7 @@
32
32
  text-align: left;
33
33
  max-width: 100%;
34
34
 
35
- @include landscape-tablets {
35
+ @media ${device['landscape-tablets']} {
36
36
  width: 65%;
37
37
  height: 100%;
38
38
  }
@@ -50,7 +50,7 @@
50
50
  overflow: hidden;
51
51
  text-overflow: ellipsis;
52
52
 
53
- @include landscape-tablets {
53
+ @media ${device['landscape-tablets']} {
54
54
  margin: 0;
55
55
  padding: 0.5rem 0;
56
56
  }
@@ -58,26 +58,9 @@
58
58
 
59
59
  .e-button {
60
60
  margin: 2.5rem 0 1rem -1rem;
61
- @include laptop {
61
+ @media ${device.laptop} {
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,36 +1,21 @@
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'
4
+ import { ArticleStyled } from './Article.styled'
5
5
  import { Button } from '../../atoms'
6
- // 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
- <div className='article'>
9
+ <ArticleStyled className='article'>
11
10
  <img src={imageUrl} className='image' loading='lazy' alt={title} />
12
11
  <div className='information'>
13
12
  <a href={articleUrl} target='_blank' rel='noreferrer'>
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
- </div>
18
+ </ArticleStyled>
34
19
  )
35
20
  }
36
21
 
@@ -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
  }