@npm_leadtech/legal-lib-components 5.46.1 → 5.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/css/styles.css +176 -261
  2. package/dist/src/components/atoms/AddButton/AddButton.styled.js +2 -2
  3. package/dist/src/components/atoms/AddButton/AddButton.styled.ts +2 -2
  4. package/dist/src/components/atoms/BaseBox/BaseBox.styled.js +1 -1
  5. package/dist/src/components/atoms/BaseBox/BaseBox.styled.ts +1 -1
  6. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +3 -3
  7. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +3 -3
  8. package/dist/src/components/atoms/BillCard/BillCard.styled.js +1 -1
  9. package/dist/src/components/atoms/BillCard/BillCard.styled.ts +1 -1
  10. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +1 -1
  11. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +1 -1
  12. package/dist/src/components/atoms/Button/Button.scss +7 -3
  13. package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +1 -1
  14. package/dist/src/components/atoms/CardPane/CardPane.styled.js +1 -1
  15. package/dist/src/components/atoms/CardPane/CardPane.styled.ts +1 -1
  16. package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +2 -2
  17. package/dist/src/components/atoms/Checkbox/Checkbox.styled.ts +2 -2
  18. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +1 -1
  19. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +1 -1
  20. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +1 -1
  21. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +1 -1
  22. package/dist/src/components/atoms/DatePickerCustom/DatepickerPlugin.scss +7 -7
  23. package/dist/src/components/atoms/DatePickerCustom/index.js.map +1 -1
  24. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +6 -6
  25. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +6 -6
  26. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +1 -1
  27. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +1 -1
  28. package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +2 -2
  29. package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +2 -2
  30. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +1 -1
  31. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +1 -1
  32. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +4 -4
  33. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +4 -4
  34. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +5 -5
  35. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +5 -5
  36. package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +1 -1
  37. package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +1 -1
  38. package/dist/src/components/atoms/IconImage/IconImage.d.ts +2 -2
  39. package/dist/src/components/atoms/IconImage/IconImage.js +1 -5
  40. package/dist/src/components/atoms/IconImage/IconImage.tsx +10 -8
  41. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +2 -2
  42. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +2 -2
  43. package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +1 -1
  44. package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +1 -1
  45. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +1 -1
  46. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +1 -1
  47. package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +1 -1
  48. package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +1 -1
  49. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +3 -3
  50. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +3 -3
  51. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +3 -3
  52. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +3 -3
  53. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +2 -2
  54. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +2 -2
  55. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +3 -3
  56. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.ts +3 -3
  57. package/dist/src/components/atoms/Radio/Radio.scss +191 -159
  58. package/dist/src/components/atoms/Radio/Radio.tsx +1 -1
  59. package/dist/src/components/atoms/Radio/RadioProps.types.d.ts +3 -2
  60. package/dist/src/components/atoms/Radio/RadioProps.types.js +3 -2
  61. package/dist/src/components/atoms/Radio/RadioProps.types.ts +3 -2
  62. package/dist/src/components/atoms/RatafiaLandingIcon/RatafiaLandingIcon.scss +1 -1
  63. package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +3 -3
  64. package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +3 -3
  65. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +3 -3
  66. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +3 -3
  67. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +2 -2
  68. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +2 -2
  69. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +1 -1
  70. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +1 -1
  71. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +1 -1
  72. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +1 -1
  73. package/dist/src/components/atoms/Tag/Tag.styled.js +3 -3
  74. package/dist/src/components/atoms/Tag/Tag.styled.ts +3 -3
  75. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +2 -2
  76. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +2 -2
  77. package/dist/src/components/atoms/TextArea/TextArea.styled.js +1 -1
  78. package/dist/src/components/atoms/TextArea/TextArea.styled.ts +1 -1
  79. package/dist/src/components/atoms/Toggle/Toggle.styled.js +2 -2
  80. package/dist/src/components/atoms/Toggle/Toggle.styled.ts +2 -2
  81. package/dist/src/components/atoms/Tooltip/Tooltip.scss +1 -1
  82. package/dist/src/components/atoms/TopBar/TopBar.styled.js +1 -1
  83. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +1 -1
  84. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +6 -6
  85. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +6 -6
  86. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +2 -2
  87. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +2 -2
  88. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +2 -2
  89. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.ts +2 -2
  90. package/dist/src/components/molecules/Article/Article.styled.js +1 -1
  91. package/dist/src/components/molecules/Article/Article.styled.ts +1 -1
  92. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.js +2 -2
  93. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.ts +2 -2
  94. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +1 -1
  95. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +1 -1
  96. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +3 -3
  97. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +3 -3
  98. package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +1 -1
  99. package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +1 -1
  100. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.js +1 -1
  101. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.ts +1 -1
  102. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +1 -1
  103. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +1 -1
  104. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +3 -3
  105. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +3 -3
  106. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +1 -1
  107. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.ts +1 -1
  108. package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +1 -1
  109. package/dist/src/components/molecules/FaqItem/FaqItem.styled.ts +1 -1
  110. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +1 -1
  111. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.ts +1 -1
  112. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +1 -1
  113. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.ts +1 -1
  114. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +1 -1
  115. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +1 -1
  116. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +1 -1
  117. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +3 -3
  118. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +3 -3
  119. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +3 -3
  120. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +3 -3
  121. package/dist/src/components/molecules/Pagination/Pagination.styled.js +1 -1
  122. package/dist/src/components/molecules/Pagination/Pagination.styled.ts +1 -1
  123. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +1 -1
  124. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +1 -1
  125. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +1 -1
  126. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +1 -1
  127. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +1 -1
  128. package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.ts +1 -1
  129. package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +1 -1
  130. package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +1 -1
  131. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +2 -2
  132. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +2 -2
  133. package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +2 -2
  134. package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +2 -2
  135. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +2 -2
  136. package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.ts +2 -2
  137. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.scss +1 -1
  138. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +1 -1
  139. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +1 -1
  140. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +5 -5
  141. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +5 -5
  142. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +1 -1
  143. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +1 -1
  144. package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
  145. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +1 -1
  146. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +1 -1
  147. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.ts +1 -1
  148. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +1 -1
  149. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +1 -1
  150. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +4 -4
  151. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.ts +4 -4
  152. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +2 -2
  153. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.ts +2 -2
  154. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +1 -1
  155. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.ts +1 -1
  156. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +1 -1
  157. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +1 -1
  158. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +2 -2
  159. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.ts +2 -2
  160. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +3 -3
  161. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.ts +3 -3
  162. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +4 -4
  163. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.ts +4 -4
  164. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +1 -1
  165. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +1 -1
  166. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +2 -2
  167. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.ts +2 -2
  168. package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.js +2 -2
  169. package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.ts +2 -2
  170. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +7 -7
  171. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.ts +7 -7
  172. package/dist/src/components/pages/RatafiaPricingPage/RatafiaPricingPage.styled.js +1 -1
  173. package/dist/src/components/pages/RatafiaPricingPage/RatafiaPricingPage.styled.ts +1 -1
  174. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +1 -1
  175. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +1 -1
  176. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +2 -2
  177. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +2 -2
  178. package/dist/src/components/sections/LayoutRatafiaSection/LayoutRatafiaSection.styled.js +2 -2
  179. package/dist/src/components/sections/LayoutRatafiaSection/LayoutRatafiaSection.styled.ts +2 -2
  180. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +2 -2
  181. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.ts +2 -2
  182. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +3 -3
  183. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +3 -3
  184. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +1 -1
  185. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +1 -1
  186. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +1 -1
  187. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +1 -1
  188. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +2 -2
  189. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +2 -2
  190. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +2 -2
  191. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +2 -2
  192. package/dist/src/globalStyles/functions.scss +5 -0
  193. package/dist/src/globalStyles/layout.scss +4 -4
  194. package/dist/src/globalStyles/variables.scss +9 -0
  195. package/dist/src/globalStyles/variablesCss.scss +1 -3
  196. package/package.json +1 -1
@@ -5,32 +5,9 @@
5
5
  .e-radio__inner {
6
6
  display: flex;
7
7
  flex-direction: column;
8
- gap: var(--global-gap);
8
+ gap: 1rem;
9
9
  .radio-item-container {
10
10
  .e-radio-label {
11
- display: flex;
12
- align-items: center;
13
- gap: 0.5rem;
14
-
15
- .radio-item-input {
16
- visibility: hidden;
17
- }
18
-
19
- input[type='radio']:after {
20
- width: 16px;
21
- height: 16px;
22
- border-radius: var(--l-border-radius);
23
- top: -4px;
24
- left: -2px;
25
- position: relative;
26
- background-color: var(--others-white);
27
- content: '';
28
- display: inline-block;
29
- visibility: visible;
30
- border: 1px solid var(--neutral-neutral-1);
31
- cursor: pointer;
32
- }
33
-
34
11
  .e-radio-label__label {
35
12
  cursor: pointer;
36
13
  }
@@ -38,22 +15,11 @@
38
15
 
39
16
  &.active {
40
17
  .e-radio-label {
41
- input[type='radio']:after {
42
- border: 5px solid var(--primary-main);
43
- }
44
18
  .e-radio-label__label {
45
19
  color: var(--primary-main);
46
20
  }
47
21
  }
48
22
  }
49
-
50
- &:hover {
51
- .e-radio-label {
52
- input[type='radio']:after {
53
- background-color: var(--primary-main-light-5);
54
- }
55
- }
56
- }
57
23
  }
58
24
 
59
25
  @include portrait-tablets {
@@ -65,67 +31,57 @@
65
31
  @mixin tabsStyles {
66
32
  .e-radio__inner {
67
33
  display: flex;
68
- flex-flow: row nowrap;
69
- margin-bottom: 2rem;
70
- width: 10rem;
71
- margin-top: 1rem;
72
- border: 1px solid var(--neutral-neutral-3);
73
- background: var(--neutral-neutral-6);
74
- border-radius: var(--s-border-radius);
75
- transition: all 0.3s ease;
76
-
77
- .e-radio-label {
78
- width: 100%;
79
- display: flex;
80
- border-right: 1px solid var(--neutral-neutral-3);
81
- border-top-left-radius: var(--s-border-radius);
82
- border-bottom-left-radius: var(--s-border-radius);
83
-
84
- &:last-child {
85
- border-right: none;
86
- }
87
- }
88
- }
89
-
90
- input {
91
- position: absolute;
92
- left: -9999px;
93
-
94
- + label {
34
+ .radio-item-container {
35
+ align-items: center;
36
+ background: var(--neutral-neutral-6);
37
+ border: 1px solid var(--neutral-neutral-3);
38
+ border-left-width: 0;
39
+ border-right-width: 0;
95
40
  cursor: pointer;
96
- font-size: 14px;
97
- transition: all 0.3s ease;
41
+ display: flex;
42
+ height: 42px;
43
+ justify-content: center;
44
+ width: 80px;
98
45
 
99
46
  &:hover {
100
47
  background: var(--neutral-neutral-4);
101
48
  }
102
- }
103
49
 
104
- &:checked + label {
105
- font-weight: bold;
106
- color: var(--others-white);
107
- width: 100%;
108
- cursor: pointer;
109
- transition: all 0.3s ease;
110
- background-color: var(--primary-main);
111
- text-align: center;
112
- padding: 10px;
50
+ &.active {
51
+ background: var(--primary-main);
52
+ color: var(--others-white);
53
+ .e-radio-label {
54
+ .e-radio-label__label {
55
+ font-weight: bold;
56
+ }
57
+ }
58
+ }
113
59
 
114
- &:hover {
115
- background-color: var(--primary-main);
60
+ .e-radio-label {
61
+ .radio-item-input {
62
+ position: absolute;
63
+ visibility: hidden;
64
+ }
65
+ .e-radio-label__label {
66
+ cursor: pointer;
67
+ display: inline-block;
68
+ font-size: 14px;
69
+ min-width: 80px;
70
+ padding: 10px;
71
+ text-align: center;
72
+ }
116
73
  }
117
74
  }
118
-
119
- &:not(:checked) + label {
120
- text-align: center;
121
- width: 100%;
122
- color: var(--neutral-neutral-1);
123
- font-weight: bold;
124
- padding: 10px;
75
+ :first-child {
76
+ border-radius: 4px 0 0 4px;
77
+ border-left-width: 1px;
125
78
  }
126
-
127
- &:hover:not(:checked) + label {
128
- width: 100%;
79
+ :last-child {
80
+ border-radius: 0 4px 4px 0;
81
+ border-right-width: 1px;
82
+ }
83
+ :not(:first-child) {
84
+ border-left-width: 1px;
129
85
  }
130
86
  }
131
87
  }
@@ -133,101 +89,189 @@
133
89
  @mixin iconStyles {
134
90
  .e-radio__inner {
135
91
  display: flex;
136
- flex-flow: row wrap;
137
- margin-top: 1.5rem;
138
- }
92
+ flex-wrap: wrap;
93
+ gap: 0.5rem;
94
+ width: 100%;
95
+ .radio-item-container {
96
+ width: 100%;
97
+ .e-radio-label {
98
+ align-items: center;
99
+ background: var(--others-white);
100
+ border: 1px solid var(--neutral-neutral-4);
101
+ border-radius: 4px;
102
+ cursor: pointer;
103
+ display: flex;
104
+ gap: 16px;
105
+ padding: 8px 15px;
139
106
 
140
- .radio-item-container {
141
- display: flex;
142
- width: 47%;
143
- border: 1px solid black;
144
- min-width: 80px;
145
- min-height: 3.5rem;
146
- margin-bottom: 0.5rem;
147
- border-radius: var(--s-border-radius);
148
- border-color: var(--neutral-neutral-4);
149
- cursor: pointer;
150
- }
107
+ &:hover {
108
+ background: var(--neutral-neutral-5);
109
+ }
151
110
 
152
- .radio-item-container:not(:nth-child(2n + 0)) {
153
- margin-right: 0.5rem;
154
- }
111
+ .radio-icon {
112
+ height: 24px;
113
+ padding: 1px;
114
+ width: 24px;
115
+ }
155
116
 
156
- .radio-item-input {
157
- position: absolute;
158
- visibility: hidden;
159
- }
117
+ .radio-item-input {
118
+ position: absolute;
119
+ visibility: hidden;
120
+ }
121
+
122
+ .e-radio-label__label {
123
+ font-size: 14px;
124
+ cursor: pointer;
125
+ }
126
+ }
127
+
128
+ &.active {
129
+ .e-radio-label {
130
+ background: var(--neutral-neutral-5);
131
+ border: 2px solid var(--primary-main-dark-2);
132
+
133
+ .e-radio-label__label {
134
+ font-weight: bold;
135
+ }
136
+ }
137
+ }
138
+ }
160
139
 
161
- .radio-item-container.active {
162
- border: 2px solid var(--primary-main-dark-1);
163
- background-color: var(--neutral-neutral-5);
140
+ @include portrait-tablets {
141
+ .radio-item-container {
142
+ width: 49%;
143
+ .e-radio-label {
144
+ padding: 16px 15px;
145
+ }
146
+ }
147
+ }
164
148
  }
149
+ }
165
150
 
166
- .radio-item-container:hover {
167
- background-color: var(--neutral-neutral-5);
168
- font-weight: bold;
151
+ @mixin normalRadioStyles {
152
+ .e-radio__inner {
153
+ .radio-item-container {
154
+ .e-radio-label {
155
+ align-items: center;
156
+ display: flex;
157
+ gap: 0.5rem;
158
+
159
+ input[type='radio']:after {
160
+ background-color: var(--others-white);
161
+ border: 1px solid var(--neutral-neutral-1);
162
+ border-radius: 16px;
163
+ content: '';
164
+ cursor: pointer;
165
+ display: inline-block;
166
+ height: 16px;
167
+ left: -2px;
168
+ position: relative;
169
+ top: -5px;
170
+ visibility: visible;
171
+ width: 16px;
172
+ }
173
+ }
174
+
175
+ &.active {
176
+ .e-radio-label {
177
+ input[type='radio']:after {
178
+ border: 5px solid var(--primary-main);
179
+ }
180
+ }
181
+ }
182
+
183
+ &:hover {
184
+ .e-radio-label {
185
+ input[type='radio']:after {
186
+ background-color: var(--primary-main-light-5);
187
+ }
188
+ }
189
+ }
190
+ }
169
191
  }
192
+ }
170
193
 
171
- .e-radio-label {
194
+ @mixin boxStyles {
195
+ .e-radio__inner {
172
196
  display: flex;
173
- align-items: center;
174
- padding: 0.25rem 1rem;
175
- width: 100%;
176
- }
197
+ flex-wrap: wrap;
198
+ gap: 0.5rem;
199
+ .radio-item-container {
200
+ width: 100%;
177
201
 
178
- .radio-icon {
179
- display: block;
180
- margin-right: 1rem;
202
+ .e-radio-label {
203
+ padding: 1rem;
204
+ border-radius: 4px;
205
+ border: 1px solid var(--neutral-neutral-4, #dbe1e5);
206
+ background: var(--neutral-White, #fff);
207
+
208
+ cursor: pointer;
209
+ .e-radio-label__label {
210
+ font-size: 14px;
211
+ cursor: pointer;
212
+ }
213
+ }
214
+
215
+ &.active {
216
+ .e-radio-label {
217
+ border: 2px solid var(--primary-main-dark-2, #032a38);
218
+ background: var(--neutral-neutral-5, #f3f7fa);
219
+ .e-radio-label__label {
220
+ font-weight: bold;
221
+ }
222
+ }
223
+ }
224
+
225
+ &:hover {
226
+ .e-radio-label {
227
+ background: var(--neutral-neutral-5, #f3f7fa);
228
+ }
229
+ }
230
+ }
231
+
232
+ @include portrait-tablets {
233
+ .radio-item-container {
234
+ width: 49%;
235
+ }
236
+ }
181
237
  }
182
238
  }
183
239
 
184
240
  .e-radio {
185
241
  .label {
186
242
  color: var(--neutral-neutral-1);
187
- margin-bottom: 1rem;
188
243
  display: block;
244
+ margin-bottom: 1rem;
189
245
  }
190
246
 
191
247
  &.default {
192
248
  @include defaultStyles;
193
249
  }
194
250
 
195
- // por aqui
251
+ &.icons {
252
+ @include iconStyles;
253
+ }
196
254
 
197
- label:first-child:not(.e-radio-label) {
198
- font-weight: bold;
255
+ &.tabs {
256
+ @include tabsStyles;
199
257
  }
200
258
 
201
- .radio-item-container {
202
- width: 100%;
259
+ &.box {
260
+ @include boxStyles;
203
261
  }
204
262
 
205
- &.--tabs {
206
- @media (max-width: #{$xs}) {
207
- @include tabsStyles;
208
- }
209
- &:not(.--icons) {
210
- @media (min-width: #{$xs}) {
211
- @include tabsStyles;
212
- }
213
- }
263
+ &.default,
264
+ &.box {
265
+ @include normalRadioStyles;
214
266
  }
215
267
 
216
- &.--icons {
217
- @include mobile {
218
- @include defaultStyles();
219
- }
220
- .radio-icon {
221
- display: none;
222
- }
223
- @include portrait-tablets {
224
- @include iconStyles;
225
- }
268
+ label:first-child:not(.e-radio-label) {
269
+ font-weight: bold;
226
270
  }
227
271
 
228
272
  &.--is-invalid,
229
273
  &.--group-invalid {
230
- &.--tabs,
274
+ &.tabs,
231
275
  &.--group-invalid {
232
276
  .e-radio__inner {
233
277
  border: 1px solid var(--error-main);
@@ -247,15 +291,3 @@
247
291
  }
248
292
  }
249
293
  }
250
-
251
- .e-radio.radio--small.--tabs {
252
- input + label {
253
- font-size: 0.875rem;
254
- padding: 0.75rem;
255
- }
256
-
257
- .e-radio__inner {
258
- margin-top: 0;
259
- margin-bottom: 0;
260
- }
261
- }
@@ -30,7 +30,7 @@ const Radio: React.FC<RadioProps> = ({
30
30
  <label htmlFor={name} className='sans-serif --medium --bold-weight label'>
31
31
  {label}
32
32
  </label>
33
- <div className={'e-radio__inner'}>
33
+ <div className='e-radio__inner'>
34
34
  {items.map((radio) => {
35
35
  return (
36
36
  <div className={`radio-item-container ${radio.value === value ? 'active' : ''}`} key={radio.value}>
@@ -19,6 +19,7 @@ export interface RadioProps {
19
19
  }
20
20
  export declare enum RadioFormat {
21
21
  Default = "default",
22
- Tabs = "--tabs",
23
- Icons = "--icons"
22
+ Tabs = "tabs",
23
+ Icons = "icons",
24
+ Box = "box"
24
25
  }
@@ -1,6 +1,7 @@
1
1
  export var RadioFormat;
2
2
  (function (RadioFormat) {
3
3
  RadioFormat["Default"] = "default";
4
- RadioFormat["Tabs"] = "--tabs";
5
- RadioFormat["Icons"] = "--icons";
4
+ RadioFormat["Tabs"] = "tabs";
5
+ RadioFormat["Icons"] = "icons";
6
+ RadioFormat["Box"] = "box";
6
7
  })(RadioFormat || (RadioFormat = {}));
@@ -16,6 +16,7 @@ export interface RadioProps {
16
16
 
17
17
  export enum RadioFormat {
18
18
  Default = 'default',
19
- Tabs = '--tabs',
20
- Icons = '--icons'
19
+ Tabs = 'tabs',
20
+ Icons = 'icons',
21
+ Box = 'box'
21
22
  }
@@ -1,6 +1,6 @@
1
1
  .ratafia-landing-icon {
2
2
  padding: 0.25rem 0.5rem;
3
- border-radius: var(--s-border-radius);
3
+ border-radius: 4px;
4
4
  color: var(--neutral-neutral-1);
5
5
  background: var(--secondary-main-light-3);
6
6
  }
@@ -7,7 +7,7 @@ export const RemoveButtonStyled = styled.section `
7
7
  display: inline-block;
8
8
  color: var(--error-main);
9
9
 
10
- border-radius: var(--s-border-radius);
10
+ border-radius: var(--global-border-radius);
11
11
  transition: all 0.3s ease;
12
12
 
13
13
  label {
@@ -16,7 +16,7 @@ export const RemoveButtonStyled = styled.section `
16
16
  align-items: center;
17
17
  position: relative;
18
18
  border: 1px solid var(--error-main);
19
- border-radius: var(--s-border-radius);
19
+ border-radius: 4px;
20
20
  cursor: pointer;
21
21
  padding: 0.75rem 1rem;
22
22
  }
@@ -32,7 +32,7 @@ export const RemoveButtonStyled = styled.section `
32
32
  left: -9999px;
33
33
 
34
34
  &:checked + label {
35
- border-radius: var(--s-border-radius);
35
+ border-radius: var(--global-border-radius);
36
36
  }
37
37
 
38
38
  & + label {
@@ -8,7 +8,7 @@ export const RemoveButtonStyled = styled.section`
8
8
  display: inline-block;
9
9
  color: var(--error-main);
10
10
 
11
- border-radius: var(--s-border-radius);
11
+ border-radius: var(--global-border-radius);
12
12
  transition: all 0.3s ease;
13
13
 
14
14
  label {
@@ -17,7 +17,7 @@ export const RemoveButtonStyled = styled.section`
17
17
  align-items: center;
18
18
  position: relative;
19
19
  border: 1px solid var(--error-main);
20
- border-radius: var(--s-border-radius);
20
+ border-radius: 4px;
21
21
  cursor: pointer;
22
22
  padding: 0.75rem 1rem;
23
23
  }
@@ -33,7 +33,7 @@ export const RemoveButtonStyled = styled.section`
33
33
  left: -9999px;
34
34
 
35
35
  &:checked + label {
36
- border-radius: var(--s-border-radius);
36
+ border-radius: var(--global-border-radius);
37
37
  }
38
38
 
39
39
  & + label {
@@ -6,9 +6,9 @@ export const ReviewKeyFactsResultRatafiaStyled = styled.section `
6
6
  display: flex;
7
7
  justify-content: start;
8
8
  align-items: center;
9
- gap: var(--global-gap);
9
+ gap: 1rem;
10
10
 
11
- border-radius: var(--s-border-radius);
11
+ border-radius: 4px;
12
12
  background: var(--others-white);
13
13
 
14
14
  &__question {
@@ -34,7 +34,7 @@ export const ReviewKeyFactsResultRatafiaStyled = styled.section `
34
34
  flex: 1 0 0;
35
35
 
36
36
  border: none;
37
- border-radius: var(--s-border-radius);
37
+ border-radius: 4px;
38
38
  background: var(--neutral-neutral-6);
39
39
 
40
40
  cursor: pointer;
@@ -7,9 +7,9 @@ export const ReviewKeyFactsResultRatafiaStyled = styled.section`
7
7
  display: flex;
8
8
  justify-content: start;
9
9
  align-items: center;
10
- gap: var(--global-gap);
10
+ gap: 1rem;
11
11
 
12
- border-radius: var(--s-border-radius);
12
+ border-radius: 4px;
13
13
  background: var(--others-white);
14
14
 
15
15
  &__question {
@@ -35,7 +35,7 @@ export const ReviewKeyFactsResultRatafiaStyled = styled.section`
35
35
  flex: 1 0 0;
36
36
 
37
37
  border: none;
38
- border-radius: var(--s-border-radius);
38
+ border-radius: 4px;
39
39
  background: var(--neutral-neutral-6);
40
40
 
41
41
  cursor: pointer;
@@ -74,7 +74,7 @@ export const SearchSelectStyled = styled.div `
74
74
  flex-direction: column-reverse;
75
75
  margin-bottom: 1rem;
76
76
  position: relative;
77
- border-radius: var(--s-border-radius);
77
+ border-radius: var(--global-border-radius);
78
78
  transition: box-shadow 0.3s ease;
79
79
  box-shadow: 0 0 0 1px var(--neutral-neutral-3);
80
80
  background-color: var(--neutral-neutral-5);
@@ -101,7 +101,7 @@ export const SearchSelectStyled = styled.div `
101
101
  }
102
102
 
103
103
  .css-26l3qy-menu {
104
- border-radius: var(--s-border-radius);
104
+ border-radius: var(--global-border-radius);
105
105
  box-shadow: var(--box-shadow-container);
106
106
  font-size: 0.875rem;
107
107
  }
@@ -75,7 +75,7 @@ export const SearchSelectStyled = styled.div`
75
75
  flex-direction: column-reverse;
76
76
  margin-bottom: 1rem;
77
77
  position: relative;
78
- border-radius: var(--s-border-radius);
78
+ border-radius: var(--global-border-radius);
79
79
  transition: box-shadow 0.3s ease;
80
80
  box-shadow: 0 0 0 1px var(--neutral-neutral-3);
81
81
  background-color: var(--neutral-neutral-5);
@@ -102,7 +102,7 @@ export const SearchSelectStyled = styled.div`
102
102
  }
103
103
 
104
104
  .css-26l3qy-menu {
105
- border-radius: var(--s-border-radius);
105
+ border-radius: var(--global-border-radius);
106
106
  box-shadow: var(--box-shadow-container);
107
107
  font-size: 0.875rem;
108
108
  }
@@ -4,7 +4,7 @@ export const ShowMoreBoxStyled = styled.div `
4
4
  padding: 1rem;
5
5
  flex-direction: column;
6
6
  gap: var(--global-gap);
7
- border-radius: var(--s-border-radius);
7
+ border-radius: var(--global-border-radius);
8
8
  background: var(--neutral-neutral-5);
9
9
 
10
10
  &.show-more-box {
@@ -5,7 +5,7 @@ export const ShowMoreBoxStyled = styled.div`
5
5
  padding: 1rem;
6
6
  flex-direction: column;
7
7
  gap: var(--global-gap);
8
- border-radius: var(--s-border-radius);
8
+ border-radius: var(--global-border-radius);
9
9
  background: var(--neutral-neutral-5);
10
10
 
11
11
  &.show-more-box {
@@ -7,7 +7,7 @@ export const StepRatafiaCardStyled = styled.div `
7
7
  gap: 0.5rem;
8
8
  align-self: stretch;
9
9
 
10
- border-radius: var(--s-border-radius);
10
+ border-radius: 4px;
11
11
  background: var(--neutral-neutral-6);
12
12
 
13
13
  .step-ratafia-card {
@@ -8,7 +8,7 @@ export const StepRatafiaCardStyled = styled.div`
8
8
  gap: 0.5rem;
9
9
  align-self: stretch;
10
10
 
11
- border-radius: var(--s-border-radius);
11
+ border-radius: 4px;
12
12
  background: var(--neutral-neutral-6);
13
13
 
14
14
  .step-ratafia-card {
@@ -2,11 +2,11 @@ import styled from 'styled-components';
2
2
  export const TagStyled = styled.div `
3
3
  align-items: center;
4
4
  background: var(--secondary-main-light-4);
5
- border-radius: var(--s-border-radius);
5
+ border-radius: var(--global-border-radius);
6
6
  display: flex;
7
- gap: 0.25rem;
7
+ gap: 4px;
8
8
  justify-content: center;
9
- padding: 0.25rem;
9
+ padding: 4px;
10
10
  width: fit-content;
11
11
 
12
12
  .tag {
@@ -3,11 +3,11 @@ import styled from 'styled-components'
3
3
  export const TagStyled = styled.div`
4
4
  align-items: center;
5
5
  background: var(--secondary-main-light-4);
6
- border-radius: var(--s-border-radius);
6
+ border-radius: var(--global-border-radius);
7
7
  display: flex;
8
- gap: 0.25rem;
8
+ gap: 4px;
9
9
  justify-content: center;
10
- padding: 0.25rem;
10
+ padding: 4px;
11
11
  width: fit-content;
12
12
 
13
13
  .tag {