@npm_leadtech/legal-lib-components 5.2.24 → 5.2.32

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 (401) hide show
  1. package/dist/css/styles.css +542 -2834
  2. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +2 -1
  3. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.d.ts +1 -0
  4. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.js +24 -0
  5. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.ts +25 -0
  6. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +7 -2
  7. package/dist/src/components/atoms/AddButton/AddButton.js +2 -1
  8. package/dist/src/components/atoms/AddButton/AddButton.styled.d.ts +1 -0
  9. package/dist/src/components/atoms/AddButton/AddButton.styled.js +48 -0
  10. package/dist/src/components/atoms/AddButton/AddButton.styled.ts +49 -0
  11. package/dist/src/components/atoms/AddButton/AddButton.tsx +3 -2
  12. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +2 -2
  13. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts +1 -0
  14. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +55 -0
  15. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +56 -0
  16. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +3 -3
  17. package/dist/src/components/atoms/BillCard/BillCard.js +2 -1
  18. package/dist/src/components/atoms/BillCard/BillCard.styled.d.ts +1 -0
  19. package/dist/src/components/atoms/BillCard/BillCard.styled.js +59 -0
  20. package/dist/src/components/atoms/BillCard/BillCard.styled.ts +60 -0
  21. package/dist/src/components/atoms/BillCard/BillCard.tsx +3 -2
  22. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +2 -1
  23. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.d.ts +1 -0
  24. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +34 -0
  25. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +35 -0
  26. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +2 -2
  27. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +2 -1
  28. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.d.ts +1 -0
  29. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.js +22 -0
  30. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.ts +23 -0
  31. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +3 -3
  32. package/dist/src/components/atoms/Button/Button.scss +28 -28
  33. package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +6 -6
  34. package/dist/src/components/atoms/CardPane/CardPane.js +2 -2
  35. package/dist/src/components/atoms/CardPane/CardPane.styled.d.ts +1 -0
  36. package/dist/src/components/atoms/CardPane/CardPane.styled.js +109 -0
  37. package/dist/src/components/atoms/CardPane/CardPane.styled.ts +110 -0
  38. package/dist/src/components/atoms/CardPane/CardPane.tsx +3 -3
  39. package/dist/src/components/atoms/Checkbox/Checkbox.js +2 -2
  40. package/dist/src/components/atoms/Checkbox/Checkbox.styled.d.ts +1 -0
  41. package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +133 -0
  42. package/dist/src/components/atoms/Checkbox/{Checkbox.scss → Checkbox.styled.ts} +18 -16
  43. package/dist/src/components/atoms/Checkbox/Checkbox.tsx +3 -3
  44. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +2 -2
  45. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.d.ts +1 -0
  46. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +120 -0
  47. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +121 -0
  48. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +3 -3
  49. package/dist/src/components/atoms/DatePickerCustom/index.js.map +4 -4
  50. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +6 -5
  51. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +3 -3
  52. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.d.ts +1 -0
  53. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +82 -0
  54. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +83 -0
  55. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +19 -16
  56. package/dist/src/components/atoms/Disclaimer/Disclaimer.js +2 -2
  57. package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.d.ts +1 -0
  58. package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +45 -0
  59. package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +46 -0
  60. package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +3 -3
  61. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +2 -2
  62. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.d.ts +1 -0
  63. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +149 -0
  64. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +150 -0
  65. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +3 -3
  66. package/dist/src/components/atoms/Divider/Divider.js +2 -2
  67. package/dist/src/components/atoms/Divider/Divider.styled.d.ts +1 -0
  68. package/dist/src/components/atoms/Divider/Divider.styled.js +21 -0
  69. package/dist/src/components/atoms/Divider/Divider.styled.ts +22 -0
  70. package/dist/src/components/atoms/Divider/Divider.tsx +3 -3
  71. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +4 -4
  72. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.d.ts +1 -0
  73. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +65 -0
  74. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +66 -0
  75. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +7 -7
  76. package/dist/src/components/atoms/DocumentTag/DocumentTag.js +2 -2
  77. package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.d.ts +1 -0
  78. package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +12 -0
  79. package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +13 -0
  80. package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +2 -2
  81. package/dist/src/components/atoms/ExpertCard/ExpertCard.js +2 -2
  82. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.d.ts +1 -0
  83. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +66 -0
  84. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +67 -0
  85. package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +3 -3
  86. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +2 -2
  87. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.d.ts +1 -0
  88. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +78 -0
  89. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +79 -0
  90. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +3 -3
  91. package/dist/src/components/atoms/FormFaq/FormFaq.js +2 -2
  92. package/dist/src/components/atoms/FormFaq/FormFaq.styled.d.ts +1 -0
  93. package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +73 -0
  94. package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +74 -0
  95. package/dist/src/components/atoms/FormFaq/FormFaq.tsx +3 -3
  96. package/dist/src/components/atoms/GoogleButton/GoogleButton.js +2 -2
  97. package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.d.ts +1 -0
  98. package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.js +21 -0
  99. package/dist/src/components/atoms/GoogleButton/{GoogleButton.scss → GoogleButton.styled.ts} +5 -5
  100. package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +3 -3
  101. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +2 -2
  102. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.d.ts +1 -0
  103. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.js +5 -0
  104. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.ts +6 -0
  105. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +2 -3
  106. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +2 -2
  107. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.d.ts +1 -0
  108. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +76 -0
  109. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +77 -0
  110. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +3 -4
  111. package/dist/src/components/atoms/InfoBox/InfoBox.js +2 -2
  112. package/dist/src/components/atoms/InfoBox/InfoBox.styled.d.ts +1 -0
  113. package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +41 -0
  114. package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +42 -0
  115. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +3 -3
  116. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +2 -2
  117. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.d.ts +1 -0
  118. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +7 -0
  119. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +8 -0
  120. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +3 -3
  121. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +2 -2
  122. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.d.ts +1 -0
  123. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +39 -0
  124. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +40 -0
  125. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +3 -3
  126. package/dist/src/components/atoms/LogoText/LogoText.js +2 -2
  127. package/dist/src/components/atoms/LogoText/LogoText.styled.d.ts +1 -0
  128. package/dist/src/components/atoms/LogoText/LogoText.styled.js +36 -0
  129. package/dist/src/components/atoms/LogoText/LogoText.styled.ts +37 -0
  130. package/dist/src/components/atoms/LogoText/LogoText.tsx +5 -5
  131. package/dist/src/components/atoms/MenuItems/MenuItems.js +2 -1
  132. package/dist/src/components/atoms/MenuItems/MenuItems.styled.d.ts +1 -0
  133. package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +71 -0
  134. package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +72 -0
  135. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -2
  136. package/dist/src/components/atoms/Message/Message.js +2 -2
  137. package/dist/src/components/atoms/Message/Message.styled.d.ts +1 -0
  138. package/dist/src/components/atoms/Message/Message.styled.js +31 -0
  139. package/dist/src/components/atoms/Message/Message.styled.ts +32 -0
  140. package/dist/src/components/atoms/Message/Message.tsx +3 -3
  141. package/dist/src/components/atoms/MessageInformation/MessageInformation.js +2 -2
  142. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.d.ts +1 -0
  143. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +53 -0
  144. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +54 -0
  145. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +4 -5
  146. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +2 -2
  147. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.d.ts +1 -0
  148. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +45 -0
  149. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +46 -0
  150. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +3 -3
  151. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +3 -3
  152. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.d.ts +1 -0
  153. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +63 -0
  154. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +64 -0
  155. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +6 -6
  156. package/dist/src/components/atoms/PaypalButton/PaypalButton.js +2 -2
  157. package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.d.ts +1 -0
  158. package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.js +6 -0
  159. package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.ts +7 -0
  160. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +3 -3
  161. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +2 -2
  162. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.d.ts +1 -0
  163. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +58 -0
  164. package/dist/src/components/atoms/PopularDocsItem/{PopularDocsItem.scss → PopularDocsItem.styled.ts} +24 -24
  165. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +3 -3
  166. package/dist/src/components/atoms/ProgressBar/ProgressBar.js +2 -2
  167. package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.d.ts +1 -0
  168. package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.js +23 -0
  169. package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.ts +24 -0
  170. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +3 -3
  171. package/dist/src/components/atoms/Radio/Radio.scss +29 -29
  172. package/dist/src/components/atoms/RemoveButton/RemoveButton.js +2 -2
  173. package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.d.ts +1 -0
  174. package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +43 -0
  175. package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +44 -0
  176. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +3 -3
  177. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +2 -2
  178. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.d.ts +1 -0
  179. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +55 -0
  180. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +56 -0
  181. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +3 -3
  182. package/dist/src/components/atoms/RichTextInner/RichTextInner.js +2 -2
  183. package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.d.ts +1 -0
  184. package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.js +38 -0
  185. package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.ts +39 -0
  186. package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +2 -2
  187. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +2 -2
  188. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.d.ts +1 -0
  189. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +9 -0
  190. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +10 -0
  191. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +7 -2
  192. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +3 -3
  193. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.d.ts +1 -0
  194. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +224 -0
  195. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +225 -0
  196. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +3 -3
  197. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +2 -2
  198. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.d.ts +1 -0
  199. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +48 -0
  200. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +49 -0
  201. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +3 -3
  202. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
  203. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.d.ts +1 -0
  204. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.js +92 -0
  205. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.ts +93 -0
  206. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +3 -3
  207. package/dist/src/components/atoms/Spinner/Spinner.js +2 -2
  208. package/dist/src/components/atoms/Spinner/Spinner.styled.d.ts +1 -0
  209. package/dist/src/components/atoms/Spinner/Spinner.styled.js +28 -0
  210. package/dist/src/components/atoms/Spinner/Spinner.styled.ts +29 -0
  211. package/dist/src/components/atoms/Spinner/Spinner.tsx +5 -5
  212. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +2 -2
  213. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.d.ts +1 -0
  214. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +28 -0
  215. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +29 -0
  216. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +3 -3
  217. package/dist/src/components/atoms/Tag/Tag.js +2 -2
  218. package/dist/src/components/atoms/Tag/Tag.scss +3 -3
  219. package/dist/src/components/atoms/Tag/Tag.styled.d.ts +1 -0
  220. package/dist/src/components/atoms/Tag/Tag.styled.js +24 -0
  221. package/dist/src/components/atoms/Tag/Tag.styled.ts +25 -0
  222. package/dist/src/components/atoms/Tag/Tag.tsx +5 -5
  223. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +2 -2
  224. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.d.ts +1 -0
  225. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +20 -0
  226. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +21 -0
  227. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +3 -3
  228. package/dist/src/components/atoms/Tagline/Tagline.js +2 -2
  229. package/dist/src/components/atoms/Tagline/Tagline.scss +3 -3
  230. package/dist/src/components/atoms/Tagline/Tagline.styled.d.ts +1 -0
  231. package/dist/src/components/atoms/Tagline/Tagline.styled.js +17 -0
  232. package/dist/src/components/atoms/Tagline/Tagline.styled.ts +18 -0
  233. package/dist/src/components/atoms/Tagline/Tagline.tsx +3 -3
  234. package/dist/src/components/atoms/TextArea/TextArea.js +2 -2
  235. package/dist/src/components/atoms/TextArea/TextArea.styled.d.ts +1 -0
  236. package/dist/src/components/atoms/TextArea/TextArea.styled.js +106 -0
  237. package/dist/src/components/atoms/TextArea/TextArea.styled.ts +107 -0
  238. package/dist/src/components/atoms/TextArea/TextArea.tsx +3 -3
  239. package/dist/src/components/atoms/Toggle/Toggle.js +2 -2
  240. package/dist/src/components/atoms/Toggle/Toggle.styled.d.ts +1 -0
  241. package/dist/src/components/atoms/Toggle/Toggle.styled.js +59 -0
  242. package/dist/src/components/atoms/Toggle/Toggle.styled.ts +60 -0
  243. package/dist/src/components/atoms/Toggle/Toggle.tsx +3 -3
  244. package/dist/src/components/atoms/Tooltip/Tooltip.scss +8 -8
  245. package/dist/src/components/atoms/TopBar/TopBar.js +2 -2
  246. package/dist/src/components/atoms/TopBar/TopBar.styled.d.ts +1 -0
  247. package/dist/src/components/atoms/TopBar/TopBar.styled.js +55 -0
  248. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +56 -0
  249. package/dist/src/components/atoms/TopBar/TopBar.tsx +3 -3
  250. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +2 -1
  251. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +1 -0
  252. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +49 -0
  253. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +50 -0
  254. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +6 -3
  255. package/dist/src/components/atoms/TrustPilot/TrustPilot.js +2 -2
  256. package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.d.ts +1 -0
  257. package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +12 -0
  258. package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +13 -0
  259. package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +2 -3
  260. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +2 -2
  261. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.d.ts +1 -0
  262. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.js +37 -0
  263. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.ts +38 -0
  264. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +3 -4
  265. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +2 -1
  266. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.d.ts +1 -0
  267. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +33 -0
  268. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +34 -0
  269. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +3 -4
  270. package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +9 -9
  271. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +2 -2
  272. package/dist/src/components/molecules/Article/Article.scss +1 -1
  273. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +2 -2
  274. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +7 -7
  275. package/dist/src/components/molecules/BoxForm/BoxForm.scss +9 -9
  276. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +1 -1
  277. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +4 -0
  278. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +1 -1
  279. package/dist/src/components/molecules/ContactBox/ContactBox.scss +5 -5
  280. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +6 -6
  281. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +4 -4
  282. package/dist/src/components/molecules/FaqItem/FaqItem.scss +5 -10
  283. package/dist/src/components/molecules/Feedback/Feedback.scss +5 -5
  284. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +3 -3
  285. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +1 -1
  286. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +3 -3
  287. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +1 -1
  288. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +2 -2
  289. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +7 -7
  290. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +2 -2
  291. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +1 -1
  292. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +3 -3
  293. package/dist/src/components/molecules/Pagination/Pagination.scss +7 -7
  294. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +3 -3
  295. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +1 -1
  296. package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +2 -2
  297. package/dist/src/components/molecules/PricingCard/PricingCard.scss +14 -14
  298. package/dist/src/components/molecules/Snackbar/Snackbar.scss +9 -9
  299. package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +5 -5
  300. package/dist/src/components/molecules/TextInput/TextInput.scss +20 -20
  301. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +5 -5
  302. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +4 -4
  303. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +4 -4
  304. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +3 -3
  305. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +2 -2
  306. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.scss +10 -10
  307. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +3 -3
  308. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +2 -2
  309. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +1 -1
  310. package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +2 -2
  311. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +2 -2
  312. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +4 -4
  313. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +3 -3
  314. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +8 -8
  315. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +1 -1
  316. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +4 -4
  317. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +2 -2
  318. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +1 -1
  319. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +4 -4
  320. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +1 -1
  321. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +4 -4
  322. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +1 -1
  323. package/dist/src/components/pages/FaqsPage/FaqsPage.scss +8 -8
  324. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +1 -1
  325. package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +2 -2
  326. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +6 -6
  327. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +2 -1
  328. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +3 -3
  329. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +2 -2
  330. package/dist/src/components/sections/BlogSection/BlogSection.scss +1 -1
  331. package/dist/src/components/sections/ContactSection/ContactSection.scss +2 -2
  332. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +2 -2
  333. package/dist/src/components/sections/FaqSection/FaqSection.scss +1 -1
  334. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +2 -2
  335. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +2 -2
  336. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +7 -7
  337. package/dist/src/components/sections/LegalSection/LegalSection.scss +10 -10
  338. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +1 -1
  339. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +1 -1
  340. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +1 -1
  341. package/dist/src/components/sections/TryUsSection/TryUsSection.scss +2 -2
  342. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +3 -3
  343. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +1 -1
  344. package/dist/src/globalStyles/animations.scss +1 -1
  345. package/dist/src/globalStyles/base.scss +5 -5
  346. package/dist/src/globalStyles/breakpoints.d.ts +19 -0
  347. package/dist/src/globalStyles/breakpoints.js +17 -0
  348. package/dist/src/globalStyles/breakpoints.ts +28 -0
  349. package/dist/src/globalStyles/styles.scss +4 -53
  350. package/dist/src/globalStyles/themes.scss +26 -0
  351. package/dist/src/globalStyles/typography.scss +1 -1
  352. package/dist/src/globalStyles/variables.scss +7 -6
  353. package/dist/src/globalStyles/variablesCss.scss +14 -0
  354. package/dist/tsconfig.build.tsbuildinfo +1 -1
  355. package/package.json +1 -1
  356. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +0 -24
  357. package/dist/src/components/atoms/AddButton/AddButton.scss +0 -48
  358. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +0 -54
  359. package/dist/src/components/atoms/BillCard/BillCard.scss +0 -57
  360. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +0 -33
  361. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +0 -21
  362. package/dist/src/components/atoms/CardPane/CardPane.scss +0 -106
  363. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +0 -116
  364. package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +0 -45
  365. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +0 -149
  366. package/dist/src/components/atoms/Divider/Divider.scss +0 -20
  367. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +0 -91
  368. package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +0 -13
  369. package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +0 -65
  370. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +0 -79
  371. package/dist/src/components/atoms/FormFaq/FormFaq.scss +0 -72
  372. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +0 -6
  373. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +0 -80
  374. package/dist/src/components/atoms/InfoBox/InfoBox.scss +0 -40
  375. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +0 -8
  376. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +0 -38
  377. package/dist/src/components/atoms/LogoText/LogoText.scss +0 -34
  378. package/dist/src/components/atoms/MenuItems/MenuItems.scss +0 -70
  379. package/dist/src/components/atoms/Message/Message.scss +0 -31
  380. package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +0 -51
  381. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +0 -44
  382. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +0 -60
  383. package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +0 -5
  384. package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +0 -24
  385. package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +0 -43
  386. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +0 -54
  387. package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +0 -34
  388. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +0 -9
  389. package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +0 -222
  390. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +0 -48
  391. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +0 -90
  392. package/dist/src/components/atoms/Spinner/Spinner.scss +0 -31
  393. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +0 -27
  394. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +0 -22
  395. package/dist/src/components/atoms/TextArea/TextArea.scss +0 -103
  396. package/dist/src/components/atoms/Toggle/Toggle.scss +0 -59
  397. package/dist/src/components/atoms/TopBar/TopBar.scss +0 -54
  398. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +0 -48
  399. package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +0 -11
  400. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +0 -36
  401. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +0 -32
@@ -0,0 +1,56 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const ReviewKeyFactsResultRatafiaStyled = styled.section`
5
+ .review-key-facts-result {
6
+ &__review {
7
+ display: flex;
8
+ justify-content: start;
9
+ align-items: center;
10
+ gap: 1rem;
11
+
12
+ border-radius: 4px;
13
+ background: var(--others-white);
14
+
15
+ &__question {
16
+ color: var(--neutral-neutral-1);
17
+ font-size: 0.75rem;
18
+ @media ${device['portrait-tablets']} {
19
+ font-size: 0.875rem;
20
+ }
21
+ }
22
+
23
+ &__buttons {
24
+ display: flex;
25
+ justify-content: center;
26
+ align-items: center;
27
+ gap: 0.5rem;
28
+
29
+ &__item {
30
+ display: flex;
31
+ padding: 0.25rem 0.5rem;
32
+ justify-content: center;
33
+ align-items: center;
34
+ gap: 0.25rem;
35
+ flex: 1 0 0;
36
+
37
+ border: none;
38
+ border-radius: 4px;
39
+ background: var(--neutral-neutral-6);
40
+
41
+ cursor: pointer;
42
+
43
+ &__icon {
44
+ width: 14px;
45
+ }
46
+ .positive {
47
+ color: var(--primary-main);
48
+ }
49
+ .negative {
50
+ color: var(--error-main);
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ `
@@ -1,7 +1,7 @@
1
1
  import React from 'react'
2
2
 
3
3
  import { type ReviewKeyFactsResultRatafiaProps } from './ReviewKeyFactsResultRatafiaProps.types'
4
- // import './ReviewKeyFactsResultRatafia.scss'
4
+ import { ReviewKeyFactsResultRatafiaStyled } from './ReviewKeyFactsResultRatafia.styled'
5
5
 
6
6
  export const ReviewKeyFactsResultRatafia: React.FC<ReviewKeyFactsResultRatafiaProps> = ({
7
7
  reviewQuestion,
@@ -17,7 +17,7 @@ export const ReviewKeyFactsResultRatafia: React.FC<ReviewKeyFactsResultRatafiaPr
17
17
  review
18
18
  }) => {
19
19
  return (
20
- <div className='review-key-facts-result'>
20
+ <ReviewKeyFactsResultRatafiaStyled className='review-key-facts-result'>
21
21
  {review === null ? (
22
22
  <div className='review-key-facts-result__review'>
23
23
  <p className='sans-serif review-key-facts-result__review__question'>{reviewQuestion}</p>
@@ -49,7 +49,7 @@ export const ReviewKeyFactsResultRatafia: React.FC<ReviewKeyFactsResultRatafiaPr
49
49
  <p className='sans-serif --small review-key-facts-result__review__question'>{reviewFeedbackText}</p>
50
50
  </div>
51
51
  )}
52
- </div>
52
+ </ReviewKeyFactsResultRatafiaStyled>
53
53
  )
54
54
  }
55
55
 
@@ -1,4 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // import './RichTextInner.scss'
3
- const RichTextInner = ({ children, customClass = '' }) => (_jsx("div", { className: `rich-text ${customClass}`, children: children }));
2
+ import { RichTextInnerStyled } from './RichTextInner.styled';
3
+ const RichTextInner = ({ children, customClass = '' }) => (_jsx(RichTextInnerStyled, { className: `rich-text ${customClass}`, children: children }));
4
4
  export default RichTextInner;
@@ -0,0 +1 @@
1
+ export declare const RichTextInnerStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,38 @@
1
+ import styled from 'styled-components';
2
+ export const RichTextInnerStyled = styled.div `
3
+ .rich-text {
4
+ & > p {
5
+ margin-bottom: 1rem;
6
+ }
7
+ & p {
8
+ & > a {
9
+ text-decoration: underline;
10
+ }
11
+ }
12
+ }
13
+ &.rich-text {
14
+ p + h1,
15
+ p + h2,
16
+ p + h3,
17
+ p + h4,
18
+ p + h5,
19
+ p + h6 {
20
+ margin-top: 2.5rem;
21
+ }
22
+
23
+ ul + p,
24
+ ol + p,
25
+ ul + h1,
26
+ ul + h2,
27
+ ul + h3,
28
+ ul + h4,
29
+ ul + h5,
30
+ ul + h6 {
31
+ margin-top: 2rem;
32
+ }
33
+
34
+ .scroll-top-anchor {
35
+ cursor: pointer;
36
+ }
37
+ }
38
+ `;
@@ -0,0 +1,39 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const RichTextInnerStyled = styled.div`
4
+ .rich-text {
5
+ & > p {
6
+ margin-bottom: 1rem;
7
+ }
8
+ & p {
9
+ & > a {
10
+ text-decoration: underline;
11
+ }
12
+ }
13
+ }
14
+ &.rich-text {
15
+ p + h1,
16
+ p + h2,
17
+ p + h3,
18
+ p + h4,
19
+ p + h5,
20
+ p + h6 {
21
+ margin-top: 2.5rem;
22
+ }
23
+
24
+ ul + p,
25
+ ol + p,
26
+ ul + h1,
27
+ ul + h2,
28
+ ul + h3,
29
+ ul + h4,
30
+ ul + h5,
31
+ ul + h6 {
32
+ margin-top: 2rem;
33
+ }
34
+
35
+ .scroll-top-anchor {
36
+ cursor: pointer;
37
+ }
38
+ }
39
+ `
@@ -1,10 +1,10 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
3
  import { type RichTextInnerProps } from './RichTextInnerProps.types'
4
- // import './RichTextInner.scss'
4
+ import { RichTextInnerStyled } from './RichTextInner.styled'
5
5
 
6
6
  const RichTextInner: FC<RichTextInnerProps> = ({ children, customClass = '' }) => (
7
- <div className={`rich-text ${customClass}`}>{children}</div>
7
+ <RichTextInnerStyled className={`rich-text ${customClass}`}>{children}</RichTextInnerStyled>
8
8
  )
9
9
 
10
10
  export default RichTextInner
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { RichTextStrapiStyled } from './RichTextStrapi.styled';
2
3
  import { useFormattedText } from './useFormattedText';
3
- // import './RichTextStrapi.scss'
4
4
  export const RichTextStrapi = ({ html = '', className = '', medias = [] }) => {
5
5
  const { text } = useFormattedText(html, medias);
6
6
  if (html.length === 0)
7
7
  return null;
8
- return _jsx("div", { className: `richt-text-strapi m-richText ${className}`, dangerouslySetInnerHTML: { __html: text } });
8
+ return (_jsx(RichTextStrapiStyled, { className: `richt-text-strapi m-richText ${className}`, dangerouslySetInnerHTML: { __html: text } }));
9
9
  };
@@ -0,0 +1 @@
1
+ export declare const RichTextStrapiStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,9 @@
1
+ import styled from 'styled-components';
2
+ export const RichTextStrapiStyled = styled.div `
3
+ &.richt-text-strapi {
4
+ & ul li,
5
+ ol li {
6
+ margin-bottom: 1rem;
7
+ }
8
+ }
9
+ `;
@@ -0,0 +1,10 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const RichTextStrapiStyled = styled.div`
4
+ &.richt-text-strapi {
5
+ & ul li,
6
+ ol li {
7
+ margin-bottom: 1rem;
8
+ }
9
+ }
10
+ `
@@ -1,12 +1,17 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
3
  import { type RichTextStrapiProps } from './RichTextStrapiProps'
4
+ import { RichTextStrapiStyled } from './RichTextStrapi.styled'
4
5
  import { useFormattedText } from './useFormattedText'
5
- // import './RichTextStrapi.scss'
6
6
 
7
7
  export const RichTextStrapi: FC<RichTextStrapiProps> = ({ html = '', className = '', medias = [] }) => {
8
8
  const { text } = useFormattedText(html, medias)
9
9
  if (html.length === 0) return null
10
10
 
11
- return <div className={`richt-text-strapi m-richText ${className}`} dangerouslySetInnerHTML={{ __html: text }}></div>
11
+ return (
12
+ <RichTextStrapiStyled
13
+ className={`richt-text-strapi m-richText ${className}`}
14
+ dangerouslySetInnerHTML={{ __html: text }}
15
+ ></RichTextStrapiStyled>
16
+ )
12
17
  }
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Select from 'react-select';
3
+ import { SearchSelectStyled } from './SearchSelect.styled';
3
4
  import classNames from 'classnames';
4
5
  import error from '../../../../images/svg/info-error_24px_outlined.svg';
5
- // import './SearchSelect.scss'
6
6
  export var MenuPlacement;
7
7
  (function (MenuPlacement) {
8
8
  MenuPlacement["top"] = "top";
@@ -41,7 +41,7 @@ const SearchSelect = (props) => {
41
41
  props.onChange(selectObject);
42
42
  };
43
43
  const TooltipObject = props.tooltip && typeof props.tooltip === 'string' ? (_jsx("p", { className: 'tooltip-form sans-serif --small', children: props.tooltip })) : ('');
44
- return (_jsxs(_Fragment, { children: [props.label && (_jsx("div", { className: 'e-searchselect__inner', children: _jsx("label", { className: 'searchselect__label', children: props.label }) })), _jsxs("div", { className: `${classnames} ${props.width ? 'width' : ''}`, "data-qa": props.dataQA ?? props.name, children: [TooltipObject, _jsxs("span", { className: 'e-searchselect--error sans-serif --small', children: [_jsx("img", { src: error, alt: props.errorMessage, width: '24', height: '24' }), props.errorMessage] }), _jsx(Select, { styles: {
44
+ return (_jsxs(SearchSelectStyled, { children: [props.label && (_jsx("div", { className: 'e-searchselect__inner', children: _jsx("label", { className: 'searchselect__label', children: props.label }) })), _jsxs("div", { className: `${classnames} ${props.width ? 'width' : ''}`, "data-qa": props.dataQA ?? props.name, children: [TooltipObject, _jsxs("span", { className: 'e-searchselect--error sans-serif --small', children: [_jsx("img", { src: error, alt: props.errorMessage, width: '24', height: '24' }), props.errorMessage] }), _jsx(Select, { styles: {
45
45
  control: (baseStyles, state) => {
46
46
  return {
47
47
  ...baseStyles,
@@ -0,0 +1 @@
1
+ export declare const SearchSelectStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,224 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const SearchSelectStyled = styled.div `
4
+ width: 100%;
5
+
6
+ .e-searchselect {
7
+ display: flex;
8
+ flex-direction: column-reverse;
9
+ margin-bottom: 2rem;
10
+ position: relative;
11
+
12
+ @media ${device.laptop} {
13
+ max-width: 50%;
14
+ }
15
+
16
+ &--error {
17
+ display: none;
18
+ }
19
+
20
+ &__inner {
21
+ margin-bottom: 0.5rem;
22
+
23
+ label {
24
+ font-weight: bold;
25
+ }
26
+ }
27
+
28
+ .css-1wy0on6 {
29
+ & div:not(:last-child):first-child {
30
+ display: none;
31
+ }
32
+ }
33
+
34
+ .css-1hb7zxy-IndicatorsContainer {
35
+ div:nth-child(1) {
36
+ display: none;
37
+ }
38
+ }
39
+
40
+ .css-1gtu0rj-indicatorContainer {
41
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCA4IDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IHNrZXRjaHRvb2wgNjMuMSAoMTAxMDEwKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT41N0NBNzNCRi02MUNDLTQ2RkYtOEE5Qi1DMzMzRTQxQUZDMzA8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTE1LjA2LDE2LjI5NSBMMTYsMTcuMjM1IEwxMiwyMS4yMzUgTDgsMTcuMjM1IEw4Ljk0LDE2LjI5NSBMMTIsMTkuMzQ4MzMzMyBMMTUuMDYsMTYuMjk1IFogTTEyLDIuMjk1IEwxNiw2LjI5NSBMMTUuMDYsNy4yMzUgTDEyLDQuMTgxNjY2NjcgTDguOTQsNy4yMzUgTDgsNi4yOTUgTDEyLDIuMjk1IFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJVSS1TdHlsZS1HdWlkZS0tLUxEIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iVUktU3R5bGUtR3VpZGUtLS1MYXdEaXN0cmljdC0wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MS4wMDAwMDAsIC05NjYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uL2V4cGFuZF9kcm9wZG93bl8yNHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NTMuMDAwMDAwLCA5NjQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iQm91bmQiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IuKGsy1Db2xvciIgbWFzaz0idXJsKCNtYXNrLTIpIiBmaWxsPSIjMUUyMDIxIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);
42
+ background-repeat: no-repeat;
43
+ background-position: center center;
44
+ height: 30px;
45
+ width: 30px;
46
+
47
+ svg {
48
+ display: none;
49
+ }
50
+
51
+ &:not(:last-child):first-child {
52
+ display: none;
53
+ }
54
+ }
55
+
56
+ .css-tlfecz-indicatorContainer {
57
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCA4IDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IHNrZXRjaHRvb2wgNjMuMSAoMTAxMDEwKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT41N0NBNzNCRi02MUNDLTQ2RkYtOEE5Qi1DMzMzRTQxQUZDMzA8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTE1LjA2LDE2LjI5NSBMMTYsMTcuMjM1IEwxMiwyMS4yMzUgTDgsMTcuMjM1IEw4Ljk0LDE2LjI5NSBMMTIsMTkuMzQ4MzMzMyBMMTUuMDYsMTYuMjk1IFogTTEyLDIuMjk1IEwxNiw2LjI5NSBMMTUuMDYsNy4yMzUgTDEyLDQuMTgxNjY2NjcgTDguOTQsNy4yMzUgTDgsNi4yOTUgTDEyLDIuMjk1IFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJVSS1TdHlsZS1HdWlkZS0tLUxEIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iVUktU3R5bGUtR3VpZGUtLS1MYXdEaXN0cmljdC0wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MS4wMDAwMDAsIC05NjYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uL2V4cGFuZF9kcm9wZG93bl8yNHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NTMuMDAwMDAwLCA5NjQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iQm91bmQiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IuKGsy1Db2xvciIgbWFzaz0idXJsKCNtYXNrLTIpIiBmaWxsPSIjMUUyMDIxIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);
58
+ background-repeat: no-repeat;
59
+ background-position: center center;
60
+ height: 30px;
61
+ width: 30px;
62
+
63
+ svg {
64
+ display: none;
65
+ }
66
+ }
67
+
68
+ .css-1u9des2-indicatorSeparator {
69
+ display: none;
70
+ }
71
+
72
+ .legal-selector {
73
+ display: flex;
74
+ flex-direction: column-reverse;
75
+ margin-bottom: 1rem;
76
+ position: relative;
77
+ border-radius: var(--global-border-radius);
78
+ transition: box-shadow 0.3s ease;
79
+ box-shadow: 0 0 0 1px var(--neutral-neutral-3);
80
+ background-color: var(--neutral-neutral-5);
81
+
82
+ .css-1hwfws3 {
83
+ height: 40px;
84
+ }
85
+
86
+ .css-yk16xz-control {
87
+ background-color: var(--neutral-neutral-6);
88
+ border: none;
89
+ }
90
+
91
+ .css-1pahdxg-control {
92
+ outline: none;
93
+ border: none;
94
+ background-color: var(--neutral-neutral-6);
95
+ box-shadow: 0 0 0 2px var(--primary-main);
96
+ }
97
+
98
+ .css-1wa3eu0-placeholder {
99
+ font-size: 0.875rem;
100
+ color: var(--neutral-neutral-2);
101
+ }
102
+
103
+ .css-26l3qy-menu {
104
+ border-radius: var(--global-border-radius);
105
+ box-shadow: var(--box-shadow-container);
106
+ font-size: 0.875rem;
107
+ }
108
+
109
+ .css-9gakcf-option {
110
+ background-color: var(--neutral-neutral-6);
111
+ color: var(--neutral-neutral-1);
112
+ }
113
+
114
+ .css-1uccc91-singleValue {
115
+ font-size: 0.875rem;
116
+ transition: all 0.3s ease;
117
+ }
118
+
119
+ .css-b8ldur-Input {
120
+ font-size: 0.875rem;
121
+ }
122
+
123
+ .css-1n7v3ny-option {
124
+ background-color: transparent;
125
+ &:hover {
126
+ background-color: var(--neutral-neutral-4);
127
+ }
128
+ }
129
+
130
+ &:hover {
131
+ box-shadow: 0 0 0 1px var(--neutral-neutral-2);
132
+ }
133
+
134
+ &:active,
135
+ &:focus {
136
+ outline: none;
137
+ }
138
+ }
139
+
140
+ &.--group-invalid {
141
+ .legal-selector {
142
+ box-shadow: 0 0 0 1px var(--error-main);
143
+ }
144
+
145
+ .css-yk16xz-control {
146
+ background-color: var(--error-error-3);
147
+ }
148
+ }
149
+
150
+ &.--is-invalid {
151
+ .e-searchselect--error {
152
+ display: flex;
153
+ align-content: center;
154
+ position: absolute;
155
+ bottom: 0;
156
+ margin-top: 0.5rem;
157
+ color: var(--error-main);
158
+
159
+ img {
160
+ max-width: 20px;
161
+ margin-right: 0.25rem;
162
+ }
163
+ }
164
+
165
+ .legal-selector {
166
+ box-shadow: 0 0 0 1px var(--error-main);
167
+ }
168
+
169
+ .css-yk16xz-control {
170
+ background-color: var(--error-error-3);
171
+ }
172
+ }
173
+ }
174
+
175
+ .searchselect__label {
176
+ color: var(--neutral-neutral-1);
177
+ }
178
+
179
+ .searchselect--fullwidth {
180
+ max-width: 100%;
181
+ }
182
+
183
+ .search-select--bare {
184
+ margin-bottom: 0;
185
+
186
+ .legal-selector,
187
+ .e-searchselect__inner {
188
+ margin-bottom: 0;
189
+ }
190
+
191
+ .legal-selector,
192
+ .css-1pahdxg-control,
193
+ .css-yk16xz-control {
194
+ min-height: 42px;
195
+ }
196
+
197
+ .legal-selector {
198
+ margin-bottom: 0;
199
+ }
200
+ }
201
+
202
+ .search-select--small {
203
+ width: 5.5rem;
204
+
205
+ @media ${device.laptop} {
206
+ max-width: 100%;
207
+ }
208
+ }
209
+
210
+ .mobile-select-container {
211
+ display: flex;
212
+ flex-direction: row;
213
+ align-items: flex-start;
214
+ gap: 1.25rem;
215
+ }
216
+
217
+ .width {
218
+ width: 85%;
219
+
220
+ @media ${device['portrait-tablets']} {
221
+ width: 60%;
222
+ }
223
+ }
224
+ `;