@npm_leadtech/legal-lib-components 5.7.6 → 5.7.7

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 (241) hide show
  1. package/dist/css/styles.css +184 -2175
  2. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
  3. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +1 -0
  4. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +69 -0
  5. package/dist/src/components/molecules/AccordionItem/{AccordionItem.scss → AccordionItem.styled.ts} +3 -3
  6. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +3 -4
  7. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
  8. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +1 -0
  9. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +7 -0
  10. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +8 -0
  11. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
  12. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
  13. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +1 -0
  14. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +28 -0
  15. package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.scss → AlsoKnownAs.styled.ts} +4 -4
  16. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
  17. package/dist/src/components/molecules/Article/Article.js +3 -4
  18. package/dist/src/components/molecules/Article/Article.styled.d.ts +1 -0
  19. package/dist/src/components/molecules/Article/Article.styled.js +65 -0
  20. package/dist/src/components/molecules/Article/{Article.scss → Article.styled.ts} +10 -27
  21. package/dist/src/components/molecules/Article/Article.tsx +5 -20
  22. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
  23. package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
  24. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
  25. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +1 -0
  26. package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.scss → BaseBoxList.styled.js} +5 -6
  27. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.ts +26 -0
  28. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +6 -2
  29. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  30. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +1 -0
  31. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +15 -0
  32. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +16 -0
  33. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
  34. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
  35. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +1 -0
  36. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +50 -0
  37. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +51 -0
  38. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
  39. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
  40. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +1 -0
  41. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +94 -0
  42. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +95 -0
  43. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
  44. package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
  45. package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +1 -0
  46. package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +127 -0
  47. package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +128 -0
  48. package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
  49. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
  50. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +1 -0
  51. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +10 -0
  52. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +11 -0
  53. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
  54. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +2 -1
  55. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +1 -0
  56. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +45 -0
  57. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +46 -0
  58. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +3 -2
  59. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +2 -1
  60. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +1 -0
  61. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +38 -0
  62. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +39 -0
  63. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +4 -3
  64. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
  65. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +1 -0
  66. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +34 -0
  67. package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.scss → EmailContactBox.styled.ts} +3 -3
  68. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
  69. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +2 -1
  70. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +1 -0
  71. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +13 -0
  72. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +14 -0
  73. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +2 -1
  74. package/dist/src/components/molecules/FaqItem/FaqItem.js +2 -2
  75. package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +1 -0
  76. package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +61 -0
  77. package/dist/src/components/molecules/FaqItem/{FaqItem.scss → FaqItem.styled.ts} +4 -5
  78. package/dist/src/components/molecules/FaqItem/FaqItem.tsx +4 -4
  79. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
  80. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +1 -0
  81. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +9 -0
  82. package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.scss → FeatureRatafiaCardList.styled.ts} +4 -2
  83. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
  84. package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
  85. package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +1 -0
  86. package/dist/src/components/molecules/Feedback/Feedback.styled.js +114 -0
  87. package/dist/src/components/molecules/Feedback/Feedback.styled.ts +115 -0
  88. package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
  89. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
  90. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +1 -0
  91. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +109 -0
  92. package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.scss → FreeDocModalContent.styled.ts} +10 -10
  93. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
  94. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
  95. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +1 -0
  96. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +32 -0
  97. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +33 -0
  98. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
  99. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
  100. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +1 -0
  101. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +20 -0
  102. package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.scss → KeyFactCardListRatafia.styled.ts} +3 -3
  103. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
  104. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
  105. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +1 -0
  106. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +33 -0
  107. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +34 -0
  108. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
  109. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
  110. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +1 -0
  111. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +30 -0
  112. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +31 -0
  113. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
  114. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
  115. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +1 -0
  116. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +69 -0
  117. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +70 -0
  118. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
  119. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
  120. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +1 -0
  121. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +74 -0
  122. package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.scss → MoreDocsDesktop.styled.ts} +9 -8
  123. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
  124. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
  125. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +1 -0
  126. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +72 -0
  127. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +73 -0
  128. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
  129. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
  130. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +1 -0
  131. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +35 -0
  132. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +36 -0
  133. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
  134. package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
  135. package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +1 -0
  136. package/dist/src/components/molecules/Pagination/Pagination.styled.js +63 -0
  137. package/dist/src/components/molecules/Pagination/Pagination.styled.ts +64 -0
  138. package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
  139. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +2 -1
  140. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +1 -0
  141. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +59 -0
  142. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +60 -0
  143. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +3 -2
  144. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
  145. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +1 -0
  146. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +32 -0
  147. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +33 -0
  148. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
  149. package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
  150. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +1 -0
  151. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +34 -0
  152. package/dist/src/components/molecules/PopularDocs/{PopularDocs.scss → PopularDocs.styled.ts} +7 -6
  153. package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
  154. package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
  155. package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +1 -0
  156. package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +189 -0
  157. package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +190 -0
  158. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +6 -3
  159. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -1
  160. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  161. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +93 -0
  162. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +94 -0
  163. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +3 -2
  164. package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
  165. package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +1 -0
  166. package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +139 -0
  167. package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +140 -0
  168. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
  169. package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
  170. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +1 -0
  171. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +104 -0
  172. package/dist/src/components/molecules/StepGetForm/{StepGetForm.scss → StepGetForm.styled.ts} +13 -13
  173. package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
  174. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +2 -1
  175. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +1 -0
  176. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +19 -0
  177. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +20 -0
  178. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +3 -2
  179. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
  180. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +1 -0
  181. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +6 -0
  182. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +7 -0
  183. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
  184. package/dist/src/components/molecules/TextInput/TextInput.js +0 -1
  185. package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -1
  186. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
  187. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +1 -0
  188. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +14 -0
  189. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +15 -0
  190. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
  191. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +2 -1
  192. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +1 -0
  193. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +107 -0
  194. package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.scss → TypeModulesList.styled.ts} +11 -11
  195. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +3 -2
  196. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
  197. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +1 -0
  198. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +64 -0
  199. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +65 -0
  200. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +8 -3
  201. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  202. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
  203. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
  204. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
  205. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
  206. package/dist/src/components/sections/BlogSection/BlogSection.js +4 -5
  207. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -21
  208. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -21
  209. package/dist/src/components/sections/BlogSection/BlogSection.tsx +6 -10
  210. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
  211. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
  212. package/dist/src/custom.d.ts +1 -1
  213. package/dist/src/globalStyles/styles.scss +3 -43
  214. package/dist/tsconfig.build.tsbuildinfo +1 -1
  215. package/package.json +1 -1
  216. package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
  217. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +0 -7
  218. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +0 -16
  219. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +0 -49
  220. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +0 -93
  221. package/dist/src/components/molecules/BoxForm/BoxForm.scss +0 -129
  222. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +0 -7
  223. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +0 -42
  224. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +0 -37
  225. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +0 -14
  226. package/dist/src/components/molecules/Feedback/Feedback.scss +0 -109
  227. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +0 -31
  228. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +0 -32
  229. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +0 -69
  230. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +0 -71
  231. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +0 -33
  232. package/dist/src/components/molecules/Pagination/Pagination.scss +0 -62
  233. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +0 -60
  234. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +0 -33
  235. package/dist/src/components/molecules/PricingCard/PricingCard.scss +0 -186
  236. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
  237. package/dist/src/components/molecules/Snackbar/Snackbar.scss +0 -135
  238. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +0 -5
  239. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +0 -14
  240. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +0 -63
  241. package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
@@ -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
  }
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  import { BaseBox } from '../../atoms';
4
- // import './BaseBoxList.scss'
4
+ import { BaseBoxListStyled } from './BaseBoxList.styled';
5
5
  const BaseBoxList = ({ list, padded, children, givenClass = '' }) => {
6
6
  if (children === undefined && list?.length === 0)
7
7
  return null;
8
8
  const classes = classNames(`base-box-group ${givenClass}`, {
9
9
  'base-box-group--padded': padded
10
10
  });
11
- return _jsx("div", { className: classes, children: children ?? list?.map((box, index) => _jsx(BaseBox, { ...box }, index)) });
11
+ return (_jsx(BaseBoxListStyled, { className: classes, children: children ?? list?.map((box, index) => _jsx(BaseBox, { ...box }, index)) }));
12
12
  };
13
13
  export default BaseBoxList;
@@ -0,0 +1 @@
1
+ export declare const BaseBoxListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,7 +1,5 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
3
-
4
- .base-box-group {
1
+ import styled from 'styled-components';
2
+ export const BaseBoxListStyled = styled.div `
5
3
  display: block;
6
4
  .base-box {
7
5
  &:first-child:not(:last-child) {
@@ -18,9 +16,10 @@
18
16
  border-radius: 0 0 4px 4px;
19
17
  }
20
18
  }
21
- &--padded {
19
+
20
+ .base-box-group--padded {
22
21
  .base-box {
23
22
  padding: 2rem;
24
23
  }
25
24
  }
26
- }
25
+ `;
@@ -0,0 +1,26 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const BaseBoxListStyled = styled.div`
4
+ display: block;
5
+ .base-box {
6
+ &:first-child:not(:last-child) {
7
+ border-radius: 4px 4px 0 0;
8
+ }
9
+
10
+ &:not(:last-child):not(:first-child) {
11
+ border-top: none;
12
+ border-radius: 0;
13
+ }
14
+
15
+ &:last-child:not(:first-child) {
16
+ border-top: none;
17
+ border-radius: 0 0 4px 4px;
18
+ }
19
+ }
20
+
21
+ .base-box-group--padded {
22
+ .base-box {
23
+ padding: 2rem;
24
+ }
25
+ }
26
+ `
@@ -3,7 +3,7 @@ import classNames from 'classnames'
3
3
 
4
4
  import { BaseBox } from '../../atoms'
5
5
  import { type BaseBoxListProps } from './BaseBoxListProps.types'
6
- // import './BaseBoxList.scss'
6
+ import { BaseBoxListStyled } from './BaseBoxList.styled'
7
7
 
8
8
  const BaseBoxList: FC<BaseBoxListProps> = ({ list, padded, children, givenClass = '' }) => {
9
9
  if (children === undefined && list?.length === 0) return null
@@ -12,7 +12,11 @@ const BaseBoxList: FC<BaseBoxListProps> = ({ list, padded, children, givenClass
12
12
  'base-box-group--padded': padded
13
13
  })
14
14
 
15
- return <div className={classes}>{children ?? list?.map((box, index) => <BaseBox key={index} {...box} />)}</div>
15
+ return (
16
+ <BaseBoxListStyled className={classes}>
17
+ {children ?? list?.map((box, index) => <BaseBox key={index} {...box} />)}
18
+ </BaseBoxListStyled>
19
+ )
16
20
  }
17
21
 
18
22
  export default BaseBoxList
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { BenefitRatafiaCard } from '../../atoms';
3
- // import './BenefitRatafiaCardList.scss'
3
+ import { BenefitRatafiaCardListStyled } from './BenefitRatafiaCardList.styled';
4
4
  const BenefitRatafiaCardList = ({ benefits = [] }) => {
5
5
  if (benefits.length === 0)
6
6
  return null;
7
- return (_jsx("div", { className: 'benefit-ratafia-card-list', children: benefits.map((benefit) => (_jsx(BenefitRatafiaCard, { ...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;
@@ -0,0 +1 @@
1
+ export declare const BenefitRatafiaCardListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,15 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const BenefitRatafiaCardListStyled = styled.div `
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ align-items: center;
8
+ align-self: stretch;
9
+ gap: 1rem;
10
+
11
+ @media ${device.laptop} {
12
+ flex-direction: row;
13
+ gap: 2rem;
14
+ }
15
+ `;
@@ -0,0 +1,16 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const BenefitRatafiaCardListStyled = styled.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
8
+ align-items: center;
9
+ align-self: stretch;
10
+ gap: 1rem;
11
+
12
+ @media ${device.laptop} {
13
+ flex-direction: row;
14
+ gap: 2rem;
15
+ }
16
+ `