@npm_leadtech/legal-lib-components 5.7.7 → 5.7.8

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 +2175 -184
  2. package/dist/images/svg/arrow-right-24px-outlined.svg +3 -0
  3. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
  4. package/dist/src/components/molecules/AccordionItem/{AccordionItem.styled.ts → AccordionItem.scss} +3 -3
  5. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +4 -3
  6. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
  7. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -0
  8. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
  9. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
  10. package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.styled.ts → AlsoKnownAs.scss} +4 -4
  11. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
  12. package/dist/src/components/molecules/Article/Article.js +4 -3
  13. package/dist/src/components/molecules/Article/{Article.styled.ts → Article.scss} +27 -10
  14. package/dist/src/components/molecules/Article/Article.tsx +20 -5
  15. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +1 -0
  16. package/dist/src/components/molecules/Article/ArticleProps.types.ts +1 -0
  17. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
  18. package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.styled.ts → BaseBoxList.scss} +5 -5
  19. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +2 -6
  20. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  21. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +16 -0
  22. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
  23. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
  24. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +49 -0
  25. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
  26. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
  27. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +93 -0
  28. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
  29. package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
  30. package/dist/src/components/molecules/BoxForm/BoxForm.scss +129 -0
  31. package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
  32. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
  33. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +7 -0
  34. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
  35. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +1 -2
  36. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
  37. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +2 -3
  38. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +1 -2
  39. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
  40. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +3 -4
  41. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
  42. package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.styled.ts → EmailContactBox.scss} +3 -3
  43. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
  44. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +1 -2
  45. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +14 -0
  46. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +1 -2
  47. package/dist/src/components/molecules/FaqItem/FaqItem.js +6 -5
  48. package/dist/src/components/molecules/FaqItem/{FaqItem.styled.ts → FaqItem.scss} +5 -4
  49. package/dist/src/components/molecules/FaqItem/FaqItem.tsx +10 -9
  50. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
  51. package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.styled.ts → FeatureRatafiaCardList.scss} +2 -4
  52. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
  53. package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
  54. package/dist/src/components/molecules/Feedback/Feedback.scss +109 -0
  55. package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
  56. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
  57. package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.styled.ts → FreeDocModalContent.scss} +10 -10
  58. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
  59. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
  60. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +31 -0
  61. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
  62. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
  63. package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.styled.ts → KeyFactCardListRatafia.scss} +3 -3
  64. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
  65. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
  66. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +32 -0
  67. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
  68. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
  69. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
  70. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
  71. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -0
  72. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
  73. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
  74. package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.styled.ts → MoreDocsDesktop.scss} +8 -9
  75. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
  76. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
  77. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +71 -0
  78. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
  79. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
  80. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +33 -0
  81. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
  82. package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
  83. package/dist/src/components/molecules/Pagination/Pagination.scss +62 -0
  84. package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
  85. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +1 -2
  86. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
  87. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -3
  88. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
  89. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +33 -0
  90. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
  91. package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
  92. package/dist/src/components/molecules/PopularDocs/{PopularDocs.styled.ts → PopularDocs.scss} +6 -7
  93. package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
  94. package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
  95. package/dist/src/components/molecules/PricingCard/PricingCard.scss +186 -0
  96. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +3 -6
  97. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +1 -2
  98. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +93 -0
  99. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +2 -3
  100. package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
  101. package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -0
  102. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
  103. package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
  104. package/dist/src/components/molecules/StepGetForm/{StepGetForm.styled.ts → StepGetForm.scss} +13 -13
  105. package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
  106. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +1 -2
  107. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +2 -3
  108. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
  109. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
  110. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
  111. package/dist/src/components/molecules/TextInput/TextInput.js +1 -0
  112. package/dist/src/components/molecules/TextInput/TextInput.tsx +1 -0
  113. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
  114. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +14 -0
  115. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
  116. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +1 -2
  117. package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.styled.ts → TypeModulesList.scss} +11 -11
  118. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +2 -3
  119. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
  120. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
  121. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +3 -8
  122. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  123. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
  124. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +1 -0
  125. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +1 -0
  126. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
  127. package/dist/src/components/sections/BlogSection/BlogSection.js +5 -4
  128. package/dist/src/components/sections/BlogSection/BlogSection.scss +54 -0
  129. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +21 -0
  130. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +21 -0
  131. package/dist/src/components/sections/BlogSection/BlogSection.tsx +10 -6
  132. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
  133. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
  134. package/dist/src/custom.d.ts +1 -1
  135. package/dist/src/globalStyles/styles.scss +43 -3
  136. package/dist/tsconfig.build.tsbuildinfo +1 -1
  137. package/package.json +1 -1
  138. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +0 -1
  139. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +0 -69
  140. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +0 -1
  141. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +0 -7
  142. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +0 -8
  143. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +0 -1
  144. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +0 -28
  145. package/dist/src/components/molecules/Article/Article.styled.d.ts +0 -1
  146. package/dist/src/components/molecules/Article/Article.styled.js +0 -65
  147. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +0 -1
  148. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.js +0 -25
  149. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +0 -1
  150. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +0 -15
  151. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +0 -16
  152. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +0 -1
  153. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +0 -50
  154. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +0 -51
  155. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +0 -1
  156. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +0 -94
  157. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +0 -95
  158. package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +0 -1
  159. package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +0 -127
  160. package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +0 -128
  161. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +0 -1
  162. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +0 -10
  163. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +0 -11
  164. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +0 -1
  165. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +0 -45
  166. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +0 -46
  167. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +0 -1
  168. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +0 -38
  169. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +0 -39
  170. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +0 -1
  171. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +0 -34
  172. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +0 -1
  173. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +0 -13
  174. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +0 -14
  175. package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +0 -1
  176. package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +0 -61
  177. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +0 -1
  178. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +0 -9
  179. package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +0 -1
  180. package/dist/src/components/molecules/Feedback/Feedback.styled.js +0 -114
  181. package/dist/src/components/molecules/Feedback/Feedback.styled.ts +0 -115
  182. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +0 -1
  183. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +0 -109
  184. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +0 -1
  185. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +0 -32
  186. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +0 -33
  187. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +0 -1
  188. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +0 -20
  189. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +0 -1
  190. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +0 -33
  191. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +0 -34
  192. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +0 -1
  193. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +0 -30
  194. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +0 -31
  195. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +0 -1
  196. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +0 -69
  197. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +0 -70
  198. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +0 -1
  199. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +0 -74
  200. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +0 -1
  201. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +0 -72
  202. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +0 -73
  203. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +0 -1
  204. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +0 -35
  205. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +0 -36
  206. package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +0 -1
  207. package/dist/src/components/molecules/Pagination/Pagination.styled.js +0 -63
  208. package/dist/src/components/molecules/Pagination/Pagination.styled.ts +0 -64
  209. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +0 -1
  210. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +0 -59
  211. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +0 -60
  212. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +0 -1
  213. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +0 -32
  214. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +0 -33
  215. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +0 -1
  216. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +0 -34
  217. package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +0 -1
  218. package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +0 -189
  219. package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +0 -190
  220. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
  221. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +0 -93
  222. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +0 -94
  223. package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +0 -1
  224. package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +0 -139
  225. package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +0 -140
  226. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +0 -1
  227. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +0 -104
  228. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +0 -1
  229. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +0 -19
  230. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +0 -20
  231. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +0 -1
  232. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +0 -6
  233. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +0 -7
  234. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +0 -1
  235. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +0 -14
  236. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +0 -15
  237. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +0 -1
  238. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +0 -107
  239. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +0 -1
  240. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +0 -64
  241. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +0 -65
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.70531 0.705315C8.31578 0.31578 7.68422 0.31578 7.29468 0.705316C6.9054 1.0946 6.90511 1.72568 7.29405 2.11531L12.17 7H0.999999C0.447714 7 0 7.44772 0 8C0 8.55229 0.447715 9 1 9H12.17L7.29405 13.8847C6.90511 14.2743 6.9054 14.9054 7.29468 15.2947C7.68422 15.6842 8.31578 15.6842 8.70532 15.2947L15.2929 8.70711C15.6834 8.31658 15.6834 7.68342 15.2929 7.29289L8.70531 0.705315Z" fill="#078080"/>
3
+ </svg>
@@ -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 { AccordionItemStyled } from './AccordionItem.styled';
6
+ // import './AccordionItem.scss'
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(AccordionItemStyled, { className: 'accordion__container', children: [_jsxs("button", { className: `accordion__button
17
+ return (_jsxs("div", { 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();
@@ -1,6 +1,6 @@
1
- import styled from 'styled-components'
1
+ @import '../../../globalStyles/mediaqueries.scss';
2
2
 
3
- export const AccordionItemStyled = styled.div`
3
+ .accordion__container {
4
4
  overflow: hidden;
5
5
  border-bottom: 1px solid var(--neutral-neutral-4);
6
6
 
@@ -67,4 +67,4 @@ export const AccordionItemStyled = styled.div`
67
67
  border-left: 1px solid var(--neutral-neutral-4);
68
68
  border-bottom: none;
69
69
  }
70
- `
70
+ }
@@ -4,7 +4,8 @@ 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
- import { AccordionItemStyled } from './AccordionItem.styled'
7
+
8
+ // import './AccordionItem.scss'
8
9
 
9
10
  export const AccordionItem = ({
10
11
  accordionRightContent,
@@ -27,7 +28,7 @@ export const AccordionItem = ({
27
28
  }, [state.locked.actionType])
28
29
 
29
30
  return (
30
- <AccordionItemStyled className='accordion__container'>
31
+ <div className='accordion__container'>
31
32
  <button
32
33
  className={`accordion__button
33
34
  ${state.handler === 'success' ? '--success' : ''}
@@ -47,6 +48,6 @@ export const AccordionItem = ({
47
48
  >
48
49
  {children}
49
50
  </div>
50
- </AccordionItemStyled>
51
+ </div>
51
52
  )
52
53
  }
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { ActionButtonHeaderRatafiaCard } from '../../atoms';
3
- import { ActionButtonHeaderRatafiaCardListStyled } from './ActionButtonHeaderRatafiaCardList.styled';
3
+ // import './ActionButtonHeaderRatafiaCardList.scss'
4
4
  const ActionButtonHeaderRatafiaCardList = ({ actionButtons }) => {
5
5
  if (actionButtons.length === 0)
6
6
  return null;
7
- return (_jsx(ActionButtonHeaderRatafiaCardListStyled, { className: 'action-button-header-ratafia-card-list', children: actionButtons.map((actionButton) => (_jsx(ActionButtonHeaderRatafiaCard, { ...actionButton }, actionButton.id))) }));
7
+ return (_jsx("div", { 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,7 @@
1
+ .action-button-header-ratafia-card-list {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 1rem;
5
+
6
+ border-radius: 4px 4px 0 0;
7
+ }
@@ -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 { ActionButtonHeaderRatafiaCardListStyled } from './ActionButtonHeaderRatafiaCardList.styled'
5
+ // import './ActionButtonHeaderRatafiaCardList.scss'
6
6
 
7
7
  const ActionButtonHeaderRatafiaCardList: FC<ActionButtonHeaderRatafiaCardListProps> = ({ actionButtons }) => {
8
8
  if (actionButtons.length === 0) return null
9
9
 
10
10
  return (
11
- <ActionButtonHeaderRatafiaCardListStyled className='action-button-header-ratafia-card-list'>
11
+ <div className='action-button-header-ratafia-card-list'>
12
12
  {actionButtons.map((actionButton) => (
13
13
  <ActionButtonHeaderRatafiaCard key={actionButton.id} {...actionButton} />
14
14
  ))}
15
- </ActionButtonHeaderRatafiaCardListStyled>
15
+ </div>
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';
3
2
  import { DocumentTag } from '../../atoms';
4
3
  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(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)))] }));
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)))] }));
9
9
  };
10
10
  export default AlsoKnownAs;
@@ -1,6 +1,6 @@
1
- import styled from 'styled-components'
1
+ @import '../../../globalStyles/variables.scss';
2
2
 
3
- export const AlsoKnownAsStyled = styled.div`
3
+ .also-known-as {
4
4
  display: flex;
5
5
  align-items: center;
6
6
  gap: calc(1rem / 2);
@@ -15,7 +15,7 @@ export const AlsoKnownAsStyled = styled.div`
15
15
  svg {
16
16
  width: 18px;
17
17
  height: 18px;
18
- fill: var(--secondary-main-dark-1);
18
+ fill: get-color('secondary', 'main-dark-1');
19
19
  }
20
20
 
21
21
  .text {
@@ -26,4 +26,4 @@ export const AlsoKnownAsStyled = styled.div`
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'
5
4
  import { DocumentTag } from '../../atoms'
6
5
  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
- <AlsoKnownAsStyled className='also-known-as'>
12
+ <div 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
- </AlsoKnownAsStyled>
20
+ </div>
21
21
  )
22
22
  }
23
23
 
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ArticleStyled } from './Article.styled';
2
+ import ArrowRight from '../../../../images/svg/arrow-right-24px-outlined.svg';
3
3
  import { Button } from '../../atoms';
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 })] })] }));
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 }))] })] }));
6
7
  };
7
8
  export default Article;
@@ -1,16 +1,16 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
3
 
4
- export const ArticleStyled = styled.div`
4
+ .article {
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: var(--box-shadow-small);
9
+ box-shadow: $box-shadow-small;
10
10
  max-width: $md;
11
11
  margin: 1rem 0;
12
12
 
13
- @media ${device.laptop} {
13
+ @include laptop {
14
14
  margin: 0 0.5rem;
15
15
  }
16
16
 
@@ -20,7 +20,7 @@ export const ArticleStyled = styled.div`
20
20
  height: 13em;
21
21
  width: 100%;
22
22
 
23
- @media ${device['landscape-tablets']} {
23
+ @include landscape-tablets {
24
24
  width: 35%;
25
25
  height: auto;
26
26
  }
@@ -32,7 +32,7 @@ export const ArticleStyled = styled.div`
32
32
  text-align: left;
33
33
  max-width: 100%;
34
34
 
35
- @media ${device['landscape-tablets']} {
35
+ @include landscape-tablets {
36
36
  width: 65%;
37
37
  height: 100%;
38
38
  }
@@ -50,7 +50,7 @@ export const ArticleStyled = styled.div`
50
50
  overflow: hidden;
51
51
  text-overflow: ellipsis;
52
52
 
53
- @media ${device['landscape-tablets']} {
53
+ @include landscape-tablets {
54
54
  margin: 0;
55
55
  padding: 0.5rem 0;
56
56
  }
@@ -58,9 +58,26 @@ export const ArticleStyled = styled.div`
58
58
 
59
59
  .e-button {
60
60
  margin: 2.5rem 0 1rem -1rem;
61
- @media ${device.laptop} {
61
+ @include 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
+ }
65
82
  }
66
- `
83
+ }
@@ -1,21 +1,36 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
+ import ArrowRight from '../../../../images/svg/arrow-right-24px-outlined.svg'
3
4
  import { type ArticleProps } from './ArticleProps.types'
4
- import { ArticleStyled } from './Article.styled'
5
5
  import { Button } from '../../atoms'
6
+ // import './Article.scss'
6
7
 
7
- const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary }) => {
8
+ const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary, isCategoryProductPage }) => {
8
9
  return (
9
- <ArticleStyled className='article'>
10
+ <div className='article'>
10
11
  <img src={imageUrl} className='image' loading='lazy' alt={title} />
11
12
  <div className='information'>
12
13
  <a href={articleUrl} target='_blank' rel='noreferrer'>
13
14
  <p className='title sans-serif --big'>{title} </p>
14
15
  </a>
15
16
  <div className='summary'>{summary}</div>
16
- <Button color='tertiary' label={'Read more'} dataQa='article-read-more' link={articleUrl} isExternal />
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
+ )}
17
32
  </div>
18
- </ArticleStyled>
33
+ </div>
19
34
  )
20
35
  }
21
36
 
@@ -4,4 +4,5 @@ export interface ArticleProps {
4
4
  articleUrl: string;
5
5
  summary: string;
6
6
  id: string;
7
+ isCategoryProductPage: boolean;
7
8
  }
@@ -4,4 +4,5 @@ export interface ArticleProps {
4
4
  articleUrl: string
5
5
  summary: string
6
6
  id: string
7
+ isCategoryProductPage: boolean
7
8
  }
@@ -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 { BaseBoxListStyled } from './BaseBoxList.styled';
4
+ // import './BaseBoxList.scss'
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(BaseBoxListStyled, { className: classes, children: children ?? list?.map((box, index) => _jsx(BaseBox, { ...box }, index)) }));
11
+ return _jsx("div", { className: classes, children: children ?? list?.map((box, index) => _jsx(BaseBox, { ...box }, index)) });
12
12
  };
13
13
  export default BaseBoxList;
@@ -1,6 +1,7 @@
1
- import styled from 'styled-components'
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
2
3
 
3
- export const BaseBoxListStyled = styled.div`
4
+ .base-box-group {
4
5
  display: block;
5
6
  .base-box {
6
7
  &:first-child:not(:last-child) {
@@ -17,10 +18,9 @@ export const BaseBoxListStyled = styled.div`
17
18
  border-radius: 0 0 4px 4px;
18
19
  }
19
20
  }
20
-
21
- .base-box-group--padded {
21
+ &--padded {
22
22
  .base-box {
23
23
  padding: 2rem;
24
24
  }
25
25
  }
26
- `
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 { BaseBoxListStyled } from './BaseBoxList.styled'
6
+ // import './BaseBoxList.scss'
7
7
 
8
8
  const BaseBoxList: FC<BaseBoxListProps> = ({ list, padded, children, givenClass = '' }) => {
9
9
  if (children === undefined && list?.length === 0) return null
@@ -12,11 +12,7 @@ const BaseBoxList: FC<BaseBoxListProps> = ({ list, padded, children, givenClass
12
12
  'base-box-group--padded': padded
13
13
  })
14
14
 
15
- return (
16
- <BaseBoxListStyled className={classes}>
17
- {children ?? list?.map((box, index) => <BaseBox key={index} {...box} />)}
18
- </BaseBoxListStyled>
19
- )
15
+ return <div className={classes}>{children ?? list?.map((box, index) => <BaseBox key={index} {...box} />)}</div>
20
16
  }
21
17
 
22
18
  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 { BenefitRatafiaCardListStyled } from './BenefitRatafiaCardList.styled';
3
+ // import './BenefitRatafiaCardList.scss'
4
4
  const BenefitRatafiaCardList = ({ benefits = [] }) => {
5
5
  if (benefits.length === 0)
6
6
  return null;
7
- return (_jsx(BenefitRatafiaCardListStyled, { className: 'benefit-ratafia-card-list', children: benefits.map((benefit) => (_jsx(BenefitRatafiaCard, { ...benefit }, benefit.id))) }));
7
+ return (_jsx("div", { className: 'benefit-ratafia-card-list', children: benefits.map((benefit) => (_jsx(BenefitRatafiaCard, { ...benefit }, benefit.id))) }));
8
8
  };
9
9
  export default BenefitRatafiaCardList;
@@ -0,0 +1,16 @@
1
+ @import '../../../globalStyles/mediaqueries.scss';
2
+
3
+ .benefit-ratafia-card-list {
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ align-items: center;
8
+ align-self: stretch;
9
+
10
+ gap: 1rem;
11
+
12
+ @include laptop {
13
+ flex-direction: row;
14
+ gap: 2rem;
15
+ }
16
+ }
@@ -2,17 +2,17 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { BenefitRatafiaCard } from '../../atoms'
4
4
  import { type BenefitRatafiaCardListProps } from './BenefitRatafiaCardListProps.types'
5
- import { BenefitRatafiaCardListStyled } from './BenefitRatafiaCardList.styled'
5
+ // import './BenefitRatafiaCardList.scss'
6
6
 
7
7
  const BenefitRatafiaCardList: FC<BenefitRatafiaCardListProps> = ({ benefits = [] }) => {
8
8
  if (benefits.length === 0) return null
9
9
 
10
10
  return (
11
- <BenefitRatafiaCardListStyled className='benefit-ratafia-card-list'>
11
+ <div className='benefit-ratafia-card-list'>
12
12
  {benefits.map((benefit) => (
13
13
  <BenefitRatafiaCard key={benefit.id} {...benefit} />
14
14
  ))}
15
- </BenefitRatafiaCardListStyled>
15
+ </div>
16
16
  )
17
17
  }
18
18
  export default BenefitRatafiaCardList
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button, RichTextInner } from '../../atoms';
3
- import { BottomFixedBarStyled } from './BottomFixedBar.styled';
3
+ // import './BottomFixedBar.scss'
4
4
  const BottomFixedBar = ({ text, button }) => {
5
5
  if (text === undefined || button === undefined)
6
6
  return null;
7
- return (_jsxs(BottomFixedBarStyled, { className: 'bottom-fixed-bar', children: [_jsx(RichTextInner, { customClass: 'bottom-fixed-bar__text sans-serif --extra-small', children: text }), _jsx("div", { className: 'bottom-fixed-bar__button-container', children: _jsx(Button, { noLink: true, color: 'primary3', ...button }) })] }));
7
+ return (_jsxs("div", { className: 'bottom-fixed-bar', children: [_jsx(RichTextInner, { customClass: 'bottom-fixed-bar__text sans-serif --extra-small', children: text }), _jsx("div", { className: 'bottom-fixed-bar__button-container', children: _jsx(Button, { noLink: true, color: 'primary3', ...button }) })] }));
8
8
  };
9
9
  export default BottomFixedBar;
@@ -0,0 +1,49 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .bottom-fixed-bar {
5
+ padding: 0 1.5rem 1rem;
6
+ display: flex;
7
+ z-index: 3;
8
+ bottom: 0;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ justify-content: center;
12
+ width: 100%;
13
+ background-color: black;
14
+ color: var(--others-white);
15
+
16
+ @include portrait-tablets {
17
+ flex-direction: row;
18
+ align-items: center;
19
+ padding-bottom: 0;
20
+ }
21
+
22
+ &__text {
23
+ margin-top: 1rem;
24
+ margin-bottom: 0.5rem;
25
+ max-width: 48rem;
26
+
27
+ @include portrait-tablets {
28
+ margin-bottom: 1rem;
29
+ margin-right: 1.5rem;
30
+ }
31
+
32
+ @include laptop {
33
+ margin-right: 2.5rem;
34
+ }
35
+
36
+ a {
37
+ text-decoration: underline;
38
+ color: var(--others-white);
39
+ }
40
+
41
+ p {
42
+ margin-bottom: 0;
43
+ }
44
+ }
45
+
46
+ &__button-container > .e-button {
47
+ white-space: nowrap;
48
+ }
49
+ }
@@ -3,18 +3,18 @@ import React, { type FC } from 'react'
3
3
 
4
4
  import { Button, RichTextInner } from '../../atoms'
5
5
  import { type BottomFixedBarProps } from './BottomFixedBarProps.types'
6
- import { BottomFixedBarStyled } from './BottomFixedBar.styled'
6
+ // import './BottomFixedBar.scss'
7
7
 
8
8
  const BottomFixedBar: FC<BottomFixedBarProps> = ({ text, button }) => {
9
9
  if (text === undefined || button === undefined) return null
10
10
 
11
11
  return (
12
- <BottomFixedBarStyled className='bottom-fixed-bar'>
12
+ <div className='bottom-fixed-bar'>
13
13
  <RichTextInner customClass='bottom-fixed-bar__text sans-serif --extra-small'>{text}</RichTextInner>
14
14
  <div className='bottom-fixed-bar__button-container'>
15
15
  <Button noLink color='primary3' {...button} />
16
16
  </div>
17
- </BottomFixedBarStyled>
17
+ </div>
18
18
  )
19
19
  }
20
20
 
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /* eslint-disable @typescript-eslint/no-unused-vars */
3
3
  import { useEffect, useRef, useState } from 'react';
4
4
  import { useSwipeable } from 'react-swipeable';
5
- import { BottomOverlayStyled } from './BottomOverlay.styled';
5
+ // import './BottomOverlay.scss'
6
6
  const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer }) => {
7
7
  const [scrollingDown, setScrollingDown] = useState(false);
8
8
  const scrollingShadow = scrollingDown ? 'overlay__delimiter__scrolling' : '';
@@ -45,6 +45,6 @@ const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer
45
45
  onClose();
46
46
  }
47
47
  };
48
- return (_jsxs(BottomOverlayStyled, { className: `bottom-overlay ${givenClass ?? ''} ${open ? 'show' : ''}`, ...handlers, children: [_jsx("div", { ref: overlayBackground, className: 'bottom-overlay__background' }), _jsxs("nav", { ref: overlayMessage, className: 'bottom-overlay__nav', children: [_jsx("div", { className: `overlay__delimiter ${scrollingShadow}` }), header, _jsx("div", { className: 'overlay__scrollable-section', onScroll: handleScroll, children: body }), footer !== undefined && _jsx("div", { className: 'overlay__footer', children: footer })] })] }));
48
+ return (_jsxs("div", { className: `bottom-overlay ${givenClass ?? ''} ${open ? 'show' : ''}`, ...handlers, children: [_jsx("div", { ref: overlayBackground, className: 'bottom-overlay__background' }), _jsxs("nav", { ref: overlayMessage, className: 'bottom-overlay__nav', children: [_jsx("div", { className: `overlay__delimiter ${scrollingShadow}` }), header, _jsx("div", { className: 'overlay__scrollable-section', onScroll: handleScroll, children: body }), footer !== undefined && _jsx("div", { className: 'overlay__footer', children: footer })] })] }));
49
49
  };
50
50
  export default BottomOverlay;
@@ -0,0 +1,93 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .bottom-overlay {
5
+ position: fixed;
6
+ top: 0;
7
+ left: 0;
8
+ width: 100%;
9
+ height: 100%;
10
+ z-index: 1001;
11
+ visibility: hidden;
12
+
13
+ &.show {
14
+ visibility: visible;
15
+
16
+ .bottom-overlay__background {
17
+ opacity: 0.8;
18
+ }
19
+
20
+ .bottom-overlay__nav {
21
+ transform: translateY(0);
22
+ }
23
+ }
24
+
25
+ &__background {
26
+ background-color: var(--primary-main-dark-2);
27
+ position: absolute;
28
+ width: 100%;
29
+ height: 100%;
30
+ top: 0;
31
+ left: 0;
32
+ z-index: 1;
33
+ opacity: 0;
34
+ transition: opacity ease-out 0.3s;
35
+ }
36
+
37
+ &__nav {
38
+ background: var(--others-white);
39
+ border-top-left-radius: var(--global-border-radius);
40
+ border-top-right-radius: var(--global-border-radius);
41
+ bottom: 0;
42
+ position: absolute;
43
+ transform: translateY(100%);
44
+ transition: transform 0.5s ease-in-out;
45
+ width: 100%;
46
+ z-index: 2;
47
+
48
+ @include landscape-tablets {
49
+ display: block;
50
+ transform: translateY(0);
51
+ }
52
+
53
+ .overlay__delimiter {
54
+ padding: 0.5rem 0 1.5rem;
55
+
56
+ &:after {
57
+ content: '';
58
+ background: var(--neutral-neutral-3);
59
+ border-radius: var(--global-border-radius);
60
+ display: block;
61
+ height: 0.25rem;
62
+ margin: 0 auto;
63
+ width: 7.5rem;
64
+ }
65
+
66
+ &.overlay__delimiter__scrolling {
67
+ box-shadow: $box-shadow-small;
68
+ position: relative;
69
+ z-index: 1;
70
+ }
71
+
72
+ @include landscape-tablets {
73
+ display: none;
74
+ }
75
+ }
76
+
77
+ .overlay__scrollable-section {
78
+ position: sticky;
79
+ max-height: 21rem;
80
+ min-height: 8.5rem;
81
+ display: flex;
82
+ overflow-y: scroll;
83
+ padding-left: 1.5rem;
84
+ padding-right: 1.5rem;
85
+ width: 100%;
86
+ }
87
+
88
+ .overlay__footer {
89
+ border-top: solid 1px var(--neutral-neutral-4);
90
+ padding: 1.5rem 1.5rem 2rem;
91
+ }
92
+ }
93
+ }