@npm_leadtech/legal-lib-components 5.11.2 → 5.11.3

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 (118) hide show
  1. package/dist/css/styles.css +0 -847
  2. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
  3. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  4. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +59 -0
  5. package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.scss → AboutUsContent.styled.ts} +13 -11
  6. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +3 -3
  7. package/dist/src/components/organisms/Accordion/Accordion.js +2 -2
  8. package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +1 -0
  9. package/dist/src/components/organisms/Accordion/Accordion.styled.js +5 -0
  10. package/dist/src/components/organisms/Accordion/Accordion.styled.ts +6 -0
  11. package/dist/src/components/organisms/Accordion/Accordion.tsx +3 -4
  12. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  13. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +1 -0
  14. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +11 -0
  15. package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +12 -0
  16. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +3 -3
  17. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +3 -3
  18. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +1 -0
  19. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +22 -0
  20. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +23 -0
  21. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +3 -3
  22. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +2 -2
  23. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +1 -0
  24. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +60 -0
  25. package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.scss → CardFunctionality.styled.ts} +3 -3
  26. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +3 -3
  27. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +2 -2
  28. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +1 -0
  29. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +43 -0
  30. package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.scss → ContactJumbotron.styled.ts} +6 -7
  31. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +3 -3
  32. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +2 -2
  33. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +1 -0
  34. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +47 -0
  35. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +48 -0
  36. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +11 -13
  37. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
  38. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +1 -0
  39. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +18 -0
  40. package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.scss → ErrorContentRatafia.styled.ts} +7 -6
  41. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +3 -3
  42. package/dist/src/components/organisms/FaqGroup/FaqGroup.js +2 -2
  43. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +1 -0
  44. package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +21 -0
  45. package/dist/src/components/organisms/FaqGroup/{FaqGroup.scss → FaqGroup.styled.ts} +3 -3
  46. package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +3 -3
  47. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +2 -2
  48. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +1 -0
  49. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +27 -0
  50. package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.scss → FeaturesRatafiaContent.styled.ts} +4 -4
  51. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +3 -3
  52. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
  53. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +1 -0
  54. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +138 -0
  55. package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.scss → GuidelinesContent.styled.ts} +17 -17
  56. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +3 -3
  57. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
  58. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +1 -0
  59. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +26 -0
  60. package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.scss → JumbotronRatafiaContent.styled.ts} +6 -7
  61. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +3 -3
  62. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +2 -2
  63. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +1 -0
  64. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +144 -0
  65. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.scss → KeyFactsLoadingContentRatafia.styled.ts} +24 -25
  66. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +3 -3
  67. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +2 -2
  68. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +1 -0
  69. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +21 -0
  70. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +22 -0
  71. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -3
  72. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +2 -2
  73. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +5 -0
  74. package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.scss → LanguageSelectorMobile.styled.js} +6 -6
  75. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +70 -0
  76. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +3 -3
  77. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +2 -2
  78. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +1 -0
  79. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +91 -0
  80. package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.scss → LayoutRatafia.styled.ts} +12 -13
  81. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +3 -3
  82. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +2 -2
  83. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +1 -0
  84. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +34 -0
  85. package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.scss → ListStepsGetForm.styled.ts} +7 -7
  86. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +3 -3
  87. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +2 -2
  88. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +1 -0
  89. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +14 -0
  90. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +15 -0
  91. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
  92. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +4 -8
  93. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +1 -0
  94. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +45 -0
  95. package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.scss → MobileBottomBar.styled.ts} +6 -6
  96. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +5 -10
  97. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +0 -1
  98. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
  99. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
  100. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +1 -0
  101. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +11 -0
  102. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +12 -0
  103. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +3 -3
  104. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -3
  105. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +1 -0
  106. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +54 -0
  107. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +55 -0
  108. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
  109. package/dist/src/globalStyles/styles.scss +0 -22
  110. package/dist/tsconfig.build.tsbuildinfo +1 -1
  111. package/package.json +1 -1
  112. package/dist/src/components/organisms/Accordion/Accordion.scss +0 -4
  113. package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +0 -12
  114. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +0 -22
  115. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +0 -54
  116. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +0 -23
  117. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +0 -16
  118. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +0 -12
@@ -0,0 +1,91 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const LayoutRatafiaStyled = styled.div `
4
+ width: 100%;
5
+ display: flex;
6
+ justify-content: center;
7
+ padding-top: 1rem;
8
+
9
+ @media ${device['portrait-tablets']} {
10
+ padding-top: 3.5rem;
11
+ }
12
+
13
+ .layout-ratafia__wrapper {
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ justify-content: space-between;
18
+
19
+ padding: 1.5rem 1.5rem 0 1.5rem;
20
+
21
+ width: 100%;
22
+ height: calc(100vh - 5.125rem);
23
+
24
+ border-radius: 16px 16px 0 0;
25
+ background: var(--others-white);
26
+ box-shadow: var(--box-shadow-small);
27
+
28
+ @media ${device['portrait-tablets']} {
29
+ padding: 2.5rem 2.5rem 1.5rem 2.5rem;
30
+ }
31
+ @media ${device['portrait-tablets']} {
32
+ width: 800px;
33
+ height: 890px;
34
+ }
35
+
36
+ &__header {
37
+ width: 100%;
38
+ margin-bottom: 1.5rem;
39
+ }
40
+
41
+ &__content {
42
+ width: 100%;
43
+ display: flex;
44
+ flex-direction: column;
45
+ align-items: flex-start;
46
+ flex: 1 0 0;
47
+ align-self: stretch;
48
+
49
+ gap: 1.5rem;
50
+ margin-bottom: 1rem;
51
+ @media ${device['portrait-tablets']} {
52
+ margin-bottom: 2.5rem;
53
+ }
54
+ }
55
+ &__cta {
56
+ display: none;
57
+ @media ${device['portrait-tablets']} {
58
+ display: block;
59
+ }
60
+ }
61
+ &__footer-desktop {
62
+ width: 100%;
63
+ display: none;
64
+ @media ${device['portrait-tablets']} {
65
+ display: block;
66
+ }
67
+ }
68
+ &__footer-mobile {
69
+ display: flex;
70
+ flex-direction: column;
71
+ position: sticky;
72
+ bottom: 0;
73
+ left: 0;
74
+ right: 0;
75
+
76
+ gap: 1rem;
77
+ padding: 1.5rem;
78
+
79
+ width: 100vw;
80
+ background: var(--others-white);
81
+ @media ${device['portrait-tablets']} {
82
+ display: none;
83
+ }
84
+ }
85
+ .e-button.--primary-1 {
86
+ height: auto;
87
+ padding: 0.6875rem 1rem;
88
+ line-height: 22px;
89
+ }
90
+ }
91
+ `;
@@ -1,18 +1,17 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
3
 
4
- .layout-ratafia {
4
+ export const LayoutRatafiaStyled = styled.div`
5
5
  width: 100%;
6
6
  display: flex;
7
7
  justify-content: center;
8
-
9
8
  padding-top: 1rem;
10
9
 
11
- @include portrait-tablets {
10
+ @media ${device['portrait-tablets']} {
12
11
  padding-top: 3.5rem;
13
12
  }
14
13
 
15
- &__wrapper {
14
+ .layout-ratafia__wrapper {
16
15
  display: flex;
17
16
  flex-direction: column;
18
17
  align-items: center;
@@ -27,10 +26,10 @@
27
26
  background: var(--others-white);
28
27
  box-shadow: var(--box-shadow-small);
29
28
 
30
- @include portrait-tablets {
29
+ @media ${device['portrait-tablets']} {
31
30
  padding: 2.5rem 2.5rem 1.5rem 2.5rem;
32
31
  }
33
- @include portrait-tablets {
32
+ @media ${device['portrait-tablets']} {
34
33
  width: 800px;
35
34
  height: 890px;
36
35
  }
@@ -50,20 +49,20 @@
50
49
 
51
50
  gap: 1.5rem;
52
51
  margin-bottom: 1rem;
53
- @include portrait-tablets {
52
+ @media ${device['portrait-tablets']} {
54
53
  margin-bottom: 2.5rem;
55
54
  }
56
55
  }
57
56
  &__cta {
58
57
  display: none;
59
- @include portrait-tablets {
58
+ @media ${device['portrait-tablets']} {
60
59
  display: block;
61
60
  }
62
61
  }
63
62
  &__footer-desktop {
64
63
  width: 100%;
65
64
  display: none;
66
- @include portrait-tablets {
65
+ @media ${device['portrait-tablets']} {
67
66
  display: block;
68
67
  }
69
68
  }
@@ -80,7 +79,7 @@
80
79
 
81
80
  width: 100vw;
82
81
  background: var(--others-white);
83
- @include portrait-tablets {
82
+ @media ${device['portrait-tablets']} {
84
83
  display: none;
85
84
  }
86
85
  }
@@ -90,4 +89,4 @@
90
89
  line-height: 22px;
91
90
  }
92
91
  }
93
- }
92
+ `
@@ -2,11 +2,11 @@ import React from 'react'
2
2
 
3
3
  import { HeaderRatafia } from '../../molecules'
4
4
  import { type LayoutRatafiaProps } from './LayoutRatafiaProps.types'
5
- // import './LayoutRatafia.scss'
5
+ import { LayoutRatafiaStyled } from './LayoutRatafia.styled'
6
6
 
7
7
  export const LayoutRatafia: React.FC<LayoutRatafiaProps> = ({ header, content, cta, footerDesktop, footerMobile }) => {
8
8
  return (
9
- <div className='layout-ratafia'>
9
+ <LayoutRatafiaStyled>
10
10
  <div className='layout-ratafia__wrapper'>
11
11
  <div className='layout-ratafia__wrapper__header'>
12
12
  <HeaderRatafia {...header} />
@@ -18,7 +18,7 @@ export const LayoutRatafia: React.FC<LayoutRatafiaProps> = ({ header, content, c
18
18
  <div className='layout-ratafia__wrapper__footer-desktop'>{footerDesktop}</div>
19
19
  <div className='layout-ratafia__wrapper__footer-mobile'>{footerMobile}</div>
20
20
  </div>
21
- </div>
21
+ </LayoutRatafiaStyled>
22
22
  )
23
23
  }
24
24
 
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ListStepsGetFormStyled } from './ListStepsGetForm.styled';
2
3
  import { StepGetForm } from '../../molecules';
3
- // import './ListStepsGetForm.scss'
4
4
  const ListStepsGetForm = ({ steps = [] }) => {
5
5
  if (steps.length === 0)
6
6
  return null;
7
- return (_jsx("div", { className: 'homeSteps__container', children: _jsx("div", { className: 'homeSteps wrapper', children: _jsx("div", { className: 'homeStepsItemsContainer', children: steps.map((step) => (_jsx(StepGetForm, { ...step }, step.id))) }) }) }));
7
+ return (_jsx(ListStepsGetFormStyled, { children: _jsx("div", { className: 'homeSteps wrapper', children: _jsx("div", { className: 'homeStepsItemsContainer', children: steps.map((step) => (_jsx(StepGetForm, { ...step }, step.id))) }) }) }));
8
8
  };
9
9
  export default ListStepsGetForm;
@@ -0,0 +1 @@
1
+ export declare const ListStepsGetFormStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,34 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const ListStepsGetFormStyled = styled.div `
4
+ transform: translateY(0%);
5
+ @media ${device['portrait-tablets']} {
6
+ transform: translateY(0%);
7
+ }
8
+ @media ${device['landscape-tablets']} {
9
+ transform: translateY(0%);
10
+ }
11
+
12
+ .homeSteps {
13
+ display: flex;
14
+ flex-direction: column;
15
+ align-items: center;
16
+ padding-top: 2rem;
17
+ padding-bottom: 2rem;
18
+ position: relative;
19
+
20
+ .homeStepsItemsContainer {
21
+ display: flex;
22
+ justify-content: space-between;
23
+ width: 100%;
24
+ max-width: 888px;
25
+ flex-flow: row wrap;
26
+ padding: 0 1rem;
27
+
28
+ @media ${device.laptop} {
29
+ flex-flow: row nowrap;
30
+ padding: 0;
31
+ }
32
+ }
33
+ }
34
+ `;
@@ -1,12 +1,12 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
3
 
4
- .homeSteps__container {
4
+ export const ListStepsGetFormStyled = styled.div`
5
5
  transform: translateY(0%);
6
- @include portrait-tablets {
6
+ @media ${device['portrait-tablets']} {
7
7
  transform: translateY(0%);
8
8
  }
9
- @include landscape-tablets {
9
+ @media ${device['landscape-tablets']} {
10
10
  transform: translateY(0%);
11
11
  }
12
12
 
@@ -26,10 +26,10 @@
26
26
  flex-flow: row wrap;
27
27
  padding: 0 1rem;
28
28
 
29
- @include laptop {
29
+ @media ${device.laptop} {
30
30
  flex-flow: row nowrap;
31
31
  padding: 0;
32
32
  }
33
33
  }
34
34
  }
35
- }
35
+ `
@@ -1,14 +1,14 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
3
  import { type ListStepsGetFormProps } from './ListStepsGetFormProps.types'
4
+ import { ListStepsGetFormStyled } from './ListStepsGetForm.styled'
4
5
  import { StepGetForm } from '../../molecules'
5
- // import './ListStepsGetForm.scss'
6
6
 
7
7
  const ListStepsGetForm: FC<ListStepsGetFormProps> = ({ steps = [] }) => {
8
8
  if (steps.length === 0) return null
9
9
 
10
10
  return (
11
- <div className='homeSteps__container'>
11
+ <ListStepsGetFormStyled>
12
12
  <div className='homeSteps wrapper'>
13
13
  <div className='homeStepsItemsContainer'>
14
14
  {steps.map((step) => (
@@ -16,7 +16,7 @@ const ListStepsGetForm: FC<ListStepsGetFormProps> = ({ steps = [] }) => {
16
16
  ))}
17
17
  </div>
18
18
  </div>
19
- </div>
19
+ </ListStepsGetFormStyled>
20
20
  )
21
21
  }
22
22
 
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LoginRatafiaContentStyled } from './LoginRatafiaContent.styled';
2
3
  import { TextInput } from '../../molecules';
3
- // import './LoginRatafiaContent.scss'
4
4
  const LoginRatafiaContent = ({ title, email }) => {
5
- return (_jsxs("div", { className: 'login-ratafia-content', children: [_jsx("h2", { className: 'login-ratafia-content__title', children: title }), _jsx("div", { className: 'login-ratafia-content__email', children: _jsx(TextInput, { ...email }) })] }));
5
+ return (_jsxs(LoginRatafiaContentStyled, { children: [_jsx("h2", { className: 'login-ratafia-content__title', children: title }), _jsx("div", { className: 'login-ratafia-content__email', children: _jsx(TextInput, { ...email }) })] }));
6
6
  };
7
7
  export default LoginRatafiaContent;
@@ -0,0 +1 @@
1
+ export declare const LoginRatafiaContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,14 @@
1
+ import styled from 'styled-components';
2
+ export const LoginRatafiaContentStyled = styled.div `
3
+ width: 100%;
4
+ .login-ratafia-content__title {
5
+ font-size: 1rem;
6
+ color: var(--neutral-neutral-2);
7
+ padding-bottom: 1rem;
8
+ }
9
+ .login-ratafia-content__email {
10
+ .e-text {
11
+ margin-bottom: 0.5rem;
12
+ }
13
+ }
14
+ `;
@@ -0,0 +1,15 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const LoginRatafiaContentStyled = styled.div`
4
+ width: 100%;
5
+ .login-ratafia-content__title {
6
+ font-size: 1rem;
7
+ color: var(--neutral-neutral-2);
8
+ padding-bottom: 1rem;
9
+ }
10
+ .login-ratafia-content__email {
11
+ .e-text {
12
+ margin-bottom: 0.5rem;
13
+ }
14
+ }
15
+ `
@@ -1,17 +1,17 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
3
  import { type LoginRatafiaContentProps } from './LoginRatafiaContentProps.types'
4
+ import { LoginRatafiaContentStyled } from './LoginRatafiaContent.styled'
4
5
  import { TextInput } from '../../molecules'
5
- // import './LoginRatafiaContent.scss'
6
6
 
7
7
  const LoginRatafiaContent: FC<LoginRatafiaContentProps> = ({ title, email }) => {
8
8
  return (
9
- <div className='login-ratafia-content'>
9
+ <LoginRatafiaContentStyled>
10
10
  <h2 className='login-ratafia-content__title'>{title}</h2>
11
11
  <div className='login-ratafia-content__email'>
12
12
  <TextInput {...email} />
13
13
  </div>
14
- </div>
14
+ </LoginRatafiaContentStyled>
15
15
  )
16
16
  }
17
17
 
@@ -1,18 +1,14 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import classNames from 'classnames';
3
2
  import { Button, SidemenuTab } from '../../atoms';
4
- // import './MobileBottomBar.scss'
5
- const MobileBottomBar = ({ children, list, active }) => {
3
+ import { MobileBottomBarStyled } from './MobileBottomBar.styled';
4
+ const MobileBottomBar = ({ children, list }) => {
6
5
  if (children === undefined && list?.length === 0)
7
6
  return null;
8
- const classnames = classNames('mobile-bottom-bar', {
9
- 'mobile-bottom-bar--active': active
10
- });
11
7
  if (children !== undefined)
12
- return _jsx("div", { className: classnames, children: children });
8
+ return _jsx(MobileBottomBarStyled, { children: children });
13
9
  if (list === undefined)
14
10
  return null;
15
- return (_jsx("div", { className: classnames, children: list.map((tab, index) => {
11
+ return (_jsx(MobileBottomBarStyled, { children: list.map((tab, index) => {
16
12
  if (tab.type === 'button') {
17
13
  return (_jsx(Button, { noLink: true, color: 'primary', ...tab, children: tab.image }, index));
18
14
  }
@@ -0,0 +1 @@
1
+ export declare const MobileBottomBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,45 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const MobileBottomBarStyled = styled.div `
4
+ background: var(--others-white);
5
+ position: fixed;
6
+ display: flex;
7
+ flex-direction: row;
8
+ justify-content: space-between;
9
+ bottom: 0;
10
+ height: 3.25rem;
11
+ width: 100%;
12
+ box-shadow: var(--box-shadow-container);
13
+ z-index: 1;
14
+
15
+ @media ${device['portrait-tablets']} {
16
+ display: none;
17
+ }
18
+
19
+ .mobile-bottom-bar--active {
20
+ display: flex;
21
+ }
22
+
23
+ .e-button {
24
+ max-height: 2.8rem;
25
+ margin: 0 0.5rem;
26
+ width: 2.75rem;
27
+ min-width: 2.75rem;
28
+ padding: 0;
29
+ outline: none;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ background-color: var(--primary-main);
34
+ border-color: var(--primary-main);
35
+
36
+ &:hover {
37
+ cursor: pointer;
38
+ }
39
+
40
+ svg {
41
+ width: 24px;
42
+ margin: 0;
43
+ }
44
+ }
45
+ `;
@@ -1,7 +1,7 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
3
 
4
- .mobile-bottom-bar {
4
+ export const MobileBottomBarStyled = styled.div`
5
5
  background: var(--others-white);
6
6
  position: fixed;
7
7
  display: flex;
@@ -13,11 +13,11 @@
13
13
  box-shadow: var(--box-shadow-container);
14
14
  z-index: 1;
15
15
 
16
- @include portrait-tablets {
16
+ @media ${device['portrait-tablets']} {
17
17
  display: none;
18
18
  }
19
19
 
20
- &--active {
20
+ .mobile-bottom-bar--active {
21
21
  display: flex;
22
22
  }
23
23
 
@@ -43,4 +43,4 @@
43
43
  margin: 0;
44
44
  }
45
45
  }
46
- }
46
+ `
@@ -1,23 +1,18 @@
1
1
  /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
2
  import React, { type FC } from 'react'
3
- import classNames from 'classnames'
4
3
 
5
4
  import { Button, SidemenuTab } from '../../atoms'
6
5
  import { type MobileBottomBarProps } from './MobileBottomBarProps.types'
7
- // import './MobileBottomBar.scss'
6
+ import { MobileBottomBarStyled } from './MobileBottomBar.styled'
8
7
 
9
- const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list, active }) => {
8
+ const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list }) => {
10
9
  if (children === undefined && list?.length === 0) return null
11
10
 
12
- const classnames = classNames('mobile-bottom-bar', {
13
- 'mobile-bottom-bar--active': active
14
- })
15
-
16
- if (children !== undefined) return <div className={classnames}>{children}</div>
11
+ if (children !== undefined) return <MobileBottomBarStyled>{children}</MobileBottomBarStyled>
17
12
  if (list === undefined) return null
18
13
 
19
14
  return (
20
- <div className={classnames}>
15
+ <MobileBottomBarStyled>
21
16
  {list.map((tab, index) => {
22
17
  if (tab.type === 'button') {
23
18
  return (
@@ -28,7 +23,7 @@ const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list, active }) =
28
23
  }
29
24
  return <SidemenuTab key={index} mobile={true} {...tab} />
30
25
  })}
31
- </div>
26
+ </MobileBottomBarStyled>
32
27
  )
33
28
  }
34
29
 
@@ -1,5 +1,4 @@
1
1
  export interface MobileBottomBarProps {
2
- active?: boolean;
3
2
  list?: any[];
4
3
  children?: React.ReactNode;
5
4
  }
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  export interface MobileBottomBarProps {
3
- active?: boolean
4
3
  list?: any[]
5
4
  children?: React.ReactNode
6
5
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { StepRatafiaCardList } from '../../molecules';
3
- // import './StepsRatafiaContent.scss'
3
+ import { StepsRatafiaContentStyled } from './StepsRatafiaContent.styled';
4
4
  const StepsRatafiaContent = ({ title, steps }) => {
5
- return (_jsxs("div", { className: 'steps-ratafia-content', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight steps-ratafia-content__title', children: title }), _jsx(StepRatafiaCardList, { steps: steps })] }));
5
+ return (_jsxs(StepsRatafiaContentStyled, { children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight steps-ratafia-content__title', children: title }), _jsx(StepRatafiaCardList, { steps: steps })] }));
6
6
  };
7
7
  export default StepsRatafiaContent;
@@ -0,0 +1 @@
1
+ export declare const StepsRatafiaContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,11 @@
1
+ import styled from 'styled-components';
2
+ export const StepsRatafiaContentStyled = styled.div `
3
+ width: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 1.5rem;
7
+
8
+ .steps-ratafia-content__title {
9
+ color: var(--neutral-neutral-1);
10
+ }
11
+ `;
@@ -0,0 +1,12 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const StepsRatafiaContentStyled = styled.div`
4
+ width: 100%;
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: 1.5rem;
8
+
9
+ .steps-ratafia-content__title {
10
+ color: var(--neutral-neutral-1);
11
+ }
12
+ `
@@ -2,14 +2,14 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { StepRatafiaCardList } from '../../molecules'
4
4
  import { type StepsRatafiaContentProps } from './StepsRatafiaContentProps.types'
5
- // import './StepsRatafiaContent.scss'
5
+ import { StepsRatafiaContentStyled } from './StepsRatafiaContent.styled'
6
6
 
7
7
  const StepsRatafiaContent: FC<StepsRatafiaContentProps> = ({ title, steps }) => {
8
8
  return (
9
- <div className='steps-ratafia-content'>
9
+ <StepsRatafiaContentStyled>
10
10
  <h2 className='sans-serif --super-large --bold-weight steps-ratafia-content__title'>{title}</h2>
11
11
  <StepRatafiaCardList steps={steps} />
12
- </div>
12
+ </StepsRatafiaContentStyled>
13
13
  )
14
14
  }
15
15
 
@@ -1,7 +1,7 @@
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 { RichTextInner } from '../../atoms';
3
- // import './TryOurFreeLegalBlogsContent.scss'
3
+ import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
4
4
  const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
5
- return (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
5
+ return (_jsxs(TryOurFreeLegalBlogsContentStyled, { children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
6
6
  };
7
7
  export default TryOurFreeLegalBlogsContent;
@@ -0,0 +1 @@
1
+ export declare const TryOurFreeLegalBlogsContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,54 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const TryOurFreeLegalBlogsContentStyled = styled.div `
4
+ display: flex;
5
+ flex-direction: column;
6
+ @media ${device['landscape-tablets']} {
7
+ flex-direction: row;
8
+ }
9
+ .try-our-free-legal-blogs-section__texts {
10
+ flex-basis: 50%;
11
+ display: flex;
12
+ flex-direction: column;
13
+ justify-content: center;
14
+ margin-bottom: 1rem;
15
+ margin-right: 0;
16
+ color: var(--neutral-neutral-1);
17
+ font-style: normal;
18
+ font-weight: 400;
19
+ letter-spacing: -0.3px;
20
+
21
+ @media ${device['landscape-tablets']} {
22
+ margin-right: 3rem;
23
+ margin-bottom: 0;
24
+ }
25
+
26
+ &__title {
27
+ font-family: var(--font-serif);
28
+ font-size: 32px;
29
+ line-height: 42px;
30
+ margin-bottom: 2rem;
31
+ text-align: center;
32
+ font-weight: 400;
33
+
34
+ @media ${device['landscape-tablets']} {
35
+ text-align: left;
36
+ }
37
+ }
38
+
39
+ &__body {
40
+ font-family: var(--font-sans);
41
+ font-size: 16px;
42
+ line-height: 22px;
43
+
44
+ a {
45
+ color: var(--primary-main-light-1);
46
+ font-weight: 400 !important;
47
+ }
48
+ }
49
+ }
50
+
51
+ .try-our-free-legal-blogs-section__image {
52
+ flex-basis: 50%;
53
+ }
54
+ `;