@npm_leadtech/legal-lib-components 5.11.3 → 5.11.6

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